G4 dwell only in seconds


Results 1 to 5 of 5

Thread: G4 dwell only in seconds

  1. #1
    Member
    Join Date
    Nov 2017
    Location
    United States
    Posts
    459
    Downloads
    0
    Uploads
    0

    Default G4 dwell only in seconds

    When i set configuration to dwell in milliseconds, it still dwells in seconds. i found posts about this issue from almost 10 years ago saying its a bug when using mach3 with smoothstepper. Was this really never fixed? I really need some dwells that are only about 250ms. A whole second is just unnecessarily long

    Similar Threads:


  2. #2
    Member Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    3723
    Downloads
    0
    Uploads
    0

    Default Re: G4 dwell only in seconds

    Would it accept an input of 0.25 seconds?

    Jim Dawson
    Sandy, Oregon, USA


  3. #3
    Member
    Join Date
    Nov 2017
    Location
    United States
    Posts
    459
    Downloads
    0
    Uploads
    0

    Default Re: G4 dwell only in seconds

    i tried experimenting with that last night and the short answer is no, but what it does do might happen to work out. When given any decimal value, it doesnt read the value and dwell properly, but it also doesnt quite just skip over it either. I tried both a 0.01 and 0.99 dwell as well as no dwell at all between 2 opposing X moves. With no dwell it makes both moves with no noticeable pause. With both dwell values of .01 and .99, it gives a momentary pause, but the 2 are equal. Im guessing about a third of a second. Also just to confirm it isnt double digit decimals that it doesnt like, I tried 0.1, and 0.9 but still the same one third second delay. It does seem to work out about right for what im doing, but it would still be nice to have functioning milliseconds. This is for the delay after releasing the pneumatic brake on my mill turn spindle. I designed my brake to be dual action instead of spring return, so it really is lightning fast at releasing. Ill need similar length dwells when writing my bar pull cycles, so hopefully it works out for that as well. Some of the continuous parts ill be doing will easily be under a minute each, so adding multiple one second dwells when i dont need them will definitely start building up some cycle time. I can imagine theres probably ways to get around this to get accurate short pauses. One example i can think of is enabling a B or C axis that isnt actually pinned out to anything and just command a specific length incremental move at specific feedrate and that should result in controllable short delays. Could probably even calculate a proper feedrate so that the move entered equates to milliseconds but mach3 would have to allow infinite accel and deccel on the move for that to work out consistent for any value.



  4. #4
    Member
    Join Date
    Nov 2017
    Location
    United States
    Posts
    459
    Downloads
    0
    Uploads
    0

    Default Re: G4 dwell only in seconds

    wow, huge brain fart on my part. I was using code "G4 Pxx" in my macros for timing. Obviously not the right way to do things. Somehow i forgot about the existence of "sleep" which works just fine in milliseconds and should be used in macros. G4 still has the issue of no milliseconds, but i literally never need to use it. Oops lol



  5. #5
    Member Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    3723
    Downloads
    0
    Uploads
    0

    Default Re: G4 dwell only in seconds

    Happy to hear you got that one solved

    Jim Dawson
    Sandy, Oregon, USA


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

G4 dwell only in seconds

G4 dwell only in seconds

G4 dwell only in seconds