Automatic control of the tool feed