Omron Programmable Controller Video Game Controller User Manual


 
6-2SectionProgramming Console Operations
90
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)
To input the differentiated version of an instruction, press the NOT Key after
the function code (FUN 2 1 NOT). The @ symbol will be displayed next to
differentiated instructions. Press the NOT Key again to change back the
instruction back to a non-differentiated instruction. The @ symbol will dis-
appear.
To change an instruction after it has been entered, simply scroll through the
program until the desired instruction is displayed 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.
The operands of MOV (21) are normally word addresses, but a constant can
be input by pressing the CONT/# Key first. When the CONT/# Key is
pressed, the display will change to #0000, indicating that a constant can be
entered.
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
Note The operands of MOV(21) can be word addresses, so the CONT/#
Key must be pressed to input a constant.
Writing a Word Address
11. Input the second operand.
*EM
LR
B
1
A
0
00202 MOV DATA B
LR 10
Press the WRITE Key to write the instruction to Program Memory. The next
program address will be displayed.
WRITE
00203READ
NOP (000)
Note When the default display value is 000, a word address can be input
immediately without pressing the Shift and CH/# Keys.
12. Input the next instruction.
FUN
F
5
A
0
00203
ADB (050)
Press the WRITE Key to write the instruction to Program Memory.
WRITE
00203 ADB DATA A
000