TWI721529B - Data exchange system and method applied to industrial Internet of things - Google Patents
Data exchange system and method applied to industrial Internet of things Download PDFInfo
- Publication number
- TWI721529B TWI721529B TW108129325A TW108129325A TWI721529B TW I721529 B TWI721529 B TW I721529B TW 108129325 A TW108129325 A TW 108129325A TW 108129325 A TW108129325 A TW 108129325A TW I721529 B TWI721529 B TW I721529B
- Authority
- TW
- Taiwan
- Prior art keywords
- electronic device
- information
- protocol
- processor
- port module
- Prior art date
Links
Images
Abstract
本發明係一種應用於工業物聯網的資料交換系統及方法,係由具有一EtherCAT協定與一PROFINET協定的一資訊交換裝置連接二個以上電子裝置,其中一電子裝置具有一EtherCAT協定,另一電子裝置具有一PROFINET協定,該資訊交換裝置接收該等電子裝置分別傳送的一待交換資訊,並且根據該EtherCAT協定及該PROFINET協定,對該等待交換資訊分別進行一格式轉換程序,以分別產生對應的一適用格式資訊,該資訊交換裝置將轉換後的適用格式資訊分別交換輸出給對應的電子裝置,透過該資訊交換裝置連接在具有不同協定的電子裝置間,以供對資訊進行即時地處理並交換,藉此提升使用便利性及降低系統建置成本。 The present invention is a data exchange system and method applied to the industrial Internet of Things. An information exchange device with an EtherCAT protocol and a PROFINET protocol is connected to two or more electronic devices. One electronic device has an EtherCAT protocol, and the other electronic device has an EtherCAT protocol. The device has a PROFINET protocol, and the information exchange device receives a piece of information to be exchanged sent by the electronic devices, and performs a format conversion procedure on the waiting information respectively according to the EtherCAT protocol and the PROFINET protocol to generate corresponding An applicable format information, the information exchange device exchanges and outputs the converted applicable format information to the corresponding electronic devices respectively, and connects the electronic devices with different protocols through the information exchange device for real-time processing and exchange of information , To improve the convenience of use and reduce the cost of system construction.
Description
本發明係關於一種資訊交換系統及方法,尤指一種應用於工業物聯網的資料交換系統及方法。 The present invention relates to an information exchange system and method, in particular to a data exchange system and method applied to the industrial Internet of Things.
隨著資訊產業的快速發展,使得物聯網的應用概念結合到工業領域而演化出工業物聯網,這對工業領域帶來革命性地突破;在工業物聯網中,通常將具有相同通訊的協定的電子裝置彼此連接以建立一系統,使資訊在系統間進行傳輸,以藉由資訊傳輸的過程提升電子裝置運作的可靠性,進而改善生產流程。 With the rapid development of the information industry, the application concept of the Internet of Things has been integrated into the industrial field to evolve the Industrial Internet of Things, which has brought a revolutionary breakthrough in the industrial field; in the Industrial Internet of Things, there will usually be the same communication protocol. The electronic devices are connected to each other to establish a system, so that information is transmitted between systems, so that the reliability of the operation of the electronic device is improved through the process of information transmission, and the production process is improved.
例如一種乙太網控制自動化技術(以下簡稱EtherCAT協定),EtherCAT協定是用來針對資料進行優化,當資料幀通過網路上的一節點(電子裝置)時,該節點會從資料幀複製所需的一部分資料,以對複製的資料進行處理,並且若有需要輸出的資料時,會含在資料幀內一同輸出至下一個節點,而下一個節點再重複上一個節點的動作,如此透過一個資料幀可供網路上的所有節點傳送/接收資料,藉此減少傳送/接收資料的時間。 For example, an Ethernet control automation technology (hereinafter referred to as the EtherCAT protocol). The EtherCAT protocol is used to optimize data. When the data frame passes through a node (electronic device) on the network, the node will copy the required data from the data frame Part of the data to process the copied data, and if there is data that needs to be output, it will be included in the data frame and output to the next node, and the next node will repeat the action of the previous node, so through a data frame All nodes on the network can send/receive data, thereby reducing the time of sending/receiving data.
又如一種工業乙太網協定(以下簡稱PROFINET協定),用以連接系統上的許多自動化元件,如電子元件、具有電子裝置的機械裝置等,透過信號控制該些自動化元件,以進行快速的資料交換、參數設定和機能診斷等,藉此提升準確性。 Another example is an industrial Ethernet protocol (hereinafter referred to as the PROFINET protocol), which is used to connect many automation components on the system, such as electronic components, mechanical devices with electronic devices, etc., to control these automation components through signals for fast data Exchange, parameter setting and function diagnosis, etc., to improve accuracy.
上述EtherCAT協定、PROFINET協定都是應用在工業物聯網中常見的協定;然而,不論是應用EtherCAT協定的電子裝置,或者是PROFINET協定,都僅能在對應的協定之間進行資訊交換,使得使用不同協定的電子裝置之間無法進行資訊交換,也造成系統建置複雜而成本增加。 The above-mentioned EtherCAT protocol and PROFINET protocol are common protocols used in the Industrial Internet of Things; however, whether it is an electronic device using EtherCAT protocol or PROFINET protocol, information can only be exchanged between the corresponding protocols, making the use of different It is impossible to exchange information between the agreed electronic devices, which also causes the complexity of the system to be built and the increase in cost.
有鑑於現有技術存在具有不同協定的電子裝置之間,無法即時交換資料等問題,本發明的主要目的係提供一種應用於工業物聯網的資料交換系統及方法,透過提供一資訊交換裝置連接具有不同協定的電子裝置,以進行即時資訊處理,並且對資訊進行即時交換後,供不同的電子裝置即時地將接收到的資料提供給使用者確認,以提升使用便利性以及降低系統建構成本。 In view of the problems in the prior art that electronic devices with different protocols cannot exchange data in real time, the main purpose of the present invention is to provide a data exchange system and method applied to the industrial Internet of Things, by providing an information exchange device with different connections. The agreed electronic device can perform real-time information processing, and after real-time exchange of information, different electronic devices can provide the received data to the user for confirmation in real time, so as to improve the convenience of use and reduce the cost of system construction.
為了達成上述目的所採取的技術手段,係令前述應用於工業物聯網的資料交換方法,係由具有一EtherCAT協定及一PROFINET協定的一資訊交換裝置連接一個以上具有該EtherCAT協定的第一電子裝置及一個以上具有該PROFINET協定的第二電子裝置,並且由該資訊交換裝置執行以下步驟:接收該第一電子裝置傳送的一第一待交換資訊、該第二電子裝置傳送的一第二待交換資訊;根據該PROFINET協定對該第一待交換資訊進行一格式轉換程序,以產生一第一適用格式資訊,以及根據該EtherCAT協定對該第二待交換資訊進行對應的格式轉換程序,以產生一第二適用格式資訊;將該第一適用格式資訊交換輸出給該第二電子裝置,該第二適用格式資訊交換輸出給該第一電子裝置。 In order to achieve the above-mentioned purpose, the technical means adopted is to make the aforementioned data exchange method applied to the Industrial Internet of Things to connect an information exchange device with an EtherCAT protocol and a PROFINET protocol to one or more first electronic devices with the EtherCAT protocol And one or more second electronic devices with the PROFINET protocol, and the information exchange device performs the following steps: receiving a first information to be exchanged sent by the first electronic device, and a second information to be exchanged sent by the second electronic device Information: Perform a format conversion process on the first information to be exchanged according to the PROFINET protocol to generate a first applicable format information, and perform a corresponding format conversion process on the second information to be exchanged according to the EtherCAT protocol to generate a Second applicable format information; exchange and output the first applicable format information to the second electronic device, and exchange and output the second applicable format information to the first electronic device.
透過上述方法可知,藉由該資訊交換裝置根據該PROFINET協定、該EtherCAT協定,對該第一電子裝置的第一待交換資訊、該第二電子裝置 的第二待交換資訊進行資訊格式轉換,以分別產生對應的第一適用格式資訊、第二適用格式資訊後,該資訊交換裝置將該第一適用格式資訊交換輸出給該第二電子裝置、該第二適用格式資訊交換輸出給該第一電子裝置,以供使用不同通訊的協定的電子裝置透過該資訊交換裝置可即時地進行資訊交換,藉此提升使用便利性,而且不需要對單一通訊的協定的電子裝置單獨建立對應的系統,從而降低建置成本。 Through the above method, it can be known that by the information exchange device according to the PROFINET protocol and the EtherCAT protocol, the first information to be exchanged for the first electronic device and the second electronic device After performing information format conversion on the second information to be exchanged to respectively generate corresponding first applicable format information and second applicable format information, the information exchange device exchanges and outputs the first applicable format information to the second electronic device, the The second applicable format information is exchanged and output to the first electronic device, so that electronic devices using different communication protocols can exchange information in real time through the information exchange device, thereby improving the convenience of use and eliminating the need for a single communication The agreed electronic devices separately establish corresponding systems, thereby reducing the cost of construction.
此外,由於該資訊交換裝置可供不同通訊的協定的電子裝置連接後,可減少確認連接的困擾及時間,從而提升連接效率及便利。 In addition, since the information exchange device can be connected to electronic devices with different communication protocols, the trouble and time of confirming the connection can be reduced, thereby improving connection efficiency and convenience.
進一步的,透過該資訊交換裝置供不同通訊的協定的電子裝置即時地交換資訊且即時提供給使用者參考,使得資料得以透過該資訊交換裝置進行雙向交換,藉此提升資料處理、交換的即時性,從而提升系統運作的效率。 Further, through the information exchange device, electronic devices of different communication protocols can exchange information in real time and provide it to users for reference in real time, so that data can be exchanged in both directions through the information exchange device, thereby improving the real-timeness of data processing and exchange , Thereby improving the efficiency of system operation.
為了達成上述目的所採取的另一主要技術手段,係令前述應用於工業物聯網的資料交換系統,由具有一EtherCAT協定及一PROFINET協定的一資訊交換裝置連接一個以上具有該EtherCAT協定的第一電子裝置以及一個以上具有該PROFINET協定的第二電子裝置,該資訊交換裝置包括:一第一基板;一第一連接埠模組,設置在該第一基板上供連接該第一電子裝置;一第一處理器,設置在該第一基板上並電連接該第一連接埠模組,該第一處理器透過該第一連接埠模組與該第一電子裝置傳輸資訊;一第二連接埠模組,設置在該第一基板上供連接該第二電子裝置;一第二處理器,設置在該第一基板上並電連接該第二連接埠模組、該第一處理器,該第二處理器透過該第二連接埠模組與該第二電子裝置傳輸資訊; 其中,該第一處理器、該第二處理器分別執行一協定掃描程序,以分別傳送一協定掃描資訊給對應的第一電子裝置、對應的第二電子裝置,並且分別接收該第一電子裝置回傳的一裝置協定反饋資訊、該第二電子裝置回傳的裝置協定反饋資訊;該第一處理器、該第二處理器分別根據接收到的裝置協定反饋資訊執行一協定處理程序,以分別設定使用該EtherCAT協定、該PROFINET協定;該第一處理器、該第二處理器分別根據該EtherCAT協定、該PROFINET協定,以分別傳送一初始化設定資訊給該第一電子裝置、該第二電子裝置進行一初始化設定,該第一處理器、該第二處理器分別接收該第一電子裝置、該第二電子裝置完成該初始化設定後回傳的一裝置初始參數資訊;該第一處理器、該第二處理器分別從該第一電子裝置接收一第一待交換資訊、該第二電子裝置接收一第二待交換資訊,並且進行資訊交換,該第一處理器、該第二處理器分別根據該EtherCAT協定、該PROFINET協定對交換後接收到的第一待交換資訊、第二待交換資訊執行一格式轉換程序,以分別產生對應的一第一適用格式資訊、一第二適用格式資訊,並且分別將該第二適用格式資訊傳送給第一電子裝置、該第一適用格式資訊傳送給第二電子裝置。 In order to achieve the above-mentioned purpose, the other main technical means adopted is to make the aforementioned data exchange system applied to the industrial Internet of Things, an information exchange device with an EtherCAT protocol and a PROFINET protocol is connected to more than one first with the EtherCAT protocol An electronic device and one or more second electronic devices with the PROFINET protocol. The information exchange device includes: a first substrate; a first connection port module disposed on the first substrate for connecting to the first electronic device; A first processor is disposed on the first substrate and electrically connected to the first connection port module. The first processor transmits information to the first electronic device through the first connection port module; a second connection port The module is arranged on the first substrate for connecting the second electronic device; a second processor is arranged on the first substrate and is electrically connected to the second connection port module, the first processor, and the A second processor transmits information to the second electronic device through the second connection port module; Wherein, the first processor and the second processor respectively execute a protocol scanning procedure to respectively transmit a protocol scanning information to the corresponding first electronic device and the corresponding second electronic device, and respectively receive the first electronic device A device protocol feedback information returned by the second electronic device; the device protocol feedback information returned by the second electronic device; the first processor and the second processor respectively execute a protocol processing procedure according to the received device protocol feedback information to respectively Set to use the EtherCAT protocol and the PROFINET protocol; the first processor and the second processor respectively transmit an initialization setting information to the first electronic device and the second electronic device according to the EtherCAT protocol and the PROFINET protocol Perform an initialization setting. The first processor and the second processor respectively receive a device initial parameter information returned after the first electronic device and the second electronic device complete the initialization setting; the first processor, the The second processor respectively receives a first information to be exchanged from the first electronic device, the second electronic device receives a second information to be exchanged, and performs information exchange. The first processor and the second processor are respectively based on The EtherCAT protocol and the PROFINET protocol perform a format conversion process on the first information to be exchanged and the second information to be exchanged received after the exchange, to respectively generate corresponding first applicable format information and second applicable format information, and The second applicable format information is sent to the first electronic device, and the first applicable format information is sent to the second electronic device, respectively.
根據上述系統可知,該資訊交換裝置同時內建有該EtherCAT協定及該PROFINET協定,當使用者將該第一電子裝置與該第一連接埠模組連接、該第二電子裝置與該第二連接埠模組連接後,該第一處理器、該第二處理器分別透過該協定掃描程序,確定所連接的第一電子裝置、第二電子裝置分別使用的協定後,再分別對所連接的第一電子裝置、第二電子裝置進行該初始化設定,並且記錄所分別回傳的裝置初始參數資訊,隨後該第一處理器、該第二處理器分別接收所連接的第一電子裝置的第一待交換資訊、第二電子裝置的第二待交換資訊後,將資訊進行交換後,由該第一處理器對該第二待交換資訊進 行格式轉換,以將該第二適用格式資訊輸出給第一電子裝置,以及該第二處理器對該第一待交換資訊進行格式轉換,以將該第一適用格式資訊輸出給第二電子裝置,藉此實現不同通訊的協定間的電子裝置進行即時地資訊交換,以提升使用便利性,而且不需要對單一通訊的協定的電子裝置單獨建立對應的系統,從而降低建置成本。 According to the above system, the information exchange device has both the EtherCAT protocol and the PROFINET protocol built in. When the user connects the first electronic device with the first port module, the second electronic device connects with the second After the port module is connected, the first processor and the second processor respectively use the protocol scanning program to determine the protocols used by the connected first electronic device and the second electronic device, respectively, and then perform the respective An electronic device and a second electronic device perform the initialization settings, and record the device initial parameter information returned respectively, and then the first processor and the second processor respectively receive the first standby of the connected first electronic device. After the information is exchanged, the second information to be exchanged of the second electronic device is exchanged, and the second information to be exchanged is processed by the first processor. Row format conversion to output the second applicable format information to the first electronic device, and the second processor performs format conversion on the first to-be-exchanged information to output the first applicable format information to the second electronic device In this way, real-time information exchange between electronic devices of different communication protocols is realized to improve the convenience of use, and there is no need to separately establish a corresponding system for the electronic devices of a single communication protocol, thereby reducing the construction cost.
此外,更進一步的是,由於該資訊交換裝置可供不同通訊的協定的電子裝置連接後,再判斷所使用的協定,可減少確認連接的困擾及時間,從而提升連接效率及便利。 In addition, furthermore, since the information exchange device can be connected to electronic devices with different communication protocols, and then determine the protocol used, the trouble and time of confirming the connection can be reduced, thereby improving the efficiency and convenience of the connection.
進一步的,透過該資訊交換裝置供不同通訊的協定的電子裝置即時地交換資訊且即時提供給使用者參考,使得資料得以透過該資訊交換裝置進行雙向交換,藉此提升資料處理、交換的即時性,從而提升系統運作的效率。 Further, through the information exchange device, electronic devices of different communication protocols can exchange information in real time and provide it to users for reference in real time, so that data can be exchanged in both directions through the information exchange device, thereby improving the real-timeness of data processing and exchange , Thereby improving the efficiency of system operation.
為了達成上述目的所採取的又一技術手段,係令前述應用於工業物聯網的資料交換系統,由具有一EtherCAT協定及一PROFINET協定的一資訊交換裝置連接一個以上具有該EtherCAT協定的第一電子裝置以及一個以上具有該PROFINET協定的第二電子裝置,該資訊交換裝置包括:一第一基板;一第一連接埠模組,設置在該第一基板上供連接該第一電子裝置;一第一處理器,設置在該第一基板上並電連接該第一連接埠模組,該第一處理器透過該第一連接埠模組與該第一電子裝置傳輸資訊;一第二基板;一第二連接埠模組,設置在該第二基板上供連接該第二電子裝置;一第二處理器,設置在該第二基板上並電連接該第二連接埠模組、該第一處理器,該第二處理器透過該第二連接埠模組與該第二電子裝置傳輸資訊; 其中,該第一處理器、該第二處理器分別執行一協定掃描程序,以分別傳送一協定掃描資訊給對應的第一電子裝置、對應的第二電子裝置,並且分別接收該第一電子裝置回傳的一裝置協定反饋資訊、該第二電子裝置回傳的裝置協定反饋資訊;該第一處理器、該第二處理器分別根據接收到的裝置協定反饋資訊執行一協定處理程序,以分別設定使用該EtherCAT協定、該PROFINET協定;該第一處理器、該第二處理器分別根據該EtherCAT協定、該PROFINET協定,以分別傳送一初始化設定資訊給該第一電子裝置、該第二電子裝置進行一初始化設定,該第一處理器、該第二處理器分別接收該第一電子裝置、該第二電子裝置完成該初始化設定後回傳的一裝置初始參數資訊;該第一處理器、該第二處理器分別從該第一電子裝置接收一第一待交換資訊、該第二電子裝置接收一第二待交換資訊,並且進行資訊交換,該第一處理器、該第二處理器分別根據該EtherCAT協定、該PROFINET協定對交換後接收到的第一待交換資訊、第二待交換資訊執行一格式轉換程序,以分別產生對應的一第一適用格式資訊、一第二適用格式資訊,並且分別將該第二適用格式資訊傳送給第一電子裝置、該第一適用格式資訊傳送給第二電子裝置。 In order to achieve the above-mentioned purpose, another technical method is to make the aforementioned data exchange system applied to the Industrial Internet of Things, an information exchange device with an EtherCAT protocol and a PROFINET protocol is connected to one or more first electronic devices with the EtherCAT protocol Device and one or more second electronic devices with the PROFINET protocol, the information exchange device includes: a first substrate; a first connection port module disposed on the first substrate for connecting the first electronic device; A processor arranged on the first substrate and electrically connected to the first connection port module, the first processor transmitting information to the first electronic device through the first connection port module; a second substrate; The second connection port module is arranged on the second substrate for connecting the second electronic device; a second processor is arranged on the second substrate and is electrically connected to the second connection port module and the first processor A device, the second processor transmits information to the second electronic device through the second connection port module; Wherein, the first processor and the second processor respectively execute a protocol scanning procedure to respectively transmit a protocol scanning information to the corresponding first electronic device and the corresponding second electronic device, and respectively receive the first electronic device A device protocol feedback information returned by the second electronic device; the device protocol feedback information returned by the second electronic device; the first processor and the second processor respectively execute a protocol processing procedure according to the received device protocol feedback information to respectively Set to use the EtherCAT protocol and the PROFINET protocol; the first processor and the second processor respectively transmit an initialization setting information to the first electronic device and the second electronic device according to the EtherCAT protocol and the PROFINET protocol Perform an initialization setting. The first processor and the second processor respectively receive a device initial parameter information returned after the first electronic device and the second electronic device complete the initialization setting; the first processor, the The second processor respectively receives a first information to be exchanged from the first electronic device, the second electronic device receives a second information to be exchanged, and performs information exchange. The first processor and the second processor are respectively based on The EtherCAT protocol and the PROFINET protocol perform a format conversion process on the first information to be exchanged and the second information to be exchanged received after the exchange, to respectively generate corresponding first applicable format information and second applicable format information, and The second applicable format information is sent to the first electronic device, and the first applicable format information is sent to the second electronic device, respectively.
根據上述系統可知,藉由該資訊交換裝置內建該EtherCAT協定及該PROFINET協定,以供該第一電子裝置、該第二電子裝置連接後,尤該第一處理器、該第二處理器確定該第一電子裝置、該第二電子裝置個別使用的協定後,對該第一電子裝置、該第二電子裝置進行該初始化設定完後,當該第一處理器、該第二處理器分別接收所連接的第一電子裝置的第一待交換資訊、第二電子裝置的第二待交換資訊,且進行資訊交換後,該第一處理器對該第二待交換資訊進行格式轉換以產生該第二適用格式資訊並輸出給第一電子裝置,該第二處理器對該第一待交換資訊進行格式轉換以產生該第一適用格式資訊並輸 出給第二電子裝置,藉此實現不同通訊的協定間的電子裝置進行即時地資訊交換,以提升使用便利性,而且不需要對單一通訊的協定的電子裝置單獨建立對應的系統,從而降低建置成本。 According to the above system, the EtherCAT protocol and the PROFINET protocol are built in the information exchange device to connect the first electronic device and the second electronic device, especially the first processor and the second processor. After the protocol used by the first electronic device and the second electronic device individually, after the initial setting of the first electronic device and the second electronic device is completed, when the first processor and the second processor respectively receive After the first information to be exchanged of the connected first electronic device, the second information to be exchanged of the second electronic device, and the information exchange is performed, the first processor performs format conversion on the second information to be exchanged to generate the second information 2. Applicable format information is output to the first electronic device, and the second processor performs format conversion on the first information to be exchanged to generate the first applicable format information and output The second electronic device is used to realize the real-time information exchange between electronic devices of different communication protocols, so as to improve the convenience of use, and there is no need to establish a corresponding system for the electronic devices of a single communication protocol, thereby reducing construction Cost of ownership.
進一步的,由於該資訊交換裝置可供不同通訊的協定的電子裝置連接後,再判斷所使用的協定,可減少確認連接的困擾及時間,從而提升連接效率及便利。 Further, since the information exchange device can be connected to electronic devices with different communication protocols, and then determine the protocol used, the trouble and time of confirming the connection can be reduced, thereby improving the efficiency and convenience of the connection.
進一步的,透過該資訊交換裝置供不同通訊的協定的電子裝置即時地交換資訊且即時提供給使用者參考,使得資料得以透過該資訊交換裝置進行雙向交換,藉此提升資料處理、交換的即時性,從而提升系統運作的效率。 Further, through the information exchange device, electronic devices of different communication protocols can exchange information in real time and provide it to users for reference in real time, so that data can be exchanged in both directions through the information exchange device, thereby improving the real-timeness of data processing and exchange , Thereby improving the efficiency of system operation.
10:資訊交換裝置 10: Information Exchange Device
11:第一基板 11: The first substrate
12:第一連接埠模組 12: The first port module
13:第一處理器 13: the first processor
14:第二連接埠模組 14: The second port module
15:第二處理器 15: second processor
16:殼體 16: shell
17:第二基板 17: Second substrate
20:第一電子裝置 20: The first electronic device
30:第二電子裝置 30: second electronic device
S40、S50、S60:步驟 S40, S50, S60: steps
圖1 係本發明第一較佳實施例的系統架構方塊圖 Figure 1 is a block diagram of the system architecture of the first preferred embodiment of the present invention
圖2 係本發明第一較佳實施例的另一系統架構方塊圖。 FIG. 2 is a block diagram of another system architecture of the first preferred embodiment of the present invention.
圖3 係本發明第一較佳實施例的又一系統架構方塊圖。 FIG. 3 is a block diagram of another system architecture of the first preferred embodiment of the present invention.
圖4 係本發明第二較佳實施例的系統架構方塊圖。 FIG. 4 is a block diagram of the system architecture of the second preferred embodiment of the present invention.
圖5 係本發明第三較佳實施例的方法流程圖。 Figure 5 is a flow chart of the method of the third preferred embodiment of the present invention.
關於本發明應用於工業物聯網的資料交換系統的第一較佳實施例,請參考圖1所示,係由一資訊交換裝置10連接一個以上第一電子裝置20及一個以上第二電子裝置30,使該第一電子裝置20、該第二電子裝置30經由該資訊交換裝置10進行即時資訊交換,該資訊交換裝置10內建一EtherCAT協定與一
PROFINET協定,該第一電子裝置20具有該EtherCAT協定,該第二電子裝置30具有該PROFINET協定,該資訊交換裝置10接收該第一電子裝置20、該第二電子裝置30分別傳送的一待交換資訊,並且根據該EtherCAT協定及該PROFINET協定,對該等待交換資訊分別進行一格式轉換程序,以分別產生對應的一適用格式資訊,該資訊交換裝置10將轉換後的適用格式資訊分別交換輸出給對應的第一電子裝置20、第二電子裝置30。
Regarding the first preferred embodiment of the data exchange system applied to the Industrial Internet of Things of the present invention, please refer to FIG. 1. An
為更具體說明本較佳實施例的內容,進一步的,請參考圖2所示,在本實施例中,該資訊交換裝置10進一步包括一第一基板11、一第一連接埠模組12、一第一處理器13、一第二連接埠模組14及一第二處理器15;進一步的,該資訊交換裝置10包括一殼體16,該第一基板11、該第一連接埠模組12、該第一處理器13、該第二連接埠模組14及該第二處理器15設置在該殼體16內,並且該第一連接埠模組12、該第二連接埠模組14露出該殼體16,以供連接該第一電子裝置20、該第二電子裝置30,透過該殼體16提供包覆、保護及固定的功能。在本實施例中,該第一基板11具體包括一電路板,並且該第一基板11上設有多數訊號線路用以傳遞訊號、電源。
In order to describe the content of this preferred embodiment in more detail, further, please refer to FIG. 2. In this embodiment, the
請參考圖2所示,該第一連接埠模組12設置在該第一基板11上,以供與該第一電子裝置20電連接。
Please refer to FIG. 2, the first
請參考圖2所示,該第一處理器13設置在該第一基板11上,並且電連接該第一連接埠模組12,以透過該第一連接埠模組12與該第一電子裝置20傳輸資訊,該第一處理器13內建該EtherCAT協定及該PROFINET協定。
Please refer to FIG. 2, the
請參考圖2所示,該第二連接埠模組14設置在該第一基板11上,以供與該第二電子裝置30電連接。
Please refer to FIG. 2, the second
請參考圖2所示,該第二處理器15設置在該第一基板11上,並且電連接該第二連接埠模組14及該第一處理器13,該第二處理器15透過該第二連
接埠模組14與該第二電子裝置30傳輸資訊,該第二處理器15內建該PROFINET協定及該EtherCAT協定。
Please refer to FIG. 2, the
關於本發明第一較佳實施例的另外一種系統架構,請參考圖3所示,該第一連接埠模組12包括多個連接埠,透過該等連接埠使得該第一連接埠模組12可連接該第一電子裝置20、該第二電子裝置30;該第二連接埠模組14包括多個連接埠,透過該等連接埠使得該第二連接埠模組14可連接該第一電子裝置20、該第二電子裝置30。
For another system architecture of the first preferred embodiment of the present invention, please refer to FIG. 3. The
具體而言,當該第一電子裝置20與該第一連接埠模組12連接,該第二電子裝置30與該第二連接埠模組14連接時,該資訊交換裝置10為了確認該第一電子裝置20、該第二電子裝置30所使用的通訊的協定,該第一處理器13、該第二處理器15分別執行一協定掃描程序,且該第一處理器13傳送一協定掃描資訊給該第一電子裝置20,並且接收該第一電子裝置20回傳的一裝置協定反饋資訊,使得該第一處理器13根據接收到的裝置協定反饋資訊確認該第一電子裝置20所使用的協定,該第二處理器15傳送對應的協定掃描資訊給該第二電子裝置30,並且接收該第二電子裝置30回傳的裝置協定反饋資訊,使得該第二處理器15根據接收到的裝置協定反饋資訊確認該第二電子裝置30所使用的協定,藉此有效地先確認不同電子裝置所使用的通訊的協定,以提升裝置之間通訊的可靠性。
Specifically, when the first
當該資訊交換裝置10根據回傳的裝置協定反饋資訊,確認完成該第一電子裝置20使用該EtherCAT協定、該第二電子裝置30使用該PROFINET協定後,該資訊交換裝置10需要設定對應該第一電子裝置20的第一處理器13所使用的協定,以及設定對應該第二電子裝置30的第二處理器15所使用的協定,因此,該第一處理器13、該第二處理器15分別根據接收到的裝置協定反饋資訊執行一協定處理程序,以令該第一處理器13設定使用該EtherCAT協定,該第二
處理器15設定使用該PROFINET協定,藉此完成該資訊交換裝置10的通訊的協定的設定,以提升裝置之間對應的通訊的正確性。
After the
進一步的,設定完成通訊的協定後,為了令該資訊交換裝置10與該第一電子裝置20、該第二電子裝置30完成最後的連接設定,從而讓資訊傳輸正常,以及該第一處理器13、該第二處理器15紀錄該第一電子裝置20、該第二電子裝置30的裝置資訊如連接腳位、裝置設定參數等,該第一處理器13、該第二處理器15分別執行一初始化設定程序,該第一處理器13根據該EtherCAT協定傳送一初始化設定資訊給該第一電子裝置20,該第二處理器15根據該PROFINET協定傳送對應的初始化設定資訊給該第二電子裝置30,且該第一處理器13接收該第一電子裝置20完成該初始化設定後的一裝置初始參數資訊,該第二處理器15接收該第二電子裝置30完成該初始化設定後的一裝置初始參數資訊,藉此供該資訊交換裝置10紀錄對應該第一電子裝置20、該第二電子裝置30各別的訊號傳輸腳位、電子裝置參數,以完成連線設定。
Further, after the communication protocol is set, in order to make the
當該資訊交換裝置10與該第一電子裝置20、該第二電子裝置30之間完成該協定掃描程序以確定使用的通訊的協定、完成該協定處理程序而設定完成使用的通訊的協定,以及該初始化設定程序以完成初始化設定、紀錄相關參數後,該資訊交換裝置10供該第一電子裝置20、該第二電子裝置30交換資訊。
When the
當該第一處理器13從該第一電子裝置20接收一第一待交換資訊,該第二處理器15從該第二電子裝置30接收一第二待交換資訊時,該第一處理器13、該第二處理器15將該第一待交換資訊、該第二待交換資訊進行資訊交換後,該第一處理器13得該第二待交換資訊,該第二處理器15取得該第一待交換資訊,該第二處理器15根據該PROFINET協定對該第一待交換資訊執行一格式轉換程序,以對應產生一第一適用格式資訊,並且輸出給該第二電子裝置
30,以及該第一處理器13根據該EtherCAT協定對該第二待交換資訊執行一格式轉換程序,以對應產生一第二適用格式資訊,並輸出給該第一電子裝置20,藉此完成使不同通訊的協定的電子裝置之間即時地交換資訊,並且供該第一電子裝置20、該第二電子裝置30將交換後取得的資料即時地提供給使用者參考(如即時地顯示給使用者確認)。
When the
關於本發明應用於工業物聯網的資料交換系統的第二較佳實施例,請參考圖4所示,本發明第二較佳實施例與本發明第一較佳實施例大致上相同,惟第二較佳實施例進一步包括一第二基板17,該第二基板17亦設置在該殼體16內,並且該第二連接埠模組14及該第二處理器15係設置在該第二基板17上;其中,該第二基板17具體包括一電路板,該第二基板17上同樣設有多數線路,用以傳遞訊號、電源。
Regarding the second preferred embodiment of the data exchange system applied to the industrial Internet of Things of the present invention, please refer to FIG. 4. The second preferred embodiment of the present invention is substantially the same as the first preferred embodiment of the present invention. The second preferred embodiment further includes a
根據上述內容進一步歸納出一應用於工業物聯網的資料交換方法,請參考圖5所示,係由具有該EtherCAT協定及該PROFINET協定的資訊交換裝置10連接具有該EtherCAT協定的第一電子裝置20及具有該PROFINET協定的第二電子裝置30,該方法包括以下步驟:接收該第一電子裝置20傳送的第一待交換資訊、該第二電子裝置30傳送的一第二待交換資訊(S40);根據該PROFINET協定對該第一待交換資訊進行一格式轉換程序,以產生一第一適用格式資訊,以及根據該EtherCAT協定對該第二待交換資訊進行對應的格式轉換程序,以產生一第二適用格式資訊(S50);將該第一適用格式資訊交換輸出給該第二電子裝置30,該第二適用格式資訊交換輸出給該第一電子裝置20(S60)。
Based on the above content, a data exchange method applied to the Industrial Internet of Things is further summarized. Please refer to FIG. 5, where the
進一步的,當執行上述「接收該第一電子裝置20傳送的第一待交換資訊、該第二電子裝置30傳送的一第二待交換資訊(S40)」的步驟前,該資
訊交換裝置10會先執行一協定掃描程序,以分別傳送一協定掃描資訊給該第一電子裝置20、該第二電子裝置30,並且接收該第一電子裝置20、該第二電子裝置30分別根據該協定掃描資訊所回傳的裝置協定反饋資訊,以確認該第一電子裝置20使用該EtherCAT協定、該第二電子裝置30使用該PROFINET協定。
Further, before the step of “receiving the first information to be exchanged sent by the first
進一步的,當該資訊交換裝置10完成該協定掃描程序後,該資訊交換裝置10進一步執行一協定處理程序,以設定該資訊交換裝置10對應該第一電子裝置20使用該EtherCAT協定,以及對應該第二電子裝置30使用該PROFINET協定。
Further, after the
更進一步的,當該資訊交換裝置10完成該協定處理程序後,該資訊交換裝置10進一步執行一初始化設定程序,以根據該EtherCAT協定、該PROFINET協定,分別傳送一初始化設定資訊給該第一電子裝置20、該第二電子裝置30,以供該第一電子裝置20、該第二電子裝置30分別進行一初始化設定,且該資訊交換裝置10分別接收該第一電子裝置20回傳的一裝置初始參數資訊,以及接收該第二電子裝置30回傳的一裝置初始參數資訊。
Furthermore, after the
根據上述內容,本發明透過該資訊交換裝置10連接該第一電子裝置20、該第二電子裝置30,以即時性地將該第一電子裝置20所輸出的資訊、該第二電子裝置30所輸出的資訊分別進行轉換後,交換輸出給該第一電子裝置20、該第二電子裝置30,以實現在使用不同通訊的協定下的電子裝置能即時地進行資訊交換,以提升使用便利性,進而不需要受限對單一通訊的協定的電子裝置,無法與使用其他通訊的協定的電子裝置之間交換資訊,而必須單獨建立對應的系統的問題,從而降低建置成本。
Based on the above content, the present invention connects the first
更進一步的,由於該資訊交換裝置10可供不同通訊的協定的電子裝置連接後,再判斷所使用的協定,可減少確認連接的困擾及時間,從而提升連接效率及便利。
Furthermore, since the
進一步的,透過該資訊交換裝置10供不同通訊的協定的電子裝置即時地交換資訊且即時提供給使用者參考,使得資料得以透過該資訊交換裝置10進行雙向交換,藉此提升資料處理、交換的即時性,從而提升系統運作的效率。
Further, through the
10:資訊交換裝置 10: Information Exchange Device
20:第一電子裝置 20: The first electronic device
30:第二電子裝置 30: second electronic device
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108129325A TWI721529B (en) | 2019-08-16 | 2019-08-16 | Data exchange system and method applied to industrial Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108129325A TWI721529B (en) | 2019-08-16 | 2019-08-16 | Data exchange system and method applied to industrial Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202110142A TW202110142A (en) | 2021-03-01 |
TWI721529B true TWI721529B (en) | 2021-03-11 |
Family
ID=76035402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108129325A TWI721529B (en) | 2019-08-16 | 2019-08-16 | Data exchange system and method applied to industrial Internet of things |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI721529B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104734980A (en) * | 2015-04-10 | 2015-06-24 | 常州多维信息科技有限公司 | Industrial field bus multi-protocol router and multi-protocol conversion method |
TWM587411U (en) * | 2019-08-16 | 2019-12-01 | 維田科技股份有限公司 | Data exchange system for industrial Internet of Things |
-
2019
- 2019-08-16 TW TW108129325A patent/TWI721529B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104734980A (en) * | 2015-04-10 | 2015-06-24 | 常州多维信息科技有限公司 | Industrial field bus multi-protocol router and multi-protocol conversion method |
TWM587411U (en) * | 2019-08-16 | 2019-12-01 | 維田科技股份有限公司 | Data exchange system for industrial Internet of Things |
Also Published As
Publication number | Publication date |
---|---|
TW202110142A (en) | 2021-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW200815987A (en) | Device connection system and device connection method | |
JPH04337945A (en) | Protocol composition/decomposition supporting device | |
KR100619960B1 (en) | Remote control apparatus and method for controlling remotely debugging tool through internet | |
JP2019179361A (en) | Safety control system and safety control unit | |
TWI721529B (en) | Data exchange system and method applied to industrial Internet of things | |
TWM587411U (en) | Data exchange system for industrial Internet of Things | |
CN110914769B (en) | Process control | |
US20020152341A1 (en) | Method and system for generating multiple self-ID packets on the 1394 bus using a standard PHY chip | |
JP2008187711A (en) | Communication gateway between two entities | |
TWI701938B (en) | Internet telephone device, external connection card and communication method therefor | |
CN115695090A (en) | Data transmission method, internet of things gateway equipment and computer readable storage medium | |
CN114442590A (en) | Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium | |
JPH01135150A (en) | Node address setting system for network | |
JPWO2011145541A1 (en) | Bus control device and bus control method | |
JP2004222292A (en) | Module capable of performing connection between buses | |
CN115373927B (en) | Product testing method, device, electronic equipment and computer readable medium | |
KR102021333B1 (en) | Test automation method and apparatus thereof | |
JPH02219151A (en) | Computer input/output system and its channel diagnostics | |
TWI808694B (en) | Device, system and method for transmitting commands with circuit of circuit board to test circuit board | |
TWI597958B (en) | Remote control system | |
CN218162477U (en) | Data transmission board and system based on hardware simulation accelerator | |
CN113742146B (en) | Test jig and test device | |
CN112987690B (en) | Espi controller verification system and method | |
JP2003067270A (en) | Communication protocol test equipment | |
WO2020103107A1 (en) | Data processing apparatus |