Hello Guest it is April 19, 2019, 08:59:25 AM

Author Topic: Moving the tool after cutting to a location automatically  (Read 1661 times)

0 Members and 1 Guest are viewing this topic.

Offline NormB

*
  •  169 169
  • Norm
    • View Profile
Moving the tool after cutting to a location automatically
« on: January 01, 2015, 01:34:03 PM »
What I am trying to do is move the tool after cutting to a position on the table say to the rear out of the way for easier loading and unloading the table.  The code generated in Vcarve moves the tool back to the original  home position.  I am not sure if I change that in Mach or in Vcarve and then HOW? The best would be if I can pick a position on the table say at 0,48 to the far right rear of the table then once reloaded move back to 0,0 and I am ready to go again.   

Offline ger21

*
  • *
  •  6,200 6,200
    • View Profile
    • The CNC Woodworker
Re: Moving the tool after cutting to a location automatically
« Reply #1 on: January 01, 2015, 02:37:05 PM »
If you want it to always go to the same place after cutting, then Imo, the best way to do it is to add the move top your post processor.

You could also set your home position to there as well, but then the machine will always move there before it starts cutting. But you can also edit that out of the post processor as well.

With my 2010 Screenset, I have a Park Position macro, which sends the machine to the Park Position specified in the screenset. I add the macro to the vectric post processor, so the machine always goes to the park position after cutting. The nice thing about this method is that BY changinge the park position in the screenset, I can have the same g-code program finish in different positions without altering the g-code.

Like many things with Mach3 and CNC, there are many different ways to achieve what you want.
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,863 6,863
    • View Profile
Re: Moving the tool after cutting to a location automatically
« Reply #2 on: January 01, 2015, 03:18:58 PM »
The best way to do this is to be able to RefHome your machine at startup. This allows the machine to KNOW exactly where it is at any time.

Set Setup a  Park Position as Gerry suggested. Then use the G28 to reference your Park position. At the end of your Postcode add in a G28 before the M30 call. Then the machine at the end of the cut will automatically GOTO the Park position. That way IF you want to change your park position you only have to change the G28 location and NOT have to redo the post code each time.

Just a thought, (;-) TP

Offline NormB

*
  •  169 169
  • Norm
    • View Profile
Re: Moving the tool after cutting to a location automatically
« Reply #3 on: January 01, 2015, 03:48:00 PM »
Thank you, I understand and I like the approach.  One G code different park position with one easy change.