32-Bit Data Comparison (D=, D<>, D>, D<=, D<,D>=) - Mitsubishi MELSEC-A Series Programming Manual

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

6. BASIC INSTRUCTIONS
6.1.2 32-bit data comparison
(D=, D<>, D>, D<=, D<,D>=)
Bit device
X
Y
M
(S1)
O
O
O
(S2)
O
O
O
LD
AND
OR
Functions
Instruction
Symbol in
Execution
Conditions
Available Device
L
S
B
F
T
C
O
O
O
O
O
O
O
O
O
O
O
O
(S1)
(S2)
(S1)
(S1)
(1) Handled as a NO contact and used for the comparison of 32bits.
(2) The comparison operation result is as shown below:
Condition
D=
(S1) = (S2)
(S1) ≠ (S2)
D<>
D>
(S1) > (S2)
(S1) ≤ (S2)
D<=
D<
(S1) < (S2)
(S1) ≥ (S2)
D>=
The execution conditions of LD , AND , and OR
Instruction
LD
AND
OR
Applicable
CPU
Word (16-bit) device
D
W
R
A0
A1
Z
O
O
O
O
O
O
O
O
O
O
(S2)
(S2)
Comparison
Instruction
Operation
Symbol in
Result
Continuity
status
Executed only when the preceding contact instruction is on.
6 − 6
All CPUs
Constant Pointer
Level
V
K
H
P
I
N
O
O
K1
K8
O
O
Instruction symbol
Setting data
Compared data or head
(S1)
number of device which
(S2)
stores compared data
Condition
(S1) ≠ (S2)
D=
D<>
(S1) = (S2)
(S1) ≤ (S2)
D>
D<=
(S1) > (S2)
(S1) ≥ (S2)
D<
D>=
(S1) < (S2)
are as indicated below.
Execution Condition
Executed per scan.
Executed per scan.
MELSEC-A
M9012 (M9010, M9011)
to
O
O
.
D=, D<>,D>
D<=, D<, D>=
Comparison
Operation
Result
Non-Continuity
status

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents