413
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, 510 is
specified as the beginning word for writing, and three words of data are speci-
fied, then 512 will become the last word for writing data, and the command will
not be executed because TC 512 is beyond area boundary.
11-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
@ WD
FCS
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 9999)
Write data (1 word)
Write data
(for number of words to write)
Terminator
Note DM 6656 to DM 6999 do not exist. An error will not, however, result if you try to
write to these words.
Response Format
@ WD
x 10
1
x 10
0
x 16
1
x 16
0
: ↵
FCSNode no. Header
code
TerminatorEnd code
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 exam-
ple, 9998 is specified as the beginning word for writing, and three words of
data are specified, then 10000 will become the last word for writing data, and
the command will not be executed because DM 10000 is beyond the write-
able range.
2. Be careful about the configuration of the DM area, as it varies depending on
the CPU model.
11-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
@ WJ
FCS
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
Write data
(for the number of words to write)
Write data (1 word)Beginning word
(0000 to 0027)
Node no. Header
code
Terminator
Response Format
@ WJ
x 10
1
x 10
0
x 16
1
x 16
0
: ↵
FCS
Node no. End codeHeader
code
Terminator
Host Link Commands
Section 11-3