Skip to main content

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

NameTypeCommentKind
executeBOOL-input
pauseBOOL-input
modeCNM_OpModeHandlingInterfaces.IModeBehaviour-input

Code

Declaration

METHOD handleMode 
VAR_INPUT
execute :BOOL;
pause :BOOL;
mode :CNM_OpModeHandlingInterfaces.IModeBehaviour;
END_VAR