The present invention relates generally to controllers for industrial processes and in particular to a human-machine interface for such a controller using a Web browser program.
Industrial controllers are special purpose computers used for the control of industrial processes and the like. While executing a stored control program, they read inputs from the controlled process and, per the logic of the control program, provide outputs to the controlled process.
Industrial controllers differ from conventional computers in two major respects. First, the architecture of the industrial controller allows it to be easily reconfigured to meet the demands of the particular process being controlled. Normally, the industrial logic controller is in a modular form, and the user selects different modules to be assembled together in a rack and linked together on a backplane in the rack. Varying numbers of inputs and outputs are accommodated with input/output (I/O) modules that may also fit in the rack or in a remote rack connected to the first rack over a control network.
The adaptability of the industrial controller to the controlled process is also enabled by custom written programs executed on the industrial controller, both for the control of the industrial process and to provide human machine interfaces (HMIs), the latter which often depicts a graphic representation of all or part of the process animated to show its current operating state.
Industrial controllers also differ from conventional computers in that they must provide highly reliable and predictable operation. To achieve this end, communications between the industrial controller and I/O are carefully regulated, for example, by being subject to maximum response times, and monitored for errors.
At times, it can be desirable to monitor or control an industrial process from a site that is remote from the industrial controller and the process itself. Such remote operations are well known, for example, using dedicated phone lines and proprietary communication protocols between the industrial controller and a remote HMI. With the development of the Internet and the World Wide Web, dedicated phone lines may be replaced with Internet-based communications between a remote program and a Web server communicating with or incorporated as part of the industrial controller. The promise of the Web is that any Internet connected computer can become a remote terminal for an industrial controller.
Widespread use of Internet based remote operation of industrial controllers is hampered by the need to carry specialized software for the remote computer allowing it to communicate with the industrial controller. Programs implementing, for example, complex graphical remote human-machine interfaces, can be so large as to be cumbersome to transport and load onto the remote machine. Software maintenance of many such remote programs, each of which may be customized to a particular industrial controller, is extremely difficult.
The present invention provides a method for performing complex remote operations with an industrial controller, from potentially any browser-enabled computer, anywhere in the world, over the Internet. To make this practical, the remote program is reduced to an applet that may be quickly downloaded to the remote computer. The applet implements an interface that allows it to call upon a large number of software objects held in the Web server associated with the industrial controller. The applet may discover, construct and use these objects, for example, in creating a complex graphical HMI, while maintaining a small footprint in the remote computer. A persistence feature allows the instantiated objects to be saved on the Web server for the next time the applet connects.
Specifically, the present invention provides an industrial control system interface that has a first interface program executing on a remote computer to provide an interface to an industrial controller. A second interface program executes on a Web server communicating with the remote computer over the Internet and further communicating with an industrial control system controlling an industrial process through input and output data communicated with the industrial process. The first and second interface programs execute to provide a protocol so that the first interface program may discover and instance software objects related to the input and output data and stored on the Web server.
Thus it is one object of the invention to provide the development of powerful remote interfaces to an industrial controller that may be customized to the controlled process, but that may also be rapidly developed using pre-established software objects appropriate to the particular industrial controller.
The protocol provides for the communication of instructions between the first interface program and the second interface program using the SOAP protocol. Multiple instructions may be transmitted in a single SOAP protocol message.
Thus it is another object of the invention to provide a communications protocol that enjoys complete Web compatibility. The SOAP protocol allows custom instructions to be easily and efficiently passed through a standard Web server to an underlying industrial control application.
The applet may use the Java language.
Thus it is another object of the invention to provide a remote operation program that can be run in virtually every browser-enabled computer regardless of architecture or operating system. A Java applet may execute on any computer that can implement a Java Virtual Machine, such as is incorporated into the leading browser programs.
The protocol may provide for at least one of: (a) a discovery instruction to be transmitted from the first interface program that causes the second interface program to provide a list of characteristics of the software objects, (b) a constructor instruction creating an instance of a software object on the Web server, (c) a set property instruction setting a property of a software object on the Web server, (d) an invocation instruction for an invocation of a method of a software object on the Web server, (e) an event subscription instruction causing the receipt by the first interface program of event messages from software object on the Web server, and at least one persistence instruction preserving an instance of a software object on the Web server during a cessation of a communication session on the Internet between the remote computer and the Web server.
Thus it is another object of the invention to provide persistence to the objects used in the remote interface so as to provide a practical rapid interface from the remote computer.
The invention may include the steps of: (a) connecting the remote computer via a Web browser program to a first Web page providing the first interface program, (b) reading the first interface program into the remote computer and executing it at the remote computer, and (c) connecting the Web browser program to the Web server communicating with the industrial control system.
Thus it is one object of the invention to allow any browser-enabled computer with access to the Internet to provide an interface to an industrial control system without the need for the user to carry a copy of the remote interface program. It is another object of the invention to allow modification of the remote interface program to be easily distributed to many remote users even among different industrial controllers. The remote interface program can be uploaded for all users from one or a limited number of sites each time it is used.
The foregoing objects and advantages may not apply to all embodiments of the invention and are not intended to define the scope of the invention, for which purpose claims are provided. In the following description, reference is made to the accompanying drawings, which form a part hereof, and in which there is shown by way of illustration, a preferred embodiment of the invention. Such embodiment also does not define the scope of the invention and reference must be made therefore to the claims for this purpose.
Referring now to
Referring also to
The remote computer 10 may be a desktop machine as depicted or a laptop, palmtop or other browser enabled computing device.
The remote computer 10 may communicate over Internet connection 12, being a standard phone line or wireless link or other functionally equivalent medium, to the Internet 20 through which communications can be established with Web server 26 (shown only in
Referring specifically to
Generally, the object oriented instructions are passed by the server software 60 to a parser 62 forming part of the present invention, which forwards the object oriented instructions to the server-side HMI program 37 (as will be described) which effects basic object manipulations including instantiation of new objects and invocation of object methods and transmission of object events.
Generally, the parser 62 reads the name of the object oriented instructions contained within the encapsulation of a SOAP envelope 35 and passes it to one of a number of object interface programs 36 making up the server-side HMI program 37. The SOAP envelope may contain multiple instructions and the call arrangement of the instructions can be sequential or nested (allowing the return of one call to be used as the context for another), or combination of both.
The particular object interface program 36 receiving the instruction is determined according to the instruction name and standard language parsing techniques well known in the art. Generally, the object oriented instructions will fall into the categories of object discovery, object persistence, object constructors, and object access, each indicated by a separate application program. More generally, the object-oriented instructions refer to and operate upon the objects 38 according to well-known object oriented techniques. Generally the object interface program 36 are associated with a universal resource indicator (URI) 39 and thus define an endpoint.
The objects 38 created and manipulated by the object interface programs 36, per the object oriented instructions received from the remote computer 10, are linked through a communications program 64 with the industrial controller 14, so that the objects 38 can be used as a path for reading and writing the inputs and outputs 39 of the industrial process 41. In this respect, the objects 39 serve to encapsulate input and output data, however other objects 38 not directly related to the data, for example, graphics objects having arbitrary inputs, are also contemplated.
Referring to
In response to this connection, a Web page 24 corresponding to the URL is served by the Web server 16. In a preferred embodiment of the invention, the Web page 24 directs the browser 50 on remote computer 10 through the Internet 20 to a second Web page 28 on Web server 26 having a different URL from that of Web page 24. This redirection is indicated by dotted arrow 25 in
Web page 28 contains an applet program 30 such as may be written in the Java language promulgated by Sun Microsystems of Palo Alto, Calif., well known in the art. The applet program 30, according to standard Web protocols, is loaded into the browser 50 of the remote computer 10 to be executed under the browser 50 as indicted by process block 32 of
Referring now to
The object 38′ also includes a method 68 invoking code internal to the object 38′ for toggling the output state property in this case that is changing the state from ON to OFF or from OFF to ON depending on its previous state.
The output object 38 may also provide for events being signals provided by the object 38′ under certain conditions, in this case, a state change event 70.
In a preferred embodiment, each input and output 39 of the industrial controller 14 will have an I/O object 38 assigned to it; however, other abstract objects 38 may also be created. As will be described, these abstract objects 38 may be constructed from the remote computer 10 and may have the properties of persistence, that is, remaining even after the remote computer 10 has logged off.
Referring now to
As will be appreciated to those of ordinary skill in the art, the number of I/O objects 38 and the number and type of other abstract 38 (such as the error object 38c) will vary according to controlled process 41 and the desired HMI. The objects 38 may include not only logical objects as shown but also graphic display objects such as meters and buttons that may appear on the screen 44 of the remote computer to assist in communicating information about the industrial process 41.
For example, referring now to
Through the use of the object paradigm, a centrally distributed applet program 30 may provide for the ability to construct a variety of HMI's for different industrial processes 41 invoking the objects 38 as necessary to implement certain features of the HMI through the interface of the Internet. The objects 38 thus allow the applet to be small and for the applet developer to avoid the need to write functions already provided by the objects. By providing for persistence of the constructed objects at the server side, complete flexibility of remote computer location and type is still preserved, making it possible to call up a particular HMI for an arbitrary industrial controller 14 from any browser enabled remote computer 10 anywhere in the world.
The ability to create a desired HMI through the applet program 30 for an arbitrary industrial controller 14 requires that the I/O objects 38 and other standard abstract objects 38 be discoverable remotely. Accordingly, the present invention provides a special set of object oriented instructions that allow for discovery of the objects 38 at a particular Web server 16 along with their properties, methods, events and other characteristics as follows”.
The discovery instructions do not change with changes in the industrial process 41 (for example I/O) or even in upgrades of the applet and thus can be standardized at each Web server 16. On the other hand, the values returned by the discovery instructions change depending both on the industrial process 41 and its control, principally in the form of what objects 38 are available, allowing the precise configuration of the HMI to vary considerably under identical applet programs 30. The implementation of the object discover instructions is performed by the DISCOVER object interface programs 36 which reviews a table holding object definition as is created for the I/O objects during configuration of the industrial controller 14 and for abstract objects by the HMI program designers.
The flexibility of the HMI using the applet program requires persistence of the objects generated (so that the objects called by the HMI do not need to be re-instantiated for each session) so the present invention also provides a set of persistence instructions that provide for persistence of an object created by a remote user even after the user has logged off.
The Object persistence instructions are implements by the PERSISTENCE object interface program 36 which saves and loads the necessary instantiation data from a non volatile memory portion forming the persistent storage area 42 and which records the file name according to well known file storage techniques.
The present invention contemplates a complete customization of the HMI by the remote user and thus provides for the construction of objects necessary to create that interface according to standard object oriented techniques. In this regard, two object instantiation instructions are provided as follows:
The object instantiation instructions are implemented by the CONSTRUCTOR object interface program 36 using well-known object construction techniques.
The final set of object access instructions provide access to the properties, methods and events of the object so that they may be read or written to as far as their properties or having their methods invoked or being notified upon events in a subscription process.
The access object instructions are executed by an ACCESS object interface program 36 using object access techniques known in the art of object-oriented programming. The management of subscriptions to events is handled by notification handler 81 being part of the server side HMI program which accepts messages denoting events from enables subscriptions into an event queue and processes messages to the remote computers accordingly.
The objects may in this manner send messages to the applet program over the Internet, which provide part of an effective application programmer's interface or API.
Referring now to
The applet program 30 as indicated by process block 85 then encapsulates the object-oriented instruction in SOAP protocol for transmission through the browser 50 according to standard techniques used in browser operating system interaction. The browser 50 as indicated by process block 87 transmits this SOAP envelope 35 to the URL of the Web server 16 where it is received as indicated by process block 89 and the SOAP encapsulation removed by the server software 60.
The underlying object oriented instructions are passed to the parser 62 as indicated by process block 90 and then passed to the server-side HMI program 37 for processing as has been described.
It is specifically intended that the present invention not be limited to the embodiments and illustrations contained herein, but that modified forms of those embodiments including portions of the embodiments and combinations of elements of different embodiments also be included as come within the scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5546584 | Lundin et al. | Aug 1996 | A |
5848415 | Guck | Dec 1998 | A |
6061603 | Papadopoulos et al. | May 2000 | A |
6070196 | Mullen, Jr. | May 2000 | A |
6201996 | Crater et al. | Mar 2001 | B1 |
6356529 | Zarom | Mar 2002 | B1 |
6549937 | Auerbach et al. | Apr 2003 | B1 |
6591272 | Williams | Jul 2003 | B1 |
20010011341 | Hayes, Jr. et al. | Aug 2001 | A1 |
20020067370 | Forney et al. | Jun 2002 | A1 |
20030105974 | Griffin et al. | Jun 2003 | A1 |
20030163513 | Schaeck et al. | Aug 2003 | A1 |
20040034799 | Mikami | Feb 2004 | A1 |
Number | Date | Country |
---|---|---|
1 193 948 | Apr 2002 | EP |
Number | Date | Country | |
---|---|---|---|
20030051074 A1 | Mar 2003 | US |