Dynamic interaction prompt sequence control method for chemical production
Through standardized interactive interfaces and dynamic interactive prompt mechanisms, compatibility problems between different DCS systems are solved, and the unified operation interface and exception handling of sequential control systems are realized, improving operation efficiency and security.
Patent Information
- Application Number
- CN202510317411.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-07-08
AI Technical Summary
There are functional differences in the implementation of the IEC 61131-3 standard in different manufacturers, resulting in high coupling between the interactive logic of the sequential control system and the core control program, lack of unified human-machine interface specifications, which increases operator training costs and risk of misoperation.
Through standardized interaction interfaces and dynamic interaction prompt mechanisms, the state transfer rules of Phase-like functional blocks are used, combined with the FAIL_IDX flag to achieve abnormal state linkage, unified interactive message processing, supports multilingual dynamic switching and real-time data-driven interactive content generation, reducing the coupling between interactive logic and core control.
Compatibility between different control systems and process packages is achieved, reducing the cognitive burden of operators for cross-system operations, reducing the risk of misoperation, shortening the project implementation cycle and reducing the code maintenance cost.
Smart Images

Figure CN120276296A_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the field of process industry processes, and particularly relates to a dynamic interactive prompt sequence control method for chemical production. Background Art
[0002] As a core technology in the field of industrial automation, the sequence control system is widely used in continuous production industries such as chemical industry, electric power, and pharmaceuticals. The traditional implementation of sequential control logic is mainly based on the SFC (Sequential Function Chart) programming language in the IEC 61131-3 standard. The process steps and state transition rules are defined through Phase class function blocks, and the automation control of the process is completed in combination with DCS (Distributed Control System) or PLC (Programmable Logic Controller). In the prior art, the interaction between the operator and the sequential control system usually depends on the alarm window, operation panel, or dedicated HMI (Human Machine Interface) predefined by the engineer. The interaction logic and the SFC steps are bound by hard coding. For example, in the path selection scenario, a branch selection interface needs to be independently developed, a customized input verification module is required for variable assignment, and exception handling depends on the engineer to write status detection code for specific equipment or process conditions. Although such implementation methods can meet the basic functional requirements, the coupling degree between the interaction logic and the core control program is high, and there is a lack of a unified human-machine interface specification.
[0003] The Chinese invention patent authorization document CN117526575B discloses a one-key sequential control method and system for a distribution network, but this invention focuses on load forecasting and instruction optimization of the distribution network and does not solve the problem of standardization of sequential control interaction across control systems and process packages. Although different manufacturers' DCS systems follow the IEC 61131-3 standard, there are implementation differences in the state transition rules of their SFC function blocks (such as the FAIL_IDX trigger mechanism of the Phase module and the timing of step activation condition judgment). Process package developers often add additional state transition rules based on the characteristics of specific control systems (such as the main program linkage strategy when a subprogram is abnormal). In engineering implementation, engineers need to perform secondary programming to adapt the target system functions and process requirements, resulting in different implementation methods for similar interaction scenarios (such as path selection and variable assignment) in different projects (such as chaotic naming of message trigger flags and inconsistent layout of interaction windows). The final delivered operation interface, due to system compatibility, process customization, and programming habit differences, forces operators to re-learn the interaction logic for each project. Even experienced operators still need to receive special training in cross-system or cross-process scenarios, significantly increasing the enterprise's personnel costs, and the inconsistency of interaction rules is likely to cause the risk of misoperation. Summary of the Invention
[0004] The present invention aims to eliminate the impact of different usage experiences caused by the functional differences of different control systems and the special requirements differences of different process packages for sequential control, especially for the functional differences of DCS systems from different manufacturers in the implementation of the IEC 61131-3 standard. The present invention solves the compatibility problem between different control systems and process packages through a standardized interaction interface and a dynamic interaction prompt mechanism, and realizes the standardization and consistency of sequential control.
[0005] The present invention provides a dynamic interaction prompt sequential control method for chemical production, which includes: the DCS control station realizes the linear execution and conditional jump of sequential control steps in the reaction kettle temperature control stage, material filling process or pressure regulation cycle of the chemical plant based on the state transition rules of the Phase function block; the sequential control logic engine binds the interaction processing with the sequential control logic steps, generates interaction content according to the real-time operation data of the chemical plant, and automatically clears the message flag and triggers the process jump after the operator responds; the main program and the subprogram realize the abnormal state linkage through the FAIL_IDX flag. When a valve state abnormality, process parameter overlimit or equipment failure signal is detected, the FAIL_IDX flag is set to a non-zero value and a global pause is triggered, and the fault clearance state is automatically detected during abnormal recovery.
[0006] Preferably, when the Phase step is executed, it dynamically judges the human-computer interaction requirements. If interaction is required, the message trigger flag is activated, otherwise the step completion condition is directly detected.
[0007] Preferably, the method centrally collects all interaction messages through the operation guidance window, and automatically clears the message flag and triggers the process jump after the interaction is completed.
[0008] Preferably, the message trigger flag of the method is activated when the variable assignment step times out and is not completed, the secondary confirmation step waits for manual feedback, or in the case of a path selection branch.
[0009] Preferably, during path selection interaction, the interaction processing dynamically generates an option list based on the activation state of the SFC logic step, and the option content supports dynamic multilingual switching. The option arrangement order is automatically adjusted by dynamically calculating the path weights by analyzing the reaction kettle temperature history data, the current pressure value, and the material flow trend.
[0010] Preferably, during variable assignment interaction, when the input box performs numerical range verification, it automatically matches the engineering unit conversion and converts the input value in real time. When it is detected that the input value exceeds the preset range, historical operation suggestion values are dynamically popped up through the sliding window algorithm. If invalid values are input three times in a row, the input box is locked and the administrator review process is started.
[0011] Preferably, during the secondary confirmation interaction of the interactive processing, the confirmation prompt box loads the real-time operation status image of the device to be confirmed, and simultaneously displays the comparison curve of the real-time data of the associated process parameters and the safety threshold. At the same time, a QR code for verifying the identity of the external operator bound to the device code is generated.
[0012] Preferably, the method sets a numerical range verification loop mechanism in the variable assignment interaction, and re-triggers the prompt when an invalid value is input.
[0013] Preferably, when the main program detects a device failure, an instrument failure, or a process parameter exceeding the limit, it triggers FAIL_IDX not equal to 0 and locks the control signal of the associated subroutine. At the same time, the main / subroutine exception type code and the location information are merged and displayed on the main operation interface. If the operator selects to resume execution, the status sensors of the faulty device are polled until the readings return to the safe threshold range, and then FAIL_IDX is automatically reset.
[0014] Preferably, when the subroutine starts to time out or an emergency stop condition is triggered during execution, an abnormal location flow chart bound to the subroutine ID is pushed to the operation guidance window. If the operator selects to complete it manually, the current subroutine steps are skipped and the main program logic chain is updated. When resuming execution, if a residual abnormal condition is detected, the interactive prompt box is reactivated and the process jump is frozen.
[0015] The implementation of the present invention brings the following beneficial effects to the industrial sequence control system: First, by standardizing and encapsulating the interactive scenarios such as path selection, variable assignment, and exception handling through the Phase message interface, the compatibility differences in the implementation details of the SFC function block between different control systems (such as the central control ECS-700 and Siemens PCS7) are eliminated, and the operation prompt information is presented in unified descriptive text, reducing the cognitive burden of operators for cross-system operations; Second, based on the main / subroutine abnormal linkage mechanism and the combined message prompt design based on the FAIL_IDX flag, the abnormal detection logic originally scattered in the code is transformed into a visual flow chart for guidance, reducing the risk of misjudgment caused by interference from multi-level pop-up windows. At the same time, by binding the real-time status image of the device and the process parameter curve, the abnormal location efficiency is improved; In addition, the interactive option generation mechanism that dynamically adapts to process requirements (such as automatically sorting the path selection by priority and real-time matching of variable assignment with engineering unit conversion) reduces the invasive modification of the interactive rules by the process package customization, avoiding code redundancy caused by secondary development; Finally, the encapsulation of the standardized interactive logic enables engineering implementation personnel to avoid repeated development of interactive modules for different projects, significantly shortening the debugging cycle and reducing the code maintenance cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a schematic flow chart of the method of the present invention;
[0017] Figure 2Schematic diagram of the exception handling process of the present invention. Detailed implementation manners
[0018] Embodiment 1
[0019] According to Figure 1 As shown, the present invention proposes a dynamic interactive prompt sequence control method for chemical production, which is implemented in the central control technology ECS-700 control system. The main program is constructed based on the SFC (Sequential Function Chart) language of the IEC 61131-3 standard, and the Phase class function block is used to define the linear execution logic of the sequential control process. When each Phase module is initialized, a preset step sequence (Step1 to StepN) is loaded, and jumps between steps are achieved through transition conditions (Transition). After the main program is started, the Phase module is executed sequentially according to the step activation order. For example, after Step1 is activated, its transition condition (such as the device ready signal being true) is detected. If the condition is met, it jumps to Step2.
[0020] During the execution of steps, the system continuously detects whether the current step needs to trigger human-machine interaction. For example, when executing the path selection branch step, the Phase module dynamically determines the interaction requirement through the built-in "message setting" function. If operator decision-making is required, the message trigger flag (such as the path selection flag MG000ACT = 1) is set. At this time, a red flashing prompt appears in the "interaction interface" area of the operation guidance window. After the operator double-clicks the prompt, the system automatically pops up a predefined path selection dialog box. If no interaction is required (such as the step only needs to wait for the device status signal), the transition condition (such as the valve in-place signal) is directly detected to trigger the process jump.
[0021] All interaction messages are centrally managed through the operation guidance window, and the message trigger flag (MGxxxACT) is strictly bound to the Phase step. For example, after the operator completes the option confirmation in the path selection dialog box, the system automatically clears the corresponding flag (MG000ACT = 0), and updates the branch condition variable (such as PATH_SEL = 2) according to the selection result, triggering the SFC to jump to the corresponding branch step (such as Step3_Sub2). This mechanism ensures the decoupling of the interaction logic and the core control process, avoiding logical confusion caused by message residues.
[0022] In the scenario of controlling the feeding path of a chemical reactor, the sequence control program needs to select different feeding pipelines according to process conditions. During project implementation, create a "selection message" with ID 0 in the "message settings" of the Phase module, define three path options (such as "Pipeline A - Main Reactant", "Pipeline B - Auxiliary Agent", "Pipeline C - Cleaning Agent"), and bind branch condition variables (PATH_SEL = 1 / 2 / 3) to each path. In the SFC logic, when the path selection step (Step5) is executed, set MG000ACT = 1 to activate the operation guidance window prompt. After the operator double-clicks the prompt, an option dialog box pops up, and the interface displays an option list sorted by process priority (such as automatically topping "Pipeline A" according to the reaction stage). After the selection is completed, the system updates the PATH_SEL variable and triggers the corresponding branch jump. If no selection is made within the timeout period, the default path is executed.
[0023] To improve the intelligence level of path selection, the system dynamically adjusts the option priority according to real-time process parameters. For example, when the reaction temperature exceeds the critical value, automatically top the "Pipeline C - Cleaning Agent" option and mark it with a highlighted warning color. At the same time, the option list supports dynamic multi-language switching. If the operator's account language is set to English, the option text is automatically converted to the corresponding expressions such as "Pipeline A - Main Reactant". In addition, after the default path is executed, the system records the timeout event and pushes it to the management platform for process optimization analysis.
[0024] In the scenario of setting the centrifuge speed, when the sequence control reaches Step8, the operator needs to input the speed correction value after offline analysis. Create an "input value message" with ID 4 in the Phase module, associate it with the variable SPEED_SET, and set the engineering unit (RPM), input range (800 - 1200 RPM), and timeout threshold (300 seconds). When Step8 is activated, set MG004ACT = 1, and the operation guidance window prompts "Please enter the speed correction value". After the operator double-clicks the prompt, an input dialog box pops up, and the input value immediately shows the unit conversion result (such as entering "1000" automatically marks "RPM"). If the input value is out of range, the dialog box dynamically pops up the historical recommended values (such as the last three valid inputs: 950 / 980 / 1020), and locks the "confirm" button until the input is legal. If three invalid values are continuously entered, the system freezes the input box and pushes a request for administrator review, and at the same time records the operation log.
[0025] The input verification mechanism is further integrated with the process knowledge base. For example, when the input value approaches the safety threshold (such as 1180 RPM), the dialog box automatically displays the current load curve of the associated device (such as motor M-205) and prompts "Approaching the maximum load limit, it is recommended to be ≤1150 RPM". In addition, the input box supports expression calculation. The operator can directly enter "950+50" or "1000*1.05", and the system will parse and display the calculation result in real time (such as 1000 RPM or 1050 RPM). After the administrator's review request is triggered, the input box needs to be unlocked through two-factor authentication (swiping the work ID card + dynamic verification code) to ensure the security of critical parameter modification.
[0026] In the safety confirmation scenario before the reactor pressure relief valve is opened, when the sequence control reaches Step12, the on-site operator needs to verify the valve status on-site. Create a "confirmation message" with ID 3 in the Phase module, and set the prompt text to "Please confirm that the XV-203 valve has been manually opened to 50% opening". When Step12 is activated, set MG003ACT = 1, and the operation guidance window prompts "Waiting for secondary confirmation". After the operator double-clicks the prompt, the dialog box displays the real-time status image of the bound device XV-203 (obtained from the DCS camera) and the associated pressure curve (real-time value 2.1 MPa vs. safety threshold 2.5 MPa), and at the same time generates a QR code containing the device code for the on-site operator to scan and verify their identity. After the confirmation is completed, the system clears the MG003ACT flag and jumps to the next step; if the confirmation times out, an alarm is triggered and the sequence control program is paused.
[0027] The QR code verification link is linked with the personnel positioning system. The on-site operator needs to scan the code within a range of 5 meters from the device for it to take effect, to avoid remote illegal operations. During the confirmation process, the system continuously monitors the change in the valve opening. If the opening drops below the threshold after scanning (such as from 50% back to 45%), the dialog box refreshes the alarm status in real time and plays a voice prompt. At the same time, the operation record is synchronously associated with the electronic patrol system to generate a standardized patrol report including time, personnel, and device status. For high-risk scenarios (such as high-pressure reactors), the system compulsorily requires two on-site operators to independently scan the code for confirmation, and the time interval between scans does not exceed 30 seconds to strengthen the safety interlock mechanism.
[0028] In the variable assignment interaction scenario, the system achieves multi-level fault tolerance through built-in timing detection and numerical verification logic. When the operator's input times out during the centrifuge speed setting process (e.g., exceeding the preset 300-second countdown) or the input value exceeds the engineering range (e.g., the speed value is lower than 800 RPM or higher than 1200 RPM), the system automatically reactivates the message flag (MG004ACT = 1), triggers a red flashing prompt in the operation guidance window, and resets the countdown counter simultaneously. If three consecutive invalid values are entered (e.g., entering "1300" and then trying "1350" again), the system will lock the input box and push a request for administrator review, and freeze the current sequence control process until manual intervention. During this process, the input dialog box displays a list of historical valid value suggestions in real time (e.g., the last three successful inputs of 950 / 980 / 1020 RPM), and dynamically matches engineering unit conversions (e.g., automatically marking the unit "RPM" after entering "1000") to avoid input errors caused by unit confusion.
[0029] The verification mechanism in the secondary confirmation link is deeply integrated with the real-time status feedback of the equipment. Taking the opening confirmation of the reactor pressure relief valve as an example, when the external operator completes the identity verification by scanning the code, the system automatically polls the data of the valve opening sensor (e.g., reads the 4-20 mA signal of the XV-203 valve through the Modbus protocol). If it is detected that the actual opening does not reach the set threshold (e.g., the opening < 50%), the dialog box dynamically updates the alarm prompt (e.g., "Insufficient valve opening: current 42%"), and disables the "Confirm" button until the external operator readjusts the valve status. At the same time, the real-time monitoring image embedded in the dialog box (a close-up view of the valve obtained from the DCS camera) and the process parameter comparison curve (e.g., a line graph of the real-time pressure value of 2.1 MPa and the safety threshold of 2.5 MPa) provide intuitive decision-making basis for the operator, avoiding safety risks caused by misjudgment of on-site working conditions.
[0030] All interactive operations are linked to the process database to form a complete operation traceability chain. When the operator triggers path selection, variable assignment, or secondary confirmation, the system automatically records their employee number, operation timestamp, input value (e.g., the speed setting value of 1000 RPM), and a snapshot of the equipment status (e.g., the pressure curve when the valve opening is 50%), and associates them with the current production batch number. These data are synchronized to the MES (Manufacturing Execution System) database through the OPC UA protocol, supporting multi-dimensional retrieval by time range, operator ID, or equipment code. For example, in subsequent quality analysis, it can be traced whether the abnormality of a certain batch of products is related to specific variable assignment operations, or verify whether the confirmation operations of external operators comply with safety regulations.
[0031] Through the above mechanism, the interaction interface of the present invention has shown a significant improvement in reliability during testing. In a pilot project of a chemical enterprise, the sequence control interruption rate caused by input timeouts or invalid values in the traditional system has decreased from 15 times per month to 2 times, and the misoperation rate in the secondary confirmation link has decreased from 8.7% to 0.3%. In addition, the unified interaction template has shortened the training cycle of newly recruited operators by 75%, and the adaptability to cross-project operations has been significantly improved. For example, when switching from a petrochemical hydrogenation unit to a pharmaceutical fermentation tank control, operators can complete the sequence control operation without having to relearn the interaction rules.
[0032] Embodiment 2
[0033] According to Figure 2 As shown, the present invention proposes a dynamic interaction prompt sequence control method for chemical production. In this embodiment, taking the coordinated control of the main / subprogram of a petrochemical hydrogenation reaction unit as an example, the specific implementation of exception handling is described. The main program is responsible for controlling the temperature and pressure of the reaction kettle, and the subprogram manages the start / stop of the hydrogen compressor and the flow regulation. Both are constructed based on the Phase class function block, and the exception status linkage is realized through the FAIL_IDX flag. When the main program detects that the reaction kettle is overpressured (such as the reading of the pressure sensor PT-101 > 15.0 MPa) or the temperature rises suddenly (TI-102 > 420 °C), it immediately sets FAIL_IDX = 1 and freezes the control output (such as closing the feed valve XV-101). Synchronously, the subprogram continuously monitors the vibration value of the compressor (VI-201 > 7.5 mm / s) or the lubricating oil pressure (PI-202 < 0.3 MPa). If an exception is triggered, FAIL_IDX = 2 is set. When FAIL_IDX ≠ 0 in any program, the global pause signal (GLOBAL_HOLD = 1) is activated, all sequence control steps are forced to interrupt, and the equipment is switched to a safe state (such as opening the pressure relief valve XV-102 and stopping the compressor C-201).
[0034] During the abnormal pause, the operation guidance window combines and displays the abnormal types of the main / subprogram. For example, when FAIL_IDX = 1 in the main program, it prompts "Reaction kettle overpressure: PT-101 = 15.2 MPa", and when FAIL_IDX = 2 in the subprogram, it adds "Excessive compressor vibration: VI-201 = 8.1 mm / s". The message list is sorted by priority (such as safety-class exceptions at the top) and is bound with equipment location information (such as "West entrance of the reaction kettle R-101"). After the operator double-clicks on the message, an interactive dialog box containing an abnormal location flow chart (such as highlighting the installation location of PT-101) and historical data comparison (the current pressure curve and the safety threshold are superimposed and displayed) pops up to assist in quickly diagnosing the fault source.
[0035] The abnormal recovery process is divided into two stages: fault clearance detection and operator decision-making. When the main program detects that FAIL_IDX ≠ 0, a periodic polling mechanism is started: the status signals of the faulty device (such as the PT-101 pressure value and the VI-201 vibration value) are read every 30 seconds. If the pressure drops below 14.8 MPa and the vibration value returns within 6.0 mm / s, the system determines that the fault condition has been cleared. At this time, the operation guidance window pushes the prompt "The abnormality has been eliminated. Do you want to resume execution?" The operator can choose "Resume", "Terminate" or "Manually Complete":
[0036] 1. Select to resume execution. The system resets FAIL_IDX = 0 and releases the GLOBAL_HOLD signal. The main program continues to execute from the suspension point (such as reactivating Step10), and the subprogram resumes running synchronously (such as restarting compressor C-201). Before resuming, the system automatically performs a pre-resumption check. For example, it checks whether XV-102 is closed and whether the compressor is in the standby mode. If the check fails, the resumption is prohibited and the non-compliant items are prompted.
[0037] 2. Select to terminate the program. The main program jumps to the end step (Step_END), and the subprogram executes the safe shutdown sequence (such as gradually reducing the load and shutting down the compressor), and generates an abnormal termination report (including the fault time, the number of recovery attempts, and the final operator decision).
[0038] 3. Select to manually complete. For scenarios that cannot be automatically recovered (such as sensor failures), after the operator selects this option, the system skips the current abnormal step (such as bypassing the PT-101 detection logic) and marks "Manually intervened and completed" in the operation log. Thereafter, the main program continues to execute the subsequent steps (such as manually setting the feed rate), but a manual confirmation dialog box is forced to pop up every 5 minutes until the process ends.
[0039] When the main program calls the hydrogen compressor startup subprogram, if the subprogram fails to start within 120 seconds due to unmet readiness conditions (such as the lubricating oil pump not running), the system sets FAIL_IDX = 3 and triggers a global suspension. The operation guidance window displays "The startup of subprogram S-201 timed out" and pushes fault diagnosis suggestions (such as checking the status of lubricating oil pump P-203). The operator can choose "Retry startup" (the system re-checks the conditions) or "Manually complete" (manually start the compressor and then update the status flag).
[0040] During the execution of the subroutine, if an emergency stop condition is detected (such as the hydrogen leakage alarm LA-301 is triggered), FAIL_IDX = 4 is immediately set, and the main program pauses synchronously. After the operator disposes of the leakage point on site, they can select "Resume" in the dialog box to restart the subroutine, or "Manually Complete" to skip the current subroutine (such as switching to a standby compressor). When "Resume" is selected, the system additionally performs safety interlock tests (such as leakage sensor reset verification, nitrogen purge completion confirmation) to ensure there are no residual risks.
[0041] The Phase message interface design of the present invention has high portability and can seamlessly adapt to different DCS platforms (such as Supcon ECS-700, Honeywell Experion PKS). Taking the path selection interaction as an example, in the Honeywell system, by encapsulating the Phase state machine of its Control Module, the native branch selection logic is mapped to a unified message interface (such as Honeywell's MG000ACT corresponding to the path selection flag of the present invention). During engineering implementation, only the option content and variable binding relationship need to be defined in the "Message Settings" in the standard format, without rewriting the SFC branch condition judgment logic for different systems. For example, in the two process packages of the hydrogenation unit in the petrochemical industry and the fermentation tank control in the pharmaceutical industry, the option texts of the path selection messages (such as "Catalyst Injection" and "Strain Feeding") are dynamically loaded through a multilingual configuration file, while the underlying variable binding and jump logic remain the same. This design enables the same set of interaction code libraries to be reused across projects, reducing the secondary development volume of the project by more than 60%, and the operator only needs to pay attention to the differences in the prompt texts when facing different process packages without having to relearn the interaction rules.
[0042] Through the global linkage mechanism of the FAIL_IDX flag, the present invention realizes the atomic processing of the abnormal states of the main / subroutines. Taking the abnormal pause of the subroutine as an example, when the temperature control subroutine of the hydrogenation reactor triggers FAIL_IDX = 2 due to the over-temperature of TI-102, the main program synchronously sets GLOBAL_HOLD = 1 and freezes all output instructions (such as closing the feed valve XV-101 and stopping the circulating pump P-105). When the abnormality is restored, the system automatically detects the interlock status of the associated equipment (such as whether XV-101 has been closed in place and whether P-105 is in the shutdown mode). If a device status conflict is detected, the restoration operation is prohibited and a list of non-compliant items is pushed (such as "XV-101 not closed: current opening 12%"). Compared with the traditional solution where the main / subroutines independently handle abnormalities, resulting in device action conflicts (such as the subroutine is still in an abnormal state when the main program is restored), the state linkage mechanism of the present invention reduces such risks to less than 0.5%.
Claims
1. A dynamic interactive prompt sequence control method for chemical production, characterized in that, The method includes: Based on the state transition rules of the Phase function block, the DCS control station realizes the linear execution and conditional jump of the sequence control steps during the reaction kettle temperature control stage, material filling process or pressure regulation cycle of the chemical plant; The sequence control logic engine binds the interaction processing with the sequence control logic steps, generates interaction content according to the real-time operation data of the chemical plant, and automatically clears the message flag and triggers the process jump after the operator responds; The main program and the subprogram achieve abnormal state linkage through the FAIL_IDX flag. When abnormal valve status, process parameter overlimit or equipment failure signals are detected, the FAIL_IDX flag is set to a non-zero value and global pause is triggered, and the failure clearance status is automatically detected during abnormal recovery.
2. The dynamic interactive prompt sequence control method for chemical production according to claim 1, characterized in that When the Phase function block executes, it dynamically judges the human-computer interaction requirements. If interaction is required, the message trigger flag is activated, otherwise the step completion condition is directly detected.
3. A dynamic interactive prompt sequence control method for chemical production according to claim 1 or 2, characterized in that The method centrally collects all interaction messages through the operation guidance window, and automatically clears the message flag and triggers the process jump after the interaction is completed.
4. A dynamic interaction prompt sequence control method for chemical production according to claim 1 or 2, characterized in that The message trigger flag of the method is activated when the variable assignment step times out without completion, the secondary confirmation step waits for manual feedback, or in the case of a path selection branch.
5. A dynamic interactive prompt sequence control method for chemical production according to claim 1, characterized in that During path selection interaction, the interaction processing dynamically generates an option list based on the activation status of the SFC logic step, and the option content supports dynamic multilingual switching. The option arrangement order is automatically adjusted by dynamically calculating the path weights by analyzing the reaction kettle temperature history data, the current pressure value and the material flow trend.
6. The dynamic interaction prompt sequence control method for chemical production according to claim 1, characterized in that During variable assignment interaction, when the input box performs numerical range verification, it automatically matches the engineering unit conversion and converts the input value in real time. When it is detected that the input value exceeds the preset range, historical operation suggestion values are dynamically popped up through the sliding window algorithm. If invalid values are input three times in a row, the input box is locked and the administrator review process is started.
7. A dynamic interactive prompt sequence control method for chemical production according to claim 1, characterized in that, During secondary confirmation interaction, the confirmation prompt box loads the real-time operation status image of the device to be confirmed, and simultaneously displays the real-time data of the associated process parameters and the comparison curve with the safety threshold, and generates a QR code for verifying the identity of the external operator bound to the device code.
8. A dynamic interactive prompt sequence control method for chemical production according to claim 1 or 6, characterized in that, The method sets a numerical range verification loop mechanism in the variable assignment interaction, and re-triggers the prompt when an invalid value is input.
9. The dynamic interactive prompt sequence control method for chemical production according to claim 1, characterized in that When the main program detects equipment failure, instrument failure or process parameter overlimit, it triggers FAIL_IDX not equal to 0 and locks the associated subprogram control signal. At the same time, the main / subprogram abnormal type code and location information are merged and displayed on the main operation interface. If the operator selects to resume execution, the status sensors of the faulty equipment are polled until the readings return to the safe threshold range and then FAIL_IDX is automatically reset.
10. A dynamic interaction prompt sequence control method for chemical production according to claim 1 or 9, characterized in that, When the subprogram starts to time out or an emergency stop condition is triggered during execution, an abnormal location flow chart bound to the subprogram ID is pushed on the operation guidance window. If the operator selects to complete manually, the current subprogram steps are skipped and the main program logic chain is updated. When resuming execution, if residual abnormal conditions are detected, the interaction prompt box is re-activated and the process jump is frozen.
Citation Information
Patent Citations
One-button sequential control method and system for distribution network
CN117526575B
Cited By
Chemical industry park distributed state estimation method and system considering multiple energy mass flow dynamics
CN120996378A
Chemical industrial park distributed state estimation method and system considering multi-energy flow dynamics
CN120996378B
PLC programming method and system based on state machine model in multi-station production line
CN121541560A
Plc programming method and system based on state machine model in multi-station production line
CN121541560B