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

    Source of Preconfigured Files?

    Scheduled Pinned Locked Moved
    General Discussion
    help setup duet2wifi duex5 bltouch
    3
    11
    813
    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.
    • jay_s_ukundefined
      jay_s_uk
      last edited by

      we have an example set of ender 3 files here https://github.com/TeamGloomy/ender-3-fly-E3

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      1 Reply Last reply Reply Quote 0
      • JDigglyWigglyundefined
        JDigglyWiggly
        last edited by

        I appreciate your help, unfortunately I'm not looking for a menu system for an Ender 3. Thank you though, for being helpful and prompt!

        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @JDigglyWiggly
          last edited by

          @JDigglyWiggly look in the sys folder.
          It has everything you need.
          There is also a branch for the bltouch too

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            There's also the config tool itself to generate a set.

            https://configtool.reprapfirmware.org/Start

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • JDigglyWigglyundefined
              JDigglyWiggly
              last edited by JDigglyWiggly

              Absolutely, the problem is, I can't make heads or tails how to set up the dual Z and BLTouch. Using the config tool, when assigning steppers, it lists as

              X
              Y
              Z
              E0
              E1
              X
              Y
              Z
              E0
              E1

              Doesn't seem to take the Duex5 in to account.

              Bltouch should be pwm5, which shows up, but isn't powering up

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by Phaedrux

                The Dual Z would need to be manually added to the M584 command in config.g. And if you wanted to do auto leveling between them you'd have to manually add a M671 command to tell it where your lead screws are and then setup bed.g to probe points close to the lead screws. All described here: https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors

                @JDigglyWiggly said in Source of Preconfigured Files?:

                Using the config tool, when assigning steppers, it lists as
                X
                Y
                Z
                E0
                E1
                X
                Y
                Z
                E0
                E1
                Doesn't seem to take the Duex5 in to account.

                This does seem to be a problem. I'll ask @chrishamm to take a look next chance he gets. It seems to only be a display problem though. If you choose the second X it will use driver 5 in the generated config.

                Here's what the config tool generated for me based on what info you've provided, You can load this config.json file into the config tool and use it to export a full set of config files.

                config.json

                Then you can compare to this config.g which I've corrected for the drive mappings for dual Z and extruder on duex.

                ; Configuration file for Duet WiFi (firmware version 3)
                ; executed by the firmware on start-up
                ;
                ; generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Mar 12 2021 18:30:41 GMT-0600 (Central Standard Time)
                
                ; General preferences
                G90                                                     ; send absolute coordinates...
                M83                                                     ; ...but relative extruder moves
                M550 P"Ender 3 Pro"                                     ; set printer name
                M918 P1 E4 F2000000                                     ; configure direct-connect display
                
                ; Network
                M552 S1                                                 ; enable network
                M586 P0 S1                                              ; enable HTTP
                M586 P1 S0                                              ; disable FTP
                M586 P2 S0                                              ; disable Telnet
                
                ; Drives
                M569 P0 S0                                              ; physical drive 0 goes backwards
                M569 P1 S0                                              ; physical drive 1 goes backwards
                M569 P2 S1                                              ; physical drive 2 goes forwards
                M569 P3 S1                                              ; physical drive 3 goes forwards
                M569 P4 S0                                              ; physical drive 4 goes backwards
                M569 P5 S0                                              ; physical drive 5 goes backwards
                M584 X0 Y1 Z2:3 E5                                    ; set drive mapping
                M350 X16 Y16 Z16 E16:16:16 I1                           ; configure microstepping with interpolation
                M92 X80.00 Y80.00 Z400.00 E93.00:93.00:93.00            ; set steps per mm
                M566 X1200.00 Y1200.00 Z24.00 E300.00:300.00:300.00     ; set maximum instantaneous speed changes (mm/min)
                M203 X9000.00 Y9000.00 Z180.00 E6000.00:6000.00:6000.00 ; set maximum speeds (mm/min)
                M201 X500.00 Y500.00 Z100.00 E5000.00:5000.00:5000.00   ; set accelerations (mm/s^2)
                M906 X800 Y800 Z800 E1000:1000:1000 I50                 ; set motor currents (mA) and motor idle factor in per cent
                M84 S30                                                 ; Set idle timeout
                
                ; Axis Limits
                M208 X0 Y0 Z0 S1                                        ; set axis minima
                M208 X235 Y235 Z240 S0                                  ; set axis maxima
                
                ; Endstops
                M574 X1 S1 P"xstop"                                     ; configure active-high endstop for low end on X via pin xstop
                M574 Y1 S1 P"ystop"                                     ; configure active-high 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.pwm7"                                    ; create servo pin 0 for BLTouch
                M558 P9 C"^zprobe.in" H5 F120 T6000                     ; set Z probe type to bltouch and the dive height + speeds
                G31 P500 X0 Y0 Z2.5                                     ; set Z probe trigger value, offset and trigger height
                M557 X15:215 Y15:195 S20                                ; define mesh grid
                
                ; Heaters
                M308 S0 P"bedtemp" Y"thermistor" T100000 B3950          ; 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
                M307 H0 B0 S1.00                                        ; disable bang-bang mode for the bed heater and set PWM limit
                M140 H0                                                 ; map heated bed to heater 0
                M143 H0 S150                                            ; set temperature limit for heater 0 to 150C
                M308 S1 P"e0temp" Y"thermistor" T100000 B3950           ; 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
                M307 H1 B0 S1.00                                        ; disable bang-bang mode for heater  and set PWM limit
                M143 H1 S275                                            ; set temperature limit for heater 1 to 275C
                
                ; Fans
                M950 F0 C"fan0" Q500                                    ; create fan 0 on pin fan0 and set its frequency
                M106 P0 S0 H-1                                          ; set fan 0 value. Thermostatic control is turned off
                M950 F1 C"fan1" Q500                                    ; create fan 1 on pin fan1 and set its frequency
                M106 P1 S1 H1 T45                                       ; set fan 1 value. Thermostatic control is turned on
                M950 F2 C"fan2" Q500                                    ; create fan 2 on pin fan2 and set its frequency
                M106 P2 S1 H1:0 T45                                     ; set fan 2 value. 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 are not defined
                
                ; Miscellaneous
                M501                                                    ; load saved parameters from non-volatile memory
                M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"      ; set voltage thresholds and actions to run on power loss
                T0                                                      ; select first tool
                

                Z-Bot CoreXY Build | Thingiverse Profile

                JDigglyWigglyundefined 1 Reply Last reply Reply Quote 1
                • JDigglyWigglyundefined
                  JDigglyWiggly @Phaedrux
                  last edited by

                  @Phaedrux Thank you so much! I'll be giving this a shot once my kiddos are asleep. I seriously can't thank you enough.

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    No problem, thanks for reporting the bug in the config driver selection display.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    JDigglyWigglyundefined 1 Reply Last reply Reply Quote 0
                    • JDigglyWigglyundefined
                      JDigglyWiggly @Phaedrux
                      last edited by

                      @Phaedrux Mark this one solved. The config you provided worked as a great baseline. That was nice of you to help out. Thanks again.

                      Phaedruxundefined 1 Reply Last reply Reply Quote 1
                      • Phaedruxundefined
                        Phaedrux Moderator @JDigglyWiggly
                        last edited by

                        @JDigglyWiggly I did it out of sympathy for a dad with 3 kids under 10.

                        Z-Bot CoreXY Build | Thingiverse Profile

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