Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: in4ni on April 11, 2019, 05:12:07 PM

Title: is a position preset possible?
Post by: in4ni on April 11, 2019, 05:12:07 PM
is it possible to configure a keyboard shortcut to jog the router to a preset position, say for a tool change or move the router down the table to load plywood.

Thank you
Title: Re: is a position preset possible?
Post by: reuelt on April 11, 2019, 07:03:48 PM
is it possible to configure a keyboard shortcut to jog the router to a preset position, say for a tool change or move the router down the table to load plywood.

Thank you
Best to have physical home switches.
Then clicking on [REF. ALL HOME] will send the head (router/spindle) to "home".
There are also Gcodes G28, G28.1 and G30 that will send head (router/spindle)  to "home".

For tool change, it is better to do config | general config and select
[Stop spindle wait for cycle start]
You can then edit M6Start.m1s macro under your profile to do whatever you want. (search the forum to see how others have done it). Machine will stop at M6 commands in you files for tool change and will move to where you define in the macro. You can even program the macro to allow you to do the "auto tool (z) zero" before you hit [cycle start].

Alternatively, you can just define any G55 to G59 work offset (PERMANENTLY) to move wherever you want by clicking on screen or by G55 to g59 Gcodes. Leave G54 for normal machining where you often zero x, y and z manually.