Omron CS/CJ Series Network Card User Manual


 
236
Command/Response Reference Section 11-3
Response Codes
Results Storage Area Response Codes
11-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.
Remarks PING Command
The PING command runs the echoback test using the ICMP protocol. When
the PING command is executed, an echo request packet is sent to the remote
node ICMP. Correct communications are confirmed when the returned
response packet is received normally. The echo reply packet is automatically
returned by the remote node ICMP. Refer to 9-2 PING Command.
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.
Response code Description
0000 Normal
2027
Command
code
Timeout
value
Destination IP address
2027
Command
code
Response
code
Response code Description
0000 Normal (echo reply received from the remote node)
0205 Timeout error
1001 Command too large
1002 Command too small
1100 Zero destination address
220F PING command currently being executed
2211 High traffic at Unit; cannot execute service.