Part Number: LP-AM243
Tool/software:
Hi Team,
I'm developing using "ethercat_slave_demo" of SDK ver.09_02_00_15.
In order to map an object entry from the Object Dictionary as a PDO,
it might be need to use code like below.
#include <ecSlvApi.h>
TPdo *ptRxPdo;
TSdoEntry* ptSdoEntry;
EC_API_SLV_getSdoEntry(ptEcSlvApi, 0x2002, 2, &ptSdoEntry);
EC_API_SLV_PDO_create(ptEcSlvApi, "RxPDO", 0x1600, &ptRxPdo);
EC_API_SLV_PDO_createEntry(ptEcSlvApi, ptRxPdo, ptSdoEntry);
After changed mapping PDO by Master, above process would be done.
However, there is no code in sdk to get PDO Entry and to create .
So, is it need to write this code after PDO changed call back ?
or it already has been build in EtherCAT stack as Binary?
Best regards,
Oyama