Results 1 to 5 of 5

Thread: Simple Tool Parameter Field Flag Query

  1. #1
    Registered montyLalor's Avatar
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    20
    Downloads
    0
    Uploads
    0

    Simple Tool Parameter Field Flag Query

    I don't know if the terms "Field" or "Flag" are correct, but I'll run with it because it's pretty straight forward.

    The image below everyone has seen before. I can't work out what the "Field" called Chip Break (%dia) uses as its "Flag" in the .pst file I've customised for an Okuma 45X-VAE mill. (Marked with red arrow.)

    Simple Tool Parameter Field Flag Query-mcamx3_q.jpg


    The two fields marked with blue and green arrows are working for me, as seen in the next image.

    Simple Tool Parameter Field Flag Query-mcamx3_qpst.jpg

    My question is: what is the flag name for the Chip Break (%dia) field?

    Thanks in advance,

    Luke


  2. #2
    Registered Mike Mattera's Avatar
    Join Date
    Mar 2006
    Location
    USA
    Posts
    1,011
    Downloads
    0
    Uploads
    0
    Pretty sure those are not variables available in the post. They are used for internal calculations when you select a tool. If you Pick a deill and select Peck/Chip cycle, it will calc the peck by that percentage.

    Mike Mattera
    Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More
    http://www.tipsforcadcam.com


  3. #3
    Registered montyLalor's Avatar
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    20
    Downloads
    0
    Uploads
    0
    Hi Mike.

    I've proven that they can work. I've set up all my drills with a 30% peck1, a 60% peck2 and a 40% chip break ratio.

    I've altered a Fanuc/Haas pst file and actually cut and pasted the peck2 line in (second image; previous post) and introduced a J designation letter for it. I then replaced the previous peck1 designation letter Q with an I.

    This is because Okuma mills can make use of complex deep-hole cycle pecks. eg:

    G83 Z-90. R3. I2.5 J7.5 F95. M53

    It's like a combination of a G73 and a G83 cycle. Chipbreak - chipbreak - chipbreak - R-retract - Z-return - chipbreak - chipbreak - chipbreak - R-retract etc.

    Whereas Fanuc control only understands a Q peck for G83 deep hole cycles.

    Anyway, what got me asking this question was when I added the *peck2, flag into the peck cycle unit lower down in the post, the bloody thing worked!

    Simple Tool Parameter Field Flag Query-mcamx3_qpst2.jpg

    So, I reckon if I could find out the flag for the Chip Break (%dia) field, I'd have the simple peck cycle set for my G73 cycles at the 40% I want instead of the 30% I'm using now.

    This might seem a bit of a control-freak overdose, but I'd much rather think about something once and have it done for good. That way I've only to change my speeds and feeds for materials other that the mild steel I have them currently set for.

    Luke.


  4. #4
    Registered Superman's Avatar
    Join Date
    Dec 2008
    Location
    Krypton
    Posts
    1,768
    Downloads
    0
    Uploads
    0
    You want sometiming like this
    Code:
    ppeck$           #Canned Peck Drill Cycle
          pdrlcommonb
           if initht$ <> refht$,
             [
              drillref = zero
              russ_initht = initht$
              pbld,n$,"G71", *russ_initht, e$
              ]
          if peck1$ = 0 , result = mprint(speck1error) # if value not inserted then error
          if peck2$ > zero , result = nwadrs(stri, peck1$) #if value added then peck1 turns into I address
          pcan1, pbld, n$, *sgdrill, pfxout, pfyout, pfzout, pcout,
            prdrlout, *peck1$, peck2$, *feed, *sgdrlref, strcantext, e$
          pcom_movea
    
    pchpbrk$         #Canned Chip Break Cycle
          pdrlcommonb
           if initht$ <> refht$,
             [
              drillref = zero
              russ_initht = initht$
              pbld,n$,"G71", *russ_initht, e$
              ]
          if peck1$ = 0 , result = mprint(speck1error)
          if peck1$ > zero , result = nwadrs(strq, peck1$)
          pcan1, pbld, n$, *sgdrill, pxout, pyout, pfzout, pcout,
            prdrlout, *peck1$, *feed, *sgdrlref, strcantext, e$
          pcom_movea


  • #5
    Registered montyLalor's Avatar
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    20
    Downloads
    0
    Uploads
    0
    Thanks Superman.

    I used the "result = nwadrs(stri/q, peck1$)" new-address strings after adding the "stri/q" sting changer bits higher up in the post. I couldn't get your full offering to output a Z-value with the G71 string, so I left that out. I had already put a G71 Z50. string up the top of the program (helps to mentally double check clearances as I'm posting, I find).

    Thanks again.

    Luke.


  • Similar Threads

    1. Need Help!- Parameter for current active tool!
      By LVX in forum Fanuc
      Replies: 7
      Last Post: 03-04-2010, 02:23 PM
    2. Simple tool move - can't figure it out.
      By HankMcSpank in forum Mastercam
      Replies: 5
      Last Post: 02-03-2010, 01:51 PM
    3. tool setter parameter on funuc 21i-T
      By wiredude in forum Fanuc
      Replies: 3
      Last Post: 11-06-2008, 11:17 PM
    4. Tool Change Parameter
      By Jason812 in forum Fanuc
      Replies: 3
      Last Post: 11-20-2007, 08:29 PM
    5. Help with a Tool Changer Parameter
      By unionswiss in forum CNC Machining Centers
      Replies: 1
      Last Post: 10-25-2007, 02:42 AM

    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.