I have a New CNC that uses a GRBL controller. I'm trying to use UGS (universal Gcode Sender). I can drop in some gcode files I make with but on a couple others I get the following error. "Problem opening file: Invalid gcode in handleGCode 91.1" Any idea whats wrong?
I found a post where you answered another question for me, saying to In Sketchup click Tools Phlatboyz options feature options then set 'use incrmental IJ' to true so I thought I would take a look at that, but I don't see that option now.
You may have an older version of SketchUcam. Try downloading and installing the latest version and you'll see that option as the second option from the top.
Hi Ringo, Tiger is right, you need the latest version. As you can see here http://swarfer.github.io/sketchucam/howto_options.html#a4 you should be seeing an option to use/not use the G91.1 code. This is actually for Mach3. GRBL is always in G91.1 mode so never needs this code, which is why UGS detects it as an invalid code. In the code you posted it says (Generated by SketchUcam V1.4d-80c0152) which is the latest released version. What do you see on your parameters dialog? BTW if you are using code someone else generated and it has codes not understood by GRBL in it then you can just open the Gcode in a text editor and remove the 'bad' ones. So in this case Code: (www.PhlatBoyz.com) G90 G21 G49 G17 G91.1 F2540 M3 S5209 becomes Code: (www.PhlatBoyz.com) G90 G21 G49 G17 F2540 M3 S5209