CN103778190B - A kind of system and method for utilization external storage unit rapid configuration programmable controller - Google Patents

A kind of system and method for utilization external storage unit rapid configuration programmable controller Download PDF

Info

Publication number
CN103778190B
CN103778190B CN201410003985.3A CN201410003985A CN103778190B CN 103778190 B CN103778190 B CN 103778190B CN 201410003985 A CN201410003985 A CN 201410003985A CN 103778190 B CN103778190 B CN 103778190B
Authority
CN
China
Prior art keywords
parameter
external storage
programmable controller
storage unit
type
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
CN201410003985.3A
Other languages
Chinese (zh)
Other versions
CN103778190A (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.)
Guangzhou Tech Long Packaging Machinery Co Ltd
Original Assignee
Guangzhou Tech Long Packaging Machinery 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 Guangzhou Tech Long Packaging Machinery Co Ltd filed Critical Guangzhou Tech Long Packaging Machinery Co Ltd
Priority to CN201410003985.3A priority Critical patent/CN103778190B/en
Publication of CN103778190A publication Critical patent/CN103778190A/en
Application granted granted Critical
Publication of CN103778190B publication Critical patent/CN103778190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output

Abstract

The invention discloses a kind of system and method for utilization external storage unit rapid configuration programmable controller, the parameter configuration table of the different cultivars of various types is initially set up, is stored in external storage unit;External storage unit is inserted into programmable controller again, type and variety type that selection matches with the machine;Then the parameter configuration table corresponding with selected type and variety type is read from external storage unit;Finally the parameter values in parameter configuration table are written in the corresponding parameter input item of programmable controller.The present invention, quickly to programmable controller progress parameter configuration, when change produces kind to newly-increased equipment or replacing in the past, can only be relied on manually the situation of input parameter one by one, greatly reduce technical staff's workload using external storage unit;In addition when device fails loss of data, configuration quickly can be carried out to equipment using external storage card and recover normal work, avoid impacting production activity to greatest extent.

Description

