GRBL 1.1 UGS and Fusion 360 issues
I have a DIY cnc router using an arduino/GRBL for control. I am using Fusion 360 to create the g-code. The problem I am having is that when I try to run the g-code the first thing the machine does is send an error on an M6 command. If I bypass that the machine rushes to my home position, trips my limit switches and hangs up.
I don't really want the machine to home before every g-code run(I have homed it already). I am using the fusion provided Grbl/grbl post.
I have been told in the autodesk forum that I can edit the .nc file and delete the M6 and the G28 commands but I don't really want to do that every time I post a new tool path.
Any help you can provide would be great.
Thanks
Re: GRBL 1.1 UGS and Fusion 360 issues
For the G28 commands you can simply move the machine to a safe position where the limit switches aren't triggered and send the G28.1 command. Then when it reaches a G28 it will move to that point, but it will no longer trigger the limits.
For the M6 command you only have 2 choices. First, delete them as described, or second, use an interface that ignores the M6 or "changes" the M6 to something else, like an M0 program pause command.
Aside from the above you could see if you can edit the fusion post processor to not put those in there.
Re: GRBL 1.1 UGS and Fusion 360 issues
You can also try the tinyg postprocessor. It should work fine with grbl and I don't think it inserts M6 or G28 commands.
Re: GRBL 1.1 UGS and Fusion 360 issues
Quote:
Originally Posted by
109jb
You can also try the tinyg postprocessor. It should work fine with grbl and I don't think it inserts M6 or G28 commands.
thanks I will give that a try
Re: GRBL 1.1 UGS and Fusion 360 issues
Quote:
Originally Posted by
109jb
You can also try the tinyg postprocessor. It should work fine with grbl and I don't think it inserts M6 or G28 commands.
tried it and UGS gags on it.
I did not write the error down but I will get it when I think of it.
Re: GRBL 1.1 UGS and Fusion 360 issues
Not sure exactly what you are doing, but I just used the tinyg post to create a 10,000+ line 3d countour program for Grbl and ran it through Grbl and it worked fine. Please post the error that UGS gave.
Re: GRBL 1.1 UGS and Fusion 360 issues
Quote:
Originally Posted by
109jb
Not sure exactly what you are doing, but I just used the tinyg post to create a 10,000+ line 3d countour program for Grbl and ran it through Grbl and it worked fine. Please post the error that UGS gave.
I'll add that this was with my own sending program which I have an option so that it sends every line exactly as in the file to Grbl without any modifications. It ran through this with no errors meaning that each line is recognized by Grbl natively.
1 Attachment(s)
Re: GRBL 1.1 UGS and Fusion 360 issues
Here is a screen shot of the error and a shot of the beginning of the program.
Attachment 419876
Re: GRBL 1.1 UGS and Fusion 360 issues
Try using a "simple" filename without spaces, special characters and a 3 letter extension like "test.txt".
Re: GRBL 1.1 UGS and Fusion 360 issues
I did a guick Google search for "UGS error while starting filestream: null" and it came up with a lot of stuff. Bottom line is that this is a UGS error, not a Grbl error
https://github.com/winder/Universal-...der/issues/214