Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 01:35:15 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Waterjet on/off
Pages: 1   Go Down
Print
Author Topic: Waterjet on/off  (Read 319 times)
0 Members and 2 Guests are viewing this topic.
machfab
Active Member

Offline Offline

Posts: 15


View Profile
« 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
 
Logged
BR549
Active Member

Offline Offline

Posts: 2,556


View Profile
« 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 » Logged
machfab
Active Member

Offline Offline

Posts: 15


View Profile
« Reply #2 on: March 11, 2011, 09:50:15 PM »

I'll try that!
Thanks
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!