Using Modbus RTU in Ubuntu System

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

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by Avatar manjey73 1 year, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3659
    Avatar
    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
    Avatar
    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
    Avatar
    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.