Welcome to Our Community

Some features disabled for guests. Register Today.

Error 22 phlatboyz cam

Discussion in 'OpenBuilds Forum Help' started by Bsanglr, Nov 22, 2024 at 12:46 PM.

  1. Bsanglr

    Bsanglr New
    Builder

    Joined:
    Jan 30, 2023
    Messages:
    5
    Likes Received:
    0
    I am new to OpenBuilds and CNC. So I am trying to do a simple circular cut outs and it is logging the Error: 22 - Feed Rate has not yet been set or is undefined. When I look at the GCode Editor I see the Feed Rate and Plunge Feed Rate as being set. But the G02, which I assume contains the Feed Rate given the error, I notice F0 at the end. Is that F the Feed Rate it is complaining about? Not sure where to look to figure out to fix it. I am using SketchUp Make 2017 and outputing the GCode with Phlateboyz latest version.
     
  2. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,458
    Likes Received:
    1,915
    please upload your sketchup file so i can debug it
     
  3. Bsanglr

    Bsanglr New
    Builder

    Joined:
    Jan 30, 2023
    Messages:
    5
    Likes Received:
    0
    Here you go.
     

    Attached Files:

  4. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,458
    Likes Received:
    1,915
    I did try it here myself, just cut an outside circle and I get
    Code:
    (Generated by SketchUcam V1.5c-fc1fbff)
    (Bit diameter: 3mm)
    (Feed rate: 1750mm/min)
    (Plunge Feed rate: 1450mm/min)
    (Material Thickness: 6mm)
    (Material length: 780mm X width: 450mm)
    (Overhead Gantry: false =    Climb Cut)
    (RAMPING at 12.0 degrees)
    (Plunge Depth first)
    (Optimization is ON)
    (Arc Feedrate scale is ON)
    (www.PhlatBoyz.com)
    G90 G21 G49 G17 F1450
    G53 G00 Z0.0
    M3 S12000
    G00 X16.009 Y12.159
     Z5.0
    G00 Z0.2
    G02 X11.795 Y16.6218 Z-0.8333 I14.8341 J18.2264 F1450
    ...
    
    been a long while since it was called Phlatboyz (-: leads me to wonder what exact version you have installed
    anyhow, we can see in the Gcode that it sets a default feedrate before all moves
    G90 G21 G49 G17 F1450
    and then again on the first part of the arc plunge move
    G02 X11.795 Y16.6218 Z-0.8333 I14.8341 J18.2264 F1450

    Release SketchUcam V1.5c ยท swarfer/sketchucam
     
  5. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,458
    Likes Received:
    1,915
    wait, wow, your feedrate is 1" a minute, and plunge rate is 1/8" a minute. are you cutting granite? (-:
    so, upshot is the roundoff it making the plunge rate 0 instead of 0.125 and that is why you see error 22, 0 is not a feedrate

    If you really need these low speeds what you can do is set your feedrate to 2 and plunge rate to 1 and generate the gcode,
    then open the gcode in Notepad and search and replace
    replace 'F1' with 'F0.125'
    replace 'F2' with 'F1.0'
    in that order!

    or you can switch Sketchup to millimeters and it will correctly (well, rounded, but nonzero) output 25 and 3 mm/min feedrates.
     
  6. Bsanglr

    Bsanglr New
    Builder

    Joined:
    Jan 30, 2023
    Messages:
    5
    Likes Received:
    0
    Thanks, as I said, I am new to all of this so I wasn't sure what to set certain values to. I am cutting Wild cherry which is similar to oak. I will increase those values to see if I can get it increased.
     
  7. Bsanglr

    Bsanglr New
    Builder

    Joined:
    Jan 30, 2023
    Messages:
    5
    Likes Received:
    0
    I noticed that you suggested switching Sketchup to mm, is that the preferred units to work in for OpenBuilds? And I am using version 1.5c-fcfbff of SketchUCam.
     
    #7 Bsanglr, Nov 22, 2024 at 2:48 PM
    Last edited: Nov 22, 2024 at 3:03 PM

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice