Welcome to Our Community

Some features disabled for guests. Register Today.

Error 9 Locked out

Discussion in 'OpenBuilds Forum Help' started by Arthur pells, Dec 9, 2022.

  1. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    I am attempting my first job and 30 seconds into it it comes up with error n9 G-code locked out during alarm or jog state Y374.6500
    This alarm may be a symptom of an earlier event
    Alarm 2 G-code motion target exceeds machine travel
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    That means Soft Limits prevented a crash
    - your gcode were trying to exceed the bounds of the machine.
    - Or, you forgot to Home (Soft Limits uses Homing + Max Travel configs to know where these bounds are)
    - or you have not setup Soft Limits correctly
     
  3. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    Can you send me a link on how to set up soft limits?
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    See Grbl v1.1 Configuration · gnea/grbl Wiki. Soft Limits and Max Travel, as well as correct Homing Direction are all relevant.
     
    David the swarfer likes this.
  5. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
  6. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    I clicked on the link, and I have no idea what it is saying or what to do. It's completely French to me. Is there a video or a simpler step by step method or better yet someone i can talk to and be stepped through
     
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    If you are very new to this, set Soft Limits off - it is confusing for a beginner, you can always revisit.

    As part of the learning curve, reading the entire Grbl wiki a couple times would not
     
  8. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    I would like to get my soft limits set correctly but because I do not know how to do this it sounds like I am stuck, as there is no customer technical support. How do I turn soft limits off ?
     
  9. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    What machine/controller do you have? If its ours, that's all already done for you in our profiles in our software
     
  10. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    it is your controller it's a Lead 1515
     
  11. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    when I open the open build app on my laptop, and I go to troubleshooting next to machine control, it says Y limit X limit Z limit probe door sensor, and buttons are all in the off position
     
  12. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    Checkout our comprehensive setup video, that also goes over loading the Machine Profile

     
  13. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    I still need a little more help. I removed all the software and I have reinstalled it. I have watched the video in my Grbl settings, the limit switch is set to installed soft limits have been enabled hard limits have been enabled. When I run the job, it now goes for a total of two minutes then the alarm state is triggered in the middle of the work area in the alarm code is Error 9 G-code locked out during alarm or jog state Y406.4000

    this error may be a symptom of an earlier event
    Alarm 2 Gcode motion, target exceed machine, travel machine position safely retain
     
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    No real need for that - Grbl settings are stored on the controller not your computer


    Our standard profiles does NOT enable Soft Limits (because its a hard to manage concept and not beginner friendly, we default it to to off. As you build up skill and start to understand the differences between work and machine coordinate systems - which soft limits acts on - it becomes more appropriate)
    Still recommending you turn it OFF for now

    It needs a lot of info to calculate where its safe to move.
    - Homing (to set the 0,0,0 point of Machine Coordinates)
    - Max Travel (to know how far it can move in each axis)
    - Work Coordinates (to know where the stock is located)
    - Gcode (moves in there tells the machine where to go. It looks at current "machine coordinates" and subtracts that from max travel -> if the maths tells it it'll crash it stops and tells you that the "target exceed machine, travel machine"

    Trust us on this. Turn off SOFT limits, and try again...
    Get a couple months of practical learning under the belt first - crashes will even happen but its fine the machine can't break itself. You'll learn as you go. Then later on as you start working with more advanced CAMs you'll have to embrace multiple coordinate systems and how to think around them, Soft limits exists in one of those, the machine coordinate system. You don't need those complications this early in the learning curve. Turn it off for now.
     
    David the swarfer likes this.
  15. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    Ok
     

    Attached Files:

  16. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    from that screenshot you can see the left side of your job exceeding the cube representing the Machine Envelope.
    So still good call on disabling Soft Limits for now - as something it needs is not set correctly. Regardless - you don't need Soft Limits - its annoying in the beginning. You can see the machine, you know where your stock is, you know it won't crash - so go for it.
     
  17. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    Thank you very much it worked perfectly that time which was a dry run with no bit. Before I put in a bit and cut it for real, is this machine capable of cutting a half inch MDF in one pass or should I do it in two passes
     
  18. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    The basic rule of thumb is to cut as deep - as half the endmill diameter per pass. For a 1/4" endmill, run 1/8" deep per pass. You can run nice fast passes (more fast shallow passes completes a job in total faster than a very slow but deep pass - plus has better finish)
     
  19. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    The endmill I was going to use is a 1/4 compression bit but from what I’m understanding it needs to cut at least 3/8 of an inch in order for it to work correctly or would you recommend a different bit
     
  20. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    Trial and error :) if you see it bogging down, jump on the Feedrate override slider
     
  21. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,761
    Likes Received:
    1,352
    I realise you may not have an appropriate bit, but the best way to use a compression bit is to first do a rough pass with an upcut bit (still 1/2 the bit diameter depth of cut/pass) leaving 0.5 - 1.0 mm of material for the final cut with the compression bit at full depth. Your compression bit will act as an upcut bit for the first shallow passes until it's far enough into the material for the downcut section of the bit to engage with the top surface.
    Alex.
     
    Peter Van Der Walt likes this.
  22. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    Yes, I have a lot to learn on the bits. Thank you.
     
  23. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    While the machine is cutting the fee rate is at 100% which is 138 inches per minute when I drag the sliding bar down to 45% it’s still cuts at 130 inches per minute.
     
  24. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    So the only two items I need help with now is the feed rate, and the depth of the first cut. In my mosaic software when I create the job, I have the depth set at a quarter of an inch in per pas and the feet rate 100 in./min. but when I run the job, it cuts at half an inch and a feed rate of 130 in./min..
     
  25. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,765
    Likes Received:
    4,266
    130 *25.4 = 3302mm/min - pretty close the Max Rate value in our default 1515 profile:
    upload_2022-12-9_21-21-17.png

    Max Rate is explained here: Grbl v1.1 Configuration · gnea/grbl Wiki - whatever speed you command will never exceed the safety ceiling set by Max Rate
    You can spend a little time tuning Max Rate and Acceleration (our profiles are on the conservative side) but make sure whatever values you up it to, are still reliable

    It should not go faster than commanded - but the value shown on the feedrate slider being 130 may be a Travel move (G0) which runs at Max Rate


    Check Calibration of the Z axis:

     
  26. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,761
    Likes Received:
    1,352
    How did you set your workplace coordinates system zero (XYZ zero)? The centre of the bit should be lined up with the point where you set the origin when you created your toolpath, and the tip of the bit should touch the surface of the workpiece (if you set the origin there) or touching the spoilboard if that's where you decided was the origin.
    ORIGIN - the point of your design that you decided would be the reference point - eg, front, left corner and top surface of workpiece.
    XYZ zero - on your machine you set a point on your workpiece (in the workplace coordinates system) in exactly the same place as your origin.
    Alex.
     
  27. Arthur pells

    Builder

    Joined:
    Mar 24, 2022
    Messages:
    64
    Likes Received:
    10
    I would first home the router,at that point X and Y would be set at zero then I would use the touch plate on top of my half-inch material that I was looking to cut and I will bring the bit down to touch the probe plate for that zero reading
     

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