CN103267023B - Vacuum molecule method for controlling pump based on text language and device - Google Patents

Vacuum molecule method for controlling pump based on text language and device Download PDF

Info

Publication number
CN103267023B
CN103267023B CN201310145024.1A CN201310145024A CN103267023B CN 103267023 B CN103267023 B CN 103267023B CN 201310145024 A CN201310145024 A CN 201310145024A CN 103267023 B CN103267023 B CN 103267023B
Authority
CN
China
Prior art keywords
communication event
vacuum
molecular pump
input
vacuum molecular
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310145024.1A
Other languages
Chinese (zh)
Other versions
CN103267023A (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.)
Guangdong Sheng Boer Photoelectric Technology Co ltd
Original Assignee
Shenzhen Smee 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 Shenzhen Smee Co ltd filed Critical Shenzhen Smee Co ltd
Priority to CN201310145024.1A priority Critical patent/CN103267023B/en
Publication of CN103267023A publication Critical patent/CN103267023A/en
Application granted granted Critical
Publication of CN103267023B publication Critical patent/CN103267023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of vacuum molecule method for controlling pump based on text language and device, described method includes: obtains the triggering signal or the input of user produced by the trigger policy customized, and identifies at least one communication event authenticator pre-set accordingly;According to described triggering signal or input and at least one described communication event authenticator, corresponding target vacuum molecular pump is performed the process of at least one corresponding communication event.The embodiment that the present invention provides uses RS485 communication, and transmission range increases, and cabling is attractive in appearance, it is possible to save acquisition module cost, gathers the storage of data favourable data, saves the report making time;And device integration is high, it is user-friendly to, improves the availability of equipment and by the degree of customer acceptance.

Description

Vacuum molecule method for controlling pump based on text language and device
Technical field
The present invention relates to the communications field, in particular to a kind of vacuum molecular pump based on text language Control method and device.
Background technology
At present, in technical fields such as factory automation, communication, new forms of energy, vacuum molecular pump can be used, In the middle of concrete commercial Application, vacuum molecular pump be the rotor utilizing high speed rotating MOMENTUM TRANSMISSION to gas Molecule, is allowed to obtain directed velocity, thus the one taken away for prime after being compressed, being driven to air vent Pump.
In order to monitor the job information of vacuum molecular pump in real time and control it, in prior art Need to be connected to Centroid by the way of complicated cabling, wiring traditional in industry such as at present Pattern is to use the wiring of PLC, and generally it needs to connect enabling signal, speed feedback analog quantity, alarm signal Number wait multi-signal.It can thus be seen that traditional wired is complex, and owing to vacuum molecular pump is in dividing The reason that cloth is arranged, causes cabling farther out, and the difficulty of wiring improves the most accordingly, time and effort consuming;And by Poor in analog quantity capacity of resisting disturbance, therefore in the case of transmission is longer, it is impossible to ensure transmission data Accuracy, it addition, during along with the increase of vacuometer quantity, acquisition module also to accordingly increase, nothing Doubting and add cost, in the specific implementation, the entire run information of vacuum molecular pump also cannot be by fully Real-time Collection and presenting.
Summary of the invention
In order to solve at least one technical problem above-mentioned that existing vacuum molecule method for controlling pump exists, this The purpose of bright embodiment is to provide a kind of vacuum molecule method for controlling pump based on text language and device.
In order to reach the purpose of the present invention, the present invention realizes by the following technical solutions:
A kind of vacuum molecule method for controlling pump based on text language, including:
Obtain produced by the trigger policy customized trigger signal or the input of user, and identify accordingly to A few communication event authenticator pre-set;
According to described triggering signal or input and at least one described communication event authenticator to corresponding mesh Mark vacuum molecular pump performs the process of at least one corresponding communication event.
Preferably, described communication event includes that vacuum molecular pump sets and acquisition of information.
Alternatively, described vacuum molecular pump sets to include starting and sets and speed setting, described acquisition of information Including state information acquisition, warning message obtains, rotary speed information obtains and power information obtains.
Preferably, reflect according to described triggering signal or the input of user and at least one described communication event Do not accord with the step bag of the process that corresponding target vacuum molecular pump is carried out at least one corresponding communication event Include:
At least one target vacuum molecular pump is identified according to this input;
At least one communication event control instruction corresponding is generated according to described communication event authenticator;
Send the target vacuum molecular pump that described communication event control instruction is the most corresponding, to perform respective communication The process of event.
Preferably, before execution institute is in steps, also include:
Initialize the input/output interface of at least one and the communication connection of respective objects vacuum molecular pump, described Input/output interface is RS485 interface.
A kind of vacuum molecule apparatus for controlling pump based on text language, including:
Acquiring unit, for obtaining the triggering signal or the input of user produced by the trigger policy customized;
According to the input of described triggering signal or user, recognition unit, for identifying that at least one pre-sets Communication event authenticator;
Processing unit, for according to described triggering signal or the input of user and at least one described communication Event dis-criminator performs the process of at least one corresponding communication event to corresponding target vacuum molecular pump.
Preferably, described communication event includes that vacuum molecular pump sets and acquisition of information.
Alternatively, described vacuum molecular pump sets to include starting and sets and speed setting, described acquisition of information Including state information acquisition, warning message obtains, rotary speed information obtains and power information obtains.
Preferably, described processing unit includes:
First processing unit, for identifying at least one vacuum according to the input of described triggering signal or user Molecular pump;
Second processing unit, for generating at least one communication corresponding according to described communication event authenticator Event control instructs;
3rd processing unit, for sending the vacuum molecular pump that described communication event control instruction is the most corresponding, To perform the process of respective communication event.
Preferably, described vacuum molecule apparatus for controlling pump based on text language also includes:
Initialization unit, for initializing at least one input communicated to connect with corresponding vacuum molecular pump/defeated Outgoing interface, described input/output interface is RS485 interface.
By the technical scheme of the invention described above it can be seen that the embodiment that the present invention provides uses RS485 Communication, transmission range increases, and cabling is attractive in appearance, it is possible to save acquisition module cost, gathers data and favorably counts According to storage, save the report making time;And device integration is high, it is user-friendly to, improves equipment Availability and by the degree of customer acceptance.
Accompanying drawing explanation
Fig. 1 is that the vacuum molecule method for controlling pump flow process based on text language that the embodiment of the present invention provides is shown It is intended to;
Fig. 2 be the embodiment of the present invention provide according to the input of user and communication event authenticator to accordingly Vacuum molecular pump carry out the steps flow chart schematic diagram of process of at least one corresponding communication event;
Fig. 3 is that vacuum molecular pump based on the text language control apparatus structure that the embodiment of the present invention provides shows It is intended to.
The realization of the object of the invention, functional characteristics and excellent effect, below in conjunction with specific embodiment and Accompanying drawing is described further.
Detailed description of the invention
Make further to retouch in detail to technical scheme of the present invention with specific embodiment below in conjunction with the accompanying drawings State, so that those skilled in the art can be better understood from the present invention and can be practiced, but lifted real Execute example not as a limitation of the invention.
With reference to Fig. 1, its a kind of based on text language vacuum molecular pump provided for the embodiment of the present invention controls The method flow schematic diagram of method, it comprises the steps:
Step S10: obtain produced by the trigger policy customized trigger signal or the input of user, and according to This identifies at least one communication event authenticator pre-set;
Step S20: corresponding vacuum is divided according to triggering signal or input and described communication event authenticator Sub-pump performs the process of at least one corresponding communication event.
In the present embodiment, described communication event includes that vacuum molecular pump sets and acquisition of information, but it should Understanding, described communication event also includes all kinds of events that other those skilled in the art are readily apparent that, herein This is not enumerated.
Specifically, in the present embodiment, the most described vacuum molecular pump sets to include starting and sets and rotating speed Set, described acquisition of information include state information acquisition, warning message obtain, rotary speed information obtain and Power information obtains.
The communication event authenticator pre-set described in it can be seen that is to record concrete communication event Control instruction and communication event differentiate the carrier of rule mapping relations, described communication event differentiate rule in order to Input according to various users identifies character or the attribute of this communication event, then according to this communication event Character or attribute find correspondence communication event control instruction.
In the present embodiment, as in figure 2 it is shown, according to described triggering signal or the input of user and described Communication event authenticator carries out the step of the process of at least one corresponding communication event to corresponding vacuum molecular pump Suddenly include:
Step S201: identify at least one vacuum molecular pump according to described triggering signal or input;
Step S202: generate at least one communication event corresponding according to described communication event authenticator and control Instruction;
Step S203: send the vacuum molecular pump that described communication event control instruction is the most corresponding, to perform phase Answer the process of communication event.
More specifically, in the present embodiment, before performing described step S10, also include:
Step S01: initialize the input/output interface of at least one and the communication connection of corresponding vacuum molecular pump, Described input/output interface is RS485 interface.Should be appreciated that described RS485 interface can dock multiple Target vacuum molecular pump.
Such as, in the following present invention one detailed embodiment, use to finish and inspire confidence in the realization of PC system, it is achieved scheme Divide following four steps.
Step one, serial ports initialize
1. select RS485 mouth, be set baud rate, check bit etc. according to molecular pump communication need.
2. in software, serial ports initializes, and the setting of transmitting-receiving buffer area.
A. in Global Variable, variable is stated, definition hardware serial ports and hardware mapped cache district:
VAR_GLOBAL
// statement serial communication, input and output, relief area variable //
PCcom:SerialLineControl;
pComIn AT%I*:pccomindata;
pComOut AT%Q*:pccomoutdata;
TxBuffer,RxBuffer:combuffer;
END_VAR
B. input code in program, initialization serial ports:
PCcom(
Mode:=SERIALLINEMODE_PC_COM_PORT,
pComIn:=ADR(pComIn),
pComOut:=ADR(pComOut),
SizeComIn:=SIZEOF(pcomin),
// in serial ports type defined in backdrop procedure, output data address, size of data //
TxBuffer:=TxBuffer,
RxBuffer:=RxBuffer,
Error=>;
ErrorID=>);
Wherein, above-mentioned functions block input/output variable is described as follows:
For input:
The serial ports type of Mode: use.
PComIn: serial communication input variable pointer.
PComOut: serial communication defeated output variable pointer.
The byte length of SizeComIn: input variable.
TxBuffer: send buffer definitions.
RxBuffer: receive buffer definitions.
For output:
Error: rub-out signal exports.
ErrorID: mistake number information exports.
C. definition transmitting-receiving instruction buffer variable, prepares customization receiving and dispatching mechanism.
pSendDataArr1:ARRAY[1..8]OF BYTE:;// information sends district
pReceiveDataArr1:ARRAY[1..10]OF BYTE;// information region of acceptance
Step 2, the research a plurality of communication instruction of vacuum molecular pump, formulate communication mechanism.
1. transmission-receiving function function instantiation call definition
SendData_001:SendData;
ReceiveData_001:ReceiveData;
2. customization transmitting-receiving communication
Transmission SendData_001 (
pSendData:=ADR(pSendDataArr1),
Length:=9,
TXbuffer:=Txbuffer,
Busy=>,
Error=>);
Reception ReceiveData_001 (
pPrefix:=,
LenPrefix:=,
pSuffix:=,
LenSuffix:=,
pReceiveData:=ADR(pReceiveDataArr1),
SizeReceiveData:=SIZEOF(pReceiveDataArr1),
Timeout:=T#50ms,
Reset:=,
RXbuffer:=RXbuffer,
DataReceived=>,
busy=>,
Error=>,
RxTimeout=>,
LenReceiveData=>);
3. vacuum molecular pump needs the instruction set to include:
Start, speed setting.
Feedack instruction is needed to include:
State, warning message, rotating speed, power etc.
Step 3, allotment different instruction, obtain effective information.
Owing to the instruction needing the transmission of vacuum molecular pump communication is the most, the instruction of setting needs to set certain Send this instruction during item, need to confirm startup successful information for starting;Need under non-setting state Poll needs feedack, for preventing communication from blocking customization delay process code.
Definition timer: timer1:TON;Intervalometer can be configured interval time.
Utilize intervalometer, be automatically filled in receiving and sending messages of different station number.
IF timer1.Q THEN
FOR i:=1TO MaxNum DO pReceiveDataArr1[i]:=0;// empty reception buffer area
END_FOR
………………
IF pSendDataArr1[1]>MaxNum THEN pSendDataArr1[1]:=1;
ELSE pSendDataArr1[1]:=pSendDataArr1[1]+1;END_IF
END_IF
Effective information is extracted, as a example by this programme needs to take character information from reception information, it is necessary to PReceiveDataArr1 [i] will be processed.And note each item data of each vacuum molecular pump is entered Row is deposited respectively.
Process as differentiation, IF ELSE, CASE etc. can be used in implementing to judge that statement is carried out Distinguish, the most do not add to illustrate.
Four, scheme debugging and examination.
Complete above step, also need to be attached, now program with Hardware I/O map section before debugging Can debug.
By the debugging result of above scheme it can be seen that in the case of not affecting communication quality, one RS485 mouth can carry 14 vacuum molecular pumps simultaneously and complete preferably set and gather feedback information, though So use the program, although the quantity of its band slave station is not as good as bus mode, but from controlling effect and cost Control under Integrated comparative, it is clear that use this programme to have bigger cost advantage.
As it is shown on figure 3, the embodiment of the present invention additionally provides a kind of vacuum molecular pump control based on text language Device processed, including:
Acquiring unit, for obtaining the triggering signal or the input of user produced by the trigger policy customized;
Recognition unit is logical for identifying that according to the input triggering signal or user at least one pre-sets Letter event dis-criminator;
Processing unit, for according to triggering signal or the input of user and at least one described communication event Authenticator performs the process of at least one corresponding communication event to corresponding target vacuum molecular pump.
In the present embodiment, specifically, described communication event includes that vacuum molecular pump sets and acquisition of information.
In the present embodiment, described vacuum molecular pump sets to include starting and sets and speed setting, described information Acquisition includes that state information acquisition, warning message obtain, rotary speed information obtains and power information obtains.
In the present embodiment, described processing unit includes:
First processing unit, for identifying at least one vacuum according to the input of described triggering signal or user Molecular pump;
Second processing unit, for generating at least one communication corresponding according to described communication event authenticator Event control instructs;
3rd processing unit, for sending the vacuum molecular pump that described communication event control instruction is the most corresponding, To perform the process of respective communication event.
In the present embodiment, described vacuum molecule apparatus for controlling pump based on text language also includes:
Initialization unit, for initializing at least one input communicated to connect with corresponding vacuum molecular pump/defeated Outgoing interface, described input/output interface is RS485 interface.
The foregoing is only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, Every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion, or directly Or indirectly it is used in other relevant technical fields, the most in like manner it is included in the scope of patent protection of the present invention.

