[go: up one dir, main page]

CN115027723B - An online control method and system for a six-sided facelift device and a packaging machine - Google Patents

An online control method and system for a six-sided facelift device and a packaging machine Download PDF

Info

Publication number
CN115027723B
CN115027723B CN202210732365.8A CN202210732365A CN115027723B CN 115027723 B CN115027723 B CN 115027723B CN 202210732365 A CN202210732365 A CN 202210732365A CN 115027723 B CN115027723 B CN 115027723B
Authority
CN
China
Prior art keywords
shutdown signal
face
sided
relay
signal 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.)
Active
Application number
CN202210732365.8A
Other languages
Chinese (zh)
Other versions
CN115027723A (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.)
China Tobacco Hubei Industrial Co Ltd
Original Assignee
China Tobacco Hubei Industrial 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 China Tobacco Hubei Industrial Co Ltd filed Critical China Tobacco Hubei Industrial Co Ltd
Priority to CN202210732365.8A priority Critical patent/CN115027723B/en
Publication of CN115027723A publication Critical patent/CN115027723A/en
Application granted granted Critical
Publication of CN115027723B publication Critical patent/CN115027723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B19/00Packaging rod-shaped or tubular articles susceptible to damage by abrasion or pressure, e.g. cigarettes, cigars, macaroni, spaghetti, drinking straws or welding electrodes
    • B65B19/02Packaging cigarettes
    • B65B19/04Arranging, feeding, or orientating the cigarettes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B19/00Packaging rod-shaped or tubular articles susceptible to damage by abrasion or pressure, e.g. cigarettes, cigars, macaroni, spaghetti, drinking straws or welding electrodes
    • B65B19/28Control devices for cigarette or cigar packaging machines
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B19/00Packaging rod-shaped or tubular articles susceptible to damage by abrasion or pressure, e.g. cigarettes, cigars, macaroni, spaghetti, drinking straws or welding electrodes
    • B65B19/28Control devices for cigarette or cigar packaging machines
    • B65B19/30Control devices for cigarette or cigar packaging machines responsive to presence of faulty articles, e.g. incorrectly filled cigarettes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Wrapping Of Specific Fragile Articles (AREA)

Abstract

The method comprises the steps of receiving a shutdown signal sent by the six-sided cosmetic device, and then controlling a first relay to be in a power-off state when the shutdown signal sent by the six-sided cosmetic device is detected to be a first shutdown signal; and then controlling the servo motor of the six-face-lifting device to be in a working state based on the power-off state of the first relay so as to discharge the cigarettes to be processed according to the first direction. The servo motor is in a working state by controlling the state of the relay, so that cigarettes to be processed can be discharged by the servo motor when the six-face-lifting device is abnormally stopped, the cigarette blockage can be effectively avoided, and the production efficiency is improved.

Description

一种用于六面整容装置以及包装机的联机控制方法及系统An online control method and system for a six-sided facelift device and a packaging machine

技术领域technical field

本申请属于卷烟机械设备技术领域,特别的涉及一种用于六面整容装置以及包装机的联机控制方法及系统。The application belongs to the technical field of cigarette machinery and equipment, and in particular relates to an online control method and system for a six-face cosmetic device and a packaging machine.

背景技术Background technique

在当前卷烟行业的包装机中大量使用了六面整容装置,该六面整容装置的原程序控制中未将六面整容装置与提升机关联起来,只将六面整容的停机信号串联进包装机的下游机停机信号控制回路。当六面整容装置和下游提升机任一部分停机时,都会给包装机发出下游机停机的信号关停包装机辅机,此时六面整容装置控制程序收到包装机的停机信号,执行自动排空程序,将烙铁下的条烟继续排出。A large number of six-face plastic surgery devices are used in the packaging machines of the current cigarette industry. In the original program control of the six-surface plastic surgery device, the six-surface plastic surgery device was not associated with the hoist, and only the shutdown signal of the six-face plastic surgery was connected in series to the packaging machine. Downstream machine shutdown signal control loop. When any part of the six-sided cosmetic device and the downstream hoist stops, it will send a signal to the packaging machine to stop the downstream machine to shut down the auxiliary machine of the packaging machine. At this time, the control program of the six-sided cosmetic device receives the shutdown signal of the packaging machine and performs automatic discharge. Empty program, continue to discharge the smoke under the soldering iron.

由于设备实际情况,当提升机或六面整容装置因故障所导致停机时,继续排烟会导致条烟堵塞,产生大量废品,进而影响生产效率。Due to the actual situation of the equipment, when the hoist or the six-sided cosmetic device is shut down due to failure, continuing to exhaust smoke will lead to blockage of smoke, resulting in a large amount of waste products, which will affect production efficiency.

发明内容Contents of the invention

本发明为解决上述提到的当提升机或六面整容装置因故障所导致停机时,继续排烟会导致条烟堵塞,产生大量废品,进而影响生产效率等问题,提出一种用于六面整容装置以及包装机的联机控制方法及系统,其技术方案如下:In order to solve the above-mentioned problem that when the hoist or the six-face cosmetic device is shut down due to failure, continuing to exhaust smoke will lead to blockage of smoke, a large amount of waste products will be generated, and the production efficiency will be affected. The online control method and system of cosmetic device and packaging machine, its technical scheme is as follows:

第一方面,本申请实施例提供了一种用于六面整容装置以及包装机的联机控制方法,方法应用于包装机,包装机与六面整容装置连接,方法包括:In the first aspect, the embodiment of the present application provides an online control method for a six-sided plastic surgery device and a packaging machine. The method is applied to a packaging machine, and the packaging machine is connected to a six-sided plastic surgery device. The method includes:

接收六面整容装置发出的停机信号;Receive the stop signal sent by the six-sided cosmetic device;

当检测到六面整容装置发出的停机信号为第一停机信号时,控制第一继电器处于断电状态;When it is detected that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal, the first relay is controlled to be in a power-off state;

基于第一继电器的断电状态控制六面整容装置的伺服电机处于工作状态,以使待处理卷烟按照第一方向排出。Based on the power-off state of the first relay, the servo motor of the six-sided facelifting device is controlled to be in the working state, so that the cigarettes to be treated are discharged in the first direction.

在第一方面的一种可选方案中,在当检测到六面整容装置发出的停机信号为第一停机信号时,控制第一继电器处于断电状态之前,还包括:In an optional solution of the first aspect, before controlling the first relay to be in a power-off state when it is detected that the shutdown signal sent by the six-face cosmetic device is the first shutdown signal, the method further includes:

判断六面整容装置发出的停机信号的频率是否处于预设频率区间;Judging whether the frequency of the stop signal sent by the six-sided cosmetic device is within the preset frequency range;

当六面整容装置发出的停机信号的频率处于预设频率区间时,确定六面整容装置发出的停机信号为第一停机信号;和/或When the frequency of the shutdown signal sent by the six-sided plastic surgery device is within the preset frequency range, determine that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal; and/or

判断六面整容装置发出的停机信号的幅值是否处于预设幅值区间;Judging whether the amplitude of the shutdown signal sent by the six-sided plastic surgery device is within the preset amplitude range;

当六面整容装置发出的停机信号的幅值处于预设幅值区间时,确定六面整容装置发出的停机信号为第一停机信号。When the amplitude of the stop signal sent by the six-sided facelift device is within the preset amplitude range, the stop signal sent by the six-face facelift device is determined to be the first stop signal.

在第一方面的又一种可选方案中,基于第一继电器的断电状态控制六面整容装置的伺服电机处于工作状态,以使待处理卷烟按照第一方向排出,包括:In yet another alternative solution of the first aspect, controlling the servo motor of the six-sided facelifting device to be in the working state based on the power-off state of the first relay, so that the cigarettes to be treated are discharged in the first direction, including:

当第一继电器处于断电状态时,控制第二继电器处于通电状态;When the first relay is in the power-off state, control the second relay to be in the power-on state;

基于第二继电器的通电状态控制设置在六面整容装置的伺服电机与电源端之间的第一开关触点处于导通状态,以使六面整容装置的伺服电机处于工作状态;Based on the energized state of the second relay, the first switch contact arranged between the servo motor of the six-sided facelift device and the power supply end is controlled to be in a conduction state, so that the servo motor of the six-face facelift device is in a working state;

当六面整容装置的伺服电机处于工作状态时,控制第三继电器在预设时间间隔内处于通电状态;When the servo motor of the six-sided plastic surgery device is in working condition, control the third relay to be in the energized state within the preset time interval;

基于第三继电器的通电状态控制待处理卷烟按照第一方向排出。Based on the energized state of the third relay, the cigarettes to be treated are controlled to be discharged in the first direction.

在第一方面的又一种可选方案中,基于第三继电器的通电状态控制待处理卷烟按照第一方向排出,包括:In yet another alternative solution of the first aspect, controlling the untreated cigarettes to be discharged in the first direction based on the energized state of the third relay includes:

当第三继电器处于通电状态时,控制设置在电源端以及电磁阀之间的第二开关触点处于导通状态,以使电磁阀处于工作状态;其中,电磁阀设置在六面整容装置的剔除口处;When the third relay is in the energized state, the second switch contact arranged between the power supply end and the solenoid valve is controlled to be in the conduction state, so that the solenoid valve is in the working state; Mouth;

当电磁阀处于工作状态时,控制待处理卷烟按照第一方向从六面整容装置的剔除口处排出。When the electromagnetic valve is in the working state, the cigarettes to be treated are controlled to be discharged from the rejecting port of the six-face cosmetic device according to the first direction.

在第一方面的又一种可选方案中,在基于第二继电器的通电状态控制设置在六面整容装置的伺服电机与电源端之间的第一开关触点处于导通状态之后,还包括:In yet another alternative solution of the first aspect, after controlling the first switch contact arranged between the servo motor and the power supply terminal of the six-face cosmetic device to be in a conducting state based on the energized state of the second relay, further comprising: :

当六面整容装置的伺服电机处于工作状态时,控制六面整容装置的伺服电机在预设第一时间段内处于第一转速;When the servo motor of the six-face cosmetic device is in working condition, the servo motor for controlling the six-face cosmetic device is at a first rotational speed within a preset first time period;

当六面整容装置的伺服电机处于第一转速的时长达到预设第一时间段时,控制六面整容装置的伺服电机由第一转速调整为第二转速;其中,第一转速小于第二转速。When the time length of the servo motor of the six-sided plastic surgery device at the first rotational speed reaches the preset first time period, the servo motor of the six-sided plastic surgery device is controlled to be adjusted from the first rotational speed to the second rotational speed; wherein, the first rotational speed is less than the second rotational speed .

在第一方面的又一种可选方案中,在接收六面整容装置发出的停机信号之后,还包括:In yet another optional solution of the first aspect, after receiving the shutdown signal from the six-sided cosmetic device, it further includes:

当检测到六面整容装置发出的停机信号为第二停机信号时,控制第一继电器处于通电状态;When it is detected that the stop signal sent by the six-sided plastic surgery device is the second stop signal, the first relay is controlled to be in an energized state;

基于第一继电器控制待处理卷烟按照第二方向排出;其中,第一方向与第二方向相反。The cigarettes to be processed are controlled to be discharged in a second direction based on the first relay; wherein, the first direction is opposite to the second direction.

在第一方面的又一种可选方案中,接收六面整容装置发出的停机信号,还包括:In yet another optional solution of the first aspect, receiving the shutdown signal sent by the six-sided cosmetic device also includes:

当六面整容装置发出的停机信号的频率未处于预设频率区间时,确定六面整容装置发出的停机信号为第二停机信号;和/或When the frequency of the shutdown signal sent by the six-sided cosmetic device is not in the preset frequency range, determine that the shutdown signal sent by the six-sided cosmetic device is the second shutdown signal; and/or

当六面整容装置发出的停机信号的幅值未处于预设幅值区间时,确定六面整容装置发出的停机信号为第二停机信号。When the magnitude of the stop signal sent by the six-sided facelift device is not within the preset amplitude range, the stop signal sent by the six-face facelift device is determined to be the second stop signal.

第二方面,本申请实施例提供了一种用于六面整容装置以及包装机的联机控制系统,系统应用于包装机,包装机与六面整容装置连接,系统包括:In the second aspect, the embodiment of the present application provides an online control system for a six-sided plastic surgery device and a packaging machine. The system is applied to a packaging machine, and the packaging machine is connected to the six-sided plastic surgery device. The system includes:

信号接收模块,用于接收六面整容装置发出的停机信号;The signal receiving module is used to receive the shutdown signal sent by the six-sided cosmetic device;

第一控制模块,用于当检测到六面整容装置发出的停机信号为第一停机信号时,控制第一继电器处于断电状态;The first control module is used to control the first relay to be in a power-off state when it is detected that the stop signal sent by the six-sided cosmetic device is the first stop signal;

第二控制模块,用于基于第一继电器的断电状态控制六面整容装置的伺服电机处于工作状态,以使待处理卷烟按照第一方向排出。The second control module is used to control the servo motor of the six-sided facelifting device to be in the working state based on the power-off state of the first relay, so that the cigarettes to be treated are discharged in the first direction.

在第二方面的一种可选方案中,信号接收模块包括:In an optional solution of the second aspect, the signal receiving module includes:

第一判断单元,用于接收六面整容装置发出的停机信号,并判断六面整容装置发出的停机信号的频率是否处于预设频率区间;The first judging unit is used to receive the shutdown signal sent by the six-sided plastic surgery device, and judge whether the frequency of the shutdown signal sent by the six-sided plastic surgery device is within a preset frequency range;

第一确定单元,用于当六面整容装置发出的停机信号的频率处于预设频率区间时,确定六面整容装置发出的停机信号为第一停机信号;和/或The first determination unit is configured to determine that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal when the frequency of the shutdown signal sent by the six-sided plastic surgery device is within a preset frequency range; and/or

第二判断单元,用于接收六面整容装置发出的停机信号,并判断六面整容装置发出的停机信号的幅值是否处于预设幅值区间;The second judging unit is used to receive the shutdown signal sent by the six-sided plastic surgery device, and judge whether the amplitude of the shutdown signal sent by the six-sided plastic surgery device is within a preset amplitude range;

第二确定单元,用于当六面整容装置发出的停机信号的幅值处于预设幅值区间时,确定六面整容装置发出的停机信号为第一停机信号。The second determining unit is configured to determine that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal when the amplitude of the shutdown signal sent by the six-sided plastic surgery device is within a preset amplitude range.

在第二方面的又一种可选方案中,第二控制模块包括:In yet another optional solution of the second aspect, the second control module includes:

第一控制单元,用于当第一继电器处于断电状态时,控制第二继电器处于通电状态;The first control unit is configured to control the second relay to be in the power-on state when the first relay is in the power-off state;

第二控制单元,用于基于第二继电器的通电状态控制设置在六面整容装置的伺服电机与电源端之间的第一开关触点处于导通状态,以使六面整容装置的伺服电机处于工作状态;The second control unit is used to control the first switch contact arranged between the servo motor and the power supply end of the six-sided facelift device to be in a conducting state based on the power-on state of the second relay, so that the servo motor of the six-face facelift device is in a conducting state working status;

第三控制单元,用于当六面整容装置的伺服电机处于工作状态时,控制第三继电器在预设时间间隔内处于通电状态;The third control unit is used to control the third relay to be energized within a preset time interval when the servo motor of the six-face plastic surgery device is in the working state;

第四控制单元,用于基于第三继电器的通电状态控制待处理卷烟按照第一方向排出。The fourth control unit is configured to control the untreated cigarettes to be discharged in the first direction based on the energized state of the third relay.

在第二方面的又一种可选方案中,第四控制单元具体用于:In yet another optional solution of the second aspect, the fourth control unit is specifically used for:

当第三继电器处于通电状态时,控制设置在电源端以及电磁阀之间的第二开关触点处于导通状态,以使电磁阀处于工作状态;其中,电磁阀设置在六面整容装置的剔除口处;When the third relay is in the energized state, the second switch contact arranged between the power supply end and the solenoid valve is controlled to be in the conduction state, so that the solenoid valve is in the working state; Mouth;

当电磁阀处于工作状态时,控制待处理卷烟按照第一方向从六面整容装置的剔除口处排出。When the electromagnetic valve is in the working state, the cigarettes to be treated are controlled to be discharged from the rejecting port of the six-face cosmetic device according to the first direction.

在第二方面的又一种可选方案中,第二控制模块还包括:In yet another optional solution of the second aspect, the second control module further includes:

第五控制单元,用于当六面整容装置的伺服电机处于工作状态时,控制六面整容装置的伺服电机在预设第一时间段内处于第一转速;The fifth control unit is used to control the servo motor of the six-face cosmetic device to be at a first rotational speed within a preset first time period when the servo motor of the six-face cosmetic device is in a working state;

第六控制单元,用于当六面整容装置的伺服电机处于第一转速的时长达到预设第一时间段时,控制六面整容装置的伺服电机由第一转速调整为第二转速;其中,第一转速小于第二转速。The sixth control unit is used to control the servo motor of the six-face facelift device to adjust from the first speed to the second speed when the servo motor of the six-face facelift device is at the first speed for a preset first time period; wherein, The first rotational speed is less than the second rotational speed.

在第二方面的又一种可选方案中,装置还包括:In yet another optional solution of the second aspect, the device further includes:

第三控制模块,用于在接收六面整容装置发出的停机信号之后,当检测到六面整容装置发出的停机信号为第二停机信号时,控制第一继电器处于通电状态;The third control module is used to control the first relay to be in an energized state when it is detected that the shutdown signal sent by the six-sided plastic surgery device is the second shutdown signal after receiving the shutdown signal sent by the six-sided plastic surgery device;

第四控制模块,用于基于第一继电器控制待处理卷烟按照第二方向排出;其中,第一方向与第二方向相反。The fourth control module is configured to control the untreated cigarettes to be discharged in a second direction based on the first relay; wherein, the first direction is opposite to the second direction.

在第二方面的又一种可选方案中,信号接收模块还包括:In another optional solution of the second aspect, the signal receiving module further includes:

当六面整容装置发出的停机信号的频率未处于预设频率区间时,确定六面整容装置发出的停机信号为第二停机信号;和/或When the frequency of the shutdown signal sent by the six-sided cosmetic device is not in the preset frequency range, determine that the shutdown signal sent by the six-sided cosmetic device is the second shutdown signal; and/or

当六面整容装置发出的停机信号的幅值未处于预设幅值区间时,确定六面整容装置发出的停机信号为第二停机信号。When the magnitude of the stop signal sent by the six-sided facelift device is not within the preset amplitude range, the stop signal sent by the six-face facelift device is determined to be the second stop signal.

第三方面,本申请实施例还提供了一种用于六面整容装置以及包装机的联机控制系统,包括处理器以及存储器;In the third aspect, the embodiment of the present application also provides an online control system for a six-sided cosmetic device and a packaging machine, including a processor and a memory;

处理器与存储器连接;The processor is connected to the memory;

存储器,用于存储可执行程序代码;memory for storing executable program code;

处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于实现本申请实施例第一方面或第一方面的任意一种实现方式提供的用于六面整容装置以及包装机的联机控制方法。The processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the six A noodle cosmetic device and an on-line control method of a packaging machine.

第四方面,本申请实施例提供了一种计算机存储介质,计算机存储介质存储有计算机程序,计算机程序包括程序指令,程序指令当被处理器执行时,可实现本申请实施例第一方面或第一方面的任意一种实现方式提供的用于六面整容装置以及包装机的联机控制方法。In a fourth aspect, the embodiments of the present application provide a computer storage medium. The computer storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the first aspect or the first aspect of the embodiment of the application can be realized. An online control method for a six-sided cosmetic device and a packaging machine provided by any implementation manner of one aspect.

