Automatic ingot passing control method, device, electronic device and storage medium

Through the wire ingot automatic station passing control system, real-time communication and data processing of MES, the first PLC and the multiple second PLCs are used to realize the automatic offline forced station passing of the wire ingot, solving the problem of slow station passing of the wire ingot and improving the efficiency and stability of the production line.

CN118884894BActive Publication Date: 2025-08-22ZHEJIANG HENGYI PETROCHEMICAL CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411378843.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-08-22
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

In chemical fiber production, the speed of wire ingots passing through the assembly line has become a bottleneck for improving production capacity, and it is difficult for the existing technology to achieve rapid and stable crossing of wire ingots.

Method used

The automatic station-passing control system of the wire ingot is adopted. Through real-time communication and data processing of the MES, the first PLC and the multiple second PLCs, the automated offline forced station-passing management of the wire ingot is realized, reducing manual intervention and improving station-passing efficiency.

Benefits of technology

It improves the efficiency and accuracy of wire ingots passing through the station, reduces material waste and downtime, reduces production costs, and enhances the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118884894B_ABST
    Figure CN118884894B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, electronic device and storage medium for controlling the automatic passing of silk ingots, which relates to the field of intelligent chemical fiber technology. The specific solution is: the automatic passing control system for silk ingots includes an MES, a first PLC and multiple second PLCs; the automatic passing control method for silk ingots includes: the first PLC obtains the second business data of the target station from the second PLC corresponding to the target station, and obtains the first business data of the target station based on the second business data; when the first PLC is disconnected from the MES, the first PLC records the first business data and sends a passing indication information to the second PLC, so that the second PLC controls the target station to perform the silk ingot passing task based on the passing indication information; wherein the passing indication information is a permission passing. According to the solution disclosed in the present disclosure, it is possible to realize the automatic offline forced passing management of silk ingots and improve the efficiency of silk ingot passing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of intelligent chemical fiber technology, and in particular to a method, device, electronic device and storage medium for automatically controlling the passing of spindles. Background Art

[0002] In the field of chemical fiber production, an efficiently functioning assembly line is crucial for ensuring both productivity and efficiency. This production line is densely packed with numerous workstations that work in close coordination. Crucially, the smooth flow of numerous spindles through the assembly line—the speed at which they pass through stations—is directly linked to the overall production pace and efficiency, becoming a crucial bottleneck in increasing production capacity. Therefore, achieving rapid spindle movement through stations in the assembly line has become a crucial challenge in the current technological innovation of chemical fiber production. Summary of the Invention

[0003] The present disclosure provides a method, device, electronic device and storage medium for automatically controlling the passing of a silk ingot.

[0004] According to a first aspect of the present disclosure, a method for controlling an automatic silk ingot transit station is provided, which is applied to an automatic silk ingot transit station control system. The automatic silk ingot transit station control system includes a manufacturing execution system (MES), a first programmable logic controller (PLC), and multiple second PLCs, wherein each second PLC is used to control at least one workstation; the multiple second PLCs are respectively connected to the first PLC, and the first PLC can be connected to the MES; the method for controlling an automatic silk ingot transit station includes:

[0005] The first PLC obtains the second business data of the target workstation from the second PLC corresponding to the target workstation, and obtains the first business data of the target workstation according to the second business data;

[0006] When the first PLC is disconnected from the MES, the first PLC records the first business data and sends a pass-through indication message to the second PLC, so that the second PLC controls the target workstation to perform the silk ingot pass-through task based on the pass-through indication message; wherein the pass-through indication message is a permission pass-through.

[0007] According to a second aspect of the present disclosure, a device for automatically passing a wire ingot through a station is provided, which is applied to a control system for automatically passing a wire ingot through a station. The control system includes a manufacturing system (MES), a first programmable logic controller (PLC), and multiple second programmable logic controllers (PLCs), wherein each second programmable logic controller (PLC) is used to control at least one workstation. The multiple second programmable logic controllers are respectively connected to the first programmable logic controller (PLC), and the first programmable logic controller (PLC) is capable of connecting to the MES. The device for automatically passing a wire ingot through a station includes:

[0008] a first control module, configured to enable the first PLC to obtain second business data of the target workstation from a second PLC corresponding to the target workstation, and obtain first business data of the target workstation based on the second business data;

[0009] The second control module is used to, when the first PLC is disconnected from the MES, cause the first PLC to record the first business data and send a pass-station indication message to the second PLC, so that the second PLC controls the target workstation to perform the silk ingot pass-station task based on the pass-station indication message; wherein the pass-station indication message is a permission pass-station.

[0010] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0011] at least one processor; and

[0012] a memory communicatively connected to the at least one processor; wherein,

[0013] 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 to enable the at least one processor to perform any method in the embodiments of the present disclosure.

[0014] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any method according to the embodiments of the present disclosure.

[0015] According to the technology disclosed in the present invention, it is possible to realize the automated offline forced station passing management of silk ingots, thereby improving the efficiency of silk ingot passing stations.

[0016] It should be understood that the contents described in the Summary of the Invention section are not intended to limit the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0018] Figure 1 Schematic diagram of the automatic ingot passing control system according to an embodiment of the present disclosure;

[0019] Figure 2 1 is a flow chart of a method for controlling the automatic passing of ingots according to an embodiment of the present disclosure;

[0020] Figure 3 1 is a schematic diagram of a process flow in which a first PLC generates offline forced transit indication information for a second PLC according to an embodiment of the present disclosure;

[0021] Figure 4 1. A schematic diagram of a process flow in which, after the first PLC generates offline forced stop-over instruction information, the first PLC returns the offline forced stop-over instruction information to the second PLC according to an embodiment of the present disclosure;

[0022] Figure 5 2 is a schematic structural diagram of a device for automatically controlling the passing of ingots through a station according to an embodiment of the present disclosure;

[0023] Figure 6 It is a block diagram of an electronic device used to implement the method for automatically controlling the silk spindle passing through a station according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0025] The terms "first," "second," and "third," etc. in the description, embodiments, claims, and figures of the present disclosure are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions, for example, including a series of steps or units. A method, system, product, or apparatus is not necessarily limited to the steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to the process, method, product, or apparatus.

[0026] Before introducing the technical solutions of the embodiments of the present disclosure, the following technical terms that may be used in the present disclosure are further explained:

[0027] MES: A software system used to monitor and manage manufacturing processes that collects, processes, and analyzes production data in real time to optimize production planning and resource allocation.

[0028] PLC: An industrial digital computer used to control automated equipment, such as machinery and robots on production lines. It performs logical operations and processing on input signals according to preset programs, and outputs control signals to control the operation of the equipment.

[0029] Business data: Business-related data generated during the manufacturing process, such as equipment status, product quantity, production progress, etc. This data is the basis for MES and PLC decision-making and control.

