How deploy BlTouch in calibration



  • Hi,

    i am playing wih BlTouch, give them another try…. and think i am in the way, but....

    When i order autocalibration for DWC, nozzle goes down, with two things:

    1- (Most Important)- If BlTouch is Retracted, dont deploy, and its deployed, after first point dont deploy
    2- When start to probing points, it start to probe a little high.

    BED.G

    [[language]]
    ; bed.g
    ; called to perform automatic delta calibration via G32
    
    M561                            ; clear any bed transform, otherwise homing may be at the wrong height
    G28                             ; home the printer
    M401				; deploy the Z probe
    
    ; bed.g file for RepRapFirmware, generated by Escher3D calculator
    ; 16 points, 6 factors, probing radius: 140, probe offset (0, 0)
    ; bed.g file for RepRapFirmware, generated by Escher3D calculator
    ; 16 points, 6 factors, probing radius: 125, probe offset (0, 0)
    
    G28
    G30 P0 X-67,5 Y117 Z-9999 H0
    G30 P1 X67,5 Y117 Z-9999 H0
    G30 P2 X135 Y0 Z-9999 H0
    G30 P3 X67,5 Y-117 Z-9999 H0
    G30 P4 X-67,5 Y-117 Z-9999 H0
    G30 P5 X-135 Y0 Z-9999 H0
    G30 P6 X0 Y-90 Z-9999 H0
    G30 P7 X-77,95 Y-45 Z-9999 H0
    G30 P8 X-77,95 Y45 Z-9999 H0
    G30 P9 X0 Y90 Z-9999 H0
    G30 P10 X77,95 Y45 Z-9999 H0
    G30 P11 X77,75 Y-45 Z-9999 H0
    G30 P12 X0 Y45 Z-9999 H0
    G30 P13 X22,5 Y0 Z-9999 H0
    G30 P14 X-22,5 Y0 Z-9999 H0
    G30 P15 X0 Y0 Z-9999 S6
    
    M402                            ; retract the Z probe
    
    

    And CONFIG.G

    [[language]]
    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Jan 21 2018 07:57:47 GMT+0100 (Hora estándar romance)
    
    ; General preferences
    M111 S0                                                                      ; Debugging off
    G21                                                                          ; Work in millimetres
    G90                                                                          ; Send absolute coordinates...
    M83                                                                          ; ...but relative extruder moves
    M555 P2                                                                      ; Set firmware compatibility to look like Marlin
    ; Automatic saving after power loss is not enabled
    
    ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration.
    M665 R160 L360.25 B160 H518.34                                                ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0                                                                ; Put your endstop adjustments here, or let auto calibration find them
    M208 Z0 S1                                                                   ; Set minimum Z
    
    ; Endstops
    M574 X2 Y2 Z2 S1                                                             ; Set active high endstops
    G31 P25 X0 Y-15 Z1.00 ; Set Z probe trigger value, offset and trigger height - bltouch
    M557 R115 S30                                                                ; Define mesh grid
    
    ;Drives
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolatio
    M92 X80 Y80 Z80 E2790 ; Set steps per mm
    M566 X600 Y600 Z600 E40 ; Set maximum instantaneous speed changes (mm/min)
    M203 X12000 Y12000 Z12000 E3000 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z1000 E120 ; Set accelerations (mm/s^2)
    M906 X1200 Y1200 Z1200 E900 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    
    ; Heaters
    M143 S298 ; Set maximum heater temperature to 285C
    M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
    M305 P0 T100000 B4607 C8.950070e-8 R4700 ; Set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4725 C7.06e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    M305 P2 T100000 B4725 C7.06e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    ; Tools
    M563 P0 D0 H2                                                                ; 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
    
    ; Network
    M550 PTLM Duet Wifi                                                          ; Set machine name
    M552 S1                                                                      ; Enable network
    M587 S"Dlink-869L.2,4" P"a1b2c3d4" I192.168.1.66 J192.168.1.1 K255.255.255.0 ; Configure access point and IP addresses. You can delete this line once connected
    M586 P0 S1                                                                   ; Enable HTTP
    M586 P1 S1                                                                   ; Enable FTP
    M586 P2 S1                                                                   ; Enable Telnet
    
    ; Fans
    M106 P0 S1 I0 F500 H-1                                                       ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H2 T70                                                    ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H2 T70                                                    ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
    
    ; Custom settings
    ; Escher Ir Differential sensor
    ; M558 P1 H10 F120 T1000                                                       ; Set Z probe type to smart, dive height, and the probe + travel speeds
    
    ;BlTouch
    
    M307 H3 A-1 C-1 D-1 ; disable heater3 free it up for pwm control for bltouch
    M558 P5 X0 Y0 Z1 H25 F100 T500; Set Z Probe to type Switch or Digital output where Z probe connector is used. Used for z only. ; bltouch
    
    ; Miscellaneous
    M501                                                                         ; Load saved parameters from non-volatile memory
    
    


  • eeee….

    i have used a trick, for the moment works

    [[language]]
    ; bed.g
    ; called to perform automatic delta calibration via G32
    
    M561                            ; clear any bed transform, otherwise homing may be at the wrong height
    G28                             ; home the printer
    M280 P3 S10 I90			; deploy the Z probe
    
    ; bed.g file for RepRapFirmware, generated by Escher3D calculator
    ; 16 points, 6 factors, probing radius: 140, probe offset (0, 0)
    ; bed.g file for RepRapFirmware, generated by Escher3D calculator
    ; 16 points, 6 factors, probing radius: 125, probe offset (0, 0)
    
    G28
    G30 P0 X-67,5 Y117 Z-9999 H0
    G30 P1 X67,5 Y117 Z-9999 H0
    G30 P2 X135 Y0 Z-9999 H0
    G30 P3 X67,5 Y-117 Z-9999 H0
    G30 P4 X-67,5 Y-117 Z-9999 H0
    G30 P5 X-135 Y0 Z-9999 H0
    G30 P6 X0 Y-90 Z-9999 H0
    G30 P7 X-77,95 Y-45 Z-9999 H0
    G30 P8 X-77,95 Y45 Z-9999 H0
    G30 P9 X0 Y90 Z-9999 H0
    G30 P10 X77,95 Y45 Z-9999 H0
    G30 P11 X77,75 Y-45 Z-9999 H0
    G30 P12 X0 Y45 Z-9999 H0
    G30 P13 X22,5 Y0 Z-9999 H0
    G30 P14 X-22,5 Y0 Z-9999 H0
    G30 P15 X0 Y0 Z-9999 S6
    
    M280 P3 S90 I90                            ; retract the Z probe
    
    ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
    ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)
    
    

    instead of [c]M401/M402[/c] I have put [c]M280 P3 S10 I90/M280 P3 S90 I90[/c]



  • And…

    Only one thing more....

    Can start to try point near from bed? How?

    And....

    when try mesh compesation, the next behavoir:

    A- If BlTouch is deployed, when try some point and retracts, after Re-deploy.....
    but....
    B- If at the star of compensation, BlTouch, start triggered, don't deploy.....

    How can force BlTouch deploy before start compensation.... I had thought to make a macro.

    There is other system?


  • administrators

    Don't use M280 commands to deploy and retract the probe in bed.g. Use M401 and M402 instead. These commands call your deploy.g and retract.g files (which is where you use M280 commands), but they also allow the firmware to track whether the probe is deployed or not.



  • ok,

    The gcodes [c]M401/M402[/c] execute the contents of [c]deploy.g/rectrac.g[/c], but:

    • Where i have to put [c]deploy.g/rectrac.g[/c] in [c]Sys or Macro[/c]
    • When i create the macros, i have to name it with end [c].g[/c] or without, and filesystem adds [c].g[/c] at the end of filename?
    • its supposed, that i send by console [c]M401/M402[/c], executes de orders in [c]deploy.g/rectrac.g[/c]. No?

    thanks


  • administrators

    The filenames are deployprobe.g and retractprobe.g and they belong in the /sys folder. So use the System Editor page of DWC to manage them.


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.