Udp Open Request - Omron CS1W-ETN01 Operation Manuals

Sysmac cs1 series ethernet unit
Hide thumbs Also See for CS1W-ETN01:
Table of Contents

Advertisement

Command/Response Reference

11-3-9 UDP OPEN REQUEST

Command Block
Response Block
Results Storage Format
Parameters
UDP Socket Number
(Command)
Results Storage Area
(Command)
Local UDP Port Number
(Command)
Response Codes
Results Storage Area Response Codes
Requests processing to open a socket.
27
01
Command
UDP
Results storage area
code
socket
number
27
01
Command
Response
code
code
Results storage
response code
The UDP socket number to be opened specified as 2 bytes 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 192 for
details about the variable types and addresses that can be specified.
The UDP port number for communications with the socket is specified as 2 bytes
(0 cannot be specified). Packets received at this port are distributed to the socket
specified in the UDP socket number, and send packets are distributed from the
UDP socket to this port. The port number specified as the FINS UDP port num-
ber (default value 9600) cannot be used.
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
UDP socket number is out of range.
Local UDP 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
Specified socket is already open or is being closed.
2211
High traffic at Unit; cannot execute service.
Response code
0000
Normal
003E
Internal buffer cannot be reserved due to high receive load
(ENOBUFS).
0049
Duplicate UDP port number (EADDRINUSE).
Section
Local UDP
port number
Description
Description
11-3
199

Advertisement

Table of Contents
loading

Table of Contents