G32 w BLTouch and Z-endstop
-
May i ask why G32 and not G29?
https://duet3d.dozuki.com/Wiki/Gcode#Section_G29_Mesh_bed_probe -
I'm used to G32 from Smoothie.
Just tried G29 and it does the exact same as in the video..
-
Hi,
Did you create the deployprobe.g and retractprobe.g files?
G32 has it's uses for bed leveling but for creating the height map used by mesh compensation (which deals with bed irregularities) you use G29.
Frederick
-
Thanks! I'll start using G29 instead.
Yes, i've created the two files:
Deployprobe.g
M280 P3 S10 I1Retractprobe.g
M280 P3 S90 I1 -
Hi,
So all is working now?
Frederick
-
No.
I had the two files already and i'm getting the same result (as in the video) with G29.
-
Hi,
When I specified the area to be probed I had to take into account my Z-probe offsets.
Frederick
-
I've also done that, see the config above.
-
@jontek2 said in G32 w BLTouch and Z-endstop:
I've also done that, see the config above.
Well you are cutting the X axis a bit close but I guess it's ok.
Clearly something is wrong as the probe is deployed while moving.
Do M401 and M402 work correctly?
-
The M401 did deploy the probe and M402 retracted it.
Any examples of how your BLTouch is configured?
Could I have wired it wrong?
-
Either there is something wrong with the wiring, however i doubt that since all of the commands are working.
Therefore it must be something wrong with the configuration.
What i've done is:
Wired the BLTouch
Added the two files
Added the following code:; Z-Probe M557 X5:170 Y5:170 S20 ; Define mesh grid M558 P9 H5 F1000 T4000 X0 Y0 Z0 ; Set Z probe type/mode 5. H=Dive Height. F=Speed the bed moves G31 P25 X30 Y15 Z5.0 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
Is there something i'm missing?
-
Hmm...
You have X0 Y0 Z0 parameters in M558.
According to the docs they are obsolete so try removing them.
And if you are not using the most recent firmware upgrade and see if that makes a difference.
Frederick
-
Thanks. There's seems to be an update to it in the latest firmware.
I just redid all of the wiring to the BLTouch and got it working The crimping must have gone bad in one of the signal-wires.
But got some new errors:
Warning: Skipping grid point (0.0, 0.0) because Z probe cannot reach it
It should be able to probe at 0, 0 since the offset is 30 and Y.
-
@jontek2 said in G32 w BLTouch and Z-endstop:
It should be able to probe at 0, 0 since the offset is 30 and Y.
M557 shows X5:170 Y5:170 S20
Why is it now trying to probe 0, 0?
Frederick
-
Ok, here's an update:
I've got everything to work with the BLTouch and my config now is the following:
; Z-Probe M558 P9 H5 F100 T2000 ; Set Z probe type/mode 9. H=Dive Height. F=Speed the bed moves G31 X30 Y15 Z1.688 P25 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
However i'm getting the following message when i'm trying to do a G29
Error: G29: No valid grid defined for bed probing
My "Define Area for Mesh Grid Compensation" is the following:
Start coordinate in X direction: 0
End coordinate in X direction: 210
Spacing in X direction: 20
Start coordinate in Y direction: 0
End coordinate in Y direction: 210
Spacing in Y direction: 20However, if try to enter G29 two more tries - it works. Is this a known bug or am I doing something wrong?
-
Hi,
What happened to M557 X5:170 Y5:170 S20?
Frederick
-
170x170 was something i had in size from Smoothie.
M557 X5:170 Y5:170 S20
seemed to be something from an earlier firmware version.
-
@jontek2 said in G32 w BLTouch and Z-endstop:
170x170 was something i had in size from Smoothie.
M557 X5:170 Y5:170 S20
seemed to be something from an earlier firmware version.
I would put it back. It is taking into account the z-probe offsets, as it should.
Though I would be inclined to use X5:165 and Y5:185 to keep the z-probe away just a bit from X and Y max.
Frederick
-
According to the documentation (https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe) the M557 commands is used for the Touch-Mi.
-
@jontek2 said in G32 w BLTouch and Z-endstop:
According to the documentation (https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe) the M557 commands is used for the Touch-Mi.
That is simply mentioned there because of the characteristics of that type of probe.
M557 is used to specify the area to be probed for mesh compensation.
From the docs:
M557: Set Z probe point or define probing grid
Parameters to define G29 probe grid (all values in mm)Xaaa:bbb Minimum and maximum X coordinates to probe
Yaaa:bbb Minimum and maximum Y coordinates to probe
Raaa Radius to probe
Saaa Probe point spacing (RepRapFirmware 1.19beta10 and later also support Saaa:bbb)
Pnn or Pxx:yy (RRF 2.02 and later) Number of points to probe in the X and Y axis directions (alternative to specifying the probe point spacing)