Z Probe not triggered (Solved)
-
I have recently received a new Duet Wifi (following a warranty claim on faulty stepper driver). The new card is Version 2.01
During the process of installing the new card my IR probe decided to stop working (that's another story). As I had a NIB ANTCLABS BL Touch available I decided to fit that.
Having previously tried and failed with a BLTouch I religiously followed the BeTrue Guide and also the excellent chain of help provided by Phaedrux in this thread:
[https://forum.duet3d.com/topic/7577/bltouch-not-responding-to-commands](link url)
The BL Touch is responding to all commands (Pin Up, Pin Down, Self Test etc) However, when I attempt the dynamic test in this link:
[https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe](link url), triggering the probe does not stop the Z homing movement. The Dozuki is not particularly helpful in this regard as all it says is hit emergency stop before the nozzle hits the bed. Nothing about why the movement is being stopped.About the only thing I can think of here is that I still have a deployprobe.g and a retractprobe.g in my system files. I have seen a hint that these should be removed after firmware version 1.19? but no explanation as to why.
Help please
-
deploy and retract macros need to be there for the BLTouch. The part about removing them is only in reference to probe that don't need to be deployed or retracted.
Can you post the contents of your config.g and your retract and deploy macros?
If the dynamic test is failing to stop movement would lead me to believe that it's not wired correctly, or that one of the wires isn't connected completely possibly due to bad crimp. It happens more often than you'd think. If you have a multimeter check your wires for continuity. And double and triple check that you are connected to the right places.
-
@phaedrux Forgive the shambles but here is the config.g
; Drives
;M584 x0 y4 z2 e3 ; Sets Y stepper to E1
M569 P0 S0 ; Drive 0 goes backwards
M569 P1 S1 ; Drive 1 not sure yet
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X100 Y100 Z400 E423.65 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X210 Y210 Z240 S0 ; Set axis maxima
; End stops
M574 X1 Y1 S1 ; Set active Low end stops
;BL Touch
M574 Z1 S2 ; Use Z Probe for Zmin
M557 X35:200 Y40:210 S20 ; Define Mesh Grid; Z-Probe BL Touch
M558 P9 X0 Y0 Z1 I1 H5 F120 T6000 ; Set Z Probe to type Switch or Digital output where Z probe connector is used. Used for z only.;
G31 P25 X33 Y11 Z0.0 ; Set Z probe trigger value, offset and trigger height;#########################################
;Old settings for IR Probe
;M558 P1 ; Enable Z probe but set dive height, probe speed and travel speed
;M557 X35:200 Y40:210 S20 ; Define Mesh Grid
;G31 P500 Z1.98 S20 ; Z Probe status
;########################################; Heaters
; BL Touch
M307 H7 A-1 C-1 D-1 ; Disable Heater 7 for BL TouchM307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C
M307 H4 A-1 C-1 D-1 ; Set Heater Pin 4 as Logical switch for LEDs
M307 H5 A-1 C-1 D-1 ; Set Heater Pin 5 as Logical switch for LEDs
M307 H6 A-1 C-1 D-1 ; Set Heater Pin 6 as Logical switch for LEDsM42 P6 S240 ;Turn Blue LEDs on low at machine power up
; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 (Part Cooling) Controlled by Slicer settings
M106 P1 T45 H1 ; Set fan 1 (Hot End),Go to 100% when hot end exceeds 45 degrees; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X-20 Y-10 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C;BL Touch
M280 P7 S160 I1 ;Clear error state
M402 ;Retract BL TouchPin Down Macro
M280 P7 S10 I1; Send PWM channel 7 the s10 (angle) commandPin Up Macro
M280 P7 S90 I1; Send PWM channel 7 the S90 (angle) commandWhen I send the G30 command the pin extends, blue light is on and the carriage moves towards the bed. If I touch the pin it briefly retracts and holds but then the pin drops again. The downward movement is continuous.
I have quadruple checked wiring and continuity between the board and the probe but I shall do it again. For the record White wire connects to Z Probe In, Black to Z Probe Gnd, Red to Pin1, Black To Pin 2 and Orange to Pin 31
-
@phaedrux OK have re-checked the wiring and connectivity. White wire was suspect so changed the plug. I now have the Z probe reading red highlighted with a reading of1000.
-
@pierre52 said in Z Probe not triggered:
M558 P9 X0 Y0 Z1 I1 H5 F120 T6000
You can remove the X0 Y0 Z1 as those are deprecated now. They used to say which axis was going to use a probe, but that's now handled by M574 Z1 S2, which you already have above.
Next, I think you need to remove the I1, since I don't think you need to invert the probe signal since you aren't using a Duex. This would also explain why your probe value now shows as 1000 (triggered) at startup. So I think your white wire had a bad crimp. If you remove the I1 it should work as expected.
-
@phaedrux Thanks I will give that a try in the morning. I presume you mean removing the multiple occurrences of I1.
-
@pierre52 said in Z Probe not triggered:
@phaedrux Thanks I will give that a try in the morning. I presume you mean removing the multiple occurrences of I1.
Remove the I1 from the M558 command. Leave it in the M280 commands.
-
@phaedrux A very sincere thank you for your assistance. Thanks to you and Dave I now have my printer back up and running with the the BL Touch.
I use a wide variety of electrical connectors in all sorts of environments and I would have to say that I dislike this style of crimped connector with a flaming passion. Give me a soldered connection any day.
It is also not that easy to navigate the vast amounts of knowledge available. Between different boards and Firmware versions it is easy to get confused. There are also some excellent snippets hidden in odd places. Two of the best ones I found on this little journey were the help that Phaedrux provided in the thread that I mentioned at the start.
The second was a post made by Max Nippard on the Test and Calibrate a Z Probe Dozuki. He pointed readers to the information provided in the Mesh Bed Compensation Dozuki. In particular, he directed me to the M208 command for temporarily moving the Z height below zero. IMHO this should be front and center in the Test and Calibrate a Z Probe section.
Again thanks to all