Mitsubishi MELSEC QCPU Programming Manual page 245

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS
[Operation Errors]
(1) In the following cases an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored at SD0.
• The range n-points from the
and
D1
[Program Example]
(1) The following program exchanges 16-bit data for 3 points from D200 for 16-bit data for 3 points
from R0 when X1C goes ON.
[Ladder Mode]
b15
D200
0
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
D201
D202
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
b15
D200
0
D201
0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
D202
1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0
6 - 94
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
or
D1
devices are overlapping.
D2
b8
b7
b0
0
1
1
1
1
0 0
1 1 1 1 1 1 1 1
b8
b7
b0
1
1
1
0
1
1 1
0 1 1 1 0 1 1 1
devices exceeds relevant device.
D2
[List Mode]
Steps
Instruction
b15
R0
0
1
1
1
0
1
1 1
0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
R1
R2
1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0
b15
R0
0
0
1
1
1
1
0 0
R1
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
R2
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
MELSEC-Q/QnA
(Error code: 4101)
(Error code: 4101)
Device
b8
b7
b0
0 1 1 1 0 1 1 1
b8
b7
b0
1 1 1 1 1 1 1 1
6 - 94

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents