Page 1 of 2 12 LastLast
Results 1 to 12 of 17

Thread: Incremental Canned Cycles?

  1. #1
    Registered Rekd's Avatar
    Join Date
    Apr 2003
    Location
    teh Debug Window
    Posts
    1,876
    Downloads
    0
    Uploads
    0

    Question Incremental Canned Cycles?

    Assuming code of..

    Main Program in Absolute:
    ...
    G90 G0 G54 X0 Y0
    G43 Z1. H1 M08
    M98 P2
    ...

    Sub Program in Incremental:
    ...
    O2
    G91
    G99 G81 X0 Y0 Z-1.05 R-.9 F30.
    X1.
    G80
    ...

    How deep, Absolutely, should the tool go?

    Z-1.05
    or
    Z-.05

    'Rekd
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  2. #2
    fjd
    fjd is offline
    Registered fjd's Avatar
    Join Date
    Jul 2003
    Location
    United States
    Posts
    86
    Downloads
    0
    Uploads
    0
    The way i read what u have from Z zero you would have drilled
    1.95 deep
    FORD = First On Race DAy


  3. #3
    wms
    wms is offline
    Moderator wms's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    940
    Downloads
    0
    Uploads
    0
    Z-.050 is how deep!



    Main Program in Absolute:
    ...
    G90 G0 G54 X0 Y0
    G43 Z1. H1 M08 ( move to Z1.0 abs)
    M98 P2
    ...

    Sub Program in Incremental:
    ...
    O2
    G91( turn on Inc, moves now Inc from here)
    G99 G81 X0 Y0 Z-1.05 R-.9 F30. (feed down Z-1.05 from Z1.00 = Z-.050)
    X1.
    G80
    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  4. #4
    Registered Rekd's Avatar
    Join Date
    Apr 2003
    Location
    teh Debug Window
    Posts
    1,876
    Downloads
    0
    Uploads
    0
    Originally posted by fjd
    The way i read what u have from Z zero you would have drilled
    1.95 deep
    Note the G90 in the MAIN program and the G91 in the SUB program. So is it reading the R-.9 then taking the Z-1.05 from R-.9?

    WMS, this is what I thought also. But according to the (thank god) Z over travel alarm I recieve just above the part, it doesn't.

    The max travel on the Z is almost 3/4" BELOW the top of my part, the tool is set to the top of the part, (.04" thick part)

    'Rekd
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #5
    Registered hardmill's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    499
    Downloads
    0
    Uploads
    0
    The dangers of incremental proggramming.
    Always use abs. even back in the days of manual
    programming. It pays to take a little extra time.

    PEACE


  • #6
    Registered Rekd's Avatar
    Join Date
    Apr 2003
    Location
    teh Debug Window
    Posts
    1,876
    Downloads
    0
    Uploads
    0
    Originally posted by hardmill
    The dangers of incremental proggramming.
    Always use abs. even back in the days of manual
    programming. It pays to take a little extra time.

    PEACE
    True, but the file size can be a *****, 'specially with 268 parts on a 12 x 12 sheet.

    The code is from a MC post. Using Abs subs makes the code longer than without subs.

    'Rekd teh breaks out the MPost handbook.
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #7
    wms
    wms is offline
    Moderator wms's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    940
    Downloads
    0
    Uploads
    0
    Matt,

    This gets even stranger!!!

    I just ran a test on a vf2 software ver 9.62n

    And here's what happens with your code.



    Main Program in Absolute:
    ...
    G90 G0 G54 X0 Y0
    G43 Z1. H1 M08 (OK here, moves to Z1.0)
    M98 P2
    ...

    Sub Program in Incremental:
    ...
    O2
    G91
    G99 G81 X0 Y0 Z-1.05 R-.9 F30. (here's where it get weird, it moves to Z.100 abs which would be right, Z1.0 abs - .900 inc = Z.100 abs, then it drills to a depth of z-.950 abs. Were did that come from?)
    X1.
    G80


    I'll try a newer version of software when another machine is free, they are all running right now.

    I have never run into this as I have never programed a drill cycle with incremental code.
    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #8
    Registered hardmill's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    499
    Downloads
    0
    Uploads
    0
    Any use in throwing macros on the table?

    Hey what ever happened to the file you were sending me?

    PEACE


  • #9
    Registered Rekd's Avatar
    Join Date
    Apr 2003
    Location
    teh Debug Window
    Posts
    1,876
    Downloads
    0
    Uploads
    0
    I sent it one day, and it came back the next day, (the day we found out we didn't get that job)

    I don't have macros on my machines.

    'Rekd
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #10
    Registered hardmill's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    499
    Downloads
    0
    Uploads
    0
    Perhaps next time
    Send me an email again. I know I responded to one of yours.
    Maybe the server was down that day.

    PEACE


  • #11
    Registered
    Join Date
    Sep 2003
    Location
    United States
    Posts
    64
    Downloads
    0
    Uploads
    0
    I believe it's moving inc. -1.05 from the z.100 absolute which takes you to z-.950. Could you change the z value from -1.05 to however much you actually need it to go--the depth of the hole or the thickness of the part plus the .1 that it is above the part?
    Last edited by brtlatjgt; 11-12-2003 at 12:00 AM.


  • #12
    Registered Rekd's Avatar
    Join Date
    Apr 2003
    Location
    teh Debug Window
    Posts
    1,876
    Downloads
    0
    Uploads
    0
    Originally posted by brtlatjgt
    I believe it's moving inc. -1.05 from the z.100 absolute which takes you to z-.950. Could you change the z value from -1.05 to however much you actually need it to go--the depth of the hole or the thickness of the part plus the .1 that it is above the part?
    I'm beginning to think that is what's happening. (Not at work right now, but will look tomarrow). Seems it's going from
    Z1. Abs
    Z.1 Abs via an Inc R-.9
    Z-1.05 from the last position at Z.1 Abs

    I'll have to tweak my post or change my programming method. I program the tool depth in Abs mode, but do the Xform in Inc subs, and would prefer to keep it that way for harmony and lack of confusion.

    Thanks for all the input!

    'Rekd still learning after all these Rum & Cokes
    Matt
    San Diego, Ca

    ___ o o o_
    [l_,[_____],
    l---L - □lllllll□-
    ( )_) ( )_)--)_)

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Incremental Z Depths In Drilling
      By Litnin in forum Mastercam
      Replies: 5
      Last Post: 03-01-2012, 10:28 AM
    2. Machine Specific Canned Cycles
      By jonbanquer in forum NCPlot G-Code editor / backplotter
      Replies: 7
      Last Post: 05-27-2005, 06:19 PM
    3. Haas G85 Boring Cycle (canned)
      By DEAN in forum Haas Mills
      Replies: 7
      Last Post: 12-08-2003, 11:12 AM
    4. cycles initial plane/retract plane
      By HuFlungDung in forum OneCNC
      Replies: 25
      Last Post: 06-26-2003, 08:02 PM
    5. Fanuc O-MB incremental input
      By MPE racing in forum Fanuc
      Replies: 19
      Last Post: 05-22-2003, 03:46 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.