Skip to main content

NodeStateFlags

Short Summary

This structure contains boolean helper flags to evaluate the state of a node in dependency of the subnode states.

Access: -

NameTypeComment
nodeIsInHomeBOOLthe node itself meets the home conditions
allSubnodesInHomeBOOLall subnodes are in home
nodeHasErrorBOOLthe itself has at least one pending error
nodeWaitingForStepBOOLthe node itself is waiting for a step signal
allSubNodesWaitingForStepBOOLall subnodes are waiting for a step signal

Code

Declaration

TYPE NodeStateFlags :
STRUCT
(* the node itself meets the home conditions *)
nodeIsInHome :BOOL;
(* all subnodes are in home *)
allSubnodesInHome :BOOL;
(* the itself has at least one pending error *)
nodeHasError :BOOL;
(* the node itself is waiting for a step signal *)
nodeWaitingForStep :BOOL;
(* all subnodes are waiting for a step signal *)
allSubNodesWaitingForStep :BOOL;
END_STRUCT
END_TYPE