Ping - Omron CS Series Operation Manual

Ethernet units construction of networks
Hide thumbs Also See for CS Series:
Table of Contents

Advertisement

Command/Response Reference
Parameters
Socket Option (Command)
TCP Socket Number
(Command)
Results Storage Area
(Command)
Precautions
Response Codes
Results Storage Area Response Codes

7-3-18 PING

Command Block
184
The socket option specified as 1 byte. The setting is not valid for this com-
mand. Set to 0.
The TCP socket number to be closed specified as 1 byte between 1 and 8.
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 160 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 forc-
ibly ended.
Response code
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.
2240
Socket service mode is incorrect; cannot execute service.
(With unit version 1.5 or later, the high-speed socket service
option was enabled and a socket service was used with a
CMND(490) instruction.)
Response code
0000
Normal
Equivalent processing to the UNIX computer PING command (see below).
27 20
Command
Destination IP address
code
Description
Description
Timeout
value
Section 7-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj seriesCj1w-etn21

Table of Contents