I’ve asked this question already in IRC, but I figured it couldn’t hurt to ask it again here in case my question there wasn’t clear.
I have an accessory driven by a stepper motor on driver #4 of my smoothie board. Currently, I have my config setup so that this accessory looks like an extruder. I’m not sure that’s the right way to set this up though.
What I’d like to achieve is the following simple thing:
- Command my accessory stepper to step X steps @ Y steps/sec. This action might take 15-20 min to complete.
- As the accessory driver spins for these 15-20 min, I’d control the XYZ motors on drivers 1,2 and 3 with some gcode.
So I guess I’m basically looking for a way for a stepper motor to run in the background. I’ve looked at the switch or spindle control modules but those don’t seem to be the right tool here.
Are there any m-codes or console commands that could allow me to do this? At first glance, maybe I could use M1910.x for this?
I’d very much like to solve this in software rather than hardware if at all possible.
If I have to write a new firmware module for this, I’d love to hear an expert opinion on how much work that might be. Would this be some simple module that would play nicely with the rest of the firmware? or would it take some major changes to make this work?
Thanks in advance for any advice!
Imported from wikidot