CN105589724A - High speed system variable creating method - Google Patents

High speed system variable creating method Download PDF

Info

Publication number
CN105589724A
CN105589724A CN201510982602.6A CN201510982602A CN105589724A CN 105589724 A CN105589724 A CN 105589724A CN 201510982602 A CN201510982602 A CN 201510982602A CN 105589724 A CN105589724 A CN 105589724A
Authority
CN
China
Prior art keywords
group
system variable
tag
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.)
Granted
Application number
CN201510982602.6A
Other languages
Chinese (zh)
Other versions
CN105589724B (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.)
Hangzhou Zhenpeng Technology Co Ltd
Original Assignee
Hangzhou Zhenpeng Technology 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 Hangzhou Zhenpeng Technology Co Ltd filed Critical Hangzhou Zhenpeng Technology Co Ltd
Priority to CN201510982602.6A priority Critical patent/CN105589724B/en
Publication of CN105589724A publication Critical patent/CN105589724A/en
Application granted granted Critical
Publication of CN105589724B publication Critical patent/CN105589724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents

Abstract

The invention relates to a high speed system variable creating method. The method comprises following steps: starting a Tag Setting Tool program module for reading the information of the configuration file SubSystem.xml of a subsystem and configuration files Tag GroupList.xml and Group.xml; displaying a main interface; triggering a control event on the main interface by a user; invoking corresponding functions by the Tag Setting Tool program module, thus realizing the batch creation of OPC server system variable Tags and the generation of a new Group; after the batch creation of the system variable Tags and the generation of the new Group, storing the Group information in the Tag GroupList.xml configuration file by the Tag Setting Tool program module, storing the subsystem variable Tag information in the Group.xml configuration file named by the Group name, thus defining the configuration information of the system variable Tags. According to the method of the invention, the batch creation of the system variables is realized; the speed is rapid; and no error is generated.

Description

A kind of high speed creates the method for system variable
Technical field
The present invention relates to OPC technical field, relate in particular to a kind of method of high speed establishment system variable.
Background technology
OPC technology is a set of of multiple Automation Co., Ltd/software and hardware suppliers and Microsoft cooperative development in the worldThe industrial standard of interface. Its design object be for field apparatus/automatically control application/business administration application software itBetween open, accordant interface specification is provided, OPC technology provides a kind of consistent access to industrial controlling softwareThe method of field equipment data, makes to utilize OPC to embody in the structure of industrial control system and provides large excellentGesture.
Traditional industrial controlling software creates system variable Tag, needs the genus of initialization system variable Tag step by stepProperty, can only create a system variable Tag at every turn. Create in enormous quantities system variable client for needs, both disappearedConsume a large amount of manpowers and easily cause again human error.
Summary of the invention
The present invention overcomes above-mentioned weak point, provides a kind of high speed to create the method for system variable.
The present invention achieves the above object by the following technical programs: a kind of high speed creates the method for system variable, bagDraw together following steps:
S1. start TagSettingTool program module, in order to read the configuration of the next system SubSystemThe information of file SubSystem.xml and configuration file TagGroupList.xml, Group.xml,And show main interface;
S2. user triggers the control event on main interface, and described TagSettingTool program module is called correspondingThe batch that function is realized opc server system variable Tag creates and newly organizes the generation of Group;
S3. create and newly organize after the generation of Group described TagSetting at the batch of system variable TagTool program module is kept at group Group information in TagGroupList.xml configuration file, under itBelong to system variable Tag information and be kept to organize in the Group.xml configuration file of Group naming,Realize the definition of system variable Tag configuration information.
Further, in described S3, the batch of system variable Tag creates and comprises the steps: that user triggers masterMulti-TagCreate event on interface, described TagSettingTool program module is called and is created in batches letterNumber, the setting parameter based on user to system variable Tag, to the StartAddress attribute of system variable TagCumulative according to certain rule, for system variable Tag distribute in the register of the next system SubSystem legalAddress, and by distributing to system variable Tag through the legal parameters checking, generate successively new system variable Tag,Realizing system variable Tag creates in batches.
Further, in described S3, the generation of new group Group comprises the steps: that user triggers on main interfaceGroupClone event, on the basis of existing group of Group, described TagSettingTool program moduleRead the next system SubSystem and address offset amount that user selectes, generate new group Group.
Further, the setting parameter of described Tag comprises the next system SubSystem configuration parameter and OPC clothesThe setting of business device configuration parameter.
Beneficial effect of the present invention: configuring after system variable parameter, creating in batches system according to the parameter arrangingSystem variable Tag, and according to certain rule automatically in the corresponding the next system SubSystem register of its distributionWith reference to address. The batch of having realized system variable creates, and speed is fast, zero defect.
Brief description of the drawings
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Fig. 1 is general frame figure of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, technical scheme of the present invention is further described, but the present invention is not limited to thisA little embodiment.
By reference to the accompanying drawings 1, a kind of high speed creates the method for system variable, comprises the steps:
S1. start TagSettingTool program module, in order to read the configuration of the next system SubSystemThe information of file SubSystem.xml and configuration file TagGroupList.xml, Group.xml,And show main interface;
S2. user triggers the control event on main interface, and described TagSettingTool program module is called correspondingThe batch that function is realized opc server system variable Tag creates and newly organizes the generation of Group;
S3. create and newly organize after the generation of Group described TagSetting at the batch of system variable TagTool program module is kept at group Group information in TagGroupList.xml configuration file, under itBelong to system variable Tag information and be kept to organize in the Group.xml configuration file of Group naming,Realize the definition of system variable Tag configuration information.
Further, in described S3, the batch of system variable Tag creates and comprises the steps: that user triggers masterMulti-TagCreate event on interface, described TagSettingTool program module is called and is created in batches letterNumber, the setting parameter based on user to system variable Tag, to the StartAddress attribute of system variable TagCumulative according to certain rule, for system variable Tag distribute in the register of the next system SubSystem legalAddress, and by distributing to system variable Tag through the legal parameters checking, generate successively new system variable Tag,Realizing system variable Tag creates in batches.
Further, in described S3, the generation of new group Group comprises the steps: that user triggers on main interfaceGroupClone event, on the basis of existing group of Group, described TagSettingTool program moduleRead the next system SubSystem and address offset amount that user selectes, generate new group Group.
Further, the setting parameter of described Tag comprises the next system SubSystem configuration parameter and OPC clothesThe setting of business device configuration parameter.
TagSettingTool program realizes the generation of opc server system variable Tag, realizes OPC serviceThe definition that device built-in system variable Tag generates; Setting based on primary parameter can create in batches a large amount of systems and becomeAmount Tag, and automatically for it distributes the next system SubSystem register-stored address, ensure system variable TagConfiguration parameter is legal; Based on existing group of Group, can generate new group Group, this group Group hasSystem variable Tag with former group of Group equal number.
Specific embodiment described herein is only to the explanation for example of the present invention's spirit. Skill under the present inventionThe technical staff in art field can make various amendments or supplements or adopt described specific embodimentSimilarly mode substitutes, but can't depart from spirit of the present invention or surmount appended claims definedScope.

Claims (4)

1. high speed creates a method for system variable, it is characterized in that: comprise the steps:
S1. start TagSettingTool program module, in order to read the configuration of the next system SubSystemThe information of file SubSystem.xml and configuration file TagGroupList.xml, Group.xml,And show main interface;
S2. user triggers the control event on main interface, and described TagSettingTool program module is called phaseThe batch of answering function to realize opc server system variable Tag creates and newly organizes the generation of Group;
S3. create and newly organize after the generation of Group described TagSetting at the batch of system variable TagTool program module is kept at group Group information in TagGroupList.xml configuration file, under itBelong to the Group.xml configuration file that system variable Tag information is kept to organize Group namingIn, realize the definition of system variable Tag configuration information.
2. a kind of high speed according to claim 1 creates the method for system variable, it is characterized in that: described inIn S3, the batch of system variable Tag creates and comprises the steps: that user triggers on main interfaceMulti-TagCreate event, described TagSettingTool program module is called and is created in batches function,Setting parameter based on user to system variable Tag, belongs to the StartAddress of system variable TagProperty cumulative according to certain rule, for system variable Tag distributes the register of the next system SubSystemIn legal address, and will through inspection legal parameters distribute to system variable Tag, successively generateNew system variable Tag, realizes system variable Tag and creates in batches.
3. a kind of high speed according to claim 1 creates the method for system variable, it is characterized in that: described inIn S3, the generation of new group Group comprises the steps: that user triggers the GroupClone on main interfaceEvent, on the basis of existing group of Group, described TagSettingTool program module reads userSelected the next system SubSystem and address offset amount, generate new group Group.
4. a kind of high speed according to claim 2 creates the method for system variable, it is characterized in that: instituteThe setting parameter of stating system variable Tag comprises the next system SubSystem configuration parameter and OPC clothesThe setting of business device configuration parameter.
CN201510982602.6A 2015-12-23 2015-12-23 A kind of method that high speed creates system variable Active CN105589724B (en)

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 true CN105589724A (en) 2016-05-18
CN105589724B 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 (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020198971A1 (en) * 2001-06-22 2002-12-26 Wonderware Corporation Internationalization of objects executable in a supervisory process control and manufacturing information system
US20050257204A1 (en) * 2004-05-17 2005-11-17 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
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
US20150277406A1 (en) * 2014-03-26 2015-10-01 Rockwell Automation Technologies, Inc. Multiple controllers configuration management interface for system connectivity

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020198971A1 (en) * 2001-06-22 2002-12-26 Wonderware Corporation Internationalization of objects executable in a supervisory process control and manufacturing information system
CN101714101A (en) * 2001-06-22 2010-05-26 英维思系统股份有限公司 Supervisory process control, method for manufacturing information system application and configuration device
US20050257204A1 (en) * 2004-05-17 2005-11-17 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
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
US20150277406A1 (en) * 2014-03-26 2015-10-01 Rockwell Automation Technologies, Inc. Multiple controllers configuration management interface for system connectivity
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
CN105589724B (en) 2018-08-31

Similar Documents

Publication Publication Date Title
CN108279932B (en) Method and device for dynamically configuring user interface of mobile terminal
EP3042254B1 (en) Systems and methods for virtualizing a programmable logic controller
US8990157B2 (en) Replication support for structured data
US10956667B2 (en) Operational transformations proxy for thin clients
CN105528418B (en) A kind of design documentation generation method and device
US20220261694A1 (en) System and Methods for Distributed Machine Learning with Multiple Data Sources, Multiple Programming Languages or Frameworks, and Multiple Devices or Infrastructures
CN111459501B (en) SVG-based Web configuration picture storage and display system, method and medium
EP2808807B1 (en) Data structures migration and upgrade
CN110609681A (en) System, method, device and medium for visually configuring and generating WEB application
US7917891B2 (en) Engineering system with automatic generation of entity templates
US11188498B2 (en) Method and system for processing engineering objects in an industrial automation environment
US8788248B2 (en) Transparent flow model simulation implementing bi-directional links
JP2018060570A (en) Reference data segmentation from single to multiple tables
CN112784342A (en) Online editing method and device for three-dimensional model of building component
US9177083B2 (en) Method and apparatus for computer aided design of human-machine interface animated graphical elements
US10054912B2 (en) Method and apparatus for auto synchronizing control system data structures with model composition
CN114090162A (en) Front-end interface display method and related device of multi-tenant system
CN105589724A (en) High speed system variable creating method
US20170364496A1 (en) Visualization interface for information object system
KR101728786B1 (en) Component-based dynamic image display system and method using the svg file format
CN112486460A (en) Method, system, device and medium for automatically importing interface document
CN110704154A (en) Multi-language template issuing method and system
CA2960774A1 (en) Information object system
CN103810312A (en) Method and device of computer aided design for man-machine interface animated graphic elements
CN108182199B (en) Method and system for generating electric power transaction data graph

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