179
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
6 What to Understand before Programming
6.4 Mutual Relationship Among Program Flow Control Instructions
1
Int
roduct
ion
2
O
ver
view
3
In
str
uc
tion
Li
st
4
D
evices
in D
etail
5
Spec
ified t
he
D
evice &
C
onst
ant
6
Bef
ore
Pr
ogr
am
m
ing
7
B
asic
In
st
ru
ct
io
n
8
FN
C
00-FN
C
09
P
rogr
am
F
low
9
FN
C
10
-FN
C
19
Mo
ve
&
Co
mp
are
10
FNC2
0-F
NC2
9
Ar
ith.
&
Logic
O
per
ation
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
discribed.
*3
Instructions having containment relationship can
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.
3
:This combination can be used without any problem.
×
:This combination is not allowed; Operation error will 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