Vai al contenuto

Refresh of the Values

Let us consider the following example. Refresh of the Values-image_0The value of variables is refreshed every time the window manager is triggered, that is every time the processor executes the instruction marked by the green arrowhead. However, you can set controls in order to have variables refreshed only when triggers satisfy the more limiting conditions you define.Note that the value of the variables in column Symbol is read from memory just before the marked instruction (in this case: the instruction at line 5) and immediately after the previous instruction (the one at line 4) has been performed.Thus, in the above example the second ST statement has not been executed yet when the new value of a is read from memory and displayed in the trigger window. Thus the result of the second ST a is 1.