Omron CS1W-ETN21 operation manual UDP Send Request, Results Storage Area Response Codes

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 194
Image 194

Command/Response Reference

Section 7-3

Number of Reception

Bytes (Command, Results

Storage Area)

Timeout Value (Command)

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.

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

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

(Results Storage Area)

 

Source UDP Port Number

The port number of the node sending data.

(Results Storage Area)

 

Received Data (Results

The data sent from the remote node.

Storage Area)

 

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

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.

 

 

Results Storage Area Response Codes

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.

 

 

7-3-11 UDP SEND REQUEST

Requests that data be received by a UDP socket.

169

Page 194
Image 194
Omron CS1W-ETN21 UDP Send Request, Results Storage Area Response Codes, Requests that data be received by a UDP socket