Technical FAQs

Ask a Question

What types of variables are supported for the SoMachine-HMI Data Exchange Symbol Configuration List?

Variable Types for SoMachine - HMI Data Exchange
The following table lists the variable types for SoMachine - HMI data exchange:
Variable Type in SoMachine
Variable Type in Vijeo-Designer
Comment
BOOL
BOOL
text --
BYTE
Integer
text --
WORD
UINT
text --
DWORD
UDINT
text --
SINT
Integer
text --
INT
INT
text --
DINT
DINT
text --
USINT
Integer
text --
UINT
UINT
text --
UDINT
UDINT
text --
REAL
REAL
text --
STRING
STRING
text --
WSTRING
STRING
WSTRING is supported in Vijeo-Designer as a general STRING type. This means that you can either exchange only STRINGS or only WSTRINGS with the HMI. A mixture of these 2 variable types is not allowed. If you use WSTRINGs, all your strings must be WSTRINGs.
Indicate to the Vijeo-Designer driver that all strings should be managed as UNICODE WSTRINGs as follows:
Select the node SoMachineNetwork or SoMachineCombo in the Navigator tree of Vijeo-Designer and set the parameter String Encoding to the value Unicode.
Array
text --
text In Vijeo-Designer you can only reference the elements of an array, not the whole array.
Example: Your array consists of SINTs called myValues. In Vijeo-Designer you can reference myValues[0] or myValues[5] and put this into a variable on the HMI controller.
Arrays must not contain more than 2,048 elements. If you try to use arrays with more than 2,048 elements in Vijeo-Designer, an error message will be issued.
DUT
text --
In Vijeo-Designer you can only reference the elements of a DUT, not the whole DUT. This behavior is similar to the behavior of arrays.

Unsupported Variable Types
The following variable types are not supported for SoMachine - HMI data exchange:
    • all 64-bit integer formats
    • LREAL
    • all time and date formats
    • non-zero based arrays: You cannot import an array that is defined like myArray[1..100].
For further information on variable types for SoMachine - HMI data exchange see the Vijeo-Designer online help.

Identifier Length
In Vijeo-Designer the maximum length of the Symbol name is limited to 32 characters.
Was this helpful?
What can we do to improve the information ?