Control method, apparatus, electronic equipment, and storage medium for automatic transfer of yarn packages.
The control system with an intermediate PLC layer optimizes data exchange and control in chemical fiber production lines, addressing transfer bottlenecks by automating yarn package transfer, enhancing efficiency and stability.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-02
- Publication Date
- 2026-04-09
AI Technical Summary
The efficient transfer of winding packages in chemical fiber production lines is a bottleneck affecting overall production rhythm and efficiency, necessitating rapid and automated transfer methods to improve production capacity.
A control system utilizing a Manufacturing Execution System (MES), a first Programmable Logic Controller (PLC), and multiple second PLCs, where the first PLC acts as an intermediate layer to manage data exchange and control, enabling automated forced transfer management of yarn packages.
The system enhances transfer efficiency, reduces manual intervention, minimizes errors, and improves production line stability and efficiency by ensuring smooth operation and quick response to production changes.
Smart Images

Figure 2026062445000001_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of intelligent chemical fibers, and particularly to a control method, apparatus, electronic device, and storage medium for automatic transfer of winding packages.
Background Art
[0002] In the production field of chemical fibers, an efficiently operating production line is the key to ensuring production capacity and efficiency. This production line has a large number of closely arranged cooperating work stations. Particularly important is that a huge number of winding packages flow smoothly in the production line, and the transfer speed of the winding packages is directly related to the overall production rhythm and efficiency, and has become one of the inescapable bottlenecks in improving production capacity. Therefore, how to achieve rapid transfer of winding packages in the production line is an important issue that needs to be urgently solved in the current innovation of chemical fiber production technology.
Summary of the Invention
Problems to be Solved by the Invention
[0003] The present disclosure provides a control method, apparatus, electronic device, and storage medium for automatic transfer of winding packages.
Means for Solving the Problems
[0004] According to a first aspect of the present disclosure, a control method for automatic transfer of winding packages applied to a control system for automatic transfer of winding packages is provided. The control system for automatic transfer of winding packages includes a Manufacturing Execution System (MES), a first Programmable Logic Controller (PLC), and a plurality of second PLCs for controlling at least one work station respectively. The plurality of second PLCs are respectively connected to the first PLC, and the first PLC is connected to the MES. The control method for the automatic transfer of the said yarn package is: The first PLC obtains second operational data for the target work station, including a forced transfer variable of 1, from the second PLC corresponding to the target work station, and obtains first operational data for the target work station based on the second operational data. The first PLC transmits the first operational data to the MES and receives transfer instruction information, which is a transfer authorization determined by the MES for the target work station based on the compulsory transfer variable. The first PLC analyzes the transfer instruction information, obtains the analysis results, and returns the analysis results to a second PLC corresponding to the target work station, which in turn controls the target work station based on the analysis results to perform the transfer task of the spool package.
[0005] According to a second aspect of this disclosure, a control device for automatic transfer of yarn packages is provided for application to a control system for automatic transfer of yarn packages, the system for automatic transfer of yarn packages includes a Manufacturing Execution System (MES), a first Programmable Logic Controller (PLC), and a plurality of second PLCs for controlling at least one work station, each of which is connected to the first PLC, and the first PLC is connected to the MES. The control device for the automatic transfer of the yarn package is: A first control module controls the first PLC to acquire second business data for the target work station, including a forced transfer variable of 1, from a second PLC corresponding to the target work station, and to acquire first business data for the target work station based on the second business data. A first PLC transmits first business data to the MES, and a second control module controls the MES to receive transfer instruction information, which is a transfer authorization determined for the target work station based on the forced transfer variable. The system includes a first PLC that analyzes transfer instruction information, obtains the analysis results, and returns the analysis results to a second PLC corresponding to the target work station, thereby controlling the second PLC to control the target work station based on the analysis results to perform the transfer task of the spool package, and a third control module for this purpose.
[0006] According to a third aspect of this disclosure, an electronic device is provided, and the electronic device is At least one processor, Includes memory that is communicably connected to at least one processor, The memory stores instructions that can be executed by the at least one processor, and these instructions are executed by the at least one processor so that the at least one processor can perform any of the embodiments of the present disclosure.
[0007] A fourth aspect of the present disclosure provides a non-temporary, computer-readable storage medium in which computer commands are stored, the computer commands being used to cause a computer to perform any of the embodiments of the present disclosure. [Effects of the Invention]
[0008] The technology disclosed herein enables automated offline forced transfer management of yarn packages and improves the transfer efficiency of yarn packages.
[0009] Please understand that the information provided in the Summary of the Invention does not limit the key points or important features of the embodiments of this disclosure, nor does it limit the scope of this disclosure. Other features of this disclosure will be readily apparent from the following description.
[0010] The above and other features, advantages and aspects of each embodiment of this disclosure will become more apparent by referring to the following detailed description together with the accompanying drawings. In the drawings, the same or similar reference numerals indicate the same or similar elements. [Brief explanation of the drawing]
[0011] [Figure 1] Figure 1 is a schematic diagram of a control system for the automatic transfer of a wound yarn package according to an embodiment of the present disclosure. [Figure 2] Figure 2 is a flowchart of a control method for the automatic transfer of a wound yarn package according to an embodiment of the present disclosure. [Figure 3] Figure 3 is a flowchart showing the process by which the first PLC according to the embodiment of this disclosure sends a forced transport request to the MES. [Figure 4] Figure 4 is a flowchart showing the process by which the MES according to the embodiment of this disclosure generates transfer instruction information, and then the first PLC transmits the transfer instruction information to the second PLC. [Figure 5] Figure 5 is a schematic diagram of the configuration of a control device for automatic transfer of a wound yarn package according to an embodiment of the present disclosure. [Figure 6] Figure 6 is a block diagram of electronic equipment for realizing the control method for the automatic transfer of a wound yarn package according to an embodiment of the present disclosure. [Modes for carrying out the invention]
[0012] Hereinafter, exemplary embodiments of the present disclosure will be described with reference to the drawings, and various details of the embodiments of the present disclosure will be provided for the sake of ease of understanding, but it should be understood that these are illustrative only. Accordingly, those skilled in the art should be aware that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of known functions and structures have been omitted in the following description.
[0013] Note that the terms "first", "second", "third", etc. in the specification, claims, and drawings of this application are for distinguishing similar objects and not for explaining a specific order or sequence. Also, terms such as "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, covering the inclusion of a series of steps or units. A method, system, product, or device is not necessarily limited to including the explicitly listed steps or units, and may also include those not explicitly listed or other steps or units specific to these processes, methods, products, or devices.
[0014] Before explaining the technical solutions according to the embodiments of the present disclosure, further explanations will be given regarding the technical terms that can be used in the present disclosure.
[0015] MES: A software system for monitoring and managing the manufacturing process, capable of collecting, processing, and analyzing production data in real time, and optimizing production planning and resource allocation. PLC: An industrial digital computer used to control automation equipment such as mechanical devices and robots on the production line. It can perform logical operations and processing on input signals according to a pre-set program and output control signals to control the operation of the equipment. Business data: Data related to operations generated during the manufacturing process, such as equipment status, product quantity, production progress, etc. These data form the basis for decision-making and control by MES and PLC. Transfer instruction information (also called transfer command): Generated after MES analyzes based on business data, and is command and parameter information for instructing equipment to execute a transfer task.
[0016] Figure 1 shows a schematic diagram of a control system for the automatic transfer of winding packages. As shown in Figure 1, the control system for the automatic transfer of winding packages includes MES, a first PLC, and a plurality of second PLCs. The plurality of second PLCs are respectively connected to the first PLC, and the first PLC is connected to MES. Each second PLC is responsible for controlling at least one work station. Here, the second PLC mainly collects and processes the real-time business data of the target work station and provides it to the first PLC. The first PLC is responsible for interacting with the second PLC and obtaining the second business data from the second PLC. The first PLC is responsible for interacting with MES, sending the first business data to MES, receiving the transfer instruction information distributed by MES based on the first business data, and notifying the second PLC to execute the transfer instruction information for the target work station.
[0017] In some embodiments, MES is configured to determine the transfer instruction information for the target work station based on the first business data sent from the first PLC and return the transfer instruction information to the first PLC.
[0018] In some embodiments, the first PLC is configured to obtain the first business data for the target work station based on the second business data for the target work station obtained from the second PLC.
[0019] In some embodiments, each second PLC is configured to obtain and store the second business data of the target work station managed by the second PLC.
[0020] Here, the first business data is collected and processed by the first PLC, and is a data set related to information such as the real-time state of the target work station, the processing progress of the winding package, the detection result of the quality of the winding package, and the required type. These data are of great significance in monitoring the operating state of the production line and allowing transfer decision-making.
[0021] Here, the second operational data is collected and processed by the second PLC and is a data set containing information such as the real-time status of the target work station, the processing progress of the yarn package, the quality detection results of the yarn package, and the barcode of the yarn package. This data is of great importance in monitoring the operating status of the production line.
[0022] The automated transfer control system for yarn packages according to the embodiment of this disclosure enables the MES to monitor the status of each work station in real time and adjust and optimize as needed through real-time communication and data processing between the MES and the first PLC and the second PLC. This automated control reduces manual intervention, improves the efficiency and accuracy of yarn package transfer, reduces material waste and downtime due to human error, and lowers production costs. This automated control ensures the stability and consistency of yarn packages during the transfer process, contributing to an improvement in overall production rhythm and efficiency. By making the first PLC an intermediate layer between the MES and multiple second PLCs, the automated transfer control system for yarn packages has significant advantages in terms of centralized management, data integration, reduced MES load, improved system scalability, improved safety and stability, and simplified network structure.
[0023] If the MES communicates directly with multiple second PLCs, it will need to process a large amount of real-time data and requests, potentially increasing the load on the MES and impacting its performance. On the other hand, by using a first PLC as an intermediate layer, the MES only needs to communicate with the first PLC, reducing its processing burden. Without a first PLC as an intermediate layer, the MES would need to establish direct communication connections with each second PLC, resulting in a complex and difficult-to-manage network configuration. By using a first PLC as a relay, the network configuration can be significantly simplified, making the entire communication process clearer and more orderly. The first PLC acts as a safety barrier, verifying and filtering data from the second PLCs to prevent malicious or erroneous data from entering the MES system. Furthermore, the redundancy and fault tolerance mechanisms of the first PLC improve system stability and reliability, ensuring that the production line continues to operate normally even if some equipment fails.
[0024] As production lines expand and are upgraded, it may be necessary to add more second PLCs. If the MES communicates directly with each second PLC, the MES will need to be reconfigured and modified with each expansion. On the other hand, by using the first PLC as an intermediate layer, support for new second PLCs only needs to be added to the first PLC, eliminating the need to change the MES configuration. The first PLC can centrally receive operational data from multiple second PLCs and perform batch processing and analysis. This method allows for more centralized and orderly control of the entire production line, reducing the complexity and confusion that arises when the MES communicates directly with multiple second PLCs. The first PLC can integrate data from different second PLCs to form a more comprehensive production view, allowing the MES to make decisions based on more comprehensive data and further optimize production planning and resource allocation. The first PLC can also pre-process and filter the data, reducing the amount of data transmitted to the MES and improving communication efficiency.
[0025] Embodiments of the present disclosure provide a method for controlling the automatic transfer of a yarn package, Figure 2 being a flowchart of the method for controlling the automatic transfer of a yarn package according to an embodiment of the present disclosure, the method for controlling the automatic transfer of a yarn package can be applied to a control device for the automatic transfer of a yarn package, the control device for the automatic transfer of a yarn package is installed in electronic equipment applied to the control system for the automatic transfer of a yarn package, the electronic equipment includes, but is not limited to, fixed equipment and / or mobile equipment. For example, fixed equipment includes, but is not limited to, a server, and the server may be a cloud server or a general-purpose server. For example, mobile equipment includes, but is not limited to, a mobile phone, a tablet computer, a laptop computer, etc. In some possible embodiments, the method for controlling the automatic transfer of a yarn package may be implemented by a processor calling computer-readable commands stored in memory. As shown in Figure 2, the method for controlling the automatic transfer of a yarn package includes the following steps.
[0026] S201: The first PLC obtains the second business data for the target work station from the second PLC corresponding to the target work station, and obtains the first business data for the target work station based on the second business data, where the second business data includes a forced transfer variable of 1. S202: The first PLC transmits the first business data to the MES, which receives transfer instruction information determined by the MES for the target work station based on the compulsory transfer variable, where the transfer instruction information is a transfer authorization. S203: The first PLC analyzes the transfer instruction information, obtains the analysis results, and returns the analysis results to the second PLC corresponding to the target work station. The second PLC then controls the target work station based on the analysis results to execute the transfer task of the spool package.
[0027] In some embodiments, the forced transfer variable is a flag or variable in an automated transfer control system for yarn packages that indicates whether the target work station requests forced transfer. If the variable is 1, it indicates that the target work station requests forced transfer.
[0028] In some embodiments, each second PLC collects and processes relevant second operational data (e.g., location, status, and quantity of yarn packages) based on the state of the work station it controls, and stores this data in a data storage area, such as data blocks (DB blocks), that the second PLC assigns to the work station it is responsible for.
[0029] In some embodiments, the first PLC periodically acquires second operational data for each work station from each second PLC and generates first operational data for each work station. This first operational data includes the status and operational information to be performed for all relevant work stations. The MES analyzes the first operational data to determine the transfer instruction information for the target work station (i.e., the work station that should now perform the transfer operation of the spool package). The transfer instruction information includes transfer permission and transfer prohibition. Here, if the transfer instruction information is transfer permission, it may further include parameters such as the specific time of transfer, target position, and speed.
[0030] In some embodiments, the MES transmits the generated transport instruction information to the first PLC via a network or other communication method such as a Management Interface (MI).
[0031] In some embodiments, the first PLC receives transport instruction information from the MES, performs analysis processing, and extracts specific control commands and parameters. After completing the analysis, the first PLC transmits the analysis results (i.e., specific control commands and parameters) to the second PLC corresponding to the target work station via a communication interface or communication protocol.
[0032] In some embodiments, after receiving the analysis results, the second PLC controls the machinery or transfer equipment, such as a robot, at the target work station to perform the yarn package transfer task based on the control commands and parameters in the analysis results.
[0033] In some embodiments, the first PLC establishes a communication connection with a second PLC corresponding to a target work station via a pre-configured communication protocol. The first PLC sends a data request command to the second PLC requesting to retrieve the second business data for the target work station. After receiving the request, the second PLC sends the second business data to the first PLC, including a forced transfer variable (value 1, indicating that the work station is requesting a forced transfer). After receiving the data, the first PLC converts the second business data into first business data applicable to subsequent processing, according to internal logic or pre-configured rules.
[0034] In some embodiments, the first PLC transmits processed first business data (including mandatory transport variables) to the MES via a communication interface. After receiving the first business data, the MES directly generates transport instruction information (e.g., "transport permitted") based on the mandatory transport variables in the data. The MES transmits the transport instruction information to the first PLC via the same or a different communication protocol. After receiving the transport instruction information from the MES, the first PLC performs analysis and extracts important analysis results (e.g., confirmation of whether transport is permitted). The first PLC returns the analysis results to the second PLC corresponding to the target work station via the communication connection. After receiving the analysis results, the second PLC controls the target work station to perform the transport task of the corresponding spool package, e.g., a direct transfer to the next work station, based on the instructions in the results (e.g., transport permitted).
[0035] For example, suppose a production line has multiple work stations, each handling a different processing task. After processing a yarn package at one work station (e.g., a work station for measuring weight), for some reason it needs to proceed directly to the next step. In this case, the second PLC at that work station sends second business data to the first PLC, including a forced transfer variable of 1. After processing, the first PLC sends the second business data to the MES, which, based on the forced transfer variable of 1 in the second business data, determines that the work station can skip the online transfer decision step and sends the instruction "Transfer Permission" to the first PLC. After analysis, the first PLC returns the result to the second PLC, which then sends a command to the transfer equipment (e.g., a conveyor or robotic arm) to transport the processed yarn package to the next work station (e.g., a work station for measuring winding diameter) for subsequent processing.
[0036] The main types of wound yarn packages relating to the technical proposals of the embodiments of this disclosure may include one or more types such as partially oriented yarns (POY), fully drawn yarns (FDY), and drawn textured yarns (DTY) (or referred to as low-elasticity yarns). For example, the yarn types may specifically include polyester partially oriented yarns, polyester fully drawn yarns, polyester drawn yarns, polyester low-elasticity yarns (Polyester Draw Textured Yarns), and polyester staple fibers (PSF).
[0037] In the technical proposals of the embodiments of this disclosure, real-time communication and data processing between the MES, a first PLC, and multiple second PLCs allows the MES to monitor the status of each work station in real time and adjust and optimize the transfer strategy as needed. Automated forced transfer control reduces unnecessary steps and improves the smoothness and efficiency of the entire production line. In the event of specific situations (e.g., equipment failure, material shortage, etc.), the production process can be quickly adjusted to reduce production interruptions. Since the MES makes decisions based on real-time data, the accuracy and responsiveness of production management can be improved.
[0038] In embodiments of the present disclosure, the second PLC controlling a target work station based on analysis results to perform a winding package transfer task includes, if the analysis results permit transfer, the second PLC notifying the transfer equipment or directly controlling the transfer equipment to transport the processed winding packages at the target work station to the next work station.
[0039] Here, transfer equipment refers to automated equipment such as conveyors, robotic arms, and automated guided vehicles used to transport materials (e.g., yarn packages) between different work stations on a production line. The above is merely an illustrative explanation and does not limit all possible equipment included in transfer equipment; it is not exhaustive.
[0040] In some embodiments, the analysis results may include evaluation results from the MES (Manual Energy Execution System) to determine whether the winding package at the target work station meets the transfer conditions, in order to guide subsequent control operations.
[0041] In some embodiments, if the analysis result is "transfer permission," the second PLC transmits a command or signal to the transfer equipment to inform it to prepare for transporting the processed spool packages at the target work station. After receiving the command from the second PLC, the transfer equipment transports the spool packages from the target work station to the next work station according to a pre-set program or route. During the transport process, a series of actions may occur with respect to the spool packages, such as gripping, carrying, and placing, and all of these actions must be precisely controlled to ensure the safe and accurate transport of the spool packages.
[0042] In some embodiments, the second PLC continuously monitors the operating status of the transfer equipment and the transport status of the spool packages. Once transport is complete, the transfer equipment sends a feedback signal to the second PLC to confirm that the current spool package has successfully arrived at the next work station. The second PLC updates its internal state based on the feedback signal and prepares for subsequent control operations.
[0043] For example, suppose a production line has multiple work stations, each responsible for a different processing task. After processing of a yarn package at one work station (e.g., a work station for measuring weight) is complete, a second PLC receives the analysis results from that work station and determines "transfer permitted" if the forced transfer variable is 1, regardless of whether parameters such as weight, specifications, and lot number meet the requirements. The second PLC then sends a command to the transfer equipment (e.g., a conveyor or robotic arm) to transport the processed yarn package to the next work station (e.g., a work station for measuring winding diameter) for subsequent processing.
[0044] Thus, the first PLC and multiple second PLCs enable precise control of the transfer flow of the spooled packages, reducing waiting times and manual intervention, improving the overall efficiency of the production line, reducing errors due to human factors, and enhancing the stability and reliability of the production process. The PLC programming is flexible, allowing for quick adjustment of the control logic according to production needs and adapting to the processing of different types and specifications of spooled packages. The MES's support for forced transfer significantly reduces the time spooled packages spend at the work station, improving the overall smoothness of the production line and effectively reducing energy consumption and labor costs.
[0045] In embodiments of the present disclosure, the control method for the automatic transfer of the spool package further includes setting a forced transfer variable to 1 when a second PLC detects that a control button corresponding to a target work station has been rotated to the manual mode position, where forced transfer variable = 1 indicates that the target work station is requesting forced transfer.
[0046] In some embodiments, the control button is a physical switch or knob for manually controlling the state of equipment or a system, and is used to switch the operating mode (e.g., automatic or manual) of the target work station. The manual mode is a specific position or mark on the control button, and when the button is rotated to this position, it indicates that the manual control mode has been selected to trigger a forced transfer request.
[0047] In some embodiments, the target work station is fitted with a rotation control button having multiple positions (e.g., automatic, manual, etc.), which is used to switch the operating mode of the work station. The second PLC continuously monitors the state of the control button via an internal input module or an external sensor. The second PLC recognizes the change when it detects that the control button has been rotated from automatic mode to manual mode, in particular to the position corresponding to "manual mode". When the second PLC detects that the control button has been rotated to the manual mode position, it immediately sets an internally stored forced transport variable (usually a single flag or variable) to 1. This operation indicates that the target work station is now requesting forced transport. The second PLC then updates the relevant internal operational data and prepares to transmit this data (including the new forced transport variable value) to the first PLC, the update including the information that the forced transport variable is 1. Data transmission may be performed via a previously established communication connection.
[0048] Taking an automated packaging line in the chemical fiber industry as an example, a sudden malfunction at a quality inspection work station may cause the quality inspection to be stopped and the quality inspection step to be skipped. In this case, the operator must quickly arrive at the work station and switch the control button on the quality inspection work station from automatic mode to manual mode. At this time, a second PLC detects this change, sets the forced transfer variable to 1, and triggers the subsequent automatic forced transfer control flow. Ultimately, the quality inspection step at that work station is successfully skipped, and the next process is executed.
[0049] Thus, by introducing control buttons, operators are allowed to directly intervene in the production process in specific situations, improving the system's flexibility and ability to respond to unexpected events. If it is urgently necessary to skip a work station, the operator can trigger a forced transfer request by quickly rotating the control button, and the system can respond quickly and execute the corresponding control logic. Furthermore, when equipment malfunctions or maintenance is performed, parts of the production line can be bypassed through manual control, reducing overall downtime and improving production efficiency.
[0050] In embodiments of the present disclosure, the method for controlling the automatic transfer of a wound yarn package further includes determining that the transfer instruction information is a transfer permission when the MES detects that a forced transfer variable of 1 exists in the first business data.
[0051] In some embodiments, the MES receives first business data transmitted from the first PLC via its communication interface. This data includes various information about the target work station, including a compulsory transport variable. An internal data processing module in the MES analyzes the received first business data and extracts important information, particularly the value of the compulsory transport variable. During the analysis process, the MES checks the value of the compulsory transport variable. If it is detected that the compulsory transport variable = 1, this means that the target work station is requesting compulsory transport. Because the compulsory transport variable is 1, the MES determines that the transport instruction information is "transport permitted". The MES explicitly indicates that the transport of the target work station is permitted and sends this information back to the first PLC via the communication interface.
[0052] In an automated production line, if a notification is temporarily received to increase production volume, the operator switches the control button from automatic mode to manual mode to complete the task on time. At this time, the second PLC detects this situation and sends second business data to the first PLC, including that the forced transfer variable is 1. After processing, the first PLC sends first business data, including the same forced transfer variable, to the MES. Upon receiving the data, the MES immediately analyzes and checks the value of the forced transfer variable, confirms that it is 1, and then quickly generates instruction information indicating "transfer permitted" and sends it to the first PLC. The first PLC then transmits this information to the second PLC, which ultimately controls the target work station to directly execute the transfer task.
[0053] In this way, by directly checking the mandatory transfer variable in the first business data, the MES can make quick and accurate decisions on whether or not to permit a transfer, reducing the possibility of human intervention and misjudgment. When the MES detects a mandatory transfer request, it can immediately generate and transmit transfer instruction information, thereby accelerating the response speed of the entire transfer control flow. If it is urgently necessary to bypass a work station or step, the MES's automatic decision-making ability can ensure that the production process runs smoothly, reducing production interruptions and resource waste.
[0054] In embodiments of the present disclosure, the method for controlling the automatic transfer of a wound yarn package further includes the MES recording the first business data and not executing the online transfer condition determination process when the MES detects that the forced transfer variable = 1 exists in the first business data.
[0055] In some embodiments, the online transfer condition determination process includes the MES evaluating and analyzing received operational data according to predetermined rules and algorithms to determine whether the target work station is permitted to perform the transfer operation. These conditions may include various factors such as production plans, equipment status, and material supply status.
[0056] In some embodiments, upon receiving first business data transmitted from a first PLC, the MES first performs data reception and initial verification. If the data format is accurate and includes valid forced transport variables, the MES fully records this data in its internal database or log system to facilitate tracking of subsequent data. The recorded content may include key fields of all or part of the first business data, and information such as a timestamp indicating that the data was received.
[0057] In some embodiments, under normal circumstances, the MES processes the received business data based on pre-configured rules and algorithms to determine whether or not to permit the transfer of the target work station. However, if the MES detects that the first business data includes a mandatory transfer variable = 1, it skips this step without performing the online transfer condition determination process, directly determines that the transfer instruction information is "transfer permitted," generates corresponding instruction information, and transmits it to the first PLC. This instruction information clearly notifies the first PLC and the second PLC corresponding to the target work station that any step or the entire transfer flow at the current work station is permitted to be skipped.
[0058] In some embodiments, after transmitting instruction information, the MES may continuously monitor the subsequent production status of the work station and update its internal production plan and status information as appropriate. The MES may also retain the previously recorded first operational data to perform subsequent tasks such as data analysis, fault investigation, or audit.
[0059] Taking an automated packaging line in the chemical fiber industry as an example, one lot of yarn packages is prototyped in advance. The operator switches the control buttons at each work station to manual mode, and each work station sends a forced transfer request, setting the forced transfer variable to 1. After the second PLC detects the request, it sends second business data to the first PLC, including that the forced transfer variable is 1. The first PLC processes the data and then forwards it to the MES. After receiving the data, the MES immediately records this data, skipping the online transfer condition determination process, directly determines that the transfer instruction information is "transfer permitted," and sends the instruction information to the first PLC. The second PLC then controls the work stations so that the yarn packages are directly transferred, thus completing the production of the prototyped yarn packages in a relatively short time.
[0060] By skipping the online transfer condition determination process, the MES can respond more quickly to forced transfer requests, reducing unnecessary calculations and resource consumption. Responding quickly to forced transfer requests in emergencies helps reduce the risk of production interruptions and fault propagation, improving the overall stability and reliability of the production system. The MES recording initial operational data allows for tracking and analysis of transfer requests in subsequent production processes and workstations, providing data-driven support for improving production processes and optimizing system performance.
[0061] In embodiments of this disclosure, the online transfer condition determination process may include determining whether the spool package at the target work station satisfies the transfer conditions based on target string data corresponding to the target work station, determining that the transfer instruction information is transfer permitted if the transfer conditions are met, and determining that the transfer instruction information is transfer prohibited if the transfer conditions are not met. Here, the target string data is obtained by the MES analyzing the first business data.
[0062] In some embodiments, the transfer instruction information is information indicating whether the yarn package in the production line is permitted to be transported to the next work station for further processing. Depending on the determination of the transfer conditions, the transfer instruction information may be "transfer permitted" or "transfer prohibited."
[0063] In some embodiments, the MES first receives first operational data transmitted from a first PLC. This data typically includes status information of a target work station on the production line, processing progress of the yarn package, quality detection results, and the transfer request number. The MES includes a dedicated data analysis module for analyzing the received first operational data and extracting target string data corresponding to the target work station. This target string data may be encoded and represent a specific operating state or attribute.
[0064] In some embodiments, the MES further analyzes the target string data obtained through analysis by comparing it with pre-set transfer conditions. These transfer conditions may include whether the processing quality of the spool package has met the target, whether all processing tasks at the current work station have been completed, and whether there is any equipment failure or production abnormality. If the spool package at the target work station satisfies all pre-set transfer conditions, the MES determines that the transfer instruction information is "transfer permitted," indicating that the spool package can be safely transported to the next work station for processing. If the spool package at the target work station does not meet any of the transfer conditions, the MES determines that the transfer instruction information is "transfer prohibited," and can notify on-site staff to inspect and process the package by triggering the corresponding alarm mechanism.
[0065] In some embodiments, the MES transmits the determination result (transfer permitted or transfer prohibited) as transfer instruction information to a second PLC or other related control equipment via a communication interface. Based on the received transfer instruction information, these transfer equipment executes the corresponding control logic, for example, starting or stopping the transport operation of the spool package.
[0066] Taking an automated packaging line in the chemical fiber industry as an example, the first PLC detects that processing of a yarn package at a certain work station (e.g., a work station for measuring weight) is complete, and then transmits first operational data, including status information of the work station, to the MES. After receiving the data, the MES first obtains target string data (e.g., the QR code® of the yarn package for the transfer request, weight information) through analysis, and then compares it with pre-set transfer conditions (e.g., whether the weight of the yarn package of this standard is within the acceptable range; Grade A: within the acceptable range, Grade B: too light, Grade C: too heavy). If the quality level of the yarn package is Grade A, the MES determines that the transfer instruction information is "transfer permitted" and notifies the second PLC to start the transfer operation of the yarn package. If the quality level of the yarn package is Grade B or C, the MES determines that "transfer prohibited" and triggers an alarm mechanism.
[0067] Thus, by analyzing the first operational data and precisely determining the transport conditions using MES, it is possible to ensure that only spool packages that meet the requirements are transported, thereby improving the accuracy and reliability of production. Furthermore, by timely detection and prevention of the transport of spool packages that do not meet the transport conditions, abnormal situations in the production process, such as equipment failures and quality problems, can be reduced, thereby lowering production risks. By automatically determining and issuing instructions for transport information, manual intervention and waiting times can be reduced, improving the overall operational efficiency of the production line.
[0068] In the embodiments of this disclosure, the acquisition of second business data for a target work station by a first PLC from a second PLC corresponding to a target work station includes the first PLC periodically acquiring the second business data for a target work station from the second PLC.
[0069] In some embodiments, the first PLC is equipped with a timer for controlling the time interval for data acquisition. This time interval can be adjusted according to the actual needs of the production line to ensure that the latest data is acquired in a timely manner, while also avoiding increased system load due to frequent data exchange. When the timer reaches the set time, the first PLC sends a data request signal to the second PLC. This signal includes information such as the type of data to be acquired and the identifier of the target work station, so that the second PLC can accurately return the corresponding data.
[0070] In some embodiments, after receiving a data request from the first PLC, the second PLC retrieves the second operational data for the target work station from its own database or a real-time data buffer based on the information in the request and transmits it to the first PLC via a communication interface. This data may include the real-time status of the target work station, processing progress, quality detection results, etc.
[0071] In some embodiments, the first PLC acquires second business data, then analyzes and processes the second business data to extract information necessary for subsequent decisions or control operations. This data may then be used to update related data or generate reports in the MES.
[0072] In this way, by periodically acquiring second operational data from the target work station from the second PLC, it is possible to monitor the status of the production line in real time, ensuring transparency and traceability of the production process. Based on real-time data, the MES or the first PLC can promptly detect abnormal conditions in the production process and take appropriate adjustment measures, such as stopping transfers or adjusting process parameters, to improve production efficiency and product quality. By analyzing historical and real-time data, it is possible to provide strong support for decision-making to optimize the production line, such as predicting production trends and optimizing production plans.
[0073] In embodiments of the present disclosure, the acquisition of first business data by a first PLC based on second business data of a target work station obtained from a second PLC corresponding to the target work station includes the first PLC converting the second business data into first business data in a data storage format according to a pre-configured data storage format, where the first business data is stored in a data storage area assigned by the first PLC to the target work station, and different types of variables in the first business data correspond to different fixed addresses in the data storage area.
[0074] Here, a data storage format is a specific format or specification used during the storage or transmission of data, and includes the data type, data units, data encoding, etc.
[0075] Here, the data storage area is a specific area within the first PLC for storing data.
[0076] Here, a fixed address is a unique and immutable memory location within the data storage area that is assigned to a different variable. Fixed addresses enable rapid access to and modification of variables.
[0077] In some embodiments, in an automated transfer control system for yarn packages, a first PLC is responsible for generating first operation data for a target work station based on second operation data for that work station. This data may include various types of information, such as status codes, numerical parameters, and timestamps. A pre-configured data storage format is placed inside the first PLC to ensure that data can be efficiently exchanged and analyzed between different PLCs or between a PLC and an MES. The first PLC converts the second operation data according to this pre-configured format. The conversion process may include conversion of data types (e.g., integer to floating-point), unification of data units (e.g., millimeter to inch), and decoding of encoded data (e.g., number system conversion). The converted data is first operation data and, since it conforms to the pre-configured data storage format, subsequent processing and transmission can be facilitated. The first PLC allocates a dedicated data storage area to each target work station in the production line. The first operation data is stored in the data storage area corresponding to the target work station. During storage, different variables (e.g., status codes, numerical parameters, etc.) are assigned to different fixed addresses in the storage area. When it is necessary to read or modify the value of a variable, it can be accessed directly using its corresponding address, thereby improving the efficiency of data processing.
[0078] Thus, the pre-configured data storage format and format conversion process ensure consistency and accuracy in the exchange and processing of data from different sources. Assigning a fixed storage address to each variable simplifies data access and processing, improving overall system performance. The allocation of data storage areas and the definition of the format offer a degree of flexibility, allowing for expansion and adjustment according to the actual needs of the production line.
[0079] In the following, using IT-PLC as an example to represent the first PLC and ME-PLC as the second PLC, we will explain the processing flow of the first PLC, which is the intermediate layer between the MES and the second PLC.
[0080] Figure 3 is a flowchart of the process by which the first PLC sends a forced transport request to the MES. As shown in Figure 3, the flow includes the following steps:
[0081] S301: The system is starting up.
[0082] S302: The IT-PLC periodically retrieves ME_CTRL_WRD and REQUEST_TYPE from the corresponding workstation DB block in the ME-PLC. Here, ME_CTRL_WRD represents the control digit of the target work station, and REQUEST_TYPE represents the request type of the target work station.
[0083] Furthermore, to ensure data integrity and accuracy, the ME-PLC should check the ME_MSG.ME_AVI_MSG file that it has written to its corresponding workstation DB block.
[0084] For example, ME_CTRL_WRD is obtained from DB6101.ME_MSG.ME_CTRL_WRD, and REQUEST_TYPE is obtained from DB6101.ME_MSG.ME_AVI_MSG. Here, 6101 is the number of the target workstation, DB6101.ME_MSG represents the DB block that the ME-PLC has assigned to workstation number 6101, DB6101.ME_MSG.ME_AVI_MSG represents a variable for storing the second business data written by the ME-PLC that the ME-PLC has assigned to workstation number 6101, and ME_MSG.ME_AVI_MSG represents the second business data written by the ME-PLC, such as the serial number and request type. DB6101.ME_MSG.ME_CTRL_WRD is a variable for storing the control digit of the workstation in the DB block that the ME-PLC has assigned to workstation number 6101.
[0085] S303: Determine whether DB6101.ME_MSG.ME_AVI_MSG.REQUEST_TYPE is "TRM*". If the result is YES, execute S304. If the result is NO, return to S302.
[0086] Here, the IT-PLC retrieves ME_AVI_MSG.REQUEST_TYPE="TRM*" from the DB block of the corresponding workstation in the ME-PLC.
[0087] Here, ME_AVI_MSG.REQUEST_TYPE = "TRM*" indicates that the request type for the ME-PLC is "TRM*".
[0088] When the ME-PLC identifies that the target work station is requesting a forced transfer, it distinguishes it from the "TR**" string used for normal online transfers by writing the string "TRM*" to the transfer information of the current work station.
[0089] Here, DB6101.ME_MSG.ME_AVI_MSG.REQUEST_TYPE is a variable used to store the request type in the DB block that the ME-PLC has assigned to the workstation number 6101.
[0090] S304: The IT-PLC sets the control digits and clears the data buffer area to ensure that the current flow is not affected by residual data in other flows, and then executes S305.
[0091] S305: Determine whether DB6101.ME_MSG.ME_CTRL_WRD.ASSY_COMPLETE_FORCE is 1. If the result is YES, execute S306. If the result is NO, return to S305.
[0092] Here, the IT-PLC retrieves ME_CTRL_WRD.ASSY_COMPLETE_FORCE from the DB block of the corresponding workstation in the ME-PLC.
[0093] Here, ME_CTRL_WRD.ASSY_COMPLETE_FORCE=1 indicates that the ME-PLC has already set and initiated forced transfer.
[0094] DB6101.ME_MSG.ME_CTRL_WRD.ASSY_COMPLETE_FORCE is a variable used by the ME-PLC to remember that it has already set up and initiated forced transfer of a DB block that the ME-PLC has assigned to work station number 6101.
[0095] S306: The IT-PLC sets DB6101.IT_MSG.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED, and then executes S307.
[0096] Here, IT_MSG.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED indicates that the IT-PLC has received a message that the ME-PLC has already set up and initiated the forced transfer. DB6101.IT_MSG indicates the DB block that the IT-PLC has assigned to workstation 6101.
[0097] DB6101.IT_MSG.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED is a variable used to store that the IT-PLC has received a message that the ME-PLC has already set up and initiated forced transfer in the DB block assigned to work station 6101.
[0098] S307: Constructs AVI_REQUEST and writes DB6101.MI_REQUEST.AVI_REQUEST to it.
[0099] Here, AVI_REQUEST is an abbreviation for MI_REQUEST.AVI_REQUEST, and indicates the request string that the IT-PLC sends to the MES.
[0100] DB6101.MI_REQUEST.AVI_REQUEST is a variable used to store the request string in the DB block that the IT-PLC has assigned to the work station number 6101.
[0101] Here, FC is a customized function module. FC60132 is the function module number, and it is used to synthesize AVI_REQUEST to the workstation number 6101.
[0102] Here, the variables in DB6101 are assigned to the corresponding pins on FC60132, and FC60132 outputs AVI_REQUEST.
[0103] S308: Determine whether the length of AVI_REQUEST is 78. If the result is YES, execute S313; if the result is NO, execute S309. Here, 78 is a preset length threshold, which can be set or adjusted as needed.
[0104] S309: Write error code 3533 to IT_RES_1. Here, error code 3533 indicates that the length of AVI_REQUEST is not 78.
[0105] S310: Send IT_RES_1 containing error code 3533 to the ME-PLC with a PUT command. S311: Determine whether the ERROR in the PUT command is 0. If the result is NO, execute S312. If the result is YES, execute S315.
[0106] S312: Call FB64001 and write error code 3570, then return to S309. Here, error code 3570 indicates that ERROR ≠ 0 in the PUT command and that the PUT command was issued when the length of AVI_REQUEST ≠ 78.
[0107] Set S313:DB6101.IT_MSG.IT_CTRL_WRD.TR_SENT. Here, IT_MSG.IT_CTRL_WRD.TR_SENT indicates that the IT-PLC will write and set AVI_REQUEST.
[0108] Here, DB6101.IT_MSG.IT_CTRL_WRD.TR_SENT is a variable that indicates the IT-PLC has assigned to the workstation number 6101 and that the IT-PLC has written and set AVI_REQUEST in the DB block.
[0109] Set S314:DB6101.IT_MSG.IT_CTRL_WRD.TS_RECEIVED. IT_MSG.IT_CTRL_WRD.TS_RECEIVED indicates that the IT-PLC should be set if there are no errors in the ME-PLC data received by the IT-PLC.
[0110] Here, DB6101.IT_MSG.IT_CTRL_WRD.TS_RECEIVED is a variable that indicates that there are no errors in the ME-PLC data received by the IT-PLC in the DB block that the IT-PLC has assigned to the workstation number 6101.
[0111] After the IT-PLC sets IT_MSG.IT_CTRL_WRD.TS_RECEIVED, it waits for the MES to process the data. The MES typically performs the following steps: it reads the request string sent from the IT-PLC, writes it to the database, resets AVI_REQUEST, and then sends the response string to the IT-PLC.
[0112] S315: The IT-PLC clears and resets the control digit corresponding to the work station, and resets the business data area corresponding to the work station. Here, the IT-PLC clearing and resetting the corresponding control digit may include the following:
[0113] DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED=0, DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.TR_SENT=0, DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.TS_RECEIVED=0, DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.MES_COMPLETE=0, Clear the temporary variables used in DB6901.
[0114] Here, DB6901 indicates the area in the DB block allocated by the ME-PLC to the workstation number 6101 for storing temporary variables. Here, DB6101.IT_MSG represents a data buffer area for storing various variables in the DB block, which the ME-PLC has assigned to the workstation number 6101.
[0115] Here, IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED is a variable used to confirm that the ME-PLC has already received confirmation that it has set and started transporting the data.
[0116] Here, IT_CTRL_WRD.TR_SENT is a variable that indicates the IT-PLC will write and set AVI_REQUEST. Here, IT_CTRL_WRD.TS_RECEIVED indicates a variable that the IT-PLC sets when it receives data from the MES.
[0117] Here, IT_CTRL_WRD.MES_COMPLETE indicates that the IT-PLC notifies the ME-PLC that data processing is complete. Here, resetting the business data area corresponding to the IT-PLC involves calling FC64006 to reset DB6101.ME_AVI_MSG and calling FC64008 to reset the DB6101.IT_RES_1 area.
[0118] Here, FC64006 is a module that integrates the function of resetting ME_AVI_MSG. FC6008 is a module that integrates the function of resetting IT_RES_1.
[0119] In addition to Figure 3, Figure 4 shows a flowchart of the process in which the first PLC transmits the transfer instruction information to the second PLC after the MES has generated the transfer instruction information. As shown in Figure 4, the flow includes the following steps.
[0120] S316: Determine whether there is data in DB6101.MI_RESPONSE.AVI_RESPONSE1. If the result is NO, continue executing S316. If the result is YES, execute S317.
[0121] Here, MI_RESPONSE.AVI_RESPONSE1 represents the response string sent from the MES to the IT-PLC. DB6101.MI_RESPONSE.AVI_RESPONSE1 is a variable used to store the response string sent from the MES to the IT-PLC in the DB block that the IT-PLC has assigned to workstation number 6101.
[0122] Call S317:FC64002 and parse AVI_RESPONSE1 to the corresponding location in DB6101.IT_MSG.UDT_IT_MSG_1.IT_RES_1. Here, IT_MSG.UDT_IT_MSG_1.IT_RES_1 (abbreviated as IT_RES_1) represents the first business data output by the IT-PLC, such as the processing result.
[0123] S318: IT-PLC extracts the top 3 and bottom 3 digits of the string MI_RESPONSE.AVI_RESPONSE1 and converts the top 3 digits to the target integer type. Here, the type name of the target integer type is "int".
[0124] Furthermore, the format of the response string returned from MES must be accurate, and formatting errors are not permitted. The reason for adding a format check is to perform a second check.
[0125] S319: Determine whether the top 3 digits (Int) are 50 and the bottom 3 digits (String) are END. If the result is NO, execute S320; if the result is YES, execute S324.
[0126] Here, String indicates the data type of a string. Here, the IT-PLC checks whether the response string sent back from the MES is valid or invalid based on the upper three digits and lower three digits of the string.
[0127] Write error code 1508 to S320:IT_RES_1. In this case, error code 1508 indicates that the upper three digits (Int) ≠ 50 or the lower three digits (String) ≠ END, meaning that MES is not returning response information in the specified format.
[0128] S321: Send IT_RES_1 containing error code 1508 to the ME-PLC with a PUT command.
[0129] S322: Determine whether the ERROR in the PUT instruction is 0. If the result is NO, execute S323. If the result is YES, execute S315.
[0130] S323: Call FB64001 and write error code 3565, then return to S320. Here, error code 3565 indicates that ERROR ≠ 0 in the PUT statement, and that the PUT command was issued when the upper 3 digits (Int) ≠ 50 or the lower 3 digits (String) ≠ END.
[0131] S324: Determine whether RESPONSE_ERROR is 0. If the result is YES, execute S329. If the result is NO, execute S325.
[0132] DB6101.IT_MSG.UDT_IT_MSG_1.IT_RES_1.RESPONSE_ERROR is a variable used to store whether or not there were errors in the response string sent from the MES to the IT-PLC in the DB block that the IT-PLC assigned to the work station number 6101.
[0133] Here, RESPONSE_ERROR=0 indicates that there are no errors in the response string sent from the MES to the IT-PLC.
[0134] S325: Write error code 3535 to IT_RES_1. Here, error code 3535 indicates that RESPONSE_ERROR ≠ 0.
[0135] S326: Send IT_RES_1 containing error code 3535 to the ME-PLC with a PUT command. Here, error code 3535 indicates that the response information returned from the MES contains information about the error code.
[0136] S327: Determine whether the ERROR in the PUT command is 0. If the result is YES, execute S315. If the result is NO, execute S328.
[0137] S328: Call FB64001 and write error code 3559, then return to S325. Here, error code 3559 indicates that ERROR≠0 in the PUT command and that the PUT command was issued when RESPONSE_ERROR≠0.
[0138] Call S329:FC60157 to update the queue on the production line. Here, the FC60157 is a module that integrates functions for updating queues on the production line.
[0139] S330: IT-PLC clears AVI_RESPONSE1. Here, AVI_RESPONSE1 indicates that the response string sent from the MES to the IT-PLC has been completed.
[0140] S331: The IT-PLC outputs IT_RES_1 to the ME-PLC.
[0141] S332: Determine whether the ERROR in the PUT command is 0 and the STATUS is 0000H. If the result is NO, execute S333. If the result is YES, execute S334.
[0142] Here, ERROR=0 indicates that there is no error in the PUT command. STATUS=0000H indicates that the status value is 0, and H represents a hexadecimal number. The PUT command is a command for sending data from the IT-PLC to the ME-PLC.
[0143] S333: Call FB64001 and write error code 3536, then return to S331.
[0144] S334: The IT-PLC sets DB6101.IT_MSG.IT_CTRL_WRD.MES_COMPLETE.
[0145] DB6101.IT_MSG.IT_CTRL_WRD.MES_COMPLETE is a variable used to store the notification from the IT-PLC to the ME-PLC that data processing is complete in the DB block that the IT-PLC has assigned to the workstation number 6101.
[0146] Here, IT_MSG.IT_CTRL_WRD.MES_COMPLETE indicates that the IT-PLC notifies the ME-PLC that data processing is complete.
[0147] S335: Determine whether ME_CTRL_WRD.YARN_LEAVE is 1 or ME_CTRL_WRD.ME_RESET is 1. If the result is YES, execute S315; otherwise, return to S335.
[0148] Here, ME_MSG.ME_CTRL_WRD.YARN_LEAVE indicates that the ME-PLC's yarn package is ready for detachment.
[0149] ME_CTRL_WRD.ME_RESET indicates that the ME-PLC has finished controlling and transferring the spool package at the work station and has set the control digit for that work station. ME_CTRL_WRD.ME_RESET=1 means that all current processes have been completed correctly, the set flag has been set to 1, and it is now possible to perform a termination reset.
[0150] The above-mentioned work station number, error code number, DB block number, variable name, storage address name, FC function module name, and FB function module name are merely examples and not limiting; they can all be set or adjusted according to actual needs.
[0151] The schematic diagrams shown in Figures 1, 3, and 4 are illustrative, non-limiting, and expandable, and those skilled in the art can make various obvious changes and / or substitutions based on the examples in Figures 1, 3, and 4, and the resulting technical solutions should be understood to still fall within the scope of the embodiments of this disclosure.
[0152] Embodiments of the present disclosure provide a control device for automatic transfer of yarn packages applied to a control system for automatic transfer of yarn packages, the control device for automatic transfer of yarn packages includes an MES, a first PLC and a plurality of second PLCs, each of which is connected to the first PLC, the first PLC is connected to the MES, and each second PLC is used to control at least one work station, as shown in Figure 5, the control device for automatic transfer of yarn packages A first control module 501 controls the first PLC to acquire second business data for the target work station, including a forced transfer variable of 1, from a second PLC corresponding to the target work station, and to acquire first business data for the target work station based on the second business data. A first PLC transmits first business data to the MES, and a second control module 502 controls the MES to receive transfer instruction information, which is a transfer authorization determined for the target work station based on the forced transfer variable. The system includes a first PLC that analyzes transfer instruction information, obtains the analysis results, and returns the analysis results to a second PLC corresponding to the target work station, thereby controlling the second PLC to control the target work station based on the analysis results to perform the transfer task of the spool package, and a third control module 503 for this purpose.
[0153] In some embodiments, the control device for the automatic transfer of the spool package further includes a fourth control module (not shown in Figure 5) for controlling the transfer equipment to notify or directly control the transfer equipment so that, if the analysis result is that transfer is permitted, the processed spool package at the target work station is transferred to the next work station of the target work station.
[0154] In some embodiments, the control device for the automatic transfer of the spool package further includes a fifth control module (not shown in Figure 5) for controlling a second PLC to set a forced transfer variable to 1 when it detects that a control button corresponding to the target work station has been rotated to manual mode, where forced transfer variable = 1 indicates that the target work station is requesting forced transfer.
[0155] In some embodiments, the control device for the automatic transfer of the spool package further includes a sixth control module (not shown in Figure 5) for controlling the MES to determine that the transfer instruction information is a transfer permission when it detects the presence of a forced transfer variable of 1 in the first business data.
[0156] In some embodiments, the control device for the automatic transfer of the spool package further includes a forced transfer processing module (not shown in Figure 5) for controlling the MES to record the first business data and not execute the online transfer condition determination process when the MES detects that a forced transfer variable of 1 exists in the first business data.
[0157] In some embodiments, the control device for the automatic transfer of the spool package further includes a seventh control module (not shown in Figure 5) for controlling whether the spool package at the target work station satisfies the transfer conditions based on target string data corresponding to the target work station, determining if the transfer conditions are met, determining that the transfer instruction information is transfer permitted, and determining that the transfer instruction information is transfer prohibited if the transfer conditions are not met, wherein the target string data is obtained by the MES analyzing the first business data.
[0158] In some embodiments, the control device for the automatic transfer of the yarn package further includes a first control module 501 for controlling the first PLC to periodically acquire second operational data of the target work station from the second PLC.
[0159] In some embodiments, the control device for the automatic transfer of the spool package further includes an eighth control module (not shown in Figure 5) for controlling the first PLC to convert second business data into first business data in a data storage format according to a preset data storage format, the first business data being stored in a data storage area assigned by the first PLC to the target work station, and different types of variables in the first business data corresponding to different fixed addresses in the data storage area.
[0160] Those skilled in the art will understand that the functions of each processing module in the control device for automatic transfer of a wound yarn package according to the embodiments of the present disclosure can be understood by referring to the above-described method for controlling the automatic transfer of a wound yarn package, and that each processing module in the control device for automatic transfer of a wound yarn package according to the embodiments of the present disclosure may be implemented by analog circuits that implement the functions according to the embodiments of the present disclosure, or by the execution of software on an electronic device that performs the functions according to the embodiments of the present disclosure.
[0161] The control device for automatic transfer of a wound yarn package according to the embodiment of this disclosure can realize automated offline forced transfer management of the wound yarn package and improve the transfer efficiency of the wound yarn package.
[0162] According to embodiments of the present disclosure, the present disclosure further provides electronic devices and readable storage media.
[0163] Figure 6 is a block diagram of the configuration of an electronic device according to one embodiment of the present disclosure. As shown in Figure 6, the electronic device includes a memory 610 and a processor 620, the memory 610 storing a computer program that can be executed by the processor 620. The number of memories 610 and processors 620 may be one or more. The memory 610 may store one or more computer programs. When the one or more computer programs are executed by the electronic device, the electronic device can perform the method provided in the embodiment of the above method. The electronic device may further include a communication interface 630 for communicating with external devices and exchanging and transmitting data.
[0164] If the memory 610, processor 620, and communication interface 630 are separate components, they can be connected to each other and communicate with each other via a bus. This bus may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. For convenience, Figure 6 shows only one thick line, but this does not mean that only one bus or one type of bus exists.
[0165] If, as a selective and specific implementation, the memory 610, processor 620, and communication interface 630 are integrated onto a single chip, the memory 610, processor 620, and communication interface 630 can communicate with each other via an internal interface.
[0166] The processor may be a Central Processing Unit (CPU), a general-purpose processor, a Digital Signal Processing (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic devices, discrete gates, transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any ordinary processor. Furthermore, the processor may be a processor capable of supporting an Advanced RISC Machine (ARM) architecture.
[0167] Furthermore, the memory may selectively include read-only memory and random access memory, or non-volatile random access memory. The memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Non-volatile memory may include ROM (Read-Only Memory), Programmable ROM (PROM), Erasable PROM (EPROM), Electrically EPROM (EEPROM), or flash memory. Volatile memory may include Random Access Memory (RAM) used as an external cache. The above description is illustrative and not restrictive. Many forms of RAM are available. For example, static random access memory (Static RAM, SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Date SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchlink dynamic random access memory (Synchlink DRAM, SLDRAM), and direct memory bus random access memory (Direct RAM BUS RAM, DR RAM) may be used.
[0168] In the embodiments described above, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. If implemented by software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the flows or functions described in the embodiments of this disclosure are generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable device. The computer instructions may be stored on a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired connection (e.g., coaxial cable, optical fiber, digital subscriber line, DSL) or wireless connection (e.g., infrared, Bluetooth®, microwave, etc.). The computer-readable storage medium may be any available medium accessible by a computer, or it may be a data storage device such as a server or data center that includes one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, or magnetic tapes), optical media (e.g., Digital Versatile Discs (DVDs)), semiconductor media (e.g., Solid State Disks (SSDs)), etc. The computer-readable storage medium according to this disclosure may also be a non-volatile storage medium, in other words, a non-temporary storage medium.
[0169] Those skilled in the art will understand that all or part of the steps for realizing the above embodiment may be completed by hardware, or by a program that instructs the relevant hardware, and that the program may be stored in a computer-readable storage medium, the storage medium may be a read-only memory, a magnetic disk, or an optical disk, etc.
[0170] In the descriptions of the embodiments of this disclosure, the terms “one embodiment,” “several embodiments,” “examples,” “specific examples,” or “several examples” mean that the specific features, structures, materials, or characteristics described in relation to such embodiment or example are included in at least one embodiment or example of this disclosure. Furthermore, the specific features, structures, materials, or characteristics described may be combined in an appropriate manner in any one or more embodiments or examples. Furthermore, a person skilled in the art may combine different embodiments or examples and features in different embodiments or examples described herein, provided that they do not conflict with each other.
[0171] In the description of the embodiments of this disclosure, unless otherwise specified, " / " means "or," for example, "A / B" can represent "A" or "B." The "and / or" statements in this specification are merely related relationships that describe related subjects and mean that there are three possible relationships, for example, "A and / or B" can indicate three situations: "A" exists alone, "A" and "B" exist together, and "B" exists alone.
[0172] In the description of the embodiments of this disclosure, the terms “first” and “second” are for distinction purposes only and should not be understood to indicate or imply relative importance or the number of designated constituent elements. Thus, features limited by “first” and “second” may explicitly or implicitly include one or more such features. In the description of the embodiments of this disclosure, unless otherwise specified, “multiple” means two or more.
[0173] The foregoing are merely illustrative examples of the Disclosure and do not limit the Disclosure. Any modifications, equivalent substitutions, or improvements made to the spirit and principles of the Disclosure should be included within the scope of the claims of the Disclosure.
Claims
1. In a control method for the automatic transfer of yarn packages applied to a control system for the automatic transfer of yarn packages, The control system for the automatic transfer of the yarn package includes a Manufacturing Execution System (MES), a first Programmable Logic Controller (PLC), and a plurality of second PLCs for controlling at least one work station, each of which is connected to the first PLC, and the first PLC is connected to the MES. The control method for the automatic transfer of the aforementioned winding package is as follows: The first PLC acquires second business data for the target work station (including the fact that the forced transfer variable = 1) from the second PLC corresponding to the target work station, and acquires first business data for the target work station based on the second business data. The first PLC transmits the first business data to the MES, and the MES receives transfer instruction information, which is a transfer permit, determined for the target work station based on the forced transfer variable. A method for controlling the automatic transfer of a spool of yarn, characterized in that the first PLC analyzes the transfer instruction information and obtains the analysis result, and returns the analysis result to a second PLC corresponding to the target work station, so that the second PLC controls the target work station based on the analysis result to perform a transfer task of the spool of yarn.
2. The second PLC controls the target work station based on the analysis results to perform the winding package transfer task, The control method according to claim 1, characterized in that, if the analysis result is a transfer permit, the second PLC notifies the transfer equipment or directly controls the transfer equipment to transfer the processed spooled yarn package at the target work station to the next work station of the target work station.
3. The control method for the automatic transfer of the aforementioned winding package is as follows: The second PLC further includes setting the forced transfer variable to 1 when it detects that the control button corresponding to the target work station has been rotated to manual mode. The control method according to claim 1, characterized in that the forced transfer variable = 1 indicates that the target work station requests forced transfer.
4. The control method for the automatic transfer of the aforementioned winding package is as follows: The control method according to claim 1, further comprising determining that the transport instruction information is a transport permission when the MES detects that the forced transport variable = 1 exists in the first business data.
5. The control method for the automatic transfer of the aforementioned winding package is as follows: The control method according to claim 4, further comprising the MES detecting that the forced transport variable = 1 exists in the first business data, the MES recording the first business data and not executing the online transport condition determination process.
6. The process for determining online transfer conditions is as follows: The process further includes determining whether the winding package at the target work station satisfies the transfer conditions based on the target string data corresponding to the target work station, determining that the transfer instruction information is authorized for transfer if the transfer conditions are met, and determining that the transfer instruction information is prohibited for transfer if the transfer conditions are not met. The control method according to claim 5, characterized in that the target string data is obtained by the MES analyzing the first business data.
7. The first PLC acquires the second business data of the target work station from the second PLC corresponding to the target work station, The control method according to claim 1, characterized in that the first PLC periodically acquires second business data of the target work station from the second PLC.
8. The control method for the automatic transfer of the aforementioned winding package is as follows: The first PLC further includes converting the second business data into the first business data in the data storage format according to a pre-configured data storage format, The control method according to claim 1, characterized in that the first business data is stored in a data storage area assigned by the first PLC to the target work station, and different types of variables in the first business data correspond to different fixed addresses in the data storage area.
9. In a control device for automatic transfer of yarn packages, applied to a control system for the automatic transfer of yarn packages, The system for automatic transfer control of the winding package includes a Manufacturing Execution System (MES), a first Programmable Logic Controller (PLC), and a plurality of second PLCs for controlling at least one work station, each of which is connected to the first PLC, and the first PLC is connected to the MES. The control device for the automatic transfer of the aforementioned winding package is: The first PLC is controlled to acquire second business data for the target work station (including the fact that the forced transfer variable = 1) from a second PLC corresponding to the target work station, and to acquire first business data for the target work station based on the second business data, and The first PLC transmits the first business data to the MES, and a second control module controls the MES to receive transport instruction information which is an authorized transport determined for the target work station based on the forced transport variable. A control device for the automatic transfer of a spool of yarn, characterized in that the first PLC analyzes the transfer instruction information and obtains the analysis result, and returns the analysis result to a second PLC corresponding to the target work station, thereby controlling the second PLC to control the target work station based on the analysis result to perform the transfer task of the spool of yarn.
10. At least one processor, Includes memory that is communicably connected to at least one processor, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the method according to claim 1.
11. A non-temporary computer-readable storage medium, characterized in that it stores computer commands used to cause a computer to perform the method described in claim 1.
Citation Information
Patent Citations
Conveying system
JP1998338314A
Carrying system
JP2012012181A
Conveyance system
JP2014221685A
Transport controlling system, transport controlling method, and controlling program
JP2020203787A
Unmanned vehicle manual operation switching device
JP2570824B2