Optima DMC-1xxx and DMC-18x2 Command Reference
BI
i
36
BI
FUNCTION: Brushless Inputs
DESCRIPTION:
The BI command is used to define the inputs which are used when Hall sensors have been
wired for sinusoidally commutated motors. These inputs can be the general use inputs
(bits 1-8), the auxiliary encoder inputs (bits 81-96), or the extended I/O inputs (bits 17-
80). The Hall sensors of each axis must be connected to consecutive input lines, for
example: BI 3 indicates that inputs 3,4 and 5 are used for halls sensors.
The brushless setup command, BS, can be used to determine the proper wiring of the hall
sensors.
ARGUMENTS: BI n,n,n,n,n,n,n,n
or
BIA=n
where
n is an unsigned integer which represent the first digital input to be used for hall sensor input
n = 0 Clear the hall sensor configuration for the axis.
n = ? Returns the starting input used for Hall sensors for the specified axis.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
0
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_BIn contains the starting input used for Hall sensors for the specified axis.
EXAMPLE:
BI, 5
The Hall sensor of the Y axis are on inputs 5, 6 and 7.
RELATED COMMANDS:
"BA"
Brushless Axis
"BB"
Brushless Phase Begins
"BC"
Brushless Commutation
"BD"
Brushless Degrees
"BM"
Brushless Modulo
"BO"
Brushless Offset
"BS"
Brushless Setup
"BZ"
Brushless Zero