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

    Z drive jumping layers help.

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    z axis home driver g-code g code firmware
    3
    9
    1.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.
    • waggonburner3undefined
      waggonburner3
      last edited by

      Z moving .15 - .20mm up on printing starts at .40 jumps to .50 then .70mm and so on iv used two different slicers and it dose not change.My x and y seem to run fine im lost. Im running 2.02 firmware on the ender 3

      ; Drives
      M569 P0 S0 ; Drive 0 goes backwards
      M569 P1 S0 ; Drive 1 goes backwards
      M569 P2 S1 ; Drive 2 goes backwards
      M569 P3 S0 ; Drive 3 goes backwards
      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
      M92 X80.00 Y80.00 Z4000.00 E420.00 ; Set steps per mm
      M566 X900.00 Y900.00 Z900.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; Set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z500.00 E250.00 ; Set accelerations (mm/s^2)
      M906 X800.00 Y800.00 Z800.00 E800.00 I30 ; 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 X220 Y220 Z250 S0 ; Set axis maxima

      ; Endstops
      M574 X1 Y1 Z0 S1 ; Set active high endstops

      ; Z-Probe
      ;M558 P9 F100 H5 R0.2 T6000 A5 B1 ; Set Z probe type to unmodulated and the dive height + speeds
      ;G31 P25 X10 Y10 Z2 ; Set Z probe trigger value, offset and trigger height
      ;M307 H3 A-1 C-1 D-1 ; Define mesh grid
      ;M557 X10 Y10 Z0

      ; Heaters
      M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
      M307 H1 A273.5 C93.8 D4.9 S1.00 V23.9 B0 ; set parameters for heater 1
      M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S120 ; Set temperature limit for heater 0 to 120C
      M305 P1 X150 T"K" ; set thermocouple parameters for heater 1 x150 is thr right channel (terminal block) on the daughterboard. x151 is the right channel.
      ;M305 P1 X201 ; Configure thermocouple for heater 1
      M143 H1 S325 ; Set temperature limit for heater 1 to 325C

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

      ; 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

      mudcruzrundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • mudcruzrundefined
        mudcruzr @waggonburner3
        last edited by

        @waggonburner3 said in Z drive jumping layers help.:

        ; Endstops
        M574 X1 Y1 Z0 S1 ; Set active high endstops
        ; Z-Probe
        ;M558 P9 F100 H5 R0.2 T6000 A5 B1 ; Set Z probe type to unmodulated and the dive height + speeds
        ;G31 P25 X10 Y10 Z2 ; Set Z probe trigger value, offset and trigger height
        ;M307 H3 A-1 C-1 D-1 ; Define mesh grid
        ;M557 X10 Y10 Z0

        Your config.g says you have no z endstop (M574 ... Z0) but your z-probe lines are commented out, so how does your printer know how to home z?

        waggonburner3undefined 1 Reply Last reply Reply Quote 0
        • waggonburner3undefined
          waggonburner3 @mudcruzr
          last edited by

          @mudcruzr I'm not sure I had to play with this thing just to get it working and not crash on every drive. But everything homes great.

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

            @waggonburner3 said in Z drive jumping layers help.:

            M92 X80.00 Y80.00 Z4000.00 E420.00 ; Set steps per mm

            How sure are you that your Z steps is 4000?

            Z-Bot CoreXY Build | Thingiverse Profile

            waggonburner3undefined 1 Reply Last reply Reply Quote 0
            • waggonburner3undefined
              waggonburner3 @Phaedrux
              last edited by

              @phaedrux I'm not I new to the g coding I'm learning on the fly.

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

                This will help you calculate the right steps per mm value.

                https://www.prusaprinters.org/calculator/#stepspermmlead

                I'm gonna guess that it's a 1.8 degree motor, 16 microsteps, and a TR8*8 lead screw that moves 8mm per rotation, which would make your z steps per mm 400 rather than 4000. That would explain why it's moving more than it should be.

                Z-Bot CoreXY Build | Thingiverse Profile

                waggonburner3undefined 1 Reply Last reply Reply Quote 0
                • waggonburner3undefined
                  waggonburner3 @Phaedrux
                  last edited by

                  @phaedrux that was a genarated number that came from the upload I will change and test and also read the article you sent.

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

                    @waggonburner3 The configurator also has a built in calculator, but you have to actually use it. 4000 is probably the default.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • waggonburner3undefined
                      waggonburner3
                      last edited by

                      Thank you to everyone for the help I'm getting decent prints now I'll probably hooking up the bltouch in a day or so hope u can handle that by my self but I'm not holding my breath. Lol

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