Command/Response Reference

Section 7-3

Command Block

27

03

 

 

 

Command

Results storage area Destination IP address Destination

Number of

code

UDP socket number

UDP

bytes sent

 

 

port number

 

 

 

 

 

Socket option

Response Block

27 03

Command Response

code code

Results Storage Format

Response

Number of

code

bytes sent

1984 bytes max.

Send data

Parameters

Socket Option (Command)

UDP Socket Number (Command)

Results Storage Area (Command)

Destination IP Address (Command)

Destination UDP Port Number (Command)

Number of Bytes Sent

(Command, Results

Storage Area)

Send Data (Command)

The socket option specified as 1 byte. The setting is not valid for this com- mand. Set to 0.

The UDP socket number to send the data specified as 1 byte between 1 and 8.

The area in which the result of the command execution is stored. The first byte specifies the memory area and data type (variable type). The 2nd to 4th bytes specify the beginning address of the results storage area. Refer to page 158 for details about the variable types and addresses that can be specified.

The IP address of the node to which data is being sent is specified in hexa- decimal.

The UDP port number of the node to which data is being sent.

The number of bytes in the data sent by this command. Up to 1,984 bytes can be specified, or up to 1,472 bytes can be specified if the broadcast address is specified as the send destination. The results storage area stores the actual number of bytes sent.

Specifies the data sent to the remote node.

Response Codes

Response code

Description

 

 

0000

Normal

 

 

0105

Local IP address setting error

 

 

0302

CPU Unit error; execution not possible.

 

 

1001

Command too large

 

 

1002

Command too small

 

 

1003

The number of bytes sent does not match the sent data

 

length.

170

Page 195
Image 195
Omron CS1W-ETN21 operation manual 170