![]() |
ECAT_Slave_in_ПЧ2П_c402
0.8
Реализация EtherCAT Slave для CM TMS320F28388D
|
Implementation This file contains the CoE mailbox interface. Подробнее...
Макросы | |
| #define | _ECATCOE_ 1 |
| #define | ECATCOE 0x4300 |
| #define | ECATCOEMAX 0x02 |
Функции | |
| void | COE_Init (void) |
| This function intialize the CoE Interface. Подробнее... | |
| UINT8 | COE_ServiceInd (TCOEMBX MBXMEM *pCoeMbx) |
| This function is called when a CoE (CAN application layer over EtherCAT) service is received from the master. Подробнее... | |
| UINT8 | COE_ContinueInd (TMBX MBXMEM *pMbx) |
| This function is called when a CoE service to be sent is stored and can. Подробнее... | |
Implementation This file contains the CoE mailbox interface.
Changes to version V5.11:
V5.13 COE8: handle failure on continue indication
V5.13 TEST4: memory leak on SDO response receive
Changes to version V5.0:
V5.11 COE4: "change prototype of ""COE_ContinueInd()"" return <> 0 if a failure occurred"
V5.11 ECAT10: change PROTO handling to prevent compiler errors
V5.11 TEST6: add test object to trigger Slave-to-Slave communication
V5.11 TEST7: add test behaviour to send an emergency on every SDO request (in SafeOP)
Changes to version V4.40:
V5.0 SDO7: "SDOS_SdoInfoInd()" never return pending SDO Info service. Delete "NOERROR_INWORK" handling.
Changes to version V4.08:
V4.40 SDO1: add initial value for "nSdoInfoFragmentsLeft"
V4.40 MBX6: change return value if no mailbox buffer is available
V4.08 MBX 1: If the switch MAILBOX_QUEUE was set, we have to put all SDO Info Responses in the Send Queue
См. определение в файле ecatcoe.c