User Manual

Table Of Contents
Commands Reference
212 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
Reply:
BSR=nn Type: Signed 16-bit Min: -1000 Max: 1000
Where:
nn = Speed relative to max
Example:
Q: ?BSR
R: BSR=500: speed is 50%of the RPM value stored in the Max RPM configuration
C - Read Encoder Counter Absolute
Alias: ABCNTR HexCode: 04 CANOpen id: 0x2104
Description:
Returns the encoder value as an absolute number. The counter is 32-bit with a range of
+/- 2147483648 counts.
Syntax Serial: ?C [cc]
Argument: Channel
Min: 1 Max: Total Number of Encoders
Syntax Scripting: result = getvalue(_C, cc)
result = getvalue(_ABCNTR, cc)
Reply:
C=nn Type: Signed 32-bit Min: -2147M Max: 2147M
Where:
cc = Encoder channel number
nn = Absolute counter value
CAN - Read Raw CAN frame
Alias: CAN HexCode: 27 CANOpen id:
Description:
This query is used in CAN-enabled controllers to read the content of a received CAN
frame in the RawCAN mode. Data will be available for reading with this query only after
a ?CF query is first used to check how many received frames are pending in the FIFO
buffer. When the query is sent without arguments, the controller replies by outputting all
elements of the frame separated by colons.
Syntax Serial: ?CAN [ee]
Argument: Element
Min: 1 Max: 10
Syntax Scripting: result = getvalue(_CAN, ee)