For some reason, I can't seem to get my BLT working as expected. I followed the online example for wiring, Config.g et al, but I have something either transposed or wrong. Can someone take a look and see if anything sticks out?
FYI - It seems to be wired up correctly. The probe will not automatically deploy when functioning as a Z end stop/Zzero switch. However - If I manually deploy the probe via my 'deployprobe' macro, it does in fact deploy & if I command the Z to home, it does in fact work as expected. Just not sure where my code is messed up.
Yes...there's cleanup to be done deleting extra comments in the code. Thank you in advance for looking...
;BLT Config 1/1/21
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.10 on Wed Dec 09 2020 11:04:02 GMT-0500 (Eastern Standard Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"CR10S6" ; set printer name
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet
; Drives
M569 P0 S0 ; physical drive 0 goes backwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
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 E420.00 ; 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 Z1250.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z40.00 E250.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E900 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 X500 Y500 Z900 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
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
M591 P1 C"e0stop" S1 D0 ; filament monitor connected to E0 endstop S1=On S0=Off P1=simple sensor (high signal when filament present)
; Z-Probe
M558 P9 C"^zprobe.in" H5 F120 T6000 A10 R0.75 S0.02 ; set Z probe type to bltouch and the dive height + speeds
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch on exp.heater3
G31 P500 X-33 Y-1 Z1.438 ; set Z probe trigger value, offset and trigger height
M557 X25:450 Y25:475 S50
; IRPROBE M558 P1 C"zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
; IRPROBE G31 P500 X-48 Y-10 Z2.55 ; set Z probe trigger value, offset and trigger height
; IRPROBE M557 X25:450 Y25:475 S50 ; define mesh grid
; Heaters
M140 H-1 ; disable heated bed (overrides default heater mapping)
M308 S0 P"spi.cs1" Y"rtd-max31865" ; configure sensor 0 as thermocouple via CS pin spi.cs1
M950 H0 C"e1heat" T0 ; create nozzle heater output on e1heat and map it to sensor 0
M307 H0 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H0 S290 ; set temperature limit for heater 0 to 290C
; 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 H T45 ; set fan 1 value. Thermostatic control is turned on
; Tools
M563 P0 D0 H0 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
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
T0 ;Start up with tool 0 selected in the console
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.10 on Wed Dec 09 2020 11:04:02 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X63 Y25 F6000 ; go to first probe point
;M98 P"^deployprobe.g"
M401 P1; Lower Z probe (BLTouch)
G30 ; home Z by probing the bed
M402 P1; Retract Probe
;M98 P"^retractprobe.g"
; Uncomment the following lines to lift Z after probing
G91 ; relative positioning
G1 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioning
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.1.10 on Wed Dec 09 2020 11:04:02 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-505 Y-505 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-505 Y-505 F360 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 X63 Y25 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
;deployprobe.g
M280 P0 S10 ; deploy BLTouch
;retractprobe.g
M280 P0 S90 ; retract BLTouch