Author Topic: Display a float value in DigtalPanelMeter  (Read 2967 times)

ian.spurgeon

  • Newbie
  • *
  • Posts: 2
    • View Profile
Display a float value in DigtalPanelMeter
« on: May 18, 2024, 04:18:31 PM »
Hello, I am using a Productivity P1000 PLC, and just come across the Advanced HMI, getting on well apart from trying to display a Floating value in the DigitalPanelMeter, my modbus address are 400025 & 400026, so in the PLCAddressValue i put F400025, but it only reads this data value and not the F400026, how do I sort this?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Display a float value in DigtalPanelMeter
« Reply #1 on: May 18, 2024, 06:12:32 PM »
Test with a BasicLabel first to see if it is getting the correct value.

To show a floating point on the DigitalPanelMeter, Set the ScaleFactor property to 1000 and the DecimalPosition to 3

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Display a float value in DigtalPanelMeter
« Reply #2 on: May 19, 2024, 02:38:23 PM »
As Archie suggested, use a BasicLabel first.

You could as well put 3 of the BasicLabels controls next to each other and address them differently: F400024, F400025, F400026.
One of them should show the correct value.

ian.spurgeon

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Display a float value in DigtalPanelMeter
« Reply #3 on: May 19, 2024, 03:18:39 PM »
Many thanks Guys for this, yes the basic label works fine, will experiment with the digital panel