Movatterモバイル変換


[0]ホーム

URL:


CN113189961B - Forced state searching processing method - Google Patents

Forced state searching processing method
Download PDF

Info

Publication number
CN113189961B
CN113189961BCN202110429696.XACN202110429696ACN113189961BCN 113189961 BCN113189961 BCN 113189961BCN 202110429696 ACN202110429696 ACN 202110429696ACN 113189961 BCN113189961 BCN 113189961B
Authority
CN
China
Prior art keywords
pou
controller
dpu
forced
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
Application number
CN202110429696.XA
Other languages
Chinese (zh)
Other versions
CN113189961A (en
Inventor
宋美艳
谭良良
高少华
陈宏君
张军
刘畅
蔡丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NR Engineering Co Ltd
Xian Thermal Power Research Institute Co Ltd
Original Assignee
NR Engineering Co Ltd
Xian Thermal Power Research Institute Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NR Engineering Co Ltd, Xian Thermal Power Research Institute Co LtdfiledCriticalNR Engineering Co Ltd
Priority to CN202110429696.XApriorityCriticalpatent/CN113189961B/en
Publication of CN113189961ApublicationCriticalpatent/CN113189961A/en
Application grantedgrantedCritical
Publication of CN113189961BpublicationCriticalpatent/CN113189961B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

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

Translated fromChinese
一种强制状态查找处理方法A Mandatory Status Lookup Processing Method

技术领域technical field

本发明涉及工控组态技术领域,具体涉及一种强制状态查找处理方法。The invention relates to the technical field of industrial control configuration, in particular to a method for searching and processing a forced state.

背景技术Background technique

在大型DCS系统中,1个工程有40多对控制器,单个控制器可有1000页组态。在工程调试阶段,由于受限于工况模拟,为了方便调试,往往将一些全局变量点、硬件通道点、可视化页面功能块置于强制状态,旁路外部输入,手工设置值,以进行复杂逻辑的调试。在正式投运前,需要解除各变量、功能块的强制状态。由于组态规模大,从上万个变量、上万页程序中逐个人工查看复位,容易疏漏,故需要一种自动化查找方法,避免隐患,提高调试效率。本案由此产生。In a large-scale DCS system, a project has more than 40 pairs of controllers, and a single controller can have 1000 pages of configuration. In the engineering debugging stage, due to the limitation of working condition simulation, in order to facilitate debugging, some global variable points, hardware channel points, and visual page function blocks are often placed in a forced state, bypassing external inputs, and manually setting values for complex logic. debugging. Before the actual operation, it is necessary to cancel the forced state of each variable and function block. Due to the large scale of the configuration, it is easy to overlook the reset from tens of thousands of variables and tens of thousands of pages of programs, which is easy to miss. Therefore, an automatic search method is needed to avoid hidden dangers and improve debugging efficiency. Hence the case.

发明内容SUMMARY OF THE INVENTION

本发明的目的是提供一种自动化的强制状态查找方法,实现了整个工程一键获取显示强制点,支持批量解除强制和确认,确保了DCS组态的安全性、方便性。The purpose of the present invention is to provide an automatic mandatory state search method, which realizes one-key acquisition and display of mandatory points in the whole project, supports batch release of mandatory state and confirmation, and ensures the safety and convenience of DCS configuration.

为了达到上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

一种自动化的强制状态查找方法,包括如下步骤:An automated mandatory state finding method, comprising the following steps:

a)打开DCS系统中工程,读取控制器列表中分散式处理单元DPU,设DPU数量为M,设当前处理的控制器下标为i,i初始值为0,0≤i<M;;a) Open the project in the DCS system, read the distributed processing unit DPU in the controller list, set the number of DPUs to be M, set the subscript of the currently processed controller to be i, and the initial value of i is 0, 0≤i<M;

b),当前待连接的控制器为DPU[i],获取该控制器的IP,网络方式连接DPU[i],若连接不成功则i=i+1,重复步骤b),继续连接下一个控制器;b), the current controller to be connected is DPU[i], obtain the IP of the controller, and connect to DPU[i] by network mode, if the connection is unsuccessful, i=i+1, repeat step b), and continue to connect to the next one controller;

c)查询获取控制器DPU[i]的程序组织单元POU编号列表,POU总数为N,设当前处理的POU下标为j,j初始值为0,0≤j<N;c) Query to obtain the list of POU numbers of the program organization unit of the controller DPU[i], the total number of POUs is N, set the subscript of the currently processed POU as j, and the initial value of j is 0, 0≤j<N;

d)下发查询DPU[i].POU[j]的调试数据,接收控制器上送的调试数据,解析当前POU的调试数据,汇总处于强制状态的变量和功能块列表;关闭当前POU对应的视图和释放动态分配的内存数据;d) Send and query the debugging data of DPU[i].POU[j], receive the debugging data sent by the controller, parse the debugging data of the current POU, summarize the list of variables and function blocks in the forced state; close the corresponding to the current POU View and release dynamically allocated memory data;

e)j=j+1;若j≥N则跳转到步骤f);若j<N则跳转到步骤d);e)j=j+1; if j≥N, jump to step f); if j<N, jump to step d);

f)i=i+1;若i≥M则跳转到步骤g);若i<M则跳转到步骤b);f) i=i+1; if i≥M, jump to step g); if i<M, jump to step b);

g)按照控制器为单位分层汇总展示处于强制状态的变量和功能块;支持选择1个、多个、所有节点右键菜单下发解除强制状态,再次获取各个POU页面调试数据,确认解除成功,在强制结果显示界面显示解除强制结果。g) Display the variables and function blocks in the forced state hierarchically according to the unit of the controller; support to select one, multiple, and all nodes to release the forced state from the right-click menu, obtain the debugging data of each POU page again, and confirm that the release is successful, On the forced result display interface, the forced release result is displayed.

进一步地,DCS系统中一个工程包括若干控制器,单个控制器组态包括全局变量定义、硬件配置和若干可视化程序页面;全局变量定义、硬件配置和可视化程序页面对应的产物以POU为单位进行管理,单个控制器最多支持1000个POU文件。Further, a project in the DCS system includes several controllers, and a single controller configuration includes global variable definition, hardware configuration, and several visualization program pages; products corresponding to global variable definition, hardware configuration, and visualization program pages are managed in units of POUs. , a single controller supports up to 1000 POU files.

进一步地,在强制结果显示界面,点击单个强制点条目时,自动打开关联的全局变量定义视图、件配置界面或者可视化页面,将该强制点对应的变量或者功能块的背景填充色设置为浅红色;右键选择取消强制后,下发取消强制报文,在定时器函数中下发请求该强制点对应POU的调试数据,在网络接收线程中收取该POU调试数据,若解除强制成功,恢复该强制点对应的变量或者功能块的背景填充色为白色。采用上述方案后,本发明实现了整个工程一键获取显示强制点,支持批量解除强制和确认,确保了DCS组态的安全性、方便性,在多个火电组态中进行了应用,取得较好的应用效果。Further, in the mandatory result display interface, when clicking a single mandatory point entry, the associated global variable definition view, component configuration interface or visualization page is automatically opened, and the background fill color of the variable or function block corresponding to the mandatory point is set to light red. ;After right-clicking and selecting Cancel Force, send the Cancel Force message, send the debug data requesting the POU corresponding to the force point in the timer function, and collect the POU debugging data in the network receiving thread. If the force is released successfully, restore the force The background fill color of the variable or function block corresponding to the point is white. After adopting the above scheme, the present invention realizes one-key acquisition and display of mandatory points for the entire project, supports batch release of mandatory points and confirmation, ensures the safety and convenience of DCS configuration, is applied in multiple thermal power configurations, and achieves relatively high performance. good application effect.

附图说明Description of drawings

图1是本发明的强制状态查找处理流程图。FIG. 1 is a flow chart of the forced state search process of the present invention.

具体实施方式Detailed ways

以下将结合附图,对本发明的技术方案进行详细说明。一个DCS系统中的工程包括若干控制器,单个控制器组态包括全局变量定义、硬件配置、若干可视化程序页面。全局变量定义、硬件配置、可视化程序页面对应的产物以POU(程序组织单元)为单位进行管理,单个控制器最多支持1000个POU文件。The technical solutions of the present invention will be described in detail below with reference to the accompanying drawings. A project in a DCS system includes several controllers, and a single controller configuration includes global variable definition, hardware configuration, and several visual program pages. The products corresponding to the global variable definition, hardware configuration, and visual program page are managed in units of POU (Program Organization Unit). A single controller supports up to 1000 POU files.

