EasyManuals Logo

Omron CPM1A User Manual

Omron CPM1A
201 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #118 background imageLoading...
Page #118 background image
95
4-3-8 Entering or Editing Programs
This operation is used enter or edit programs. It is possible in PROGRAM mode
only.
RUN MONITOR PROGRAM
No No OK
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.
00002
00200 LD IR 00002
00201 TIM 000
#0123
00202 MOV(021)
#0100
LR 10
00203 ADB(050)
#0100
#FFF6
DM 0000
MOV(021)
#0100
LR 10
TIM 000
#0123
12.3 s
ADB(050)
#0100
#FFF6
DM 0000
Address Instruction Operands
1, 2, 3... 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
2
A
0
A
0
00200READ
NOP (000)
4. Input the first instruction and operand.
LD
C
2
00200
LD 00002
5. Press the WRITE Key to write the instruction to Program Memory. The next
program address will be displayed.
WRITE
00201READ
NOP (000)
If a mistake was made inputting the instruction, press the Up Arrow Key to
return to the previous program address and input the instruction again. The
mistaken instruction will be overwritten
To specify the Completion Flag for a timer or counter, press the LD, AND,
OR, or NOT Key followed by the TIM or CNT Key, and then input the timer/
counter number last.
6. Input the second instruction and operand. (In this case it isn’t necessary to
enter the timer number, because it’s 000.) Press the WRITE Key to write the
instruction to Program Memory.
TIM
Timer number
WRITE
00201 TIM DATA
#0000
Programming Console Operations
Section 4-3

Table of Contents

Other manuals for Omron CPM1A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1A and is the answer not in the manual?

Omron CPM1A Specifications

General IconGeneral
ModelCPM1A
TypeCompact PLC
Communication PortsRS-232C (optional)
Instruction SetBasic and advanced instructions
Operating Temperature0 to 55°C
Storage Temperature-20 to 75°C
Humidity10% to 90% RH (non-condensing)
Power Supply24 VDC or 100-240 VAC
ExpansionExpansion I/O units available
Timers128
Counters256 counters
I/O Points10, 20, 30, or 40 points (depending on model)

Related product manuals