Special Data Types ‘__UXINT’ and ‘__XWORD’ΒΆ

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 and __XWORD. The compiler checks which target system types are current and then converts these data types into the appropriate standard data types.

__UXINT is converted into ULINT on 64-bit platforms and UDINT on 32-bit platforms.

__XWORD is converted into LWORD on 64-bit platforms and DWORD on 32-bit platforms.