Machsupport Forum
		Mach Discussion => General Mach Discussion => Topic started by: machfab on January 05, 2011, 06:54:05 PM
		
			
			- 
				I am configuring Mach3 for a waterjet. I need to execute a sequence for on and off.
 On:
 M3 (water on)
 G4 Pxx (delay to create vacuum in abrasive line)
 M8 (abrasive on)
 
 Off:
 M9 (abrasive off)
 G4 Pxx (delay to clear abrasive line)
 M5 (water off)
 
 My question is:
 How can I combine these into a Macro?
 Maybe a custom M code that executes the above?
 Thanks
 
- 
				'M3 Start macro
 DoSpinCW()
 Sleep(3000)
 DoOEMButton(224)
 
 
 'M5 Stop Macro
 DoOemButton(225)
 Sleep(3000)
 DoSpinStop()
 
 Just a thought, (;-) TP
- 
				I'll try that!
 Thanks