This is a national application for International Application No. PCT/DE00/04057 which was filed on Nov. 16, 2000 and which published in German on May 25, 2001, which in turn claims priority from 199 55 306.8, which was filed on Nov. 17, 1999.
The present invention relates to a method of communication for a communications subscriber.
The object of the present invention is to allow a first communications subscriber, connected to a first network, to be able to interchange data conveniently with a second communications subscriber, to which a second network not directly connected to the first network can be connected.
To this end, a special hereinafter additional communications subscriber is first provided which is connected to the first network hereinafter “network,” and which also has the second network “field bus” connected to it. The additional communications subscriber is thus used as an interface between the network and the field bus.
This method provides a particularly convenient way of interchanging data is by virtue of the special communications subscriber connected to the network having software objects for representing terminals (the potential second communications subscribers) which can be connected to the field bus. The field bus synchronizes an address space which is shared at least by the terminals and the special communications subscriber, and can be mapped at least in a memory provided for this purpose in the special communications subscriber. The special communications subscriber's software objects can be addressed via the network, using a transfer protocol defined for the network, in exactly the same way as the special communications subscriber itself or other communications subscribers. In the case of a message arriving on the special communications subscriber via the network, the addressed software object representing a terminal as a second communications subscriber handles the steps required in line with the transfer protocol defined for the network in order to receive the message. In addition, either a data item is impressed into the special communications subscriber's aforementioned memory in response to the message, in which case the change to the content of the memory can be transmitted to the second communications subscriber via the field bus during the cyclic data transfer, or the message is transmitted, particularly after it has been transformed into a form suitable for the transfer protocol of the field bus, to the second communications subscriber represented by the software object.
The number of software objects on the special communications subscriber is preferably adjusted in a freely definable manner, but particularly to suit the number of terminals connected to the field bus.
It is further preferred if the respective software objects can be assigned unique addresses within the network which are suitable for targeted data transfer in line with the transfer protocol provided for the network. The addressed software object carries out preprocessing for the data in the received message, preferably according to the type of data transmitted with the message.
Various features, advantages and opportunities for application of the present invention are disclosed below in the context of an exemplary embodiment and related drawing in which:
The special communications subscriber P is an interface between the network N and the field bus BU. Terminals A, B are connected to the communications subscriber P via the field bus BU, the terminals performing very varied technological functions (actuators, sensors, etc.) necessary for automating technical processes.
Hereinbelow, it is assumed that a motor M is connected to the terminal A, and a valve V is connected to the terminal B. The motor M and the valve V are elements of a technical process TP which is to be controlled and is indicated only schematically in
To communicate with the terminals A, B, the communications subscriber P contains software objects A′, B′ which, from the point of view of the network, represent the terminals A, B which cannot be reached directly via the network.
In a preferred embodiment, in order to be able to include the specific functionality of the respective terminals A, B, an object type A″ which geared to the motor functionality of the terminal A is instantiated as software object A′, and an object type B″ which geared to the valve functionality of the terminal B is instantiated as software object B′. The respective object types A″, B″ provide a collection of input data, output data, and methods (element functions, properties) M11, M12, M13, M14, V11, V12 which is geared to the respective functionality to be implemented, and can be used to access particular functionalities of the terminals or of the object classes representing said terminals. See
Accordingly,
The respective software objects A′, B′ contain program code which is suitable either for transferring transferred data directly into the shared memory space M of the field bus BU or else for sending messages which are used to transmit the appropriate data directly to the terminals A, B. When the data are entered into the shared memory space M, altered data are transmitted to the terminals A, B via the field bus BU during the cyclic transfer, so that even a data item which is initially changed only in the memory space M finally arrives on the actual addressee, e.g. the terminal A. When sending messages for data transfer via the field bus BU, the software object A′, B′ undertakes transformation of the message received via the network N into the data format provided for the field bus BU. In the case of the “Profibus” BU, a widespread field bus BU, such messages would be sent as “acyclic” messages, which do not affect the cyclic data interchange.
Unlike the example described above, in which the software objects A′, B′ were instances of respectively different object types A″, B″, it is conceivable that the software objects A′, B′ to be instances of one and the same object type AB″, with the object type AB″ then at least providing methods AB11, AB12 for sending and receiving messages via the network N, See.
In another embodiment of the present invention illustrated in
By way of example, if the rotation speed of the motor M connected to the terminal A needs to be altered, the rated rotation speed stored at a defined position, e.g. at the address #768, in the shared memory space M can be modified by a corresponding instruction based on an associated communication. To this end, the new rated value transmitted with the message is entered at an address indicated in the first position T1S1 in the table, for example, in this case #768. The data change in the shared memory M is communicated to the terminal A via the field bus BU during the cyclic data transfer.
To increase user-friendliness even further, the individual entries T1, T2 are extended by an additional position S3. This position S3 comprises a structure which at least provides space for declaring a name for the corresponding position in the table T. Thus, by way of example, a first position T1 in the table T can be called “rated value” T1S3, and another position T2 in the table T can be called “actual value” T2S3. These names are exported, specifically (for example) by virtue of “type libraries”, which largely correspond to the “header files” known from the programming language C++, for example, which contain the names and the associated data, being available on all the communications subscribers globally for a project.
Once the names “rated value” T1S3, and “actual value” T2S3 are thus available in the control computer LR, for example, it is a particularly simple matter to address the motor connected to the terminal A by using the protocol for the network N to request the exported data item Actual Value from the software object A′ in order to request the actual value. Internally, when the data item Actual Value is requested via the link using the table T, the data item entered in the row T1 represented by the declaration Actual Value is read out using the associated address T1S1. In this case, it is possible to read from the global memory area M again. The actual value in the memory area M is always up to date on account of the cyclic data interchange via the field bus FB.
A further exemplary embodiment is described below with reference to
If the function called is a “DCOM property access operation” to a locally available data item, the software object A′ uses the shared memory M. This applies specifically when the DCOM property is mapped onto an I/O signal from the DP slave A. The I/O signals from DP slaves are transported cyclically into the shared memory M on the DP master P, in line with the DP standard. This function can thus be executed completely on the DP master; no communication with this DP slave A is necessary. The bus BU is relieved of load by the communication for access to these data.
If a function which can be executed only by the DP slave is involved, i.e. property access operations to data which are not contained in the I/O signals, or calls to methods, the DCOM protocol is converted into a real-time protocol tuned specifically to the PROFIBUS DP (a “short form” of the DCOM PDU, in order to minimize the data transferred). This real-time protocol uses the PROFIBUS DPV1 mechanism “Write data records” in order to transfer the protocol units to the DP slave A. The latter receives the protocol and implements the respective function in response to the received message. Following processing, the response parameters are transported in the reverse direction from the DP slave A to the DP master P using the real-time protocol and using the PROFIBUS DPV1 mechanisms “Alarm” in combination with “Read data record”, and from the DP master P are transported to the software object A′. The software object A′ returns the response parameters to the caller LR via the bus N and using the communication mechanisms (DCOM) used.
Number | Date | Country | Kind |
---|---|---|---|
199 55 306 | Nov 1999 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/DE00/04057 | 11/16/2000 | WO | 00 | 5/15/2002 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO01/37492 | 5/25/2001 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5978850 | Ramachandran et al. | Nov 1999 | A |
H1897 | Fletcher et al. | Oct 2000 | H |
H1921 | Fletcher et al. | Nov 2000 | H |
6374294 | Quirt | Apr 2002 | B1 |
6529500 | Pandharipande | Mar 2003 | B1 |
6684073 | Joss et al. | Jan 2004 | B1 |
7146408 | Crater et al. | Dec 2006 | B1 |
20030004987 | Glanzer et al. | Jan 2003 | A1 |