“寄存器数量和数据区的字节数不对应”这应该算数据不完整吧,按MODBUS-RTU协议,从机认为这是一种错误,发送83。原文是“If the slave device takes the requested action without error, it returns the same
code in its response. If an exception occurs, it returns:
1000 0011 (Hexadecimal 83)”,用modbus-slave软件调试一下就知道了