CP 343-1 Siemens

M

Thread Starter

Mickael CHAPON

Hello,

I have a module CP 343-1 (6GK7 343-1EX20-0XE0) connected to a PC.

My PC:
- Windows 2000
- Visual Basic 6.0
- OCX Winsock

My CP 343-1:
-Link TCP:
Active connection establishment = no check
Local IP = 192.168.87.72
Local Port = 2000
Partner IP = null
Partner port = null
Mode = SEND/RECV

My Problem: A link TCP is etablished between PC (client) and CP 343-1 (server). When trying to disconnect (from PC), the link is closed on the PC side but still remains active on CP 343-1 , even when the cable is disconnected.
Do you have a solution for a "clean" link termination?
 
M
May be it wouldn't be a clean link breakup, but you can just exchange heartbits between processors, and in case of no response, call a procedure in your PLC program to break the link.
 
Top