5 - 44 5 - 44
MELSEC-Q/QnA
5 SEQUENCE INSTRUCTIONS
[Program Example]
The master control instruction can be used in nesting.
The different master control regions are distinguished by nesting (N).
Nesting can be performed from N0 to N14.
The use of nesting enables the creation of ladders which successively limit the execution condition
of the program.
A ladder using nesting would appear as shown below:
[Ladder as displayed in the GPP ladder mode] [Ladder as it actually operates]
MC NO M15
MC N1 M16
MC N2 M17
MCR N2
MCR N1
MCR N0
N0 M15
N1
M16
N2 M17
A
B
C
MC NO M15
MC N1 M16
MC
N2 M17
MCR
N2
MCR
N1
MCR N0
N0 M15
N1 M16
N2 M17
A
B
C
Executed
when A
is ON
Executed
when A and
B are ON
Executed
when A, B,
and C are ON
Executed
when A and
B are ON
Executed
when A
is ON
No relation
to status of
A, B, or C
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com