View Full Version : Sub program repititions - How to?


Darc
04-16-2006, 07:03 PM
I would like to add a display of either how many repitition have been done or how many to go, is this possible?
I know there is a LOOP display on the screen for multiple cuts, I'd like to have the same type of thing for sub programs.
Here's how I write my program (example only).

#01=6 (No. OF LOOPS)
G90 G54
M98 P0001 L#01
M30
O0001
G91 G00 X5 Y5 Z5 A5 B5
X-5 Y-5 Z-5 A-5 B-5
M99

Thanks.
Darc

PoppaBear10
04-18-2006, 09:40 AM
Yea,

You can do it as a VB script, attached to your "button or DRO" or what ever.
Look in the Customization manual, and/or ask Brian at the Mach forum or newfangled.
I could probably do it, but I am not that good with VB yet.

ss.