Tank level
TwTankLevel · Category: Svg
Settings
These settings are in the properties panel on the right while the widget is selected, mostly in the Tank Level Settings section. The default value is the value the widget has when it is first added to a page.
Process
| Setting | Type | Default | Description |
|---|---|---|---|
Process ValueprocessValue | Number | 45 | Main value of the widget, usually bound to a Tag or an expression in Bindings. |
Show ValueshowValue | Checkbox | On | Shows the current process value on the tank. |
Decimalsdecimals | Number | 0 | Number of decimal places of the displayed value. |
Limits
| Setting | Type | Default | Description |
|---|---|---|---|
Min ValueminValue | Number | 0 | Lower limit of the displayed value range. |
High HighhighHigh | Number | 90 | Position of the HH line in process value units (default 90). It is only drawn and does not change colors. |
Lowlow | Number | 25 | Position of the L line in process value units (default 25). It is only drawn and does not change colors. |
Max ValuemaxValue | Number | 100 | Upper limit of the displayed value range. |
Highhigh | Number | 75 | Position of the H line in process value units (default 75). It is only drawn and does not change colors. |
Low LowlowLow | Number | 10 | Position of the LL line in process value units (default 10). It is only drawn and does not change colors. |
Appearance
| Setting | Type | Default | Description |
|---|---|---|---|
Shapeshape | Selection | rect | Tank outline: rectangle or cylinder. Options: rect Rectangle, cylinder Cylinder |
Show ThresholdsshowThresholds | Checkbox | On | Draws the HH, H, L and LL limits as dashed lines. |
Animation
| Setting | Type | Default | Description |
|---|---|---|---|
Wave EnabledwaveEnabled | Checkbox | On | Animates waves on the liquid surface. |
Wave AmplitudewaveAmplitude | Number | 3 | Wave height in drawing units (from 0.5, default 3); it is limited automatically at low levels. |
Wave SpeedwaveSpeed | Number | 5 | Duration of one wave cycle in seconds, 1.5–20 (default 5); larger values are slower. |
Colors
| Setting | Type | Default | Description |
|---|---|---|---|
Liquid ColorliquidColor | Color | #38bdf8 | Main color of the liquid. |
Tank ColortankColor | Color | #e5e7eb | Fill color of the empty tank body. |
Text ColortextColor | Color | #0f172a | Color of the value text. |
Alarm High ColoralarmHighColor | Color | #ef4444 | Color of the HH and H lines. |
Liquid Highlight ColorliquidHighlightColor | Color | #7dd3fc | Lighter color of the liquid surface and waves. |
Tank Stroke ColortankStrokeColor | Color | #475569 | Color of the tank outline. |
Alarm Low ColoralarmLowColor | Color | #f59e0b | Color of the L and LL lines. |
Other settings
| Setting | Type | Default | Description |
|---|---|---|---|
Enable FlashingenableFlashing | Checkbox | Off | Makes the widget blink (an opacity pulse every second). Usually bound to an alarm condition. |
Log ButtonlogButton | Checkbox | Off | At runtime shows a chart icon when hovering the widget; clicking it adds the Tags bound to the widget to the log Tag list. |
Bindings
In the Bindings (Rules) section of the properties panel, a Tag can be bound to the following properties of this widget with a Direct binding. The binding types (Direct, IntRange, FloatRange, Boolean, Bit) are the same for all widgets; they are described on the Widget Reference page.
title, visible, authorization, x, y, width, height, rotation, class, foregroundColor, backgroundColor, borderColor, borderStyle, borderWidth, borderRadius, borderTopLeftRadius, borderTopRightRadius, enableFlashing, logButton, to.type, processValue, minValue, maxValue, shape, showThresholds, showValue, waveEnabled, waveAmplitude, waveSpeed, decimals, highHigh, high, low, lowLow, liquidColor, liquidHighlightColor, tankColor, tankStrokeColor, textColor, alarmHighColor, alarmLowColor
Common sections
While this widget is selected, the properties panel also shows these common sections: General, Layout, Appearance, Navigation (To), Bindings (Rules). These sections are described on the Page Editor page.