WO2015189969A1 - Logging system, logging device, and data logging method - Google Patents

Logging system, logging device, and data logging method Download PDF

Info

Publication number
WO2015189969A1
WO2015189969A1 PCT/JP2014/065651 JP2014065651W WO2015189969A1 WO 2015189969 A1 WO2015189969 A1 WO 2015189969A1 JP 2014065651 W JP2014065651 W JP 2014065651W WO 2015189969 A1 WO2015189969 A1 WO 2015189969A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
time
logging
control data
control
Prior art date
Application number
PCT/JP2014/065651
Other languages
French (fr)
Japanese (ja)
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 三菱電機株式会社
Priority to CN201480079749.8A priority Critical patent/CN106663048B/en
Priority to PCT/JP2014/065651 priority patent/WO2015189969A1/en
Priority to JP2016527579A priority patent/JP6053996B2/en
Priority to TW104118725A priority patent/TWI557558B/en
Publication of WO2015189969A1 publication Critical patent/WO2015189969A1/en

Links

Images

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]

Definitions

  • the present invention relates to a logging system, a logging device, and a data logging method.
  • control data is collected from the control device by the logging device.
  • the logging data which is the collected control data, is stored in a file with a time stamp added.
  • the interval at which the logging device collects data from each control device can be individually designated for each control device. Then, the logging device collects data from each control device at specified intervals, and outputs the collected logging data to a file (see, for example, Patent Document 1).
  • the time stamp added to the logging data is based on the common timer provided in the logging device.
  • the common timer synchronizes with the standard time of the external system and corrects the clock in order to correctly grasp the time when the logging data is collected from each control device.
  • the correction of the clock of the common timer needs to be performed periodically to prevent time lag.
  • the clock time of the common timer may rewind.
  • the time stamp added to the logging data may be older than or the same time as the time stamp already issued.
  • the data of each device can be collected side by side with a time stamp for each interval.
  • time stamps with no logging data frequently occur, and the output data becomes information indicating “NULL” or “no data”. End up. For this reason, when the collected data is visualized with a trend graph or the like, logging data may not be displayed in a portion without data.
  • the present invention has been made in view of the above, and in a logging system in which data is collected from a target device by a logging device, the data of the target device can be easily and reliably rearranged in chronological order.
  • An object is to obtain a logging system, a logging device, and a data logging method.
  • a logging system collects and records a plurality of target devices as data collection targets and data in the target devices from the plurality of target devices.
  • a logging system configured to include a first clock whose time is corrected in synchronization with an external standard time at a predetermined timing, and when the logging device is activated, the logging system After the time is corrected in synchronization with the time of the first clock, a second clock that is not corrected for time during operation of the logging device, and the data acquired from the plurality of target devices for each target device
  • the data storage unit for storing data and the plurality of target devices respectively acquire the data at predetermined collection time intervals, and acquire the data from the target device for each data
  • a data acquisition unit that adds the time of the first clock and the time of the second clock to be stored in the data storage unit, and the data of the plurality of target devices stored in the storage unit,
  • a data alignment unit that rearranges and combines the data in order of time series acquired from the target
  • the data of the target device can be easily and reliably rearranged in chronological order.
  • FIG. 1 is a diagram showing a configuration of a logging system according to an embodiment of the present invention.
  • FIG. 2 is a flowchart for explaining processing for writing clock data to the common timer of the logging device according to the embodiment of the present invention.
  • FIG. 3 is a flowchart showing a data acquisition processing procedure of the data acquisition unit in the logging device according to the embodiment of the present invention.
  • FIG. 4 is a diagram illustrating a configuration example for collecting control data from a plurality of control devices in the logging system according to the embodiment of the present invention.
  • FIG. 5 is a flowchart for explaining processing in which the logging device rearranges and combines the control data in the logging system according to the embodiment of the present invention.
  • FIG. 6 is a diagram showing control data in the logging device according to the embodiment of the present invention.
  • FIG. 7 is a diagram illustrating control data when equivalent data interpolation is performed on deficient data in the logging device according to the embodiment of the present invention.
  • FIG. 8 is a diagram illustrating a file that is output when the deficient data is subjected to the same value interpolation in the logging device according to the embodiment of the present invention.
  • FIG. 9 is a diagram showing control data when the deficient data is linearly interpolated in the logging device according to the embodiment of the present invention.
  • FIG. 10 is a diagram illustrating file data output to the storage medium when the deficient data is linearly interpolated in the logging device according to the embodiment of the present invention.
  • FIG. 11 is a block diagram schematically illustrating an example of a configuration of a computer device that realizes functions as a control device, a server personal computer, a personal computer, and a logging device.
  • FIG. 1 is a diagram showing a configuration of a logging system according to the first exemplary embodiment of the present invention.
  • the logging system logs a control device 10 that performs a calculation for executing a predetermined control on a controlled device (not shown) and the acquired control data.
  • the system includes a logging device 100, a storage medium 50 mounted on the logging device 100, a personal computer 40 for setting logging parameters, and a server personal computer 30 for time synchronization.
  • the control device 10 and the logging device 100 are connected to each other via the bus 20.
  • the personal computer 40 and the server personal computer 30 are connected to the logging device 100 via a cable 60 such as Ethernet (registered trademark).
  • the server personal computer 30 is connected to the control device 10 via a cable 60.
  • the arrow shown in FIG. 1 has shown the motion of the data of the control apparatus which is data for logging.
  • 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 them.
  • the control execution unit 12 includes a control program 13 for the control device 10 to execute control on the controlled device, performs an operation according to the control program 13, operates the control device 10, and controls the controlled device. Do.
  • the control data storage unit 15 stores and holds the control data 14 generated when the control device 10 executes control on the controlled device.
  • the control data transfer unit 16 transfers the value of the control data 14 in the control data storage unit 15 to the shared memory 105 provided in the logging device 100 at a predetermined constant cycle or the operation cycle of the control program, and transfers the control data 14 to the shared memory 105.
  • the logging device 100 acquires the control data 14 at a predetermined fixed interval or an operation interval of the control program.
  • the control data transfer unit 16 transfers the control data 14 in chronological order in which the control data 14 is generated.
  • the communication unit 17 performs communication with an external device.
  • the personal computer 40 includes a logging setting tool 41 and a communication unit 42 implemented by software.
  • the logging setting tool 41 has a function of creating setting data for logging and setting the setting data in the logging device 100.
  • the setting data relates to the setting contents such as the number and type of data collected by the logging device 100 from the control device 10, the data collection cycle, the logging execution condition, the setting for combining the data, the data interpolation method, and the time synchronization timing. It is data. Therefore, the personal computer 40 functions as a logging setting data creation / setting device.
  • the communication unit 42 communicates with an external device.
  • the personal computer 40 may be configured by a dedicated device having the above functions.
  • the personal computer 40 is necessary for setting the created setting data in the logging device 100, and the connection with the logging device 100 may be disconnected while the logging device 100 is in operation.
  • the server personal computer 30 includes a time distribution unit 31 that operates as an SNTP server and distributes the time of the server personal computer 30 to the SNTP client, and a communication unit 32.
  • the time distribution unit 31 distributes time information.
  • the SNTP client here is the logging 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 personal computer 40 will be described later.
  • the server personal computer 30 may be configured by a dedicated device having an SNTP function.
  • the logging 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 timer 110, a common timer 111, and time synchronization.
  • a request unit 112 and a communication unit 115 are provided.
  • the common timer 111 is a clock provided to unify the clock of the entire logging system.
  • the common timer 111 is synchronized with the time of the server personal computer 30.
  • the time stamp added to the control data is based on the value of the common timer 111.
  • the absolute time timer 110 synchronizes the time with the common timer 111 and corrects the clock once after the logging device 100 is powered on. After that, the absolute time timer 110 is not affected by the synchronization when the common timer 111 performs clock correction with the server personal computer 30, that is, when the common timer 111 synchronizes the time with the server personal computer 30. Continue to update the value.
  • the absolute time timer 110 is a clock that continues to update the absolute time that is not corrected until the logging device 100 is turned off after the time is synchronized with the common timer 111 immediately after the logging device 100 is powered on.
  • the absolute time timer 110 includes the same timepiece element as the common timer 111, for example.
  • the absolute time data added to the control data is based on the value of the absolute time timer 111.
  • the time synchronization request unit 112 acquires time information from the server personal computer 30 by issuing a time synchronization request and transmitting it to the server personal computer 30. Then, the time synchronization request unit 112 updates the time of the common timer 111 by setting and reflecting the acquired time information in the common timer 111. That is, the time synchronization request unit 112 executes a time synchronization request to the server personal computer 30 according to 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 as a result of executing the time acquisition request in the common timer 111.
  • the shared memory 105 has an area for temporarily storing the control data 14 transferred from the control device 10 as the control data 106.
  • the shared memory 105 has one area for each control device 10 in which only the control data 106 for one control cycle is stored in the shared memory 105.
  • the shared memory 105 can be accessed from both the control device 10 and the logging device 100. Further, the shared memory 105 can divide the memory area in order to store the control data 106 according to the number of control devices 10 to be logged.
  • the internal memory 103 is a control data storage unit that collectively stores the control data 106 transferred from the control device 10. As the internal memory 103, for example, a volatile memory is used. The internal memory 103 is accessible from the data acquisition unit 102, the data storage unit 104, and the combined file creation unit 107.
  • the internal memory 103 includes, for example, a ring buffer area 113 that can store a large number of control data transferred from the control device 10 for a predetermined control period, and a logging parameter 114.
  • the ring buffer area 113 is a RAM memory or the like having a sufficient capacity for storing the control data 106.
  • the ring buffer area 113 is conceptually arranged in a circular memory configuration and is managed by a write pointer and a read pointer. In this case, when the data acquisition unit 102 writes the control data 106 in the ring buffer area 113, the write pointer advances. When the data storage unit 104 reads the control data 106 written in the ring buffer area 113, the read pointer advances. The read pointer can read control data up to the position of the write pointer.
  • the ring buffer area 113 includes the time stamp issued from the common timer 111 and the absolute time data issued from the absolute time timer 110 in the order of time series obtained from the control device 10.
  • the time stamp from the common timer 111 is recorded as time stamp (1), time stamp (2),..., Time stamp (m), time stamp (n).
  • the numbers in parentheses indicate the order in which each time stamp is stored in the ring buffer area 113.
  • time stamp (1) is the oldest time in time series
  • time stamp (n) is the newest time in time series.
  • the absolute time data issued from the absolute time timer 110 includes absolute time data (1), absolute time data (2),..., Absolute time data (m), and absolute time data (n). As recorded.
  • the numbers in parentheses indicate the order in which each absolute time data is stored in the ring buffer area 113.
  • the absolute time data (1) is the oldest time in the time series order
  • the absolute time data (n) is the newest time in the time series order.
  • control data (n) a time stamp (n) of the control data, and absolute time data (n) are stored in this order.
  • the logging parameter 114 has a logging condition that specifies control data to be logged, a cycle for performing logging, and the like.
  • the logging parameter 114 is set from setting data set from the personal computer 40.
  • the data acquisition unit 102 adds a time stamp and absolute time data to the control data 106 collected from the control device 10 and stored in the shared memory 105, and writes it in the internal memory 103.
  • the data acquisition unit 102 operates by receiving 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. Then, the data acquisition unit 102 adds a time stamp and absolute time data to each of the read control data 106 and writes it in the ring buffer area 113 of the internal memory 103.
  • the data acquisition unit 102 acquires the time stamp from the common timer 111 and the absolute time data from the absolute time timer 110 when writing the control data 106 to the ring buffer area 113 of the internal memory 103.
  • the data acquisition unit 102 adds the acquired time stamp and absolute time data to the control data 106, and writes the control data, time stamp, and absolute time data in the ring buffer area 113 as one unit.
  • the data storage unit 104 reads out and stores the control data collectively stored in the internal memory 103 and the time stamp and absolute time data corresponding to the control data.
  • the data storage unit 104 stores the combined control data created by the combined file creation unit 107, the time stamp corresponding to the control data, and absolute time data. That is, the data storage unit 104 has a function as a combined data storage unit.
  • the data storage unit 104 writes these control data in the storage medium 50 together with a time stamp.
  • the data storage unit 104 reads control data from the ring buffer area 113 in the internal memory 103 according to the read pointer according to the logging execution condition specified in the logging parameter 114, and writes the read control data to the storage medium 50.
  • the data storage unit 104 writes the combined control data rearranged and combined by the combined file creation unit 107 in the storage medium 50 together with the time stamp.
  • the data storage unit 104 stores the control data of the internal memory 103 and the time stamp in the storage medium 50, but does not store the absolute time data in the storage medium 50.
  • the data storage unit 104 can process and write the control data when writing the control data to the storage medium 50.
  • processing of the control data for example, processing by four arithmetic operations, processing of converting binary data into character string type data, and the like can be performed.
  • the combined file creation unit 107 rearranges and combines the control data acquired from the plurality of control devices 10, creates combined control data, and outputs the combined control data as a file to the data storage unit 104.
  • the combined file creation unit 107 includes a control data alignment unit 108 and a control data interpolation unit 109.
  • the control data alignment unit 108 reads the control data collected from the plurality of control devices 10 and collected in the internal memory 103, and combines the read control data according to the setting specified by the logging parameter 114.
  • the combined control data rearranged and combined by the combined file creation unit 107 is stored in the data storage unit 104 and written from the data storage unit 104 to the storage medium 50.
  • the rearrangement and combination of control data can be specified in a setting unit for collecting control data from each control device 10. That is, when the collected control data of each control device 10 is rearranged, a reference interval can be specified in the logging parameter 114. As this interval, the data collection interval of the control device 10 can be designated. Then, in accordance with the data collection interval of a certain control device, the control data acquired from the control device 10 is rearranged in order of time series and combined. The rearrangement of the control data is performed based on the value of the absolute time data.
  • control data interpolation unit 109 sets the control data according to the setting specified by the logging parameter 114. Perform interpolation.
  • the storage medium 50 is an external storage means attached to the logging device 100, and is, for example, a compact flash (registered trademark) card.
  • the storage medium 50 stores the control data of the internal memory 103 and the time stamp together, but does not store absolute time data.
  • the communication unit 115 communicates with an external device.
  • the CPU 101 is a control unit that controls the overall operation of each unit in the logging device 100.
  • FIG. 2 is a flowchart for explaining processing of writing clock data to the common timer 111 of the logging device 100 according to this embodiment.
  • initialization is performed.
  • the initialization of the common timer 111 is performed by the time synchronization request unit 112 writing and reflecting the time of the time information acquired from the time distribution unit 31 of the server personal computer 30 in the common timer 111.
  • the time of the common timer 111 is synchronized with the time of the server personal computer 30, and the common timer 111 is initialized.
  • the time synchronization request unit 112 acquires time information from the control device 10 via the bus 20 when the time synchronization of the common timer 111 due to acquisition of time information from the time distribution unit 31 of the server personal computer 30 fails. Then, the time of the time information of the control device 10 is written in the common timer 111 and reflected. Thereby, the time of the common timer 111 is synchronized with the time of the control device 10, and the common timer 111 is initialized.
  • the time synchronization request unit 112 After initialization of the common timer 111, the time synchronization request unit 112 operates in a predetermined operation cycle according to the setting specified by the logging parameter 114, and performs the operation of the flowchart of FIG.
  • the time synchronization request unit 112 acquires time from the common timer 111 when the operation is started (step S110). Next, the time synchronization request unit 112 determines whether or not the acquired time satisfies a condition for performing time synchronization specified in the logging parameter 114, that is, whether it is time to perform time synchronization (step). S120). When the acquired time is not the time for performing time synchronization (No at Step S120), the time synchronization request unit 112 returns to Step S110 and continues the process.
  • the time synchronization request unit 112 starts time synchronization processing.
  • the time synchronization request unit 112 issues a time synchronization request and transmits it to the server personal computer 30 (step S130).
  • the time synchronization request unit 112 determines whether or not the time has been acquired from the time distribution unit 31 of the server personal computer 30 (step S140).
  • the time synchronization request unit 112 When the time can be acquired from the time distribution unit 31 of the server personal computer 30 (step S140, Yes).
  • the time synchronization request unit 112 writes the time of the acquired time information in the common timer 111 and updates the time of the common timer 111 (step S150). Then, the time synchronization request unit 112 ends the series of synchronization processes of the common timer 111.
  • the time synchronization request unit 112 determines whether or not the time synchronization request time-out period has elapsed (Step S140). S160). If the time synchronization request time-out period has elapsed (step S160, Yes), the time synchronization request unit 112 records time synchronization failure information in the time synchronization request unit 112, and performs a series of common timer 111 synchronization processes. finish.
  • step S160 when the timeout time of the time synchronization request has not elapsed (step S160, NO), the time synchronization request unit 112 returns to step S130 and reissues the time synchronization request at the timing specified in the logging parameter 114. And send.
  • FIG. 3 is a flowchart showing a data acquisition processing procedure of the data acquisition unit 102 in the logging device 100.
  • control data transfer unit 16 stores the control data storage unit 15 in the shared memory 105 provided in the logging device 100 at a predetermined constant cycle or an operation cycle of the control program.
  • the control data 14 value is transferred, and a control data write notification is transmitted to the data acquisition unit 102 of the logging device 100.
  • the data acquisition unit 102 receives the control data write notification transmitted from the control data transfer unit 16 of the control device 10 and starts the storage process of the control data.
  • the data acquisition unit 102 first determines whether or not there is a control data write notification, that is, whether or not a control data write notification has been received from the control data transfer unit 16 of the control device 10 (step S210).
  • Step S210 is repeatedly performed.
  • step S210 when there is a notification of writing of the control data 14, that is, when a notification of writing of the control data 14 is received from the control data transfer unit 16 of the control device 10 (Yes in step S210), the data acquisition unit 102 It is determined whether or not there is free space in the ring buffer area 113 of the internal memory 103 (step S220). If there is no free space in the ring buffer area 113 (No in step S220), the data acquisition unit 102 returns error information to the control device 10 and ends the series of control data storage processing.
  • the data acquisition unit 102 copies the control data 106 of the shared memory 105 to the ring buffer area 113 (step S230).
  • 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 it as a time stamp to the control data 106 previously copied to the ring buffer area 113 (step S240).
  • the data acquisition unit 102 copies the value of the absolute time timer 110, that is, the time to the control data 106 to which the time is copied to the ring buffer area 113, and is first copied to the ring buffer area 113 and added with the value of the common timer 111. It is added as time data (step S250).
  • control data (1), the time stamp (1) of the control data (1), the absolute time data (1), the control data (2), and the time stamp of the control data are stored in the order of time series in the order of 2) and absolute time data (2). Then, when the data copy is completed, the data acquisition unit 102 advances the write pointer in the ring buffer area 113 and ends the series of control data storage processing.
  • the data storage unit 104 reads the data stored in the ring buffer area 113 in order from the read pointer until it reaches the position of the write pointer, and outputs it to a file. At this time, the data storage unit 104 outputs control data and a time stamp, but does not output absolute time data.
  • FIG. 4 is a diagram illustrating a configuration example of collecting control data from a plurality of control devices in the logging system according to the embodiment.
  • FIG. 5 is a flowchart for explaining processing in which the logging device 100 rearranges and combines control data in the logging system according to the embodiment.
  • control data A collected from the control device A 10A and the control data B collected from the control device B 10B are stored in the ring buffer area 103 of the internal memory 103 of the logging device 100 with a time stamp and absolute time data added.
  • “A” is added to the end of the code of the element related to the control data of the control device A 10 ⁇ / b> A
  • “B” is added to the code of the element related to the control data of the control device B 10 ⁇ / b> B.
  • the flow of control data is shown with attention, and illustration of a part of the configuration is omitted.
  • the control data aligning unit 108 reads out and obtains the rearrangement reference setting in which the control data rearrangement reference is set from the logging parameter 114 (step S310).
  • the rearrangement reference setting here is set information using the collection time interval of the control data A as a reference for rearrangement.
  • FIG. 6 is a diagram showing control data in the logging device according to the present embodiment.
  • FIG. 6A shows the control data A acquired from the control device A and stored in the ring buffer area A113A, and the time stamp and absolute time data added to the control data A.
  • FIG. 6B shows the control data B acquired from the control device B and stored in the ring buffer area B113B, and the time stamp and absolute time data added to the control data B.
  • FIG. 6C shows control data in which the control data A and the control data B are rearranged based on the control data A as a reference.
  • the control data A (1) to control data A (n) shown in FIG. Stored with time data.
  • the numbers in parentheses indicate the order in which each control data A is stored in the ring buffer area A113A.
  • the control data B (1) to control data B (n) shown in FIG. 6B are respectively stored in the ring buffer area B113B as the control data B acquired from the control device B. And stored with absolute time data.
  • the numbers in parentheses indicate the order in which each control data B is stored in the ring buffer area B113B.
  • control data A (n) As the control data A (n), as shown in FIG. 6A, the data as the control data A (1): 1, the data as the control data A (2): 2,... Data as 8): 8 is stored.
  • the synchronization process with the server personal computer 30 of the common timer 111 is performed again after 14:10:03 in the absolute time data has elapsed. Therefore, the time stamps of the control data A (3): 3 and the control data A (4): 4 are reversed, and the time between the control data A (3): 3 and the control data A (5): 5 is reversed.
  • the stamp time is the same.
  • the time of the absolute time timer 110 is not corrected after the time synchronization with the common timer 111 is performed immediately after the logging device 100 is activated. For this reason, the absolute time data of the absolute time timer 110 maintains 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. Further, the time interval for collecting the control data A is 1 second.
  • control data B (n) the data: 100 as the control data B (1), the data: 150 as the control data B (2), the control data B (3 ): 200 is stored.
  • the control data B as shown in FIG. 6B, there is no control data B in which the time of the time stamp is reversed or the same, but the data collection time interval is different from the control data A.
  • the cycle is 3 seconds.
  • control data sorting unit 108 performs the processing corresponding to the following steps S350 to S370 by the number of control data rearrangement target settings, that is, the number of control devices 10 to which the control data is to be rearranged.
  • Step S330a start, step S330b: end.
  • steps S330a to S330b the processes corresponding to the following steps S350 to S370 are repeated for the number of control data acquired from one control apparatus 10 (step S340a: start, step S340b: End).
  • step S370 information “no data” is recorded in the control data column in the control data alignment unit 108 (step S370).
  • the time interval for collecting the control data A is used as a reference, that is, the absolute time data that matches the time interval for collecting the control data A is used as a reference, the same absolute time as the absolute time data of the control data A is used.
  • information “no data” is recorded in the control data B column of the table as shown in FIG.
  • step S350 to step S370 is repeated as many times as the number of control data acquired from one control device 10 (step S340a: start, step S340b: end), and the control data rearrangement is performed for the number of target settings. That is, the control data is repeated by the number of control devices 10 to be rearranged (step S330a: start, step S330b: end). Then, the process ends when the end condition is satisfied.
  • control data that is the source of the file output to the data storage unit 104 is as shown in FIG.
  • the control data is aligned based on the absolute time data of the absolute time timer 110, thereby controlling the
  • the control data is arranged in the time series order in which the control data is acquired from the apparatus 10, that is, in the time series order in which the control data is generated in the control apparatus 10.
  • the control data rearranged and combined in this way is stored as a file in the data storage unit 104 and output to the storage medium 50 as a file.
  • the value of the absolute time timer is not output. Since the absolute time timer value is not output, the file capacity can be prevented from increasing, and an increase in capacity burden on the storage medium 50 can be prevented.
  • the control data interpolation unit 109 displays the absolute time data. Interpolate the deficient control data corresponding to. The interpolation of the control data is performed only when there are two or more control data of the target setting. When two or more control data items to be set do not exist, the control data interpolation unit 109 outputs a fixed value set in advance in the logging parameter 114. Further, when a fixed value is not set in advance in the logging parameter 114, the control data interpolation unit 109 outputs 0.
  • FIG. 8 shows the data when the finally completed connection control data combined and interpolated is stored in the data storage unit 104 and then output to the storage medium 50 as a file.
  • FIG. 7 is a diagram showing control data when the deficient data is subjected to equivalence interpolation in the logging device 100 according to the present embodiment.
  • FIG. 8 is a diagram illustrating file data output to the storage medium 50 when the deficient data is subjected to equivalence interpolation in the logging device 100 according to the present embodiment.
  • FIG. 9 is a diagram showing control data when the control data for the shortage is linearly interpolated in the logging device 100 according to the present embodiment.
  • FIG. 10 is a diagram illustrating file data output to the storage medium 50 when the control data for the shortage is linearly interpolated in the logging device 100 according to the present embodiment.
  • the data when the file is output to the storage medium 50 is data obtained by omitting the absolute time data from the data shown in FIG.
  • control data B when gathered at each collection interval of the control device A, when the control data rearranged and gathered into a visually easy-to-view format such as a trend graph, the data Analysis becomes easy.
  • the rearranged control data is converted into a visually easy-to-view format such as a trend graph.
  • Data analysis becomes easy. Since the collected control data can be rearranged and collected at the control data collection interval of the designated desired control device 10, analysis data based on the designated control device 10 can be acquired.
  • the functions executed in the control device 10, the server personal computer 30, the personal computer 40, and the logging device 100 in the logging system according to the above-described embodiment are configured as a program storing the processing procedure of the function, As shown in FIG. 11, this program can be realized by executing it on a computer device having a CPU, a storage device and the like.
  • FIG. 11 is a block diagram schematically showing an example of the configuration of the computer device 200 that realizes the functions of the control device 10, the server personal computer 30, the personal computer 40, and the logging device 100 described above.
  • the computer device 200 includes a display device 201 such as an LCD (Liquid Crystal Display), an input device 202 such as a keyboard, a CPU 203 that performs an operation, a nonvolatile memory 204 such as a ROM (Read Only Memory), Volatile memory 205 such as RAM (Random Access Memory), display memory 206 that stores a display screen displayed on the display device 201, external memory interface 207 that is an interface with a removable external memory such as a flash memory, and external devices
  • the communication interface 208 and the like for communicating with each other are connected via an internal bus 209.
  • a program describing the processing procedure of the simulation method stored in the nonvolatile memory 204 is loaded into the volatile memory 205 and executed by the CPU 203.
  • This program is recorded on a computer-readable recording medium such as a hard disk, CD (Compact Disk), ROM (Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk or Digital Video Disk).
  • a computer-readable recording medium such as a hard disk, CD (Compact Disk), ROM (Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk or Digital Video Disk).
  • this program can be distributed via a computer network communication line such as the Internet.
  • the program is stored on the nonvolatile memory 204 from the information processing terminal connected via the communication interface 208.
  • the logging device 100 includes the common timer 111 whose time is corrected in synchronization with the standard time of the external server personal computer 30 at a predetermined timing, and the absolute time timer. 110.
  • the absolute time timer 110 does not correct the time during the operation of the logging device 100 after the time is corrected in synchronization with the time of the common timer 111 immediately after the logging device 100 is powered on.
  • the time stamp from the common timer 111 and the absolute time data from the absolute time timer 110 are added to the control data and stored in the internal memory 103. . Then, the control data stored in the internal memory 103 is rearranged in the chronological order acquired from the control device 10 based on the value of the absolute time timer 110.
  • the collected data of the control device 10 can be rearranged in order of the collected time, and the operating status of each control device 10 can be easily set.
  • the data can be collected in chronological order.
  • the time of the absolute time timer that is not affected by the time synchronization. Is used as a sorting criterion. Thereby, it is possible to determine the time series order in which the control data is acquired from the control device 10 for the collected control data, and it is possible to determine the time series order in which the control data 14 is generated.
  • the time stamp of the common timer 111 which is the result of time synchronization, is output, so what data is collected at what time and the clock of the external device including the control device 10 You can check against
  • the reference interval can be specified in the logging parameter 114 when the collected control data of each control device 10 is rearranged.
  • the data collection interval of the control device 10 can be designated.
  • the control data that does not exist can be interpolated in the format specified in the logging parameter 114.
  • an interpolation format approximate value interpolation such as linear interpolation and equivalence interpolation can be used.
  • control data generated in the control device 10 can be easily and reliably rearranged in the order of the generated time series.
  • the logging system according to the present invention is useful for rearranging the control data generated by the control device easily and reliably in the order of the time series generated.
  • control device 11 CPU, 12 control execution unit, 13 control program, 14 control data, 15 control data storage unit, 16 control data transfer unit, 17 communication unit, 20 bus, 30 server personal computer, 31 time distribution unit, 32 Communication unit, 40 personal computer, 41 logging setting tool, 42 communication unit, 50 storage media, 60 cable, 100 logging device, 101 CPU, 102 data acquisition unit, 103 internal memory, 104 data storage unit, 105 shared memory, 106 control Data, 107 Combined file creation unit, 108 Control data alignment unit, 109 Control data interpolation unit, 110 Absolute time timer, 111 Common timer, 112 Time synchronization request unit, 113 Ring buffer area, 114 b Ing parameters, 115 communication unit, 200 computer system, 201 display unit, 202 input unit, 203 CPU, 204 non-volatile memory, 205 a volatile memory, 206 display memory, 207 an external memory interface, 208 a communication interface, 209 an internal bus.

