NodeStateFlags
Short Summary
This structure contains boolean helper flags to evaluate the state of a node in dependency of the subnode states.
Access: -
| Name | Type | Comment |
|---|---|---|
| nodeIsInHome | BOOL | the node itself meets the home conditions |
| allSubnodesInHome | BOOL | all subnodes are in home |
| nodeHasError | BOOL | the itself has at least one pending error |
| nodeWaitingForStep | BOOL | the node itself is waiting for a step signal |
| allSubNodesWaitingForStep | BOOL | all 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