Gcode for test BlTouch
-
In forum, I have read this
The M558 F parameter controls the speed of probing, and the T parameter controls the speed of travel moves between probe points.
This can solve my issue?
Its for calibration or/and compensation? -
Regards,
I expose here my reasoning about configuring Zprobre BlTouch in Duet, so you can tell me which ones are wrong …
Starting points
1- My BlTouch, is the v2, Smart version, and I have cut back to transform it 3.3V
2- I made the connections between BlTouch and Duet Wifi, according to the scheme, which I attach.
3- The BlTouch sensor I think works correctly, because when I send the code "G30 S-1" by console, the head starts to descend, until I put an obstacle
4- Accustomed to in DUET WEB INTEFACE, see the value of ZProbe when it was close to an object. I find it strange not to read any value. This is normal?Things that DO NOT work.
A- When I give the order, by DUET WEB INTERFACE, of autocalibracion. The head drops very fast, I think too much, and hits the bed. (Luckily I put a metal plate …)
B- At that moment I cut the current, I do not trust to continue with the autocalibration. But it seems to me like I'm going to look for another point.Theory of why they can be:
A- David, tells me that it may be that he misses the values of M665, where is the geometric configuration of the printer, I doubt that is that, since, although it may have inaccuracies, are taken from the group of Facebook, Tevo Little Monster Duet
B- To reduce the speed, I think excessive, with which the head low to start calibrating. Would it be sufficient to include parameter F500 on line M558, of config.g?
C- There is a parameter, on line M558, of config.g, which may also have the key:
1- The parameter H, which defines where the firmare thinks the bed is, according to David I have to upload it to about 40mm to start, then reduce it.
D- If I adjust G31 Z (Distance between nozzle tip and extended BlTouch)Please, comments
-
Hi,
I update with new tests….
I have edited M558 line:
[[language]] M558 P5 X0 Y0 Z0 H22 F120 T600 ```A- The speed T600 much, much better B- I have raised H until H40, and test calibrate, nozzle down (slow T600) and when isfar from bed, stops to go down, and go, to, suppose first point of calibration, after second, and so on…. But how ir far from bed.... nothing C- I have go down H, in steps, until BlTouch, arrives to bed... but when BlTouch arrives to bed, nozzle dont Stops, and head crass. And another one: Yesterday, the gcode G30 S-1, works, after these changes, i recive this message.... [c]Error: Z probe already triggered at start of probing move, and probe its not triggered, and pin is downs. [/c] Think i am close….but....not in place... Tips please
-
Hi,
I update with new tests….
I have edited M558 line:
[[language]] M558 P5 X0 Y0 Z0 H22 F120 T600 ```A- The speed T600 much, much better B- I have raised H until H40, and test calibrate, nozzle down (slow T600) and when isfar from bed, stops to go down, and go, to, suppose first point of calibration, after second, and so on…. But how ir far from bed.... nothing C- I have go down H, in steps, until BlTouch, arrives to bed... but when BlTouch arrives to bed, nozzle dont Stops, and head crass. And another one: Yesterday, the gcode G30 S-1, works, after these changes, i recive this message.... [c]Error: Z probe already triggered at start of probing move, and probe its not triggered, and pin is downs. [/c] Think i am close….but....not in place... Tips please
In the Z probe reading box in Duet Web Control, are you getting a reading of 1000 all the time? If so then the BLTouch black and white wires are not connected to the Z probe connector correctly.
-
Hi,
I am not In home now, later try.
These can explain that gcode [c]G30 s-1[/c] works and calibration for web interface fault?
-
What are the numbers I have to see in DUET WEB CONTROL/Zprobe, when:
- Bltouch is triggered
Or - Bltouch is released
In this moment, I can read 1000 when is triggered, with Grey background
- Bltouch is triggered
-
The value when not triggered should be 0 if it is connected correctly. You definitely do not need I1 in the M558 command for bltouch. The bltouch produces only a short pulse when it triggers, so you probably won't see a different value when it triggers. If you are lucky, you might see it rise above zero sometimes when it triggers.
-
Still no work….
Why when send by console [c]G30 S-1[/c], and out and obstacle, paper, bltouch triger, and stops….
But when send the [c]Calibrate by DWI[/c], dont stops????If when i send [c]G30 S-1[/c], the head stops…. must be a configuration issue?
BlTouch its working well, no? -
Lets thinking….
if it was working correctly, what should the printer do?
1- Homing
2- The Nozzle goes down to find the bed, at a speed T600 (in this case)
3- When BlTouch touches the bed, the Nozzle stops going down, and goes up. How much does it rise?
4- It moves horizontally to the next point defined in bed.g.
5- Go back down, until the BlTouch plays ....
and this process for all points in bed.g ....It would be like this?
which can cause the head to NOT stop going down when the BlTouch is playing? Assuming it is working, since the G30 S-1 command worksIs there any other way to prove that the BlTouch works?
There was not a form of relative movement, which stopped when the BlTouch (ZProbe) was activated ??? -
Maybe this helps you.
This are my config.g lines for bltouch[[language]] M307 H7 A-1 C-1 D-1 ; disable heater7 free it up for pwm control for bltouch M558 P5 X0 Y0 Z1 H3 F100 T500; Set Z Probe to type Switch or Digital output where Z probe connector is used. Used for z only. ; bltouch G31 P25 X0 Y-15 Z1.00 ; Set Z probe trigger value, offset and trigger height - bltouch M557 X5:205 Y5:205 S20 ; Define mesh grid M376 H3.0 ; taper of height compensation above this mm value
This is my home.z:
[[language]] ; Lift Z relatively to current position G91 G1 Z5 F1000 ; Back to absolute positioning - mid of bed G90 G1 X105 Y120 F3000 ; Move Z down until the switch triggers G30 ; Uncomment the following lines to lift Z after probing ;G91 G1 Z5 F100 ;G90
-
Maybe this helps you.
This are my config.g lines for bltouch[[language]] M307 H7 A-1 C-1 D-1 ; disable heater7 free it up for pwm control for bltouch M558 P5 X0 Y0 Z1 H3 F100 T500; Set Z Probe to type Switch or Digital output where Z probe connector is used. Used for z only. ; bltouch G31 P25 X0 Y-15 Z1.00 ; Set Z probe trigger value, offset and trigger height - bltouch M557 X5:205 Y5:205 S20 ; Define mesh grid M376 H3.0 ; taper of height compensation above this mm value
This is my home.z:
[[language]] ; Lift Z relatively to current position G91 G1 Z5 F1000 ; Back to absolute positioning - mid of bed G90 G1 X105 Y120 F3000 ; Move Z down until the switch triggers G30 ; Uncomment the following lines to lift Z after probing ;G91 G1 Z5 F100 ;G90
Thanks, later try, now i am not in home, and give feedback
-
Sachin, one question of your config…
You have in config.g, this line
[[language]] M558 P5 X0 Y0 Z1 H3 F100 T500;
Z… Is the distance between, nozzle and Bltouch... When is deployed? No, in your config... You have Bltouch deployed under nozzle 1mm. No?
-
In firmware 1.19 and earlier, Z1 in the M558 just means that the Z probe is used in lieu of a Z endstop switch. In firmware 1.20 and later it is ignored, because that option is set in M574 instead. But in fact it isn't necessary to tell the firmware to substitute the Z probe for the Z endstop switch at all, assuming you set up your homing files correctly to use G30 to do Z homing.
The Z probe trigger height is set in the G31 command.
-
I have installed firmware 1.20….
Whats the correct configuration.g?
Someone using Bltouch, and firmware 1.20, can post his working configuration?
-
The configuration that Scachi posted should work with 1.20 too.
-
I suspect that the problem may be in the file bed.g, which makes me think that:
A- The BlTouch sensor, now, seems to work correctly, when I turn on the printer it does the initial test
B- If you send the gcode G30 S-1 via a console, it seems to execute it well.So….
When by DWI, you send the autocalibrate order ... it is supposed to make the orders contained in bed.g. Do not?
When you send the order to use the mesh compensation ... It does not depend on what you put in bed.g, but on order M557 in config.g. DO NOT?Someone, that have a Delta and uses BlTouch, can post his [c]bed.g[/c]
-
News….
I try to make a [c]bedcompesation[/c], and partial works, with the next behavoir:
1- Nozzle go down, a bit slow, but go down….
2- With Nozzle is near bed, aprox 30 mm, slow, VERY SLOW.
3- With BlTouch, reach bed... MAGIC, WORKS. Retract, and Nozzle go up.
4- Go to the next point... and here start the problems, de BlTouch, NO re Deploy.Why?
And why bed compenstation works, or semi works, and calibration NO works, nothing?
Ideas?
-
eeee…..
i think i have it.... not sure.
Dc42.... if someone, has put the files deployprobe.g and retractprobe.g.... in dir [c]\macro[/c]…. maybe.... and only maybe, can be the cause of behavoir descrived in previous post?