Hi,
May I use Modbus RTU communication in Ubuntu system? I follow the instruction “Connecting Devices Using Modbus Protocol”. But I cannot change port name in Communication Line Parameters page. I think I should find a way to change it because the serial port is binded in /dev/ttyUSB0 in Ubuntu system. Thanks for your help.
Hi all,
I found I can type /dev/ttyUSB0 as port name directly. And *.dat contains this info as well. After testing, it works well to communicate devices via Modbus RTU protocol.
Better yet, if you get the udev rules then you will be able to name your USB-RS485 e.g. /dev/mydev/COM1 and not to pay attention that reboots it may be ttyUSB1 instead of ttyUSB0