24
Write Single Register Normal Response Message
Table 2.6 Write Register Normal Response Message
Description Data
Slave Address 01h
Function Code 06h
Upper 00h
Register Address
Lower 01h
Upper 00h
Data
Lower 03h
Upper 98h
CRC-16
Lower 0Bh
The normal response message contains the same slave address, function code, register address and data as the command message, indicating to
the master which slave is responding and to what type of function it is responding.
In the response message above the register address is 01h (0001h).
Write Single Register Fault Response Message
Table 2.7 Write Register Fault Response Message
Description Data
Slave Address 01h
Function Code 86h
Error Code 21h
Upper 82h
CRC-16
Lower 78h
The fault response message contains the same slave address as the command message, indicating to the master which slave is responding.
The function code of a fault response message is the logical OR of 80h and the original function code of 06h. This indicates to the master that
the message is a fault response message, instead of a normal response message.
The error code indicates where the error occurred in the command message. The value of 21h in the error code field of this fault response
message indicates that the command message data to be written was invalid for that register. Refer to the section Error Codes, Table 2-14, for
more information on returned error codes.