Results 1 to 10 of 10

Thread: Fanuc 18i-M controller

  1. #1
    Registered Wjman's Avatar
    Join Date
    Apr 2003
    Location
    England
    Posts
    60
    Downloads
    0
    Uploads
    0

    Fanuc 18i-M controller

    Hi there,
    I did not know where to post this question so I thought here was as good a place as any. My problem is that sometimes I need to time a job thats cutting, I can note the start time but sometimes I can't note the end time. Is there any way that I can set the controller to time the job? I have read something about how to do this but can't get to grips with it.
    (Fanuc 18i-M controller)
    Mark...


  2. #2
    Registered
    Join Date
    May 2003
    Location
    Canada
    Posts
    4
    Downloads
    0
    Uploads
    0
    The parameter might not be on for this option on the controler. What year is the controller, and make of machine is it? I might be able to get the right numbers for you.

    Joe


  3. #3
    Registered
    Join Date
    May 2003
    Location
    Romeo, MI - USA
    Posts
    75
    Downloads
    0
    Uploads
    0

    Log Timing of program

    IF the machine has custom macro B, a simple macro can be written to store the system variable for time (#3012) at the start of the program (i.e. #500=#3012), store it at the end of the program (i.e. #501=#3012), then take the difference (i.e. #502=#501-#500). I think that might get what you're looking for.

    HTH
    Paul Sevin - Ovation Engineering, Inc.
    http://www.ovationengineering.com


  4. #4
    Registered
    Join Date
    May 2003
    Location
    India, Mumbai
    Posts
    41
    Downloads
    0
    Uploads
    0
    Dear Wjman,

    psevin has given the exact reply.

    When you write #500 = #3012, it will record the Clock Time at that moment in the macro #500. If the Right Hand corner of you screen shows 9:23:40, the macro #500 will store a value of 92340. Similarly it will store the clock time in #501.
    (You can use anyother macro like #100 or #1 etc. However, #500 serie Macros do not wipe out after Power Off, whereas others do.

    Now you can do manual calculation to find out the cutting Time. Or you can write another complex Macro Program to do Cycle time calculation and give you Cycle Time readily. However, note that, we need to use these Macro feature, only where it is really necessary. Because these Macro Programs consume valuable time of the CNC Processor.

    smabhyan
    smabhyan


  • #5
    Registered Wjman's Avatar
    Join Date
    Apr 2003
    Location
    England
    Posts
    60
    Downloads
    0
    Uploads
    0

    Fanuc 18iM controller

    Thanks guys,
    I'll give it a go.
    Mark...


  • #6
    Registered Wjman's Avatar
    Join Date
    Apr 2003
    Location
    England
    Posts
    60
    Downloads
    0
    Uploads
    0
    Guys,
    I tried your suggestion today, It worked great. I had to use #510 - #512 as #500-#506 are used in every program I use, but the end result was the same. I understand smabhyan's explanation regarding the complex macro . So without getting too complicated I will use the method suggested by you guys. Thanks for your answers. Much appreciated.
    Mark...

    P.S. That's what forums like these are about.
    If in doubt ask!


  • #7
    Registered
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    2
    Downloads
    0
    Uploads
    0

    To calculate a timer in Macro


    Hi, I created a timer to calculate a working time in macro O1000 (sub-pro)

    In the main program:
    you can add on one line in the begining to set starting time in #500 and call #1000 in end before M30.
    After run this program, you can check #505 - for hours, #506 - for minutes, #507 - for seconds
    Any questions, you can e-mail to me "yihong.wu99@gmail.com" or "jwu@optimamfg.com"

    for Example:

    O1 (Main program)
    #500=#3012 (set staring time in #500)
    ---------
    ---------
    ---------
    M98 P1000 ( to calcute working time)
    M30

    O1000 (MACRO FOR A TIMER BY Yi-Hong WU 07/23/2007)
    #501=#3012(TO GET ENDING TIME)
    #2=0
    IF[#500GT#501]GOTO500
    N1#1=#500
    N100#100=FIX[#1/10000]
    #101=FIX[[#1-#100*10000]/100]
    #102=#1-#100*10000-#101*100
    IF[#2EQ1]GOTO2
    #103=#100
    #104=#101
    #105=#102
    #1=#501
    #2=1
    GOTO100
    N2#106=#100
    #107=#101
    #108=#102
    N3IF[#108GE#105]GOTO200
    #108=60+#108
    #107=#107-1
    N200#507=#108-#105
    IF[#107GE#104]GOTO300
    #107=60+#107
    #106=#106-1
    N300#506=#107-#104
    #505=#106-#103
    GOTO600
    N500#3000=141(OVERSIZE VALUE)
    N600
    (#500 - FOR STARTING TIME)
    (#501 - FOR ENDING TIME)
    (#505 - FOR HOUR)
    (#506 - FOR MINUTE)
    (#507 - FOR SECOND)
    M99


  • #8
    gar
    gar is offline
    Registered
    Join Date
    Mar 2005
    Location
    USA
    Posts
    1,498
    Downloads
    0
    Uploads
    0
    deleted
    Last edited by gar; 07-24-2007 at 01:36 PM.


  • #9
    gar
    gar is offline
    Registered
    Join Date
    Mar 2005
    Location
    USA
    Posts
    1,498
    Downloads
    0
    Uploads
    0
    070724-0909 EST USA

    On a HAAS machine there is a millisec timer at #3001. This is quantized to 20 milliseconds. Maximum count is equivalent to 497 days per the manual. This is resettable to zero at any time, increments only in 20 millisecond increments. The 497 days appears to come from the use of a 32 bit counter of 1/100 second increments.

    Thus, if Fanuc has this capability you can zero the timer at the start of the cycle and simply read its value at the end of the cycle, or save values at different points in the cycle.

    An example output from a HAAS machine is at my web site www.beta-a2.com about 2/3 down on a very long E232 web site page. This shows output formatted results from times at various points in a machine cycle. Also measures part to part time.

    .


  • #10
    Registered
    Join Date
    Feb 2010
    Location
    Canada
    Posts
    2
    Downloads
    0
    Uploads
    0
    Hi. I don`t know almost nothing about forums. I need a FANUC 18i-M operation panel document for my class. If you may help me, please send me the information.

    Excuse my english grammar.

    Thanks, JOHN


  • Similar Threads

    1. DNC Feeding your Fanuc Controller
      By Gerry Newe in forum Fanuc
      Replies: 8
      Last Post: 10-01-2012, 07:09 PM
    2. Replies: 8
      Last Post: 06-03-2009, 09:14 AM
    3. CRC programing with an old Fanuc 11M controller
      By Moparmatty in forum G-Code Programing
      Replies: 4
      Last Post: 02-08-2005, 10:10 AM
    4. GMF Fanuc L-100 Robot R-F controller
      By whiteriver in forum Fanuc
      Replies: 5
      Last Post: 01-28-2005, 11:16 AM
    5. Replies: 1
      Last Post: 10-18-2003, 09:34 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.