drill positions in subprogram

Results 1 to 4 of 4

Thread: drill positions in subprogram

  1. #1
    Schura's Avatar
    Join Date
    Dec 2009
    Location
    Winden
    Posts
    31
    Downloads
    0
    Uploads
    0

    Default

    Hello,
    I am working on a Stama with 840C controller and have the following problem:

    Before calling L81, I have to start the first drill position in the main program (because otherwise the machine would start somewhere in the working space) then I call the rest of the drill positions in the subprogram.

    My question: How can I program that all drill positions are in the subprogram?
    So that I don’t have to preposition them in the main program.

    With a Fanuc its possible with L0 (G81 z-10 r2 L0 )

    So far i couldn't find out anything on the 840C and PA was no help either.

    With best regards

    Alexander



  2. #2
    musikwelt080977's Avatar
    Join Date
    Jul 2009
    Location
    Sydower Flie
    Posts
    249
    Downloads
    0
    Uploads
    0

    Default

    hello Schura,
    I have worked with a Stama before and I need to tell you that your plan doesn’t work there.
    I don’t know if your write your programs in Stama in surface or parameter, like we did it. However even with the parameter programming it did not work.

    The first position always comes from the cycle and in the cycle there is usually the call to the subprogram.

    It doesn’t work in any other way!

    If anybody knows more please let me know. otherwise I have to search for the stama programming.

    Greetings from Barnim
    Stefan



  3. #3
    Registered Kugo's Avatar
    Join Date
    Apr 2003
    Location
    Karlstadt
    Posts
    220
    Downloads
    0
    Uploads
    0

    Default

    Hello
    Write R28=81
    And in the sub program hold L=R28 or G=R28

    I believe R28 is also the value that you take with the pitch circle for the drill cycle.

    Extract from a program
    R28=81 R2=2 R3=-15 R10=50
    L110

    %SPF110
    ( drill picture M8 )

    G0 X20 Y85 G=R28
    X45 Y146.1
    X63.4 Y303.2
    X15 Y341.1
    X15 Y443.1
    G80

    Greetings Matthias



  4. #4
    wolke1's Avatar
    Join Date
    Dec 2008
    Location
    Treuenbrietzen
    Posts
    469
    Downloads
    0
    Uploads
    0

    Default

    Hello
    Write R28=81
    And in the sub program hold L=R28 or G=R28

    I believe R28 is also the value that you take with the pitch circle for the drill cycle.

    Extract from a program
    R28=81 R2=2 R3=-15 R10=50
    L110

    %SPF110
    ( drill picture M8 )

    G0 X20 Y85 G=R28
    X45 Y146.1
    X63.4 Y303.2
    X15 Y341.1
    X15 Y443.1
    G80

    Greetings Matthias

    Hello
    That right what you say.
    Start the position in the main program.
    Call the cycle
    R28=81 R2=2 R3=3 R10=2 (for example)
    And in the subprogram define 1 start-up position again

    X20 Y85
    G=R28
    And then the other coordinates,
    G80 to deselect the cycle
    This definition is also good for other drill or thread cycles.

    G81=Centering

    83= Deep hole drilling
    G84=thread cutting
    G85
    G86

    Alternative- spindle +rubbing cycle book

    Greetings and success
    Wokle1



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

drill positions in subprogram

drill positions in subprogram