ProSoft Technology ILX56-MM User Manual
Page 91

ILX56-MM ♦ ControlLogix Platform
Reference
InRAx Message Manager for Industrial Communication
User Manual
ProSoft Technology, Inc.
Page 91 of 112
February 6, 2012
6.3.3 INT16, UINT16, or WORD
Source
Conversion
BOOL
The source value of zero or one is assigned to the destination.
INT8, UINT8, CHAR,
or BYTE
The source data value is assigned to the destination (sign extend where
appropriate).
INT16, UINT16, or
WORD
The source value is copied directly to the destination possibly resulting in a
signed/unsigned value change (-1 to 65535 or 65535 to -1 for example).
INT32, UINT32,
DWORD, INT64,
UINT64, or QWORD
The most significant source data WORD(s) are discarded (possible data
loss). The least significant source data WORD is copied directly to the
destination.
FLOAT32 or
FLOAT64
The source value is rounded to the nearest INT64 value and the above
INT64 to 16 bit INT conversion rule applied. If the rounded source value will
not fit in an INT64 a conversion error will result.
STRING
The string is converted to INT64 and moved according to the above INT64
to 16 bit INT conversion rule. If the string could not be converted to INT64
(invalid chars, overflow, and so on) a conversion error will result.
6.3.4 INT32, UINT32, or DWORD
Source
Conversion
BOOL
The source value of zero or one is assigned to the destination.
INT8, UINT8, CHAR,
BYTE, INT16,
UINT16, or WORD
The source data value is assigned to the destination (sign extend where
appropriate).
INT32, UINT32, or
DWORD
The source value is copied directly to the destination possibly resulting in a
signed/unsigned value change.
INT64, UINT64, or
QWORD
The most significant source data DWORD(s) are discarded (possible data
loss). The least significant source data DWORD is copied directly to the
destination.
FLOAT32 or
FLOAT64
The source value is rounded to the nearest INT64 value and the above
INT64 to 32 bit INT conversion rule applied. If the rounded source value will
not fit in an INT64 a conversion error will result.
STRING
The string is converted to INT64 and moved according to the above INT64
to 32 bit INT conversion rule. If the string could not be converted to INT64
(invalid chars, overflow, and so on) a conversion error will result.