Results 1 to 2 of 2

Thread: What's a good way to have a counting formula?

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

    What's a good way to have a counting formula?

    When I say counting I mean at the top of my program you enter how many passess and everytime it runs through the program it takes one off the amount of passess to go.
    Does that make any sense to anyone else but me??


  2. #2
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4826
    Downloads
    0
    Uploads
    0
    Darc,

    Is this something that you cannot handle with an M98?

    MyVariable = (MyVariable-1)

    That would be the barest example. I'm not sure if Camsoft will permit an If Then loop in a gcode program.

    That's why I'd recommend that you use the M98, as that is what it does best is count down
    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


Similar Threads

  1. looking for a good lathe
    By chiliuno in forum General Metalwork Discussion
    Replies: 10
    Last Post: 08-05-2007, 06:32 PM
  2. Is it a good program???
    By Tompie in forum Solidworks
    Replies: 23
    Last Post: 11-02-2005, 11:03 PM
  3. Please help find good CNC...
    By dino-new in forum General Metalwork Discussion
    Replies: 11
    Last Post: 01-13-2005, 06:24 AM
  4. best horizontals for good price ?
    By ben hinchl in forum General Metal Working Machines
    Replies: 1
    Last Post: 09-02-2004, 11:30 PM
  5. Ramblings about a darn good looking table
    By samualt in forum DIY CNC Router Table Machines
    Replies: 1
    Last Post: 10-09-2003, 08:47 PM

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.