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

Working with UDP

s45er
2021-11-16
2021-11-20
  • s45er

    s45er - 2021-11-16

    I try to work with UDP packets in Codesys V2. Which is the best library to use for reading and writing UDP packets ?

     
  • i-campbell

    i-campbell - 2021-11-16

    Take a look at OSCAT Network. They have a codesys download for V2.3
    http://www.oscat.de/
    Their lib is open source, so you can either use their premade blocks, or look internally at their implementation.

     
    • s45er

      s45er - 2021-11-20

      Thank you, I took a look. But not exactly matching, since they propose to use two blocks of NET_VAR on both sides, of PLC. However I will use gateway with UDP packet forwarder connected to PLC. I believe I needed to specify from beginning what is needed.

       

Log in to post a comment.