beautypg.com

Udp send request, 3-11 udp send request, Precautions – Omron CS1W-ETN21 User Manual

Page 194: Response codes results storage area response codes

background image

169

Command/Response Reference

Section 7-3

Number of Reception
Bytes (Command, Results
Storage Area)

The maximum number of bytes of data to be received is given in the com-
mand. The number of bytes of data received will be stored in the results stor-
age area. Up to 1,984 bytes can be specified.

Timeout Value (Command)

The maximum control time between receiving the receive request and storing
the result. If this set time limit is exceeded, the code for a timeout error will be
set as the results storage response code. The value is set in units of 0.1 s.
The timeout time will be unlimited if the value is set to 0.

Source IP Address
(Results Storage Area)

The IP address of the node sending data is stored in hexadecimal.

Source UDP Port Number
(Results Storage Area)

The port number of the node sending data.

Received Data (Results
Storage Area)

The data sent from the remote node.

Precautions

If a packet is received which contains more bytes than the number specified in
Number of reception bytes specified in the command, the specified number of
bytes will be stored and the remainder of the bytes will be discarded.

Response Codes

Results Storage Area Response Codes

7-3-11 UDP SEND REQUEST

Requests that data be received by a UDP socket.

Response code

Description

0000

Normal

0105

IP address setting error

0302

CPU Unit error; execution not possible.

1001

Command too large

1002

Command too small

1100

UDP socket number or number of reception bytes is out of
range.

1101

The variable type for the results storage area is out of range.

1103

Non-zero bit address specified for the results storage area.

220F

The specified socket is currently receiving data.

2210

The specified socket is not open.

2211

High traffic at Unit; cannot execute service.

Response code

Description

0000

Normal

003E

Internal buffer cannot be reserved due to high reception load
(ENOBUFS).

0066

Internal memory cannot be allocated; cannot execute service.

0080

A receive request timeout error occurred.

0081

The specified socket was closed while receiving data.