WO2017098585A1 - Control system and control device - Google Patents

Control system and control device Download PDF

Info

Publication number
WO2017098585A1
WO2017098585A1 PCT/JP2015/084439 JP2015084439W WO2017098585A1 WO 2017098585 A1 WO2017098585 A1 WO 2017098585A1 JP 2015084439 W JP2015084439 W JP 2015084439W WO 2017098585 A1 WO2017098585 A1 WO 2017098585A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage medium
control device
external storage
unit
control
Prior art date
Application number
PCT/JP2015/084439
Other languages
French (fr)
Japanese (ja)
Inventor
宏和 永井
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=58666696&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=WO2017098585(A1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2015/084439 priority Critical patent/WO2017098585A1/en
Priority to CN201580064191.0A priority patent/CN107046809B/en
Priority to JP2016567702A priority patent/JP6113381B1/en
Publication of WO2017098585A1 publication Critical patent/WO2017098585A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers

Definitions

  • the present invention relates to a control system and a control device for controlling equipment in the FA (Factory Automation) field.
  • ⁇ Equipment in the FA field is generally realized by combining multiple types of equipment.
  • a plurality of devices constituting facilities in the FA field are controlled by a control system including a plurality of programmable controllers that are control devices that integrate control processing and information processing (see Patent Document 1).
  • the programmable controller includes a storage device that stores information acquired from the device.
  • a storage device a device that stores information in a removable external storage medium may be used.
  • the programmable controller overwrites the area in which the information is already stored in the external storage medium or stops acquiring information. .
  • a programmable controller When a programmable controller overwrites information in a storage area that already stores information in an external storage medium or stops acquiring information, it cannot acquire information that is continuous in time series, and needs to acquire information again. May occur and work efficiency may deteriorate.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a control system capable of suppressing deterioration of work efficiency.
  • the present invention provides a first control device having storage means for storing information acquired from a device in a removable external storage medium, and a first control device. And a second control device connected to one or more.
  • the control system switches the storage destination of information from the external storage medium to the storage medium of the second control device before the amount of information before storing in the external storage medium exceeds the free capacity of the external storage medium.
  • a destination switching unit is provided.
  • the control system includes a second storage destination switching unit that switches the information storage destination from the storage medium of the second control device to the external storage medium after the free space of the external storage medium increases.
  • the control system according to the present invention has an effect of suppressing the deterioration of work efficiency.
  • FIG. The figure which shows the structure of the control system which concerns on Embodiment 3.
  • FIG. 1 is a diagram illustrating a configuration of a control system according to the first embodiment.
  • the control system 1 constitutes equipment in the FA field, and as shown in FIG. 1, a plurality of devices 2 and 3 installed in the equipment and a plurality of control devices 5 connected to the plurality of devices 2 and 3. And a computer 6 connected to the control device 5.
  • the control system 1 includes two devices 2 and 3, but is not limited to two.
  • the device 2 and the device 3 are sensors or driving devices. Examples of the sensor include a sensor that detects a flow rate, pressure, concentration, or temperature installed in the facility.
  • Examples of the drive device include a drive device that performs an operation that is a switch, an adjustment valve, a solenoid valve, a motor, or a pump installed in the facility.
  • the computer 6 creates a control program to be executed by the control device 5 and transmits it to the control device 5.
  • the control device 5 controls the devices 2 and 3 by executing a control program.
  • the control device 5 is a programmable controller (Programmable Logic Controllers (PLC)).
  • PLC Programmable Logic Controllers
  • the programmable controller is defined by JIS (Japanese Industrial Standards) B 3502: 2011.
  • FIG. 2 is a diagram illustrating a hardware configuration of a computer of the control system according to the first embodiment.
  • the computer 6 according to the first embodiment executes a computer program, and as shown in FIG. 2, a CPU (Central Processing Unit) 61, a RAM (Random Access Memory) 62, and a ROM (Read Only Memory). ) 63, a storage device 64, an input device 65, a display device 66, and a communication interface 67.
  • the CPU 61, RAM 62, ROM 63, storage device 64, input device 65, display device 66, and communication interface 67 are connected to each other via the bus B.
  • the CPU 61 executes programs stored in the ROM 63 and the storage device 64 while using the RAM 62 as a work area.
  • the program stored in the ROM 63 is BIOS (Basic Input / Output System) or UEFI (Unified Extensible Firmware Interface), but the program stored in the ROM 63 is not limited to BIOS or UEFI.
  • the program stored in the storage device 64 is an operating system program and an engineering tool program.
  • the program stored in the storage device 64 is not limited to the operating system program and the engineering tool program.
  • the storage device 64 is an SSD (Solid State Drive) or an HDD (Hard Disk Drive), but the storage device 64 is not limited to an SSD or an HDD.
  • the input device 65 receives an operation input from the user.
  • the input device 65 is a keyboard or a mouse, but is not limited to a keyboard or a mouse.
  • the display device 66 displays characters and images.
  • the display device 66 is a liquid crystal display device, but is not limited to a liquid crystal display device.
  • the communication interface 67 communicates with the control device 5 via the network N.
  • the network N is a computer network that connects the computer 6 and the two control devices 5 so that they can communicate with each other.
  • the network N is a LAN (Local Area Network) installed in the FA facility.
  • control devices 5 are provided and connected to each other via a network N.
  • the two control devices 5 are connected to the same devices 2 and 3 and made redundant with each other, but three or more control devices 5 may be provided and not made redundant with each other.
  • the standby state is a so-called standby power supply mode for power saving, and is in any one of S1, S2, S3, and S4 states defined by ACPI (Advanced Configuration and Power Interface) or ACPI.
  • ACPI Advanced Configuration and Power Interface
  • the drive system control device 5 is a first control device and a control device
  • the standby system control device 5 is a second control device and another control device.
  • the standby system control device 5 is configured such that when the drive system control device 5 is powered off, at the time of resetting the drive system control device 5 to the initial state, at the time of failure of the drive system control device 5, the drive system control device 5.
  • the drive system control device 5 is switched.
  • the standby system control device 5 acquires and stores information on the devices 2 and 3 and stores the devices 2 and 3 in place of what has been operated as the drive system control device 5 until now.
  • the drive system control device 5 is reset when the power is turned off, after being reset, when recovered from a failure, when recovered from an error, or when a signal indicating a switching request from the computer 6 is received. Switch to standby state.
  • the drive system control device 5 is described as a drive system control device 5 ⁇ / b> D
  • the standby system control device 5 is described as a standby system control device 5 ⁇ / b> W.
  • the control device 5 and the standby system control device 5 cannot be distinguished, they are simply referred to as the control device 5.
  • the reference numeral of the component that can be identified as that of the drive system controller 5D is given “D”
  • information acquired from the devices 2 and 3 and stored in the external storage medium 100 is referred to as collected data.
  • the control device 5 includes a memory 10 that temporarily stores collected data and a data collection unit 20 that collects collected data.
  • the control device 5 includes a communication unit 30 that can bidirectionally communicate with another control device 5 and the computer 6 via the network N, and an external storage medium storage unit 40 that is a storage unit that stores collected data in the external storage medium 100.
  • an external storage medium management unit 50 that manages the external storage medium 100.
  • the memory 10 is a storage medium having a storage area in which information that can be read by the computer 6 can be stored.
  • the memory 10 is the drive system control device 5D
  • the user data memory 11 that stores the collected data
  • the buffer memory 12 that temporarily stores the collected data stored in the user data memory 11 by the data collecting unit 20 With.
  • the user data memory 11 executes the overwrite mode or stops storage when the amount of collected data received from the drive system control device 5D when it is the standby system control device 5W is larger than the free capacity of the external storage medium 100 Information indicating whether to execute the mode is stored.
  • the free capacity of the external storage medium 100 is the capacity of a free storage area that does not store information.
  • the overwrite mode is a mode in which the received collected data is overwritten on a storage area in the external storage medium 100 in which information is already stored.
  • the storage stop mode is a mode for stopping storage of received collected data.
  • the user data memory 11 executes the continue mode or returns data. Information indicating whether to execute the mode is stored.
  • the continue mode is a mode for continuing to store the collected data received from the drive system control device 5D in the external storage medium 100W.
  • the data return mode the collected data received from the drive system control device 5D and the collected data stored in the external storage medium 100W are collectively transmitted to the drive system control device 5D, and storage of the subsequent collected data is stored in the drive system control device. In this mode, 5D is executed.
  • the user data memory 11 executes the external storage medium storage mode for storing the collected data in the external storage medium 100D or the transmission mode for transmitting the collected data to the standby system control device 5W when it is the drive system control device 5D.
  • the information which shows is memorize
  • the storage area of the user data memory 11 includes a storage area for storing collected data, a storage area for storing information indicating whether the overwrite mode is executed or the storage stop mode is executed, and the continuation mode is executed or the data return mode. And a storage area for storing information indicating whether the external storage medium storage mode is executed or the transmission mode is executed.
  • the buffer memory 12 temporarily stores the collected data written in the user data memory 11 when it is the drive system control device 5D.
  • the buffer memory 12 temporarily stores information received from the drive system control device 5D when it is the standby system control device 5W.
  • the data collection unit 20 is a data creation unit 21 that creates collection data to be stored in the external storage medium 100, and a drive that is a first storage destination switching unit that determines a storage destination of information when the drive system control device 5D is used.
  • the data collection unit 20 includes a standby system collection control unit 23 that is a second storage destination switching unit that determines a storage destination of information when the standby system control device 5W is used.
  • the external storage medium storage unit 40 is detachable from the external storage medium 100, and stores the information created by the data creation unit 21 in the attached external storage medium 100.
  • the external storage medium 100 is composed of an SD memory card (Secure Digital memory card) or SRAM (Static Random Access Memory) cassette, but is not limited to an SD memory card or RAM cassette, and is magnetic. A disc, an optical disc, or a magneto-optical disc may be used.
  • the external storage medium 100W attached to the external storage medium storage unit 40W of the standby control device 5W is the second storage device that is detachably attached to the storage medium of the second control device and the second control device. It is a storage medium.
  • the external storage medium management unit 50 includes an access unit 51 having a function of enabling storage of collected data to the external storage medium 100 attached to the external storage medium storage unit 40 and reading of the collected data, and external storage medium storage A capacity management unit 52 having a function of holding information on the capacity of the storage area stored in the external storage medium 100 attached to the unit 40 and information on free space.
  • FIG. 3 is a diagram illustrating a hardware configuration of the control device of the control system according to the first embodiment.
  • the control device 5 includes a CPU unit 5A for processing and executing a control program, and an I / O (Input / Output) unit 5B connected to the devices 2 and 3.
  • I / O Input / Output
  • two I / O units 5B are provided and connected to one of the devices 2 and 3, respectively.
  • the I / O unit 5B includes at least a circuit board 5B1, and an MPU (Micro Processing Unit) (not shown) that is mounted on the circuit board 5B1 and stores and executes a computer program.
  • MPU Micro Processing Unit
  • the CPU unit 5A includes a circuit board 5A1, an MPU 5A2 that is mounted on the circuit board 5A1 and executes a control program, and a memory 5A3 that is connected to the MPU 5A2 via the internal bus B1.
  • the CPU unit 5A includes a communication interface 5A4 that communicates with the computer 6 and another control device 5, a bus interface 5A5 connected to the I / O unit 5B, a storage unit 5A6 that stores a control program, and an external storage medium 100.
  • An external storage medium storage device 5A7 for storing the collected data.
  • the MPU 5A2, the memory 5A3, the communication interface 5A4, the bus interface 5A5, the storage unit 5A6, and the external storage medium storage device 5A7 are connected via the internal bus B1.
  • the bus interface 5A5 is a bus bridge circuit that connects the internal bus B1 and the expansion bus B2.
  • the bus interface 5A5 is connected to the I / O unit 5B via the expansion bus B2.
  • the storage unit 5A6 stores the control program received from the computer 6.
  • the storage unit 5A6 is an SSD or an HDD, but is not limited to an SSD or an HDD.
  • External storage medium 100 is detachable from external storage medium storage device 5A7.
  • the external storage medium storage device 5A7 can store information in the external storage medium 100 and can read information stored in the external storage medium 100.
  • the functions of the data creation unit 21, the drive system collection control unit 22, the standby system collection control unit 23, the access unit 51 of the external storage medium management unit 50, and the capacity management unit 52 of the data collection unit 20 are stored in the storage unit 5A6 by the MPU 5A2. This is realized by reading and executing the stored control program.
  • the control program is realized by software, firmware, or a combination of software and firmware.
  • the function of the communication unit 30 of the control device 5 is realized by the communication interface 5A4.
  • the function of the external storage medium storage unit 40 is realized by the external storage medium storage device 5A7 capable of storing information in the external storage medium 100.
  • the functions of the user data memory 11 and the buffer memory 12 of the memory 10 are realized by the memory 5A3.
  • the memory 5A3 is configured by a nonvolatile semiconductor memory or a volatile semiconductor memory.
  • a nonvolatile semiconductor memory or volatile semiconductor memory RAM, ROM, flash memory, EPROM (Erasable Programmable Read Only Memory), or EEPROM (Electrically Erasable Programmable Read Only Memory) can be used.
  • the memory 10 may be configured by at least one of a magnetic disk, an optical disk, and a magneto-optical disk.
  • FIG. 4 is a flowchart showing an example of the operation of the drive system controller of the control system according to the first embodiment.
  • FIG. 5 is a flowchart illustrating an example of part of the operation of the standby control device of the control system according to the first embodiment.
  • one of the two control devices 5 operates as the drive system control device 5D, and the other is the standby system control device 5W.
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D stores the collected data, which is information acquired from the devices 2 and 3, in the user data memory 11D of the memory 10D.
  • the computer 6 generates a computer program stored in the ROM 63 or a command for storing the collected data in the external storage medium 100D in the drive system control device 5D when the user operates the input device 65.
  • the data creation unit 21D of the data collection unit 20D of the drive system control device 5D receives an instruction to store the collected data from the computer 6 in the external storage medium 100D via the network N and the communication unit 30D (step ST1).
  • the data creation unit 21D of the data collection unit 20D of the drive system control device 5D acquires the collection data stored in the user data memory 11D of the memory 10D and stores it in the buffer memory 12D (step ST2).
  • the storage area for storing the collected data of the user data memory 11D is cleared when the collected data is acquired by the data creating unit 21D of the data collecting unit 20D of the drive system control device 5D, and is in an empty state where no information is stored. It becomes.
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D refers to the information stored in the storage area of the user data memory 11D of the memory 10D, and the storage destination of the collected data is the drive system control device 5D. It is determined whether or not to execute the external storage medium storage mode set in the external storage medium 100D attached to the external storage medium storage unit 40D (step ST3).
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D determines that the external storage medium storage mode is to be executed (step ST3: Yes)
  • the external storage medium management unit 50D externally transmits the capacity management unit 52D. Information on the free capacity of the storage medium 100D is acquired (step ST4).
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D determines whether or not the amount of collected data is smaller than the free capacity of the external storage medium 100D (step ST5).
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D determines that the amount of collected data is smaller than the free capacity of the external storage medium 100D (step ST5: Yes)
  • the access system 51D passes through the access unit 51D.
  • the collected data stored in the buffer memory 12D is stored in a free area of the external storage medium 100D (step ST6).
  • the storage area of the buffer memory 12D is cleared when the collected data is acquired by the drive system collection control unit 22D, and becomes an empty state where no information is stored.
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D has a collected data amount that is not smaller than the free space of the external storage medium 100D, that is, the collected data amount is free space of the external storage medium 100D. If it determines with it being above (step ST5: No), the transmission mode which sets the memory
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D stores information indicating that the transmission mode is executed in the storage area of the user data memory 11D.
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D determines that the external storage medium storage mode is not executed (step ST3: No), or sets the storage destination of the collected data as a standby system control device. After setting to 5W (step ST7), the collected data stored in the buffer memory 12 is transmitted to the standby control device 5W via the communication unit 30D (step ST8).
  • step ST7 when the drive system collection control unit 22D determines that the amount of collected data before being stored in the external storage medium 100D is equal to or larger than the free capacity of the external storage medium 100D (step ST5: No), By setting the storage destination in the standby system control device 5W (step ST7), the collected data storage destination is changed from the external storage medium 100D to the standby system control device before the amount of collected data exceeds the free capacity of the external storage medium 100D. Switch to 5W external storage medium 100W.
  • the drive system collection control unit 22D that is the first storage destination switching unit is provided in the drive system control device 5D that is the first control device.
  • the drive system collection control unit 22D determines that the amount of collected data is the free capacity of the external storage medium 100D. Before exceeding, the storage destination of the collected data may be switched from the external storage medium 100D to any one of the external storage media 100W of the second control device 5.
  • the communication unit 30W of the standby system control device 5W receives the collected data from the drive system control device 5D (step ST10).
  • the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W acquires information on the free capacity of the buffer memory 12W of the memory 10W of the standby system control device 5W.
  • Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines whether or not the free capacity of buffer memory 12W of memory 10W of standby system control device 5W is smaller than the amount of collected data received. (Step ST11).
  • the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the free capacity of the buffer memory 12W of the memory 10W of the standby system control device 5W is not smaller than the amount of collected data received ( In step ST11: No), the data creation unit 21W of the data collection unit 20W of the standby control device 5W stores the received collection data in the buffer memory 12W (step ST12). Note that the free capacity of the buffer memory 12W of the memory 10W of the standby control device 5W is not smaller than the amount of collected data received, that the free capacity of the buffer memory 12W of the memory 10W of the standby control device 5W is received. That is more than the amount of data.
  • Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines that the free capacity of buffer memory 12W of memory 10W of standby system control device 5W is smaller than the amount of collected data received (step) ST11: Yes) and the information stored in the buffer memory 12W is temporarily stored in the external storage medium 100W via the access unit 51W of the external storage medium management unit 50W.
  • the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W temporarily clears the storage area of the buffer memory 12W to make it an empty state in which information is not stored, and then stores the received collection data in the buffer memory It is stored in 12W (step ST13).
  • the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W clears the collected data temporarily stored in the external storage medium 100W after storing the received collection data in the buffer memory 12W.
  • the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W stores the received collection data in the buffer memory 12W (step ST12 and step ST13), and then the capacity management unit 52W of the external storage medium management unit 50W.
  • the information on the free space of the external storage medium 100W is acquired from (step ST14).
  • Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines whether or not the free capacity of external storage medium 100W is equal to or greater than the amount of collected data stored in buffer memory 12W (step ST15).
  • the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the free space of the external storage medium 100W is equal to or larger than the amount of collected data stored in the buffer memory 12W (step ST15: Yes).
  • the collected data stored in the buffer memory 12W via the access unit 51W is stored in a free area of the external storage medium 100W (step ST16).
  • step ST15 When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the free capacity of the external storage medium 100W is not greater than or equal to the amount of collected data stored in the buffer memory 12W (step ST15: No). Referring to the storage area of the user data memory 11 of the memory 10, it is determined whether or not information indicating the overwrite mode is stored (step ST17). That the free capacity of the external storage medium 100W is not equal to or greater than the amount of collected data stored in the buffer memory 12W is that the amount of collected data exceeds the free capacity of the external storage medium 100W.
  • step ST17: Yes When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that information indicating the overwrite mode is stored (step ST17: Yes), the standby system control unit 23W stores the information in the buffer memory 12W via the access unit 51W. The stored data that has been stored is overwritten on the storage area of the external storage medium 100W that already stores the information (step ST18). If the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the information indicating the overwrite mode is not stored (step ST17: No), the storage of the collected data is stopped (step ST19). ).
  • the capacity management unit 52D of the drive system control device 5D detects that the free capacity of the external storage medium 100D has increased, and the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D receives the communication unit 30D. Then, information indicating that the free space of the external storage medium 100D has increased is transmitted to the standby control device 5W.
  • the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W stores the collected data in the external storage medium 100W (step ST16), and then overwrites the collected data in the external storage medium 100W (step ST18). Alternatively, after the storage of the collected data is stopped (step ST19), it is determined whether or not the communication unit 30W has received information indicating that the free space of the external storage medium 100D has increased (step ST20). Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines that communication unit 30W has not received information indicating that the free capacity of external storage medium 100D has increased (step ST20: No). ) And the process returns to step ST10 to continue storing the collected data in the external storage medium 100W from the drive system controller 5D.
  • step ST20 When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the communication unit 30W has received information indicating that the free capacity of the external storage medium 100D has increased (step ST20: Yes). Reference is made to the storage area of the user data memory 11W. The standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines whether or not to execute the data return mode for changing the storage destination (step ST21).
  • step ST21: No When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the data return mode for changing the storage destination is not executed (step ST21: No), the process returns to step ST10, and the drive system control device The storage of the collected data received from 5D in the external storage medium 100W is continued.
  • the standby system control unit 23W of the data collection unit 20W of the standby system control device 5W determines to execute the data return mode for changing the storage destination of the received collection data (step ST21: Yes)
  • the standby system control unit 23W stores the data in the external storage medium 100W.
  • the stored collected data is transmitted to the drive system controller 5D via the communication unit 30W (step ST22).
  • the data creation unit 21D of the data collection unit 20D of the drive system control device 5D that has received the collection data transmitted from the standby system control device 5W stores the collection data stored in the user data memory 11D in the buffer memory 12D.
  • the received collected data is stored in the buffer memory 12D.
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D integrates the collected data stored in the buffer memory 12D.
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D stores the integrated collection data in the external storage medium 100D and stores information for executing the external storage medium storage mode in the storage area of the user data memory 11D.
  • the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D stores the collected data in the external storage medium 100D according to the flowchart shown in FIG.
  • the standby system collection control unit 23W determines that the free space of the external storage medium 100D has increased (step ST20: Yes), and determines to change the storage destination of the collected data to the external storage medium 100D (step ST21). :))
  • the storage destination of the collected data is switched from the external storage medium 100W of the standby control device 5W to the external storage medium 100D.
  • the standby system collection control unit 23W that is the second storage destination switching unit is provided in the standby system control device 5W that is the second control device.
  • the standby system collection control unit 23W stores the collected data after the free space of the external storage medium 100D increases.
  • the storage destination may be switched from any external storage medium 100W of the second control device 5 to the external storage medium 100D.
  • the storage destination of the collected data is set to the external A drive system collection control unit 22D that switches from the storage medium 100D to the external storage medium 100W of the standby system control device 5W is provided.
  • the control system 1 and the control device 5 can store the collected data in either of the external storage media 100D and 100W, and can acquire the collected data continuous in time series.
  • the control system 1 and the control device 5 do not need to re-acquire the collected data, and can suppress deterioration in work efficiency.
  • the control system 1 and the control device 5 since the collected data is stored in either the external storage medium 100D or 100W, the capacity of the memory 10 built in the control device 5 needs to be increased. There is no. As a result, according to the control system 1 and the control device 5, it is not necessary to add a memory to the control device 5, and an increase in the manufacturing cost of the control device 5 can be suppressed.
  • the standby system collection control for switching the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D Part 23W.
  • the standby system collection control unit 23W transmits the collected data stored in the external storage medium 100W to the drive system control device 5D.
  • the control system 1 and the control device 5 can integrate the collected data, and can acquire the collected data continuous in time series.
  • control system 1 and the control device 5 according to the first embodiment are connected to the drive system control device 5D and made redundant when the free capacity of the external storage medium 100D of the drive system control device 5D decreases.
  • the external storage medium 100W that is the storage medium of the device 5W stores the collected data. For this reason, the control system 1 and the control device 5 according to the first embodiment can collect the collected data in a time series, and can prevent the collected collected data from being lost.
  • FIG. 6 is a diagram illustrating a configuration of a control system according to the second embodiment.
  • FIG. 7 is a flowchart showing an example of part of the operation of the standby control device of the control system according to the second embodiment.
  • symbol is attached
  • each control device 5 of the control system 1, that is, the drive system control device 5D and the standby system control device 5W is the same as that of the first embodiment as shown in FIG.
  • the capacity management unit 52D detects that the free space of the external storage medium 100D has increased while the drive system collection control unit 22D is executing the transmission mode
  • the standby system collection control unit 23D determines that the free space of the external storage medium 100D is free. Instead of the information indicating the increase, an instruction to switch the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D is transmitted to the standby control device 5W.
  • the standby system collection control unit 23D stores information for executing the external storage medium storage mode in the storage area of the memory 10D.
  • the drive system control device 5D gives an instruction to the standby system control device 5W to switch the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D instead of the information indicating that the free space of the external storage medium 100D has increased.
  • the operation is the same as in the first embodiment except for transmitting.
  • the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W stores the collected data in the external storage medium 100W (step ST16), and then stores the collected data in the external storage medium 100W.
  • the communication unit 30W has received an instruction to switch the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D after overwriting (step ST18) or after stopping collection data collection (step ST19) Is determined (step ST21-2).
  • Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines that communication unit 30W has not received an instruction to switch the storage destination of the collected data from external storage medium 100W to external storage medium 100D ( Step ST21-2: No), the process returns to step ST10 to continue storing the collected data received from the drive system control device 5D in the external storage medium 100W.
  • Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines that communication unit 30W has received an instruction to switch the storage destination of the collected data from external storage medium 100W to external storage medium 100D (step ST21). -2: Yes), the collected data stored in the external storage medium 100W is transmitted to the drive system controller 5D via the communication unit 30W (step ST22).
  • Standby system control device 5W operates in the same manner as in the first embodiment except that communication unit 30W determines whether or not it has received an instruction to switch the storage destination of collected data from external storage medium 100W to external storage medium 100D. To do.
  • the standby system collection control unit 23D of the data collection unit 20D of the drive system control device 5D detects that the free capacity of the external storage medium 100D has increased while the capacity management unit 52D is executing the transmission mode. Then, an instruction to switch the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D is transmitted to the standby control device 5W, so that the free space of the external storage medium 100D increases, and then the storage destination of the collected data is changed. Switching from the external storage medium 100W of the standby control device 5W to the external storage medium 100D.
  • the standby system collection control unit 23D that is the second storage destination switching unit is provided in the drive system control device 5D that is the first control device.
  • control system 1 and the control device 5 as in the first embodiment, before the amount of collected data before storing in the external storage medium 100D exceeds the free capacity of the external storage medium 100D.
  • the drive data collection control unit 22D switches the storage destination of the collected data from the external storage medium 100D to the external storage medium 100W of the standby control device 5W. For this reason, the control system 1 and the control apparatus 5 can acquire the collection data which continued in time series, and can suppress that work efficiency deteriorates.
  • control system 1 and the control device 5 since the collected data is stored in either the external storage medium 100D or 100W, there is no need to add a memory to the control device 5, and the control device It can suppress that the manufacturing cost of 5 increases.
  • the standby system collection control for switching the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D.
  • the drive system controller 5D includes the unit 23D.
  • FIG. 8 is a diagram illustrating a configuration of a control system according to the third embodiment.
  • FIG. 9 is a diagram illustrating a hardware configuration of a control device of the control system according to the third embodiment. 8 and 9, the same parts as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.
  • the standby control device 5W of the control system 1 includes an internal storage medium management unit 50-3 instead of the external storage medium management unit 50W, as shown in FIGS.
  • the standby control device 5W of the control system 1 includes an internal storage medium storage unit 40-3 as storage means instead of the external storage medium storage unit 40W, and further includes an internal storage medium 200.
  • the configuration is the same as that of the first embodiment.
  • the internal storage medium storage unit 40-3 stores the information created by the data creation unit 21W in the internal storage medium 200 built in the standby control device 5W.
  • the function of the internal storage medium storage unit 40-3 is realized by the internal storage medium storage device 5A7-3 shown in FIG. 9 capable of storing information in the internal storage medium 200.
  • the internal storage medium 200 is a storage medium that is built in the standby control device 5W and that can store and read information that can be read by a computer.
  • the internal storage medium 200 is configured by an SSD or an HDD, but is not limited to an SSD or an HDD, and may be configured by a nonvolatile semiconductor memory or a volatile semiconductor memory.
  • a nonvolatile semiconductor memory or a volatile semiconductor memory a RAM, a ROM, a flash memory, an EPROM, or an EEPROM can be used.
  • the internal storage medium 200 may be configured by at least one of a magnetic disk, an optical disk, and a magneto-optical disk.
  • the internal storage medium management unit 50-3 includes an access unit 51-3 having a function of enabling information to be stored in and read from the internal storage medium 200, and information on the capacity of the stored storage area of the internal storage medium 200. And a capacity management unit 52-3 having a function of holding information on free capacity.
  • the functions of the access unit 51-3 and the capacity management unit 52-3 of the internal storage medium management unit 50-3 are realized by the MPU 5A2 shown in FIG. 9 reading out and executing the control program stored in the storage unit 5A6. .
  • the control program is realized by software, firmware, or a combination of software and firmware.
  • the standby system control device 5W operates in the same manner as in the first embodiment except that the collected data received from the drive system control device 5D is stored in the internal storage medium 200.
  • the internal storage medium 200 is a storage medium of the second control device.
  • control system 1 and the control device 5 as in the first embodiment, before the amount of collected data before storing in the external storage medium 100D exceeds the free capacity of the external storage medium 100D.
  • the drive system collection control unit 22D switches the storage destination of the collected data from the external storage medium 100D to the internal storage medium 200 of the standby system control device 5W. For this reason, the control system 1 and the control apparatus 5 can acquire the collection data which continued in time series, and can suppress that work efficiency deteriorates.
  • 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Hardware Redundancy (AREA)

Abstract

Provided is a control system (1), comprising: a drive system control device (5D), further comprising an external storage medium storage unit (40D) which stores, in a detachable external storage medium (100D), information which has been acquired from devices (2, 3); and a standby system control device (5W) which is connected to the drive system control device (5D). The control system (1) further comprises a drive system collection control unit (22D) which switches the storage destination of the information from the external storage medium (100D) to an external storage medium (100W) of the standby system control device (5W) before the volume of information to be stored in the external storage medium (100D) exceeds the available space on the external storage medium (100D). The control system (1) further comprises a standby system collection control unit (23W) which switches the storage destination of the information from the external storage medium (100W) of the standby system control device (5W) to the external storage medium (100D) after the available space of the external storage medium (100D) has been increased.

Description

制御システム及び制御装置Control system and control device
 本発明は、FA(Factory Automation)分野の設備を制御する制御システム及び制御装置に関する。 The present invention relates to a control system and a control device for controlling equipment in the FA (Factory Automation) field.
 FA分野の設備は、複数の種類の機器を組み合わせて実現されることが一般的である。FA分野の設備を構成する複数の機器は、制御処理及び情報処理を統合した制御装置であるプログラマブルコントローラを複数備える制御システムにより制御される(特許文献1参照)。 ∙ Equipment in the FA field is generally realized by combining multiple types of equipment. A plurality of devices constituting facilities in the FA field are controlled by a control system including a plurality of programmable controllers that are control devices that integrate control processing and information processing (see Patent Document 1).
特開2008-40611号公報JP 2008-40611 A
 プログラマブルコントローラは、機器から取得した情報を記憶する記憶装置を備える。記憶装置は、情報を着脱自在な外部記憶媒体に記憶する装置が用いられることがある。プログラマブルコントローラは、記憶装置が外部記憶媒体に記憶しようとする情報の容量が外部記憶媒体の空き容量を超える場合、外部記憶媒体の既に情報を記憶した領域に上書き、又は、情報の取得を停止する。 The programmable controller includes a storage device that stores information acquired from the device. As the storage device, a device that stores information in a removable external storage medium may be used. When the capacity of information that the storage device attempts to store in the external storage medium exceeds the free capacity of the external storage medium, the programmable controller overwrites the area in which the information is already stored in the external storage medium or stops acquiring information. .
 プログラマブルコントローラは、外部記憶媒体の既に情報を記憶した記憶領域に情報を上書き、又は、情報の取得を停止する場合、時系列に連続した情報を取得することができず、情報を再取得する必要が生じることがあり、作業効率が悪化する可能性がある。 When a programmable controller overwrites information in a storage area that already stores information in an external storage medium or stops acquiring information, it cannot acquire information that is continuous in time series, and needs to acquire information again. May occur and work efficiency may deteriorate.
 本発明は、上記に鑑みてなされたものであって、作業効率が悪化することを抑制することができる制御システムを得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to obtain a control system capable of suppressing deterioration of work efficiency.
 上述した課題を解決し、目的を達成するために、本発明は、機器から取得した情報を着脱自在な外部記憶媒体に記憶する記憶手段を有する第1の制御装置と、第1の制御装置に1つ以上接続された第2の制御装置と、を備える制御システムである。制御システムは、外部記憶媒体に記憶する前の情報の量が外部記憶媒体の空き容量を超える前に、情報の記憶先を外部記憶媒体から第2の制御装置の記憶媒体に切換える第1の記憶先切り換え部を備える。制御システムは、外部記憶媒体の空き容量が増加した後、情報の記憶先を第2の制御装置の記憶媒体から外部記憶媒体に切換える第2の記憶先切り換え部を備える。 In order to solve the above-described problems and achieve the object, the present invention provides a first control device having storage means for storing information acquired from a device in a removable external storage medium, and a first control device. And a second control device connected to one or more. The control system switches the storage destination of information from the external storage medium to the storage medium of the second control device before the amount of information before storing in the external storage medium exceeds the free capacity of the external storage medium. A destination switching unit is provided. The control system includes a second storage destination switching unit that switches the information storage destination from the storage medium of the second control device to the external storage medium after the free space of the external storage medium increases.
 本発明に係る制御システムは、作業効率が悪化することを抑制することができるという効果を奏する。 The control system according to the present invention has an effect of suppressing the deterioration of work efficiency.
