Home > Back-end >  Have used jlibmodbus plugin? TCP communication module, and bosses
Have used jlibmodbus plugin? TCP communication module, and bosses

Time:09-22

Using jlibmodbus plugin for TCP communication module, but encountered a problem:
Using writeSingleRegister method, digital output a symbols, a negative, for example - 10, the abnormal information:
Com. Intelligt. Modbus. Jlibmodbus. Exception. ModbusNumberException: Register value out of range: 10
-This is why ah! For years, to help

CodePudding user response:

https://www.modbustools.com/modbus.html#function06

Did you put the address is set to a negative number
  • Related