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

Milling CNC with DuetWifi ?

Scheduled Pinned Locked Moved
CNC
12
51
17.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.
  • undefined
    Russ Gries
    last edited by 12 Oct 2016, 04:36 10 Dec 2016, 04:34

    Thanks jgrouse,

    yeah, I built my own spindle, could have used a lower rpm… went for a 45Krpm motor lol direct drive... for the small cutters im using it has plenty of torque. i wanted a compact spindle, I could not find one so I made one...

    you can see how i built i here: http://rwgresearch.com/open-projects/brushless-cnc-spindle-build-3d-printer/

    it has a vacuum attachment that i made as seen in that other video.

    The Laser I got from here http://www.ebay.com/itm/361709323088?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT and it states it has a built in current / driver circuit… will see about that once i get it, i may need to buy/make an external driver. I want to be able to control the beam strength. I'm hoping that a PWM pin will work, as David stated. then I can even use the extra heater channel. I want to use a SSR just to control the voltage ( if it has a built in current circuit.) then again i may need way more control, something that is constant out put. will see, i guess it could be all or nothing for first go 🙂

    and yeah, cheep laser, so i might get what i pay for 🙂

    ~Russ

    One Day At A Time…
    My Main Research Page:
    http://rwgresearch.com/open-projects/3d-printing-research/

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 10 Dec 2016, 09:43

      @jgrouse:

      Posted a link further up the thread.
      @jgrouse:

      I'm now on 1.16 with the 1.13 Web code and I still get the web interface locking up when I start a job which does not extrude or use hot ends/beds. I now get the following as soon as the job is started:
      Communication Error
      An AJAX error has been reported, so the current session has been terminated.
      Please check if your printer is still on and try to connect again.
      Error reason: SyntaxError: Unexpected token ] in JSON at position 446

      I can only reconnect to the web interface when the job is complete. Interestingly the emergency stop button still works, however I would like to get some form of feed back as well as the ability to press pause and adjust feedrates.

      Here is a very simple gcode file set up to laser cut a square using the first PWM port on the Duex5 board (M42 P3 S255) to set the Laser driver power - https://app.box.com/s/7h697i7c9qghmhw13rqwjwc34iun59f0

      Happy to add whatever is needed to the gcode to allow the web interface to give me some feedback and control over the job.

      Thanks Dave/Christian in advance if either of you can help me out?

      Here is a newer file using the M400 call to clear the buffer - https://app.box.com/s/2pdgx6qogjhxvfp3se5te3xh04el453o. This one cuts a square out of 3mm ply using a 7W blue laser. Cut2D does let you define your own postprocessors so I do have quite a bit of control over what it puts out. The one thing that is not used as a variable in Cut2d is the extruder values (clearly). At this point I'm satisfied with the output I'm creating with my custom postprocessor for Cut2D and the only grief I'm having is the whole web interface crashing when I start a print. If that can get addressed then I'm sure quite a few people wanting to expand beyond just 3d printing with this hardware will be able to move forward in this direction.

      I tried printing that file (Square.gcode) on both my Duet 0.6 powered Cartesian printer and my Duet WiFi powered delta, after sending M307 H3 A-1 C-1 D-1 in both cases. I didn't get any web interface disconnects. But the Ajax error message you reported above clearly indicates that the firmware on your machine is sending an incorrectly formatted JSON response.

      Please upgrade your firmware to 1.17dev8, which is what I am running, and make sure you are running DWC 1.13. If the disconnect persists and you are still getting that "Syntax error" message, then what I really need is the .pcap file from a Wireshark trace covering the disconnect.

      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
      • undefined
        jgrouse
        last edited by 11 Dec 2016, 22:14

        @dc42:

        I tried printing that file (Square.gcode) on both my Duet 0.6 powered Cartesian printer and my Duet WiFi powered delta, after sending M307 H3 A-1 C-1 D-1 in both cases. I didn't get any web interface disconnects. But the Ajax error message you reported above clearly indicates that the firmware on your machine is sending an incorrectly formatted JSON response.

        Please upgrade your firmware to 1.17dev8, which is what I am running, and make sure you are running DWC 1.13. If the disconnect persists and you are still getting that "Syntax error" message, then what I really need is the .pcap file from a Wireshark trace covering the disconnect.

        The JSON error was the result of using 1.17dev8 and the 1.13 web control, as it was with 1.16FW/1.13WC. Are you using Chrome as your browser as well?

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 12 Dec 2016, 00:02

          @jgrouse:

          @dc42:

          I tried printing that file (Square.gcode) on both my Duet 0.6 powered Cartesian printer and my Duet WiFi powered delta, after sending M307 H3 A-1 C-1 D-1 in both cases. I didn't get any web interface disconnects. But the Ajax error message you reported above clearly indicates that the firmware on your machine is sending an incorrectly formatted JSON response.

          Please upgrade your firmware to 1.17dev8, which is what I am running, and make sure you are running DWC 1.13. If the disconnect persists and you are still getting that "Syntax error" message, then what I really need is the .pcap file from a Wireshark trace covering the disconnect.

          The JSON error was the result of using 1.17dev8 and the 1.13 web control, as it was with 1.16FW/1.13WC. Are you using Chrome as your browser as well?

          No, I am using FireFox because I have big problems with Chrome under Windows 10.

          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
          • undefined
            jgrouse
            last edited by 12 Dec 2016, 00:12

            Might give FireFox a go…

            1 Reply Last reply Reply Quote 0
            • undefined
              jgrouse
              last edited by 12 Dec 2016, 05:02

              Getting the same error with FireFox. Here is my config.g -https://app.box.com/s/z6254z515p21p8uu92zg3uwhdgeaqcvy. Surely it is something to do with not having any hot end or headbed defined?

              Current web error is -
              "An AJAX error has been reported, so the current session has been terminated.
              Please check if your printer is still on and try to connect again.
              Error reason: SyntaxError: JSON.parse: unexpected character at line 1 column 453 of the JSON data"

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 12 Dec 2016, 09:40

                Thanks, with that config.g I was able to reproduce the problem. Fixed in 1.17RC1 due out 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
                • undefined
                  Russ Gries
                  last edited by 4 Jan 2017, 04:41

                  I thought this was an appropriate place for this…

                  Please subscribe to my you tube channel if you want to keep up to date on this project...

                  Here is the home made spindle running from the Duet wifi.

                  https://www.youtube.com/watch?v=6QpJ_aUhH1s

                  Best, ~Russ

                  One Day At A Time…
                  My Main Research Page:
                  http://rwgresearch.com/open-projects/3d-printing-research/

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by 1 Nov 2017, 08:19 11 Jan 2017, 07:59

                    @jgrouse:

                    Fairly sure the G2/G3 support was in DC42's wishlist already? I'll double check…

                    I didn't find it. But what's the point in supporting it if none of the slicers support it? Writing gcode by hand?
                    http://forums.reprap.org/read.php?262,407139,737519#msg-737519
                    http://reprap.org/wiki/G-code#G2_.26_G3:_Controlled_Arc_Move

                    1 Reply Last reply Reply Quote 0
                    • T3P3Tonyundefined
                      T3P3Tony administrators
                      last edited by 11 Jan 2017, 11:22

                      @nokian:

                      @jgrouse:

                      Fairly sure the G2/G3 support was in DC42's wishlist already? I'll double check…

                      I didn't find it. But what's the point in supporting it if none of the slicers support it? Writing gcode by hand?
                      http://forums.reprap.org/read.php?262,407139,737519#msg-737519
                      http://reprap.org/wiki/G-code#G2_.26_G3:_Controlled_Arc_Move

                      I believe CNC GCodes more often contain G2/G3 commands so to widen the applicability of RepRapFirmware this would be good to add. Also there is a bit of chicken and egg. If no firmware supports it then why bother implementing it in a slicer.

                      Of course we also need to move past STL style model formats (which contain only straight lines) to a model format that has curves before it makes sense for slicers to support arc!

                      None the less the implementation chain has to start somewhere. For example RepRapFirmware had mixing capabilities long before multiple input hotends were publically available and that's only really been.useduch realtively recently.

                      www.duet3d.com

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by 13 Jan 2017, 14:39

                        I created a thread in the firmware wishlist section of the forum about adding G2/G3:
                        https://www.duet3d.com/forum/thread.php?id=755

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