show the entry list
S7-300 CPU 31x -- Configuring and programming communication -- Configuring MPI interfaces
How do you activate the "Prioritized OCM communication" function to improve the OP communication performance?
Which protocols and services can you use for communication via MPI?
How do you configure an S7 connection via MPI with the SIMATIC NET OPC server and the SIMATIC NET PC software?
Basic communication between CPUs with global data
Options for communications via MPI
Options for communications via MPI
Part number:

QUESTION:  
What are the options for communications via MPI?

ANSWER:  
The following protocols are possible on the MPI bus:

  • S7 basic communication
  • S7 communication
  • Global data communication
  • PG/OP communication

Multiple utilities are available for these protocols with different parameters:

  1. S7 basic communication
S7 basic communication SFC65 "X_SEND" /
SFC66 "X_RECV"
SFC68 "X_PUT" /
SFC67 "X_GET"
Max. data length 76 bytes 84 bytes (S7-400)
76 bytes (S7-300)
Configuration type Not configured Not configured
Connection type Dynamic client/client
connection
Dynamic/static client/server connection
Sample application
(Entry ID)
20989875 -
Table 1: S7 basic communication
  1. S7 communication
    (table does not apply for S7-300, because an S7-300 CPU can only be used as service in S7 communication via MPI.)
S7 communication SFB8 "USEND" /
SFB9 "URCV"
SFB12 "BSEND" /
SFB13 "BRCV"
SFB15 "PUT"/
SFB14 "GET"
Max. data length 160...453 bytes* 32768...65534 bytes* Put: 160...452 bytes*
Get: 160...462 bytes*
Configuration type Configured on both sides Configured on one side
Connection type Static client/client connection Static client/server
connection
Sample application
(Entry ID)
- 20987358 -

* Detailed information on data lengths is available in the manual "System Software for S7-300/400 System and Standard Functions" (chapter 19 - S7 Communication - User Data Size) in Entry ID: 1214574
Table 2: S7 communication

  1. Global data communication
Global data communication Values
Max. data length 22 byte (S7-300) /
54 bytes (S7-400) 
22 bytes (S7-300/S7-400)
Configuration type No configured connection
Connection type Broadcast (no connection in this sense)
Sample application
(Entry ID)
430498
Table 3: Global data communication 

For global data communication you can use system functions SFC60 "GD_SND" / SFC61 "GD_RCV" for S7-400.

A master document on communication with SIMATIC S7 is available in Entry ID: 20982954.


 Entry ID:21537047   Date:2005-06-08 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour