2 Instruction Descriptions
2-8
NJ-series Instructions Reference Manual (W502)
Integers
USINT USINT#0 to +255 USINT#0
UINT UINT#0 to +65535 UINT#0
UDINT UDINT#0 to +4294967295 UDINT#0
ULINT ULINT#0 to +18446744073709551615 ULINT#0
SINT SINT#−128 to +127 SINT#0
INT INT#−32768 to +32767 INT#0
DINT DINT#−2147483648 to +2147483647 DINT#0
LINT LINT#−9223372036854775808 to
+9223372036854775807
LINT#0
Real numbers
REAL REAL#−3.402823e+38 to −1.175494e-38,
0,
+1.175494e-38 to +3.402823e+38,
+∞/−∞
REAL#0
LREAL LREAL#−1.79769313486231e+308 to
−2.22507385850720e-308,
0,
+2.22507385850720e−308 to
+1.79769313486231e+308,
+∞/−∞
LREAL#0
Times, dura-
tions, dates,
and text
strings
TIME T#−9223372036854.775808ms
(T#−106751d_23h_47m_16s_854.775808ms) to
T#9223372036854.775807ms
(T#+106751d_23h_47m_16s_854.775807ms)
T#0s
DATE D#1970-01-01 to D#2106-02-06
(January 1, 1970 to February 6, 2106)
D#1970-01-01
TOD TOD#00:00:00.000000000 to
TOD#23:59:59.999999999
(0:00 and 0.000000000 to 23:59 and 59.999999999
seconds)
TOD#00:00:00.000000000
DT DT#1970-01-01-00:00:00.000000000 to DT#2106-02-
06-23:59:59.999999999
(0:00 and 0.000000000 on January 1, 1970 to 23:59
and 59.999999999 seconds on February 6, 2106)
DT#1970-01-01-00:00:00.000000000
STRING Character code: UTF-8
0 to 1,986 bytes (1,985 single-byte alphanumeric
characters plus the final NULL character)
''
Classifica-
tion
Data
type
Valid range Default