[go: up one dir, main page]

CN109972306A - Label trimming control method and device, device and storage medium thereof - Google Patents

Label trimming control method and device, device and storage medium thereof Download PDF

Info

Publication number
CN109972306A
CN109972306A CN201910209600.1A CN201910209600A CN109972306A CN 109972306 A CN109972306 A CN 109972306A CN 201910209600 A CN201910209600 A CN 201910209600A CN 109972306 A CN109972306 A CN 109972306A
Authority
CN
China
Prior art keywords
label
mark
send
length
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910209600.1A
Other languages
Chinese (zh)
Other versions
CN109972306B (en
Inventor
林毅
许晓红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jack Technology Co Ltd
Original Assignee
Jack Sewing Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jack Sewing Machine Co Ltd filed Critical Jack Sewing Machine Co Ltd
Priority to CN201910209600.1A priority Critical patent/CN109972306B/en
Publication of CN109972306A publication Critical patent/CN109972306A/en
Application granted granted Critical
Publication of CN109972306B publication Critical patent/CN109972306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • DTEXTILES; PAPER
    • D05SEWING; EMBROIDERING; TUFTING
    • D05BSEWING
    • D05B35/00Work-feeding or -handling elements not otherwise provided for
    • D05B35/06Work-feeding or -handling elements not otherwise provided for for attaching bands, ribbons, strips, or tapes or for binding
    • D05B35/066Work-feeding or -handling elements not otherwise provided for for attaching bands, ribbons, strips, or tapes or for binding for attaching small textile pieces, e.g. labels, belt loops
    • DTEXTILES; PAPER
    • D05SEWING; EMBROIDERING; TUFTING
    • D05BSEWING
    • D05B37/00Devices incorporated in sewing machines for slitting, grooving, or cutting
    • D05B37/04Cutting devices
    • DTEXTILES; PAPER
    • D05SEWING; EMBROIDERING; TUFTING
    • D05BSEWING
    • D05B69/00Driving-gear; Control devices
    • DTEXTILES; PAPER
    • D05SEWING; EMBROIDERING; TUFTING
    • D05BSEWING
    • D05B69/00Driving-gear; Control devices
    • D05B69/10Electrical or electromagnetic drives
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F3/00Labels, tag tickets, or similar identification or indication means; Seals; Postage or like stamps
    • G09F3/02Forms or constructions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F3/00Labels, tag tickets, or similar identification or indication means; Seals; Postage or like stamps
    • G09F3/02Forms or constructions
    • G09F2003/0282Forms or constructions for textiles, e.g. clothing

Landscapes

  • Engineering & Computer Science (AREA)
  • Textile Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • Automation & Control Theory (AREA)
  • Labeling Devices (AREA)

Abstract

本申请提供一种标签剪裁控制方法及其装置、设备和存储介质,通过依据单个标签长度预设初始送标长度指令,根据初始送标长度指令向传送电机发送相应数量脉冲以令其将标签带沿送标方向传送,当感应器检测到标记线时,统计脉冲数量计算出实际送标长度指令以令传送电机在将标签带沿送标方向共传送了实际送标长度时中断向其发送脉冲;中断时令标签剪裁装置对所述标签带进行剪裁同时统计清零,并将实际送标长度指令作为初始送标长度指令重复上述步骤。本申请能够自动识别并修正标签传输的累计误差,同时能够实时的进行位置偏差的校正补偿,以保证裁剪位置的精确,提高裁剪速度和产品缝制质量,降低了工人的工作量,能够适用不同尺码或款式的标签。

The present application provides a label cutting control method, device, equipment and storage medium. By presetting an initial label feeding length command according to the length of a single label, a corresponding number of pulses are sent to a conveying motor according to the initial label feeding length command to cause it to cut the label tape. Send along the label feeding direction, when the sensor detects the marking line, count the number of pulses to calculate the actual label feeding length command, so that the conveying motor interrupts sending pulses to it when the label tape has transmitted the actual label feeding length along the label feeding direction. ; When interrupted, instruct the label cutting device to cut the label tape while clearing statistics, and repeat the above steps with the actual length of the label being sent as the initial length of the label. The application can automatically identify and correct the cumulative error of label transmission, and at the same time, it can correct and compensate the position deviation in real time, so as to ensure the accuracy of the cutting position, improve the cutting speed and product sewing quality, reduce the workload of workers, and can be applied to different Size or style label.

Description

标签剪裁控制方法及其装置、设备和存储介质Label trimming control method and device, device and storage medium thereof

技术领域technical field

本申请涉及缝纫机控制技术领域。尤其是涉及一种标签剪裁控制方法及其装置、设备和存储介质。The present application relates to the technical field of sewing machine control. In particular, it relates to a label cutting control method and its device, equipment and storage medium.

背景技术Background technique

水洗标也叫洗水标、洗水唛(本文简称标签)是服装行业常用产品,用于介绍服装洗涤操作方法,熨烫温度等等,帮助我们了解如何正确的洗涤服装和熨烫服装,使用范围广,可打印或印刷各类产品信息,如品牌、款号、尺寸、大小、产品成分、水洗符号、洗涤注意事项、制造商信息等。随着商品经济的发展,人民生活水平的提高,服装市场日益增长,标签种类越来越复杂,对工业缝纫机提出了更高的要求。Washing labels, also called washing labels and washing labels (referred to as labels in this article), are commonly used products in the clothing industry. They are used to introduce clothing washing methods, ironing temperatures, etc., to help us understand how to properly wash and iron clothing, use Wide range, can print or print all kinds of product information, such as brand, model number, size, size, product ingredients, washing symbols, washing precautions, manufacturer information, etc. With the development of the commodity economy, the improvement of people's living standards, the growing clothing market, and the more and more complex types of labels, higher requirements have been placed on industrial sewing machines.

在服装行业,衣服的标签制作是成卷印刷的,每个标签之间有相同的长度。在实际使用时,需要将成卷标签裁剪成单个标签进行缝制。目前服装厂的操作大部分都是人工手剪,这种方式裁剪精度低、速度慢、效率低;或者是使用机器传送固定距离再剪切,如果前一个标签长度传送错误,那么都会造成累积误差,直接影响下一个标签的剪切准确性。再或者,由于标签印刷质量存在问题,标签与标签之间长度并未严格统一,如前一个标签长一点,后一个标签短一点,不能按照实际的标签长度进行剪切,如果按照统一剪切长度进行剪切就会造成剪切不准确或剪坏标签。In the apparel industry, labels for clothing are printed in rolls with the same length between each label. In actual use, the roll label needs to be cut into a single label for sewing. At present, most of the operations of garment factories are manual hand cutting, which has low cutting precision, slow speed and low efficiency; or using a machine to transmit a fixed distance and then cutting, if the previous label length is transmitted incorrectly, it will cause cumulative errors. , which directly affects the clipping accuracy of the next label. Or, due to the problem of label printing quality, the length between labels is not strictly uniform. For example, the former label is longer and the latter label is shorter, so it cannot be cut according to the actual label length. Cutting can cause inaccurate cuts or cut labels.

发明内容SUMMARY OF THE INVENTION

鉴于以上所述现有技术的缺点,本申请的目的在于提供一种标签剪裁控制方法及其装置、设备和存储介质,用于解决现有技术中针对缝纫机的锁定控制方法在遇到突发情况时不能灵活准确进行调整的问题。In view of the above-mentioned shortcomings of the prior art, the purpose of the present application is to provide a label cutting control method, device, device and storage medium thereof, which are used to solve the problem of unexpected situations in the locking control method for sewing machines in the prior art. The problem of inability to adjust flexibly and accurately.

为实现上述目的及其他相关目的,本申请提供一种标签剪裁控制方法,应用于包括感应器、标签剪裁装置、及传送电机的标签剪裁控制系统,所述方法包括:S1、依据单个标签长度预设初始送标长度指令;S2、根据所述初始送标长度指令向传送电机发送相应数量脉冲,以令其将包含多个标签的标签带沿送标方向传送;S3、当感应器检测到标签带上两相邻标签之间的标记线时,统计已发送脉冲的数量得到实际送标长度并计算出实际送标长度指令,以令所述传送电机在将标签带沿送标方向共传送了所述实际送标长度指令对应的距离时中断向其发送脉冲;S4、在所述传传送电机中断时令标签剪裁装置对所述标签带进行剪裁,同时将已发送脉冲的数量清零,并将所述实际送标长度指令作为所述初始送标长度指令重复步骤S2-S3。In order to achieve the above purpose and other related purposes, the present application provides a label cutting control method, which is applied to a label cutting control system including an inductor, a label cutting device, and a conveying motor. The method includes: S1. Set the initial label feeding length command; S2, send a corresponding number of pulses to the conveying motor according to the initial label feeding length command, so that it can transmit the label tape containing multiple labels along the label feeding direction; S3, when the sensor detects the label When the marking line between two adjacent labels is attached, the number of sent pulses is counted to obtain the actual label feeding length and the actual label feeding length command is calculated, so that the conveying motor can transmit the label tape along the label feeding direction. When the distance corresponding to the actual label feeding length command, interrupt sending pulses to it; S4, when the transmission motor is interrupted, instruct the label cutting device to cut the label tape, at the same time clear the number of sent pulses, and set the The actual bidding length command is used as the initial bidding length command to repeat steps S2-S3.

于本申请的一实施例中,所述实际送标长度指令所述实际送标长度指令的计算方法包括:所述实际送标长度指令=L1-L2*N+L;其中,所述标签剪裁装置与所述感应器之间的长度L1;所述单个标签长度L2;所述实际送标长度L;N=L1/L2,且N取按去尾法得到整数。In an embodiment of the present application, the method for calculating the actual label feeding length command includes: the actual label feeding length command=L1-L2*N+L; wherein, the label trimming The length L1 between the device and the sensor; the length of the single label L2; the actual length of the label delivery L;

于本申请的一实施例中,所述标签带上两相邻标签之间的标记线的两侧分别具有一定宽度的纯色区域。In an embodiment of the present application, both sides of the marking line between two adjacent labels on the label tape respectively have solid color regions of a certain width.

于本申请的一实施例中,所述感应器检测到标签带上两相邻标签之间的标记线的方法包括:当感应器感应到所述纯色区域时,则生成下降沿;当感应器感应到所述标记线时,则生成上升沿。In an embodiment of the present application, the method for the sensor to detect the marking line between two adjacent labels on the label tape includes: when the sensor detects the solid color area, a falling edge is generated; when the sensor detects the solid color area; When the marker line is sensed, a rising edge is generated.

于本申请的一实施例中,所述标签带上两相邻标签之间的标记线的两侧分别具有一定宽度的纯色区域;预设所述送标方向的反方向为X轴方向,在所述传送电机开始时或中断时感应器对应的结尾线映射于所述标签带上的点为0坐标;所述0坐标对应的所述标签的前标记线、及后后标记线上的所述纯色区域坐标分别为:前标记线前纯色区域坐标:Amin=L2*N-L1-L3;前标记线后纯色区域坐标:Amax=L2*N-L1+L4;后标记线前纯色区域坐标:Bmin=L2*(N+1)-L1-L3;后标记线后纯色区域坐标:Bmax=L2*(N+1)-L1+L4;其中,L3为标记线前宽度距离;L4为标记线后宽度距离;N=L1/L2,且N取按去尾法得到整数。In an embodiment of the present application, the two sides of the marking line between two adjacent labels on the label tape respectively have solid color areas of a certain width; the opposite direction of the label feeding direction is preset as the X-axis direction. The point where the end line corresponding to the sensor is mapped on the label tape when the conveying motor starts or is interrupted is the 0 coordinate; The coordinates of the solid color area are respectively: the coordinates of the solid color area before the front marking line: Amin=L2*N-L1-L3; the coordinates of the solid color area after the front marking line: Amax=L2*N-L1+L4; the coordinates of the solid color area before the rear marking line : Bmin=L2*(N+1)-L1-L3; coordinates of the solid color area behind the marking line: Bmax=L2*(N+1)-L1+L4; L3 is the width distance before the marking line; L4 is the marking The width distance behind the line; N=L1/L2, and N is taken to obtain an integer according to the tail removal method.

于本申请的一实施例中,所述实际送标长度指令的计算方法还包括:判断所述0坐标是否在Amin-Amax范围内;若在Amin-Amax范围内,则当所述感应器检测到标签带上两相邻标签之间的标记线时,令所述际送标长度指令=L1-L2*(N-1)+L;若不在Amin-Amax范围内,则判断所述0坐标是否在Bmin–Bmax范围内;若在Bmin–Bmax范围内,则当所述感应器检测到标签带上两相邻标签之间的标记线时,令所述际送标长度指令=L1-L2*N+L。In an embodiment of the present application, the method for calculating the actual bid-delivery length instruction further includes: judging whether the 0 coordinate is within the range of Amin-Amax; if it is within the range of Amin-Amax, when the sensor detects When reaching the marking line between two adjacent labels on the label tape, set the actual label feeding length command=L1-L2*(N-1)+L; if it is not within the range of Amin-Amax, judge the 0 coordinate Whether it is in the range of Bmin-Bmax; if it is in the range of Bmin-Bmax, when the sensor detects the marking line between two adjacent labels on the label tape, let the actual label feeding length command = L1-L2 *N+L.

于本申请的一实施例中,所述方法还包括:在一次完整送标过程中,若未检测到所述标记线,则继续依据所述设初始送标长度指令进行送标和剪裁,并在本次剪裁动作结束时提示故障。In an embodiment of the present application, the method further includes: in a complete bid feeding process, if the marking line is not detected, continuing to send and cut the bid according to the instruction for setting the initial bid feeding length, and A fault will be prompted at the end of this clipping action.

为实现上述目的及其他相关目的,本申请提供一种标签剪裁控制装置,所述装置包括:所述预设模块,用于依据单个标签长度预设初始送标长度指令;所述处理模块,用于根据所述初始送标长度指令向传送电机发送相应数量脉冲,以令其将包含多个标签的标签带沿送标方向传送;当感应器检测到标签带上两相邻标签之间的标记线时,统计已发送脉冲的数量得到实际送标长度并计算出实际送标长度指令,以令所述传送电机在将标签带沿送标方向共传送了所述实际送标长度指令对应的距离时中断向其发送脉冲;在所述传传送电机中断时令标签剪裁装置对所述标签带进行剪裁,同时将已发送脉冲的数量清零,并将所述实际送标长度指令作为所述初始送标长度指令重复前述步骤。In order to achieve the above purpose and other related purposes, the present application provides a label cutting control device, the device comprising: the preset module for presetting the initial label feeding length instruction according to the length of a single label; the processing module, with According to the initial label feeding length command, a corresponding number of pulses are sent to the conveying motor, so that it can transmit the label tape containing multiple labels along the label feeding direction; when the sensor detects the mark between two adjacent labels on the label tape Count the number of sent pulses to get the actual label feed length and calculate the actual label feed length command, so that the conveying motor transmits the label tape along the label feed direction to the distance corresponding to the actual label feed length command. When the transmission motor is interrupted, the label cutting device will cut the label tape, and at the same time, the number of sent pulses will be cleared, and the actual label feeding length command will be used as the initial feeding Repeat the previous steps for the scalar length command.

为实现上述目的及其他相关目的,本申请提供一种标签剪裁控制设备,所述设备包括:存储器、处理器、及通信器;所述存储器存储有计算机程序,所述处理器执行所述计算机程序实现如上述所述的标签剪裁控制方法;所述通信器通信连接感应器、传送电机、及标签剪裁装置。In order to achieve the above object and other related objects, the present application provides a label trimming control device, the device includes: a memory, a processor, and a communicator; the memory stores a computer program, and the processor executes the computer program The above-mentioned label cutting control method is realized; the communicator is communicatively connected to the sensor, the conveying motor, and the label cutting device.

为实现上述目的及其他相关目的,本申请提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述所述的标签剪裁控制方法。To achieve the above object and other related objects, the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned label trimming control method.

如上所述,本申请的一种标签剪裁控制方法及其装置、设备和存储介质,通过依据单个标签长度预设初始送标长度指令;根据所述初始送标长度指令向传送电机发送相应数量脉冲,以令其将包含多个标签的标签带沿送标方向传送;当感应器检测到标签带上两相邻标签之间的标记线时,统计已发送脉冲的数量得到实际送标长度并计算出实际送标长度指令,以令所述传送电机在将标签带沿送标方向共传送了所述实际送标长度指令对应的距离时中断向其发送脉冲;在所述传传送电机中断时令标签剪裁装置对所述标签带进行剪裁,同时将已发送脉冲的数量清零,并将所述实际送标长度指令作为所述初始送标长度指令重复上述步骤。As mentioned above, a label cutting control method and device, equipment and storage medium of the present application, by presetting an initial label feeding length command according to the length of a single label; sending a corresponding number of pulses to a transmission motor according to the initial label feeding length command , so that it transmits the label tape containing multiple labels along the label feeding direction; when the sensor detects the marking line between two adjacent labels on the label tape, count the number of sent pulses to obtain the actual label feeding length and calculate The actual label feeding length command is issued, so that the conveying motor interrupts sending pulses to the label tape when the label tape has transmitted the distance corresponding to the actual label feeding length command along the label feeding direction; when the conveying motor is interrupted, the label is stopped. The trimming device trims the label tape, at the same time clears the number of sent pulses, and repeats the above steps with the actual length command of the label being sent as the initial length command of the label.

具有以下有益效果:Has the following beneficial effects:

能够自动识别并修正标签传输的累计误差,同时能够实时的进行位置偏差的校正补偿,以保证裁剪位置的精确,提高裁剪速度和产品缝制质量,降低了工人的工作量,提高了工作效率,此外,大大提高了适用性,能够适用不同尺码或款式的标签。It can automatically identify and correct the cumulative error of label transmission, and at the same time, it can correct and compensate the position deviation in real time to ensure the accuracy of the cutting position, improve the cutting speed and product sewing quality, reduce the workload of workers, and improve work efficiency. In addition, the applicability is greatly improved, and labels of different sizes or styles can be applied.

附图说明Description of drawings

图1显示为本申请于一实施例中的标签剪裁控制方法的流程示意图。FIG. 1 is a schematic flowchart of a label clipping control method according to an embodiment of the present application.

图2显示为本申请于一实施例中的标签带的实物示意图。FIG. 2 is a schematic diagram of a label tape according to an embodiment of the present application.

图3A显示为本申请于一实施例中的标签送标起始位置的场景示意图。FIG. 3A is a schematic diagram illustrating a scene of a starting position of label feeding according to an embodiment of the present application.

图3B显示为本申请于一实施例中的标签送标L长度的场景示意图。FIG. 3B is a schematic diagram illustrating a scenario of sending a label with a length of L according to an embodiment of the present application.

图4A显示为本申请于第一实施例中的标签送标起始时标签位置的场景示意图。FIG. 4A is a schematic diagram showing a scene of the label position at the start of label sending according to the first embodiment of the present application.

图4B显示为本申请于第一实施例中的标签送标第一过程结束时标签位置的场景示意图。FIG. 4B is a schematic diagram showing a scene of the label position at the end of the first process of label sending in the first embodiment of the present application.

图4C显示为本申请于第一实施例中的标签送标第二过程结束时标签位置的场景示意图。FIG. 4C is a schematic diagram showing a scene of the label position at the end of the second label sending process in the first embodiment of the present application.

图4D显示为本申请于第一实施例中的标签送标第三过程结束时标签位置的场景示意图。FIG. 4D is a schematic diagram showing a scene of the label position at the end of the third process of label sending in the first embodiment of the present application.

图5A显示为本申请于第二实施例中的标签送标起始时标签位置的场景示意图。FIG. 5A is a schematic diagram showing a scene of the label position at the start of label sending in the second embodiment of the present application.

图5B显示为本申请于第二实施例中的标签送标第一过程结束时标签位置的场景示意图。FIG. 5B is a schematic diagram showing a scene of the label position at the end of the first process of label sending according to the second embodiment of the present application.

图5C显示为本申请于第二实施例中的标签送标第二过程结束时标签位置的场景示意图。FIG. 5C is a schematic diagram showing a scene of the label position at the end of the second process of label sending in the second embodiment of the present application.

图5D显示为本申请于第二实施例中的标签送标第三过程结束时标签位置的场景示意图。FIG. 5D is a schematic diagram showing a scene of the label position at the end of the third process of label sending in the second embodiment of the present application.

图6A显示为本申请于第三实施例中的标签送标起始时标签位置的场景示意图。FIG. 6A is a schematic diagram showing a scene of the label position at the start of label sending in the third embodiment of the present application.

图6B显示为本申请于第三实施例中的标签送标第一过程结束时标签位置的场景示意图。FIG. 6B is a schematic diagram showing a scene of the label position at the end of the first process of label sending according to the third embodiment of the present application.

图6C显示为本申请于第三实施例中的标签送标第二过程结束时标签位置的场景示意图。FIG. 6C is a schematic diagram showing a scene of the label position at the end of the second label sending process in the third embodiment of the present application.

图6D显示为本申请于第三实施例中的标签送标第三过程结束时标签位置的场景示意图。FIG. 6D is a schematic diagram showing a scene of the label position at the end of the third process of label sending in the third embodiment of the present application.

图7A显示为本申请于第四实施例中的标签送标起始时标签位置的场景示意图。FIG. 7A is a schematic diagram showing a scene of the label position at the start of label sending in the fourth embodiment of the present application.

图7B显示为本申请于第四实施例中的标签送标第一过程结束时标签位置的场景示意图。FIG. 7B is a schematic diagram showing a scene of a label position at the end of the first process of label sending in the fourth embodiment of the present application.

图7C显示为本申请于第四实施例中的标签送标第二过程结束时标签位置的场景示意图。FIG. 7C is a schematic diagram showing a scene of the label position at the end of the second label sending process in the fourth embodiment of the present application.

图8显示为本申请于一实施例中的标签剪裁控制装置的模块示意图。FIG. 8 is a schematic block diagram of a label cutting control device according to an embodiment of the present application.

图9显示为本申请于一实施例中的标签剪裁控制设备的结构示意图。FIG. 9 is a schematic structural diagram of a label cutting control device in an embodiment of the present application.

具体实施方式Detailed ways

以下通过特定的具体实例说明本申请的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本申请的其他优点与功效。本申请还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本申请的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。The embodiments of the present application are described below through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other under the condition of no conflict.

需要说明的是,以下实施例中所提供的图示仅以示意方式说明本申请的基本构想,遂图式中仅显示与本申请中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。It should be noted that the drawings provided in the following embodiments are only used to illustrate the basic concept of the present application in a schematic way, so the drawings only show the components related to the present application rather than the number, shape and number of components in actual implementation. For dimension drawing, the type, quantity and proportion of each component can be changed at will in actual implementation, and the component layout may also be more complicated.

如图1所示,展示本申请于一实施例中的标签剪裁控制方法的流程示意图。应用于包括感应器、标签剪裁装置、及传送电机的标签剪裁控制系统,如图所示,所述方法包括:As shown in FIG. 1 , a schematic flowchart of a label clipping control method in an embodiment of the present application is shown. Applied to a label cutting control system including a sensor, a label cutting device, and a conveying motor, as shown in the figure, the method includes:

步骤S1:依据单个标签长度预设初始送标长度指令。Step S1: Presetting an initial label feeding length instruction according to the length of a single label.

于本实施例中,通常标签的剪裁是依据设定好的剪裁长度或送标长度(即标签长度)进行剪切的,但是如果设定好的剪裁长度与实际标签长度有误差,如0.1mm的误差,当标签数量较大,如100个标签时,那么累计下来的误差达到10mm,对剪裁效果的影响就比较严重。而于本申请中,首先依据单个标签长度预设初始送标长度指令,是因为此时还没有开始送标,没有实际送标长度的数据,在送标过程中根据实时获取的数据进行更正或调整。因此,初始时依据标签长度设为初始送标长度指令。其目的或用途与现有方式有区别。In this embodiment, the label is usually cut according to the set cutting length or the label feeding length (ie the label length), but if there is an error between the set cutting length and the actual label length, such as 0.1mm When the number of labels is large, such as 100 labels, the accumulated error reaches 10mm, which has a serious impact on the cutting effect. In this application, the initial length of the bid is preset according to the length of a single label, because the bid has not yet started to be sent, and there is no data of the actual length of the bid. During the bid submission process, correction or Adjustment. Therefore, according to the label length, it is initially set as the initial feed length command. Its purpose or use is different from existing methods.

于本实施例中,所述单个标签长度的获取,可以通过真实测量得到,也可以通过标签带的产品参数获得。In this embodiment, the acquisition of the length of the single label can be obtained by real measurement, or can be obtained by the product parameters of the label tape.

如图2所示,展示本申请于一实施例中的标签带示意图。通常标签带是将标签批量印刷上的,对于质量较好的标签带其印刷质量较好,即每个印刷上的标签的长度统一,且标签与标签之间的标记线明显或无漏印。但是对于印刷质量较差的标签带,其印刷的标签长度可能出现不规整或有瑕疵的情况,即每个实际标签的长度以及标记线的是否准确或清晰并不能保证。As shown in FIG. 2 , a schematic diagram of a label tape in an embodiment of the present application is shown. Labels are usually printed in batches. For labels with better quality, the printing quality is better, that is, the length of each printed label is uniform, and the marking line between the labels is obvious or there is no missing printing. However, for the label tape with poor printing quality, the printed label length may be irregular or defective, that is, the length of each actual label and whether the marking line is accurate or clear cannot be guaranteed.

步骤S2:根据所述初始送标长度指令向传送电机发送相应数量脉冲,以令其将包含多个标签的标签带沿送标方向传送。Step S2: Send a corresponding number of pulses to the conveying motor according to the initial label feeding length command, so that it transmits the label tape containing multiple labels along the label feeding direction.

如图3A所示,展示本申请于一实施例中的标签送标起始位置的场景示意图。如图所述,场景中包括送料台1,标签剪裁装置2,标记线3,包含多个标签的标签带4,感应器5,送标方向如图中箭头所示。此时状态为所述标签带4的起始端与标签剪裁装置2对应的起始线对齐。As shown in FIG. 3A , a scene schematic diagram showing the starting position of label feeding in an embodiment of the present application is shown. As shown in the figure, the scene includes a feeding table 1, a label cutting device 2, a marking line 3, a label tape 4 containing multiple labels, a sensor 5, and the label feeding direction is shown by the arrow in the figure. At this time, the state is that the starting end of the label tape 4 is aligned with the starting line corresponding to the label cutting device 2 .

另外,L1为标签剪裁装置2对应的起始线与感应器5对应的结尾线之间的距离,L2为单个标签长度。L3为标记线前纯色区域长度,L4为标记线后纯色区域长度。In addition, L1 is the distance between the start line corresponding to the label cutting device 2 and the end line corresponding to the sensor 5 , and L2 is the length of a single label. L3 is the length of the solid color area before the marking line, and L4 is the length of the solid color area after the marking line.

于本申请的一实施例中,所述标签带上两相邻标签之间的标记线的两侧分别具有一定宽度的纯色区域。如图3A中所示,所述感应器5对应的标签的前标记线两侧的纯色区域为Amin-Amax,对应的前标记线分别到Amin和Amax的长度为L3和L4;相应的所述感应器5对应的标签的后标记线两侧的纯色区域为Bmin-Bmax,对应的后标记线分别到Bmin和Bmax的长度为L3和L4。In an embodiment of the present application, both sides of the marking line between two adjacent labels on the label tape respectively have solid color regions of a certain width. As shown in FIG. 3A , the solid color areas on both sides of the front marking line of the label corresponding to the sensor 5 are Amin-Amax, and the lengths of the corresponding front marking lines to Amin and Amax are L3 and L4 respectively; The solid color areas on both sides of the rear marking line of the label corresponding to the sensor 5 are Bmin-Bmax, and the lengths of the corresponding rear marking lines to Bmin and Bmax are L3 and L4 respectively.

再如图3B所示,展示本申请于一实施例中的标签送标L长度的场景示意图。如图所示,标签沿送标方向传送了L长度。As shown in FIG. 3B , a schematic diagram of a scenario where the label feeds the length of label L according to an embodiment of the present application is shown. As shown, the label is conveyed L length in the label feed direction.

于本实施例中,送标开始时,依据所述初始送标长度指令,向传送电机发送相应数量脉冲以使其在理论上带动标签带沿送标方向传送所述初始送标长度指令所对应的送标长度。这里的送标长度一开始时,是依据单个标签长度,在剪裁一次后,则依据后续计算出的实际送标长度指令所对应的送标长度。In this embodiment, when the label feed starts, according to the initial label feed length command, a corresponding number of pulses are sent to the conveying motor to theoretically drive the label tape to transmit the corresponding initial label feed length command along the label feed direction. the length of the bid. At the beginning, the feed length here is based on the length of a single label, and after one cut, it is based on the feed length corresponding to the actual feed length command calculated subsequently.

具体来说,所述传动电机为传送电机,即接收一次脉冲前进一次。所述传送电机接收到脉冲后电动滚轮,滚轮压住标签带实现送标。Specifically, the transmission motor is a transmission motor, that is, it receives one pulse and advances once. After receiving the pulse, the conveying motor drives the roller, and the roller presses the label tape to realize the label delivery.

步骤S3:当感应器检测到标签带上两相邻标签之间的标记线时,统计已发送脉冲的数量得到实际送标长度并计算出实际送标长度指令,以令所述传送电机在将标签带沿送标方向共传送了所述实际送标长度指令对应的距离时中断向其发送脉冲。Step S3: When the sensor detects the marking line between two adjacent labels on the label tape, count the number of sent pulses to obtain the actual label feeding length and calculate the actual label feeding length command, so that the conveying motor will be When the label tape has transmitted the distance corresponding to the actual label feeding length command in the label feeding direction, it interrupts sending pulses to it.

于本申请的一实施例中,对应图3B,所述实际送标长度指令的计算方法为:L1-L2*N+L;In an embodiment of the present application, corresponding to FIG. 3B , the calculation method of the actual bidding length instruction is: L1-L2*N+L;

其中,所述标签剪裁装置与所述感应器之间的长度L1;所述单个标签长度L2;所述实际送标长度L;N=L1/L2,且N取按去尾法得到整数,即去掉余数取整数。Wherein, the length L1 between the label cutting device and the sensor; the length L2 of the single label; the actual label feeding length L; Remove the remainder to get an integer.

由于标签带上的标签长度不固定,采用上述方法计算,从而在不调整感应器或标签剪裁位置的距离的情况下,也能够适用不同尺码或款式的标签,大大提高了适用性。Since the length of the label on the label tape is not fixed, the above method is used for calculation, so that labels of different sizes or styles can be applied without adjusting the distance of the sensor or the cutting position of the label, which greatly improves the applicability.

所述统计已发送脉冲的数量得到实际送标长度。举例来说,传送电机接收的脉冲数量与其带动标签带往前送的距离的关系可以为:每发送60个脉冲,传送电机带动标签带往前送1mm。The number of sent pulses is counted to obtain the actual length of the bid delivery. For example, the relationship between the number of pulses received by the conveying motor and the distance it drives the label tape forward may be: for every 60 pulses sent, the conveying motor drives the label tape forward by 1mm.

所述感应器检测到标签带上两相邻标签之间的标记线的方法包括:当感应器感应到所述纯色区域时,则生成下降沿;当感应器感应到所述标记线时,则生成上升沿。The method for the sensor to detect the marking line between two adjacent labels on the label tape includes: when the sensor senses the solid color area, generating a falling edge; when the sensor senses the marking line, then Generate a rising edge.

需要说明的是,通常标签上大部分为图案或文字,本申请所述方法中对标签的主体不进行感应检测,只在感应到纯色区域时先生成下降沿信号,这里相当于告诉感应器准备感应标记线了,让感应器进入准备感应,在当感应到标记线时生成上升沿信号以确认检测到了标记线,接下来又会进入纯色区域,测试感应器又产生下降沿信号,这里相当于告诉感应器准备休息了,当离开纯色区域(即感应到标签主体图案或文字)时,感应不做处理。以此,在节省资源的同时,保证检测标记线的准确性。It should be noted that usually most of the labels are patterns or texts. In the method described in this application, the main body of the label is not subjected to induction detection, and only a falling edge signal is generated when a solid color area is sensed, which is equivalent to telling the sensor to prepare When the marked line is sensed, let the sensor enter the ready-to-sensing, and when the marked line is sensed, a rising edge signal is generated to confirm that the marked line is detected, and then it will enter the solid color area, and the test sensor will generate a falling edge signal, which is equivalent to Tell the sensor that it is ready to rest. When it leaves the solid color area (that is, it senses the main pattern or text of the label), the sensor does not process. In this way, while saving resources, the accuracy of detecting the marking line is ensured.

进一步地,如图3A所示,预设所述送标方向的反方向为X轴方向,在所述传送电机开始时或中断时感应器对应的结尾线映射于所述标签带上的点为0坐标;所述0坐标对应的所述标签的前标记线、及后标记线上的所述纯色区域坐标分别为:Further, as shown in FIG. 3A , the reverse direction of the label feeding direction is preset as the X-axis direction, and the point where the end line corresponding to the sensor is mapped on the label tape when the conveying motor starts or is interrupted is: 0 coordinate; the coordinates of the solid color area on the front marking line and the rear marking line of the label corresponding to the 0 coordinate are respectively:

前标记线前纯色区域坐标:Amin=L2*N-L1-L3;The coordinates of the solid color area before the front marking line: Amin=L2*N-L1-L3;

前标记线后纯色区域坐标:Amax=L2*N-L1+L4;The coordinates of the solid color area behind the front marking line: Amax=L2*N-L1+L4;

后标记线前纯色区域坐标:Bmin=L2*(N+1)-L1-L3;The coordinates of the solid color area before the rear marking line: Bmin=L2*(N+1)-L1-L3;

后标记线后纯色区域坐标:Bmax=L2*(N+1)-L1+L4;The coordinates of the solid color area behind the marking line: Bmax=L2*(N+1)-L1+L4;

其中,L3为标记线前宽度距离;L4为标记线后宽度距离;N=L1/L2,且N取按去尾法得到整数。Wherein, L3 is the width distance in front of the marking line; L4 is the width distance behind the marking line; N=L1/L2, and N is taken as an integer according to the method of removing tails.

步骤S4:在所述传传送电机中断时令标签剪裁装置对所述标签带进行剪裁,同时将已发送脉冲的数量清零,并将所述实际送标长度指令作为所述初始送标长度指令重复步骤S2-S3。Step S4: when the transmission motor is interrupted, the label cutting device is ordered to cut the label tape, and at the same time, the number of sent pulses is cleared, and the actual label feeding length command is repeated as the initial label feeding length command. Steps S2-S3.

于本实施例中,这一步骤具有前后衔接的作用,一方面移动了相应距离以令所述标签剪裁装置进行剪裁,另一方面清零所统计的脉冲数量,即为下一标签的送标过程步骤S2-S3做准备。In this embodiment, this step has the function of connecting back and forth. On the one hand, it moves the corresponding distance to make the label cutting device cut, and on the other hand, clears the counted number of pulses, which is the sending of the next label. Process steps S2-S3 prepare.

第一实施例first embodiment

举例来说,本申请于一理想情况下的实施例。For example, the present application is in an ideal case embodiment.

假设实际标签长度为20mm,预设以下参数L1=45mm,L2=20mm,L3=3mm,L4=3mm;传送电机接收的脉冲数量与其带动标签带往前送的距离的关系可以为:每发送60个脉冲,传送电机带动标签带往前送1mm。Assuming that the actual label length is 20mm, preset the following parameters: L1=45mm, L2=20mm, L3=3mm, L4=3mm; the relationship between the number of pulses received by the transmission motor and the distance it drives the label belt forward can be: every 60 A pulse, the transmission motor drives the label tape forward 1mm.

计算N=L1/L2,且N取按去尾法得到整数,即N=2。Amin=L2*N-L1-L3坐标为-8,Amax=L2*N-L1+L4坐标为-2,Bmin=L2*(N+1)-L1-L3坐标为12,Bmax=L2*(N+1)-L1+L4坐标为18。N=L1/L2 is calculated, and N is fetched to obtain an integer according to the tailing method, that is, N=2. Amin=L2*N-L1-L3 coordinate is -8, Amax=L2*N-L1+L4 coordinate is -2, Bmin=L2*(N+1)-L1-L3 coordinate is 12, Bmax=L2*( N+1)-L1+L4 coordinates are 18.

初始位置如图4A所示,初始时设置标签传送长度指令L5与设置的单个标签长度一致,即L5=L2=20mm,实际标签传送长度L为0mm:The initial position is shown in Figure 4A. Initially, the label transmission length command L5 is set to be consistent with the set length of a single label, that is, L5=L2=20mm, and the actual label transmission length L is 0mm:

第一过程:在这一过程中,一共往传送电机发送了720个脉冲,标签带往前送了12mm。传感器5的结尾线即将进入Bmin和Bmax区间内,在此传送过程中,一直认为传感器5的信号无效。The first process: In this process, a total of 720 pulses are sent to the conveying motor, and the label tape is sent forward by 12mm. The end line of sensor 5 is about to enter the interval between Bmin and Bmax. During this transmission process, the signal of sensor 5 is always considered invalid.

这一过程结束时,实际标签传送长度L为12mm,与Bmin的值相同。标签传送长度指令L5仍为20mm,标签位置如图4B所示。At the end of this process, the actual label delivery length L is 12mm, which is the same value as Bmin. The label transmission length command L5 is still 20mm, and the label position is shown in Figure 4B.

第二过程:这一过程即传感器5的结尾线在Bmin和Bmax之间的区间内,认为传感器5的信号有效。边往传送电机发送脉冲边检测传感器5的信号,当检测到传感器5信号的上升沿时,即传感器检测到标签的标记线时,理想情况下,一共往传送电机发送了180个脉冲,标签带往前送了3mm。Second process: In this process, the end line of sensor 5 is in the interval between Bmin and Bmax, and the signal of sensor 5 is considered valid. Detect the signal of sensor 5 while sending pulses to the conveying motor. When the rising edge of the signal of sensor 5 is detected, that is, when the sensor detects the marking line of the label, ideally, a total of 180 pulses are sent to the conveying motor. Sent 3mm forward.

传感器检测到标签的标记线时,实际标签传送长度L值为15mm,由于检测到传感器5信号的上升沿,将更新标签传送长度指令为L5=L1-L2*N+L=45-20*2+15=20mm。When the sensor detects the marking line of the label, the actual label transmission length L is 15mm. Since the rising edge of the sensor 5 signal is detected, the instruction to update the label transmission length is L5=L1-L2*N+L=45-20*2 +15=20mm.

传感器检测到标签的标记线时,标签位置如图4C所示。When the sensor detects the marking line of the label, the label position is shown in Figure 4C.

第三过程:在这一过程中,认为传感器5的信号无效。当实际标签传送长度L值与更新后的实际标签传送长度指令为L5=20mm相同时,结束此过程。Third process: In this process, the signal of the sensor 5 is considered invalid. When the actual label transmission length L value is the same as the updated actual label transmission length command L5=20mm, the process ends.

这一过程结束时,将不再往传送电机发送脉冲,停止标签的传送,并实现标签的剪切操作,此时标签位置如图4D所示。At the end of this process, no more pulses will be sent to the conveying motor, the conveying of the label will be stopped, and the cutting operation of the label will be realized. At this time, the position of the label is shown in Figure 4D.

这一过程结束后,将重复这一轮过程,实现下一个标签的传送剪裁。After this process is over, this round of process will be repeated to realize the delivery and trimming of the next label.

需要说明的是,本申请所述方法除正常情况下能够实现准确的标签剪裁外,还能够针对多种特殊情况实现准确的标签剪裁。以下将进行详细说明。It should be noted that, the method described in this application can realize accurate label trimming in addition to normal circumstances, and can also realize accurate label trimming for various special situations. A detailed description will be given below.

针对在某些特殊情况,于本申请的一实施例中,所述实际送标长度指令的计算方法还包括:For some special cases, in an embodiment of the present application, the method for calculating the actual bid-delivery length instruction further includes:

判断所述0坐标是否在Amin-Amax范围内;Determine whether the 0 coordinate is within the range of Amin-Amax;

若在Amin-Amax范围内,则当所述感应器检测到标签带上两相邻标签之间的标记线时,令所述际送标长度指令=L1-L2*(N-1)+L;If it is within the range of Amin-Amax, when the sensor detects the marking line between two adjacent labels on the label tape, let the actual label feeding length command=L1-L2*(N-1)+L ;

若不在Amin-Amax范围内,则判断所述0坐标是否在Bmin–Bmax范围内;If it is not within the range of Amin-Amax, then determine whether the 0 coordinate is within the range of Bmin-Bmax;

若在Bmin–Bmax范围内,则当所述感应器检测到标签带上两相邻标签之间的标记线时,令所述际送标长度指令=L1-L2*N+L。If it is within the range of Bmin-Bmax, when the sensor detects a marking line between two adjacent labels on the label tape, let the actual label feed length command=L1-L2*N+L.

于本实施例中,出现在Amin-Amax范围内的情况较少,具体可参见下文第四实施例。In this embodiment, there are few cases in the range of Amin-Amax. For details, please refer to the fourth embodiment below.

于本申请的一实施例中,所述方法还包括:在一次完整送标过程中,若未检测到所述标记线,则继续依据所述设初始送标长度指令进行送标和剪裁,并在本次剪裁动作结束时提示故障。例如,以声音或文字进行提示,以供操作人员查看并决定是否继续标签的剪切操作。In an embodiment of the present application, the method further includes: in a complete bid feeding process, if the marking line is not detected, continuing to send and cut the bid according to the instruction for setting the initial bid feeding length, and A fault will be prompted at the end of this clipping action. For example, a voice or text prompt is provided for the operator to review and decide whether to continue the label cutting operation.

第二实施例Second Embodiment

由于标签会存在印刷的长度误差,测量标签长度也会造成测量误差等各种因素导致的标签实际长度与设置的长度值会存在细小偏差。这种细小偏差在传送了上百个商标时就会被放大。Due to the printing length error of the label, measuring the length of the label will also cause measurement error and other factors, and there will be a slight deviation between the actual length of the label and the set length value. Such small deviations are magnified when hundreds of logos are transmitted.

例如,实际标签长度为20.1mm,在系统中设置以下参数L1=45mm,L2=20mm,L3=3mm,L4=3mm;传送电机接收的脉冲数量与其带动标签带往前送的距离的关系可以为:每发送60个脉冲,传送电机带动标签带往前送1mm。For example, the actual label length is 20.1mm, and the following parameters are set in the system: L1=45mm, L2=20mm, L3=3mm, L4=3mm; the relationship between the number of pulses received by the transmission motor and the distance it drives the label belt forward can be as follows: : Every time 60 pulses are sent, the transmission motor drives the label belt to send 1mm forward.

计算N=L1/L2,且N取按去尾法得到整数,即N=2。Amin=L2*N-L1-L3坐标为-8,Amax=L2*N-L1+L4坐标为-2,Bmin=L2*(N+1)-L1-L3坐标为12,Bmax=L2*(N+1)-L1+L4坐标为18。N=L1/L2 is calculated, and N is fetched to obtain an integer according to the tailing method, that is, N=2. Amin=L2*N-L1-L3 coordinate is -8, Amax=L2*N-L1+L4 coordinate is -2, Bmin=L2*(N+1)-L1-L3 coordinate is 12, Bmax=L2*( N+1)-L1+L4 coordinates are 18.

初始位置如图5A所示,初始时设置标签传送长度指令L5与设置的单个标签长度一致,即L5=L2=20mm,实际标签传送长度L为0mm。The initial position is shown in Fig. 5A. Initially, the label transmission length command L5 is set to be consistent with the set length of a single label, that is, L5=L2=20mm, and the actual label transmission length L is 0mm.

第一过程:在这一过程中,一共往传送电机发送了720个脉冲,标签带往前送了12mm。The first process: In this process, a total of 720 pulses are sent to the conveying motor, and the label tape is sent forward by 12mm.

系统认为传感器5的结尾线即将进入Bmin和Bmax区间内,实际标签长度与设置长度由细小差别,这一区域也会存在细小差别,但是在设置L3和L4时需要保证一个余量,所以在此不会造成影响。The system thinks that the end line of sensor 5 is about to enter the range of Bmin and Bmax, the actual label length and the set length are slightly different, and there will be slight differences in this area, but a margin needs to be guaranteed when setting L3 and L4, so here will not be affected.

在此传送过程中,一直认为传感器5的信号无效。During this transmission, the signal from sensor 5 is always considered invalid.

这一过程结束时,实际标签传送长度L为12mm,与Bmin的值相同。标签传送长度指令L5仍为20mm,标签位置如图5B所示。At the end of this process, the actual label delivery length L is 12mm, which is the same value as Bmin. The label transmission length command L5 is still 20mm, and the label position is shown in Figure 5B.

第二过程:这一过程即传感器5的结尾线在Bmin和Bmax之间的区间内,认为传感器5的信号有效。边往传送电机发送脉冲边检测传感器5的信号,当检测到传感器5信号的上升沿时,即传感器检测到标签的标记线时,理想情况下,一共往传送电机发送了180个脉冲,标签带往前送了3mm。Second process: In this process, the end line of sensor 5 is in the interval between Bmin and Bmax, and the signal of sensor 5 is considered valid. Detect the signal of sensor 5 while sending pulses to the conveying motor. When the rising edge of the signal of sensor 5 is detected, that is, when the sensor detects the marking line of the label, ideally, a total of 180 pulses are sent to the conveying motor. Sent 3mm forward.

由于实际标签长度与设置的长度不一致,传感器检测到标签的标记线时,实际标签传送长度L值为15.2mm,由于检测到传感器5信号的上升沿,将更新标签传送长度指令为L5=L1-L2*N+L=45-20*2+15.2=20.2mm。Since the actual label length is inconsistent with the set length, when the sensor detects the marking line of the label, the actual label transmission length L value is 15.2mm. Since the rising edge of the sensor 5 signal is detected, the instruction to update the label transmission length is L5=L1- L2*N+L=45-20*2+15.2=20.2mm.

传感器检测到标签的标记线时,标签位置如图5C所示。When the sensor detects the marking line of the label, the label position is shown in Figure 5C.

第三过程:在这一过程中,认为传感器5的信号无效。当实际标签传送长度L值与更新后的标签传送长度指令为L5=20.2mm相同时,结束此过程。Third process: In this process, the signal of the sensor 5 is considered invalid. When the actual label transmission length L value is the same as the updated label transmission length command L5=20.2mm, the process ends.

这一过程结束时,将不再往传送电机发送脉冲,停止标签的传送,并实现标签的剪切操作,此时标签位置如图5D所示。At the end of this process, no more pulses will be sent to the conveying motor, the conveying of the label will be stopped, and the cutting operation of the label will be realized. At this time, the position of the label is shown in Figure 5D.

这一过程结束后,将重复这一轮过程,实现下一个标签的传送剪切。After this process is over, this round of process will be repeated to realize the delivery and cutting of the next label.

需要说明的是,虽然在此例中实际传送的长度为20.2mm,比20.1mm多了0.1mm。但是在下一个标签的传送中,由于第一个标签的初始位置少了0.1mm,重复本申请中实际送标长度指令的动态调整,下一个标签剪切的长度就将为20.1mm。It should be noted that although in this example the actual conveyed length is 20.2mm, it is 0.1mm longer than 20.1mm. However, in the transmission of the next label, since the initial position of the first label is less than 0.1mm, repeating the dynamic adjustment of the actual label feeding length command in this application, the length of the next label cut will be 20.1mm.

第三实施例Third Embodiment

当标签存在印刷问题,即标记线未印刷上时。When there is a printing problem with the label, i.e. the marking line is not printed.

例如,实际标签长度为20mm,在系统中设置以下参数L1=45mm,L2=20mm,L3=3mm,L4=3mm;传送电机接收的脉冲数量与其带动标签带往前送的距离的关系可以为:每发送60个脉冲,传送电机带动标签带往前送1mm。For example, the actual label length is 20mm, and the following parameters are set in the system: L1=45mm, L2=20mm, L3=3mm, L4=3mm; the relationship between the number of pulses received by the transmission motor and the distance it drives the label belt forward can be: For every 60 pulses sent, the conveying motor drives the label belt forward by 1mm.

计算N=L1/L2,且N取按去尾法得到整数,即N=2。Amin=L2*N-L1-L3坐标为-8,Amax=L2*N-L1+L4坐标为-2,Bmin=L2*(N+1)-L1-L3坐标为12,Bmax=L2*(N+1)-L1+L4坐标为18。N=L1/L2 is calculated, and N is fetched to obtain an integer according to the tailing method, that is, N=2. Amin=L2*N-L1-L3 coordinate is -8, Amax=L2*N-L1+L4 coordinate is -2, Bmin=L2*(N+1)-L1-L3 coordinate is 12, Bmax=L2*( N+1)-L1+L4 coordinates are 18.

初始位置如图6A所示,初始时设置标签传送长度指令L5与设置的单个标签长度一致,即L5=L2=20mm,实际标签传送长度L为0mm。图中第3个标签的后标记线处虚线表示未印刷。The initial position is shown in FIG. 6A , and the label transmission length command L5 is initially set to be consistent with the set length of a single label, that is, L5=L2=20mm, and the actual label transmission length L is 0mm. The dotted line at the back marked line of the third label in the figure indicates unprinted.

第一过程:在这一过程中,一共往传送电机发送了720个脉冲,标签带往前送了12mm。传感器5的结尾线即将进入Bmin和Bmax区间内,在此传送过程中,一直认为传感器5的信号无效。The first process: In this process, a total of 720 pulses are sent to the conveying motor, and the label tape is sent forward by 12mm. The end line of sensor 5 is about to enter the interval between Bmin and Bmax. During this transmission process, the signal of sensor 5 is always considered invalid.

这一过程结束时,实际标签传送长度L为12mm,与Bmin的值相同。标签传送长度指令L5仍为20mm,标签位置如图6B所示。At the end of this process, the actual label delivery length L is 12mm, which is the same value as Bmin. The label transmission length command L5 is still 20mm, and the label position is shown in Figure 6B.

第二过程:这一过程即传感器5的结尾线在Bmin和Bmax之间的区间内,认为传感器5的信号有效。边往传送电机发送脉冲边检测传感器5的信号,当检测到传感器5信号的上升沿时,即传感器检测到标签的标记线时。在此情况下,由于标记线未印刷,所以在Bmin和Bmax区间内都未检测到传感器5信号的上升沿。Second process: In this process, the end line of sensor 5 is in the interval between Bmin and Bmax, and the signal of sensor 5 is considered valid. The signal of the sensor 5 is detected while sending a pulse to the conveying motor, and when the rising edge of the signal of the sensor 5 is detected, that is, when the sensor detects the marking line of the label. In this case, since the marking line is not printed, the rising edge of the signal of the sensor 5 is not detected in both the Bmin and Bmax intervals.

一直到传感器5的结尾线出Bmin和Bmax区间时,这一过程结束。过程中一共往传送电机发送了360个脉冲,标签带往前送了6mm。This process ends when the end line of the sensor 5 is out of the Bmin and Bmax intervals. During the process, a total of 360 pulses were sent to the conveying motor, and the label tape was sent forward by 6mm.

由于未检测到标记线,故不更新标签传送长度指令,L5仍旧为20mm。Since the marking line is not detected, the label transmission length command is not updated, and L5 is still 20mm.

这一过程结束时,标签位置如图6C所示。At the end of this process, the label position is shown in Figure 6C.

第三过程:在这一过程中,认为传感器5的信号无效。当实际标签传送长度L值与标签传送长度指令为L5=20mm相同时,结束此过程。Third process: In this process, the signal of the sensor 5 is considered invalid. When the actual label transmission length L value is the same as the label transmission length command L5=20mm, the process ends.

这一过程结束时,将不再往传送电机发送脉冲,停止标签的传送,此时标签位置如图6D所示。At the end of this process, no more pulses will be sent to the conveying motor, and the conveying of the label will be stopped. At this time, the label position is shown in Figure 6D.

传送完成后将报故障,由客户查看并决定是否继续标签的剪切操作。After the transmission is completed, a fault will be reported, and the customer will check and decide whether to continue the label cutting operation.

以上过程表明此算法能够在标记线未印刷时也能够按照预设长度传送标签,待到下一个正常印刷的标签时,继续动态调整,消除累计误差。The above process shows that this algorithm can transmit the label according to the preset length even when the marking line is not printed, and when the next normal printed label is reached, it can continue to dynamically adjust to eliminate the accumulated error.

第四实施例Fourth Embodiment

前面论述的情况都未用到Amin和Amax区间,此情况将用到Amin和Amax区间,这种情况较少发生。举例来说,当L1略大于L2*N的值时,由于初始摆放标签位置有偏差,导致标签的前标记线也在传感器5的结尾线后面。The Amin and Amax intervals are not used in the cases discussed above, and the Amin and Amax intervals will be used in this case, which is a rare occurrence. For example, when L1 is slightly larger than the value of L2*N, due to the deviation of the initial position of the label, the front marking line of the label is also behind the trailing line of the sensor 5 .

例如,其中实际标签长度为22mm,在系统中设置以下参数L1=45mm,L2=22mm,L3=3mm,L4=3mm;传送电机接收的脉冲数量与其带动标签带往前送的距离的关系可以为:每发送60个脉冲,传送电机带动标签带往前送1mm。For example, the actual label length is 22mm, and the following parameters are set in the system: L1=45mm, L2=22mm, L3=3mm, L4=3mm; the relationship between the number of pulses received by the transmission motor and the distance it drives the label belt forward can be as follows : Every time 60 pulses are sent, the transmission motor drives the label belt to send 1mm forward.

计算N=L1/L2,且N取按去尾法得到整数,即N=2。Amin=L2*N-L1-L3坐标为-4,Amax=L2*N-L1+L4坐标为2,Bmin=L2*(N+1)-L1-L3坐标为18,Bmax=L2*(N+1)-L1+L4坐标为24。N=L1/L2 is calculated, and N is fetched to obtain an integer according to the tailing method, that is, N=2. Amin=L2*N-L1-L3 coordinate is -4, Amax=L2*N-L1+L4 coordinate is 2, Bmin=L2*(N+1)-L1-L3 coordinate is 18, Bmax=L2*(N +1)-L1+L4 coordinates are 24.

标签初始位置如图7A中实际情况所示,标签比理想情况往后摆了1.5mm。初始时设置标签传送长度指令L5与设置的单个标签长度一致,即L5=L2=22mm,实际标签传送长度L为0mm。The initial position of the label is shown in the actual situation in Fig. 7A, and the label is swung back by 1.5mm than the ideal situation. Initially, the label transmission length command L5 is set to be consistent with the set length of a single label, that is, L5=L2=22mm, and the actual label transmission length L is 0mm.

第一过程:这一过程即传感器5的结尾线在Amin和Amax之间的区间内,认为传感器5的信号有效。边往传送电机发送脉冲边检测传感器5的信号,当检测到传感器5信号的上升沿时,即传感器检测到标签的标记线时,在实际情况下,一共往传送电机发送了30个脉冲,标签带往前送了0.5mm。The first process: In this process, the end line of the sensor 5 is in the interval between Amin and Amax, and the signal of the sensor 5 is considered valid. Detect the signal of sensor 5 while sending pulses to the conveying motor. When the rising edge of the signal of sensor 5 is detected, that is, when the sensor detects the marking line of the label, in the actual situation, a total of 30 pulses are sent to the conveying motor. The belt was sent forward by 0.5mm.

传感器检测到标签的标记线时,实际标签传送长度L值为0.5mm,由于检测到传感器5信号的上升沿,将更新标签传送长度指令为L5=L1-L2*(N-1)+L=45-22*(2-1)+0.5=23.5mm。When the sensor detects the marking line of the label, the actual label transmission length L is 0.5mm. Since the rising edge of the sensor 5 signal is detected, the command to update the label transmission length is L5=L1-L2*(N-1)+L= 45-22*(2-1)+0.5=23.5mm.

传感器检测到标签的标记线时,标签位置如图7B所示。When the sensor detects the marking line of the label, the label position is shown in Figure 7B.

第二过程:在这一过程中,认为传感器5的信号无效。当实际标签传送长度L值与更新后的标签传送长度指令为L5=23.5mm相同时,结束此过程。Second process: In this process, the signal of the sensor 5 is considered invalid. When the actual label transmission length L value is the same as the updated label transmission length command L5=23.5mm, the process ends.

这一过程结束时,将不再往传送电机发送脉冲,停止标签的传送,并实现标签的剪切操作,此时标签实际位置如图7C中的实际情况。At the end of this process, no more pulses will be sent to the conveying motor, the conveying of the label will be stopped, and the cutting operation of the label will be realized. At this time, the actual position of the label is shown in the actual situation in Figure 7C.

这些过程后,下一个标签的初始位置已经正确。After these processes, the initial position of the next label is already correct.

如果不引入Amin和Amax区间进行标记线的判断,将会出现特殊情况1的情况,由于初始时设置标签传送长度指令为22mm,在Bmin和Bmax内无法检测到标记线,之后的每一次传送剪切都会报故障。If the Amin and Amax intervals are not introduced to judge the marking line, there will be special case 1. Since the label transmission length command is initially set to 22mm, the marking line cannot be detected within Bmin and Bmax. Everything will fail.

综上所述,本申请所述方法可以自动识别并修正标签传输的累计误差,实时的进行位置偏差的校正补偿,可以保证裁剪位置的精确,提高裁剪速度和产品缝制质量,降低了工人的工作量,提高了工作效率;自适应性强,不但可以缝制不同尺码和款式的标签,还可以应用于其他定位的扑捉,如领标等。To sum up, the method described in this application can automatically identify and correct the cumulative error of label transmission, and perform real-time correction and compensation of positional deviation, which can ensure the accuracy of the cutting position, improve the cutting speed and product sewing quality, and reduce the labor cost of workers. The workload is improved, and the work efficiency is improved; the adaptability is strong, not only can sew labels of different sizes and styles, but also can be applied to capture other positioning, such as collar labels, etc.

如图8所示,展示本申请于一实施例中的标签剪裁控制装置的模块示意图,如图所示,所述装置800包括:预设模块801、及处理模块802。As shown in FIG. 8 , a schematic block diagram of a label cutting control apparatus in an embodiment of the present application is shown. As shown in the figure, the apparatus 800 includes a preset module 801 and a processing module 802 .

所述预设模块801,用于依据单个标签长度预设初始送标长度指令。The presetting module 801 is used for presetting an initial label feeding length instruction according to the length of a single label.

所述处理模块802,用于根据所述初始送标长度指令向传送电机发送相应数量脉冲,以令其将包含多个标签的标签带沿送标方向传送;当感应器检测到标签带上两相邻标签之间的标记线时,统计已发送脉冲的数量得到实际送标长度并计算出实际送标长度指令,以令所述传送电机在将标签带沿送标方向共传送了所述实际送标长度指令对应的距离时中断向其发送脉冲;在所述传传送电机中断时令标签剪裁装置对所述标签带进行剪裁,同时将已发送脉冲的数量清零,并将所述实际送标长度指令作为所述初始送标长度指令重复前述步骤。The processing module 802 is configured to send a corresponding number of pulses to the conveying motor according to the initial label feeding length command, so that it transmits the label tape containing multiple labels along the label feeding direction; When marking the line between adjacent labels, count the number of sent pulses to obtain the actual label feeding length and calculate the actual label feeding length command, so that the conveying motor transmits the actual label tape along the label feeding direction. When the distance corresponding to the length command of the label is sent, the sending of pulses is interrupted; when the transmission motor is interrupted, the label cutting device is ordered to cut the label tape, and at the same time, the number of sent pulses is cleared, and the actual label is sent. The length command is used as the initial feed length command to repeat the foregoing steps.

可以理解的是,所述标签剪裁控制装置400通过各模块的运行,能够实现如图1所述的标签剪裁控制方法。It can be understood that the label cutting control device 400 can implement the label cutting control method as described in FIG. 1 through the operation of each module.

需要说明的是,应理解以上装置的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块通过处理元件调用软件的形式实现,部分模块通过硬件的形式实现。例如处理模块802可以为单独设立的处理元件,也可以集成在上述装置的某一个芯片中实现,此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上处理模块802的功能。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that it should be understood that the division of each module of the above apparatus is only a division of logical functions, and may be fully or partially integrated into a physical entity in actual implementation, or may be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also all be implemented in hardware; some modules can also be implemented in the form of calling software through processing elements, and some modules can be implemented in hardware. For example, the processing module 802 may be a separately established processing element, or it may be integrated into a certain chip of the above-mentioned apparatus to realize, in addition, it may also be stored in the memory of the above-mentioned apparatus in the form of program code, and a certain processing element of the above-mentioned apparatus may The functions of the above processing module 802 are called and executed. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, and can also be implemented independently. The processing element described here may be an integrated circuit with signal processing capability. In the implementation process, each step of the above-mentioned method or each of the above-mentioned modules can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.

例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,简称ASIC),或,一个或多个微处理器(digital signal processor,简称DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,简称FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,简称CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,简称SOC)的形式实现。For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), or one or more microprocessors ( digital signal processor, referred to as DSP), or, one or more Field Programmable Gate Array (Field Programmable Gate Array, referred to as FPGA) and the like. For another example, when one of the above modules is implemented in the form of processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU for short) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC for short).

