Data Type: __UXINT, __XINT, __XWORD
Variables with these special data types are converted to a platform-compliant data type, depending on the target system.CODESYS supports systems with address registers of 32-bit and 64-bit widths. For making the IEC code as independent from the target system as possible, you use the pseudo data types __UXINT
, __XINT
, and __XWORD
. The compiler checks which target system types are current and then converts these data types into the appropriate standard data types.
Moreover, type conversion operators are provided for variables of these data types.
Pseudo Data Types | Type conversion on 64-bit platforms | Type conversion on 32-bit platforms |
---|---|---|
|
|
|
|
|
|
|
|
|