如图1所示,本发明一种自动化的强制状态查找方法,具体实现步骤如下:As shown in Figure 1, a kind of automatic forced state search method of the present invention, specific implementation steps are as follows:

a)打开DCS系统中工程,读取控制器列表中分散式处理单元DPU,设DPU数量为M,设当前处理的控制器下标为i,i初始值为0,0≤i<M;;a) Open the project in the DCS system, read the distributed processing unit DPU in the controller list, set the number of DPUs to be M, set the subscript of the currently processed controller to be i, and the initial value of i is 0, 0≤i<M;

b),当前待连接的控制器为DPU[i],获取该控制器的IP,网络方式连接DPU[i],若连接不成功则i=i+1,重复步骤b),继续连接下一个控制器;b), the current controller to be connected is DPU[i], obtain the IP of the controller, and connect to DPU[i] by network mode, if the connection is unsuccessful, i=i+1, repeat step b), and continue to connect to the next one controller;

c)查询获取控制器DPU[i]的程序组织单元POU编号列表,POU总数为N,设当前处理的POU下标为j,j初始值为0,0≤j<N;c) Query to obtain the list of POU numbers of the program organization unit of the controller DPU[i], the total number of POUs is N, set the subscript of the currently processed POU as j, and the initial value of j is 0, 0≤j<N;

d)下发查询DPU[i].POU[j]的调试数据,接收控制器上送的调试数据,解析当前POU的调试数据,汇总处于强制状态的变量和功能块列表;关闭当前POU对应的视图和释放动态分配的内存数据;d) Send and query the debugging data of DPU[i].POU[j], receive the debugging data sent by the controller, parse the debugging data of the current POU, summarize the list of variables and function blocks in the forced state; close the corresponding to the current POU View and release dynamically allocated memory data;

e)j=j+1;若j≥N则跳转到步骤f);若j<N则跳转到步骤d);e)j=j+1; if j≥N, jump to step f); if j<N, jump to step d);

f)i=i+1;若i≥M则跳转到步骤g);若i<M则跳转到步骤b);f) i=i+1; if i≥M, jump to step g); if i<M, jump to step b);

g)按照控制器为单位分层汇总展示处于强制状态的变量和功能块;支持选择1个、多个、所有节点右键菜单下发解除强制状态,再次获取各个POU页面调试数据,确认解除成功,在强制结果显示界面显示解除强制结果。在强制结果显示界面,点击单个强制点条目时,自动打开关联的全局变量定义视图、件配置界面或者可视化页面,将该强制点对应的变量或者功能块的背景填充色设置为浅红色。右键选择取消强制后,下发取消强制报文,在定时器函数中下发请求该强制点对应POU的调试数据,在网络接收线程中收取该POU调试数据,若解除强制成功,恢复该强制点对应的变量或者功能块的背景填充色为白色。g) Display the variables and function blocks in the forced state hierarchically according to the unit of the controller; support to select one, multiple, and all nodes to release the forced state from the right-click menu, obtain the debugging data of each POU page again, and confirm that the release is successful, On the forced result display interface, the forced release result is displayed. In the forced result display interface, when a single forced point entry is clicked, the associated global variable definition view, component configuration interface or visualization page is automatically opened, and the background fill color of the variable or function block corresponding to the forced point is set to light red. Right-click and select Cancel Force, send a Cancel Force message, send the debug data requesting the POU corresponding to the force point in the timer function, and collect the POU debugging data in the network receiving thread. If the force release is successful, restore the force point. The background fill color of the corresponding variable or function block is white.

以上实施例仅为说明本发明的技术思想,不能以此限定本发明的保护范围,凡是按照本发明提出的技术思想,在技术方案基础上所做的任何改动,均落入本发明保护范围之内。The above embodiments are only to illustrate the technical idea of the present invention, and cannot limit the protection scope of the present invention. Any modification made on the basis of the technical solution according to the technical idea proposed by the present invention falls within the protection scope of the present invention. Inside.

Claims (1)

