HmiInfoStruct
Short Summary
This structure contains informations required by the CNM HMI framework to read the node tree.
Access: -
| Name | Type | Comment |
|---|---|---|
| subnodeCount | UDINT | specifies the number of subnodes, will be set during initialization |
| nodeName | HmiKeyString | contains the locale key for the node name for the hmi |
| template | HmiKeyString | contains the HMI control template for the node |
| self | __XWORD | the value of the node interface to itself (the hmi cannot read the binary value of an interface, so we pass it as binary type) |
Code
Declaration
{ attribute 'TcHmiSymbol.Show' }
TYPE HmiInfoStruct :
STRUCT
(* specifies the number of subnodes, will be set during initialization *)
subnodeCount :UDINT := 0;
(* contains the locale key for the node name for the hmi *)
nodeName :HmiKeyString;
(* contains the HMI control template for the node *)
template :HmiKeyString;
(* the value of the node interface to itself (the hmi cannot read the binary value of an interface, so we pass it as binary type) *)
self :__XWORD;
END_STRUCT
END_TYPE