Welcome to Our Community

Some features disabled for guests. Register Today.

Confused about Alarm and Hold states

Discussion in 'Control Software' started by Adrian Tomren, Jul 6, 2023.

  1. Adrian Tomren

    Builder

    Joined:
    Jun 16, 2023
    Messages:
    14
    Likes Received:
    0
    Hi!
    I'm controlling the ACRO1515 from a C++ program over serial communication, and whenever i start a program I send $x and $h to reset and home the machine, which works great.
    However, when the machine is in an Alarm-state, for example Alarm:1 (hard limits triggered), i can't seem to start it. From what I've read in the wiki and also as the message in the Serial Console says, I've tried sending $X to reset the alarm state, but it only works in the Serial Console, and not in other terminals. As the Serial Console is embedded with safety and forbids certain commands, Im kind of confused as to why the hard-reset works here, but not in other terminals, when I kind of expected the opposite.
    Does anyone know how I can reset the Alarm:1 state from a terminal that is not the Serial Console? Cant seem to find anything other than the $X command in the wiki/github/...

    On another note, what is the Hold-state? I've only gotten it once, but am I correct that this is the state the machine enters when applied a "feed-hold" (!) ? If it is, I can just continue the machine with the ( ~ ) command right?

    Thank you!
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,612
    Likes Received:
    4,452
    Correct, Hold signifies a Feedhold


    Send a 0x18 (Ctrl+x) as per the wiki Grbl v1.1 Interface - and our implementation in CONTROL OpenBuilds-CONTROL/index.js at master · OpenBuilds/OpenBuilds-CONTROL (Clear alarm buttons in CONTROL calls that parent function)
    I don't recall the exact research why we did it that way round, but it works
     
  3. Adrian Tomren

    Builder

    Joined:
    Jun 16, 2023
    Messages:
    14
    Likes Received:
    0
    Thank you. :)

    I know that !, ? and ~ are realtime commands that do not go into the buffer, but is picked up beforehand and a flag is set. And this goes for 0x18 and 0x85 to, right? (not using $ first)

    On another note, is there a command to empty the plan-ahead-buffer? (Or it might be called the serial buffer?)
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,612
    Likes Received:
    4,452
    Thats what the 0x18 reset does
     
  5. Adrian Tomren

    Builder

    Joined:
    Jun 16, 2023
    Messages:
    14
    Likes Received:
    0
    Aaaah, alright, thank you!
     

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