実施の形態1に係る制御システムの構成を示す図The figure which shows the structure of the control system which concerns on Embodiment 1. 実施の形態1に係る制御システムのコンピュータのハードウェア構成を示す図The figure which shows the hardware constitutions of the computer of the control system which concerns on Embodiment 1. 実施の形態1に係る制御システムの制御装置のハードウェア構成を示す図The figure which shows the hardware constitutions of the control apparatus of the control system which concerns on Embodiment 1. FIG. 実施の形態1に係る制御システムの駆動系制御装置の動作の一例を示すフローチャートThe flowchart which shows an example of operation | movement of the drive system control apparatus of the control system which concerns on Embodiment 1. FIG. 実施の形態1に係る制御システムの待機系制御装置の動作の一部の一例を示すフローチャートThe flowchart which shows an example of a part of operation | movement of the standby type control apparatus of the control system which concerns on Embodiment 1. FIG. 実施の形態2に係る制御システムの構成を示す図The figure which shows the structure of the control system which concerns on Embodiment 2. 実施の形態2に係る制御システムの待機系制御装置の動作の一部の一例を示すフローチャートThe flowchart which shows an example of a part of operation | movement of the standby type | system | group control apparatus of the control system which concerns on Embodiment 2. FIG. 実施の形態3に係る制御システムの構成を示す図The figure which shows the structure of the control system which concerns on Embodiment 3. 実施の形態3に係る制御システムの制御装置のハードウェア構成を示す図The figure which shows the hardware constitutions of the control apparatus of the control system which concerns on Embodiment 3.
 以下に、本発明の実施の形態に係る制御システム及び制御装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, a control system and a control device according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
 図1は、実施の形態1に係る制御システムの構成を示す図である。制御システム1は、FA分野の設備を構成するものであり、図1に示すように、設備に設置される複数の機器2,3と、複数の機器2,3に接続した複数の制御装置5と、制御装置5に接続したコンピュータ6と、を備える。実施の形態1において、制御システム1は、機器2,3を二つ備えるが、二つに限定されない。実施の形態1において、機器2及び機器3は、センサ又は駆動機器である。センサとしては、設備に設置される流量、圧力、濃度、又は温度を検出するセンサが挙げられる。駆動機器としては、設備に設置されるスイッチ、調整弁、電磁弁、モータ、又はポンプである動作を実行する駆動機器が挙げられる。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating a configuration of a control system according to the first embodiment. The control system 1 constitutes equipment in the FA field, and as shown in FIG. 1, a plurality of devices 2 and 3 installed in the equipment and a plurality of control devices 5 connected to the plurality of devices 2 and 3. And a computer 6 connected to the control device 5. In the first embodiment, the control system 1 includes two devices 2 and 3, but is not limited to two. In the first embodiment, the device 2 and the device 3 are sensors or driving devices. Examples of the sensor include a sensor that detects a flow rate, pressure, concentration, or temperature installed in the facility. Examples of the drive device include a drive device that performs an operation that is a switch, an adjustment valve, a solenoid valve, a motor, or a pump installed in the facility.
 コンピュータ6は、制御装置5で実行される制御プログラムを作成して、制御装置5に送信する。制御装置5は、制御プログラムを実行することにより、機器2,3を制御する。実施の形態1において、制御装置5は、プログラマブルコントローラ(Programmable Logic Controllers(PLC))である。プログラマブルコントローラは、JIS(日本工業規格) B 3502:2011により規定されたものである。 The computer 6 creates a control program to be executed by the control device 5 and transmits it to the control device 5. The control device 5 controls the devices 2 and 3 by executing a control program. In the first embodiment, the control device 5 is a programmable controller (Programmable Logic Controllers (PLC)). The programmable controller is defined by JIS (Japanese Industrial Standards) B 3502: 2011.
 図2は、実施の形態1に係る制御システムのコンピュータのハードウェア構成を示す図である。実施の形態1に係るコンピュータ6は、コンピュータプログラムを実行するものであって、図2に示すように、CPU(Central Processing Unit)61と、RAM(Random Access Memory)62と、ROM(Read Only Memory)63と、記憶装置64と、入力装置65と、表示装置66と、通信インタフェース67と、を含む。CPU61、RAM62、ROM63、記憶装置64、入力装置65、表示装置66及び通信インタフェース67は、バスBを介して相互に接続されている。 FIG. 2 is a diagram illustrating a hardware configuration of a computer of the control system according to the first embodiment. The computer 6 according to the first embodiment executes a computer program, and as shown in FIG. 2, a CPU (Central Processing Unit) 61, a RAM (Random Access Memory) 62, and a ROM (Read Only Memory). ) 63, a storage device 64, an input device 65, a display device 66, and a communication interface 67. The CPU 61, RAM 62, ROM 63, storage device 64, input device 65, display device 66, and communication interface 67 are connected to each other via the bus B.
 CPU61は、RAM62を作業領域として使用しながら、ROM63及び記憶装置64に記憶されているプログラムを実行する。ROM63に記憶されているプログラムは、BIOS(Basic Input/Output System)又はUEFI(Unified Extensible Firmware Interface)であるが、ROM63に記憶されているプログラムは、BIOS又はUEFIに限定されない。実施の形態1において、記憶装置64に記憶されているプログラムは、オペレーティングシステムプログラム及びエンジニアリングツールプログラムであるが、記憶装置64に記憶されているプログラムは、オペレーティングシステムプログラム及びエンジニアリングツールプログラムに限定されない。実施の形態1において、記憶装置64は、SSD(Solid State Drive)又はHDD(Hard Disk Drive)であるが、記憶装置64は、SSD又はHDDに限定されない。 The CPU 61 executes programs stored in the ROM 63 and the storage device 64 while using the RAM 62 as a work area. The program stored in the ROM 63 is BIOS (Basic Input / Output System) or UEFI (Unified Extensible Firmware Interface), but the program stored in the ROM 63 is not limited to BIOS or UEFI. In the first embodiment, the program stored in the storage device 64 is an operating system program and an engineering tool program. However, the program stored in the storage device 64 is not limited to the operating system program and the engineering tool program. In the first embodiment, the storage device 64 is an SSD (Solid State Drive) or an HDD (Hard Disk Drive), but the storage device 64 is not limited to an SSD or an HDD.
 入力装置65は、ユーザからの操作入力を受け付ける。実施の形態1において、入力装置65は、キーボード又はマウスであるが、キーボード又はマウスに限定されない。表示装置66は、文字及び画像を表示する。実施の形態1において、表示装置66は、液晶表示装置であるが、液晶表示装置に限定されない。通信インタフェース67は、ネットワークNを介して制御装置5と通信を行う。ネットワークNは、コンピュータ6、二つの制御装置5を相互に通信可能に接続するコンピュータネットワークである。実施の形態1において、ネットワークNは、FA設備に設置されるLAN(Local Area Network)である。 The input device 65 receives an operation input from the user. In the first embodiment, the input device 65 is a keyboard or a mouse, but is not limited to a keyboard or a mouse. The display device 66 displays characters and images. In Embodiment 1, the display device 66 is a liquid crystal display device, but is not limited to a liquid crystal display device. The communication interface 67 communicates with the control device 5 via the network N. The network N is a computer network that connects the computer 6 and the two control devices 5 so that they can communicate with each other. In the first embodiment, the network N is a LAN (Local Area Network) installed in the FA facility.
 実施の形態1において、制御装置5は、二つ設けられ、ネットワークNを介して互いに接続される。二つの制御装置5は、同一の機器2,3に接続されて、互いに冗長化されたものであるが、制御装置5は、三つ以上設けられて、互いに冗長化されていないものでも良い。 In the first embodiment, two control devices 5 are provided and connected to each other via a network N. The two control devices 5 are connected to the same devices 2 and 3 and made redundant with each other, but three or more control devices 5 may be provided and not made redundant with each other.
 二つの制御装置5のうちの一方は、機器2,3の情報を取得して記憶するとともに、機器2,3の動作を制御する。二つの制御装置5のうちの他方は、一方が機器2,3の情報を取得して記憶するとともに機器2,3の動作を制御している間、待機状態を維持する。実施の形態1において、待機状態とは、省電力の所謂待機電源モードであり、ACPI(Advanced Configuration and Power Interface)により規定されたS1、S2、S3、S4の何れかの状態、又は、ACPIにより規定されたS1、S2、S3、S4の何れかに相当する状態をいう。 One of the two control devices 5 acquires and stores information on the devices 2 and 3 and controls the operation of the devices 2 and 3. The other of the two control devices 5 acquires and stores information on the devices 2 and 3 and maintains a standby state while controlling the operation of the devices 2 and 3. In the first embodiment, the standby state is a so-called standby power supply mode for power saving, and is in any one of S1, S2, S3, and S4 states defined by ACPI (Advanced Configuration and Power Interface) or ACPI. A state corresponding to any one of S1, S2, S3, and S4 defined.
 以下、二つの制御装置5のうち機器2,3の情報を取得して記憶するとともに、機器2,3を制御するものを駆動系制御装置5といい、待機状態のものを待機系制御装置5という。駆動系制御装置5は、第1の制御装置及び制御装置であり、待機系制御装置5は、第2の制御装置及び他の制御装置である。実施の形態1において、待機系制御装置5は、駆動系制御装置5の電源オフ時、駆動系制御装置5を初期状態に戻すリセット時、駆動系制御装置5の故障時、駆動系制御装置5の処理を中断又は停止させるエラー時、又は、コンピュータ6からの切換え要求を示す信号を受信した時に、駆動系制御装置5に切り替わる。待機系制御装置5は、駆動系制御装置5に切り替わると、いままで駆動系制御装置5として動作していたものの代わりに、機器2,3の情報を取得して記憶するとともに機器2,3を制御する。なお、駆動系制御装置5は、電源オフからの再起動時、リセットされた以降、故障からの復旧時、エラーからの復旧時、又は、コンピュータ6からの切換え要求を示す信号を受信した時に、待機状態に切り替わる。 Hereinafter, of the two control devices 5, the information of the devices 2 and 3 is acquired and stored, and the device that controls the devices 2 and 3 is referred to as the drive system control device 5, and the standby control device 5 is the one in the standby state. That's it. The drive system control device 5 is a first control device and a control device, and the standby system control device 5 is a second control device and another control device. In the first embodiment, the standby system control device 5 is configured such that when the drive system control device 5 is powered off, at the time of resetting the drive system control device 5 to the initial state, at the time of failure of the drive system control device 5, the drive system control device 5. At the time of an error for interrupting or stopping the process, or when a signal indicating a switching request from the computer 6 is received, the drive system control device 5 is switched. When the standby system control device 5 is switched to the drive system control device 5, the standby system control device 5 acquires and stores information on the devices 2 and 3 and stores the devices 2 and 3 in place of what has been operated as the drive system control device 5 until now. Control. The drive system control device 5 is reset when the power is turned off, after being reset, when recovered from a failure, when recovered from an error, or when a signal indicating a switching request from the computer 6 is received. Switch to standby state.
 なお、以下、二つの制御装置5において、駆動系制御装置5である場合には、駆動系制御装置5Dと記載し、待機系制御装置5である場合には、待機系制御装置5Wと記載し、駆動系制御装置5と待機系制御装置5とを区別できない場合には、単に、制御装置5と記載する。さらに、制御装置5の各構成部分において、駆動系制御装置5Dのものと特定できる構成部分の符号には「D」を付し、待機系制御装置5Wのものと特定できる構成部分の符号には「W」を付す。さらに、機器2,3から取得され、外部記憶媒体100に記憶される情報を収集データと記載する。 In the following description, in the two control devices 5, the drive system control device 5 is described as a drive system control device 5 </ b> D, and the standby system control device 5 is described as a standby system control device 5 </ b> W. When the drive system control device 5 and the standby system control device 5 cannot be distinguished, they are simply referred to as the control device 5. Further, in each component of the control device 5, the reference numeral of the component that can be identified as that of the drive system controller 5D is given “D”, and the symbol of the component that can be identified as that of the standby controller 5W. Append "W". Furthermore, information acquired from the devices 2 and 3 and stored in the external storage medium 100 is referred to as collected data.
 実施の形態1において、二つの制御装置5は、構成が同一であるので、同一部分には同一符号を付して説明する。制御装置5は、図1に示すように、収集データを一時的に記憶するメモリ10と、収集データを収集するデータ収集部20と、を備える。制御装置5は、ネットワークNを介して他の制御装置5及びコンピュータ6と双方向に通信可能な通信部30と、収集データを外部記憶媒体100に記憶する記憶手段である外部記憶媒体記憶部40と、外部記憶媒体100を管理する外部記憶媒体管理部50と、を備える。 In Embodiment 1, since the two control devices 5 have the same configuration, the same parts will be described with the same reference numerals. As shown in FIG. 1, the control device 5 includes a memory 10 that temporarily stores collected data and a data collection unit 20 that collects collected data. The control device 5 includes a communication unit 30 that can bidirectionally communicate with another control device 5 and the computer 6 via the network N, and an external storage medium storage unit 40 that is a storage unit that stores collected data in the external storage medium 100. And an external storage medium management unit 50 that manages the external storage medium 100.
 メモリ10は、コンピュータ6が読み込み自在な情報を記憶可能な記憶領域を有する記憶媒体である。メモリ10は、駆動系制御装置5Dである場合に、収集データを記憶するユーザデータメモリ11と、ユーザデータメモリ11に記憶された収集データをデータ収集部20により一時的に記憶されるバッファメモリ12とを備える。ユーザデータメモリ11は、待機系制御装置5Wであるときに駆動系制御装置5Dから受信した収集データの量が外部記憶媒体100の空き容量よりも大きい場合に、上書きモードを実行するか又は記憶停止モードを実行するかを示す情報を記憶する。 The memory 10 is a storage medium having a storage area in which information that can be read by the computer 6 can be stored. When the memory 10 is the drive system control device 5D, the user data memory 11 that stores the collected data and the buffer memory 12 that temporarily stores the collected data stored in the user data memory 11 by the data collecting unit 20 With. The user data memory 11 executes the overwrite mode or stops storage when the amount of collected data received from the drive system control device 5D when it is the standby system control device 5W is larger than the free capacity of the external storage medium 100 Information indicating whether to execute the mode is stored.
 外部記憶媒体100の空き容量は、情報を記憶していない空きの状態の記憶領域の容量である。上書きモードは、受信した収集データを外部記憶媒体100のすでに情報が記憶された記憶領域に上書きするモードである。記憶停止モードは、受信した収集データの記憶を停止するモードである。 The free capacity of the external storage medium 100 is the capacity of a free storage area that does not store information. The overwrite mode is a mode in which the received collected data is overwritten on a storage area in the external storage medium 100 in which information is already stored. The storage stop mode is a mode for stopping storage of received collected data.
 ユーザデータメモリ11は、待機系制御装置5Wであるときに駆動系制御装置5Dの外部記憶媒体100の空き容量が増加したことを示す情報を受信した場合に、続行モードを実行するか又はデータ返送モードを実行するかを示す情報を記憶する。続行モードは、駆動系制御装置5Dから受信した収集データを外部記憶媒体100Wに記憶することを続行するモードである。データ返送モードは、駆動系制御装置5Dから受信した収集データと外部記憶媒体100Wに記憶した収集データとを纏めて駆動系制御装置5Dに送信するとともに、以後の収集データの記憶を駆動系制御装置5Dに実行させるモードである。 When the user data memory 11 receives information indicating that the free capacity of the external storage medium 100 of the drive system control device 5D has increased when it is the standby system control device 5W, the user data memory 11 executes the continue mode or returns data. Information indicating whether to execute the mode is stored. The continue mode is a mode for continuing to store the collected data received from the drive system control device 5D in the external storage medium 100W. In the data return mode, the collected data received from the drive system control device 5D and the collected data stored in the external storage medium 100W are collectively transmitted to the drive system control device 5D, and storage of the subsequent collected data is stored in the drive system control device. In this mode, 5D is executed.
 ユーザデータメモリ11は、駆動系制御装置5Dであるときに収集データを外部記憶媒体100Dに記憶する外部記憶媒体記憶モードを実行するか収集データを待機系制御装置5Wに送信する送信モードを実行するかを示す情報を記憶する。 The user data memory 11 executes the external storage medium storage mode for storing the collected data in the external storage medium 100D or the transmission mode for transmitting the collected data to the standby system control device 5W when it is the drive system control device 5D. The information which shows is memorize | stored.
 ユーザデータメモリ11の記憶領域は、収集データを記憶する記憶領域と、上書きモードを実行するか記憶停止モードを実行するかを示す情報を記憶する記憶領域と、続行モードを実行するかデータ返送モードを実行するかを示す情報を記憶する記憶領域と、外部記憶媒体記憶モードを実行するか送信モードを実行するかを示す情報を記憶する記憶領域とを備える。バッファメモリ12は、駆動系制御装置5Dである場合に、ユーザデータメモリ11に書き込まれた収集データを一時的に記憶する。バッファメモリ12は、待機系制御装置5Wである場合に、駆動系制御装置5Dから受信した情報を一時的に記憶する。 The storage area of the user data memory 11 includes a storage area for storing collected data, a storage area for storing information indicating whether the overwrite mode is executed or the storage stop mode is executed, and the continuation mode is executed or the data return mode. And a storage area for storing information indicating whether the external storage medium storage mode is executed or the transmission mode is executed. The buffer memory 12 temporarily stores the collected data written in the user data memory 11 when it is the drive system control device 5D. The buffer memory 12 temporarily stores information received from the drive system control device 5D when it is the standby system control device 5W.
 データ収集部20は、外部記憶媒体100に記憶する収集データを作成するデータ作成部21と、駆動系制御装置5Dである場合に情報の記憶先を決定する第1の記憶先切り換え部である駆動系収集制御部22と、を備える。データ収集部20は、待機系制御装置5Wである場合に情報の記憶先を決定する第2の記憶先切り換え部である待機系収集制御部23と、を備える。 The data collection unit 20 is a data creation unit 21 that creates collection data to be stored in the external storage medium 100, and a drive that is a first storage destination switching unit that determines a storage destination of information when the drive system control device 5D is used. A system collection control unit 22. The data collection unit 20 includes a standby system collection control unit 23 that is a second storage destination switching unit that determines a storage destination of information when the standby system control device 5W is used.
 外部記憶媒体記憶部40は、外部記憶媒体100が着脱自在であり、取り付けられた外部記憶媒体100にデータ作成部21が作成した情報を記憶する。実施の形態1において、外部記憶媒体100は、SDメモリカード(Secure Digital memory card)又はSRAM(Static Random Access Memory)カセットにより構成されるが、SDメモリカード又はRAMカセットに限定されることなく、磁気ディスク、光ディスク、又は光磁気ディスクにより構成されても良い。また、実施の形態1において、待機系制御装置5Wの外部記憶媒体記憶部40Wに取り付けられる外部記憶媒体100Wは、第2の制御装置の記憶媒体及び第2の制御装置に着脱自在な第2の記憶媒体である。 The external storage medium storage unit 40 is detachable from the external storage medium 100, and stores the information created by the data creation unit 21 in the attached external storage medium 100. In the first embodiment, the external storage medium 100 is composed of an SD memory card (Secure Digital memory card) or SRAM (Static Random Access Memory) cassette, but is not limited to an SD memory card or RAM cassette, and is magnetic. A disc, an optical disc, or a magneto-optical disc may be used. In the first embodiment, the external storage medium 100W attached to the external storage medium storage unit 40W of the standby control device 5W is the second storage device that is detachably attached to the storage medium of the second control device and the second control device. It is a storage medium.
 外部記憶媒体管理部50は、外部記憶媒体記憶部40に取り付けられた外部記憶媒体100への収集データの記憶、及び収集データの読み出しを可能とする機能を有するアクセス部51と、外部記憶媒体記憶部40に取り付けられた外部記憶媒体100の記憶済みの記憶領域の容量の情報、及び空き容量の情報を保持する機能を有する容量管理部52と、を備える。 The external storage medium management unit 50 includes an access unit 51 having a function of enabling storage of collected data to the external storage medium 100 attached to the external storage medium storage unit 40 and reading of the collected data, and external storage medium storage A capacity management unit 52 having a function of holding information on the capacity of the storage area stored in the external storage medium 100 attached to the unit 40 and information on free space.
 図3は、実施の形態1に係る制御システムの制御装置のハードウェア構成を示す図である。制御装置5は、図3に示すように、制御プログラムを処理、実行するCPUユニット5Aと、機器2,3に接続したI/O(Input/Output)ユニット5Bとを備える。実施の形態1において、I/Oユニット5Bは、二つ設けられ、それぞれ、機器2,3のいずれかに接続している。I/Oユニット5Bは、回路基板5B1と、回路基板5B1に実装されかつコンピュータプログラムを記憶、実行する図示しないMPU(Micro Processing Unit)と、を少なくとも備える。 FIG. 3 is a diagram illustrating a hardware configuration of the control device of the control system according to the first embodiment. As shown in FIG. 3, the control device 5 includes a CPU unit 5A for processing and executing a control program, and an I / O (Input / Output) unit 5B connected to the devices 2 and 3. In the first embodiment, two I / O units 5B are provided and connected to one of the devices 2 and 3, respectively. The I / O unit 5B includes at least a circuit board 5B1, and an MPU (Micro Processing Unit) (not shown) that is mounted on the circuit board 5B1 and stores and executes a computer program.
 CPUユニット5Aは、回路基板5A1と、回路基板5A1に実装されかつ制御プログラムを実行するMPU5A2と、MPU5A2と内部バスB1を介して接続されたメモリ5A3と、を備える。CPUユニット5Aは、コンピュータ6及び他の制御装置5と通信を行う通信インタフェース5A4と、I/Oユニット5Bに接続したバスインタフェース5A5と、制御プログラムを記憶する記憶部5A6と、外部記憶媒体100に収集データを記憶する外部記憶媒体記憶装置5A7と、を備える。MPU5A2、メモリ5A3、通信インタフェース5A4、バスインタフェース5A5、記憶部5A6及び外部記憶媒体記憶装置5A7は、内部バスB1を介して接続されている。 The CPU unit 5A includes a circuit board 5A1, an MPU 5A2 that is mounted on the circuit board 5A1 and executes a control program, and a memory 5A3 that is connected to the MPU 5A2 via the internal bus B1. The CPU unit 5A includes a communication interface 5A4 that communicates with the computer 6 and another control device 5, a bus interface 5A5 connected to the I / O unit 5B, a storage unit 5A6 that stores a control program, and an external storage medium 100. An external storage medium storage device 5A7 for storing the collected data. The MPU 5A2, the memory 5A3, the communication interface 5A4, the bus interface 5A5, the storage unit 5A6, and the external storage medium storage device 5A7 are connected via the internal bus B1.
 バスインタフェース5A5は、内部バスB1と拡張バスB2とを連絡するバスブリッジ回路である。バスインタフェース5A5は、拡張バスB2を介して、I/Oユニット5Bに接続されている。記憶部5A6は、コンピュータ6から受信した制御プログラムを記憶する。実施の形態1において、記憶部5A6は、SSD又はHDDであるが、SSD又はHDDに限定されない。 The bus interface 5A5 is a bus bridge circuit that connects the internal bus B1 and the expansion bus B2. The bus interface 5A5 is connected to the I / O unit 5B via the expansion bus B2. The storage unit 5A6 stores the control program received from the computer 6. In Embodiment 1, the storage unit 5A6 is an SSD or an HDD, but is not limited to an SSD or an HDD.
 外部記憶媒体記憶装置5A7は、外部記憶媒体100が着脱自在である。外部記憶媒体記憶装置5A7は、外部記憶媒体100に情報を記憶可能であるとともに、外部記憶媒体100に記憶された情報を読み出し可能である。 External storage medium 100 is detachable from external storage medium storage device 5A7. The external storage medium storage device 5A7 can store information in the external storage medium 100 and can read information stored in the external storage medium 100.
 データ収集部20のデータ作成部21、駆動系収集制御部22、待機系収集制御部23、外部記憶媒体管理部50のアクセス部51、及び容量管理部52の機能は、MPU5A2が記憶部5A6に記憶された制御プログラムを読み出して実行することにより実現される。制御プログラムは、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組み合わせにより実現される。制御装置5の通信部30の機能は、通信インタフェース5A4により実現される。外部記憶媒体記憶部40の機能は、外部記憶媒体100に情報を記憶可能な外部記憶媒体記憶装置5A7により実現される。メモリ10のユーザデータメモリ11及びバッファメモリ12の機能は、メモリ5A3により実現させる。実施の形態1において、メモリ5A3は、不揮発性の半導体メモリ、又は揮発性の半導体メモリにより構成される。不揮発性の半導体メモリ、又は揮発性の半導体メモリとして、RAM、ROM、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、又は、EEPROM(Electrically Erasable Programmable Read Only Memory)を用いることができる。また、メモリ10は、磁気ディスク、光ディスク、及び光磁気ディスクのうちの少なくとも一つにより構成されても良い。 The functions of the data creation unit 21, the drive system collection control unit 22, the standby system collection control unit 23, the access unit 51 of the external storage medium management unit 50, and the capacity management unit 52 of the data collection unit 20 are stored in the storage unit 5A6 by the MPU 5A2. This is realized by reading and executing the stored control program. The control program is realized by software, firmware, or a combination of software and firmware. The function of the communication unit 30 of the control device 5 is realized by the communication interface 5A4. The function of the external storage medium storage unit 40 is realized by the external storage medium storage device 5A7 capable of storing information in the external storage medium 100. The functions of the user data memory 11 and the buffer memory 12 of the memory 10 are realized by the memory 5A3. In the first embodiment, the memory 5A3 is configured by a nonvolatile semiconductor memory or a volatile semiconductor memory. As the nonvolatile semiconductor memory or volatile semiconductor memory, RAM, ROM, flash memory, EPROM (Erasable Programmable Read Only Memory), or EEPROM (Electrically Erasable Programmable Read Only Memory) can be used. The memory 10 may be configured by at least one of a magnetic disk, an optical disk, and a magneto-optical disk.
 次に、実施の形態1に係る制御システムの動作の一例を図面に基づいて説明する。図4は、実施の形態1に係る制御システムの駆動系制御装置の動作の一例を示すフローチャートである。図5は、実施の形態1に係る制御システムの待機系制御装置の動作の一部の一例を示すフローチャートである。 Next, an example of the operation of the control system according to the first embodiment will be described with reference to the drawings. FIG. 4 is a flowchart showing an example of the operation of the drive system controller of the control system according to the first embodiment. FIG. 5 is a flowchart illustrating an example of part of the operation of the standby control device of the control system according to the first embodiment.
 制御システム1は、二つの制御装置5のうち一方が駆動系制御装置5Dとして動作し、他方が待機系制御装置5Wとなる。駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、機器2,3から取得した情報である収集データをメモリ10Dのユーザデータメモリ11Dに記憶する。また、コンピュータ6は、ROM63に記憶したコンピュータプログラム又はユーザが入力装置65を操作することにより駆動系制御装置5Dに収集データを外部記憶媒体100Dに記憶する命令を生成する。駆動系制御装置5Dのデータ収集部20Dのデータ作成部21Dは、ネットワークN及び通信部30Dを介して、コンピュータ6からの収集データを外部記憶媒体100Dに記憶する命令を受け付ける(ステップST1)。 In the control system 1, one of the two control devices 5 operates as the drive system control device 5D, and the other is the standby system control device 5W. The drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D stores the collected data, which is information acquired from the devices 2 and 3, in the user data memory 11D of the memory 10D. In addition, the computer 6 generates a computer program stored in the ROM 63 or a command for storing the collected data in the external storage medium 100D in the drive system control device 5D when the user operates the input device 65. The data creation unit 21D of the data collection unit 20D of the drive system control device 5D receives an instruction to store the collected data from the computer 6 in the external storage medium 100D via the network N and the communication unit 30D (step ST1).
 駆動系制御装置5Dのデータ収集部20Dのデータ作成部21Dは、メモリ10Dのユーザデータメモリ11Dに記憶された収集データを取得し、バッファメモリ12Dに記憶する(ステップST2)。ユーザデータメモリ11Dの収集データを記憶する記憶領域は、駆動系制御装置5Dのデータ収集部20Dのデータ作成部21Dにより収集データが取得されると、クリアされて情報を記憶していない空きの状態となる。 The data creation unit 21D of the data collection unit 20D of the drive system control device 5D acquires the collection data stored in the user data memory 11D of the memory 10D and stores it in the buffer memory 12D (step ST2). The storage area for storing the collected data of the user data memory 11D is cleared when the collected data is acquired by the data creating unit 21D of the data collecting unit 20D of the drive system control device 5D, and is in an empty state where no information is stored. It becomes.
 駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、メモリ10Dのユーザデータメモリ11Dの記憶領域に記憶された情報を参照して、収集データの記憶先が駆動系制御装置5Dの外部記憶媒体記憶部40Dに取り付けられた外部記憶媒体100Dに設定される外部記憶媒体記憶モードを実行するか否かを判定する(ステップST3)。駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、外部記憶媒体記憶モードを実行すると判定する(ステップST3:Yes)と、外部記憶媒体管理部50Dの容量管理部52Dから外部記憶媒体100Dの空き容量の情報を取得する(ステップST4)。 The drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D refers to the information stored in the storage area of the user data memory 11D of the memory 10D, and the storage destination of the collected data is the drive system control device 5D. It is determined whether or not to execute the external storage medium storage mode set in the external storage medium 100D attached to the external storage medium storage unit 40D (step ST3). When the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D determines that the external storage medium storage mode is to be executed (step ST3: Yes), the external storage medium management unit 50D externally transmits the capacity management unit 52D. Information on the free capacity of the storage medium 100D is acquired (step ST4).
 駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、外部記憶媒体100Dの空き容量よりも収集データの量が小さいか否かを判定する(ステップST5)。駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、外部記憶媒体100Dの空き容量よりも収集データの量が小さいと判定する(ステップST5:Yes)と、アクセス部51Dを介してバッファメモリ12Dに記憶されている収集データを外部記憶媒体100Dの空き領域に記憶する(ステップST6)。バッファメモリ12Dの記憶領域は、駆動系収集制御部22Dにより収集データが取得されると、クリアされて情報を記憶していない空きの状態となる。 The drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D determines whether or not the amount of collected data is smaller than the free capacity of the external storage medium 100D (step ST5). When the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D determines that the amount of collected data is smaller than the free capacity of the external storage medium 100D (step ST5: Yes), the access system 51D passes through the access unit 51D. Then, the collected data stored in the buffer memory 12D is stored in a free area of the external storage medium 100D (step ST6). The storage area of the buffer memory 12D is cleared when the collected data is acquired by the drive system collection control unit 22D, and becomes an empty state where no information is stored.
 駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、外部記憶媒体100Dの空き容量よりも収集データの量が小さくない、即ち、収集データの量が外部記憶媒体100Dの空き容量以上であると判定する(ステップST5:No)と、収集データの記憶先を待機系制御装置5Wに設定する送信モードを実行する(ステップST7)。駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、ユーザデータメモリ11Dの記憶領域に送信モードを実行することを示す情報を記憶する。 The drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D has a collected data amount that is not smaller than the free space of the external storage medium 100D, that is, the collected data amount is free space of the external storage medium 100D. If it determines with it being above (step ST5: No), the transmission mode which sets the memory | storage destination of collection data to the standby type control apparatus 5W will be performed (step ST7). The drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D stores information indicating that the transmission mode is executed in the storage area of the user data memory 11D.
 駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、外部記憶媒体記憶モードを実行しないと判定した(ステップST3:No)後、又は、収集データの記憶先を待機系制御装置5Wに設定した(ステップST7)後、通信部30Dを介してバッファメモリ12に格納されている収集データを待機系制御装置5Wに送信する(ステップST8)。このように、駆動系収集制御部22Dは、外部記憶媒体100Dに記憶する前の収集データの量が外部記憶媒体100Dの空き容量以上であると判定する(ステップST5:No)と、収集データの記憶先を待機系制御装置5Wに設定する(ステップST7)ことにより、収集データの量が外部記憶媒体100Dの空き容量を超える前に、収集データの記憶先を外部記憶媒体100Dから待機系制御装置5Wの外部記憶媒体100Wに切換える。実施の形態1において、第1の記憶先切り換え部である駆動系収集制御部22Dは、第1の制御装置である駆動系制御装置5Dに備えられる。 The drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D determines that the external storage medium storage mode is not executed (step ST3: No), or sets the storage destination of the collected data as a standby system control device. After setting to 5W (step ST7), the collected data stored in the buffer memory 12 is transmitted to the standby control device 5W via the communication unit 30D (step ST8). As described above, when the drive system collection control unit 22D determines that the amount of collected data before being stored in the external storage medium 100D is equal to or larger than the free capacity of the external storage medium 100D (step ST5: No), By setting the storage destination in the standby system control device 5W (step ST7), the collected data storage destination is changed from the external storage medium 100D to the standby system control device before the amount of collected data exceeds the free capacity of the external storage medium 100D. Switch to 5W external storage medium 100W. In the first embodiment, the drive system collection control unit 22D that is the first storage destination switching unit is provided in the drive system control device 5D that is the first control device.
 また、駆動系収集制御部22Dは、制御システム1が駆動系制御装置5Dに接続した第2の制御装置5を二つ以上備える場合には、収集データの量が外部記憶媒体100Dの空き容量を超える前に、収集データの記憶先を外部記憶媒体100Dから第2の制御装置5のいずれかの外部記憶媒体100Wに切換えても良い。 Further, when the control system 1 includes two or more second control devices 5 connected to the drive system control device 5D, the drive system collection control unit 22D determines that the amount of collected data is the free capacity of the external storage medium 100D. Before exceeding, the storage destination of the collected data may be switched from the external storage medium 100D to any one of the external storage media 100W of the second control device 5.
 待機系制御装置5Wの通信部30Wは、駆動系制御装置5Dから収集データを受信する(ステップST10)。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、待機系制御装置5Wのメモリ10Wのバッファメモリ12Wの空き容量の情報を取得する。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、待機系制御装置5Wのメモリ10Wのバッファメモリ12Wの空き容量が、受信した収集データの量よりも小さいか否かを判定する(ステップST11)。 The communication unit 30W of the standby system control device 5W receives the collected data from the drive system control device 5D (step ST10). The standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W acquires information on the free capacity of the buffer memory 12W of the memory 10W of the standby system control device 5W. Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines whether or not the free capacity of buffer memory 12W of memory 10W of standby system control device 5W is smaller than the amount of collected data received. (Step ST11).
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、待機系制御装置5Wのメモリ10Wのバッファメモリ12Wの空き容量が、受信した収集データの量よりも小さくないと判定する(ステップST11:No)と、待機系制御装置5Wのデータ収集部20Wのデータ作成部21Wは、受信した収集データをバッファメモリ12Wに記憶する(ステップST12)。なお、待機系制御装置5Wのメモリ10Wのバッファメモリ12Wの空き容量が受信した収集データの量よりも小さくないことは、待機系制御装置5Wのメモリ10Wのバッファメモリ12Wの空き容量が受信した収集データの量以上であることである。 The standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the free capacity of the buffer memory 12W of the memory 10W of the standby system control device 5W is not smaller than the amount of collected data received ( In step ST11: No), the data creation unit 21W of the data collection unit 20W of the standby control device 5W stores the received collection data in the buffer memory 12W (step ST12). Note that the free capacity of the buffer memory 12W of the memory 10W of the standby control device 5W is not smaller than the amount of collected data received, that the free capacity of the buffer memory 12W of the memory 10W of the standby control device 5W is received. That is more than the amount of data.
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、待機系制御装置5Wのメモリ10Wのバッファメモリ12Wの空き容量が、受信した収集データの量よりも小さいと判定する(ステップST11:Yes)と、バッファメモリ12Wに記憶されている情報を外部記憶媒体管理部50Wのアクセス部51Wを介して外部記憶媒体100Wに一時的に記憶する。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、バッファメモリ12Wの記憶領域を一旦クリアして情報を記憶していない空きの状態にした後、受信した収集データをバッファメモリ12Wに記憶する(ステップST13)。また、待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、受信した収集データをバッファメモリ12Wに記憶した後、外部記憶媒体100Wに一時的に記憶した収集データをクリアする。 Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines that the free capacity of buffer memory 12W of memory 10W of standby system control device 5W is smaller than the amount of collected data received (step) ST11: Yes) and the information stored in the buffer memory 12W is temporarily stored in the external storage medium 100W via the access unit 51W of the external storage medium management unit 50W. The standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W temporarily clears the storage area of the buffer memory 12W to make it an empty state in which information is not stored, and then stores the received collection data in the buffer memory It is stored in 12W (step ST13). The standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W clears the collected data temporarily stored in the external storage medium 100W after storing the received collection data in the buffer memory 12W.
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、受信した収集データをバッファメモリ12Wに記憶した(ステップST12及びステップST13)後、外部記憶媒体管理部50Wの容量管理部52Wから外部記憶媒体100Wの空き容量の情報を取得する(ステップST14)。 The standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W stores the received collection data in the buffer memory 12W (step ST12 and step ST13), and then the capacity management unit 52W of the external storage medium management unit 50W. The information on the free space of the external storage medium 100W is acquired from (step ST14).
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、外部記憶媒体100Wの空き容量がバッファメモリ12Wに記憶された収集データの量以上か否かを判定する(ステップST15)。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、外部記憶媒体100Wの空き容量がバッファメモリ12Wに記憶した収集データの量以上であると判定する(ステップST15:Yes)と、アクセス部51Wを介してバッファメモリ12Wに記憶されている収集データを外部記憶媒体100Wの空き領域に記憶する(ステップST16)。 Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines whether or not the free capacity of external storage medium 100W is equal to or greater than the amount of collected data stored in buffer memory 12W (step ST15). When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the free space of the external storage medium 100W is equal to or larger than the amount of collected data stored in the buffer memory 12W (step ST15: Yes). The collected data stored in the buffer memory 12W via the access unit 51W is stored in a free area of the external storage medium 100W (step ST16).
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、外部記憶媒体100Wの空き容量がバッファメモリ12Wに記憶した収集データの量以上ではないと判定する(ステップST15:No)と、メモリ10のユーザデータメモリ11の記憶領域を参照し、上書きモードを示す情報が記憶されているか否かを判定する(ステップST17)。外部記憶媒体100Wの空き容量がバッファメモリ12Wに記憶した収集データの量以上ではないことは、収集データの量が外部記憶媒体100Wの空き容量を超えていることである。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、上書きモードを示す情報が記憶されていると判定する(ステップST17:Yes)と、アクセス部51Wを介してバッファメモリ12Wに記憶されている収集データを外部記憶媒体100Wの既に情報を記憶した記憶領域に上書きする(ステップST18)。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、上書きモードを示す情報が記憶されていないと判定する(ステップST17:No)と、収集データの記憶を停止する(ステップST19)。 When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the free capacity of the external storage medium 100W is not greater than or equal to the amount of collected data stored in the buffer memory 12W (step ST15: No). Referring to the storage area of the user data memory 11 of the memory 10, it is determined whether or not information indicating the overwrite mode is stored (step ST17). That the free capacity of the external storage medium 100W is not equal to or greater than the amount of collected data stored in the buffer memory 12W is that the amount of collected data exceeds the free capacity of the external storage medium 100W. When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that information indicating the overwrite mode is stored (step ST17: Yes), the standby system control unit 23W stores the information in the buffer memory 12W via the access unit 51W. The stored data that has been stored is overwritten on the storage area of the external storage medium 100W that already stores the information (step ST18). If the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the information indicating the overwrite mode is not stored (step ST17: No), the storage of the collected data is stopped (step ST19). ).
 また、駆動系制御装置5Dが収集データの記憶先を待機系制御装置5Wに設定している間に、ユーザにより駆動系制御装置5Dの外部記憶媒体記憶部40Dに取り付けられている外部記憶媒体100Dが取り外されることがある。その後、ユーザは、取り外した外部記憶媒体100Dに記憶された収集データを他の記憶媒体にコピーした後、外部記憶媒体100Dの記憶領域をクリアして、空き容量を増加する。又は、ユーザは、新たな外部記憶媒体100Dを用意する。ユーザは、再度、外部記憶媒体100Dを駆動系制御装置5Dの外部記憶媒体記憶部40Dに取り付ける。すると、駆動系制御装置5Dの容量管理部52Dが外部記憶媒体100Dの空き容量が増加したことを検出し、駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dが、通信部30Dを介して、外部記憶媒体100Dの空き容量が増加したことを示す情報を待機系制御装置5Wに送信する。 The external storage medium 100D attached to the external storage medium storage unit 40D of the drive system control device 5D by the user while the drive system control device 5D sets the storage destination of the collected data to the standby system control device 5W. May be removed. Thereafter, the user copies the collected data stored in the removed external storage medium 100D to another storage medium, and then clears the storage area of the external storage medium 100D to increase the free capacity. Alternatively, the user prepares a new external storage medium 100D. The user attaches the external storage medium 100D to the external storage medium storage unit 40D of the drive system control device 5D again. Then, the capacity management unit 52D of the drive system control device 5D detects that the free capacity of the external storage medium 100D has increased, and the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D receives the communication unit 30D. Then, information indicating that the free space of the external storage medium 100D has increased is transmitted to the standby control device 5W.
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、外部記憶媒体100Wに収集データを記憶した(ステップST16)後、外部記憶媒体100Wに収集データを上書きした(ステップST18)後、又は収集データの記憶を停止した(ステップST19)後に、通信部30Wが外部記憶媒体100Dの空き容量が増加したことを示す情報を受信したか否かを判定する(ステップST20)。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、通信部30Wが外部記憶媒体100Dの空き容量が増加したことを示す情報を受信していないと判定する(ステップST20:No)と、ステップST10に戻り、駆動系制御装置5Dから収集データを外部記憶媒体100Wに記憶することを続行する。 The standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W stores the collected data in the external storage medium 100W (step ST16), and then overwrites the collected data in the external storage medium 100W (step ST18). Alternatively, after the storage of the collected data is stopped (step ST19), it is determined whether or not the communication unit 30W has received information indicating that the free space of the external storage medium 100D has increased (step ST20). Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines that communication unit 30W has not received information indicating that the free capacity of external storage medium 100D has increased (step ST20: No). ) And the process returns to step ST10 to continue storing the collected data in the external storage medium 100W from the drive system controller 5D.
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、通信部30Wが外部記憶媒体100Dの空き容量が増加したことを示す情報を受信したと判定する(ステップST20:Yes)と、ユーザデータメモリ11Wの記憶領域を参照する。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、記憶先を変更するデータ返送モードを実行するか否かを判定する(ステップST21)。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、記憶先を変更するデータ返送モードを実行しないと判定する(ステップST21:No)と、ステップST10に戻り、駆動系制御装置5Dから受信した収集データを外部記憶媒体100Wに記憶することを続行する。 When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the communication unit 30W has received information indicating that the free capacity of the external storage medium 100D has increased (step ST20: Yes). Reference is made to the storage area of the user data memory 11W. The standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines whether or not to execute the data return mode for changing the storage destination (step ST21). When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines that the data return mode for changing the storage destination is not executed (step ST21: No), the process returns to step ST10, and the drive system control device The storage of the collected data received from 5D in the external storage medium 100W is continued.
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、受信した収集データの記憶先を変更するデータ返送モードを実行すると判定する(ステップST21:Yes)と、外部記憶媒体100Wに記憶されている収集データを、通信部30Wを介して駆動系制御装置5Dに送信する(ステップST22)。 When the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W determines to execute the data return mode for changing the storage destination of the received collection data (step ST21: Yes), the standby system control unit 23W stores the data in the external storage medium 100W. The stored collected data is transmitted to the drive system controller 5D via the communication unit 30W (step ST22).
 待機系制御装置5Wから送信された収集データを受信した駆動系制御装置5Dのデータ収集部20Dのデータ作成部21Dは、ユーザデータメモリ11Dに記憶されている収集データをバッファメモリ12Dに記憶するとともに、受信した収集データをバッファメモリ12Dに記憶する。駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、バッファメモリ12Dに記憶された収集データを統合する。駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、統合した収集データを外部記憶媒体100Dに記憶し、ユーザデータメモリ11Dの記憶領域に外部記憶媒体記憶モードを実行する情報を記憶する。 The data creation unit 21D of the data collection unit 20D of the drive system control device 5D that has received the collection data transmitted from the standby system control device 5W stores the collection data stored in the user data memory 11D in the buffer memory 12D. The received collected data is stored in the buffer memory 12D. The drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D integrates the collected data stored in the buffer memory 12D. The drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D stores the integrated collection data in the external storage medium 100D and stores information for executing the external storage medium storage mode in the storage area of the user data memory 11D. Remember.
 以後、駆動系制御装置5Dのデータ収集部20Dの駆動系収集制御部22Dは、図4に示すフローチャートに従って、収集データを外部記憶媒体100Dに記憶する。このように、待機系収集制御部23Wは、外部記憶媒体100Dの空き容量が増加したと判定し(ステップST20:Yes)、収集データの記憶先を外部記憶媒体100Dに変更すると判定する(ステップST21:Yes)ことにより、外部記憶媒体100Dの空き容量が増加した後、収集データの記憶先を待機系制御装置5Wの外部記憶媒体100Wから外部記憶媒体100Dに切換える。実施の形態1において、第2の記憶先切り換え部である待機系収集制御部23Wは、第2の制御装置である待機系制御装置5Wに備えられる。 Thereafter, the drive system collection control unit 22D of the data collection unit 20D of the drive system control device 5D stores the collected data in the external storage medium 100D according to the flowchart shown in FIG. As described above, the standby system collection control unit 23W determines that the free space of the external storage medium 100D has increased (step ST20: Yes), and determines to change the storage destination of the collected data to the external storage medium 100D (step ST21). :)) After the free capacity of the external storage medium 100D increases, the storage destination of the collected data is switched from the external storage medium 100W of the standby control device 5W to the external storage medium 100D. In the first embodiment, the standby system collection control unit 23W that is the second storage destination switching unit is provided in the standby system control device 5W that is the second control device.
 待機系収集制御部23Wは、制御システム1が駆動系制御装置5Dに接続した第2の制御装置5を二つ以上備える場合には、外部記憶媒体100Dの空き容量が増加した後、収集データの記憶先を第2の制御装置5のいずれかの外部記憶媒体100Wから外部記憶媒体100Dに切換えても良い。 When the control system 1 includes two or more second control devices 5 connected to the drive system control device 5D, the standby system collection control unit 23W stores the collected data after the free space of the external storage medium 100D increases. The storage destination may be switched from any external storage medium 100W of the second control device 5 to the external storage medium 100D.
 実施の形態1に係る制御システム1及び制御装置5によれば、外部記憶媒体100Dに記憶する前の収集データの量が外部記憶媒体100Dの空き容量を超える前に、収集データの記憶先を外部記憶媒体100Dから待機系制御装置5Wの外部記憶媒体100Wに切換える駆動系収集制御部22Dを備える。このため、制御システム1及び制御装置5は、収集データを外部記憶媒体100D,100Wのいずれかに記憶することができ、時系列に連続した収集データを取得することができる。その結果、制御システム1及び制御装置5は、収集データを再取得する必要が生じなく、作業効率が悪化することを抑制することができる。 According to the control system 1 and the control device 5 according to the first embodiment, before the amount of collected data before storing in the external storage medium 100D exceeds the free capacity of the external storage medium 100D, the storage destination of the collected data is set to the external A drive system collection control unit 22D that switches from the storage medium 100D to the external storage medium 100W of the standby system control device 5W is provided. For this reason, the control system 1 and the control device 5 can store the collected data in either of the external storage media 100D and 100W, and can acquire the collected data continuous in time series. As a result, the control system 1 and the control device 5 do not need to re-acquire the collected data, and can suppress deterioration in work efficiency.
 また、実施の形態1に係る制御システム1及び制御装置5によれば、収集データを外部記憶媒体100D,100Wのいずれかに記憶するので、制御装置5が内蔵するメモリ10の容量を増加させる必要がない。その結果、制御システム1及び制御装置5によれば、制御装置5にメモリを増設する必要がなく、制御装置5の製造コストが増加することを抑制することができる。 Further, according to the control system 1 and the control device 5 according to the first embodiment, since the collected data is stored in either the external storage medium 100D or 100W, the capacity of the memory 10 built in the control device 5 needs to be increased. There is no. As a result, according to the control system 1 and the control device 5, it is not necessary to add a memory to the control device 5, and an increase in the manufacturing cost of the control device 5 can be suppressed.
 実施の形態1に係る制御システム1及び制御装置5によれば、外部記憶媒体100Dの空き容量が増加した後、収集データの記憶先を外部記憶媒体100Wから外部記憶媒体100Dに切換える待機系収集制御部23Wを備える。待機系収集制御部23Wは、収集データの記憶先を切換えると、外部記憶媒体100Wに記憶した収集データを駆動系制御装置5Dに送信する。その結果、制御システム1及び制御装置5は、収集データを統合することができ、時系列に連続した収集データを取得することができる。 According to the control system 1 and the control device 5 according to the first embodiment, after the free space of the external storage medium 100D increases, the standby system collection control for switching the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D Part 23W. When the storage destination of the collected data is switched, the standby system collection control unit 23W transmits the collected data stored in the external storage medium 100W to the drive system control device 5D. As a result, the control system 1 and the control device 5 can integrate the collected data, and can acquire the collected data continuous in time series.
 また、実施の形態1に係る制御システム1及び制御装置5は、駆動系制御装置5Dの外部記憶媒体100Dの空き容量が少なくなると、駆動系制御装置5Dに接続されて冗長化された待機系制御装置5Wの記憶媒体である外部記憶媒体100Wが収集データを記憶する。このために、実施の形態1に係る制御システム1及び制御装置5は、収集データを時系列に沿って収集でき、収集した収集データが紛失してしまうことを抑制することができる。 Further, the control system 1 and the control device 5 according to the first embodiment are connected to the drive system control device 5D and made redundant when the free capacity of the external storage medium 100D of the drive system control device 5D decreases. The external storage medium 100W that is the storage medium of the device 5W stores the collected data. For this reason, the control system 1 and the control device 5 according to the first embodiment can collect the collected data in a time series, and can prevent the collected collected data from being lost.
実施の形態2.
 次に、本発明の実施の形態2に係る制御システム1及び制御装置5を図面に基づいて説明する。図6は、実施の形態2に係る制御システムの構成を示す図である。図7は、実施の形態2に係る制御システムの待機系制御装置の動作の一部の一例を示すフローチャートである。図6及び図7において、実施の形態1と同一部分には、同一符号を付して説明を省略する。
Embodiment 2. FIG.
Next, the control system 1 and the control apparatus 5 which concern on Embodiment 2 of this invention are demonstrated based on drawing. FIG. 6 is a diagram illustrating a configuration of a control system according to the second embodiment. FIG. 7 is a flowchart showing an example of part of the operation of the standby control device of the control system according to the second embodiment. In FIG.6 and FIG.7, the same code | symbol is attached | subjected to the same part as Embodiment 1, and description is abbreviate | omitted.
 実施の形態2において、制御システム1の各制御装置5、即ち駆動系制御装置5D及び待機系制御装置5Wの構成は、図6に示すように、実施の形態1と同一である。駆動系収集制御部22Dが送信モードを実行中に、容量管理部52Dが外部記憶媒体100Dの空き容量が増加したことを検出すると、待機系収集制御部23Dは、外部記憶媒体100Dの空き容量が増加したことを示す情報の代わりに、収集データの記憶先を外部記憶媒体100Wから外部記憶媒体100Dに切換える命令を待機系制御装置5Wに送信する。また、待機系収集制御部23Dは、メモリ10Dの記憶領域に外部記憶媒体記憶モードを実行する情報を記憶する。駆動系制御装置5Dは、外部記憶媒体100Dの空き容量が増加したことを示す情報の代わりに、収集データの記憶先を外部記憶媒体100Wから外部記憶媒体100Dに切換える命令を待機系制御装置5Wに送信すること以外は、実施の形態1と同様に動作する。 In the second embodiment, the configuration of each control device 5 of the control system 1, that is, the drive system control device 5D and the standby system control device 5W is the same as that of the first embodiment as shown in FIG. When the capacity management unit 52D detects that the free space of the external storage medium 100D has increased while the drive system collection control unit 22D is executing the transmission mode, the standby system collection control unit 23D determines that the free space of the external storage medium 100D is free. Instead of the information indicating the increase, an instruction to switch the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D is transmitted to the standby control device 5W. The standby system collection control unit 23D stores information for executing the external storage medium storage mode in the storage area of the memory 10D. The drive system control device 5D gives an instruction to the standby system control device 5W to switch the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D instead of the information indicating that the free space of the external storage medium 100D has increased. The operation is the same as in the first embodiment except for transmitting.
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、図7に示すように、外部記憶媒体100Wに収集データを記憶した(ステップST16)後、外部記憶媒体100Wに収集データを上書きした(ステップST18)後、又は収集データの記憶を停止した(ステップST19)後に、通信部30Wが収集データの記憶先を外部記憶媒体100Wから外部記憶媒体100Dに切換える命令を受信したか否かを判定する(ステップST21-2)。待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、通信部30Wが収集データの記憶先を外部記憶媒体100Wから外部記憶媒体100Dに切換える命令を受信していないと判定する(ステップST21-2:No)と、ステップST10に戻り、駆動系制御装置5Dから受信した収集データを外部記憶媒体100Wに記憶することを続行する。 As shown in FIG. 7, the standby system collection control unit 23W of the data collection unit 20W of the standby system control device 5W stores the collected data in the external storage medium 100W (step ST16), and then stores the collected data in the external storage medium 100W. Whether the communication unit 30W has received an instruction to switch the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D after overwriting (step ST18) or after stopping collection data collection (step ST19) Is determined (step ST21-2). Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines that communication unit 30W has not received an instruction to switch the storage destination of the collected data from external storage medium 100W to external storage medium 100D ( Step ST21-2: No), the process returns to step ST10 to continue storing the collected data received from the drive system control device 5D in the external storage medium 100W.
 待機系制御装置5Wのデータ収集部20Wの待機系収集制御部23Wは、通信部30Wが収集データの記憶先を外部記憶媒体100Wから外部記憶媒体100Dに切換える命令を受信したと判定する(ステップST21-2:Yes)と、外部記憶媒体100Wに記憶されている収集データを、通信部30Wを介して駆動系制御装置5Dに送信する(ステップST22)。待機系制御装置5Wは、通信部30Wが収集データの記憶先を外部記憶媒体100Wから外部記憶媒体100Dに切換える命令を受信したか否かを判定すること以外は、実施の形態1と同様に動作する。 Standby system collection control unit 23W of data collection unit 20W of standby system control device 5W determines that communication unit 30W has received an instruction to switch the storage destination of the collected data from external storage medium 100W to external storage medium 100D (step ST21). -2: Yes), the collected data stored in the external storage medium 100W is transmitted to the drive system controller 5D via the communication unit 30W (step ST22). Standby system control device 5W operates in the same manner as in the first embodiment except that communication unit 30W determines whether or not it has received an instruction to switch the storage destination of collected data from external storage medium 100W to external storage medium 100D. To do.
 実施の形態2において、駆動系制御装置5Dのデータ収集部20Dの待機系収集制御部23Dは、送信モードを実行中に、容量管理部52Dが外部記憶媒体100Dの空き容量が増加したことを検出すると、収集データの記憶先を外部記憶媒体100Wから外部記憶媒体100Dに切換える命令を待機系制御装置5Wに送信することにより、外部記憶媒体100Dの空き容量が増加した後、収集データの記憶先を待機系制御装置5Wの外部記憶媒体100Wから外部記憶媒体100Dに切換える。実施の形態2において、第2の記憶先切り換え部である待機系収集制御部23Dは、第1の制御装置である駆動系制御装置5Dに備えられる。 In the second embodiment, the standby system collection control unit 23D of the data collection unit 20D of the drive system control device 5D detects that the free capacity of the external storage medium 100D has increased while the capacity management unit 52D is executing the transmission mode. Then, an instruction to switch the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D is transmitted to the standby control device 5W, so that the free space of the external storage medium 100D increases, and then the storage destination of the collected data is changed. Switching from the external storage medium 100W of the standby control device 5W to the external storage medium 100D. In the second embodiment, the standby system collection control unit 23D that is the second storage destination switching unit is provided in the drive system control device 5D that is the first control device.
 実施の形態2に係る制御システム1及び制御装置5によれば、実施の形態1と同様に、外部記憶媒体100Dに記憶する前の収集データの量が外部記憶媒体100Dの空き容量を超える前に、収集データの記憶先を外部記憶媒体100Dから待機系制御装置5Wの外部記憶媒体100Wに切換える駆動系収集制御部22Dを備える。このため、制御システム1及び制御装置5は、時系列に連続した収集データを取得することができ、作業効率が悪化することを抑制することができる。 According to the control system 1 and the control device 5 according to the second embodiment, as in the first embodiment, before the amount of collected data before storing in the external storage medium 100D exceeds the free capacity of the external storage medium 100D. The drive data collection control unit 22D switches the storage destination of the collected data from the external storage medium 100D to the external storage medium 100W of the standby control device 5W. For this reason, the control system 1 and the control apparatus 5 can acquire the collection data which continued in time series, and can suppress that work efficiency deteriorates.
 また、実施の形態2に係る制御システム1及び制御装置5によれば、収集データを外部記憶媒体100D,100Wのいずれかに記憶するので、制御装置5にメモリを増設する必要がなく、制御装置5の製造コストが増加することを抑制することができる。 Further, according to the control system 1 and the control device 5 according to the second embodiment, since the collected data is stored in either the external storage medium 100D or 100W, there is no need to add a memory to the control device 5, and the control device It can suppress that the manufacturing cost of 5 increases.
 実施の形態2に係る制御システム1及び制御装置5によれば、外部記憶媒体100Dの空き容量が増加した後、収集データの記憶先を外部記憶媒体100Wから外部記憶媒体100Dに切換える待機系収集制御部23Dを駆動系制御装置5Dが備える。その結果、制御システム1及び制御装置5は、収集データを統合することができ、時系列に連続した収集データを取得することができる。 According to the control system 1 and the control device 5 according to the second embodiment, after the free capacity of the external storage medium 100D increases, the standby system collection control for switching the storage destination of the collected data from the external storage medium 100W to the external storage medium 100D. The drive system controller 5D includes the unit 23D. As a result, the control system 1 and the control device 5 can integrate the collected data, and can acquire the collected data continuous in time series.
実施の形態3.
 次に、本発明の実施の形態3に係る制御システム1及び制御装置5を図面に基づいて説明する。図8は、実施の形態3に係る制御システムの構成を示す図である。図9は、実施の形態3に係る制御システムの制御装置のハードウェア構成を示す図である。図8及び図9において、実施の形態1と同一部分には、同一符号を付して説明を省略する。
Embodiment 3 FIG.
Next, the control system 1 and the control apparatus 5 which concern on Embodiment 3 of this invention are demonstrated based on drawing. FIG. 8 is a diagram illustrating a configuration of a control system according to the third embodiment. FIG. 9 is a diagram illustrating a hardware configuration of a control device of the control system according to the third embodiment. 8 and 9, the same parts as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.
 実施の形態3において、制御システム1の待機系制御装置5Wは、図8及び図9に示すように、外部記憶媒体管理部50Wの代わりに内部記憶媒体管理部50-3を備える。実施の形態3において、制御システム1の待機系制御装置5Wは、外部記憶媒体記憶部40Wの代わりに記憶手段である内部記憶媒体記憶部40-3を備え、更に、内部記憶媒体200を備える以外は、実施の形態1と同様の構成である。 In the third embodiment, the standby control device 5W of the control system 1 includes an internal storage medium management unit 50-3 instead of the external storage medium management unit 50W, as shown in FIGS. In the third embodiment, the standby control device 5W of the control system 1 includes an internal storage medium storage unit 40-3 as storage means instead of the external storage medium storage unit 40W, and further includes an internal storage medium 200. The configuration is the same as that of the first embodiment.
 内部記憶媒体記憶部40-3は、待機系制御装置5Wに内蔵される内部記憶媒体200にデータ作成部21Wが作成した情報を記憶する。内部記憶媒体記憶部40-3の機能は、内部記憶媒体200に情報を記憶可能な図9に示す内部記憶媒体記憶装置5A7-3により実現される。 The internal storage medium storage unit 40-3 stores the information created by the data creation unit 21W in the internal storage medium 200 built in the standby control device 5W. The function of the internal storage medium storage unit 40-3 is realized by the internal storage medium storage device 5A7-3 shown in FIG. 9 capable of storing information in the internal storage medium 200.
 内部記憶媒体200は、待機系制御装置5Wに内蔵され、かつコンピュータにより読み出し可能な情報を記憶、読み出し可能とする記憶媒体である。実施の形態3において、内部記憶媒体200は、SSD又はHDDにより構成されるが、SSD又はHDDに限定されること無く、不揮発性の半導体メモリ、又は揮発性の半導体メモリにより構成されても良い。不揮発性の半導体メモリ、又は揮発性の半導体メモリとして、RAM、ROM、フラッシュメモリ、EPROM、又は、EEPROMを用いることができる。また、内部記憶媒体200は、磁気ディスク、光ディスク、及び光磁気ディスクのうちの少なくとも一つにより構成されても良い。 The internal storage medium 200 is a storage medium that is built in the standby control device 5W and that can store and read information that can be read by a computer. In the third embodiment, the internal storage medium 200 is configured by an SSD or an HDD, but is not limited to an SSD or an HDD, and may be configured by a nonvolatile semiconductor memory or a volatile semiconductor memory. As a nonvolatile semiconductor memory or a volatile semiconductor memory, a RAM, a ROM, a flash memory, an EPROM, or an EEPROM can be used. The internal storage medium 200 may be configured by at least one of a magnetic disk, an optical disk, and a magneto-optical disk.
 内部記憶媒体管理部50-3は、内部記憶媒体200への情報の記憶、及び読み出しを可能とする機能を有するアクセス部51-3と、内部記憶媒体200の記憶済みの記憶領域の容量の情報、及び空き容量の情報を保持する機能を有する容量管理部52-3と、を備える。内部記憶媒体管理部50-3のアクセス部51-3及び容量管理部52-3の機能は、図9に示すMPU5A2が記憶部5A6に記憶された制御プログラムを読み出して実行することにより実現される。制御プログラムは、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組み合わせにより実現される。 The internal storage medium management unit 50-3 includes an access unit 51-3 having a function of enabling information to be stored in and read from the internal storage medium 200, and information on the capacity of the stored storage area of the internal storage medium 200. And a capacity management unit 52-3 having a function of holding information on free capacity. The functions of the access unit 51-3 and the capacity management unit 52-3 of the internal storage medium management unit 50-3 are realized by the MPU 5A2 shown in FIG. 9 reading out and executing the control program stored in the storage unit 5A6. . The control program is realized by software, firmware, or a combination of software and firmware.
 実施の形態3において、待機系制御装置5Wは、駆動系制御装置5Dから受信した収集データを内部記憶媒体200に記憶すること以外は、実施の形態1と同様に動作する。実施の形態3において、内部記憶媒体200は、第2の制御装置の記憶媒体である。 In the third embodiment, the standby system control device 5W operates in the same manner as in the first embodiment except that the collected data received from the drive system control device 5D is stored in the internal storage medium 200. In the third embodiment, the internal storage medium 200 is a storage medium of the second control device.
 実施の形態3に係る制御システム1及び制御装置5によれば、実施の形態1と同様に、外部記憶媒体100Dに記憶する前の収集データの量が外部記憶媒体100Dの空き容量を超える前に、収集データの記憶先を外部記憶媒体100Dから待機系制御装置5Wの内部記憶媒体200に切換える駆動系収集制御部22Dを備える。このため、制御システム1及び制御装置5は、時系列に連続した収集データを取得することができ、作業効率が悪化することを抑制することができる。 According to the control system 1 and the control device 5 according to the third embodiment, as in the first embodiment, before the amount of collected data before storing in the external storage medium 100D exceeds the free capacity of the external storage medium 100D. The drive system collection control unit 22D switches the storage destination of the collected data from the external storage medium 100D to the internal storage medium 200 of the standby system control device 5W. For this reason, the control system 1 and the control apparatus 5 can acquire the collection data which continued in time series, and can suppress that work efficiency deteriorates.
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 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.
 1 制御システム、2,3 機器、5D 駆動系制御装置(第1の制御装置、制御装置)、5W 待機系制御装置(第2の制御装置、他の制御装置)、22D 駆動系収集制御部(第1の記憶先切り換え部)、23D,23W 待機系収集制御部(第2の記憶先切り換え部)、40 外部記憶媒体記憶部(記憶手段)、40-3 内部記憶媒体記憶部(記憶手段)、100D 外部記憶媒体、100W 外部記憶媒体(記憶媒体、第2の外部記憶媒体)、200 内部記憶媒体(記憶媒体)。 1 control system, 2, 3 equipment, 5D drive system control device (first control device, control device), 5W standby system control device (second control device, other control device), 22D drive system collection control unit ( First storage destination switching unit), 23D, 23W Standby system collection control unit (second storage destination switching unit), 40 External storage medium storage unit (storage unit), 40-3 Internal storage medium storage unit (storage unit) , 100D external storage medium, 100W external storage medium (storage medium, second external storage medium), 200 internal storage medium (storage medium).

Claims (6)

  1.  機器から取得した情報を着脱自在な外部記憶媒体に記憶する記憶手段を有する第1の制御装置と、前記第1の制御装置に1つ以上接続された第2の制御装置と、を備える制御システムであって、
     前記外部記憶媒体に記憶する前の情報の量が前記外部記憶媒体の空き容量を超える前に、前記情報の記憶先を前記外部記憶媒体から前記第2の制御装置の記憶媒体に切換える第1の記憶先切り換え部と、
     前記外部記憶媒体の空き容量が増加した後、前記情報の記憶先を前記第2の制御装置の前記記憶媒体から前記外部記憶媒体に切換える第2の記憶先切り換え部と、
     を備えることを特徴とする制御システム。
    A control system comprising: a first control device having storage means for storing information acquired from a device in a removable external storage medium; and a second control device connected to one or more of the first control devices. Because
    The first storage medium is switched from the external storage medium to the storage medium of the second controller before the amount of information before storing in the external storage medium exceeds the free capacity of the external storage medium. A storage destination switching unit;
    A second storage destination switching unit that switches the storage destination of the information from the storage medium of the second control device to the external storage medium after the free space of the external storage medium increases;
    A control system comprising:
  2.  前記第2の制御装置の前記記憶媒体は、前記第2の制御装置に着脱自在な第2の外部記憶媒体であることを特徴とする請求項1に記載の制御システム。 2. The control system according to claim 1, wherein the storage medium of the second control device is a second external storage medium that is detachably attached to the second control device.
  3.  前記第2の制御装置の前記記憶媒体は、前記第2の制御装置に内蔵された内部記憶媒体であることを特徴とする請求項1に記載の制御システム。 2. The control system according to claim 1, wherein the storage medium of the second control device is an internal storage medium built in the second control device.
  4.  前記第2の記憶先切り換え部は、前記第1の制御装置に備えられることを特徴とする請求項1から請求項3のいずれか一項に記載の制御システム。 The control system according to any one of claims 1 to 3, wherein the second storage destination switching unit is provided in the first control device.
  5.  前記第2の記憶先切り換え部は、前記第2の制御装置に備えられることを特徴とする請求項1から請求項3のいずれか一項に記載の制御システム。 The control system according to any one of claims 1 to 3, wherein the second storage destination switching unit is provided in the second control device.
  6.  他の制御装置に接続され、機器から取得した情報を着脱自在な外部記憶媒体に記憶する制御装置であって、
     前記機器から取得した前記情報を前記外部記憶媒体に記憶する記憶手段と、
     前記外部記憶媒体に記憶する前の情報の量が前記外部記憶媒体の空き容量を超える前に、前記情報の記憶先を前記外部記憶媒体から前記他の制御装置の記憶媒体に切換える第1の記憶先切り換え部と、
     前記外部記憶媒体の空き容量が増加した後、前記情報の記憶先を前記他の制御装置の記憶媒体から前記外部記憶媒体に切換える第2の記憶先切り換え部と、
     を備えることを特徴とする制御装置。
    A control device that is connected to another control device and stores information acquired from the device in a removable external storage medium,
    Storage means for storing the information acquired from the device in the external storage medium;
    First storage for switching the storage destination of the information from the external storage medium to the storage medium of the other control device before the amount of information before storing in the external storage medium exceeds the free capacity of the external storage medium A destination switching unit;
    A second storage destination switching unit that switches the storage destination of the information from the storage medium of the other control device to the external storage medium after the free space of the external storage medium increases;
    A control device comprising:
PCT/JP2015/084439 2015-12-08 2015-12-08 Control system and control device WO2017098585A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2015/084439 WO2017098585A1 (en) 2015-12-08 2015-12-08 Control system and control device
CN201580064191.0A CN107046809B (en) 2015-12-08 2015-12-08 control system and control device
JP2016567702A JP6113381B1 (en) 2015-12-08 2015-12-08 Control system and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/084439 WO2017098585A1 (en) 2015-12-08 2015-12-08 Control system and control device

Publications (1)

Publication Number Publication Date
WO2017098585A1 true WO2017098585A1 (en) 2017-06-15

Family

ID=58666696

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/084439 WO2017098585A1 (en) 2015-12-08 2015-12-08 Control system and control device

Country Status (3)

Country Link
JP (1) JP6113381B1 (en)
CN (1) CN107046809B (en)
WO (1) WO2017098585A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04288638A (en) * 1991-03-18 1992-10-13 Fujitsu Ltd Computer system
JP2006113844A (en) * 2004-10-15 2006-04-27 Sharp Corp Data accumulation terminal, system and method
JP2008040611A (en) * 2006-08-02 2008-02-21 Nec Corp Information processor, logging data storage memory extension method, program and recording medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1024963C (en) * 1989-04-04 1994-06-08 横河电机株式会社 Duplex computer system
US5966301A (en) * 1997-06-13 1999-10-12 Allen-Bradley Company, Llc Redundant processor controller providing upgrade recovery
JP4288638B2 (en) * 2000-03-15 2009-07-01 日立金属株式会社 Lumped constant type nonreciprocal circuit device
JP3777136B2 (en) * 2002-04-01 2006-05-24 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer device, data dead copy method, program, and computer device operating method
JP2006277563A (en) * 2005-03-30 2006-10-12 Ibm Japan Ltd Backup system and backup method for restoring file to version of specified date/time, and program for causing computer to execute method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04288638A (en) * 1991-03-18 1992-10-13 Fujitsu Ltd Computer system
JP2006113844A (en) * 2004-10-15 2006-04-27 Sharp Corp Data accumulation terminal, system and method
JP2008040611A (en) * 2006-08-02 2008-02-21 Nec Corp Information processor, logging data storage memory extension method, program and recording medium

Also Published As

Publication number Publication date
CN107046809B (en) 2019-01-01
JP6113381B1 (en) 2017-04-12
JPWO2017098585A1 (en) 2017-12-07
CN107046809A (en) 2017-08-15

Similar Documents

Publication Publication Date Title
JP5355337B2 (en) Information processing apparatus and power control method for information processing apparatus
JP6901427B2 (en) How storage devices, computer systems and storage devices work
US20090182962A1 (en) Memory Subsystem Hibernation
US20100274986A1 (en) Control apparatus and control method therefor
CN104025036A (en) Low latency cluster computing
JP2007249784A (en) Power control method for storage device
KR20090021692A (en) Computer system, control method thereof and data processing apparatus
KR20120069518A (en) Data manipulation of power fail
JP2012018626A (en) Memory control device, memory device, and stop control method
JP6113381B1 (en) Control system and control device
KR20120069517A (en) Data manipulation during memory backup
JP2009009323A (en) Setting device, electronic equipment, and setting program
JP2008263678A (en) Servo motor controller
JPH11175311A (en) Flash memory system
US20050235138A1 (en) Storage control system and boot control system
JP2008226111A (en) Duplication controller system and operation system controller
JP6672623B2 (en) Control system and its control device
JP3666744B2 (en) Power-off control device
JP2008282246A (en) Information processor
JP4910785B2 (en) Electronic device, power control program for electronic device, and power control method
JP2001344116A (en) Arithmetic processor
JP2019016124A (en) Programmable controller
JP2009237712A (en) Circuit system and program
JP2000122706A (en) Programmable controller system and its constitution equipment
JP2006261996A (en) Information processor

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016567702

Country of ref document: JP

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: 15910202

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: 15910202

Country of ref document: EP

Kind code of ref document: A1