Translated fromChinese
1.一种强制状态查找处理方法,其特征在于:包括如下步骤:1. a mandatory state search processing method, is characterized in that: comprise the steps:a)打开DCS系统中工程,读取控制器列表中分散式处理单元DPU,设DPU数量为M,设当前处理的控制器下标为i,i初始值为0,0≤i<M;a) Open the project in the DCS system, read the distributed processing unit DPU in the controller list, set the number of DPUs to M, set the subscript of the currently processed controller to be i, the initial value of i is 0, 0≤i<M;b)当前待连接的控制器列表中分散式处理单元为DPU[i],获取该控制器的IP,网络方式连接DPU[i],若连接不成功则i=i+1,重复步骤b),继续连接下一个控制器;b) The distributed processing unit in the current list of controllers to be connected is DPU[i], obtain the IP of the controller, and connect to DPU[i] in the network mode. If the connection is unsuccessful, i=i+1, repeat step b) , continue to connect to the next controller;c)查询获取控制器DPU[i]的程序组织单元POU编号列表,POU总数为N,设当前处理的POU下标为j,j初始值为0,0≤j<N;c) Query to obtain the list of POU numbers of the program organization unit of the controller DPU[i], the total number of POUs is N, set the subscript of the currently processed POU as j, and the initial value of j is 0, 0≤j<N;d)下发查询DPU[i].POU[j]的调试数据,接收控制器上送的调试数据,解析当前POU的调试数据,汇总处于强制状态的变量和功能块列表;关闭当前POU对应的视图和释放动态分配的内存数据;d) Send and query the debugging data of DPU[i].POU[j], receive the debugging data sent by the controller, parse the debugging data of the current POU, summarize the list of variables and function blocks in the forced state; close the corresponding to the current POU View and release dynamically allocated memory data;e)j=j+1;若j≥N则跳转到步骤f);若j<N则跳转到步骤d);e)j=j+1; if j≥N, jump to step f); if j<N, jump to step d);f)i=i+1;若i≥M则跳转到步骤g);若i<M则跳转到步骤b);f) i=i+1; if i≥M, jump to step g); if i<M, jump to step b);g)按照控制器为单位分层汇总展示处于强制状态的变量和功能块;支持选择1个、多个、所有节点右键菜单下发解除强制状态,再次获取各个POU页面调试数据,确认解除成功,在强制结果显示界面显示解除强制结果;g) Display the variables and function blocks in the forced state hierarchically according to the unit of the controller; support to select one, multiple, and all nodes to release the forced state from the right-click menu, obtain the debugging data of each POU page again, and confirm that the release is successful, Display the result of releasing the compulsory result in the compulsory result display interface;DCS系统中一个工程包括若干控制器列表中分散式处理单元DPU,单个控制器列表中分散式处理单元DPU组态包括全局变量定义、硬件配置和若干可视化程序页面;全局变量定义、硬件配置和可视化程序页面对应的产物以POU为单位进行管理,单个控制器列表中分散式处理单元DPU最多支持1000个POU文件;A project in the DCS system includes the distributed processing unit DPU in several controller lists, and the distributed processing unit DPU configuration in a single controller list includes global variable definition, hardware configuration and several visualization program pages; global variable definition, hardware configuration and visualization The products corresponding to the program page are managed in POU units, and the distributed processing unit DPU in a single controller list supports up to 1000 POU files;在强制结果显示界面,点击单个强制点条目时,自动打开关联的全局变量定义视图、硬件配置界面或者可视化页面,将该强制点对应的变量或者功能块的背景填充色设置为浅红色;右键选择取消强制后,下发取消强制报文,在定时器函数中下发请求该强制点对应POU的调试数据,在网络接收线程中收取该POU调试数据,若解除强制成功,恢复该强制点对应的变量或者功能块的背景填充色为白色。In the forced result display interface, when you click a single forced point entry, the associated global variable definition view, hardware configuration interface or visualization page will be automatically opened, and the background fill color of the variable or function block corresponding to the forced point will be set to light red; right-click to select After canceling the force, send the cancel force message, send the debugging data of the POU corresponding to the force point in the timer function, and collect the POU debugging data in the network receiving thread. If the force release is successful, restore the corresponding force point. The background fill color of a variable or function block is white.
CN202110429696.XA2021-04-212021-04-21Forced state searching processing methodActiveCN113189961B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110429696.XACN113189961B (en)2021-04-212021-04-21Forced state searching processing method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110429696.XACN113189961B (en)2021-04-212021-04-21Forced state searching processing method

Publications (2)

