Difference between revisions of "CANopen:NMT RESET"
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{Template: | + | {{Template:CANopen Functions |
|DESCRIPTION= | |DESCRIPTION= | ||
Line 23: | Line 23: | ||
|EXCEPTIONS= | |EXCEPTIONS= | ||
− | * [[ | + | * [[CANopen:Error Codes|Error_Codes]] |
|EXAMPLE= | |EXAMPLE= | ||
call NMT_RESET(1) ' reset device #1 | call NMT_RESET(1) ' reset device #1 | ||
+ | |SEE ALSO= | ||
+ | * [[CANopen:CAN_NMT_COMMAND_SEND|CAN_NMT_COMMAND_SEND]] | ||
}} | }} |
Latest revision as of 16:22, 8 February 2015
Send NMT "reset" message to a CAN node.
Input
Slave address
0 - broadcast, to all the nodes
1..127 - reset specific node/device
Output
None
Return Value
None
Declaration
public sub CAN_RESET
Syntax
call NMT_RESET(0) 'reset all nodes
Exceptions
Examples
call NMT_RESET(1) ' reset device #1