CN103103491A - PLC virtual device control system for vacuum coating equipment and control method - Google Patents
PLC virtual device control system for vacuum coating equipment and control method Download PDFInfo
- Publication number
- CN103103491A CN103103491A CN2011103554674A CN201110355467A CN103103491A CN 103103491 A CN103103491 A CN 103103491A CN 2011103554674 A CN2011103554674 A CN 2011103554674A CN 201110355467 A CN201110355467 A CN 201110355467A CN 103103491 A CN103103491 A CN 103103491A
- Authority
- CN
- China
- Prior art keywords
- plc
- virtual unit
- switching value
- vacuum coating
- data
- 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
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
The invention discloses a PLC virtual device control system for vacuum coating equipment and a control method, and mainly solves the problem that a control mode needs to be redesigned for changes of equipment. The system provided by the invention mainly comprises a PLC, an upper computer and peripheral equipment; and the PLC is a main control device. The system is characterized in that a virtual input / output port is employed in the PLC, so as to realize wireless connection of the process with the external equipment, and assure that change of external equipment simply needs to modify configuration parameters to meet design requirements of the control system. According to the control method of the vacuum coating equipment provided by the invention, a virtual equipment parameter addressing method and a PLC indexed addressing technology are employed to establish mapping between the input / output port and port of the virtual equipment, and realize adaption to different external parts by the vacuum coating equipment through usage of a set of control system, thus ensuring the reliability and stability of the control system.
Description
Technical field
The invention belongs to vacuum apparatus technology control field, particularly relate to a kind of PLC virtual unit Controlling System and control method of vacuum coating film equipment.
Technical background
Vacuum coating film equipment generally is comprised of vacuum acquiring system, vacuum measurement system, kinetic control system, heating system, gas delivery system, technique power-supply system (comprising direct supply, radio-frequency power supply, intermediate frequency power supply, electron beam gun power supply, ion source etc.), warning system.The concrete building form of composition system of different vacuum coating film equipments all there are differences, when being controlled, the equipment unit that changes to comprise hardware and software to these difference redesign control modes, be easy to cause design objective to strengthen, production cost increases and also loses time.
Summary of the invention
Technical problem for above-mentioned existence, the invention provides a kind of PLC virtual unit Controlling System and control method of vacuum coating film equipment, realize that vacuum coating film equipment adapts to different external components with a cover Controlling System, can reduce the software design task, Decrease production cost, thus the reliability and stability of Controlling System guaranteed.
In order to realize the foregoing invention purpose, technical scheme of the present invention is as follows:
A kind of PLC virtual unit Controlling System of vacuum coating film equipment, it is characterized in that comprising PLC, upper computer, peripheral equipment, wherein PLC is that main control equipment comprises each virtual unit and PLC input/output end port, and each virtual unit connects peripheral equipment by the PLC input/output end port; The PLC input port connects the feedback signal of peripheral equipment, and the PLC output port connects the control end of peripheral equipment; Upper computer is that computer is connected with the PLC communication, and the control parameter read-in of controlling peripheral equipment is realized programming and control to PLC in the corresponding virtual unit control of PLC parameter region.
Each virtual unit in PLC comprises 8 way switch amount input ports, 8 way switch amount output ports, 4 road analog input ports, 2 road analog output ports.
64 virtual units can be set at most in PLC.
Preferably can be set to 1~32 virtual unit in PLC.
Described PLC input/output end port is comprised of switching value module and analog module.
A kind of control method of PLC virtual unit Controlling System of vacuum coating film equipment is characterized in that comprising the steps:
Read PLC input port data;
Each virtual unit carries out addressing according to its configuration parameter to PLC input port data to be processed, and obtains switching value and/or the analog data of virtual unit;
The technique for vacuum coating flow process is controlled each virtual unit according to switching value and/or analog quantity, by required switching value and/or the analog quantity of each virtual unit output peripheral equipment;
Each virtual unit carries out addressing according to configuration parameter to the switching value of its output and/or analog data to be processed, and sends it to the PLC output port.
It is as follows that concrete steps are processed in virtual unit switching value and/or analog data input addressing:
Read PLC switching value input data and deposit the data working areas in;
The configuration parameter of working area data and virtual unit is carried out computing, and operation result is set to the switching value input port state of virtual unit; Judging whether the switching value number is less than or equal to 8, if greater than 8, read the PLC analog input to the data working areas, carry out computing according to the configuration parameter of virtual unit, is the analog input port data of virtual unit with calculation result; Then judge whether the analog quantity number is less than or equal to 4, complete greater than 4 addressing processes as number.
If the analog quantity number is not more than at 4 o'clock, return to execution parameter operation program step.
To be less than or equal to 8 as the switching value number, the execution parameter that continues operation program step.
It is as follows that concrete steps are processed in virtual unit switching value and/or analog data output addressing:
Read PLC switching value output data and deposit the data working areas in;
Configuration parameter and the virtual unit switching value output port state of working area data, virtual unit are carried out computing, judge whether the switching value number is less than or equal to 8, if number is greater than 8, operation result is write PLC switching value output port, carry out computing according to configuration parameter and the virtual unit analog output port data of virtual unit, operation result is write PLC analog output port; Then judge whether the analog quantity number is less than or equal to 2, complete greater than 2 addressing processes as number.
Be less than or equal to 2 as the analog quantity number, return to execution parameter operation program step.
If the switching value number is to be less than or equal to 8, the execution parameter that continues operation program step.
The present invention compared with prior art beneficial effect is:
1, the present invention mainly solves the problem that change equipment need to redesign hardware and software, and the method simplicity of design, easily implement, mainly adopt virtual input/output end port in PLC, make technical process realization and peripheral equipment onrelevant, the change of assurance peripheral equipment only need be revised simply configuration parameter and just can reach the Control System Design requirement.
2, the control method of vacuum coating film equipment of the present invention, by using virtual unit parameter addressing method, mainly utilizing PLC index technology that the port of input/output end port and virtual unit is set up mapping contacts, realize that vacuum coating film equipment adapts to different external components with a cover Controlling System, thereby guaranteed the reliability and stability of Controlling System.
Description of drawings
Fig. 1 is system architecture diagram of the present invention;
Fig. 2 is Fig. 1 virtual unit input/output end port schematic diagram;
Fig. 3 is that the virtual unit input/output data is processed general flow chart;
Fig. 4 is virtual unit input flow chart of data processing figure;
Fig. 5 is virtual unit output flow chart of data processing figure.
Embodiment
Below in conjunction with drawings and embodiments, the present invention program is described in further detail.
As shown in Figure 1, be system architecture diagram of the present invention.A kind of PLC virtual unit Controlling System of vacuum coating film equipment, it is characterized in that comprising PLC, upper computer, peripheral equipment, wherein PLC is that main control equipment comprises each virtual unit and PLC input/output end port, and each virtual unit connects peripheral equipment by the PLC input/output end port; The PLC input port connects the feedback signal of peripheral equipment, and the PLC output port connects the control end of peripheral equipment; Upper computer is that computer is connected with the PLC communication, and the control parameter read-in of controlling peripheral equipment is realized programming and control to PLC in the corresponding virtual unit control of PLC parameter region.
Peripheral equipment comprises the vacuum execution unit of vacuum pump, valve, well heater, deposition power supply, mass flow controller.
In PLC, maximum can arrange 64 virtual units.
1~32 virtual unit preferably can be set in PLC, can adjust according to the demand of peripherals the quantity of virtual unit.
Described PLC input/output end port is comprised of switching value module and analog module.
As shown in Figure 2, be virtual unit input/output end port schematic diagram.
Each virtual unit in PLC comprises 8 way switch amount input port DI1~DI8,8 way switch amount output port DO1~DO8,4 road analog input port AD1~AD4,2 road analog output port DA1, DA2.
As shown in Figure 3, process general flow chart for the virtual unit input/output data.A kind of control method of PLC virtual unit Controlling System of vacuum coating film equipment is characterized in that comprising the steps:
Read PLC input port data;
Each virtual unit carries out addressing according to its configuration parameter to PLC input port data to be processed, and obtains switching value and/or the analog data of virtual unit;
The technique for vacuum coating flow process is controlled each virtual unit according to switching value and/or analog quantity, by required switching value and/or the analog quantity of each virtual unit output peripheral equipment;
Each virtual unit carries out the addressing processing according to configuration parameter to switching value and/or the analog quantity of its output, sends it to the PLC output port.
Described virtual unit configuration parameter comprises that virtual unit quantity, switching value quantity, analog quantity quantity, No. D, PLC input/output end port module I, analog quantity resolving power, analog quantity range comprise voltage 0~10V, electric current 4~20MA, this virtual unit configuration parameter are that the band according to actual field equipment carries I/O electric current, voltage range and corresponding the setting.
As shown in Figure 4, be virtual unit input flow chart of data processing figure.It is as follows that concrete steps are processed in virtual unit switching value and/or analog data input addressing:
Read PLC switching value input data and deposit the data working areas in;
The configuration parameter of working area data and virtual unit is carried out computing, and operation result is set to the switching value input port DI1 of virtual unit~DI8 state; Judge whether the switching value number is less than or equal to 8, if greater than 8, read the PLC analog input to the data working areas, carry out computing according to the configuration parameter of virtual unit, calculation result is made as the analog input port AD1 of virtual unit~AD4 data; Then judge whether the analog quantity number is less than or equal to 4, as completing greater than 4 addressing processes.
If the analog quantity number is not more than at 4 o'clock, return to execution parameter operation program step.
If the switching value number is to be less than or equal to 8, the execution parameter that continues operation program step.
Described switching value input state calculation step: the configuration parameter of working area data and virtual unit is carried out AND operation, the configuration parameter of operation result and virtual unit is compared, as identical in comparative result, the switching value input port DI1 of virtual unit~DI8 state is set to 1, if different, the switching value input port DI1 of virtual unit~DI8 state is set to 0.
Described analog input state calculation step: calculate current analog input point physical address according to the configuration parameter of virtual unit, use B instruction to read analog quantity numerical value, numerical value is set to the analog input port AD1 of virtual unit~AD4 and inputs data.
As shown in Figure 5, be virtual unit output flow chart of data processing figure.It is as follows that concrete steps are processed in virtual unit switching value and/or analog data output addressing:
Read PLC switching value output data and deposit the data working areas in;
Configuration parameter and the virtual unit switching value output port DO1~DO8 state of working area data, virtual unit are carried out computing, judge whether the switching value number is less than or equal to 8, if number is greater than 8, operation result is write PLC switching value output port, carry out computing according to configuration parameter and virtual unit analog output port DA1, the DA2 data of virtual unit, operation result is write PLC analog output port; Then judge whether the analog quantity number is less than or equal to 2, complete greater than 2 addressing processes as number.
Be not more than at 2 o'clock as the analog quantity number, return to execution parameter operation program step.
If the switching value number is to be less than or equal to 8, the execution parameter that continues operation program step.
Described switching value output state calculation step: as virtual unit switching value output port DO1~when the DO8 state is 1, calculate current switching value output point in the address in working area according to the configuration parameter of virtual unit, according to this address, the working area data are carried out set 1 operation.
As virtual unit switching value output port DO1~when the DO8 state is 0, calculate virtual unit switching value output point in the address in working area according to the configuration parameter of virtual unit, according to the address to 0 operation that resets of working area data.
Described analog output state calculation step: calculate current analog input point physical address according to the configuration parameter of virtual unit, use B instruction that analog output port DA1, the DA2 data of virtual unit are written to the PLC physical address.
Claims (11)
1. the PLC virtual unit Controlling System of a vacuum coating film equipment, it is characterized in that comprising PLC, upper computer, peripheral equipment, wherein PLC is that main control equipment comprises each virtual unit and PLC input/output end port, and each virtual unit connects peripheral equipment by the PLC input/output end port; The PLC input port connects the feedback signal of peripheral equipment, and the PLC output port connects the control end of peripheral equipment; Upper computer is that computer is connected with the PLC communication, and the control parameter read-in of controlling peripheral equipment is realized programming and control to PLC in the corresponding virtual unit control of PLC parameter region.
2. by the PLC virtual unit Controlling System of a kind of vacuum coating film equipment claimed in claim 1, it is characterized in that: each virtual unit in PLC comprises 8 way switch amount input ports (DI1~DI8), 8 way switch amount output ports (DO1~DO8), 4 road analog input ports (AD1~AD4), 2 road analog output ports (DA1, DA2).
3. by the PLC virtual unit Controlling System of claim 1 or 2 described a kind of vacuum coating film equipment, it is characterized in that: 64 virtual units can be set at most in PLC.
4. by the PLC virtual unit Controlling System of a kind of vacuum coating film equipment claimed in claim 3, it is characterized in that: preferably can be set to 1~32 virtual unit in PLC.
5. utilize the control method of the PLC virtual unit Controlling System of a kind of vacuum coating film equipment claimed in claim 1, it is characterized in that comprising the steps:
Read PLC input port data;
Each virtual unit carries out addressing according to its configuration parameter to PLC input port data to be processed, and obtains switching value and/or the analog data of virtual unit;
The technique for vacuum coating flow process is controlled each virtual unit according to switching value and/or analog quantity, by required switching value and/or the analog quantity of each virtual unit output peripheral equipment;
Each virtual unit carries out addressing according to configuration parameter to the switching value of its output and/or analog data to be processed, and sends it to the PLC output port.
6. the control method of the PLC virtual unit Controlling System of a kind of vacuum coating film equipment according to claim 5 is characterized in that virtual unit switching value and/or analog data input addressing concrete steps are as follows:
Read PLC switching value input data and deposit the data working areas in;
The configuration parameter of working area data and virtual unit is carried out computing, and operation result is set to the switching value input port (state of DI1~DI8) of virtual unit; Judging whether the switching value number is less than or equal to 8, if greater than 8, read the PLC analog input to the data working areas, carry out computing according to the configuration parameter of virtual unit, is the analog input port (data of AD1~AD4) of virtual unit with calculation result; Then judge whether the analog quantity number is less than or equal to 4, complete greater than 4 addressing processes as number.
7. the control method of the PLC virtual unit Controlling System of a kind of vacuum coating film equipment according to claim 6, is characterized in that returning to execution parameter operation program step if the analog quantity number is not more than at 4 o'clock.
8. the control method of the PLC virtual unit Controlling System of a kind of vacuum coating film equipment according to claim 6, is characterized in that as the switching value number it being to be less than or equal to 8, the execution parameter that continues operation program step.
9. the control method of the PLC virtual unit Controlling System of a kind of vacuum coating film equipment according to claim 5 is characterized in that virtual unit switching value and/or analog data output addressing concrete steps are as follows:
Read PLC switching value output data and deposit the data working areas in;
(DI1~DI8) state carries out computing with the configuration parameter of working area data, virtual unit and virtual unit switching value output port, judge whether the switching value number is less than or equal to 8, if number is greater than 8, operation result is write PLC switching value output port, carry out computing according to configuration parameter and the virtual unit analog output port data of virtual unit, operation result is write PLC analog output port; Then judge whether the analog quantity number is less than or equal to 2, complete greater than 2 addressing processes as number.
10. the control method of the PLC virtual unit Controlling System of a kind of vacuum coating film equipment according to claim 9, is characterized in that being less than or equal to 2 as the analog quantity number, returns to execution parameter operation program step.
11. the control method of the PLC virtual unit Controlling System of a kind of vacuum coating film equipment according to claim 9 is characterized in that if the switching value number is to be less than or equal to 8 the execution parameter that continues operation program step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103554674A CN103103491A (en) | 2011-11-11 | 2011-11-11 | PLC virtual device control system for vacuum coating equipment and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103554674A CN103103491A (en) | 2011-11-11 | 2011-11-11 | PLC virtual device control system for vacuum coating equipment and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103103491A true CN103103491A (en) | 2013-05-15 |
Family
ID=48311677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103554674A Pending CN103103491A (en) | 2011-11-11 | 2011-11-11 | PLC virtual device control system for vacuum coating equipment and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103103491A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108588666A (en) * | 2018-05-31 | 2018-09-28 | 北京铂阳顶荣光伏科技有限公司 | The parameter amending method and device of filming equipment |
CN112731862A (en) * | 2020-12-30 | 2021-04-30 | 苏州精濑光电有限公司 | Debugging processing method of rapid wire-changing crimping system |
CN113355645A (en) * | 2021-05-20 | 2021-09-07 | 湖南宇诚精密科技有限公司 | Crystal control rotation integrated control system based on vacuum coating |
CN114137854A (en) * | 2021-11-30 | 2022-03-04 | 江苏汇博机器人技术股份有限公司 | Multifunctional robot teaching simulation workstation |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1327082A (en) * | 2000-06-07 | 2001-12-19 | 中国科学院沈阳科学仪器研制中心 | Computer control device for vacuum coating |
CN1904784A (en) * | 2006-08-03 | 2007-01-31 | 上海交通大学 | Heat treatment wireless virtual meter central controlling system |
CN202331148U (en) * | 2011-11-11 | 2012-07-11 | 中国科学院沈阳科学仪器研制中心有限公司 | Programmable logic controller (PLC) virtual equipment control system of vacuum film plating equipment |
-
2011
- 2011-11-11 CN CN2011103554674A patent/CN103103491A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1327082A (en) * | 2000-06-07 | 2001-12-19 | 中国科学院沈阳科学仪器研制中心 | Computer control device for vacuum coating |
CN1904784A (en) * | 2006-08-03 | 2007-01-31 | 上海交通大学 | Heat treatment wireless virtual meter central controlling system |
CN202331148U (en) * | 2011-11-11 | 2012-07-11 | 中国科学院沈阳科学仪器研制中心有限公司 | Programmable logic controller (PLC) virtual equipment control system of vacuum film plating equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108588666A (en) * | 2018-05-31 | 2018-09-28 | 北京铂阳顶荣光伏科技有限公司 | The parameter amending method and device of filming equipment |
CN112731862A (en) * | 2020-12-30 | 2021-04-30 | 苏州精濑光电有限公司 | Debugging processing method of rapid wire-changing crimping system |
CN113355645A (en) * | 2021-05-20 | 2021-09-07 | 湖南宇诚精密科技有限公司 | Crystal control rotation integrated control system based on vacuum coating |
CN114137854A (en) * | 2021-11-30 | 2022-03-04 | 江苏汇博机器人技术股份有限公司 | Multifunctional robot teaching simulation workstation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103103491A (en) | PLC virtual device control system for vacuum coating equipment and control method | |
US20080125909A1 (en) | Method for determination of spraying parameters for controlling a painting appliance which uses spraying means | |
CN201520044U (en) | Fully-automatic high-efficiency injection molding machine controller | |
CN202331148U (en) | Programmable logic controller (PLC) virtual equipment control system of vacuum film plating equipment | |
CN105373407A (en) | DSP and FPGA online upgrading method for embedded system | |
CN102521025B (en) | Embedded microcontroller port customization method | |
CN104847378B (en) | A kind of Vehicular concrete wet shot vehicle control | |
CN103112576A (en) | Steering engine controller | |
CN104227250A (en) | Plane-based robot three-dimensional addressing and correcting method | |
CN103901822A (en) | Multi-shaft linkage motion control system | |
CN104391800B (en) | A kind of data storage device and storage method | |
CN104090624B (en) | Control method and the device of the power of industrial microwave apparatus | |
CN102650862B (en) | The electronic cam control system of programmable logic controller and method | |
CN104750002A (en) | FPGA based multi-way pulse feedback controller for PSM high-voltage power | |
CN104503498A (en) | Precise flow control method of proportional valve | |
CN204065733U (en) | A kind of rotating disk knife sharpener embedded controller based on number bus | |
CN203849591U (en) | Multi-shaft linkage motion control system | |
CN102976274B (en) | Ozone generating device and method for controlling discharge module to generate ozone | |
CN202393845U (en) | Equipment for simulating function automatic testing of resistive touch screen and capacitive touch screen | |
CN203002538U (en) | Automatic glue spreading system | |
CN102109853A (en) | Gas mass flow rate controller based on double CPUs (central processing units) | |
CN206122087U (en) | Quick point gum machine | |
CN202067138U (en) | Industrial controller | |
CN103982695A (en) | Intelligent controller for pneumatic valve | |
CN103810022A (en) | Touch screen calibration implementation method based on Linux |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130515 |