.MinRange Dotfield
- Last UpdatedNov 07, 2016
- 1 minute read
The .MinRange dotfield specifies the minimum percentage of the tag's engineering unit range to show for each tag in a Historical trend.
Category
Historical.
Usage
tag_name.MinRange
Parameter
tag_name
Any Hist Trend tag.
Remarks
A historical trend can show several types of tags at the same time. Specifying the minimum and maximum boundaries of the value range in engineering units is difficult because different types of tags can have different engineering ranges. Therefore, the minimum and maximum range values are expressed as a percentage of the engineering range of each tag. This way, regardless of the tag's true engineering range, the historical trend shows the indicated percentage of that tag's particular engineering range.
Data Type
Real (read/write).
Valid Values
The limits for the .MaxRange and .MinRange dotfields are from 0 to 100. .MinRange is always less than .MaxRange. If you assign a value less than 0 or greater than 100 to either of these dotfields, the value is clamped at 0 or 100. If .MinRange is greater than or equal to .MaxRange, the trend does not show any data.
Example
This example dotfield statement sets the minimum percentage range of the historical trend to 25 percent of the possible engineering unit range of a Hist Trend tag.
HistTrend.MinRange=25
See Also
.ChartStart, .ChartLength, .DisplayMode, .EngUnits, .MinEU, .MaxEU, .MaxRange, .MinRaw, .MaxRaw, .RawValue