Today is...
Monday, April 24, 2017
The OPC Community Forum.
32Bit Modbus Register and OPC Server
Modbus Slave device has 32Bit registers and need OPC server to read them
By Rashid Ashraf on 20 September, 2016 - 7:59 am

Hi,
I am trying to read data from FMC's Flow Management Computer using Modbus Ethernet Interface.

The issue is that FMC is using 32Bit registers for Modbus implementation. Float32 is consuming One register as opposed to Two (as per Modbus standards).

I am using TOP OPC Server for extracting data which is giving me errors "Bad received length". TOP OPCServer support says that it is receiving 4 bytes of data when requesting 2 bytes.

Any help to resolve this issue would be appreciated.

Rashid

Try to use an OPC Server for Modbus.

I am already using TOP OPC Server for Modbus. It has drivers for Modbus RTU, ASCII and Ethernet.

Rashid

Hello,

That sounds like Enron MODBUS. MODBUS does not define a 32 bit register size much less a floating point data type.

PeakHMI supports ENRON MODBUS. Use the demo installer to verify the data is correct and then you can choose which product to use.

FYI, PeakHMI has a built in OPC DA server.

Good luck,

Mark
http://www.peakhmi.com/

By Fred Loveless on 21 September, 2016 - 10:53 am
1 out of 1 members thought this post was helpful...

Hi,
That is Enron Modbus. Depending upon the version of TopServer you are running it will have an Enron Modbus driver in it or, the serial driver has an Omni Flow model which does Enron Modbus. The serial driver supports Ethernet Encapsulation and has a setting to enable Modbus Ethernet Headers and Footers.