Skip to main content

Dialog: Prepare Value

Function: The dialog is used to prepare a value for a forced variable. CODESYS executes the prepared action with the next force.

. CODESYS opens the dialog in the following situations:
  • When you click in the Prepared Value field of a forced variable in the declaration part

  • When you click in the inline monitoring field of a forced variable

  • When you click in the Prepared Value field of a forced variable in the monitoring view

Prepare a new value for the next write or force operation

Value which CODESYS writes to the variable with the next force operation

Remove a preparation with a value

CODESYS deletes the prepared value.

Release the force, without modifying the value

CODESYS keeps the forced value and ends the force. CODESYS marks the variable with <Unforce>.

Release the force and restore the variable to the value it had before forcing it

CODESYS resets the forced value and ends the force. The variable is marked with <Unforce and restore>.

For more information, see: Force Values