5/3/2008 9:46 PM | |
Posts: 5822 Rating:
|
Hello, I am sorry but LAD is not the language with the most samples available. I hope that this FAQ will still help you to get the Connection you look for and the program you want to use. Configuring a TCP connection via Ethernet (TCP native) between a SIMATIC S7 and a PC with Socket Interface The sample program is in FUP: How do you program the communication blocks FC5 and FC6? Best regards J_Bell |
5/3/2008 11:46 PM | |
Joined: 1/7/2006 Last visit: 11/17/2023 Posts: 2705 Rating:
|
Hi, It is depending on the CPU you are using... If you use a PN-CPU then you couls use the wizard.... Generating the Connection Data for the open TCP/IP Communication using the Open Communication Wizard If you use another CPU with a Communication Processor then there a lot of examples.... see the links of J_Bell and a lot of others. |
I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
5/4/2008 12:42 PM | |
Joined: 5/24/2007 Last visit: 4/24/2024 Posts: 284 Rating:
|
Hi, Attachmentwinsocktester-source-0.0.6.zip (1434 Downloads) |
5/5/2008 11:44 AM | |
Posts: 80 Rating:
|
Hi! one more problem: where do I config the destination IP address and the destination Port for AG_SEND? thanks pici_c |
5/5/2008 12:26 PM | |
Joined: 8/25/2005 Last visit: 7/5/2024 Posts: 1161 Rating:
|
Hi pici_c, have you seen the FAQ J_Bell offered? Configuring a TCP connection via Ethernet (TCP native) between a SIMATIC S7 and a PC with Socket Interface There are detailed information about the configuration which has to be done. Just have a look at it. Best regards Sabine |
7/16/2009 10:23 AM | |
Posts: 27 Rating:
|
Hello Krish, Thanks for your programat first. But I have some question when used the "Winsock Tester v0.0.6". Please give me some advices. I used How do you program the communication blocks FC5 and FC6?this example and your program to make the test. After config the PLC, I used mylaptop ping the PLC(CPU 315-2 DP + CP343-1 IT),Itis OK. Then I open Winsock Tester v0.0.6 and run it to connectto PLC, then it give me "Connected on 192.168.0.59 - 80 Connecting to 192.168.0.32 - 2000 Connected to 192.168.0.32 - 2000 0 - Winsock Err #10053 - Connection is aborted due to timeout or other failure" the 192.168.0.59 is IP of my laptop,192.168.0.32 is IP of PLC. Could you give some info. Thanks! |
Follow us on