180
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.9 MC, MCR
Program examples
1) When the nesting structure is not adopted
Circuit program
List program
X000
MC
N 0
M100
N 0
M100
X001
Y000
X002
Y001
MCR
N 0
0000
LD
X000
0001
MC
N
00
0
SP
M100
0004
LD
X001
0005
OUT
Y000
0006
LD
X002
0007
OUT
Y001
0008
MCR
N 0
←
Two-step instruction
Three-step instruction
←
Write MCR N0 instruction.
Circuit program
List program
X000
MC
N 0
M100
N 0
M100
X001
Y000
X002
Y001
MCR
N 0
X003
MC
N 0
M150
N 0
M150
X004
Y002
X005
Y003
MCR
N 0
0000
LD
X000
0001
MC
N
00
0
SP
M100
0004
LD
X001
0005
OUT
Y000
0006
LD
X002
0007
OUT
Y001
0008
MCR
N
00
0
←
Two-step instruction
Three-step instruction
←
When not adopting the nesting structure,
use "N0" again. There is no limitation in
the number of "N0".
Only in the nesting structure, increase
the nest level "N" in the way "N0
→
N1 ... N6
→
N7" as shown in the
example 2 on the next page.
←
Return to the bus line ("N0" shows the
nest level.)
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......