The X-RAY counting machine is based on X-Rays, adopts the principle of photoelectric sensing, and uses the corresponding relationship between the carrier tape guide hole and the components to accurately measure the quantity of SMD components, which can realize convenient and fast counting.