Mitsubishi Electronics E60 Video Game Controller User Manual


 
RST
- 61 -
Program example
(1) Program to reset 100ms integrated timer and counter.
C23
X4
10
RST T96
Y55
RST C23
X5
T96 K18000
C23 K16
T96
14
20
22
When T96 is set for the integrated timer,
T96 will turn ON when the X4 ON time is 30 min.
The No. of times that T96 turns ON is counted.
T96 is reset when T96 turns ON.
Y55 turns ON when C23 counts up.
C23 is reset when X5 turns ON.
Coding
No. of
steps
Com-
mand
Device
10 LD X4
11 OUT T96 K18000
14 LD T96
15 OUT C23 K16
18 RST T96
20 LD C23
21 OUT Y55
22 LD X5
23 RST C23
2 steps are used for T or C device.
1 step is used for the other devices.
25