CoreXY won't HOME on any axis...



  • I read someone with an AM8 having this same issue...I can move in any direction if I use Pronterface or Simplify 3D, but when I tell it to HOME any axis then Z moves up and down and X or Y just moves a few millimeters...what can I do? I'm running a Duet2 Wifi on a CoreXY with 2.02 RC7 that I just uploaded to it...I recieved the board in the mail TODAY...It doesn't show any errors in the web interface, and from what I can see, everything is hooked up correctly. I do not have my Z-probe hooked up yet as I wanted to get all the axis moving correctly first. I'm running a 24v 500w 20 amp PSU with endstops on all axes


  • administrators

    That behaviour usually means your endstop switches are configured the wrong way round, so they appear to the firmware as triggered when they are not triggered, and vice versa. Test them as described at https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Test_endstop_switches. If that confirms they are reading the wrong way round, adjust your M574 command(s) in config.g.



  • Yup...That's what it is...they all show "yes" when they are not triggered. I'll try adjusting M574 and see what happens-- Thanks!!



  • All it says is X1 Y1 Z1...what should I change it to?



  • Ok...X,Y and Z read correctly as "No" in "Machine Settings" and they show "Yes" when I trigger them, but it still shows an endstop for "E" which I don't have...how do I remove that? And now, when I home any axis Z goes straight up and doesn't stop even when the Z endstop is triggered...



  • @spunone69 The E endstop will still show up there because there's a physical connector for it, but if you're not using it, you don't have to worry about it.



  • So that's not what's causing the "homing" issue? The other endstops are all functioning correctly, but "E" shows "yes" like its triggered all the time...



  • Yeah mine shows the same thing.

    Now that you have the endstops functioning go through this and see if your homing files look right.

    https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter



  • Yes...X and Y both home correctly now, its just Z that still has an issue (its 2 Z motors in series, by the way) When I home Z it starts to go up, maybe 10 or 15 mm then it reverses and goes all the way down until it hits the top of the motors...And I tried substituting all the codes in the CoreXY setup guide and most of them made it worse...I removed all the references to Z in the two homex.g and homey.g files and that seemed to fix those axes...but Z is still a mess. I remember in marlin, for my CoreXY I had to reverse Z motor in the Config.h file even with the CoreXY mode turned on...



  • ; homex.g
    ; called to home the X axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Mon Dec 24 2018 00:06:08 GMT-0800 (Pacific Standard Time)
    G91 ; relative positioning
    G1 S1 X-335 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 X5 F6000 ; go back a few mm
    G1 S1 X-335 F360 ; move slowly to X axis endstop once more (second pass)
    G90 ; absolute positioning

    ; homey.g
    ; called to home the Y axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Mon Dec 24 2018 00:06:08 GMT-0800 (Pacific Standard Time)
    G91 ; relative positioning
    G1 S1 Y-335 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y5 F6000 ; go back a few mm
    G1 S1 Y-335 F360 ; move slowly to Y axis endstop once more (second pass)
    G90 ; absolute positioning

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Mon Dec 24 2018 00:06:08 GMT-0800 (Pacific Standard Time)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 Z-405 F1800 ; move Z down until the endstop is triggered
    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

    ; 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



  • Whatever that "G1 Z5 F6000 S2 ; lift Z relative to current position" does, its what causes the up and down problem with my motors...I removed that line and they all home correctly now except Z which is just reversed...how do I reverse the z stepper in the config files?



  • You really need to read the link I posted above. It'll take you through all the steps for corexy.

    You can change motor direction for each motor in the config file.



  • Ok...I have them all homing correctly, now the Z axis is stepping way to much - when I tell it to go 25mm it goes more than halfway down and the Z_Max is 400mm not 50mm???



  • And thank you, that link did help in figuring out the direction of the axes and the correct movement...



  • You'll need to get your z axis steps per mm right.

    Give this a try to calculate it

    https://www.prusaprinters.org/calculator#stepspermmlead



  • I had to reduce it from 4000.00 steps per mm to 450 steps per mm then the distance checked out with a caliper...5mm down=5mm Thanks for your help!


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.