CN1729434A - Methods and structures for utilizing a memory device for a PLC - Google Patents

Methods and structures for utilizing a memory device for a PLC Download PDF

Info

Publication number
CN1729434A
CN1729434A CN 200380107271 CN200380107271A CN1729434A CN 1729434 A CN1729434 A CN 1729434A CN 200380107271 CN200380107271 CN 200380107271 CN 200380107271 A CN200380107271 A CN 200380107271A CN 1729434 A CN1729434 A CN 1729434A
Authority
CN
China
Prior art keywords
storage box
plc
user
prescription
data log
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
Application number
CN 200380107271
Other languages
Chinese (zh)
Other versions
CN100397268C (en
Inventor
T·L·福尔顿
W·H·约翰逊
M·S·博格斯
S·M·豪斯曼
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 Industry Inc
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 CN1729434A publication Critical patent/CN1729434A/en
Application granted granted Critical
Publication of CN100397268C publication Critical patent/CN100397268C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

Certain exemplary embodiments can provide a method for utilizing a memory cartridge connected to a PLC, the memory cartridge comprising a plurality of memory segments. The method can comprise a plurality of activities comprising: providing the memory cartridge, the memory cartridge housing a memory module, and providing to the memory cartridge a project file. The project file can comprise a user program, a recipe comprising a plurality of input values, each input value from the plurality of input values corresponding to a process variable, and a structure of a data log file stored separately from the data log file.

Description

Utilize the method and structure of 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, and this storage box comprises a plurality of memory paragraphs.This method can comprise a plurality of actions, and described action comprises: storage box is provided, and this storage box accommodates memory module; And offer this storage box item file.This item file can comprise user program, comprise a plurality of input values prescription and with the structure of this data log files of data log files separate storage, from each input value in described a plurality of input values corresponding to process variable.
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 (raidarray) 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 (20)

1. machine readable item file, it is coded in the machine readable media, and relates to the controlled process by PLC, and this machine readable item file comprises:
Be used to control the user program of this process;
The prescription that comprises a plurality of input values, from each input value in described a plurality of input values corresponding to a process variable; And
At with the structure of this data log files of data log files separate storage.
2. item file according to claim 1 further comprises the structure with the prescription of described prescription separate storage.
3. item file according to claim 1 further comprises at least one the supporting documentation that relates in described user program, described prescription and the described data log files.
4. item file according to claim 1 comprises at least one the supporting documentation that relates in described user program, described prescription and the described data log files, and wherein this supporting documentation comprises image.
5. 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:
This storage box is provided, and this storage box accommodates a memory module; And
Item file is offered this storage box, this item file comprises user program, comprise a plurality of input values prescription and with the structure of this data log files of data log files separate storage, from each input value in described a plurality of input values corresponding to a process variable.
6. method according to claim 5, wherein said item file further comprise the structure with this prescription of described prescription separate storage.
7. method according to claim 5, described item file further comprise at least one the supporting documentation that relates in described user program, described prescription and the described data log files.
8. 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 a kind of language, relates to the information that is stored in the item file in this storage box that is coupled to PLC to show on being connected to the user interface facilities of PLC;
Reception is corresponding to user's input of selected language; And
In response to this user's input, on this user interface facilities, show the information that relates to this item file with selected language.
9. method according to claim 8 further comprises:
The location is with the described information of selected language storage in described storage box.
10. method according to claim 8 further comprises:
The described information of location default language in described storage box.
11. 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 prompting user selects at least one project file element to be stored in the storage box on being connected to the user interface facilities of PLC, this project file element comprises user program, comprises the prescription of a plurality of input values, with the recipe structure of this prescription separate storage, and the structure of this data log files of data log files separate storage and the document that relates to each element of this item file, wherein from each input value in described a plurality of input values corresponding to a process variable; And
Reception is corresponding to selecting at least one project file element to be stored in the user's input in the storage box.
12. method according to claim 11 further comprises:
In response to described user's input, provide described at least one project file element to described storage box.
13. method according to claim 11 further comprises:
In response to described user's input, provide second item file to the described storage box that comprises at least one project file element, this second item file is different from first item file that is stored on this storage box.
14. a machine readable media, it has storage a plurality of instructions thereon, and described instruction is used to use and manages computer-readable item file on the storage box that can be coupled to PLC, and this item file comprises:
Be used to control the user program of described process
The prescription that comprises a plurality of input values, from each input value in described a plurality of input values corresponding to a process variable; And
Structure with this data log files of data log files separate storage.
15. machine readable media according to claim 14 further comprises the structure with this prescription of described prescription separate storage.
16. machine readable media according to claim 14 further comprises at least one the supporting documentation that relates in described user program, described prescription and the described data log files.
17. 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 prompting user selects a kind of language, comprises the information that is stored in the item file in the memory device that is coupled to PLC to show on being connected to the user interface facilities of PLC;
Reception is corresponding to user's input of selected language; And
Import in response to this user, show on this user interface facilities with selected language to comprise the information that is stored in the item file in this memory device.
18. method according to claim 17 further comprises:
The location is with selected language canned data in described memory device.
19. method according to claim 17 further comprises:
The information of location default language in described memory device.
20. method according to claim 17 further comprises:
The information of location default language in described memory device; And
This information is translated as selected language.
CNB2003801072717A 2002-12-23 2003-12-17 Methods and structures for utilizing a memory device for a PLC Expired - Lifetime CN100397268C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US43625202P 2002-12-23 2002-12-23
US60/436,252 2002-12-23
US10/685,819 2003-10-15

Publications (2)

Publication Number Publication Date
CN1729434A true CN1729434A (en) 2006-02-01
CN100397268C CN100397268C (en) 2008-06-25

Family

ID=35927905

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003801072717A Expired - Lifetime CN100397268C (en) 2002-12-23 2003-12-17 Methods and structures for utilizing a memory device for a PLC

Country Status (1)

Country Link
CN (1) CN100397268C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365994A (en) * 2007-02-19 2009-02-11 三菱电机株式会社 Peripheral device of programmable controller, replacing method and program
CN102591248A (en) * 2011-01-04 2012-07-18 三菱电机株式会社 Programmable controller and programmable controller system
CN102859453A (en) * 2011-04-18 2013-01-02 三菱电机株式会社 Programmable logic controller
CN106796423A (en) * 2014-08-25 2017-05-31 西门子公司 Intelligent programmable logic controller
CN103914606B (en) * 2012-12-29 2017-08-08 北京谊安医疗系统股份有限公司 A kind of method and system of storage and the reading of multilingual warning message
CN109100981A (en) * 2017-06-21 2018-12-28 利乐拉瓦尔集团及财务有限公司 The method of log record process data in PLC control equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5659705A (en) * 1994-12-29 1997-08-19 Siemens Energy & Automation, Inc. Serial access memory cartridge for programmable logic controller
US6134631A (en) * 1996-08-19 2000-10-17 Hyundai Electronics America, Inc. Non-volatile memory with embedded programmable controller
US6134607A (en) * 1998-04-03 2000-10-17 Avid Technology, Inc. Method and apparatus for controlling data flow between devices connected by a memory

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365994A (en) * 2007-02-19 2009-02-11 三菱电机株式会社 Peripheral device of programmable controller, replacing method and program
CN102591248A (en) * 2011-01-04 2012-07-18 三菱电机株式会社 Programmable controller and programmable controller system
CN102859453A (en) * 2011-04-18 2013-01-02 三菱电机株式会社 Programmable logic controller
CN103914606B (en) * 2012-12-29 2017-08-08 北京谊安医疗系统股份有限公司 A kind of method and system of storage and the reading of multilingual warning message
CN106796423A (en) * 2014-08-25 2017-05-31 西门子公司 Intelligent programmable logic controller
CN106796423B (en) * 2014-08-25 2019-06-25 西门子公司 Intelligent programmable logic controller
CN109100981A (en) * 2017-06-21 2018-12-28 利乐拉瓦尔集团及财务有限公司 The method of log record process data in PLC control equipment
CN109100981B (en) * 2017-06-21 2023-11-14 利乐拉瓦尔集团及财务有限公司 Method for logging process data in a PLC control device

Also Published As

Publication number Publication date
CN100397268C (en) 2008-06-25

Similar Documents

Publication Publication Date Title
CN1258742C (en) Business card agent and applications
JP4122297B2 (en) Message analysis apparatus and message display method
CN1158847C (en) Filing apparatus
CN1933512A (en) Tollticket processing equipment and method
CN100454299C (en) Infrequent word index for document indexes
CN101094292B (en) Computer apparatus
CN1552033A (en) System and method of transcoding a telephone number from a web page
US20090106239A1 (en) Document Review System and Method
CN104268814A (en) Method and device for generating electronic medical record
CN1758252A (en) Automatic view selection
CN1806242A (en) Method and system for alert delivery architecture
CN105989122A (en) Application recommendation method and device
CN1869981A (en) Digitized document archiving system
CN1783072A (en) Easy-to-use data context filtering
CN1659561A (en) Trouble countermeasure support system and terminal device connected to the same
CN1791022A (en) Log analyzing method and system
CN1729434A (en) Methods and structures for utilizing a memory device for a PLC
CN1742243A (en) Method for utilizing a memory device for a PLC
CN1323115A (en) Software coding, decoding method and software coding, decoding system
CN1107277C (en) System for enhanced utility of custom characters
CN114844792A (en) Dynamic monitoring method, device, equipment and storage medium based on LUA language
CN1633141A (en) Method for importing SIM card telephone directory into intelligent terminal and intelligent terminal therefor
CN1472939B (en) Network facsimile device
CN1670718A (en) Method and apparatus for remotely providing driver information
CN1406047A (en) Communication device and its control method and control programme

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: 1087201

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: 1087201

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 INDUSTRY, Inc.

Address before: Georgia, USA

Patentee before: SIEMENS ENERGY & AUTOMATION, Inc.

CX01 Expiry of patent term

Granted publication date: 20080625

CX01 Expiry of patent term