Command Force FB input
Available from TC3.1 Build 4026 |
This type of forcing uses a breakpoint internally and is therefore to be distinguished from forcing via the command Force values: Values that have been forced via the command Force FB input do not respond to the commands Watch all forces or Cancel forcing for all values. |
Function: The command opens a dialog Force value for forcing the selected input of a function block. Forcing can be canceled with the same command and dialog.
Call: CFC menu, context menu
Requirements: The CFC editor is in online mode and the input of the function block is selected.
In the dialog Force value you can either enter a value with which the input of the function block is to be forced, or remove the currently forced value again.
After forcing, the input appears with a green background. Boolean inputs also get a small monitoring window with the forced value. The forced value is displayed in the column Value of monitoring views, i.e. in the declaration part of the program block or in a watch list.
Force value dialog
Expression | Name of the function block input |
Type | Input data type |
What do you want to do?
Set a new value to force | You can enter the desired new value in the input field. The format must correspond to the data type. |
Remove value | Forcing at the input is canceled. |
See also:
- PLC documentation: Continuous Function Chart (CFC)
- PLC documentation: CFC Editor