Hello Guest it is March 28, 2024, 05:19:32 AM

Author Topic: M6 again nothing fancy.  (Read 1054 times)

0 Members and 1 Guest are viewing this topic.

M6 again nothing fancy.
« 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.
One step at a time!
Re: M6 again nothing fancy.
« Reply #1 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

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'