Can check content bed.g?

  • Hi,

    I follow do work Bltouch in Duet…

    A- the individual gcode [c]G30 S-1[/c] works
    B- The problems apear when try autocalibrate printer… I have headcrash

    When I send autocalibrate, Duet do the orders content in [c] bed.g[/c]. No?

    Maybe… The error is in [c] bed.g[/c], moreover, my [c] bed.g[/c] is the same when I was installed MINI IR PROBE

    Copy and paste my [c] bed.g[/c], if you can see some error.

    The only important difference, is that G30, have the flag H0.
    A thing that I don't understand is that… When I try autocalibrate, Duet do the orders in [c] bed.g[/c]. No?
    When I try do autocalibrate… First printer homes, and after down nozzle straight and in this point, x0 y, I have the headcrash but the first point in [c] bed.g[/c] is [c] G30 P0 X0.00 Y135.00 Z-99999 H0 [/c]

    ; bed.g; bed.g file for RepRapFirmware, generated by Escher3D calculator
    ; 16 points, 6 factors, probing radius: 140, probe offset (0, 0)
    M561                        ; clear any bed transform, otherwise homing may be at the wrong height
    G31 X0 Y0                    ; don't want any probe offset for this
    G28                            ; home the printer
    G30 P0 X0.00 Y135.00 Z-99999 H0
    G30 P1 X116.91 Y67.50 Z-99999 H0
    G30 P2 X116.91 Y-67.50 Z-99999 H0
    G30 P3 X0.00 Y-135.00 Z-99999 H0
    G30 P4 X-116.91 Y-67.50 Z-99999 H0
    G30 P5 X-116.91 Y67.50 Z-99999 H0
    G30 P6 X0.00 Y67.50 Z-99999 H0
    G30 P7 X58.46 Y-33.75 Z-99999 H0
    G30 P8 X-58.46 Y-33.75 Z-99999 H0
    G30 P9 X0 Y0 Z-99999 S6
    G1 X10 Y10 F3000

    Another try I want to do is downgrade firmware. In what firmware is tested Bltouch works?


  • administrators

    You should remove the G31 X0 Y0 line, that was for very old firmware.

    After you home the printer by sending G28, the effector should be close to its maximum height and ni the centre. The web interface should show the position as X=0, Y=0, Z= [height of nozzle above the bed]. Is that what you get?

    Please post your deployprobe.g, retractprobe.g, config.g and homeall.g files.

    I suggest you don't downgrade the firmware, it will complicate matters and make it harder for me to support you.

    PS - in bed.g you should add a M401 command before the first G30 command to deploy the probe, and M402 after the last one to retract it.

  • Hi,

    In [c]bed.g[/c], its necesary redeply BlTouch after each [c]G30[/c]?


    P.D.; After send content of configuration files in Duet

  • Hi,

    post contents….

    One deatail, maybe important, deployprobe.g and retractprobe.g are in [c]macro/BlTouch[/c], directory…


    M280 P3 S10 I1


    M280 P3 S90 I1


    ; Configuration file for Duet Ethernet (firmware version 1.17)
    ; executed by the firmware on start-up
    ; generated by RepRapFirmware Configuration Tool on Mon May 22 2017 22:56:20 GMT-0400 (Eastern Daylight Time)
    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    M665 R165 L360.25 B175 H550; 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
    ;Ajustar la escala en los ejes, en las Delta, bufff
    M579 X1 Y1 ; 
    ; Endstops
    M574 X2 Y2 Z2 S1 ; Define active high microswitches
    M557 R130 S30 ; Define mesh grid
    ; BlTouch
    M307 H3 A-1 C-1 D-1 ;
    M558 P5 X0 Y0 Z1 H5 F100 T2000
    G31 X0 Y0 Z0 P25
    ; 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 X32 Y32 Z32 E16 I1 ; Configure microstepping with interpolatio
    M92 X160 Y160 Z160 E2470 ; 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 X600 Y600 Z600 E1500 ; Set accelerations (mm/s^2)
    M906 X1200 Y1200 Z1200 E7200 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    ; Heaters
    M143 S285 ; 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 R4700 T100000 B3950 ; bed
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    ; Tools
    M563 P0 D0 H1 ; 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 Duet3D ; Set machine name
    M587 S"DLink-869L.2,4" P"a1b2c3d4" I192.168.1.99; Configure access point. M587 S"NOMBRE RED" P"PASSWORD"
    M586 P0 S1 ; Enable HTTP
    M586 P1 S1 ; Enable FTP
    M586 P2 S1 ; Enable Telnet
    M552 S1
    ; Fans
    M106 P0 S0 I0 F255 H-1; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F255 H1 T50; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F255 H1 T50; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    ; Custom settings are not configured
    ; Miscellaneous
    M501 ; Load saved parameters from non-volatile memory

    homdelta.g, i don't have homeall.g

    ; homedelta.g
    ; called to home all towers on a delta printer
    ; generated by RepRapFirmware Configuration Tool on Mon May 22 2017 22:56:20 GMT-0400 (Eastern Daylight Time)
    ; Use relative positioning
    ; Move all towers to the high end stopping at the endstops (first pass)
    G1 X527 Y527 Z527 F1800 S1
    ; Go down a few mm
    G1 X-5 Y-5 Z-5 F1800 S2
    ; Move all towers up once more (second pass)
    G1 X10 Y10 Z10 F360 S1
    ; Move down a few mm so that the nozzle can be centred
    G1 Z-5 F6000
    ; Switch back to absolute positioning and go to the centre
    G1 X0 Y0 F1000
    M280 P3 S160 I1 :blt alarm release

  • administrators

    deployprobe.g and retractprobe.g must be in the /sys directory, because that is where the firmware looks for them.

    In bed.g, its necesary redeply BlTouch after each G30?

    No. Just use M401 before the first G30, and M402 after the last one.

Log in to reply