CN103778190A - System and method for quickly configuring programmable controller through external storage unit - Google Patents
System and method for quickly configuring programmable controller through external storage unit Download PDFInfo
- Publication number
- CN103778190A CN103778190A CN201410003985.3A CN201410003985A CN103778190A CN 103778190 A CN103778190 A CN 103778190A CN 201410003985 A CN201410003985 A CN 201410003985A CN 103778190 A CN103778190 A CN 103778190A
- Authority
- CN
- China
- Prior art keywords
- parameter
- programmable logic
- logic controller
- storage element
- outside storage
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000013507 mapping Methods 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 4
- 238000004321 preservation Methods 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 abstract description 10
- 230000000694 effects Effects 0.000 abstract description 4
- 239000000284 extract Substances 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Images
Classifications
-
- 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/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
The invention discloses a system and method for quickly configuring a programmable controller through an external storage unit. First, parameter configuration tables of different types of various models are established and stored in the external storage unit; second, the external storage unit is inserted in the programmable controller, and the model and the variety type matched with a native machine are selected; then parameter configuration tables corresponding to the selected models and variety types are read from the external storage unit; finally, parameter values in the parameter configuration tables are written into corresponding parameter input items of the programmable controller. The external storage unit is adopted for parameter configuration of the programmable controller, the phenomenon that at present, when a device is additionally arranged or a production variety is replaced, the parameters only can be manually input one by one is changed, and workload of technicians is greatly lowered; in addition, when failure data of the device are lost, the external storage card can be used for quickly configuring the device to recover normal work, and influences on production activity are avoided to the largest extent.
Description
Technical field
The present invention relates to a kind of system and method that utilizes outside storage element rapid configuration Programmable Logic Controller.
Background technology
Programmable Logic Controller has the advantages such as reliability is high, stable and is widely used in the middle of Industry Control and production, in existing beveragebottling production line, when changing each time different bottle types and producing, all need the parameter of Programmable Logic Controller to reset one time, cause technician's workload large; In the time that newly-increased same equipment is produced, need technical professional to carry out initiation parameter configuration to the Programmable Logic Controller of equipment, if when many of newly-increased equipment, work seem repeat loaded down with trivial details; In addition, while quitting work when device fails, loss of data, technician needs be configured recovery to the parameter of Programmable Logic Controller for a long time, has a strong impact on normal activity in production.
Summary of the invention
The object of this invention is to provide a kind of system and method for simple to operate, the outside storage element rapid configuration of utilization that work efficiency is high Programmable Logic Controller.
A system of utilizing outside storage element rapid configuration Programmable Logic Controller, comprising:
Outside storage element, in order to store the parameter configuration table of different cultivars of various types;
Trigger module, the operation of inserting Programmable Logic Controller in order to response external storage element, triggers and starts type selection module and kind selection module;
Type is selected module, in order to the type of selecting to match with the machine;
Kind is selected module, in order to selection type;
Cultivar parameter read module, in order to read the parameter configuration table corresponding with selected type and variety type from outside storage element;
Cultivar parameter writing module, in order to be written to each parameter values in parameter configuration table in the corresponding parameter input item of Programmable Logic Controller.
A method of utilizing outside storage element rapid configuration Programmable Logic Controller, described method comprises the following steps:
(1) set up the parameter configuration table of the different cultivars of various types, be stored in outside storage element;
(2) outside storage element is inserted in Programmable Logic Controller, starts type and select module and kind to select module;
(3) selection and the machine match type and variety type;
(4) from outside storage element, read the parameter configuration table corresponding with selected type and variety type;
(5) parameter values in parameter configuration table is written in the corresponding parameter input item of Programmable Logic Controller.
The parameter configuration table of the different cultivars of the various types of model of the present invention, is stored in outside storage element; Again outside storage element is inserted in Programmable Logic Controller, selects the type and the variety type that match with the machine; Then from outside storage element, read the parameter configuration table corresponding with selected type and variety type; Finally the parameter values in parameter configuration table is written in the corresponding parameter input item of Programmable Logic Controller.The present invention adopts outside storage element fast Programmable Logic Controller to be carried out to parameter configuration, inserting outside storage snaps in reservoir able to programme, after selecting type and producing variety type, can automatically complete parameter configuration, simple to operate, while changing in the past to newly-increased equipment or replacing production kind, can only rely on manually the situation of input parameter one by one, greatly reduce technician's workload and improved work efficiency; In the time of device fails loss of data, utilize outside memory card to be configured and to recover normal work equipment fast in addition, avoid to greatest extent activity in production to impact.
Accompanying drawing explanation
Fig. 1 is a kind of system architecture schematic diagram that utilizes outside storage element rapid configuration Programmable Logic Controller of the present invention.
Fig. 2 is a kind of method step process flow diagram that utilizes outside storage element rapid configuration Programmable Logic Controller of the present invention.
Embodiment
Embodiment 1, the system architecture of the outside storage element rapid configuration of utilization Programmable Logic Controller as shown in Figure 1, the parameter configuration table of the different cultivars of the various types of outside storage unit stores, comprise a, the b of type A, the parameter configuration table of tri-kinds of products of c, take A as mark name, and store with the form of unique file, a, the b of type B, the parameter configuration table of tri-kinds of products of c, take B as mark name, and store with the form of unique file, in the time that technician wants to carry out the production of a product on type A, technician inserts outside storage element in Programmable Logic Controller, the update of at this moment Programmable Logic Controller trigger module identification response external storage element, start type selects module and kind to select module simultaneously, technician first selects to select A in module at type, select to select a in module in kind again, Cultivar parameter read module, according to selected type A and variety type a, matches a parameter configuration table under the file making a check mark with A in outside storage element, Cultivar parameter writing module, first the character string of extracting parameter title, in Programmable Logic Controller, mate corresponding parameter input item, the memory address of positional parameter input item, by in the memory address of this parameter values write parameters input item in parameter configuration table, here writing parameter input item in Programmable Logic Controller with the parameter configuration table medium speed of a product of type A and torque explains, other parameter read-in operations are identical with it, Cultivar parameter writing module is the character string of " rotating speed " these two characters in extracting parameter allocation list first, in Programmable Logic Controller, match again the title of the parameter input item consistent with " rotating speed " character string, relocate the memory address 0x00001 of this parameter " rotating speed " input item, the numerical value of " rotating speed " in parameter configuration table is written in memory address 0x00001, complete after write operation, Cultivar parameter writing module reads the character string of " torque " these two characters in parameter configuration table again, in Programmable Logic Controller, match again the title of the parameter input item consistent with " torque " character string, relocate the memory address 0x00002 of this parameter " torque " input item, the numerical value of " rotating speed " in parameter configuration table is written in memory address 0x00002, by that analogy, until each line parameter in parameter configuration table is all written in Programmable Logic Controller.
When parameter is preserved, read parameter values in Programmable Logic Controller parameters input item, and be written in parameter configuration table by the predefined mapping relations of user, user-defined mapping relations adopt mapping relations corresponding to parameter name, here explain with parameter rotating speed and torque equally, first parameter preservation module extracts the parameter name of " rotating speed " in Programmable Logic Controller parameters input item, then in parameter configuration table, generate the character string of " rotating speed ", from the memory address 0x00001 of the parameter input item of " rotating speed ", extract numerical value again, numerical value is saved in to the relevant position of " rotating speed " in parameter configuration table, complete and preserve after operation, extract again the parameter name of " torque " from Programmable Logic Controller parameters input item, then in parameter configuration table, generate the character string of " torque ", from the memory address 0x00002 of the parameter input item of " torque ", extract numerical value again, numerical value is saved in to the relevant position of " torque " in parameter configuration table.
As an example of embodiment 1 example, the method for utilizing outside storage element rapid configuration Programmable Logic Controller is explained, be illustrated in figure 2 the flow chart of steps of the method.Step (1), sets up the parameter configuration table of the different cultivars of various types, comprises a, the b of type A, the parameter configuration table of tri-kinds of products of c, take A as mark name, and stores with the form of unique file, a, the b of type B, the parameter configuration table of tri-kinds of products of c, take B as mark name, and store with the form of unique file, step (2), inserts outside storage element in Programmable Logic Controller, and the update of at this moment Programmable Logic Controller trigger module identification response external storage element starts type simultaneously and selects module and kind to select module, step (3), selects to select A in module at type, then selects to select a in module in kind, and Cultivar parameter read module is according to selected type A and variety type a, step (4) matches a parameter configuration table under the file making a check mark with A in outside storage element, step (5), Cultivar parameter writing module is the character string of " rotating speed " these two characters in extracting parameter allocation list first, in Programmable Logic Controller, match again the title of the parameter input item consistent with " rotating speed " character string, relocate the memory address 0x00001 of this parameter " rotating speed " input item, the numerical value of " rotating speed " in parameter configuration table is written in memory address 0x00001, complete after write operation, Cultivar parameter writing module reads the character string of " torque " these two characters in parameter configuration table again, in Programmable Logic Controller, match again the title of the parameter input item consistent with " torque " character string, relocate the memory address 0x00002 of this parameter " torque " input item, the numerical value of " rotating speed " in parameter configuration table is written in memory address 0x00002, by that analogy, until each line parameter in parameter configuration table is all written in Programmable Logic Controller.
The present invention adopts outside storage element fast Programmable Logic Controller to be carried out to parameter configuration, while changing in the past to newly-increased equipment or replacing production kind, can only rely on manually the situation of input parameter one by one, greatly reduces technician's workload; In the time of device fails loss of data, utilize outside memory card to be configured and to recover normal work equipment fast in addition, avoid to greatest extent activity in production to impact.
Claims (10)
1. a system of utilizing outside storage element rapid configuration Programmable Logic Controller, is characterized in that: described system comprises:
Outside storage element, in order to store the parameter configuration table of different cultivars of various types;
Trigger module, the operation of inserting Programmable Logic Controller in order to response external storage element, triggers and starts type selection module and kind selection module;
Type is selected module, in order to the type of selecting to match with the machine;
Kind is selected module, in order to selection type;
Cultivar parameter read module, in order to read the parameter configuration table corresponding with selected type and variety type from outside storage element;
Cultivar parameter writing module, in order to be written to each parameter values in parameter configuration table in the corresponding parameter input item of Programmable Logic Controller.
2. a kind of system of utilizing outside storage element rapid configuration Programmable Logic Controller according to claim 1, it is characterized in that: this system also comprises Cultivar parameter preservation module, in order to read parameter values in Programmable Logic Controller parameters input item, and be written in parameter configuration table by the predefined mapping relations of user.
3. a kind of system of utilizing outside storage element rapid configuration Programmable Logic Controller according to claim 1, it is characterized in that: the parameter configuration table of each type is stored in outside storage element with the form of unique file, and wherein each file has unique file identification.
4. a kind of system of utilizing outside storage element rapid configuration Programmable Logic Controller according to claim 3, is characterized in that: file identification is made up of the character string of type designation.
5. a kind of system of utilizing outside storage element rapid configuration Programmable Logic Controller according to claim 1, it is characterized in that: described Cultivar parameter writing module, first the character string of extracting parameter title, in Programmable Logic Controller, mate corresponding parameter input item, the memory address of positional parameter input item, by the memory address of this parameter values write parameters input item in parameter configuration table.
6. a method of utilizing outside storage element rapid configuration Programmable Logic Controller, is characterized in that: described method comprises the following steps:
(1) set up the parameter configuration table of the different cultivars of various types, be stored in outside storage element;
(2) outside storage element is inserted in Programmable Logic Controller, starts type and select module and kind to select module;
(3) selection and the machine match type and variety type;
(4) from outside storage element, read the parameter configuration table corresponding with selected type and variety type;
(5) parameter values in parameter configuration table is written in the corresponding parameter input item of Programmable Logic Controller.
7. a kind of method of utilizing outside storage element rapid configuration Programmable Logic Controller according to claim 6, it is characterized in that: while setting up parameter configuration table, read parameter values in Programmable Logic Controller parameters input item, and be written in parameter configuration table by the predefined mapping relations of user.
8. a kind of method of utilizing outside storage element rapid configuration Programmable Logic Controller according to claim 6, it is characterized in that: the parameter configuration table of each type is stored in outside storage element with the form of unique file, and wherein each file has unique file identification.
9. a kind of method of utilizing outside storage element rapid configuration Programmable Logic Controller according to claim 8, is characterized in that: file identification is made up of the character string of type designation.
10. a kind of method of utilizing outside storage element rapid configuration Programmable Logic Controller according to claim 6, it is characterized in that: described step (5), first the character string of extracting parameter title, in Programmable Logic Controller, mate corresponding parameter input item, the memory address of positional parameter input item, by the memory address of this parameter values write parameters input item in parameter configuration table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410003985.3A CN103778190B (en) | 2014-01-06 | 2014-01-06 | A kind of system and method for utilization external storage unit rapid configuration programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410003985.3A CN103778190B (en) | 2014-01-06 | 2014-01-06 | A kind of system and method for utilization external storage unit rapid configuration programmable controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103778190A true CN103778190A (en) | 2014-05-07 |
CN103778190B CN103778190B (en) | 2017-07-28 |
Family
ID=50570425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410003985.3A Active CN103778190B (en) | 2014-01-06 | 2014-01-06 | A kind of system and method for utilization external storage unit rapid configuration programmable controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103778190B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302108A (en) * | 2015-09-15 | 2016-02-03 | 浙江吉利汽车研究院有限公司 | Vehicle controller function configuration method |
CN105759778A (en) * | 2014-12-16 | 2016-07-13 | 青岛经济技术开发区海尔热水器有限公司 | Control debugging system and debugging method for heat pump water heater |
CN106292452A (en) * | 2016-09-21 | 2017-01-04 | 合肥美的电冰箱有限公司 | A kind of improve the method and system of refrigerator controller versatility, refrigerator |
CN106774261A (en) * | 2016-12-23 | 2017-05-31 | 广东嘉腾机器人自动化有限公司 | Burning and the introduction method of a kind of AGV data collocation systems and its data |
CN108227629A (en) * | 2017-12-29 | 2018-06-29 | 浙江众邦机电科技有限公司 | Control method/system, readable storage medium storing program for executing and the electronic equipment of electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1416974A (en) * | 2001-11-02 | 2003-05-14 | 北新建材(集团)有限公司 | Continuous steel belt punching production line |
JP2006272365A (en) * | 2005-03-28 | 2006-10-12 | Sumitomo Metal Ind Ltd | Pipe end straightening equipment and pipe end straightening method for UOE steel pipe |
CN101334654A (en) * | 2007-06-25 | 2008-12-31 | 西门子工厂自动化工程有限公司 | Parameter configuration device of numerical control system and parameter configuration method |
CN102275730A (en) * | 2011-04-29 | 2011-12-14 | 广州达意隆包装机械股份有限公司 | Beverage bottle conveying system |
CN103240738A (en) * | 2013-04-02 | 2013-08-14 | 朱国富 | System and method for controlling automatic drug racking and placing device |
-
2014
- 2014-01-06 CN CN201410003985.3A patent/CN103778190B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1416974A (en) * | 2001-11-02 | 2003-05-14 | 北新建材(集团)有限公司 | Continuous steel belt punching production line |
JP2006272365A (en) * | 2005-03-28 | 2006-10-12 | Sumitomo Metal Ind Ltd | Pipe end straightening equipment and pipe end straightening method for UOE steel pipe |
CN101334654A (en) * | 2007-06-25 | 2008-12-31 | 西门子工厂自动化工程有限公司 | Parameter configuration device of numerical control system and parameter configuration method |
CN102275730A (en) * | 2011-04-29 | 2011-12-14 | 广州达意隆包装机械股份有限公司 | Beverage bottle conveying system |
CN103240738A (en) * | 2013-04-02 | 2013-08-14 | 朱国富 | System and method for controlling automatic drug racking and placing device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105759778A (en) * | 2014-12-16 | 2016-07-13 | 青岛经济技术开发区海尔热水器有限公司 | Control debugging system and debugging method for heat pump water heater |
CN105759778B (en) * | 2014-12-16 | 2020-12-22 | 青岛经济技术开发区海尔热水器有限公司 | A heat pump water heater control and debugging system and debugging method |
CN105302108A (en) * | 2015-09-15 | 2016-02-03 | 浙江吉利汽车研究院有限公司 | Vehicle controller function configuration method |
CN105302108B (en) * | 2015-09-15 | 2018-01-30 | 浙江吉利汽车研究院有限公司 | A kind of automobile controller function configuration method |
CN106292452A (en) * | 2016-09-21 | 2017-01-04 | 合肥美的电冰箱有限公司 | A kind of improve the method and system of refrigerator controller versatility, refrigerator |
CN106774261A (en) * | 2016-12-23 | 2017-05-31 | 广东嘉腾机器人自动化有限公司 | Burning and the introduction method of a kind of AGV data collocation systems and its data |
CN108227629A (en) * | 2017-12-29 | 2018-06-29 | 浙江众邦机电科技有限公司 | Control method/system, readable storage medium storing program for executing and the electronic equipment of electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103778190B (en) | 2017-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103778190A (en) | System and method for quickly configuring programmable controller through external storage unit | |
US20170346919A1 (en) | Bluetooth device and bluetooth device name managing method | |
US9841744B2 (en) | Programmable controller, peripheral device thereof, and table data access program of programmable controller | |
GB2546912A (en) | Emulating manual system of filing using electronic document and electronic file | |
WO2013067982A3 (en) | Device and method for combining cards and card supports, for handling cards and/or for sorting cards from card holders | |
JP2016526748A5 (en) | ||
RU2016151308A (en) | METHOD AND SYSTEM FOR UPDATING A DYNAMIC RAM OPERATING DEVICE (DRAM) AND DEVICE | |
CN103744374B (en) | A kind of servo motor parameter automatic configuration method and system | |
WO2015020900A3 (en) | Method and device for error correcting code (ecc) error handling | |
CN107391325A (en) | A kind of method of testing of hard disk, device and terminal | |
CN105095518A (en) | Data conversion method and device | |
CN104965686A (en) | Priority queue design method and priority queue design device | |
CN104216796A (en) | Data backup and recovery method and electronic device | |
CN103064919B (en) | Method and device for preserving configuration parameters in business system | |
CN104317477A (en) | Formula self-defining method and method employing self-defined formula | |
MX2022011293A (en) | Reader device and method of configuring the same. | |
CN103617719A (en) | Method and device for compatibility of remote control codes, and mainframe | |
CN101807171A (en) | Method and device for setting identifier of household appliance | |
CN104616329A (en) | Picture generation method and device | |
US20140052902A1 (en) | Electronic device and method of generating virtual universal serial bus flash device | |
CN109669627A (en) | Data memory device and non-volatile formula memory operating method | |
CN110958602A (en) | Firmware compatibility method and device for Bluetooth equipment | |
JP2016185355A5 (en) | ||
CN105657521A (en) | Channel data storage method and device | |
CN105353995A (en) | Storage method and system for non-volatizing content address |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |