Font Size: a A A

Research On Alarm Module Based On CS4000

Posted on:2018-04-29Degree:MasterType:Thesis
Country:ChinaCandidate:L WangFull Text:PDF
GTID:2348330515455117Subject:Control engineering
Abstract/Summary:PDF Full Text Request
The potion of alarm and events is indispensable in the industrial process control system,at the appearance of fault and large disturbance in the system,the situation of instability and unsafety will produce alarm.It increases the safety and correctness of the industrial process control system and improves the efficiency of industrial process that the expression of alarm message makes the operators find the problem and solve the problem.In this paper,deep research on alarm and events of the system and accomplishment of alarm module by programming is things to do.Industrial alarm pays attention to speed and accuracy of data processing and alarm display,whose data is partitioned through alarm types and data types,equivalent to an index of the data,so that it can reduce the time of data query.Data types are divided into AI(analog input),AO(analog output),DI(digital quantity input),DO(digital output),and alarm type is classified into the limit alarm,deviation alarm,the rate of change alarm and open alarm,close alarm,change alarm.Alarm module can display and store the alarm information on the application of the language of Visual C++ MFC(Microsoft Foundation Class Library)and API(Application Program Interface),and MFC is a class set provided by Visual C++to write the Windows application which encapsulates many Windows API function and control module.The advantage of using Visual C++ is that Visual C++ MFC class has a "guide"(Wizard)which is used to form the application framework.With this basic framework,through perfecting the content,the corresponding function can be realized,therefore,it is very effective and simple to program by Visual C++ MFC and API class.On data processing,a series of static parameters,such as alarm requirement,is stored in the MySQL database,which is to be compared with the actual value of variables,in order to achieve the function of data processing and alarm.ODBC is used to connected database to programming.Historical data and alarm information of alarm process is stored in MySQL database for user query.Actual industrial system need to deal with large amount of data with the requirement of real time.Technology of memory mapping file is used to realize the design of shared memory which links to data communication between processes.Based on CS4000 industrial process control system,interface design,data processing,alarm function and actual test is completed by the alarm module using Visual C++ language,in order to achieve alarm function.
Keywords/Search Tags:alarm and events, Visual C++, shared memory, data processing
PDF Full Text Request
Related items