Publication NumberPublication Date
CN113189961A CN113189961A (en)2021-07-30
CN113189961Btrue CN113189961B (en)2022-09-02

Family

ID=76977863

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110429696.XAActiveCN113189961B (en)2021-04-212021-04-21Forced state searching processing method

Country Status (1)

CountryLink
CN (1)CN113189961B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113759850B (en)*2021-09-132022-12-13西安热工研究院有限公司Method for searching forced state function block by DCS (distributed control System) of thermal power plant
CN113671924B (en)*2021-10-252022-01-25西安热工研究院有限公司DCS real-time value setting method and system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102967406A (en)*2012-11-262013-03-13山东电力集团公司电力科学研究院Pressure measurement system capable of implementing data acquisition and display simultaneously and wiring method of system
CN106896792A (en)*2017-01-242017-06-27北京广利核系统工程有限公司Method of data synchronization and device
JP2017142794A (en)*2016-02-052017-08-17富士電機株式会社Programmable controller system, controller thereof, support device, hci device, and duplex controller system
JP2018156511A (en)*2017-03-212018-10-04株式会社明電舎Method of controlling a programmable logic controller memory
CN109062152A (en)*2018-07-262018-12-21中国核动力研究设计院A kind of Loacl variable on-line monitoring method that logic-based configuration generates
CN109085817A (en)*2018-09-292018-12-25中广核工程有限公司 Control method and system for off-line downloading of CPU during joint commissioning of nuclear power units
CN111552172A (en)*2020-04-272020-08-18浙江中控技术股份有限公司Data processing method and device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102967406A (en)*2012-11-262013-03-13山东电力集团公司电力科学研究院Pressure measurement system capable of implementing data acquisition and display simultaneously and wiring method of system
JP2017142794A (en)*2016-02-052017-08-17富士電機株式会社Programmable controller system, controller thereof, support device, hci device, and duplex controller system
CN106896792A (en)*2017-01-242017-06-27北京广利核系统工程有限公司Method of data synchronization and device
JP2018156511A (en)*2017-03-212018-10-04株式会社明電舎Method of controlling a programmable logic controller memory
CN109062152A (en)*2018-07-262018-12-21中国核动力研究设计院A kind of Loacl variable on-line monitoring method that logic-based configuration generates
CN109085817A (en)*2018-09-292018-12-25中广核工程有限公司 Control method and system for off-line downloading of CPU during joint commissioning of nuclear power units
CN111552172A (en)*2020-04-272020-08-18浙江中控技术股份有限公司Data processing method and device, storage medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
和利时DCS系统常见故障及处理方法;解向军;《科技创新导报》;20180211(第5期);第44-47页*

Also Published As

Publication numberPublication date
CN113189961A (en)2021-07-30

Similar Documents

PublicationPublication DateTitle
CN113156902B (en)Configuration consistency checking and processing method of DCS (distributed control system)
US8667078B2 (en)Systems and methods of extracting, storing, and serving device definition file information
CN108009258B (en)Data acquisition and analysis platform capable of being configured online
CN113189961B (en)Forced state searching processing method
CN111666217B (en)Method and apparatus for testing code
CN110928796B (en)Automatic test platform
CN114511251B (en)Order arranging method, process parameter requesting method and related equipment
CN118506128A (en) Supercomputing model training and deployment methods
CN116044867A (en)Hydraulic system control method, system, equipment and medium based on automatic programming
JP3139459B2 (en) Debugging device and method for parallel distributed system
US20220035359A1 (en)System and method for determining manufacturing plant topology and fault propagation information
CN104967667A (en)Software stability test remote monitoring system based on cloud service
CN118573701A (en)Equipment networking system based on industrial protocol
WO2021032820A1 (en)Method for generating a coherent representation for at least two log files
CN117540692A (en)Chip signal analysis method, device, equipment and storage medium
CN112685313B (en) Mock data updating method, device and computer equipment
CN115904388A (en)Application program protocol analysis method, device, equipment 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
CN111176982A (en)Test interface generation method and device
CN111767075A (en)Method and device for synchronizing application program versions
TWI758175B (en)A data processing system and method
CN115914379B (en) Data exchange device and data exchange system
US20220318007A1 (en)Programming support apparatus
CN116860522A (en)Automatic backup method, device, equipment and medium of jenkins system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp