7/7/2017 4:17 PM | |
Joined: 1/3/2009 Last visit: 6/30/2022 Posts: 161 Rating:
|
Hello, configuring the network and the topology as a (closed) ring it is possible to generate diagnostic interrupt in case a port is disconnected from the ring. I can find the related alarms in the CPU diagnostic buffer, reporting the profinet port diagnostic address (of course, if I disconnect a cable, I get the diagnostic interrupt from the 2 adjacent ports in the ring). How can I intercept the diagnostic interrupt in thre user program? I have tried with OB82 85 86 but none of this is working
------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 7/10/2017 12:45:23 PMNew subject after splitting Stefano Angioni |
|
9/20/2017 4:00 PM | |
Posts: 8 Rating:
|
A way to detect the ring is broken somewhere is to use this example provided in the attachment. It works for me I used the above example to get it to work instead of the interrupt. Using the devicestates function using mode 2 you can read between which devices the link is open in case of the ring failure occurs. The interrupt on the redundant switch gives a very weird error when a comfort panel is part of the ring and starts or ends with a cable on the switch. The topology will always show red cables. AttachmentMRP Ringstatus in user program FAQ.pdf (128 Downloads) |
Last edited by: Kier at: 9/20/2017 4:03:57 PM |
|
Follow us on