Here is the fanuc post processor that came with CB that I modified to work better on older fanuc controls.

Haas machines should work fine as well with this post.

You still have to do a find and replace for the colons. Some older controls do not recognize them.Give it a shot and let me know what you think.

Edit: updated Fanuc post to add tool comments and Z final depth of cut and depth per pass at beginning of each MOP as well as tool offset (H) callout with tool number.

Machine will go to home position (G28 Z0,Y0) at the beginning and end of the program and before each tool change to ensure tool will not crash into part when indexing.

Also, machine will rapid to first X,Y position of cut on each MOP before it rapids to safe Z above part.

Entering comments in Tag portion of MOP will be posted in program as a comment after tool callout.

Entering a G code command in the custom mop header section will insert the code right after the tool change and before any moves take place. This is a good place to insert any 4th axis rotations before running the mop.

The semi colons are replaced with an apostrophe (,) so the find and replace is not needed except for the time stamp.

At the end of each mop, it rapids to Z home position directly after the last cut skipping the clearance move which I thought was not really necessary (personal preferance on my part) while turning coolant off at the same time.

In the beginning of the program it would rapid to the clearance plane then G28 home. I had to remove that before running every time, now it is not necessary.

The G43 HXX Z.125 has been replaced with G43 HXX {$clearance}. So instead of having the Z.125 hard coded into the post, that number will vary depending on the mop clearance plane.

I left the previous fanuc post above this update so there are two choices.

In the old post, the tag(comment), final depth of cut, cut increment, and stock surface would only be displayed after the initial tool change. If you had 2 mop's next to each other with the same tool, then the following mop's with the same tool would not display the information (depth of cut, increment, stock surface, tag).

Now all that information is displayed for each mop regardless if the mop's are using the same tool number or not.

Some may find this to be too much information, cluttering the code, but here it is if you like this way better.

Everything else in the post stays the same as the previous one I uploaded.

Edit: added clearance move, then first x,y move to each mop. Sometimes when inserting NC code between 2 mop's with the same tool number, the tool would feed to the first x,y position at home position instead of a rapid move to first x,y then to z position. This was a rare bug and I only noticed it when adding outside NC code, in my case it was code telling the machine to go home and stop so I could check tooling, etc. I also renamed the post.