593,374 active members*
6,834 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Fadal > Assigning subroutine number of passes ???
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2009
    Posts
    51

    Assigning subroutine number of passes ???

    I have searched this forum and others but can't find an answer to this one.

    A program that I created to re-machine existing parts, needs a multi-pass facing routine which was simple enough to do with a subroutine.
    The trouble is a need to define the number of passes ... some parts may need two passes, some may need (say) five passes.
    The program works out how many passes it needs, but the problem I have is transferring that number to the subs L21## number.

    I have been thru the Fadal manuals, searched forums, tried multiple trial/error combinations (like L21+V20, L21+R1, L21(R1) etc etc) but I can't get it to work .... or find an answer.
    The subs ok, if I enter L2104 it will do 4 passes so its good.

    Its no doubt very simple .... can anyone help me with this please ??

  2. #2
    Join Date
    Oct 2009
    Posts
    51

    Re: Assigning subroutine number of passes ???

    Don't worry about a reply guys .... after two days of messing about, I have figured it out ....

  3. #3
    Join Date
    Apr 2014
    Posts
    345

    Re: Assigning subroutine number of passes ???

    I curious as to the answer?

  4. #4
    Join Date
    Oct 2009
    Posts
    51

    Re: Assigning subroutine number of passes ???

    You save the sub's number to a V variable. The program computes the number of passes as a V variable .... so you simply add the two together, transfer to an R value and add to the L ...

    e.g
    #V80=2100
    #V83=3
    #V84=V80+V83
    #R9=V84
    L+R9 (sub 2100 cycles 3 times)

    Simple ....

  5. #5
    Join Date
    Apr 2014
    Posts
    345

    Re: Assigning subroutine number of passes ???

    That is pretty simple. Thanks for the info.

  6. #6
    Hola, necesito ayuda con las subrutinas o subprogramas a pie de máquina para cajeras o fresados varios,no me acabo de aclarar , a ver si me pudieseis pasarme algún pequeño programa hecho.muchas gracias

Similar Threads

  1. Number of machining passes in Dolphin Wire EDM Module?
    By klrskies in forum Dolphin CAD/CAM
    Replies: 4
    Last Post: 05-31-2018, 02:46 AM
  2. Displaying number of passes
    By dannirr in forum Tormach PathPilot™
    Replies: 8
    Last Post: 10-16-2017, 01:56 PM
  3. Number of passes on a lathe
    By juwyro in forum FeatureCAM CAD/CAM
    Replies: 1
    Last Post: 09-09-2017, 12:16 PM
  4. Baltic Birtch Number Of Passes
    By 2_many_hobbies in forum Laser Engraving / Cutting Machine General Topics
    Replies: 3
    Last Post: 12-04-2014, 11:50 AM
  5. G76 Number of Passes
    By eliot15 in forum G-Code Programing
    Replies: 13
    Last Post: 04-09-2011, 12:51 AM

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
  •