A kind of system and method for utilization external storage unit rapid configuration programmable controller
Technical field
The present invention relates to a kind of system and method for utilization external storage unit rapid configuration programmable controller.
Background technology
Programmable controller has the advantages that reliability is high, stable and is widely used among Industry Control and production, In existing beveragebottling production line, when changing different bottle-type each time and being produced, it is required for programmable controller Parameter is reset one time, causes technical staff's workload big;Increasing newly when same equipment is produced, it is necessary to the skill of specialty Art personnel carry out initiation parameter configuration to the programmable controller of equipment, if during many of newly-increased equipment, work seems repetition It is cumbersome;In addition, when device fails, loss of data and when being stopped, technical staff is needed for a long time to PLC technology The parameter of device carries out configuration recovery, has a strong impact on normal production activity.
The content of the invention
Can it is an object of the invention to provide a kind of high utilization external storage unit rapid configuration of simple to operate, operating efficiency The system and method for programmable controller.
A kind of system of utilization external storage unit rapid configuration programmable controller, including:
External storage unit, the parameter configuration table of the different cultivars to store various types;
Trigger module, the operation of programmable controller is inserted to response external storage element, and triggering starts Unit-type sclection Module and variety selection module;
Unit-type sclection module, to the type for selecting to match with the machine;
Variety selection module, to select variety type;
Cultivar parameter read module is relative with selected type and variety type to be read from external storage unit The parameter configuration table answered;
Cultivar parameter writing module, each single item parameter values in parameter configuration table are written to programmable controller In corresponding parameter input item.
A kind of method of utilization external storage unit rapid configuration programmable controller, described method includes following step Suddenly:
(1)The parameter configuration table of the different cultivars of various types is set up, is stored in external storage unit;
(2)External storage unit is inserted into programmable controller, starts type selecting module and variety selection module;
(3)Type and variety type that selection matches with the machine;
(4)The parameter configuration table corresponding with selected type and variety type is read from external storage unit;
(5)Parameter values in parameter configuration table are written in the corresponding parameter input item of programmable controller.
The present invention initially sets up the parameter configuration table of the different cultivars of various types, is stored in external storage unit;Again External storage unit is inserted into programmable controller, type and variety type that selection matches with the machine;Then from outer The parameter configuration table corresponding with selected type and variety type is read in portion's storage element;Finally by parameter configuration table Parameter values be written in the corresponding parameter input item of programmable controller.The present invention can using quick pair of external storage unit Programmable controller carries out parameter configuration, and insertion external storage is snapped into programmable holder, selection type and production variety type After can be automatically performed parameter configuration, it is simple to operate, change in the past to newly-increased equipment or when changing production kind, can only rely on Manually the situation of input parameter one by one, greatly reduces technical staff's workload and improves operating efficiency;Work as in addition and set When preparation life fault data is lost, configuration quickly can be carried out to equipment using external storage card and recover normal work, to greatest extent Avoid impacting production activity.
Brief description of the drawings
Fig. 1 is a kind of system structure diagram of utilization external storage unit rapid configuration programmable controller of the invention.
Fig. 2 is a kind of method and step flow chart of utilization external storage unit rapid configuration programmable controller of the invention.
Embodiment
Embodiment 1, the system architecture of utilization external storage unit rapid configuration programmable controller as shown in Figure 1, outside Portion's storage element stores the parameter configuration table of the different cultivars of various types, including the parameter of type A tri- kinds of products of a, b, c is matched somebody with somebody Table is put, is named by mark of A, and is stored in the form of unique file;The parameter configuration table of type B tri- kinds of products of a, b, c, with B names for mark, and is stored in the form of unique file;When technical staff wants to carry out the production of a products on type A, skill Art personnel insert external storage unit into programmable controller, at this moment programmable controller trigger module identification and response external The insertion operation of storage element, while starting type selecting module and variety selection module, technical staff is first in Unit-type sclection mould A is selected on block, then a is selected in variety selection module, Cultivar parameter read module is according to selected type A and variety type A, matches a parameter configuration tables under the file made a check mark with A in outside storage element;Cultivar parameter writing module, first The character string of extracting parameter title, matches corresponding parameter input item in the programmable controller, positional parameter input item it is interior Address is deposited, by the memory address of this parameter values write parameters input item in parameter configuration table, here with type A a Rotating speed and torque write parameter input item in programmable controller and explained in the parameter configuration table of product, other specification write-in behaviour Make same, the character string of " rotating speed " the two characters in Cultivar parameter writing module extracting parameter allocation list first, then The title of the parameter input item consistent with " rotating speed " character string is matched in programmable controller, the parameter " rotating speed " is repositioned on The memory address 0x00001 of input item, the numerical value of " rotating speed " in parameter configuration table is written in memory address 0x00001, complete Into after write operation, Cultivar parameter writing module reads in parameter configuration table the character string of " torque " the two characters again, then The title of the parameter input item consistent with " torque " character string is matched in programmable controller, the parameter " torque " is repositioned on The memory address 0x00002 of input item, the numerical value of " rotating speed " in parameter configuration table is written in memory address 0x00002;With This analogizes, until every a line parameter in parameter configuration table is all written in programmable controller.
When being preserved to parameter, parameter values in programmable controller parameters input item are read, and it is pre- by user The mapping relations of definition are written in parameter configuration table, and user-defined mapping relations are closed using the corresponding mapping of parameter name System, is equally explained with parameter rotating speed and torque here, and parameter preserving module is inputted in programmable controller parameters first Item extracts the parameter name of " rotating speed ", then generates the character string of " rotating speed " in parameter configuration table, then from the ginseng of " rotating speed " Numerical value is extracted in the memory address 0x00001 of number input item, numerical value is saved in parameter configuration table the relevant position of " rotating speed "; Complete to preserve after operation, then the parameter name of " torque " is extracted from programmable controller parameters input item, then in ginseng The character string of " torque " is generated in number allocation list, then number is extracted from the memory address 0x00002 of the parameter input item of " torque " Value, numerical value is saved in parameter configuration table the relevant position of " torque ".
The method using external storage unit rapid configuration programmable controller is explained by taking embodiment 1 as an example, such as Fig. 2 It show the step flow chart of this method.Step(1), set up the parameter configuration table of the different cultivars of various types, including type A Tri- kinds of products of a, b, c parameter configuration table, using A as mark name, and in the form of unique file store;Type B a, b, c The parameter configuration table of three kinds of products, is named by mark of B, and is stored in the form of unique file;Step(2), insertion is outside to store up Memory cell is into programmable controller, at this moment programmable controller trigger module identification and the insertion of response external storage element behaviour Make, while starting type selecting module and variety selection module;Step(3), A is selected in Unit-type sclection module, then in kind A is selected in selecting module, Cultivar parameter read module is according to selected type A and variety type a;Step(4), in outside storage The a parameter configuration tables under the file made a check mark with A are matched in memory cell;Step(5), Cultivar parameter writing module extracts first The character string of " rotating speed " the two characters in parameter configuration table, then match in the programmable controller and " rotating speed " character string one The title of the parameter input item of cause, is repositioned on the memory address 0x00001 of parameter " rotating speed " input item, by parameter configuration table In the numerical value of " rotating speed " be written in memory address 0x00001, complete after write operation, Cultivar parameter writing module reads ginseng again The character string of " torque " the two characters in number allocation list, then match in the programmable controller consistent with " torque " character string Parameter input item title, the memory address 0x00002 of parameter " torque " input item is repositioned on, by parameter configuration table The numerical value of " rotating speed " is written in memory address 0x00002;By that analogy, until every a line parameter in parameter configuration table all It is written in programmable controller.
The present invention carries out parameter configuration using external storage unit is quick to programmable controller, changes in the past to newly-increased When equipment or replacing production kind, the situation of input parameter one by one can only be relied on manually, technical staff's work is greatly reduced Measure;In addition when device fails loss of data, configuration quickly can be carried out to equipment using external storage card and recover normal Work, avoids impacting production activity to greatest extent.

Claims (10)

1. a kind of system of utilization external storage unit rapid configuration programmable controller, it is characterised in that:Described system bag Include:
External storage unit, the parameter configuration table of the different cultivars to store various types;
Trigger module, the operation of programmable controller is inserted to response external storage element, and triggering starts type selecting module With variety selection module;
Unit-type sclection module, to the type for selecting to match with the machine;
Variety selection module, to select variety type;
Cultivar parameter read module, it is corresponding with selected type and variety type to be read from external storage unit Parameter configuration table;
Cultivar parameter writing module, it is corresponding each single item parameter values in parameter configuration table are written to programmable controller Parameter input item in.
2. a kind of system of utilization external storage unit rapid configuration programmable controller according to claim 1, it is special Levy and be:The system also includes Cultivar parameter preserving module, to read parameter in programmable controller parameters input item Numerical value, and be written to by the predefined mapping relations of user in parameter configuration table.
3. a kind of system of utilization external storage unit rapid configuration programmable controller according to claim 1, it is special Levy and be:The parameter configuration table of each type in the form of unique file to be stored in external storage unit, each of which File has unique file identification.
4. a kind of system of utilization external storage unit rapid configuration programmable controller according to claim 3, it is special Levy and be:File identification is made up of the character string of type designation.
5. a kind of system of utilization external storage unit rapid configuration programmable controller according to claim 1, it is special Levy and be:The character string of described Cultivar parameter writing module, first extracting parameter title, in the programmable controller matching pair The parameter input item answered, the memory address of positional parameter input item, by this parameter values write parameters in parameter configuration table In the memory address of input item.
6. a kind of method of utilization external storage unit rapid configuration programmable controller, it is characterised in that:Described method bag Include following steps:
(1)The parameter configuration table of the different cultivars of various types is set up, is stored in external storage unit;
(2)External storage unit is inserted into programmable controller, starts type selecting module and variety selection module;
(3)Type and variety type that selection matches with the machine;
(4)The parameter configuration table corresponding with selected type and variety type is read from external storage unit;
(5)Parameter values in parameter configuration table are written in the corresponding parameter input item of programmable controller.
7. a kind of method of utilization external storage unit rapid configuration programmable controller according to claim 6, it is special Levy and be:When setting up parameter configuration table, parameter values in programmable controller parameters input item are read, and it is predetermined by user The mapping relations of justice are written in parameter configuration table.
8. a kind of method of utilization external storage unit rapid configuration programmable controller according to claim 6, it is special Levy and be:The parameter configuration table of each type in the form of unique file to be stored in external storage unit, each of which File has unique file identification.
9. a kind of method of utilization external storage unit rapid configuration programmable controller according to claim 8, it is special Levy and be:File identification is made up of the character string of type designation.
10. a kind of method of utilization external storage unit rapid configuration programmable controller according to claim 6, it is special Levy and be:The step(5), the character string of extracting parameter title first matches corresponding parameter defeated in the programmable controller Enter item, the memory address of positional parameter input item, by this parameter values write parameters input item in parameter configuration table Deposit in address.
CN201410003985.3A 2014-01-06 2014-01-06 A kind of system and method for utilization external storage unit rapid configuration programmable controller Active CN103778190B (en)

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 CN103778190A (en) 2014-05-07
CN103778190B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759778B (en) * 2014-12-16 2020-12-22 青岛经济技术开发区海尔热水器有限公司 Control debugging system and debugging method for heat pump water heater
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

Citations (5)

* Cited by examiner, † Cited by third party
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 Equipment and method for pipe-end sizing of 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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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 Equipment and method for pipe-end sizing of 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

Also Published As

Publication number Publication date
CN103778190A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
CN103778190B (en) A kind of system and method for utilization external storage unit rapid configuration programmable controller
IL272846B (en) Streaming authentication using chained identifiers
WO2007103141A3 (en) Method and apparatus for providing virtual machine backup
CN105142024B (en) The method and device of burning television data
EP3282328A3 (en) Programmable display, update processing apparatus, updating method, information processing method, and program
CN104484475B (en) The method that cloud server end is managed to the upload information at two dimension code reading end
CN106919138A (en) Control numerical control device, method and the computer program of lathe
WO2009149976A3 (en) Work station in a process control system
CN104699566B (en) Data redundancy backup method, system and memory node server based on cloud storage
CN105068792B (en) A kind of device driver managemen method and embedded system
CN104205742B (en) Packet processing method and forwarding element
CN104424214B (en) A kind of self-defined method and apparatus for extracting directory content
KR102530261B1 (en) Apparatus and method for checking tool life based on tool using time
CN104834549B (en) The application file update method and device of mobile terminal
JP2014179095A5 (en)
CN107368596A (en) A kind of method and device of Bloom filter query set element
CN102184102B (en) Web page data range selecting system
CN101982813A (en) Software remote updating method and updating system for train passenger information displays
JP2019185448A5 (en)
Cisco
Cisco
WO2017066365A3 (en) Train system having malfunction-based trip simulation
EP3185479B1 (en) Method of identifying optical module status in onu, onu and storage medium
CN104484428B (en) A kind of method, apparatus and system that data are synchronous
CN110673991A (en) Automatic testing method, device and medium for FRU information storage device

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