The
command is available in online mode in the contextual menu of an application or in the contextual menu of a POU editor of the application. It sets the values of variables of the active application to predefined values on the controller at the beginning and end of a processing cycle.WARNING | |
---|---|
Step |
Action |
---|---|
1 |
Read inputs |
2 |
Force values |
3 |
Execute code |
4 |
Force values |
5 |
Write outputs |
You can prepare values for forcing as follows:
Click the
field in the declaration part and enter the value. For Boolean variables, toggle the value by clicking the field.Click the inline monitoring field of the variable in the implementation part of the FBD/LD/IL editor.
Click the
field in the monitoring view, and enter the value.
A forced value is indicated by the symbol.
A value is forced until forcing is released by performing one of the following tasks:
Executing the command
.Executing the command
from the contextual menu of the application.Releasing the force in the dialog box.
Logging out of the application.