369
Host Link Commands Section 6-3
Note 1. Words 1024 to 6143 in CPM1/CPM1A PCs and words 2048 to 6143 in
SRM1 PCs cannot be specified. If an attempt to read any of these words
is made, a response of 0000 will be returned.
2. The response will be divided when reading more than 30 words of data.
Parameters Read Data (Response)
The contents of the number of words specified by the command are returned
in hexadecimal as a response. The words are returned in order, starting with
the specified beginning word.
Note Be careful about the configuration of the DM area, as it varies depending on
the CPU Unit model.
6-3-7 AR AREA READ –– RJ
Reads the contents of the specified number of AR words, starting from the
specified word.
Command Format
Note 1. Beginning word: 0000 to 0027 in CQM1 PCs, 0000 to 0015 in CPM1/
CPM1A/SRM1 PCs
2. No. of words: 0001 to 0028 in CQM1 PCs, 0001 to 0016 in CPM1/CPM1A/
SRM1 PCs
Response Format An end code of 00 indicates normal completion.
Parameters Read Data (Response)
The contents of the number of words specified by the command are returned
in hexadecimal as a response. The words are returned in order, starting with
the specified beginning word.
6-3-8 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 1. Beginning word: 0000 to 0252 in CQM1 PCs, 0000 to 0019 and 0200 to
0252 in CPM1/CPM1A/SRM1 PCs.
2. Divide the command when writing more than 30 words of data.
@
FCS
RJx 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
TerminatorBeginning word
1
Node no. Header
code
No. of words
2
@
FCS
RJx 10
1
x 10
0
x 16
1
x 16
0
↵
x 16
3
x 16
2
x 16
1
x 16
0
Node no. End codeHeader
code
Read data (1 word )
Read data
(for number of words read)
Terminator
@
FCS
WRx 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