/
CONmtReset
CONmtReset
Description
This function resets the CANopen device with the given type.
Prototype
void CONmtReset(CO_NMT *nmt, CO_NMT_RESET type);
Parameter | Description |
---|---|
nmt | reference to NMT structure |
type | the requested NMT reset type |
Returned Value
none
Additional Information
The following table shows the possible values of the type CO_NMT.RESET
:
Value | Description |
---|---|
CO_RESET_NODE | Reset node (application and communication) |
CO_RESET_COM | Reset communication |
Example
The following example shows how to request a communication reset of the CANopen node AppNode:
: CONmtReset (&(AppNode.Nmt), CO_RESET_COM); :
, multiple selections available,
Related content
CONmtSetMode
CONmtSetMode
More like this
CONmtGetMode
CONmtGetMode
More like this
CONmtSetNodeId
CONmtSetNodeId
More like this
CONodeStart
CONodeStart
More like this
COIfReset
COIfReset
More like this
CONodeStop
CONodeStop
More like this