FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
6. List program
The list program for the circuit diagram shown on the previous page is as shown below:
0 LD
1 AND X 002
2 ANI Y 001
3 OUT M8044
5 LD
6 IST
13 STL S
14 LD
15 SET Y 001
16 LD
17 RST Y 001
18 LD
19 ANI Y 000
20 OUT Y 002
21 LD
22 ANI Y 002
23 OUT Y 000
24 LD
25 AND X 002
26 ANI Y 003
27 OUT Y 004
28 LD
29 AND X 002
30 ANI Y 004
31 OUT Y 003
Programming is not required.
398
X 004
M8000
60
(SP) X 020
(SP) S
20
(SP) S
27
0
X 012
X 007
X 005
X 010
X 006
X 011
(RET)
32 STL S
1
33 LD
X 025
34 SET S
10
36 STL S
10
37 RST Y 001
38 RST Y 000
39 OUT Y 002
40 LD
X 002
41 SET S
11
43 STL S
11
44 RST Y 003
45 OUT Y 004
46 LD
X 004
47 SET S
12
49 STL S
12
50 SET M8043
52 LD
M8043
53 RST S
12
(RET)
55 STL S
2
56 LD
M8041
57 AND M8044
58 SET S
20
60 STL S
20
61 OUT Y 000
62 LD
X001
63 SET S
21
65 STL S
21
66 SET Y 001
67 OUT T
0
(SP) K
10
14 Handy Instruction – FNC 60 to FNC 69
14.1 FNC 60 – IST / Initial State
70 LD
T
0
71 SET S
22
73 STL S
22
74 OUT Y 002
75 LD
X 002
76 SET S
23
78 STL S
23
79 OUT Y 003
80 LD
X 003
81 SET S
24
83 STL S
24
84 OUT Y 000
85 LD
X 001
86 SET S
25
88 STL S
25
89 RST Y 001
90 OUT T
1
(SP) K
10
93 LD
T
1
94 SET S
26
96 STL S
26
97 OUT Y 002
98 LD
X 002
99 SET S
27
101 STL S
27
102 OUT Y 004
103 LD
X 004
104 OUT S
2
106 RET
107 END