Description
This function allows the application to trigger a TPDO event for the given TPDO number.
Prototype
void COTPdoTrigPdo(CO_TPDO *pdo, CPU_INT16U num);
Parameter | Description |
---|---|
pdo | Pointer to start of TPDO array |
num | Number of TPDO (0..511) |
Returned Value
none
Additional Information
This function can be removed from the CANopen device by disabling the transmit PDO support with the configuration CO_TPDO.N
.
Example
The following example triggers the transmission of TPDO #3 of the CANopen node AppNode.