6/30/2009 2:18 AM | |
Posts: 73 Rating: (20) |
Hello PC4, X_GET and X_PUT can be used on the MPI port. The PLC requiring data from another PLC can simply run the X_GET. There is no programming on the other PLC. One of the parameters for X_Get VAR_ADDR which is the remote data address where you want to get data from. There is a very good example at http://support.automation.siemens.com/WW/view/en/747743 You will also find information on this in Step7. Go to START>SIMATIC>DOCUMENTATION> System Software for S7-300/400 System and Standard Functions. Chapter 22. |
This contribution was helpful to1 thankful Users |
6/30/2009 8:56 AM | |
Joined: 5/28/2008 Last visit: 12/11/2024 Posts: 4517 Rating: (840) |
Hello, There's another simple method for establish a communication ebtween 2 CPUs via MPI. It's called Global Data Communication "GD-communication". Here's in this thread a lot of details on how you can implement the GD-communication. Also have a look on the following FAQs: Basic communication between CPUs with global data What properties, advantages and special features does the global data communication offer? Regard, |
Last edited by: Ayman Elotaify at: 6/30/2009 8:57 AMAyman Elotaify |
|
7/1/2009 8:44 PM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating: (309) |
Hello, you could also declare one CPU315 as DP Master, and the second CPU315 as DP Slave. You can configure in the HWconfig the second CPU as intelligent slave I-slave (=configured station in HW config) of the firts CPU. And declare a range of bytes that are exchanged like I/O bytes between both systems. Here an example (where the Master is an S7-400, but the basic settings remain the same). http://support.automation.siemens.com/WW/view/en/6518822 |
Best regards |
|
7/1/2009 8:55 PM | |
Posts: 8946 Rating: (999) |
No! But the MPI adress must be different form the adress of your PLC. |
Follow us on