Hello Guest it is March 28, 2024, 07:59:59 PM

Author Topic: Another Auto Home/Zero button question  (Read 2973 times)

0 Members and 1 Guest are viewing this topic.

Another Auto Home/Zero button question
« on: December 01, 2015, 07:08:11 AM »
Hi all

I have a question about the auto zero button.

If I set my home zero to my base plate of my machine, then set my Z zero to the top of my workpiece, this will give an offset from home to zero (lets say 20mm work piece thickness)?

What I want to do is set an auto tool zero that works off my base plate, I want to build my touch plate into my baseplate, then when I hit the auto tool zero button it will return to the home position +40mm safety for tool length, then proceed to zero the tool but instead of setting the Z Zero it will set the Home Z and the offset for my Z Zero should remain so even if the tool length is different the Z Zero should now reflect. This will allow me to hit my zero the machine will move to home then zero, this saves me having to always place my touch plate to zero after every tool change.

If anyone understands what I am trying to do can you advise if this is possible and point me in the right direction to some code?



Thank you for the great knowledge bank

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Another Auto Home/Zero button question
« Reply #1 on: December 01, 2015, 07:15:51 AM »
My 2010 Screenset uses a fixed plate for tool changes, and a movable plate for setting zero to the part.

You set your zero with the movable plate, and after tool changes, the new tool length is set automatically using the fixed plate.

https://youtu.be/pJNUcsJ6BC8
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Another Auto Home/Zero button question
« Reply #2 on: December 01, 2015, 07:17:59 AM »
My 2010 Screenset uses a fixed plate for tool changes, and a movable plate for setting zero to the part.

You set your zero with the movable plate, and after tool changes, the new tool length is set automatically using the fixed plate.

https://youtu.be/pJNUcsJ6BC8

Thx ger, this sound exactly like what im after, will check it out
Re: Another Auto Home/Zero button question
« Reply #3 on: December 01, 2015, 07:25:40 AM »
My 2010 Screenset uses a fixed plate for tool changes, and a movable plate for setting zero to the part.

You set your zero with the movable plate, and after tool changes, the new tool length is set automatically using the fixed plate.

https://youtu.be/pJNUcsJ6BC8

Thx ger, this sound exactly like what im after, will check it out

That is exactly what I'm after Ger, is that code available anywhere? I have built my own screenset so just want the code for the button.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Another Auto Home/Zero button question
« Reply #4 on: December 01, 2015, 07:49:33 AM »
There's a thread on CNC Zone by Big Tex. It's a sticky in the Mach3 section. There's an early version of my code in there somewhere, which is based on the code that Big Tex posted.
You'd need to make a lot of changes, as the code references a lot of user DRO #'s.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Another Auto Home/Zero button question
« Reply #5 on: December 01, 2015, 08:27:29 AM »
There's a thread on CNC Zone by Big Tex. It's a sticky in the Mach3 section. There's an early version of my code in there somewhere, which is based on the code that Big Tex posted.
You'd need to make a lot of changes, as the code references a lot of user DRO #'s.

Thx Ger found it.

I think I understand most of it, so I need to run two buttons, one for the initial setup using the "initial tool change" file and a second for use after changing tools utilizing the "M6start" file?

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Another Auto Home/Zero button question
« Reply #6 on: December 01, 2015, 09:29:51 AM »
Almost.
M6 Start moves to the tool position, and is run before the tool is changed.
M6End does the zeroing, after the tool change.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html