585,728 active members*
5,005 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Uncategorised MetalWorking Machines > What is the gcode to ref 1 axis home after
Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2007
    Posts
    125

    What is the gcode to ref 1 axis home after

    i run a part? I want my x axis on my lathe to go to the home switch after every run of a part.

    thanks,

  2. #2
    Join Date
    Jul 2005
    Posts
    12177
    G28 U0. should do it.

    Alternatively G53 X0.
    An open mind is a virtue...so long as all the common sense has not leaked out.

  3. #3
    Join Date
    Mar 2007
    Posts
    125
    g28 U(as in universe??) 0 (zero)?? I just tried that on my tormach and it did nothing. I didn't think about just sending it to absolute zero, duh, that's a great idea. I would have rather it actually depressed the switch and come back thereby homeing itself, but thiswill work. thanks,

  4. #4
    Join Date
    Apr 2005
    Posts
    3634
    Turning

    "G28 U0" - means go home in X incrementally from the current location

    "G28 W0" - means the same for the Z direction


    .
    Free DXF - vectorink.com

  5. #5
    Join Date
    Jul 2005
    Posts
    12177
    Quote Originally Posted by seanreit View Post
    g28 U(as in universe??) 0 (zero)?? I just tried that on my tormach and it did nothing. ...
    ??

    I thought U was incremental X on a lathe.

    What happens if you just do G28 X? Normally this sends the machine to zero in the current work coordinate system then to machine zero (home). I do not like this because it can cause a crash as it moves to the zero before going home; this is the reason for using incremental because a zero in incrmental means no movement, it (should) just go home.

    I much prefer G53 because when you are using the machine coordinate ssystem you know exactly where it is going.
    An open mind is a virtue...so long as all the common sense has not leaked out.

  6. #6
    Join Date
    Mar 2007
    Posts
    125
    ya, i was running a part on the lathe so i just did the g28 on my mill. anyway, i went to mdi on mach3 turn and put in g28u0 and nothing happened at all.

  7. #7
    Join Date
    Mar 2007
    Posts
    125
    g530 works perfect, should have thought of that before writing this, but thanks for the additional information on g28, I have not used that before, although in my case it's doing nothing, other than if i put g28 z homes.

Similar Threads

  1. Replies: 15
    Last Post: 06-30-2016, 04:38 PM
  2. Eztrak X axis will not home
    By sidstover in forum Bridgeport / Hardinge Mills
    Replies: 4
    Last Post: 11-12-2008, 02:04 AM
  3. Z-axis 0 point (home) ?
    By tvdbon in forum DIY CNC Router Table Machines
    Replies: 3
    Last Post: 05-26-2008, 08:05 PM
  4. Z axis Home backoff
    By Stevie in forum Mach Mill
    Replies: 1
    Last Post: 12-21-2005, 12:28 AM
  5. Replies: 0
    Last Post: 03-10-2005, 07:46 PM

Posting Permissions

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