WO2017109850A1 - ロギング装置及びロギング方法 - Google Patents

ロギング装置及びロギング方法 Download PDF

Info

Publication number
WO2017109850A1
WO2017109850A1 PCT/JP2015/085792 JP2015085792W WO2017109850A1 WO 2017109850 A1 WO2017109850 A1 WO 2017109850A1 JP 2015085792 W JP2015085792 W JP 2015085792W WO 2017109850 A1 WO2017109850 A1 WO 2017109850A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
logging
condition
unit
memory area
Prior art date
Application number
PCT/JP2015/085792
Other languages
English (en)
French (fr)
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 PCT/JP2015/085792 priority Critical patent/WO2017109850A1/ja
Priority to CN201580059334.9A priority patent/CN107111310A/zh
Priority to KR1020177011103A priority patent/KR101893718B1/ko
Priority to JP2016569101A priority patent/JP6169293B1/ja
Publication of WO2017109850A1 publication Critical patent/WO2017109850A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0264Control of logging system, e.g. decision on which data to store; time-stamping measurements
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods
    • 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

Definitions

  • the present invention relates to a logging device and a logging method for storing data in time series.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a logging device that can be easily used at a production site.
  • the present invention provides a data acquisition unit that acquires data from the outside in time series, and a logging data storage unit that stores logging data for storing data in time series And a condition for determining when to divide the data in time series, a data logging unit that receives a trigger condition set by the user from the engineering tool, a trigger condition determination unit that determines whether the trigger condition is satisfied, Is provided.
  • the data logging unit writes data to the logging data, and when the trigger condition determining unit determines that the trigger condition is satisfied, the data logging unit writes the data to new logging data.
  • the logging device according to the present invention is advantageous in that it can be easily used at the production site.
  • FIG. 1 is a diagram illustrating a hardware configuration of an engineering tool for an industrial system including a logging device according to a first embodiment;
  • the figure which shows the functional block of the engineering tool of the industrial system containing the logging apparatus concerning Embodiment 1. 1 is a flowchart showing an operation of an engineering tool of an industrial system including a logging device according to a first embodiment;
  • FIG. 1 is a flowchart showing an operation of an engineering tool of an industrial system including a logging device according to a first embodiment;
  • the figure which shows the logging condition data input screen displayed on the display surface of the display part of the engineering tool of the industrial system containing the logging apparatus concerning Embodiment 1 1 is a diagram illustrating a hardware configuration of a logging device according to a first embodiment.
  • 1 is a diagram showing functional blocks of a logging device according to a first embodiment.
  • 1 is a flowchart showing the operation of the logging device according to the first embodiment.
  • FIG. 6 is a waveform diagram for explaining the operation of the logging device according to the first embodiment;
  • the figure which shows the memory content of the logging data storage part of the logging device concerning Embodiment 1 The figure which shows the memory content of the logging data storage part of the logging device concerning Embodiment 1
  • the figure which shows the memory content of the logging data storage part of the logging device concerning Embodiment 1 The figure which shows the memory content of the logging data storage part of the logging device concerning Embodiment 1
  • the figure which shows the memory content of the logging data storage part of the logging device concerning Embodiment 1 The figure which shows the memory content of the logging data storage part of the logging device concerning Embodiment 1
  • FIG. 1 is a diagram illustrating a hardware configuration of an industrial system including a logging device according to the first embodiment.
  • the industrial system 1 includes a machine 3 that executes an industrial process exemplified in product manufacture, and a programmable controller that controls the machine 3 (JIS (Japanese Industrial Standards) B 3502: 2011, programmable controllers (PLC)). 2 and an engineering tool 4 that communicates with the programmable controller 2.
  • JIS Japanese Industrial Standards
  • PLC programmable controllers
  • the programmable controller 2 includes a main board 21, an input / output unit 22, a network unit 23, and a logging device 24 connected to the main board 21 via the bus B1.
  • Each of the input / output unit 22, the network unit 23, and the logging device 24 is a sub-board of the programmable controller 2.
  • the input / output unit 22 is a transceiver that is connected to the machine 3 and outputs data received from the main board 21 to the machine 3 and transmits data input from the machine 3 to the main board 21.
  • the main board 21 controls the machine 3 by transmitting and receiving data to and from the machine 3 via the bus B1 and the input / output unit 22.
  • the network unit 23 is connected to the network N1, and the main board 21 is a transceiver that communicates with other devices via the network unit 23.
  • the logging device 24 is connected to the engineering tool 4 via the network N2.
  • the networks N1 and N2 are Ethernet (registered trademark, IEEE 802.3) or wireless LAN (Local Area Network, IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.11a / b / g / n / ac). Illustrated.
  • FIG. 2 is a diagram illustrating a hardware configuration of the main board of the industrial system including the logging device according to the first embodiment.
  • the main board 21 includes a CPU (Central Processing Unit) 21a, a memory 21b that is a RAM (Random Access Memory), a bus interface 21c, and a storage unit 21d.
  • the CPU 21a, the memory 21b, the bus interface 21c, and the storage unit 21d are connected via the bus B2.
  • the bus interface 21c is a bus bridge circuit that connects the bus B1 and the bus B2.
  • the storage unit 21d stores project data 21e.
  • the storage unit 21d is exemplified by SSD (Solid State Drive), HDD (Hard Disk Drive), or eMMC (embedded Multi Media Card).
  • the project data 21e includes a control program 21e1 for controlling the machine 3 described in a programming language exemplified by a ladder language, and a control parameter 21e2 referred to when the control program 21e1 is executed.
  • the project data 21e includes a device memory 21e3 which is data in which a memory reservation description for securing a device, which is a work area when the control program 21e1 is executed, in the memory 21b.
  • the project data 21e includes connection information 21e4 which is data in which a connection relationship between the input / output unit 22 and the machine 3 is described.
  • the CPU 21a controls the machine 3 by executing the control program 21e1 while referring to the control parameter 21e2 and using a device that is a work area secured in the memory 21b.
  • devices as a plurality of work areas are secured based on the description in the device memory 21e3.
  • Data written to a device which is a memory area reserved for output to the machine 3, is output to the machine 3 via the bus B2, the bus interface 21c, the bus B1, and the input / output unit 22.
  • Data input from the machine 3 to the input / output unit 22 is written to a device which is a memory area reserved for input from the machine 3 via the bus B1, the bus interface 21c, and the bus B2.
  • the memory 21b includes a device “D1” 21b1, a device “D2” 21b2, a device “D3” 21b3, and a device “D4” 21b4 that are memory areas reserved for input from the machine 3.
  • D1”, “D2”, “D3”, and “D4” are names of devices, and are attached to each device by the manufacturer of the programmable controller 2 or the user of the programmable controller 2.
  • an initial value “0” is stored in the device “D1” 21b1, the device “D2” 21b2, the device “D3” 21b3, and the device “D4” 21b4, which are memory areas.
  • the device “D1” 21b1 which is a memory area, stores “sensor abnormality detection” data input from the machine 3 to the input / output unit 22.
  • “0” is written if no sensor abnormality is detected by the machine 3
  • “1” is written if a sensor abnormality is detected by the machine 3.
  • the device “D2” 21b2 which is a memory area, stores “voltage drop” data input from the machine 3 to the input / output unit 22.
  • “0” is written if a voltage drop is not detected by the machine 3
  • “1” is written if a voltage drop is detected by the machine 3.
  • the device “D3” 21b3 which is a memory area stores “emergency stop” data input from the machine 3 to the input / output unit 22.
  • “0” is written if the machine 3 is not urgently stopped, and “1” is written if the machine 3 is urgently stopped.
  • the device “D4” 21b4 which is a memory area, stores “use of cutting tool” data input from the machine 3 to the input / output unit 22.
  • “0” is written if the machine 3 does not use the cutting tool, and “1” is written if the machine 3 uses the cutting tool.
  • FIG. 3 is a diagram illustrating a hardware configuration of the engineering tool of the industrial system including the logging device according to the first embodiment.
  • the engineering tool 4 can be realized using a computer.
  • the computer includes a CPU 41, a RAM 42, a ROM (Read Only Memory) 43, a storage unit 44, an input unit 45, a display unit 46, and a communication interface 47.
  • the CPU 41, RAM 42, ROM 43, storage unit 44, input unit 45, display unit 46, and communication interface 47 are connected via a bus B3.
  • the CPU 41 executes programs stored in the ROM 43 and the storage unit 44 while using the RAM 42 as a work area.
  • Examples of the program stored in the ROM 43 include BIOS (Basic Input / Output System) or UEFI (Unified Extensible Firmware Interface).
  • Examples of programs stored in the storage unit 44 include an operating system program and an engineering tool program.
  • the storage unit 44 is exemplified by SSD or HDD.
  • the input unit 45 is a receiver that receives an operation input from the user.
  • the input unit 45 is exemplified by a keyboard or a mouse.
  • the display unit 46 displays characters and images.
  • the display unit 46 is a display, and a liquid crystal display device is exemplified.
  • the communication interface 47 communicates with the logging device 24.
  • FIG. 4 is a diagram illustrating functional blocks of an engineering tool for an industrial system including the logging device according to the first embodiment.
  • the storage unit 44 stores a trigger condition data creation program 44a. Based on the input from the user, the trigger condition data creation program 44a creates trigger condition data 44c, which is a condition for determining when the data stored in the device that is the memory area is divided in time series, and creates the logging device 24. It is a program for sending to.
  • trigger condition data 44c which is a condition for determining when to chronologically divide the data stored in the device that is the memory area, based on the input from the user.
  • a trigger condition data creation unit 41a that creates and transmits the data to the logging device 24 is realized.
  • the storage unit 44 stores a logging condition data creation program 44b.
  • the logging condition data creation program 44b is stored in the device that is the memory area or the number of times that the data stored in the device that is the memory area has changed to a predetermined value based on the input from the user.
  • This is a program for creating logging condition data 44d, which is a condition for counting the accumulated time during which the data maintains a predetermined value, and sending it to the logging device 24.
  • the CPU 41 executes the logging condition data creation program 44b, the number of times the data stored in the device that is the memory area has changed to a predetermined value or the device that is the memory area based on the input from the user
  • FIG. 5 is a flowchart showing the operation of the engineering tool of the industrial system including the logging device according to the first embodiment.
  • the trigger condition data creation unit 41a displays a trigger condition data input screen for inputting trigger condition data on the display unit 46 in step S100.
  • the trigger condition data creation unit 41a accepts input of trigger condition data via the input unit 45 in step S102.
  • FIG. 6 is a diagram illustrating a trigger condition data input screen displayed on the display surface of the display unit of the engineering tool of the industrial system including the logging device according to the first embodiment.
  • the trigger condition data creation unit 41a displays a trigger condition data input screen 49 on the display surface 46a of the display unit 46.
  • the trigger condition data input screen 49 includes a selection area 49a for selecting when a single condition is used as a trigger condition, and a selection area 49b for selecting when a combination of a plurality of conditions is used as a trigger condition. Including.
  • the selection area 49a is selected by the user, and a single condition is set as a trigger condition.
  • the trigger condition data input screen 49 includes an input field 49g for inputting a trigger condition.
  • the input field 49g includes a first item 49g1 for inputting the type of trigger condition and a second item 49g2 for inputting the setting content of the trigger condition.
  • the type of trigger condition is exemplified by a value of time or device data.
  • the user When the single condition is set as the trigger condition, the user operates the input unit 45 to input the single trigger condition in the first row 49g3 of the input field 49g.
  • the trigger condition type “time” is input to the first item 49g1 of the first line 49g3.
  • the setting condition “every hour” of the trigger condition is input. Therefore, in the first embodiment, the trigger condition is satisfied every hour.
  • the trigger condition data input screen 49 includes a selection area 49c that is selected when an OR (logical sum) of a plurality of conditions is set as a trigger condition.
  • the user When a combination of a plurality of conditions is used as a trigger condition, the user inputs a plurality of conditions in a plurality of lines in the input field 49g.
  • the trigger condition is whether the value of the memory area device “D1” is “5” or the memory area device “F1” is “ON”
  • the user selects Regions 49b and 49c are selected.
  • the trigger condition data input screen 49 includes a selection area 49d that is selected when AND (logical product) of a plurality of conditions is used as a trigger condition.
  • the trigger condition data input screen 49 includes a selection area 49e that is selected when setting the number of times the condition is satisfied and setting the condition as the trigger condition.
  • the trigger condition data input screen 49 includes a selection area 49f that is selected when the order in which a plurality of conditions are satisfied is set and the condition is satisfied in the setting order.
  • the trigger condition data creation unit 41a creates trigger condition data 44c in the storage unit 44 based on the input from the user in step S104.
  • the trigger condition data 44c includes a first item 44c1 for storing the type of the trigger condition and a second item 44c2 for storing the setting content of the trigger condition.
  • the first item 44c1 stores the trigger condition type “time”
  • the second item 44c2 stores the trigger condition content “every hour”.
  • step S106 the trigger condition data creation unit 41a transmits the trigger condition data 44c to the logging device 24, and ends the process.
  • the logging device 24 receives the trigger condition data 44 c from the engineering tool 4.
  • FIG. 7 is a flowchart showing the operation of the engineering tool of the industrial system including the logging device according to the first embodiment.
  • step S110 the logging condition data creating unit 41b displays a logging condition data input screen for inputting logging condition data on the display unit 46.
  • the logging condition data creation unit 41b accepts input of logging condition data via the input unit 45 in step S112.
  • FIG. 8 is a diagram illustrating a logging condition data input screen displayed on the display surface of the display unit of the engineering tool of the industrial system including the logging device according to the first embodiment.
  • the logging condition data creation unit 41b displays a logging condition data input screen 48 on the display surface 46a of the display unit 46.
  • the logging condition data input screen 48 includes an input field 48a for inputting logging conditions.
  • the input field 48a includes a seventh item 48a7 for inputting a condition for counting devices that are memory areas.
  • the input field 48a is a memory area that is a target of counting the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7.
  • a first item 48a1 for inputting the beginning and end of the device is included.
  • the input field 48a is a memory area that is a target of counting the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7. It includes a second item 48a2 for entering the device data type.
  • the input field 48a is a memory area that is a target of counting the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7. And a third item 48a3 for inputting the size of the device.
  • the input field 48a is a memory area that is a target of counting the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7.
  • a fourth item 48a4 for inputting the meaning content of the output value of the device value is included.
  • the input field 48a is a memory area that is a target of counting the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7. It includes a fifth item 48a5 for inputting device scaling.
  • the input field 48a is a memory area that is a target of counting the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7.
  • a sixth item 48a6 for inputting the output format of the device is included.
  • four logging conditions are input in four lines from the first line 48a8 to the fourth line 48a11 of the input field 48a.
  • the number of times of change so as to satisfy the condition input to the seventh item 48a7 and the accumulated time maintaining the condition input to the seventh item 48a7 are maintained.
  • the first and last “D1” of the device that is the memory area to be counted are input.
  • the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7 are maintained.
  • the data type “word (signed)” of the device “D1”, which is the memory area, is input.
  • the third item 48a3 in the first row 48a8 of the input field 48a includes the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7. Since the data type of the device “D1”, which is the memory area to be counted, is “word (signed)”, the input is omitted.
  • the number of times changed so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7 are maintained.
  • the meaning content “number of times” of the device “D1”, which is the memory area, is input.
  • the fifth item 48a5 in the first row 48a8 of the input field 48a includes the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7. Since the scaling of the device “D1” which is the memory area to be counted is not performed, the input is omitted.
  • the sixth item 48a6 in the first row 48a8 of the input field 48a includes the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7.
  • the number of times changed so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7 The head and end “D2” of the device that is the memory area to be counted are input.
  • the same value as the second item 48a2 to the seventh item 48a7 in the first row 48a8 is input to the second item 48a2 to the seventh item 48a7 in the second row 48a8 of the input column 48a.
  • the number of times of change so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7 are maintained.
  • the first and last “D3” of the device that is the memory area to be counted are input.
  • the same value as the second item 48a2 to the seventh item 48a7 in the first row 48a8 is input to the second item 48a2 to the seventh item 48a7 in the third row 48a10 of the input column 48a.
  • the number of times changed so as to satisfy the condition input in the seventh item 48a7 and the accumulated time maintaining the condition input in the seventh item 48a7 The head and end “D4” of the device that is the memory area to be counted are input.
  • the same value as the second item 48a2 to the seventh item 48a7 in the first row 48a8 is input to the second item 48a2 to the seventh item 48a7 in the fourth row 48a11 of the input column 48a.
  • the logging condition data creation unit 41b creates logging condition data 44d in the storage unit 44 based on the input from the user in step S114.
  • the logging condition data 44d includes a first item 44d1 for storing a device that is a memory area to be counted and a second condition for counting a device that is a memory area to be counted. And item 44d2.
  • the logging condition described in the first row 44d3 of the logging condition data 44d is referred to as a first logging condition.
  • the logging condition described in the second row 44d4 of the logging condition data 44d is referred to as a second logging condition.
  • the logging condition described in the third row 44d5 of the logging condition data 44d is referred to as a third logging condition.
  • the logging condition described in the fourth row 44d6 of the logging condition data 44d is referred to as a fourth logging condition.
  • the logging condition data creation unit 41b transmits the logging condition data 44d to the logging device 24 in step S116, and ends the process.
  • the logging device 24 receives the logging condition data 44d from the engineering tool 24.
  • FIG. 9 is a diagram illustrating a hardware configuration of the logging device according to the first embodiment.
  • the logging device 24 includes a bus interface 24a, a CPU 24b, a nonvolatile storage unit 24c, a logging data storage unit 24e that is a removable nonvolatile storage medium stored in a slot 24d, and a network interface 24f.
  • the bus interface 24a, CPU 24b, nonvolatile storage unit 24c, logging data storage unit 24e, and network interface 24f are connected via a bus B3.
  • the bus interface 24a is a bus bridge circuit that connects the bus B1 and the bus B3.
  • the network interface 24f is connected to the engineering tool 4 via the network N2.
  • Non-volatile storage unit 24c is exemplified by SSD, HDD, or eMMC.
  • the logging data storage unit 24e is exemplified by an SD card (registered trademark), CompactFlash (registered trademark), USB memory, or DVD (Digital Versatile Disc).
  • the logging data storage unit 24e is a removable non-volatile storage unit, data portability is improved.
  • the logging data storage unit 24e may be a non-removable nonvolatile storage unit.
  • the non-removable nonvolatile storage unit is exemplified by SSD or eMMC.
  • the slot 24d is unnecessary, so that the number of components, the mounting area, or the cost can be reduced.
  • FIG. 10 is a functional block diagram of the logging device according to the first embodiment.
  • the nonvolatile storage unit 24c stores a data acquisition program 24c1 that acquires data from the outside in time series.
  • the data acquisition unit 24b1 that acquires data from the outside in time series is realized.
  • the non-volatile storage unit 24c stores a data logging program 24c2.
  • the data logging program 24c2 is a program for receiving the trigger condition data 44c and the logging condition data 44d from the engineering tool 4 and writing them into the nonvolatile storage unit 24c.
  • the data logging program 24c2 is a program for writing data acquired from the outside to the logging data storage unit 24e.
  • the trigger condition data 44c and the logging condition data 44d are received from the engineering tool 4 and written to the nonvolatile storage unit 24c, and the data acquired from the outside is written to the logging data storage unit 24e.
  • the data logging unit 24b2 is realized.
  • the non-volatile storage unit 24c stores a trigger condition determination program 24c3 that determines whether or not the trigger condition is satisfied.
  • the trigger condition determination unit 24b3 that determines whether or not the trigger condition is satisfied is realized.
  • the non-volatile storage unit 24c stores a logging condition determination program 24c4 that determines whether any of the first logging condition to the fourth logging condition is satisfied.
  • the logging condition determination unit 24b4 that determines whether any of the first logging condition to the fourth logging condition is satisfied is realized.
  • Nonvolatile storage unit 24c stores trigger condition data 44c and logging condition data 44d received from engineering tool 4.
  • FIG. 11 is a flowchart of the operation of the logging device according to the first embodiment.
  • the time when the logging device 24 starts executing the flowchart shown in FIG. 11 is set to 14:00:00.
  • step S200 the data logging unit 24b2 determines whether it is a return from a power failure. If it is determined that the data logging unit 24b2 is not a recovery from a power failure (No), the process proceeds to step S202. If the data logging unit 24b2 determines that the recovery is from a power failure (Yes), the process proceeds to step S206.
  • step S202 the data logging unit 24b2 creates a count counter and an accumulated time counter for each of the first logging condition to the fourth logging condition.
  • the memory area of the “sensor abnormality detection” number counter 24c5 is secured in the nonvolatile storage unit 24c, and the initial value “0” is stored in the “sensor abnormality detection” number counter 24c5.
  • the memory area of the counter 24c6 is secured in the nonvolatile storage unit 24c, and the initial value “0” is stored in the “sensor abnormality detection” accumulated time counter 24c6.
  • the area is secured in the nonvolatile storage unit 24c, and the initial value “0” is stored in the “voltage drop” number counter 24c7.
  • the area is secured in the nonvolatile storage unit 24c, and the initial value “0” is stored in the “emergency stop” number counter 24c9.
  • the area is secured in the nonvolatile storage unit 24c, and the initial value “0” is stored in the “blade use” number counter 24c11.
  • the data logging unit 24b2 performs the “voltage drop” in the “sensor abnormality detection” data in the device “D1” 21b1 that is the memory area and the “voltage drop” in the device “D2” 21b2 that is the memory area.
  • a file of data 24e1 is created in the logging data storage unit 24e.
  • FIG. 12 is a diagram illustrating the storage contents of the logging data storage unit of the logging device according to the first embodiment.
  • the first logging data 24e1 in the logging data storage unit 24e includes a first row 24e1a for storing “sensor abnormality detection” data of the device “D1” 21b1, which is a memory area, in time series, and a device that is a memory area.
  • the second row 24e1b for storing “D2” 21b2 “voltage drop” data in time series, and the “emergency stop” data for the device “D3” 21b3, which is a memory area, are stored in time series.
  • 3 rows 24e1c and a fourth row 24e1d for storing data of “use of blade” of the device “D4” 21b4 which is a memory area in time series.
  • the trigger condition data 44c stores the trigger condition type “time” and the trigger condition content “every hour”. Therefore, in the first embodiment, the trigger condition is satisfied every hour.
  • the data acquisition cycle of the logging device 24 is 1 second.
  • the first logging data 24e1 includes 3600 items from the current time “14:00:00” to “14:59:59” after 59 minutes 59 seconds in increments of 1 second.
  • the data logging unit 24b2 skips step S202 and step S204 if it is determined that the power recovery from power failure is determined in step S200 (Yes). This is because the non-volatile storage unit 24c is non-volatile, and the number counter and the accumulated time counter immediately before the power failure remain in the non-volatile storage unit 24c, so that it is not necessary to create the number counter and the accumulated time counter. . Further, since the logging data storage unit 24e is also non-volatile, the logging data immediately before the power failure remains in the logging data storage unit 24e, so that it is not necessary to create a count counter and an accumulated time counter.
  • the data logging unit 24b2 can perform logging by taking over the number counter, cumulative time counter, and logging data until immediately before the power failure.
  • the logging device 24 repeatedly executes steps S206 to S228 every data acquisition cycle, that is, every second.
  • step S206 the data acquisition unit 24b1 acquires data of the device “D1” 21b1, the device “D2” 21b2, the device “D3” 21b3, and the device “D4” 21b4 which are memory areas.
  • the data acquisition unit 24b1 snoops the bus communication between the input / output unit 22 and the main board 21, thereby the device “D1” 21b1, the device “D2” 21b2, and the device “D3” 21b3 which are memory areas.
  • the data of the device “D4” 21b4 may be acquired.
  • the data acquisition unit 24b1 performs bus communication with the main board 21 to store the data of the device “D1” 21b1, the device “D2” 21b2, the device “D3” 21b3, and the device “D4” 21b4, which are memory areas. You may acquire from the board
  • step S208 the data acquisition unit 24b1 writes the data of the device “D1” 21b1, the device “D2” 21b2, the device “D3” 21b3, and the device “D4” 21b4 to the current logging data.
  • the logging condition determination unit 24b4 determines whether or not any of the first logging condition to the fourth logging condition is satisfied in step S210. When the logging condition determination unit 24b4 determines that any of the first logging condition to the fourth logging condition is satisfied (Yes), the process proceeds to step S212, and any of the first logging condition to the fourth logging condition is performed. If it is determined that is not satisfied (No), the process proceeds to step S218.
  • step S212 the logging condition determination unit 24b4 determines whether the data of the device that satisfies the logging condition from the first logging condition to the fourth logging condition has changed from the previous time.
  • the process proceeds to step S214, and the first If it is determined that the data of the device satisfying the logging condition from the logging condition to the fourth logging condition has not changed from the previous time (No), the process proceeds to step S216.
  • step S214 the data logging unit 24b2 counts up the number-of-times counter of the device that satisfies the logging condition from the first logging condition to the fourth logging condition.
  • step S216 the data logging unit 24b2 counts up the cumulative time counter of the device that satisfies the logging condition from the first logging condition to the fourth logging condition.
  • the trigger condition determination unit 24b3 determines whether or not the trigger condition is satisfied in step S218. If the trigger condition determination unit 24b3 determines that the trigger condition is satisfied (Yes), the process proceeds to step S220. If the trigger condition determination unit 24b3 determines that the trigger condition is not satisfied (No), the process proceeds to step S228.
  • step S220 the data logging unit 24b2 writes the number of times in the all times counter and the accumulated time in the all accumulated time counter in the logging data storage unit 24e.
  • step S222 the data logging unit 24b2 clears the total number counter and the total cumulative time counter to “0”.
  • step S224 the data logging unit 24b2 closes the current logging data file.
  • step S2266 the data logging unit 24b2 creates a new logging data file in the logging data storage unit 24e.
  • step S228, the data logging unit 24b2 waits for a data acquisition cycle time, that is, 1 second, and advances the process to step S206.
  • FIG. 13 is a waveform diagram for explaining the operation of the logging device according to the first embodiment.
  • step S206 the data acquisition unit 24b1 acquires data “0” of the device “D1” 21b1, which is a memory area.
  • step S206 the data acquisition unit 24b1 acquires data “0” of the device “D2” 21b2, which is a memory area.
  • step S206 the data acquisition unit 24b1 acquires data “0” of the device “D3” 21b3 which is a memory area.
  • step S206 the data acquisition unit 24b1 acquires data “0” of the device “D4” 21b4 which is a memory area.
  • step S208 the data logging unit 24b2 acquires the data “0” of the “sensor abnormality detection” of the device “D1” 21b1 that is the memory area and the “0” of the device “D2” 21b2 that is the memory area, which are acquired by the data acquisition unit 24b1.
  • Data “0” of “Voltage drop”, “Emergency stop” data “0” of the device “D3” 21b3 which is a memory area, and “0” data of “Blade use” of the device “D4” 21b4 which is a memory area, Write to the first logging data 24e1.
  • FIG. 14 is a diagram illustrating the storage contents of the logging data storage unit of the logging device according to the first embodiment.
  • step S208 the data logging unit 24b2 writes the data “0” of “sensor abnormality detection” of the device “D1” 21b1, which is a memory area, to the item of time “14:00:00” in the first row 24e1a. .
  • step S208 the data logging unit 24b2 writes the “voltage drop” data “0” of the device “D2” 21b2, which is a memory area, in the item of the time “14:00:00” in the second row 24e1b.
  • step S208 the data logging unit 24b2 writes the “emergency stop” data “0” of the device “D3” 21b3, which is a memory area, in the item of the time “14:00:00” in the third row 24e1c.
  • step S208 the data logging unit 24b2 writes the data “0” of “use of blade” of the device “D4” 21b4 which is a memory area in the item of time “14:00:00” of the fourth row 24e1d.
  • the data logging unit 24b2 receives data “0” of the device “D1” 21b1, which is a memory area, from the time 14:00:00 to the time 14:59:59, every data acquisition cycle, that is, every second.
  • the data “0” of the device “D2” 21b2 that is the memory area, the data “0” of the device “D3” 21b3 that is the memory area, and the data “0” of the device “D4” 21b4 that is the memory area are acquired.
  • the first logging data 24e1 is written.
  • the data “Use of blade” of the device “D4” 21b4 that is the memory area are “0”. .
  • step S210 No it is determined that the logging condition determining unit 24b4, between from the time 14: 00: 00 until immediately before the timing t 1, both unfilled from first logging condition to the fourth logging condition (step S210 No).
  • the “voltage drop” data of the device “D2” 21b2 that is the memory area changes from “0” to “1”
  • the “blade use” data of the device “D4” 21b4 that is the memory area Has changed from “0” to “1”.
  • data logging unit 24b2 at the timing t 1 counts up the "voltage drop” counter 24c7 and "blade use” counter 24C11. Accordingly, at the timing t 1, the value of the "voltage drop” counter 24c7 and “blade use” counter 24c11 becomes "1".
  • the logging condition determining unit 24b4 between from the timing t 1 to immediately before the timing t 2, it is determined that the second logging condition and the fourth logging condition is satisfied (Yes in step S210), is a memory area It is determined that the “voltage drop” data of the device “D2” 21b2 and the “blade use” data of the device “D4” 21b4 which is the memory area have not changed from the previous time (No in step S212).
  • the count data logging unit 24b2 between from the timing t 1 to immediately before the timing t 2, the data acquisition period, i.e. every second, the "voltage drop" cumulative time counter 24c8 and "blade use” cumulative time counter 24c12 Up.
  • the logging condition determining unit 24b4 at the timing t 2 (Yes in step S210) it is determined that the second logging condition is satisfied, a memory area device "D2" 21b2 data last "brownout” (No in step S212).
  • data logging unit 24b2 at the timing t 2 does not perform a count-up of the "blade use” cumulative time counter 24C12. Accordingly, at timing t 2, the value of the cumulative time counter 24c12 "blade use" becomes "10 minutes”.
  • data logging unit 24b2 at the timing t 2 counts up the cumulative time counter 24c8 "brownout".
  • data logging unit 24b2 between from the timing t 2 to immediately before the timing t 3, the data acquisition period, i.e. every second counts up the cumulative time counter 24c8 "brownout".
  • the “sensor abnormality detection” data of the device “D1” 21b1 which is the memory area changes from “0” to “1”
  • the data “use of blade” of the device “D4” 21b4 which is the memory area changes from “0” to “1”.
  • the logging condition determining unit 24b4 at the timing t 3 determines that the first logging condition and the fourth logging condition is satisfied (Yes in step S210), a memory area device "D1" 21b1 of the "sensor abnormality detecting It is determined that the data “and the blade use” data of the device “D4” 21b4 that is the memory area have changed from the previous time (Yes in step S212).
  • data logging unit 24b2 at the timing t 3 counts up the "sensor abnormality detection” counter 24c5 and "blade use” counter 24C11. Accordingly, at the timing t 3, the value of "sensor abnormality detection” counter 24c5 is “1", the value of the "blade use” counter 24c11 is "2".
  • data logging unit 24b2 at the timing t 3 does not perform a count-up of the cumulative time counter 24c8 "brownout". Accordingly, at the timing t 3, the value of the cumulative time counter 24c8 "brownout" becomes "20 minutes”.
  • the logging condition determining unit 24b4 between from the timing t 3 to immediately before the timing t 4, is determined as the first logging condition and the fourth logging condition is satisfied (Yes in step S210), is a memory area It is determined that the “sensor abnormality detection” data of the device “D1” 21b1 and the “blade use” data of the device “D4” 21b4 which is the memory area have not changed from the previous time (No in step S212).
  • data logging unit 24b2 between from the timing t 3 to immediately before the timing t 4, the data acquisition period, i.e. every second, the "sensor abnormality detection" cumulative time counter 24c6 and “blade use” cumulative time counter 24c12 Count up.
  • the “sensor abnormality detection” data of the device “D1” 21b1 that is the memory area and the “use of blade” data of the device “D4” 21b4 that is the memory area change from “1” to “0”. is doing.
  • the logging condition determining unit 24b4 determines that the timing t 4, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • data logging unit 24b2 at the timing t 4 does not perform counting of the "sensor abnormality detection” cumulative time counter 24c6 and "blade use” cumulative time counter 24C12. Accordingly, at the timing t 4, "sensor abnormality detection” value of the accumulation time counter 24c6 is “10 minutes”, “blade use” value of the accumulation time counter 24c12 is "20 minutes”.
  • a memory area device “D1" 21b1 data "sensor abnormality detection” is the device “D2" 21b2 of a memory area “brownout” data
  • the memory The data “Emergency stop” of the device “D3” 21b3 which is the area and the data “Use of blade” of the device “D4” 21b4 which is the memory area are “0”.
  • the logging condition determining unit 24b4 determines that the period from the timing t 4 until immediately before the timing t 5, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • a memory area device "D1" 21b1 of the "sensor abnormality detection” data, a memory area device “D3" 21b3 of the data and the memory area of "Emergency Stop” device “D4" 21b4 of The data of “blade use” has changed from “0” to “1”.
  • the logging condition determining unit 24b4 at the timing t 5 determines that the logging condition and fourth logging condition is satisfied (Yes in step S210), the device is a memory area "D1" 21b1 It is determined that the “sensor abnormality detection” data, the memory area device “D3” 21b3 “emergency stop” data, and the memory area device “D4” 21b4 “blade use” data have changed from the previous time. (Yes in step S212).
  • data logging unit 24b2 at the timing t 5 counts up the "sensor abnormality detection” counter 24C5, "emergency stop” counter 24c9 and “blade use” counter 24C11. Accordingly, at the timing t 5, the value of "sensor abnormality detection” counter 24c5 is “2”, the value of the “Emergency Stop” counter 24c9 is “1”, the value of the counter 24c11 "blade use” is It becomes “3”.
  • a memory area device "D1" 21b1 data "sensor abnormality detection” is the device “D3" 21b3 of the memory area "Emergency Stop ”And“ 1 ”is used for the data of“ D4 ”21b4 which is a memory area.
  • the logging condition determining unit 24b4 between from the timing t 5 to immediately before the timing t 6, the first logging conditions, is judged to third logging conditions and fourth logging condition is satisfied (Yes in Step S210) , “Sensor abnormality detection” data of the device “D1” 21b1 which is the memory area, “emergency stop” data of the device “D3” 21b3 which is the memory area, and “use of cutting tool” of the device “D4” 21b4 which is the memory area Is determined not to have changed since the previous time (No in step S212).
  • data logging unit 24b2 between from the timing t 5 to immediately before the timing t 6, the data acquisition period, i.e. every second, "sensor abnormality detection” cumulative time counter 24C6, "emergency stop” cumulative time counter 24c10 and “Cutting tool used” cumulative time counter 24c12 is counted up.
  • the “sensor abnormality detection” data of the device “D1” 21b1 that is the memory area, the “emergency stop” data of the device “D3” 21b3 that is the memory area, and the device “D4” 21b4 that is the memory area The data of “blade use” changes from “1” to “0”.
  • the logging condition determining unit 24b4 determines that the timing t 6, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • data logging unit 24b2 at the timing t 6 not performed "sensor abnormality detection” count-up of the cumulative time counter 24C6, "emergency stop” cumulative time counter 24c10 and “blade use” cumulative time counter 24C12. Accordingly, at the timing t 6, the value of "sensor abnormality detection” accumulated time counter 24c6 is “20 minutes”, “emergency stop” value of the accumulation time counter 24c10 is “10 minutes”, “blade use” cumulative time The value of the counter 24c12 is “30 minutes”.
  • a memory area device “D1" 21b1 data "sensor abnormality detection” is the device “D2" 21b2 of a memory area “brownout” data
  • the “emergency stop” data of the device “D3” 21b3 as the memory area and the “use of blade” data of the device “D4” 21b4 as the memory area are “0”.
  • the logging condition determining unit 24b4 between from the timing t 6 to the time 14 hours 59 minutes 59 seconds, in the determining (step S210 both unfilled from first logging condition to fourth logging condition No ).
  • the trigger condition determining unit 24b3 determines that the trigger condition is satisfied (Yes in step S218).
  • the data logging unit 24b2 has the “sensor abnormality detection” number counter 24c5, the “voltage drop” number counter 24c7, the “emergency stop” number counter 24c9 and the “blade tool used” number counter 24c11 at the time 14:59:59.
  • FIG. 15 is a diagram illustrating storage contents of the logging data storage unit of the logging device according to the first embodiment.
  • the first logging data 24e1 includes the data “sensor abnormality detection” of the device “D1” 21b1, which is the memory area, from the time 14:00:00 to the time 14:59:59, and the device “ D2 ”21b2“ Voltage drop ”data, Memory area device“ D3 ”21b3“ Emergency stop ”data and Memory area device“ D4 ”21b4“ Blade use ”data stored in time series Has been.
  • the data logging unit 24b2 attaches the first auxiliary data 24e2 to the first logging data 24e1.
  • the first auxiliary data 24e2 includes “sensor abnormality detection” number data 24e2a, “sensor abnormality detection” accumulated time data 24e2b, “voltage drop” number data 24e2c, “voltage drop” accumulated time data 24e2d, and “emergency stop” "Times data 24e2e”, “emergency stop” accumulated time data 24e2f, "blade tool used” number data 24e2g, and “blade tool used” accumulated time data 24e2h.
  • the value of the “sensor abnormality detection” count data 24e2a is “2”, and the value of the “sensor abnormality detection” accumulated time data 24e2b is “20 minutes”.
  • the value of the “voltage drop” frequency data 24e2c is “1”, and the value of the “voltage drop” accumulated time data 24e2d is “20 minutes”.
  • the value of the “emergency stop” frequency data 24e2e is “1”, and the value of the “emergency stop” accumulated time data 24e2f is “10 minutes”.
  • the value of “blade use” count data 24e2g is “3”, and the value of “blade use” cumulative time data 24e2h is “30 minutes”.
  • the data logging unit 24b2 includes a “sensor abnormality detection” number counter 24c5, a “sensor abnormality detection” accumulated time counter 24c6, a “voltage drop” number counter 24c7, a “voltage drop” accumulated time counter 24c8, and an “emergency stop” number.
  • the counter 24c9, the “emergency stop” accumulated time counter 24c10, the “blade tool used” frequency counter 24c11 and the “blade tool used” accumulated time counter 24c12 are cleared (step S222).
  • the data logging unit 24b2 closes the file of the first logging data 24e1 (step S224), and creates a new file of the second logging data 24e3 in the logging data storage unit 24e (step S226).
  • the data logging unit 24b2 stores data “0” of the device “D1” 21b1, which is a memory area, at a data acquisition period, that is, every second from the time 15:00:00 to the time 15:59:59.
  • the data “0” of the device “D2” 21b2 that is the memory area, the data “0” of the device “D3” 21b3 that is the memory area, and the data “0” of the device “D4” 21b4 that is the memory area are acquired.
  • the second logging data 24e3 is written.
  • a memory area device “D1" 21b1 of the "sensor abnormality detection” data the device “D2” is a memory area 21b2
  • the “voltage drop” data, the memory area device “D3” 21b3 “emergency stop” data, and the memory area device “D4” 21b4 “blade use” data are “0”.
  • the logging condition determining unit 24b4 between from the time 15: 00: 00 to the timing t 11, with the determining (step S210 both unfilled from first logging condition to fourth logging condition No ).
  • the “emergency stop” data of the device “D3” 21b3 that is the memory area changes from “0” to “1”
  • the “blade use” data of the device “D4” 21b4 that is the memory area Changes from “0” to “1”.
  • the logging condition determining unit 24b4 at a timing t 11 determines that the third logging conditions and fourth logging condition is satisfied (Yes in step S210), "emergency stop" device "D3" 21b3 is a memory area It is determined that the data of the device “D4” 21b4, which is the memory area, and the “use of cutting tool” data of the device “D4” 21b4 have changed from the previous time (Yes in step S212).
  • data logging unit 24b2 at a timing t 11 counts up the "emergency stop” counter 24c9 and “blade use” counter 24C11. Accordingly, at the timing t 11, the value of the "emergency stop” counter 24c9 and “blade use” counter 24c11 becomes "1".
  • the logging condition determining unit 24b4 between from the timing t 11 to immediately before the timing t 12, it is determined that the third logging conditions and fourth logging condition is satisfied (Yes in step S210), is a memory area It is determined that the “emergency stop” data of the device “D3” 21b3 and the “blade use” data of the device “D4” 21b4 which is the memory area have not changed from the previous time (No in step S212).
  • the count data logging unit 24b2 between from the timing t 11 to immediately before the timing t 12, the data acquisition period, i.e. every second, the "emergency stop" cumulative time counter 24c10 and “blade use” cumulative time counter 24c12 Up.
  • the logging condition determining unit 24b4 determines that the timing t 12, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • data logging unit 24b2 at a timing t 12 does not perform a count-up of the "emergency stop” cumulative time counter 24c10 and "blade use” cumulative time counter 24C12. Accordingly, at the timing t 12, the value of the "emergency stop” cumulative time counter 24c10 and “blade use” cumulative time counter 24c12 becomes "10 minutes”.
  • a memory area device “D1" 21b1 data "sensor abnormality detection” is the device “D2" 21b2 of a memory area “brownout” data
  • the memory The data “Emergency stop” of the device “D3” 21b3 which is the area and the data “Use of blade” of the device “D4” 21b4 which is the memory area are “0”.
  • the logging condition determining unit 24b4 determines that the period from the timing t 12 to immediately before the timing t 13, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • the “sensor abnormality detection” data of the device “D 1” 21 b 1 that is the memory area changes from “0” to “1”.
  • the logging condition determining unit 24b4 at a timing t 13 determined that the first logging condition is satisfied and (Yes at step S210), a memory area device "D1" 21b1 of the "sensor abnormality detection" previous data of From step S212 is determined (Yes in step S212).
  • data logging unit 24b2 at a timing t 13 counts up the counter 24c5 "sensor abnormality detection”. Accordingly, at the timing t 13, the value of the counter 24c5 "sensor abnormality detection”, becomes "1".
  • data logging unit 24b2 between from the timing t 13 to immediately before the timing t 14, the data acquisition period, i.e. every second counts up the cumulative time counter 24c6 "sensor abnormality detection".
  • the logging condition determining unit 24b4 at a timing t 14 determined that the first logging condition and the fourth logging condition is satisfied and (Yes at step S210), a memory area device "D4" 21b4 of the "blade use” Is determined to have changed from the previous time (Yes in step S212).
  • data logging unit 24b2 at a timing t 14 counts up the counter 24c11 "blade use”. Accordingly, at the timing t 14, the value of the counter 24c11 "blade use" becomes "2".
  • the logging condition determining unit 24b4 between from the timing t 14 to immediately before the timing t 15, and determines the first logging condition and the fourth logging condition is satisfied (Yes in step S210), is a memory area It is determined that the “sensor abnormality detection” data of the device “D1” 21b1 and the “blade use” data of the device “D4” 21b4 which is the memory area have not changed from the previous time (No in step S212).
  • data logging unit 24b2 between from the timing t 14 to immediately before the timing t 15, the data acquisition period, i.e. every second, the "sensor abnormality detection" cumulative time counter 24c6 and “blade use” cumulative time counter 24c12 Count up.
  • the logging condition determining unit 24b4 at a timing t 15 determines that the logging conditions are met, a memory area device "D4" 21b4 of the "blade use” data Is not changed from the previous time (No in step S212).
  • data logging unit 24b2 at a timing t 15 does not perform a count-up of the "sensor abnormality detection” cumulative time counter 24C6.
  • "sensor abnormality detection” value of the accumulation time counter 24c6 becomes "10 minutes”.
  • data logging unit 24b2 at a timing t 15 counts up the cumulative time counter 24c12 "blade use".
  • the logging condition determining unit 24b4 determines that the timing t 16, both from the first logging condition to the fourth logging condition is not satisfied (No at step S210).
  • data logging unit 24b2 at a timing t 16 does not perform a count-up of the "blade use” cumulative time counter 24C12. Accordingly, at the timing t 16, the value of the cumulative time counter 24c12 "blade use" becomes "20 minutes".
  • a memory area device “D1" 21b1 data "sensor abnormality detection” is the device “D2" 21b2 of a memory area “brownout” data
  • the memory The data “Emergency stop” of the device “D3” 21b3 which is the area and the data “Use of blade” of the device “D4” 21b4 which is the memory area are “0”.
  • the logging condition determining unit 24b4 determines that the period from the timing t 16 to immediately before the timing t 17, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • the logging condition determining unit 24b4 at a timing t 17 determined fourth logging condition is satisfied and (Yes at step S210), a memory area device "D4" 21b4 data from the previous "blade use” It determines with having changed (it is Yes at step S212).
  • data logging unit 24b2 at a timing t 17 counts up the counter 24c11 "blade use”. Accordingly, at the timing t 17, the value of the counter 24c11 "blade use" becomes "3".
  • the logging condition determining unit 24b4 between from the timing t 17 to immediately before the timing t 18, and determines a fourth logging condition is satisfied (Yes in step S210), the device is a memory area "D4" 21b4 It is determined that the “use of cutting tool” data has not changed from the previous time (No in step S212).
  • data logging unit 24b2 between from the timing t 17 to immediately before the timing t 18, the data acquisition period, i.e. every second counts up the cumulative time counter 24c12 "blade use".
  • the logging condition determining unit 24b4 determines that the timing t 18, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • data logging unit 24b2 at a timing t 18 does not perform a count-up of the "blade use” cumulative time counter 24C12. Accordingly, at the timing t 18, the value of the cumulative time counter 24c12 "blade use" becomes "30 minutes".
  • a memory area device “D1" 21b1 data "sensor abnormality detection” is the device “D2" 21b1 of a memory area “brownout” data
  • the “emergency stop” data of the device “D3” 21b3 as the memory area and the “use of blade” data of the device “D4” 21b4 as the memory area are “0”.
  • the logging condition determining unit 24b4 between from the timing t 18 to the time 15 hours 59 minutes 59 seconds, in the determining (step S210 both unfilled from first logging condition to fourth logging condition No ).
  • the trigger condition determining unit 24b3 determines that the trigger condition is satisfied (Yes in step S218).
  • the data logging unit 24b2 has the “sensor abnormality detection” number counter 24c5, the “voltage drop” number counter 24c7, the “emergency stop” number counter 24c9, and the “blade tool used” number counter 24c11 at the time 15:59:59.
  • FIG. 16 is a diagram illustrating storage contents of the logging data storage unit of the logging device according to the first embodiment.
  • the second logging data 24e3 includes the data “sensor abnormality detection” of the device “D1” 21b1, which is the memory area, from the time 15:00:00 to the time 15:59:59, and the device “ D2 ”21b2“ Voltage drop ”data, Memory area device“ D3 ”21b3“ Emergency stop ”data and Memory area device“ D4 ”21b4“ Blade use ”data stored in time series Has been.
  • the data logging unit 24b2 attaches the second auxiliary data 24e4 to the second logging data 24e3.
  • the second auxiliary data 24e4 includes “sensor abnormality detection” number data 24e4a, “sensor abnormality detection” accumulated time data 24e4b, “voltage drop” number data 24e4c, “voltage drop” accumulated time data 24e4d, and “emergency stop”. "Number-of-times data 24e4e”, “emergency stop” accumulated time data 24e4f, "blade tool used” number-of-times data 24e4g, and “blade tool used” accumulated time data 24e4h.
  • the value of the “sensor abnormality detection” count data 24e4a is “1”, and the value of the “sensor abnormality detection” accumulated time data 24e4b is “10 minutes”.
  • the value of the “voltage drop” frequency data 24e4c is “0”, and the value of the “voltage drop” accumulated time data 24e4d is “0 minutes”.
  • the value of the “emergency stop” frequency data 24e4e is “1”, and the value of the “emergency stop” accumulated time data 24e4f is “10 minutes”.
  • the value of the “blade use” count data 24e4g is “3”, and the value of the “blade use” cumulative time data 24e4h is “30 minutes”.
  • the data logging unit 24b2 includes a “sensor abnormality detection” number counter 24c5, a “sensor abnormality detection” accumulated time counter 24c6, a “voltage drop” number counter 24c7, a “voltage drop” accumulated time counter 24c8, and an “emergency stop” number.
  • the counter 24c9, the “emergency stop” accumulated time counter 24c10, the “blade tool used” frequency counter 24c11 and the “blade tool used” accumulated time counter 24c12 are cleared (step S222).
  • the data logging unit 24b2 closes the file of the second logging data 24e3 (step S224), and creates a new file of the third logging data 24e5 in the logging data storage unit 24e (step S226).
  • the data logging unit 24b2 receives data “0” of the device “D1” 21b1, which is a memory area, from the time 16:00:00 to the time 16:59:59, every data acquisition cycle, that is, every second.
  • the data “0” of the device “D2” 21b2 that is the memory area, the data “0” of the device “D3” 21b3 that is the memory area, and the data “0” of the device “D4” 21b4 that is the memory area are acquired. Then, it writes in the third logging data 24e5.
  • a memory area device “D1" 21b1 of the "sensor abnormality detection” data the device “D2” is a memory area 21b2
  • the “voltage drop” data, the memory area device “D3” 21b3 “emergency stop” data, and the memory area device “D4” 21b4 “blade use” data are “0”.
  • the logging condition determining unit 24b between from 00 minutes 00 seconds at the time 16 to time t 21, with the determining (step S210 both unfilled from first logging condition to fourth logging condition No ).
  • the data “use of blade” of the device “D4” 21b4 which is a memory area is changed from “0” to “1”.
  • the logging condition determining unit 24b4 at a timing t 21, determined fourth logging condition is satisfied and (Yes at step S210), a memory area device "D4" 21b4 data from the previous "blade use” It determines with having changed (it is Yes at step S212).
  • data logging unit 24b2 at a timing t 21 counts up the counter 24c11 "blade use”. Accordingly, at the timing t 21, the value of the counter 24c11 "blade use" becomes "1".
  • the logging condition determining unit 24b4 between from the timing t 21 to immediately before the timing t 22, determines a fourth logging condition is satisfied (Yes in step S210), the device is a memory area "D4" 21b4 It is determined that the “use of cutting tool” data has not changed from the previous time (No in step S212).
  • data logging unit 24b2 between from the timing t 21 to immediately before the timing t 22, the data acquisition period, i.e. every second counts up the cumulative time counter 24c12 "blade use".
  • the “sensor abnormality detection” data of the device “D1” 21b1 that is the memory area changes from “0” to “1”, and “use of the cutting tool” of the device “D4” 21b4 that is the memory area This data changes from “1” to “0”.
  • the logging condition determining unit 24b4 at a timing t 22 determined that the first logging condition is satisfied and (Yes at step S210), a memory area device "D1" 21b1 of the "sensor abnormality detection" previous data of From step S212 is determined (Yes in step S212).
  • data logging unit 24b2 at a timing t 22 counts up the counter 24c5 "sensor abnormality detection”. Accordingly, at the timing t 22, the value of the counter 24c5 "sensor abnormality detection”, becomes "1".
  • data logging unit 24b2 at a timing t 22 does not perform a count-up of the "blade use” cumulative time counter 24C12. Accordingly, at the timing t 22, the value of the cumulative time counter 24c12 "blade use" becomes "10 minutes".
  • data logging unit 24b2 between from the timing t 22 to immediately before the timing t 23, the data acquisition period, i.e. every second counts up the cumulative time counter 24c6 "sensor abnormality detection".
  • data logging unit 24b2 at a timing t 23 counts up the counter 24c11 "blade use”. Accordingly, at the timing t 23, the value of the counter 24c11 "blade use" becomes "2".
  • the logging condition determining unit 24b4 between from the timing t 23 to immediately before the timing t 24, and determines the first logging condition and the fourth logging condition is satisfied (Yes in step S210), is a memory area It is determined that the “sensor abnormality detection” data of the device “D1” 21b1 and the “blade use” data of the device “D4” 21b4 which is the memory area have not changed from the previous time (No in step S212).
  • data logging unit 24b2 between from the timing t 23 to immediately before the timing t 24, the data acquisition period, i.e. every second, the "sensor abnormality detection" cumulative time counter 24c6 and “blade use” cumulative time counter 24c12 Count up.
  • the logging condition determining unit 24b4 determines that the timing t 24, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • data logging unit 24b2 at a timing t 24 does not perform a count-up of the "sensor abnormality detection” cumulative time counter 24c6 and "blade use” cumulative time counter 24C12. Accordingly, at the timing t 24 , the value of the “sensor abnormality detection” accumulated time counter 24 c 6 is “20 minutes”, and the value of the “blade use” accumulated time counter 24 c 12 is “20 minutes”.
  • the data “Emergency stop” of the device “D3” 21b3 which is the area and the data “Use of blade” of the device “D4” 21b4 which is the memory area are “0”.
  • the logging condition determining unit 24b4 determines that the period from the timing t 24 to immediately before the timing t 25, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • data logging unit 24b2 at a timing t 25 counts up the "sensor abnormality detection” counter 24c5 and "blade use” counter 24C11. Accordingly, at the timing t 25 , the value of the “sensor abnormality detection” number counter 24 c 5 is “2”, and the value of the “blade use” number counter 24 c 11 is “3”.
  • the logging condition determining unit 24b4 between from the timing t 25 to immediately before the timing t 26, and determines the first logging condition and the fourth logging condition is satisfied (Yes in step S210), is a memory area It is determined that the “sensor abnormality detection” data of the device “D1” 21b1 and the “blade use” data of the device “D4” 21b4 which is the memory area have not changed from the previous time (No in step S212).
  • data logging unit 24b2 between from the timing t 25 to immediately before the timing t 26, the data acquisition period, i.e. every second, the "sensor abnormality detection" cumulative time counter 24c6 and “blade use” cumulative time counter 24c12 Count up.
  • the logging condition determining unit 24b4 determines that the timing t 26, both unfilled from first logging condition to the fourth logging condition (No at step S210).
  • data logging unit 24b2 at a timing t 26 does not perform a count-up of the "sensor abnormality detection" cumulative time counter 24c6 and "blade use” cumulative time counter 24C12. Accordingly, at the timing t 26, "sensor abnormality detection” value of the accumulation time counter 24c6 is “30 minutes”, “blade use” value of the accumulation time counter 24c12 is "30 minutes”.
  • a memory area device “D1" 21b1 data "sensor abnormality detection” is the device “D2" 21b2 of a memory area “brownout” data
  • the “emergency stop” data of the device “D3” 21b3 as the memory area and the “use of blade” data of the device “D4” 21b4 as the memory area are “0”.
  • the logging condition determining unit 24b4 between from the timing t 26 to the time 16 hours 59 minutes 59 seconds, in the determining (step S210 both unfilled from first logging condition to fourth logging condition No ).
  • the trigger condition determination unit 24b3 determines that the trigger condition is satisfied (Yes in step S218).
  • the data logging unit 24b2 includes the “sensor abnormality detection” number counter 24c5, the “voltage drop” number counter 24c7, the “emergency stop” number counter 24c9, and the “blade tool used” number counter 24c11 at the time 16:59:59.
  • FIG. 17 is a diagram illustrating the contents stored in the logging data storage unit of the logging device according to the first embodiment.
  • the third logging data 24e5 includes the data “sensor abnormality detection” of the device “D1” 21b1, which is the memory area, from the time 16:00:00 to the time 16:59:59, and the device “ D2 ”21b2“ Voltage drop ”data, memory area device“ D3 ”21b3“ emergency stop ”data and memory area device“ D4 ”21b4“ blade use ”data are stored in time series ing.
  • the data logging unit 24b2 attaches the third auxiliary data 24e6 to the third logging data 24e5.
  • the third auxiliary data 24e6 includes “sensor abnormality detection” number data 24e6a, “sensor abnormality detection” accumulated time data 24e6b, “voltage drop” number data 24e6c, “voltage drop” accumulated time data 24e6d, and “emergency stop”. "Times data 24e6e”, “emergency stop” accumulated time data 24e6f, "blade tool used” number data 24e6g, and “blade tool used” accumulated time data 24e6h.
  • the value of the “sensor abnormality detection” count data 24e6a is “2”, and the value of the “sensor abnormality detection” accumulated time data 24e6b is “30 minutes”.
  • the value of the “voltage drop” frequency data 24e6c is “0”, and the value of the “voltage drop” accumulated time data 24e6d is “0 minutes”.
  • the value of the “emergency stop” frequency data 24e6e is “0”, and the value of the “emergency stop” cumulative time data 24e6f is “0 minutes”.
  • the value of “blade use” count data 24e6g is “3”, and the value of “blade use” cumulative time data 24e6h is “30 minutes”.
  • the data logging unit 24b2 includes a “sensor abnormality detection” number counter 24c5, a “sensor abnormality detection” accumulated time counter 24c6, a “voltage drop” number counter 24c7, a “voltage drop” accumulated time counter 24c8, and an “emergency stop” number.
  • the counter 24c9, the “emergency stop” accumulated time counter 24c10, the “blade tool used” frequency counter 24c11 and the “blade tool used” accumulated time counter 24c12 are cleared (step S222).
  • the data logging unit 24b2 closes the third logging data 24e5 file (step S224), and creates a new fourth logging data file in the logging data storage unit 24e (step S226).
  • the data logging unit 24b2 includes “sensor abnormality detection” number data 24e2a, “sensor abnormality detection” accumulated time data 24e2b, “voltage drop” number data 24e2c, “voltage drop” accumulated time data 24e2d, First auxiliary data 24e2 including "emergency stop” number data 24e2e, “emergency stop” cumulative time data 24e2f, "blade tool use” number data 24e2g and “blade tool use” cumulative time data 24e2h is attached to the first logging data 24e1.
  • First auxiliary data 24e2 including "emergency stop” number data 24e2e, “emergency stop” cumulative time data 24e2f, "blade tool use” number data 24e2g and “blade tool use” cumulative time data 24e2h is attached to the first logging data 24e1.
  • the data logging unit 24b2 creates a first folder in the logging data storage unit 24e, the first logging data 24e1, the “sensor abnormality detection” frequency data 24e2a, the “sensor abnormality detection” accumulated time data 24e2b, and the “voltage drop”.
  • the frequency data 24e2c, the “voltage drop” cumulative time data 24e2d, the “emergency stop” frequency data 24e2e, the “emergency stop” cumulative time data 24e2f, the “blade use” count data 24e2g, and the “blade tool use” cumulative time data 24e2h You may arrange in the folder.
  • the data logging unit 24b2 creates a second folder in the logging data storage unit 24e, and the second logging data 24e3, “sensor abnormality detection” number of times data 24e4a, “sensor abnormality detection” accumulated time data 24e4b, “ “Voltage drop” number data 24e4c, “Voltage drop” accumulated time data 24e4d, “Emergency stop” number data 24e4e, “Emergency stop” accumulated time data 24e4f, "Blade tool use” number data 24e4g and “Blade tool use” accumulated time data 24e4h It may be arranged in the second folder.
  • the data logging unit 24b2 creates a third folder in the logging data storage unit 24e, and the third logging data 24e5, “sensor abnormality detection” number of times data 24e6a, “sensor abnormality detection” accumulated time data 24e6b, “ “Voltage drop” number data 24e6c, “Voltage drop” accumulated time data 24e6d, “Emergency stop” number data 24e6e, “Emergency stop” accumulated time data 24e6f, "Blade use” number data 24e6g and “Blade tool use” accumulated time data 24e6h It may be arranged in the third folder.
  • the logging device 24 has the following effects.
  • the data logging unit 24b2 divides the data from the device “D1” 21b1 which is the memory area to the device “D4” 21b4 which is the memory area at the timing when the trigger condition described in the trigger condition data 44c is satisfied, The first logging data 24e1, the second logging data 24e3, and the third logging data 24e5 are written.
  • the logging device 24 does not need to input a trigger signal from the outside, it is easy to use at the production site.
  • the user when a trouble occurs in the industrial system 1 at any timing from 14:00:00 to 14:59:59, the user only has to examine the first logging data 24e1, The second logging data 24e3 and the third logging data 24e5 need not be checked.
  • the logging device 24 makes it easy for the user to check the data, can reduce the work man-hours of the user, and can realize an early solution of the trouble.
  • the data logging unit 24b2 attaches the first auxiliary data 24e2 to the first logging data 24e1, attaches the second auxiliary data 24e4 to the second logging data 24e3, and adds the third auxiliary data 24e6 to the third logging data 24e5. Attached.
  • the user can first narrow down the trouble by examining the first auxiliary data 24e2, the second auxiliary data 24e4, or the third auxiliary data 24e6.
  • the user first checks the first auxiliary data 24e2, the second auxiliary data 24e4, or the third auxiliary data 24e6.
  • the value of the “voltage drop” frequency data 24e2c in the first auxiliary data 24e2 is “1”
  • the value of the “voltage drop” frequency data 24e4c in the second auxiliary data 24e4 is “0”
  • the third auxiliary data The value of the “voltage drop” frequency data 24e6c in 24e6 is “0”. Therefore, the user can narrow down until the timing at which the trouble of “voltage drop” occurs in the industrial system 1 is from 14:00 to 14:59:59. Therefore, the user need only check the first logging data 24e1, and does not need to check the second logging data 24e3 and the third logging data 24e5.
  • the logging device 24 makes it easy for the user to check the data, can reduce the work man-hours of the user, and can realize an early solution of the trouble.
  • the nonvolatile storage unit 24c is nonvolatile, so the number counter and the accumulated time counter immediately before the power failure remain in the nonvolatile storage unit 24c.
  • the logging data storage unit 24e is also non-volatile, the logging data immediately before the power failure remains in the logging data storage unit 24e.
  • the data logging unit 24b2 can perform logging by taking over the number counter, cumulative time counter, and logging data until immediately before the power failure.
  • the configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

Abstract

外部装置からデータを時系列で取得するデータ取得部と、データを格納するためのロギングデータを記憶するロギングデータ記憶部と、データを時系列で分ける時期を定める条件であり、ユーザによって設定されたトリガ条件をエンジニアリングツールから受信するデータロギング部と、トリガ条件が満たされたか否かを判定するトリガ条件判定部と、を備える。データロギング部は、データをロギングデータに書き込み、トリガ条件判定部でトリガ条件が満たされたと判定されたら、データを新たなロギングデータに書き込む。

Description

ロギング装置及びロギング方法
 本発明は、データを時系列に記憶するロギング装置及びロギング方法に関する。
 産業用制御システムにおいて、データを様々な状況で収集し、データを状況毎に収集しておきたいという要望がある。特に、トラブル発生時には、トラブルを解決するために、データの収集は重要である。
 下記の特許文献1には、CPU15は、光センサ14にトリガである光信号が入力されたことを検出すると、アンプ11,12の何れかに入力された信号の収録を開始し、光センサ14に次の光信号が入力されたことを検出すると、入力された信号の収録を停止する信号記録装置が記載されている(段落[0039])。
特開2005-274223号公報
 しかしながら、特許文献1記載の信号記録装置では、信号の収録の開始及び停止のために、トリガである光信号が入力される必要がある。従って、特許文献1記載の信号記録装置は、生産現場で使用し難いという問題があった。
 本発明は、上記に鑑みてなされたものであって、生産現場での使用が容易なロギング装置を得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、外部からデータを時系列で取得するデータ取得部と、データを時系列に格納するためのロギングデータを記憶するロギングデータ記憶部と、データを時系列で分ける時期を定める条件であり、ユーザによって設定されたトリガ条件をエンジニアリングツールから受信するデータロギング部と、トリガ条件が満たされたか否かを判定するトリガ条件判定部と、を備える。データロギング部は、データをロギングデータに書き込み、トリガ条件判定部でトリガ条件が満たされたと判定されたら、データを新たなロギングデータに書き込む。
 本発明にかかるロギング装置は、生産現場での使用が容易となるという効果を奏する。
実施の形態1にかかるロギング装置を含む産業システムの構成を示す図 実施の形態1にかかるロギング装置を含む産業システムのメイン基板のハードウェア構成を示す図 実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールのハードウェア構成を示す図 実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの機能ブロックを示す図 実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの動作を示すフローチャート 実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの表示部の表示面に表示されるトリガ条件データ入力画面を示す図 実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの動作を示すフローチャート 実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの表示部の表示面に表示されるロギング条件データ入力画面を示す図 実施の形態1にかかるロギング装置のハードウェア構成を示す図 実施の形態1にかかるロギング装置の機能ブロックを示す図 実施の形態1にかかるロギング装置の動作を示すフローチャート 実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図 実施の形態1にかかるロギング装置の動作を説明する波形図 実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図 実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図 実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図 実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図
 以下に、本発明の実施の形態にかかるロギング装置及びロギング方法を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態1.
 図1は、実施の形態1にかかるロギング装置を含む産業システムのハードウェア構成を示す図である。産業システム1は、製品の製造で例示される産業工程を実行する機械3と、機械3を制御するプログラマブルコントローラ(JIS(日本工業規格、Japanese Industrial Standards) B 3502:2011、programmable controllers(PLC))2と、プログラマブルコントローラ2と通信するエンジニアリングツール4と、を含む。
 プログラマブルコントローラ2は、メイン基板21と、メイン基板21とバスB1を介して接続された入出力ユニット22、ネットワークユニット23及びロギング装置24と、を含む。入出力ユニット22、ネットワークユニット23及びロギング装置24の各々は、プログラマブルコントローラ2のサブ基板である。
 入出力ユニット22は、機械3に接続されており、メイン基板21から受信したデータを機械3に出力し、機械3から入力されたデータをメイン基板21に送信する、送受信機である。
 メイン基板21は、バスB1及び入出力ユニット22を介して機械3とデータを送受信することで、機械3を制御する。
 ネットワークユニット23は、ネットワークN1に接続されており、メイン基板21は、ネットワークユニット23を介して他の装置と通信を行う、送受信機である。
 ロギング装置24は、ネットワークN2を経由してエンジニアリングツール4に接続されている。
 ネットワークN1及びN2は、Ethernet(登録商標、IEEE 802.3)又は無線LAN(Local Area Network、IEEE(The Institute of Electrical and Electronics Engineers, Inc.) 802.11a/b/g/n/ac)が例示される。
 図2は、実施の形態1にかかるロギング装置を含む産業システムのメイン基板のハードウェア構成を示す図である。メイン基板21は、CPU(Central Processing Unit)21aと、RAM(Random Access Memory)であるメモリ21bと、バスインタフェース21cと、記憶部21dと、を含む。CPU21a、メモリ21b、バスインタフェース21c及び記憶部21dは、バスB2を介して接続されている。
 バスインタフェース21cは、バスB1とバスB2とを連絡するバスブリッジ回路である。
 記憶部21dは、プロジェクトデータ21eを記憶する。記憶部21dは、SSD(Solid State Drive)、HDD(Hard Disk Drive)又はeMMC(embedded Multi Media Card)が例示される。
 プロジェクトデータ21eは、ラダー言語で例示されるプログラミング言語で記述された、機械3を制御するための制御プログラム21e1と、制御プログラム21e1の実行時に参照される制御パラメータ21e2と、を含む。
 プロジェクトデータ21eは、制御プログラム21e1の実行時の作業領域であるデバイスをメモリ21b内に確保するメモリ確保記述がなされたデータである、デバイスメモリ21e3を含む。
 プロジェクトデータ21eは、入出力ユニット22と機械3との接続関係の記述がなされたデータである、接続情報21e4と、を含む。
 CPU21aは、制御パラメータ21e2を参照し及びメモリ21b内に確保された作業領域であるデバイスを使用しながら、制御プログラム21e1を実行することで、機械3を制御する。
 メモリ21b内には、デバイスメモリ21e3内の記述に基づいて、複数の作業領域であるデバイスが確保される。機械3への出力用に確保されたメモリ領域であるデバイスに書き込まれたデータは、バスB2、バスインタフェース21c、バスB1及び入出力ユニット22を経由して、機械3へ出力される。また、機械3から入出力ユニット22に入力されたデータは、バスB1、バスインタフェース21c及びバスB2を経由して、機械3からの入力用に確保されたメモリ領域であるデバイスに書き込まれる。
 実施の形態1では、メモリ21bは、機械3からの入力用に確保されたメモリ領域であるデバイス「D1」21b1、デバイス「D2」21b2、デバイス「D3」21b3及びデバイス「D4」21b4を含む。
 「D1」、「D2」、「D3」及び「D4」は、デバイスの名称であり、プログラマブルコントローラ2のメーカ又はプログラマブルコントローラ2のユーザによって、各デバイスに付される。
 実施の形態1では、メモリ領域であるデバイス「D1」21b1、デバイス「D2」21b2、デバイス「D3」21b3及びデバイス「D4」21b4には、初期値「0」が格納されている。
 実施の形態1では、メモリ領域であるデバイス「D1」21b1には、機械3から入出力ユニット22に入力される「センサ異常検出」のデータが格納される。メモリ領域であるデバイス「D1」21b1には、機械3でセンサ異常が検出されていなければ「0」が書き込まれ、機械3でセンサ異常が検出されていれば「1」が書き込まれる。
 また、メモリ領域であるデバイス「D2」21b2には、機械3から入出力ユニット22に入力される「電圧低下」のデータが格納される。メモリ領域であるデバイス「D2」21b2には、機械3で電圧低下が検出されていなければ「0」が書き込まれ、機械3で電圧低下が検出されていれば「1」が書き込まれる。
 また、メモリ領域であるデバイス「D3」21b3には、機械3から入出力ユニット22に入力される「緊急停止」のデータが格納される。メモリ領域であるデバイス「D3」21b3には、機械3が緊急停止していなければ「0」が書き込まれ、機械3が緊急停止していれば「1」が書き込まれる。
 また、メモリ領域であるデバイス「D4」21b4には、機械3から入出力ユニット22に入力される「刃具使用」のデータが格納される。メモリ領域であるデバイス「D4」21b4には、機械3が刃具を使用していなければ「0」が書き込まれ、機械3が刃具を使用していれば「1」が書き込まれる。
 図3は、実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールのハードウェア構成を示す図である。エンジニアリングツール4は、コンピュータを利用して実現可能である。コンピュータは、CPU41と、RAM42と、ROM(Read Only Memory)43と、記憶部44と、入力部45と、表示部46と、通信インタフェース47と、を含む。CPU41、RAM42、ROM43、記憶部44、入力部45、表示部46及び通信インタフェース47は、バスB3を介して接続されている。
 CPU41は、RAM42を作業領域として使用しながら、ROM43及び記憶部44に記憶されているプログラムを実行する。ROM43に記憶されているプログラムは、BIOS(Basic Input/Output System)又はUEFI(Unified Extensible Firmware Interface)が例示される。記憶部44に記憶されているプログラムは、オペレーティングシステムプログラム及びエンジニアリングツールプログラムが例示される。記憶部44は、SSD又はHDDが例示される。
 入力部45は、ユーザからの操作入力を受け付ける受信機である。入力部45は、キーボード又はマウスが例示される。表示部46は、文字及び画像を表示する。表示部46は、ディスプレイであり、液晶表示装置が例示される。通信インタフェース47は、ロギング装置24と通信を行う。
 図4は、実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの機能ブロックを示す図である。
 記憶部44は、トリガ条件データ作成プログラム44aを記憶する。トリガ条件データ作成プログラム44aは、ユーザからの入力に基づいて、メモリ領域であるデバイス内に格納されているデータを時系列で分ける時期を定める条件であるトリガ条件データ44cを作成してロギング装置24に送信するためのプログラムである。
 CPU41がトリガ条件データ作成プログラム44aを実行することで、ユーザからの入力に基づいて、メモリ領域であるデバイス内に格納されているデータを時系列で分ける時期を定める条件であるトリガ条件データ44cを作成してロギング装置24に送信するトリガ条件データ作成部41aが実現される。
 記憶部44は、ロギング条件データ作成プログラム44bを記憶する。ロギング条件データ作成プログラム44bは、ユーザからの入力に基づいて、メモリ領域であるデバイス内に格納されているデータが予め定められた値に変化した回数又はメモリ領域であるデバイス内に格納されているデータが予め定められた値を維持した累積時間をカウントする条件であるロギング条件データ44dを作成してロギング装置24に送信するためのプログラムである。
 CPU41がロギング条件データ作成プログラム44bを実行することで、ユーザからの入力に基づいて、メモリ領域であるデバイス内に格納されているデータが予め定められた値に変化した回数又はメモリ領域であるデバイス内に格納されているデータが予め定められた値を維持した累積時間をカウントする条件であるロギング条件データ44dを作成してロギング装置24に送信するロギング条件データ作成部41bが実現される。
 図5は、実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの動作を示すフローチャートである。
 トリガ条件データ作成部41aは、ステップS100において、トリガ条件データを入力するためのトリガ条件データ入力画面を表示部46に表示する。
 トリガ条件データ作成部41aは、ステップS102において、入力部45を介して、トリガ条件データの入力を受け付ける。
 図6は、実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの表示部の表示面に表示されるトリガ条件データ入力画面を示す図である。
 トリガ条件データ作成部41aは、トリガ条件データ入力画面49を、表示部46の表示面46aに表示する。
 トリガ条件データ入力画面49は、単一の条件をトリガ条件にする場合に選択するための選択領域49aと、複数の条件の組み合わせをトリガ条件にする場合に選択するための選択領域49bと、を含む。
 実施の形態1では、選択領域49aがユーザによって選択され、単一の条件をトリガ条件にするものとする。
 トリガ条件データ入力画面49は、トリガ条件を入力するための入力欄49gを含む。入力欄49gは、トリガ条件の種別を入力するための第1項目49g1と、トリガ条件の設定内容を入力するための第2項目49g2と、を含む。トリガ条件の種別は、時間又はデバイスのデータの値が例示される。
 単一の条件をトリガ条件にする場合には、ユーザは、入力部45を操作して、単一のトリガ条件を入力欄49gの第1行49g3内に入力する。
 実施の形態1では、第1行49g3の第1項目49g1には、トリガ条件の種別「時間」が入力されている。第1行49g3の第2項目49g2には、トリガ条件の設定内容「1時間毎」が入力されている。従って、実施の形態1では、1時間毎にトリガ条件が満たされることになる。
 トリガ条件データ入力画面49は、複数の条件のOR(論理和)をトリガ条件にする場合に選択する選択領域49cを含む。
 複数の条件の組み合わせをトリガ条件にする場合は、ユーザは、複数の条件を入力欄49gの複数の行に入力する。
 例えば、メモリ領域であるデバイス「D1」の値が「5」になるか又はメモリ領域であるデバイス「F1」の値が「ON」になるかをトリガ条件にする場合には、ユーザは、選択領域49b及び49cを選択する。更に、ユーザは、トリガ条件の種別「データ条件(比較)」を第1行49g3の第1項目49g1に入力し、トリガ条件の内容「D1=5」を第1行49g3の第2項目49g2に入力し、トリガ条件の種別「データ条件(比較)」を第2行49g4の第1項目49g1に入力し、トリガ条件の内容「F1=ON」を第2行49g4の第2項目49g2に入力する。
 トリガ条件データ入力画面49は、複数の条件のAND(論理積)をトリガ条件にする場合に選択する選択領域49dを含む。
 トリガ条件データ入力画面49は、条件成立の回数を設定して、条件が設定回数成立することをトリガ条件にする場合に選択する選択領域49eを含む。
 トリガ条件データ入力画面49は、複数の条件が成立する順序を設定して、条件が設定順序で成立することをトリガ条件にする場合に選択する選択領域49fを含む。
 ユーザは、トリガ条件の入力が終わったら、「完了」領域49hを選択する。
 エンジニアリングツール4の動作の説明に戻る。
 図5を参照すると、トリガ条件データ作成部41aは、ステップS104において、ユーザからの入力に基づいて、トリガ条件データ44cを記憶部44内に作成する。
 図4を参照すると、トリガ条件データ44cは、トリガ条件の種別を格納する第1項目44c1と、トリガ条件の設定内容を格納する第2項目44c2と、を含む。第1項目44c1には、トリガ条件の種別「時間」が格納されており、第2項目44c2には、トリガ条件の内容「1時間毎」が格納されている。
 図5を参照すると、トリガ条件データ作成部41aは、ステップS106において、トリガ条件データ44cを、ロギング装置24に送信し、処理を終了する。ロギング装置24は、トリガ条件データ44cをエンジニアリングツール4から受信する。
 図7は、実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの動作を示すフローチャートである。
 ロギング条件データ作成部41bは、ステップS110において、ロギング条件データを入力するためのロギング条件データ入力画面を表示部46に表示する。
 ロギング条件データ作成部41bは、ステップS112において、入力部45を介して、ロギング条件データの入力を受け付ける。
 図8は、実施の形態1にかかるロギング装置を含む産業システムのエンジニアリングツールの表示部の表示面に表示されるロギング条件データ入力画面を示す図である。
 ロギング条件データ作成部41bは、ロギング条件データ入力画面48を、表示部46の表示面46aに表示する。
 ロギング条件データ入力画面48は、ロギング条件を入力するための入力欄48aを含む。
 入力欄48aは、メモリ領域であるデバイスをカウントする条件を入力するための第7項目48a7と、を含む。
 入力欄48aは、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスの先頭及び末尾を入力するための第1項目48a1を含む。
 入力欄48aは、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスのデータ型を入力するための第2項目48a2を含む。
 入力欄48aは、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスのサイズを入力するための第3項目48a3と、を含む。
 入力欄48aは、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスの値の出力値の意味内容を入力するための第4項目48a4を含む。
 入力欄48aは、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスのスケーリングを入力するための第5項目48a5を含む。
 入力欄48aは、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスの出力形式を入力するための第6項目48a6を含む。
 実施の形態1では、入力欄48aの第1行48a8から第4行48a11までの4つの行に、4つのロギング条件が夫々入力されている。
 入力欄48aの第1行48a8の第1項目48a1には、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスの先頭及び末尾「D1」が入力されている。
 入力欄48aの第1行48a8の第2項目48a2には、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイス「D1」のデータ型「ワード(符号付き)」が入力されている。
 入力欄48aの第1行48a8の第3項目48a3は、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイス「D1」のデータ型が「ワード(符号付き)」であるので、入力が省かれている。
 入力欄48aの第1行48a8の第4項目48a4には、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイス「D1」の意味内容「回数」が入力されている。
 入力欄48aの第1行48a8の第5項目48a5は、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイス「D1」のスケーリングを行わないので、入力が省かれている。
 入力欄48aの第1行48a8の第6項目48a6には、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイス「D1」の出力形式「小数形式(桁数:0)」が入力されている。
 入力欄48aの第1行48a8の第7項目48a7には、メモリ領域であるデバイス「D1」をカウントする条件「=1」が入力されている。従って、メモリ領域であるデバイス「D1」は、格納される値が「1」になったら、カウントされる。
 入力欄48aの第2行48a9の第1項目48a1には、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスの先頭及び末尾「D2」が入力されている。
 入力欄48aの第2行48a8の第2項目48a2から第7項目48a7までには、第1行48a8の第2項目48a2から第7項目48a7までと同じ値が入力されている。
 入力欄48aの第3行48a10の第1項目48a1には、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスの先頭及び末尾「D3」が入力されている。
 入力欄48aの第3行48a10の第2項目48a2から第7項目48a7までには、第1行48a8の第2項目48a2から第7項目48a7までと同じ値が入力されている。
 入力欄48aの第4行48a11の第1項目48a1には、第7項目48a7に入力された条件を満たすように変化した回数及び第7項目48a7に入力された条件を満たすことを維持した累積時間のカウントの対象とする、メモリ領域であるデバイスの先頭及び末尾「D4」が入力されている。
 入力欄48aの第4行48a11の第2項目48a2から第7項目48a7までには、第1行48a8の第2項目48a2から第7項目48a7までと同じ値が入力されている。
 ユーザは、ロギング条件の入力が終わったら、「完了」領域48bを選択する。
 エンジニアリングツール4の動作の説明に戻る。
 図7を参照すると、ロギング条件データ作成部41bは、ステップS114において、ユーザからの入力に基づいて、ロギング条件データ44dを記憶部44内に作成する。
 図4を参照すると、ロギング条件データ44dは、カウントの対象となるメモリ領域であるデバイスを格納する第1項目44d1と、カウントの対象となるメモリ領域であるデバイスをカウントする条件を格納する第2項目44d2と、を含む。
 ロギング条件データ44dの第1行44d3の第1項目44d1には、デバイス名「D1」が格納され、第2項目44d2には、条件「=1」が格納されている。従って、メモリ領域であるデバイス「D1」21b1は、格納される値が「1」に変化した回数及び「1」を維持した累積時間がカウントされる。
 実施の形態1では、ロギング条件データ44dの第1行44d3に記述されたロギング条件を、第1ロギング条件と称する。
 ロギング条件データ44dの第2行44d4の第1項目44d1には、デバイス名「D2」が格納され、第2項目44d2には、条件「=1」が格納されている。従って、メモリ領域であるデバイス「D2」は、格納される値が「1」に変化した回数及び「1」を維持した累積時間がカウントされる。
 実施の形態1では、ロギング条件データ44dの第2行44d4に記述されたロギング条件を、第2ロギング条件と称する。
 ロギング条件データ44dの第3行44d5の第1項目44d1には、デバイス名「D3」が格納され、第2項目44d2には、条件「=1」が格納されている。従って、メモリ領域であるデバイス「D3」は、格納される値が「1」に変化した回数及び「1」を維持した累積時間がカウントされる。
 実施の形態1では、ロギング条件データ44dの第3行44d5に記述されたロギング条件を、第3ロギング条件と称する。
 ロギング条件データ44dの第4行44d6の第1項目44d1には、デバイス名「D4」が格納され、第2項目44d2には、条件「=1」が格納されている。従って、メモリ領域であるデバイス「D4」は、格納される値が「1」に変化した回数及び「1」を維持した累積時間がカウントされる。
 実施の形態1では、ロギング条件データ44dの第4行44d6に記述されたロギング条件を、第4ロギング条件と称する。
 図7を参照すると、ロギング条件データ作成部41bは、ステップS116において、ロギング条件データ44dを、ロギング装置24に送信し、処理を終了する。ロギング装置24は、ロギング条件データ44dをエンジニアリングツール24から受信する。
 図9は、実施の形態1にかかるロギング装置のハードウェア構成を示す図である。ロギング装置24は、バスインタフェース24aと、CPU24bと、不揮発性記憶部24cと、スロット24dに収納されたリムーバブルな不揮発性記憶媒体であるロギングデータ記憶部24eと、ネットワークインタフェース24fと、を含む。バスインタフェース24a、CPU24b、不揮発性記憶部24c、ロギングデータ記憶部24e及びネットワークインタフェース24fは、バスB3を介して接続されている。
 バスインタフェース24aは、バスB1とバスB3とを連絡するバスブリッジ回路である。
 ネットワークインタフェース24fは、ネットワークN2を介して、エンジニアリングツール4に接続されている。
 不揮発性記憶部24cは、SSD、HDD又はeMMCが例示される。
 ロギングデータ記憶部24eは、SDカード(登録商標)、CompactFlash(登録商標)、USBメモリ又はDVD(Digital Versatile Disc)が例示される。
 ロギングデータ記憶部24eがリムーバブルな不揮発性記憶部であれば、データの可搬性が向上する。
 なお、ロギングデータ記憶部24eは、非リムーバブルな不揮発性記憶部であっても良い。非リムーバブルな不揮発性記憶部は、SSD又はeMMCが例示される。
 ロギングデータ記憶部24eが非リムーバブルな不揮発性記憶部であれば、スロット24dが不要になるので、部品点数の削減、実装面積の縮小又はコストの低減が図れる。
 図10は、実施の形態1にかかるロギング装置の機能ブロックを示す図である。
 不揮発性記憶部24cは、外部からデータを時系列で取得するデータ取得プログラム24c1を記憶する。
 CPU24bがデータ取得プログラム24c1を実行することで、外部からデータを時系列で取得するデータ取得部24b1が実現される。
 不揮発性記憶部24cは、データロギングプログラム24c2を記憶する。データロギングプログラム24c2は、トリガ条件データ44c及びロギング条件データ44dをエンジニアリングツール4から受信して不揮発性記憶部24cに書き込むためのプログラムである。また、データロギングプログラム24c2は、外部から取得したデータをロギングデータ記憶部24eに書き込むためのプログラムである。
 CPU24bがデータロギングプログラム24c2を実行することで、トリガ条件データ44c及びロギング条件データ44dをエンジニアリングツール4から受信して不揮発性記憶部24cに書き込み、外部から取得したデータをロギングデータ記憶部24eに書き込むデータロギング部24b2が実現される。
 不揮発性記憶部24cは、トリガ条件が満たされたか否かを判定するトリガ条件判定プログラム24c3を記憶する。
 CPU24bがトリガ条件判定プログラム24c3を実行することで、トリガ条件が満たされたか否かを判定するトリガ条件判定部24b3が実現される。
 不揮発性記憶部24cは、第1ロギング条件から第4ロギング条件までのいずれかが満たされたか否かを判定するロギング条件判定プログラム24c4を記憶する。
 CPU24bがロギング条件判定プログラム24c4を実行することで、第1ロギング条件から第4ロギング条件までのいずれかが満たされたか否かを判定するロギング条件判定部24b4が実現される。
 不揮発性記憶部24cは、エンジニアリングツール4から受信したトリガ条件データ44c及びロギング条件データ44dを記憶する。
 ロギング装置24の動作について説明する。
 図11は、実施の形態1にかかるロギング装置の動作を示すフローチャートである。なお、実施の形態1では、ロギング装置24が図11に示すフローチャートの実行を開始する時刻を14時00分00秒とする。
 データロギング部24b2は、ステップS200において、停電からの復帰であるか否かを判定する。データロギング部24b2は、停電からの復帰ではないと判定したら(No)、処理をステップS202に進め、停電からの復帰であると判定したら(Yes)、処理をステップS206に進める。
 データロギング部24b2は、ステップS202において、第1ロギング条件から第4ロギング条件までの各々毎に、回数カウンタ及び累積時間カウンタを作成する。
 再び図10を参照すると、データロギング部24b2は、メモリ領域であるデバイス「D1」21b1内の「センサ異常検出」のデータが第1ロギング条件「=1」に変化した回数をカウントするための「センサ異常検出」回数カウンタ24c5のメモリ領域を不揮発性記憶部24c内に確保し、初期値「0」を「センサ異常検出」回数カウンタ24c5に格納する。
 データロギング部24b2は、メモリ領域であるデバイス「D1」21b1内の「センサ異常検出」のデータが第1ロギング条件「=1」を維持した累積時間をカウントするための「センサ異常検出」累積時間カウンタ24c6のメモリ領域を不揮発性記憶部24c内に確保し、初期値「0」を「センサ異常検出」累積時間カウンタ24c6に格納する。
 データロギング部24b2は、メモリ領域であるデバイス「D2」21b2内の「電圧低下」のデータが第2ロギング条件「=1」に変化した回数をカウントするための「電圧低下」回数カウンタ24c7のメモリ領域を不揮発性記憶部24c内に確保し、初期値「0」を「電圧低下」回数カウンタ24c7に格納する。
 データロギング部24b2は、メモリ領域であるデバイス「D2」21b2内の「電圧低下」のデータが第2ロギング条件「=1」を維持した累積時間をカウントするための「電圧低下」累積時間カウンタ24c8のメモリ領域を不揮発性記憶部24c内に確保し、初期値「0」を「電圧低下」累積時間カウンタ24c8に格納する。
 データロギング部24b2は、メモリ領域であるデバイス「D3」21b3内の「緊急停止」のデータが第3ロギング条件「=1」に変化した回数をカウントするための「緊急停止」回数カウンタ24c9のメモリ領域を不揮発性記憶部24c内に確保し、初期値「0」を「緊急停止」回数カウンタ24c9に格納する。
 データロギング部24b2は、メモリ領域であるデバイス「D3」21b3内の「緊急停止」のデータが第3ロギング条件「=1」を維持した累積時間をカウントするための「緊急停止」累積時間カウンタ24c10のメモリ領域を不揮発性記憶部24c内に確保し、初期値「0」を「緊急停止」累積時間カウンタ24c10に格納する。
 データロギング部24b2は、メモリ領域であるデバイス「D4」21b4内の「刃具使用」のデータが第4ロギング条件「=1」に変化した回数をカウントするための「刃具使用」回数カウンタ24c11のメモリ領域を不揮発性記憶部24c内に確保し、初期値「0」を「刃具使用」回数カウンタ24c11に格納する。
 データロギング部24b2は、メモリ領域であるデバイス「D4」21b4内の「刃具使用」のデータが第4ロギング条件「=1」を維持した累積時間をカウントするための「刃具使用」累積時間カウンタ24c12のメモリ領域を不揮発性記憶部24c内に確保し、初期値「0」を「刃具使用」累積時間カウンタ24c12に格納する。
 再び図11を参照すると、データロギング部24b2は、ステップS204において、メモリ領域であるデバイス「D1」21b1内の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2内の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3内の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4内の「刃具使用」のデータを時系列に格納するための第1ロギングデータ24e1のファイルを、ロギングデータ記憶部24e内に作成する。
 図12は、実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図である。
 ロギングデータ記憶部24e内の第1ロギングデータ24e1は、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータを時系列に格納するための第1行24e1aと、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータを時系列に格納するための第2行24e1bと、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータを時系列に格納するための第3行24e1cと、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータを時系列に格納するための第4行24e1dと、を含む。
 なお、実施の形態1では、トリガ条件データ44cには、トリガ条件の種別「時間」及びトリガ条件の内容「1時間毎」が格納されている。従って、実施の形態1では、1時間毎にトリガ条件が満たされることになる。また、実施の形態1では、ロギング装置24のデータ取得周期は、1秒とする。
 従って、第1ロギングデータ24e1は、現在時刻「14時00分00秒」から、1秒刻みで、59分59秒後の「14時59分59秒」までの3600個の項目を含む。
 なお、データロギング部24b2は、ステップS200で停電からの復帰と判定したら(Yes)、ステップS202及びステップS204をスキップする。不揮発性記憶部24cは不揮発性であるので、停電直前の回数カウンタ及び累積時間カウンタが不揮発性記憶部24c内に残っているから、回数カウンタ及び累積時間カウンタを作成しなくても良いからである。また、ロギングデータ記憶部24eも不揮発性であるので、停電直前のロギングデータがロギングデータ記憶部24e内に残っているから、回数カウンタ及び累積時間カウンタを作成しなくても良いからである。
 従って、データロギング部24b2は、停電から復帰する際に、停電直前までの回数カウンタ、累積時間カウンタ及びロギングデータを引き継いで、ロギングを行うことが可能である。
 再び図11を参照すると、ロギング装置24は、ステップS206からステップS228までを、データ取得周期つまり1秒毎に繰り返し実行する。
 データ取得部24b1は、ステップS206において、メモリ領域であるデバイス「D1」21b1、デバイス「D2」21b2、デバイス「D3」21b3及びデバイス「D4」21b4のデータを取得する。
 データ取得部24b1は、入出力ユニット22とメイン基板21との間のバス通信をスヌープ(snoop)することで、メモリ領域であるデバイス「D1」21b1、デバイス「D2」21b2、デバイス「D3」21b3及びデバイス「D4」21b4のデータを取得しても良い。また、データ取得部24b1は、メイン基板21とバス通信を行うことで、メモリ領域であるデバイス「D1」21b1、デバイス「D2」21b2、デバイス「D3」21b3及びデバイス「D4」21b4のデータをメイン基板21から取得しても良い。
 データ取得部24b1は、ステップS208において、メモリ領域であるデバイス「D1」21b1、デバイス「D2」21b2、デバイス「D3」21b3及びデバイス「D4」21b4のデータを、現在のロギングデータに書き込む。
 ロギング条件判定部24b4は、ステップS210において、第1ロギング条件から第4ロギング条件までのいずれかが満たされたか否かを判定する。ロギング条件判定部24b4は、第1ロギング条件から第4ロギング条件までのいずれかが満たされたと判定したら(Yes)、処理をステップS212に進め、第1ロギング条件から第4ロギング条件までのいずれもが満たされていないと判定したら(No)、処理をステップS218に進める。
 ロギング条件判定部24b4は、ステップS212において、第1ロギング条件から第4ロギング条件までの中のロギング条件が満たされたデバイスのデータが前回から変化したか否かを判定する。ロギング条件判定部24b4は、第1ロギング条件から第4ロギング条件までの中のロギング条件が満たされたデバイスのデータが前回から変化したと判定したら(Yes)、処理をステップS214に進め、第1ロギング条件から第4ロギング条件までの中のロギング条件が満たされたデバイスのデータが前回から変化していないと判定したら(No)、処理をステップS216に進める。
 データロギング部24b2は、ステップS214において、第1ロギング条件から第4ロギング条件までの中のロギング条件が満たされたデバイスの回数カウンタをカウントアップする。
 データロギング部24b2は、ステップS216において、第1ロギング条件から第4ロギング条件までの中のロギング条件が満たされたデバイスの累積時間カウンタをカウントアップする。
 トリガ条件判定部24b3は、ステップS218において、トリガ条件が満たされたか否かを判定する。トリガ条件判定部24b3は、トリガ条件が満たされたと判定したら(Yes)、処理をステップS220に進め、トリガ条件が満たされていないと判定したら(No)、処理をステップS228に進める。
 データロギング部24b2は、ステップS220において、全回数カウンタ内の回数及び全累積時間カウンタ内の累積時間を、ロギングデータ記憶部24eに書き込む。
 データロギング部24b2は、ステップS222において、全回数カウンタ及び全累積時間カウンタを、「0」にクリアする。
 データロギング部24b2は、ステップS224において、現在のロギングデータのファイルをクローズする。
 データロギング部24b2は、ステップS226において、新たなロギングデータのファイルをロギングデータ記憶部24e内に作成する。
 データロギング部24b2は、ステップS228において、データ取得周期時間、つまり1秒だけ待機し、処理をステップS206に進める。
 ロギング装置24の動作について、具体的な波形を参照して説明する。
 図13は、実施の形態1にかかるロギング装置の動作を説明する波形図である。
 時刻14時00分00秒において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータは、「0」である。データ取得部24b1は、ステップS206において、メモリ領域であるデバイス「D1」21b1のデータ「0」を取得する。
 時刻14時00分00秒において、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータは、「0」である。データ取得部24b1は、ステップS206において、メモリ領域であるデバイス「D2」21b2のデータ「0」を取得する。
 時刻14時00分00秒において、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータは、「0」である。データ取得部24b1は、ステップS206において、メモリ領域であるデバイス「D3」21b3のデータ「0」を取得する。
 時刻14時00分00秒において、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。データ取得部24b1は、ステップS206において、メモリ領域であるデバイス「D4」21b4のデータ「0」を取得する。
 データロギング部24b2は、ステップS208において、データ取得部24b1が取得した、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ「0」、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ「0」、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ「0」及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータ「0」を、第1ロギングデータ24e1に書き込む。
 図14は、実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図である。
 データロギング部24b2は、ステップS208において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ「0」を、第1行24e1aの時刻「14時00分00秒」の項目に書き込む。
 データロギング部24b2は、ステップS208において、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ「0」を、第2行24e1bの時刻「14時00分00秒」の項目に書き込む。
 データロギング部24b2は、ステップS208において、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ「0」を、第3行24e1cの時刻「14時00分00秒」の項目に書き込む。
 データロギング部24b2は、ステップS208において、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータ「0」を、第4行24e1dの時刻「14時00分00秒」の項目に書き込む。
 データロギング部24b2は、時刻14時00分00秒から時刻14時59分59秒までの間、データ取得周期つまり1秒毎に、メモリ領域であるデバイス「D1」21b1の「0」のデータ、メモリ領域であるデバイス「D2」21b2の「0」のデータ、メモリ領域であるデバイス「D3」21b3の「0」のデータ及びメモリ領域であるデバイス「D4」21b4の「0」のデータを取得して、第1ロギングデータ24e1に書き込む。
 再び図13を参照すると、時刻14時00分00秒からタイミングtの直前までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、時刻14時00分00秒からタイミングtの直前までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 タイミングtにおいて、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータが「0」から「1」に変化するとともに、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングtにおいて、第2ロギング条件及び第4ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングtにおいて、「電圧低下」回数カウンタ24c7及び「刃具使用」回数カウンタ24c11をカウントアップする。従って、タイミングtにおいて、「電圧低下」回数カウンタ24c7及び「刃具使用」回数カウンタ24c11の値は、「1」になる。
 タイミングtから、10分後のタイミングtの直前までの間は、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」である。
 従って、ロギング条件判定部24b4は、タイミングtからタイミングtの直前までの間において、第2ロギング条件及び第4ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングtからタイミングtの直前までの間において、データ取得周期つまり1秒毎に、「電圧低下」累積時間カウンタ24c8及び「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングtにおいて、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングtにおいて、第2ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングtにおいて、「刃具使用」累積時間カウンタ24c12のカウントアップを行わない。従って、タイミングtにおいて、「刃具使用」累積時間カウンタ24c12の値は、「10分」になる。
 一方、データロギング部24b2は、タイミングtにおいて、「電圧低下」累積時間カウンタ24c8をカウントアップする。
 タイミングtから、10分後のタイミングtの直前までの間は、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータは、「1」である。
 従って、データロギング部24b2は、タイミングtからタイミングtの直前までの間において、データ取得周期つまり1秒毎に、「電圧低下」累積時間カウンタ24c8をカウントアップする。
 タイミングtにおいて、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータは「0」から「1」に変化し、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータは「1」から「0」に変化し、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングtにおいて、第1ロギング条件及び第4ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングtにおいて、「センサ異常検出」回数カウンタ24c5及び「刃具使用」回数カウンタ24c11をカウントアップする。従って、タイミングtにおいて、「センサ異常検出」回数カウンタ24c5の値は「1」になり、「刃具使用」回数カウンタ24c11の値は「2」になる。
 また、データロギング部24b2は、タイミングtにおいて、「電圧低下」累積時間カウンタ24c8のカウントアップを行わない。従って、タイミングtにおいて、「電圧低下」累積時間カウンタ24c8の値は、「20分」になる。
 タイミングtから、10分後のタイミングtの直前までの間は、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」である。
 従って、ロギング条件判定部24b4は、タイミングtからタイミングtの直前までの間において、第1ロギング条件及び第4ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングtからタイミングtの直前までの間において、データ取得周期つまり1秒毎に、「センサ異常検出」累積時間カウンタ24c6及び「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングtにおいて、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングtにおいて、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 従って、データロギング部24b2は、タイミングtにおいて、「センサ異常検出」累積時間カウンタ24c6及び「刃具使用」累積時間カウンタ24c12のカウントアップを行わない。従って、タイミングtにおいて、「センサ異常検出」累積時間カウンタ24c6の値は「10分」になり、「刃具使用」累積時間カウンタ24c12の値は「20分」になる。
 タイミングtからタイミングtの直前までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、タイミングtからタイミングtの直前までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 タイミングtにおいて、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングtにおいて、第1ロギング条件、第3ロギング条件及び第4ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングtにおいて、「センサ異常検出」回数カウンタ24c5、「緊急停止」回数カウンタ24c9及び「刃具使用」回数カウンタ24c11をカウントアップする。従って、タイミングtにおいて、「センサ異常検出」回数カウンタ24c5の値は「2」になり、「緊急停止」回数カウンタ24c9の値は「1」になり、「刃具使用」回数カウンタ24c11の値は「3」になる。
 タイミングtから、10分後のタイミングtの直前までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」である。
 従って、ロギング条件判定部24b4は、タイミングtからタイミングtの直前までの間において、第1ロギング条件、第3ロギング条件及び第4ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングtからタイミングtの直前までの間において、データ取得周期つまり1秒毎に、「センサ異常検出」累積時間カウンタ24c6、「緊急停止」累積時間カウンタ24c10及び「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングtにおいて、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングtにおいて、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 従って、データロギング部24b2は、タイミングtにおいて、「センサ異常検出」累積時間カウンタ24c6、「緊急停止」累積時間カウンタ24c10及び「刃具使用」累積時間カウンタ24c12のカウントアップを行わない。従って、タイミングtにおいて、「センサ異常検出」累積時間カウンタ24c6の値は「20分」になり、「緊急停止」累積時間カウンタ24c10の値は「10分」になり、「刃具使用」累積時間カウンタ24c12の値は「30分」になる。
 タイミングtから時刻14時59分59秒までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、タイミングtから時刻14時59分59秒までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 時刻14時59分59秒になると、トリガ条件判定部24b3は、トリガ条件が満たされたと判定する(ステップS218でYes)。
 従って、データロギング部24b2は、時刻14時59分59秒において、「センサ異常検出」回数カウンタ24c5、「電圧低下」回数カウンタ24c7、「緊急停止」回数カウンタ24c9及び「刃具使用」回数カウンタ24c11内の回数と、「センサ異常検出」累積時間カウンタ24c6、「電圧低下」累積時間カウンタ24c8、「緊急停止」累積時間カウンタ24c10及び「刃具使用」累積時間カウンタ24c12内の累積時間と、をロギングデータ記憶部24eに書き込む。
 図15は、実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図である。
 第1ロギングデータ24e1には、時刻14時00分00秒から時刻14時59分59秒までの、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが、時系列に格納されている。
 データロギング部24b2は、第1ロギングデータ24e1に、第1付帯データ24e2を付帯させる。第1付帯データ24e2は、「センサ異常検出」回数データ24e2aと、「センサ異常検出」累積時間データ24e2bと、「電圧低下」回数データ24e2cと、「電圧低下」累積時間データ24e2dと、「緊急停止」回数データ24e2eと、「緊急停止」累積時間データ24e2fと、「刃具使用」回数データ24e2gと、「刃具使用」累積時間データ24e2hと、を含む。
 「センサ異常検出」回数データ24e2aの値は、「2」であり、「センサ異常検出」累積時間データ24e2bの値は、「20分」である。
 「電圧低下」回数データ24e2cの値は、「1」であり、「電圧低下」累積時間データ24e2dの値は、「20分」である。
 「緊急停止」回数データ24e2eの値は、「1」であり、「緊急停止」累積時間データ24e2fの値は、「10分」である。
 「刃具使用」回数データ24e2gの値は、「3」であり、「刃具使用」累積時間データ24e2hの値は、「30分」である。
 次に、データロギング部24b2は、「センサ異常検出」回数カウンタ24c5、「センサ異常検出」累積時間カウンタ24c6、「電圧低下」回数カウンタ24c7、「電圧低下」累積時間カウンタ24c8、「緊急停止」回数カウンタ24c9、「緊急停止」累積時間カウンタ24c10、「刃具使用」回数カウンタ24c11及び「刃具使用」累積時間カウンタ24c12をクリアする(ステップS222)。
 更に、データロギング部24b2は、第1ロギングデータ24e1のファイルをクローズし(ステップS224)、新たな第2ロギングデータ24e3のファイルをロギングデータ記憶部24e内に作成する(ステップS226)。
 データロギング部24b2は、時刻15時00分00秒から時刻15時59分59秒までの間、データ取得周期つまり1秒毎に、メモリ領域であるデバイス「D1」21b1の「0」のデータ、メモリ領域であるデバイス「D2」21b2の「0」のデータ、メモリ領域であるデバイス「D3」21b3の「0」のデータ及びメモリ領域であるデバイス「D4」21b4の「0」のデータを取得して、第2ロギングデータ24e3に書き込む。
 再び図13を参照すると、時刻15時00分00秒からタイミングt11の直前までにおいて、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、時刻15時00分00秒からタイミングt11までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 タイミングt11において、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータは「0」から「1」に変化するとともに、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt11において、第3ロギング条件及び第4ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングt11において、「緊急停止」回数カウンタ24c9及び「刃具使用」回数カウンタ24c11をカウントアップする。従って、タイミングt11において、「緊急停止」回数カウンタ24c9及び「刃具使用」回数カウンタ24c11の値は、「1」になる。
 タイミングt11から、10分後のタイミングt12の直前までの間は、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」である。
 従って、ロギング条件判定部24b4は、タイミングt11からタイミングt12の直前までの間において、第3ロギング条件及び第4ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングt11からタイミングt12の直前までの間において、データ取得周期つまり1秒毎に、「緊急停止」累積時間カウンタ24c10及び「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングt12において、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt12において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 従って、データロギング部24b2は、タイミングt12において、「緊急停止」累積時間カウンタ24c10及び「刃具使用」累積時間カウンタ24c12のカウントアップを行わない。従って、タイミングt12において、「緊急停止」累積時間カウンタ24c10及び「刃具使用」累積時間カウンタ24c12の値は、「10分」になる。
 タイミングt12からタイミングt13の直前までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、タイミングt12からタイミングt13の直前までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 タイミングt13において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータは、「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt13において、第1ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングt13において、「センサ異常検出」回数カウンタ24c5をカウントアップする。従って、タイミングt13において、「センサ異常検出」回数カウンタ24c5の値は、「1」になる。
 タイミングt13からタイミングt14の直前までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータは、「1」である。
 従って、データロギング部24b2は、タイミングt13からタイミングt14の直前までの間において、データ取得周期つまり1秒毎に、「センサ異常検出」累積時間カウンタ24c6をカウントアップする。
 タイミングt14において、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt14において、第1ロギング条件及び第4ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングt14において、「刃具使用」回数カウンタ24c11をカウントアップする。従って、タイミングt14において、「刃具使用」回数カウンタ24c11の値は、「2」になる。
 タイミングt14から、タイミングt13の10分後であるタイミングt15の直前までの間は、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」である。
 従って、ロギング条件判定部24b4は、タイミングt14からタイミングt15の直前までの間において、第1ロギング条件及び第4ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングt14からタイミングt15の直前までの間において、データ取得周期つまり1秒毎に、「センサ異常検出」累積時間カウンタ24c6及び「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングt15において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt15において、第4ロギング条件が満たされていると判定するが(ステップS210でYes)、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングt15において、「センサ異常検出」累積時間カウンタ24c6のカウントアップを行わない。従って、タイミングt15において、「センサ異常検出」累積時間カウンタ24c6の値は、「10分」になる。
 一方、データロギング部24b2は、タイミングt15において、「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングt14の10分後であるタイミングt16において、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt16において、第1ロギング条件から第4ロギング条件までのいずれもが満たされていないと判定する(ステップS210でNo)。
 従って、データロギング部24b2は、タイミングt16において、「刃具使用」累積時間カウンタ24c12のカウントアップを行わない。従って、タイミングt16において、「刃具使用」累積時間カウンタ24c12の値は、「20分」になる。
 タイミングt16からタイミングt17の直前までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、タイミングt16からタイミングt17の直前までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 タイミングt17において、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt17において、第4ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングt17において、「刃具使用」回数カウンタ24c11をカウントアップする。従って、タイミングt17において、「刃具使用」回数カウンタ24c11の値は、「3」になる。
 タイミングt17から、10分後であるタイミングt18の直前までの間は、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」である。
 従って、ロギング条件判定部24b4は、タイミングt17からタイミングt18の直前までの間において、第4ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングt17からタイミングt18の直前までの間において、データ取得周期つまり1秒毎に、「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングt17の10分後であるタイミングt18において、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt18において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 従って、データロギング部24b2は、タイミングt18において、「刃具使用」累積時間カウンタ24c12のカウントアップを行わない。従って、タイミングt18において、「刃具使用」累積時間カウンタ24c12の値は、「30分」になる。
 タイミングt18から時刻15時59分59秒までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b1の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、タイミングt18から時刻15時59分59秒までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 時刻15時59分59秒になると、トリガ条件判定部24b3は、トリガ条件が満たされたと判定する(ステップS218でYes)。
 従って、データロギング部24b2は、時刻15時59分59秒において、「センサ異常検出」回数カウンタ24c5、「電圧低下」回数カウンタ24c7、「緊急停止」回数カウンタ24c9及び「刃具使用」回数カウンタ24c11内の回数と、「センサ異常検出」累積時間カウンタ24c6、「電圧低下」累積時間カウンタ24c8、「緊急停止」累積時間カウンタ24c10及び「刃具使用」累積時間カウンタ24c12内の累積時間と、をロギングデータ記憶部24eに書き込む。
 図16は、実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図である。
 第2ロギングデータ24e3には、時刻15時00分00秒から時刻15時59分59秒までの、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが、時系列に格納されている。
 データロギング部24b2は、第2ロギングデータ24e3に、第2付帯データ24e4を付帯させる。第2付帯データ24e4は、「センサ異常検出」回数データ24e4aと、「センサ異常検出」累積時間データ24e4bと、「電圧低下」回数データ24e4cと、「電圧低下」累積時間データ24e4dと、「緊急停止」回数データ24e4eと、「緊急停止」累積時間データ24e4fと、「刃具使用」回数データ24e4gと、「刃具使用」累積時間データ24e4hと、を含む。
 「センサ異常検出」回数データ24e4aの値は、「1」であり、「センサ異常検出」累積時間データ24e4bの値は、「10分」である。
 「電圧低下」回数データ24e4cの値は、「0」であり、「電圧低下」累積時間データ24e4dの値は、「0分」である。
 「緊急停止」回数データ24e4eの値は、「1」であり、「緊急停止」累積時間データ24e4fの値は、「10分」である。
 「刃具使用」回数データ24e4gの値は、「3」であり、「刃具使用」累積時間データ24e4hの値は、「30分」である。
 次に、データロギング部24b2は、「センサ異常検出」回数カウンタ24c5、「センサ異常検出」累積時間カウンタ24c6、「電圧低下」回数カウンタ24c7、「電圧低下」累積時間カウンタ24c8、「緊急停止」回数カウンタ24c9、「緊急停止」累積時間カウンタ24c10、「刃具使用」回数カウンタ24c11及び「刃具使用」累積時間カウンタ24c12をクリアする(ステップS222)。
 更に、データロギング部24b2は、第2ロギングデータ24e3のファイルをクローズし(ステップS224)、新たな第3ロギングデータ24e5のファイルをロギングデータ記憶部24e内に作成する(ステップS226)。
 データロギング部24b2は、時刻16時00分00秒から時刻16時59分59秒までの間、データ取得周期つまり1秒毎に、メモリ領域であるデバイス「D1」21b1の「0」のデータ、メモリ領域であるデバイス「D2」21b2の「0」のデータ、メモリ領域であるデバイス「D3」21b3の「0」のデータ及びメモリ領域であるデバイス「D4」21b4の「0」のデータを取得して、第3ロギングデータ24e5に書き込む。
 再び図13を参照すると、時刻16時00分00秒からタイミングt21の直前までにおいて、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、時刻16時00分00秒からタイミングt21までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 タイミングt21において、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt21において、第4ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングt21において、「刃具使用」回数カウンタ24c11をカウントアップする。従って、タイミングt21において、「刃具使用」回数カウンタ24c11の値は、「1」になる。
 タイミングt21から、10分後のタイミングt22の直前までの間は、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」である。
 従って、ロギング条件判定部24b4は、タイミングt21からタイミングt22の直前までの間において、第4ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングt21からタイミングt22の直前までの間において、データ取得周期つまり1秒毎に、「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングt22において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータは、「0」から「1」に変化するとともに、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt22において、第1ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングt22において、「センサ異常検出」回数カウンタ24c5をカウントアップする。従って、タイミングt22において、「センサ異常検出」回数カウンタ24c5の値は、「1」になる。
 また、データロギング部24b2は、タイミングt22において、「刃具使用」累積時間カウンタ24c12のカウントアップを行わない。従って、タイミングt22において、「刃具使用」累積時間カウンタ24c12の値は、「10分」になる。
 タイミングt22から、10分後のタイミングt23の直前までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータは、「1」である。
 従って、データロギング部24b2は、タイミングt22からタイミングt23の直前までの間において、データ取得周期つまり1秒毎に、「センサ異常検出」累積時間カウンタ24c6をカウントアップする。
 タイミングt23において、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt23において、第1ロギング条件及び第4ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングt23において、「刃具使用」回数カウンタ24c11をカウントアップする。従って、タイミングt23において、「刃具使用」回数カウンタ24c11の値は、「2」になる。
 タイミングt23から、10分後であるタイミングt24の直前までの間は、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」である。
 従って、ロギング条件判定部24b4は、タイミングt23からタイミングt24の直前までの間において、第1ロギング条件及び第4ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングt23からタイミングt24の直前までの間において、データ取得周期つまり1秒毎に、「センサ異常検出」累積時間カウンタ24c6及び「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングt24において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt24において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 従って、データロギング部24b2は、タイミングt24において、「センサ異常検出」累積時間カウンタ24c6及び「刃具使用」累積時間カウンタ24c12のカウントアップを行わない。従って、タイミングt24において、「センサ異常検出」累積時間カウンタ24c6の値は「20分」になり、「刃具使用」累積時間カウンタ24c12の値は「20分」になる。
 タイミングt24からタイミングt25の直前までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、タイミングt24からタイミングt25の直前までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 タイミングt25において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」から「1」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt25において、第1ロギング条件及び第4ロギング条件が満たされたと判定し(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化したと判定する(ステップS212でYes)。
 従って、データロギング部24b2は、タイミングt25において、「センサ異常検出」回数カウンタ24c5及び「刃具使用」回数カウンタ24c11をカウントアップする。従って、タイミングt25において、「センサ異常検出」回数カウンタ24c5の値は「2」になり、「刃具使用」回数カウンタ24c11の値は「3」になる。
 タイミングt25から、10分後のタイミングt26の直前までの間は、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」である。
 従って、ロギング条件判定部24b4は、タイミングt25からタイミングt26の直前までの間において、第1ロギング条件及び第4ロギング条件が満たされたと判定するが(ステップS210でYes)、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが前回から変化していないと判定する(ステップS212でNo)。
 従って、データロギング部24b2は、タイミングt25からタイミングt26の直前までの間において、データ取得周期つまり1秒毎に、「センサ異常検出」累積時間カウンタ24c6及び「刃具使用」累積時間カウンタ24c12をカウントアップする。
 タイミングt26において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「1」から「0」に変化している。
 従って、ロギング条件判定部24b4は、タイミングt26において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 従って、データロギング部24b2は、タイミングt26において、「センサ異常検出」累積時間カウンタ24c6及び「刃具使用」累積時間カウンタ24c12のカウントアップを行わない。従って、タイミングt26において、「センサ異常検出」累積時間カウンタ24c6の値は「30分」になり、「刃具使用」累積時間カウンタ24c12の値は「30分」になる。
 タイミングt26から時刻16時59分59秒までの間において、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータは、「0」である。
 従って、ロギング条件判定部24b4は、タイミングt26から時刻16時59分59秒までの間において、第1ロギング条件から第4ロギング条件までのいずれも満たされていないと判定する(ステップS210でNo)。
 時刻16時59分59秒になると、トリガ条件判定部24b3は、トリガ条件が満たされたと判定する(ステップS218でYes)。
 従って、データロギング部24b2は、時刻16時59分59秒において、「センサ異常検出」回数カウンタ24c5、「電圧低下」回数カウンタ24c7、「緊急停止」回数カウンタ24c9及び「刃具使用」回数カウンタ24c11内の回数と、「センサ異常検出」累積時間カウンタ24c6、「電圧低下」累積時間カウンタ24c8、「緊急停止」累積時間カウンタ24c10及び「刃具使用」累積時間カウンタ24c12内の累積時間と、をロギングデータ記憶部24eに書き込む。
 図17は、実施の形態1にかかるロギング装置のロギングデータ記憶部の記憶内容を示す図である。
 第3ロギングデータ24e5には、時刻16時00分00秒から時刻16時59分59秒までの、メモリ領域であるデバイス「D1」21b1の「センサ異常検出」のデータ、メモリ領域であるデバイス「D2」21b2の「電圧低下」のデータ、メモリ領域であるデバイス「D3」21b3の「緊急停止」のデータ及びメモリ領域であるデバイス「D4」21b4の「刃具使用」のデータが時系列に格納されている。
 データロギング部24b2は、第3ロギングデータ24e5に、第3付帯データ24e6を付帯させる。第3付帯データ24e6は、「センサ異常検出」回数データ24e6aと、「センサ異常検出」累積時間データ24e6bと、「電圧低下」回数データ24e6cと、「電圧低下」累積時間データ24e6dと、「緊急停止」回数データ24e6eと、「緊急停止」累積時間データ24e6fと、「刃具使用」回数データ24e6gと、「刃具使用」累積時間データ24e6hと、を含む。
 「センサ異常検出」回数データ24e6aの値は、「2」であり、「センサ異常検出」累積時間データ24e6bの値は、「30分」である。
 「電圧低下」回数データ24e6cの値は、「0」であり、「電圧低下」累積時間データ24e6dの値は、「0分」である。
 「緊急停止」回数データ24e6eの値は、「0」であり、「緊急停止」累積時間データ24e6fの値は、「0分」である。
 「刃具使用」回数データ24e6gの値は、「3」であり、「刃具使用」累積時間データ24e6hの値は、「30分」である。
 次に、データロギング部24b2は、「センサ異常検出」回数カウンタ24c5、「センサ異常検出」累積時間カウンタ24c6、「電圧低下」回数カウンタ24c7、「電圧低下」累積時間カウンタ24c8、「緊急停止」回数カウンタ24c9、「緊急停止」累積時間カウンタ24c10、「刃具使用」回数カウンタ24c11及び「刃具使用」累積時間カウンタ24c12をクリアする(ステップS222)。
 更に、データロギング部24b2は、第3ロギングデータ24e5のファイルをクローズし(ステップS224)、新たな第4ロギングデータのファイルをロギングデータ記憶部24e内に作成する(ステップS226)。
 なお、実施の形態1では、データロギング部24b2は、「センサ異常検出」回数データ24e2a、「センサ異常検出」累積時間データ24e2b、「電圧低下」回数データ24e2c、「電圧低下」累積時間データ24e2d、「緊急停止」回数データ24e2e、「緊急停止」累積時間データ24e2f、「刃具使用」回数データ24e2g及び「刃具使用」累積時間データ24e2hを含む第1付帯データ24e2を、第1ロギングデータ24e1に付帯させたが、これに限定されない。
 データロギング部24b2は、第1のフォルダをロギングデータ記憶部24e内に作成し、第1ロギングデータ24e1、「センサ異常検出」回数データ24e2a、「センサ異常検出」累積時間データ24e2b、「電圧低下」回数データ24e2c、「電圧低下」累積時間データ24e2d、「緊急停止」回数データ24e2e、「緊急停止」累積時間データ24e2f、「刃具使用」回数データ24e2g及び「刃具使用」累積時間データ24e2hを、第1のフォルダ内に配置しても良い。
 同様に、データロギング部24b2は、第2のフォルダをロギングデータ記憶部24e内に作成し、第2ロギングデータ24e3、「センサ異常検出」回数データ24e4a、「センサ異常検出」累積時間データ24e4b、「電圧低下」回数データ24e4c、「電圧低下」累積時間データ24e4d、「緊急停止」回数データ24e4e、「緊急停止」累積時間データ24e4f、「刃具使用」回数データ24e4g及び「刃具使用」累積時間データ24e4hを、第2のフォルダ内に配置しても良い。
 同様に、データロギング部24b2は、第3のフォルダをロギングデータ記憶部24e内に作成し、第3ロギングデータ24e5、「センサ異常検出」回数データ24e6a、「センサ異常検出」累積時間データ24e6b、「電圧低下」回数データ24e6c、「電圧低下」累積時間データ24e6d、「緊急停止」回数データ24e6e、「緊急停止」累積時間データ24e6f、「刃具使用」回数データ24e6g及び「刃具使用」累積時間データ24e6hを、第3のフォルダ内に配置しても良い。
 ロギング装置24は、次の効果を奏する。
 データロギング部24b2は、トリガ条件データ44cに記述されたトリガ条件が満たされたタイミングで、メモリ領域であるデバイス「D1」21b1からメモリ領域であるデバイス「D4」21b4までのデータを分割し、第1ロギングデータ24e1、第2ロギングデータ24e3及び第3ロギングデータ24e5に書き込む。
 従って、ロギング装置24は、外部からトリガ信号を入力する必要がないので、生産現場での使用が容易である。
 また、例えば、14時00分00秒から14時59分59秒までのいずれかのタイミングで産業システム1にトラブルが発生した場合に、ユーザは、第1ロギングデータ24e1だけを調べれば良く、第2ロギングデータ24e3及び第3ロギングデータ24e5を調べなくても良い。
 これにより、ロギング装置24は、ユーザがデータを調べることが容易になり、ユーザの作業工数を削減することができ、トラブルの早期解決を実現できる。
 また、データロギング部24b2は、第1付帯データ24e2を第1ロギングデータ24e1に付帯させ、第2付帯データ24e4を第2ロギングデータ24e3に付帯させ、第3付帯データ24e6を第3ロギングデータ24e5に付帯させる。
 従って、産業システム1にトラブルが発生した場合に、ユーザは、第1付帯データ24e2、第2付帯データ24e4又は第3付帯データ24e6をまず調べて、トラブルの絞り込みを行うことができる。
 例えば、産業システム1に「電圧低下」のトラブルが発生した場合に、ユーザは、第1付帯データ24e2、第2付帯データ24e4又は第3付帯データ24e6をまず調べる。第1付帯データ24e2内の「電圧低下」回数データ24e2cの値は「1」であり、第2付帯データ24e4内の「電圧低下」回数データ24e4cの値は「0」であり、第3付帯データ24e6内の「電圧低下」回数データ24e6cの値は「0」である。従って、ユーザは、産業システム1に「電圧低下」のトラブルが発生したタイミングが14時00分00秒から14時59分59秒までの間であることまで、絞り込むことができる。従って、ユーザは、第1ロギングデータ24e1だけを調べれば良く、第2ロギングデータ24e3及び第3ロギングデータ24e5を調べなくても良い。
 これにより、ロギング装置24は、ユーザがデータを調べることが容易になり、ユーザの作業工数を削減することができ、トラブルの早期解決を実現できる。
 また、停電が発生した場合に、不揮発性記憶部24cは不揮発性であるので、停電直前の回数カウンタ及び累積時間カウンタが不揮発性記憶部24c内に残っている。また、ロギングデータ記憶部24eも不揮発性であるので、停電直前のロギングデータがロギングデータ記憶部24e内に残っている。
 従って、データロギング部24b2は、停電から復帰する際に、停電直前までの回数カウンタ、累積時間カウンタ及びロギングデータを引き継いで、ロギングを行うことが可能である。
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。
 1 産業システム、2 プログラマブルコントローラ、3 機械、4 エンジニアリングツール、24 ロギング装置、24a バスインタフェース、24b CPU、24b1 データ取得部、24b2 データロギング部、24b3 トリガ条件判定部、24b4 ロギング条件判定部、24c 不揮発性記憶部、24d スロット、24e ロギングデータ記憶部、24f ネットワークインタフェース。

Claims (12)

  1.  外部からデータを時系列で取得するデータ取得部と、
     前記データを時系列に格納するためのロギングデータを記憶するロギングデータ記憶部と、
     前記データを時系列で分ける時期を定める条件であり、ユーザによって設定されたトリガ条件をエンジニアリングツールから受信するデータロギング部と、
     前記トリガ条件が満たされたか否かを判定するトリガ条件判定部と、
     を備え、
     前記データロギング部は、
     前記データを前記ロギングデータに書き込み、前記トリガ条件判定部で前記トリガ条件が満たされたと判定されたら、前記データを新たな前記ロギングデータに書き込む
     ことを特徴とするロギング装置。
  2.  前記データロギング部は、
     前記データが予め定められた値に変化した回数をカウントする条件であり、ユーザによって設定されたロギング条件を前記エンジニアリングツールから受信し、
     前記ロギング条件が満たされたか否かを判定するロギング条件判定部を更に備え、
     前記データロギング部は、
     前記時期毎に、前記データが前記予め定められた値に変化した回数をカウントして、前記ロギングデータ記憶部に書き込む
     ことを特徴とする請求項1に記載のロギング装置。
  3.  前記データ取得部は、
     外部から複数の前記データを取得し、
     前記ロギング条件判定部は、
     前記複数のデータに対して夫々定められた複数の前記ロギング条件が満たされたか否かを判定し、
     前記データロギング部は、
     前記複数のデータ毎に、前記予め定められた値に変化した回数をカウントして、前記ロギングデータ記憶部に書き込む
     ことを特徴とする請求項2に記載のロギング装置。
  4.  前記データロギング部は、
     前記データが前記予め定められた値を維持した累積時間をカウントする条件であり、ユーザによって設定されたロギング条件を前記エンジニアリングツールから受信し、
     前記ロギング条件が満たされたか否かを判定するロギング条件判定部を更に備え、
     前記データロギング部は、
     前記時期毎に、前記データが前記予め定められた値を維持した累積時間をカウントして、前記ロギングデータ記憶部に書き込む
     ことを特徴とする請求項1に記載のロギング装置。
  5.  前記データ取得部は、
     外部から複数の前記データを取得し、
     前記ロギング条件判定部は、
     前記複数のデータに対して夫々定められた複数の前記ロギング条件が満たされたか否かを判定し、
     前記データロギング部は、
     前記複数のデータ毎に、前記データが前記予め定められた値を維持した累積時間をカウントして、前記ロギングデータ記憶部に書き込む
     ことを特徴とする請求項4に記載のロギング装置。
  6.  前記ロギングデータ記憶部は、
     不揮発性記憶部であり、
     前記データロギング部は、
     停電が発生した後停電から復帰する際に、前記ロギングデータ記憶部に記憶された前記データを引き継いで、前記データを前記ロギングデータに書き込むことを特徴とする請求項1に記載のロギング装置。
  7.  外部からデータを時系列で取得する第1のステップと、
     前記データを、ロギングデータ記憶部に記憶されている、前記データを時系列に格納するためのロギングデータに書き込む第2のステップと、
     前記データを時系列で分ける時期を定める条件であり、ユーザによって設定されたトリガ条件をエンジニアリングツールから受信する第3のステップと、
     前記トリガ条件が満たされたか否かを判定する第4のステップと、
     前記トリガ条件が満たされたと判定されたら、前記データを新たな前記ロギングデータに書き込む第5のステップと、
     を備えることを特徴とするロギング方法。
  8.  前記データが予め定められた値に変化した回数をカウントする条件であり、ユーザによって設定されたロギング条件を前記エンジニアリングツールから受信する第6のステップと、
     前記ロギング条件が満たされたか否かを判定する第7のステップと、
     前記時期毎に、前記データが前記予め定められた値に変化した回数をカウントして、前記ロギングデータ記憶部に書き込む第8のステップと、
     を更に備えることを特徴とする請求項7に記載のロギング方法。
  9.  前記第1のステップは、
     外部から複数の前記データを取得し、
     前記第7のステップは、
     前記複数のデータに対して夫々定められた複数の前記ロギング条件が満たされたか否かを判定し、
     前記第8のステップは、
     前記複数のデータ毎に、前記予め定められた値に変化した回数をカウントして、前記ロギングデータ記憶部に書き込む
     ことを特徴とする請求項8に記載のロギング方法。
  10.  前記データが前記予め定められた値を維持した累積時間をカウントする条件であり、ユーザによって設定されたロギング条件を前記エンジニアリングツールから受信する第6のステップと、
     前記ロギング条件が満たされたか否かを判定する第7のステップと、
     前記時期毎に、前記データが前記予め定められた値を維持した累積時間をカウントして、前記ロギングデータ記憶部に書き込む第8のステップと、
     を更に備えることを特徴とする請求項7に記載のロギング方法。
  11.  前記第1のステップは、
     外部から複数の前記データを取得し、
     前記第7のステップは、
     前記複数のデータに対して夫々定められた複数の前記ロギング条件が満たされたか否かを判定し、
     前記第8のステップは、
     前記複数のデータ毎に、前記データが前記予め定められた値を維持した累積時間をカウントして、前記ロギングデータ記憶部に書き込む
     ことを特徴とする請求項10に記載のロギング方法。
  12.  前記ロギングデータ記憶部は、
     不揮発性記憶部であり、
     前記第1のステップは、
     停電が発生した後停電から復帰する際に、前記ロギングデータ記憶部に記憶された前記データを引き継いで、前記データを前記ロギングデータに書き込むことを特徴とする請求項7に記載のロギング方法。
PCT/JP2015/085792 2015-12-22 2015-12-22 ロギング装置及びロギング方法 WO2017109850A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/JP2015/085792 WO2017109850A1 (ja) 2015-12-22 2015-12-22 ロギング装置及びロギング方法
CN201580059334.9A CN107111310A (zh) 2015-12-22 2015-12-22 日志记录装置及日志记录方法
KR1020177011103A KR101893718B1 (ko) 2015-12-22 2015-12-22 로깅 장치 및 로깅 방법
JP2016569101A JP6169293B1 (ja) 2015-12-22 2015-12-22 ロギング装置及びロギング方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/085792 WO2017109850A1 (ja) 2015-12-22 2015-12-22 ロギング装置及びロギング方法

Publications (1)

Publication Number Publication Date
WO2017109850A1 true WO2017109850A1 (ja) 2017-06-29

Family

ID=59090905

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/085792 WO2017109850A1 (ja) 2015-12-22 2015-12-22 ロギング装置及びロギング方法

Country Status (4)

Country Link
JP (1) JP6169293B1 (ja)
KR (1) KR101893718B1 (ja)
CN (1) CN107111310A (ja)
WO (1) WO2017109850A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116595012A (zh) * 2023-07-17 2023-08-15 华中科技大学 一种基于非易失内存的时序数据库日志存储方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0619747A (ja) * 1992-06-30 1994-01-28 Fujitsu Ltd 運用停止ログデータ補完方式
JP2000276222A (ja) * 1999-03-29 2000-10-06 Omron Corp ロギング装置
JP2011013793A (ja) * 2009-06-30 2011-01-20 Mitsubishi Electric Corp データ処理装置及びプログラム
JP2015060275A (ja) * 2013-09-17 2015-03-30 三菱電機株式会社 ログデータ収集装置、ログデータの管理方法、及び、プログラム

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4917250B2 (ja) 2004-03-23 2012-04-18 株式会社豊田中央研究所 デ−タ収録装置
JP2015176370A (ja) * 2014-03-14 2015-10-05 オムロン株式会社 制御システム、方法、プログラムおよび情報処理装置
CN104199766A (zh) * 2014-08-25 2014-12-10 广东欧珀移动通信有限公司 一种异常运行的监控方法和装置
CN104394009B (zh) * 2014-10-29 2019-05-07 中国建设银行股份有限公司 一种故障信息的处理方法及装置
CN104990213B (zh) * 2015-06-29 2017-09-15 广东美的制冷设备有限公司 一种多人环境下协同控制空调的方法及系统
CN105116842B (zh) * 2015-07-13 2018-05-11 华中科技大学 一种基于数控系统日志的故障数据可视化解析方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0619747A (ja) * 1992-06-30 1994-01-28 Fujitsu Ltd 運用停止ログデータ補完方式
JP2000276222A (ja) * 1999-03-29 2000-10-06 Omron Corp ロギング装置
JP2011013793A (ja) * 2009-06-30 2011-01-20 Mitsubishi Electric Corp データ処理装置及びプログラム
JP2015060275A (ja) * 2013-09-17 2015-03-30 三菱電機株式会社 ログデータ収集装置、ログデータの管理方法、及び、プログラム

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116595012A (zh) * 2023-07-17 2023-08-15 华中科技大学 一种基于非易失内存的时序数据库日志存储方法及系统
CN116595012B (zh) * 2023-07-17 2023-09-22 华中科技大学 一种基于非易失内存的时序数据库日志存储方法及系统

Also Published As

Publication number Publication date
KR20170141184A (ko) 2017-12-22
KR101893718B1 (ko) 2018-08-30
CN107111310A (zh) 2017-08-29
JP6169293B1 (ja) 2017-07-26
JPWO2017109850A1 (ja) 2017-12-28

Similar Documents

Publication Publication Date Title
US11009862B2 (en) System and method for monitoring manufacturing
CN103093304A (zh) 用于分布式诊断推理的方法和系统
CN101611375A (zh) 计算机系统事件界面
CN103744337A (zh) 用于在分层分布式基于条件的维护系统中执行基于条件的数据采集的方法
US20160246274A1 (en) Control apparatus for giving notification of maintenance and inspection times of signal-controlled peripheral devices
EP2634733A1 (en) Operations task management system and method
CN113934720A (zh) 一种数据清洗方法、设备及计算机存储介质
CN104977922A (zh) 设备监视装置和方法
JP6169293B1 (ja) ロギング装置及びロギング方法
CN112673326A (zh) 控制装置及控制程序
JP2011258064A (ja) データ収集記録装置及びデータ収集記録方法
KR101981910B1 (ko) 프로그래머블 표시기
CN115794486A (zh) 一种机器人信息获取方法、系统、装置及可读介质
EP3547614A1 (en) Management device, management method, management program, and recording medium
JP4711168B2 (ja) 生産設備管理システム
CN112445189A (zh) 数据收集系统、数据收集方法和程序
CN111695880A (zh) 一种生产流程监控方法及系统
CN110908856A (zh) 资源监控系统、资源监控方法和程序
JP6302817B2 (ja) データ記録装置および方法
US11709478B2 (en) Production system, production method, and information storage medium
WO2022162957A1 (ja) 情報処理装置、制御システムおよびレポート出力方法
JP6840013B2 (ja) 時系列データ記録方法および装置
JP6857068B2 (ja) 時系列データ記録方法および装置
JP2017076164A (ja) 機器監視装置およびアラート情報管理方法
JP2006213469A (ja) エレベータの故障解析装置及びその方法

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016569101

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20177011103

Country of ref document: KR

Kind code of ref document: A

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

Ref document number: 15911288

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15911288

Country of ref document: EP

Kind code of ref document: A1