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

ModbusTCP master-slave Raspberry

burger
2019-02-23
2019-03-06
  • burger - 2019-02-23

    Hello!

    I have Raspberry PI3 as ModbusTCP Master and 4 devices wich are Modbus slave. I have managed to communicate with them, but somewhere this communication has stop working. If I test Modbus communication to these 4 devices it is working OK (tested with Modscan) but with Raspberry it is not working and I can not find the problem. I have tryed with only one device, but the problem is the same; Keep getting warning Bus is not running (it is running, because i tested it).

    Her is my test program from Dropbox

    https://www.dropbox.com/s/z5na72bn3433t ... S.rar?dl=0

    Best regards

     
  • Thomas - 2019-03-06

    Dear Mr. Burger,
    you will find the reason in the error codes.

    BR
    ThK

    IMG: ModbusErrorCode.png

     

Log in to post a comment.