CN109668694A - A kind of PLC programmed method of electronic product air-leakage test - Google Patents
A kind of PLC programmed method of electronic product air-leakage test Download PDFInfo
- Publication number
- CN109668694A CN109668694A CN201811181782.8A CN201811181782A CN109668694A CN 109668694 A CN109668694 A CN 109668694A CN 201811181782 A CN201811181782 A CN 201811181782A CN 109668694 A CN109668694 A CN 109668694A
- Authority
- CN
- China
- Prior art keywords
- interface
- plc
- electronic product
- programmed method
- input
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M3/00—Investigating fluid-tightness of structures
- G01M3/02—Investigating fluid-tightness of structures by using fluid or vacuum
- G01M3/26—Investigating fluid-tightness of structures by using fluid or vacuum by measuring rate of loss or gain of fluid, e.g. by pressure-responsive devices, by flow detectors
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/056—Programming the PLC
Abstract
The present invention relates to programming software technical field, specially a kind of PLC programmed method of electronic product air-leakage test, air tightness detection system provides modularized program interface, calls for computer client;PLC system carries out corresponding equipment control according to modularized program, shows electromechanical equipment operating status for computer client.Using programmed method of the invention, avoid the complex operations of existing programming, using reverse thinking, break the whole up into parts, molar behavior is dispersed into independent transfer one by one to make, each transfer is made again the logical relation by movement, sequencing links up, the corresponding movement of one instruction carrys out editing procedure, form a clear specific control flow chart, preferable working efficiency can be obtained, simultaneously, it can be controlled it by self-defined pattern, control parameters column, the input mode of each step command can conveniently be obtained, it is simple with programming, feature easy to maintain.
Description
Technical field
The present invention relates to programming software technical field, specially a kind of PLC programmed method of electronic product air-leakage test.
Background technique
Present society makes rapid progress, development it is very fast, programming software has also obtained very fast development, and benefit has programming soft
Its use scope of the program of part establishment is also constantly expanding, and the utilization rate of various programming softwares is also continuously improved, can
It is each programming software is to need using corresponding programming language come programming operation, this just needs the programming software personnel of profession
It is programmed to operate, so that the use to programming brings many troubles, while also having seriously affected the fast development of programming software.
Existing electronic product air-tightness testing device is all one-to-one single product test, and testing efficiency is insufficient, test
Air pressure does not have the prompt of pressure sensor overload alarm functions of indicator light, to the monitoring that measuring air pressure is not stringent, test result meeting
Product hermeticity energy is influenced, software control part is all traditional single-chip microcontroller and mainstream PLC, these software programming programs are excessively multiple
Miscellaneous not intuitive enough, efficient activity, single-chip microcontroller require threshold excessively high using C language programming, and low efficiency, mainstream PLC is all based on relay
The trapezoidal pattern programming method of device circuit, not enough simply, instruction are too many, and programming efficiency is low, for this purpose, it is proposed that a kind of electronic product
The PLC programmed method of air-leakage test.
Summary of the invention
The purpose of the present invention is to provide a kind of PLC programmed methods of electronic product air-leakage test, to solve above-mentioned back
The problem of being proposed in scape technology.
To achieve the above object, the invention provides the following technical scheme:
A kind of PLC programmed method of electronic product air-leakage test, specifically:
Air tightness detection system provides modularized program interface, calls for computer client;When computer is requested to inspection
When measurement equipment controls action event, PLC system carries out corresponding equipment control according to modularized program, and PLC system will control
As a result it is transmitted to computer client in real time, shows electromechanical equipment operating status for computer client.
Preferably, before the computer requests to detection device control operation, the input of PLC and external equipment are first obtained
Output relation list, the input/output relation list include a plurality of input/output relation, and are each independently of the others and separate, and every
The input/output relation includes external address and input and output type.
Preferably, information vocabulary and information vocabulary coded mathematical model are established on the basis of the input/output relation,
Grammatical attribute is assigned to information vocabulary and information vocabulary coding, establishes grammatical attribute vector;
Sentence pattern is constructed, syntax incidence matrix corresponding with sentence pattern is defined and defines the operation rule of syntax operator;
By matrix operation, legal descriptive programmed statements and corresponding statement code are constructed, simple programming language is passed through
Sentence and corresponding statement code, easy to operate convenient for the operation of non-programmed personnel, applicability is wide.
Preferably, the air tightness detection system is for realizing following function:
1) air tightness detection system, is connected, by data line by computer and modularized program orifice, starts double startup
Button;
2) it, is found in solenoid valve interface input custom instruction in computer display interface and shows that solenoid valve connects order, made
Cylinder is obtained to push;
3) interface immediately, is completed in 2) order and the delay waiting time occurs, inputs 300 herein, and specifying delay is 3 seconds;
4) it, is completed in 3) order, inflationtime relay triggering output interface occurs in interface, inputs in custom instruction and shows
Show that inflationtime relay and solenoid valve are connected to order, is triggered by inflationtime relay normally open, complete to inflate product;
5) it, is completed in 4) order, dwell time relay triggering output interface occurs in interface, inputs in custom instruction and shows
Show that order is connected in dwell time relay power pressure maintaining delay, is triggered by dwell time relay normally open, after completing to inflation
Product carries out pressure maintaining,;
6) it is completed in 5) order, the pressure after the pressurising pressure maintaining of the pressure sensor monitoring product in air tightness detection system
Changing value is transmitted to computer display interface, and according to the change value of pressure of display, order is passed through the bright of controller control instructions lamp
It rises, if no pressure changes, indicates that product is intact, indicator light green light lights;If there is pressure change, product has been indicated
Damage, indicator light red light light;
7) after the completion of, detecting, interface occurs disconnecting interface, and input custom instruction interruption ends into test, completes all
Output interface disconnects, and completes primary test.
Preferably, the information vocabulary and information vocabulary coded mathematical model are established the following steps are included:
It is decomposed into prefix, root, suffix by information is controlled according to customized mode, and is encoded, corresponding word is formed
First code, root code, suffix code;Specified word-building rule, according to word-building rule synthesis complete legal information vocabulary and information vocabulary
Coding.
Preferably, it is described 6) in indicator light when lighting, be delayed by the time relay 3 seconds, tested to guarantee here
Accuracy.
It preferably, also include parameter interface column in the computer display interface, for showing custom instruction opening and closing
Corresponding instruction.
Compared with prior art, the beneficial effects of the present invention are: using programmed method of the invention, existing programming is avoided
Complex operations broken the whole up into parts using reverse thinking, molar behavior is dispersed into independent transfer one by one and is made, then every
A transfer work links up by the logical relation of movement, sequencing, and the corresponding movement of an instruction carrys out editing procedure, is formed
One clear specific control flow chart, can obtain preferable working efficiency, meanwhile, can by self-defined pattern to its into
Row control, control parameters column can conveniently obtain the input mode of each step command, have programming simply, maintenance side
Just the characteristics of.
Detailed description of the invention
Fig. 1 is PLC program picture structure schematic diagram of the present invention;
Fig. 2 is air-tightness control flow structural schematic diagram of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The present invention provides a kind of technical solution referring to FIG. 1-2:
A kind of PLC programmed method of electronic product air-leakage test, specifically:
Air tightness detection system provides modularized program interface, calls for computer client;When computer is requested to inspection
When measurement equipment controls action event, PLC system carries out corresponding equipment control according to modularized program, and PLC system will control
As a result it is transmitted to computer client in real time, shows electromechanical equipment operating status for computer client.
Specifically, before computer requests to detection device control operation, the input and output of PLC and external equipment are first obtained
Relation list, input/output relation list include a plurality of input/output relation, and are each independently of the others and separate, every input and output
Relationship includes external address and input and output type.
Specifically, information vocabulary and information vocabulary coded mathematical model are established on the basis of input/output relation, to letter
It ceases vocabulary and information vocabulary coding assigns grammatical attribute, establish grammatical attribute vector;
Sentence pattern is constructed, syntax incidence matrix corresponding with sentence pattern is defined and defines the operation rule of syntax operator;
By matrix operation, legal descriptive programmed statements and corresponding statement code are constructed, simple programming language is passed through
Sentence and corresponding statement code, easy to operate convenient for the operation of non-programmed personnel, applicability is wide.
Specifically, air tightness detection system is for realizing following function:
1) air tightness detection system, is connected, by data line by computer and modularized program orifice, starts double startup
Button;
2) it, is found in solenoid valve interface input custom instruction in computer display interface and shows that solenoid valve connects order, made
Cylinder is obtained to push;
3) interface immediately, is completed in 2) order and the delay waiting time occurs, inputs 300 herein, and specifying delay is 3 seconds;
4) it, is completed in 3) order, inflationtime relay triggering output interface occurs in interface, inputs in custom instruction and shows
Show that inflationtime relay and solenoid valve are connected to order, is triggered by inflationtime relay normally open, complete to inflate product;
5) it, is completed in 4) order, dwell time relay triggering output interface occurs in interface, inputs in custom instruction and shows
Show that order is connected in dwell time relay power pressure maintaining delay, is triggered by dwell time relay normally open, after completing to inflation
Product carries out pressure maintaining,;
6) it is completed in 5) order, the pressure after the pressurising pressure maintaining of the pressure sensor monitoring product in air tightness detection system
Changing value is transmitted to computer display interface, and according to the change value of pressure of display, order is passed through the bright of controller control instructions lamp
It rises, if no pressure changes, indicates that product is intact, indicator light green light lights;If there is pressure change, product has been indicated
Damage, indicator light red light light;
7) after the completion of, detecting, interface occurs disconnecting interface, and input custom instruction interruption ends into test, completes all
Output interface disconnects, and completes primary test.
Specifically, the information vocabulary and information vocabulary coded mathematical model are established the following steps are included:
It is decomposed into prefix, root, suffix by information is controlled according to customized mode, and is encoded, corresponding word is formed
First code, root code, suffix code;Specified word-building rule, according to word-building rule synthesis complete legal information vocabulary and information vocabulary
Coding.
Specifically, it when indicator light lights in 6), is delayed here by the time relay 3 seconds, to guarantee the standard of test
True property.
It specifically, also include parameter interface column in computer display interface, for showing the correspondence of custom instruction opening and closing
Instruction.
Using programmed method of the invention, the complex operations of existing programming are avoided, using reverse thinking, are broken the whole up into parts,
Molar behavior is dispersed into independent transfer one by one to make, then each transfer is made the logical relation by movement, sequencing
Link up, the corresponding movement of an instruction carrys out editing procedure, forms a clear specific control flow chart, can obtain
Preferable working efficiency, meanwhile, it can be controlled it by self-defined pattern, control parameters column can be conveniently
The input mode of each step command is obtained, the feature for having programming simple, easy to maintain.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.
Claims (7)
1. a kind of PLC programmed method of electronic product air-leakage test, which is characterized in that specifically:
Air tightness detection system provides modularized program interface, calls for computer client;When computer request sets detection
When standby control action event, PLC system carries out corresponding equipment control according to modularized program, and PLC system is by control result
It is transmitted to computer client in real time, shows electromechanical equipment operating status for computer client.
2. a kind of PLC programmed method of electronic product air-leakage test according to claim 1, it is characterised in that: in institute
Before computer request is stated to detection device control operation, the input/output relation list of PLC and external equipment are first obtained, it is described defeated
Entering output relation list includes a plurality of input/output relation, and is each independently of the others and separates, and every input/output relation is equal
Including external address and input and output type.
3. a kind of PLC programmed method of electronic product air-leakage test according to claim 2, it is characterised in that: in institute
It states and establishes information vocabulary and information vocabulary coded mathematical model on the basis of input/output relation, to information vocabulary and information vocabulary
Coding assigns grammatical attribute, establishes grammatical attribute vector;
Sentence pattern is constructed, syntax incidence matrix corresponding with sentence pattern is defined and defines the operation rule of syntax operator;
By matrix operation, construct legal descriptive programmed statements and corresponding statement code, by simple programmed statements and
Corresponding statement code, easy to operate convenient for the operation of non-programmed personnel, applicability is wide.
4. a kind of PLC programmed method of electronic product air-leakage test according to claim 1 to 3, which is characterized in that institute
Air tightness detection system is stated for realizing following function:
1) air tightness detection system, is connected, by data line by computer and modularized program orifice, starts double startup and presses
Button;
2) it, is found in solenoid valve interface input custom instruction in computer display interface and shows that solenoid valve connects order, make to bring about the desired sensation
Cylinder pushes;
3) interface immediately, is completed in 2) order and the delay waiting time occurs, inputs 300 herein, and specifying delay is 3 seconds;
4) it, is completed in 3) order, inflationtime relay triggering output interface occurs in interface, shows and fills in input custom instruction
The gas time relay and solenoid valve, which are connected, orders, and is triggered by inflationtime relay normally open, completes to inflate product;
5) it, is completed in 4) order, dwell time relay triggering output interface occurs in interface, inputs in custom instruction and shows guarantor
It presses time relay power supply pressure maintaining delay to connect order, is triggered by dwell time relay normally open, completed to the product after inflation
Pressure maintaining is carried out,;
6) it is completed in 5) order, the pressure change after the pressurising pressure maintaining of the pressure sensor monitoring product in air tightness detection system
Value is transmitted to computer display interface, according to the change value of pressure of display, by order lighting by controller control instructions lamp, such as
If no pressure changes, indicate that product is intact, indicator light green light lights;If there is pressure change, indicate that product is damaged,
Indicator light red light lights;
7) after the completion of, detecting, interface occurs disconnecting interface, and input custom instruction interruption ends into test, completes all outputs
Interface disconnects, and completes primary test.
5. a kind of PLC programmed method of electronic product air-leakage test according to claim 3, which is characterized in that establish
The information vocabulary and information vocabulary coded mathematical model the following steps are included:
Be decomposed into prefix, root, suffix for information is controlled according to customized mode, and encoded, formed corresponding prefix code,
Root code, suffix code;Specified word-building rule is encoded according to word-building rule synthesis complete legal information vocabulary and information vocabulary.
6. a kind of PLC programmed method of electronic product air-leakage test according to claim 4, which is characterized in that described
6) it when indicator light lights in, is delayed here by the time relay 3 seconds, to guarantee the accuracy of test.
7. a kind of PLC programmed method of electronic product air-leakage test according to claim 4, which is characterized in that described
It also include parameter interface column in computer display interface, for showing the corresponding instruction of custom instruction opening and closing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811181782.8A CN109668694A (en) | 2018-10-11 | 2018-10-11 | A kind of PLC programmed method of electronic product air-leakage test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811181782.8A CN109668694A (en) | 2018-10-11 | 2018-10-11 | A kind of PLC programmed method of electronic product air-leakage test |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109668694A true CN109668694A (en) | 2019-04-23 |
Family
ID=66142693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811181782.8A Pending CN109668694A (en) | 2018-10-11 | 2018-10-11 | A kind of PLC programmed method of electronic product air-leakage test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109668694A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114594720A (en) * | 2022-02-07 | 2022-06-07 | 厦门聚视智创科技有限公司 | High-efficient programming system of PLC |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1971235A (en) * | 2005-11-25 | 2007-05-30 | 上海市建筑科学研究院有限公司 | Physical three-property detection system for building curtain wall |
CN105022330A (en) * | 2014-04-21 | 2015-11-04 | 上海宝信软件股份有限公司 | Tunnel monitoring PLC module programming method |
CN205483454U (en) * | 2016-03-23 | 2016-08-17 | 上海乐来汽车分析测试有限公司 | Car car light gas tightness test equipment |
CN106194698A (en) * | 2016-06-28 | 2016-12-07 | 上海高桥捷派克石化工程建设有限公司 | Compressor test bay control system and control method |
CN107422691A (en) * | 2017-08-11 | 2017-12-01 | 山东省计算中心(国家超级计算济南中心) | One kind collaboration PLC programming language building methods |
CN206804242U (en) * | 2017-06-02 | 2017-12-26 | 北京南铁技术有限公司 | Intermediate of brake valve air-leakage test experimental bench |
CN206990178U (en) * | 2017-07-13 | 2018-02-09 | 中广核核电运营有限公司 | The automatic bulge test device of motor-driven valve |
-
2018
- 2018-10-11 CN CN201811181782.8A patent/CN109668694A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1971235A (en) * | 2005-11-25 | 2007-05-30 | 上海市建筑科学研究院有限公司 | Physical three-property detection system for building curtain wall |
CN105022330A (en) * | 2014-04-21 | 2015-11-04 | 上海宝信软件股份有限公司 | Tunnel monitoring PLC module programming method |
CN205483454U (en) * | 2016-03-23 | 2016-08-17 | 上海乐来汽车分析测试有限公司 | Car car light gas tightness test equipment |
CN106194698A (en) * | 2016-06-28 | 2016-12-07 | 上海高桥捷派克石化工程建设有限公司 | Compressor test bay control system and control method |
CN206804242U (en) * | 2017-06-02 | 2017-12-26 | 北京南铁技术有限公司 | Intermediate of brake valve air-leakage test experimental bench |
CN206990178U (en) * | 2017-07-13 | 2018-02-09 | 中广核核电运营有限公司 | The automatic bulge test device of motor-driven valve |
CN107422691A (en) * | 2017-08-11 | 2017-12-01 | 山东省计算中心(国家超级计算济南中心) | One kind collaboration PLC programming language building methods |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114594720A (en) * | 2022-02-07 | 2022-06-07 | 厦门聚视智创科技有限公司 | High-efficient programming system of PLC |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108135052B (en) | Method, device and system for monitoring state information of LED lamp | |
CN105973544A (en) | Airplane full static pressure test system based on adaptive PID method and method | |
CN109826663A (en) | A kind of mine catastrophe ventilation Distributed Area linkage and intelligent control system and method | |
CN104408247A (en) | Method for simulating troubleshooting training of complex electrical system | |
CN109668694A (en) | A kind of PLC programmed method of electronic product air-leakage test | |
CN110611312B (en) | On-line simulation system and method for panoramic data of substation bay level | |
CN111652760A (en) | Power grid operation and maintenance virtual reality simulation system and simulation method | |
Liu et al. | Design of traffic lights controlling system based on PLC and configuration technology | |
KR102136956B1 (en) | Input output hot-swappable wiring interface providing method and apparatus and system therefor | |
CN215868362U (en) | Platform device of special gas chemical analog simulation system | |
CN212518989U (en) | Optical fiber pilot channel detection device based on ZYNQ platform | |
CN109888923A (en) | A kind of simulation detection system of automation of transformation substations equipment | |
CN115292885A (en) | Water hammer protection and intelligent regulation and control system for water supply engineering based on digital twin | |
CN113096513B (en) | Platform device of special gas chemical simulation system | |
CN203812105U (en) | Automatic oxygen-supply system | |
CN204065698U (en) | A kind of thermal power generation unit accident treatment trainer | |
KR101593432B1 (en) | Method for calculating pressures and temperature following main steamline break | |
CN114879547A (en) | Parameter monitoring system and parameter monitoring method for gas supply unit of laser device | |
CN110087371A (en) | A kind of stage lighting network intelligence control system and method | |
CN112891809B (en) | Intelligent decision device, method and system for controlling fire-fighting linkage controller | |
CN104763626B (en) | A kind of PUMP monitoring method and device | |
WO2023184554A1 (en) | Plc testing system and method | |
KR101992678B1 (en) | Digital alarm system and method for plant | |
CN115881291B (en) | Operation and maintenance training system and method for medical equipment | |
CN116300669A (en) | Marine control box analog signal general simulation 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: 20190423 |
|
RJ01 | Rejection of invention patent application after publication |