The value of a variable can be changed while you are in Online mode when monitoring is active. Depending on whether the variable is Boolean or non-Boolean, the procedure of setting the new value varies.
Invert: The value of the Boolean variable is inverted. For example, if the variable has the value TRUE, it is set to the value FALSE.
TRUE: The Boolean variable is set to the value TRUE.
FALSE: The Boolean variable is set to the value FALSE.
ST editor, LD/FBD editor: Press <Ctrl>+<Alt> and click the variable name.
LD/FBD editor: Press <Ctrl>+<Alt> and double-click on the elements like contact, coil, input pin or output pin or press the space key twice while the mouse is over the element.
IL editor: Press <Ctrl>+<Alt> and double-click the variable name or press the space key twice while the mouse is over the variable name.