Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Modbus RTU Master does not work: bus error

2018-03-05
2018-03-05
  • Florian.Kraemer - 2018-03-05

    I have a raspberry pi with codesys Runtime runnig. If I a modbus RTU master I get the error "no driver" and I don't have any idea how to fix it. My College did the same thing and It worked directly.

    IMG: CodesysUndModbus.png

     
  • eschwellinger

    eschwellinger - 2018-03-05

    Hi,
    I would recommend to read here:
    l viewtopic.php?t=5699&start=45#p12981 l
    you need to add according to your serial Interface this settig into CODESYSControl_User.cfg

    pi@raspberrypi:~ $ sudo nano /etc/CODESYSControl_User.cfg

    [SysCom]Linux.Devicefile=/dev/ttyUSB

    for example if you have connected a USB Serial device...

    If it is the local UART on GPIO's then it should be (& use sudo raspi-config to enable it)

    [SysCom]Linux.Devicefile=/dev/ttyS

    BR
    Edwin

     

Log in to post a comment.