Device and method for automatic generation of control instructions for rotary machines

Abstract
The invention relates to a device and a method for generating control instructions for a rotary machine, wherein processing stations are disposed on a rotary machine. In the preferred embodiment, the processing stations have holders for receiving bottles. Furthermore, gas is supplied via the processing stations and via the pressure management system. The processing stations can be controlled centrally by a PLC, by respectively one separate PLC or by specific microcontrollers. Said components can be programmed by code instructions. A further component of the device is an input and display terminal by which means the programs are created interactively. This is preferably a laptop with a windowed interface such as Windows®. Since rotary machines need to be controlled differently depending on the type of bottles and the type of coating, different programs should be created which then control the individual components of the rotary machine and the processing stations. As a result of the complexity of the control instructions and the associated liability to error in the programming, it is unreasonable for a normal user to create such a program which is generally based on a recipe.
Description

The invention relates to a device and a method for generating control instructions for a rotary machine, where processing stations are located on a rotary machine, the rotary machine comprises an input and a display terminal. In particular, the invention relates to a system for generating machine codes for PLC (programmable logic controller) and microcontrollers which control a rotary machine and its components.


FIELD OF THE INVENTION

Rotary machines such as those to be controlled by the present invention are used in wide range of applications. The rotary machine shown in FIG. 1 is used for coating bottles, especially plastic bottles, with the aid of plasma. The surface of the bottle is coated and the barrier property of the surface is thereby modified. Other applications are feasible. In the rotary machine, process stations rotate about a central point and contain bottles. Different process steps are executed depending on the rotational position, as can be seen clearly from the Fig.s.


When this device is used for different types of bottles, the control of the machines needs to be modified. As a result of the complex PLC control and the microcontroller control, it is unreasonable for a user to produce programs manually.


PRIOR ART

Known programming tools for machine and PLC do not take into account the needs of the user but primarily have the aim of re-using components which have already been used. Consequently, they are directed towards the developers of programs for PLC. Thus, it is feasible that modules are produced which are then incorporated again at a later point in the form of a library. However, this approach does not solve the said problems since it is unreasonable for the user to work at such a low programming level.


It is the object of the invention to provide a device and a method which, by an interactive input of information, makes it possible to automatically generate a control program which allows the rotary machine to be driven.


OVERVIEW OF THE INVENTION

This object is solved by the invention having the features of the independent claims. Advantageous further developments of the invention are characterised in the dependent claims.


In detail, the invention relates to a device and a method for generating control instructions for a rotary machine, wherein processing stations are disposed on a rotary machine. In the preferred embodiment, the processing stations have holders for receiving bottles. Furthermore, gas is supplied via the processing stations and via the pressure management system. The processing stations can be controlled centrally by a PLC, by respectively one separate PLC or by specific microcontrollers. Said components can be programmed by code instructions. A further component of the device is an input and display terminal by which means the programs are created interactively. This is preferably a laptop with a windowed interface such as Windows®. Since rotary machines need to be controlled differently depending on the type of bottles and the type of coating, different programs should be created which then control the individual components of the rotary machine and the processing stations. As a result of the complexity of the control instructions and the associated liability to error in the programming, it is unreasonable for a normal user to create such a program which is generally based on a recipe.


The invention consequently provides a system which allows the user to create a program code for controlling a rotary machine by means of structured menu guidance.


In this case, in a first menu level a segment is defined on the rotary machine using circumferential position parameters. The circumferential parameters can be numbers of degrees, centimetres on the circumferential circle or other equivalent values. In the preferred embodiment these are numbers of degrees. Thus, a plurality of segments can be defined on the rotary machine in which specific functions are then controlled.


The functions of the rotary machine or the processing stations are determined in a second menu level which has a reference to the definition of the segment in the first menu level. Thus, the circular orbit can be divided into logical segments within which functions are controlled. The functions are selected interactively and selectively by means of a mask so that the functions within the logical segment are controlled. Control instructions in the form of a control code are generated on the basis of the logical segmentation thus described and are then transferred to the machine.


In the preferred embodiment the segments are defined by numbers of degrees and thereby delimited with respect to one another. The execution of the segments can likewise be determined within the segments by numbers of degrees which are then added as DELTA to the beginnings of the segments and determine the start or stop of the function.


Alternatively, the start or the end of the function within the segment can be determined by a time definition such as, for example, a delay. This time unit indicates, for example that the function measured from the time of passing through the logical segment is switched on or off or activated for a certain time unit, the latter being determined directly from the rotational speed.


Furthermore, desired values, warning values and error values for sensors can be specified within a segment. These data can also be specified globally and used for quality determination, especially for determining the rejects and thus serve as the basis for all segments, where the more specific information in the segment has the higher priority. These are for example the global machine control parameters: speed, desired parameters, warning values, error values.


In the preferred embodiment for the coating of bottles, for example, the local functions (within the logical segment) and the global functions can be as follows: valve control, valve monitoring, pump control, pump monitoring, microwave control, microwave monitoring, temperature monitoring, temperature control, plasma control, plasma monitoring, gas control, gas monitoring. Other functions are naturally feasible and are obtained depending on the use of the rotary machine.


After the parameters have now been entered in a structured fashion, these can either be saved as packaged parameter combinations or as finished codes. The code is generated on the basis of a machine code template, also called a template. This is generally provided with macro-instructions which are generally replaced by a macro-editor before the scan and parser process. The code thus prepared is either interpreted on the rotary machine or it is compiled further before it is transferred to the machine. However, it is feasible that instructions are modified in the compiled code using a special macro-program identification. However, this approach is associated with a greater effort because of the possible address relocations/translation.


After creating the code, this can be transferred to the machine and the individual controllers.


All these preparatory activities as far as completion of the program code for the rotary machine and the individual processing stations are preferably carried out on a PC or laptop. The program fragments thus produced and code instructions can then be transferred via a network connection such as a telephone network for example.




BRIEF DESCRIPTION OF THE DRAWINGS

The invention is explained in detail hereinafter with reference to exemplary embodiments shown schematically in the Fig.s. The same reference numbers in the individual Fig.s refer to the same elements. In detail in the Fig.s:



FIG. 1 is a perspective schematic view of a rotary machine with processing stations where not all the processing stations are installed;



FIG. 2 is a schematic diagram of a logical segmentation of a rotary machine;



FIG. 3 is a screen shot of the global parameter mask;



FIG. 4 is a screen shot of a segment parameter mask.




DESCRIPTION OF THE PREFERRED EMBODIMENT

In one possible embodiment as shown in FIGS. 1 and 2, a rotary coating system 31 comprises twelve processing stations 32 or twelve chambers. The chambers 32 (double reactors) are each provided with respectively two MW generators 33.


The segmentation takes place so that two chambers are always in the coating phase (17, 18, 19, 20) for the adhesion promoter. Four chambers (9, 10, 11, 12, 13, 14, 15, 16) are always in the coating phase for the barrier. In the other segments (21, 22, 1, 2) the bottles are transferred to the machine or leave the machine. In other segments again pump functions are controlled (3, 4, 5, 6). These are connected to the gas generator by means of a ring main. Said gas generator is supplied by a precursor storage container. There is provided a principal evacuating plant to which each reactor is connected via a manifold. The pressure is regulated centrally at the manifold for the adhesion promoter and barrier respectively (see FIG. 3).



FIG. 3 shows the adjustment of global recipe parameters; there comprise regulating speed and mass flow regulation. The descriptions are self-explanatory so that no further comment need be made on this with reference to FIG. 1.



FIG. 4 shows the control in a fifth segment which comprises the flooding segment (17, 18, 19, 20) in relation to FIG. 2. This segment begins at 275 degrees. The functions internal aeration and external aeration are activated and begin with a delay of 80 ms or 150 ms respectively and end after 25 degrees relative to the beginning of the segment. Flushing gas is then pumped in, this being initiated after a delay of 140 ms and also being initiated so that it covers the segments. Since this involves the end of the segment, the flushing is stopped at the latest when the bottle is ejected.


The scope of protection is determined by the following claims and it is not intended to be limited by the description.

Claims
  • 1. A processing station for generating control instructions for a rotary machine, wherein processing stations are arranged on a rotary machine, comprising means and a configuration of the means, which an input and a display terminal such that the possibility of selecting or determining segments on the rotary machine is provided in a first menu level, that the function of the rotary machine or the processing stations are displayed in a second menu level, with reference to the selected segments in the first menu level, wherein the functions can be selected and their functions can be controlled within the segment, that control instructions are generated on the basis of the functions thus defined and their control in the segment.
  • 2. The processing station according to the claim 1, comprising means for determining segments by numbers of degrees or means for determining functions within the segment by numbers of degrees.
  • 3. The processing station according to the claim 2, comprising means for determining a first number of degrees which determines the beginning of the segments and comprising means for determining a second number of degrees with reference to the functions in order to determine their beginning within the segment or their end inside the segment.
  • 4. The processing station according to the claim 1, comprising means for specifying time delay for individual functions within the segment.
  • 5. The processing station according to the claim 1, comprising means for specifying upper limits or lower limits of sensor values for a check within the segment.
  • 6. The processing station according to preceding claim 1, comprising means for specifying global machine control parameters valid for all segments.
  • 7. The processing station according to the claim 6, wherein the global machine control parameters are one or more of the following parameters: speed values, desired values, desired ranges, warning values, error values.
  • 8. The processing station according to the claim 7, wherein the segments are each defined by their initial value.
  • 9. The processing station according to the claim 1, wherein means and a device are provided to allow the generated control instruction to be transmitted online to the rotary machine or the processing stations.
  • 10. The processing station according to the claim 1, wherein the rotary machine and the processing stations are provided with means for coating bottles.
  • 11. The processing station according to the claim 10, wherein means are provided for generating control instructions for one of more of the following functions: valve control, valve monitoring, pump control, pump monitoring, microwave control, microwave monitoring, temperature monitoring, temperature control, plasma control, plasma monitoring, gas control, gas monitoring.
  • 12. The processing station according to the claim 1, comprising means for saving and managing different control instructions or parameters.
  • 13. The processing station according to the claim 1, wherein a device and means are provided which provide a machine code template for PLC or microcontrollers with parameters which have been input via the menu levels and prepare the machine code thus produced as control instruction.
  • 14. The processing station according to the claim 1, wherein the machine code template is a code template which is provided with the parameters by means of macro-definitions.
  • 15. The processing station according to the claim 1, comprising a PC which is programmed so that it allows parameters to be input via a windowed interface.
  • 16. The processing station according to the claim 15, wherein the individual segments are displayed on individual screen pages.
  • 17. A method for generating control instructions for a rotary machine, wherein processing stations are arranged on a rotary machine, comprising an input and a display terminal comprising the steps: a) definition of a segment on the rotary machine using circumferential position parameters is made in a first menu level, b) determine a function of the rotary machine or the processing stations in a second menu level, with reference to the definition of the segment in the first menu level, wherein the functions are selected interactively and selectively and their functions are controlled within the segment, c) generating control instructions in the form of a control code on the basis of the functions thus defined and their control in the segment.
  • 18. The method according to the claim 17, wherein the segments are defined and delimited by numbers of degrees, wherein the execution of the functions within the segment is determined by the numbers of degrees.
  • 19. The method according to the claim 18, wherein the control of a function is determined by a second number of degrees with reference to the segment in order to determine its beginning within the segment or its end within the segment.
  • 20. The method according to the claim 17, wherein time delays for triggering an individual function within the segment are determined.
  • 21. The method according to the claim 17, wherein a definition of desired values, warning values and error values is made for sensors within a segment.
  • 22. The method according to the claim 17, wherein global machine control or monitoring parameters valid for all segments are specified.
  • 23. The method according to the claim 22, wherein the global machine control parameters are one or more of the following parameters: speed, desired values, desired ranges, warning values, error values.
  • 24. The method according to the claim 17, wherein the control instructions are generated for a rotary machine with processing stations, provided with means for coating bottles.
  • 25. The method according to the claim 17, wherein control instructions are generated for one of more of the following functions: valve control, valve monitoring, pump control, pump monitoring, microwave control, microwave monitoring, temperature monitoring, temperature control, plasma control, plasma monitoring, gas control, gas monitoring.
  • 26. The method according to the claim 17, comprising means for saving and managing different control instructions or parameters.
  • 27. The method according to the claim 17, wherein a machine code in which the parameters entered interactively via the menu levels are automatically inserted, is generated on the basis of a general machine code template which controls a PLC or a microcontroller.
  • 28. The method according to the claim 26, wherein the machine code template is a code template which is provided with the parameters by means of macro-definitions of the parameters.
  • 29. The method according to the claim 17, comprising a program code which allows the process to run on a PC.
  • 30. A data carrier, comprising a data structure which is constructed so that the process according to the aforesaid method claim 17 can be run on a computer and the function of the method is thereby implemented on the computer.
Priority Claims (1)
Number Date Country Kind
10 2005 015 063.2 Mar 2005 DE national