User Manual

Table Of Contents
Runtime Queries
Advanced Digital Motor Controller User Manual 207
Syntax Scripting: result = getvalue(_BA, cc)
result = getvalue(_BATAMPS, cc)
Reply:
BA=aa Type: Signed 16-bit Min: 0
Where:
cc = Motor channel
aa = Amps *10 for each channel
Example:
Q: ?BA R:
BA=100:200
Note:
Some controller models measure the Motor Amps and Calculate the Battery Amps, while
other models measure the Battery Amps and calculate the Motor Amps. The measured
Amps is always more precise than the calculated Amps. See controller datasheet to find
which Amps is measured by your particular model.
BCR - Read Brushless Count Relative
Alias: BLRCNTR HexCode: 09 CANOpen id: 0x2109
Description:
Returns the amount of Internal sensor (Hall, SinCos, Resolver) counts that have been
measured from the last time this query was made. Relative counter read is sometimes
easier to work with, compared to full counter reading, as smaller numbers are usually
returned.
Syntax Serial: ?BCR [cc]
Argument: Channel
Min: 1 Max: Total Number of Motors
Syntax Scripting: result = getvalue(_BCR, cc)
result = getvalue(_BLRCNTR, cc)
Reply:
BCR=nn Type: Signed 32-bit Min: -2147M Max: 2147M
Where:
cc = Motor channel
nn = Value
BMC - Read BMS State Of Charge in AmpHours
Alias: - HexCode: 4C CANOpen id: 0x2141
Description:
When one or more BMS10X0 are connected to the controller, this query reports the Bat-
tery’s State Of Charge in AmpHours, which is connected to the respective BMS10X0. If