|
<< Click to Display Table of Contents >> Manual > Library Reference > Parts Library > Basic Parts > Analog meter 1 |
Analog meter 1
|
Analog meter 1 is a component that displays the value received from the tag with a meter needle. |
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.
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. |
|
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. |
|
Needle Color |
_NeedleColor |
Specifies the color of the meter needle. |
|
Panel Color |
_PanelColor |
Specifies the meter panel color. |
|
Unit Color |
_UnitColor |
Specifies the color of the units. |
|
Gauge Color |
_GaugeLineColor |
Specifies the gauge line color. |
|
Text Color |
_GaugeTextColor |
Specifies the gauge (scale) text color. |
|
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. |
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. |