Welcome to Our Community

Some features disabled for guests. Register Today.

Door input as plasma breakaway

Discussion in 'Control Software' started by Kwhite2828, Nov 14, 2023.

  1. Kwhite2828

    Builder

    Joined:
    Aug 10, 2022
    Messages:
    6
    Likes Received:
    0
    I resurrected an old Lincoln plasma table to make a simple cut on a difficult material. Pretty much straight cut along X then step back and repeat another straight cut along X. The material being cut doesn't allow for torch height control so the Z is constant on the cut path. My question or issue is I would like to use the door function with the magnetic, mechanical, NC breakaway system that was on the table. For this to work I need the door to work as NC and stop the plasma "relay" & pause all motion.
     
  2. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    search these forums for 'door input as emergency stop' posts.. been discussed many times
     
  3. Kwhite2828

    Builder

    Joined:
    Aug 10, 2022
    Messages:
    6
    Likes Received:
    0
    I've searched that topic when I first assembled this contraption. If I remember correctly all I could find is "add a true e-stop circuit" and don't use the door as an e-stop. I did find a flash code written for a spindle machine performing a similar function but it was still NO setup with z axis movements when triggered.I can't change my NC trigger and would like to not add a secondary relay to complete this function. Hoping for code to reverse the door trigger to NC.
    Thanks for the suggestion, I may have to dig more in the forums.
     
  4. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
  5. Kwhite2828

    Builder

    Joined:
    Aug 10, 2022
    Messages:
    6
    Likes Received:
    0
    Thank you! It's a 4x but I do have two of these in operation with an X32 for spare.
    I'm pretty illiterate when it comes to configuring these. recompile GRBL?
     
  6. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    These are GRBL controllers, they run the GRBL firmware (software in the chip inside the controller) which translates Gcode into motor movement.
    the 4X runs GRBL, the one designed for Arduino Uno R3 compatible hardware (8bit Atmel 328p chip).
    the X32 runs grblHAL, the (much advanced) one designed for 32bit controllers like the ESP32 in the X32

    so, recompiling.... full instructions in the GRBL wiki, you will need to change settings in the config.h to get the pinouts and other things right, and also the invert mask for the door input.
    much easier to install the X32 and change setting $17 (-: I woudl do that.
     
    Giarc and Kwhite2828 like this.
  7. Kwhite2828

    Builder

    Joined:
    Aug 10, 2022
    Messages:
    6
    Likes Received:
    0
    Thank you for the information and I have installed the X32. Door input works as NC and stops the motion along with M5 to stop the "tool" plasma. My issue currently is what to set as the $17 mask? 0 - 12? I've tried them all with the intent of having the motion & "tool" stop when triggered. After I replace the breakaway "door" and resume it does not trigger the "tool" only resumes motion.
    upload_2023-12-6_14-17-11.png

    Thanks again for the support! I am well out of my knowledge base, but this is an excellent group for some free education :)
     

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