Automation of the Tapping Machine