586,104 active members*
3,470 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2011
    Posts
    7

    Macro programming using I/O

    Hello, I have been working in some macro routines to automate touch up of some components that have a bad concentricity, and due this issue is easier to take cero on every single part.

    I have been using this routine that has been working, since a renishaw probe is too expensive, I develop a macro routine that combined with one ELECTRONIC EDGE FINDER I use skip block switch in the machine every time it lights up, and what I got is an automated probe routine, but I would like to go one more step, and instead of switching manually the skip block, I would like to enter to the fanuc 18i control one input every time a touch probe touches the part, I'm sure it can be done somehow, but I would like if someone of you can adress me in the right track.

    %
    O0500(TOUCH PROBE ROUTINE)
    #1=-9.013(G54 X)
    #2=.012(G54 Y)
    #3=-.25(G54 Z)
    #4=.25(RADIO SAFETY)
    #5=.003
    #6=10
    #7=.0001
    #8=5
    #9=100
    #11=7141
    #12=7142
    G0G17G40G49G80G90
    G54
    G00
    T1M6
    G43H1Z1.5
    M3S0
    G00G90X#1Y#2
    G00Z.5
    G01F10.Z#3
    G91G01F10X#4
    #32=0
    WHILE[#32 NE 10]DO 1
    G91G01X#5F#6
    G04P#9
    /#32=10
    END 1
    X-.020
    M00
    #32=0
    WHILE[#32 NE 10]DO 1
    G91G01X#7F#8
    G04P#9
    /#32=10
    END 1
    #521=#5021
    G90G01F20X#1
    M00
    G00G90X#1
    G91G01F10X-#4
    #32=0
    WHILE[#32 NE 10]DO 1
    G91G01X-#5F#6
    G04P#9
    /#32=10
    END 1
    X.020
    M00
    #32=0
    WHILE[#32 NE 10]DO 1
    G91G01X-#7F#8
    G04P#9
    /#32=10
    END 1
    #[#11]=[#521+#5021]/2
    G90G01F20X#1
    M0
    G91G01F10Y#4
    #32=0
    WHILE[#32 NE 10]DO 1
    G91G01Y#5F#6
    G04P#9
    /#32=10
    END 1
    Y-.020
    M00
    #32=0
    WHILE[#32 NE 10]DO 1
    G91G01Y#7F#8
    G04P#9
    /#32=10
    END 1
    #522=#5022
    G90G01F20Y#2
    M0
    G00G90Y#2
    #32=0
    WHILE[#32 NE 10]DO 1
    G91G01Y-#5F#6
    G04P#9
    /#32=10
    END 1
    Y.020
    M00
    #32=0
    WHILE[#32 NE 10]DO 1
    G91G01Y-#7F#8
    G04P#9
    /#32=10
    END 1
    #[#12]=[#522+#5022]/2
    G90G01F20Y#2
    G53Z0.
    M5
    M30
    %

  2. #2
    Join Date
    Jul 2011
    Posts
    7

    Re: Macro programming using I/O

    I was wondering if I had a bad explanation of what I'm looking for, or maybe I pick on the wrong forum subject.

    How does the renishaw works? (this is what I believe)
    Well, the probe mounted in the spindle has a wireless comunication with the receiver that is attach somewhere in the machine control, to comunicate to the control... then, I'm looking to know where in the control I can attach something to it.

  3. #3
    Join Date
    Feb 2009
    Posts
    6028

    Re: Macro programming using I/O

    Most newer fanucs should have either high speed skip input or at minimum standard skip, can be used to jump to your probe routine. Im no expert on the programming side, but the skip input from the Renishaw to the Fanuc is pretty simple.

  4. #4
    Join Date
    Jul 2011
    Posts
    7

    Re: Macro programming using I/O

    Thanks for the answer, I'm currently using the block skip funtion, by switching the block skip manually in the machine control.

    How or where do I need to attach or send signal to the control? Do I need to buy any I/O to add or fanuc 18i already has an input port? in this part im lost..

  5. #5
    Join Date
    Feb 2009
    Posts
    6028

    Re: Macro programming using I/O

    18i should have at minimum standard skip. This would do exactly what your doing with the button, but automatically i believe. Ill see if i can find anything in the fanuc PDF.

  6. #6
    Join Date
    Jul 2011
    Posts
    7

    Re: Macro programming using I/O

    That sounds just awesome!! exactly what I was looking for.. I hope you find the data in the fanuc manual, I will look for it too, but you gave me the answer I was looking for, now I know there may be an input for an automated skip in the fanuc control, that is a good way to help!

    :cheers:

Similar Threads

  1. macro B PROGRAMMING
    By KNEELY in forum Fanuc
    Replies: 14
    Last Post: 03-21-2016, 01:00 PM
  2. MACRO PROGRAMMING
    By Stebedeff in forum G-Code Programing
    Replies: 14
    Last Post: 07-11-2010, 05:49 AM
  3. Macro Programming
    By john terrell in forum Daewoo/Doosan
    Replies: 3
    Last Post: 08-19-2008, 02:16 AM
  4. Macro Programming
    By danhaskell in forum Fanuc
    Replies: 1
    Last Post: 05-07-2008, 08:04 PM
  5. Macro Programming
    By dapoling in forum G-Code Programing
    Replies: 4
    Last Post: 01-18-2008, 06:33 PM

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
  •