Publication 1766-RM001A-EN-P - October 2008
Socket Interface Using CIP Generic Messaging
487
For details on specific services, see Socket Object Services on page 491.
Message Transfer Sizes
The maximum amount of application data you can send or receive
depends on whether you configure the MSG instruction as connected or
unconnected. The size of the application data does not include the
parameters in the Read and Write services.
For Read/Write service from/to TCP sockets, if the application data is
larger than the maximum size, you can issue multiple Reads or Writes to
receive or send the entire application message.
For Read service from UDP sockets, if the application data is larger than
the maximum size, you can issue multiple Reads to receive the entire
application message.
Error Code(Hex)
See Possible Error Codes for Socket
Services on page 508.
Error Description
See Possible Error Codes for Socket
Services on page 508.
To Address in MultiHop tab
Always specify “127.0.0.1”. The "To
Address" must point to the controller's
Local IP Address.
Data in Send Data tab
This tab shows the Send Data table in CIP
byte order. Some parameters in Socket
Interface services require ASCII string
format.
Use this tab to enter the ASCII string with
ASCII Radix. See OpenConnection on page
495.
Data in Receive Data tab
This tab shows the Receive Data table in
CIP byte order.
Message Parameters
CIP Generic Msg Parameter
Description
Message Transfer Sizes
Service
TCP or UDP
(Configured on the CreateSocket Service parameter)
Maximum Amount of Application Data
(Configured on the Read or Write Service
parameter)
Read
TCP Client/Server
UDP with OpenConnection Service
UDP without OpenConnection Service
240(=252-12) bytes
Write
TCP Client/Server
UDP with OpenConnection Service
UDP without OpenConnection Service
236(=252-16) bytes
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive