Traumflug / Teacup_Firmware

Firmware for RepRap and other 3D printers
http://forums.reprap.org/read.php?147
GNU General Public License v2.0
312 stars 199 forks source link

Double Z-Axis motors #304

Open thomaskilian opened 6 years ago

thomaskilian commented 6 years ago

I wonder if it's possible to configure the FW for 2 Z steppers?

phord commented 6 years ago

It's usually easier to wire the signals commonly between the two Z-stepper drivers, or to chain the two steppers (in serial) on the output of the one Z-stepper driver.

phord commented 6 years ago

That said, it wouldn't be hard to support two Z-stepper outputs in the code. Look for z_step and z_direction in the code. You could probably add all the needed changes in the macro definitions in pinio.h.

thomaskilian commented 6 years ago

Thanks. I'll give that a try. Actually I'm moving away from Marlin since the FW starts behaving weird and it's almost impossible to maintain. I got two MAX6675 which seemingly can be incorporated more easily with Teacup. But the 2 Z is probably more tricky since I also have 2 end-stops for homing.