Visualization

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 therefore have to be provided with variables accordingly. These inputs must not be provided with direct constants.

Proceed as follows to integrate the visualization into a project:

  • Create a new visualization using Visualizations / Insert Object (e.g. visuTestCntIO).
  • Insert a visualization using 5a809b6be389c22c0a33139000473a6a_c4e9119be389ba310a33139000eba54e
  • In the appearing dialog, select the corresponding visualization for the Function Block:
../_images/582a2e55e389bf8d0a33139000eba54e
  • Then, the visualization integrated just now has to be configured. Highlight the visualization with a left mouse click. Then click the right mouse button and select the function “Configure…” from the context menu.
  • The configuration of the visualization is done in the appearing dialog. It is recommended to set the frame to “Fixed”. This way, the original width-to-height ratio and font size are kept.
../_images/fa1f494ce389bee20a33139000eba54e
  • Now the visualization has to be linked to the Function Block instance. This is done in a dialog, opened after clicking the button “Placeholder”.
  • In the “Replacement” column of this dialog, the Function Block instance can either be entered directly or selected by pressing <F2>.
../_images/d11ee016e389bf300a33139000eba54e
  • By clicking <OK> the dialogs are closed. After this, the inserted visualization has to be adapted to the correct size.
../_images/76bf0da5e389bcc00a33139000eba54e

Offline mode.

../_images/67d8c5d3e389bcfe0a33139000eba54e

Online mode, example for operating mode 1.

If an error occurred during function block processing, the error number is displayed in the top right until EN becomes FALSE.

If input EN_VISU = FALSE, the inputs cannot be modified using the visualization. The corresponding control elements are then displayed in gray:

../_images/d1abab51e389bd4c0a33139000eba54e