Parameters
- plc
- PLC where the Terminal will be located on
- variant
- Eplan.EplApi.DataModel.MasterData.SymbolVariant representing the graphical symbol of the terminal
PLC_TERMINAL
. Its graphical symbol is taken from a Eplan.EplApi.DataModel.MasterData.SymbolVariant given as the second parameter.Exception | Description |
---|---|
Eplan.EplApi.DataModel.ObjectCreationException | Thrown when the Terminal cannot be created. |
System.ArgumentNullException | Thrown when plc parameter is null . |
System.ArgumentNullException | Thrown when variant parameter is null . |
Eplan.EplApi.DataModel.ObjectAlreadyCreatedException | Thrown when the function has already been created. |
Eplan.EplApi.DataModel.WrongCategoryException | Thrown when the variant does not represent a Terminal that can be related to PLC device. |