772
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
35 SFC Program and Step Ladder
35.1 SFC Program
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
S3SET
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