9/23/2015 8:56 AM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating: (1051) |
hi, see following FAQ with aplication sample: How do you configure and program an S7 connection and the FB15 "PUT" und FB14 "GET" function blocks for data transfer between an S7-1200 CPU and an S7-300 CPU?for further help we need more information about your programm and configuration.hope this helps,regards, |
FCK WAR! |
|
9/23/2015 10:38 AM | |
Posts: 160 Rating: (9) |
Tblocks ?! Janko |
9/23/2015 12:09 PM | |
Joined: 9/27/2013 Last visit: 5/25/2023 Posts: 39 Rating: (0) |
Thank you for your responce All i am trying to do is just transfer one byte of data from S7 300 to S7 1200 plz have a look i am attaching my project. and both plcs are online..but data is not sharing with each other Regards SD Attachmenttesting.rar (566 Downloads) |
9/28/2015 6:51 AM | |
Joined: 9/27/2013 Last visit: 5/25/2023 Posts: 39 Rating: (0) |
Dear MOP How are you? i hope you are doing well and i want to thank you for all your help but i am sorry to inform you that i cant resolve my issue :( i need your help again, i have established a connection as you say and modified the project with PUT/GET blocks but still i am not able to send a byte from s7-300 and recieve it on s7-1200.. i am enclosing my project file and S7-Connection Screen shot . please have a look and assist me. Looking forward for your reply Thanx Regards SD Attachmenttesting.rar (515 Downloads) |
9/29/2015 8:59 AM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating: (1051) |
hi SdSady, first scan is not the solution. When there is a positive edge on REQ it will read(GET) once or write(PUT)once. For updating the values continuosly use clock marker. See following FAQ to see how it work in TIA. It is almost the same. But in this FAQ there is a sequencing to read/write more than 160Byte per request. How do you program the "GET" and "PUT" instructions in the user program of the SIMATIC S7-1200 CPU in order to transfer more than 160 bytes of data?hope this helps,regards, |
FCK WAR! |
|
9/29/2015 12:27 PM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating: (1051) |
hi SDSady, As you can see in following manual, page 97, the S7-300 with CP343-1-Lean can only be Server for the S7-1200. So you have to establish connection as before(see the first FAQ), but use PUT/GET only on S7-1200-side. CPU-CPU Communication with SIMATIC Controllershope this helps, regards, |
FCK WAR! |
|
1/23/2016 10:23 PM | |
Posts: 4 Rating: (0) |
Dear MOP Hi First of all I want to thank to you for your kind attention and above replies. I have the same Problem, I've done all of the Configuration, and I attached my project. But the status word and error in put/get function in set to one, on both side. and I don't know how to solve the problem. there exist another ambiguity when I'm doing the configuration. I'm not sure that how to config the S7_connection on both side. I mean is it neccessary to config the S7_connection that exist in put/ get Properties tap for both side? ( I should mention that in the attached project just I have done the configuration for P1 and stat1 PLCs, But i face with some errors.) That will be grate to help me more to solve this problem. AttachmentS7_COMMUNICATION.rar (419 Downloads) |