User Manual

Table Of Contents
Runtime Queries
Advanced Digital Motor Controller User Manual 2 11
only one BMS10X0 is connected to any pulse input this query will report the data of that
device, regardless which pulse input it is connected to. If more than one BMS10X0 is con-
nected to pulse inputs and these inputs are enabled and configured in BMS MultiPWM
mode, then the argument following the query is used to select the sensor.
Syntax Serial: ?BSC [cc]
Argument: SensorNumber
Min: None Max: Total Number of Pulse Inputs
Syntax Scripting: result = getvalue(_BSC, cc)
Reply:
BSC=nn 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
nn = State Of Charge (%)
BSR - Read BL Motor Speed as 1/1000 of Max RPM
Alias: BLRSPEED HexCode: 0B CANOpen id: 0x210B
Description:
On brushless motor controllers, returns the measured motor speed, using the motor’s
Internal sensors (Hall, Sin/Cos, Resolver), as a ratio of the Max RPM configuration param-
eter. The result is a value of between 0 and +/-1000. Note that if the motor spins faster
than the Max RPM, the return value will exceed 1000. However, a larger value is ignored
by the controller for its internal operation. To report an accurate result, the correct number
of motor poles must be loaded in the BLPOL configuration parameter.
Syntax Serial: ?BSR
Argument: Channel
Min: 1 Max: Total Number of Motors
Syntax Scripting: result = getvalue(_BSR, )
result = getvalue(_BLRSPEED, )