| CPC B23K 26/38 (2013.01) [B23K 26/082 (2015.10); B23K 37/0408 (2013.01); B23K 2101/18 (2018.08); G05B 19/40937 (2013.01); G05B 2219/45041 (2013.01)] | 8 Claims |

|
1. A joint amount control method comprising, by computer equipment:
analyzing a processing program for cutting a sheet metal by a laser processing machine to produce a part to extract a first code and a second code included in the processing program and indicating a joint-constituting pair of a first endpoint of a cutting path on a laser cutting start side and a second endpoint of a cutting path on a laser cutting end side;
adding joint information indicating a position of at least one of the extracted first code and second code to the processing program;
transmitting, to a numerical control (NC) device, the processing program to which the joint information is added so that the NC device cuts the sheet metal by controlling the laser processing machine based on the processing program so as to produce a part provided with the joint;
generating a joint compensation amount to be set for a joint to be increased or decreased in a joint amount, among joints provided in the part produced based on the processing program; and
transmitting, to the NC device, the joint compensation amount associated with information indicating a joint to be increased or decreased in the joint amount so that the joint amount of the joint to be increased or decreased in the joint amount is increased or decreased by the joint compensation amount at a time of the laser processing machine producing the part;
wherein the analyzing the processing program comprises:
extracting at least one cutting start point including at least a cutting start point of a cutting path leading to an approach from a laser cutting start point at which a pierced hole is made on the laser cutting start side, and at least two cutting end points including a laser cutting end point and a cutting end point of at least one cutting path leading to a cutting path toward the laser cutting end point in a direction opposite to a cutting advancing direction on the laser cutting end side, based on a plurality of cutting paths following each code of all of codes indicating a start of cutting and a plurality of cutting paths immediately before each code of all of codes indicating an end of cutting included in the processing program;
calculating distances of all combinations of all of the extracted at least one cutting start point and all of the extracted at least two cutting end points;
extracting pairs of the cutting start point and the cutting end point whose calculated distance is within a range of a predetermined distance as joint candidates, which are candidates for the joint-constituting pair;
extending the cutting path from the cutting start point of each joint candidate in the direction opposite to the cutting advancing direction to form a first extended line, and extending the cutting path toward the cutting end point of each joint candidate in the cutting advancing direction to form a second extended line;
determining that a joint candidate among the extracted joint candidates is the joint-constituting pair when the second extended line collides with the cutting start point or the first extended line and the second extended line intersect with each other, a distance between the joint-constituting pair being the joint amount;
setting the cutting start point determined to be the cutting start point of the joint-constituting pair as the first endpoint of the cutting path on the laser cutting start side, and setting the cutting end point determined to be the cutting end point of the joint-constituting pair as the second endpoint of the cutting path on the laser cutting end side; and
extracting the first code and the second code indicating the joint-constituting pair of the first endpoint and the second endpoint.
|