1. Field of the Invention
The present invention relates to machine automation and, more particularly, to a method for operating an automation device comprising at least one master unit and at least one slave unit that is connected by a first bus, where messages are transmitted over the first bus while controlling a technical process, each of the messages comprise a process image data area for planned field devices, which are connected to the at least one slave unit by a second bus, and a planned reserved process image data area that is intended for possible expansions of the automation device with at least one further field device that is connectable to the at least one slave unit. In addition, the invention relates to an automation device that is configured to perform the method.
2. Description of the Related Art
EP 1 495 376 discloses a conventional method and an automation device. During a planning phase, a user plans a useful data area and a reserve useful data area for a slave unit using an engineering system, where the reserve useful data area is intended for expansion of a slave unit with at least one slave subassembly, such as a slave subassembly comprising an analog input/output subassembly or a digital input/output subassembly. The CPU unit or the master unit of a programmable logic controller uses a message to gain read or write access to these data areas and, if the slave unit is actually expanded by a slave subassembly during ongoing control operation or during control of a technical process, such access is effected smoothly and without reaction for all master and slave units connected to the bus based on the planned reserve useful data area. Here, the CPU or master unit need not be moved from RUN operation to a STOP state for the expansion. Measures for expanding the automation device in a substantially smooth manner and without reaction with a field device that complies with the Fieldbus Foundation specification, for example, have not been provided.
Field devices that comply with the Fieldbus Foundation specification (i.e., FF devices) undertake process control functions, where each FF device interchanges data with another FF device over an FF bus during distributed communication. For this purpose, a central communication controller that controls the temporal progress of bus communication is provided for this purpose, for example a Link Active Scheduler (LAS) having a scheduler. During unclocked data transmission, this communication controller undertakes non-time-critical tasks, such as the transmission of device parameters to the field devices. In contrast, time-critical tasks, such as tasks comprising reading, processing or outputting process data, are performed using the communication controller during clocked data transmission in accordance with a transmission list, where the transmission list indicates the time at which a field device is requested to transmit its data and the time at which a field device can read these data.
It is an object of the present invention to provide a method for expanding an automation device with field devices, i.e., field devices that comply with the Fieldbus Foundation specification, during control operation (RUN operation). In addition, it is an object to provide an automation device that is configured to perform the method of the invention.
These and other objects and advantages are achieved by providing an automation device and method in which parameters of field devices, a further field device and communication relationships, i.e., schedulers or virtual communication relationships (VCR's), of the field devices and further field device are stored in a slave unit over a first bus, and an engineering system transmits a system data module for the slave unit to the master unit, where the system data module is stored in the master unit and the slave unit and comprises addresses of the field devices and the further field device, configuration data having a number of input and output variables of the field devices and the further field device, and a distribution of the input and output variables in the process image data area.
Other objects and features of the present invention will become apparent from the following detailed description considered in conjunction with the accompanying drawings. It is to be understood, however, that the drawings are designed solely for purposes of illustration and not as a definition of the limits of the invention, for which reference should be made to the appended claims. It should be further understood that the drawings are not necessarily drawn to scale and that, unless otherwise indicated, they are merely intended to conceptually illustrate the structures and procedures described herein.
The invention, its refinements and advantages are explained in more detail below using the drawings which illustrate an exemplary embodiment of the invention, in which.
The field devices 6, 7, 8, 9 (FF field devices) are connected to the second bus 11. The slave units 3, 4, 5 are connected by the first bus 10 to a master subassembly 12 of the automation instrument 2 which has a CPU subassembly 13 and further subassemblies which are coupled via a backplane bus, for example, subassemblies comprising regulator, input/output and/or other functional subassemblies. It should be appreciated that the automation device 1 may be provided with further automation instruments, decentralized peripherals and/or field devices depending on a control or automation task to be implemented. Depending on this task, a user plans and/or configures the automation device 1 using an engineering system 15 that is connected to the automation instrument 2 by for example, an industrial Ethernet communication link 14. For this purpose, the engineering system 15 has a suitable software tool that displays a hardware library to the user in a window of a display unit of the engineering system 15 and makes it possible for the user to initially select hardware components from this library by “drag & drop” using a control element to copy the selected components to a further window of the display unit and to connect the components to one another in accordance with the control task to be implemented. The software tool automatically allocates addresses to the selected field devices or proposes addresses to the user, where the addresses are acceptable or changeable by the user.
With specific reference to
The software tool uses these selected input and output variables and default values for the CiR field device 19 to generate the part of a Profibus DP message that is intended for cyclical information interchange between the automation instrument 2 and the slave unit 5 over the first bus 10, and comprises a process image data area for the planned input and output variables and a planned reserved process image data area that is initially occupied by the default values. It thus follows saying that the Profibus DP message also comprises information relating to the further slave units 3, 4. These slave units 3, 4 and their effects on the DP message are not important within the context of the embodiments of the invention and are therefore not considered in the below description for the sake of simplicity and clarity.
The software tool also uses the selected input and output variables of the function blocks of the field devices 6, 7, 8, 9 to produce a system data module which stores the addresses of the field devices and the configuration of these field devices, i.e., the number of these variables and the distribution of the selected input and output variables in the process image. The software tool of the engineering system 15 transmits this system data module, which is needed to control operation of the automation device, to the automation instrument 2 which stores this system data module and also supplies the system data module, during acyclic transmission, over the first bus 10, to the slave unit 5 (DP/FF link) which likewise stores the system data module. As a result of the fact that the system data module is stored in the automation instrument 2 and the slave unit 5, the automation instrument 2 and the slave unit 5 (on the FF side) assign I/O data in the process image.
In accordance with the presently contemplated embodiment, the system data module stores only the address and the configuration of the field device 17 with the input and output variables of the associated function blocks 18. For the sake of completeness, reference is again made to the fact that the system data module also comprises data for the slave units 3, 4 which, as indicated, are not considered further.
The user uses the software tool or a further software tool to connect the selected input and output variables of the function blocks 18 and the input and output variables of the function blocks between the field devices, communication data—relating to the CiR device 19 in the presently contemplated embodiment—which are intended to be stored in the slave unit 5 (DP/FF link) are generated based on these connections and based on the number of planned field devices with associated function blocks and the number of planned CiR field devices. These communication data represent communication relationships and substantially comprise “virtual communication relationships” (VCRs), which correspond to the connections, and a scheduler which predefines, for the slave unit 5, a schedule for cyclically controlling FF communication on the second bus 11 during a macrocycle. With this scheduler, the slave unit 5 undertakes the function of a link active scheduler (LAS) of an FF configuration, where the LAS is known per se and controls a temporal progress of FF bus communication.
Lastly, the software tool is used to store parameters of a standard and/or manufacturer-specific device description in the field devices 6, 7, 8, 9, as a result of which the planning and configuration of the automation device 1 are concluded with regard to the slave unit 5 and the FF field devices 6, 7, 8, 9. In addition, the automation device 1 is prepared to implement the automation task after a start call during control operation.
The scenario may arise in which a further FF field device is connected to the second bus 11 while controlling the technical process because the automation task needs to be expanded.
Here, reference is made to
The user also uses the software tool or the further software tool to again connect the input and output variables of the function blocks 18 of the field device 20 and the input and output variables of the function blocks 18 between the field devices 6, 7, 8, 9, 20, which is indicated in the figure with a reference symbol 21, where communication data is generated in the manner as previously described, and the communication data differs from the original communication data already stored in the slave unit 5 with regard to the scheduler and the “virtual communication relationships” (VCRs). With regard to calls, the macrocycle of the second bus 11 (FF bus) remains unchanged for the existing FF devices, and the macrocycle is expanded for calls from the new FF device. Only the duration of the macrocycle of the second bus 11 (FF bus) remains unchanged. The engineering system 15 loads these new communication data into the slave unit 5 using the automation instrument 2 after the parameters of a standard and/or manufacturer-specific device description have been stored in the field device 20 with the software tool. The new system data module 22 that is provided with a new time stamp is then loaded into the automation instrument 2 by the engineering system 15 and is loaded into the slave unit 5 by the instrument 2. Storing the parameters of the device descriptions in the field devices 6, 7, 8, 9, 20, and loading the communication data into the slave unit 5, and loading the system data module 22 into the automation instrument 2 and the slave unit 5 cause the new scheduler and the new “virtual communication relationships” (VCRs) to be activated on the FF side and cause data relating to the process image to be interchanged between the automation instrument 2 and the slave unit 5, with the field devices 6, 7, 8, 9, 20 connected to the latter, during cyclical control.
The engineering system generates a unique identifier (UUID) for the system data module and the communication data associated with the system data module to ensure that the “correct” communication data or communication relationships are assigned to the system data module, where the identifier is stored in the system data module and the communication data by the engineering system 15. The slave unit respectively reads the identifier and, if the slave unit 5 realizes that the system data module is not assigned to the communication data or the communication data are not assigned to the system data module, the slave unit 5 ignores the data which are transmitted from the automation instrument to the slave unit 5 over the first bus 10 during control operation and relate to the newly connected field device.
Parameters of the field devices and the at least one further field device, and communication relationships of the field devices and the at least one further field device are stored in the at least one slave unit over the first bus, as indicated in step 420.
An engineering system, transmits a system data module for the at least one slave unit to the at least one master unit, as indicated in step 430. Here, the system data module is stored in the at least one master unit and the at least one slave unit and comprises addresses of the field devices, the further field device and configuration data having a number of input and output variables of the field devices and the further field device, and a distribution of the input and output variables in the process image data area.
Thus, while there have shown and described and pointed out fundamental novel features of the invention as applied to a preferred embodiment thereof, it will be understood that various omissions and substitutions and changes in the form and details of the devices illustrated, and in their operation, may be made by those skilled in the art without departing from the spirit of the invention. For example, it is expressly intended that all combinations of those elements which perform substantially the same function in substantially the same way to achieve the same results are within the scope of the invention. Moreover, it should be recognized that structures and/or elements shown and/or described in connection with any disclosed form or embodiment of the invention may be incorporated in any other disclosed or described or suggested form or embodiment as a general matter of design choice. It is the intention, therefore, to be limited only as indicated by the scope of the claims appended hereto.
Number | Date | Country | Kind |
---|---|---|---|
EP10169885 | Jul 2010 | EP | regional |