User Manual

Table Of Contents
Runtime Commands
Advanced Digital Motor Controller User Manual 177
Where:
nn = Variable number
mm = 0 or 1
Note:
The total number of user variables depends on the controller model and can be found in
the product datasheet.
BND - Spectrum Bind
Alias: BIND HexCode: 1C CANOpen id:
Description:
When used on controllers with Spektrum RC radio interface the BND command is used to
pair the receiver with its transmitter.
Syntax Serial: !BND [cc]
Syntax Scripting: setcommand(_BND, cc)
setcommand(_BIND, cc)
Number of Arguments: 1
Argument 1: [Channel] Type: Unsigned 8-bit
Min: None Max: Total Number of Motors
Where:
cc = Motor channel
Example:
!BND : Binds Spektrum receiver with its transmitter, on supporting controller models
C - Set Encoder Counters
Alias: SENCNTR HexCode: 04 CANOpen id: 0x2003
Description:
This command loads the encoder counter for the selected motor channel with the value
contained in the command argument. Beware that changing the controller value while op-
erating in closed-loop mode can have adverse effects.
Syntax Serial: !C [cc] nn
Syntax Scripting: setcommand(_C, cc, nn)
setcommand(_SENCNTR, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Encoders