node-modbus
node-modbus copied to clipboard
Change timeout
Is it possible to change the timeout when reading the registers? How to do it?
When you create a ModbusTCPClient you can specify the timeout
https://github.com/Cloud-Automation/node-modbus/blob/af7ddd3e47173233078ce8da65dfe9a020575eb3/src/modbus-tcp-client.ts#L41