Using the spindle for performing a non machining or non measuring operation, e.g. cleaning, actuating a mechanism