Gcode parser error?

I am attempting to read a simple G code file.  It is legal G code:  I'm running Marlin on a RAMPS 1.4 board. 

G1 F1000 X-.333 S27
X-.333 S35
X-.333 S12
X-.333 S25

You'll notice that only the G1 is only in the first line.  G1 is modal, and should be "carried over" to subsequent lines. 
I get "unrecognized code".   Even a simple file might have 1000 blocks, making it very difficult to edit manually.  Is there a parameter that can be set? 

I prefer to have the G1 etc. codes on each line.  However LaserGRPL generates them that way. 

I've also noted that Marlin wants all caps.

Thanks,
Alan

Comments

  • Also this is for marlin and this is repetier forum, the code is illegal. Printer firmwares have no sticky Gx/Mx and you need to add it for every line.
  • Thanks,
    I'm slowly working my way through Marlin.  It doesn't like my line numbers either. 
    Alan
Sign In or Register to comment.