BF Touch setup - RepRapFirmware for Duet 2 WiFi/Ethernet 3.0



  • Hello people:

    I have one Duet2wifi 1.04 with Firmware RepRapFirmware 3.0 and operating with Duet WiFi Server Version 1.23 in my own Core XY. I'm using one BL Touch clone , the 3D Touch. sometimes the 3D Touch stop to work....
    I made a BFP Touch (Poor's man BAL) thats use a RC servo, my doubt is about the config.g and others configrations to use the BAL with this device.
    I recently changed my firmware to 3.0 and had to adjust config.g parameters differently from 2.0 firmware to use the BL Touch clone.
    I would like to know if anyone uses BAL with a servo in firmare 3.0 and if is it a possibility to share the settings for this firmware version.


  • Moderator

    Sorry, what is BAL?

    Please update to 3.1.1, 3.0 is rather dated at this point. Please read the release notes for the intervening versions.



  • @Phaedrux BAL Bed auto leveling, Im going to change my Firmware. To 3.1.1.



  • @Phaedrux When I start to use Duet2wifi I used te BFP touch with RC servo with an older firmware, my dout is if its possible to use this configs um te mês firmware? config.g:

    ; Z-Probe
    M307 H7 A-1 C-1 D-1 ; Disable Heater 7
    M574 Z1 S2 ; Set endstops controlled by probe
    M558 P5 H5 F120 T6000 ; Set Z probe type to switch and the dive height + speeds
    G31 P600 X30 Y0 Z0.17 ; Set Z probe trigger value, offset and trigger height
    M557 X47:280 Y5:180 S20 ; Define mesh grid

    ; deployprobe.g
    M280 P7 S200 I1 ; Deploy probe CHECK YOUR ANGLE VALUE
    G4 P300 ; Wait 0.3 sec. (this will give enough time for the servo to extend)
    ; retractprobe.g
    M280 P7 S127 I1 ; Retract probe CHECK YOUR ANGLE VALUE

    ; homex.g
    ; called to home the X axis
    G91 ; relative positioning
    G1 Z5 F4000 S2 ; lift Z relative to current position
    G1 S1 X-300 F3600 ; move quickly to X axis endstop and stop there (first pass)
    G1 X5 F3600 ; go back a few mm G1 S1 X-300 F1800 ; move slowly to X axis endstop once more (second pass)
    G1 Z-5 F4000 S2 ; lower Z again
    ; homey.g
    ; called to home the Y axis
    G91 ; relative positioning
    G1 Z5 F4000 S2 ; lift Z relative to current position
    G1 S1 Y-180 F3600 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y5 F4000 ; go back a few mm
    G1 S1 Y-180 F180 ; move slowly to Y axis endstop once more (second pass)
    G1 Z-5 F4000 S2 ; lower Z again
    G90 ; absolute positioning
    ; homez.g
    G91 ; relative positioning
    G1 Z5 F4000 S2 ; lift Z relative to current position
    G90 ; absolute positioning
    G0 S0 X119 Y140 F4000 ; move to center of bed
    G30 ; move Z down until the switch triggers (first pass)
    G1 Z5 F1800 ; go back a few mm
    G30 ; move Z down until the switch triggers (second pass)
    G1 Z10 F1800 S2 ; lift Z relative to current position
    G90 ; absolute positioning
    ; homeall.g
    ; called to home all axes
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    ;==============Home X====================
    G1 S1 X-300 F4000 ; move quickly to X axis endstop and stop there (first pass)
    G1 X5 F6000 ; go back a few mm
    G1 S1 X-300 F180 ; move slowly to X axis endstop once more (second pass)
    ;==============Home Y====================
    G1 S1 Y-180 F4000 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y5 F6000 ; go back a few mm
    G1 S1 Y-180 F180 ; move slowly to Y axis endstop once more (second pass)
    ;==============Home Z====================
    G90 ; absolute positioning
    G0 X119 Y140 F4000 ; move to center of bed
    G91 ; relative positioning
    G30 ; move Z down until the switch triggers (first pass)
    G1 Z5 F1800 ; go back a few mm
    G30 ; move Z down until the switch triggers (second pass)
    G1 Z10 F1800 S2 ; lift Z relative to current position
    G90 ; absolute positioning



  • @Milke you can try configuration of your solution with the instructions in
    https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Software_setup_RepRapFirmware_Num_3
    so changing the M558 into P9 instead of P5 and M280 like in the documentation. You can test whether deployprobe and retract works by running the commands directly in the command line of the brower DWC "Send G-Code" field. You should check whether the M280 commands to set the angle values of the servo to deploy and retract are correct to move the probe out of the BFP and back into it (the S values of the M280 command in degree).

    In your homex and homey you use G1 S1, which is changed in the new firmware RRF3 version to G1 H1, documented in https://duet3d.dozuki.com/Wiki/Gcode#Section_G0_G1_Move because S is now used for Laser mode.



  • @Phaedrux, Having just gotten 3.0 set up properly, is 3.1 an easy update, or will a million things have to be re-named again?

    can it just update over 3.0 if it's already set up?



  • @JoergS5 Thanks. It is similar to my BL Touch setup um RRF 3.0. Thanks, I would try


  • Moderator

    Yes you can probably get the clone BLTouch working using either P9 or maybe P5. YOu'll need to create the servo control pin with M950 and then reference that pin index in your M280 servo commands in the deploy and retract files.

    @Steve-Lynch 3.1.1 is much easier than 2x to 3x. But always read the release notes for the details on what's changed.


Log in to reply