A mounting work machine, which performs mounting work of components on a board, the machine comprising:
- a component supply device that has (A) a component storage device that stores a plurality of components, (B) a component support section that supports the components in a dispersed state in which the components are dispersed from the component storage device, (C) a component return device that returns the components that are in a dispersed state in the component support section to the component storage device, (D) a first component holding tool that holds the components that are supported in the component support section, (E) an imaging device that images the components that are supported in the component support section, (F) a placement section for placing the components that are held in the first component holding tool in an ordered state, and (G) a control device, and supplies the components in an ordered state in the placement section;
- and
- a component mounting device that has a second component holding tool that holds the components that are placed on the placement section and mounts the components that are held in the second component holding tool on the board,
- wherein the control device includes
- a component number acquisition section that acquires a necessary number of components that is a number of components that are necessary during mounting work in the mounting work machine,
- a component number calculating section that calculates a number holdable components that is a number of components that are holdable from the component support section by the first component holding tool based on captured image data that is captured by the imaging device,
- a first determination section that determines whether or not the necessary number of components that is acquired by the component number acquisition section exceeds the number of holdable components that are calculated by the component number calculating section, and
- a component dispersing section that redisperses the components from the component storage device to the component support section prior to holding the components from the component support section by the first component holding tool and after the components in a state of being dispersed in the component support section are returned to the component storage device through the operation of the component return device on condition that it is determined that the necessary number of components exceeds the number of holdable components by the first determination section.