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

PIGEON RB100 Raspberry CM - Modbus_COM_Port not working

straccio80
2019-01-24
2019-02-07
  • straccio80 - 2019-01-24

    Hi,

    I'm trying to read analog inputs on a Modbus RTU device.

    The COM Port doesn't work.

    I added the SysCom in CODESYSControl_User.cfg.

    Any suggestion?

    Best Regards
    Thanks

    Straccio80

    IMG: Putty_Pigeon_1 (1).PNG

    IMG: CODESYS_RS485Error.PNG

     
  • Anonymous - 2019-01-25

    Originally created by: KevinR

    Hi Straccio80,

    did you try Com Port number 2 in codesys. Because Com port 1 is used for the rs232 console port.

    Gesendet von meinem LYA-L29 mit Tapatalk

     
  • straccio80 - 2019-01-25

    Hi KevinR,

    I Tried, it's the same.

    Thank you for replying.

    Best Regards

    Straccio80

     
  • straccio80 - 2019-02-07

    Hi,

    i fixed the problem.

    In CODESYSControl_User.cfg i setted

    [SysCom]
    Linux.Devicefile=/dev/ttyUSB

    instead of

    [SysCom]
    Linux.Devicefile=/dev/ttyRS485

    and it's working fine.

    Best regards

    Straccio80

     

Log in to post a comment.