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 ST
OP 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 ST
OP mode.
6.9 Configure Open Communication
Those in the following listed UTDs and FBs serve for "open communication" with other
Ethernet capable communication partners via your user program. These blocks are part
of the Siemens SIMA
TIC Manager. You will find these in the "Standard Library" at "Com-
munication Blocks". Please consider when using the blocks for open communication that
the partner station does not have to be configured with these blocks. This can be config-
ured with AG_SEND/AG_RECEIVE or IP_CONFIG. First you have to establish a hard-
ware configuration of the CPU and Ethernet PG/OP channel before you can use the han-
dling blocks.
Hardware configuration:
n CPU
Ä
Chapter 4.4 ‘Hardware configuration - CPU’ on page 58
n Ethernet PG/OP channel
Ä
Chapter 4.6 ‘Hardware configuration - Ethernet PG/OP channel’ on page 61
To specify the Ethernet PG/OP channel, the following values are defined in the UDT 65:
n local_device_id
– 00h: Ethernet PG/OP channel of the CPU
n next_staddr_len
– 01h: Ethernet PG/OP channel of the CPU
n next_staddr
– 04h: Ethernet PG/OP channel of the CPU
Handling blocks
VIPA System MICRO
Deployment PG/OP communication - productive
Configure Open Communication
HB400 | CPU | M13-CCF0000 | en | 16-47 152