Function blocks
FB/SFB
Label
Description
FB/SFB 12
BSEND
Sending data in blocks:
FB/SFB 12 BSEND sends data to a remote partner FB/SFB of the type BRCV
(FB/SFB 13). The data area to be transmitted is segmented. Each segment is sent
individually to the partner. The last segment is acknowledged by the partner as it is
received, independently of the calling up of the corresponding FB/SFB/FB BRCV.
With this type of data transfer, more data can be transported between the communi-
cations partners than is possible with all other communication FBs/SFBs for config-
ured S7 connections, namely 65534bytes.
FB/SFB 13
BRCV
Receiving data in blocks:
The FB/SFB 13 BRCV can receive data from a remote partner FB/SFB of the type
BSEND (FB/SFB 12). The parameter R_ID of both FB/SFBs must be identical. After
each received data segment an acknowledgement is sent to the partner FB/SFB and
the LEN parameter is updated.
FB/SFB 14
GET
Remote CPU read:
The FB/SFB 14 GET can be used to read data from a remote CPU. The respective
CPU must be in RUN mode or in STOP mode.
FB/SFB 15
PUT
Remote CPU write:
The FB/SFB 15 PUT can be used to write data to a remote CPU. The respective
CPU may be in RUN mode or in STOP mode.
6.9 Configure Open Communication
You can use
Open Communication
to communicate with other users on the Ethernet via
your user program. For this the following protocols are available.
n
Connection-oriented protocols establish a (logical) connection to the communication
partner before data transmission is started.
n
And if necessary they terminate the connection after the data transfer was finished.
n
Connection-oriented protocols are used for data transmission when reliable, guaran-
teed delivery is of particular importance.
n
In general, many logical connections can exist on one physical line.
Connection-oriented pro-
tocols
VIPA System MICRO
Deployment PG/OP communication - productive
Configure Open Communication
HB400 | CPU | M13-CCF0000 | en | 18-50
176