4/21/2011 6:55 PM | |
Joined: 9/27/2006 Last visit: 9/15/2025 Posts: 12408 Rating:
|
Hello Tagolover; First, your gsd file is the appropriate one for the CPU 315-2 PN/DP, the stars in the filename mean that it is applicalble to all CPUs starting with 315-2E... Second, when configuring a S7 as a slave you have no code to generate for the master. What you must do is make sure the CPU's Profibus interface is declared as a slave, and that the exchange table you build is made up od the same number of modules, of the same size, but these should be mirrored. If you use an output module on the master's configuration, it must match an input module on the slave. To illustrate, take the case of an S7 slave to a S5 master, shown in the following FAQ: http://support.automation.siemens.com/WW/view/en/6709721 The Profibus configurators are sufficiently different in the S5 and the S7 so you can interpret them in your own design. Do not focus on the master section, except for the definition of the 2 modules in its exchange table. Then study the slave section; notice the similar structure of the exchange table defined there. Build you ecxchange table for the master (GE) in terms of how many and how large modules you need to read/write to the S7 slave, then build in the slave the same structure, but mirrored. Notice you must use addresses located in the IO tables of the S7(IW0, QB26...) to setup the exchange table. Once you have these addresses setup and functionning, you can MOVE data from your DBs to/from these IO addresses for use in your program. Hope this helps, Daniel Chartier |
4/26/2011 8:01 AM | |
Joined: 9/6/2008 Last visit: 5/7/2022 Posts: 1121 Rating:
|
Hi dichartier Well i did go through the link you gave me, I have the exact settings done, I have attached my project, In my project we have other Siemens PLC which are communicating to the same Gefanuc system as slave. But the change is that,they have used CPU 315 2 DP along with CP 342-5 profibus slave. We are not able to get any help from them with respect to configuration they have done. What is "COM PROFIBUS" file and how can i access this so that i can open Master_IM308C I have attached our project for your reference. Please help AttachmentCpu_30_1.zip (276 Downloads) |
Last edited by: Tagolover at: 4/26/2011 8:03 AMJazz |
|
6/25/2012 7:48 AM | |
Joined: 2/6/2009 Last visit: 9/1/2025 Posts: 940 Rating:
|
HiTagolover, I am engaged in a project where I need to communicate between GE PLC with S7 315 2DP. I have read the complete thread, it is very useful. Have you tried again with CPU 315 as slave without CP343-5? Because in my case also client is having only CPU 315 2DP (6ES7 315-2AF00-0AB0) without CP card. The present selection of CPU is not having option to configure as DP slave. Which way is better? - Changing the CPU which is having option to select DP -slave or Adding a CP 343 card in the existing configuration. Could you please upload your final backup. |
_______________________________________________________________ |
|
Follow us on