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

    Bug: RRF 3.3beta2 - G92 B0 changes E axis position

    Scheduled Pinned Locked Moved Unsolved
    Beta Firmware
    4
    20
    741
    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.
    • DocTruckerundefined
      DocTrucker
      last edited by DocTrucker

      Related to this topic:

      https://forum.duet3d.com/topic/21815/syringe-pumps-depositing-viscous-materials/18?_=1616236469240

      Having an issue where running commands using triggers behave differently to using console and spotted a bug. The following runs as expected. Please note the speech marks are containing responses from the Duet, the square brackets just comments from me.

      M114
      "X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:0.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000"
      
      G1 E50 F500
      [Correct syringe moves]
      
      M114
      "X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:50.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000"
      
      M584
      "Driver assignments: X0 Y1 Z2 (r)(c)B4 E3, 4 axes visible"
      
      M584 E4 B3               ; Swap drives
      
      M584
      "Driver assignments: X0 Y1 Z2 (r)(c)B3 E4, 4 axes visible"
      
      M114
      "X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:50.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000"
      
      M574 B1 S1 P"xstop"      ; Set limit
      
      M574
      "Endstop configuration:
      X: low end switch connected to pin nil
      Y: low end switch connected to pin nil
      Z: low end switch connected to pin nil
      B: low end switch connected to pin xstop"
      
      M114
      "X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:50.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000"
      
      G92 B0
      
      M114
      X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:50.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000
      
      G91
      G1 H1 B-100 F400       ; Drive empty syringe to limit.
      
      [Correct syringe moves]
      
      M114
      "X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:50.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000"
      
      G90
      
      M114
      "X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:50.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000"
      
      G1 E50 F500
      
      [Correct syringe moves]
      
      M114
      "X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:100.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000"
      
      M584
      "Driver assignments: X0 Y1 Z2 (r)(c)B3 E4, 4 axes visible"
      
      M584 E3 B4               ; Swap drives
      
      M584
      "Driver assignments: X0 Y1 Z2 (r)(c)B4 E3, 4 axes visible"
      
      M574
      "Endstop configuration:
      X: low end switch connected to pin nil
      Y: low end switch connected to pin nil
      Z: low end switch connected to pin nil
      B: low end switch connected to pin xstop"
      
      M574 B1 S1 P"ystop"      ; Set limit
      
      M574
      "Endstop configuration:
      X: low end switch connected to pin nil
      Y: low end switch connected to pin nil
      Z: low end switch connected to pin nil
      B: low end switch connected to pin ystop"
      

      Now things go screwy:

      M114
      "X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:100.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000"
      
      G92 B0
      
      M114
      "X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:50.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000"
      

      Why has setting the machine B axis position to 0 removed 50 from the E axis position?

      I'm no closer to uncovering the problem that I'm trying to fix but wanted to report the above issue with the beta as soon as possible.

      1 Reply Last reply Reply Quote 1
      • DocTruckerundefined
        DocTrucker
        last edited by

        Is this a confirmed bug in 3.3beta2?

        1 Reply Last reply Reply Quote 0
        • Diamondbackundefined
          Diamondback
          last edited by

          Possibly related:
          https://forum.duet3d.com/topic/22158/g92-cnnn-enforces-position-within-unrelated-y-axis-limits-3-2-2?_=1616506761845

          DocTruckerundefined 1 Reply Last reply Reply Quote 0
          • DocTruckerundefined
            DocTrucker @Diamondback
            last edited by

            @Diamondback Looks possible yes.

            1 Reply Last reply Reply Quote 0
            • DocTruckerundefined
              DocTrucker
              last edited by DocTrucker

              @dc42 @droftarts @T3P3Tony : As per a few messages back please can one of you please confirm this bug.

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

                Yes sorry for the delay. You've given us a lot to chew through.

                Z-Bot CoreXY Build | Thingiverse Profile

                DocTruckerundefined 1 Reply Last reply Reply Quote 0
                • DocTruckerundefined
                  DocTrucker @Phaedrux
                  last edited by DocTrucker

                  @Phaedrux cheers, happy that they've been picked up on and me trying out some less common processes may have brought some fruit for the beta testing. With any luck the issues will be a different perspective on exisiting issues that helps with other current challenges.

                  Edit: Are you a part of the official Duet team now too or helping out keep things in track on the website?

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

                    @DocTrucker, when this code executed from the trigger, was anything else happening? I am wondering whether the change in E value may have been caused by a command executed on another channel.

                    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

                    DocTruckerundefined 1 Reply Last reply Reply Quote 0
                    • DocTruckerundefined
                      DocTrucker @dc42
                      last edited by

                      @dc42 in this example I was running through the code line by line in the command terminal on DWC while the machine was idle.

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

                        @DocTrucker, thanks. Please can you try the firmware build at https://www.dropbox.com/sh/6203euyyobllic5/AABTHIbn7F_maK9p-oy7vq3Ea?dl=0, which includes a fix for the other G92 issue.

                        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

                        DocTruckerundefined 2 Replies Last reply Reply Quote 0
                        • DocTruckerundefined
                          DocTrucker @dc42
                          last edited by

                          @dc42 Thanks, I will try to have a go on it over the weekend, Monday at latest.

                          1 Reply Last reply Reply Quote 0
                          • DocTruckerundefined
                            DocTrucker
                            last edited by

                            @dc42

                            Error: M997: In-application programming binary "0:/firmware/Duet2_SDiap32_WiFiEth.bin" not found

                            I don't normally have a firmware folder?

                            I re-ran the tests today and this is the shortest way of replicating the issue:

                            29/03/2021, 19:30:32 	Emergency stop, attemping to reconnect...
                            
                            29/03/2021, 19:30:39 	M114
                            X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:0.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000
                            
                            29/03/2021, 19:30:47 	G1 E1 F500
                            29/03/2021, 19:30:47 	G1 E1 F500
                            29/03/2021, 19:30:48 	G1 E1 F500
                            
                            29/03/2021, 19:30:53 	M114
                            X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:3.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000
                            
                            29/03/2021, 19:31:00 	G92 B0
                            
                            29/03/2021, 19:31:04 	M114
                            X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:1.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000
                            

                            Can we have another 't' in attempting please?

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

                              3.3 adds the use of a /firmware folder to help clean up the sys folder.

                              Are you also using DWC 3.3 beta2?

                              You may need to create the folder manually and move your firmware files over.

                              Z-Bot CoreXY Build | Thingiverse Profile

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

                                @phaedrux said in Bug: RRF 3.3beta2 - G92 B0 changes E axis position:

                                You may need to create the folder manually and move your firmware files over.

                                It's sufficient just to upload the IAP file through DWC 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
                                • DocTruckerundefined
                                  DocTrucker
                                  last edited by

                                  I'll have a go first thing tomorrow. Things overran today.

                                  1 Reply Last reply Reply Quote 0
                                  • DocTruckerundefined
                                    DocTrucker
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • DocTruckerundefined
                                      DocTrucker @dc42
                                      last edited by DocTrucker

                                      @dc42 Problem remains...

                                      30/03/2021, 08:28:39 	M114
                                      X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:0.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000
                                      
                                      30/03/2021, 08:28:52 	G1 E1 F500
                                      30/03/2021, 08:28:53 	G1 E1 F500
                                      30/03/2021, 08:28:53 	G1 E1 F500
                                      
                                      30/03/2021, 08:28:58 	M114
                                      X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:3.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000
                                      
                                      30/03/2021, 08:29:06 	G92 B0
                                      
                                      30/03/2021, 08:29:09 	M114
                                      X:0.000 Y:0.000 Z:0.000 B:0.000 E:0.000 E0:1.0 Count 0 0 0 0 Machine 0.000 0.000 0.000 0.000 Bed comp 0.000
                                      

                                      Contents of system folder: https://www.dropbox.com/s/7c18bi3c23hz3bc/210330_download.zip?dl=0

                                      Board: Duet 2 Ethernet (2Ethernet)
                                      Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.3beta2+1 (2021-03-26)
                                      Duet Web Control 3.3.0-b2

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

                                        @doctrucker, thanks, I've reproduced that. Looking into it now.

                                        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

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

                                          Fixed in next 3.3beta.

                                          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

                                          DocTruckerundefined 1 Reply Last reply Reply Quote 0
                                          • DocTruckerundefined
                                            DocTrucker @dc42
                                            last edited by

                                            @dc42 great!

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