在本申请实施例中,可在对六面整容装置以及包装机进行控制的过程中,先接收六面整容装置发出的停机信号,接着当检测到六面整容装置发出的停机信号为第一停机信号时,控制第一继电器处于断电状态;接着基于第一继电器的断电状态控制六面整容装置的伺服电机处于工作状态,以使待处理卷烟按照第一方向排出。通过控制继电器的状态来使伺服电机处于工作状态,可在六面整容装置异常停机时由伺服电机对待处理卷烟进行排出处理,可有效避免条烟堵塞,进而提高生产效率。In the embodiment of the present application, in the process of controlling the six-sided cosmetic device and the packaging machine, the shutdown signal sent by the six-sided cosmetic device can be received first, and then when the shutdown signal sent by the six-sided cosmetic device is detected, it is the first shutdown. signal, control the first relay to be in the power-off state; then control the servo motor of the six-sided cosmetic device to be in the working state based on the power-off state of the first relay, so that the cigarettes to be treated are discharged in the first direction. By controlling the state of the relay to keep the servo motor in the working state, the servo motor can discharge the cigarettes to be treated when the six-sided plastic surgery device is abnormally shut down, which can effectively avoid the clogging of the rods and improve production efficiency.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1为本申请实施例提供的一种用于六面整容装置以及包装机的联机控制方法的流程示意图;Fig. 1 is a schematic flow chart of an online control method for a six-sided cosmetic device and a packaging machine provided by the embodiment of the present application;

图2为本申请实施例提供的一种用于包装机的联机控制结构示意图;FIG. 2 is a schematic diagram of an online control structure for a packaging machine provided in an embodiment of the present application;

图3为本申请实施例提供的一种用于六面整容装置以及包装机的联机控制方法的程序示意图;Fig. 3 is a program schematic diagram of an online control method for a six-sided cosmetic device and a packaging machine provided by the embodiment of the present application;

图4为本申请实施例提供的又一种用于六面整容装置以及包装机的联机控制方法的程序示意图;Fig. 4 is a program schematic diagram of another online control method for a six-sided plastic surgery device and a packaging machine provided by the embodiment of the present application;

图5为本申请实施例提供的一种用于六面整容装置以及包装机的联机控制系统的结构示意图;Fig. 5 is a schematic structural diagram of an online control system for a six-sided cosmetic device and a packaging machine provided by the embodiment of the present application;

图6为本申请实施例提供的又一种用于六面整容装置以及包装机的联机控制系统的结构示意图。Fig. 6 is a schematic structural diagram of another online control system for a six-face cosmetic device and a packaging machine provided by the embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

在下述介绍中,术语“第一”、“第二”仅为用于描述的目的,而不能理解为指示或暗示相对重要性。下述介绍提供了本申请的多个实施例,不同实施例之间可以替换或者合并组合,因此本申请也可认为包含所记载的相同和/或不同实施例的所有可能组合。因而,如果一个实施例包含特征A、B、C,另一个实施例包含特征B、D,那么本申请也应视为包括含有A、B、C、D的一个或多个所有其他可能的组合的实施例,尽管该实施例可能并未在以下内容中有明确的文字记载。In the following introduction, the terms "first" and "second" are only used for the purpose of description, and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined and combined, so the present application can also be considered to include all possible combinations of the same and/or different embodiments described. Thus, if one embodiment contains features A, B, C, and another embodiment contains features B, D, then the application should also be considered to include all other possible combinations containing one or more of A, B, C, D Although this embodiment may not be clearly written in the following content.

下面的描述提供了示例,并且不对权利要求书中阐述的范围、适用性或示例进行限制。可以在不脱离本申请内容的范围的情况下,对描述的元素的功能和布置做出改变。各个示例可以适当省略、替代或添加各种过程或组件。例如所描述的方法可以以所描述的顺序不同的顺序来执行,并且可以添加、省略或组合各种步骤。此外,可以将关于一些示例描述的特征组合到其他示例中。The following description provides examples, and does not limit the scope, applicability or examples set forth in the claims. Changes may be made in the function and arrangement of described elements without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.

请参阅图1,图1示出了本申请实施例提供的一种用于六面整容装置以及包装机的联机控制方法的流程示意图。Please refer to FIG. 1 . FIG. 1 shows a schematic flow chart of an online control method for a six-face cosmetic device and a packaging machine provided by an embodiment of the present application.

如图1所示,该用于六面整容装置以及包装机的联机控制方法可以但不局限于应用在包装机,该包装机与六面整容装置连接,且可通过该包装机的处理器来控制六面整容装置进行工作。可以理解的是,在本申请实施例中还可由六面整容装置实现该用于六面整容装置以及包装机的联机控制方法,不限定于此。As shown in Figure 1, the online control method for the six-sided cosmetic device and the packaging machine can be applied, but not limited to, to the packaging machine, which is connected to the six-sided cosmetic device, and can be controlled by the processor of the packaging machine Control the six-sided cosmetic device to work. It can be understood that, in the embodiment of the present application, the online control method for the six-face cosmetic device and the packaging machine can also be implemented by the six-face cosmetic device, and is not limited thereto.

该用于六面整容装置以及包装机的联机控制方法具体可以包括以下步骤:The on-line control method for the six-sided plastic surgery device and the packaging machine may specifically include the following steps:

步骤102、接收六面整容装置发出的停机信号。Step 102, receiving a shutdown signal from the six-sided plastic surgery device.

在本申请实施例中以执行体为包装机为例,该包装机可在对六面整容装置以及包装机进行控制的过程中,先接收由六面整容装置发出的停机信号。其中,该六面整容装置发出的停机信号可包括多种类型的停机信号,例如但不局限于包括用于表征因设备故障导致的第一停机信号以及用于表征设备正常停止工作的第二停机信号,且每个类型的停机信号各不相同。In the embodiment of the present application, the packaging machine is used as an example as the execution body, and the packaging machine can first receive the shutdown signal sent by the six-sided plastic surgery device during the process of controlling the six-sided plastic surgery device and the packaging machine. Wherein, the shutdown signal sent by the six-sided plastic surgery device may include various types of shutdown signals, for example but not limited to include a first shutdown signal for indicating equipment failure and a second shutdown signal for indicating that the equipment has stopped working normally. signals, and each type of shutdown signal is different.

可以理解的是,六面整容装置在正常工作过程中当需要进行停机处理时,可以但不局限于由工作人员在六面整容装置上执行相应的停机操作,以使该六面整容装置将停机信号发送至包装机。此处工作人员可在该六面整容装置的显示界面上通过按压虚拟停机按键来控制六面整容装置处于停机状态,可能的,当六面整容装置出现设备故障时,可由工作人员先在该六面整容装置的显示界面上按压相应的虚拟故障按键,再按压虚拟停机按键,以使该六面整容装置可发送对应于设备故障的停机信号至包装机。可能的,当六面整容装置正常停止工作时,可由工作人员直接在该六面整容装置的显示界面上按压虚拟停机按键,以使该六面整容装置可发送对应于设备正常停止工作的停机信号至包装机。It can be understood that when the six-sided plastic surgery device needs to be shut down during normal operation, the staff can perform a corresponding shutdown operation on the six-sided plastic surgery device, so that the six-sided plastic surgery device will be shut down. The signal is sent to the packaging machine. Here, the staff can control the six-sided cosmetic device to stop by pressing the virtual stop button on the display interface of the six-sided cosmetic device. It is possible that when the six-sided plastic surgery device fails, the staff can first stop the six-sided cosmetic device. Press the corresponding virtual failure button on the display interface of the face-lifting device, and then press the virtual shutdown button, so that the six-face facelifting device can send a shutdown signal corresponding to equipment failure to the packaging machine. Possibly, when the six-sided cosmetic device stops working normally, the staff can directly press the virtual stop button on the display interface of the six-sided cosmetic device, so that the six-sided cosmetic device can send a shutdown signal corresponding to the normal shutdown of the equipment to the packaging machine.

需要说明的是,在本申请实施例中可不局限于由包装机接收六面整容装置发出的停机信号,由于六面整容装置的停机信号串联进包装机的下游机停机信号控制回路,此处还可由包装机接收由该下游机发出的停机信号,并根据该下游机发出的停机信号对六面整容装置进行控制。It should be noted that, in the embodiment of the present application, it is not limited to the packaging machine receiving the shutdown signal from the six-sided cosmetic device. Since the shutdown signal of the six-sided cosmetic device is connected in series to the downstream machine shutdown signal control circuit of the packaging machine, here also The packaging machine can receive the stop signal sent by the downstream machine, and control the six-sided cosmetic device according to the stop signal sent by the downstream machine.

作为本申请实施例的一种可选,在当检测到六面整容装置发出的停机信号为第一停机信号时,控制第一继电器处于断电状态之前,还包括:As an option in the embodiment of the present application, before controlling the first relay to be in the power-off state when it is detected that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal, it also includes:

判断六面整容装置发出的停机信号的频率是否处于预设频率区间;Judging whether the frequency of the stop signal sent by the six-sided cosmetic device is within the preset frequency range;

当六面整容装置发出的停机信号的频率处于预设频率区间时,确定六面整容装置发出的停机信号为第一停机信号;和/或When the frequency of the shutdown signal sent by the six-sided plastic surgery device is within the preset frequency range, determine that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal; and/or

判断六面整容装置发出的停机信号的幅值是否处于预设幅值区间;Judging whether the amplitude of the shutdown signal sent by the six-sided plastic surgery device is within the preset amplitude range;

当六面整容装置发出的停机信号的幅值处于预设幅值区间时,确定六面整容装置发出的停机信号为第一停机信号。When the amplitude of the stop signal sent by the six-sided facelift device is within the preset amplitude range, the stop signal sent by the six-face facelift device is determined to be the first stop signal.

具体地,包装机在接收到六面整容装置发出的停机信号之后,可能的,通过该六面整容装置发出的停机信号的频率来判断该六面整容装置发出的停机信号类型,例如但不局限于当六面整容装置发出的停机信号的频率处于预设频率区间时,可确定该六面整容装置出现设备故障,也即该六面整容装置发出的停机信号为第一停机信号。可以理解的是,此处六面整容装置发出的停机信号可以但不局限于表现为频率波动曲线,以便于包装机可快速对该六面整容装置发出的停机信号进行准确判断。Specifically, after the packaging machine receives the shutdown signal sent by the six-sided cosmetic device, it is possible to judge the type of the shutdown signal sent by the six-sided cosmetic device by the frequency of the shutdown signal sent by the six-sided cosmetic device, for example but not limited to When the frequency of the shutdown signal sent by the six-sided cosmetic device is within the preset frequency range, it can be determined that the six-sided cosmetic device has an equipment failure, that is, the shutdown signal sent by the six-sided cosmetic device is the first shutdown signal. It can be understood that the shutdown signal sent by the six-sided plastic surgery device can be displayed as a frequency fluctuation curve, but not limited to, so that the packaging machine can quickly and accurately judge the shutdown signal sent by the six-sided plastic surgery device.

可能的,还可通过该六面整容装置发出的停机信号的幅值来判断该六面整容装置发出的停机信号类型,例如但不局限于当六面整容装置发出的停机信号的幅值处于预设幅值区间时,可确定该六面整容装置出现设备故障,也即该六面整容装置发出的停机信号为第一停机信号。可以理解的是,此处六面整容装置发出的停机信号可以但不局限于表现为幅值率波动曲线,以便于包装机可快速对该六面整容装置发出的停机信号进行准确判断。Possibly, the type of the shutdown signal sent by the six-sided cosmetic device can also be judged by the amplitude of the shutdown signal sent by the six-sided cosmetic device, for example but not limited to when the amplitude of the shutdown signal sent by the six-sided cosmetic device is within the preset When the amplitude range is set, it can be determined that the six-face facelift device has an equipment failure, that is, the stop signal sent by the six-face facelift device is the first stop signal. It can be understood that the shutdown signal sent by the six-sided plastic surgery device can be shown as, but not limited to, an amplitude rate fluctuation curve, so that the packaging machine can quickly and accurately judge the shutdown signal sent by the six-sided plastic surgery device.

可能的,还可通过该六面整容装置发出的停机信号的频率以及幅值来共同判断该六面整容装置发出的停机信号类型,例如但不局限于当六面整容装置发出的停机信号的频率处于预设频率区间,且六面整容装置发出的停机信号的幅值处于预设幅值区间时,可确定该六面整容装置出现设备故障,也即该六面整容装置发出的停机信号为第一停机信号。可以理解的是,此处六面整容装置发出的停机信号可以但不局限于表现为频率-幅值波动曲线,以便于包装机可快速对该六面整容装置发出的停机信号进行准确判断。Possibly, the frequency and amplitude of the shutdown signal sent by the six-sided plastic surgery device can also be used to jointly determine the type of shutdown signal sent by the six-sided plastic surgery device, for example but not limited to when the frequency of the shutdown signal sent by the six-sided plastic surgery device When it is in the preset frequency range, and the amplitude of the stop signal sent by the six-sided facelift device is within the preset amplitude range, it can be determined that the six-face facelift device has an equipment failure, that is, the stop signal sent by the six-face facelift device is the first A stop signal. It can be understood that the shutdown signal sent by the six-sided plastic surgery device can be shown as, but not limited to, a frequency-amplitude fluctuation curve, so that the packaging machine can quickly and accurately judge the shutdown signal sent by the six-sided plastic surgery device.

步骤104、当检测到六面整容装置发出的停机信号为第一停机信号时,控制第一继电器处于断电状态。Step 104 , when it is detected that the stop signal sent by the six-face plastic surgery device is the first stop signal, control the first relay to be in a power-off state.

具体地,当包装机检测到六面整容装置发出的停机信号为第一停机信号时,可确定出该六面整容装置出现设备故障,为避免该六面整容装置因按照正常的排空方式对待处理卷烟进行自动排出所导致的产品堵塞,可先控制第一继电器处于断电状态,以使该六面整容装置无法按照正常的排空方式对待处理卷烟进行自动排出。其中,可能的,该第一继电器可与包装机的处理器引脚连接,用于当该包装机的处理器引脚控制该第一继电器所在电路断开时,以使该第一继电器处于断电状态。可能的,该第一继电器还可与六面整容装置连接,以用于包装机直接控制该第一继电器处于断电状态。Specifically, when the packaging machine detects that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal, it can be determined that the six-sided plastic surgery device has an equipment failure. To deal with product blockage caused by automatic discharge of cigarettes, the first relay can be controlled to be in a power-off state, so that the six-face cosmetic device cannot automatically discharge the cigarettes to be treated according to the normal emptying method. Wherein, possibly, the first relay can be connected to the processor pin of the packaging machine, and is used to make the first relay in an off state when the processor pin of the packaging machine controls the circuit where the first relay is located to be disconnected. power state. Possibly, the first relay can also be connected to the six-sided facelifting device, so that the packaging machine can directly control the first relay to be in a power-off state.

作为一种可选的,在本申请实施例中第一继电器对应的电源端可以但不局限于设置为24伏,且不限定于此。As an option, in the embodiment of the present application, the power terminal corresponding to the first relay may be set to 24 volts, but is not limited thereto.

步骤106、基于第一继电器的断电状态控制六面整容装置的伺服电机处于工作状态,以使待处理卷烟按照第一方向排出。Step 106: Based on the power-off state of the first relay, control the servo motor of the six-sided facelifting device to be in the working state, so that the cigarettes to be treated are discharged in the first direction.

具体地,包装机在控制第一继电器处于断电状态的情况下,可先控制第二继电器处于通电状态,该第二继电器与设置在六面整容装置的伺服电机与电源端之间的第一开关触点为对应关系,也即是说当该第二继电器处于通电状态时,可使第一开关触点处于导通状态;当该第二继电器处于断电状态时,可使该第一开关触点处于断开状态。可以理解的是,该第一开关触点可用于控制六面整容装置的伺服电机是否处于工作状态,当该第一开关触点处于导通状态时,可使该六面整容装置的伺服电机所在电路处于导通状态,进而可使该六面整容装置的伺服电机处于工作状态;当该第一开关触点处于断开状态时,可使该六面整容装置的伺服电机所在电路处于断开状态,进而可使该六面整容装置的伺服电机处于停止工作状态。Specifically, when the packaging machine controls the first relay to be in the power-off state, it can first control the second relay to be in the power-on state. The switch contacts are in a corresponding relationship, that is to say, when the second relay is in the energized state, the first switch contact can be in the conducting state; when the second relay is in the de-energized state, the first switch can be made to The contacts are open. It can be understood that the first switch contact can be used to control whether the servo motor of the six-sided plastic surgery device is in a working state, and when the first switch contact is in a conducting state, the servo motor of the six-sided cosmetic device can be in The circuit is in the conduction state, and then the servo motor of the six-sided facelift device can be in the working state; when the first switch contact is in the disconnected state, the circuit where the servo motor of the six-face facelift device is located can be in the disconnected state , and then the servo motor of the six-face facelifting device can be in a stopped working state.

需要说明的是,在本申请实施例中包装机控制第二继电器处于通电状态的方式可参阅上述提到的第一继电器,此处不过多赘述。It should be noted that, in the embodiment of the present application, the manner in which the packaging machine controls the second relay to be in the energized state can refer to the above-mentioned first relay, which will not be repeated here.

进一步的,当第二继电器处于通电状态时,可使设置在六面整容装置的伺服电机与电源端之间的第一开关触点处于导通状态,进而控制六面整容装置的伺服电机处于工作状态。其中,当六面整容装置的伺服电机处于工作状态时,可控制六面整容装置的待处理卷烟沿着第一方向移动,该第一方向与该六面整容装置按照正常的排空方式所对应的方向不一致,例如但不局限于该第一方向与该六面整容装置按照正常的排空方式所对应的方向相反。Further, when the second relay is in the energized state, the first switch contact arranged between the servo motor and the power supply end of the six-sided facelift device can be in a conductive state, thereby controlling the servo motor of the six-face facelift device to be in operation state. Wherein, when the servo motor of the six-face cosmetic device is in the working state, the cigarettes to be processed by the six-face cosmetic device can be controlled to move along the first direction, and the first direction corresponds to the normal emptying method of the six-face cosmetic device. The directions are inconsistent, for example but not limited to, the first direction is opposite to the direction corresponding to the normal emptying method of the six-sided cosmetic device.

需要说明的是,在本申请实施例中,六面整容装置可以但不局限于基于该六面整容装置的伺服电机控制待处理卷烟按照正常的排空方式,也即是说当六面整容装置出现设备故障,可由该六面整容装置的伺服电机控制待处理卷烟按照第一方向进行排出;当六面整容装置为正常停机时,可由该六面整容装置的伺服电机控制待处理卷烟按照正常的排空方式进行排出,且第一方向与正常的排空方式所对应的方向相反。此处,包装机可以但不局限于可通过控制输入至该六面整容装置的伺服电机的电信号来实现该六面整容装置的伺服电机的输出控制,进而实现对待处理卷烟的移动方向的控制,且不限定于此。It should be noted that, in the embodiment of the present application, the six-face cosmetic device can, but is not limited to, control the cigarettes to be processed in the normal emptying mode based on the servo motor of the six-face cosmetic device, that is to say, when the six-face cosmetic device In case of equipment failure, the servo motor of the six-face cosmetic device can control the unprocessed cigarettes to be discharged in the first direction; The emptying method performs discharge, and the first direction is opposite to the direction corresponding to the normal emptying method. Here, the packaging machine can, but is not limited to, realize the output control of the servo motor of the six-sided cosmetic device by controlling the electrical signal input to the servo motor of the six-sided cosmetic device, and then realize the control of the moving direction of the cigarettes to be processed , and is not limited to this.

进一步的,在基于六面整容装置的伺服电机控制待处理卷烟沿着第一方向移动的过程中,还可控制第三继电器在预设时间间隔内处于通电状态,该第三继电器可与设置在电源端以及电磁阀之间的第二开关触点为对应关系,也即是说当第三继电器处于通电状态时,可使第二开关触点处于导通状态;当该第三继电器处于断电状态时,可使该第二开关触点处于断开状态。可以理解的是,该第二开关触点可用于控制设置在六面整容装置的剔除口处的电磁阀是否处于工作状态,当该第二开关触点处于导通状态时,可使该六面整容装置的电磁阀所在电路处于导通状态,进而可使该六面整容装置的电磁阀处于工作状态;当该第二开关触点处于断开状态时,可使该六面整容装置的电磁阀所在电路处于断开状态。此处当六面整容装置的电磁阀处于工作状态时,可使六面整容装置的剔除口所在管路处于导通状态,进而待处理卷烟沿着第一方向移动的过程中可从六面整容装置的剔除口处排出。Further, in the process of controlling the movement of the cigarettes to be processed along the first direction based on the servo motor of the six-sided facelifting device, the third relay can also be controlled to be in the energized state within a preset time interval, and the third relay can be connected with the The second switch contact between the power supply terminal and the solenoid valve is in a corresponding relationship, that is to say, when the third relay is in the energized state, the second switch contact can be in the conduction state; when the third relay is in the de-energized state state, the second switch contact can be in an open state. It can be understood that the second switch contact can be used to control whether the electromagnetic valve arranged at the rejecting port of the six-sided plastic surgery device is in the working state, and when the second switch contact is in the conduction state, the six-sided The circuit where the solenoid valve of the cosmetic device is in a conduction state, and then the solenoid valve of the six-sided cosmetic device can be in a working state; when the second switch contact is in an open state, the solenoid valve of the six-sided cosmetic device can The circuit is disconnected. Here, when the solenoid valve of the six-sided cosmetic device is in working condition, the pipeline where the rejecting port of the six-sided cosmetic device is located can be in a conduction state, and then the cigarettes to be treated can be plasticized from the six sides during the process of moving along the first direction. Discharge from the reject port of the device.