Abstract

A logging device is provided with: a common timer (111) of which the time is corrected in synchronism with an external standard time; an absolute time timer (110) for which no time correction is made after the time thereof is corrected in synchronism with the time of the common timer (111) at the time of start-up of the logging device (100); an internal memory (103) that stores control data acquired from a plurality of control devices (10) for each of the control devices (10); a data acquisition unit (102) that acquires the control data from the plurality of control devices (10) at respectively predetermined collection time intervals, and stores the control data in the internal memory (103) with the time of the common timer (111) and the time of the absolute time timer (110) at the time of data acquisition attached to each item of the control data; and a control data arranging unit (108) that rearranges and combines the control data of the plurality of control devices (10) in chronological order of acquisition of the control data from the control devices (10), wherein the control data arranging unit (108) rearranges and combines the control data of the plurality of control devices (10) in chronological order with reference to the time of the absolute time timer (110) as attached to the control data stored in the internal memory (103).

Description

ロギングシステム、ロギング装置、データロギング方法Logging system, logging device, and data logging method
 本発明は、ロギングシステム、ロギング装置、データロギング方法に関する。 The present invention relates to a logging system, a logging device, and a data logging method.
 ロギングシステムでは、ロギング装置により制御装置から制御データが収集される。収集された制御データであるロギングデータは、タイムスタンプが付加されてファイルに格納される。複数の制御装置がある場合には、ロギング装置が各制御装置からデータを収集する間隔を、制御装置毎にそれぞれ個別に指定することができる。そして、指定した一定間隔ごとにロギング装置が各制御装置からデータを収集し、収集したロギングデータをファイルに出力する(たとえば、特許文献1参照)。 In the logging system, control data is collected from the control device by the logging device. The logging data, which is the collected control data, is stored in a file with a time stamp added. When there are a plurality of control devices, the interval at which the logging device collects data from each control device can be individually designated for each control device. Then, the logging device collects data from each control device at specified intervals, and outputs the collected logging data to a file (see, for example, Patent Document 1).
 この際、ロギングシステム全体の時計を統一するために、ロギングデータに付加されるタイムスタンプは、ロギング装置に備えられている共通タイマを基準としている。共通タイマは、各制御装置からロギングデータを収集した時刻を正しく把握するために、外部システムの標準時刻に同期をし、時計を補正している。また、ロギング装置の時計素子と外部システムの時計素子とが異なっているため、共通タイマの時計の補正は、時刻のずれを防ぐために定期的に実施する必要がある。 At this time, in order to unify the clock of the entire logging system, the time stamp added to the logging data is based on the common timer provided in the logging device. The common timer synchronizes with the standard time of the external system and corrects the clock in order to correctly grasp the time when the logging data is collected from each control device. In addition, since the clock element of the logging device is different from the clock element of the external system, the correction of the clock of the common timer needs to be performed periodically to prevent time lag.
 このような処理を実施することにより、制御装置から収集したデータをまとめ、タイムスタンプを比較することで、時系列ごとの生産情報を表示することができる。 By performing such processing, it is possible to display production information for each time series by collecting data collected from the control device and comparing time stamps.
