Dialog Box ‘Prepare Value’

Function: This dialog box is used for preparing a value for a forced variable. CODESYS executes the prepared action with the next forcing.

CODESYS opens the dialog box in the following situations:

  • When clicking in the field Prepared value of a forced variable in the declaration section
  • When clicking in the inline monitoring field of a forced variable
  • When clicking in the field Prepared value of a forced variable in the monitoring window
Prepare a new value for the next write or force operation Value that 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 retains the forced value and ends forcing. CODESYS marks the variable <Unforce>.
Release the force and restore the variable to the value it had before forcing it CODESYS resets the forced value and ends forcing. The variable is marked with <Unforce and restore>.

See also