FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
In an SFC program for selecting large or small products and judging products as either accepted or rejected, selective
branches and recombination are adopted as shown in the figure below.
Ladder block
M8002
Initial pulse
X001
X003 Y001
Upper
Left
limit
limit
SFC block
0
X026
0
Start
21
1
22
2
23
X003
3
Upper limit switch
X004
24
X004
4
Right limit switch
(small bucket)
30
X002
5
Lower limit switch
31
6
32
X003
7
Upper limit switch
X001
33
X001
8
Left limit switch
0
RET
SET
S0
Origin
Y007
indication
Release
Y007
TRAN
Origin
Moving
Y000
down
T0
K20
T0
X002
TRAN
Lower limit
switch: ON (small ball)
SET
Y001
Suction
T1
K10
T1
TRAN
Moving
Y002
up
TRAN
Y004
Y003
Moving
rightward
TRAN
Y000 Moving
down
TRAN
RST
Y001
Release
T2
K10
T2
TRAN
Y002 Moving
up
TRAN
Y003
Moving
Y004
leftward
TRAN
END
35 SFC Program and Step Ladder
When a product is small (when X002
turns ON), the left flow is valid.
When a product is large, the right flow is
valid.
T0
X002
9
Lower limit
switch: OFF (large ball)
25
SET
T1
10
26
X003
11
Upper limit switch
X005
Y004
27
X005
12
Right limit switch
(large bucket)
The ON status is transferred to the
recombination state relay S30 when
X004 turns ON in the case of a small
product, or when X005 turns ON in the
case of a large product.
When the special auxiliary relay
M8040 described later is driven, all
transfers to any state relay are
disabled.
In each of the state relays S24, S27
and S33, an interlock contact is
connected in series respectively to
the rightward movement output Y003
and leftward movement output Y004.
35.1 SFC Program
TRAN
Y001
Suction
T1
K10
TRAN
Moving
Y002
up
TRAN
Moving
Y003
rightward
TRAN
781
31
32
33
34
35
36
37
38
A
B