Publication 1766-RM001A-EN-P - October 2008
Socket Interface Using CIP Generic Messaging
509
The values of the extended error code are as the following.
Value
(Hex)
Error Code
Description
01
NO_SOCKET
No socket available with the same instance.
02
NO_BUFFER_AVAILABLE
No Ethernet buffer available.
03
MAX_CONNECTION
Reached to maximum connections.
04
ILLEGAL_SEQUENCE
Socket Interface Sequence is not valid.
05
CONNECTION_BROKEN
TCP connection has been broken when Read or Write operation.
06
ADDR_IN_USE
The port number is in use already.
07
DNS_ERROR
IP address could not be resolved from DNS server.
08
FORCE_BUFFER_RETURN
MSG buffer has been returned while DeleteSocket or
DeleteAllSockets services are executed. Or while the Inactivity
timer is expired.
Reserved
-
10
INVALID_SEND_DATA_SIZE
Invalid send data size in the MSG instruction.
11
INVALID_SERVICE_CODE
Invalid service code in the parameter of the service.
12
INVALID_SOCKET_TYPE
Invalid socket type in the parameter of the service.
13
INVALID_SERVER_TYPE
Invalid server type in the parameter of the service.
14
INVALID_TYPE_CODE
Invalid type code in the parameter of the service.
15
INVALID_FAMILY
Invalid family in the parameter of the service.
16
INVALID_PORT
Invalid port in the parameter of the service.
17
INVALID_ADDRESS
Invalid IP address in the parameter of the service.
18
INVALID_ADDRESS_LENGTH
Invalid address structure length in the parameter of the service.
19
INVALID_DATA_LENGTH
Invalid data length in the parameter of the service.
1A
INVALID_TIMEOUT
Invalid timeout value in the parameter of the service. For more
detail, see Service Timeouts on page 488.
Reserved
-
20
SOCKET_ERROR_CREATE
Socket error during Create operation.
21
SOCKET_ERROR_LISTEN
Socket error during Listen operation.
22
SOCKET_ERROR_BIND
Socket error during Bind operation.
23
SOCKET_ERROR_ACCEPT
Socket error during Accept operation.
24
SOCKET_ERROR_CONNECT
Socket error during Connect operation.
25
SOCKET_ERROR_SEND
Socket error during Send operation.
26
SOCKET_ERROR_RECEIVE
Socket error during Receive operation.
27
SOCKET_ERROR_UNLISTEN
Socket error during Unlisten operation.
28
SOCKET_ERROR_UNBIND
Socket error during Unbind operation.
29
SOCKET_ERROR_UNACCEPT
Socket error during Unaccept operation.
2A
SOCKET_ERROR_DISCONNECT Socket error during Disconnect operation.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive