Mitsubishi Electric MELSEC-Q/L Programming Manual page 177

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

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]
A
N0
M15
B
N1
M16
C
N2
M17
[Ladder as it actually operates]
MC N0 M15
N0
MC N1 M16
N1
MC N2 M17
N2
MCR N2
MCR N1
MCR N0
A
M15
B
M16
C
M17
5 SEQUENCE INSTRUCTIONS
5.5 Master Control Instructions
MC N0 M15
Executed
when A is ON.
MC N1 M16
Executed
when A and
B are ON.
MC N2 M17
Executed
when A, B
and C are ON.
MCR N2
Executed
when A and
B are ON.
MCR N1
Executed
when A is ON.
MCR N0
Not related to
the status of
A, B or C.
175
5

Advertisement

Table of Contents
loading

Table of Contents