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

    Switching from Stable to Unstable versions

    Scheduled Pinned Locked Moved
    Firmware installation
    3
    16
    790
    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.
    • A Former User?
      A Former User @monster
      last edited by

      @monster said in Switching from Stable to Unstable versions:

      and nothing happens.

      the update shouldn't take more than a minute or two, so anything more than that is likely a failure.

      with a bit of luck, reset the duet and when its back up try echo M997 S0| sudo /opt/dsf/bin/CodeConsole

      if that doesn't work you can try to recover it by usb and bossa

      1 Reply Last reply Reply Quote 0
      • monsterundefined
        monster
        last edited by

        @bearer

        pi@beast:~ $ echo M997 S0| sudo /opt/dsf/bin/CodeConsole
        Connected!
        
        pi@beast:~ $
        

        WebUI up and

        Board: Duet 3 MB6HC (MB6HC)
        DSF Version: 1.3.2.0
        Firmware: RepRapFirmware for Duet 3 MB6HC 3.01-RC7 (2020-04-14b3)
        
        Note: You can install updates on the System page.
        
        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by

          so all good?

          1 Reply Last reply Reply Quote 0
          • monsterundefined
            monster
            last edited by

            I'm not sure.

            I tried to run this test macro (hoping that IF will work in RC7)

            if !move.axes[0].homed || !move.axes[1].homed || !move.axes[2].homed
                M300 S300 P200 
            else
                M300 S100 P200 
            

            And got: Code isn't supported
            And M300 S100 P200 is being sent to controller with no error replied, though no sound produced. This is new behavior.

            1 Reply Last reply Reply Quote 0
            • monsterundefined
              monster
              last edited by

              Though homing happens...

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

                Conditional Gcode isn't yet supported on Duet3+Pi, but is coming soon.

                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
                • monsterundefined
                  monster
                  last edited by

                  @dc42
                  I've been using M300 in debug purposes. Figuring out which *.g script just being run or in which part of the script printer now.
                  In case M300 isn't producing any sounds anymore what would be my method to do this kinda feed back messages?

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

                    You can use M117. You can use object model variables in the M117 command if it helps.

                    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
                    • monsterundefined
                      monster
                      last edited by

                      One finding since yesterdays RC7 installation.
                      I started to get (while homing) error message

                      G28 Z
                      Error: Code is not supported
                      Error: Code is not supported
                      

                      And I started to figure out where do I have that command. (Btw according to https://duet3d.dozuki.com/Wiki/Gcode#Section_G28_Home that shouldn't cause any errors but anyway)
                      Then I did download all files from my system directory and searched for "G28" in all *.g files.
                      And I found one occasion "G28" (without Z parameter) in my start.g which isn't called during homing.
                      This is why I writing here is there a chance of a bug? That somehow "G28 Z" called automatically? Perhaps when WebUI "Home Z" pressed?
                      And why it does produce error message...?

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

                        @monster said in Switching from Stable to Unstable versions:

                        Perhaps when WebUI "Home Z" pressed?

                        Exactly. G28 Z should be recognised, it is equivalent to G29 Z0. The value of the parameter is ignored.

                        Are you sure that the error message isn't related to a different command? Although normally the command G- or M-code would be included in the error message.

                        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
                        • monsterundefined
                          monster
                          last edited by

                          Capture.PNG

                          I took a screenshot to show that the error message appears by the end of homingz

                          Homing z code is below (sorry it is messy at the moment)

                          ; homez.g
                          ; called to home the Z axis
                          ;
                          ; generated by RepRapFirmware Configuration Tool v2.1.8 on Mon Mar 30 2020 01:10:04 GMT+0300 (Eastern European Summer Time)
                          G91               ; relative positioning
                          ;G1 Z10 F500 		; lower the bed slowly because it can already be in lowest position
                          G90
                          
                          M98 P"quickhomexy.g"
                          
                          G90              ; absolute positioning
                          ;if move.axes[0].homed && move.axes[1].homed && move.axes[2].homed
                          ;	G1 H2 X150 Y150 Z15 F3000  ; move quickly to X and Y axis middle (where Z home trigger is) and at the same time bring Z to 15mm befor home spot
                          ;else 
                          G1 H2 X150 Y150 F4000  ; move quickly to X and Y axis middle (where Z home trigger is) not moving Z
                          
                          ;G1 H2 Z10 F2000    ; move quickly to 10cm away from expected home
                          
                          G91               ; relative positioning
                          G1 H1 Z-200 F500 ; move Z down until the endstop is triggered
                          ;G92 Z0            		; set Z position to axis minimum (you may want to adjust this)
                          G92 Z2.8
                          
                          ; Uncomment the following lines to lift Z after probing
                          ;G91              ; relative positioning
                          ;G1 Z10 F2000       ; lift Z relative to current position
                          G90              ; absolute positioning
                          
                          M117 "End of Z homing"
                          

                          So I could say yes I'm sure.

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

                            Please post the contents of quickhomexy.g too.

                            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
                            • monsterundefined
                              monster
                              last edited by

                              Quickhomexy.g

                              ; quickhomexy.g
                              ; called to home x and y axes
                              ;
                              ; generated by RepRapFirmware Configuration Tool v2.1.8 on Mon Mar 30 2020 01:10:04 GMT+0300 (Eastern European Summer Time)
                              M117 "Quick homing X&Y begin"
                              G90
                              ;if !move.axes[0].homed || !move.axes[1].homed || !move.axes[2].homed
                              ;  M98 P"quickhomexy_doublepass.g"
                              ;else
                              ;  M98 P"quickhomexy_singlepass.g"
                              
                              if move.axes[0].homed && move.axes[1].homed && move.axes[2].homed
                                  M98 P"quickhomexy_singlepass.g"
                              else
                                  M98 P"quickhomexy_doublepass.g"
                              ;G91                     ; relative positioning
                              ;G1 H1 X-300 Y-300 F900  ; move slowly to X and Y axis endstops once more (second pass)
                              G90                    ; absolute positioning
                              
                              M117 "Quick homing X&Y end"
                              
                              

                              and

                              ;M98 P"quickhomexy_doublepass.g"
                              ;M291 P"Double"
                              M117 "Double pass X&Y homing"
                              G90
                              G1 H1 X10 Y10 F5000
                              G91
                              G1 H1 X-300 Y-300 F4000
                              G1 X10 Y10 F600
                              G1 H1 X-20 Y-20 F600
                              
                              

                              and

                              ; M98 P"quickhomexy_singlepass.g"
                              ; called to home x and y axes
                              ;
                              ; generated by RepRapFirmware Configuration Tool v2.1.8 on Mon Mar 30 2020 01:10:04 GMT+0300 (Eastern European Summer Time)
                              ;M291 P"Single"
                              ;M300 S200 P100 					; play beep - debug sound 
                              M117 "Single pass X&Y homing"
                              G90
                              G1 H1 X10 Y10 F2000 	; move quickly to X and Y axis to 10cm away from expected home (first pass)
                              G91                     ; relative positioning
                              G1 H1 X-20 Y-20 F900  ; move slowly to X and Y axis endstops once more (second pass)
                              G90                    ; absolute positioning
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • monsterundefined
                                monster
                                last edited by

                                by the way is "move.axes[0].max" is available in RC7 ?
                                Also is there way to define own constants? E.g. I could define X Y coordinates at witch magnet for Z endswitch is locates and refer to those constants in homing g files.

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

                                  @monster said in Switching from Stable to Unstable versions:

                                  by the way is "move.axes[0].max" is available in RC7 ?

                                  Yes.

                                  Also is there way to define own constants? E.g. I could define X Y coordinates at witch magnet for Z endswitch is locates and refer to those constants in homing g files.

                                  Not yet, this is scheduled for firmware 3.02.

                                  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
                                  • First post
                                    Last post
                                  Unless otherwise noted, all forum content is licensed under CC-BY-SA