Displaying Variable Values in Meter Graphs

You can display variable values in meter graphs.

To create a meter graph, use an [Arch] object and the [End Angle] property. Also, use the scale converter to align variable values with values displayed in the graph.

Example Operation

Setting Workflow

Add Variables

Set up Converter

Set up Parts/Shapes

Add Variables

Project Explorer : [Variables] ➞ [All Variables]

Add the below variable(s).

Variables property:

[Name] [Data Type]

Var1

[USINT]

Set Up Converter

Project Explorer : [Converters] ➞ [User-Defined Converters]

Add the below converter(s).

[Name] [Type]

Converter1

[Scale]

Converter1 property:

Tab Property Value

[Basic]

[Maximum (Source)] 255
[Maximum (Output)] 405
[Minimum (Source)] 0

[Minimum (Output)]

135

Set Up Parts/Shapes

Project Explorer : [Screen Design] ➞ [Screens] ➞ [Screen1]

Drag and drop the following objects from the [Tool Chest] to the screen.

Circle Scale (Name: CircleScale1) properties:

Tab Sub Tab Property Value

[Shape]

[Text]

[Scale Label]
[Label Attribute] [Minimum] 0
[Maximum] 255
[Basic] [Start Angle] 135
[End Angle] 405

Arch (Name: Arch1) properties:

Tab Sub Tab Property Value

[Shape]

[Basic]

[End Angle]

[Variable]
[Name]: Var1
[Converter]: [User-Defined Converters] ➞ [Converter1]

[Border]

[Type] [None]

Numeric Display (Name: NumericDisplay1) properties:

Tab Sub Tab Property Value

[Function]

[Basic]

[Current Value] [Variable]
[Name]: Var1

[Shape]

[Basic]

[Fill] [Type] [None]
[Border] [Type] [None]