CNC uses...



  • Good day!

    I'm looking at using the Duet 2 board for a CNC. I have setup the board through the web interface and had a little play, however at present and noted by other members the web interface is very 3d printer related and I can't see any way to change that.

    To make things simple and move forwards I'm looking to control the board over USB as an interim and found the CNCJS in Marlin mode allows for basic connectivity.

    Is it possible to open up all the default machines settings on the board to 'configure' my cnc setup i.e. limits/travels etc

    Also has anyone played with fusion 360 post processors?

    Thanks

    Luke



  • Yes, CNCjs in marlin mode mostly works. CNCjs currently does not assist in configuration of Duet/RepRap in any way.

    You can configure the board with any text editor, or with the 3D printer oriented web interface's "system editor".

    Yes, I've used Fusion360 post for CNC use, what specific questions do you have?



  • @danal Thanks for confirming my thoughts.

    Ok, I need to spend some more time in the web interface and review the settings. I was more intent on getting switches and motors working. Is there one screen that shows every setting a bit like UGCS and the machine settings?

    Which post processor are you using?

    Also have you developed any macro's or probing commands?

    Lastly do you use a spindle with your setup or a router?

    Thanks



    • The configuration is entirely contained in the file "config.g". The Web interface makes it easy to edit that file. It DOES NOT parse or "form" that file at all... it is just a text editor. You, the human, must understand each config command, and its parameters. They are all G or M commands.

    • I'll have to look at what post, I want to give you an accurate answer.

    • Macros, or Probing stuff that I've developed, no... but see next answer about probing.

    • I do use the CNCjs probing to set Z-0 before each cut. This is a matter of a short sequence of actions in the GUI. It is simple enough that I've never been motivated to automate it.
      I do not, at this time, do automated or semi-automated Z handling during tool changes.

    • This is all on a machine with a Router 24" x 60" x 5"



  • @danal - any luck with the post processor?

    My Config.g file has disappeared, is it easy to recover?

    Are you using cncjs as the control software or are you using the web interface to run code?

    Thanks

    Luke



  • @mrbeaver said in CNC uses...:

    @danal - any luck with the post processor?

    I haven't looked at it again. If I recall, I used generic and/or Mach.

    My Config.g file has disappeared, is it easy to recover?

    Use the RepRap online configuration tool to get started. It is NOT perfect, but will get you 80 to 90% of the way...

    https://configurator.reprapfirmware.org/

    Are you using cncjs as the control software or are you using the web interface to run code?

    I actually use TinyG controllers on my CNC. CNCjs acts as the "drip feed" in that setup.

    If you used a Duet, I'd probably still drip feed it from CNCjs. The other option would be to use CNCjs purely as an HMI (human machine interface) and execute the actual print from the Duet SD. Six of one and half a dozen of the other...

    Thanks

    Luke



  • Thanks, config file is now back but still at a road block on the post processor. RepRap looks very different to mach 3 code?



  • @mrbeaver said in CNC uses...:

    Thanks, config file is now back but still at a road block on the post processor. RepRap looks very different to mach 3 code?

    I just fired up fusion and did a post on a drawing that I've cut in the past. Fusion does not seem to save which post-processor you used. From looking, I believe that TinyG, Mach3D, and LinuxCNC would all work when fed to RepRap.

    For example, here is the first few lines of a MACH3D post and TinyG post from the above successful cut. Almost identical, and the few differences are slight differences in coordinates that will ultimately produce the same cut.

    0_1540345073446_8d73aab4-e3e7-46d2-ae13-8afd94b5524a-image.png



  • If someone is interested, I have made a post-processor for my needs in the Duet - available at my thread https://forum.duet3d.com/topic/7251/cnc-fusion-360-postprocessor (includes explanation of what I needed it to do).

    The way I ensure I can easily pick the right post, in Fusion is as follows:

    • Enable Cloud Storage for Posts: 1) Click your name in the upper right hand corner, and select Preferences. 2) Under General > CAM, there is a checkbox for "Enable Cloud Libraries" - check it.
    • Uploading the CAM to your Cloud Library: 1) On the left hand side, the projects list, make sure you are at the top most layer, where you get the list of your projects; below the projects, you will now find Libraries > Assets - enter it. 2) Enter the CAMPosts folder and upload your chosen CAM Post(s) here. Should you need to upload a newer version, right click on it and select "Upload New Version".
    • Selecting the Post: 1) Go to the CAM interface on any project/model with a toolpath. Click the Post button (or select it below Actions). 2) Click the Setup button at the top, and select "Use Cloud Posts" - this will load the posts from your Cloud directory into the select-able list.

    This is what I have done, and now I have only a single post to select, and it is actually selected when I need to post. The added advantage of using the Cloud for this is that if something happens to my computer, My latest version of the post, with the setting of how I used it last is kept. Yes, my tool library is also in the Cloud - never have to go configure them all again.



  • @jacotheron said in CNC uses...:

    This is what I have done, and now I have only a single post to select, and it is actually selected when I need to post.

    Nifty!



  • @danal said in CNC uses...:

    TinyG

    about fusion360 post processor, guffy made one for the mpcnc that provides gcode for marlin grbl and reprap firmwares (last one for the duet 3D).
    i think it worth looking at it, it can handle manual change tool etc...

    https://github.com/guffy1234/mpcnc_posts_processor


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.