Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Any Unused features?

    Tuning and tweaking
    5
    8
    71
    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.
    • Davidcgoodwin01
      Davidcgoodwin01 last edited by

      Hi,

      I am doing the frimware for my Core XY 300300360 printer. This is my complete firmware any one think that I am not using all the features at my disposal. I am using a duet 3 I just dont want a filament runout.

      ; Configuration file for Duet 3 (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.2 on Mon Feb 01 2021 21:18:26 GMT+0200 (South Africa Standard Time)

      ; General preferences
      G90 ; Send absolute coordinates
      M83 ; Relative extruder moves
      M550 P"Viking" ; Set printer name to Viking
      M669 K1 ; Select CoreXY mode
      G21 ; Set to milimeters
      M111 S0 ; Debugging off

      ; Network
      M552 P192.168.8.176 S1 ; enable network and acquire dynamic address via DHCP
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P0.0 S1 ; physical drive 0.0 goes forwards
      M569 P0.1 S1 ; physical drive 0.1 goes forwards
      M569 P0.2 S1 ; physical drive 0.2 goes backwards
      M569 P0.3 S0 ; physical drive 0.3 goes forwards
      M584 X0.1 Y0.0 Z0.2 E0.3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z3204 E1004.00 ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 E500 ; set maximum instantaneous speed changes (mm/min)
      M203 X18000.00 Y18000.00 Z360.00 E3000.00 ; set maximum speeds (mm/min)
      M201 X3000.00 Y3000.00 Z360.00 E3000.00 ; set accelerations (mm/s^2)
      M906 X800 Y800 Z1000 E1200 ; set motor currents (mA) and motor idle factor in per cent
      ;M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X-5 Y0 Z0 S1 ; set axis minima
      M208 X300 Y300 Z360 S0 ; set axis maxima

      ; Endstops
      M574 X1 S3 ; configure sensorless endstop for high end on X
      M574 Y2 S3 ; configure sensorless endstop for high end on Y
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z

      ;Stall Detection
      M915 X Y S3 R0 ; Stall detection on the X and Y axis With sensitivity set by S and Action set by R ("Take3 No Action")

      ;Pressure/Linear Advance
      ;M572 D0 S0.075 ; Pressure/Linear advance enabled with D selecting tool and S selecting value.

      ; Z-Probe
      M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
      M558 P9 C"^io7.in" H5 F360 T6000 A1 B0.2 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X-71 Y-42 Z3.0632 ; set Z probe trigger value, offset and trigger height
      M557 X15:215 Y15:195 S40 ; define mesh grid

      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
      M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0 ; map heated bed to heater 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
      M143 H1 S270 ; set temperature limit for heater 1 to 270C

      ; Fans
      M950 F0 C"out7" Q500 ; create fan 0 on pin out4 and set its frequency - Cooling Fan
      M106 P0 S1 H1 T45 ; set fan 0 value. Thermostatic control is turned on
      M950 F1 C"out8" Q0 ; create fan 1 on pin out5 and set its frequency - Parts Cooling Fan
      M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned off

      ; 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
      M575 P1 S1 B57600 ; enable support for PanelDue - io_0
      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

      1 Reply Last reply Reply Quote 0
      • jay_s_uk
        jay_s_uk last edited by

        Non-linear extrusion https://duet3d.dozuki.com/Wiki/Gcode#Section_M592_Configure_nonlinear_extrusion
        Pressure advance https://duet3d.dozuki.com/Wiki/Gcode#Section_M572_Set_or_report_extruder_pressure_advance
        Dynamic Acceleration Adjustment https://duet3d.dozuki.com/Wiki/Gcode#Section_M593_Configure_Input_Shaping
        Firmware retraction

        I'm sure theres more as well

        Blacksheep99 1 Reply Last reply Reply Quote 1
        • Veti
          Veti last edited by

          @Davidcgoodwin01 said in Any Unused features?:

          M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
          M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1

          your thermistor settings is incorrect. find the correct beta value in the thermistor documentation.

          1 Reply Last reply Reply Quote 1
          • Veti
            Veti last edited by

            if you have more than one z stepper you can use this
            https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors

            1 Reply Last reply Reply Quote 0
            • Davidcgoodwin01
              Davidcgoodwin01 last edited by

              Cool Thanks, I have Pressure advance, but I'm not using it now. the rest Ill give it a try.

              deckingman 1 Reply Last reply Reply Quote 0
              • Blacksheep99
                Blacksheep99 @jay_s_uk last edited by

                @jay_s_uk said in Any Unused features?:

                Non-linear extrusion https://duet3d.dozuki.com/Wiki/Gcode#Section_M592_Configure_nonlinear_extrusion
                Pressure advance https://duet3d.dozuki.com/Wiki/Gcode#Section_M572_Set_or_report_extruder_pressure_advance
                Dynamic Acceleration Adjustment https://duet3d.dozuki.com/Wiki/Gcode#Section_M593_Configure_Input_Shaping
                Firmware retraction

                I'm sure theres more as well

                Sorry to hijack the thread a bit, I just assumed pressure advance was RRF version of non-linear extrusion. Not the case then?

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

                  @Blacksheep99 Pressure advance is equivalent to linear advance in marlin.
                  Non-linear extrusion compensates for back pressure in the filament (amongst other things) when extruding at different speeds

                  1 Reply Last reply Reply Quote 1
                  • deckingman
                    deckingman @Davidcgoodwin01 last edited by

                    @Davidcgoodwin01 Using "features" just because they are available is the wrong approach IMO. So for example, if you were using a large diameter nozzle and therefore printing at slowish speeds due to being limited by melt rate, then it is highly unlikely that there would be any significant pressure inside the hot end that needs to be compensated for by using pressure advance. Similarly with non-liner extrusion which is to compensate for extruder slippage - more likely to happen at faster speeds and/or with an extruder that doesn't grip filament too well. Dynamic acceleration is there to help with ringing - but depending on your kinematics, the speeds and accelerations you use, the mass of the hot end and about a dozen other factors, you might not have any ringing. You won't need mesh bed flatness compensation if your bed is inherently flat. I could go on but you get the idea.

                    And some of these features will interact with each other. For example non linear extrusion might exacerbate hot end pressure requiring more pressure advance.

                    The best approach (IMO) is to start with the minimum configuration, tune all the other settings to get the very best print quality you can, and only then enable whichever features might be necessary to deal with any issues that you can't resolve by other means.

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