# Move spindle after completion

**URL:** <https://forum.avidcnc.com/t/move-spindle-after-completion/3944>\
**Category:** General Chat\
**Created:** [November 14, 2024, 10:01pm UTC](https://forum.avidcnc.com/t/move-spindle-after-completion/3944 "2024-11-14T22:01:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![carpsof](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@carpsof](https://forum.avidcnc.com/u/carpsof)\
**Post date:** [November 14, 2024, 10:01pm UTC](https://forum.avidcnc.com/t/move-spindle-after-completion/3944/1 "2024-11-14T22:01:36Z")

</div>

I want my machine head to move to the far end of the table (Y-axis positive direction) when it completes a job, to make loading & unloading material easier. Is there a way to do this? Even better would if I could toggle the option on and off.  
Thanks.

Mach4

---

<div class="post-metadata">

**Author:** ![AussieMike](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/aussiemike/32/116_2.png) [@AussieMike](https://forum.avidcnc.com/u/AussieMike)\
**Post date:** [November 15, 2024, 4:14am UTC](https://forum.avidcnc.com/t/move-spindle-after-completion/3944/2 "2024-11-15T04:14:13Z")

</div>

This is a function of Vectric software in the material setup stage. I use Aspire and assume it carries over to VCarve. Fusion 360 most likely works in a similar way. Others here might confirm that.  
I have a Masso controller, but imagine Mach will also allow you to program a push button to run gcode sending the head to a predefined location.

---

<div class="post-metadata">

**Author:** ![grossmsj](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/grossmsj/32/4903_2.png) [@grossmsj](https://forum.avidcnc.com/u/grossmsj)\
**Post date:** [November 15, 2024, 3:31pm UTC](https://forum.avidcnc.com/t/move-spindle-after-completion/3944/3 "2024-11-15T15:31:28Z")

</div>

I do this a lot, in several different ways. This is done with CNC12, but there are probably ways to do it in Mach4 if that’s your controller.

1. First thing: move to your desired end position and define that XY coordinate as G30 (done in the WCS section on CNC12). This is a machine-wide position, it doesn’t change with offsets.
2. You can modify your post processer to add a line “G28 G30” after the spindle shuts off. This lifts the spindle to Z0 (G28) and moves to XY position G30.
3. You could also edit your G-Code to include that line if you don’t want to do it via the PP.
4. I’ve made a VCP screen button “G30” that runs the macro G28 G30. This is also deployed to a macro button on the WMPG pendant.

Again, this will work for the EX controller, but you’d need to find the equivalent in Mach4.

---

<div class="post-metadata">

**Author:** ![NLE](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/nle/32/3880_2.png) [@NLE](https://forum.avidcnc.com/u/NLE)\
**Post date:** [November 15, 2024, 9:24pm UTC](https://forum.avidcnc.com/t/move-spindle-after-completion/3944/4 "2024-11-15T21:24:12Z")

</div>

Nice option in the EX control system where you can specify the park location at the end of a job.
