121
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
Command Details: Send_To
Category
Extended
Details
Command Code.: 18h
Valid for: Instance
Description
This command sends data to a specified host on an unconnected SOCK_DGRAM-socket. Message seg-
mentation may be used to send up to 1472 bytes (see “Message Segmentation” on page 189).
• Command Details
Note: To allow larger amount of data (i.e. >255 bytes) to be sent, the command data may be
segmented (see “Message Segmentation” on page 189).
• Response Details
Field Contents Notes
CmdExt[0] (reserved) (set to zero)
CmdExt[1] Segmentation Control see “Command Segmentation” on page 190
Data[0] Host IP address byte 3 (low) The host address/port information shall only be
included in the first segment. All data thereafter
must start at Data[0]
Data[1] Host IP address byte 2
Data[2] Host IP address byte 1
Data[3] Host IP address byte 0 (high)
Data[4] Host port number (low)
Data[5] Host port number (high)
Data[6...n] Data to send
Field Contents Notes
CmdExt[0] (reserved) (ignore)
CmdExt[1]
Data[0] Number of sent bytes (low) Only valid in the last segment
Data[1] Number of sent bytes (high)