Member Login
member
passwd
remember me on this computer.

- join now -

Search

Past & Future Posts
Neat Stuff

Visit our shop for nerds in control lifestyle products.

Cool stuff
Select a topic of interest:
...and press:
Fortune
Getting the job done is no excuse for not following the rules.

Corollary:
Following the rules will not get the job done.
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
from the Automation List department...
ModBus over TCP verses ModBus TCP
PLCs topic
advertisement
Posted by Graham heath on 31 October, 2007 - 10:25 pm
I am trying to interface to two systems, one apparently running ModBus over TCP the other running ModBus TCP. I am unable to locate any standard to check if how different they are. Any help would be much appreciated.

graham.heath @ ips. invensys. com

Posted by Glen on 2 November, 2007 - 12:11 am
There is a good explanation at http://www.simplymodbus.ca/TCP.htm
Their test program also supports both.

Posted by lorne on 2 November, 2007 - 12:16 am
Graham,

Modbus over (via) TCP has a MBAP header and error check added to the standard Modbus message. In Modbus TCP the station number in the standard message is replaced with the MBAP header and the CRC in the standard message is replaced with the error check. Note that for Modbus via TCP the standard Modbus message can be recoverd by removing the TCP wrapper (MBAP header and error check).

HTH,
Lorne

Posted by Mark on 2 November, 2007 - 12:23 am
Modbus/TCP is a specification for embedding Modbus PDU into a TCP packet with additional header information for routing, packet ID, etc. TCP port is stated in specification. Refer to Modbus/TCP specification available on modbus.org.

Modbus over TCP is simply Modbus (RTU or ASCII) ADU embedded in a TCP packet. Port is user assigned. Refer to Modbus specification available on modbus.org.

Posted by Fred Loveless on 2 November, 2007 - 12:55 am
The are really 2 different formats even thought they are both modbus. Modbus over TCP is Modbus Serial encapsulated in and Ethernet header and footer. That is the enteri mdobus serial packeet with checksum. Modbbus TCP has specific header section and although the core is the same does not use the Checksum that Modbus Serial does.

You are basically going to need a Modbus Serial to Modbus Ethernet protocol converter. There are probably some out there that will do the over TCP to TCP converter but I do not recall ever seeing them. You could use a server that can do envapsulated modbus and modbus Ethernet and bridge the data between the 2.

Kepware has products that can do this.

Fred Loveless
Support Manager
Kepware Technologies

http://www.kepware.com

Posted by Patrik Lansdorf on 2 November, 2007 - 5:14 pm
Hi there,

There are converters available. HMS has several different kinds. For more info:
http://www.anybus.com/support/support.asp?PID=237&ProdType=Any bus%20X-gateway
http://www.anybus.com/support/support.asp?PID=251&ProdType=Any bus%20X-gateway
http://www.anybus.com/support/support.asp?PID=110&ProductType= Anybus%20Communicator


For more info, email:
support@hms.se

/Pat

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!