如图9所示,展示本申请于一实施例中的标签剪裁控制设备的结构示意图,如图所示,所述设备900包括:存储器901、处理器902、及通信器903。所述存储器901存储有计算机程序,所述处理器902执行所述计算机程序实现如图1所述的标签剪裁控制方法;所述通信器903通信连接感应器、传送电机、及标签剪裁装置。As shown in FIG. 9 , a schematic structural diagram of a label cutting control device in an embodiment of the present application is shown. As shown in the figure, the device 900 includes: a memory 901 , a processor 902 , and a communicator 903 . The memory 901 stores a computer program, and the processor 902 executes the computer program to implement the label trimming control method as shown in FIG. 1 ; the communicator 903 is communicatively connected to the sensor, the transmission motor, and the label trimming device.

于本实施例中,当感应器感应到所述纯色区域时,则生成下降沿;当感应器感应到所述标记线时,则生成上升沿。In this embodiment, when the sensor senses the solid color area, a falling edge is generated; when the sensor senses the marking line, a rising edge is generated.

于本实施例中,所述传送电机用于带动标签带的传送;所述标签剪裁装置用于剪切标签。In this embodiment, the conveying motor is used to drive the conveying of the label tape; the label cutting device is used to cut the label.

于本实施例中,所述标签剪裁控制设备900结合所述感应器、传送电机、及标签剪裁装置,以构成如图1中所述标的签剪裁控制方法所适用的标签剪裁控制系统。In this embodiment, the label cutting control device 900 combines the sensor, the transmission motor, and the label cutting device to form a label cutting control system applicable to the label cutting control method as described in FIG. 1 .

所述存储器901可能包含随机存取存储器(Random Access Memory,简称RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 901 may include random access memory (Random Access Memory, RAM for short), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.

所述处理器902可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application SpecificIntegrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The processor 902 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; it may also be a digital signal processor (Digital Signal Processing, DSP for short) ), Application Specific Integrated Circuit (ASIC for short), Field-Programmable Gate Array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

所述通信器903用于实现其他设备(例如客户端、控制器、读写库和只读库)之间的通信连接。其可包含一组或多组不同通信方式的模块。所述通信连接可以是一个或多个有线/无线通讯方式及其组合。通信方式包括:互联网、CAN、内联网、广域网(WAN)、局域网(LAN)、无线网络、数字用户线(DSL)网络、帧中继网络、异步传输模式(ATM)网络、虚拟专用网络(VPN)和/或任何其它合适的通信网络中的任何一个或多个。例如:WIFI、蓝牙、NFC、GPRS、GSM、及以太网中任意一种及多种组合。The communicator 903 is used to realize the communication connection between other devices (eg client, controller, read-write library and read-only library). It may contain one or more groups of modules that communicate in different ways. The communication connection may be one or more wired/wireless communication means and combinations thereof. Communication methods include: Internet, CAN, intranet, wide area network (WAN), local area network (LAN), wireless network, digital subscriber line (DSL) network, frame relay network, asynchronous transfer mode (ATM) network, virtual private network (VPN) ) and/or any one or more of any other suitable communication networks. For example: any one or a combination of WIFI, Bluetooth, NFC, GPRS, GSM, and Ethernet.

于本申请的一实施例中,一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如图1所述的标签剪裁控制方法。In an embodiment of the present application, a computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, implements the label trimming control method described in FIG. 1 .

所述计算机可读存储介质,本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过计算机程序相关的硬件来完成。前述的图像处理程序可以存储于一计算机可读存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。For the computer-readable storage medium, those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to computer programs. The aforementioned image processing program may be stored in a computer-readable storage medium. When the program is executed, the steps including the above method embodiments are executed; and the foregoing storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

这些计算机程序程序也可装载到计算机或其他可编程数据处理设备上,使在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program programs can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带式磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, tape-based disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

综上所述,本申请提供一种标签剪裁控制方法及其装置、设备和存储介质,通过依据单个标签长度预设初始送标长度指令;根据所述初始送标长度指令向传送电机发送相应数量脉冲,以令其将包含多个标签的标签带沿送标方向传送;当感应器检测到标签带上两相邻标签之间的标记线时,统计已发送脉冲的数量得到实际送标长度并计算出实际送标长度指令,以令所述传送电机在将标签带沿送标方向共传送了所述实际送标长度指令对应的距离时中断向其发送脉冲;在所述传传送电机中断时令标签剪裁装置对所述标签带进行剪裁,同时将已发送脉冲的数量清零,并将所述实际送标长度指令作为所述初始送标长度指令重复上述步骤。To sum up, the present application provides a label cutting control method, device, equipment and storage medium, by presetting an initial label feeding length command according to the length of a single label; sending a corresponding quantity to a conveying motor according to the initial label feeding length command Pulse, so that it will send the label tape containing multiple labels along the label feeding direction; when the sensor detects the marking line between two adjacent labels on the label tape, count the number of sent pulses to obtain the actual label feeding length and Calculate the actual label feeding length command, so that the conveying motor interrupts sending pulses to it when the label tape has transmitted the distance corresponding to the actual label feeding length command along the label feeding direction; when the conveying motor is interrupted, the The label cutting device cuts the label tape, at the same time clears the number of sent pulses, and repeats the above steps with the actual label feed length command as the initial label feed length command.

本申请有效克服了现有技术中的种种缺点而具高度产业利用价值。The present application effectively overcomes various shortcomings in the prior art and has high industrial application value.

上述实施例仅例示性说明本申请的原理及其功效,而非用于限制本申请。任何熟悉此技术的人士皆可在不违背本申请的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本申请所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本申请的权利要求所涵盖。The above-mentioned embodiments merely illustrate the principles and effects of the present application, but are not intended to limit the present application. Anyone skilled in the art can make modifications or changes to the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical idea disclosed in this application should still be covered by the claims of this application.

Claims (10)

1. a kind of label cuts out control method, which is characterized in that be applied to including inductor, label cutting device and transmission electricity The label of machine cuts out control system, which comprises
S1, it is preset according to single tag length and initially send mark length instruction;
S2, initially mark length instruction is sent to send respective numbers pulse to transport motor according to described, will will include multiple marks to enable it Send the transmission of mark direction in the label tape edge of label;
S3, when inductor detects the mark line on label tape between two adjacent labels, statistics has sent the quantity of pulse and has obtained Mark length instruction is actually sent to actually sending mark length and calculating, to enable the transport motor send mark direction to be total on label tape edge Transfer it is described actually send mark length instruction it is corresponding apart from when interrupt be sent to it pulse;
S4, the label tape is cut out in biography transport motor interruption seasonal label cutting device, while will sent The zeroing number of pulse, and actually send mark length instruction initially to send mark length instruction to repeat step S2-S3 as described for described.
2. label according to claim 1 cuts out control method, which is characterized in that described actually to send described in mark length instruction Actually send mark length instruction calculation method include:
It is described actually to send mark length instruction=L1-L2*N+L;
Wherein, the length L1 between the label cutting device and the inductor;The single tag length L2;The reality Send mark length L;N=L1/L2, and N takes and obtains integer by the method for truncating.
3. label according to claim 1 cuts out control method, which is characterized in that on the label tape two adjacent labels it Between the two sides of mark line be respectively provided with the solid color regions of one fixed width.
4. label according to claim 3 cuts out control method, which is characterized in that the inductor detects on label tape The method of mark line between two adjacent labels includes:
When inductor senses the solid color regions, then failing edge is generated;When inductor senses the mark line, then give birth to At rising edge.
5. label according to claim 2 cuts out control method, which is characterized in that on the label tape two adjacent labels it Between the two sides of mark line be respectively provided with the solid color regions of one fixed width;The default opposite direction for sending mark direction is X-direction, It is 0 coordinate that the corresponding ending line of inductor, which is mapped in the point on the label tape, when the transport motor starts or when interrupting; The solid color regions coordinate on the preceding mark line of the corresponding label of 0 coordinate, Ji Houhou mark line is respectively as follows:
The preceding preceding solid color regions coordinate of mark line: Amin=L2*N-L1-L3;
Solid color regions coordinate after preceding mark line: Amax=L2*N-L1+L4;
The preceding solid color regions coordinate of mark line afterwards: Bmin=L2* (N+1)-L1-L3;
Solid color regions coordinate after mark line afterwards: Bmax=L2* (N+1)-L1+L4;
Wherein, L3 is width distance before mark line;L4 is width distance after mark line;N=L1/L2, and N takes and obtains by the method for truncating Integer.
6. label according to claim 5 cuts out control method, which is characterized in that the meter for actually sending mark length instruction Calculation method further include:
Judge 0 coordinate whether within the scope of Amin-Amax;
If within the scope of Amin-Amax, when the inductor detects the mark line on label tape between two adjacent labels, The border is enabled to send mark length instruction=L1-L2* (N-1)+L;
If judging 0 coordinate whether in Bmin-Bmax range not within the scope of Amin-Amax;
If in Bmin-Bmax range, when the inductor detects the mark line on label tape between two adjacent labels, The border is enabled to send mark length instruction=L1-L2*N+L.
7. label according to claim 1 cuts out control method, which is characterized in that the method also includes: primary complete It is whole send mark during, if the mark line is not detected, continue according to it is described set initially send mark length instruction send mark and It cuts out, and prompts failure at the end of this shearing operation.
8. a kind of label cuts out control device, which is characterized in that described device includes:
The presetting module initially send mark length instruction for presetting according to single tag length;
The processing module, for initially mark length instruction being sent to send respective numbers pulse to transport motor according to described, to enable It send the label tape edge comprising multiple labels to the transmission of mark direction;When inductor detects on label tape between two adjacent labels When mark line, statistics sent pulse quantity it is practical sent mark length and calculate and actually send mark length instruction, to enable State transport motor by label tape along send mark direction transfer altogether it is described actually send mark length instruction it is corresponding apart from when interrupt to It sends pulse;It interrupts seasonal label cutting device in the biography transport motor to be cut out the label tape, while will The zeroing number of pulse is sent, and actually send mark length instruction initially to send mark length instruction to repeat aforementioned step as described for described Suddenly.
9. a kind of label cuts out control equipment, which is characterized in that the equipment includes: memory, processor and communicator;
The memory is stored with computer program, and the processor executes the computer program and realizes such as claim 1-7 Any one of described in label cut out control method;The communicator communication connection inductor, transport motor and label are cut out Device.
10. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program quilt Realize that label described in any one of claim 1-7 cuts out control method when processor executes.
CN201910209600.1A 2019-03-19 2019-03-19 Label cutting control method and device, equipment and storage medium thereof Active CN109972306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910209600.1A CN109972306B (en) 2019-03-19 2019-03-19 Label cutting control method and device, equipment and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910209600.1A CN109972306B (en) 2019-03-19 2019-03-19 Label cutting control method and device, equipment and storage medium thereof

