Tool/software:
Hi TI team,
for my EtherCAT device I have PDOs > 30 bytes.
I register them at the stack using additional padding bytes EC_API_SLV_PDO_addPadding().
I am able to go to operational state and exchange process data.
In our product we also use callback for mapping changes EC_API_SLV_PDO_CBMappingChanges_t to reconfigure Process data sizes.
The problem occurs when the master changes a mapping of a PDO e.g:
from 0x1A00: Index 0x7000, subindex: 0 Size: 128 bit
to 0x1A00: Index 0x7000, subindex 0 Size: 256 bit
This is what TwinCAT sends:
The value in the object dictionary looks also as expected:
The Error is that in this case the callback function is not triggered.