JP5446643B2 - Data backup system - Google Patents

Data backup system Download PDF

Info

Publication number
JP5446643B2
JP5446643B2 JP2009212273A JP2009212273A JP5446643B2 JP 5446643 B2 JP5446643 B2 JP 5446643B2 JP 2009212273 A JP2009212273 A JP 2009212273A JP 2009212273 A JP2009212273 A JP 2009212273A JP 5446643 B2 JP5446643 B2 JP 5446643B2
Authority
JP
Japan
Prior art keywords
data
machining center
file
backup
storage
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
JP2009212273A
Other languages
Japanese (ja)
Other versions
JP2011060223A (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.)
Howa Machinery Ltd
Original Assignee
Howa Machinery Ltd
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 Howa Machinery Ltd filed Critical Howa Machinery Ltd
Priority to JP2009212273A priority Critical patent/JP5446643B2/en
Publication of JP2011060223A publication Critical patent/JP2011060223A/en
Application granted granted Critical
Publication of JP5446643B2 publication Critical patent/JP5446643B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • General Factory Administration (AREA)

Description

この発明は、複数の外部装置とコンピュータとの間で通信を行って、該コンピュータが前記複数の外部装置にそれぞれ記憶されたデータを収集し該データを前記コンピュータの記憶部に記憶するデータバックアップシステムに関する。   The present invention relates to a data backup system in which a plurality of external devices communicate with a computer, the computer collects data stored in the plurality of external devices, and stores the data in a storage unit of the computer. About.

特許文献1には、データのバックアップを作業者による簡単な操作で行うことができ、壊れたデータのバックアップが不測に行われないようにした工作機械制御装置が開示されている。特許文献1の工作機械制御装置では、該装置の本体に可搬の記憶媒体が装着されたことを検出した後に、該記憶媒体が所定のバックアップ開始条件を充足したことを判定した場合には、工作機械制御装置に装備されたデータ記憶手段のデータを可搬の記憶媒体にバックアップする。   Patent Document 1 discloses a machine tool control device that can perform backup of data by a simple operation by an operator and prevents backup of broken data from being unexpectedly performed. In the machine tool control device of Patent Document 1, after detecting that a portable storage medium is attached to the main body of the device, when it is determined that the storage medium satisfies a predetermined backup start condition, Data in the data storage means equipped in the machine tool controller is backed up to a portable storage medium.

上記の工作機械制御装置では、作業者が、最低限の動作として、前記工作機械制御装置の記憶媒体ドライブ手段に可搬の記憶媒体を装着するだけの簡易な操作を行えば、その後に、データのバックアップ動作が自動的に行われる。したがって、運用ルールとして、記憶媒体ドライブ手段に可搬の記憶媒体を装着することのみを定めておけば、データのバックアップ処理の励行が期待できる。   In the above-mentioned machine tool control apparatus, if the operator performs a simple operation of only mounting a portable storage medium on the storage medium drive means of the machine tool control apparatus as a minimum operation, then the data The backup operation is automatically performed. Therefore, if it is determined only that a portable storage medium is attached to the storage medium drive means as an operation rule, it is possible to expect data backup processing.

また、工作機械制御装置によって制御される工作機械が正常に動作しているときは、データ記憶手段のデータが正常であるため、データが正常なときに、記憶媒体ドライブ手段に可搬の記憶媒体を装着すれば、可搬の記憶媒体に壊れたデータがバックアップされることを回避できる。   Further, when the machine tool controlled by the machine tool control device is operating normally, the data in the data storage means is normal, so when the data is normal, the portable storage medium in the storage medium drive means If is attached, it is possible to avoid backup of broken data on a portable storage medium.

特開2006−260128号公報JP 2006-260128 A

ところで、一般に、上記の工作機械制御装置を構成するコンピュータが、上記の工作機械のような外部装置に記憶されたデータを、複数の外部装置からそれぞれバックアップする際には、例えば、工作機械制御装置の操作者が、コンピュータに予め搭載されたアプリケーションプログラム用のパラメータ等を書き換えて、該書き換えたパラメータ等に基づいたプログラムを用い、前記データをバックアップする処理を行っていた。   By the way, generally, when the computer constituting the machine tool control device backs up data stored in an external device such as the machine tool from a plurality of external devices, for example, the machine tool control device The operator has rewritten the parameters for the application program previously installed in the computer, and used the program based on the rewritten parameters to back up the data.

しかしながら、操作者は、上記のアプリケーションプログラムに関する知識を身に付けていなければ、該アプリケーションプログラム用のパラメータ等を書き換えることができない。このように、操作者の誰もが容易にアプリケーションプログラム用のパラメータ等を書き換えることができるわけではないことから、前記データをバックアップする処理についても、誰もが容易にできるものではなかった。   However, unless the operator has knowledge about the above application program, the parameters for the application program cannot be rewritten. Thus, since not all operators can easily rewrite application program parameters, etc., no one can easily perform the process of backing up the data.

また、一般に、上記のようなデータをバックアップする際には、複数の外部装置にそれぞれ記憶された全てのデータをバックアップする処理が行われていた。このため、複数の外部装置の内の一部の外部装置に記憶されたデータのみをバックアップすれば十分な場合であっても、前記全てのデータをバックアップする処理を行わなければならないことがあった。したがって、バックアップの必要がないデータをバックアップする処理を行うことになり、データをバックアップする処理が効率的に行われているとは言い難かった。   In general, when backing up the data as described above, a process of backing up all data stored in each of a plurality of external devices has been performed. For this reason, even if it is sufficient to back up only data stored in some external devices among a plurality of external devices, there has been a case where processing for backing up all the data has to be performed. . Therefore, the process of backing up data that does not need to be backed up is performed, and it is difficult to say that the process of backing up data is performed efficiently.

この発明は、このような状況に鑑み提案されたものであって、誰もが容易にかつ効率的に外部装置に記憶されたデータをバックアップする処理が可能なデータバックアップシステムを提供することを目的とする。   The present invention has been proposed in view of such a situation, and it is an object of the present invention to provide a data backup system in which anyone can easily and efficiently back up data stored in an external device. And

請求項1の発明に係るデータバックアップシステムは、複数の外部装置とコンピュータとの間で通信を行って、該コンピュータが前記複数の外部装置にそれぞれ記憶されたデータを収集し該データを前記コンピュータの記憶部に記憶するデータバックアップシステムにおいて、各前記外部装置をマシニングセンタとして、前記コンピュータは、操作者の操作に応じ、複数の前記マシニングセンタの内から任意のマシニングセンタを選択可能な外部装置選択手段と、前記コンピュータに搭載されたデータバックアップ制御プログラムと、を備え、前記複数のマシニングセンタは、異なる記憶形式で前記データが記憶されたマシニングセンタを含み、前記コンピュータは、前記操作者の操作に応じ、前記外部装置選択手段によって選択された前記任意のマシニングセンタに記憶されたデータの記憶形式に対応させて、前記記憶部に記憶させるデータの記憶形式を選択可能な記憶形式選択手段を備え、前記データバックアップ制御プログラムは、前記記憶形式選択手段によって選択された記憶形式に基づいて、前記コンピュータに、前記外部装置選択手段によって選択された任意のマシニングセンタに記憶されたデータを前記記憶部に記憶する処理を実行させることが可能であることを特徴とする。 According to a first aspect of the present invention, a data backup system communicates between a plurality of external devices and a computer, the computer collects data stored in the plurality of external devices, and collects the data in the computer. In the data backup system stored in the storage unit, each external device as a machining center, and the computer can select an arbitrary machining center from among the plurality of machining centers according to an operation by an operator, and A data backup control program mounted on a computer, wherein the plurality of machining centers include a machining center in which the data is stored in different storage formats, and the computer selects the external device according to an operation of the operator Selected by means In correspondence with the storage format of the data stored in the meaning of the machining center, comprising a selectable storage format selecting means storing format of data to be stored in the storage unit, the data backup control program by the storage format selection means Based on the selected storage format, it is possible to cause the computer to execute a process of storing data stored in an arbitrary machining center selected by the external device selection unit in the storage unit. To do.

請求項2の発明は、請求項1において、前記操作者の操作に応じ、前記外部装置選択手段によって、前記任意のマシニングセンタとして、前記複数のマシニングセンタの内から一つのマシニングセンタが選択可能であり、前記外部装置選択手段によって、前記一つのマシニングセンタが選択された場合には、前記データバックアップ制御プログラムは、前記記憶形式選択手段によって選択された記憶形式に基づいて、前記コンピュータに、前記一つのマシニングセンタに記憶されたデータを前記記憶部に記憶する処理を実行させることを特徴とする。 According to a second aspect of the present invention, in the first aspect, in accordance with the operation of the operator, the external device selection unit can select one machining center from the plurality of machining centers as the arbitrary machining center. When the one machining center is selected by the external device selection means, the data backup control program is stored in the computer or the one machining center based on the storage format selected by the storage format selection means. A process for storing the processed data in the storage unit is executed.

請求項3の発明は、請求項1において、前記操作者の操作に応じ、前記外部装置選択手段によって、前記任意のマシニングセンタとして、前記複数のマシニングセンタの内の一つ又は二つ以上のマシニングセンタが属する複数のグループからいずれかのグループが選択可能であり、前記外部装置選択手段によって、前記いずれかのグループが選択された場合には、前記データバックアップ制御プログラムは、前記記憶形式選択手段によって選択された記憶形式に基づいて、前記コンピュータに、前記選択されたグループに属する一又は二以上のマシニングセンタに記憶されたデータを前記記憶部に記憶する処理を実行させることを特徴とする。 According to a third aspect of the present invention, in the first aspect, one or two or more of the plurality of machining centers belong as the arbitrary machining center by the external device selection unit according to the operation of the operator. If any group can be selected from a plurality of groups, and the any one of the groups is selected by the external device selection unit, the data backup control program is selected by the storage format selection unit. Based on a storage format, the computer is caused to execute a process of storing data stored in one or more machining centers belonging to the selected group in the storage unit.

請求項4の発明は、請求項2又は3において、前記コンピュータは、前記操作者の操作に応じ、前記外部装置選択手段によって選択された一つのマシニングセンタもしくは前記外部装置選択手段によって選択されたグループに属する前記一つ又は二つ以上のマシニングセンタにそれぞれ記憶されたデータの種類に応じて分類した複数のデータファイルの内から特定のデータファイルを選択可能なデータファイル選択手段を備え、前記データファイル選択手段によって、前記特定のデータファイルが選択された場合には、前記データバックアップ制御プログラムは、前記記憶形式選択手段によって選択された記憶形式に基づいて、前記コンピュータに、前記特定のデータファイルに含まれるデータを前記記憶部に記憶する処理を実行させることを特徴とする。 According to a fourth aspect of the present invention, in the computer system according to the second or third aspect, the computer is arranged in one machining center selected by the external device selection unit or a group selected by the external device selection unit according to the operation of the operator. A data file selecting means capable of selecting a specific data file from a plurality of data files classified according to the type of data respectively stored in the one or more machining centers to which the data belongs; and the data file selecting means When the specific data file is selected, the data backup control program causes the data contained in the specific data file to be stored in the computer based on the storage format selected by the storage format selection means. To store the information in the storage unit And features.

