Mitsubishi Electronics FX3G User Manual

Page of 964
777
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
35 SFC Program and Step Ladder
35.1 SFC Program
31
FNC277
-F
NC2
79
Da
ta
 
Trans
fer 3
32
FNC28
0-F
NC
289
H
igh-Speed 
Process
ing 2
33
FNC2
90-
FNC299
Ex
tensi
on Fi
le
 
Register C
ontrol
34
FN
C300-
FNC30
5
FX
3U
-C
F-
AD
P
35
SFC
•STL
Programming
36
Interrupt 
Function
37
Sp
ec
ia
l D
evi
ce
38
E
rror Code
A
Ve
rsi
on U
Inform
ati
on
B
Ex
ecuti
on
 T
imes
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