Mitsubishi Electronics E60 Video Game Controller User Manual


 
DBCD
- 113 -
Execution conditions
The execution conditions for DBCD are as follow.
DBCD
ON
Executed per scan
Executed per scan
DBCD command OFF
Program example
(1) Program to output the current timer value of which the setting value exceeds 9999 to Y1C to 2F.
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
Y2F
Y2E
Y2D
Y2C
8000
4000
2000
1000
80
40
20
10
8
4
2
1
Y2B
Y2A
Y29
Y28
Y27
Y26
Y25
Y24
Y23
Y22
Y21
Y20
800
400
200
100
80000
40000
20000
10000
Y1C
Y1D
Y1E
Y1F
Coding
No. of
steps
Com-
mand
Device
10 LD X3
11 OUT T5
K18000
13 LD M0
14 DBCD T5 D15
18 DMOV D15
K5Y1C
X3
T5 K18000
M0
DBCD T5
D15
D15DMOV K5Y1C
10
13
22