2. INSTRUCTIONS
2 − 8
MELSEC-A
2.2.3 Basic instructions
(1) Comparison instructions
Table 2.10 Comparison Operation Instructions (Continue)
Classi-
fication
Unit
Instruction
Symbol
Symbol Contents of Processing
Execu-
tion Con-
dition
Number
of steps
Index
Subset
Applicable CPU Page
5
LD=
7
● ●
!
6-4
5
AND=
7
● ●
!
6-4
5
OR=
Continuity when (S1) = (S2)
Non-continuity when (S1) ≠ (S2)
7
● ●
!
6-4
5
LD<>
7
● ●
!
6-4
5
AND<>
7
● ●
!
6-4
5
OR<>
Continuity when (S1) ≠ (S2)
Non-continuity when (S1) = (S2)
7
● ●
!
6-4
5
LD>
7
● ●
!
6-4
5
AND>
7
● ●
!
6-4
5
OR>
Continuity when (S1) > (S2)
Non-continuity when (S1) ≤ (S2)
7
● ●
!
6-4
5
LD<=
7
● ●
!
6-4
5
AND<=
7
● ●
!
6-4
5
OR<=
Continuity when (S1) ≤ (S2)
Non-continuity when (S1) > (S2)
7
● ●
!
6-4
5
LD<
7
● ●
!
6-4
5
AND<
7
● ●
!
6-4
5
OR<
Continuity when (S1) < (S2)
Non-continuity when (S1) ≥ (S2)
7
● ●
!
6-4
5
LD>=
7
● ●
!
6-4
5
AND>=
7
● ●
!
6-4
5
16-bit
data
com-
parison
16 bits
OR>=
Continuity when (S1) ≥ (S2)
Non-continuity when (S1) < (S2)
7
● ●
!
6-4
*1: For the number of steps when extension devices are used or when index qualification is performed to
bit devices for AnA, A2AS, AnU, QCPU-A (A Mode) and A2USH board, refer to Section 3.8.1.
*2: The
mark in the Index column indicates that index qualification can be performed with the AnA,
A2AS, AnU, QCPU-A (A Mode) and A2USH board only.
*3: The
mark in the Subset column indicates that subset processing can be performed with the A3H,
A3M, AnA, A2AS, AnU, QCPU-A (A Mode) and A2USH board only.
*1