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

Monitor active Codesys connection

2021-12-02
2021-12-09
  • johnhastech

    johnhastech - 2021-12-02

    Hi All,

    I need to monitor an active connection between Codesys(PC) and a PLC. I have tried monitoring active visu clients, but unfortunately this doesn't work. I think this is most likely because the PLC is an embedded system and most importantly doesn't have a display for Visu.

    Monitoring active visu clients on a display works no problem.

    Is there an easy and light weight way of monitoring an active connection between Codesys (PC) and PLC via code? I was really hoping there might be a system variable showing connection state - is there any such variable?

    I have considered whether I can monitor port 1217 just to identify whether packets are being exchanged, but I'm not sure this would be possible?

    Any ideas would be greatly appeciated!

    Best regards,
    John

     
    • johnhastech

      johnhastech - 2021-12-09

      Any help on this would be greatly appreciated! :D

       

Log in to post a comment.