此处可参阅图2示出的本申请实施例提供的一种用于包装机的联机控制结构示意图,如图2所示的PLC处理器可为包装机的处理器,其型号可以但不局限于设置为FP-C14,且该PLC处理器还可设置扩展模块E,该扩展模块E的X1引脚可以但不局限于用于与第一继电器201所在电路连接,该扩展模块E的Y1引脚可以但不局限于用于与第二继电器202所在电路连接,该扩展模块E的Y3引脚可以但不局限于用于与第三继电器203所在电路连接。Here you can refer to the schematic diagram of an online control structure for a packaging machine provided by the embodiment of the application shown in Figure 2. The PLC processor shown in Figure 2 can be the processor of the packaging machine, and its model can be but not limited to Because it is set to FP-C14, and the PLC processor can also be set with an expansion module E, the X1 pin of the expansion module E can be used to connect with the circuit where the first relay 201 is located, but not limited to, the Y1 pin of the expansion module E The pin can be but not limited to be used to connect with the circuit where the second relay 202 is located, and the Y3 pin of the expansion module E can be used but not limited to be used to be connected to the circuit where the third relay 203 is located.

作为本申请实施例的又一种可选,在基于第二继电器的通电状态控制设置在六面整容装置的伺服电机与电源端之间的第一开关触点处于导通状态之后,还包括:As yet another option in the embodiment of the present application, after controlling the first switch contact arranged between the servo motor and the power supply end of the six-face facelift device to be in a conducting state based on the energized state of the second relay, it further includes:

当六面整容装置的伺服电机处于工作状态时,控制六面整容装置的伺服电机在预设第一时间段内处于第一转速;When the servo motor of the six-face cosmetic device is in working condition, the servo motor for controlling the six-face cosmetic device is at a first rotational speed within a preset first time period;

当六面整容装置的伺服电机处于第一转速的时长达到预设第一时间段时,控制六面整容装置的伺服电机由第一转速调整为第二转速;其中,第一转速小于第二转速。When the time length of the servo motor of the six-sided plastic surgery device at the first rotational speed reaches the preset first time period, the servo motor of the six-sided plastic surgery device is controlled to be adjusted from the first rotational speed to the second rotational speed; wherein, the first rotational speed is less than the second rotational speed .

具体地,当六面整容装置的伺服电机处于工作状态时,还可由包装机对该六面整容装置的伺服电机的转速进行控制,以便于提高待处理卷烟的排出效率。在本申请实施例中可以但不局限于由包装机先控制六面整容装置的伺服电机在预设第一时间段内处于第一转速,接着当六面整容装置的伺服电机处于第一转速的时长达到预设第一时间段时,可控制该六面整容装置的伺服电机由第一转速调整为第二转速,直至待处理卷烟沿着第一方向移动并从六面整容装置的剔除口处排出。其中,第一转速以及第二转速可由包装机输入至六面整容装置的伺服电机的电信号确定,且该第一转速可以但不局限与小于该第二转速。Specifically, when the servo motor of the six-face cosmetic device is in working condition, the packaging machine can also control the rotation speed of the servo motor of the six-face cosmetic device, so as to improve the discharge efficiency of the cigarettes to be treated. In the embodiment of the present application, but not limited to, the packaging machine can first control the servo motor of the six-face plastic surgery device to be at the first rotational speed within the preset first time period, and then when the servo motor of the six-face cosmetic device is at the first rotational speed When the duration reaches the preset first time period, the servo motor of the six-sided facelifting device can be controlled to be adjusted from the first speed to the second speed until the cigarettes to be processed move along the first direction and are removed from the ejection port of the six-side facelifting device. discharge. Wherein, the first rotation speed and the second rotation speed can be determined by the electrical signal input from the packaging machine to the servo motor of the six-face plastic surgery device, and the first rotation speed can be, but not limited to, smaller than the second rotation speed.

此处可参阅图3示出的本申请实施例提供的一种用于六面整容装置以及包装机的联机控制方法的程序示意图。如图3所示,该程序可用于控制六面整容装置的伺服电机的转速以及运行时间,且本申请实施例中的六面整容装置的伺服电机可以但不局限于应用该程序。Here, please refer to FIG. 3 , which is a schematic program diagram of an online control method for a six-face cosmetic device and a packaging machine provided by the embodiment of the present application. As shown in Figure 3, the program can be used to control the rotation speed and running time of the servo motor of the six-face facelift device, and the servo motor of the six-face facelift device in the embodiment of the present application can, but is not limited to, use this program.

此处还可参阅图4示出的本申请实施例提供的又一种用于六面整容装置以及包装机的联机控制方法的程序示意图。如图4所示,该程序可用于控制第三继电器的通电时间,且本申请实施例中的第三继电器的通电时间可以但不局限于应用该程序。Here, you can also refer to FIG. 4 , which is a schematic diagram of the program of another online control method for a six-face cosmetic device and a packaging machine provided by the embodiment of the present application. As shown in FIG. 4 , the program can be used to control the power-on time of the third relay, and the power-on time of the third relay in the embodiment of the present application can be, but not limited to, the program.

作为本申请实施例的又一种可选,在接收六面整容装置发出的停机信号之后,还包括:As yet another option in the embodiment of the present application, after receiving the shutdown signal from the six-sided plastic surgery device, it also includes:

当检测到六面整容装置发出的停机信号为第二停机信号时,控制第一继电器处于通电状态;When it is detected that the stop signal sent by the six-sided plastic surgery device is the second stop signal, the first relay is controlled to be in an energized state;

基于第一继电器控制待处理卷烟按照第二方向排出;其中,第一方向与第二方向相反。The cigarettes to be processed are controlled to be discharged in a second direction based on the first relay; wherein, the first direction is opposite to the second direction.

具体地,包装机在接收到六面整容装置发出的停机信号之后,可能的,通过该六面整容装置发出的停机信号的频率来判断该六面整容装置发出的停机信号类型,例如但不局限于当六面整容装置发出的停机信号的频率未处于预设频率区间时,可确定该六面整容装置正常停止工作,也即该六面整容装置发出的停机信号为第二停机信号。可以理解的是,此处六面整容装置发出的停机信号可以但不局限于表现为频率波动曲线,以便于包装机可快速对该六面整容装置发出的停机信号进行准确判断。Specifically, after the packaging machine receives the shutdown signal sent by the six-sided cosmetic device, it is possible to judge the type of the shutdown signal sent by the six-sided cosmetic device by the frequency of the shutdown signal sent by the six-sided cosmetic device, for example but not limited to When the frequency of the stop signal sent by the six-sided facelift device is not within the preset frequency range, it can be determined that the six-face facelift device has stopped working normally, that is, the stop signal sent by the six-face facelift device is the second stop signal. It can be understood that the shutdown signal sent by the six-sided plastic surgery device can be displayed as a frequency fluctuation curve, but not limited to, so that the packaging machine can quickly and accurately judge the shutdown signal sent by the six-sided plastic surgery device.

可能的,还可通过该六面整容装置发出的停机信号的幅值来判断该六面整容装置发出的停机信号类型,例如但不局限于当六面整容装置发出的停机信号的幅值处于预设幅值区间时,可确定该六面整容装置正常停止工作,也即该六面整容装置发出的停机信号为第二停机信号。可以理解的是,此处六面整容装置发出的停机信号可以但不局限于表现为幅值率波动曲线,以便于包装机可快速对该六面整容装置发出的停机信号进行准确判断。Possibly, the type of the shutdown signal sent by the six-sided cosmetic device can also be judged by the amplitude of the shutdown signal sent by the six-sided cosmetic device, for example but not limited to when the amplitude of the shutdown signal sent by the six-sided cosmetic device is within the preset When the amplitude range is set, it can be determined that the six-face facelift device stops working normally, that is, the stop signal sent by the six-face facelift device is the second stop signal. It can be understood that the shutdown signal sent by the six-sided plastic surgery device can be shown as, but not limited to, an amplitude rate fluctuation curve, so that the packaging machine can quickly and accurately judge the shutdown signal sent by the six-sided plastic surgery device.

可能的,还可通过该六面整容装置发出的停机信号的频率以及幅值来共同判断该六面整容装置发出的停机信号类型,例如但不局限于当六面整容装置发出的停机信号的频率处于预设频率区间,且六面整容装置发出的停机信号的幅值处于预设幅值区间时,可确定该六面整容装置正常停止工作,也即该六面整容装置发出的停机信号为第二停机信号。可以理解的是,此处六面整容装置发出的停机信号可以但不局限于表现为频率-幅值波动曲线,以便于包装机可快速对该六面整容装置发出的停机信号进行准确判断。Possibly, the frequency and amplitude of the shutdown signal sent by the six-sided plastic surgery device can also be used to jointly determine the type of shutdown signal sent by the six-sided plastic surgery device, for example but not limited to when the frequency of the shutdown signal sent by the six-sided plastic surgery device When it is in the preset frequency range, and the amplitude of the stop signal sent by the six-sided facelift device is within the preset amplitude range, it can be determined that the six-face facelift device stops working normally, that is, the stop signal sent by the six-face facelift device is the first 2. Shutdown signal. It can be understood that the shutdown signal sent by the six-sided plastic surgery device can be shown as, but not limited to, a frequency-amplitude fluctuation curve, so that the packaging machine can quickly and accurately judge the shutdown signal sent by the six-sided plastic surgery device.

进一步的,在确定出六面整容装置发出的停机信号为第二停机信号时,可通知控制第一继电器处于导电状态的方式来控制待处理卷烟按照正常的排空方式进行排出。可以理解的是,此处也可由上述提到的六面整容装置的伺服电机来控制该待处理卷烟的排出方向,此处不过多赘述。Further, when it is determined that the stop signal sent by the six-face facelifting device is the second stop signal, it can notify and control the way that the first relay is in a conductive state to control the untreated cigarettes to be discharged in a normal emptying manner. It can be understood that the discharge direction of the cigarettes to be treated can also be controlled by the servo motor of the above-mentioned six-sided facelifting device, which will not be described in detail here.

请参阅图5,图5示出了本申请实施例提供的一种用于六面整容装置以及包装机的联机控制系统的结构示意图。Please refer to FIG. 5 . FIG. 5 shows a schematic structural diagram of an online control system for a six-face cosmetic device and a packaging machine provided by an embodiment of the present application.

如图5所示,该用于六面整容装置以及包装机的联机控制系统应用于包装机,包装机与六面整容装置连接,该系统至少可以包括信号接收模块501、第一控制模块502以及第二控制模块503,其中:As shown in Figure 5, the online control system for the six-sided plastic surgery device and packaging machine is applied to the packaging machine, and the packaging machine is connected to the six-sided plastic surgery device. The system may at least include a signal receiving module 501, a first control module 502 and The second control module 503, wherein:

信号接收模块501,用于接收六面整容装置发出的停机信号;The signal receiving module 501 is used to receive the shutdown signal sent by the six-sided plastic surgery device;

第一控制模块502,用于当检测到六面整容装置发出的停机信号为第一停机信号时,控制第一继电器处于断电状态;The first control module 502 is used to control the first relay to be in a power-off state when it is detected that the stop signal sent by the six-face plastic surgery device is the first stop signal;

第二控制模块503,用于基于第一继电器的断电状态控制六面整容装置的伺服电机处于工作状态,以使待处理卷烟按照第一方向排出。The second control module 503 is configured to control the servo motor of the six-face cosmetic device to be in the working state based on the power-off state of the first relay, so that the cigarettes to be treated are discharged in the first direction.

在一些可能的实施例中,信号接收模块包括:In some possible embodiments, the signal receiving module includes:

第一判断单元,用于接收六面整容装置发出的停机信号,并判断六面整容装置发出的停机信号的频率是否处于预设频率区间;The first judging unit is used to receive the shutdown signal sent by the six-sided plastic surgery device, and judge whether the frequency of the shutdown signal sent by the six-sided plastic surgery device is within a preset frequency range;

第一确定单元,用于当六面整容装置发出的停机信号的频率处于预设频率区间时,确定六面整容装置发出的停机信号为第一停机信号;和/或The first determination unit is configured to determine that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal when the frequency of the shutdown signal sent by the six-sided plastic surgery device is within a preset frequency range; and/or

第二判断单元,用于接收六面整容装置发出的停机信号,并判断六面整容装置发出的停机信号的幅值是否处于预设幅值区间;The second judging unit is used to receive the shutdown signal sent by the six-sided plastic surgery device, and judge whether the amplitude of the shutdown signal sent by the six-sided plastic surgery device is within a preset amplitude range;

第二确定单元,用于当六面整容装置发出的停机信号的幅值处于预设幅值区间时,确定六面整容装置发出的停机信号为第一停机信号。The second determining unit is configured to determine that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal when the amplitude of the shutdown signal sent by the six-sided plastic surgery device is within a preset amplitude range.

在一些可能的实施例中,第二控制模块包括:In some possible embodiments, the second control module includes:

第一控制单元,用于当第一继电器处于断电状态时,控制第二继电器处于通电状态;The first control unit is configured to control the second relay to be in the power-on state when the first relay is in the power-off state;

第二控制单元,用于基于第二继电器的通电状态控制设置在六面整容装置的伺服电机与电源端之间的第一开关触点处于导通状态,以使六面整容装置的伺服电机处于工作状态;The second control unit is used to control the first switch contact arranged between the servo motor and the power supply end of the six-sided facelift device to be in a conducting state based on the power-on state of the second relay, so that the servo motor of the six-face facelift device is in a conducting state working status;

第三控制单元,用于当六面整容装置的伺服电机处于工作状态时,控制第三继电器在预设时间间隔内处于通电状态;The third control unit is used to control the third relay to be energized within a preset time interval when the servo motor of the six-face plastic surgery device is in the working state;

第四控制单元,用于基于第三继电器的通电状态控制待处理卷烟按照第一方向排出。The fourth control unit is configured to control the untreated cigarettes to be discharged in the first direction based on the energized state of the third relay.

在一些可能的实施例中,第四控制单元具体用于:In some possible embodiments, the fourth control unit is specifically used for:

当第三继电器处于通电状态时,控制设置在电源端以及电磁阀之间的第二开关触点处于导通状态,以使电磁阀处于工作状态;其中,电磁阀设置在六面整容装置的剔除口处;When the third relay is in the energized state, the second switch contact arranged between the power supply end and the solenoid valve is controlled to be in the conduction state, so that the solenoid valve is in the working state; Mouth;

当电磁阀处于工作状态时,控制待处理卷烟按照第一方向从六面整容装置的剔除口处排出。When the electromagnetic valve is in the working state, the cigarettes to be treated are controlled to be discharged from the rejecting port of the six-face cosmetic device according to the first direction.

在一些可能的实施例中,第二控制模块还包括:In some possible embodiments, the second control module further includes:

第五控制单元,用于当六面整容装置的伺服电机处于工作状态时,控制六面整容装置的伺服电机在预设第一时间段内处于第一转速;The fifth control unit is used to control the servo motor of the six-face cosmetic device to be at a first rotational speed within a preset first time period when the servo motor of the six-face cosmetic device is in a working state;

第六控制单元,用于当六面整容装置的伺服电机处于第一转速的时长达到预设第一时间段时,控制六面整容装置的伺服电机由第一转速调整为第二转速;其中,第一转速小于第二转速。The sixth control unit is used to control the servo motor of the six-face facelift device to adjust from the first speed to the second speed when the servo motor of the six-face facelift device is at the first speed for a preset first time period; wherein, The first rotational speed is less than the second rotational speed.

在一些可能的实施例中,装置还包括:In some possible embodiments, the device also includes:

第三控制模块,用于在接收六面整容装置发出的停机信号之后,当检测到六面整容装置发出的停机信号为第二停机信号时,控制第一继电器处于通电状态;The third control module is used to control the first relay to be in an energized state when it is detected that the shutdown signal sent by the six-sided plastic surgery device is the second shutdown signal after receiving the shutdown signal sent by the six-sided plastic surgery device;

第四控制模块,用于基于第一继电器控制待处理卷烟按照第二方向排出;其中,第一方向与第二方向相反。The fourth control module is configured to control the untreated cigarettes to be discharged in a second direction based on the first relay; wherein, the first direction is opposite to the second direction.

在一些可能的实施例中,信号接收模块还包括:In some possible embodiments, the signal receiving module also includes:

当六面整容装置发出的停机信号的频率未处于预设频率区间时,确定六面整容装置发出的停机信号为第二停机信号;和/或When the frequency of the shutdown signal sent by the six-sided cosmetic device is not in the preset frequency range, determine that the shutdown signal sent by the six-sided cosmetic device is the second shutdown signal; and/or

当六面整容装置发出的停机信号的幅值未处于预设幅值区间时,确定六面整容装置发出的停机信号为第二停机信号。When the magnitude of the stop signal sent by the six-sided facelift device is not within the preset amplitude range, the stop signal sent by the six-face facelift device is determined to be the second stop signal.

本领域的技术人员可以清楚地了解到本申请实施例的技术方案可借助软件和/或硬件来实现。本说明书中的“单元”和“模块”是指能够独立完成或与其他部件配合完成特定功能的软件和/或硬件,其中硬件例如可以是现场可编程门阵列(Field-ProgrammableGate Array,FPGA)、集成电路(Integrated Circuit,IC)等。Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented by means of software and/or hardware. "Unit" and "module" in this specification refer to software and/or hardware that can complete specific functions independently or in cooperation with other components, where the hardware can be, for example, Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), Integrated Circuit (Integrated Circuit, IC), etc.

请参阅图6,图6示出了本申请实施例提供的又一种用于六面整容装置以及包装机的联机控制系统的结构示意图。Please refer to FIG. 6 . FIG. 6 shows a schematic structural diagram of another online control system for a six-face cosmetic device and a packaging machine provided by an embodiment of the present application.

如图6所示,该用于六面整容装置以及包装机的联机控制系统600可以包括:至少一个处理器601、至少一个网络接口606、用户接口603、存储器605以及至少一个通信总线602。As shown in FIG. 6 , the online control system 600 for the six-sided plastic surgery device and packaging machine may include: at least one processor 601 , at least one network interface 606 , user interface 603 , memory 605 and at least one communication bus 602 .

其中,通信总线602可用于实现上述各个组件的连接通信。Wherein, the communication bus 602 may be used to realize connection and communication of the above-mentioned components.

其中,用户接口603可以包括按键,可选用户接口还可以包括标准的有线接口、无线接口。Wherein, the user interface 603 may include buttons, and optional user interfaces may also include standard wired interfaces and wireless interfaces.

其中,网络接口606可以但不局限于包括蓝牙模块、NFC模块、Wi-Fi模块等。Wherein, the network interface 606 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, and the like.

其中,处理器601可以包括一个或者多个处理核心。处理器601利用各种接口和线路连接整个电子设备600内的各个部分,通过运行或执行存储在存储器605内的指令、程序、代码集或指令集,以及调用存储在存储器605内的数据,执行路由设备600的各种功能和处理数据。可选的,处理器601可以采用DSP、FPGA、PLA中的至少一种硬件形式来实现。处理器601可集成CPU、GPU和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器601中,单独通过一块芯片进行实现。Wherein, the processor 601 may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts of the entire electronic device 600, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Various functions of the routing device 600 and processing data. Optionally, the processor 601 may be implemented in at least one hardware form among DSP, FPGA, and PLA. The processor 601 may integrate one or a combination of a CPU, a GPU, a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used to render and draw the content that needs to be displayed on the display screen; the modem is used to handle wireless communication. It can be understood that the foregoing modem may also not be integrated into the processor 601, but implemented by a single chip.

其中,存储器605可以包括RAM,也可以包括ROM。可选的,该存储器605包括非瞬时性计算机可读介质。存储器605可用于存储指令、程序、代码、代码集或指令集。存储器605可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器605可选的还可以是至少一个位于远离前述处理器601的存储装置。如图3所示,作为一种计算机存储介质的存储器605中可以包括操作系统、网络通信模块、用户接口模块以及用于六面整容装置以及包装机的联机控制应用程序。Wherein, the memory 605 may include RAM or ROM. Optionally, the memory 605 includes a non-transitory computer readable medium. Memory 605 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions, etc. used to implement the above method embodiments; the storage data area can store data, etc. involved in the above method embodiments. Optionally, the memory 605 may also be at least one storage device located away from the aforementioned processor 601 . As shown in FIG. 3 , the memory 605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an online control application program for the six-face cosmetic device and the packaging machine.

具体地,处理器601可以用于调用存储器605中存储的用于六面整容装置以及包装机的联机控制应用程序,并具体执行以下操作:Specifically, the processor 601 can be used to call the online control application program for the six-face plastic surgery device and the packaging machine stored in the memory 605, and specifically perform the following operations:

接收六面整容装置发出的停机信号;Receive the stop signal sent by the six-sided cosmetic device;

当检测到六面整容装置发出的停机信号为第一停机信号时,控制第一继电器处于断电状态;When it is detected that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal, the first relay is controlled to be in a power-off state;

基于第一继电器的断电状态控制六面整容装置的伺服电机处于工作状态,以使待处理卷烟按照第一方向排出。Based on the power-off state of the first relay, the servo motor of the six-sided facelifting device is controlled to be in the working state, so that the cigarettes to be treated are discharged in the first direction.

在一些可能的实施例中,接收六面整容装置发出的停机信号,包括:In some possible embodiments, receiving the shutdown signal from the six-face cosmetic device includes:

接收六面整容装置发出的停机信号,并判断六面整容装置发出的停机信号的频率是否处于预设频率区间;Receive the shutdown signal sent by the six-sided plastic surgery device, and judge whether the frequency of the shutdown signal sent by the six-sided plastic surgery device is in the preset frequency range;

当六面整容装置发出的停机信号的频率处于预设频率区间时,确定六面整容装置发出的停机信号为第一停机信号;和/或When the frequency of the shutdown signal sent by the six-sided plastic surgery device is within the preset frequency range, determine that the shutdown signal sent by the six-sided plastic surgery device is the first shutdown signal; and/or

接收六面整容装置发出的停机信号,并判断六面整容装置发出的停机信号的幅值是否处于预设幅值区间;receiving the shutdown signal sent by the six-sided plastic surgery device, and judging whether the amplitude of the shutdown signal sent by the six-sided plastic surgery device is within a preset range;

当六面整容装置发出的停机信号的幅值处于预设幅值区间时,确定六面整容装置发出的停机信号为第一停机信号。When the amplitude of the stop signal sent by the six-sided facelift device is within the preset amplitude range, the stop signal sent by the six-face facelift device is determined to be the first stop signal.

在一些可能的实施例中,基于第一继电器的断电状态控制六面整容装置的伺服电机处于工作状态,以使待处理卷烟按照第一方向排出,包括:In some possible embodiments, based on the power-off state of the first relay, the servomotor of the six-face shaping device is controlled to be in the working state, so that the cigarettes to be treated are discharged in the first direction, including:

当第一继电器处于断电状态时,控制第二继电器处于通电状态;When the first relay is in the power-off state, control the second relay to be in the power-on state;

基于第二继电器的通电状态控制设置在六面整容装置的伺服电机与电源端之间的第一开关触点处于导通状态,以使六面整容装置的伺服电机处于工作状态;Based on the energized state of the second relay, the first switch contact arranged between the servo motor of the six-sided facelift device and the power supply end is controlled to be in a conduction state, so that the servo motor of the six-face facelift device is in a working state;

当六面整容装置的伺服电机处于工作状态时,控制第三继电器在预设时间间隔内处于通电状态;When the servo motor of the six-sided plastic surgery device is in working condition, control the third relay to be in the energized state within the preset time interval;

基于第三继电器的通电状态控制待处理卷烟按照第一方向排出。Based on the energized state of the third relay, the cigarettes to be treated are controlled to be discharged in the first direction.

在一些可能的实施例中,基于第三继电器的通电状态控制待处理卷烟按照第一方向排出,包括:In some possible embodiments, controlling the untreated cigarettes to be discharged in the first direction based on the energized state of the third relay includes:

当第三继电器处于通电状态时,控制设置在电源端以及电磁阀之间的第二开关触点处于导通状态,以使电磁阀处于工作状态;其中,电磁阀设置在六面整容装置的剔除口处;When the third relay is in the energized state, the second switch contact arranged between the power supply end and the solenoid valve is controlled to be in the conduction state, so that the solenoid valve is in the working state; Mouth;

当电磁阀处于工作状态时,控制待处理卷烟按照第一方向从六面整容装置的剔除口处排出。When the electromagnetic valve is in the working state, the cigarettes to be treated are controlled to be discharged from the rejecting port of the six-face cosmetic device according to the first direction.

在一些可能的实施例中,在基于第二继电器的通电状态控制设置在六面整容装置的伺服电机与电源端之间的第一开关触点处于导通状态之后,还包括:In some possible embodiments, after controlling the first switch contact arranged between the servo motor and the power supply terminal of the six-face facelift device to be in a conductive state based on the energized state of the second relay, it further includes:

当六面整容装置的伺服电机处于工作状态时,控制六面整容装置的伺服电机在预设第一时间段内处于第一转速;When the servo motor of the six-face cosmetic device is in working condition, the servo motor for controlling the six-face cosmetic device is at a first rotational speed within a preset first time period;

当六面整容装置的伺服电机处于第一转速的时长达到预设第一时间段时,控制六面整容装置的伺服电机由第一转速调整为第二转速;其中,第一转速小于第二转速。When the time length of the servo motor of the six-sided plastic surgery device at the first rotational speed reaches the preset first time period, the servo motor of the six-sided plastic surgery device is controlled to be adjusted from the first rotational speed to the second rotational speed; wherein, the first rotational speed is less than the second rotational speed .

在一些可能的实施例中,在接收六面整容装置发出的停机信号之后,还包括:In some possible embodiments, after receiving the shutdown signal sent by the six-sided cosmetic device, it further includes:

当检测到六面整容装置发出的停机信号为第二停机信号时,控制第一继电器处于通电状态;When it is detected that the stop signal sent by the six-sided plastic surgery device is the second stop signal, the first relay is controlled to be in an energized state;

基于第一继电器控制待处理卷烟按照第二方向排出;其中,第一方向与第二方向相反。The cigarettes to be processed are controlled to be discharged in a second direction based on the first relay; wherein, the first direction is opposite to the second direction.

在一些可能的实施例中,接收六面整容装置发出的停机信号,还包括:In some possible embodiments, receiving the shutdown signal sent by the six-sided cosmetic device further includes:

当六面整容装置发出的停机信号的频率未处于预设频率区间时,确定六面整容装置发出的停机信号为第二停机信号;和/或When the frequency of the shutdown signal sent by the six-sided cosmetic device is not in the preset frequency range, determine that the shutdown signal sent by the six-sided cosmetic device is the second shutdown signal; and/or

当六面整容装置发出的停机信号的幅值未处于预设幅值区间时,确定六面整容装置发出的停机信号为第二停机信号。When the magnitude of the stop signal sent by the six-sided facelift device is not within the preset amplitude range, the stop signal sent by the six-face facelift device is determined to be the second stop signal.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。其中,计算机可读存储介质可以包括但不限于任何类型的盘,包括软盘、光盘、DVD、CD-ROM、微型驱动器以及磁光盘、ROM、RAM、EPROM、EEPROM、DRAM、VRAM、闪速存储器设备、磁卡或光卡、纳米系统(包括分子存储器IC),或适合于存储指令和/或数据的任何类型的媒介或设备。The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are realized. Among them, the computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disk, optical disk, DVD, CD-ROM, microdrive, and magneto-optical disk, ROM, RAM, EPROM, EEPROM, DRAM, VRAM, flash memory device , magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and/or data.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些服务接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some service interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(Read-Only Memory, ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The above-mentioned memory includes: U disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), mobile hard disk, magnetic disk or optical disk, and other media capable of storing program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通进程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(Read-Only Memory, ROM)、随机存取器(Random AccessMemory,RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by entering a program to instruct related hardware. The program can be stored in a computer-readable memory, and the memory can include: flash memory disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), magnetic disk or optical disk, etc.

以上所述者,仅为本公开的示例性实施例,不能以此限定本公开的范围。即但凡依本公开教导所作的等效变化与修饰,皆仍属本公开涵盖的范围内。本领域技术人员在考虑说明书及实践这里的公开后,将容易想到本公开的其实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未记载的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的范围和精神由权利要求限定。What is described above is only an exemplary embodiment of the present disclosure, and should not limit the scope of the present disclosure. That is, all equivalent changes and modifications made according to the teachings of the present disclosure still fall within the scope of the present disclosure. Embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not described in the present disclosure . The specification and examples are to be considered exemplary only, with the scope and spirit of the present disclosure defined by the claims.

Claims (5)

