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

    Strange issue when running programme on CNC

    Scheduled Pinned Locked Moved
    CNC
    2
    13
    1.3k
    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.
    • Trev133undefined
      Trev133
      last edited by

      Hi Guys. Looking some help. I am running a Duet2 wifi with all the latest firmware on a Workbee CNC screwdriven router. All machine axis are functioning OK on jog and all previous programmes have run absolutely fine. I am currently trying to run a simple pocket programme using Vectric Vcarve & GRBL code. Its a simple programme with 3 passes to obtain the depth. 1st pass runs absolutely fine then on start of 2nd pass machine almost stops and everything appears to freeze. I have attached a photo of file log at point it stops. Not sure if its the Vectric software or the Duet but as a relative newbie would appreciate your thoughts. Trev0_1548669111239_IMG_4166.jpg

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

        I'm not a CNC expert, however I would need to see the GCode file you are using to have any idea of what is going wrong.

        The "G17 command not supported" message is harmless, because G17 selects the XY plane for G2 and G3 commands, which is the only plane that RRF currently supports for them.

        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
        • Trev133undefined
          Trev133
          last edited by

          Hi David thanks for getting back. Attached is GCode file as requested. Hopefully you can give me some direction. Tried to run file again with same result. Trev0_1548676363038_Reuben Base 2.gcode

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

            I don't see anything in that GCode that explains the problem.

            Please can you:

            1. Send M450 and confirm that it reports that the machine is in CNC mode.

            2. Run that file again. When it stops, read off the XYZ coordinates from the web interface. Also send M122 from the web interface. With luck the GCodes section of the report will say what command is being executed.

            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
            • Trev133undefined
              Trev133
              last edited by

              Hi David. I know this is a very elementary question but how do I send the codes you mention? Do I need to link with USB and use the YAT software?

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

                You can send them from the GCode Console page of Duet Web Control. See the "Send GCode" box in the screenshot you posted.

                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
                • Trev133undefined
                  Trev133
                  last edited by

                  Thanks David will let you know

                  1 Reply Last reply Reply Quote 0
                  • Trev133undefined
                    Trev133
                    last edited by

                    David when I send M450 I get "Printer Mode FFF". I assume problem is in here somewhere. Do I need to change something?

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • Trev133undefined
                      Trev133
                      last edited by

                      M122 File attached at point of stopping0_1548680231248_console.txt

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

                        @trev133 said in Strange issue when running programme on CNC:

                        David when I send M450 I get "Printer Mode FFF". I assume problem is in here somewhere. Do I need to change something?

                        Yes, you need to use M453 in config.g to put it in CNC mode. See https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M453_Select_CNC_Printer_Mode. Without that, G0 commands will execute at the same speed as G1 commands instead of rapidly.

                        Note, if the M453 command declares that a heater or fan output is to be used for spindle control, you must disable the corresponding heater or fan before the M453 command, using M307 or M106 as appropriate.

                        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
                        • Trev133undefined
                          Trev133
                          last edited by

                          Thanks David. Will let you know

                          1 Reply Last reply Reply Quote 0
                          • Trev133undefined
                            Trev133
                            last edited by

                            Hi David
                            Put M453 into config.g but it stopped any file from running. (Tried several files that had previously run OK) Got error message as attached. Had work co-ordinated established as before so i’m not sure what outside machine limits means. Removed the M453 and all was OK again. Sending M450 code I was able to confirm that machine was in CNC mode.
                            Any Thoughts
                            Trev
                            0_1548798894543_IMG_4167.jpg

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

                              The problem is the "outside machine limits" message. In CNC mode, a movement command that commands movement outside the limits you have set in config.g will terminate the job, for safety reasons. So you need to identify that command in the GCode file, for example by executing lines from the file one at a time.

                              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