373
Host Link Commands Section 6-3
6-3-13 DM AREA WRITE –– WD
Writes data to the DM area, starting from the specified word. Writing is done
word by word.
Command Format
Note 1. Beginning word: 0000 to 6143 in CQM1 PCs, 0000 to 1023 and 6144 to
6655 in CPM1/CPM1A PCs, and 0000 to 2047 and 6144 to 6655 in SRM1
PCs
2. Divide the command when writing more than 29 words of data.
Response Format An end code of 00 indicates normal completion.
Note DM 1024 to DM 6143 in CPM1/CPM1A PCs and DM 2048 to DM 6143 in
SRM1 PCs cannot be specified. If an attempt to write to any of these words is
made, the writing operation will not be executed for these words and the com-
mand will end normally
Parameters Write Data (Command)
Specify in order the contents of the number of words to be written to the DM
area in hexadecimal, starting with the specified beginning word.
Note 1. 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 ex-
ample, 6142 is specified as the beginning word for writing, and three words
of data are specified, then 6144 will become the last word for writing data,
and the command will not be executed because DM 6144 is beyond the
writable range.
2. Be careful about the configuration of the DM area, as it varies depending
on the CPU Unit model.
6-3-14 AR AREA WRITE –– WJ
Writes data to the AR area, starting from the specified word. Writing is done
word by word.
Command Format
Note Beginning word: 0000 to 0027 in CQM1 PCs, 0000 to 0015 in CPM1/CPM1A
and SRM1 PCs
@
FCS
WDx 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
@ WDx 10
1
x 10
0
x 16
1
x 16
0
↵
FCSNode no. Header
code
TerminatorEnd code
@
FCS
WJx 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
Write data
(for the number of words to write)
Write data (1 word)Beginning word*Node no. Header
code
Terminator