Hi!,

I'm working with a Mazak Mill Turn, and although I've worked a lot with G codes I'm new to the Mill turning codes for Mazak.

So, I'm trying to get my postprocessor to work properly but I don't understand the way my machine does the plane interpolation on milling mode.

When I use G17 everything goes great thats because I'm in front of the piece and I don't need to change planes, I start in C0.0. the only thing weird here is that I need to put the speed twice for it to work, once before the G12.1 and a second one after, here is an example:


N1870 G53
(HTA-11A FRESA 0.625)
N1880 G98
N1890 G00 T1100 M08
N1900 G50 S3000
N1910 M202
N1920 M200
N1930 M212
N1940 G97 S1800 M203
N1950 G10 P11 X0.0 Z0.0
N1960 G98 G00 C0.0
N1970 G50 C0.0
N1980 G12.1
N1990 G17
N2000 G00 T1111
N2010 G97 S1800 M203
( )
( )
N2020 G00 X0.456 Y-0.11
N2030 G00 Z0.533
...
N2140 G00 Z2.325
N2150 G13.1
N2160 G28 U0.0 W0.0 T1100 M09 M205
N2170 M202

No idea but this is working if you know a different way to do it I would appreciate it.


But this is my real problem, now I need to make a milling in G19 at C90.0 and 270.0, but everywhere I read you need to be in C0.0 to enter milling mode, I tried it on the machine and no luck the machine didn't moved in Z and it did weird moves in X.... its a really simple machining but I can't make the machine do it... please help!!!!

This is the code:

N5670 G53
(HTA-12B FRESA 6 GRADOS)
N5680 G98
N5690 G00 T1200 M08
N5700 G50 S3000
N5710 M202
N5720 M200
N5730 M212
N5740 G97 S1900 M203
N5750 G10 P12 X0.0 Z0.0
N5760 G98 G00 C90.0
N5770 G50 C0.0
N5780 G12.1
N5790 G19
N5800 G00 T1212
N5810 G97 S1900 M203
( )
( )
N5820 G00 X1.85 Y-1.57
N5830 G00 Z2.1545
N5850 G00 X0.94
N5860 G01 Y1.57
N5880 G00 X1.85
N5900 G40
N5910 G13.1
N5920 G18
N5930 M212
N5940 G98 G00 C270.0
N5950 G50 C0.0
N5960 G97 S1900 M203
N5970 G12.1
N5980 G19
N5990 G00 X1.85 Y-1.57 Z2.1545
N6010 G00 X0.94
N6020 G01 Y1.57
N6040 G00 X1.85
N6050 G13.1
N6060 G28 U0.0 W0.0 T1200 M09 M205
N6070 M202



Thanks!!!