![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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
| |||
| |||
| 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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem- Canned cycle | tsaladyga | Post Processors for MC | 1 | 08-29-2009 07:31 PM |
| Canned OD cycle? | VWbmx | Haas Mills | 7 | 06-05-2009 01:17 PM |
| Need Help!- Canned Drilling Cycle Help | chuppe | G-Code Programing | 11 | 03-02-2009 07:53 PM |
| G76 Canned cycle | Stebedeff | Fanuc | 1 | 02-07-2008 12:42 PM |
| G73 Canned cycle problem | 69owb | CamSoft Products | 2 | 09-08-2007 02:49 PM |