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

    Resume print after color change in vase mode issue

    Scheduled Pinned Locked Moved
    General Discussion
    2
    15
    1.8k
    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.
    • mrac1undefined
      mrac1
      last edited by

      Within the post processing in S3D, and this command:

      {REPLACE "; process color2" "M98 P/macros/color change"}
      {REPLACE "; process color3" "M98 P/macros/color change"}
      …

      I rename the processes for the color change accordingly

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

        I think the problem is no pause command is being issued, so the paused coordinates needed by the G1 R1 commands at the end are undefined.

        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
        • mrac1undefined
          mrac1
          last edited by

          Now I've tried it with M226, but this doesn't solve the problem. But I've seen, the z-height ist correct, it's just to slow and the filament is ozzing out while traveling (takes about 5sec).
          The weird thing is, without vase mode, it works really nice.

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

            Without vase mode, my guess is that the slicer is inserting a move to the correct XYZ position immediately after that comment you are replacing and the associated tool change.

            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
            • mrac1undefined
              mrac1
              last edited by

              This is the gcode in normal mode:

              G1 X-8.710 Y11.054 E0.0291
              G1 X-9.300 Y10.635 E0.0291
              G1 X-9.623 Y10.357 E0.0171
              G1 X-9.850 Y10.161 F1019
              G1 E-1.6000 F2100
              G1 Z5.250 F15000
              M98 P/macros/color change
              ; layer 21, Z = 5.200
              M104 S215 T0
              M140 S60
              M106 S224
              G1 X-9.855 Y10.156 F18000
              G1 Z5.200 F15000
              G1 E1.6000 F2100
              G1 X-10.158 Y9.854 E0.0172 F1019
              G1 X-10.399 Y9.587 E0.0144
              G1 X-10.808 Y9.069 E0.0265

              and in vase mode:

              G1 X-8.710 Y11.054 Z4.944 E0.0291
              G1 X-9.300 Y10.635 Z4.946 E0.0291
              G1 X-9.850 Y10.161 Z4.948 E0.0291
              M98 P/macros/color change
              ; layer 21, Z = 5.200
              M104 S215 T0
              M140 S60
              M106 S224
              G1 X-10.158 Y9.854 Z4.950 E0.0175 F1019
              G1 X-10.399 Y9.587 Z4.951 E0.0144
              G1 X-10.808 Y9.069 Z4.952 E0.0265

              Maybe you find something what's going wrong.

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

                So in normal mode you have this:

                M98 P/macros/color change
                ; layer 21, Z = 5.200
                M104 S215 T0
                M140 S60
                M106 S224
                G1 X-9.855 Y10.156 F18000
                G1 Z5.200 F15000
                G1 E1.6000 F2100
                G1 X-10.158 Y9.854 E0.0172 F1019
                
                

                After the tool change it sets XY and then Z to the required position before it does any extrusion. In vase mode it does this:

                M98 P/macros/color change
                ; layer 21, Z = 5.200
                M104 S215 T0
                M140 S60
                M106 S224
                G1 X-10.158 Y9.854 Z4.950 E0.0175 F1019
                
                

                It doesn't reset the position before extruding again.

                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
                • mrac1undefined
                  mrac1
                  last edited by

                  In normal mode, it's the startpoint of the next layer, in vase mode, there ist no startpoint, because there ist no endpoint from the last layer. Any suggestions how I could solve this?

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

                    I am implementing the G60 command in firmware 1.21RC3. I think using this will solve your problem.

                    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
                    • mrac1undefined
                      mrac1
                      last edited by

                      Thank you very much David!

                      1 Reply Last reply Reply Quote 0
                      • mrac1undefined
                        mrac1
                        last edited by

                        Unfortunately, nothing has changed. G60 S0 saves the current position and with G1 R0 the nozzle is going back to the saved position. But I do not think that's the problem. The position is simply approached very slowly. And as I said, the strange thing is, it only happens in vase mode. Otherwise the movement is normal fast.
                        From these lines, it is slow:
                        G1 R1 Z50 F6000 ; go to 50mm above position of the last print move
                        G1 R1 ; go back to the last print move
                        Then it goes on normally.

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

                          G1 R0 does nothing at all because only axes that are mentioned are moved. Use these lines instead:

                          G1 R0 X0 Y0 Z50 F6000
                          G1 R0 X0 Y0 Z0

                          I don't know why you use Z50, I use Z2 for this sort of thing.

                          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 1
                          • mrac1undefined
                            mrac1
                            last edited by

                            The 50mm are only for the test so that there is more room for the extruded filament when changing. I'll try your suggestion later, I'm curious if this affects the travel speed.

                            1 Reply Last reply Reply Quote 0
                            • mrac1undefined
                              mrac1
                              last edited by

                              You where right! šŸ™‚ Travel speed is now fast again! Thank you!

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