UNION_BACNET_SCALE (UNION)

TYPE UNION_BACNET_SCALE : UNION

A Scale data structure contains either floatScale or integerScale, which indicates the conversion factor to be multiplied with the value of the Present_Value property to provide a value in the units indicated by Units. For floatScale, the indicated value in Units is the result of a multiplication Present_Value with this floatScale. For integerScale, the indicated value in Units is the result of a multiplication Present_Value with power of ten of this integerScale. A Property Contents containing data of this type will have its tag equal to DATA_TYPE_SCALE.

InOut:

Name

Type

Comment

floatScale

IEC_BACNET_REAL

Scale is Present_Value x Scale.

integerScale

IEC_BACNET_SIGNED

Scale is Present_Value x 10 power Scale.