Omron CS1W-ETN21 operation manual Ping, Response Block Parameters

Models: CS1W-ETN21

1 285
Download 285 pages 16.7 Kb
Page 206
Image 206

Command/Response Reference

Section 7-3

Results Storage Area (Command)

Precautions

The area in which the results of the command execution are 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 spec- ified.

Any other processing, such as sending or receiving data, being carried out when this close command is executed will be forcibly ended and a code will be stored in the results storage area to indicate that this processing was forcibly ended.

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

 

 

1100

The TCP socket number 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.

 

 

2210

No connection could be established to the specified socket.

 

 

2211

High traffic at Unit; cannot execute service.

 

 

Results Storage Area Response Codes

Response code

Description

 

 

0000

Normal

 

 

7-3-18 PING

Equivalent processing to the UNIX computer PING command (see below).

Command Block

27

20

 

Command Destination IP address

Timeout

code

value

Response Block

27 20

Parameters

Destination IP Address (Command)

Timeout Value (Command)

Command Response

code code

The IP address (in hexadecimal) of the destination node for the PING com- mand echo request packet.

The wait time for the echo reply packet. The value is set in seconds. The time- out time is set at 20 seconds if the value is specified as 0. If the echo reply packet is not received within the set time limit, the code for a timeout error will be set as the results storage response code.

181

Page 206
Image 206
Omron CS1W-ETN21 operation manual Ping, Response Block Parameters, Destination IP Address Command Timeout Value Command