CN104699063A - Method for implementing user-customized macro command operation running in central control system - Google Patents

Method for implementing user-customized macro command operation running in central control system Download PDF

Info

Publication number
CN104699063A
CN104699063A CN201510115878.4A CN201510115878A CN104699063A CN 104699063 A CN104699063 A CN 104699063A CN 201510115878 A CN201510115878 A CN 201510115878A CN 104699063 A CN104699063 A CN 104699063A
Authority
CN
China
Prior art keywords
grand
macro
user
instruction
control system
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
CN201510115878.4A
Other languages
Chinese (zh)
Other versions
CN104699063B (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.)
Core Science And Technology Ltd Of Chengdu Wisdom
Original Assignee
Core Science And Technology Ltd Of Chengdu Wisdom
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 Core Science And Technology Ltd Of Chengdu Wisdom filed Critical Core Science And Technology Ltd Of Chengdu Wisdom
Priority to CN201510115878.4A priority Critical patent/CN104699063B/en
Publication of CN104699063A publication Critical patent/CN104699063A/en
Application granted granted Critical
Publication of CN104699063B publication Critical patent/CN104699063B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41835Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by programme execution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention provides a method for implementing user-customized macro command operation running in a central control system. The method for implementing user-customized macro command operation running in the central control system belongs to the field of central control systems and comprises a macro creating module, a macro storing module, a macro executing module, a macro deleting module and a macro operation abandoning module. According to the method for implementing user-customized macro command operation running in the central control system, users can customize macro names, and equipment utilized as well as control commands generated by the users according to specific purposes and specified processes can be recorded into corresponding macro objects; when needing to achieve the specific purposes again, the users can simply click on the customized macro names on an operating interface and accordingly can automatically control the corresponding equipment according to the corresponding records in the macro objects, thereby avoiding a complex and repeated operating mode and reducing the operating time; meanwhile, through user-customized macro command operation, high dependence of the system on programming personnel can be eliminated.

Description

The implementation method of User Defined runtime macros operation in centralized control system
Technical field
The present invention relates to centralized control system field, the implementation method of particularly User Defined runtime macros operation in centralized control system.
Background technology
Centralized control system refers to, utilizes computer communication technology to carry out the system of Based Intelligent Control and management to controlled plant, and the controlled plant of original decentralised control and management is carried out centralized control and management by this cover system by it.In centralized control system, because in check equipment is more, user needs certain operate, first from numerous equipment of operating terminal display, corresponding equipment to be found out, then carries out relevant control, but, application scenario according to the operation of strict and complicated operating process or specific using forestland are needed to multiple controlled plant, if carry out in the manner described above all successively, running time and corresponding operation complexity will be increased.
Summary of the invention
The object of this invention is to provide the implementation method of User Defined runtime macros operation in a kind of centralized control system, the method can make User Defined macro name, and user needed the steering order of equipment and the generation of using to be recorded in corresponding grand object, when user realizes respective application again, only need user-defined macro name on clicking operation interface, just corresponding equipment can automatically be controlled according to the respective record in grand object, avoid the complicated operator scheme repeated, decrease the running time of user, by the macros operation of User Defined runtime, also the system that relieves relies on the height of programming personnel.
For achieving the above object, the implementation method of User Defined runtime macros operation in a kind of centralized control system provided by the invention, adopts following technical scheme:
An implementation method for User Defined runtime macros operation in centralized control system, comprising:
Grand creation module: for creating a grand object, the first self-defined macro name of user when visioning procedure starts, more corresponding grand recording status mark is set, create grand object;
Preserve macroblock: for the operational order of keeping records in grand object, when preserving grand flow process and starting, first judge whether grand object is empty, if grand object is not sky, removes grand recording status mark, upgrade corresponding grand log file, repaint macro operation interface;
Perform macroblock: according to user select grand, take out the node that corresponding grand log file is corresponding, and take out the instruction in grand log file, enter into instruction transmission flow;
Delete macroblock: user selects macro name to be deleted, and from grand log file, delete corresponding node, upgrade corresponding grand log file after deleting corresponding node, repaint macro operation interface;
Abandon macro operation module: when user is creating grand or preserving in grand process, continuing create or preserve grand if do not want, then abandon macro operation accordingly, comprising and remove grand recording status mark and discharge grand object.
Further, in described preservation macroblock, when judging whether grand object is sky, if grand object is empty, then discharge corresponding grand object.
Further, in described execution macroblock, first the instruction of taking out in grand log file comprises takes out Article 1 instruction, enter corresponding instruction transmission flow, judged whether lower bar instruction, if do not descend bar instruction, then perform grand process to complete, if there is lower bar instruction, then takes out lower bar instruction, and enter into instruction transmission flow.
The invention provides the implementation method of User Defined runtime macros operation in a kind of centralized control system, by grand creation module, user can self-defined macro name, and create corresponding grand object, when user carries out the corresponding control routine of operation generation, by the switching of mode of operation, just the steering order of generation can be recorded in corresponding grand object.Preserve macroblock and remove grand recording status mark, upgrade corresponding grand log file, repaint macro operation interface, so that user next time can the corresponding equipment of centralized control rapidly, avoid the complicated operating process repeated, decrease the running time of user, by the macros operation of User Defined runtime, the system that also relieves relies on the height of programming personnel.In addition, delete macroblock in the method, it is defined grand to delete user.Abandon macro operation module, user can be realized and create grand or preserve in grand process, continue create or preserve grand if do not want, then abandon macro operation accordingly.This method increase the flexible control performance of centralized control system, make it more meet user's day with changeable needs.
Accompanying drawing explanation
Fig. 1 creates macroblock process flow diagram in the implementation method of User Defined runtime macros operation in centralized control system of the present invention;
Fig. 2 preserves macroblock process flow diagram in the implementation method of User Defined runtime macros operation in centralized control system of the present invention;
Fig. 3 performs macroblock process flow diagram in the implementation method of User Defined runtime macros operation in centralized control system of the present invention;
Fig. 4 deletes macroblock process flow diagram in the implementation method of User Defined runtime macros operation in centralized control system of the present invention;
Fig. 5 abandons macroblock process flow diagram in the implementation method of User Defined runtime macros operation in centralized control system of the present invention.
Embodiment
Main thought of the present invention is: in centralized control system, user is needed to some equipment used, if operate separately these equipment all respectively when user uses at every turn, not only program complexity is loaded down with trivial details, but also require a great deal of time, therefore the present invention proposes the implementation method of the User Defined runtime macros operation in a kind of centralized control system, the steering order of equipment and the generation of using user is needed to be recorded in corresponding grand object, when next time, behaviour did relevant device to user, only need user-defined macro name on clicking operation interface, just corresponding equipment can automatically be controlled according to the respective record in grand object, all respectively the inconvenience brought is operated separately to these equipment during to solve each use.
In order to make those skilled in the art can understand feature of the present invention and technology contents further, below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
As shown in Figure 1, in grand creation module, when visioning procedure starts, the first self-defined macro name of user, utilizes this self-defining macro name, is convenient to user and operates the centralized control of relevant device; Arrange corresponding grand recording status mark again, this mark represents that the steering order that user operation generates can be recorded in the grand object of establishment, namely can carry out grand record; Create grand object, for the steering order that recording user operation generates.
To preserve the object of macroblock be for the operational order of keeping records in grand object and repaint macro operation interface.As shown in Figure 2, when preserving grand flow process and starting, first judge whether grand object is empty, namely judge whether to have recorded in the grand object that user creates to operate steering order accordingly, if namely the corresponding operation steering order of grand object record is not empty, then removes grand recording status mark and make this grand object no longer record operation steering order, then upgrade corresponding grand log file, the grand of generation is presented on operation interface, namely completes and repaint macro operation interface; If judge, grand object is as time empty, then discharge corresponding grand object.
As shown in Fig. 3, perform in macroblock, according to user select grand, take out the node that corresponding grand log file is corresponding, and take out the instruction in grand log file, enter into instruction transmission flow.Wherein, first the instruction of taking out in grand log file comprises takes out Article 1 instruction, enters corresponding instruction transmission flow, judge whether lower bar instruction, if do not descend bar instruction, then performed grand process and complete, if there is lower bar instruction, takes out lower bar instruction, and enter into instruction transmission flow.
As shown in Figure 4, deletion macroblock comprises user and selects macro name to be deleted, and from grand log file, delete corresponding node, upgrades corresponding grand log file, repaint macro operation interface after deleting corresponding node;
As shown in Figure 5, abandon macro operation module, creating grand for user or preserving in grand process, continuing create or preserve grand if do not want, then abandon macro operation accordingly, comprising and remove grand recording status mark and discharge grand object.

Claims (3)

1. the implementation method of User Defined runtime macros operation in centralized control system, is characterized in that, comprising:
Grand creation module: for creating a grand object, the first self-defined macro name of user when visioning procedure starts, more corresponding grand recording status mark is set, create grand object;
Preserve macroblock: for the operational order of keeping records in grand object, when preserving grand flow process and starting, first judge whether grand object is empty, if grand object is not sky, removes grand recording status mark, upgrade corresponding grand log file, repaint macro operation interface;
Perform macroblock: according to user select grand, take out the node that corresponding grand log file is corresponding, and take out the instruction in grand log file, enter into instruction transmission flow;
Delete macroblock: user selects macro name to be deleted, and from grand log file, delete corresponding node, upgrade corresponding grand log file after deleting corresponding node, repaint macro operation interface;
Abandon macro operation module: when user is creating grand or preserving in grand process, continuing create or preserve grand if do not want, then abandon macro operation accordingly, comprising and remove grand recording status mark and discharge grand object.
2. the implementation method of macros operation according to claim 1, is characterized in that, in described preservation macroblock, when judging whether grand object is sky, if grand object is empty, then discharges corresponding grand object.
3. the implementation method of macros operation according to claim 1, it is characterized in that, in described execution macroblock, take out instruction in grand log file and comprise first taking-up Article 1 instruction, enter corresponding instruction transmission flow, judge whether lower bar instruction, if do not descend bar instruction, then perform grand process and complete, if there is lower bar instruction, then take out lower bar instruction, and enter into instruction transmission flow.
CN201510115878.4A 2015-03-17 2015-03-17 The implementation method that User Defined runtime macros operates in centralized control system Expired - Fee Related CN104699063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510115878.4A CN104699063B (en) 2015-03-17 2015-03-17 The implementation method that User Defined runtime macros operates in centralized control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510115878.4A CN104699063B (en) 2015-03-17 2015-03-17 The implementation method that User Defined runtime macros operates in centralized control system

Publications (2)

Publication Number Publication Date
CN104699063A true CN104699063A (en) 2015-06-10
CN104699063B CN104699063B (en) 2018-04-27

Family

ID=53346292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510115878.4A Expired - Fee Related CN104699063B (en) 2015-03-17 2015-03-17 The implementation method that User Defined runtime macros operates in centralized control system

Country Status (1)

Country Link
CN (1) CN104699063B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1206479A (en) * 1996-10-29 1999-01-27 皇家菲利浦电子有限公司 Control system with macro creation based on recording responses
JP2004220232A (en) * 2003-01-14 2004-08-05 Mitsubishi Electric Corp Macro command definition and response system
CN1726521A (en) * 2002-12-20 2006-01-25 皇家飞利浦电子股份有限公司 System with macrocommands
CN101408762A (en) * 2007-09-28 2009-04-15 洛克威尔自动控制技术股份有限公司 Programmable controller programming with embedded macro capability
CN201508489U (en) * 2009-08-31 2010-06-16 比亚迪股份有限公司 Automatic centralized control system
CN103049280A (en) * 2011-10-14 2013-04-17 浪潮乐金数字移动通信有限公司 Method for achieving key macro definition function and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1206479A (en) * 1996-10-29 1999-01-27 皇家菲利浦电子有限公司 Control system with macro creation based on recording responses
CN1726521A (en) * 2002-12-20 2006-01-25 皇家飞利浦电子股份有限公司 System with macrocommands
JP2004220232A (en) * 2003-01-14 2004-08-05 Mitsubishi Electric Corp Macro command definition and response system
CN101408762A (en) * 2007-09-28 2009-04-15 洛克威尔自动控制技术股份有限公司 Programmable controller programming with embedded macro capability
CN201508489U (en) * 2009-08-31 2010-06-16 比亚迪股份有限公司 Automatic centralized control system
CN103049280A (en) * 2011-10-14 2013-04-17 浪潮乐金数字移动通信有限公司 Method for achieving key macro definition function and mobile terminal

Also Published As

Publication number Publication date
CN104699063B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
EP3425849B1 (en) State control method and device
CN101853172B (en) Device and method for dynamically upgrading complex programmable logic device (CPLD)
CN103984532B (en) A kind of mobile terminal function arranges position method to set up and the device of key
CN105069142A (en) System and method for extraction, transformation and distribution of data increments
CN106843953A (en) Application program transverse direction switching system and method based on iOS system
CN106302632A (en) The method for down loading of a kind of foundation image and management node
CN102722407A (en) Method and system for quickly shutting down running programs
CN104142844A (en) Method and device for clearing processes of mobile terminal
CN105653121A (en) Method for realizing Undo/Redo in text edition on the basis of android system
CN105975324B (en) Method for memorizing human-computer interface operation habit
CN101833443A (en) Display control system and method
CN103577048A (en) Desktop icon intelligent arranging system and method
CN103577253A (en) Processing method and processing device for application programs
CN103559910A (en) System and method applied in programming unit to realize intelligent switching of programmed chip timing
CN104348653A (en) Method and system for realizing user task of cloud management platform as well as trigger
CN105262604A (en) Virtual machine migration method and equipment
CN108228168A (en) A kind of revocation, the abstract method of recovery operation
CN104699063A (en) Method for implementing user-customized macro command operation running in central control system
CN101022633A (en) Allocation data recovering method, system and device
CN102999371A (en) Lua script-based human-computer interface development method and system
CN103853561A (en) Embedded satellite-born software refactoring system and method
CN103019705A (en) Method and system for accelerating program calculation based on existing calculation result of persistent storage
CN104572180B (en) The firmware upgrade method and embedded system of a kind of embedded device
CN110764759A (en) Data conversion method, storage medium and system
CN113886647A (en) Data dictionary creating method, terminal device and medium

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180427

Termination date: 20190317

CF01 Termination of patent right due to non-payment of annual fee