CheckToleranceHigh Property
Description
TRUE if the "Tolerance High" limit value is being monitored for the BarGraph object. BOOLEAN
write-read access.
The limit value, the display on reaching the limit value and the type of evaluation are defined
via the properties ToleranceHigh, ColorToleranceHigh and TypeToleranceHigh.
Example:
The "BarGraphLimitConfiguration()" procedure configures the properties of the high limit value
for
an alarm. In this example the type of evaluation will be set to "Absolute". The alarm will be
triggered at a value of "45".
Sub BarGraphLimitConfiguration()
'VBA441
Dim objBarGraph As HMIBarGraph
Set objBarGraph = ActiveDocument.HMIObjects.AddHMIObject("Bar1", "HMIBarGraph")
With objBarGraph
'Set analysis to absolute
.TypeToleranceHigh = False
'Activate monitoring
.CheckToleranceHigh = True
'Set barcolor to "yellow"
.ColorToleranceHigh = RGB(255, 255, 0)
'Set upper limit to "45"
.ToleranceHigh = 45
End With
End Sub
See also
TypeToleranceHigh Property (Page 2321)
ToleranceHigh Property (Page 2308)
ColorToleranceHigh Property (Page 2073)
BarGraph Object (Page 1819)
CheckToleranceLow Property
Description
TRUE if the "Tolerance Low" limit value is being monitored for the BarGraph object. BOOLEAN
write-read access.
The limit value, the display on reaching the limit value and the type of evaluation are defined
via the properties ToleranceLow, ColorToleranceLow and TypeToleranceLow.
VBA for Automated Configuration
4.4 The object model of the Graphics Designer
MDM - WinCC: Scripting (VBS, ANSI-C, VBA)
System Manual, 11/2008,
2061