Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

COTPdoTrigObj

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.

...

The following example triggers the transmission of all TPDOs of the CANopen node AppNode, which contains the hypothetical object directory entry "[1234:56]".End of topic


Code Block
languagecpp
    CO_OBJ  *entry;
    :
    entry = CODirFind(&(AppNode.Dir), CO_DEV(0x1234, 0x56));
    COTPdoTrigObj(&(AppNode.TPdo[0]), entry);
    :