Slider (horizontal or vertical)¶
This section contains sliders that can be used to change numerical values in operands.
You can choose between horizontal and vertical versions for the layout.
In the section "Main settings -> Appearance ->Display and scale" you will find the following basic properties:
| Property | Description |
|Actual value|Here you have to specify the operand whose value is to be changed. You can use all operands, including bit, byte, word, and double word operands.
|Maximum value of the display|The highest adjustable value.|
|Minimum value of the display|The smallest adjustable value.|
|Physical value of the scale|The physical value between the scale divisions. This value should be increased if there are too many scale divisions or if they are too densely arranged.|
|Physical value of the labeled scale|The physical value between the labeled scale divisions. This value should be increased if too many scale divisions are labeled or if the labels overlap.|
A slider is to change the value of the operand IM.MW2. Possible values are in the range from 0 to 2000. The
scale divisions should appear every 250 units. The slider should be labeled every 500 units.
So you have to make the following setting:
Coloring scale areas:
The slider scale can be divided into max. 4 color ranges. This makes it possible, for example, to indicate in which value ranges a value is too low, normal, or too high.
We want to add two colored scale areas to the slider from the previous example.
Color range 1: value is too low, values range from 0 to 500, color: blue
Color range 2: value is within normal range, values range from 500 to 2000, color: green
For this example, the settings should be made as follows:
Digital gauge with pushwheel switch¶
With the digital gauge with pushwheel switch, operands can be written with numbers as BCD, HEX or decimal.
Byte, word, or double word operands with the data formats byte, UInt16, and UInt32 are recommended as operands.
In simulation mode (RUN), each digit's value can be changed separately. Click on the upper or lower area of a digit with the mouse to increase or decrease its value. If the highest value of a digit is reached and another increase is triggered, the digit is set to the lowest value (e.g. from 9 to 0 for decimals). If the digit has the lowest value and is decreased again, then the highest value is set (e.g. from 0 to 9 for decimals).
In the section "Main settings -> Operands", you can also specify the operands for switching the fill color and for a flashing display.
The following properties can be found in the section "Main settings->Appearance":
| Property | Description |
|Segment type| Here you can influence the appearance of the digital gauge with pushwheel switch. Depending on the selection, the digits are displayed in different ways. For example, they can be displayed as a 7-segment display, as a matrix with 5/7 points or as a matrix with 5/7 rectangles.|
|Number format used|This property can be used to select the format in which the content of the digital gauge with pushwheel switch is to be written in the operands. You can choose between the formats BCD, HEX or decimal|
|Number of digits|You can set the number of digits to be displayed here. The digits are written right-aligned in the operands.|
|Height of the digits|Here you can set the height of the digits in pixels. The width is then calculated automatically.|
Here is an example of a BCD digital gauge with pushwheel switch with digital displays in BCD and decimal format.
You can see that you can change the value of each digit of the actuator with the mouse.