CONodeGetErr
Description
This function returns the current error status of the given node. If an error was detected, the error is cleared with this function call.
Prototype
CO_ERR CONodeGetErr(CO_NODE *node);
Parameter | Description |
---|---|
node | pointer to the CANopen node object |
Returned Value
One of the error codes, described in the section "Error Identification"
Example
The following example demonstrates a diagnostic section of a CANopen startup sequence:
End of topic