Warehouse-out control method, system and device, PLC controller and readable storage medium

By introducing a touchscreen manual outbound mode into the PLC controller, the problem of warehouse overload caused by communication failure between the PLC controller and the host computer was solved, and production continuity was achieved in the event of a failure.

CN123137183APending Publication Date: 2026-11-20YIBIN YINGFA DEKUN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611536240.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In the semiconductor material manufacturing process, communication failures between the PLC controller and the host computer can cause robots to stop working, leading to warehouse overload and the shutdown of the entire production line.

Method used

A method for outbound control is provided, which forces the robot to switch to manual outbound mode via a touch screen, obtains the outbound parameters input by the user, performs outbound qualification verification, generates an outbound task, and controls the robot to execute the outbound task, thus avoiding downtime caused by communication failure.

Benefits of technology

In the event of a communication failure with the host computer, the system promptly switches to manual outbound mode, preventing the robot from stopping operations, avoiding material overflow and production line shutdowns, and ensuring production continuity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137183A_ABST
    Figure CN123137183A_ABST
Patent Text Reader

Abstract

The application provides a warehouse-out control method, system and device, a PLC controller and a readable storage medium. The method is applied to the PLC controller, and specifically comprises the following steps: when a communication fault occurs in an upper computer, prompting a user to switch a current operation mode to a manual warehouse-out mode through a touch screen; then obtaining warehouse-out parameters of at least one specified material input by the user on a manual warehouse-out control interface of the touch screen, performing warehouse-out qualification verification, and generating a warehouse-out task and adding the task to a task queue after the verification is passed; and finally controlling a robot to sequentially execute each task in the task queue to transport each specified material from a warehouse to a processing device of a next process. In the case that a communication fault occurs in the upper computer, the manual warehouse-out mode can be switched in time, so that the user can input information on the touch screen to manually control the warehouse-out, thereby avoiding the robot from stopping working due to the communication fault, and further causing the material to burst out of the warehouse to stop the production line.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automatic control technology, and more specifically, to an outbound control method, system, device, PLC controller, and readable storage medium. Background Technology

[0002] In the field of semiconductor material manufacturing, high-purity polycrystalline silicon raw materials (with randomly arranged atoms) are melted at high temperatures, and then through specific physicochemical processes, the silicon atoms are rearranged according to a uniform crystal lattice orientation, eventually growing into a cylindrical silicon rod with a regular crystal structure, also known as a "raw rod" or "silicon rod". From silicon rod to silicon wafer, multiple processes are required, including cutting and rounding, squaring and grinding, slicing, chamfering, cleaning, and inspection.

[0003] In the cutting process, the material needs to be cut into multiple round bars, including the head section, several intermediate sections, and the tail section, according to the material requirements of downstream processes such as squaring and slicing, before being transferred. The mainstream production flow mode for round bars is round bar warehousing, warehouse warehousing and outbound, truss / line transfer, and automated linkage of squaring processing. This mainly relies on the upper computer to issue production tasks, and the PLC (Programmable Logic Controller) controller acts as an intermediate controller to schedule the vertical warehouse robot to complete the warehousing and outbound operations. The outbound materials are transported to the squaring machine tool by the truss / line.

[0004] In the event of a software crash, program malfunction, or network interruption, the PLC controller will be unable to receive valid outbound instructions, causing the robot to stop operating. This can easily lead to warehouse overload, causing a chain reaction that results in the entire squaring and processing production line shutting down and causing significant production losses. Summary of the Invention

[0005] The purpose of this invention is to provide an outbound control method, system, device, PLC controller, and readable storage medium to improve the problems existing in the prior art.

[0006] The embodiments of the present invention can be implemented as follows: In a first aspect, the present invention provides an outbound control method applied to a PLC controller in a control system. The system includes a host computer, a PLC controller, and a robot connected in sequence via communication. The system also includes a touchscreen connected to the PLC controller. The method includes: When an outbound command is received from the host computer, an outbound task is generated based on the outbound command and added to the task queue. When a communication failure is confirmed with the host computer, the user is prompted to perform a forced switch via the touch screen to switch the current operating mode from the host computer-controlled automatic outbound mode to the touch screen-controlled manual outbound mode, and to clear the task queue. Obtain at least one specified material's outbound parameters input by the user at the manual outbound control interface on the touchscreen; Based on the aforementioned outbound parameters, an outbound eligibility verification is performed on each specified material. After all verifications pass, an outbound task for each specified material is generated and added to the task queue. The robot is controlled to sequentially execute each outbound task in the task queue to transport each designated material from the warehouse to the processing equipment of the next process.

[0007] Optionally, the step of confirming a communication failure with the host computer includes: Send a heartbeat query message to the host computer at set intervals; Each time the heartbeat query message is sent, if a heartbeat response message is received from the host computer within a set time period, it is confirmed that the communication with the host computer is normal. If the heartbeat response message is not received within the set time period for N consecutive set periods, it is determined that a communication failure has occurred with the host computer. If the CRC check fails N times consecutively on the outbound command sent by the host computer, then a communication failure is determined to have occurred between the host computer and the host computer.

[0008] Optionally, the PLC controller stores the standard processing specifications of the processing equipment; the PLC controller maintains a material database, which includes the storage location number and attribute information of each material in the warehouse; the attribute information includes material code and product specifications; the outbound parameters include material code and / or storage location number; The step of verifying the eligibility of each specified material for outbound delivery based on the aforementioned outbound parameters includes: For each specified material, query the actual storage location and actual product specifications of the specified material from the material database based on its outbound parameters; If the actual storage location is not empty and the actual product specifications are consistent with the standard processing specifications, then the designated material is confirmed to have passed the outbound qualification verification. If the actual storage location is empty or the actual product specifications are inconsistent with the standard processing specifications, the user will be prompted via the touch screen that the specified material does not exist or the processing specifications do not match.

[0009] Optionally, the PLC controller maintains an automatic enable flag and a host computer fault flag. The steps of prompting the user to force a switch via the touchscreen to change the current operating mode from the host computer-controlled automatic outbound mode to the touchscreen-controlled manual outbound mode include: A fault message is sent to the touchscreen, causing the touchscreen to display a switching pop-up window based on the fault message; the switching pop-up window is used to inform the user that the host computer is faulty and needs to be switched to the manual outbound mode; When the touchscreen receives the first switching instruction, the automatic enable flag is set to 0 and the host computer fault flag is set to 1 to switch the current operating mode to the manual outbound mode; the first switching instruction is generated when the touchscreen senses that the user clicks the OK button in the switching pop-up window; A successful switching message is sent to the touchscreen, causing the touchscreen to switch to displaying the manual outbound control interface.

[0010] Optionally, both the PLC controller and the host computer maintain a material database, which includes the storage location number and attribute information of each material in the warehouse; the method further includes: Each time a successful execution message is received from the robot, the manual outbound material is determined from the material database based on the storage location number carried in the successful execution message, and the storage location number and attribute information corresponding to the manual outbound material are deleted. If the communication failure is resolved, the current operating mode will be switched back to the automatic outbound mode; The storage location number of each manually issued material is uploaded to the host computer, so that the host computer can delete the storage location number and attribute information corresponding to each manually issued material from the material database upon receipt.

[0011] Optionally, the PLC controller maintains an automatic enable flag and a host computer fault flag. In the event that the communication failure is resolved, the step of switching the current operating mode back to the automatic outbound mode includes: When the second switching command sent by the touch screen is received, the automatic enable flag is set to 1 and the host computer fault flag is set to 0, so as to switch the current running mode back to the automatic outbound mode; wherein, the second switching command is generated when the touch screen senses the user clicking the mode switching button in the manual outbound control interface after the communication fault is recovered; A successful switch message is sent to the touchscreen, causing the touchscreen to switch to displaying the automatic outbound monitoring interface.

[0012] Secondly, the present invention provides an outbound control system, comprising a host computer, a PLC controller and a robot connected in sequence via communication, and a touch screen connected to the PLC controller; The host computer is used to send the generated outbound instructions to the PLC controller; When the PLC controller receives the outbound instruction, it generates an outbound task based on the outbound instruction and adds it to the task queue. The PLC controller is also used to prompt the user to perform a forced switch via the touch screen when a communication failure is confirmed between the PLC and the host computer, so as to switch the current operating mode from the automatic outbound mode dominated by the host computer to the manual outbound mode dominated by the touch screen, and to clear the task queue. The PLC controller is also used to obtain at least one specified material outbound parameter input by the user on the manual outbound control interface of the touch screen. The PLC controller is also used to perform outbound qualification verification for each specified material based on the outbound parameters, and after all verifications are passed, generate an outbound task for each specified material and add it to the task queue. The PLC controller is also used to control the robot to execute each outbound task in the task queue in sequence, so as to transport each specified material from the warehouse to the processing equipment of the next process.

[0013] Thirdly, the present invention provides an outbound control device applied to a PLC controller in a control system. The system includes a host computer, a PLC controller, and a robot connected in sequence via communication. The system also includes a touch screen connected to the PLC controller. The device includes: The task receiving module is used to generate an outbound task based on the outbound instruction sent by the host computer and add it to the task queue. The mode switching module is used to prompt the user to perform a forced switch via the touch screen when a communication failure is confirmed between the host computer and the host computer, so as to switch the current operating mode from the automatic retrieval mode dominated by the host computer to the manual retrieval mode dominated by the touch screen, and to clear the task queue. The parameter acquisition module is used to obtain at least one outbound parameter of a specified material input by the user on the manual outbound control interface of the touch screen. The verification module is used to perform outbound qualification verification for each specified material based on the outbound parameters, and after all verifications pass, generate an outbound task for each specified material and add it to the task queue. The outbound control module is used to control the robot to execute each outbound task in the task queue in sequence, so as to transport each specified material from the warehouse to the processing equipment of the next process.

[0014] Fourthly, the present invention provides a PLC controller for implementing the method described in the first aspect above.

[0015] Fifthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect above.

[0016] Compared with the prior art, the embodiments of the present invention provide an outbound control method, system, device, PLC controller, and readable storage medium. The method is applied to a PLC controller, specifically as follows: when an outbound instruction is received from a host computer, an outbound task is generated based on the outbound instruction and added to the task queue; however, when a communication failure is confirmed with the host computer, the user is prompted via a touchscreen to perform a forced switch, changing the current operating mode from the host computer-controlled automatic outbound mode to the touchscreen-controlled manual outbound mode, while simultaneously clearing the task queue; then, the outbound parameters of at least one specified material input by the user on the manual outbound control interface of the touchscreen are obtained; then, based on each outbound parameter, outbound qualification verification is performed on each specified material, and after all verifications pass, an outbound task for each specified material is generated and added to the task queue; finally, the robot is controlled to sequentially execute each outbound task in the task queue to transport each specified material from the warehouse to the processing equipment of the next process.

[0017] In the event of a communication failure in the host computer, this invention can promptly switch to manual outbound mode. This allows the system to obtain the outbound parameters of the specified materials entered by the user on the touchscreen, thereby generating outbound tasks to control the robot's execution. This prevents communication failures from causing the robot to stop working, which could lead to material overload and production line shutdown. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is one of the flowcharts illustrating an outbound control method provided in an embodiment of the present invention.

[0020] Figure 2 This is an example diagram of the outbound control system provided in an embodiment of the present invention.

[0021] Figure 3 This is a schematic diagram of the manual outbound control interface provided in an embodiment of the present invention.

[0022] Figure 4 This is a schematic diagram of the storage location setting interface provided in an embodiment of the present invention.

[0023] Figure 5 This is a schematic diagram of the structure of an outbound control device provided in an embodiment of the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0025] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0026] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0027] Furthermore, the terms "first" and "second" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0028] It should be noted that, where there is no conflict, the features in the embodiments of the present invention can be combined with each other.

[0029] In the application scenario of this application, the control system includes a host computer, a PLC controller, and a robot connected in sequence via communication. The control system also includes a touch screen connected to the PLC controller. The outbound control method provided in this embodiment of the invention is applied to the PLC controller in the control system, and when the robot performs the outbound task, it needs to retrieve the specified material from a storage location in the warehouse and transport it to the processing equipment of the next process.

[0030] The following describes in detail the outbound control method provided by the embodiments of the present invention, taking as an example the material to be shipped out as a single crystal wafer and the next process as squaring.

[0031] like Figure 1 The method includes the following steps S1 to S5.

[0032] S1. When a warehouse exit instruction is received from the host computer, a warehouse exit task is generated based on the warehouse exit instruction and added to the task queue.

[0033] Under normal circumstances, the PLC controller operates in a host computer-controlled automatic outbound mode. Combined with... Figure 2 In automatic outbound mode, the host computer generates outbound instructions based on the production plan and inventory information, and sends these instructions to the PLC controller via Ethernet. The outbound instruction can include a task number, target storage location, bar number, and size specifications. The PLC controller verifies that the target storage location, bar number, and size specifications match the locally cached inventory data. It also verifies that the size specifications in the outbound instruction match the standard processing specifications of the downstream processing equipment. Only if all match are true will an outbound task be generated and added to the task queue. If the material information in the outbound instruction is inconsistent with the locally cached data or the standard processing specifications of the downstream processing equipment, the PLC controller will reject the outbound instruction and return a rejection reason to the host computer.

[0034] The process by which the PLC controller retrieves an outbound task from the task queue and then controls the robot to execute that outbound task is as follows: (1) First, check whether the safety conditions such as the robot being fault-free and the safety door being closed are met. If they are met, then issue a transfer instruction to the robot based on the outbound task, which includes at least the target storage location. (2) When the robot receives the transfer instruction, it performs the complete set of outbound actions of picking up, grabbing and releasing materials in sequence, and returns an outbound success message to the PLC controller when the execution is completed. The PLC controller then returns the outbound success message to the host computer, so that the host computer updates the local cached inventory data.

[0035] S2. When a communication failure is confirmed between the host computer and the system, the user is prompted via the touchscreen to perform a forced switch, changing the current operating mode from the host computer-controlled automatic outbound mode to the touchscreen-controlled manual outbound mode, and clearing the task queue.

[0036] In this embodiment, when the PLC controller confirms a communication failure with the host computer, it first prompts the user via the touchscreen to force a switch to the touchscreen-controlled manual outbound mode, and then clears all outbound tasks initiated by the host computer in the task queue to avoid conflicts between new and old tasks.

[0037] S3. Obtain at least one specified material's outbound parameters input by the user on the manual outbound control interface of the touch screen.

[0038] In this embodiment, when switching to manual outbound mode, the touchscreen will display the manual outbound control interface, combined with... Figure 2 Users can enter the outbound parameters of each specified material that needs to be outbound through the manual outbound control interface. For example, the outbound parameters may include the material code and / or storage location number. Then the touch screen will send the information entered by the user to the PLC controller.

