Communication with Modbus
A43/A44 104 2CMC48001M0201
User Manual Revision: C
Response frame
Example of
a response
A response frame has the following structure:
The following is an example of a response:
Register address, high byte
Register address, low byte
No. of registers, high byte
No. of registers, low byte
Error check (CRC), high byte
Error check (CRC), low byte
In the example above the slave with the Modbus address 1 responds to a write
request. The first register is 0x8A00 and 0x03 registers have been successfully
written to.
9.2.3 Function Code 6 (Write single register)
General
Request frame
Example of
a request
Function code 6 can be used as an alternative to function code 16 if there is
only one register to be written. It can, for example be used to reset the power
fail counter.
A request frame has the following structure:
Slave Address Function Code Register Address Register Value Error Check
The following is an example of a request (reset power fail counter):
Register address, high byte
Register address, low byte
No. of registers, high byte
No. of registers, low byte