User Manual

Table Of Contents
DS402 Runtime Queries
Advanced Digital Motor Controller User Manual 245
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
F – Velocity/Position Actual Value (DS402)
Alias: F HexCode: 13 CANOpen id: 0x6044, 0x6064, 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: ?F [cc]
Reply: F=nn
Syntax Scripting: nn = GetValue(_F, 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
PAC – Profile Acceleration (DS402)
Alias: PAC HexCode: 5E CANOpen id: 0x6083
Description:
Read the configured acceleration in 10×RPM/second.
Syntax Serial: ?PAC [cc]
Reply: PAC=nn