119
C-mode Command Details Section 4-3
4-3-15 AR AREA WRITE – – WJ
Writes data to the Auxiliary Area (A448 to A959) starting from the specified
word. Writing is done in word units.
Command Format
Response Format
Execution Conditions
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 is not in the first frame.
An end code of 15 (entry number data error) will be returned if the specified
write data exceeds the data area boundary, the beginning word is not speci-
fied in BCD, or the write data is not hexadecimal. (An end code of A5 will be
returned instead of 15 for non-hexadecimal write data in multiple command
frames.)
@
FCS
WJ
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 number of words to write
Write data (1 word)Beginning word
(0448 to 0959)
Unit No. (BCD)
Header
code
Terminator
@
FCS
WJ
x 10
1
x 10
0
x 16
1
x 16
0
* ↵
Unit No. (BCD)
End codeHeader
code
Terminator
Commands Responses PLC Mode UM Area
Single Multiple Single Multiple RUN MON PROG Write-protected Read-protected
OK OK OK No No OK OK OK OK
End code (Hex) 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
21 Not executable due to CPU Unit CPU 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