10
DEVICE EXPLANATION
10.9 Nesting (N)
10 - 90
9
Parameters
10
Device Explanation
11
CPU Module Processing
Time
12
Procedure for Writing
Program to CPU ModuleAppendicesIndex
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
M15N0MC
M16N1MC
N2
MCR
N1
MCR
M17
N2MC
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.