153
Starting address low byte
08H
High byte of data
00H
Low byte of data
01H
CRC low byte
BEH
CRC high byte
C8H
End of message
3.5 bytes of transmission time
Function 0x05 host requests
Message start
3.5 bytes of transmission time
Slave address
01H
Modbus function code
05H
Starting address high byte
F0H
Starting address low byte
08H
High byte of data
00H
Low byte of data
01H
CRC low byte
BEH
CRC high byte
C8H
End of message
3.5 bytes of transmission time
Function 0x05 slave responds.
Fault code and exception code
If the slave successfully receives a request but cannot execute it, the slave will return an exception response
containing the fault code and the exception generation code, informing the host of the error message.
The fault code format is in two formats:
When FD - 06 = 0, the exception code is shown in the following table:
Slave code
Fault code
Exception code
CRC16
8000H
Low | high
The HV610 exception code is as follows:
①
1 = parameter cannot be modified because password protection is turned on.
②
2 = slave cannot recognize the requested function instruction. That is
(
not 3, 5, 6
)
③
3 = CRC check error.
④
4 = slave does not contain the requested word address.
⑤
5 = this parameter is invalid and out of range.
⑥
6 = parameter is read-only and cannot be modified.
⑦
7 = the system locks this parameter.
When FD - 06 = 1, the exception code is shown in the following table: