Automatic passing-station control system for silk ingots, control method, device, and storage medium
Through the coordinated work of MES, the first PLC and the multiple second PLCs, the automatic control of the wire ingot passes is realized, which solves the problem of slow ingot passes on the chemical fiber production line, improves production efficiency and stability, and reduces human errors and downtime.
Patent Information
- Application Number
- CN202411371107.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2044-09-29
AI Technical Summary
How to achieve rapid crossing of wire ingots on assembly line in chemical fiber production, improve production efficiency and reduce material waste and downtime caused by human error.
The wire ingot automatic station passing control system is adopted to realize real-time data communication and automated control through the collaborative work of MES, the first PLC and the multiple second PLCs, reducing manual intervention and improving station passing efficiency and accuracy.
It improves the efficiency and accuracy of wire ingots passing through the station, reduces production costs, ensures the stability and consistency of the production process, and reduces material waste and downtime caused by human error.
Smart Images

Figure CN118884893B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of intelligent chemical fiber technology, and in particular to a spindle automatic station passing control system and control method, equipment and storage medium. Background Art
[0002] In the field of chemical fiber production, an efficient assembly line is the key to ensuring production capacity and efficiency. This production line is densely populated with multiple precisely coordinated workstations. More importantly, the smooth flow of many spindles on the assembly line, and their passing speed, are directly related to the overall production rhythm and efficiency, and have become one of the bottlenecks that cannot be ignored in improving production capacity. Therefore, how to achieve rapid passing of spindles on the assembly line has become an important issue that needs to be overcome in the current technological innovation of chemical fiber production. Summary of the invention
[0003] The present invention provides a silk ingot automatic station-passing control system and control method, equipment and storage medium.
[0004] According to a first aspect of the present disclosure, a method for controlling an automatic ingot passing station is provided, which is applied to an automatic ingot passing station control system. The automatic ingot passing station control system includes a manufacturing execution system (MES), a first programmable logic controller (PLC), and a plurality of second PLCs. The plurality of second PLCs are respectively connected to the first PLC, each second PLC is connected to at least one workstation, and the first PLC can be connected to the MES; wherein,
[0005] The first PLC is used to obtain the second business data of the target workstation from the second PLC, and obtain the first business data of the target workstation according to the second business data; when the control button of the first PLC is in online mode and the first PLC communicates normally with the MES, the first business data is sent to the MES;
[0006] The MES is used to determine first station-passing indication information for the target workstation based on the first business data, and send the first station-passing indication information to the first PLC;
[0007] The first PLC is used to parse the first station-passing indication information to obtain a parsing result, and return the parsing result to a second PLC corresponding to the target station;
[0008] The second PLC corresponding to the target station is used to control the target station to execute the ingot passing task based on the analysis result.
[0009] According to a second aspect of the present disclosure, an automatic silk ingot passing station control method is provided, which is applied to an automatic silk ingot passing station control system. The automatic silk ingot passing station control system includes an MES, a first PLC, and multiple second PLCs. The multiple second PLCs are respectively connected to the first PLC, and each second PLC is connected to at least one work station. The first PLC can be connected to the MES. The automatic silk ingot passing station control method includes:
[0010] When the control button of the first PLC is in the online mode and the communication between the first PLC and the MES is normal, the first PLC obtains the second service data of the target work station from the second PLC, and sends the first service data of the target work station obtained according to the second service data to the MES, so that the MES performs the judgment process of the online passing station condition based on the first service data, and returns the first passing station indication information to the first PLC. The first passing station indication information is permission to pass or prohibition to pass.
[0011] When the first PLC receives the first passing station indication information, it sends the parsing result of the first passing station indication information to the second PLC, so that the second PLC controls the target work station to perform the silk ingot passing station task based on the parsing result.
[0012] According to a third aspect of the present disclosure, an electronic device is provided, including:
[0013] At least one processor; and
[0014] A memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores instructions executable 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 execute any method in the embodiments of the present disclosure.
[0016] 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 cause the computer to execute any method in the embodiments of the present disclosure.
[0017] According to the technology of the present disclosure, automatic passing station management of silk ingots can be realized, and the passing station efficiency of silk ingots can be improved.
[0018] It should be understood that the content described in the summary of the invention section is not intended to limit the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent by referring to the following detailed description in conjunction with the accompanying drawings. In the drawings, the same or similar reference numerals denote the same or similar elements, where:
[0020] Figure 1 is a schematic diagram of the automatic passing control system for silk ingots according to an embodiment of the present disclosure;
[0021] Figure 2 is a schematic diagram of on-line passing of the automatic passing control system for silk ingots according to an embodiment of the present disclosure;
[0022] Figure 3 is a schematic diagram of on-line forced passing of the automatic passing control system for silk ingots according to an embodiment of the present disclosure;
[0023] Figure 4 is a schematic diagram of off-line passing of the automatic passing control system for silk ingots according to an embodiment of the present disclosure;
[0024] Figure 5 is a flowchart of the automatic passing control method for silk ingots according to an embodiment of the present disclosure Figure 1 ;
[0025] Figure 6 is a flowchart of the automatic passing control method for silk ingots according to an embodiment of the present disclosure Figure 2 ;
[0026] Figure 7 is a flowchart of the automatic passing control method for silk ingots according to an embodiment of the present disclosure Figure 2 ;
[0027] Figure 8 is a block diagram of an electronic device for implementing the automatic passing control method for silk ingots according to an embodiment of the present disclosure. Detailed Embodiments
[0028] The following describes exemplary embodiments of the present disclosure in conjunction with the accompanying drawings. Various details of the embodiments of the present disclosure are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize 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, descriptions of well-known functions and structures are omitted below for clarity and conciseness.
[0029] In the embodiments of the specification, claims and the above-mentioned drawings of the present disclosure, terms such as "first", "second" and "third" are used to distinguish similar objects and do not necessarily describe a specific order or sequence. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a method, system, product or device that comprises a series of steps or units does not necessarily limit to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0030] Before introducing the technical solutions of the embodiments of the present disclosure, further explanations will be made on the technical terms that may be used in the present disclosure:
[0031] MES: A software system used for monitoring and managing the manufacturing process, which can collect, process and analyze production data in real time, and optimize production plans and resource allocation.
[0032] 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 preset programs and output control signals to control the operation of the equipment.
[0033] Business data: Data related to business generated during the manufacturing process, such as equipment status, product quantity, production progress, etc. These data are the basis for MES and PLC to make decisions and controls.
[0034] Station passing instruction information (also known as station passing instruction): Instructions and parameter information generated by MES based on business data analysis to guide equipment to perform station passing tasks.
[0035] Figure 1 shows a schematic diagram of the automatic ingot station passing control system, as Figure 1 shown, the automatic ingot station passing control system includes 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 MES. Each second PLC is responsible for controlling at least one work station. Among them, the second PLC is mainly responsible for collecting and processing the real-time business data (i.e., the second business data) of the target work station and providing it for the first PLC to use. The first PLC is responsible for interacting with the second PLC to obtain the second business data from the second PLC; the first PLC is also responsible for interacting with MES, sending the first business data to MES, and receiving the first station passing instruction information issued by MES based on the first business data, and then notifying the second PLC to execute the first station passing instruction information for the target work station, and the first station passing instruction information is permission to pass or prohibition to pass.
[0036] Here, the first service data is a data set collected and processed by the first PLC, including information such as the real-time status of the target work station, the processing progress of the yarn bobbin, the quality inspection results of the yarn bobbin, and the request type. These first service data contain information about the status of all relevant work stations and the operations to be performed. These data are of great significance for monitoring the operation status of the production line and making decisions on whether to allow passing through the station.
[0037] Here, the second service data is a data set collected and processed by the second PLC, including information such as the real-time status of the target work station, the processing progress of the yarn bobbin, the quality inspection results of the yarn bobbin, and the yarn bobbin bar code. These data are of great significance for monitoring the operation status of the production line. Each second PLC is used to obtain and store the second service data of the target work station under its control. For example, these data are stored in the data storage area allocated for the work station it is responsible for, such as a data block (DataBlocks, DB block).
[0038] Here, MES can communicate with the first PLC through a network or other communication means such as a management interface (Management Interface, MI).
[0039] The main types of yarn bobbins involved in the solution of the embodiment of the present disclosure may include one or more of partially oriented yarns (POY), fully drawn yarns (FDY), draw textured yarns (DTY) (or called low elastic yarns), etc. For example, the types of yarns may specifically include polyester partially oriented yarns, polyester fully drawn yarns, polyester drawn yarns, polyester draw textured yarns, polyester staple fiber (PSF), etc.
[0040] The automatic silk ingot passing station control system of the embodiments of the present disclosure enables MES to monitor the status of each work station in real time and make adjustments and optimizations as needed through real-time communication and data processing among MES, the first PLC, and the second PLCs. Through the above-mentioned automatic control, manual intervention is reduced, the efficiency and accuracy of the silk ingot passing station are improved; material waste and downtime caused by human errors are reduced, and the production cost is lowered. Through the above-mentioned automatic control, the stability and consistency of the silk ingot during the passing station process are ensured, which helps to improve the overall production rhythm and efficiency. By using the first PLC as the middle layer between MES and multiple second PLCs, the automatic silk ingot passing station control system has significant advantages in terms of centralized management, data integration, reducing the burden on MES, enhancing system scalability, improving security and stability, and simplifying the network structure.
[0041] If MES directly communicates with multiple second PLCs, it will need to process a large amount of real-time data and requests, which may increase the burden on MES and affect its performance. By using the first PLC as the middle layer, MES only needs to communicate with the first PLC, thus reducing its processing burden. In the absence of the first PLC as the middle layer, MES needs to establish direct communication connections with each second PLC, which will make the network structure complex and difficult to manage. By using the first PLC for transit, the network structure can be greatly simplified, making the entire communication process clearer and more orderly. The first PLC can serve as a security barrier to verify and filter the data from the second PLCs, preventing malicious or incorrect data from entering the MES system. At the same time, the redundancy and fault tolerance mechanisms of the first PLC can improve the stability and reliability of the system, ensuring the normal operation of the production line even in case of partial equipment failures.
[0042] With the expansion and upgrade of the production line, more second PLCs may need to be added. If MES directly communicates with each second PLC, corresponding configurations and modifications to MES are required for each expansion. By using the first PLC as the middle layer, only the support for the new second PLC needs to be added in the first PLC, without modifying the configuration of MES. The first PLC can centrally receive the business data from multiple second PLCs and perform unified processing and analysis. This way makes the control of the entire production line more centralized and orderly, reducing the complexity and chaos of MES directly communicating with multiple second PLCs. The first PLC can integrate the data from different second PLCs to form a more comprehensive production view, which enables 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 preprocess and filter the data to reduce the amount of data transmitted to MES and improve communication efficiency.
[0043] Figure 2It is an online passing station schematic diagram of the automatic passing station control system of the silk ingot in the embodiment of the present disclosure. As Figure 2 shown, the first PLC is used to obtain the second service data of the target station from the second PLC, and obtain the first service data of the target station according to the second service data; when the control button of the first PLC is in the online mode and the communication between the first PLC and the MES is normal, send the first service data to the MES; the MES is used to determine the first passing station indication information for the target station based on the first service data, and send the first passing station indication information to the first PLC; the first PLC is used to parse the first passing station indication information to obtain a parsing result, and return the parsing result to the second PLC corresponding to the target station; the second PLC corresponding to the target station is used to control the target station to execute the silk ingot passing station task based on the parsing result.
[0044] In some embodiments, the control button is a physical switch or knob for controlling the working mode of the first PLC, and is used to switch the working mode of the first PLC (such as the online mode or the offline mode). The offline mode is a specific position or mark on the control button. When the button is rotated to this position, it means that the offline mode is selected, which is used to actively interrupt the communication with the MES. The online mode is a specific position or mark on the control button. When the button is rotated to this position, it means that the online mode is selected, which is used to maintain communication with the MES.
[0045] In some embodiments, the first PLC is specifically used to: convert the second service data into the first service data in the data storage format according to the preset data storage format, where the first service data is stored in the data storage area allocated by the first PLC for the target station, and different types of variables in the first service data correspond to different fixed addresses in the data storage area.
[0046] In the online passing station solution of the embodiment of the present disclosure, when the control button of the first PLC is in the online mode and the communication between the first PLC and the MES is normal, through the real-time communication and data processing among the MES, the first PLC and multiple second PLCs, the MES can monitor the status of each station in real time, and adjust and optimize the passing station strategy as needed to achieve the automatic passing station management of the silk ingot. By automatically controlling the passing of the silk ingot through the station, manual intervention is reduced, the efficiency and accuracy of the silk ingot passing through the station are improved, and the production cost is reduced. Automatically controlling the passing of the silk ingot through the station ensures the stability and consistency of the silk ingot during the passing process, and helps to improve the overall production rhythm and efficiency.
[0047] In some embodiments, the second PLC corresponding to the target station is used to:
[0048] In the case where the parsing result is permission to pass through the station, notify the passing station device or directly control the passing station device to transfer the silk ingot processed at the target station to the next station of the target station;
[0049] In the case where the parsing result is to prohibit passing through the station, notify the equipment for passing through the station or directly control the equipment for passing through the station to prohibit the target work station from executing the task of passing the silk ingot through the station, and resend the second service data for the target work station.
[0050] Here, the equipment for passing through the station refers to the automated equipment used on the production line to realize the transfer of materials (such as silk ingots) between different work stations, such as conveyor belts, manipulators, automatic handling carts, etc. The above is only an exemplary description and does not limit all possible equipment included in the equipment for passing through the station. It is just not enumerated here.
[0051] In this way, through the first PLC and multiple second PLCs, the process of passing the silk ingot through the station can be accurately controlled, the waiting time and manual intervention can be reduced, and the overall efficiency of the production line can be improved; the errors caused by human factors can be reduced, and the stability and reliability of the production process can be improved. The PLC programming is flexible and can quickly adjust the control logic according to production requirements to adapt to the processing of different types and specifications of silk ingots. It can not only significantly shorten the residence time of the silk ingot at the station and improve the overall smoothness of the production line, but also effectively reduce energy consumption and labor costs.
[0052] In some embodiments, MES is specifically used for:
[0053] Parse the first service data to obtain the target string data corresponding to the target work station;
[0054] Based on the target string data, determine whether the silk ingot at the target work station meets the passing-through-station condition; if it meets the passing-through-station condition, determine that the first passing-through-station indication information is permission to pass through the station; if it does not meet the passing-through-station condition, determine that the first passing-through-station indication information is prohibition to pass through the station.
[0055] In some implementation manners, the first passing-through-station indication information is used to indicate whether the silk ingot on the production line can continue to be transferred to the next work station for processing. According to the judgment result of the passing-through-station condition, the first passing-through-station indication information can be "permission to pass through the station" or "prohibition to pass through the station".
[0056] In some embodiments, the MES first receives the first service data sent from the first PLC. This data usually includes the status information of the target station on the production line, the processing progress of the silk ingot, the quality inspection results, the number of times of requesting to pass the station, etc. A dedicated data parsing module is set inside the MES to parse the received first service data to extract the target string data corresponding to the target station. These target string data may be encoded and represent specific working states or attributes. Based on the parsed target string data, the MES further compares and analyzes with the preset passing conditions. These passing conditions may include whether the processing quality of the silk ingot meets the standard, whether all processing tasks of the current station have been completed, whether there are equipment failures or production abnormalities, etc. If the silk ingot at the target station meets all the preset passing conditions, the MES determines that the passing instruction information is "permitted to pass", 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 passing conditions, the MES determines that the passing instruction information is "forbidden to pass" and may trigger the corresponding alarm mechanism to notify the on-site personnel for inspection and handling. The MES sends the determination result (permitted to pass or forbidden to pass) as the first passing instruction information to the second PLC or other relevant control devices through the communication interface. These passing devices execute the corresponding control logic according to the received passing instruction information, such as starting or stopping the transfer action of the silk ingot.
[0057] Taking the automatic packaging line in the chemical fiber industry as an example, when the first PLC detects that the processing of the silk ingot at a certain station (such as the weighing station) is completed, it will send the first service data containing the status information of this station to the MES. After receiving the data, the MES first parses the target string data (such as the QR code and weight information of the silk ingot for this passing request), and then compares it with the preset passing conditions (such as whether the weight of the silk ingot of this specification is within the allowable range, Grade A: within the allowable range, Grade B: light weight, Grade C: heavy weight). If the quality grade of the silk ingot is Grade A, the MES determines that the passing instruction information is "permitted to pass" and notifies the second PLC to start the transfer action of the silk ingot; if the quality grade of the silk ingot is Grade B or Grade C, it is determined as "forbidden to pass" and the alarm mechanism is triggered.
[0058] In this way, through the parsing of the first service data by the MES and the accurate judgment of the passing conditions, it can be ensured that only the silk ingots that meet the requirements can continue to be transferred, thereby improving the accuracy and reliability of production. Timely discovering and preventing the transfer of silk ingots that do not meet the passing conditions can reduce abnormal situations in the production process, such as equipment failures and quality problems, thereby reducing production risks. Through automatic judgment and indication of the passing information, it is possible to reduce manual intervention and waiting time and improve the overall operation efficiency of the production line.
[0059] Figure 3It is a schematic diagram of forced online passing of the silk ingot automatic passing control system according to an embodiment of the present disclosure. As Figure 3 shown, the second PLC is further configured to: when detecting that the control button corresponding to the target station is switched to the manual mode, record the forced passing variable as 1 in the second service data; wherein, the forced passing variable = 1 indicates that the target station requests forced passing; the first PLC is further configured to: when the control button of the first PLC is in the online mode and the communication between the first PLC and the MES is normal, record the forced passing variable = 1 in the first service data corresponding to the target station; the MES is further configured to: if it detects that the first service data includes the forced passing variable = 1, determine the second passing instruction information for the target station based on the forced passing variable, wherein the second passing instruction information is permission to pass; the first PLC is further configured to: when the first PLC receives the second passing instruction information, send the parsing result of the second passing instruction information to the second PLC, so that the second PLC controls the target station to execute the silk ingot passing task based on the parsing result.
[0060] Here, the control button is a physical switch or knob for manually controlling the state of a device or system. It is used to switch the working mode (such as automatic or manual) of the target station. The manual mode is a specific position or mark on the control button. When the button is switched to this position, it means that the manual control mode is selected, and it is used to trigger a forced passing request. When the control button corresponding to the target station is switched to the manual mode position, the forced passing variable is set to 1; wherein, the forced passing variable = 1 indicates that the target station requests forced passing.
[0061] Suppose that on an automated production line, a notice of increased production is received temporarily. In order to complete the task on time, the operator switches the control button from the automatic mode to the manual mode. At this time, the second PLC detects this situation and sends the second service data containing the forced passing variable = 1 to the first PLC. After processing by the first PLC, the first service data containing the same forced passing variable is sent to the MES. After receiving the data, the MES immediately parses and checks the value of the forced passing variable. After confirming that it is 1, it quickly generates an instruction information of "permission to pass" and sends it to the first PLC. The first PLC then passes this information to the second PLC, and finally controls the target station to directly execute the passing task.
[0062] The online forced passing station solution of the embodiments of the present disclosure can realize the automated online forced passing station management of silk ingots and improve the passing station efficiency of silk ingots. By introducing control buttons for target workstations, it allows operators to directly intervene in the production process under specific circumstances, enhancing the flexibility of the system and its ability to handle emergencies. When it is necessary to urgently skip a certain workstation, the operator can quickly trigger a forced passing station request by rotating the control button, and the system can quickly respond and execute the corresponding control logic. Additionally, during equipment failures or maintenance, partial bypass of the production line can be achieved through manual control, thereby reducing the overall downtime and improving the silk ingot production efficiency.
[0063] Figure 4 is the off-line passing station schematic diagram of the silk ingot automatic passing station control system of the embodiments of the present disclosure, as Figure 4 shown, the first PLC is further configured to: in the case where the control button of the first PLC is in the off-line mode or the communication between the first PLC and the MES is interrupted, obtain the second service data of the target workstation from the second PLC, obtain the first service data of the target workstation according to the second service data, record the first service data, and directly generate the third passing station indication information for the target workstation; send the third passing station indication information to the second PLC, so that the second PLC controls the target workstation to execute the silk ingot passing station task based on the third passing station indication information, and the third passing station indication information is permission to pass the station.
[0064] In some embodiments, the first PLC continuously monitors the status of the control button directly connected to it. This button is usually installed on the control panel and allows the operator to manually switch the working mode of the first PLC. When it is detected that the control button is rotated to the "off-line mode" position, the first PLC immediately records this event and considers that the connection with the MES has been or is about to be disconnected. It should be noted that this detection method mainly relies on hardware signals (such as the on-off state of the button), so it is immediate and reliable. After determining the off-line mode, the first PLC will obtain the second service data of the target workstation from the second PLC according to the established process and convert it into the first service data. Based on the processed first service data, the first PLC will decide whether to send passing station indication information to the second PLC to control the silk ingot passing station task. Generally, the first PLC will send the passing station indication information of "permission to pass the station" to the second PLC. The system should have the ability to handle various abnormal situations and automatically synchronize data or restore the connection with the MES when the conditions are restored.
[0065] Taking the automatic packaging line in the chemical fiber industry as an example, due to a network failure, MES is temporarily unable to communicate with the first PLC. At this time, the operator can walk to the control panel where the first PLC is located and rotate the control button to the "offline mode". After detecting this change, the first PLC will automatically determine that the connection with MES has been disconnected and immediately start the passing station control process in the offline mode. Subsequently, the first PLC will send a passing station instruction message of "permission to pass the station" to the second PLC to ensure that the silk ingots can smoothly move from the current work station to the next work station.
[0066] The offline passing station solution of the embodiments of the present disclosure can realize the automatic offline forced passing station management of silk ingots and the automatic caching of offline passing station records. By introducing a control button for the first PLC, allowing operators to directly intervene in the production process under specific circumstances, it improves the flexibility of the system and the ability to handle emergencies. By allowing the operator to manually switch the working mode of the first PLC, the system can quickly adjust the operating state according to actual needs, enhancing the flexibility and adaptability of the system. The status detection of the control button provides an intuitive indication of the connection status between the first PLC and MES, helping to promptly detect and handle connection problems, thereby improving the reliability of the system. In the case where MES is unavailable, the operator can simply rotate the control button to switch the first PLC to the offline mode, enabling the system to continue to execute the passing station task, simplifying the operation process and reducing the downtime.
[0067] In some embodiments, the first PLC is further configured to: when the control button of the first PLC is in the offline mode or the communication between the first PLC and MES is interrupted, the first PLC generates offline data based on the first service data; wherein, the offline data includes the passing station records that need to be synchronized to MES; when the control button of the first PLC is switched from the offline mode to the online mode and the communication between the first PLC and MES is restored, synchronize the offline data to MES.
[0068] Here, different from the first service data, the offline data is not directly derived from the real-time data conversion at the production site, but refers to the data that needs to be recorded during the communication interruption between the first PLC and MES for subsequent synchronization to MES. These data may include various production records, events, status changes, etc. In the case of communication interruption between the first PLC and MES, in order to maintain the continuity and integrity of the data, these data need to be stored in the offline cache area. The main purpose of the offline data is to synchronize these data to the MES system after the network is restored or the connection with MES is re-established, to ensure that the data in the MES system is up-to-date and can reflect the real situation of the production site. This is crucial for production management, data analysis, report generation, etc.
[0069] It is assumed that the automatic control of silk ingot packaging is carried out by the first PLC and the second PLC, and the first PLC interacts with the MES system in real time to produce data. One day, due to a network failure, the communication between the first PLC and the MES was interrupted, and key data such as the passing record generated during this period was stored in the offline cache area of the first PLC. When the network failure was resolved, the first PLC detected that the control button had switched from the offline mode to the online mode, and the communication with the MES was restored. At this time, the first PLC automatically started the data synchronization program to synchronize the data such as the passing record in the offline cache area to the MES system, ensuring the integrity and real-time nature of the production data.
[0070] The synchronous offline data solution of the embodiments of the present disclosure can realize the automatic synchronization of offline passing records of silk ingots and improve the passing efficiency of silk ingots. By using the offline cache mechanism to record offline data, even when the communication between the first PLC and the MES is interrupted, it can ensure the temporary storage and subsequent synchronization of important data, improving the efficiency and reliability of data synchronization. When the control button of the first PLC switches from the offline mode to the online mode and the communication between the first PLC and the MES is restored, if it is detected that there is offline data stored in the offline cache area, the offline data is synchronized to the MES, which can ensure that the key data in the production process can be timely synchronized to the MES system, helping the management to grasp the production status in real time and make quick responses. Through the offline cache mechanism, even in the case of communication interruption, the integrity and traceability of key data can be guaranteed, avoiding the impact on production caused by data loss. Through the automatic synchronization mechanism, communication failures can be detected and resolved in a timely manner, improving the stability and reliability of the system.
[0071] In some embodiments, the first PLC assigns multiple offline cache areas and one offline control area to all target workstations. The multiple offline cache areas are shared by all target workstations, and the offline control area includes relevant data bits and control bits for synchronizing offline data to the MES.
[0072] Here, the offline cache area is a specific area divided in the first PLC or other storage devices for storing data to be synchronized when the communication between the first PLC and the MES is interrupted.
[0073] Here, the offline control area is a dedicated area set in the second PLC, including relevant data bits and control bits for controlling the offline data synchronization process.
[0074] In some embodiments, the first PLC assigns multiple shared offline cache areas to all target workstations. These areas are used to store the offline data generated by each workstation during the interruption of the communication between the PLC and the MES, such as passing records, production parameters, etc.
[0075] In some embodiments, when the communication between the first PLC and the MES is interrupted, the offline data generated by each target workstation will be automatically stored in a shared offline cache area. At the same time, the relevant data bits and control bits in the offline control area will be updated to reflect the current synchronization status and priority. Once the communication between the first PLC and the MES is restored, the first PLC will check the status information in the offline control area and decide which offline data needs to be synchronized to the MES according to the priority and synchronization strategy. Then, the first PLC will send the offline data from the cache area to the MES in a predetermined format and protocol. After receiving the offline data, the MES will perform verification and confirmation. Once the data is successfully received and processed, the MES system will send a synchronization confirmation signal to the first PLC. After receiving the confirmation signal, the first PLC will update the status information in the offline control area and clear the synchronized offline data to release the cache space for subsequent use.
[0076] In this way, by allocating a shared offline cache area for all target workstations, it can be ensured that the critical data generated during the communication interruption is properly saved, avoiding the impact on production caused by data loss. The setting of the offline control area enables the PLC to flexibly control the synchronization process of offline data, including synchronization priority, target MES address, etc., so as to meet the requirements in different production scenarios. Once the communication is restored, the first PLC can quickly synchronize the offline data to the MES, ensuring that the management can grasp the production status in real time and make a quick response, thereby improving production efficiency. Through the synchronization confirmation and cleaning mechanism, it can be ensured that the synchronized offline data is deleted from the cache area in a timely manner, avoiding occupying too much storage space resources.
[0077] It should be understood that Figure 1 、 Figure 2 、 Figure 3 and Figure 4 The schematic diagrams shown are merely exemplary rather than restrictive, and they are extensible. Those skilled in the art can make various obvious changes and / or substitutions based on the examples of Figure 1 、 Figure 2 、 Figure 3 and Figure 4 The obtained technical solutions still fall within the scope of the disclosure of the embodiments of the present disclosure.
[0078] The embodiments of the present disclosure provide a method for automatically controlling the passing of silk spindles Figure 5FIG. 0 is a schematic flowchart of a method for automatically controlling a silk ingot to pass through a station according to an embodiment of the present disclosure. The method for automatically controlling a silk ingot to pass through a station can be applied to a device for automatically controlling a silk ingot to pass through a station. The device for automatically controlling a silk ingot to pass through a station is located on an electronic device, and the electronic device is applied to a control system for automatically controlling a silk ingot to pass through a station. The electronic device includes, but is not limited to, a fixed device and / or a mobile device. For example, the fixed device includes, but is not limited to, a server, and the server can be a cloud server or a general server. For example, the mobile device includes, but is not limited to: mobile phones, tablet computers, laptop computers, etc. In some possible implementation manners, the method for automatically controlling a silk ingot to pass through a station can also be implemented by a processor calling computer-readable instructions stored in a memory. As Figure 5 shown, the method for automatically controlling a silk ingot to pass through a station includes:
[0079] S501: When the control button of the first PLC is in the online mode and the first PLC communicates normally with the MES, the first PLC obtains second service data of a target station from the second PLC;
[0080] S502: The first PLC sends first service data of the target station obtained according to the second service data to the MES, so that the MES performs a judgment process on online passing conditions based on the first service data and returns a first passing instruction information to the first PLC. The first passing instruction information is permission to pass or prohibition of passing;
[0081] S503: When the first PLC receives the first passing instruction information, it sends an analysis result of the first passing instruction information to the second PLC, so that the second PLC controls the target station to perform a silk ingot passing task based on the analysis result.
[0082] In some embodiments, the judgment process on online passing conditions includes:
[0083] Based on target string data corresponding to the target station, determining whether the silk ingots of the target station meet the passing conditions; if the passing conditions are met, determining that the first passing instruction information is permission to pass; if the passing conditions are not met, determining that the first passing instruction information is prohibition of passing; the target string data is obtained by the MES parsing the first service data.
[0084] Thus, when the control button of the first PLC is in the online mode and the communication between the first PLC and the MES is normal, through the real-time communication and data processing among the MES, the first PLC, and multiple second PLCs, the MES can monitor the status of each work station in real time and adjust and optimize the passing strategy as needed to achieve automatic management of the silk ingot passing through the station. By automatically controlling the passing of the silk ingot through the station, manual intervention is reduced, the efficiency and accuracy of the silk ingot passing through the station are improved, and the production cost is reduced. Automatically controlling the passing of the silk ingot through the station ensures the stability and consistency of the silk ingot during the passing process, which helps to improve the overall production rhythm and efficiency.
[0085] In the embodiment of the present disclosure, the automatic passing control method for the silk ingot may further include: when the parsing result is "prohibited from passing", the second PLC notifies the station control device to output an abnormal passing alarm.
[0086] In some embodiments, the abnormal passing alarm includes, but is not limited to: in the automatic passing control system of the silk ingot, when it is found that the silk ingot does not meet the passing conditions, a warning signal is sent to the on-site personnel through devices such as a sound and light alarm and a display screen to prompt that there is an abnormal situation that needs to be handled.
[0087] In some embodiments, once the parsing result is "prohibited from passing", the second PLC will immediately identify that there is an abnormal situation and prepare to trigger the corresponding alarm mechanism. The second PLC sends an instruction to the passing device through the communication interface, clearly instructing it to prohibit the execution of the silk ingot passing task at the current target work station. At the same time, the second PLC will also send an additional signal or command to the passing device, instructing it to activate the abnormal passing alarm function.
[0088] In some embodiments, outputting the abnormal passing alarm includes: after receiving the alarm instruction, the passing device will immediately activate the alarm device (such as a sound and light alarm, a display screen, etc.). The alarm device will emit obvious sound and light signals to attract the attention of on-site personnel and display or broadcast specific alarm information (such as "Abnormal passing of silk ingot, please check").
[0089] In some embodiments, the second PLC will record the relevant information of this abnormal passing event, including the occurrence time, target work station, abnormal reason, etc., for subsequent analysis and traceability.
[0090] Taking the automatic packaging line in the chemical fiber industry as an example, when the silk ingot at a certain station (such as the first bagging station) is judged as "forbidden to pass through the station" due to bagging failure, the second PLC will immediately notify the equipment passing through the station or directly control the equipment passing through the station to stop the transfer of the silk ingot, and at the same time trigger an alarm for abnormal passing through the station. At this time, the audible and visual alarm on the production line will emit a harsh alarm sound and flashing red light, and at the same time, a prompt message "Abnormal passing through the station of the silk ingot at the first bagging station, please check" will be displayed on the display screen. After seeing the alarm, the on-site operator will immediately go to the first bagging station to check the problem and take corresponding measures to solve the abnormality. In this way, by promptly outputting the alarm for abnormal passing through the station, it can quickly attract the attention of on-site personnel, shorten the time for problem discovery and solution, avoid production accidents or quality problems that may be caused by the continuous transfer of unqualified silk ingots, and improve the overall safety of the production line. By quickly solving the problem of abnormal passing through the station, the downtime of the production line is reduced, and the production efficiency and production capacity are improved.
[0091] An embodiment of the present disclosure provides a method for automatically controlling the passing of silk ingots through a station. Figure 6 FIG. is a schematic flowchart of a method for automatically controlling the passing of silk ingots through a station according to an embodiment of the present disclosure. This method for automatically controlling the passing of silk ingots through a station can be applied to a device for automatically controlling the passing of silk ingots through a station, and this device for automatically controlling the passing of silk ingots through a station is located on an electronic device, and this electronic device is applied to a system for automatically controlling the passing of silk ingots through a station. The electronic device includes but is not limited to a fixed device and / or a mobile device. For example, the fixed device includes but is not limited to a server, and the server can be a cloud server or a general server. For example, the mobile device includes but is not limited to: mobile phones, tablet computers, laptop computers, etc. In some possible implementation manners, this method for automatically controlling the passing of silk ingots through a station can also be implemented by a processor calling computer-readable instructions stored in a memory. As Figure 6 shown, this method for automatically controlling the passing of silk ingots through a station includes:
[0092] S601: When the second PLC detects that the control button corresponding to the target station is switched to the manual mode, the second PLC records the forced passing variable as 1 in the second service data; where the forced passing variable = 1 indicates that the target station requests forced passing through the station.
[0093] S602: When the control button of the first PLC is in the online mode and the communication between the first PLC and the MES is normal, the first PLC records the forced passing variable = 1 in the first service data corresponding to the target station.
[0094] S603: When the MES detects that the first service data includes the forced passing variable = 1, it directly determines the second passing instruction information for the target station based on the forced passing variable without performing the judgment process of the online passing conditions; where the second passing instruction information is permission to pass through the station.
[0095] S604: When the first PLC receives the second passing - station indication information, it sends the parsing result of the second passing - station indication information to the second PLC, so that the second PLC controls the target station to execute the spool passing - station task based on the parsing result.
[0096] In some embodiments, the judgment and processing of the online passing - station conditions are the same as above and will not be elaborated here.
[0097] In this way, it is possible to achieve automated online forced passing - station management of spools, improving the spool passing - station efficiency. By introducing control buttons for the target station, operators are allowed to directly intervene in the production process under specific circumstances, improving the flexibility of the system and its ability to respond to emergencies. When it is necessary to urgently skip a certain station, the operator can quickly trigger a forced passing - station request by rotating the control button, and the system can quickly respond and execute the corresponding control logic. In addition, during equipment failures or maintenance, partial bypass of the production line can be achieved through manual control, thereby reducing the overall downtime and increasing the spool production efficiency.
[0098] The embodiments of the present disclosure provide a method for controlling automatic passing - station of spools. Figure 7 is a schematic flowchart of the method for controlling automatic passing - station of spools according to the embodiments of the present disclosure. This method for controlling automatic passing - station of spools can be applied to a device for controlling automatic passing - station of spools, which is located on an electronic device, and this electronic device is applied to a system for controlling automatic passing - station of spools. 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 server can be a cloud server or a general server. For example, mobile devices include but are not limited to: mobile phones, tablet computers, laptop computers, etc. In some possible implementation manners, this method for controlling automatic passing - station of spools can also be implemented by a processor calling computer - readable instructions stored in a memory. As Figure 7 shown, this method for controlling automatic passing - station of spools includes:
[0099] S701: When the control button of the first PLC is in the offline mode or the communication between the first PLC and the MES is interrupted, the first PLC obtains the second service data of the target station from the second PLC, and obtains the first service data of the target station according to the second service data;
[0100] S702: The first PLC records the first service data and directly generates the third passing - station indication information for the target station;
[0101] S703: Send the third passing - station indication information to the second PLC, so that the second PLC controls the target station to execute the spool passing - station task based on the third passing - station indication information, and the third passing - station indication information is permission to pass.
[0102] In this way, it is possible to achieve automatic off-line forced passing management of silk spindles and automatic caching of off-line passing records. By introducing control buttons for the first PLC, operators are allowed to directly intervene in the production process under specific circumstances, improving the flexibility of the system and its ability to respond to emergencies. By allowing the operator to manually switch the working mode of the first PLC, the system can quickly adjust its operating state according to actual needs, enhancing the flexibility and adaptability of the system. The status detection of the control buttons provides an intuitive indication of the connection status between the first PLC and the MES, helping to promptly detect and handle connection problems, thus improving the reliability of the system. In the case where the MES is unavailable, the operator can simply rotate the control button to switch the first PLC to the off-line mode, enabling the system to continue performing passing tasks. In the off-line mode of the first PLC, passing indication information can still be generated for the target workstation, simplifying the operation process and reducing downtime. The off-line caching mechanism ensures data integrity and reduces production interruptions caused by data synchronization issues.
[0103] In some embodiments, the automatic passing control method for silk spindles may further include:
[0104] When the control button of the first PLC is in the off-line mode or the communication between the first PLC and the MES is interrupted, the first PLC generates off-line data based on the first service data; wherein, the off-line data includes passing records that need to be synchronized to the MES.
[0105] When the control button of the first PLC is switched from the off-line mode to the on-line mode and the communication between the first PLC and the MES is restored, the off-line data is synchronized to the MES.
[0106] Here, the first service data is transformed from the second service data obtained by the first PLC from the second PLC corresponding to the target workstation. These second service data usually contain information such as the real-time production status, parameters, and results of the target workstation. When the first PLC is disconnected from the MES, the first PLC records this first service data transformed from the second PLC. The first service data is mainly used to support the production control of the target workstation, such as the passing task control of silk spindles. It reflects the working state of the target workstation in real-time or near real-time.
[0107] Here, different from the first service data, the off-line data does not directly originate from the conversion of real-time data at the production site, but refers to the data that needs to be recorded during the disconnection between the first PLC and the MES for subsequent synchronization to the MES. These data may include various production records, events, status changes, etc.
[0108] In this way, it is possible to achieve automated synchronous off-line passing record management of silk spindles, improving the passing efficiency of silk spindles. By means of an off-line caching mechanism to record off-line data, even in the case of communication interruption between the first PLC and the MES, it can ensure the temporary storage of important data and subsequent synchronization, improving the efficiency and reliability of data synchronization. When the control button of the first PLC is switched from the off-line mode to the on-line mode and communication between the first PLC and the MES is restored, if it is detected that off-line data is stored in the off-line cache area, the off-line data is synchronized to the MES, which can ensure that the key data in the production process can be timely synchronized to the MES system, helping the management to grasp the production status in real time and make a quick response. Through the off-line caching mechanism, even in the case of communication interruption, the integrity and traceability of key data can be guaranteed, avoiding the impact on production caused by data loss.
[0109] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0110] Figure 8 FIG. is a structural block diagram of an electronic device according to an embodiment of the present disclosure. As Figure 8 shown, the electronic device includes: a memory 810 and a processor 820, and a computer program that can run on the processor 820 is stored in the memory 810. The number of the memory 810 and the processor 820 can be one or more. The memory 810 can store one or more computer programs. When the one or more computer programs are executed by the electronic device, the electronic device executes the method provided in the above method embodiment. The electronic device may further include: a communication interface 830, configured to communicate with external devices and perform data interaction and transmission.
[0111] If the memory 810, the processor 820, and the communication interface 830 are implemented independently, the memory 810, the processor 820, and the communication interface 830 can be interconnected through a bus and complete communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 8 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.
[0112] Optionally, in specific implementation, if the memory 810, the processor 820, and the communication interface 830 are integrated on a single chip, the memory 810, the processor 820, and the communication interface 830 can communicate with each other through an internal interface.
[0113] It should be understood that the above-mentioned processor may be a central processing unit (CPU), or may also be 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. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced reduced instruction set machines (ARM) architecture.
[0114] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may further include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but 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), synchlink dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM).
[0115] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part 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 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 devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wirelessly (such as infrared, Bluetooth, microwave, etc.). 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 includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a Digital Versatile Disc (DVD)), or a semiconductor medium (such as a Solid State Disk (SSD)), etc. It should be noted that the computer-readable storage medium mentioned in the present disclosure can be a non-volatile storage medium, in other words, a non-transitory storage medium.
[0116] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a magnetic disk, an optical disc, or the like.
[0117] In the description of the embodiments of the present disclosure, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection 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 can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples.
[0118] In the description of the embodiments of the present disclosure, unless otherwise specified, " / " means "or". For example, A / B may mean A or B. The "and / or" herein is merely a description of the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, and B exists alone.
[0119] In the description of the embodiments of the present disclosure, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present disclosure, unless otherwise specified, "a plurality of" means two or more.
[0120] The above are only exemplary embodiments of the present disclosure and are not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.
Claims
1. An automatic silk ingot passing station control system, characterized in that The automatic ingot passing station control system includes a manufacturing execution system MES, a first programmable logic controller PLC, and multiple second PLCs. Among them, the multiple second PLCs are respectively connected to the first PLC, and each second PLC is connected to at least one work station. The first PLC can be connected to the MES; among them, the first PLC is used to obtain the second service data of the target work station from the second PLC, and obtain the first service data of the target work station according to the second service data; when the control button of the first PLC is in the online mode and the communication between the first PLC and the MES is normal, send the first service data to the MES; the MES is used to determine the first passing station indication information for the target work station based on the first service data, and send the first passing station indication information to the first PLC; the first PLC is used to parse the first passing station indication information to obtain a parsing result, and return the parsing result to the second PLC corresponding to the target work station; the parsing result includes: permitted to pass the station and prohibited from passing the station; the second PLC corresponding to the target work station is used to control the target work station to execute the ingot passing station task based on the parsing result; the first PLC is further used to generate offline data based on the first service data when the control button of the first PLC is in the offline mode or the communication between the first PLC and the MES is interrupted; among them, the offline data includes the passing station record that needs to be synchronized to the MES, and the synchronization status and priority corresponding to the passing station record; When the control button of the first PLC is switched from the offline mode to the online mode and the communication between the first PLC and the MES is restored, synchronize the offline data to the MES according to the synchronization status and the priority.
2. The system according to claim 1, characterized in that, The second PLC corresponding to the target work station is used for: When the parsing result is permitted to pass the station, notify the passing station device or directly control the passing station device to transfer the ingot processed by the target work station to the next work station of the target work station; When the parsing result is prohibited from passing the station, notify the passing station device or directly control the passing station device to prohibit the target work station from executing the ingot passing station task, and re-send the second service data for the target work station.
3. The system according to claim 1, wherein The MES is further used for: parse the first service data to obtain the target string data corresponding to the target work station; determine whether the ingot of the target work station meets the passing station conditions based on the target string data; if the passing station conditions are met, determine that the first passing station indication information is permitted to pass the station; if the passing station conditions are not met, determine that the first passing station indication information is prohibited from passing the station.
4. The system according to claim 1, wherein The second PLC is further used for: when it is detected that the control button corresponding to the target work station is switched to the manual mode, record the forced passing station variable as 1 in the second service data; where the forced passing station variable = 1 indicates that the target work station requests forced passing of the station. The first PLC is further configured to: when the control button of the first PLC is in the online mode and the first PLC communicates normally with the MES, record the forced passing variable = 1 in the first service data corresponding to the target work station; The MES is further configured to: if it is detected that the forced passing variable = 1 is included in the first service data, determine second passing instruction information for the target work station based on the forced passing variable, where the second passing instruction information is permission to pass; The first PLC is further configured to: when the first PLC receives the second passing instruction information, send the parsing result of the second passing instruction information to the second PLC, so that the second PLC controls the target work station to execute the ingot passing task based on the parsing result.
5. The system according to claim 1, wherein The first PLC is further configured to: when the control button of the first PLC is in the offline mode or the first PLC has a communication interruption with the MES, obtain the second service data of the target work station from the second PLC, obtain the first service data of the target work station according to the second service data, record the first service data, and directly generate third passing instruction information for the target work station; send the third passing instruction information to the second PLC, so that the second PLC controls the target work station to execute the ingot passing task based on the third passing instruction information, and the third passing instruction information is permission to pass.
6. A method for automatically controlling the passing of silk spindles through stations, which is applied to an automatic silk spindle passing through stations control system, and is characterized in that, The ingot automatic passing control system includes a manufacturing execution system MES, a first programmable logic controller PLC, and a plurality of second PLCs, where the plurality of second PLCs are respectively connected to the first PLC, each second PLC is connected to at least one work station, and the first PLC can be connected to the MES; where the ingot automatic passing control method includes: when the control button of the first PLC is in the online mode and the first PLC communicates normally with the MES, the first PLC obtains the second service data of the target work station from the second PLC, and sends the first service data of the target work station obtained according to the second service data to the MES, so that the MES performs a judgment process on the online passing condition based on the first service data, and returns first passing instruction information to the first PLC, and the first passing instruction information is permission to pass or prohibition of passing; when the first PLC receives the first passing instruction information, send the parsing result of the first passing instruction information to the second PLC, so that the second PLC controls the target work station to execute the ingot passing task based on the parsing result; the parsing result includes: permission to pass and prohibition of passing; when the control button of the first PLC is in the offline mode or the first PLC has a communication interruption with the MES, the first PLC generates offline data based on the first service data; where the offline data includes passing records that need to be synchronized to the MES and the synchronization status and priority corresponding to the passing records; When the control button of the first PLC is switched from the offline mode to the online mode and the first PLC resumes communication with the MES, the offline data is synchronized to the MES according to the synchronization state and the priority.
7. The method according to claim 6, characterized in that The automatic ingot passing control method further includes: When the second PLC detects that the control button corresponding to the target station is switched to the manual mode, the second PLC records the forced passing variable as 1 in the second service data; where the forced passing variable = 1 indicates that the target station requests forced passing. When the control button of the first PLC is in the online mode and the first PLC communicates normally with the MES, the first PLC records the forced passing variable = 1 in the first service data corresponding to the target station. When the MES detects that the first service data includes the forced passing variable = 1, it directly determines the second passing instruction information for the target station based on the forced passing variable and does not perform the judgment process of the online passing condition; where the second passing instruction information is permission to pass. When the first PLC receives the second passing instruction information, it sends the parsing result of the second passing instruction information to the second PLC, so that the second PLC controls the target station to perform the ingot passing task based on the parsing result.
8. The method according to claim 6 or 7, characterized in that The judgment process of the online passing condition includes: Based on the target string data corresponding to the target station, it is determined whether the ingot of the target station meets the passing condition; if the passing condition is met, it is determined that the first passing instruction information is permission to pass; if the passing condition is not met, it is determined that the first passing instruction information is prohibited from passing; the target string data is obtained by the MES parsing the first service data.
9. The method according to claim 6, characterized in that, The automatic ingot passing control method further includes: When the control button of the first PLC is in the offline mode or the first PLC has a communication interruption with the MES, the first PLC obtains the second service data of the target station from the second PLC, obtains the first service data of the target station according to the second service data, records the first service data, and directly generates the third passing instruction information for the target station. Send the third passing instruction information to the second PLC, so that the second PLC controls the target station to perform the ingot passing task based on the third passing instruction information, and the third passing instruction information is permission to pass.
10. An electronic device, characterized in that, Includes: At least one processor; And A memory communicatively connected to the at least one processor; where The memory stores instructions executable 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 execute the method according to any one of claims 6 to 9.
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 6 to 9.
Citation Information
Patent Citations
Monitoring system and monitoring method for vehicle manufacturing general assembly workshop equipment
CN114237175A
Vehicle manufacturing control method, device and system, controller and storage medium
CN118550279A