Corexy Z offset
-
-
hello everyone again, I just came back from Holladay, yesterday I wanted to test my printer and it turned out that it printed mirrored.
I set up my config again, it seems to me correctly but when i homing X-axis moves in the opposite direction. From the Duet main panel all axes work correctly -X goes left and +X goes right. I think I have something wrong set up in homex.g and homeall.g
Can anyone assist in how to set up this properly please
Thanks
here is my configuration:M667 S1 ; Select CoreXY mode
; Network
M550 P"My Printer" ; Set machine name
M552 S1 ; Enable network
M587 S"ASUS" P"r ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Physical drive 0 goes forwards
M569 P1 S1 ; Physical drive 1 goes forwards
M569 P2 S1 ; Physical drive 2 goes forwards
M569 P3 S0 ; Physical drive 3 goes backwards
M350 Z16 E16 I0 ; Configure microstepping without interpolation
M350 X16 Y16 I1 ; Configure microstepping with interpolation
M92 X80.00 Y80.00 Z1600 E416 ; Set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; Set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; Set accelerations (mm/s^2)
M906 X900.00 Y900.00 Z1100.00 E900.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X200 Y200 Z200 S0 ; Set axis maxima; Endstops
M574 X1 Y2 S0 ; X home to min. Y and Z home to max. Normally Closed limit switches.
M574 Z1 S2 ; Define Z to use Probe. Home to Min; Z-Probe
M557 X5:205 Y5:200 S20 ; Define mesh grid
M558 P5 H5 F500 T4000 ; Set Z probe type/mode 5. H=Dive Height. F=Speed the bed moves
G31 P25 X0 Y-35.40 Z1.20 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment; Heaters
M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T613400 B5025 C1.484206e-7 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; BLTouch - Heaters
M307 H7 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duet WiFi board.; Fans
M106 P0 S0 I0 F500 H T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0 H1 ; Define tool 0M501
; Automatic saving after power loss is not enabled
; Custom settings are not configured
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v2 on Sat Aug 03 2019 03:22:53 GMT+0100
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X205 Y205 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 S1 X205 ; home X axis
G1 S1 Y205 ; home Y axis
G1 X-5 Y-5 F6000 ; go back a few mm
G1 S1 X205 F360 ; move slowly to X axis endstop once more (second pass)
G1 S1 Y205 ; then move slowly to Y axis endstopM98 P"homez.g"
; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 S2 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v2 on Sat Aug 03 2019 03:22:53 GMT+0100
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X205 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 X-5 F6000 ; go back a few mm
G1 S1 X205 F360 ; move slowly to X axis endstop once more (second pass)
G1 Z-5 F6000 S2 ; lower Z again
G90 ; absolute positioning
-
its a matter of swapping the x and y stepper cables or swapping the directions of x or y.
there might be a guide somewhere but i dont know where.
-
@veti said in Corexy Z offset:
its a matter of swapping the x and y stepper cables or swapping the directions of x or y.
there might be a guide somewhere but i dont know where.hello Veti probably yes, I tried to change the motor connection the other way round, but then all the kinematics change, I just want to change the x axis.
-
its a combination of those in my above statement i ment to write and instead of or.
If X axis is reversed
switch cables A & B and invert A and B direction -
I changed it as you said, but now the situation is like this, now the head goes in the right direction, stops at the end stop. axis Y the same, but when i homing Z axis, the head stops seeing the X axis end stop and trying to go further in the direction of -X that is mean to the left
-
why would the homez move the x axis?
the homing behaviour is defined in the home[xyz] for single homing and homeall for all axis at the same time.
if the movement is wrong during homeing check those files. -
file homeall.g and homex.g I posted above, with my limited knowledge it will be difficult for me to find any error
-
your config is set up to home x and y at the max. however your x endstop is set up for x min.
you could just move the endstop to the other side or recreate the config from the configurator to home to x min.
-
I found a friend on Thingiverse who has the same printer as mine with Duet Maestro, I tried to use his settings, but it doesn't work for me. This is his setup:
; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes backwards
M350 Z16 E16 I0 ; Configure microstepping without interpolation
M350 X16 Y16 I1 ; Configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E400.00 ; Set steps per mm
M566 X900.00 Y900.00 Z12.00 E265.98 ; Set maximum instantaneous speed changes (mm/min)
M203 X9000.00 Y9000.00 Z1050.00 E5100.00 ; Set maximum speeds (mm/min)
M201 X1800.00 Y1800.00 Z100.00 E5000.00 ; Set accelerations (mm/s^2)
M906 X900.00 Y900.00 Z1100.00 E900.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X200 Y188 Z248 S0 ; Set axis maxima; Endstops
M574 X1 Y2 Z1 S0 ; Set active low and disabled endstops; Z-Probe
M558 P0 H0 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
M557 X15:5 Y15:195 S20 ; Define mesh grid; Heaters
M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4138 R2200 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 R2200 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Fans
M106 P0 S0-1.0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P1 S1.0 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S0.7 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off; Tools
M563 P0 D0 H1 ; 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; Automatic saving after power loss is not enabled
; Custom settings are not configured
; Miscellaneous
M501 ; Load saved parameters from non-volatile memory -
OK now I understand, main homing x needs to be flipped
-
ok I have done it, I added negative values for the X axis in homex.g, homeall. and homez.g and everything works as it should
Veti thank you for your time and patience once again!!!