Hi,
I am planning to use smoothieboard for my homemade 3d printer, but I also want the option of using a CNC spindle and maybe a laser engraver. Smoothieboard is perfect for what I want but is there anyway that it would be possible to have all of them setup and just use a line of code or switches to select the tool? And if so how would it be possible?
Thanks
Imported from wikidot
Hey.
It’s sure possible to enable multiple tools in config at once.
Then if you need to select which tool to use, how you do that depends on the exact tool.
3D printing
For Extruder, it’s easy : it just won’t do anything unless a E parameter is passed, so just don’t if you are using one of the other tools.
TemperatureControl also won’t do anything unless it’s told to. Just remember to set temperature to 0 when done using it.
M104 S0
Laser cutting
The Laser module will turn laser on during G1 moves. The simplest way to disable it is setting it’s power to 0 :
G1 Z0 S0
If your laser power supply has an enable pin, you can set up a Switch module for it and use that to disable your laser too.
CNC milling
It’s going to depend on whether you’ll be using a Switch or the new Spindle module to control your Spindle, but either way there should be a G-code that allows you to disable it, something like :
M43
All in all, the point here is : before using a tool, you must disable the others, and each module has a way to be disabled.
I recommend you just teach your G-code generators for each type of tool, to turn off the other tools at the beginning of each G-code file, that should be pretty easy.
Cheers.