Welcome, Guest
Username: Password: Remember me

TOPIC: Decimal point

Decimal point 7 years 10 months ago #67

  • user
  • user's Avatar
We read a holding register, unsigned integer (16 bit).
This is for example 41236, and has to be displayed as 412.36
So we have set as Dec. places = 2
This doesn't seem to work. Value is displayed as 41236
Any idea what we do wrong?
The administrator has disabled public write access.

Decimal point 7 years 10 months ago #68

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello,
Decimal places are not for this purpose. It determines the number of decimal places you want to show for float values. For your purpose you have to use Enable scaling and enter for example in Raw max = 50000, Raw min = 0, EU max =500, EU min = 0.
The administrator has disabled public write access.
Go to top