[0030] Station pass instruction information (also known as station pass instructions): instructions and parameter information generated by MES based on business data analysis to guide equipment to perform station pass tasks.

[0031] Figure 1 The schematic diagram of the automatic ingot passing control system is shown in FIG. Figure 1 As shown, the automatic ingot transit control system includes an MES, a first programmable logic controller (PLC), and multiple second PLCs. Each of the multiple second PLCs is connected to the first PLC, which in turn is connected to the MES. Each second PLC controls at least one workstation. The second PLCs are primarily responsible for collecting and processing real-time business data from the target workstation and providing it to the first PLC. The first PLC interacts with the second PLCs, obtaining secondary business data from them. The first PLC also interacts with the MES, sending primary business data to the MES and receiving transit instructions from the MES based on this primary business data. The PLC then instructs the second PLCs to execute the transit instructions for the target workstation.

[0032] In some embodiments, the MES is configured to determine transit indication information for a target workstation based on the first business data sent by the first PLC, and return the transit indication information to the first PLC.

[0033] In some embodiments, the first PLC is configured to obtain the first business data for the target workstation based on the second business data for the target workstation obtained from the second PLC.

[0034] In some embodiments, each second PLC is configured to obtain and store the second business data of the target workstation controlled by it.

[0035] Here, the first business data is collected and processed by the first PLC. It contains information such as the real-time status of the target workstation, the progress of the ingot processing, the results of the ingot quality inspection, and the request type. This data is important for monitoring the operating status of the production line and making decisions on whether to allow the workstation to pass.

[0036] Here, the second business data is collected and processed by the second PLC. It contains information such as the real-time status of the target workstation, the progress of the ingot processing, the results of the ingot quality inspection, and the ingot barcode. This data is important for monitoring the operating status of the production line.

[0037] The automatic silk ingot passing control system of the disclosed embodiment enables the MES to monitor the status of each workstation in real time and make adjustments and optimizations as needed through real-time communication and data processing between the MES, the first PLC, and the second PLC. Through the above-mentioned automated control, manual intervention is reduced, the efficiency and accuracy of silk ingot passing are improved, material waste and downtime due to human errors are reduced, and production costs are reduced. Through the above-mentioned automated control, the stability and consistency of the silk ingots during the passing process are ensured, which helps to improve the overall production rhythm and efficiency. With the first PLC as the middle layer between the MES and multiple second PLCs, the automatic silk ingot passing control system has significant advantages in centralized management, data integration, reducing the burden on the MES, enhancing system scalability, improving security and stability, and simplifying the network structure.

[0038] If the MES communicated directly with multiple secondary PLCs, it would need to process a large amount of real-time data and requests, which could increase the MES's burden and affect its performance. However, by using the primary PLC as an intermediary, the MES only needs to communicate with the primary PLC, reducing its processing burden. Without the primary PLC as an intermediary, the MES would need to establish a direct communication connection with each secondary PLC, which would make the network structure complex and difficult to manage. However, using the primary PLC as an intermediary can greatly simplify the network structure, making the entire communication process clearer and more organized. The primary PLC can act as a security barrier, validating and filtering data from the secondary PLCs to prevent malicious or erroneous data from entering the MES system. Furthermore, the primary PLC's redundancy and fault-tolerance mechanisms can improve system stability and reliability, ensuring normal production line operation even in the event of partial equipment failure.

[0039] As production lines expand and upgrade, more second PLCs may need to be added. If the MES communicates directly with each second PLC, each expansion requires corresponding configuration and modification of the MES. However, by using the first PLC as an intermediate layer, it is only necessary to add support for the new second PLC in the first PLC without modifying the MES configuration. The first PLC can centrally receive business data from multiple second PLCs and perform unified processing and analysis. This approach makes the control of the entire production line more centralized and orderly, reducing the complexity and confusion of direct communication between the MES and multiple second PLCs. The first PLC can integrate data from different second PLCs to form a more comprehensive production view, which enables the MES to make decisions based on more comprehensive data, thereby optimizing production plans and resource allocation. At the same time, the first PLC can also pre-process and filter data, reducing the amount of data transmitted to the MES and improving communication efficiency.

[0040] The embodiment of the present disclosure provides a method for controlling the automatic passing of ingots. Figure 2 It is a flow chart of the method for controlling the automatic passing of silk ingots according to an embodiment of the present disclosure. The method for controlling the automatic passing of silk ingots can be applied to a device for controlling the automatic passing of silk ingots. The device for controlling the automatic passing of silk ingots is located on an electronic device, and the electronic device is applied to a control system for controlling the automatic passing of silk ingots. The electronic device includes but is not limited to fixed devices and / or mobile devices. For example, fixed devices include but are not limited to servers, and the servers can be cloud servers or ordinary servers. For example, mobile devices include but are not limited to: mobile phones, tablet computers, laptop computers, etc. In some possible implementations, the method for controlling the automatic passing of silk ingots can also be implemented by a processor calling computer-readable instructions stored in a memory. For example Figure 2 As shown, the method for controlling the automatic passing of spindles includes:

[0041] S201: The first PLC obtains second business data of the target workstation from the second PLC corresponding to the target workstation, and obtains first business data of the target workstation based on the second business data;

[0042] S202: When the first PLC is disconnected from the MES, the first PLC records the first business data and sends a pass-station indication message to the second PLC, so that the second PLC controls the target workstation to perform the ingot pass-station task based on the pass-station indication message; wherein the pass-station indication message is a permission pass-station.

[0043] In some embodiments, each second PLC collects and processes relevant second business data (such as spindle position, status, quantity, etc.) according to the status of the workstation it controls, and stores these data in the data storage area allocated by the second PLC to the workstation it is responsible for, such as data blocks (DB blocks).

[0044] In some embodiments, the first PLC obtains the second business data of each workstation from each second PLC and generates first business data for each workstation. These first business data contain information about the status of all relevant workstations and the operations that need to be performed. The MES analyzes the first business data and determines the station-passing indication information of the target workstation (i.e., the workstation that currently needs to perform the ingot passing task). The station-passing indication information includes permission to pass the station or prohibition of passing the station. Among them, when the station-passing indication information is permission to pass the station, it may also include parameters such as the specific time of the station, target position, speed, etc. The MES sends the generated station-passing indication information to the first PLC via the network or other communication methods such as the Management Interface (MI).

[0045] In some embodiments, after receiving the station-passing instruction information from the MES, the first PLC parses it and extracts specific control instructions and parameters. After the first PLC completes the parsing, it transmits the parsing results (i.e., the specific control instructions and parameters) to the second PLC corresponding to the target workstation via a communication interface or protocol. Upon receiving the parsing results, the second PLC controls the mechanical device or robot-based station-passing equipment at the target workstation to execute the spindle-passing task based on the control instructions and parameters contained in the parsed results.