[0039] S4. Based on each outbound parameter, perform outbound qualification verification for each specified material, and after all verifications pass, generate an outbound task for each specified material and add it to the task queue.

[0040] S5. Control the robot to execute each outbound task in the task queue in sequence, so as to transport each designated material from the warehouse to the processing equipment of the next process.

[0041] Similarly, in manual outbound mode, the PLC controller needs to verify whether each specified material is eligible for outbound. Only if it is, will the corresponding outbound task be generated and added to the task queue. The process of the PLC controller controlling the robot and the robot executing the outbound task is the same as the process in the automatic outbound mode described above.

[0042] It should be noted that, Figure 2 The configurations of the host computer, PLC controller, touch screen, and robot shown are merely examples and are not intended to be limiting.

[0043] In the outbound control method provided in this embodiment of the invention, when the PLC controller confirms a communication failure with the host computer, it prompts the user via the touchscreen to force a switch, changing the current operating mode from the host computer-controlled automatic outbound mode to the touchscreen-controlled manual outbound mode, while simultaneously clearing the task queue. Next, it obtains the outbound parameters for at least one specified material input by the user on the manual outbound control interface of the touchscreen. Then, based on each outbound parameter, it performs outbound qualification verification for each specified material, and after all verifications pass, it generates an outbound task for each specified material and adds it to the task queue. Finally, it controls the robot to sequentially execute each outbound task in the task queue to transport each specified material from the warehouse to the processing equipment of the next process. Therefore, this invention can promptly switch to manual outbound mode in the event of a communication failure with the host computer. This allows it to obtain the outbound parameters for the specified materials entered by the user on the touchscreen, thereby generating outbound tasks to control the robot's execution, preventing communication failures from causing the robot to stop working and leading to material overload and production line shutdown.

[0044] In an optional implementation, the PLC controller and the host computer can detect faults through a heartbeat mechanism. That is, the process of "confirming a communication failure with the host computer" in step S2 above may include the following sub-steps S21 to S24.

[0045] S21. Send a heartbeat query message to the host computer at set intervals.

[0046] S22. If a heartbeat response message is received from the host computer within a set time period after each heartbeat query message is sent, then the communication between the host computer and the host computer is confirmed to be normal.

[0047] The set period and set duration can be flexibly set according to the actual situation, for example, the set period can be 200ms or 500ms, and the set duration can be 50ms. S23. If no heartbeat response message is received within the set duration for N consecutive set periods, it is determined that there is a communication failure with the host computer.

[0048] N can be either 3 or 5. The causes of communication failures may include: the host computer crashing, the host computer's data export program crashing, or network interruption.

[0049] S24. If the CRC check of the outbound command sent by the host computer fails N times in a row, then the communication between the host computer and the host computer is determined to be faulty.

[0050] In addition to the heartbeat mechanism, the PLC controller can also perform CRC (Cyclic Redundancy Check) verification every time it receives an outbound command. If the CRC verification fails for N consecutive outbound commands, it means that the outbound command is garbled due to interference (such as loose network cable or electromagnetic interference) during transmission. Such communication instability for a period of time can also be considered as a communication failure.

[0051] In existing technologies, outbound control relies solely on a host computer for automated outbound processing. If a communication failure occurs between the PLC controller and the host computer, outbound processing can only be stopped, which can lead to warehouse overload and production line shutdown.

[0052] In the event of a communication failure, this application adds a manual outbound mode. This allows users to temporarily control outbound operations via a touchscreen while awaiting recovery, preventing warehouse overload and production line shutdowns. To this end, the PLC controller in this application can maintain an automatic enable flag and a host computer fault flag. The process of "prompting the user to perform a forced switch via the touchscreen to change the current operating mode from the host computer-controlled automatic outbound mode to the touchscreen-controlled manual outbound mode" in step S2 above can include the following steps S25-S27.

[0053] S25. Send a fault message to the touch screen so that the touch screen displays a switching pop-up window based on the fault message.

[0054] The pop-up window is used to inform users of a host computer malfunction, requiring them to switch to manual outbound mode. Users can also promptly call an engineer to troubleshoot the host computer.

[0055] For example, the switching pop-up window might display: "There is a communication failure between the PLC controller and the host computer. Do you want to switch to manual outbound mode?" The pop-up window also includes an "OK" button. If the touchscreen detects that the user clicks the "OK" button in the switching pop-up window, it can directly generate the first switching instruction and send it to the PLC controller. In this example, the content displayed in the switching pop-up window is only for illustration and is not intended to be limiting.

[0056] S26. When the first switching instruction is received from the touch screen, the enable flag will be set to 0 and the fault flag of the host computer will be set to 1 to switch the current operating mode to manual outbound mode.

