Welcome to Our Community

Some features disabled for guests. Register Today.

grble 1.1f issues

Discussion in 'CAM' started by paul larner, May 4, 2019.

  1. paul larner

    Builder

    Joined:
    May 3, 2019
    Messages:
    2
    Likes Received:
    0
    Hi all,ive an arduino uno running gbrl 1.1f,every time i send an m7 command i get the error msg:unsupported or invalid g-code command found in block.streaming has been paused,says its error 20,it does it with laser mode both enabled and dissabled,min spindle speed is set to 250 and max 1000,can anyone give me a clue why im getting this?,cheers Paul.
     
  2. sharmstr

    sharmstr Master
    Moderator Builder

    Joined:
    Mar 23, 2018
    Messages:
    565
    Likes Received:
    317
    M7 is disabled by default in grbl. You need to enable it in config.h and reflash the arduino. Check out the grbl wiki: gnea/grbl

    For my own education here, why do you want mist control with a laser?
     
  3. paul larner

    Builder

    Joined:
    May 3, 2019
    Messages:
    2
    Likes Received:
    0
    thats no help.
     
  4. sharmstr

    sharmstr Master
    Moderator Builder

    Joined:
    Mar 23, 2018
    Messages:
    565
    Likes Received:
    317
    Ok. M7 command is disabled (wont work) in the default grbl config. You need to compile a custom config. The link I sent you has directions to do this using the Arduino IDE. You will need to uncomment the the following line in config.h to make M7 work and not throw errors:

    Code:
    #define ENABLE_M7 // Disabled by default. Uncomment to enable.
    To uncomment that line, all you need to do is remove the # from the beginning of the line.

    This part of the instructions is important

    "Most users are just fine with Grbl's default build, but you can customize Grbl by editing the config.h file. It is extremely important to edit the files inside the Arduino library folder not the folder you imported the library from. This file enables or disables all of Grbl's additional compile-time options. There are descriptions in the file that explains what they all do. Once edited and saved, just follow the steps above to flash your custom Grbl build!"
     
    Award, NthAxisWorkshop, Giarc and 2 others like this.
  5. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    1,069
    Likes Received:
    613
    M8 is enabled though.. That might be what you were actually looking for? M8=coolant on, M9=coolant off
     
    David the swarfer likes this.
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    1,069
    Likes Received:
    613
    Or are you trying to turn on the laser?

    M3 S1000 = enable laser with 100% power, but not on yet)
    G1 X10 (10mm move with laser on)
    M5 = disable laser
     

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