Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 718

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
(s2)
(s3)
(d)
*1 T, ST, and C cannot be used.
Processing details
• 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.
X0
EDZCP
(d)
Turns on when [(s1) to (s1)+3] > [(s3) to (s3)+3]
(d)+1
Turns on when [(s1) to (s1)+3] ≤ [(s3) to (s3)+3] ≤ [(s2) to (s2)+3]
(d)+2
Turns on when
Precautions
• 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).
Operation error
Error code
Description
(SD0)
The value input to (s1) to (s3) is -0, a subnormal number, NaN (not a number), or .
3402H
7 APPLICATION INSTRUCTIONS
716
7.9 Real Number Instructions
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
*1
(s1)
(s2)
(s3)
(d)
[(s3) to (s3)+3] > [(s2) to (s2)+3]
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents