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

    RRF 3.4.0beta7 resume bug when using arcs

    Scheduled Pinned Locked Moved
    Beta Firmware
    3
    13
    690
    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.
    • EducatingSavvasundefined
      EducatingSavvas
      last edited by Phaedrux

      Hi - I think I've noticed a bug with RRF 3.4beta7 - after resuming from a pause the job doesn't commence. To make this complicated I am testing an external trigger which I am using as a door enclosure interlock for a CNC machine. Pausing using the web interface and the external trigger seem to cause the same response while resuming. The status of the machine goes from resuming to processing but there is no movement. This isn't an issue with RRF3.3.

      The door external trigger is defined as such in the config.g file:

      M950 J5 C"e0stop"		; use e0stop for input j5
      M581 T5 P5 S0 R0		; T5 trigger active-to-inactive edge at anytime
      

      Condition2.g looks like this:

      while sensors.gpIn[5].value=0
      	M291 S2 R"Enclosure Door Open" P"Close the door and press OK to continue."
      

      Trigger5.g looks like this:

      if state.status == "processing" & sensors.gpIn[5].value=0
      	M25				; Pause
      

      My start.g file looks like this:

      M98 P"Condition2.g"	; call condition2.g to check enclosure door pin
      

      My pause.g file looks like this:

      G91				; relative positioning
      G1 Z5 F500			; slowly move z axis to safe location clearing material
      G90				; absolute positioning
      M5				; turn off spindle PWM & spindle enable
      G53 G1 F1000 Z129		; move z axis to safe z
      

      And resume.g file like this:

      M98 P"condition2.g"	; Call Condition2 to check enclosure door pin.
      M3 R1			; Turn on Spindle Enable
      G4 S1			; Dwell to give time for spindle to reach speed.
      
      EducatingSavvasundefined 1 Reply Last reply Reply Quote 1
      • EducatingSavvasundefined EducatingSavvas referenced this topic
      • EducatingSavvasundefined
        EducatingSavvas @EducatingSavvas
        last edited by

        Just double checked this again with 3.4 Beta 7+7, this time without the enclosure door code. I also removed the daemon.g file which controlled some LED's but the resume after a pause between jobs is still very long - almost unresponsive. With RRF3.3 I sometimes get long resume waiting time (up to 10 seconds) after a pause mid job. I'm not sure if this is because my post processor uses gcode Arcs.

        I'm not sure if @dc42 is aware of this issue?

        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @EducatingSavvas
          last edited by

          @educatingsavvas have you added a small segment setting to your config?
          Try M669 T1 S1. That splits the moves up into small segments and should allow you to pause more quickly

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          EducatingSavvasundefined 1 Reply Last reply Reply Quote 0
          • EducatingSavvasundefined
            EducatingSavvas @jay_s_uk
            last edited by

            @jay_s_uk said in RRF 3.4.0beta7 resume bug:

            M669

            Hi Jay - I have it m669 in the config file already, as such:

            M669 K0 S1 T3
            

            The pause occurs pretty instantly but resuming takes a long while with RRF3.3 and even longer with RRF3.4beta7+7

            jay_s_ukundefined 1 Reply Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk @EducatingSavvas
              last edited by

              @educatingsavvas ah, my bad then. I can't say I've had any issues resuming with the last 3.4 betas I've used but I'm not really doing anything complicated

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

              EducatingSavvasundefined 1 Reply Last reply Reply Quote 0
              • EducatingSavvasundefined
                EducatingSavvas @jay_s_uk
                last edited by

                @jay_s_uk I'll try adjusting my post processor to not use Arcs and see if that is the issue - I seem to remember that was an issue with older firmware versions. I have slimmed everything down for the current CNC controller, so not sure what is going on.

                This is a video of the resume dwell using RRF3.3 https://youtu.be/V2cP_cfPh40 - it is much longer with RRF3.4beta to the point that I normally cancel the job.

                1 Reply Last reply Reply Quote 0
                • EducatingSavvasundefined
                  EducatingSavvas
                  last edited by

                  @jay_s_uk I can confirm the use of arcs in the gcode seems to be the problem. I removed any lines referring to arc moves from the post processor and the long resume time has stopped with RRF3.4. But this now means the Gcode files are really large.

                  jay_s_ukundefined dc42undefined 2 Replies Last reply Reply Quote 1
                  • jay_s_ukundefined
                    jay_s_uk @EducatingSavvas
                    last edited by

                    @educatingsavvas one for @dc42 to take a look at

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                      @educatingsavvas thanks for pinning this down further. This was already on my list to investigate and resolve before we release 3.4.0rc1.

                      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

                      EducatingSavvasundefined 1 Reply Last reply Reply Quote 1
                      • EducatingSavvasundefined
                        EducatingSavvas @dc42
                        last edited by

                        @dc42 Please let me know if you want me to test anything.

                        dc42undefined 2 Replies Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @EducatingSavvas
                          last edited by

                          @educatingsavvas I confirm this issue and I am working on a fix.

                          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
                          • dc42undefined
                            dc42 administrators @EducatingSavvas
                            last edited by

                            @educatingsavvas which Duet do you need a firmware build for?

                            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

                            EducatingSavvasundefined 1 Reply Last reply Reply Quote 0
                            • EducatingSavvasundefined
                              EducatingSavvas @dc42
                              last edited by

                              @dc42 Morning, I'm using a Duet 2 Wifi.

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