CN100498797C - Method for utilizing a memory device for a PLC - Google Patents

Method for utilizing a memory device for a PLC Download PDF

Info

Publication number
CN100498797C
CN100498797C CNB2003801072647A CN200380107264A CN100498797C CN 100498797 C CN100498797 C CN 100498797C CN B2003801072647 A CNB2003801072647 A CN B2003801072647A CN 200380107264 A CN200380107264 A CN 200380107264A CN 100498797 C CN100498797 C CN 100498797C
Authority
CN
China
Prior art keywords
data log
log files
storage box
record
head marker
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.)
Expired - Fee Related
Application number
CNB2003801072647A
Other languages
Chinese (zh)
Other versions
CN1742243A (en
Inventor
M·S·博格斯
S·M·豪斯曼
T·L·福尔顿
W·H·约翰逊
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.)
Siemens Building Technologies AG
Original Assignee
Siemens Industrial Automation Inc
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 Siemens Industrial Automation Inc filed Critical Siemens Industrial Automation Inc
Publication of CN1742243A publication Critical patent/CN1742243A/en
Application granted granted Critical
Publication of CN100498797C publication Critical patent/CN100498797C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

Certain exemplary embodiments can provide a method for utilizing a memory cartridge connected to a PLC. The memory cartridge can comprise a plurality of memory segments. The method can comprise a plurality of activities comprising: providing a default identifying stamp for records in a data log file, a structure for the data log file stored separately from the data log file in the memory cartridge, and obtaining a request to provide the data log file.

Description

Utilize the method for the memory device of PLC
The cross reference of related application
The unsettled sequence number that the application requires to submit on Dec 23rd, 2002 is 60/436, the U.S. Provisional Patent Application of 252 (lawyer's document No.2002P20757US) and the unsettled sequence number of submitting on Dec 23rd, 2002 are 60/436, the right of priority of the U.S. Provisional Patent Application of 249 (lawyer's document No.2002P20758US), and these two applications are incorporated herein by reference in full at this.
Background technology
Commercial available programmable logic controller (PLC) (PLC) can be equipped with the memory device that is used to store.This can be that the memory device of storage box often is read-only storage (EEPROM) equipment of electronics erasable programmable.The universal method of use storage box comprises the storage of PLC configuration and programming information.
U.S. Patent No. 5,727,170 (Mitchell) allegedly quote: " PLC has the configurable protocol port of user attached to it.Concise and to the point statement is at the plc communication port or as the result of user program or I/O incident, special zone bit can be set, so this allows communication port to be activated.This is made by zone bit and interrupts appearing in the PLC user program finishing, this permission, and when this special bit was not set, the user utilized the protocol scheme rather than the standard traffic/programming protocol communication of user's appointment." consult summary.
U.S. Patent No. 5,485,590 (Hyatt) allegedly quote: " module makes Programmable Logic Controller be connected to a plurality of serial communication networks, and data can be according to different agreement exchanges on this serial communication network.Module has central controller and at each network port circuit independently.Each port circuit comprises microprocessor and shared storage, and this central controller and port microprocessor all have the right to use this shared storage to come swap data.This central controller is transferred to data the module output of other parts that are coupled to Programmable Logic Controller from shared storage.The a plurality of programs of removable memory cartridge stores are used for carrying out by port microprocessor, to use different communication protocol swap data on network.Configuration data is stored in the module, and which program of this module definition will be transferred to the shared storage of each port circuit from storage box.The protocol parameter configuration querying is stored at each program, so that the user can be by the parameter value of query selection by the communication protocol of program use." referring to summary.
U.S. Patent No. 5,991,510 (Beaulieu) allegedly quote: " robot driver have on this driver or near the memory device that easily removes in the operation and the configuration parameter of the installed position stored; so that such as relevant with arm design and system layout comprise instruct website special data can with this driver and installation maintenance relatively; this drive system can be mounted in minimum time and replace whereby, because this memory device does not need reprogramming.Static memory or main secret key are (for example, Dallas secret key or EProm etc.) this removable memory device of form can be fixed on this robot health or away near plate, and can store the arm design parameter, when on one's body or programme during off-line, and become and be configured to unique part that this arm setting relatively manufactures and designs in robot.And then, nominal system layout parameters can be pre-stored in the secret key, and when this secret key is fixed on the robot driver, this robot automatically has the information about arm design and system layout, and this information will help avoid collision and the starting point of the accurate instruction of terminal is provided.In addition, when this robot was mounted, the exact position parameter of each terminal can be stored in the secret key.Thereby this secret key will comprise all makes robot for the unique information necessary of unique system, and when the robot driver is replaced, by original secret key being fixed on the new engine people or near it, will taking all parameters of initial robot." referring to summary.
U.S. Patent No. 4,937,419 (Kolodziej) allegedly quote: " welding able to programme and machine controller are used to control welding robot.This controller comprises CPU (central processing unit), and it comprises the control program of being stored, and this control program is connected to the storer of the operation of the operation welding operation of this machine and this machine itself.The input of the machine under next comfortable its different running statuses of this controller reception and the current monitor of data typing and display unit and welding operation, this current monitor produces output by the output that adds heat control and controls welding operation with the activation firing circuit.This stored program backup can obtain by the attached port of memory backup storage unit." referring to summary.
Summary
Some exemplary embodiment can provide a kind of method that is used to utilize the storage box that is connected to PLC.This storage box can comprise a plurality of memory paragraphs.This method can comprise a plurality of actions, described action comprises: provide at the acquiescence identification of the record in the data log files and stab, ask so that data log files to be provided with the structure and the acquisition of the data log files of data log files separate storage in storage box.
The accompanying drawing summary
With reference to the accompanying drawings, the present invention and various potential embodiment thereof by following detailed description with easier to understand, wherein:
Fig. 1 is the block scheme of the exemplary embodiment of system 1000;
Fig. 2 is the block scheme of the exemplary embodiment of data structure 2000;
Fig. 3 is the process flow diagram of the exemplary embodiment of method 3000;
Fig. 4 is the process flow diagram of the exemplary embodiment of method 4000;
Fig. 5 is the process flow diagram of the exemplary embodiment of method 5000;
Fig. 6 is the process flow diagram of the exemplary embodiment of method 6000;
Fig. 7 is the process flow diagram of the exemplary embodiment of method 7000;
Fig. 8 is the process flow diagram of the exemplary embodiment of method 8000; With
Fig. 9 is the block scheme of the exemplary embodiment of information equipment 9000.
Describe in detail
As used in this, I/O equipment can comprise any input and/or output device towards sense organ, such as equipment towards audio frequency, video, sense of touch (comprising temperature, pressure, misery, skin texture or the like), sense of smell and/or the sense of taste, this equipment comprises for example monitor, display, keyboard, keypad, touchpad, pointing device, microphone, loudspeaker, video camera, camera, scanner and/or printer, comprises the port that I/O equipment can be enclosed or be connected to potentially.
As used in this, such as by any visual and/or audio devices, such as by display, monitor, electronic newspaper, vision booster, loudspeaker, artificial cochlea or the like, presentation devices makes that the people is discernable to be for example data, order, text, figure, audio frequency, video, animation and/or hyperlink or the like.
As used in this, information equipment can be any general and/or special purpose computer, and it is such as personal computer, workstation, server, small-size computer, large scale computer, supercomputer, terminal, kneetop computer, wearable computer, and/or PDA(Personal Digital Assistant), portable terminal, bluetooth equipment, communicator, " intelligence " phone (such as handspring Treo type equipment), instant messaging (such as Blackberry) receiver, pager, facsimile recorder, cellular phone, black phone, equipment with the phone transmission, programming microprocessor or microcontroller and/or peripheral integrated circuit component, ASIC or other integrated circuit, hardware electronic logical circuit such as discrete element circuits, and/or such as PLD, PLA, FPGA, or the programmable logic device (PLD) of PAL etc. or the like.Usually, resident thereon can carry out described here to small part method, structure or/and any equipment of the finite state machine of graphical user interface can be used as information equipment.Information equipment can comprise the well-known components such as one or more network interfaces, one or more processor, one or more storer that comprises instruction and/or one or more I/O (I/O) equipment or the like.
Fig. 9 is the block scheme of the exemplary embodiment of information equipment 9000.Information equipment 9000 can comprise network interface 9100.Network Interface Unit 9100 can comprise phone, cellular phone, cellular modem, phone data modulator-demodular unit, fax modem, wireless tranceiver, Ethernet card, cable modem, digital subscriber line interfacing, electric bridge, hub, router or other similar devices.Information equipment 9000 can directly and/or indirectly be connected to out of Memory equipment via network interface 9100.
Information equipment 9000 can further comprise processor 9200.Processor 9200 can be central processing unit, native processor, teleprocessing unit, parallel processor and/or distributed processors or the like.This processor can be a general purpose microprocessor, such as the microprocessor of the Pentium III series of being made by the Intel Company of Santa Clara, California.In another embodiment, this processor can be special IC (ASIC) or field programmable gate array (FPGA), and these two kinds of circuit have been designed at its hardware or/and implement at least a portion embodiment disclosed herein in the firmware.Processor 9200 can make information equipment 9000 be suitable for carrying out according to a plurality of instructions.
Information equipment 9000 can further comprise storer 9300.Storer 9300 can comprise any equipment that can store analog or digital information, for example comprises nonvolatile memory, volatile memory, random-access memory (ram), ROM (read-only memory) (ROM), flash memory, magnetic medium, hard disk, floppy disk, tape, light medium, CD, densification card (CD), digital universal disc (DVD) and/or disk array (raid array) or the like.This storer can be coupled to processor and can storing and be suitable for the instruction carried out by according to the processor of the embodiment disclosed herein.Storer 9300 can be suitable for storage instruction 9400.
Instruction 9400 can comprise a plurality of instructions that write with machine-readable language.When by processor 9200 execution command 9400, instruction 9400 can be suitable for process information.In effective embodiment, use instruction 9400 information of using to provide information to handling operation and/or processed operation modification by processor 9200.
Information equipment 9000 can further comprise I/O equipment 9500.I/O equipment 9500 can be suitable for allowing information equipment 9000 direct and/or indirect and out of Memory equipment and/or telex networks.
Fig. 1 is the block scheme of the exemplary embodiment of system 1000.Go out as shown, system 1000 can comprise the controller 1200 such as programmable logic controller (PLC) (PLC).System 1000 can comprise can be by the machine and/or the process of PLC1200 supervision and/or control.System 1000 can further comprise and is suitable for the hardware and/or the software that allow the user to communicate by letter with PLC1200.PLC1200 can be the PLC that commerce is ordered.Replacedly, PLC1200 can be an information equipment.PLC1200 can be used to monitor or/and control process such as industrial process.For example, PLC1200 can monitor and/or control warning indicator, relay, sensor, another controller and/or sports equipment, and this sports equipment is all in this way such as the motion controller of controllor for step-by-step motor, servo controller, brake controller or the like; Motion driver such as step actuator, servo-driver or the like; And/or such as the detent of stepper motor, servomotor, linear electric machine, motor, ball screw, servo-valve, hydraulic actuating mechanism, pneumatic valve or the like.
PLC1200 can comprise CPU (central processing unit) (CPU), can processed and definite appropriate control signals via this CPU (central processing unit) instruction.PLC1200 may further include and/or be coupled to input-output (I/O) equipment.This I/O equipment can be presented the information that obtains from PLC1200.The user also can be via I/O equipment and PLC1200 reciprocation.As used in this, reciprocation means receiving alarm or notice, revision or changeover program, inspection control algolithm and/or revises graphic presentation or the like.
Memory device (such as storage box 1100) can directly or via network coupled arrive PLC1200.In certain embodiments, storage box 1100 can be inserted among the PLC1200 and/or be directly connected to PLC1200.This memory device can be nonvolatile memory, volatile memory, ROM, random access memory, flash memory, magnetic medium, hard disk, floppy disk, tape, light medium, CD, CD, DVD and/or disk array or the like.This memory device can provide the storage by spendable instruction of the CPU of PLC or data.
In the exemplary embodiment, PLC1200 can be coupled to user interface facilities 1300 by network 1600.Network 1600 can be public, special-purpose, Circuit-switched, packet switch, virtual, wireless, phone, honeycomb fashion, cable, DSL, satellite, microwave, AC power supplies, twisted-pair feeder, Ethernet, token ring, LAN, WAN, internet, in-house network, wireless, Wi-Fi, bluetooth, airport (airport), 802.11a, 802.11b, 802.11g and/or any its equivalence or the like.
By user interface facilities 1300, this user can with the PLC1200 reciprocation.User interface facilities 1300 can be an information equipment.For example, by user interface facilities 1300, this user can be connected to PLC1200 and/or can control the ground monitoring process by PLC1200.This user also can be by user interface facilities 1300 and PLC1200 reciprocation.
By network 1600, PLC1200 can further be coupled to process component 1400.Process component 1400 can comprise part of machine tools, robot, chemical reactor, stove, reactor, assembly machine, packaging machine and/or transfer equipment or the like.In effective embodiment, process component 1400 can be controlled, influence and/or monitor via PLC1200.
This PLC can further pass through Network Interface Unit 1500 and telex network.Network Interface Unit 1500 can be phone, cellular phone, modulator-demodular unit, cellular modem, phone data modulator-demodular unit, fax modem, wireless tranceiver, Ethernet card, cable modem, digital subscriber line interfacing, electric bridge, hub, router or other similar devices.When locating away from PLC1200, Network Interface Unit 1500 can be suitable for allowing the user to communicate by letter with PLC1200.By Network Interface Unit 1500, network 1600 can further be coupled to perimeter network 1700.Perimeter network 1700 can be public, special-purpose, Circuit-switched, packet switch, virtual, wireless, phone, honeycomb fashion, cable, DSL, satellite, microwave, AC power supplies, twisted-pair feeder, Ethernet, token ring, LAN, WAN, internet, in-house network, wireless, Wi-Fi, bluetooth, airport, 802.11a, 802.11b, 802.11g and/or any its equivalence or the like.
Perimeter network 1700 can further be connected to remote user interface equipment 1800.Remote user interface equipment 1800 can be the information equipment that comprises I/O equipment.In effective embodiment, perimeter network 1700 can be suitable for allowing user and PLC1200 reciprocation.Perimeter network 1700 can allow the PLC1200 reciprocation of user and hundreds if not thousands of miles of distance P LC1200 position far away.Perimeter network 1700 can be used to strengthen practicality and the programming, management and/or the maintenance cost that reduce owing to the control of PLC1200 and/or supervision and/or process component 1400.Process component 1400 can be one of a plurality of process components.
Fig. 2 is the block scheme of the exemplary embodiment of data structure 2000.The exemplary embodiment of data structure 2000 can comprise item file 2100.Item file 2100 can be stored on the memory device such as storage box.Item file 2100 can comprise information, the information of representing recipe structure 2500 and/or supporting documentation 2600 of program 2200, prescription 2300, expression data log files structure 2400 or the like.Data log files structure 2400 can with corresponding data log files separate storage, this corresponding data log files can be stored on any memory device.Recipe structure 2500 can with corresponding prescription 2300 separate storage.Item file 2100 and/or wherein one or more elements can be suitable for allowing PLC to monitor and/the control procedure element.
Program 2200 can comprise one group of machine readable instructions.Program 2200 can be transferred to PLC.Program 2200 can be carried out on PLC.Program 2200 can be stored in the item file 2100.In effective embodiment, program 2200 is suitable for and/or can be suitable for promoting carrying out exporting or the like such as procedure for displaying stream, transmission information, canned data, process information, prompting user input, control procedure variable and/or reporting process of task by PLC.
Prescription 2300 at least one that can comprise in a plurality of input values, each input value is from a plurality of input values corresponding to process variable.Each process variable can be used to monitor and/or control procedure by PLC.Prescription 2300 can comprise the value that is used to be provided with such as machine speed, machine dimensions, product type, product composition, product size, Product labelling, packaging type, Package size, packaging label, pressure, temperature and/or any other relevant procedure parameter.Prescription 2300 can be stored in the item file 2100.Prescription 2300 can be communicated and provide setting to program 2200, but so that product and/or the exercisable process of using PLC to present mark.Replacedly, but prescription 2300 can be communicated to different treatment facilities and/or software so that the product and/or the exercisable process of presenting mark that be provided with to be provided.
The information of expression data log structure 2400 can comprise at storage and retrieve the how symbolic representation of formatted data journal file.The information of expression data log files structure 2400 can be stored in the item file 2100.The information of expression data log files structure 2400 can comprise relevant value and/or the character of architectural feature a series of and data log files.The information of this data log files and/or expression data log structure 2400 can be stored on the storage box or on another memory device.The information of expression data log files structure 2400 can be suitable for presenting that machine can be stored and/or machine-readable data log files.The information of expression data log files structure 2400 can with the data log files separate storage.
The information of expression recipe structure 2500 can comprise at storage and retrieve the symbolic representation of how to format prescription.The information of expression recipe structure 2500 can be stored in the item file 2100.The information of expression recipe structure 2500 can comprise relevant value and/or the character of architectural feature a series of and prescription.The information of expression recipe structure 2500 can be suitable for presenting that this machine can be stored and/or machine-readable prescription.Represent this recipe structure 2500 information can with this separate storage of writing out a prescription.
Supporting documentation 2600 can comprise information representation text and/or visual, and this information representation can absorb the understanding that improves PLC, storage box, the hardware component relevant with PLC, the software part of being correlated with PLC and/or process of being controlled or the like.Supporting documentation 2600 can be stored in the item file 2100.In the exemplary embodiment, supporting documentation 2600 can be at the user interface facilities place by customer inspection, so that promote to understand and/or revise PLC, the hardware relevant with PLC, and information, the prescription of the structure of the PLC software of being correlated with, process, item file, data log files, expression data log files and/or represent the information or the like of the structure of this prescription.Replacedly, supporting documentation 2600 can be via the I/O equipment that can be connected to information equipment and passs the user.
Fig. 3 is the process flow diagram of exemplary embodiment that is used to use the method 3000 of memory device.At action 3100 places, the initial memory paragraph on the storage box can be positioned at the place that this item file or its any parts can be read and/or write.Replacedly, this initial memory paragraph can be positioned on the memory device.In effective embodiment, this item file can take single memory paragraph.Replacedly, in effective embodiment, this item file can take a plurality of memory paragraphs.
At action 3200 places, this item file can be provided for storage box.Replacedly, this item file can be provided for this memory device.Provide this item file to this memory device can allow to be included in information in the item file by sequential delivery to PLC.For example, under the situation of power fail, wipe volatile memory among the PLC, recover in this item file that some information of wiping from volatile memory can be stored from memory device.
Fig. 4 is the process flow diagram of exemplary embodiment that is used to use the method 4000 of this memory device.At action 4050 places, the user can ask to be stored and/or can be stored in the information on the memory device to obtain (for example see, hear, presented and/or obtain right and use).This information can comprise programming code, programming code document, belong to the hardware relevant with PLC and/or supporting documentation, process data, prescription code and/or prescription information, one or more data loggings etc. of software.This user can improve the supervision, control of PLC and/or management and/or at least one potentially and have the process component of the information that is obtained.
At action 4100 places, this user can be prompted to select language to be used to present information from a plurality of speech selection.This user can be allowed to provide the selection corresponding to selected language.This user can be allowed to make a choice can being connected on the I/O equipment of information equipment.Speech selection can comprise any language such as English, German, French, Italian, Spanish and/or Chinese or the like.This user can select language by providing user corresponding to selected language to import.
At action 4200 places, this user's input can receive corresponding to selected language.This user's input can be used as the user and receives with the interactive result of I/O equipment who is connected to information equipment.This user's input can be by coming raising information to travel to and fro between the communication capacity of PLC with this user's institute's preference and/or the better language transmission information of understanding.
At action 4300 places, this information can be positioned on the memory device.This information can be by PLC action or information equipment directly any and/or that be connected to PLC indirectly locate.Locate this information and can promote communication between user and the PLC.
At action 4400 places, this information can be provided for the user in response to user's input of the selected language of correspondence.This information is provided for user interface facilities with selected language.Replacedly, this information can be provided for any I/O equipment and/or any information equipment by selected language.
Fig. 5 is the process flow diagram of exemplary embodiment that is used to use the method 5000 of memory device.At action 5100 places, first identification is stabbed and can be provided for data log record.First sign stab can comprise calendar data and/or with request, collect, receive and/or the relevant clock time of record data log record.Replacedly, first sign is stabbed and can be related to the processing unit such as machine, instrument and/or equipment or the like relevant with data log record.For example to stab can be unit identifier such as machine number, sensor number and/or detent number or the like to first sign.In effective embodiment, this process identifier stabs can help customer analysis and grouped data log record.
At action 5200 places, PLC can allow this user to select second sign to stab from a plurality of selections.Sign stab to select to comprise various data and/or comprise year, month, day, what day, hour, time zone, minute, second and/or second the time element of part or the like.Replacedly, second sign is stabbed and can be comprised various numerals and/or the symbol relevant with processing unit.
At action 5300 places, can from selection equipment, receive corresponding to the second user's input that identifies the selection of stabbing.This second sign is stabbed and can be improved this user's ability with the analytic process log record.Replacedly, second sign is stabbed and can be compared first sign and stab the second littler sign and stab the memory space requirements that reduces for data log record by providing.
At action 5400 places, in response to user's input, selected second sign is stabbed and can be provided for memory device.In effective embodiment, providing second sign to stab can provide information to the user to this memory device, when this data log record of user's subsequent analysis, the information in second sign is stabbed can be suitable for improving analysiss, classify and/or otherwise the efficient of information in the deal with data log record.
Fig. 6 is the process flow diagram of exemplary embodiment that is used to use the method 6000 of memory device.At action 6100 places, first is provided with and can provides corresponding to be read the instruction of wiping this data logging or do not wipe this data logging from memory device in the back at data logging.The instruction of wiping or not wiping this data log files after reading this data log files can allow more effectively management data storage and retrieving of user on memory device.Wiping this data log files can give security, and does not have data log record before to be read on this memory device.
At action 6200 places, this user can be allowed to select wipe or do not wipe second setting of the instruction of this data logging corresponding to be read the back at this data logging from memory device.This second is provided with can provide with first opposite instruction is set.Provide second to be provided with and to allow the user to improve control on the data storage resource.
At action 6300 places, this data logging can be read from this memory device.In response to user's input, this data logging can be wiped free of from memory device or not wipe then.Read this data logging can allow this user in response to analyze and/or improve monitor, control and/or report transmitted by the needs of the process component of PLC control and be used for additional treatments and/or canned data.
Fig. 7 is the process flow diagram of exemplary embodiment that is used to use the method 7000 of this memory device.At action 7100 places, this user can allow the element of selection at the item file of the storage on this memory device in being prompted property ground.The information, expression that this selectable element can comprise this item file, this program, this prescription, expression recipe structure and the information of the data log files structure of data log files separate storage and/or belong to this process, PLC, the hardware relevant and/or the supporting documentation of the software of being correlated with PLC with PLC.
At action 7200 places, can from selection equipment, be received corresponding to the user input of the option of at least one project file element of storage.Offer the user storage option and can allow this customization storage plan, to be fit to the demand of unique system, this demand is considered such factor: be used for storing other device, the storage box of this item file size, at the quantity of the collected process data of the storage of data log files, storage at the frequency of the collected process data of the storage in the data log files, in this memory device the quantity of storable prescription number and/or available supporting documentation and/or content or the like.
At action 7300 places, in response to user's input, project file element can be written in the memory device.This project file element can be written in the section start of vacant memory segment.Replacedly, project file element can cover previously stored item file.
Fig. 8 is the process flow diagram of exemplary embodiment that is used to use the method 8000 of this storage box.At action 8100 places, first head marker of the initial memory paragraph of the data log record of indicating to be written into can be positioned on the memory device.This data log record can be the size that can be stored on the single memory paragraph.Replacedly, this data log record can be the size that can be stored on a plurality of memory paragraphs.For data log storage can with memory paragraph can be space and/or contiguous in logic, and/or can write continuously.
At action 8200 places, the data log record that can comprise second head marker can be written into initial at least memory paragraph.This data log record can be written on one vacant memory segment at least.
Replacedly, this data log record can cover the memory paragraph that at least one is used by older data log record.This second head marker can comprise the information of reflection at the position of the next memory paragraph of the storage of next data log record.In the exemplary embodiment, this data log files can be written in logic in the round-robin impact damper.This in logic the round-robin impact damper be characterised in that the data log record that writes contiguous memory segments, this impact damper begins at initial memory paragraph place.When this impact damper is full of, this in logic the round-robin impact damper be further characterized in that writing in the next data log record of the section start of this impact damper.Next data log record can cover writes logically the oldest data log record in the round-robin impact damper.For example, if this impact damper is full, the then next data log record that will be written into can be written in the section start of this impact damper, therefore covers before the data log record at the section start of this impact damper.This in logic the round-robin impact damper can comprise cyclic buffer, wherein memory paragraph is physically mutually contiguous.
At action 8300 places, first head marker can be changed into the record mark that reflection writes on the data log record in the initial at least memory paragraph.This record mark (as change) success that can represent to comprise the data log record of second head marker writes.
After action 8200 and before complete execution 8300, power fail may occur.Occurring power fail before finishing fully in action 8300 can stay and have the data log files that two head markers are opened simultaneously.At action 8400 places, in effective embodiment, PLC can guarantee the power fail existence of single head marker afterwards via the error checking technology.The accurate verification of the method that this error checking technology can be any compensation, Fletcher verification and method, cyclic redundancy check method and/or expansion and method etc.May with the position of problematic record and be added to the position of record of memory device and/or error checking technology that the knowledge of direction is relevant can to identify which record be up-to-date, and therefore to identify which head marker be wrong.
In effective embodiment, PLC can forbid and/or eliminate head marker older, that duplicate, perhaps will be older, that duplicate possibly head marker is converted to and causes the non-head marker that single head marker occurs in the data log files, and this single head marker is corresponding to new record.The value that changes binary digit can be forbidden head marker older, that duplicate.Replacedly, on each of this data log record, PLC can check and test the sign such as the timestamp sign, to determine the up-to-date record that writes.
At action 8400 places, this data log record can be read from this memory device.In effective embodiment, in response to data log structure, this data log record can read from least one memory paragraph.Represent the information of this data log structure can separate storage in this memory device.
Also have other embodiment from accompanying drawing, will become easy with above-mentioned detailed description and some exemplary embodiment for those skilled in the art.Should be appreciated that various variations, modification and additional embodiments are possible, and thereby all such variations, modification and embodiment will be considered in the spirit and scope of appended claim.For example, no matter the content of any part (for example title, chapters and sections, summary, accompanying drawing or the like) of this application, unless clear and definite regulation on the contrary, otherwise without any the needs of the mutual relationship of the action that specifies or illustrate or element, any specific such running order or any specific such element.In addition, any action can be repeated, and any action can be carried out by a plurality of entities, and/or any element can be replicated.Moreover any action or element can be excluded, and the order of action can change, and/or the mutual relationship of element can change.Therefore, this instructions and accompanying drawing essence are considered to exemplary, rather than restrictive.

Claims (35)

1. method that is used to utilize the storage box that is connected to PLC, this storage box comprises a plurality of memory paragraphs, and this method comprises a plurality of actions, and described action comprises:
Provide at the default identification of the record in the data log files and stab, this data log files is written in logic in the round-robin impact damper, described data log files comprise first data log record with first head marker, at the structure of the data log files of this data log files separate storage in storage box, this first head marker is represented the initial memory paragraph at second data log record that will be written into; And
The request that obtains is to provide this data log files.
2. method according to claim 1 further comprises:
The data log files that will comprise the process data recording with sign stamp offers described storage box.
3. method according to claim 1 further comprises:
The data log files that will comprise the process data recording with sign stamp offers memory device.
4. method according to claim 1 further comprises:
The data log files that will comprise the process data recording that further has the sign stamp offers output device.
5. method according to claim 1 further comprises:
The data log files that will comprise the process data recording that further has the sign stamp offers user interface facilities.
6. method that is used to utilize the storage box that is connected to PLC, this storage box comprises a plurality of memory paragraphs, and this method comprises a plurality of actions, and described action comprises:
The prompting user selects to stab at the sign of the record in the data log files, this data log files is written in logic in the round-robin impact damper, described data log files comprises first data log record with first head marker, this first head marker is represented the initial memory paragraph at second data log record that will be written into, and this data log files has and the structure of this data log files separate storage in storage box; And
Reception is corresponding to selected user's input of stabbing at the sign of the record in this data log files.
7. method according to claim 6, wherein said sign are stabbed and are related to the date.
8. method according to claim 6, wherein said sign are stabbed and are related to the time.
9. method according to claim 6, wherein said sign are stabbed and are related to device identifier.
10. method according to claim 6 further comprises: the request that obtains is to provide data log files.
11. method according to claim 6 further comprises:
In response to user's input, provide described sign to stab to the record in the described data log files.
12. method according to claim 6 further comprises:
Provide described data log files to described storage box, this data log files comprises the process data recording that further has described sign stamp.
13. method according to claim 6 further comprises:
Provide described data log files to memory device, this data log files comprises the process data recording that further has described sign stamp.
14。Method according to claim 6 further comprises:
Provide described data log files to output device, this data log files comprises the process data recording that further has described sign stamp.
15. method according to claim 6 further comprises:
Provide described data log files to user interface facilities, this data log files comprises the process data recording that further has described sign stamp.
16. a method that is used to utilize the storage box that is connected to PLC, this storage box comprises a plurality of memory paragraphs, and this method comprises a plurality of actions, and described action comprises:
To the user prompt option, to wipe this data log files the storage box on being attached to PLC after the reading of data journal file, this data log files is written in logic in the round-robin impact damper, described data log files comprises first data log record with first head marker, and this first head marker is represented the initial memory paragraph at second data log record that will be written into;
Reception is corresponding to user's input of selecting, and this selection relates to wipes this data log files from this storage box after reading this data log files; And
Read this data log files.
17. method according to claim 16 further comprises:
In response to the sure user input corresponding, from this described storage box, wipe this data log files with the selection of wiping described data log files.
18. method according to claim 16 further comprises:
In response to the user that the negate input corresponding, from described storage box, do not wipe this data log files with wiping described data log files.
19. method according to claim 16, further comprising provides acquiescence to select, and this acquiescence is selected not wipe this data log files corresponding to read described data log files from storage box after.
20. method according to claim 16, further comprising provides acquiescence to select, and this acquiescence is selected to wipe this data log files corresponding to read described data log files from described storage box after.
21. a method that is used to utilize the storage box that is connected to PLC, this storage box comprises a plurality of memory paragraphs, and this method comprises a plurality of actions, and described action comprises:
The location is written into the data log files in the round-robin impact damper in logic on described storage box, described data log files comprises first data log record with first head marker, and this first head marker is represented the initial memory paragraph at second data log record that will be written into; And
Described second data log record is write this initial memory paragraph at least, this second data log record is comprised by this data log files, and this data log files is according to coming structuring with the data log files structure of this data log files separate storage on storage box.
22. method according to claim 21, wherein said second data log record comprises second head marker.
23. method according to claim 21, wherein, the said write action causes generation second head marker, and this second head marker relates to described second data log record.
24. method according to claim 21 further comprises:
Described first head marker is changed into non-head marker.
25. method according to claim 21 further comprises:
Read described second data log record.
26. a method that is used to utilize the storage box that is connected to PLC, this storage box comprises a plurality of memory paragraphs, and this method comprises a plurality of actions, and described action comprises:
Provide data log files to this storage box, this data log files is written in logic in the round-robin impact damper, described data log files comprises first data log record with first head marker, and this first head marker is represented the initial memory paragraph at second data log record that will be written into; And
The use error calibration technology is this first data log record and this second data log record relatively.
27. method according to claim 26, wherein, described error checking technology comprise use verification and.
28. method according to claim 26, wherein, described error checking technology comprise use the Fletcher verification and.
29. method according to claim 26, wherein in response to the power loss of storage box, relatively the described action of first data log record and second data log record takes place.
30. method according to claim 26, wherein first head marker relates to described first data log record.
31. method according to claim 26 further comprises:
Determine that first head marker that relates to described first data log record is written into second head marker that relates to described second data log record subsequently; And
This second head marker is changed into non-head marker.
32. method according to claim 26 further comprises:
Determine that first head marker that relates to described first data log record is written into second head marker that relates to described second data log record subsequently; And
Forbid this second head marker.
33. method according to claim 26 further comprises:
Than position relevant with first data log record and the position relevant with second data log record, this first data log record and second data log record are written into this cyclic buffer with respect to the direction ratio of being write by the described impact damper of round-robin in logic;
Determine that first head marker that relates to first data log record is written into second head marker that relates to second data log record subsequently; And
Second head marker is changed into non-head marker.
34. method according to claim 26 further comprises:
Relatively more relevant timestamp and the timestamp relevant with second data log record with first data log record;
Determine that first head marker that relates to first data log record is written into second head marker that relates to second data log record subsequently; And
Second head marker is changed into non-head marker.
35. a system that is used to utilize the storage box that is connected to PLC, this storage box comprises a plurality of memory paragraphs, and this system comprises:
Be used for providing the device that stabs at the default identification of the record of data log files, this data log files is written in logic in the round-robin impact damper, described data log files comprise first data log record with first head marker, with the structure of the data log files of this data log files separate storage in storage box, this first head marker is represented the initial memory paragraph at second data log record that will be written into; And
Be used to obtain to ask so that the device of this data log files to be provided.
CNB2003801072647A 2002-12-23 2003-12-17 Method for utilizing a memory device for a PLC Expired - Fee Related CN100498797C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US43624902P 2002-12-23 2002-12-23
US60/436,249 2002-12-23
US10/685,821 2003-10-15

