161
MC, MCR
1
2
3
4
5
6
7
8
5.5
M
aster Con
trol Instr
uctions
5.5.1
M
C, MCR
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 N0 M15
MC N1 M16
MC N2 M17
MCR N2
MCR N1
MCR N0
NO
M15
N1 M16
N2 M17
A
B
C
MC N0 M15
MC N1 M16
MC N2 M17
MCR N2
MCR N1
MCR N0
NO
M15
N1
M16
N2
M17
A
B
C
Not related
to the status
of A
,
B or C.
Executed
when A is ON.
Executed
when A is ON.
Executed
when A and
B are ON.
Executed
when A and
B are ON.
Executed
when A
,
B
and C are ON.