Bargraph

This function block realizes a horizontal or vertical display of a bargraph for numeric standard data types.

The end position of the depicted bar represents the input value In in relation to the given minimum and maximum value.

Parameters

The parameter dialog can be used to change several preferences.

The data type and the size of the function block can be defined. The colors of the bargraph (bar, overflow, background, frame, and scale) can be selected. The direction of the bar can be selected. The user can decide if the actual value and the scale will be displayed or not. If the scale is displayed, the number of major (with label) and minor tics can be defined. The minimum and maximum value can be given. Finally the font size and the general display mode can be determined.

Signals

Name I/O Type(s) Function
In I BIT, BYTE, FLOAT, LONG, WORD Display value

Comment

By attaching a signal to the input, the function block will adapt itself by changing the data type and selecting typical preferences.

This function block has no corresponding target code. During online observation the values are read and represented cyclically.