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

    Weird Z-Movement after Tool-Select

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    10
    294
    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.
    • Nateundefined
      Nate
      last edited by

      I have a delta-printer, with a tool-changing mechanism, running RRF3.
      Here is what happens when I select a tool:

      1. Effector picks up tool.
      2. Printer waits for tool reaching set temperature.
      3. Effector tries to move to position it was before selecting the tool.
        however: only movement in Z-axis, not in X or Y! And endstops are being ignored and rammed if "in the way".

      I have no clue where this is coming from, as I have no command for any of this in the macros. Does anybody know what I'm missing?

      ; tpre0.g
      M98 P"0:/macros/Exchange_Mechanism/PickUpA.g"

      ; tpost0.g
      M116 P0 S5

      ; tfree0.g
      M98 P"0:/macros/Exchange_Mechanism/DropOffA.g"

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by dc42

        Please provide those two macro files.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • Nateundefined
          Nate
          last edited by Nate

          Here are the Macros. If I just run them, one after the other, I have no issues. Everything goes perfect. The problems only occurs with T0, T1, T2 and T-1

          ;PickUpA.g

          G53 G1 A0 B0 C0
          G53 G1 Z268.15 F20000
          G53 G1 X-60.6 Y-86.5 F20000
          G53 G1 W0.000 F1200
          G53 G1 A115.000 F15000
          G53 G1 Z313.15 F20000
          G53 G1 Z353.50 F20000
          G53 G1 W20.000 F1200
          G53 G1 Z338.5 F20000
          G53 G1 A0.000 F15000
          G28 A

          ;DropOffA.g
          G53 G1 A0 B0 C0
          G53 G1 Z338.5 F20000
          G53 G1 X-59.6 Y-87.1 F20000
          G53 G1 A115.000 F15000
          G53 G1 Z352.3 F15000
          G53 G1 W0.0000 F1200
          G53 G1 Z268.15 F20000
          G53 G1 A0.000 F15000
          G28 A

          1 Reply Last reply Reply Quote 0
          • Nateundefined
            Nate
            last edited by

            I've updated to the RRF3.2.2, but the problems unfortunately did not disappear. I forgot to mention, that I'm using a Duet2 with a Duex5, maybe that can help? I would appreciate any suggestions. @dc42

            Thank you very much!

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

              Can you post your config.g as well?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • Nateundefined
                Nate
                last edited by Nate

                Of course! Here is my Config.g, hope it's helpful. If you need more information, just let me know. Thanks for your effort!!
                @Phaedrux

                Config.g :

                M665 R242.674 L408.55 B160 H432.048 X-0.073 Y-0.361 ; Set delta radius, diagonal rod length, printable radius and homed height

                M666 X0.21 Y-1.75 Z1.54 ; put your endstop adjustments here, or let auto calibration find them
                B105 (R242.28 L408.55)

                ; Network
                M552 S1 ; enable network
                M586 P0 S1 ; enable HTTP
                M586 P1 S0 ; disable FTP
                M586 P2 S0 ; disable Telnet

                ; Drives
                M569 P0 S1 ; physical drive 0 goes forwards
                M569 P1 S1 ; physical drive 1 goes forwards
                M569 P2 S1 ; physical drive 2 goes forwards
                M569 P3 S1 ; physical drive 3 goes forwards
                M569 P4 S1 ; physical drive 4 goes backwards
                M569 P5 S1 ; physical drive 5 goes forwards
                M569 P6 S1 ; physical drive 6 goes forwards
                M569 P7 S1 ; physical drive 7 goes forwards
                M569 P8 S1 ; physical drive 8 goes forwards
                M569 P9 S1 ; physical drive 9 goes forwards

                M584 X0 Y1 Z2 E3:4:5 W6 A7 B8 C9 ; set drive mapping
                M350 X16 Y16 Z16 E16:16:16 W16 A16 B16 C16 I1 ; configure microstepping with interpolation

                M92 X100.00 Y100.00 Z100.00 E404.00:404.00:404.00 ; set steps per mm
                M92 W1500 A84 B84 C84 ; set steps per mm
                M566 X1200.00 Y1200.00 Z1200.00 E1200.00:1200.00:1200.00 ; set maximum instantaneous speed changes (mm/min)
                M566 W800 A1200 B1200 C1200 ; set maximum instantaneous speed changes (mm/min)
                M203 X36000.00 Y36000.00 Z36000.00 E3400.00:3400:3400 ; set maximum speeds (mm/min)
                M203 W2000 A6000.00 B6000.00 C6000.00 ; set maximum speeds (mm/min)
                M201 X900.00 Y900.00 Z900.00 E1000.00:1000.00:1000.00 ; set accelerations (mm/s^2)
                M201 W500.00 A600.00 B600.00 C600.00 ; set accelerations (mm/s^2)
                M906 X1428 Y1428 Z1428 I100 ; set motor currents (mA) and motor idle factor in per cent
                M906 A700 B700 C700 I90 ; set motor currents (mA) and motor idle factor in per cent
                M906 W500 E1275:1275:1275 I30 ; set motor currents (mA) and motor idle factor in per cent
                M84 S30 ; Set idle timeout

                ; Axis Limits
                ;M208 X-5:200 Y0:200 Z0:90 ; set axis minima and maxima X Y Z
                M208 Z0 S1 ; set minimum Z
                M208 W0:50 S0 ; Set minimum
                M574 W1 S3 ; Set active high endstops 2, low endstops 1, S3 load detection

                ; Endstops
                M574 X2 S1 P"xstop"
                M574 Y2 S1 P"ystop"
                M574 Z2 S1 P"zstop" ; axis max (2), NC endstops(1)
                M574 A1 S1 P"e1stop"
                M574 B1 S1 P"duex.e2stop"
                M574 C1 S1 P"duex.e3stop" ; arm endstops

                ; Z-Probe
                M558 P1 I0 C"!zprobe.in" H5 R0.3 F350 T6000 ; set Z probe type to unmodulated and the dive height + speeds
                G31 P530 X0 Y0 Z-0.154 ; set Z probe trigger value, offset and trigger height (vorher Z -0.138 JT)
                M557 R65 S20 ; define mesh grid

                ; Heaters
                M308 S0 P"bedtemp" Y"thermistor" T100000 B4700 ; configure sensor 0 as thermistor on pin bedtemp
                M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
                M140 H0 ; map heated bed to heater 0
                M143 H0 S120 ; set temperature limit for heater 0 to 120C

                M308 S1 P"e0temp" Y"thermistor" T100000 B4700 ; configure sensor 1 as thermistor on pin e0temp
                M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat 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

                M308 S2 P"e1temp" Y"thermistor" T100000 B4700 ; configure sensor 2 as thermistor on pin e1temp
                M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
                ;M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
                M143 H2 S270 ; set temperature limit for heater 2 to 270C

                M308 S3 P"duex.e2temp" Y"thermistor" T100000 B4700 ; configure sensor 3 as thermistor on pin duex.e2temp
                M950 H3 C"duex.e2heat" T3 ; create nozzle heater output on duex.e2heat and map it to sensor 3
                ;M307 H3 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
                M143 H3 S270 ; set temperature limit for heater 3 to 270C

                ; Fans
                M950 F0 C"fan1" Q500 ; create fan 0 on pin fan1 and set its frequency
                M106 P0 C"Tool_Fan0" S1 H1 ; set fan 0 value. Thermostatic control is turned on

                M950 F1 C"duex.fan6" Q500 ; create fan 1 on pin fan2 and set its frequency
                M106 P1 C"Tool_Fan1" S1 H2 I-1 ; set fan 1 value. Thermostatic control is turned on

                M950 F2 C"duex.fan3" Q500 ; create fan 2 on pin duex.fan3 and set its frequency
                M106 P2 C"Tool_Fan2" S1 H3 I-1 ; set fan 2 value. Thermostatic control is turned on

                M950 F6 C"duex.fan4" Q500 ; create fan 3 on pin duex.fan4 and set its frequency
                M106 P6 C"Print_Fan" S1.0 H-1 ; set fan 3 name and value. Thermostatic control is turned off

                ;M950 F4 C"duex.fan5" Q500 ; create fan
                ;M106 P4 C"LED Ring" S0 I0 H-1 ; set fan 4 name, value, PWM signal inversion and frequency. Thermostatic control is turned off

                ; Tools
                M563 P0 S"Tool_A" D0 H1 F6 ; define tool 0
                G10 P0 X0 Y0 Z-0.35 ; set tool 0 axis offsets
                G10 P0 S50 R0 ; set initial tool 0 active temperatures to 210 and standby to 100C

                M563 P1 S"Tool_B" D1 H2 F6 ; define tool_1
                G10 P1 X-0.25 Y0 Z-0.3 ; set tool_test axis offsets
                G10 P1 S50 R0 ; set initial tool_test active temperatures to 210 and standby to 100C

                M563 P2 S"Tool_C" D2 H3 F6 ; define tool 2
                G10 P2 X0 Y0 Z0.15 ; set tool 2 axis offsets
                G10 P2 S50 R0 ; set initial tool 2 active temperatures to 210 and standby to 100C

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

                  Can you also send M98 P"config.g" and post the response? I should have asked for that yesterday.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • Nateundefined
                    Nate
                    last edited by

                    @Phaedrux said in Weird Z-Movement after Tool-Select:

                    M98 P"config.g"
                    Hello @Phaedrux,

                    thanks for your help. Sorry for the late response, I have a bunch of other projects/problems!

                    Since my last comment, I have started from "scratch" and for now I have only one tool defined.

                    When I run M98"config.g" I get:
                    "HTTP is enabled on port 80
                    FTP is disabled
                    TELNET is disabled"

                    Unfortunately, the problem with the Z-Movement after selecting a Tool is still there...

                    I can't upload it, but I can send you a video of the issue.

                    Thanks for the effort, I am really appreciating your input! 😄

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

                      Yes seeing a video of what's happening is always helpful.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • Nateundefined
                        Nate
                        last edited by

                        @Phaedrux here you go! https://drive.google.com/file/d/1S18fh7jU5ZEb7RN48WgYpDUr4G7xL95y/view?usp=sharing

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