I'd like to mimic the Mach4 function where the Spindle automatically stops when you pause or use the feed hold. It starts up again with a delay when the machine resumes or the feed hold is released.
What's the easiest way to go about this? Is the default behaviour hard coded into KMotionCNC or is this something that can be dealt with using 'C' files attached to functions in the machine setup?
I feel sure this is something that's been done already, so it seems pointless to reinvent the wheel.
Stopping and restarting the spindle when pausing or feed holding
Moderators: TomKerekes, dynomotion
-
- Posts: 78
- Joined: Tue Mar 30, 2021 8:07 am
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Stopping and restarting the spindle when pausing or feed holding
Hi Roger,
You can add an Action to Halt to do whatever you wish. You might see the SafeZ_SpindleOff.c example.
You can add an Action to Halt to do whatever you wish. You might see the SafeZ_SpindleOff.c example.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 78
- Joined: Tue Mar 30, 2021 8:07 am
Re: Stopping and restarting the spindle when pausing or feed holding
Thanks, that's great, I'll take a look.