Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 231

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

Advertisement

■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
*1
(s1)
*1
(s2)
*1
(s3)
(d)
*1 FX and FY cannot be used.
*2 T, ST, and C cannot be used.
Processing details
• These instructions compare the band between the 32-bit binary data specified by lower limit value (s1) and the 32-bit binary
data specified by upper limit value (s2) with the 32-bit binary data 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
DZCP
(s1)
(d)
Turns on when [(s1), (s1)+1] > [(s3), (s3)+1]
(d)+1
Turns on when [(s1), (s1)+1] ≤ [(s3), (s3)+1] ≤ [(s2), (s2)+1]
(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
There is no operation error.
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
*2
(s2)
(s3)
(d)
[(s3), (s3)+1] > [(s2), (s2)+1]
Double word Indirect
specification
Z
LT, LST,
LZ
LC
6 BASIC INSTRUCTIONS
6.1 Comparison Operation Instructions
Constant
Others
K, H E
$
6
229

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents