G28 Z Only

Results 1 to 3 of 3

Thread: G28 Z Only

  1. #1
    Registered SoCalPlaneDoc's Avatar
    Join Date
    Mar 2012
    Location
    USA!
    Posts
    117
    Downloads
    0
    Uploads
    0

    Default G28 Z Only

    Anyone know how to path pilot G Code a move to the Z upper limit without moving the other Axis?

    Automated Machinery Designer - PCNC1100 Series III upgrade, Graziano Sag 12 Lathe
    Solidworks 2016 (SW Certified), HSMWorks


  2. #2
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    1943
    Downloads
    2
    Uploads
    0

    Default Re: G28 Z Only

    If your G28 position (X Y Z) is such that the predefined Z position is where you want to go then use this line:

    G91 G28 Z0

    which will move the Z axis only to its predefined position. By specifying only the Z axes in the G28 command, only the Z axes will move instead of all of them. The Z0 tells it to move to Z0 first, but since ythe line also includes G91 it just takes off for the predefined position defined by G28.1. Same is true for G30/G30.1

    Many times though I just use G53. My z upper limit is my machine Z=0, so just programming a line in machine coordinates (G53) does the same thing. Like this:

    G53 G0 Z0

    Since G53 is non-modal the next line goes back to what ever work coordinate system you were using immediately before (G54, G55, G56...)



  3. #3
    Registered SoCalPlaneDoc's Avatar
    Join Date
    Mar 2012
    Location
    USA!
    Posts
    117
    Downloads
    0
    Uploads
    0

    Default Re: G28 Z Only

    Quote Originally Posted by 109jb View Post
    If your G28 position (X Y Z) is such that the predefined Z position is where you want to go then use this line:

    G91 G28 Z0

    which will move the Z axis only to its predefined position. By specifying only the Z axes in the G28 command, only the Z axes will move instead of all of them. The Z0 tells it to move to Z0 first, but since ythe line also includes G91 it just takes off for the predefined position defined by G28.1. Same is true for G30/G30.1

    Many times though I just use G53. My z upper limit is my machine Z=0, so just programming a line in machine coordinates (G53) does the same thing. Like this:

    G53 G0 Z0

    Since G53 is non-modal the next line goes back to what ever work coordinate system you were using immediately before (G54, G55, G56...)
    Awesome... thanks!

    Automated Machinery Designer - PCNC1100 Series III upgrade, Graziano Sag 12 Lathe
    Solidworks 2016 (SW Certified), HSMWorks


Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

G28 Z Only

G28 Z Only