Home > Resources > Example Programs > Trip On Relative Position

Trip On Relative Position

Description

This program will show the use the trip on relative position function (TR).

Program slews the motor at 600 RPM  =  10 RPS. Sets a trip on relative position which produces a 255 * 50 nS pulse every 512 steps. Runs and stops when I1 toggles. Stops quickly when I2 goes low.  (NOT AN E-STOP)

Hardware requirement: Switch connected to Inputs 1 and 2

The code shown on the right may be copied and pasted into the program editor window of the Motion Control Interface application.

Requirements

Example program

Liberty* MCodeMDrive MCode
 

 

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.