Results 1 to 9 of 9

Thread: Bspt thread mill subprogram question

  1. #1
    Registered
    Join Date
    Jan 2012
    Location
    U.S.A.
    Posts
    4
    Downloads
    0
    Uploads
    0

    Exclamation Bspt thread mill subprogram question

    We have some Bspt thread mill subprograms we use on a bi weekly basis and we have to edit the program every time (change the d value because we use different tool locations)
    My question is, Has anyone ever used the variable for the tool number(T=12) to set the D (D=12) value in the sub? (this way no matter what tool we use it will automatically use the correct D value???)


    Thanks for your time

    Steve


  2. #2
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    Probably right after your tool call you could use: #7=#20 (D=T). This would mean you could not prestage tools.

    An alternative is use another variable right after the tool call: #100=#20. Then make all D calls: D#100.
    http://www.kirkcon.com/


  3. #3
    Registered christinandavid's Avatar
    Join Date
    Aug 2009
    Location
    New Zealand
    Posts
    654
    Downloads
    0
    Uploads
    0
    I use variables for all my tool numbers. Saves a lot of hassle when using big tooling in fixed tool magazine

    DP


  4. #4
    Registered christinandavid's Avatar
    Join Date
    Aug 2009
    Location
    New Zealand
    Posts
    654
    Downloads
    0
    Uploads
    0
    Now that I recall, I had the same issue with a helical macro we were provided with by the MTB...ended up using the value stored in exec macro #1035 (spindle tool no) to locate the correct tool rad in the offset table and use that in the formula for the arc size...that was on a Doosan. You could do something similar using system variable #4120 (last T number).

    DP


  • #5
    Registered
    Join Date
    Jan 2012
    Location
    U.S.A.
    Posts
    4
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by christinandavid View Post
    Now that I recall, I had the same issue with a helical macro we were provided with by the MTB...ended up using the value stored in exec macro #1035 (spindle tool no) to locate the correct tool rad in the offset table and use that in the formula for the arc size...that was on a Doosan. You could do something similar using system variable #4120 (last T number).

    DP
    Yeah this is the kinda thing i was thinking of.... doing it this way there would be nothing out of the ordinary i would have to put into the main program.

    Thanks I'll try this and let you know

    Steve


  • #6
    Registered
    Join Date
    Jan 2012
    Location
    U.S.A.
    Posts
    4
    Downloads
    0
    Uploads
    0
    Well I tried the variable #4120 Idea.... it worked except for the #4120 is the prestaged tool number not the tool in spindle.

    Do you know the tool in spindle variable # of hand???

    Thanks
    Steve


  • #7
    Registered christinandavid's Avatar
    Join Date
    Aug 2009
    Location
    New Zealand
    Posts
    654
    Downloads
    0
    Uploads
    0
    Hmmm, this is why I use the #1035 - it ALWAYS knows what tool is actually in the spindle. As far as I recall, the #4120 is the last T# defined in the program and #4320 is the next T# in the buffer, so neither will help you if you need to get the next tool ready.

    You could edit your M6 macro to store the last called T# in, say, #500 and refer to that in your threadmill sub.

    DP


  • #8
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    #1035 may not be described in Fanuc manual, but many users have reported that it contains spindle-tool number.


  • #9
    Registered
    Join Date
    Jan 2012
    Location
    U.S.A.
    Posts
    4
    Downloads
    0
    Uploads
    0
    Thanks guys I got it to work.

    I ended up using #4311 (H value) that way if we have multiple heights for the same tool we can have multiple dia also.

    Thanks again for all the help

    Steve


  • Similar Threads

    1. Need Help!- G76 cycle for BSPT
      By scorpionkeit in forum G-Code Programing
      Replies: 5
      Last Post: 07-06-2011, 10:42 PM
    2. emco subprogram question
      By klem1212@gmail. in forum Emco Mills
      Replies: 4
      Last Post: 12-11-2010, 12:06 PM
    3. Help on BSPT!!
      By denfc in forum Mechanical Calculations/Engineering Design
      Replies: 5
      Last Post: 02-04-2009, 02:10 AM
    4. need some help guys with Bspt thread
      By peaceandcalm in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 6
      Last Post: 11-29-2007, 09:21 PM
    5. Threading 2" -11 BSPT
      By nitemare in forum Daewoo/Doosan
      Replies: 7
      Last Post: 07-18-2006, 04:47 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.