Author Topic: How to add 10 Sec delay after M3?  (Read 13574 times)

Offline WireCut

  • Droid
  • **
  • Posts: 88
    • View Profile
How to add 10 Sec delay after M3?
« on: November 01, 2018, 12:56:29 pm »
I have a new CNC and using Theremino CNC to manage this CNC.

I need to add a delay of 10 second after the motor start command (M3) because the spindle motor take almost 8 ...9 second to go at the full speed..

Now I edit the GCODE and add  G04 U10, but this is a boring activity and if i do not insert this delay, I broken the tool and the material.

How to insert this delay directly into CAMBAM?

Leo

Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2680
    • View Profile
Re: How to add 10 Sec delay after M3?
« Reply #1 on: November 01, 2018, 13:19:49 pm »
Put the code in the post processor you use.
See the picture. After {$s} or on a new line between {$spindle} and {$blocks}

Offline WireCut

  • Droid
  • **
  • Posts: 88
    • View Profile
Re: How to add 10 Sec delay after M3?
« Reply #2 on: November 02, 2018, 11:08:22 am »
Many thanks,

Perfectly working!


Grazie e ciao!

Offline chuckeroo

  • CNC Jedi
  • *****
  • Posts: 589
    • View Profile
Re: How to add 10 Sec delay after M3?
« Reply #3 on: November 07, 2022, 20:10:19 pm »
Well you just helped someone else. I am at the end of putting together automated pneumatic cylinders to open and close blast gates. Of course you want a delay built in to clear out the cuttings that remain in the PVC and hoses. This idea came from a fellow by the name of Jeremy Feilding posting automated projects on you tube. Yea I will give him a plug because he is that talented. This guy is sharp and also has an automated table saw runs off a pc. Pretty impressive in my book. I love the world of automation for me it's a kick in the pants. Thanks all.