Hotend crashing into bed during auto calibration.
-
I've run through the steps here: https://miscsolutions.wordpress.com/mini-height-sensor-board/
I've had this working before, but from another post I've had to start everything over from the beginning.
I've verified my Z height in the config.g by bringing the hot end down until it just just starts to get resistance with a piece of paper- the Z position reads zero. Yes while at temp.
When I send the command to probe in the instructions above it stops.
It's when I send the auto-calibrate command that it crashes. I can see the LED trigger, but it just keeps going.
I've verified that right before the LED comes on I have a reading of 466 and then when it triggers it's 533.
Bed.g
; bed.g
; called to perform automatic delta calibration via G32
;
; generated by RepRapFirmware Configuration Tool on Tue Oct 16 2018 21:59:26 GMT-0400 (Eastern Daylight Time)
M561 ; clear any bed transform
G28 ; home all towers
; Probe the bed at 6 peripheral and 6 halfway points, and perform 6-factor auto compensation
; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
G30 P0 X0.00 Y110.00 Z-99999 H0
G30 P1 X103.92 Y60.00 Z-99999 H0
G30 P2 X103.92 Y-60.00 Z-99999 H0
G30 P3 X0.00 Y-110.00 Z-99999 H0
G30 P4 X-103.92 Y-60.00 Z-99999 H0
G30 P5 X-103.92 Y60.00 Z-99999 H0
G30 P6 X0.00 Y60.00 Z-99999 H0
G30 P7 X51.96 Y30.00 Z-99999 H0
G30 P8 X51.96 Y-30.00 Z-99999 H0
G30 P9 X0.00 Y-60.00 Z-99999 H0
G30 P10 X-51.96 Y-30.00 Z-99999 H0
G30 P11 X-51.96 Y30.00 Z-99999 H0
G30 P12 X0 Y0 Z-99999 S6Config.g
; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
; executed by the firmware on start-up
; generated by RepRapFirmware Configuration Tool on Tue Oct 16 2018 21:59:26 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmare;*** The homed height is deliberately set too high in the following - you will adjust it during calibration.
M665 R120 L269 B120 H289.75 ; Set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them; Network
M550 Duet ; 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 ; X Tower Drive 0 goes forwards
M569 P1 S0 ; Y Tower Drive 1 goes backwards
M569 P2 S1 ; Z Tower Drive 2 goes forwards
M569 P3 S0 ; Extruder 1 Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X106.667 Y106.667 Z106.667 E500 ; Set steps per mmM566 X72000 Y72000 Z72000 E900 ; Set maximum instantaneous speed changes (mm/min)
M203 X1200000 Y1200000 Z1200000 E12000 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 Z1000 E2000 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 Z0 S1 ; Set minimum Z; Endstops
M574 X2 Y2 Z2 S1 ; Set active high endstops; Z-Probe
M558 P2 X0 Y0 Z0 H20 F120 T6000 ; Set Z probe type to modulated, the axes for which it is used and the dive height + speeds
G31 P500 X0 Y0 Z1.62 ; Set Z probe trigger value, offset and trigger height
M557 R145 S20 ; Define mesh; Heaters
M305 P0 T100000 B4338 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S110 ; Set temperature limit for heater 0 to 110C
M305 P1 X200 ; Configure thermocouple for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Fans
M106 P0 S1 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S0.5 I0 F500 H-1. ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H1 T45 ; 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
; Custom settings are not configured -
try adding I1 to M558
-
@twotone said in Hotend crashing into bed during auto calibration.:
M558 P2 X0 Y0 Z0 H20 F120 T6000 ; Set Z probe type to modulated, the axes for which it is used and the dive height + speeds
You need P1 in that command, not P2. See https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Mini_differential_IR_sensor_by_dc42.
-
Thanks.
I'm sorry I missed that, I used the reprap config tool for the Config.g file and wasn't even paying attention to the probe type in the command line.