586,075 active members*
4,325 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Posts
    2

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •