Originally Posted by
Brian L
OK, looks pretty similar..... I'll make comments as I read down thru the program....
N420 the M13, not sure the Milltronics will recognize that (Spindle forwards, coolant on) you might have to do M03 M08. Also, you are rapiding to Z.1 on this line, but prior to that you don't have any higher Z, just as a safety, at the beginning of my programs I have a G32 which is going to run the head up no matter where I left it last.... saves from crashing the head stock into the fixture or part.
N430 and on, looks pretty normal, you are using multiple work coordinates, G54, 55, 56 and 57. I notice you use R instead of IJK, that's fine, just realize that arcs less than 180º are plus, arcs more than 180º are minus R values.
N960 M05 turns off the spindle, next you kill the coolant with M09, then on 980 it looks like you pull up 7" for a tool change? I would use G32 and that retracts automatically to the tool change position on my machine (a knee mill) but yours is a bed mill, so I guess you can tool change anywhere on the Z, mine has to be at the top to let the air cylinder eject the tool.
Everything else looks good, although I usually end my programs with M30 rather than M02. You didn't have any canned cycles in there, the Fanuc versions might have slightly different variables or even what canned cycles are available... that's even if you use canned cycles. I prefer them because I can change one variable on one line and alter all 20 holes that drill drills... where if you let the CAM write it all out longhand, you just about have to go back into the CAM system and edit the feed/depth/peck amount and then re-post all the code again.... just doesn't work for me that way because my shop computer is old and slow, so I don't usually do my CAM on it, use the one in the house.
Hopefully that helps, but it looks to me like very little if any modifications would be necessary.