Data Sheet
Runtime Queries
Advanced Digital Motor Controller User Manual 245
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 Hall sensor 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
CF - Read Raw CAN Received Frames Count
Alias: CF HexCode: 28 CANOpen id:
Description:
This query is used to read the number of received CAN frames pending in the FIFO buf-
fer and copies the oldest frame into the read buffer, from which it can then be accessed
using the ?CAN query. Sending ?CF again, copies the next frame into the read buffer. The
controller can buffer up to 16 CAN frames
Syntax Serial: ?CF
Argument: None
Syntax Scripting: result = getvalue(_CF, 1)