You are here

Multitasking Increases Motion Flexibility

Oct
02
by Bob Loyzim

Q Programs are normally executed one line at a time. This ensures precise sequencing of events in the program. There are applications however where motion must occur simultaneously with other events and we offer a multitasking mode to accomplish this. Multitasking allows you to launch a move then perform other operations while the motion is occurring. At the end of the move you can re-synchronize motion and program execution with a WM command.

Let’s look at two examples. An ST5-Q-NN was used for the test platform.

MULTIPLE JOG SPEEDS Here’s a program that launches a jog move then continues on and allows an override speed to be activated when a second input IN5 is activated.

 

ACTIVATING AN OUTPUT DURING AN INCREMENTAL MOVE This program moves 100,000 counts. At 15,000 counts OUT1 is activated. At 85,000 counts OUT1 is de-activated. A linear motion paint sprayer would use such a program so the sprayer was not activated until the motor was at a constant speed.

News Tags: