Entry type: FAQ, Entry ID: 38549114, Entry date: 07/22/2013
(3)
Rate

What are the system limits in an F CPU for safe bidirectional data communication using S7 Communication?

  • Entry
  • Associated product(s)

Description
This entry gives you an overview of the system limits of S7 Communication.

The following figures show the basic configuration of S7 Communication between F CPUs over Industrial Ethernet. Bidirectional data communication is via an S7 connection.


Fig. 01

Alternatively, bidirectional data communication can be via two separate S7 connections. In this way, you can structurally separate the send and receive channels, for example.


Fig. 02

The system limit of S7 Communication is determined by the following parameters:

  • Max. number of connections supported by the CPU.
  • Max. number of S7 connections that can be configured per interface.
  • Max. number of instances supported by the CPU.

Max. number of connections supported by the CPU
The following table shows the maximum number of connections supported by the F CPUs.
 

F CPU Max. number of connections 
IM151-8F PN/DP CPU 12
IM154-8F PN/DP CPU 16
IM154-8FX PN/DP CPU 16
CPU 315F-2 PN/DP 16
CPU 317F-2 PN/DP 32
CPU 319F-3 PN/DP 32
CPU 414F-3 PN/DP V6 64
CPU 416F-2 DP 64
CPU 416F-3 PN/DP V5 64
CPU 416F-3 PN/DP V6 96
WinAC RTX F 2009 64
WinAC RTX F 2010 96

Max. number of S7 connections that can be configured
The following table shows the maximum number of S7 connections supported by the F CPUs.
 

F CPU Max. number of S7 connections that can be configured 
IM151-8F PN/DP CPU 10
IM154-8F PN/DP CPU 14
IM154-8FX PN/DP CPU 14
CPU 315F-2 PN/DP 14
CPU 317F-2 PN/DP 16
CPU 319F-3 PN/DP 16
CPU 414F-3 PN/DP V6 62
CPU 416F-2 DP with CP443-1 Adv. 62
CPU 416F-3 PN/DP V5 62
CPU 416F-3 PN/DP V6 94
WinAC RTX F 2009 Over CP5611: 6
Over CP5613: 48
Over CP1616: 30
Over IE general: 14
WinAC RTX F 2010 Over CP5611: 6
Over CP5613: 48
Over CP1616: 30
Over IE general: 14

Max. number of instances
The following table shows the maximum number of instances supported by the F CPUs.
 

F CPU Max. number of instances
IM151-8F PN/DP CPU 32
IM154-8F PN/DP CPU 32
IM154-8FX PN/DP CPU 32
CPU 315F-2 PN/DP 32
CPU 317F-2 PN/DP 32
CPU 319F-3 PN/DP 32
CPU 414F-3 PN/DP 300 (internal interface)
CPU 414F-3 PN/DP with CP443-1 Adv. 1200 can be configured (300 preset)
CPU 416F-2 DP with CP443-1 Adv. Firmware version < V5.2: 1800 can be configured (600 preset)
Firmware version V5.2 onwards: 4000 can be configured (600 preset)
CPU 416F-3 PN/DP 600 (internal interface)
CPU 416F-3 PN/DP with CP443-1 Adv. Firmware version < V5.2: 1800 can be configured (600 preset)
Firmware version V5.2 onwards: 4000 can be configured (600 preset)
WinAC RTX F 2009 600 can be configured (300 preset)
WinAC RTX F 2010 4000 can be configured (600 preset)

Example
In a CPU 319F-3 PN/DP, you select S7 Communication over TCP/IP for safe bidirectional data communication. Depending on whether the data communication is with one or two configured S7 connections, you can configure another 15 or 14 S7 connections.

The fail-safe communication blocks "F_SENDS7" and "F_RCVS7" are called in the CPU user program for safe bidirectional data communication over S7 connections. These blocks internally call the system function blocks SFB8 "USEND" and SFB9 "URCV" respectively. In this way, the user data and associated acknowledgments are sent and received. An instance data block is assigned to each SFB8 "USEND" and SFB9 "URCV" system function block. Thus, the number of instance data blocks (= instances) is identical to the number of communication jobs.

This means that in the case of safe bidirectional data communication, at least four communication jobs are executed and four instances are needed. In this case, with the CPU 319F-3 PN/DP there remain 28 free instances.

In the user program of the CPU 319F-3 PN/DP, you can call a maximum of 16 fail-safe communication blocks "F_SENDS7" or F_RCVS7", because the maximum number of instances is limited to 32.
In the case of safe bidirectional data communication, the CPU 319F-3 PN/DP can communicate with a maximum of 8 F CPUs.

Calculation for safe bidirectional data communication in the CPU 319F-3 PN/DP
8  "F_SENDS7" + 8 "F_RCVS7" = 16 fail-safe communication blocks
8*("USEND" + "URCV") + 8*("USEND" + "URCV")
= 16 "USEND" + 16 "URCV" = 32 communication jobs or instances

Note
The safety function is foremost with F CPUs. Therefore, the system limit of S7 Communication is determined not only by the number of communication connections, but also by the response times achieved. If the required response times are not achieved because of the number of communication connections, the remedy is to

  • Reduce the number of communication connections.
  • Use a larger and faster CPU.