(1)| 4/11/2011 1:06 PM | |
|
Posts: 316 Rating:
|
A lot of information you can find on the page of the following link: |
| 4/15/2011 7:57 AM | |
|
Joined: 10/7/2005 Last visit: 12/29/2025 Posts: 3052 Rating:
|
Hello Vikash Jain if you only need to exhange small amount of data (less than about 160 Bytes), the easiest way would be via usage of GET/PUT blocks and below are a couple of examples (the setup in theIM151-8 PN/DP is the same as any other S7-300 PN CPU): How do you program communication blocks FB14 "GET" and FB15 "PUT" for data exchange in the S7 program of an S7-300 CPU? Sample Program: S7 Communication with blocks FB14 ("GET") und FB15 ("PUT") of the CPU 317-2PN/DP If you need to exchange more data,I'd useBSEND/BRECVand below is an example for it: How do you program communication blocks FB12 "BSEND" and FB13 "BRCV" for data exchange in the S7 program of an S7-300 CPU? As analternative, you could also use USEND/URCV and an example for it is below: How do you program communication blocks FB8 "USEND" and FB9 "URCV" for data exchange on the S7-300? If you really must (or want to) go for the OPEN IE communication (e.g.TSEND, TRCV, TCONetc.)you'll find TCP and ISO-on-TCP examples for it below: How do you program the communication blocks FB63 "TSEND", FB64 "TRCV", FB65 "TCON" and FB66 "TDISCON" in order to use the TCP protocol? How do you program the communication blocks FB63 "TSEND", FB64 "TRCV", FB65 "TCON" and FB66 "TDISCON" in order to use the ISO-on-TCP protocol? Last but not least, as you dwelve more into the worls of communcation with S7's, you'll hopefully find the attached compendium useful: CPU-CPU communication with SIMATIC controllers (compendium) I hope this helps |
|
Cheers |
|
| 4/15/2011 5:11 PM | |
|
Posts: 947 Rating:
|
Hello Vikash Jain little additional info: New wersion ET200S and CPU Pn/DP can exchange by profinet as master (CPU) - slave (IM151-8) same Profibus |
| 7/12/2011 11:13 AM | |
|
Posts: 2 Rating:
|
do you have HW config example for this? |
| 11/15/2019 10:19 AM | |
|
Posts: 1 Rating:
|
I was having the same problem. It works when you load the configuration to both plc. |
Follow us on