|
<< Click to Display Table of Contents >> Manual > Library Reference > Parts Library > Basic Parts > Analog Meter 2 |
Analog Meter 2
|
Analog Meter 2 is a component that displays the value received from the tag with a meter needle. In addition to the meter needle display, it also has a numerical display. |
Specify the tag to be displayed in the input tag (_TagIn). You can specify any numeric format, such as the number of decimal places, whether to display delimiters, etc.
You can also display zones on the meter for any range you like. For example, you can display safe and dangerous ranges of measurement values as strips.
In addition to the input tag, by specifying a tag for fault identification in the fault identification tag (_TagFault), it is also possible to display a fault based on signals such as equipment abnormalities received from downstream.
Custom Properties
Tag configuration |
Input Tags |
_TagIn |
Specify the tag path of the input tag. |
Fault Identification Tag |
_TagFault |
Specifies the tag path of the fault identification tag. |
|
Display settings |
Number Format |
_Format |
Specifies the number format. |
Decimal point position |
_DecimalPlace |
Specify the number of decimal points as an integer. |
|
caption |
_Caption |
Specify a caption. |
|
unit |
_Unit |
Specify the units. |
|
Minimum |
_Min |
Specifies the minimum value, which is used as the meter's display width. |
|
Maximum |
_Max |
Specifies the maximum value, which is used as the meter's display width. |
|
Caption Color |
_CaptionColor |
Specifies the color of the caption. |
|
Unit Color |
_UnitColor |
Specifies the color of the units. |
|
Value Text Color |
_ValueTextColor |
Specifies the color of the value text. |
|
Value Background Color |
_ValueFillColor |
Specifies the background color of the value. |
|
Meter Display |
Needle Color |
_NeedleColor |
Specifies the color of the meter needle. |
Panel Color 1 |
_PanelColor |
Specifies the meter panel color. |
|
Panel Color 2 |
_FrameColor |
Specifies the meter panel color (outer frame). |
|
Background Panel |
_ShowBackPanel |
Specifies whether to show or hide the background panel. |
|
Background Panel Color |
_BackPanelColor |
Specifies the color of the background panel. |
|
Gauge Color |
_GaugeLineColor |
Specifies the gauge line color. |
|
Text Color |
_GaugeTextColor |
Specifies the gauge (scale) text color. |
|
Corner radius |
_BackPanelRound |
Specifies the radius of the corners of the background panel. Specify the diameter of the circle in pixels. |
|
Zone Display |
Zone Display |
_ShowZoneLine |
Specifies whether to show or hide the zone display. |
Display Color |
_ZoneLineColor |
Specifies the display color of the zone. |
|
Minimum |
_ZoneLineMin |
Specifies the minimum value (start position) of the zone display. |
|
Maximum |
_ZoneLineMax |
Specifies the maximum value (end position) of the zone display. |
|
Display Width |
_ZoneLineWidth |
Specifies the display width of the zone band in pixels. |
|
others |
Display value |
_Value |
You can directly assign a display value to this property from a script. |
Usage Example
1) Input tag specified/No fault identification tag
Displays the value of the tag specified in the input tag.
|
The number is displayed according to the number format and decimal places defined in the custom properties. |
If the quality flag of the input tag is BAD, a fault is displayed.
|
The part will be framed in yellow and will flash. |
|
There are various number formats available (e.g. "@de" for Germany, "@ja" for Japan, etc.). The number format can also be customized. For example, you can freely specify the string to be displayed in a fault state (e.g. ***). For details about number formats, see Number Formats. |
2) Input tag specified/Fault identification tag
If you specify a fault identification tag, you can receive the fault status of the device via the tag. For example, if you can receive a fault status (such as a sensor abnormality) from the downstream side as a signal separate from the device's measurement value, you can specify the tag path of that signal as the fault identification tag to display the fault along with the state of the quality flag of the input tag.
|
When the fault identification tag is False, the value received in the input tag is displayed normally.
|
|
A fault is displayed when the fault identification tag is true or when the quality flag of the input tag is bad. |
3) Assigning values via script
You can display any numeric value entered from the script without specifying an input tag.
If you want to assign a value directly from a script, do so to the "_Value" property.
|
If you assign a value directly from a script, you cannot use a fault identification tag. For more information about scripts, see "Scripts". |
4) Change the number format
You can change the number format to display numbers in various formats.
|
In this example, the number format is specified as "@de" (Germany). The same format is reflected in both the numeric display and the gauge display.
*In German format, the decimal point is displayed as a comma instead of a period. |