Complete the following steps to test motors.
- Disconnect power to the motors and drives. If you have a National Instruments nuDrive or MID drive, do not turn on the Enable switch.
- Verify all the wiring between the motion controller and motor and between the drive and the motor. If you have servo motors, you may need to verify the direction of the voltage. If you have stepper motors, you may need to verify the polarity of the step and direction lines. Refer to the motor drive documentation for polarity information.
- Launch Measurement & Automation Explorer (MAX).
- Expand Devices and Interfaces in the configuration tree.
- Expand NI–Motion Devices, and then select the item for the appropriate motion device.
- Click Initialize.
Note This step assumes that you have correctly configured the initialization settings.
- Expand Interactive in the configuration tree and select 1-D Interactive.
- Select 1-D Interactive.
- Click the Advanced tab.
- Because the motor could run out of control if the motion control system is set up incorrectly, set the Following Error trip point to a low number to prevent damage to the motion control system.
For example, if the length of your test system is 10,000 counts/steps and the start position is 5,000 counts/steps, you might set the following error trip point to 3,000 counts/steps to ensure that it occurs before the physical end of the system.
- Power on the drive and motor.
- Click Halt to energize the motor. The motion controller is sending information to the drive correctly if the motor maintains its position and resists movement by hand.
- For servo motors, this step may cause the motor to buzz or oscillate. If this happens, use the servo tune panels to tune the motors.
- For stepper motors, execute a move to identify correct behavior.
- Repeat these steps for the remaining motors.