Welcome, Guest
Username: Password: Remember me

TOPIC: Decimal point

Decimal point 8 years 5 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 8 years 5 months ago #68

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 857
  • Thank you received: 126
  • Karma: -108
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