Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Firmware 2 to 3 with BLTouch Help.

    Scheduled Pinned Locked Moved
    Beta Firmware
    2
    5
    250
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SLKittieundefined
      SLKittie
      last edited by

      Hay all,
      I thought i would give firmware 3 a go on my Duet WIFI (1.02)
      and with the naming of things i just wanted to see if i have got it write.
      Before i take the plunge, my main problem is the BLTouch
      Using BLTouch Guide
      https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/

      Firmware 2
      Config.g
      ; generated by RepRapFirmware Configuration Tool v2.0.4 on Tue Sep 24 2019 20:19:18 GMT+0100 (British Summer Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Tronxy X5s" ; set printer name

      M667 S1 ; select CoreXY mode

      ; Network
      M552 S1 ; enable network
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P0 S1 ; physical drive 0 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
      M569 P4 S0 ; Physical drive 4 goes backwards
      M584 X0 Y1 Z2:4 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E429.18 ; set steps per mm
      M566 X600.00 Y600.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X18000 Y18000 Z1500.00 E18000.00 ; set maximum speeds (mm/min)
      M201 X3000 Y3000 Z1000 E10000.00 ; set accelerations (mm/s^2)
      M906 X1100 Y1100 Z1100 E1100 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X-17:310 Y-27:310 Z0:300 ; set axis minima/Maximium

      ; Endstops
      M574 X0 Y0 S0 ; set active high endstops

      ; Z-Probe
      M574 Z1 S2 ; Set endstops controlled by probe
      M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
      M558 P9 H10 F1000 T8000 ; Set Z probe type to bltouch and the dive height + speeds
      G31 P500 X37 Y-3 Z0 ; Set Z probe trigger value, offset and trigger height
      M557 X5:305 Y5:305 S20 ; Define mesh grid

      ; Heaters
      M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
      M305 P0 T100000 B3950 R4700 ; set thermistor + ADC parameters for heater 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M305 P1 T100000 B4725 R4700 C7.06e-8 ; set thermistor + ADC parameters for heater 1
      M143 H1 S290 ; set temperature limit for heater 1 to 280C

      ; Fans
      M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P2 S255 I0 F1000 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
      M671 X-33:310 Y150:150 S10 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis

      ; Miscellaneous

      M911 S10.0 R11.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000
      M501 ; load saved parameters from non-volatile memory

      Firmware 3
      Config.g
      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.3 on Mon Dec 09 2019 11:47:20 GMT+0000 (Greenwich Mean Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"X5s Duet" ; set printer name

      M667 S1 ; select CoreXY mode

      ; Network
      M552 S1 ; enable network
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P0 S1 ; physical drive 0 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
      M569 P4 S0
      M584 X0 Y1 Z2:4 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E429.18 ; set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X18000.00 Y18000.00 Z1800.00 E1800.00 ; set maximum speeds (mm/min)
      M201 X3000.00 Y3000.00 Z500.00 E10000.00 ; set accelerations (mm/s^2)
      M906 X1100 Y1100 Z1100 E1100 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X-17 Y-27 Z0 S1 ; set axis minima
      M208 X310 Y310 Z400 S0 ; set axis maxima

      ; Endstops
      M574 X1 S0 P"xstop" ; configure active-low endstop for low end on X via pin xstop
      M574 Y1 S0 P"ystop" ; configure active-low endstop for low end on Y via pin ystop
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z

      ; Z-Probe
      M950 S0 C"duex.e6heat" ; create servo pin 0 for BLTouch
      M558 P9 C"zprobe.in+zprobe.mod" H10 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P100 X37 Y-3 Z0 ; set Z probe trigger value, offset and trigger height
      M557 X5:305 Y5:305 S20 ; define mesh grid

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T10000 B3988 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M307 H0 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
      M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
      M143 H1 S280 ; set temperature limit for heater 1 to 280C
      M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit

      ; Fans
      M950 F0 C"fan0" Q1000 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 C"Part" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
      M950 F1 C"fan2" Q1000 ; create fan 1 on pin fan2 and set its frequency
      M106 P1 C"Tool" S0 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on

      ; Tools
      M563 P0 D0 H1 F0:1 ; 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
      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

      Thank you all.

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Please read the wiki page on connecting a Z probe. I updated the BLTouch instructions to cover RRF3 a week or two ago.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 1
        • SLKittieundefined
          SLKittie
          last edited by

          Oh awesome i somehow missed that,
          Okies that makes more sense then.
          Only thing i am having trouble is with the M950 S0 C"duex.e6heat"
          I dont have the deux bored so i have wired it to pin 31
          the wiki says it pin name is.
          exp.heater7, exp.31, !duex.e6heat, !duex.pwm5
          would any work or would i ahve to use exp.heater7?

          Sorry for all the questions. I just like to be sure.

          Oh just a thought the Z Probe Mod pin could the could i connect the yellow wire to Z Probe Mod and use M950 S0 C"zprobe.mod" instead of pin 31?

          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @SLKittie
            last edited by dc42

            @SLKittie said in Firmware 2 to 3 with BLTouch Help.:

            Oh awesome i somehow missed that,
            Okies that makes more sense then.
            Only thing i am having trouble is with the M950 S0 C"duex.e6heat"
            I dont have the deux bored so i have wired it to pin 31
            the wiki says it pin name is.
            exp.heater7, exp.31, !duex.e6heat, !duex.pwm5
            would any work or would i ahve to use exp.heater7?

            Sorry for all the questions. I just like to be sure.

            Oh just a thought the Z Probe Mod pin could the could i connect the yellow wire to Z Probe Mod and use M950 S0 C"zprobe.mod" instead of pin 31?

            You don't have a DuetX so you are connecting directly to the expansion header. Therefore you should use exp.heater7 or exp.31.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • SLKittieundefined
              SLKittie
              last edited by

              I assumed so, but better for clarification.
              Thank you so much for the time and help.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA