Seems a bug on independent X axes config
-
This is my current motor drive and tool definitions:
Drives:; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S1 ; physical drive 2 goes backwards M569 P3 S0 ; physical drive 3 goes forwards M569 P4 S0 ; physical drive 3 goes forwards M569 P5 S0 ; physical drive 3 goes forwards M569 P6 S0 ; physical drive 3 goes forwards M569 P7 S0 ; physical drive 3 goes forwards M569 P8 S0 ; physical drive 3 goes forwards M584 X0 Y1 Z3:4 U2 V4 E5:6 P5 ; set drive mapping M350 X16 U16 Y16 Z16 V16 E16:16 I1 ; configure microstepping with interpolation
Tools:
; Tools M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C M563 P1 D1 H2 X2 F2 ; tool 1 uses extruder 1 and heater 2 and maps X to U, use fan 2 as the print cooling fan G10 P1 Y0 U0 Z0 S0 R0 ; set tool 1 offsets and temperatures
Now the U axis used drive2 and the mapping from X to U is successful.
However if I change the U drive to 1 and Y drive to 2 like this:
Motors:; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S1 ; physical drive 2 goes backwards M569 P3 S0 ; physical drive 3 goes forwards M569 P4 S0 ; physical drive 3 goes forwards M569 P5 S0 ; physical drive 3 goes forwards M569 P6 S0 ; physical drive 3 goes forwards M569 P7 S0 ; physical drive 3 goes forwards M569 P8 S0 ; physical drive 3 goes forwards M584 X0 U1 Y2 Z3:4 V4 E5:6 P5 ; set drive mapping M350 X16 U16 Y16 Z16 V16 E16:16 I1 ; configure microstepping with interpolation
Tools:
; Tools M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C M563 P1 D1 H2 X1 F2 ; tool 1 uses extruder 1 and heater 2 and maps X to U, use fan 2 as the print cooling fan G10 P1 Y0 U0 Z0 S0 R0 ; set tool 1 offsets and temperatures
Its not working at all, what could be the problem? I tried many other drives and only when U use drive 1 the tool1 is not working.
-
A couple of quick things that will help folks to help you...
- What version of the firmware are you using?
- Always worth checking for errors in your config.g file by running M98 P"config.g"
- Probably worth posting your full config.g file.
- When you say it is not working, what exactly happens? Do you get any sort of error report?
-
@vr_robot
Whenever I saw additional axes defined in config.g, they come after Z axis.
In your case it'sM584 X0 Y2 Z3:4 U1 V4 E5:6 P5 ; set drive mapping
The driver numbers don't have to be in consecutive order, AFAIK
-
@vr_robot said in Seems a bug on independent X axes config:
M584 X0 Y1 Z3:4 U2 V4 E5:6 P5 ; set drive mapping
that doesn't work as you've mapped drive 4 twice.
What do you have connected to where?