handleMode
Short Summary
This method manages the operation of a mode, handling the execution and pausing states, while coordinating with subnodes and evaluating their states. It ensures the selected mode is active and updates the node's state based on the subnodes and its own operation.
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| execute | BOOL | - | input |
| pause | BOOL | - | input |
| mode | CNM_OpModeHandlingInterfaces.IModeBehaviour | - | input |
Code
Declaration
METHOD handleMode
VAR_INPUT
execute :BOOL;
pause :BOOL;
mode :CNM_OpModeHandlingInterfaces.IModeBehaviour;
END_VAR