470
End Codes An end code of 14 (format error) will be returned if the length of the command is
incorrect or the first word of write data isnt in the first frame.
An end code of 15 (entry number data error) will be returned if the digits of write
data arent 0 or 1, the specified write data exceeds the data area boundary, the
beginning word isnt specified in BCD, or the write data isnt hexadecimal. (An
end code of A5 will be returned instead of 15 for non-hexadecimal write data in
multiple command frames.)
End code Contents
00 Normal completion
01 Not executable in RUN mode
13 FCS error
14 Format error
15 Entry number data error
18 Frame length error
A3 Aborted due to FCS error in transmit data
A4 Aborted due to format error in transmit data
A5 Aborted due to entry number data error in transmit data
A8 Aborted due to frame length error in transmit data
10-3-14 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 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
Response Format
@WD
x 101x 100x 161x 160
FCSNode no. Header
code TerminatorEnd code
Limitations Except for the first word of the write data, the write data can be divided into multi-
ple frames.
DM 6656 to DM 6999 do not exist, but an error wont occur if the command at-
tempts to write to these words. Likewise, an error wont occur if the command
attempts to write to extension DM words (DM 7000 to DM 9999) which havent
been allocated in the UM area.
PC Settings
PC Mode UM Area
RUN MONITOR PROGRAM Write-protected Read-protected
--- OK OK --- OK
Execution Conditions
Commands Responses
Single Multiple Single Multiple
OK OK OK ---
Host Link Commands Section 10-3