I've forgotten more about CNC programming than I ever knew. Do you need to add a Z0 to the first move to lower the tool? Or rather, move there, then lower the tool? I don't think you need to repeat the coordinate if it doesn't change, e.g. N3 could just be Y2, N4 X2, etc (but leaving it isn't necessarily wrong). Also, lines are usually numbered in increments of 10, e.g. N10, N20, etc., so you can easily insert instructions if you have to. Most controls now-a-days have an automatic renumbering feature, so it's no biggie.
Was there any mention of a "home cycle", to get the programmed position synchronized to the actual position of the work piece? (Actually, I think that may typically be a manual operation, not programmed.) How about tool compensation, i.e. an automatic offset to allow for the width of the cutting tools (G40, G41, G42)?
[editted about 17 times while I kept thinking of other stuff.]
Last edited by roadbuzz; 05-23-05 at 09:05 PM.