Arrangements for automatic control of a series of individual steps in grinding a workpiece