Author Topic: Modbus TCP driver  (Read 3659 times)

baguinn

  • Newbie
  • *
  • Posts: 31
    • View Profile
Modbus TCP driver
« on: March 13, 2013, 09:08:19 PM »
Does the Modbus TCP driver only read back integers?  I am trying to read floating point data, but cannot get it to work.  I can however read them through kepserver.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Modbus TCP driver
« Reply #1 on: March 14, 2013, 02:32:28 PM »
I don't think it can do floating point. Only bits, integers, and double integers.

That driver was developed using a Modbus simulator and the simulator did not support floating point. What hardware are you using?

baguinn

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: Modbus TCP driver
« Reply #2 on: March 14, 2013, 08:38:59 PM »
Trying to read values from some electrical panel meters.  Trying to read the volts, amps, and KW's.  I am trying to connect to these modbus devices across a gateway.  I can read values from a PLC across these gateways, but they are in integer format.

batman1970

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Modbus TCP driver
« Reply #3 on: March 15, 2014, 04:43:17 AM »
Sorry,I am trying an application with modbus tcp ip and I can not read the dint but only int, what is the correct syntax? Also i want to convert Int register to real by a my IE754 routine in VBA how it is possible to integrate this in the display??