EasyManuals Logo

Anybus CompactCom 40 EtherNet/IP User Manual

Anybus CompactCom 40 EtherNet/IP
198 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #119 background imageLoading...
Page #119 background image
119
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
Command Details: Receive_From
Category
Extended
Details
Command Code.: 16h
Valid for: Instance
Description
This command receives data from an unconnected SOCK_DGRAM-socket. Message segmentation
may be used to receive up to 1472 bytes (see “Message Segmentation” on page 189).
The module will return the requested amount of data from the next received datagram. If the datagram
is smaller than requested, the entire datagram will be returned in the response message. If the datagram
is larger than requested, the excess bytes will be discarded.
The response message contains the IP address and port number of the sender.
NON-BLOCKING mode:
If no data is available on the socket, the error code 0006h (EWOULDBLOCK) will be returned.
BLOCKING mode:
The module will not issue a response until the operation has finished.
Command Details
Response Details
Note: The data in the response may be segmented (see “Message Segmentation” on page 189).
Field Contents Notes
CmdExt[0] (reserved) (set to zero)
CmdExt[1] Segmentation Control bits see “Command Segmentation” on page 190
Data[0] Receive data size (low) Only used in the first segment
Data[1] Receive data size (high)
Field Contents Notes
CmdExt[0] (reserved) (set to zero)
CmdExt[1] Segmentation Control bits see “Response Segmentation” on page 191
Data[0] Host IP address byte 3 (low) The host address/port information is only included
in the first segment. All data thereafter will 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] Received data

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Anybus CompactCom 40 EtherNet/IP and is the answer not in the manual?

Anybus CompactCom 40 EtherNet/IP Specifications

General IconGeneral
BrandAnybus
ModelCompactCom 40 EtherNet/IP
CategoryControl Unit
LanguageEnglish

Related product manuals