Command Watch all forces
Symbol:
Function: The command opens the Watch all forces view, which is a special form of a watch list.
Call: PLC > Window menu
Requirement: A PLC project is open in offline or online mode.
The view contains all variables of the PLC project currently prepared for forcing and all forced variables of the PLC project in a list. In the list you can perform the actions that are also possible in other Watch Lists.
Show all Forces
Tabular display of all variables of the application that have been forced or prepared for forcing
Expression | Variable name |
Data type | Data type of the variable |
Value | Current forced value of the variable |
Prepared value | Value prepared for forcing |
Overwritten value at the beginning of the cycle | For inputs, the actual value is already overwritten by the force value before the user code is executed. Thus, this is the actual value. For outputs, this is the forced value. |
Overwritten value at the end of the cycle | For outputs, this is the value calculated in the cycle. However, this value is overwritten by the force value at the end of the cycle. For inputs, this is the forced value. |
In addition, the Unforce selection menu contains the following commands:
- Unforce and keep all selected values: For all selected entries in the list, the variables are set to the forced value and forcing is canceled.
- Unforce and restore all selected values: For all selected entries in the list, the variables are reset to the value they had before forcing, and forcing is canceled.
See also:
- PLC documentation: Forcing and writing variables
- PLC documentation: Using Watch Lists