Welcome to Our Community

Some features disabled for guests. Register Today.

Error whilst plotting/immediate halt

Discussion in 'DrawBot' started by Robin Ellis, Mar 3, 2022.

  1. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Hello.
    I'm encountering a frequent problem whilst executing my pen plots. The machine is merrily plotting away when it suddenly seems to jam (there is a squealing sound), stops mid-plot and flies into the frame of the plotter, triggering the hard limits.
    This has happened to me now a number of times with different files, though the image is basically the same (parallel lines). Here is a snippet of the serial console at the moment of crash (it's a long file so didn't want to paste it all here).
    Thanks.

    [11:30:36] [ G1 F40000 X730.0 Y379.56284 Z-0.1000 ] ok

    [11:30:38] [ G1 F40000 X730.0 Y378.90283 Z-0.1000 ] ok

    [11:30:38] [ G1 F40000 X30.0 Y378.90283 Z-0.1000 ] ok

    [11:30:39] [ G1 F40000 X30.0 Y378.24283 Z-0.1000 ] ok

    [11:30:39] [ G1 F40000 X730.0 Y378.24283 Z-0.1000 ] ok

    [11:30:40] [ ALARM ] ALARM: 1 - Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended. [ G1 F40000 X730.0 Y377.58282 Z-0.1000 ]

    [11:30:40] [ ] ALARM: 1 - Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended. [ G1 F40000 X730.0 Y377.58282 Z-0.1000 ]

    [11:30:40] [ G1 F40000 X730.0 Y377.58282 Z-0.1000 ] ALARM:1

    [11:30:40] [ G1 F40000 X730.0 Y377.58282 Z-0.1000 ] [MSG:Reset to continue]

    [11:30:41] [ G1 F40000 X730.0 Y377.58282 Z-0.1000 ] ok

    [11:30:41] [ G1 F40000 X30.0 Y377.58282 Z-0.1000 ] Grbl 1.1f ['$' for help]

    [11:30:41] [ G1 F40000 X30.0 Y377.58282 Z-0.1000 ] [MSG:Check Limits]

    [11:30:41] [ G1 F40000 X30.0 Y377.58282 Z-0.1000 ] [MSG:'$H'|'$X' to unlock]

    [11:30:41] [ ] error: 9 - G-code locked out during alarm or jog state [ G1 F40000 X30.0 Y377.58282 Z-0.1000 ]<hr>This error may just be a symptom of an earlier event:<br> ALARM: 1 - Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended.

    [11:30:41] [ ERROR ] error: 9 - G-code locked out during alarm or jog state [ G1 F40000 X30.0 Y377.58282 Z-0.1000 ]
     
  2. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Seems to be the x axis which is always effected, in case that offers any clues.
     
  3. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    Dial back your Max Rate in Grbl settings and try again. If its set too high the motors stall - making the sound you describe
     
    David the swarfer likes this.
  4. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Ok. I'll try that - strange though that sometimes the plot works fine and other times it stalls.

    Out of curiosity, does the Grbl max rate override the F number in the Gcode file? Currently I have both set to 40000.

    Also, I have had a bit of problem today with homing and the hard limits being triggered even though the head is no where near them. Could this also be the cause somehow?
     
  5. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    The "sometimes" will be in sections long enough to get up to stall speed. Acceleration setting coming into play.

    Max speed is a limit, if F is 6000 and Max Rate is 5000 then it wont ever go faster than 5000. If F is 3000 and Max rate is 5000 then G0 moves will be 5000 and G1/2/3 will be 3000
     
  6. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    Thanks. What would be the max limit for the steppers that OB ships with the acro? Mine seem to have a max of 36000 which is rather slow considering I could have it hooked up to a laser. I had been hoping for quicker plotting speeds so maybe a stepper upgrade?

    And how about the homing issue? I've now encountered it twice since starting this thread. The alarm is triggered when it hits the x limit before it's found the y limit. Any help appreciated!
     
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    Running Xtension Limits or other switches?

    Could be crosstalk from motor wires to limits wiring. Seperate them apart as a test.

    Speeds: trial and error - our profiles are very Conservative, refer the Grbl wiki for tuning instructions.
     
  8. Robin Ellis

    Builder

    Joined:
    Feb 3, 2022
    Messages:
    17
    Likes Received:
    4
    I'm using the OB limits that come with the acro. But ok, I'll do some tests. Thanks again.
     
  9. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249

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