Firmware CoreXY + DualX help
Hi,
I have a modified CoreXY kinematics (fixed Y, dual X Hbot style). in motion.h and motion.cpp and I have managed to drive Y and one of the X axis.
Problem is with DualX. When I select second extruder the X motor is not switched. Also in X Homing is the behavior without switching the X motor (X1 homing towards Xmin and then to Xmax).
I know, that DualX is for cartesian machine, but where is the code, for switching the X axis. Maybe there is a chance to apply this motion.cpp & motion.h ?
Motors and Drivers are working. Tested.
Thank you for the best firmware. I'm using it on other printers.
regards,
Matej
I have a modified CoreXY kinematics (fixed Y, dual X Hbot style). in motion.h and motion.cpp and I have managed to drive Y and one of the X axis.
Problem is with DualX. When I select second extruder the X motor is not switched. Also in X Homing is the behavior without switching the X motor (X1 homing towards Xmin and then to Xmax).
I know, that DualX is for cartesian machine, but where is the code, for switching the X axis. Maybe there is a chance to apply this motion.cpp & motion.h ?
Motors and Drivers are working. Tested.
Thank you for the best firmware. I'm using it on other printers.
regards,
Matej
Comments
Thanks
I cannot switch to second X motor. On Cartesian type it works, but there is no X compensation.
Regards,
Matej
I do not really understand how this is supposed to work with corexy as this always moves 2 motors for a pure x move and i also assume not moving a motor would not make it stay at a defined position.
https://cdn.hackaday.io/images/3545991485251102223.png
I have changed code below. Y is OK and works, X1 also. I cannot find, where I can link extruder2 with X2 motor, like it is in cartesian machine. Sorry, but I am not a coder and need a little help.
In motion.h line 595:
Thank you for your help,
Matej
In motion.h line 552:
#if DRIVE_SYSTEM == YX_GANTRY || DRIVE_SYSTEM == ZX_GANTRY
line numbers are maybe incorrect, due to testing.
Regards,
Matej
If you use a due based board the simplest solution would be to use dev2 branch on github. It is in eatly development stage so no jam control, lcd or bed leveling work at the moment. But it has amodular system supporting up to 7 axis, so use a axis for second x motor and write your own drive system class that moves x and y depending on active extruder with your equations. See corexyz implementation which is quite similar and a good start. So inout is xyz and output xyza positions. Should be quite easy to adapt. Ony thing as mentioned, v2 currently only works on arduino due based boards. Haven‘t ported avr types yet.
I think, I'm not capable to do this.
How does then mixing extruders work? They need 3 active steppers.
regards,
Matej
when i write dual.x for v2 we will see what is really needed there. I think then the solution should be quite easy. Just a few lines difference in the cartesian dual x code should solve the problem. So have a look at the progress and ask back when it is implemented.