371
Host Link Commands Section 6-3
6-3-10 HR AREA WRITE –– WH
Writes data to the HR area, starting from the specified word. Writing is done
word by word.
Command Format
Note Beginning word: 0000 to 0063 in CQM1 PCs, 0000 to 0019 in CPM1/CPM1A/
SRM1 PCs
Response Format An end code of 00 indicates normal completion.
Parameters 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, 98
is specified as the beginning word for writing, and three words of data are
specified, then 100 will become the last word for writing data, and the com-
mand will not be executed because HR 100 is beyond area boundary.
6-3-11 PV WRITE –– WC
Writes the PVs (present values) of timers/counters starting from the specified
timer/counter.
Command Format
Note 1. Beginning T/C:0000 to 0511 in CQM1 PCs, 0000 to 0127 in CPM1/
CPM1A/SRM1 PCs
2. Divide the command when writing more than 29 words of data.
Response Format An end code of 00 indicates normal completion.
@
FCS
WHx 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
(for no. of words to write)
Write data (1 word) Terminator
@
FCS
WHx 10
1
x 10
0
x 16
1
x 16
0
↵
Node no. End codeHeader
code
Terminator
@
FCS
WCx 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
Node no. Header
code
TerminatorBeginning timer/counter* Write data (1 timer/counter)
Write data
(for no. of PV to write)
@
FCS
WCx 10
1
x 10
0
x 16
1
x 16
0
↵
Node no
. End code
Header
code
Te
rminator