You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to get more than 123 registers using readInputRegisters() on a TcpRTUBuffered port the package do not receive valid response. On wireshark i can see this valid modus response. Also a modbus poll tool for this request is working fine.
Here is a short js code to reproduce (you need to change 'x.x.x.x' to a slave which returns a valid result to reading input registers 1 to 126) :
const ModbusRTU = require('modbus-serial')
const testClient = new ModbusRTU();
If I try to get more than 123 registers using readInputRegisters() on a TcpRTUBuffered port the package do not receive valid response. On wireshark i can see this valid modus response. Also a modbus poll tool for this request is working fine.
Here is a short js code to reproduce (you need to change 'x.x.x.x' to a slave which returns a valid result to reading input registers 1 to 126) :
const ModbusRTU = require('modbus-serial')
const testClient = new ModbusRTU();
The text was updated successfully, but these errors were encountered: