mac_g3 Posted March 25, 2007 Report Posted March 25, 2007 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. Quote
s7xp.com Posted March 25, 2007 Report Posted March 25, 2007 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 Quote
mac_g3 Posted March 25, 2007 Author Report Posted March 25, 2007 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. Quote
s7xp.com Posted March 25, 2007 Report Posted March 25, 2007 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. Quote
mac_g3 Posted March 25, 2007 Author Report Posted March 25, 2007 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 Quote
s7xp.com Posted March 25, 2007 Report Posted March 25, 2007 (edited) That is not possible with global data. But why not send 0 if condition is false and a value when condition is true. Edited March 25, 2007 by s7xp.com Quote
krimson Posted October 31, 2007 Report Posted October 31, 2007 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. Quote
koollse Posted May 4, 2015 Report Posted May 4, 2015 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 Quote
hamid4253 Posted July 10, 2015 Report Posted July 10, 2015 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 Quote
hamid4253 Posted July 10, 2015 Report Posted July 10, 2015 hi can i download and upload with ethernet cable between pc and plc or no? 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.