716
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
■Applicable devices
*1 T, ST, and C cannot be used.
• These instructions compare the band between the double-precision real number specified by lower limit value (s1) and the
double-precision real number specified by upper limit value (s2) with the double-precision real number in the device
specified by comparison data (s3). According to the comparison result (below, within zone, or above), (d), (d)+1, or (d)+2 is
turned on.
• Set (s1) to a value less than (s2). If (s1) is set to a value greater than (s2), (s2) is treated as the same value as (s1).
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1)
(s2)
(s3)
(d)
*1
Error code
(SD0)
Description
3402H The value input to (s1) to (s3) is -0, a subnormal number, NaN (not a number), or .
EDZCP (s1) (s2) (s3) (d)
(d)
X0
(d)+1
(d)+2
Turns on when [(s1) to (s1)+3] > [(s3) to (s3)+3]
Turns on when [(s1) to (s1)+3] ≤ [(s3) to (s3)+3] ≤ [(s2) to (s2)+3]
Turns on when [(s3) to (s3)+3] > [(s2) to (s2)+3]