Automatic sorting machine

The invention relates to logistics equipment, in particular to an automatic sorting machine used for sorting parts of cased objects including a cased medicine. The automatic sorting machine comprises a roller type rack, a sorting mechanism, a horizontal moving mechanism, a helical gravity collector groove, a belt type conveyer and an electric control system corresponding to the belt type conveyor, wherein a sorting electromagnet and a shutter electromagnet of the sorting mechanism as well as a drive motor and a rotating coder of the horizontal moving mechanism are respectively connected with the electric control system of the belt type conveyor through control lines, and the electric control system is connected with an upper control computer though a data bus. The invention has the advantages of compact structure, large medicine or object storage quantity, wide application range, high sorting efficiency, flexible sorting action without damaging medicines or objects and good sorting quality; and the medicine or objects sorted from all layers are automatically collected to the belt type conveyor through the helical gravity collector groove, and can be conveyed to a medicine or object package working station according to the demands or directly to a medicine distributing window or object selling window, thus the automatic sorting machine is convenient for operation and high in automation, and saves time and labor.