Modbus RTU Master change device_path
Posted: 11 May 2020, 12:24
Dear all,
I am playing around with the Modbus RTU Master on a RevPi Core 3+ to automatically read modbus signals through an FTDI USB adapter.
We sometimes have the problem, that the USB port of the modbus FTDI adapter is not ttyUSB0 but ttyUSB1. We have a script which can recognize this and yield the correct port.
Now is there a way to change the settings of the Modbus RTU Master from a python script? I cannot write to the config.rsc directly, only read it.
Best, Robert
I am playing around with the Modbus RTU Master on a RevPi Core 3+ to automatically read modbus signals through an FTDI USB adapter.
We sometimes have the problem, that the USB port of the modbus FTDI adapter is not ttyUSB0 but ttyUSB1. We have a script which can recognize this and yield the correct port.
Now is there a way to change the settings of the Modbus RTU Master from a python script? I cannot write to the config.rsc directly, only read it.
Best, Robert