This application claims the priority of European Patent Application, Serial No. EP10192253, filed Nov. 23, 2010, pursuant to 35 U.S.C. 119(a)-(d), the content of which is incorporated herein by reference in its entirety as if fully set forth herein.
The present invention relates to engineering of a data communication in an industrial automation environment.
The following discussion of related art is provided to assist the reader in understanding the advantages of the invention, and is not to be construed as an admission that this related art is prior art to this invention.
Various data communication methods are known in the field of industrial automation systems. These relate to communication bus systems (e.g. Profibus, Ethernet, CAN bus, etc.), sensor interfaces, I/O interfaces, etc. An engineering system can be used for planning such a data communication. When configuring the data communication, e.g. logical addresses are allocated. The engineering system can also be designed such that a planner specifies addresses and/or protocol utilization for a bus system. This is usually done by using alphanumeric characters in an engineering system or in a runtime system of the automation. The automation relates e.g. to the automation of a machine tool, a press, a printing machine, a packing machine, a hoist, a robot, etc.
It would therefore be desirable and advantageous to obviate prior art shortcomings and to provide a simpler approach for engineering a data communication.
According to one aspect of the present invention, a method for communicating between function modules of automation systems, wherein a first function module has a first communication interface and a second function module has a second communication interface, includes the steps of assigning the first communication interface to the second communication interface, and storing the assignment.
A user of an engineering system can thus be provided with a simple, transparent, type-assured, symbolic assignment of interfaces of objects that are located on the same system or in particular on a different system. The engineering system or indeed another system can be used in this case to set up the communication between function modules within a device or between function modules of different devices, wherein communication takes place in particular across a system. In this case, devices are in particular automation components such as a stored programmable control (SPC), a motion control unit, an I/O module, a power converter, a master computer, etc. For example, a simple transparent and yet flexible assignment of I/O points, terminals, or axes of drive objects which are located on integrated or separate systems can thus advantageously be attained.
By abstracting the communication connections between communication interfaces, it is no longer necessary e.g. to define a manual assignment via storage in a peripheral section, e.g. by specification of the logical address, or by means of a fixed assignment in a standalone system.
Using a method for communication between function modules in the field of automation systems, a first function module has a first communication interface. In particular, the function module is a software module which has a specific function (e.g. a technology module, a regulator module, a drive module, a logic module, etc.). The function module has a communication interface, wherein the function module can exchange data, e.g. with other modules, via the communication interface. Communication interfaces may be of different types, wherein interfaces that are connected together are of a compatible or identical type. A second function module therefore has a second communication interface, wherein the first communication interface is assigned to the second communication interface, wherein the assignment is stored. In this case, the assignment is effected e.g. by means of a graphical system (e.g. an engineering system, programming system, monitoring system, etc.). In this case, it is e.g. possible graphically to connect two communication interfaces by means of a mouse pointer in order to indicate or program a communication connection. The system advantageously checks whether the types correspond and accepts or rejects the association, or outputs a report which indicates a different or incompatible type. The communication interfaces relate to different function modules, wherein the function modules can nonetheless be provided, programmed and/or executed in the same automation component or in a different automation component.
According to an advantageous feature of the present invention, the first function module is assigned to a first automation component and the second function module is assigned to a second automation component.
According to an advantageous feature of the present invention, the communication interface or communication interfaces may be parameterized and/or modeled. A user may adapt interfaces to the requirements concerned. If function modules are based on objects of different types, these object types are implemented in the context of programming. The respective types also feature a description of possible interfaces. When implementing the object, it is advantageously possible to set the interfaces which the object is to have. This depends on e.g. the function that is to be executed in each case. For example, it is possible to implement an object which has one, two, three or more sensor interfaces.
According to an advantageous feature of the present invention, the relative assignments of the interfaces to each other may be used to automatically parameterize bus-based communication between automation components and/or to automatically assign logical address ranges.
According to an advantageous feature of the present invention, the communication is parameterized depending on the parameterization and/or modeling of the communication interfaces. For example, if two sensor interfaces have been implemented for a function module, a corresponding transmission channel is reserved for them.
According to another advantageous feature of the present invention, this may also be managed differently. For example, a corresponding communication (e.g. a channel, or a space in a bus protocol) may be provided only if sensor interfaces are connected together. This provision of communication connections (addresses and/or bandwidth) takes place automatically. A user consequently has less work.
According to an advantageous feature of the present invention, a connector is provided for assigning the communication interfaces, wherein the connector features interconnection information. This can likewise simplify the task of programming communication connections. For example, there may be different types of communication interfaces and connectors, wherein only interfaces and connectors of the same type are compatible and may be used together.
According to an advantageous feature of the present invention, a communication bus system is assigned to an automation component or to two automation components. Depending on the bus type, the communication connections between the various function modules of different automation components may be automatically integrated into the bus system.
According to an advantageous feature of the present invention, an assignment of communication interfaces is rejected and/or flagged if the communication bus system is not able to satisfy the communication demand that is required for too many communication connections between the automation components.
According to an advantageous feature of the present invention, modeling data is generated by means of an object-specific script, wherein the function module represents an object. Such a script may be executed in conjunction with an implementation of a function module, for example.
The graphical assignment of communication connections additionally results in e.g. a simplified assignment of I/O points to I/O interfaces. For these and other communication interfaces, the following procedure or at least one of the following steps may be performed in this case:
The user therefore works on a technological and symbolic level, and not in the logical address range. The logical address range is advantageously concealed.
The communication is established by the system in accordance with the interface interconnections and the functionality that has been set (communication environment (logical address range) and communication content (telegrams)). This is done e.g. by means of an implicit process (e.g. by implementing the engineering plan) or on the basis of an explicit action.
According to an advantageous feature of the present invention, a function module relates to a motion control unit, wherein speed pre-control, position regulator gain and the difference between desired and actual position are sent to the drive as control-relevant signals using a DSC method. These signals may advantageously be combined in a single interface and form an interface type. Only interfaces of this type can then be connected together. The drive, which features a module having an interface of this type, then generates the true desired value for the position. In this case, the position control takes place in the drive. The effective contouring error is simulated in the control when using the DSC method.
In order to allow clear representation and simple modification and/or correction of I/O interface interconnections, a suitable tool may be provided for a user. This is used for the purpose of clearly representing the interconnection of interfaces and optionally modifying/correcting the interconnections, these communication interfaces (i.e. the I/O interfaces) being modeled using I/O interface description data. Such a tool (system for the administration of communication connections) may have e.g. at least one of the following functions:
In this case, functions such as display interconnection, edit interconnection, and correct interconnection can be realized in a tool or in various tools. In this case, the use of a graphical service is particularly advantageous to the user, since this results in clear representation, ease of editing, modifying and correcting interface interconnections (i.e. assignments), and may be based on the I/O interface modeling and I/O interface interconnection in the automation systems. The description data (e.g. symbolic labels, type information, etc.) can aid the user during the interconnection of interfaces.
A simple functional/technological selection and assignment of I/O interfaces and components are important for a user, and should be independent of any possible restricted communication width. This relates to e.g. the simple technological assignment of the sensors in a motion control unit, even if these are transmitted e.g. in a PROFIdrive telegram having a maximum of only two sensor channels. It should be possible to conceal the assignment to the internal sensor channels, even if the sensors can be planned flexibly. It is thus possible to prevent a direct assignment to the corresponding communication channel/address range (e.g. to sensor 1 or sensor 2 in the PROFIdrive telegram). The direct technological assignment of a technological I/O interface (i.e. a technological communication interface) to a specific type-compatible I/O point, even without direct assignment to a communication interface, is possible by means of the abstraction described above. Therefore e.g. the sensor in the automation system may be assigned to a corresponding sensor in a peripheral component.
By means of introducing and evaluating technological attributes, the communication interface can be concealed while the assignment is nonetheless definitive. It is no longer necessary for the user to specify the explicit communication channel.
The management of sensor signals is one example for such an attribute. For example, the first communication channel in an automation system may only ever be used to transmit the sensor of the drive control, usually the motor sensor; if such a technological criterion is defined at the interface, it is no longer necessary to specify the communication channel when the motor sensor of the axis is being interconnected to a drive.
By virtue of the definitive assignment of interfaces in the context of limited communication width, it is also possible to manage with a limited number of communication channels, this being achieved by introducing and applying suitable technological attributes. For example, selected communication channels may only be assigned to selected interfaces if corresponding technology-related attributes are present. In this case, a limited communication width or indeed a limited number of communication channels may be concealed by assigning the interfaces via technological attributes that allow a definitive mapping onto the channels. The workload on the user of an automation system may be reduced by concealing internal communication specifications or internal communication conditions, thereby reducing the external view of the technology to assignments in the symbolic field. The user models interfaces, wherein technological attributes are defined in a suitable manner and the attributes are used for the simplification of the user view and assignment of the communication channels via the system. Attributes may be used in particular for the sensor assignment in the case of objects which transmit the sensor data by means of a PROFIdrive telegram.
If a communication is to be programmed or parameterized by sensor data, without logical addresses being allocated by a user personally, this may take place as follows for example. In the context of a method that is provided for this purpose for communication between function modules in the field of drive system engineering, wherein a first function module has a first sensor interface, wherein a second function module has a second sensor interface, the first sensor interface is functionally assigned to the second sensor interface. This is done by means of a graphical user interface, for example. Interfaces of the function modules are associated together in this case. In particular, the first function module may be assigned to a first automation component and the second function module may be assigned to a second automation component in this case. In particular, an address (in particular a logical address) for transferring sensor data between the two different automation components is specified automatically in this case. The communication between the automation components is supported by a bus system for transmitting data.
According to an advantageous feature of the present invention, the first function module is an axis module, the second function module being a drive module in particular. Therefore the first automation component may be a control device and/or a regulating device, in particular a motion control unit, and the second automation component may be a power converter.
According to an advantageous feature of the present invention, the axis module is based on an axis object that is implemented, wherein the axis object has description data for interfaces, wherein interface data is generated by the implementation, wherein the first sensor interface is an item of interface data.
According to another advantageous feature of the present invention, the drive module may be based on a drive object that is implemented, wherein the drive object has description data for interfaces, wherein interface data is generated by the implementation, wherein the second sensor interface is an item of interface data.
According to another advantageous feature of the present invention, the sensor interfaces may be graphically associated. If the sensor interfaces are of different types, in the case of an association of sensor interfaces of different types, an association is automatically rejected and/or an incorrect association is indicated. If the interfaces are of the same type, the association is accepted by the system. The system is e.g. an engineering system.
According to yet another advantageous feature of the present invention, the automatically specified logical address of the bus communication may be used for sensor signals. In this case, the logical addresses for the bus communication can change automatically if communication interfaces (in particular sensor interfaces) are changed. This applies if sensor connections are deleted or new sensor connections are created, for example.
According to an advantageous feature of the present invention for communication between function modules in the field of drive system engineering, a first function module of an automation system may have a multiplicity of sensor interfaces, wherein a second function module (11) of a peripheral component may also have a multiplicity of sensor interfaces. A data connection between the automation system and the peripheral component is provided by means of a communication bus, wherein the peripheral component has hardware ports for a multiplicity of sensors, these being connected to the peripheral component individually and not jointly via a shared bus. The hardware ports in the peripheral component are associated at least in terms of data with the sensor interfaces of the peripheral component, wherein the sensor interfaces relate to a communication bus in particular.
According to an advantageous feature of the present invention, the bus may have a bus protocol for a multiplicity of sensors and at least one actor, wherein one of the connected sensors is a motor sensor.
Simple symbolic interconnection of I/O interfaces (i.e. communication interfaces) via a suitable tool represents an important possibility for users. Software may be provided for this purpose, thereby providing at least one of the functions described below for the interconnection of interfaces:
Other features and advantages of the present invention will be more readily apparent upon reading the following description of currently preferred exemplified embodiments of the invention with reference to the accompanying drawing, in which:
Throughout all the figures, same or corresponding elements may generally be indicated by same reference numerals. These depicted embodiments are to be understood as illustrative of the invention and not as limiting in any way. It should also be understood that the figures are not necessarily to scale and that the embodiments are sometimes illustrated by graphic symbols, phantom lines, diagrammatic representations and fragmentary views. In certain instances, details which are not necessary for an understanding of the present invention or which render other details difficult to perceive may have been omitted.
Turning now to the drawing, and in particular to
By virtue of using such communication interfaces 2, 12 with type descriptions, various advantages can be achieved as follows, for example:
The illustration according to
The illustration according to
Advantageously, the interfaces can be modeled in a variable manner, due to the introduction of connectors for the interconnection of the interfaces in the engineering system in particular. This allows technological system modeling in relation to I/O interfaces and system communication. In the context of the interconnection process, the user is supported e.g. in that only type-compatible interconnections are permitted from interconnection points that are still free. The system communication is created from the interconnection, modeling and possibly supplementary rules, wherein the internal communication and associated settings can be concealed from the user. The modeling and the graphical connector interconnection can be used for application-specific and technology-compatible engineering, such that planning of assignments is possible on a user-specific technological level.
The illustration according to
The illustration according to
The illustration according to
The illustration according to
The illustration according to
The illustration according to
Further to
The Axis_p is assigned to the Drive_q (axis/actor interconnected by the system).
The Axis_p_Sensor_1 is likewise assigned to the Drive_q (Motor_Sensor_1(M) is interconnected to sensor I/O interface 1 by the system).
The Axis_p_Sensor_2 is likewise assigned to the Drive_q (direct sensor is interconnected to sensor I/O interface 2 by the system).
The Axis_p_Sensor_3 is likewise assigned to the Drive_q (direct sensor is interconnected to sensor I/O interface 2 by the system).
The external sensor is assigned to the Drive_q (external sensor is interconnected to sensor I/O interface 2 by the system).
For the interconnection of sensor data across two components 3, 13, objects 1, 11 having interfaces are therefore provided in each component, wherein the interfaces can be graphically associated without specifying addresses, and the addresses and telegram generation can be determined automatically from the interface information. For the interconnection of interfaces, provision is made in particular for description data such as symbolic labels, type information, etc.
The illustration according to
The illustration according to
The illustration according to
While the invention has been illustrated and described in connection with currently preferred embodiments shown and described in detail, it is not intended to be limited to the details shown since various modifications and structural changes may be made without departing in any way from the spirit and scope of the present invention. The embodiments were chosen and described in order to explain the principles of the invention and practical application to thereby enable a person skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated.
What is claimed as new and desired to be protected by Letters Patent is set forth in the appended claims and includes equivalents of the elements recited therein:
Number | Date | Country | Kind |
---|---|---|---|
EP10192253 | Nov 2010 | EP | regional |