CN105589724B - A kind of method that high speed creates system variable - Google Patents
A kind of method that high speed creates system variable Download PDFInfo
- Publication number
- CN105589724B CN105589724B CN201510982602.6A CN201510982602A CN105589724B CN 105589724 B CN105589724 B CN 105589724B CN 201510982602 A CN201510982602 A CN 201510982602A CN 105589724 B CN105589724 B CN 105589724B
- Authority
- CN
- China
- Prior art keywords
- group
- tag
- system variable
- xml
- creates
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
Abstract
The present invention relates to a kind of methods that high speed creates system variable, start Tag Setting Tool program modules, to read the configuration file SubSystem.xml of the next system SubSystem and the information of configuration file TagGroupList.xml, Group.xml, and show main interface;User triggers the control event in main interface, and the Tag Setting Tool program modules call respective function to realize the batch establishment of opc server system variable Tag and the generation of new group Group;After batch in system variable Tag creates and newly organizes the generation of Group, the Tag Setting Tool program modules will organize Group information preservations in TagGroupList.xml configuration files, its subordinate's system variable Tag information preservation realizes the definition of system variable Tag configuration informations in the Group.xml configuration files of group Group namings.The batch for realizing system variable creates, and speed is fast, zero defect.
Description
Technical field
The present invention relates to a kind of methods that OPC technology field more particularly to high speed create system variable.
Background technology
OPC technology is the socket that multiple Automation Co., Ltd/software and hardware supplier develops cooperatively with Microsoft in the world
Industrial standard.Its design object be provided between field device/automatically control application/business administration application software it is open, one
The interface specification of cause, OPC technology provide a kind of method of consistent access field equipment data to industrial controlling software so that
It is embodied in the structure of industrial control system using OPC and provides big advantage.
Traditional industrial controlling software creates system variable Tag, needs the attribute of initialization system variable Tag step by step, often
It is secondary to create a system variable Tag.For needing high-volume to create system variable client, a large amount of manpower was not only consumed but also had held
Easily cause human error.
Invention content
The present invention is to overcome above-mentioned shortcoming, provides a kind of method that high speed creates system variable.
The present invention reaches above-mentioned purpose by the following technical programs:A kind of method that high speed creates system variable, including such as
Lower step:
S1. start Tag Setting Tool program modules, to read the configuration file of the next system SubSystem
The information of SubSystem.xml and configuration file TagGroupList.xml, Group.xml, and show main interface;
S2. user triggers the control event in main interface, and the Tag Setting Tool program modules call corresponding letter
Number realizes that the batch of opc server system variable Tag creates and newly organize the generation of Group;
S3. after the batch of system variable Tag creates and newly organizes the generation of Group, the Tag Setting Tool
Program module will organize Group information preservations in TagGroupList.xml configuration files, and subordinate's system variable Tag information is protected
In the presence of in the Group.xml configuration files of group Group namings, to realize the definition of system variable Tag configuration informations.
Further, the batch establishment of system variable Tag includes the following steps in the S3:User triggers in main interface
Multi-Tag Create events, the Tag Setting Tool program modules call batch to create function, are based on user couple
The parameter setting of system variable Tag, it is cumulative according to certain rule to the Start Address attributes of system variable Tag, it is system
Legal address in the register of the next system SubSystem of variable Tag distribution, and will be distributed to by the legal parameters checked
System variable Tag sequentially generates new system variable Tag, realizes that system variable Tag batches create.
Further, the generation that Group is newly organized in the S3 includes the following steps:User triggers the Group in main interface
Clone events, on the basis of existing group of Group, the Tag Setting Tool program modules read user and select down
Position system SubSystem and address offset amount, generate new group Group.
Further, the parameter setting of the Tag includes that the next system SubSystem configuration parameters and opc server are matched
Set the setting of parameter.
Beneficial effects of the present invention:After having configured system variable parameter, system is created according to the parameter of setting batch and is become
Tag is measured, and is automatically the reference address in the corresponding the next system SubSystem registers of its distribution according to certain rule.It is real
The batch for having showed system variable creates, and speed is fast, zero defect.
Description of the drawings
The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
Fig. 1 is general frame figure of the present invention.
Specific implementation mode
Below in conjunction with attached drawing, technical scheme of the present invention will be further described, but the present invention is not limited to these realities
Apply example.
In conjunction with attached drawing 1, a kind of method that high speed creates system variable includes the following steps:
S1. start Tag Setting Tool program modules, to read the configuration file of the next system SubSystem
The information of SubSystem.xml and configuration file TagGroupList.xml, Group.xml, and show main interface;
S2. user triggers the control event in main interface, and the Tag Setting Tool program modules call corresponding letter
Number realizes that the batch of opc server system variable Tag creates and newly organize the generation of Group;
S3. after the batch of system variable Tag creates and newly organizes the generation of Group, the Tag Setting Tool
Program module will organize Group information preservations in TagGroupList.xml configuration files, and subordinate's system variable Tag information is protected
In the presence of in the Group.xml configuration files of group Group namings, to realize the definition of system variable Tag configuration informations.
Further, the batch establishment of system variable Tag includes the following steps in the S3:User triggers in main interface
Multi-Tag Create events, the Tag Setting Tool program modules call batch to create function, are based on user couple
The parameter setting of system variable Tag, it is cumulative according to certain rule to the Start Address attributes of system variable Tag, it is system
Legal address in the register of the next system SubSystem of variable Tag distribution, and will be distributed to by the legal parameters checked
System variable Tag sequentially generates new system variable Tag, realizes that system variable Tag batches create.
Further, the generation that Group is newly organized in the S3 includes the following steps:User triggers the Group in main interface
Clone events, on the basis of existing group of Group, the Tag Setting Tool program modules read user and select down
Position system SubSystem and address offset amount, generate new group Group.
Further, the parameter setting of the Tag includes that the next system SubSystem configuration parameters and opc server are matched
Set the setting of parameter.
Tag Setting Tool programs realize the generation of opc server system variable Tag, realize inside opc server
The definition that system variable Tag is generated;Setting based on primary parameter can create a large amount of system variable Tag in batches, and be automatically
It distributes the next system SubSystem register storage address, ensures that system variable Tag configurations parameter is legal;Based on existing
Group Group, can generate new group Group, this group of Group has the system variable Tag of quantity identical as former group Group.
Specific embodiment described herein is only an example for the spirit of the invention.Technology belonging to the present invention is led
The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method
In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.
Claims (3)
1. a kind of method that high speed creates system variable, it is characterised in that:Include the following steps:
S1. start Tag Setting Tool program modules, to read the configuration file of the next system SubSystem
The information of SubSystem.xml and configuration file TagGroupList.xml, Group.xml, and show main interface;
S2. user triggers the control event in main interface, and the Tag Setting Tool program modules call respective function real
The batch of existing opc server system variable Tag creates and the generation of new group Group;
S3. after the batch of system variable Tag creates and newly organizes the generation of Group, the Tag Setting Tool programs
Module will organize Group information preservations in TagGroupList.xml configuration files, and subordinate's system variable Tag information preservations exist
In the Group.xml configuration files of group Group namings, to realize the definition of system variable Tag configuration informations;
The batch establishment of system variable Tag includes the following steps in the S3:User triggers the Multi- in main interface
TagCreate events, the Tag Setting Tool program modules call batch to create function, based on user to system variable
The parameter setting of Tag, it is cumulative according to certain rule to the Start Address attributes of system variable Tag, it is system variable Tag
Legal address in the register of the next system SubSystem of distribution, and become system is distributed to by the legal parameters checked
Tag is measured, new system variable Tag is sequentially generated, realizes that system variable Tag batches create.
2. the method that a kind of high speed according to claim 1 creates system variable, it is characterised in that:New group in the S3
The generation of Group includes the following steps:User triggers the Group Clone events in main interface, on the basis of existing group of Group
On, the Tag Setting Tool program modules read the next system SubSystem and address offset amount that user selectes, raw
The group Group of Cheng Xin.
3. the method that a kind of high speed according to claim 1 creates system variable, it is characterised in that:The system variable
The parameter setting of Tag includes the setting of the next system SubSystem configuration parameters and opc server configuration parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510982602.6A CN105589724B (en) | 2015-12-23 | 2015-12-23 | A kind of method that high speed creates system variable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510982602.6A CN105589724B (en) | 2015-12-23 | 2015-12-23 | A kind of method that high speed creates system variable |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105589724A CN105589724A (en) | 2016-05-18 |
CN105589724B true CN105589724B (en) | 2018-08-31 |
Family
ID=55929330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510982602.6A Active CN105589724B (en) | 2015-12-23 | 2015-12-23 | A kind of method that high speed creates system variable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105589724B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271400A (en) * | 2008-04-30 | 2008-09-24 | 北京中星微电子有限公司 | Computer command line parameter processing method and device |
CN101634833A (en) * | 2008-07-23 | 2010-01-27 | 沈阳中科博微自动化技术有限公司 | Open type configuration method and system for IO parameters of field device |
CN101714101A (en) * | 2001-06-22 | 2010-05-26 | 英维思系统股份有限公司 | Supervisory process control, method for manufacturing information system application and configuration device |
CN102346686A (en) * | 2011-07-18 | 2012-02-08 | 深圳市康必达中创科技有限公司 | Method for connecting interfaces between object linking and embedding for process control (OPC) server and OPC application program |
CN103955371A (en) * | 2014-04-29 | 2014-07-30 | 浙江银江研究院有限公司 | Design and development method for universal software module for performing data acquisition on serial-port instrument |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003001401A1 (en) * | 2001-06-22 | 2003-01-03 | Wonderware Corporation | Internationalization of objects executable in a supervisory process control and manufacturing information system |
WO2005116823A2 (en) * | 2004-05-17 | 2005-12-08 | Invensys Systems, Inc. | System and method for developing animated visualization interfaces |
US20080065706A1 (en) * | 2006-09-12 | 2008-03-13 | Fisher-Rosemount Systems, Inc. | Process Data Storage For Process Plant Diagnostics Development |
US10095202B2 (en) * | 2014-03-26 | 2018-10-09 | Rockwell Automation Technologies, Inc. | Multiple controllers configuration management interface for system connectivity |
-
2015
- 2015-12-23 CN CN201510982602.6A patent/CN105589724B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714101A (en) * | 2001-06-22 | 2010-05-26 | 英维思系统股份有限公司 | Supervisory process control, method for manufacturing information system application and configuration device |
CN101271400A (en) * | 2008-04-30 | 2008-09-24 | 北京中星微电子有限公司 | Computer command line parameter processing method and device |
CN101634833A (en) * | 2008-07-23 | 2010-01-27 | 沈阳中科博微自动化技术有限公司 | Open type configuration method and system for IO parameters of field device |
CN102346686A (en) * | 2011-07-18 | 2012-02-08 | 深圳市康必达中创科技有限公司 | Method for connecting interfaces between object linking and embedding for process control (OPC) server and OPC application program |
CN103955371A (en) * | 2014-04-29 | 2014-07-30 | 浙江银江研究院有限公司 | Design and development method for universal software module for performing data acquisition on serial-port instrument |
Also Published As
Publication number | Publication date |
---|---|
CN105589724A (en) | 2016-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230359778A1 (en) | Configuration of a digital twin for a building or other facility via bim data extraction and asset register mapping | |
CN107844698B (en) | Method, device and equipment for setting authority of financial APP and storage medium | |
WO2015192651A1 (en) | Method for implementing rapid configuration and rapid configuration server | |
CN109670297B (en) | Method and device for opening service permission, storage medium and electronic equipment | |
EP3032442B1 (en) | Modeling and simulation of infrastructure architecture for big data | |
CN104536965B (en) | A kind of data query display systems under the conditions of big data and method | |
US20150193404A1 (en) | Operational transformations proxy for thin clients | |
US20200252405A1 (en) | Automatic user permission refinement through cluster-based learning | |
US8839197B2 (en) | Automated analysis of composite applications | |
CN103970758A (en) | Database accessing system and method | |
US8788248B2 (en) | Transparent flow model simulation implementing bi-directional links | |
CN110738038A (en) | Contract text generation method, device, equipment and computer readable storage medium | |
WO2015154474A1 (en) | Query interface generation method and device | |
CN111130891A (en) | Server management device and method, electronic equipment and storage medium | |
JP2018081693A (en) | Automated process control hardware engineering using schema-represented requirements | |
CN108416568A (en) | Government affairs business data processing method, device and terminal device | |
CN108269056A (en) | Government information resources manage system | |
CN111177698B (en) | Processing method and device of portal system and computer equipment | |
Vasilecas et al. | Analysis of using resources in business process modeling and simulation | |
CN110647564A (en) | Hive table establishing method, electronic device and computer readable storage medium | |
CN104537496B (en) | Intelligent terminal behaviour in service statistical analysis technique and device | |
KR20200060022A (en) | Integrated management system | |
CN109800090A (en) | A kind of data integrated system and method | |
CN105589724B (en) | A kind of method that high speed creates system variable | |
CN106933881B (en) | Method for realizing interconnected documents |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |