Welcome! Log In Create A New Profile

Advanced

Bltouch along with Endstop

Posted by SaarNeu93 
Bltouch along with Endstop
June 12, 2021 12:25PM
Hi everybody,
I am using Duet wifi 2 and reprap comfiguration.
I want to right a macro that the printer will first make a Z home (G28 Z) with a simple endstop, which will be located in the center of the bed (with a jig). Next i will remove the jig and it will make a homing sequence again but with the Bltouch.
I connected the bltouch to "Z Probe" and the endstop to "Z stop".

Here is my config:

; Drives
M569 P4 S1                                         ; physical drive 4 goes forwards
M569 P1 S1                                         ; physical drive 1 goes forwards
M569 P2 S0                                         ; physical drive 2 goes backwards
M569 P3 S1                                         ; physical drive 3 goes forwards
M584 X4 Y1 Z2 E3                                ; set drive mapping
M350 X16 Y16 Z16 E16 I1                        ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E420.00                  ; set steps per mm
M566 X600.00 Y600.00 Z18.00 E300.00                ; set maximum instantaneous speed changes (mm/min)
M203 X10000.00 Y10000.00 Z300.00 E1200.00          ; set maximum speeds (mm/min)
M201 X5000.00 Y5000.00 Z300.00 E10000.00           ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z800 E800 I30                    ; set motor currents (mA) and motor idle factor in per cent
M84 S30                                            ; Set idle timeout

; Axis Limits
M208 X-10 Y-25 Z0 S1                               ; set axis minima
M208 X220 Y220 Z240 S0                             ; set axis maxima


; Endstops
M574 X1 Y1 S0                                      ; set active low and disabled endstops
M574 Z1 S2                                         ; set endstops controlled by probe


; Z-Probe
M307 H3 A-1 C-1 D-1                                ; disable heater on PWM channel for BLTouch
M558 P9 H5 F120 T6000                              ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X30.44 Y-9.48 Z0.825                      ; set Z probe trigger value, offset and trigger height
M557 X30.44:220 Y0:200 S30                         ; define mesh grid

; Heaters
M307 H0 B0 S1.00                                   ; disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4725 C7.060000e-8 R4700           ; set thermistor + ADC parameters for heater 0
M143 H0 S130                                       ; set temperature limit for heater 0 to 130C
M305 P1 T100000 B4725 C7.060000e-8 R4700           ; set thermistor + ADC parameters for heater 1
M143 H1 S275                                       ; set temperature limit for heater 1 to 275C

; Fans
M106 P0 S0 I0 F500 H-1                             ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45                          ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

; 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

; Custom settings are not defined

; Miscellaneous
M575 P1 S1 B57600                                  ; enable support for PanelDue
M501                                               ; load saved parameters from non-volatile memory
M911 S10 R11 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

Help please!
Thanks you all
Re: Bltouch along with Endstop
June 13, 2021 02:27AM
You are likely to get more responses if you post at [forum.duet3d.com].



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Sorry, only registered users may post in this forum.

Click here to login