MSG delete socket error

durioner

Member
Join Date
Feb 2019
Location
Lodz
Posts
2
Hi guys,
I have a problem with delete socket message. I'm connecting GuardLogix 5580 with device without ESD file. PLC is a client, the device is a server. During the connection. delete socket message is showing error 16#0002 or 16#0005. The first one is resource unavailable, second one class or instance not supported.
Can anyone help me?
Connection is made by using 1756-EN2TR.
 
Last edited:
It's impossible to help without seen your code.
16#0005 errors are probably because socket already closed or does not exist. Are you getting any extended codes?
16#0005 is actually in the manual.
Socket can be closed due to timeout, by peer or another Delete message, including Delete All.

16#0002 is also in the manual and is pointing to the delete request while Read or Write still active on the same socket.

I would recommend to use an AOI sockets code from the knowledge base. it will save you time.
 
Can you please copy the link to the AOI that you are using?
I'm using currently the code for T_COMM block, I have found it on Siemens site.
 
Make sure the instance of deleting the socket is the same instance you've created and opened the socket with.
 

Similar Topics

I'm using a SLC typed write from the ControlLogix5572 to the MicroLogix 1400, with path: 2, (MicroLogix IP). The ControlLogix equipment has a...
Replies
0
Views
27
I have an 1769-L16ER that I use to test code and I just found that I can't create MSG tags at the local program scope - they have to be done at...
Replies
4
Views
189
I have a client who periodically experiences network communication issues. Sometimes when I VPN into the site, their SCADA systems will flash comm...
Replies
2
Views
163
I'm trying to read/write to an SLC5 with a ControlLogix L71 V35 plc that fails. The exact same code works on an L82S with V32. Is there a known...
Replies
10
Views
285
Hello all, I am currently trying to establish a message instruction to pass data from a 1756-L73 to a 1756-L71. My communication path from the...
Replies
8
Views
329
Back
Top Bottom