1. Hey guyz. Welcome to the All New Phlatforum!



    Sign Up and take a look around. There are so many awesome new features.

    The Phlatforum is a place we can all hang out and

    have fun sharing our RC adventures!

  2. Dismiss Notice

Error when using UGS

Discussion in 'SketchUcam Help' started by Ringo Davis, Apr 16, 2018.

  1. Ringo Davis

    Ringo Davis Member

    Offline
    Messages:
    60
    Trophy Points:
    8
    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?
     

    Attached Files:

  2. Ringo Davis

    Ringo Davis Member

    Offline
    Messages:
    60
    Trophy Points:
    8
    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.

    upload_2018-4-16_18-10-54.png
     
  3. TigerPilot

    TigerPilot Well-Known Member

    Offline
    Messages:
    1,578
    Trophy Points:
    48
    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.
     
  4. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    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
    
     

Share This Page