...
Note |
---|
It is possible to lose data precision due to data type conversion |
Table of Contents | ||||
---|---|---|---|---|
|
Linear Scaling
Code Block |
---|
Register{SL,LR,HR,LE,HE} |
Validate lows are lower than highs.
Register is the tag or register name in the end device
SL is the linear scale identifier and must appear first after the open bracket.
LR is the low raw value.
HR is the high raw value.
LE is the low engineering value.
HE is the high engineering value.
...
Code Block |
---|
Register{SQ,LR,HR,LE,HE} |
Validate lows are lower than highs.
Register is the tag or register name in the end device
SQ is the square root scale identifier and must appear first after the open bracket.
LR is the low raw value.
HR is the high raw value.
LE is the low engineering value.
HE is the high engineering value.
...
Code Block |
---|
Register{SG,Gain:Offset} |
Validate Note: Gain is must not be zero.
Register is the tag or register name in the end device
SG is the gain/offset scale identifier and must appear after the open bracket.
Gain is a multiplier.
Offset is an addition.
...
Code Block |
---|
Register{SI:Inverse} or Register{SI} |
Validate that Item Note: The item raw value is must not be zero.
Register is the tag or register name in the end device
SI is the inverse scale identifier and must appear after the open bracket.
Inverse is a divider and is optional.
...