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-13DM 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 101x 100x 103x 102:
x 101x 100x 163x 162x 161x 160
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 101x 100x 161x 160:
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-14AR 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 101x 100x 103x 102:
x 101x 100x 163x 162x 161x 160
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 101x 100x 161x 160:
FCS
Node no. End codeHeader
code Terminator
Host Link Commands Section 11-3