If i am running a loop in a program is there a spot to look to see how many time it has looped this is on an older sl20 if not how would a person set something up
If i am running a loop in a program is there a spot to look to see how many time it has looped this is on an older sl20 if not how would a person set something up
Are you just using M99?
If you reset the tool count you could count them that way (provided you only call a tool once per part...
Tim
what we do on ours is run a subprogram. so, with your m99 command at the end of your regular program you then send that program to the memory or it actually should be in there anyways unless youre running it as an FNC. but, lets say your program name atthe top is O01234.nc you then create a new program called O05678.nc you then make program O05678.nc your current program and it should look like this...
O05678 (loop) ;
M98 P1234 L37 ;
M30;
now, the O05678 is the current program name (your loop program that allows you to loop it X number of times. the M98 is the loop command when selecting a stored program. the P1234 is the program you wish to loop. the L37 is how ever many times you want it to loop. i put in 37 as an arbitrary number. it could be 2 or 3,875,000 or whatever your heart desires. then, the M30 obviously ends the program after the loop counter sees 37 loops or 3,875,000 etc... it will automatically stop after it sees 37 loops or whatever your number is and go back to the top of the loop program and as soon as you press cycle start the loop count will reset and start over and stop when it reaches that number again.
Starting with mill software M16.01A and lathe software L9.01A, a loop counter was added to the Timers and Counters Pane/Window. You can also use macros, tool offsets (G10), M30 counters (setting 118), and various other ways to count the loops.
Thanks,
Ken Foulks