Publication 1766-RM001A-EN-P - October 2008
488
Socket Interface Using CIP Generic Messaging
For Write service to UDP sockets, the size application data cannot exceed
the maximums listed for Read and Write services.
Service Timeouts
You must specify a Timeout parameter (in milliseconds) for any service
that might not complete immediately (OpenConnection,
AcceptConnection, Read, and Write). The timeout tells the Socket Object
the maximum amount of time it should wait when attempting to complete
the service. While waiting for the service to complete, the MSG instruction
is enabled.
If the requested service does not complete before the Timeout period
expires, the Socket Object returns a response to the service request. See
the service descriptions for the content of the response.
Message Instruction Timeouts
The default MSG instruction timeout is 33 seconds; the maximum MSG
timeout is approximately 146 seconds. Specify the MSG instruction
timeout by setting the appropriate configuration of the Ethernet Channel
Configuration:
•
Msg Connection Timeout : up to 65500 milliseconds.
•
Msg Reply Timeout : up to 65500 milliseconds.
The MSG timeout is determined by adding the Msg Connection Timeout,
Msg Reply Timeout and Default addition time (15 seconds).
Socket Interface Timeouts
Each socket instance has an Inactivity Timeout (default of 30 minutes). If
a socket instance receives no service requests for the amount of time
specified by the Inactivity Timeout, the socket instance is deleted. If you
then try to use the socket instance, the MSG instruction may receive the
error NO_SOCKET or FORCE_BUFFER_RETURN.
IMPORTANT
Make the value of the service Timeout parameter shorter than the
MSG instruction timeout, otherwise application data could be lost.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive