1/25/2011 3:07 PM | |
Posts: 9 Rating:
|
Hello everybody, I try to establish a DP communication between 2 S7-300. My stations are configured according toHow do you configure a CP342-5 as DP slave to a CP 342-5 as DP master? Now, my problem is to check if i can transfer informations between master and slave. I take a screenshot of OB1 online in attachment. Someone can help me to know what does it means? What is the signification of VKE, STA and STANDARD? And how can i check that my program works well?
|
1/25/2011 3:49 PM | |
Joined: 9/27/2006 Last visit: 3/20/2025 Posts: 12344 Rating:
|
Hello Maxime; You seem to be using the same exchange address area in FC1 and FC2 in your example. Try to use a seperate data area for each, either in the same DB but at a different DBB address, or in a different DB. Look at the example configuration of FC1 and FC2 in this FAQ: What should you watch out for when configuring a CP342-5 as DP master? Hope this helps, Daniel Chartier |
Last edited by: O_Moderator at: 1/26/2011 10:51 AMlink edited |
|
1/25/2011 4:13 PM | |
Posts: 316 Rating:
|
Hey maxime54500, I think there are problems while you call two errands in on cyclus to one CP! Call only one function call in one cyclus! Then it should works! |
1/25/2011 4:44 PM | |
Posts: 9 Rating:
|
thanks, but my problem is to check if my programs works fine. I want to know how to do to check that it works fine. Maxime
|
1/26/2011 3:14 PM | |
Joined: 9/27/2006 Last visit: 3/20/2025 Posts: 12344 Rating:
|
Hello maxime; The appearance of any error code in a communication FC is a sign that something is not right, either in the parametrization or in the programming of the function. I have prepared an attachment showing the error codes of the DP_SEND function. The original document can be found here: http://support.automation.siemens.com/WW/view/en/30564821 So, it would seem that the CP is compalining of the parameters you have assigned it. Please examine them and valifdate that the CP_LADDR is correctly selected and written as a hexadecimal value ( w#16#160 correspoonds to decimal 352, is that the correst start address of the CP?) and that the ANY pointer for your SEND parameter is OK. hope this helps, Daniel Chartier |
Follow us on