Parameters
- plc
- PLC where the Terminal will be located on
- funcDef
- The Eplan.EplApi.DataModel.FunctionDefinition that the Terminal will have assigned
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 funcDef parameter does not point to a function definition of the 'PLC Terminal' category. |