I would like to poll mutiple Modbus Slave Units. There is a property to read the slaveID/unitID but there is no method to change the slaveID once the client instance is created (new Modbus.client.TCP(socket, X)). It will be very nice to have this feature. In my case, the slaves to be polled will vary depending on a csv file.
changing slave or unit Ids should not be possible. When communication starts the slave ID should remain the same. If you want to poll multiple server create a client instance for every id.
I would like to poll mutiple Modbus Slave Units. There is a property to read the slaveID/unitID but there is no method to change the slaveID once the client instance is created (new Modbus.client.TCP(socket, X)). It will be very nice to have this feature. In my case, the slaves to be polled will vary depending on a csv file.
Thanks in advance for your support and help.
Santi.