CN107046809B - control system and control device - Google Patents

control system and control device Download PDF

Info

Publication number
CN107046809B
CN107046809B CN201580064191.0A CN201580064191A CN107046809B CN 107046809 B CN107046809 B CN 107046809B CN 201580064191 A CN201580064191 A CN 201580064191A CN 107046809 B CN107046809 B CN 107046809B
Authority
CN
China
Prior art keywords
control device
storage medium
storage
exterior
information
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201580064191.0A
Other languages
Chinese (zh)
Other versions
CN107046809A (en
Inventor
永井宏和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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=CN107046809(B) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of CN107046809A publication Critical patent/CN107046809A/en
Application granted granted Critical
Publication of CN107046809B publication Critical patent/CN107046809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

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

Control system (1) includes drive system control device (5D), has the exterior storage medium storage unit (40D) that the information got from instrument (2,3) is stored in the exterior storage medium (100D) that can freely assemble and disassemble;And standby system control device (5W), it is connect with drive system control device (5D).Control system (1) includes drive system and collects control unit (22D), and the amount of the information before being stored to exterior storage medium (100D) is more than that the storage target of information is switched to the exterior storage medium (100W) of standby system control device (5W) by the idle capacity of exterior storage medium (100D) from exterior storage medium (100D) before.Control system (1) includes standby system and collects control unit (23W), and the storage target of information is switched to exterior storage medium (100D) from the exterior storage medium (100W) of standby system control device (5W) after the idle capacity increase of exterior storage medium (100D).

Description

Control system and control device
Technical field
The control system controlled the present invention relates to the equipment in the field a kind of couple of FA (Factory Automation) with And control device.
Background technique
The equipment in the usual field FA is realized and being combined a variety of instruments.Constitute the more of the equipment in the field FA A instrument is controlled by control system, which has multiple control dresses for incorporating and controlling processing and information processing Set i.e. programmable controller (referring to patent document 1).
Patent document 1: Japanese Unexamined Patent Publication 2008-40611 bulletin
Summary of the invention
Programmable controller has the storage device stored to the information got from instrument.Storage device makes sometimes With the device that information is stored in the exterior storage medium that can freely assemble and disassemble.Programmable controller storage device will store to The capacity of the information of exterior storage medium be more than exterior storage medium idle capacity in the case where, exterior storage medium The region for being stored with information is covered or stops carrying out the acquisition of information.
Information is being covered to the storage region for being stored with information of exterior storage medium or is being stopped by programmable controller In the case where the acquisition for only carrying out information, the continuous information in timing can not be obtained, it is sometimes desirable to obtain information again, make Industry efficiency is possible to deteriorate.
The present invention is exactly to propose in view of the foregoing, it is therefore intended that obtains the control for being able to suppress operating efficiency deterioration System.
To solve the above-mentioned problems, it realizes that purpose, control system of the invention include drive system control device, has Have and stores the information got from instrument to the storage unit for the exterior storage medium that can freely assemble and disassemble;And it is greater than or equal to 1 the 2nd control device, connect with drive system control device.Control system has the 1st storage target switching part, outside Portion's storage medium stored before information amount be more than exterior storage medium idle capacity before, the 1st storage target cuts Change the storage medium that the storage target of information is switched to the 2nd control device by portion from exterior storage medium.Control system has the 2nd Target switching part is stored, after the idle capacity increase of exterior storage medium, the 2nd stores target switching part for the storage of information Target is switched to exterior storage medium from the storage medium of the 2nd control device.1st storage target switching part is in exterior storage medium Idle capacity increase after, store the information for being stored in storage medium received from the 2nd control device to external storage Medium.2nd control device is during the drive system control device obtains the information of the instrument and stored Maintain the standby system control device of standby mode.
The effect of invention
Control system of the present invention has the effect of being able to suppress operating efficiency deterioration.
Detailed description of the invention
Fig. 1 is the figure of the structure for the control system for indicating that embodiment 1 is related to.
Fig. 2 is the figure of the hardware structure of computer for the control system for indicating that embodiment 1 is related to.
Fig. 3 is the figure of the hardware configuration of the control device for the control system for indicating that embodiment 1 is related to.
Fig. 4 is an example of the movement of the drive system control device for the control system for indicating that embodiment 1 is related to Flow chart.
Fig. 5 is the one of a part of the movement of the standby system control device for the control system for indicating that embodiment 1 is related to The flow chart of a example.
Fig. 6 is the figure of the structure for the control system for indicating that embodiment 2 is related to.
Fig. 7 is the one of a part of the movement of the standby system control device for the control system for indicating that embodiment 2 is related to The flow chart of a example.
Fig. 8 is the figure of the structure for the control system for indicating that embodiment 3 is related to.
Fig. 9 is the figure of the hardware configuration of the control device for the control system for indicating that embodiment 3 is related to.
Specific embodiment
In the following, the control system and control device that are related to based on the attached drawing embodiment that the present invention will be described in detail.In addition, The present invention is not limited to the embodiments.
Embodiment 1.
Fig. 1 is the figure of the structure for the control system for indicating that embodiment 1 is related to.Control system 1 is for constituting the field FA Equipment, as shown in Figure 1, comprising: be set to multiple instruments 2,3 of equipment;The multiple control devices 5 being connect with multiple instruments 2,3; And the computer 6 being connect with control device 5.In the embodiment 1, instrument 2,3 there are two the tools of control system 1, but and it is unlimited Due to two.In the embodiment 1, instrument 2 and instrument 3 are sensor or driving instrument.As sensor, enumerates and set It is placed in the sensor of equipment detected to flow, pressure, concentration or temperature.As driving instrument, enumerates and be set to Switch, adjustment valve, solenoid valve, motor or the pump of equipment are the driving instrument of execution movement.
Computer 6 creates the control program executed by control device 5, is sent to control device 5.Control device 5 is by holding Row controls program and controls instrument 2,3.In the embodiment 1, control device 5 is programmable controller (Programmable Logic Controllers(PLC)).Programmable controller is by JIS (Japanese Industrial Standards) B3502:2011 defined.
Fig. 2 is the figure of the hardware structure of computer for the control system for indicating that embodiment 1 is related to.Embodiment 1 is related to Computer 6 execute computer program, as shown in Fig. 2, including CPU (Central Processing Unit) 61, RAM (Random Access Memory) 62, ROM (Read Only Memory) 63, storage device 64, input unit 65, display dress Set 66 and communication interface 67.CPU 61, RAM 62, ROM 63, storage device 64, input unit 65, display device 66 and logical Letter interface 67 is connected with each other via bus B.
CPU 61 uses RAM 62 as operating area, and executes the journey for being stored in ROM 63 and storage device 64 Sequence.The program for being stored in ROM 63 is BIOS (Basic Input/Output System) or UEFI (Unified Extensible Firmware Interface), but the program for being stored in ROM 63 is not limited to BIOS or UEFI.? In embodiment 1, the program for being stored in storage device 64 is operating system program and engineering tools program, but is stored in The program of storage device 64 is not limited to operating system program and engineering tools program.In the embodiment 1, it stores Device 64 is SSD (Solid State Drive) or HDD (Hard Disk Drive), and storage device 64 is not limited to SSD or HDD.
Input unit 65 receives operation input from the user.In the embodiment 1, input unit 65 is keyboard or mouse Mark, but it is not limited to keyboard or mouse.Display device 66 shows text and image.In the embodiment 1, it shows Device 66 is liquid crystal display device, but is not limited to liquid crystal display device.Communication interface 67 via network N and with control device 5 It is communicated.Network N is the computer network for connecting 6, two control devices 5 of computer in a manner of it can mutually communicate. In the embodiment 1, network N is the LAN (Local Area Network) for being set to FA equipment.
In the embodiment 1, control device 5 is arranged two, is connected with each other via network N.Two control devices 5 connect Redundant is mutually carried out in identical instrument 2,3, but control device 5 also can be set more than or equal to 3 without mutual Carry out redundant.
A side in two control devices 5 obtains the information of instrument 2,3 and stores, and the movement to instrument 2,3 It is controlled.Another party in two control devices 5 obtains the information of instrument 2,3 in a side and stores and to instrument 2, during 3 movement is controlled, standby mode is maintained.In the embodiment 1, standby mode be save electric power it is so-called to Electromechanical source module, refer to S1, S2 as defined in ACPI (Advanced Configuration and Power Interface), Free position in S3, S4 or with the comparable state of any one of S1, S2, S3, S4 as defined in ACPI.
In the following, the information of the acquisition instrument 2,3 in two control devices 5 is stored and is carried out to instrument 2,3 The control device of control is known as drive system control device 5, and the control device of standby mode is known as standby system control device 5.Drive system control device 5 is the 1st control device and control device, standby system control device 5 be the 2nd control device with And other control systems.In the embodiment 1, dress is controlled when the power supply of drive system control device 5 disconnects, by drive system Set 5 revert to original state resetting when, drive system control device 5 failure when, make the processing of drive system control device 5 When interruption or the mistake stopped or when receiving the signal for indicating the switching request from computer 6, by standby system control Device 5 processed is switched to drive system control device 5.If standby system control device 5 is switched to drive system control device 5, then replace the control device acted so far as drive system control device 5, obtains the information of instrument 2,3 and carry out Storage, and instrument 2,3 is controlled.In addition, drive system control device 5 power supply disconnection after when restarting, into Gone reparation after resetting, when reparation after failure, after mistake when or receive and indicate the switching from computer 6 When the signal of request, it is switched to standby mode.
In addition, as drive system control device 5, being recorded as driving below for two control devices 5 System control device 5D is recorded as standby system control device 5W, in nothing as standby system control device 5 In the case that method distinguishes drive system control device 5 and standby system control device 5, it is abbreviated as control device 5.And And for each structure division of control device 5, to can determine for belong to drive system control device 5D structure division mark Number additional " D ", adds " W " to can determine to belong to the label of the structure division of standby system control device 5W.Also, it will be from The information that instrument 2,3 obtained, was stored in exterior storage medium 100 is recorded as collecting data.
In the embodiment 1, the structure of two control devices 5 is identical, thus identical label marked to same section and It is illustrated.As shown in Figure 1, control device 5 includes memory 10, temporarily data are collected in storage;And data collection unit 20, it is collected to data are collected.Control device 5 includes communication unit 30, can fill via network N with other controls Set 5 and computer 6 bidirectionally communicated;Exterior storage medium storage unit 40 is will to collect data and be stored in outside to deposit The storage unit of storage media 100;And exterior storage medium management department 50, exterior storage medium 100 is managed.
Memory 10 is the storage medium with storage region, which, which can store, freely to be read by computer 6 The information taken.Memory 10 includes user data memory 11, the case where control device is drive system control device 5D Under, it is stored to data are collected;And buffer storage 12, make the buffer storage 12 to depositing by data collection unit 20 The collection data for being stored in user data memory 11 are temporarily stored.11 storage table of user data memory is shown below meaning Information, that is, control device be standby system control device 5W when, in the collection received from drive system control device 5D It is to execute covering pattern or execute storage to stop in the case that the amount of data is greater than the idle capacity of exterior storage medium 100 Mode.
The idle capacity of exterior storage medium 100 is the capacity of the storage region of the idle state of not stored information.Covering Mode is the collection data cover that will receive to the mode of the storage region for being stored with information of exterior storage medium 100. Storage stop mode is off the mode of the storage of the collection data received.
11 storage table of user data memory is shown below the information of meaning, that is, control device be standby system control When device 5W, the idle capacity increased letter for indicating the exterior storage medium 100 of drive system control device 5D is being received It is to execute the mode that continues or execute data loop back mode in the case where breath.The mode of continuing is to continue with that carry out will be from drive system The collection data that control device 5D is received are stored to the mode of exterior storage medium 100W.Data loop back mode is will be from driving The collection data and be stored in the collection data summarization of exterior storage medium 100W and be sent to that system control device 5D is received Drive system control device 5D, and make drive system control device 5D execute later collection data storage mode.
The storage of user data memory 11 indicates it is to deposit outside executing when control device is drive system control device 5D Storage media memory module still executes the information of sending mode, the exterior storage medium memory module be will collect data store to The mode of exterior storage medium 100D, the sending mode are will to collect the mode that data are sent to standby system control device 5W.
The storage region of user data memory 11 includes the storage region stored to collection data;It is to expression It executes covering pattern and still executes the storage region that the information of storage stop mode is stored;It is to execute the mode that continues to expression Or execute the storage region that the information of data loop back mode is stored;It and is to execute exterior storage medium storage to expression Mode still executes the storage region that the information of sending mode is stored.Buffer storage 12 is drive system in control device In the case where control device 5D, temporarily storage is had been written into the collection data of user data memory 11.Buffer storage 12 exists In the case that control device is standby system control device 5W, the letter received from drive system control device 5D is temporarily stored Breath.
Data collection unit 20 includes data creation portion 21, creates the collection data stored to exterior storage medium 100; And drive system collects control unit 22, is that information is determined in the case where control device is drive system control device 5D Store the 1st storage target switching part of target.There is data collection unit 20 standby system to collect control unit 23, which receives Integrating control unit 23 is the 2nd storage that the storage target of information is determined in the case where control device is standby system control device 5W Target switching part.
Exterior storage medium 100, exterior storage medium storage unit can be freely assembled and disassembled at exterior storage medium storage unit 40 40 store the information that data creation portion 21 creates to mounted exterior storage medium 100.In the embodiment 1, outside is deposited Storage media 100 is by SD storage card (Secure Digital memory card) or SRAM (Static Random Access Memory) cassette tape is constituted, but is not limited to SD storage card or RAM cassette tape, can also be by disk, CD or photomagneto disk It constitutes.In addition, in the embodiment 1, in the outside that the exterior storage medium storage unit 40W of standby system control device 5W is installed Storage medium 100W is that the storage medium of the 2nd control device and the 2nd storage that can freely assemble and disassemble relative to the 2nd control device are situated between Matter.
Exterior storage medium management department 50 includes visiting portion 51, has to be able to carry out and collects data to being installed on outside The function of the reading of the storage and collection data of the exterior storage medium 100 of storage medium storage unit 40;And capacity management Portion 52 has the storage for having stored information to the exterior storage medium 100 installed in exterior storage medium storage unit 40 The function that the information of the capacity in region and the information of idle capacity are saved.
Fig. 3 is the figure for indicating the hardware configuration of control device of control system involved in embodiment 1.As shown in figure 3, Control device 5 includes CPU element 5A, and processing executes control program;And I/O (Input/Output) unit 5B, with Instrument 2,3 connects.In the embodiment 1, it there are two I/O unit 5B settings, is connect respectively with some of instrument 2,3.I/O is mono- First 5B at least includes circuit substrate 5B1;And MPU (Micro Processing Unit) (not shown), it is installed on circuit Substrate 5B1, and store, execute computer program.
CPU element 5A includes circuit substrate 5A1;MPU 5A2 is installed on circuit substrate 5A1 and executes control program; And memory 5A3, it is connect via internal bus B1 with MPU 5A2.CPU element 5A includes communication interface 5A4, with Computer 6 and other control systems 5 are communicated;Bus interface 5A5 is connect with I/O unit 5B;Storage unit 5A6 is right Control program is stored;And exterior storage medium storage device 5A7, data will be collected and be stored in exterior storage medium 100.MPU 5A2, memory 5A3, communication interface 5A4, bus interface 5A5, storage unit 5A6 and exterior storage medium storage dress 5A7 is set to connect via internal bus B1.
Bus interface 5A5 is the bus bridge circuit for connecting internal bus B1 and expansion bus B2.Bus interface 5A5 It is connect via expansion bus B2 with I/O unit 5B.Storage unit 5A6 stores the control program received from computer 6. In the embodiment 1, storage unit 5A6 is that SSD perhaps HDD but is not limited to SSD or HDD.
Exterior storage medium 100 can be freely assembled and disassembled at exterior storage medium storage device 5A7.Exterior storage medium storage Device 5A7 can store information to exterior storage medium 100, and can will be stored in the information of exterior storage medium 100 It reads.
Control unit 22 is collected in the data creation portion 21 of data collection unit 20, drive system, standby system collects control unit 23, The visiting portion 51 of exterior storage medium management department 50 and the function in capacity management portion 52 will be stored in by MPU 5A2 The control program read (CP read) of storage portion 5A6 goes out and executes the control program to realize.Control program is by software, firmware or soft The combination of part and firmware and realize.The function of the communication unit 30 of control device 5 is realized by communication interface 5A4.Outside The function of portion's storage medium storage unit 40 is deposited by the exterior storage medium that can store information to exterior storage medium 100 Storage device 5A7 and realize.The user data memory 11 of memory 10 and the function of buffer storage 12 are to pass through storage Device 5A3 and realize.In the embodiment 1, memory 5A3 is by the half of non-volatile semiconductor memory or volatibility Conductor memory is constituted.As non-volatile semiconductor memory or the semiconductor memory of volatibility, can be used RAM, ROM, flash memory, EPROM (Erasable Programmable Read Only Memory) or EEPROM (Electrically Erasable Programmable Read Only Memory).In addition, memory 10 can also be by magnetic At least one of disk, CD and photomagneto disk are constituted.
In the following, being illustrated based on an example of the attached drawing to the movement of control system involved in embodiment 1.Fig. 4 It is the flow chart for indicating an example of the movement of drive system control device for control system involved in embodiment 1.Fig. 5 It is the stream for indicating an example of a part of the movement of standby system control device for control system involved in embodiment 1 Cheng Tu.
A side in two control devices 5 of control system 1 executes movement as drive system control device 5D, another Fang Chengwei standby system control device 5W.The drive system of the data collection unit 20D of drive system control device 5D collects control The information got from instrument 2,3 is collected data and stored to the user data memory 11D of memory 10D by portion 22D.Separately Outside, computer 6 is and the computer program or user for being stored in ROM 63 operate input unit 65 for driving System control device 5D, which is generated, stores collection data to the order of exterior storage medium 100D.Drive system control device 5D's The data creation portion 21D of data collection unit 20D is via network N and communication unit 30D and number will be collected from computer 6 by receiving According to storing to the order (step ST1) of exterior storage medium 100D.
The data creation portion 21D of the data collection unit 20D of drive system control device 5D obtains the user in memory 10D The collection data of data storage 11D storage, are stored to buffer storage 12D (step ST2).If by drive system control The data creation portion 21D of the data collection unit 20D of device 5D processed gets collection data, then by user data memory 11D's The storage region stored to collection data empties and is formed as the idle state of not stored information.
The drive system of the data collection unit 20D of drive system control device 5D collects control unit 22D referring in memory The user data memory 11D of 10D storage region storage information and determine whether to execute exterior storage medium memory module, The exterior storage medium memory module is will to collect the storage goal-setting of data as in the outside of drive system control device 5D The mode (step ST3) of the exterior storage medium 100D of storage medium storage unit 40D installation.The number of drive system control device 5D If it is determined that according to collection portion 20D drive system collect control unit 22D execute exterior storage medium memory module (step ST3: Yes), then from the idle capacity of the capacity management portion 52D of exterior storage medium management department 50D acquisition exterior storage medium 100D Information (step ST4).
The drive system of the data collection unit 20D of drive system control device 5D collects control unit 22D and determines to collect data Amount whether be less than the idle capacity (step ST5) of exterior storage medium 100D.The data collection of drive system control device 5D If it is determined that the drive system of portion 20D collects free time of the amount less than exterior storage medium 100D that control unit 22D collects data Capacity (step ST5:Yes) then stores the collection data for being stored in buffer storage 12D to outside via visiting portion 51D The free area (step ST6) of storage medium 100D.If collecting control unit 22D by drive system gets collection data, The storage region of buffer storage 12D is emptied and is formed as the idle state of not stored information.
If it is determined that the drive system of the data collection unit 20D of drive system control device 5D is collected control unit 22D and is received Idle capacity of the amount not less than exterior storage medium 100D for collecting data, the amount for collecting data are situated between more than or equal to external storage The idle capacity (step ST5:No) of matter 100D, then executing the storage goal-setting for collecting data is standby system control device The sending mode (step ST7) of 5W.The drive system of the data collection unit 20D of drive system control device 5D collects control unit 22D will indicate that the information for executing sending mode is stored to the storage region of user data memory 11D.
The drive system of the data collection unit 20D of drive system control device 5D collects control unit 22D and is being judged to not holding It is standby system after row exterior storage medium memory module (step ST3:No) or by the storage goal-setting for collecting data After control device 5W (step ST7), via communication unit 30D by the collection data for being stored in buffer storage 12 be sent to Machine system control device 5W (step ST8).In this way, if it is determined that drive system collects control unit 22D to exterior storage medium 100D stored before collection data amount more than or equal to exterior storage medium 100D idle capacity (step ST5: It No), then by the storage goal-setting for collecting data is standby system control device 5W (step ST7), thus collecting data Before amount is more than the idle capacity of exterior storage medium 100D, the storage target for collecting data is cut from exterior storage medium 100D It is changed to the exterior storage medium 100W of standby system control device 5W.In the embodiment 1, the driving as the 1st control device There is system control device 5D the drive system as the 1st storage target switching part to collect control unit 22D.
Alternatively, it is also possible to be, has in control system 1 and be greater than or equal to two and connect with drive system control device 5D In the case where 2nd control device 5, before the amount for collecting data is more than the idle capacity of exterior storage medium 100D, driving system System collects control unit 22D and the storage target for collecting data is switched to any of the 2nd control device 5 from exterior storage medium 100D The exterior storage medium 100W of person.
The communication unit 30W of standby system control device 5W is received from drive system control device 5D and is collected data (step ST10).The standby system of the data collection unit 20W of standby system control device 5W collects control unit 23W and obtains standby system control The information of the idle capacity of the buffer storage 12W of the memory 10W of device 5W processed.The data of standby system control device 5W are received The standby system of collection portion 20W collects the buffer storage that control unit 23W determines the memory 10W of standby system control device 5W Whether the idle capacity of 12W is less than the amount (step ST11) of the collection data received.
If the standby system of the data collection unit 20W of standby system control device 5W collect control unit 23W be determined as to The idle capacity of the buffer storage 12W of the memory 10W of machine system control device 5W is not less than the collection data received It measures (step ST11:No), then the data creation portion 21W of the data collection unit 20W of standby system control device 5W will be received Data are collected to store to buffer storage 12W (step ST12).In addition, the memory 10W's of standby system control device 5W is slow The idle capacity for rushing memory 12W is not less than the amount of the collection data received, refers to the storage of standby system control device 5W The idle capacity of the buffer storage 12W of device 10W is greater than or equal to the amount of the collection data received.
If it is determined that the standby system of the data collection unit 20W of standby system control device 5W collect control unit 23W to The idle capacity of the buffer storage 12W of the memory 10W of machine system control device 5W is less than the amount of the collection data received (step ST11:Yes) then will be stored in buffer storage 12W via the visiting portion 51W of exterior storage medium management department 50W Information temporarily store to exterior storage medium 100W.Make its shape temporarily emptying the storage region of buffer storage 12W After idle state as not stored information, the standby system of the data collection unit 20W of standby system control device 5W is collected Control unit 23W stores the collection data received to buffer storage 12W (step ST13).In addition, standby system control dress The standby system for setting the data collection unit 20W of 5W collects control unit 23W and is stored in buffer-stored in the collection data that will be received After device 12W, the collection data for being temporarily stored in exterior storage medium 100W are emptied.
The standby system of the data collection unit 20W of standby system control device 5W is collected control unit 23W and will received It collects data to be stored in after buffer storage 12W (step ST12 and step ST13), from exterior storage medium management department 50W Capacity management portion 52W obtain exterior storage medium 100W idle capacity information (step ST14).
The standby system of the data collection unit 20W of standby system control device 5W collects control unit 23W and determines external storage Whether the idle capacity of medium 100W is greater than or equal to the amount (step ST15) for being stored in the collection data of buffer storage 12W. It is situated between if it is determined that the standby system of the data collection unit 20W of standby system control device 5W collects control unit 23W external storage The idle capacity of matter 100W is greater than or equal to the amount (step ST15:Yes) for being stored in the collection data of buffer storage 12W, then The collection data for being stored in buffer storage 12W are stored to the free area of exterior storage medium 100W via visiting portion 51W Domain (step ST16).
If it is determined that it is outer that the standby system of the data collection unit 20W of standby system control device 5W collects control unit 23W The idle capacity of portion storage medium 100W be not larger than or equal to the collection data for being stored in buffer storage 12W amount (step ST15:No), then determine whether to be stored with expression covering mould referring to the storage region of the user data memory 11 of memory 10 The information (step ST17) of formula.The idle capacity of exterior storage medium 100W is not larger than or equal to being stored in buffer storage The amount of the collection data of 12W refers to that the amount for collecting data is more than the idle capacity of exterior storage medium 100W.Standby system control If it is determined that the standby system of the data collection unit 20W of device 5W collects control unit 23W and is stored with the letter for indicating covering pattern It ceases (step ST17:Yes), then deposits collection data cover to the outside for being stored in buffer storage 12W via visiting portion 51W The storage region (step ST18) for being stored with information of storage media 100W.The data collection unit of standby system control device 5W If it is determined that the standby system of 20W collects control unit 23W and does not store the information (step ST17:No) for indicating covering pattern, Then stop the storage (step ST19) for being collected data.
In addition, drive system control device 5D by collect data storage goal-setting be standby system control device 5W During, it will be deposited sometimes in the outside that the exterior storage medium storage unit 40D of drive system control device 5D is installed by user Storage media 100D is removed.Then, the collection data for being stored in the exterior storage medium 100D removed are being copied to it by user After his storage medium, the storage region of exterior storage medium 100D is emptied and increases idle capacity.Alternatively, user prepares newly Exterior storage medium 100D.User again deposits the outside for being installed on drive system control device 5D exterior storage medium 100D Storage media storage unit 40D.Then, the capacity management portion 52D of drive system control device 5D detects exterior storage medium 100D Idle capacity increased, the drive system of the data collection unit 20D of drive system control device 5D collect control unit 22D via Communication unit 30D and by indicate exterior storage medium 100D idle capacity increased information is sent to standby system control device 5W。
After it will collect data and be stored in exterior storage medium 100W (step ST16), data cover will be collected to outside After storage medium 100W (step ST18) or stop being collected after the storage (step ST19) of data, standby system The standby system of the data collection unit 20W of control device 5W collects control unit 23W and determines whether communication unit 30W receives outside expression The idle capacity of portion storage medium 100D increased information (step ST20).The data collection unit of standby system control device 5W If it is determined that the standby system of 20W collects control unit 23W communication unit 30W and does not receive the sky for indicating exterior storage medium 100D Not busy capacity increased information (step ST20:No), then be back to step ST10, continue from drive system control device 5D Data will be collected to store to exterior storage medium 100W.
If it is determined that it is logical that the standby system of the data collection unit 20W of standby system control device 5W collects control unit 23W Letter portion 30W receives the idle capacity increased information (step ST20:Yes) for indicating exterior storage medium 100D, then reference The storage region of user data memory 11W.The standby system of the data collection unit 20W of standby system control device 5W collects control Portion 23W processed determines whether to execute the data loop back mode (step ST21) changed to storage target.Standby system control dress Storage target is changed if it is determined that the standby system collection control unit 23W for setting the data collection unit 20W of 5W is not executed Data loop back mode (step ST21:No), then be back to step ST10, continue to connect from drive system control device 5D The collection data received are stored to exterior storage medium 100W.
If it is determined that the standby system of the data collection unit 20W of standby system control device 5W is collected control unit 23W and is held The data loop back mode (step ST21:Yes) that row changes the storage target of the collection data received, then will be stored in The collection data of exterior storage medium 100W are sent to drive system control device 5D (step ST22) via communication unit 30W.
Receive the data of the drive system control device 5D from the standby system control device 5W collection data sent out The data creation portion 21D of collection portion 20D, the collection data for being stored in user data memory 11D are stored to buffer storage 12D, and the collection data received are stored to buffer storage 12D.The data collection unit of drive system control device 5D The drive system of 20D is collected control unit 22D and is integrated to the collection data for being stored in buffer storage 12D.Drive system control Collection data after integration are stored in outside and deposited by the drive system collection control unit 22D of the data collection unit 20D of device 5D processed The information for executing exterior storage medium memory module is stored in the storage region of user data memory 11D by storage media 100D.
Hereafter, the drive system of the data collection unit 20D of drive system control device 5D collects control unit 22D according to Fig. 4 Shown in flow chart and by collect data be stored in exterior storage medium 100D.Pass through in this way, standby system collects control unit 23W It is determined as that the idle capacity of exterior storage medium 100D has increased (step ST20:Yes), is judged to collect the storage mesh of data Mark is changed to exterior storage medium 100D (step ST21:Yes), increases as a result, in the idle capacity of exterior storage medium 100D Later, the storage target for collecting data is switched to external storage from the exterior storage medium 100W of standby system control device 5W Medium 100D.In the embodiment 1, have as the standby system control device 5W of the 2nd control device as the 2nd storage target The standby system of switching part collects control unit 23W.
It is also possible to have in control system 1 and is greater than or equal to two the 2nd controls connecting with drive system control device 5D In the case where device 5 processed, after the idle capacity increase of exterior storage medium 100D, standby system collects control unit 23W will The storage target for collecting data is switched to exterior storage medium from the exterior storage medium 100W of any one of the 2nd control device 5 100D。
According to control system 1 involved in embodiment 1 and control device 5, there is drive system to collect control unit 22D, the amount of the collection data before being stored to exterior storage medium 100D are more than the free time of exterior storage medium 100D Before capacity, which collects control unit 22D and is switched to the storage target for collecting data from exterior storage medium 100D The exterior storage medium 100W of standby system control device 5W.Therefore, control system 1 and control device 5 can will collect number According to any one for being stored in exterior storage medium 100D, 100W, it can obtain and continuously collect data in timing.As a result, Control system 1 and control device 5 are able to suppress operating efficiency deterioration without obtaining collection data again.
In addition, control system 1 and control device 5 according to involved in embodiment 1, will collect data and are stored in outside Any one of storage medium 100D, 100W, there is no need to make control device 5 built-in memory 10 capacity increase.It is tied Fruit is able to suppress the system of control device 5 without adding memory in control device 5 according to control system 1 and control device 5 Make increased costs.
According to control system 1 involved in embodiment 1 and control device 5, there is standby system to collect control unit 23W, after the idle capacity increase of exterior storage medium 100D, which, which collects control unit 23W, will collect data It stores target and is switched to exterior storage medium 100D from exterior storage medium 100W.If it is right that standby system collects control unit 23W The storage target for collecting data is switched, then the collection data for being stored in exterior storage medium 100W is sent to driving system Unite control device 5D.As a result, control system 1 and control device 5 can be integrated to data are collected, can obtain when Data are continuously collected in sequence.
In addition, control system 1 and control device 5 according to involved in embodiment 1, if drive system control device The idle capacity of the exterior storage medium 100D of 5D reduces, then by connect with drive system control device 5D and by redundant to The storage medium of machine system control device 5W, that is, exterior storage medium 100W is stored to data are collected.Therefore, embodiment 1 Related control system 1 and control device 5 can according to when ordered pair collect data and be collected, be able to suppress and be collected into Collect loss of data.
Embodiment 2.
In the following, being said based on attached drawing to control system 1 involved in embodiments of the present invention 2 and control device 5 It is bright.Fig. 6 is the figure for indicating the structure of control system involved in embodiment 2.Fig. 7 is to indicate control involved in embodiment 2 The flow chart of one example of a part of the movement of the standby system control device of system processed.In Fig. 6 and Fig. 7, to The identical part of embodiment 1 marks identical label and omits the description.
In embodiment 2, as shown in fig. 6, each control device 5 of control system 1, i.e. drive system control device 5D with And the structure of standby system control device 5W is identical as embodiment 1.Control unit 22D, which is collected, in drive system executes sending mode During, if capacity management portion 52D detects that the idle capacity of exterior storage medium 100D has increased, standby system is received Collection control unit 23D is sent to standby system control device 5W switches the storage target for collecting data from exterior storage medium 100W For exterior storage medium 100D order with the increased information of the idle capacity instead of exterior storage medium 100D.Separately Outside, standby system collects the storage that the information for executing exterior storage medium memory module is stored in memory 10D by control unit 23D Region.The storage target for collecting data is switched to from exterior storage medium 100W in addition to being sent to standby system control device 5W Other than the order of exterior storage medium 100D is with the idle capacity instead of exterior storage medium 100D increased information, drive Dynamic system control device 5D and embodiment 1 are carried out similarly movement.
As shown in fig. 7, after it will collect data and be stored in exterior storage medium 100W (step ST16), data will be collected Cover to after exterior storage medium 100W (step ST18) or stop being collected data storage (step ST19) it Afterwards, the standby system of the data collection unit 20W of standby system control device 5W collects whether control unit 23W determines communication unit 30W The storage targets of data will be collected from exterior storage medium 100W and is switched to the order (step of exterior storage medium 100D by receiving ST21-2).If it is determined that it is logical that the standby system of the data collection unit 20W of standby system control device 5W collects control unit 23W Letter portion 30W, which is not received, is switched to exterior storage medium 100D from exterior storage medium 100W for the storage target for collecting data Order (step ST21-2:No), then be back to step ST10, continue to receive from drive system control device 5D It collects data and is stored in exterior storage medium 100W.
If it is determined that it is logical that the standby system of the data collection unit 20W of standby system control device 5W collects control unit 23W Letter portion 30W, which is received, will collect the storage targets of data from exterior storage medium 100W and is switched to the life of exterior storage medium 100D It enables (step ST21-2:Yes), is then sent to the collection data for being stored in exterior storage medium 100W via communication unit 30W Drive system control device 5D (step ST22).The storage target of data will be collected in addition to determining whether communication unit 30W receives Other than the order that exterior storage medium 100W is switched to exterior storage medium 100D, standby system control device 5W and embodiment party Formula 1 is carried out similarly movement.
In embodiment 2, the standby system of the data collection unit 20D of drive system control device 5D collects control unit If 23D is detected the idle capacity of exterior storage medium 100D during executing sending mode by capacity management portion 52D It has been increased that, then sent to standby system control device 5W and be switched to the storage target for collecting data from exterior storage medium 100W The order of exterior storage medium 100D, so that depositing for data will be collected after the idle capacity increase of exterior storage medium 100D It stores up target and is switched to exterior storage medium 100D from the exterior storage medium 100W of standby system control device 5W.In embodiment In 2, there is the drive system control device 5D as the 1st control device the standby system as the 2nd storage target switching part to receive Collect control unit 23D.
According to control system 1 involved in embodiment 2 and control device 5, identically as embodiment 1, have and drive Dynamic system collects control unit 22D, and the amount of the collection data before being stored to exterior storage medium 100D is deposited more than outside Before the idle capacity of storage media 100D, which collects control unit 22D and deposits the storage target for collecting data from outside Storage media 100D is switched to the exterior storage medium 100W of standby system control device 5W.Therefore, control system 1 and control dress It sets 5 and can obtain and continuously collect data in timing, be able to suppress operating efficiency deterioration.
In addition, control system 1 and control device 5 according to involved in embodiment 2, will collect data and are stored in outside Any one of storage medium 100D, 100W are able to suppress the system of control device 5 there is no need to add memory in control device 5 Make increased costs.
According to control system 1 involved in embodiment 2 and control device 5, drive system control device 5D have to Machine system collects control unit 23D, and after the idle capacity increase of exterior storage medium 100D, which collects control unit The storage target for collecting data is switched to exterior storage medium 100D from exterior storage medium 100W by 23D.As a result, control system System 1 and control device 5 can be integrated to data are collected, and can be obtained and continuously be collected data in timing.
Embodiment 3.
In the following, being said based on attached drawing to control system 1 involved in embodiments of the present invention 3 and control device 5 It is bright.Fig. 8 is the figure for indicating the structure of control system involved in embodiment 3.Fig. 9 is to indicate control involved in embodiment 3 The figure of the hardware configuration of the control device of system processed.In Fig. 8 and Fig. 9, part same as embodiment 1 is marked identical Label and omit the description.
In embodiment 3, as shown in FIG. 8 and 9, the standby system control device 5W of control system 1 has inside Storage medium management department 50-3 is to replace exterior storage medium management department 50W.In embodiment 3, the standby system of control system 1 System control device 5W is in addition to having the internal storage medium storage unit 40-3 as storage unit to deposit instead of exterior storage medium Storage portion 40W, also, have other than internal storage medium 200, remaining structure is identical as embodiment 1.
Internal storage medium storage unit 40-3 stores the 21W information created in data creation portion to being built in standby system control The internal storage medium 200 of device 5W processed.The function of internal storage medium storage unit 40-3 be by information can be stored to The internal storage medium storage device 5A7-3 shown in Fig. 9 of internal storage medium 200 and realize.
Internal storage medium 200 be built in standby system control device 5W and can to can by computer read information The storage medium stored, read.In embodiment 3, internal storage medium 200 is made of SSD or HDD, but not It is defined in SSD or HDD, can also be made of the semiconductor memory of non-volatile semiconductor memory or volatibility. As non-volatile semiconductor memory or the semiconductor memory of volatibility, can be used RAM, ROM, flash memory, EPROM or EEPROM.In addition, internal storage medium 200 can also be by least one of disk, CD and photomagneto disk It constitutes.
Internal storage medium management department 50-3 includes visiting portion 51-3, internally stores Jie with information is able to carry out The function of storage and the reading of matter 200;And capacity management portion 52-3, there is the storage to internal storage medium 200 The function that the information of the capacity of the storage region of information and the information of idle capacity are saved.Internal storage medium pipe The function of the visiting portion 51-3 and capacity management portion 52-3 of reason portion 50-3 are will be in storage unit by MPU 5A2 shown in Fig. 9 The control program read (CP read) of 5A6 storage goes out and executes to realize.Controlling program is by software, firmware or software and firmware Combination and realize.
In embodiment 3, deposited in addition to the collection data received from drive system control device 5D are stored in inside Other than storage media 200, standby system control device 5W and embodiment 1 are carried out similarly movement.It is internal in embodiment 3 Storage medium 200 is the storage medium of the 2nd control device.
According to control system 1 involved in embodiment 3 and control device 5, identically as embodiment 1, have and drive Dynamic system collects control unit 22D, and the amount of the collection data before being stored to exterior storage medium 100D is deposited more than outside Before the idle capacity of storage media 100D, which collects control unit 22D and deposits the storage target for collecting data from outside Storage media 100D is switched to the internal storage medium 200 of standby system control device 5W.Therefore, control system 1 and control dress It sets 5 and can obtain and continuously collect data in timing, be able to suppress operating efficiency deterioration.
Structure shown in embodiment of above shows an example of the contents of the present invention, also can be with skill known in other Art is combined, additionally it is possible to is omitted to a part of structure in the range for not departing from purport of the invention, be changed.
The explanation of label
1 control system, 2,3 instruments, 5D drive system control device (the 1st control device, control device), 5W standby system Control device (the 2nd control device, other control systems), 22D drive system collect control unit (the 1st storage target switching part), 23D, 23W standby system are collected control unit (the 2nd storage target switching part), 40 exterior storage medium storage units (storage unit), 40-3 internal storage medium storage unit (storage unit), 100D exterior storage medium, 100W exterior storage medium (storage medium, 2nd exterior storage medium), 200 internal storage mediums (storage medium).

Claims (10)

1. a kind of control system includes drive system control device, has and store the information got from instrument to can The storage unit for the exterior storage medium freely assembled and disassembled;And it is greater than or equal to 1 the 2nd control device, it is with the driving Control device of uniting connects,
The control system is characterized in that, comprising:
1st storage target switching part, the amount of the information before being stored to the exterior storage medium are more than the outside Before the idle capacity of storage medium, the 1st storage target switching part deposits the storage target of the information from the outside Storage media is switched to the storage medium of the 2nd control device;And
2nd storage target switching part, after the idle capacity increase of the exterior storage medium, the 2nd storage target is cut It changes portion and the storage target of the information is switched to external storage Jie from the storage medium of the 2nd control device Matter,
The 1st storage target switching part makes after the idle capacity increase of the exterior storage medium from the 2nd control The information that device received be stored in the storage medium is stored to the exterior storage medium,
2nd control device is tieed up during the drive system control device obtains the information of the instrument and stored Hold the standby system control device of standby mode.
2. control system according to claim 1, which is characterized in that
The control system is the control system controlled the equipment in factory automation field,
The drive system control device and the standby system control device are programmable controllers.
3. control system according to claim 1, which is characterized in that
The storage medium of 2nd control device is deposited outside can freely assemble and disassemble relative to the 2nd control device the 2nd Storage media.
4. control system according to claim 2, which is characterized in that
The storage medium of 2nd control device is deposited outside can freely assemble and disassemble relative to the 2nd control device the 2nd Storage media.
5. control system according to claim 1, which is characterized in that
The storage medium of 2nd control device is the internal storage medium for being built in the 2nd control device.
6. control system according to claim 2, which is characterized in that
The storage medium of 2nd control device is the internal storage medium for being built in the 2nd control device.
7. control system according to any one of claim 1 to 6, which is characterized in that
The drive system control device has the 2nd storage target switching part.
8. control system according to any one of claim 1 to 6, which is characterized in that
2nd control device has the 2nd storage target switching part.
9. a kind of control device, connect with other control systems, the information got from instrument, which is stored in, freely to be assembled and disassembled Exterior storage medium,
The control device is characterized in that, comprising:
The information got from the instrument is stored in the exterior storage medium by storage unit;
1st storage target switching part, the amount of the information before being stored to the exterior storage medium are more than the outside Before the idle capacity of storage medium, the 1st storage target switching part is by the storage target of the information from the external storage Medium is switched to the storage medium of the other control systems;And
2nd storage target switching part, after the idle capacity increase of the exterior storage medium, the 2nd storage target switching The storage target of the information is switched to the exterior storage medium from the storage medium of the other control systems by portion,
The 1st storage target switching part, will be from other described controls after the idle capacity increase of the exterior storage medium The information that device processed received be stored in the storage medium is stored to the exterior storage medium.
10. control device according to claim 9, which is characterized in that
The control device is the drive system control device for constituting control system, and the control system is to factory automation field Equipment is controlled,
The other control systems are during the drive system control device obtains the information of the instrument and stored The standby system control device of standby mode is maintained,
The drive system control device and the standby system control device are programmable controllers.
CN201580064191.0A 2015-12-08 2015-12-08 control system and control device Active CN107046809B (en)

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

Publication Number Publication Date
CN107046809A CN107046809A (en) 2017-08-15
CN107046809B true CN107046809B (en) 2019-01-01

Family

ID=58666696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580064191.0A Active CN107046809B (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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1046235A (en) * 1989-04-04 1990-10-17 横河电机株式会社 Duplex computer system
US5966301A (en) * 1997-06-13 1999-10-12 Allen-Bradley Company, Llc Redundant processor controller providing upgrade recovery
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
JP4288638B2 (en) * 2000-03-15 2009-07-01 日立金属株式会社 Lumped constant type nonreciprocal circuit device

Family Cites Families (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
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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1046235A (en) * 1989-04-04 1990-10-17 横河电机株式会社 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
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
WO2017098585A1 (en) 2017-06-15
JP6113381B1 (en) 2017-04-12
JPWO2017098585A1 (en) 2017-12-07
CN107046809A (en) 2017-08-15

Similar Documents

Publication Publication Date Title
JP5898245B2 (en) Method for controlling partitioning of a memory module using a memory interface
TWI581181B (en) Method, memory module, and host device for managing operational state data
CN106227683B (en) Electronic equipment and information processing method
KR20060101170A (en) Remote copy method and storage system
JP2009193546A (en) Disk array device, firmware replacement method, and firmware replacement program
JP2001337939A5 (en)
CN106021149B (en) Multiple connection management for bluetooth low energy devices
JP5469066B2 (en) Method and system for exchanging data
JP2020187651A (en) Device, communication module, application module and method
CN103365717A (en) Memory access method, device and system
CN107046809B (en) control system and control device
JP2004265110A (en) Metadata arrangement method, program and disk unit
CN110442364A (en) Processing method, processing system, display device and its electronic equipment of register
CN105446654B (en) Server control method and rack controller
JP2004221852A (en) Opc communication station and opc communication system
KR101773162B1 (en) Data processing apparatus and method
JP6253865B2 (en) Transfer control device, vehicle, and transfer control method
JP2013114650A (en) Address space conversion device, address space conversion method of the same, and computer program
JP2010182160A (en) Memory access device, nonvolatile storage device, nonvolatile storage system, memory access method, program and integrated circuit
CN205281482U (en) Processor system
JP2010003150A (en) Memory controller and method for managing data in flash memory
CN104484308B (en) Control method applied to operator scheme finite state machine
JP2005115472A (en) Operation control system
CN101833523B (en) Data access method
JP5450328B2 (en) Monitoring control system and monitoring control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant