Creality BLtouch
-
Hello Everyone,
I have been working to install my Creality BLtouch on to my newly upgraded replicator 2x + Duet 2 Wifi. I have been following a couple of threads and blogs of people who have completed it as well as the official Duet documentation. So far it looks like its wired correctly and powers up, however i am struggling to get it to test deploy.
Would some one mind looking over my config.g for any errors or obvious noob mistakes?
Any and all help would be appreciated.config.g
; Configuration file for Duet WiFi (firmware version 3.1.1)
; executed by the firmware on start-up
;
; Modified from V3 config.g on 4-06-2020; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M208 X0 Y0 Z0 S1 ; Set axis minima (bed offset 12 and 10 from zero)
M208 X270 Y140 Z150 S0 ; Set axis maxima (reduced by offset above); Enable Panel Due Connector
M575 P1 S1 B57600 ; Enables connector and sets baud rate; Endstops- Switches
M574 X1 S1 P"!xstop" ; X min active high endstop switch
M574 Y1 S1 P"!ystop" ; Y min active high endstop switch
M574 Z1 S1 P"!zstop" ; Z min active high endstop switch - Config for hard Z Endstop; Endstops- Z Probe
M574 X1 S1 P"!xstop" ; X min active high endstop switch
M574 Y1 S1 P"!ystop" ; Y min active high endstop switch
M574 Z1 S1 P"!zstop" ; Z min active high endstop switch - Config for Z Probe;Touch Probe
M558 P9 C"^zprobe.in" H5 F100 T2000 ; BLTouch Probe
G31 P50 X43.07 Y4.68 Z1.5 ; Set Z probe trigger value, offset and trigger height - Increase Z value to move bed closer to nozzle;M557 X5:204 Y3:242 S20 ; Define mesh grid
; Drives
M569 P0 S0 ; Drive 0 goes backwards
M569 P1 S0 ; Drive 1 goes backwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X88.573186 Y177.78 Z400 E409 ; Set steps per mm
M566 X900 Y900 Z300 E1200 ; Set maximum instantaneous speed changes (mm/min)
M203 X1080000 Y1080000 Z600 E96000 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 Z100 E2000 ; Set accelerations (mm/s^2)
M906 X900 Y1000 Z400 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B3974 C0 R4700 ; 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
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 B4725 C7.06e-8 ; 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
M143 H1 S280 ; set temperature limit for heater 1 to 280CM307 H0 R0.261 K0.401:0.000 D3.11 E1.35 S1.00 B0 ; Set PID values for Heatedbed - derived from autotune
M307 H1 R1.219 K0.254:0.000 D6.15 E1.35 S1.00 B0 V19.9 ; Set PID values for Extruder 1 - derived from autotune; Disabled heater to free up PWM pin For BLTouch
M307 H3 A-1 C-1 D-1; Network
M550 P"Duet_Rep2X" ; Set machine name
;M551 P"XXXXX" ; Set password
M552 S1 ; Enable network
;M552 P192.168.0.98 ;Fixed IP Address
;M554 P192.168.0.1 ;Gateway
;M553 P255.255.255.0 ;Netmask; Access point is configured manually via M587 by the user
M586 P0 S1 ; Enable HTTP
M586 P1 S1 ; Enable FTP
M586 P2 S0 ; Disable Telnet; Fans
M950 F0 C"fan0" Q500 ; Set fan 0 value, PWM signal inversion and frequency.
M106 P0 T45 H1 ; Set fan 0. Thermostatic control is turned on at 45 celcius.
M106 P0 S0 ; Switch cooling fan off; Accelerometer
M955 P0 C"spi.cs3+spi.cs4"; Tools
M563 P0 D0 H1 F0 ; Define tool 0
G10 P0 X50.5 Y56 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
M207 S1.2 F1200 ; set 1.2mm retract distance for G10 command; Select Tool
T0; Custom settings are not configured
deployprobe.g
; BLTouch probe deploy
M280 P3 S10retractprobe.g
; BLTouch probe retract
M280 P3 S90 -
I'm assuming you are using RRF 3.x. It looks like you have some RRF 2.x code in your config.g. See https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_connecting#software-setup
You haven't defined the probe servo pin with M950:
;Touch Probe
M558 P9 C"^zprobe.in" H5 F100 T2000 ; BLTouch Probe
G31 P50 X43.07 Y4.68 Z1.5 ; Set Z probe trigger value, offset and trigger height - Increase Z value to move bed closer to nozzleSo add
M950 S0 C"exp.heater3" ; define probe servo pin
You don't need this line:
; Disabled heater to free up PWM pin For BLTouch
M307 H3 A-1 C-1 D-1Your probe commands should reference the probe servo pin, not the pin directly (that's RRF 2.x)
deployprobe.g
; BLTouch probe deploy
M280 P3 S10retractprobe.g
; BLTouch probe retract
M280 P3 S90So above should be
M280 P0 S10
andM280 P0 S90
Ian
-
droftarts,
Thanks so much for the help, the probe is now deploying and retracting on command. -
-