Endstops High / Low & Homing fail
-
I installed a Duet 3 Mini 5+ on an old 3D-Printer (German Rep Rap X400)
This the first time that i configured the Whole config file and a did a few "Mistakes" in the config tool.I think i set the Endstops wrong, i should have set the endstops to "high endstops".
In General the Printer works fine, but when i home the Origin is in the far right Corner, in the Slicer and Height-Map its in the Front left.; Endstops M574 X1 P"io4.in" S1 ; configure X axis endstop M574 Y1 P"io1.in" S1 ; configure Y axis endstop M574 Z1 S2 ; configure Z axis endstop
This is my Endstop configuration. When i switch to X2 and Y2, the printhead will "crash" in the endstops when i use "home all".
I think he finds the Homing-Point the first time, but then crashes when he does the "move back 5mm" movement in the "homeall.g". But i am not 100% sure that it does not "crash" into the endstop in the first run.; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.5.4 on Wed Sep 18 2024 15:15:32 GMT+0200 (Mitteleuropäische Sommerzeit) ; increase Z G91 ; relative positioning G1 H2 Z2 F6000 ; move Z relative to current position to avoid dragging nozzle over the bed G90 ; absolute positioning ; home XY var xTravel = move.axes[0].max - move.axes[0].min + 5 ; calculate how far X can travel plus 5mm var yTravel = move.axes[1].max - move.axes[1].min + 5 ; calculate how far Y can travel plus 5mm G91 ; relative positioning G1 H1 X{-var.xTravel} Y{-var.yTravel} F3000 ; coarse home in the -X and -Y directions G1 H2 X5 Y5 F6000 ; move back 5mm G1 H1 X{-var.xTravel} Y{-var.yTravel} F300 ; fine home in the -X and -Y directions G90 ; absolute positioning ; home Z var xCenter = move.compensation.probeGrid.mins[0] + (move.compensation.probeGrid.maxs[0] - move.compensation.probeGrid.mins[0]) / 2 - sensors.probes[0].offsets[0] var yCenter = move.compensation.probeGrid.mins[1] + (move.compensation.probeGrid.maxs[1] - move.compensation.probeGrid.mins[1]) / 2 - sensors.probes[0].offsets[1] G1 X{var.xCenter} Y{var.yCenter} F6000 ; go to bed centre G30 ; probe the bed
Thats my whole homeall.g
I am no pro and tried to find this case in the Forum but had no luck.Maybe you have an idea to fix this issue. I would appreciate the help.
-
- Decide where you want X0 Y0 to be. Popular choices are the front left corner of the bed, or the centre of the bed.
- Decide which direction you want to be positive X and which direction should be positive Y. Usually positive X is to the right and positive Y is away from you. Other directions are possible but be sure to choose a right hand coordinate system.
- Adjust the motor directions in M569 in config.g to get positive X and Y movements in the desired direction.
- Establish whether your endstop switches are high end (at axis maximum) or low end (at axis minimum) and configure the endstops accordingly in the M574 commands in config.g.
- Adjust your homing files so that the homing move will go towards the endstop.
-
@Phaedrux Thx i was too dumb to see that i have to change the motor directions and edit the homing files so that it goes in the right direction.
Now this issue is solved, thanks a lot -
-