Difference between revisions of "CANopen:NMT RESET"
m (Text replace - "CANOpen" to "CANopen") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{Template:CANopen | + | {{Template:CANopen Functions |
|DESCRIPTION= | |DESCRIPTION= | ||
Line 27: | Line 27: | ||
|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