



NOTICE

This kind of forcing uses a data breakpoint internally and is therefore different from forcing with the “Force Values” command or [F7].
Values that were forced by the command “Force FB Input” do not respond to the commands “Show All Forces” or “Unforce Values”.
Function: The command opens the “Force Value” dialog to force the selected input of a function block. Forcing can be canceled with the same command and dialog.
Call:
-
CFC
-
Context menu
Requirements:
-
The CFC editor is in online mode and the input of the function block is selected.
-
For compiler versions 3.5.11.x and 3.5.12.x, the "forceability" of the function block is enabled by the “Prepare Box for Forcing” command.
In the “Force Value” dialog, you can either specify a value that the input of the function block should be forced, or remove the currently forced value.
After forcing, the input is highlighted in green again. Boolean inputs get a small monitoring view with the forced value. The forced value is displayed in the “Value” column of monitoring views (in the declaration part of the POU or in a watch list).
Dialog 'Force Value'
“Expression” |
Name of the function block input. Example: |
“Type” |
Data type of the input |
“Set a new value to force” |
|
“Remove value” |
|
See also
-
linktarget doesn't exist but @y.link.required='true'