Solved BLTouch will not deploy with M401
I have a Problem with my BLTouch. It will not deploy!
I have checked the wiring. It is definitely connected right.
I have not a config-override.g file inside the system. I have also updatet the firmware to the latest release 3.3.
With the M401 Code, the BLTouch will not deploy. Do you have any Idea, why?
Thanks for your help!
; Configuration file for Duet WiFi (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.5 on Fri Oct 29 2021 19:26:34 GMT+0200 (Mitteleuropäische Sommerzeit) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Printer" ; set printer name ; Network M551 P"*****" ; set password M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P7 R0 S0 T3.33:3.33:5:0 ; physical drive 0 goes forwards M569 P8 R0 S0 T3.33:3.33:5:0 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X8 Y7 Z2 E3 ; set drive mapping M350 X16 Y16 Z64 I0 ; configure microstepping without interpolation M350 E16 I1 ; configure microstepping with interpolation M92 X100.00 Y200.00 Z1280.00 E418.50 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X1400 Y1400 Z1400 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 minima M208 X610 Y610 Z600 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop M574 Y2 S1 P"!ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M950 S0 C"exp.heater6" ; 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 G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height M557 X15:595 Y15:595 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 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 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off ; 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 ; Custom settings are not defined ; Miscellaneous M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03
=== Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later Board ID: 0JD0M-9P6M2-NW4SN-6J9DG-3SJ6N-TAU7K Used output buffers: 3 of 24 (11 max) === RTOS === Static ram: 23876 Dynamic ram: 74972 of which 0 recycled Never used RAM 15568, free system stack 184 words Tasks: NETWORK(ready,10.5%,252) HEAT(delaying,0.0%,330) Move(notifyWait,0.1%,364) MAIN(running,85.4%,443) IDLE(ready,4.1%,29), total 100.0% Owned mutexes: WiFi(NETWORK) === Platform === Last reset 00:00:24 ago, cause: power up Last software reset at 2021-10-30 15:37, reason: User, GCodes spinning, available RAM 15568, slot 2 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Aux0 errors 0,0,0 Step timer max interval 0 MCU temperature: min 30.9, current 32.6, max 32.8 Supply voltage: min 24.1, current 24.3, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Driver 0: position 0, standstill, SG min/max not available Driver 1: position 0, standstill, SG min/max not available Driver 2: position 0, standstill, SG min/max not available Driver 3: position 0, standstill, SG min/max not available Driver 4: position 0, standstill, SG min/max not available Driver 5: position 0 Driver 6: position 0 Driver 7: position 0 Driver 8: position 0 Driver 9: position 0 Driver 10: position 0 Driver 11: position 0 Date/time: 2021-10-30 15:58:50 Cache data hit count 897316776 Slowest loop: 6.52ms; fastest: 0.16ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 4.1ms, write time 0.0ms, max retries 0 === Move === DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 16.07ms; fastest: 0.00ms Responder states: HTTP(2) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 1 of 8 - WiFi - Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.23 WiFi MAC address e0:98:06:a4:5f:af WiFi Vcc 3.34, reset reason Turned on by main processor WiFi flash size 4194304, free heap 24368 WiFi IP address 192.168.178.116 WiFi signal strength -50dBm, mode none, reconnections 0, sleep mode modem Clock register ffffffff Socket states: 0 0 0 0 0 0 0 0
; deployprobe.g ; called to deploy a physical Z probe ; ; generated by RepRapFirmware Configuration Tool v3.3.5 on Fri Oct 29 2021 19:26:34 GMT+0200 (Mitteleuropäische Sommerzeit) M280 P0 S10 ; deploy BLTouch
; retractprobe.g ; called to retract a physical Z probe ; ; generated by RepRapFirmware Configuration Tool v3.3.5 on Fri Oct 29 2021 19:26:34 GMT+0200 (Mitteleuropäische Sommerzeit) M280 P0 S90 ; retract BLTouch
Your configuration looks correct. Does the BL touch carry out its self test when powered on?
I know you have checked the wiring but please share a photograph.
@t3p3tony yes, the bltouch does its self test when powered on.
@inno-3d that looks correct as well.
What happens when you send
M280 P0 S10
@t3p3tony nothing happend!
Do you have another idea?
Many Thanks for your help!
M557 X15:595 Y15:595 S20
one thing to mention is that your setting are ((595-15)/20+1)*((595-15)/20+1)= 30 * 30 points = 900 points, which are more than the 441 allowed.
And the G31 P500 X0 Y0 Z2.5 the XY offsets are probably incorrect (unless the BLTouch is at the nozzle position).
@inno-3d that port on the expansion breakout board is at 5V signalling level so should be fine with even older BL touches. Can you try the other PWM port on the expansion break out board (heater 6)
@joergs5 Yes this is right. I haven not changed the settings yet, becuase first I would like to home the printer.
@t3p3tony I have tested it with the other port, but there was the same result.
This post is deleted!
@inno-3d the core at the top of the BLTouch (allen key rotatable) needs correct position, is the pin movable?
https://cdn-3d.niceshops.com/upload/file/BLTouch_Manual.pdf page 3 image at bottom.
@joergs5 The BLTouch should work fine. At the start, the BLTouch does it's self test.
The BLTouch worked at another borad fine. So i think, that is not the problem.
@inno-3d I have no more ideas, only rechecking wiring, and using only the mainboard pins.
@joergs5 Ok, thanks for your help!
Alex.cr last edited by
I’ve had a similar issue where the BLtouch would not deploy even though everything was set up correctly. My issue turned out to be the stepper motor cables creating noise on the servo wire and interfering with communication to the BLtouch.
Have you tried sending M401 with the stepper motors disabled vs with them powered on?