# Patent

## Title
Method for monitoring or installing new program codes in an industrial installation

## Abstract

A method of installing a mobile program code for the control of an industrial automation system with a central computer and a plurality of actors and sensors coupled via a bus system with said central installation computer, has the steps of transmitting the mobile program code from a remote location to the central computer of the industrial automation system, installing and commissioning the mobile program code independently on the industrial automation system, and generating by means of the mobile program code further mobile program codes having a defined task, and transmitting the further mobile program codes at least to said actors and sensors within the industrial automation system.

## Background
FIELD OF THE INVENTION
The invention relates to a method of monitoring an industrial installation or installing new program codes in an industrial installation.
BACKGROUND OF THE INVENTION
It is known, for the purpose of remote monitoring of industrial installations, to evaluate appropriate process logs and log files from the automation systems of the installations. Decisions, for example as to how warning messages are to be reacted to, can therefore be made only after a relatively large time delay, since the evaluation of the information is basically carried out offline. Special problems arise, for example, when installations and evaluation centers are located in different time zones, or where appropriately qualified personnel are not available on a 24 hour basis. It is therefore possible for an evaluation to be carried out only after some amount of delay, and after the log files needed for the evaluation have already been overwritten. In addition, random evaluation, makes it difficult to react to all fault messages, since not all the information is transmitted. For this reason, complete and comprehensive remote monitoring of an industrial installation is possible only to a restricted extent. For industrial installations, particularly installations in the raw materials industry, it is additionally desirable to improve the installation of program codes, in particular control program codes, for the closed-loop and open-loop control of the industrial installation, and any subsystem.
SUMMARY OF THE INVENTION
Accordingly, it is an object of the invention to provide improved monitoring of a large industrial plant, through the use of a mobile program code for the closed-loop or open-loop control of an industrial installation, for example in the raw materials industry. The code is transmitted from an evaluation center or development center to the industrial installation which is installed and commissioned independently.
In a preferred embodiment of the present invention, the installed mobile program code generates further mobile program codes in accordance with a predefined task, with the program codes being transmitted within the industrial installation. A preferred mobile program code is JAVA program code.
In another preferred embodiment of the invention, information is transmitted between the evaluation center or the development center and the industrial installation, via ISDN, satellite or Internet.
In yet a further preferred embodiment, the mobile program code runs on hardware provided for the open-loop or closed-loop control of the industrial installation.
In a further embodiment of the invention, the installed mobile program code for the closed-loop and open-loop control of the industrial installation is designed to monitor the industrial installation. In this case, monitoring of an industrial installation is carried out by means of a mobile program code which monitors the industrial installation automatically for faults or special events. In the event of a fault or a special event, the information needed to evaluate the fault or the special event is transmitted by means of the mobile program code (or a further mobile program code) to an evaluation center separated physically from the industrial installation. Special events are to be understood as including violations of limiting values, trends, or the occurrence of regular print-outs of particular significance. Special events may also be a tolerance deviation of process data (strip profile faults, temperature faults, etc.), or special features in the convergence behavior in the adaptation of models. In this way, faster and more comprehensive evaluation of faults and special events is possible. It is further of particular advantage to carry out the recognition of trends of looming faults by means of the information determined by the mobile program code. This permits, for example, preventative maintenance of an installation.
In a further preferred embodiment of the present invention, the mobile program code forms and dispatches new mobile program code. The new mobile program code monitors parts of the industrial installation automatically for faults or special events. In the event of a fault or a special event, the information needed to evaluate the fault or the special event is transmitted directly to the evaluation center or to another mobile program code for further transmission to the evaluation center.



BRIEF DESCRIPTION OF THE DRAWINGS
The invention is described below in greater detail in connection with the drawing, in which:
FIG. 1 schematically illustrates an industrial installation having a control system and its actuators and sensors.



DETAILED DESCRIPTION OF THE INVENTION
The industrial installation 30 has an industrial Ethernet bus 9, which provides a data connection between two identically or differently configured automation devices 5 and 6, an operating computer 4 and a commissioning computer 1. The industrial Ethernet bus 9 is connected to a standard Ethernet bus 8 via a computer 7. An operating computer 2 and a central operating computer 3 are connected to the standard Ethernet bus 8. Via a bus system 23, which is designed as a Profibus, various actuators or sensors 12, 13, 14, 15 are provided with a data connection to the automation device 5. Furthermore, a decentralized peripheral 10 is connected to the automation device 6 via the bus system 23. Via a bus system 24, which is designed as a Profibus, various actuators or sensors 16, 17, 18, 19 are provided with a data connection to the automation device 6. Furthermore, a decentralized peripheral 11 is connected to the automation device 6 via the bus system 24. Via the decentralized peripheral 11, various actuators and sensors 20, 21, 22 can be driven or evaluated via the automation device 6. The operating computers 2, 3, 4, the automatic devices 5, 6, the decentralized peripherals 10, 11, the actuators or sensors 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 and the bus systems 8, 9, 23, 24 serve the operation of the industrial installation.
Reference number 40 designates an evaluation center that is physically remote from the industrial installation 30 and is advantageously also used as a development center. In an exemplary configuration, the evaluation center 40 has a computer system having, for example, a plurality of computers 41 and 42 coupled via a bus system 43. A communication link 50 provides a data connection between the industrial plant 30 and the evaluation center 40. In this case, this does not have to be a dedicated line. In an exemplary configuration, the industrial plant 30, and the evaluation center 40 have a data connection to each other via the commissioning computer 1 on the side of the industrial installation 30, and the computer 41 on the side of the evaluation center 40. In order to monitor the industrial installation 30, mobile program code is transmitted from the computer 41 to the commissioning computer 1. By means of the transmitted mobile program code, which runs on the commissioning computer 1, the other components 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 are monitored for faults or special events. For this purpose, the mobile program code operating on the commissioning computer 1 automatically generates further mobile program codes, which are transmitted from the commissioning computer 1 to the automation devices 5, 6, the decentralized peripherals 10 and 11, to the actuators or sensors 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, and if appropriate to the operating computers 2, 3, 4. If one of these transmitted mobile program codes detects a fault or the special event then this mobile program code transmits a communication relating to this fault or the special event, and also all the information needed for evaluation to the mobile program code installed on the commissioning computer 1, which sets up the communications link 50 to the computer 41 and then transmits this information to the computer 41. The transmitted information can be log files which are generated on the basis of warning and error messages, or it may be tolerance deviations of process data (for example, strip profile faults, temperature faults, etc.), adaptation coefficients or coefficients from neural networks and the states of computers (such as memories, hard disk capacity, and CPU loading). In addition, provision can be made to register the frequency of warning messages and to evaluate it statistically.
The mobile program code is preferably implemented in JAVA. This may be carried out by following the Aglet concept, as disclosed by D. B. Lange, M. Oshima: “Programming and Developing JAVA Mobile Agents with Aglets”, Edison-Wesley, 1998. One preferred application of the invention is in rolling mills.

## Claims

1. A method of installing a mobile program code for the control of an industrial automation system in a raw materials industry comprising a central computer and a plurality of actors and sensors coupled via a bus system with said central computer, the method comprising the steps of:
transmitting the mobile program code from a remote location to the central computer of the industrial automation system for monitoring a fault or special event;
installing and commissioning the mobile program code independently on the industrial automation system;
generating by means of the mobile program code further mobile program code having a defined task; and
transmitting the further mobile program code at least to said actors and sensors to monitor the industrial automation system.

2. A method according to claim 1, wherein the mobile program code is transmitted between the remote location and the industrial automation system via ISDN, satellite, or Internet.

3. The method according to claim 1, wherein the mobile program code is JAVA program code.

4. The method according to claim 3, further comprising running the mobile program code on hardware provided for an open-loop or closed-loop control of the industrial automation system.

5. The method according to claim 1, further comprising independently monitoring the industrial automation system by means of the mobile program code for a fault or special event, in the event of which information needed to evaluate the fault or the special event is transmitted to the remote location by means of the mobile program code.

6. The method according to claim 1, wherein the industrial automation system further comprises automation devices located between said central computer and said actors and sensors.

7. The method according to claim 6, wherein the industrial automation system further comprises an industrial Ethernet bus for coupling said automation devices and said central computer.

8. The method according to claim 6, wherein the industrial automation system further comprises a Profibus for coupling said automation devices and said actors and sensors.