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