[0046] In some embodiments, during system startup, the communication protocol and parameters between the first and second PLCs are configured to ensure stable communication between the two. The connection between the first PLC and the MES is configured to ensure that the first PLC can send first business data to the MES and receive station-passing indication information from the MES. The first PLC proactively obtains second business data (such as current working status, number of ingots to be processed, processing time, etc.) from the second PLC corresponding to the target workstation. After obtaining the second business data, the first PLC converts this data into first business data (such as whether station-passing conditions are met and estimated station-passing time) based on a preset algorithm or logic. If the connection between the first PLC and the MES is disconnected for any reason (such as network failure or MES maintenance), the first PLC automatically switches to offline mode. In this mode, the first PLC records the first business data and sends a station-passing indication (such as a "station-passing permitted" signal) to the second PLC. Upon receiving the station-passing indication information, the second PLC controls the target workstation to execute the ingot-passing task, including moving the ingot to the next workstation and updating status information. Once the connection between the first PLC and the MES is restored, the system can automatically synchronize data and adjust subsequent operations according to the latest instructions from the MES.

[0047] For example, suppose a production line has multiple workstations, each responsible for a different processing task. The first programmable logic controller (PLC) periodically retrieves the secondary business data for the current workstation from the second programmable logic controller (PLC). When a silk ingot at a workstation (such as a weighing station) is processed and needs to proceed to the next process, if the MES is temporarily unavailable, the first PLC sends a "pass-through" instruction to the second PLC on behalf of the MES. The second PLC then sends a command to the passing equipment (such as a conveyor belt or robotic arm) to transport the processed silk ingot to the next workstation (such as a coil diameter measurement station) for further processing.

[0048] The main types of yarn spindles involved in the embodiments of the present disclosure may include one or more of partially oriented yarns (POY), fully drawn yarns (FDY), and draw textured yarns (DTY) (or low-stretch yarns). For example, the yarn types may specifically include polyester partially oriented yarns, polyester fully drawn yarns, polyester drawn yarns, polyester low-stretch yarns (Polyester Draw Textured Yarns), and polyester staple fibers (PSF).

[0049] The technical solution of the disclosed embodiment enables the MES to monitor the status of each workstation in real time and adjust and optimize the station transition strategy as needed through real-time communication and data processing between the MES, a first PLC, and multiple second PLCs. Even when the first PLC is disconnected from the MES, the system can operate independently and complete station transition tasks, enhancing system stability and reliability. Automated offline forced station transition control reduces manual intervention, accelerates the speed and accuracy of spindle transitions, and reduces production costs and time associated with human errors or delays.

[0050] In an embodiment of the present disclosure, the second PLC controls the target workstation to execute the silk ingot passing task based on the passing indication information, including: when the passing indication information is to allow passing, the second PLC notifies the passing equipment or directly controls the passing equipment to transfer the silk ingot processed by the target workstation to the next workstation of the target workstation.

[0051] Here, transit equipment refers to automated equipment used to transfer materials (e.g., ingots) between different workstations on a production line, such as conveyor belts, manipulators, and automated transport carts. The above description is merely illustrative and does not limit the full range of possible transit equipment. This list is non-exhaustive.

[0052] In some embodiments, the station-passing indication information may include an evaluation result of the first PLC on whether the ingot at the target station meets the station-passing condition, which is used to guide subsequent control operations.

[0053] In some implementations, when the station-passing indication indicates "passing permitted," the second PLC sends a command or signal to the station-passing device, instructing it to prepare to transfer the processed ingots from the target workstation. Upon receiving the command from the second PLC, the station-passing device transfers the ingots from the target workstation to the next workstation according to a pre-set procedure or path. The transfer process may involve a series of actions, such as grasping, moving, and placing the ingots. These actions require precise control to ensure the safe and accurate transfer of the ingots.

[0054] In some embodiments, the second PLC continuously monitors the operating status of the transfer equipment and the transfer of the ingots. Once the transfer is complete, the transfer equipment sends a feedback signal to the second PLC, confirming that the ingot has successfully reached the next workstation. The second PLC then updates its internal status based on this feedback signal, preparing for subsequent control operations.

[0055] For example, consider a production line with multiple workstations, each responsible for a specific processing task. When a bobbin is processed at a certain workstation (such as a weighing station), a second PLC receives the analysis results from that workstation. Regardless of whether parameters such as weight, specifications, and batch number meet the requirements, as long as the forced pass variable = 1, the bobbin is deemed "permitted." The second PLC then sends a command to the passing equipment (such as a conveyor belt or robotic arm) to transport the processed bobbin to the next workstation (such as a coil diameter measurement station) for further processing.

[0056] In this way, the first and multiple second PLCs precisely control the silk ingot's transit through the station, reducing waiting time and manual intervention, improving the overall efficiency of the production line, and reducing errors caused by human factors, thereby improving the stability and reliability of the production process. Flexible PLC programming allows for rapid adjustment of control logic to meet production needs and accommodate different types and specifications of silk ingots. The first PLC supports forced transit, which not only significantly shortens the silk ingot's residence time at the station, improving the overall smoothness of the production line, but also effectively reduces energy consumption and labor costs.

[0057] In an embodiment of the present disclosure, the method for controlling the automatic passing of ingots further includes: the first PLC detects that a control button corresponding to the first PLC is rotated to an offline mode, and determines that the first PLC is disconnected from the MES.

[0058] In some implementations, offline mode typically refers to a state where the system operates independently without communicating with a higher-level management system (e.g., MES). In this mode, the system can rely on its own logic and preset parameters to perform control tasks.

[0059] In some embodiments, the control button is a physical switch or knob for controlling the operating mode of the first PLC. It is used to switch the operating mode of the first PLC (e.g., online mode or offline mode). Offline mode is a specific position or mark on the control button. When the button is rotated to this position, offline mode is selected, which actively interrupts communication with the MES. Online mode is a specific position or mark on the control button. When the button is rotated to this position, online mode is selected, which allows users to maintain communication with the MES.

[0060] In some embodiments, the first PLC continuously monitors the status of a control button directly connected to it, typically mounted on a control panel, allowing the operator to manually switch the first PLC's operating mode. Upon detecting that the control button has been rotated to the "offline mode" position, the first PLC immediately registers this event and deems the connection to the MES to have been disconnected or is about to be disconnected. It is important to note that this detection method relies primarily on hardware signals (such as the button's on / off status), making it instant and reliable. After determining that the system is in offline mode, the first PLC retrieves the target workstation's secondary business data from the second PLC according to a predefined process and converts it into primary business data. Based on this processed primary business data, the first PLC determines whether to send a station-passing instruction to the second PLC to control the transfer of the spindles. Generally, the first PLC sends a station-passing instruction to the second PLC, indicating "permitting station-passing." The system should be capable of handling various abnormal situations and automatically synchronize data or restore the connection to the MES when conditions return.

[0061] For example, consider an automated packaging line in the chemical fiber industry. A network failure temporarily prevents the MES from communicating with the primary PLC. In this situation, an operator can approach the control panel housing the primary PLC and flip the knob to "offline mode." Upon detecting this change, the primary PLC automatically determines that the connection to the MES has been severed and immediately initiates the offline station-passing control process. The primary PLC then sends a "pass-through" instruction to the secondary PLC, ensuring smooth movement of the spindle from the current station to the next.

[0062] By introducing a control button, operators can directly intervene in the production process under specific circumstances, improving the system's flexibility and ability to respond to emergencies. By allowing operators to manually switch the operating mode of the first PLC, the system can quickly adjust its operating status based on actual needs, enhancing its flexibility and adaptability. The control button's status detection provides a visual indication of the connection status between the first PLC and the MES, helping to promptly identify and address connection issues, thereby improving system reliability. If the MES is unavailable, the operator can simply turn the control button to switch the first PLC to offline mode, allowing the system to continue executing station tasks, streamlining operational processes and reducing downtime.

[0063] In the embodiment of the present disclosure, the method for controlling the automatic passing of ingots further includes: the first PLC detects that the communication between the first PLC and the MES is interrupted, and determines that the first PLC is disconnected from the MES.

[0064] In some embodiments, communication interruption refers to a state in which a communication link cannot transmit data normally due to various reasons (such as network failure, equipment failure, signal interference, etc.) during the communication process.

[0065] In some embodiments, the first PLC incorporates an integrated communication status monitoring module that continuously monitors the communication link with the MES. Monitoring includes, but is not limited to, key metrics such as the success rate of packet transmission and reception, communication latency, and timeout counts. When a communication link anomaly is detected (e.g., multiple consecutive packet transmission failures, communication latency exceeding a preset threshold, or timeout counts reaching an upper limit), a communication interruption is determined. Once a communication interruption is determined, the first PLC immediately records the event and considers the connection with the MES to be severed. The first PLC then switches to offline mode. In offline mode, the first PLC continues to obtain second-order business data for the target workstation from the second PLC and converts it into first-order business data. Based on the processed first-order business data, the first PLC determines whether to send a station-passing instruction to the second PLC to control the silk spindle's station-passing task. When the first PLC detects that the communication link with the MES has returned to normal, it automatically switches to online mode. In online mode, the first PLC synchronizes operations with the MES to ensure data consistency and accuracy.

[0066] Consider an automated production line where a first programmable logic controller (PLC) monitors and manages the operating status of multiple ingot processing stations. One day, a network failure disrupts the communication link between the first PLC and the manufacturing equipment (MES). The first PLC's communication status monitoring module immediately detects this anomaly and determines it as a communication interruption. The first PLC then automatically switches to offline mode, continuing to obtain business data from the second PLC and control the movement of ingots through the stations. Once the network failure is resolved and the communication link is restored, the first PLC resumes synchronization with the MES, ensuring data consistency and accuracy.

[0067] By automatically detecting communication interruptions and switching to offline mode, the system can continue executing control tasks even when the MES is unavailable, eliminating the need for manual intervention and improving the system's automation level. This automatic detection and handling of communication interruptions enables the system to cope with various communication failures, improving system stability and reliability. Once communication is restored, the system automatically synchronizes data and returns to normal operation, reducing downtime caused by communication issues.

[0068] In the embodiment of the present disclosure, the method for controlling the automatic passing of ingots further includes: when the MES is disconnected from the first PLC, the MES does not perform the judgment process of the online passing condition.

[0069] In some embodiments, when the communication between the MES and the underlying control system is interrupted, the MES takes a series of alternative processing measures to maintain the normal operation of the system. These measures may not rely on real-time data.

[0070] In some implementations, online stop-stop condition determination includes the MES evaluating and analyzing received business data based on pre-set rules and algorithms to determine whether to allow a stop-stop operation at the target workstation. These conditions may include factors such as production schedules, equipment status, and material availability.

[0071] In some embodiments, when the MES receives the first business data from the first PLC, it first receives and performs preliminary verification of the data. If the data format is correct and contains valid mandatory stop-stop variables, the MES will fully record this data in its internal database or logging system to facilitate subsequent data traceability. This record may include all or part of the key fields of the first business data, as well as information such as the timestamp of the received data. Under normal circumstances, the MES will determine the online stop-stop conditions of the received business data based on pre-set rules and algorithms to determine whether to allow the target workstation to stop-stop.

[0072] In some embodiments, a stable communication connection is established between the MES and the first PLC, and the status of this connection is continuously monitored. When the first PLC detects a communication interruption with the MES, it notifies the MES via a pre-defined communication protocol or heartbeat mechanism. Upon receiving the communication interruption notification from the first PLC, the MES immediately identifies the current connection status with the first PLC as disconnected. The MES then ceases any online station transition condition determination that relies on real-time communication with the first PLC. The MES may initiate an offline processing strategy, which may include logging the communication interruption event, sending an alert to the system administrator, and performing a degree of predictive processing based on pre-defined rules or historical data (if applicable). However, the MES will not perform any online station transition condition determination that requires real-time data from the first PLC. When the first PLC detects that communication with the MES has been restored, it notifies the MES again. Upon receiving the communication restoration notification, the MES reestablishes the communication connection with the first PLC and resumes online station transition condition determination.

[0073] For example, in an automated packaging line in the chemical fiber industry, the MES monitors the entire production process and determines whether the spindles meet the requirements for passing the production station based on real-time data. However, due to a network failure, communication between the MES and the primary PLC was suddenly interrupted. The MES immediately stopped processing the online process to determine the passing station requirements and recorded the event in the system log. Simultaneously, the system administrator received an alert regarding the communication interruption and immediately began troubleshooting. After the failure was resolved and communication was restored, the MES reestablished its connection with the primary PLC and resumed processing the online process to determine the passing station requirements.

[0074] This prevents the MES from performing unnecessary online transit condition checks during communication outages, reducing computing resource consumption. By avoiding processing that relies on real-time data during communication outages, potential system issues caused by inconsistent or erroneous data are mitigated. System administrators receive timely alerts of communication outages and can intervene as needed, improving system maintainability and user experience.

[0075] In the embodiment of the present disclosure, the judgment and processing of the online station passing conditions may include: determining whether the silk ingot of the target station meets the station passing conditions based on the target string data corresponding to the target station, wherein the target string data is obtained by parsing the first business data by the MES; if the station passing conditions are met, the station passing indication information is determined to be permitted station passing; if the station passing conditions are not met, the station passing indication information is determined to be prohibited station passing.

[0076] In some embodiments, the station-passing indication information is used to indicate whether the ingot on the production line can be transferred to the next station for processing. Depending on the determination result of the station-passing condition, the station-passing indication information can be "station-passing permitted" or "station-passing prohibited."

[0077] In some implementations, the MES first receives first business data from a first PLC. This data typically includes information about the status of a target workstation on the production line, the processing progress of the ingot, quality inspection results, the number of requested stops, and so on. The MES includes a dedicated data parsing module that parses the received first business data to extract target string data corresponding to the target workstation. This target string data may be encoded to represent a specific working state or attribute.

[0078] In some embodiments, based on the target character string data obtained through analysis, the MES further compares and analyzes it with the preset station-passing conditions. These station-passing conditions may include whether the processing quality of the silk ingot meets the standards, whether all processing tasks of the current station have been completed, whether there is equipment failure or production abnormality, etc. If the silk ingot at the target station meets all the preset station-passing conditions, the MES determines that the station-passing indication information is "permitted station-passing", indicating that the silk ingot can be safely transferred to the next station for further processing. If the silk ingot at the target station does not meet any of the station-passing conditions, the MES determines that the station-passing indication information is "prohibited station-passing" and may trigger a corresponding alarm mechanism to notify on-site personnel to conduct inspection and processing.

[0079] In some implementations, the MES transmits the decision result (permitting or prohibiting a stop) as stop indication information to a second PLC or other related control device via a communication interface. Based on the received stop indication information, these control devices execute corresponding control logic, such as starting or stopping the transfer of the ingots.

[0080] For example, in an automated packaging line in the chemical fiber industry, when the first PLC detects that a silk ingot has been processed at a certain workstation (such as the weighing station), it sends first business data containing the workstation's status information to the MES. Upon receiving this data, the MES first parses the target string data (such as the QR code and weight information of the silk ingot requesting transfer). It then compares this data with pre-set transfer criteria (e.g., whether the weight of the silk ingot of that specification is within the permitted range (Grade A: within the permitted range, Grade B: underweight, Grade C: overweight). If the silk ingot's quality grade is A, the MES determines the transfer indication as "transfer permitted" and notifies the second PLC to initiate transfer of the silk ingot. If the silk ingot's quality grade is B or C, the MES determines that the transfer is "not permitted" and triggers an alarm.

[0081] In this way, the MES analyzes the primary business data and accurately determines the transit conditions, ensuring that only eligible ingots are passed on, thereby improving production accuracy and reliability. Promptly identifying and preventing the transfer of ingots that do not meet transit conditions can reduce production anomalies such as equipment failures and quality issues, thereby mitigating production risks. Automated determination and indication of transit information reduces manual intervention and waiting time, improving the overall operational efficiency of the production line.

[0082] In an embodiment of the present disclosure, the first PLC obtains the second business data of the target workstation from the second PLC corresponding to the target workstation, including: the first PLC periodically obtains the second business data of the target workstation from the second PLC.

[0083] In some implementations, a timer is set in the first PLC to control the interval between data acquisitions. This interval can be adjusted based on the actual needs of the production line to ensure timely acquisition of the latest data without increasing the system burden due to overly frequent data exchange. When the timer reaches the set time, the first PLC sends a data request signal to the second PLC. This signal contains information such as the type of data to be acquired and the target workstation identifier, allowing the second PLC to accurately return the corresponding data.

[0084] In some embodiments, upon receiving a data request from the first PLC, the second PLC retrieves the second business data of the target workstation from its own database or real-time data cache based on the information in the request and sends it to the first PLC via a communication interface. This data may include the real-time status of the target workstation, processing progress, quality inspection results, etc.

[0085] In some embodiments, after acquiring the second business data, the first PLC will parse and process it to extract the necessary information for subsequent decision-making or control operations. At the same time, this data may also be used to update relevant data in the MES or generate reports.

[0086] By regularly acquiring secondary business data from the target workstation from the secondary PLC, the production line status can be monitored in real time, ensuring transparency and traceability of the production process. Based on this real-time data, the MES or primary PLC can promptly detect anomalies in the production process and take appropriate corrective measures, such as stopping the process and adjusting process parameters, to improve production efficiency and product quality. Analysis of historical and real-time data can provide strong support for production line optimization decisions, such as predicting production trends and optimizing production plans.

[0087] In an embodiment of the present disclosure, the first PLC obtains first business data based on the second business data of the target workstation obtained from the second PLC corresponding to the target workstation, including: the first PLC converts the second business data into first business data in a data storage format according to a preset data storage format, wherein the first business data is stored in a data storage area allocated by the first PLC to the target workstation, and different types of variables in the first business data correspond to different fixed addresses in the data storage area.

[0088] Here, data storage format refers to the specific format or specification used by data during storage or transmission, including data type, data unit, data encoding, etc.

[0089] Here, the data storage area refers to a specific area inside the first PLC for storing data.

[0090] Here, a fixed address refers to a unique, unchanging storage location assigned to different variables in the data storage area. This allows for quick access and modification of variables.

[0091] In some embodiments, in an automatic ingot transit control system, a first programmable logic controller (PLC) generates first business data for a target workstation based on its second business data. This data may contain various types of information, such as status codes, numerical parameters, and timestamps. The first PLC is configured with a preset data storage format to ensure efficient data exchange and parsing between different PLCs or between a PLC and an MES. The first PLC converts the second business data according to this preset format. The conversion process may include data type conversion (e.g., integer to floating point), unit unification (e.g., millimeters to inches), and data encoding decoding (e.g., base conversion). The converted data, known as the first business data, adheres to the preset data storage format, facilitating subsequent processing and transmission. The first PLC allocates a dedicated data storage area for each target workstation on the production line. The first business data is stored in the data storage area corresponding to the target workstation. During storage, different variables (e.g., status codes, numerical parameters, etc.) are assigned to different fixed addresses within the storage area. When reading or modifying the value of a variable, it can be directly accessed through its corresponding address, improving data processing efficiency.

[0092] This predefined data storage format and format conversion process ensures consistency and accuracy during data exchange and processing across different sources. Assigning a fixed storage address to each variable simplifies data access and processing, improving overall system performance. The data storage allocation and format definition offer flexibility, allowing for expansion and adjustment based on the actual needs of the production line.

[0093] Below, taking IT-PLC representing the first PLC and ME-PLC representing the second PLC as an example, the processing flow of the first PLC as the intermediate layer between the MES and the second PLC is described.

[0094] Figure 3 The schematic diagram of the process of the first PLC generating offline forced transit instruction information for the second PLC is shown as follows: Figure 3 As shown, the process includes:

[0095] S301: System startup;

[0096] S302: IT-PLC periodically obtains ME_CTRL_WRD and REQUEST_TYPE from the corresponding workstation DB block of ME-PLC.

[0097] Here, ME_CTRL_WRD indicates the control bit of the target station, and REQUEST_TYPE indicates the request type of the target station.

[0098] It should be noted that the ME_MSG.ME_AVI_MSG written by the ME-PLC into the corresponding workstation DB block should be verified on the ME-PLC side to ensure the integrity and accuracy of the data.

[0099] For example, obtain ME_CTRL_WRD from DB6101.ME_MSG.ME_CTRL_WRD, and obtain REQUEST_TYPE from DB6101.ME_MSG.ME_AVI_MSG. Here, 6101 is the target station number, DB6101.ME_MSG represents the DB block allocated by the ME-PLC for station number 6101, DB6101.ME_MSG.ME_AVI_MSG represents the variable allocated by the ME-PLC for station number 6101 to store the secondary business data written by the ME-PLC, and ME_MSG.ME_AVI_MSG represents the secondary business data written by the ME-PLC, such as the serial number and request type. DB6101.ME_MSG.ME_CTRL_WRD is the variable allocated by the ME-PLC for station number 6101 in the DB block to store the control bits for that station.

[0100] S303: DB6101.ME_MSG.ME_AVI_MSG.REQUEST_TYPE = 'TRM*'. If yes, execute S304; otherwise, continue to execute S302;

[0101] Here, IT-PLC obtains ME_AVI_MSG.REQUEST_TYPE='TRM*' from the DB block of the corresponding workstation of ME-PLC.

[0102] Here, ME_AVI_MSG.REQUEST_TYPE = 'TRM*', indicating that the ME-PLC request type is 'TRM*'. When the ME-PLC identifies the target station and requests a forced transit, it writes the "TRM*" string into the transit information of the current station to distinguish it from the "TR**" string for a normal online transit.

[0103] Here, DB6101.ME_MSG.ME_AVI_MSG.REQUEST_TYPE is the variable in the DB block that ME-PLC allocates to the workstation numbered 6101 and is used to store the request type.

[0104] S304: The IT-PLC sets the control bit and clears the data buffer to ensure that the current process is not affected by residual data from other processes, and then executes S305;

[0105] S305: DB6101.ME_MSG.ME_CTRL_WRD.ASSY_COMPLETE_FORCE = 1? If yes, execute S306; otherwise, continue to execute S305;

[0106] Here, IT-PLC obtains ME_CTRL_WRD.ASSY_COMPLETE_FORCE from the DB block of the corresponding workstation of ME-PLC.

[0107] Here, ME_CTRL_WRD.ASSY_COMPLETE_FORCE=1 indicates that ME-PLC has started to force the station passing.

[0108] DB6101.ME_MSG.ME_CTRL_WRD.ASSY_COMPLETE_FORCE is a variable in the DB block that is allocated by ME-PLC to the workstation numbered 6101 and is used to store the variable that the ME-PLC has set to start forced station passing.

[0109] S306: IT-PLC sets DB6101.IT_MSG.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED and then executes S307;

[0110] Here, IT_MSG.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED indicates that the IT-PLC confirms receipt of the message from the ME-PLC that the forced station transition has been started. DB6101.IT_MSG indicates that the IT-PLC has allocated the DB block for workstation number 6101.

[0111] DB6101.IT_MSG.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED indicates that the IT-PLC allocates the variable for the workstation numbered 6101 in the DB block for storing the message that the ME-PLC has set the forced station passing.

[0112] S307: Construct MI_MSG and write to DB6240.MI_MES_REQUEST;

[0113] Here, MI_MSG represents the first business data sent by IT-PLC to MES.

[0114] Here, MI_MES_REQUEST indicates the request string sent by IT-PLC to MES.

[0115] DB6240.MI_MES_REQUEST is a variable in the DB block allocated by IT-PLC for workstation number 6101 and used to store the request string.

[0116] S308: DB6240.MI_MES_REQUEST = '<>'? If yes, execute S309; ​​if no, continue to execute S308;

[0117] Here, '<>' is a pre-set query string value, which can be set or adjusted according to needs.

[0118] S309: Call FC64017 to store the forced-passed MI_MSG into the DB6240 queue;

[0119] Here, FC64017 is a module with integrated MI_MSG writing function. DB6240 is the DB block allocated by IT-PLC for station number 6101 and used to store MI_MSG.

[0120] S310: Generate IT_RES_1.

[0121] Here, IT_MSG.UDT_IT_MSG_1.IT_RES_1 (IT_RES_1 for short) represents the first business data output by the IT-PLC, such as a processing result.

[0122] For example, IT_RES_1 may include: SN1='********************' (20 *'s); RESPONSE_RESULT=1; RESPONSE_ERROR=0.

[0123] Here, predefined interaction data rules include: If the request is forced offline, SN1 represents the ingot's QR code or barcode information. The IT-PLC directly returns 20 * characters for SN1. The ME-PLC does not perform any processing (such as string matching to confirm that the returned information is for the ingot) upon receiving the 20 * characters. This improves system processing speed. RESPONSE_RESULT = 1 indicates that the request has been processed successfully; RESPONSE_ERROR = 0 indicates that the request was successful and there were no abnormalities.

[0124] exist Figure 3 On the basis of Figure 4 FIG. 4 shows a schematic diagram of a process of returning offline forced stop-over instruction information to the second PLC after the first PLC generates offline forced stop-over instruction information. Figure 4 As shown, the process includes:

[0125] S311: Call FC60157 to update the pipeline queue;

[0126] Here, FC60157 is a module that integrates the update pipeline queue function.

[0127] S312: IT-PLC clears AVI_RESPONSE1;

[0128] Here, AVI_RESPONSE1 indicates that the response string sent by MES to IT-PLC is completed. When passing the station offline (forced), the IT-PLC generates the response string according to the defined rules and writes it.

[0129] S313: IT-PLC outputs IT_RES_1 to ME-PLC;

[0130] S314: Is ERROR=0 and STATUS=0000H in the PUT instruction? If not, execute S315; if yes, execute S316;

[0131] Here, ERROR = 0 indicates that there is no error in the PUT instruction. STATUS = 0000H indicates the status value = 0, where H represents hexadecimal. The PUT instruction is used by the IT-PLC to send data to the ME-PLC.

[0132] S315: Call FB64001 to write error code 3542, then return to S314;

[0133] S316: IT-PLC sets DB6101.IT_MSG.IT_CTRL_WRD.MES_COMPLETE;

[0134] DB6101.IT_MSG.IT_CTRL_WRD.MES_COMPLETE is a variable allocated by IT-PLC for workstation number 6101 in the DB block and is used to store the information from IT-PLC notifying ME-PLC that data processing is complete.

[0135] Here, IT_MSG.IT_CTRL_WRD.MES_COMPLETE indicates that IT-PLC notifies ME-PLC that data processing is complete.

[0136] S317: Is ME_CTRL_WRD.YARN_LEAVE = 1 or ME_CTRL_WRD.ME_RESET = 1? If so, execute S318; if not, continue to execute S317.

[0137] Here, ME_MSG.ME_CTRL_WRD.YARN_LEAVE=1, indicating that ME-PLC has completed preparations for yarn departure.

[0138] ME_CTRL_WRD.ME_RESET=1, indicating that after the spindle on the ME-PLC control station completes the station pass, the control position of the station will be set.

[0139] S318: The IT-PLC clears and resets the control bit corresponding to the workstation and resets the business data area corresponding to the workstation.

[0140] Here, IT-PLC clears and resets the corresponding control bits, which may include:

[0141] DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED=0;

[0142] DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.TR_SENT=0;

[0143] DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.TS_RECEIVED=0;

[0144] DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.MES_COMPLETE=0;

[0145] Clear the temporary variables used in DB6901.

[0146] Among them, DB6901 represents the area in the DB block allocated by ME-PLC to the workstation numbered 6101 for storing temporary variables.

[0147] Among them, DB6101.IT_MSG represents the data cache area in the DB block allocated by ME-PLC to the workstation numbered 6101 and used to store multiple variables.

[0148] Among them, IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED indicates the confirmation of receipt of the variable set by ME-PLC to start the station transfer.

[0149] Among them, IT_CTRL_WRD.TR_SENT represents the variable that is set after IT-PLC writes AVI_REQUEST.

[0150] Among them, IT_CTRL_WRD.TS_RECEIVED indicates the variable that is set after the IT-PLC receives MES data.

[0151] Among them, IT_CTRL_WRD.MES_COMPLETE indicates that IT-PLC notifies ME-PLC that data processing is complete.

[0152] Here, IT-PLC resets the corresponding business data area, including: calling FC64006 to reset DB6101.ME_AVI_MSG; calling FC64008 to reset the DB6101.IT_RES_1 area.

[0153] Here, FC64006 is a module that integrates the reset function for ME_AVI_MSG, and FC64008 is a module that integrates the reset function for IT_RES_1.

[0154] Here, DB6101.ME_AVI_MSG is reset to continue the previous data processing process when the condition is falsely triggered.

[0155] It should be noted that the above-mentioned workstation number, error code number, DB block number, variable name, storage address name, FC function module name and FB function module name are merely exemplary and non-restrictive, and can be set or adjusted according to actual needs.

[0156] It should be understood that Figure 1 、 Figure 3 、 Figure 4 The schematic diagram shown is only exemplary and not restrictive, and it is scalable, and those skilled in the art can Figure 1 、 Figure 3 、 Figure 4Various obvious changes and / or substitutions can be made to the examples, and the resulting technical solutions still fall within the scope of the disclosure of the embodiments of the present disclosure.

[0157] The embodiment of the present disclosure provides a device for automatically passing a wire ingot through a station, which is applied to a control system for automatically passing a wire ingot through a station. The control system includes an MES, a first PLC, and multiple second PLCs. The multiple second PLCs are respectively connected to the first PLC, and the first PLC is connected to the MES. Each second PLC is used to control at least one workstation. Figure 5 As shown, the automatic ingot passing control device may include:

[0158] The first control module 501 is configured to enable the first PLC to obtain second business data of the target workstation from the second PLC corresponding to the target workstation, and obtain first business data of the target workstation based on the second business data;

[0159] The second control module 502 is used for, when the first PLC is disconnected from the MES, for the first PLC to record the first business data and send a pass-station indication message to the second PLC, so that the second PLC controls the target workstation to perform the silk ingot pass-station task based on the pass-station indication message; wherein the pass-station indication message is a permission pass-station.

[0160] In some embodiments, the automatic ingot passing control device further includes a third control module ( Figure 5 ), wherein the third control module is used for: when the analysis result is that the station is allowed to pass, the second PLC notifies the station passing device or directly controls the station passing device to transfer the silk ingot processed at the target station to the next station of the target station.

[0161] In some embodiments, the automatic ingot passing control device further includes a first judgment module ( Figure 5 (not shown), wherein the first judgment module is used to: for the first PLC to detect that the control button corresponding to the first PLC is rotated to the offline mode, and determine that the first PLC is disconnected from the MES.

[0162] In some embodiments, the automatic ingot passing control device further includes a second judgment module ( Figure 5 (not shown), wherein the second judgment module is used for: allowing the first PLC to detect that the communication between the first PLC and the MES is interrupted, and determining that the first PLC is disconnected from the MES.

[0163] In some embodiments, the ingot automatic station-passing control device further includes a fourth control module ( Figure 5 (not shown), wherein the fourth control module is used to: when the MES is disconnected from the first PLC, the MES does not perform the judgment process of the online transit condition.

[0164] In some embodiments, the ingot automatic station-passing control device further includes a fifth control module ( Figure 5 ), wherein the fifth control module is used to: determine whether the silk ingot of the target station meets the passing condition based on the target character string data corresponding to the target station; if the passing condition is met, determine the passing indication information as permitted passing; if the passing condition is not met, determine the passing indication information as prohibited passing; the target character string data is obtained by MES parsing the first business data.

[0165] In some embodiments, the first control module 501 is specifically configured to enable the first PLC to periodically obtain the second business data of the target workstation from the second PLC.

[0166] In some embodiments, the ingot automatic station-passing control device further includes a sixth control module ( Figure 5 ), wherein the sixth control module is used for: the first PLC converts the second business data into first business data in a data storage format according to a preset data storage format, wherein the first business data is stored in a data storage area allocated by the first PLC to the target workstation, and different types of variables in the first business data correspond to different fixed addresses in the data storage area.

[0167] Those skilled in the art should understand that the functions of each processing module in the automatic silk ingot passing station control device of the embodiment of the present disclosure can be understood with reference to the relevant description of the aforementioned automatic silk ingot passing station control method. Each processing module in the automatic silk ingot passing station control device of the embodiment of the present disclosure can be realized by an analog circuit that realizes the function of the embodiment of the present disclosure, or it can be realized by running software that executes the function of the embodiment of the present disclosure on an electronic device.

[0168] The automatic station-passing control device for silk ingots according to the disclosed embodiment can realize automatic offline forced station-passing management of silk ingots and improve the efficiency of silk ingot station-passing.

[0169] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.

[0170] Figure 6 FIG. 1 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. Figure 6As shown, the electronic device includes: a memory 610 and a processor 620. The memory 610 stores a computer program that can be executed on the processor 620. The number of memory 610 and processor 620 can be one or more. The memory 610 can store one or more computer programs. When the one or more computer programs are executed by the electronic device, the electronic device performs the method provided by the above method embodiment. The electronic device may also include: a communication interface 630 for communicating with external devices and performing data exchange.

[0171] If the memory 610, processor 620, and communication interface 630 are implemented independently, the memory 610, processor 620, and communication interface 630 can be connected to each other via a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0172] Optionally, in a specific implementation, if the memory 610, the processor 620 and the communication interface 630 are integrated on a chip, the memory 610, the processor 620 and the communication interface 630 can communicate with each other through an internal interface.

[0173] It should be understood that the processor described above may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor. It is worth noting that the processor may be a processor that supports the Advanced RISC Machines (ARM) architecture.

[0174] Furthermore, optionally, the above-mentioned memory may include read-only memory and random access memory, and may also include non-volatile random access memory. The memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, non-volatile memory may include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).

[0175] In the above embodiments, all or part of the embodiments can be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments can 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, the processes or functions described in accordance with the embodiments of the present disclosure are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, Bluetooth, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer, or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a Digital Versatile Disc (DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)). It is worth noting that the computer-readable storage medium mentioned in the present disclosure may be a non-volatile storage medium, in other words, a non-transitory storage medium.

[0176] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.

[0177] In the description of the embodiments of the present disclosure, the reference terms "one embodiment," "some embodiments," "example," "specific example," or "some examples" mean that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. Moreover, the specific features, structures, materials, or characteristics described may be combined in any appropriate manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification, as well as features of different embodiments or examples, unless they are mutually inconsistent.

[0178] In the description of the embodiments of the present disclosure, unless otherwise specified, " / " means or. For example, A / B can mean A or B. "And / or" in this document is only a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0179] In the description of the embodiments of the present disclosure, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.

[0180] The above description is merely an exemplary embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the scope of protection of the present disclosure.

Claims

1. A method for controlling the automatic passing of a silk ingot, which is applied to a control system for the automatic passing of a silk ingot, is characterized in that: The automatic ingot transfer control system includes a manufacturing execution system (MES), a first programmable logic controller (PLC), and a plurality of second PLCs, wherein each second PLC is used to control at least one workstation; the plurality of second PLCs are respectively connected to the first PLC, and the first PLC can be connected to the MES; The method for controlling the automatic passing of ingots comprises: The first PLC obtains second business data of the target workstation from a second PLC corresponding to the target workstation, and obtains first business data of the target workstation based on the second business data; wherein, when a forced stopover variable = 1 is recorded in the second business data, it indicates that the target workstation requests a forced stopover; when the MES detects that the forced stopover variable = 1 is included in the first business data, the stopover indication information generated for the target workstation is a permitted stopover; When the first PLC is normally connected to the MES, the first PLC sends the first business data to the MES, parses the station-passing instruction information returned by the MES, and sends the parsing result to the second PLC, so that the second PLC controls the target workstation to execute the ingot-passing task based on the station-passing instruction information; the parsing result includes: control instructions and parameters; When the first PLC is disconnected from the MES, the first PLC records the first business data and sends a pass-through indication message to the second PLC, so that the second PLC controls the target workstation to perform the ingot pass-through task based on the pass-through indication message; wherein the pass-through indication message is a permission pass-through.

2. The method according to claim 1, characterized in that The second PLC controls the target workstation to perform the ingot passing task based on the passing instruction information, including: When the station passing instruction information indicates that the station passing is permitted, the second PLC notifies the station passing device or directly controls the station passing device to transfer the ingot processed at the target station to the next station of the target station.

3. The method according to claim 1, characterized in that The method for controlling the automatic passing of ingots further comprises: The first PLC detects that a control button corresponding to the first PLC is rotated to an offline mode, and determines that the first PLC is disconnected from the MES.

4. The method according to claim 1, wherein The method for controlling the automatic passing of ingots further comprises: The first PLC detects that communication between the first PLC and the MES is interrupted, and determines that the first PLC is disconnected from the MES.

5. The method according to claim 3 or 4, characterized in that The method for controlling the automatic passing of ingots further comprises: When the MES is disconnected from the first PLC, the MES does not perform the judgment process of the online transit condition.

6. The method according to claim 5, characterized in that The judgment and processing of online transit conditions include: Based on the target character string data corresponding to the target workstation, determine whether the silk spindle of the target workstation meets the pass-through condition; if the pass-through condition is met, determine that the pass-through indication information is permitted; if the pass-through condition is not met, determine that the pass-through indication information is prohibited; the target character string data is obtained by the MES parsing the first business data.

7. The method according to claim 1, characterized in that The first PLC obtains the second business data of the target workstation from the second PLC corresponding to the target workstation, including: The first PLC periodically obtains the second business data of the target workstation from the second PLC.

8. The method according to claim 1, characterized in that The method for controlling the automatic passing of ingots further comprises: The first PLC converts the second business data into the first business data in the data storage format according to a preset data storage format, wherein the first business data is stored in the data storage area allocated by the first PLC to the target workstation, and different types of variables in the first business data correspond to different fixed addresses in the data storage area.

9. A device for automatically passing a silk ingot through a station, used in a silk ingot automatic passing station control system, characterized in that: The automatic ingot passing control system includes a manufacturing execution system (MES), a first programmable logic controller (PLC), and multiple second PLCs, wherein each second PLC is used to control at least one workstation; the multiple second PLCs are respectively connected to the first PLC, and the first PLC can be connected to the MES; the automatic ingot passing control device includes: a first control module configured to allow the first PLC to obtain second business data of the target workstation from a second PLC corresponding to the target workstation, and to obtain first business data of the target workstation based on the second business data; wherein, when a forced stopover variable = 1 is recorded in the second business data, it indicates that the target workstation requests a forced stopover; and when the MES detects that the forced stopover variable = 1 is included in the first business data, the stopover indication information generated for the target workstation is a permitted stopover. a parsing control module, configured to, when the first PLC is normally connected to the MES, parse the station-passing instruction information returned by the MES after the first PLC sends the first business data to the MES, and send the parsing result to the second PLC, so that the second PLC controls the target workstation to execute the ingot-passing task based on the station-passing instruction information; the parsing result includes: control instructions and parameters; The second control module is used for, when the first PLC is disconnected from the MES, the first PLC recording the first business data and sending a pass indication message to the second PLC, so that the second PLC controls the target workstation to perform the silk ingot pass task based on the pass indication message; wherein the pass indication message is a permission pass.

10. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, 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 to enable the at least one processor to perform the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Assembly line station-crossing processing equipment and system

    CN114200902A

  • Monitoring system and monitoring method for vehicle manufacturing general assembly workshop equipment

    CN114237175A