BLTouch Probe Won't Deploy
-
-
@fcwilt
Thank you very much for the reply!That seems to contradict the statement made in the M280 GCode Dictionary
"RRF3: Before you can use M280 you must create a GPIO port using M950. Then in the M280 command, the P parameter is the GPIO port number, not the logical pin number. Duet 2 supports up to 10 GPIO ports, numbers 0 to 9. No GPIO ports are allocated by default."
Am I looking at this the wrong way?
Furthermore, when I put
M280 P"0.io4.out" S10
in the Console, the probe deploys.Is there something that I am not considering?
-
@charlie said in BLTouch Probe Won't Deploy:
when I put M280 P"0.io4.out" S10 in the Console, the probe deploys.
I checked the source, the P parameter reads the expression after P as integer, so P0 is read. The part after 0 is ignored.
-
@charlie said in BLTouch Probe Won't Deploy:
That seems to contradict the statement made in the M280 GCode Dictionary
Is there something that I am not considering?
No, the docs are simply confusing things by using two different terms (servo index, port number) for the same thing.
It not unusual to find the docs are a bit wonky in certain regards.
As to the other question regards the M280 working it as been explained by another poster.
Frederick
-
@charlie said in BLTouch Probe Won't Deploy:
you must create a GPIO port using M950. Then in the M280 command, the P parameter is the GPIO port number
Is that confusing? You must create a port number with M950 and then M280 uses that port number. What do you suggest to make it more clear?
It even shows examples
-
@joergs5
Thank you for your response. That's good to know. I changed the deployprobe0.g file toM280 P0 S10 ; Set servo position. ; P (Servo index): 0.io4.out (Mainboard, io4.out). ; S (Servo angle): 10.
anyway, to avoid making the same mistake that I made between the GPIO port number and logical pin number.
The issue persists with this modification.
-
@fcwilt
Okay, that explains why theM280
command worked even though I messed up theP
value.With that said, Im still having issues deploying the BLTouch probe when homing the Z axis. The
M280 P0 S10
andM401
commands successfully deploy the probe. -
@charlie one issue in your config.g is, that the speeds are very low:
M203 S1 X300.00 Y300.00 Z15.00 E20.00
S1 does not exist for M203, so the speeds are mm/min, so e.g. Z is only 0.25 mm/s. So your probing might run into a timeout. Please use higher values. I would take the values of the documentation of M203: https://duet3d.dozuki.com/Wiki/M203
BUT: does Voron has a specific firmware, where S1 is valid? Then the firmware could be a reason for your problem, but I don't know how to help then. Which tool did you use to create the config file? Marlin and Slic3rPR use mm/s, but RRF use mm/min.
-
@joergs5
I assumed based on Duet3D Changelog: RepRapFirmware 3.3"The M203 command now supports an optional S1 parameter which changes the units to mm/sec. The default is still mm/min."
The X, Y, and Z homing speeds appear to be the same speed as I had before the change to S1. The probe just doesnt deploy during the Z homing step.
-
@charlie then sorry, it is not in the documentation yet.
I proceed searching for a possible reason...
-
@charlie homing is often made by homeall.g, can you please post it, and homex.g and homey.g also?
How do you home Z: individually X, Y, Z or together in one step?
-
@charlie said in BLTouch Probe Won't Deploy:
The X, Y, and Z homing speeds appear to be the same speed as I had before the change to S1. The probe just doesnt deploy during the Z homing step.
There are parameters to M558 to control probing speeds (travel and probing) including the ability to specify two probing speeds.
As another poster has mentioned you didn't post homeall.g which may well be why we didn't spot the problem.
Frederick
-
No worries. I greatly appreciate your willingness to help!
In this case, I am homing X, then Y, then Z. With that said, the issue also occurs using the "Home All" button in DWC.
-
@charlie said in BLTouch Probe Won't Deploy:
No worries. I greatly appreciate your willingness to help!
In this case, I am homing X, then Y, then Z. With that said, the issue also occurs using the "Home All" button in DWC.
So homing just Z with the DWC Home Z button does not work? Just want to be sure I understand what is happening.
Frederick
-
homex.g
; Voron. ; 0:/sys/homex.g ; Called to home the X axis via G28 X. ; 2020/10/24/20:00 G91 ; Set axes (not extruders) to relative positioning mode. G1 H2 Z5 F6000 ; Lift Z relative to current position. G1 H1 X355 F6000 ; Move quickly to X endstop (1 of 2 passes). G1 H0 X-3 F6000 ; Move away from X endstop. G1 H1 X10 F360 ; Move slowly to X axis endstop once more (2 of 2 passes). G1 H2 Z-5 F6000 ; Lower Z relative to current position. G90 ; Set axes (not extruders) to absolute positioning mode.
homey.g
; Voron ; 0:/sys/homey.g ; Called to home the Y axis via G28 Y. ; 2020/10/24/20:01 G91 ; Set axes (not extruders) to relative positioning mode. G1 H2 Z5 F6000 ; Lift Z relative to current position. G1 H1 Y360 F6000 ; Move quickly to Y endstop (1 of 2 passes). G1 H0 Y-3 F6000 ; Move away from Y endstop. G1 H1 Y10 F360 ; Move slowly to X axis endstop once more (2 of 2 passes). G1 H2 Z-5 F6000 ; Lower Z relative to current position. G90 ; Set axes (not extruders) to absolute positioning mode.
homeall.g
; Voron. ; 0:/sys/homeall.g ; Called to home all axes via G28. ; 2020/10/24/21:00 G91 ; Set axes (not extruders) to relative positioning mode. G1 H2 Z5 F6000 ; Lift Z relative to current position. G1 H1 X355 Y360 F6000 ; Move quickly to X or Y axis endstop and stop there. G1 H1 X355 F6000 ; Move quickly to X endstop and stop there. G1 H1 Y360 F6000 ; Move quickly to Y endstop and stop there. G1 H0 X-3 Y-3 F6000 ; Move away from X and Y endstops. G1 H1 X10 F360 ; Move slowly to X endstop once more. G1 H1 Y10 F360 ; Move slowly to Y endstop once more. G90 ; Set axes (not extruders) to absolute positioning mode. G1 X175 Y151.5 F6000 ; Move X and Y axes so the Z probe is at the center of the bed. M558 F600 H2 A1 ; Set Z probe. Feed rate: 600 mm/min. Dive height: 2 mm. Times to probe: 1. G30 ; Z probe quickly (1 of 2 passes). M558 F120 H5 A1 ; Set Z probe. Feed rate: 120 mm/min. Dive height: 5 mm. Times to probe: 1. G30 ; Home Z by probing the bed slowly (2 of 2 passes).
-
@charlie you may need to exchange the order or M950 and M558:
in the M950 documentation https://duet3d.dozuki.com/Wiki/M950 :
"M950 must come before any commands that refer to the device being created."
So M950, then M558 which uses the servo part of BLTouch.I am not sure about this. In the examples I know, M950 is first, M558 next, but the two commands don't have a reference to each other. But it's worth a try. M558 may expect to know the M950 values.
-
@fcwilt
That is correct. Homing just Z doesnt work.It also doesnt work if I use "Home All".
-
@charlie said in BLTouch Probe Won't Deploy:
@fcwilt
That is correct. Homing just Z doesnt work.It also doesnt work if I use "Home All".
OK let's take the homing code out of the picture.
Can you reset the printer and successfully home X and Y?
Frederick
-
@charlie a last additional idea: M208 has Z minimum 0 and the BLTouch starts at 3 mm height. It may be that it cannot probe below 0 because of M208. This was changed in 3.4 somewhere if I remember correct, but if you use 3.3 firmware, it may be a try to set the M208 Z limit below 0.
-
@fcwilt
Im assuming that "reset" means sending anM999
command, or powering off the duet. In that case, X and Y works wonderfully when I home them individually. Furthermore, the X and Y portions of the Home All function work as intended as well.