User Manual

Table Of Contents
Runtime Queries
Advanced Digital Motor Controller User Manual 209
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 = Unsafe Temperature
f2 = Over or Under Voltage Error Set
f3 = Amp Trigger Set
f4 = Over Current Error Set
f5 = Short Load or Inv Charger
f6 = Bad State Of Health
f7 = Config Error
f8 = Internal Fault
BMS - Read BMS switch states
Alias: - HexCode: 4E CANOpen id: 0x2143
Description:
When one or more BMS10X0 are connected to the controller, this query reports the
switch states of the respective BMS10X0. If only one BMS10X0 is connected to any pulse
input this query will report the data of that device, regardless which pulse input it is con-
nected to. If more than one BMS10X0 is connected 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: ?BMC [cc]
Argument: SensorNumber
Min: None Max: Total Number of Pulse Inputs
Syntax Scripting: result = getvalue(_BMC, cc)
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)