Nesting (N) - Mitsubishi Electric MELSEC-Q00U(J)CPU User Manual

Table of Contents

Advertisement

4.9

Nesting (N)

Nesting (N) is a device used in the master control instructions (MC and MCR instructions) to program operation
conditions in a nesting structure.
(1) Specification method using master control instructions
The master control instruction opens or closes a common ladder gate to switch the ladder of a sequence program
efficiently.
Specify the nesting (N) in ascending order (in order of N0 to N14), starting from the outside of the nesting
structure.
Control
Control
range of
range of
nesting N1
nesting N0
For use of the nesting, refer to the following.
MELSEC-Q/L Programming Manual (Common Instruction)
A
N0
M15
B
N1
M16
C
N2
M17
Control
range of
nesting N2
Designated in
ascending No. order
N0
M15
MC
Executed when condition
A is met.
N1
M16
MC
Executed when conditions
A and B are met.
N2
M17
MC
Designated in
descending No. order
Executed when conditions
A, B, and C are met.
MCR
N2
Executed when conditions
A and B are met.
MCR
N1
Executed when condition
A is met.
MCR
N0
Executed regardless of
conditions A, B, and C.
CHAPTER 4 DEVICES
4
405

Advertisement

Table of Contents
loading

Table of Contents