PP - M67 Mazak
General Information
The M67_Mazak standard is based on the M67_Fanuc post-processor.
The standard has three configuration pages to manage all options available. The first page “CNC Controller” is about CNC options. The second page “Milling” allows to adapt the output for Milling, tools, coolant and origins. The third page “Milling” is about 5 axis parameters. |
1 CNC Controller page
1.1 CNC Controller - % at program begin / end
Option | Result |
No | O1000 … … M30 |
Yes | % O1000 … … M30 % |
1.2 CNC Controller - Program number defined by
ption | Result |
O | % O1000 … … M30 % |
: | % :1000 … … M30 % |
1.3 CNC Controller - Program Name as comment
Option | Result |
No | % O1000 … … M30 % |
Yes | % O1000 (PART NAME) … … M30 % |
1.4 CNC Controller - Use G10 to manage origins
Option | Result |
No | % O1000 … … M30 % |
Yes | % O1000 G10 L2 P1 X.. Y.. Z.. (G54) G10 L2 P2 X.. Y.. Z.. (G55) G10 L20 P1 X.. Y.. Z.. (G54.1) … … M30 % |
2 Milling page
2.1 Milling – Output Stock for CNC Simulation
Option | Result |
No | % O1000 … … |
Yes | % O1000 G1902 B26.0 D26.0 H10.0 I13.0 J13.0 … … |
2.2 Milling – Output Tool and Plane for all operations
Option | Result |
No | (OP 1 WITH TOOL 1 AND PLANE 1) T01 M06 G68.2 P1 X.. Y.. Z.. I.. K.. … … (OP 2 WITH TOOL 1 AND PLANE 1) … … |
Yes | (OP 1 WITH TOOL 1 AND PLANE 1) T01 M06 G68.2 P1 X.. Y.. Z.. I.. K.. … … (OP 2 WITH TOOL 1 AND PLANE 1) T01 M06 G68.2 P1 X.. Y.. Z.. I.. K.. … … |
2.3 Milling – Use Parameters for Feed
Option | Result |
No | T01 M06 G00 X.. Y.. G43 H1 Z.. Z-.. F160 G1 X.. Y.. F200 … … |
Yes | #1 = 200 #2 = 160 T01 M06 G00 X.. Y.. G43 H1 Z.. Z-.. F#2 G01 X.. Y.. F#1 … … |
2.4 Tool Option – Output Tool List
Option | Result |
No | % O1000 … … |
Yes | % O1000 (START TOOL LIST) (T1 END MILL D10) (T2 DRILL D8) … (END TOOL LIST) … … |
2.5 Tool Option – Tool Change
Option | Result |
Manual | … M00 … … |
Automatic | … T01 M06 … … |
Auto + Preselect | … T01 M06 T02 … … |
2.6 Tool Option – Preselect First Tool after Last Tool
Option | Result |
No | (FIRST OPERATION) T01 M06 T02 … … (LAST OPERATION) T05 M06 … M30 |
Yes | (FIRST OPERATION) T01 M06 T02 … … (LAST OPERATION) T05 M06 T01 … M30 |
2.7 Tool Option – Tool Change in
Option | Result |
1 Block | … … T01 M06 … … |
2 Blocks | … … T05 M06 … … |
2.8 Origin Option – Output Origin List
Option | Result |
No | % O1000 … … |
Yes | % O1000 (START ORIGIN LIST) (G54) (G55) (END ORIGIN LIST) … … |
Origin Option
After axes Rotation | G68.2 P1 X0. Y0. Z0. J0. K0. … G54 |
Before axes Rotation | G54 … G68.2 P1 X0. Y0. Z0. J0. K0. |
2.9 Origin Option – Multi Origin Management
Option | Result |
Origin Only | % O1000 … G54 … |
Origin + Offset | % O1000 … G54 G52 X10 Y20 Z10 … |
Without MTE :
If the option is set to “Origin Only” for each origin define on the part, we will output a different G code, G54, then G55, G56 … It means you are limited by the number of origin managed by the CNC. If you can have more origin, you must use the second option “Origin + Offset”
If the option is set to “Origin + Offset” it will only output G54 and offset with G52
With MTE :
The origin can be define in the name of the origin with the following syntax “$G54_”. It means G54 will be used in the NC program. If there is no decoded name define, it will output the default origin G54.
If you use “Origin + Offset”, you must use only one origin for all your operation because all the offset are compute from the reference plane origin or single origin.
You can add every text after the underscore to recognized your offset “$G54_Up”, “$G54_Right”, …
With 5 axis machine :
The origin offset is output with the tilted plane function G68.1 if is set to be output. So it means no G52 is output.
2.10 Coolant Option – Coolant Activation Position
Option | Result |
With Spindle | … … T01 M06 S8000 M03 M08 G00 X.. Y.. G43 H1 Z… … … |
With Plane Move | … … T01 M06 S8000 M03 G00 X.. Y.. M08 G43 H1 Z.. … … |
With Plunge Move | … … T01 M06 S8000 M03 G00 X.. Y.. G43 H1 Z.. M08 … … |
3 Milling 5X
3.1 Milling 5X Parameters – Use Tilted work Plane for 3+2 Axis
Option | Result |
No | … … T01 M06 C180 B-90 … … |
Yes | … … T01 M06 G69 G49 G68.2 P1 X.. Y.. Z.. I-90 K180 G53.1 … |
3.2 Milling 5X Parameters – Lock 1st Rotation Axis
Option | Result |
empty | … … C180 … … |
“M10” | … … C180 M10 … … |
3.3 Milling 5X Parameters – Lock 2nd Rotation Axis
Option | Result |
empty | … … B-90 … … |
“M12” | … … B-90 M12 … … |
3.4 Milling 5X Parameters – Unlock 1st Rotation Axis
Option | Result |
empty | … … C180 … … |
“M11” | … … M11 C180 … … |
3.5 Milling 5X Parameters – Unlock 2nd Rotation Axis
Option | Result |
empty | … … B-90 … … |
“M13” | … … M13 B-90 … … |
3.6 Fixed blocks for plane change - Active fixed blocks for plane change
This option is used only if there is no kinemac defined in the machine configuration.
Option | Result |
check | The fixed blocks defined will be output if there is a plane change |
uncheck | The standard blocks will be output if there is a plane change. G0 G91 G28 Z0 |
3.7 Fixed blocks for plane change - First and second
To avoid the standard output, check the option to activate the fixed blocks and keep the first and second block fields empty.
Option | Result |
Empty | … … |
“G0 Z100” | … … G00 Z100 … … |
4 Launch page
With machine kinematic defined | Without machine kinematic defined |
![]() | ![]() |
4.1 Name of the NC File
Define here the Name of the generated NC file. The extension must to be defined in the MCF configuration.
4.2 Program Number
If 0 is defined, the program Number will be set to 1.
Option | Result |
0 | % O1 … … |
“10” | % O10 … … |
“1234” | % O1234 … … |
4.3 Origin Number
This parameter is use only if kinematic is not defined in the machine file. The parameter defines the first origin used in the NC program.
If the parameter to treat multi origin is set on “Origin Only” the origin number is incremented when a plane changes.
Option | Result |
54 | % O10 T01 M06 G54 … |
55 | % O10 T01 M06 G55 … |
4.4 Comment Output
Option | Result |
No | … … T01 M06 … … |
Yes | … … (FACING) (END MILL D12) T01 M06 … … |
4.5 Block Numbers
Option | Result |
With | O1000 N5 T01 M06 N10 G00 X.. Y.. N15 G43 Z.. H1 … … N50 T02 M06 N55 G00 X.. Y.. N60 G43 Z.. H2 … … |
Without | O1000 T01 M06 G00 X.. Y.. G43 Z.. H1 … … T02 M06 G00 X.. Y.. G43 Z.. H2 … … |
Tool Change Only | O1000 N5 T01 M06 G00 X.. Y.. G43 Z.. H1 … … N10 T02 M06 G00 X.. Y.. G43 Z.. H2 … … |
4.6 Code for Program End
Option | Result |
M30 | … … … M30 % |
M02 | … … … M02 % |
M99 | … … … M99 % |