show the entry list
S7-300 CPU 31x -- Configuring and programming communication -- Configuring the PROFIBUS interface
How do you activate the "Prioritized OCM communication" function to improve the OP communication performance?
How do you configure a connection between WinCC flexible Runtime (PC/Panel) and a SIMATIC S7-300/S7400 via PROFIBUS/MPI?
What differences are there when configuring S7 connections?
Transfer of analog values from and to the PROFIBUS DP slave
What should you pay attention to when operating a DP slave temporarily on a PROFIBUS DP network?
How do you configure an S7 connection via MPI with the SIMATIC NET OPC server and the SIMATIC NET PC software?
How do you configure a PC station as DP slave for connecting an S7 station (as DP master) for the SIMATIC NET OPC server with the SIMATIC NET PC software?
What are the differences between the integrated DP interface of a CPU (e.g. CPU 315-2 DP) and the DP interface of the CP 342-5?
How do you read data consistently from a DP standard slave/PROFINET IO device and write it consistently to a DP standard slave/PROFINET IO device?
What are the options for exchanging data between CPUs via MPI/PROFIBUS DP?
Direct data exchange (internode communication) between two CPU modules
S7 routing via PROFIBUS with S7-300
Rules for accessing the CPU 315-2 DP on distributed I/O (integrated DP interface of CPU 315-2 DP)
Startup of the S7-300 CPUs when slave is not available
Routing with compact CPU and C7-635 as DP slave
How can you tell whether your S7-300/400 master supports DPV1 functions?
Direct data exchange (internode communication) between two CPU modules
Part number:

QUESTION:
How do I configure direct data exchange (internode communication) between two CPU modules configured as DP slaves?

ANSWER:
Communication between two CPU stations configured as DP slaves and operated by the same DP master is called direct data exchange. The following configuration is implemented in the following sample project.

Fig. 1: Configuration of the sample project

First incorporate the three CPU stations in your STEP 7 project and link both slave stations to the master, then proceed as follows to configure direct data exchange:

  1. Go to the Hardware Configuration of the DP master.
  2. In the first slave station configure at least one row as data exchange for master-slave communication.

Fig. 2: Configuration of the CPU 315-2DP with DP address 3

  1. You should configure at least one slot with input data on the master and output data on the slave. This data will be "listened to" by the second DP slave.

Fig. 3: Master-slave configuration

  1. Switch to the configuration of the second DP slave in Hardware Configuration of the DP master.
  2. If you enter a new row here, you are offered two options in the data exchange mode. Select the DX mode for direct data exchange and specify the parameters.

Fig. 4: Configuration of the CPU 315-2DP with DP address 4

  1. This enables the second DP slave to "listen in" on the data that the first DP slave sends to the DP master.

In the following is a sample project - created in STEP 7 V5.2 SP1 - for internode communication (German = Querverkehr) between two CPUs. Proceed as follows:

  1. Save "QuerVerkehr.exe" in an empty directory.
  2. Double-click this file to unpack the project.
  3. Start the SIMATIC Manager.
  4. Open the project.

 QuerVerkehr.exe ( 448 KB )  

A CPU 318 is used as master in the sample project. An active communication is is set up between the master and a CPU 315 as slave. The second CPU 315 "listens in" on this data communication and can respond to events directly. It is not necessary for the master to trigger these events.

Requirements for using internode communication:

  • The master CPU and both DP slaves must be integrated in one STEP 7 project.
  • All stations involved in the internode communication must support "Send and receive capability for direct data exchange".

 Entry ID:1016961   Date:2004-06-25 
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