Hello Guest it is March 28, 2024, 01:12:30 PM

Author Topic: dry run  (Read 6037 times)

0 Members and 1 Guest are viewing this topic.

dry run
« on: December 11, 2011, 07:37:15 PM »
Is there a way to "dry run" a program? Meaning run the g codes with the spindle (waterjet water) and coolant (abrasive flow) disabled?
Sometimes we need to trace cut the program once to make sure we have it positioned on the sheet correctly. Also is there a hotkey to turn on the spindle and a hotkey for the coolant? This would be handy for scrap cutting.
Thanks in advance.
Re: dry run
« Reply #1 on: December 11, 2011, 07:56:49 PM »
Inhibit Z, then modify your M codes that turn on water and abrasive to recognize whether inhibit Z is on.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: dry run
« Reply #2 on: December 11, 2011, 08:04:44 PM »
F5 is spindle I think
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: dry run
« Reply #3 on: December 11, 2011, 08:36:59 PM »
Let your CAM include the Skip Block function for the M3 and M8, \M3 & \M8 . To run dry then click on block delete and run the code. If all is well then turn OFF block delete and cut away.

I have a routine that is a button for dry runs. It turns on block delete and sets the scale for Z at .001. That way the Z really never moves much. It also steps up the Feedrate to 200 %. A second button sets it all back to normal.

Just a thought, (;-) TP
Re: dry run
« Reply #4 on: December 11, 2011, 08:56:44 PM »
I am not sure if z inhibit will work as I only use x & y.
Re: dry run
« Reply #5 on: December 11, 2011, 09:16:27 PM »
Then just add a button to turn on a LED.  In your M codes for water and abrasive, look at that LED.
Re: dry run
« Reply #6 on: December 12, 2011, 06:15:35 AM »
Then just add a button to turn on a LED.  In your M codes for water and abrasive, look at that LED.
Could you expand on that? Would we modify the visual basic that operates the m codes? Would we add the button in the screen designer or will a hotkey turn on & off an led? Thanks

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: dry run
« Reply #7 on: December 12, 2011, 07:54:43 AM »
What Terry Said,

Scott
fun times
Re: dry run
« Reply #8 on: December 12, 2011, 09:17:55 AM »
Add a button and LED in screen designer.  In the water and abrasive M codes, add some if statements something like....

If LED is on, turn on water and abrasive....else....turn it off.

The block delete method works also, but if you have employees running the machine who don't have a don't have a good understanding of CNC and Mach3, a button that says "DRY RUN" and an LED beside it is a lot more intuitive.   
Re: dry run
« Reply #9 on: December 21, 2011, 06:48:03 PM »
I will try that! Thanks!!