Y axis Jogs when homed but won't actually home
-
I had to disassemble my printer for a move, 6 months later, I tried to re-assemble it/get it up and running. I'm running into a problem where when I attempt to home the Y axis it jogs but never contacts the homing switch.
I've completely updated all software, re-compiled the firmware from scratch, tried with and with out limit switches, and different motors. nothing seems to make a difference. I'm stuck, I'm running the most current software as of June 20 2021 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.2.3 on Mon Jun 21 2021 18:05:16 GMT-1000 (HST); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer name; Network
M552 S1 ; enable network
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 S1 ; physical drive 3 goes forwards
M569 P4 S1 ; physical drive 4 goes forwards
M584 X0 Y1 Z2 E3:4 ; set drive mapping
M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E420.00:420.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
M906 X1200 Y1200 Z1800 E1000:1000 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 X230 Y210 Z300 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
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
M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S40 ; 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 B1 S1.00 ; enable 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 B4138 ; 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
M143 H1 S260 ; set temperature limit for heater 1 to 260C
M308 S2 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp
M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S260 ; set temperature limit for heater 2 to 260C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S1 H1 T180 ; set fan 0 value. Thermostatic control is turned on
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H2 T180 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 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
M563 P1 D1 H2 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C; Custom settings are not defined
; Miscellaneous
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power losshere's my home Y
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jun 21 2021 18:05:16 GMT-1000 (HST)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y-215 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y5 F6000 ; go back a few mm
G1 H1 Y-215 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning -
@bellus check the state of your y endstop when triggered and not triggered using M119. I suspect you need the pin inverting
-
Endstops - X: at min stop, Y: at min stop, Z: not stopped, Z probe: not stopped
X is contacting the limit switch, Y is not.
-
@bellus if the state isn't changing when its triggered then its a wiring issue
Endstops - X: at min stop, Y: at min stop, Z: not stopped, Z probe: not stopped
If the above is when not triggered you need to add a ! to the pin name
-
@jay_s_uk pressing the switch, M119 reports the same. I think it may be wiring or switch related. May have been damaged in the shipment, prior to shipping it all was good but on older software.
-
@bellus what type of switches and how do you have them wired?
-
@jay_s_uk, Oh man, they were the end stop switches that came with my original printrbot simple. 3 prong, 2 wires, normally open switch. they've been wired the same way for about 2 years with no issue. molex connector on the y stop connector on the board.
-
@bellus I suggest you methodically check your wiring etc.
Normally open switches are susceptible to EMI (electromagnetic interference) leading to false triggering etc. The pin names should be configured with a ! for NO. The other drawback is that if they fail, your machine will continue to try and home.
Normally closed are much better. They are less susceptible to EMI and if they fail, the printer won't try to home (the issue you're seeing above) -
@jay_s_uk, I'll give that a try, really appreciate the help. I'll follow up once complete.
-
@jay_s_uk That was it, that switch was about 7 years old, guess I got my moneys worth...Ironically I had half a dozen NC switches laying around. Swapped it out for a new one and it homes nicely and M119 reports accordingly. Thanks again, was really thinking it was something more severe, been a minute since I messed with the software.
-
@bellus glad we got you sorted. shout out if you have any more issues