Material processing method and processing system
By using integer variables in automation equipment to generate and record them on material vehicles, the problem of high complexity of processing complex state changes in materials is solved, and the program simplicity and production efficiency are improved.
Patent Information
- Application Number
- CN202211355552.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-01
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-11-01
AI Technical Summary
The prior art is difficult to effectively deal with the complex state changes of materials in automation equipment, resulting in high complexity of program processing, inconvenient reading and poor coordination.
Integer variables are used to generate and code and record them on the material vehicle. By identifying and executing different encoding instructions, the assembly, transmission, detection and changes in the position status of the material in the automation equipment are realized.
It simplifies program planning, improves the simplicity of the processing system and the convenience of reading, reduces labor costs, improves production efficiency, and makes material processing more intelligent and user-friendly.
Smart Images

Figure CN115676208B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a material processing method and a processing system. Background Art
[0002] With the development of automation, the automation equipment in industrial production is becoming more and more complex, and the number of material states in the machines is increasing. This makes it impossible for us to use traditional Boolean flags to meet the needs, and program processing is becoming more and more complicated.
[0003] At present, the conventional method on the market is to use Boolean variable bits to identify the information of materials in the machine. This method is OK when dealing with simple equipment, because Boolean bit variables can only identify two states, true and false (1 and 0), and can only handle a single problem. When encountering multiple states at a position, it is difficult to handle. More than 2 or more Boolean variables will be used to handle it at the same time, which will increase the program's bit variable processing, increase its complexity, and make it inconvenient to read. Once an error occurs in the state, it is difficult to handle and the coordination is very poor. Summary of the invention
[0004] The embodiment of the present invention discloses a material processing method and processing system, which can be used for the assembly, transfer, detection, and state changes of various positions of materials in automated equipment during the front, middle, and back stages of the process until the materials finally leave the machine, making program planning convenient, concise, and easy to read.
[0005] A first aspect of an embodiment of the present invention discloses a material processing method, the method comprising:
[0006] When the material carrier moves to the feeding area, detecting whether the feeding area feeds the material carrier within a first specified time period; if so, generating a first feeding code using an integer variable and recording it on the material carrier;
[0007] moving the material carrier into an assembly area;
[0008] When the first feed code marked on the material carrier is identified from the assembly area, controlling the assembly area to perform an assembly action;
[0009] Detecting whether the assembly area assembles the material on the material carrier within a second specified time period; if so, generating a first assembly code using an integer variable and recording it on the material carrier;
[0010] Moving the material carrier into a first feature detection area;
[0011] When the first assembly code marked on the material carrier is identified from the first feature detection area, controlling the first feature detection area to perform a first feature detection action;
[0012] detecting whether the first characteristic detection zone performs a first characteristic detection on the material on the material carrier within a third specified time period; if so, determining whether the material on the material carrier has the first characteristic according to the first characteristic detection result;
[0013] If so, using the integer variable to generate a first detection first feature code and record it on the material carrier;
[0014] Moving the material carrier into a second feature detection area;
[0015] When the first feature code of the first detection marked on the material carrier is identified from the second feature detection area, controlling the second feature detection area to perform a second feature detection action;
[0016] detecting whether the second characteristic detection zone performs a second characteristic detection on the material on the material carrier within a fourth specified time period; and if so, determining whether the material on the material carrier has the second characteristic according to the second characteristic detection result;
[0017] If so, using the integer variable to generate the first detection second feature code and record it on the material carrier;
[0018] Moving the material carrier to the material discharge bin area;
[0019] When the first detection first feature code and the first detection second feature code marked on the material carrier are identified from the material discharge bin area, the material discharge bin area is controlled to perform the action of storing the material on the material carrier into a qualified bin.
[0020] As another optional implementation, in the first aspect of the embodiment of the present invention, the method further includes:
[0021] If it is detected that the feeding area does not feed the material carrier within the first specified time period, a second feeding code is generated using an integer variable and recorded on the material carrier;
[0022] moving the material carrier into the assembly area;
[0023] When the second feed code marked on the material carrier is identified from the assembly area, it is determined that no material is loaded on the material carrier;
[0024] generating a second assembly code using an integer variable and recording the second assembly code on the material carrier;
[0025] Moving the material carrier into the first feature detection area;
[0026] When the second assembly code marked on the material carrier is identified from the first feature detection area, it is determined that no material is loaded on the material carrier;
[0027] Generate a second detection first feature code using an integer variable and record it on the material carrier;
[0028] Moving the material carrier into the second feature detection area;
[0029] When the second detection first characteristic code marked on the material carrier is identified from the second characteristic detection area, it is determined that no material is loaded on the material carrier;
[0030] Generate a second detection second feature code using an integer variable and record it on the material carrier;
[0031] Moving the material carrier to the material discharge bin area;
[0032] When the second detection first characteristic code and the second detection second characteristic code marked on the material carrier are identified in the discharge bin area, the identification code on the material carrier is cleared and the material carrier is moved to the feeding area.
[0033] As another optional implementation, in the first aspect of the embodiment of the present invention, the method further includes:
[0034] If it is detected that the assembly area has not assembled the material on the material carrier within the second specified time period, a third assembly code is generated using an integer variable and recorded on the material carrier;
[0035] Moving the material carrier to the material discharge bin area;
[0036] When the third assembly code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to store the material on the material carrier into the waste bin area;
[0037] The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
[0038] As another optional implementation, in the first aspect of the embodiment of the present invention, the method further includes:
[0039] If it is detected that the first feature detection zone has not performed the first feature detection on the material on the material carrier within the third specified time period, a third detection first feature code is generated using an integer variable and recorded on the material carrier;
[0040] Moving the material carrier to the material discharge bin area;
[0041] When the third detected first feature code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to perform the action of storing the material on the material carrier into the first undetected bin;
[0042] The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
[0043] As another optional implementation, in the first aspect of the embodiment of the present invention, the method further includes:
[0044] If it is determined according to the first feature detection result that the material on the material carrier does not have the first feature, a fourth detection first feature code is generated by using an integer variable and recorded on the material carrier;
[0045] Moving the material carrier to the material discharge bin area;
[0046] When the fourth detected first characteristic code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to store the material on the material carrier into a bin without the first characteristic;
[0047] The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
[0048] As another optional implementation, in the first aspect of the embodiment of the present invention, the method further includes:
[0049] If it is detected that the second characteristic detection zone has not performed the second characteristic detection on the material on the material carrier within the fourth specified time period, a third detection second characteristic code is generated by using an integer variable and recorded on the material carrier;
[0050] Moving the material carrier to the material discharge bin area;
[0051] When the third detected second feature code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to store the material on the material carrier into the second undetected bin.
[0052] As another optional implementation, in the first aspect of the embodiment of the present invention, the method further includes:
[0053] If it is determined according to the second feature detection result that the material on the material carrier does not have the first feature, a fourth detection second feature code is generated using an integer variable and recorded on the material carrier;
[0054] Moving the material carrier to the material discharge bin area;
[0055] When the fourth detected second characteristic code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to store the material on the material carrier into a bin without the second characteristic;
[0056] The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
[0057] As another optional implementation, in the first aspect of the embodiment of the present invention, when the first detection first feature code and the first detection second feature code marked on the material carrier are identified from the discharge bin area, after controlling the discharge bin area to execute the action of storing the material on the material carrier into a qualified bin, the method further includes:
[0058] The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
[0059] A second aspect of an embodiment of the present invention discloses a processing system, the processing system comprising:
[0060] A first detection unit, used for detecting whether the material carrier is fed into the feeding zone within a first specified time period when the material carrier moves to the feeding zone;
[0061] A first generating unit, configured to generate a first feeding code using an integer variable and record the first feeding code on the material carrier when the first detecting unit detects that the feeding area feeds the material carrier within a first specified time period;
[0062] A first moving unit, used to move the material carrier to an assembly area;
[0063] A first control unit, configured to control the assembly area to perform an assembly action when the first feed code marked on the material carrier is identified from the assembly area;
[0064] A second detection unit, used to detect whether the assembly area assembles the material on the material carrier within a second specified time period;
[0065] a second generating unit, configured to generate a first assembly code using an integer variable and record the first assembly code on the material carrier when the second detecting unit detects that the assembly area assembles the material on the material carrier within a second specified time period;
[0066] A second moving unit, used to move the material carrier to a first feature detection area;
[0067] The second control unit controls the first feature detection area to perform a first feature detection action when the first assembly code marked on the material carrier is identified from the first feature detection area;
[0068] a third detection unit, configured to detect whether the first characteristic detection zone performs a first characteristic detection on the material on the material carrier within a third specified time period;
[0069] a first judging unit, configured to judge whether the material on the material carrier has the first feature according to the first feature detection result when the third detecting unit detects that the first feature detection area performs a first feature detection on the material on the material carrier within a third specified time period;
[0070] a third generating unit, configured to generate a first detected first feature code using an integer variable and record the code on the material carrier when the first judging unit judges that the material on the material carrier has the first feature according to the first feature detection result;
[0071] A third moving unit, used to move the material carrier to a second feature detection area;
[0072] a third control unit, configured to control the second feature detection area to perform a second feature detection action when the first feature code of the first detection marked on the material carrier is identified from the second feature detection area;
[0073] a fourth detection unit, configured to detect whether the second characteristic detection zone performs a second characteristic detection on the material on the material carrier within a fourth specified time period;
[0074] a second judging unit, configured to judge whether the material on the material carrier has the second characteristic according to the second characteristic detection result when the fourth detecting unit detects that the second characteristic detection area performs a second characteristic detection on the material on the material carrier within a fourth specified time period;
[0075] a fourth generating unit, configured to generate a first detected second feature code by using an integer variable and record the code on the material carrier when the second judging unit judges that the material on the material carrier has the second feature according to the second feature detection result;
[0076] A fourth moving unit, used for moving the material carrier to a material discharge bin area;
[0077] and a fourth control unit, for controlling the material discharge bin area to store the material on the material carrier into a qualified bin when the first detection first feature code and the first detection second feature code marked on the material carrier are identified in the material discharge bin area.
[0078] A third aspect of an embodiment of the present invention discloses a processing system, the processing system comprising:
[0079] A memory storing executable program code;
[0080] a processor coupled to the memory;
[0081] The processor calls the executable program code stored in the memory to execute a material processing method disclosed in the first aspect of an embodiment of the present invention.
[0082] A fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute a material processing method disclosed in the first aspect of an embodiment of the present invention.
[0083] A fifth aspect of an embodiment of the present invention discloses a computer program product. When the computer program product is run on a computer, the computer is enabled to execute part or all of the steps of any one of the material processing methods of the first aspect.
[0084] A sixth aspect of an embodiment of the present invention discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes part or all of the steps of any one of the material processing methods of the first aspect.
[0085] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0086] In an embodiment of the present invention, when a material carrier moves to a feeding area, if the processing system detects from the feeding area that the feeding area feeds the material carrier within a first specified time period; a first feeding code can be generated using an integer variable and recorded on the material carrier; when the processing system identifies the first feeding code marked on the material carrier from the assembly area, it can be detected from the assembly area whether the assembly area assembles the material on the material carrier within a second specified time period; if so, the processing system can generate a first assembly code using an integer variable and record it on the material carrier; when the processing system identifies the first assembly code marked on the material carrier from the first feature detection area, it can be detected from the first feature detection area. Whether the first feature detection area performs a first feature detection on the material on the material carrier within the third specified time period, if so, it can be determined whether the material on the material carrier has the first feature based on the first feature detection result, and if so, the first detection first feature code can be generated using an integer variable and recorded on the material carrier, and then the material carrier can be moved to the second feature detection area and the same execution process as the first feature detection area can be executed, until the processing system determines that the material on the material carrier has the second feature based on the second feature detection result, and then the first detection second feature code is generated using an integer variable and recorded on the material carrier, and finally the discharge bin area can be controlled to execute the action of storing the material on the material carrier in a qualified bin. It can be seen that the embodiment of the present invention can be used for the assembly, transfer, detection, and state changes of various positions of the materials in the automation equipment during the front, middle, and back stages, making the program planning convenient, concise, and easy to read. BRIEF DESCRIPTION OF THE DRAWINGS
[0087] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0088] Figure 1 It is a schematic flow chart of a material processing method disclosed in Embodiment 1 of the present invention;
[0089] Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 , Figure 8 It is a schematic flow chart of another material processing method disclosed in the second embodiment of the present invention;
[0090] Fig. 9is a structural schematic diagram of a processing system disclosed in Embodiment 3 of the present invention;
[0091] Fig.10 is a structural schematic diagram of another processing system disclosed in Embodiment 4 of the present invention;
[0092] Fig.11 It is a structural schematic diagram of another processing system disclosed in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0093] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0094] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units 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.
[0095] The embodiment of the present invention discloses a material processing method and processing system, which can be used for the material in the automation equipment in the front, middle and back stages, assembly, transfer, detection, and the state changes of various positions of the material out of the machine, making the program planning convenient, concise and easy to read.
[0096] The following is a detailed description with reference to the accompanying drawings.
[0097] Embodiment 1
[0098] See also Figure 1 , Figure 1 Schematic diagram of a material processing method disclosed in an embodiment of the present invention. Figure 1 As shown, the material processing method may include the following steps.
[0099] 101. When the material carrier moves to the feeding area, the processing system detects whether the feeding area feeds the material carrier within the first specified time period. If so, execute steps 102 to 105. If not, end this process.
[0100] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the feeding area, the feeding area may first send an image taken in the feeding area to the processing system after the first specified time period has passed. The processing system may identify whether the material carrier is still being loaded with materials based on the image. If not, it may detect whether there is material loaded on the material carrier. If so, it may be determined that the feeding area has completed the feeding action on the material carrier within the first specified time period, so as to execute steps 102 to 105.
[0101] 102. The processing system generates a first feed code using an integer variable and records it on the material carrier.
[0102] As an optional implementation, in an embodiment of the present invention, an integer variable can be used to generate a specified code to prepare a protocol table for the feeding situation of the material carrier, so that the processing system can recognize the code in the next area and quickly respond to the next work step.
[0103] 103. The handling system moves the material carrier to the assembly area.
[0104] As an optional implementation, in an embodiment of the present invention, the material carrier can be placed on a mobile turntable, and the movement of the mobile turntable is controlled by the processing system. After the processing system uses an integer variable to generate a first feed code and records it on the material carrier, the processing system can control the mobile turntable to work and transport the material carrier to the assembly area.
[0105] 104. When the processing system identifies the first material feed code marked on the material carrier in the assembly area, the processing system controls the assembly area to perform the assembly action.
[0106] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the assembly area, the processing system can obtain an image taken in the assembly area and recognize the first feed code marked on the material carrier based on the image.
[0107] 105. The processing system detects whether the assembly area assembles the materials on the material carrier within the second specified time period. If so, execute steps 106 to 109. If not, end this process.
[0108] As an optional implementation, in an embodiment of the present invention, the assembly area may first send an image taken in the assembly area to the processing system after the second specified time period has passed. The processing system may identify whether material assembly work is still being carried out on the material carrier based on the image. If not, it may detect whether the material on the material carrier has been assembled. If so, it may be determined that the assembly area has completed the assembly action on the material carrier within the second specified time period, so as to execute steps 106 to 109.
[0109] 106. The processing system generates a first assembly code using the integer variable and records it on the material carrier.
[0110] 107. The processing system moves the material carrier to the first feature detection area.
[0111] 108. When the processing system identifies the first assembly code marked on the material carrier from the first feature detection area, the processing system controls the first feature detection area to perform a first feature detection action.
[0112] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the first feature detection area, the processing system can obtain an image taken in the first feature detection area and identify the first assembly code marked on the material carrier based on the image.
[0113] 109. The processing system detects whether the first feature detection zone performs a first feature detection on the material on the material carrier within the third specified time period. If so, execute step 110; if not, end this process.
[0114] As an optional implementation, in an embodiment of the present invention, the first feature detection area may first send the first feature detection result to the processing system after the third specified time period has passed, so that the processing system can judge the first feature based on the first feature detection result. If the first feature detection area does not send the first feature detection result to the processing system after the third specified time period has passed, the processing system can confirm that the first feature detection area did not perform the first feature detection on the material on the material carrier within the third specified time period.
[0115] 110. The processing system determines whether the material on the material carrier has the first feature according to the first feature detection result. If so, execute steps 111 to 114. If not, end this process.
[0116] 111. The processing system generates a first detection first feature code using an integer variable and records it on a material carrier.
[0117] 112. The processing system moves the material carrier to a second feature detection area.
[0118] 113. When the processing system identifies the first detection first feature code marked on the material carrier from the second feature detection area, it controls the second feature detection area to perform a second feature detection action.
[0119] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the second feature detection area, the processing system can obtain an image taken in the second feature detection area, and identify the first detection first feature code marked on the material carrier based on the image.
[0120] 114. The processing system detects whether the second characteristic detection zone performs a second characteristic detection on the material on the material carrier within the fourth specified time period. If so, execute step 115; if not, end this process.
[0121] As an optional implementation, in an embodiment of the present invention, the second feature detection area may first send the second feature detection result to the processing system after the fourth specified time period has passed, so that the processing system can judge the second feature based on the second feature detection result. If the second feature detection area does not send the second feature detection result to the processing system after the fourth specified time period has passed, the processing system can confirm that the second feature detection area did not perform the second feature detection on the material on the material carrier within the fourth specified time period.
[0122] 115. The processing system determines whether the material on the material carrier has the second feature according to the second feature detection result. If so, execute steps 116 to 118. If not, end this process.
[0123] 116. The processing system generates a first detection second feature code using an integer variable and records it on the material carrier.
[0124] 117. The handling system moves the material carrier to the discharge bin area.
[0125] 118. When the processing system identifies the first detection first feature code and the first detection second feature code marked on the material carrier from the material discharge bin area, it controls the material discharge bin area to execute the action of storing the material on the material carrier into the qualified bin.
[0126] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the unloading storage area, the processing system can obtain an image taken in the unloading storage area, and identify the first detection first feature code and the first detection second feature code marked on the material carrier based on the image.
[0127] As an optional implementation, in an embodiment of the present invention, the material carrier in the present application can be pre-placed on a turntable that can rotate counterclockwise, and the turntable can be provided with a feeding area, an assembly area, a first feature detection area, a second feature detection area and a discharge bin area that are equally divided, wherein the feeding area can be responsible for loading materials onto the material carrier, the assembly area can be responsible for assembling the materials on the carrier, the first feature detection area can be responsible for the first feature detection of the materials on the carrier, the second feature detection area can be responsible for the second feature detection of the materials on the carrier, and the discharge bin area can be responsible for grabbing and discharging materials on the turntable carrier.
[0128] As an optional implementation, in an embodiment of the present invention, after the material is loaded in the feeding area, it can be rotated to the assembly area for processing and assembly, and then rotated to the first feature detection area for detection and photographing, and then rotated to the second feature detection area for detection and photographing, and finally the material can be taken to different positions by the discharge storage area according to different situations.
[0129] As an optional implementation, in an embodiment of the present invention, in addition to the first feature detection area that can detect the first feature and the second feature detection area that can detect the second feature, the present application may also have N feature detection areas that can detect other features. The present application does not impose any restrictions, that is, after the processing system uses integer variables to generate the first detection second feature code and records it on the material carrier, and before the processing system moves the material carrier to the discharge bin area, the processing system can also move the material carrier to the Nth feature detection area to detect the Nth feature.
[0130] exist Figure 1 In the material processing method shown, the processing system is used as an example for description. It should be noted that Figure 1 The execution subject of the material processing method shown may also be an independent device associated with the processing system, which is not limited in the embodiment of the present invention.
[0131] It can be seen that implementation Figure 1 The described material handling method can be used for the material in the automation equipment during the front, middle and back stages, including assembly, transfer, detection, and the state changes of various positions until the material leaves the machine, making program planning convenient, concise and easy to read.
[0132] In addition, implementation Figure 1 The material handling method described can save labor costs, improve production efficiency, make the entire material handling more intelligent and humane, make programming simple and clear, make logical thinking more rigorous, and make it easy for novice programmers to get started.
[0133] In addition, implementation Figure 1 A material handling method is described, which can sort out the locations where materials exist and the number of states of the materials at each location.
[0134] Embodiment 2
[0135] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another material processing method disclosed in an embodiment of the present invention. Figure 2 As shown, the material processing method may include the following steps:
[0136] 201. When the material carrier moves to the feeding area, the processing system detects whether the feeding area feeds the material carrier within the first specified time period. If so, execute steps 202 to 205; if not, execute steps 220 to 231.
[0137] 202. The processing system generates a first feed code using an integer variable and records it on a material carrier.
[0138] 203. The handling system moves the material carrier to the assembly area.
[0139] 204. When the processing system identifies the first material feed code marked on the material carrier from the assembly area, the processing system controls the assembly area to perform the assembly action.
[0140] 205. The processing system detects whether the assembly area assembles the materials on the material carrier within the second specified time period. If so, execute steps 206 to 209; if not, execute steps 232 to 235.
[0141] 206. The processing system generates a first assembly code using the integer variable and records it on the material carrier.
[0142] 207. The processing system moves the material carrier to the first feature detection area.
[0143] 208. When the processing system recognizes the first assembly code marked on the material carrier from the first feature detection area, the processing system controls the first feature detection area to perform a first feature detection action.
[0144] 209. The processing system detects whether the first characteristic detection zone performs a first characteristic detection on the material on the material carrier within the third specified time period. If so, execute step 110; if not, execute steps 236 to 239.
[0145] 210. The processing system determines whether the material on the material carrier has the first feature according to the first feature detection result. If so, execute steps 111 to 114; if not, execute steps 240 to 243.
[0146] 211. The processing system generates a first detection first feature code using an integer variable and records it on a material carrier.
[0147] 212. The processing system moves the material carrier to a second feature detection area.
[0148] 213. When the processing system identifies the first detection first feature code marked on the material carrier from the second feature detection area, it controls the second feature detection area to perform a second feature detection action.
[0149] 214. The processing system detects whether the second characteristic detection zone performs a second characteristic detection on the material on the material carrier within the fourth specified time period. If so, execute step 115; if not, execute steps 244 to 246.
[0150] 215. The processing system determines whether the material on the material carrier has the second feature according to the second feature detection result. If so, execute steps 116 to 118; if not, execute steps 247 to 250.
[0151] 216. The processing system generates a first detection second feature code using an integer variable and records it on the material carrier.
[0152] 217. The processing system moves the material carrier to the discharge storage area.
[0153] 218. When the processing system identifies the first detection first feature code and the first detection second feature code marked on the material carrier from the material discharge bin area, the material discharge bin area is controlled to execute the action of storing the material on the material carrier into a qualified bin.
[0154] 219. The processing system clears the identification code on the material carrier and moves the material carrier to the feed area, ending this process.
[0155] As an optional implementation, in an embodiment of the present invention, the material carrier in the present application can be pre-placed on a turntable that can rotate counterclockwise. After the material carrier completes the storage of materials in the discharge bin area, the material carrier is no longer loaded with materials and is in an empty state. At this time, the processing system can clear the identification code on the material carrier to make the material carrier a new material carrier to return to the feed area with the turntable to perform the steps of re-loading, assembling, testing and unloading of materials, and repeat this cycle.
[0156] 220. The processing system generates a second feed code using the integer variable and records it on the material carrier.
[0157] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the feed area, an integer variable can be used to identify the state of the material carrier to generate a first feed code and a second feed code; wherein the first feed code and the second feed code at least include the feeding status of the material carrier.
[0158] 221. The handling system moves the material carrier to the assembly area.
[0159] 222. When the processing system identifies the second feed code marked on the material carrier from the assembly area, it is determined that no material is loaded on the material carrier.
[0160] 223. The processing system generates a second assembly code using the integer variable and records it on the material carrier.
[0161] As an optional implementation, in an embodiment of the present invention, when a material carrier moves to an assembly area, an integer variable can be used to identify the state of the material carrier to generate a first assembly code, a second assembly code, and a third assembly code; wherein the first assembly code, the second assembly code, and the third assembly code include at least the assembly status of the material carrier.
[0162] 224. The processing system moves the material carrier to the first feature detection area.
[0163] 225. When the processing system identifies the second assembly code marked on the material carrier from the first feature detection area, it is determined that no material is loaded on the material carrier.
[0164] 226. The processing system generates a second detection first feature code using an integer variable and records it on the material carrier.
[0165] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the first feature detection area, the state of the material carrier can be identified using an integer variable to generate a first detection first feature code, a second detection first feature code, a third detection first feature code and a fourth detection first feature code; wherein the first detection first feature code, the second detection first feature code, the third detection first feature code and the fourth detection first feature code include at least the first feature detection status of the material carrier.
[0166] 227. The processing system moves the material carrier to a second feature detection area.
[0167] 228. When the processing system identifies the second detection first feature code marked on the material carrier from the second feature detection area, it is determined that no material is loaded on the material carrier.
[0168] 229. The processing system generates a second detection second feature code using an integer variable and records it on the material carrier.
[0169] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the second feature detection area, the state of the material carrier can be identified using an integer variable to generate a first detection second feature code, a second detection second feature code, a third detection second feature code and a fourth detection second feature code; wherein the first detection second feature code, the second detection second feature code, the third detection second feature code and the fourth detection second feature code at least include the second feature detection status of the material carrier.
[0170] 230. The processing system moves the material carrier to the discharge storage area.
[0171] 231. When the processing system identifies the second detection first feature code and the second detection second feature code marked on the material carrier in the discharge bin area, it clears the identification code on the material carrier and moves the material carrier to the feeding area.
[0172] 232. The processing system generates a third assembly code using the integer variable and records it on the material carrier.
[0173] 233. The processing system moves the material carrier to the discharge storage area.
[0174] 234. When the processing system identifies the third assembly code marked on the material carrier from the material discharge bin area, the processing system controls the material discharge bin area to execute the action of storing the material on the material carrier into the waste bin.
[0175] 235. The processing system clears the identification code on the material carrier and moves the material carrier to the feeding area, ending this process.
[0176] 236. The processing system generates a third detection first feature code using an integer variable and records it on the material carrier.
[0177] 237. The handling system moves the material carrier to the discharge bin area.
[0178] 238. When the processing system identifies the third detected first feature code marked on the material carrier from the material discharge bin area, the material discharge bin area is controlled to execute the action of storing the material on the material carrier into the first undetected bin.
[0179] 239. The processing system clears the identification code on the material carrier and moves the material carrier to the feed area, ending this process.
[0180] 240. The processing system generates a fourth detection first feature code using an integer variable and records it on the material carrier.
[0181] 241. The processing system moves the material carrier to the discharge storage area.
[0182] 242. When the processing system identifies the fourth detection first feature code marked on the material carrier from the material discharge bin area, the processing system controls the material discharge bin area to store the material on the material carrier into a bin without the first feature.
[0183] 243. The processing system clears the identification code on the material carrier and moves the material carrier to the feeding area, ending this process.
[0184] 244. The processing system generates a third detection second feature code using an integer variable and records it on the material carrier.
[0185] 245. The processing system moves the material carrier to the discharge storage area.
[0186] 246. When the processing system identifies the third detected second feature code marked on the material carrier from the material discharge bin area, the processing system controls the material discharge bin area to store the material on the material carrier into the second undetected bin.
[0187] As an optional implementation, in an embodiment of the present invention, after the material carrier is moved to the discharge bin area for material storage, the original coding information will be cleared to make the material carrier a new material carrier and return to the feed area with the turntable to perform new material loading, assembly, inspection and unloading steps, and repeat this cycle.
[0188] 247. The processing system generates a fourth detection second feature code using an integer variable and records it on the material carrier.
[0189] 248. The handling system moves the material carrier to the discharge bin area.
[0190] 249. When the processing system identifies the fourth detection second characteristic code marked on the material carrier from the material discharge bin area, the material discharge bin area is controlled to execute the action of storing the material on the material carrier into a bin without the second characteristic.
[0191] 250. The processing system clears the identification code on the material carrier and moves the material carrier to the feed area.
[0192] As an optional implementation, in the embodiment of the present invention, the present application uses an INT integer word to record the status of the material carrier at each position as follows:
[0193] 1) When the material carrier moves to the feeding area, the INT word on the material carrier (0-no material; 1-material);
[0194] 2) When the material carrier moves to the assembly area, the INT word on the material carrier (0-no material; 1-material but not assembled; 2-material but assembled);
[0195] 3) When the material carrier moves to the first feature detection area, the INT word on the material carrier (0-no material; 1-first feature not detected; 2-first feature detected; 3-first feature not detected);
[0196] 4) When the material carrier moves to the second feature detection area, the INT word on the material carrier (0-no material; 1-the first feature has been detected, but the second feature has not been detected; 2-the first feature has been detected, and the second feature has been detected; 3-the first feature has not been detected, and the second feature has not been detected; 4-the first feature has been detected, but the second feature has not been detected);
[0197] 5) When the material carrier moves to the discharge bin area, the INT word on the material carrier (0-no material; 1-the first feature and the second feature have been detected; 2-the first feature has not been detected; 3-the second feature has not been detected).
[0198] As an optional implementation, in the embodiment of the present invention, when the material carrier moves to the feeding area, when there is material on the material carrier, the generated first feeding code may be 1, and if there is no material on the material carrier, the generated second feeding code may be 0;
[0199] Then, when the material carrier moves to the assembly area, when the material carrier is in a state of having material and being assembled, the generated first assembly code may be 1, and if the material carrier is in a state of having no material, the generated second assembly code may be 0, and if the material carrier is in a state of having material but not being assembled, the generated third assembly code may be 2;
[0200] Then, when the material carrier moves to the first feature detection area, when there is material on the material carrier and the first feature has been detected, the generated first detection first feature code may be 1, and if there is no material on the material carrier, the generated second detection first feature code may be 0, and if there is material on the material carrier but it has not been detected, the generated third detection first feature code may be 2, and if there is material on the material carrier but the first feature has not been detected, the generated fourth detection first feature code may be 3;
[0201] Then when the material carrier moves to the second feature detection area, when there is material on the material carrier and the second feature has been detected, the first detection second feature code generated may be 1, and if there is no material on the material carrier, the second detection second feature code generated may be 0, and if there is material on the material carrier but it has not been detected, the third detection second feature code generated may be 2, and if there is material on the material carrier but the second feature has not been detected, the fourth detection second feature code generated may be 3.
[0202] As an optional implementation, in an embodiment of the present invention, the word status address of this application can be replaced by other register variables with storage functions, such as byte type, unsigned integer type, signed bit integer type, file register ZR, etc., but this application uses a conventional 16-bit unsigned integer type to fully meet the needs. In short, using a multi-state register instead of a single-bit status register brings a lot of convenience.
[0203] It can be seen that implementation Figure 2 The described another material handling method can be used for the material in the automation equipment in the front, middle and back stages of the process, including assembly, transfer, detection, and the final state changes of the material at various positions when it leaves the machine, making the program planning convenient, concise and easy to read.
[0204] In addition, implementation Figure 2 Another material handling method described, the multi-state identification method can well solve the shortcomings of conventional bit identification for complex machine processing problems, simplify programming ideas and methods, and is very convenient for processing complex equipment. It breaks the conventional methods and makes it easy for readers to understand the program and find problems.
[0205] In addition, implementation Figure 2 The other material handling method described has the advantages of clear ideas, simple programming, the ability to handle a variety of situations without repetition, simple reset, convenient status modification, easy maintenance and helpful for novices to take over the program.
[0206] Embodiment 3
[0207] See also Fig. 9 , Fig. 9 Schematic diagram of a processing system disclosed in an embodiment of the present invention. Fig. 9 As shown, the processing system 300 may include a first detection unit 301, a first generation unit 302, a first moving unit 303, a first control unit 304, a second detection unit 305, a second generation unit 306, a second moving unit 307, a second control unit 308, a third detection unit 309, a first judgment unit 310, a third generation unit 311, a third moving unit 312, a third control unit 313, a fourth detection unit 314, a second judgment unit 315, a fourth generation unit 316, a fourth moving unit 317, and a fourth control unit 318, wherein:
[0208] The first detection unit 301 is used to detect whether the feeding area feeds the material carrier within a first specified time period when the material carrier moves to the feeding area.
[0209] The first generating unit 302 is used to generate a first feeding code using an integer variable and record it on the material carrier when the first detecting unit 301 detects that the feeding area feeds the material carrier within the first specified time period.
[0210] The first moving unit 303 is used to move the material carrier to the assembly area.
[0211] The first control unit 304 is used to control the assembly area to perform an assembly action when the first feed code marked on the material carrier is identified from the assembly area.
[0212] The second detection unit 305 is used to detect whether the assembly area assembles the materials on the material carrier within a second specified time period.
[0213] The second generating unit 306 is used to generate a first assembly code using an integer variable and record it on the material carrier when the second detecting unit 305 detects that the assembly area assembles the material on the material carrier within the second specified time period.
[0214] The second moving unit 307 is used to move the material carrier to the first feature detection area.
[0215] The second control unit 308 controls the first feature detection area to perform a first feature detection action when the first assembly code marked on the material carrier is identified from the first feature detection area.
[0216] The third detection unit 309 is used to detect whether the first characteristic detection area performs a first characteristic detection on the material on the material carrier within a third specified time period.
[0217] The first judgment unit 310 is used to judge whether the material on the material carrier has the first feature according to the first feature detection result when the third detection unit 309 detects that the first feature detection area performs a first feature detection on the material on the material carrier within a third specified time period.
[0218] The third generating unit 311 is used to generate a first detection first feature code using an integer variable and record it on the material carrier when the first judging unit 310 judges that the material on the material carrier has the first feature according to the first feature detection result.
[0219] The third moving unit 312 is used to move the material carrier to the second feature detection area.
[0220] The third control unit 313 is used to control the second feature detection area to perform a second feature detection action when the first feature code marked on the material carrier is identified from the second feature detection area.
[0221] The fourth detection unit 314 is used to detect whether the second characteristic detection area performs a second characteristic detection on the material on the material carrier within a fourth specified time period.
[0222] The second judgment unit 315 is used to judge whether the material on the material carrier has the second feature according to the second feature detection result when the fourth detection unit 314 detects that the second feature detection area performs a second feature detection on the material on the material carrier within a fourth specified time period.
[0223] The fourth generating unit 316 is used to generate the first detected second feature code using an integer variable and record it on the material carrier when the second judging unit 315 judges that the material on the material carrier has the second feature according to the second feature detection result.
[0224] The fourth moving unit 317 is used to move the material carrier to the material discharge storage area.
[0225] The fourth control unit 318 is used to control the discharge bin area to store the material on the material carrier into a qualified bin when the first detection first feature code and the first detection second feature code marked on the material carrier are identified in the discharge bin area.
[0226] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the feeding area, the feeding area may first send an image taken in the feeding area to the processing system after the first specified time period has passed, and the first detection unit 301 may identify whether the material carrier is still being loaded with materials based on the image. If not, the first detection unit 301 may detect whether the material carrier is loaded with materials. If so, the first detection unit 301 may determine that the feeding area has completed the feeding action on the material carrier within the first specified time period.
[0227] As an optional implementation, in an embodiment of the present invention, the first generation unit 302 can use integer variables to generate specified codes to prepare a protocol table for the feeding conditions of the material carrier, so that the processing system can recognize the code in the next area and quickly respond to the next work step.
[0228] As an optional implementation, in an embodiment of the present invention, the material carrier can be placed on a mobile turntable, and the movement of the mobile turntable is controlled by the processing system. After the first generation unit 302 uses an integer variable to generate a first feed code and records it on the material carrier, the first mobile unit 303 can control the mobile turntable to work and transport the material carrier to the assembly area.
[0229] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the assembly area, the processing system can obtain an image taken in the assembly area and recognize the first feed code marked on the material carrier based on the image.
[0230] As an optional implementation, in an embodiment of the present invention, the assembly area may first send an image taken in the assembly area to the processing system after the second specified time period has passed, and the second detection unit 305 may identify whether material assembly is still in progress on the material carrier based on the image. If not, the second detection unit 305 may detect whether the material on the material carrier has been assembled. If so, the second detection unit 305 may determine that the assembly area has completed the assembly action on the material carrier within the second specified time period.
[0231] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the first feature detection area, the processing system can obtain an image taken in the first feature detection area and identify the first assembly code marked on the material carrier based on the image.
[0232] As an optional implementation, in an embodiment of the present invention, the first feature detection area may first send the first feature detection result to the first judgment unit 310 after the third specified time period has passed, so that the first judgment unit 310 can make a judgment of the first feature based on the first feature detection result. If the first feature detection area does not send the first feature detection result to the first judgment unit 310 after the third specified time period has passed, the third detection unit 309 can confirm that the first feature detection area did not perform the first feature detection on the material on the material carrier within the third specified time period.
[0233] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the second feature detection area, the processing system can obtain an image taken in the second feature detection area, and identify the first detection first feature code marked on the material carrier based on the image.
[0234] As an optional implementation, in an embodiment of the present invention, the second feature detection area may first send the second feature detection result to the second judgment unit 315 after the fourth specified time period has passed, so that the second judgment unit 315 can make a judgment on the second feature based on the second feature detection result. If the second feature detection area does not send the second feature detection result to the second judgment unit 315 after the fourth specified time period has passed, the fourth detection unit 314 can confirm that the second feature detection area did not perform a second feature detection on the material on the material carrier within the fourth specified time period.
[0235] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the unloading storage area, the processing system can obtain an image taken in the unloading storage area, and identify the first detection first feature code and the first detection second feature code marked on the material carrier based on the image.
[0236] As an optional implementation, in an embodiment of the present invention, the material carrier in the present application can be pre-placed on a turntable that can rotate counterclockwise, and the turntable can be provided with a feeding area, an assembly area, a first feature detection area, a second feature detection area and a discharge bin area that are equally divided, wherein the feeding area can be responsible for loading materials onto the material carrier, the assembly area can be responsible for assembling the materials on the carrier, the first feature detection area can be responsible for the first feature detection of the materials on the carrier, the second feature detection area can be responsible for the second feature detection of the materials on the carrier, and the discharge bin area can be responsible for grabbing and discharging materials on the turntable carrier.
[0237] As an optional implementation, in an embodiment of the present invention, after the material is loaded in the feeding area, it can be rotated to the assembly area for processing and assembly, and then rotated to the first feature detection area for detection and photographing, and then rotated to the second feature detection area for detection and photographing, and finally the material can be taken to different positions by the discharge storage area according to different situations.
[0238] As an optional implementation, in an embodiment of the present invention, in addition to the first feature detection area that can detect the first feature and the second feature detection area that can detect the second feature, the present application may also have N feature detection areas that can detect other features. The present application does not impose any restrictions, that is, after the processing system uses integer variables to generate the first detection second feature code and records it on the material carrier, and before the processing system moves the material carrier to the discharge bin area, the processing system can also move the material carrier to the Nth feature detection area to detect the Nth feature.
[0239] It can be seen that implementation Fig. 9 The described processing system can be used for the material status changes at various positions of the front, middle and back stages of the automated equipment, including assembly, transfer, detection, and finally the material exiting the machine, making program planning convenient, concise and easy to read.
[0240] In addition, implementation Fig. 9 The processing system described can save labor costs, improve production efficiency, make the entire material processing more intelligent and humane, make programming simple and clear, make logical thinking more rigorous, and make it easy for novice programmers to get started.
[0241] In addition, implementation Fig. 9 The described processing system is capable of sorting out the locations where materials exist and the number of states of the materials at each location.
[0242] Embodiment 4
[0243] See also Fig.10 , Fig.10 is a schematic diagram of the structure of another processing system disclosed in an embodiment of the present invention. Fig.10 The processing system shown is composed of Fig. 9 The processing system shown is optimized.
[0244] As an optional implementation, in an embodiment of the present invention, the first generation unit 302 is also used to generate a second feed code using an integer variable and record it on the material carrier when the first detection unit 301 detects that the feed area has not fed the material carrier within a first specified time period.
[0245] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the feed area, the first generation unit 302 can use an integer variable to identify the state of the material carrier to generate a first feed code and a second feed code; wherein the first feed code and the second feed code at least include the feeding status of the material carrier.
[0246] As an optional implementation, in the embodiment of the present invention, the first moving unit 303 is further used to move the material carrier to the assembly area after the first generating unit 302 generates the second feed code using the integer variable and records it on the material carrier.
[0247] and Fig. 9 Compared with the processing system shown, Fig.10 The processing system shown may also include:
[0248] The first determining unit 319 is configured to determine that no material is loaded on the material carrier when the second feed code marked on the material carrier is identified from the assembly area.
[0249] As an optional implementation, in the embodiment of the present invention, the second generating unit 306 is further configured to generate a second assembly code using an integer variable and record the second assembly code on the material carrier when the first determining unit 319 determines that no material is loaded on the material carrier.
[0250] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the assembly area, the second generation unit 306 can use an integer variable to identify the state of the material carrier to generate a first assembly code, a second assembly code and a third assembly code; wherein the first assembly code, the second assembly code and the third assembly code at least include the assembly status of the material carrier.
[0251] As an optional implementation, in the embodiment of the present invention, the second moving unit 307 is further used to move the material carrier to the first feature detection area after the second generating unit 306 generates the second assembly code using the integer variable and records it on the material carrier.
[0252] and Fig. 9 Compared with the processing system shown, Fig.10 The processing system shown may also include:
[0253] The second determining unit 320 is configured to determine that no material is loaded on the material carrier when the second assembly code marked on the material carrier is identified in the first feature detection area.
[0254] As an optional implementation, in an embodiment of the present invention, the third generating unit 311 is also used to generate a second detection first feature code using an integer variable and record it on the material carrier when the second determining unit 320 determines that there is no material loaded on the material carrier.
[0255] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the first feature detection area, the third generation unit 311 can use an integer variable to identify the state of the material carrier to generate a first detection first feature code, a second detection first feature code, a third detection first feature code and a fourth detection first feature code; wherein the first detection first feature code, the second detection first feature code, the third detection first feature code and the fourth detection first feature code at least include the first feature detection status of the material carrier.
[0256] As an optional implementation, in an embodiment of the present invention, the third moving unit 312 is also used to move the material carrier to the second feature detection area after the third generating unit 311 uses an integer variable to generate the second detection first feature code and records it on the material carrier.
[0257] and Fig. 9 Compared with the processing system shown, Fig.10 The processing system shown may also include:
[0258] The third determining unit 321 is configured to determine that no material is loaded on the material carrier when the second detected first characteristic code marked on the material carrier is identified in the second characteristic detection area.
[0259] As an optional implementation, in an embodiment of the present invention, the fourth generating unit 316 is also used to generate a second detection second feature code using an integer variable and record it on the material carrier when the third determining unit 321 determines that there is no material loaded on the material carrier.
[0260] As an optional implementation, in an embodiment of the present invention, when the material carrier moves to the second feature detection area, the fourth generation unit 316 can use an integer variable to identify the state of the material carrier to generate a first detection second feature code, a second detection second feature code, a third detection second feature code and a fourth detection second feature code; wherein the first detection second feature code, the second detection second feature code, the third detection second feature code and the fourth detection second feature code at least include the second feature detection status of the material carrier.
[0261] As an optional implementation, in an embodiment of the present invention, the fourth moving unit 317 is also used to move the material carrier to the discharge storage area after the fourth generating unit 316 uses the integer variable to generate the second detection second feature code and records it on the material carrier.
[0262] and Fig. 9 Compared with the processing system shown, Fig.10 The processing system shown may also include:
[0263] The clearing and moving unit 322 is used to clear the identification code on the material carrier and move the material carrier to the feeding area when the second detection first feature code and the second detection second feature code marked on the material carrier are identified in the discharge bin area.
[0264] As an optional implementation, in an embodiment of the present invention, the second generation unit 306 is also used to generate a third assembly code using an integer variable and record it on the material carrier when the second detection unit 305 detects that the assembly area has not assembled the material on the material carrier within the second specified time period.
[0265] As an optional implementation, in the embodiment of the present invention, the second moving unit 307 is further used to move the material carrier to the discharge storage area after the second generating unit 306 generates the third assembly code using the integer variable and records it on the material carrier.
[0266] As an optional implementation, in an embodiment of the present invention, the fourth control unit 318 is also used to control the discharge bin area to execute the action of storing the material on the material carrier into the waste bin when the third assembly code marked on the material carrier is identified from the discharge bin area.
[0267] As an optional implementation, in an embodiment of the present invention, the clearing and moving unit 322 is also used to clear the identification code on the material carrier and move the material carrier to the feeding area after the fourth control unit 318 controls the discharge bin area to execute the action of storing the material on the material carrier into the waste bin.
[0268] As an optional implementation, in an embodiment of the present invention, the third generation unit 311 is also used to generate a third detection first feature code using an integer variable and record it on the material carrier when the third detection unit 309 detects that the first feature detection area has not performed a first feature detection on the material on the material carrier within a third specified time period.
[0269] As an optional implementation, in an embodiment of the present invention, the third moving unit 312 is also used to move the material carrier to the discharge storage area when the third generating unit 311 uses an integer variable to generate a third detection first feature code and records it on the material carrier.
[0270] As an optional implementation, in an embodiment of the present invention, the fourth control unit 318 is also used to control the discharge bin area to execute the action of storing the material on the material carrier into the first undetected bin when the third detection first feature code marked on the material carrier is identified from the discharge bin area.
[0271] As an optional implementation, in an embodiment of the present invention, after the material carrier is moved to the discharge bin area for material storage, the original coding information will be cleared to make the material carrier a new material carrier and return to the feed area with the turntable to perform new material loading, assembly, inspection and unloading steps, and repeat this cycle.
[0272] As an optional implementation, in an embodiment of the present invention, the third generation unit 311 is also used to generate a fourth detection first feature code using an integer variable and record it on the material carrier when the first judgment unit 310 determines that the material on the material carrier does not have the first feature based on the first feature detection result.
[0273] As an optional implementation, in an embodiment of the present invention, the third moving unit 312 is also used to move the material carrier to the discharge storage area when the third generating unit 311 uses an integer variable to generate the fourth detection first feature code and records it on the material carrier.
[0274] As an optional implementation, in an embodiment of the present invention, the fourth control unit 318 is also used to control the discharge bin area to execute the action of storing the material on the material carrier into a bin without the first feature when the fourth detection first feature code marked on the material carrier is identified from the discharge bin area.
[0275] As an optional implementation, in an embodiment of the present invention, the clearing and moving unit 322 is also used to clear the identification code on the material carrier and move the material carrier to the feeding area after the fourth control unit 318 controls the discharge bin area to execute the action of storing the material on the material carrier in the bin without the first characteristic.
[0276] As an optional implementation, in an embodiment of the present invention, the fourth generation unit 316 is also used to generate a third detection second feature code using an integer variable and record it on the material carrier when the fourth detection unit 314 detects that the second feature detection area has not performed a second feature detection on the material on the material carrier within a fourth specified time period.
[0277] As an optional implementation, in an embodiment of the present invention, the fourth moving unit 317 is used to move the material carrier to the discharge storage area when the fourth generating unit 316 generates the third detection second feature code using an integer variable and records it on the material carrier.
[0278] As an optional implementation, in an embodiment of the present invention, the fourth control unit 318 is also used to control the discharge bin area to execute the action of storing the material on the material carrier into the second undetected bin when the third detection second feature code marked on the material carrier is identified from the discharge bin area.
[0279] As an optional implementation, in an embodiment of the present invention, the fourth generation unit 316 is also used to generate a fourth detection second feature code using an integer variable and record it on the material carrier when the second judgment unit 315 determines that the material on the material carrier does not have the first feature based on the second feature detection result.
[0280] As an optional implementation, in an embodiment of the present invention, the fourth moving unit 317 is also used to move the material carrier to the discharge storage area when the fourth generating unit 316 uses an integer variable to generate a fourth detection second feature code and records it on the material carrier.
[0281] As an optional implementation, in an embodiment of the present invention, the fourth control unit 318 is also used to control the discharge bin area to execute the action of storing the material on the material carrier into a bin without the second feature when the fourth detection second feature code marked on the material carrier is identified from the discharge bin area.
[0282] As an optional implementation, in an embodiment of the present invention, the clearing and moving unit 322 is also used to clear the identification code on the material carrier and move the material carrier to the feeding area after the fourth control unit 318 controls the discharge bin area to execute the action of storing the material on the material carrier in the bin without the second characteristic.
[0283] As an optional implementation, in an embodiment of the present invention, the clearing and moving unit 322 is also used to clear the identification code on the material carrier and move the material carrier to the feeding area after the fourth control unit 318 controls the discharge storage area to execute the action of storing the material on the material carrier into a qualified storage area.
[0284] As an optional implementation, in an embodiment of the present invention, the material carrier in the present application can be pre-placed on a turntable that can rotate counterclockwise. After the material carrier completes the storage of materials in the discharge bin area, the material carrier is no longer loaded with materials and is in an empty state. At this time, the clearing and moving unit 322 can clear the identification code on the material carrier to make the material carrier a new material carrier to return to the feed area with the turntable to perform the steps of re-loading, assembling, testing and unloading of materials, and repeat this cycle.
[0285] As an optional implementation, in the embodiment of the present invention, the present application uses an INT integer word to record the status of the material carrier at each position as follows:
[0286] 1) When the material carrier moves to the feeding area, the INT word on the material carrier (0-no material; 1-material);
[0287] 2) When the material carrier moves to the assembly area, the INT word on the material carrier (0-no material; 1-material but not assembled; 2-material but assembled);
[0288] 3) When the material carrier moves to the first feature detection area, the INT word on the material carrier (0-no material; 1-first feature not detected; 2-first feature detected; 3-first feature not detected);
[0289] 4) When the material carrier moves to the second feature detection area, the INT word on the material carrier (0-no material; 1-the first feature has been detected, but the second feature has not been detected; 2-the first feature has been detected, and the second feature has been detected; 3-the first feature has not been detected, and the second feature has not been detected; 4-the first feature has been detected, but the second feature has not been detected);
[0290] 5) When the material carrier moves to the discharge bin area, the INT word on the material carrier (0-no material; 1-the first feature and the second feature have been detected; 2-the first feature has not been detected; 3-the second feature has not been detected).
[0291] As an optional implementation, in the embodiment of the present invention, when the material carrier moves to the feeding area, when there is material on the material carrier, the generated first feeding code may be 1, and if there is no material on the material carrier, the generated second feeding code may be 0;
[0292] Then, when the material carrier moves to the assembly area, when the material carrier is in a state of having material and being assembled, the generated first assembly code may be 1, and if the material carrier is in a state of having no material, the generated second assembly code may be 0, and if the material carrier is in a state of having material but not being assembled, the generated third assembly code may be 2;
[0293] Then, when the material carrier moves to the first feature detection area, when there is material on the material carrier and the first feature has been detected, the generated first detection first feature code may be 1, and if there is no material on the material carrier, the generated second detection first feature code may be 0, and if there is material on the material carrier but it has not been detected, the generated third detection first feature code may be 2, and if there is material on the material carrier but the first feature has not been detected, the generated fourth detection first feature code may be 3;
[0294] Then when the material carrier moves to the second feature detection area, when there is material on the material carrier and the second feature has been detected, the first detection second feature code generated may be 1, and if there is no material on the material carrier, the second detection second feature code generated may be 0, and if there is material on the material carrier but it has not been detected, the third detection second feature code generated may be 2, and if there is material on the material carrier but the second feature has not been detected, the fourth detection second feature code generated may be 3.
[0295] As an optional implementation, in an embodiment of the present invention, the word status address of this application can be replaced by other register variables with storage functions, such as byte type, unsigned integer type, signed bit integer type, file register ZR, etc., but this application uses a conventional 16-bit unsigned integer type to fully meet the needs. In short, using a multi-state register instead of a single-bit status register brings a lot of convenience.
[0296] It can be seen that implementation Fig.10 Another processing system described can be used for the material status changes at various positions of the front, middle and back stages of the automated equipment, including assembly, transfer, and detection, until the material leaves the machine, making program planning convenient, concise and easy to read.
[0297] In addition, implementation Fig.10 Another processing system described, the word multi-state identification method can well solve the shortcomings of conventional bit identification for complex machine processing problems, simplify programming ideas and methods, and is very convenient for processing complex equipment. It breaks the conventional method and makes it easy for readers to understand the program and find problems.
[0298] In addition, implementation Fig.10 The described another processing system has the advantages of clear ideas, simple programming, ability to handle multiple situations without repetition, simple reset, convenient state modification, easy maintenance and helpful for novices to take over the program.
[0299] Embodiment 5
[0300] See also Fig.11 , Fig.11 FIG. 1 is a schematic diagram of another processing system disclosed in an embodiment of the present invention. Fig.11 As shown, the processing system may include:
[0301] A memory 501 storing executable program codes;
[0302] a processor 502 coupled to the memory 501;
[0303] The processor 502 calls the executable program code stored in the memory 501 to execute Figures 1 to 9Any material handling method.
[0304] The embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute Figure 1-2 Any material handling method.
[0305] The embodiments of the present invention further disclose a computer program product, wherein when the computer program product is run on a computer, the computer is enabled to execute part or all of the steps of the methods in the above method embodiments.
[0306] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0307] The material processing method and processing system disclosed in the embodiment of the present invention are introduced in detail above. The principle and implementation mode of the present invention are explained in detail by using specific examples. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A material processing method, characterized in that: include: When the material carrier moves to the feeding area, detecting whether the feeding area feeds the material carrier within a first specified time period; If so, generate a first feed code using an integer variable and record it on the material carrier; moving the material carrier into an assembly area; When the first feed code marked on the material carrier is identified from the assembly area, controlling the assembly area to perform an assembly action; Detecting whether the assembly area assembles the material on the material carrier within a second specified time period; if so, generating a first assembly code using an integer variable and recording it on the material carrier; Moving the material carrier into a first feature detection area; When the first assembly code marked on the material carrier is identified from the first feature detection area, controlling the first feature detection area to perform a first feature detection action; detecting whether the first characteristic detection zone performs a first characteristic detection on the material on the material carrier within a third specified time period; If so, determining whether the material on the material carrier has the first feature according to the first feature detection result; If so, using the integer variable to generate a first detection first feature code and record it on the material carrier; Moving the material carrier into a second feature detection area; When the first feature code of the first detection marked on the material carrier is identified from the second feature detection area, controlling the second feature detection area to perform a second feature detection action; detecting whether the second characteristic detection zone performs a second characteristic detection on the material on the material carrier within a fourth specified time period; If so, determining whether the material on the material carrier has the second feature according to the second feature detection result; If so, using the integer variable to generate the first detection second feature code and record it on the material carrier; Moving the material carrier to the material discharge bin area; When the first detection first feature code and the first detection second feature code marked on the material carrier are identified from the material discharge bin area, the material discharge bin area is controlled to perform the action of storing the material on the material carrier into a qualified bin.
2. The method according to claim 1, characterized in that The method further comprises: If it is detected that the feeding area does not feed the material carrier within the first specified time period, a second feeding code is generated using an integer variable and recorded on the material carrier; moving the material carrier into the assembly area; When the second feed code marked on the material carrier is identified from the assembly area, it is determined that no material is loaded on the material carrier; generating a second assembly code using an integer variable and recording the second assembly code on the material carrier; Moving the material carrier into the first feature detection area; When the second assembly code marked on the material carrier is identified from the first feature detection area, it is determined that no material is loaded on the material carrier; Generate a second detection first feature code using an integer variable and record it on the material carrier; Moving the material carrier into the second feature detection area; When the second detection first characteristic code marked on the material carrier is identified from the second characteristic detection area, it is determined that no material is loaded on the material carrier; Generate a second detection second feature code using an integer variable and record it on the material carrier; Moving the material carrier to the material discharge bin area; When the second detection first characteristic code and the second detection second characteristic code marked on the material carrier are identified in the discharge bin area, the identification code on the material carrier is cleared and the material carrier is moved to the feeding area.
3. The method according to claim 1, characterized in that The method further comprises: If it is detected that the assembly area has not assembled the material on the material carrier within the second specified time period, a third assembly code is generated using an integer variable and recorded on the material carrier; Moving the material carrier to the material discharge bin area; When the third assembly code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to store the material on the material carrier into the waste bin area; The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
4. The method according to claim 1, characterized in that: The method further comprises: If it is detected that the first feature detection zone has not performed the first feature detection on the material on the material carrier within the third specified time period, a third detection first feature code is generated by using an integer variable and recorded on the material carrier; Moving the material carrier to the material discharge bin area; When the third detected first feature code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to perform the action of storing the material on the material carrier into the first undetected bin; The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
5. The method according to claim 4, characterized in that The method further comprises: If it is determined according to the first feature detection result that the material on the material carrier does not have the first feature, a fourth detection first feature code is generated by using an integer variable and recorded on the material carrier; Moving the material carrier to the material discharge bin area; When the fourth detected first characteristic code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to store the material on the material carrier into a bin without the first characteristic; The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
6. The method according to claim 1, characterized in that The method further comprises: If it is detected that the second characteristic detection zone has not performed the second characteristic detection on the material on the material carrier within the fourth specified time period, a third detection second characteristic code is generated by using an integer variable and recorded on the material carrier; Moving the material carrier to the material discharge bin area; When the third detected second feature code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to store the material on the material carrier into the second undetected bin.
7. The method according to claim 6, characterized in that The method further comprises: If it is determined according to the second feature detection result that the material on the material carrier does not have the first feature, a fourth detection second feature code is generated using an integer variable and recorded on the material carrier; Moving the material carrier to the material discharge bin area; When the fourth detected second characteristic code marked on the material carrier is identified from the material discharge bin area, the material discharge bin area is controlled to store the material on the material carrier into a bin without the second characteristic; The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
8. The method according to any one of claims 1 to 7, characterized in that: When the first detection first characteristic code and the first detection second characteristic code marked on the material carrier are identified from the material discharge bin area, after the material discharge bin area is controlled to perform the action of storing the material on the material carrier into a qualified bin, the method further includes: The identification code on the material carrier is cleared and the material carrier is moved into the feed area.
9. A processing system, characterized in that: The processing system comprises: A first detection unit, used for detecting whether the material carrier is fed into the feeding zone within a first specified time period when the material carrier moves to the feeding zone; A first generating unit, configured to generate a first feeding code using an integer variable and record the first feeding code on the material carrier when the first detecting unit detects that the feeding area feeds the material carrier within a first specified time period; A first moving unit, used to move the material carrier to an assembly area; A first control unit, configured to control the assembly area to perform an assembly action when the first feed code marked on the material carrier is identified from the assembly area; A second detection unit, used to detect whether the assembly area assembles the material on the material carrier within a second specified time period; a second generating unit, configured to generate a first assembly code using an integer variable and record the first assembly code on the material carrier when the second detecting unit detects that the assembly area assembles the material on the material carrier within a second specified time period; A second moving unit, used to move the material carrier to a first feature detection area; The second control unit controls the first feature detection area to perform a first feature detection action when the first assembly code marked on the material carrier is identified from the first feature detection area; a third detection unit, configured to detect whether the first characteristic detection zone performs a first characteristic detection on the material on the material carrier within a third specified time period; a first judging unit, configured to judge whether the material on the material carrier has the first feature according to the first feature detection result when the third detecting unit detects that the first feature detection area performs a first feature detection on the material on the material carrier within a third specified time period; a third generating unit, configured to generate a first detected first feature code using an integer variable and record the code on the material carrier when the first judging unit judges that the material on the material carrier has the first feature according to the first feature detection result; A third moving unit, used to move the material carrier to a second feature detection area; a third control unit, configured to control the second feature detection area to perform a second feature detection action when the first feature code of the first detection marked on the material carrier is identified from the second feature detection area; a fourth detection unit, configured to detect whether the second characteristic detection zone performs a second characteristic detection on the material on the material carrier within a fourth specified time period; a second judging unit, configured to judge whether the material on the material carrier has the second characteristic according to the second characteristic detection result when the fourth detecting unit detects that the second characteristic detection area performs a second characteristic detection on the material on the material carrier within a fourth specified time period; a fourth generating unit, configured to generate a first detected second feature code by using an integer variable and record the code on the material carrier when the second judging unit judges that the material on the material carrier has the second feature according to the second feature detection result; A fourth moving unit, used for moving the material carrier to a material discharge bin area; and a fourth control unit, for controlling the material discharge bin area to store the material on the material carrier into a qualified bin when the first detection first feature code and the first detection second feature code marked on the material carrier are identified in the material discharge bin area.
10. A processing system, characterized in that: The processing system comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the material processing method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Intelligent material warehousing and fetching method
CN104268738A
Material automatic in / out warehouse management system and electronic equipment
CN109389348A