Sign in to follow this  
Followers 0
mac_g3

S7-300 communication beetwen two CPU

10 posts in this topic

Hello All. I'm French, and mu English is bad .... sorry. I have two S7-300 PLC's .... the first plc have a cpu315 and the second have cpu315 (old models with key switch selector). I want to make a communication between the cpu's, to get a value from one cpu, and transfer the value to the other cpu, like this : -Read value of MW10 from the cpu315 as cpu source, and transfer this value to in the MW30 inside the cpu313 as the cpu destination. How to make this? Any helps greattly appreciated. Grettings from France, Stéphane.

Share this post


Link to post
Share on other sites
The easiest way is to connect two mpi ports and use the global data option. Without much programming you send and receive a few data words. Another option is to use the simatic communication blocks for mpi comms. Be careful with these functions. For larger applications and fast transfer use a 3152-dp and connect the profibus ports. With simatic sfc's, you have a fast and controlable network with error checking. But for a few data words and minor investmensts use global data. Regards

Share this post


Link to post
Share on other sites
Hello. Thank for your answer. I see in the siemens manual, exists FB14 and FB15. I don't understand how to use .. Anyone can send me a sample programm to understand it ? Thanks, Stéphane.

Share this post


Link to post
Share on other sites
If you have just a few data words I would prefer to use the global data option. You don't need any programming only configuring to communicate.

Share this post


Link to post
Share on other sites
Hello. Thanks for your answer. Then i make a sample project with a cpu315 and cpu313, to transfer the data word MW10 from the cpu315 to the data word MW10 in the cpu313. I have the material in my home to make tests. I send the project built with Step7 v5.4. The project run correctly, the MW10 value from the cpu315 is been moved to the MW10 in the cpu313. The problem that i have ... is i want the transfer is always true .... and i want the transfer is conditional with an input condition ... like this ... i want the transfer of the word only if input E0.0 is true, otherwise if the E0.0 is false, the transfer is not operate. I don't understands how to make the data global settings with conditional. If anyone can help me, any helps is greatly appreciated. Greetings, Stéphane from FRANCE. Com_mpi_.zip

Share this post


Link to post
Share on other sites
That is not possible with global data. But why not send 0 if condition is false and a value when condition is true. Edited by s7xp.com

Share this post


Link to post
Share on other sites
i am trying to achieve this same thing with s7-200s over profibus, and i cannot for the life of me figure out how to have PLC_3 read data from PLC_1 or PLC_2.

Share this post


Link to post
Share on other sites
Recommend a SIEMENS S7-300 PLC 6ES7971-1AA00-0AA0 Lithium battery(LS14250C) for S7-300 PLC with plug 3.6V/0.95AH view it here

Share this post


Link to post
Share on other sites
hi every one, is useful inserting UPS for power of plc s7? I have a problem when power outage occur,and my machine cant start again.this s7 300 control a filling and seaming powder machine.after per power outage and just in one specific position this fault occur.
1 person likes this

Share this post


Link to post
Share on other sites
hi can i download and upload with ethernet cable between pc and plc or no?
1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0