EasyManuals Logo

Omron CPM1 Programming Manual

Omron CPM1
541 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 #390 background imageLoading...
Page #390 background image
369
Host Link Commands Section 6-3
Note 1. Words 1024 to 6143 in CPM1/CPM1A PCs and words 2048 to 6143 in
SRM1 PCs cannot be specified. If an attempt to read any of these words
is made, a response of 0000 will be returned.
2. The response will be divided when reading more than 30 words of data.
Parameters Read Data (Response)
The contents of the number of words specified by the command are returned
in hexadecimal as a response. The words are returned in order, starting with
the specified beginning word.
Note Be careful about the configuration of the DM area, as it varies depending on
the CPU Unit model.
6-3-7 AR AREA READ –– RJ
Reads the contents of the specified number of AR words, starting from the
specified word.
Command Format
Note 1. Beginning word: 0000 to 0027 in CQM1 PCs, 0000 to 0015 in CPM1/
CPM1A/SRM1 PCs
2. No. of words: 0001 to 0028 in CQM1 PCs, 0001 to 0016 in CPM1/CPM1A/
SRM1 PCs
Response Format An end code of 00 indicates normal completion.
Parameters Read Data (Response)
The contents of the number of words specified by the command are returned
in hexadecimal as a response. The words are returned in order, starting with
the specified beginning word.
6-3-8 IR/SR AREA WRITE –– WR
Writes data to the IR and SR areas, starting from the specified word. Writing
is done word by word.
Command Format
Note 1. Beginning word: 0000 to 0252 in CQM1 PCs, 0000 to 0019 and 0200 to
0252 in CPM1/CPM1A/SRM1 PCs.
2. Divide the command when writing more than 30 words of data.
@
FCS
RJx 10
1
x 10
0
x 10
3
x 10
2
x 10
1
x 10
0
x 10
3
x 10
2
x 10
1
x 10
0
TerminatorBeginning word
1
Node no. Header
code
No. of words
2
@
FCS
RJx 10
1
x 10
0
x 16
1
x 16
0
x 16
3
x 16
2
x 16
1
x 16
0
Node no. End codeHeader
code
Read data (1 word )
Read data
(for number of words read)
Terminator
@
FCS
WRx 10
1
x 10
0
x 10
3
x 10
2
x 10
1
x 10
0
x 16
3
x 16
2
x 16
1
x 16
0
Node no. Header
code
Beginning word* Write data (1 word)
Write data
(for number of words to write)
Terminator

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CPM1 Specifications

General IconGeneral
ModelCPM1
ManufacturerOmron
Instruction SetBasic and advanced instructions
Power Supply100 to 240 VAC or 24 VDC
CommunicationRS-232C
I/O Points10, 20, 30, or 40 points depending on the model
TimersYes, multiple timers available
CountersYes, multiple counters available
Input Voltage24V DC
Output TypeRelay or transistor
Number of I/O Points10, 20, 30, 40
Communication PortsRS-232C (optional)
Operating Temperature0°C to 55°C
Storage Temperature-20°C
Humidity10% to 90% (non-condensing)
DimensionsVaries depending on the model
WeightVaries depending on the model
Program Memory2048 steps (2K steps)

Related product manuals