Difference between revisions of "CANopen:NMT RESET"
(Created page with "{{Template:CANOpen-Functions |DESCRIPTION= Send NMT "reset" message to a CAN node. |INPUT= Slave address<br> 0 - broadcast, to all the nodes<br> 1..127 - reset specific node...") |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Template: | + | {{Template:CANopen Functions |
|DESCRIPTION= | |DESCRIPTION= | ||
Line 20: | Line 20: | ||
|SYNTAX= | |SYNTAX= | ||
− | + | call NMT_RESET(0) 'reset all nodes | |
|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