Welcome! Log In Create A New Profile
Home > Reprappers > Topic
Posted by duckfriedrice
Forum List Message List New Topic
duckfriedrice April 30, 2014 05:47AM | Registered: 10 years ago Posts: 51 |
Hi All
I have just built my first corexy 3d printer, but the X and Y axis are switched.
I.e moving in X direction , the hotend is moving in Y direction and vice versa
Can anyone assist in how to switch the X / Y axis please
Thanks
Reply Quote
Dust April 30, 2014 05:59AM | Admin Registered: 13 years ago Posts: 7,045 |
(warning just going on theory here.....)
from [www.corexy.com]
so if motors both turn same direction, X moves
it motors spin in oposite directions, Y moves.
To swap X and Y movement reverse direction of one motor (any one)
Just turn the stepper plug around if you can (while off!)
Edited 2 time(s). Last edit at 04/30/2014 06:21AM by Dust.
Reply Quote
duckfriedrice May 04, 2014 05:36AM | Registered: 10 years ago Posts: 51 |
Thank you Dust, I've turned the X stepper motor plug and the XY not travelling in the correct axis.
There's one little problem left, is that I want to reverse the Y direction only,
I've tried to invert the direction in configuration.h of Marlin,
But the Axis have XY axis have now swapped back
Please can someone assist me with this problem.
Thanks so much.
Reply Quote
Dust May 04, 2014 06:26AM | Admin Registered: 13 years ago Posts: 7,045 |
to invert both X and Y direction, you invert both axis
but just Y or X?? himm...
I dont think thats possable with normal setting... so there must be some XY spesific stuff
You need to invert the directions when moving in oposite directions (ie a Y move)
But you need them non inverted when moing in same directions for X to stay the same...
Can you post some images of your machine? suspect you dont actuly have a core XY but a variant. (but im just guessing)
Edited 1 time(s). Last edit at 05/04/2014 06:55AM by Dust.
Reply Quote
AndyCart May 09, 2014 11:10AM | Registered: 10 years ago Posts: 515 |
20140509_093345.jpg
Hi Duckfriedrice
Did you resolve this? My new coreXY machine has exactly the same issue so all my prints end up as mirror images. Apart from that it's great!
Andy
Edited 1 time(s). Last edit at 05/09/2014 11:10AM by AndyCart.
Reply Quote
Dust May 09, 2014 09:21PM | Admin Registered: 13 years ago Posts: 7,045 |
Hi Guys
Im still working on theortical.. would you be willng to try a 'hack' on the code?
I have no way to test this, it might do bad thing elsewhere... have the power button handy!
in planner.cpp
// these equations follow the form of the dA and dB equations on [www.corexy.com]
block->steps_x = labs((target[X_AXIS]-position[X_AXIS]) + (target[Y_AXIS]-position[Y_AXIS]));
block->steps_y = labs((target[X_AXIS]-position[X_AXIS]) - (target[Y_AXIS]-position[Y_AXIS]));
to invert y change the block->steps_y to:
block->steps_y = labs(-(target[X_AXIS]-position[X_AXIS]) + (target[Y_AXIS]-position[Y_AXIS]));
Later tonight I will try and setup two steppers in corexy mode to play with, if I dont hear back from you.
Reply Quote
duckfriedrice May 10, 2014 02:27AM | Registered: 10 years ago Posts: 51 |
Thanks Dust
Just tried your code alteration in the planner.cpp , but doesn't change in direction of Y axis
Reply Quote
Hazer May 10, 2014 09:48PM | Registered: 10 years ago Posts: 67 |
When I setup my HBOT, I had this kind of problem too. Its a bit too hard to explain exactly the way to get it right the first time but what you can do is this:
Plug in one motor backwards and see what changes (make sure motors are OFF before removing and plugging back in).
If that does not work, swap the motor plugs and see what happens.
Then flip the other motor plug backwards. Eventually you will either understand how the driver is trying to work, or you can methodically try each combination and get it right. Trust me, there is one combination that works without changing firmware. There are only 8 combinations:
X YM1 forward M2 forward M1 forward M2 backwardM1 backward M2 forward M1 backward M2 backwardM2 forward M1 forward M2 forward M1 backwardM2 backward M1 forward M2 backward M1 backward
Edited 1 time(s). Last edit at 05/10/2014 09:50PM by Hazer.
"Never argue with stupid people, they will drag you down to their level and then beat you with experience."
Reply Quote
Dust May 10, 2014 10:15PM | Admin Registered: 13 years ago Posts: 7,045 |
Ohh never thought of swapping them.. (unthinkable for a Cartesian!) thinking that threw...
swapping X and Y without rotating the plugs, should be a winner!
Edited 1 time(s). Last edit at 05/10/2014 10:40PM by Dust.
Reply Quote
duckfriedrice May 10, 2014 11:10PM | Registered: 10 years ago Posts: 51 |
oh, didn't think of swapping M1 and M2, I'll give it a try later.
thanks
Reply Quote
AndyCart May 12, 2014 05:52PM | Registered: 10 years ago Posts: 515 |
Hazier, you're a star. Issue resolved. Don't ask me about forgetting to swap the limit switches over when I swapped the motors over though. I'm much to embarrassed to talk about it
Thanks again.
Andy
Reply Quote
marcossf September 11, 2014 02:47PM | Registered: 10 years ago Posts: 24 |
I just found this post. I having the same problem with my CoreXY printer.
Confirmed, turn 180º the motor conector on one motor, i was able to achieve my printer work as expected.
Thank you all
Marcos
Reply Quote
webliya May 21, 2017 06:09PM | Registered: 8 years ago Posts: 5 |
Quote
Hazer
When I setup my HBOT, I had this kind of problem too. Its a bit too hard to explain exactly the way to get it right the first time but what you can do is this:Plug in one motor backwards and see what changes (make sure motors are OFF before removing and plugging back in).
If that does not work, swap the motor plugs and see what happens.
Then flip the other motor plug backwards. Eventually you will either understand how the driver is trying to work, or you can methodically try each combination and get it right. Trust me, there is one combination that works without changing firmware. There are only 8 combinations:
X YM1 forward M2 forward M1 forward M2 backwardM1 backward M2 forward M1 backward M2 backwardM2 forward M1 forward M2 forward M1 backwardM2 backward M1 forward M2 backward M1 backward
Thank you. This was brilliant and I found my correct setup at 6th step.
Reply Quote
arturmora November 30, 2017 09:22AM | Registered: 6 years ago Posts: 3 |
Quote
Hazer
When I setup my HBOT, I had this kind of problem too. Its a bit too hard to explain exactly the way to get it right the first time but what you can do is this:Plug in one motor backwards and see what changes (make sure motors are OFF before removing and plugging back in).
If that does not work, swap the motor plugs and see what happens.
Then flip the other motor plug backwards. Eventually you will either understand how the driver is trying to work, or you can methodically try each combination and get it right. Trust me, there is one combination that works without changing firmware. There are only 8 combinations:
X YM1 forward M2 forward M1 forward M2 backwardM1 backward M2 forward M1 backward M2 backwardM2 forward M1 forward M2 forward M1 backwardM2 backward M1 forward M2 backward M1 backward
Thank you!
This solution work for me at my corexy printer.
Best,
Reply Quote
the_digital_dentist November 30, 2017 10:37AM | Registered: 11 years ago Posts: 5,786 |
I wrote a blog post on setting up coreXY motion.
Ultra MegaMax Dominator 3D printer: [drmrehorst.blogspot.com]
Reply Quote
Thijs January 12, 2018 04:07PM | Registered: 10 years ago Posts: 34 |
Great blogpost, made setting the new printer (modified hypercube evolution) really easy. Thanks for your work!
Reply Quote
Newer Topic Older Topic
Print View RSS
Sorry, only registered users may post in this forum.
Click here to login