On Mon, Oct 11, 2010 at 11:00:30AM -0700, Rudy Munguia wrote: > Anyway, I have read that EMC2 adheres really closely to the original NIST > rs274ngc standard, so I would like to take advantage of subroutines so my > files > aren't so large ( and time consuming). I thought using O, O1, O2, etc I could > specify subroutines, but EMC2 is reporting that it does not recognize the > control after the O. Could someone post an example of using O correctly? or > correct me if O is not how subs are implemented?
The ngc standard doesn't have things like flow control and subroutines; EMC2 did start with an ngc implementation long ago, but it has grown a lot of features that were not in ngc. That being said, the best place to start for all questions about EMC2's gcode is the gcode quickref: http://www.linuxcnc.org/docs/html/gcode.html >From here you'll see "O..." under flow control codes, and clicking on the O will send you to the more specific documentation. You'll be looking for sub/endsub but there are more. Chris ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users