Attention

IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include ranges, enum and I/O mapping.

WORD

Bit string of 16 bits.

Size

16 bits

Range

16#0000 to 16#FFFF

Default

16#0000

IEC 61131-3

Section 2.3.1

Support

Supported

Literals

WORD#16#FFFF
WORD#16#00FF
WORD#2#1010101010101010

Example

See Also

  • BYTE — 8-bit bit string

  • DWORD — 32-bit bit string

  • UINT — 16-bit unsigned integer