Modbus RTU Master change device_path

Topics about the Hardware of Revolution Pi
Post Reply
RMeissnerCC
Posts: 58
Joined: 03 Dec 2019, 10:29

Modbus RTU Master change device_path

Post by RMeissnerCC »

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
RMeissnerCC
Posts: 58
Joined: 03 Dec 2019, 10:29

Re: Modbus RTU Master change device_path

Post by RMeissnerCC »

I apologize, this is the wrong page of the forum. I found this post "https://revolution.kunbus.de/forum/view ... =41&t=1667" and will continue my search there.
Post Reply