7-12
Chapter 7. CPL COMMUNICATION FUNCTION
Fixed length random data write command (WU command)
This command writes data to random addresses in two-byte units. Data is expressed
in four hexadecimal digits.
Send message
Data is sent for the specified number of write data with the data address (four
hexadecimal digits) of the data to be written and the data (four hexadecimal digits)
as a pair.
0 0
W
(1)
U
(3) (5) (6)(2) (4)
(1) Fixed length random data write command
(2) Sub-command: xed to "00".
(3) Data address 1
(4) Write data 1
(5) Data address n
(6) Write data n
Response message
If writing is successful, the normal termination code (two decimal digits) is
returned. If only part of the data is written, and the remaining data is not written,
the warning termination code (two decimal digits) is returned. If none of the data
is written, the abnormal termination code (two decimal digits) is returned.
7 - 6 List of Termination Codes (p.7-15).
• Normal termination
0
(1)
0
• Abnormal termination or warning
X
(1)
X
The abnormal termination code is entered at XX.
For details of codes,
(1) Termination code
Maximum number of write data per message
Up to 14 words for both RAM and EEPROM areas