10
DEVICE EXPLANATION
10.9 Nesting (N)
10
- 90
9
P
a
ra
met
e
rs
10
Device
Exp
la
n
at
ion
11
CP
U
M
odu
le
P
ro
cessi
ng
Ti
m
e
12
P
roc
e
d
ure
f
or W
rit
in
g
P
rog
ra
m t
o CP
U Mo
du
le
A
p
pe
nd
ic
e
s
In
de
x
10.9 Nesting (N)
(1) Definition
Nesting is a device used in the master control instruction (MC instruction, MCR
instruction) to program operation conditions in a nesting structure.
(2) Specifying method in master control instruction
The master control instruction opens/closes a common ladder bus to create a
sequence program of efficient ladder switching.
Specify nesting in ascending order (in order of N0 to N14), starting from the outside of
the nesting structure.
Refer to the following manual for how to use nesting.
QCPU (Q Mode)/QnACPU Programming Manual (Common Instructions)
Figure 10.83 Program example using nesting
M15
N0
B
C
A
M15
N0
MC
M16
N1
MC
N2
MCR
N1
MCR
M17
N2
MC
N0
MCR
M16
N1
M17
N2
N0 nesting
control range
N1 nesting
control range
N2 nesting
control range
Designated in
ascending No. order
Executed when
condition "A" is
satisfied.
Executed when
conditions "A" and
"B" are satisfied.
Designated in
descending No. order
Executed when
condition "A", "B" and
"C" are satisfied.
Executed when
conditions "A" and
"B" are satisfied.
Executed when
condition "A" is
satisfied.
Executed regardless
of A, B, C condition
statuses.