X axis not moving during homing
-
I am sure this is a configuration issue that I just cannot find. When homing all, my Z raises, my Y homes, my X moves about 10mm away from end-stop direction, Y homes again, BLTouch deploys probe, Z drops and BLTouch activates, then it just sits there. So the exercise here was to get dual Z working and BLTouch working. But somehow things have gone awry. Things I have tried, reading other posts, swapping cables on drivers and modifying config for those drives, trying a different motor on X, and trying a different cable on X.
Duet 3 Mini 5+ FW 3.4.4
config.g
; General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Ender 3 V2" ; 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.0 S0 ; X physical drive 0.0 goes backwards
M569 P0.1 S0 ; Y physical drive 0.1 goes backwards
M569 P0.2 S1 ; Z physical drive 0.2 goes forwards
M569 P0.3 S1 ; Z physical drive 0.3 goes forwards
M569 P0.4 S0 ; E physical drive 0.4 goes backwards
M584 X0.0 Y0.1 Z0.2:0.3 E0.4 ; set drive mapping
M671 X-35:255 Y0:0 S0.5 ; sets location of z lead screws
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E690.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E7200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E10000.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E850 I10 ; set motor currents (mA) and motor idle factor in percent
M572 D0.1 S0.02 ; set extruder D pressure advance in S seconds
M207 P0.1 S1.5 F7200 Z0.2 ; set extruder P retraction S in mm, feed rate F in mm/min, and zLift/hop Z in mm
M84 S30 ; Set idle timeout; Axis Limits
M208 X0:215 Y0:215 Z0:250 ; set axis limits; Endstops
M574 X1 S1 P"io5.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io6.in
M574 Y1 S1 P"io6.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io5.in
M574 Z1 S2 ; Use z-probe for low end on Z via bltouch io3; Z-Probe
M950 S0 C"io3.out" ; create servo pin zero, set to pin io3.out (yellow wire)
M558 P9 C"io3.in" H5 F120 T6000 ; set Z probe type 9, set to pin io3.in (white wire), dive height (mm), probe speed (mm/min), travel speed (mm/min)
G31 P500 X38 Y-20 Z0.85 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:215 S20 ; define mesh grid, S is spacing, can use P for # of probe points instead of S; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 B0 R0.394 C432.7 D3.49 S1.00 V23.7 ; result of PID tuning 2/13/22
M140 H0 ; map heated bed to heater 0
M143 H0 S100 ; set temperature limit for heater 0 to 100C
M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H1 B0 R2.271 C319.8 D6.13 S1.00 V23.7 ; result of PID tuning 2/13/22
M143 H1 S220 ; set temperature limit for heater 1 to 220C; Fans
M950 F0 C"out6" Q25000 ; create fan 0 on pin out6 and set its frequency
M106 P0 S255 L0 X255 ; set fan 0 value. Thermostatic control is turned on
M950 F1 C"out5" Q25000 ; create fan 1 on pin out5 and set its frequency
M106 P1 S0 ; set fan 1 value. Thermostatic control is turned off; Tools
M563 P0 D0 H1 F1 ; 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 0Cbed.g
G28 ; home
G30 P0 X10 Y110 Z-99999 ; probe near a leadscrew, half way along Y axis
G30 P1 X215 Y110 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motorshomeall.g
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-240 Y-240 F1000 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-240 Y-240 F240 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 X15 Y15 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bedhomex.g
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-235 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-235 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioninghomey.g
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y-235 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y5 F6000 ; go back a few mm
G1 H1 Y-235 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioninghomez.g
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Z-205 F1800 ; move Z down until the endstop is triggered
G92 Z0 ; set Z position to axis minimum (you may want to adjust this)Thanks in advance for taking a look
-
It sounds like the X axis endstop is triggered when it's not actually pressed. This could be a wiring problem or configuration problem.
Where is your X end stop physically located?
What kind of endstop is it?
Can you send M119 to check the status of your endstops?
-
@Phaedrux Hi and thanks for helping out. My X endstop is on the left side and is a physical switch, this is a converted Ender 3 V2. Ran M119 and got:
Endstops - X: at min stop, Y: not stopped, Z: not stopped, Z probe: not stopped
Next things I tried, plugged in a different switch to X endstop wire, same result as above. Swapped the endstop connection on the board and changed config.g to reflect that, same result as above. So, no matter if X is on io5 or io6 or on either switch I have X at min stop.
One other observation, should I have Z and Z probe showing in M119?
One last attempt, connected original switch to the old Z stop wire which is on io4 and changed the config.g to reflect that it belongs to X, reran M119, and X no longer reports at min stop, now reports not stopped.
I think this means that my wire may be bad, thoughts?
-
Can you show the wiring of your x endstop switch at the board?
-
-
Do you have a multimeter to check the continuity of the X endstop wiring?
-
@Phaedrux Yes I tested the outer pins on both of those connectors and they were both 47.1K Ohms. But I think I found the issue, when removing the X plug from the board, one wire pulled out of the connector but the pin remained in the connector. The wire was broken clean, I removed the pin and found a good crimp, it just broke off right through the insulation and the wire. Makes me wonder if these original Creality wires are at all trustworthy now, might purge these old wires from my setup. And on a good note, I was finally able to print an XYZ block!
-
-