UINT¶
16-bit unsigned integer.
Size |
16 bits |
Range |
0 to 65,535 |
Default |
0 |
IEC 61131-3 |
Section 2.3.1 |
Support |
Supported |
Literals¶
UINT#42
UINT#65535
UINT#16#FFFF
Example¶
position := UINT#1000;
step_size := UINT#250;
new_pos := position + step_size; (* new_pos = 1250 *)