請求項1の発明に係るデータバックアップシステムによれば、従来とは異なり、任意のマシニングセンタに記憶されたデータをバックアップするために、アプリケーションプログラムに関する知識を身に付けていない操作者であっても、該操作者が外部装置選択手段を操作するだけで、任意のマシニングセンタを選択することができる。これにより、操作者の誰もが、外部装置選択手段を操作するだけで、容易に任意のマシニングセンタを選択することが可能になる。
加えて、データバックアップ制御プログラムは、コンピュータに、複数のマシニングセンタのぞれぞれに記憶された全てのデータではなく、バックアップを必要とする任意のマシニングセンタに記憶されたデータのみを選択して前記記憶部に記憶(バックアップ)させることが可能になる。これにより、バックアップが必要なデータを効率的にバックアップする処理が可能になる。
請求項2の発明によれば、データバックアップ制御プログラムは、コンピュータに、複数のマシニングセンタのぞれぞれに記憶された全てのデータではなく、一つのマシニングセンタに記憶されたデータのみを選択して前記記憶部にバックアップさせることが可能になる。これにより、バックアップを必要とするデータを、一つのマシニングセンタ毎に記憶部へバックアップする処理が可能になる。
請求項3の発明によれば、データバックアップ制御プログラムは、コンピュータに、複数のマシニングセンタのぞれぞれに記憶された全てのデータではなく、前記選択されたグループに属する一つ又は二つ以上のマシニングセンタに記憶されたデータのみを選択して前記記憶部にバックアップさせることが可能になる。これにより、バックアップを必要とするデータを、前記選択されたグループ毎に記憶部へバックアップする処理が可能になる。
請求項4の発明によれば、データバックアップ制御プログラムは、コンピュータに、前記一つのマシニングセンタもしくは前記グループに属する一つ又は二つ以上のマシニングセンタにそれぞれ記憶された全てのデータファイルに含まれるデータではなく、複数のデータファイルの内の特定のデータファイルに含まれるデータのみを選択して前記記憶部にバックアップさせることが可能になる。これにより、バックアップを必要とするデータを、前記選択された特定のデータファイル毎に記憶部へバックアップする処理が可能になる。
請求項1ないし4の発明によれば、マシニングセンタの故障等により、該マシニングセンタに記憶すべきデータを復旧させる必要がある場合には、前記データバックアップ制御プログラムによって前記コンピュータが記憶部に記憶させたデータを直接利用して、マシニングセンタに記憶すべきデータを復旧させることができる。これにより、マシニングセンタに記憶すべきデータを復旧させる作業を、容易かつ迅速に行うことが可能になる。
According to the data backup system of the first aspect of the invention, unlike the prior art, even an operator who does not have knowledge about the application program in order to back up data stored in any machining center , The operator can select an arbitrary machining center simply by operating the external device selection means. Thus, any operator can easily select an arbitrary machining center simply by operating the external device selection unit.
In addition, the data backup control program selects not only all data stored in each of a plurality of machining centers but also only data stored in any machining center that requires backup, in the computer. Can be stored (backed up). As a result, it is possible to efficiently back up data that needs to be backed up.
According to the invention of claim 2, the data backup control program selects not only all data stored in each of a plurality of machining centers , but only data stored in one machining center by the computer. The storage unit can be backed up. As a result, it is possible to back up data requiring backup to the storage unit for each machining center .
According to the third aspect of the present invention, the data backup control program stores not all data stored in each of the plurality of machining centers in the computer, but one or two or more belonging to the selected group. Only the data stored in the machining center can be selected and backed up in the storage unit. As a result, it is possible to back up data requiring backup to the storage unit for each of the selected groups.
According to the fourth aspect of the present invention, the data backup control program is not data included in all data files respectively stored in the one machining center or one or more machining centers belonging to the group. Only the data included in the specific data file among the plurality of data files can be selected and backed up in the storage unit. As a result, it is possible to back up data requiring backup to the storage unit for each selected specific data file.
According to the first to fourth aspects of the present invention, when it is necessary to restore data to be stored in the machining center due to a failure of the machining center or the like, the data stored in the storage unit by the computer by the data backup control program The data that should be stored in the machining center can be recovered by directly using. As a result, it is possible to easily and quickly perform the work of restoring the data to be stored in the machining center .

本発明の実施形態のデータバックアップシステムの概略ブロック図である。1 is a schematic block diagram of a data backup system according to an embodiment of the present invention. 同データバックアップシステムを構成するパーソナルコンピュータの演算処理部が実行する第1バックアップデータ記憶処理に関するフローチャートである。It is a flowchart regarding the 1st backup data storage process which the arithmetic processing part of the personal computer which comprises the data backup system performs. 同パーソナルコンピュータのディスプレイに表示されるバックアップデータ選択画面を示した図である。It is the figure which showed the backup data selection screen displayed on the display of the personal computer. 同ディスプレイに表示されるマシニングセンタ選択画面を示した図である。It is the figure which showed the machining center selection screen displayed on the display. 同ディスプレイに表示される第1記憶形式選択画面を示した図である。It is the figure which showed the 1st storage format selection screen displayed on the display. 同パーソナルコンピュータの演算処理部が実行する第2バックアップデータ記憶処理に関するフローチャートである。It is a flowchart regarding the 2nd backup data storage process which the arithmetic processing part of the personal computer performs. 同ディスプレイに表示されるバックアップグループ指定画面を示した図である。It is the figure which showed the backup group designation | designated screen displayed on the display. 同ディスプレイに表示されるバックアップグループ選定画面を示した図である。It is the figure which showed the backup group selection screen displayed on the display. 同ディスプレイに表示される所属マシニングセンタ詳細画面を示した図である。It is the figure which showed the belonging machining center detail screen displayed on the display. 同ディスプレイに表示される第2記憶形式選択画面を示した図である。It is the figure which showed the 2nd storage format selection screen displayed on the display. 同ディスプレイに表示されるバックアップデータファイル選定画面を示した図である。It is the figure which showed the backup data file selection screen displayed on the display.

<実施形態1>
本発明の実施形態1を、図1ないし図5を参照しつつ説明する。図1に示すデータバックアップシステム1は、第1マシニングセンタ11と、第2マシニングセンタ12と、第3マシニングセンタ13と、第4マシニングセンタ14と、第5マシニングセンタ15と、LANハブ20と、パーソナルコンピュータ30とを備えている。
<Embodiment 1>
Embodiment 1 of the present invention will be described with reference to FIGS. 1 to 5. The data backup system 1 shown in FIG. 1 includes a first machining center 11, a second machining center 12, a third machining center 13, a fourth machining center 14, a fifth machining center 15, a LAN hub 20, and a personal computer 30. I have.

LANハブ20の各ポートには、LANケーブルによって、第1ないし第5マシニングセンタ11〜15が接続されている。各マシニングセンタ11〜15には、各マシニングセンタ11〜15を制御する各種のデータが記憶されている。各種のデータには、例えば、主軸の回転数を制御するパラメータやNCプログラム等が含まれる。   The first to fifth machining centers 11 to 15 are connected to each port of the LAN hub 20 by a LAN cable. Each machining center 11-15 stores various data for controlling each machining center 11-15. The various data includes, for example, parameters for controlling the rotational speed of the spindle, NC programs, and the like.

第1ないし第5マシニングセンタ11〜15は、各マシニングセンタ11〜15の稼働中に、前記LANケーブルを通じてLANハブ20に、上記の各種のデータを送信する。LANハブ20は、第1ないし第5マシニングセンタ11〜15から送信された各種のデータを集約し、該集約したデータをパーソナルコンピュータ30に送信する。なお、第1ないし第5マシニングセンタ11〜15は、本発明の複数の外部装置の一例であり、パーソナルコンピュータ30は本発明のコンピュータの一例である。   The first to fifth machining centers 11 to 15 transmit the above various data to the LAN hub 20 through the LAN cable while the machining centers 11 to 15 are in operation. The LAN hub 20 aggregates various data transmitted from the first to fifth machining centers 11 to 15 and transmits the aggregated data to the personal computer 30. The first to fifth machining centers 11 to 15 are examples of a plurality of external devices of the present invention, and the personal computer 30 is an example of a computer of the present invention.

パーソナルコンピュータ30は、演算処理部31と、記憶部32とを備えている。演算処理部31には、上記のLANハブ20及び記憶部32が接続されている。記憶部32は、プログラム記憶部32Aと、データ記憶部32Bとを備えている。プログラム記憶部32Aには、データ送受信制御プログラム、データバックアップ制御プログラム、表示制御プログラム等が記憶されている。   The personal computer 30 includes an arithmetic processing unit 31 and a storage unit 32. The LAN hub 20 and the storage unit 32 are connected to the arithmetic processing unit 31. The storage unit 32 includes a program storage unit 32A and a data storage unit 32B. The program storage unit 32A stores a data transmission / reception control program, a data backup control program, a display control program, and the like.

演算処理部31には、各マシニングセンタ11〜15の稼働中に、LANハブ20を介し、各マシニングセンタ11〜15から上述した各種のデータが入力される。各種のデータは、フレーム単位に分割され、該データにはデータ種類識別情報が付された状態で、演算処理部31に入力される。演算処理部31は、後述するように、データ送受信制御プログラムに基づいて、各種のデータをデータ記憶部32Bの一時記憶領域に記憶する。   The various kinds of data described above are input from the machining centers 11 to 15 to the arithmetic processing unit 31 via the LAN hub 20 while the machining centers 11 to 15 are in operation. Various types of data are divided into frame units, and the data is input to the arithmetic processing unit 31 with data type identification information attached thereto. As will be described later, the arithmetic processing unit 31 stores various data in the temporary storage area of the data storage unit 32B based on the data transmission / reception control program.

続いて、演算処理部31は、データバックアップ制御プログラムに基づいて、後述するように、上記の一時記憶領域に記憶された各種のデータを、バックアップデータとしてデータ記憶部32Bに記憶する処理を実行する。なお、データ記憶部32Bは、本発明におけるコンピュータの記憶部の一例である。   Subsequently, based on the data backup control program, the arithmetic processing unit 31 executes a process of storing various data stored in the temporary storage area as backup data in the data storage unit 32B, as will be described later. . The data storage unit 32B is an example of a computer storage unit in the present invention.

次に、データバックアップ制御プログラムに基づいて、演算処理部31が、第1ないし第5マシニングセンタ11〜15の内から任意の1台のマシニングセンタに記憶されている各種のデータを、バックアップデータとしてデータ記憶部32Bに記憶する処理を説明する。以下では、一例として、演算処理部31が、第5マシニングセンタ15に記憶されている各種のデータを、バックアップデータとしてデータ記憶部32Bに記憶する第1バックアップデータ記憶処理を説明する。   Next, based on the data backup control program, the arithmetic processing unit 31 stores various data stored in any one of the first to fifth machining centers 11 to 15 as backup data. The process memorize | stored in the part 32B is demonstrated. Hereinafter, as an example, a first backup data storage process in which the arithmetic processing unit 31 stores various data stored in the fifth machining center 15 as backup data in the data storage unit 32B will be described.

演算処理部31は、第1バックアップデータ記憶処理(S10)として、図2に示すように、第1データファイルカウンタリセット処理(S11)と、マシニングセンタ選定処理(S12)と、第1バックアップデータ記憶形式設定処理(S13)と、第1バックアップデータ受信・記憶処理(S14)と、第1データファイルカウンタ加算処理(S15)等とを実行する。   As shown in FIG. 2, the arithmetic processing unit 31 performs a first backup data storage process (S10), a first data file counter reset process (S11), a machining center selection process (S12), and a first backup data storage format. A setting process (S13), a first backup data reception / storage process (S14), a first data file counter addition process (S15), and the like are executed.

第1データファイルカウンタリセット処理(S11)では、演算処理部31が、データファイルカウンタの値をリセットする処理を実行する。これにより、データファイルカウンタの値が「0」にセットされる。データファイルカウンタの値は、各マシニングセンタ11〜15に記憶された各種のデータの種類に応じて分類して該データを格納した各データファイルに対応させて定めている。   In the first data file counter reset process (S11), the arithmetic processing unit 31 executes a process of resetting the value of the data file counter. As a result, the value of the data file counter is set to “0”. The value of the data file counter is determined according to each data file that is classified according to the type of various data stored in each machining center 11 to 15 and stores the data.

本実施形態では、後述する第1バックアップデータ受信・記憶処理(S14)により、データ記憶部32Bに、各マシニングセンタ11〜15に記憶されて各マシニングセンタ11〜15で扱われる各種のデータに対応させた複数のデータファイルを記憶させた。ここでは、一例として、データ記憶部32Bに10個のデータファイルを記憶させた。10個のデータファイルとしては、データ0ファイルと、データ1ファイルと、データ2ファイルと、データ3ファイルと、データ4ファイルと、データ5ファイルと、データ6ファイルと、データ7ファイルと、データ8ファイルと、データ9ファイルとを有する。   In the present embodiment, the first backup data receiving / storing process (S14), which will be described later, is associated with various data stored in each machining center 11-15 and handled by each machining center 11-15 in the data storage unit 32B. Multiple data files were stored. Here, as an example, ten data files are stored in the data storage unit 32B. The ten data files include the data 0 file, the data 1 file, the data 2 file, the data 3 file, the data 4 file, the data 5 file, the data 6 file, the data 7 file, and the data 8. File and 9 data files.

加えて、本実施形態では、データ0ファイルに対応するデータファイルカウンタの値が「0」、データ1ファイルに対応するデータファイルカウンタの値が「1」、データ2ファイルに対応するデータファイルカウンタの値が「2」、データ3ファイルに対応するデータファイルカウンタの値が「3」、データ4ファイルに対応するデータファイルカウンタの値が「4」、データ5ファイルに対応するデータファイルカウンタの値が「5」、データ6ファイルに対応するデータファイルカウンタの値が「6」、データ7ファイルに対応するデータファイルカウンタの値が「7」、データ8ファイルに対応するデータファイルカウンタの値が「8」、データ9ファイルに対応するデータファイルカウンタの値が「9」にそれぞれセットされている。   In addition, in this embodiment, the value of the data file counter corresponding to the data 0 file is “0”, the value of the data file counter corresponding to the data 1 file is “1”, and The value is “2”, the value of the data file counter corresponding to the data 3 file is “3”, the value of the data file counter corresponding to the data 4 file is “4”, and the value of the data file counter corresponding to the data 5 file is “5”, the data file counter value corresponding to the data 6 file is “6”, the data file counter value corresponding to the data 7 file is “7”, and the data file counter value corresponding to the data 8 file is “8”. ”, The value of the data file counter corresponding to the data 9 file is set to“ 9 ”respectively. .

上記の第1データファイルカウンタリセット処理(S11)の後には、演算処理部31が、下記の如く、マシニングセンタ選定処理(S12)及び第1バックアップデータ記憶形式設定処理(S13)を実行する。本実施形態では、演算処理部31が、上記の表示制御プログラムによって、パーソナルコンピュータ30のディスプレイ(図示せず。以下同じ。)に、図3に示すバックアップデータ選択画面35Aを表示することを可能にした。パーソナルコンピュータ30の操作者が、以下の要領で、第5マシニングセンタ15に記憶されている各種のデータを読み出すように設定する操作を開始すると、演算処理部31が、下記のように、マシニングセンタ選定処理(S12)及び第1バックアップデータ記憶形式設定処理(S13)を実行する。   After the first data file counter reset process (S11), the arithmetic processing unit 31 executes a machining center selection process (S12) and a first backup data storage format setting process (S13) as described below. In the present embodiment, the arithmetic processing unit 31 can display the backup data selection screen 35A shown in FIG. 3 on the display (not shown) of the personal computer 30 by the display control program. did. When the operator of the personal computer 30 starts an operation for setting various data stored in the fifth machining center 15 to be read out in the following manner, the arithmetic processing unit 31 performs a machining center selection process as described below. (S12) and a first backup data storage format setting process (S13) are executed.

操作者は、マウス(図示せず。以下同じ。)によって、バックアップデータ選択画面35A内の「CNCから読出」の位置に、カーソルを移動させる。図3には、操作者が、カーソルを「CNCから読出」の位置へ移動させた後にマウスを左クリックし、「CNCから読出」を選択した例を示した。   The operator moves the cursor to the “read from CNC” position in the backup data selection screen 35A with a mouse (not shown; the same applies hereinafter). FIG. 3 shows an example in which the operator moves the cursor to the position “read from CNC”, left-clicks the mouse, and selects “read from CNC”.

図3には、操作者が、「CNCから読出」を選択した後に、マウスで「CNC選択の設定」を選択した例を示した。操作者が、マウスで、前記「CNC選択の設定」を選択した後に「CNC選択」を選択すると、演算処理部31が、表示制御プログラムによって、前記ディスプレイに、図4に示すマシニングセンタ選択画面35Bを表示する。マシニングセンタ選択画面35Bには、操作者が任意に選択可能なマシニングセンタの略称が表示される。図4中の「1ST」は第1マシニングセンタ11の略称、「2ST」は第2マシニングセンタ12の略称、「3ST」は第3マシニングセンタ13の略称、「4ST」は第4マシニングセンタ14の略称、「5ST」は第5マシニングセンタ15の略称をそれぞれ示す。   FIG. 3 shows an example in which the operator selects “Set CNC selection” with the mouse after selecting “Read from CNC”. When the operator selects “CNC selection” after selecting “CNC selection setting” with the mouse, the arithmetic processing unit 31 displays the machining center selection screen 35B shown in FIG. 4 on the display by the display control program. indicate. On the machining center selection screen 35B, abbreviations of machining centers that can be arbitrarily selected by the operator are displayed. 4, “1ST” is an abbreviation of the first machining center 11, “2ST” is an abbreviation of the second machining center 12, “3ST” is an abbreviation of the third machining center 13, “4ST” is an abbreviation of the fourth machining center 14, and “5ST”. "Represents the abbreviation of the fifth machining center 15, respectively.

続いて、操作者が、カーソルを、マシニングセンタ選択画面35B内の「5ST」の位置に移動させて、マウスを左クリックした後に、該マウスで、マシニングセンタ選択画面35B内の「変更」を選択すると、演算処理部31が、表示制御プログラムによって、前記ディスプレイに、図5に示す第1記憶形式選択画面35Cを表示する。第1記憶形式選択画面35Cには、第5マシニングセンタ15の略称「5ST」や、上述した各種のデータを格納するデータファイルの記憶形式が表示される。   Subsequently, when the operator moves the cursor to the position of “5ST” in the machining center selection screen 35B, left-clicks the mouse, and selects “change” in the machining center selection screen 35B with the mouse, The arithmetic processing unit 31 displays a first storage format selection screen 35C shown in FIG. 5 on the display by a display control program. The first storage format selection screen 35C displays the abbreviation “5ST” of the fifth machining center 15 and the storage format of the data file storing the various data described above.

上記のように、操作者が、マシニングセンタ選択画面35B内の「5ST」の位置でマウスを左クリックした後に、マウスで「変更」を選択すると、演算処理部31は、マシニングセンタ選定処理(S12)によって、第5マシニングセンタ15が選択されたことを判断する。なお、第5マシニングセンタ15は、本発明の一つの外部装置(任意の外部装置)の一例であり、マシニングセンタ選択画面35B及び演算処理部31は、本発明の外部装置選択手段の一例である。   As described above, when the operator left-clicks the mouse at the position “5ST” in the machining center selection screen 35B and selects “change” with the mouse, the arithmetic processing unit 31 performs the machining center selection process (S12). , It is determined that the fifth machining center 15 has been selected. The fifth machining center 15 is an example of one external device (arbitrary external device) of the present invention, and the machining center selection screen 35B and the arithmetic processing unit 31 are examples of the external device selection unit of the present invention.

次に、操作者が、第5マシニングセンタ15が「A−TYPE」のマシニングセンタでないために、マウスで、第1記憶形式選択画面35C内の「A−TYPE以外」を選択すると、演算処理部31が、データバックアップ制御プログラムを用い、第1バックアップデータ記憶形式設定処理(S13)によって、各データファイルを、DAT等の拡張子を付加した記憶形式のデータファイルへ変換すると共に、表示制御プログラムによって、図5に示すように、第1記憶形式選択画面35C内の表示を、該変換された記憶形式(DAT等の拡張子を付加した記憶形式)に切替表示する。本実施形態では、DAT等の拡張子を付加したデータファイルの記憶形式は、第5マシニングセンタ15に記憶されたデータを格納するデータファイルの記憶形式と一致する。なお、第1記憶形式選択画面35C及び演算処理部31は、本発明の記憶形式選択手段の一例である。   Next, when the operator selects “other than A-TYPE” in the first storage format selection screen 35C with the mouse because the fifth machining center 15 is not the “A-TYPE” machining center, the arithmetic processing unit 31 The data backup control program is used to convert each data file into a data file having a storage format with an extension such as DAT by the first backup data storage format setting process (S13). As shown in FIG. 5, the display in the first storage format selection screen 35C is switched to the converted storage format (a storage format with an extension such as DAT). In the present embodiment, the storage format of the data file with the extension such as DAT matches the storage format of the data file storing the data stored in the fifth machining center 15. The first storage format selection screen 35C and the arithmetic processing unit 31 are examples of the storage format selection means of the present invention.

第1バックアップデータ記憶形式設定処理(S13)の後には、演算処理部31が、下記の如く、第1バックアップデータ受信・記憶処理(S14)を実行する。操作者が、上記のように、第1記憶形式選択画面35C内における各データファイルの記憶形式の表示が、第5マシニングセンタ15に記憶されたデータを格納するデータファイルの記憶形式(ここでは、DAT等の拡張子を付加した記憶形式)に切替表示されたことを確認した後に、マウスで、第1記憶形式選択画面35C内の「OK」を選択すると、演算処理部31が、再びディスプレイに、バックアップデータ選択画面35Aを表示する。   After the first backup data storage format setting process (S13), the arithmetic processing unit 31 executes the first backup data reception / storage process (S14) as described below. As described above, the operator displays the storage format of each data file in the first storage format selection screen 35C as the storage format of the data file that stores the data stored in the fifth machining center 15 (in this case, DAT If the user selects “OK” in the first storage format selection screen 35C with the mouse after confirming that the display is switched to the storage format with an extension such as), the arithmetic processing unit 31 again displays on the display. The backup data selection screen 35A is displayed.

その後、操作者が、マウスで、バックアップデータ選択画面35A内の「1台分取得」を選択した上で「開始」を選択すると、演算処理部31が、データ送受信制御プログラムを用い、第1バックアップデータ受信・記憶処理(S14)によって、上記のフレームに付されたデータ種類情報を識別する処理を実行する。   Thereafter, when the operator selects “start” after selecting “acquisition of one unit” in the backup data selection screen 35A with the mouse, the arithmetic processing unit 31 uses the data transmission / reception control program to perform the first backup. By the data reception / storage process (S14), a process for identifying the data type information attached to the frame is executed.

第1バックアップデータ受信・記憶処理(S14)では、演算処理部31が、データ送受信制御プログラムを用い、上記の識別したデータ種類情報に基づいて、上述した各データファイル(データ0ファイル〜データ9ファイル)を順次作成することが可能である。   In the first backup data receiving / storing process (S14), the arithmetic processing unit 31 uses the data transmission / reception control program and based on the identified data type information, the above-described data files (data 0 file to data 9 file). ) Can be created sequentially.

これに続き、第1バックアップデータ受信・記憶処理(S14)では、演算処理部31が、データ送受信制御プログラムを用い、下記の如く、上記の各データファイルを、データファイルカウンタの値「0」と対応付けしたデータ0ファイルから、データファイルカウンタの値「9」と対応付けしたデータ9ファイルへの順番でデータ記憶部32Bの一時記憶領域に順次記憶する処理が実行可能である。その後、演算処理部31は、各マシニングセンタ11〜15の稼働中に、データバックアップ制御プログラムを用い、下記の如く、一時記憶領域に記憶された各データファイルを、データ0ファイルからデータ9ファイルへの順番でデータ記憶部32Bに順次記憶する処理が実行可能である。このとき、演算処理部31は、第1バックアップ記憶形式設定処理(S13)によって変換した記憶形式(DAT等の拡張子を付加した記憶形式)で、各データファイルを、一時記憶領域及びデータ記憶部32Bに記憶する処理を実行可能である。   Subsequently, in the first backup data reception / storage process (S14), the arithmetic processing unit 31 uses the data transmission / reception control program to set each of the above data files to the value “0” of the data file counter as described below. A process of sequentially storing data in the temporary storage area of the data storage unit 32B in the order from the associated data 0 file to the data 9 file associated with the value “9” of the data file counter can be executed. Thereafter, the arithmetic processing unit 31 uses the data backup control program while the machining centers 11 to 15 are in operation, and converts each data file stored in the temporary storage area from the data 0 file to the data 9 file as described below. A process of sequentially storing in the data storage unit 32B in order can be executed. At this time, the arithmetic processing unit 31 stores each data file as a temporary storage area and a data storage unit in the storage format (storage format with an extension such as DAT) converted by the first backup storage format setting process (S13). The processing stored in 32B can be executed.

第1バックアップデータ受信・記憶処理(S14)により、演算処理部31が、データファイルカウンタが「0」にセットされていると判断した場合には、データ0ファイルを、一時記憶領域に記憶する処理を実行したことに続き、該一時記憶領域からデータ記憶部32Bに記憶する処理を実行する。その後には、演算処理部31が、第1データファイルカウンタ加算処理(S15)を実行する。第1データファイルカウンタ加算処理(S15)では、データファイルカウンタの値をインクリメントする処理を実行する。これにより、データファイルカウンタの値が「1」にセットされる。   Processing that stores the data 0 file in the temporary storage area when the arithmetic processing unit 31 determines that the data file counter is set to “0” by the first backup data reception / storage processing (S14). Following the execution of the process, the process of storing from the temporary storage area into the data storage unit 32B is executed. Thereafter, the arithmetic processing unit 31 executes a first data file counter addition process (S15). In the first data file counter addition process (S15), a process of incrementing the value of the data file counter is executed. As a result, the value of the data file counter is set to “1”.

第1データファイルカウンタ加算処理(S15)の後には、演算処理部31が、データファイルカウンタの値が上限値(ここでは「9」)を超過しているか否かを判断する(S16)。S16において、演算処理部31が、データファイルカウンタの値が上限値「9」を超過せず「1」にセットされていると判断した場合には、上述した第1バックアップデータ受信・記憶処理(S14)を実行する。   After the first data file counter addition process (S15), the arithmetic processing unit 31 determines whether or not the value of the data file counter exceeds the upper limit value (here, “9”) (S16). In S16, when the arithmetic processing unit 31 determines that the value of the data file counter does not exceed the upper limit “9” and is set to “1”, the first backup data reception / storage process (described above) S14) is executed.

この第1バックアップデータ受信・記憶処理(S14)では、演算処理部31が、データファイルカウンタの値「1」と対応付けしたデータ1ファイルを、データ記憶部32Bに記憶する処理を実行する。その後に、演算処理部31は、上述した第1データファイルカウンタ加算処理(S15)を実行し、データファイルカウンタの値を「2」にセットする。   In the first backup data reception / storage process (S14), the arithmetic processing unit 31 executes a process of storing the data 1 file associated with the value “1” of the data file counter in the data storage unit 32B. Thereafter, the arithmetic processing unit 31 executes the first data file counter addition process (S15) described above, and sets the value of the data file counter to “2”.

これに続き、演算処理部31が、上述したS16において、データファイルカウンタの値が上限値「9」を超過せず「2」にセットされていると判断した場合には、再び第1バックアップデータ受信・記憶処理(S14)を実行する。演算処理部31は、S16において、データファイルカウンタの値が上限値「9」に至るまで、第1データ受信・記憶処理(S14)により、データ2ファイルからデータ9ファイルへの順で、各データファイルを、データ記憶部32Bに記憶する処理を順次実行する。これにより、本実施形態では、演算処理部31が、データ記憶部32Bに、第5マシニングセンタ15に記憶された各種のデータに対応させて10個のデータファイルを記憶させることができる。   Subsequently, if the arithmetic processing unit 31 determines in S16 described above that the value of the data file counter does not exceed the upper limit value “9” and is set to “2”, the first backup data again. A reception / storage process (S14) is executed. In S16, the arithmetic processing unit 31 performs the first data reception / storage process (S14) until the value of the data file counter reaches the upper limit value “9” in order from the data 2 file to the data 9 file. The process of storing the file in the data storage unit 32B is sequentially executed. Thereby, in this embodiment, the arithmetic processing part 31 can memorize | store 10 data files in the data storage part 32B corresponding to the various data memorize | stored in the 5th machining center 15. FIG.

演算処理部31は、S16において、データファイルカウンタの値が上限値「9」を超過して「10」にセットされていると判断した場合には、第1データバックアップ記憶処理(S10)を終了する。これにより、演算処理部31が、第5マシニングセンタ15から受信したデータを、該第5マシニングセンタ15に記憶されたデータを格納するデータファイルの記憶形式で、データ記憶部32Bに記憶(バックアップ)する処理が完了する。   If the arithmetic processing unit 31 determines in S16 that the value of the data file counter exceeds the upper limit “9” and is set to “10”, the arithmetic processing unit 31 ends the first data backup storage process (S10). To do. As a result, the processing unit 31 stores (backups) the data received from the fifth machining center 15 in the data storage unit 32B in the data file storage format for storing the data stored in the fifth machining center 15. Is completed.

第5マシニングセンタ15に故障等が発生した場合には、該第5マシニングセンタ15の故障等が発生する前の状態へ復旧する必要がある。この場合には、上記のデータ記憶部32Bにバックアップしたデータファイルをバックアップメディアに記憶させ、該バックアップメディアに記憶させたデータファイルを用い、第5マシニングセンタ15に記憶されていたデータを故障等が発生する前の状態へ復旧させることができる。このとき、バックアップメディアに記憶させたデータファイルの記憶形式は、第5マシニングセンタ15に記憶されたデータを格納するデータファイルの記憶形式と一致するため、データバックアップシステム1の操作者が、バックアップメディアに記憶させたデータファイルの記憶形式を、第5マシニングセンタ15のデータファイルの記憶形式に一致させるように変更する作業が不要となる。これにより、操作者が第5マシニングセンタ15を故障等が発生する前の状態へ復旧させる作業の負担を軽減できる。   When a failure or the like occurs in the fifth machining center 15, it is necessary to restore the state before the failure or the like of the fifth machining center 15 occurs. In this case, the data file backed up in the data storage unit 32B is stored in the backup medium, and the data stored in the fifth machining center 15 is damaged by using the data file stored in the backup medium. It is possible to restore to the state before the operation. At this time, since the storage format of the data file stored in the backup medium matches the storage format of the data file storing the data stored in the fifth machining center 15, the operator of the data backup system 1 can store the backup file in the backup medium. There is no need to change the storage format of the stored data file so that it matches the storage format of the data file of the fifth machining center 15. Thereby, the burden of the operation | work which an operator restores the 5th machining center 15 to the state before a failure etc. generate | occur | produce can be reduced.

<実施形態1の効果>
実施形態1のデータバックアップシステム1では、上述したように、操作者が、マウスによって、マシニングセンタ選択画面35B内の「5ST」の位置を左クリックした後に「変更」を選択すると、演算処理部31が、マシニングセンタ選定処理(S12)によって、第1ないし第5マシニングセンタ11〜15の内から第5マシニングセンタ15を選択可能である。このため、従来とは異なり、第5マシニングセンタ15に記憶されたデータをバックアップするために、操作者が、パーソナルコンピュータ30に予め搭載されたアプリケーションプログラム用のパラメータ等を書き換える知識を身に付けていなくても、マウスで、マシニングセンタ選択画面35B内の「5ST」と「変更」とを選択するだけで、第5マシニングセンタ15を選択することができる。これにより、操作者の誰もが、マシニングセンタ選択画面35B内の「5ST」と「変更」とを選択するだけで、任意のマシニングセンタとして、容易に第5マシニングセンタ15が選択可能になる。
また、上記のように、操作者は、マウスによって、マシニングセンタ選択画面35B内の「5ST」と「変更」とを選択するだけで、第5マシニングセンタ15を選択可能であるため、アプリケーションプログラムに関する知識を有する操作者が、誤ってアプリケーションプログラム用のパラメータ等を書き換える作業を行って、第5マシニングセンタ15が選択できないといった不都合が生じることを防止できる。
<Effect of Embodiment 1>
In the data backup system 1 of the first embodiment, as described above, when the operator left-clicks the position of “5ST” in the machining center selection screen 35B with the mouse and selects “change”, the arithmetic processing unit 31 The fifth machining center 15 can be selected from the first to fifth machining centers 11 to 15 by the machining center selection process (S12). For this reason, unlike the prior art, the operator does not have the knowledge to rewrite the parameters for application programs preinstalled in the personal computer 30 in order to back up the data stored in the fifth machining center 15. However, the fifth machining center 15 can be selected simply by selecting “5ST” and “change” in the machining center selection screen 35B with the mouse. Thus, any operator can easily select the fifth machining center 15 as an arbitrary machining center simply by selecting “5ST” and “change” in the machining center selection screen 35B.
In addition, as described above, the operator can select the fifth machining center 15 only by selecting “5ST” and “Change” in the machining center selection screen 35B with the mouse. It can be prevented that the operator having the wrong operation of rewriting the parameters for the application program or the like inadvertently causes the inconvenience that the fifth machining center 15 cannot be selected.

加えて、上述したように、データバックアップ制御プログラムにより、演算処理部31は、第1バックアップデータ受信・記憶処理(S14)において、操作者が選択した第5マシニングセンタ15に記憶されたデータを格納する各データファイル(データ0ファイル等)をデータ記憶部32Bに順次記憶させる処理が実行可能である。このため、第1バックアップデータ受信・記憶処理(S14)においては、第1ないし第5マシニングセンタ11〜15のそれぞれに記憶された全てのデータではなく、バックアップを必要とする第5マシニングセンタ15に記憶されたデータのみを選択してデータ記憶部32Bにバックアップさせることが可能になる。これにより、バックアップが必要なデータを効率的にバックアップする処理が可能になる。   In addition, as described above, the arithmetic processing unit 31 stores the data stored in the fifth machining center 15 selected by the operator in the first backup data reception / storage process (S14) by the data backup control program. A process of sequentially storing each data file (data 0 file or the like) in the data storage unit 32B can be executed. For this reason, in the first backup data reception / storage process (S14), not all the data stored in each of the first to fifth machining centers 11 to 15 is stored in the fifth machining center 15 that requires backup. It is possible to select only the data to be backed up in the data storage unit 32B. As a result, it is possible to efficiently back up data that needs to be backed up.

さらに、上述したような、操作者が、任意のマシニングセンタとして第5マシニングセンタ15を選択する以外にも、例えば、マシニングセンタ選択画面35B内で「5ST」の位置以外の「3ST」を選択すれば、演算処理部31が、上述の第1バックアップデータ受信・記憶処理(S14)において、第3マシニングセンタ13に記憶されたデータのみを選択してデータ記憶部32Bにバックアップさせることが可能になる。これにより、バックアップを必要とするデータを、第1ないし第5マシニングセンタ11〜15の内から一つのマシニングセンタ毎にデータ記憶部32Bへバックアップする処理が可能になる。   Further, in addition to selecting the fifth machining center 15 as an arbitrary machining center as described above, for example, if the operator selects “3ST” other than the “5ST” position on the machining center selection screen 35B, the calculation is performed. In the first backup data reception / storage process (S14), the processing unit 31 can select only the data stored in the third machining center 13 and back it up in the data storage unit 32B. As a result, it is possible to back up data requiring backup to the data storage unit 32B for each machining center from the first to fifth machining centers 11-15.

さらに加えて、上述したように、操作者が、マウスによって、第1記憶形式選択画面35C内の「A−TYPE以外」を選択すると、演算処理部31は、データバック制御プログラムを用い、第1バックアップデータ記憶形式設定処理(S13)によって、各データファイルの記憶形式を、第5マシニングセンタ15に記憶されたデータを格納するデータファイルの記憶形式に変換する。その後、演算処理部31は、第1バックアップデータ受信・記憶処理(S14)において、第5マシニングセンタ15から受信したデータを、該第5マシニングセンタ15に記憶されたデータを格納するデータファイルの記憶形式で、データ記憶部32Bに記憶(バックアップ)する処理を実行する。
このため、例えば、第5マシニングセンタ15の故障等により、該第5マシニングセンタ15に記憶すべきデータを復旧させる必要がある場合には、演算処理部31が、上述の第1バックアップデータ受信・記憶処理(S14)において、データ記憶部32Bにバックアップしたデータファイルを直接利用して、第5マシニングセンタ15に記憶すべきデータを復旧させることができる。これにより、第5マシニングセンタ15に記憶すべきデータを復旧させる作業を、容易かつ迅速に行うことが可能になる。
In addition, as described above, when the operator selects “other than A-TYPE” in the first storage format selection screen 35C with the mouse, the arithmetic processing unit 31 uses the data back control program to By the backup data storage format setting process (S13), the storage format of each data file is converted into the storage format of the data file storing the data stored in the fifth machining center 15. Thereafter, the arithmetic processing unit 31 stores the data received from the fifth machining center 15 in the first backup data reception / storage process (S14) in the data file storage format for storing the data stored in the fifth machining center 15. Then, a process of storing (backup) in the data storage unit 32B is executed.
For this reason, for example, when it is necessary to restore data to be stored in the fifth machining center 15 due to a failure of the fifth machining center 15, the arithmetic processing unit 31 performs the above-described first backup data reception / storage process. In (S14), the data to be stored in the fifth machining center 15 can be recovered by directly using the data file backed up in the data storage unit 32B. This makes it possible to easily and quickly perform the work of restoring the data to be stored in the fifth machining center 15.

<実施形態2>
本発明の実施形態2を、図6ないし図11を参照しつつ説明する。ここでは、実施形態1と同一の構成は同一の符号を付しその説明を省略する。本実施形態のデータバックアップシステム1A(図1参照。)では、例えば、頻繁にデータのバックアップを必要するマシニングセンタや頻繁に加工プログラム用のパラメータ等の書き換えが必要なマシニングセンタに応じ、第1ないし第5マシニングセンタ11〜15をグループ分けしている。ここでは、第1マシニングセンタ11、第3及び第4マシングセンタ13、14が第1グループに、第2マシングセンタ12及び第5マシニングセンタ15が第2グループに、それぞれ属するようにグループ分けした。本実施形態では、第1グループに対応するバックアップグループカウンタの値が「0」、第2グループに対応するバックアップグループカウンタの値が「1」にそれぞれセットされている。
<Embodiment 2>
A second embodiment of the present invention will be described with reference to FIGS. Here, the same configurations as those of the first embodiment are denoted by the same reference numerals, and the description thereof is omitted. In the data backup system 1A (see FIG. 1) of the present embodiment, for example, the first to the fifth ones according to the machining center that frequently needs to back up data and the machining center that frequently needs to rewrite parameters for machining programs. The machining centers 11 to 15 are grouped. Here, the first machining center 11, the third and fourth machining centers 13 and 14 are grouped so that they belong to the first group, and the second machining center 12 and the fifth machining center 15 belong to the second group. In this embodiment, the value of the backup group counter corresponding to the first group is set to “0”, and the value of the backup group counter corresponding to the second group is set to “1”.

以下に、一例として、演算処理部31が、第1グループに属する各マシニングセンタ11、13、14に記憶されている各種のデータを、バックアップデータとしてデータ記憶部32Bに記憶する第2バックアップデータ記憶処理を説明する。第2バックアップデータ記憶処理では、後述するように、操作者が、第1グループに属する各マシニングセンタ11、13、14の各データファイル(データ0ファイル等)の内から特定のデータファイルを選定してデータ記憶部32Bに記憶させる処理が可能である。   Hereinafter, as an example, a second backup data storage process in which the arithmetic processing unit 31 stores various data stored in the machining centers 11, 13, and 14 belonging to the first group in the data storage unit 32B as backup data. Will be explained. In the second backup data storage process, as will be described later, the operator selects a specific data file from each data file (data 0 file, etc.) of each machining center 11, 13, 14 belonging to the first group. Processing to be stored in the data storage unit 32B is possible.

演算処理部31は、第2バックアップデータ記憶処理(S20)として、図6に示すように、マシニングセンタカウンタリセット処理(S21)と、第2データファイルカウンタリセット処理(S22)と、バックアップグループ選定処理(S23)と、第2バックアップデータ記憶形式設定処理(S24)と、バックアップデータファイル選定処理(S25)と、バックアップグループ選定処理(S23)で選定したグループに属するマシニングセンタに対応付けした値とマシニングセンタカウンタの値とが一致するか否かの判断(S26)と、バックアップデータファイル選定処理(S25)で選定したバックアップデータファイルに対応付けした値とデータファイルカウンタの値とが一致するか否かの判断(S27)と、第2バックアップデータ受信・記憶処理(S28)と、第2データファイルカウンタ加算処理(S29)と、データファイルカウンタの値が上限値を超過したか否かの判断(S30)と、マシニングセンタカウンタ加算処理(S31)と、マシニングセンタカウンタの値が上限値を超過したか否かの判断(S32)とを実行する。   As shown in FIG. 6, the arithmetic processing unit 31 performs machining center counter reset processing (S21), second data file counter reset processing (S22), and backup group selection processing (S20) as second backup data storage processing (S20). S23), the second backup data storage format setting process (S24), the backup data file selection process (S25), the value associated with the machining center belonging to the group selected in the backup group selection process (S23), and the machining center counter Determination of whether or not the values match (S26), and determination of whether or not the value associated with the backup data file selected in the backup data file selection processing (S25) matches the value of the data file counter ( S27) and the second backer Data reception / storage processing (S28), second data file counter addition processing (S29), determination of whether the value of the data file counter exceeds the upper limit (S30), and machining center counter addition processing (S31) Then, it is determined whether or not the value of the machining center counter has exceeded the upper limit value (S32).

本実施形態では、第1グループに属する第1マシニングセンタ11に対応するマシニングセンタカウンタの値が「0」、該グループに属する第3マシニングセンタ13に対応するマシニングセンタカウンタの値が「2」、該グループに属する第4マシニングセンタ14に対応するマシニングセンタカウンタの値が「3」にそれぞれセットされている。   In the present embodiment, the value of the machining center counter corresponding to the first machining center 11 belonging to the first group is “0”, the value of the machining center counter corresponding to the third machining center 13 belonging to the group is “2”, and belongs to the group The value of the machining center counter corresponding to the fourth machining center 14 is set to “3”.

マシニングセンタカウンタリセット処理(S21)では、演算処理部31が、マシニングセンタカウンタの値をリセットする処理を実行する。これにより、マシニングセンタカウンタの値が「0」にセットされる。   In the machining center counter reset process (S21), the arithmetic processing unit 31 executes a process for resetting the value of the machining center counter. As a result, the value of the machining center counter is set to “0”.

マシニングセンタカウンタリセット処理(S21)の後には、演算処理部31が、第2データファイルカウンタリセット処理(S22)を実行する。第2データファイルカウンタリセット処理(S22)では、データファイルカウンタの値をリセットする処理を実行する。これにより、データファイルカウンタの値が「0」にセットされる。データファイルカウンタの値は、実施形態1の場合と同様に、第1グループに属する各マシニングセンタ11、13、14にそれぞれ記憶された各種のデータの種類に応じて分類して該データを格納した各データファイルに対応させて定めている。   After the machining center counter reset process (S21), the arithmetic processing unit 31 executes a second data file counter reset process (S22). In the second data file counter reset process (S22), a process of resetting the value of the data file counter is executed. As a result, the value of the data file counter is set to “0”. As in the case of the first embodiment, the value of the data file counter is classified according to the type of various data stored in each of the machining centers 11, 13, 14 belonging to the first group. It is determined according to the data file.

第2データファイルカウンタリセット処理(S22)の後には、演算処理部31が、下記の如く、バックアップグループ選定処理(S23)及び第2バックアップデータ記憶形式設定処理(S24)を実行する。本実施形態では、実施形態1と同様に、演算処理部31が、表示制御プログラムによって、パーソナルコンピュータ30のディスプレイに、図3に示すバックアップデータ選択画面35Aを表示する。   After the second data file counter reset process (S22), the arithmetic processing unit 31 executes a backup group selection process (S23) and a second backup data storage format setting process (S24) as described below. In the present embodiment, as in the first embodiment, the arithmetic processing unit 31 displays the backup data selection screen 35A shown in FIG. 3 on the display of the personal computer 30 by the display control program.

パーソナルコンピュータ30の操作者は、実施形態1と同様に、マウスによって、バックアップデータ選択画面35A内の「CNCから読出」を選択した後に「グループ指定」を選択すると、演算処理部31が、表示制御プログラムによって、前記ディスプレイに、図7に示すバックアップグループ指定画面35Dを表示する。   When the operator of the personal computer 30 selects “Group designation” after selecting “Read from CNC” in the backup data selection screen 35A with the mouse, as in the first embodiment, the arithmetic processing unit 31 performs display control. A backup group designation screen 35D shown in FIG. 7 is displayed on the display by the program.

次に、操作者が、マウスによって、バックアップグループ指定画面35D内の「参照」を選択すると、演算処理部31が、表示制御プログラムによって、ディスプレイに、図8に示すバックアップグループ選定画面35Eを表示する。バックアップグループ選定画面35Eには、操作者が選定可能なグループ(ここでは、第1グループ及び第2グループ)が表示される。   Next, when the operator selects “reference” in the backup group designation screen 35D with the mouse, the arithmetic processing unit 31 displays the backup group selection screen 35E shown in FIG. 8 on the display by the display control program. . The backup group selection screen 35E displays groups that can be selected by the operator (here, the first group and the second group).

続いて、操作者が、マウスによって、バックアップグループ選定画面35E内の「第1グループ」を選択した後に「開く」を選択すると、演算処理部31は、バックアップグループ選定処理(S23)によって、第1グループ(各マシニングセンタ11、13、14)が選定されたことを判断する。なお、バックアップグループ選定画面35E及び演算処理部31は、本発明の外部装置選択手段の一例である。   Subsequently, when the operator selects “Open” after selecting the “first group” in the backup group selection screen 35E with the mouse, the arithmetic processing unit 31 performs the first operation by the backup group selection process (S23). It is determined that a group (each machining center 11, 13, 14) has been selected. The backup group selection screen 35E and the arithmetic processing unit 31 are examples of the external device selection unit of the present invention.

上記のように、操作者が、マウスによって、バックアップグループ選定画面35E内の「開く」を選択すると、演算処理部31が、再びディスプレイに、バックアップグループ指定画面35D(図7参照。)を表示する。その後、操作者が、マウスによって、バックアップグループ指定画面35D内の「OK」を選択すると、演算処理部31が、再びディスプレイに、バックアップデータ選択画面35A(図3参照。)を表示する。   As described above, when the operator selects “Open” in the backup group selection screen 35E with the mouse, the arithmetic processing unit 31 displays the backup group designation screen 35D (see FIG. 7) on the display again. . Thereafter, when the operator selects “OK” in the backup group designation screen 35D with the mouse, the arithmetic processing unit 31 displays the backup data selection screen 35A (see FIG. 3) on the display again.

さらに、操作者が、マウスによって、バックアップデータ選択画面35A内の「CNC選択の設定」を選択した後に「CNC選択」を選択すると、演算処理部31が、表示制御プログラムによって、ディスプレイに、図9に示す所属マシニングセンタ詳細画面35Fを表示する。図9に示す所属マシングセンタ詳細画面35Fには、第1グループに属する各マシニングセンタ11、13、14の略称(「1ST」、「3ST」、「4ST」)が表示される。   Further, when the operator selects “CNC selection” after selecting “CNC selection setting” in the backup data selection screen 35A with the mouse, the arithmetic processing unit 31 displays the FIG. The affiliated machining center detail screen 35F shown in FIG. The abbreviations (“1ST”, “3ST”, “4ST”) of the machining centers 11, 13, and 14 belonging to the first group are displayed on the belonging machine center detail screen 35F shown in FIG.

引き続いて、操作者が、所属マシニングセンタ詳細画面35F内の「1ST」の位置でマウスを左クリックした後に、該マウスで、所属マシニングセンタ詳細画面35F内の「変更」を選択すると、演算処理部31は、前記ディスプレイに、実施形態1の図5に示したものと同種の第2記憶形式選択画面35G(図10参照。)を表示する。第2記憶形式選択画面35Gには、図5に示した第1記憶形式選択画面35Cとは異なり、操作者が所属マシニングセンタ詳細画面35F内にて選択した第1マシニングセンタ11の略称が表示される。   Subsequently, when the operator left-clicks the mouse at the position “1ST” in the affiliated machining center detail screen 35F and selects “change” in the affiliated machining center detail screen 35F with the mouse, the arithmetic processing unit 31 The second storage format selection screen 35G (see FIG. 10) of the same type as that shown in FIG. 5 of the first embodiment is displayed on the display. Unlike the first storage format selection screen 35C shown in FIG. 5, the second storage format selection screen 35G displays the abbreviation of the first machining center 11 selected by the operator in the belonging machining center detail screen 35F.

操作者が、第1マシニングセンタ11が「A−TYPE」のマシニングセンタであるために、マウスで、第2記憶形式選択画面35G内の「A−TYPE以外」を選択しない場合には、演算処理部31が、第2データバックアップ記憶形式処理(S24)により、各データファイルを、TXT等の拡張子を付加した記憶形式のデータファイルへ変換すると共に、表示制御プログラムによって、図10に示すように、第2記憶形式選択画面35G内には、該変換された記憶形式(TXT等の拡張子を付加した記憶形式)が表示される。本実施形態では、TXT等の拡張子を付加したデータファイルの記憶形式は、第1マシニングセンタ11に記憶されたデータを格納するデータファイルの記憶形式と一致する。なお、第2記憶形式選択画面35G及び演算処理部31は、本発明の記憶形式選択手段の一例である。   When the operator does not select “other than A-TYPE” in the second storage format selection screen 35G with the mouse because the first machining center 11 is the “A-TYPE” machining center, the arithmetic processing unit 31 However, in the second data backup storage format process (S24), each data file is converted into a storage format data file with an extension such as TXT, and the display control program uses the second data backup storage format process (S24), as shown in FIG. 2 In the storage format selection screen 35G, the converted storage format (storage format with an extension such as TXT) is displayed. In the present embodiment, the storage format of the data file with an extension such as TXT matches the storage format of the data file that stores the data stored in the first machining center 11. The second storage format selection screen 35G and the arithmetic processing unit 31 are an example of the storage format selection means of the present invention.

操作者は、第1マシニングセンタ11に加えて、第3及び第4マシニングセンタ13、14についても、上述した所属マシニングセンタ詳細画面35F内で「3ST」「4ST」を選択する操作と、上述した第2記憶形式選択画面35G内の「A−TYPE以外」の位置でデータファイルの記憶形式を選択又は非選択する操作を行う。これにより、演算処理部51が、第2データバックアップ記憶形式処理(S24)により、データ記憶部32Bに記憶するデータファイルの記憶形式を、第3及び第4マシニングセンタ13、14にそれぞれ記憶されたデータを格納する各データファイルの記憶形式に設定する。   In addition to the first machining center 11, the operator selects “3ST” and “4ST” on the above-mentioned belonging machining center detail screen 35F for the third and fourth machining centers 13 and 14, and the second memory described above. An operation for selecting or deselecting the storage format of the data file is performed at a position other than “A-TYPE” in the format selection screen 35G. Thereby, the data processing unit 51 stores the data file storage format stored in the data storage unit 32B in the third and fourth machining centers 13 and 14 by the second data backup storage format processing (S24). Is set to the storage format of each data file for storing.

上記のバックアップグループ選定処理(S23)及び第2バックアップデータ記憶形式設定処理(S24)の後には、演算処理部31が、下記の如く、バックアップデータファイル選定処理(S25)を実行する。操作者が、マウスによって、第2記憶形式選択画面35G内の「OK」を選択すると、演算処理部31が、ディスプレイに、上記のバックアップデータ選択画面35A(図3参照。)を表示する。さらに、操作者が、マウスにより、バックアップデータ選択画面35A内の「設定」を選択すると、演算処理部31は、表示制御プログラムによって、ディスプレイに、図11に示すバックアップデータファイル選定画面35Hを表示する。バックアップデータファイル選定画面35Hには、操作者が選択可能なバックアップデータファイルとして、上述した10個のデータファイル名が表示される。   After the backup group selection process (S23) and the second backup data storage format setting process (S24), the arithmetic processing unit 31 executes the backup data file selection process (S25) as described below. When the operator selects “OK” in the second storage format selection screen 35G with the mouse, the arithmetic processing unit 31 displays the backup data selection screen 35A (see FIG. 3) on the display. Further, when the operator selects “setting” in the backup data selection screen 35A with the mouse, the arithmetic processing unit 31 displays the backup data file selection screen 35H shown in FIG. 11 on the display by the display control program. . The above-mentioned 10 data file names are displayed on the backup data file selection screen 35H as backup data files that can be selected by the operator.

図11には、操作者が、マウスにより、バックアップデータファイルとして、データ0ファイル及びデータ1ファイルを選択した例を示した。操作者が、データ0ファイル及びデータ1ファイルを選択した後に、バックアップデータファイル選定画面35H内の「OK」を選択することにより、演算処理部31が、バックアップデータファイル選定処理(S25)により、バックアップデータファイルとして、データ0ファイル及びデータ1ファイルが選定されたことを判断する。なお、データ0ファイル及びデータ1ファイルは、本発明の特定のデータファイルの一例であり、バックアップデータファイル選定画面35H及び演算処理部31は、本発明のデータファイル選択手段の一例である。   FIG. 11 shows an example in which the operator selects a data 0 file and a data 1 file as backup data files with the mouse. When the operator selects the data 0 file and the data 1 file and then selects “OK” in the backup data file selection screen 35H, the arithmetic processing unit 31 performs backup by the backup data file selection process (S25). It is determined that the data 0 file and the data 1 file are selected as the data file. The data 0 file and the data 1 file are examples of specific data files of the present invention, and the backup data file selection screen 35H and the arithmetic processing unit 31 are examples of the data file selection means of the present invention.

バックアップデータファイル選定処理(S25)の後には、演算処理部31は、マシニングセンタカウンタの値が、バックアップグループ選定処理(S23)によって選定された第1グループに属する第1マシニングセンタ11に対応付けしたマシニングセンタカウンタの値「0」と一致するか否かを判断する(S26)。S26において、演算処理部31により、マシニングセンタカウンタの値「0」が、第1マシニングセンタ11に対応付けしたマシニングカウンタの値「0」と一致すると判断した場合には、下記のS27の判断が行われる。   After the backup data file selection process (S25), the arithmetic processing unit 31 sets the machining center counter value corresponding to the first machining center 11 belonging to the first group selected by the backup group selection process (S23). It is determined whether or not the value matches the value “0” (S26). In S26, when the arithmetic processing unit 31 determines that the value “0” of the machining center counter matches the value “0” of the machining counter associated with the first machining center 11, the following determination of S27 is performed. .

S27では、演算処理部31は、データファイルカウンタの値が、バックアップデータファイル選定処理(S25)によって選定されたデータファイルの値と一致するか否かを判断する。S27において、演算処理部31により、データファイルカウンタの値「0」が、データ0ファイルに対応付けしたデータファイルカウンタの値「0」と一致すると判断された場合には、下記の如く、第2バックデータアップ受信・記憶処理(S28)が実行される。   In S27, the arithmetic processing unit 31 determines whether or not the value of the data file counter matches the value of the data file selected by the backup data file selection process (S25). In S27, when the arithmetic processing unit 31 determines that the value “0” of the data file counter matches the value “0” of the data file counter associated with the data 0 file, the second value is set as follows. Back data up reception / storage processing (S28) is executed.

第2バックデータアップ受信・記憶処理(S28)では、演算処理部31が、下記の如く、第1マシニングセンタ11、第3マシニングセンタ13、第4マシニングセンタ14の順で、各マシニングセンタ11、13、14のデータ0ファイル及びデータ1ファイルを、第2バックアップ記憶形式設定処理(S24)によって変換した記憶形式で、一時記憶領域及びデータ記憶部32Bに記憶する処理を実行可能である。   In the second back data up reception / storage process (S28), the arithmetic processing unit 31 performs the processing of each of the machining centers 11, 13, 14 in the order of the first machining center 11, the third machining center 13, and the fourth machining center 14 as described below. The process of storing the data 0 file and the data 1 file in the storage format converted by the second backup storage format setting process (S24) can be executed in the temporary storage area and the data storage unit 32B.

操作者が、上記のように、バックアップデータファイル選定画面35H内の「OK」を選択すると、演算処理部31が、再びディスプレイに、バックアップデータ選択画面35A(図3参照。)を表示する。その後、操作者が、バックアップデータ選択画面35A内の「グループ取得」を選択した上で「開始」を選択すると、演算処理部31が、実施形態1の第1バックアップデータ受信・記憶処理(S14)と同様に、第1マシングセンタ11のデータ0ファイルを、一時記憶領域に記憶する処理を実行したことに続き、該一時記憶領域からデータ記憶部32Bに記憶する処理を実行する。   When the operator selects “OK” in the backup data file selection screen 35H as described above, the arithmetic processing unit 31 displays the backup data selection screen 35A (see FIG. 3) on the display again. Thereafter, when the operator selects “start” after selecting “group acquisition” in the backup data selection screen 35A, the arithmetic processing unit 31 performs first backup data reception / storage processing of the first embodiment (S14). In the same manner as described above, following the execution of the process of storing the data 0 file of the first machine center 11 in the temporary storage area, the process of storing the data 0 file from the temporary storage area into the data storage unit 32B is executed.

これに続き、演算処理部31は、第2データファイルカウンタ加算処理(S29)を実行する。第2データファイルカウンタ加算処理(S29)では、データファイルカウンタの値をインクリメントする処理を実行する。これにより、データファイルカウンタの値が「1」にセットされる。   Following this, the arithmetic processing unit 31 executes a second data file counter addition process (S29). In the second data file counter addition process (S29), a process of incrementing the value of the data file counter is executed. As a result, the value of the data file counter is set to “1”.

第2データファイルカウンタ加算処理(S29)の後には、演算処理部31は、データファイルカウンタの値が上限値(ここでは「9」)を超過しているか否かを判断する(S30)。S30において、演算処理部31が、データファイルカウンタの値が上限値「9」を超過せず「1」にセットされていると判断した場合には、上述したS27の判断に戻る。   After the second data file counter addition process (S29), the arithmetic processing unit 31 determines whether or not the value of the data file counter exceeds the upper limit value (here, “9”) (S30). If the arithmetic processing unit 31 determines in S30 that the value of the data file counter does not exceed the upper limit “9” and is set to “1”, the process returns to the determination in S27 described above.

S27においては、演算処理部31により、データファイルカウンタの値「1」が、データ1ファイルに対応付けしたデータファイルカウンタの値「1」と一致すると判断し、第2バックアップデータ受信・記憶処理(S28)を実行する。この第2バックアップデータ受信・記憶処理(S28)では、第1マシニングセンタ11のデータ1ファイルを、一時記憶領域に記憶する処理を実行したことに続き、該一時記憶領域からデータ記憶部32Bに記憶する処理を実行する。以上の処理により、演算処理部31は、データ記憶部32Bに、第1マシニングセンタ11に記憶されたデータを格納するデータ0ファイル及びデータ1ファイルを記憶させることができる。   In S27, the arithmetic processing unit 31 determines that the value “1” of the data file counter matches the value “1” of the data file counter associated with the data 1 file, and the second backup data reception / storage process ( S28) is executed. In this second backup data reception / storage process (S28), following the execution of the process of storing the data 1 file of the first machining center 11 in the temporary storage area, the data is stored from the temporary storage area into the data storage unit 32B. Execute the process. Through the above processing, the arithmetic processing unit 31 can store the data 0 file and the data 1 file for storing the data stored in the first machining center 11 in the data storage unit 32B.

その後、演算処理部31は、第2データファイルカウンタ加算処理(S29)を実行し、データファイルカウンタの値を「2」にセットする。さらに、演算処理部31は、データファイルカウンタの値が上限値(ここでは「9」)を超過しているか否かを判断する(S30)。   Thereafter, the arithmetic processing unit 31 executes a second data file counter addition process (S29), and sets the value of the data file counter to “2”. Furthermore, the arithmetic processing unit 31 determines whether or not the value of the data file counter exceeds the upper limit value (here, “9”) (S30).

S30において、演算処理部31が、データファイルカウンタの値が上限値「9」を超過せず「2」にセットされていると判断した場合には、上述したS27の判断に戻る。S27において、データファイルカウンタの値「2」が、データ0ファイル及びデータ1ファイルのいずれにも対応付けされていないデータファイルカウンタの値であると判断した場合には、演算処理部31が、上述した第2バックアップデータ受信・記憶処理(S28)を実行せずに、第2データファイルカウンタ加算処理(S29)を実行する。   If the arithmetic processing unit 31 determines in S30 that the value of the data file counter does not exceed the upper limit “9” and is set to “2”, the process returns to the determination in S27 described above. In S27, when it is determined that the value “2” of the data file counter is the value of the data file counter that is not associated with either the data 0 file or the data 1 file, the arithmetic processing unit 31 performs the above-described operation. The second data file counter addition process (S29) is executed without executing the second backup data reception / storage process (S28).

演算処理部31は、S30において、データファイルカウンタの値が上限値「9」に至った判断するまで、S27の判断及び第2データファイルカウンタ加算処理(S29)を繰り返し実行する。   The arithmetic processing unit 31 repeatedly executes the determination of S27 and the second data file counter addition process (S29) until it is determined in S30 that the value of the data file counter reaches the upper limit value “9”.

演算処理部31は、S30において、データファイルカウンタの値が上限値「9」を超過して「10」にセットされていると判断した場合には、マシニングセンタカウンタ加算処理(S31)を実行する。マシニングセンタカウンタ加算処理(S31)では、マシニングセンタカウンタの値をインクリメントする処理を実行する。これにより、マシニングセンタカウンタの値が「1」にセットされる。   If the arithmetic processing unit 31 determines in S30 that the value of the data file counter exceeds the upper limit value “9” and is set to “10”, the arithmetic processing unit 31 executes machining center counter addition processing (S31). In the machining center counter addition process (S31), a process of incrementing the value of the machining center counter is executed. As a result, the value of the machining center counter is set to “1”.

続いて、演算処理部31は、マシニングセンタカウンタの値が上限値(ここでは「3」)を超過しているか否かを判断する(S32)。S32において、演算処理部31が、マシニングセンタカウンタの値が上限値を超過せず「1」にセットされていると判断した場合には、上述したS26の判断に戻る。   Subsequently, the arithmetic processing unit 31 determines whether or not the value of the machining center counter exceeds an upper limit value (here, “3”) (S32). If the arithmetic processing unit 31 determines in S32 that the value of the machining center counter does not exceed the upper limit value and is set to “1”, the process returns to the determination in S26 described above.

S26において、演算処理部31により、マシニングセンタカウンタの値「1」が、第1グループに属する第3及び第4マシニングセンタ13、14にそれぞれ対応付けしたマシニングセンタカウンタの値「2」「3」と一致するか否かを判断する。ここでは、演算処理部31は、両カウンタの値が一致しないと判断した後に、上述したマシニングセンタカウンタ加算処理(S31)を実行する。これにより、マシニングセンタカウンタの値が「2」にセットされる。   In S <b> 26, the value “1” of the machining center counter matches the values “2” and “3” of the machining center counters associated with the third and fourth machining centers 13 and 14 belonging to the first group by the arithmetic processing unit 31. Determine whether or not. Here, the arithmetic processing unit 31 executes the above-described machining center counter addition process (S31) after determining that the values of both counters do not match. As a result, the value of the machining center counter is set to “2”.

さらに、演算処理部31は、S32において、マシニングセンタカウンタの値が上限値を超過せず「2」にセットされていると判断した場合には、上述したS26の判断に戻る。その後は、演算処理部31が、S32おいて、マシニングセンタカウンタの値が上限値「3」に至ったと判断するまで、上述した各処理等(S26〜S31)を実行する。これにより、演算処理部31は、データ記憶部32Bに、第3及び第4マシニングセンタ13、14にそれぞれ記憶されたデータを格納するデータ0ファイル及びデータ1ファイルを記憶させることができる。   Further, when the arithmetic processing unit 31 determines in S32 that the value of the machining center counter does not exceed the upper limit value and is set to “2”, the arithmetic processing unit 31 returns to the determination of S26 described above. Thereafter, the arithmetic processing unit 31 executes the above-described processes (S26 to S31) until it is determined in S32 that the value of the machining center counter has reached the upper limit “3”. Thereby, the arithmetic processing unit 31 can store the data 0 file and the data 1 file that store the data stored in the third and fourth machining centers 13 and 14 in the data storage unit 32B, respectively.

演算処理部31は、S32において、マシニングセンタカウンタの値が上限値「3」を超過していると判断した場合には、第2バックアップデータ記憶処理(S20)を終了する。これにより、演算処理部31は、第1グループに属する各マシニングセンタ11、13、14から受信したデータを、各マシニングセンタ11、13、14に記憶されたデータを格納するデータファイルの記憶形式で、データ記憶部32Bにバックアップする処理が完了する。   If the arithmetic processing unit 31 determines in S32 that the value of the machining center counter exceeds the upper limit “3”, the arithmetic processing unit 31 ends the second backup data storage process (S20). As a result, the arithmetic processing unit 31 converts the data received from the machining centers 11, 13, and 14 belonging to the first group into the data file storage format for storing the data stored in the machining centers 11, 13, and 14 The process of backing up to the storage unit 32B is completed.

<実施形態2の効果>
実施形態2のデータバックアップシステム1Aでは、上述したように、操作者が、マウスによって、バックアップグループ選定画面35E内の「第1グループ」を選択した後に「開く」を選択すると、演算処理部31は、データバックアップ制御プログラムを用い、第2バックアップデータ受信・記憶処理(S28)において、第1グループに属する各マシニングセンタ11、13、14に記憶されたデータを格納するデータファイルを、データ記憶部32Bに記憶する処理を実行する。
このため、第2バックアップデータ受信・記憶処理(S28)においては、第1ないし第5マシニングセンタ11〜15のそれぞれに記憶された全てのデータではなく、操作者によって選択された第1グループに属する各マシニングセンタ11、13、14に記憶されたデータのみを選択してデータ記憶部32Bにバックアップさせることが可能になる。これにより、バックアップを必要とするデータを、第1及び第2グループの内から選択された一つのグループ毎にデータ記憶部32Bへバックアップする処理が可能になる。
<Effect of Embodiment 2>
In the data backup system 1A of the second embodiment, as described above, when the operator selects “first group” in the backup group selection screen 35E with the mouse and then selects “open”, the arithmetic processing unit 31 In the second backup data reception / storage process (S28) using the data backup control program, a data file for storing data stored in each of the machining centers 11, 13, and 14 belonging to the first group is stored in the data storage unit 32B. The process to memorize is executed.
For this reason, in the second backup data reception / storage process (S28), not all the data stored in each of the first to fifth machining centers 11 to 15, but each of the first group selected by the operator. Only the data stored in the machining centers 11, 13, and 14 can be selected and backed up in the data storage unit 32B. As a result, it is possible to perform processing for backing up data requiring backup to the data storage unit 32B for each group selected from the first and second groups.

また、上述したように、操作者が、マウスによって、バックアップデータファイル選定画面35H内でデータ0ファイル及びデータ1ファイルを選択すると、演算処理部31は、データバックアップ制御プログラムを用い、第2バックアップデータ受信・記憶処理(S28)において、データ0ファイル及びデータ1ファイルを、データ記憶部32Bに記憶する処理を実行する。
このため、第2バックアップデータ受信・記憶処理(S28)においては、各マシニングセンタ11、13、14に記憶されたデータを格納する全てのデータファイルではなく、操作者によって選択されたデータ0ファイル及びデータ1ファイルのみをデータ記憶部32Bに記憶させることが可能になる。これに伴って、バックアップを必要とするデータを、該データを格納した特定のデータファイル(データ0ファイル及びデータ1ファイル)毎にデータ記憶部32Bへバックアップする処理が可能になる。
加えて、上記のように、演算処理部31が、第2バックアップデータ受信・記憶処理(S28)において、バックアップを必要とするデータを、該データを格納した特定のデータファイル(データ0ファイル及びデータ1ファイル)毎にデータ記憶部32Bへバックアップする処理が可能になれば、特定のデータファイルを含む全てのデータファイルをデータ記憶部32Bへバックアップする場合に比べて、データのバックアップに要する時間を短縮できる。
In addition, as described above, when the operator selects the data 0 file and the data 1 file in the backup data file selection screen 35H with the mouse, the arithmetic processing unit 31 uses the data backup control program and uses the second backup data. In the reception / storage process (S28), a process of storing the data 0 file and the data 1 file in the data storage unit 32B is executed.
For this reason, in the second backup data reception / storage process (S28), not all the data files storing the data stored in the respective machining centers 11, 13, and 14, but the data 0 file and the data selected by the operator Only one file can be stored in the data storage unit 32B. Along with this, it becomes possible to back up data requiring backup to the data storage unit 32B for each specific data file (data 0 file and data 1 file) storing the data.
In addition, as described above, in the second backup data reception / storage process (S28), the arithmetic processing unit 31 converts the data that needs to be backed up into a specific data file (data 0 file and data stored therein). If backup processing to the data storage unit 32B becomes possible for each file), the time required for data backup is shortened compared to the case where all data files including a specific data file are backed up to the data storage unit 32B. it can.

本発明は、上述した実施形態に限定されるものではなく、発明の趣旨を逸脱しない範囲内において構成の一部を適宜変更して実施することができる。実施形態1のデータバックアップシステム1では、演算処理部31が、データバックアップ制御プログラムを用い、第1ないし第5マシニングセンタ11〜15の内から第5マシニングセンタ15に記憶された全てのデータに対応させて、データ記憶部32に、10個のデータファイルを記憶させたが、これに限定されない。例えば、実施形態1のデータバックアップシステム1において、演算処理部31が、上述した第1データバックアップ記憶処理(S10)に加えて、実施形態2の第2データバックアップ記憶処理(S20)のように、特定のデータファイルを選択してデータ記憶部32に記憶させる処理を実行させもよい。これにより、演算処理部31が、第5マシニングセンタ15に記憶された特定のデータ(データ0、データ1)に対応させて、データ記憶部32Bに、2個のデータファイル(10個未満のデータファイル)を記憶させることができる。   The present invention is not limited to the embodiment described above, and can be implemented by appropriately changing a part of the configuration without departing from the spirit of the invention. In the data backup system 1 of the first embodiment, the arithmetic processing unit 31 uses a data backup control program to correspond to all data stored in the fifth machining center 15 from the first to fifth machining centers 11 to 15. Although 10 data files are stored in the data storage unit 32, the present invention is not limited to this. For example, in the data backup system 1 of the first embodiment, the arithmetic processing unit 31 performs a second data backup storage process (S20) of the second embodiment in addition to the first data backup storage process (S10) described above. A process of selecting a specific data file and storing it in the data storage unit 32 may be executed. As a result, the arithmetic processing unit 31 corresponds to the specific data (data 0, data 1) stored in the fifth machining center 15, and stores two data files (less than 10 data files) in the data storage unit 32B. ) Can be stored.

また、実施形態2のデータバックアップシステム1Aでは、演算処理部31が、2つのグループ(第1及び第2グループ)の内から第1グループを選択し、上述したように、該第1グループに属する各マシニングセンタ11、13、14のデータファイルをデータ記憶部32Bに記憶させたが、これに限定されない。例えば、上記の操作者が、マウスによって、図9に示した所属マシニングセンタ詳細画面35F内の「別Grp.読み込み」を選択することにより、演算処理部31が、第1グループに加えて、第2グループを追加して選択できる処理を実行可能とし、該第2グループに属する各マシニングセンタ12、15のデータファイルをデータ記憶部32Bに記憶させてもよい。   In the data backup system 1A of the second embodiment, the arithmetic processing unit 31 selects the first group from the two groups (first and second groups) and belongs to the first group as described above. Although the data files of the machining centers 11, 13, and 14 are stored in the data storage unit 32B, the present invention is not limited to this. For example, when the above operator selects “read another Grp.” In the belonging machining center detail screen 35F shown in FIG. 9 with the mouse, the arithmetic processing unit 31 adds the second group to the second group. It is also possible to execute a process that can be selected by adding a group, and store the data files of the machining centers 12 and 15 belonging to the second group in the data storage unit 32B.

さらに、実施形態2のデータバックアップシステム1Aでは、第1ないし第5マシニングセンタ11〜15を、2つのグループにグループ分けしたが、これに限定されず、3以上のグループにグループ分けしてもよい。加えて、各グループに属するマシニングセンタの数は、上述した2つ又は3つに限らず、1つであってもよい。   Furthermore, in the data backup system 1A of the second embodiment, the first to fifth machining centers 11 to 15 are grouped into two groups. However, the present invention is not limited to this, and may be grouped into three or more groups. In addition, the number of machining centers belonging to each group is not limited to two or three as described above, but may be one.

加えて、上述した実施形態においては、演算処理部31がデータ記憶部32Bに記憶させるデータファイルの例として、10個のデータファイル(データ0ファイル〜データ9ファイル)を示したが、これに限定されない。上述した実施形態と同様の処理により、演算処理部31が、前記10個のデータファイルに格納するデータ(データ0〜データ9)以外のデータ(データ10等)を格納したデータファイルを、データ記憶部32Bに記憶するようにしてもよい。   In addition, in the above-described embodiment, ten data files (data 0 file to data 9 file) are shown as examples of data files that the arithmetic processing unit 31 stores in the data storage unit 32B. However, the present invention is not limited to this. Not. A data file storing data (data 10 and the like) other than the data (data 0 to data 9) stored in the ten data files is stored in the data storage by the arithmetic processing unit 31 by the same processing as in the above-described embodiment. You may make it memorize | store in the part 32B.

1、1A・・データバックアップシステム、11〜15・・マシニングセンタ、30・・パーソナルコンピュータ、31・・演算処理部、32B・・データ記憶部、35B・・マシニングセンタ選択画面、35C・・第1記憶形式選択画面、35E・・バックアップグループ選定画面、35G・・第2記憶形式選択画面、35H・・バックアップデータファイル選定画面   1, 1A ... Data backup system, 11-15 ... Machining center, 30 ... Personal computer, 31 ... Operation processing unit, 32B ... Data storage unit, 35B ... Machining center selection screen, 35C ... First storage format Selection screen, 35E ... Backup group selection screen, 35G ... Second storage format selection screen, 35H ... Backup data file selection screen

Claims (4)

複数の外部装置とコンピュータとの間で通信を行って、該コンピュータが前記複数の外部装置にそれぞれ記憶されたデータを収集し該データを前記コンピュータの記憶部に記憶するデータバックアップシステムにおいて、
各前記外部装置をマシニングセンタとして、
前記コンピュータは、
操作者の操作に応じ、複数の前記マシニングセンタの内から任意のマシニングセンタを選択可能な外部装置選択手段と、
前記コンピュータに搭載されたデータバックアップ制御プログラムと、を備え、
前記複数のマシニングセンタは、異なる記憶形式で前記データが記憶されたマシニングセンタを含み、
前記コンピュータは、前記操作者の操作に応じ、前記外部装置選択手段によって選択された前記任意のマシニングセンタに記憶されたデータの記憶形式に対応させて、前記記憶部に記憶させるデータの記憶形式を選択可能な記憶形式選択手段を備え、
前記データバックアップ制御プログラムは、前記記憶形式選択手段によって選択された記憶形式に基づいて、前記コンピュータに、前記外部装置選択手段によって選択された任意のマシニングセンタに記憶されたデータを前記記憶部に記憶する処理を実行させることが可能であることを特徴とするデータバックアップシステム。
In a data backup system in which communication is performed between a plurality of external devices and a computer, the computer collects data stored in each of the plurality of external devices, and the data is stored in a storage unit of the computer,
Each external device as a machining center,
The computer
An external device selecting means capable of selecting an arbitrary machining center from among the plurality of machining centers in accordance with an operation by an operator;
A data backup control program installed in the computer,
The plurality of machining centers include machining centers in which the data is stored in different storage formats,
The computer selects a data storage format to be stored in the storage unit in accordance with the data storage format stored in the arbitrary machining center selected by the external device selection unit according to the operation of the operator. With a possible storage format selection means,
The data backup control program stores, in the storage unit, data stored in an arbitrary machining center selected by the external device selection unit in the computer based on the storage format selected by the storage format selection unit. A data backup system capable of executing processing.
前記操作者の操作に応じ、前記外部装置選択手段によって、前記任意のマシニングセンタとして、前記複数のマシニングセンタの内から一つのマシニングセンタが選択可能であり、
前記外部装置選択手段によって、前記一つのマシニングセンタが選択された場合には、前記データバックアップ制御プログラムは、前記記憶形式選択手段によって選択された記憶形式に基づいて、前記コンピュータに、前記一つのマシニングセンタに記憶されたデータを前記記憶部に記憶する処理を実行させることを特徴とする請求項1に記載のデータバックアップシステム。
According to the operation of the operator, the external device selection means can select one machining center from the plurality of machining centers as the arbitrary machining center ,
When the one machining center is selected by the external device selection unit, the data backup control program is stored in the computer or the one machining center based on the storage format selected by the storage format selection unit. The data backup system according to claim 1, wherein a process of storing the stored data in the storage unit is executed.
前記操作者の操作に応じ、前記外部装置選択手段によって、前記任意のマシニングセンタとして、前記複数のマシニングセンタの内の一つ又は二つ以上のマシニングセンタが属する複数のグループからいずれかのグループが選択可能であり、
前記外部装置選択手段によって、前記いずれかのグループが選択された場合には、前記データバックアップ制御プログラムは、前記記憶形式選択手段によって選択された記憶形式に基づいて、前記コンピュータに、前記選択されたグループに属する一又は二以上のマシニングセンタに記憶されたデータを前記記憶部に記憶する処理を実行させることを特徴とする請求項1に記載のデータバックアップシステム。
Depending on the operation of the operator, by the external device selecting unit, as said arbitrary machining center, one or more than one machining center of any of the plurality of groups belonging group of the plurality of the machining center can be selected in Yes,
When any one of the groups is selected by the external device selection unit, the data backup control program is selected by the computer based on the storage format selected by the storage format selection unit . The data backup system according to claim 1, wherein a process of storing data stored in one or more machining centers belonging to a group in the storage unit is executed.
前記コンピュータは、
前記操作者の操作に応じ、前記外部装置選択手段によって選択された一つのマシニングセンタもしくは前記外部装置選択手段によって選択されたグループに属する前記一つ又は二つ以上のマシニングセンタにそれぞれ記憶されたデータの種類に応じて分類した複数のデータファイルの内から特定のデータファイルを選択可能なデータファイル選択手段を備え、
前記データファイル選択手段によって、前記特定のデータファイルが選択された場合には、前記データバックアップ制御プログラムは、前記記憶形式選択手段によって選択された記憶形式に基づいて、前記コンピュータに、前記特定のデータファイルに含まれるデータを前記記憶部に記憶する処理を実行させることを特徴とする請求項2又は3に記載のデータバックアップシステム。
The computer
Types of data respectively stored in one or more machining centers belonging to one machining center selected by the external device selection means or a group selected by the external device selection means according to the operation of the operator A data file selection means capable of selecting a specific data file from a plurality of data files classified according to
When the specific data file is selected by the data file selection unit, the data backup control program sends the specific data to the computer based on the storage format selected by the storage format selection unit. 4. The data backup system according to claim 2, wherein a process of storing data contained in a file in the storage unit is executed.
JP2009212273A 2009-09-14 2009-09-14 Data backup system Active JP5446643B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009212273A JP5446643B2 (en) 2009-09-14 2009-09-14 Data backup system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009212273A JP5446643B2 (en) 2009-09-14 2009-09-14 Data backup system

Publications (2)

Publication Number Publication Date
JP2011060223A JP2011060223A (en) 2011-03-24
JP5446643B2 true JP5446643B2 (en) 2014-03-19

Family

ID=43947744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009212273A Active JP5446643B2 (en) 2009-09-14 2009-09-14 Data backup system

Country Status (1)

Country Link
JP (1) JP5446643B2 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08123714A (en) * 1994-10-21 1996-05-17 Hitachi Ltd System for concentrically converting file format
JPH1091504A (en) * 1996-09-11 1998-04-10 Nec Software Ltd Versatile backup selection and start method for network distribution environment
JPH1185591A (en) * 1997-09-01 1999-03-30 Oki Tsushin Syst Kk Information processor and file backup system for telecommunication managing network
JP2002208079A (en) * 2001-01-10 2002-07-26 Toshiba Corp Central monitor controller and local monitor controller
JP3962232B2 (en) * 2001-09-06 2007-08-22 大日本スクリーン製造株式会社 Substrate processing apparatus management system, substrate processing apparatus, substrate processing apparatus management method, program, and recording medium
JP2005202774A (en) * 2004-01-16 2005-07-28 Mitsubishi Electric Corp Production facility maintenance system, control device for production facility and information processor
JP4907059B2 (en) * 2004-01-26 2012-03-28 大日本印刷株式会社 Computer system and automatic backup method for the data
JP2006133955A (en) * 2004-11-04 2006-05-25 Nec Corp Backup system and method for data inside mobile communication terminal, and mobile communication terminal and backup device used therefor
JP2006260128A (en) * 2005-03-17 2006-09-28 Murata Mach Ltd Machine tool control device
JP4783592B2 (en) * 2005-06-30 2011-09-28 株式会社日本デジタル研究所 File management system, management device, and program
JP2007102649A (en) * 2005-10-07 2007-04-19 Naoki Tsuji File storage method for application

Also Published As

Publication number Publication date
JP2011060223A (en) 2011-03-24

Similar Documents

Publication Publication Date Title
CN102804134B (en) Apparatus and method for handling exception events
JP6249016B2 (en) Fault recovery procedure generation device, fault recovery procedure generation method, and fault recovery procedure generation program
EP3709149A1 (en) Off-board flash memory
US11561786B2 (en) Update management device, update management system, and update management method
EP2733613B1 (en) Controller and program
CN104504495A (en) Operation and maintenance abnormity processing method, device and equipment
CN110668271A (en) Elevator control system and method
JP2011215814A (en) Programmable controller, setting value backup restoration system and setting value backup restoration unit
US7823029B2 (en) Failure recognition, notification, and prevention for learning and self-healing capabilities in a monitored system
JP5446643B2 (en) Data backup system
CN103870347A (en) System restoring method and device
CN109271270A (en) The troubleshooting methodology, system and relevant apparatus of bottom hardware in storage system
US9542250B2 (en) Distributed maintenance mode control
JP2009116618A (en) Information processing apparatus
WO2013136605A1 (en) Port malfunction detection device, computer, network system and program
WO2017115426A1 (en) Data management device, data management method, and data management program
KR20140067883A (en) System and method of controlling multi-operator and multi-robot for providing emergency state scenario
CN110297455B (en) Programmable logic controller and self-checking and recovery method thereof
CN107888453B (en) Multi-server state monitoring method and system based on Nginx
CN113628359A (en) Vehicle-mounted historical fault information query system and method, vehicle-mounted equipment and vehicle
JP7003432B2 (en) Duplex system
JP7048890B2 (en) Information processing equipment, information collection program and information collection method
EP3730249B1 (en) Tool, and control circuit and control method for tool
WO2024009656A1 (en) Vehicle control device
JP2003108217A (en) Apparatus and method for line balancing as well as program for line balancing

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120525

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130716

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130904

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131216

R150 Certificate of patent or registration of utility model

Ref document number: 5446643

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150