Skttcprcv - Omron NY532-5400 Reference Manual

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

Advertisement

SktTCPRcv

The SktTCPRcv instruction reads the data from the receive buffer for a TCP socket for the built-in Eth-
erNet/IP.
Instruction
Name
SktTCPRcv
TCP Socket
Receive
Variables
Name
Meaning
Socket
Socket
TimeOut
Timeout time
Size
Stored size
RcvDat[]
Receive data
(array)
RcvSize
Receive data
size
Bit strings
Socket
TimeOut
Size
RcvDat[]
OK
(array)
RcvSize
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
FB
SktTCPRcv_instance
SktTCPRcv
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
Output
The number of bytes actually
stored in RcvDat[]
Integers
Refer to Function for details on the structure _sSOCKET.
OK
OK
OK
2 Instruction Descriptions
SktTCPRcv_instance(Execute,
Socket, TimeOut, Size, RcvDat,
Done, Busy, Error, ErrorID,
Done
RcvSize);
Busy
Error
ErrorID
RcvSize
Valid range
---
Depends on data
type.
0 to 2000
Depends on data
type.
1 to 2000
ST expression
Unit
Default
---
---
0.1 s
0
Bytes
1
---
---
Bytes
---
Times, durations, dates,
and text strings
2-1071
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents