TWI803158B - Electronic device for conducting communications through secs/gem protocol and use thereof - Google Patents
Electronic device for conducting communications through secs/gem protocol and use thereof Download PDFInfo
- Publication number
- TWI803158B TWI803158B TW111102281A TW111102281A TWI803158B TW I803158 B TWI803158 B TW I803158B TW 111102281 A TW111102281 A TW 111102281A TW 111102281 A TW111102281 A TW 111102281A TW I803158 B TWI803158 B TW I803158B
- Authority
- TW
- Taiwan
- Prior art keywords
- machine
- electronic device
- communication interface
- file
- language
- Prior art date
Links
Images
Landscapes
- General Factory Administration (AREA)
- Communication Control (AREA)
Abstract
Description
本發明為關於智慧工廠的技術領域,尤指一種可實現SECS/GEM通訊協議之電子裝置及其用途。 The invention relates to the technical field of smart factories, especially an electronic device capable of implementing SECS/GEM communication protocol and its application.
已知,製造執行系統(Manufacturing Execution System,MES)又稱為工廠營運管制系統,其通常與企業資源規劃系統(Enterprise Resource Planning,ERP)及/或先進規劃排程系統(Advanced Planning and Scheduling System,APS)配合使用,從而幫助企業實現任一種產品之自動化生產。目前,MES系統係整合工業物聯網(Industrial Internet of Things,IIoT)技術,從而實現在製品(Work in Process,WIP)的原物料及機台狀況的追蹤和控管,從而實現智慧工廠。 As known, the Manufacturing Execution System (MES) is also called the factory operation control system, which is usually combined with the Enterprise Resource Planning System (Enterprise Resource Planning, ERP) and/or the Advanced Planning and Scheduling System (Advanced Planning and Scheduling System, APS) can be used together to help enterprises realize the automatic production of any kind of product. At present, the MES system integrates the Industrial Internet of Things (IIoT) technology to realize the tracking and control of the raw materials and machine status of the Work in Process (WIP), thereby realizing the smart factory.
現有的MES系統之中,可程式化邏輯控制器(Programmable logic controller,PLC)或電腦(Personal computer)等機台控制器為不可或缺的裝置。圖1顯示習知的一種MES系統的簡單架構圖。如圖1所示,該MES系統1a包括:一中央控制裝置11a、至少一SECS/GEM閘道器12a、至少一PLC或PC等機台控制器裝置13a、以及至少一個
機台3a。應知道,基於機台保護以及機台避免操作失當,設備商通常將機台的控制系統設計成封閉型式。因此,中央控制裝置11a無法直接資訊連結各個機台3a,而是必須透過PLC或PC等機台控制器裝置13a。然而,依據半導體設備與材料國際聯盟(Semiconductor Equipment and Materials International,SEMI)的定義,機台3a與中央控制裝置11a之間透過SECS/GEM協議實現通訊。更詳細地說明,SECS為半導體設備通訊標準(SEMI Equipment Communication Standard),且GEM為機台之通訊與控制的泛用模型,故稱為泛用設備模型(Generic Equipment Model)。
In the existing MES system, machine controllers such as programmable logic controller (Programmable logic controller, PLC) or computer (Personal computer) are indispensable devices. Figure 1 shows a simple architecture diagram of a known MES system. As shown in Figure 1, the MES system 1a includes: a
因此,在舊式的PLC或PC等機台控制器裝置13a不具備SECS/GEM通訊介面的情況下,必須利用一SECS/GEM閘道器12a使該中央控制裝置11a和該PLC或PC等機台控制器裝置13a之間可以透過SECS/GEM協議實現通訊,從而透過該PLC或PC等機台控制器裝置13a資訊連結/控制機台3a。
Therefore, when the
當然,隨著科技的進步,新式的PLC或PC等裝置也具備了SECS/GEM通訊介面。圖2顯示包含內建SECS/GEM通訊介面之PLC或PC等裝置的另一MES系統的簡單架構圖。如圖2所示,該MES系統2a包括:一中央控制裝置21a、至少一PLC或PC等機台控制器裝置23a、以及至少一個機台3a,其中,該PLC或PC等機台控制器裝置23a內建SECS/GEM通訊介面,使該中央控制裝置21a可以利用SECS/GEM協議直接和該PLC或PC等機台控制器裝置23a進行通訊,從而透過該PLC或PC等機台控制器裝置13a資訊連結/控制機台3a。
Of course, with the advancement of technology, new devices such as PLCs or PCs also have SECS/GEM communication interfaces. Figure 2 shows a simple structure diagram of another MES system including devices such as PLC or PC with built-in SECS/GEM communication interface. As shown in Figure 2, the
更進一步地說明,收集事件(Collection events)是SECS/GEM通訊協議的一個關鍵特性。舉例而言,一機台解鎖檢查事件指的是,MES系統2a依據先進規劃排程系統資料庫裡設備操作人員排班資訊,嘗試解鎖該機台3a。機台解鎖檢事件觸發後,MES系統2a的中央控制裝置21a會透過內建SECS/GEM通訊介面之PLC或PC等機台控制器裝置23a向指定的機台3a下達一機台解鎖檢查。收到該機台3a解鎖檢查之後,該機台3a會先回覆一個訊息給中央控制裝置21a,向其確認有收到該命令,接著執行解鎖檢查。完成解鎖檢查之後,無論該員工編號是否具備機台解鎖之權限,該機台3a都會透過PLC或PC等裝置23a回覆對應的訊息給中央控制裝置21a。
To further illustrate, collection events (Collection events) is a key feature of the SECS/GEM communication protocol. For example, a machine unlock check event means that the
更詳細地說明,機台3a發送的每個收集事件都會含有與其對應的一個的機台編號以供識別。對於製造廠而言,不同產線所使用的機台3a必然不會相同,因此,販售內建SECS/GEM通訊介面之PLC或PC等機台控制器裝置23a(如圖2所示)或販售SECS/GEM閘道器12a的供應商便會依據製造廠所提出的要求,在該PLC或PC等機台控制器裝置23a和該SECS/GEM閘道器12a之中事先編輯好對應的機台3a的各種收集事件(Collection events)的機台回覆內容。當然,所述機台回覆內容通常包含先進規劃排程系統所有參數,例如由事件編號、報表編號、機台編號、生產或檢測參數、生產或檢測數量、生產或檢測批號、警報編號、警報狀態、設備狀態、原物料編號、操作人員編號等所組成。
In more detail, each collection event sent by the
可想而知,機台3a及/或操作人員進行替換、增加、或減少之時,必須對應地更改各個收集事件的機台回覆內容。製造廠雖然具有IT人員,然而,要連線至內建SECS/GEM通訊介面的PLC或PC等
機台控制器裝置23a或SECS/GEM閘道器12a去檢視各個收集事件的機台回覆內容的程式碼,然後找到對應處從而執行程式碼之替換、增加、或減少,對於這些IT人員而言亦非易事。在這種情況下,製造廠通常會將內建SECS/GEM通訊介面的PLC或PC等機台控制器裝置23a或SECS/GEM閘道器12a送回去供應商,請供應商協助完成執行程式碼之替換、增加、或減少之後,再將PLC或PC等機台控制器裝置23a或SECS/GEM閘道器12a送回。
It is conceivable that when the
由上述說明可知,習知的內建SECS/GEM通訊介面的PLC或PC等機台控制器裝置23a或SECS/GEM閘道器12a顯然仍存在需要加以改善之處。有鑑於此,本案之發明人係極力加以研究發明,而終於研發完成本發明之一種電子裝置。
From the above description, it can be known that the conventional
本發明之主要目的在於提供一種電子裝置,其係應用於整合在一MES系統之中,耦接於一中央控制裝置和耦接至少一機台的一機台控制裝置之間,使得該中央控制裝置可以利用SECS/GEM協議而透過該機台控制裝置資訊連結該至少一機台。 The main purpose of the present invention is to provide an electronic device, which is applied to be integrated in an MES system, coupled between a central control device and a machine control device coupled to at least one machine, so that the central control The device can use the SECS/GEM protocol to link the at least one machine through the information of the machine control device.
本發明將包含先進規劃排程系統所有參數,例如由事件編號、報表編號、機台編號、生產或檢測參數、生產或檢測數量、生產或檢測批號、警報編號、警報狀態、設備狀態、原物料編號、操作人員編號等所組成,以及回覆文字的字串(string)等以代碼表示,並依SML格式編輯包含機台回覆訊息的電腦可讀檔案(如:txt檔),使對應一收集事件(collection event)的一機台回覆訊息包含一共通部分 以及複數個所述代碼。同時,本發明利用程式語言(如:C#語言)將該機台回覆訊息之中複數個所述代碼分別和複數個所述字串進行鏈接。依此設計,若有需要增加/減少收集事件,供應商及/或製造商只需增加/刪除電腦可讀檔案,非常方便。另一方面,若有需要變更對應所述收集事件的回覆文字,供應商及/或製造商亦可在程式語言的編輯器內進行變更。 The present invention will include all parameters of the advanced planning and scheduling system, such as event number, report number, machine number, production or testing parameters, production or testing quantity, production or testing batch number, alarm number, alarm status, equipment status, raw material Number, operator number, etc., and the reply text string (string), etc. are represented by codes, and the computer-readable file (such as: txt file) containing the machine reply message is edited in SML format, so that it corresponds to a collection event (collection event) a machine reply message contains a common part and a plurality of said codes. At the same time, the present invention uses a programming language (such as: C# language) to link the plurality of said codes in the reply message of the machine with the plurality of said strings respectively. According to this design, if there is a need to increase/decrease collection events, suppliers and/or manufacturers only need to add/delete computer-readable files, which is very convenient. On the other hand, if it is necessary to change the reply text corresponding to the collection event, the supplier and/or manufacturer can also make changes in the editor of the programming language.
為達成上述目的,本發明提出所述電子裝置的一實施例,用以耦接於一中央控制裝置和耦接至少一機台的一機台控制裝置之間,使得該中央控制裝置可以利用SECS/GEM協議而透過該機台控制裝置資訊連結該至少一機台;所述電子裝置包括:一微處理器;一第一通訊介面,耦接該微處理器,其中,該微處理器透過該第一通訊介面和該中央控制裝置通訊;一第二通訊介面,耦接該微處理器,其中,該微處理器透過該第二通訊介面和該機台控制裝置通訊;以及一儲存單元,儲存有複數個電腦可讀檔案以及利用一程式語言編寫的至少一鏈接程式,其中,各所述電腦可讀檔案含有依SML格式編輯的一機台回覆訊息,且該機台回覆訊息包含一共通部分以及複數個先進規劃排程系統參數代碼;以及一用戶界面,耦接該微處理器;其中,如當該機台的一收集事件(collection event)發生時,該機台控制裝置透過該第二通訊介面將發生所述收集事件的該機台的一 機台識別碼以及一操作人員識別碼等先進規劃排程系統參數傳送至該微處理器,該微處理器依據所述收集事件而自該儲存單元存取對應的一個所述電腦可讀檔案,接著執行該鏈接程式以將所述機台回覆訊息之複數個所述代碼分別和複數個字串進行鏈接,從而透過該第一通訊介面將符合SECS/GEM協議的所述機台回覆先進規劃排程系統參數訊息傳送至該中央控制裝置;其中,該複數個字串包含:一命令碼、複數個回覆句子、至少一個設備參數,且所述設備參數為選自於先進規劃排程系統所有參數,包含由事件編號、報表編號、機台編號、生產或檢測參數、生產或檢測數量、生產或檢測批號、警報編號、警報狀態、設備狀態、原物料編號、操作人員編號等所組成群組。 To achieve the above object, the present invention proposes an embodiment of the electronic device, which is used to be coupled between a central control device and a machine control device coupled to at least one machine, so that the central control device can utilize SECS /GEM protocol to link the at least one machine through the machine control device information; the electronic device includes: a microprocessor; a first communication interface coupled to the microprocessor, wherein the microprocessor passes through the The first communication interface communicates with the central control device; a second communication interface is coupled to the microprocessor, wherein the microprocessor communicates with the machine control device through the second communication interface; and a storage unit stores There are a plurality of computer-readable files and at least one link program written in a programming language, wherein each of the computer-readable files contains a machine reply message edited in SML format, and the machine reply message includes a common part and a plurality of advanced planning and scheduling system parameter codes; and a user interface coupled to the microprocessor; wherein, when a collection event (collection event) of the machine occurs, the machine control device passes through the second A communication interface of the machine on which the collection event will occur Advanced planning and scheduling system parameters such as machine identification code and an operator identification code are sent to the microprocessor, and the microprocessor accesses a corresponding computer-readable file from the storage unit according to the collection event, Then execute the linking program to link the plurality of codes of the machine reply message with the plurality of strings respectively, so as to reply the advanced planning arrangement of the machine conforming to the SECS/GEM protocol through the first communication interface The process system parameter message is sent to the central control device; wherein, the plurality of strings include: a command code, a plurality of reply sentences, at least one equipment parameter, and the equipment parameter is selected from all parameters of the advanced planning and scheduling system , including event number, report number, machine number, production or inspection parameters, production or inspection quantity, production or inspection batch number, alarm number, alarm status, equipment status, raw material number, operator number, etc.
在一實施例中,所述電子裝置為選自於由桌上型電腦、筆記型電腦、平板電腦、一體式(All-In-One)電腦、工業電腦、伺服器、雲端伺服器、人機介面和機台控制器所組成群組之中的任一種。 In one embodiment, the electronic device is selected from desktop computers, notebook computers, tablet computers, all-in-one (All-In-One) computers, industrial computers, servers, cloud servers, man-machine Any one of the group consisting of interface and machine controller.
在一實施例中,所述電腦可讀檔案為選自於由txt檔、sml檔、int檔、doc檔、docx檔、xls檔、和xlsx檔所組成群組之中的任一種檔案。 In one embodiment, the computer readable file is any file selected from the group consisting of txt file, sml file, int file, doc file, docx file, xls file, and xlsx file.
在一實施例中,該程式語言為選自於由C語言、C++語言、C#語言、Visual C++語言、Delphi語言、Visual Basic語言、Python語言、Structure Text語言、和Java語言所組成群組之中的任一種程式語言。 In one embodiment, the programming language is selected from the group consisting of C language, C++ language, C# language, Visual C++ language, Delphi language, Visual Basic language, Python language, Structure Text language, and Java language any programming language.
在一實施例中,該第一通訊介面為一有線通訊介面或一無線通訊介面。 In one embodiment, the first communication interface is a wired communication interface or a wireless communication interface.
在一實施例中,該第二通訊介面為一有線通訊介面或一無線通訊介面。 In one embodiment, the second communication interface is a wired communication interface or a wireless communication interface.
在一實施例中,本發明之電子裝置更包括:耦接該微處理器的一用戶界面。 In one embodiment, the electronic device of the present invention further includes: a user interface coupled to the microprocessor.
在一實施例中,該微處理器具有:一匯入單元,係以一實體按鍵或一虛擬按鍵的形式在該用戶界面之中呈現;其中,在一外部電子裝置耦接所述電子裝置的情況下,啟用該匯入單元可將多個所述電腦可讀檔案自該外部電子裝置匯入所述電子裝置,且儲存在該儲存單元;一選擇單元,係以一實體按鍵或一虛擬按鍵的形式在該用戶界面之中呈現;其中,啟用該選擇單元可自該儲存單元中選擇一個所述電腦可讀檔案;以及一編輯單元,係以一實體按鍵或一虛擬按鍵的形式在該用戶界面之中呈現;其中,在選擇一個所述電腦可讀檔案之後,啟用該編輯單元可對該電腦可讀檔案進行編輯;其中,啟用該編輯單元亦可對該鏈接程式進行編輯。 In one embodiment, the microprocessor has: an import unit, which is presented in the user interface in the form of a physical key or a virtual key; wherein, an external electronic device coupled to the electronic device In some cases, enabling the import unit can import a plurality of computer-readable files from the external electronic device into the electronic device and store them in the storage unit; a selection unit is a physical button or a virtual button is presented in the user interface; wherein, enabling the selection unit can select one of the computer-readable files from the storage unit; and an editing unit is in the form of a physical button or a virtual button on the user displayed in the interface; wherein, after selecting one of the computer-readable files, the editing unit can be activated to edit the computer-readable file; wherein, the editing unit can also be activated to edit the link program.
1a、2a:MES系統 1a, 2a: MES system
11a、21a:中央控制裝置 11a, 21a: central control device
12a:SECS/GEM閘道器 12a:SECS/GEM Gateway
13a、23a:機台控制器裝置 13a, 23a: machine controller device
3a:機台 3a: machine
1:MES系統 1: MES system
11:中央控制裝置 11: Central control device
12:電子裝置 12: Electronic device
120:微處理器 120: Microprocessor
1201:匯入單元 1201: import unit
1202:選擇單元 1202: select unit
1203:編輯單元 1203: edit unit
121:第一通訊介面 121: The first communication interface
122:第二通訊介面 122: Second communication interface
123:儲存單元 123: storage unit
124:用戶界面 124: User interface
13:機台控制裝置 13: Machine control device
3:機台 3: machine
圖1為習知的一種MES系統的簡單架構圖; 圖2為包含內建SECS/GEM通訊介面之PLC或PC等裝置的另一MES系統的簡單架構圖;圖3為包含本發明之一種電子裝置的一MES系統的簡單架構圖;圖4為本發明之電子裝置的方塊圖;圖5為顯示符合SECS/GEM協議之二組機台回覆訊息的示例圖;圖6為顯示含有依SML格式編輯的機台回覆訊息的一電腦可讀檔案的示例圖;以及圖7為利用C#語言編輯而成的鏈接程式所含有的程式碼的示例圖。 Fig. 1 is a simple architecture diagram of a known MES system; Fig. 2 is a simple structure diagram of another MES system comprising devices such as PLC or PC with a built-in SECS/GEM communication interface; Fig. 3 is a simple structure diagram of a MES system comprising an electronic device of the present invention; Fig. 4 is the present invention The block diagram of the electronic device of the invention; Figure 5 is an example diagram showing two sets of machine reply messages conforming to the SECS/GEM protocol; Figure 6 is an example showing a computer-readable file containing machine reply messages edited in SML format Figure; and Figure 7 is an example diagram of the program code contained in the link program edited by utilizing the C# language.
為了能夠更清楚地描述本發明所提出之一種電子裝置及其用途,以下將配合圖式,詳盡說明本發明之較佳實施例。 In order to describe an electronic device proposed by the present invention and its application more clearly, preferred embodiments of the present invention will be described in detail below with reference to the drawings.
圖3顯示包含本發明之一種電子裝置的一MES系統的簡單架構圖。如圖3所示,本發明之電子裝置12係應用於整合在一製造執行(MES)系統1之中,用以耦接於一中央控制裝置11和耦接至少一機台3的一機台控制裝置13之間,使得該中央控制裝置11可以利用SECS/GEM協議而透過該機台控制裝置13資訊連結該至少一機台。在可行的實施例中,本發明之電子裝置12可為桌上型電腦、筆記型電腦、平板電腦、一體式(All-In-One)電腦、工業電腦、伺服器、雲端伺服器、人機介面和機台控制器等可以安裝控制軟體等裝置。
FIG. 3 shows a simple architecture diagram of an MES system including an electronic device of the present invention. As shown in FIG. 3 , the
圖4本發明之電子裝置的方塊圖。如圖3與圖4所示,本發明之電子裝置12包括:一微處理器120、一第一通訊介面121、一第二通訊介面122、一儲存單元123、以及一用戶界面124。其中,該第一通訊介面121和該第二通訊介面122皆耦接該微處理器120,使得該微處理器120透過該第一通訊介面121和該中央控制裝置11通訊,且透過該第二通訊介面122和該機台控制裝置13通訊。在可行的實施例中,該第一通訊介面121和該第二通訊介面122皆可為一有線通訊介面或一無線通訊介面。
FIG. 4 is a block diagram of the electronic device of the present invention. As shown in FIG. 3 and FIG. 4 , the
更詳細地說明,該儲存單元123儲存有複數個電腦可讀檔案以及利用一程式語言編寫的至少一鏈接程式,其中,各所述電腦可讀檔案含有依SML格式編輯的一機台回覆訊息,且該機台回覆訊息包含一共通部分以及複數個先進規劃排程系統參數代碼。在可行的實施例中,所述電腦可讀檔案可以是txt檔、sml檔、doc檔、docx檔、xls檔、或xlsx檔。另一方面,該鏈接程式係有利用一程式語言編輯而成,例如C#語言。當然,在可行的實施例中,所述程式語言也可以是C語言、C++語言、Visual C++語言、Delphi語言、Visual Basic語言、Python語言、Structure Text語言、或Java語言。
In more detail, the
所述機台控制裝置13可為可程式化邏輯控制器(Programmable logic controller,PLC)或電腦(Personal computer)等機台控制器為不可或缺的裝置。依此設計,當該機台3的一收集事件(collection event)發生時,該機台控制裝置(如:PLC裝置)13透過該第二通訊介面122將發生所述收集事件的該機台3的一機台識別碼
(即,Equipment ID)以及一操作人員識別碼(即,Employee ID)傳送至該微處理器120,該微處理器120依據所述收集事件而自該儲存單元123存取對應的一個所述電腦可讀檔案,接著執行該鏈接單元1200將所述機台回覆訊息之複數個所述代碼分別和複數個字串(string)進行鏈接,從而透過SECS/GEM協議傳送所述機台回覆先進規劃排程系統參數訊息至該中央控制裝置11。在一實施例中,該複數個字串包含:一命令碼、複數個回覆句子、至少一個設備參數,且所述設備參數為選自於先進規劃排程系統所有參數,包含由事件編號、報表編號、機台編號、生產或檢測參數、生產或檢測數量、生產或檢測批號、警報編號、警報狀態、設備狀態、原物料編號、操作人員編號等所組成群組。
The
舉例而言,圖5顯示符合SECS/GEM協議之二組機台回覆訊息的示例圖。值得說明的是,如圖5所示,符合SECS/GEM協議之機台回覆訊息(Response report)是依半導體訊息語言(Semiconductor Message Language,SML)的格式所進行編寫。收集事件(Collection events)是SECS/GEM通訊協議的一個關鍵特性。舉例而言,一機台解鎖檢查事件指的是,MES系統2a依據先進規劃排程系統資料庫裡設備操作人員排班資訊,嘗試解鎖該機台3。機台解鎖檢事件觸發後,若該操作人員具備操作該機台3的權限,該機台3的機台回覆訊息(Response report)即包含圖5的方框(b)內的內容。相反地,若該操作人員不具備操作該機台3的權限,該機台3的機台回覆訊息(Response report)即包含圖5的方框(a)內的內容。
For example, FIG. 5 shows an example diagram of reply messages of two sets of machines conforming to the SECS/GEM protocol. It is worth noting that, as shown in FIG. 5 , the machine response report (Response report) conforming to the SECS/GEM protocol is written in the format of Semiconductor Message Language (SML). Collection events (Collection events) is a key feature of the SECS/GEM communication protocol. For example, a machine unlock check event refers to that the
如圖5所示,方框(a)的內容和方框(b)的內容具有共通部分以及差異部分,其中差異部分係利用深灰框線標出。其中,所述差異部分包括:命令碼(即,0或1)、包含操作人員識別碼及/或機台識別碼的字串、以及不包含操作人員識別碼及/或機台識別碼的字串。舉例而言,當操作人員不具有操作機台3的權限時,該命令碼為1(即,1byte整數)。相反地,當操作人員具有操作機台3的權限時,該命令碼為0(即,1byte整數)。因此,本發明以例如{0}、{1}、{2}等複數個代碼表示前述字串,並依SML格式編輯包含機台回覆訊息的電腦可讀檔案(如:txt檔),使該機台回覆訊息包含所述共通部分以及該複數個代碼。
As shown in FIG. 5 , the contents of the box (a) and the contents of the box (b) have a common part and a difference part, wherein the difference part is marked with a dark gray frame line. Wherein, the difference part includes: a command code (that is, 0 or 1), a character string including an operator identification code and/or a machine identification code, and a character string not including an operator identification code and/or a machine identification code. string. For example, when the operator does not have the authority to operate the
圖6顯示含有依SML格式編輯的機台回覆訊息的一電腦可讀檔案的示例圖。依據圖6,在一實施例中,係將在一txt檔之中依SML格式編輯一機台回覆訊息。對照圖5與圖6可知,編輯在該txt檔之中的機台回覆訊息包括所述一共通部分以及複數個所述代碼(即,{0}、{1}、{2}),其中複數個所述代碼已利用深灰框線加以標出。應可理解,可以編輯多種不同的txt檔(即,電腦可讀檔案)以對應機台3的各種收集事件。
FIG. 6 shows an example diagram of a computer-readable file containing machine reply messages edited in SML format. According to FIG. 6 , in one embodiment, a machine reply message is edited in a txt file in SML format. Comparing Figure 5 and Figure 6, it can be known that the machine reply message edited in the txt file includes the one common part and a plurality of the codes (ie, {0}, {1}, {2}), wherein the plural Each of these codes has been outlined with a dark gray outline. It should be understood that various txt files (ie, computer-readable files) can be edited to correspond to various collection events of the
重複說明的是,本發明利用一程式語言(如:C#語言)編寫至少一鏈接程式,且該鏈接程式用以將如圖6所示編輯在txt檔內的機台回覆訊息之複數個所述代碼(即,{0}、{1}、{2})分別和複數個字串進行鏈接。圖7顯示利用C#語言編輯而成的鏈接程式所含有的程式碼的示例圖。依據圖5、圖6和圖7可知,本發明利用C#語言編寫程式 碼,從而定義用以鏈接複數個所述代碼的複數個字串。其中,複數個所述字串利用已利用深灰框線加以標出。同時,還可以發現,複數個所述字串包含:命令碼(即,0或1)、包含操作人員識別碼及/或機台識別碼的字串、以及不包含操作人員識別碼及/或機台識別碼的字串。 It is repeated that the present invention utilizes a programming language (such as: C# language) to write at least one link program, and the link program is used to edit the multiple descriptions of the machine reply message in the txt file as shown in Figure 6 The codes (ie, {0}, {1}, {2}) are respectively linked with plural character strings. FIG. 7 shows an example diagram of code contained in a link program edited by using C# language. According to Fig. 5, Fig. 6 and Fig. 7 as can be known, the present invention utilizes C# language programming codes, thereby defining a plurality of strings for linking a plurality of said codes. Wherein, a plurality of said character strings are marked with dark gray frame lines. At the same time, it can also be found that the multiple strings include: command codes (that is, 0 or 1), strings that include operator identification codes and/or machine identification codes, and that do not include operator identification codes and/or A string of machine IDs.
更詳細地說明,MES系統2a依據先進規劃排程系統資料庫裡設備操作人員排班資訊,一機台解鎖檢查事件觸發。此時,該機台控制裝置13將發生所述機台解鎖檢事件的該機台3的機台識別碼以及操作人員識別碼傳送至該微處理器120,該微處理器120依據所述機台解鎖檢事件而自該儲存單元123存取對應的一個txt檔(即,電腦可讀檔案),接著執行該鏈接程式(如圖7所示)以將編輯在txt檔內的機台回覆訊息(如圖6所示)之複數個所述代碼分別和複數個字串進行鏈接,從而透過該第一通訊介面121將符合SECS/GEM協議的所述機台回覆訊息(如圖5所示)傳送至該中央控制裝置11。
To explain in more detail, the
應可理解,只要變更圖7所示的字串的定義,那麼,在收集事件發生之時,圖5所示的機台回覆訊息之中的差異部分也會跟著變更。舉例而言,可以將圖7所示的“User is authorized”變更為“PE or BookingChange”,則在機台解鎖檢事件發生且操作人員具有機台操作權限時,機台3的原本回覆的User is authorized便會變更為PE or BookingChange。再舉例而言,可以將圖7所示的“User is not authorized”變更為null,則在機台解鎖檢事件發生且操作人員
不具有機台操作權限時,機台3的原本回覆的User is not authorized便會變更為空白,即不顯示任何訊息。
It should be understood that as long as the definition of the character string shown in FIG. 7 is changed, then when the collection event occurs, the difference in the machine reply message shown in FIG. 5 will also be changed accordingly. For example, "User is authorized" shown in Figure 7 can be changed to "PE or BookingChange", then when the machine unlock check event occurs and the operator has the machine operation authority, the original reply User of
補充說明的是,較佳地,該用戶界面124為一觸控螢幕,從而利於操作人員及/或IT人員對本發明之電子裝置12進行操作。當然,在可行的實施例中,也可以一顯示螢幕及至少一輸入裝置(如:鍵盤與滑鼠)作為所述用戶界面124,而非以觸控螢幕。
It is added that, preferably, the
並且,在一可行實施例中,該微處理器120具有一匯入單元1201,其中該匯入單元1201係以一實體按鍵或一虛擬按鍵的形式在該用戶界面124之中呈現。依此設計,在一外部電子裝置耦接所述電子裝置12的情況下,啟用該匯入單元1201可將多個所述電腦可讀檔案自該外部電子裝置匯入所述電子裝置12,且儲存在該儲存單元123。
Moreover, in a feasible embodiment, the
並且,在可行實施例中,該微處理器120可進一步具有一選擇單元1202與一編輯單元1203,三者皆以實體按鍵或虛擬按鍵的形式在該用戶界面124之中呈現。使用本發明之電子裝置12時,啟用該選擇單元1202可自該儲存單元123中選擇一個所述電腦可讀檔案(即,txt檔),接著啟用該選擇單元1202以對該電腦可讀檔案進行編輯。並且,啟用該選擇單元1202和該編輯單元1203亦可對該鏈接程式進行編輯,從而變更或自行定義用以鏈接複數個所述代碼的複數個字串。
Moreover, in a feasible embodiment, the
如此,上述係已完整且清楚地說明本發明之一種電子裝置;並且,經由上述可得知本發明係具有下列之優點: Thus, the above is a complete and clear description of an electronic device of the present invention; and, through the above, it can be known that the present invention has the following advantages:
(1)本發明揭示一種電子裝置12,其係應用於整合在一(MES系統1之中,耦接於一中央控制裝置11和耦接至少一機台3的一機台控制裝置13之間,使得該中央控制裝置11可以利用SECS/GEM協議而透過該機台控制裝置13資訊連結該至少一機台3。
(1) The present invention discloses an
(2)本發明將包含機台識別碼、操作人員識別碼以及回覆文字的字串(string)以代碼表示,並依SML格式編輯包含機台回覆訊息的電腦可讀檔案(如:txt檔),使對應一收集事件(collection event)的一機台回覆訊息包含一共通部分以及複數個所述代碼。同時,本發明利用程式語言(如:C#語言)將該機台回覆訊息之中複數個所述代碼分別和複數個所述字串進行鏈接。依此設計,若有需要增加/減少收集事件,供應商及/或製造商只需增加/刪除電腦可讀檔案,非常方便。另一方面,若有需要變更對應所述收集事件的回覆文字,供應商及/或製造商亦可在程式語言的編輯器內進行變更。 (2) The present invention expresses the character string (string) comprising the machine identification code, the operator identification code and the reply text as a code, and edits a computer-readable file (such as: txt file) containing the machine reply message in SML format , so that a machine reply message corresponding to a collection event (collection event) includes a common part and a plurality of said codes. At the same time, the present invention uses a programming language (such as: C# language) to link the plurality of said codes in the reply message of the machine with the plurality of said strings respectively. According to this design, if there is a need to increase/decrease collection events, suppliers and/or manufacturers only need to add/delete computer-readable files, which is very convenient. On the other hand, if it is necessary to change the reply text corresponding to the collection event, the supplier and/or manufacturer can also make changes in the editor of the programming language.
然而,必須加以強調的是,上述之詳細說明係針對本發明可行實施例之具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實施或變更,均應包含於本案之專利範圍中。 However, it must be emphasized that the above detailed description is a specific description of a feasible embodiment of the present invention, but the embodiment is not intended to limit the patent scope of the present invention, any equivalent implementation or implementation that does not depart from the technical spirit of the present invention All changes should be included in the patent scope of this case.
1:MES系統 1: MES system
11:中央控制裝置 11: Central control device
12:電子裝置 12: Electronic device
13:機台控制裝置 13: Machine control device
3:機台 3: machine
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111102281A TWI803158B (en) | 2022-01-19 | 2022-01-19 | Electronic device for conducting communications through secs/gem protocol and use thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111102281A TWI803158B (en) | 2022-01-19 | 2022-01-19 | Electronic device for conducting communications through secs/gem protocol and use thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI803158B true TWI803158B (en) | 2023-05-21 |
TW202331433A TW202331433A (en) | 2023-08-01 |
Family
ID=87424497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111102281A TWI803158B (en) | 2022-01-19 | 2022-01-19 | Electronic device for conducting communications through secs/gem protocol and use thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI803158B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI224932B (en) * | 2001-05-03 | 2004-12-01 | Qualcomm Inc | Method and apparatus for controlling uplink transmissions of a wireless communication system |
US20110046801A1 (en) * | 2009-08-21 | 2011-02-24 | Imes Kevin R | Energy Management System And Method |
TW201522782A (en) * | 2013-12-11 | 2015-06-16 | Ind Tech Res Inst | Power device for variable speed fan groups with energy management |
US20200103946A1 (en) * | 2018-09-28 | 2020-04-02 | Fisher-Rosemount Systems, Inc. | Smart Functionality for Discrete Field Devices and Signals |
US20200334173A1 (en) * | 2019-04-18 | 2020-10-22 | Emerson Process Management Power & Water Solutions, Inc. | Implementing and configuring a universal i/o card for a process control i/o network |
-
2022
- 2022-01-19 TW TW111102281A patent/TWI803158B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI224932B (en) * | 2001-05-03 | 2004-12-01 | Qualcomm Inc | Method and apparatus for controlling uplink transmissions of a wireless communication system |
US20110046801A1 (en) * | 2009-08-21 | 2011-02-24 | Imes Kevin R | Energy Management System And Method |
US8099195B2 (en) * | 2009-08-21 | 2012-01-17 | Allure Energy, Inc. | Multi-network communication interfaces for wireless energy networks |
TW201522782A (en) * | 2013-12-11 | 2015-06-16 | Ind Tech Res Inst | Power device for variable speed fan groups with energy management |
US20200103946A1 (en) * | 2018-09-28 | 2020-04-02 | Fisher-Rosemount Systems, Inc. | Smart Functionality for Discrete Field Devices and Signals |
US20200334173A1 (en) * | 2019-04-18 | 2020-10-22 | Emerson Process Management Power & Water Solutions, Inc. | Implementing and configuring a universal i/o card for a process control i/o network |
Also Published As
Publication number | Publication date |
---|---|
TW202331433A (en) | 2023-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10281894B2 (en) | Binding graphic elements to controller data | |
Lu et al. | Current standards landscape for smart manufacturing systems | |
CN1937559B (en) | Proxy server for integration of industrial automation data over multiple networks | |
US8438191B1 (en) | Incremental association of metadata to production data | |
US10996660B2 (en) | Augmented manufacturing system | |
US8069071B2 (en) | Suite of configurable supply chain infrastructure modules for deploying collaborative e-manufacturing solutions | |
CN101529345B (en) | Distributed database in an industrial automation environment | |
US6256667B1 (en) | Intelligent messaging | |
CN104216701B (en) | System and method for creating graphic user interface in manufacturing execution system | |
JP4722886B2 (en) | System and method for managing a transaction database of records of changes to field device configurations | |
Mertins et al. | Quality-oriented design of business processes | |
KR102038092B1 (en) | Apparatus and Method for automatic generation of Electric Design Drawings | |
CN104903884A (en) | Bulk field device operations | |
CN101877080A (en) | Method for automatically generating configuration of bill of material (BOM) | |
CN101963799A (en) | The Process Control System that has integrated external data source | |
TWI803158B (en) | Electronic device for conducting communications through secs/gem protocol and use thereof | |
CN103177071A (en) | Customizing a graphical user interface of a manufacturing execution system screen | |
Martin et al. | Integrated design of Human-Machine Interfaces for production plants | |
KR102368721B1 (en) | Integrated platform including transapi | |
KR20030003660A (en) | System and Method for Generating SECS Message Source in SECS | |
KR102654607B1 (en) | Information model management method and system based on life cycle of asset administration shell for digital twin | |
JP6943322B2 (en) | Maintenance management equipment, maintenance management methods, maintenance management programs and recording media | |
Melzer | Three Manufacturing Trends that Meet the Need for Speed | |
KR20200076120A (en) | Bom management system of electronic drawing and managing method thereof | |
Ketterer | Manufacturing Execution Systems and Industry 4.0 |