OPC UA Analog Ranges: InstrumentRange and EURange
2026-11-07

OPC UA Analog Ranges: InstrumentRange and EURange

OPC UA analog ranges tell a client how to interpret a numeric equipment variable. InstrumentRange describes the values that the instrument can return. EURange describes the values expected in normal operation. A display can use EURange to choose its scale, and the PercentDeadband filter uses the span between its endpoints to calculate a value-change threshold. Those roles remain distinct even if both properties are present on the same variable.

InstrumentRange describes the instrument return range

The OPC Foundation defines InstrumentRange on BaseAnalogType as a property for the value range that can be returned by the instrument. The property is optional on that base type and strongly recommended. The foundation notes that when it is absent, clients commonly assume the range allowed by the variable's data type. The full set of values representable by a numeric type can be wider than the range associated with the particular instrument.

For example, a data type may represent a large interval of integers while the instrument reports only a smaller interval. The type tells the client how values are represented. The InstrumentRange property can supply the lower and upper values for that instrument. In an equipment export it makes sense to identify both the type and the range along with the variable that declares them.

EURange describes the values expected in operation

The same specification defines EURange as the range likely to be obtained in normal operation. It gives automatic bar graph scaling as an example of its use. A sensor or instrument can return a value outside that range, including under failure or deactivation conditions mentioned in the specification. A value outside the usual display scale can therefore be a value a client needs to handle. The range alone cannot tell the client whether the value has a good status.

BaseAnalogType has optional range and units properties. AnalogItemType derives from it and makes EURange mandatory. EngineeringUnits identifies what the value is measured in, while EURange gives endpoints in the value's scale. A range of 20 to 80 by itself leaves the measurement unit unspecified.

The specification also leaves the response to a write outside EURange to the server. Depending on the server it could accept, reject or clamp the value. That behavior has its own place in an interface description. The same endpoints can be used for display and reporting without defining every action the server takes when a client writes a value.

An InstrumentRange of zero to 100 and a narrower EURange of 20 to 80 shown on a common axis.
The ranges give the instrument return interval and the expected operating interval. Source: Zhilianhai editorial desk, original AI-assisted concept; no real product, event or measured data.

PercentDeadband uses the difference between the EURange endpoints

The OPC Foundation defines the percentage threshold using the high endpoint minus the low endpoint. For a fictional variable with EURange 20 to 80, that span is 60 units. A PercentDeadband of 5 gives a threshold of 3 units. If InstrumentRange is 0 to 100 for the same variable, its wider span stays outside this calculation. Using that other interval would give a threshold of 5 and could change which value changes pass the filter.

The absolute difference between the last cached value and the current value must be greater than the threshold for this value-change test. With a cached value of 50 in the example, a current value of 53 yields a difference of exactly 3. That equality does not satisfy the test. A current value of 54, compared with the same cached baseline, differs by 4 and does satisfy it. A downward difference is tested by its magnitude too.

A cached value of 50 has a plus or minus three-unit threshold. A sample at 53 equals the threshold and 54 exceeds it.
The value-change comparison uses a strict greater-than relation. Source: Zhilianhai editorial desk, original AI-assisted concept; no real product, event or measured data.

The value comparison has a reporting context

Part 4 describes the DataChangeFilter trigger and indicates that a deadband is ignored when the item status changes. This is why the two outcomes in the numeric example only describe the value-change branch with status held fixed. A percent deadband controls how this branch treats the value change. It does not remove the value from the device or turn the endpoints of EURange into alarm limits.

Part 8 also specifies that the percent value is between zero and 100 and that an out-of-bounds filter value is rejected. For an array, the comparison is applied to elements and the whole array is returned if an element requires a data-change report under the described test. The returned array and the element that caused the report are different objects.

Range metadata can affect reports as well as display scale

A change in EURange can alter the calculated threshold even if the percent setting stays the same. The analog variable section calls for a SemanticsChanged indication when EURange or EngineeringUnits changes, and points out the effect that an EURange change can have on subscription behavior with this filter. For a data handover, record the active range endpoints, their units and the filter together so a later reader can reconstruct the comparison.

The OPC Foundation defines analog variable properties in Part 8, the PercentDeadband comparison in Part 8 and DataChangeFilter in Part 4. Related explanations appear in the industrial data reference and technical articles.

18028484626 CONTACT US

公司:智联海(惠州)科技有限公司

地址:惠州仲恺高新区陈江街道白云山工业大道 5 号六楼 601

Q Q:18028484626

Copyright © 2002-2026

粤xxx

咨询 在线留言 电话:18028484626
微信 微信扫码添加我