An employee was attempting to clean off a machine's sensor when the machine started to move. As he attempted to remove his hand, his right middle finger was caught in a chain and sprocket, tearing off his fingertip. The machine was not locked/tagged out at the time.