TW202322006A - Flexible workstation and message passing method thereof - Google Patents
Flexible workstation and message passing method thereof Download PDFInfo
- Publication number
- TW202322006A TW202322006A TW110143535A TW110143535A TW202322006A TW 202322006 A TW202322006 A TW 202322006A TW 110143535 A TW110143535 A TW 110143535A TW 110143535 A TW110143535 A TW 110143535A TW 202322006 A TW202322006 A TW 202322006A
- Authority
- TW
- Taiwan
- Prior art keywords
- station
- workstation
- robot
- convertible
- message
- Prior art date
Links
Images
Abstract
Description
本發明係與工作站有關,特別有關於可轉換工作站及其訊息傳遞方法。The present invention relates to workstations, and in particular to convertible workstations and a method for transmitting information therefrom.
自動化產線通常設置有多個工作站,分別用來實現不同的應用。An automated production line is usually equipped with multiple workstations, which are used to implement different applications.
然而,現有工作站由於沒有標準化與模組化,並無法針對不同應用快速改裝,這使得目前的自動化產線必須針對所需要的應用添購專屬的工作站,而增加產線設置成本。However, the existing workstations cannot be quickly modified for different applications due to lack of standardization and modularization. This makes the current automated production line have to purchase dedicated workstations for the required applications, which increases the cost of production line setup.
更進一步地,當應用改變時,必須直接淘汰這些專屬的工作站並添購新的工作站,而造成浪費。Furthermore, when the application changes, these dedicated workstations must be directly eliminated and new workstations purchased, resulting in waste.
並且,目前的自動化產線中,多是採用主從式(需求/回應)的訊息傳遞方法,這使得每次新增、刪除或變更工作站時,都必須對管理設備的軟體設定進行大幅度的修改,例如變更管理設備的各種控制指令的發送對象。上述缺點使得每次更換工作站(更換應用)時,都必須花費大量時間來使工作站離線或上線。Moreover, most of the current automated production lines adopt a master-slave (demand/response) message transmission method, which makes it necessary to greatly modify the software settings of the management equipment every time a workstation is added, deleted or changed. Modification, such as changing the sender of various control commands of the management device. The above disadvantages make it necessary to spend a lot of time taking the workstation offline or online every time the workstation is replaced (application is changed).
是以,現有工作站與其訊息傳遞方法存在上述問題,而亟待更有效的方案被提出。Therefore, the above-mentioned problems exist in the existing workstation and its message transmission method, and a more effective solution is urgently needed to be proposed.
本發明之主要目的,係在於提供一種可轉換工作站及其訊息傳遞方法,可將工作站標準化與模組化,並可依據工作站的應用快速設定接收的訊息類型。The main purpose of the present invention is to provide a convertible workstation and its message transmission method, which can standardize and modularize the workstation, and can quickly set the received message type according to the application of the workstation.
於一實施例中,一種可轉換工作站,包含一第一功能站、一第二功能站、一機器人站及一控制設備。第一功能站包括一第一功能設備。第二功能站包括一第二功能設備。機器人站用以於透過纜線連接第一功能站時,操作第一功能站的第一功能設備來實現一第一組合應用,並用以於透過纜線連接第二功能站時,操作第二功能站的第二功能設備來實現一第二組合應用。控制設備透過纜線連接機器人站,控制設備被設定來於該機器人站連接第一功能站時,訂閱第一組合應用所對應的一第一主題,來接收發佈給第一主題的所有訂閱者的一第一訊息,並基於第一訊息控制機器人站或第一功能站來實現第一組合應用。控制設備被設定來於機器人站連接第二功能站時,訂閱第二組合應用所對應的一第二主題,來接收發佈給第二主題的所有訂閱者的一第二訊息,並基於第二訊息控制機器人站或第二功能站來實現第二組合應用。In one embodiment, a convertible workstation includes a first functional station, a second functional station, a robot station and a control device. The first functional station includes a first functional device. The second function station includes a second function device. The robot station is used to operate the first function device of the first function station to realize a first combined application when connecting the first function station through a cable, and is used to operate the second function when connecting the second function station through a cable The second functional device of the station implements a second combined application. The control device is connected to the robot station through a cable, and the control device is set to subscribe to a first topic corresponding to the first composite application when the robot station is connected to the first function station, so as to receive information published to all subscribers of the first topic A first message, and based on the first message, control the robot station or the first function station to realize the first combined application. The control device is set to subscribe to a second topic corresponding to the second combined application when the robot station is connected to the second function station, to receive a second message issued to all subscribers of the second topic, and based on the second message Control the robot station or the second function station to realize the second combined application.
於一實施例中,一種可轉換工作站的訊息傳遞方法,包含:a) 設定一可轉換工作站來訂閱一第一主題,其中第一主題是對應可轉換工作站的一功能站及一機器人站的一第一組合應用;b) 透過一管理設備發佈第一主題的一第一訊息至第一主題的所有訂閱者;c) 於可轉換工作站收到第一訊息時,基於第一訊息執行動作;及,d) 於可轉換工作站被變更為一第二組合應用時,基於第二組合應用訂閱一第二主題。In one embodiment, a message transfer method of a convertible workstation includes: a) setting a convertible workstation to subscribe to a first topic, wherein the first topic is a function station and a robot station corresponding to the convertible workstation The first combined application; b) publishing a first message of the first topic to all subscribers of the first topic through a management device; c) performing an action based on the first message when the convertible workstation receives the first message; and , d) subscribing to a second topic based on the second composite application when the convertible workstation is changed to a second composite application.
本發明可快速變更工作站的應用,降低變更成本,並縮短上線前的設定時間。The invention can quickly change the application of the workstation, reduce the cost of change, and shorten the setting time before going online.
茲就本發明之較佳實施例,配合圖式,詳細說明如後。The preferred embodiment of the present invention will be described in detail below with reference to the drawings.
本發明是提出一種模組化的可轉換工作站與其可轉換工作站的訊息傳遞方法。The present invention proposes a modularized convertible workstation and a message transmission method of the convertible workstation.
本發明之可轉換工作站包含模組化的機器人站與功能站。本發明可依自動化產線所需的應用(即後述之組合應用),選擇可達成此組合應用的機器人站與功能站的組合,並快速組裝所選擇的機器人站與功能站為用於此組合應用的可轉換工作站。The convertible workstation of the present invention includes a modular robot station and a function station. The present invention can select the combination of robot station and function station that can achieve this combination application according to the application required by the automated production line (that is, the combination application described later), and quickly assemble the selected robot station and function station for this combination Convertible workstation for applications.
此外,當變更組合應用時,為了使可轉換工作站可以快速地從自動化產線中離線/上線,本發明提出一種應用於前述可轉換工作站的訊息傳遞方法。In addition, the present invention proposes a message transfer method applied to the aforementioned convertible workstations in order to enable the convertible workstations to be quickly offline/online from the automated production line when changing the combined application.
請參閱圖1,為本發明一實施例的訊息傳遞網路的架構圖。於本發明中,自動化產線可包含管理節點10與多個節點(圖1以兩個節點11、12為例)。多個節點11、12分別負責自動化產線的不同應用。Please refer to FIG. 1 , which is a structural diagram of a messaging network according to an embodiment of the present invention. In the present invention, the automated production line may include a
以電路板之自動化產線為例,多個節點可分別執行載入空板、印刷錫膏、錫膏檢查、小元件打件、大元件打件、元件檢查、焊接、焊接檢查、收板、測試、裁板等不同應用。Taking the automated production line of circuit boards as an example, multiple nodes can respectively perform loading of empty boards, printing solder paste, solder paste inspection, small component mounting, large component mounting, component inspection, soldering, soldering inspection, receiving board, Different applications such as testing and cutting boards.
並且,管理節點10與所有節點11-12是透過網路13連接,網路13可例如為區域網路、工業乙太網路、Wi-Fi網路、其他有線/無線網路或其任意組合,不加以限定。Moreover, the
接著說明本發明之發佈/訂閱機制。Next, the publish/subscribe mechanism of the present invention will be described.
於本發明中,各節點僅會接收屬於訂閱主題的訊息,而不會收到不屬於訂閱主題的訊息。前述訊息可以例如為控制訊號、資料訊號或回應訊號等,不加以限定。In the present invention, each node will only receive messages belonging to the subscribed topic, but will not receive messages not belonging to the subscribed topic. The foregoing information may be, for example, a control signal, a data signal, or a response signal, etc., without limitation.
舉例來說,節點12可訂閱第一主題,這使得當其他節點發佈第一主題的第一訊息時,第一訊息會被寄送給第一主題的所有訂閱者(包含節點12)。並且,當其他節點發佈第二主題的第二訊息時,節點12由於沒有訂閱第二主題,並不會收到第二訊息。For example, the
於本發明中,若需於自動化產線中新增應用而必須新增節點時,新節點僅需向管理節點10註冊,並訂閱達成新應用所需要的一或多個主題,即可快速完成新節點的通訊設定,且不需要變更其他節點(如節點11、12)的設定。In the present invention, if new applications need to be added in the automated production line and new nodes must be added, the new nodes only need to register with the
舉例來說,新節點可訂閱第一主題,這使得當其他節點發佈第一主題的第一訊息時,第一訊息會被寄送給第一主題的所有訂閱者(包含新節點),而不需要變更其他節點10-12的設定。For example, a new node can subscribe to the first topic, which makes when other nodes publish the first message of the first topic, the first message will be sent to all subscribers of the first topic (including new nodes), without It is necessary to change the setting of other nodes 10-12.
本發明透過上述發佈/訂閱機制,可於節點上線/離線時,快速完成網路通訊的設定,而不會干擾其他節點的運作。Through the above publishing/subscribing mechanism, the present invention can quickly complete the setting of network communication when a node goes online/offline without interfering with the operation of other nodes.
請同時參閱圖1與圖2,圖2為本發明一實施例的自動化產線的架構圖。圖1之管理節點10可例如為管理設備20,各節點11-12可例如為可轉換工作站21。網路23是與網路13相同或相似,於此不再贅述。Please refer to FIG. 1 and FIG. 2 at the same time. FIG. 2 is a structure diagram of an automated production line according to an embodiment of the present invention. The
自動化產線可包含透過網路23連接的管理設備20與多個可轉換工作站21,多個可轉換工作站21分別用來實現不同的組合應用。並且,管理設備20與各可轉換工作站21之間可透過前述發佈/訂閱機制來傳遞訊息。The automated production line may include a
於一實施例中,自動化產線可包含連接網路23的使用者電腦22,例如為個人電腦、平板電腦、筆記型電腦等通用電腦。使用者電腦22用來提供流程編輯介面220。流程編輯介面220可例如為圖形使用者介面(GUI),並提供自動化流程的創建/編輯功能。In one embodiment, the automated production line may include a
具體而言,使用者可操作流程編輯介面220來基於指定的可轉換工作站21的組合應用快速建立對應的流程,並將流程發佈至可轉換工作站21執行。Specifically, the user can operate the process editing interface 220 to quickly create a corresponding process based on the combined application of the
相較於直接編寫程式碼,本發明透過可流程編輯介面220大幅降低自動化控制程式的開發/維護的門檻、成本與時間。Compared with directly writing program codes, the present invention greatly reduces the threshold, cost and time of development/maintenance of automation control programs through the process editing interface 220 .
於一實施例中,使用者電腦22可執行如圖4所示的機器人作業系統410,透過機器人作業系統410產生並顯示前述的流程編輯介面220,並透過流程編輯介面220接受使用者操作來編輯流程。In one embodiment, the
請同時參閱圖1至圖3,圖3為本發明一實施例的可轉換工作站的架構圖。Please refer to FIG. 1 to FIG. 3 at the same time. FIG. 3 is a structure diagram of a convertible workstation according to an embodiment of the present invention.
本實施例的可轉換工作站21可包含一或多個機器人站(圖3以一個機器人站31為例)與一或多個功能站(圖3以三個功能站32-34為例)。機器人站31與功能站32-34可透過本發明之獨特的整合線纜350-352進行串接,來實現網路、電力、氣壓等資源的共享與傳輸,取代了傳統需使用許多不同線纜才能達到傳輸的目的,大大減少線纜的數量,也大大減少拆裝的時間。The
各機器人站31可包含電性連接的控制箱310、機械手臂311與配線盒312。機器人站31用來操作所連接的功能站32-34來實現對應的組合應用。Each
控制箱310用來控制機器人站31。具體而言,控制箱310可透過配線盒312接收電力與網路訊號(例如為控制訊號),並基於網路訊號控制機械手臂311的姿態。The
機械手臂311可於多自由度移動,並用來對功能站32-34執行加工。例如操作功能站32的功能設備321(例如為錫槍、夾具、鎖螺絲機等工具)來執行焊錫、插件、鎖螺絲等動作。機械手臂311可為四軸機械手臂、六軸機械手臂等,不加以限定。The
值得一提的是,所採用的機械手臂311的類型可基於要操作的功能設備321的需求(例如對於自由度的需求)來加以決定。It is worth mentioning that the type of the
各功能站32-34(圖3以功能站32為例)可包含電性連接的控制箱320、功能設備321與配線盒322。Each functional station 32 - 34 (the
控制箱320用來控制功能站32。具體而言,控制箱320可透過配線盒322接收電力與網路訊號(例如為控制訊號),並基於網路訊號控制功能設備321。The
功能設備321用來提供不同應用工具來供機器人站31的機械手臂311使用,如雷射焊錫工具、插件工具、鎖螺絲工具、貼標工具、點膠工具或夾具等。The
藉此,機器人站31的機械手臂311可透過搭配不同功能站32-34來實現不同的組合應用,例如雷射焊接應用、自動插件應用、自動鎖螺絲應用、自動點膠應用、自動貼標應用或自動夾取應用等。In this way, the
值得一提的是,各配線盒312、322是標準化電控箱,且是用來整合工作站的多個連接埠為單一整合外接插座,透過上述簡化,本發明的機器人站31與功能站32-34可以透過單一整合纜線350-352進行快速裝卸。本發明由於簡化了纜線數量,可大幅提升改裝速度。It is worth mentioning that each
於一實施例中,可轉換工作站21可包含控制設備30。控制設備30可設置在機器人站31,可透過網路線纜353連接機器人站31。In one embodiment, the
此外,機器人站31的配線盒312與功能站32-34的配線盒可透過整合纜線350-352進行串接。前述整合纜線350-352可包含網路線纜。In addition, the
藉此,當控制設備30透過網路介面302連接至網路時,連接控制設備30的機器人站31與所有功能站32-34也可被連接至網路。控制設備30連接網路23而可對外通訊,並用來控制可轉換工作站21,如發送控制訊號來控制機械手臂311及/或功能設備321。更進一步地,控制設備30是作為前述節點11或12,來實現本發明之可轉換工作站的訊息傳遞方法。Thus, when the
於一實施例中,控制設備30可包含電性連接的處理器300、儲存器301與網路介面302。In one embodiment, the
處理器300,例如為單晶片系統、微處理器或中央處理器,用來執行運算與程式並控制設備30。The
儲存器301,例如為RAM、ROM、EEPROM、快閃記憶體、其他記憶體或上述任意組合,用來儲存資料。The
網路介面302,例如乙太網路卡,用來連接網路13、23與其他工作站(如機器人站31與功能站32-34)。The
請一併參閱圖1至圖4,圖4為本發明一實施例的處理器的架構圖。Please refer to FIG. 1 to FIG. 4 together. FIG. 4 is a structural diagram of a processor according to an embodiment of the present invention.
於本實施例中,控制設備30的儲存器301可包含非暫態電腦可讀取記錄媒體,前述非暫態電腦可讀取記錄媒體儲存有電腦程式,前述電腦程式記錄有電腦可執行之程式碼,當處理器300執行前述程式碼後,可實現本發明之各種功能。In this embodiment, the
具體而言,前述電腦程式可包含作業系統400(如Windows, Linux, Unix等)、機器人作業系統410(如Robot OS)與節點應用420。於軟體架構中,處理器300可於系統層40運行作業系統400來提供軟硬體資源管理與分配,並可於中間層41運行機器人作業系統410。機器人作業系統410作為中介軟體(Middleware),可提供各種輔助工具來協助開發與管理,例如於應用層42執行的流程編輯介面220、節點應用420、應用程式介面(API)或其他軟體工具。前述節點應用420即是用來實現如圖1的分散式通訊。Specifically, the aforementioned computer program may include an operating system 400 (such as Windows, Linux, Unix, etc.), a robot operating system 410 (such as Robot OS) and a
藉此,本發明透過機器人作業系統410可實現自動化功能的快速開發與維護。In this way, the present invention can realize rapid development and maintenance of automation functions through the
請參閱圖6,為本發明一實施例的可轉換工作站的示意圖。對於機器人站,作為選擇,本實施例提供四軸機器人站610與六軸機器人站611為例說明。Please refer to FIG. 6 , which is a schematic diagram of a convertible workstation according to an embodiment of the present invention. For the robot station, as an option, this embodiment provides the four-
對於功能站,作為選擇,本實施例提供鎖螺絲功能站620與點膠功能站621為例說明。For the functional stations, as an option, this embodiment provides the screw locking
本實施例還提供一控制設備600,控制設備600安裝有前述的機器人作業系統410。This embodiment also provides a
當要實現較低自由度需求的自動鎖螺絲應用(組合應用)時,使用者可將控制設備600安裝於四軸機器人站610,並透過整合線纜連接四軸機器人站610與鎖螺絲功能站620。藉此,可以獲得用來實現自動鎖螺絲應用的可轉換工作站6。When it is necessary to realize the automatic screw locking application (combined application) with a lower degree of freedom requirement, the user can install the
當要變更為實現較高自由度需求的自動點膠應用(組合應用)時,使用者可將四軸機器人站610更換為具有更多自由度的六軸機器人站611,並將鎖螺絲功能站620更換為點膠功能站621。藉此,可轉換工作站6可被變更為實現自動點膠應用。When changing to an automatic dispensing application (combined application) that requires a higher degree of freedom, the user can replace the four-
請參閱圖7,為本發明一實施例的自動化產線的示意圖。於本實施例中,自動化產線7可包含輸送設備71、78、多個可轉換工作站72-77與電性連接上述設備的網路交換器70。Please refer to FIG. 7 , which is a schematic diagram of an automated production line according to an embodiment of the present invention. In this embodiment, the
網路交換器70提供網路通訊環境,而使得管理設備(圖未標示)可對各輸送設備71、78與各可轉換工作站72-77設定用來實現指定應用的工作流程。The
以電腦產品的自動組裝為例,輸送設備71被設定來提供機殼。可轉換工作站72被設定來將多個電腦元件放置於機殼。可轉換工作站73被設定來將部分電腦元件鎖固於機殼。可轉換工作站74被設定來將部分電腦元件膠黏於機殼。可轉換工作站75被設定來將電腦產品翻轉至檢查面。可轉換工作站76被設定來對檢查面進行拍攝,來透過電腦視覺檢查是否存在安裝瑕疵。可轉換工作站77基於可轉換工作站76的檢查結果,從產線抽出有瑕疵的電腦產品。輸送設備78被設定來運輸無瑕疵的電腦產品至下一產線或封裝區。Taking the automatic assembly of computer products as an example, the conveying
請參閱圖10,為本發明一實施例的訊息傳遞方法的流程圖。本發明的各實施例的訊息傳遞方法可透過任一實施例的自動化產線與可轉換工作站來加以實現。Please refer to FIG. 10 , which is a flowchart of a message transmission method according to an embodiment of the present invention. The message transmission method of each embodiment of the present invention can be realized through the automatic production line and the convertible workstation of any embodiment.
本實施例的訊息傳遞方法包含以下步驟。The message transmission method of this embodiment includes the following steps.
步驟S10:設定可轉換工作站來訂閱主題(第一主題)。前述主題是對應可轉換工作站目前的功能站(第一功能站)及機器人站(第一機器人站)所實現的組合應用(第一組合應用)。Step S10: Set the convertible workstation to subscribe to the topic (the first topic). The aforementioned subject is the combination application (first combination application) realized by the current function station (the first function station) and the robot station (the first robot station) corresponding to the convertible workstation.
步驟S11:透過管理設備發佈訊息至對應主題的所有訂閱者,例如是發佈第一主題的訊息(第一訊息)至第一主題的所有訂閱者、第二主題的訊息(第二訊息)至第二主題的所有訂閱者。Step S11: Publish a message to all subscribers of the corresponding topic through the management device, for example, publish a message of the first topic (first message) to all subscribers of the first topic, and a message of the second topic (second message) to the second topic All subscribers of the second topic.
步驟S12:可轉換工作站判斷是否收到訊息。具體而言,由於可轉換工作站僅訂閱第一主題,而僅會收到第一主題的訊息。Step S12: The convertible workstation judges whether the message is received. Specifically, since the convertible workstation only subscribes to the first topic, it will only receive messages of the first topic.
若可轉換工作站收到任何訊息,則執行步驟S13:可轉換工作站基於所收到的訊息執行動作。If the convertible workstation receives any message, execute step S13: the convertible workstation performs an action based on the received message.
步驟S14:判斷可轉換工作站是否變更訂閱。Step S14: Determine whether the convertible workstation changes the subscription.
若可轉換工作站因為變更組合應用(例如變更為第二組合應用)而需要變更訂閱的主題時,執行步驟S10來基於變更後的組合應用訂閱新主題(如第二主題)。If the convertible workstation needs to change the subscribed topic due to changing the composite application (for example, changing to a second composite application), execute step S10 to subscribe to a new topic (such as the second topic) based on the changed composite application.
若可轉換工作站於步驟S12未收到任何訊息或可轉換工作站於步驟S14未變更訂閱時,執行步驟S15:管理設備與可轉換工作站判斷是否結束執行,如是否完成所有工作,或者是否收到停止訊號等。If the convertible workstation does not receive any message in step S12 or the convertible workstation does not change the subscription in step S14, execute step S15: the management device and the convertible workstation determine whether to end the execution, such as whether to complete all the work, or whether to receive a stop signal etc.
若判定結束執行,則結束訊息傳遞方法;否則,再次執行步驟S11。If it is determined to end the execution, the message transmission method is ended; otherwise, step S11 is executed again.
本發明可快速變更工作站的應用,降低變更成本,並縮短上線前的設定時間。The invention can quickly change the application of the workstation, reduce the cost of change, and shorten the setting time before going online.
請參閱圖8,為本發明一實施例的訊息傳遞的示意圖。圖8是用來說明本發明之可轉換工作站的訊息傳遞方法的一具體實施例。Please refer to FIG. 8 , which is a schematic diagram of message transmission according to an embodiment of the present invention. FIG. 8 is used to illustrate a specific embodiment of the message transmission method of the convertible workstation of the present invention.
發佈者(如管理設備)執行流程控制,來分別執行不同流程,例如拾取流程800、移動流程801、鎖螺絲流程802等。The issuer (such as the management device) executes process control to respectively execute different processes, such as the
並且,發佈者可先針對不同流程建立對應的主題,主題例如是拾取主題810、移動主題811、鎖螺絲主題812等。In addition, the publisher can first create corresponding topics for different processes, such as picking
並且,訂閱者(可轉換工作站820-821)可基於所負責的組合應用訂閱不同的主題,例如可轉換工作站820訂閱拾取主題810與移動主題811,可轉換工作站821訂閱移動主題811與鎖螺絲主題812。In addition, subscribers (transformable workstations 820-821) can subscribe to different topics based on the combined application they are responsible for. For example,
當發佈者執行拾取流程800時,可發出控制訊息83至拾取主題810,而使得訂閱此主題的可轉換工作站820收到訊息83,並基於訊息83執行拾取動作。When the publisher executes the pick-up
當發佈者執行移動流程801時,可發出控制訊息84至移動主題811,而使得訂閱此主題的可轉換工作站820、821都收到訊息84,並基於訊息84執行移動動作。When the publisher executes the
當發佈者執行鎖螺絲流程802時,可發出控制訊息85至鎖螺絲主題812,而使得訂閱此主題的可轉換工作站821收到訊息85,並基於訊息85執行鎖螺絲動作。When the publisher executes the
藉此,可轉換工作站820、821可透過訂閱/取消訂閱來快速設定通訊連接。In this way, the
請同時參閱圖10至圖11,圖11為本發明一實施例的變更組合應用的流程圖。Please refer to FIG. 10 to FIG. 11 at the same time. FIG. 11 is a flow chart of a change combination application according to an embodiment of the present invention.
步驟S20:透過將目前的機器人站及/或功能站更換為不同類型的機器人站及/或功能站,來變更組合應用,例如是執行圖15的步驟。Step S20: Change the combined application by replacing the current robot station and/or function station with a different type of robot station and/or function station, for example, execute the steps in FIG. 15 .
步驟S21:基於變更後機器人站及或功能站的組合應用執行訂閱與訊息傳遞,例如是執行圖10的步驟。Step S21: Perform subscription and message delivery based on the combined application of the changed robot station and/or function station, for example, execute the steps in FIG. 10 .
請同時參閱圖10至圖12,圖12為本發明一實施例的註冊與訂閱的循序圖。於本實施例中,發佈者1000與訂閱者1002可為前述任何節點11、12(包含本發明所提及任何可轉換工作站),管理節點1001可為前述管理節點10。Please refer to FIG. 10 to FIG. 12 at the same time. FIG. 12 is a sequence diagram of registration and subscription according to an embodiment of the present invention. In this embodiment, the
首先,發佈者1000、管理節點1001與訂閱者1002連接相同網路(步驟S300-S302)。First, the
接著,發佈者1000可向管理節點1001發出註冊請求(步驟S303),並於收到管理節點1001的註冊成功的回傳結果(步驟S304)後完成註冊。藉此,管理節點1001可識別發佈者1000。Next, the
於完成註冊後,發佈者1000可向管理節點1001發出建立主題請求(步驟S305),並於收到管理節點1001的處理成功的回傳結果(步驟S306)後完成一或多個主題的建立。藉此,發佈者1000可針對已建立的主題發佈訊息。After completing the registration, the
另一方面,訂閱者1002可向管理節點1001發出註冊請求(步驟S307),並於收到管理節點1001的註冊成功的回傳結果(步驟S308)後完成註冊。藉此,管理節點1001可識別訂閱者1002。On the other hand, the
於完成註冊後,訂閱者1002可向管理節點1001發出訂閱請求(步驟S309),並於收到管理節點1001的處理成功的回傳結果(步驟S310)後完成一或多個主題的訂閱。藉此,訂閱者1002可開始透過網路接收已訂閱主題的所有訊息。After completing the registration, the
此後,當發佈者1000可發佈訊息(S311)時,管理節點1001會依據訊息所屬的主題,傳遞訊息給所屬主題的所有訂閱者1002(步驟S312)。Thereafter, when the
請同時參閱圖10至圖13,圖13為本發明一實施例的動作執行的流程圖。於本實施例中,可轉換工作站可依據不同的接收訊息觸發不同的動作。具體而言,本實施例的方法更包含以下步驟。Please refer to FIG. 10 to FIG. 13 at the same time. FIG. 13 is a flow chart of action execution according to an embodiment of the present invention. In this embodiment, the convertible workstation can trigger different actions according to different received messages. Specifically, the method of this embodiment further includes the following steps.
步驟S40:可轉換工作站被設定針對多個訊息分別設定多個動作。Step S40: The convertible workstation is set to set multiple actions for multiple messages.
步驟S41:可轉換工作站判斷是否收到任何訂閱的訊息。Step S41: The convertible workstation determines whether any subscribed messages are received.
若可轉換工作站未收到任何訊息,則再次執行步驟S41以持續偵測。If the convertible workstation does not receive any message, execute step S41 again to continue detection.
若可轉換工作站收到訊息,則執行步驟S42:可轉換工作站控制機器人站與功能站執行訊息所對應的動作。If the convertible workstation receives the message, step S42 is performed: the convertible workstation controls the robot station and the function station to execute actions corresponding to the message.
舉例來說,移動訊息可對應至移動動作,並可包含機械手臂的座標值。可轉換工作站於收到移動訊息時,可控制機械手臂移動至指定的座標值(例如擺出可使末端移動至此座標值的姿態)來與功能站協同工作。For example, the movement information may correspond to a movement action, and may include the coordinate value of the robot arm. When the convertible workstation receives the moving message, it can control the mechanical arm to move to the specified coordinate value (for example, to pose a posture that allows the end to move to the coordinate value) to cooperate with the functional station.
於另一例子中,供錫訊息可對應至供錫動作,並可包含供錫量與供錫位置。可轉換工作站於收到供錫訊息時,可控制機械手臂移動至指定的供錫位置,並控制功能站擠出供錫量的錫料。In another example, the tin supply message may correspond to a tin supply action, and may include a tin supply amount and a tin supply location. When the convertible workstation receives the tin supply message, it can control the mechanical arm to move to the designated tin supply position, and control the functional station to squeeze out the tin supply amount of tin material.
請同時參閱圖10至圖14,圖14為本發明一實施例的工作站變更的流程圖。可轉換工作站可透過本實施例來變換組合應用,並於變換組合應用後快速上線。具體而言,本實施例的方法更包含以下步驟。Please refer to FIG. 10 to FIG. 14 at the same time. FIG. 14 is a flow chart of changing a workstation according to an embodiment of the present invention. The convertible workstation can transform the combined application through this embodiment, and go online quickly after changing the combined application. Specifically, the method of this embodiment further includes the following steps.
步驟S50:控制可轉換工作站從網路離線,以停止接收原本的組合應用(第一組合應用)的訊息。Step S50: Control the convertible workstation to go offline from the network, so as to stop receiving the message of the original composite application (the first composite application).
步驟S51:將可轉換工作站的功能站(第一功能站,可具有第一功能設備)或機器人站(第一機器人站,可具有第一機械手臂)替換為另一功能站(第二功能站,可具有與第一功能設備不同類型的第二功能設備)或另一機器人站(第二機器人站,可具有與第一機械手臂不同類型的第二機械手臂)。藉此,更換後的可轉換工作站可以從實現原本的組合應用(第一組合應用)變換為實現新的組合應用(第二組合應用)。Step S51: Replace the functional station (the first functional station, which may have the first functional device) or the robot station (the first robot station, which may have the first mechanical arm) of the convertible workstation with another functional station (the second functional station , may have a second functional device of a different type from the first functional device) or another robotic station (a second robotic station, which may have a second robotic arm of a different type than the first robotic arm). In this way, the replaced convertible workstation can be converted from implementing the original combined application (the first combined application) to implementing the new combined application (the second combined application).
步驟S52:設定更換後的可轉換工作站連上網路。Step S52: Setting the replaced convertible workstation to connect to the network.
步驟S53:控制更換後的可轉換工作站向管理節點進行註冊。並且,於註冊完成後,更換後的可轉換工作站可如前述所,進一步向管理節點訂閱對應第二組合應用的第二主題,來透過網路接收第二主題的所有訊息。Step S53: controlling the replaced convertible workstation to register with the management node. Moreover, after the registration is completed, the replaced convertible workstation can further subscribe to the management node for the second topic corresponding to the second combined application as mentioned above, so as to receive all messages of the second topic through the network.
請同時參閱圖1至圖5,圖5為本發明一實施例的整合外接插座的示意圖。Please refer to FIG. 1 to FIG. 5 at the same time. FIG. 5 is a schematic diagram of an integrated external socket according to an embodiment of the present invention.
於本實施例中,機器人站31包含多個連接埠,例如為電力連接埠500(220V AC)、電力連接埠501(24V DC)、連接埠502(Switch,例如為網路訊號連接埠)、連接埠503(Air,例如為氣壓連接埠)。In this embodiment, the
配線盒312可將多個連接埠整合為整合外接插座51,整合外接插座51可包含電力插座510(例如為220V AC電力插座)、網路插座511(例如為乙太網路插座)與氣壓插座512。The
並且,功能站32包含多個連接埠,例如為電力連接埠520(220V AC)、電力連接埠521(24V DC)、網路電力連接埠522(PoE Switch,例如為乙太網供電)、氣壓連接埠523(Air,例如為氣壓連接埠)與電力連接埠524(48V DC)。Moreover, the
配線盒312可將多個連接埠整合為整合外接插座54,整合外接插座54可包含電力插座540(例如為220V AC電力插座)、網路插座541(例如為乙太網路插座)與氣壓插座542。The
整合線纜350包含線纜本體(例如包含電力線纜、網路線纜及氣壓線纜等線纜)及多個插頭(例如兩端皆設置電力插頭、網路插頭及氣壓插頭等插頭)。插頭用於對接整合外接插座51、54,來使機器人站31與功能站32可分享/傳輸電力、訊號與氣壓。The
請同時參閱圖10至圖15,圖15為本發明一實施例的標準化連接的流程圖。本實施例的方法更包含用來改裝可轉換工作站的以下步驟。Please refer to FIG. 10 to FIG. 15 at the same time. FIG. 15 is a flowchart of a standardized connection according to an embodiment of the present invention. The method of this embodiment further includes the following steps for refitting the convertible workstation.
步驟S60:透過整合線纜350連接機器人站31的整合外接插座51與功能站32的整合外接插座54,來組成可轉換工作站21。Step S60 : Connect the integrated
步驟S61:透過整合線纜350對機器人站31或功能站32提供資源,例如是提供氣壓傳輸、網路傳輸及/或電力傳輸。Step S61: Provide resources to the
步驟S62:基於機器人站31與功能站32的組合應用設定控制設備30,例如是設定運轉參數或其他初始化設定。Step S62: Set the
藉此,本發明可快速改裝可轉換工作站。Thereby, the present invention can quickly refit the convertible workstation.
本發明還提出一種基於機器人作業系統的流程編輯介面,使用者可透過流程編輯介面快速編輯可轉換工作站所要執行的流程。The present invention also proposes a process editing interface based on the robot operating system, through which the user can quickly edit the process to be executed by the convertible workstation.
請同時參閱圖10至圖16,圖16為本發明一實施例的流程編輯與發佈的流程圖。本實施例的方法更包含以下步驟。Please refer to FIG. 10 to FIG. 16 at the same time. FIG. 16 is a flow chart of process editing and publishing in an embodiment of the present invention. The method of this embodiment further includes the following steps.
步驟S70:於使用者電腦22(可安裝有機器人作業系統)上提供流程編輯介面220。Step S70: providing a process editing interface 220 on the user computer 22 (which may be installed with a robot operating system).
於一實施例中,流程編輯介面220提供多個動作的動作列表。In one embodiment, the process editing interface 220 provides an action list of multiple actions.
步驟S71:於使用者電腦22透過流程編輯介面220接受使用者操作來編輯流程。前述流程包含多個動作的執行順序與執行條件。Step S71 : Accept user operations on the
於一實施例中,步驟S71可包含以下步驟S80-S83。In one embodiment, step S71 may include the following steps S80-S83.
步驟S80:於使用者電腦22創建流程。前述流程可定義有啟動點及結束點。Step S80 : Create a process on the
步驟S81:於使用者電腦22透過流程編輯介面220接受使用者的拖曳操作,來將多個動作加入至啟動點及結束點之間。Step S81 : Accept the user's drag operation through the process editing interface 220 on the
步驟S82:於使用者電腦22透過流程編輯介面220接受使用者的設定操作來設定多個動作的執行順序與執行條件。Step S82: Accept the user's setting operation on the
步驟S83:於使用者電腦22匯出編輯完成的流程。Step S83: Export the edited process to the
於一實施例中,透過機器人作業系統,使用者電腦22可將編輯完成的流程轉換為電腦可執行的程式碼,再進行匯出。In one embodiment, through the robot operating system, the
步驟S72:於使用者電腦22透過網路23傳輸編輯完成的流程至可轉換工作站21,來設定可轉換工作站21執行流程。Step S72: Transmitting the edited workflow to the
於一實施例中,可轉換工作站21是透過機器人作業系統控制機器人站31及功能站32執行流程。In one embodiment, the
藉此,本發明可供使用者快速且方便的編輯流程。Therefore, the present invention provides users with a fast and convenient editing process.
請參閱圖9,為本發明一實施例的流程編輯介面的示意圖。流程編輯介面可包含流程編輯區(如圖9左側)與動作列表(如圖9右側)。Please refer to FIG. 9 , which is a schematic diagram of a process editing interface according to an embodiment of the present invention. The process editing interface can include a process editing area (as shown on the left in Figure 9) and an action list (as shown in Figure 9 on the right).
流程編輯區用來編輯流程。The process editing area is used to edit the process.
接著說明流程的資料架構,於本例子中,流程包含啟動點900(作為流程進入位址)、中斷點905(用來於發生例外或錯誤時中斷流程)與結束點906(作為流程結束位址)。並且,啟動點900與結束點906之間可包含多個動作,多個動作被設定有執行順序與執行條件,並基於執行順序與執行條件於啟動點900與結束點906之間被執行。Next, the data structure of the process is described. In this example, the process includes a start point 900 (as a process entry address), an interruption point 905 (used to interrupt the process when an exception or error occurs) and an end point 906 (as a process end address ). Moreover, multiple actions may be included between the
使用者可將動作列表的任何列表動作920-926拖曳至流程的啟動點900與結束點906之間(拖曳操作),作為流程動作901-904,例如是拖曳列表動作920、925、926與922,來分別作為流程動作901-904。The user can drag any list action 920-926 of the action list to between the
接著,使用者可對流程動作901-904的執行條件或順序進行設定(設定操作),例如是設定條件910-912(動作執行成功時,繼續執行下一動作),設定條件913-916(動作執行失敗時,中斷流程)。Next, the user can set the execution conditions or sequence of the process actions 901-904 (setting operation), such as setting conditions 910-912 (when the action is successfully executed, continue to execute the next action), setting conditions 913-916 (action When the execution fails, the process is interrupted).
於流程編輯完成後,使用者可將流程發佈至可轉換機器人來執行對應的組合應用。After editing the process, the user can publish the process to the convertible robot to execute the corresponding combined application.
以上所述僅為本發明之較佳具體實例,非因此即侷限本發明之申請專利範圍,故舉凡運用本發明內容所為之等效變化,均同理皆包含於本發明之範圍內,合予陳明。The above descriptions are only preferred specific examples of the present invention, and are not intended to limit the patent scope of the present invention. Therefore, all equivalent changes made by using the content of the present invention are all included in the scope of the present invention in the same way. Chen Ming.
10:管理節點 11-12:節點 12:節點 13:網路 20:管理設備 21:可轉換工作站 22:使用者電腦 220:流程編輯介面 23:網路 30:控制設備 300:處理器 301:儲存器 302:網路介面 31:機器人站 310:控制箱 311:機械手臂 312:配線盒 32:功能站 320:控制箱 321:功能設備 322:配線盒 33:功能站 34:功能站 350:整合線纜 351:整合線纜 352:整合線纜 353:網路線纜 40:系統層 41:中間層 42: 應用層 410:節點應用 420:機器人作業系統 430:作業系統 500-503:連接埠 51:整合外接插座 510-512:插座 520-523:連接埠 54:整合外接插座 540-542:插座 6:可轉換工作站 600:控制設備 610:四軸機器人站 611:六軸機器人站 620:鎖螺絲功能站 621:點膠功能站 7:自動化產線 70:網路交換器 71、78:輸送設備 72-77:可轉換工作站 800-802:流程 810-812:主題 820-821:可轉換工作站 83-85:訊息 900:啟動點 901-904:流程動作 905:中斷點 906:結束點 910-916:條件 920-926:列表動作 1000:發佈者 1001:管理者 1002:訂閱者 S10-S15:訊息傳遞步驟 S20-S21:應用變更步驟 S300-S312:註冊/訂閱步驟 S40-S42:動作步驟 S50-S53:工作站變更步驟 S60-S62:標準化連接步驟 S70-S72:流程發佈步驟 S80-S83:流程編輯步驟 10: Management node 11-12: Node 12: node 13: Network 20: Manage Devices 21: Convertible Workstation 22: User computer 220: Process editing interface 23: Network 30: Control equipment 300: Processor 301: storage 302: Network interface 31: Robot station 310: control box 311: Mechanical arm 312: Wiring box 32: Function station 320: control box 321: Functional equipment 322: Wiring box 33: Function station 34: Function station 350: Integrated cable 351: Integrated cable 352: Integrated cable 353:Network cable 40: System layer 41: middle layer 42: Application layer 410: node application 420:Robot Operating System 430: operating system 500-503: port 51: Integrated external socket 510-512: socket 520-523: port 54: Integrated external socket 540-542: socket 6: Convertible workstation 600: control equipment 610: Four-axis robot station 611: Six-axis robot station 620: lock screw function station 621: Dispensing function station 7:Automatic production line 70:Network switch 71, 78: conveying equipment 72-77: Convertible Workstation 800-802: Process 810-812: Subject 820-821: Convertible workstations 83-85: Message 900: start point 901-904: Process actions 905: break point 906: end point 910-916: Conditions 920-926: list actions 1000:Publisher 1001: Manager 1002: Subscriber S10-S15: Message transmission steps S20-S21: Apply Change Steps S300-S312: Registration/subscription steps S40-S42: action steps S50-S53: Workstation change steps S60-S62: Standardized connection steps S70-S72: Process release steps S80-S83: Process editing steps
圖1為本發明一實施例的訊息傳遞網路的架構圖。FIG. 1 is a structural diagram of a messaging network according to an embodiment of the present invention.
圖2為本發明一實施例的自動化產線的架構圖。FIG. 2 is a structural diagram of an automated production line according to an embodiment of the present invention.
圖3為本發明一實施例的可轉換工作站的架構圖。FIG. 3 is a structural diagram of a convertible workstation according to an embodiment of the present invention.
圖4為本發明一實施例的處理器的架構圖。FIG. 4 is a structural diagram of a processor according to an embodiment of the present invention.
圖5為本發明一實施例的整合外接插座的示意圖。FIG. 5 is a schematic diagram of an integrated external socket according to an embodiment of the present invention.
圖6為本發明一實施例的可轉換工作站的示意圖。FIG. 6 is a schematic diagram of a convertible workstation according to an embodiment of the present invention.
圖7為本發明一實施例的自動化產線的示意圖。FIG. 7 is a schematic diagram of an automated production line according to an embodiment of the present invention.
圖8為本發明一實施例的訊息傳遞的示意圖。FIG. 8 is a schematic diagram of message transmission according to an embodiment of the present invention.
圖9為本發明一實施例的流程編輯介面的示意圖。FIG. 9 is a schematic diagram of a process editing interface according to an embodiment of the present invention.
圖10為本發明一實施例的訊息傳遞方法的流程圖。FIG. 10 is a flowchart of a message transmission method according to an embodiment of the present invention.
圖11為本發明一實施例的變更組合應用的流程圖。FIG. 11 is a flow chart of a change combination application according to an embodiment of the present invention.
圖12為本發明一實施例的註冊與訂閱的循序圖。FIG. 12 is a sequence diagram of registration and subscription according to an embodiment of the present invention.
圖13為本發明一實施例的動作執行的流程圖。Fig. 13 is a flow chart of action execution according to an embodiment of the present invention.
圖14為本發明一實施例的工作站變更的流程圖。FIG. 14 is a flow chart of changing workstations according to an embodiment of the present invention.
圖15為本發明一實施例的標準化連接的流程圖。Fig. 15 is a flowchart of a standardized connection according to an embodiment of the present invention.
圖16為本發明一實施例的流程編輯與發佈的流程圖。Fig. 16 is a flow chart of process editing and publishing according to an embodiment of the present invention.
S10-S15:訊息傳遞步驟 S10-S15: Message transmission steps
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110143535A TWI800107B (en) | 2021-11-23 | 2021-11-23 | Flexible workstation and message passing method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110143535A TWI800107B (en) | 2021-11-23 | 2021-11-23 | Flexible workstation and message passing method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI800107B TWI800107B (en) | 2023-04-21 |
TW202322006A true TW202322006A (en) | 2023-06-01 |
Family
ID=86948821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110143535A TWI800107B (en) | 2021-11-23 | 2021-11-23 | Flexible workstation and message passing method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI800107B (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8242730B2 (en) * | 2008-06-10 | 2012-08-14 | Nichols Michael J | Automated robot teach tool and method of use |
WO2018033704A1 (en) * | 2016-08-16 | 2018-02-22 | Renishaw Plc | Inspection apparatus and a method of operating an inspection apparatus |
CN111739170B (en) * | 2020-06-24 | 2023-08-08 | 武汉久同智能科技有限公司 | Visual platform of industrial robot workstation |
-
2021
- 2021-11-23 TW TW110143535A patent/TWI800107B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI800107B (en) | 2023-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Reinhart et al. | Automatic configuration (plug & produce) of industrial ethernet networks | |
US20110238188A1 (en) | Engineering tool | |
CN102298373B (en) | Monitoring method and monitoring system of programmable logic controller (PLC) | |
US11392108B2 (en) | Production module | |
WO2019082619A1 (en) | Communication system, control device, setting device, setting method and program | |
US11310196B2 (en) | Manufacturing line computer system and network setup method of the same | |
US10663951B2 (en) | Relay device and manufacturing system | |
US20120173011A1 (en) | Implementation of Transmission and Control Platform for Equipment Front End Module of Semiconductor Production System | |
US7395359B2 (en) | Automatic configuration of network components having separate unprogrammed network devices configured to communicate with separate interconnected network terminals | |
US11271790B2 (en) | Interconnection device, communication method, and system including robot | |
CN114070726A (en) | Data acquisition method, system, device and storage medium | |
CN112067624A (en) | Machine vision distributed detection method, device and system based on 5G network | |
JP7230677B2 (en) | Control device | |
Atmojo et al. | A plug and produce-inspired approach in distributed control architecture: A flexible assembly line and product centric control example | |
TW202322006A (en) | Flexible workstation and message passing method thereof | |
JP7299967B2 (en) | simulation system | |
JPH11231924A (en) | Command generating and monitoring device for different controllers | |
CN116149265A (en) | Convertible workstation and information transfer method thereof | |
JP2004306200A (en) | Robot control system | |
EP3703342A1 (en) | Dynamic load balancing in network centric process control systems | |
US20190278341A1 (en) | System Comprising Multiple Functional Modules and Addressing Method for Functional Modules thereof | |
Marcon et al. | An Experimental Training Production Line to Demonstrate the Basics of Industry 4.0 | |
Mayrhofer et al. | Dynamically wiring cpps software architectures | |
KR20010018286A (en) | A method for data transfer and sharing between different types of PLC | |
JP2003018215A (en) | Distributed control system |