Home > Resources > Example Programs > Analog slew with stall detection

Analog slew with stall detection

Description

This program will use the analog input reading to ram the velocity until the motor stalls. When the stall occurs, an error is generated.

A subroutine is triggered by the error to: Print the Error number and stalled sate of the motor,

The code shown on the right may be copied and pasted into the program editor window of the Motion Control Programmer application, or a zip file containing the program files may be downloaded below.

Requirements

Example program

Liberty* MCodeMDrive MCode
*Previously Lexium

 

When it comes to your form, fit and function requirements, don’t settle. Get precisely what you need working with us. We know motion.

Contact us with any questions about how we can help you with your motion application or for assistance with your IMS products.

Browse our resource section and find the most useful tools and documents for all our products.