Results 1 to 2 of 2

Thread: coverting ipm to dpm macro question?

  1. #1
    Registered jamesweed's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    82
    Downloads
    0
    Uploads
    0

    coverting ipm to dpm macro question?

    When converting inches per minute to degrees per minute, what is the term "rotary axis departure amount". Is that your helix angle of cut or total degrees milled? I dont understand this term. Below is the macro by Mike L.
    Thanks in advance.


    N055 G65 P1000 F4.5 D2.25 B30.0 R101.0 (Invoke custom macro to calculate dpm feed rate)
    N060 G91 G01B30.0 F#101 (Make rotary axis motion at calculated feed rate.)
    In line N055, we're calling program O1000 and passing the desired ipm feed rate with F, the distance from the tool tip to center of rotation with D, the incremental angular departure of the rotary axis with B, and the return variable number with R. In line N060, we're using the feed rate calculated by the custom macro (variable #10l). Note that this example uses the incremental mode to rotate the axes, but you could program this motion in the absolute mode as well. Just remember that in line N055, B must specify an incremental rotary axis departure amount.
    Now here's the short custom macro:
    O1000 (Calculate degrees per minute feed rate)
    #[#18] = #2/[[3.1416 * 2 * #7] * #2 /360] / #9 (Store dpm feed rate in variable)
    M99 (End of custom macro)
    The calculation being done in this custom macro is based upon the formula: DPM = Angular departure distance / time required for motion.
    Time is equal to motion distance divided by the desired inches per minute feed rate. We calculate motion distance by determining the circumference of the tool tip circle (pi times 2 times the radius) and multiplying it times the portion of a full circle being machined (angular departure divided by 360).


  2. #2
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2516
    Downloads
    0
    Uploads
    0
    If I'm not mistaken, it means how many degrees you want to rotate the axis.


Similar Threads

  1. Macro B Question
    By Bluetech in forum Fanuc
    Replies: 7
    Last Post: 03-10-2009, 01:58 AM
  2. Need Help!- What software do you recommend for coverting 3D DXF to G-Code?
    By gepeto in forum DIY CNC Router Table Machines
    Replies: 3
    Last Post: 07-21-2008, 05:50 PM
  3. 21i Macro Question
    By marcwdci in forum Fanuc
    Replies: 3
    Last Post: 03-11-2008, 03:04 PM
  4. Coverting a Myford ML7 to CNC
    By shahidmk in forum Mini Lathe
    Replies: 1
    Last Post: 12-12-2005, 11:04 AM
  5. Coverting a logo to Gcode
    By xairflyer in forum G-Code Programing
    Replies: 22
    Last Post: 03-26-2005, 07:07 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.