My milling Machine is a MAZAK VQC 20/40B with Mazatrol cam M-2 controller year 1986.
My program is Bobcad cam V23 with Predator postprocessor and I am very hapy with the program,it has worked well
so far.
However now I have a problem,
I trayed to thread a hole 14.2 mm with M16 pitch 2.
The MAZATROL CAM M-2 - METRIC Mill Post processor out puts through Predator Cnc editor the folowing Code.
Result for the code is bad and sure is it should not have M33 function on line N34.
%
O100 (GWINT.NC)
N1 (TUE. 10/12/2010 06:04PM)
N2 ( MAZATROL CAM M-2 - METRIC Mill )
N3 ( T1 CENTER DRILL , DIAMETER = 6.35 , LENGTH = 127.)
N4 ( T2 DRILL , DIAMETER = 14.2 , LENGTH = 127.)
N5 ( T3 SPIRAL TAP , DIAMETER = 16. , LENGTH = 127.)
N6 G90 G80 G17 G00
N7 G91 G28 Z0.
N8 G91 G28 X0. Y0.
N9 M06 T1
.......................................For shortening the program.
N29 M06 T3
N30 M03 S236
N31 G54 G90 X0. Y0.
N32 G43 Z3. H3
N33 M08
N34 M33 (Wrong G-code becouse its command for tool measure unit out on mazatrol M-2 )
N35 G84 G98 X0. Y0. Z-36. R3. F2.
N36 M32 (These I belive cancel M33.)
N37 G80
N38 M09
N39 M05
N40 G91 G28 Z0.
N41 G91 G28 X0. Y0.
N42 M02
N43 M30
%

Can any with knowledge on my type of machine aswell as Bobcad/cam V23 give some knowledge
or even better tell how to make changes in the postprocessor (MAZATROL CAM M-2 - METRIC.Mill)
so it will give apropiate cod for the work.

Thank you in advance
Sve0019.