Upgrading to Reprap 3.0, BLTouch, Duetwifi + Duex5 issues
-
I am throwing in the towel and seeking help, I have been struggling with this the entire day and I still cant get the probe to deploy or selftest, I have tried rewireing and even putting on a newer bltouch (2.0) I had from another machine. I had really old firmware on this printer, 1.17 and I am trying to bring myself up to date.
I have tried many different ways of doing the commands from various sources but I think what I have currently should be the correct way (but obviously not)
I think I have most of my firmware issue solved but if you see anything else in my code that is wrong please let me know but mostly focusing on the touch right now.
Thanks for all you help, here are my files
; BigBox v1.1 3D printer Dual hybrid Titan Paneldue Configuration file ; Communication and general ------------------------------------------------------------------------------------------------------------------------------- M111 S0 ; Debug off M550 BigBox ; Machine name (can be anything you like) M551 2755 ; Machine password (used for FTP connections) ;*** All Duets must all have different MAC addresses, so change the last digits M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address ; Wifi Networking ----------------------------------------------------------------------------------------------------------------------------------------- M552 S1 ; Enable WiFi M555 P2 ; Set output to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue ; Axis to driver mapping -------------------------------------------------------------------------------------------------------------------------------------- M584 X0 Y1 Z2 E3:4 ; X, Y, Z and two E M569 P0 S1 ; Drive 0 | X stepper M569 P1 S0 ; Drive 1 | Y Stepper M569 P2 S0 ; Drive 2 | Z Steppers M569 P3 S1 ; Drive 3 | Extruder T0 M569 P4 S1 ; Drive 4 | Extruder T1 ; Axis and motor configuration ----------------------------------------------------------------------------------------------------------------------------------- M350 X16 Y16 E16 I1 ; Set 16x microstepping with interpolation M906 X800 Y700 Z800 E1000:1000 ; Set motor currents (mA) and increase idle current to 60% M201 X800 Y800 Z100 E1000 ; Accelerations (mm/s^2) M203 X15000 Y15000 Z360 E3600 ; Maximum speeds (mm/min) M566 X600 Y600 Z30 E20 ; Maximum jerk speeds mm/minute M208 X295 Y240 Z295 ; Set axis maxima (adjust to suit your machine) M208 X-30 Y0 Z-1.35 S1 ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed) --M208 X0 Y0 Z-0.2 S1 M92 X160 Y360 Z1600 ; Set axis steps/mm M92 E415.7:430.41 ; Set extruder steps per mm G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Endstops and probes ------------------------------------------------------------------------------------------------------------------------------------ M574 X1 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop ; Z probe------------------------------------------------------------------------------------------------------------------------------------------------------- ;M307 H3 A-1 C-1 D-1 ; Reserve pin 21 for servo use ;M558 P4 X0 Y0 Z1 H2 F180 T4000 ;G31 X-27.4 Y-3.6 Z1.65 P25 ; Set the probe height and threshold; increase Z to decrease bed probe distance X-17 Y7 Z1.65 M950 H3 C"nil" ; Disable heaters h7 to free up pins M558 P9 C"^zprobe.in" H10 F800 T2000 ; set Z probe type to bltouch and the dive height + speeds M950 S0 C"exp.heater3" G31 X-27.4 Y-3.6 Z1.65 P25 ; Set the probe height and threshold; increase Z to decrease bed probe distance X-17 Y7 Z1.65 ;M557 X15:260 Y10:190 S3 ; define mesh grid ; Thermistors and heaters --------------------------------------------------------------------------------------------------------------------------------------- ; ***Bed*** M308 S0 P"bed_temp" Y"thermistor" B4388 T100000 R4700 A"Bed" ; Bed Thermistor M950 H0 C"bed_heat" Q100 T0 ; Bed. H = Heater 0, C is output for heater itself, T = Temperature sensor (defined above) M143 H0 S115 ; Set maximum temperature for bed to 115C M140 H0 ; map heated bed to heater 0 M307 H0 S1.0 B0 ; Disable bang-bang mode for the bed heater and set PWM limit ; ***Tool 0 *** M308 S1 P"spi.cs1" Y"rtd-max31865" R395 F60 A"HE1" ; Tool 0 as a PT100 sensor in the first position M950 H1 C"e0_heat" T1 ; Heater for extruder out tool 0 M143 H1 S300 ; Set maximum temperature for hotend to 300C M307 H1 S1.0 B0 ; ***Tool 1 *** M308 S2 P"spi.cs2" Y"rtd-max31865" R395 F60 A"HE2" ; Tool 1 as a PT100 sensor in the second position M950 H2 C"e1_heat" T2 ; Heater for extruder out tool 1 M143 H2 S300 ; Set maximum temperature for hotend to 300C M307 H2 S1.0 B0 ;*** You can use S and B parameters to define the parameters of the thermistors you are using ;M301 H1 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 0 ;M307 H2 A452.0 C224.9 D8.6 ; PID settings for extruder 1 ; Fans ------------------------------------------------------------------------------------------------------------------------------------------------ ; ***Fans for hot end cooling*** M950 F1 C"fan1" M106 P1 S255 H1 T45 ; Set temp for H1 fan start M950 F2 C"fan2" M106 P2 S255 H1 T45 ; Set temp for H2 fan start ; ***Fans for print cooling*** M950 F3 C"fan3" M106 P3 F10 C"PrintCooling" ; Fix for Bigbox Blower ; Tool definition -------------------------------------------------------------------------------------------------------------------------------------------------- ;M563 P0 S"Tool 1" D0 H2 F3 ; Define tool 0 ;G10 P0 X-27.4 Y-3.6 Z-0.35 S0 R0 ; Set tool 0 operating and standby temperatures ;M572 D0 S0.025 ; Set pressure advance on M563 P1 S"Tool 2" D1 H2 F3 ; Define tool 1 G10 P1 X38.8 Y-4.0 Z-0.05 S0 R0 ; Set tool 1 operating and standby temperatures old X37.2 Y0.0 ;M572 D1 S0.1 ; Set pressure advance on M556 S78 X0 Y0 Z0 ; Axis compensation here M140 S0 ; Set bed heating to off G29 S1 ; Read bed calibration. ( un-comment AFTER bed leveling has been done... and all coordinate are checked in scripts... trust me on that...) ;T1 ; Set Tool1 Active
; Deploy Probe M280 P0 S10 ; send control signal to BLTouch through servo/gpio 0
; Retract Probe M280 P0 S90 ; send control signal to BLTouch through servo/gpio 0
config.g
deployprobe.g
retractprobe.gMacros ;Deploy Probe M401 ; Reset Probe M280 P0 S160 ; Retract Probe M402 ; Run Probe Self Test M280 P0 S120
-
I solved it, didnt read enough... The Duex5 inverts the signal depending on how you name the pin in firmware...
The spam bot wont let me change the first post anymore I guess"Sometimes a pin has multiple names.
Example:
"exp.heater3"
"exp.8"
"duex.e2_heat"
"duex.pwm1"
These four all refer to the heater3 pin, either on the expansion connector (where it is pin #8 of 50) or on the heater output terminal block of a DueX2 or DueX5. However, there is a difference. The DueX boards buffer and invert the signal. Therefore, when you use one of the forms prefixed with duex the firmware knows it has to invert the signal, but it doesn't invert it if you use one of the other forms. In contrast, when you referred to logical pin 3 in previous versions of RRF, the firmware always inverted the signal - so if you were driving a servo or BLTouch from this pin you would have needed to use the I1 parameter in your M280 command."