Worng homing on a CoreXY and totally wrong step/mm



  • Good morning, I was making my new printer take her first steps but I'm already in trouble:

    1. The Y homing direction is correct, the X direction is inverted. As X and Y endstops (wich works correctly) I have two endstops, the Y is placed in front of the bed, the X is placed on the left side so X=0, Y=0 shold be the front left corner...what am I missing?
    2. The steps/mm are totaly out of sense, I have three 1,8° steppers for X,Y,Z, X and Y drivers uses 32 microsteps, Z uses 16...if Y send G1 Y10 wich should move only 10mm "back", the Y goes over them maximum Y (330)...here again what am I missing?

    Here's my config.g:

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Oct 25 2020 07:40:35 GMT+0100 (Ora standard dell’Europa centrale)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"DragonCore" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S1 ; enable Telnet

    ; Drives
    M569 P0 S0 ; physical drive 0 goes forwards
    M569 P1 S0 ; physical drive 1 goes forwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S0 ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X32 Y32 I0 ; configure microstepping without interpolation
    M350 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X160.00 Y160.00 Z8000.00 E420.00 ; 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 Y900 Z900 E800 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 X330 Y330 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X15:315 Y15:315 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1 T50 ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off

    ; Tools
    M563 P0 S"E3DVolcano" 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

    ; Custom settings are not defined

    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue

    Thanks!



  • have you read? this explains movements problems
    https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter?

    are you on firmware 3.1.1? check with m115

    M350 X32 Y32 I0 ; configure microstepping without interpolation
    M350 Z16 E16 I1 ; configure microstepping with interpolation

    unless there is a special reason you should got with X16 with interpolation on all axis

    M92 X160.00 Y160.00 Z8000.00 E420.00 ; set steps per mm

    z8000 that seems wrong.

    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp

    B4138 is incorrect. look up the correct value in your thermistor documentation.



  • @the_dragonlord said in Worng homing on a CoreXY and totally wrong step/mm:

    Good morning, I was making my new printer take her first steps but I'm already in trouble:

    1. The Y homing direction is correct, the X direction is inverted. As X and Y endstops (wich works correctly) I have two endstops, the Y is placed in front of the bed, the X is placed on the left side so X=0, Y=0 shold be the front left corner...what am I missing?
    2. The steps/mm are totaly out of sense, I have three 1,8° steppers for X,Y,Z, X and Y drivers uses 32 microsteps, Z uses 16...if Y send G1 Y10 wich should move only 10mm "back", the Y goes over them maximum Y (330)...here again what am I missing?

    Here's my config.g:

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Oct 25 2020 07:40:35 GMT+0100 (Ora standard dell’Europa centrale)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"DragonCore" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S1 ; enable Telnet

    ; Drives
    M569 P0 S0 ; physical drive 0 goes forwards
    M569 P1 S0 ; physical drive 1 goes forwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S0 ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X32 Y32 I0 ; configure microstepping without interpolation
    M350 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X160.00 Y160.00 Z8000.00 E420.00 ; 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 Y900 Z900 E800 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 X330 Y330 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X15:315 Y15:315 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
    M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

    ; Fans
    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 S1 H1 T50 ; set fan 1 value. Thermostatic control is turned on
    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off

    ; Tools
    M563 P0 S"E3DVolcano" 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

    ; Custom settings are not defined

    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue

    Thanks!

    Solved the XY direction, thanks!
    Yes. I'm on 3.1.1

    I use 8000 because I have a single stepper for the Z and both the Z rods are syncronized with bigger pulleys wich leads to a 1/3 ratio

    For the thermistor now I check it

    For now Thanks!



  • @the_dragonlord said in Worng homing on a CoreXY and totally wrong step/mm:

    I use 8000 because I have a single stepper for the Z and both the Z rods are syncronized with bigger pulleys wich leads to a 1/3 ratio

    that would mean a leadscrew of 2666. which is unusual as well.



  • @Veti said in Worng homing on a CoreXY and totally wrong step/mm:

    @the_dragonlord said in Worng homing on a CoreXY and totally wrong step/mm:

    I use 8000 because I have a single stepper for the Z and both the Z rods are syncronized with bigger pulleys wich leads to a 1/3 ratio

    that would mean a leadscrew of 2666. which is unusual as well.

    No way to make it work....now the G1 H2 X10 F3000 moves the diagonal correctly but now both X and Y homing are in the wrong directions

    I've corrected the thermistor but now it appearsa the following error after a while:

    Cattura.JPG

    And I can't test the extruder beacuse I see this error during startup:

    Cattura2.JPG

    Cattura3.JPG



  • @the_dragonlord said in Worng homing on a CoreXY and totally wrong step/mm:

    but now both X and Y homing are in the wrong directions

    the direction of homing is the the home[xyzall].g

    I've corrected the thermistor but now it appearsa the following error after a while:

    what did you correct it with?

    create the filament folder on the sd card on your computer



  • @Veti said in Worng homing on a CoreXY and totally wrong step/mm:

    @the_dragonlord said in Worng homing on a CoreXY and totally wrong step/mm:

    but now both X and Y homing are in the wrong directions

    the direction of homing is the the home[xyzall].g

    I've corrected the thermistor but now it appearsa the following error after a while:

    what did you correct it with?

    create the filament folder on the sd card on your computer

    The thermistor I choose is:
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin bedtemp

    should the filament folder be created empty?



  • @the_dragonlord said in Worng homing on a CoreXY and totally wrong step/mm:

    M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin bedtemp

    that change would not cause the problem with the rise in temperature.

    should the filament folder be created empty?

    yes



  • @Veti said in Worng homing on a CoreXY and totally wrong step/mm:

    @the_dragonlord said in Worng homing on a CoreXY and totally wrong step/mm:

    M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin bedtemp

    that change would not cause the problem with the rise in temperature.

    should the filament folder be created empty?

    yes

    so what's the problem for the temperature? In console I see the bed temperature rises but after few seconds the error appears





  • @Veti excellent, all solved!!!



  • going back to the lead scew. what kind of leadscrew is it?

    t8x2?



  • @Veti said in Worng homing on a CoreXY and totally wrong step/mm:

    going back to the lead scew. what kind of leadscrew is it?

    t8x2?

    they are the original trapezoidal X5S lead screws I think they are T8 and I think the pitch is 2



  • The it should be 1600. There is a steps calculator at the Prusa website





  • @PCR

    so 1600 with a 3:1 ratio would be 4800



  • @Veti said in Worng homing on a CoreXY and totally wrong step/mm:

    @PCR

    so 1600 with a 3:1 ratio would be 4800

    exactly but with this esteps it move much more mm



  • @the_dragonlord

    with 8000 it would move even more



  • @Veti said in Worng homing on a CoreXY and totally wrong step/mm:

    @the_dragonlord

    with 8000 it would move even more

    of course....when I'll complete all the inital set ups I'll print the calibration cube and then I'll see....for now I'm struggling with the BLTouch 😊





  • And Double check the Ratio of 1:3



  • @Veti I don't understand anything.....Now the X and Y home are correct but if I send G1 X10 the carriage moves in the wrong way........................WHYYYY???



  • @the_dragonlord

    post your home script



  • @Veti said in Worng homing on a CoreXY and totally wrong step/mm:

    @the_dragonlord

    post your home script

    ; homex.g
    ; called to home the X axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Oct 25 2020 09:41:43 GMT+0100 (Ora standard dell’Europa centrale)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X-320 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 X5 F6000 ; go back a few mm
    G1 H1 X-320 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H2 Z-5 F6000 ; lower Z again
    G90 ; absolute positioning

    ; homey.g
    ; called to home the Y axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Oct 25 2020 09:41:43 GMT+0100 (Ora standard dell’Europa centrale)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 Y-320 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y5 F6000 ; go back a few mm
    G1 H1 Y-320 F360 ; move slowly to Y axis endstop once more (second pass)
    G1 H2 Z-5 F6000 ; lower Z again
    G90 ; absolute positioning

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Oct 25 2020 09:41:43 GMT+0100 (Ora standard dell’Europa centrale)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X30 Y30 F6000 ; go to first probe point
    G30 ; home Z by probing the bed

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Oct 25 2020 09:41:43 GMT+0100 (Ora standard dell’Europa centrale)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X-320 Y-320 F1800 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X-320 ; home X axis
    G1 H1 Y-320 ; home Y axis
    G1 X5 Y5 F6000 ; go back a few mm
    G1 H1 X-320 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y-320 ; then move slowly to Y axis endstop
    G90 ; absolute positioning
    G1 X30 Y30 F6000 ; go to first bed probe point and home Z
    G30 ; home Z by probing the bed

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning



  • @the_dragonlord said in Worng homing on a CoreXY and totally wrong step/mm:

    M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop

    your configuration says the endstops are at the maximum.

    you want X1 and Y1


Log in to reply