AdvancedHMI Software

General Category => Open Discussion => Topic started by: ciluuk on August 08, 2014, 02:23:18 AM

Title: ModbusTCP with Float32 format data
Post by: ciluuk on August 08, 2014, 02:23:18 AM
Hi,

i have problem retrieve Modbus TCP with floating32 type.
for modbusTCP with integer data has no problem.

someone help me please to solve this problem.

Thank You.
Title: Re: ModbusTCP with Float32 format data
Post by: BW on September 25, 2014, 02:15:00 PM
I am having the same problem.
The integer values to a digital panel meter works fine, but the floating point value looks random.
The problem is a floating point is a 2 word value.
Those words can also be different byte order ( AB CD, BA DC, CD AB ).
In other hmis, I have defined it with FP ######, or define the byte order little endian/ big endian.
Not shure what to use for AdvancedHMI.
Title: Re: ModbusTCP with Float32 format data
Post by: BW on September 25, 2014, 03:00:27 PM
Try putting an L in front of the address:

L420480

Tried this, but still had issues.
Title: Re: ModbusTCP with Float32 format data
Post by: hadi on October 01, 2014, 12:09:14 PM
Archie, Thanks for this amazing HMI! It's great to see a good quality usable HMI that doesn't cost your first born child. I came across your software while looking for an HMI to use in an automated bar I am building. I am programming a SLC503 to control the drink dispensing and I am attempting to use your HMI to facilitate the drink selections.


____________
adil