User Manual

Table Of Contents
Runtime Queries
Advanced Digital Motor Controller User Manual 231
Reply:
BMC = f1 + f2*2 + f3*4 + ... + fn*2^n-1 Type: Unsigned 8-bit Min: 0 Max: 255
Where:
cc = (When only one sensor enabled)
None or 1 : Current BMS10X0
cc = (When several sensors enabled)
1 : BMS10X0 at pulse input 1
2 : BMS10X0 at pulse input 2
...
p : BMS10X0 at pulse input p
and
f1 = Pack Switch
f2 = Load Switch
f3 = Charger Switch
f4 = Brake Resistor / Aux Switch
f5 = Reserved
f6 = Bluetooth Vcc switch
f7 = Reserved
f8 = Reserved
BS - Read BL Motor Speed in RPM
Alias: BLSPEED HexCode: 0A CANOpen id: 0x210A
Description:
On brushless motor controllers, reports the actual speed measured using the motor’s In-
ternal sensors (Hall, SinCos, Resolver) as the actual RPM value. To report RPM accurately,
the correct number of motor poles must be loaded in the BLPOL configuration parameter.
Syntax Serial: ?BS [cc]
Argument: Channel
Min: 1 Max: Total Number of Motors
Syntax Scripting: result = getvalue(_BS, cc)
result = getvalue(_BLSPEED, cc)
Reply:
BS=nn Type: Signed 32-bit Min: -65535 Max: 65535
Where:
cc = Motor channel
nn = Speed in RPM