On a simulated 3axis setup, the following program runs fine and
evaluates the while loop 10 times as expected.
But on my one-axis test machine (only one X axis), the while loop
is only evaluated once. The axis does move correctly, but the loop
is exited after the first iteration.

Any ideas?

%
g17 g40 g49 g80 g90 g94 g61 g21
G54
#1 = 0
O1 while [ #1 lt 10 ]
        G1 X10 F1000
        G1 X0
        #1 = [ #1 + 1 ]
O1 endwhile
M30
%
-- 
Greetings, Michael.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to