Teaching successive positions by mechanical means, e.g. by mechanically-coupled handwheels to position tool head or end effector