siemens s7 300 cpu 317 2 pn/dp modbus tcpip

ravi1821

Member
Join Date
Dec 2003
Location
klang,selangor ,malaysia
Posts
24
Dear sirs,
Currently i am working on a project which requires to connect the plc ethernet port to monitoring devices, for your information the monitoring devices has modbus tcpip communication protocoll . No any other communication protocoll available.

Could anyone guide me how to setup the modbus settings inorder the cpu could estabish connection with iconics scada via modbus tcpip protocoll.

Thanks in advance
 
With the 317-2 PN/DP, I believe you'll need the Modbus TCP wizard and possibly the function blocks. I'm unsure as to whether these are free, but I would guess not.

Prosoft has a Modbus TCP/IP to Siemens Industrial Ethernet gateway that allows you to exchange data between your S7 controllers and Modbus TCP/IP devices. The Modbus TCP driver is both a client (to talk to your I/O), and server (to talk to SCADA).

Here is more information on the gateway:
http://www.prosoft-technology.com/P...TCP-IP-to-Siemens-Industrial-Ethernet-Gateway
 
I would think that the easiest way to connect a Modbus TCP/IP slave to your PLC would be to use a Profibus/Profinet to Modbus TCP/IP master gateway, such as one of the below:
http://www.anybus.com/support/support.asp?PID=462&ProdType=Anybus%20X-gateway
http://www.anybus.com/support/support.asp?PID=468&ProdType=Anybus X-gateway
as all you need to do is configure the gateway and add the gateway to your Profibus or Profinet network...
The anybus gateway has 2 ethernet ports= no extra switch...

My 2 cents
 
Last edited:
Using one of the Anybus gateways is the way to go. There is a library available from Siemens for Modbus TCP, but it is not free, more like scary expensive.
 
The CPU supports TCP/IP, but MODBUS TCP is a different protocol, so you have three choices:
Use a gateway like the Anybus adapter
Use a Modbus TCP library
Write your own code.

If you look at the time / cost of writing your own, it is cheaper and more effective to use option 1 or 2.

My 2 cents
 
Ravi..

This page should give you all the information you need for a total Siemens solution using the Modbus TCP Wizard, and function blocks. Again, it isn't free, but doesn't require additional hardware.

http://www.industry.siemens.com/services/global/en/IT4Industry/products/simatic_add_ons/s7_open_modbus_tcp/Pages/default_tab.aspx#Our%20solution

For the gateway solution, both the HMS and Prosoft gateways will do the job. If you want to create/modify/configure a Profinet network, go with HMS. If you don't want to modify a single bit of your S7 program, go with Prosoft.
 
Hi to all,

Currently, working with a telemetry system composed of S7-300 as a Master and S7-200 as a slave. we are using MDS SD4 for communication.

We want to use the TCP/IP on the systems. MDS SD4 have a Half duplex ethernet radio. May you help me to configure proper hardware and function blocks needed.

We have similar project using rockwell and we dont have a problem. But for siemens we are struggling.

Please help
 

Similar Topics

I have a Siemens S7 300 CPU 315-2 PN/DP PLC and CP 342-5. IM Module is configured via ethernet port. I have two profibus network. One on CPU and...
Replies
3
Views
4,147
Hi guys, looking for some advice from someone with some siemens hardware experience. Im a student considering buying a siemens plc to practice...
Replies
4
Views
5,052
Hi Guys, I am facing a problem with my Siemens Simatic S7-300,CPU 315-2 DP( 6ES7315-2AF03-0AB0 ).That is in the morning i dont know why but it...
Replies
3
Views
3,354
I did a little bit of sercing here and on Siemens site for a communiication cable between an S7-300 CPU and PC's USB port. However there are...
Replies
4
Views
2,138
I have a string that I need to remove six numbers out of and move to an Array. I can't seem to find anything that will work for me. I tried a...
Replies
4
Views
3,101
Back
Top Bottom