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
How to set delay for spindle ramp down? (Resolved)
Moderator: cnckeith
-
- Posts: 99
- Joined: Tue Dec 15, 2020 11:12 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 0035FF8A1900-10082038
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
-
- Posts: 2187
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Bergland, MI, USA
- Contact:
Re: How to set delay for spindle ramp down?
G4 P5 is 5 second delay
-
- Posts: 2231
- Joined: Fri May 24, 2019 8:34 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804734C6498-0401191832
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Clearwater, FL
Re: How to set delay for spindle ramp down?
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)
M5 ;Turn off spindle
G4 P5 ;pause for 5 seconds (where "5" is the number of seconds you want to pause)