Difference between revisions of "CANopen:NMT RESET"

From SoftMC-Wiki
Jump to: navigation, search
m (Lisa moved page CANOpen:NMT RESET to CANopen:NMT RESET: correction of CANopen)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:CANopen-Functions
+
{{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

See Also