[0057] When the PLC controller receives the first switching instruction, it sets the automatic enable flag to 0 and the host computer fault flag to 1. This causes the PLC controller to stop executing the outbound tasks in the task queue and then clear the outbound queue to avoid duplication or conflict between the outbound tasks triggered by the host computer and the outbound tasks triggered by the host computer.

[0058] S27. Send a switching success message to the touch screen so that the touch screen jumps to display the manual outbound control interface.

[0059] Furthermore, when the PLC controller completes the mode switch, it will notify the touch screen to jump to the manual outbound control interface, making it convenient for users to enter information.

[0060] For example, the manual outbound control interface can be as follows: Figure 3 As shown, Figure 3 This includes three areas: Area 1, Area 2, and Area 3. Area 1 reflects the details of the current task, Area 2 reflects the execution status of the current task, and Area 3 is for users to manually enter information for outbound operations. This is displayed immediately upon redirection. Figure 3 When the interface shown is displayed, users can enter the storage location settings interface by clicking any storage location settings button (storage location settings 1~3) in area 3.

[0061] For example, if the user clicks Figure 3 In the "Storage Location Settings 3" section, the touchscreen will then redirect to display... Figure 4 The storage location settings interface shown here (where all fields except the serial number are set to 0 by default) allows users to... Figure 4 On the displayed interface, enter the storage location numbers and crystal rod diameters of 10 specified materials. After entering the information, click "Save." Then, you can directly click "Batch Out," and the touchscreen will directly display the information provided by the user. Figure 4 The 10 specified material outbound parameters (i.e., storage location numbers) entered in the input are submitted to the PLC controller.

[0062] Or, the user is Figure 4After completing the input and clicking "Save," you can also click "Storage Location Settings 1 / 2" to continue entering information. Finally, click the "Back" button on the storage location settings interface to return to the previous screen. Figure 3 The interface shown, then the user clicks Figure 3 The touchscreen will send the outbound button shown to the PLC controller in batches, allowing the user to input all the outbound parameters (i.e., storage location numbers) for the specified materials.

[0063] It should be noted that the above combination Figure 3 , Figure 4 The examples provided are for illustrative purposes only, and no restrictions are placed on the interface style or the interface navigation logic triggered by user actions.

[0064] In existing technologies, in the automatic outbound process controlled by the host computer, the PLC controller only verifies whether the content carried by the outbound instruction is consistent with the material information cached locally. It lacks a matching verification of the standard processing specifications of the back-end processing equipment. This can lead to problems such as material blockage, material retention, and production line flow issues due to the mismatch between the actual outbound materials and the processing specifications of the back-end processing equipment.

[0065] In this application, as mentioned above, in the automatic outbound mode, specification verification is performed to prevent material blockage in the next process. Similarly, in the manual outbound mode, data matching and specification verification are performed to prevent material blockage in the next process. To this end, the PLC controller of this application stores the standard processing specifications for each processing device in the next process (e.g., pre-stored or periodically communicated with the host computer of the processing device to obtain the standard processing specifications), and the PLC controller maintains a material database, which includes the storage location number and attribute information of each material in the warehouse; the attribute information includes material code and product specifications. Taking a single crystal wafer as an example, the attribute information includes: crystal code (i.e., material code), wafer length, diameter, and product specifications.

[0066] Therefore, the implementation process of step S4 above, "based on each outbound parameter, perform outbound qualification verification for each specified material", can include the following sub-steps S41 to S43.

[0067] S41. For each specified material, query the actual storage location and actual product specifications of the specified material from the material database based on its outbound parameters.

[0068] In this embodiment, the outbound parameters may include at least the material code and / or storage location number. Therefore, the actual storage location and actual product specifications of the specified material can be found in the material database using the outbound parameters.

[0069] S42. If the actual storage location is not empty and the actual product specifications are consistent with the standard processing specifications, then confirm that the designated material has passed the outbound qualification verification.

[0070] For example, if the outbound parameter is a storage location number, and the corresponding information for that storage location number exists in the material database, it means that the actual storage location is not empty. If the actual product specifications extracted from it are the same as the stored standard processing specifications, it is confirmed that the specified material has passed the outbound qualification verification and will not cause material blockage in the next process.

[0071] S43. If the actual storage location is empty or the actual product specifications are inconsistent with the standard processing specifications, the user will be prompted via the touch screen that the specified material does not exist or the processing specifications do not match.

[0072] For example, if the outbound parameter is a storage location number (e.g., storage location A10-2-3), and there is no information corresponding to storage location A10-2-3 in the corresponding material database, it means that storage location A10-2-3 is empty. The user needs to be notified via the touchscreen that the specified material in storage location A10-2-3 does not exist. Alternatively, if the outbound parameter is a storage location number (e.g., storage location A10-2-3), and there is information corresponding to storage location A10-2-3 in the corresponding material database, it means that storage location A10-2-3 is not empty. However, if the actual product specifications of the material in storage location A10-2-3 are inconsistent with the subsequent standard processing specifications, the user needs to be notified via the touchscreen that the processing specifications of the specified material in storage location A10-2-3 do not match.

[0073] It should be noted that the above examples are merely illustrative and are not intended to be limiting.

[0074] In an optional implementation, each time the robot completes an outbound task, it returns a success message carrying the storage location number to the PLC controller, allowing the PLC controller to update the material database promptly. That is, in manual outbound mode, this outbound control method also includes the following steps: S6. Each time a successful execution message is received from the robot, the manual outbound material is determined from the material database based on the storage location number carried in the successful execution message, and the storage location number and attribute information corresponding to the manually outbound material are deleted.

[0075] In an optional implementation, when the communication failure is resolved, the user can manually switch back to the automatic outbound mode, and the PLC controller can synchronize all storage location numbers that were outbound during the manual outbound mode to the host computer. That is, this outbound control method also includes the following steps S7~S8.

[0076] S7. If the communication failure is resolved, switch the current operating mode back to automatic outbound mode.

[0077] The process of switching back to automatic outbound mode here is similar to the process of switching to manual outbound mode mentioned above: When the PLC controller receives the second switching command sent by the touch screen, it will automatically enable the flag to 1 and set the host computer fault flag to 0, so as to switch the current operating mode back to automatic outbound mode; then it will send a switching success message to the touch screen so that the touch screen will jump to display the automatic outbound monitoring interface.

[0078] For example, in the event of a communication failure being resolved, if the touchscreen senses a user tap such as... Figure 3 When the mode switching button in the manual outbound control interface is pressed, a second switching instruction will be generated and sent to the PLC controller.

[0079] S8. Upload the storage location number of each manually issued material to the host computer so that the host computer can delete the storage location number and attribute information corresponding to each manually issued material from the material database upon receipt.

[0080] After the PLC controller switches back to automatic outbound mode, it uploads the storage location number of each manually outbound material to the host computer. This allows the host computer to delete the corresponding storage location number and attribute information from the material database upon receiving the upload data. This prevents the host computer from automatically issuing outbound commands for each manually outbound material in the future.

[0081] It should be noted that the execution order of each step in the above method embodiments is not limited to that shown in the attached figures, and the execution order of each step shall be subject to the actual application situation.

[0082] Based on the same inventive concept as the aforementioned outbound control method, this invention also provides an outbound control system, which includes a host computer, a PLC controller, and a robot connected in sequence via communication, and further includes a touch screen connected to the PLC controller. Wherein: The host computer is used to send the generated outbound instructions to the PLC controller; When the PLC controller receives an outbound instruction, it generates an outbound task based on the outbound instruction and adds it to the task queue. The PLC controller is also used to prompt the user to perform a forced switch via the touch screen when a communication failure is confirmed between the PLC and the host computer. This switch is to change the current operating mode from the host computer-controlled automatic retrieval mode to the touch screen-controlled manual retrieval mode, and to clear the task queue. The PLC controller is also used to obtain at least one specified material outbound parameter input by the user on the manual outbound control interface of the touch screen. The PLC controller is also used to perform outbound qualification verification for each specified material based on each outbound parameter, and after all verifications pass, generate an outbound task for each specified material and add it to the task queue. The PLC controller is also used to control the robot to execute each outbound task in the task queue in sequence, so as to transport each specified material from the warehouse to the processing equipment of the next process.

[0083] It should be noted that the basic principles of the coordinated operation of the various parts of the outbound control system and the resulting technical effects are the same as or similar to those in the aforementioned outbound control method embodiments. For the sake of brevity, parts not mentioned in this embodiment can be referred to the corresponding content in the aforementioned outbound control method embodiments.

[0084] In order to perform the corresponding steps in the above method embodiments and various possible implementations, an implementation method of the outbound control device is given below.

[0085] Please see Figure 5 , Figure 5 A schematic diagram of the outbound control device provided in an embodiment of the present invention is shown. This outbound control device 200 is applied to the PLC controller of a control system. The system includes a host computer, a PLC controller, and a robot connected in sequence via communication. The system also includes a touchscreen connected to the PLC controller.

[0086] like Figure 5 The outbound control device 200 includes: The task receiving module 210 is used to generate an outbound task based on the outbound instruction sent by the host computer and add it to the task queue. The mode switching module 220 is used to prompt the user to perform a forced switch via the touch screen when a communication failure is confirmed between the host computer and the host computer, so as to switch the current operating mode from the host computer-controlled automatic retrieval mode to the touch screen-controlled manual retrieval mode, and clear the task queue. The parameter acquisition module 230 is used to acquire at least one specified material outbound parameter input by the user on the manual outbound control interface of the touch screen. The verification module 240 is used to perform outbound qualification verification for each specified material based on each outbound parameter, and after all verifications pass, generate an outbound task for each specified material and add it to the task queue. The outbound control module 250 is used to control the robot to execute each outbound task in the task queue in sequence, so as to transport each specified material from the warehouse to the processing equipment of the next process.

[0087] Optionally, the mode switching module 220 can be used to: send heartbeat query messages to the host computer at set intervals; if a heartbeat response message is received from the host computer within a set time period each time a heartbeat query message is sent, then the communication with the host computer is confirmed to be normal; if no heartbeat response message is received within the set time period for N consecutive set intervals, then a communication failure is determined to have occurred with the host computer; if the CRC check of the outbound command sent by the host computer fails N times consecutively, then a communication failure is determined to have occurred with the host computer.

[0088] Optionally, the PLC controller maintains an automatic enable flag and a host computer fault flag; the mode switching module 220 can specifically be used to: send a fault message to the touch screen so that the touch screen displays a switching pop-up window based on the fault message; the switching pop-up window is used to inform the user of a host computer fault, requiring switching to manual outbound mode; when the touch screen returns the first switching instruction, the automatic enable flag is set to 0 and the host computer fault flag is set to 1 to switch the current operating mode to manual outbound mode; the first switching instruction is generated when the touch screen senses that the user clicks the OK button in the switching pop-up window; send a switching success message to the touch screen so that the touch screen jumps to display the manual outbound control interface.

[0089] Optionally, the PLC controller stores the standard processing specifications of the processing equipment; the PLC controller maintains a material database, which includes the storage location number and attribute information of each material in the warehouse; the attribute information includes the material code and product specifications; the outbound parameters include the material code and / or storage location number. Specifically, the verification module 240 can be used to: for each specified material, query the actual storage location and actual product specifications of the specified material from the material database based on its outbound parameters; if the actual storage location is not empty and the actual product specifications are consistent with the standard processing specifications, then confirm that the specified material has passed the outbound qualification verification; if the actual storage location is empty or the actual product specifications are inconsistent with the standard processing specifications, then prompt the user via the touchscreen that the specified material does not exist or the processing specifications do not match.

[0090] Optionally, both the PLC controller and the host computer maintain a material database, which includes the storage location number and attribute information of each material in the warehouse. The outbound control device 200 may also include an update module, which, upon receiving a successful execution message from the robot, determines the manually outbound material from the material database based on the storage location number carried in the successful execution message, and deletes the storage location number and attribute information corresponding to the manually outbound material.

[0091] Optionally, the mode switching module 220 can also be used to: switch the current operating mode back to automatic outbound mode when the communication failure is recovered; and upload the storage location number of each manually outbound material to the host computer so that the host computer can delete the storage location number and attribute information corresponding to each manually outbound material from the material database upon receipt.

[0092] Optionally, the PLC controller maintains an automatic enable flag and a host computer fault flag. Specifically, the mode switching module 220 can be used to: set the automatic enable flag to 1 and set the host computer fault flag to 0 when it receives a second switching command from the touchscreen, so as to switch the current operating mode back to automatic outbound mode; wherein, the second switching command is generated when the touchscreen senses the user clicking the mode switching button in the manual outbound control interface after the communication fault is recovered; and send a switching success message to the touchscreen so that the touchscreen jumps to display the automatic outbound monitoring interface.

[0093] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the outbound control device 200 described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0094] This invention also provides a PLC controller for implementing the outbound control method described above.

[0095] This invention also provides a computer-readable storage medium storing a computer program. When executed by a processor, this computer program implements the outbound control method disclosed in the above embodiments. The computer-readable storage medium can be, but is not limited to, a USB flash drive, a portable hard drive, a magnetic disk, an optical disc, RAM (Random Access Memory), ROM (Read Only Memory), FLASH (Flash Memory), PROM (Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electric Erasable Programmable Read-Only Memory), and other media capable of storing program code.

[0096] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. An outbound control method, characterized in that, A PLC controller for a control system, the system comprising a host computer, a PLC controller, and a robot connected in sequence via communication, and the system further comprising a touch screen connected to the PLC controller; the method comprising: When an outbound command is received from the host computer, an outbound task is generated based on the outbound command and added to the task queue. When a communication failure is confirmed with the host computer, the user is prompted to perform a forced switch via the touch screen to switch the current operating mode from the host computer-controlled automatic outbound mode to the touch screen-controlled manual outbound mode, and to clear the task queue. Obtain at least one specified material's outbound parameters input by the user at the manual outbound control interface on the touchscreen; Based on the aforementioned outbound parameters, an outbound eligibility verification is performed on each specified material. After all verifications pass, an outbound task for each specified material is generated and added to the task queue. The robot is controlled to sequentially execute each outbound task in the task queue to transport each designated material from the warehouse to the processing equipment of the next process.

2. The method according to claim 1, characterized in that, The step of confirming a communication failure with the host computer includes: Send a heartbeat query message to the host computer at set intervals; Each time the heartbeat query message is sent, if a heartbeat response message is received from the host computer within a set time period, it is confirmed that the communication with the host computer is normal. If the heartbeat response message is not received within the set time period for N consecutive set periods, it is determined that a communication failure has occurred with the host computer. If the CRC check fails N times consecutively on the outbound command sent by the host computer, then a communication failure is determined to have occurred between the host computer and the host computer.

