Welcome to Our Community

Some features disabled for guests. Register Today.

Soft limits exceeded error

Discussion in 'CNC Mills/Routers' started by colonelkeds, Dec 31, 2022.

  1. colonelkeds

    Builder

    Joined:
    Jan 2, 2020
    Messages:
    6
    Likes Received:
    3
    I'm trying to run a file created for another post processor, but standard non-modal gcode. (see attached for the first few lines). I home (G28) my Workbee1510 machine, hit "Run" and get a soft limits exceeded error. Zooming out on the viewer shows my geometry at the max x,y corner, despite standard machine parameters set, and origin at 0,0,0 bottom left. What am I missing? I have several similar cut files that elicit the same result.
    Thank you
     

    Attached Files:

  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,921
    Likes Received:
    4,291
    G28 isn't home
    Soft limits uses machine coordinates, so you have to Home. Homing command is $H
     
  3. colonelkeds

    Builder

    Joined:
    Jan 2, 2020
    Messages:
    6
    Likes Received:
    3
    Thank you. Do I need to do that prior to running any of my programs, or just at machine start-up? When I was G28'ing the machine to 0,0,0, then hitting "Set zero xyz", that is the routine on my large cnc machine running Wincnc. I'm trying to adapt to Grbl.
    And does the $ have to appear at the beginning of every line of code in my programs? .
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,921
    Likes Received:
    4,291
    G28 is a "stored position" not Home refer to G Codes
    You should home on power up and after any event that could make it lose reference (alarms, errors, resets, power cycles, crashes, stalls, skips, etc)
     
  5. colonelkeds

    Builder

    Joined:
    Jan 2, 2020
    Messages:
    6
    Likes Received:
    3
    Thanks again, & the quick reply much appreciated-Happy New Year!
     
    Peter Van Der Walt likes this.
  6. colonelkeds

    Builder

    Joined:
    Jan 2, 2020
    Messages:
    6
    Likes Received:
    3
    Ok, all problems finally solved, and a big "AHA" moment !. Starting with Peter's "$H" solution, I needed to also place a G20 command at the head of all of my existing imperial programs so the software could read them as inches instead of millimeters. Beer time!
     
    Peter Van Der Walt likes this.
  7. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,435
    Likes Received:
    1,908
    yep, all gcode must have a header that sets the modals to the values it needs. the moment you assume a mode is already set is the moment you are configured for a crash (-:
    a basic header would be
    G90 G46 G17 G54
    then add G20 or G21 as needed.
     
    Alex Chambers likes this.

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