AdvancedHMI Software

General Category => Support Questions => Topic started by: ian.spurgeon on May 18, 2024, 04:18:31 PM

Title: Display a float value in DigtalPanelMeter
Post by: ian.spurgeon 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?
Title: Re: Display a float value in DigtalPanelMeter
Post by: Archie 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
Title: Re: Display a float value in DigtalPanelMeter
Post by: Godra 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.
Title: Re: Display a float value in DigtalPanelMeter
Post by: ian.spurgeon 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