User Manual

Table Of Contents
Commands Reference
234 Advanced Digital Motor Controller User Manual V2.1, December 3, 2020
Argument: Element
Min: 1 Max: 10
Syntax Scripting: result = getvalue(_CAN, ee)
Reply:
CAN = dd1:dd2:dd3: ... :dd10 Type: Unsigned 16-bit Min: 0 Max: 255
Where:
ee = Byte in frame
dd1 = Header
dd2= Bytecount
dd3 to dd10 = Data0 to data7
Example:
Q: ?CAN
R: CAN=5:4:11:12:13:14:0:0:0:0
Q: ?CAN 3
R: CAN=11
CB - Read Absolute Brushless Counter
Alias: BLCNTR HexCode: 05 CANOpen id: 0x2105
Description:
On brushless motor controllers, returns the running total of Internal sensor (Hall, SinCos,
Resolver) transition value as an absolute number. The counter is 32-bit with a range of +/-
2147483648 counts.
Syntax Serial: ?CB [cc]
Argument: Channel
Min: 1 Max: Total Number of Motors
Syntax Scripting: result = getvalue(_CB, cc)
result = getvalue(_BLCNTR, cc)
Reply:
CB=nn Type: Signed 32-bit Min: -2147M Max: 2147M
Where:
cc = Motor channel
nn = Absolute counter value
CD - Read Raw Redirect Received Frames Count
Alias: CD HexCode: 8E CANOpen id: -
Description:
This query is used to read the number of received Raw Redirect frames pending in the
FIFO buffer and copies the oldest frame into the read buffer, from which it can then be