Udp Open Request - Omron CS Series Operation Manual

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

Advertisement

Command/Response Reference
7-3-9

UDP OPEN REQUEST

Command Block
Response Block
Results Storage Format
Parameters
Socket Option (Command)
UDP Socket Number
(Command)
Results Storage Area
(Command)
Local UDP Port Number
(Command)
Response Codes
Requests processing to open a socket.
27 01
Results storage area
Command code
UDP socket number
Socket option
27 01
Command
Response
code
code
Results storage
response code
The socket option specified as 1 byte. The setting is not valid for this com-
mand. Set to 0.
The UDP socket number to be opened 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.
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 distrib-
uted from the UDP socket to this port.
The following ports for the Ethernet Unit's communications services cannot be
specified.
• UDP port No. used for FINS (Default: 9600)
• UDP port No. used for DNS server access (Default: 53)
• UDP port No. used for SNTP server access (Default: 123)
Response code
0000
Normal
0105
Local IP address setting error
0302
CPU Unit error; execution not possible.
1001
Command too large
Local UDP
port number
Description
Section 7-3
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj seriesCj1w-etn21

Table of Contents