Using Modbus RTU in Ubuntu System

Forum Home Forums Communicating with Devices Modbus Using Modbus RTU in Ubuntu System

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3659
    wilson
    Participant

    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.

    Regrads,
    Wilson

    #3660
    wilson
    Participant

    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.

    Regards,
    Wilson

    #3663
    manjey73
    Participant

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.