I was hoping for some help with our HAAS machines. I currently run subprograms with the M98 code all the time. We spoon feed our mills with DNC-Max and it works great. We use mastercam to program our parts. Mastercam will create subprograms for me using the M97 code and puts the sub inside (locally) the main program. I like this because I've only have 1 program not 2 like i have now with the M98 code. The issue is, when I send the prorgram with the M97 code to the mill, I get error 373 INVALID CODE IN DNC when it reads the line M97 P1000. I've been told that maybe HAAS can't run this type of subprogram thru DNC. Heres the program: %
O0000 (O1963)
G00 G17 G20 G40 G49 G80 G90 M31
G91 G28 Z0.
G00 G90 G54
M97 P1000
M05
G91 G28 Z0.
M01
G00 G90 G55
M97 P1000
M05
G91 G28 Z0.
G90
G59 X0. Y0.
G54 M33
M06 T5
M30