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

Zaribo / Prusa i3 MK3s - Duet 2 WiFi - RRF 3.11

Scheduled Pinned Locked Moved
My Duet controlled machine
bear duet 2 wifi duet wifi duetwifi mk3s pinda prusa zaribo
4
19
4.4k
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.
  • undefined
    Kolbi
    last edited by 4 Aug 2020, 05:42

    0:/filaments/ABS/

    config.g - v08/04/20

    ; 0:/filaments/ABS/config.g
    ; Macro use to set 'basic' setting for filament type
    
    M300 S1000 P200 G4 P500 M300 S3000 P300                     ; play some tones
    M140 S75                                                    ; set bed temp
    M104 S150                                                   ; set extruder warm-up temp
                                                                ; active temp set from slicer gcode
    
    ; Insert additional filament specific settings here
    
    

    load.g - v08/04/20

    ; LEAVE EMPTY
    

    unload.g - v08/04/20

    ; LEAVE EMPTY
    

    0:/filaments/PC/

    config.g - v08/04/20

    ; 0:/filaments/PC/config.g
    ; Macro use to set 'basic' setting for filament type
    
    M300 S1000 P200 G4 P500 M300 S3000 P300                     ; play some tones
    M140 S75                                                    ; set bed temp
    M104 S150                                                   ; set extruder warm-up temp
                                                                ; active temp set from slicer gcode
     
    ; Insert additional filament specific settings here
    
    

    load.g - v08/04/20

    ; LEAVE EMPTY
    

    unload.g - v08/04/20

    ; LEAVE EMPTY
    

    0:/filaments/PETG/

    config.g - v08/04/20

    ; 0:/filaments/PETG/config.g
    ; Macro use to set 'basic' setting for filament type
    
    M300 S1000 P200 G4 P500 M300 S3000 P300                     ; play some tones
    M140 S75                                                    ; set bed temp
    M104 S150                                                   ; set extruder warm-up temp
                                                                ; active temp set from slicer gcode
     
    ; Insert additional filament specific settings here
    
    

    load.g - v08/04/20

    ; LEAVE EMPTY
    

    unload.g - v08/04/20

    ; LEAVE EMPTY
    

    0:/filaments/PLA/

    config.g - v08/04/20

    ; 0:/filaments/PLA/config.g
    ; Macro use to set 'basic' setting for filament type
    
    M300 S1000 P200 G4 P500 M300 S3000 P300                     ; play some tones
    M140 S65                                                    ; set bed temp
    M104 S150                                                   ; set extruder warm-up temp
                                                                ; active temp set from slicer gcode
     
    ; Insert additional filament specific settings here
    
    

    load.g - v08/04/20

    ; LEAVE EMPTY
    

    unload.g - v08/04/20

    ; LEAVE EMPTY
    
    undefined 1 Reply Last reply 5 Aug 2020, 20:11 Reply Quote 2
    • undefined
      Kolbi @Kolbi
      last edited by Kolbi 8 Dec 2020, 23:43 5 Aug 2020, 20:11

      Updated primeline:

      ; 0:/sys/primeline.g
      ; Print prime-line at a 'randomized' Y position from -1.1 to -2.9
       
      ; Charge! tune
      M400
      G4 S1
      M300 P200 S523.25
      G4 P200
      M300 P200 S659.25
      G4 P200
      M300 P200 S739.99
      G4 P250
      M300 P285 S880.00
      G4 P450
      M300 P285 S880.00
      G4 P285
      M300 P625 S1108.73
      G4 S1
      M400		
      	
      G1 X0 Z0.6 Y{-2+(0.1*(floor(10*(cos(sqrt(sensors.analog[0].lastReading * state.upTime))))))} F3000.0;
      G92 E0.0                                                   ; Reset extrusion distance
      G1 E8                                                      ; Purge Bubble
      G1 X60.0 E11.0 F1000.0                                     ; intro line
      G1 X120.0 E16.0 F1000.0                                    ; intro line
      G92 E0.0                                                   ; Reset extrusion distance
      M400                                                       ; Finish all current moves / clear the buffer
      
      
      1 Reply Last reply Reply Quote 0
      • undefined
        Kolbi
        last edited by Kolbi 8 Jul 2020, 20:53 6 Aug 2020, 06:17

        I added a new macro, Hotmesh.
        "Hotmesh" preforms bed a mesh probing routine with a heat stabilized bed. This macro will heat the bed based on the currently set system filament type, wait 5 minutes for the bed temperature to stabilize, and then perform mesh probe. Once initiated, the nozzle will rise to 150mm and then lower 15mm for every 30 seconds elapsed - about 5 minutes in total. Once the nozzle is at the bed, the mesh probing cycle will commence.

        ; 0:/macros/hotmesh.g
        ; Called to perform automatic heated bedmesh compensation
        
        T0                                                         ; Ensure tool is selected
        M703                                                       ; Heat bed to set temp based off current system filament type
        M104 S-273                                                 ; Turn off hotend
        M106 S0                                                    ; Turn part cooling blower off if it is on
        M291 P{"Performing bed heatup per " ^ move.extruders[0].filament ^ " profile. This process will take approximately 6 minutes."} R"Hotmesh" S0 T10
        G28                                                        ; Home
        G1 X100 Y100                                               ; Place nozzle center of bed
        
        ; Give 5 minutes for stabilization
        G91                                                        ; Set to Rel Positioning
        while iterations <=9                                       ; Perform 10 passes
            G1 Z15                                                 ; Move Z 15mm up
            G4 S0.5                                                ; Wait .5 seconds
        M116                                                       ; Wait for all temperatures
        M291 P"Bed temperature at setpoint. Please wait 5 minutes for stabilization, Z indicates countdown." R"Hotmesh" S0 T10
        ; Start countdown - use Z as indicator   
        while iterations <=9                                       ; Perform 10 passes
            G4 S30                                                 ; Wait 30 seconds
            G1 Z-15                                                ; Move Z 15mm down
        G90                                                        ; Set to Absolute Positioning
        M291 P"Performing homing, gantry alignment, and mesh probing. Please wait." R"Hotmesh" S0 T10
        
        G32                                                        ; Home and Level gantry
        M400                                                       ; Clear queue
        G29                                                        ; Perfrom bed mesh
        M104 S-273                                                 ; Turn off hotend
        M140 S-273                                                 ; Turn off heatbed
        M291 P"Hotmesh complete. Hotend and Heatbed are turned off. Performing final homing routine. Please wait." R"Hotmesh" S0 T10
        G28                                                        ; Home
        
        1 Reply Last reply Reply Quote 0
        • undefined
          Kolbi
          last edited by Kolbi 8 Dec 2020, 06:45 6 Aug 2020, 22:23

          Alternative setup to load bedmesh from the system's set filament type directory, and if start.g fails load the file (because it doesn't exist) it will create one.

          Alternative Hotmesh.g:
          This saves the heightmap to the system's set filament type directory (0:/filaments/PETG/heightmap.csv)

          ; 0:/macros/hotmesh.g
          ; Called to perform automatic heated bedmesh compensation
          ; Alternative Hotmesh.g - This saves the heightmap to the system's set filament's type directory (0:/filaments/PETG/heightmap.csv)
          
          if state.status = "processing"                             ; Printer is currently printing!
             M99                                                     ; Abort this macro   
           
          T0                                                         ; Ensure tool is selected
          M703                                                       ; Heat bed to set temp based off current system filament type
          M104 S-273                                                 ; Turn off hotend
          M106 S0                                                    ; Turn part cooling blower off if it is on
          M291 P{"Performing bed heatup per " ^ move.extruders[0].filament ^ " profile. This process will take approximately 6 minutes."} R"Hotmesh" S0 T10
          G28                                                        ; Home
          G1 X100 Y100                                               ; Place nozzle center of bed
           
          ; Give 5 minutes for stabilization
          G91                                                        ; Set to Rel Positioning
          while iterations <=9                                       ; Perform 10 passes
              G1 Z15 F300                                            ; Move Z 15mm up
              G4 S0.5                                                ; Wait .5 seconds
          M116                                                       ; Wait for all temperatures
          M291 P"Bed temperature at setpoint. Please wait 5 minutes for stabilization, Z indicates countdown." R"Hotmesh" S0 T10
          ; Start countdown - use Z as indicator   
          while iterations <=9                                       ; Perform 10 passes
              G4 S30                                                 ; Wait 30 seconds
              G1 Z-15 F300                                           ; Move Z 15mm down
          G90                                                        ; Set to Absolute Positioning
          M291 P"Performing homing, gantry alignment, and mesh probing. Please wait." R"Hotmesh" S0 T10
           
          G32                                                        ; Home and Level gantry
          M400                                                       ; Clear queue
          G29                                                        ; Perfrom bed mesh
          G29 S3 [P{"0:/filaments/" ^ move.extruders[0].filament ^ "/heightmap.csv"}] ; Save heightmap.csv to filament type's directory
          M104 S-273                                                 ; Turn off hotend
          M140 S-273                                                 ; Turn off heatbed
          M291 P"Hotmesh complete. Hotend and Heatbed are turned off. Performing final homing routine. Please wait." R"Hotmesh" S0 T10
           
          G28                                                        ; Home
          M18                                                        ; Free all
          

          Alternative Start.g:
          Alternative Start.g - This loads the heightmap from the system's set filament type directory (0:/filaments/PETG/heightmap.csv), if the heightmap does not exist, create one, and then save in the filament's directory.

          ; 0:/sys/start.g
          ; Executed before each print - BEFORE ANY SLICER CODE IS RAN
          ; Alternative Start.g - This loads the heightmap from the system's set filament
          ; type directory (0:/filaments/PETG/heightmap.csv), if the heightmap does not
          ; exist, create one, and then save in the filament's directory.
           
          T0                                                         ; Ensure tool is selected
          ;M280 P0 S160                                              ; BLTouch, alarm release
          ;G4 P100                                                   ; BLTouch, delay for the release command
          M572 D0 S0.0                                               ; clear pressure advance
          M220 S100                                                  ; Set speed factor back to 100% in case it was changed
          M221 S100                                                  ; Set extrusion factor back to 100% in case it was changed
          M290 R0 S0                                                 ; Clear babystepping
          M106 S0                                                    ; Turn part cooling blower off if it is on
          M703                                                       ; Execute loaded filament's config.g
          G28                                                        ; Home all
           
          ;G1 Z5 X100 Y100                                           ; [PINDA] Place nozzle center of bed, 5mm up
           
          G1 Z160 F300                                               ; [BLTouch] Last chance to check nozzle cleanliness
           
          M300 S4000 P100 G4 P200 M300 S4000 P100                    ; Give a double beep
          M116                                                       ; wait for all temperatures
          M300 S4000 P100                                            ; Give a single beep
           
          ; [BLTouch] Start countdown - use Z as indicator  
          G91                                                        ; [BLTouch] Set to Relative Positioning
          while iterations <=9                                       ; [BLTouch] Perform 10 passes
              G4 S12                                                 ; [BLTouch] Wait 12 seconds
              G1 Z-15 F300                                           ; [BLTouch] Move Z 15mm down
          G90                                                        ; [BLTouch] Set to Absolute Positioning
           
          ;G4 S120                                                   ; [PINDA] wait additional 2 minutes for the bed to stabilize
           
          G32                                                        ; Level bed
          G29 S1 [P{"0:/filaments/" ^ move.extruders[0].filament ^ "/heightmap.csv"}] ; Load bed mesh for the system's set filament type
          if result > 1                                              ; If file doesn't exist, perform mesh and save
             G29                                                     ; Perform mesh now
             G29 S3 [P{"0:/filaments/" ^ move.extruders[0].filament ^ "/heightmap.csv"}] ; Save heightmap.csv to filament type's directory
          
          M400                                                       ; Finish all current moves / clear the buffer
          G90                                                        ; Absolute Positioning
          M83                                                        ; Extruder relative mode
          M98 P"0:/sys/current-sense-normal.g"                       ; Ensure that motor currents and sense are set for printing 
          G1 X0 Y0 Z2                                                ; Final position before slicer's temp is reached and primeline is printed.
            
          ; The primeline macro is executed by the slicer gcode to enable direct printing
          ; of the primeline at the objects temp and to immediately print the object
          ; following primeline completion. 
            
          ; Slicer generated gcode takes it away from here 
          
          1 Reply Last reply Reply Quote 0
          • undefined
            Kolbi
            last edited by Kolbi 7 Aug 2020, 20:55

            Latest README: README.pdf
            Latest sd-card dump: README above contains dump.
            Latest wiring guide: Duet2.pdf
            Archive file containing the full set of sd-card files, wiring guide, readme, and ideaMaker example profile set.

            The next meaningful revision of my files will most likely occur once variables are enabled within the gcode macros.

            If you find any issues or have any suggestions please let me know so I can take the appropriate actions and make this a better guide/code for the public.

            Many thanks Duet forum people!

            Cheers,
            Kolbi

            1 Reply Last reply Reply Quote 1
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by Phaedrux 8 Nov 2020, 04:26 11 Aug 2020, 04:25

              Thanks for the excellent reference examples.

              Also just a heads up it looks like the forum software or copy paste error is inserting some random {1} to your blocks.

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 11 Aug 2020, 04:34 Reply Quote 0
              • undefined
                Kolbi @Phaedrux
                last edited by 11 Aug 2020, 04:34

                @Phaedrux Thanks much!

                I saw the {1} and tried to get rid of them but for some reason, it didn't work.
                I did attach my dump-list.pdf so people could view it there also - I keep this one updated too.

                I'll give it a shot once I get some time this evening. Do you know what causes them?

                Cheers,
                Kolbi

                Phaedruxundefined 1 Reply Last reply 11 Aug 2020, 04:45 Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @Kolbi
                  last edited by 11 Aug 2020, 04:45

                  @Kolbi said in Zaribo / Prusa i3 MK3s - Duet 2 WiFi - RRF 3.11:

                  Do you know what causes them?

                  They seem to show up on line breaks within the code blocks for some reason. It's a forum issue.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined A Former User? 2 Replies Last reply 11 Aug 2020, 04:59 Reply Quote 0
                  • undefined
                    Kolbi @Phaedrux
                    last edited by 11 Aug 2020, 04:59

                    @Phaedrux said in Zaribo / Prusa i3 MK3s - Duet 2 WiFi - RRF 3.11:

                    show up on line breaks within the code blocks

                    Ah! Just add a space after a line break and that gets rid of it.

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by 11 Aug 2020, 05:43

                      Good to know!

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • A Former User?
                        A Former User @Phaedrux
                        last edited by 11 Aug 2020, 07:19

                        @Phaedrux said in Zaribo / Prusa i3 MK3s - Duet 2 WiFi - RRF 3.11:

                        They seem to show up on line breaks within the code blocks for some reason. It's a forum issue.

                        not for all types of code interestingly enough, but haven't experimented with the complete list of language highlighting.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Kolbi
                          last edited by Kolbi 8 Dec 2020, 17:56 12 Aug 2020, 16:43

                          Updated stop.g, focused on getting rid of spider web / hair like stringing from nozzle while leaving nothing on nozzle.

                          ; 0:/sys/stop.g
                          ; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled)
                          
                          M83                                                        ; Set extruder to relative mode
                          M106 S255                                                  ; Turn fan fully on
                          M572 D0 S0.0                                               ; clear pressure advance
                          M220 S100                                                  ; Set speed factor back to 100% in case it was changed
                          M221 S100                                                  ; Set extrusion factor back to 100% in case it was changed
                          G1 E-2                                                     ; Retract 2mm
                          M104 S-273                                                 ; Turn off hotend
                          M140 S-273                                                 ; Turn off heatbed
                          G1 F1000.0                                                 ; Set feed rate
                          M98 P"current-sense-homing.g"                              ; Adjust current and sensitivity for homing routines
                          
                          ; Let cool and wiggle for bit to reduce end stringing
                          M300 S4000 P100 G4 P200 M300 S4000 P100                    ; Give a double beep
                          G91                                                        ; Set to Relative Positioning
                          G1 Z2 F400                                                 ; Move Z up 3mm
                          
                          ; Start countdown - use X/Y as indicators of counting  
                          while iterations <=9                                       ; Perform 10 passes
                              G4 S6                                                  ; Wait 6 seconds
                              G1 X1 Y1 F1000                                         ; Wiggle +1mm
                              G4 S6                                                  ; Wait 6 seconds
                              G1 Z0.5 X-1 Y-1 F1000                                  ; Wiggle -1mm, Z +0.5
                          
                          G90                                                        ; Set to Absolute Positioning
                          
                          G1 X220 Y205 Z205 F1000                                    ; Place nozzle to the right side, build plate to front, Z at top
                          M400                                                       ; Clear queue
                          M107                                                       ; Turn off fan
                          M18 YXE                                                    ; Unlock X, Y, and E axis
                          
                          ; Play a triumphant tune to celebrate a successful print.
                          G4 S1
                          M300 P250 S750
                          G4 P251
                          M300 P200 S1250
                          G4 P201
                          M300 P250 S750
                          G4 P251
                          M300 P200 S1250
                          G4 P201
                          M300 P250 S2500
                          G4 P251
                          M300 P150 S2000
                          G4 P151
                          M300 P150 S2500
                          G4 P151
                          M300 P350 S3700
                          G4 P351
                          M400
                          
                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Kolbi
                            last edited by 31 Aug 2020, 23:52

                            Attached modified BMGm-BLTouch.
                            Offsets at X22.8, Y3.8, Z1.32.

                            10068-6 Prusa Housing Rear MK3s MosquitoV1.4.STL 10068-7 Prusa Housing Front MK3s MosquitoV1.4.STL 1596246771954-screen-shot-2020-08-01-at-10.40.16-am-resized.jpg preview.JPG 1596083183516-bmgm-bltouch-actual-resized.jpg

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Kolbi
                              last edited by Kolbi 9 Jan 2020, 04:17 1 Sept 2020, 03:59

                              Forgot the bltouch wire cover.
                              bltouch-wirecover.STL

                              *The front and back parts require threaded inserts.

                              1 Reply Last reply Reply Quote 0
                              • jdebuhrundefined jdebuhr referenced this topic 9 May 2022, 02:44
                              • T3P3Tonyundefined T3P3Tony unpinned this topic 27 Sept 2022, 11:24
                              • e4dundefined
                                e4d
                                last edited by 15 Jul 2023, 17:35

                                Hello @Kolbi do you have an enclosure for Duet wifi that mount to the printer ? I’d love to have an STL if you mind sharing

                                undefined 1 Reply Last reply 15 Jul 2023, 19:51 Reply Quote 0
                                • undefined
                                  Kolbi @e4d
                                  last edited by 15 Jul 2023, 19:51

                                  @e4d Sorry, It's been a while and I don't have that on my latest laptop. I'll give a search on my home server when I get a chance to see if I may have backed it up.
                                  But, give a look at the caribou github - variants from duet 2 and 3mini exist.
                                  https://github.com/Caribou3d/CaribouCartesian/tree/master/STL/01_full-kits/Frame/Duet

                                  Hope that helps!

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