#11 G81 gcode

Code
open
nobody
None
5
2012-11-25
2012-11-25
Markus Schulz
No

Grbl is a small gcode controller using the Arduino hardware. G81 is not supported and it looks like will never be supported.
see https://github.com/grbl/grbl/issues/125#issuecomment-10696396
I may overlooked it but would it be possible to generate the drill file without G81 and just use more G1 lines?

Discussion

  • Markus Schulz
    Markus Schulz
    2012-11-25

    Hello,
    here is a patch to add a new switch: drill-no-canned-cycles
    This breaks down the G81 Gcode into G0/G1 standard Gcode...
    Thanks,
    Markus

     
  • Markus Schulz
    Markus Schulz
    2012-11-25

    This patch is a little bit more clean... however I'm unable to get the last commit out?? I just don't know how to use git...

     
  • Markus Schulz
    Markus Schulz
    2012-11-25

    test input file

     
    Attachments
  • Markus Schulz
    Markus Schulz
    2012-11-25

    G81 test output

     
    Attachments
  • Markus Schulz
    Markus Schulz
    2012-11-25

    no canned cycle output test

     
    Attachments
  • Markus Schulz
    Markus Schulz
    2012-11-25

    FYI this is how I called the program to generate the test files:
    ./pcb2gcode --drill test.drl --zsafe 10 --zchange 50 --zdrill -1 --drill-feed 200 --drill-speed 30000 --drill-no-canned-cycles --drill-output test_no.nc

     
  • Markus Schulz
    Markus Schulz
    2012-11-26

     
  • Markus Schulz
    Markus Schulz
    2012-11-26

    I changed the name of the command line option to primitive-gcode; looks like there are some other places that output gcode that is to high for Grbl and I will change this in other patches... but I don't want to have many switches - this one switch will just control all the gcode output for the whole program and switch it to use only primitive gcode. No G81 and no #xx variable are supported by Grbl.