Publications (2)

Publication Number Publication Date
CN109972306A true CN109972306A (en) 2019-07-05
CN109972306B CN109972306B (en) 2021-11-30

Family

ID=67079513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910209600.1A Active CN109972306B (en) 2019-03-19 2019-03-19 Label cutting control method and device, equipment and storage medium thereof

Country Status (1)

Country Link
CN (1) CN109972306B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114800659A (en) * 2022-04-21 2022-07-29 环盛智能(深圳)有限公司 Continuous cutting method, device and system for coiled material of film cutting machine and medium
CN115346286A (en) * 2022-07-01 2022-11-15 中体彩印务技术有限公司 Monitoring method and system for paper processing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4722291A (en) * 1985-02-08 1988-02-02 Tokyo Juki Industrial Co., Ltd. Apparatus for automatically adjusting the stitch pitch of a sewing machine
US5373762A (en) * 1992-02-14 1994-12-20 Kabushikikaisha Barudan Method of cutting label tapes
US20020129753A1 (en) * 2001-03-15 2002-09-19 Andree Cramer Method of sewing supplementary parts on a workpiece
CN203890649U (en) * 2014-06-25 2014-10-22 广州科祺自动化设备有限公司 Identification aligning mechanism and elastic sewing machine
CN207176242U (en) * 2017-09-25 2018-04-03 杰克缝纫机股份有限公司 A kind of automation equipment of sewing clothing label
CN108823839A (en) * 2018-06-12 2018-11-16 杰克缝纫机股份有限公司 A kind of overseam trimming control method and structure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4722291A (en) * 1985-02-08 1988-02-02 Tokyo Juki Industrial Co., Ltd. Apparatus for automatically adjusting the stitch pitch of a sewing machine
US5373762A (en) * 1992-02-14 1994-12-20 Kabushikikaisha Barudan Method of cutting label tapes
US20020129753A1 (en) * 2001-03-15 2002-09-19 Andree Cramer Method of sewing supplementary parts on a workpiece
CN203890649U (en) * 2014-06-25 2014-10-22 广州科祺自动化设备有限公司 Identification aligning mechanism and elastic sewing machine
CN207176242U (en) * 2017-09-25 2018-04-03 杰克缝纫机股份有限公司 A kind of automation equipment of sewing clothing label
CN108823839A (en) * 2018-06-12 2018-11-16 杰克缝纫机股份有限公司 A kind of overseam trimming control method and structure

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114800659A (en) * 2022-04-21 2022-07-29 环盛智能(深圳)有限公司 Continuous cutting method, device and system for coiled material of film cutting machine and medium
CN114800659B (en) * 2022-04-21 2024-05-31 环盛智能(深圳)有限公司 Coiled material continuous cutting method, device, system and medium of film cutting machine
CN115346286A (en) * 2022-07-01 2022-11-15 中体彩印务技术有限公司 Monitoring method and system for paper processing
CN115346286B (en) * 2022-07-01 2024-01-09 中体彩印务技术有限公司 Paper processing monitoring method and system

Also Published As

Publication number Publication date
CN109972306B (en) 2021-11-30

Similar Documents

Publication Publication Date Title
US10814516B1 (en) On demand apparel panel cutting
CN109972306A (en) Label trimming control method and device, device and storage medium thereof
CN110039916B (en) Printing quality detection method, computer device, and computer-readable storage medium
CN113127666B (en) Continuous frame data labeling system, method and device
JP2010235159A (en) Input device of film packaging machine
JP7639206B2 (en) Packaging Machine
CN103552288A (en) Corrugated paper industry production control system and method
CN107838997A (en) A kind of colour code method for tracing, apparatus and system
CN207524116U (en) A fully automatic high-precision online printing and labeling machine
CN109014590B (en) Laser etching super-breadth free splicing processing method
WO2021251259A1 (en) Workpiece unloading device
JP2006007333A (en) Punching device
CN201626167U (en) Feed system used for printing machines
JP2015048189A (en) Conveyance system
CN203592751U (en) Telecontroller arc-shaped plastic panel automatic laminating machine
CN103507106B (en) Die-cutting machine chase after color control method
CN212238699U (en) A Robotic Bending System with Fault Tolerance
CN111017357B (en) Label pasting control method and device and computer readable storage medium
CN115285450B (en) Particle packaging machine label matching method and system, particle packaging machine and storage medium
CN111653505A (en) Frame state management method and system in IC packaging chip mounting process
CN104526050A (en) Cutting system and application method thereof
JP2020111356A (en) Measurement control device, packaging device having measurement control device mounted thereon, and measurement control method
CN220199827U (en) Cutting device and removing device for wrapping paper on label paper
CN111231307A (en) A method for smoothing the track by different positioning methods
CN116433623B (en) Defect position marking and identifying method, system, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 318010 No. 1008, east section of Donghai Avenue, Sanjia, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Jack Technology Co.,Ltd.

Address before: 318010 No. 15 Airport South Road, Jiaojiang District, Zhejiang, Taizhou

Patentee before: JACK SEWING MACHINE Co.,Ltd.

CP03 Change of name, title or address