1. An on-line control method for a six-sided face-lift device and a packaging machine, characterized in that the method is applied to a packaging machine, which is connected to the six-sided face-lift device, the method comprising:
receiving a stop signal sent by the six-face cosmetic device;
when the shutdown signal sent by the six-face cosmetic device is detected to be a first shutdown signal, the first relay is controlled to be in a power-off state;
controlling a servo motor of the six-face-lifting device to be in a working state based on the power-off state of the first relay so as to enable cigarettes to be processed to be discharged according to a first direction;
Wherein the shutdown signal comprises a first shutdown signal used for representing that equipment is in failure and a second shutdown signal used for representing that the equipment is in normal stop operation;
wherein when the shutdown signal sent by the six-face-lifting device is detected to be a first shutdown signal, before the first relay is controlled to be in a power-off state, the method further comprises the following steps:
judging whether the frequency of a shutdown signal sent by the six-face cosmetic device is in a preset frequency interval or not;
when the frequency of the shutdown signal sent by the six-sided cosmetic device is in the preset frequency interval, determining that the shutdown signal sent by the six-sided cosmetic device is a first shutdown signal; and/or
Judging whether the amplitude of the shutdown signal sent by the six-face cosmetic device is in a preset amplitude interval or not;
when the amplitude of the shutdown signal sent by the six-sided face-lifting device is in the preset amplitude interval, determining that the shutdown signal sent by the six-sided face-lifting device is a first shutdown signal;
the servo motor of the six-face-lifting device is controlled to be in a working state based on the power-off state of the first relay so that cigarettes to be processed are discharged according to a first direction, and the method comprises the following steps:
When the first relay is in a power-off state, controlling a second relay to be in a power-on state;
controlling a first switch contact arranged between a servo motor and a power end of the six-sided cosmetic device to be in a conducting state based on the energizing state of the second relay so as to enable the servo motor of the six-sided cosmetic device to be in a working state;
when the servo motor of the six-face cosmetic device is in a working state, controlling the third relay to be in an electrified state within a preset time interval;
controlling the cigarettes to be processed to be discharged according to a first direction based on the energizing state of the third relay;
wherein, based on the energizing state of the third relay, the cigarette to be processed is controlled to be discharged according to a first direction, and the method comprises the following steps:
when the third relay is in an electrified state, controlling a second switch contact arranged between the power end and the electromagnetic valve to be in a conducting state so as to enable the electromagnetic valve to be in a working state; wherein the electromagnetic valve is arranged at the reject port of the six-face cosmetic device;
when the electromagnetic valve is in a working state, controlling the cigarettes to be treated to be discharged from the reject port of the six-face cosmetic device according to a first direction;
Wherein after receiving the shutdown signal sent by the six-face-lifting device, the method further comprises the following steps:
when the shutdown signal sent by the six-face cosmetic device is detected to be a second shutdown signal, the first relay is controlled to be in an electrified state;
controlling the cigarettes to be processed to be discharged according to a second direction based on the first relay; wherein the first direction is opposite to the second direction;
wherein, receive the shut down signal that six face-lifting devices sent still includes:
when the frequency of the shutdown signal sent by the six-sided cosmetic device is not in the preset frequency interval, determining that the shutdown signal sent by the six-sided cosmetic device is a second shutdown signal; and/or
And when the amplitude of the shutdown signal sent by the six-sided face-lifting device is not in the preset amplitude interval, determining that the shutdown signal sent by the six-sided face-lifting device is a second shutdown signal.
2. The method of claim 1, further comprising, after the controlling the first switch contact disposed between the servo motor and the power source terminal of the six face-lifting device to be in a conductive state based on the energized state of the second relay:
When the servo motor of the six-sided cosmetic device is in a working state, controlling the servo motor of the six-sided cosmetic device to be at a first rotating speed in a preset first time period;
when the duration that the servo motor of the six-sided cosmetic device is at the first rotating speed reaches the preset first time period, controlling the servo motor of the six-sided cosmetic device to adjust from the first rotating speed to a second rotating speed; wherein the first rotational speed is less than the second rotational speed.
3. An on-line control system for a six-sided face-lift device and a packaging machine, characterized in that it is applied to a packaging machine connected to the six-sided face-lift device, for performing the method according to claim 1 or 2, comprising:
the signal receiving module is used for receiving a stop signal sent by the six-face cosmetic device;
the first control module is used for controlling the first relay to be in a power-off state when detecting that the shutdown signal sent by the six-face cosmetic device is a first shutdown signal;
the second control module is used for controlling the servo motor of the six-face-lifting device to be in a working state based on the first relay so as to enable cigarettes to be processed to be discharged according to a first direction;
Wherein the shutdown signal comprises a first shutdown signal used for representing that equipment is in failure and a second shutdown signal used for representing that the equipment is in normal stop operation;
wherein when the shutdown signal sent by the six-face-lifting device is detected to be a first shutdown signal, before the first relay is controlled to be in a power-off state, the method further comprises the following steps:
judging whether the frequency of a shutdown signal sent by the six-face cosmetic device is in a preset frequency interval or not;
when the frequency of the shutdown signal sent by the six-sided cosmetic device is in the preset frequency interval, determining that the shutdown signal sent by the six-sided cosmetic device is a first shutdown signal; and/or
Judging whether the amplitude of the shutdown signal sent by the six-face cosmetic device is in a preset amplitude interval or not;
when the amplitude of the shutdown signal sent by the six-sided face-lifting device is in the preset amplitude interval, determining that the shutdown signal sent by the six-sided face-lifting device is a first shutdown signal;
the servo motor of the six-face-lifting device is controlled to be in a working state based on the power-off state of the first relay so that cigarettes to be processed are discharged according to a first direction, and the method comprises the following steps:
When the first relay is in a power-off state, controlling a second relay to be in a power-on state;
controlling a first switch contact arranged between a servo motor and a power end of the six-sided cosmetic device to be in a conducting state based on the energizing state of the second relay so as to enable the servo motor of the six-sided cosmetic device to be in a working state;
when the servo motor of the six-face cosmetic device is in a working state, controlling the third relay to be in an electrified state within a preset time interval;
controlling the cigarettes to be processed to be discharged according to a first direction based on the energizing state of the third relay;
wherein, based on the energizing state of the third relay, the cigarette to be processed is controlled to be discharged according to a first direction, and the method comprises the following steps:
when the third relay is in an electrified state, controlling a second switch contact arranged between the power end and the electromagnetic valve to be in a conducting state so as to enable the electromagnetic valve to be in a working state; wherein the electromagnetic valve is arranged at the reject port of the six-face cosmetic device;
when the electromagnetic valve is in a working state, controlling the cigarettes to be treated to be discharged from the reject port of the six-face cosmetic device according to a first direction;
Wherein after receiving the shutdown signal sent by the six-face-lifting device, the method further comprises the following steps:
when the shutdown signal sent by the six-face cosmetic device is detected to be a second shutdown signal, the first relay is controlled to be in an electrified state;
controlling the cigarettes to be processed to be discharged according to a second direction based on the first relay; wherein the first direction is opposite to the second direction;
wherein, receive the shut down signal that six face-lifting devices sent still includes:
when the frequency of the shutdown signal sent by the six-sided cosmetic device is not in the preset frequency interval, determining that the shutdown signal sent by the six-sided cosmetic device is a second shutdown signal; and/or
And when the amplitude of the shutdown signal sent by the six-sided face-lifting device is not in the preset amplitude interval, determining that the shutdown signal sent by the six-sided face-lifting device is a second shutdown signal.
4. An on-line control system for six face-lifting devices and packaging machines, characterized by comprising a processor and a memory;
the processor is connected with the memory;
the memory is used for storing executable program codes;
the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the method of claim 1 or 2.
5. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to claim 1 or 2.
CN202210732365.8A 2022-06-27 2022-06-27 An online control method and system for a six-sided facelift device and a packaging machine Active CN115027723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210732365.8A CN115027723B (en) 2022-06-27 2022-06-27 An online control method and system for a six-sided facelift device and a packaging machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210732365.8A CN115027723B (en) 2022-06-27 2022-06-27 An online control method and system for a six-sided facelift device and a packaging machine

Publications (2)

Publication Number Publication Date
CN115027723A CN115027723A (en) 2022-09-09
CN115027723B true CN115027723B (en) 2023-06-23

Family

ID=83126796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210732365.8A Active CN115027723B (en) 2022-06-27 2022-06-27 An online control method and system for a six-sided facelift device and a packaging machine

Country Status (1)

Country Link
CN (1) CN115027723B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1068281A (en) * 1965-04-13 1967-05-10 Schmermund Alfred Improvements in or relating to cigarette conveyor arrangements
DE10102926A1 (en) * 2001-01-23 2002-07-25 Focke & Co Process for making cigarette packs
CN201268406Y (en) * 2008-08-14 2009-07-08 湖北中烟工业有限责任公司 Parking eliminating apparatus on packing machine cigarette carton face-lifting apparatus
CN207141489U (en) * 2017-07-14 2018-03-27 河南中烟工业有限责任公司 A kind of tobacco factory small box packer sky diaphragm capsule detection means
CN110037657B (en) * 2019-04-12 2022-06-14 深圳市德力凯医疗设备股份有限公司 Anti-interference dynamic gain method, storage medium and terminal equipment
CN110844217A (en) * 2019-11-15 2020-02-28 河南中烟工业有限责任公司 Device and method for conveying tobacco strips in shutdown mode and cigarette packaging machine
CN214566640U (en) * 2021-03-16 2021-11-02 贵州中烟工业有限责任公司 System for improving operation efficiency of packaging unit

Also Published As

Publication number Publication date
CN115027723A (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN110784858B (en) Bluetooth device control method and device, electronic device and storage medium
CN107358954A (en) It is a kind of to change the device and method for waking up word in real time
CN104994459B (en) Terminal digital power amplifier configuration method and device
US20070050649A1 (en) Power saving electronic apparatus and method
CN115027723B (en) An online control method and system for a six-sided facelift device and a packaging machine
CN109974229B (en) Method and device for determining air conditioner state, electronic equipment and storage medium
CN110574100A (en) Electronic musical instrument
CN105677555B (en) The emulation test method and system of active equipment automatization program
CN115731643B (en) Key binding method, vehicle configuration method, device, vehicle and storage medium
CN110016780B (en) Emergency control method for washing machine
CN104138665A (en) Doll control method and doll
CN112992142B (en) Voice message reply method, device, equipment and medium
CN110309098A (en) Interaction control method, device, equipment and storage medium between a kind of processor
CN106850953B (en) Volume adjusting method and device and terminal
CN106959877B (en) Fingerprint identification chip driving circuit, fingerprint identification chip driving method and device
CN115024507B (en) Method and device for automatically controlling on-off of compressed air based on cigarette making and plug assembling machine
CN116300780A (en) Component configuration method, device, electronic equipment and storage medium
CN114550719A (en) Method and device for recognizing voice control instruction, and storage medium
CN105468434A (en) Method and device for processing exception of virtual machine
CN102411527B (en) Detecting method for image-processing chip, developing plate and detecting system
CN117742193A (en) Household appliance control method, device, equipment and storage medium
CN117822250A (en) Laundry control method, device, electronic device and storage medium
CN114108229B (en) Control method and server of clothing processing device
CN111414760A (en) Natural language processing method and related device, system and storage device
CN201142021Y (en) Independent PLC communication and hierarchical logic control system used in the foreign fiber removal machine

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