Machsupport Forum

Mach Discussion => Mach4 General Discussion => Mach4 Toolbox => Topic started by: Len-Tikular on December 08, 2022, 12:36:18 PM

Title: M6 again nothing fancy.
Post by: Len-Tikular on December 08, 2022, 12:36:18 PM
I need a simple macro so when my Gcode reaches an M6,my Z will go to its safe z position.
I can Jog the gantry to whatever position I like.
I will then change the tool.
Execute a Z zero touch to my reference plate.
When complete I hit continue and mach4 will carry on and execute the next part of the gcode.
Nothing fancy, no tool lengths just plain and simple like I had in mach3.

Any willing helpers.
A free Haggis for the the best bit of code.
Title: Re: M6 again nothing fancy.
Post by: joeaverage on December 08, 2022, 02:29:52 PM
Hi,

Quote
I can Jog the gantry to whatever position I like.

Thats the bit that make it difficult. There is a thread which covers some of the ideas:

https://www.machsupport.com/forum/index.php?topic=46728.0 (https://www.machsupport.com/forum/index.php?topic=46728.0)

Craig