User Manual

Table Of Contents
Commands Reference
330 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
Syntax Scripting: setconfig(_BFBK, cc)
Number of Arguments:
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Sensor
Type: Unsigned 8-bit
Min: 0 Max: 4
Default: 0 = Encoder
Where:
cc = Motor channel
nn =
0: Encoder
1: Hall
2: Hall + Encoder
3: SPI/SSI sensor
4: Sin/Cos sensor
5: Resolver
BHL - Brushless Counter High Limit
HexCode: 3E
Description:
This parameter allows you to define a minimum brushless count value at which the con-
troller will trigger an action when the counter rises above that number. This feature is
useful for setting up virtual or soft limit switches. This value, together with the Low Count
Limit, are also used in the position mode to determine the travel range when command-
ing the controller with a relative position command. In this case, the Low Limit Count is
the desired position when a command of 1000 is received
Syntax Serial: ^BHL cc nn
~BHL [cc]
Syntax Scripting: setconfig(_BHL, cc, nn)
Number of Arguments: 2
Argument 1: Channel
Min: 1 Max: Total Number of Motors
Argument 2: Value
Type: Signed 32-bit
Min: -2147M Max: +2147M
Default: 20000
Where:
cc = Motor channel
nn = Counter value