BL-Touch and the Duex 5
-
@justd it saying that it is already triggered makes me think the probe signal needs to be inverted.
Does the web interface indicate 0 or 1000?
Can you try adding I1 to M558?
If that doesn't work tomorrow I'll try to duplicate your exact setup myself on the test bench.
-
Does the BLTouch run its self test when you power on the Duet? If it doesn't then perhaps it's not getting 5V power.
-
@Phaedrux: Web-Interface show´s 1000
But.. If I test your suggestion.. with i1 at M558.. the Value at WEB-interface is 0
@DC42: No selftest at power on, no Light.. nothing.... The original in the Mashine.. and the spare ... no function.
I try to messure with a mulltimeter.. the 5V.. at the DUEX.. no 5V.. no 3.3V.Thats what I mean.. is there any Jumper who should be set up?
-
@DC42 at a DUEX5 is there always 5V power at the PWM´s?
Or only if the Chanel is called?I checked now.. the general Power at the DUEX... I use the GPIO-Pin.. GND - 5V and 3.3V.. it´s all OK.. 5V and 3.3V are OK at this point.
But If I messure between GND (GPIO) and 5V at any PWM-Channel.. I get only 0.1VHmm.. any Idea whats going on there?
OH.. I check the Board-Layout.. and see.. the Jumpers at the Endstop-Voltage-Select is at 3.3V set.
Is it save for the Board and the BLTouch, if I switch it to 5V?My origin BLT who´s in the printer, is the newest on.. (normaly with 3.3V & plastic-pin), but the spare is a little older with Alu-pin and 5V.
But I´m wondering, that at the 5V-Pin nothing is to messure at the PWM-channel.. egual wich Channel....hmm.
-
No Ideas.. no hints for me?
-
New Info´s.. I found something out..
I read this Thread..
https://forum.duet3d.com/topic/10978/bltouch-isn-t-working-after-change-to-duex-5and test it at my configuration...
And I see..
If I start my Z-Axis for Probing.. my Heater 6 is going on (the LED).. hmm.. But What PWM is this Heater corresponding?I changed my Config.g to this
M307 H7 A-1 C-1 D-1 ; Disable heater 7 to free up PWM channel 5 on the Duex board.
M307 H6 A-1 C-1 D-1 ; Disable heater 7 to free up PWM channel x on the Duex board.Restart and I see.. no light goes on.. at Heater 6.. and If I start Homing Z, the Z-Axis go´s up.. to 0.. but.. the BLTouch have no light.. and no Pin-Down.. so it´s clear.. Z-Axis never stop..
There is still no light on at the BLTouch.. hmm..Now my question:
- How can I see, Wich Heater corresponding wich what PWM-Channel?
- and how can I check this with G-Codes?
- At what time-step does the 5V-Pin have 5V?
Ups .. strange. very strange!
After I try something with the Parameters and Heaters...
from M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1
to M558 P5 H5 F500 T9000 X0 Y0 Z1:U1:V1:W1
or M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1
and M558 P9 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1
and back to M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1Is not the same reaction as before...
Now .. the heater LED is on, If I try to start a Probe... but the BLTouch-LED is off.. and no deploy... .. means no pin down or selftest.. nothing.He Guy´s.. please help me.. I´m stucking.. with this one Point.. and I have no Idea at the moment.
-
@justd said in BL-Touch and the Duex 5:
After I try something with the Parameters and Heaters...
from M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1
to M558 P5 H5 F500 T9000 X0 Y0 Z1:U1:V1:W1
or M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1
and M558 P9 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1
and back to M558 P5 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 I1The M558 P and H values have nothing to do with the servo and heater pins.
M558 P is the probe type. BLtouch should use P9.
M558 H is the dive height for the probe to use when probing. 5 to 10mm is normal.M307 H7 targets the heater 7 pin, and would mean the M208 servo command would use P7.
-
Oh Phaedrux.. thank you for explanation..
Ohh.. I see.. at the WiKi.. what H5-10 means... OK.. Thank you.Is it right.. M307 H6 targets the heater 7Pin (E5) could be used in M208 P6 and is PWM4?
Is that the logic behind?Hmm.. and why is the LED on at H7.. and no 5V at PWM5 or PWM1?
-
@justd said in BL-Touch and the Duex 5:
H7 means.. the difference between end of Nozzle and end of BLtouch?
M558 H7 would mean that the print head would lift up 7mm before going back down to trigger the probe. It's to ensure there is enough clearance for a good probe result.
@justd said in BL-Touch and the Duex 5:
Hmm.. and why is the LED on at H7.. and no 5V at PWM5 or PWM1?
I don't know anything about that unfortunately.
Were you able to test the BLTouch connected directly to the Duet without the Duex connected at all? Making sure to change the configuration for that setup.
-
It´s not so easy, to deconnect the DUEX. .and test the BLTouch.. Why?
I have 3 independent Z-Axis.. and so.. the SW detects, it´s no Z-Engine connected.. .or not?
I use no original Z-Axis.. only at Duex. -
I just want to verify that the BLTouch actually works at all. Since it isn't responding at all and you think you have the wiring correct then I wonder if the probe is faulty.
You say you have another BLTouch, but have you tried connecting it?
-
Yes.. directly.. If I connect only with Duet.. then the BLTouch have at startup a selftest.. and the LED is ON.. the Pin goes down und up...
Thats OK..
But with DUEX.. notWhat did this mean??
As answer to above..: Yes I connected the spare.. to the DUEX.. and the sam Result.. no function at power on.
I also checked the Flat-Cable between Duet and DUEX.. it´s OK.
Is it normaly, if the H7 is free up with the M307 that the LED for Heater7 is still on If I start a M208?
-
@justd said in BL-Touch and the Duex 5:
Is it normaly, if the H7 is free up with the M307 that the LED for Heater7 is still on If I start a M208?
I don't know.
But at least we know the BLTouch is alive.
Now the question is are you sure the wiring is correct for when connecting to the Duex.
-
Hmm, The Check the Flat-Cable with a multimeter.. and it´s all OK.. if the Pin 1 is 5V and pin2 is GND at the DUEX...
Power-connection.. .. yes.. the Z-Axis (drive 5-7) and Extruder at Drive 8 running well.. and I´m absolutly shure.. I connected the 24V from the Duet correct at the DUEX.
or is there any Jumper to set, if I use the Duex with 24V instead of 12v?At my picture above, you can see teh connection of the spare BLTouch.. if this is OK.. then this is also rigth.
Anything forgotten?
I´m open for anything.. -
This weekend I should be able to find some time to duplicate a BLtouch on Duex configuration.
Until then I'm all out of ideas.
-
Oh Thank you for your Help.. . I search many thing on Google.. with Duex & BLTouch.. not really new things
I also think about .. maybe it is possible the complete Duex... or a voltage regulator is damaged.. who knows..
But otherwise.. the complete.. no.. driver 5-8 are running perfectly..hmm. strange .. very strange.
I´m all of edge.. what is the reason for this. -
Does anyone have had a similar problem with the PWM´s?
-
It sounds to me that the BLTouch isn't getting +5V from the DueX. Have you checked that you have connected it correctly?
-
15 times I checked it.. (see the pic a little above, with a spare BLTouch direct connected)
Yes.. what I´m wondering... I can´t messure the 5V at the Duex5Is the Board partial damaged??? .. But this sounds strange for me... because all other functions are running.
I think I start a Test with Fans.. or so.. to check if the Problem bigger or not.
-
I found with search funktion this Thread... very interesting for me.
https://forum.duet3d.com/topic/6876/bltouch-on-fan-or-heater-pins-on-duet-wifi/5So I tested it.. and now.. the BLTouch has power.. thats OK and LED is going on.
But only at the first power on, the BLTouch doing a selftest.. pin-down and pin-up.After I change the configuration as described, no function.. no more pin-down and no selftest.
But if I start a command, the BLTouch is directly blinking all the time.What about the:
M558 P9 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 ; Set Z probe type 9 to bltouch (P5 as Betrue3D) and the heater (7) height + speeds (+ B1)
Or should it change to
M558 P9 P22 F500 T9000 X0 Y0 Z1:U1:V1:W1 ??I Do so.. and I´m able to start Macro´s and the BLTouch is going up and down. (M280 P22 I1 S10 / M280 P22 I1 S90)
But Alarm rest + Pinup didn´t work now (M280 P22 I1 S160)Maybe you have here a solution for me?
Here may Config:; Mapping of Driver for X,Y, Z1-3, E1-3
M584 X0 Y1 Z5:6:7 U5 V6 W7 E3:4:8 ; three Z motors connected to driver outputs 5, 6 and 7 (U,V,W), driver 8 for E2
M667 S1 ; Select CoreXY mode; BLTouch - Heater 7
;M307 H7 A-1 C-1 D-1 ; Disable heater 7 to free up PWM channel 5 on the Duex board.
M106 P2 I-1 ; Disable Fan2 Duet to free up PWM channel 22 on the Duex board.; Define the X and Y coordinates of the leadscrews.
; Must come after M584 (Set drive mapping), M667 (Select CoreXY Mode) and M669 (Choosing Kinematics type)
; Motor order: Front right (1), front left (2), rear center (3).
; Snn Maximum correction in mm to apply to each leadscrew (optional, default 1.0)
;
M671 X0:320:162 Y0:0:320 S3; Drives
M569 P0 S0 ; Drive 0 goes backwards X
M569 P1 S0 ; Drive 1 goes backwards Y
M569 P3 S0 ; Drive 3 goes backwards E0 (E1)
M569 P4 S0 ; Drive 4 goes backwards E1 (E2)
M569 P5 S0 ; Drive 5 goes backwards Z1/U
M569 P6 S0 ; Drive 6 goes backwards Z2 V
M569 P7 S0 ; Drive 7 goes backwards Z3 W
M569 P8 S0 ; Drive 8 goes backwards E2M350 X16 Y16 Z16:16:16 U16 V16 W16 E16:16:16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z800:800:800 U800 V800 W800 E93:93:93 ; Set steps per mm
M566 X900 Y900 Z12:12:12 U12 V12 w12 E120:120:120 ; Set maximum instantaneous speed changes (mm/min)
M203 X12000 Y12000 Z800:800:800 U800 V800 w800 E1200:1200:1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z300:300:300 U300 V300 W300 E250:250:250 ; Set accelerations (mm/s^2)
M906 X950 Y950 Z1800:1800:1800 U1800 V1800 W1800 E950:950:950 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 U0 V0 W0 S1 ; Set axis minima
M208 X324 Y324 Z355 U355 V355 W355 S0 ; Set axis maxima; Endstops
M574 X1 Y2 S1 ; Set X=low end Y= high end active high endstops; Z-Probe
M574 Z1 S2 ; Define Z1 to use Probe at low End. Home to Min. S2 = Z probe
; M558 P9 H7 F500 T9000 X0 Y0 Z1:U1:V1:W1 ; Set Z probe type 9 to bltouch (P5 as Betrue3D) and the heater (7) height + speeds (+ B1)
M558 P5 P22 F500 T9000 X0 Y0 Z1:U1:V1:W1 ; Set Z probe type 5 at bltouch (P5 as Betrue3D) and the FAN2-PWM height + speeds (+ B1)
; G31 P25 X+33 Y0 Z0.894 ; Set Z probe trigger value (1-25, not 500), offset and trigger height (3fach-PH noMixing)
G31 P25 X+26.4 Y15.8 Z0.894 ; Set Z probe trigger value (1-25, not 500), offset and trigger height (Diamond-org)
M557 X45:325 Y25:325 S30 ; Define mesh grid; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0 (Bed)
M143 H0 S125 ; Set temperature limit for heater 0 to 125C
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1 (Nozzle)
M143 H1 S285 ; Set temperature limit for heater 1 to 285C
;M140 S35 ; set Bed-Temp to 35C at Starttime; Fans
M106 P0 S0.5 I0 F500 H1 T105 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P1 S1 I0 F500 H1 T105 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
;M106 P2 S0.3 I0 F500 H1 T105 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on / (off=H-1)But for a first Result.. the BLTouch working now... LED is on.. Z-Axis stop at BLT is triggering.. great..
Last point seem so... the Alarm + PinUp still didn´t work .
I don´t know why?Z-Probe-Type 9 didn´t work at my printer.. only 5.