Mitsubishi MELSEC QCPU Programming Manual page 141

Programmable logic controller
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS
Cautions when Using Nesting Architecture
(1) Nesting can be used up to 15 times (N0 to N14)
When using nesting, nests should be inserted from the lower to higher nesting number (N) with
the MC instruction, and from the higher to the lower order with the MCR instruction.
If this order is reversed, there will be no nesting architecture, and the QnACPU will not be
capable of performing correct operations.
For example, if nesting is designated in the order N1 to N0 by the MC instruction, and also
designated in the N1 to N0 order by the MCR instruction, the vertical bus will intersect and a
correct master control ladder will not be produced.
[Ladder as displayed in the GPP ladder mode]
A
N1
M15
N0
M16
(2) If the nesting architecture results in MCR instructions concentrated in one location, all master
controls can be terminated by use of just the lowest nesting number (N).
X1
N0
M15
X2
N1
M16
X3
N2
M17
5 - 45
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MC
N1 M15
MC
N0 M16
MCR N1
MCR N0
MC NO M15
MC N1 M16
MC N2 M17
MCR N2
MCR N1
MCR N0
MELSEC-Q/QnA
[Ladder as it actually operates]
A
N1
M15
B
N0
M16
X1
N0
M15
X2
N1
M16
X3
N2
M17
MC N1 M15
MC N0 M16
MCR N1
MCR N0
MC NO M15
MC N1 M16
MC N2 M17
MCR N0
5 - 45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents