BLTouch doesn't deploy after update to 3.1.1 on Duet 2 WIFI
-
Hi,
Recently updated my Duet 2 WIFI firmware because the printer kept losing wifi contact and frezed.I was running 2.03, now I have installed 3.1.1 using RRF 3.1.4.
Thing is BLTOUCH is not working…. It’s always the BLTOUCH isn’t it?
It was working all right on 2.04, after a little help from the communityMy old config
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.1.3 on Thu Nov 28 2019 16:04:13 GMT+0000 (Hora padrão da Europa Ocidental); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"AA 300x300x600" ; set printer name
M575 P1 S1 B57600 ; Set Baud Route Duet BoardM669 K1 ; select CoreXY mode
; Network
M551 P"AA" ; set password
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
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 X80.00 Y80.00 Z400.00 E98.5 ; set steps per mm
M566 X950.00 Y950.00 Z30.00 E3000.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z1000.00 E3300.00 ; set maximum speeds (mm/min)
M201 X3100.00 Y3100.00 Z100.00 E10000.00 ; set accelerations (mm/s^2)
M906 X1850 Y1850 Z1750 E1650 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X10 Y10 Z0 S1 ; set axis minima
M208 X300 Y300 Z570 S0 ; set axis maxima; Endstops
M574 X1 Y1 S0 ; set active low and disabled endstops
M574 Z1 S2 ; set endstops controlled by probe; Z-Probe
M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
M558 P9 H5 F120 T10000 ; set Z probe type to bltouch and the dive height + speeds
G31 P25 X24 Y0 Z2.425 ; set Z probe trigger value, offset and trigger height (quanto mais elevado o valor, mais proximo da cama)
M557 X90:210 Y70:230 S20 ; define mesh grid; Heaters
M307 H0 A105.5 C570.5 D0.2 V23.6 B0 ; disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B3950 R4700 ; set thermistor + ADC parameters for heater 0
M143 H0 S110 ; set temperature limit for heater 0 to 110C
M307 H1 A695.2 C202.3 D10.4 V23.6 B0 ; disable bang-bang mode for the bed heater and set PWM limit
M305 P1 T100000 B4092 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S290 ; set temperature limit for heater 1 to 280C; 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 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 S"Extr 1" 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
M912 P0 S-25
M572 D0 S0.2 ; linear advance
; Miscellaneous
T0 ; select first tool; deployprobe.g
; called to deploy a physical Z probe
;
; generated by RepRapFirmware Configuration Tool v2.1.3 on Thu Nov 28 2019 16:04:13 GMT+0000 (Hora padrão da Europa Ocidental)
M280 P3 S10 I1 ; deploy BLTouch; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v2.1.3 on Thu Nov 28 2019 16:04:13 GMT+0000 (Hora padrão da Europa Ocidental)
G91 ; relative positioning
G1 H2 Z0.5 F6000 ; lift Z relative to current position
G1 H1 X-300 Y-300 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-300 ; home X axis
G1 H1 Y-300 ; home Y axis
G1 X5 Y5 F6000 ; go back a few mm
G1 H1 X-300 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-300 ; then move slowly to Y axis endstop
G90 ; absolute positioning
G1 X20 Y20 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed
G29 S1 ; reload the height map
M376 H10 ; taper of bed compensation over a specified eight; Uncomment the following lines to lift Z after probing
G91 ; relative positioning
G1 S2 Z0.5 F100 ; lift Z relative to current position
G90 ; absolute positioningThe new
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Nov 12 2020 10:45:00 GMT+0000 (Hora padrão da Europa Ocidental); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"AA 300x300x600" ; set printer name
M669 K1 ; select CoreXY mode; Network
M551 P"AA" ; set password
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
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 X80.00 Y80.00 Z400.00 E98.50 ; set steps per mm
M566 X900.00 Y900.00 Z12.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 X1750 Y1750 Z1750 E1750 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X10 Y10 Z0 S1 ; set axis minima
M208 X300 Y300 Z570 S0 ; set axis maxima; Endstops
M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin !xstop
M574 Y1 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin !ystop; Z-Probe
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H0.5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X24 Y0 Z2.425 ; set Z probe trigger value, offset and trigger height
M557 X50:250 Y50:250 S25 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 C570.5 ; 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 S110 ; set temperature limit for heater 0 to 110C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 C202.3 ; 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 H-1 ; 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 S"Extr 1" 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
M575 P1 S1 B57600 ; enable support for PanelDue
T0 ; select first tool; deployprobe.g
; called to deploy a physical Z probe
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Nov 12 2020 10:45:00 GMT+0000 (Hora padrão da Europa Ocidental)
M280 P0 S10 ; deploy BLTouch; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Nov 12 2020 10:45:00 GMT+0000 (Hora padrão da Europa Ocidental)
G91 ; relative positioning
G1 H2 Z0.5 F6000 ; lift Z relative to current position
G1 H1 X-295 Y-295 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-295 ; home X axis
G1 H1 Y-295 ; home Y axis
G1 X5 Y5 F6000 ; go back a few mm
G1 H1 X-295 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-295 ; then move slowly to Y axis endstop
G1 H1 Z-575 F360 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
G91 ; relative positioning
G1 Z0.5 F100 ; lift Z relative to current position
G90 ; absolute positioning -
@MJCT said in BLTouch doesn't deploy after update to 3.1.1 on Duet 2 WIFI:
I was running 2.03, now I have installed 3.1.1 using RRF 3.1.4
check with m122 and post the output that you are actually on 3.1.1
-
Hi,
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later
Board ID: 08DJM-9178L-L4MSJ-6J9F0-3S46Q-KT3YP
Used output buffers: 3 of 24 (20 max)
=== RTOS ===
Static ram: 27980
Dynamic ram: 93852 of which 68 recycled
Exception stack ram used: 280
Never used ram: 8892
Tasks: NETWORK(ready,384) HEAT(blocked,536) MAIN(running,1840) IDLE(ready,80)
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:01:18 ago, cause: power up
Last software reset at 2020-11-12 13:26, reason: User, spinning module GCodes, available RAM 8884 bytes (slot 1)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
Error status: 0
MCU temperature: min 49.1, current 49.7, max 49.8
Supply voltage: min 23.9, current 24.1, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max not available
Driver 1: standstill, SG min/max not available
Driver 2: standstill, SG min/max not available
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Date/time: 2020-11-12 14:44:23
Cache data hit count 128341946
Slowest loop: 16.55ms; fastest: 0.14ms
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 3.7ms, write time 9.0ms, max retries 0
=== Move ===
Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== AuxDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 203.59ms; fastest: 0.09ms
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 1
WiFi firmware version 1.23
WiFi MAC address ec:fa:bc:01:d4:c6
WiFi Vcc 3.38, reset reason Unknown
WiFi flash size 4194304, free heap 24528
WiFi IP address 192.168.10.62
WiFi signal strength -50dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
- WiFi -
-
@MJCT said in BLTouch doesn't deploy after update to 3.1.1 on Duet 2 WIFI:
; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Nov 12 2020 10:45:00 GMT+0000 (Hora padrão da Europa Ocidental)
G91 ; relative positioning
G1 H2 Z0.5 F6000 ; lift Z relative to current position
G1 H1 X-295 Y-295 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-295 ; home X axis
G1 H1 Y-295 ; home Y axis
G1 X5 Y5 F6000 ; go back a few mm
G1 H1 X-295 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-295 ; then move slowly to Y axis endstop
G1 H1 Z-575 F360 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust ththat is not what the configurator creates when you select bltouch.
it should look something like this (notice the g30) check the configurator that you selected z probe and bltouch in the endstop tab
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Nov 12 2020 15:48:47 GMT+0100 (Central European Standard Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-235 Y-215 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 H1 X-235 ; home X axis G1 H1 Y-215 ; home Y axis G1 X5 Y5 F6000 ; go back a few mm G1 H1 X-235 F360 ; move slowly to X axis endstop once more (second pass) G1 H1 Y-215 ; then move slowly to Y axis endstop G90 ; absolute positioning G1 X15 Y15 F6000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
-
@MJCT said in BLTouch doesn't deploy after update to 3.1.1 on Duet 2 WIFI:
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 C570.5 ; configure sensor 0 as thermistor on pin
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 C202.3 ; configure sensor 1 as thermistor on pin e0tempalso your thermistor settings are incorrect B4138 is the default but you also specified a c value.
find the correct values in your thermistor documentation -
Iep, I know that the thermistor settings are all mesed up... that was my next step. One problem at a time.
About the configurator
What was my mistake?
-
very small images
but it looks like you selects none for z instead of z-probe
-
Sorry!
Yes I did, so that is at least one of my mistakes, ok
Larger images
-
you still have selected none for z instead of z-probe
-
Nice!!!!!!
After I change to Z-Probe and copying config, homeall, homez and retractprobe it seams to be workingThanks Veti