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

In This Topic
    RemovePLCAddress Method
    In This Topic
    Removes existing PLC input or output from this planning object.
    Syntax
    public void RemovePLCAddress( 
       PlanningSegment.PLCAddress pPLCAddress
    )
    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