Technical information

Variables
26
EIO0000000638 04/2012
Supported Variables
Supported Variables Types
The following table provides the XBT GT/GK HMI Controller supported variables
types:
Refer to:
z Single Variable Definition (see SoMachine, Programming Guide) for additional
information on SoMachine/HMI data exchange
z CoDeSys Online-Help
Using Array and Structure Elements for Data Exchange
You can use array and structure elements for data exchange between the controller
side (SoMachine) and the HMI side (Vijeo-Designer). However, you cannot
exchange whole arrays and structures at once.
For example:
z If A is an array, you can exchange an element of the array
(A[0],A[1],...,A[i]) but not the entire array.
z The same rule applies to structure element, you can exchange an element of the
structure (StructureName.ElementName) but not the entire structure.
Controller
Data type
Lower limit Upper limit Information
content
Bidirectional Variable
(SoMachine/Vijeo-
Designer)
BOOL False True 1 Bit Yes
DINT -2,147,483,648 2,147,483,647 32 Bit Yes
INT -32,768 32,767 16 Bit Yes
UINT 0 65,535 16 Bit Yes
WORD 0 (hex) FFFF (hex) 16 Bit Yes
UDINT 0 4,294,967,295 32 Bit Yes
DWORD 0 (hex) FFFFFFFF (hex) 32 Bit Yes
SINT -128 127 8 Bit Yes
USINT 0 255 8 Bit Yes
BYTE 00 (hex) FF (Hex) 8 Bit Yes
REAL
-3.402824
38
3.402824
38
32 Bit Yes
WSTRING 1 character 255 characters 1 character =
1 word
Yes
STRING 1 character 255 characters 1 character =
1 byte
Yes