8.1.4 FB 64 - TRCV - Receiving Data - TCP native and ISO on TCP
FB 64 TRCV receives data over an existing communication connection. The are two var-
iants available for receiving and processing the data:
n Variant 1: Received data block is processed immediately.
n Variant 2: Received data block is stored in a receive buffer and is only processed
when the buffer is full.
The following table shows the relationships between the connection type is shown in the
following table:
Connection type Variant
01h and 11h The user can specify the variant.
12h Variant 2 (fix)
The two variants are more described in the following table.
Received Data
...
Range Values for
LEN
Range Values
for RCVD_LEN
Description
are available immediately. 0 1 ... x The data go into a buffer
whose length x is specified
in the ANY pointer of the
receive buffer (DATA param-
eter).
After being received, a data
block is immediately avail-
able in the receive buffer.
The amount of data
received (RCVD_LEN
parameter) can be no
greater than the size speci-
fied in the DATA parameter.
Receiving is indicated by
NDR = 1.
are stored in the receive
buffer. The data are avail-
able as soon as the config-
ured length is reached.
1 ... 1460, if the
connection type = 01h
1 ... 8192, if the
connection type = 11h
1 ... 1452, if the
connection type = 12h and a
CP is being used
1 ... 8192, if the
connection type = 12h and
no CP is being used
Same value as in the LEN
parameter
The data go into a buffer
whose length is specified by
the LEN parameter. If this
specified length is reached,
the received data are made
available in the DATA
parameter
(NDR = 1).
Description
VIPA SPEED7
Network Communication
Open Communication > FB 64 - TRCV - Receiving Data - TCP native and ISO on TCP
HB00 | OPL_SP7 | Operation list | en | 18-30 118