Patent attributes
A surface of a workpiece is traced when a machining tool is pressed onto the surface of the workpiece under force control so as to find the positional data of the surface shape. This positional data is corrected by an error caused by a bend of a robot. The positional data is compared with the target shape of the surface, from which the burr is removed. A shift of the surface shape in the normal line direction is found. The burr generation start position, the burr generation end position and the height of the burr are found by the shift start position, the shift end position and the shift size. A machining program is made which is composed of a pass connecting the burr end position with the burr start position and also composed of a cutting pass for removing the burr, and the thus made machining program is executed. As the burr position is found and the burr is removed when the machining tool is moved to the burr position, the burr can be effectively removed.