Entering Or Editing Programs - Omron CQM1 Operation Manual

Programmable controllers
Hide thumbs Also See for CQM1:
Table of Contents

Advertisement

Programming Console Operations
Corrected Program
00100
00101
00201
00102

3-6-11 Entering or Editing Programs

00002
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.
If the instruction has more operands, the operands will be deleted automati-
cally with the instruction.
After completing the insertion and deletion procedures, use the Up and Down
Arrow Keys to scroll through the program and verify that it has been changed
correctly, as shown in the following diagram.
00104
00105
10000
END(01)
This operation is used enter or edit programs. It is possible in PROGRAM mode
only.
RUN
No
No
The same procedure is used to either input a program for the first time or to
change a program that already exists. In either case, the current contents of
Program Memory is overwritten.
The program shown in the following diagram will be entered to demonstrate
this operation.
TIM 000
#0123
MOV(21)
#0100
LR 10
ADB(50)
#0100
#FFF6
DM 0000
00205READ
AND
00205DELETE?
DEL
AND
00205DELETE END
AND
Address
Instruction
00205
AND
00206
AND NOT
00207
OUT
00208
END(01)
MONITOR
PROGRAM
OK
Address
Instruction
00200
LD
12.3 s
00201
TIM
00202
MOV(21)
00203
ADB(50)
Section
3-6
00103
00103
00105
Operands
00105
00104
10000
-
Operands
IR
00002
000
0123
#0100
LR
10
#0100
#FFF6
DM 0000
93

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1

Table of Contents