10/23/2012 5:24 PM | |
Posts: 1547 Rating:
|
Hello Greg_S, if you don't have access to second PLC you MUST use S7 protocol, because all other possibilities requires access to configuration and needs configuration change. Here you will find a sample how to do this: Sample Program: S7 Communication with blocks FB14 ("GET") und FB15 ("PUT") of the CPU 317-2PN/DP The sample is using Ethernet, but it is the same on PROFIBUS. |
This contribution was helpful to
1 thankful Users |
10/23/2012 5:40 PM | |
Joined: 1/28/2009 Last visit: 8/26/2024 Posts: 6846 Rating:
|
Hello, I suggest reading following thread by our expert dchartier: Two 315-2DP CPUs Profibus Master-Slave communication
There is some limitation while working on integral Dp ports on S7 CPUs.Master-Slave is possible in these set ups. But for services such as FDL and S7 connection over PROFIBUS, communication processors (CPs) such as CP 342-5 are needed.As far as I know, S7 connection which is defined in active and passive PLCs should be downloaded to both(you need project for both CPUs due to SDB change in both projects ). See the attachmnet for a sample S7 connection. Best regards, Hamid Hosseini |
Last edited by: hdhosseini at: 10/23/2012 5:48 PMLast edited by: hdhosseini at: 10/23/2012 5:46 PM |
|
4/22/2014 12:19 PM | |
Posts: 340 Rating:
|
new question is splittet towhat should I do to set up a master-master communication? 2 plc´s over Profibus. |
10/19/2015 12:03 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4767 Rating:
|
New question published by Hasan1987 is split to a separate thread with the subject Exchage data between two cpus via 342-5 for 315 and IF for 416. Best regards |
6/20/2016 1:41 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4767 Rating:
|
New question published by Latifa is split to a separate thread with the subject Set S7-1200 as a master and s7-1200 as a slave. Best regards |
Follow us on