User Manual

Table Of Contents
Commands Reference
206 Advanced Digital Motor Controller User Manual V2.1, December 3, 2020
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
Where:
cc = Channel number
nn = Value
S - Set Motor Speed
Alias: MOTVEL HexCode: 03 CANOpen id: 0x2002
Description:
In the Closed-Loop Speed mode, this command will cause the motor to spin at the de-
sired RPM speed. In Closed-Loop Position modes, this commands determines the speed
at which the motor will move from one position to the next. It will not actually start the
motion.
Syntax Serial: !S [cc] nn
Syntax Scripting: setcommand(_S, cc, nn)
setcommand(_MOTVEL, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Value Type: Signed 32-bit
Min:-65535 Max: 65535
Where:
cc = Motor channel
nn = Speed value in RPM
Example:
!S 2500 : set motor 1 position velocity to 2500 RPM