3. The method according to claim 1, characterized in that, The PLC controller stores the standard processing specifications of the processing equipment; the PLC controller maintains a material database, which includes the storage location number and attribute information of each material in the warehouse; the attribute information includes the material code and product specifications; the outbound parameters include the material code and / or storage location number. The step of verifying the eligibility of each specified material for outbound delivery based on the aforementioned outbound parameters includes: For each specified material, query the actual storage location and actual product specifications of the specified material from the material database based on its outbound parameters; If the actual storage location is not empty and the actual product specifications are consistent with the standard processing specifications, then the designated material is confirmed to have passed the outbound qualification verification. If the actual storage location is empty or the actual product specifications are inconsistent with the standard processing specifications, the user will be prompted via the touch screen that the specified material does not exist or the processing specifications do not match.

4. The method according to claim 1, characterized in that, The PLC controller is equipped with an automatic enable flag and a host computer fault flag. The steps of prompting the user to force a switch via the touchscreen to change the current operating mode from the host computer-controlled automatic outbound mode to the touchscreen-controlled manual outbound mode include: A fault message is sent to the touchscreen, causing the touchscreen to display a switching pop-up window based on the fault message; the switching pop-up window is used to inform the user that the host computer is faulty and needs to be switched to the manual outbound mode; When the touchscreen receives the first switching instruction, the automatic enable flag is set to 0 and the host computer fault flag is set to 1 to switch the current operating mode to the manual outbound mode; the first switching instruction is generated when the touchscreen senses that the user clicks the OK button in the switching pop-up window; A successful switching message is sent to the touchscreen, causing the touchscreen to switch to displaying the manual outbound control interface.

5. The method according to claim 1, characterized in that, Both the PLC controller and the host computer maintain a material database, which includes the storage location number and attribute information of each material in the warehouse; the method further includes: Each time a successful execution message is received from the robot, the manual outbound material is determined from the material database based on the storage location number carried in the successful execution message, and the storage location number and attribute information corresponding to the manual outbound material are deleted. If the communication failure is resolved, the current operating mode will be switched back to the automatic outbound mode; The storage location number of each manually issued material is uploaded to the host computer, so that the host computer can delete the storage location number and attribute information corresponding to each manually issued material from the material database upon receipt.

6. The method according to claim 5, characterized in that, The PLC controller is equipped with an automatic enable flag and a host computer fault flag. In the event that the communication failure is resolved, the step of switching the current operating mode back to the automatic outbound mode includes: When the second switching command sent by the touch screen is received, the automatic enable flag is set to 1 and the host computer fault flag is set to 0, so as to switch the current running mode back to the automatic outbound mode; wherein, the second switching command is generated when the touch screen senses the user clicking the mode switching button in the manual outbound control interface after the communication fault is recovered; A successful switch message is sent to the touchscreen, causing the touchscreen to switch to displaying the automatic outbound monitoring interface.

7. An outbound control system, characterized in that, It includes a host computer, a PLC controller, and a robot that are connected in sequence via communication, and also includes a touch screen connected to the PLC controller; The host computer is used to send the generated outbound instructions to the PLC controller; When the PLC controller receives the outbound instruction, it generates an outbound task based on the outbound instruction and adds it to the task queue. The PLC controller is also used to prompt the user to perform a forced switch via the touch screen when a communication failure is confirmed between the PLC and the host computer, so as to switch the current operating mode from the automatic outbound mode dominated by the host computer to the manual outbound mode dominated by the touch screen, and to clear the task queue. The PLC controller is also used to obtain at least one specified material outbound parameter input by the user on the manual outbound control interface of the touch screen. The PLC controller is also used to perform outbound qualification verification for each specified material based on the outbound parameters, and after all verifications are passed, generate an outbound task for each specified material and add it to the task queue. The PLC controller is also used to control the robot to execute each outbound task in the task queue in sequence, so as to transport each specified material from the warehouse to the processing equipment of the next process.

8. An outbound control device, characterized in that, A PLC controller for a control system, the system comprising a host computer, a PLC controller, and a robot connected in sequence via communication, and the system further comprising a touch screen connected to the PLC controller; the device includes: The task receiving module is used to generate an outbound task based on the outbound instruction sent by the host computer and add it to the task queue. The mode switching module is used to prompt the user to perform a forced switch via the touch screen when a communication failure is confirmed between the host computer and the host computer, so as to switch the current operating mode from the automatic retrieval mode dominated by the host computer to the manual retrieval mode dominated by the touch screen, and to clear the task queue. The parameter acquisition module is used to obtain at least one outbound parameter of a specified material input by the user on the manual outbound control interface of the touch screen. The verification module is used to perform outbound qualification verification for each specified material based on the outbound parameters, and after all verifications pass, generate an outbound task for each specified material and add it to the task queue. The outbound control module is used to control the robot to execute each outbound task in the task queue in sequence, so as to transport each specified material from the warehouse to the processing equipment of the next process.

9. A PLC controller, characterized in that, The PLC controller is used to implement the method according to any one of claims 1-6.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1-6.