Welcome, Guest
Username: Password: Remember me

TOPIC: Decimal Position in Digital Meter, Label Object

Decimal Position in Digital Meter, Label Object 6 years 7 months ago #297

  • douglas
  • douglas's Avatar
In the object properties windows for above mentioned objects, under the value tab, how to use the decimal position?
I have created a tag for data type short(16 bit), both object associate the same tag "enable property" under the value tab of object. I inserted decimal position 1 or 2, or 3. I cannot see the decimal is in place during the run time.
The administrator has disabled public write access.

Decimal Position in Digital Meter, Label Object 6 years 7 months ago #298

  • douglas
  • douglas's Avatar
moreover the tag is read via modbus function 3 read holding register. For example, I manage to read value from PLC via modbus and display 220. After putting decimal position value 1, I am expecting it will display in digital meter as 22.0. But it is not. Perhaps, you can explain to use the decimal position or how to display in decimal format.

Thanks,
The administrator has disabled public write access.

Decimal Position in Digital Meter, Label Object 6 years 7 months ago #299

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello,
If you want to see decimal position effect you should use Float (32 bit) or Double (64 bit) tag's data type.
If you want to scale your tag's value like in your example 220 to 22 you should check Scaling in Tag properties and set up your tag's scale properties. For example Raw value minimum = 0, Raw value maximum = 1000, EU value minimum = 0, EU value maximum = 100. You'll get what you want after getting value from your PLC = 220, you'll get output = 22.

Best regards,
Ruslan
The administrator has disabled public write access.
Go to top