CN103092609A - Method and man-machine interaction device for displaying interaction of configuration software and collector data - Google Patents

Method and man-machine interaction device for displaying interaction of configuration software and collector data Download PDF

Info

Publication number
CN103092609A
CN103092609A CN2012105837348A CN201210583734A CN103092609A CN 103092609 A CN103092609 A CN 103092609A CN 2012105837348 A CN2012105837348 A CN 2012105837348A CN 201210583734 A CN201210583734 A CN 201210583734A CN 103092609 A CN103092609 A CN 103092609A
Authority
CN
China
Prior art keywords
controller
configuration software
computer interaction
data
interaction device
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.)
Granted
Application number
CN2012105837348A
Other languages
Chinese (zh)
Other versions
CN103092609B (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.)
Hunan Sany Intelligent Control Equipment Co Ltd
Original Assignee
Sany Heavy Industry 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 Sany Heavy Industry Co Ltd filed Critical Sany Heavy Industry Co Ltd
Priority to CN201210583734.8A priority Critical patent/CN103092609B/en
Publication of CN103092609A publication Critical patent/CN103092609A/en
Application granted granted Critical
Publication of CN103092609B publication Critical patent/CN103092609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Control By Computers (AREA)

Abstract

The invention discloses a method and a man-machine interaction device for displaying interaction of a configuration software and collector data. The method comprises the following steps: extracting project variable information for a control configuration software configured in a controller, and storing the information into a file with a predetermined t form; leading the file with the predetermined form into a display configuration software; regenerating relevant information by a dynamic-link library inside the display configuration software according to the file with the predetermined form; carrying out framing on the relevant information by the dynamic-link library, carrying out communication between the dynamic-link library and the controller, and achieving data interaction. The project variable information of the controller can be extracted through a third party software. The method and the man-machine interaction device for the displaying interaction of the configuration software and the collector data have the advantages of being easy to operate, strong in expandability, small in development difficulty, and the like.

Description

