Ping, 3-18 ping, Precautions – Omron CS1W-ETN21 User Manual
Page 206: Response codes results storage area response codes, Command block response block parameters

181
Command/Response Reference
Section 7-3
Results Storage Area
(Command)
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.
Precautions
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
Results Storage Area Response Codes
7-3-18 PING
Equivalent processing to the UNIX computer PING command (see below).
Command Block
Response Block
Parameters
Destination IP Address
(Command)
The IP address (in hexadecimal) of the destination node for the PING com-
mand echo request packet.
Timeout Value (Command)
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.
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.
Response code
Description
0000
Normal
Destination IP address
Timeout
value
Command
code
27 20
Response
code
Command
code
27 20