Eplan Platform API
Eplan.EplApi.DataModel.Planning Namespace / PlanningSegment Class / RemovePLCAddress Method
PLCAddress which will be removed. Can't be null.
Example

RemovePLCAddress Method
Removes existing PLC input or output from this planning object.
Syntax
public void RemovePLCAddress( 
   PlanningSegment.PLCAddress pPLCAddress
)

Parameters

pPLCAddress
PLCAddress which will be removed. Can't be null.
Exceptions
ExceptionDescription
Thrown if parameter is null.
Thrown if PLCAddress is appended from another parent.
Example
//get object which will be removed
PlanningSegment.PLCAddress oAddress = oPCTLoop.PLCAddresses[0];

//remove object from planning object
oPCTLoop.RemovePLCAddress(oAddress);

See Also