So I've gone through and read (i think) most of whats been posted in regards to setting up a BLTouch on a Duet Wifi but with everyone seeming to have a different setup or strategy it gets a bit confusing. The wiki seems to cover all of the info needed but its a bit difficult with it being spread through various pages. My end goal is to setup a Cartesian printer with a Zmin end stop for standard homing and with a BLTouch for mesh bed leveling. Initially I'm thinking of having the mesh leveling occur only at the start of a print, though this might get annoying and it might be easier to just run a mesh leveling on command when needed.
I've spelled out my understanding of what each command is needed for and what the parameters are helping to define/specify to confirm my understanding but also to maybe help others trying to set up a BLTouch…if my understanding is actually right.
My understanding of what all needs to happen in the configuration files and gcode files is:
======config.g file======
=needs added:=
[c]M307 H3 A-1 C-1 D-1[/c] {to free up heater 3 control pin for use as general I/O pin} where H3 indicates heater 3 (location that BLT servo control is plugged in)
[c]M558 P5 X0 Y0 Z0 H5 F200 T5000[/c] {to define the probe parameters/usage} where P5 specifies the output of the BLT is plugged into the Z probe connection (P4 would specify the output is plugged into the E0 endstop pins), X0 Y0 Z0 defines that the BLT isnt used for any actual homing (X0 Y0 Z1 would define using BLT for homing Z axis), H5 defines the height of the printer head at the start of each dive/probe, F200 defines a Z speed of 200 mm/min, T5000 defines X and Y speeds of 5000 mm/min
[c]G31 P25 X-18 Y0 Z2[/c] {to define the trigger and positioning of the BLT} where P25 is the sensitivity of the trigger detection (or the pulse duration duet will consider a trigger?), X-18 Y0 is the offset of the probe from the nozzle tip, Z2 is the vertical offset of the BLT's trigger point to the nozzle tip
[c]M557 X50:550 Y50:550 S100[/c] {to establish the parameters of the G29 mesh bed probing procedure} where the X and Y parameters defines the extremes of the probing grid and S defines the spacing of the grid points
======deployprobe.g======
=only contains:=
[c]M280 P3 S10 I1 [/c] where P3 is identifying the pin for heater 3 (pin 8 - wifi, pin 21 - duet 0.8.5), S10 indicates to deploy pin
======retractprobe.g======
=only contains:=
[c]M280 P3 S90 I1[/c] where P3 is identifying the pin for heater 3 (pin 8 - wifi, pin 21 - duet 0.8.5), S90 indicates to retract pin
======bed.g====== isnt needed since I'm not trying to perform a G32
======homez.g====== can remain the same since I'm still using my Z min end stop for Z homing
======[starting script in Simplify3D]======
=needs added (after G28):=
[c]G29[/c]
additionally it seems helpful to add the following macro
======resetprobeerror.gcode======
[c]M280 P3 S160 I1[/c] where P3 is identifying the pin for heater 3 (pin 8 - wifi, pin 21 - duet 0.8.5), S160 indicates to reset error state
What errors/issues do i have in this breakdown or is it fairly safe to say that if I add/edit the above to my duet wifi I should have an operable BLTouch?
Does using the Z min end stop for Z homing and then using the BLT for mesh leveling cause any weirdness as far as operation or offsets? I was intending to use the end stop just because I'm confident that it keeps the nozzle from crashing into the bed. I may convert over to just the BLT as my confidence builds in the setup.