The IntervalRange is a structure used to define a range of timing intervals.
The IntervalRange is formally defined in Table 168.
Table 168 – IntervalRange structure
Name |
Type |
Description |
IntervalRange |
Structure |
Subtype of Structure defined in OPC 10000-5 |
Min |
0:UInt32 |
The minimum interval (in units). |
Max |
0:UInt32 |
The maximum interval (in units). For linear ranges: Max = Min + N * Increment For exponential ranges: Max = Min * Multiplier Where N is an unsigned integer. |
Increment |
0:UInt16 |
The increment from minimum to maximum. An Increment value greater than or equal to 1 indicates a linear IntervalRange; in this case, Multiplier shall be set to 1. 0 indicates no increment. |
Multiplier |
0:UInt16 |
The multiplier that can be applied. Multiplier shall be greater than or equal to 1. A value of 2 or greater indicates an exponential IntervalRange; in this case, Increment shall be set to 0. 1 indicates no multiplier. |
Unit |
3:FxTimeUnitsEnum |
IntervalRange allows specifying
- linear ranges: [Min, Min + Increment, Min + 2 * Increment, Min + 3 * Increment… Max]
- exponential ranges: [Min, Min * Multiplier, Min * Multiplier 2, Min * Multiplier 3, …, Max]
- fixed range: if Min is equal to Max.
For example, an IntervalRange with Min=2, Max=16, Increment=2 and Unit=milliseconds result in the following linear range: [2 ms, 4 ms, 6 ms, 8 ms, 10 ms, 12 ms, 14 ms, 16 ms]. An IntervalRange with Min=125, Max=1000, Multiplier=2 and Unit=microseconds result in the following exponential range: [125 µs, 250 µs, 500 µs, 1000 µs].
A null IntervalRange is indicated by setting Min, Max, to 0.
The IntervalRange representation in the AddressSpace is formally defined in Table 169.
Table 169 – IntervalRange definition
Attribute |
Value |
|||||
BrowseName |
3:IntervalRange |
|||||
IsAbstract |
False |
|||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Other |
|
Subtype of the 0:Structure defined in OPC 10000-5 |
||||||
ConformanceUnits |
||||||
UAFX AutomationComponent Base |
||||||
UAFX FunctionalEntity Base |