586,080 active members*
3,485 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2008
    Posts
    475

    Z goto 0 first ?

    Is it possible to have Z "go to Z" first to prevent possible damage ?

    Right now when I press go to Z, X and Y move to 0 first and stop then the Z goes to 0.

    Thx,

    Steve

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    Turn on and configure "Safe Z", under the Config menu.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

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

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Jun 2004
    Posts
    6618
    Safe Z is a must for me. I use 2.5" on my router as a safe Z because I use toggle clamps. I use .1" on the mill. I also like it to go to safe Z when I hit the stop button. If you have to go back home, the Z is up and it also picks it up in case of a bind or a stall on the spindle. I don't see that anymore yet, but saw it often when I was using the stock X2 spindle motor.
    Lee

  4. #4
    Join Date
    Jan 2005
    Posts
    15362
    Hi SScnc
    You can do as ger21 has said or just have the first line of Gcode to be G0 Z1.0 or what ever number you want it to be to clear fixtures etc you do not need a X Y move as this saves a lot of machine movement your machine will then go to your programed part start point which is your part zero

    The only time you need a X0 Y0 is if that is your part start point which you would put under the Z axes Gcode moves

    Also put the same G0 Z move at the end of your program for the same reasion before any G0X---Y--- moves & this will save you any crashing in to things at the end of your program as well
    Mactec54

  5. #5
    Join Date
    Mar 2003
    Posts
    35538
    The gotoZ button in Mach (which is what he was referring to) is hard coded, if you use it, you need to use SafeZ
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

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

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  6. #6
    Join Date
    Jun 2008
    Posts
    475
    Quote Originally Posted by ger21 View Post
    Turn on and configure "Safe Z", under the Config menu.

    That did it.

    Also, I just started writing some G-code for some simple operations yesterday so that info helps allot too.

    Thanks for the help guys.

  7. #7
    Join Date
    Jun 2004
    Posts
    6618
    Sheetcam has a safe Z setting in it as well. Not sure what cam if any you use. No need to set safe Z then, but I still do it. They call it safe for a reason.
    Lee

  8. #8
    Join Date
    Mar 2003
    Posts
    35538
    If you want to be really brave, you can change the button function using Screen4 (Mach's screen designer) to execute g-code commands and do exactly what you want. Let me know if you want to know how to do it.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

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

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Similar Threads

  1. Using GOTO in a mazak program
    By CAMCRASH in forum G-Code Programing
    Replies: 8
    Last Post: 03-16-2012, 11:31 AM
  2. GOTO Z button
    By TMaster in forum Mach Mill
    Replies: 10
    Last Post: 05-30-2009, 01:18 PM
  3. GOTO Z
    By monte55 in forum Mach Software (ArtSoft software)
    Replies: 12
    Last Post: 02-06-2008, 04:03 PM
  4. Need help with IF ,THEN,AND GOTO USING COMMON VARIABLES.
    By XRACERJB in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 2
    Last Post: 08-31-2007, 02:08 PM
  5. Goto Z's button... also the @#$%#$% wizard...
    By InspirationTool in forum Mach Mill
    Replies: 2
    Last Post: 04-02-2007, 03:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •