7/6/2017 1:48 PM | |
Joined: 9/27/2006 Last visit: 8/14/2024 Posts: 12277 Rating:
|
Hello Nirav; In that case the following FAQ should be of help: DP link between CP 342-5 (slave) and S7-300/400 (master) with STEP 7 V5.1 https://support.industry.siemens.com/cs/ww/en/view/6519580 Note that with the CP 342-5 you must always use the functions FC1 (DP_SEND) and FC2 (DP_RECV) for data transfer from the CPU to the CP. That is mentioned in the link above, and discussed here (even though the case examined is for a CP 342-5 as DP master, it applies to a CP 342-5 as DP slave): What should you watch out for when configuring a CP342-5 as DP master and why is it necessary to call the FC1 'DP_SEND' and FC2 'DP_RECV' functions in the user program of the CPU in order to transfer data? https://support.industry.siemens.com/cs/ww/en/view/18208090 Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
7/7/2017 7:56 AM | |
Joined: 12/13/2015 Last visit: 1/30/2024 Posts: 32 Rating:
|
Thank you sir, Your help is excellent. What I have understand please correct me if I am wrong. 1. My master and Slave program are different, So I have to add 400 CPU in my 300 Program as a master?? 2. CP-342-5 shows 16 data in and Out, Can I increase capacity?? 3. Create 2 nos of DB as per required nos of data to be Send and Receive. 4. Call FC1 and FC2. (But I am using TIV V13 So I am not able to find FC1 or FC2 But I did find DP_SEND and DP_REC. Means I have to just call DP_SEND and DP_REC or I have to call FC1 and FC2?) 5. In master program I will ask 3rd party programmer to add CP 342-5 As a slave and adjust number of data to be Send/Receive as per my DB. Are above steps are correct and enough? Please correct me if I am wrong. I want to ask one more thing which programming software will be better TIA V13 or Step7 5.5? Nirav.
|
7/7/2017 3:18 PM | |
Joined: 9/27/2006 Last visit: 8/14/2024 Posts: 12277 Rating:
|
Hello Nirav; This FAQ should help you with your project; downlaod the slave version of the project: In STEP 7 (TIA Portal), how do you configure an S7-300 PROFIBUS CP as DP master or DP slave? You can see that DP_SEND and D^_RECV are the TIA Portal versions of FC1 and FC2. You can add as many modules as you need in your data exchanges, as long as you do not exceed the limitation of 244 bytes OUT/244 bytes IN per slave for Profibus-DP. The example shows 15 bytes IN and 35 Butes OUT, but adapt this to your project requrements. see section 3.1 for an example for the association of the DP-master and the DP-slave. Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
Follow us on