757
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
34 SFC Program and Step Ladder
34.1 SFC Program
31
FN
C
275-FN
C
279
Da
ta
Tr
ans
fe
r 3
32
FN
C
280
-F
N
C
28
9
H
igh Speed
Pr
oces
si
ng 2
33
FN
C
290-FN
C
299
Ext
ensi
on Fi
le
R
egi
st
er
34
SF
C
•S
T
L
Pr
o
g
ra
m
m
in
g
35
In
te
rru
p
t
Funct
ion
36
Sp
e
cia
l De
vic
e
37
E
rro
r C
o
d
e
A
V
e
rs
ion U
p
In
fo
rm
a
tio
n
B
Ex
ec
ut
ion Ti
m
e
s
C
Appl
ic
ab
le
In
st
ru
ct
ion Li
st
2. Example of fountain control
1) Cyclic operation (X001
=
OFF, X002
=
OFF)
When the start button X000 is pressed, the outputs turn ON in the order “Y000 (wait indication)
→
Y001
(center lamp)
→
Y002 (center fountain)
→
Y003 (loop line lamp)
→
Y007 (loop line fountain)
→
Y000
(wait indication)”, and then the outputs return to the wait status.
Each output is switched in turn every 2 seconds by a timer.
2) Continuous operation (X001
=
ON)
Y001 to Y007 turn ON in turn repeatedly.
3) Stepping operation (X002
=
ON)
Every time the start button is pressed, each output turns ON in turn.
M8000
Ladder
block
20
3
1
0
TRAN
X000
Y000
Y001
T1
TRAN
T1
K20
M8047
RUN monitor
X002
M8040
Stepping
M8002
Initial pulse
X000
Start
S3
SET
Enable
STL
monitoring
STL
transfer
disable
Initial state
relay
Start button
Wait
indication
21
2
22
3
27
4
Center lamp
20
Y002
T2
TRAN
T2
K20
Center
fountain
Y003
T3
TRAN
T3
K20
Loop line
lamp
Y007
T7
TRAN
T7
K2
0
Loop line
fountain
3
X001
RET
END
Continuous
SFC
block
TRAN
T7 X001
5
Cyclic/stepping