The following steps are true if the source code
was not modified and use the recommended LVSERVOMTR
motor.
- Make sure all steps are followed as described in
Section 2.4 and
Section 3.2
- Enter debug mode in CCS (Run-Debug). The
current consumption from the external 48V DC supply cannot exceed 15mA
- Run the code (Run-Resume)
- The green LED5 on the
LAUNCHXL-F28P65X C2000 LaunchPad starts blinking
- Enable continuous refresh in the Expressions
window (1)
- Go to expressions window and write 1 to
motorVars_M1.flagEnableRunAndIdentify variable 2
- The motor starts slowly spinning
- Control the speed with
motorVars_M1.speedRef_Hz float variable
- Changing the polarity of
the variable changes the rotation direction
- Monitor the speed with
motorVars_M1.speed_Hz variable
CAUTION: If the motor direction does not
match the position sensing, then the motor does not run. In this case, try swapping
two of the motor phase wires.
To explore full options and labs for this board,
review the Motor Control SDK Universal Project and Lab
user's guide.