特開2012-159942号公報JP 2012-159942 A 国際公開第01/020456号International Publication No. 01/020456
 しかしながら、共通タイマを外部システムに問い合わせて時計を補正した際に、共通タイマの値が外部システムの標準時刻より進んでいる場合には、共通タイマの時計の時刻が巻き戻ることがある。共通タイマの時計の時刻が巻き戻った場合には、ロギングデータに付加されるタイムスタンプが、既に発行されたタイムスタンプよりも古い時刻または同じ時刻になることがある。 However, when the common timer value is advanced from the standard time of the external system when the clock is corrected by inquiring the common timer to the external system, the clock time of the common timer may rewind. When the clock time of the common timer is rewound, the time stamp added to the logging data may be older than or the same time as the time stamp already issued.
 各制御装置の稼働状況をまとめて表示するためには、タイムスタンプを基準にロギングデータを並び替える必要がある。しかし、時刻同期による共通タイマの時計の補正が実施された場合、各制御装置が収集したロギングデータのタイムスタンプが時系列順になっている保証がないため、稼動した時系列順にロギングデータを並び替えることができない、という問題があった。 In order to display the operating status of each control device collectively, it is necessary to rearrange the logging data based on the time stamp. However, when the clock of the common timer is corrected by time synchronization, there is no guarantee that the time stamps of the logging data collected by each control device are in chronological order. There was a problem that it was not possible.
 また、ロギングデータの並び替えの際には、基準となる間隔を指定することにより、間隔ごとのタイムスタンプにより各装置のデータを横並びにしてまとめることができる。しかし、対象とする複数の制御装置へのデータ収集の周期を全て同一にしないと、ロギングデータが存在しないタイムスタンプが頻発し、出力データが「NULL」または「データなし」を示す情報となってしまう。このため、まとめた収集データをトレンドグラフなどで可視化する際に、データなし部分にはロギングデータが表示されないことがあった。 Also, when sorting the logging data, by specifying a reference interval, the data of each device can be collected side by side with a time stamp for each interval. However, if all the data collection cycles for the target control devices are not the same, time stamps with no logging data frequently occur, and the output data becomes information indicating “NULL” or “no data”. End up. For this reason, when the collected data is visualized with a trend graph or the like, logging data may not be displayed in a portion without data.
 なお、稼動した時系列データを保証する手段として、動作トレース情報に時刻を付加するたびにカウントアップするカウンタ値をタイムスタンプと合わせて付加する手段がある(たとえば、特許文献2参照)。しかし、この場合は、複数の制御装置のうち任意の制御装置のみのデータをまとめて表示したい場合に、カウンタ値の前後を知るためには、全ての制御装置の情報を調べなくてはならない。このため、制御装置の規模が大きくなるほど手間とコストがかかる。 In addition, as means for guaranteeing operating time-series data, there is means for adding a counter value that counts up every time a time is added to operation trace information together with a time stamp (for example, see Patent Document 2). However, in this case, when it is desired to display the data of only an arbitrary control device among a plurality of control devices at once, in order to know before and after the counter value, information on all the control devices must be examined. For this reason, as the scale of the control device increases, more time and effort are required.
 本発明は、上記に鑑みてなされたものであって、ロギング装置により対象装置からデータが収集されるロギングシステムにおいて、対象装置のデータを容易に且つ確実に、時系列順に並び替えることが可能なロギングシステム、ロギング装置、データロギング方法を得ることを目的とする。 The present invention has been made in view of the above, and in a logging system in which data is collected from a target device by a logging device, the data of the target device can be easily and reliably rearranged in chronological order. An object is to obtain a logging system, a logging device, and a data logging method.
 上述した課題を解決し、目的を達成するために、本発明にかかるロギングシステムは、データ収集対象である複数の対象装置と、前記対象装置内のデータを前記複数の対象装置から収集して記録するロギング装置とを備えて構成されるロギングシステムであって、前記ロギング装置は、既定のタイミングで外部の標準時刻に同期して時刻が補正される第1時計と、前記ロギング装置の起動時に前記第1時計の時刻に同期して時刻が補正された後は前記ロギング装置の稼働中において時刻の補正が行われない第2時計と、前記複数の対象装置から取得した前記データを前記対象装置毎に格納するデータ記憶部と、前記複数の対象装置からそれぞれ既定の収集時間間隔で前記データを取得し、前記データ毎に前記対象装置から前記データを取得した際の前記第1時計の時刻と前記第2時計の時刻とを付加して前記データ記憶部に格納するデータ取得部と、前記記憶部に格納された前記複数の対象装置の前記データを、前記データを前記対象装置から取得した時系列順に並び替えて結合させるデータ整列部と、前記結合されたデータを格納する結合データ記憶部と、を備え、前記データ整列部は、前記記憶部に格納された前記データに付加された前記第2時計の時刻を基準にして前記複数の対象装置の前記データを前記時系列順に並び替えて結合させること、を特徴とする。 In order to solve the above-described problems and achieve the object, a logging system according to the present invention collects and records a plurality of target devices as data collection targets and data in the target devices from the plurality of target devices. A logging system configured to include a first clock whose time is corrected in synchronization with an external standard time at a predetermined timing, and when the logging device is activated, the logging system After the time is corrected in synchronization with the time of the first clock, a second clock that is not corrected for time during operation of the logging device, and the data acquired from the plurality of target devices for each target device The data storage unit for storing data and the plurality of target devices respectively acquire the data at predetermined collection time intervals, and acquire the data from the target device for each data A data acquisition unit that adds the time of the first clock and the time of the second clock to be stored in the data storage unit, and the data of the plurality of target devices stored in the storage unit, A data alignment unit that rearranges and combines the data in order of time series acquired from the target device; and a combined data storage unit that stores the combined data, and the data alignment unit stores the data in the storage unit The data of the plurality of target devices is rearranged in order of the time series based on the time of the second clock added to the data that has been added, and combined.
 本発明によれば、ロギング装置により対象装置からデータが収集されるロギングシステムにおいて、対象装置のデータを容易に且つ確実に、時系列順に並び替えることができる、という効果を奏する。 According to the present invention, in the logging system in which data is collected from the target device by the logging device, there is an effect that the data of the target device can be easily and reliably rearranged in chronological order.
図1は、本発明の実施の形態にかかるロギングシステムの構成を示す図である。FIG. 1 is a diagram showing a configuration of a logging system according to an embodiment of the present invention. 図2は、本発明の実施の形態にかかるロギング装置の共通タイマに時計データを書き込む処理を説明するフローチャートである。FIG. 2 is a flowchart for explaining processing for writing clock data to the common timer of the logging device according to the embodiment of the present invention. 図3は、本発明の実施の形態にかかるロギング装置におけるデータ取得部のデータ取得処理手順を示すフローチャートである。FIG. 3 is a flowchart showing a data acquisition processing procedure of the data acquisition unit in the logging device according to the embodiment of the present invention. 図4は、本発明の実施の形態にかかるロギングシステムにおいて、複数の制御装置から制御データを収集する構成例を示す図である。FIG. 4 is a diagram illustrating a configuration example for collecting control data from a plurality of control devices in the logging system according to the embodiment of the present invention. 図5は、本発明の実施の形態にかかるロギングシステムにおいて、ロギング装置が制御データを並び替えて結合する処理を説明するフローチャートである。FIG. 5 is a flowchart for explaining processing in which the logging device rearranges and combines the control data in the logging system according to the embodiment of the present invention. 図6は、本発明の実施の形態にかかるロギング装置内における制御データを示す図である。FIG. 6 is a diagram showing control data in the logging device according to the embodiment of the present invention. 図7は、本発明の実施の形態にかかるロギング装置において、不足分のデータを同値補間した場合の制御データを示す図である。FIG. 7 is a diagram illustrating control data when equivalent data interpolation is performed on deficient data in the logging device according to the embodiment of the present invention. 図8は、本発明の実施の形態にかかるロギング装置において、不足分のデータを同値補間した場合に出力したファイルを示す図である。FIG. 8 is a diagram illustrating a file that is output when the deficient data is subjected to the same value interpolation in the logging device according to the embodiment of the present invention. 図9は、本発明の実施の形態にかかるロギング装置において、不足分のデータを線形補間した場合の制御データを示す図である。FIG. 9 is a diagram showing control data when the deficient data is linearly interpolated in the logging device according to the embodiment of the present invention. 図10は、本発明の実施の形態にかかるロギング装置において、不足分のデータを線形補間した場合に記憶メディアに出力したファイルのデータを示す図である。FIG. 10 is a diagram illustrating file data output to the storage medium when the deficient data is linearly interpolated in the logging device according to the embodiment of the present invention. 図11は、制御装置、サーバパーソナルコンピュータ、パーソナルコンピュータおよびロギング装置としての機能を実現するコンピュータ装置の構成の一例を模式的に示すブロック図である。FIG. 11 is a block diagram schematically illustrating an example of a configuration of a computer device that realizes functions as a control device, a server personal computer, a personal computer, and a logging device.
 以下に、本発明にかかるロギングシステム、ロギング装置、データロギング方法の実施の形態を図面に基づいて詳細に説明する。なお、本発明は以下の記述に限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。 Hereinafter, embodiments of a logging system, a logging apparatus, and a data logging method according to the present invention will be described in detail with reference to the drawings. In addition, this invention is not limited to the following description, In the range which does not deviate from the summary of this invention, it can change suitably.
実施の形態1.
 図1は、本発明の実施の形態1にかかるロギングシステムの構成を示す図である。図1に示すように本実施の形態にかかるロギングシステムは、被制御装置(図示せず)に対して既定の制御を実行するための演算を行う制御装置10と、取得した制御データをロギングするロギング装置100と、ロギング装置100に装着された記憶メディア50と、ロギングパラメータを設定するパーソナルコンピュータ40と、時刻同期のためのサーバパーソナルコンピュータ30とを備えて構成される。制御装置10とロギング装置100とは、バス20を介して互いに接続されている。パーソナルコンピュータ40およびサーバパーソナルコンピュータ30は、Ethernet(登録商標)などのケーブル60を介してロギング装置100に接続されている。また、サーバパーソナルコンピュータ30は、ケーブル60を介して制御装置10と接続されている。なお、図1中に示される矢印は、ロギング対象のデータである制御装置のデータの動きを示している。
Embodiment 1 FIG.
FIG. 1 is a diagram showing a configuration of a logging system according to the first exemplary embodiment of the present invention. As shown in FIG. 1, the logging system according to the present embodiment logs a control device 10 that performs a calculation for executing a predetermined control on a controlled device (not shown) and the acquired control data. The system includes a logging device 100, a storage medium 50 mounted on the logging device 100, a personal computer 40 for setting logging parameters, and a server personal computer 30 for time synchronization. The control device 10 and the logging device 100 are connected to each other via the bus 20. The personal computer 40 and the server personal computer 30 are connected to the logging device 100 via a cable 60 such as Ethernet (registered trademark). The server personal computer 30 is connected to the control device 10 via a cable 60. In addition, the arrow shown in FIG. 1 has shown the motion of the data of the control apparatus which is data for logging.
 制御装置10は、制御実行部12と、制御データ格納部15と、制御データ転送部16と、通信部17と、これらを動作させるCPU11とを備える。制御実行部12は、被制御装置に対して制御装置10が制御を実行するための制御プログラム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 them. The control execution unit 12 includes a control program 13 for the control device 10 to execute control on the controlled device, performs an operation according to the control program 13, operates the control device 10, and controls the controlled device. Do. The control data storage unit 15 stores and holds the control data 14 generated when the control device 10 executes control on the controlled device.
 制御データ転送部16は、既定の一定周期または制御プログラムの動作周期で、ロギング装置100が備える共有メモリ105に制御データ格納部15の制御データ14の値を転送し、制御データ14を共有メモリ105に格納したことをロギング装置100に通知する。すなわち、ロギング装置100は、既定の一定の間隔または制御プログラムの動作間隔で制御データ14を取得する。制御データ転送部16は、制御データ14が発生した時系列順に該制御データ14を転送する。通信部17は、外部機器との間で通信を行う。 The control data transfer unit 16 transfers the value of the control data 14 in the control data storage unit 15 to the shared memory 105 provided in the logging device 100 at a predetermined constant cycle or the operation cycle of the control program, and transfers the control data 14 to the shared memory 105. To the logging device 100. That is, the logging device 100 acquires the control data 14 at a predetermined fixed interval or an operation interval of the control program. The control data transfer unit 16 transfers the control data 14 in chronological order in which the control data 14 is generated. The communication unit 17 performs communication with an external device.
 パーソナルコンピュータ40は、ソフトウェアにより実現されるロギング設定ツール41と、通信部42とを有する。ロギング設定ツール41は、ロギング用の設定データを作成し、該設定データをロギング装置100に設定する機能を有する。設定データは、ロギング装置100が制御装置10から収集するデータの数および種類、データを収集する周期、ロギング実行条件、データを結合する設定の選択、データ補間方法、時刻同期タイミングなどの設定内容に関するデータである。したがって、パーソナルコンピュータ40は、ロギング用設定データ作成・設定装置として機能する。通信部42は、外部機器との間で通信を行う。 The personal computer 40 includes a logging setting tool 41 and a communication unit 42 implemented by software. The logging setting tool 41 has a function of creating setting data for logging and setting the setting data in the logging device 100. The setting data relates to the setting contents such as the number and type of data collected by the logging device 100 from the control device 10, the data collection cycle, the logging execution condition, the setting for combining the data, the data interpolation method, and the time synchronization timing. It is data. Therefore, the personal computer 40 functions as a logging setting data creation / setting device. The communication unit 42 communicates with an external device.
 パーソナルコンピュータ40を構成するコンピュータ装置の詳細な構成は後述する。なお、パーソナルコンピュータ40は、上記機能を有する専用装置により構成されてもよい。また、パーソナルコンピュータ40は、作成された設定データのロギング装置100への設定時に必要であり、ロギング装置100が稼動中には、ロギング装置100との接続は切断されてもよい。 The detailed configuration of the computer device constituting the personal computer 40 will be described later. The personal computer 40 may be configured by a dedicated device having the above functions. The personal computer 40 is necessary for setting the created setting data in the logging device 100, and the connection with the logging device 100 may be disconnected while the logging device 100 is in operation.
 サーバパーソナルコンピュータ30は、SNTPサーバとして動作し、サーバパーソナルコンピュータ30の時刻をSNTPクライアントに配信する時刻配信部31と、通信部32とを備える。時刻配信部31は、SNTPクライアントからの時刻同期要求を受けた場合に、時刻情報を配信する。ここでのSNTPクライアントは、ロギング装置100および制御装置10である。通信部32は、外部機器との間で通信を行う。パーソナルコンピュータ40を構成するコンピュータ装置の詳細な構成は後述する。なお、サーバパーソナルコンピュータ30は、SNTP機能を有する専用装置により構成されてもよい。 The server personal computer 30 includes a time distribution unit 31 that operates as an SNTP server and distributes the time of the server personal computer 30 to the SNTP client, and a communication unit 32. When receiving a time synchronization request from the SNTP client, the time distribution unit 31 distributes time information. The SNTP client here is the logging 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 personal computer 40 will be described later. The server personal computer 30 may be configured by a dedicated device having an SNTP function.
 ロギング装置100は、CPU101と、データ取得部102と、内部メモリ103と、データ記憶部104と、共有メモリ105と、結合ファイル作成部107と、絶対時刻タイマ110と、共通タイマ111と、時刻同期要求部112と、通信部115と、を備えて構成される。 The logging 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 timer 110, a common timer 111, and time synchronization. A request unit 112 and a communication unit 115 are provided.
 共通タイマ111は、ロギングシステム全体の時計を統一するために備えられる時計である。共通タイマ111は、サーバパーソナルコンピュータ30の時刻に同期する。制御データに付加されるタイムスタンプは、共通タイマ111の値を基準としている。 The common timer 111 is a clock provided to unify the clock of the entire logging system. The common timer 111 is synchronized with the time of the server personal computer 30. The time stamp added to the control data is based on the value of the common timer 111.
 絶対時刻タイマ110は、ロギング装置100の電源起動後に、1回だけ共通タイマ111と時刻を同期し、時計を補正する。その後、絶対時刻タイマ110は、共通タイマ111におけるサーバパーソナルコンピュータ30との時計補正、すなわち共通タイマ111がサーバパーソナルコンピュータ30と時刻の同期を実行する際に該同期の影響を受けず、一定間隔で値を更新し続ける。すなわち、絶対時刻タイマ110は、ロギング装置100の電源起動直後に共通タイマ111と時刻を同期した後はロギング装置100の電源をオフにするまで補正されない絶対時刻を更新し続けて動作する時計である。絶対時刻タイマ110は、たとえば共通タイマ111と同じ時計素子を備える。制御データに付加される絶対時刻データは、絶対時刻タイマ111の値を基準としている。 The absolute time timer 110 synchronizes the time with the common timer 111 and corrects the clock once after the logging device 100 is powered on. After that, the absolute time timer 110 is not affected by the synchronization when the common timer 111 performs clock correction with the server personal computer 30, that is, when the common timer 111 synchronizes the time with the server personal computer 30. Continue to update the value. In other words, the absolute time timer 110 is a clock that continues to update the absolute time that is not corrected until the logging device 100 is turned off after the time is synchronized with the common timer 111 immediately after the logging device 100 is powered on. . The absolute time timer 110 includes the same timepiece element as the common timer 111, for example. The absolute time data added to the control data is based on the value of the absolute time timer 111.
 時刻同期要求部112は、時刻同期要求を発行してサーバパーソナルコンピュータ30に送信することによりサーバパーソナルコンピュータ30から時刻情報を取得する。そして、時刻同期要求部112は、該取得した時刻情報を共通タイマ111に設定・反映させて共通タイマ111の時刻を更新する。すなわち、時刻同期要求部112は、パーソナルコンピュータ40から設定された設定データの時刻同期周期に従って、サーバパーソナルコンピュータ30へ時刻同期要求を実行する。そして、時刻同期要求部112は、時刻取得要求を実行した結果取得した時刻情報を、共通タイマ111に書き込む。 The time synchronization request unit 112 acquires time information from the server personal computer 30 by issuing a time synchronization request and transmitting it to the server personal computer 30. Then, the time synchronization request unit 112 updates the time of the common timer 111 by setting and reflecting the acquired time information in the common timer 111. That is, the time synchronization request unit 112 executes a time synchronization request to the server personal computer 30 according to 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 as a result of executing the time acquisition request in the common timer 111.
 共有メモリ105は、制御装置10から転送された制御データ14を制御データ106として一時的に格納する領域を有する。共有メモリ105には、制御データ14を1制御周期分の制御データ106だけを格納する領域を各制御装置10に対して1つ有する。共有メモリ105は、制御装置10およびロギング装置100の両方からアクセス可能である。また、共有メモリ105は、ロギング対象となる制御装置10の数に合わせて、制御データ106を格納するためにメモリ領域を分割することができる。 The shared memory 105 has an area for temporarily storing the control data 14 transferred from the control device 10 as the control data 106. The shared memory 105 has one area for each control device 10 in which only the control data 106 for one control cycle is stored in the shared memory 105. The shared memory 105 can be accessed from both the control device 10 and the logging device 100. Further, the shared memory 105 can divide the memory area in order to store the control data 106 according to the number of control devices 10 to be logged.
 内部メモリ103は、制御装置10から転送された制御データ106をまとめて格納する制御データ記憶部である。内部メモリ103は、たとえば揮発性メモリが用いられる。内部メモリ103は、データ取得部102とデータ記憶部104と結合ファイル作成部107とからアクセス可能である。内部メモリ103には、たとえば、制御装置10から転送された多数の制御データを既定の制御周期分格納可能なリングバッファ領域113と、ロギングパラメータ114とを有する。 The internal memory 103 is a control data storage unit that collectively stores the control data 106 transferred from the control device 10. As the internal memory 103, for example, a volatile memory is used. The internal memory 103 is accessible from the data acquisition unit 102, the data storage unit 104, and the combined file creation unit 107. The internal memory 103 includes, for example, a ring buffer area 113 that can store a large number of control data transferred from the control device 10 for a predetermined control period, and a logging parameter 114.
 リングバッファ領域113は、制御データ106を記憶するための十分な容量があるRAMメモリ等である。リングバッファ領域113は、概念上、環状に配置されたメモリ構成となり、書き込みポインタと読み込みポインタとにより管理される。この場合、データ取得部102がリングバッファ領域113に制御データ106を書き込んだ場合に、書き込みポインタが進む。そして、リングバッファ領域113に書き込まれた制御データ106をデータ記憶部104が読み込むと、読み込みポインタが進む。読み込みポインタは、書き込みポインタの位置まで制御データを読み込むことができる。 The ring buffer area 113 is a RAM memory or the like having a sufficient capacity for storing the control data 106. The ring buffer area 113 is conceptually arranged in a circular memory configuration and is managed by a write pointer and a read pointer. In this case, when the data acquisition unit 102 writes the control data 106 in the ring buffer area 113, the write pointer advances. When the data storage unit 104 reads the control data 106 written in the ring buffer area 113, the read pointer advances. The read pointer can read control data up to the position of the write pointer.
 リングバッファ領域113は、上記の制御データに加え、共通タイマ111から発行されたタイムスタンプと、絶対時刻タイマ110から発行された絶対時刻データとを、制御装置10から制御データを取得した時系列順に記憶する。例えば共通タイマ111からのタイムスタンプは、タイムスタンプ(1)、タイムスタンプ(2)、・・・、タイムスタンプ(m)、タイムスタンプ(n)のように記録される。()内の数字は、各タイムスタンプがリングバッファ領域113に記憶された順番を示す。ここでは、タイムスタンプ(1)が時系列順に一番古い時間であり、タイムスタンプ(n)が時系列順に一番新しい時間である。 In addition to the control data described above, the ring buffer area 113 includes the time stamp issued from the common timer 111 and the absolute time data issued from the absolute time timer 110 in the order of time series obtained from the control device 10. Remember. For example, the time stamp from the common timer 111 is recorded as time stamp (1), time stamp (2),..., Time stamp (m), time stamp (n). The numbers in parentheses indicate the order in which each time stamp is stored in the ring buffer area 113. Here, time stamp (1) is the oldest time in time series, and time stamp (n) is the newest time in time series.
 また、同様に、絶対時刻タイマ110から発行された絶対時刻データは、絶対時刻データ(1)、絶対時刻データ(2)、・・・、絶対時刻データ(m)、絶対時刻データ(n)のように記録される。()内の数字は、各絶対時刻データがリングバッファ領域113に記憶された順番を示す。ここでは、絶対時刻データ(1)が時系列順に一番古い時間であり、絶対時刻データ(n)が時系列順に一番新しい時間である。そして、リングバッファ領域113には、たとえば図1に示されるように、制御データ(n)、該制御データのタイムスタンプ(n)および絶対時刻データ(n)、の順で格納されている。 Similarly, the absolute time data issued from the absolute time timer 110 includes absolute time data (1), absolute time data (2),..., Absolute time data (m), and absolute time data (n). As recorded. The numbers in parentheses indicate the order in which each absolute time data is stored in the ring buffer area 113. Here, the absolute time data (1) is the oldest time in the time series order, and the absolute time data (n) is the newest time in the time series order. In the ring buffer area 113, for example, as shown in FIG. 1, control data (n), a time stamp (n) of the control data, and absolute time data (n) are stored in this order.
 ロギングパラメータ114は、ロギング対象となる制御データおよびロギングを実施する周期などを指定するロギング条件を有する。ロギングパラメータ114は、パーソナルコンピュータ40から設定された設定データより設定される。 The logging parameter 114 has a logging condition that specifies control data to be logged, a cycle for performing logging, and the like. The logging parameter 114 is set from setting data set from the personal computer 40.
 データ取得部102は、制御装置10から収集されて共有メモリ105に格納された制御データ106にタイムスタンプと絶対時刻データとを付加して、内部メモリ103に書き込む。データ取得部102は、制御装置10の制御データ転送部16が共有メモリ105に制御データ14を書き込んだ際に制御データ転送部16から送信される制御データ14の書き込みの通知を受信して動作し、共有メモリ105の制御データ106を読み込む。そして、データ取得部102は、読み込んだ制御データ106のそれぞれにタイムスタンプと絶対時刻データとを付加して内部メモリ103のリングバッファ領域113に書き込む。 The data acquisition unit 102 adds a time stamp and absolute time data to the control data 106 collected from the control device 10 and stored in the shared memory 105, and writes it in the internal memory 103. The data acquisition unit 102 operates by receiving 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. Then, the data acquisition unit 102 adds a time stamp and absolute time data to each of the read control data 106 and writes it in the ring buffer area 113 of the internal memory 103.
 すなわち、データ取得部102は、制御データ106を内部メモリ103のリングバッファ領域113に書き込む際に、共通タイマ111からタイムスタンプを取得するとともに絶対時刻タイマ110から絶対時刻データを取得する。そして、データ取得部102は、取得したタイムスタンプと絶対時刻データとを制御データ106に付加し、制御データとタイムスタンプと絶対時刻データとを1つの単位としてリングバッファ領域113に書き込む。 That is, the data acquisition unit 102 acquires the time stamp from the common timer 111 and the absolute time data from the absolute time timer 110 when writing the control data 106 to the ring buffer area 113 of the internal memory 103. The data acquisition unit 102 adds the acquired time stamp and absolute time data to the control data 106, and writes the control data, time stamp, and absolute time data in the ring buffer area 113 as one unit.
 データ記憶部104は、内部メモリ103にまとめて格納された制御データおよび該制御データに対応するタイムスタンプと絶対時刻データとを読み出して記憶する。また、データ記憶部104は、結合ファイル作成部107で作成された結合された制御データおよび該制御データに対応するタイムスタンプと絶対時刻データとを記憶する。すなわち、データ記憶部104は、結合データ記憶部としての機能を有する。 The data storage unit 104 reads out and stores the control data collectively stored in the internal memory 103 and the time stamp and absolute time data corresponding to the control data. The data storage unit 104 stores the combined control data created by the combined file creation unit 107, the time stamp corresponding to the control data, and absolute time 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に記憶させない。 The data storage unit 104 writes these control data in the storage medium 50 together with a time stamp. The data storage unit 104 reads control data from the ring buffer area 113 in the internal memory 103 according to the read pointer according to the logging execution condition specified in the logging parameter 114, and writes the read control data to the storage medium 50. In addition, the data storage unit 104 writes the combined control data rearranged and combined by the combined file creation unit 107 in the storage medium 50 together with the time stamp. The data storage unit 104 stores the control data of the internal memory 103 and the time stamp in the storage medium 50, but does not store the absolute time data in the storage medium 50.
 データ記憶部104は、記憶メディア50に制御データを書き込む際には、制御データを加工して書き込むこともできる。制御データの加工としては、たとえば四則演算による加工、バイナリデータを文字列型データに変換する加工などを行うことができる。 The data storage unit 104 can process and write the control data when writing the control data to the storage medium 50. As processing of the control data, for example, processing by four arithmetic operations, processing of converting binary data into character string type data, and the like can be performed.
 結合ファイル作成部107は、複数の制御装置10から取得した制御データを並び替え、結合して結合制御データを作成し、データ記憶部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, creates combined control data, and outputs the combined control data as a file to the data storage unit 104. The combined file creation unit 107 includes a control data alignment unit 108 and a control data interpolation unit 109. The control data alignment unit 108 reads the control data collected from the plurality of control devices 10 and collected in the internal memory 103, and combines the read control data according to the setting specified by the logging parameter 114. The combined control data rearranged and combined by the combined file creation unit 107 is stored in the data storage unit 104 and written from the data storage unit 104 to the storage medium 50.
 制御データの並び替え、結合は、各制御装置10から制御データの収集を行うための設定単位で指定することができる。すなわち、収集した各制御装置10の制御データの並び替えの際に、基準となる間隔をロギングパラメータ114において指定することができる。この間隔としては、制御装置10のデータ収集間隔を指定できる。そして、ある制御装置のデータ収集間隔に合わせて、制御装置10から取得した制御データを時系列順に並び替え、結合する。制御データの並び替えは、絶対時刻データの値に基づいて行われる。 The rearrangement and combination of control data can be specified in a setting unit for collecting control data from each control device 10. That is, when the collected control data of each control device 10 is rearranged, a reference interval can be specified in the logging parameter 114. As this interval, the data collection interval of the control device 10 can be designated. Then, in accordance with the data collection interval of a certain control device, the control data acquired from the control device 10 is rearranged in order of time series and combined. The rearrangement of the control data is performed based on the value of the absolute time data.
 また、制御データの結合を行う際、複数の制御装置10の制御データのうちの1つの制御装置10の制御データの収集の時間間隔に合わせて制御データを並び替えた場合に、制御データの収集周期がこの制御装置と異なる他の制御装置10の制御データにおいては、タイムスタンプおよび絶対時刻データに対応する制御データが存在しない場合がある。このように、ある制御装置10の制御データにおいてはデータが存在しないタイムスタンプおよび絶対時刻データが存在する場合には、制御データ補間部109において、ロギングパラメータ114で指定された設定に従い、制御データの補間を実行する。 In addition, when the control data is combined, the control data is collected when the control data is rearranged in accordance with the control data collection time interval of one control device 10 among the control data of the plurality of control devices 10. In the control data of another control device 10 having a different cycle from this control device, there may be no control data corresponding to the time stamp and the absolute time data. In this way, when there is a time stamp and absolute time data in which no data exists in the control data of a certain control device 10, the control data interpolation unit 109 sets the control data according to the setting specified by the logging parameter 114. Perform interpolation.
 記憶メディア50は、ロギング装置100に装着された外部記憶手段であり、たとえばコンパクトフラッシュ(登録商標)カードである。記憶メディア50は、内部メモリ103の制御データとタイムスタンプとを合わせて記憶するが、絶対時刻データは記憶しない。 The storage medium 50 is an external storage means attached to the logging device 100, and is, for example, a compact flash (registered trademark) card. The storage medium 50 stores the control data of the internal memory 103 and the time stamp together, but does not store absolute time data.
 通信部115は、外部機器との間で通信を行う。CPU101は、ロギング装置100内の各部の動作全体を制御する制御部である。 The communication unit 115 communicates with an external device. The CPU 101 is a control unit that controls the overall operation of each unit in the logging device 100.
 つぎに、本実施の形態にかかるロギング装置100における時刻同期処理手順について図2を参照しながら説明する。図2は、本実施の形態にかかるロギング装置100の共通タイマ111に時計データを書き込む処理を説明するフローチャートである。 Next, a time synchronization processing procedure in the logging device 100 according to the present embodiment will be described with reference to FIG. FIG. 2 is a flowchart for explaining processing of writing clock data to the common timer 111 of the logging device 100 according to this embodiment.
 まず、共通タイマ111は、ロギング装置100が起動した状態では初期状態であるため、初期化が行われる。共通タイマ111の初期化は、時刻同期要求部112が、サーバパーソナルコンピュータ30の時刻配信部31から取得した時刻情報の時刻を共通タイマ111に書き込んで反映させることにより行われる。これにより、共通タイマ111の時刻がサーバパーソナルコンピュータ30の時刻に同期され、共通タイマ111が初期化される。 First, since the common timer 111 is in an initial state when the logging device 100 is activated, initialization is performed. The initialization of the common timer 111 is performed by the time synchronization request unit 112 writing and reflecting the time of the time information acquired from the time distribution unit 31 of the server personal computer 30 in the common timer 111. Thereby, the time of the common timer 111 is synchronized with the time of the server personal computer 30, and the common timer 111 is initialized.
 時刻同期要求部112は、サーバパーソナルコンピュータ30の時刻配信部31からの時刻情報の取得による共通タイマ111の時刻同期に失敗した場合には、バス20を経由して制御装置10から時刻情報を取得し、制御装置10の時刻情報の時刻を共通タイマ111に書き込んで反映させる。これにより、共通タイマ111の時刻が制御装置10の時刻に同期され、共通タイマ111が初期化される。 The time synchronization request unit 112 acquires time information from the control device 10 via the bus 20 when the time synchronization of the common timer 111 due to acquisition of time information from the time distribution unit 31 of the server personal computer 30 fails. Then, the time of the time information of the control device 10 is written in the common timer 111 and reflected. Thereby, the time of the common timer 111 is synchronized with the time of the control device 10, and the common timer 111 is initialized.
 共通タイマ111の初期化後、時刻同期要求部112は、ロギングパラメータ114で指定された設定に従って既定の動作周期で動作し、動作するたびに、図2のフローチャートの動作を行う。 After initialization of the common timer 111, the time synchronization request unit 112 operates in a predetermined operation cycle according to the setting specified by the logging parameter 114, and performs the operation of the flowchart of FIG.
 すなわち、時刻同期要求部112は、動作を開始すると共通タイマ111から時刻を取得する(ステップS110)。つぎに、時刻同期要求部112は、取得した時刻がロギングパラメータ114において指定された、時刻同期を実施する条件を満たしたか、すなわち時刻同期を実施する時刻になっているか否かを判定する(ステップS120)。取得した時刻が時刻同期を実施する時刻になっていない場合は(ステップS120、No)、時刻同期要求部112は、ステップS110に戻って処理を継続する。 That is, the time synchronization request unit 112 acquires time from the common timer 111 when the operation is started (step S110). Next, the time synchronization request unit 112 determines whether or not the acquired time satisfies a condition for performing time synchronization specified in the logging parameter 114, that is, whether it is time to perform time synchronization (step). S120). When the acquired time is not the time for performing time synchronization (No at Step S120), the time synchronization request unit 112 returns to Step S110 and continues the process.
 取得した時刻が時刻同期を実施する時刻になっていた場合は(ステップS120、Yes)、時刻同期要求部112は、時刻同期処理を開始する。時刻同期処理は、時刻同期要求部112が時刻同期要求を発行してサーバパーソナルコンピュータ30に送信する(ステップS130)。そして、時刻同期要求部112は、サーバパーソナルコンピュータ30の時刻配信部31から時刻を取得できたか否かを判定する(ステップS140)。 If the acquired time is the time for performing time synchronization (step S120, Yes), the time synchronization request unit 112 starts time synchronization processing. In the time synchronization process, the time synchronization request unit 112 issues a time synchronization request and transmits it to the server personal computer 30 (step S130). Then, the time synchronization request unit 112 determines whether or not the time has been acquired from the time distribution unit 31 of the server personal computer 30 (step S140).
 サーバパーソナルコンピュータ30の時刻配信部31から時刻を取得できた場合は(ステップS140、Yes)。時刻同期要求部112は、取得した時刻情報の時刻を共通タイマ111に書き込んで共通タイマ111の時刻を更新する(ステップS150)。そして、時刻同期要求部112は、一連の共通タイマ111の同期処理を終了する。 When the time can be acquired from the time distribution unit 31 of the server personal computer 30 (step S140, Yes). The time synchronization request unit 112 writes the time of the acquired time information in the common timer 111 and updates the time of the common timer 111 (step S150). Then, the time synchronization request unit 112 ends the series of synchronization processes of the common timer 111.
 一方、サーバパーソナルコンピュータ30の時刻配信部31から時刻を取得できていない場合は(ステップS140、No)、時刻同期要求部112は、時刻同期要求のタイムアウト時間が経過したか否か判定する(ステップS160)。時刻同期要求のタイムアウト時間が経過した場合は(ステップS160、Yes)、時刻同期要求部112は、時刻同期失敗の情報を時刻同期要求部112内に記録し、一連の共通タイマ111の同期処理を終了する。 On the other hand, when the time cannot be acquired from the time distribution unit 31 of the server personal computer 30 (No at Step S140), the time synchronization request unit 112 determines whether or not the time synchronization request time-out period has elapsed (Step S140). S160). If the time synchronization request time-out period has elapsed (step S160, Yes), the time synchronization request unit 112 records time synchronization failure information in the time synchronization request unit 112, and performs a series of common timer 111 synchronization processes. finish.
 一方、時刻同期要求のタイムアウト時間が経過していない場合は(ステップS160、NO)、時刻同期要求部112は、ステップS130に戻って、ロギングパラメータ114において指定されたタイミングで時刻同期要求を再度発行し、送信する。 On the other hand, when the timeout time of the time synchronization request has not elapsed (step S160, NO), the time synchronization request unit 112 returns to step S130 and reissues the time synchronization request at the timing specified in the logging parameter 114. And send.
 つぎに、本実施の形態にかかるロギング装置100におけるデータ取得部102のデータ取得処理手順について図3を参照しながら説明する。図3は、ロギング装置100におけるデータ取得部102のデータ取得処理手順を示すフローチャートである。 Next, the data acquisition processing procedure of the data acquisition unit 102 in the logging device 100 according to the present embodiment will be described with reference to FIG. FIG. 3 is a flowchart showing a data acquisition processing procedure of the data acquisition unit 102 in the logging device 100.
 ロギング装置100が起動されて共通タイマ111が初期化された後、制御データ転送部16は、既定の一定周期または制御プログラムの動作周期で、ロギング装置100が備える共有メモリ105に制御データ格納部15の制御データ14の値を転送し、さらに制御データの書き込みの通知をロギング装置100のデータ取得部102に送信する。 After the logging device 100 is activated and the common timer 111 is initialized, the control data transfer unit 16 stores the control data storage unit 15 in the shared memory 105 provided in the logging device 100 at a predetermined constant cycle or an operation cycle of the control program. The control data 14 value is transferred, and a control data write notification is transmitted to the data acquisition unit 102 of the logging device 100.
 データ取得部102は、制御装置10の制御データ転送部16から送信される制御データの書き込みの通知を受信して、制御データの格納処理を開始する。データ取得部102は、まず制御データの書き込みの通知があるか否か、すなわち制御装置10の制御データ転送部16から制御データの書き込みの通知を受信したか否かを判定する(ステップS210)。 The data acquisition unit 102 receives the control data write notification transmitted from the control data transfer unit 16 of the control device 10 and starts the storage process of the control data. The data acquisition unit 102 first determines whether or not there is a control data write notification, that is, whether or not a control data write notification has been received from the control data transfer unit 16 of the control device 10 (step S210).
 制御データの書き込みの通知が無い場合、すなわち制御装置10の制御データ転送部16から制御データの書き込みの通知を受信していない場合は(ステップS210、No)、データ取得部102は、通知があるまでステップS210を繰り返し行う。 When there is no notification of writing control data, that is, when a notification of writing control data is not received from the control data transfer unit 16 of the control device 10 (No in step S210), the data acquisition unit 102 has a notification. Step S210 is repeatedly performed.
 一方、制御データ14の書き込みの通知があった場合、すなわち制御装置10の制御データ転送部16から制御データ14の書き込みの通知を受信した場合は(ステップS210、Yes)、データ取得部102は、内部メモリ103のリングバッファ領域113に空き容量があるか否かを判定する(ステップS220)。リングバッファ領域113に空き容量が無い場合は(ステップS220、No)、データ取得部102は、エラー情報を制御装置10に返して、一連の制御データの格納処理を終了する。 On the other hand, when there is a notification of writing of the control data 14, that is, when a notification of writing of the control data 14 is received from the control data transfer unit 16 of the control device 10 (Yes in step S210), the data acquisition unit 102 It is determined whether or not there is free space in the ring buffer area 113 of the internal memory 103 (step S220). If there is no free space in the ring buffer area 113 (No in step S220), the data acquisition unit 102 returns error information to the control device 10 and ends the series of control data storage processing.
 一方、リングバッファ領域113に空き容量がある場合は(ステップS220、Yes)、データ取得部102は、共有メモリ105の制御データ106をリングバッファ領域113へコピーする(ステップS230)。つぎに、データ取得部102は、共通タイマ111の値、すなわち時刻をリングバッファ領域113へコピーして、先にリングバッファ領域113にコピーした制御データ106にタイムスタンプとして付加する(ステップS240)。さらに、データ取得部102は、絶対時刻タイマ110の値、すなわち時刻をリングバッファ領域113にコピーして、先にリングバッファ領域113にコピーして共通タイマ111の値を付加した制御データ106に絶対時刻データとして付加する(ステップS250)。 On the other hand, when there is free space in the ring buffer area 113 (step S220, Yes), 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 it as a time stamp to the control data 106 previously copied to the ring buffer area 113 (step S240). Further, the data acquisition unit 102 copies the value of the absolute time timer 110, that is, the time to the control data 106 to which the time is copied to the ring buffer area 113, and is first copied to the ring buffer area 113 and added with the value of the common timer 111. It is added as time data (step S250).
 このようにして、リングバッファ領域113に、制御データ(1)、該制御データ(1)のタイムスタンプ(1)および絶対時刻データ(1)、制御データ(2)、該制御データのタイムスタンプ(2)および絶対時刻データ(2)・・・の順で、制御データ、タイムスタンプおよび絶対時刻データが時系列順に格納される。そして、データ取得部102は、上記のデータのコピーが完了したときに、リングバッファ領域113の書き込みポインタを進め、一連の制御データの格納処理を終了する。 In this way, the control data (1), the time stamp (1) of the control data (1), the absolute time data (1), the control data (2), and the time stamp of the control data ( The control data, time stamp, and absolute time data are stored in the order of time series in the order of 2) and absolute time data (2). Then, when the data copy is completed, the data acquisition unit 102 advances the write pointer in the ring buffer area 113 and ends the series of control data storage processing.
 データ記憶部104では、リングバッファ領域113に格納されたデータを書き込みポインタの位置になるまで読み込みポインタから順に読み込み、ファイルに出力する。この際、データ記憶部104は、制御データおよびタイムスタンプは出力するが、絶対時刻データは出力しない。 The data storage unit 104 reads the data stored in the ring buffer area 113 in order from the read pointer until it reaches the position of the write pointer, and outputs it to a file. At this time, the data storage unit 104 outputs control data and a time stamp, but does not output absolute time data.
 つぎに、本実施の形態にかかるロギング装置100の結合ファイル作成部107における、複数の制御装置10から取得した制御データの並び替えと結合処理との流れについて、図4および図5を用いて説明する。図4は、実施の形態にかかるロギングシステムにおいて、複数の制御装置から制御データを収集する構成例を示す図である。図5は、実施の形態にかかるロギングシステムにおいて、ロギング装置100が制御データを並び替えて結合する処理を説明するフローチャートである。 Next, the flow of control data rearrangement and combination processing acquired from a plurality of control devices 10 in the combined file creation unit 107 of the logging device 100 according to the present embodiment will be described with reference to FIGS. 4 and 5. To do. FIG. 4 is a diagram illustrating a configuration example of collecting control data from a plurality of control devices in the logging system according to the embodiment. FIG. 5 is a flowchart for explaining processing in which the logging device 100 rearranges and combines control data in the logging system according to the embodiment.
 ここでは、制御装置A10Aから収集した制御データAおよび制御装置B10Bから収集した制御データBをロギング装置100の内部メモリ103のリングバッファ領域103にタイムスタンプと絶対時刻データを付加して格納している。図4においては、制御装置A10Aの制御データに関する要素の符号の末尾には「A」を、制御装置B10Bの制御データに関する要素の符号には末尾に「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 stored in the ring buffer area 103 of the internal memory 103 of the logging device 100 with a time stamp and absolute time data added. . In FIG. 4, “A” is added to the end of the code of the element related to the control data of the control device A 10 </ b> A, and “B” is added to the code of the element related to the control data of the control device B 10 </ b> B. In FIG. 4, the flow of control data is shown with attention, and illustration of a part of the configuration is omitted.
 制御データ結合処理では、制御データ整列部108が、制御データの並び替えの基準を設定した並び替え基準設定をロギングパラメータ114から読み出して取得する(ステップS310)。また、ここでは、制御データAを基準にして、すなわち制御データAの収集の時間間隔を基準にして、制御装置A10Aおよび制御装置B10Bから収集した制御データを並び替えて結合する場合について説明する。したがって、ここでの並び替え基準設定は、制御データAの収集の時間間隔を並び替えの基準とする設定情報とされる。 In the control data combining process, the control data aligning unit 108 reads out and obtains the rearrangement reference setting in which the control data rearrangement reference is set from the logging parameter 114 (step S310). Here, a case will be described in which the control data collected from the control device A 10A and the control device B 10B are rearranged and combined based on the control data A, that is, based on the collection time interval of the control data A. Therefore, the rearrangement reference setting here is set information using the collection time interval of the control data A as a reference for rearrangement.
 つぎに、制御データ整列部108は、該並び替え基準設定に従って、並び替え設定の対象となる制御データを格納した複数のリングバッファ領域113から、該リングバッファ領域113に格納されたデータをリングバッファ領域113毎に全て読み出す(ステップS320)。たとえば制御データ整列部108は、リングバッファ領域A113Aに格納されたデータを全て読み出す。つぎに、制御データ整列部108は、リングバッファ領域B113Bに格納されたデータを全て読み出す。 Next, the control data alignment unit 108 converts the data stored in the ring buffer area 113 from the plurality of ring buffer areas 113 storing the control data to be rearranged according to the rearrangement reference setting. All are read for each area 113 (step S320). For example, the control data alignment unit 108 reads all the data stored in the ring buffer area A113A. Next, the control data alignment unit 108 reads all the data stored in the ring buffer area B113B.
 図6は、本実施の形態にかかるロギング装置内における制御データを示す図である。図6(a)は、制御装置Aから取得されてリングバッファ領域A113Aに格納された制御データAおよび該制御データAに付加されたタイムスタンプおよび絶対時刻データを示している。図6(b)は、制御装置Bから取得されてリングバッファ領域B113Bに格納された制御データBおよび該制御データBに付加されたタイムスタンプおよび絶対時刻データを示している。図6(c)は、制御データAおよび制御データBを、制御データAを基準に並び替えて結合された制御データを示している。 FIG. 6 is a diagram showing control data in the logging device according to the present embodiment. FIG. 6A shows the control data A acquired from the control device A and stored in the ring buffer area A113A, and the time stamp and absolute time data added to the control data A. FIG. 6B shows the control data B acquired from the control device B and stored in the ring buffer area B113B, and the time stamp and absolute time data added to the control data B. FIG. 6C shows control data in which the control data A and the control data B are rearranged based on the control data A as a reference.
 たとえばリングバッファ領域A113Aには、制御装置Aから取得された制御データAとして、図6(a)に示される制御データA(1)~制御データA(n)が、それぞれ対応するタイムスタンプおよび絶対時刻データとともに格納されている。()内の数字は、各制御データAがリングバッファ領域A113Aに記憶された順番を示す。また、たとえばリングバッファ領域B113Bには、制御装置Bから取得された制御データBとして、図6(b)に示される制御データB(1)~制御データB(n)が、それぞれ対応するタイムスタンプおよび絶対時刻データとともに格納されている。()内の数字は、各制御データBがリングバッファ領域B113Bに記憶された順番を示す。 For example, in the ring buffer area A113A, as the control data A acquired from the control device A, the control data A (1) to control data A (n) shown in FIG. Stored with time data. The numbers in parentheses indicate the order in which each control data A is stored in the ring buffer area A113A. Further, for example, the control data B (1) to control data B (n) shown in FIG. 6B are respectively stored in the ring buffer area B113B as the control data B acquired from the control device B. And stored with absolute time data. The numbers in parentheses indicate the order in which each control data B is stored in the ring buffer area B113B.
 制御データ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とのタイムスタンプの時刻が同じになっている。 As the control data A (n), as shown in FIG. 6A, the data as the control data A (1): 1, the data as the control data A (2): 2,... Data as 8): 8 is stored. In the logging device 100, the synchronization process with the server personal computer 30 of the common timer 111 is performed again after 14:10:03 in the absolute time data has elapsed. Therefore, the time stamps of the control data A (3): 3 and the control data A (4): 4 are reversed, and the time between the control data A (3): 3 and the control data A (5): 5 is reversed. The stamp time is the same.
 一方、絶対時刻タイマ110は、ロギング装置100の起動直後に共通タイマ111との時間の同期が行われた後は時間の補正が行われない。このため、絶対時刻タイマ110の絶対時刻データは、図6(a)に示すように制御データAがリングバッファ領域A113Aに格納された順に時系列順を保持している。また、制御データAの収集の時間間隔は1秒周期となっている。 On the other hand, the time of the absolute time timer 110 is not corrected after the time synchronization with the common timer 111 is performed immediately after the logging device 100 is activated. For this reason, the absolute time data of the absolute time timer 110 maintains 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. Further, the time interval for collecting the control data A is 1 second.
 一方、制御データB(n)としては、図6(b)に示すように、制御データB(1)としてのデータ:100、制御データB(2)としてのデータ:150、制御データB(3)としてのデータ:200が格納されている。制御データBでは、図6(b)に示すように、タイムスタンプの時刻が逆転しているまたは同じになっている制御データBは存在しないが、データの収集の時間間隔が制御データAと異なり、3秒周期となっている。 On the other hand, as the control data B (n), as shown in FIG. 6B, the data: 100 as the control data B (1), the data: 150 as the control data B (2), the control data B (3 ): 200 is stored. In the control data B, as shown in FIG. 6B, there is no control data B in which the time of the time stamp is reversed or the same, but the data collection time interval is different from the control data A. The cycle is 3 seconds.
 つぎに、制御データ整列部108は、以下のステップS350~ステップS370に該当する処理を、制御データの並び替えの対象設定数分だけ、すなわち制御データが並び替えの対象となる制御装置10の数だけ繰り返す(ステップS330a:開始、ステップS330b:終了)。また、ステップS330a~ステップS330bにおける処理の繰り返しにおいては、1つの制御装置10から取得した制御データ数分だけ、以下のステップS350~ステップS370に該当する処理を繰り返す(ステップS340a:開始、ステップS340b:終了)。 Next, the control data sorting unit 108 performs the processing corresponding to the following steps S350 to S370 by the number of control data rearrangement target settings, that is, the number of control devices 10 to which the control data is to be rearranged. (Step S330a: start, step S330b: end). Further, in the repetition of the processes in steps S330a to S330b, the processes corresponding to the following steps S350 to S370 are repeated for the number of control data acquired from one control apparatus 10 (step S340a: start, step S340b: End).
 制御データ整列部108は、ステップS320で複数のリングバッファ領域113から読み出したデータから絶対時刻データの値を読み出し、絶対時刻データの値が一致する制御データが存在するか否かを判定する(ステップS350)。絶対時刻データの値が一致する制御データが存在する場合は(ステップS350、Yes)、該制御データの値を取得し、制御データ整列部108内において記録する(ステップS360)。ここでは、制御データAの収集の時間間隔を基準としているため、すなわち制御データAの収集の時間間隔に適合する絶対時刻データを基準としているため、制御データAの絶対時刻データと同一の絶対時刻データが付加された制御データBの値を取得して、制御データ整列部108内においてたとえば図6(c)に示すようなテーブルに記録する。 The control data alignment unit 108 reads the absolute time data value from the data read from the plurality of ring buffer areas 113 in step S320, and determines whether there is control data that matches the absolute time data value (step S320). S350). If there is control data that matches the absolute time data value (step S350, Yes), the control data value is acquired and recorded in the control data alignment unit 108 (step S360). Here, since the time interval for collecting the control data A is used as a reference, that is, the absolute time data that matches the time interval for collecting the control data A is used as a reference, the same absolute time as the absolute time data of the control data A is used. The value of the control data B to which the data has been added is acquired and recorded in a table as shown in FIG.
 一方、絶対時刻データの値が一致する制御データが存在しない場合は(ステップS350、No)、制御データ整列部108内において制御データの欄に「データなし」の情報を記録する(ステップS370)。ここでは、制御データAの収集の時間間隔を基準としているため、すなわち制御データAの収集の時間間隔に適合する絶対時刻データを基準としているため、制御データAの絶対時刻データと同一の絶対時刻データが付加された制御データBが存在しない場合は、たとえば図6(c)に示すようなテーブルの制御データBの欄に「データなし」の情報を記録する。 On the other hand, if there is no control data having the same absolute time data value (step S350, No), information “no data” is recorded in the control data column in the control data alignment unit 108 (step S370). Here, since the time interval for collecting the control data A is used as a reference, that is, the absolute time data that matches the time interval for collecting the control data A is used as a reference, the same absolute time as the absolute time data of the control data A is used. When there is no control data B to which data is added, for example, information “no data” is recorded in the control data B column of the table as shown in FIG.
 そして、ステップS350~ステップS370の処理を、1つの制御装置10から取得した制御データ数分だけ繰り返し、(ステップS340a:開始、ステップS340b:終了)、さらに制御データの並び替えの対象設定数分だけ、すなわち制御データが並び替えの対象となる制御装置10の数だけ繰り返す(ステップS330a:開始、ステップS330b:終了)。そして、終了条件を満たした時点で処理を終了する。 Then, the processing from step S350 to step S370 is repeated as many times as the number of control data acquired from one control device 10 (step S340a: start, step S340b: end), and the control data rearrangement is performed for the number of target settings. That is, the control data is repeated by the number of control devices 10 to be rearranged (step S330a: start, step S330b: end). Then, the process ends when the end condition is satisfied.
 制御データの並び替えの結果、データ記憶部104に出力されるファイルの元となる制御データは図6(c)のようになる。この場合、共通タイマ111の時刻がサーバパーソナルコンピュータ30との時刻同期処理によってタイムスタンプが巻き戻されていても、絶対時刻タイマ110の絶対時刻データを基準にして制御データを整列させることにより、制御装置10から制御データを取得した時系列順に、すなわち、制御装置10において制御データが発生した時系列順に制御データが並べられる。 As a result of the rearrangement of the control data, the control data that is the source of the file output to the data storage unit 104 is as shown in FIG. In this case, even if the time of the common timer 111 has been rewound by the time synchronization processing with the server personal computer 30, the control data is aligned based on the absolute time data of the absolute time timer 110, thereby controlling the The control data is arranged in the time series order in which the control data is acquired from the apparatus 10, that is, in the time series order in which the control data is generated in the control apparatus 10.
 このように並び替えられて結合された制御データは、ファイルとしてデータ記憶部104に格納され、記憶メディア50にファイル出力される。ただし、記憶メディア50にファイル出力される際には、絶対時刻タイマの値は出力されない。絶対時刻タイマの値は出力されないことで、ファイルの容量が大きくなることを防止でき、記憶メディア50における容量の負担の増加を防止できる。 The control data rearranged and combined in this way is stored as a file in the data storage unit 104 and output to the storage medium 50 as a file. However, when the file is output to the storage medium 50, the value of the absolute time timer is not output. Since the absolute time timer value is not output, the file capacity can be prevented from increasing, and an increase in capacity burden on the storage medium 50 can be prevented.
 一方で、記憶メディア50に出力されるファイルには、時刻同期をした結果である共通タイマ111のタイムスタンプも出力されるため、どの時間にどのようなデータを収集したのかを、制御装置10を含む外部機器の時計と照らし合わせて確認できる。 On the other hand, since the time stamp of the common timer 111, which is the result of time synchronization, is also output to the file output to the storage medium 50, the control device 10 indicates what data was collected at what time. It can be checked against the clock of the external device.
 また、上記の並び替えの結果、絶対時刻データの値が一致する制御データが存在しない、「データなし」が記録された絶対時刻データが存在した場合、制御データ補間部109は、該絶対時刻データに対応する不足分の制御データの補間を実施する。制御データの補間は、対象となる設定の制御データが2つ以上存在する場合のみ実施する。対象となる設定の制御データが2つ以上存在しない場合は、制御データ補間部109は、ロギングパラメータ114にあらかじめ設定された固定値を出力する。また、ロギングパラメータ114に固定値があらかじめ設定されていない場合は、制御データ補間部109は、0を出力する。 Further, as a result of the above rearrangement, when there is no control data having the same absolute time data value, or when there is absolute time data in which “no data” is recorded, the control data interpolation unit 109 displays the absolute time data. Interpolate the deficient control data corresponding to. The interpolation of the control data is performed only when there are two or more control data of the target setting. When two or more control data items to be set do not exist, the control data interpolation unit 109 outputs a fixed value set in advance in the logging parameter 114. Further, when a fixed value is not set in advance in the logging parameter 114, the control data interpolation unit 109 outputs 0.
 つぎに、並び替えの結果、絶対時刻データの値が一致する制御データが存在しない、「データなし」が記録された絶対時刻データが存在した場合における制御データの補間方法を説明する。データの補間方法としてロギングパラメータ114においてたとえば同値補間が指定されている場合、制御データ補間部109は、補間対象となる制御データより前に記録された制御データと同じ値を出力する。図6(c)に示された並び替えデータを補間する場合は、制御データBにおいて直前に記録された制御データと同じ値を出力する。この場合は、最終的にできあがる結合制御データは、図7のようになる。また、結合および補間がされた最終的にできあがった結合制御データが、データ記憶部104に格納された後に記憶メディア50にファイル出力される際のデータは、図8のようになる。図7は、本実施の形態にかかるロギング装置100において、不足分のデータを同値補間した場合の制御データを示す図である。図8は、本実施の形態にかかるロギング装置100において、不足分のデータを同値補間した場合に記憶メディア50に出力したファイルのデータを示す図である。 Next, the control data interpolation method when there is no control data with the same absolute time data value as a result of the rearrangement, and there is absolute time data recorded with “no data” will be described. When, for example, equivalent interpolation is specified in the logging parameter 114 as the data interpolation method, the control data interpolation unit 109 outputs the same value as the control data recorded before the control data to be interpolated. When the rearrangement data shown in FIG. 6C is interpolated, the same value as the control data recorded immediately before in the control data B is output. In this case, the finally obtained connection control data is as shown in FIG. Further, FIG. 8 shows the data when the finally completed connection control data combined and interpolated is stored in the data storage unit 104 and then output to the storage medium 50 as a file. FIG. 7 is a diagram showing control data when the deficient data is subjected to equivalence interpolation in the logging device 100 according to the present embodiment. FIG. 8 is a diagram illustrating file data output to the storage medium 50 when the deficient data is subjected to equivalence interpolation in the logging device 100 according to 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, “100” is interpolated as the control data B corresponding to the absolute time data “14:10:02”. “100” is interpolated as the control data B corresponding to the absolute time data “14:10:03”. As control data B corresponding to the absolute time data “14:10:05”, “150” is interpolated. “150” is interpolated as the control data B corresponding to the absolute time data “14:10:06”. “200” is interpolated as the control data B corresponding to the absolute time data “14:10:08”.
 また、記憶メディア50にファイル出力される際のデータは、図8に示すように、図7に示したデータから絶対時刻データが省かれたデータとなる。また、記憶メディア50に出力されるファイルのフォーマットには、結合された制御データを含んで記憶メディア50に出力されたファイルが作成されたロギング装置に関する情報が含まれる。記憶メディア50に出力されるファイルのフォーマットには、たとえば図8に示されるようにファイルヘッダ部120が設けられる。ファイルヘッダ部120には、結合された制御データを含んで記憶メディア50に出力されたファイルが作成されたロギング装置に関する情報として、ロギング装置の識別情報、時刻の出力形式、ファイルに含まれる結合された制御データがどの設定から結合されたデータであるかを判別するための情報が含まれる。たとえば図8においては、ロギング装置の識別情報として「ロギング装置_X」の情報が含まれており、Xがロギング装置の製品型名を示す。また、たとえば図8においては、時刻の出力形式、すなわち時刻の表示形式として、「タイムスタンプ(hh:mm:ss)」の情報が含まれており、hh、mm、ssはそれぞれタイムスタンプにおける時、分、秒を示す。また、たとえば図8においては、ファイルに含まれる結合された制御データがどの設定から結合されたデータであるかを判別するための情報として、結合された制御データの収集元の制御装置を判別できる情報、すなわち結合された制御データに含まれるデータが取得された制御装置を識別する情報である「制御データA」および「制御データB」の情報が含まれている。 Further, as shown in FIG. 8, the data when the file is output to the storage medium 50 is data obtained by omitting the absolute time data from the data shown in FIG. In addition, the format of the file output to the storage medium 50 includes information regarding the logging device in which the file output to the storage medium 50 including the combined control data is created. The format of the file output to the storage medium 50 is provided with a file header 120 as shown in FIG. 8, for example. The file header section 120 includes the logging device identification information, the output format of the time, and the combined information included in the file as information related to the logging device in which the file output to the storage medium 50 including the combined control data is created. Information for determining from which setting the control data is combined is included. For example, in FIG. 8, information of “logging device_X” is included as the identification information of the logging device, and X indicates the product type name of the logging device. Further, for example, in FIG. 8, information of “time stamp (hh: mm: ss)” is included as the time output format, that is, the time display format, and hh, mm, and ss are the times in the time stamp, respectively. , Minutes and seconds. Further, for example, in FIG. 8, the control device from which the combined control data is collected can be determined as information for determining from which setting the combined control data included in the file is the combined data. Information, that is, information of “control data A” and “control data B”, which is information for identifying the control device from which the data included in the combined control data is acquired, is included.
 一方、制御データの補間方法としてロギングパラメータ114においてたとえば線形補間が指定されている場合、制御データ補間部109は、補間対象となる制御データを下記の式(1)を用いて補間する。すなわち、(xi,yi),(xi+1,yi+1)が判明しており、xi≦x≦xi+1を満たす値の場合、下記の式(1)により値を求める。 On the other hand, when, for example, linear interpolation is specified in the logging parameter 114 as the control data interpolation method, the control data interpolation unit 109 interpolates the control data to be interpolated using the following equation (1). That is, when (xi, yi) and (xi + 1, yi + 1) are known and the value satisfies xi ≦ x ≦ xi + 1, the value is obtained by the following equation (1).
