TWI557558B - Logging system, loggiing device and data logging method - Google Patents

Logging system, loggiing device and data logging method Download PDF

Info

Publication number
TWI557558B
TWI557558B TW104118725A TW104118725A TWI557558B TW I557558 B TWI557558 B TW I557558B TW 104118725 A TW104118725 A TW 104118725A TW 104118725 A TW104118725 A TW 104118725A TW I557558 B TWI557558 B TW I557558B
Authority
TW
Taiwan
Prior art keywords
data
time
control
clock
control data
Prior art date
Application number
TW104118725A
Other languages
Chinese (zh)
Other versions
TW201610671A (en
Inventor
森祥彦
Original Assignee
三菱電機股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機股份有限公司 filed Critical 三菱電機股份有限公司
Publication of TW201610671A publication Critical patent/TW201610671A/en
Application granted granted Critical
Publication of TWI557558B publication Critical patent/TWI557558B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Description

登錄系統、登錄裝置及數據登錄方法 Login system, login device, and data login method

本發明係關於登錄系統(logging system)、登錄裝置及數據登錄(data logging)方法。 The present invention relates to a logging system, a logging device, and a data logging method.

登錄系統,係利用登錄裝置而從控制裝置收集控制數據(data)。收集到的控制數據稱為登錄數據(logging data),且登錄數據係附加上時間戳記(time stamp)而儲存在檔案(file)中。在有複數個控制裝置之情況,可針對每個控制裝置分別指定登錄裝置從各控制裝置收集數據之間隔。然後,登錄裝置每隔指定的一定的間隔從各控制裝置收集數據,並將收集到的登錄數據輸出至檔案(參照例如專利文獻1)。 The login system collects control data (data) from the control device using the login device. The collected control data is called login data, and the login data is attached to a time stamp and stored in a file. In the case where there are a plurality of control devices, the interval at which the registration device collects data from each control device can be individually designated for each control device. Then, the registration device collects data from each control device at predetermined intervals, and outputs the collected registration data to the file (see, for example, Patent Document 1).

此時,為了統一登錄系統全體的時鐘,附加至登錄數據之時間戳記係以登錄裝置所具備的共通計時器(timer)為基準。為了正確地掌握從各控制裝置收集到登錄數據的時刻,共通計時器要將時鐘修正成與外部系統(system)的標準時刻同步。另外,因為登錄裝置的時鐘元件與外部系統的時鐘元件不同,所以共通計時器的時鐘之修 正必須定期地實施以防止時刻之偏差。 At this time, in order to collectively register the clock of the entire system, the time stamp attached to the registration data is based on the common timer provided in the registration device. In order to correctly grasp the timing at which the registration data is collected from each control device, the common timer corrects the clock to be synchronized with the standard time of the external system. In addition, since the clock element of the login device is different from the clock component of the external system, the clock of the common timer is repaired. It must be implemented regularly to prevent deviations in time.

藉由實施如此的處理,匯集從控制裝置收集到的數據,且比較時間戳記,就可顯示各時間序列之生產資訊。 By performing such processing, the data collected from the control device is collected, and the time stamp is compared to display the production information for each time series.

[先前技術文獻] [Previous Technical Literature]

(專利文獻) (Patent Literature)

(專利文獻1)日本特開2012-159942號公報 (Patent Document 1) Japanese Patent Laid-Open Publication No. 2012-159942

(專利文獻2)WO 01/020456號 (Patent Document 2) WO 01/020456

然而,在共通計時器向外部系統詢問而修正時鐘之際,共通計時器的值比外部系統的標準時刻快,就要將共通計時器的時鐘的時刻調回來。在將共通計時器的時鐘的時刻調回來之情況,會有附加至登錄數據之時間戳記會為比已發行的時間戳記還早的時刻或與已發行的時間戳記相同的時刻之情形。 However, when the common timer asks the external system to correct the clock, the value of the common timer is faster than the standard time of the external system, and the time of the clock of the common timer is adjusted. When the time of the clock of the common timer is turned back, there may be a case where the time stamp attached to the registration data is earlier than the issued time stamp or the same time as the issued time stamp.

為了將各控制裝置的稼動狀況都匯總而顯示,必須以時間戳記為基準而將登錄數據重排。但是,在為了時刻同步而實施了共通計時器的時鐘的修正之情況,因為不保證各控制裝置所收集到的登錄數據的時間戳記會按照時間序列的順序,所以有並無法將登錄數據重新排成按照稼動的時間序列順序之問題。 In order to display the progress of each control device, it is necessary to rearrange the registration data based on the time stamp. However, in the case where the correction of the clock of the common timer is performed for the time synchronization, since the time stamp of the registration data collected by each control device is not guaranteed in the order of time series, the registration data cannot be rearranged. In order to follow the sequence of time series.

另外,在登錄數據的重排之際,藉由指定作 為基準之間隔,可依據每一間隔之時間戳記將各裝置的數據予以橫排匯集。但是,若並未使從作為對象之複數個控制裝置收集數據的週期都相同,就會發生很多其中有些登錄數據不存在之時間戳記,輸出數據就會成為表示「NULL」或「沒有數據」之資訊。因此,在利用趨勢圖(trend graph)等來使已匯總的收集數據做可視化的呈現之際,就會有在沒有數據的部分未顯示出登錄數據的情形。 In addition, at the time of the rearrangement of the login data, by designation For the interval of the reference, the data of each device can be horizontally arranged according to the time stamp of each interval. However, if the period of collecting data from the plurality of control devices as the target is not the same, many time stamps in which some of the login data do not exist will occur, and the output data will become "NULL" or "no data". News. Therefore, when the aggregated collected data is visualized by using a trend graph or the like, there is a case where the registered data is not displayed in the portion where there is no data.

另外,在保證得到稼動的時間序列數據之手段方面,有一種每次將時刻附加至動作軌跡(trace)資訊都將往上計數(count up)之計數器(counter)值與時間戳記一起附加之手段曾經提出(參照例如專利文獻2)。但是,在此情況,若希望只匯總顯示複數個控制裝置之中的任意個控制裝置的數據,則為了知道計數器值的前後順序,必須調查所有的控制裝置的資訊。因此,控制裝置的規模越大越花工夫及成本。 In addition, in terms of means for assuring the time series data of the moving, there is a means for attaching a counter value to the time stamp each time the time is attached to the action trace information. It has been proposed (see, for example, Patent Document 2). However, in this case, if it is desired to collectively display only the data of any of the plurality of control devices, it is necessary to investigate the information of all the control devices in order to know the order of the counter values. Therefore, the larger the size of the control device, the more labor and cost.

本發明係有鑑於上述課題而完成者,其目的在得到:可在利用登錄裝置從對象裝置收集數據之登錄系統中,容易且確實地將對象裝置的數據重新排成按照時間序列順序之登錄系統、登錄裝置及數據登錄方法。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a registration system that can easily and surely re-arrange data of a target device into a chronological order in a registration system that collects data from a target device by using a registration device. , login device and data login method.

為了解決上述的課題,達成上述目的,本發明之登錄系統係包括作為數據收集對象之複數個對象裝置、以及從前述複數個對象裝置收集前述對象裝置內的數據並予以記錄之登錄裝置而構成者;其中前述登錄裝置係 具備:以既定的時序(timing)將時刻修正成與外部的標準時刻同步之第一時鐘;在前述登錄裝置起動時將時刻修正成與前述第一時鐘的時刻同步後就不在前述登錄裝置的稼動中進行時刻的修正之第二時鐘;將從前述複數個對象裝置所取得的前述數據按各前述對象裝置分別儲存之數據記憶部;以各對象裝置各既定的收集時間間隔從前述複數個對象裝置取得前述數據,且在每個前述數據附加上從前述對象裝置取得前述數據之際之前述第一時鐘的時刻及前述第二時鐘的時刻,並儲存至前述數據記憶部之數據取得部;使前述數據記憶部中所儲存之前述複數個對象裝置的前述數據按照從前述對象裝置取得前述數據之時間序列順序重排並結合之控制數據整合排列部;以及儲存前述結合後的數據之結合數據記憶部;且前述控制數據整合排列部係以前述數據記憶部中所儲存之前述數據中所附加之前述第二時鐘的時刻為基準,使前述複數個對象裝置的前述數據按照前述時間序列順序重排並結合。 In order to achieve the above object, the registration system of the present invention includes a plurality of target devices as data collection targets, and a registration device that collects and records data in the target device from the plurality of target devices. The aforementioned login device The method includes: correcting the time to a first clock synchronized with an external standard time at a predetermined timing; and correcting the time to be synchronized with the time of the first clock when the registration device is activated, not in the registration device a second clock for correcting the time; a data storage unit that stores the data acquired from the plurality of target devices for each of the target devices; and a plurality of target devices at a predetermined collection time interval of each target device Acquiring the data, and adding the time of the first clock and the time of the second clock when the data is acquired from the target device to each of the data, and storing the data in the data storage unit of the data storage unit; The data of the plurality of target devices stored in the data storage unit is a control data integration arrangement unit that rearranges and combines the time series of the data from the target device; and a combined data storage unit that stores the combined data. And the aforementioned control data integration arrangement is in the aforementioned data memory unit Storage of the data in the appended moment the second clock as a reference so that the data of the plurality of target devices rearranged and combined in the time sequence.

根據本發明,就會產生可在利用登錄裝置從對象裝置收集數據之登錄系統中,容易且確實地將對象裝置的數據重新排成按照時間序列順序之效果。 According to the present invention, it is possible to easily and surely rearrange the data of the target device into a chronological order in the login system that collects data from the target device by the login device.

10‧‧‧控制裝置 10‧‧‧Control device

11‧‧‧CPU 11‧‧‧CPU

12‧‧‧控制執行部 12‧‧‧Control and Implementation Department

13‧‧‧控制程式 13‧‧‧Control program

14‧‧‧控制數據 14‧‧‧Control data

15‧‧‧控制數據儲存部 15‧‧‧Control data storage

16‧‧‧控制數據轉送部 16‧‧‧Control Data Transfer Department

17‧‧‧通訊部 17‧‧‧Communication Department

20‧‧‧匯流排 20‧‧‧ Busbar

30‧‧‧伺服個人電腦 30‧‧‧Servo PC

31‧‧‧時刻配送部 31‧‧‧Time Delivery Department

32‧‧‧通訊部 32‧‧‧Communication Department

40‧‧‧個人電腦 40‧‧‧PC

41‧‧‧登錄設定工具 41‧‧‧ Login Settings Tool

42‧‧‧通訊部 42‧‧‧Communication Department

50‧‧‧記憶媒體 50‧‧‧Memory Media

60‧‧‧纜線 60‧‧‧ cable

100‧‧‧登錄裝置 100‧‧‧ Login device

101‧‧‧CPU 101‧‧‧CPU

102‧‧‧數據取得部 102‧‧‧Data Acquisition Department

103‧‧‧內部記憶體 103‧‧‧Internal memory

104‧‧‧數據記憶部 104‧‧‧Data Memory Department

105‧‧‧共用記憶體 105‧‧‧Shared memory

106‧‧‧控制數據 106‧‧‧Control data

107‧‧‧結合檔案製作部 107‧‧‧Combined with the Archives Production Department

108‧‧‧控制數據整合排列部 108‧‧‧Control data integration and alignment

109‧‧‧控制數據插值部 109‧‧‧Control Data Interpolation Department

110‧‧‧絕對時刻計時器 110‧‧‧ Absolute time timer

111‧‧‧共通計時器 111‧‧‧Common timer

112‧‧‧時刻同步要求部 112‧‧‧Time synchronization request department

113‧‧‧環形緩衝區域 113‧‧‧ ring buffer area

114‧‧‧登錄參數 114‧‧‧ Login parameters

115‧‧‧通訊部 115‧‧‧Communication Department

200‧‧‧電腦裝置 200‧‧‧ computer equipment

201‧‧‧顯示裝置 201‧‧‧ display device

202‧‧‧輸入裝置 202‧‧‧ Input device

203‧‧‧CPU 203‧‧‧CPU

204‧‧‧非揮發性記憶體 204‧‧‧Non-volatile memory

205‧‧‧揮發性記憶體 205‧‧‧ volatile memory

206‧‧‧顯示用記憶體 206‧‧‧ Display memory

207‧‧‧外部記憶體介面 207‧‧‧External memory interface

208‧‧‧通訊介面 208‧‧‧Communication interface

209‧‧‧內部匯流排 209‧‧‧Internal busbar

第1圖係顯示本發明的實施形態之登錄系統的構成之圖。 Fig. 1 is a view showing the configuration of a registration system according to an embodiment of the present invention.

第2圖係用來說明在本發明的實施形態之登錄裝置的共通計時器寫入時鐘數據之處理的流程圖。 Fig. 2 is a flowchart for explaining processing of writing clock data to the common timer of the registration device according to the embodiment of the present invention.

第3圖係顯示本發明的實施形態之登錄裝置中的數據取得部的數據取得處理步驟之處理流程圖。 Fig. 3 is a flowchart showing the processing of the data acquisition processing procedure of the data acquisition unit in the registration device according to the embodiment of the present invention.

第4圖係顯示在本發明的實施形態之登錄系統中,從複數個控制裝置收集控制數據的構成例之圖。 Fig. 4 is a view showing an example of a configuration in which control data is collected from a plurality of control devices in the registration system according to the embodiment of the present invention.

第5圖係用來說明在本發明的實施形態之登錄系統中,登錄裝置將控制數據重排並結合之處理之流程圖。 Fig. 5 is a flow chart for explaining a process in which the registration device rearranges and combines control data in the login system according to the embodiment of the present invention.

第6圖(a)至(c)係顯示本發明的實施形態之登錄裝置內的控制數據之圖。 Fig. 6 (a) to (c) are diagrams showing control data in the registration device according to the embodiment of the present invention.

第7圖係顯示在本發明的實施形態之登錄裝置中,以同值插值方式求出缺乏的數據之情況的控制數據之圖。 Fig. 7 is a view showing control data in a case where the lack of data is obtained by the same value interpolation method in the registration device according to the embodiment of the present invention.

第8圖係顯示在本發明的實施形態之登錄裝置中,在以同值插值方式求出缺乏的數據之情況輸出的檔案之圖。 Fig. 8 is a view showing a file outputted when a lack of data is obtained by the same value interpolation method in the registration device according to the embodiment of the present invention.

第9圖係顯示在本發明的實施形態之登錄裝置中,以線性插值方式求出缺乏的數據之情況的控制數據之圖。 Fig. 9 is a view showing control data in a case where a lack of data is obtained by linear interpolation in the registration device according to the embodiment of the present invention.

第10圖係顯示在本發明的實施形態之登錄裝置中,在以線性插值方式求出缺乏的數據之情況輸出至記憶媒體之檔案的數據之圖。 Fig. 10 is a view showing data which is output to a file of a memory medium when the lack of data is obtained by linear interpolation in the registration device according to the embodiment of the present invention.

第11圖係以示意的方式顯示實現作為控制裝置、伺服個人電腦、個人電腦及登錄裝置的機能之電腦裝置的構成的一例之方塊圖。 Fig. 11 is a block diagram showing an example of a configuration of a computer device that realizes functions of a control device, a servo personal computer, a personal computer, and a registration device.

以下,根據圖式來詳細說明本發明之登錄系 統、登錄裝置、數據登錄方法的實施形態。惟本發明並不限定於以下所說明的,還可在未脫離本發明的主旨之範圍內做適當的變化。 Hereinafter, the registration system of the present invention will be described in detail based on the drawings. Embodiments of the system, the registration device, and the data registration method. However, the present invention is not limited to the following description, and modifications may be made without departing from the spirit and scope of the invention.

實施形態1. Embodiment 1.

第1圖係顯示本發明的實施形態1之登錄系統的構成之圖。如第1圖所示之本實施形態之登錄系統係包括:進行用來對未圖示的被控制裝置進行既定的控制所需的演算之控制裝置10;登錄所取得的控制數據之登錄裝置100;裝設於登錄裝置100之記憶媒體50;用來設定登錄參數(logging parameter)之個人電腦40;以及進行時刻同步所需之伺服個人電腦(server personal computer)30而構成。控制裝置10與登錄裝置100係透過匯流排(bus)20而相連接。個人電腦40與伺服個人電腦30係透過乙太網路(Ethernet)等之纜線(cable)60而與登錄裝置100連接。另外,伺服個人電腦30還透過纜線60而與控制裝置10連接。第1圖中顯示之箭號,係表示控制裝置(登錄(logging)對象)的數據之移動。 Fig. 1 is a view showing the configuration of a registration system according to the first embodiment of the present invention. The registration system of the present embodiment as shown in Fig. 1 includes a control device 10 that performs calculations necessary for performing predetermined control on a controlled device (not shown), and a registration device 100 that registers acquired control data. The memory medium 50 installed in the registration device 100; the personal computer 40 for setting the registration parameter; and the server personal computer 30 required for time synchronization. The control device 10 and the registration device 100 are connected via a bus 20 . The personal computer 40 and the servo personal computer 30 are connected to the registration device 100 via a cable 60 such as an Ethernet (Ethernet). Further, the servo personal computer 30 is also connected to the control device 10 via the cable 60. The arrow shown in Fig. 1 indicates the movement of data of the control device (logging object).

控制裝置10係具備有:控制執行部12、控制數據儲存部15、控制數據轉送部16、通訊部17、以及使上述各部動作之CPU 11。控制執行部12,係具備有控制裝置10對於被控制裝置進行控制所需的控制程式(control program)13,依照該控制程式13進行演算而使控制裝置10動作,以進行被控制裝置的控制。控制數據儲存部15,係 儲存而保持控制裝置10對於被控制裝置進行控制之際產生的控制數據14。 The control device 10 includes a control execution unit 12, a control data storage unit 15, a control data transfer unit 16, a communication unit 17, and a CPU 11 that operates the above-described respective units. The control execution unit 12 includes a control program 13 necessary for the control device 10 to control the controlled device, and operates the control program 13 to operate the control device 10 to control the controlled device. Control data storage unit 15, The control data 14 generated when the control device 10 controls the controlled device is stored.

控制數據轉送部16,係以既定的一定的週期或控制程式的動作週期,將控制數據儲存部15的控制數據14的值轉送至登錄裝置100所具備的共用記憶體105,且通知登錄裝置100已將控制數據14儲存至共用記憶體105。亦即,登錄裝置100係以既定的一定的間隔或控制程式的動作間隔取得控制數據14。控制數據轉送部16係按照控制數據14所產生的時間序列順序將該控制數據14轉送出去。通訊部17係在與外部機器之間進行通訊。 The control data transfer unit 16 transfers the value of the control data 14 of the control data storage unit 15 to the shared memory 105 included in the registration device 100 at a predetermined cycle or control cycle of the control program, and notifies the registration device 100 of the registration device 100. The control data 14 has been stored to the shared memory 105. That is, the registration device 100 acquires the control data 14 at a predetermined interval or at an operation interval of the control program. The control data transfer unit 16 transfers the control data 14 in the time series sequence generated by the control data 14. The communication unit 17 communicates with an external device.

個人電腦40,係具有利用軟體(software)而實現之登錄設定工具(tool)41、以及通訊部42。登錄設定工具41係具有製作出登錄用的設定數據,並將該設定數據設定至登錄裝置100之機能。設定數據係與登錄裝置100從控制裝置10收集來的數據的數目及種類、收集數據的週期、登錄執行條件、將數據結合之設定的選擇、數據插值方法、時刻同步時序(timing)等的設定內容有關之數據。因此,個人電腦40係發揮作為登錄用設定數據製作暨設定裝置之機能。通訊部42係在與外部機器之間進行通訊。 The personal computer 40 has a registration setting tool 41 implemented by software and a communication unit 42. The registration setting tool 41 has a function of creating setting data for registration and setting the setting data to the registration device 100. The setting data system and the number and type of data collected by the registration device 100 from the control device 10, the cycle of collecting data, the registration execution condition, the selection of setting of data combination, the data interpolation method, and the timing synchronization timing (timing) are set. Content related data. Therefore, the personal computer 40 functions as a setting data creation and setting device for registration. The communication unit 42 communicates with an external device.

構成個人電腦40之電腦裝置的詳細的構成將在後面說明。個人電腦40亦可利用具有上述機能之專用裝置來加以構成。此外,因為個人電腦40在將製作出的設定數據設定至登錄裝置100時才需要,所以在登錄裝置100稼動中,將個人電腦40與登錄裝置100之連接切斷亦無妨。 The detailed configuration of the computer device constituting the personal computer 40 will be described later. The personal computer 40 can also be constructed using a dedicated device having the above functions. Further, since the personal computer 40 is required to set the created setting data to the registration device 100, it is possible to disconnect the connection between the personal computer 40 and the registration device 100 during the registration of the registration device 100.

伺服個人電腦30係具備有:作為SNTP(Simple Network Time Protocol)伺服器而動作,將伺服個人電腦30的時刻配送至SNTP客戶端(client)之時刻配送部31;以及通訊部32。時刻配送部31係在從SNTP客戶端接收到時刻同步要求時配送出時刻資訊。此處之SNTP客戶端係為登錄裝置100及控制裝置10。通訊部32係在與外部機器之間進行通訊。構成伺服個人電腦30之電腦裝置的詳細的構成將在後面說明。伺服個人電腦30亦可利用具有SNTP機能之專用裝置來加以構成。 The servo personal computer 30 includes a delivery unit 31 that operates as a SNTP (Simple Network Time Protocol) server, and delivers the time of the servo personal computer 30 to the SNTP client (client); and a communication unit 32. The time delivery unit 31 delivers time information when receiving a time synchronization request from the SNTP client. The SNTP client here is the login device 100 and the control device 10. The communication unit 32 communicates with an external device. The detailed configuration of the computer device constituting the servo personal computer 30 will be described later. The servo personal computer 30 can also be constructed using a dedicated device having an SNTP function.

登錄裝置100係包括:CPU 101、數據取得部102、內部記憶體103、數據記憶部104、共用記憶體105、結合檔案製作部107、絕對時刻計時器110、共通計時器111、時刻同步要求部112、通訊部115而構成。 The registration device 100 includes a CPU 101, a data acquisition unit 102, an internal memory 103, a data storage unit 104, a shared memory 105, a combined file creation unit 107, an absolute time counter 110, a common timer 111, and a time synchronization request unit. 112. The communication unit 115 is configured.

共通計時器111,係為了使登錄系統全體的時鐘統一而配備的時鐘。共通計時器111係與伺服個人電腦30的時刻同步。附加至控制數據之時間戳記係以共通計時器111的值為基準。 The common timer 111 is a clock provided to unify the clocks of all the registered systems. The common timer 111 is synchronized with the timing of the servo personal computer 30. The time stamp attached to the control data is based on the value of the common timer 111.

絕對時刻計時器110,係在登錄裝置100的電源起動後進行一次將時鐘修正成其時刻與共通計時器111同步。然後,絕對時刻計時器110在共通計時器111進行將時鐘修正為與伺服個人電腦30相同之際,亦即共通計時器111使時刻與伺服個人電腦30同步之際,不受該同步影響而持續以一定的間隔進行值的更新。換言之,絕對時刻計時器110係為在登錄裝置100的電源剛起動時使時 刻與共通計時器111同步後一直到登錄裝置100的電源關斷(off)為止都持續進行不做修正之絕對時刻的更新的動作之時鐘。絕對時刻計時器110具備有例如與共通計時器111相同之時鐘元件。附加至控制數據之絕對時刻數據係以絕對時刻計時器110的值為基準。 The absolute time counter 110 corrects the clock once the power of the registration device 100 is started, and the time is synchronized with the common timer 111. Then, the absolute time counter 110 corrects the clock to be the same as that of the servo personal computer 30 when the common timer 111 is synchronized, that is, when the common timer 111 synchronizes the time with the servo personal computer 30, it is not affected by the synchronization. Update the values at regular intervals. In other words, the absolute time counter 110 is when the power of the registration device 100 is just started. The clock of the operation of updating the absolute time of the correction is continued until the power of the registration device 100 is turned off in synchronization with the common timer 111. The absolute time counter 110 is provided with, for example, the same clock element as the common timer 111. The absolute time data attached to the control data is based on the value of the absolute time timer 110.

時刻同步要求部112,係發行時刻同步要求並將之發送至伺服個人電腦30藉此從伺服個人電腦30取得時刻資訊。然後,時刻同步要求部112將所取得的時刻資訊設定及反映至共通計時器111而更新共通計時器111的時刻。亦即,時刻同步要求部112按照從個人電腦40設定來的設定數據的時刻同步週期,對於伺服個人電腦30提出時刻同步要求。然後,時刻同步要求部112將提出時刻同步要求後取得的時刻資訊寫入共通計時器111。 The time synchronization request unit 112 issues a time synchronization request and transmits it to the servo personal computer 30 to acquire time information from the servo personal computer 30. Then, the time synchronization requesting unit 112 sets and reflects the acquired time information to the common timer 111 to update the time of the common timer 111. In other words, the time synchronization requesting unit 112 requests the time synchronization of the servo personal computer 30 in accordance with the time synchronization period of the setting data set from the personal computer 40. Then, the time synchronization request unit 112 writes the time information acquired after the time synchronization request is made to the common timer 111.

共用記憶體105係具有暫時儲存從控制裝置10轉送來的控制數據14以作為控制數據106之區域。共用記憶體105中,具有對應於各控制裝置10分別設置一個儲存一個週期份的控制數據14(控制數據106)之區域。共用記憶體105係控制裝置10及登錄裝置100雙方都可加以存取(access)者。而且,共用記憶體105可配合控制裝置10(登錄對象)的數目而分割記憶體區域來儲存控制數據106。 The shared memory 105 has an area in which the control data 14 transferred from the control device 10 is temporarily stored as the control data 106. The shared memory 105 has an area in which control data 14 (control data 106) storing one cycle portion is provided corresponding to each control device 10. The shared memory 105 is a device that can be accessed by both the control device 10 and the registration device 100. Further, the shared memory 105 can divide the memory area in accordance with the number of control devices 10 (registered objects) to store the control data 106.

內部記憶體103,係匯集儲存從控制裝置10轉送來的控制數據106之控制數據記憶部。內部記憶體103可採用例如揮發性記憶體。內部記憶體103係數據取得部 102及數據記憶部104及結合檔案製作部107都可加以存取(access)者。內部記憶體103中,具有例如:可儲存既定週期份的從控制裝置10轉送來的多數的控制數據之環形緩衝(ring buffer)區域113、及登錄參數114。 The internal memory 103 is a control data storage unit that stores the control data 106 transferred from the control device 10. The internal memory 103 can employ, for example, a volatile memory. Internal memory 103 is a data acquisition unit 102 and the data storage unit 104 and the combined file creation unit 107 can all be accessed. The internal memory 103 has, for example, a ring buffer region 113 for storing a plurality of control data transferred from the control device 10 for a predetermined period of time, and a registration parameter 114.

環形緩衝區域113,係用來記憶控制數據106之具有充分的記憶容量之RAM記憶體等。環形緩衝區域113在概念上係形成為配置成環狀之記憶體構成,且利用寫入指標(pointer)及讀入指標加以管理。在此情況,在數據取得部102將控制數據106寫入環形緩衝區域113之情況,寫入指標往前進。然後,當數據記憶部104將寫入至環形緩衝區域113之控制數據106讀入,讀入指標就往前進。在讀入指標到達寫入指標的位置之前都可將控制數據106讀入。 The ring buffer area 113 is a RAM memory or the like for storing the control data 106 with sufficient memory capacity. The ring buffer region 113 is conceptually formed into a memory configured in a ring shape, and is managed by a write pointer and a read index. In this case, when the data acquisition unit 102 writes the control data 106 to the ring buffer area 113, the write index advances. Then, when the data storage unit 104 reads the control data 106 written in the ring buffer area 113, the reading index advances. The control data 106 can be read in before the read index reaches the position where the index is written.

環形緩衝區域113除了記憶上述的控制數據106之外,還按照從控制裝置10取得控制數據106之時間序列順序,記憶從共通計時器111發出的時間戳記、以及從絕對時刻計時器110發出的絕對時刻數據。例如將來自共通計時器111之時間戳記記錄成時間戳記(1)、時間戳記(2)、...、時間戳記(m)、時間戳記(n)。()內的數字表示各時間戳記記憶到環形緩衝區域113之順序編號。此處,時間戳記(1)係在時間序列順序上最早的時間,時間戳記(n)係在時間序列順序上最新的時間。 The ring buffer area 113 memorizes the time stamp sequence of the control data 106 from the control device 10 in addition to the above-described control data 106, and memorizes the time stamp issued from the common timer 111 and the absolute time from the absolute time timer 110. Time data. For example, the time stamp from the common timer 111 is recorded as a time stamp (1), a time stamp (2), ..., a time stamp (m), and a time stamp (n). The number in () indicates the sequential number of each time stamp stored in the ring buffer area 113. Here, the time stamp (1) is the earliest time in the time series order, and the time stamp (n) is the latest time in the time series order.

同樣地,將從絕對時刻計時器110發出的絕對時刻數據記錄成絕對時刻數據(1)、絕對時刻數據 (2)、...、絕對時刻數據(m)、絕對時刻數據(n)。()內的數字表示各絕對時刻數據記憶到環形緩衝區域113之順序編號。此處,絕對時刻數據(1)係在時間序列順序上最早的時間,絕對時刻數據(n)係在時間序列順序上最新的時間。此外,環形緩衝區域113中,如例如第1圖所示,按照控制數據(n)、該控制數據(n)的時間戳記(n)及絕對時刻數據(n)之順序依序儲存控制數據、時間戳記、及絕對時刻數據。 Similarly, the absolute time data sent from the absolute time timer 110 is recorded as absolute time data (1), absolute time data. (2), ..., absolute time data (m), absolute time data (n). The number in () indicates the sequence number in which the absolute time data is memorized to the ring buffer area 113. Here, the absolute time data (1) is the earliest time in the time series order, and the absolute time data (n) is the latest time in the time series order. Further, in the ring buffer area 113, as shown in FIG. 1, for example, the control data is sequentially stored in the order of the control data (n), the time stamp (n) of the control data (n), and the absolute time data (n). Timestamp, and absolute time data.

登錄參數114,係具有登錄條件,此登錄條件係用來指定作為登錄對象之控制參數及實施登錄的週期等。登錄參數114係利用從個人電腦40設定來的設定數據加以設定。 The login parameter 114 has a login condition for specifying a control parameter to be registered and a cycle for implementing the login. The registration parameter 114 is set using the setting data set from the personal computer 40.

數據取得部102將時間戳記及絕對時刻數據附加至從控制裝置10收集來且儲存於公用記憶體105之控制數據106,然後將之寫入內部記憶體103。數據取得部102係在將控制裝置10的控制數據轉送部16將控制數據14寫入共用記憶體105之際接收到從控制數據轉送部16發送來的控制數據14之寫入的通知而動作,將共用記憶體105的控制數據106讀入。然後,數據取得部102將時間戳記及絕對時刻數據附加至每個讀入的控制數據106然後將之寫入內部記憶體103的環形環衝區域113。 The data acquisition unit 102 adds the time stamp and the absolute time data to the control data 106 collected from the control device 10 and stored in the common memory 105, and then writes it to the internal memory 103. The data acquisition unit 102 operates to receive a notification of writing of the control data 14 transmitted from the control data transfer unit 16 when the control data transfer unit 16 of the control device 10 writes the control data 14 to the shared memory 105. The control data 106 of the shared memory 105 is read in. Then, the data acquisition unit 102 adds the time stamp and the absolute time data to each of the read control data 106 and writes it to the annular ring region 113 of the internal memory 103.

換言之,數據取得部102係在將控制數據106寫入內部記憶體103的環形環衝區域113之際,從共通計時器111取得時間戳記而且從絕對時刻計時器110取得絕對時刻數據。然後,數據取得部102將取得的時間戳 記及絕對時刻數據附加至控制數據106,再以控制數據106及時間戳記及絕對時刻數據作為一個單位而將之寫入環形環衝區域113。 In other words, the data acquisition unit 102 acquires the time stamp from the common timer 111 and acquires the absolute time data from the absolute time counter 110 when the control data 106 is written in the annular ring region 113 of the internal memory 103. Then, the data acquisition unit 102 will acquire the time stamp The absolute time data is added to the control data 106, and the control data 106, the time stamp, and the absolute time data are written into the annular ring region 113 as a unit.

數據記憶部104,係將匯整儲存於內部記憶體103中之控制數據及與該控制數據對應之時間戳記及絕對時刻數據讀出並記憶起來。此外,數據記憶部104還記憶結合檔案製作部107所作成的結合的控制數據及與該控制數據對應之時間戳記及絕對時刻數據。亦即,數據記憶部104具有作為結合數據記憶部之機能。 The data storage unit 104 reads and memorizes the control data stored in the internal memory 103 and the time stamp and absolute time data corresponding to the control data. Further, the data storage unit 104 also stores control data combined with the file creation unit 107 and time stamps and absolute time data corresponding to the control data. That is, the data storage unit 104 has a function as a combined data storage unit.

然後,數據記憶部104將該等控制數據連同時間戳記一起寫入記憶媒體50。數據記憶部104係按照登錄參數114所指定之登錄執行條件,並依據讀入指標而從內部記憶體103內的環形緩衝區域113將控制數據讀入,然後將讀入的控制數據寫入記憶媒體50。另外,數據記憶部104將經結合檔案製作部107予以重排及結合而成的結合控制數據連同時間戳記一起寫入記憶媒體50。數據記憶部104雖然使內部記憶體103的控制數據與時間戳記一起記憶至記憶媒體50,但並未使絕對時刻數據記憶至記憶媒體50。 Then, the data storage unit 104 writes the control data together with the time stamp to the memory medium 50. The data storage unit 104 reads the control data from the ring buffer area 113 in the internal memory 103 in accordance with the registration execution condition specified by the registration parameter 114, and then writes the read control data into the memory medium. 50. Further, the data storage unit 104 writes the combined control data which is rearranged and combined by the combined file creating unit 107, together with the time stamp, into the memory medium 50. The data storage unit 104 memorizes the control data of the internal memory 103 together with the time stamp to the memory medium 50, but does not store the absolute time data in the memory medium 50.

數據記憶部104在將控制數據寫入記憶媒體50之際,亦可先將控制數據予以加工然後才將之寫入。所進行之控制數據之加工,可為例如以四則運算進行之加工、將二進制數據(binary data)轉換為文字列型數據之加工等。 When the control data is written to the memory medium 50, the data storage unit 104 may process the control data before writing it. The processing of the control data to be performed may be, for example, processing by four arithmetic operations or conversion of binary data into character string data.

結合檔案製作部107,係將從複數個控制裝置10取得之控制數據予以重排並加以結合而作成結合控制數據,且形成檔案(file)而輸出至數據記憶部104。結合檔案製作部107係具有控制數據整合排列部108、及控制數據插值部109。控制數據整合排列部108,係將從複數個控制裝置10收集來且匯整到內部記憶體103之控制數據分別讀入,然後按照登錄參數114所指定之設定,進行讀入的控制數據的結合。經結合檔案製作部107予以重排及結合而成的結合控制數據,係先記憶於數據記憶部104,然後從數據記憶部104將之寫入記憶媒體50。 The combined file creation unit 107 rearranges and combines the control data acquired from the plurality of control devices 10 to create combined control data, and forms a file to be output to the data storage unit 104. The combined file creation unit 107 includes a control data integration arrangement unit 108 and a control data interpolation unit 109. The control data integration and arrangement unit 108 reads the control data collected from the plurality of control devices 10 and integrated into the internal memory 103, and then performs the combination of the read control data in accordance with the settings specified by the registration parameter 114. . The combination control data which is rearranged and combined by the combination file creation unit 107 is first stored in the data storage unit 104, and then written from the data storage unit 104 to the memory medium 50.

控制數據之重排、結合,可利用從各控制裝置10收集控制數據時所用的設定單位來加以指定。亦即,在進行收集到的各控制裝置10的控制數據的重排之際,可在登錄參數114中指定作為基準之間隔。可指定控制裝置10的數據收集間隔來作為此間隔。然後,以某一控制裝置的數據收集間隔為基準,來按時間序列順序將從控制裝置10取得之控制數據予以重排然後加以結合。控制數據之重排,係根據絕對時刻數據之值而進行。 The rearrangement and combination of the control data can be specified by the setting unit used when the control data is collected from each control device 10. That is, when the collected control data of the respective control devices 10 is rearranged, the interval as the reference can be specified in the registration parameter 114. The data collection interval of the control device 10 can be specified as this interval. Then, the control data acquired from the control device 10 is rearranged and combined in time series order based on the data collection interval of a certain control device. The rearrangement of the control data is performed based on the value of the absolute time data.

又,在進行控制數據的結合之際,在以複數個控制裝置10之控制數據中的一個控制裝置10的控制數據的收集的時間間隔為基準而將控制數據予以重排之情況,會有在控制數據的收集週期與此控制裝置不同之其他控制裝置10的控制數據中,不存在與時間戳記及絕對時刻數據對應的控制數據之情形。如此,在某一控制裝置10 的控制數據中有並不存在有數據之時間戳記及絕對時刻數據存在之情況,就在控制數據插值部109中,依照登錄參數114所指定之設定而進行控制數據之插值。 Further, when the control data is combined, the control data is rearranged based on the time interval at which the control data of one of the control data of the plurality of control devices 10 is collected, and the control data is rearranged. In the control data of the other control device 10 in which the collection period of the control data is different from the control device, there is no case of the control data corresponding to the time stamp and the absolute time data. As such, at a certain control device 10 In the control data, there is a case where the data time stamp and the absolute time data do not exist, and the control data interpolation unit 109 performs interpolation of the control data in accordance with the setting specified by the registration parameter 114.

記憶媒體50,係裝設於登錄裝置100之外部記憶手段,係為例如CF卡(Compact Flash card)。記憶媒體50係將內部記憶體103的控制數據與時間戳記合起來一起記憶,但並不記憶絕對時刻數據。 The memory medium 50 is an external memory means installed in the registration device 100, and is, for example, a CF card (Compact Flash card). The memory medium 50 memorizes the control data of the internal memory 103 together with the time stamp, but does not memorize the absolute time data.

通訊部115係在與外部機器之間進行通訊。CPU 101係控制登錄裝置100內的各部的整個動作之控制部。 The communication unit 115 communicates with an external device. The CPU 101 is a control unit that controls the entire operation of each unit in the registration device 100.

接著,參照第2圖來說明本實施形態之登錄裝置100中的時刻同步處理步驟。第2圖係用來說明在本實施形態之登錄裝置的共通計時器寫入時鐘數據之處理的流程圖。 Next, the procedure of the time synchronization processing in the registration device 100 of the present embodiment will be described with reference to Fig. 2 . Fig. 2 is a flowchart for explaining processing of writing clock data to the common timer of the registration device of the embodiment.

首先,在登錄裝置100剛起動的狀態因為是初始狀態,所以進行共通計時器111之初始化。共通計時器111之初始化,係由時刻同步要求部112將從伺服個人電腦30的時刻配送部31取得的時刻資訊之時刻寫入共通計時器111使該時刻反映於共通計時器111而進行。如此,就會使共通計時器111的時刻與伺服個人電腦30的時刻同步,而使共通計時器111初始化。 First, since the state in which the registration device 100 is just started is the initial state, the initialization of the common timer 111 is performed. The initialization of the common timer 111 is performed by the time synchronization requesting unit 112 writing the time information acquired from the time delivery unit 31 of the servo personal computer 30 to the common timer 111 to reflect the time to the common timer 111. In this manner, the time of the common timer 111 is synchronized with the timing of the servo personal computer 30, and the common timer 111 is initialized.

時刻同步要求部112在從伺服個人電腦30的時刻配送部31取得時刻資訊據以使共通計時器111的時刻同步之動作失敗之情況,係經由匯流排20而從控制裝置 10取得時刻資訊,然後將控制裝置10的時刻資訊的時刻寫入共通計時器111使該時刻反映於共通計時器111。藉此,使共通計時器111的時刻與控制裝置10的時刻同步,而使共通計時器111初始化。 When the time synchronization requesting unit 112 acquires the time information from the time delivery unit 31 of the servo personal computer 30 so that the operation of synchronizing the time of the common timer 111 fails, the time synchronization requesting unit 112 passes the control unit through the bus bar 20. When the time information is acquired, the time of the time information of the control device 10 is written into the common timer 111 to reflect the time to the common timer 111. Thereby, the time of the common timer 111 is synchronized with the timing of the control device 10, and the common timer 111 is initialized.

共通計時器111初始化後,時刻同步要求部112按照登錄參數114所指定之設定而以既定的動作週期進行動作,且每次進行動作都進行第2圖之流程圖的動作。 After the common timer 111 is initialized, the time synchronization requesting unit 112 operates in a predetermined operation cycle in accordance with the setting specified by the registration parameter 114, and performs the operation of the flowchart of FIG. 2 every time the operation is performed.

換言之,時刻同步要求部112一開始動作,就從共通計時器111取得時刻(步驟S110)。接著,時刻同步要求部112判定所取得的時刻是否滿足登錄參數114中指定的實施時刻同步之條件,亦即是否到了要實施時刻同步之時刻(步驟S120)。若所取得的時刻尚未到要實施時刻同步之時刻(步驟S120的結果為“否”),則時刻同步要求部112回到步驟S110而繼續進行處理。 In other words, when the time synchronization request unit 112 starts operating, the time is obtained from the common timer 111 (step S110). Next, the time synchronization requesting unit 112 determines whether or not the acquired time satisfies the condition of the execution time synchronization specified in the registration parameter 114, that is, whether or not the time at which the time synchronization is to be performed is reached (step S120). When the acquired time has not reached the time at which the time synchronization is to be performed ("NO" in the step S120), the time synchronization requesting unit 112 returns to the step S110 to continue the processing.

若所取得的時刻已來到要實施時刻同步之時刻(步驟S120的結果為“是”),則時刻同步要求部112開始進行時刻同步處理。時刻同步處理,係時刻同步要求部112發出時刻同步要求並發送至伺服個人電腦30(步驟S130)。然後,時刻同步要求部112判定是否可從伺服個人電腦30的時刻配送部31取得時刻(步驟S140)。 When the acquired time has come to the time when the time synchronization is to be performed (YES in step S120), the time synchronization requesting unit 112 starts the time synchronization processing. In the time synchronization processing, the time synchronization request unit 112 issues a time synchronization request and transmits it to the servo personal computer 30 (step S130). Then, the time synchronization requesting unit 112 determines whether or not the time can be acquired from the time delivery unit 31 of the servo personal computer 30 (step S140).

若可從伺服個人電腦30的時刻配送部31取得時刻(步驟S140的結果為“是”),則時刻同步要求部112將取得的時刻資訊之時刻寫入共通計時器111而更新共通計時器111的時刻(步驟S150)。然後,時刻同步要求部112 結束一連串之共通計時器111的同步處理。 When the time is obtained from the time delivery unit 31 of the servo personal computer 30 (YES in step S140), the time synchronization request unit 112 writes the time of the acquired time information to the common timer 111 to update the common timer 111. Time (step S150). Then, the time synchronization requesting unit 112 The synchronization processing of the series of common timers 111 is ended.

另一方面,若不能從伺服個人電腦30的時刻配送部31取得時刻(步驟S140的結果為“否”),則時刻同步要求部112判定是否經過時刻同步要求之時限(是否time out)(步驟S160)。若已經過時刻同步要求之時限(步驟S160的結果為“是”),則時刻同步要求部112將時刻同步失敗之資訊記錄在時刻同步要求部112內,然後結束一連串之共通計時器111的同步處理。 On the other hand, if the time cannot be acquired from the time delivery unit 31 of the servo personal computer 30 (NO in step S140), the time synchronization request unit 112 determines whether or not the time synchronization request has elapsed (whether or not time out) (step S160). If the time limit for the time synchronization request has elapsed (YES in step S160), the time synchronization requesting unit 112 records the information of the time synchronization failure in the time synchronization requesting unit 112, and then ends the synchronization of the series of common timers 111. deal with.

另一方面,若尚未經過時刻同步要求之時限(步驟S160的結果為“否”),則時刻同步要求部112回到步驟S130,在登錄參數114中指定的時序(timing)再度發出及發送時刻同步要求。 On the other hand, if the time limit for the time synchronization request has not elapsed (NO in the step S160), the time synchronization requesting unit 112 returns to the step S130, and the timing (timing) specified in the registration parameter 114 is reissued and transmitted. Synchronization requirements.

接著,參照第3圖來說明本實施形態之登錄裝置100中的數據取得部102的數據取得處理步驟。第3圖係顯示登錄裝置100中的數據取得部102的數據取得處理步驟之流程圖。 Next, the data acquisition processing procedure of the data acquisition unit 102 in the registration device 100 according to the present embodiment will be described with reference to FIG. FIG. 3 is a flowchart showing the procedure of data acquisition processing by the data acquisition unit 102 in the registration device 100.

登錄裝置100起動了且共通計時器111已初始化之後,控制數據轉送部16以既定的一定的週期或控制程式的動作週期,將控制數據儲存部15的控制數據14之值轉送至登錄裝置100所具備的共用記憶體105,並且將控制數據14之寫入之通知發送至登錄裝置100的數據取得部102。 After the registration device 100 is started and the common timer 111 is initialized, the control data transfer unit 16 transfers the value of the control data 14 of the control data storage unit 15 to the registration device 100 at a predetermined constant cycle or the operation cycle of the control program. The shared memory 105 is provided, and a notification of writing of the control data 14 is transmitted to the data acquisition unit 102 of the registration device 100.

數據取得部102接收到從控制裝置10的控制數據轉送部16發送來之控制數據14之寫入之通知,就 開始控制數據14之儲存處理。數據取得部102首先判定是否有控制數據14之寫入之通知,亦即是否接收到從控制裝置10的控制數據轉送部16發送來之控制數據14之寫入之通知(步驟S210)。 The data acquisition unit 102 receives the notification of the writing of the control data 14 transmitted from the control data transfer unit 16 of the control device 10, and The storage process of the control data 14 is started. The data acquisition unit 102 first determines whether or not there is a notification of the writing of the control data 14, that is, whether or not the notification of the writing of the control data 14 transmitted from the control data transfer unit 16 of the control device 10 is received (step S210).

若沒有控制數據14之寫入之通知,亦即並未接收到從控制裝置10的控制數據轉送部16發送來之控制數據14之寫入之通知(步驟S210的結果為“否”),則數據取得部102重複進行步驟S210直到有收到通知為止。 If there is no notification of the writing of the control data 14, that is, if the notification of the writing of the control data 14 transmitted from the control data transfer unit 16 of the control device 10 is not received (the result of step S210 is "NO"), then The data acquisition unit 102 repeats step S210 until a notification is received.

另一方面,若有控制數據14之寫入之通知,亦即接收到從控制裝置10的控制數據轉送部16發送來之控制數據14之寫入之通知(步驟S210的結果為“是”),則數據取得部102判定內部記憶體103的環形緩衝區域113是否有儲存空間(步驟S220)。若環形緩衝區域113沒有儲存空間(步驟S220的結果為“否”),則數據取得部102以錯誤(error)資訊回覆控制裝置10,然後結束一連串之控制數據14的儲存處理。 On the other hand, if there is a notification of the writing of the control data 14, that is, the notification of the writing of the control data 14 transmitted from the control data transfer unit 16 of the control device 10 is received (the result of step S210 is "YES"). Then, the data acquisition unit 102 determines whether or not the ring buffer area 113 of the internal memory 103 has a storage space (step S220). If the ring buffer area 113 has no storage space ("NO" in the step S220), the data acquisition unit 102 replies the control device 10 with error information, and then ends the storage processing of the series of control data 14.

另一方面,若環形緩衝區域113有儲存空間(步驟S220的結果為“是”),則數據取得部102將共用記憶體105的控制數據106複製(copy)至環形緩衝區域113(步驟S230)。接著,數據取得部102將共通計時器111的值,亦即時刻複製至環形緩衝區域113,且以該值(時刻)作為時間戳記而將之附加至先前複製到環形緩衝區域113之控制數據106(步驟S240)。然後,數據取得部102將絕對時刻計時器110的值,亦即時刻複製至環形緩衝區域 113,且以該值(時刻)作為絕對時刻數據而附加至先前複製到環形緩衝區域113且附加了共通計時器111的值之控制數據106(步驟S250)。 On the other hand, if the ring buffer area 113 has a storage space (YES in step S220), the data acquisition unit 102 copies the control data 106 of the shared memory 105 to the ring buffer area 113 (step S230). . Next, the data acquisition unit 102 copies the value of the common timer 111, that is, the time, to the ring buffer area 113, and adds the value (time) as a time stamp to the control data 106 previously copied to the ring buffer area 113. (Step S240). Then, the data acquisition unit 102 copies the value of the absolute time counter 110, that is, the time, to the ring buffer area. 113, and the value (time) is added as the absolute time data to the control data 106 previously copied to the ring buffer area 113 and the value of the common timer 111 is added (step S250).

如上述,以控制數據(1)、該控制數據(1)的時間戳記(1)及絕對時刻數據(1)、控制數據(2)、該控制數據(2)的時間戳記(2)及絕對時刻數據(2)...之順序,按時間序列順序依序儲存控制數據、時間戳記及絕對時刻數據至環形緩衝區域113。然後,數據取得部102在上述之數據的複製完成時,使環形緩衝區域113的寫入指標往前進,然後結束一連串之控制數據的儲存處理。 As described above, the control data (1), the time stamp (1) and the absolute time data (1) of the control data (1), the control data (2), the time stamp (2) of the control data (2), and the absolute In the order of the time data (2), the control data, the time stamp, and the absolute time data are sequentially stored in the time series sequence to the ring buffer area 113. Then, when the copying of the above data is completed, the data acquisition unit 102 advances the write index of the ring buffer area 113, and then ends the series of control data storage processing.

數據記憶部104,係將環形緩衝區域113中儲存的數據從讀入指標依序讀入一直到的寫入指標之位置,並將之輸出至檔案。此時,數據記憶部104係輸出控制數據及時間戳記,並未輸出絕對時刻數據。 The data storage unit 104 sequentially reads the data stored in the ring buffer area 113 from the read index into the position of the write index up to and outputs it to the file. At this time, the data storage unit 104 outputs the control data and the time stamp, and does not output the absolute time data.

接著,利用第4及5圖來說明本實施形態之登錄裝置100的結合檔案製作部107中之將從複數個控制裝置10取得的控制數據予以重排及結合之處理的流程。第4圖係顯示在實施形態之登錄系統中,從複數個控制裝置收集控制數據的構成例之圖。第5圖係用來說明在實施形態之登錄系統中,登錄裝置100將控制數據重排並結合之處理之流程圖。 Next, a flow of processing for rearranging and combining control data acquired from a plurality of control devices 10 in the combined file creating unit 107 of the registration device 100 according to the present embodiment will be described with reference to FIGS. 4 and 5 . Fig. 4 is a view showing an example of a configuration in which control data is collected from a plurality of control devices in the registration system of the embodiment. Fig. 5 is a flow chart for explaining a process in which the registration device 100 rearranges and combines control data in the registration system of the embodiment.

此處,係將從控制裝置A 10A收集來之控制數據A及從控制裝置B 10B收集來之控制數據B附加上時間戳記及絕對時刻數據後將之儲存至登錄裝置100的內部 記憶體103的環形緩衝區域113。第4圖中,與控制裝置A 10A的控制數據有關之元件的符號的末尾都加上「A」,與控制裝置B 10B的控制數據有關之元件的符號的末尾都加上「B」。另外,在第4圖中,著重顯示的控制數據的流向,因此將一部分的構成之圖示予以省略。 Here, the control data A collected from the control device A 10A and the control data B collected from the control device B 10B are added with the time stamp and the absolute time data, and are stored in the inside of the registration device 100. The annular buffer region 113 of the memory 103. In Fig. 4, "A" is added to the end of the symbol of the component related to the control data of the control device A 10A, and "B" is added to the end of the symbol of the component related to the control data of the control device B 10B. In addition, in FIG. 4, the flow of the control data is highlighted, and therefore, a part of the configuration is omitted.

控制數據結合處理,係由控制數據整合排列部108從登錄參數114讀出而取得設定有控制數據的重排的基準之重排基準設定(步驟S310)。此處,將針對以控制數據A為基準,亦即以控制數據A的收集的時間間隔為基準,而將從控制裝置A 10A及控制裝置B 10B收集來的控制數據重排並結合之情況進行說明。因此,此處之重排基準設定,係為以控制數據A的收集的時間間隔作為重排的基準之設定資訊。 In the control data integration processing, the control data integration and arrangement unit 108 reads out from the registration parameter 114 and acquires the rearrangement reference setting in which the reference of the rearrangement of the control data is set (step S310). Here, the control data collected from the control device A 10A and the control device B 10B is rearranged and combined based on the control data A, that is, based on the time interval of the collection of the control data A. Description. Therefore, the rearrangement reference setting here is the setting information of the rearrangement of the control data A as the reference of the rearrangement.

接著,控制數據整合排列部108按照該重排基準設定,從儲存有作為重排設定的對象之控制數據之複數個環形緩衝區域113,逐一就各環形緩衝區域113將儲存於該環形緩衝區域113之數據全讀出(步驟S320)。例如,控制數據整合排列部108先將儲存於環形緩衝區域A 113A之數據全讀出,然後將儲存於環形緩衝區域B 113B之數據全讀出。 Next, the control data integration and arrangement unit 108 is set in accordance with the rearrangement reference, and the ring buffer regions 113 are stored in the ring buffer region 113 one by one from the plurality of ring buffer regions 113 in which the control data of the object to be rearranged is stored. The data is completely read (step S320). For example, the control data integration arranging unit 108 first reads out the data stored in the ring buffer area A 113A, and then reads the data stored in the ring buffer area B 113B.

第6圖係顯示本實施形態之登錄裝置內的控制數據之圖。第6圖(a)顯示從控制裝置A取得且儲存至環形緩衝區域A 113A之控制數據A以及附加至該控制數據A之時間戳記及絕對時刻數據。第6圖(b)顯示從控制裝置B 取得且儲存至環形緩衝區域B 113B之控制數據B以及附加至該控制數據B之時間戳記及絕對時刻數據。第6圖(c)顯示以控制數據A為基準將控制數據A及控制數據B重排後結合而成之控制數據。 Fig. 6 is a view showing control data in the registration device of the embodiment. Fig. 6(a) shows the control data A obtained from the control device A and stored in the ring buffer area A 113A, and the time stamp and absolute time data attached to the control data A. Figure 6 (b) shows the slave control device B The control data B obtained and stored in the ring buffer area B 113B and the time stamp and absolute time data attached to the control data B are obtained. Fig. 6(c) shows control data in which control data A and control data B are rearranged based on control data A.

在例如環形緩衝區域A 113A中,儲存有屬於從控制裝置A取得之控制數據A之如第6圖(a)所示之控制數據A(1)~控制數據A(n)、以及各控制數據A的對應的時間戳記及絕對時刻數據。()內的數字係表示各控制數據A記憶至環形緩衝區域A 113A之順序編號。在例如環形緩衝區域B 113B中,儲存有屬於從控制裝置B取得之控制數據B之如第6圖(b)所示之控制數據B(1)~控制數據B(n)、以及各控制數據B的對應的時間戳記及絕對時刻數據。()內的數字係表示各控制數據B記憶至環形緩衝區域B 113B之順序編號。 For example, in the ring buffer area A 113A, control data A(1) to control data A(n) as shown in Fig. 6(a) belonging to control data A obtained from the control device A, and respective control data are stored. The corresponding time stamp of A and absolute time data. The number in () indicates the sequence number in which each control data A is memorized to the ring buffer area A 113A. For example, in the ring buffer area B 113B, control data B(1) to control data B(n) as shown in FIG. 6(b) belonging to the control data B acquired from the control device B, and respective control data are stored. The corresponding time stamp of B and the absolute time data. The number in () indicates the sequence number in which each control data B is memorized to the ring buffer area B 113B.

在控制數據A(n)方面,係如第6圖(a)所示,儲存有作為控制數據A(1)的數據:1、作為控制數據A(2)的數據:2、...作為控制數據A(8)的數據:8。登錄裝置100係在絕對時刻數據中之14:10:03時刻經過後,再度進行共通計時器111之與伺服個人電腦30之同步處理。因此,控制數據A(3):3與控制數據A(4):4之時間戳記的時刻逆轉,控制數據A(3):3與控制數據A(5):5之時間戳記的時刻變為相同。 In the control data A(n), as shown in Fig. 6(a), data as control data A(1) is stored: 1. Data as control data A(2): 2, ... Control data of data A (8): 8. The registration device 100 re-synchronizes the common timer 111 with the servo personal computer 30 after the time of 14:10:03 in the absolute time data. Therefore, the control data A(3):3 is reversed with the time stamp of the control data A(4):4, and the time of the control data A(3):3 and the time stamp of the control data A(5):5 becomes the same.

另一方面,絕對時刻計時器110在登錄裝置100剛起動時進行過與共通計時器111之時間的同步後就 不進行時間之修正。因此,絕對時刻計時器110的絕對時刻數據係如第6圖(a)所示,以控制數據A儲存至環形緩衝區域A 113A之順序保持著時間序列順序。其中,控制數據A的收集的時間間隔係為1秒週期。 On the other hand, the absolute time counter 110 is synchronized with the time of the common timer 111 when the registration device 100 is just started. No time corrections are made. Therefore, the absolute time data of the absolute time counter 110 is maintained in the time series order in the order in which the control data A is stored in the ring buffer area A 113A as shown in Fig. 6(a). The time interval for collecting the control data A is a one second period.

另一方面,在控制數據B(n)方面,係如第6圖(b)所示,儲存有作為控制數據B(1)的數據:100、作為控制數據B(2)的數據:150、作為控制數據B(3)的數據:200。就控制數據B(n)而言,如第6圖(b)所示,並不存在有時間戳記的時刻逆轉或變得相同之控制數據B,惟數據的收集的時間間隔與控制數據A不同,係為3秒週期。 On the other hand, in the control data B(n), as shown in FIG. 6(b), data as control data B(1): 100, data as control data B(2): 150, As the data of the control data B(3): 200. As far as the control data B(n) is concerned, as shown in FIG. 6(b), there is no control data B in which the time stamp is reversed or becomes the same, but the time interval in which the data is collected is different from the control data A. , is a 3-second period.

接著,控制數據整合排列部108重複進行相當於以下的步驟S350~步驟S370之處理,且重複的次數為要進行控制數據的重排的對象設定數,亦即要進行控制數據的重排之控制裝置10的數目(步驟S330a:開始,步驟S330b:結束)。另外,在步驟S330a~步驟S330b中的處理的重複方面,其重複的次數為從一個控制裝置10取得的控制數據數,且重複的是相當於以下的步驟S350~步驟S370之處理(步驟S340a:開始,步驟S340b:結束)。 Next, the control data integration arranging unit 108 repeats the processing corresponding to the following steps S350 to S370, and the number of repetitions is the number of object settings for which the control data is rearranged, that is, the control of the rearrangement of the control data is performed. The number of devices 10 (step S330a: start, step S330b: end). Further, in the repetition of the processing in steps S330a to S330b, the number of repetitions is the number of control data acquired from one control device 10, and the processing corresponding to steps S350 to S370 described below is repeated (step S340a: Start, step S340b: end).

控制數據整合排列部108從在步驟S320中從複數個環形緩衝區域113讀出的數據當中讀出絕對時刻數據的值,然後判定絕對時刻數據的值一致之控制數據是否存在(步驟S350)。若絕對時刻數據的值一致之控制數據存在(步驟S350的結果為“是”),則取得該控制數據的值,並將之記錄在控制數據整合排列部108內(步驟S360)。 此處,因為係以控制數據A的收集的時間間隔為基準,亦即以適合控制數據A的收集的時間間隔之絕對時刻數據為基準,所以取得附加有與控制數據A的絕對時刻數據相同的絕對時刻數據之控制數據B的值,並在控制數據整合排列部108內將之記錄在如第6圖(c)所示之表(table)中。 The control data integration arranging unit 108 reads out the value of the absolute time data from among the data read from the plurality of ring buffer areas 113 in step S320, and then determines whether or not the control data in which the values of the absolute time data match are present (step S350). When the control data in which the values of the absolute time data match are present (YES in step S350), the value of the control data is acquired and recorded in the control data integration array unit 108 (step S360). Here, since the time interval of the collection of the control data A is used as a reference, that is, the absolute time data suitable for the time interval of the collection of the control data A is taken as the reference, the same absolute time data as the control data A is added. The value of the control data B of the absolute time data is recorded in the table shown in Fig. 6(c) in the control data integration and arrangement unit 108.

另一方面,若絕對時刻數據的值一致之控制數據不存在(步驟S350的結果為“否”),則在控制數據整合排列部108內在控制數據之欄中記錄「沒有數據」之資訊(步驟S370)。此處,因為係以控制數據A的收集的時間間隔為基準,亦即以適合控制數據A的收集的時間間隔之絕對時刻數據為基準,所以在附加有與控制數據A的絕對時刻數據相同的絕對時刻數據之控制數據B不存在之情況,係例如在如第6圖(c)所示之表中的控制數據B之欄中記錄「沒有數據」之資訊。 On the other hand, if the control data in which the values of the absolute time data match does not exist (the result of the step S350 is "NO"), the information of "no data" is recorded in the column of the control data in the control data integration array unit 108 (step S370). Here, since the time interval of the collection of the control data A is used as a reference, that is, the absolute time data suitable for the time interval of the collection of the control data A is used as the reference, the same absolute time data as the control data A is added. In the case where the control data B of the absolute time data does not exist, for example, information of "no data" is recorded in the column of the control data B in the table shown in Fig. 6(c).

然後,重複進行步驟S350~步驟S370之處理且重複的次數為從一個控制裝置10取得的控制數據數(步驟S340a:開始,步驟S340b:結束),再重複進行以上所述的各處理且重複的次數為要進行控制數據的重排的對象設定數,亦即要進行控制數據的重排之控制裝置10的數目(步驟S330a:開始,步驟S330b:結束)。然後,在滿足結束條件之時點結束處理。 Then, the processing of steps S350 to S370 is repeated and the number of repetitions is the number of control data acquired from one control device 10 (step S340a: start, step S340b: end), and the above-described respective processes are repeated and repeated. The number of times is the number of objects to be rearranged for control data, that is, the number of control devices 10 to perform rearrangement of control data (step S330a: start, step S330b: end). Then, the processing ends when the end condition is satisfied.

控制數據重排的結果,亦即將作為要輸出至數據記憶部104之檔案的基礎之控制數據係如第6圖(c)所示。在此情況,即使由於共通計時器111的時刻與伺服個 人電腦30之時刻同步處理而使得時間戳記倒回,也因為係以絕對時刻計時器110的絕對時刻數據為基準來排列控制數據,所以可使控制數據按照從控制裝置10取得控制數據的時間序列順序,亦即在控制裝置10中控制數據產生的時間序列順序而排列。 The result of controlling the data rearrangement, which is also the basis of the control data to be output to the file of the data storage unit 104, is as shown in Fig. 6(c). In this case, even due to the timing of the common timer 111 and the servo The time synchronization of the human computer 30 causes the time stamp to be reversed, and since the control data is arranged based on the absolute time data of the absolute time counter 110, the control data can be time-series in accordance with the control data from the control device 10. The order, that is, the time series sequence in which the control data is generated in the control device 10 is arranged.

如上述重排及結合後之控制數據,係作成檔案而儲存於數據記憶部104,然後以檔案形態輸出至記憶媒體50。然而,在以檔案形態輸出至記憶媒體50之際,並不輸出絕對時刻計時器110的值。因為不輸出絕對時刻計時器110的值,所以可防止檔案的大小變大,可防止記憶媒體50之容量的負擔之增加。 The rearranged and combined control data is stored in the data storage unit 104 as a file, and then output to the memory medium 50 in the form of a file. However, when outputting to the memory medium 50 in the form of a file, the value of the absolute time counter 110 is not output. Since the value of the absolute time counter 110 is not output, the size of the file can be prevented from becoming large, and the burden of the capacity of the memory medium 50 can be prevented from increasing.

另一方面,在輸出至記憶媒體50之檔案中,包含有經過時刻同步後之共通計時器111的時間戳記,所以將時間戳記與包含控制裝置10之外部機器的時鐘相比對就可確認在什麼時間收集到怎樣的數據。 On the other hand, since the file output to the memory medium 50 includes the time stamp of the common timer 111 after the time synchronization, the time stamp can be confirmed by comparing the time stamp with the clock of the external device including the control device 10. What kind of data is collected at what time.

上述重排的結果,若有絕對時刻數據的值一致之控制數據不存在之情形,亦即存在有絕對時刻數據其同列的控制數據之欄係記錄為「沒有數據」之情形,則控制數據插值部109實施對應於該絕對時刻數據之缺乏的控制數據之插值。控制數據之插值,係只在所要設定之控制數據存在有兩個以上才實施。若所要設定之控制數據不存在有兩個以上,則控制數據插值部109輸出登錄參數114中預先設定的固定值。在登錄參數114中並未預先設定有固定值之情況,控制數據插值部109輸出0。 As a result of the above rearrangement, if there is a case where the control data of the absolute time data has the same value, that is, if there is an absolute time data, the column of the control data in the same column is recorded as "no data", then the control data is interpolated. The portion 109 performs interpolation of control data corresponding to the lack of the absolute time data. The interpolation of the control data is implemented only when there are more than two control data to be set. If there are two or more control data to be set, the control data interpolation unit 109 outputs a fixed value set in advance in the registration parameter 114. In the case where the registration parameter 114 is not set in advance with a fixed value, the control data interpolation unit 109 outputs 0.

接著,說明重排結果絕對時刻數據的值一致之控制數據不存在,亦即存在有絕對時刻數據其同列的控制數據之欄係記錄為「沒有數據」之情況下之控制數據的插值方法。數據的插值方法在登錄參數114中指定的是例如同值插值之情況,控制數據插值部109係輸出與在要進行插值之控制數據之前記錄的控制數據相同之值。在針對第6圖(c)所示之重排數據進行插值之情況,係輸出與在控制數據B之瞬時之前記錄的控制數據相同之值。如此的話,最終得出的結合控制數據就會如第7圖所示。結合後且做過插值之最終得出的結合控制數據,在儲存到數據記憶部104後以檔案形態輸出至記憶媒體50之際的數據,會如第8圖所示。第7圖係顯示在本實施形態之登錄裝置100中,以同值插值方式求出缺乏的數據之情況的控制數據之圖。第8圖係顯示在本實施形態之登錄裝置100中,在以同值插值方式求出缺乏的數據之情況輸出至記憶媒體50的檔案的數據之圖。 Next, it is explained that the control data in which the values of the rearrangement result absolute time data match does not exist, that is, there is an interpolation method of the control data in the case where the column of the control data of the same time data is recorded as "no data". The interpolation method of the data specifies, for example, the same value interpolation in the registration parameter 114, and the control data interpolation unit 109 outputs the same value as the control data recorded before the control data to be interpolated. In the case of interpolating the rearrangement data shown in Fig. 6(c), the same value as the control data recorded before the instant of the control data B is output. In this case, the resulting combined control data will be as shown in Figure 7. The combined control data obtained after the combination and the interpolation is finally outputted to the memory medium 50 after being stored in the data storage unit 104, as shown in Fig. 8. Fig. 7 is a view showing control data in the case where the lack of data is obtained by the same value interpolation method in the registration device 100 of the present embodiment. Fig. 8 is a view showing data of a file output to the memory medium 50 in the case where the missing data is obtained by the same value interpolation method in the registration device 100 of the present embodiment.

第7圖中,插值求出之與絕對時刻數據「14:10:02」對應的控制數據B為「100」。插值求出之與絕對時刻數據「14:10:03」對應的控制數據B為「100」。插值求出之與絕對時刻數據「14:10:05」對應的控制數據B為「150」。插值求出之與絕對時刻數據「14:10:06」對應的控制數據B為「150」。插值求出之與絕對時刻數據「14:10:08」對應的控制數據B為「200」。 In Fig. 7, the control data B corresponding to the absolute time data "14:10:02" obtained by the interpolation is "100". The control data B corresponding to the absolute time data "14:10:03" obtained by the interpolation is "100". The control data B corresponding to the absolute time data "14:10:05" obtained by the interpolation is "150". The control data B corresponding to the absolute time data "14:10:06" obtained by the interpolation is "150". The control data B corresponding to the absolute time data "14:10:08" obtained by the interpolation is "200".

另外,在將檔案輸出至記憶媒體50之際的 數據,係如第8圖所示,為從第7圖所示之數據省略掉絕對時刻數據後之數據。而且,輸出至記憶媒體50之檔案的格式(format)中,包含有與將結合後的控制數據包含進來而作成輸出至記憶媒體50的檔案之登錄裝置有關之資訊。輸出至記憶媒體50之檔案的格式中,係如例如第8圖所示設有檔案標頭(file header)部120。檔案標頭部120中,與將結合後的控制數據包含進來而作成輸出至記憶媒體50的檔案之登錄裝置有關之資訊,係包含登錄裝置的識別資訊、時刻的輸出形式、以及用來判別檔案中包含的結合後的控制數據係根據什麼設定而結合的數據之資訊。在例如第8圖中,在登錄裝置的識別資訊方面,係包含有「登錄裝置_X」的資訊,X表示登錄裝置的產品型號。又,在例如第8圖中,在時刻的輸出形式,亦即時刻的表示形式方面,係包含有「時間戳記(hh:mm:ss)」之資訊,hh、mm、ss分別表示時間戳記之時、分、秒。又,在例如第8圖中,在用來判別檔案中包含的結合後的控制數據係根據什麼設定而結合的數據之資訊方面,係包含有可判別結合後的控制數據中包含的數據係從哪個控制裝置收集來的之資訊,亦即識別結合後的控制數據中包含的數據係從哪個控制裝置取得的之資訊,亦即「控制數據A」及「控制數據B」之資訊。 In addition, when the file is output to the memory medium 50 The data is as shown in Fig. 8, which is data after the absolute time data is omitted from the data shown in Fig. 7. Further, the format of the file output to the memory medium 50 includes information relating to the registration device that includes the combined control data and outputs the file to the memory medium 50. In the format of the file output to the memory medium 50, for example, a file header unit 120 is provided as shown in FIG. In the file header 120, the information about the registration device that is included in the file output to the memory medium 50 is included in the file header 120, and includes the identification information of the registration device, the output form of the time, and the file for discriminating the file. The combined control data contained in the data is based on what is set to combine the information of the data. For example, in Fig. 8, the identification information of the registration device includes information of the "registration device_X", and X indicates the product model of the registration device. Further, for example, in Fig. 8, the output form of the time, that is, the representation form of the time, includes information of "time stamp (hh:mm:ss)", and hh, mm, and ss respectively represent time stamps. Minutes and seconds. Further, for example, in the eighth drawing, in the information for judging whether or not the combined control data included in the file is combined according to what setting, the data included in the control data after the identifiable combination is included The information collected by the control device, that is, the information obtained from which control device the data contained in the combined control data is obtained, that is, the information of "Control Data A" and "Control Data B".

另一方面,數據的插值方法在登錄參數114中指定的是例如線性插值之情況,控制數據插值部109係使用下述之式(1)來針對要進行插值的控制數據進行插 值。亦即,在判明(xi,yi)、(xi+1,yi+1),且滿足xi≦x≦xi+1之值的情況,使用下述之式(1)來求出y值。 On the other hand, the interpolation method of the data specifies, for example, linear interpolation in the registration parameter 114, and the control data interpolation unit 109 uses the following formula (1) to insert the control data to be interpolated. value. That is, in the case where (xi, yi), (xi+1, yi+1) is recognized and the value of xi≦x≦xi+1 is satisfied, the y value is obtained using the following formula (1).

y=yi+(yi+1-yi)×(x-xi)÷(xi+1-xi)...(1) y=yi+(yi+1-yi)×(x-xi)÷(xi+1-xi)...(1)

針對將第6圖(c)所示之重排後數據代入式(1)之情況進行說明。例如,要求出絕對時刻數據「14:10:02」的控制數據B之情況,假設x=秒(毫秒單位),y=控制數據B,則y=100+(150-100)×(2000-1000)÷(4000-1000),亦即y=117。同樣地針對其他的控制數據進行插值之後,最終得到的結合數據會如第9圖所示。又,將經過結合及插值後最終得到的結合數據儲存至數據記憶部104後以檔案形態將之輸出至記憶媒體50之際的數據,會如第10圖所示。第9圖係顯示在本實施形態之登錄裝置100中,針對缺乏的數據進行線性插值之情況的控制數據之圖。第10圖係顯示在本實施形態之登錄裝置100中,在針對缺乏的數據進行線性插值之情況輸出至記憶媒體50之檔案的數據之圖。 The case where the rearranged data shown in Fig. 6(c) is substituted into the equation (1) will be described. For example, if the control data B of the absolute time data "14:10:02" is required, assuming x=seconds (millisecond units) and y=control data B, then y=100+(150-100)×(2000- 1000) ÷ (4000-1000), which is y=117. Similarly, after interpolating other control data, the resulting combined data will be as shown in Fig. 9. Further, the data obtained by combining and interpolating the final combined data to the data storage unit 104 and outputting it to the memory medium 50 in the form of a file is as shown in FIG. Fig. 9 is a view showing control data in the case where linear interpolation is performed on the lack of data in the registration device 100 of the present embodiment. Fig. 10 is a view showing data which is output to the file of the memory medium 50 in the case where linear interpolation is performed for the lack of data in the registration device 100 of the present embodiment.

第9圖中,插值求出之與絕對時刻數據「14:10:02」對應的控制數據B為「117」。插值求出之與絕對時刻數據「14:10:03」對應的控制數據B為「133」。插值求出之與絕對時刻數據「14:10:05」對應的控制數據B為「167」。插值求出之與絕對時刻數據「14:10:06」對應的控制數據B為「183」。插值求出之與絕對時刻數據 「14:10:08」對應的控制數據B為「217」。 In Fig. 9, the control data B corresponding to the absolute time data "14:10:02" obtained by the interpolation is "117". The control data B corresponding to the absolute time data "14:10:03" obtained by the interpolation is "133". The control data B corresponding to the absolute time data "14:10:05" obtained by the interpolation is "167". The control data B corresponding to the absolute time data "14:10:06" obtained by the interpolation is "183". Interpolation and absolute time data The control data B corresponding to "14:10:08" is "217".

另外,在將檔案輸出至記憶媒體50之際的數據,係如第10圖所示,為從第9圖所示之數據省略掉絕對時刻數據後之數據。 In addition, as shown in FIG. 10, the data when the file is output to the memory medium 50 is the data after the absolute time data is omitted from the data shown in FIG.

如此,針對在與控制裝置A的各收集間隔一致之際之控制數據B的缺乏部分進行插值,在以趨勢圖(trend graph)等之視覺上較容易看懂之形式來顯示重排匯整後的控制數據之際,數據分析就會變得容易。同樣的,在匯整從複數個控制裝置10收集到的控制數據之際,藉由剔除掉一些希望的控制數據以使間隔變大,在以趨勢圖等之視覺上較容易看懂之形式顯示重排匯整後的控制數據之際,數據分析也會變得容易。而且,因為可用指定的希望的控制裝置10的控制數據的收集間隔來重排匯整收集到的控制數據,所以可取得以指定的控制裝置10為基準之分析數據。 In this way, the missing portion of the control data B at the time of coincidence with the respective collection intervals of the control device A is interpolated, and the rearrangement is displayed in a form that is visually easier to understand, such as a trend graph. Data analysis becomes easier when it comes to controlling data. Similarly, when the control data collected from the plurality of control devices 10 is collected, by removing some of the desired control data to make the interval larger, it is displayed in a visually easy-to-understand format such as a trend graph or the like. Data analysis will also become easier when rearranging the control data after the reorganization. Moreover, since the collected control data can be rearranged by the collection interval of the control data of the designated desired control device 10, the analysis data based on the designated control device 10 can be obtained.

接著,使在上述實施形態之登錄系統中的控制裝置10、伺服個人電腦30、個人電腦40以及登錄裝置100中執行之機能,構成為儲存有該機能的處理步驟之程式,且由如第11圖所示之具有CPU、記憶裝置等之電腦裝置來執行該程式而實現該機能。 Next, the functions executed by the control device 10, the servo personal computer 30, the personal computer 40, and the registration device 100 in the registration system of the above-described embodiment are configured to store the program of the function, and are as shown in the eleventh. The computer device having a CPU, a memory device, and the like shown in the figure executes the program to realize the function.

第11圖係以示意的方式顯示實現作為上述的控制裝置10、伺服個人電腦30、個人電腦40及登錄裝置100的機能之電腦裝置200的構成的一例之方塊圖。如第11圖所示,電腦裝置200具有透過內部匯流排209將 LCD(Liquid Crystal Display)等之顯示裝置201、鍵盤(keyboard)等之輸入裝置202、進行演算之CPU 203、ROM(Read Only Memory)等之非揮發性記憶體204、RAM(Random Access Memory)等之揮發性記憶體205、記憶要顯示於顯示裝置201之顯示畫面之顯示用記憶體206、作為與快閃記憶體(flash memory)等之可插拔的外部記憶體的介面(interface)之外部記憶體介面207、在與外部機器之間進行通訊之通訊介面208等連接起來之構成。 Fig. 11 is a block diagram showing an example of a configuration of a computer device 200 that realizes the functions of the control device 10, the servo personal computer 30, the personal computer 40, and the registration device 100 described above. As shown in FIG. 11, the computer device 200 has an internal bus bar 209. Display device 201 such as LCD (Liquid Crystal Display), input device 202 such as keyboard, CPU 203 for calculation, non-volatile memory 204 such as ROM (Read Only Memory), RAM (Random Access Memory), etc. The volatile memory 205 is stored on the display memory 206 of the display screen of the display device 201, and is external to the interface of the pluggable external memory such as a flash memory. The memory interface 207 is connected to a communication interface 208 that communicates with an external device.

而且,將儲存於非揮發性記憶體204之記述有上述的數據登錄方法的處理步驟之程式載入到揮發性記憶體205,由CPU 203加以執行。該程式係記錄於硬碟(hard disk)、CD(Compact Disk)、ROM(Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk或Digital Video Disk)等之電腦裝置可讀取的記錄媒體,或者,該程式也可透過網際網路(internet)等之電腦網路(computer network)通訊線路而配送。在此情況,係從透過通訊介面208而連接的資訊處理終端機將程式儲存到非揮發性記憶體204上。 Further, the program stored in the non-volatile memory 204 in which the above-described data registration method is described is loaded into the volatile memory 205, and executed by the CPU 203. The program is recorded on a hard disk, CD (Compact Disk), ROM (Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk or Digital Video Disk) and other computer devices. The recording medium, or the program can also be distributed via a computer network communication line such as the Internet. In this case, the program is stored on the non-volatile memory 204 from the information processing terminal connected through the communication interface 208.

如上所述,本實施形態之登錄系統中,登錄裝置100具備有以既定的時序將時刻修正成與外部的伺服個人電腦30的標準時刻同步之共通計時器111、以及絕對時刻計時器110。絕對時刻計時器110在登錄裝置100的電源起動後不久將時刻修正成與共通計時器111的時刻同步後就不再在登錄裝置100的稼動中進行時刻之修正。 As described above, in the registration system of the present embodiment, the registration device 100 includes the common timer 111 that corrects the time at a predetermined timing to synchronize with the standard time of the external servo personal computer 30, and the absolute time counter 110. The absolute time counter 110 corrects the time to be synchronized with the time of the common timer 111 shortly after the power of the registration device 100 is started, and does not correct the time in the operation of the registration device 100.

而且,登錄裝置100在從控制裝置10收集控制數據之際,係將來自共通計時器111之時間戳記及來自絕對時刻計時器110之絕對時刻數據附加至控制數據然後儲存至內部記憶體103。然後,以絕對時刻計時器110的值為基準,按照從控制裝置10取得之時間序列順序將儲存於內部記憶體103之控制數據重排。因此,即使在共通計時器111有因為與外部的標準時刻同步而做了時鐘修正之情況,也可按照收集控制裝置10的控制數據之時間序列順序將控制數據予以重排,可容易且確實地以時間序列順序匯整各控制裝置10的稼動狀況。 Further, when collecting the control data from the control device 10, the registration device 100 adds the time stamp from the common timer 111 and the absolute time data from the absolute time counter 110 to the control data and stores them in the internal memory 103. Then, based on the value of the absolute time counter 110, the control data stored in the internal memory 103 is rearranged in the time series order obtained from the control device 10. Therefore, even if the common timer 111 has a clock correction due to synchronization with an external standard time, the control data can be rearranged in the time series of the control data of the collection control device 10, and the control data can be easily and surely The condition of each control device 10 is collected in time series.

如上所述,本實施形態之登錄系統中,即使在共通計時器111的時刻在與外部的標準時刻同步而倒回之情況,也是將不受到時刻同步的影響之絕對時刻計時器110的時刻使用作為重排的基準。因此,可針對收集到的控制數據14判別從控制裝置10取得控制數據14的時間序列順序,而且可判別控制數據14產生的時間序列順序。 As described above, in the registration system of the present embodiment, even when the time of the common timer 111 is reversed in synchronization with the external standard time, the time of the absolute time counter 110 that is not affected by the time synchronization is used. As a basis for rearrangement. Therefore, the time series sequence in which the control data 14 is acquired from the control device 10 can be discriminated against the collected control data 14, and the time series sequence generated by the control data 14 can be discriminated.

另外,在輸出數據之際,係輸出經過時刻同步之共通計時器111的時間戳記,所以與包含控制裝置10之外部機器的時鐘相比對就可確認在什麼時間收集到什麼數據。 Further, when the data is output, the time stamp of the time-synchronized common timer 111 is output, so that it is possible to confirm what data was collected at a time compared with the clock of the external device including the control device 10.

又,在本實施形態之登錄系統中,在收集到的各控制裝置10的控制數據的重排之際,可在登錄參數114中指定作為基準之間隔。可指定控制裝置10的數據收集間隔來做為該間隔。在收集到的各控制裝置10的控制數 據重排的結果,當發生不存在控制數據的之絕對時刻數據的時刻之情況,可用登錄參數114中指定的形式來插值求出缺乏的控制數據。在插值的形式方面,可利用線性插值、同值插值等之近似值插值。 Further, in the registration system of the present embodiment, when the collected control data of each control device 10 is rearranged, the interval as the reference can be specified in the registration parameter 114. The data collection interval of the control device 10 can be specified as the interval. The number of controls of each control device 10 collected According to the result of the rearrangement, when the time of the absolute time data of the control data does not exist, the lack of control data can be obtained by interpolation in the form specified in the registration parameter 114. In terms of the form of interpolation, interpolation of approximate values such as linear interpolation, equi-value interpolation, and the like can be utilized.

因此,根據本實施形態之登錄系統,就會產生可容易且確實地按照產生的時間序列順序重排在控制裝置10產生的控制數據之效果。 Therefore, according to the registration system of the present embodiment, it is possible to easily and surely rearrange the control data generated by the control device 10 in the order of the generated time series.

(產業上之可利用性) (industrial availability)

如以上所述,本發明之登錄系統在要容易且確實地按照產生的時間序列順序重排在控制裝置產生的控制數據之情況有可利用性。 As described above, the registration system of the present invention is available in the case where it is easy and sure to rearrange the control data generated by the control device in the order of the generated time series.

10‧‧‧控制裝置 10‧‧‧Control device

11‧‧‧CPU 11‧‧‧CPU

12‧‧‧控制執行部 12‧‧‧Control and Implementation Department

13‧‧‧控制程式 13‧‧‧Control program

14‧‧‧控制數據 14‧‧‧Control data

15‧‧‧控制數據儲存部 15‧‧‧Control data storage

16‧‧‧控制數據轉送部 16‧‧‧Control Data Transfer Department

17‧‧‧通訊部 17‧‧‧Communication Department

20‧‧‧匯流排 20‧‧‧ Busbar

30‧‧‧伺服個人電腦 30‧‧‧Servo PC

31‧‧‧時刻配送部 31‧‧‧Time Delivery Department

32‧‧‧通訊部 32‧‧‧Communication Department

40‧‧‧個人電腦 40‧‧‧PC

41‧‧‧登錄設定工具 41‧‧‧ Login Settings Tool

42‧‧‧通訊部 42‧‧‧Communication Department

50‧‧‧記憶媒體 50‧‧‧Memory Media

60‧‧‧纜線 60‧‧‧ cable

100‧‧‧登錄裝置 100‧‧‧ Login device

101‧‧‧CPU 101‧‧‧CPU

102‧‧‧數據取得部 102‧‧‧Data Acquisition Department

103‧‧‧內部記憶體 103‧‧‧Internal memory

104‧‧‧數據記憶部 104‧‧‧Data Memory Department

105‧‧‧共用記憶體 105‧‧‧Shared memory

106‧‧‧控制數據 106‧‧‧Control data

107‧‧‧結合檔案製作部 107‧‧‧Combined with the Archives Production Department

108‧‧‧控制數據整合排列部 108‧‧‧Control data integration and alignment

109‧‧‧控制數據插值部 109‧‧‧Control Data Interpolation Department

110‧‧‧絕對時刻計時器 110‧‧‧ Absolute time timer

111‧‧‧共通計時器 111‧‧‧Common timer

112‧‧‧時刻同步要求部 112‧‧‧Time synchronization request department

113‧‧‧環形緩衝區域 113‧‧‧ ring buffer area

114‧‧‧登錄參數 114‧‧‧ Login parameters

115‧‧‧通訊部 115‧‧‧Communication Department

Claims (11)

一種登錄系統,係包括作為數據收集對象之複數個對象裝置、以及從前述複數個對象裝置收集前述對象裝置內的數據並予以記錄之登錄裝置而構成者;其中,前述登錄裝置係具備:為了使前述登錄系統全體的時鐘統一而配備,且以既定的時序將時刻修正成與外部的標準時刻同步之第一時鐘;在前述登錄裝置起動時將時刻修正成與前述第一時鐘的時刻同步後就不在前述登錄裝置的稼動中進行時刻的修正之第二時鐘;將從前述複數個對象裝置所取得的前述數據按各前述對象裝置分別儲存之數據記憶部;以各對象裝置各既定的收集時間間隔從前述複數個對象裝置取得前述數據,且在每個前述數據附加上從前述對象裝置取得前述數據之際之前述第一時鐘的時刻及前述第二時鐘的時刻,並儲存至前述數據記憶部之數據取得部;使前述數據記憶部中所儲存之前述複數個對象裝置的前述數據按照從前述對象裝置取得前述數據之時間序列順序重排並結合之控制數據整合排列部;以及儲存前述結合後的數據之結合數據記憶部;且前述控制數據整合排列部係以前述數據記憶部中所儲存之前述數據中所附加之前述第二時鐘的時刻 為基準,使前述複數個對象裝置的前述數據按照前述時間序列順序重排並結合。 A registration system includes a plurality of target devices as data collection targets, and a registration device that collects and records data in the target device from the plurality of target devices. The registration device includes: The clocks of all the registration systems are provided in a unified manner, and the time is corrected to a first clock synchronized with an external standard time at a predetermined timing; and when the registration device is activated, the time is corrected to be synchronized with the time of the first clock. a second clock that does not correct the time in the operation of the registration device; a data storage unit that stores the data acquired from the plurality of target devices for each of the target devices; and a predetermined collection time interval of each target device Obtaining the data from the plurality of target devices, and adding the time of the first clock and the time of the second clock when the data is acquired from the target device to each of the data, and storing the data in the data storage unit Data acquisition unit; before storing in the data storage unit The control data integration arrangement unit in which the data of the plurality of target devices is sequentially rearranged and combined with the time sequence of the data from the target device; and a combined data storage unit that stores the combined data; and the control data integration arrangement unit The timing of the aforementioned second clock added to the aforementioned data stored in the data storage unit For the reference, the aforementioned data of the plurality of object devices are rearranged and combined in the order of the aforementioned time series. 一種登錄裝置,係與進行控制被控制裝置之複數個對象裝置連接成可通訊,從前述複數個對象裝置收集前述對象裝置內的數據並予以記錄者,且具備:為了使前述登錄系統全體的時鐘統一而配備,且以既定的時序將時刻修正成與外部的標準時刻同步之第一時鐘;在前述登錄裝置起動時將時刻修正成與前述第一時鐘的時刻同步後就不在前述登錄裝置的稼動中進行時刻的修正之第二時鐘;將從前述複數個對象裝置所取得的前述數據按各前述對象裝置分別儲存之數據記憶部;以各對象裝置各既定的收集時間間隔從前述複數個對象裝置取得前述數據,且在每個前述數據附加上從前述對象裝置取得前述數據之際之前述第一時鐘的時刻及前述第二時鐘的時刻並儲存至前述數據記憶部之數據取得部;使前述數據記憶部中所儲存之前述複數個對象裝置的前述數據按照從前述對象裝置取得前述數據之時間序列順序重排並結合之控制數據整合排列部;以及儲存前述結合後的數據之結合數據記憶部;且前述控制數據整合排列部係以前述數據記憶部中所儲存之前述數據中所附加之前述第二時鐘的時刻 為基準,使前述複數個對象裝置的前述數據按照前述時間序列順序重排並結合。 A registration device that is connected to a plurality of target devices that control the controlled device to communicate with each other, and collects and records data in the target device from the plurality of target devices, and includes a clock for making the entire registration system Uniformly equipped, and correcting the time to a first clock synchronized with an external standard time at a predetermined timing; and correcting the time to synchronize with the time of the first clock when the registration device is started is not in the registration device a second clock for correcting the time; a data storage unit that stores the data acquired from the plurality of target devices for each of the target devices; and a plurality of target devices at a predetermined collection time interval of each target device Acquiring the data, and adding the time of the first clock and the time of the second clock when the data is acquired from the target device to each of the data, and storing the data in the data storage unit; The foregoing data of the plurality of object devices stored in the memory portion is pressed a control data integration arrangement unit that sequentially reorders and combines the data in the time series sequence; and a combined data storage unit that stores the combined data; and the control data integration arrangement unit is configured in the data storage unit The time of storing the aforementioned second clock added to the aforementioned data For the reference, the aforementioned data of the plurality of object devices are rearranged and combined in the order of the aforementioned time series. 如申請專利範圍第2項所述之登錄裝置,其中,前述收集時間間隔,係在前述複數個對象裝置間互不相同,前述控制數據整合排列部,係以從前述複數個對象裝置之中的任一個對象裝置所取得的前述數據中所附加之前述第二時鐘的時刻為基準,使從前述複數個對象裝置所取得的前述數據按照前述時間序列順序重排並結合。 The registration device according to claim 2, wherein the collection time interval is different between the plurality of target devices, and the control data integration arrangement portion is formed from the plurality of target devices The data acquired from the plurality of target devices is rearranged and combined in the time series order based on the time of the second clock added to the data acquired by the target device. 如申請專利範圍第3項所述之登錄裝置,其中,前述控制數據整合排列部,係在前述複數個對象裝置間,於所取得的前述數據的數量不同之情況,進行前述數據之插值或前述數據之刪減。 The registration device according to the third aspect of the invention, wherein the control data integration and arrangement unit performs interpolation of the data or the foregoing when the number of acquired data is different between the plurality of target devices. The reduction of data. 如申請專利範圍第2至4項中任一項所述之登錄裝置,其中,將前述結合後的數據及前述第一時鐘的時刻作成為檔案而輸出至前述結合數據記憶部以外的外部記憶手段,前述檔案係包含作出該檔案之前述登錄裝置的資訊。 The registration device according to any one of claims 2 to 4, wherein the combined data and the time of the first clock are used as files and output to an external memory means other than the combined data storage unit. The aforementioned file contains information on the aforementioned login device that made the file. 如申請專利範圍第5項所述之登錄裝置,其中,前述登錄裝置的資訊,係包含作出前述檔案之前述登錄裝置的識別資訊、前述第一時鐘的時刻的輸出形式、以及用以識別被取得前述結合後的數據中所包 含的前述數據的對象裝置之資訊,作為前述登錄裝置之資訊。 The registration device according to claim 5, wherein the information of the registration device includes identification information of the registration device that makes the file, an output form of the time of the first clock, and identification for obtaining Enclosed in the aforementioned combined data The information of the target device including the aforementioned data is used as information of the aforementioned login device. 如申請專利範圍第2項所述之登錄裝置,其中,前述對象裝置,係進行控制被控制裝置之控制裝置,前述數據,係前述控制裝置進行被控制裝置的控制之際產生之控制數據。 The registration device according to claim 2, wherein the target device is a control device that controls the controlled device, and the data is control data generated when the control device performs control by the control device. 一種數據登錄方法,係從各對象裝置收集複數個前述對象裝置內的數據並將之記錄至登錄裝置之數據登錄方法,包含:以各對象裝置各既定的收集時間間隔從前述複數個對象裝置取得前述數據之第一步驟;對於前述取得的數據將從前述對象裝置取得前述數據之際之第一時鐘的時刻及第二時鐘的時刻附加至每個前述數據,然後按各個前述對象裝置而將之記憶至前述登錄裝置內的數據記憶部之第二步驟;使前述數據記憶部所儲存之前述複數個對象裝置的前述數據按照從前述對象裝置取得前述數據之時間序列順序重排並結合之第三步驟;以及使前述結合後的數據按各個前述對象裝置而將之記憶至前述登錄裝置內的結合數據記憶部之第四步驟;其中,前述第一時鐘,係以既定的時序將時刻修正成與外部的標準時刻同步之時鐘, 前述第二時鐘,係在前述登錄裝置起動時將時刻修正成與前述第一時鐘的時刻同步後就不在前述登錄裝置的稼動中進行時刻的修正之時鐘,前述第三步驟,係以前述數據記憶部所儲存之前述數據中所附加之前述第二時鐘的時刻為基準而使前述複數個對象裝置的前述數據按照前述時間序列順序重排並結合。 A data registration method is a data registration method for collecting data of a plurality of the target devices from each target device and recording the data in the registration device, comprising: obtaining the plurality of target devices from each of the target device at each of the predetermined collection time intervals a first step of the data; adding, to the data obtained from the target device, the time of the first clock and the time of the second clock to each of the data, and then performing the data for each of the target devices a second step of storing the data storage unit in the registration device; and causing the data of the plurality of target devices stored in the data storage unit to be rearranged and combined in a time series order of obtaining the data from the target device And a fourth step of causing the combined data to be stored in the binding data storage unit in the registration device for each of the target devices; wherein the first clock corrects the time at a predetermined timing External standard time synchronization clock, The second clock is a clock that corrects the time when the registration device is activated to be synchronized with the time of the first clock, and does not correct the time in the operation of the registration device. The third step is the data memory. The data of the plurality of target devices is rearranged and combined in the time series order based on the time of the second clock added to the data stored in the portion. 如申請專利範圍第8項所述之數據登錄方法,其中,前述收集時間間隔,係在前述複數個對象裝置間互不相同,前述第三步驟,係以從前述複數個對象裝置之中的任一個對象裝置所取得的前述數據中所附加之前述第二時鐘的時刻為基準,使從前述複數個對象裝置所取得的前述數據按照前述時間序列順序重排並結合。 The data registration method according to claim 8, wherein the collection time interval is different between the plurality of target devices, and the third step is performed by any one of the plurality of target devices. The data acquired from the plurality of target devices is rearranged and combined in the time series order based on the time of the second clock added to the data acquired by the target device. 如申請專利範圍第9項所述之數據登錄方法,其中,前述第三步驟,係在前述複數個對象裝置間,於所取得的前述數據的數量不同之情況,進行前述數據之插值或前述數據之刪減。 The data registration method according to claim 9, wherein the third step is to perform interpolation of the data or the data in the case where the number of the acquired data is different between the plurality of target devices. The deletion. 如申請專利範圍第8至10項中任一項所述之數據登錄方法,其中,前述對象裝置,係進行控制被控制裝置之控制裝置,前述數據,係前述控制裝置進行被控制裝置的控制之際產生之控制數據。 The data registration method according to any one of claims 8 to 10, wherein the target device is a control device that controls the controlled device, and the data is controlled by the control device. Control data generated.
TW104118725A 2014-06-12 2015-06-10 Logging system, loggiing device and data logging method TWI557558B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/065651 WO2015189969A1 (en) 2014-06-12 2014-06-12 Logging system, logging device, and data logging method

Publications (2)

Publication Number Publication Date
TW201610671A TW201610671A (en) 2016-03-16
TWI557558B true TWI557558B (en) 2016-11-11

Family

ID=54833097

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104118725A TWI557558B (en) 2014-06-12 2015-06-10 Logging system, loggiing device and data logging method

Country Status (4)

Country Link
JP (1) JP6053996B2 (en)
CN (1) CN106663048B (en)
TW (1) TWI557558B (en)
WO (1) WO2015189969A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI623840B (en) * 2017-07-20 2018-05-11 Chunghwa Telecom Co Ltd System and method for analyzing dynamic rate of adaptive machine
US10871994B2 (en) * 2017-07-31 2020-12-22 Mitsubishi Electric Corporation Information processing device and information processing method
CN107729375B (en) * 2017-09-13 2021-11-23 微梦创科网络科技(中国)有限公司 Log data sorting method and device
CN110609777B (en) 2018-06-15 2023-11-03 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for managing logs
WO2021019615A1 (en) * 2019-07-26 2021-02-04 三菱電機株式会社 Programmable logic controller, setting tool, and program
JP6847320B1 (en) * 2020-02-14 2021-03-24 三菱電機株式会社 Data collection system and data collection device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW559727B (en) * 1999-03-30 2003-11-01 Matsushita Electric Ind Co Ltd Apparatus for data receiving and transmitting
US6789182B1 (en) * 2000-11-13 2004-09-07 Kevin Jay Brothers System and method for logging computer event data and physical components of a complex distributed system
JP2009259054A (en) * 2008-04-17 2009-11-05 Mitsubishi Electric Corp Data collection device and data reproduction method therefor
US20100042632A1 (en) * 2008-08-12 2010-02-18 Tecsys Development, Inc. Log File Time Sequence Stamping
US8264728B2 (en) * 2007-08-30 2012-09-11 Brother Kogyo Kabushiki Kaisha Log collecting system, computer apparatus and log collecting program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07281732A (en) * 1994-04-11 1995-10-27 Toshiba Corp Monitoring device
JP2004199410A (en) * 2002-12-18 2004-07-15 Fuji Xerox Co Ltd History recording device and its method
JP4404212B2 (en) * 2005-03-25 2010-01-27 日本電気株式会社 Multi-series data arrangement method and multi-series data arrangement apparatus
JP4860505B2 (en) * 2007-02-27 2012-01-25 Necインフロンティア株式会社 Information processing apparatus, clock correction processing method, clock correction processing program, and program recording medium
JP5327239B2 (en) * 2011-01-31 2013-10-30 オムロン株式会社 Data collection device, and control method and control program for the data collection device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW559727B (en) * 1999-03-30 2003-11-01 Matsushita Electric Ind Co Ltd Apparatus for data receiving and transmitting
US6789182B1 (en) * 2000-11-13 2004-09-07 Kevin Jay Brothers System and method for logging computer event data and physical components of a complex distributed system
US8264728B2 (en) * 2007-08-30 2012-09-11 Brother Kogyo Kabushiki Kaisha Log collecting system, computer apparatus and log collecting program
JP2009259054A (en) * 2008-04-17 2009-11-05 Mitsubishi Electric Corp Data collection device and data reproduction method therefor
US20100042632A1 (en) * 2008-08-12 2010-02-18 Tecsys Development, Inc. Log File Time Sequence Stamping

Also Published As

Publication number Publication date
CN106663048B (en) 2018-06-22
JPWO2015189969A1 (en) 2017-04-20
JP6053996B2 (en) 2016-12-27
WO2015189969A1 (en) 2015-12-17
CN106663048A (en) 2017-05-10
TW201610671A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
TWI557558B (en) Logging system, loggiing device and data logging method
JP6504190B2 (en) Control device and information processing method
US10284692B2 (en) Control device and communication device
CN107423303A (en) The method and system of data syn-chronization
WO2015128981A1 (en) Programmable controller system and controller therefor
US9753941B2 (en) Storage system and method for processing data operation request
CN111222089A (en) Data processing method, data processing device, computer equipment and storage medium
WO2019222399A1 (en) Conflict resolution in distributed computing
US11625417B2 (en) System and method for transferring and synchronizing student information system (SIS) data
JP6704548B1 (en) Communication system, communication device and program
JP4032646B2 (en) Network time adjustment method and control system
TW201617749A (en) Remote control device and control system
JP6662489B2 (en) Playback simulation test system
JP7155454B1 (en) Programmable logic controller, terminal device, program management system, program management method and program
JP4497317B2 (en) Control device clock synchronization
CN113157716A (en) Data processing method, device, equipment and medium
JP2015231172A (en) File creation time correction device
JP7147542B2 (en) Information management device, production system, information management method and program
JP2009020044A (en) Measuring device and measuring system
JP6388533B2 (en) Database system
JPWO2020049746A1 (en) Database equipment, programs, and data processing methods
CN114840054B (en) Time synchronization method, device, system, equipment and storage medium
JP2019179005A (en) Data acquisition system, input device, data acquisition device, and data synthesis device
WO2023119524A1 (en) Simulation program, simulation method, and simulation device
JP2021149853A5 (en)

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees