Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
395
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
14 Handy Instruction – FNC 60 to FNC 69
14.1 FNC 60 – IST / Initial State
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
6. List program
The list program for the circuit diagram shown on the previous page is as shown below:
0 LD X 004
1 AND X 002
2 ANI Y 001
3 OUT M8044
5 LD M8000
6IST 60
(SP) X 020
(SP) S 20
(SP) S 27
13 STL S 0
14 LD X 012
15 SET Y 001
16 LD X 007
17 RST Y 001
18 LD X 005
19 ANI Y 000
20 OUT Y 002
21 LD X 010
22 ANI Y 002
23 OUT Y 000
24 LD X 006
25 AND X 002
26 ANI Y 003
27 OUT Y 004
28 LD X 011
29 AND X 002
30 ANI Y 004
31 OUT Y 003
(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
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
Initial circuit
Individual
operation
Programming is not required.
Zero return operation
Automatic mode