#VMeter

Top  Previous  Next

The VisualMeter object #VMeter is a special form of the #Meter object and supports special displays with different color ranges and pointers.

 

Example

vmeter

VMeter-arcfilled

VMeter-needle

 

Parameters

Object

Column A

M/O

Default

Description

#VMeter

M


VisualMeter object

Text/File

Column B

M/O

Default

Description

<VMeter definition>.txt

M


Name of the VMeter definition contains the attributes for displaying the #VMeter object.

Font

Column C

M/O

Default

Description

<Fontname>.FNT

O

Current font

Font for displaying the scale

X, Y, DX, DY

Columns D-G

M/O

Default

Description

Integer constants

Variable of type INT

O

Autom. positioning

Position and dimension

Color

Column H

M/O

Default

Description

Color

O

Current foreground color

Color of the scale

BackColor

Column I

M/O

Default

Description

Color

O

Current background color

Background color

Format

see #Meter object

Limit1

Column L

M/O

Default

Description

Lower limit value

 

VarType-Min

If a range was configured with "limit1" in the VMeter definition, the value configured here is used for the range.

Limit2

Column M

M/O

Default

Description

Upper limit value

 

VarType-Min

If a range was configured with "limit2" in the VMeter definition, the value configured here is used for the range.

ActionLimit1, ActionLimit2

Columns N,O

M/O

Default

Description

Action on upper or lower limit value overshoot

 


See Limit actions

VarValue

Column P

M/O

Default

Description

<variable>

 


The configured variable in VarValue specifies the fill value in the object. The data type of this variable must be numerical.

A Word or INT type array can also be defined. In this case, the first field ([0]) is used to indicate the fill value, the other fields are used to display the range (see VMeter definition-> Ranges)

VarType

Column Q

M/O

Default

Description

BYTE

USINT

SINT

WORD

UINT

INT

DWORD

UDINT

DINT

LWORD

LINT

REAL

WORD[]

INT[]

 


All numerical data types apart from LREAL can be used.

VarState

Column R

M/O

Default

Description

<variable>

 


See VarState column

Option

Column S

M/O

Default

Description

VarStateOnOffInverted

O

 

Inverts the On / Off functionality of the VarState Variable:

 

VarState = 0 -> Off

VarState = 1 -> On