451
Host Link Commands
Section 6-5
6-5-9
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
Divide the command when writing more than 30 words of data.
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 IR or
SR area in hexadecimal, starting with the specified beginning word.
Note
The results will be as follows depending on the first write word.
6-5-10 LR AREA WRITE –– WL
Writes data to the LR area, starting from the specified word. Writing is done
word by word.
Command Format
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 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,
@
FCS
W
R
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 0252)
Write data (1 word)
Write data
(for number of words to write)
Terminator
@
W
R
x 10
1
x 10
0
x 16
1
x 16
0
FCS
*
↵
Node
No.
End code
Header
code
Terminator
Setting
Results
First write word
≤
252
Data will be written through word 252 but not to other
words and a normal response will be returned.
253
≤
First write word
≤
255
No data will be written and a normal response will be
returned.
255 < First write word
No data will be written and an error will occur.
@
FCS
W
L
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
Terminator
Write data (1 word)
Write data
(for number of words to write )
Beginning word
(0000 to 0063)
@
FCS
W
L
x 10
1
x 10
0
x 16
1
x 16
0
*
↵
Node No.
End code
Header
code
Terminator