enableStepping
Short Summary
This methods enables the stepping operation on a given node and all of its subnodes.
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| node | CNM_OpModeHandlingInterfaces.INode | the node on which stepping should be enabled | input |
Code
Declaration
METHOD enableStepping : CNM_OpModeHandlingInterfaces.CNM_ReturnTypes.SingleExecutionResult
VAR_INPUT
(* the node on which stepping should be enabled *)
node : CNM_OpModeHandlingInterfaces.INode;
END_VAR
Implementation
enableStepping := CNM_ReturnTypes.SingleExecutionResult.ABORTED;
RETURN(NOT THIS^.isObjectValid(node));
node.enableStepping := TRUE;
enableStepping := CNM_ReturnTypes.SingleExecutionResult.SUCCESS;