BL touch and homing



  • Hello, I am trying to get my bl touch configured and working. It is installed, deploy and retract work fine. How do I get it working correctly in conjunction with the homing files? Also do I disable my z endstop, and if so how? Also can I may it start automatically at the start of every print?
    I am also getting this error: Error: G30: Insufficient axes homed for bed probing

    Here is my config file.. it may be a mess as I was trying a few different things to get the BL up and running.

    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Thu Jan 11 2018 16:25:07 GMT-0800 (Pacific Standard Time)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M82 ; ...absolute mode
    G10 P0 S0 R195
    G10 P1 S0 R195
    T0
    T1
    T-1
    G10 P0 S235 R195 ; Set tool 0 operating and standby temperatures
    G10 P1 S235 R195 ; Set tool 1 operating and standby temperatures
    G28 ; home all axes
    G28 ; home all axes
    G32; probe - bed compensation
    G1 Z30 F5000 ; lift nozzle
    ; Automatic saving after power loss is not enabled
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X230 Y230 Z200 S0 ; Set axis maxima

    ; Endstops

    M574 X1 Y1 Z1 S0 ; Define active high microswitches

    ; BL Touch
    M307 H3 A-1 C-1 D-1
    M558 P5 X0 Y0 Z1 H5 F100 T2000
    G31 X53 Y-5 Z-4.80 P25

    ; Auto Bed Compensation
    M561
    M98 Pdeployprobe.g
    ; Probe the bed at 5 points
    G30 P0 X15 Y15 H0 Z-99999
    G30 P1 X15 Y175 H0 Z-99999
    G30 P2 X185 Y175 H0 Z-99999
    G30 P3 X185 Y15 H0 Z-99999
    G30 P4 X100 Y100 H0 Z-99999 S
    M98 Pretractprobe.g

    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M584 X0 Y2 Z1 E3:4
    M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
    M92 X86.5 Y86.5 Z1048 E420:420 ; Set steps per mm
    M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200:1200 ; Set maximum speeds (mm/min)
    M201 X500 Y20 Z250 E250:250 ; Set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M140 H-1 ; Disable heated bed
    M305 P1 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 285C
    M305 P2 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 2
    M143 H2 S280 ; Set temperature limit for heater 2 to 285C

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X9 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
    M563 P1 D1 H2 ; Define tool 1
    G10 P1 X-9 Y0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    ; Network
    M550 PMy printer ; Set machine name
    M552 S1 ; Enable network
    ;*** Access point is configured manually via M587
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

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

    ; Custom settings are not configured



  • Also another issue, How do I keep both hot ends up to active temp when using dual extursion? On keeps dropping to standby temp.
    thank you


  • administrators

    @Mike72:

    Also another issue, How do I keep both hot ends up to active temp when using dual extursion? On keeps dropping to standby temp.
    thank you

    Set the active and standby temperatures the same. But then the non-printing nozzle is likely to ooze badly. The purpose of standby temperatures is to control oozing.



  • ok, So trying to get the BL touch working…. got pretty close... but now I am stuck. I can log in thru pronterface only...
    Wifi does not connect automatically when powering up.
    Printer is now online.
    ok T B:2000.0 /0.0
    ok T B:2000.0 /0.0
    ok T B:2000.0 /0.0
    ok T B:2000.0 /0.0
    Never had this message before... what is causing it?

    SO I run M552 S1, able to get wifi up and running.
    When I try to log on the web site, page loads up, but right away the window for manual bed probing loads up. But none of the buttons work, and I am stuck there. I can hit the ok button and the windows close, but nothing works. It doesnt show my extruders, onlt a bed heater, which I dont have. I also notice my y motors (I have dual motors) making noise for a little bit when starting up which they didnt do before... but no movement). Can someone take a look at my config file and see what got screwed up?

    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Thu Jan 11 2018 16:25:07 GMT-0800 (Pacific Standard Time)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G91 ; Send relative coordinates...
    M82 ; ...absolute mode
    G10 P0 S0 R195

    G10 P0 S235 R195 ; Set tool 0 operating and standby temperatures
    G10 P1 S235 R195 ; Set tool 1 operating and standby temperatures
    G28 ; home all axes
    G32; probe - bed compensation
    G1 Z30 F5000 ; lift nozzle
    ; Automatic saving after power loss is not enabled
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X230 Y230 Z200 S0 ; Set axis maxima

    ; Endstops

    M574 X1 Y1 Z1 S0 ; Define active high microswitches

    ; BL Touch
    M307 H3 A-1 C-1 D-1
    M557 X10:190 Y10:190 S25
    M558 P5 X0 Y0 Z1 H5 F100 T2000
    G31 X53 Y-5 Z-4.80 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 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M584 X0 Y2 Z1 E3:4
    M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
    M92 X86.5 Y86.5 Z1048 E420:420 ; Set steps per mm
    M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200:1200 ; Set maximum speeds (mm/min)
    M201 X500 Y20 Z250 E250:250 ; Set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M140 H-1 ; Disable heated bed
    M305 P1 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 285C
    M305 P2 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 2
    M143 H2 S280 ; Set temperature limit for heater 2 to 285C

    ; 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
    M563 P1 D1 H2 ; Define tool 1
    G10 P1 X18 Y0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    ; Network
    M550 PMy printer ; Set machine name
    M552 S1 ; Enable network
    ;*** Access point is configured manually via M587
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet


  • administrators

    @Mike72:

    ok, So trying to get the BL touch working…. got pretty close... but now I am stuck. I can log in thru pronterface only...
    Wifi does not connect automatically when powering up.
    Printer is now online.
    ok T B:2000.0 /0.0
    ok T B:2000.0 /0.0
    ok T B:2000.0 /0.0
    ok T B:2000.0 /0.0
    Never had this message before... what is causing it?

    Probably Pronterface is sending M105 commands.

    @Mike72:

    SO I run M552 S1, able to get wifi up and running.
    When I try to log on the web site, page loads up, but right away the window for manual bed probing loads up. But none of the buttons work, and I am stuck there. I can hit the ok button and the windows close, but nothing works. It doesnt show my extruders, onlt a bed heater, which I dont have. I also notice my y motors (I have dual motors) making noise for a little bit when starting up which they didnt do before… but no movement). Can someone take a look at my config file and see what got screwed up?

    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ...
    G32; probe - bed compensation
    ...

    Remove that G32 command. Do not try to probe the bed in config.g.



  • Thank you… I removed G32 and still had the problem. I ended up removing G28 ; home all axes and that seemed to fix the problem..
    I guess I am having trouble with where the homing and probing files should be located... should they be put in my slicers gcode to run with the imported file? Or located on the duet?


  • administrators

    You can either home and (if you want) probe manually after you turn the printer on, or include homing commands (and probing commands if you want) in the slicer start GCode.

    The main problem was with where you had the probing commands, i.e. before many important parameters were set up. They would have worked close to the end of the file. However, it's generally a bad idea to have any movement commands in config.g for two reasons:

    1. Safety: It's a bad idea to have machinery move as soon as you power it on.

    2. If you have a power failure, then when the power comes back on you will not want the printer t home and probe with a print already on the bed.


Locked
 

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