Omron CPM1A Network Card User Manual


 
88
5. The search will continue until an END instruction or the end of Program
Memory is reached. In this case, an END instruction was reached.
SRCH
00397CONT SRCH
END (001)00.4KW
Indicates the address
of END instruction.
Indicates the amount used by the user
program in units of 0.1 Kwords.
4-3-9 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
00206INSERT?
AND 00105
4. Press the Down Arrow Key to insert the new instruction.
00207INSERT END
AND NOT 00104
Note For instructions that require more operands (such as set values),
input the operands and then 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
Programming Console Operations
Section 4-3