Page 1 of 1

How to set delay for spindle ramp down? (Resolved)

Posted: Sun May 16, 2021 5:57 pm
by carboncymbal
I looked around for this couldn't find the information. I'm sure that I overlooked it somewhere. Could someone please tell me how I can set the delay for the M5 (Spindle off) command? For example, if my spindle takes 5 seconds to ramp down from 24,000 rpms, how can I ensure that the machine pauses for long enough before attempting a tool change? I do not have any additional inputs that I can spare to detect zero speed from the VFD.

Thanks,
Clay

Re: How to set delay for spindle ramp down?

Posted: Sun May 16, 2021 7:42 pm
by Gary Campbell
G4 P5 is 5 second delay

Re: How to set delay for spindle ramp down?

Posted: Sun May 16, 2021 7:45 pm
by ShawnM
Gary beat me to it.....again, just add G4 P5 in your M6 macro right after the M5 command line.

M5 ;Turn off spindle
G4 P5 ;pause for 5 seconds (where "5" is the number of seconds you want to pause)