Results 1 to 7 of 7
  1. #1
    JimGlass is offline Stainless
    Join Date
    Jan 2003
    Location
    Genoa, Illinois
    Posts
    1,420

    Default Dwell for G-Code l??

    I'm turning grooves in a 3/16 dia workpiece that is kinda long. I would like to have a short dwell at
    the bottom of the groove. I thought I could add #250 to the code thinking the tool would remain at the bottom of the groove for a few milliseconds before retracting but it does not work.

    When Mach 3 sees the first line with the #250 it stops and says there needs to be an equal sign.
    Where does the equal sign need to be? I tried to add the equal sign like this #=250 or =#250 but Mach3
    still does not accept the code.

    This should be an easy fix but I'm lost.
    Jim

  2. #2
    screensnot is offline Hot Rolled
    Join Date
    Jul 2005
    Location
    SE Michigan, USA
    Posts
    584

    Default

    Not sure about Mach 3, but the usual g-code for dwell is G4.

    On Fanuc:

    G4 P500 (or G4 X500) will give you a .5 second dwell. No decimal is allowed in the P value (or X value), and the unit is milliseconds.

    Other controls (Milltronics, for example) allow a decimal, and the unit is seconds.

    G4 P.5 will give a .5 second dwell.

  3. #3
    FredC is offline Hot Rolled
    Join Date
    Oct 2010
    Location
    Dewees Texas
    Posts
    703

    Default

    On my machines g4 g04 are the codes for dwell also. If this will not work a easy work around would be to slow the feed to .0001 per rev for the last 1/2 thousanths of feed assumming this is a lathe. If a mill do the same thing just slow feed the last little bit.

  4. #4
    Ox's Avatar
    Ox
    Ox is offline Diamond
    Join Date
    Aug 2002
    Location
    West Unity, Ohio
    Posts
    17,874

    Default

    Any Fanuc that I have used dwell on takes decimals just fine.

    ???

    G4 X.5 = 1/2 second
    Can substitute U for X

    I think our older Mits only takes U's.


    If your Mach doesn' take this code - I would be surprised...


    ---------------------

    I am Ox and I approve this h'yah post!

  5. #5
    Hood is offline Stainless
    Join Date
    Nov 2004
    Location
    Carnoustie, Scotland
    Posts
    1,040

    Default

    G4P*** as has been mentioned is for a dwell, the **** will be the amount of dwell you want, it can either be in seconds or milliseconds and you choose which on General Config page.
    Hood

  6. #6
    Sean the Dog is offline Cast Iron
    Join Date
    May 2011
    Location
    Nova Scotia
    Posts
    305

    Default

    Didn't the length of dwell with G04 depend on whether you were feeding in Inches per Revolution (lathe) or Inches per Minute (mill)? I thought one timed the dwell in seconds and the other in spindle revolutions. (Been a long time...)

  7. #7
    Hood is offline Stainless
    Join Date
    Nov 2004
    Location
    Carnoustie, Scotland
    Posts
    1,040

    Default

    Quote Originally Posted by Sean the Dog View Post
    Didn't the length of dwell with G04 depend on whether you were feeding in Inches per Revolution (lathe) or Inches per Minute (mill)? I thought one timed the dwell in seconds and the other in spindle revolutions. (Been a long time...)
    Not in Mach anyway, its time based (S or mS depending on config)
    Hood

Bookmarks

Posting Permissions

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