#define COE_SUPPORTED 1 #define EOE_SUPPORTED 1 #define FOE_SUPPORTED 1 #define MAILBOX_SUPPORTED 1 #define TIESC_HW 1 #define CONTROLLER_32BIT 0 #define ESC_32BIT_ACCESS 0 #define ESC_EEPROM_EMULATION 1 #define AL_EVENT_ENABLED 1 #define DC_SUPPORTED 1 #define ECAT_TIMER_INT 0 #define ESC_SM_WD_SUPPORTED 1 #define MIN_PD_CYCLE_TIME 0xFA00 #define TIESC_APPLICATION 1 #define SUPPORT_TI_ESC_CYCLE_EXCEEDED_COUNTER 1
- Watchdog: How should I configure/use the watchdog correctly? Interrupt triggered or in subsystem? Maybe the watchdog disturb my slave flow.
- MIN_PD_CYCLE_TIME/SUPPORT_TI_ESC_CYCLE_EXCEEDED_COUNTER in ecatappl.c: What about this? I printed the pdiIsrPeriod value and it is sometimes smaller than 0xFA00 (0x1770). There is a big gap between both values. If the value is smaller than 0xFA00 than the u16CycleExceededCounter will be incremented and a synchronous error will be set in COE_UpdateSyncErrorStatus().
- Synchronization: How should I configure a common EtherCAT slave? If I would like to use DC I should take SM with a Sync0 event (Application note ET9300, chapter 9.1). But how can I enable the sync0 event mechanism (I don't know, how to write in ESC Register at address 0x981 (Sync Activation Register) or in the emulated EEPROM)?
It would be glad, if some can help me to get rid of this problem.
Thanks a lot.