A self-testing module and method based on a DCS control system
By introducing a self-test module into the DCS control system, the judgment and monitoring of self-test conditions are simplified, the problem of excessively large and cumbersome program code is solved, and a concise program structure and convenient operation interface are achieved.
Patent Information
- Application Number
- CN202211462924.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-21
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2042-11-21
AI Technical Summary
In existing technologies, multiple self-check conditions in DCS control systems are written into the sequential control main program, resulting in excessively large and cumbersome program code, increasing the difficulty of writing and maintaining the code, and making it difficult for operators to use.
A self-test module is adopted, including a self-test unit, a status unit, a self-test shielding unit, and a self-test output unit. It performs self-test judgment through multiple self-test condition judgment interfaces and provides modular self-test condition monitoring and control, reducing the amount of main program code and simplifying the program structure.
The modular self-test module simplifies the programming and maintenance process, reduces system resource consumption, standardizes panel development, and improves the ease of use for operators.
Smart Images

Figure CN116224920B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automation technology, and in particular to a self-testing module and method based on a DCS control system. Background Technology
[0002] Sequential control in a DCS control system is a commonly used control program. The program execution process involves continuously judging instrument conditions such as liquid level or temperature, or timing conditions, and executing the opening and closing actions of corresponding valves and motors in a certain sequence.
[0003] Typically, before a sequential control program transitions from the preparation phase to the execution phase, additional conditional checks are added as constraints on its execution. This prevents damage to production equipment or other avoidable accidents from occurring if certain conditions are not met before the sequential control program is executed. These conditions are the self-checking conditions of the sequential control. For example, in chemical production processes, reaction vessels typically have inlet and outlet valves. Before a reaction vessel's feeding procedure begins, it must ensure that the bottom outlet valve is closed. If not closed, the feed liquid will leak through the outlet valve while being added to the reaction vessel. Therefore, determining the closure status of the outlet valve becomes a self-checking condition for the reaction vessel feeding procedure (the valve's open / closed state is connected to the DCS control system via a signal cable).
[0004] The sequential control program described earlier consists of multiple actions rather than a single action, and its self-check conditions may be one or more depending on the actual situation. If there are multiple self-check conditions, writing all the self-check judgments into the main sequential control program would make the code excessively large and cumbersome. This would create burdens and difficulties for relevant personnel both during program development and later maintenance.
[0005] Furthermore, self-check conditions are not merely a basic program element; corresponding panels are also needed to assist operators in monitoring and performing operations. Without suitable modular tools, panel development becomes neither user-friendly nor standardized, further impacting operator usability. Summary of the Invention
[0006] (a) Technical problems to be solved
[0007] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a self-test module and method based on a DCS control system. This solves the problem that in the prior art, when there are multiple self-test conditions, writing all the self-test condition judgments into the sequential control main program results in excessively large and cumbersome program code. This creates a burden and inconvenience for relevant personnel both during program writing and subsequent maintenance.
[0008] (II) Technical Solution
[0009] To achieve the above objectives, the main technical solutions adopted by the present invention include:
[0010] In a first aspect, embodiments of the present invention provide a self-test module based on a DCS control system, the module being connected to an interface exchanged with a downstream sequential control main program, the self-test module comprising:
[0011] The self-test unit includes multiple self-test condition judgment interfaces. After receiving an external self-test condition program, each self-test condition judgment interface performs a self-test judgment according to the self-test condition program and obtains the judgment result of each self-test condition judgment interface.
[0012] The self-test unit outputs the final judgment result based on the judgment results of all self-test condition judgment interfaces; the final judgment result includes: a first symbol indicating that all judgment results meet the self-test condition program or a second symbol indicating that at least one judgment result does not meet the self-test condition program.
[0013] The status unit is used to obtain the current status of the downstream sequential control main program and send the current status of the downstream sequential control main program to the self-test shielding unit.
[0014] The self-test masking unit is used to receive user instructions to mask the final judgment result of the self-test unit and send the masked final judgment result to the self-test output unit; it is also used to perform masking reset processing on the final judgment result of the self-test unit according to the current state of the downstream sequential control main program, and send the masked reset final judgment result to the self-test output unit.
[0015] The self-test output unit is used to output the final judgment result after the shielding process or the final judgment result after the shielding reset process to the downstream sequential control main program exchange interface.
[0016] Preferably, the self-test module further includes:
[0017] The status display unit is used to obtain the judgment result of each self-test condition judgment interface and display different colors to indicate whether the judgment result of the self-test condition judgment interface meets the self-test condition program.
[0018] Preferably,
[0019] When no external self-test condition program is received, the self-test condition judgment interface defaults to the judgment result of satisfying the external self-test condition program.
[0020] Preferably,
[0021] The current status of the sequential control main program includes: running, holding, abandoned, completed, and stopped.
[0022] Preferably,
[0023] The self-test shielding unit performs a shielding reset process on the final judgment result of the self-test unit based on the current state of the downstream sequential control main program, specifically including:
[0024] When the current state of the sequential control main program is abandoned, completed, or stopped, the self-test shielding unit performs a shielding reset process on the final judgment result of the self-test unit.
[0025] Preferably,
[0026] Self-test shielding unit, including self-test shielding button;
[0027] The self-test shield button is connected to the final judgment result of the self-test unit via an OR logic connection;
[0028] The self-test shielding unit has its self-test shielding button set to off by default in the initial state.
[0029] After receiving a user command, the self-test shielding unit opens its self-test shielding button to shield the final judgment result of the self-testing unit.
[0030] The shielding process involves shielding the final judgment result of the self-test unit and outputting the first symbol that meets the self-test conditions.
[0031] Preferably, when the current state of the sequential control main program is abandoned, completed, or stopped, the self-test masking unit performs a masking reset process on the final judgment result of the self-test unit, specifically including:
[0032] The self-test shielding unit turns off the shielding button when the current state of the sequential control main program is abandoned, completed, or stopped, so as to shield and reset the self-test condition judgment result.
[0033] The shielding reset process means not shielding the final judgment result of the self-test unit, but directly outputting the final judgment result of the self-test unit.
[0034] Preferably,
[0035] The status display unit is also used to display information indicating that the shielding button is open when the shielding button of the self-test shielding unit is turned on.
[0036] Preferably,
[0037] The self-test unit has 8 self-test condition judgment interfaces.
[0038] On the other hand, this embodiment also provides a self-test condition processing method based on a DCS control system, which is executed by the self-test module based on the DCS control system described above.
[0039] (III) Beneficial Effects
[0040] The beneficial effects of this invention are as follows: The self-testing module and method based on a DCS control system of this invention employs a self-testing unit, which includes multiple self-testing condition judgment interfaces. Each self-testing condition judgment interface, upon receiving an external self-testing condition program, performs a self-test judgment according to the program and obtains the judgment result of each interface. The self-testing unit outputs a final judgment result based on the judgment results of all self-testing condition judgment interfaces. The final judgment result includes: a first symbol indicating that all judgment results conform to the self-testing condition program, or a second symbol indicating that at least one judgment result does not conform to the program; status sheet. The system comprises a self-test unit, which is used to obtain the current status of the downstream sequential control main program and send it to the self-test masking unit. The self-test masking unit receives user instructions to mask the final judgment result of the self-test unit and sends the masked final judgment result to the self-test output unit. It also performs masking and resetting processing on the final judgment result of the self-test unit based on the current status of the downstream sequential control main program, obtaining a masked and reset final judgment result and sending it to the self-test output unit. The self-test output unit outputs the masked final judgment result or the masked and reset final judgment result to the downstream sequential control main program's exchange interface. This invention provides a self-test unit with a self-testing interface tool in a modular manner, providing auxiliary self-testing multi-condition program judgment and masking for the sequential control main program, and providing multiple interfaces for multi-condition connection. This reduces the amount of code in the main program and saves system resources, making program writing simpler and the internal program structure clearer. Simultaneously, a corresponding operation panel is encapsulated within the module for self-testing condition monitoring and control, standardizing panel development and facilitating operator use. Attached Figure Description
[0041] Figure 1 This is a schematic diagram of a self-test module structure based on a DCS control system according to the present invention;
[0042] Figure 2 This is a schematic diagram of a self-test module structure based on a DCS control system in an embodiment of the present invention;
[0043] Figure 3 This is an algorithm logic block diagram of the self-test unit and the self-test shielding unit in the embodiments of the present invention;
[0044] Figure 4This is a schematic diagram of parameters in a self-test module of a DCS control system according to Embodiment 2 of the present invention;
[0045] Figure 5 This is a flow chart of the feeding process in Embodiment 2 of the present invention;
[0046] Figure 6 This is a basic flowchart of the feeding procedure in Embodiment 2 of the present invention;
[0047] Figure 7 This is a schematic diagram of the operation panel in Embodiment 2 of the present invention. Detailed Implementation
[0048] To better explain and facilitate understanding of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0049] To better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present invention can be understood more clearly and thoroughly, and that the scope of the present invention can be fully conveyed to those skilled in the art.
[0050] Example 1
[0051] See Figure 1 This embodiment provides a self-test module based on a DCS control system. The module is connected to the downstream sequential control main program exchange interface. The self-test module includes:
[0052] The self-test unit includes multiple self-test condition judgment interfaces. After receiving an external self-test condition program, each self-test condition judgment interface performs a self-test judgment according to the self-test condition program and obtains the judgment result of each self-test condition judgment interface.
[0053] The self-test unit outputs the final judgment result based on the judgment results of all self-test condition judgment interfaces; the final judgment result includes: a first symbol indicating that all judgment results meet the self-test condition program or a second symbol indicating that at least one judgment result does not meet the self-test condition program.
[0054] The status unit is used to obtain the current status of the downstream sequential control main program and send the current status of the downstream sequential control main program to the self-test shielding unit.
[0055] The self-test masking unit is used to receive user instructions to mask the final judgment result of the self-test unit and send the masked final judgment result to the self-test output unit; it is also used to perform masking reset processing on the final judgment result of the self-test unit according to the current state of the downstream sequential control main program, and send the masked reset final judgment result to the self-test output unit.
[0056] The self-test output unit is used to output the final judgment result after the shielding process or the final judgment result after the shielding reset process to the downstream sequential control main program exchange interface.
[0057] See Figure 2 The self-test module in this embodiment also includes a status display unit, which is used to obtain the judgment result of each self-test condition judgment interface and display different colors to indicate whether the judgment result of the self-test condition judgment interface meets the self-test condition program.
[0058] In the practical application of the embodiment, when no external self-test condition program is received, the self-test condition judgment interface defaults to the judgment result of satisfying the external self-test condition program.
[0059] Specifically, the current status of the sequential control main program includes: running, holding, abandoned, completed, and stopped.
[0060] Specifically, the self-test shielding unit performs a shielding reset process on the final judgment result of the self-test unit based on the current state of the downstream sequential control main program, including:
[0061] When the current state of the sequential control main program is abandoned, completed, or stopped, the self-test shielding unit performs a shielding reset process on the final judgment result of the self-test unit.
[0062] In a specific application of the embodiment, the self-test shielding unit includes a self-test shielding button.
[0063] The self-test shield button is connected to the final judgment result of the self-test unit via an OR logic connection.
[0064] The self-test shielding unit has its self-test shielding button set to off by default in the initial state.
[0065] Upon receiving a user command, the self-test shielding unit activates its self-test shielding button to shield the final judgment result of the self-testing unit.
[0066] The shielding process involves shielding the final judgment result of the self-test unit and outputting the first symbol that meets the self-test conditions.
[0067] Specifically, when the current state of the sequential control main program is abandoned, completed, or stopped, the self-test masking unit performs a masking reset process on the final judgment result of the self-test unit, specifically including:
[0068] The self-test shielding unit turns off the shielding button when the current state of the sequential control main program is abandoned, completed, or stopped, so as to shield and reset the self-test condition judgment result.
[0069] The shielding reset process means not shielding the final judgment result of the self-test unit, but directly outputting the final judgment result of the self-test unit.
[0070] The status display unit is also used to display information indicating that the shielding button is open when the shielding button of the self-test shielding unit is turned on.
[0071] On the other hand, this embodiment also provides a self-test condition processing method based on a DCS control system, which is executed by the self-test module based on the DCS control system described above.
[0072] This invention discloses a self-testing module and method based on a DCS control system. The self-testing unit includes multiple self-testing condition judgment interfaces. Each self-testing condition judgment interface, upon receiving an external self-testing condition program, performs a self-test judgment according to the program and obtains the judgment result of each interface. The self-testing unit outputs a final judgment result based on the judgment results of all self-testing condition judgment interfaces. The final judgment result includes: a first symbol indicating that all judgment results conform to the self-testing condition program, or a second symbol indicating that at least one judgment result does not conform to the program; and a status unit for obtaining... The system retrieves the current state of the downstream sequential control main program and sends it to the self-test masking unit. The self-test masking unit receives user instructions to mask the final judgment result of the self-test unit and sends the masked final judgment result to the self-test output unit. It also performs a mask reset process on the final judgment result of the self-test unit based on the current state of the downstream sequential control main program, obtaining a masked and reset final judgment result which is then sent to the self-test output unit. The self-test output unit outputs either the masked or reset final judgment result to the downstream sequential control main program's exchange interface. This invention provides a modular self-test unit with an interface tool for self-testing conditions, offering auxiliary self-testing multi-condition program judgment and masking for the sequential control main program, and providing multiple interfaces for multi-condition connections. This reduces the amount of code in the main program, saving system resources and making program writing simpler and the internal program structure clearer. Simultaneously, a corresponding operation panel is encapsulated within the module for self-testing condition monitoring and control, standardizing panel development and facilitating operator use.
[0073] Example 2
[0074] See Figure 1 This second embodiment provides a self-test module based on a DCS control system. The module is connected to the downstream sequential control main program exchange interface. The self-test module includes:
[0075] The self-test unit includes multiple self-test condition judgment interfaces. After receiving an external self-test condition program, each self-test condition judgment interface performs a self-test judgment according to the self-test condition program and obtains the judgment result of each self-test condition judgment interface.
[0076] In the practical application of this embodiment, when the self-test condition judgment interface does not receive an external self-test condition program, the judgment result of the self-test condition judgment interface is assumed to meet the external self-test condition program.
[0077] The self-test unit outputs the final judgment result based on the judgment results of all self-test condition judgment interfaces; the final judgment result includes: a first symbol indicating that all judgment results meet the self-test condition program or a second symbol indicating that at least one judgment result does not meet the self-test condition program.
[0078] See Figure 3 The judgment results of all self-test condition judgment interfaces of the self-test unit are connected by AND gate logic. If all the judgment results of all self-test condition judgment interfaces of the self-test unit are satisfied, the AND logic output result is 1 (or ON), which is the first symbol; otherwise, it is 0 (or OFF), which is the second symbol.
[0079] The status unit is used to obtain the current status of the downstream sequential control main program and send the current status of the downstream sequential control main program to the self-test shielding unit.
[0080] The current status of the sequential control main program includes: running, holding, abandoned, completed, and stopped.
[0081] The self-test masking unit is used to receive user instructions to mask the final judgment result of the self-test unit and send the masked final judgment result to the self-test output unit; it is also used to perform masking reset processing on the final judgment result of the self-test unit according to the current state of the downstream sequential control main program, and send the masked reset final judgment result to the self-test output unit.
[0082] See Figure 3 The self-test shielding unit uses OR logic to connect the final judgment result of the self-test unit to the self-test shielding button. Normally, the self-test shielding button is 0 or (OFF). When it is necessary (i.e., when a user command is received) to shield the final judgment result of the self-test unit, the shielding button is set to 1. In this case, under the action of the OR logic, regardless of whether the final judgment result is met, the output of the self-test shielding unit is always 1 (or ON), thus achieving the function of shielding the self-test condition judgment result.
[0083] The self-test output unit is used to output the final judgment result after the masking process or the final judgment result after the masking reset process to the downstream sequential control main program exchange interface. If the sequential control main program obtains the first symbol, it can start executing subsequent program actions normally; if it obtains the second symbol, it will stop at the judgment step and will not proceed to the subsequent program.
[0084] The self-test module also includes:
[0085] See Figure 2 The status display unit is used to obtain the judgment result of each self-test condition judgment interface and display different colors to indicate whether the judgment result of the self-test condition judgment interface meets the self-test condition program.
[0086] For details, see Figure 4 Module parameters (which are the interface between the module and the outside world, and also the resources called by the internal program code) are explained in detail below:
[0087] STA: The downstream sequential control main program exchange interface parameter, used to determine the current execution status of the downstream sequential control main program. Different statuses are represented by integer variables.
[0088] IN1~IN8: These represent the eight self-test condition judgment interfaces in the self-test unit, used to receive external self-test condition programs. This parameter is represented as a Boolean variable (with two states: OFF / ON). The initial value of the parameter is ON, meaning it defaults to the satisfied state when the external self-test condition is empty or not connected to an external self-test condition program.
[0089] HL: Self-test output parameter, which outputs the final judgment result after the shielding process or the final judgment result after the shielding reset process to the downstream sequential control main program. This parameter is represented by a Boolean variable (with two states: OFF / ON).
[0090] FLAG: Status display parameter. Obtains the input results from IN1 to IN8, used to display the status display unit's self-test conditions by changing its color.
[0091] STT: Self-test masking parameter (i.e., self-test masking button). This parameter is represented by a Boolean variable (with two states: OFF / ON). When ON, it can mask the input results of IN1 to IN8.
[0092] By encoding the internal program in the self-test module, the self-test module performs the following steps:
[0093] The AND logic is used to determine whether all the self-test inputs IN1 to IN8 in the self-test unit are satisfied; after receiving the user instruction, the OR logic is used to perform self-test masking. When the STT parameter is ON, the HL output parameter result is ON, regardless of whether all IN1 to IN8 are satisfied.
[0094] The eight parameter states from IN1 to IN8 are packaged and inserted into each bit of the FLAG parameter for result storage and display on the status display unit.
[0095] The status of the downstream sequential control main program is connected to the STA parameter, and the current status of the downstream sequential control main program is obtained by judging the value of the STA parameter. When the sequential control main program is in the abandoned, completed, or stopped state, the STT parameter is set to OFF. This avoids the continuous blocking of the IN1~IN8 self-test condition results when STT is set to ON (the self-test conditions are in a long-term invalid state), and achieves the effect of automatically unblocking the self-test after the downstream sequential control main program completes one run or abandons or stops execution.
[0096] Setting up 8 self-test input parameters is a typical application, but the number of module parameters is not limited to this. When there are too many self-test conditions, the number of parameters IN1 to IN8 can be expanded, and the internal program code can be used for logical judgments and result packaging and storage in the FLAG parameter, etc.
[0097] The self-test shielding unit performs a shielding reset process on the final judgment result of the self-test unit based on the current state of the downstream sequential control main program, specifically including:
[0098] When the current state of the sequential control main program is abandoned, completed, or stopped, the self-test shielding unit performs a shielding reset process on the final judgment result of the self-test unit.
[0099] Self-test shielding unit, including self-test shielding button.
[0100] The self-test shield button is connected to the final judgment result of the self-test unit via an OR logic connection.
[0101] The self-test shielding unit has its self-test shielding button set to off by default in the initial state.
[0102] Upon receiving a user command, the self-test shielding unit activates its self-test shielding button to shield the final judgment result of the self-testing unit.
[0103] The shielding process involves shielding the final judgment result of the self-test unit and outputting the first symbol that meets the self-test conditions.
[0104] When the current state of the sequential control main program is abandoned, completed, or stopped, the self-test masking unit performs a masking reset process on the final judgment result of the self-test unit, specifically including:
[0105] The self-test shielding unit turns off the shielding button when the current state of the sequential control main program is abandoned, completed, or stopped, so as to shield and reset the self-test condition judgment result.
[0106] The shielding reset process means not shielding the final judgment result of the self-test unit, but directly outputting the final judgment result of the self-test unit.
[0107] The status display unit is also used to display information indicating that the shielding button is open when the shielding button of the self-test shielding unit is turned on.
[0108] For example, such as Figure 5The diagram shows a process flow chart for a certain feeding procedure. Materials are stored in inspection tanks A and B, and the feeding procedure selects any inspection tank for discharge. Materials are pumped into the dripping tank from the corresponding discharge valve, feeding pump, and dripping tank inlet valve of the selected inspection tank. The discharge volume is measured by a weighing instrument on the inspection tank, while a corresponding level gauge on the dripping tank displays the real-time liquid level.
[0109] Before a self-test module based on a DCS control system in this embodiment performs a corresponding action, several external self-test condition programs need to be set for additional protection.
[0110] The external self-test procedure is as follows:
[0111] The valves and pumps used are in a fault-free state.
[0112] The drip tank is empty and the liquid level is less than or equal to 0m.
[0113] The weight of container A, which is not empty, is greater than 100 kg.
[0114] The weight of container B, which is not empty, is greater than 100 kg.
[0115] The above self-inspection conditions ensure the device is in usable condition and prevent foreseeable malfunctions. For example, a malfunction in the feeding equipment may prevent normal feeding, or feeding may result in overflow if there is already material in the dripping tank, or insufficient material in the testing tank may cause the feeding pump to run dry and damage the equipment after the feeding program runs. Therefore, the basic operation flowchart of the feeding program is as follows: Figure 6 As shown, the program can only enter the execution phase normally after the external self-check conditions are met. A self-check masking function is also set to allow for skipping the self-check conditions and testing the main feeding program during non-production states, i.e., the debugging phase.
[0116] See Figure 7In this embodiment, a self-test module based on a DCS control system can also be connected to an operation panel. The title bar text on the operation panel can be modified according to the actual scenario, and the title bar is a hidden transparent button. Clicking the button on the title bar enables self-test masking, corresponding to the module parameter STT being set to ON. At this time, the title bar automatically changes color to yellow, indicating to the operator that the self-test conditions have been masked. The lower eight lines of the operation panel are the self-test condition display area, and the text content in this area can be modified according to the actual scenario. This corresponds to module parameters IN1 to IN8; the area can be blank when not all eight conditions are needed. When the used self-test conditions are met, the text automatically changes color to black; otherwise, the text automatically changes color to pink, indicating to the operator that the self-test condition has not been met. This function is implemented by calling the module FLAG parameters and parsing the corresponding values on the operation panel, parsing the IN1 to IN8 results of each bit inserted into the FLAG in the self-test module code program, and performing the color-changing action based on the parsed values.
[0117] This invention discloses a self-testing module and method based on a DCS control system. The self-testing unit includes multiple self-testing condition judgment interfaces. Each self-testing condition judgment interface, upon receiving an external self-testing condition program, performs a self-test judgment according to the program and obtains the judgment result of each interface. The self-testing unit outputs a final judgment result based on the judgment results of all self-testing condition judgment interfaces. The final judgment result includes: a first symbol indicating that all judgment results conform to the self-testing condition program, or a second symbol indicating that at least one judgment result does not conform to the program; and a status unit for obtaining... The system retrieves the current state of the downstream sequential control main program and sends it to the self-test masking unit. The self-test masking unit receives user instructions to mask the final judgment result of the self-test unit and sends the masked final judgment result to the self-test output unit. It also performs a mask reset process on the final judgment result of the self-test unit based on the current state of the downstream sequential control main program, obtaining a masked and reset final judgment result which is then sent to the self-test output unit. The self-test output unit outputs either the masked or reset final judgment result to the downstream sequential control main program's exchange interface. This invention provides a modular self-test unit with an interface tool for self-testing conditions, offering auxiliary self-testing multi-condition program judgment and masking for the sequential control main program, and providing multiple interfaces for multi-condition connections. This reduces the amount of code in the main program, saving system resources and making program writing simpler and the internal program structure clearer. Simultaneously, a corresponding operation panel is encapsulated within the module for self-testing condition monitoring and control, standardizing panel development and facilitating operator use.
[0118] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0119] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions.
[0120] It should be noted that any reference numerals placed between parentheses in the claims should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In claims that enumerate several means, several of these means may be embodied by the same hardware. The use of the terms first, second, third, etc., is merely for convenience of expression and does not indicate any order. These terms can be understood as part of the component names.
[0121] Furthermore, it should be noted that in the description of this specification, the terms "one embodiment," "some embodiments," "embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0122] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the claims should be interpreted to include both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0123] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, then this invention should also include these modifications and variations.
Claims
1. A self-test module based on a DCS control system, characterized in that, The module is connected to the downstream sequential control main program via an exchange interface. The self-test module includes: The self-test unit includes multiple self-test condition judgment interfaces. After receiving an external self-test condition program, each self-test condition judgment interface performs a self-test judgment according to the self-test condition program and obtains the judgment result of each self-test condition judgment interface. The self-test unit outputs the final judgment result based on the judgment results of all self-test condition judgment interfaces; the final judgment result includes: a first symbol indicating that all judgment results meet the self-test condition program or a second symbol indicating that at least one judgment result does not meet the self-test condition program. The status unit is used to obtain the current status of the downstream sequential control main program and send the current status of the downstream sequential control main program to the self-test shielding unit. The self-test masking unit is used to receive user instructions to mask the final judgment result of the self-test unit and send the masked final judgment result to the self-test output unit; it is also used to perform masking reset processing on the final judgment result of the self-test unit according to the current state of the downstream sequential control main program, and send the masked reset final judgment result to the self-test output unit. The self-test output unit is used to output the final judgment result after the shielding process or the final judgment result after the shielding reset process to the downstream sequential control main program exchange interface.
2. The self-test module according to claim 1, characterized in that, include: The status display unit is used to obtain the judgment result of each self-test condition judgment interface and display different colors to indicate whether the judgment result of the self-test condition judgment interface meets the self-test condition program.
3. The self-test module according to claim 2, characterized in that, When no external self-test condition program is received, the self-test condition judgment interface defaults to the judgment result of satisfying the external self-test condition program.
4. The self-test module according to claim 3, characterized in that, The current status of the sequential control main program includes: running, holding, abandoned, completed, and stopped.
5. The self-test module according to claim 4, characterized in that, The self-test shielding unit performs a shielding reset process on the final judgment result of the self-test unit based on the current state of the downstream sequential control main program, specifically including: When the current state of the sequential control main program is abandoned, completed, or stopped, the self-test shielding unit performs a shielding reset process on the final judgment result of the self-test unit.
6. The self-test module according to claim 5, characterized in that, Self-test shielding unit, including self-test shielding button; The self-test shield button is connected to the final judgment result of the self-test unit via an OR logic connection; The self-test shielding unit has its self-test shielding button set to off by default in the initial state. After receiving a user command, the self-test shielding unit opens its self-test shielding button to shield the final judgment result of the self-testing unit. The shielding process involves shielding the final judgment result of the self-test unit and outputting the first symbol that meets the self-test conditions.
7. The self-test module according to claim 6, characterized in that, When the current state of the sequential control main program is abandoned, completed, or stopped, the self-test masking unit performs a masking reset process on the final judgment result of the self-test unit, specifically including: The self-test shielding unit turns off the shielding button when the current state of the sequential control main program is abandoned, completed, or stopped, so as to shield and reset the self-test condition judgment result. The shielding reset process means not shielding the final judgment result of the self-test unit, but directly outputting the final judgment result of the self-test unit.
8. The module according to claim 7, characterized in that, The status display unit is also used to display information indicating that the shielding button is open when the shielding button of the self-test shielding unit is turned on.
9. The module according to claim 8, characterized in that, The self-test unit has 8 self-test condition judgment interfaces.
10. A self-test condition processing method based on a DCS control system, characterized in that, The method is performed by the self-test module of the DCS control system as described in any one of claims 1-9.
Citation Information
Patent Citations
Stack self-inspection method and device
CN106547606A
Self-check processing method, apparatus and system
CN106961361A