6/19/2009 10:46 AM | |
Joined: 11/25/2005 Last visit: 12/11/2024 Posts: 21 Rating: (0) |
Hello, I try to make a Profibus connection between a IM308C as master, hosted on a 840C CNC , and a CP342-5 , with S7 CPU317-2DP PLC. I use Com Profibus V5.1 and S7 V5.4. I have started my project from the example given under ID 6711776 and have adapted the hardware configuration. The problems I have are the followings: 1) ON IM308C, theled RN is on and the led's BF is blinking every 2s a little. 2) ON CP342-5,theled RUN is ON and theled BUSFis on. The cable is OK and and can see both stationsfrom Com Profibus and from S7. While making a general diagnose from Com Profibus,the master is seen as RN and the Slave is seen as OK. While making a search of the available station from S7, I see both adress from Master and slave (slave is declared waiting). While making diagnosis with NCM , for the slave , I have the three following messages appearing all the time: 1) Slave ready for transfer 2) Slave transfers data's 3) Slave has stopped the transfer of data's Regarding additionnal informations on the 3rd message, it could be -Time out on slave -The master releases the slave DP -wrong Profibus telegramm -Changes in configuration of Slave DP Regarding Diag, nothing indicates that there are errors on the network. The configuration of the slave is not changed too. Could someone give me some ideas to find what happens. I join some copy of diagnosis screen taken with S7 and Com Profibus(sorry they are in french - but I thinck what they indicates is clear). Regards PHILCAT AttachmentStatus.zip (204 Downloads) |
6/19/2009 11:06 AM | |
Joined: 10/7/2005 Last visit: 1/20/2025 Posts: 3031 Rating: (1058) |
Hello Philcat can you please check and advise us that your always (cyclically) call the DP_SEND and DP_RECV blocks in the S7. Have a look at this FAQ (and associated links) for more info. Cheers Fritz |
Cheers |
|
6/19/2009 2:45 PM | |
Joined: 10/7/2005 Last visit: 1/20/2025 Posts: 3031 Rating: (1058) |
Hello Philcat I was afraid you would say that. You seemed to have all your "homework", so I'm not too sure what to suggest to test other than what islisted in thecorresponding FAQ's and examples that you already have. Ideally you connect a Profibusanalyser (e.g. Profitrace)to your bus to find out what is really happening every 2 seconds orso. Having said that, it wouldn't hurt topost your COM Profibus configuration and Step7 project here so it can be examined. Cheers Fritz |
Cheers |
|
6/24/2009 9:32 PM | |
Posts: 107 Rating: (13) |
Hi PHILCAT, Nice to hear that it works. Thanks for the message |
Follow us on