IEC_BACNET_SCALE (STRUCT)

TYPE IEC_BACNET_SCALE : STRUCT

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

tag

IEC_BACNET_DATA_TYPE

Contains DATA_TYPE_REAL for floatScale or DATA_TYPE_INTEGER for integerScale.

value

UNION_BACNET_SCALE

Contains the data for specified float or integer scale.