How to invert the XY Axis for CoreXY system (2024)

Welcome! Log In Create A New Profile

RepRap forum RepRap wiki RepRap IRC

How to invert the XY Axis for CoreXY system (1)

Home > Reprappers > Topic

Posted by duckfriedrice

Forum List Message List New Topic

duckfriedrice

How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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 How to invert the XY Axis for CoreXY system (3)

Reply Quote

AndyCart

Re: How to invert the XY Axis for CoreXY system
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 How to invert the XY Axis for CoreXY system (4)

Thanks again.

Andy

Reply Quote

marcossf

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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. How to invert the XY Axis for CoreXY system (5)

Reply Quote

arturmora

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

Re: How to invert the XY Axis for CoreXY system
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

This forum is powered by Phorum.

How to invert the XY Axis for CoreXY system (2024)

References

Top Articles
Latest Posts
Article information

Author: Dan Stracke

Last Updated:

Views: 6511

Rating: 4.2 / 5 (43 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Dan Stracke

Birthday: 1992-08-25

Address: 2253 Brown Springs, East Alla, OH 38634-0309

Phone: +398735162064

Job: Investor Government Associate

Hobby: Shopping, LARPing, Scrapbooking, Surfing, Slacklining, Dance, Glassblowing

Introduction: My name is Dan Stracke, I am a homely, gleaming, glamorous, inquisitive, homely, gorgeous, light person who loves writing and wants to share my knowledge and understanding with you.