8/19/2009 8:23 AM | |
Posts: 7 Rating: (0) |
Hello All: In the last days i have trying to comunicate 2 siemens PLC through an open TCP communication. Both PLC are a CPU416-3 WITH CP (active) and the other one is a IM158-1 (pasive), and are linked in a profinet network. Here i show both UDT65 Configuration made by the wizard TCP. PLC WITH CPU416-3 WITH CP (active) ID (16#...) 1 DB/UDT UDT65 Connection type TCP/IP Connection name autogen_name_0908170458 Remote IP 192.168.0.100 Remote TSAP / port 2000 Local IP unknown Local TSAP / port 0 active Yes PLC WITH IM158-1 (pasive) ID (16#...) 1 DB/UDT UDT65 Connection type TCP/IP Connection name autogen_name_0908170458 Remote IP 192.168.0.101 Remote TSAP / port 0 Local IP 192.168.0.100 Local TSAP / port 2000 active No I used the SAMPLE OPEN TCP example given by siemens to test if there was communicAtion. I did not suceed. So Wheren can i get a more simple sample o example to get them in touch. Regards Attachmentudt1.pdf (119 Downloads) |
8/20/2009 8:20 AM | |
Posts: 7 Rating: (0) |
Here is the info you requested: S7400: cpu 416-3 v4.1 and CP443-1 V 2.6. Regards Vicente |
8/20/2009 11:39 AM | |
Posts: 5822 Rating: (412)
|
Dear Vicente, sadly you did not mention the order# of the CP you use but from the Version of the Firmware you mention I guess you have a CP 443-1 EX 11. This CP is NOT capable of doing Open TCP Communication, so TCOM does not work with this CP. To do TCP Communication with this CP you will have to use TCP Connections configured with NetPro and AG_SEND / AG_RECEIVE Functions from the SIMATIC NET Lib. Here are some FAQs which may help you to go ahead: How do you configure a TCP connection on the S7 side (CP x43-1)? For programming your AG_LSEND / AG_LRECV you may use also this FAQ: How do you program the communication blocks FC5 and FC6? (FC5 and FC50 / FC6 and FC60 are comparable... but you will need the FC50 / FC60) I hope they will help you. Best regards J_Bell |
8/24/2009 8:59 AM | |
Posts: 7 Rating: (0) |
Thanks for the info. |
Follow us on