Skip to main content

HmiInfoStruct

Short Summary

This structure contains informations required by the CNM HMI framework to read the node tree.

Access: -

NameTypeComment
subnodeCountUDINTspecifies the number of subnodes, will be set during initialization
nodeNameHmiKeyStringcontains the locale key for the node name for the hmi
templateHmiKeyStringcontains the HMI control template for the node
self__XWORDthe 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