Problems with endstops



  • I have built a core XY with endstop issues. This seems like it should be simple, but I cant figure it out.

    I have microswitches NC on X & Y. The orange leds on the duet3d are lit until I press either x or y switch.

    The web interface always reports this if the switches are pressed or not.

    11:45:58M119
    Endstops - X: no endstop, Y: no endstop, Z: at min stop, Z probe: at min stop
    

    Z is not working either (mini IR) but I will troubleshoot that when X and Y are working

    ; General preferences
    M80				; Turns on the ATX power supply
    G90                                                ; Send absolute coordinates...
    M83                                                ; ...but relative extruder moves
    
    M667 S1                                            ; Select CoreXY mode
    
    ; Network
    M550 PBLV mgn Cube                                 ; Set machine name
    M552 S1                                            ; Enable network
    M586 P0 S1                                         ; Enable HTTP
    M586 P1 S0                                         ; Disable FTP
    M586 P2 S0                                         ; Disable Telnet
    
    ; Drives
    M569 P0 S1                                         ; Drive 0 goes backwards blv: its was S1
    M569 P1 S0                                         ; Drive 1 goes backwards blv: its was S1
    M569 P2 S1                                         ; Drive 2 goes forwards
    M569 P3 S1                                         ; Drive 3 goes backwards WAS 0
    M350 X16 Y16 Z16 E16 I1                            ; Configure microstepping with interpolation
    M92 X200 Y200 Z400 E405.18                         ; Set steps per mm for Bondtech. 
    M566 X600 Y600 Z24 E300                            ; Set maximum instantaneous speed changes (Jerk) (mm/min) 
    M203 X20000 Y20000 Z600 E2000                      ; Set maximum speeds (mm/min) 
    M201 X3000 Y3000 Z100 E5000			   				 ; Set accelerations (mm/s^2)
    M906 X1600 Y1600 Z1600 E1600 I30                   ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30                                            ; Set idle timeout
    
    ; Pressure advance
    ; M572 D0 S0.05					   					; disabled Pressure advance
    
    ; Axis Limits
    M208 X-23 Y0 Z0 S1                                 ; Set axis minima
    M208 X320 Y321 Z350 S0                             ; Set axis maxima
    
    ; Endstops
    M574 X1 Y2 S1                                      ; Set active high endstops edit: Y endstop is high(max).
    
    ; Filament sensor
    M591 D0 P1 C3 S1				 					  ; Set Filament sensor Simple type (High) for extruder drive 0, connected to endstop input 3 (E0)
    
    ; Z-Probe
    M574 Z1 S2                                         ; Set endstops controlled by probe
    M307 H1 A372.3 C109.6 D4.6 B0			  		 ; Set PID for hotend values
    M307 H0 A99.1 C453.2 D2.2 B0					  ; Set PID for heated bed values
    M558 P1 H5 F200 T9000 I0 R0.5			 		  ; Set Z probe type mini ir sensor
    G31 P500 X-2 Y-16.4 Z1.043                         ; Set Z probe trigger value, offset and trigger height
    M557 X30:270 Y30:270 S80			   				; Define mesh grid
    
    ; Heaters
    M305 P0 T100000 B3950 C0 R4700                     ; Set thermistor + ADC parameters for heater 0
    M143 H0 S100                                       ; Set temperature limit for heater 0 to 100C
    M305 P1 T100000 B3950 C0 R4700                     ; Set thermistor + ADC parameters for heater 1
    M143 H1 S260                                       ; Set temperature limit for heater 1 to 260C
    
    ; Fans
    M106 P0 S0 I0 F500 H-1                             ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T35                          ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H1 T35                          ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
    
    ; Tools
    M563 P0 D0 H1                                      ; 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
    
    ; Automatic power saving
    M911 S21 R22 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
    
    ; Custom settings are not configured
    M564 H0                                   	   ; Let the Jog buttons work: added to allow jog buttons
    


  • which firmware version are you running? if you are running v3. then thats the problem, as your config is for an old version of 2

    please print the output of M115



  • @Veti thanks. That was the problem


Log in to reply