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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
...Yes
more posts ...
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?
Last edit: kislov 2020-07-21
hahaha yes! I also ran into this back when I first evaluated CoDeSys, and it was a wonderful experience: https://forge.codesys.com/forge/talk/Engineering/thread/1db843fe1a/#00f9.
This issue is almost mandatory! :-P