Results 1 to 2 of 2

Thread: Sub program repititions - How to?

  1. #1
    Registered
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    196
    Downloads
    0
    Uploads
    0

    Sub program repititions - How to?

    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
    Last edited by Darc; 04-16-2006 at 07:55 PM.


  2. #2
    Registered PoppaBear10's Avatar
    Join Date
    Feb 2005
    Location
    usa
    Posts
    488
    Downloads
    0
    Uploads
    0
    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.


Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.