Hello Guest it is April 18, 2024, 12:11:17 AM

Author Topic: Getting machine coord for Z  (Read 2183 times)

0 Members and 1 Guest are viewing this topic.

Getting machine coord for Z
« on: March 12, 2016, 11:45:10 AM »
I have a "park" function which gets the router out of the way quickly to check out or remove a part...the macro is quite simple, g0 z-1 followed by g0x12y12...

works great IF I have touched off and the new zero is at the top of the workpeice! You can guess what happens if I park with the Z at machine zero!!

So what I am asking is how can I make a Z move in machine coordinates? Eg...I would change my script to move to machine zero before the XY move, this should work in all cases (as long as the Z has been homed)

Thanks

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Getting machine coord for Z
« Reply #1 on: March 12, 2016, 02:08:47 PM »
G53 G0 Z0
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Getting machine coord for Z
« Reply #2 on: March 12, 2016, 08:34:37 PM »
thanks! is the g53 persistant or for the current line only?

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Getting machine coord for Z
« Reply #3 on: March 12, 2016, 09:37:07 PM »
Current line
Gerry

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

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