Page 1 of 2 12 LastLast
Results 1 to 12 of 17

Thread: Part Count

  1. #1
    Registered
    Join Date
    Jul 2005
    Location
    Usa
    Posts
    53
    Downloads
    0
    Uploads
    0

    Part Count

    Hi everyone,

    Just a quick background - Im running multiple parts on a CNC and would like to have the part count
    match what Im machining. Parts are small so I run 6 to 9 parts a cycle. When operation is done
    in the parts count on Fanuc control says 1 with the proper cycle time. Is there anyway to have a variable
    in the program to change the part count to match the actual count. Hope I'm saying correctly.
    Need assistance if possible. Thanks

    Jerseycnc


  2. #2
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Part count = 1

    Ok. Thanks for the information.

    Was there a question in there some place?
    http://www.kirkcon.com/


  3. #3
    Registered
    Join Date
    Jul 2005
    Location
    Usa
    Posts
    53
    Downloads
    0
    Uploads
    0
    If the program completes 6 parts I would like the part count to read 6
    not 1. Is it possible to have a variable (If Im saying it correctly) to change
    the part count of the Fanuc control to correspond using macro B

    Jerseycnc
    Last edited by Jerseycnc; 03-04-2012 at 09:14 PM. Reason: add


  4. #4
    Registered
    Join Date
    Mar 2006
    Location
    US
    Posts
    122
    Downloads
    0
    Uploads
    0
    #3901 Number of Machined Parts (completion number)

    I am not sure if you can write to this system variable or not as I have not tried it.

    If you can just use #3901=#3901+6

    Otherwise, the easiest way is typically to use a 500 series variable and add 6 or 9 to that each time.

    Smae format as above...... #501=#501+9


  • #5
    Registered fordav11's Avatar
    Join Date
    Aug 2011
    Location
    Fordaville
    Posts
    1,665
    Downloads
    0
    Uploads
    0
    you dont need macro to count parts.
    first, what Fanuc control do you have? the part count can be zero'd in SETTING or set to any number and when the program reads M30 it'll add 1 to the current part count. that setting number is just one of the parameters. you can set the parts count parameters via G10.
    there's also a parameter to set the M code that adds 1 part. it's usually 30 but depending on your control it may be different or not set up at all.

    Can you explain what you mean by "Parts are small so I run 6 to 9 parts a cycle"
    are you machining parts from a single piece of material in one go via a sub-program or does the machine stop at M30 and you load the next part? if the former you cant make it count parts unless you tell the machine the program has ended. you can do it by changing the M code that tells the machine to count or by programming your job a different way so it can read an M30 (or M99 if using sub programs) after each part.
    Last edited by fordav11; 03-05-2012 at 09:08 AM.


  • #6
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    I think he means he is running a part off job where he is parting off, say 6 thin rings, per material pull out. So, when he hits M30, counter is showing 1 and he wants it to show 6. I do not know why he can't just multiply 1 times 6 in his head. Maybe it is the 98 times 6 that is messing with him.
    http://www.kirkcon.com/


  • #7
    Registered
    Join Date
    Jan 2006
    Location
    USA
    Posts
    2,451
    Downloads
    0
    Uploads
    0
    txcncman

    Maybe you could post a table or something to show the display count in one column and the actual count in another?



    Matt


  • #8
    Registered fordav11's Avatar
    Join Date
    Aug 2011
    Location
    Fordaville
    Posts
    1,665
    Downloads
    0
    Uploads
    0
    or he could count it on his fingers (thats 10% more than he needs... up to 10 parts!)
    if he runs out of fingers he could take off his boots and count on his toes


  • #9
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,499
    Downloads
    0
    Uploads
    0
    Well, Jerseycnc, I hope you've learned your lesson: Be careful what question you post here, as it may not get past the Masters of All Things CNC, who obviously know what's best for you, and make sure to point out how inane your question is.

    It reminds me of the guy who went to New York City and asked a "local" for directions:

    "Excuse me, can you tell me how to get to the Statue of Liberty, or should I just go f**k myself?"

    It used to be you could post pretty-much any question up here, and you'd get several ideas on how to solve your problem. Some were good, some not so good, but nobody tried to make you feel like an idiot.

    Cudos to sld4121 for actually trying to help.


  • #10
    Registered
    Join Date
    Aug 2008
    Location
    United States
    Posts
    62
    Downloads
    0
    Uploads
    0

    Thumbs up

    Quote Originally Posted by dcoupar View Post
    Well, Jerseycnc, I hope you've learned your lesson: Be careful what question you post here, as it may not get past the Masters of All Things CNC, who obviously know what's best for you, and make sure to point out how inane your question is.

    It reminds me of the guy who went to New York City and asked a "local" for directions:

    "Excuse me, can you tell me how to get to the Statue of Liberty, or should I just go f**k myself?"

    It used to be you could post pretty-much any question up here, and you'd get several ideas on how to solve your problem. Some were good, some not so good, but nobody tried to make you feel like an idiot.

    Cudos to sld4121 for actually trying to help.


  • #11
    Registered
    Join Date
    Jul 2005
    Location
    Usa
    Posts
    53
    Downloads
    0
    Uploads
    0
    Well fellas maybe Im back for more punishment. I was always told no question is stupid.
    Anyway-
    I know I can count - Its the operator who loses count so I want to know run time count vs parts on the floor - is he throwing parts away trying to keep a heads up
    Leadwell
    Control Fanuc OM - memory type A.


  • #12
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Set up remote monitoring. You can probably write a macro that could output program number executed, date/time stamp, and keep a running total of parts in a variable to be output also. All this could be sent to a remote computer just prior to M30 on each cycle. Any data kept on the machine could potentially be deleted or amended by the dishonest employee.

    #3011 - Date
    #3012 - Time
    #3901 - Number of parts machined
    #4115 - Program number

    Referenced from: Fanuc system macro variables and macro programming

    To send through the RS-232 I believe the commands are:

    POPEN - to open the port
    DPRNT - to print the characters and the macro variables that you want to send out
    PCLOS - to send and close the port

    Would look something like:

    POPEN
    DPRNT[DATE#3011 TIME#3012 PGRM#4115 PARTS#3901]
    PCLOS
    http://www.kirkcon.com/


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Replies: 6
      Last Post: 01-30-2012, 10:34 PM
    2. Need Help!- Part Count in Fanuc 21 MB
      By M.RISHIKESH in forum Fanuc
      Replies: 1
      Last Post: 10-22-2011, 08:29 AM
    3. What is important part count or utilization
      By chrisryn in forum General Metalwork Discussion
      Replies: 31
      Last Post: 07-15-2009, 04:06 AM
    4. A light-weight table/bearing assembly with a low part count.
      By greybeard in forum Linear and Rotary Motion
      Replies: 12
      Last Post: 11-09-2005, 06:16 PM
    5. Replies: 0
      Last Post: 11-05-2005, 05:28 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.