Show method, human-computer interaction device that configuration software and controller data are mutual
Technical field
The present invention relates generally to the man-machine interface field, specifically, relates to and a kind ofly shows configuration software and the mutual method of controller data, and use the human-computer interaction device that the method forms.
Background technology
Configuration software refers to the special software of a class data acquisition and process control, can be divided into according to its function showing configuration software and controlling configuration software.The developer need not that bottom is had too much understanding, only needs to add required control in development environment, writes simple control script and can complete complicated embedded software developing, namely so-called " configuration ".Show that configuration software often is disposed at as in the human-computer interaction devices such as industrial LCD, by communication interface realizes and controller between data interaction, and then realization is to the demonstration of correlation engineering variable information.
In prior art, the following dual mode realization of demonstration configuration software employing is communicated by letter with controller:
First kind of way is directly controller to be solidificated in to show in configuration software, but adopts this kind mode user just can only select existing controller in this demonstration configuration software, and extensibility is not strong.
The second way is to import third party device, adopts intermediate conversion equipment between external unit and human-computer interaction device, completes data source collection and data interaction.But adopt this kind mode, the user just needs oneself to write driver, and need call corresponding function and realize and the data interaction of controller in showing configuration software, and process very bothers, and difficulty is larger, and the project development cycle is longer.
Therefore, how by a kind of conveniently mode, realizing showing the data interaction between configuration software and controller, is the technical matters that those skilled in the art need to be resolved hurrily.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of configuration software and mutual method of controller data of showing, the method extensibility is strong, and need not increase intermediate conversion equipment.
The present invention shows configuration software and the mutual method of controller data, comprises the following steps:
Step 1: extract the engineering variable information that is disposed at the control configuration software in controller, it is saved as the file of predetermined format;
Step 2: the file of described predetermined format is imported the demonstration configuration software;
Step 3: the dynamic link library of described demonstration configuration software inside regenerates relevant information according to the file of described predetermined format;
Step 4: described dynamic link library carries out framing with described relevant information, communicates between described dynamic link library and controller and realizes data interaction.
Further, the engineering variable information of described control configuration software comprises address of variable information and data type of a variable information.
Further, further comprising the steps of:
Establishment equipment buffer zone;
The data of communicating by letter between described dynamic link library and controller are deposited in described equipment buffer zone.
Further, communicate by serial line interface, CAN or Ethernet between described dynamic link library and described controller.
Further, for described step 1 and step 2, user's concrete operation method is:
Open the development environment interface that shows configuration software, performance variable arranges the interface;
Eject the engineering variable and select the interface, choose corresponding engineering variable;
Complete the binding between the engineering variable of the real-time data base variable that shows configuration software and controller.
Another aspect of the present invention, a kind of human-computer interaction device also is provided, described human-computer interaction device comprises display module at least, described display module is used for the engineering variable information of display controller, described human-computer interaction device disposes the demonstration configuration software, described human-computer interaction device be used for controller between direct communication be connected, the method by aforementioned any one between described demonstration configuration software and described controller is carried out data interaction.
Further, described human-computer interaction device is provided with communication interface, and described communication interface is serial line interface, CAN interface or Ethernet interface.
Further, described human-computer interaction device also is provided with load module, and described load module is used for input control order.
Further, described human-computer interaction device also is provided with alarm module, and when described engineering variable information was preset state, described alarm module sent alerting signal.
Demonstration configuration software of the present invention can obtain the engineering variable information of controller by third party software, can directly realize real-time data base variable and the binding of controller engineering variable at the development environment that shows configuration software, and then realize data interaction, whole process is visual, and process is simple, easy operating; In addition, demonstration configuration software of the present invention can also be expanded controller accordingly according to application demand, and extensibility is strong.
And the present invention shows that communicating by letter between configuration software and controller need not intermediate conversion equipment, and is simple in structure, can directly apply to existing equipment; In addition, the user need not to be concerned about communication protocol, and need not write third party's driving, can complete data interaction, has greatly shortened the project development cycle.
Description of drawings
The accompanying drawing that consists of a part of the present invention is used to provide a further understanding of the present invention, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the demonstration configuration software of one embodiment of the invention and the schematic diagram of controller data exchange method;
Fig. 2 is the schematic diagram of the human-computer interaction interface of one embodiment of the invention.
Embodiment
Need to prove, in the situation that do not conflict, embodiment and the feature in embodiment in the present invention can make up mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Shown in Figure 1 is the demonstration configuration software of one embodiment of the invention and the schematic diagram of controller data exchange method.This data interactive method can be applicable in human-computer interaction device (as industrial LCD).This human-computer interaction device is according to the engineering variable information of controller, can carry out corresponding graphical or digitizing and show, thereby provide foundation for user's engineering strategy and control.
This embodiment shows configuration software and the mutual method of controller data, can specifically be subdivided into following steps:
Step 1: extract the engineering variable information that is disposed at the control configuration software in controller, it is saved as the file of predetermined format.
This project variable can be the various duties as testee, as pressure measurement information, measurement of dip angle information and the velocity survey information etc. of engineering machinery.This project variable information can comprise address of variable information and the data type of a variable information of controlling in configuration software that is stored in.Third party software can be converted to .ini file or other form with controlling the project file of depositing the engineering variable information in configuration software.
Step 2: the file of described predetermined format is imported the demonstration configuration software.
Abovementioned steps can be completed at bottom by third party software.More specifically, for step 1 and step 2, the user can complete by following concrete operations:
Open the development environment interface that shows configuration software, performance variable arranges the interface; Eject the engineering variable and select the interface, choose corresponding engineering variable; Complete the binding between the engineering variable of the real-time data base variable that shows configuration software and controller.
When performance variable arranged the interface, the user can click I/O equipment wherein, and variable selects the interface to eject, and this interface is controller engineering variable information.The user can select part or all-work variable to bind according to the actual requirements, and then realizes that corresponding real-time data base upgrades and shows.
Step 3: the dynamic link library of described demonstration configuration software inside regenerates relevant information according to the file of described predetermined format.
Dynamic link library can regenerate relevant address of variable information and types of variables information according to aforementioned .ini file.
Step 4: described dynamic link library carries out framing with described relevant information, communicates between described dynamic link library and controller and realizes data interaction.
The correlated variables address information that regenerates and types of variables information exchange cross corresponding algorithm and rule is carried out framing, and dynamic link library can be by communicating between serial line interface, CAN or Ethernet and controller.
On the basis of technique scheme, show that communicating by letter between configuration software and controller need not intermediate conversion equipment, can complete by third party software, simple in structure; And the user can directly realize at the development environment interface real-time data base variable and the binding of controller engineering variable, and whole process is visual, and is simple to operate.
Further, in order to preserve the communication data between dynamic link library and controller, so that the user calls historical data, carry out chart and trend analysis, preferably further comprising the steps of: as to create the equipment buffer zone; The data of communicating by letter between described dynamic link library and controller are deposited in described equipment buffer zone.This equipment buffer zone can be by showing that configuration software creates.
Except aforementioned demonstration configuration software and the mutual method of controller data, the present invention also provides a kind of human-computer interaction device that the method realizes that uses.With reference to figure 2, described human-computer interaction device be used for controller between direct communication be connected, this human-computer interaction device comprises display module at least, described display module is used for the engineering variable information of display controller, described human-computer interaction device disposes the demonstration configuration software, and the method by previous embodiment between described demonstration configuration software and described controller is carried out data interaction.
Preferred described human-computer interaction device is provided with communication interface, and described communication interface is serial line interface, CAN interface or Ethernet interface.
Further, described human-computer interaction device can also be provided with load module.Described load module is used for input control order, by this load module, can realize that the user is to human-computer interaction device's operation.As a kind of embodiment, the user can pass through this load module, selects part or all-work variable, the binding between the real-time data base variable of realization demonstration configuration software and the engineering variable of controller.
In addition, described human-computer interaction device can also be provided with alarm module, and when described engineering variable information was preset state, described alarm module sent alerting signal.Such as, at the engineering variable information during greater than the maximum preset value or less than minimum preset value, the alarm module indication warning.Alerting signal can be the buzzing of hummer, perhaps luminous or flicker of pilot lamp etc.
Previous embodiment of the present invention can be extracted the engineering variable information of controller by third party software, dynamic link library regenerates the relevant information of controller engineering variable, thereby and can carry out realizing data interaction between framing and controller to it.Compared with prior art, previous embodiment of the present invention has the following advantages:
1) easy operating, extensibility are strong
Show that configuration software can obtain the engineering variable information of controller by third party software, can directly realize real-time data base variable and the binding of controller engineering variable at the development environment that shows configuration software, and then realizing data interaction, whole process is visual, and process is simple, easy operating; In addition, the demonstration configuration software can also be expanded controller accordingly according to application demand, and extensibility is strong.
2) simple in structure, development difficulty is little
Show that communicating by letter between configuration software and controller need not intermediate conversion equipment, simple in structure, can directly apply to existing equipment; In addition, the user need not to be concerned about communication protocol, and need not write third party's driving, can complete data interaction, has greatly shortened the project development cycle.
Therefore, the beneficial effect of previous embodiment of the present invention is significant.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (9)