y=yi+(yi+1-yi)×(x-xi)÷(xi+1-xi)・・・(1) y = yi + (yi + 1−yi) × (x−xi) ÷ (xi + 1−xi) (1)
 式(1)を図6(c)に示された並び替えデータにあてはめる場合について説明する。たとえば、絶対時刻データ「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 Formula (1) is applied to the rearranged data shown in FIG. 6C will be described. For example, when obtaining the control data B of the absolute time data “14:10:02”, if x = second (millisecond unit) and y = control data B,
y = 100 + (150-100) × (2000−1000) ÷ (4000−1000)
And y = 117. Similarly, when other control data is interpolated, the finally obtained combined data is as shown in FIG. In addition, the data when the combined data finally combined and interpolated is stored in the data storage unit 104 and then output as a file to the storage medium 50 is as shown in FIG. FIG. 9 is a diagram showing control data when the control data for the shortage is linearly interpolated in the logging device 100 according to the present embodiment. FIG. 10 is a diagram illustrating file data output to the storage medium 50 when the control data for the shortage is linearly interpolated in the logging device 100 according to 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, “117” is interpolated as control data B corresponding to the absolute time data “14:10:02”. As the control data B corresponding to the absolute time data “14:10:03”, “133” is interpolated. As the control data B corresponding to the absolute time data “14:10:05”, “167” is interpolated. As the control data B corresponding to the absolute time data “14:10:06”, “183” is interpolated. As the control data B corresponding to the absolute time data “14:10:08”, “217” is interpolated.
 また、記憶メディア50にファイル出力される際のデータは、図10に示すように、図9に示したデータから絶対時刻データが省かれたデータとなる。 Further, as shown in FIG. 10, the data when the file is output to the storage medium 50 is data obtained by omitting the absolute time data from the data shown in FIG.
 このように、制御装置Aの収集間隔ごとにまとめた際の制御データBの不足分を補間することにより、並び替えてまとめた制御データをトレンドグラフなど視覚的に見やすい形式にする際に、データ解析が容易になる。また、同様に、複数の制御装置10から収集した制御データをまとめる際に、所望の制御データを間引くことで、並び替えてまとめた制御データをトレンドグラフなど視覚的に見やすい形式にする際に、データ解析が容易になる。そして、収集した制御データを、指定した所望の制御装置10の制御データの収集間隔で並び替えてまとめることができるため、指定した制御装置10を基準とした解析データを取得できる。 In this way, by interpolating the shortage of control data B when gathered at each collection interval of the control device A, when the control data rearranged and gathered into a visually easy-to-view format such as a trend graph, the data Analysis becomes easy. Similarly, when collecting the control data collected from the plurality of control devices 10, by thinning out the desired control data, the rearranged control data is converted into a visually easy-to-view format such as a trend graph. Data analysis becomes easy. Since the collected control data can be rearranged and collected at the control data collection interval of the designated desired control device 10, analysis data based on the designated control device 10 can be acquired.
 つぎに、上述した実施の形態にかかるロギングシステムにおける制御装置10、サーバパーソナルコンピュータ30、パーソナルコンピュータ40およびロギング装置100において実行される機能を、該機能の処理手順が格納されたプログラムとして構成し、このプログラムを図11に示すようにCPU、記憶装置等を有するコンピュータ装置で実行することによって実現することができる。 Next, the functions executed in the control device 10, the server personal computer 30, the personal computer 40, and the logging device 100 in the logging system according to the above-described embodiment are configured as a program storing the processing procedure of the function, As shown in FIG. 11, this program can be realized by executing it on a computer device having a CPU, a storage device and the like.
 図11は、上述した制御装置10、サーバパーソナルコンピュータ30、パーソナルコンピュータ40およびロギング装置100としての機能を実現するコンピュータ装置200の構成の一例を模式的に示すブロック図である。図11に示されるように、コンピュータ装置200は、LCD(Liquid Crystal Display)などの表示装置201、キーボードなどの入力装置202、演算を行うCPU203、ROM(Read Only Memory)などの不揮発性メモリ204、RAM(Random Access Memory)などの揮発性メモリ205、表示装置201に表示する表示画面を記憶する表示用メモリ206、フラッシュメモリなどの着脱可能な外部メモリとのインタフェースである外部メモリインタフェース207、外部機器との間で通信を行う通信インタフェース208などが内部バス209を介して接続された構成を有する。 FIG. 11 is a block diagram schematically showing an example of the configuration of the computer device 200 that realizes the functions of the control device 10, the server personal computer 30, the personal computer 40, and the logging device 100 described above. As shown in FIG. 11, the computer device 200 includes a display device 201 such as an LCD (Liquid Crystal Display), an input device 202 such as a keyboard, a CPU 203 that performs an operation, a nonvolatile memory 204 such as a ROM (Read Only Memory), Volatile memory 205 such as RAM (Random Access Memory), display memory 206 that stores a display screen displayed on the display device 201, external memory interface 207 that is an interface with a removable external memory such as a flash memory, and external devices The communication interface 208 and the like for communicating with each other are connected via an internal bus 209.
 そして、不揮発性メモリ204に格納された上記のシミュレーション方法の処理手順が記述されたプログラムが揮発性メモリ205にロードされ、CPU203によって実行される。このプログラムは、ハードディスク、CD(Compact Disk)、ROM(Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile DiskまたはDigital Video Disk)などのコンピュータ装置で読取可能な記録媒体に記録され、または、このプログラムは、インターネットなどのコンピュータネットワーク通信回線を介して配布することもできる。この場合には、通信インタフェース208を介して接続された情報処理端末からプログラムが不揮発性メモリ204上に格納される。 Then, a program describing the processing procedure of the simulation method stored in the nonvolatile memory 204 is loaded into the volatile memory 205 and executed by the CPU 203. This program is recorded on a computer-readable recording medium such as a hard disk, CD (Compact Disk), ROM (Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk or Digital Video Disk). Alternatively, this program can be distributed via a computer network communication line such as the Internet. In this case, the program is stored on the nonvolatile memory 204 from the information processing terminal connected via the communication interface 208.
 上述したように、本実施の形態にかかるロギングシステムでは、ロギング装置100が、外部のサーバパーソナルコンピュータ30の標準時刻に既定のタイミングで同期して時刻が補正される共通タイマ111と、絶対時刻タイマ110とを備える。絶対時刻タイマ110は、ロギング装置100の電源起動直後に、共通タイマ111の時刻に同期して時刻が補正された後はロギング装置100の稼働中において時刻の補正が行われない。 As described above, in the logging system according to the present embodiment, the logging device 100 includes the common timer 111 whose time is corrected in synchronization with the standard time of the external server personal computer 30 at a predetermined timing, and the absolute time timer. 110. The absolute time timer 110 does not correct the time during the operation of the logging device 100 after the time is corrected in synchronization with the time of the common timer 111 immediately after the logging device 100 is powered on.
 また、ロギング装置100が制御装置10から制御データを収集する際には、共通タイマ111からのタイムスタンプと絶対時刻タイマ110からの絶対時刻データとを制御データに付加して内部メモリ103に格納する。そして、絶対時刻タイマ110の値を基準にして、内部メモリ103に格納した制御データを制御装置10から取得した時系列順に並び替えする。これにより、共通タイマ111において外部の標準時刻との時刻同期による時計補正があっても、制御装置10の収集データを収集した時系列順に並び替えることができ、各制御装置10の稼働状況を容易に且つ確実に時系列順にまとめることができる。 Further, when the logging device 100 collects control data from the control device 10, the time stamp from the common timer 111 and the absolute time data from the absolute time timer 110 are added to the control data and stored in the internal memory 103. . Then, the control data stored in the internal memory 103 is rearranged in the chronological order acquired from the control device 10 based on the value of the absolute time timer 110. As a result, even if there is a clock correction by time synchronization with the external standard time in the common timer 111, the collected data of the control device 10 can be rearranged in order of the collected time, and the operating status of each control device 10 can be easily set. In addition, the data can be collected in chronological order.
 このように、本実施の形態にかかるロギングシステムでは、外部の標準時刻に同期する際に共通タイマ111の時刻が巻き戻った場合であっても、時刻同期の影響を受けない絶対時刻タイマの時刻を並び替えの基準に使用する。これにより、収集した制御データについて、制御装置10から制御データを取得した時系列順を判別することができ、また制御データ14が発生した時系列順を判別することができる。 Thus, in the logging system according to the present embodiment, even when the time of the common timer 111 is rewound when synchronizing with the external standard time, the time of the absolute time timer that is not affected by the time synchronization. Is used as a sorting criterion. Thereby, it is possible to determine the time series order in which the control data is acquired from the control device 10 for the collected control data, and it is possible to determine the time series order in which the control data 14 is generated.
 また、データを出力する際には、時刻同期をした結果である共通タイマ111のタイムスタンプを出力するため、どの時間にどのようなデータを収集したのかを、制御装置10を含む外部機器の時計と照らし合わせて確認できる。 When outputting data, the time stamp of the common timer 111, which is the result of time synchronization, is output, so what data is collected at what time and the clock of the external device including the control device 10 You can check against
 また、本実施の形態にかかるロギングシステムでは、収集した各制御装置10の制御データの並び替えの際に、基準となる間隔をロギングパラメータ114において指定することができる。この間隔としては、制御装置10のデータ収集間隔を指定できる。収集した各制御装置10の制御データの並び替えの結果、制御データの存在しない絶対時刻データの時刻が発生した場合、存在しない制御データを、ロギングパラメータ114において指定した形式で補間することができる。補間の形式としては、線形補間、同値補間などによる近似値補間が利用可能である。 In the logging system according to the present embodiment, the reference interval can be specified in the logging parameter 114 when the collected control data of each control device 10 is rearranged. As this interval, the data collection interval of the control device 10 can be designated. As a result of rearranging the collected control data of each control device 10, when the time of absolute time data that does not have control data occurs, the control data that does not exist can be interpolated in the format specified in the logging parameter 114. As an interpolation format, approximate value interpolation such as linear interpolation and equivalence interpolation can be used.
 したがって、本実施の形態にかかるロギングシステムによれば、制御装置10で発生した制御データを容易に且つ確実に、発生した時系列順に並び替えることができる、という効果を奏する。 Therefore, according to the logging system according to the present embodiment, there is an effect that the control data generated in the control device 10 can be easily and reliably rearranged in the order of the generated time series.
 以上のように、本発明にかかる、ロギングシステムは、制御装置で発生した制御データを容易に且つ確実に、発生した時系列順に並び替える場合に有用である。 As described above, the logging system according to the present invention is useful for rearranging the control data generated by the control device easily and reliably in the order of the time series generated.
 10 制御装置、11 CPU、12 制御実行部、13 制御プログラム、14 制御データ、15 制御データ格納部、16 制御データ転送部、17 通信部、20 バス、30 サーバパーソナルコンピュータ、31 時刻配信部、32 通信部、40 パーソナルコンピュータ、41 ロギング設定ツール、42 通信部、50 記憶メディア、60 ケーブル、100 ロギング装置、101 CPU、102 データ取得部、103 内部メモリ、104 データ記憶部、105 共有メモリ、106 制御データ、107 結合ファイル作成部、108 制御データ整列部、109 制御データ補間部、110 絶対時刻タイマ、111 共通タイマ、112 時刻同期要求部、113 リングバッファ領域、114 ロギングパラメータ、115 通信部、200 コンピュータ装置、201 表示装置、202 入力装置、203 CPU、204 不揮発性メモリ、205 揮発性メモリ、206 表示用メモリ、207 外部メモリインタフェース、208 通信インタフェース、209 内部バス。 10 control device, 11 CPU, 12 control execution unit, 13 control program, 14 control data, 15 control data storage unit, 16 control data transfer unit, 17 communication unit, 20 bus, 30 server personal computer, 31 time distribution unit, 32 Communication unit, 40 personal computer, 41 logging setting tool, 42 communication unit, 50 storage media, 60 cable, 100 logging device, 101 CPU, 102 data acquisition unit, 103 internal memory, 104 data storage unit, 105 shared memory, 106 control Data, 107 Combined file creation unit, 108 Control data alignment unit, 109 Control data interpolation unit, 110 Absolute time timer, 111 Common timer, 112 Time synchronization request unit, 113 Ring buffer area, 114 b Ing parameters, 115 communication unit, 200 computer system, 201 display unit, 202 input unit, 203 CPU, 204 non-volatile memory, 205 a volatile memory, 206 display memory, 207 an external memory interface, 208 a communication interface, 209 an internal bus.

Claims (11)

  1.  データ収集対象である複数の対象装置と、前記対象装置内のデータを前記複数の対象装置から収集して記録するロギング装置とを備えて構成されるロギングシステムであって、
     前記ロギング装置は、
     既定のタイミングで外部の標準時刻に同期して時刻が補正される第1時計と、
     前記ロギング装置の起動時に前記第1時計の時刻に同期して時刻が補正された後は前記ロギング装置の稼働中において時刻の補正が行われない第2時計と、
     前記複数の対象装置から取得した前記データを前記対象装置毎に格納するデータ記憶部と、
     前記複数の対象装置からそれぞれ既定の収集時間間隔で前記データを取得し、前記データ毎に前記対象装置から前記データを取得した際の前記第1時計の時刻と前記第2時計の時刻とを付加して前記データ記憶部に格納するデータ取得部と、
     前記記憶部に格納された前記複数の対象装置の前記データを、前記データを前記対象装置から取得した時系列順に並び替えて結合させるデータ整列部と、
     前記結合されたデータを格納する結合データ記憶部と、
     を備え、
     前記データ整列部は、前記記憶部に格納された前記データに付加された前記第2時計の時刻を基準にして前記複数の対象装置の前記データを前記時系列順に並び替えて結合させること、
     を特徴とするロギングシステム。
    A logging system comprising a plurality of target devices that are data collection targets, and a logging device that collects and records data in the target devices from the plurality of target devices,
    The logging device is
    A first clock whose time is corrected in synchronization with an external standard time at a predetermined timing;
    A second timepiece in which the time is not corrected during operation of the logging device after the time is corrected in synchronization with the time of the first timepiece when the logging device is activated;
    A data storage unit for storing the data acquired from the plurality of target devices for each target device;
    The data is acquired from each of the plurality of target devices at predetermined collection time intervals, and the time of the first clock and the time of the second clock when the data is acquired from the target device for each data is added. And a data acquisition unit to be stored in the data storage unit,
    A data aligning unit that rearranges and combines the data of the plurality of target devices stored in the storage unit in the time-series order obtained by acquiring the data from the target device;
    A combined data storage unit for storing the combined data;
    With
    The data sorting unit rearranges and combines the data of the plurality of target devices in the time series in reference to the time of the second clock added to the data stored in the storage unit;
    A logging system featuring.
  2.  被対象装置の制御を行う複数の対象装置と通信可能に接続されて、前記対象装置内のデータを前記複数の対象装置から収集して記録するロギング装置であって、
     既定のタイミングで外部の標準時刻に同期して時刻が補正される第1時計と、
     前記ロギング装置の起動時に前記第1時計の時刻に同期して時刻が補正された後は前記ロギング装置の稼働中において時刻の補正が行われない第2時計と、
     前記複数の対象装置から取得した前記データを前記対象装置毎に格納するデータ記憶部と、
     前記複数の対象装置からそれぞれ既定の収集時間間隔で前記データを取得し、前記データ毎に前記対象装置から前記データを取得した際の前記第1時計の時刻と前記第2時計の時刻とを付加して前記データ記憶部に格納するデータ取得部と、
     前記記憶部に格納された前記複数の対象装置の前記データを、前記データを前記対象装置から取得した時系列順に並び替えて結合させるデータ整列部と、
     前記結合されたデータを格納する結合データ記憶部と、
     を備え、
     前記データ整列部は、前記記憶部に格納された前記データに付加された前記第2時計の時刻を基準にして前記複数の対象装置の前記データを前記時系列順に並び替えて結合させること、
     を特徴とするロギング装置。
    A logging device that is communicably connected to a plurality of target devices that control the target device, collects and records data in the target devices from the plurality of target devices,
    A first clock whose time is corrected in synchronization with an external standard time at a predetermined timing;
    A second timepiece in which the time is not corrected during operation of the logging device after the time is corrected in synchronization with the time of the first timepiece when the logging device is activated;
    A data storage unit for storing the data acquired from the plurality of target devices for each target device;
    The data is acquired from each of the plurality of target devices at predetermined collection time intervals, and the time of the first clock and the time of the second clock when the data is acquired from the target device for each data is added. And a data acquisition unit to be stored in the data storage unit,
    A data aligning unit that rearranges and combines the data of the plurality of target devices stored in the storage unit in the time-series order obtained by acquiring the data from the target device;
    A combined data storage unit for storing the combined data;
    With
    The data sorting unit rearranges and combines the data of the plurality of target devices in the time series in reference to the time of the second clock added to the data stored in the storage unit;
    A logging device characterized by
  3.  前記収集時間間隔が、前記複数の対象装置間で異なり、
     前記データ整列部は、前記複数の対象装置のうちいずれか1つの対象装置から取得された前記データに付加された前記第2時計の時刻を基準にして、前記複数の対象装置から取得された前記データを前記時系列順に並び替えて結合させること、
     を特徴とする請求項2に記載のロギング装置。
    The collection time interval is different between the plurality of target devices,
    The data alignment unit is acquired from the plurality of target devices with reference to the time of the second clock added to the data acquired from any one of the plurality of target devices. Rearranging and combining the data in the chronological order;
    The logging device according to claim 2.
  4.  前記データ整列部は、前記複数の対象装置間で、取得された前記データの数量が異なる場合に、前記データの補間または前記データの間引きを行うこと、
     を特徴とする請求項3に記載のロギング装置。
    The data alignment unit interpolates the data or thins out the data when the quantity of the acquired data is different among the plurality of target devices;
    The logging device according to claim 3.
  5.  前記結合されたデータと前記第1時計の時刻とがファイルとして前記結合データ記憶部以外の外部記憶手段に出力され、
     前記ファイルが、該ファイルが作成された前記ロギング装置の情報を含むこと、
     を特徴とする請求項2から4のいずれか1つに記載のロギング装置。
    The combined data and the time of the first clock are output as a file to an external storage means other than the combined data storage unit,
    The file includes information of the logging device on which the file was created;
    The logging device according to any one of claims 2 to 4, wherein:
  6.  前記ロギング装置の情報として、前記ファイルが作成された前記ロギング装置の識別情報、前記第1時計の時刻の出力形式、前記結合されたデータに含まれる前記データが取得された前記対象装置を識別する情報が含まれること、
     を特徴とする請求項5に記載のロギング装置。
    As the information of the logging device, the identification information of the logging device in which the file is created, the output format of the time of the first clock, and the target device from which the data included in the combined data is acquired are identified Information is included,
    The logging device according to claim 5.
  7.  前記対象装置が、被制御装置の制御を行う制御装置であり、
     前記データが、前記制御装置が被制御装置の制御を行う際に発生する制御データであること、
     を特徴とする請求項2から6のいずれか1つに記載のロギング装置。
    The target device is a control device for controlling a controlled device;
    The data is control data generated when the control device controls the controlled device;
    The logging device according to any one of claims 2 to 6, wherein:
  8.  複数の対象装置内のデータを前記対象装置から収集してロギング装置に記録するデータロギング方法であって、
     前記複数の対象装置からそれぞれ既定の収集時間間隔で前記データを取得する第1工程と、
     前記取得したデータに対して前記データ毎に前記対象装置から前記データを取得した際の第1時計の時刻と第2時計の時刻とを付加して前記ロギング装置内のデータ記憶部に前記対象装置毎に記憶する第2工程と、
     前記データ記憶部に格納された前記複数の対象装置の前記データを、前記データを前記対象装置から取得した時系列順に並び替えて結合させて第3工程と、
     前記結合されたデータを前記ロギング装置内の結合データ記憶部に前記対象装置毎に記憶する第4工程と、
     を含み、
     前記第1時計は、既定のタイミングで外部の標準時刻に同期して時刻が補正される時計であり、
     前記第2時計は、前記ロギング装置の起動時に前記第1時計の時刻に同期して時刻が補正された後は前記ロギング装置の稼働中において時刻の補正が行われない時計であり、
     前記第3工程では、前記記憶部に格納された前記データに付加された前記第2時計の時刻を基準にして前記複数の対象装置の前記データを前記時系列順に並び替えて結合させること、
     を特徴とするデータロギング方法。
    A data logging method for collecting data in a plurality of target devices from the target device and recording the data in a logging device,
    A first step of acquiring the data at predetermined collection time intervals from the plurality of target devices, respectively;
    The target device is added to the data storage unit in the logging device by adding the time of the first clock and the time of the second clock when the data is acquired from the target device for each data to the acquired data. A second step of storing each time,
    A third step in which the data of the plurality of target devices stored in the data storage unit are rearranged in order of the time series obtained from the target devices and combined;
    A fourth step of storing the combined data for each target device in a combined data storage unit in the logging device;
    Including
    The first timepiece is a timepiece whose time is corrected in synchronization with an external standard time at a predetermined timing,
    The second timepiece is a timepiece whose time is not corrected during operation of the logging device after the time is corrected in synchronization with the time of the first time when the logging device is activated,
    In the third step, the data of the plurality of target devices are rearranged and combined in the time series based on the time of the second clock added to the data stored in the storage unit,
    Data logging method characterized by
  9.  前記収集時間間隔が、前記複数の対象装置間で異なり、
     前記第3工程では、前記複数の対象装置のうちいずれか1つの対象装置から取得された前記データに付加された前記第2時計の時刻を基準にして、前記複数の対象装置から取得された前記データを前記時系列順に並び替えて結合させること、
     を特徴とする請求項8に記載のデータロギング方法。
    The collection time interval is different between the plurality of target devices,
    In the third step, the time acquired from the plurality of target devices with reference to the time of the second clock added to the data acquired from any one of the plurality of target devices. Rearranging and combining the data in the chronological order;
    The data logging method according to claim 8.
  10.  前記第3工程では、前記複数の対象装置間で、取得された前記データの数量が異なる場合に、前記データの補間または前記データの間引きを行うこと、
     を特徴とする請求項9に記載のデータロギング方法。
    In the third step, when the quantity of the acquired data is different among the plurality of target devices, interpolation of the data or thinning of the data is performed.
    The data logging method according to claim 9.
  11.  前記対象装置が、被制御装置の制御を行う制御装置であり、
     前記データが、前記制御装置が被制御装置の制御を行う際に発生する制御データであること、
     を特徴とする請求項8から10のいずれか1つに記載のデータロギング方法。
    The target device is a control device for controlling a controlled device;
    The data is control data generated when the control device controls the controlled device;
    The data logging method according to any one of claims 8 to 10, wherein:
PCT/JP2014/065651 2014-06-12 2014-06-12 Logging system, logging device, and data logging method WO2015189969A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201480079749.8A CN106663048B (en) 2014-06-12 2014-06-12 Diary record system, log recording apparatus, data log record method
PCT/JP2014/065651 WO2015189969A1 (en) 2014-06-12 2014-06-12 Logging system, logging device, and data logging method
JP2016527579A JP6053996B2 (en) 2014-06-12 2014-06-12 Logging system, logging device, and data logging method
TW104118725A TWI557558B (en) 2014-06-12 2015-06-10 Logging system, loggiing device and data logging method

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 (1)

Publication Number Publication Date
WO2015189969A1 true WO2015189969A1 (en) 2015-12-17

Family

ID=54833097

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/065651 WO2015189969A1 (en) 2014-06-12 2014-06-12 Logging system, logging 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)

Cited By (1)

* 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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110998529B (en) * 2017-07-31 2021-08-20 三菱电机株式会社 Information processing apparatus 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 (6)

* 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
JP2006268688A (en) * 2005-03-25 2006-10-05 Nec Corp Method and apparatus for arranging data of multiple sequences
JP2008210234A (en) * 2007-02-27 2008-09-11 Nec Infrontia Corp Information processor, time correction processing method, and time correction processing program, and program recording medium
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100710939B1 (en) * 1999-03-30 2007-04-24 마츠시타 덴끼 산교 가부시키가이샤 Data processing system, data transmitting/receiving device, and recorded medium
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
JP4600447B2 (en) * 2007-08-30 2010-12-15 ブラザー工業株式会社 Log collection system and computer apparatus
JP5327239B2 (en) * 2011-01-31 2013-10-30 オムロン株式会社 Data collection device, and control method and control program for the data collection device

Patent Citations (6)

* 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
JP2006268688A (en) * 2005-03-25 2006-10-05 Nec Corp Method and apparatus for arranging data of multiple sequences
JP2008210234A (en) * 2007-02-27 2008-09-11 Nec Infrontia Corp Information processor, time correction processing method, and time correction processing program, and program recording medium
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

Cited By (1)

* 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

Also Published As

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

Similar Documents

Publication Publication Date Title
JP6053996B2 (en) Logging system, logging device, and data logging method
US10990084B2 (en) Control apparatus, data structure, and information processing method
JP6399136B1 (en) Control device, control program, and control system
EP3309647B1 (en) Control device and communication device
JP6388050B1 (en) Control device
CN107809560B (en) Method for synchronizing multi-view camera and FPGA chip
JP2016110458A (en) Programmable logic controller, basic unit, control method and program
CN112596877A (en) Global variable using method, device, system and computer readable storage medium
JP6704548B1 (en) Communication system, communication device and program
JP6528807B2 (en) Control system, control device, coupling method and program
CN113671894B (en) Functional unit and control device
JPWO2021019615A1 (en) Programmable logic controller, configuration tool, and program
JP2019175263A (en) Log recording device, control method, and program
US11513769B2 (en) Data acquisition system, input device, data acquisition apparatus, and data combining apparatus
JP4497317B2 (en) Control device clock synchronization
JP2015231172A (en) File creation time correction device
KR20010106407A (en) Peripheral device of programmable controller
JP6529670B2 (en) Programmable logic controller
DE112019006851T5 (en) SLAVE EQUIPMENT, TIME SYNCHRONIZATION PROGRAM, EMBEDDED SYSTEM AND TIME SYNCHRONIZATION METHOD
JP2015055884A (en) Plant monitoring system and plant monitoring method
JP5054495B2 (en) Computer system, data management method, data management program, and processing apparatus
JP2023151742A (en) Control system, controller, and control program
JP2023007659A (en) Control device, system program, and method
JP2021157413A (en) Production system, data transmission method, and program
CN117873596A (en) Configuration file synchronization method, distributed server cluster and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14894782

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016527579

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14894782

Country of ref document: EP

Kind code of ref document: A1