User Manual

Table Of Contents
Commands Reference
270 Advanced Digital Motor Controller User Manual V2.1, December 3, 2020
CW – Control Word (DS402)
Alias: CW HexCode: 56 CANOpen id: 0x6040
Description:
Read the value of the control word.
Syntax Serial: ?CW [cc]
Reply: CW=nn
Syntax Scripting: nn = GetValue(_CW, cc)
Argument: Channel Type: Unsigned 8-bit
Min: 1 Max: Total number of motors
Result: Value Type: Unsigned 16-bit
Where:
cc = Motor channel
nn = Control word value
SPE – Velocity Actual Value (DS402)
Alias: SPE HexCode: 96 CANOpen id: 0x6044, and 0x606C
Description:
Reads the velocity actual value in RPM if it isnt in Position mode. In Closed Loop Count
Position mode, the query reports the position in sensor count. In Closed Loop Position
Relative mode and in Closed Loop Tracking Position mode, the postion is provided in rang
-1000 to 1000 scaled by the minimum and maximum sensor value.
Syntax Serial: ?SPE [cc]
Reply: SPE=nn
Syntax Scripting: nn = GetValue(_SPE, cc)
Argument: Channel Type: Unsigned 8-bit
Min: 1 Max: Total number of motors
Result: Value Type: Signed 32-bit
Where:
cc = Motor channel
nn = Velocity/position actual value