Mitsubishi Electronics FX3G User Manual
173
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
6 What to Understand before Programming
6.4 Mutual Relationship Among Program Flow Control Instructions
1
Introdu
ction
2
Ov
ervi
ew
ew
3
Instruction
Li
st
4
D
evices
in Det
ai
l
5
Specifi
ed the
De
vice
&
C
onst
ant
ant
6
Bef
ore
ore
Pr
og
ra
mmi
ng
ng
7
Bas
ic
ic
Instruction
8
FN
C00-FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
P-SRET
I-IRET
FEND-END
*1
*3
*3
*3
*3
*3
*3
Remarks
*1
*2
FOR FOR NEXT NEXT
The operation indicated by continuous lines is
described.
*3
Instructions having containment relationship can
be combined except some combinations as
follows:
be combined except some combinations as
follows:
1) MC-MCR cannot be used in FOR-NEXT, STL-RET,
P-SRET and I-RET.
2) STL-RET cannot be used in FOR-NEXT, P-SRET
and I-IRET.
3) MC-MCR, FOR-NEXT, P-SRET and I-IRET cannot
be interrupted by I, IRET, SRET, FEND, END, etc.
The first FEND or END is valid, but the intended
processes will not occur. But this is not an
error.
processes will not occur. But this is not an
error.
3
:This combination can be used without any problem.
× :This combination is not allowed; Operation error may be occurs.
U:This combination is allowed, but is better not to be used because the operation will be complicated.
The DI skip status occurs, but this is not an
error.
3
3
3
3
3
3
3
3