FAULT-TOLERANT DATA TRANSFER

Abstract: A control system has a first module (12) that includes a memory (18) and diagnostic logic. The diagnostic logic periodically tests at least selected locations in the memory and, in connection with such testing, reads data from those locations and writes that data back to the locations. A second module (14) is coupled to the first module such that the written back data is transferred to the second module, as well as to the memory of the first. Mapping or other conversion logic can translate addresses or other data identifiers, as necessary, to insure that the transferred data is properly identified upon its receipt by the second module.

Description: FAULT-TOLERANT DATA TRANSFER Background of the Invention The invention pertains to process control and, more particularly, to digital data processing methods and apparatus for duplicating data in control systems. The terms "control" and "control systems" refer to the control of a device or system by monitoring one or more of its characteristics. This is used to insure that output, processing, quality and/or efficiency remain within desired parameters over the course of time. In many control systems, digital data processing or other automated apparatus monitor the device or system in question and automatically adjust its operational parameters. In other control systems, such apparatus monitor the device or system and display alarms or other indicia of its characteristics, leaving responsibility for adjustment to the operator. Control is used in a number of fields. Process control, for example, is typically employed in the manufacturing sector for process, repetitive and discrete manufactures, though, it also has wide application in electric and other service industries. Environmental control finds application in residential, commercial, institutional and industrial settings, where temperature and other environmental factors must be properly maintained. Control is also used in articles of manufacture, from toasters to aircraft, to monitor and control device operation. Reliability is among the key requirements of any control system. Failures are almost never acceptable, for example, in critical process control and safety applications. Even occasional failures are undesirable in conventional control applications, such as manufacturing process control. The art suggests the use of testing and other operational techniques to improve the reliability of control systems. Industry standards, such as IEC 61508 and DIN V VDE 0801, Class AK6, for example, set niinimum requirements for fault detection in digital data processors used in safety-related systems. One of these calls for testing the random access memory of an operating computer on a periodic basis, e.g., every 15 seconds. This typically involves writing a known value to each addressable memory location and reading the locat ons to verify the stored values. Applications data contained in the memory is temporarily stored, e.g., in processor registers, while each memory location is being tested. Though testing techniques as descnbed above can give system designers and operators added comfort in the reliability of their control systems, the utility of those techniques is limited. Though otherwise unrelated to the foregoing, the art also suggests the use of redundancy as a means of enhancing reliability. This typically involves using two or more control elements in place of one. For example, U S. Patent 4,347,563 discloses an industrial control system in which redundant digital data processing units serve as bus masters "of the moment," monitoring status information generated by primary processing units. If a redundant unit detects that a primary has gone faulty while executing an application program, the redundant unit loads that program and takes over the primary's function. A problem with systems that rely on redundant processing units is updating newly inserted units Typically, this is accomplished by taking both active and new units off-line so that the contents of the former can be downloaded to the latter. Though the off-line peπod can be relatively bnef by layman's standards, it can be quite long from a control perspective, thus, raising the probability that a failure will disrupt system operation, or worse. An object of the present invention is to provide improved methods and apparatus for control and, more particularly, by way of example, for duplicating data utilized by modules in a control system. Another object is to provide improved such methods and apparatus as can be utilized in fault-tolerant or fault-detecting systems, e.g., for purposes of copying data from an active module to a newly inserted backup module. Yet still another object of the invention is to provide such methods and apparatus as permit a backup unit to be updated while the control system remains online. Still yet another object of the invention is to provide such methods and apparatus as can be implemented with little additional software and hardware overhead. Summary of the Invent on The foregoing are amorg the objects attained by the invention which provides, in one aspect, a control system with a first module that includes a memory and diagnostic logic. The diagnostic logic periodically tests at least selected locations in the memory and, in connection with such testing, reads data from those locations and writes the data back to them. A second module is coupled to the first module such that the data that is written back to the memory of the first module is transferred to the second module, as well. Further aspects of the invention provide a system as described above in which the first and/or second modules each form part of a workstation, field controller, field device, smart field device, or other functionality arranged for industrial, manufacturing, service, environmental, or process control. Data transferred between the modules can comprise any of bits, bytes, words, longwords, records, arrays, matrices, structs, objects, data structures or other items from or portions of the first module's memory. The system can include logic that maps addresses, symbolic names or other identifiers associated with data in the first module to corresponding addresses, symbolic names or other identifiers for association with the data in the second module. By way of example, the first module can be a "smart" field device in a process control system. The second module can be a workstation that (among other things) stores backup copies of configuration or other data in the field device. Diagnostic logic present in the field device, for example, can test locations in its memory, e.g., in compliance with the aforementioned IEC and DIN standards. In connection with the testing, the logic can read and rewrite the contents of the memory locations. Switching logic can transfer those rewritten contents (e.g., data words, records, objects, etc.) to the second module, as well as to the first module's memory. Mapping or other conversion logic can map or translate addresses or other identifiers in connection with the transfer. Further aspects of the invention provide a system as described above in which the first and second modules include first and second memories, respectively; the first memory element normally being coupled to a first memory bus; the second memory element normally being coupled to a second memory bus Each memory element stores data in accord with commands received over the bus to which it is coupled. The switching logic has a memory update mode that temporanly couples the second memory element to the first memory bus in lieu of the second memory bus, e g., so that the second memory element receives data and data storage commands identically with those received by the first memory element The switching logic can remain in the memory update mode long enough for the diagnostic logic to rewπte all of the selected locations of the first memory element. Further aspects of the invention provide a control device as descnbed above in which the switching element includes a field effect transistor (FET) switch and, preferably, an array of such switches. The switches connect conductors in the first and second memory buses to respective conductors of the first memory element The invention provides, in other aspects, a control device having first and second memory elements and first and second memory buses, as descnbed above A first switching element has a first switching mode that couples the first memory element to the first memory bus, and a second switching mode that couples the first memory element to the second memory bus A second switching element likewise has a first switching mode that couples the second memory element to the second memory bus, and a second switching mode that couples the second memory element to the first memory bus Logic coupled to the first and second switching elements normally places them in their respective first modes The logic can respond, e g , to insertion or powenng-up of one of those elements, for placing the associated switching element in its second mode, thereby, causing its memory to be updated from the other memory Still further aspects of the invention provide a control device as descnbed above in which the first and second memory elements are part of first and second modules, respectively, that include processors and input/output logic, as well as memory elements. Still other aspects of the invention provide methods of operating control devices and systems of the types described above. Methods and apparatus according to the invention are advantageous over the prior art. For example, a memory (or a selected portion thereof) can be copied to a backup unit without either unit being brought off-line. Moreover, the memory (or memory portion) can be copied quickly, i.e., in no more time than is required to verify the integrity of the unit being backed up. Still further, apart from switch setting, no substantial foreground, background or other additional processes are required for the update process. Brief Description of the Drawings A more complete understanding of the invention may be attained by reference to the drawings, in which: Figure 1 depicts a control device according to the invention; Figure 2 depicts a method of operating dual processing sections of the control device of Figure 1 ; and Figure 3 depicts operation of the processing sections of the device of Figure 1 during execution of the method of Figure 2. Detailed Description of he Illustrated Embodiment Figure 1 depicts p -oc ssing modules 12, 14 of a control device or system 10 according to the invention. Such modules may be separate workstations, field controllers, field devices ("smart" or otherwise), or other functionality within an industrial, manufacturing, service, environmental or other control system. In the illustrated embodiment, modules 12, 14 represent processing sections within an individual such workstation, field controller, field device, or other such functionality for industrial, manufacturing, service, environmental or other control. Particularly, illustrated sections 12, 14 provide fault-detecting and, preferably, fault-tolerant operation: upon failure of one of the processing sections, the other processing section may continue operation without substantial interruption. Illustrated section 12 includes processor 16, memory 18, memory arbitration circuitry 20, PCI (or other bus) interface circuitry 22 and ethernet (or other network) interface circuitry 24. These are selected, configured and operated in the conventional manner known in the art, as modified in accord with the teachings hereof. Illustrated section 14 includes like components 26 - 32, likewise selected, configured and operated in the conventional manner, as modified in accord with the teachings hereof. Sections 12, 14 can operate in lock-step synchronism, such that the contents of their respective memories 18, 28 and the operations of their respective processors 16, 26 (and other components) are substantially identical and synchronous at all times of normal operation. In the illustrated embodiment, sections 12, 14 operate with loose coupling, such that, although the processors 16, 26 (and other components) operate asynchronously with respect to one another, the operations they perform and the contents of their respective memories 18, 28 are identical when viewed over a longer time interval (e.g., between input/output or other events). Those skilled in the art will appreciate that modules 12, 14 may operate with other degrees of synchronism and/or coupling. Thus, by way of non-limiting example, one of the modules may serve as a "shadow" to the other, in the event that the master becomes disabled, the shadow can take over. Moreover, the modules may operate in entirely different manners and with entirely different purposes, except insofar as one of the modules duplicates the memory (or a portion thereof) of the other module. Module 12, for example, may be a field device and module 14 may be a workstation that duplicates or "backs up" bits, bytes, words, longwords, records, arrays, matrices, structs, objects, data structures or items in or portions of the memory of section 12. In the illustrated embodiment, logic (not shown) can be provided that monitors the operations of the sections 12, 14 to insure the desired degree of synchromcity or coupling Further logic (not shown) can be provided to permit only one of the processing sections, to wit, the "master," to drive signals to other components (not shown) of the control system. In this regard, illustrated sections 12, 14 are coupled to such other components by line 34, which may compπse a bus, network, or other communications medium which may, itself, be fault-tolerant, e.g., as indicated by redundant conductor sets 34a, 34b One and preferably both of modules 12, 14 compnse diagnostic logic that verifies the lntegnty of the respective memoπes 18, 28. This is accomplished by wπting a known bit pattern or value to each location and reading the value so stored to insure a match. Compliance with the aforementioned IEC and DIN standards requires that each location within memoπes 18, 28 be checked once, approximately every 15 seconds The specific testing pattern, timing, etc , vanes in accord with standard. To avoid losing valid data during testing, the diagnostic logic records the contents of each memory location, e.g., to a register of the associated processor, pπor to testing that location. The recorded value is rewntten to the respective location, preferably, immediately after it has been tested. Diagnostic testing of the memoπes can be performed by separate logic within (or outside) each of the modules 12, 14. In the illustrated embodiment, it is exercised by the respective processors 16, 26 This is indicated by blocks 36, 38 in Figure 1. Memoπes 18, 28 respond in the conventional manner to applied signals to store and retπeve data. Thus, for example, memory 18 responds to control signals applied via bus 40 to store data applied via that same bus. Memory 28 likewise, and by way of further example, responds to control signals applied via bus 42 to store data applied via that same bus. In normal operation, buses 40, 42 are coupled to processors 16, 26, respectively, and more generally to the other components of the respective modules 12, 14 To this end, the illustrated embodiment employs switches 44, 46, each having a first operational mode that couples the buses 40, 42 (and, therefore, the memoπes 18, 28) to the processors 16, 26, respectively, and more generally to buses 48, 50, respectively, internal to each module. In this latter regard, it will be appreciated that the components 16 and 20 - 24 of module 12 may share a common bus (e.g., bus 48) and, likewise, that components, 26 and 29 - 32 share a common bus (e.g., bus 50). With its switch 44 in its first mode, the memory 18 responds to control signals applied via bus 48 to store and retπeve data as dictated by elements 16 and/or 20 - 24. Similarly, with switch 46 in its first mode, memory 28 responds to control signals applied via bus 50 to store and retπeve data as dictated by elements 26 and/or 29 - 32. Switches 44, 46 each have a second operational mode that couple buses 40, 42 (and, therefore, memoπes 18, 28) to processors 26, 16, respectively, and more generally to buses 50, 48, respectively, of the other module. In this mode, the memory 28 responds to control signals applied via bus 50 to at least store data dictated by elements 26 and 29 - 32. Similarly, memory 18 responds to control signals applied via bus 48 to store data dictated by elements 16 and 20 - 34. In the illustrated embodiment, read data generated by a memory 18, 28 is ignored when the respective switch is in the second mode. A line 52 connects switches 44, 46 to one another, thereby, enabling the transfer of control and data signals between the modules 12, 14. Those skilled in the art will appreciate that each switch 44, 46 can be connected directly to the bus 50, 48, respectively, of the other module 14, 12, respectively, rather than to the other switch 46, 44, respectively. In the illustrated embodiment, line 52 comprises a dedicated parallel bus having equal width to the memory buses 48, 50. In other embodiments, it can comprise a bus of differing width from either of memory buses 48, 50 or it can comprise other communications medium, e.g., a serial bus, network, or otherwise. Indeed, line 52 and line 34 can be coextensive, i.e., insofar as they represent the same communications medium. In such other embodiments, switches 44, 46 are equipped with suitable interface circuitry to permit the transfer of information with line 52. Such interface circuitry can include mapping logic for converting addresses in one address space (e.g., the memory address space of module 12) to that of another address space (e.g., the memory address space of module 14). Alternatively, such interface circuitry can include logic providing symbolic name or other identifier conversion, e.g., in embodiments where the modules 12, 14 use line 52 to transfer information pertaining to selected memory objects, data structures or other items. During normal operation of the illustrated embodiment, switches 44, 46 operate in their first respective modes. A switch 44, 46 is placed in its second operational mode when its respective memory 18, 28 requires updating from the memory 28, 18 of the other module. The second operational mode is typically used, for example, upon powering-up a module and/or following an error. In the illustrated embodiment, that mode is preferably used only temporarily, i.e., for a period long enough for the diagnostic logic of the other module to sweep through its respective memory. In alternate embodiments, either of the switches can be configured to The mode of switches 44, 46 is determined by control signals X_IN applied by the processors 16, 26, or other logic within (or outside) modules 12, 14. In the illustrated embodiment, a processor, e.g., 26, applies an X_IN signal (and more precisely takes the X_IN signal high) to its respective switch 46 in order to place that switch in the second mode. The other processor, e.g., 16, must concurrently apply an X_ENA signal (and, more precisely, take the X_ENA signal high) to its respective switch 14 in order to permit data to be transferred from its internal bus, e.g., bus 48, to the inter-switch line 52. Those skilled in the art will appreciate that, in other embodiments the X_IN and X_ENA signals may be used individually or in combination with other signals and signal sources. Likewise, a single switch may be employed for all transfers. Thus, for example, switch 44 can be configured to transfer to module 14, over line 52, all signaling on memory buses 48, 50, respectively, pertaining to selected portions of memory (e.g., duplicated memory regions) including duplicated bits, bytes, words, longwords, records, arrays, matrices, structs, objects, data structures or other items or regions. Switches 44, 46 comprise any hardware or software logic capable of providing coupling between the memory buses of the respective modules. In the illustrated embodiment, it provides for fast, low-power, low-noise switching over a parallel bus, directly connecting each of the conductors in the memories 18, 28 to the conductors in each of the memory buses 48, 50 to which they may be coupled. Such a switch can comprise field effect transistors (FETs) and, particularly, arrays of such switches, though other semiconductor and nonsemiconductor devices may be used instead or in addition. In alternate embodiments, the switches comprise interface logic (and, optionally, mapping logic) for transferring shared data and corresponding addresses, symbolic names, or other identifiers Figure 2 depicts a method of operating the modules 12, 14 to effect updating of the memory 28 of the latter from memory 18 of the former. Figure 3 illustrates operation of the modules as a consequence of execution of such a method. In step 60, processing section 12 (e.g., Module A) engages in normal processing, i.e., with its switch 44 in its first operational mode. In step 62, processing section 14 (e.g., Module B) powers up or otherwise enters a state in which its memory 28 requires updating. See also, Figure 3 A, wherein memory 18 is shaded, indicating that it contains valid data. Conversely, memory 28 is unshaded, indicating that it contains invalid data. The double arrow between module 12 and line 34 also indicates that module transfers data with other components of the system (not shown) in the normal manner. No such arrow is shown between module 14 and bus 34. In step 64, processor 26 of module 14 asserts X_IN, placing switch 46 in its second mode and, thereby, coupling memory 28 and bus 42 to bus 48 This has the effect of decoupling memory 28 and bus 42 from bus 50. In order to permit a transfer over line 52, process 16 asserts X_ENA. See step 66. See also Figure 3B, wherein the arrow adjacent line 52 indicates the direction of information transfer of that bus during the update process Processors 16, 26 maintain assertion of X_ENA and X_IN, respectively, for a peπod sufficiently long to enable the diagnostic element 26 of module 12 to test all locations of memory 18 This entails, inter alia, reading and rewπαng the contents of each of those locations As a consequence of switch 46 being in its second mode, the rewritten data is stored to corresponding locations in memory 28, as well as to their locations in memory 18 See Figures 3C - 3D, wherein memory 28 is shown as partially, then fully, shaded, depicting its filling with valid data from memory 18. The circular path shown in Figure 3C between processor 16 and memory 18 depicts the memory testing cycle exercised by element 26. A sequence for testing all locations of memory 18 is shown in steps 68 - 72. This includes marking a current location in memory 18, reading the data contained at that location and temporaπly storing it (e.g , in a register or another memory location), testing the location (e g., by wπting a known bit pattern to the location and veπfymg that it is properly stored), wnting the temporaπly stored value back to the location, incrementing the location count and testing the next location This process is repeated until the initial current location is subject to retesting At this time, module 12 wakes module 14 See step 74. In the illustrated embodiment, this is accomplished by having module 12 can call a routine, which causes its stack to be pushed and its register contents to be wπtten to memones 18 and 28. In step 76, module 12 deasserts X_ENA, thereby, disabling further transfers over line 52 Module 14 likewise deasserts X_IN. See step 78 Module 12 then signals an interrupt, causing both modules 12, 14 to execute identical interrupt handling routines, which pop the stacks of the respective processors 16, 26 and place them in identical contexts, i.e., using data and status information wπtten to the respective memoπes 18, 28 during the aforementioned push. The processors 16, 26 thereafter resume normal operation in idendcal states. See Figures 3D - 3E, wherein arrows between module 14 and line 34 mdicate that the module is in slave mode (Figure 3D), at least listening to that bus and, subsequently, master mode (Figure 3E), where it dπves data to the bus. Those skilled in the art will, of course, appreciate that other sequences for testing memory can be used Likewise, module 14 need not rely on a wakeup from module 12 to begin normal operation and can instead rely, by way of non-limiting example, on a self-timed wait peπod. Moreover, the modules 12, 14 need not achieve identical state pπor to resumption of operation by module 14 Descnbed above are methods and apparatus meeting the desired objects. Those skilled in the art will appreciate that the illustrated embodiment is merely an example of the invention and that other embodiments making modifications thereto may fall within the scope of the invention, of which I claim:

Claims: 1. A control system compπsing a first module compπsing a memory and ώagnostic logic that is coupled to the memory, the diagnostic logic testing at least selected locations in the memory and, in connection with such testing, reading data from the memory and wπting it back to the memory, a second module coupled to the first module such that data wπtten back by the diagnostic logic to the first memory is transferred to the second module, as well as to the first memory. 2. A control system according to claim 1, compnsing logic that converts any of an address, symbolic name or other identifier associated with data transferred between the modules. 3. A control system according to claim 1, wherein the diagnostic logic peπodically tests the selected locations and, in connection therewith, peπodically reads data from each of those locations and wπtes the data back to those locations. 4 A control system according to claim 1, wherein each of the first and second modules form at least part of any of a workstation, field controller, field device, smart field device, or other functionality for any of industπal, manufacturing, service, environmental, or process control. 5 A control system accordmg to claim 1 , wherein the first and second modules are coupled by any of a bus, network or other communications medium. 6. A control system compπsing a first module and a second module coupled by any of a bus, network and other communications medium (collectively, "communications medium"), the first module compπsing a first men lory, diagnostic logic coupled to the first memory that reads data from at least selected locations the-ein and that writes that data back to those locations, switching logic for transmitting to the second module via the communications medium at least selected data written back by the diagnostic logic to the first memory. 7. A control system according to claim 6, comprising logic that converts any of an address, symbolic name or other identifier associated with data transferred between the modules. 8. A control system according to claim 7, wherein the switching logic transfers any of bits, bytes, words, longwords, records, arrays, matrices, structs, objects, data structures or other items or portions of memory between the first module and the second module. 9. A control system according to claim 8, wherein the second module includes a second memory that stores data transmitted from the from first module via the communications medium. 10. A control system according to claim 6, wherein the diagnostic logic periodically reads data from each of the selected locations in the first memory and writes the data back to those locations. 1 1. A control system according to claim 10, wherein the diagnostic logic tests each of the selected locations subsequent to reading data from them and prior to writing data back to them. A control system according to claim 6, wherein each of the first and second modules form at least part of any of a workstation, field controller, field device, smart field device, or other functionality for any of lndustπal, manufacturing, service, environmental, or process control A control system compπsing a first module and a second module, each forming at least part of any of a workstation, field controller, field device, smart field device, or other functionality for any of lndustπal, manufacturing, service, environmental, or process control, the first module compπsing a first memory and diagnostic logic coupled to the first memory that peπodically reads data from at least selected locations therein, tests those locations, and writes the read data back to those locations, switching logic coupled to the first and second modules, the switching logic transmitting to the second module at least selected data wπtten back by the diagnostic logic to the first memory, mapping logic that converts any of an address, symbolic name or other identifier associated with data transferred between the modules A control system according to claim 13, wherein the switching logic compπses any of a bus, network and other communications medium (collectively, "communications medium") A control system according to claim 13, wherein the switching logic transfers any of bits, bytes, words, longwords, records, arrays, matπces, structs, objects, data structures or other items or portions of memory between the first module and the second module A control system according to claim 15, wherein the second module includes a second memory that stores data transmitted from the from module via the communications medium. A control system compπsing a first module and a second module, each forming at least part of any of a workstation, field controller, field device, smart field device, or other functionality for any of industrial, manufacturing, service, environmental, or process control, the first module compnsing a first memory element that is normally coupled to a first bus and that stores data in accord with commands received over that bus, the second module compπsing a second memory element that is normally coupled to a second bus and that stores data in accord with commands received over that bus, diagnostic logic, coupled to at least the fist bus, that issues commands causing data in at least selected storage locations in the first memory element to be peπodically re-wπtten to those storage locations via the first bus, switching logic coupled to the first and second modules, the switching logic transmitting to the second module at least selected data on the first bus A control system according to claim 17, wherein the switching logic compnses any of a bus, network and other communications medium. 19. A control system according to claim 17, comprising logic that converts any of an address, symbolic name or other identifier associated with data transferred between the modules. 20. A control system according to claim 17, wherein the switching logic transfers any of bits, bytes, words, longwords, records, arrays, matrices, structs, objects, data structures or other items or portions of memory between the first module and the second module. 21. A control system according to claim 17, wherein the switching logic has a memory update mode that selectively couples the second memory element to the first bus and decouples the second memory element from the second bus during a period in which the diagnostic logic is causing data in the selected storage locations in the first memory element to be re-written to those storage locations. 22. A method of operating a control system, comprising testing at least selected locations in a memory of a first module and, in connection with such testing, reading data from the selected locations and writing the data back to those locations, transferring to a second module the data written back to the selected locations of the memory. 23. A method according to claim 22, including the step of converting any of an address, symbolic name or other identifier associated with data transferred between the modules. 24. A method of operating a control system according to claim 22, wherein the testing step includes periodically reading data from each of at least selected locations in the first memory and writing the data back to those locations. 25. A method of oper lting a control system according to claim 24, wherein the testing step includes reading c ata from each of the selected locations, testing those locations, and writing the data back to those locations. 26. A method of operating a control system according to claim 25, wherein each of the first and second modules form at least part of any of a workstation, field controller, field device, smart field device, or other functionality for any of industrial, manufacturing, service, environmental, or process control. 27. A method of operating a control system according to claim 26, comprising the step of transferring data between the first and second modules via any of a bus, network or other communications medium. 28. A method of operating a control system, comprising testing at least selected locations in a memory of a first module and, in connection with such testing, reading data from the selected locations and writing the data back to those locations, actuating switching logic that transfers, over any of a bus, network and other communications medium (collectively, "communications medium"), to a second module at least the data written back to the selected locations of the memory. 29. A method according to claim 28, including the step of converting any of an address, symbolic name or other identifier associated with data transferred between the modules. 30. A method of operating a control system according to claim 28, wherein the actuating step results in transferring, via the switching logic, any of bits, bytes, words, longwords, records, arrays, matrices, structs, objects, data structures or other items or portions of memory between the first module and the second module. A method of operating a control system according to claim 30, compπsmg storing in a second memory in the second module data transmitted from the from first module via the communications medium. A method of operating a control system accordmg to claim 28, compπsmg the step of penodically executing the testing step, m connection therewith, reading data from each of the selected locations in the first memory and wπting that data back to those locations A method of operating a control system according to claim 32, wherein the testing step including testing each of the selected locations subsequent to reading data from them and pπor to wπting data back to them A method of operatmg a control system accordmg to claim 28, wherein each of the first and second modules form at least part of any of a workstation, field controller, field device, smart field device, or other functionality for any of industπal, manufactunng, service, environmental, or process control A method of operating a control system, compπsing testing at least selected locations in a memory of a first module and, in connection with such testmg, reading data from the selected locations and wnting the data back to those locations, the first module forming at least part of any of a workstation, field controller, field device, smart field device, or other functionality for any of industπal, manufactunng, service, environmental, or process control, actuating switching logic that transfers, over any of a bus, network and other communications medium (collectively, "communications medium"), to a second module at least the data written back to the selected locations of the memory, the second module forming at least part of any of a workstation, field controller, field device, smart field device, or other functionality for any of industπal, manufactunng, service, environmental, or process control, A method of operating a control system accordmg to claim 35, compπsmg transferring data between the first and second modules over any of a bus, network and other communications medium. A method of operating a control system accordmg to claim 36, wherem the actuating step mcludes transfemng, via the switching logic, any of bits, bytes, words, longwords, records, arrays, matπces, structs, objects, data structures or other items or portions of memory between the first module and the second module A method of operating a control system accordmg to claim 37, compπsmg storing in a second memory, in the second module, data transmitted via the switching logic A control device, compnsmg a first memory element that is normally coupled to a first bus and that stores data in accord with commands received over that bus, a second memory element that is normally coupled to a second bus and that stores data m accord with commands received over that bus, a switching element that is coupled to the first and second memory elements and to the first and second buses, the switching element having a mode that temporanly couples the first memory element to the second bus, while decouplmg the first memory element from the first bus The control device of claim 39, compnsmg logic coupled to at least the second bus that issues commands causmg data in at least selected storage locations in the second memory element to be re-wntten to those storage locations The control device of claim 39, compnsmg logic coupled to at least the second bus that issues commands causmg data m at least selected storage locations m the second memory element to be penodically re-wntten to those storage locations The control device of any of claims 40 and41 , wherem the switching element couples the first memory element to the second bus for a peπod sufficient to ensure that substantially all of the selected storage locations m the second memory element are re-wπtten The control device of claim 42, wherem the switching element compπses an FET switch The control device of claim 42, wherem the switching element compπses an FET switch array The control device of claim 44, wherem each element of the FET switch array selectively couples conductors m the second bus to respective conductors of the first memory element A control device, compnsmg a first memory element that responds to applied commands to store applied data, a second memory element that responds to applied commands to store applied data, first and second buses, a first switching element having a first sw :ching mode mat couples the first memory element to the first bus, and a second witching mode that couples the first memory element to the second bus, a second switching element having a first switching mode that couples the second memory element to the second bus, a second switching mode that couples the second memory element to the first bus, logic, coupled to the first and second switching elements, that normally places those element in their respective first modes and that temporarily places one of them in its second mode. 47. The control device of claim 46, wherein at least one of the switching elements comprises an FET switch. 48. The control device of claim 46, wherein at least one of the switching elements comprises an FET switch array. 49. The control device of claim 48, wherein each element of the FET switch array couples conductors in the first and second buses to respective conductors of a respective one of the memory elements. 50. A control device, comprising: a first memory element that is normally coupled to a first bus and that stores data in accord with commands received over that bus, a second memory element that is normally coupled to a second bus and that stores data in accord with commands received over that bus, first memory test logic coupled to at least the second bus, the first memory test logic issuing commands causmg data m at least selected storage locations m the second memory element to be penodically re-wntten to those storage locations, a first switchmg element having a memory update mode that selectively couples the first memory element to the second bus and decouples the first memory element from the first bus, during a penod in which the first memory test logic is causmg data m the selected storage locations m the second memory element to be re-wntten to those storage locations. A control device accordmg to claim 50, compπsmg second memory test logic coupled to at least the first bus, the second memory test logic issumg commands causmg data m at least selected storage locations in the first memory element to be penodically re-wntten to those storage locations, a second switchmg element havmg a memory update mode that selectively couples the second memory element to the first bus and decouples the second memory element from the second bus, during a peπod in which the second memory test logic is causing data m the selected storage locations in the first memory element to be re-wntten to those storage locations A control device accordmg to claim 51 , wherein the first and second switchmg elements are not concurrentlv in their respective memory update modes The control device of claim 50, wherem at least one of the switchmg elements compπses an FET switch The control device of claim 50, wherem at least one of the switchmg elements compnses an FET switch array 55. The control device of claim 54, wherein each element of the FET switch array couples conductors in the first and second buses to respective conductors of a respective one of the memory elements. 56. A control device, comprising: a first module and a second module operating with at least loose coupling, the first module comprising a first processor that is coupled to a first bus, a first memory element that stores data in accord with commands received over a bus to which it is coupled, the first processor having a memory test mode wherein it issues issuing commands causing data in at least selected storage locations in the first memory element to be periodically re-written to those storage locations, the second module comprising a second processor that is coupled to a second memory element by a second bus, a second memory element that stores data in accord with commands received over a bus to which it is coupled, a switching element that is coupled to the first and second buses and the second memory element, the switching element having a conventional operation mode that couples the second bus to the second memory element, and that has a memory update mode that couples the first bus to the second memory element, logic that changes the first switchmg element from the conventional operation mode to the memory update during a penod m which the first processor is in the memory test mode A control device, compπsmg a first module and a second module operating with at least loose coupling, the first module compπsmg a first processor that is coupled to a first bus, a first memory element that stores data m accord with commands received over a bus to which it is coupled, the second module compπsmg a second processor that is coupled to a second bus, a second memory element that stores data m accord with commands received over a bus to which it is coupled, the first and second processor each having a memory test mode wherein they issue commands causmg data in at least selected storage locations in the respective mfrnory element to be penodically re-wπtten to those storage locations, a first switchmg element that is coupled to the first and second buses and the second memory element, the switchmg element havmg a conventional operation mode that couples the second bus to the second memory element, and that has a memory update mode that couples the first bus to the second memory element, a second switchin ι element that is coupled to the second and first buses and the first memory element, the switching element having a conventional operation mode that couples the first bus to the first memory element, and that has a memory update mode that couples the second bus to the first memory element, logic that changes a selected one of the first and second switching elements from the conventional operation mode to the memory update during a period in which the second and first processors, respectively, is in the memory test mode. 58. The control device of any of claims 56 and57, wherein at least one of the switching elements comprises an FET switch array. 59. The control device of claim 58, wherein each element of the FET switch array couples conductors in the first and second buses to respective conductors of a respective one of the memory elements. 60. A method of operating a control device, comprising the steps of: storing data in a first memory element in accord with commands received over a first bus, storing data in a second memory element in accord with commands received over a second bus, temporarily coupling both the first memory element and the second memory element to the second bus so that both memory elements store data in accord with commands received over the second bus. 61. The method of claim 60, comprising the step of issuing commands on the second bus that cause data in at least selected storage locations in the second memory element to be re-written to those storage locations. 62. The method of claim 60, comprising the step of issuing commands on at least the second bus that cause data in at least selected storage locations in the second memory element to be periodically re-written to those storage locations. 63. The method of any of claims 61 and62, comprising the step of coupling both the first and second memory elements to the second bus for a period sufficient to ensure that substantially all of the selected storage locations in the second memory element are re-written. 64. The method of claim 63, comprising the step of coupling the first memory element to the second bus with an FET switch. 65. The method of claim 63, comprising the step of coupling the first memory element to the second bus with an FET switch array. 66. The method of claim 65, comprising the step of coupling conductors in the second buses to respective conductors of the first memory element with respective elements of the FET switch array. 67. A method of operating a control device, comprising the steps of: storing data in a first memory element and a second memory element in accord with commands applied to each of those memory elements, normally placing a first switching element in a first switching mode that couples the first memory element to a first bus, normally placing a second switching element in a first switching mode that couples the second memory element to a second bus, temporarily placing either of the first switching element and the second switching element in a second switching mode, the second switching mode of the first switching element coupling the first memory element to the second bus, and the second switching element of the second switching element coupling the second memory element to the second bus. 68. The method of claim 67, wherein at least one of the switching elements comprises an FET switch array. 69. A method of operating a control device, comprising the steps of: storing data in a first memory element in accord with commands that are normally received over a first bus, storing data in a second memory element in accord with commands that are normally received over a second bus, issuing commands on the second bus causing data in at least selected storage locations in the second memory element to be periodically re-written to those storage locations, selectively coupling both the first memory element and the second memory element to the second bus and concurrently decoupling the first memory element from the first bus during a period in which the commands are issued on the second bus causing data to be re-written. 70. A method of operating a control device according to claim 69, comprising the steps of issuing commands on the first bus causing data in at least selected storage locations in the first memory element to be periodically re-written to those storage locations, in heu of selectively coupling both the first memory element and the second memory element to the second bus, selectively coupling both the first memory element and the second memory element to the first bus and concurrently decoupling the second memory element from the second bus during a period in which the commands are issued on the first bus causing data to be re-written. The method of claim 70, wherein each element of the FET switch array couples conductors in the first and second buses to respective conductors of a respective one of the memory elements.

Inventors: BOURDIN CHRISTAIN, CUMMINGS GENE, GALE ALAN, BOURDIN, CHRISTAIN, CUMMINGS, GENE, GALE, ALAN
Applicants: FOXBORO CO, THE FOXBORO COMPANY
Application year: 2001
Main classification: G11C29
IPC codes: G05B19