191
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
8 Program Flow – FNC 00 to FNC 09
1
In
troduct
io
n
2
Ov
e
rv
ie
w
3
In
st
ru
ct
ion
Li
st
4
D
evi
ce
s
in
De
ta
il
5
Speci
fied t
h
e
D
evi
ce &
C
onst
a
nt
6
Bef
o
re
Pr
ogr
a
m
m
ing
7
Bas
ic
In
st
ru
cti
o
n
8
FNC0
0
-FNC0
9
P
ro
g
ra
m F
lo
w
9
FNC1
0
-FNC1
9
M
ov
e
&
C
om
par
e
10
FNC
20-
FNC
2
9
Ar
ith.
&
Logi
c
O
per
at
io
n
8.
Program Flow – FNC 00 to FNC 09
FNC 00 to FNC 09 provide instructions mainly related to control flow of sequence programs such as
conditional program execution and priority processing.
FNC No.
Mnemonic
Symbol
Function
Reference
00
CJ
Conditional Jump
Section 8.1
01
CALL
Call Subroutine
Section 8.2
02
SRET
Subroutine Return
Section 8.3
03
IRET
Interrupt Return
Section 8.4
04
EI
Enable Interrupt
Section 8.5
05
DI
Disable Interrupt
Section 8.6
06
FEND
Main Routine Program End
Section 8.7
07
WDT
Watchdog Timer Refresh
Section 8.8
08
FOR
Start a FOR/NEXT Loop
Section 8.9
09
NEXT
End a FOR/NEXT Loop
Section
8.10
Pn
CJ
Pn
CALL
SRET
IRET
EI
DI
FEND
WDT
FOR
S
NEXT