Hi all,
I am having a really strange issue with my endstops not working correctly. For some reason, when I attempt to home either Y or Z, they continue to move even though the endstops have been triggered. X was like this for a while but now seems to be working OK
So, to start with some basic information:
I am using a Duet 2 WiFi, firmware version 3.1.1. I have 3 standard microswitch endstops, all at low end, all active low. The board LEDs all switch off when the switches are triggered, and I can see the endstop states changing in Machine Specific settings when they are pressed.
Running M119 shows the correct endstop states, as well as 'Z-Probe: at min stop' (though I have no probe attached at the moment and I assumed it would be disabled by my M558 entry below).
I feel so close to actually starting to print now (first thing will be a mount for my probe), but so far away every time I experience an issue like this. I would really appreciate if someone could point me in the right direction please!
My config.g is below (I have attached homeall, homex, homey and homez):
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
;Network
M552 S1 ; enable network
M550 P"#####" ; set printer name
M551 P"#####" ; set password
M552 P192.168.1.13 ; set IP address and enable network
M554 P192.168.1.1 ; Gateway (not used yet)
M553 P255.255.255.0 ; Netmask
M586 P0 S1 ; enable HTTP
M586 P1 S1 ; enable FTP
M586 P2 S0 ; disable Telnet
;PanelDue
M575 P1 B57600 S1 ; Set auxiliary serial port baud rate and require checksum (for PanelDue)
; Drives
M564 H0 ; allow axis movement without homing
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S0 ; physical drive 3 goes backwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X160.00 Y160.00 Z800.00 E837.00 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X1000.00 Y1000.00 Z250.00 E1000 ; set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z240.00 E1000.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 minimum
M208 X200 Y200 Z180 S0 ; set axis maximum
; Endstops
M574 X1 S1 P"xstop" ; configure active-low endstop for low end on X via pin xstop
M574 Y1 S1 P"zstop" ; configure active-low endstop for low end on Y via pin ystop
M574 Z1 S1 P"ystop" ; configure active-low endstop for low end on Z via pin zstop
; Z-Probe
M558 P0 H3 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
;M557 X0:200 Y0:200 S20 ; 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 B0 S1.00 ; disable 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
; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H1 T45 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; 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
; Misc
M501 ; read stored parameters
homeall.g
homex.g
homey.g
homez.g