Configure ValueSplit scale factor

Here are the scale factors for ValueSplit for data types larger than 32 bits.

Data typeScale factor
BCD120,001
INT480,00001
INT640,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.

Kategori PiiGAB Explorer
Do you think the answer helped you?
Thumbs Up Icon 0
Thumbs Down Icon 0
0 replies

Comment on this FAQ

Want to join the discussion?
Feel free to contribute!

Comment on this FAQ

Your email address will not be published. Obligatoriska fält är märkta *