Optima DMC-1xxx and DMC-18x2 Command Reference
BS
i
43
BS
FUNCTION: Brushless Setup
DESCRIPTION:
The command BS tests the wiring of a sinusoidally commutated brushless motor. If Hall
sensors are connected, this command also tests the wiring of the Hall sensors. This
function can only be performed with one axis at a time.
This command returns status information regarding the setup of brushless motors. The
following information will be returned by the controller:
1.
Correct wiring of the brushless motor phases.
2.
An approximate value of the motor's magnetic cycle.
3.
The value of the BB command (If hall sensors are used).
4.
The results of the hall sensor wiring test (If hall sensors are used).
This command will turn the motor off when done and may be given when the motor is off.
Once the brushless motor is properly setup and the motor configuration has been saved in
non-volatile memory, the BS command does not have to be re-issued. The configuration
is saved by using the burn command, BN.
Note: In order to properly conduct the brushless setup, the motor must be allowed to move a
minimum of one magnetic cycle in both directions.
ARGUMENTS: BSA= v, n
where
v is a real number between 0 and 10. v represents the voltage level to be applied to each
phase.
n is a positive integer between 100 or 1000. n represents the duration in milliseconds that
voltage should be applied to the motor phases.
USAGE: DEFAULTS:
While Moving
No
Default Value of V
0
In a Program
Yes
Default Value of n
200
Command Line
Yes
Controller Usage
ALL CONTROLLERS
EXAMPLES:
BSC = 2,900
Apply set up test to C axis with 2 volts for 900 millisecond on each step.
RELATED COMMANDS:
"BA"
Brushless Axis
"BB"
Brushless Phase Begins
"BC"
Brushless Commutation
"BD"
Brushless Degrees
"BI"
Brushless Inputs
"BM"
Brushless Modulo
"BO"
Brushless Offset
"BZ"
Brushless Zero
Note: When using Galil Windows software, the timeout must be set to a minimum of 10 seconds
(timeout = 10000) when executing the BS command. This allows the software to retrieve all messages
returned from the controller.