Hello Andy, I am using the magic tags, that is why I wrote my first message here. While I am using the magic tags, the program below throws python errors, but it does work once you dismiss the errors.
Program with the actual cutting code removed: % (T20 D=0.00049 CR=0 - ZMIN=-0.6746 - TOOL WEAR OFFSET) (AXIS,stop) G90 G94 G17 G91.1 G20 G40 G53 G0 Z0 (THREAD1) T20 M6 G43 S3500 M3 M8 M65 P0 M65 P1 #31 = 0 o101 while [ 1 EQ 1 ] G53 G0 Z0 o102 if [ #31 EQ 0 ] (LEFT FIXTURE) G54 #31 = 1 (WAIT FOR LEFT FIXTURE LOADED INPUT) M66 P0 L3 Q65535 (CLOSE THE LEFT FIXTURE) M64 P0 (OPEN THE RIGHT FIXTURE) M65 P1 o102 else (RIGHT FIXTURE) G55 #31 = 0 (WAIT FOR RIGHT FIXTURE LOADED INPUT) M66 P1 L3 Q65535 (CLOSE THE RIGHT FIXTURE) M64 P1 (OPEN THE LEFT FIXTURE) M65 P0 o102 endif G53 G0 Z0 X0 Y0 ... Code to make the part here ... G40 G0 X0 Y0 G53 G0 Z0 o101 endwhile M30 % Thank you, -Neil Whelchel- On Fri, Jun 24, 2016 at 10:15 AM, andy pugh <bodge...@gmail.com> wrote: > On 24 June 2016 at 17:09, Jeff Epler <jep...@unpythonic.net> wrote: > > > I *believe* the special handling code is in the portion that is shared > > between axis and gremlin, so try using (AXIS,stop) at the point you want > > to end the preview. > > I miss-read the original message, I thought it was rejecting the > already-existing "magic comments" rather than suggesting magic > comments. > > Neil: http://linuxcnc.org/docs/2.7/html/gui/axis.html#axis:preview-control > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1916 > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers