Teaching successive positions by numerical control, i.e. commands being entered to control the positioning servo of the tool head or end effector