![Anybus CompactCom 40 Common Ethernet Скачать руководство пользователя страница 77](http://html1.mh-extra.com/html/anybus/compactcom-40-common-ethernet/compactcom-40-common-ethernet_design-manual_2948756077.webp)
75 (104)
Command Details: Send
Category
Extended
Details
Command Code
17h
Valid for:
Instance
Description
This command sends data on a connected socket. Message segmentation may be used to send up to 1472
bytes (For more information, see
NON-BLOCKING mode:
If there isn’t enough buffer space available in the send buffers, the module will respond with
error code 0006h (EWOULDBLOCK)
BLOCKING mode:
If there isn’t enough buffer space available in the send buffers, the module will block until
there is.
•
Command Details
To allow larger amount of data (i.e. >255 bytes) to be sent, the command data may be segmented (For
more information, see
).
Field
Contents
Comments
CmdExt[0]
(reserved)
(set to zero)
CmdExt[1]
Segmentation Control
(For more information, see
Data[0...n]
Data to send
-
•
Response Details
Field
Contents
Comments
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)
Anybus
®
CompactCom
™
40 Common Ethernet Design Guide
HMSI-27–269 2.1