Provide an automatic locking screw mechanism suitable for PCB board automatic processing line, as the completion mechanism of the locking nut in the automatic locking screw machine, the action is compact, with the CCD scanning positioning function, and the automatic locking screw mechanism to ensure the locking quality.