Method, device, electronic device and storage medium for automatically passing through a spinning ingot station
Through the collaborative work of MES and PLC, the automatic online forced-stop management of wire ingots is realized, solving the problem that wire ingotstop pass through the station affects production efficiency, and improving the smoothness and efficiency of the production line.
Patent Information
- Application Number
- CN202411370359.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-09-29
AI Technical Summary
In chemical fiber production, the speed of the wire ingots passing on the assembly line affects the overall production efficiency. It is difficult for the existing technology to achieve rapid and stable crossing of the wire ingots, resulting in limited production rhythm and efficiency.
Using the wire ingot automatic station passing control method, through the coordinated work of the production and manufacturing execution system (MES), the first programmable logic controller (PLC) and multiple second PLCs, the station status is monitored and optimized in real time, and by force station passing Variables and station pass instructions realize automated online station pass management of silk ingots.
It improves the efficiency of wire ingots passing through the station, reduces manual intervention and errors, reduces production costs, ensures the stability and consistency of the production line, simplifies the network structure, and enhances the scalability and security of the system.
Smart Images

Figure CN118884891B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of intelligent chemical fiber technology, and in particular to a method, device, electronic equipment and storage medium for automatically controlling a spindle passing through a station. 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 method, a device, an electronic device and a storage medium for automatically controlling a wire ingot through a station.
[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, wherein the automatic ingot passing station control system comprises 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 is connected to the MES; the method for controlling an automatic ingot passing station comprises:
[0005] 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 according to the second business data, wherein the second business data includes a forced station passing variable = 1;
[0006] The first PLC sends the first business data to the MES, and receives the station passing indication information determined by the MES for the target workstation based on the forced station passing variable, wherein the station passing indication information is the permitted station passing;
[0007] The first PLC analyzes the station-passing indication information to obtain an analysis result, and returns the analysis result to the second PLC corresponding to the target station, so that the second PLC controls the target station to perform the ingot-passing task based on the analysis result.
[0008] 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 for automatically passing a wire ingot through a station includes an MES, a first 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 is connected to the MES; the device for automatically passing a wire ingot through a station includes:
[0009] The first control module is used for the first PLC to obtain the second business data of the target station from the second PLC corresponding to the target station, and obtain the first business data of the target station according to the second business data, wherein the second business data includes a forced station passing variable = 1;
[0010] The second control module is used for the first PLC to send the first business data to the MES, and receive the station passing indication information determined by the MES for the target workstation based on the forced station passing variable, wherein the station passing indication information is the permitted station passing;
[0011] The third control module is used for the first PLC to parse the station passing indication information to obtain the parsing result, and return the parsing result to the second PLC corresponding to the target station, so that the second PLC controls the target station to perform the ingot passing task based on the parsing result.
[0012] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] 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 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 according to the embodiments of the present disclosure.
[0017] According to the technology disclosed in the present invention, it is possible to realize the automated online forced station passing management of the silk ingots, thereby improving the efficiency of the silk ingot passing station.
[0018] It should be understood that the contents described in the summary of the invention 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 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 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:
[0020] Figure 1 Schematic diagram of a silk ingot automatic station passing control system according to an embodiment of the present disclosure;
[0021] Figure 2 It is a flow chart of the method for controlling the automatic passing of ingots according to an embodiment of the present disclosure;
[0022] Figure 3 It is a schematic diagram of a processing flow of a first PLC sending a forced station passing request to an MES according to an embodiment of the present disclosure;
[0023] Figure 4 It is a schematic diagram of a processing flow of a first PLC sending a stop-stop indication information to a second PLC after an MES generates the stop-stop indication information according to an embodiment of the present disclosure;
[0024] Figure 5 2 is a schematic diagram of the structure of the automatic ingot passing control device according to an embodiment of the present disclosure;
[0025] Figure 6 It is a block diagram of an electronic device used to implement the method for automatically controlling the silk ingot passing through a station according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art 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.
[0027] The terms "first", "second", and "third", etc. in the specification embodiments and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. 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. The method, system, product, or device is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0028] Before introducing the technical solutions of the embodiments of the present disclosure, the technical terms that may be used in the present disclosure are further explained:
[0029] MES: A software system used to monitor and manage manufacturing processes that can collect, process and analyze production data in real time to optimize production planning and resource allocation.
[0030] PLC: An industrial digital computer used to control automated equipment, such as mechanical devices and robots on production lines. 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.
[0031] Business data: business-related data 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 control.
[0032] Station passing instruction information (also called station passing instructions): instructions and parameter information generated by MES based on business data analysis to guide equipment to perform station passing tasks.
[0033] 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 MES, a first PLC and multiple second PLCs, the multiple second PLCs are respectively connected to the first PLC, the first PLC is connected to the MES, and each second PLC is responsible for controlling at least one workstation. Among them, the second PLC is mainly responsible for collecting and processing the real-time business data of the target workstation and providing it to the first PLC for use. The first PLC is responsible for interacting with the second PLC and obtaining the second business data from the second PLC; the first PLC is also responsible for interacting with the MES, sending the first business data to the MES, and receiving the transit indication information issued by the MES based on the first business data, and then notifying the second PLC to execute the transit indication information for the target workstation.
[0034] In some embodiments, the MES is used to determine the transit indication information for the target workstation based on the first business data sent by the first PLC, and return the transit indication information to the first PLC.
[0035] In some implementations, the first PLC is used to obtain the first business data for the target workstation based on the second business data for the target workstation acquired from the second PLC.
[0036] In some implementations, each second PLC is used to obtain and store the second business data of the target workstation managed by it.
[0037] Here, the first business data is a data set collected and processed by the first PLC, which includes information about the real-time status of the target station, the progress of the ingot processing, the ingot quality test results, the request type, etc. These data are of great significance for monitoring the operating status of the production line and making decisions on whether to allow the station to pass.
[0038] Here, the second business data is a data set collected and processed by the second PLC, which includes information about the real-time status of the target station, the progress of the ingot processing, the results of the ingot quality inspection, the ingot barcode, etc. These data are of great significance for monitoring the operation status of the production line.
[0039] The ingot automatic station-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 the ingot passing stations are improved, the material waste and downtime caused by human errors are reduced, and the production cost is reduced. Through the above-mentioned automated control, the stability and consistency of the ingots during the station-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 ingot automatic station-passing control system has significant advantages in centralized management, data integration, reducing the burden of MES, enhancing system scalability, improving security and stability, and simplifying network structure.
[0040] If the MES communicates directly with multiple second PLCs, it will need to process a large amount of real-time data and requests, which may increase the burden on the MES and affect its performance. With the first PLC as the middle layer, the MES only needs to communicate with the first PLC, which reduces its processing burden. Without the first PLC as the middle layer, the MES needs to establish a direct communication connection with each second PLC, which makes the network structure complicated and difficult to manage. Transiting through the first PLC can greatly simplify the network structure, making the entire communication process clearer and more orderly. The first PLC can act as a security barrier to verify and filter data from the second PLC to prevent malicious data or erroneous data from entering the MES system. At the same time, the redundancy and fault-tolerant mechanism of the first PLC can improve the stability and reliability of the system, ensuring that the normal operation of the production line can be maintained when some equipment fails.
[0041] As the production line expands and upgrades, more second PLCs may need to be added. If the MES communicates directly with each second PLC, then each expansion requires corresponding configuration and modification of the MES. With the first PLC as the middle layer, it is only necessary to add support for the new second PLC in the first PLC without modifying the configuration of the MES. 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 MES communicating directly with 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 to reduce the amount of data transmitted to the MES and improve communication efficiency.
[0042] The embodiment of the present disclosure provides a method for controlling the automatic passing of a silk ingot. Figure 2 It is a flow chart of a method for controlling the automatic station passing of silk ingots according to an embodiment of the present disclosure. The method for controlling the automatic station passing of silk ingots can be applied to a device for controlling the automatic station passing of silk ingots. The device for controlling the automatic station passing of silk ingots is located on an electronic device, and the electronic device is applied to a control system for controlling the automatic station 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 station 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 automatically controlling the ingot passing through a station includes:
[0043] S201: 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, wherein the second business data includes a forced station passing variable = 1;
[0044] S202: The first PLC sends first business data to the MES, and receives the stop-stop indication information determined by the MES for the target workstation based on the forced stop-stop variable, wherein the stop-stop indication information is a permitted stop-stop;
[0045] S203: The first PLC analyzes the station-passing indication information to obtain an analysis result, and returns the analysis result to the second PLC corresponding to the target station, so that the second PLC controls the target station to perform the ingot-passing task based on the analysis result.
[0046] In some embodiments, the forced station passing variable is a flag or variable used to indicate whether the target station requests forced station passing in the ingot automatic station passing control system. When the variable is 1, it indicates that the target station requests forced station passing.
[0047] In some embodiments, each second PLC collects and processes relevant second business data (such as ingot position, status, quantity, etc.) according to the status of the workstation it controls, and stores these data in the data storage area such as data blocks (DB blocks) allocated by the second PLC to the workstation it is responsible for.
[0048] In some embodiments, the first PLC periodically obtains the second business data of each workstation from each second PLC and generates the 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. 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 station 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 can also include parameters such as the specific time of the station passing, the target position, and the speed.
[0049] In some implementations, the MES sends the generated station-passing indication information to the first PLC via a network or other communication methods such as a management interface (MI).
[0050] In some embodiments, after receiving the station-passing indication information from the MES, the first PLC performs parsing and extracts specific control instructions and parameters. After the first PLC completes the parsing, it sends the parsing result (i.e., specific control instructions and parameters) to the second PLC corresponding to the target station through a communication interface or communication protocol.
[0051] In some embodiments, after receiving the analysis result, the second PLC controls the mechanical device or robot or other station-passing equipment at the target station to perform the ingot-passing task according to the control instructions and parameters in the analysis result.
[0052] In some embodiments, the first PLC establishes a communication connection with the second PLC corresponding to the target station through a preset communication protocol. The first PLC sends a data request instruction to the second PLC to request to obtain the second business data of the target station. After receiving the request, the second PLC sends the second business data including the forced station pass variable (the value is 1, indicating that the station requests forced station pass) to the first PLC. After receiving the data, the first PLC converts the second business data into the first business data suitable for its subsequent processing according to internal logic or preset rules.
[0053] In some embodiments, the first PLC sends the processed first business data (including forced station passing variables) to the MES through the communication interface. After receiving the first business data, the MES directly generates station passing indication information (such as "station passing is permitted") according to the forced station passing variables therein. The MES sends the station passing indication information back to the first PLC through the same or different communication protocols. After receiving the station passing indication information sent by the MES, the first PLC parses it and extracts the key parsing results (such as confirming whether the station passing is permitted). The first PLC returns the parsing result to the second PLC corresponding to the target workstation through the communication connection. After receiving the parsing result, the second PLC controls the target workstation to perform the corresponding ingot station passing task, such as directly moving to the next workstation, according to the instructions in the result (such as station passing is permitted).
[0054] For example, suppose there are multiple workstations on the production line, and each workstation is responsible for different processing tasks. When the silk ingots of a certain workstation (such as a weighing workstation) are processed, it is necessary to proceed directly to the next process for some reason. At this time, the second PLC of the workstation sends the second business data containing the forced station-passing variable = 1 to the first PLC. After processing, the first PLC sends the second business data to the MES. The MES determines that the workstation can skip the online station-passing judgment step based on the forced station-passing variable = 1 in the second business data, and sends the "permitted station-passing" instruction information to the first PLC. After parsing, the first PLC returns the result to the second PLC. Subsequently, the second PLC sends instructions to the station-passing equipment (such as a conveyor belt or a robot) to transfer the processed silk ingots to the next workstation (such as a coil diameter measurement station) for subsequent processing.
[0055] The main types of yarn spindles 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 yarn), 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.
[0056] The technical solution of the disclosed embodiment enables MES to monitor the status of each workstation in real time and adjust and optimize the station-passing strategy as needed through real-time communication and data processing between MES, the first PLC and multiple second PLCs. Through automated forced station-passing control, unnecessary steps are reduced, and the fluidity and efficiency of the overall production line are improved. In the event of specific circumstances (such as equipment failure, material shortage, etc.), the production process can be quickly adjusted to reduce production interruptions. MES makes decisions based on real-time data, which enhances the accuracy and response speed of production management.
[0057] In the disclosed embodiment, the second PLC controls the target workstation to execute the silk ingot passing task based on the analysis result, including: when the analysis result is that the passing is allowed, the second PLC notifies the passing device or directly controls the passing device to transfer the silk ingot processed by the target workstation to the next workstation of the target workstation.
[0058] Here, the station-passing equipment refers to the automated equipment used to transfer materials (such as ingots) between different workstations on the production line, such as conveyor belts, manipulators, automatic transport carts, etc. The above is only an exemplary description and is not intended to limit all possible equipment included in the station-passing equipment, but it is not exhaustive here.
[0059] In some embodiments, the analysis result includes an evaluation result of the MES on whether the ingot at the target station meets the station passing condition, which is used to guide subsequent control operations.
[0060] In some embodiments, when the parsing result is "permitted to pass the station", the second PLC will send an instruction or signal to the passing station device, notifying it to prepare to transfer the silk ingots processed at the target station. After receiving the instruction from the second PLC, the passing station device will transfer the silk ingots from the target station to the next station according to the preset program or path. During the transfer process, a series of actions such as grabbing, carrying, and placing the silk ingots may be involved, and these actions must be precisely controlled to ensure the safe and accurate transfer of the silk ingots.
[0061] In some embodiments, the second PLC continuously monitors the operating status of the station-passing device and the transmission of the ingot. Once the transmission is completed, the station-passing device sends a feedback signal to the second PLC to confirm that the current ingot has successfully arrived at the next station. The second PLC updates the internal state according to the feedback signal to prepare for subsequent control operations.
[0062] For example, suppose there are multiple stations on the production line, each station is responsible for different processing tasks. When the silk ingots of a station (such as a weighing station) are processed, the second PLC receives the analysis result of the station. Regardless of whether the weight, specification, batch number and other parameters meet the requirements, as long as the forced station variable = 1, it is judged as "permitted to pass the station". Subsequently, the second PLC sends instructions to the station passing equipment (such as a conveyor belt or a robot) to transfer the processed silk ingots to the next station (such as a coil diameter measurement station) for subsequent processing.
[0063] In this way, the first PLC and multiple second PLCs can accurately control the silk ingot passing process, reduce waiting time and manual intervention, and improve the overall efficiency of the production line; reduce errors caused by human factors, and improve the stability and reliability of the production process. PLC programming is flexible, and the control logic can be quickly adjusted according to production needs to adapt to the processing of silk ingots of different types and specifications. MES supports forced passing, which can not only greatly shorten the silk ingot's stay time at the station and improve the overall smoothness of the production line, but also effectively reduce energy consumption and labor costs.
[0064] In the disclosed embodiment, the method for controlling the automatic station passing of ingots also includes: the second PLC detects that the control button corresponding to the target workstation is rotated to the manual mode position, and sets the forced station passing variable to 1; wherein, the forced station passing variable = 1 indicates that the target workstation requests a forced station passing.
[0065] In some embodiments, the control button is a physical switch or knob for manually controlling the state of a device or system, and is used to switch the working mode of the target station (such as automatic or manual). The manual mode is a specific position or mark on the control button. When the button is rotated to this position, it indicates that the manual control mode is selected, which is used to trigger a forced station pass request.
[0066] In some embodiments, a rotary control button with multiple positions (such as automatic, manual, etc.) is installed on the target workstation, and this button is used to switch the working mode of the workstation. The second PLC continuously monitors the status of the control button through a built-in input module or an external sensor. When the control button is detected to rotate from the automatic mode to the manual mode, especially when it is rotated to the position corresponding to the "manual mode", the second PLC will recognize this change. Once the second PLC detects that the control button is rotated to the manual mode position, it will immediately set the internally stored forced station passing variable (usually a flag bit or variable) to 1. This operation indicates that the target workstation currently requests a forced station passing. Subsequently, the second PLC will update its internal relevant business data, including the information that the forced station passing variable is set to 1, and prepare to send these data (including the new forced station passing variable value) to the first PLC. The transmission of data can be carried out through the previously established communication connection.
[0067] Take the automatic packaging line in the chemical fiber industry as an example. The quality inspection station needs to stop the quality inspection urgently and bypass the quality inspection step due to a sudden failure. The operator quickly arrives at the station and turns the control button of the quality inspection station from automatic mode to manual mode. At this time, the second PLC detects this change, sets the forced station pass variable to 1, and triggers the subsequent automatic forced station pass control process. Finally, the station successfully bypasses the quality inspection step and continues to execute the next process.
[0068] In this way, by introducing control buttons, operators are allowed to directly intervene in the production process under certain circumstances, which improves the flexibility of the system and its ability to respond to emergencies. When a station needs to be skipped urgently, the operator can quickly trigger a forced station skipping request by rotating the control button, and the system can respond quickly and execute the corresponding control logic. In addition, during equipment failure or maintenance, manual control can achieve partial bypass of the production line, thereby reducing overall downtime and improving production efficiency.
[0069] In the disclosed embodiment, the method for controlling the automatic station passing of ingots further includes: when the MES detects that there is a forced station passing variable = 1 in the first business data, determining that the station passing indication information is a permitted station passing.
[0070] In some embodiments, the MES receives first business data sent from the first PLC through its communication interface. These data contain various information related to the target workstation, including a forced stop-over variable. The data processing module inside the MES parses the received first business data and extracts key information, especially the value of the forced stop-over variable. During the parsing process, the MES checks the value of the forced stop-over variable. If it is detected that the forced stop-over variable = 1, this means that the target workstation requests a forced stop-over. Since the forced stop-over variable is 1, the MES determines that the stop-over indication information is "stop-over permitted". The MES explicitly indicates that the target workstation is permitted to stop-over and sends this information back to the first PLC through the communication interface.
[0071] Suppose that on an automated production line, a notice to increase production is temporarily received. In order to complete the task on time, the operator switches the control button from automatic mode to manual mode. At this time, the second PLC detects this situation and sends the second business data containing the forced station-passing variable = 1 to the first PLC. After processing, the first PLC sends the first business data containing the same forced station-passing variable to the MES. After receiving the data, the MES immediately parses and checks the value of the forced station-passing variable. After confirming that it is 1, it quickly generates an indication message of "permitting station-passing" 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 station-passing task.
[0072] In this way, by directly checking the forced stop-stop variable in the first business data, MES can quickly and accurately make a decision on whether to allow the stop-stop, reducing the possibility of human intervention and misjudgment. Once MES detects a forced stop-stop request, it can immediately generate and send stop-stop instruction information, thereby speeding up the response speed of the entire stop-stop control process. When a certain workstation or step needs to be bypassed urgently, the automatic decision-making ability of MES can ensure smooth production processes and reduce production interruptions and resource waste.
[0073] In the disclosed embodiment, the method for controlling the automatic station passing of ingots further includes: when the MES detects that a forced station passing variable = 1 exists in the first business data, the MES records the first business data and does not perform online station passing condition judgment processing.
[0074] In some embodiments, the online station-passing condition judgment process includes: the MES evaluates and analyzes the received business data according to preset rules and algorithms to determine whether to allow the target station to perform the station-passing operation. These conditions may include various factors such as production plan, equipment status, material supply status, etc.
[0075] In some embodiments, when the MES receives the first business data sent by the first PLC, it first receives and preliminarily verifies the data. If the data format is correct and contains valid mandatory transit variables, the MES will completely record the data in its internal database or log system to facilitate subsequent data tracing. The recorded content 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.
[0076] In some embodiments, under normal circumstances, the MES will perform online stop-stop condition judgment processing on the received business data according to preset rules and algorithms to determine whether to allow the target workstation to stop. However, when it is detected that the first business data contains a forced stop-stop variable = 1, the MES will skip this step and will not perform any judgment processing related to the online stop-stop condition; the MES will directly determine that the stop-stop indication information is "stop-stop permitted" and generate corresponding indication information to send to the first PLC. This indication information clearly tells the first PLC and the second PLC corresponding to the target workstation that the current workstation is allowed to skip certain steps or the entire stop-stop process.
[0077] In some implementations, after sending the instruction information, the MES may continue to monitor the subsequent production of the workstation and update its internal production plan and status information when appropriate. At the same time, the MES will also retain the previously recorded first business data for subsequent data analysis, troubleshooting or auditing.
[0078] Taking the automatic packaging line in the chemical fiber industry as an example, a batch of silk ingots are pre-produced, and the operator switches the control button of each workstation to manual mode; each workstation issues a forced station passing request, and the forced station passing variable is set to 1. After the second PLC detects this request, it sends the second business data containing the forced station passing variable = 1 to the first PLC. The first PLC processes and forwards it to the MES. After receiving the data, the MES immediately records the data and skips the judgment and processing of the online station passing conditions. It directly determines that the station passing indication information is "permitted to pass the station", and sends the indication information to the first PLC. The second PLC controls the silk ingots on the workstation to pass the station directly, thereby completing the production of trial silk ingots in a shorter time.
[0079] In this way, by skipping the judgment and processing of online transit conditions, MES can respond to forced transit requests more quickly and reduce unnecessary calculations and resource consumption. In an emergency, a quick response to a forced transit request helps reduce the risk of production interruption and fault propagation, thereby improving the stability and reliability of the entire production system. MES records the first business data, which helps to trace and analyze the production process and transit requests in the future, providing data support for improving production processes and optimizing system performance.
[0080] In the disclosed embodiment, the judgment and processing of 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, determining the station passing indication information as permitted station passing; if the station passing conditions are not met, determining the station passing indication information as prohibited station passing.
[0081] In some embodiments, the station passing indication information is used to indicate whether the ingot on the production line can continue to be transferred to the next station for processing. According to the judgment result of the station passing condition, the station passing indication information can be "station passing permitted" or "station passing prohibited".
[0082] In some embodiments, the MES first receives the first business data sent from the first PLC. These data usually include status information about the target station on the production line, the processing progress of the silk ingot, the quality inspection results, the number of requests to pass the station, etc. A special data parsing module is set inside the MES to parse the received first business 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.
[0083] In some embodiments, based on the target 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 standard, whether all processing tasks of the current station have been completed, whether there is equipment failure or production abnormality, etc. If the silk ingot of 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 of 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.
[0084] In some embodiments, the MES uses the determination result (permitting or prohibiting the passing of the station) as the passing of the station indication information and sends it to the second PLC or other related control devices through the communication interface. These passing of the station devices execute corresponding control logic according to the received passing of the station indication information, such as starting or stopping the transfer action of the ingot.
[0085] 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 business data containing the status information of the 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 requested for the station), and then compares it with the preset station 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 station passing indication information is "permitted to pass the station" 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 to be "prohibited from passing the station" and triggers the alarm mechanism.
[0086] In this way, through the analysis of the first business data by MES and the accurate judgment of the station 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 detection and prevention of the transfer of silk ingots that do not meet the station passing conditions can reduce abnormal situations in the production process, such as equipment failures, quality problems, etc., thereby reducing production risks. By automatically judging and indicating the station passing information, manual intervention and waiting time can be reduced, and the overall operation efficiency of the production line can be improved.
[0087] In the disclosed embodiment, the first PLC acquires the second business data of the target workstation from the second PLC corresponding to the target workstation, including: the first PLC acquires the second business data of the target workstation from the second PLC at regular intervals.
[0088] In some embodiments, a timer is set in the first PLC to control the time interval for data acquisition. This time interval can be adjusted according to the actual needs of the production line to ensure that the latest data can be obtained in a timely manner without increasing the burden on the system due to too frequent data exchange. When the timer reaches the set time point, the first PLC will send a data request signal to the second PLC. This signal contains information such as the type of data to be obtained, the target station identification, etc., so that the second PLC can accurately return the corresponding data.
[0089] In some embodiments, after receiving the data request from the first PLC, the second PLC retrieves the second business data of the target station from its own database or real-time data cache according to the information in the request, and sends it to the first PLC through the communication interface. Such data may include the real-time status of the target station, processing progress, quality inspection results, etc.
[0090] In some embodiments, after acquiring the second business data, the first PLC will parse and process it to extract the required information for subsequent decision-making or control operations. At the same time, the data may also be used to update relevant data in the MES or generate reports.
[0091] In this way, by regularly acquiring the second business data of the target station from the second PLC, real-time monitoring of the production line status can be achieved to ensure the transparency and traceability of the production process. Based on real-time data, MES or the first PLC can promptly detect abnormal conditions in the production process and take corresponding adjustment measures, such as stopping the station and adjusting process parameters, to improve production efficiency and product quality. By analyzing historical data and real-time data, it can provide strong support for the optimization decision of the production line, such as predicting production trends and optimizing production plans.
[0092] In the disclosed embodiment, the first PLC obtains first business data based on 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.
[0093] 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.
[0094] Here, the data storage area refers to a specific area inside the first PLC for storing data.
[0095] Here, fixed address refers to the unique and unchanging storage location assigned to different variables in the data storage area. Fixed address can achieve fast access and modification of variables.
[0096] In some embodiments, in the ingot automatic station control system, the first PLC is responsible for generating the first business data of the target station according to the second business data of the target station. These data may contain various types of information, such as status code, numerical parameter, timestamp, etc. The first PLC is internally configured with a preset data storage format, which is to ensure that different PLCs or between PLC and MES can exchange and parse data efficiently. The first PLC converts the second business data according to this preset format. The conversion process may include data type conversion (such as integer to floating point), data unit unification (such as from millimeter to inch), data encoding decoding (such as base conversion), etc. The converted data is the first business data, which follows the preset data storage format and is convenient for subsequent processing and transmission. The first PLC allocates a dedicated data storage area for each target station on the production line. The first business data is stored in the data storage area corresponding to the target station. When storing, different variables (such as status code, numerical parameter, etc.) are assigned to different fixed addresses in the storage area. When the value of a variable needs to be read or modified, it can be directly accessed through its corresponding address, which improves the efficiency of data processing.
[0097] In this way, the preset data storage format and format conversion process ensure the consistency and accuracy of data from different sources during exchange and processing. Assigning a fixed storage address to each variable simplifies the process of data access and processing and improves the overall performance of the system. The allocation and format definition of the data storage area have a certain degree of flexibility and can be expanded and adjusted according to the actual needs of the production line.
[0098] Next, 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 explained.
[0099] Figure 3 FIG. 1 shows a schematic diagram of a process of sending a forced station passing request from the first PLC to the MES. Figure 3 As shown, the process includes:
[0100] S301: system startup;
[0101] S302: IT-PLC periodically obtains ME_CTRL_WRD and REQUEST_TYPE from the corresponding workstation DB block of ME-PLC.
[0102] Here, ME_CTRL_WRD indicates the control bit of the target station, and REQUEST_TYPE indicates the request type of the target station.
[0103] 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.
[0104] 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 number of the target station, DB6101.ME_MSG indicates the DB block allocated by ME-PLC to the station numbered 6101, DB6101.ME_MSG.ME_AVI_MSG indicates the variable allocated by ME-PLC to the station numbered 6101 for storing the second business data written by ME-PLC, and ME_MSG.ME_AVI_MSG indicates the second business data written by ME-PLC, such as the serial number and the request type. DB6101.ME_MSG.ME_CTRL_WRD is the variable allocated by ME-PLC to the station numbered 6101, and is used to store the control bit of the station in the DB block.
[0105] S303: DB6101.ME_MSG.ME_AVI_MSG.REQUEST_TYPE='TRM*', if yes, execute S304; otherwise, return to S302;
[0106] Here, IT-PLC obtains ME_AVI_MSG.REQUEST_TYPE='TRM*' from the DB block of the corresponding workstation of ME-PLC.
[0107] Here, ME_AVI_MSG.REQUEST_TYPE = 'TRM*', indicating that the request type of ME-PLC is 'TRM*'.
[0108] When ME-PLC identifies the target workstation and requests a forced station pass, it writes a "TRM*" string into the station pass information of the current workstation to distinguish it from the normal online station pass "TR**" string.
[0109] Here, DB6101. ME_MSG.ME_AVI_MSG.REQUEST_TYPE is a variable in the DB block that is allocated by ME-PLC for the workstation numbered 6101 and is used to store the request type.
[0110] S304: IT-PLC sets the control bit and clears the data buffer to ensure that the current process is not affected by the residual data of other processes, and then executes S305;
[0111] S305: DB6101.ME_MSG.ME_CTRL_WRD.ASSY_COMPLETE_FORCE=1? If yes, execute S306; otherwise, return to S305;
[0112] Here, IT-PLC obtains ME_CTRL_WRD.ASSY_COMPLETE_FORCE from the DB block of the corresponding workstation of ME-PLC;
[0113] Here, ME_CTRL_WRD.ASSY_COMPLETE_FORCE=1 means that ME-PLC has started to force the station passing.
[0114] DB6101.ME_MSG.ME_CTRL_WRD.ASSY_COMPLETE_FORCE is a variable in the DB block that is allocated by ME-PLC for the workstation numbered 6101 and is used to store the variable that the ME-PLC has set to start forced station passing.
[0115] S306: IT-PLC sets DB6101.IT_MSG.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED, and then executes S307;
[0116] Here, IT_MSG.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED indicates that IT-PLC confirms receipt of the message that ME-PLC has set the forced station pass. DB6101.IT_MSG indicates that IT-PLC has allocated a DB block to the workstation numbered 6101.
[0117] DB6101.IT_MSG.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED indicates the variable allocated by IT-PLC to the workstation numbered 6101 in the DB block for storing the message received from ME-PLC that the forced station passing has started.
[0118] S307: construct AVI_REQUEST and write it into DB6101.MI_REQUEST.AVI_REQUEST;
[0119] Here, AVI_REQUEST is the abbreviation of MI_REQUEST.AVI_REQUEST, which indicates the request character string sent by IT-PLC to MES.
[0120] DB6101.MI_REQUEST.AVI_REQUEST is a variable in the DB block that is allocated by IT-PLC for the workstation numbered 6101 and is used to store the request string.
[0121] Here, FC is a custom function module. FC60132 is the function module number, which is used to synthesize AVI_REQUEST for the station numbered 6101.
[0122] Here, the variables in DB6101 are configured to the corresponding pins of FC60132, and FC60132 outputs AVI_REQUEST.
[0123] S308: Length of AVI_REQUEST = 78? If yes, execute S313; if no, execute S309;
[0124] Here, 78 is a preset length threshold, which can be set or adjusted according to needs.
[0125] S309: Write error code 3533 to IT_RES_1;
[0126] Here, error code 3533 indicates that the length of AVI_REQUEST ≠ 78.
[0127] S310: Send IT_RES_1 containing error code 3533 to ME-PLC through PUT instruction;
[0128] S311: Is ERROR=0 in the PUT instruction? If not, execute S312; if yes, execute S315;
[0129] S312: Call FB64001 to write error code 3570, then return to S309;
[0130] Here, error code 3570 indicates that ERROR≠0 in the PUT instruction, and the PUT instruction is issued when the length of AVI_REQUEST≠78.
[0131] S313: Set DB6101.IT_MSG.IT_CTRL_WRD.TR_SENT.
[0132] Here, IT_MSG.IT_CTRL_WRD.TR_SENT is used to indicate that the bit is set after IT-PLC writes AVI_REQUEST.
[0133] Here, DB6101.IT_MSG.IT_CTRL_WRD.TR_SENT is a variable in the DB block that is allocated by the IT-PLC for the workstation numbered 6101 and is used to indicate that the IT-PLC is set after writing AVI_REQUEST.
[0134] S314: Set DB6101.IT_MSG.IT_CTRL_WRD.TS_RECEIVED.
[0135] IT_MSG.IT_CTRL_WRD.TS_RECEIVED is set when IT-PLC receives data from ME-PLC without error.
[0136] Here, DB6101.IT_MSG.IT_CTRL_WRD.TS_RECEIVED is a variable allocated by the IT-PLC for the workstation numbered 6101 and is set in the DB block to indicate that the IT-PLC has received the ME-PLC data correctly.
[0137] After IT-PLC sets IT_MSG.IT_CTRL_WRD. TS_RECEIVED, it waits for the processing result of MES. MES usually performs the following processing: MES reads the request string sent by IT-PLC to MES and writes it into the database, then resets AVI_REQUEST, and MES sends a response string to IT-PLC.
[0138] S315: IT-PLC clears and resets the control bit corresponding to the workstation, and resets the business data area corresponding to the workstation.
[0139] Here, IT-PLC clears and resets the corresponding control bits, which may include:
[0140] DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED=0;
[0141] DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.TR_SENT=0;
[0142] DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.TS_RECEIVED=0;
[0143] DB6101.IT_MSG.UDT_IT_MSG_1.IT_CTRL_WRD.MES_COMPLETE=0;
[0144] Clear the temporary variables used in DB6901.
[0145] Among them, DB6901 represents the area in the DB block allocated by ME-PLC to the workstation numbered 6101 for storing temporary variables.
[0146] 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.
[0147] Among them, IT_CTRL_WRD.ASSY_COMPLETE_RECEIVED indicates confirmation of receipt of the variable set by ME-PLC to start the station transfer.
[0148] Among them, IT_CTRL_WRD.TR_SENT represents the variable that is set after IT-PLC writes AVI_REQUEST.
[0149] Among them, IT_CTRL_WRD.TS_RECEIVED indicates the variable that is set after IT-PLC receives MES data.
[0150] Among them, IT_CTRL_WRD.MES_COMPLETE means that IT-PLC notifies ME-PLC that data processing is completed.
[0151] Here, IT-PLC resets the corresponding business data area, including: calling FC64006 to reset DB6101.ME_AVI_MSG; calling FC64008 to reset DB6101.IT_RES_1 area.
[0152] Here, FC64006 is a module that integrates the reset function for ME_AVI_MSG. FC64008 is a module that integrates the reset function for IT_RES_1.
[0153] exist Figure 3 On the basis of Figure 4 FIG. 4 shows a schematic diagram of a process flow in which the first PLC sends the stop-stop indication information to the second PLC after the MES generates the stop-stop indication information. Figure 4 As shown, the process includes:
[0154] S316: Is there data in DB6101.MI_RESPONSE.AVI_RESPONSE1? If not, continue to execute S316; if yes, execute S317;
[0155] Here, MI_RESPONSE.AVI_RESPONSE1 indicates the response string sent by MES to IT-PLC. DB6101.MI_RESPONSE.AVI_RESPONSE1 is a variable in the DB block allocated by IT-PLC for the workstation numbered 6101 and used to store the response string sent by MES to IT-PLC.
[0156] S317: Call FC64002 to parse AVI_RESPONSE1 to the corresponding position in DB6101.IT_MSG.UDT_IT_MSG_1.IT_RES_1;
[0157] Here, IT_MSG.UDT_IT_MSG_1.IT_RES_1 (IT_RES_1 for short) indicates the first business data output by the IT-PLC, such as a processing result.
[0158] S318: IT-PLC extracts the first three digits and the last three digits in the MI_RESPONSE.AVI_RESPONSE1 character string, and converts the first three digits into the target integer type.
[0159] Here, the type name of the target integer type is "int".
[0160] It should be noted that the format of the response string returned by MES must be correct, and no format errors are allowed. Adding format verification is a secondary verification.
[0161] S319: The first three digits (Int) = 50 and the last three digits (String) = END? If not, execute S320; if yes, execute S324;
[0162] Here, String represents the data type of a string.
[0163] Here, IT-PLC checks whether the response string returned by MES is qualified by the first three and last three characters.
[0164] S320: Write error code 1508 to IT_RES_1;
[0165] Here, error code 1508 means that the first three digits (Int) ≠ 50 or the last three digits (String) ≠ END, that is, MES does not return the response information in the agreed format.
[0166] S321: Send IT_RES_1 containing error code 1508 to ME-PLC via PUT instruction;
[0167] S322: Is ERROR in the PUT instruction 0? If not, execute S323; if yes, execute S315;
[0168] S323: Call FB64001 to write error code 3565, then return to S320;
[0169] Here, error code 3565 indicates that ERROR≠0 in the PUT instruction, and the PUT instruction is issued when the first three digits (Int)≠50 or the last three digits (String)≠END.
[0170] S324: RESPONSE_ERROR=0? If yes, execute S329; if no, execute S325;
[0171] DB6101.IT_MSG.UDT_IT_MSG_1.IT_RES_1.RESPONSE_ERROR is a variable in the DB block allocated by IT-PLC for the workstation numbered 6101 and used to store whether the response string sent by MES to IT-PLC has errors.
[0172] Here, RESPONSE_ERROR=0 means that there is no error in the response string sent by MES to IT-PLC.
[0173] S325: Write error code 3535 to IT_RES_1;
[0174] Here, error code 3535 means RESPONSE_ERROR≠0.
[0175] S326: Send IT_RES_1 with error code 3535 to ME-PLC via PUT instruction;
[0176] Here, the error code 3535 indicates that the response information returned by the MES contains an error code.
[0177] S327: Is ERROR=0 in the PUT instruction? If yes, execute S315; if no, execute S328;
[0178] S328: Call FB64001 to write error code 3559, and return to S325;
[0179] Here, the error code 3559 indicates that ERROR≠0 in the PUT instruction, and the PUT instruction is a PUT instruction issued when RESPONSE_ERROR≠0.
[0180] S329: Call FC60157 to update the pipeline queue;
[0181] Here, FC60157 is a module that integrates the update pipeline queue function.
[0182] S330: IT-PLC clears AVI_RESPONSE1;
[0183] Here, AVI_RESPONSE1 indicates that the response string sent by MES to IT-PLC is completed.
[0184] S331: IT-PLC outputs IT_RES_1 to ME-PLC;
[0185] S332: Is ERROR=0, STATUS=0000H in the PUT instruction? If not, execute S333; if yes, execute S334;
[0186] Here, ERROR=0 means that there is no error in the PUT instruction. STATUS=0000H means the status value = 0, and H represents hexadecimal. The PUT instruction is the instruction for IT-PLC to send data to ME-PLC.
[0187] S333: Call FB64001 to write error code 3536, then return to S331;
[0188] S334: IT-PLC sets DB6101.IT_MSG.IT_CTRL_WRD.MES_COMPLETE;
[0189] DB6101.IT_MSG.IT_CTRL_WRD.MES_COMPLETE is a variable allocated by IT-PLC for workstation numbered 6101 and is used in the DB block to store the information from IT-PLC notifying ME-PLC that data processing has been completed.
[0190] Here, IT_MSG.IT_CTRL_WRD.MES_COMPLETE indicates that IT-PLC notifies ME-PLC that data processing is complete.
[0191] S335: ME_CTRL_WRD.YARN_LEAVE=1 or ME_CTRL_WRD.ME_RESET=1? If yes, execute S315; if no, return to S335.
[0192] Here, ME_MSG.ME_CTRL_WRD.YARN_LEAVE, indicates that ME-PLC preparation for yarn leaving is complete.
[0193] ME_CTRL_WRD.ME_RESET means that after the ingot on the ME-PLC control station has completed the station, the control position of the station will be set. ME_CTRL_WRD.ME_RESET=1 means that the current process has been completed correctly, the set flag is assigned to 1, and the end reset can be executed.
[0194] 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 not restrictive, and can be set or adjusted according to actual needs.
[0195] 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 4 Various 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.
[0196] 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 for automatically passing a wire ingot through a station includes an MES, a first PLC and a plurality of second PLCs, wherein the plurality of second PLCs are respectively connected to the first PLC, and the first PLC is connected to the MES; wherein each second PLC is used to control at least one workstation; Figure 5 As shown, the automatic ingot passing station control device may include:
[0197] The first control module 501 is used for the first PLC to obtain the second business data of the target station from the second PLC corresponding to the target station, and obtain the first business data of the target station according to the second business data, wherein the second business data includes a forced station passing variable = 1;
[0198] The second control module 502 is used for the first PLC to send the first business data to the MES, and receive the station passing indication information determined by the MES for the target workstation based on the forced station passing variable, wherein the station passing indication information is the permitted station passing;
[0199] The third control module 503 is used for the first PLC to parse the station passing indication information to obtain a parsing result, and return the parsing result to the second PLC corresponding to the target station, so that the second PLC controls the target station to perform the ingot station passing task based on the parsing result.
[0200] In some embodiments, the ingot automatic station-passing control device further includes a fourth control module ( Figure 5), wherein the fourth control module is used for: when the analysis result is that the station passing is allowed, 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.
[0201] 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 for: the second PLC detects that the control button corresponding to the target station is rotated to manual mode, and sets the forced station passing variable to 1; wherein the forced station passing variable = 1 indicates that the target station requests a forced station passing.
[0202] In some embodiments, the ingot automatic station-passing control device further includes a sixth control module ( Figure 5 (not shown), wherein the sixth control module is used to: when the MES detects that there is a forced stop-over variable = 1 in the first business data, determine that the stop-over indication information is a permitted stop-over.
[0203] In some embodiments, the ingot automatic station-passing control device further includes a forced station-passing processing module ( Figure 5 (not shown) is used for when MES detects that there is a forced stop-over variable = 1 in the first business data, MES records the first business data and does not perform online stop-over condition judgment processing.
[0204] In some embodiments, the ingot automatic station-passing control device further includes a seventh control module ( Figure 5 ), wherein the seventh control module is used to: determine whether the silk ingot of the target station meets the passing station condition based on the target string data corresponding to the target station; if the passing station condition is met, determine the passing station indication information as permitted passing station; if the passing station condition is not met, determine the passing station indication information as prohibited passing station; the target string data is obtained by MES parsing the first business data.
[0205] In some embodiments, the ingot automatic station-passing control device further includes a first control module 501, which is used to enable the first PLC to periodically acquire the second business data of the target station from the second PLC.
[0206] In some embodiments, the ingot automatic station-passing control device further includes an eighth control module ( Figure 5 ), wherein the eighth control module is used for: the first PLC converts the second business data into the first business data in the data storage format according to the 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.
[0207] Those skilled in the art should understand that the functions of each processing module in the automatic station passing control device for silk ingots of the embodiment of the present disclosure can be understood with reference to the relevant description of the aforementioned automatic station passing control method for silk ingots, and each processing module in the automatic station passing control device for silk ingots 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 can be realized by running software that executes the function of the embodiment of the present disclosure on an electronic device.
[0208] The automatic ingot passing control device of the disclosed embodiment can realize automatic online forced passing management of ingots and improve the passing efficiency of ingots.
[0209] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0210] Figure 6 FIG. 1 is a structural block diagram of an electronic device according to an embodiment of the present disclosure. Figure 6 As shown, the electronic device includes: a memory 610 and a processor 620, and the memory 610 stores a computer program that can be run on the processor 620. The number of the memory 610 and the 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 executes the method provided by the above method embodiment. The electronic device may also include: a communication interface 630, which is used to communicate with external devices and perform data exchange transmission.
[0211] If the memory 610, the processor 620 and the communication interface 630 are implemented independently, the memory 610, the processor 620 and the communication interface 630 can be connected to each other through 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 only one type of bus.
[0212] 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.
[0213] It should be understood that the processor 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, etc. It is worth noting that the processor may be a processor that supports the Advanced RISC Machines (ARM) architecture.
[0214] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also 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 exemplary but not limiting description, 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).
[0215] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by 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 process or function described in the embodiment of the present disclosure is 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 computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (for example: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (for example: infrared, Bluetooth, microwave, etc.) mode to another website site, computer, server or data center. 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 available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc. 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-transient storage medium.
[0216] A person 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 instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0217] 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" means 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 one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0218] 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 article is only a way to describe the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0219] In the description of the embodiments of the present disclosure, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, 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.
[0220] The above description is only 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 protection scope 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. It is characterized in that The ingot automatic station-passing control system comprises 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 is connected to the MES; The method for controlling the automatic passing of ingots comprises: The first PLC acquires 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, wherein the second business data includes a forced station passing variable = 1; The first PLC sends the first business data to the MES, and receives the stop-stop indication information determined by the MES for the target workstation based on the forced stop-stop variable, wherein the stop-stop indication information is a permitted stop-stop; The first PLC analyzes the station-passing indication information to obtain an analysis result, and returns the analysis result to the second PLC corresponding to the target station, so that the second PLC controls the target station to perform the ingot-passing task based on the analysis result.
2. The method according to claim 1, It is characterized in that The second PLC controls the target station to perform the ingot passing task based on the analysis result, including: When the analysis result 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 silk ingot processed at the target station to the next station of the target station.
3. The method according to claim 1, It is characterized in that The method for controlling the automatic passing of ingots further comprises: The second PLC detects that the control button corresponding to the target workstation is rotated to manual mode, and sets the forced station passing variable to 1; wherein, the forced station passing variable = 1 indicates that the target workstation requests a forced station passing.
4. The method according to claim 1, It is characterized in that The method for controlling the automatic passing of ingots further comprises: When the MES detects that the forced stop-stop variable = 1 exists in the first service data, it determines that the stop-stop indication information is a permitted stop-stop.
5. The method according to claim 4, It is characterized in that The method for controlling the automatic passing of ingots further comprises: When the MES detects that the forced stop-stop variable = 1 exists in the first business data, the MES records the first business data and does not perform online stop-stop condition judgment processing.
6. The method according to claim 5, It is characterized in that The judgment and processing of online station passing conditions include: Based on the target character string data corresponding to the target workstation, determine whether the silk ingot of the target workstation meets the pass-through condition; if the pass-through condition is met, determine the pass-through indication information as permitted pass-through; if the pass-through condition is not met, determine the pass-through indication information as prohibited pass-through; the target character string data is obtained by the MES parsing the first business data.
7. The method according to claim 1, It is characterized in that The first PLC acquires 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, It is 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 wire ingot automatic station passing control device, applied to a wire ingot automatic station passing control system, It is characterized in that The automatic ingot passing 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 is connected to the MES; the automatic ingot passing control device includes: A first control module is configured to enable the first PLC to obtain second business data of the target station from a second PLC corresponding to the target station, and obtain first business data of the target station according to the second business data, wherein the second business data includes a forced station passing variable = 1; A second control module is configured to allow the first PLC to send the first business data to the MES, and receive the stop-stop indication information determined by the MES for the target workstation based on the forced stop-stop variable, wherein the stop-stop indication information is a permitted stop-stop; The third control module is used for the first PLC to parse the station passing indication information to obtain a parsing result, and return the parsing result to the second PLC corresponding to the target station, so that the second PLC controls the target station to perform the ingot station passing task based on the parsing result.
10. An electronic device, It is 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, It is 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.
