Skip to main content
User avatar

Swap Axis x for y

I have my machine on a bench in front of me with the Y Axis going left to right, Is there a way of altering the config file to switch the X axis for Y and vice versa?

Answered! View the answer I have this problem too

Is this a good question?

Score 0
Add a comment

1 Answer

Chosen Solution
User avatar

Hi Brian,

Thanks for your email.

You can change it in the config files, but it may mess up some other parts of the machine.

You can change the values on the jog buttons and make them negative so it matches better to how you are looking at the machine if that helps?

Robert

Was this answer helpful?

Score 1

Comments:

Looking at tinkering about with the config-axes.g to change x to y etc whilst hovering over the emergency stop button.

M584 X0 Y1 Z2 U3 ; Apply drive mapping to axes

M669 K0 X1:0:0:0 Y0:1:0:1 Z0:0:1:0

by

@hobgoblyn It would be more like:

M584 X1 Y0 Z2 U3 ; Apply drive mapping to axes

M669 K0 X0:1:0:1 Y1:0:0:0 Z0:0:1:0

by

Altered those , all so the config-drives.g to reverse what was the y axis.

Homing the new X Axis now goes the wrong direction

M569 P0 S0 ; Drive 0 goes forwards

M569 P1 S0 ; Drive 1 goes forwards

M569 P2 S0 ; Drive 2 goes forwards

M569 P3 S0 ; Drive 3 goes forwards

by

Is there a way to make this line go the oppsite way? (It's in Homex)

G1 H1 X{move.axes[0].max*2} F2400 ; move quickly to X axis endstops and stop there (first pass)

by

Hi Brian,

I don't think you need to change the homing file. just change config-drives.g to the below:

; Drive configuration executed by config.g

M569 P0 S1 ; Drive 0 goes forwards

M569 P1 S0 ; Drive 1 goes forwards

M569 P2 S0 ; Drive 2 goes forwards

M569 P3 S0 ; Drive 3 goes forwards

Robert

by

Show 2 more comments

Add a comment

Add your answer

Author avatar Brian will be eternally grateful.
View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 1

All Time: 46