JPWO2017115426A1 - Data management apparatus, data management method, and data management program - Google Patents

Data management apparatus, data management method, and data management program Download PDF

Info

Publication number
JPWO2017115426A1
JPWO2017115426A1 JP2016555848A JP2016555848A JPWO2017115426A1 JP WO2017115426 A1 JPWO2017115426 A1 JP WO2017115426A1 JP 2016555848 A JP2016555848 A JP 2016555848A JP 2016555848 A JP2016555848 A JP 2016555848A JP WO2017115426 A1 JPWO2017115426 A1 JP WO2017115426A1
Authority
JP
Japan
Prior art keywords
data
programmable controller
control program
received
unit
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.)
Granted
Application number
JP2016555848A
Other languages
Japanese (ja)
Other versions
JP6054008B1 (en
Inventor
信行 伴
信行 伴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP6054008B1 publication Critical patent/JP6054008B1/en
Publication of JPWO2017115426A1 publication Critical patent/JPWO2017115426A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Programmable Controllers (AREA)
  • Stored Programmes (AREA)

Abstract

バッファ領域及びデータ保管領域を有し、履歴データベースを記憶する記憶部と、変更された制御プログラム及び変更された制御プログラムの変更履歴の情報である履歴情報をエンジニアリングツールから受信し、変更された制御プログラムのプログラマブルコントローラへの送信前に、変更された制御プログラムをバッファ領域に書込むデータ受信部と、データ受信部で受信された履歴情報を履歴データベースに書込む履歴管理部と、プログラマブルコントローラに現在記憶されている制御プログラムをプログラマブルコントローラから受信し、プログラマブルコントローラから受信した制御プログラムをデータ保管領域にバックアップするデータバックアップ部と、データバックアップ部によるバックアップの後に、バッファ領域に記憶されている変更された制御プログラムをプログラマブルコントローラに送信するデータ送信部と、を備える。A storage unit that has a buffer area and a data storage area, stores a history database, and receives history information, which is information about a changed control program and a change history of the changed control program, from the engineering tool. Before sending the program to the programmable controller, the data receiver that writes the modified control program to the buffer area, the history manager that writes the history information received by the data receiver to the history database, and the programmable controller The stored control program is received from the programmable controller, the control program received from the programmable controller is backed up in the data storage area, and stored in the buffer area after backup by the data backup section The is to have changed control program and a data transmission unit that transmits to the programmable controller.

Description

本発明は、産業機械を制御するための制御プログラムを管理するデータ管理装置、データ管理方法及びデータ管理プログラムに関する。   The present invention relates to a data management apparatus, a data management method, and a data management program for managing a control program for controlling an industrial machine.

従来、産業機械の制御にプログラマブルコントローラが使用されている。プログラマブルコントローラは、制御プログラムを実行することで、産業機械を制御する。制御プログラムは、エンジニアリングツールで作成される。作成された制御プログラムは、エンジニアリングツールからプログラマブルコントローラに送信され、プログラマブルコントローラに格納される。   Conventionally, a programmable controller is used to control industrial machines. The programmable controller controls the industrial machine by executing a control program. The control program is created with an engineering tool. The created control program is transmitted from the engineering tool to the programmable controller and stored in the programmable controller.

制御プログラムを変更する場合は、制御プログラムは、エンジニアリングツールで変更される。変更後の制御プログラムは、エンジニアリングツールからプログラマブルコントローラに送信され、プログラマブルコントローラに格納される。   When changing the control program, the control program is changed by an engineering tool. The changed control program is transmitted from the engineering tool to the programmable controller and stored in the programmable controller.

しかしながら、事情により、変更前の制御プログラムを、プログラマブルコントローラに再び格納したいという要請がある。事情は、変更後の制御プログラムに不都合が生じた場合が例示される。   However, there is a request to store the control program before the change in the programmable controller due to circumstances. The situation is exemplified when a problem occurs in the changed control program.

従って、変更前の制御プログラムをバックアップしておきたいという要請がある。   Therefore, there is a request to back up the control program before the change.

下記の特許文献1には、制御プログラムの履歴を格納するプログラマブル表示器が記載されている。特許文献1記載のプログラマブル表示器5は、更新された制御プログラムをプログラムエディタ装置Eから受信する。プログラマブル表示器5のアクセス管理部32は、制御プログラム自体、アクセス日時、制御プログラムを更新した人物、および、アクセス時に使用されたIDコードを、履歴データメモリ31に格納する(段落[0039])。プログラマブル表示器5のアクセス管理部32は、HMI処理部26が履歴データの選択操作を受け付けた場合に、当該履歴データに含まれる制御プログラムを、プログラマブル・ロジック・コントローラ3の制御プログラムメモリ3aへインストールするように、PLC側通信処理部22へ指示できる(段落[0044])。   Patent Document 1 below describes a programmable display that stores a history of a control program. The programmable display 5 described in Patent Literature 1 receives the updated control program from the program editor apparatus E. The access management unit 32 of the programmable display 5 stores the control program itself, the access date and time, the person who updated the control program, and the ID code used at the time of access in the history data memory 31 (paragraph [0039]). The access management unit 32 of the programmable display 5 installs the control program included in the history data into the control program memory 3a of the programmable logic controller 3 when the HMI processing unit 26 accepts the history data selection operation. Thus, it is possible to instruct the PLC-side communication processing unit 22 (paragraph [0044]).

特開2002−169693号公報Japanese Patent Laid-Open No. 2002-169693

しかしながら、制御プログラムは、プログラマブルコントローラで産業機械を動作させながら、産業機械の動作の状況に応じて、プログラマブルコントローラでチューニングつまり小変更される場合がある。   However, the control program may be tuned, that is, slightly changed by the programmable controller according to the operation state of the industrial machine while the industrial machine is operated by the programmable controller.

特許文献1では、プログラムエディタ装置Eで制御プログラムが変更され、プログラマブル表示器5がプログラムエディタ装置Eから受信した制御プログラムをプログラマブル・ロジック・コントローラ3に送信すると、プログラマブル・ロジック・コントローラ3でチューニングされた後の制御プログラムが失われてしまうことになる。   In Patent Literature 1, when the control program is changed by the program editor device E and the programmable display 5 transmits the control program received from the program editor device E to the programmable logic controller 3, the program is tuned by the programmable logic controller 3. After that, the control program will be lost.

本発明は、上記に鑑みてなされたものであって、プログラマブルコントローラでチューニングされた後の制御プログラムを好適に管理できるデータ管理装置を得ることを目的とする。   This invention is made in view of the above, Comprising: It aims at obtaining the data management apparatus which can manage suitably the control program after being tuned by the programmable controller.

上述した課題を解決し、目的を達成するために、本発明は、プログラマブルコントローラで実行される制御プログラムを管理するデータ管理装置であって、バッファ領域及びデータ保管領域を有し、履歴データベースを記憶する記憶部を備える。また、本発明は、変更された制御プログラム及び変更された制御プログラムの変更履歴の情報である履歴情報をエンジニアリングツールから受信し、変更された制御プログラムのプログラマブルコントローラへの送信前に、変更された制御プログラムをバッファ領域に書込むデータ受信部を備える。また、本発明は、データ受信部で受信された履歴情報を履歴データベースに書込む履歴管理部を備える。また、本発明は、プログラマブルコントローラに現在記憶されている制御プログラムをプログラマブルコントローラから受信し、プログラマブルコントローラから受信した制御プログラムを前記データ保管領域にバックアップするデータバックアップ部を備える。また、本発明は、データバックアップ部によるバックアップの後に、バッファ領域に記憶されている変更された制御プログラムをプログラマブルコントローラに送信するデータ送信部を備える。   In order to solve the above-described problems and achieve the object, the present invention is a data management apparatus that manages a control program executed by a programmable controller, and has a buffer area and a data storage area, and stores a history database. A storage unit is provided. In addition, the present invention receives history information, which is information on a changed control program and a change history of the changed control program, from the engineering tool, and the changed control program is changed before transmission to the programmable controller. A data receiving unit for writing the control program into the buffer area is provided. In addition, the present invention includes a history management unit that writes history information received by the data receiving unit in a history database. The present invention further includes a data backup unit that receives a control program currently stored in the programmable controller from the programmable controller and backs up the control program received from the programmable controller in the data storage area. The present invention further includes a data transmission unit that transmits the changed control program stored in the buffer area to the programmable controller after the backup by the data backup unit.

本発明にかかるデータ管理装置は、制御プログラムを好適に管理できるという効果を奏する。   The data management apparatus according to the present invention has an effect that the control program can be suitably managed.

実施の形態1にかかるデータ管理装置を含む産業システムを示す図The figure which shows the industrial system containing the data management apparatus concerning Embodiment 1. FIG. 実施の形態1にかかるデータ管理装置を含む産業システムのプログラマブルコントローラのハードウェア構成を示す図The figure which shows the hardware constitutions of the programmable controller of the industrial system containing the data management apparatus concerning Embodiment 1. 実施の形態1にかかる産業システムのエンジニアリングツールのハードウェア構成を示す図The figure which shows the hardware constitutions of the engineering tool of the industrial system concerning Embodiment 1. FIG. 実施の形態1にかかる産業システムのエンジニアリングツールの機能ブロックを示す図The figure which shows the functional block of the engineering tool of the industrial system concerning Embodiment 1. FIG. 実施の形態1にかかるデータ管理装置のハードウェア構成を示す図1 is a diagram illustrating a hardware configuration of a data management apparatus according to a first embodiment. 実施の形態1にかかるデータ管理装置の機能ブロックを示す図1 is a diagram showing functional blocks of a data management apparatus according to a first embodiment. 実施の形態1にかかるデータ管理装置のバックアップ処理を示すフローチャート1 is a flowchart showing backup processing of the data management apparatus according to the first embodiment; 実施の形態1にかかるデータ管理装置が記憶する履歴データを示す図The figure which shows the historical data which the data management apparatus concerning Embodiment 1 memorize | stores. 実施の形態1にかかるデータ管理装置のデータ保管領域に書込まれるデータを示す図The figure which shows the data written in the data storage area of the data management apparatus concerning Embodiment 1 実施の形態1にかかるデータ管理装置のリストア処理を示すフローチャート1 is a flowchart showing restore processing of the data management apparatus according to the first embodiment;

以下に、本発明の実施の形態にかかるデータ管理装置、データ管理方法及びデータ管理プログラムを図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Hereinafter, a data management device, a data management method, and a data management program according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、実施の形態1にかかるデータ管理装置を含む産業システムを示す図である。産業システム1は、エンジニアリングツール2及び6と、データ管理装置3と、プログラマブルコントローラ(JIS B 3502:2011、programmable controllers(PLC))4と、機械5と、を含む。エンジニアリングツール2及び6、データ管理装置3、プログラマブルコントローラ4並びに機械5は、ネットワークNを介して接続されている。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating an industrial system including a data management apparatus according to the first embodiment. The industrial system 1 includes engineering tools 2 and 6, a data management device 3, a programmable controller (JIS B 3502: 2011, programmable controllers (PLC)) 4, and a machine 5. The engineering tools 2 and 6, the data management device 3, the programmable controller 4 and the machine 5 are connected via a network N.

なお、実施の形態1では、産業システム1は、2つのエンジニアリングツール2及び6を含むこととした。しかし、産業システム1は、1つのエンジニアリングツールを含んでも良いし、3つ以上のエンジニアリングツールを含んでも良い。   In the first embodiment, the industrial system 1 includes the two engineering tools 2 and 6. However, the industrial system 1 may include one engineering tool or may include three or more engineering tools.

エンジニアリングツール2は、エンジニアリングツール2を一意に特定する識別子であるツールID(identifier)が「1」に設定されている。エンジニアリングツール6は、エンジニアリングツール6を一意に特定する識別子であるツールIDが「2」に設定されている。   In the engineering tool 2, a tool ID (identifier) that is an identifier for uniquely identifying the engineering tool 2 is set to “1”. In the engineering tool 6, a tool ID that is an identifier for uniquely identifying the engineering tool 6 is set to “2”.

エンジニアリングツール2又は6は、プログラマブルコントローラ4で実行される制御プログラムを含むプロジェクトデータを作成して、データ管理装置3に送信する。データ管理装置3は、エンジニアリングツール2又は6から受信したプロジェクトデータを、プログラマブルコントローラ4に送信する。プログラマブルコントローラ4は、データ管理装置3から受信したプロジェクトデータを記憶する。プログラマブルコントローラ4は、制御プログラムを実行することにより、機械5を制御する。   The engineering tool 2 or 6 creates project data including a control program executed by the programmable controller 4 and transmits the project data to the data management device 3. The data management device 3 transmits the project data received from the engineering tool 2 or 6 to the programmable controller 4. The programmable controller 4 stores the project data received from the data management device 3. The programmable controller 4 controls the machine 5 by executing a control program.

図2は、実施の形態1にかかるデータ管理装置を含む産業システムのプログラマブルコントローラのハードウェア構成を示す図である。プログラマブルコントローラ4は、メイン基板4aと、サブ基板4bと、を含む。   FIG. 2 is a diagram illustrating a hardware configuration of the programmable controller of the industrial system including the data management apparatus according to the first embodiment. The programmable controller 4 includes a main board 4a and a sub board 4b.

メイン基板4aは、CPU(Central Processing Unit)4a1と、RAM(Random Access Memory)であるメモリ4a2と、通信インタフェース(I/F)4a3と、バスインタフェース(I/F)4a4と、記憶部4a5と、を含む。CPU4a1、メモリ4a2、通信インタフェース4a3、バスインタフェース4a4及び記憶部4a5は、内部バスB1を介して接続されている。   The main board 4a includes a CPU (Central Processing Unit) 4a1, a memory 4a2 which is a RAM (Random Access Memory), a communication interface (I / F) 4a3, a bus interface (I / F) 4a4, and a storage unit 4a5. ,including. The CPU 4a1, the memory 4a2, the communication interface 4a3, the bus interface 4a4, and the storage unit 4a5 are connected via the internal bus B1.

通信インタフェース4a3は、データ管理装置3と通信を行う。   The communication interface 4a3 communicates with the data management device 3.

バスインタフェース4a4は、内部バスB1と拡張バスB2とを連絡するバスブリッジ回路である。サブ基板4bは、拡張バスB2を介して、メイン基板4aに接続されている。サブ基板4bは、機械5に接続されている。   The bus interface 4a4 is a bus bridge circuit that connects the internal bus B1 and the expansion bus B2. The sub board 4b is connected to the main board 4a via the expansion bus B2. The sub board 4b is connected to the machine 5.

記憶部4a5は、データ管理装置3から受信したプロジェクトデータ24aを記憶する。記憶部4a5は、SSD(Solid State Drive)又はHDD(Hard Disk Drive)が例示される。   The storage unit 4a5 stores the project data 24a received from the data management device 3. The storage unit 4a5 is exemplified by a solid state drive (SSD) or a hard disk drive (HDD).

初期時には、プログラマブルコントローラ4の記憶部4a5には、プロジェクトデータが記憶されていない。初期時は、プログラマブルコントローラ4の設置時が例示される。従って、記憶部4a5にプロジェクトデータ24aを記憶する際には、バックアップすべきプロジェクトデータが記憶部4a5に記憶されていない。データ管理装置3は、エンジニアリングツール2又は6からプロジェクトデータ24aを受信したら、プロジェクトデータ24aをプログラマブルコントローラ4に送信する。プログラマブルコントローラ4の記憶部4a5は、データ管理装置3から受信したプロジェクトデータ24aを記憶する。   At the initial stage, no project data is stored in the storage unit 4a5 of the programmable controller 4. The initial time is exemplified when the programmable controller 4 is installed. Therefore, when storing the project data 24a in the storage unit 4a5, the project data to be backed up is not stored in the storage unit 4a5. When the data management device 3 receives the project data 24 a from the engineering tool 2 or 6, the data management device 3 transmits the project data 24 a to the programmable controller 4. The storage unit 4a5 of the programmable controller 4 stores the project data 24a received from the data management device 3.

プロジェクトデータ24aは、機械5を制御するための制御プログラム24a1と、制御プログラム24a1の実行時に参照される制御パラメータ24a2と、メモリ4a2内の作業領域である複数のデバイスを規定する情報であるデバイスメモリ24a3と、サブ基板4bと機械5との接続関係を規定する接続情報24a4と、を含む。   The project data 24a includes a control program 24a1 for controlling the machine 5, a control parameter 24a2 that is referred to when the control program 24a1 is executed, and device memory that is information defining a plurality of devices that are work areas in the memory 4a2. 24a3, and connection information 24a4 that defines the connection relationship between the sub-board 4b and the machine 5 is included.

制御パラメータ24a2は、機械5の制御における比例制御のゲイン又は積分制御の時定数が例示される。   The control parameter 24a2 is exemplified by a gain of proportional control in the control of the machine 5 or a time constant of integral control.

メモリ4a2内には、デバイスメモリ24a3で規定される複数のデバイスであるデバイス群4a2aが確保される。デバイス群4a2a内の各々のデバイスは、制御プログラム24a1の作業領域である。   In the memory 4a2, a device group 4a2a which is a plurality of devices defined by the device memory 24a3 is secured. Each device in the device group 4a2a is a work area of the control program 24a1.

デバイスメモリ24a3は、作業領域であるデバイス群4a2a内の幾つかのデバイスの初期値である加工条件24a3aを規定する情報を含む。加工条件24a3aは、プログラマブルコントローラ4の制御下で機械5が被加工物を加工するための条件であり、加工数量又は加工速度が例示される。   The device memory 24a3 includes information defining processing conditions 24a3a that are initial values of some devices in the device group 4a2a that is a work area. The processing condition 24a3a is a condition for the machine 5 to process the workpiece under the control of the programmable controller 4, and the processing quantity or processing speed is exemplified.

作業領域であるデバイス群4a2a内の幾つかのデバイスは、初期値である加工条件24a3aが設定される。プログラマブルコントローラ4は、作業領域であるデバイス群4a2a内の幾つかのデバイスに設定された加工条件24a3aに基づいて、機械5を制御して、被加工物の加工を行う。   For some devices in the device group 4a2a, which is the work area, the processing conditions 24a3a that are initial values are set. The programmable controller 4 controls the machine 5 based on the processing conditions 24a3a set for some devices in the device group 4a2a, which is a work area, to process the workpiece.

なお、プロジェクトデータ24は、プログラマブルコントローラ4で機械5を動作させながら、機械5の動作の状況に応じて、プログラマブルコントローラ4でチューニングつまり小変更される場合がある。   Note that the project data 24 may be tuned, that is, slightly changed by the programmable controller 4 in accordance with the operation status of the machine 5 while the machine 5 is operated by the programmable controller 4.

図3は、実施の形態1にかかる産業システムのエンジニアリングツールのハードウェア構成を示す図である。   FIG. 3 is a diagram illustrating a hardware configuration of the engineering tool of the industrial system according to the first embodiment.

なお、エンジニアリングツール6のハードウェア構成は、エンジニアリングツール2のハードウェア構成と同様であるので、エンジニアリングツール2のハードウェア構成についてだけ説明し、エンジニアリングツール6のハードウェア構成については、図示及び説明を省く。   Since the hardware configuration of the engineering tool 6 is the same as the hardware configuration of the engineering tool 2, only the hardware configuration of the engineering tool 2 will be described, and the hardware configuration of the engineering tool 6 will be illustrated and described. Omit.

エンジニアリングツール2は、コンピュータを利用して実現可能である。コンピュータは、CPU21と、RAM22と、ROM23と、記憶部24と、入力部25と、表示部26と、通信インタフェース27と、を含む。CPU21、RAM22、ROM23、記憶部24、入力部25、表示部26及び通信インタフェース27は、バスBを介して接続されている。   The engineering tool 2 can be realized using a computer. The computer includes a CPU 21, a RAM 22, a ROM 23, a storage unit 24, an input unit 25, a display unit 26, and a communication interface 27. The CPU 21, RAM 22, ROM 23, storage unit 24, input unit 25, display unit 26, and communication interface 27 are connected via a bus B.

CPU21は、RAM22を作業領域として使用しながら、ROM23及び記憶部24に記憶されているプログラムを実行する。ROM23に記憶されているプログラムは、BIOS(Basic Input/Output System)又はUEFI(Unified Extensible Firmware Interface)が例示される。記憶部24に記憶されているプログラムは、オペレーティングシステムプログラム及びエンジニアリングツールプログラムが例示される。記憶部24は、SSD又はHDDが例示される。   The CPU 21 executes programs stored in the ROM 23 and the storage unit 24 while using the RAM 22 as a work area. The program stored in the ROM 23 is exemplified by BIOS (Basic Input / Output System) or UEFI (Unified Extensible Firmware Interface). Examples of the program stored in the storage unit 24 include an operating system program and an engineering tool program. The storage unit 24 is exemplified by an SSD or an HDD.

入力部25は、ユーザからの操作入力を受け付ける受信機である。入力部25は、キーボード又はマウスが例示される。表示部26は、文字及び画像を表示する。表示部26は、ディスプレイであり、液晶表示装置が例示される。通信インタフェース27は、データ管理装置3と通信を行う。   The input unit 25 is a receiver that receives an operation input from a user. The input unit 25 is exemplified by a keyboard or a mouse. The display unit 26 displays characters and images. The display unit 26 is a display, and a liquid crystal display device is exemplified. The communication interface 27 communicates with the data management device 3.

図4は、実施の形態1にかかる産業システムのエンジニアリングツールの機能ブロックを示す図である。   FIG. 4 is a diagram illustrating functional blocks of the engineering tool of the industrial system according to the first embodiment.

なお、エンジニアリングツール6の機能ブロックは、エンジニアリングツール2の機能ブロックと同様であるので、エンジニアリングツール2の機能ブロックについてだけ説明し、エンジニアリングツール6の機能ブロックについては、図示及び説明を省く。   Since the functional blocks of the engineering tool 6 are the same as the functional blocks of the engineering tool 2, only the functional blocks of the engineering tool 2 will be described, and the functional blocks of the engineering tool 6 will not be shown or described.

CPU21は、記憶部24に記憶されたエンジニアリングツールプログラムを実行する。これにより、プロジェクトデータ24aを作成及び変更するプロジェクトデータ作成部21aが実現される。   The CPU 21 executes the engineering tool program stored in the storage unit 24. Thereby, the project data creation unit 21a for creating and changing the project data 24a is realized.

プロジェクトデータ作成部21aは、ユーザからの入力に基づいて、プロジェクトデータ24aを作成し、データ管理装置3に送信する。   The project data creation unit 21a creates project data 24a based on the input from the user and transmits it to the data management device 3.

また、プロジェクトデータ作成部21aは、ユーザからの入力に基づいて、プロジェクトデータ24aを変更し、変更後のプロジェクトデータ24bを作成する。プロジェクトデータ作成部21aは、プロジェクトデータ24bをデータ管理装置3に送信する。   Further, the project data creation unit 21a changes the project data 24a based on the input from the user, and creates the changed project data 24b. The project data creation unit 21a transmits the project data 24b to the data management device 3.

プロジェクトデータ24bは、機械5を制御するための制御プログラム24b1と、制御プログラム24b1の実行時に参照される制御パラメータ24b2と、メモリ4a2内の作業領域を規定するデバイスメモリ24b3と、サブ基板4bと機械5との接続関係を規定する接続情報24b4と、を含む。デバイスメモリ24b3は、作業領域である複数のデバイスの幾つかの初期値である加工条件24b3aを規定する情報である。   The project data 24b includes a control program 24b1 for controlling the machine 5, a control parameter 24b2 that is referred to when the control program 24b1 is executed, a device memory 24b3 that defines a work area in the memory 4a2, a sub board 4b, and a machine Connection information 24b4 that defines the connection relationship with. The device memory 24b3 is information that defines processing conditions 24b3a that are some initial values of a plurality of devices that are work areas.

図5は、実施の形態1にかかるデータ管理装置のハードウェア構成を示す図である。   FIG. 5 is a diagram of a hardware configuration of the data management apparatus according to the first embodiment.

データ管理装置3は、コンピュータを利用して実現可能である。コンピュータは、CPU31と、RAM32と、ROM33と、記憶部34と、入力部35と、表示部36と、通信インタフェース37と、を含む。CPU31、RAM32、ROM33、記憶部34、入力部35、表示部36及び通信インタフェース37は、バスB3を介して接続されている。   The data management device 3 can be realized using a computer. The computer includes a CPU 31, a RAM 32, a ROM 33, a storage unit 34, an input unit 35, a display unit 36, and a communication interface 37. The CPU 31, RAM 32, ROM 33, storage unit 34, input unit 35, display unit 36, and communication interface 37 are connected via a bus B3.

CPU31は、RAM32を作業領域として使用しながら、ROM33及び記憶部34に記憶されているプログラムを実行する。ROM33に記憶されているプログラムは、BIOS又はUEFIが例示される。記憶部34に記憶されているプログラムは、オペレーティングシステムプログラムが例示される。記憶部34は、SSD又はHDDが例示される。   The CPU 31 executes programs stored in the ROM 33 and the storage unit 34 while using the RAM 32 as a work area. The program stored in the ROM 33 is exemplified by BIOS or UEFI. The program stored in the storage unit 34 is exemplified by an operating system program. The storage unit 34 is exemplified by SSD or HDD.

入力部35は、ユーザからの操作入力を受け付ける受信機である。入力部35は、キーボード又はマウスが例示される。表示部36は、文字及び画像を表示する。表示部36は、ディスプレイであり、液晶表示装置が例示される。通信インタフェース37は、データ管理装置3と通信を行う。   The input unit 35 is a receiver that receives an operation input from a user. The input unit 35 is exemplified by a keyboard or a mouse. The display unit 36 displays characters and images. The display unit 36 is a display, and a liquid crystal display device is exemplified. The communication interface 37 communicates with the data management device 3.

図6は、実施の形態1にかかるデータ管理装置の機能ブロックを示す図である。   FIG. 6 is a functional block diagram of the data management apparatus according to the first embodiment.

記憶部34は、データ受信プログラム34aを記憶する。データ受信プログラム34aは、変更された制御プログラム及び変更された制御プログラムの変更履歴の情報である履歴情報をエンジニアリングツール2又は6から受信し、変更された制御プログラムのプログラマブルコントローラ4への送信前に、変更された制御プログラムを、記憶部34内のバッファ領域34fに書込むためのプログラムである。   The storage unit 34 stores a data reception program 34a. The data reception program 34a receives history information, which is information on the changed control program and the change history of the changed control program, from the engineering tool 2 or 6, and before sending the changed control program to the programmable controller 4. This is a program for writing the changed control program into the buffer area 34 f in the storage unit 34.

CPU31がデータ受信プログラム34aを実行することで、変更された制御プログラム及び変更された制御プログラムの変更履歴の情報である履歴情報をエンジニアリングツール2又は6から受信し、変更された制御プログラムのプログラマブルコントローラ4への送信前に、変更された制御プログラムを、記憶部34内のバッファ領域34fに書込むデータ受信部31aが実現される。   When the CPU 31 executes the data reception program 34a, it receives from the engineering tool 2 or 6 history information that is information on the changed control program and change history of the changed control program, and the programmable controller of the changed control program. The data receiving unit 31a for writing the changed control program into the buffer area 34f in the storage unit 34 before the transmission to 4 is realized.

記憶部34は、履歴管理プログラム34bを記憶する。履歴管理プログラム34bは、データ受信部31aで受信された履歴情報を、記憶部34内の履歴データベース34hに書込むためのプログラムである。   The storage unit 34 stores a history management program 34b. The history management program 34b is a program for writing history information received by the data receiving unit 31a into the history database 34h in the storage unit 34.

CPU31が履歴管理プログラム34bを実行することで、データ受信部31aで受信された履歴情報を、記憶部34内の履歴データベース34hに書込む履歴管理部31bが実現される。   When the CPU 31 executes the history management program 34b, the history management unit 31b for writing the history information received by the data receiving unit 31a into the history database 34h in the storage unit 34 is realized.

記憶部34は、データバックアッププログラム34cを記憶する。データバックアッププログラム34cは、プログラマブルコントローラ4に現在記憶されている制御プログラムをプログラマブルコントローラ4から受信し、プログラマブルコントローラ4から受信した制御プログラムを、記憶部34内のデータ保管領域34gにバックアップするためのプログラムである。   The storage unit 34 stores a data backup program 34c. The data backup program 34c receives a control program currently stored in the programmable controller 4 from the programmable controller 4, and backs up the control program received from the programmable controller 4 to the data storage area 34g in the storage unit 34. It is.

CPU31がデータバックアッププログラム34cを実行することで、プログラマブルコントローラ4に現在記憶されている制御プログラムをプログラマブルコントローラ4から受信し、プログラマブルコントローラ4から受信した制御プログラムを、記憶部34内のデータ保管領域34gにバックアップするデータバックアップ部31cが実現される。   When the CPU 31 executes the data backup program 34c, the control program currently stored in the programmable controller 4 is received from the programmable controller 4, and the control program received from the programmable controller 4 is stored in the data storage area 34g in the storage unit 34. A data backup unit 31c is backed up.

記憶部34は、データ送信プログラム34dを記憶する。データ送信プログラム34dは、データバックアップ部31cによるバックアップの後に、バッファ領域34fに記憶されている変更された制御プログラムをプログラマブルコントローラ4に送信するためのプログラムである。   The storage unit 34 stores a data transmission program 34d. The data transmission program 34d is a program for transmitting the changed control program stored in the buffer area 34f to the programmable controller 4 after the backup by the data backup unit 31c.

CPU31がデータ送信プログラム34dを実行することで、データバックアップ部31cによるバックアップの後に、バッファ領域34fに記憶されている変更された制御プログラムをプログラマブルコントローラ4に送信するデータ送信部31dが実現される。   When the CPU 31 executes the data transmission program 34d, the data transmission unit 31d that transmits the changed control program stored in the buffer area 34f to the programmable controller 4 after the backup by the data backup unit 31c is realized.

記憶部34は、データリストアプログラム34eを記憶する。データリストアプログラム34eは、データ保管領域34gに記憶されているバックアップされた制御プログラムの選択を受け付けて、選択された制御プログラムをプログラマブルコントローラ4に送信するためのプログラムである。   The storage unit 34 stores a data restore program 34e. The data restoration program 34e is a program for receiving selection of a backed up control program stored in the data storage area 34g and transmitting the selected control program to the programmable controller 4.

CPU31がデータリストアプログラム34eを実行することで、データ保管領域34gに記憶されているバックアップされた制御プログラムの選択を受け付けて、選択された制御プログラムをプログラマブルコントローラ4に送信するデータリストア部31eが実現される。   The CPU 31 executes the data restore program 34e, thereby realizing a data restore unit 31e that accepts selection of a backed up control program stored in the data storage area 34g and transmits the selected control program to the programmable controller 4. Is done.

データ管理装置3の動作について説明する。   The operation of the data management device 3 will be described.

図7は、実施の形態1にかかるデータ管理装置のバックアップ処理を示すフローチャートである。データ管理装置3は、エンジニアリングツール2又は6が変更後のプロジェクトデータ24bの送信を開始する際に、図7に示す処理を開始する。   FIG. 7 is a flowchart of a backup process of the data management apparatus according to the first embodiment. The data management device 3 starts the process shown in FIG. 7 when the engineering tool 2 or 6 starts transmitting the changed project data 24b.

データ管理装置3のデータ受信部31aは、ステップS100において、変更後のプロジェクトデータ24b及び変更履歴の情報である履歴情報を、エンジニアリングツール2又は6から受信する。   In step S100, the data receiving unit 31a of the data management device 3 receives the changed project data 24b and history information that is information about the change history from the engineering tool 2 or 6.

履歴情報は、プロジェクトデータ24bを作成したユーザを一意に特定するユーザ名、プロジェクトデータ24bのプロジェクトデータ名、プロジェクトデータ24bを作成したエンジニアリングツール2又は6のツールID、プロジェクトデータ24bを作成したエンジニアリングツール2又は6のIP(Internet Protocol version 4)アドレス、プロジェクトデータ24bの作成日時又は送信日時、及び、その他の情報を含む。その他の情報は、「制御プログラムの○○○を×××のように変更した。」のような変更箇所又は変更理由が例示される。   The history information includes the user name that uniquely identifies the user who created the project data 24b, the project data name of the project data 24b, the tool ID of the engineering tool 2 or 6 that created the project data 24b, and the engineering tool that created the project data 24b. 2 or 6 IP (Internet Protocol version 4) address, creation date or transmission date and time of the project data 24b, and other information. The other information is exemplified by the changed part or the reason for the change such as “the control program has been changed to XXX as xxx”.

データ管理装置3のデータ受信部31aは、ステップS102において、プロジェクトデータ24bをバッファ領域34fに書込む。   In step S102, the data receiving unit 31a of the data management device 3 writes the project data 24b into the buffer area 34f.

データ管理装置3の履歴管理部31bは、ステップS104において、エンジニアリングツール2又は6から受信した履歴情報に履歴IDを付加した履歴データを、履歴データベース34hに書込む。   In step S104, the history management unit 31b of the data management device 3 writes history data obtained by adding a history ID to the history information received from the engineering tool 2 or 6 in the history database 34h.

図8は、実施の形態1にかかるデータ管理装置が記憶する履歴データを示す図である。   FIG. 8 is a diagram of history data stored in the data management apparatus according to the first embodiment.

履歴データ34h1は、履歴ID34h1aと、ユーザ名34h1bと、プロジェクトデータ名34h1cと、ツールID34h1dと、IPアドレス34h1eと、日時34h1fと、その他34h1gと、を含む。   The history data 34h1 includes a history ID 34h1a, a user name 34h1b, a project data name 34h1c, a tool ID 34h1d, an IP address 34h1e, a date 34h1f, and the other 34h1g.

ユーザ名34h1b、プロジェクトデータ名34h1c、ツールID34h1d、IPアドレス34h1e、日時34h1f及びその他34h1gは、ステップS100でエンジニアリングツール2又は6から受信した履歴情報である。   The user name 34h1b, project data name 34h1c, tool ID 34h1d, IP address 34h1e, date 34h1f, and other 34h1g are the history information received from the engineering tool 2 or 6 in step S100.

履歴ID34h1aは、履歴データ34h1を一意に特定する識別子であり、履歴管理部31bによって生成される。   The history ID 34h1a is an identifier that uniquely identifies the history data 34h1, and is generated by the history management unit 31b.

再び図7を参照すると、データ管理装置3のデータバックアップ部31cは、ステップS106において、プログラマブルコントローラ4の記憶部4a5に現在記憶されているプロジェクトデータつまりプロジェクトデータ24aをプログラマブルコントローラ4から受信して、データ保管領域34gに書込む。   Referring to FIG. 7 again, in step S106, the data backup unit 31c of the data management device 3 receives the project data currently stored in the storage unit 4a5 of the programmable controller 4, that is, the project data 24a from the programmable controller 4, Write to the data storage area 34g.

詳細には、データ管理装置3のデータバックアップ部31cは、プログラマブルコントローラ4の記憶部4a5に現在記憶されているプロジェクトデータつまりプロジェクトデータ24aを要求する信号を、プログラマブルコントローラ4に送信する。プログラマブルコントローラ4のCPU4a1は、プロジェクトデータ24aを要求する信号をデータ管理装置3から受信したら、プロジェクトデータ24aを記憶部4a5から読み出して、データバックアップ部31cに送信する。データバックアップ部31cは、プロジェクトデータ24aをプログラマブルコントローラ4から受信したら、プロジェクトデータ24aをデータ保管領域34gに書込む。   Specifically, the data backup unit 31 c of the data management device 3 transmits to the programmable controller 4 a signal requesting the project data currently stored in the storage unit 4 a 5 of the programmable controller 4, that is, the project data 24 a. When the CPU 4a1 of the programmable controller 4 receives a signal requesting the project data 24a from the data management device 3, the CPU 4a1 reads the project data 24a from the storage unit 4a5 and transmits it to the data backup unit 31c. When the data backup unit 31c receives the project data 24a from the programmable controller 4, the data backup unit 31c writes the project data 24a into the data storage area 34g.

図9は、実施の形態1にかかるデータ管理装置のデータ保管領域に書込まれるデータを示す図である。   FIG. 9 is a diagram illustrating data written in the data storage area of the data management apparatus according to the first embodiment.

データ管理装置3のデータバックアップ部31cは、フォルダ名が履歴IDであるフォルダ24g1を、データ保管領域34g内に作成する。データバックアップ部31cは、プロジェクトデータ24aをフォルダ24g1内に書込む。データバックアップ部31cは、プロジェクトデータ24aをプログラマブルコントローラ4から受信した日時を記述したバックアップ日時データ24g1aを、フォルダ24g1内に作成する。   The data backup unit 31c of the data management device 3 creates the folder 24g1 whose folder name is the history ID in the data storage area 34g. The data backup unit 31c writes the project data 24a in the folder 24g1. The data backup unit 31c creates backup date / time data 24g1a describing the date / time when the project data 24a is received from the programmable controller 4 in the folder 24g1.

再び図7を参照すると、データ管理装置3のデータ送信部31dは、ステップS108において、バッファ領域34fに書込まれているプロジェクトデータ24bを、プログラマブルコントローラ4に送信する。プログラマブルコントローラ4のCPU4a1は、プロジェクトデータ24bをデータ送信部31dから受信したら、記憶部4a5に書込んで、プロジェクトデータ24bをプロジェクトデータ24aに上書きする。   Referring to FIG. 7 again, the data transmission unit 31d of the data management device 3 transmits the project data 24b written in the buffer area 34f to the programmable controller 4 in step S108. When the CPU 4a1 of the programmable controller 4 receives the project data 24b from the data transmission unit 31d, the CPU 4a1 writes it into the storage unit 4a5 and overwrites the project data 24b with the project data 24a.

図10は、実施の形態1にかかるデータ管理装置のリストア処理を示すフローチャートである。   FIG. 10 is a flowchart of a restore process of the data management apparatus according to the first embodiment.

データ管理装置3のデータリストア部31eは、ステップS200において、履歴データベース34hに記憶されている1つ又は複数の履歴データを、エンジニアリングツール2又は6の表示部26に一覧表示する。   In step S200, the data restoration unit 31e of the data management device 3 displays a list of one or a plurality of history data stored in the history database 34h on the display unit 26 of the engineering tool 2 or 6.

詳細には、データ管理装置3のデータリストア部31eは、履歴データベース34hに記憶されている1つ又は複数の履歴データを、エンジニアリングツール2又は6に送信する。エンジニアリングツール2又は6のCPU21は、1つ又は複数の履歴データをデータ管理装置3から受信したら、1つ又は複数の履歴データを表示部26に一覧表示する。   Specifically, the data restoration unit 31e of the data management device 3 transmits one or a plurality of history data stored in the history database 34h to the engineering tool 2 or 6. When the CPU 21 of the engineering tool 2 or 6 receives one or more history data from the data management device 3, the CPU 21 displays a list of one or more history data on the display unit 26.

ユーザは、エンジニアリングツール2又は6の入力部25を操作して、表示部26に一覧表示されている1つ又は複数の履歴データの中から1つの履歴データを選択する。   The user operates the input unit 25 of the engineering tool 2 or 6 to select one history data from one or a plurality of history data displayed as a list on the display unit 26.

データ管理装置3のデータリストア部31eは、ステップS202において、ユーザの選択を受け付ける。詳細には、エンジニアリングツール2又は6のCPU21は、ユーザの選択を表す信号をデータ管理装置3に送信する。データ管理装置3のデータリストア部31eは、ユーザの選択を表す信号をエンジニアリングツール2又は6から受信する。   In step S202, the data restore unit 31e of the data management device 3 accepts the user's selection. Specifically, the CPU 21 of the engineering tool 2 or 6 transmits a signal representing the user's selection to the data management device 3. The data restoration unit 31e of the data management device 3 receives a signal representing the user's selection from the engineering tool 2 or 6.

データ管理装置3のデータリストア部31eは、ステップS204において、エンジニアリングツール2又は6を使用しているユーザのユーザIDが選択された履歴データ内のユーザIDと一致するか否かを判定する。データリストア部31eは、エンジニアリングツール2又は6を使用しているユーザのユーザIDが選択された履歴データ内のユーザIDと一致すると判定したら(ステップS204でYes)、処理をステップS206に進める。データリストア部31eは、ユーザのユーザIDが選択された履歴データ内のユーザIDと一致しないと判定したら(ステップS204でNo)、処理を終了する。   In step S204, the data restoration unit 31e of the data management device 3 determines whether or not the user ID of the user using the engineering tool 2 or 6 matches the user ID in the selected history data. If the data restoration unit 31e determines that the user ID of the user using the engineering tool 2 or 6 matches the user ID in the selected history data (Yes in step S204), the process proceeds to step S206. If it is determined that the user ID of the user does not match the user ID in the selected history data (No in step S204), the data restoration unit 31e ends the process.

これにより、データ管理装置3のデータリストア部31eは、リストア対象のプロジェクトデータを作成したユーザだけがリストアを行えるようにすることができる。   As a result, the data restore unit 31e of the data management device 3 can restore only the user who created the project data to be restored.

データ管理装置3のデータリストア部31eは、ステップS206において、ユーザによって選択された履歴データ内の履歴IDで一意に特定されるプロジェクトデータをデータ保管領域34gから読出して、プログラマブルコントローラ4に送信する。プログラマブルコントローラ4のCPU4a1は、プロジェクトデータをデータ送信部31dから受信したら、記憶部4a5に書込んで、受信したプロジェクトデータをプロジェクトデータ24bに上書きする。   In step S206, the data restoration unit 31e of the data management device 3 reads the project data uniquely specified by the history ID in the history data selected by the user from the data storage area 34g, and transmits it to the programmable controller 4. When the CPU 4a1 of the programmable controller 4 receives the project data from the data transmission unit 31d, the CPU 4a1 writes it in the storage unit 4a5 and overwrites the received project data on the project data 24b.

なお、データ管理装置3のデータリストア部31eは、ステップS204において、ユーザのユーザIDが選択された履歴データ内のユーザIDと一致するか否かを判定することに加えて、エンジニアリングツール2又は6のツールIDが選択された履歴データ内のツールIDと一致するか否かも併せて判定しても良い。そして、データリストア部31eは、ユーザのユーザIDが選択された履歴データ内のユーザIDと一致すると判定し且つエンジニアリングツール2又は6のツールIDが選択された履歴データ内のツールIDと一致すると判定したら、処理をステップS206に進め、エンジニアリングツール2又は6のツールIDが選択された履歴データ内のツールIDと一致しないと判定したら、処理を終了すると良い。   Note that the data restoration unit 31e of the data management device 3 determines whether or not the user ID of the user matches the user ID in the selected history data in step S204, in addition to the engineering tool 2 or 6 It may also be determined whether or not the tool ID matches the tool ID in the selected history data. Then, the data restoration unit 31e determines that the user ID of the user matches the user ID in the selected history data and determines that the tool ID of the engineering tool 2 or 6 matches the tool ID in the selected history data. Then, the process proceeds to step S206, and if it is determined that the tool ID of the engineering tool 2 or 6 does not match the tool ID in the selected history data, the process may be terminated.

これにより、データ管理装置3のデータリストア部31eは、リストア対象のプロジェクトデータを作成したユーザがリストア対象のプロジェクトデータを作成したエンジニアリングツールを操作した場合だけ、リストアを行えるようにすることができる。   As a result, the data restoration unit 31e of the data management apparatus 3 can perform restoration only when the user who created the restoration target project data operates the engineering tool that created the restoration target project data.

また、データリストア部31eは、履歴データベース34hに記憶されている1つ又は複数の履歴データを、データ管理装置3の表示部36に一覧表示し、データ管理装置3を使用しているユーザによって選択された履歴データ内の履歴IDで一意に特定されるプロジェクトデータをデータ保管領域34gから読出して、プログラマブルコントローラ4に送信しても良い。   In addition, the data restoration unit 31e displays a list of one or more history data stored in the history database 34h on the display unit 36 of the data management device 3, and is selected by the user using the data management device 3 The project data uniquely specified by the history ID in the history data thus read may be read from the data storage area 34g and transmitted to the programmable controller 4.

以上説明したように、データ管理装置3は、エンジニアリングツール2又は6から変更後のプロジェクトデータ24bを受信したら、プロジェクトデータ24bをプログラマブルコントローラ4に送信する前に、プロジェクトデータ24bをバッファ領域34fに一旦書込む。そして、データ管理装置3は、プロジェクトデータ24aをプログラマブルコントローラ4から受信して、データ保管領域34gに書込む。その後、データ管理装置3は、バッファ領域34fに記憶されているプロジェクトデータ24bをプログラマブルコントローラ4に送信する。   As described above, when the data management apparatus 3 receives the changed project data 24b from the engineering tool 2 or 6, the data management apparatus 3 temporarily stores the project data 24b in the buffer area 34f before transmitting the project data 24b to the programmable controller 4. Write. Then, the data management device 3 receives the project data 24a from the programmable controller 4 and writes it in the data storage area 34g. Thereafter, the data management device 3 transmits the project data 24b stored in the buffer area 34f to the programmable controller 4.

従って、データ管理装置3は、プロジェクトデータ24a内の制御プログラム24a1、制御パラメータ24a2、デバイスメモリ24a3、加工条件24a3a又は接続情報24a4がプログラマブルコントローラ4でチューニングつまり小変更されていても、チューニングされた後のプロジェクトデータ24aをデータ保管領域34gにバックアップすることができる。   Therefore, the data management device 3 is tuned even if the control program 24a1, the control parameter 24a2, the device memory 24a3, the processing condition 24a3a or the connection information 24a4 in the project data 24a is tuned by the programmable controller 4, that is, after being tuned. The project data 24a can be backed up in the data storage area 34g.

これにより、データ管理装置3は、プログラマブルコントローラ4でチューニングされた後のプロジェクトデータを好適に管理できる。   Thereby, the data management apparatus 3 can manage suitably the project data after being tuned by the programmable controller 4.

また、データ管理装置3は、プロジェクトデータを記憶部34内で一元的に管理できる。つまり、データ管理装置3のデータ受信部31aは、エンジニアリングツール2及び6の各々でプロジェクトデータが変更され、エンジニアリングツール2及び6の内の何れかから変更後のプロジェクトデータ及び履歴情報を受信した場合に、受信した変更後のプロジェクトデータ及び履歴情報をバッファ領域34fに書込む。   Further, the data management device 3 can manage the project data in the storage unit 34 in an integrated manner. In other words, the data receiving unit 31a of the data management device 3 receives the changed project data and history information from either of the engineering tools 2 and 6 when the project data is changed in each of the engineering tools 2 and 6. Then, the received changed project data and history information are written into the buffer area 34f.

データ管理装置3の履歴管理部31bは、データ受信部31aがエンジニアリングツール2及び6の内の何れかから変更後のプロジェクトデータ及び履歴情報を受信した場合に、履歴IDを履歴情報に付加した履歴データを履歴データベース34hに書込む。   The history management unit 31b of the data management device 3 adds a history ID to the history information when the data receiving unit 31a receives the changed project data and history information from any of the engineering tools 2 and 6. Data is written into the history database 34h.

データ管理装置3のデータバックアップ部31cは、プログラマブルコントローラ4の記憶部4a5に現在記憶されているプロジェクトデータをプログラマブルコントローラ4から受信し、プログラマブルコントローラ4から受信したプロジェクトデータをデータ保管領域34gにバックアップする。   The data backup unit 31c of the data management device 3 receives the project data currently stored in the storage unit 4a5 of the programmable controller 4 from the programmable controller 4, and backs up the project data received from the programmable controller 4 to the data storage area 34g. .

これにより、データ管理装置3は、プログラマブルコントローラ4から受信したプロジェクトデータを記憶部34内で一元的に管理できる。   Thereby, the data management device 3 can centrally manage the project data received from the programmable controller 4 in the storage unit 34.

以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。   The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

1 産業システム、2,6 エンジニアリングツール、3 データ管理装置、4 プログラマブルコントローラ、5 機械、31a データ受信部、31b 履歴管理部、31c データバックアップ部、31d データ送信部、31e データリストア部、34f バッファ領域、34g データ保管領域、34h 履歴データベース。   DESCRIPTION OF SYMBOLS 1 Industrial system, 2,6 Engineering tool, 3 Data management apparatus, 4 Programmable controller, 5 Machine, 31a Data reception part, 31b History management part, 31c Data backup part, 31d Data transmission part, 31e Data restoration part, 34f Buffer area 34g Data storage area, 34h History database.

Claims (6)

プログラマブルコントローラで実行される制御プログラムを管理するデータ管理装置であって、
バッファ領域及びデータ保管領域を有し、履歴データベースを記憶する記憶部と、
変更された制御プログラム及び前記変更された制御プログラムの変更履歴の情報である履歴情報をエンジニアリングツールから受信し、前記変更された制御プログラムの前記プログラマブルコントローラへの送信前に、前記変更された制御プログラムを前記バッファ領域に書込むデータ受信部と、
前記データ受信部で受信された前記履歴情報を前記履歴データベースに書込む履歴管理部と、
前記プログラマブルコントローラに現在記憶されている制御プログラムを前記プログラマブルコントローラから受信し、前記プログラマブルコントローラから受信した前記制御プログラムを前記データ保管領域にバックアップするデータバックアップ部と、
前記データバックアップ部によるバックアップの後に、前記バッファ領域に記憶されている前記変更された制御プログラムを前記プログラマブルコントローラに送信するデータ送信部と、
を備えることを特徴とするデータ管理装置。
A data management device for managing a control program executed by a programmable controller,
A storage unit having a buffer area and a data storage area and storing a history database;
The changed control program and the history information which is the change history information of the changed control program are received from the engineering tool, and the changed control program is transmitted to the programmable controller before the changed control program is transmitted. A data receiver for writing to the buffer area;
A history management unit that writes the history information received by the data receiving unit to the history database;
A data backup unit that receives a control program currently stored in the programmable controller from the programmable controller, and backs up the control program received from the programmable controller in the data storage area;
A data transmission unit that transmits the changed control program stored in the buffer area to the programmable controller after backup by the data backup unit;
A data management device comprising:
前記データ受信部は、
前記変更された制御プログラムの実行時に参照される、変更された制御パラメータをエンジニアリングツールから受信し、前記変更された制御パラメータの前記プログラマブルコントローラへの送信前に、前記変更された制御パラメータを前記バッファ領域に書込み、
前記データバックアップ部は、
前記プログラマブルコントローラに現在記憶されている制御パラメータを前記プログラマブルコントローラから受信し、前記プログラマブルコントローラから受信した前記制御パラメータを前記データ保管領域にバックアップし、
前記データ送信部は、
前記データバックアップ部によるバックアップの後に、前記バッファ領域に記憶されている前記変更された制御パラメータを前記プログラマブルコントローラに送信する
ことを特徴とする請求項1に記載のデータ管理装置。
The data receiver is
Receiving a modified control parameter, referred to when executing the modified control program, from an engineering tool, and transmitting the modified control parameter to the buffer before sending the modified control parameter to the programmable controller Write to the area,
The data backup unit
The control parameter currently stored in the programmable controller is received from the programmable controller, the control parameter received from the programmable controller is backed up in the data storage area,
The data transmitter is
The data management device according to claim 1, wherein after the backup by the data backup unit, the changed control parameter stored in the buffer area is transmitted to the programmable controller.
前記データ受信部は、
前記プログラマブルコントローラによる制御下で被加工物を加工するための条件である、変更された加工条件をエンジニアリングツールから受信し、前記変更された加工条件の前記プログラマブルコントローラへの送信前に、前記変更された加工条件を前記バッファ領域に書込み、
前記データバックアップ部は、
前記プログラマブルコントローラに現在記憶されている加工条件を前記プログラマブルコントローラから受信し、前記プログラマブルコントローラから受信した前記加工条件を前記データ保管領域にバックアップし、
前記データ送信部は、
前記データバックアップ部によるバックアップの後に、前記バッファ領域に記憶されている前記変更された加工条件を前記プログラマブルコントローラに送信する
ことを特徴とする請求項1に記載のデータ管理装置。
The data receiver is
A modified machining condition, which is a condition for machining a workpiece under the control of the programmable controller, is received from an engineering tool, and the modified machining condition is changed before transmission to the programmable controller. Write the machining conditions to the buffer
The data backup unit
The machining conditions currently stored in the programmable controller are received from the programmable controller, the machining conditions received from the programmable controller are backed up in the data storage area,
The data transmitter is
The data management apparatus according to claim 1, wherein after the backup by the data backup unit, the changed processing condition stored in the buffer area is transmitted to the programmable controller.
前記データ受信部は、
複数の前記エンジニアリングツールの内の何れかから前記変更された制御プログラム及び前記履歴情報を受信した場合に、前記変更された制御プログラムの前記プログラマブルコントローラへの送信前に、前記変更された制御プログラムを前記バッファ領域に書込む
ことを特徴とする請求項1に記載のデータ管理装置。
The data receiver is
When the changed control program and the history information are received from any one of the plurality of engineering tools, the changed control program is transmitted before the changed control program is transmitted to the programmable controller. The data management apparatus according to claim 1, wherein writing is performed in the buffer area.
プログラマブルコントローラで実行される制御プログラムを管理するデータ管理装置が実行するデータ管理方法であって、
変更された制御プログラム及び前記変更された制御プログラムの変更履歴の情報である履歴情報をエンジニアリングツールから受信し、前記変更された制御プログラムの前記プログラマブルコントローラへの送信前に、前記変更された制御プログラムを、記憶部内のバッファ領域に書込むデータ受信ステップと、
前記データ受信ステップで受信された前記履歴情報を、前記記憶部内の履歴データベースに書込む履歴管理ステップと、
前記プログラマブルコントローラに現在記憶されている制御プログラムを前記プログラマブルコントローラから受信し、前記プログラマブルコントローラから受信した前記制御プログラムを、前記記憶部内のデータ保管領域にバックアップするデータバックアップステップと、
前記データバックアップステップによるバックアップの後に、前記バッファ領域に記憶されている前記変更された制御プログラムを前記プログラマブルコントローラに送信するデータ送信ステップと、
を備えることを特徴とするデータ管理方法。
A data management method executed by a data management device that manages a control program executed by a programmable controller,
The changed control program and the history information which is the change history information of the changed control program are received from the engineering tool, and the changed control program is transmitted to the programmable controller before the changed control program is transmitted. A data receiving step for writing to the buffer area in the storage unit;
A history management step of writing the history information received in the data reception step into a history database in the storage unit;
A data backup step of receiving a control program currently stored in the programmable controller from the programmable controller and backing up the control program received from the programmable controller in a data storage area in the storage unit;
A data transmission step of transmitting the changed control program stored in the buffer area to the programmable controller after the backup by the data backup step;
A data management method comprising:
プログラマブルコントローラで実行される制御プログラムを管理するデータ管理プログラムであって、
変更された制御プログラム及び前記変更された制御プログラムの変更履歴の情報である履歴情報をエンジニアリングツールから受信し、前記変更された制御プログラムの前記プログラマブルコントローラへの送信前に、前記変更された制御プログラムを、記憶部内のバッファ領域に書込むデータ受信ステップと、
前記データ受信ステップで受信された前記履歴情報を、前記記憶部内の履歴データベースに書込む履歴管理ステップと、
前記プログラマブルコントローラに現在記憶されている制御プログラムを前記プログラマブルコントローラから受信し、前記プログラマブルコントローラから受信した前記制御プログラムを、前記記憶部内のデータ保管領域にバックアップするデータバックアップステップと、
前記データバックアップステップによるバックアップの後に、前記バッファ領域に記憶されている前記変更された制御プログラムを前記プログラマブルコントローラに送信するデータ送信ステップと、
をコンピュータに実行させることを特徴とするデータ管理プログラム。
A data management program for managing a control program executed by a programmable controller,
The changed control program and the history information which is the change history information of the changed control program are received from the engineering tool, and the changed control program is transmitted to the programmable controller before the changed control program is transmitted. A data receiving step for writing to the buffer area in the storage unit;
A history management step of writing the history information received in the data reception step into a history database in the storage unit;
A data backup step of receiving a control program currently stored in the programmable controller from the programmable controller and backing up the control program received from the programmable controller in a data storage area in the storage unit;
A data transmission step of transmitting the changed control program stored in the buffer area to the programmable controller after the backup by the data backup step;
A data management program for causing a computer to execute.
JP2016555848A 2015-12-28 2015-12-28 Data management apparatus, data management method, and data management program Active JP6054008B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/086541 WO2017115426A1 (en) 2015-12-28 2015-12-28 Data management device, data management method, and data management program

Publications (2)

Publication Number Publication Date
JP6054008B1 JP6054008B1 (en) 2016-12-27
JPWO2017115426A1 true JPWO2017115426A1 (en) 2017-12-28

Family

ID=57582123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016555848A Active JP6054008B1 (en) 2015-12-28 2015-12-28 Data management apparatus, data management method, and data management program

Country Status (2)

Country Link
JP (1) JP6054008B1 (en)
WO (1) WO2017115426A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112018006908B4 (en) 2018-03-02 2021-11-18 Mitsubishi Electric Corporation Data management system, data management method and data management program
JP2022029907A (en) 2020-08-06 2022-02-18 オムロン株式会社 Control apparatus and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132501A (en) * 2000-10-23 2002-05-10 Mitsubishi Electric Corp Instrumentation control system and engineering tool for control apparatus
JP3957970B2 (en) * 2000-11-30 2007-08-15 株式会社デジタル Control display device and recording medium on which program is recorded
JP2009230399A (en) * 2008-03-21 2009-10-08 Fuji Xerox Co Ltd Firmware update system and firmware update program
JP2012141931A (en) * 2011-01-06 2012-07-26 Mitsubishi Electric Corp Maintenance device, maintenance method and program
JP5760618B2 (en) * 2011-04-07 2015-08-12 コニカミノルタ株式会社 Management apparatus and management method
KR20160086957A (en) * 2013-12-03 2016-07-20 미쓰비시덴키 가부시키가이샤 Engineering tool program and network program

Also Published As

Publication number Publication date
JP6054008B1 (en) 2016-12-27
WO2017115426A1 (en) 2017-07-06

Similar Documents

Publication Publication Date Title
JP6125119B2 (en) System design support apparatus, system design support method, and system design support program
CN109358549B (en) Intelligent control method and device for excavator
JP6054008B1 (en) Data management apparatus, data management method, and data management program
JP2008108082A (en) Process control system
JP2003233544A (en) Information processing system, server, peripheral equipment, control method of information processing system, control method of server, control method of peripheral equipment, control program of information processing system, control program of server, control program of peripheral equipment, and storage medium
JP2008077535A (en) Field communication system, field server, field apparatus, and field communication method
JP2006318102A (en) Field equipment management device and field equipment management method
WO2016080268A1 (en) Processing condition management system and production system
KR101513393B1 (en) Program creation device and programmable logic controller
JP2009266149A (en) Job management program and job management apparatus
JP6413258B2 (en) EDI system, EDI system control method, information processing apparatus, information processing apparatus control method, and program
JP2018180722A (en) Data management system
JP6741850B1 (en) Machine system, machine tool, information processing system, setting data inheritance method, and setting data inheritance program
JP6576852B2 (en) Device information management system
JP2008225680A (en) Monitoring control system and method
JP2009064290A (en) Network printer
JP2009098730A (en) Information processor and information processing program
JP7415091B1 (en) Program, program management device, program management system, and program management method
JP6790308B1 (en) Screen data generation system, screen data generation method and program
WO2023238283A1 (en) Display control system, display control method, and display control program
JP2011008361A (en) Equipment management device, equipment management system, equipment setting method, equipment setting program, and recording medium recording the program
JP2016140018A (en) Network device having device management function and device management method
JP2004208278A (en) Data input/output method, program and network system
JP4784928B2 (en) Information processing apparatus, information processing system, information processing method, information processing program, and recording medium therefor
JP2022112989A (en) Control system, engineering device, and control method

Legal Events

Date Code Title Description
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20161012

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161129

R150 Certificate of patent or registration of utility model

Ref document number: 6054008

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250