/
COTPdoTrigPdo
COTPdoTrigPdo
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.
: COTPdoTrigPdo(&(AppNode.TPdo[0]), 3); :
, multiple selections available,
Related content
COTPdoTrigObj
COTPdoTrigObj
More like this
Object Trigger
Object Trigger
More like this
CANopen Node
CANopen Node
More like this
CONmtSetNodeId
CONmtSetNodeId
More like this
Controlling the Node
Controlling the Node
More like this
uC-CANopen Reference Manual
uC-CANopen Reference Manual
More like this