User Manual

Table Of Contents
Commands Reference
178 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
Argument 2: Value Type: Signed 32-bit
Min: -2147M Max: +2147M
Where:
cc = Motor channel
nn = Counter value
Example:
!C 2 -1000 : Loads -1000 in encoder counter 2
!C 1 0 : Clears encoder counter 1
CB - Set Brushless Counter
Alias: SBLCNTR HexCode: 05 CANOpen id: 0x2004
Description:
This command loads the brushless counter with the value contained in the command
argument. Beware that changing the controller value while operating in closed-loop mode
can have adverse effects.
Syntax Serial: !CB [cc] nn
Syntax Scripting: setcommand(_CB, cc, nn)
setcommand(_SBLCNTR, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Value Type: Signed 32-bit
Min: -2147M Max: +2147M
Where:
cc = Motor channel
nn = Counter value
Example:
!CB 1 -1000 : Loads -1000 in brushless counter 1
!CB 2 0 : Clears brushless counter 2
CG - Set Motor Command via CAN
Alias: CANGO HexCode: 19 CANOpen id: 0x2000
Description:
This command is identical to the G (GO) command except that it is meant to be used for
sending motor commands via CANOpen. See the G command for details
Syntax Serial: !CG cc nn