A component mounting machine comprising: a component supply section which has a feeder device for feeding carrier tapes formed by cavity sections for holding components (P) being aligned in a row and is configured to sequentially supply the components (P) to a predetermined supply position ; a component transfer device which has a suction nozzle configured to suck the components (P) from the cavity sections at the supply position and mount the component (P) on a board (K), a mounting head configured to hold the suction nozzle , and a head driving mechanism configured to drive the suction nozzle and the mounting head ; a component fewness detecting section configured to detect that a remaining number of components (P) held by the carrier tape decreases to a predetermined small number; and an invalid suction avoidance section configured to avoid an invalid suction operation of the suction nozzle based on a detection result of the component fewness detecting section when the remaining number of components (P) held by the carrier tape reaches zero, characterized in that the component supply section has a plurality of feeder devices , and wherein the component fewness detecting section is provided on the mounting head , is shared by a plurality of feeder devices , and faces a tail end side cavity section formed on a tail end side of the carrier tape more by the small number than the cavity section at the supply position in conjunction with the suction nozzle being driven to the supply position of any one of the plurality of feeder devices and is configured to detect that whether or not the component (P) is held on the tail end side cavity section . a component supply section which has a feeder device for feeding carrier tapes formed by cavity sections for holding components (P) being aligned in a row and is configured to sequentially supply the components (P) to a predetermined supply position ; a component transfer device which has a suction nozzle configured to suck the components (P) from the cavity sections at the supply position and mount the component (P) on a board (K), a mounting head configured to hold the suction nozzle , and a head driving mechanism configured to drive the suction nozzle and the mounting head ; a component fewness detecting section configured to detect that a remaining number of components (P) held by the carrier tape decreases to a predetermined small number; and an invalid suction avoidance section configured to avoid an invalid suction operation of the suction nozzle based on a detection result of the component fewness detecting section when the remaining number of components (P) held by the carrier tape reaches zero, characterized in that the component supply section has a plurality of feeder devices , and wherein the component fewness detecting section is provided on the mounting head , is shared by a plurality of feeder devices , and faces a tail end side cavity section formed on a tail end side of the carrier tape more by the small number than the cavity section at the supply position in conjunction with the suction nozzle being driven to the supply position of any one of the plurality of feeder devices and is configured to detect that whether or not the component (P) is held on the tail end side cavity section . <EOS>