An employee was helping an operator set up a pipe threading line. The employee was loosening a part on the pipe threading line when the set-up operator turned a switch on to move the pipe into a CNC machine. The CNC machine then amputated the employee's right index finger.