4 - 36 4 - 36
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
CPU Module Type
Class
Instruction
Code
Instruction expression Function
Basic model
QCPU
High
Performance
Model QCPU,
Process CPU,
Redundant
CPU
Universal
model QCPU
LD
AND
OR
S1
S2
&
S1
S2
|
S1
S2
(=, <>, >, >=, <, <=)
BIN16 bit data comparison
LDD
ANDD
ORD
D
S1
S2
& D
S1
S2
| D
S1
S2
(=, <>, >, >=, <, <=)
BIN32 bit data comparison
LDE
ANDE
ORE
E
S1
S2
& E
S1
S2
| E
S1
S2
(=, <>, >, >=, <, <=)
Floating decimal point data comparison
Compariso
n
operation
LD$
AND$
OR$
$
S1
S2
& $
S1
S2
| $
S1
S2
(=, <>, >, >=, <, <=)
Character string data comparison
: Usable, : Unusable
(5) Serial and parallel connections being mixed
When serial and parallel connections exist in the same transition condition, a serial connection
"&" has priority.
Use "( )" to give a parallel connection " | " higher priority.
Example)
Example of serial and parallel connections being
mixed
Ladder example
aX0 | aM0 & aX1
M0
X0
X1
(aX0 | aM0) & aX1
M0
X0
X1
aX0 & aX1 | aM0 & aM1
M0
X0
M1
X1
aX0 & (aX1 | aM0) & aM1
X0
M0
X1
X1