Omron CS Series Operation Manual page 197

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

Advertisement

Command/Response Reference
Results Storage Area
(Command)
Number of Reception
Bytes (Command, Results
Storage Area)
Timeout Value
(Command)
Source IP Address
(Results Storage Area)
Source UDP Port Number
(Results Storage Area)
Received Data (Results
Storage Area)
Precautions
Response Codes
Results Storage Area Response Codes
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.
The maximum number of bytes of data to be received is given in the com-
mand. The number of bytes of data received will be stored in the results stor-
age area. Up to 1,984 bytes can be specified.
The maximum control time between receiving the receive 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 will be unlimited if the value is set to 0.
The IP address of the node sending data is stored in hexadecimal.
The port number of the node sending data.
The data sent from the remote node.
If a packet is received which contains more bytes than the number specified in
Number of reception bytes specified in the command, the specified number of
bytes will be stored and the remainder of the bytes will be discarded.
Response code
0000
Normal
0105
IP address setting error
0302
CPU Unit error; execution not possible.
1001
Command too large
1002
Command too small
1100
UDP socket number or number of reception bytes 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.
220F
The specified socket is currently receiving data.
2210
The specified socket is not open.
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).
0066
Internal memory cannot be allocated; cannot execute service.
0080
A receive request timeout error occurred.
0081
The specified socket was closed while receiving data.
Section 7-3
Description
Description
171

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj seriesCj1w-etn21

Table of Contents