201238290 • 六、發明說明: 【發明所屬之技術領域】 本發明係有關於一種從屬台管理台、以及新穎通信節 點之追加方法。 【先前技術】 以往,已提出一種藉由傳輸線路連接複數個通信節 點,確認疋否於以付§己傳遞(token passing依智慧局資料 庫稱為「符記傳遞」,另依國立編譯館有稱為「訊標傳送」 之情形。)方式進行通信之網路存在有新穎連接之通信節 點之方法。例如,已提出有以下方法,即在以追加通信節 點作為條件而被追加的通信節點中,作成當作保持網路上 連線(on line)狀態通信節點之資訊的網路映射圖(network maP) ’在藉由通信節點的追加以符記傳送目的地位址之變 化作為條件而符合的通信節點中,神:隨作成新的網路映射 圖,一起對其他通信節點通知狀態變化,且以通知狀態變 化作為條件而符合的通信節點中二成新的網路映射圖之網 路監視方法(例如,參照專利文獻丨)。[註:node:節點; ken .付號;frame :訊框] (先前技術文獻) (專利文獻) 專利文獻1:曰本特開平9_284311號公報。 【發明内容】 (發明欲解決的課題) 然而,在專利文獻1所述之方法中,當在網路追加新 323101 201238290 的通信節點時,在各通信節點進行處理,以暫時停止符記 傳遞方式之通信立即轉換至監視處理,而可在包含新的通 信節點之網路進行符記傳遞方式之通信。因此,追加對該 監視處理與其後以符記傳遞方式通信所需之資訊之用以進 行設定與通信節點相關之通信節點的處理需要時間。但在 嚴厲重視即時(real-time)控制的網路系統中,如前述停止處 理則被視為問題,故要求排除通信節點追加用之處理之暫 時停止的技術。 本發明為有鑑於前述之問題點所開發者,其目的係為 即使對以符記傳遞方式進行通信的通信系統追加新的通信 節點之情形時,不妨礙符記傳遞方式之週期性通信,得到 可進行包含新追加通信節點之通信整體的通信設定之從屬 台、管理台,以及新穎通信節點之追加方法。 (解決課題的手段) 為了達成前述目的,本發明之從屬台係使用在通信系 統中,該通信系統係具備:複數個通信節點在以通信電纜 連接成列狀及/或星狀之網路内決定符記訊框之巡迴順 序,並向其他通信節點通知前述巡迴順序,在前述網路内 管理資料傳送之屬於前述通信節點的一個之管理台;及於 前述網路内中屬於其他通信節點之從屬台;該從屬台之特 徵具備有:符記巡迴目的地資訊記憶手段,用以記憶包含 對本身台之下一個賦予傳送權之通信節點之符記巡迴目的 地資訊;控制訊框應答手段,當接收來自前述管理台之通 信設定訊框時,將包含於前述通信設定訊框之前述符記巡 5 323101 201238290 迴目的地資訊記憶在前述符記巡迴目的地資訊記憶手段, =通信設定應答訊框傳送至前述管理台;符記理 手段’比較包含於接收來自其他前述通信 之傳送綱裝置資訊、與本身台位址來,,丨定 运權’當付到傳送權且藉由:#料訊框通信處理手段 訊框傳送處理結束時,使用記憶於前述符t己巡迴目的^ 訊記憶手段之前述符記巡迴目的地資訊,傳送將對下一: 賦予傳送權之处_點歧於㈣傳送_ 符記訊框;資料訊框通減理手段,㈣於 傳运資料訊框’並接收來自其他前述通信節點之資料訊 框二新穎節點連接資訊生成手段,依照第一符記巡迴順序 使則述符記訊框巡迴於前述網路内且於進行週期通信之途 2 ’新顆連接節點會經由通信魏與本身台物理性連接,、 當接收來自前述喃連接節點之包含前述新穎連接節點位 ^之新賴連接通知訊㈣’以包含本身台與前述新賴連 節點之連接關係之方式更新前述新穎連接通知訊框,至 身台獲得傳送料止之㈣進行縣;當於接收前述 連接通知訊框之後獲得傳送權時,藉由前述資料訊框私 處理手段傳送前述資料喊時,前述㈣贿應答手段^ 傳送所保管之前述新穎連接通知訊框。 又 (發明的效果) …依據本發明’於網路追加新穎連接節點之情形下 以符記傳遞方式進行_通料施行追加賴連接節點時 之通信所需的歧,由於在新的網路之通信所需的環境準夺 323101 6 201238290 備就緒之後藉由符記傳遞方式在新的網路切換成週期通 信,因此藉由通信節點之追加,不會對既存通信造成影響。 結果,具有以下效果:可在不容許生產步驟中斷之製造現 場導入新的設備而不會中斷生產步驟,或即使在動態網路 (motion network)導入新控制機器時亦可保證固定週期 性。 【實施方式】 以下參照圖式詳細說明本發明之從屬台、管理台,以 及新穎通信節點之追加方法之較佳實施形態。另外,本發 明並不以該實施形態為限。 第1圖係示意性表示依據實施形態使用符記進行通信 的通信系統之一例。該通信系統,係複數個通信節點1〇〇、 50A、50B由乙太網路(註冊商標)等之傳輸線路藉由連 接成列狀之相同區間(segment)之網路所構成。此外,通信 節點100、50A、50B係分別具有複數個埠,且各通信節點 之瑋間’係經由雙絞線繞線(twisted pair cable)及光纖 (fiber)等可進行全雙工通信之通信電纜ιοί而連接。在 此例中,表示設置有用以管理在相同區間網路内資料(訊 框)之傳送接收之作為管理台的1台管理台10、及根據管 理台10之設定而進行資料(訊框)傳送之2台從屬台50A、 50B之情形。再者,如後述說明,在通信系統亦存在有於 同步通信處理中新連接於網路之從屬台50C,此時,係未 與網路相連接,處於獨立狀態者。 如第1圖所示,管理台10與從屬台50A、50B係相連 7 323101 201238290 接成列狀。亦即,管理台1G之第n2與從屬台皿 之第一埠51A-1係以通信電纜101連接;從屬台5〇a之第 二埠M2與從屬台5GB之第―蟑5叫係:通 101連接。 在本實施形態中,在如前述各通信節點10、50A、50B 間以通信魏lGlit接成列狀之通㈣統中,各通信節點 10、50A、50B並非自由地進行資料傳送,而是於通信系 統内之各通信節點10、5〇A、5〇B依序傳送用以得到稱^ 為符記的資料傳送權之訊框(符記訊框),使獲得此符記 訊框之通信節點1G、5()A、5()B可對其他通信節點進行資 料的傳送。在此’符記訊框的傳送順序係為 所示者。 4^ 管理台10_從屬纟5〇A_從屬自_〜管理台...(A) 如此,ϋ信系統係在實體網路構成中雖未具口有環架 ^ ’但藉由在通信系統内之通信節點1〇、5〇a、間依 序猶迴資料傳送權(符記訊框)使傳送權返回至管理台 10,而具有邏輯性的環架構。 第2圖係為示意性表示管理台功能構成之方塊圖。管 以:在相鄰之通信節點(從屬台5〇a)之間用 谁連接之複數個埠η·ι、叫;及通信處理部20, ★「:生由淳1Μ、11-2之訊框傳送接收處理及確立符記訊 框傳送順序之處理。 啼付》己訊 兩j1M、U-2在此係由第一璋1Μ與第二痒叫的 阜所構成。只要_埠叫、以中至少-個埠與相 323101 8 201238290 鄰之通信節點(從屬台) 相連接即可。201238290 • VI. Description of the Invention: [Technical Field of the Invention] The present invention relates to a slave station management station and an additional method of a novel communication node. [Prior Art] In the past, it has been proposed to connect a plurality of communication nodes through a transmission line to confirm whether or not to transfer the tokens (the token passing is referred to as the "character transfer" according to the smart office database, and according to the National Compilation Museum. This is called "telephone transmission".) The way in which the communication network has a newly connected communication node. For example, a method has been proposed in which a network map (network maP) serving as information for maintaining an on-line communication node on a network is created in a communication node that is added with an additional communication node as a condition. 'In the communication node that is qualified by the addition of the communication node with the change of the destination address, the god: as a new network map, together with other communication nodes, the status change is notified, and the status is notified. A network monitoring method for changing a new network map in a communication node that is qualified as a condition (for example, refer to the patent document). [Note: node: node; ken. payout; frame: frame] (Prior Art Document) (Patent Document) Patent Document 1: Japanese Patent Laid-Open Publication No. Hei 9-284311. SUMMARY OF THE INVENTION (Problems to be Solved by the Invention) However, in the method described in Patent Document 1, when a communication node of a new 323101 201238290 is added to the network, processing is performed at each communication node to temporarily stop the transmission of the token. The communication is immediately switched to the monitoring process, and the communication of the token transfer mode can be performed on the network including the new communication node. Therefore, it takes time to perform processing for setting the communication node related to the communication node for the monitoring processing and the information necessary for communication with the token transmission method. However, in a network system that strictly emphasizes real-time control, if the above-described stop processing is regarded as a problem, it is required to eliminate the technique of temporarily stopping the processing for adding a communication node. The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to prevent periodic communication of a token transfer mode even when a new communication node is added to a communication system that communicates by a token transfer method. A slave station, a management station, and a method of adding a novel communication node including communication settings of the entire communication of the newly added communication node can be performed. (Means for Solving the Problem) In order to achieve the above object, the slave station of the present invention is used in a communication system having a plurality of communication nodes connected in a line and/or a star network by a communication cable. Determining the tour sequence of the message frame, and notifying the other communication nodes of the foregoing tour sequence, managing the data transfer in the network to belong to one of the aforementioned communication nodes; and belonging to other communication nodes in the aforementioned network The slave station has the following features: a memory information means for remembering the tour destination, for memorizing the travel destination information including the communication node assigned to the transfer right under the own station; the control frame response means, When receiving the communication setting frame from the management station, the foregoing destination information of the above-mentioned communication setting frame is stored in the aforementioned tracking destination information memory means, = communication setting response message The box is transmitted to the aforementioned management station; the token means 'comparison' is included in receiving the transmission protocol from other aforementioned communication Set the information, and the address of the station itself, and determine the right to transfer 'When the transfer right is paid and by: #Matching frame communication processing means frame transmission processing ends, use the memory recorded in the above-mentioned symbol The above-mentioned information of the tour destination information, the transmission will be the next: the transfer right is given _ point is different from (4) transmission _ message frame; the data frame is reduced by means, (4) in the transport data frame 'and Receiving the data frame 2 novel node connection information generating means from the other communication nodes, and causing the descriptor message frame to be patrolled in the network according to the first character tracking sequence and performing a periodic communication 2 'new connection The node is physically connected to the own station via the communication Wei, and receives the new connection notification message (4) from the aforementioned connection node including the novel connection node bit to include the connection relationship between the own station and the aforementioned new connection node. In the manner of updating the aforementioned novel connection notification frame, (4) proceeding to the county to obtain the transmission material; and obtaining the transmission right after receiving the connection notification frame, by using the foregoing information frame private When processing a means of communicating such information call, (iv) the aforementioned response bribe ^ means of transferring the custody hearing notice preceding novel connection box. (Effect of the Invention) According to the present invention, in the case where a novel connection node is added to the network, the communication is performed in a token transfer manner, and the communication required when the connection node is added is used in the new network. Environment required for communication 323101 6 201238290 After the ready-to-use, the new network is switched to periodic communication by means of the token transfer method. Therefore, the addition of the communication node does not affect the existing communication. As a result, there is an effect that a new device can be introduced in a manufacturing site that does not allow the production step to be interrupted without interrupting the production steps, or a fixed cycle can be ensured even when a motion network is introduced into the new control machine. [Embodiment] Hereinafter, preferred embodiments of a slave station, a management station, and a method of adding a novel communication node according to the present invention will be described in detail with reference to the drawings. Further, the present invention is not limited to the embodiment. Fig. 1 is a view schematically showing an example of a communication system that performs communication using a token according to an embodiment. In the communication system, a plurality of communication nodes 1A, 50A, 50B are constituted by a transmission line such as an Ethernet (registered trademark) by a network connected in the same segment of a column. In addition, the communication nodes 100, 50A, and 50B each have a plurality of ports, and the communication between the communication nodes is capable of performing full-duplex communication via a twisted pair cable and a fiber. Connect the cable ιοί. In this example, it is shown that one management station 10 is provided as a management station for managing transmission and reception of data (frames) in the same section network, and data (frame) transmission is performed according to the setting of the management station 10. The case of two slave stations 50A, 50B. Further, as will be described later, the communication system also has a slave station 50C newly connected to the network in the synchronous communication process. In this case, it is not connected to the network and is in an independent state. As shown in Fig. 1, the management station 10 is connected to the slave stations 50A and 50B, and 7 323101 201238290 is connected in a row. That is, the first node 51 of the management station 1G and the first port 51A-1 of the slave table are connected by the communication cable 101; the second port M2 of the slave station 5〇a and the fifth port of the slave station 5GB are: 101 connection. In the present embodiment, in each of the communication nodes 10, 50A, and 50B, the communication nodes 10, 50A, and 50B are not freely transmitting data, but in the communication system. Each communication node 10, 5A, 5〇B in the communication system sequentially transmits a frame (character frame) for obtaining the data transmission right of the token, so that the communication of the symbol frame is obtained. Nodes 1G, 5()A, 5()B can transfer data to other communication nodes. The order in which the message frames are transmitted is as shown. 4^ Management station 10_subordinate 纟5〇A_subordinate to _~ management station...(A) In this way, the ϋ信 system is not in the form of a physical network, but it is in communication The communication nodes 1〇, 5〇a in the system, and the data transfer right (memory frame) sequentially return the transfer right to the management station 10, and have a logical ring structure. Fig. 2 is a block diagram schematically showing the functional configuration of the management station. The tube is: a plurality of users connected between adjacent communication nodes (subordinate stations 5〇a), and a communication processing unit 20, ★ ": a message from 淳1Μ, 11-2 The frame transmission and reception processing and the processing of the transmission order frame are transmitted. The payment of the two J1M and U-2 is composed of the first 璋1Μ and the second itch. At least one of the 埠 is connected to the 323101 8 201238290 neighboring communication node (slave station).
26、符記訊框處理部27、 貝汛記憶部25、通信設定處理部 及資料訊框通信處理部28。 計時器21係藉由通信處理部2〇内的處理部啟動,具 有測量預疋時間的功能。在本實施形態中,係藉由網路存 在確認處理部22從傳送網路存在確認訊框開始至經過預 定時間為止之間進行計時。 網路存在確認處理部22係本身裝置(管理台1〇)之 電源導通之後,或是於發生預定狀態之後,進行檢測出構 成通信系統(相同區間的網路)之通信節點連接狀態之網 路存在確認處理。具體而言,係作成網路存在確認訊框以 廣播方式進行傳送’從包含於網路存在確認應答訊框(其 係為對來自存在於通信系統内之通信節點之網路存在確認 訊框之應答)之資訊’而生成網路存在資訊。該處理係從 在傳送網路存在確認訊框時啟動計時器21開始至經過預 定時間為止之期間進行。 網路存在資訊記憶部23係記憶藉由網路存在確認處 理部22所生成之網路存在資訊。該網路存在資訊係包含: 通信節點(從屬台)之MAC (Media Access Control,媒 體存取控制)位址;於該通信節點相鄰之通信節點之Mac 位址;及與該通信節點的相鄰通信節點相連接的埠編號。 符記巡迴順序決定部24係藉由網路存在確認處理部 323101 9 201238290 22所啟動之計時器21逾時(timeout)之後,或是接收表 示來自網路内從屬台新的通信節點(從屬台)與網路相連 接之新穎連接通知訊框,用以更新網路連接資訊之後,使 用記憶於網路存在資訊記憶部23的網路存在資訊,掌握構 成通信系統之通信節點間之連接狀態,且進行構成邏輯環 之處理,亦即進行決定符記訊框巡迴順序之處理。 符&己巡迴順序決定部24係在進行構成邏輯環之處理 :’例如使作為送信權之符記於—巡迴之期間通過之通信 U數成為最小之方式(將s繫兩個通信節點間之電繞(包 3於通=電纟覽1()1間包含有交換集線器者)稱為傳輸線 路使符圮一巡迴之期間通過之傳輸線路數成為最小之方 气)進行架構邏輯環。就決定滿足該條件之符記巡迴順 序的方法而s ’係有在屬於相同區間之網路内中,以一筆 劃使各通信節點進行連繫的方法。 =迴順序貝訊記憶部25,係記憶 序決定部24所蚊之符記巡迴貝 順序資訊’係最少保持在週期通信中===巡迴 接新穎連接節點後新穎決定者。 於連 销信節點之下-個職予送信權之通作節=3屬於對 設定訊框’而傳送給各通信節點:=順 係在本身裝k電料通之後,或是於發 323101 10 201238290 狀態之後決定符記巡迴順序資訊之情況時,對於全部之通 信節點傳送通信設定訊框;於接收新穎連接通知訊框之後 決定符記巡迴順序資訊之情況時,新決定之符記巡迴順序 資訊則對於與之前為止使用之符記巡迴順序資訊不相同之 通信節點傳送通信設定訊框。 再者,通信設定處理部26係判斷是否接收來自傳送 通信設定訊框之全部通信節點之對於通信設定訊框之應答 之通信設定應答訊框,若接收來自全部通信節點之通信設 定應答訊框時,則將該内容通知符記訊框處理部27。在通 信設定處理部26中,例如藉由在網路存在資訊記憶部23 的網路存在資訊設定表示接收通信設定應答訊框之旗標 (flag),即可確認是否接收來自通信系統内之全部通信節點 之通信設定應答訊框。 符記訊框處理部27,係當接受藉由通信設定處理部 26接收來自通信系統内之全部通信節點之通信設定應答 訊框内容之通知時,開始進行使用符記訊框之通信,係首 先在本身台獲得傳送權,向網路内之各從屬台通知在通信 設定處理通知之網路開始進行新的通信為旨之新穎通信開 始訊框之後,傳送各從屬台所需之資料。之後,依照符記 巡迴順序資訊記憶部25的符記巡迴順序資訊來生成設定 包含對下一個獲得送信權之通信節點MAC位址等資訊之 送信權獲得裝置資訊的符號訊框,再從本身台之全部埠 11-1、11-2以廣播進行傳送。 再者,符記訊框處理部27係當接收從別的通信節點 11 323101 201238290 所傳送來的符計訊框時 ,將該符記訊框内之送信權獲得裝 置=貝訊、與本身局之MAC位址進行比較,一致之情形時 則判斷為得到送信權者,而執行藉由資料訊框通信處裡部 28之貝料訊框傳送處理;不一致之情形時則判斷為未得到 送#權者。另外’於任一個情形時亦接收之符記訊框,係 攸非接收埠之其他埠進行轉送(重送)。 負料框通信處裡部28係進行資料訊框之傳送接收 地理例如’在與FA(Factory Automation,工場自動化) 機器間相連繫之網路中,在與管理台10相連接之控制單元 (unit)中以預定週期運算對各從屬台5〇a、5〇b設定之資 料,且將該資料予以資料訊框化而傳送至各從屬台50A、 5〇B。此外’亦具有接收來自從屬台50A、50B所傳送之資 料訊框、或從屬自50A、50B以其他從屬台為目的地轉送 (重送)資料訊框之功能。 第3圖係示意性表示從屬台功能構成之方塊圖。從屬 台50係具備在相鄰之通信節點(管理台、從屬台5〇) 之間用以連接通信電纜之複數個埠51-1、51-2 ;及經由埠 5M、.51_2進行訊框傳送接收處理之通信處理部60。 埠51-1、51-2,在此係與管理台10同樣地由第一埠 51 1與第一埠5“2的兩個埠所構成。只要兩個埠5卜卜 51-2中至少一個埠與通信節點相連接即可。 通信處理部6Q係具備:控制訊框應答部Μ、符記巡 迴目的地資訊記憶部62、卿連接時通知部63、新 連接資訊更新部64、符呓吒框卢瑰加< 、P •’ 付。己訊框處理部65、及資料訊框通信 323101 t 12 201238290 處理部66。 控制訊框應答部61係進行對於來自管理台1〇之網路 存在確認訊框或通信設定訊框等控制訊框之應答。例如, 當接收網路存在確認訊框時,對管理台10回傳網路存在確 認應答訊框。此外,當接收通信設定訊框時,抽出包含於 通信設定訊框之符記巡迴目的地資訊,並記憶在對符記巡 ,目的地資訊記憶部62’同時將通信設定應答訊框回傳至 笞σ 10另外,本說明書中,係將網路存在確認處理及 邏輯環架構處理時在㈣台1()與從屬台%之間進行交換 之訊框稱為控制訊框。 此外,控制訊框應答部61係在週期通信中新穎連接 節點與晴相連接之情料,亦在管理台10之間進行控制 ^匡之父換。然而’從本身台傳送資料之情形時,係依照 符。己巡卿騎時保管該資料至獲得料縣止,鮮得 傳,開始傳送暫時保管之資料。例如,接收來自於i期 新穎連接節點之新穎連接通知訊框,藉由新穎節點 '妾^訊更新部64保管新穎連接通知訊框之情形時,係當 本f 口獲,傳送權時’配合資料訊框之傳送時向管理台 3 =保:之新穎連接通知訊框。此外,接收來自週期通 焚^理° 1G之通信設定聽時,並非立即將通信設定應 ^匡回傳至管理台1〇’而是當本身台獲得傳送權時,由 如處料00於㈣職難時料通信設定 控制訊框應答部61亦具有以下功能:對應來自管理 323101 13 201238290 口 10或其他從屬台接收之控制訊框的訊框種類,再構成訊 C進行傳送’或單純進行重送。例如,當接收來自管理台 10之肩路存在確認訊框時,在對接收該訊框之埠以外的埠 確傳輸線路之情形下,進行將所接收之網路存在確認訊 忙之傳送來源位址、及傳送網路存在確認訊框之傳送埠資 予以重寫’再構成網路存在確認訊框,且從接收崞以外 的埠進行輸出。 j此外,例如’於接收包含來自管理台1G之通信設定 ,框或來自其他㈣纟之網路存在相應答純與通信設 定應答訊框、或是非來自新穎連接節點之包含新穎連接通 知,框之控制訊框之情形時,不對該訊框進行任何處理, 只單純進行重送。 符記巡迴目的地資訊記憶部62,係記憶本身局(從屬 台^之下一個得到傳送權之通信節點之MAC位址。此係 如月j述„己隱通信設定訊框内之符記巡迴目的地資訊之内 容。ί本實施形態中,除了根據於現在通信中符記巡迴順 序之付記巡迴目的地資訊外,亦保持包含新賴連接節點與 稱相連接時所生成之新穎連接節點之根據新的符記巡迴 順序之符5己巡迴目的地資訊。從現在使用中之符記巡迴目 的,貝訊向新的符記巡迴目的地資訊之交替,係藉由從管 理口 10之新穎通朗始訊框之接收而騎。在此,因僅記 隐下#個應傳送之符記之通信節點的MAC位a,故可相 ^於5理台1G所保持之符記巡迴資訊將資料量抑制為較 323101 14 201238290 新穎連接時通知部μ,係於 網路相連接時,斗士七入^ 0與進仃週期通信之 號之新藉連接通f广 MAC位址及連接琿編 新類節點連接資訊承心“η“ 得 連接之新藉連接?: 係為本身台與新網路相 點之新ι= 鄰節點’於接收來自新賴連接節 、接通知訊框之情形時,將接收新穎連接 :之連接蜂編號附加至新顆連接通知訊框,並且 =知訊框之目的地設為管理台ig,直到得到下 權為止進行保管。 得迗 己訊框處理部65係當接收來自別的通信節點所 达彳3己讯框時,將該符記訊框内之傳送獲得裝置資 本身σ MAC位址進行比較,一致之情形時判^為得^查 送權者’而由資料訊框通信處理部66進行資料訊框傳送卢 理。之後,對符記訊框内之傳送權獲得裝置資訊,= 存符記巡迴目的地資訊記憶部62中的符記巡迴目的地次 訊之符記訊框’從本身局之全部埠51-1、51_2以廣播進二 傳送。另一方面,於接收符記訊框内之傳送權獲得裝置二 '^與本身台MAC位址不-狀情形時,係判定為尚 得傳送權者。另外’於任一情形亦接收之符記訊框,係: 非接收埠之其他淳進行重送。 ' -貝料汛框通信處理部66係進行資料訊框之傳送接收 處理。具體而言’進行與管理台1G及其他從屬台之間 訊框的傳送接收處理。 ^ 接著,針對在該通信系統之通信方法進行說明。、26. The message frame processing unit 27, the Bessé memory unit 25, the communication setting processing unit, and the data frame communication processing unit 28. The timer 21 is activated by the processing unit in the communication processing unit 2, and has a function of measuring the lead time. In the present embodiment, the network presence confirmation processing unit 22 counts the time from the start of the transmission network presence confirmation frame to the lapse of a predetermined time. The network presence confirmation processing unit 22 is configured to detect the connection state of the communication node constituting the communication system (network of the same section) after the power of the own device (the management station 1) is turned on, or after the predetermined state occurs. There is confirmation processing. Specifically, the network presence confirmation frame is broadcasted in a broadcast manner from the network presence confirmation response frame (which is a confirmation frame for the network from the communication node existing in the communication system). Respond to the information 'and generate network presence information. This processing is performed from the start of the timer 21 when the confirmation message is present in the transmission network until a predetermined time elapses. The network presence information storage unit 23 memorizes the network presence information generated by the network presence confirmation processing unit 22. The network presence information includes: a MAC (Media Access Control) address of the communication node (slave station); a Mac address of the communication node adjacent to the communication node; and a phase with the communication node The number of the neighboring communication node connected to it. The token tour order determining unit 24 receives the timer 21 activated by the network presence confirmation processing unit 323101 9 201238290 22 or receives a new communication node (slave station) from the slave station in the network. a novel connection notification frame connected to the network for updating the network connection information, and using the network presence information stored in the network presence information storage unit 23 to grasp the connection state between the communication nodes constituting the communication system, and The processing of constructing the logical loop is performed, that is, the processing of the decision frame polling sequence is performed. The affiliation & own pedestal order determining unit 24 performs a process of constructing a logical ring: 'For example, the number of communication Us that are passed during the tour as a transmission right is minimized (the s is between two communication nodes) The electrical winding (package 3 in the pass = electric switch 1 () 1 contains a switching hub) is called the transmission line to make the number of transmission lines through the period of the tour to minimize the number of transmission lines to carry out the architectural logic loop. In the method of determining the order of the tokens that satisfies the condition, s ' is a method of connecting the communication nodes in a single stroke in the network belonging to the same section. = Back to the sequence of the memory unit 25, the memory order determining unit 24 is responsible for the order of the mosquitoes. The order information is kept at least in the periodic communication === Tour The new decision is made after the new connection node. Under the company's sales letter node - the general duty of the job to send the right = 3 belongs to the setting frame and is transmitted to each communication node: = after the self-installed k-electric material pass, or 323101 10 When the status of the tour sequence information is determined after the 201238290 state, the communication setting frame is transmitted for all the communication nodes; when the information of the tour sequence information is determined after receiving the novel connection notification frame, the newly determined tracking order information is recorded. Then, the communication setting frame is transmitted to the communication node that is different from the tracking order information used before. Furthermore, the communication setting processing unit 26 determines whether or not the communication setting response frame for responding to the communication setting frame from all the communication nodes transmitting the communication setting frame is received, and when receiving the communication setting response frame from all the communication nodes. Then, the content is notified to the message frame processing unit 27. In the communication setting processing unit 26, for example, by setting a flag indicating the reception communication setting response frame in the network presence information of the network presence information storage unit 23, it is possible to confirm whether or not to receive all from the communication system. The communication node of the communication node sets the response frame. When the communication setting processing unit 26 receives the notification of the content of the communication setting response frame from all the communication nodes in the communication system, the message frame processing unit 27 starts the communication of the user information frame. The transmission right is obtained at the own station, and each slave station in the network is notified of the information required for each slave station after the network of the communication setting processing notification starts the new communication start message for the new communication. Then, according to the token tour order information of the instructed tour order information storage unit 25, a symbol frame for setting the information of the transmission right obtaining device including the information such as the communication node MAC address of the next transmission right is generated, and then from the station itself. All of the ports 11-1 and 11-2 are transmitted by broadcast. Furthermore, the token processing unit 27 receives the token frame transmitted from the other communication node 11 323101 201238290, and transmits the transmission right device in the token frame to the message box. The MAC address is compared, and if it is consistent, it is judged that the sender is obtained, and the message frame transmission processing by the inner portion 28 of the data frame communication portion is performed; if the situation is inconsistent, it is determined that the message is not received. Power. In addition, the symbol frame received in any case is transferred (re-sent) to other terminals that are not received. The inside of the negative frame communication section 28 is for transmitting and receiving data frames, for example, a control unit (unit) connected to the management station 10 in a network connected to a FA (Factory Automation) machine. The data set for each of the slave stations 5A, 5B is calculated in a predetermined cycle, and the data is framed and transmitted to the slave stations 50A, 5B. In addition, it also has the function of receiving the information frame transmitted from the slave stations 50A, 50B, or subscribing to (resending) the data frame from the 50A, 50B destinations of other slave stations. Figure 3 is a block diagram schematically showing the functional configuration of the slave station. The slave station 50 has a plurality of ports 51-1, 51-2 for connecting communication cables between adjacent communication nodes (management station, slave station 5); and frame transmission via 埠5M, .51_2 The communication processing unit 60 receives the processing.埠51-1, 51-2, in this case, similarly to the management station 10, the first 埠51 1 and the first 埠5"2 are composed of two 埠. As long as at least two 埠5 卜 卜 51-2 One communication port is connected to the communication node. The communication processing unit 6Q includes a control frame response unit Μ, a token tour destination information storage unit 62, a clear connection notification unit 63, a new connection information update unit 64, and a symbol. The frame frame processing unit 65, and the data frame communication 323101 t 12 201238290 processing unit 66. The control frame response unit 61 performs the network for the management station 1 There is a response frame such as a confirmation frame or a communication setting frame, for example, when the receiving network has a confirmation frame, the network station presence confirmation response frame is returned to the management station 10. In addition, when receiving the communication setting frame, At the same time, the information of the travel destination included in the communication setting frame is extracted, and the information is recorded in the destination information storage unit 62', and the communication setting response frame is transmitted back to the 笞σ 10 in addition, in this specification. , the network presence confirmation processing and logical ring architecture processing The frame exchanged between (4) station 1 () and the slave station % is called a control frame. In addition, the control frame response unit 61 is connected to the clear phase in the periodic communication, and is also in the case of The management station 10 controls the father of the control. However, when the data is transmitted from the own station, it is based on the character. When the patrol is riding, the information is kept until the county is obtained, and it is rarely transmitted. For example, the novel connection notification frame from the i-phase novel connection node is received, and when the novel node '妾 update unit 64 stores the novel connection notification frame, the message is obtained when the f is obtained. 'When the data frame is transmitted, it will be sent to the management station 3 = security: the new connection notification frame. In addition, when receiving the communication setting from the cycle pass-through 1G, the communication settings are not immediately sent back to When the management station obtains the transmission right, the control unit response control unit 61 also has the following functions: the corresponding information from the management 323101 13 201238290 port 10 or other subordinates. Platform connection The type of frame of the control frame, and then the message C is transmitted 'or simply re-sent. For example, when receiving the confirmation message from the shoulder of the management station 10, the other than the frame after receiving the frame In the case of a transmission line, the transmission source address of the received network presence confirmation message and the transmission network presence confirmation frame are rewritten to rewrite the network presence confirmation frame, and Output from 埠 other than the receiving 。. j In addition, for example, 'receiving the communication settings from the management station 1G, the box or the other (four) 纟 network presence phase response pure and communication setting response frame, or non-new connection When the node contains the novel connection notification and the control frame of the frame, the frame is not processed, and only the resend is performed. The inscription tour destination information storage unit 62 is a memory address of the communication node of the communication node (the slave station is the next one). The content of the local information. In this embodiment, in addition to the travel destination information according to the order of the tour in the current communication, the new connection node generated when the new connection node is connected with the reference is maintained. The symbol of the tour sequence is 5 points of the tour destination information. From the current use of the inscription tour, the exchange of information from Beixun to the new signature tour destination is initiated by the novel communication from the management port 10. The frame is received and rided. Here, since only the MAC bit a of the communication node that should be transmitted is marked, the information of the data can be suppressed by the information recorded by the 5G station 1G. For the 323101 14 201238290 novel connection notification part μ, when the network is connected, the fighters enter the ^ 0 and enter the cycle communication number of the new borrowing connection f wide MAC address and connection 珲 new class node connection Information bearing "η The new connection that has to be connected?: The new ι= neighbor node that is the point of its own station and the new network will receive the novel connection when receiving the new connection connection and receiving the notification frame: the connection bee number Attached to the new connection notification frame, and the destination of the =information frame is set to the management station ig, and is stored until the right is obtained. The successor frame processing unit 65 receives the communication from another communication node. When the frame is in the frame, the transmission body of the symbol is obtained by comparing the capital of the device to the MAC address of the device, and if it is consistent, the message is obtained by the data frame communication processing unit 66. The data frame transmits Lu Li. After that, the information of the transmission right in the symbol box is obtained, and the character information box of the token destination address in the tour destination information storage unit 62 is 'from itself. All the 埠51-1, 51_2 of the bureau are transmitted by broadcast. On the other hand, when the transmission right obtaining device 2' in the receiver frame is not in the same state as the own MAC address, it is judged as still Have the right to transfer. Also 'received in any case The frame is: the other frame that is not received, and is resent. ' - The frame frame communication processing unit 66 performs the transmission and reception processing of the data frame. Specifically, 'between the management station 1G and other slave stations Transmission and reception processing of the frame. ^ Next, a description will be given of a communication method in the communication system.
S 32310! 15 201238290 下,說明從在管理台10與從屬台5()中之通信確立開始至 週期通信為止之方法後’針對由實施形態週期通信時之新 穎從屬台之追加方法進行說明。 第4圖係為表示在管理台中之通信方法處理程序之一 例之流程圖。如第i圖所示,從屬台5〇A、5〇B經由電纜 線1 〇 1與ϊ理台1 〇相連接後,從屬台5〇A、5〇b之電源被 導通。在該狀態下,從屬台5〇A、5〇B係成為等待接收來 自管理台10之網路存在確認訊框的狀態。之後,當管理台 10之電源被導通時,進行通信破立處理。 首先,管理台10係辨識連接於包含管理台1〇之相同 區間;路上之從屬台50,為了確立邏輯環,而進行網路存 在確認處理。在此,管理台10之網路存在確認處理部22, 係啟動計時器21後(步驟S11),生成網路存在確認訊框, 從全部埠以廣播進行傳送網路存在確認訊框(步驟si2)。 在網路存在相訊框’係包讀⑽财存在確認訊框之 傳送埠編號。 當從接收來自接收到網路存在確認訊框之從屬台5〇 的網路存在確認應答訊框時(步驟S13),網路存在確認 處理部2 2係從網路存在確認應答訊框,取得表示該訊框傳 送來源之從屬台與管理自H)側之鄰接通信節點之連接關 係的連接關係資訊,而生成網路存在資訊(步驟si4)。 在此,進行抽出網路存在確認應答訊框中的傳送來源位址 (以下稱為應答訊框傳送來驗址)、及包含於該訊框傳 送來源從屬台所接收之網路存在確認訊框的傳送來源位址 323101 16 201238290 (以下稱為確認訊框傳送來源位址)及傳送來源埠編號(以 下稱為確認訊框傳送來源埠編號)。所生成之網路存在資 訊係記憶於網路存在資訊記憶部23。 之後,判定是否在計時器21計時後經過了預定時間 (步驟S15),若為尚未經過預定時間之情形(步驟S15 為NO之情形),係成為等待狀態。而在經過預定時間之 情形(步驟S15為YES之情形),符記巡迴順序決定部 24,係到逾時為止使用記憶於網路存在資訊記憶部23之網 路存在資訊進行構成邏輯環之處理,亦即進行決定符記巡 迴順序之處理(步驟S16)。管理台10係如前述例如於屬 於相同區間之網路内,以一筆劃(以進行圍繞樹周圍之要 領)連繫各通信節點之方式決定符記巡迴順序。另外,於 該符記巡迴順序決定之時,使用各通信節點之位址與埠編 號,尋求各通信節點間的連接關係。 然後,通信設定處理部26係對網路内之各個從屬局 50,傳送包含符記巡迴目的地資訊(即該從屬局50之下一 個應傳送符記訊框之通信節點位址)之通信設定訊框(步 驟S17)。當接收對於來自各從屬台50之通信設定訊框的 通信設定應答訊框(步驟S18)時,通信設定處理部26係 辨識全部從屬台50已準備進行週期通信者。從此之後,藉 由符記傳遞(token passing)方式開始進行一般的通信處理。 在一般的通信處理中,符記訊框處理部27係辨識於 本身台具有傳送權(步驟S19),資料訊框通信處理部28 係對各從屬台50傳送資料訊框(步驟S20)。之後,符記 17 323101 201238290 傳送權 (步驟 訊框處理部27係依照符記巡迴順序資訊生成彀定 獲得裝置資訊之符記訊框,再以廣播進行傳送 S21)。之後,符記訊框於網路内之通信節點依序 藉由獲得通信權之通信節點傳送資料訊框。 負料訊框通信處理部28係判定接收資料訊樞β 本身台目的地(步驟S22),非本身台目的地之情$否為 驟似為奶之情形),不進行資料訊框的接收處理^ 驟S23)。另一方面,在本身台目的地之情形(步騍 為YES之情形),則進行資料訊框的接收處理(步驟S24)2 步驟S23、S24之後,符記訊框處理部27係判定所接 收之符記訊框是否為本身台目的地(步驟S25),在非身 身台目的地之情形(步驟S25ANO之情形),則返回步 驟S22之處理。另一方面,在本身台目的地之情形(步驟 S25為YES之情形)作為本身台具有傳送權者,則返回步 驟S20之處理。如前所述,進行在管理台1〇的通信處理。 第5圖係為表示在從屬台中之通信方法之處理程序之 —例之流程圖。首先,從屬台之控制訊框應答部61係 虽接收來自管理台1〇之網路存在確認訊框時(步驟S51 ), 生成網路存在確認應答訊框,而傳送至管理台丨〇 (步驟 S52)。在網路存在確認應答訊框,包含有所接收之網路 存在確認訊框之確認訊框傳送源位址及確認訊框傳送源埠 編號。 再者’接收網路存在顧訊框之埠储於別的璋連接 、從屬口 50之/f形時’控制訊框應答部w係從前述別 18 323101 201238290 的埠傳送將確認訊框傳送源位址與確認訊框傳送埠編號重 寫成本身台者之網路存在確認訊框(步驟S53) ’且原封 不動重送從其他從屬台50接收之管理台10目的地之網路 存在確認應答訊框(步驟S54)。 之後,從屬台50係當接收來自管理台1〇之通信設定 訊框時(步驟S55) ’控制訊框轉答部61係從通信設定訊 框中取得符記巡迴目的地資訊,而記憶於符記巡迴目的地 資訊部62 (步驟S56)。此外’控制訊框應答部61係生 成對通信設定訊框之應答的通信設定應答訊框,而傳送至 管理台10 (步驟S57)。 當回傳通信設定應答訊框時,意指在從屬台5〇之週 ,月通彳5處理已準備就緒,以後,藉由符記傳遞方式進行通 L處理。之後’從屬台5〇係在埠511、判定是否接 收到訊框(步驟S58)。 A莖接收讯框之情形(步驟S58為N〇之情形)成 2待狀態。在接收到訊框之情形(步驟S58 ^ MS之情 否為符記訊框(步驟S59),在為符記訊框 目二地之t柳為彻之情形),復判定是否為本身台 框通信處理部66係傳:訊 為NO 本身台目的地之符記訊框之情形(步驟S6〇 為NO之情形),則返回步驟物。 在步驟S59中非篇:$ #括& 芦付°己訊框之情形(步驟S59為NO之 323101 201238290 為本身台目的地之·4τ目的地之資料訊框(步驟S62)。 形)係進行接收=之情形(步驟s62為yes之情 此外,在非本身r ί步驟S63),且返回至步驟⑽。 产 _°之#料訊樞之情形(步驟S62為N〇之 半_進㈣料訊框的接收處理(步驟S63),且返 回至:物。如前所述,在從屬台5〇進行通信處理。 資料:之述藉由符記傳遞方式進行週期 =週期通信且、移行至包含新穎通信節點之= 連接新。第:1圖至第6-2圖係為表示在通信系統中 第7圖Μ接ί節點時之通信處理程序之—例之流程圖, 二處理狀圖 〇 ' ' 接從t Π傳遞方式進行週期通信之途中,新賴地連 接從屬口 50(步驟Sl〇1)。例如,如第ι圖所示 理口 10與從屬台5GA進行通信時,如第7圖 :屬^ (以下’亦稱新賴連接節點)5QC經由通: ,相連接。在該狀態下’在管理台心1 口 50A、50B之間巡迴符記訊框,接收符記訊框之通 點係生成資料訊框而傳送,因最後對下一個通:即 符記訊框,故新穎連接訊框5〇c係物理性與從屬‘’送 連接,但無接收符記喃並傳送本身台的資 ° _相 因此,新穎連接節點50C之新賴連接時通知之權利。 對於物理性連接之從屬台5⑽在任意之時間點,傳^包^ 3231( 201238290 連接本身台MAC位址及與從屬台50B之連接埠編號之新 穎1接通知訊框(步驟S102)。從屬台5〇B之新穎節點連 接#訊更新部64係當接收新穎連接通知訊框時(步驟 S103),對新穎連接通知訊框附加接收該新穎連接通知訊 框之埠編號,將目的地設為管理台1〇,暫時保管至下一個 獲得傳送權為止(步驟S104)。 之後,從屬台50B之符記訊框處理部65係判定是否 獲得傳送權(步驟S105),在尚未獲得傳送權之情形(步 驟S105為NO之情形)成為等待狀態。於是,當獲得傳送 權時(步驟S1G5為YES之情形),資料訊框通信處理部 66係傳送本身台應傳送之資料訊框,同時控㈣訊框應答部 61係將暫時性保管之新穎連接通知訊框傳送至管理台10 (步驟 S106)。 官理台10之資料訊框通信處理部28係當與資料訊框 同時接收新穎連接通知訊框時(步驟sl〇7),從所接收之 新穎連接通知訊框,取得與新穎連接節點5〇c之MAC位 址相鄰之與從屬台相連接之埠編號,及與相鄰之從屬 台5 0B之新穎連接節點5 〇 c相連接之埠編號,而更新網路 存在資訊記憶部23之網路存在資訊(步驟S108)。 之後,官理台1〇之符記巡迴順序決定部24,係使用 被更新之網路存在資訊決定新的符記巡迴順序(步驟 si〇9),而記憶於符記巡迴順序資訊記憶部。接著,通 信設定處理部26係將現在使时之符記巡迴順序、與在步 驟S109所決定之新的符記巡迴順序進行比較,對於依據 21 323101 201238290 符圮巡迴順序之變更而變更下一個交付傳送權之通信節點 (即疋符記巡迴目的地資訊)之從屬台50B與新穎連接節 點50C,生成包含符記巡迴目的地資訊之通信設定訊框( 驟 S110)。 之後,管理台10之符記訊框處理部27,係判定是否 獲侍傳送權(步驟S111)。無法獲得傳送權之情形(步驟 sm為N〇之情形)則變成等待狀態。於是,當獲得傳送 權時(步驟sill為YES之情形),f理台1〇之資料訊框 通仏處理部28係傳送對從屬台應傳送之資料訊框,同時如 第7圖(b)所示通信設定處理部26係對於在符記巡迴順 序有變更之從屬台5〇b與新穎連接節點5〇c傳送所生成之 通信設定訊框(步驟S112)。 從屬σ 50B之控制訊框應答部η,係當接收通信設定 訊框時(步驟S113),將包含於通信設定訊框之符記巡迴 目的地資訊記憶於符記巡迴目的地資訊記憶部62 (步驟 S114)。之後,符記訊框處理部65係判定是否獲得傳送 權(步驟S115)。無法獲得傳送權之情形(步驟川5為 NO之If形)則變成等待狀態。於是,當獲得傳送權時(步 驟S115 S Yes之情形)’資料訊框通信處理部66係傳送 應傳送之資料訊框’㈣控制訊框應答部61係將對通信設 定衹框之應答的通信設定應答訊框傳送至管理台1〇(步驟 S116) 〇 再者,新穎連接節點50C之控制訊框應答部61係當 接收通信設靠_ (㈣S117),將包含於通信設定訊 323101 22 201238290 框之符§己巡迴目的地資訊記憶於符記巡迴目的地資訊記憶 部62之後(步驟Sl18),對管理纟10傳送通信設定應答 (步驟S119)。由新_連接節點之通信^定應答 訊框之傳送時間點係為任意者。 來自新穎連接節點5〇c之通信設定應答訊框,係藉由 從屬台5GB所接收’進行保管至下一個從屬台遍獲得傳 送權為止(步驟S120)。之後,從屬台5〇Β之符記訊框處 理部65係判定是否獲得傳送權(步驟si2i),尚未獲得 傳送權之情形(步驟Sl21為N〇之情形)則成為等待狀態。 於是’當獲得傳送權時(步驟S122為YES之情形),資 料訊框通信處理部66係傳送本身台應傳送之資料訊柩,控 制訊框應答部61亦將所保管之通信設定應答訊框傳送至 管理台10 (步驟S122)。 在B理台10中,當接收來自從屬台50B與新穎連接 節點5〇C之通信設定應答訊框時(步驟S123、S124),各 台則辨識到已正常設定完成。之後,管理台1()係判定是否 獲得傳送權(步驟S125)。尚未獲得傳送權之情形(步驟 S125為NO之情形)則成為等待狀態,而當獲得傳送權時 (步驟S125為YES之情形)’符號訊框處理部27係以新 的網路構幻㈣以表*實崎記傳遞之卿、通信開始訊框 傳送至從屬台50A至50C (步驟S126)。 從屬台50B與新穎連接節點5〇c係當接收新穎通信開 始訊框時(步驟S127、S129),將於各個通信設定訊框接 收時記憶之新的符記巡迴目的地資訊予以有效化(設為可 23 323101 201238290 以使用之狀態)(步驟S128、S13〇)。於是,如第7_(c) 所示’以新的網路構成藉由符記傳遞開始進行通信(來 S131)。 在本實施形態中,於通信週期中連接有新穎連接節點 之情形,進行週期通信,同時進行連接新穎連接節點時之 符記巡迴順序的決定,及對於與藉此符記訊框巡迴目的地 =此為止不相同的從屬台進行符記巡迴目的地資訊的設 定。於是’在成為包含新穎連接節點之新的網路構成下^ .=行同步通信的狀態之時間點,變更成以新的符記巡迴順 =同步通信。藉此,在連接有新㈣接節點之時間點不 :::期通信’可在新的網路構成下執行週期通信。於 由=控制在同步控㈣置及機械之製造 中斷生產步驟,此外,具有在 而 保證固定週期性之效果。 (m〇tl〇nnetW〇rk) 情形另:亦=說明中:雖例示通信節點連接成列狀之 合之網路。力連接成星狀之網路、或列狀與星狀混 此外’在前述說明中,營 A 50 D 10係僅將每個從屬台 之下個獲仔傳送權之通信節點資 為符記巡迴目的地資訊,並 I从位幻作 於從屬台50傳送符記巡迴順序' 各1屬台5〇,但亦可對 ^點與網路相連接而決定新的網路== 323101 24 201238290 如前述,有關本發明之從屬台係適用於以符記傳遞方 式進行週期通信之網路。 【圖式簡單說明】 第1圖係示意性表示依據實施形態使用符記進行通信 之通信系統之一例的圖。 第2圖係為示意性表示管理台之功能構成之方塊圖。 第3圖係為示意性表示從屬台之功能構成之方塊圖。 第4圖係為表示在管理台中通信方法之處理程序之一 例之流程圖。 第5圖係為表示在從屬台中通信方法之處理程序之一 例之流程圖。 第6-1圖係為表示在通信系統中連接新穎連接節點時 之通信處理程序之一例之流程圖。 第6-2圖係為表示在通信系統中連接新穎連接節點時 之通信處理程序之一例之流程圖。 第7圖(a)至(c)係為示意性表示於通信系統連接新穎 連接節點時之處理狀況之圖; 【主要元件符號說明】 10 管理台 11-卜 11_2、51-卜 51-2 埠 20、60 21 22 通信處理部 計時器 網路存在確認處理部 網路存在資訊記憶部 25 323101 23 201238290 24 符記巡迴順序決定部 25 符記巡迴順序資訊記憶部 26 通信設定處理部 27 ' 65 符記訊框處理部 28、66 資料訊框通信處理部 50、50A、50B 從屬台 50C 新穎連接節點(從屬台) 61 控制訊框應答部 62 符記巡迴目的地資訊記憶部 63 新穎連接時通知部 64 新穎節點連接資訊更新部 101 通信電纜 26 323101S 32310! 15 201238290 Next, a method of adding a new slave slave station in the case of the periodic communication by the embodiment will be described after the method of establishing the communication from the management station 10 and the slave station 5 () to the periodic communication. Fig. 4 is a flow chart showing an example of a communication method processing program in the management station. As shown in Fig. i, the slave stations 5〇A and 5〇B are connected to the processing station 1 via the cable 1 〇 1 , and the power sources of the slave stations 5〇A and 5〇b are turned on. In this state, the slave stations 5A, 5B are in a state of waiting to receive a confirmation message from the network of the management station 10. Thereafter, when the power of the management station 10 is turned on, the communication is broken. First, the management station 10 recognizes that it is connected to the same section including the management station 1; the slave station 50 on the road performs the network presence confirmation processing in order to establish the logical loop. Here, the network presence confirmation processing unit 22 of the management station 10 starts the timer 21 (step S11), generates a network presence confirmation frame, and transmits a network presence confirmation frame from all the broadcasts (step si2). ). There is a transmission number in the confirmation box on the network. When receiving a confirmation response frame from the network receiving the slave station 5 receiving the network presence confirmation frame (step S13), the network presence confirmation processing unit 2 obtains the network presence confirmation response frame. The connection relationship information indicating the connection relationship between the slave station of the frame transmission source and the adjacent communication node managed from the H) side is generated, and network presence information is generated (step si4). Here, the transmission source address in the extraction network presence confirmation response frame (hereinafter referred to as the response frame transmission for address verification) and the network presence confirmation frame received by the slave transmission source slave station are performed. The transmission source address 323101 16 201238290 (hereinafter referred to as the confirmation frame transmission source address) and the transmission source number (hereinafter referred to as the confirmation frame transmission source number). The generated network presence information is stored in the network presence information storage unit 23. Thereafter, it is determined whether or not a predetermined time has elapsed after the timer 21 has been counted (step S15), and if the predetermined time has not elapsed (in the case of NO in step S15), it is in a waiting state. On the other hand, when the predetermined time has elapsed (YES in step S15), the token tour order determining unit 24 performs the processing of the logical loop using the network presence information stored in the network presence information storage unit 23 until the timeout. That is, the process of determining the tour sequence is performed (step S16). The management station 10 determines the order of the tour in such a manner that, for example, in the network belonging to the same section, the communication nodes are connected in a stroke (to perform the surrounding of the tree). Further, when the order of the tour is determined, the address of each communication node and the number of the communication node are used, and the connection relationship between the communication nodes is sought. Then, the communication setting processing unit 26 transmits a communication setting including the address of the tour destination information (that is, the address of the communication node of the next transmission address frame of the slave station 50) to each of the slave stations 50 in the network. Frame (step S17). When receiving the communication setting response frame for the communication setting frame from each of the slave stations 50 (step S18), the communication setting processing unit 26 recognizes that all the slave stations 50 are ready to perform the periodic communication. From then on, the general communication processing is started by the token passing method. In the normal communication processing, the character frame processing unit 27 recognizes that the own station has the transmission right (step S19), and the data frame communication processing unit 28 transmits the data frame to each of the slave stations 50 (step S20). Thereafter, the token 17 323101 201238290 transmission right (the step frame processing unit 27 generates a token frame for obtaining the device information in accordance with the token tour order information, and transmits it by broadcast S21). Thereafter, the communication node in the network frame transmits the data frame sequentially through the communication node that obtains the communication right. The negative frame communication processing unit 28 determines that the destination of the data armature β itself is received (step S22), and if the destination of the non-self station is not the case of milk, the reception of the data frame is not performed. ^ Step S23). On the other hand, in the case of the destination of the own station (in the case of YES), the receiving process of the data frame is performed (step S24). 2 After steps S23 and S24, the character frame processing unit 27 determines that the reception is received. Whether or not the character frame is the own destination (step S25), and in the case of the non-physical station destination (in the case of step S25ANO), the process returns to step S22. On the other hand, in the case of the own destination (in the case of YES in step S25), as the own station has the transfer right, the process returns to step S20. As described above, the communication processing at the management station 1 is performed. Fig. 5 is a flow chart showing an example of a processing procedure of a communication method in a slave station. First, when the slave control frame response unit 61 receives the network presence confirmation frame from the management station (step S51), a network presence confirmation response frame is generated and transmitted to the management station (step). S52). A confirmation message frame exists on the network, including the confirmation frame transmission source address and the confirmation frame transmission source number of the received network. In addition, when the receiving network exists in the other frame, the slave frame 50/f is shaped, and the control frame response unit w transmits the confirmation frame transmission source from the above-mentioned other 18 323101 201238290. The address and the confirmation frame transmission 埠 number rewriting the network acknowledgment frame of the avatar (step S53) 'and the acknowledgment resends the acknowledgment response of the network of the destination of the management station 10 received from the other slave station 50 Block (step S54). Thereafter, when the slave station 50 receives the communication setting frame from the management station 1 (step S55), the control frame answering unit 61 obtains the tracking destination information from the communication setting frame, and remembers the character. The tour destination information unit 62 is recorded (step S56). Further, the control frame response unit 61 generates a communication setting response frame for responding to the communication setting frame, and transmits it to the management station 10 (step S57). When the communication setting response frame is returned, it means that the processing of the monthly communication 5 is ready in the week of the slave station 5, and then the processing is performed by the token transmission method. Thereafter, the slave station 5 is 埠 511, and it is determined whether or not the frame is received (step S58). The case where the A stem receives the frame (the case where N is in the step S58) is in the state of 2 waiting. In the case where the frame is received (step S58 ^ MS is in the case of the message box (step S59), in the case of the t-letter of the symbol frame), the complex determination is whether it is the frame itself. The communication processing unit 66 transmits a message indicating that the message is the destination of the NO own station (in the case of NO in step S6), and returns to the step. In the case of the step S59, the non-part: $#includes & the Affinity frame (step S59 is NO 323101 201238290 is the data frame of the destination of the own station (step S62). In the case of receiving = (in the case of yes in step s62, in addition, in step S63), the process returns to step (10). In the case of the production_°## message hub (step S62 is the reception processing of the half-in (four) frame of N〇 (step S63), and returns to: object. As described above, communication is performed at the slave station 5 Processing: The data is cycled by the way of the transfer of the cycle = cycle communication and moved to the new communication node = connection is new. Figure 1:1 to 6-2 shows the figure 7 in the communication system. In the flow chart of the communication processing procedure when the ί node is connected, the second processing diagram 〇 ' ' connects to the slave port 50 in the middle of the periodic communication from the t Π transmission mode (step S1〇1). As shown in Figure ι, the interface 10 communicates with the slave station 5GA, as shown in Figure 7: genre ^ (hereinafter referred to as the new connection node) 5QC is connected via:: in this state 'in management The heartbeat frame between the 50A and 50B of the Taiwan heart is received. The pass point of the receiver symbol frame is generated by generating the data frame. Because the last pass is the next message box, the new link frame 5 〇c is physically connected to the slave's, but there is no receiver and transmits the information of the own station. The new connection node 50C has the right to notify when it is connected. For the physical connection slave station 5 (10) at any time point, pass the packet ^ 3231 (201238290 connects its own MAC address and the connection with the slave station 50B) The novel 1 receives the notification frame (step S102). The novel node connection of the slave station 5B is updated when the novel connection notification frame is received (step S103), and the novel connection is additionally received for the novel connection notification frame. The number of the notification frame is set to the management station, and is temporarily stored until the next transmission right is obtained (step S104). Then, the character frame processing unit 65 of the slave station 50B determines whether or not the transmission right is obtained. (Step S105), when the transfer right has not been obtained (the case where NO is NO in step S105), the standby state is obtained. Then, when the transfer right is obtained (YES in step S1G5), the data frame communication processing unit 66 transmits itself. The data frame to be transmitted by the station, and the control (four) frame response unit 61 transmits the novel connection notification frame temporarily stored to the management station 10 (step S106). The letter processing unit 28 receives the novel connection notification frame simultaneously with the data frame (step sl7), and obtains the MAC address of the novel connection node 5〇c from the received novel connection notification frame. The serial number connected to the slave station and the serial number connected to the novel connection node 5 〇c of the adjacent slave station 50B update the network presence information of the network presence information storage unit 23 (step S108). Thereafter, the official tour order determining unit 24 determines the new note tour order using the updated network presence information (step si〇9), and stores it in the note tour order information storage unit. Next, the communication setting processing unit 26 compares the current time-of-day tour order with the new note tour order determined in step S109, and changes the next delivery according to the change of the 21 323101 201238290 symbol tour order. The slave station 50B of the communication node of the transfer right (i.e., the track record destination information) and the novel link node 50C generate a communication setting frame including the information of the tour destination information (step S110). Thereafter, the character frame processing unit 27 of the management station 10 determines whether or not the transmission right is obtained (step S111). In the case where the transfer right cannot be obtained (in the case where the step sm is N〇), it becomes a wait state. Therefore, when the transfer right is obtained (in the case where the step sill is YES), the data frame communication processing unit 28 of the f station transmits the data frame to be transmitted to the slave station, and as shown in Fig. 7(b) The communication setting processing unit 26 transmits the generated communication setting frame to the slave station 5〇b and the novel connection node 5〇c that have changed in the order of the tour (step S112). The control frame response unit η of the slave σ 50B receives the communication setting frame (step S113), and stores the information of the tour destination information included in the communication setting frame in the character tracking destination information storage unit 62 ( Step S114). Thereafter, the character frame processing unit 65 determines whether or not the transmission right is obtained (step S115). When the transfer right cannot be obtained (step 5 is NO's If), it becomes a wait state. Then, when the transmission right is obtained (the case of SYES in step S115), the data frame communication processing unit 66 transmits the data frame to be transmitted. (4) The control frame response unit 61 is a communication that sets a response to the communication only frame. The setting response frame is transmitted to the management station 1 (step S116). Further, the control frame response unit 61 of the novel connection node 50C receives the communication setting _ ((4) S117) and will be included in the communication setting message 323101 22 201238290 After the tracking destination information is stored in the token tour destination information storage unit 62 (step S18), the communication setting response is transmitted to the management terminal 10 (step S119). The transmission time point of the communication frame of the new _ connection node is any. The communication setting response frame from the novel connection node 5〇c is received by the slave station 5GB and stored until the next slave station obtains the transmission right (step S120). Thereafter, the slave station processing unit 65 determines whether or not the transfer right is obtained (step si2i), and the transfer right has not been obtained (the case where step S21 is N〇) becomes the wait state. Then, when the transmission right is obtained (YES in step S122), the data frame communication processing unit 66 transmits the data message to be transmitted by the own station, and the control frame response unit 61 also sets the communication setting response frame to be stored. It is transmitted to the management station 10 (step S122). In the B-stage 10, when receiving the communication setting response frame from the slave station 50B and the novel connection node 5C (steps S123, S124), each station recognizes that the normal setting is completed. Thereafter, the management station 1() determines whether or not the transfer right is obtained (step S125). The case where the transfer right has not been obtained (the case where NO is NO in step S125) becomes the wait state, and when the transfer right is obtained (YES in step S125), the symbol frame processing unit 27 uses the new network configuration (4) to The table *Sakisaki transmission, the communication start frame is transmitted to the slave stations 50A to 50C (step S126). When the slave station 50B and the novel connection node 5〇c receive the novel communication start frame (steps S127 and S129), the new token tour destination information memorized when each communication setting frame is received is validated (set It is in a state of being used by 23 323101 201238290 (steps S128, S13〇). Then, as shown in Fig. 7(c), communication is started by the token transmission with a new network configuration (to S131). In the present embodiment, in the case where a novel connection node is connected in the communication cycle, periodic communication is performed, and the decision of the registration order of the connection when the novel connection node is connected is performed, and the destination of the tour is determined. The slave stations that are different here are set to record the tour destination information. Then, at the time when the state of the new network configuration including the novel connection node is changed to the state of the line synchronization communication, the change is made to the new token tour synchronization communication. Thereby, no ::: period communication can be performed at the time point when the new (four) node is connected, and the periodic communication can be performed under the new network configuration. Controlled by the = control in the synchronous control (four) and mechanical manufacturing interrupt production steps, in addition, has the effect of ensuring a fixed periodicity. (m〇tl〇nnetW〇rk) Case: also = Description: Although the communication nodes are connected in a column-like network. The force is connected to a star-shaped network, or the column is mixed with a star shape. In the foregoing description, the camp A 50 D 10 only transmits the communication node of each subordinate station to the transfer right. Destination information, and I from the position of the slave station 50 transmission of the tour sequence '1 each station 5, but can also connect to the network to determine the new network == 323101 24 201238290 As described above, the slave station relating to the present invention is applicable to a network that performs periodic communication in a token transfer manner. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a view schematically showing an example of a communication system in which communication is performed using a symbol according to an embodiment. Fig. 2 is a block diagram schematically showing the functional configuration of the management station. Figure 3 is a block diagram schematically showing the functional configuration of the slave station. Fig. 4 is a flow chart showing an example of a processing procedure of a communication method in the management station. Fig. 5 is a flow chart showing an example of a processing procedure of the communication method in the slave station. Fig. 6-1 is a flow chart showing an example of a communication processing procedure when a novel connection node is connected in a communication system. Fig. 6-2 is a flow chart showing an example of a communication processing procedure when a novel connection node is connected in a communication system. Fig. 7(a) to (c) are diagrams schematically showing the processing status when the communication system is connected to the novel connection node; [Description of main component symbols] 10 Management station 11-b 11_2, 51-b 51-2 埠20, 60 21 22 Communication processing unit timer network presence confirmation processing unit network presence information storage unit 25 323101 23 201238290 24 token tour order determination unit 25 token tour order information storage unit 26 communication setting processing unit 27 ' 65 character Message frame processing unit 28, 66 data frame communication processing unit 50, 50A, 50B slave station 50C novel connection node (slave station) 61 control frame response unit 62 token tour destination information storage unit 63 novel connection notification unit 64 novel node connection information update section 101 communication cable 26 323101