Omron CJ1W-ETN21 - 04-2009 Operation Manual page 201

Ethernet units construction of networks
Table of Contents

Advertisement

Command/Response Reference
Timeout Value (Command)
Remote IP Address
(Command, Results
Storage Area)
Remote Port Number
(Command, Results
Storage Area)
Precautions
Response Codes
Results Storage Area Response Codes
176
The maximum control time between receiving the open request and storing
the result. If this set time limit is exceeded, the code for a timeout error will be
set as the results storage response code. The value is set in units of 0.1 s.
The timeout time is unlimited if the value is set to 0.
Specify the remote node's IP address. If all zeroes are set, no remote node is
specified and connection is awaited from any node. If any other value is set,
connection is awaited from the specified remote node. The IP address of the
connected remote node will be stored in the results storage area.
Specify the remote TCP port number with this command. If all zeroes are set,
no remote TCP port number is specified. If any other value is set, it specifies
the TCP port number of the remote node. The TCP port number of the con-
nected remote node will be stored in the results storage area.
Processing varies as shown in the table below according to the specified
combination of remote IP address and remote TCP port number.
Remote IP address
Remote TCP port
0
0
0
Not 0
Not 0
0
Not 0
Not 0
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
TCP socket number is out of range.
Local TCP port number is 0.
1101
The variable type for the results storage area is out of range.
1103
Non-zero bit address specified for the results storage area.
220F
The specified socket (connection) is already open or is cur-
rently being opened.
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
003E
Internal buffer cannot be reserved due to high reception load
(ENOBUFS).
0042 (see note)
An error occurred (EMSGSIZE).
0045
A communication error occurred with the remote node
(ECONNABORTED).
Section 7-3
Description
All connection requests received
Received only when port number
matches.
Received only when IP address
matches.
Received only when IP address and
port number matches.
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents