WO2012085963A1 - 情報処理装置 - Google Patents

情報処理装置 Download PDF

Info

Publication number
WO2012085963A1
WO2012085963A1 PCT/JP2010/007394 JP2010007394W WO2012085963A1 WO 2012085963 A1 WO2012085963 A1 WO 2012085963A1 JP 2010007394 W JP2010007394 W JP 2010007394W WO 2012085963 A1 WO2012085963 A1 WO 2012085963A1
Authority
WO
WIPO (PCT)
Prior art keywords
user program
setting
unit
attached data
cpu unit
Prior art date
Application number
PCT/JP2010/007394
Other languages
English (en)
French (fr)
Inventor
崇 小寺
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to CN201080070868.9A priority Critical patent/CN103270495B/zh
Priority to PCT/JP2010/007394 priority patent/WO2012085963A1/ja
Priority to KR1020137018774A priority patent/KR101498840B1/ko
Priority to US13/991,556 priority patent/US9632821B2/en
Priority to JP2012549475A priority patent/JP5569594B2/ja
Priority to TW100101725A priority patent/TWI453606B/zh
Publication of WO2012085963A1 publication Critical patent/WO2012085963A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup

Definitions

  • the present invention relates to a user program change in an information processing apparatus including a CPU unit and an external storage device for storing a user program connected to the CPU unit.
  • the update process is a process of adding or correcting a program to a user program for changing equipment, correcting a defect, or adjusting an operation.
  • the version of the program in the information processing apparatus is compared with the version of the program in the peripheral apparatus, and the program in the information processing apparatus is updated only when the version of the program in the peripheral apparatus is new.
  • a system has been proposed in which a program on the information processing device side is automatically updated by connecting a peripheral device to the information processing device.
  • the backup process is prepared so that it can be recovered, or the user who has backed up to the peripheral device by the backup process If it is necessary to copy the program to the information processing device and perform restoration processing to restore the information processing system, connect the personal computer to the information processing device, and backup and restore the user program from the programming tool on the personal computer. Or a method of connecting a peripheral device such as a USB flash memory or an SD card to an information processing device and performing backup processing and restoration processing by turning on or off the power of the information processing device ( For example, see Patent Document 1).
  • a peripheral device such as a USB flash memory or an SD card
  • a personal computer is not always connected. If a personal computer is not installed nearby, a personal computer must be installed to perform user program updates, backups, and restores. It is necessary to prepare. However, the vicinity of the equipment is often in a special environment such as a dustproof room, and a lot of work is required for procurement and preparation of personal computers.
  • the worker needs operation knowledge of the programming tool, and requires the worker's education and training.
  • the backup / restore processing is started by turning on the power or turning on / off the switch.
  • the user program is erroneously updated (incorrect backup due to the operator's power ON or switch operation error). , Restoration is performed).
  • the user program addition / correction process can be executed in the same procedure as the restore process, but there is also a problem that the user program is erroneously updated due to an erroneous operation by the operator.
  • the present invention has been made to solve the above-described problems, and is selected from a plurality of setting parameters and set in a CPU unit, and selected from a plurality of setting parameters and stored in an external storage device.
  • the set parameters are compared, if they match, the user program stored in the CPU unit and the user program stored in the external storage device are compared to determine whether the stored time is new or old. Since processing is performed according to the setting parameters of the CPU unit and the setting parameters of the external storage device, the operator does not need to check whether the user program in the CPU unit or the user program in the external storage device is new or old, and connects the external storage device to the CPU unit. Process to prevent the operator from rewriting data accidentally. And to obtain an information processing apparatus capable of.
  • the information processing apparatus is an information processing apparatus having a CPU unit and an external storage device connected to the CPU unit, wherein the second user program and the attached data of the second user program are stored in the CPU unit.
  • An external storage device in which setting parameters for setting a plurality of processes to be performed are stored and the second setting parameter is selected and set from the plurality of setting parameters, and the first user program and attached data of the first user program Is stored, a setting parameter for setting a plurality of processes performed in the CPU unit is stored, a storage unit in the CPU unit in which the first setting parameter is selected and set from the plurality of setting parameters, and the first The user program, the attached data of the first user program, and the first setting parameter An I / O control unit in the CPU unit for reading out the meter from the storage unit and reading out the second user program, the attached data of the second user program and the second setting parameter from the external storage device; The first user determines the old and new times when the first user program and the second user program in which the unique information contained in the attached data and the unique
  • a time information determination unit for determining by comparing the time information included in the data attached to the program and the time information included in the data attached to the second user program, and the plurality of setting parameters stored in the external storage device and the storage unit are Includes at least setting parameters for setting update processing, backup processing, and restoration processing, and includes first setting parameters And a comparison / arithmetic unit in the CPU unit for processing according to the matched first setting parameter and second setting parameter if they match. It is a thing.
  • the setting parameter selected from the plurality of setting parameters is set in the external storage device and the CPU unit, and the setting parameters set in the external storage device and the CPU unit are compared and matched.
  • the user program stored in the CPU unit and the user program stored in the external storage device are compared to determine whether the time when the user program is stored is compared. Therefore, the operator does not need to check whether the user program in the CPU unit or the user program in the external storage device is new or old, and can perform the process simply by connecting the external storage device to the CPU unit. Data can be prevented from being rewritten.
  • the information processing apparatus in the first embodiment will be described.
  • the information processing apparatus includes a CPU unit and an external storage device.
  • the present invention is not limited to the CPU unit and the external storage device, but may be composed of various units such as a power supply unit and a base unit.
  • FIG. 1 is a block diagram showing a functional configuration of the information processing apparatus, and shows a state in which an external storage device is connected to the CPU unit.
  • the information processing apparatus 115 (for example, a programmable controller) includes a CPU unit 101 and an external storage device 111.
  • the CPU unit 101 includes a switch 104 including a switch for selecting the first setting parameter 116 from three setting parameters indicating update processing, backup processing, or restoration processing, and a power ON / OFF switch.
  • the CPU unit 101 includes an I / O control unit 105 that reads data, a display unit 106 that displays a processing completion result using a display unit after all processing is completed, a first user program 102, and a first accessory.
  • the processing unit 110 includes a time information determination unit 109 that determines whether the time information included in the two attached data is new and old, and a comparison / calculation unit 108 that compares the two setting parameters and performs update processing, backup processing, or restoration processing. Composed.
  • the program storage unit 107 stores a first user program 102, first attached data 103, and three setting parameters.
  • the external storage device 111 connected to the CPU unit 101 which is a part of the information processing apparatus stores a second user program 112, second attached data 113, and three setting parameters.
  • the external storage device 111 is provided with a switch 114 for selecting the second setting parameter 117 from the three setting parameters.
  • the setting parameter 117 selected and set from the three setting parameters stored in the external storage device 111 is a parameter that determines whether the update process, the backup process, or the restore process performed by the CPU unit 101 is performed. One of these three setting parameters is selected and set by switching 114. Note that a plurality of setting parameters of three or more may be provided, and setting parameters that are updated with time may be considered.
  • the switch 104 and the switch 114 may be switches provided on the external surface, or the operator uses three setting parameters stored in the program storage unit 107 and the external storage device 111 in advance using a programming tool of an input device such as a personal computer. It may be a switch that can select and set one. Further, the number of setting parameters set in the external storage device storage 111 or the CPU unit 101 may be one.
  • the external storage device 111 in FIG. 1 indicates a recording medium that is easy to carry such as a USB flash memory, an SD card, a personal computer, and an electronic device connected to the CPU unit 101.
  • the switch 104 is for causing the I / O control unit 105 to detect the connection between the CPU unit 101 and the external storage device 111.
  • the switch 104 is connected to the I / O control unit 105 in a state where the external storage device 111 is connected to the I / O control unit 105.
  • the I / O control unit 105 detects the connection by turning on the power.
  • the switch 104 stores three parameters of update processing, backup processing and restoration processing performed by the CPU unit 101 in the program storage unit 107, one of which is There is also provided a changeover switch capable of changing the setting parameter 114 selected and set.
  • Changing the setting parameter that determines whether the update process, backup process, or restore process performed by the CPU unit 101 is performed using three programming parameter stored in the CPU unit 101 using a programming tool of an input device such as a personal computer. This can be done by switching the switch 104 that can be selected and set from one of them, or by switching the switch 104 provided on the external surface of the CPU unit 101. The same applies to the external storage device 111.
  • the three setting parameters stored in the external storage device 111 are updated by copying the second user program 112, which is newer than the first user program 102 stored in the program storage unit 107 of the CPU unit 101, to the CPU unit 101.
  • Backup processing for copying the first user program 102 in the CPU unit 101 to the external storage device 111 and copying the second user program 112 stored in the external storage device 111 to the program storage unit 107 of the CPU unit 101 This is a setting parameter for setting restore processing.
  • the second setting parameter 117 which is one of the three setting parameters, is selected and set.
  • the program storage unit 107 of the CPU unit 101 stores setting parameters for setting three processes performed by the CPU unit, and a first setting parameter 116 that is one of the three setting parameters. Selected and set.
  • the I / O control unit 105 in the CPU unit electrically detects an input signal when the switch 104 is turned on or an input signal directly transmitted through the connector. Note that an ON / OFF switch for inputting a signal to the I / O control unit 105 may be provided on the external surface of the external storage device 111.
  • the I / O control unit 105 selects and sets the second user program 112 stored in the external storage device 111 connected to the CPU unit 101, the second attached data 113, and the switch 114.
  • the setting parameter 117 is read out.
  • the I / O control unit 105 reads the first user program stored in the program storage unit 107, the first attached data 103, and the first setting parameter 116 selected and set by the switch 104. Do.
  • the first attached data 103 (second attached data 113) is a plurality of pieces of information including unique information that specifies whether the first user program 102 and the second user program 112 are the same, It is assumed that the user program name, data amount, update date / time, unique ID, and the like are configured.
  • the comparison / calculation unit 108 of the processing unit 110 determines whether the data corresponding to the first user program 102 stored in the program storage unit 107 is the user program 112 read by the I / O control unit 105 from the external storage device 111 . It is determined by comparing the identity with the first attached data 103. Further, when a plurality of user programs are stored in the external storage device 111, all of the attached data in the external storage device 111 is compared with the first attached data 103.
  • the comparison / calculation unit 108 includes a first setting parameter 116 read by the I / O control unit 105 from the program storage unit 107 in which three setting parameters are stored, and an external storage device in which the three setting parameters are stored. A comparison is made with the second setting parameter 117 read out from 111 by the I / O control unit 105. As a result of the comparison, if the setting parameters are different, the update process, the backup process, and the restore process are not performed.
  • the comparison / calculation unit 108 matches if the first setting parameter 116 selected and set by the CPU unit 101 matches the second setting parameter 117 selected and set by the external storage device 111. Based on the value of the set parameter, it is determined whether to perform update processing, restoration processing, or backup processing, and arithmetic processing is performed.
  • the display unit 105 lights or blinks an LED or the like based on the completion of the calculation process of the comparison / calculation unit 108. For example, the LED is turned on when the calculation is normally completed, and the LED is blinked when the calculation is ended abnormally.
  • FIG. 2 shows the operation in the CPU unit 101 from the time when the external storage device 111 is connected to the I / O control unit 105 until the processing unit 110 of the CPU unit 101 completes the arithmetic processing in the configuration shown in FIG. FIG.
  • step 201 the I / O control unit 105 of the CPU unit 101 determines whether or not the external storage device 111 is connected to the CPU unit 101. As a method for determining whether or not the connection has been made, an electrical signal is directly transmitted to the I / O control unit 105 via the switch 104 or the connector provided in the CPU unit 101.
  • the I / O control unit 105 determines that the external storage device 111 is connected, the second setting parameter 117, the second user program 112, and the second attached data 114 stored in the external storage device 111 are read. Proceed to the process (step 202). On the other hand, if it is determined that the external storage device 111 is not connected to the I / O control unit 105, the processing is completed and the CPU unit 101 does nothing.
  • step 202 the I / O control unit 105 reads the second user program 112 and the second attached data 113 stored in the external storage device 111 and the second setting parameter 117 selected and set by the switch 114. Further, the I / O control unit 105 reads the first user program and the first attached data stored in the program storage unit 107 of the CPU unit 101 and the first setting parameter 116 selected and set by the switch 104. . When the reading process is completed, the process proceeds to step 203. If the second user program 112 and the second attached data 113 are not present in the external storage device 111, the processing is completed there.
  • step 203 whether the second user program 112 read by the I / O control unit 105 is data corresponding to the first user program 102 stored in the program storage unit 107 in the CPU unit 101 is compared / calculated. 108 determines. At this time, unique information such as the user program name and unique ID of the first attached data 103 attached to the first user program 102 and the user program name of the second attached data 113 attached to the second user program 112 And the unique information such as the unique ID are determined, and the first user program 102 and the second user program 112 are subjected to the update process, the restore process, or the backup process. If the corresponding data exists, the process proceeds to step 204. On the other hand, if there is no corresponding data, the process is completed and the CPU unit 101 does not perform the process thereafter.
  • step 204 the comparison / calculation unit 108 determines whether or not the first setting parameter 116 selected and set by the switch 104 of the CPU unit 101 and the second setting parameter 117 selected and set by the switch 114 match. to decide. If they match, the second setting parameter 117 read out from the external storage device 111 in step 210, that is, the value of the first setting parameter 116 set in the switch 104 of the CPU unit 101 is confirmed, and the update process is performed. Then, the process proceeds to restore processing or backup processing.
  • step 205 the time information determination unit 109 compares the time according to the old and new times based on the time information included in the attached data of the first user program 102 and the second user program 112 corresponding in step 203. That is, if the time information determination unit 109 determines that the date and time of the first auxiliary data 103 in the CPU unit 101 is older than the date and time of the second auxiliary data 113 in the external storage device 111, the process proceeds to step 208.
  • the comparison / calculation unit 108 copies and rewrites the first user program 102 in the external storage device 111 to the program storage unit 107 in the CPU unit to complete the calculation process.
  • the arithmetic processing is completed.
  • the process proceeds to the step 206. Since the restoration process is a process for restoring the data, the time information determination unit 109 compares the times of the attached data of the first user program 102 and the second user program 112 corresponding to step 203 by old and new. Without performing, the second user program 114 in the external storage device 111 is copied to the program storage unit 107 in the CPU unit, and the arithmetic processing is completed.
  • step 207 the time information determination unit 109 compares the times of the attached data of the first user program 102 and the second user program 112 corresponding to step 203 according to the new and old times, and the first information in the CPU unit 101 is stored. If it is determined that the date / time of the attached data 103 is newer than the date / time of the second attached data 113 in the external storage device 111, the process proceeds to step 209, where the comparison / calculation unit 108 is in the second user program in the external storage device 111.
  • step 207 if it is determined in step 207 that the date and time of the first attached data 103 in the CPU unit 101 is older than the date and time of the second attached data 113 in the external storage device 111, the old data is stored in the external storage. Since there is no need to copy to the device 111, the arithmetic processing is completed.
  • the CPU unit 101 can notify the outside of the processing of the steps 201 to 209 using a display unit such as an LED included in the CPU unit 101 or a peripheral device.
  • a display unit such as an LED included in the CPU unit 101 or a peripheral device.
  • the LED is turned on when the update process, the restore process, or the backup process is normally completed, and the LED is blinked when the process is completed due to a processing error. This makes it clear at a glance whether the processing has been completed normally.
  • the unique information included in the first attached data 102 of the first user program 102 and the second attached data 113 of the second user program 112 are stored.
  • the first setting parameter 116 set by the selection of the switch 104 of the CPU unit 101 and the switch of the external storage device 111 The coincidence of the second setting parameter 117 set by the selection of 114 is compared, and if the two match, the time when the first user program 102 and the second user program 112 are saved by the matching setting parameter.
  • FIG. 3 is a flowchart when the switch for changing the setting parameter is provided only in the external storage device 111.
  • movement shown above is abbreviate
  • step 202 When the external storage device 111 is connected to the I / O control unit 105 in the CPU unit 101, in step 202, the second user program 112, the second attached data 113, and the second data stored in the external storage device 111 are stored.
  • the setting parameter 117 is read out.
  • step 203 whether the second user program 112 read by the I / O control unit 105 is data corresponding to the first user program 102 stored in the program storage unit 107 in the CPU unit 101 is compared / calculated. 108 determines.
  • unique information such as the user program name and unique ID of the first attached data 103 attached to the first user program 102 and the user program name of the second attached data 113 attached to the second user program 112
  • the unique information such as the unique ID and the like is determined, and the same information is set as the second user program 112 corresponding to the first user program 102 as the target of the update process, the restore process, or the backup process.
  • step 204 is performed. Proceed to On the other hand, if there is no corresponding data, the process is completed and the CPU unit 101 does not perform the process thereafter.
  • Step 205 If the second setting parameter 117 read out in step 202 and selected and set by the switch 114 is an update process, the process proceeds to step 205. If the second process parameter 117 is a restore process, the process proceeds to step 206. Then, go to step 207.
  • the processing of Step 205, Step 206, and Step 207 is as described above.
  • the first user program in which the unique information included in the first attached data 102 of the first user program 102 and the unique information contained in the second attached data 113 of the second user program 112 are the same.
  • the second user program 112 the old and new times when the first user program 102 and the second user program 112 are stored by the second setting parameter 117 set by the selection of the switch 114 of the external storage device 111. Therefore, the update process, backup process or restore process of the first user program 102 is executed, so that the operator does not need to check the newness or oldness of the user program in the CPU unit or the user program in the external storage device.
  • Process, backup process, restore process It is possible to prevent the skilled will rewrite the data incorrectly.
  • FIG. 4 is a flowchart when only the CPU unit 101 is provided with a setting parameter change switch.
  • movement shown above is abbreviate
  • the second user program 112 and the second attached data 113 stored in the external storage device 111 are read in step 202.
  • the second user program 112 and the second attached data 113 stored in the CPU unit 101 and the first setting parameter 116 set by the setting parameter changing switch 104 provided in the CPU unit 101 are also displayed. Is also read.
  • step 203 whether the second user program 112 read by the I / O control unit 105 is data corresponding to the first user program 102 stored in the program storage unit 107 in the CPU unit 101 is compared / calculated. 108 determines.
  • unique information such as the user program name and unique ID of the first attached data 103 attached to the first user program 102 and the user program name of the second attached data 113 attached to the second user program 112
  • the unique information such as the unique ID and the like is determined, and the same information is set as the second user program 112 corresponding to the first user program 102 as the target of the update process, the restore process, or the backup process.
  • step 204 is performed. Proceed to On the other hand, if there is no corresponding data, the process is completed and the CPU unit 101 does not perform the process thereafter.
  • Step 205 If the first setting parameter 116 selected and set by the switch 104 of the CPU unit 101 read in step 202 is an update process, the process proceeds to step 205, and if it is a restore process, the process proceeds to step 206 to perform backup. If it is processing, the process proceeds to step 207.
  • the processing of Step 205, Step 206, and Step 207 is as described above.
  • the old and new times when the first user program 102 and the second user program 112 are stored are set by the first setting parameter 116 set by selecting the switch 104 of the CPU unit 101. Since the update processing, backup processing, or restoration processing of the first user program 102 is performed after determination, the operator does not need to check whether the user program in the CPU unit or the user program in the external storage device is new or old. , Backup processing, restore processing can be performed It can be prevented from being rewritten data incorrectly operator.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

CPUユニット内のユーザプログラム、外部記憶装置内のユーザプログラムの新旧を確認する必要がなく外部記憶装置をCPUユニットに接続するだけで処理を実施でき、作業者が誤ってデータを書換えてしまうのを防止することができる情報処理装置を提供する。 本発明を実施するため、本発明に係る情報処理装置では、複数の設定パラメータから選択された設定パラメータが外部記憶装置及びCPUユニットに設定され、外部記憶装置及びCPUユニットに設定された設定パラメータを比較して、一致した場合にはCPUユニットに記憶されたユーザプログラムと外部記憶装置に記憶されたユーザプログラムが保存された時間の新旧を比較により判断して、一致したCPUユニットの設定パラメータと外部記憶装置の設定パラメータにより更新処理、バックアップ処理あるいはリストア処理を行う。

Description

情報処理装置
本発明は、CPUユニットと、そのCPUユニットに接続されたユーザプログラム保存用の外部記憶装置からなる情報処理装置における、ユーザプログラム変更に関するものである。
情報処理システムでは、制御する装置設備が動作中でも不具合の修正や動作調整のためにユーザプログラムの更新処理・バックアップ処理・リストア処理を行う必要がある。更新処理とは、装置設備の変更、不具合の修正や動作調整のために、ユーザプログラムにプログラムの追加、修正を行う処理である。このシステムにおいては、情報処理装置内のプログラムのバージョンと周辺装置内のプログラムのバージョンとを比較し、周辺装置内のプログラムのバージョンが新しい場合にのみ情報処理装置内のプログラムを更新する。従来は、情報処理装置に周辺装置を接続することにより、情報処理装置側のプログラムが自動的に更新されるシステムが提案されている。
 一方、情報処理装置内のユーザプログラムを周辺装置にコピーし、情報処理装置の故障等の問題が発生した場合、復旧できるように備えておくバックアップ処理や、バックアップ処理にて周辺装置にバックアップしたユーザプログラムを情報処理装置にコピーし、情報処理システムを復旧するリストア処理を行う必要が生じた場合には、パソコンを情報処理装置に接続し、パソコン上のプログラミングツールからユーザプログラムのバックアップ処理、リストア処理を実施する方法や、USBフラッシュメモリ、SDカード等の周辺装置を情報処理装置に接続し、情報処理装置の電源ONもしくはスイッチのON、OFFによりバックアップ処理、リストア処理を行う方法を用いていた(例えば、特許文献1参照)。
特開2000-187633号公報(0041段落、0042段落)
 しかしながら、情報処理装置を用いた装置設備では、必ずしもパソコンが常時接続されているわけでなく、パソコンが付近に設置されていない場合、ユーザプログラムの更新、バックアップ、リストア処理をするために、パソコンを準備する必要が生じる。しかし、装置設備付近は防塵室等特殊な環境下であることが多く、パソコンの調達、準備に多くの作業工数が発生する。
 また、前記処理のために、作業者はプログラミングツールの操作知識を必要とし、作業者の教育・訓練を必要とする。
 また、周辺装置を使用する方法においては、バックアップ・リストア処理の開始は、電源ONもしくはスイッチのON、OFF等によるものである。本方法では、作業者が外部記憶装置に保存されているデータ、CPUユニット内のデータの新旧を把握していない場合、作業者の電源ONもしくはスイッチの誤操作によりユーザプログラムの誤更新(誤ってバックアップ、リストアを実施する)が発生してしまうという問題がある。
 またユーザプログラムの追加、修正処理についてはリストア処理と同じ手順で実行可能であるが、やはり作業者の誤操作によるユーザプログラムの誤更新といった問題がある。
 この発明は、上述のような課題を解決するためになされたものであり、複数の設定パラメータから選択されてCPUユニットに設定された設定パラメータと、複数の設定パラメータから選択されて外部記憶装置に設定された設定パラメータとを比較して、一致した場合にはCPUユニットに記憶されたユーザプログラムと外部記憶装置に記憶されたユーザプログラムが保存された時間の新旧を比較により判断して、一致したCPUユニットの設定パラメータと外部記憶装置の設定パラメータにより処理するので、作業者はCPUユニット内のユーザプログラム、外部記憶装置内のユーザプログラムの新旧を確認する必要がなく外部記憶装置をCPUユニットに接続するだけで処理を実施でき、作業者が誤ってデータを書換えてしまうのを防止することができる情報処理装置を得ることを目的とする。
 この発明に係る情報処理装置は、CPUユニットとCPUユニットに接続された外部記憶装置を有する情報処理装置において、第2のユーザプログラム及び第2のユーザプログラムの付属データが記憶され、CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに複数の設定パラメータから第2の設定パラメータが選択され設定された外部記憶装置と、第1のユーザプログラム及び第1のユーザプログラムの付属データが記憶され、CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに複数の設定パラメータから第1の設定パラメータが選択され設定されたCPUユニット内の記憶部と、第1のユーザプログラム、第1のユーザプログラムの付属データ及び第1の設定パラメータを記憶部から読み出し、第2のユーザプログラム、第2のユーザプログラムの付属データ及び第2の設定パラメータを外部記憶装置から読み出すCPUユニット内のI/O制御部と、第1のユーザプログラムの付属データに含まれる固有情報と第2のユーザプログラムの付属データに含まれる固有情報とが同一である第1のユーザプログラム及び第2のユーザプログラムが保存された時間の新旧を、第1のユーザプログラムの付属データに含まれる時間情報と第2のユーザプログラムの付属データに含まれる時間情報との比較により判断する時間情報判断部と、外部記憶装置及び記憶部に記憶された複数の設定パラメータは少なくとも更新処理、バックアップ処理及びリストア処理を設定する設定パラメータを含み、第1の設定パラメータ及び第2の設定パラメータとの一致を比較して、一致している場合には一致した第1の設定パラメータ及び第2の設定パラメータにより処理するCPUユニット内の比較・演算部とを備えたものである。
この発明に係る情報処理装置によれば、複数の設定パラメータから選択された設定パラメータが外部記憶装置及びCPUユニットに設定され、外部記憶装置及びCPUユニットに設定された設定パラメータを比較して、一致した場合にはCPUユニットに記憶されたユーザプログラムと外部記憶装置に記憶されたユーザプログラムが保存された時間の新旧を比較により判断して、一致したCPUユニットの設定パラメータと外部記憶装置の設定パラメータにより処理するので、作業者はCPUユニット内のユーザプログラム、外部記憶装置内のユーザプログラムの新旧を確認する必要がなく外部記憶装置をCPUユニットに接続するだけで処理を実施でき、作業者が誤ってデータを書換えてしまうのを防止することができる。
この発明の実施の形態1による情報処理装置の機能構成を示すブロック図である。 この発明の実施の形態1による情報処理装置のCPUユニットの動作を示すフロー図である。 この発明の実施の形態1による情報処理装置のCPUユニットの動作を示す別のフロー図である。 この発明の実施の形態1による情報処理装置のCPUユニットの動作を示す別のフロー図である。
実施の形態1.
 以下、本発明を実施するための形態について、図面を参照して説明する。
 本実施の形態1における情報処理装置について説明する。情報処理装置はCPUユニット及び外部記憶装置からなる。もっとも、CPUユニット及び外部記憶装置のみに限定されるものではなく、その他電源ユニット、ベースユニット等の各種ユニットから構成されても良い。図1は、情報処理装置の機能構成を示すブロック図であり、CPUユニットに外部記憶装置が接続された状態を示す。
 図1において、情報処理装置115(例えばプログラマブルコントローラ)はCPUユニット101及び外部記憶装置111から構成されている。CPUユニット101は、更新処理、バックアップ処理あるいはリストア処理を示す3つの設定パラメータから第1の設定パラメータ116を選択するスイッチ及び電源ON/OFF用のスイッチからなるスイッチ104を有する。また、CPUユニット101は、データを読み出すI/O制御部105、全ての処理が完了した後に表示手段を用いて処理完了結果を表示する表示部106、第1のユーザプログラム102と第1の付属データ103と3つの設定パラメータを記憶するプログラム記憶部107並びにCPUユニット101の設定パラメータと外部記憶装置111の設定パラメータとを比較して処理する処理部110から構成される。
処理部110は、2つの付属データに含まれる時間情報の新旧を判断する時間情報判断部109及び2つの設定パラメータの一致を比較して更新処理、バックアップ処理あるいはリストア処理する比較・演算部108から構成される。また、プログラム記憶部107には、第1のユーザプログラム102、第1の付属データ103及び3つの設定パラメータが保存されている。さらに、情報処理装置の一部であるCPUユニット101と接続される外部記憶装置111には、第2のユーザプログラム112、第2の付属データ113及び3つの設定パラメータが記憶されている。また、外部記憶装置111には、3つの設定パラメータから第2の設定パラメータ117を選択するスイッチ114が設けられている。外部記憶装置111に記憶された3つの設定パラメータから選択されて設定された設定パラメータ117は、CPUユニット101が行う更新処理、バックアップ処理あるいはリストア処理のいずれを行うかを左右するパラメータであり、スイッチ114の切り替えによりこれら3つの設定パラメータから1つを選択し、設定するものである。なお、3つ以上の複数の設定パラメータを設けても良く、時間をおいて更新するといった設定パラメータ等も考えられる。スイッチ104及びスイッチ114は、外部表面に設けたスイッチでも良いし、パソコン等の入力装置のプログラミングツールを用いて作業者が予めプログラム記憶部107及び外部記憶装置111に記憶された3つの設定パラメータから1つを選択し設定できるスイッチであっても良い。また、外部記憶装置記憶111あるいはCPUユニット101に設定された設定パラメータは1つでも良い。
図1における外部記憶装置111とは、CPUユニット101と接続されるUSBフラッシュメモリ、SDカード、パソコン、電子装置等の持ち運びが容易な記録媒体を示す。
 スイッチ104は、CPUユニット101と外部記憶装置111の接続をI/O制御部105に検知させるためのものであり、外部記憶装置111がI/O制御部105に接続された状態でスイッチ104の電源をONにすることでI/O制御部105が接続を検知する。また、スイッチ104には電源をON/OFFにするスイッチの他に、CPUユニット101で行われる更新処理、バックアップ処理及びリストア処理の3つのパラメータがプログラム記憶部107に記憶されるとともに、そのうち1つが選択され設定される設定パラメータ114の変更が可能な切り替えスイッチも設けられている。
 CPUユニット101が行う更新処理、バックアップ処理あるいはリストア処理のいずれを行うかを左右する設定パラメータの変更は、パソコン等の入力装置のプログラミングツールを用いてCPUユニット101に記憶された3つの設定パラメータのうちから1つが選択し設定できるスイッチ104を切り替え、もしくはCPUユニット101の外部表面に設けられたスイッチ104を切り替えることにより行うことが可能である。また、外部記憶装置111についても同様である。
 外部記憶装置111に記憶された3つの設定パラメータは、CPUユニット101のプログラム記憶部107に記憶された第1のユーザプログラム102よりも新しい第2のユーザプログラム112をCPUユニット101へコピーする更新処理、CPUユニット101内の第1のユーザプログラム102を外部記憶装置111にコピーするバックアップ処理及び外部記憶装置111内に記憶された第2のユーザプログラム112をCPUユニット101のプログラム記憶部107へコピーするリストア処理を設定する設定パラメータである。また、外部記憶装置111には3つの設定パラメータのうち1つである第2の設定パラメータ117が選択されて設定されている。同様に、CPUユニット101のプログラム記憶部107には、CPUユニットにて行われる3つの処理を設定する設定パラメータが記憶されるとともに3つの設定パラメータのうち1つである第1の設定パラメータ116が選択され設定されている。
 CPUユニット内のI/O制御部105はスイッチ104の電源のONによる入力信号あるいはコネクタを介して直接送信される入力信号を電気的に検出する。なお、外部記憶装置111の外部表面に信号をI/O制御部105に入力するためのON/OFFのスイッチを設けるようにしても良い。
 また、I/O制御部105は、CPUユニット101に接続された外部記憶装置111に記憶される第2のユーザプログラム112、第2の付属データ113及びスイッチ114で選択されて設定された第2の設定パラメータ117を読み出す処理を行う。さらに、I/O制御部105は、プログラム記憶部107に記憶された第1のユーザプログラム、第1の付属データ103及びスイッチ104で選択されて設定された第1の設定パラメータ116を読み出す処理を行う。
 ここで、第1の付属データ103(第2の付属データ113)は、第1のユーザプログラム102と第2のユーザプログラム112が同一かどうかを特定する固有情報を含めた複数の情報であり、ユーザプログラム名、データ量、更新日時、固有ID等に類するものにより構成されているものとする。
 処理部110の比較・演算部108は、プログラム記憶部107に記憶された第1のユーザプログラム102対応するデータが、外部記憶装置111からI/O制御部105が読み出したユーザプログラム112であるかどうかを、第1の付属データ103との同一性を比較して判断する。また、外部記憶装置111の中に複数のユーザプログラムが記憶されている場合には、外部記憶装置111内の付属データの全てと第1の付属データ103とを比較する。
また、比較・演算部108は、3つの設定パラメータが記憶されたプログラム記憶部107からI/O制御部105が読み出した第1の設定パラメータ116と、3つの設定パラメータが記憶された外部記憶装置111からI/O制御部105が読み出した第2の設定パラメータ117との比較を行う。比較した結果、両者の設定パラメータが異なる場合には更新処理、バックアップ処理及びリストア処理を行わない。
さらに、比較・演算部108は、CPUユニット101で選択されて設定された第1の設定パラメータ116と外部記憶装置111で選択されて設定された第2の設定パラメータ117が一致していれば一致した設定パラメータの値に基づいて、更新処理、リストア処理、バックアップ処理のいずれを行うかが決定し、演算処理を行う。
表示部105は、比較・演算部108の演算処理が完了したことに基づいてLED等を点灯あるいは点滅させるものである。例えば、演算が正常に完了した場合にはLEDを点灯させ、異常で終了した場合には、LEDを点滅させる。
 次に、外部記憶装置111をCPUユニット101内のI/O制御部105に接続した際のCPUユニット101の動作について説明する。
図2は、図1に示した構成において、I/O制御部105に外部記憶装置111を接続してから、CPUユニット101の処理部110が演算処理を完了するまでのCPUユニット101内の動作を示すフロー図である。
 図2において、外部記憶装置111がCPUユニット101に接続されたかどうかをステップ201にて、CPUユニット101のI/O制御部105が判断する。接続されたかどうかの判断方法はCPUユニット101に備わるスイッチ104、もしくはコネクタを介して直接I/O制御部105に電気信号を送信する。
外部記憶装置111が接続されたとI/O制御部105が判断すれば、外部記憶装置111に記憶されている第2の設定パラメータ117並びに第2のユーザプログラム112及び第2の付属データ114の読み出し処理(ステップ202)に進む。
一方で、外部記憶装置111がI/O制御部105に接続されていないと判断した場合は処理完了となり、CPUユニット101は何も行わない。
 ステップ202では、外部記憶装置111に記憶された第2のユーザプログラム112及び第2の付属データ113並びにスイッチ114により選択され設定された第2の設定パラメータ117をI/O制御部105が読み出す。また、I/O制御部105は、CPUユニット101のプログラム記憶部107に記憶された第1のユーザプログラム及び第1の付属データ並びにスイッチ104により選択され設定された第1の設定パラメータ116を読み出す。
読み出し処理が完了するとステップ203に進む。もし、外部記憶装置111内に第2のユーザプログラム112、第2の付属データ113がなければそこで処理完了となる。
 ステップ203では、I/O制御部105の読み出した第2のユーザプログラム112がCPUユニット101内のプログラム記憶部107に記憶された第1のユーザプログラム102に対応するデータかどうかを比較・演算部108が判断する。この際、第1のユーザプログラム102に付随する第1の付属データ103のユーザプログラム名や固有ID等の固有情報と、第2のユーザプログラム112に付随する第2の付属データ113のユーザプログラム名や固有ID等の固有情報の同一性を判断し、同一のものを第1のユーザプログラム102及び第2のユーザプログラム112を更新処理、リストア処理あるいはバックアップ処理の対象とする。もし、対応するデータが存在すれば、ステップ204に進む。
一方、対応するデータがなければ処理完了としCPUユニット101は以後処理を行わない。
ステップ204では、CPUユニット101のスイッチ104によって選択され設定された第1の設定パラメータ116並びにスイッチ114によって選択され設定された第2の設定パラメータ117が一致しているかどうかを比較・演算部108が判断する。一致していた場合には、ステップ210で外部記憶装置111から読み出した第2の設定パラメータ117、つまりCPUユニット101のスイッチ104に設定された第1の設定パラメータ116の値を確認し、更新処理、リストア処理あるいはバックアップ処理に移行する。
 ステップ204で一致した、CPUユニット101のスイッチ104によって選択され設定された設定パラメータ並びにスイッチ114によって選択され設定された第2の設定パラメータ117が更新処理である場合には、ステップ205に進む。ステップ205では、時間情報判断部109が、ステップ203で対応する第1のユーザプログラム102と第2のユーザプログラム112のそれぞれの付属データに含まれる時間情報を基に時間の新旧による比較を行う。つまり、時間情報判断部109でCPUユニット101内の第1の付属データ103の日時が外部記憶装置111の第2の付属データ113の日時よりも古いと判断された場合にはステップ208に進み、比較・演算部108が外部記憶装置111の第1のユーザプログラム102をCPUユニット内のプログラム記憶部107にコピーして書き換え、演算処理を完了する。
一方、CPUユニット101内の第1の付属データ103の日時が外部記憶装置111の第2の付属データ113の日時よりも新しいと判断された場合には、演算処理を完了する。
 また、ステップ204で一致した第1の設定パラメータ116及び第2の設定パラメータ117がリストア処理である場合には、ステップ206に進む。リストア処理はデータを復旧させるための処理であるため、時間情報判断部109はステップ203で対応した第1のユーザプログラム102と第2のユーザプログラム112のそれぞれの付属データの時間の新旧による比較を行うことなく、外部記憶装置111内の第2のユーザプログラム114をCPUユニット内のプログラム記憶部107にコピーし、演算処理を完了する。
 さらに、ステップ204で一致した第1の設定パラメータ116及び第2の設定パラメータ117がバックアップ処理である場合には、ステップ207に進む。ステップ207では、時間情報判断部109がステップ203で対応した第1のユーザプログラム102と第2のユーザプログラム112のそれぞれの付属データの時間の新旧による比較を行い、CPUユニット101内の第1の付属データ103の日時が外部記憶装置111の第2の付属データ113の日時よりも新しいと判断された場合にはステップ209に進み、比較・演算部108が外部記憶装置111の第2のユーザプログラム112をCPUユニット101内のプログラム記憶部107にコピーして書き換え、演算処理を完了する。
一方で、ステップ207において、CPUユニット101内の第1の付属データ103の日時が外部記憶装置111の第2の付属データ113の日時よりも古いと判断された場合には、古いデータを外部記憶装置111にコピーする必要がないため、演算処理を完了する。
 CPUユニット101は、前記ステップ201~ステップ209の処理が完了したことを、CPUユニット101もしくは周辺に設けた機器が有するLED等の表示手段をもって外部に通知することが可能である。
例えば、更新処理、リストア処理あるいはバックアップ処理が正常に完了した場合にはLEDを点灯させ、処理エラーによる完了の場合には、LEDを点滅させる。これにより、正常に処理が完了したかどうかが一目瞭然となる。
 上記のような実施の形態1の情報処理装置115によれば、第1のユーザプログラム102の第1の付属データ102に含まれる固有情報と第2のユーザプログラム112の第2の付属データ113に含まれる固有情報とが同一である第1のユーザプログラム102及び第2のユーザプログラム112において、CPUユニット101のスイッチ104の選択により設定された第1の設定パラメータ116と、外部記憶装置111のスイッチ114の選択により設定された第2の設定パラメータ117の一致を比較して、一致した場合には、一致した設定パラメータにより第1のユーザプログラム102及び第2のユーザプログラム112が保存された時間の新旧を判断して第1のユーザプログラム102の更新処理、バックアップ処理あるいはリストア処理を実施するので、作業者はCPUユニット内のユーザプログラム、外部記憶装置内のユーザプログラムの新旧を確認する必要がなく更新処理、バックアップ処理、リストア処理を実施でき、作業者が誤ってデータを書換えてしまうのを防止することができる。
 また、更新処理、バックアップ処理あるいはリストア処理をするためにパソコンをCPUユニット101に接続してパソコン上のプログラミングツールを使用することを必要とせず、それら機器を取り扱う作業者の訓練・教育が不要となる。
 上記では、CPUユニット101に設定パラメータを切り替えて設定するためのスイッチ104を設ける例を示したが、必ずしも設ける必要はない。また、3つの設定パラメータをプログラム記憶部107に記憶させておく必要もない。つまり、スイッチ104は電源ON/OFF用だけのスイッチとし、CPUユニット101には設定パラメータを設定しない構成とすることもできる。図3は、外部記憶装置111にのみ設定パラメータ変更用のスイッチが設けられている場合のフロー図である。なお、上記に示した構成及び動作と同一のものは適宜省略する。
 外部記憶装置111がCPUユニット101内のI/O制御部105に接続されると、ステップ202において、外部記憶装置111に記憶された第2のユーザプログラム112、第2の付属データ113及び第2の設定パラメータ117を読み出す。
 もし、外部記憶装置111内に第2のユーザプログラム112、第2の付属データ113及び第2の設定パラメータ117がなければそこで処理完了となる。
ステップ203では、I/O制御部105の読み出した第2のユーザプログラム112がCPUユニット101内のプログラム記憶部107に記憶された第1のユーザプログラム102に対応するデータかどうかを比較・演算部108が判断する。この際、第1のユーザプログラム102に付随する第1の付属データ103のユーザプログラム名や固有ID等の固有情報と、第2のユーザプログラム112に付随する第2の付属データ113のユーザプログラム名や固有ID等の固有情報の同一性を判断し、同一のものを第1のユーザプログラム102に対応する第2のユーザプログラム112として更新処理、リストア処理あるいはバックアップ処理の対象とする。もし、対応するデータ、つまり第1の付属データ103の固有情報と第2の付属データ113の固有情報が同一である第1のユーザプログラム102に対する第2のユーザプログラム112が存在すれば、ステップ204に進む。
一方、対応するデータがなければ処理完了としCPUユニット101は以後処理を行わない。
 ステップ202で読み出し、スイッチ114で選択され設定された第2の設定パラメータ117が、更新処理である場合にはステップ205に進み、リストア処理である場合にはステップ206に進み、バックアップ処理である場合にはステップ207に進む。ステップ205、ステップ206、ステップ207の処理は上記に示したとおりである。
 これにより、第1のユーザプログラム102の第1の付属データ102に含まれる固有情報と第2のユーザプログラム112の第2の付属データ113に含まれる固有情報とが同一である第1のユーザプログラム102及び第2のユーザプログラム112において、外部記憶装置111のスイッチ114の選択により設定された第2の設定パラメータ117により第1のユーザプログラム102及び第2のユーザプログラム112が保存された時間の新旧を判断して第1のユーザプログラム102の更新処理、バックアップ処理あるいはリストア処理を実施するので、作業者はCPUユニット内のユーザプログラム、外部記憶装置内のユーザプログラムの新旧を確認する必要がなく更新処理、バックアップ処理、リストア処理を実施でき、作業者が誤ってデータを書換えてしまうのを防止することができる。
 また、更新処理、バックアップ処理あるいはリストア処理をするためにパソコンをCPUユニット101に接続してパソコン上のプログラミングツールを使用することを必要とせず、それら機器を取り扱う作業者の訓練・教育が不要となる。
 また、上記では外部記憶装置111に設定パラメータを切り替えるためのスイッチを設ける例を示したが、必ずしも外部記憶装置111に第2の設定パラメータを設定する必要はない。また、3つの設定パラメータを外部記憶装置111に記憶させておく必要もない。図4は、CPUユニット101にのみ設定パラメータ変更用のスイッチが設けられている場合のフロー図である。なお、上記に示した構成及び動作と同一のものは適宜省略する。
 外部記憶装置111がCPUユニット101内のI/O制御部105に接続されると、ステップ202において、外部記憶装置111に記憶された第2のユーザプログラム112、第2の付属データ113を読み出す。また、この時、CPUユニット101に記憶された第2のユーザプログラム112及び第2の付属データ113並びにCPUユニット101に設けられた設定パラメータ変更用のスイッチ104で設定された第1の設定パラメータ116をも読み出す。
もし、外部記憶装置111内に第2のユーザプログラム112及び第2の付属データ113がなければそこで処理完了となる。
ステップ203では、I/O制御部105の読み出した第2のユーザプログラム112がCPUユニット101内のプログラム記憶部107に記憶された第1のユーザプログラム102に対応するデータかどうかを比較・演算部108が判断する。この際、第1のユーザプログラム102に付随する第1の付属データ103のユーザプログラム名や固有ID等の固有情報と、第2のユーザプログラム112に付随する第2の付属データ113のユーザプログラム名や固有ID等の固有情報の同一性を判断し、同一のものを第1のユーザプログラム102に対応する第2のユーザプログラム112として更新処理、リストア処理あるいはバックアップ処理の対象とする。もし、対応するデータ、つまり第1の付属データ103の固有情報と第2の付属データ113の固有情報が同一である第1のユーザプログラム102に対する第2のユーザプログラム112が存在すれば、ステップ204に進む。
一方、対応するデータがなければ処理完了としCPUユニット101は以後処理を行わない。
ステップ202で読み出したCPUユニット101のスイッチ104で選択され設定された第1の設定パラメータ116が、更新処理である場合にはステップ205に進み、リストア処理である場合にはステップ206に進み、バックアップ処理である場合にはステップ207に進む。ステップ205、ステップ206、ステップ207の処理は上記に示したとおりである。
 これにより、第1のユーザプログラム102の第1の付属データ102に含まれる固有情報と第2のユーザプログラム112の第2の付属データ113に含まれる固有情報とが同一である第1のユーザプログラム102及び第2のユーザプログラム112において、CPUユニット101のスイッチ104の選択により設定された第1の設定パラメータ116により第1のユーザプログラム102及び第2のユーザプログラム112が保存された時間の新旧を判断して第1のユーザプログラム102の更新処理、バックアップ処理あるいはリストア処理を実施するので、作業者はCPUユニット内のユーザプログラム、外部記憶装置内のユーザプログラムの新旧を確認する必要がなく更新処理、バックアップ処理、リストア処理を実施でき、作業者が誤ってデータを書換えてしまうのを防止することができる。
 また、更新処理、バックアップ処理あるいはリストア処理をするためにパソコンをCPUユニット101に接続してパソコン上のプログラミングツールを使用することを必要とせず、それら機器を取り扱う作業者の訓練・教育が不要となる。
 101  CPUユニット
 102  第1のユーザプログラム
 103  第1の付属データ
 104  スイッチ
 105  I/O制御部
 106  表示部
 107  プログラム記憶部
 108  比較・演算部
 109  時間情報判断部
 110  処理部
 111  外部記憶装置
 112  第2のユーザプログラム
 113  第2の付属データ
 114  スイッチ
 115  情報処理装置
 116  第1の設定パラメータ
 117  第2の設定パラメータ

Claims (8)

  1.  CPUユニットと前記CPUユニットに接続された外部記憶装置を有する情報処理装置において、
     第2のユーザプログラム及び前記第2のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから第2の設定パラメータが選択され設定された外部記憶装置と、
     第1のユーザプログラム及び前記第1のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから第1の設定パラメータが選択され設定された前記CPUユニット内の記憶部と、
     前記第1のユーザプログラム、前記第1のユーザプログラムの付属データ及び前記第1の設定パラメータを前記記憶部から読み出し、前記第2のユーザプログラム、前記第2のユーザプログラムの付属データ及び前記第2の設定パラメータを前記外部記憶装置から読み出す前記CPUユニット内のI/O制御部と、
     前記第1のユーザプログラムの付属データに含まれる固有情報と前記第2のユーザプログラムの付属データに含まれる固有情報とが同一である前記第1のユーザプログラム及び前記第2のユーザプログラムが保存された時間の新旧を、前記第1のユーザプログラムの付属データに含まれる時間情報と前記第2のユーザプログラムの付属データに含まれる時間情報との比較により判断する時間情報判断部と、
     前記外部記憶装置及び前記記憶部に記憶された複数の設定パラメータは少なくとも更新処理、バックアップ処理及びリストア処理を設定する設定パラメータを含み、前記第1の設定パラメータ及び前記第2の設定パラメータとの一致を比較して、一致している場合には一致した前記第1の設定パラメータ及び前記第2の設定パラメータにより処理する前記CPUユニット内の比較・演算部と、
    を備えたことを特徴とする情報処理装置。
  2.  CPUユニットと前記CPUユニットに接続された外部記憶装置を有する情報処理装置において、
     第2のユーザプログラム及び前記第2のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる処理を設定する設定パラメータが第2の設定パラメータとして設定された外部記憶装置と、
     第1のユーザプログラム及び前記第1のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから第1の設定パラメータが選択され設定された前記CPUユニット内の記憶部と、
     前記第1のユーザプログラム、前記第1のユーザプログラムの付属データ及び前記第1の設定パラメータを前記記憶部から読み出し、前記第2のユーザプログラム、前記第2のユーザプログラムの付属データ及び前記第2の設定パラメータを前記外部記憶装置から読み出す前記CPUユニット内のI/O制御部と、
     前記第1のユーザプログラムの付属データに含まれる固有情報と前記第2のユーザプログラムの付属データに含まれる固有情報とが同一である前記第1のユーザプログラム及び前記第2のユーザプログラムが保存された時間の新旧を、前記第1のユーザプログラムの付属データに含まれる時間情報と前記第2のユーザプログラムの付属データに含まれる時間情報との比較により判断する時間情報判断部と、
     前記記憶部に記憶された複数の設定パラメータは少なくとも更新処理、バックアップ処理及びリストア処理を設定する設定パラメータを含み、前記第1の設定パラメータ及び前記第2の設定パラメータとが一致している場合には一致した前記第1の設定パラメータ及び前記第2の設定パラメータにより処理する前記CPUユニット内の比較・演算部と、
    を備えたことを特徴とする情報処理装置。
  3.  前記CPUユニットに設定された前記第1の設定パラメータは前記CPUユニットに設けられたスイッチの切り替えにより選択されて設定された設定パラメータであり、
     前記外部記憶装置に設定された前記第2の設定パラメータは前記外部記憶装置に設けられたスイッチの切り替えにより選択されて設定された設定パラメータである
    ことを特徴とする請求項1又は2に記載の情報処理装置。
  4.  CPUユニットと前記CPUユニットに接続された外部記憶装置を有する情報処理装置において、
     第2のユーザプログラム及び前記第2のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから設定パラメータが選択され設定された外部記憶装置と、
     第1のユーザプログラム及び前記第1のユーザプログラムの付属データが記憶された前記CPUユニット内の記憶部と、
     前記第1のユーザプログラム及び前記第1のユーザプログラムの付属データを前記記憶部から読み出し、前記第2のユーザプログラム、前記第2のユーザプログラムの付属データ及び前記複数の設定パラメータから選択され設定された設定パラメータを前記外部記憶装置から読み出す前記CPUユニット内のI/O制御部と、
     前記第1のユーザプログラムの付属データに含まれる固有情報と前記第2のユーザプログラムの付属データに含まれる固有情報とが同一である前記第1のユーザプログラム及び前記第2のユーザプログラムが保存された時間の新旧を、前記第1のユーザプログラムの付属データに含まれる時間情報と前記第2のユーザプログラムの付属データに含まれる時間情報との比較により判断する時間情報判断部と、
     前記外部記憶装置に記憶された複数の設定パラメータは少なくとも更新処理、バックアップ処理及びリストア処理を設定する設定パラメータを含み、前記複数の設定パラメータから選択され設定された設定パラメータにより処理する前記CPUユニット内の比較・演算部と、
    を備えたことを特徴とする情報処理装置。
  5.  前記複数の設定パラメータから選択され設定された設定パラメータは前記外部記憶装置に設けられたスイッチの切り替えにより選択されて設定された設定パラメータである
    ことを特徴とする請求項4に記載の情報処理装置。
  6.  CPUユニットと前記CPUユニットに接続された外部記憶装置を有する情報処理装置において、
     第2のユーザプログラム及び前記第2のユーザプログラムの付属データが記憶された外部記憶装置と、
     第1のユーザプログラム及び前記第1のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから設定パラメータが選択され設定された前記CPUユニット内の記憶部と、
     前記第1のユーザプログラム、前記第1のユーザプログラムの付属データ及び前記複数の設定パラメータから選択され設定された設定パラメータを前記記憶部から読み出し、前記第2のユーザプログラム及び前記第2のユーザプログラムの付属データを前記外部記憶装置から読み出す前記CPUユニット内のI/O制御部と、
     前記第1のユーザプログラムの付属データに含まれる固有情報と前記第2のユーザプログラムの付属データに含まれる固有情報とが同一である前記第1のユーザプログラム及び前記第2のユーザプログラムが保存された時間の新旧を、前記第1のユーザプログラムの付属データに含まれる時間情報と前記第2のユーザプログラムの付属データに含まれる時間情報との比較により判断する時間情報判断部と、
     前記記憶部に記憶された複数の設定パラメータは少なくとも更新処理、バックアップ処理及びリストア処理を設定する設定パラメータを含み、前記複数の設定パラメータから選択され設定された設定パラメータにより処理する前記CPUユニット内の比較・演算部と、
    を備えたことを特徴とする情報処理装置。
  7.  前記複数の設定パラメータから選択され設定された設定パラメータは前記CPUユニットに設けられたスイッチの切り替えにより選択されて設定された設定パラメータである
    ことを特徴とする請求項6に記載の情報処理装置。
  8. 前記更新処理は、前記第1のユーザプログラムの付属データに含まれる日時情報が前記第2のユーザプログラムの付属データに含まれる日時情報よりも新しいと前記比較・演算部が判断した場合には、前記比較・演算部が前記第2のユーザプログラムを前記記憶部にコピーして書き換える処理であり、
     前記バックアップ処理は、前記第1のユーザプログラムの付属データに含まれる日時情報が前記第2のユーザプログラムの付属データに含まれる日時情報よりも新しいと前記比較・演算部が判断した場合には、前記比較・演算部が前記第2のユーザプログラムを前記記憶部にコピーして書き換える処理であり、
     前記リストア処理は、前記第1のユーザプログラムの付属データに含まれる日時情報と前記第2のユーザプログラムの付属データに含まれる日時情報との比較を行うことなく、前記比較・演算部が前記第2のユーザプログラムを前記プログラム記憶部にコピーして書き換える処理であることを特徴とする請求項1、2、4、6のいずれかに記載の情報処理装置。
PCT/JP2010/007394 2010-12-21 2010-12-21 情報処理装置 WO2012085963A1 (ja)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN201080070868.9A CN103270495B (zh) 2010-12-21 2010-12-21 信息处理装置
PCT/JP2010/007394 WO2012085963A1 (ja) 2010-12-21 2010-12-21 情報処理装置
KR1020137018774A KR101498840B1 (ko) 2010-12-21 2010-12-21 정보 처리 장치
US13/991,556 US9632821B2 (en) 2010-12-21 2010-12-21 Information processing apparatus with external update and restore processes
JP2012549475A JP5569594B2 (ja) 2010-12-21 2010-12-21 情報処理装置
TW100101725A TWI453606B (zh) 2010-12-21 2011-01-18 資訊處理裝置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2010/007394 WO2012085963A1 (ja) 2010-12-21 2010-12-21 情報処理装置

Publications (1)

Publication Number Publication Date
WO2012085963A1 true WO2012085963A1 (ja) 2012-06-28

Family

ID=46313270

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2010/007394 WO2012085963A1 (ja) 2010-12-21 2010-12-21 情報処理装置

Country Status (6)

Country Link
US (1) US9632821B2 (ja)
JP (1) JP5569594B2 (ja)
KR (1) KR101498840B1 (ja)
CN (1) CN103270495B (ja)
TW (1) TWI453606B (ja)
WO (1) WO2012085963A1 (ja)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2014174546A1 (ja) * 2013-04-22 2017-02-23 三菱電機株式会社 プログラマブルロジックコントローラシステム及びプログラマブルロジックコントローラ
KR101829596B1 (ko) * 2015-06-16 2018-02-14 미쓰비시덴키 가부시키가이샤 정보 처리 장치 및 정보 처리 방법
JP2019049907A (ja) * 2017-09-11 2019-03-28 キヤノン株式会社 情報処理装置、情報処理方法及びプログラム

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10116108A (ja) * 1996-10-09 1998-05-06 Fuji Electric Co Ltd プログラミング方法
JP2000187633A (ja) * 1998-12-21 2000-07-04 Canon Inc 情報処理装置、周辺機器およびそのセットアップ方法
JP2002099310A (ja) * 2000-09-25 2002-04-05 Toyoda Mach Works Ltd 制御装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5377326A (en) * 1989-07-06 1994-12-27 Sharp Kabushiki Kaisha Electronic apparatus with remote data supplementation/update selection and error display
JP3602876B2 (ja) * 1994-10-20 2004-12-15 富士通株式会社 情報処理装置のメモリ書き換え装置
JP4021407B2 (ja) * 2003-12-16 2007-12-12 シャープ株式会社 情報処理装置
TWI240203B (en) * 2004-02-25 2005-09-21 Via Tech Inc A device which updates firmware by a memory card
US7904895B1 (en) * 2004-04-21 2011-03-08 Hewlett-Packard Develpment Company, L.P. Firmware update in electronic devices employing update agent in a flash memory card
TWI272527B (en) * 2004-12-10 2007-02-01 Inventec Corp System and method synchronously updating data and application programs
TW200707294A (en) * 2005-08-10 2007-02-16 Lite On It Corp Platform-independent preference-setting method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10116108A (ja) * 1996-10-09 1998-05-06 Fuji Electric Co Ltd プログラミング方法
JP2000187633A (ja) * 1998-12-21 2000-07-04 Canon Inc 情報処理装置、周辺機器およびそのセットアップ方法
JP2002099310A (ja) * 2000-09-25 2002-04-05 Toyoda Mach Works Ltd 制御装置

Also Published As

Publication number Publication date
US9632821B2 (en) 2017-04-25
US20130290964A1 (en) 2013-10-31
CN103270495B (zh) 2016-04-20
KR101498840B1 (ko) 2015-03-04
KR20130105715A (ko) 2013-09-25
JPWO2012085963A1 (ja) 2014-05-22
TWI453606B (zh) 2014-09-21
TW201227340A (en) 2012-07-01
CN103270495A (zh) 2013-08-28
JP5569594B2 (ja) 2014-08-13

Similar Documents

Publication Publication Date Title
US8280579B2 (en) Memory management apparatus
US7027880B2 (en) Safety controller providing rapid recovery of safety program data
CN109070345B (zh) 机器人控制器系统及方法
EP2124151B1 (en) Information processing system and method for starting/recovering the system
WO2012117556A1 (ja) 情報処理装置及び情報処理装置制御方法
WO2015079725A1 (ja) プログラマブルコントローラ
JP5569594B2 (ja) 情報処理装置
JP2011215814A (ja) プログラマブルコントローラ、設定値バックアップ・リストアシステム、及び設定値バックアップ・リストアユニット
JP5521368B2 (ja) モータ回転制御システム
US9965599B2 (en) Function setting method
JP5167936B2 (ja) 情報処理装置
KR20160086957A (ko) 엔지니어링 툴 프로그램 및 네트워크 시스템
US20070050612A1 (en) Boot program update and restoration system and method thereof
JP2006164002A (ja) 数値制御装置
JP5012548B2 (ja) プログラマブルコントローラ
JP5891662B2 (ja) ロボットシステム、制御装置、および、方法
JP2008109789A (ja) 制御装置およびそのパラメータの処理方法
JP6243259B2 (ja) プログラマブルコントローラのシーケンスプログラム置き換え方法
JP2010238232A (ja) 産業用コントローラ
JP2023006812A (ja) 制御装置、制御方法、及びプログラム
CN114026506B (zh) 可编程显示器及数据管理方法
JP2011145810A (ja) プログラムデータの書き換え方法及び機器制御システム
JP7003648B2 (ja) ファイル変更支援装置、ファイル変更支援方法及びファイル変更支援プログラム
JP2002063044A (ja) 演算装置及びプログラム書き換え方法
KR102334678B1 (ko) Hmi장치

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201080070868.9

Country of ref document: CN

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

Ref document number: 10860989

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2012549475

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20137018774

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 13991556

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 10860989

Country of ref document: EP

Kind code of ref document: A1