VisualizationsΒΆ
The visualization can be used to display the function block outputs. If the input EN_VISU of a function block is TRUE, it is also possible to control the inputs from the visualization. In order to allow the control of function block inputs from the program as well as from the visualization, these inputs are declared as VAR_IN_OUT and consequently have to be provided with variables. These inputs must not be provided with direct constants.
Example visualization visuDC541_32BIT_CNT
Integrated visualization of function block DC541_32BIT_CNT
Offline mode
Online mode, EN_VISU = TRUE
If an error occurred during function block processing, the error number is displayed in the top right until EN = FALSE.
Online mode, EN_VISU = FALSE. The inputs cannot be modified using the visualization.
In the Visualizations tab, add an object.
Click on
.
Select the corresponding visualization for the function block.
- β
Right-click on the visualization and select Configure.
- β
Under Frame, we recommend to select Fixed to maintain the original width-to-height ratio and font size.
Link the visualization to the function block instance
Click the Placeholder button.
In column Replacement, enter the function block instance directly or press F2 to open the input assistant.
- β
Click OK to close all dialogs.
Adapt the visualization to the correct size.