452
Host Link Commands
Section 6-5
60 is specified as the beginning word for writing and five words of data are
specified, then 64 will become the last word for writing data, and the com-
mand will not be executed because LR 64 is beyond area boundary.
6-5-11 HR AREA WRITE –– WH
Writes data to the HR area, starting from the specified word. Writing is done
word by word.
Command Format
Response Format
An end code of 00 indicates normal completion.
Parameter
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-5-12 PV WRITE –– WC
Writes the PVs (present values) of timers/counters starting from the specified
timer/counter.
Command Format
Note
Divide the command when writing more than 29 words of data.
Response Format
An end code of 00 indicates normal completion.
Parameters
Write Data (Command)
Specify in decimal numbers (BCD) the present values for the number of tim-
ers/counters that are to be written, starting from the beginning timer/counter.
@
FCS
W
H
x 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
(0000 to 0099)
Write data
(for No. of words to write)
Write data (1 word)
Terminator
@
FCS
W
H
x 10
1
x 10
0
x 16
1
x 16
0
*
↵
Node No.
End code
Header
code
Terminator
@
FCS
W
C
x 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
Terminator
Beginning timer/counter
(0000 to 0511)
Write data (1 timer/counter)
Write data
(for No. of PV to write)
@
FCS
W
C
x 10
1
x 10
0
x 16
1
x 16
0
*
↵
Node
No.
End code
Header
code
Terminator