You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All mapped objects index 1...8 (even if only 1 mapped object is used) are required for CO_Init.
If there is no 8 mapped objects, CO_Init() return CO_ERROR_PARAMETERS because OD_TPDOMappingParameter_t or OD_RPDOMappingParameter_t has different structure size :
Example:
Object 0x1A00: TPDO mapping parameter require subindex:
0 Number of mapped objects: 1
1 Mapped object 1
2 Mapped object 2
...
8 Mapped object 8
All mapped objects index 1...8 (even if only 1 mapped object is used) are required for CO_Init.
If there is no 8 mapped objects, CO_Init() return CO_ERROR_PARAMETERS because OD_TPDOMappingParameter_t or OD_RPDOMappingParameter_t has different structure size :
/* Verify parameters from CO_OD */ if( sizeof(OD_TPDOCommunicationParameter_t) != sizeof(CO_TPDOCommPar_t) || sizeof(OD_TPDOMappingParameter_t) != sizeof(CO_TPDOMapPar_t) || sizeof(OD_RPDOCommunicationParameter_t) != sizeof(CO_RPDOCommPar_t) || sizeof(OD_RPDOMappingParameter_t) != sizeof(CO_RPDOMapPar_t)) { return CO_ERROR_PARAMETERS; }
It happens after click "Save" button on Tab "TX PDO Mapping/ RX PDO Mapping". Application automatically remove unusned mapped objects.
The text was updated successfully, but these errors were encountered: