![background image](http://html.mh-extra.com/html/omron/sysmac-c20k/sysmac-c20k_operation-manual_1633423069.webp)
!
57
4-6-6
Inserting and Deleting Instructions
In PROGRAM mode, any instruction that is currently displayed can be de-
leted or another instruction can be inserted before it. These are not possible
in RUN or MONITOR modes.
To insert an instruction, display the instruction before which you want the new
instruction to be placed, input the instruction word in the same way as when
inputting a program initially, and then press INS and the down key. If other
words are required for the instruction, input these in the same way as when
inputting a program initially.
To delete an instruction, display the instruction word of the instruction to be
deleted and then press DEL and the up key. All the words for the designated
instruction will be deleted.
Caution
Be careful not to inadvertently delete instructions; there is no way to recover
them without reinputting them completely.
Key Sequence
When an instruction is inserted or deleted, all addresses in Program Memory
following the operation are adjusted automatically so that there are no blank
addresses and no unaddressed instructions.
The following mnemonic code shows the changes that are achieved in a pro-
gram through the key sequences and displays shown below.
Original Program
Address
Instruction
Operands
0000
LD
0100
0001
AND
0101
0002
LD
0201
0003
AND NOT
0102
0004
OR LD
---
0005
AND
0103
0006
AND NOT
0104
0007
OUT
0201
0008
END(01)
---
0105
0100
0103
0104
0101
0201
END(01)
0102
0201
Delete
0104
0100
0103
0105
0101
0201
END(01)
0102
0201
Before Insertion:
Before Deletion:
Example
Inputting, Modifying, and Checking the Program
Section 4-6
Summary of Contents for SYSMAC C20K
Page 1: ...Cat No W146 E1 5 Programmable Controllers SYSMAC C20K C28K C40K C60K ...
Page 2: ...K type Programmable Controllers OPERATION MANUAL Revised July 1999 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 19: ...7 SECTION 2 Hardware Considerations 2 1 Introduction 2 2 Indicators 2 3 PC Configuration ...