@pcr I already cleared the cache and also tryed it in edge, when it is loading you can see for a sec the printer conrols then they disapear. Thats it
you can choose the CNC from the settings. Try toggle IT.
Where which setting do you mean?
i know this thread is already mor then 1 year old but is there any progress in adding the G68/G69 ?
Or is there an other option to set the rotation of the workpiece? I consider to upgrade my CNC to a Duet but this is very important function.
First of all this is not a negative criticism. I just want to write about some experience I made so far when I was setting up the Duet as a cnc controller and to address this or get some feedback on what could be the solution.
Wiring Information / Pin usage:
Connecting stuff for a 3d printer is well documented but connecting things for CNC I needed to go through a lot of different posts here and get different information. Also which pin (gpio) could be used freely to switch relays and so on.
Work coordinates and machine min/max:
I have setup my machine like this: M208 X0:258 Y0:350 Z-105:0 but if you set your work coordinates for example to G10 L2 X50 Y50 it doesn't allow you to go G1 X-5 but it should
because typically the work coordinates are used for the workpiece which is mostly never at machine zero coordinates. And because I set the work coordinates to X50 it should allow me to drive to min X-50 this will be the machine limit then.
If you do a surface milling you always start outside the workpiece in negative values. So what I did now to change the Maschine limits like this:
M208 X-100:258 Y-100:350 Z-105:100
but now it allows me to drive outside the machine boundaries if I'm not careful.
I found no way to stop a job or movement immediately without Emergency Stop (M112) but this is sometimes absolutely necessary at CNC milling and you don't want to lose your positions and coordinate systems every time. If you just pause you never know when it stops because you don't know how much movement is still in the buffer.
I didn't found a way to get the current position during a movement, just the position that is commanded to move to. I know it's not a closed loop system but anyway the RRF commands the step pulses to the driver so it should know where it should be all the time.
Will this change with using the closed loop system on duet3?
Workpiece angle correction (G68)
There is already a separate thread to this. Feature Request - workpiece angle compensation CNC
Until know i was not able to get it working. But for me this one of the most important thing. If you have to mill your workpiece from different sides you need to know exactly how it is placed on the machine table and a placement with a perfect precise alignment is not always possible.
I found a lot of postprocessors for fusion 360 made from several persons they all kind of work more or less but all of them has some issues where i had to edit the G Code manually afterwards but they are close to what we need. And this point I can fix by myself to edit the post processor that it will work for my cnc. But it would be nice if there would be an official post development on the duet3d github.
This was the most reason for me to use the duet as CNC controller because of the web control and for 3d printing I love to use it. But to use it for a CNC is not this good yet. I know there are special versions for CNC and I looked into that but I read that the DWC-CNC is discontinued and integrated into the standard DWC in the current release so I used the latest release 3.3.0 but even when set to CNC Mode (M453) it looked not like I already saw on some screenshots (no XYZ Position display, G-Code Viewer was not working and so on) basically just the Extruder and heating stuff disappeared.
But then I installed the latest Release of the discontinued DWC-CNC and it worked. But still there are some things missing to get a good use for a CNC. If It is wanted I could write more about this.
The duet and RRF are great and I already use 2 of duet wifi at my 3d Printers but to become a good cnc controller I guess there is still some way to go.
I'm using a Duet Wifi with RRF 3.4.0beta5+1 (2021-10-28)
(This is why I tell users to ensure they have an internet connection when installing the plugin in my wiki)
Ahh okay, that is what I missed! Now I got it how it works. But do you see a way that we can tell webpack to bundle this packages into the plugin files? So that it works without an internet connetion?
But this is not critical now for me just would be a nice to have
And Thanks for your fast response!
@MintyTrebor I looked also in your plugin and I see you use some dependencies they are not installed in DWC but where did you tell webpack to pack them into your plugin?
I see you have plugin.json in your /dist folder with a webpack config but I'm not sure where to put this in the DWC that it will be used for the build process?
and did you install your libraries that you use normally with npm into DWC to deveolpe and build it?
I'm able to build and run the DWC but I'm not able to connect to the Board I always get:
Failed to connect to 192.168.1.2:8080
Is there a password needed? Is the port 8080 correct?
The onboard DWC with 192.168.1.2 works normal.
I added also the M586 C"*" to my config.
Is there any guide, documentation how to write a plugin for DWC? Example Project?
or could have somebody answers to this questions:
Which envirement is used to do that ?
where can I find the plugin system API?
which dependecies are neccearry?
@jay_s_uk okay did it:
5.11.2021, 19:38:57 M669
Kinematics is Cartesian, 1 segments/sec, min. segment length 1.00mm, matrix:
1.00 0 0
0 1.00 0
0 0 1.00
I'm not exactly sure what itr should do? I read the documentation and I guess it helps if more Movement commands in the buffer but if you have an long onging movement like 100mm it sill will not stop until this is done. I tryed it with M0