CN102331763A - Method for generating and executing command for process control system - Google Patents

Method for generating and executing command for process control system Download PDF

Info

Publication number
CN102331763A
CN102331763A CN201110219611A CN201110219611A CN102331763A CN 102331763 A CN102331763 A CN 102331763A CN 201110219611 A CN201110219611 A CN 201110219611A CN 201110219611 A CN201110219611 A CN 201110219611A CN 102331763 A CN102331763 A CN 102331763A
Authority
CN
China
Prior art keywords
command
order
control
execution
controlled 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.)
Pending
Application number
CN201110219611A
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.)
CHENGDU HI-TECH VISION Co Ltd
Original Assignee
CHENGDU HI-TECH VISION 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 CHENGDU HI-TECH VISION Co Ltd filed Critical CHENGDU HI-TECH VISION Co Ltd
Priority to CN201110219611A priority Critical patent/CN102331763A/en
Publication of CN102331763A publication Critical patent/CN102331763A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

  • Feedback Control In General (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses a method for generating and executing a command for a process control system. The method comprises the following steps of: a, defining a command: defining parameters of a controlled object and a control command and correlating the controlled object parameters with corresponding control command parameters; 2, generating a command: acquiring controlled object parameters selected by a user, displaying relevant control command parameters for the user to select, and generating a command format and storing the selected control command parameters as a command sequence; and 3, executing the command. In the method, a production process is decomposed into multiple pieces of controlled equipment and multiple single control commands, and the controlled equipment is correlated to corresponding control commands, so that control commands correlated to the controlled equipment can be called automatically by selecting controlled equipment, a control command sequence can be generated and stored by selecting control commands, the controlled equipment is controlled to execute the control commands according to the command sequence, and the automatic generating and executing process of process control commands is realized.

Description

The order of Process Control System generates manner of execution
Technical field
The present invention relates to a kind of control method, the order that relates in particular to a kind of Process Control System generates manner of execution.
Background technology
Through the investigation of domestic process of factory production present situation is learned; The number of workers of the present domestic plant produced line unit of attending output is more much higher than American-European countries; Trace it to its cause; Mainly be that the many operations of equipment and the control of production process parameters all need manually-operated to accomplish, though the equipment of present domestic new production or introduction has much all possessed the AutoPlay function of single device because the automatization level of domestic production line is not high; But, also there is not a kind of production run autocontrol method general, that have universality at present if realize the co-ordination and the automatic streamline control of the multiple devices on the production line.
In order to realize automatic control to production run of all kinds; Needing can be according to the requirement of user's production control; Edit flexibly, the control command of control procedure easily; And these control commands can the Be Controlled system be discerned, and can convert control command or control signal that controlled device can be discerned to, accomplish specific control function.
Summary of the invention
The object of the present invention is to provide a kind of order of Process Control System to generate manner of execution, the particularly implementation method of the automatic control command of production run in the pharmaceutical industry, it defines various controlled devices and control command in the whole process of production control, decompose; Again according to people's wish and requirement; With command group synthetic order sequence, storage has just formed a cover operating process; The control controlled device carries out work according to command sequence, has promptly realized automated procedure control.
To achieve these goals, the present invention has adopted following technical scheme: a kind of order of Process Control System generates manner of execution, comprises
(1) command definition
A. define the parameter of controlled device and control command,
B. object parameters and its is corresponding control command parameter is carried out related;
(2) order generates
C. obtain the object parameters that the user chooses, show relevant control command parameter, supply the user to choose;
D. the control command parameter chosen of analysis user generates command format;
E. command format is stored as command sequence;
(3) command execution
F. read command sequence is controlled corresponding controlled device successively and is carried out.
As preferably: said controlled device comprises switching mode valve, throttle-type valve, motor, pump and sensor.
As preferably: said control command is that the single order that forms is decomposed in the order of complete process control, comprises switching mode control command, the order of stepless control type, PID control command, confirms order, time-delay order and information order.
As preferably: the parameter of said controlled device comprises title, identifier, coding and type.
As preferably: said step c is specially, and the control command that type and its of controlled device is corresponding is carried out related.
As preferably: said step e is specially,
F. insert command format to assigned address;
G. judge whether to be the last item order, if not, skip to step c, if save as command sequence.
As preferably: said step f is specially,
H. read command sequence;
I resolve command sequence is obtained the control command parameter;
The j transmitting control commands is controlled controlled device work to controlled device;
K. wait for and obtain the result of command execution;
L. the state after display command is carried out; Judge whether to be the last item order, if, finish, if not, skip to step I.
Compared with prior art; The invention has the advantages that: production run is decomposed into a plurality of controlled devices and a plurality of single control command, controlled device and the control command corresponding with it are associated, people only need select controlled device; Just can access automatically with the controlled device associated control and order; People just can generate the control command sequence automatically, and store as long as select control command; The control controlled device is carried out control command according to command sequence, thus automatic generation, the implementation of implementation procedure control command.
The present invention is owing to be decomposed into single controlled device and control command with production run, so simplified control procedure, controlled device of choosing and control command can according to fixed format be stored automatically; People only need select controlled device and control command, do not need professional personnel to carry out flow process and write, so very convenient; Be fit to large-scale application and popularization, and whole implementation is carried out according to command sequence control by computing machine, so speed is fast; Accuracy is high; Improve execution efficient greatly, can also guarantee the accurate control of slight error, guaranteed the quality of product.
Because the control command sequence generates before command execution, controlled device has been avoided the appearance of manual operation mistake phenomenon just according to the command execution that weaves in advance.
  
Description of drawings
Fig. 1 is the control command product process figure of the embodiment of the invention;
Fig. 2 is the control command flowchart of the embodiment of the invention;
Fig. 3 is the command format that the control command parameter of the embodiment of the invention generates.
  
Embodiment
To combine accompanying drawing that the present invention is described further below.
Embodiment 1: referring to Fig. 1, Fig. 2, Fig. 3, a kind of order of Process Control System generates manner of execution, comprises that (1) command definition, (2) order generate, this three big step of (3) command execution, is specially:
(1) command definition
A. define the parameter of controlled device and control command; Wherein controlled device comprises switching mode valve, throttle-type valve, motor, pump and sensor; The parameter of controlled device comprises title, identifier, coding and type; Control command is that the single order that forms is decomposed in the order of complete process control; Be mainly used in the automatic control of pharmaceutical factory dosing process in the present embodiment, so control command can obtain following several kinds through abstract and summary: switching mode control command, the order of stepless control type, PID control command, affirmation order, time-delay order and information are ordered;
B. the type in the object parameters and its is corresponding control command parameter is carried out related; For example, the switching mode valve has only two states, open and close; So its corresponding control command should be the switching mode control command; So its should with the parameter association of switching mode control command, the state of throttle-type valve is the control of folding degree, thus it should be related the stepless control type parameter of ordering;
(2) order generates
C. obtain the object parameters that the user chooses, because step b is related with control command with the type in the object parameters, when this step is obtained controlled device; Obtaining its type gets final product; According to the type information that obtains, show relevant control command parameter, supply the user to choose;
D. the control command parameter chosen of analysis user generates command format;
E. command format is stored as command sequence, step e is specially:
F. insert command format to assigned address;
G. judge whether to be the last item order, if not, skip to step c, if save as command sequence.
(3) command execution
F. read command sequence is controlled corresponding controlled device successively and is carried out, and is specially:
H. read command sequence;
I resolve command sequence is obtained the control command parameter;
The j transmitting control commands is controlled controlled device work to controlled device;
K. wait for and obtain the result of command execution;
L. the state after display command is carried out; Judge whether to be the last item order, if, finish, if not, skip to step I.
In the present embodiment, the parameter of controlled device comprises title, identifier, coding and type, divides other effect to be, title is used for the relevant explanation of the true purposes of controlled device, supplies the user of service to use; Identifier is the inner use of control program, makes things convenient for program to realize; Coding is used to distinguish a plurality of controlled devices of the same type, and each object has an independently coding; Type decided the order executive mode.
In the steps d, the control command parameter that analysis user is chosen generates command format, and command format is specifically referring to Fig. 3, and command format comprises following components:
1, command type: the type of control command, 1Byte, value scope 0-255 is like switching mode control command, the order of stepless control type, PID control command, confirm to order, delay time order and information order.
2, control code: the coding of controlled device in system, 2Bytes, this value usable range 0-4096.
3, control action: by the control command type decided, represent the concrete control operation code of required execution, 2Bytes, like the corresponding open and close of switching mode control command, corresponding 0% to the 100% folding degree of stepless control type order.
4, service data 1, service data 2: with the control command type decided, represent the parameter of the control command of required execution, 10Bytes, for example time-delay order, the duration that need delay time is exactly corresponding service data value.
5, status code: position encoded with the corresponding feedback states of concrete control command, 2Bytes, this value usable range 0-4096.
6, state value: with controlled device associated state value, 4Bytes, concrete implication is relevant with command type.
7, subsequent use: reserve 2Bytes in the present embodiment as subsequent use, can expand to other newly-increased operational order, this value usable range 0-4096 in the actual design, can be reserved as other bytes certainly.
The present invention is decomposed into a plurality of controlled devices and a plurality of single control command with production run, and controlled device and the control command corresponding with it are associated, and people only need select controlled device; Just can access automatically with the controlled device associated control and order; People just can generate the control command sequence automatically, and store as long as select control command; The control controlled device is carried out control command according to command sequence, thus automatic generation, the implementation of implementation procedure control command.
The present invention is owing to be decomposed into single controlled device and control command with production run, so simplified control procedure, controlled device of choosing and control command can according to fixed format be stored automatically; People only need select controlled device and control command, do not need professional personnel to carry out flow process and write, so very convenient; Be fit to large-scale application and popularization, and whole implementation is carried out according to command sequence control by computing machine, so speed is fast; Accuracy is high; Improve execution efficient greatly, can also guarantee the accurate control of slight error, guaranteed the quality of product.
Because the control command sequence generates before command execution, controlled device has been avoided the appearance of manual operation mistake phenomenon just according to the command execution that weaves in advance.

Claims (7)

1. the order of a Process Control System generates manner of execution, it is characterized in that: comprise
(1) command definition
A. define the parameter of controlled device and control command,
B. object parameters and its is corresponding control command parameter is carried out related;
(2) order generates
C. obtain the object parameters that the user chooses, show relevant control command parameter, supply the user to choose;
D. the control command parameter chosen of analysis user generates command format;
E. command format is stored as command sequence;
(3) command execution
F. read command sequence is controlled corresponding controlled device successively and is carried out.
2. the order of Process Control System according to claim 1 generates manner of execution, and it is characterized in that: said controlled device comprises switching mode valve, throttle-type valve, motor, pump and sensor.
3. the order of Process Control System according to claim 1 generates manner of execution; It is characterized in that: said control command is that the single order that forms is decomposed in the order of complete process control, comprises switching mode control command, the order of stepless control type, PID control command, affirmation order, time-delay order and information order.
4. the order of Process Control System according to claim 1 generates manner of execution, and it is characterized in that: the parameter of said controlled device comprises title, identifier, coding and type.
5. the order of Process Control System according to claim 1 generates manner of execution, and it is characterized in that: said step c is specially, and the control command that type and its of controlled device is corresponding is carried out related.
6. the order of Process Control System according to claim 1 generates manner of execution, and it is characterized in that: said step e is specially,
F. insert command format to assigned address;
G. judge whether to be the last item order, if not, skip to step c, if save as command sequence.
7. the order of Process Control System according to claim 1 generates manner of execution, and it is characterized in that: said step f is specially,
H. read command sequence;
I resolve command sequence is obtained the control command parameter;
The j transmitting control commands is controlled controlled device work to controlled device;
K. wait for and obtain the result of command execution;
L. the state after display command is carried out; Judge whether to be the last item order, if, finish, if not, skip to step I.
CN201110219611A 2011-08-02 2011-08-02 Method for generating and executing command for process control system Pending CN102331763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110219611A CN102331763A (en) 2011-08-02 2011-08-02 Method for generating and executing command for process control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110219611A CN102331763A (en) 2011-08-02 2011-08-02 Method for generating and executing command for process control system

Publications (1)

Publication Number Publication Date
CN102331763A true CN102331763A (en) 2012-01-25

Family

ID=45483568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110219611A Pending CN102331763A (en) 2011-08-02 2011-08-02 Method for generating and executing command for process control system

Country Status (1)

Country Link
CN (1) CN102331763A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226645A (en) * 2012-01-30 2013-07-31 上海西门子医疗器械有限公司 Control method and control system of medical equipment
CN104395843A (en) * 2012-06-19 2015-03-04 日本电能株式会社 Automatic operation system and method for automating operation
CN112682025A (en) * 2020-08-12 2021-04-20 山西天地煤机装备有限公司 Control method, device and system for drilling and anchoring equipment
CN116859874A (en) * 2023-09-04 2023-10-10 成都科江科技有限公司 Industrial logic control task scheduling method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728133A (en) * 2004-07-27 2006-02-01 武征 Object oriented information server, preparation method and browser
CN1743982A (en) * 2004-09-02 2006-03-08 台达电子工业股份有限公司 Program editing system and method for programmeable logic controller
JP2008020242A (en) * 2006-07-11 2008-01-31 Shimadzu Corp Autosampler control program forming support system and program
CN101957878A (en) * 2010-09-21 2011-01-26 清华大学 Method and device for constructing and managing prototype device library

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728133A (en) * 2004-07-27 2006-02-01 武征 Object oriented information server, preparation method and browser
CN1743982A (en) * 2004-09-02 2006-03-08 台达电子工业股份有限公司 Program editing system and method for programmeable logic controller
JP2008020242A (en) * 2006-07-11 2008-01-31 Shimadzu Corp Autosampler control program forming support system and program
CN101957878A (en) * 2010-09-21 2011-01-26 清华大学 Method and device for constructing and managing prototype device library

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226645A (en) * 2012-01-30 2013-07-31 上海西门子医疗器械有限公司 Control method and control system of medical equipment
CN103226645B (en) * 2012-01-30 2016-08-31 上海西门子医疗器械有限公司 The control method of armarium and control system
CN104395843A (en) * 2012-06-19 2015-03-04 日本电能株式会社 Automatic operation system and method for automating operation
CN104395843B (en) * 2012-06-19 2017-06-23 三菱电机株式会社 Automatic operation system and operation automation method
CN112682025A (en) * 2020-08-12 2021-04-20 山西天地煤机装备有限公司 Control method, device and system for drilling and anchoring equipment
CN116859874A (en) * 2023-09-04 2023-10-10 成都科江科技有限公司 Industrial logic control task scheduling method

Similar Documents

Publication Publication Date Title
Rojko Industry 4.0 concept: Background and overview.
US20130096695A1 (en) Method for configuring a control device
WO2001016657A1 (en) Editor device and recorded medium on which editor program is recorded
CN102331763A (en) Method for generating and executing command for process control system
CN104793567B (en) Nc program conversion method and device
CN105739473A (en) Methods And Apparatus To Manage Process Plant Alarms
CN105912325A (en) Reuse method and system for primitive assembly based on configuration software and configuration software
CN103744374B (en) A kind of servo motor parameter automatic configuration method and system
CN101436050A (en) Graphic interactive programming unit and method for open type numerical control system
JP2003256009A5 (en)
CN105701228A (en) Injection machine technological parameter record query system and injection machine technological parameter setting method
CN101395576A (en) A method for comparing, an automation system and a controller
CN112016173B (en) Method for manufacturing electrical diagram
CN201097202Y (en) A graphic interactive programming device
CN102049845B (en) The neutron control method of injection machine
JP6761004B2 (en) Tool management system, tool management device and tool management method
US20140115561A1 (en) Apparatus and Method for Creating a Program For Computer-controlled Machines
TWI496638B (en) Milling complex processing machine and the encoding method of its cutting tools
CN111475159B (en) Method, device and storage medium for automatically generating program
CN102609592A (en) Machining process model sequential modeling method based on characteristic identification removal
CN202951982U (en) Intelligent shifting system matched with robot
CN104808484A (en) Robot adaptive control method
CN105527920A (en) B/S-based numerical control machine tool fault diagnosis system
CN106814696B (en) A kind of digital control system man-machine interface secondary developing platform system and its implementation
US20150142166A1 (en) Numerical control device having function of simultaneously executing plurality of commands using data in table format

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120125

WD01 Invention patent application deemed withdrawn after publication