Source: http://www.google.com/patents/US20020120921?dq=5,838,906
Timestamp: 2015-08-28 23:25:50
Document Index: 207655840

Matched Legal Cases: ['art 9030', 'art 9032', 'art 9030', 'art 9038', 'art 9038', 'art 9038', 'art 9038', 'art 9038', 'art 9032', 'art 9068', 'art 9068', 'art 9068', 'art 9068', 'art 9068']

Patent US20020120921 - Simulation method and apparatus for use in enterprise controls - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inAdvanced Patent SearchPatentsA method, apparatus and data construct set for generating simulation data structures which can be used by a modeling system to interface between a PLC and a movie module, the construct set encapsulating logic and at least a sub-set of simulation information for a particular resource wherein the sub-set...http://www.google.com/patents/US20020120921?utm_source=gb-gplus-sharePatent US20020120921 - Simulation method and apparatus for use in enterprise controlsAdvanced Patent SearchPublication numberUS20020120921 A1Publication typeApplicationApplication numberUS 09/409,797Publication dateAug 29, 2002Filing dateSep 30, 1999Priority dateMay 8, 1998Also published asUS6161051, US6618856Publication number09409797, 409797, US 2002/0120921 A1, US 2002/120921 A1, US 20020120921 A1, US 20020120921A1, US 2002120921 A1, US 2002120921A1, US-A1-20020120921, US-A1-2002120921, US2002/0120921A1, US2002/120921A1, US20020120921 A1, US20020120921A1, US2002120921 A1, US2002120921A1InventorsJames D. Coburn, Josiah Hoskins, Ruven E. BrooksOriginal AssigneeJames D. Coburn, Josiah Hoskins, Ruven E. BrooksExport CitationBiBTeX, EndNote, RefManReferenced by (75), Classifications (11), Legal Events (4) External Links: USPTO, USPTO Assignment, EspacenetSimulation method and apparatus for use in enterprise controls
US 20020120921 A1Abstract
A method, apparatus and data construct set for generating simulation data structures which can be used by a modeling system to interface between a PLC and a movie module, the construct set encapsulating logic and at least a sub-set of simulation information for a particular resource wherein the sub-set includes simulation information which is independent of circumstantial characteristics corresponding to the resource, the method including importing the simulation information from the data constructs and populating the data structures. Images(104) Claims(26)
What is claimed is: 1. A method to be used with a simulator and a controller, the controller for running execution code to provide output signals which, when linked to resources, cause the resources to cycle through requested activities, the simulator for receiving controller output signals and, in response thereto, generating motion pictures of resources as the resources cycle through requested activities, the simulator using data structures which model the resources to determine which motion pictures to generate, the method for generating execution code and data structures for use by the controller and the simulator, respectively, and comprising the steps of: for each resource, encapsulating resource information including resource logic in a control assembly (CA); instantiating at least one instance of at least one CA; compiling instantiated CA instance resource logic to generate execution code; gleaning simulation information from the instantiated CA instances; and using the gleaned simulation information to generate a simulation data structure for the resources corresponding to the instantiated CA instances. 2. The method of claim 1 further including the step of providing the execution code and the data structures to the controller and the simulator, respectively. 3. The method of claim 1 wherein the step of encapsulating also includes encapsulating simulation information corresponding to the resources in corresponding CAS and wherein the step of gleaning includes retrieving the simulation information. 4. The method of claim 3 wherein the controller is a programmable logic controller which provides I/O combination output signals, the simulator is a movie module which displays video clips, the encapsulated simulation information includes I/O combinations correlated with specific video clips in a table and the step of gleaning includes accessing the table and retrieving the correlated combination/clip information. 5. The method of claim 4 wherein the controller also accepts feedback signals, the encapsulated simulation information further includes I/O feedback combinations correlated with specific simulation events in a feedback table and the step of gleaning includes accessing the feedback table and retrieving the correlated feedback combination/simulation event information. 6. The method of claim 1 wherein the gleaned information includes a first simulation information set and the method further includes the step of, for each of at least a subset of the CAS, encapsulating a second simulation information set in a data structure template and, wherein the step of using the gleaned information includes the step of combining the first and second simulation information sets for each instantiated CA to generate a separate data structure for each instantiated CA. 7. The method of claim 6 wherein a separate resource set corresponds to each CA, operation of each separate resource is dependent on both universal characteristics and circumstantial characteristics, universal characteristics being characteristics which are identical for all resources of the specific type and circumstantial characteristics being characteristics which may vary between resources wherein the resources are of the same type and, wherein the first simulation information set includes universal characteristics and the second simulation information set includes circumstantial characteristics. 8. The method of claim 6 wherein resource operation during activities is dependent on resource environment and each second simulation information set models a resource environment. 9. The method of claim 6 wherein resource operation during activities is dependent on resource characteristics and each second simulation information set models resource characteristics. 10. The method of claim 6 further including the step of, prior to compiling, sequencing requested activities and, wherein, resource operation during activities is dependent on prior activities and each second simulation information set includes information indicating prior activities and modeling the effects of prior activities on resource operation. 11. The method of claim 1 wherein the step of instantiating includes indicating specific characteristics about the resource corresponding to the CA instance. 12. The method of claim 11 wherein the step of indicating specific characteristics includes the step of selecting a subset of resources, the step of compiling includes compiling execution code for the subset and the step of gleaning includes gleaning information for the subset. 13. A control assembly (CA) set to be used with a compiler, a simulator and a controller, the controller for running execution code to provide output signals which, when linked to resources, cause the resources to cycle through requested activities, the simulator for receiving controller output signals and, in response thereto, generating motion pictures of resources as the resources cycle through the requested activities, the simulator using data structures which model the resources to determine which motion pictures to generate, the compiler for compiling resource information to generate execution code and data structures, the CA set including a separate information construct type for each resource, each CA type for encapsulating information required to generate execution code and at least a subset of the information required to generate a data structure for simulating a corresponding resource, the CA set comprising: a plurality of CAS, each CA including: a logic specification which specifies logic corresponding to the resources associated with the CA; and a simulation specification which specifies simulation information corresponding to the resources associated with the CA. 14. The set of claim 13 also for use with an editor and wherein each logic specification includes logic characteristics, logic characteristics corresponding to at least a subset of CAS are parameterizable using the editor and wherein each CA further includes a recording means for recording parameterization. 15. The set of claim 14 wherein the recording means is a plurality of flag boxes. 16. The set of claim 13 wherein a separate resource set corresponds to each CA, operation of a resource set corresponding to a specific CA type is dependent on both universal characteristics and circumstantial characteristics, universal characteristics being characteristics which are identical for all CAS of the specific type and circumstantial characteristics being characteristics which may vary from resource set to resource set and, wherein, the simulation specification specifies a characteristic subset of the universal and circumstantial characteristics. 17. The set of claim 16 wherein the characteristic subset includes the universal characteristics. 18. The set of claim 13 wherein the controller is a programmable logic controller which generates I/O combination output signals, the simulator is a movie module which generates video clips and each simulation specification correlates video clips with I/O output combinations. 19. The set of claim 18 wherein the controller also accepts feedback signals and each simulation specification further includes I/O feedback combinations correlated with specific simulation events in a feedback table. 20. An apparatus to be used with a system, the system including a simulator, a control assembly (CA) set, a controller and a specifier, the controller for running execution code to provide output signals which, when linked to resources, cause the resources to cycle through requested activities, the simulator for receiving controller output signals and, in response thereto, generating motion pictures of resources as the resources cycle through requested activities, the simulator using data structures which model the resources to determine which motion pictures to generate, a CA being a data construct which encapsulates logic information for a corresponding resource, the CA set including a separate CA for each resource supported by the system, the editor for instantiating at least one instance of at least one CA, the apparatus for generating execution code and data structures for use by the controller and the simulator, respectively, and comprising: a processor for executing a pulse sequenced program to perform the steps of: compiling instantiated CA instance resource logic to generate execution code; gleaning simulation information from the instantiated CA instances; and using the gleaned simulation information to generate a simulation data structure for the resources corresponding to the instantiated CA instances. 21. The apparatus of claim 20 wherein the processor executes the pulse sequenced program to further perform the step of providing the execution code and the data structures to the controller and the simulator, respectively. 22. The apparatus of claim 20 wherein each CA also encapsulates simulation information corresponding to the CA resources and wherein the processor gleans by retrieving the simulation information. 23. The apparatus of claim 22 wherein the controller is a programmable logic controller which provides I/O combination output signals, the simulator is a movie module which displays video clips, the encapsulated simulation information includes I/O combinations correlated with specific video clips in a table and wherein the processor gleans by accessing the table and retrieving the correlated combination/clip information. 24. The apparatus of claim 23 wherein the controller also accepts feedback signals, the encapsulated simulation information further includes I/O feedback combinations correlated with specific simulation events in a feedback table and the processor gleans by accessing the feedback table and retrieving the correlated feedback combination/simulation event information. 25. The apparatus of claim 20 wherein the gleaned information includes a first simulation information set and at least a second simulation information set is accessible to the processor and the processor performs the step of using the gleaned information by combining the first and second simulation information sets for each instantiated CA to generate a separate data structure for each instantiated CA. 26. The apparatus of claim 25 wherein a separate resource set corresponds to each CA, operation of each separate resource is dependent on both universal characteristics and circumstantial characteristics, universal characteristics being characteristics which are identical for all resources of a specific type and circumstantial characteristics being characteristics which may vary between resources wherein the resources are of the same type and, wherein, the first simulation information set includes universal characteristics and the second simulation information set includes circumstantial characteristics.
COPYRIGHT NOTIFICATION [0001] Portions of this patent application contain materials that are subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document, or the patent disclosure, as it appears in the Patent and Trademark Office. CROSS-REFERENCE TO RELATED APPLICATIONS [0002] Not applicable. STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT [0003] Not applicable. BACKGROUND OF THE INVENTION [0004] This invention generally relates to improvements in computer systems, and more particularly, to system software for managing the design, simulation, implementation and maintenance of a manufacturing process. [0005] A visit to virtually any modern manufacturing facility in the world leaves room for little doubt that assembly and machining lines have become an integral part of the manufacturing process. Robots, computers, programmable logic controllers, mills, drills, stamps, clamps, sensors, transfer bars, assemblers, etc., are more numerous than people in most modern manufacturing facilities. This is because almost every industry has recognized that use of automated assembly and machining lines to form and assemble product components and assemblies reduces manufacturing time, reduces product costs and increases product quality. Hereinafter, automated assembly and machining will be referred to collectively as automated manufacturing. [0006] Unfortunately, while automated manufacturing has a large number of advantages, such manufacturing also has a number of shortcomings. In particular, the process (hereinafter “the development process”) of designing, constructing and debugging a manufacturing process has a large number of shortcomings. To understand the shortcomings of the development process, it is helpful to consider an exemplary development process. To this end, an exemplary development process will be described in the context of developing a manufacturing line for producing a basic automobile door frame assembly (i.e. the door without the window, window motors, activation buttons and other trim components). [0007] To this end, initially a body engineer designs a door assembly based on experience of parts, structural knowledge and welding information. To facilitate the door frame design process a body engineer typically uses a standard computer aided design (CAD) package (e.g. CATIA, Pro-Engineer, etc.). Using such a package the body engineer can change frame dimensions, component thicknesses, rivet numbers, angles, the shapes of curved surfaces and so on. [0008] A. The Development Process [0009] From beginning to end, including the skills of a body engineer, the development process required to design, build and debug an automated manufacturing line involves no less than four separate engineering disciplines, each of which has a different set of required engineering skills. The three disciplines in addition to body engineering include process engineering, mechanical engineering, controls engineering and manufacturing engineering. [0010] Once the door frame assembly has been designed, the frame design information is given to a process engineer. The process engineer designs a process which will be required to manufacture the door frame assembly. To this end, the process engineer translates management numbers for finished door frame assemblies into a high-level process of actions and resources based on acquired experience. When specifying the high-level process the process engineer specifies required manufacturing tools (e.g. robots, clamps, workcells, etc.). [0011] This tool defining process, like the door frame design process, has been streamlined by use of computer aided manufacturing (CAM) software packages which enable a process engineer to virtually specify different mechanical tool types and tool configurations including clamps, robots, mills, drills, assemblers, etc. which can be used to actually manufacture the door frame assembly. Sometimes a tool library will be provided in a CAM package which includes commonly used mechanical tools, the mechanical tools selectable for reuse when required. Where a required tool is not provided in a library, the CAM package and or CAD package can be used to design the required mechanical tool for use in the door frame manufacturing process and for storage in the library for subsequent use if desired. [0012] In addition to specifying the mechanical tools, the process engineer may also specify mechanical tool movements required during the manufacturing process. For example, for a clamp, the process engineer may specify an open position and a closed position and thereby may define a range of movements therebetween. This ability to specify tool actions allows a process engineer to build a model of a mechanical tool in software such that the model has both static and kinematic characteristics. The virtual tool can then interact with other parts in an automated virtual manufacturing process in the time dimension. [0013] Moreover, the process engineer also specifies mechanical tool timing and sequencing via either a bar chart timing diagram, a flow chart or some other suitable sequence specifying tool. This sequencing information indicates the sequence of tool movements during the automated manufacturing process. Furthermore, the process engineer specifies resources and goals to drive the manufacturing process and may attempt to generate a cost justification for the frame assembly manufacturing process. [0014] Hereinafter, the term “mechanical resources” will be used to refer generally to the manufacturing tools which are specified by a process engineer and the specified tool movements will be referred to as “behavior”. In addition the information as a whole provided by the process engineer will be referred to as “process information”. [0015] Next a control engineer receives the process information and, based on experience, uses the process information to select control mechanisms and determines how to configure the mechanisms for controlling the mechanical resources. The control system includes at least one PLC (i.e. a controller), sensors and actuators and electrical lines and hydraulic tubing for linking the PLC to the actuators and sensors. The actuators and sensors are control mechanisms. [0016] The actuators are eventually linked to the mechanical resources for motivating the mechanical resources in a manner consistent with the process information. Sensors are eventually linked to mechanical resources or are positioned adjacent mechanical resources and indicate an instantaneous condition (e.g. the position of a resource, the temperature of a liquid, the position of a work item—the upper left corner of a door frame, etc.) in the manufacturing process. [0017] In addition, the control engineer has to integrate the mechanical sequencing information, causal relationships, a Human Machine Interface (HMI), I/O tables and safety and diagnostic information into the control system design. To aid in the process of selecting and configuring control devices to control the mechanical resources and to provide a blue print for subsequent assembly of the control system, the control engineer also generates a control system schematic with representations of each control device and electrical and hydraulic links between devices and the PLC. Hereinafter the information provided by the control engineer will be referred to as “controls information”. [0018] Next, a manufacturing engineer receives the controls information and the process information, uses the process information to construct the line via specified mechanical resources, uses the controls information to construct the control system and links the control system to the mechanical resources. [0019] After the line is completely developed, the control engineer further generates execution code to execute on the PLCs to implement the automated manufacturing processes. Then a control engineer performs tests on line tools to identify execution code bugs in the system design. For example, the control engineer may check to determine if a robot arm will crash into a work item on a transfer bar during a specified tooling process or if a sensor is operating properly to detect the presence of a clamp during a clamp extending movement. While an engineer other than the control engineer may be able to debug specific systems, in most cases the control engineer is required for the debugging process. This is because any change in the system may ripple through other parts of the control process which are not intuitive and which may only be known to the control engineer. In most cases many bugs show up during this debugging process and therefore this step in the automated manufacturing process is extremely tedious. This is particularly true in automated manufacturing which requires complex control systems. [0020] Hereinafter, the separate sub-processes of the development process which are performed by the separate engineers will be referred to as “process phases”. [0021] B. Development Process Shortcomings [0022] The above described development process has a large number of shortcomings. First, the development process is extremely time consuming. In fact, the typical time required for designing, building, testing and reworking a simple manufacturing line is often months and the time required for a relatively complex line often takes years of man hours. In many industries the import of time is exacerbated by competitive product cycles where getting a new product to market before a competitor is crucial to a companies competitive posture. For example, in the automotive industry fresh styling is extremely important to entice product turnover. [0023] Second, while some of the development process phases have been streamlined using design software (e.g. CAD and CAM are used to design a door frame assembly and the mechanical tools required to construct the frame assembly), other process phases are not streamlined. This is particularly true of the PLC logic programming process. [0024] While the industry is starting to employ various programming languages, most industrial PLCs are still programmed in Ladder Logic (LL) where instructions are represented graphically by “contacts” and “coils” of virtual relays connected and arranged in ladder-like rungs across power rails. LL, with its input contacts and output coils, reflects the emphasis in industrial control on the processing of large amounts of input and output data. [0025] LL also reflects the fact that most industrial control is “real time”; that is, an ideal industrial controller behaves as if it were actually composed of multiple relays connected in parallel rungs to provide outputs in essentially instantaneous response to changing inputs. Present industrial PLCs do not, in fact, employ separate parallel relay-like structures, but instead simulate the parallel operation of the relays by means of a conventional Harvard or Von Neumann-type computer processor which executes instructions one at a time, sequentially. The practical appearance of parallel operation is obtained by employing extremely fast processors in the execution of the sequential control program. [0026] As each rung is executed, inputs represented by the contacts are read from memory (as obtained from inputs from the controlled process or the previous evaluation of coils of other rungs). These inputs are evaluated according to the logic reflected in the connection of the contacts into one or more branches within the rungs. Contacts in series across a rung represent boolean AND logic whereas contacts in different branches and thus in parallel across a rung represent boolean OR logic. [0027] Typically a single output coil at the end of each rung is set or reset. Based on the evaluation of that rung, this setting or resetting is reflected in the writing to memory of a bit (which ultimately becomes an output to the industrial process or to another LL rung). [0028] Once a given rung is evaluated the next rung is evaluated and so forth. In the simplest form of LL programming there are no jumps, i.e. all rungs are evaluated in a cycle or “scan” through the rungs. This is in contrast to conventional computer programming where branch and jump instructions cause later instructions or groups of instructions to be skipped, depending on the outcome of a test associated with those branch or jump instructions. [0029] While LL is well suited for controlling industrial processes like those in the automotive industry, LL programming is not an intuitive process and, therefore, requires highly skilled programmers. Where hundreds of machine tool movements must be precisely synchronized to provide a machining process, programming in LL is extremely time-consuming. The time and relative skill associated with LL programming together account for an appreciable percentage of overall costs associated with a control system. [0030] Industry members have made several attempts to streamline the logic programming process. One way to streamline any type of programming is to provide predefined language modules, expressed in a language such as LL, which can be used repetitively each time a specific function is required. Because of the similar types of tools and movements associated with different mechanical tools, industrial control would appear to be an ideal industry for such language modules. [0031] The predefined logic module approach works quite well for certain applications, like small parts-material handling or simple machining. The reason for this is that the LL required for these applications tends to be very simple. In small parts material handling applications the I/O count is low and the interfaces between modules are minimal. In fact, the mechanisms are often independent units, decoupled from neighboring mechanisms by part buffers such that no signals are required to be exchanged between modules. These “loosely coupled” systems lend themselves to “cut and paste” programming solutions. [0032] Unfortunately the predefined, fixed logic module approach does not work well for other applications, for example metal-removing applications. There are several reasons for this. First, there can be considerable variation in how components, such as sensors and actuators, combine to produce even simple mechanisms. Second, processes like metal removing normally require tightly controlled interaction between many individual mechanisms. Exchanging signals called interlocks between the control logic modules of the individual mechanisms control the interaction. The application of specific interlocks depends on knowledge of the process and the overall control strategy, information not generally needed or knowable when the control logic for each mechanism is defined. [0033] For example, a drill is a typical metal-removing tool used in the automotive industry. In this example an ideal drill is mounted on a carriage that rides along a rail between two separate limiting positions on a linear axis, an advanced position and a returned position. Two limit switches, referred to herein as returned and advanced LSs, are positioned below the carriage and, when tripped, signal that the drill is in the returned and advanced positions, respectively. Two separate dogs (i.e. trigger extensions), an advanced dog and a returned dog, extend downwardly from the bottom of the carriage to trip the LSs when the advanced and returned positions are reached, respectively. In the ideal case, both LSs may be assumed to be wired in the same “normally opened” manner, so that electrically speaking they are open when released and closed when triggered. In this ideal case, where the physical characteristics of the switches are limited, a single LL logic rung can determine when the drill is in the returned position and another rung can determine when the drill is in the advanced position. [0034] Unfortunately, in reality, there are electrically two types of LSs, one LS type being wired normally opened and the other type wired normally closed. Furthermore, any LS can be mechanically installed in a tripped-when-activated configuration, or a released-when-activated configuration. All combinations of these types are used for various types of applications. Thus, application requirements may demand control logic capable of handling any configuration of LS types. [0035] Simple mathematics demonstrates that with two different electrical types of LSs and two mechanical configurations, there are sixteen possible configurations of a two-position linear slide. Consider the language modules required to implement position logic for all these configurations. To accommodate all sixteen-switch configurations, there could be sixteen different language modules, each containing fixed LL logic, and each named for the case it could handle. In this case, there would be duplicate logic under different names. Alternatively, four unique language modules could be provided, but then the user would have difficulty identifying which of the sixteen physical configurations that the four modules could handle. [0036] Clearly, even for a simple drill mounted on a two position linear slide, application variables make it difficult to provide a workable library of fixed language modules. Adding more switches to the linear slide only increases, to an unmanageable level, the number of language modules required in the library. [0037] Moreover, the contents of a complete language module for a drill must also consider other variables. These variables include, for example, the number and type of actuators required; the type of spindle, if any; whether or not a bushing plate is required; what type of conveyor is used; whether or not the drill will include an operator panel to enable local control. If an operator panel is included, what type of controls (i.e. buttons, switches and indicator lights) are required, just to name a few. Each tool variable increases the required number of unique LL modules by more than a factor of two, which makes it difficult at best to provide an LL library module for each possible drill configuration. [0038] Taking into account the large number of different yet possible machine-line tools, each tool having its own set of variables, the task of providing an all-encompassing library of fixed language modules becomes impractical. Even if such a library could be fashioned, the task of choosing the correct module to control a given tool would probably be more difficult than programming the required LL logic from scratch. [0039] For these reasons, although attempts have been made at providing comprehensive libraries of fixed language modules, none has proven particularly successful and much LL programming is done from scratch. [0040] Third, the process of generating schematic control diagrams is extremely labor intensive and thus time consuming. This is because most schematic control diagrams have to be constructed by hand linking electrical and hydraulic lines from one control mechanism to another, from devices to a PLC representation, linking control devices to mechanical tools and so on. [0041] To reduce the time required to generate control system schematics, most control engineers now use one or more commercially available CAD systems specifically designed for generating schematic designs. These CAD systems enable an engineer to select standard representations for specific control mechanisms and enable relatively quick electrical and hydraulic linking representations to be generated. Nevertheless, these CAD systems can result in erroneous connection specification as a control engineer makes the decisions about how to link control mechanisms. This is particularly true in the case of a large control system where only a small portion of the entire control system can be viewed on a work station screen at one time. In this case, the possibility of linking electrical and hydraulic lines incorrectly is exacerbated. Moreover, in complex control systems, while reducing the overall time required to form a control system schematic, the time is still appreciable. [0042] Fourth, the process of generating diagnostic tools is also not streamlined. For example, there may be specific conditions which should not occur during a machining cycle. For instance, where the control mechanisms for a clamp include both extended and retracted limit switches, there should never be an instance when both the extended and retracted switches are triggered. Unlikely or unpredictable conditions are referred to hereinafter as interesting conditions. In current systems, a control engineer should identify the most troubling interesting conditions which should be identified during a machining cycle and provide logic outputs to support indicators of the interesting conditions. [0043] In addition, some systems require actual diagnostic functions to be performed. For example, many times an interesting condition has only one or two possible causes. In these cases, the system may be required to, when the interesting condition occurs, identify the possible causes so that a system operator can locate the cause of the interesting condition and eliminate the cause. Here, the system usually includes a screen for providing an alphanumeric message to the operator. [0044] Moreover, some applications may require a system to attempt to further identify or even eliminate the cause of an interesting condition. In this case, when an interesting condition occurs, the system may check other system I/O to further diagnose the cause of the condition, providing a report to the operator via a system screen. In the alternative, when an interesting condition occurs and there is only one possible cause, the system may attempt to eliminate the condition. For example, where a transfer bar is stuck, the system may be programmed to reverse the transfer bar prior to moving forward again. [0045] Where a system requires diagnostic functions in addition to interesting condition reporting, in addition to identifying interesting conditions, the control engineer has to identify all possible causes of each interesting condition, compose informative instructions for display to an operator indicating the causes of the interesting conditions, provide logic to identify the interesting conditions and, in some cases, provide logic to eliminate the interesting conditions. [0046] In addition to interesting conditions which should not occur, there may also be other interesting conditions which should be reported to a system operator. In these cases diagnostic logic should be provided to identify these other interesting conditions and provide some type of indication. Clearly identifying all interesting conditions and their causes, composing messages for each cause and providing logic to do the same is a complex and time consuming endeavor. [0047] Fifth, the process of specifying HMI design and logic required to support HMI representations is not streamlined. Here the control engineer, while creating the control logic generally, has to weave HMI logic into the system which provides desired PLC input signals (e.g. signals from sensors) and enables control via PLC output signals to control actuators. [0048] Sixth, the process of debugging is not streamlined. As indicated above, an entire mechanical line (including all tools and accompanying control system) has to actually be designed and constructed and PLC execution code has to be generated prior to performing the debugging process. Obviously, once tools have been constructed and execution code has been provided the process of backtracking to modify design is difficult and extremely costly. [0049] Seventh, while the process described above may be manageable for a single door frame assembly, similar processes are required for virtually every separate part of a final product and similar processes are also required to assemble parts into the final product. For example, because a typical automobile requires many thousands of different parts, a development process similar to the process described above must be repeated several thousand times to provide a completed automobile. [0050] In the end, if line throughput is not sufficient parts of the line or even the entire line may have to be modified to increase line throughput. Once again, line modification is expensive as any system change can ripple through the entire control system thereby requiring additional changes. [0051] To streamline the debugging process and facilitate cost justification prior to actually building and testing a manufacturing line, the industry has attempted to debug an automated manufacturing line virtually. In theory, virtual building and simulation enables a designer to modify line design relatively inexpensively when a bug is identified or when the costs associated with a particular line design cannot be justified by an expected throughput. [0052] One virtual simulation solution has been to effectively provide a cartoon or movie illustrating all mechanical tools on a line in three dimensions and to run the manufacturing line in the virtual world to illustrate system operation. One way to accomplish this is to provide a video module which includes a video clip for each separate mechanical tool included on an assembly line. The video module is driven by the mechanical timing diagram such that, when the timing diagram indicates a specific resource movement, the video module plays the video clip associated with the specific resource movement. The video module is capable of running several video clips at a time on different sections of a display screen so that, by arranging the separate video clips on the screen a general picture of a complete manufacturing process can be provided. While this solution is helpful in visualizing a manufacturing process, unfortunately this solution does not illustrate tool control in the real world which will result from actual execution code. [0053] Another virtual simulation solution has been to provide off-line programming for certain tools which is then linked to virtual representations of those tools for simulating actual tool movements. For example, most robots are controlled by specialized controllers which execute controller specific languages (i.e. languages which typically are very different than the PLC language) in such a way that a robot can move a work piece through space along a variety of path profiles. Some companies have developed virtual simulation tools which enable robot programs which are developed off-line and in the controller specific languages to be used to drive virtual representations of the robot and a work piece handled thereby, including robot and work piece translation through virtual space. Importantly, the actual program used to drive the robot in the real world is used to drive the virtual robot in the virtual environment. As described above, the components in the work cell (including the part or part components) already exist in some mechanical CAD environment and are available to these programming tools. With these simulation tools a process engineer can interact with a virtual work cell and verify that his robot program does what he intends the program to do. [0054] In order to truly debug the robot program in a virtual world, the rest of the robot's real world environment must also be simulated such that the environment interacts dynamically with the robot motion. For example, clamps need to open and close, parts need to move into and out of the work cell, humans need to start and stop processes, sensors need to sense part and manufacturing tool locations and so on. [0055] Unfortunately, while the simulation tools described above are used to drive virtual robots with the actual robot programs which will be used in the real world, similar tools have not been developed for simulating the robot environment (e.g. clamps, sensors, actuators, stops and starts, contingencies, HMIs, etc.). Existing tools simulate the robot's environment in the virtual world through a combination of proprietary modeling languages and graphical interfaces which are wholly disconnected from the programs which are used to control the manufacturing tools in the real world. Thus, while the virtual environment is controlled via modeling languages, in the real world these non-robotic components are controlled via a PLC and a control language (e.g. LL). [0056] It should also be noted that, while robots themselves are internally controlled via controller specific languages, ultimately, each robot is linked to other system tools via a PLC which provides commands and receives feedback via a more conventional control language. [0057] To provide pre-construction cost justification, in addition to the virtual simulation tools described above, various systems have been developed for estimating both the costs associated with automated manufacturing lines and groups of related lines and the throughput for specific lines. While these justification system may sometimes fortuitously generate cost data which is close to the actual cost data corresponding to a completed system, in most cases these justification systems provide a ball park figure at best. Unfortunately, while a ball park figure may be acceptable in some industries, in other industries where competition is particularly keen, such ball park figures are not very helpful in strategic financial planning as even a few percent error may require line redesign. [0058] Thus, it should be appreciated that despite industry efforts to streamline the development process, the development process remains extremely complex. The transition from part design to process design to mechanical design and then to controls is a paper activity. Each of these activities separately have their own software tools, and of course, a competent set of engineers. The barriers between the software tools aren't just a matter of bridging different data types. Because the tools used in each phase of the development process evolved through solving their respective user's unique problems, their views of the world are very different, even though they ultimately solve a common problem: how to build a product. [0059] In addition to the system development problems discussed above, failure and interesting condition reporting diagnostics have a number of shortcomings. One important shortcoming is that a system which supports interesting condition or failure reporting typically provides insufficient information to enable a system operator to identify the cause of the failure. This is because system events may be contingent upon the conclusion of many other events and the diagnostics provided typically cannot indicate which of a long string of contingent events causes a failure or an interesting condition to occur. For example, where extension of a clamp is to be monitored and failure reported, if clamp extension is contingent upon 10 previous events, when clamp failure occurs and is reported, which of the 10 previous events failed is not reported and some investigation is required. [0060] In addition, where prescriptive diagnostics are provided, the prescriptive messages (i.e., the text which indicates likely cause of the problem) are only pre-failure hunches as to what the actual cause of failure might be. While based on experience and hence correct much of the time, these hunches may not be correct and hence may lead an operator in the wrong direction to address the failure this wasting system and operator resources. [0061] For example, while the process engineer can specify specific tools and movements required to carry out a process, the process information is in a form which, while providing specifying information to the control engineer, cannot be used directly by control engineers to perform his development tasks. Instead, each time the development process is handed from one engineer to another, the receiving engineer must start by generating his own set of information which is based on the information specified by the previous engineers and, only then can the receiving engineer begin to perform his task of specifying further information for the next engineer down stream. Thus, the development process is broken up into separate pieces despite the fact that common information threads pass through each of the separate phases of the development process. [0062] For at least the aforementioned reasons, it would be advantageous to have a system which would streamline the entire development process including defining an automated manufacturing line, developing execution code to control the manufacturing line tools including tool movements, sequencing, emergency situations, etc., specifying and supporting HMIs for the line, specifying diagnostics for the line, simulating line operation in a virtual environment prior to building the line and using the actual real world control programs to drive a virtual line in the virtual environment, debugging the control programs, and providing schematic diagrams for a complete control system automatically. It would also be advantageous to have a system wherein the common threads of information which are provided by one engineer are sustained throughout the development process and automatically provided in a form which is useable by engineers in subsequent process phases. [0063] Moreover, it would be advantageous to have a diagnostics scheme which could specifically and immediately identify the symptoms which are associated with a failure. BRIEF SUMMARY OF THE INVENTION [0064] It has been recognized that during the development process there are certain common information threads which pass through various development process phases. By studying the information passed from one process phase to the next, inventive tools have been developed which enable one engineer to use information in the form provided by previous engineers to continue the development process without reworking the received information. In this manner, the common threads of information flow continuously through the development process from beginning to end. [0065] It has further been recognized that the control engineering phase is a critical juncture for the common threads of information and, that by providing suitable tools to the control engineer which organize the development information, the entire development process can be streamlined and many advantages result. In effect, the inventive tools operate as a lynchpin which enables a control engineer to easily generate controls information from the process information (i.e. specified mechanical tools, behavior and sequencing) and which also enables controls information to be fed back and combined with the process information to virtually simulate a manufacturing process using the actual execution code which will be used in the real world. [0066] To this end, among other things, the present invention includes a data construct referred to generally as a “control assembly” (CA). It is contemplated that a plurality of different CAS will be provided, a separate CA for each type of mechanical resource which may be specified by a process engineer. Each CA includes several different information types associated with the specific CA. For example, a CA for controlling a specific clamp may include: (1) specification of control mechanisms for controlling the clamp; (2) a schematic diagram of the clamp illustrating clamp control mechanisms and electrical and hydraulic links; (3) logic for controlling the control mechanisms used to in turn control the specific clamp; (4) diagnostic logic for indicating either erroneous conditions which occur, other interesting conditions or status of a process, (5) logic for supporting an HMI associated with the clamp; and (6) simulation specification for simulation purposes. Herein, the term “logic” is used to refer to sequencing rules associated with the control mechanisms corresponding to a specific CA. [0067] As another example, a CA for controlling a robot may include: (1) specification mapping PLC I/O to robot I/O; (2) a schematic diagram referencing the inputs and outputs and electrical and hydraulic links; (3) logic for interfacing to the robot; (4) diagnostic logic for indicating interesting conditions; (5) logic for supporting an HMI associated with the robot; and (6) simulation specification for simulation purposes. The CA is essentially an object in an object oriented system for specifying information which a control engineer must generate for an associated mechanical resource. [0068] By observing the process information, including specified mechanical resources, mechanical resource behavior and mechanical resource sequencing, an engineer can divide the mechanical resources into separate mechanical blocks, each block assigned to a specific instance of a CA. By including each mechanical resource in a mechanical block and assigning a CA for each mechanical block, control information is easily specified for each mechanical resource. [0069] After all CAS have been specified, an inventive compiler is used to compile all of the information in the CAS and to generate several different types of information. To this end, the compiler compiles the schematic diagrams of the separate control devices, linking the devices according to a schematic rule set (SRS) to generate a complete schematic illustrating all line control devices, controllers and electrical and hydraulic links therebetween. [0070] In addition, the compiler uses the logic from each of the CAS to generate execution code for controlling and monitoring the entire manufacturing line. [0071] Moreover, the compiler compiles the HMI logic from each of the CAS into HMI supporting code which enables a suitable HMI. [0072] Furthermore, the compiler automatically compiles diagnostic information from each of the CAS and generates diagnostic code which is interweaved with the control code and which can be used to facilitate diagnostic functions during virtual testing and in real world operation. [0073] In addition to the CA structure and the inventive compiler, the invention further include a CA editor which enable a control engineer to easily link to process information upstream thereby streamlining the processes of generating the controls information by carrying common threads of information from the process information into the controls information. To this end, mechanical resources, their behavior and their sequencing is displayed on a CA editor screen as a mechanical timing diagram with mechanical resources and specific behaviors along a vertical axis and behavior sequencing mapped along a horizontal timing axis. [0074] Using the CA editor, the control engineer identifies specific mechanical resource types on the mechanical timing diagram and selects suitable CAS for controlling each of the mechanical resources or blocks of mechanical resources which can be controlled by a single CA. As a CA is selected, the CA editor automatically creates an instance of the CA and places the CA in a control bar chart. The control bar chart includes CAS and CA behavior along the vertical axis and sequencing of CA behavior along a horizontal time axis. To distinguish between CA behavior and mechanical resource behavior, CA behavior will be referred to hereinafter as CA requests. [0075] In one embodiment, as CA requests are added to the timing diagram, the requests are sequenced in the same timing sequence as associated mechanical resource behavior in the timing diagram. For example, if the first mechanical resource behavior in a process is to close a clamp within a first period, the CA request to extend a piston (i.e. an actuator) to close the clamp is placed in the bar chart during the first period. If the clamp behavior in the timing diagram is to open during a tenth period, the CA request to retract the piston to open the clamp is placed in the bar chart during the tenth period and so on. [0076] After all CAS have been selected and the control bar chart is completely populated, the CA editor enables the control engineer to specify contingencies at the edges of each request in the bar chart. In addition to the CA editor, the invention is meant to be used with an HMI editor and a diagnostics editor, each of which use CA information to configure and specify HMI and diagnostics features, respectively. After all of the sequencing information required to completely control the control system has been provided, an inventive compiler is used to generate execution code as described above. [0077] Moreover, the CA simulation specification can be used to provide at least a subset of data which is required by a simulator for virtually simulating a process via video screens or the like. To this end, a core modeling system (CMS) is a simulator which models all aspects of mechanical resources supported by a system and which are simulatable. For example, when suitably programmed a CMS may model several different mechanical resources including a clamp with position sensors. Clamp operation may have specific characteristics such as reversibility, average stroke speed, velocity limiting factors, a variable stroke speed curve between start and stop, operating characteristics which change as a function of environmental characteristics (e.g. temperature, humidity, etc.) and so on. To model mechanical resources a CMS requires a plurality of data structures, a separate data structure for each simulatable resource in each instantiated CA. Unlike a one-to-one I/O-function paring, advanced data structures reflect real world resource behavior wherein request execution varies as a function of a plurality of different circumstantial characteristics. [0078] A CMS which is equipped with separate data structures for each simulatable resource in each instantiated CA can operate as an interface between a PLC and a movie module to receive PLC I/O combinations and, based thereon, cause the movie module to virtually simulate the mechanical resources. The CMS also provides feedback to the PLC. Behavior characteristics such as simulation speed are simulated by the CMS controlling movie frame speed. [0079] To facilitate data structure specification, the present invention contemplates that information required to form the structures portion thereof may be specified in CA simulation specifications and could be imported by the CMS for simulation purposes. While any sub-set of simulation information required by a CMS may be specified in a CA simulation specification, there is a specific information sub-set which is particularly easy to support and which makes sense to specify within a CA. To this end, the characteristics of a mechanical resource set associated with a specific CA which affect resource operation can be divided into two general categories or first and second simulation information sets including control characteristics and circumstantial characteristics. [0080] On one hand, with respect to control characteristics, from a controls perspective, a sub-set of resource characteristics are fundamental to the specific resource and do not vary as a function of the circumstances related to the resource (i.e., are universal for the specific resource). For example, many hardware vendor's provide clamps including control mechanisms (e.g., valves, cylindicators, etc.) which, although configured using different hardware, perform the same general functions in response to PLC I/O combinations. Thus, each clamp will attempt to extend when a PLC “extend” I/O combination is received and each clamp will attempt to retract when a PLC “retract” I/O combination is received and so on. In this case corresponding I/O-function is independent of hardware configuration. Similarly, in this case, the I/O-function pairings are independent of clamp environment including temperature, humidity, etc. (i.e., despite temperature and humidity, extension is attempted when a specific I/O combination is received). Thus, with respect to similar clamps provided by different vendors, I/O-function pairings are control characteristics which are universal for clamps which would be used to perform the functions required by a specific resource. [0081] On the other hand, circumstantial characteristics include all secondary characteristics which are not control characteristics and which affect request execution. For example, a first manufacturers clamp may have a different closing speed than a second manufacturers clamp. Similarly, a first manufacturers clamp may close at different speeds depending upon temperature and humidity conditions or speed may vary as a function of recent clamp use (e.g., recent closing and opening may result in more rapid closure speed). [0082] In a preferred embodiment the CA simulation specifications include only control characteristics and do not include circumstantial characteristics. The CMS preferably includes a database wherein circumstantial characteristics are stored which can be used to alter simulation events making simulation more realistic. The circumstantial characteristics are stored in simulation data structure templates (DSTs) and, upon export of the CA simulation specification, the control characteristics and circumstantial characteristics are combined to populate data structure fields required for simulation. Thereafter the CMS receives controller output signals and based on those output signals, modeling algorithms within the data structure and other data structure information, causes realistic simulation. [0083] In this manner the CA simulation specification is made relatively general and the CMS facilitates modification of circumstantial characteristics without recompiling CAS. After a data structure is populated, circumstantial characteristics may be modified using a CMS interface to reflect various environmental or resource characteristics and simulation will also reflect such changes to facilitate realistic simulation. [0084] In addition to facilitating circumstantial characteristic modifications, by including only control characteristics in the CA simulation specifications the number of CAS required to support design choices is minimized. In effect circumstantial parameterization is accomplished via the CMS instead of via the CA. [0085] Moreover, dividing characteristics between control and circumstantial characteristics and including control characteristics in the CAS makes sense as the control characteristics can typically be gleaned from other CA information which is specified for other than simulation purposes. For example, where a CA may support anywhere between one and four clamps and a user specifies that a CA will support only two clamps such that a compiler will provide execution code for controlling two clamps, clearly this parameterization will be reflected in simulation such that, during simulation, only two clamp animations are generated. Thus, supported CA devices are specified for control purposes and such specification is also useful for simulation purposes. In effect, the effort required to specify two clamps for execution code purposes can be exploited a second time for generating control characteristics required for simulation. While this example is relatively simple, it should be appreciated that a huge amount of specification required for execution code purposes is exploited in this double-duty fashion thereby appreciably streamlining an otherwise daunting simulation specification process. [0086] In another embodiment, the data required to populate essentially an entire data structure including both control and circumstantial characteristics may be specified within each CA simulation specification. In this case, upon compiling, sub-sets of the required simulation information for each simulatable resource are gleaned from each parameterized CA and are used to populate the data structures. After compiling, the data structure are imported by the CMS and then used for interfacing purposes. Other simulation specification embodiments may include other sub-sets of control and circumstantial characteristics. [0087] In a simplified embodiment of the invention where a one-to-one pairing of PLC I/O and virtual simulation is supported without circumstantial characteristics, the parameterization simulation specification may simply be a PLC I/O mapping table which maps PLC I/O combinations to specific video clips. In this case, after the parameterized specification is compiled, the specification is imported by the CMS and used for interfacing purposes. [0088] The inventive address mapper facilitates mapping of PLC I/O to virtual mechanical resources to cause virtual simulation, identifies mechanical resource conditions (e.g. position, temperature, etc.) which are to be sensed during real world operation and provides inputs to the PLC indicating identified conditions during virtual processing. [0089] In addition to control and circumstantial characteristics, a third type of character referred to as a third entity characteristic is contemplated. Third entity characteristics include characteristics of entities other than mechanical resources which interact with the PLC or which only minimally interact with the PLC and which must be modeled to facilitate realistic simulation. For example, third entities include system operators, a shot pin used to lock two devices together, an E-stop and corresponding hardware and so on. [0090] Thus, the invention provides a system which streamlines the entire development process including defining an automated manufacturing line, developing programs to control the manufacturing mechanical resources including resource movements, sequencing, emergency situations, etc., specifying and supporting HMIs for the line, simulating line operation in a virtual environment prior to building the line and using the actual real world execution code to drive a virtual line in the virtual environment, debugging the control programs, and automatically providing schematic diagrams for a complete control system. [0091] In addition to the inventive aspects described above, in another aspect the invention includes status based diagnostics wherein every event which is to occur during a process is monitored and, when an expected event fails to occur, the failed event is reported. For example, where a clamp extension request is contingent upon the occurrence of ten previous events, when one of the previous events fails, status based diagnostics reports the failed event. In this manner, when a failure occurs, the specific symptoms of the failure are immediately reported and the operator can then surmise the cause of the failure quickly. [0092] Request events are represented in the CAS and therefore status based diagnostics can easily be provided in each CA to minimize the task of programming diagnostics code for each event in a process. For example, where a clamp CA includes extend and retract requests and ten separate events, diagnostics can be provided once for each event in a template CA and, therefore, as CA instances are instantiated (i.e. selected by an operator for control purposes), the status based diagnostics are proliferated throughout the control process. In this manner, the task of providing status based diagnostics which seemed virtually impossible before can easily be accomplished through CA duplication (i.e., instantiation). [0093] These and other objects, advantages and aspects of the invention will become apparent from the following description. In the description, reference is made to the accompanying drawings which form a part hereof, and in which there is shown a preferred embodiment of the invention. Such embodiment does not necessarily represent the full scope of the invention and reference is made therefor, to the claims herein for interpreting the scope of the invention.
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS [0094]FIG. 1A is a block schematic diagram of a computer system for example, a personal computer system in accordance with a preferred embodiment; [0095]FIG. 1B provides a display of ladder logic in accordance with a preferred embodiment; [0096]FIG. 2 illustrates an enterprise control system in accordance with a preferred embodiment; [0097]FIG. 3 illustrates a CA display from an enterprise control database in accordance with a preferred embodiment; [0098]FIG. 4 is a block diagram depicting the logical flow of the enterprise control system in accordance with a preferred embodiment; [0099]FIG. 5A is a block diagram schematic representing a system including a diagnostic engine for diagnosing the behavior of a machine controlled by a discrete event control system in accordance with a preferred embodiment of the present invention; [0100]FIG. 5B is a flow chart representing exemplary steps for defining, updating and selecting the optimum diagnostic rules for the system of FIG. 5a while the diagnostic engine is in the learning mode; [0101]FIG. 5C is a flow chart representing exemplary steps for identifying a malfunction in the behavior of the machine and updating the timing statistics associated with the diagnostic rules while the diagnostic engine of FIG. 5a is in the diagnostic mode; [0102]FIG. 6 illustrates the user display for opening a project in accordance with a preferred embodiment; [0103]FIG. 7 is a Designer Studio window in accordance with a preferred embodiment; [0104]FIG. 8 is a Designer Studio display with CAS completed in accordance with a preferred embodiment; [0105]FIG. 9 is a CA wizard in accordance with a preferred embodiment; [0106]FIG. 10 is a CA wizard name operation in accordance with a preferred embodiment; [0107]FIG. 11 is a CA wizard to select control resources in accordance with a preferred embodiment; [0108]FIG. 12 is a CA wizard to label components associated with the CA in accordance with a preferred embodiment; [0109]FIG. 13 is a CA wizard summary in accordance with a preferred embodiment; [0110]FIG. 14 is a Designer Studio display of a new CA integration in accordance with a preferred embodiment; and [0111]FIG. 15 is a schematic of a pneumatic system of a control environment in accordance with a preferred embodiment; [0112]FIG. 16 illustrates the hierarchical relationship between a machine and an indexer in accordance with a preferred embodiment; [0113]FIG. 17 illustrates a template in accordance with a preferred embodiment; [0114]FIG. 18 illustrates a machine tree in accordance with a preferred embodiment; [0115]FIG. 19 illustrates a master control panel in accordance with a preferred embodiment; [0116]FIG. 20 illustrates the symbolic expression language in accordance with a preferred embodiment; [0117]FIG. 21 illustrates an exemplary rung in accordance with a preferred embodiment; [0118]FIG. 22 illustrates a required full set of conditions in accordance with a preferred embodiment; [0119] FIGS. 23-35 illustrate an exemplary set of templates in accordance with a preferred embodiment; [0120]FIG. 36 is a flow chart of the process by which the user creates the control diagram in accordance with a preferred embodiment; [0121] FIGS. 37-43, represent all of the templates required to completely specify an axis in accordance with a preferred embodiment; [0122]FIG. 44 illustrates a control panel editor in accordance with a preferred embodiment; [0123]FIGS. 45 & 46 illustrate bar chart images in accordance with a preferred embodiment; [0124]FIG. 47 is a contingency screen in accordance with a preferred embodiment; [0125]FIG. 48 is a flowchart detailing the logic associated with compilation in accordance with a preferred embodiment; [0126]FIGS. 49A and 49B are ladder logic displays in accordance with a preferred embodiment; [0127]FIG. 50 illustrates an attributes table in accordance with a preferred embodiment; [0128]FIG. 51 is a ladder logic display in accordance with a preferred embodiment; [0129]FIG. 52 is a flowchart of observed functional processing in accordance with a preferred embodiment; [0130]FIG. 53 is a flowchart of bucket processing in accordance with a preferred embodiment; [0131]FIG. 54 is a splash screen in accordance with a preferred embodiment; [0132]FIG. 55 is the initial display for the Designer Studio in accordance with a preferred embodiment; [0133]FIG. 56 illustrates a menu that is utilized to open a project in accordance with a preferred embodiment; [0134]FIG. 57 illustrates a display menu that is utilized to select an existing project to load in accordance with a preferred embodiment; [0135]FIG. 58 illustrates an Open Project dialog in accordance with a preferred embodiment; [0136]FIG. 59 illustrates a menu display for facilitating an “Add CA” dialog 5900 in accordance with a preferred embodiment; [0137]FIG. 60 illustrates the first menu in an “Add CA” dialog in accordance with a preferred embodiment; [0138] FIGS. 61 to 67 illustrate a user experience with a wizard in accordance with a preferred embodiment; and [0139]FIG. 68 illustrates the processing that occurs when a user presses the finish button in accordance with a preferred embodiment; [0140]FIG. 69 illustrates the selection processing associated with a particular CA in accordance with a preferred embodiment; [0141]FIG. 70 illustrates the processing of a CA in accordance with a preferred embodiment; [0142] FIGS. 71 to 79 provide additional displays in accordance with a preferred embodiment; [0143]FIG. 80 is a block diagram of a CA in accordance with a preferred embodiment; [0144]FIG. 81 is a schematic representation of an exemplary control device for controlling a cylindicator control mechanism; [0145]FIG. 82 is similar to FIG. 81, albeit for a two position valve control mechanism; [0146]FIG. 83 is similar to FIG. 81, albeit for a spring return valve control mechanism; [0147]FIG. 84 is a schematic illustrating the various sections of an exemplary control assembly; [0148]FIG. 85 is a schematic diagram illustrating an exemplary logic specification of FIG. 84; [0149]FIG. 86 is a schematic illustrating an exemplary HMI specification of FIG. 84; [0150]FIG. 87 is a schematic illustrating an exemplary diagnostics specification of FIG. 84; [0151]FIG. 87A is a schematic illustrating an exemplary status based diagnostics specifications; [0152]FIG. 88 is a schematic illustrating an exemplary simulation specification of FIG. 84; [0153]FIG. 89 is an exemplary control bar chart used to sequence control assemblies according to the present invention; [0154]FIG. 90 is a block diagram illustrating various components of a system used to practice the present invention; [0155]FIG. 91 is an exemplary mechanical resource timing diagram; [0156]FIG. 92 is a schematic illustrating an exemplary resource editor window according to the present invention; [0157]FIG. 93 is similar to FIG. 92, albeit illustrating a second editor window; [0158]FIG. 94 is similar to FIG. 92, albeit illustrating yet another editor window; [0159]FIG. 95 is a schematic illustrating an exemplary HMI screen; [0160]FIG. 96 is a schematic similar to FIG. 92, albeit illustrating yet another editor window; [0161]FIG. 97 is a schematic diagram illustrating an HMI editor screen according to the present invention; [0162]FIG. 98 is a schematic illustrating an HMI editor screen for selecting monitorable and controllable I/O; [0163]FIG. 99 is a schematic illustrating a diagnostics editor screen; [0164]FIG. 100 is a schematic diagram illustrating a diagnostics editor screen for selecting diagnostics to be supported by a control system; [0165]FIG. 101 is a schematic diagram of the PLC of FIG. 90; [0166]FIG. 102 is a schematic diagram illustrating an exemplary PLC I/O table; [0167]FIG. 103 is a schematic diagram illustrating an exemplary HMI linking table; [0168]FIG. 104 is a schematic diagram illustrating an exemplary diagnostics linking table; [0169]FIG. 105 is a schematic diagram illustrating the compiler of FIG. 90; [0170]FIG. 106 is a schematic diagram illustrating an exemplary code building table; [0171]FIG. 107 is a schematic diagram illustrating the exemplary PLC I/O table segment of FIG. 106; [0172]FIG. 108 is a schematic diagram similar to FIG. 107 albeit illustrating a different table segment; [0173]FIG. 109 is a block diagram illustrating an exemplary code and PLC I/O compilation method according to the present invention; [0174]FIG. 110 is an exemplary HMI building table; [0175]FIG. 111 is a schematic diagram of a exemplary diagnostics building table; [0176]FIG. 112 is a block diagram of an exemplary method for compiling and HMI linking table and a diagnostics linking table; [0177]FIG. 113 is a schematic diagram of an exemplary schematic building table; [0178]FIG. 114 is a block diagram of an inventive method for compiling a schematic diagram according to the present invention; [0179]FIG. 115 is a schematic diagram of an exemplary simulation building table; [0180]FIG. 116 is a block diagram of a inventive simulation table compiling process; [0181]FIG. 117 is a schematic diagram of the core modeling system of FIG. 90; [0182]FIG. 118 is a schematic diagram of one of the data structures of FIG. 117; [0183]FIG. 119 is a flow chart illustrating an inventive method for combining control characteristics from simulation specifications and circumstantial characteristics to provide instantiated data structure instances; [0184]FIG. 120 is a flow chart illustrating an exemplary simulation method using the data structures of FIG. 117; and [0185]FIG. 121 is a schematic diagram of a third entity data structure according to the present invention.
DETAILED DESCRIPTION OF THE INVENTION [0186] I. Newly Added Specification [0187] While it is contemplated that the inventive editors and database may be implemented in any of several different computer technologies, preferably, the editors are implemented using universal technologies such as JAVA by Sun Microsystems or ActiveX by Microsoft. Also, while it is contemplated that the PLC logic may be implemented in any of several different computer languages, because most PLCs run relay ladder logic (LL) programs, it is preferred that the PLC logic be in the LL language and is described as such hereinafter. [0188] Unless indicated otherwise, identical numbers and legends on different Figures are used to refer to identical system components, signals, constructs and so on. [0189] While the invention includes various interfaces and editors for enabling a system user to specify logic, initially an industrial controls paradigm will be explained which serves as a foundation for the inventive editors, compiler and simulator. This paradigm will make all of the aspects of the present invention more easily understandable. After the industrial controls paradigm is described, a CA editor, an HMI editor and a diagnostics editor are described which use the controls paradigm to specify controls logic. Next, the inventive compiler is described followed by the inventive simulator which uses compiler output to drive a virtual machine line using real world execution code. [0190] A. Industrial Control Paradigm [0191] When performing the controls engineering tasks, a control engineer has to provide many different types of controls information including, among other types: (1) control mechanism specification; (2) logic or execution code to control the control mechanisms; (3) logic or execution code to support diagnostic requirements; (4) logic or execution code to support HMIs; (5) schematic electrical and hydraulic diagrams and so on. Hereinafter, all of the controls information provided at the end of a control engineering process will be referred to generally as “control products.”
[0192] It has been recognized that system control can be divided into a hierarchy of separate control levels, each level including similar control concepts and each higher level including instances of control concepts from the immediately lower level. It has also been recognized that each of the separate control levels lends itself uniquely to specifying one or more types or sub-types of the control information which must be specified during the control engineering process. [0193] The hierarchy consists primarily of four separate control levels which can be used together to specify, virtually construct, simulate and debug a control system for any mechanical process including any type of mechanical resource. The four levels include what will be referred to hereinafter as factory floor input and output signals (i.e. the I/O level), control devices, control assemblies and control sequencing. [0194] 1. Factory Floor I/O [0195] As a general rule, a mechanical resource itself is simply a tool which, although capable of certain movements, cannot cause a movement to occur. To cause mechanical resource movement, one or more control mechanisms have to be linked to the mechanical resource. For example, in the case of a clamp which includes a clamping surface (i.e. the surface which moves toward an opposite surface to close), the control mechanisms may include a cylinder and a two position valve wherein a cylinder piston is linked to the clamp surface and the valve includes both extend and retract solenoids which can be controlled to extend or close the clamp surface or to retract or open the surface, respectively. When the extend solenoid is excited, an armature linked thereto allows high pressure air to force the piston and clamp surface into the extended position. When the retract solenoid is excited, the armature allows air to force the piston and clamp surface into the retracted position. Thus, in this case, two control mechanisms, the cylinder and the valve, are required to move the clamp between the open and closed positions. [0196] Similarly, as a general rule mechanical resources themselves do not generate signals which can be used to determine mechanical resource position for monitoring purposes. Instead, specific control mechanisms have to be provided to facilitate monitoring. To this end, in the case of the clamp above, where it is important to confirm clamp position during a process, the cylinder may be equipped with proximity sensors for sensing the position of the cylinder piston to ensure that the piston is in the retracted and extended positions when required by the process. [0197] To control or manage control mechanisms, control output signals are provided by a PLC to the control mechanisms and, the PLC receives input signals from the control mechanisms indicating current control mechanism and mechanical resource status. For example, an exemplary valve solenoid includes a “hot” terminal and a “common” terminal. To excite a solenoid, for safety purposes it is customary to require that each of the hot and common terminals be excited. Thus, for a two position valve including two solenoids, a PLC must provide four output signals, one hot and one common terminal signal for each of the two separate solenoids. For a two sensor cylindicator (i.e. a cylinder with proximity sensors for the piston inside), no PLC outputs are required but the cylindicator provides two input signals, one indicating an extended piston and the other indicating a retracted piston. [0198] Thus, from the perspective of a control engineer, each of the control mechanisms has the appearance of a proverbial “black box” having specific inputs (i.e. feedback inputs to the PLC) and outputs (Control Signals from the PLC). Control mechanism I/O constitute the factory floor inputs and outputs which make up the lowest or I/O controls level. [0199] 2. The Control Device (Signal Container) [0200] In addition to input and output signals, other control information can be specified for each of the control mechanisms. For instance, given a specific structure, each control mechanism also has specific “normal” or expected states and specific “failure” or unexpected states. For example, for the cylindicator described above, a failure state occurs when both the extended and retracted proximity sensors generate signals (i.e. indicate piston proximity). All other combinations of cylindicator inputs are normal (i.e. both sensors indicating negative or one sensor negative while the other is positive). [0201] Moreover, for each failure state the control information may include a specified activity (e.g. reporting the failure state). For example, where two cylindicator sensors simultaneously indicate proximity of the piston, the activity may include generating a text message for indicating mechanism failure such as “Cylindicator Sensor Failure”. [0202] Furthermore, given a specific structure, each control mechanism can be represented by a standard schematic symbol preferably similar to the symbols used in the industry to represent the specific control mechanism and including connection points for different energy transferring media (e.g. electrical, pneumatic and hydraulic inputs and outputs, water, mechanical linkages, etc.). In this regard part information relating to the specific control mechanism may be included with the schematic symbol. [0203] According to the present invention, all of the control information associated with each control mechanism is encapsulated in a single data construct referred to herein as a “control device” (CD). An exemplary control device includes a device name, a logic section, a schematic section and a diagnostics section. While the exemplary CD's include each of logic, schematic and diagnostics sections, other less complete CD's are contemplated. For example, a CD may not include a schematic section, a diagnostics section or a logic section. [0204] Three separate examples of control devices are provided hereinafter to illustrate some of the concepts described above. The three examples include a cylindicator (see FIG. 81), a two-position valve (see FIG. 82) and a spring return valve (see FIG. 83). It should be understood that the three exemplary control devices described herein are not meant to be exhaustive and that many other control devices are contemplated by the present invention. [0205] In addition to representing real control mechanisms a control device may also represent a “virtual” device such as a robot controller which receives and provides inputs and outputs, respectively, from a PLC to enable control and feedback. [0206] Thus, control devices have both a logic aspect which defines inputs and outputs to and from a controller and a hardware aspect which specifies parts, manufacturers, properties and so on. [0207] Despite the fact that many control devices include more than just a grouping of input and output signals and that other CD's may not include I/O groupings, it is helpful to think of an exemplary control device as a signal container including all of the input signals provided by a control mechanism to a PLC and all of the output signals provided to the control mechanism by the PLC. [0208] a. Cylindicator [0209] Referring to FIG. 81, a cylindicator control device 8500 includes a device name 8502, a logic section 8504, a schematic section 8506 and a diagnostic section 8508. The device name 8502 is chosen such that the name will be recognized by an exemplary control engineer and will be associated with a corresponding control mechanism. Thus, in the present example, the control device 8500 in FIG. 81 is named “cylindicator with two sensors” and corresponds to a cylindicator with two proximity sensors as described above. [0210] Hereinafter, when describing logic in the context of I/O, I/O generating components will be said to be active or excited on one hand or passive on the other hand meaning that the components are either providing energized and providing a true signal on one hand or passive and providing a negative signal, respectively. In the context of a LL coil, an excited coil is associated with a true signal and a coil which is not excited is associated with a false signal. In the context of a LL contact, a closed contact is associated with a true signal and an open context is associated with a false signal. In addition, in I/O tables, condition tables and bar charts which follow, cross hatched boxes indicate active or excited I/O and clear boxes indicate passive I/O. [0211] Logic section 8504 includes an I/O table 8510, a normal conditions table 8512 and a failure conditions table 8514. I/O table 8510 indicates sub-mechanisms of each control mechanism which are actually linked to specific I/O. Thus, the cylindicator includes both the extended proximity sensor 8516 and the retracted proximity sensor 8518 and indicates PLC inputs 8520, 8522 which are provided by sensors 8516 ad 8518, respectively. In the case of a cylindicator there are no outputs (i.e. terminals which receive control signals from a PLC) and therefore none are listed. [0212] Normal conditions table 8512 indicates all possible normal combinations of inputs 8520 and 8522. To this end, table 8512 indicates that when the cylindicator is extended, the extend sensor 8516 generates a positive signal indicating piston proximity and the retract sensor 8518 is negative, when the cylindicator is retracted, the retract sensor 8518 generates a positive signal indicating piston proximity and the extend sensor 8516 is negative and when the cylindicator is between the extended and retracted positions, both of the sensors 8516 and 8518 are negative or passive. [0213] The failure table 8514 indicates all possible failure combinations of inputs 8520 and 8522. To this end, the only possible failure combination is when each of sensors 8516 and 8518 generate positive signals indicating piston proximity (i.e. it is impossible for a piston to be simultaneously extended and retracted). [0214] Referring still to FIG. 81, schematic section 8506 includes a schematic diagram 8507 of the control mechanism associated with control device 8500. In this case, the schematic 8528 is of a cylindicator with two sensors and includes connector nodes. Although not illustrated, other part information may be provided with the schematic (e.g. cost, specific mechanical requirements, etc.) The diagnostics section 8508 includes information indicating rules for identifying I/O conditions which are “interesting conditions” from a diagnostics perspective and indicating activities which should be performed when an interesting condition is identified. To this end, section 8508 includes a diagnostics table 8509 including I/O requirements 8511 and corresponding activities 8513 wherein each I/O requirement 8511 identifies a specific set of interesting conditions (i.e. I/O) and the activity 8513 indicates the activity to be performed when a corresponding I/O requirement occurs. In the case of a cylindicator an interesting condition occurs when both extended and retracted proximity sensors 8516 and 8618 generate active input signals indicating the failure condition 8514. In table 8509 “failure” 8515 is listed as one requirement or interesting condition. The activity associated with failure 8515 is to generate an alphanumeric text phrase “cylindicator sensor failure” 8517. [0215] Other interesting conditions may include normal condition sets which, for some reason (e.g. their order within a sequence), render the normal set diagnostically useful. For example, if a particular sequence is not observable in the real world but is important from a diagnostics perspective, it may be advantageous to provide the end condition set of the sequence as a requirement in table 8509 and include some type of indicating activity in activities column 8513. [0216] Other activities, in addition to reporting, may also include diagnostics based on prior experience. For example, the text message specified in the activity may indicate the likely cause(s) of the interesting condition. Moreover, the text message may also specify a prescription to eliminate the diagnosed cause. [0217] Furthermore, the diagnostic activity 8513 may also be proactive in diagnosing the cause of an interesting condition. To this end, the activity 8513 may specify additional I/O to be checked if a specific interesting condition occurs and, based on the additional I/O, the activity 8513 may select from a list of other diagnostic activity. [0218] Moreover, the diagnostic activity 8513 may be proactive in eliminating an interesting condition. To this end, the activity 8513 may specify output signals which should be modified when a particular interesting condition occurs. For example, in FIG. 81, when a failure condition (e.g. 8514) occurs, in addition providing a text phrase, the activity 8513 may also modify output signals to clamp valves to open the clamps. [0219] In any of these diagnostic cases, the requirements 8511 include a sub-set of specific I/O conditions of the control mechanism and the activities include outputs. The diagnostic outputs are, in the case of a text phrase or other indication, to an HMI and, in the case of proactive diagnostics or I/O modification, to one or more control mechanisms. [0220] b. Two-Position Valve [0221] Referring to FIG. 82, a two-position valve control device 8600 includes a device name 8602, a logic section 8604, a schematic section 8606 and a diagnostic section 8608. The device name 8602 is “two-position valve.” The logic section includes an I/O table 8610 and a normal conditions table 8612. I/O table 8610 indicates sub-mechanisms of each control mechanism which are actually linked to specific inputs and outputs. Thus, table 8610 lists both the valve's extend solenoid 8616 and retract solenoid 8618 and indicates the PLC outputs provided for each of the two solenoids (i.e. outputs 8620 and 8622 to solenoid 8616 and outputs 8621 and 8623 to solenoid 8618. In the case of a two position valve there are no inputs (i.e. PLC feedback signals) and therefore none are listed. [0222] Normal conditions table 8612 indicates all possible normal combinations of outputs 8620 through 8623. To this end, table 8612 indicates that when the outputs to solenoid 8616 are active, the outputs to solenoid 8618 must be passive and vice versa. [0223] Note that there is no failure conditions table for the two-position valve despite the fact that a failure condition could occur. For example, all four outputs 8620 through 8623 could be active. While a failure table could be provided, providing a failure table is a matter of control device designer choice and may depend on the likelihood of a failure occurring, the importance of such a failure occurring and which part of a control system likely causes a failure. For example, in the case of a valve having no inputs and one or more outputs, any failure in outputs would likely be caused by the PLC itself and thus the PLC, not the device being controlled thereby, should determine failure. [0224] The schematic section 8606 includes a schematic diagram 8628 of a two position valve including connector nodes. [0225] The diagnostics section 8708 includes diagnostics table 8604 having requirement and activity columns 8611 and 8613, respectively. In this case, because there are no failure conditions specified for the two position valve, no failure diagnostics are provided. However, the example herein includes diagnostics for another “interesting condition.” In this case, the interesting condition is when the extend solenoid hot and common outputs are both excited and the retract solenoid hot and common outputs are both passive. This condition corresponds to an extend request and extend requirement 8615. When the extend requirement 8615 is met, the prescribed activity 8617 provides a text message “Extend Requested” to an HMI for display. [0226] Although a requirement and an activity are listed in table 8609 for exemplary purposes, hereinafter, to simplify this explanation, it will be assumed that diagnosis table 8609 is empty. [0227] c. Spring Return Valve [0228] A spring return valve is a valve which includes a single solenoid, an armature and a spring. The solenoid, like other solenoids described above, includes both a hot terminal and a common terminal, each of which have to be excited to activate the solenoid. The armature is linked to the solenoid and, when the solenoid is activated, the armature is extended against the force of the spring. When solenoid power is cut off, the spring forces the armature and solenoid back to a steady state position. [0229] Referring to FIG. 83, a spring return valve control device 8700 includes a device name 8702, a logic section 8704, a schematic section 8706 and a diagnostic section 8708. The device name 8702 is “spring return valve.” The logic section includes an I/O table 8710 and a normal conditions table 8712. I/O table 8710 indicates sub-mechanisms of the control mechanism which are linked to specific inputs and outputs. Thus, table 8710 lists the valve's extend solenoid 8716 and indicates the PLC outputs provided to the extend solenoid (i.e. outputs 8720 and 8722). In the case of a spring return valve there are no inputs (i.e. feedback signals to the PLC) and therefore none are listed. [0230] Normal conditions table 8712 indicates all possible normal combinations of outputs 8720 and 8722. To this end, table 8712 indicates that the outputs to solenoid 8716 have to either be both active or both passive. As with the two-position valve there is no failure conditions table for the spring return valve. The schematic section 8706 includes a schematic diagram 8728 of a spring return valve including connection nodes. [0231] The diagnostics section 8708 includes a diagnostics table 8709 including a requirement column and an activity column 8711, 8713, respectively. In this case, because there are no failure conditions specified for the spring return valve, no failure diagnostics are provided. Moreover, no other interesting conditions are specified and therefore table 8709 is left blank. [0232] Thus, a control device is a database construct which includes, but is not limited to, all of the control information about a control mechanism which would be specified during the control engineering phase of a development process. In addition, as will be understood shortly, the control device is a building block from which control assemblies are formed. [0233] 3. The Control Assembly (Control Device Container) [0234] Like the control device, a control assembly (CA) according to the present invention is a data construct which includes control information. However, while a control device includes essentially all of the information which a control engineer specifies with respect to a specific control mechanism (e.g. a cylindicator, a valve, etc.), the CA configuration has been designed to include essentially all of the information which a control engineer specifies with respect to a specific mechanical resource (e.g. a clamp, a robot, etc.) or, in some cases, with respect to a group of mechanical resources (e.g. a plurality of clamps which are synchronous). To this end an exemplary CA operates proverbially as a “device container” for all of the control devices which operate together to control a mechanical resource. [0235] The invention contemplates a plurality of different CAS. For example, a process engineer may have the choice to select any of three different mechanical clamps for clamping a work item in place along a transfer line wherein each of the three clamps requires different control mechanisms to control the clamp. [0236] A first clamp type may require only two control mechanisms including one two-position control valve and a cylinder. The second clamp type may also require only two control devices but the required devices may be different than those required for the first clamp type. For example, the second clamp type may require a two position valve and a cylinder including two proximity sensors (i.e. a cylindicator). The third clamp type, like the second, may require a two-position valve and a cylindicator and, in addition, may also require a redundant spring return valve. In this case, the spring return valve is positioned between the two position valve and the cylinder. When the spring return solenoid is excited, the spring armature extends against the force of the spring and allows high pressure air to force the piston and clamp surface into the closed and extended position and, when solenoid power is cut off, the spring forces the valve into the retracted position allowing the air to force the piston and clamp surface into the open and retracted position. The spring return valve causes the clamp to open if power is cut off from the solenoids. [0237] In this case, a CA library would include three separate clamp CAS, a separate CA for each of the possible clamp types. The information in one CA all corresponds to a single mechanical resource and the control devices within the CA which are required to control the mechanical resource. For instance, in the clamp example above, the CA corresponding to the third clamp type would include only information corresponding to a two-position valve, a spring return valve and a cylindicator. [0238] In addition to the three CAS described above, the invention contemplates a CA library including many more CAS, each CA corresponding to a different set of control devices used to control a specific mechanical resource. For example, there may be ten different CAS corresponding to ten different robot configurations (i.e. mechanical resources), there may be three CAS corresponding to three different pin locator configurations, there may be eight CAS corresponding to eight different slide configurations and so on. a. Exemplary CA Structure In the interest of simplifying this explanation and an explanation of the control paradigm on which the invention rests, an exemplary CA will be described which is specifically designed to include control information for the third clamp type above (i.e. a CA including a two-position valve, a spring return valve and at least one cylindicator). It will be assumed that the exemplary CA can be used to specify control information for anywhere between one and four separate clamps for each CA instance. To this end, it has been recognized that certain control assemblies and corresponding control mechanisms may be capable of controlling more than a single mechanical resource. For example, if air pressure generated by an air source is high enough, air pressure passing through a single valve has enough force to simultaneously move two or more clamps. To minimize system costs, a single valve design, or any design which reduces the number of control mechanisms, is advantageous. While a single valve may be required to move a plurality of clamps, each clamp requires a dedicated cylindicator. Thus, the exemplary CA includes control devices for controlling up to four cylindicator. [0239] In a preferred embodiment a CA is divided into information fields or specifications, a separate specification for each one of the different types of control information. For example, referring to FIG. 84, an exemplary CA 9000 may include, among other information specifications, five control information specifications including (1) logic specification 9002; (2) schematics specification 9004; (3) HMI specification 9006; (4) diagnostic specification 9008; and (5) simulation specification 9300. [0240] In addition, the CA is also provided with a template type indicator 9001. As with the control device names, type indicators 9001 are chosen to reflect the nature of the CA type so that the content of the CA template can be understood by a control engineer essentially from the CA template type identifier 9001. In the present example the type indicator 9001 is “SafeBulkHeadClampSet” indicating that the template type is for controlling a clamp and defines a redundant spring return valve for safety purposes. [0241] In a preferred embodiment of the invention, the CA template includes all controls information required for a specific mechanical resource and which can be used over and over again to specify the information in separate template instances. When a template is accessed for use, the specific template use is referred to as an instance of the CA and the act of using the template is referred to as instantiating an instance of the CA. When a CA is instantiated, the specific CA instance is given a unique name which is then used thereafter to reference the specific CA instance and to identify control system parameters corresponding to the instance. For example, where two identical clamp CAS are required to control different clamps, the first CA instance may be provided the name “1stclamps” and the second CA instance may be provided the name “2nd clamps”. Hereinafter, the exemplary CA 9000 described will be referred to by the name 1stclamps 9003. [0242] Hereinafter, each of the CA specifications is described separately. Initially, each of the exemplary specifications would be generic in the sense that the specification would not be parameterized to reflect encapsulated information about a specific CA instance. The described specifications, however, reflect CA instance parameterized as will be explained in more detail below. [0243] i. Logic Specification [0244] Referring to FIGS. 84 and 85, logic specification 9002 includes I/O tables corresponding to each of the control devices which may possibly be included in the CA. Thus, for a CA including a two-position valve 9421, a spring return valve 9423 and capable of supporting four cylindicators 9425, 9427, 9429 and 9431 (i.e. one cylindicator for each controllable clamp), logic specification 9002 includes I/O tables 8510 a, 8510 b, 8510 c, 8510 d, 8610 and 8710 (see also FIGS. 81-83). For the purpose of this explanation the two-position valve 9421 outputs are referred to as 01, 02, 03 and 04, the spring return valve 9423 outputs are referred to as 05 and 06 and the cylindicator inputs are referred to as 11 through 18. In addition, logic specification 9002 also includes I/O request charts including an extend request chart 9030 and a retract request chart 9032 corresponding to extend and retract requests 9031, 9033, respectively. [0245] Extend chart 9030 includes a sequence section 9034 and a properties section 9036. Properties Section 9036 is explained below. Sequence section 9034 includes a bar chart 9038 including a separate bar for each of the inputs and outputs in the I/O tables 8510 a, 8510 b, 8510 c, 8510 d, 8610 and 8710. Thus, bar chart 9038 includes bars 9040 through 9043 corresponding to I/O table 8610, bars 9044 and 9045 corresponding to I/O table 8710 and bars 9046 and 9047 corresponding to I/O table 8510 and so on. Note that chart 9038 is separated into six sections corresponding to tables 8610 and 8710 for illustrative purposes only and would more likely appear as a single table. [0246] The extend clamp request begins at the left edge 9048 of chart 9038 and bars 9040 through 9047 indicate the I/O combinations during an extend clamp request. Chart 9038 is divided into three separate I/O combinations named “all retracted”, “intermediate” and “all extended”. Initially, referring only to the first cylindicator 9425, at left edge 9048, the retracted proximity input signal (bar 9046) is active indicating that the cylindicator piston is in the retracted position. To extend the piston, at edge 9048, both terminals of the two-position valve extend solenoid and both terminals of the spring return valve extend solenoid are activated (see bars 9040, 9041, 9044 and 9045). For a short time the all retracted conditions persist until the retract proximity sensor no longer senses the cylindicator piston. [0247] During the period when neither the extended nor retracted sensors sense the cylindicator piston, the intermediate conditions exist. During this period, the extend solenoids of each of the two-position and spring-return valves remain excited (see bars 9040, 9041, 9044 and 9045) so that the piston and clamp surface secured thereto continue to move toward the extended position. [0248] Eventually the extended proximity sensor senses the cylindicator piston and generates an active input (see bar 9047) and the all extended conditions occur. During this time and until the extend command subsides, each of the valve extend solenoids remain activated. Similar input conditions occur for cylindicators 9427, 9429 and 9431 during an extend request. [0249] Retract chart 9032 also includes a sequence section 9064 and a properties section 9066. Properties section 9066 is explained below. Sequence section 9064 includes a bar chart 9068 including a separate bar for each of the inputs and outputs in I/O tables 8510 a-8510 d, 8610 and 8710, respectively. Once again, chart 9068 is separated into six sections only for illustrative purposes and would more likely appear as a single table. [0250] The retract clamp request begins at the left edge 9070 of chart 9068 and the bars of chart 9068 indicate I/O combinations during a retract clamp request. Chart 9068 is again divided into three separate I/O sections named “all extended”, “intermediate” and “all retracted”. Initially, referring only to cylindicator 9425, at left edge 9070, the extended proximity input signal is active (see bar 9071) indicating that the cylindicator piston is in the extended position. To retract the piston, at edge 9070, both terminals of the two-position valve retract solenoid (see bars 9073 and 9075) are activated. For a short time the all extended conditions persist until the extend proximity sensor no longer senses the cylindicator piston. [0251] During the period when neither the extended nor retracted sensors sense the cylindicator piston, the intermediate conditions exist. During this period, the retract solenoid of the two-position valve remains excited so that the piston and clamp surface secured thereto continue to move toward the retracted position. [0252] Eventually the retracted proximity sensor senses the cylindicator piston and generates an active input and the all retracted conditions occur. During this time and until the retract command subsides, the two-position valve retract solenoid remains activated. Similar input conditions occur for cylindicators 9427, 9429 and 9431 during an extend request. [0253] It is also contemplated that a resource editor will configure an interface screen which resembles the image illustrated in FIG. 85. It is contemplated that resource editor is useable to parameterize unique CA instances as will be explained in more detail below. [0254] Thus, logic specification 9002 defines I/O combinations during each possible request for a mechanical resource which is associated with the CA. In the case of the exemplary clamp, the requests include extend and retract requests including the sequences of I/O combinations illustrated in FIG. 85. [0255] ii. Schematic Specification [0256] Referring again to FIGS. 84 and 85 and also to FIG. 85A schematic specification 9004 includes a table 8001 including a list 8003 of the control devices in logic section 9002. The list 8003 includes devices which are optional in the CA 9000 as will be explained in more detail below. In the present example optional devices include the spring return valve 9423 and the second through fourth cylindicators 9427 through 9431. [0257] iii. HMI Specification [0258] Referring to FIG. 84, HMI specification 9006 may take any of several different forms. Referring also to FIG. 86, in a preferred embodiment HMI specification 9006 includes an HMI specification table 9460. Consistent with the present example, table 9460 includes information specifying all possible monitorable and controllable I/O for the 1stclamps CA instance. To this end, table 9460 includes a device column 9462, a monitorable I/O column 9464 and a controllable output/request column 9466. Device column 9462 includes a listing of all possible control devices which can be included in a particular assembly. In the present example, possible 1stclamps control devices include two-position valve 9421, spring return valve 9423 and first through fourth cylindicators 9425, 9427, 9429 and 9431, respectively. [0259] I/O column 9464 lists all monitorable I/O corresponding to control devices in column 9462. To this end, all of the outputs corresponding to two position valve 9468 are monitorable and therefore, each of those outputs (i.e. O1, O2, O3, O4) are listed in column 9464 in the row corresponding to valve 9421. Both outputs O5 and O6 of spring return valve 9470 are monitorable and therefore, each of those outputs appears in column 9464. First, cyl