Sktudprcv - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

SktUDPRcv

The SktUDPRcv instruction reads the data from the receive buffer for a UDP socket for the built-in Eth-
erNet/IP.
Instruction
Name
SktUDPRcv
UDP Socket
Receive
Variables
Name
Meaning
Socket
Socket
TimeOut
Timeout time
Size
Stored size
RcvDat[]
Receive data
(array)
RcvSize
Receive data
size
SendNodeA
Source node
dr
address
Bit strings
Socket
TimeOut
Size
RcvDat[]
OK
(array)
RcvSize
SendNo-
deAdr
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
FB
SktUDPRcv_instance
SktUDPRcv
Execute
Socket
TimeOut
Size
RcvDat
I/O
Description
Socket
0: No timeouts
Input
1 to 65535: 0.1 to 6553.5s
The number of bytes to read
from the receive buffer
In-out
Receive data
The number of bytes actually
stored in RcvDat[]
Output
Source node address
Integers
Refer to Function for details on the structure _sSOCKET.
OK
OK
OK
Refer to Function for details on the structure _sSOCKET_ADDRESS.
2 Instruction Descriptions
SktUDPRcv_instance(Execute,
Socket, TimeOut, Size, RcvDat,
Done, Busy, Error, ErrorID,
Done
RcvSize, SendNodeAdr);
Busy
Error
ErrorID
RcvSize
SendNodeAdr
Valid range
---
Depends on data
type.
0 to 2000
Depends on data
type.
0 to 2000
---
ST expression
Unit
Default
---
---
0.1 s
0
Bytes
1
---
---
Bytes
---
---
Times, durations, dates,
and text strings
2-1053
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents