Some considerations before we continue:
Before doing anything you need to check how accurate your machine is as this is going to be a grinding operation. I will assume that the
grinding wheel is say, 1/2" max. diameter.
The positional accuracy for the X5 is stated as <= to 0.0004".
Your grinding max pass would be only 0.0005" deep or smaller and a finish pass would be even less. Calculated axes resolution is 1/step
per= 1/10160= 0.0001" and doubt if will be that and would guess it's 0.0004" on the Z movementif your lucky. The Z movement will be following
the profile on center of the prepared work.
There is no spindle runout specification for the machine. Now now matter what you do to true up the grinding wheel it will have some runout. Lets
say 0.0002".
So that tells me the machine right from the start is not quite accurate to do what you want it to do.
Consider the grinding wheel. I will assume it's max diameter to be say 1/2". You will need to true both the sides and bottom of it before
grinding. You will not have a sharp edge ie; no radius on the corner so don't expect to grind to a sharp corner as was portrayed in your
posted picture.
Why I note the above is that you understand that grinding to some part tolerance with what you have may not satisfy desired end result.
Now you have wheel wear to consider and haven't the foggiest on what you can expect per pass. So you will need some compensation per pass
or need to check part dimensions to see what needs to be adjusted. During the actual grinding you would need to stop the machine.
How do you plan on touching off to locate the part from a home position? That would set a G54 for the current wheel based on the direction you
would start grinding.
What's all this B.S. you may ask?
You want someone to do a post processor for you and they need to know what coding needs be in place depending on what you want to do and how!
So think about the complete sequence / steps of how the qrinding operation will be accomlished. Any Macro # callout required will need to be
conveyed to them when / if required in the grinding sequence.
Just a few thoughts.....we didn't even get into the machine setup yet!
RICH