Mitsubishi Electric FX3G SERIES Programming Manual page 208

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2)
When the nesting structure is adopted
When using MC instructions inside MC instruction, increase the nest level "N" in turn in the way "N0 → N1 → N2
→ N3 → N4 → N5 → N6 → N7".
For returning from the nesting structure, reset the nest levels from the highest one in turn using MCR instruction in
the way "N7 → N6 → N5 → N4 → N3 → N2 → N1 → N0".
For example, if "MCR N5" is programmed without programming "MCR N6" and "MCR N7", the nest level is
returned to 5 immediately.
Available nest levels are from N0 to N7 (eight layers).
Circuit program
While X000
is OFF
[A]
N 0
[B]
While
X002 is
OFF
N 1
[C]
While
X004
is OFF
N 2
[D]
[C]
[B]
[A]
206
X000
MC
N 0
M100
X001
Y000
X002
MC
N 1
M101
X003
Y001
X004
MC
N 2
M102
X005
Y002
MCR
X006
Y003
MCR
X007
Y004
MCR
X010
Y005
N 0
M100
Level N0
The bus line B is active while X000 is ON.
N 1
M101
Level N1
The bus line C is active while both X000 and
X002 are ON.
N 2
M102
Level N2
The bus line D is active while all of X000,
X002 and X004 are ON.
N 2
N 2
Level N1
The bus line returns to the status of the bus
line C by "MCR N2".
N 1
N 1
Level N0
The bus line returns to the status of the bus
line B by "MCR N1".
N 0
N 0
Initial status
The bus line returns to the initial status of the
bus line A by "MCR N0". Accordingly, Y005
turns ON or OFF by turning ON or OFF of
X010 regardless of X000, X002 and X004.
7 Basic Instruction
7.9 MC, MCR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents