CN108459853A - The method and system that controller in automatic control system is programmed - Google Patents

The method and system that controller in automatic control system is programmed Download PDF

Info

Publication number
CN108459853A
CN108459853A CN201810111351.8A CN201810111351A CN108459853A CN 108459853 A CN108459853 A CN 108459853A CN 201810111351 A CN201810111351 A CN 201810111351A CN 108459853 A CN108459853 A CN 108459853A
Authority
CN
China
Prior art keywords
functional block
identifier
programmed
controller
operation information
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.)
Pending
Application number
CN201810111351.8A
Other languages
Chinese (zh)
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.)
China Applied Technology Co Ltd
Original Assignee
China Applied 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 China Applied Technology Co Ltd filed Critical China Applied Technology Co Ltd
Priority to CN201810111351.8A priority Critical patent/CN108459853A/en
Publication of CN108459853A publication Critical patent/CN108459853A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • 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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and systems being programmed to controller in automatic control system, the described method comprises the following steps:Selection function block and the operation carried out to the functional block, are then sent to controller by the operation information of the identifier of the functional block and the operation;The controller receives the automatic control system and sends the identifier and the operation information, and is programmed according to the identifier and the operation information.The method and system that controller in automatic control system is programmed of the present invention, alloing domain expert, voluntarily selection function is programmed as needed, build specific automatic control program, there need not be the programming knowledge of profession, it is easy to use without grasping certain programmed language, the time linked up between programming personnel and domain expert can also be reduced, work difficulty is reduced, workload is reduced, improves working efficiency.

Description

The method and system that controller in automatic control system is programmed
Technical field
The present invention relates to technical field of automatic control, more particularly to a kind of to be compiled to controller in automatic control system The method and system of journey.
Background technology
As building automation, the industrial robot control system(RCS)s such as automatic control and Household self-controlling system, typically distributed system, wherein wrapping Containing various smart machines.Under normal conditions, a robot control system(RCS) is for a work station or building, core controller Data, control end-equipment are collected from temperature sensor etc..Specific environment must be directed to and building is programmed controller So that it is worked normally.
It is by understanding that the software engineer of programming language completes to the task that controller is programmed in traditional system , and determining that controller is programmed what does is completed by domain expert, they understand the demand of a specific robot control system(RCS) And target.In this way, in order to establish a new robot control system(RCS), traditional working environment needs software engineer and field special simultaneously The technical ability and professional knowledge of family.
Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides it is a kind of to controller in automatic control system into The method and system of row programming.The technical solution is as follows:
On the one hand, a method of controller in automatic control system is programmed, is included the following steps:
Selection function block and the operation carried out to functional block, then send out the identifier of functional block and the operation information of operation Give controller;
Controller receives automatic control system and sends identifier and operation information, and is carried out according to identifier and operation information Programming.
Further, user is in selection required function block and to the operation of functional block, then by the identifier of functional block and The operation information of operation be sent to controller the specific steps are:
Functional block needed for selection and the operation to functional block progress;
It finds the corresponding identifier of functional block and operates corresponding operation information;
Identifier and operation information are sent to controller.
Further, controller receives automatic control system and sends identifier and operation information, and according to identifier and behaviour As information be programmed the specific steps are:
Receive identifier and operation information;
Corresponding functional block is selected according to identifier;
Functional block is programmed according to operation information.
Further, functional block has unique identifier in automatic control system.
Further, command information includes:Addition, renaming, establishes connection and deletes connection at deletion.
Further, functional block includes title, identifier and slot.
Further, one or more slots are included in functional block.
On the other hand, a kind of system that controller in automatic control system is programmed, including:
Client, the operation for selecting required functional block and being carried out to functional block, then by the identifier of functional block It is sent to server with the operation information of operation;
Server, the identifier for receiving the functional block that client is sent and operation information, and according to identifier and behaviour It is programmed as information.
Further, client specifically includes:
Selecting module, the operation for selecting required functional block and being carried out to functional block;
Processing module is connect with selecting module, for the functional block of selection to be converted to corresponding identifier, and will operation It is converted to corresponding operation information;
Sending module is connect with processing module, for identifier and operation information to be sent to server.
Further, server specifically includes:
Receiving module, for receiving the identifier and operation information that sending module is sent;
Memory module is separately connected with receiving module and editor module, is used for storage functional block, and receive according to receiving module The identifier arrived, which is searched, selects corresponding functional block, and functional block is then sent to editor module;
Editor module is separately connected with receiving module and memory module, for receive functional block that memory module is sent and The operation information that receiving module is sent, and functional block is programmed according to operation information.
Further, functional block has unique identifier.
Further, operation information includes addition, deletion, renaming, establishes connection and delete connection.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:The present invention to being controlled in automatic control system The method and system that device processed is programmed so that domain expert can voluntarily selection function be programmed as needed, and structure is special Fixed automatic control program need not have the programming knowledge of profession, easy to use without grasping certain programmed language, also may be used To reduce the time linked up between programming personnel and domain expert, work difficulty is reduced, reduces workload, improves work effect Rate.
Description of the drawings
The technical solution in example is applied in order to illustrate more clearly of the present invention, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill of field, without creative efforts, others are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the method flow diagram of the embodiment of the present invention 1;
Fig. 2 is the particular flow sheet of step S101 in the embodiment of the present invention 1;
Fig. 3 is the particular flow sheet of step S102 in the embodiment of the present invention 1;
Fig. 4 is the system construction drawing of the embodiment of the present invention 2.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment 1
As shown in Figure 1, the method for the present invention being programmed to controller in automatic control system, includes the following steps:
S101, selection function block and the operation that functional block is carried out, then by the operation of the identifier of functional block and operation Information is sent to controller.
User can be according to required function, voluntarily selection function block, and according to selected several functional blocks, selects phase Then the corresponding identifier of all functional blocks and the corresponding operation information of operation are sent at controller by the operation answered Reason.Message, which is sent, to be completed using application protocol with control engine communication, and application protocol includes the request for completing aforesaid operations instruction And response message.
Functional block is to form the minimum execution unit of application program.Functional block can connect between each other, block it is defeated It is the input of another block to go out.Individual feature block is capable of providing various basic functions, for example, providing sensing data, being equipment Setting input point is provided, executes control logic (such as PID control), control actuator or switch motion etc..Functional block includes One title, one for the unique identifier of the unique mark functional block in the application and one or more slots
Slot is divided into two classes:Parameter when the attribute definition configuration and operation of functional block;Action definition functional block can be with Called order.
S102, controller receives automatic control system and sends identifier and operation information, and is believed according to identifier and operation Breath is programmed.
As shown in Fig. 2, step S101 is specifically included:
S1011, the operation for selecting required functional block and functional block being carried out.
Operational order including but not limited to:Functional block is added into application program, that is, instantiates functional block;From application program Middle deletion functional block;Renaming functional block;Connection is established between functional blocks;Delete the connection between functional block.
S1012 finds the corresponding identifier of functional block and operates corresponding operation information.
Each functional block has a unique identifier, and identifier can be used in unique mark in the application should Functional block.Several functional blocks selected according to user find the corresponding identifier of these functional blocks, and user is selected Operation correspondence is converted to corresponding operation information.
Identifier and operation information are sent to controller by S1013.
As shown in figure 3, step S102 is specifically included:
S1021 receives identifier and operation information.
S1022 selects corresponding functional block according to identifier.
There is the library for having prestored several functional blocks in controller, after controller receives identifier, is existed according to identifier The corresponding functional block of identifier is found in library.
S1023 is programmed functional block according to operation information.
Controller carries out corresponding operation programming according to the operation information received, to finding functional block.
Embodiment 2
The system that controller in automatic control system is programmed of the present invention as shown in Figure 2, including:Client 100 With server 200.
The operation that client 100 is used to select required functional block and carry out functional block, then by the mark of functional block Symbol and the operation information of operation are sent to server 200;Server 200 is used to receive the mark for the functional block that client 100 is sent Know symbol and operation information, and is programmed according to identifier and operation information.
Client 100 specifically includes:Selecting module 101, processing module 102 and sending module 103.
Server 200 specifically includes:Receiving module 201, memory module 202 and editor module 203.
The operation that user selects required functional block by selecting module 101 and carried out to functional block.Selecting module 101 carries Supply the graphical interface of selection and operating function block, user that can check and grasp by the graphical interface that selecting module provides Make patterned functional block (icon, menu etc.).Operational order including but not limited to:Functional block is added into application program, i.e., Instantiate functional block;Functional block is deleted from application program;Renaming functional block;Connection is established between functional blocks;Delete work( Connection between energy block.What these instructions can be shown by graphical interface provides, and can also be inferred to from the action of user, Such as by functional block from being pulled in functional block library into the window for indicating current application, being used to deduction " addition ", this refers to It enables.Processing module 102 is connect with selecting module 101, and the functional block that user selects in selecting module 101 gives processing module 102 It is converted to corresponding identifier, and operation is converted to corresponding operation information, then by sending module 103 by identifier and behaviour It is sent to server 200 as information.Receiving module 201 receives the identifier and operation information that sending module 103 is sent, and then will Identifier is sent to memory module 202, and operation information is sent to editor module 203.Memory module 202 and receiving module 201 It is separately connected with editor module 203, and is previously stored with several functional blocks.Memory module 202 is received according to receiving module 201 Identifier searches the corresponding functional block of selection in pre-stored functional block, and functional block is then sent to editor module 203. Editor module 203 is separately connected with receiving module 201 and memory module 202, receives functional block and connect that memory module 202 is sent The operation information that module 201 is sent is received, then functional block is programmed according to operation information.
The method and system that controller in automatic control system is programmed of the present invention so that domain expert can root According to needs, voluntarily selection function is programmed, and builds specific automatic control program, need not have the programming knowledge of profession, nothing Certain programmed language need to be grasped, it is easy to use, the time linked up between programming personnel and domain expert can also be reduced, is reduced Work difficulty reduces workload, improves working efficiency.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method being programmed to controller in automatic control system, which is characterized in that include the following steps:
Selection function block and the operation that the functional block is carried out, then by the behaviour of the identifier of the functional block and the operation It is sent to controller as information;
The controller receives the automatic control system and sends the identifier and the operation information, and according to the mark Symbol and the operation information are programmed.
2. the method being programmed as described in claim 1 to controller in automatic control system, which is characterized in that the use Operation of the family selecting required function block and to the functional block, then by the behaviour of the identifier of the functional block and the operation As information be sent to controller the specific steps are:
Functional block needed for selection and the operation to functional block progress;
Find the corresponding identifier of the functional block and the corresponding operation information of the operation;
The identifier and the operation information are sent to the controller.
3. the method being programmed as claimed in claim 2 to controller in automatic control system, which is characterized in that the control Device processed receives the automatic control system and sends the identifier and operation information, and according to the identifier and operation information into Row programming the specific steps are:
Receive the identifier and the operation information;
Corresponding functional block is selected according to the identifier;
The functional block is programmed according to the operation information.
4. the method being programmed as claimed in claim 3 to controller in automatic control system, which is characterized in that the work( Energy block has unique identifier in the automatic control system.
5. the method being programmed as claimed in claim 4 to controller in automatic control system, which is characterized in that the finger The information is enabled to include:Addition, renaming, establishes connection and deletes connection at deletion.
6. a kind of system being programmed to controller in automatic control system, which is characterized in that including:
Client, the operation for selecting required functional block and being carried out to the functional block, then by the mark of the functional block The operation information for knowing symbol and the operation is sent to server;
Server, the identifier for receiving the functional block that client is sent and the operation information, and according to the mark Know symbol and the operation information is programmed.
7. the system being programmed as claimed in claim 6 to controller in automatic control system, which is characterized in that the visitor Family end specifically includes:
Selecting module, the operation for selecting required functional block and being carried out to the functional block;
Processing module is connect with the selecting module, for the functional block of selection to be converted to corresponding identifier, and will The operation is converted to corresponding operation information;
Sending module is connect with the processing module, for the identifier and the operation information to be sent to the service Device.
8. the system being programmed as claimed in claim 7 to controller in automatic control system, which is characterized in that the clothes Business implement body include:
Receiving module, for receiving the identifier and the operation information that the sending module is sent;
Memory module is separately connected with the receiving module and editor module, is used for storage functional block, and according to the reception mould The identifier that block receives, which is searched, selects corresponding functional block, and the functional block is then sent to the editor module;
Editor module is separately connected with the receiving module and the memory module, for receiving described in memory module sends The operation information that functional block and the receiving module are sent, and the functional block is compiled according to the operation information Journey.
9. the system being programmed as claimed in claim 8 to controller in automatic control system, which is characterized in that the work( Energy block has unique identifier.
10. the system being programmed as claimed in claim 9 to controller in automatic control system, which is characterized in that described Operation information includes addition, deletion, renaming, establishes connection and delete connection.
CN201810111351.8A 2018-02-05 2018-02-05 The method and system that controller in automatic control system is programmed Pending CN108459853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810111351.8A CN108459853A (en) 2018-02-05 2018-02-05 The method and system that controller in automatic control system is programmed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810111351.8A CN108459853A (en) 2018-02-05 2018-02-05 The method and system that controller in automatic control system is programmed

Publications (1)

Publication Number Publication Date
CN108459853A true CN108459853A (en) 2018-08-28

Family

ID=63239559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810111351.8A Pending CN108459853A (en) 2018-02-05 2018-02-05 The method and system that controller in automatic control system is programmed

Country Status (1)

Country Link
CN (1) CN108459853A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022011562A1 (en) * 2020-07-14 2022-01-20 西门子(中国)有限公司 Programming marking method, processor, terminal, and computer program product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037938A1 (en) * 2007-07-31 2009-02-05 Tridium Inc. Programmable control engine on wireless device
CN106707848A (en) * 2016-12-01 2017-05-24 浙江中控研究院有限公司 Control program organization structure of control system and download method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090037938A1 (en) * 2007-07-31 2009-02-05 Tridium Inc. Programmable control engine on wireless device
CN106707848A (en) * 2016-12-01 2017-05-24 浙江中控研究院有限公司 Control program organization structure of control system and download method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵宝明: "《智能控制系统工程的实践与创新 ISBN:978-7-5023-9499-8》", 30 November 2014, 科学技术文献出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022011562A1 (en) * 2020-07-14 2022-01-20 西门子(中国)有限公司 Programming marking method, processor, terminal, and computer program product
US12026483B2 (en) 2020-07-14 2024-07-02 Siemens Ltd., China Programming marking method, processor, terminal, and computer program product

Similar Documents

Publication Publication Date Title
EP3425849B1 (en) State control method and device
JP2001177558A (en) Method for constructing communication link used in distributed process control system, and system and method for constructing communication link used in process control system
JPH11231927A (en) Monitor and control system
JP2005517311A (en) Home networking communication apparatus and method
CN109995805A (en) Intelligent robot management method, terminal device and medium
CN107071030A (en) The dispositions method and system of a kind of Ceph distributed memory systems
JP2013219655A (en) Protocol conversion device and protocol conversion method
CN101923320B (en) For storing the system and method for the data from industrial control unit (ICU)
US7237005B2 (en) Job network setup method, job network execution method, job management system, management terminal and program
CN110480633B (en) Method and device for controlling equipment and storage medium
CN105528261A (en) Method and system for intelligently outputting debugging information for embedded device
CN108459853A (en) The method and system that controller in automatic control system is programmed
CN103914286B (en) Management method and manager for tab page in user interface
CN105074590A (en) Engineering tool and engineering system
JP3827051B2 (en) Tool device, network system construction method, and recording medium
WO2007006860A1 (en) Method and device arrangement for managing a user application/device management server/client device environment
JP4479220B2 (en) Production equipment control device, production equipment control system, and production equipment control method using production equipment control device
JP2006195590A (en) Programmable controller system, and controller and program therefor
JP6746003B2 (en) Management device, management method and program
JP3712659B2 (en) Data transmission method for control system, control system, program thereof and recording medium
JP4416592B2 (en) Supervisory control system and supervisory control data input / output program
CN105991457A (en) Switch and management method thereof, and controller and management method thereof
CN110597192A (en) Workflow execution method, system and storage medium
JP6194492B2 (en) System and method for state transition controlled processing of objects
JP2001014386A (en) Facility management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828

RJ01 Rejection of invention patent application after publication