1 - 8 1 - 8
MELSEC-Q
1 OVERVIEW
1.3 Convenient Programming Devices and Instructions
The QCPU features devices and instructions which facilitate program creation. Some
of them are described below.
(1) Flexible device designation
(a) Word device bits can be designated to serve as contacts or coils.
Switches b10
of D0 ON and
OFF (1/0).
The 1/0 status
of b5 of D0 is used
as ON/OFF data.
b13
D0
b14
b15
b12 b11b10
1/0
b9 b8 b7 b6 b5
1/0
b4 b3 b2 b1 b0
[In the case of QCPU]
X0
D0.A
[In the case of AnS]
X0
K4M0
D0
D0
MOV
K4M0
MOV
M5
M10
: D0.5
Bit designation
Word device designation
Bit designation of
word device
D0.5
(b) Direct processing in 1-point units is permitted within a program simply by
using direct access inputs (DX
) and direct access outputs (DY
).
Output to output
module at
instruction execution
[In the case of QCPU]
M0
DX10
DY100
[In the case of AnS]
M9036
K1B0
K1B0
K1X10
SEG
K1Y100
SEG
X10
Y100
M9036
M9052
SET
M0
M9036
(X10 to X13 refresh)
(Y100 to Y103 refresh)
(Always ON)
Read from input
module at
instruction
execution
Direct access input
(c) Differential contacts (
/
) eliminate the need of converting inputs to
pulses.
ON at leading
edge of X0
[In the case of QCPU]
X0
X1
Y100
[In the case of AnS]
M0
X0
M0
PLS
Y100
Y100
X1
Y100
Differential contact