603,546 active members*
3,359 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Uncategorised MetalWorking Machines > Is there a way to feed an offset in manually in Gcode
Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2007
    Posts
    125

    Is there a way to feed an offset in manually in Gcode

    Say I have Z come to a position G0 z1.0

    and I want it to automatically change it's postion on the next line to be 1.5 as in 1.0 is NOW 1.5.

    Is there a way to do that?

    I am facing a part and want the face of the part to be the new paramater without having to reset a distance manually in the mach 3.

    Does this make sense? I hope it does.

  2. #2
    G52 ?
    A poet knows no boundary yet he is bound to the boundaries of ones own mind !! ........

  3. #3
    Join Date
    Mar 2007
    Posts
    125
    So what would you put? G52 Z1.5
    And continue with the program?

  4. #4
    Join Date
    Oct 2006
    Posts
    104
    Try this "G92 Z1.5". It should change your Z position. Use G92.1 to erase it.

    Chuck
    http://chuckscnc.blogspot.com/

  5. #5
    Quote Originally Posted by seanreit View Post
    So what would you put? G52 Z1.5
    And continue with the program?
    yes

    if you want to shift 1" then its g52z1. , to cancel the shift use g52z0
    it works for xyz and is quite handy once you get used to using it
    A poet knows no boundary yet he is bound to the boundaries of ones own mind !! ........

  6. #6
    Join Date
    Jul 2005
    Posts
    12177
    Quote Originally Posted by seanreit View Post
    Say I have Z come to a position G0 z1.0

    and I want it to automatically change it's postion on the next line to be 1.5 as in 1.0 is NOW 1.5.

    Is there a way to do that?..
    You use G0 Z1.0 to go to 1.0; why not use G0 Z1.5 to go to 1.5?
    An open mind is a virtue...so long as all the common sense has not leaked out.

  7. #7
    Join Date
    Oct 2006
    Posts
    104
    I think he wants to create an offset so the Z coordinate changes without moving the tool.
    http://chuckscnc.blogspot.com/

Similar Threads

  1. cnc - is edge finding done manually?
    By Numb Nut in forum Benchtop Machines
    Replies: 16
    Last Post: 11-09-2008, 10:00 PM
  2. can this be programmed manually?
    By 300sniper in forum G-Code Programing
    Replies: 25
    Last Post: 02-15-2008, 05:07 AM
  3. code rotary manually
    By daisydog in forum Mastercam
    Replies: 3
    Last Post: 01-19-2008, 09:20 PM
  4. Manually Change Endmill
    By DroopyPawn in forum G-Code Programing
    Replies: 9
    Last Post: 11-20-2007, 08:04 AM
  5. How do you move an axis manually ?
    By Eurisko in forum DIY CNC Router Table Machines
    Replies: 6
    Last Post: 04-07-2007, 03:00 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
  •