CN113189961B - Forced state searching processing method - Google Patents
Forced state searching processing method Download PDFInfo
- Publication number
- CN113189961B CN113189961B CN202110429696.XA CN202110429696A CN113189961B CN 113189961 B CN113189961 B CN 113189961B CN 202110429696 A CN202110429696 A CN 202110429696A CN 113189961 B CN113189961 B CN 113189961B
- Authority
- CN
- China
- Prior art keywords
- pou
- controller
- forcing
- dpu
- list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a forced state search processing method, which comprises the following steps: the method comprises the steps of starting a project in a DCS, reading a Distributed Processing Unit (DPU) in a controller list, sequentially connecting configuration software with the DPU, acquiring and analyzing debugging data corresponding to a current view, acquiring variables and function blocks in a mandatory state, displaying mandatory state information according to the list, and supporting one-key batch release of the mandatory state. The method realizes the one-key batch searching and the forcible releasing in the whole industrial control configuration process, and facilitates engineering debugging.
Description
Technical Field
The invention relates to the technical field of industrial control configuration, in particular to a forced state searching processing method.
Background
In a large DCS system, there are 40 more pairs of controllers for 1 project, and a single controller can have a 1000-page configuration. In the engineering debugging stage, because the method is limited by working condition simulation, some global variable points, hardware channel points and visual page function blocks are often placed in a forced state for facilitating debugging, external input is bypassed, and values are manually set so as to debug complex logic. Before the actual operation, the mandatory states of the variables and the function blocks need to be released. Due to the large configuration scale, the reset is checked manually one by one from tens of thousands of variables and tens of thousands of pages of programs, and the omission is easy, so that an automatic searching method is needed, the hidden danger is avoided, and the debugging efficiency is improved. The scheme is generated.
Disclosure of Invention
The invention aims to provide an automatic forced state searching method, which realizes that a whole project acquires and displays forced points by one key, supports batch de-forcing and confirmation, and ensures the safety and convenience of DCS configuration.
In order to achieve the purpose, the invention adopts the following technical scheme:
an automated forced state lookup method, comprising the steps of:
a) starting a project in a DCS, reading the DPUs in the distributed processing units in the controller list, setting the number of the DPUs as M, setting the subscript of the currently processed controller as i, setting the initial value of i as 0, and setting i to be more than or equal to 0 and less than M; (ii) a
b) If the connection is unsuccessful, i is i +1, repeating the step b), and continuing to connect the next controller;
c) inquiring and acquiring a program organization unit POU number list of a controller DPU [ i ], wherein the total number of POUs is N, the subscript of the POU currently processed is set to be j, the initial value of j is 0, and j is more than or equal to 0 and less than N;
d) issuing debugging data for inquiring DPU [ i ] and POU [ j ], receiving the debugging data sent by a controller, analyzing the debugging data of the current POU, and summarizing variables and a function block list in a forced state; closing a view corresponding to the current POU and releasing dynamically allocated memory data;
e) j is j + 1; if j is larger than or equal to N, skipping to the step f); if j < N, skipping to step d);
f) i is i + 1; if i is larger than or equal to M, jumping to the step g); if i < M, jumping to step b);
g) hierarchically summarizing and displaying variables and function blocks in a forced state by taking a controller as a unit; and (4) supporting the right-click menu for selecting 1, a plurality of and all nodes to issue a force releasing state, acquiring the debugging data of each POU page again, confirming the success of the releasing, and displaying a force releasing result on a force result display interface.
Furthermore, one project in the DCS system comprises a plurality of controllers, and a single controller configuration comprises a global variable definition, a hardware configuration and a plurality of visual program pages; products corresponding to the global variable definition, the hardware configuration and the visual program page are managed by taking POU as a unit, and a single controller supports at most 1000 POU files.
Further, when a single forcing point entry is clicked on a forcing result display interface, automatically opening a related global variable definition view, a piece configuration interface or a visual page, and setting the background filling color of a variable or a function block corresponding to the forcing point to be light red; and after the right key selects to cancel the forcing, issuing a message for canceling the forcing, issuing debugging data for requesting the forcing point to correspond to the POU in a timer function, receiving the POU debugging data in a network receiving thread, and if the forcing cancellation is successful, recovering the variable corresponding to the forcing point or the background filling color of the functional block to be white. After the scheme is adopted, the display forcing point is obtained by one key in the whole project, the batch force removal and confirmation are supported, the safety and the convenience of the DCS configuration are ensured, the DCS is applied to a plurality of thermal power configurations, and a better application effect is obtained.
Drawings
FIG. 1 is a flow diagram of a forced state lookup process of the present invention.
Detailed Description
The technical scheme of the invention is explained in detail in the following with the accompanying drawings. A project in a DCS system comprises a plurality of controllers, and a single controller configuration comprises a global variable definition, hardware configuration and a plurality of visualization program pages. Products corresponding to global variable definitions, hardware configurations and visual program pages are managed by using a POU (program organization unit) as a unit, and a single controller supports at most 1000 POU files.
As shown in fig. 1, the present invention provides an automatic forced state searching method, which includes the following steps:
a) starting a project in a DCS, reading the DPUs in the distributed processing units in the controller list, setting the number of the DPUs as M, setting the subscript of the currently processed controller as i, setting the initial value of i as 0, and setting i to be more than or equal to 0 and less than M; (ii) a
b) If the connection is unsuccessful, i is i +1, repeating step b), and continuing to connect the next controller;
c) inquiring and acquiring a program organization unit POU number list of a controller DPU [ i ], wherein the total number of POUs is N, the subscript of the POU currently processed is set as j, the initial value of j is 0, and j is more than or equal to 0 and is less than N;
d) issuing debugging data for inquiring DPU [ i ] and POU [ j ], receiving the debugging data sent by a controller, analyzing the debugging data of the current POU, and summarizing variables and a function block list in a forced state; closing the view corresponding to the current POU and releasing the dynamically allocated memory data;
e) j is j + 1; if j is larger than or equal to N, skipping to the step f); if j < N, skipping to step d);
f) i is i + 1; if i is larger than or equal to M, jumping to the step g); if i < M, jumping to step b);
g) hierarchically summarizing and displaying variables and function blocks in a forced state by taking a controller as a unit; and (4) supporting the right-click menu for selecting 1, a plurality of and all nodes to issue a force releasing state, acquiring the debugging data of each POU page again, confirming the success of the releasing, and displaying a force releasing result on a force result display interface. And when a single forcing point entry is clicked on a forcing result display interface, automatically opening an associated global variable definition view, a piece configuration interface or a visualization page, and setting the background filling color of the variable or the function block corresponding to the forcing point to be light red. And after the right key selects to cancel the forcing, issuing a message for canceling the forcing, issuing debugging data for requesting the point corresponding to the forcing point to correspond to the POU in a timer function, receiving the POU debugging data in a network receiving thread, and if the forcing cancellation is successful, recovering the variable corresponding to the forcing point or the background filling color of the functional block to be white.
The above embodiments are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modifications made on the basis of the technical scheme according to the technical idea of the present invention fall within the protection scope of the present invention.
Claims (1)
1. A forced state search processing method is characterized in that: the method comprises the following steps:
a) starting a project in a DCS, reading the DPUs in the distributed processing units in the controller list, setting the number of the DPUs as M, setting the subscript of the currently processed controller as i, setting the initial value of i as 0, and setting i to be more than or equal to 0 and less than M;
b) the distributed processing unit in the current controller list to be connected is DPU [ i ], the IP of the controller is obtained, the DPU [ i ] is connected in a network mode, if the connection is unsuccessful, i is i +1, the step b is repeated, and the next controller is continuously connected;
c) inquiring and acquiring a program organization unit POU number list of a controller DPU [ i ], wherein the total number of POUs is N, the subscript of the POU currently processed is set to be j, the initial value of j is 0, and j is more than or equal to 0 and less than N;
d) issuing debugging data for inquiring DPU [ i ] and POU [ j ], receiving the debugging data sent by a controller, analyzing the debugging data of the current POU, and summarizing variables and a function block list in a forced state; closing the view corresponding to the current POU and releasing the dynamically allocated memory data;
e) j is j + 1; if j is larger than or equal to N, skipping to the step f); if j < N, skipping to step d);
f) i is i + 1; if i is larger than or equal to M, jumping to the step g); if i < M, jumping to step b);
g) hierarchically summarizing and displaying variables and function blocks in a forced state by taking a controller as a unit; supporting to select 1, a plurality of and all node right-click menus to issue a force releasing state, obtaining debugging data of each POU page again, confirming that the releasing is successful, and displaying a force releasing result on a force result display interface;
one project in the DCS system comprises a plurality of Distributed Processing Units (DPUs) in a controller list, and the configuration of the DPUs in a single controller list comprises global variable definition, hardware configuration and a plurality of visual program pages; products corresponding to global variable definitions, hardware configuration and visual program pages are managed by taking POU as a unit, and the DPU in a single controller list supports at most 1000 POU files;
when a single forcing point entry is clicked on a forcing result display interface, automatically opening an associated global variable definition view, a hardware configuration interface or a visual page, and setting the background filling color of a variable or a function block corresponding to the forcing point to be light red; and after the right key selects to cancel the forcing, issuing a message for canceling the forcing, issuing debugging data for requesting the forcing point to correspond to the POU in a timer function, receiving the POU debugging data in a network receiving thread, and if the forcing cancellation is successful, recovering the variable corresponding to the forcing point or the background filling color of the functional block to be white.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110429696.XA CN113189961B (en) | 2021-04-21 | 2021-04-21 | Forced state searching processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110429696.XA CN113189961B (en) | 2021-04-21 | 2021-04-21 | Forced state searching processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113189961A CN113189961A (en) | 2021-07-30 |
CN113189961B true CN113189961B (en) | 2022-09-02 |
Family
ID=76977863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110429696.XA Active CN113189961B (en) | 2021-04-21 | 2021-04-21 | Forced state searching processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113189961B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113759850B (en) * | 2021-09-13 | 2022-12-13 | 西安热工研究院有限公司 | Method for searching forced state function block by DCS (distributed control System) of thermal power plant |
CN113671924B (en) * | 2021-10-25 | 2022-01-25 | 西安热工研究院有限公司 | DCS real-time value setting method and system, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102967406A (en) * | 2012-11-26 | 2013-03-13 | 山东电力集团公司电力科学研究院 | Pressure measurement system capable of implementing data acquisition and display simultaneously and wiring method of system |
CN106896792A (en) * | 2017-01-24 | 2017-06-27 | 北京广利核***工程有限公司 | Method of data synchronization and device |
JP2017142794A (en) * | 2016-02-05 | 2017-08-17 | 富士電機株式会社 | Programmable controller system, controller thereof, support device, hci device, and duplex controller system |
JP2018156511A (en) * | 2017-03-21 | 2018-10-04 | 株式会社明電舎 | Method of controlling a programmable logic controller memory |
CN109062152A (en) * | 2018-07-26 | 2018-12-21 | 中国核动力研究设计院 | A kind of Loacl variable on-line monitoring method that logic-based configuration generates |
CN109085817A (en) * | 2018-09-29 | 2018-12-25 | 中广核工程有限公司 | The control method and system that nuclear power unit joint debugging stage CPU is filled down offline |
CN111552172A (en) * | 2020-04-27 | 2020-08-18 | 浙江中控技术股份有限公司 | Data processing method and device, storage medium and electronic equipment |
-
2021
- 2021-04-21 CN CN202110429696.XA patent/CN113189961B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102967406A (en) * | 2012-11-26 | 2013-03-13 | 山东电力集团公司电力科学研究院 | Pressure measurement system capable of implementing data acquisition and display simultaneously and wiring method of system |
JP2017142794A (en) * | 2016-02-05 | 2017-08-17 | 富士電機株式会社 | Programmable controller system, controller thereof, support device, hci device, and duplex controller system |
CN106896792A (en) * | 2017-01-24 | 2017-06-27 | 北京广利核***工程有限公司 | Method of data synchronization and device |
JP2018156511A (en) * | 2017-03-21 | 2018-10-04 | 株式会社明電舎 | Method of controlling a programmable logic controller memory |
CN109062152A (en) * | 2018-07-26 | 2018-12-21 | 中国核动力研究设计院 | A kind of Loacl variable on-line monitoring method that logic-based configuration generates |
CN109085817A (en) * | 2018-09-29 | 2018-12-25 | 中广核工程有限公司 | The control method and system that nuclear power unit joint debugging stage CPU is filled down offline |
CN111552172A (en) * | 2020-04-27 | 2020-08-18 | 浙江中控技术股份有限公司 | Data processing method and device, storage medium and electronic equipment |
Non-Patent Citations (1)
Title |
---|
和利时DCS***常见故障及处理方法;解向军;《科技创新导报》;20180211(第5期);第44-47页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113189961A (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113189961B (en) | Forced state searching processing method | |
CN107291565B (en) | Operation and maintenance visual automatic operation platform and implementation method | |
EP1586966B1 (en) | Control system configuration device | |
US6173208B1 (en) | Method for generating control codes for use in a process control system | |
CN103995777A (en) | Automatic embedded software block box testing system and method | |
CN113156902B (en) | Configuration consistency checking and processing method of DCS (distributed control system) | |
EP3316053B1 (en) | Engineering tool coordination device, engineering tool coordination method, and non-transitory computer readable storage medium | |
US20110153034A1 (en) | Universal human machine interface for automation installation | |
CN111142421B (en) | Engineering device, control method for engineering device, and storage medium | |
US20120249349A1 (en) | Field device controlling system | |
CN110704044A (en) | Visual programming system | |
CN112631937A (en) | Automatic CAN operation testing method and device for T-Box | |
CN105333008A (en) | Monitoring method, device and system for magnetic suspension bearing control system | |
CN112379641A (en) | Process IO point selection and association method, device, equipment and medium | |
CN111610725A (en) | Combined simulation method | |
CN116166556A (en) | Code analysis method, device and system | |
US20220350942A1 (en) | Display device, display method, and display program | |
CN115600558A (en) | Configuration file importing method and device, terminal equipment and storage medium | |
CN111819506B (en) | Information processing apparatus, control method, and program | |
CN111985188A (en) | Data conversion method, device, terminal and storage medium | |
CN108873824B (en) | Simulation display method and device based on SCADA system and SCADA system | |
CN111638905A (en) | Version number generation method and device, electronic equipment and readable storage medium | |
JP2003223204A (en) | Programming method of programmable controller, system thereof and recording medium thereof | |
EP3937024A1 (en) | Control system, information processing device, and information processing program | |
CN113615128B (en) | Management device, support device, management method, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |