Network variable stops sending

2026-04-20
7 days ago
  • Reinier Geers - 2026-04-20

    I use network variables. But when i change the programm, it wil stop sending.
    Then is have to add or delete a variable. Then i will be compiled again and sends again. This problem wasw already in 9.20 but seems to be still in 21.0 . Is there a way to solve this ?

     
  • alexgooi

    alexgooi - 2026-04-22

    Hi Reinier,

    What usually works for me is settings it up in the following way:
    In the sender block make sure that the list identifier is unique for the whole installation (this is only relevant when you have multiple senders in 1 network).
    When you are linking the NVL to a file make sure that the path to this file doesn't change. In my experience the NVL stops working when you change the working directory and afterwards open the NVL in de Codesys IDE.

    If this doesn’t apply to you application, you could also try to change the port number, maybe there is an other process making use of port 1202.

    Kind regards

    Alex

     
    πŸ‘
    1
    • Reinier Geers - 2026-04-28

      Thanks. but ive got unique identifiers. and i dont save to a file.

       
      • alexgooi

        alexgooi - 2026-04-29

        Are you making use of structs in the NVL?
        In the past I had similar behavior (NVL stops sending) when I added something in the struct. if you are making use of structs makes sure that the structs are identical in both projects.

        If this is not the case, have you tried changing the port number to something different than 1202?

         
  • ph0010421 - 2026-04-30

    I'm having right now trouble if the NVL is 'big' and I've needed to reduce the size. It sends for (about) 1 hour then stops.

     
    • Reinier Geers - 2026-05-06

      What version. 20.5 ? ive got also problems wiyth that version. Online change, it hangs itself after one hour. Then one project can problems. Ive change display with 21.0 . At home i turned on the 20.5 display. After 1 hour i goes to stop.

       
      • ph0010421 - 7 days ago

        SP21...yes, Online change definitely causes a problem aswell.

         

Log in to post a comment.