run
Short Summary
This method is calling the operation mode methods for every node depending on the current behaviour.
- Return type: CNM_ReturnTypes.SingleExecutionState
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| execute | BOOL | - | input |
| node | CNM_OpModeHandlingInterfaces.INode | - | input |
Code
Declaration
METHOD run :CNM_ReturnTypes.SingleExecutionState
VAR_INPUT
execute : BOOL;
node : CNM_OpModeHandlingInterfaces.INode;
END_VAR
Implementation
run := node.enable( execute );