Udp Receive 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-10

UDP RECEIVE REQUEST

Command Block
Response Block
Results Storage Format
Parameters
UDP Socket Number
(Command)
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
200
Requests that data be sent from a UDP socket.
27
02
Command
UDP
Results storage area
code
socket
number
27
02
Command
Response
code
code
Results
Source IP
storage
address
response
code
The UDP socket number to receive data 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 maximum number of bytes of data to be received is given in the command.
The number of bytes of data received will be stored in the results storage 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 time-
out time will be unlimited if the value is set to 0.
The IP address of the node sending data.
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.
Number of
Timeout
reception
value
bytes
Source
Number of
Received data
UDP port
reception
number
bytes
Section
11-3
Received bytes

Advertisement

Table of Contents
loading

Table of Contents