Skttcprcv - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
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
NJ-series Instructions Reference Manual (W502)
FB/
Graphic expression
FUN
FB
None
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
ST expression
SktTCPRcv_instance(Execute,
Socket, TimeOut, Size, RcvDat,
Done, Busy, Error, ErrorID,
RcvSize);
Valid range
Unit
---
---
0.1 s
Depends on data
type.
0 to 2000
Bytes
Depends on data
---
type.
1 to 2000
Bytes
Times, durations,
dates, and text strings
2
Default
---
0
1
---
---
2-777

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents