Configure ValueSplit scale factor
Here are the scale factors for ValueSplit for data types larger than 32 bits.
| Data type | Scale factor |
| BCD12 | 0,001 |
| INT48 | 0,00001 |
| INT64 | 0,0000000001 |
ATTENTION!
These scaling factors are generic and scale down the value to fit in an INT32.
Consider deriving which scaling is best suited to the plant.
For example:
The energy 12345Wh i is stored in a BCD12 and should be represented as kWh.
Highest value of BCD12 = 999 999 999 999 999, takes up 6 bytes and does not fit in an INT32 (4 bytes).
With a scale factor of 0.001, the maximum value is 999 999 999 999.999.
The integer part: 999 999 999 now fits in an INT32.
Decimal part: 999, fits in an INT32.
The value will then be 12.345kWh:12kWh and 345Wh.

Comment on this FAQ
Want to join the discussion?Feel free to contribute!