Control system, processing device and control method
By using a computer subsystem to obtain and transmit the clock subsystem of the local time to the processing system in an automated control system, the problem that the existing technology cannot record accurate processing time parameters at low cost is solved, and the cost-effectiveness and real-time clock function are achieved. supply.
Patent Information
- Application Number
- CN202411268694.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-01-03
AI Technical Summary
The existing automated control systems cannot accurately record processing time parameters at lower costs, resulting in unmet market demand.
Design a control system, including a computer subsystem and a processing system. The computer subsystem obtains local time and communicates with the processing system. The clock subsystem can automatically run, record and transmit local time to the processing system, ensuring the The time record is accurate.
It realizes recording accurate processing time parameters at low cost, improves the cost-effectiveness of the control system, saves production costs, and provides real-time clock function, without the need for expensive upgrades or replacements of the hardware.
Smart Images

Figure CN119247867A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of automation control technology, and more specifically, to a control system, a processing device and a control method. Background Art
[0002] In the field of automation control and intelligent manufacturing, PLC (Programmable Logic Controller) is one of the most important control roles. It often serves as the control center of automation equipment, controlling the orderly and efficient operation of the equipment. At the same time, the market often requires automation equipment to have data recording functions, and the recorded data also needs to record the corresponding time parameters.
[0003] The automatic control system disclosed in the related art cannot meet the market demand for the function of recording accurate processing time parameters at a low cost due to unreasonable settings. Summary of the invention
[0004] The present application provides a control system that can meet the market demand for the function of recording accurate processing time parameters at a relatively low cost.
[0005] The technical solution adopted in the present application is: to provide a control system, including a computer subsystem and a processing system, the computer subsystem can obtain local time; the processing system is used to control the processing mechanism to execute the processing process, the computer subsystem and the processing system can be communicatively connected, and the processing system has a clock subsystem that can enter time parameters; when the computer subsystem is communicatively connected to the processing system, the clock subsystem can enter the local time obtained by the computer subsystem.
[0006] Furthermore, the clock subsystem can automatically time the operation; the clock subsystem enters the local time obtained by the computer subsystem, and can automatically time the operation with the local time as the starting time.
[0007] Furthermore, the processing system also has a switch subsystem, and the computer subsystem can control the switch subsystem to be turned on or off accordingly; when the computer subsystem and the processing system are in a communication connection state: when the computer subsystem controls the switch subsystem to be in an on state, the clock subsystem enters the local time obtained by the computer subsystem; when the computer subsystem controls the switch subsystem to be in a off state, the clock subsystem stops entering the local time obtained by the computer subsystem, and automatically starts timing with the current local time as the starting time.
[0008] The present application also provides a processing device, which includes a processing mechanism and a control mechanism. The processing mechanism is implanted in a processing system in any of the control systems described above, and the control mechanism is implanted in a computer subsystem in any of the control systems described above. After the processing mechanism and the control mechanism are powered on and turned on, the processing system is in a powered-on and operable state, the computer subsystem is turned on, the computer subsystem obtains the local time, and is communicatively connected with the processing system, and the processing system can receive the local time obtained by the computer subsystem.
[0009] Furthermore, after the computer subsystem is turned on, the computer subsystem can detect whether the processing mechanism and / or the processing system is turned on; if the computer subsystem detects that the processing mechanism and / or the processing system is not turned on, the computer subsystem is automatically turned off.
[0010] Furthermore, after the processing system receives the local time obtained by the computer subsystem, if the communication connection between the computer subsystem and the processing system is interrupted, and / or the communication connection between the control mechanism and the processing mechanism is interrupted, the processing system automatically starts timing with the current local time as the starting time.
[0011] Furthermore, after the processing system and / or the processing mechanism is powered off or shut down, the processing system is restored to a factory preset time.
[0012] The present application also provides a control method for controlling any of the control systems described above and any of the processing devices described above, comprising the steps of:
[0013] Start the processing system;
[0014] Turn on the computer subsystem and connect it to the processing system;
[0015] The computer subsystem obtains the local time and transmits it to the processing system.
[0016] Furthermore, the “starting the computer subsystem and communicating with the processing system” includes the steps of:
[0017] Turn on the computer subsystem;
[0018] The computer subsystem detects whether the processing system is turned on;
[0019] If it is turned on, the computer subsystem controls the processing system to prohibit receiving the time obtained by the computer subsystem;
[0020] The “computer subsystem obtains local time and transmits it to the processing system” includes the following steps:
[0021] The computer subsystem obtains the local time;
[0022] The computer subsystem controls the processing system to start receiving the local time transmitted by the computer subsystem;
[0023] If it is not turned on, the computer subsystem is automatically shut down.
[0024] Furthermore, the control method further comprises the steps of:
[0025] determining whether the processing system has received the local time transmitted by the computer subsystem;
[0026] If it has been received, the computer subsystem controls the processing system to interrupt the time for continuing to receive the transmission of the computer subsystem;
[0027] The processing system automatically starts running with the received current local time as the starting time.
[0028] In the control system provided by the present application, the processing system is used to control the automatic operation of the equipment and execute the processing technology, and the computer subsystem can be understood as software that can control the processing system. The computer subsystem of the present application can obtain the current local time, and after the computer subsystem is communicatively connected to the processing system, the computer subsystem can transmit the obtained local time to the clock subsystem of the processing system, so that the processing system can obtain the local time. In this way, during the subsequent operation of the processing system, each step of the processing technology can record the corresponding accurate time.
[0029] Among them, compared with a control system disclosed in the related art, in which the processing system has its own clock system for independently obtaining local time and a setting scheme for the corresponding power supply system, the computer subsystem of the processing system of the present application adopts a setting scheme for receiving time from the computer subsystem, and no matter which scheme is adopted, the processing system needs to be communicated with the computer subsystem. At the same time, the computer subsystem should obtain the local time. Therefore, the processing system of the present application can save the production cost of the control system.
[0030] Furthermore, the related art also discloses another control system, in which the processing system does not have a setting scheme for the clock function, that is, the scheme cannot realize the recording of the corresponding time parameters in the process of executing the process, because the data without time in the recorded processing data is often meaningless. Therefore, although the production cost of the control system is half of the setting scheme of the clock system with independent acquisition of local time and the corresponding power supply system of the above-mentioned processing system, it cannot meet the general needs of the market, and thus has a small scope of application. Compared with this scheme, the present application sets a clock subsystem for the processing system in the control system, and sets the clock subsystem to receive the local time parameters transmitted by the computer subsystem. Such a setting has both low cost and the function of recording time parameters, which improves the cost performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0032] Figure 1 A schematic block diagram of a control system provided in an embodiment of the present application;
[0033] Figure 2 A schematic block diagram of the structure of a processing device provided in an embodiment of the present application;
[0034] Figure 3 A flow chart of a control method for a control system or a processing device provided in an embodiment of the present application;
[0035] Figure 4 for Figure 3 Flowchart: Further detailed control method flow chart;
[0036] Figure 5 A more specific control method flow chart provided for an embodiment of the present application.
[0037] Among them, the reference numerals in the figure are:
[0038] 10. Control system; 11. Computer subsystem; 12. Processing system; 121. Clock subsystem; 122. Switch subsystem; 20. Processing device; 21. Processing mechanism; 22. Control mechanism. DETAILED DESCRIPTION
[0039] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0040] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
[0041] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0042] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0043] In the field of automation control and intelligent manufacturing, PLC (Programmable Logic Controller) is one of the most important control roles. It can also be understood as a processing system. It often serves as the control center of the automated processing mechanism, controlling the orderly and efficient operation of the processing mechanism. At the same time, the processing mechanism often needs data recording function. The recording of data often appears at the same time as time. Data without time is meaningless. The current time-related control is based on the real-time clock function. The current PLC with real-time clock function is a high-performance PLC. It has a special circuit and power supply system inside to ensure the accuracy and real-time nature of the time, and provide accurate time guarantee for data recording, time functions, etc.
[0044] However, since high-performance PLCs are often accompanied by redundant or even superfluous functions, many of their functions are not used in actual use, but the corresponding manufacturers have to bear the high costs brought by the redundant functions. As a result, economical PLCs that have cut off some infrequently used functions from high-performance PLCs have appeared on the market. Their prices can be reduced by almost 50%, and they are very popular in the market. For example, the Inovance H3S on the market is an economical PLC developed on the basis of the high-performance H3U by cutting off many infrequently used functions. However, due to technical relevance, its important real-time clock function has also been cut off. When data recording or clock functions are needed, they will not be applicable. In this case, either choose not to use the data recording or clock functions, or replace them with expensive high-performance PLCs. If you choose not to use the data recording or clock functions, then in actual production, you will not be able to accurately trace the product production parameters, which will have a great impact on quality control and other aspects.
[0045] See also Figure 1, the control system 10 provided in the embodiment of the present application is now described. The control system 10 provided in the embodiment of the present application includes a computer subsystem 11 and a processing system 12, the computer subsystem 11 can obtain local time; the processing system 12 is used to control the processing mechanism 21 to perform the processing process, the computer subsystem 11 and the processing system 12 can be connected in communication, and the processing system 12 has a clock subsystem 121 that can input time parameters; when the computer subsystem 11 and the processing system 12 are connected in communication, the clock subsystem 121 can input the local time obtained by the computer subsystem 11.
[0046] In the control system 10 provided in the embodiment of the present application, the processing system 12 is used to control the automatic operation of the equipment and execute the processing technology, and the computer subsystem 11 can be understood as software that can control the processing system 12. The computer subsystem 11 in the embodiment of the present application is set to be able to obtain the current local time after being turned on, and after the computer subsystem 11 and the processing system 12 are communicatively connected, the computer subsystem 11 can transmit the obtained local time to the clock subsystem 121 of the processing system 12, so that the processing system 12 obtains the local time. In this way, during the subsequent operation of the processing system 12, each step of the processing technology can record the corresponding accurate time.
[0047] Among them, compared with a control system 10 disclosed in the related technology, in which the processing system 12 has its own clock system for independently obtaining local time and a setting scheme of the corresponding power supply system, the computer subsystem 11 of the processing system 12 of the embodiment of the present application adopts a setting scheme of receiving time from the computer subsystem 11, and no matter which scheme is adopted, the processing system 12 needs to be communicated with the computer subsystem 11. At the same time, the computer subsystem 11 should obtain the local time. Therefore, the processing system 12 of the embodiment of the present application can save the production cost of the control system 10.
[0048] Furthermore, the related art also discloses another control system 10, in which the processing system 12 does not have a setting scheme for the clock function, that is, the scheme cannot realize the recording of the corresponding time parameters in the process of executing the process, because the data without time in the recorded processing data is often meaningless. Therefore, although the production cost of the control system 10 is half of the setting scheme of the clock system for independently obtaining the local time and the corresponding power supply system of the above-mentioned processing system 12, it cannot meet the general needs of the market, and thus has a small scope of application. Compared with this scheme, the embodiment of the present application sets a clock subsystem 121 for the processing system 12 in the control system 10, and sets the clock subsystem 121 to receive the local time parameters transmitted by the computer subsystem 11. Such a setting has both low cost and the function of recording time parameters, which improves the cost performance.
[0049] At the same time, the control system 10 of the embodiment of the present application also has the advantage that it can provide a real-time clock function for the processing system 12 in an economical and efficient manner without the need for expensive upgrades or replacements of the hardware of the processing system 12. With the assistance of the computer subsystem 11, the processing system 12 can achieve precise time control, which is critical for many industrial automation applications. In addition, the control system 10 of the embodiment of the present application also improves the flexibility and scalability of the processing system 12, because it allows the processing system 12 to be timed at different time points to adapt to different production needs and workflows.
[0050] It should be noted that the processing system 12 of the control system 10 of the present application is a PLC. The PLC of the present application can be understood as adding a clock subsystem 121 with a clock function on the basis of the above-mentioned economical PLC. The clock subsystem 121 includes but is not limited to variables such as year, month, day, hour, minute, second, week, etc. After receiving the time transmitted by the computer subsystem 11, the clock subsystem 121 corresponds the time to the relevant variables. The clock subsystem 121 can be a clock program that meets the embodiment of the present application in the register in which the economical PLC processing program is entered; or it can be a register for writing the clock program separately, and then the register is connected to the register in which the economical PLC processing program is entered for communication. The embodiment of the present application takes the former as an example; as for the specific writing method of the clock program that meets the embodiment of the present application, it is not limited, and for those skilled in the art, it can be made according to the above definition.
[0051] In addition, the computer subsystem 11 in the embodiment of the present application can be understood as software loaded on an industrial computer, and the industrial computer can be understood as a hardware control mechanism 22 with a display screen. The control software of the above-mentioned economical PLC can be called an economical computer subsystem 11. The computer subsystem 11 in the embodiment of the present application can also be understood as adding a function that can transmit the acquired local time to the clock subsystem 121 on the basis of the economical computer subsystem 11. The control program corresponding to this function can be incorporated into the program of the computer subsystem 11 or as a plug-in; the embodiment of the present application takes the former as an example, and the specific writing method of the control program that meets the embodiment of the present application is not limited. For technical personnel in this field, it can be made according to the above-mentioned limitations.
[0052] As for the computer subsystem 11 obtaining the local time from the industrial computer, it can be understood as a conventional setting in this field. It is also a conventional setting that the industrial computer can automatically obtain the local time after it is turned on.
[0053] It should also be noted that in the embodiment of the present application, the computer subsystem 11 can obtain the local time automatically or through control, and the method is not limited; and the transmission time between the clock subsystem 121 of the computer subsystem 11 and the processing system 12 can be automatically executed after the computer subsystem 11 and the processing system 12 are communicatively connected, or it can be executed through control.
[0054] Furthermore, the clock subsystem 121 of the above embodiment can automatically time the operation; the clock subsystem 121 enters the local time obtained by the computer subsystem 11, and can automatically time the operation with the local time as the starting time.
[0055] It can be understood that the clock subsystem 121 of the embodiment of the present application has an automatic timing function, that is, after the clock subsystem 121 receives the local time transmitted by the computer subsystem 11, if the computer subsystem 11 is disconnected from the processing system 12, the clock subsystem 121 will automatically start timing with the received local time as the starting time, that is, it can still operate normally in an offline state, so as to avoid interrupting the computer subsystem 11 and affecting the normal operation of the processing system 12, which is more in line with actual use needs. Of course, if the computer subsystem 11 and the processing system 12 are always in a communication connection state, the clock subsystem 121 can always receive the local time transmitted by the computer subsystem 11.
[0056] Furthermore, the clock subsystem 121 in the embodiment of the present application takes the initial state being at the factory preset time as an example, that is, after the clock subsystem 121 is powered off or shut down, it is restored to the factory preset time. When the clock subsystem 121 is powered on and before receiving the transmission time of the computer subsystem 11, the clock subsystem 121 automatically starts timing with the factory preset time as the starting time until it is replaced by the transmission time received from the computer subsystem 11.
[0057] Furthermore, the processing system 12 of the above embodiment also has a switch subsystem 122, and the computer subsystem 11 can control the switch subsystem 122 to be turned on or off accordingly; when the computer subsystem 11 and the processing system 12 are in a communication connection state: when the computer subsystem 11 controls the switch subsystem 122 to be in an on state, the clock subsystem 121 enters the local time obtained by the computer subsystem 11; when the computer subsystem 11 controls the switch subsystem 122 to be in an off state, the clock subsystem 121 stops entering the local time obtained by the computer subsystem 11, and automatically starts timing with the current local time as the starting time.
[0058] The switch subsystem 122 in the embodiment of the present application can be a separately set module, such as a relay, and serve as a communication connection medium between the computer subsystem 11 and the clock subsystem 121; it can also be a switch program programmed into the processing system 12, that is, the computer subsystem 11 controls the switch state of the switch subsystem 122 to correspondingly control the on and off of the communication connection with the clock subsystem 121; or the computer subsystem 11 controls the switch state of the switch subsystem 122 to correspondingly control the on and off of the communication connection with the processing system 12, and when the computer subsystem 11 is communicatively connected to the processing system 12, it is also communicatively connected to the clock subsystem 121.
[0059] In the embodiment of the present application, after both the computer subsystem 11 and the processing system 12 are powered on, turning on the computer subsystem 11 automatically communicates with the processing system 12 as an example, and the on and off of the communication connection between the computer subsystem 11 and the clock subsystem 121 is achieved by the computer subsystem 11 controlling the switch subsystem 122 as an example.
[0060] When the computer subsystem 11 controls the switch subsystem 122 to be in the on state, the computer subsystem 11 is connected to the clock subsystem 121 for communication, and the local time is transmitted to the clock subsystem 121 at the same time. The time of the clock subsystem 121 is synchronized with the local time in real time. In this state, the real-time synchronization effect can be achieved by the computer subsystem 11 transmitting the local time in real time, or by the automatic timing setting of the clock subsystem 121.
[0061] When the computer subsystem 11 controls the switch subsystem 122 to be in the off state, the communication connection between the computer subsystem 11 and the clock subsystem 121 is disconnected, the clock subsystem 121 stops recording the local time transmitted by the computer subsystem 11, and automatically starts timing with the current local time as the starting time. In this state, the time of the clock subsystem 121 can still be synchronized with the local time in real time.
[0062] See also Figure 1 and Figure 2 It should be noted that the control system 10 of the embodiment of the present application can have various settings according to different processing needs when used in actual equipment. The embodiment of the present application takes a processing device 20 as an example. The processing device 20 includes a processing mechanism 21 and a control mechanism 22, wherein the processing mechanism 21 is implanted in the processing system 12 of the control system 10 in any of the above embodiments, and the control mechanism 22 is implanted in the computer subsystem 11 of the control system 10 in any of the above embodiments.
[0063] After the processing mechanism 21 and the control mechanism 22 are powered on and turned on, the processing system 12 is powered on and can be operated, the computer subsystem 11 is turned on, the computer subsystem 11 obtains the local time, and communicates with the processing system 12, and the clock subsystem 121 in the processing system 12 can receive the local time obtained by the computer subsystem 11. The processing mechanism 21 can be understood as a processing machine, the control mechanism 22 can be understood as a computer with a display screen, etc., the computer subsystem 11 can be understood as software implanted in the computer, and the processing system 12 can be understood as a PLC system of the processing machine. Using the software on the computer to control the PLC system so that the processing machine performs the processing process according to the PLC system is a conventional setting in the field of automation control, which will not be elaborated here.
[0064] At the same time, the processing device 20 of the embodiment of the present application has the beneficial effects brought by the control system 10 in any of the above embodiments because it is implanted with the control system 10 in any of the above embodiments, which will not be repeated here.
[0065] Furthermore, in the processing device 20 of the above embodiment, after the computer subsystem 11 is turned on, the computer subsystem 11 can detect whether the processing mechanism 21 and / or the processing system 12 are turned on; if the computer subsystem 11 detects that the processing mechanism 21 and / or the processing system 12 are not turned on, the computer subsystem 11 is automatically turned off.
[0066] That is, the computer subsystem 11 of the embodiment of the present application is configured to detect whether at least one of the processing mechanism 21 and the processing system 12 is in the on state. It can be understood that in actual use, the processing system 12 and the processing mechanism 21 must both be turned on to operate, so the computer subsystem 11 only needs to detect whether at least one of the two is turned on. If one of them is not turned on, then it has no practical significance, and the computer subsystem 11 has no practical effect in the future. Therefore, when the computer subsystem 11 detects that the processing mechanism 21 and / or the processing system 12 are not turned on, the computer subsystem 11 is automatically shut down, which can also serve as feedback to let the staff know that the processing mechanism 21 and the processing system 12 are not fully turned on. In general, when the processing mechanism 21 is powered on, the processing system 12 is also powered on synchronously and turned on. The processing mechanism 21 and the processing system 12 of the embodiment of the present application are also taken as an example.
[0067] See also Figure 3 Furthermore, the embodiment of the present application also provides a control system as described in any of the above embodiments and a control method for controlling the processing device as described in any of the above embodiments, comprising the steps of:
[0068] S1, start the processing system;
[0069] S2, start the computer subsystem and connect it to the processing system;
[0070] S3. The computer subsystem obtains the local time and transmits it to the processing system.
[0071] Among them, step S1 and step S2 can be executed at the same time, that is, the computer subsystem and the processing system are turned on at the same time. After the computer subsystem and the processing system are turned on at the same time, they can be set to automatic communication connection or manual communication connection. The embodiment of the present application takes the automatic communication connection after the computer subsystem and the processing system are turned on at the same time as an example. The computer subsystem can also automatically obtain the local time when the computer subsystem is turned on, and then automatically transmit it to the clock subsystem of the processing system. In this way, in actual use, it is only necessary to complete the operation of turning on the processing system and the computer subsystem successively or simultaneously to automatically complete the timing of the processing system.
[0072] See also Figure 4 , wherein step S2 comprises the steps of:
[0073] S21, start the computer subsystem;
[0074] S22, the computer subsystem detects whether the processing system is turned on;
[0075] S23, if it is turned on, the computer subsystem controls the processing system to prohibit receiving the time obtained by the computer subsystem;
[0076] S24. If it is not turned on, the computer subsystem will be automatically shut down.
[0077] Step S3 includes the steps of:
[0078] S31, the computer subsystem obtains the local time;
[0079] S32. The computer subsystem controls the processing system to start receiving the local time transmitted by the computer subsystem.
[0080] Therefore, the control method of the embodiment of the present application includes the steps of:
[0081] S1, start the processing system;
[0082] S21, start the computer subsystem;
[0083] S22, the computer subsystem detects whether the processing system is turned on;
[0084] S23, if it is turned on, the computer subsystem controls the processing system to prohibit receiving the time obtained by the computer subsystem;
[0085] S31, the computer subsystem obtains the local time;
[0086] S32, the computer subsystem controls the processing system to start receiving the local time transmitted by the computer subsystem;
[0087] S24. If it is not turned on, the computer subsystem will be automatically shut down.
[0088] When the computer subsystem detects that the processing system is turned on, the computer subsystem first sends a control instruction to the processing system to temporarily prohibit the processing system from receiving the local time inside the computer subsystem, so that the computer subsystem can first obtain the local time from the industrial computer. Since the time needs to be calibrated when the computer subsystem is just turned on, it is necessary to prepare for the next step of transmitting the accurate local time to the processing system; after the computer subsystem obtains the local time, it sends a control instruction to the processing system to enable the processing system to start receiving the local time inside the computer subsystem.
[0089] If the computer subsystem detects that the processing system is not turned on, the computer subsystem will automatically shut down. The reason for this setting is as mentioned above and will not be repeated. Then check the processing system to ensure that it is turned on and restart the computer subsystem.
[0090] See also Figure 5 Furthermore, the control method of the above embodiment also includes the steps of:
[0091] S4, determining whether the processing system has received the local time transmitted by the computer subsystem;
[0092] S5. If received, the computer subsystem controls the processing system to interrupt the time for continuing to receive the transmission of the computer subsystem;
[0093] S6. The processing system automatically starts timing operation with the received current local time as the starting time.
[0094] In the embodiment of the present application, the computer subsystem, the operator, the processing system, etc. can be executed to perform the judgment step of "judging whether the processing system has received the local time transmitted by the computer subsystem". Any of them can be performed as long as they can judge whether the processing system has received the local time transmitted by the computer subsystem. If it is judged that the processing system has received the local time transmitted by the computer subsystem, the embodiment of the present application will make the computer subsystem control the processing system to interrupt the time of continuing to receive the transmission of the computer subsystem, so that the processing system automatically counts and runs with the received current local time as the starting time, thus realizing offline operation. Of course, if it is judged that the processing system has received the local time transmitted by the computer subsystem, if the processing system still has other requirements for the computer subsystem, it can also choose not to interrupt the communication connection between the two. The embodiment of the present application is only for the condition of timing, which helps to reduce the dependence of the processing system on the computer subsystem, thereby saving costs. Of course, if it is judged that the processing system has not received the local time transmitted by the computer subsystem, step S3 can be repeated. If the processing system still has not received the local time transmitted by the computer subsystem, a pause check can be performed.
[0095] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A control system, characterized in that: include: A computer subsystem capable of obtaining a local time; as well as A processing system, wherein the processing system is used to control a processing mechanism to execute a processing process, the computer subsystem is communicatively connected with the processing system, and the processing system has a clock subsystem capable of inputting time parameters; When the computer subsystem is in communication connection with the processing system, the clock subsystem may input the local time acquired by the computer subsystem.
2. The control system according to claim 1, characterized in that: The clock subsystem can automatically time the operation; The clock subsystem records the local time acquired by the computer subsystem, and can automatically time and run with the local time as the starting time.
3. The control system according to claim 2, characterized in that: The processing system also has a switch subsystem, and the computer subsystem can control the switch subsystem to turn on or off accordingly; When the computer subsystem is in communication connection with the processing system: When the computer subsystem controls the switch subsystem to be in an on state, the clock subsystem records the local time acquired by the computer subsystem; When the computer subsystem controls the switch subsystem to be in the off state, the clock subsystem stops recording the local time acquired by the computer subsystem, and automatically starts timing with the current local time as the starting time.
4. A processing device, characterized in that: The processing device comprises a processing mechanism and a control mechanism, wherein the processing mechanism is implanted in the processing system of the control system as claimed in any one of claims 1 to 3, and the control mechanism is implanted in the computer subsystem of the control system as claimed in any one of claims 1 to 3; After the processing mechanism and the control mechanism are powered on and turned on, the processing system is in a powered-on and operable state, the computer subsystem is turned on, the computer subsystem obtains the local time, and is communicatively connected with the processing system, and the processing system can receive the local time obtained by the computer subsystem.
5. The processing device according to claim 4, characterized in that: After the computer subsystem is turned on, the computer subsystem can detect whether the processing mechanism and / or the processing system is turned on; If the computer subsystem detects that the processing mechanism and / or the processing system is not turned on, the computer subsystem is automatically turned off.
6. The processing device according to claim 4, characterized in that: After the processing system receives the local time obtained by the computer subsystem, if the communication connection between the computer subsystem and the processing system is interrupted, and / or the communication connection between the control mechanism and the processing mechanism is interrupted, the processing system automatically starts timing with the current local time as the starting time.
7. The processing device according to claim 4, characterized in that: After the processing system and / or the processing mechanism is powered off or shut down, the processing system is restored to the factory preset time.
8. A control method for controlling the control system according to any one of claims 1 to 3 and the processing device according to any one of claims 4 to 7, characterized in that: Includes steps: Start the processing system; Turn on the computer subsystem and connect it to the processing system; The computer subsystem obtains the local time and transmits it to the processing system.
9. The control method according to claim 8, characterized in that: The "starting the computer subsystem and communicating with the processing system" includes the following steps: Turn on the computer subsystem; The computer subsystem detects whether the processing system is turned on; If it is turned on, the computer subsystem controls the processing system to prohibit receiving the time obtained by the computer subsystem; The "computer subsystem obtains local time and transmits it to the processing system" includes the following steps: The computer subsystem obtains the local time; The computer subsystem controls the processing system to start receiving the local time transmitted by the computer subsystem; If it is not turned on, the computer subsystem is automatically shut down.
10. The control method according to any one of claims 8 to 10, characterized in that: Also includes the steps: determining whether the processing system has received the local time transmitted by the computer subsystem; If it has been received, the computer subsystem controls the processing system to interrupt the time for continuing to receive the transmission of the computer subsystem; The processing system automatically starts running with the received current local time as the starting time.
Citation Information
Patent Citations
System and method of synchronizing time between multiple systems
CN104426648A
Cigarette production line PLC clock synchronizer and Siemens Wincc industrial control PLC clock synchronizer
CN106094766A
Information acquisition method, device and system
CN110286637A
Communication system, communication device and communication method
CN111052669A
5G system and EtherNet / IP equipment time synchronization method and device
CN118612836A
