Omron master control units Video Game Controller User Manual


 
4-2SectionProgramming Console Operations
43
4-2-10 Inserting and Deleting Instructions
This operation is used to insert or delete instructions from the program. It is pos-
sible in PROGRAM mode only.
RUN MONITOR PROGRAM
No No OK
To demonstrate this operation, an IR 00105 NO condition will be inserted at
program address 00206 and an IR 00103 NO condition deleted from address
00205, as shown in the following diagram.
00104
00100
00103
00105
00101
00201
END(01)
00102
01000
Delete
Insert
Original Program
Address Instruction Operands
00205 AND 00103
00206 AND NOT 00104
00207 OUT 01000
00208 END(01) -
Delete
Insert
Insertion Follow the procedure below to insert the IR 00105 NO condition at address
00206.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Input the address where the NO condition will be inserted and press the
Down Arrow Key. It is not necessary to input leading zeroes.
C
2
A
0 6
00206READ
AND NOT 00104
3. Input the new instruction and press the INS Key.
AND
B
1
A
0
F
5
INS
00206 INSERT?
AND 00105
4. Press the Down Arrow Key to insert the new instruction.
00207 INSERT END
AND NOT 00104
Note After inserting more than one word instruction, specify the set values
(operands). After inputting the set values, press the WRITE Key.
Deletion Follow the procedure below to delete the IR 00103 NO condition at address
00205.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Input the address where the NO condition will be deleted and press the
Down Arrow Key. It is not necessary to input leading zeroes.
C
2
A
0
F
5
00205READ
AND 00103
3. Press the DEL Key.
DEL
00205 DELETE?
AND 00103
4. Press the Up Arrow Key to delete the specified instruction.
If the instruction has more operands, the operands will be deleted automati-
cally with the instruction.
00205 DELETE END
AND 00105