Mitsubishi Electronics E60 Video Game Controller User Manual


 
DXCH
- 125 -
Program example
(1) Program to exchange T0 and T1 current values with D0, 1 details when M8 turns ON.
Coding
No. of
steps
Com-
mand
Device
10 LD M8
11 DXCH T0 D0
T0
DXCH
D0
M8
10
(Pulse coding)
15
(2) Program to exchange D0, 1 details with M16 to M47 data when M10 turns ON.
Coding
No. of
steps
Com-
mand
Device
10 LD X10
11 DXCH
K8M16
D0
K8M16DXCH
D0
M10
10
(Pulse coding)
15
(3) Program to exchange D0, 1 details with R9, 10 details when M0 turns ON.
Coding
No. of
steps
Com-
mand
Device
10 LD M0
11 DXCH D0 R9
D0
DXCH
R9
M0
10
(Pulse coding)
15