Skip to main content

enableStepping

Short Summary

This methods enables the stepping operation on a given node and all of its subnodes.

Parameters

NameTypeCommentKind
nodeCNM_OpModeHandlingInterfaces.INodethe node on which stepping should be enabledinput

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;