User Manual

Table Of Contents
Commands Reference
220 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
Reply:
DPA = aa Type: Signed 16-bit Min: 0
Where:
cc = Motor channel
aa = Amps *10 for each channel
Example:
Q: ?DPA
R: DPA=100:200
Q: ?DPA 2
R: DPA=200
DR - Read Destination Reached
Alias: DREACHED HexCode: 22 CANOpen id: 0x211B
Description:
This query is used when chaining commands in Position Count mode, to detect that a
destination has been reached and that the next destination values that were loaded in the
buffer have become active. The Destination Reached bit is latched and is cleared once it
has been read.
Syntax Serial: ?DR [cc]
Argument: Channel
Min: 1 Max: Total Number of Motors
Syntax Scripting: result = getvalue(_DR, cc)
result = getvalue(_DREACHED, cc)
Reply:
DR=nn Type: Unsigned 8-bit Min: 0 Max: 1
Where:
cc = Motor channel
nn =
0 : Not yet reached
1 : Reached
E - Read Closed Loop Error
Alias: LPERR HexCode: 18 CANOpen id: 0x2114
Description:
In closed-loop modes, returns the difference between the desired speed or position and
the measured feedback. This query can be used to detect when the motor has reached
the desired speed or position. In open loop mode, this query returns 0.