Unless your VFD supports orientation then its not going to be a simple thing to do, probably the best option would be some mechanical means to stop the spindle at the required position, for example you could command a slow rpm and have a pin that will drop into a slot, the pin would have a sensor on it so that when it drops in the slot it tells Mach to stop the spindle.
Hood