Hr Area Write - Wh; Pv Write - Wc - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Host Link Commands
Response Format
Parameters
4-5-10 HR AREA WRITE – WH
Command Format
1
0
x 10
x 10
@
W
Node no.
Header
code
Response Format
Parameters
4-5-11 PV WRITE – WC
286
An end code of 00 indicates normal completion.
x 10
@
Node no.
Write Data (Command)
Specify in order the contents of the number of words to be written to the LR area
in hexadecimal, starting with the specified beginning word.
Note 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 example, 12 is
specified as the beginning word for writing and five words of data are specified,
then 16 will become the last word for writing data, and the command will not be
executed because LR 16 is beyond area boundary.
Writes data to the HR area, starting from the specified word. Writing is done word
by word.
3
2
1
x 10
x 10
x 10
x 10
H
Beginning word*
Note Beginning word:0000 to 0019
An end code of 00 indicates normal completion.
x 10
@
Write Data (Command)
Specify in order the contents of the number of words to be written to the HR area
in hexadecimal, starting with the specified beginning word.
Note 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 example, 18 is
specified as the beginning word for writing, and three words of data are speci-
fied, then 20 will become the last word for writing data, and the command will not
be executed because HR 20 is beyond area boundary.
Writes the PVs (present values) of timers/counters starting from the specified
timer/counter.
1
0
1
x 10
x 16
x 16
W
L
Header
End code
code
0
3
2
1
0
x 16
x 16
x 16
x 16
Write data (1 word)
Write data
(for no. of words to write)
1
0
1
x 10
x 16
x 16
W
H
Node no.
Header
End code
code
Section
0
:
FCS
Terminator
:
FCS
Terminator
0
:
FCS
Terminator
4-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents