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 #394 background imageLoading...
Page #394 background image
373
Host Link Commands Section 6-3
6-3-13 DM AREA WRITE –– WD
Writes data to the DM area, starting from the specified word. Writing is done
word by word.
Command Format
Note 1. Beginning word: 0000 to 6143 in CQM1 PCs, 0000 to 1023 and 6144 to
6655 in CPM1/CPM1A PCs, and 0000 to 2047 and 6144 to 6655 in SRM1
PCs
2. Divide the command when writing more than 29 words of data.
Response Format An end code of 00 indicates normal completion.
Note DM 1024 to DM 6143 in CPM1/CPM1A PCs and DM 2048 to DM 6143 in
SRM1 PCs cannot be specified. If an attempt to write to any of these words is
made, the writing operation will not be executed for these words and the com-
mand will end normally
Parameters Write Data (Command)
Specify in order the contents of the number of words to be written to the DM
area in hexadecimal, starting with the specified beginning word.
Note 1. If data is specified for writing which exceeds the allowable range, an error
will be generated and the writing operation will not be executed. If, for ex-
ample, 6142 is specified as the beginning word for writing, and three words
of data are specified, then 6144 will become the last word for writing data,
and the command will not be executed because DM 6144 is beyond the
writable range.
2. Be careful about the configuration of the DM area, as it varies depending
on the CPU Unit model.
6-3-14 AR AREA WRITE –– WJ
Writes data to the AR area, starting from the specified word. Writing is done
word by word.
Command Format
Note Beginning word: 0000 to 0027 in CQM1 PCs, 0000 to 0015 in CPM1/CPM1A
and SRM1 PCs
@
FCS
WDx 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
@ WDx 10
1
x 10
0
x 16
1
x 16
0
FCSNode no. Header
code
TerminatorEnd code
@
FCS
WJx 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
Write data
(for the number of words to write)
Write data (1 word)Beginning word*Node no. Header
code
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