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

    Jerk and acceleration settings cr-10s5

    Scheduled Pinned Locked Moved Unsolved
    Tuning and tweaking
    2
    16
    2.0k
    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.
    • ziggymanpopoundefined
      ziggymanpopo
      last edited by

      ; Configuration file for Duet WiFi (firmware version 1.21)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool on Thu Sep 06 2018 21:21:12 GMT-0700 (Pacific Daylight Time)

      ; General preferences
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves

      ; Network
      M550 Pe3 ; Set machine name
      M552 S1 ; Enable network
      ;*** Access point is configured manually via M587
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

      ; Drives
      M569 P0 S0 ; Drive 0 goes forward
      M569 P1 S1 ; Drive 1 goes backwards
      M569 P2 S1 ; Drive 2 goes forwards
      M569 P3 S0 ; Drive 3 goes backwards

      M569 P3 S1 ; Drive 3 (Extruder 0) goes backwards

      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
      ; M92 X79.7 Y79.6 Z400.4 E96 ; Set steps per mm
      M92 X79.2 Y79.2 Z400.5 E96 ; Set steps per mm

      M566 X600 Y600 Z24 E300 ; Set maximum instantaneous speed changes (mm/min)
      M203 X30000 Y30000 Z300 E1500 ; Set maximum speeds (mm/min)
      M201 X300 Y300 Z100 E5000 ; Set accelerations (mm/s^2) was 500 you changed it to 300 for stall guard
      M906 x950 Y950 Z850 E950 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S300 ; Set idle timeout

      ; Axis Limits
      ; M208 X-5.5 Y-10 Z0 S1 ; Set axis minima
      ; M208 X258.5 Y246 Z260 S0 ; Set axis maxima

      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X500 Y500 Z500 S0 ; Set axis maxima

      ; Endstops
      M574 X0 Y0 Z0 S1 ; Set endstops controlled by motor l

      ; Z-Probe
      ; M558 P5 H5 F100 T2000 ; Set Z probe type to bltouch and the dive height + speeds
      M558 P9 H5 F100 T4000 ; Set Z probe type to bltouch and the dive height + speeds
      G31 P500 X-42 Y-5 Z1.35 ; Set Z probe trigger value, offset and trigger height - is Nozzle hoger

      M557 X15:215 Y35:215 S20 ; Define mesh grid

      ; Heaters
      M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S120 ; Set temperature limit for heater 0 to 80C
      M305 P1 T100000 B4400 R4700 ; Set thermistor + ADC parameters for heater 1
      M143 H1 S280 ; Set temperature limit for heater 1 to 240C

      ; M307 H1 A245.3, C121.7, D4.0, S0.5 ; PID

      ; Fans
      ; M106 P0 S1 I0 F500 H T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
      ; M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off

      M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

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

      ; Automatic saving after power loss is not enabled
      ; Custom settings are not configured

      ; BLTouch - Heaters
      M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch

      ; Enable Bed Leveling
      G29 S1 ; Enable Mesh Bed Leveling

      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • ziggymanpopoundefined
        ziggymanpopo
        last edited by

        ; homeall.g

        G91 ; relative positioning
        G1 S2 X0.2 Y0.2 Z0.2 ; Move all axis 0.2 mm, clear stall status
        M98 Pdeployprobe.g ; deploy mechanical Z probe

        ; x and y Sensor less homing
        M400 ; make sure everything has stopped before we make changes
        M915 X S2 Y S3 R0 F0 ; set X and Y sensitivity, do nothing when stall, unfiltered
        M574 X1 Y1 S3 ; set endstops to use motor stall
        G1 S2 Z10 F1200 ; lift Z
        G1 S1 X-265 Y-260 F5000 ; move X and Y back, stopping at the end stop
        M400 ; make sure everything has stopped
        G90 ; back to absolute mode

        ;G1 X115 Y115 F12000 ; Move to center of bed and home Z
        G1 X127 Y134 F6000 ; go to first bed probe point and home Z
        G30 ; home Z by probing the bed

        M915 X S10 Y S10 R3 F0 ; set X and Y sensitivity to -0, when stall home XY and resume print, filtered so it takes 4 steps to figure out it has stalled

        M98 Pretractprobe.g ; retract mechanical Z probe

        Phaedruxundefined 1 Reply Last reply Reply Quote 0
        • ziggymanpopoundefined
          ziggymanpopo
          last edited by

          ; homex.g

          G91 ; relative positioning
          G1 S2 X0.2 Y0.2 Z0.2 ; Move all axis 0.2 mm, clear stall status
          M400 ; make sure everything has stopped before we make changes
          M915 X S2 R0 F0 ; set X and Y sensitivity, do nothing when stall, unfiltered
          M574 X0 S1 ; set endstops to use motor stall
          G1 S1 X-265 F5000 ; move X, stopping at the end stop
          G1 Z-0.2 ; Move all axis -0.2 mm,
          M400 ; make sure everything has stopped
          G90 ; back to absolute mode
          M915 X S2 Y S3 R3 F0 ; set X and Y sensitivity to 0, when stall home XY and resume print, filtered so it takes 4 steps to figure out it has stalled

          1 Reply Last reply Reply Quote 0
          • ziggymanpopoundefined
            ziggymanpopo
            last edited by

            ; homey.g

            G91 ; relative positioning
            G1 S2 X0.2 Y0.2 Z0.2 ; Move all axis 0.2 mm, clear stall status
            M400 ; make sure everything has stopped before we make changes
            M915 Y S2 R0 F0 ; set X and Y sensitivity, do nothing when stall, unfiltered
            M574 Y0 S1 ; set endstops to use motor stall
            G1 S1 Y-260 F5000 ; move X, stopping at the end stop
            G1 Z-0.2 ; Move z -0.2 mm,
            M400 ; make sure everything has stopped
            G90 ; back to absolute mode
            M915 X S2 Y S3 R3 F0 ; set X and Y sensitivity to 0, when stall home XY and resume print, filtered so it takes 4 steps to figure out it has stalled

            1 Reply Last reply Reply Quote 0
            • ziggymanpopoundefined
              ziggymanpopo
              last edited by

              thanks for looking

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

                @ziggymanpopo said in Jerk and acceleration settings cr-10s5:

                ; Enable Bed Leveling
                G29 S1 ; Enable Mesh Bed Leveling

                You should probably move this to the end of your homeall rather than the end of config.g. Having it enabled as soon as the printer is turned on means that you haven't yet defined where Z0 is, which can lead to frustrations with first layers.

                @ziggymanpopo said in Jerk and acceleration settings cr-10s5:

                G31 P500

                Try G31 P25 instead for a tighter trigger threshold on theBLtouch.

                @ziggymanpopo said in Jerk and acceleration settings cr-10s5:

                M98 Pdeployprobe.g ; deploy mechanical Z probe
                M98 Pretractprobe.g ; retract mechanical Z probe

                You don't need to manually deploy or retract the pin. The Duet will do that on it's own as needed for probing.

                @ziggymanpopo said in Jerk and acceleration settings cr-10s5:

                M566 X600 Y600 Z24 E300 ; Set maximum instantaneous speed changes (mm/min)
                M203 X30000 Y30000 Z300 E1500 ; Set maximum speeds (mm/min)
                M201 X300 Y300 Z100 E5000 ; Set accelerations (mm/s^2

                X and Y jerk look fine, especially for a large bed like the S5.
                Z jerk may be a bit low for mesh bed leveling. Try Z60.
                E jerk is bit low at 300, especially if you intend to use pressure advance. Try adding an order of magnitude, 3000.
                X and Y acceleration are a bit low. 600-900 for X wouldn't be too crazy. Given the size of the Y axis 600 would probably be appropriate.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • ziggymanpopoundefined
                  ziggymanpopo
                  last edited by

                  Yeah prob. Should have mentioned that i have an abl inductive sensor not a bl toutch ,, so i believe the person who helped me with the original files picked a generic file just to get me going. So fare so good but i have some serious clean up to do not sure where to start except "one thing at a time. " just like any kit printer i realize my learnig curve the printer has some issue because of the board configuration and the printer are not quite a match or set right. i will take one ore two items at a time . The info has been invaluable. And i think this will keep me focused i thank all for there input 😁

                  1 Reply Last reply Reply Quote 0
                  • ziggymanpopoundefined
                    ziggymanpopo
                    last edited by

                    What is causing ghosting and ripples in the y axes ...its just in the y ??? Does it have to do woth the weight of my 500mm bed... Also if i turn up any settings won't it hit the end stop harder ...what in the setup made the end stops no longer function. Should i chainge it back so they do and will this stop hard hits when homming

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

                      @ziggymanpopo said in Jerk and acceleration settings cr-10s5:

                      G1 S1 X-265 Y-260 F5000 ; move X and Y back, stopping at the end stop

                      It's stopping halfway because you're only moving half the distance of the full bed size. Increase those movements to more than 500 to ensure they hit the endstop.

                      I didn't realize you were not using the BLTouch. If the probe is working, leave the settings as is and disregard my comments.

                      If you're still getting ringing even with those conservative values I would look at belt tension and flex. Such a large and heavy bed is going to be difficult to tame.

                      The speed of the homing moves is set in the homing files. Since you're using sensorless homing you must use a fairly rapid move for the stall detection to trigger properly. Personally I'm not a fan of the idea of slamming my print head into a physical stop to home, but it seems to be all the rage these days.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • ziggymanpopoundefined
                        ziggymanpopo
                        last edited by

                        I agree??? slamming is no good. Is there an easy way to put endstops back in play ??? Did that happen when i activated the. Abl sensor in the gcode??? Is it advisable to reactivate the end stops...When i set up the board they worked ??? The second problem i have is with the stall feature is when it is at the home on x,,, and its not on home for y ans z . It makes an auful sound on x when homming y and z . "The rest of the way." "like when an print is done"it homes y and z... but x isballready homed.... So it grinds x because its allready homed....then it homes the other two. Any hints highly appreciated

                        1 Reply Last reply Reply Quote 0
                        • ziggymanpopoundefined
                          ziggymanpopo
                          last edited by

                          Would it be possable to increase the size of the belt to aid in the taming of my large bed. ???
                          Id thought about putting in linear screws and guides. as a solution for the y axes

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

                            Well if the end stop switches are still in place and connected to the board you can change the config to use those instead of stall detection.

                            Z-Bot CoreXY Build | Thingiverse Profile

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

                              @ziggymanpopo said in Jerk and acceleration settings cr-10s5:

                              Would it be possable to increase the size of the belt to aid in the taming of my large bed. ???
                              Id thought about putting in linear screws and guides. as a solution for the y axes

                              Larger belts may help for belt stretch but so would higher quality belts. It still doesn't reduce the weight of the bed though.

                              Linear screws have their own rotational momentum to deal with so aren't actually a solution. You'd be limited to the same or lower acceleration.

                              Z-Bot CoreXY Build | Thingiverse Profile

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