BLtouch randomly decides to not work today
-
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.1 on Sun May 31 2020 21:54:40 GMT-0700 (Pacific Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"1M" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards X M569 P1 S0 ; physical drive 1 goes forwards RY M569 P2 S0 ; physical drive 2 goes backwards RZ M569 P3 S0 ; physical drive 3 goes forwards E M569 P5 S1 ; physical drive 5 goes forwards LY M569 P6 S0 ; physical drive 6 goes backwards LZ M584 X0 Y1:5 Z6:2 E3 ; set drive mapping M350 X16 Y16:16 Z16:16 E16 I1 ; configure microstepping with interpolation M92 X114.29 Y114.29:114.29 Z400.00:400.00 E420.00 ; set steps per mm M566 X200.00 Y150:150 Z12:12 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X5000.00 Y5000:5000 Z500:500 E1200.00 ; set maximum speeds (mm/min) M201 X230.00 Y230:230 Z20:20 E250.00 ; set accelerations (mm/s^2) M906 X800 Y1100:1100 Z600:600 E700 I50 ; set motor currents (mA) and motor idle factor in per cent M84 S90 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis min M208 X1400 Y880 Z900 S0 ; set axis max ; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M950 S0 C"duex.e2heat" ; create servo pin 0 for BLTouch M558 P9 C"zprobe.in+zprobe.mod" H5 F200 T10000 ; set Z probe type to bltouch and the dive height, F is dive speed, T is move speed G31 P25 X28.3 Y0 Z1.7 ; set Z probe trigger value, offset and trigger height INCREASE Z TO MOVE CLOSER TO BED M557 X50:1380 Y50:870 S70 ; define mesh grid M376 H20 ; taper off over 20mm ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" Q120 T0 ; create bed heater output on bedheat and map it to sensor 0 Q set pwm M307 H0 B0 S1.00 A137 D6.4 C1400 ; enable PID mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 A931 D7.4 C500 ; disable bang-bang mode for heater and set PWM limit ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off ; Tools M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Miscellaneous M671 X50:1480 Y440:440 S10 ; x gantry leveling M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss T0 ; select first tool M950 J1 C"duex.e2stop" M581 P1 T0 R0 S1 ;emergency stop
-
If it's still doing the startup self test then the mechanism is still functional.
If you send M401 and it doesn't deploy, and you haven't changed your config at all, that would seem to leave the wiring between the servo pin on the Duex and the BLtouch as the likely culprit.
-
@Phaedrux i just actually checked each wire individually with a multimeter and all show continuity, so i guess i can try a different servo output on my duex, maybe something happened. other than that idk, maybe the bltouch died but still self tests? i have another bltouch on my other machine, but i really dont want to take it off to rule out the bltouch unless thats my only option. and i also just double check that i have 5v and 2.5v out the end of the harness
-
Testing with another bltouch would help eliminate the possibility the touch is bad. But the self test working means it's probably not getting the signal.
Trying a different pwm pin on the duex is another good test.
Bltouch wiring is notoriously bad and responsible for most issues.
-
just tested the other bltouch and still no deploy. is there a way for me to know if the duet is physically sending the deploy signal on the pwm signal wire? should be the left pin of the three? i edited the other reply but i do have a good 2.5 and 5v to the bltouch.
and to switch pwm output i should only have to change duex.e2heat to duex.e3heat for pwm2?
-
@deltajegga Have you check the deployprobe.g file for errors? The self test will still work without deployprobe.g or retractprobe.g.
Try
M280 P0 S10 ; deploy BLTouch
-
yeah, it just does nothing, everything else is working except the deploy and retract of the probe, if i pull the probe down manually the red light turns off but there is no blue light. also i though it should flash red if you pull it down manually?
just measured signal voltage on my other printer and its yellow signal pin is at 3.33 volts, and this is at 2.5v. does this matter?
-
@deltajegga
Please check the configuration of BltouchM950 S0 C"duex.e2heat" M558 P9 C"zprobe.in+zprobe.mod" H5 F200 T10000
should be
M950 S0 C"!duex.e2heat" M558 P9 C"^zprobe.in" H5 F200 T10000
Background:
https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Software_setup_RepRapFirmware_Num_3
https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names_for_Duet_2_WiFi_Ethernet -
@DIY-O-Sphere i tried that and still no dice, i mean i dont see how that could be the issue if its been working since may. i dont fully understand how all of that is supposed to work, but it was working whit the config as is.
quick recap
-haven't touched config in months
-bltouch is confirmd good
-wire harness shows cont on all wires from duet to probe plug and a strong 5v and 2.5v to the probe
-tried changing line 57 to duex.e3heat and tried pwm2 plug on duex
-noticed that my other printer on RRF2 the signal pin is at 3.33v and this one is at 2.5v (the signal to deploy the probe, not the hall sensor signal)
-DWC2 says zprobe 0 whether i manually pull the pin down or up.
-am confused... -
@deltajegga
Maybe you should try to plug the signal pin directly to the Duet -
its been a while but you cant with the duex expansion ribbon installed correct? dont the servo wires plug into the large expansion heaader?
i should clarify that i mean the signal wire for the servo wires, not the signal for bltouch prob position.
-
@deltajegga
I'm not an expert for duex, but as far as I know, the signal for the heater is inverted. Maybe there is a defect on the board... -
-
@DIY-O-Sphere something at add, im not 100% sure, but i dont remember the leds being lit up on the duex e2,3,and4 heater teminals...maybe they were, idk. but it seem like they shouldn't be.
-
@DIY-O-Sphere connected to PWM1 on duex
-
@deltajegga
Pwm and heaters are shared on the duex -
@DIY-O-Sphere so that would make sense that the duex e2 heater led is on, but i wonder why 3 and 4 are on.
-
@deltajegga
You are shure you haven't updated firmware? On some releases you had to free up the heater channels for use with the BLtouch. -
yep, ive been printing smoothly since may.
-
@deltajegga
Maybe the jumper?
https://forum.duet3d.com/topic/10654/bl-touch-and-the-duex-5/64
Also read the first post. For me that sounds similar...