Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Description

This function allows the application to trigger a TPDO event for the given object entry. The event will be distributed to all TPDOs, which holds an active mapping entry to this object entry.

Prototype

void COTPdoTrigObj(CO_TPDO *pdo, CO_OBJ *obj);

ParameterDescription
pdo Pointer to start of TPDO array
obj Pointer to object entry

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 all TPDOs of the CANopen node AppNode, which contains the hypothetical object directory entry "[1234:56]".

  • No labels