714
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 single-precision real number specified by lower limit value (s1) and the
single-precision real number specified by upper limit value (s2) with the single-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 .
EZCP (s1) (s2) (s3) (d)
(d)
X0
(d)+1
(d)+2
Turns on when [(s1), (s1)+1] > [(s3), (s3)+1]
Turns on when [(s1), (s1)+1] ≤ [(s3), (s3)+1] ≤ [(s2), (s2)+1]
Turns on when [(s3), (s3)+1] > [(s2), (s2)+1]