Versions Compared

Key

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

...

The function CONodeParaLoad() is rarely called from within the applications. Typically the CANopen master requests the parameter loading from NVM via NMT command. In some special cases it is useful to initiate a reset from the slave application or communication. The following example shows the sequence to load all parameters, which are linked to the object directory entries related to the communication profile (index 1000h to 1FFFh).


Code Block
    :
    success = CONodeParaLoad (&AppNode, CO_RESET_COM);
    if (success < 0) {
        err = CONodeGetErr (&AppNode);
    }
    :


Whereas the callback function CO_ParaLoad() must be implemented within the application area to get the data from NVM into the object directory entries. See CANopen Config Manual for details on the callback function.

...