Parts counter with an M99?
Close
Login to Your Account
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2016
    Country
    UNITED STATES
    State/Province
    Arizona
    Posts
    3
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    0

    Default Parts counter with an M99?

    Hi everyone,

    Iíve got a Bridgeport/Hardinge mill with a pallet changer, using fanuc controller. Iím using an M99 to loop the program for constant running. The problem is, the parts counter wonít work this way.

    Is there a simple M code that I can add before the pallet change, to activate the parts counter? I just read about M54 on a different thread, and Iíll try it tomorrow, but these Bridgeports are weird... Iím not sure it will work.

    Thanks guys.

  2. #2
    Join Date
    Aug 2013
    Location
    Chicago, IL
    Posts
    675
    Post Thanks / Like
    Likes (Given)
    470
    Likes (Received)
    250

    Default

    I have no experience with that particular machine but on my Brother pallet machine an Mcode will increase the part counter so you could just type that in anywhere in your program before the M99. If your M54 or whatever doesnít work can you write a very simple macro counter?

    Rough example for 1000 pc run size:
    ;
    ;
    #600=[#600+1]
    IF[#600GT999]GOTO1
    ;
    ;
    M99;
    ;
    N1
    M30


    That would stop you before executing the M99 so you would be inside your sub program, but something like that....

  3. #3
    Join Date
    Sep 2010
    Location
    india
    Posts
    1,088
    Post Thanks / Like
    Likes (Given)
    65
    Likes (Received)
    185

    Default

    Check if parameter 6710 ia available on your machine.
    If so, store 50 (for example) in it and M50 would increment the part count by 1.
    If the increment is desired only by M50 (i.e., not by M02 and M30), set 6700#0 = 1.
    0,98 and 99 cannot be stored.

  4. Likes Ox liked this post

Tags for this Thread

Bookmarks

Posting Permissions

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