Mitsubishi Electronics E60 Video Game Controller User Manual


 
OUT T
- 55 -
Execution condition
This is executed per scan regardless of the operation results before the OUT command.
Program example
(1) Program to turn ON Y10 and Y14 ten seconds after X0 turns ON.
(2) Program to use X10 to 1F BCD data as timer setting value.
X2
T2 D10
X0
10
14
Y15
T2
18
BIN K4X1
0
D10
The X10 to 1F data is BIN converted and stored in D10.
If X2 turns ON, the data stored in D10 will be counted
as the setting value.
When T2 counts up, Y15 will turn ON.
Coding
No. of
steps
Com-
mand
Device
10 LD X0
11 BIN K4X10 D10
14 LD X2
15 OUT T2 D10
18 LD T2
19 OUT Y15
20
Coding
No. of
steps
Com-
mand
Device
10 LD X0
11 OUT T1 K100
14 LD T1
15 OUT Y10
16 OUT Y14
T1
Y10
X0
T1 K100
10
14
Y14
17