Online view of CASE OF in ST
Hi,
Using CASE OF in ST in Control builder M (function block).
When online, variables are updated in all CASE OF branches, even those where the code are not executed. This makes it hard to recognice which case is actually active.
Have anyone experienced this problem and found a solution? Is it possible to hide variables of code which are not executed during each scan?
(The problem is not unique to CASE OF, also includes IF for example)
Answers
Thats just how it is. There is no "solution".
Control Builder does not "understand" the code. It can only show you the values of memory locations - ie the variables in your program. It is only the PLC that understands which code is active and which is not. The PLC is executing compiled code and this is NOT the program that you see on the Control Builder display.
Add new comment