Part counter through programing variable Fanuc 18i T


Results 1 to 6 of 6

Thread: Part counter through programing variable Fanuc 18i T

  1. #1
    Registered
    Join Date
    Aug 2008
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Part counter through programing variable Fanuc 18i T

    Hi CNC-programmers!

    No part counter on my Fanuc i18-T.
    So I thought I can increment a variable in my prog, but how to write it in clear so I'll get the number when the job will be finished next week?

    Thank you for any help!
    K.

    Similar Threads:


  2. #2
    Member
    Join Date
    Dec 2012
    Location
    The Netherlands
    Posts
    395
    Downloads
    0
    Uploads
    0

    Default Re: Part counter through programing variable Fanuc 18i T

    Hi,

    Check parameters 6700 - 6713 for the part count and total parts.
    Fanuc Parameter Manual GFZ-63530 (Fanuc 18i Manuals User Guides - CNC Manual )


    these are for my Fanuc 18i-TB twin turret - twin spindle:

    Main spindle:
    N06700 P 00000000
    N06710 P 0
    N06711 P 154 (machined parts)
    N06712 P 976071 (total parts)
    N06713 P 0

    Sub spindle:
    N06700 P 00000000
    N06710 P 0
    N06711 P 145
    N06712 P 972644
    N06713 P 0

    Regards,
    Heavy_Metal.



  3. #3
    Registered
    Join Date
    Aug 2008
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: Part counter through programing variable Fanuc 18i T

    Thanks very much! I will try to set those parameters!

    BR.
    K.



  4. #4
    Member
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    1230
    Downloads
    0
    Uploads
    0

    Default Re: Part counter through programing variable Fanuc 18i T

    Quote Originally Posted by kruener1 View Post
    Hi CNC-programmers!

    No part counter on my Fanuc i18-T.
    So I thought I can increment a variable in my prog, but how to write it in clear so I'll get the number when the job will be finished next week?

    Thank you for any help!
    K.
    Hello kruener1,
    Fanuc and other controls, provide the following System Variables that can be manipulated (Read from, Written to).

    #3901 Number of machined parts (completion number)
    #3902 Number of required parts (target number)

    It would be a simple matter to create Custom M Codes to use whenever the Target Number had to be set and to increment the Completed Number, to call short Macro Programs that deal with the two issues. Example follows of Part Counter Increment Macro called with a Custom M Code.

    O9020 (Parts Completed Increment)
    #3901 = #3901 +1
    IF [#3901 LT #3902] GOTO10
    Code to Park and Stop the Machine, run Bar Change Routine, or whatever action when the Target Number is reached goes here.
    N10
    M99

    Regards,

    Bill







  5. #5
    Member
    Join Date
    Feb 2006
    Location
    india
    Posts
    1792
    Downloads
    0
    Uploads
    0

    Default Re: Part counter through programing variable Fanuc 18i T

    Another method which may suit specific cases:

    Set parameter 6710 = 100 (say)(any number between 1 and 255 except 98 and 99)
    Insert a line M100 after completion of each job.
    The part counter #3901 would automatically get incremented every time it encounters M100.(or M30 or M02).
    If it is desired to increment the count only by M100, set parameter 6700#0 (PCM) = 1



  6. #6
    Registered
    Join Date
    Aug 2008
    Location
    Germany
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: Part counter through programing variable Fanuc 18i T

    Thanks also Bill and Sinha_nsit! Sounds good, I will try that asap.



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

Part counter through programing variable Fanuc 18i T

Part counter through programing variable Fanuc 18i T