Mitsubishi Electronics FX3G User Manual

Page of 964
779
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
4. Example of sequential start and stop
The motors M1 to M4 are started in turn by a timer, and stopped in turn in the reverse order.
This SFC flow is based on a single flow, and has jumps of state relays.
This SFC program shows an example in which a part of the flow is skipped according to a condition, and the execution
is transferred to a state in a lower position.
The execution can be transferred to a state in an upper position.
20
M8002
0
1
Ladder block
SFC block
0
TRAN
X000
S0
SET
T0
TRAN
T0
K20
Initial pulse
Start
Y000
SET
Motor M1 is
started.
X001
21
T1
K30
Y001
SET
Motor
M2 is
started.
27
TRAN
X001
Stop
9
2
TRAN
T1 X001
22
T2
K40
Y002
SET
Motor
M3 is
started.
26
X001
Stop
10
TRAN
3
TRAN
T2 X001
23
Y003
SET
Motor
M4 is
started.
25
X001
Stop
11
TRAN
24
T4
K40
Y003
RST
Motor
M4 is
stopped.
4
TRAN
X001
5
TRAN
T4
25
T5
K30
Y002
RST
Motor
M3 is
stopped.
6
TRAN
T5
26
T6
K20
Y001
RST
Motor
M2 is
stopped.
7
TRAN
T6
27
Y000
RST
Motor M1
is
stopped.
8
TRAN
Y000
0
RET
END
M1
M2
M3
M4
M4
M3
M2
M1
2 seconds
3 seconds
4 seconds
4 seconds
3 seconds
2 seconds
X000
Start
X001
Stop
Start
Stop
In the case of stop in the middle of operation, the motors are stopped also in turn in the reverse order
.