7/8/2014 12:22 PM | |
Posts: 3609 Rating: (29) |
Import of a technical question from user jeetendra
|
7/8/2014 2:28 PM | |
Joined: 9/27/2006 Last visit: 3/28/2024 Posts: 12249 Rating: (2660) |
Hello jitendra; The onboard Profibus-DP port of the S7-300 and S7-400 CPUs can be used in master-slave configurations only. Since the S7300 communicates with drives over Profibus, it must do so as a master. If you awant to exchange data with the S7-400 with the same setup of the S7-300, you must configure it a s a DP-slave, and configure the data echange with the S7-300 master through the IO addressing. You can see how this is done in the link provided in the following FAQ (it shows the S7-400 as a master but it is stated in the Notethat the example works as well in reverse situations): What do you have to consider when connecting a S7-400 CPU to an external master as DP slave? If you want to configure S7 comms or FDL exchanges (AG_Send/AG_Recv; Put/Get functions...)then you must use a CP 342-5 in the S7-300 rack and a CP 443-5 Extendedin the S7-400 rack, If both stations are configured as masters, as per your own statement, you would need a DP/DP coupler between the 2 CPUs. Hope this helps, Daniel Chartier |
7/9/2014 9:18 AM | |
Joined: 10/7/2005 Last visit: 3/28/2024 Posts: 3002 Rating: (1045)
|
Hello jeetendra assuming your S7-400 CPU's DP port is used as a DP master port, you can actually useS7 communicationbetween itand the S7-300's CPU's DP port (which is already used as a DP Master port in your case). Sincethe S7-300's CPU's DP port only supports Server functionality, this will be a so called "unilaterally configured" S7 connection (entirely and only configured in the S7-400 with thepartnerstation being "unspecified") and the comms arealso handledentirely inside theS7-400 CPUvia GET/PUT (SFB14/15). Attached is a screendump on how to configure the S7 connection in Netpro of the S7-400 and below are a few additionallinks on this subject: What differences are there when configuring S7 connections? Sample program: S7 communication with the blocks SFB14 ("GET") and SFB15 ("PUT") with S7-400 CPU-CPU communication with SIMATIC controllers (compendium) (a must have reference, see especially chapter 22.4.3 in this case) Note: If your stations are in two seperate S7 projects, make sure to have the same Profibus DP parameters for each (and note too that you will thenoperate a DP Multi Master system which will cause an increase in the scan time of the existing S7-300 Profibus DP Network). Should the above sound to troublesome, there is of course nothing wrong with the already suggested DP/DP coupler solution. And just in case your S7-400 CPU's DP port is not used for anything yet, you could also simply make the S7-400 a DP slave of the S7-300. I hope this helps AttachmentConfigure unspecified unilateral S7 connection between S7-400-DP and S7-300-DP.jpg (358 Downloads) |
Cheers |
|
7/10/2014 2:04 AM | |
Joined: 10/7/2005 Last visit: 3/28/2024 Posts: 3002 Rating: (1045)
|
Hello jeetendra sorry, but you can NOT use BSEND/BRCV in your case. These blocks would need to be called in both PLC's (a BSEND in one station needs a corresponding BRCV in the other station) and thus require a bilaterally configuredconnection. Sincethe DP port of your S7-300 can only act as a Server for S7 communications, you can though NOT configure an S7 connection for it in Netpro and thus can NOT use BSEND and/or BRCV in the S7-300. If you want to use BSEND/BRCVin the S7-300, you will need to add a CP342-5 toit. I hope this helps |
Cheers |
|
This contribution was helpful to1 thankful Users |
7/11/2014 8:09 AM | |
Joined: 8/30/2010 Last visit: 12/8/2023 Posts: 31 Rating: (1) |
Dear fritz, Thanks. Best Regards, Jeetendra inamdar. |
This contribution was helpful to1 thankful Users |
10/19/2015 2:53 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4777 Rating: (123) |
New question published by Hasan1987 is split to a separate thread with the subject Connection, 416-3dp with 315-2dp. Best regards |
Follow us on