hi
I am trying to peck down and then rotate a to cut the next slot .it will not read the #count and do 14 inc . what am I missing ?
(my code )
#a1=0
#a2 = -0.025
#count =0
g90 g20
m3
g0 a0
while #count < 14 do
While #a2 > -.1 do
g0 z.05
x.0y0

g1 z#a2 f15.
x0.4

g0 z.3
#a2=#a2-.025
endwhile
g91
g0 a25.7142857
g90
#count = #count +1
ENDWHILE
m5 m30
-----------------------

( flashcut manual sample )

WHILE #Row < #TotalRows DO
WHILE #Col < #TotalCols DO
M98 PUpdateLocation
#Result = #Col / 2
IF [#Col - #Result * 2] = 1 THEN
#MakeMeSmile = TRUE
ELSE
#MakeMeSmile = FALSE
ENDIF
M98 PSmiley
#Col=#Col+1
ENDWHILE
#Row=#Row+1
#Col=0
ENDWHILE
G00 X0 Y0


thank you

Similar Threads: