User Manual

Table Of Contents
Commands Reference
190 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
Where:
cc = Motor channel
nn = Absolute count position
Example:
!P 1 5000 followed by !PX 1 -10000 : will cause motor to go to count position 5000 and
upon reaching the destination move to position -10000.
R - MicroBasic Run
Alias: BRUN HexCode: 0C CANOpen id: 0x2018
Description:
This command is used to start, stop and restart a MicroBasic script if one is loaded in the
controller.
Syntax Serial: !R [nn]
Syntax Scripting: setcommand(_R, nn)
setcommand(_BRUN, nn)
Number of Arguments: 1
Argument 1: [Option] Type: Unsigned 8-bit
Min: None Max: 2
Where:
nn =
None : Start/resume script
0 : Stop script
1 : Start/resume script
2 : Reinitialize and restart script
RC - Set Pulse Out
Alias: RCOUT HexCode: 1A CANOpen id: 0x2016
Description:
Set the pulse width on products with pulse outputs. Command ranges from -1000 to
+1000, resulting in pulse width of 1.0ms to 1.5ms respectively.
Syntax Serial: !RC cc nn
Syntax Scripting: setcommand(_RC, cc, nn)
setcommand(_RCOUT, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Number or Pulse Outs
Argument 2: Value Type: Signed 16-bit
Min: -1000 Max: 1000