Service & Support: Configuration of An S7-300 CPU As DP Slave To A CP 342-5 As DP Master
Service & Support: Configuration of An S7-300 CPU As DP Slave To A CP 342-5 As DP Master
This entry originates from the Service&Support Portal of Siemens AG, Sector
Industry, Industry Automation and Drive Technologies. The conditions of use
specified there apply (www.siemens.com/nutzungsbedingungen).
Question
How do you configure an S7-300 CPU as DP slave to a CP 342-5 as DP master?
Answer
Follow the instructions and notes listed in this document for a detailed answer to
the above question.
Contents
1 Configuration of an S7-300 CPU as DP Slave................................................. 4
2 Configuration of the CP342-5 as DP Master ................................................... 8
3 S7 Program in the DP Slave ........................................................................... 11
3.1 Data transfer with load and transfer commands ................................ 11
3.2 Data transfer with system functions ................................................... 11
Parameterization of SFC14 "DPRD_DAT"......................................... 11
Parameterization of SFC14 "DPWR_DAT" ........................................ 11
4 S7 Program in the DP Master ......................................................................... 13
Parameterization of FC1 "DP_SEND"................................................ 13
Parameterization of FC2 "DP_RECV"................................................ 13
Table 1-1
No. Action Note
1. In the SIMATIC Manager, you create a
new STEP 7 project via the menu "File
> New".
download
Save and compile
Load and
transfer
commands
In this example the SFC15 "DPWR_DAT" transfers 5 bytes from DB1 as of address
0 into the output area of the DP slave for transfer to the DP master.
Figure 3-2
Figure 4-1