Force all values from <Device.Application>
The Force all values from <Device.Application> 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.
|
UNINTENDED EQUIPMENT OPERATION |
oYou must have a thorough understanding of how forcing will affect the outputs relative to the tasks being executed. oDo not attempt to force I/O that is contained in tasks that you are not certain will be executed in a timely manner, unless your intent is for the forcing to take affect at the next execution of the task whenever that may be. oIf you force an output and there is no apparent affect on the physical output, do not exit the online mode without removing the forcing. oIf the online mode was interrupted while forcing was active, re-establish the connection with the controller and remove the forcing. |
Failure to follow these instructions can result in death, serious injury, or equipment damage. |
Sequence of Commands in a Cycle
Step |
Action |
---|---|
1 |
Read inputs |
2 |
Force values |
3 |
Execute code |
4 |
Force values |
5 |
Write outputs |
NOTE: The command Force all values from <Device.Application>, is not by default inserted in any menu (if needed, see the Customize dialog box).
You can prepare values for forcing as follows:
oClick the Prepared value field in the declaration part and enter the value. For Boolean variables, toggle the value by clicking the field.
oClick the inline monitoring field of the variable in the implementation part of the FBD/LD/IL editor.
oClick the Prepared value 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:
oExecuting the command Debug > Unforce values.
oExecuting the command Unforce all values from <Device.Application> from the contextual menu of the application.
oReleasing the force in the Prepare Value dialog box.
oLogging out of the application.