Inserting And Deleting Instructions - Omron CPM1A Operation Manual

Sysmac series programmable controllers
Hide thumbs Also See for CPM1A:
Table of Contents

Advertisement

Programming Console Operations

4-3-11 Inserting and Deleting Instructions

Original Program
00100
00101
00201
00102
Insertion
1, 2, 3...
Deletion
1, 2, 3...
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.
This operation is used to insert or delete instructions from the program. It is pos-
sible in PROGRAM mode only.
RUN
No
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.
00103
00104
01000
Delete
00105
Insert
END(01)
Follow the procedure below to insert the IR 00105 NO condition at address
00206.
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
A
2
0
6
3. Input the new instruction and press the INS Key.
B
A
F
AND
1
0
5
4. Press the Down Arrow Key to insert the new instruction.
Note For instructions that require more operands (such as set values),
input the operands and then press the WRITE Key.
Follow the procedure below to delete the IR 00103 NO condition at address
00205.
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
A
F
2
0
5
Indicates the address
of END instruction.
SRCH
Indicates the amount used by the user
program in units of 0.1 Kwords.
MONITOR
PROGRAM
No
OK
Address Instruction
00205
AND
Delete
00206
AND NOT
00207
OUT
00208
END(01)
INS
Section 4-3
Operands
00103
Insert
00104
01000
-
99

Advertisement

Table of Contents
loading

Table of Contents