Download Print this page

Omron CPM2C Operation Manual page 112

Hide thumbs Also See for CPM2C:

Advertisement

1, 2, 3...
4-4-7 Entering or Editing Programs
00002
1, 2, 3...
1. Press the CLR Key to bring up the initial display.
2. Input the desired address. It is not necessary to input leading zeroes.
C
A
A
2
0
3. Press the Down Arrow Key.
Note The ON/OFF status of any displayed bit will be shown if the PC is in
RUN or MONITOR mode.
4. Press the Up and Down Arrow Keys to scroll through the program.
This operation is used enter or edit programs. It is possible in PROGRAM mode
only.
RUN
MONITOR
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(021)
#0100
LR 10
ADB(050)
#0100
#FFF6
DM 0000
1. Press the CLR Key to bring up the initial display.
2. Specify the address where the program will begin.
3. Input the address where the program will begin and press the Down Arrow
Key. It is not necessary to input leading zeroes.
C
A
A
2
0
0
4. Input the first instruction and operand.
C
LD

0
 

 
 
 

PROGRAM
OK
Address Instruction
00200
LD
12.3 s
00201
TIM
00202
MOV(021)
00203
ADB(050)
 
 % &


2
Section
4-4

Operands
IR
00002
000
#0123
#0100
LR
10
#0100
#FFF6
DM 0000


Advertisement

loading