X axis homing issue
I'm having an issue with homing the x axis: when i hit home x axis the hot end moves to the right (even though the end stop is located to the left of it) and stops and says its homed without ever hitting the x axis endstop. I was wondering how I can fix this.
Here is the config
Jumbo Send code... Status Idle Mode: FFF Tool Position X 0.0 Y 0.0 Z 0.00 Extruder Drives Drive 0 0.0 Speeds Requested Speed 0 mm/s Top Speed 0 mm/s Sensors Vin 12.2 V MCU Temperature 33.6 C Z-Probe 0 Tools Extra Control All Tool Heater Current Active Standby Main T0 - pla Heater 0 off 22.8 C 0 0 Temperature Chart System Directory 0:/sys/config.g ; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.10 on Sat Dec 12 2020 18:09:32 GMT-0500 (Eastern Standard Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Jumbo" ; set printer name ; Network M587 S"Drexel''s_Nest" P"drakasfam95" I10.0.0.36 M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M584 X0 Y1:4 Z2:5:7:8 E3 ; set drive mapping 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 forwards M569 P5 S0 ; physical drive 3 goes forwards M569 P7 S0 ; physical drive 3 goes forwards M569 P8 S0 ; physical drive 3 goes forwards M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z2000.00 E100.00 ; set steps per mm M566 X900.00 Y900.00 Z60.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 X800 Y800 Z800 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 X900 Y900 Z900 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe ; new probe bl touch M558 P9 C"^zprobe.in" H5 F100 T2000 M950 S0 C"duex.pwm1" G31 X20 Y0 Z3.3 P25 M557 X15:762 Y15:762 S20 ; define mesh grid ; Heaters M140 H-1 ; disable heated bed (overrides default heater mapping) M308 S0 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin e0temp M950 H0 C"e0heat" T0 ; create nozzle heater output on e0heat and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H0 S260 ; set temperature limit for heater 0 to 260C ; Fans ; Tools M563 P0 D0 H0 S"Main" ; define tool 1 G10 P0 X0 Y0 Z0 ; set tool 1 axis offsets G10 P0 R0 S0 ; set initial tool 1 active and standby temperatures to 0C ; Custom settings are not defined ; Miscellaneous M501 ; load saved parameters from non-volatile memory M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
here is the homex g file
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.1.10 on Sat Dec 12 2020 18:09:32 GMT-0500 (Eastern Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-905 F1800 ; move quickly to X axis endstop and stop there (first pass) G1 H2 X5 F6000 ; go back a few mm G1 H1 X-905 F360 ; move slowly to X axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again G90 ; absolute positioning
If the endstop is to the left, then your endstop setting is correct, and your homing move is correct, but if the motor is still moving the print head the wrong direction, then your motor direction of rotation is wrong.
M569 P0 S0
i changed that and now it goes to the left about 5mm and stops without touching the endstop
G1 H2 X5 F6000 ; go back a few mm
In that case remove the H2 from that move and try again. I think your endstops probably need to be inverted as it seems to think they are triggered when they are not.
Also please use M119 to get the status of the endstops. Send it once when the switch is depressed and again when it's not.
If it shows triggered when it shouldn't, you need to change the M574 to invert the pin by adding an ! mark before the pin name.
M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin ystop
And if that was the case then the motor direction may need to go back to normal as well.
@phaedrux I reset the direction and inverted the x axis and now it homes in the right direction. However when it its the endstop it doesn't stop it just keep hitting it without triggering it.
@Phaedrux i got it working, it ended up being a wiring issue. thanks for the help