7/29/2009 10:45 AM | |
Joined: 10/7/2005 Last visit: 12/12/2024 Posts: 3029 Rating: (1057) |
Hello autom25 you can use TCP connections, but it will have to be done via the so called "Open Ethernet connection" rather than aNETPRO configured conection. Have a look at these two links which I trust will help: What are the commonalities and differences between configured communication connections and the open Ethernet communication? Wizard for creating connection data for open TCP/IP communication. (Open Communication Wizard) By the way, should your comms partner be another S7 PLC, I'd recommend to configure a so called S7 connection though and use GET/PUT, or BSEND/BRECV and/or USEND/URECV comms blocks. |
Cheers |
|
This contribution was helpful to1 thankful Users |
7/29/2009 9:08 PM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating: (309) |
Hello, |
Best regards |
|
7/30/2009 2:34 AM | |
Joined: 10/7/2005 Last visit: 12/12/2024 Posts: 3029 Rating: (1057) |
Hello again autom25 Status 7002 means that it is "stuck" in trying to establish the connection (which you probably know already). The problem could be a misconfiguration on the S7 side but also on the partners side. Apart from edr's suggestions (which is good but requires a bit of protocol evalution skills), I'd suggest to trial a few things first. Have a look at the link below which has an expample project and also contains a Function (FC97) which can aid in trialingdifferent connection configurations (a Variable Table will of course work just as well, but by using this FC you can be sure that the connection parameters will be "harcoded" into the DB): How do you program the communication blocks FB63 "TSEND", FB64 "TRCV", FB65 "TCON" and FB66 "TDISCON" in order to use the TCP protocol for data exchange via the integrated Industrial Ethernet interface of an S7-300 or S7-400 CPU? I hope this helps and good luck |
Cheers |
|
Follow us on