Hello Guest it is June 15, 2019, 09:18:20 PM

Author Topic: Waterjet on/off  (Read 2004 times)

0 Members and 1 Guest are viewing this topic.

Waterjet on/off
« 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
 

Online BR549

*
  •  6,871 6,871
    • View Profile
Re: Waterjet on/off
« Reply #1 on: January 05, 2011, 08:49:28 PM »
'M3 Start macro
DoSpinCW()
Sleep(3000)
DoOEMButton(224)


'M5 Stop Macro
DoOemButton(225)
Sleep(3000)
DoSpinStop()

Just a thought, (;-) TP
« Last Edit: January 05, 2011, 08:52:48 PM by BR549 »
Re: Waterjet on/off
« Reply #2 on: March 11, 2011, 09:50:15 PM »
I'll try that!
Thanks