Hi EMC2 pros I was using 12 years IBH CNC: http://www.ibh-cnc.com
They had so called "Parameter sentences". A parameter sentence was always one Line, and startet with a star, for example: *N10 P43=4000 With this lines you could perform simple math like *+-/, sqr, If, goto etc, you had about 200 Parameters (P0...P200) This parameters are set global, this means you could simply call a subprogram to set machine zero points etc. the great advance was you could move the Machine fixture to another place, set the new values in the subprogram and run all "old" programs without any hassle. Parameter lines could not move any axis and set no M code I used it a lot for parameterize my code, eg set machine fixture zero point, speeds. distances etc. this Parametes could be used for setting distances, speeds etc in "normal" CNC code like: N10 X10 Y10 F=P43 I'm quite sure, also other manufacturers used some similar approach to get such results. In my opinion, this approach has the advantage, to be used without any restrictions for other CNC Code. Only my 5 cents. Hansjakob Am 14.08.2007 um 08:10 schrieb Jeff Pollard: > > Hi, > > The wiki.linuxcnc.org Emc features page has under the heading of > DONE: > > macro language: support for a macro language, the macros written > should be able to command motion & io. the macros should have > english-readable names and accept arguments and nesting > added by: alex_joni (on IRC) and fenn > > I couldn't find any reference to Macros in the EMC2 v2.1 Users > handbook. > > Does anyone know if they are available, and if so, where I can > find documentation regarding them? > > Thanks, > > Jeff > > _________________________________________________________________ > Find a local pizza place, movie theater, and more > .then map the best route! http://maps.live.com/default.aspx? > v=2&ss=yp.bars~yp.pizza~yp.movie% > 20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1 > 000&scene=950607&encType=1&FORM=MGAC01 > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users