To simplify control of an industrial robot or a manipulator used for mold extraction of parts etc. while avoiding error risk or uncertainty of an operator's selection.
This control program comprises a step 100 for selecting five applications, a step 101 for notifying the selected applications, a step 102 for selecting movement in the case of one time drawing, a step 103 for selecting to capture or discharge a core, a step 104 for selecting characteristics of ejection movement, a step 105 for selecting characteristics of ejection movement, a step 106 for back up protection, a step 107 for its certification, a step 108 for automatic learning of the terminal position of the movement without the core, a step 109 with the core, a step 110 for determining a migration direction or the coordinate of the position, a step 111 for determining and confirming the control cycle, and a step 113 for production.