Skip to main content

Forcing and writing variables

In online mode in the declaration editor, you can prepare a value for forcing or writing a monitored variable.

When you select the Prepare values in implementation part check box in the CFC Editor category of the CODESYS options, you can also prepare values in the implementation part.

To do this, open the Prepare Value dialog by double-clicking an element or the monitoring box next to an element. No dialog appears for Boolean variables. However, with each mouse click on the value displayed next to the variable, the values TRUE and FALSE are toggled.

Prepared values are displayed in angle brackets. After executing a write or a force, a red "F" is shown in the monitoring box.