Need Help! Barfeeder subprogram need more information


Results 1 to 2 of 2

Thread: Barfeeder subprogram need more information

  1. #1
    Member Rukam22's Avatar
    Join Date
    Sep 2019
    Location
    DARFIELD
    Posts
    30
    Downloads
    0
    Uploads
    0

    Wink Barfeeder subprogram need more information

    Hello guys,
    I really wonder if anyone could explain to me the barfeeder subprogram code, I would be really grateful:

    O9001
    IF[#1002EQ1]GOTO20 - where I can find this in my controller Fanuc?
    IF[#1000EQ0]GOTO10 - where I can find this in my controller Fanuc?
    G0X#500
    Z#501
    M72
    #100=0 - where I can find this in my controller Fanuc?
    WHILE[#1001EQ0]DO1 - where I can find this in my controller Fanuc?
    G04X0.1
    #100=#100+1 - where I can find this in my controller Fanuc?
    IF[#100GE#515]GOTO2000 - where I can find this in my controller Fanuc?
    END1
    G0Z#503
    X#502
    M65
    M71
    M98P8020
    G0Z#505
    X#504
    M72
    M65
    M71
    M99
    N10M72
    M65
    M71
    M99
    N20IF[#1000EQ0]GOTO30 - where I can find this in my controller Fanuc?
    G0X#500
    Z#501
    M71
    #100=0 - where I can find this in my controller Fanuc?
    WHILE[#1001EQ0]DO1 - where I can find this in my controller Fanuc?
    G04X0.1
    #100=#100+1 - where I can find this in my controller Fanuc?
    IF[#100GE#515]GOTO2000 - where I can find this in my controller Fanuc?
    END1
    G0Z#503
    X#502
    M65
    M72
    M98P8020
    G0Z#505
    X#504
    M71
    M65
    M72
    M99
    N30M71
    M65
    M72
    M99
    N2000#3000=1(BF NO EJECT) - where I can find this in my controller Fanuc?

    Similar Threads:


  2. #2
    Member
    Join Date
    Feb 2011
    Location
    usa
    Posts
    353
    Downloads
    2
    Uploads
    0

    Default Re: Barfeeder subprogram need more information

    these are generally where to find these
    you don't mention the model or age of the controller

    #1000 / #1001 and #1002 are system variable you may not be able to see them directly but you can see the numbers in them by writing a macro statement #1=#1000
    #100's is a macro variable seen in the offset pages under macro
    #500's is a macro variable seen in the offset pages under macro

    By the question;s of (where I can find this in my controller Fanuc?)
    you would be wise to purchase a book on macro programming
    Sinha- custom macro b
    peter smid -fanuc cnc custom macro's

    these will cover if statements /while do statements/ local variable/ global variables

    these will start you on understanding what is in your bar feed program



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

Barfeeder subprogram need more information

Barfeeder subprogram need more information