Publications (2)

Publication Number Publication Date
CN1742243A CN1742243A (en) 2006-03-01
CN100498797C true CN100498797C (en) 2009-06-10

Family

ID=36093991

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003801072647A Expired - Fee Related CN100498797C (en) 2002-12-23 2003-12-17 Method for utilizing a memory device for a PLC

Country Status (1)

Country Link
CN (1) CN100498797C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101279710B1 (en) * 2011-04-01 2013-06-27 엘에스산전 주식회사 Plc data log module and method for storing data in the same
WO2012143993A1 (en) * 2011-04-18 2012-10-26 三菱電機株式会社 Programmable logic controller
US10331115B2 (en) * 2016-11-28 2019-06-25 Asm Ip Holding B.V. Substrate processing system, storage medium and data processing method
WO2020107430A1 (en) * 2018-11-30 2020-06-04 深圳市大疆创新科技有限公司 Log storing method, log reading method, smart battery, and unmanned aerial vehicle

Also Published As

Publication number Publication date
CN1742243A (en) 2006-03-01

Similar Documents

Publication Publication Date Title
CN1937537B (en) Method and system of accessing process control log information associated with process control systems
US7793056B2 (en) Method of maintaining a data log related to a Programmable Logic Controller (PLC)
US5032989A (en) Real estate search and location system and method
US5355327A (en) Automated statistical data collection system
CN1933512B (en) Tollticket processing equipment and method
US20030222792A1 (en) Method, system and storage medium for monitoring parking meters
US20090018957A1 (en) Tool, network and method for asset data updating
CN102393700A (en) Method and apparatus to maintain a process control system
CN105989122A (en) Application recommendation method and device
CN100397268C (en) Methods and structures for utilizing a memory device for a PLC
CN100498797C (en) Method for utilizing a memory device for a PLC
CN112965981B (en) Data checking method, device, computer equipment and storage medium
CN111724098B (en) Information display method and system, electronic equipment and storage medium
JP2004227531A (en) Customer information management system using map information
CN110471730A (en) Methods of exhibiting, system, big screen system and medium based on Echarts
US7203553B2 (en) Methods and structures for utilizing a memory device for a PLC
US20070234411A1 (en) System, Method and Program for Changing Item Name Notation and Master Table Contents by Login Id Control
CN100468362C (en) Method for initializing and utilizing a memory device for a plc
CN110705241B (en) Method, system, electronic device and storage medium for managing industrial labels
CA2511426C (en) Methods and structures for utilizing a memory device for a plc
CA2511308C (en) Method for utilizing a memory device for a plc
CA3195507A1 (en) Automated vehicle service systems, devices and methods
Gospodinova Analysis And Design Of Client Application Of Intelligent Measuring System For Measurement Of Liquid Fuels And Data Transmission
CN114781345A (en) User-defined report query method
CN104217236A (en) Sensor, field instrument and methods and equipment for managing sensor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1087202

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1087202

Country of ref document: HK

ASS Succession or assignment of patent right

Owner name: SIEMENS BUILDING TECH AG

Free format text: FORMER OWNER: SIEMENS INDUSTRIAL AUTOMATION, INC.

Effective date: 20100810

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: GEOGIA STATE, USA TO: GEORGIA STATE, USA

TR01 Transfer of patent right

Effective date of registration: 20100810

Address after: American Georgia

Patentee after: Siemens Building Tech AG

Address before: Georgia, USA

Patentee before: Siemens Industrial Automation, Inc.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090610

Termination date: 20181217

CF01 Termination of patent right due to non-payment of annual fee