AdvancedHMI Software

General Category => Support Questions => Topic started by: baguinn on March 13, 2013, 09:08:19 PM

Title: Modbus TCP driver
Post by: baguinn 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.
Title: Re: Modbus TCP driver
Post by: Archie 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?
Title: Re: Modbus TCP driver
Post by: baguinn 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.
Title: Re: Modbus TCP driver
Post by: batman1970 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??