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

Show of hands: who as accidentally forgot about Always Update Variables

i-campbell
2020-07-20
2020-07-22
  • i-campbell

    i-campbell - 2020-07-20

    So I remember my first time building my own CODESYS application. It wasn't my first CODESYS programming experience, but it easily could have been. Before writing any code, I started by making sure the communication to the IO worked. Of course, without "Always Update Variables" = "Enabled 1" or "Enabled 2", I was frustrated for some time that the inputs remained on zero, and the outputs weren't sent to the device. I have never missed that setting since.

    Question one: Would I be correct in assuming, many of you have had similar experiences?

    Obviously "Always Update Variables" = Disabled is the best for performance, and there is no reason to change this as the default.

     
    πŸ‘
    4
    • Morberis

      Morberis - 2020-07-20

      ...Yes

       
  • kislov - 2020-07-21

    This is one of the most popular questions that come in our (PLC vendor company) support.
    I think, it's totally unclear for beginners.

    "Obviously "Always Update Variables" = Disabled is the best for performance" - it's not obviously, in CODESYS help it's not describe explicitly.

    Also this setting do not attract attention, I think here should be BIG FONTSIZE WITH CAPS (it's kind of joke, but tooltip with notice will be helpful) and "right keywords" in setting name like:
    "Do you want to see real data or grey inactive fields?"
    - yes, I want to see real data
    - no, grey inactive fields enough for me

    "and there is no reason to change this as the default." - so maybe add possibility to define it from target devdesc?.. (I mean about "global" setting in Device/Plc Settings) Or it's possible right now?

     
    πŸ‘
    1

    Last edit: kislov 2020-07-21
  • aliazzz

    aliazzz - 2020-07-22

    This issue is almost mandatory! :-P

     

Log in to post a comment.