Newbie Running a probing cycle after a certain amount of parts


Results 1 to 3 of 3

Thread: Running a probing cycle after a certain amount of parts

  1. #1
    Member ball_fondler's Avatar
    Join Date
    Jun 2021
    Posts
    1
    Downloads
    0
    Uploads
    0

    Smile Running a probing cycle after a certain amount of parts

    Hi,

    Running some parts and using the probing system on a haas super mini mill 2 to measure some bores and other geometry. The problem is that it runs the probing cycles every part. Out of 50+ parts not a single one has been out of tolerance, so it measuring for no reason most of the time. I am a bit of a newbie so i do not know how to use control statements and other more advanced stuff. How can i create a program where it runs the probing cycles maybe every 10th part? 25th part? 50th part?

    Similar Threads:


  2. #2
    Member
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Re: Running a probing cycle after a certain amount of parts

    Block delete would be the simplest solution for you if you have no experience with program logic or macros. Just turn off the block delete when you want to do a measurement



  3. #3
    eckitsch's Avatar
    Join Date
    Aug 2007
    Location
    Suhl
    Posts
    411
    Downloads
    0
    Uploads
    0

    Default Re: Running a probing cycle after a certain amount of parts

    COUNTER 1 for M30 is #3901

    ...
    #1=#3901 mod 10
    #2=#3901 mod 25
    #3=#3901 mod 50
    #4=#1+#2+#3
    IF [#4 NE 0] GOTO 1111
    (PROBING)
    ...
    N1111
    ...



  4. #4
    Member jrfiggz1's Avatar
    Join Date
    Sep 2021
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default Re: Running a probing cycle after a certain amount of parts

    What work offsets are you using? The simplest way I can think of is also using the mod function but just relating it to your work offsets... if you are using the 154.01 to 154.50+, you can simply create a counter variable and do math on said variable with a conditional statement.... Also... are you changing parts out or using a palletized set up? If you are using a palletized set up, the counter variable works.

    If you are changing out parts, then I would follow echitsch's advice and use variable #3901 for your M30 counter just be sure to reset it once you start over. Every time the cycle ends, the counter will increase by 1, and instead of writing to a single variable and adding them up, you can write out



    #1= 10 (CHANGE THIS VALUE TO REFLECT HOW OFTEN TO PROBE)
    IF[[#3901 MOD #1] EQ 0] GOTO#### (CHANGE #### TO PROBING SUBROUTINE LINE NUMBER)
    ... (IF ABOVE STATEMENT IS FALSE JUST CONTINUE)



    Alternatively instead of a GOTO statement, you can simply put in an M97 P#### command and have the probing routine as a subprogram after your M30...


    There are lots of possibilities on how you can tackle this but it ultimately comes down to what's the best way for you and in a way you can remain consistent from job to job.



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

Running a probing cycle after a certain amount of parts

Running a probing cycle after a certain amount of parts