The VisualMeter object #VMeter is a special form of the #Meter object and supports special displays with different color ranges and pointers.
Example
Parameters
Object
Column A
|
M/O
|
Default
|
Description
|
#VMeter
|
M
|
|
VisualMeter object
|
Text/File
Font
X, Y, DX, DY
Color
BackColor
Format
see #Meter object
Limit1
Limit2
ActionLimit1, ActionLimit2
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
Option
Column S
|
M/O
|
Default
|
Description
|
VarStateOnOffInverted
|
O
|
|
Inverts the On / Off functionality of the VarState Variable:
VarState = 0 -> Off
VarState = 1 -> On
|
|