Variable Counting


Results 1 to 2 of 2

Thread: Variable Counting

  1. #1
    Member kreativjustin's Avatar
    Join Date
    Dec 2012
    Location
    united states
    Posts
    43
    Downloads
    0
    Uploads
    0

    Question Variable Counting

    I don't usually do variable counting, obviously, but I'm trying to test tool life of 2 different endmills. Problem is, I can get into the hundreds before the tool needs changed.

    Either way, I have been able to get some success, just not completed.

    This is my command:

    #WAIT
    #V1=V1+1

    It works, except it counts by 2 instead of 1.

    If I was at 4, it goes to 6. 6 to 8, so on and so forth.

    Any help is appreciated.

    --Edit--

    I did change it to #V1=V1+.5 and it only counted by 1. This works, but isn't the correct way as I will be counting by the # of holes (# of holes change per part) to get a more accurate amount of time on each tool when it finally wears out.

    Similar Threads:
    Last edited by kreativjustin; 07-18-2018 at 07:42 AM.


  2. #2
    Member kreativjustin's Avatar
    Join Date
    Dec 2012
    Location
    united states
    Posts
    43
    Downloads
    0
    Uploads
    0

    Default Re: Variable Counting

    I still haven't figured out the issue.

    I have also tried to do more with the Macros. None of them are working correctly.

    I have my V3 set to "1" on my offsets variable page.

    I'm trying to make the z axis go to 1"

    I'm in format 2.. this is my program & it goes to z0 instead of z1.0

    #R1=V3
    G0 G54
    G0 Z+R1
    Like I said, it goes to z0 instead of z1.0



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Variable Counting

Variable Counting