Author Topic: ModbusTCP with Float32 format data  (Read 3159 times)

ciluuk

  • Newbie
  • *
  • Posts: 1
    • View Profile
ModbusTCP with Float32 format data
« 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.
« Last Edit: August 08, 2014, 02:43:04 AM by ciluuk »

BW

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: ModbusTCP with Float32 format data
« Reply #1 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.

BW

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: ModbusTCP with Float32 format data
« Reply #2 on: September 25, 2014, 03:00:27 PM »
Try putting an L in front of the address:

L420480

Tried this, but still had issues.

hadi

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: ModbusTCP with Float32 format data
« Reply #3 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