Inserting And Deleting Instructions - Omron SYSMAC CPM2B Operation Manual

Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Programming Console Operations

7-2-12 Inserting and Deleting Instructions

Original Program
00100
00101
00201
00102
Insertion
1,2,3...
Deletion
1,2,3...
138
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
This operation is used to insert or delete instructions from the program. It is
possible 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.
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
2
0
6
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),
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
3. Press the DEL Key.
4. Press the Up Arrow Key to delete the specified instruction.
MONITOR
PROGRAM
No
OK
Address Instruction
00205
AND
Delete
00206
AND NOT
00207
OUT
00208
END(01)
00206READ
AND NOT
00206INSERT?
INS
AND
00207INSERT END
AND NOT
00205READ
AND
00205DELETE?
DEL
AND
Section 7-2
Operands
00103
Insert
00104
01000
-
00104
00105
00104
00103
00103

Advertisement

Table of Contents
loading

Table of Contents