1. one kind shows configuration software and the mutual method of controller data, it is characterized in that, comprises the following steps:
Step 1: extract the engineering variable information that is disposed at the control configuration software in controller, it is saved as the file of predetermined format;
Step 2: the file of described predetermined format is imported the demonstration configuration software;
Step 3: the dynamic link library of described demonstration configuration software inside regenerates relevant information according to the file of described predetermined format;
Step 4: described dynamic link library carries out framing with described relevant information, communicates between described dynamic link library and controller and realizes data interaction.
2. the mutual method of demonstration configuration software according to claim 1 and controller data, is characterized in that, the engineering variable information of described control configuration software comprises address of variable information and data type of a variable information.
3. the mutual method of demonstration configuration software according to claim 1 and controller data, is characterized in that, and is further comprising the steps of:
Establishment equipment buffer zone;
The data of communicating by letter between described dynamic link library and controller are deposited in described equipment buffer zone.
4. the mutual method of demonstration configuration software according to claim 1 and controller data, is characterized in that, communicates by serial line interface, CAN or Ethernet between described dynamic link library and described controller.
5. the mutual method of according to claim 1-4 described demonstration configuration softwares of any one and controller data, is characterized in that, for described step 1 and step 2, user's concrete operation method is:
Open the development environment interface that shows configuration software, performance variable arranges the interface;
Eject the engineering variable and select the interface, choose corresponding engineering variable;
Complete the binding between the engineering variable of the real-time data base variable that shows configuration software and controller.
6. human-computer interaction device, described human-computer interaction device comprises display module at least, described display module is used for the engineering variable information of display controller, described human-computer interaction device disposes the demonstration configuration software, it is characterized in that, described human-computer interaction device be used for controller between direct communication be connected, carry out data interaction by the described method of claim 1-5 any one between described demonstration configuration software and described controller.
7. human-computer interaction device according to claim 6, is characterized in that, described human-computer interaction device is provided with communication interface, and described communication interface is serial line interface, CAN interface or Ethernet interface.
8. according to claim 6 or 7 described human-computer interaction devices, is characterized in that, described human-computer interaction device also is provided with load module, and described load module is used for input control order.
9. according to claim 6 or 7 described human-computer interaction devices, is characterized in that, described human-computer interaction device also is provided with alarm module, and when described engineering variable information was preset state, described alarm module sent alerting signal.
CN201210583734.8A 2012-12-28 2012-12-28 Show method, human-computer interaction device that configuration software and controller data are mutual Active CN103092609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210583734.8A CN103092609B (en) 2012-12-28 2012-12-28 Show method, human-computer interaction device that configuration software and controller data are mutual

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210583734.8A CN103092609B (en) 2012-12-28 2012-12-28 Show method, human-computer interaction device that configuration software and controller data are mutual

Publications (2)

Publication Number Publication Date
CN103092609A true CN103092609A (en) 2013-05-08
CN103092609B CN103092609B (en) 2016-05-25

Family

ID=48205220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210583734.8A Active CN103092609B (en) 2012-12-28 2012-12-28 Show method, human-computer interaction device that configuration software and controller data are mutual

Country Status (1)

Country Link
CN (1) CN103092609B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302545A (en) * 2015-09-02 2016-02-03 湖南三一智能控制设备有限公司 Method and device for custom control development of configuration software
CN112068534A (en) * 2020-09-11 2020-12-11 中国石油天然气集团有限公司 Graphical display system and method for industrial control logic
CN112350944A (en) * 2020-11-11 2021-02-09 南京晓庄学院 Communication method of configuration software and monitoring large screen based on dynamic data exchange mechanism
CN113221511A (en) * 2021-04-13 2021-08-06 浙江中控研究院有限公司 Method, device and equipment for converting configuration file into XML file and storage medium
CN114489777A (en) * 2022-04-06 2022-05-13 北京精雕科技集团有限公司 Communication method and device for automation system and peripheral

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996693A (en) * 2009-08-25 2011-03-30 北京广利核系统工程有限公司 Configuration system for reactor protection system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996693A (en) * 2009-08-25 2011-03-30 北京广利核系统工程有限公司 Configuration system for reactor protection system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邵刚: "组态软件数据接口与人机界面关键技术开发研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302545A (en) * 2015-09-02 2016-02-03 湖南三一智能控制设备有限公司 Method and device for custom control development of configuration software
CN105302545B (en) * 2015-09-02 2020-02-07 湖南三一智能控制设备有限公司 Method and device for developing custom control of configuration software
CN112068534A (en) * 2020-09-11 2020-12-11 中国石油天然气集团有限公司 Graphical display system and method for industrial control logic
CN112068534B (en) * 2020-09-11 2022-02-01 中国石油天然气集团有限公司 Graphical display system and method for industrial control logic
CN112350944A (en) * 2020-11-11 2021-02-09 南京晓庄学院 Communication method of configuration software and monitoring large screen based on dynamic data exchange mechanism
CN113221511A (en) * 2021-04-13 2021-08-06 浙江中控研究院有限公司 Method, device and equipment for converting configuration file into XML file and storage medium
CN114489777A (en) * 2022-04-06 2022-05-13 北京精雕科技集团有限公司 Communication method and device for automation system and peripheral

Also Published As

Publication number Publication date
CN103092609B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN104077253B (en) cross-device communication transmission system and method thereof
CN102855648B (en) A kind of image processing method and device
CN103092609A (en) Method and man-machine interaction device for displaying interaction of configuration software and collector data
RU2006133383A (en) VISUALIZATION OF THE USER INTERFACE
CN103176802B (en) Realize the method that the user interface UI of system separates with widget library by control pond
CN102681856A (en) System and method used for achieving human-computer interface of robot and based on demonstrator
CN103150198B (en) A kind of display methods of configuration software
CN101853157A (en) Automatic identification method for application software GUI object
CN101876825B (en) Human-computer interface device of small PLC
CN104503769A (en) Character dot matrix liquid crystal interface implementation method based on XML (extensive markup language) configuration file
CN105511442A (en) Man-machine interaction system and method, and fire fighting truck
CN106896956B (en) The implementation method of multi-point touch under one kind " road " system
CN103605457B (en) The conversion method of a kind of widget and icon and intelligent terminal
CN201508489U (en) Automatic centralized control system
CN201749350U (en) Human-machine interface device for miniature PLC
CN103162973A (en) Single-chip multi-thread automobile diagnosis system and method
CN102439569A (en) Method and device for checking system state of device
CN102929186B (en) Method for implementing data communication between model system and Web monitor screen
CN201215627Y (en) Visual control and communication system for high-low pressure lubricating station
CN105068803A (en) Human-computer interface realization method and device
CN105653257B (en) Sand table system capable of customizing strategy
CN104007896A (en) Information processing method and electronic equipment
CN111722843A (en) HMI system, HMI component thereof, HMI component development method and vehicle-mounted display equipment
CN109542648A (en) A kind of method and device of striding course communication
CN103729216A (en) ARINC429 board data input/output method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180808

Address after: 410100 31 industrial city, Changsha economic and Technological Development Zone, Hunan

Patentee after: Hunan Sany Intelligent Control Equipment Co., Ltd.

Address before: 410100 31 industrial city, Changsha economic and Technological Development Zone, Hunan

Patentee before: Sanyi Heavy Industry Co., Ltd.