I have a CNC machine and an extractor which pulls out dust etc while the CNC is running. With that said sometimes the CNC finishes it's job and stops - know that it won't always return to the same point of origin - noooo - that would be TOO easy! SO when the CNC stops its run it returns to the 0 point set for THAT job and stops. The extractor, however, has no intelligence and continues to run regardless.
I need to find a way that I can have a movement sensor OR some sort of sensor that would turn the extractor off when the CNC has stopped. Typically that would mean all 3 AXIS will stop moving. Is there a way to do this? I have a UNO and a 2560 laying around but i think an UNO would be more than enough.
I am using NCStudio. I know some cards like Mach3 have a pin out that can be used to trigger a relay etc which would be the easy way - VERY easy way. However I don't think NCStudio has that ability.
shearder:
I am using NCStudio. I know some cards like Mach3 have a pin out that can be used to trigger a relay etc which would be the easy way - VERY easy way. However I don't think NCStudio has that ability.
Once again i ask: Why not power the extractor when the spindle is powered ?
You could XOR all the step pulses together and hook that to an interrupt pin. Interrupt
handler resets the time-out value, main loop waits for time-out to happen. Or route the
step pulses to several pins on the same port and use the relevant pin-change interrupt.
That would be a very logical thing to do. How would i go about doing that? would it not compromise the workings of the spindle which is controlled by an inverter? I am not sure if it uses PWM etc - whether it is relevant or not is also beyond me however how would i do that as it makes the most sense as the extractor is only required when the spindle is running.
Zapro:
shearder:
I am using NCStudio. I know some cards like Mach3 have a pin out that can be used to trigger a relay etc which would be the easy way - VERY easy way. However I don't think NCStudio has that ability.
Once again i ask: Why not power the extractor when the spindle is powered ?