Home > Resources > Example Programs > Closed loop on error

Closed loop on error

Description

This program illustrates closed loop control with an On Error (OE) routine which will perform math functions on the counters to display the position error.

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.