315-4PN33

With the SPEED7 CPUs of VIPA there are two possibilities for the
deployment of the communication functions:
n Siemens S7-300 communication functions:
By integration of the function blocks FB 8 ... FB 15 from VIPA you
may access the Siemens S7-300 communication functions.
n Siemens S7-400 communication functions:
For the Siemens S7-400 communication functions the SFB 8 ...
SFB 15 are to be used, which were integrated to the operating
system of the CPU. Here copy the interface description of the
SFBs from the standard library at system function block to the
directory container, generate an instance data block for each call
and call the SFB with the associated instance data block.
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 seg-
mented. Each segment is sent individually to the partner. The last
segment is acknowledged by the partner as it is received, independ-
ently of the calling up of the corresponding FB/SFB/FB BRCV. With
this type of data transfer, more data can be transported between the
communications partners than is possible with all other communica-
tion FBs/SFBs for configured 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 param-
eter 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.
7.10 Configure Open Communication
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, guaranteed delivery is of particular importance.
n In general, many logical connections can exist on one physical
line.
Siemens S7 connection
- Communication func-
tions
Connection-oriented
protocols
VIPA System 300SDeployment Ethernet communication - productive
Configure Open Communication
HB140 | CPU | 315-4PN33 | GB | 14-43 122