Omron master control units Video Game Controller User Manual


 
4-2SectionProgramming Console Operations
45
5. Press the WRITE Key to write the instruction to Program Memory. The next
program address will be displayed.
WRITE
00201READ
NOP (000)
If a mistake was made inputting the instruction, press the Up Arrow Key to
return to the previous program address and input the instruction again. The
mistaken instruction will be overwritten
6. Input the second instruction and operand. (In this case it isnt necessary to
enter the timer number, because its 000.) Press the WRITE Key to write the
instruction to Program Memory.
TIM
[Timer number]
WRITE
00201 TIM DATA
#0000
7. Input the second operand (123 to specify 12.3 seconds) and press the
WRITE Key. The next program address will be displayed.
B
1
C
2
D
3
WRITE
00202READ
NOP (000)
If a mistake was made inputting the operand, press the Up Arrow Key to re-
turn to display the mistaken operand, press the CONT/# Key and 123 again.
The mistaken operand will be overwritten.
Note Counters are input in the same basic way as timers except the CNT
Key is pressed instead of the TIM Key.
8. Input the third instruction and its operands. First input the instruction by
pressing the FUN Key and then the function code (21 in this case).
FUN
C
2
B
1
00202
MOV (021)
Note To input a differentiated instruction, press the NOT Key after entering
the function code. The @ symbol will be displayed next to differen-
tiated instructions. Press the NOT Key again to change back the
instruction back to a non-differentiated instruction. The @ symbol
will disappear. To change an instruction after it has been entered,
simply scroll through the program until the desired instruction is dis-
played and press the NOT Key. The @ symbol should be displayed
next to the instruction.
9. Press the WRITE Key to write the instruction to Program Memory. The input
display for the first operand will be displayed.
WRITE
00202 MOV DATA A
000
Writing Hexadecimal, BCD Constant
10. Input the first operand.
CONT
#
B
1
A
0
A
0
00202 MOV DATA A
#0100
Press the WRITE Key to write the instruction to Program Memory. The input
display for the second operand will appear.
WRITE
00202 MOV DATA B
000