BLTouch getting triggered
-
yes i home all then run mesh compensation button.
compensation does not complete fully and if it does i see all red on the viewer and it is way above.
i will try to make a macro over your script.Machine:
hypercube evolution.Did you see my reply yesterday?
-
Hi David, Gary, yes. i am tweaking the probe speed, dive height and travel speed, also probe trigger value;; looking for that good value.
as for homing concerns it is homing indeed. but when i do a mesh compensation, it then reaches a point where the calibration stops or ends up with the 1000 value.
im not sure if external factors are triggering the probe to be that.should i set M574 Z0 Snnn, n being 2? also Z1 or Z0?
-
Depending on the contents of your homeall and homez files, the parameters for M574 I mentioned might not matter. (If you home Z using G30, they don't matter.)
As for your problem, I'd like to try and help, but I'm not sure I'm understanding the problem. There aren't enough details for me to completely understand. Is the BLTouch going into an error (flashing red) state when the mesh probing stops working properly?
If you're BLTouch probe is triggering when your nozzle is still over 3mm from the bed (as indicated by your G31 command), then you're probably going to need a larger "dive height" on the M558 command. Try going to 10. (That's the H parameter on the M558 command.)
Try this: comment out your existing M558 command (don't delete it - just put a semi-colon in front of it) and add this one :
M558 P5 X0 Y0 Z1 H10 F100 T4000(This is what I'm using and it works great. The only difference is that I have a H of 5, but my trigger height is less than 1mm.)
After you save the config.g and the duet restarts, go into the web page, to the G-Code Console page, and type "M558" (With no parameters) and hit 'Send'. It should respond by showing you something similar to:
"Z Probe type 5, invert no, dive height 10.0mm, probe speed 100mm/min, travel speed 4000mm/min, recovery time 0.00 sec, max taps 1, max diff 0.01"
(This is just to ensure that the M558 command worked properly.)
Please post back letting us know how this works out.
Take care
Gary -
im guessing its a hardware thing. so i've removed the bed and trying to make it all be straight and aligned again.
will inform you when im back to software troubleshooting again. -
okay so now im having this.
[[language]] G29 Error: Z probe already triggered before probing move started
-
this is what i get when i center and do a home now.
[[language]] 2:50:26 PMG30 S-1 Stopped at height 3.962 mm Z=3.96 2:49:13 PMG1 Z10 F200 2:49:05 PMG30 S-1 Stopped at height 3.968 mm Z=3.97 2:48:57 PMG1 Z10 F200 2:48:51 PMG92 Z0
it seems the height is varying
-
[[language]] 2:59:53 PMG30 S-1 Stopped at height 4.013 mm Z=4.01 2:59:41 PMG1 Z10 F200 2:59:15 PMG30 S-1 Stopped at height 3.995 mm Z=4.00 2:59:03 PMG1 Z10 F200 2:58:01 PMG30 S-1 Stopped at height 3.968 mm Z=3.97 2:57:48 PMG1 Z10 F200 2:56:52 PMG1 Z0 2:56:38 PMG30 S-1 Stopped at height 3.978 mm Z=3.98 2:56:25 PMG1 Z10 F200 2:56:17 PMG92 Z0 2:55:36 PMG92 Z10 2:55:27 PMG31 P100 X0 Y0 Z3.97; 2:55:15 PMM558 P5 X0 Y0 Z1 H10 F100 T4000 2:54:51 PMG1 Z0 2:54:42 PMG28 Z 2:54:31 PMG1 X145 Y135 F2200 2:53:58 PMConnection established!
i settled with 3.97 as Zoffset
[[language]] G29 9 points probed, mean error 8.429, deviation 0.212 Height map saved to file heightmap.csv
looking at the height map.its like its in the air.
[[language]] RepRapFirmware height map file v2 generated at 2018-01-02 15:02, mean error 8.429, deviation 0.212 xmin,xmax,ymin,ymax,radius,xspacing,yspacing,xnum,ynum 10.00,290.00,0.00,270.00,-1.00,108.80,108.80,3,3 8.383, 8.271, 8.016 8.469, 8.403, 8.299 8.609, 8.731, 8.682
-
now when i center again and run a G28 Z the Z is showing -12.84
im lost now..as when i run all the necessary parameters to ensure the bed to nozzle height changes.
-
reran G29 and now this is the height map.
[[language]] RepRapFirmware height map file v2 generated at 2018-01-02 15:37, mean error 8.530, deviation 0.221 xmin,xmax,ymin,ymax,radius,xspacing,yspacing,xnum,ynum 10.00,290.00,0.00,270.00,-1.00,108.80,108.80,3,3 8.489, 8.348, 8.118 8.582, 8.517, 8.362 8.716, 8.834, 8.805
when i do a G28 Z and Z0, the offset is correct. is it possible that compensation is not working?
-
this is the updated endstop on config.g
[[language]] ; Endstops M574 Z0 S2 ; Set active low endstops M574 X1 Y1 S1 ; Set active high endstops M558 P5 X0 Y0 Z1 H10 F100 T4000 G31 P100 X0 Y0 Z4.7 M557 X10:290 Y0:270 S108.8 ; Define mesh grid
-
How are you homing Z?
After homing Z, does Z=0 correspond to the position when the nozzle is just touching the bed?
-
yes. i think i got it now.
weird part is there is a deviation value that is ~8mm
and it is always there.[[language]] Number of probe points: 9 Probe area: 473.5 cm² Maximum deviations: 7.699 / 8.365 mm Mean error: 8.077 mm RMS error: 0.198 mm
-
That mean error suggests to me that you have an 8mm error in your Z=0 position after homing and before bed probing.
-
Thanks All!
David, Gary, and the guys on the hevo FB group that are here.
im doing a test print, and ti seems like the offset changes.
i had to do a babystep to compensate the offset.BTW, i updated my firmware to RC1 and it appears to be better.
[[language]] Firmware Electronics: Duet WiFi 1.02 or later Firmware Version: 1.21RC1 (2018-01-25) WiFi Server Version: 1.20 Web Interface Version: 1.20
Someone asked me to upload my home files.
homeall
[[language]] ; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool on Wed Dec 27 2017 18:31:34 GMT+0800 (PHT) G91 ; relative positioning G1 Z7 F800 ; lift Z relative to current position M280 P3 S160 I1 ;Clear any alarm ;M401 ; deploy probe G1 S1 X-305 Y-305 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 S1 X-305 ; home X axis G1 S1 Y-305 ; home Y axis G1 X5 Y5 F360000 ; go back a few mm G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass) G1 S1 Y-305 ; then move slowly to Y axis endstop G90 ; absolute positioning G1 X10 Y0 F360000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed ;G1 Z0 F100; ; uncomment this line to lift the nozzle after homing
homeZ
[[language]] ; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool on Wed Dec 27 2017 18:31:34 GMT+0800 (PHT) ;M280 P7 S160 I1 ;Clear any alarm G91 ; relative positioning G1 Z7 F800 ; lift Z relative to current position G90 ; absolute positioning ;G1 X10 Y0 F6000 ; go to first probe point G30 ; home Z by probing the bed
-
Here's an irony:
I'm going to be returning my BLTouch (to amazon.) When I first installed it, 5 probes in a row at the exact same place would differ by no more than about 0.03mm. That was tolerable. (Not great, but good enough to print with a .4mm nozzle.)
After using it for less than a week, 5 readings in a row at the exact same location differ by nearly 0.2mm. At that range, my nozzle would be crashing into my glass build plate or I'd be air printing.
Tried cleaning it, verified my mounting, verified my wiring, etc. I spent hours on google, but I'm quite certain my Duet board isn't impacted by a bug in Marlin. From what I've read, some people just have issues with the BLTouch… some have luck with a replacement, others don't.
Maybe I'll reconsider the mini IR sensor.... or maybe I'll just slide pieces of paper under my nozzles every couple of days.
-
that is exactly my issue. now my offset is at 6mm. which is super weird.
-
im not sure if getting an authentic BLTouch would make a difference, im new to autolevelling so im not really sure.
i tried the NPN probe but it wont work for me as im used to glass printing.now im quite lost at it.
-
I have an original bltouch which is working fine. Here's my homez for reference:
[[language]] ; homez.g ; called to home the Z axis ; M561 ;reset bed compensation T0 ;select tool G91 ;relative coordinates M280 P3 S160 I1 ;release Z probe alarm G1 Z5 F2000 ;lower bed G4 P500 ;wait for the bed to lower G90 ;absolute positioning G1 X145 Y145 F3000 ;move to center M401 ;deploy the probe G30 ;calibrate Z-axis M402 ;Retract Probe
And the endstop part of config.g:
[[language]] ; Endstops M574 X2 Y1 S1 ; Set active high endstops M574 Z1 S2 ; Set endstops controlled by probe M307 H3 A-1 C-1 D-1 ; bltouch M558 P5 X0 Y0 Z1 H3 F250 T3000 ; bltouch G31 X-25 Y20 Z2.8 P25 ; bltouch offset M557 X15:265 Y25:275 S80 ; Define mesh grid
-
okay..so i fixed the mean error. now this is my current, i placed a debug mode on the config.g as it is weird it stops at the same place all the time.
still i am able to home with 3 of 5 the probe not alarming.[[language]] confg.g M667 S1 ; Select CoreXY mode M208 X0 Y0 Z0 S1 ; Set axis minima M208 X300 Y285 Z300 S0 ; Set axis maxima ; Endstops M574 Z0 S2 ; Set active low endstops (z end stop disabled) M574 X1 Y1 S1 ; Set active high endstops M558 P5 X0 Y0 Z1 H7 F100 T3000 ;debug mode G31 X25 Y0 Z3.31 P30 ;debug mode ;M558 P5 X0 Y0 Z1 H10 F100 T4000 ; Set Z probe type to unmodulated, the axes for which it is used and the dive height + speeds BLTOUCH ;G31 P5 X0 Y0 Z5 ; Set Z probe trigger value, offset and trigger height BLTOUCH M557 X0:300 Y0:285 S50 ; Define mesh grid
[[language]] bed.g M561 ; clear any bed transform ; Probe the bed at 4 points G30 P0 X10 Y0 H0 Z-99999 G30 P1 X10 Y265 H0 Z-99999 G30 P2 X275 Y265 H0 Z-99999 G30 P3 X275 Y0 H0 Z-99999 G30 P4 X145 Y135 H0 Z-99999 S
[[language]] ; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool on Wed Dec 27 2017 18:31:34 GMT+0800 (PHT) G91 ; relative positioning G1 Z7 F800 ; lift Z relative to current position M280 P3 S160 I1 ; Clear any alarm G1 S1 X-305 Y-305 F1800 ; move quickly to X or Y endstop and stop there (first pass) G1 S1 X-305 ; home X axis G1 S1 Y-305 ; home Y axis G1 X5 Y5 F360000 ; go back a few mm G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass) G1 S1 Y-305 ; then move slowly to Y axis endstop G90 ; absolute positioning G1 X10 Y0 F360000 ; go to first bed probe point and home Z G30 ; home Z by probing the bed
was able to have this deviation after placing the bed, then i tried to relevel the bed then i cannot get to mesh completely as it is stopping at the same point.
[[language]] RepRapFirmware height map file v2 generated at 2018-01-06 20:56, mean error 0.248, deviation 0.204 xmin,xmax,ymin,ymax,radius,xspacing,yspacing,xnum,ynum 10.00,290.00,0.00,270.00,-1.00,108.80,108.80,3,3 0.029, 0.200, 0.093 0.010, 0.435, 0.245 0.110, 0.541, 0.572
-
when it reached that spot on the bed the probe triggers an alarm..which is super weird.