The present invention relates to a method for operating a real-time industrial Ethernet EtherCAT system, used in industrial automation fields.
EtherCAT is a real-time industrial Ethernet technology particularly suitable for communication between control systems and peripheral devices like I/O systems, drives, sensors and actuators. It is part of the IEC1158 and the IEC61800 standard.
An EtherCAT system comprises a master and some slaves. Conventionally, the master plays the role of both a communication master and a control master. This makes the master code very complex and special technology must be introduced for achieving the expected fast communication speed.
One embodiment of the present invention provides a method for operating a real-time industrial Ethernet EtherCAT system comprising a communication master and a plurality of slave nodes, wherein one slave node acts as a logic control master and the further slave nodes act as logic control slaves. A communication flow is as follows: The communication master sends a data fetching frame. When the data fetching frame passes through the logic control master, the logic control master inputs control data for the logic control slaves into the data fetching frame. When the data fetching frame passes through the logic control slaves, each logic control slave inputs status data into the data fetching frame. After return of the data fetching frame to the communication master, the communication master sends a data sending frame with output data, said output data being reorganized according to the control relationship between the logic control master and the logic control slaves by the communication master. When the data sending frame passes through the logic control master, the logic control master gets the status data of the logic control slaves from the data sending frame. When the data sending frame passes through the logic control slaves, each logic control slave gets command data from the data sending frame.
Another embodiment of the present invention provides a real-time industrial Ethernet EtherCAT system comprising a communication master and a plurality of slave nodes. One slave node acts as a logic control master and the further slave nodes act as logic control slaves. A master communication cycle contains two EtherCAT frames, one being defined as a data fetching frame and the other as a data sending frame. The logic control slaves input status data into the data fetching frame. The communication master reads the data fetching frame and maps the input data to output data according to a communication relationship between the slave nodes and sends the output data to the slave nodes by means of the data sending frame The logic control master gets status data of the logic control slaves from the data sending frame.
So that the manner in which the above recited features of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this invention and are therefore not to be considered limiting of its scope, for the invention may admit other equally effective embodiments.
In the following, reference is made to embodiments of the invention. However, it should be understood that the invention is not limited to specific described embodiments. Instead, any combination of the following features and elements, whether related to different embodiments or not, is contemplated to implement and practice the invention. Furthermore, in various embodiments the invention provides numerous advantages over the prior art. However, although embodiments of the invention may achieve advantages over other possible solutions and/or over the prior art, whether or not a particular advantage is achieved by a given embodiment is not limiting of the invention. Thus, the following aspects, features, embodiments and advantages are merely illustrative and are not considered elements or limitations of the appended claims except where explicitly recited in a claim(s). Likewise, reference to “the invention” shall not be construed as a generalization of any inventive subject matter disclosed herein and shall not be considered to be an element or limitation of the appended claims except where explicitly recited in a claim(s).
As shown in
The communication controller 7 manages the data flow of the communication, as shown in
The present invention provides a microprocessor-based embedded EtherCAT communication controller, by means of which users can use EtherCAT without the need of developing complicated master communication program, but only simple slave drive programs. The communication controller contains a corresponding computer programs. The communication controller comprises a microprocessor with a 100 Mb/s Ethernet and an integrated USB function, an Ethernet interface circuitry, an USB interface circuitry, a FLASH memory and other peripheral components. The communication controller acts as an EtherCAT master, connecting with slave nodes by a cable. It can be configured offline by a PC via the USB interface. The configuration data are stored in the FLASH memory of the controller
The corresponding computer program includes a microprocessor-based EtherCAT master communication program and a PC-based configuration software. The master communication cycle contains two EtherCAT frames; one is defined as a data fetching frame and the other as a data sending frame. The master reads input data from every slave node by means of the data fetching frame and maps the input data to the output data according to a communication relationship between slaves. Then the master sends the output data to slaves with the data sending frame. The slaves are functionally defined as a logic control master or logic control slave. A multi-logic control master system can be implemented. The PC based software can exchange data with the communication controller via the USB interface for configuring the controller and for reading status data. The configuration data includes a cycle time, a definition of slave nodes as the logic control master and logic control slaves, corresponding data addresses and a frame length.
The advantages are: in the first place, the control master can be an embedded control unit, making EtherCAT more useful in non-PC-based control systems. In the second place, EtherCAT can be implemented without detailed EtherCAT knowledge, making EtherCAT development easier.
The components in the Figures are numbered as follows:
Number | Date | Country | Kind |
---|---|---|---|
2007 1 0120312 | Aug 2007 | CN | national |
This application is a continuation of PCT Application No. PCT/EP2008/060639 filed Aug. 13, 2008, which claims priority to Chinese Patent Application No. 200710120312.6, filed Aug. 15, 2007. The entire content of both applications is hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
7657330 | Morrison | Feb 2010 | B2 |
7668994 | Albrecht et al. | Feb 2010 | B2 |
7746883 | Erickson et al. | Jun 2010 | B2 |
20050114577 | Beckhoff et al. | May 2005 | A1 |
20060161705 | Schultze et al. | Jul 2006 | A1 |
20060274746 | Kuschke et al. | Dec 2006 | A1 |
20070055391 | Schneider et al. | Mar 2007 | A1 |
20070192449 | Schultze et al. | Aug 2007 | A1 |
Number | Date | Country |
---|---|---|
200 23 360 | Dec 2003 | DE |
1 075 110 | Feb 2001 | EP |
Number | Date | Country | |
---|---|---|---|
20100241773 A1 | Sep 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/EP2008/060639 | Aug 2008 | US |
Child | 12704023 | US |