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

    Bed tuning bang-bang? - And thermo fan

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    11
    1.5k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Don't use bang bang. PID tuning implies that you're not using bang bang.

      Z-Bot CoreXY Build | Thingiverse Profile

      Martin1454undefined 1 Reply Last reply Reply Quote 0
      • Martin1454undefined
        Martin1454 @Phaedrux
        last edited by

        @Phaedrux said in Bed tuning bang-bang? - And thermo fan:

        Don't use bang bang. PID tuning implies that you're not using bang bang.

        Well, leaving the value as M307 H0 A345.9 C654.0 D1.9 S1.0 V23.9 B0 still give me the 1.6*C / sec fault, so what should I change in my PID routine? - I have tried both as bang-bang and as PID (B=0)

        1 Reply Last reply Reply Quote 0
        • achrnundefined
          achrn
          last edited by

          The relevant M307 in the config file you posted is M307 H0 B1 S1.00, not the tuned values. Are you restarting the printer after the tuning? Where have you set the PID parameters?

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

            After tuning, send M500 to save the results to config-override.g and then add M501 to the end of config.g to load the saved values at startup.

            Z-Bot CoreXY Build | Thingiverse Profile

            Martin1454undefined 1 Reply Last reply Reply Quote 0
            • Martin1454undefined
              Martin1454 @Phaedrux
              last edited by

              @Phaedrux Aha! there it is, I did not know it needed M501 to read the override.g

              I already have the values stored in it, but I guess it does not read them XD

              Also any ideas why my fan doesnt turn on when I print? Anyway, thanks!

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

                typically, fans should be setup so F0 is the part cooling fan and F1 is the heat sink cooling fan.
                Slicers by default use F0 as the part cooling fan.
                Swap your settings round so F0 is the part cooling fan and F1 is the heat sink fan and you should be good to go

                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 1
                • achrnundefined
                  achrn @Martin1454
                  last edited by

                  @Martin1454 said in Bed tuning bang-bang? - And thermo fan:

                  Also any ideas why my fan doesnt turn on when I print? Anyway, thanks!

                  Can you clarify what works and what doesn't.

                  You said "if I set my tool temperature to 200 degrees, it turns on fine" - set it how? Is that in DWC?

                  You said "when I try to start a print with a full gcode, it doesnt start". Can you post the first 100-ish lines of a gcode file where it doesn't start.

                  If the fan starts when you set a hot end temperature at the control panel but not when you upload gcode, that suggests it might be a problem with the gcode.

                  Martin1454undefined 1 Reply Last reply Reply Quote 0
                  • Martin1454undefined
                    Martin1454 @achrn
                    last edited by Martin1454

                    @achrn

                    Well, If I set the hot end temperature by DWC, the fan turns on at the 45 degree mark, but If I try start a print from cold state, it doesnt turn on, even if the hot end reaches 200 degrees

                    here is the first layer from sli3cr PE

                    ; generated by PrusaSlicer 2.2.0+win64 on 2020-11-22 at 14:32:01 UTC
                    
                    ; 
                    
                    ; external perimeters extrusion width = 0.45mm
                    ; perimeters extrusion width = 0.45mm
                    ; infill extrusion width = 0.45mm
                    ; solid infill extrusion width = 0.45mm
                    ; top infill extrusion width = 0.40mm
                    ; first layer extrusion width = 0.42mm
                    M80;
                    M107
                    M190 S60 ; set bed temperature and wait for it to be reached
                    M104 S220 ; set temperature
                    G28 ; home all axes
                    G1 Z5 F5000 ; lift nozzle
                    M109 S220 ; set temperature and wait for it to be reached
                    G21 ; set units to millimeters
                    G90 ; use absolute coordinates
                    M82 ; use absolute distances for extrusion
                    G92 E0
                    ; Filament gcode
                    G1 Z0.350 F7800.000
                    G1 E-2.00000 F3000.00000
                    G92 E0
                    G1 X134.903 Y117.482 F7800.000
                    G1 E2.00000 F3000.00000
                    G1 F1800.000
                    G1 X135.970 Y116.731 E2.06547
                    G1 X137.161 Y116.216 E2.13063
                    G1 X138.439 Y115.953 E2.19610
                    G1 X159.076 Y115.922 E3.23179
                    G1 X160.185 Y116.021 E3.28762
                    G1 X161.258 Y116.311 E3.34345
                    G1 X162.265 Y116.785 E3.39929
                    G1 X163.173 Y117.427 E3.45512
                    G1 X163.956 Y118.218 E3.51095
                    G1 X164.588 Y119.134 E3.56678
                    G1 X165.050 Y120.146 E3.62261
                    G1 X165.329 Y121.223 E3.67844
                    G1 X165.415 Y122.245 E3.72992
                    G1 X165.408 Y142.572 E4.75004
                    G1 X165.291 Y143.516 E4.79778
                    G1 X165.034 Y144.432 E4.84552
                    G1 X164.644 Y145.299 E4.89326
                    G1 X164.124 Y146.103 E4.94131
                    G1 X163.166 Y147.112 E5.01113
                    G1 X162.007 Y147.891 E5.08125
                    G1 X160.710 Y148.396 E5.15107
                    G1 X159.335 Y148.606 E5.22089
                    G1 X138.734 Y148.603 E6.25475
                    G1 X137.797 Y148.483 E6.30217
                    G1 X136.888 Y148.225 E6.34960
                    G1 X136.027 Y147.834 E6.39703
                    G1 X135.234 Y147.321 E6.44446
                    G1 X134.225 Y146.363 E6.51427
                    G1 X133.446 Y145.203 E6.58440
                    G1 X132.941 Y143.907 E6.65421
                    G1 X132.731 Y142.532 E6.72403
                    G1 X132.734 Y121.931 E7.75789
                    G1 X132.854 Y120.994 E7.80532
                    G1 X133.112 Y120.084 E7.85275
                    G1 X133.503 Y119.224 E7.90017
                    G1 X134.016 Y118.431 E7.94760
                    G1 X134.862 Y117.526 E8.00975
                    G1 X136.632 Y118.253 F7800.000
                    G1 F1800.000
                    

                    Edit: now that you say, I can see where I define my tool (M563 P0 D0 H1 F0) it have F0 in it, so it tries to tie it as a part cooling fan!

                    achrnundefined 1 Reply Last reply Reply Quote 0
                    • achrnundefined
                      achrn @Martin1454
                      last edited by

                      @Martin1454 said in Bed tuning bang-bang? - And thermo fan:

                      where I define my tool (M563 P0 D0 H1 F0) it have F0 in it, so it tries to tie it as a part cooling fan!

                      Does fixing that solve the problem?

                      Martin1454undefined 1 Reply Last reply Reply Quote 0
                      • Martin1454undefined
                        Martin1454 @achrn
                        last edited by

                        @achrn Just tested, it seems so! 🙂 thanks for the help everyone

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