hello every one!!!!
i'm having a big problem trying to make(modify) a postprocessor to a adapted convencional lathe machine. to a CNC whith 2 tool to drill at the same time in the same piece.
the holes to do is simetrical, so the piece rotate in C axis, and the drills are posicioned in X and Y axis, and move cuttind in Z axis.
Mastercam version: X2
The controler is fanuc-OT
example from code accepted:
%
O2770
N0001 G90 (PROG ABS)
N0002 M54 (ASPIR ON)
N0003 M32 (REFRIGERATION X ON)
N0004 M33 (REFRIGERATION Y ON)
+-----------------------------------------------
N0005 G55
N0006 T03 (2 SHORT DRILL D 8)
N0007 G00 G43 H03 Z20.000 S2000 M08
N0008 G00 G90 C0.000
N0009 G00 X69.000 Y69.000
N0010 M24 (MOTOR X ON)
N0011 M25 (MOTOR Y ON)
N0012 G00 G90 C10.000
N0013 M98 P171001
N0016 M28 (MOTOR X OFF)
N0017 M29 (MOTOR Y OFF)
N0018 G00 G90 Z250.000
N0019 G00 G90 C0.000 M09
N0020 M00 (stop)
N0026 M30
+--------------------------------------
O1001
N0226 G90
N0227 G00 Z5.000
N0228 G01 Z-4.000 F100
N0229 G01 Z-25.000 F200
N0230 G00 Z5.000
N0231 G91 C10.000
N0232 M99
%
drawing of axis:
my problem:
- output from mastercam to gcode the line :
N0009 G00 X69.000 Y69.000
- outut the correct angle in C axis:
N0008 G00 G90 C0.000
anyone have any idea?
i already have contacted my mastercam resseler, but he don't give me no positive feedback. So, i don't want to give up so easly....
tanks in advance for any sugestion, and sorry for my poor english...![]()