Inserting And Deleting Instructions - Omron CPM2C Operation Manual

Sysmac series programmable controller
Hide thumbs Also See for CPM2C:
Table of Contents

Advertisement

Programming Console Operations

4-2-12 Inserting and Deleting Instructions

Original Pr ogram
00100
00101
00201
00102
Insertion
1,2,3...
Deletion
1,2,3...
170
This operation is used to insert or delete instructions from the program. It is
possible in PROGRAM mode only.
RUN
No
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.
00104
00103
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
6
2
0
3. Input the new instruction and press the INS Key.
AND
B
A
F
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), in-
put 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
3. Press the DEL Key.
Indicates the address
of END instruction.
00397CONT SRCH
END (001)00.4KW
SRCH
Indicates the amount used by the user
program in units of 0.1 Kwords.
MONITOR
PROGRAM
OK
Address Instruction
Delete
00205
AND
00206
AND NOT
00207
OUT
00208
END(01)
00206READ
AND NOT
E
00206INSERT?
AND
INS
00207INSERT END
AND NOT
E
00205READ
AND
E
Section 4-2
Operands
00103
Insert
00104
01000
-
00104
00105
00104
00103

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cpm2c

Table of Contents