778
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
34 SFC Program and Step Ladder
34.2 Step Ladder
The figure below shows a step ladder program for selecting the ball size and judging balls as accepted or
rejected.
M8002
S0
X001
X003
Y001
Y007
S0
X026
Y007
S21
S21
Y000
T0 K20
T0
X002
S22
T0
X002
S25
S22
Y001
T1 K10
T1
S23
S25
LD
SET
LD
AND
ANI
OUT
STL
LD
AND
SET
STL
OUT
OUT
LD
AND
SET
LD
ANI
SET
STL
SET
OUT
LD
SET
STL
S0
M8002
0
1
3
4
5
6
7
8
9
10
12
13
14
17
18
19
21
22
23
25
26
27
30
31
33
0
3
8
X001 X003
S0
7
STL
S21
SET
SET
Y001
X026 X007
12
17
S22
SET
21
26
30
T1
SET
34
SET
T0
X002
T0
X002
33
STL
38
T1
SET
42
43
41
STL
T3
SET
STL
X003
SET
STL
X004
STL
X005
X004
X005
S21
STL
13
25
46
47
48
51
52
55
56
59
60
63
64
X002
67
68
69
72
73
RST
K10
T2
S32
SET
77
80
Y002
81
X003
S33
SET
82
85
X001
86
X001
89
92
93
Y001
T1 K10
T1
S26
S233
Y002
T3
S24
S26
Y002
X003
S27
S24
X004
Y004
Y003
S27
X005
Y004
Y003
S24
X004
S30
S27
X005
SET
OUT
LD
SET
STL
OUT
LD
SET
STL
OUT
LD
SET
STL
LDI
ANI
OUT
STL
LDI
ANI
OUT
STL
LD
SET
STL
LD
34
35
38
39
41
42
43
44
46
47
48
49
51
52
53
54
55
56
57
58
59
60
61
63
64
S30
S30
Y000
X002
S31
S31
Y001
T2 K10
T2
S32
S32
Y002
X003
S33
S33
X001
Y003
Y004
X001
S0
SET
STL
OUT
LD
SET
STL
RST
OUT
LD
SET
STL
OUT
LD
SET
STL
LDI
ANI
OUT
LD
OUT
RET
END
65
67
68
69
70
72
73
74
77
78
80
81
82
83
85
86
87
88
89
90
92
93
Y007
T1
T1
K10
K10
Y000
T0
K20
Y002
Y002
Y003
Y003
Y001
SET
S25
SET
S22
STL
S23
Y001
S25
S26
S23
S24
S26
S27
S24
S27
S24
STL
S30
SET
S27
STL
S30
SET
S30
STL
Y000
S31
SET
S31
STL
Y001
T2
S32
STL
S33
STL
Y004
S0
RET
END
Initial pulse
Start
Origin
indication
Moving
down
Lower limit (small ball)
Suction
Moving
up
Moving
leftward
Moving
down
Moving
rightward
Origin
The ON status is transferred to the recombination state
relay S30 when X004 turns ON in the case of small ball,
or when X005 turns ON in the case of large ball.
When the special auxiliary relay M8040 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.
Left
limit
Upper
limit
Release
<Step ladder>
Suction
Moving
up
Moving
rightward
Moving
up
Release
<List program>
Y004
Y004
Y003