Results 1 to 2 of 2

Thread: Canned Cycle for cutoff operation

  1. #1
    Registered
    Join Date
    Nov 2009
    Location
    US
    Posts
    2
    Downloads
    0
    Uploads
    0

    Canned Cycle for cutoff operation

    Is there a x-direction canned cycle for Mach. Looking through the guide it appears all canned cycles are for the z-axis (drilling, boring..) I am using a fanuc post processor and it is producing a canned grooving cycle that mach doesn't accept.

    G75 R0.01
    G75 X-0. Z-2.196 P20 Q0 F0.01

    If there isn't a x-direction canned cycle for mach. Can somebody please help me in editing the processor code to create the needed movements for the cutoff operation. Below is the post code.


    @groove
    local string for for1 for2 for3
    local numeric d1 d2

    for1 = '2/2.0(P)'
    for2 = '2/2.0(P*10)'
    for3 = '5.0(P*1000)'
    d1 = abs(side_step)
    d2 = abs(down_step)
    if process_type eq face
    gcode = 74
    {nb 'G'gcode, ' R'release_dist }
    {nb 'G'gcode,' X'last_pos_x:xpos_f ' Z'last_pos_z ' P'd1 :for3 ' Q'd2 :for3 }
    else
    gcode = 75
    {nb 'G'gcode, ' R'release_dist }
    {nb 'G'gcode,' X'last_pos_x:xpos_f ' Z'last_pos_z ' P'd2:for3 ' Q'd1:for3}
    endif
    {' F'feed }
    endp

    Thx, Cope


  2. #2
    Registered
    Join Date
    Nov 2009
    Location
    US
    Posts
    2
    Downloads
    0
    Uploads
    0
    For right now I am just using this:

    gcode = 1
    {nb 'G'gcode, ' X'last_pos_x:xpos_f ' Z'last_pos_z}

    it works but I would prefer the canned cycle.

    If it helps any, below are the variables. The mach manual really has me stumped. It almost seems like it was a copy and paste from the mill manual. I think all i need is to just use x_last, and step distance, with maybe a retract distance.

    @groove

    Parameters:
    work_type type: integer {groove_rough, groove_prof,cut, ang_groove}.

    process_type type: integer {LONG, FACE}.

    turning_mode type: integer for LONG: {INTERNAL, EXTERNAL}
    for FACE: {BACK, FRONT}.

    first_pos_x, type: numeric coordinates of first point of geometry.
    first_pos_z

    last_pos_x, type: numeric coordinates of last point of geometry.
    last_pos_z

    second_offset type: integer offset number of the other side of the tool.

    down_step type: numeric down step of the groove.

    side_step type: numeric distance between each two groove-cut steps.

    release_dist type: numeric safety release distance of the groove-cut.


Similar Threads

  1. Need Help!- Canned Drilling Cycle Help
    By chuppe in forum G-Code Programing
    Replies: 14
    Last Post: 09-29-2012, 10:23 PM
  2. Problem- Canned cycle
    By tsaladyga in forum Post Processors for MC
    Replies: 1
    Last Post: 08-29-2009, 07:31 PM
  3. Canned OD cycle?
    By VWbmx in forum Haas Mills
    Replies: 7
    Last Post: 06-05-2009, 01:17 PM
  4. G76 Canned cycle
    By Stebedeff in forum Fanuc
    Replies: 1
    Last Post: 02-07-2008, 12:42 PM
  5. G73 Canned cycle problem
    By 69owb in forum CamSoft Products
    Replies: 2
    Last Post: 09-08-2007, 02:49 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.