Welcome to Our Community

Some features disabled for guests. Register Today.

Adding commands automatically to grbl code

Discussion in 'Control Software' started by David Fong, May 15, 2021.

  1. David Fong

    Builder

    Joined:
    Oct 21, 2020
    Messages:
    14
    Likes Received:
    2
    I saw a video where the guy had in his grbl code to do things like turn on off his spindle, air pump, water pump, dust collection etc...

    Is there a way when I create my grbl code through Aspire where I can do $M8, $M9, pause commands for me in the beginning and end of the code or do I need to manually type it in every time?

    I am sorry if I have been asking a lot of newbie questions, I just got my machine up and running.
     
  2. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,016
    Likes Received:
    1,682
    Much of that is done by your post processor. I use the grbl mm post processor with Vectric Vcarve and it turns my spindle on and off (M3/M5). You could edit the grbl post processor I personally do not know how, but it is possible. I can't remember if the M8/M9 is an option with Vectric when creating toolpaths for grbl. It could be that he just has everything connected so that it is all activated by the spindle on/off (M3 at the start, M5 at the end). Here is more info for the black box connections docs:blackbox:jumper-relay [OpenBuilds Documentation]
     
  3. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,785
    Likes Received:
    1,364
    Follow the help tab in Vectric to find instructions on editing post processors.
    Alex.
     
  4. David Fong

    Builder

    Joined:
    Oct 21, 2020
    Messages:
    14
    Likes Received:
    2
    Thank You all. I will look into Post Processors.
     

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