Claims (6)

1. a vacuum molecule method for controlling pump based on text language, it is characterised in that including:
Obtain produced by the trigger policy customized trigger signal or the input of user, and identify accordingly to A few communication event authenticator pre-set;
Described communication event includes that vacuum molecular pump sets and acquisition of information;
Described vacuum molecular pump sets to include starting and sets and speed setting, and described acquisition of information includes state Acquisition of information, warning message obtain;
Deposit the described status information of each described vacuum molecular pump, described warning message respectively;
According to described triggering signal or input and at least one described communication event authenticator to corresponding mesh Mark vacuum molecular pump performs the process of at least one corresponding communication event.
2. vacuum molecule method for controlling pump based on text language as claimed in claim 1, its feature exists In, according to described triggering signal or the input of user and at least one described communication event authenticator to phase The step of the process that the target vacuum molecular pump answered carries out at least one corresponding communication event includes:
At least one target vacuum molecular pump is identified according to described triggering signal or input;
At least one communication event control instruction corresponding is generated according to described communication event authenticator;
Send the target vacuum molecular pump that described communication event control instruction is the most corresponding, to perform respective communication The process of event.
3. vacuum molecule method for controlling pump based on text language as claimed in claim 1, its feature exists In, before execution institute is in steps, also include:
Initialize the input/output interface of at least one and the communication connection of respective objects vacuum molecular pump, described Input/output interface is RS485 interface.
4. a vacuum molecule apparatus for controlling pump based on text language, it is characterised in that including:
Acquiring unit, for obtaining the triggering signal or the input of user produced by the trigger policy customized;
According to the input of described triggering signal or user, recognition unit, for identifying that at least one pre-sets Communication event authenticator;
Described communication event includes that vacuum molecular pump sets and acquisition of information;
Described vacuum molecular pump sets to include starting and sets and speed setting, and described acquisition of information includes state Acquisition of information, warning message obtain;
Memory element, for depositing the described status information of each described vacuum molecular pump, described report respectively Alarming information;
Processing unit, for according to described triggering signal or the input of user and at least one described communication Event dis-criminator performs the process of at least one corresponding communication event to corresponding target vacuum molecular pump.
5. vacuum molecule apparatus for controlling pump based on text language as claimed in claim 4, its feature exists In, described processing unit includes:
First processing unit, for identifying at least one vacuum according to the input of described triggering signal or user Molecular pump;
Second processing unit, for generating at least one communication corresponding according to described communication event authenticator Event control instructs;
3rd processing unit, for sending the vacuum molecular pump that described communication event control instruction is the most corresponding, To perform the process of respective communication event.
6. vacuum molecule apparatus for controlling pump based on text language as claimed in claim 4, its feature exists In, also include:
Initialization unit, for initializing at least one input communicated to connect with corresponding vacuum molecular pump/defeated Outgoing interface, described input/output interface is RS485 interface.
CN201310145024.1A 2013-04-24 2013-04-24 Vacuum molecule method for controlling pump based on text language and device Active CN103267023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310145024.1A CN103267023B (en) 2013-04-24 2013-04-24 Vacuum molecule method for controlling pump based on text language and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310145024.1A CN103267023B (en) 2013-04-24 2013-04-24 Vacuum molecule method for controlling pump based on text language and device

Publications (2)

Publication Number Publication Date
CN103267023A CN103267023A (en) 2013-08-28
CN103267023B true CN103267023B (en) 2016-12-28

Family

ID=49010671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310145024.1A Active CN103267023B (en) 2013-04-24 2013-04-24 Vacuum molecule method for controlling pump based on text language and device

Country Status (1)

Country Link
CN (1) CN103267023B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759742A (en) * 2014-12-18 2016-07-13 辰星(天津)自动化设备有限公司 Control device for industrial control system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477343A (en) * 2009-01-08 2009-07-08 上海交通大学 Micro-reactor control system based on virtual instrument technology
DE102009045386A1 (en) * 2009-10-06 2011-04-07 Endress + Hauser Process Solutions Ag Method for operating a fieldbus interface
CN102562557A (en) * 2010-12-07 2012-07-11 中国科学院沈阳科学仪器研制中心有限公司 Method for monitoring vacuum pump of photovoltaic equipment and system for realizing method
WO2012145151A1 (en) * 2011-04-20 2012-10-26 Sony Computer Entertainment America Llc Social interactive code development

Also Published As

Publication number Publication date
CN103267023A (en) 2013-08-28

Similar Documents

Publication Publication Date Title
CN107783833A (en) A kind of management method and device of terminal background application
CN111866160B (en) Multi-machine control method, device, equipment and storage medium
CN107248042A (en) Work attendance method, device and server
CN102916848A (en) Automatic test method of Ethernet interface equipment based on script technology
CN103267023B (en) Vacuum molecule method for controlling pump based on text language and device
CN101149680A (en) Dynamically changing, graphic configuration resource management method
CN109683910A (en) Big data platform dispositions method and device
CN101726341A (en) Wireless water level remote monitoring system
CN106874083A (en) A kind of data actuation man-machine interface method for scheduling task
CN104536926B (en) The control method and device of serial equipment
CN106488402B (en) Ground is made an inventory rendering method and relevant device
CN103822433A (en) Information processing method and refrigerator
CN106445546A (en) Method and device for establishing event system
CN102999331A (en) Hardware blocking layer of onboard software and onboard data communication method
CN114860460B (en) Database acceleration method and device and computer equipment
CN113766047B (en) Task grouping method and device, computer equipment and storage medium
CN103279076B (en) Based on power control method and the device of text language
CN113179325B (en) Multi-terminal collaborative interaction method and device, gateway box and medium
CN105162725B (en) A kind of method and device pre-processed to protocol processes assembly line message address
CN115269308A (en) Kafka monitoring method and system, computer equipment and medium
CN101634939A (en) Fast addressing device and method thereof
CN105551500B (en) A kind of acoustic signal processing method and device
CN111741053B (en) Data pre-downloading method, device, server, terminal and storage medium
CN209015256U (en) A kind of 1553B processing system based on FPGA
CN103902148B (en) Information processing method and electronic devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180601

Address after: 528400 Room 403, four floor, government side economic and trade building, 25 of ban Fu town, 25 of ban Fu Road, Zhongshan, Guangdong.

Patentee after: Guangdong Sheng Boer Photoelectric Technology Co.,Ltd.

Address before: 518000 Shenzhen, Guangdong Province, Shenzhen Pingshan new Shenzhen Export Processing Zone No. 2, A building, west of the first floor.

Patentee before: SHENZHEN SMEE Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Vacuum molecular pump control method and device based on text languages

Effective date of registration: 20191023

Granted publication date: 20161228

Pledgee: Science and Technology Branch of Torch Development Zone of Zhongshan Rural Commercial Bank Co.,Ltd.

Pledgor: Guangdong Sheng Boer Photoelectric Technology Co.,Ltd.

Registration number: Y2019980000293

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220124

Granted publication date: 20161228

Pledgee: Science and Technology Branch of Torch Development Zone of Zhongshan Rural Commercial Bank Co.,Ltd.

Pledgor: Guangdong Sheng Boer Photoelectric Technology Co.,Ltd.

Registration number: Y2019980000293

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Building 4, Haiyin Technology Industrial Park, No.1 Industrial Avenue, Banfu Community, Banfu Town, Zhongshan City, Guangdong Province, 528400

Patentee after: Guangdong Sheng Boer Photoelectric Technology Co.,Ltd.

Address before: 528400 Room 403, four floor, government side economic and trade building, 25 of ban Fu town, 25 of ban Fu Road, Zhongshan, Guangdong.

Patentee before: Guangdong Sheng Boer Photoelectric Technology Co.,Ltd.