May 15, 2017
06:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 15, 2017
06:56 PM
Hello team,
I am trying to catch the Process Data (PD) timeout event when connection lost. When I unplug EtherCAT cable, I can see updating of 'Watchdog Status Process Data register (WD_STAT_PDATA)' and 'Watchdog Counter Process Data register(WD_COUNT_PDATA)'.
My question is, can we generate an interrupt for PD timeout event instead of polling these WD registers? If we can, is there any example?
Thank you,
I am trying to catch the Process Data (PD) timeout event when connection lost. When I unplug EtherCAT cable, I can see updating of 'Watchdog Status Process Data register (WD_STAT_PDATA)' and 'Watchdog Counter Process Data register(WD_COUNT_PDATA)'.
My question is, can we generate an interrupt for PD timeout event instead of polling these WD registers? If we can, is there any example?
Thank you,
- Tags:
- IFX
1 Reply
May 24, 2017
04:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2017
04:42 AM
Hi mophong,
you can check the status inside SYNC0 ISR. Then you still do polling, but the overhead is minor.
Kind Regards
Michael
you can check the status inside SYNC0 ISR. Then you still do polling, but the overhead is minor.
Kind Regards
Michael