CN-116859846-B - Dotting method and device for cutting machine
Abstract
The application relates to the technical field of numerical control machining of automatic equipment, in particular to a dotting method and device for a cutting machine, computer equipment, a storage medium and a computer program product. The method comprises the steps of obtaining product information of a target batch of products, obtaining sample product parameters and sample point position parameters of target equipment, wherein the sample point position parameters are used for controlling the target equipment to realize operation on the sample products at each point, obtaining point position relative difference values according to the product parameters and the sample product parameters, and adjusting the point position parameters of the target equipment to meet the point position operation requirements of the target batch of products based on the point position relative difference values. By adopting the method, the cutting and dotting efficiency among different batches of products can be improved, and the production and testing efficiency of enterprises is further improved.
Inventors
- LIU CHONGYU
Assignees
- 华兴源创(成都)科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20230711
Claims (7)
- 1. A method of dotting in a cutting machine, the method comprising: obtaining product information of a target batch of products, wherein the product information comprises product parameters; obtaining sample product parameters and sample point position parameters of target equipment, wherein the sample point position parameters are used for controlling the target equipment to realize the operation of a sample product at each point position; obtaining point location relative difference values according to the product parameters and the sample product parameters; adjusting the point location parameters of the target equipment to meet the point location operation requirements of the target batch of products based on the point location relative difference value; After the point location parameters of the target device are adjusted to meet the point location operation requirements of the target batch of products based on the point location relative difference value, the method further comprises: obtaining target point location parameters of a target batch of products based on the point location relative difference value and the sample point location parameters; The product information is used as an identifier to add the target point position parameter to a product parameter library, and the product parameter library is used for storing point position parameters of a product or storing the point position relative difference value, so that when a product to be detected is switched, all point position data are generated based on the sample point position parameters and the point position relative difference value by one key; The product information further includes a product identifier, and after the product information of the target batch is obtained, the method further includes: Extracting target product identifiers of the target batch products, and searching in the product parameter library based on the target product identifiers; If the point position relative difference value of the target point position parameter or the target product matched with the target product identifier exists in the product parameter library, calling the point position relative difference value of the target point position parameter or the target product to adjust the target equipment; the point location parameters include a direction axis setting parameter, the method further comprising: Storing the direction axis setting parameters corresponding to different directions to the associated direction axis coordinate addresses according to a preset mapping relation; And when the point position parameter is regulated, adding the point position relative difference value corresponding to the direction axis coordinate address.
- 2. The method of claim 1, wherein the obtaining product information for the target lot product comprises: Acquiring externally imported product data, and obtaining the product information based on the extraction of the product data; And/or; Acquiring product images of the target batch of products, and processing the product images based on a preset image measurement algorithm to obtain the product information; And/or; and acquiring sample detection data of the target batch of products, and obtaining the product information based on the sample detection data.
- 3. The method of claim 1, wherein prior to deriving the point location relative difference value from the product parameter and the sample product parameter, further comprising: Acquiring a first parameter specification of the point location parameter; the product parameters are adjusted to conform to the first parameter specification.
- 4. A die-cutting dotting device, said device comprising: The product information module is used for acquiring product information of a target batch of products, wherein the product information comprises product parameters; the historical parameter module is used for acquiring sample product parameters and sample point position parameters of target equipment, and the sample point position parameters are used for controlling the target equipment to realize the operation of the sample product at each point position; the point position difference module is used for obtaining a point position relative difference value according to the product parameters and the sample product parameters; the cutting and dotting module is used for adjusting the point position parameters of the target equipment to meet the point position operation requirements of the target batch of products based on the point position relative difference value; after the dotting module of the cutting machine, the method further comprises the following steps: The current batch parameter module is used for obtaining target point location parameters of target batch products based on the point location relative difference value and the sample point location parameters; The product parameter library module is used for adding the target point position parameters to a product parameter library by taking the product information as an identifier, and the product parameter library is used for storing the point position parameters of a product or storing the point position relative difference values so as to generate all point position data based on the sample point position parameters and the point position relative difference values by one key when the product to be detected is switched; The product information further comprises a product identifier, and the product information module further comprises: The identification retrieval module is used for extracting the target product identification of the target batch product and retrieving in the product parameter library based on the target product identification; The parameter calling module is used for calling the target point position parameter or the point position relative difference value of the target product to adjust the target equipment if the point position parameter or the point position relative difference value of the target product matched with the target product identifier exists in the product parameter library; the point location parameters include a direction axis setting parameter, the apparatus further comprising: The address mapping module is used for storing the direction axis setting parameters corresponding to different directions to the associated direction axis coordinate addresses according to a preset mapping relation; And the address parameter adjusting module is used for adding the point position relative difference value corresponding to the direction axis coordinate address when the point position parameter is adjusted.
- 5. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 3 when the computer program is executed.
- 6. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 3.
- 7. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method of any one of claims 1 to 3.
Description
Dotting method and device for cutting machine Technical Field The present application relates to the technical field of automation equipment, and in particular, to a method, an apparatus, a computer device, a storage medium and a computer program product for dotting by a cutting machine. Background In the modern industry, automation equipment has become an indispensable important tool in production, and can realize high-efficiency and high-quality production and improve the competitiveness of enterprises. However, when the automatic equipment is used for producing and testing products, the processing test points/processing points of different batches and different specifications of products are different, so that the point positions need to be reset each time the product batch is replaced by an enterprise, a lot of time and cost are wasted, and the production and test efficiency is reduced. Therefore, how to rapidly switch the point positions and improve the production and test efficiency of the automation equipment become a problem to be solved urgently. In the related art, some solutions exist to cope with the problem that the point position needs to be reset when the product batch is replaced, wherein some solutions use a mechanical arm or a manual control mode to adjust the point position, but the methods have the problems of unchanged operation, low adjustment precision and the like, and cannot meet the modern and high-efficiency production requirements. Still other schemes use image recognition technology to automatically recognize products and perform point position adjustment, but these methods require photographing or scanning of the products, have insufficient recognition rate, require additional image processing hardware and software support, and have high cost. However, the current dotting method of the cutting machine has the following technical problems: The manual point location setting or other image processing equipment is adopted to realize the longer flow of point location setting, and meanwhile, the point location adjustment precision is lower, so that the efficiency of point location setting is low and the effect is poor. Disclosure of Invention In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, a computer readable storage medium and a computer program product for cutting and dotting the products of different batches, thereby improving the production and testing efficiency of enterprises. In a first aspect, the present application provides a method of dotting in a cutting machine. The method comprises the following steps: obtaining product information of a target batch of products, wherein the product information comprises product parameters; obtaining sample product parameters and sample point position parameters of target equipment, wherein the sample point position parameters are used for controlling the target equipment to realize the operation of a sample product at each point position; obtaining point location relative difference values according to the product parameters and the sample product parameters; and adjusting the point location parameters of the target equipment to meet the point location operation requirements of the target batch of products based on the point location relative difference value. In one embodiment, after the adjusting the point location parameter of the target device to meet the point location operation requirement of the target batch product based on the point location relative difference value, the method further includes: obtaining target point location parameters of a target batch of products based on the point location relative difference value and the sample point location parameters; And adding the target point position parameters to a product parameter library by taking the product information as an identifier, wherein the product parameter library is used for storing the point position parameters of a product or storing the point position relative difference values so as to generate all point position data based on the sample point position parameters and the point position relative difference values by one key when the product to be detected is switched. In one embodiment, the product information further includes a product identifier, and after the product information of the target lot is obtained, the method further includes: Extracting target product identifiers of the target batch products, and searching in the product parameter library based on the target product identifiers; And if the point position relative difference value of the target point position parameter or the target product matched with the target product identifier exists in the product parameter library, calling the point position relative difference value of the target point position parameter or the target product to adjust the target equipment. In one embodiment, the obtaining the product information of the target lot product i