Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 227

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

Advertisement

Processing details
• These instructions compare the 32-bit binary data specified by (s1) with the 32-bit binary data specified by (s2), and
according to the result (small, equal, or large), (d), (d)+1, or (d)+2 is turned on.
X0
DCMP
(s1)
(d)
Turns on when [(s1), (s1)+1] > [(s2), (s2)+1]
(d)+1
Turns on when [(s1), (s1)+1] = [(s2), (s2)+1]
(d)+2
Turns on when [(s1), (s1)+1] < [(s2), (s2)+1]
Operation error
There is no operation error.
(s2)
(d)
X0
50
49
(s2)
48
(s1)
(d)
Held
(d)+1
Held
(d)+2
6.1 Comparison Operation Instructions
51
Held
6 BASIC INSTRUCTIONS
6
225

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents