Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Grammer file for Coded with numbers e.g. M30

2009-01-10
2013-05-30
  • Gerhard Burger
    Gerhard Burger
    2009-01-10

    Hello

    I would like to write a grammer file for G-code. I already defined some keys but it seems that synedit does not identify it. The codes exist of Characters and Numbers, e.g.

    G00, G01, M03, M30 etc.

    Anybode an idea how to manage this please?

    Question 2:

    There are codes with varible values. e.g.

    N000010 G01 X12.20 Y-123.00
    N000020 G00 X100 Y100 F200

    Values of parameters N, X, Y and F can change. Is there any posibility to define this situation in the grammer file?

    Thanks a lot and best regards

    Geri