780
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
35 SFC Program and Step Ladder
35.1 SFC Program
The partial skip flow shown on the previous page can be expressed in a flow of selective branches and recombination
as shown below.
Make sure that a flow proceeds from top to bottom, and that a flow does not cross except branch lines and
recombination lines.
20
M8002
0
1
Ladder block
SFC block
0
TRAN
X000
S0SET
T0
T0
K20
Initial pulse
Start
Y000SET
X001
21
T1
K30
Y001SET
2
T1 X001
22
T2
K40
Y002SET
3
T2 X001
23
Y003SET
24
T4
K40
Y003RST
4
X001
Stop
5
T4
25
T5
K30
Y002RST
6
T5
26
T6
K20
Y001RST
7
T6
27
Y000RST
8
Y000
0
RET END
TRAN
X001
Stop
9
30*
TRAN
S30
10
31*
TRAN
X001
11
TRAN
S31
12
32*
TRAN
X001
13
TRAN
S32
14
Dummy state relay
TRAN
TRAN
TRAN
TRAN
TRAN
TRAN
TRAN
TRAN
For example, if X001 turns ON while the state relay S20 is ON,
the state relay S32 turns ON; The contact of S32 turns ON, and
the ON status is immediately transferred to the state relay S27.
Because one or more state relays are required in a branch line,
dummy states are provided for this purpose.
Stop
Stop
*