node-modbus-serial
node-modbus-serial copied to clipboard
some question
hello, im using this library to connect with a device via modbus protocol, i would like to know if there is a way to continue to try to connect if the first attempt fail, and if there a method to reconnect when at the certain time there connection is missing
hi, thank you for the issue,
this example show a logger that handles some connection issues: https://github.com/yaacov/node-modbus-serial/blob/master/examples/logger_complete.js
you can look how this example handles connection issues and try to add some logic based on that example.