Inserting And Deleting Instructions - Omron SYSMAC C20K Operation Manual

K-type programmable controllers
Hide thumbs Also See for SYSMAC C20K:
Table of Contents

Advertisement

Inputting, Modifying, and Checking the Program
4-6-6

Inserting and Deleting Instructions

!
Caution
Key Sequence
Example
Before Insertion:
0100
0101
0201
0102
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.
Be careful not to inadvertently delete instructions; there is no way to recover
them without reinputting them completely.
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.
0103
0104
0201
0105
END(01)
Original Program
Address
Instruction
0000
LD
0001
AND
0002
LD
0003
AND NOT
0004
OR LD
0005
AND
0006
AND NOT
0007
OUT
0008
END(01)
Before Deletion:
0100
0101
0201
0102
Section 4-6
Operands
0100
0101
0201
0102
---
0103
0104
0201
---
0105
0103
0104
Delete
0201
END(01)
57

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c40kSysmac c60kSysmac c28k

Table of Contents