JP2012190356A - Data acquisition device, performance reproduction device and facility operating state management system - Google Patents

Data acquisition device, performance reproduction device and facility operating state management system Download PDF

Info

Publication number
JP2012190356A
JP2012190356A JP2011054717A JP2011054717A JP2012190356A JP 2012190356 A JP2012190356 A JP 2012190356A JP 2011054717 A JP2011054717 A JP 2011054717A JP 2011054717 A JP2011054717 A JP 2011054717A JP 2012190356 A JP2012190356 A JP 2012190356A
Authority
JP
Japan
Prior art keywords
communication
communication frame
acquired
unit
storage 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
JP2011054717A
Other languages
Japanese (ja)
Other versions
JP5728261B2 (en
Inventor
Takahito Yamaguchi
崇仁 山口
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2011054717A priority Critical patent/JP5728261B2/en
Publication of JP2012190356A publication Critical patent/JP2012190356A/en
Application granted granted Critical
Publication of JP5728261B2 publication Critical patent/JP5728261B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute simulation by preventing occurrence of memory leak even when a unit capacity of a communication frame acquired through high-speed communication is larger than a unit capacity of internally-processable data.SOLUTION: A data acquisition device 30 acquires multiple communication frames consisting of a set of input values, applies data compression processing within the communication frames and data compression processing between the communication frames to each of the acquired communication frames, and records the communication frames after the data compression processing in a first storage part 33. A performance reproduction device 40 restores the recorded communication frames after the compression processing to the set of input values before compression processing in accordance with time information, uses the restored input values to trace a performance state of a facility on the basis of time shown in the corresponding time information, and displays the traced performance state on a screen, separately from the performance state of the facility.

Description

本発明は、入力機器から入力ポートを介して入力値を取得し、予めプログラムされた条件で出力ポートをON/OFFして出力機器を制御するシーケンサに、通信回線経由で接続されるデータ取得装置、及びこのデータ取得装置により取得され、記録される入力値の履歴に基づき、シーケンサの動作状態を制御プログラム上で再現する動作再現装置、ならびにこれらデータ取得装置と動作再現装置とを設備システムに適用して設備の運転状態を管理する設備運転状態管理システムに関する。   The present invention relates to a data acquisition device connected to a sequencer that acquires an input value from an input device via an input port and controls the output device by turning the output port on and off under preprogrammed conditions. And an operation reproduction device for reproducing the operation state of the sequencer on the control program based on the history of input values acquired and recorded by the data acquisition device, and the data acquisition device and the operation reproduction device are applied to the equipment system. It is related with the equipment operation state management system which manages the operation state of equipment.

FA(Factory automation)の分野では、現場に設置された設備(以下、設備システムという)の制御のために、PLC(Programmable Logic Array)等のシーケンサが用いられる。PLCは、マイクロコンピュータとメモリを内蔵し、センサやスイッチ等の入力機器から得られる入力信号を入力ポートを介して取得し、予め制御プログラムにプログラムされた条件で出力ポートをON/OFFすることにより、出力ポートに接続される電磁弁、モータ、表示灯等の出力機器を自由に制御することができる。   In the field of FA (Factory Automation), a sequencer such as a PLC (Programmable Logic Array) is used for controlling equipment (hereinafter referred to as equipment system) installed on the site. The PLC incorporates a microcomputer and memory, acquires input signals obtained from input devices such as sensors and switches through the input port, and turns the output port on and off under conditions programmed in advance in the control program. Output devices such as solenoid valves, motors and indicator lights connected to the output port can be freely controlled.

上記した制御プログラムは、PC(Personal Computer)のアプリケーションソフトウエアを使用して作成され、USB(Universal Serial Bus)やRS−232C等のシリアルインタフェースを介してPLCに転送される。また、プログラム言語にはラダープログラムと称される専用の言語が使用される。ラダープログラムは、シーケンス図をベースとし、入力と出力との関係を視覚的にイメージしやすくなっている。   The control program described above is created using application software of a PC (Personal Computer) and transferred to the PLC via a serial interface such as USB (Universal Serial Bus) or RS-232C. A dedicated language called a ladder program is used as the program language. The ladder program is based on a sequence diagram and makes it easy to visualize the relationship between input and output.

ところで、上記した制御プログラムは、制御機械を含む実際の設備に適用して検証する前にシミュレータと呼ばれる仮想テストマシンで予め動作確認を行うことが多い。このとき、オペレータは、対象とする設備システム毎に、入出力シミュレーション用の仮想動作モデルを作成する必要がある。また、タイミングチャートを作成して各回路部品間の動作タイミングを調べ、実際に制御機械の制御を繰り返し実行することによりシミュレーションを行うのが通であった。このため、例えば、特許文献1に開示されているように、制御プログラムの動作時における履歴情報を保存し、その履歴情報を使用して制御プログラム上で動作をトレースすることにより、設備とはオフラインで動作確認を行うことができるデバッグ方法が提案されている。   By the way, the above-described control program often performs an operation check in advance by a virtual test machine called a simulator before being verified by being applied to actual equipment including a control machine. At this time, the operator needs to create a virtual operation model for input / output simulation for each target equipment system. In addition, it is common to perform a simulation by creating a timing chart and examining the operation timing between circuit components and actually repeatedly executing control of the control machine. For this reason, for example, as disclosed in Patent Document 1, history information at the time of operation of the control program is saved, and the operation is traced on the control program using the history information, so that the facility is offline. A debugging method has been proposed that can be used to check the operation.

上記した特許文献1に開示された技術によれば、シミュレーション時に、制御機械を何度も動作させる作業を現場で行う必要が無くなるため、制御機械と切り離したデータ上でデバッグ作業が簡単に行えるようになる。また、設備毎に仮想動作モデルを作成する必要が無くなり、その再現が容易になるため、オペレータに対する負担が軽減される。   According to the technique disclosed in Patent Document 1 described above, it is not necessary to perform the operation of operating the control machine over and over at the time of simulation, so that the debugging work can be easily performed on the data separated from the control machine. become. Further, it is not necessary to create a virtual motion model for each facility, and the reproduction thereof is facilitated, so that the burden on the operator is reduced.

しかしながら、汎用性を考え、シーケンサにLAN(Local Area Network)経由で接続されたPCやロガーで、収集した履歴情報に基づくシミュレーションを行う場合、特許文献1に開示された技術を適用しようとすれば、以下に説明する不都合が生じる。すなわち、高速通信により取得される通信フレームの単位容量(例えば、100Mbps)が、PC内部でUSB接続された外部記録媒体へ吐き出すデータの単位容量(例えば、480Mbps)を超える。このため、一度に処理しきれないデータがPC内部のメモリに蓄積され、その結果、メモリリーク等が発生し、シミュレータとしての機能を果たせなくなる。 However, in consideration of versatility, when a simulation based on collected history information is performed by a PC or logger connected to a sequencer via a LAN (Local Area Network), the technique disclosed in Patent Document 1 is to be applied. The inconvenience described below occurs. That is, the unit capacity (for example, 100 Mbps) of a communication frame acquired by high-speed communication exceeds the unit capacity (for example, 480 Mbps) of data to be discharged to an external recording medium connected by USB inside the PC. For this reason, data that cannot be processed at a time is accumulated in a memory inside the PC, and as a result, a memory leak or the like occurs and the function as a simulator cannot be performed.

特開2003−248504号公報JP 2003-248504 A

本発明の課題は、高速通信により取得される通信フレームの単位容量が、内部で処理可能なデータの単位容量より大きい場合でもメモリリークの発生を抑制し、シミュレーションを可能にした、データ取得装置、および動作再現装置、ならびに設備運転状態管理システムを提供することにある。   An object of the present invention is to provide a data acquisition apparatus that suppresses the occurrence of a memory leak and enables simulation even when the unit capacity of a communication frame acquired by high-speed communication is larger than the unit capacity of data that can be processed internally, It is another object of the present invention to provide an operation reproduction apparatus and an equipment operation state management system.

請求項1に係る発明は、シーケンサに通信回線経由で接続される、第1記憶部と、第2記憶部とを備えたデータ取得装置であって、前記シーケンサに接続された入力機器に割り当てられるポート毎、前記ポートから得られる入力値の集合からなる通信フレームを前記通信回線経由で第1の単位容量で取得し、前記取得した通信フレームに対し、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施して前記第1記憶部に保持する通信処理部と、前記第1記憶部に保持された前記データ圧縮処理後の通信フレームを、前記第1の単位容量より小さい第2の単位容量で前記第2記憶部に転送するデータ転送制御部と、を有することを特徴とする。 The invention according to claim 1 is a data acquisition device including a first storage unit and a second storage unit connected to a sequencer via a communication line, and is assigned to an input device connected to the sequencer. A communication frame consisting of a set of input values obtained from each port for each port is acquired with a first unit capacity via the communication line, and for the acquired communication frame, a data compression process in the communication frame, and a communication frame A communication processing unit that performs a data compression process between the first and second storage units, and a communication frame after the data compression process that is stored in the first storage unit is smaller than the first unit capacity. And a data transfer control unit that transfers data to the second storage unit with a unit capacity of 2.

請求項2に係る発明は、請求項1記載のデータ取得装置において、前記通信処理部により取得される通信フレームは、前記ポートのうち、第1のポートから取得される第1の頻度で変化する第1の入力値(A1、A2、A3)と、第2、第3のポートから取得される前記第1の頻度よりも低い第2の頻度で変化する第2、第3の入力値(B1、B2、B3およびC1、C2、C3)と、を含み、前記通信処理部は、第1の時刻で、第1の入力値(A1)と第2の入力値(B1)とからなる第1の通信フレーム(F1)を取得し、第2の時刻で、第1の入力値(A2)と第3の入力値(C2)とからなる第2の通信フレーム(F2)を取得し、第3の時刻で、第1の入力値(A3)と第2の入力値(B3)とからなる第3の通信フレーム(F3)をそれぞれ取得して、前記通信フレーム内におけるデータ圧縮処理を施すことを特徴とする。 According to a second aspect of the present invention, in the data acquisition device according to the first aspect, the communication frame acquired by the communication processing unit changes at a first frequency acquired from the first port among the ports. The first input value (A1, A2, A3) and the second and third input values (B1) that change at a second frequency lower than the first frequency acquired from the second and third ports. , B2, B3 and C1, C2, C3), and the communication processing unit at the first time includes a first input value (A1) and a second input value (B1). And a second communication frame (F2) composed of the first input value (A2) and the third input value (C2) at the second time, and the third communication frame (F1). At the time of the third communication frame (F3) composed of the first input value (A3) and the second input value (B3). Each acquired, and characterized by applying data compression processing in said communication frame.

請求項3に係る発明は、請求項1または2記載のデータ取得装置において、前記通信処理部は、前記通信フレーム内における前記データ圧縮処理により、前記第1の入力値のそれぞれ(A1、A2、A3)と前記第2、第3の入力値のそれぞれ(B1、B2、B3、およびC1、C2、C3)とからなる、それぞれの通信フレーム(F1、F2,F3)が取得される毎に、今回取得された通信フレームと、前回取得された通信フレームとを比較し、変化があった場合に、前記今回取得された通信フレームを前記第1記憶部に選択的に保持して、前記通信フレームに前記通信フレーム間におけるデータ圧縮処理を施すことを特徴とする。   According to a third aspect of the present invention, in the data acquisition device according to the first or second aspect, each of the first input values (A1, A2,...) Is obtained by performing the data compression processing in the communication frame. A3) and each of the second and third input values (B1, B2, B3, and C1, C2, C3) each time a respective communication frame (F1, F2, F3) is acquired, The communication frame acquired this time is compared with the communication frame acquired last time, and when there is a change, the communication frame acquired this time is selectively held in the first storage unit, and the communication frame And performing data compression processing between the communication frames.

請求項4に係る発明は、シーケンサから通信回線経由で取得される入力値の集合からなる通信フレームに対し、通信フレーム内におけるデータ圧縮処理と通信フレーム間におけるデータ圧縮処理とが施されて、前記データ圧縮処理後の通信フレームが時系列に記録された記憶部と、前記記憶部に記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の前記入力値の集合に復元する復元処理部と、前記復元処理部で復元した入力値に基づき、前記シーケンサに予めプログラムされた通りに出力値を決定して表示情報を生成し、画面に表示する動作再現処理部と、を有することを特徴とする動作再現装置である。 In the invention according to claim 4, the data compression processing in the communication frame and the data compression processing between the communication frames are performed on the communication frame including the set of input values acquired from the sequencer via the communication line, A storage unit in which communication frames after data compression processing are recorded in time series, and a restoration processing unit that restores the communication frames recorded in the storage unit to the set of input values before data compression processing according to time information; An operation reproduction processing unit that generates display information by determining an output value as programmed in advance in the sequencer based on the input value restored by the restoration processing unit, and displays the information on a screen. It is an operation reproduction device.

請求項5に係る発明は、複数の入力機器と出力機器を含む設備がシーケンサに接続されて制御される、少なくとも、第1記憶部と、第2記憶部と、表示部とを備えた設備運転状態管理システムであって、前記シーケンサに接続された入力機器に割り当てられるポート毎、前記ポートから得られる入力値の集合からなる通信フレームを前記通信回線経由で第1の単位容量で取得し、前記取得した通信フレームに対し、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施して前記第1記憶部に保持し、前記第1記憶部に保持された前記データ圧縮処理後の通信フレームを、前記第1の単位容量より小さい第2の単位容量で前記第2記憶部に転送するデータ取得装置と、前記第2記憶部に記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の前記入力値の集合に復元し、前記復元した入力値に基づき、前記シーケンサに予めプログラムされた通りに出力値を決定して表示情報を生成し、前記表示部に表示する動作再現装置と、を有することを特徴とする。 The invention according to claim 5 is an equipment operation including at least a first storage unit, a second storage unit, and a display unit, wherein a facility including a plurality of input devices and output devices is connected to and controlled by a sequencer. In the state management system, for each port assigned to the input device connected to the sequencer, a communication frame consisting of a set of input values obtained from the port is acquired with the first unit capacity via the communication line, The acquired communication frame is subjected to data compression processing within the communication frame and data compression processing between the communication frames, and is held in the first storage unit, and after the data compression processing held in the first storage unit A data acquisition device for transferring the communication frame to the second storage unit with a second unit capacity smaller than the first unit capacity, and a communication frame recorded in the second storage unit. Is restored to the set of input values before the data compression processing according to the time information, and based on the restored input values, display values are generated by determining output values as programmed in advance in the sequencer, And an operation reproduction device for displaying on the display unit.

請求項1に係る発明によれば、通信処理部は、第1の単位容量で通信回線を介して取得される入力値の集合からなる通信フレームに対し、通信フレーム内におけるデータ圧縮処理と通信フレーム間におけるデータ圧縮処理とを施して第1記憶部に保持し、データ転送部は、第1の記憶部から第2の記憶部へ、第1の単位容量よりも低い第2の単位容量で転送する。このため、高速通信により取得される通信フレームのデータ容量が、内部で処理可能なデータ容量より大きい場合でもメモリリークの発生を抑制することができ、シミュレーションを可能にすることができる。   According to the first aspect of the present invention, the communication processing unit performs a data compression process and a communication frame in the communication frame for a communication frame including a set of input values acquired via the communication line with the first unit capacity. The data transfer process is performed and held in the first storage unit, and the data transfer unit transfers the data from the first storage unit to the second storage unit with a second unit capacity lower than the first unit capacity. To do. For this reason, even when the data capacity of a communication frame acquired by high-speed communication is larger than the data capacity that can be processed internally, the occurrence of memory leak can be suppressed and simulation can be enabled.

請求項2に係る発明によれば、通信処理部は、ポートに割り当てられる入力機器が持つ特質により、例えば、比較的遅い処理速度を有する第2のポートからの入力値を分割して取り込むことによって通信フレーム内におけるデータ圧縮処理を施す。このため、一度に取得する通信フレームのサイズが小さくなるため、データ取得に要する時間が短縮されると共に、比較的早い処理速度を有する第1のポートからの入力値の取りこぼしが無く、処理の安定化がはかれる。   According to the second aspect of the present invention, the communication processing unit, for example, by dividing and capturing the input value from the second port having a relatively slow processing speed due to the characteristics of the input device assigned to the port Data compression processing is performed in the communication frame. For this reason, since the size of the communication frame to be acquired at a time is reduced, the time required for data acquisition is shortened, the input value from the first port having a relatively high processing speed is not missed, and the processing is stable. Can be realized.

請求項3に係る発明によれば、通信処理部は、通信フレーム内におけるデータ圧縮処理が施された後の通信フレームの内容に変化があった場合にのみ、今回取得された通信フレームを第1記憶部に保持することにより通信フレーム間におけるデータ圧縮処理を施す。このため、通信フレーム間におけるデータ圧縮処理のみを施し、記録する場合に比して更なるデータの圧縮効果が得られ、メモリ資源の有効活用が図れる。   According to the invention of claim 3, the communication processing unit sets the communication frame acquired this time as the first only when there is a change in the content of the communication frame after the data compression processing in the communication frame is performed. Data compression processing between communication frames is performed by holding the data in the storage unit. For this reason, only the data compression process between the communication frames is performed and a further data compression effect can be obtained as compared with the case of recording, and the memory resources can be effectively used.

請求項4に係る発明によれば、復元処理部は、記憶部に圧縮され記録された通信フレームを時刻情報にしたがい圧縮処理前の入力値の集合に復元し、動作再現処理部は、復元した入力値を用いて対応する時刻情報が示す時刻毎にシーケンサの動作状態をトレースして画面上に再現する。このため、通信フレーム内、及び通信フレーム間におけるデータ圧縮処理が施された入力値が時系列に記録された記憶録部を用いることにより、シーケンサ毎に仮想動作モデルを作成することを不要とし、かつ、シーケンサのプログラム上でその内容の再現が可能になるため、異常発生時の原因究明が容易になり、そのために要するオペレータの負担が軽減される。 According to the invention of claim 4, the restoration processing unit restores the communication frame compressed and recorded in the storage unit to the set of input values before the compression processing according to the time information, and the operation reproduction processing unit restores the communication frame. The operating state of the sequencer is traced and reproduced on the screen at each time indicated by the corresponding time information using the input value. For this reason, it is not necessary to create a virtual operation model for each sequencer by using a memory recording unit in which input values subjected to data compression processing in communication frames and between communication frames are recorded in time series, In addition, since the contents can be reproduced on the sequencer program, it becomes easy to investigate the cause when an abnormality occurs, and the burden on the operator required for that is reduced.

請求項5に係る発明によれば、データ取得装置は、入力値の集合からなる通信フレームを複数取得し、取得したそれぞれの通信フレームに対して、通信フレーム内におけるデータ圧縮処理と通信フレーム間におけるデータ圧縮処理とを施して記憶録部に記録する。また、動作再現装置は、記録された圧縮処理後の通信フレームを時刻情報にしたがい圧縮処理前の入力値の集合に復元し、設備の動作状態とは独立に、復元した入力値を用いて対応する時刻情報が示す時刻毎に、設備の動作状態をトレースして画面に表示する。このため、データ取得装置により、高速通信で取得される通信フレームのデータ容量が、内部で処理可能なデータ容量より大きい場合でもメモリリークの発生を抑制することができてシミュレーションを可能にし、かつ、動作再現装置により、オペレータの負担をより一層軽減でき、シミュレーションに際して設備システムを構成する制御機械を動かすことなく容易化することができる設備運転状態管理システムを提供することができる。   According to the invention of claim 5, the data acquisition device acquires a plurality of communication frames including a set of input values, and for each acquired communication frame, between the data compression process in the communication frame and the communication frame. Data compression processing is performed and recorded in the memory recording unit. In addition, the motion reproduction device restores the recorded communication frame after compression processing to a set of input values before compression processing according to time information, and uses the restored input values independently of the operating state of the equipment. The operation state of the equipment is traced and displayed on the screen at each time indicated by the time information. For this reason, even if the data capacity of a communication frame acquired by high-speed communication is larger than the data capacity that can be processed internally by the data acquisition device, it is possible to suppress the occurrence of memory leaks and enable simulation, and The operation reproduction device can further reduce the burden on the operator, and can provide an equipment operation state management system that can be facilitated without moving the control machine that constitutes the equipment system during simulation.

本発明の実施の形態に係る設備運転状態管理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the equipment operation state management system which concerns on embodiment of this invention. 本発明の実施の形態に係るデータ取得装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the data acquisition apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るデータ取得装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the data acquisition apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る動作再現装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the motion reproduction apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る動作再現装置により生成される画面情報のイメージ図である。It is an image figure of the screen information produced | generated by the motion reproduction apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るデータ取得装置および動作再現装置の動作イメージの模式図である。It is a schematic diagram of the operation | movement image of the data acquisition apparatus and operation reproduction apparatus which concern on embodiment of this invention.

本発明の実施の形態(以下、本実施形態という)を添付図に基づいて以下に説明する。   An embodiment of the present invention (hereinafter referred to as the present embodiment) will be described below with reference to the accompanying drawings.

(設備運転状態管理システムの構成)
図1は、本実施形態に係る設備運転状態管理システムの構成を示すブロック図である。図1に示されるように、本実施形態に係る設備運転状態管理システム1は、不図示の入出力機器を含む設備システム10と、シーケンサ20と、データ取得装置30と、動作再現装置40とにより構成される。
(Equipment operation state management system configuration)
FIG. 1 is a block diagram illustrating a configuration of an equipment operation state management system according to the present embodiment. As shown in FIG. 1, an equipment operation state management system 1 according to the present embodiment includes an equipment system 10 including an input / output device (not shown), a sequencer 20, a data acquisition device 30, and an operation reproduction device 40. Composed.

設備システム10は、例えば、製造現場に設置される自動化システムであって、入出力機器の他に制御機械を含み、この制御機械は1以上のシーケンサ20によりあらかじめ制御プログラムによりプログラムされた内容にしたがって制御される。シーケンサ20は、制御機械の要所に配備されたセンサやスイッチ等の入力機器から得られる入力信号を入力ポートを介して取得し、予め内蔵された制御プログラムにプログラムされた条件にしたがい出力ポートをON/OFFする。このことにより、出力ポートに接続される、例えば、電磁弁、モータ、表示灯等の出力機器を自由に制御することができる。なお、図1では、入力ポートと出力ポートとは区別することなく、I/Oポート200と総称して示している。 The equipment system 10 is, for example, an automated system installed at a manufacturing site, and includes a control machine in addition to input / output devices. The control machine is in accordance with the contents programmed in advance by a control program by one or more sequencers 20. Be controlled. The sequencer 20 acquires an input signal obtained from an input device such as a sensor or a switch arranged at a key point of the control machine via the input port, and sets the output port according to a condition programmed in a control program built in advance. Turn ON / OFF. Thereby, for example, output devices such as a solenoid valve, a motor, and an indicator lamp connected to the output port can be freely controlled. In FIG. 1, the input port and the output port are collectively referred to as an I / O port 200 without being distinguished from each other.

(データ取得装置の構成)
1以上のシーケンサ20は、LAN等の通信回線50経由でデータ取得装置30に接続される。データ取得装置30は、シーケンサ20のI/Oポート200毎に、通信回線50経由で入力値の集合からなる通信フレームを、例えば100Mbps(Mega bit per sec)で複数取得し、取得したそれぞれの通信フレームに対し、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施して第1記憶部33に時系列に保持する。このため、データ取得装置30は、主制御部31と、通信処理部32と、第1記憶部33と、パラメータ設定部34と、データ転送制御部35と、第2記憶部36と、を含み構成される。これら構成ブロック31〜36は全てが、アドレス、データ、コントロールのためのラインが複数本で構成される内部バス37に共通接続されている。データ取得装置30は、例えば、PCにより実現される。
(Configuration of data acquisition device)
One or more sequencers 20 are connected to the data acquisition device 30 via a communication line 50 such as a LAN. For each I / O port 200 of the sequencer 20, the data acquisition device 30 acquires a plurality of communication frames made up of a set of input values via the communication line 50, for example, at 100 Mbps (Mega bit per sec), and acquires the respective communication Data compression processing within a communication frame and data compression processing between communication frames are performed on the frames, and the frames are stored in the first storage unit 33 in time series. For this reason, the data acquisition device 30 includes a main control unit 31, a communication processing unit 32, a first storage unit 33, a parameter setting unit 34, a data transfer control unit 35, and a second storage unit 36. Composed. All of these constituent blocks 31 to 36 are commonly connected to an internal bus 37 having a plurality of lines for address, data, and control. The data acquisition device 30 is realized by a PC, for example.

通信処理部32は、LANとのインタフェースを司り、シーケンサ20との間で、例えば、TCP/IP(Transmission Control Protocol/Internet Protocol)に準拠した手順で100Mbpsを単位容量として通信フレームの取得を行なう。ここで、通信フレームとは、I/Oポート200を介して取得されるセンサやスイッチ等の入力機器の入力値の集合をいう。また、通信処理部32は、取得した通信フレームに対して、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理の両方を施し、圧縮処理後の通信フレームを内部バス37経由で第1記憶部33へ保持する。   The communication processing unit 32 manages an interface with the LAN, and acquires a communication frame with the sequencer 20 using, for example, a procedure conforming to TCP / IP (Transmission Control Protocol / Internet Protocol) as a unit capacity of 100 Mbps. Here, the communication frame refers to a set of input values of input devices such as sensors and switches acquired via the I / O port 200. In addition, the communication processing unit 32 performs both data compression processing within the communication frame and data compression processing between the communication frames on the acquired communication frame, and the communication frame after the compression processing is transmitted via the internal bus 37. 1 is stored in the storage unit 33.

ここでいう「フレーム内圧縮処理」とは、通信フレームに割り当てられる入力ポート別の入力値に対して行われる空間圧縮処理のことをいい、「フレーム間圧縮処理」とは連続して到来する通信フレーム間の時間軸方向での時間圧縮処理のことをいう。 “Intraframe compression processing” here refers to spatial compression processing performed on input values for each input port assigned to a communication frame, and “interframe compression processing” refers to communication that arrives continuously. This refers to time compression processing in the time axis direction between frames.

ところで、通信フレームのサイズが大きいと、データ取得装置30がその通信フレームを取得する際の処理に時間を要する。このため、フレーム内圧縮処理では、入力値の変化の頻度が入力ポート毎に異なることを利用し、入力値の変化が激しい入力ポート(以下、高速ポートという)からの入力値を高速で取得し、それ以外の入力ポート(以下、低速ポートという)からの入力値を分割して取り込むことで、一度に取り込む入力値のサイズを減らしている。このことにより、取得処理を高速化すると共に処理を安定化している。 By the way, if the size of the communication frame is large, it takes time for the data acquisition device 30 to acquire the communication frame. For this reason, in the intra-frame compression processing, the input value from the input port (hereinafter referred to as high-speed port) where the input value changes rapidly is acquired at high speed by utilizing the fact that the frequency of change of the input value differs for each input port. The input values from other input ports (hereinafter referred to as low speed ports) are divided and captured, thereby reducing the size of the input values captured at one time. This speeds up the acquisition process and stabilizes the process.

また、フレーム間圧縮処理では、今回取り込まれた通信フレームと、前回取り込まれた通信フレームとを比較し、変化があった場合に、今回取り込まれた通信フレームを第1記憶部に選択的に保持することにより、第1記憶部33に記憶する通信フレームのサイズを圧縮して第1記憶部33に実装されるメモリの有効活用をはかるものである。なお、第1記憶部33とは、例えば、SDRAM(Synchronous Dynamic Random Access Memory)等の半導体メモリが実装される主記憶装置の作業領域である。   In the inter-frame compression processing, the communication frame captured this time is compared with the communication frame captured last time, and when there is a change, the communication frame captured this time is selectively held in the first storage unit. By doing so, the size of the communication frame stored in the first storage unit 33 is compressed to effectively use the memory mounted in the first storage unit 33. The first storage unit 33 is a work area of a main storage device in which a semiconductor memory such as an SDRAM (Synchronous Dynamic Random Access Memory) is mounted.

パラメータ設定部34は、フレーム内圧縮処理において、通信処理部32が、低速ポートからの入力値を分割して取り込む際の、分割数、分割単位(サイズ)等のパラメータを設定するところである。これらパラメータは、デフォルト値として予め設定されていても良く、あるいは不図示の入力デバイスを使用して値を動的に設定してもよい。 The parameter setting unit 34 sets parameters such as the number of divisions and the division unit (size) when the communication processing unit 32 divides and captures the input value from the low-speed port in the intra-frame compression processing. These parameters may be preset as default values, or values may be set dynamically using an input device (not shown).

データ転送制御部35は、第1記憶部33と第2記憶部36との間のデータ転送を制御する。第1記憶部33に保持された圧縮処理後の通信フレームを、例えば100Mbps(Mega bit per sec)の高速通信よりも遅い例えば64Mbpsで第2記憶部36に転送する。この第2記憶部36として、SD(登録商標)メモリカード等の可搬型記録媒体を想定している。ここでは、高速通信により取得される通信フレームのサイズが圧縮されるため、処理しきれないデータがPC内部のメモリに蓄積されることはなく、したがって、メモリリークの発生を回避できる。   The data transfer control unit 35 controls data transfer between the first storage unit 33 and the second storage unit 36. The compressed communication frame held in the first storage unit 33 is transferred to the second storage unit 36 at, for example, 64 Mbps, which is slower than, for example, high-speed communication of 100 Mbps (Mega bit per sec). As the second storage unit 36, a portable recording medium such as an SD (registered trademark) memory card is assumed. Here, since the size of the communication frame acquired by the high-speed communication is compressed, data that cannot be processed is not accumulated in the memory inside the PC, and therefore the occurrence of memory leak can be avoided.

なお、主制御部31は、データ取得装置30が、シーケンサ20のI/Oポート200毎に、通信回線50経由で入力値の集合からなる通信フレームを100Mbpsの単位容量で取得し、取り込んだそれぞれの通信フレームに対し、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施して第1記憶部33に保持するように、上記した通信処理部32、第1記憶部33、パラメータ設定部34、データ転送制御部35、第2記憶部36のシーケンス制御を行う。   In addition, the main control unit 31 acquires, for each I / O port 200 of the sequencer 20, a communication frame made up of a set of input values via the communication line 50 with a unit capacity of 100 Mbps. The communication processing unit 32, the first storage unit 33, the data compression process within the communication frame and the data compression process between the communication frames are performed and held in the first storage unit 33. Sequence control of the parameter setting unit 34, the data transfer control unit 35, and the second storage unit 36 is performed.

(動作再現装置の構成)
動作再現装置40は、第2記憶部36に転送され記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の入力値の集合に復元し、復元した入力値に基づき、シーケンサ20に予めプログラムされた通りに出力値を決定して表示情報を生成し表示部46に表示する。このため、動作再現装置40は、主制御部41と、復元処理部42と、パラメータ設定部43と、動作再現処理部44と、描画・表示制御部45と、表示部46と、を含み構成される。これらブロック41〜45は、アドレス、データ、コントロールのためのラインが複数本で構成される内部バス47に共通接続されている。
(Configuration of motion reproduction device)
The motion reproduction device 40 restores the communication frame transferred and recorded in the second storage unit 36 to a set of input values before the data compression processing according to the time information, and preprograms the sequencer 20 based on the restored input values. As described, the output value is determined and display information is generated and displayed on the display unit 46. Therefore, the operation reproduction device 40 includes a main control unit 41, a restoration processing unit 42, a parameter setting unit 43, an operation reproduction processing unit 44, a drawing / display control unit 45, and a display unit 46. Is done. These blocks 41 to 45 are commonly connected to an internal bus 47 having a plurality of lines for address, data, and control.

なお、動作再現装置40が動作再現を行うにあたり、不図示のカードスロットに、図1に示す、圧縮後の通信フレームが記録された第2記憶部36(SDカード)が挿入され、内部バス47に接続されるものとする。 When the motion reproduction device 40 reproduces the motion, the second storage unit 36 (SD card) in which the communication frame after compression shown in FIG. Shall be connected.

復元処理部42は、第2記憶部36に記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の入力値の集合に復元して動作再現処理部44へ出力する。なお、パラメータ設定部43は、動作再現の範囲や動作再現の終了条件等を動作再現処理部44に設定し、動作再現処理部44による動作再現処理を制御する。動作再現処理部44は、復元処理部42で復元された入力値に基づき、シーケンサ20(制御プログラム)に予めプログラムされた通りに出力値を決定し、生成される動作再現のための表示情報を描画・表示制御部45に出力する。 The restoration processing unit 42 restores the communication frame recorded in the second storage unit 36 to a set of input values before the data compression processing according to the time information, and outputs it to the operation reproduction processing unit 44. The parameter setting unit 43 sets an operation reproduction range, an operation reproduction end condition, and the like in the operation reproduction processing unit 44, and controls the operation reproduction processing by the operation reproduction processing unit 44. The motion reproduction processing unit 44 determines an output value as programmed in advance in the sequencer 20 (control program) based on the input value restored by the restoration processing unit 42, and generates display information for reproducing the generated motion. The image is output to the drawing / display control unit 45.

描画・表示制御部45は、動作再現処理部44により生成される表示情報を内蔵の表示メモリに描画し、描画された表示情報を、表示部46の表示タイミングに合わせて読み出して表示部46に出力する。表示部46は、LCD(Liquid Crystal Display Device)やOLED(Organic Light Emitted Diode)等の表示デバイスで構成される表示モニタであり、描画・表示制御部45から出力される表示タイミング信号に同期して表示メモリに描画された表示情報を表示する。 The drawing / display control unit 45 draws the display information generated by the operation reproduction processing unit 44 in the built-in display memory, reads the drawn display information in accordance with the display timing of the display unit 46, and displays it in the display unit 46. Output. The display unit 46 is a display monitor composed of a display device such as an LCD (Liquid Crystal Display Device) or an OLED (Organic Light Emitted Diode), and is synchronized with a display timing signal output from the drawing / display control unit 45. The display information drawn in the display memory is displayed.

なお、主制御部41は、動作再現装置40が、第2記憶部36に記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の入力値の集合に復元し、復元した入力値に基づき、シーケンサ20に予めプログラムされた通りに出力値を決定して表示情報を生成して表示部46に表示するように、上記した復元処理部42、パラメータ設定部43、動作再現処理部44、描画・表示制御部45のシーケンス制御を行う。   The main control unit 41 causes the motion reproduction device 40 to restore the communication frame recorded in the second storage unit 36 to a set of input values before data compression processing according to time information, and based on the restored input values. The restoration processing unit 42, the parameter setting unit 43, the operation reproduction processing unit 44, the drawing so that the output value is determined as programmed in the sequencer 20 in advance and display information is generated and displayed on the display unit 46. The sequence control of the display control unit 45 is performed.

(データ取得装置の動作)
図2、図3は、本実施形態に係るデータ取得装置30の動作を示すフローチャートである。以下、図2、図3のフローチャートを参照しながら、図1に示す本実施形態に係るデータ取得装置30の動作について詳細に説明する。
(Operation of data acquisition device)
2 and 3 are flowcharts showing the operation of the data acquisition apparatus 30 according to the present embodiment. Hereinafter, the operation of the data acquisition apparatus 30 according to the present embodiment shown in FIG. 1 will be described in detail with reference to the flowcharts of FIGS. 2 and 3.

主制御部31では、まず、予め割り当てられる内蔵レジスタX、Yおよびiの初期化を行う(図2のステップS101)。なお、レジスタX、Yには、後述するようにフレーム間圧縮処理を行うために、前回入力値、今回入力値がそれぞれ設定される。また、レジスタiは、主制御部31が、通信回線50経由で取得する通信フレームの順番をカウントするために使用される。   First, the main control unit 31 initializes the built-in registers X, Y, and i assigned in advance (step S101 in FIG. 2). The registers X and Y are respectively set with the previous input value and the current input value in order to perform inter-frame compression processing as will be described later. The register i is used for counting the order of communication frames acquired by the main control unit 31 via the communication line 50.

次に、主制御部31が通信処理部32に制御を移すと、通信処理部32は、シーケンサ20から通信回線50経由で通信フレームを順次取得する(ステップS102)。そして、一定の周期毎に(ステップS103“YES”)、通信フレームを構成する入力値を順次サンプリングして、フレーム内圧縮処理とフレーム間圧縮処理とを施す。 Next, when the main control unit 31 shifts control to the communication processing unit 32, the communication processing unit 32 sequentially acquires communication frames from the sequencer 20 via the communication line 50 (step S102). Then, at regular intervals (step S103 “YES”), input values constituting the communication frame are sequentially sampled, and intra-frame compression processing and inter-frame compression processing are performed.

フレーム内圧縮処理を施すにあたり、通信処理部32では、まず、入力値が高速ポートから到来した入力値であるか否かを判定する(ステップS104)。ここで、高速ポートから到来した入力値であれば(ステップS104“YES”)、その入力値は取り込まれ(ステップS105)、低速ポートからの入力値であれば(ステップS104“NO”)、その入力値は、パラメータ設定部34により設定された分割数(n)、および分割サイズ(sz)にしたがって分割される(ステップS106)。そして、通信処理部32は、分割された低速ポートからの入力値と、先に取り込まれた高速ポートからの入力値とを組み合わせることにより、分割された通信フレームを都度組み立て、これを取り込む(ステップS107)。   In performing the intra-frame compression processing, the communication processing unit 32 first determines whether or not the input value is an input value that has arrived from the high-speed port (step S104). Here, if the input value comes from the high speed port (step S104 “YES”), the input value is taken in (step S105), and if the input value comes from the low speed port (step S104 “NO”), The input value is divided according to the number of divisions (n) and the division size (sz) set by the parameter setting unit 34 (step S106). Then, the communication processing unit 32 combines the input value from the divided low-speed port and the input value from the high-speed port that has been captured in advance to assemble the divided communication frame each time and capture this (step) S107).

上記したステップS104〜S107の処理は、パラメータ設定部34により設定された分割数nだけ繰り返し実行され、都度、生成される分割フレームの取得が行われる。すなわち、分割前の通信フレームは、第1のポート(高速ポート)から取得される比較的高い頻度で変化する第1の入力値(A1、A2、A3)と、第2、第3のポート(低速ポート)から取得される比較的低い頻度で変化する第2、第3の入力値(B1、B2、B3およびC1、C2、C3)と、を含む。そして、通信処理部32は、第1の時刻(T1)で、第1の入力値(A1)と第2の入力値(B1)と第3の入力値(C1)とからなる第1の通信フレーム(F1)を取得し、第2の時刻(T2)で、第1の入力値(A2)と第3の入力値(C2)とからなる第2の通信フレーム(F2)を取得し、第3の時刻(T3)で、第1の入力値(A3)と第2の入力値(B3)とからなる第3の通信フレーム(F3)をそれぞれ取得して、通信フレーム内におけるデータ圧縮処理を施す。   The processes in steps S104 to S107 described above are repeatedly executed for the number of divisions n set by the parameter setting unit 34, and the generated divided frames are acquired each time. That is, the communication frame before division includes a first input value (A1, A2, A3) that is obtained from the first port (high-speed port) and changes at a relatively high frequency, and the second and third ports ( Second and third input values (B1, B2, B3 and C1, C2, C3) that are obtained from the low-speed port and change at a relatively low frequency. Then, the communication processing unit 32 performs the first communication including the first input value (A1), the second input value (B1), and the third input value (C1) at the first time (T1). The frame (F1) is acquired, and at the second time (T2), the second communication frame (F2) including the first input value (A2) and the third input value (C2) is acquired, and the first The third communication frame (F3) composed of the first input value (A3) and the second input value (B3) is obtained at time 3 (T3), and data compression processing in the communication frame is performed. Apply.

通信処理部32は、上記の処理が分割数nに到達したタイミングで(ステップS108“YES”)、分割された低速ポートからの入力値のそれぞれを分割前の入力値に復元し、高速ポートからの入力値と組み合わせることによって分割前の通信フレームに並べ替えを行い、この内容を今回取得入力値としてレジスタYに設定する(ステップS109)。   The communication processing unit 32 restores each input value from the divided low-speed port to the input value before the division at the timing when the above processing reaches the division number n (“YES” in step S108). Is rearranged in the communication frame before the division by combining with the input value, and the contents are set in the register Y as the currently acquired input value (step S109).

続いて、フレーム間圧縮処理を施すにあたり、通信処理部32は、レジスタXに設定された前回入力値と、レジスタYに設定された今回入力値との比較を行う(ステップS110)。ここで、入力値に変化があった場合(ステップS110“YES”)、今回取り込まれた通信フレーム(レジスタYの内容)をタイムスタンプTS付きで第1記憶部33に選択的に保持する(ステップS111)。一方、変化が無かった場合(ステップS110“NO”)、あるいはレジスタYの内容を第1記憶部33に保持した後、前回取り込まれた通信フレームの内容が保持されたレジスタXの内容を、今回取り込まれた通信フレームが保持されるレジスタYの内容に更新する(図3のステップS112)。   Subsequently, when performing the inter-frame compression process, the communication processing unit 32 compares the previous input value set in the register X with the current input value set in the register Y (step S110). If there is a change in the input value (“YES” in step S110), the communication frame (the contents of the register Y) captured this time is selectively held in the first storage unit 33 with the time stamp TS (step S110). S111). On the other hand, if there is no change (step S110 “NO”), or after the contents of the register Y are held in the first storage unit 33, the contents of the register X holding the contents of the previously captured communication frame are The taken-in communication frame is updated to the content of the register Y (step S112 in FIG. 3).

なお、上記したステップS102〜S112の処理は、通信フレームを取得する毎にレジスタiを+1更新して(ステップS113)、1回の通信で取得可能な単位容量分、繰り返し実行される。すなわち、通信処理部32は、第1の入力値のそれぞれ(A1、A2、A3)と、第2、第3の入力値のそれぞれ(B1、B2、B3、およびC1、C2、C3)とからなる、それぞれの通信フレーム(F1、F2,F3)が取得される毎に、今回取得された通信フレームYと、前回取得された通信フレームXとを比較し、変化があった場合に、今回取得された通信フレームYを第1記憶部33に選択的に保持することにより、取得した通信フレームに対して通信フレーム間におけるデータ圧縮処理を施す。   Note that the processing in steps S102 to S112 described above is repeatedly executed by incrementing the register i by +1 every time a communication frame is acquired (step S113) for the unit capacity that can be acquired by one communication. That is, the communication processing unit 32 determines from each of the first input values (A1, A2, A3) and each of the second and third input values (B1, B2, B3, and C1, C2, C3). Each time each communication frame (F1, F2, F3) is acquired, the communication frame Y acquired this time is compared with the communication frame X acquired last time. By selectively holding the communication frame Y in the first storage unit 33, the acquired communication frame is subjected to data compression processing between the communication frames.

最後に、主制御部31は、単位容量分の通信フレームの処理が終了したタイミングで(ステップS114“YES”)、データ転送制御部35によるデータ転送処理を起動する。このとき、データ転送制御部35は、第1記憶部33に保持された圧縮後の通信フレームを、例えば、USB経由で第2記憶部36に転送して記録する(ステップS115)。 Finally, the main control unit 31 activates the data transfer processing by the data transfer control unit 35 at the timing when the processing of the communication frame for the unit capacity is completed (step S114 “YES”). At this time, the data transfer control unit 35 transfers the compressed communication frame stored in the first storage unit 33 to the second storage unit 36 via USB, for example, and records it (step S115).

上記したデータ取得動作について、図6に示す模式図を参照しながら補足説明する。図6(a)は、通信回線50経由で都度取得される入力値の集合からなる複数の通信フレームを表形式で示した図である。また、図6(b)は、それら複数の通信フレームのうち、第1記憶部33に保持され、第2記憶部36に転送される通信フレームを示す。ここでは、説明の簡単化のために、I/O#1(第1のポート)が高速ポート、I/O#2(第2のポート),I/O#3(第3のポート)が低速ポートとしてそれぞれ割り当てられており、低速ポートから取得される入力値を2つ(n=2)に分割し、高速に第1記憶部33に保持し、第2記憶部36に転送する例について説明する。   The above-described data acquisition operation will be supplementarily described with reference to the schematic diagram shown in FIG. FIG. 6A is a diagram showing a plurality of communication frames formed of a set of input values acquired each time via the communication line 50 in a table format. FIG. 6B shows a communication frame held in the first storage unit 33 and transferred to the second storage unit 36 among the plurality of communication frames. Here, for simplification of explanation, I / O # 1 (first port) is a high-speed port, I / O # 2 (second port), and I / O # 3 (third port) are An example in which the input value acquired from each low-speed port is divided into two (n = 2), stored in the first storage unit 33 at high speed, and transferred to the second storage unit 36. explain.

図6(a)によれば、入力値として、時刻T1で、I/O#1がOFF、I/O#2がOFFの通信フレームが、時刻T2で、I/O#1がOFF、I/O#3がOFFの通信フレームがそれぞれ取得され、時刻T1と時刻T2とでI/O#1〜I/O#3の入力値の集合からなる通信フレームが取得されることになる。また、時刻T3で、I/O#1がOFF、I/O#2がONの通信フレームが、時刻T4で、I/O#1がOFF、I/O#3がOFFの通信フレームがそれぞれ取得され、時刻T3とT4とでI/O#1〜I/O#3の入力値の集合からなる通信フレームが取得されることになる。   According to FIG. 6A, as an input value, a communication frame in which I / O # 1 is OFF and I / O # 2 is OFF at time T1 is I / O # 1 is OFF and I / O # 2 is OFF. Communication frames with / O # 3 OFF are acquired, and communication frames consisting of sets of input values of I / O # 1 to I / O # 3 are acquired at time T1 and time T2. Further, at time T3, a communication frame with I / O # 1 OFF and I / O # 2 is ON, and at time T4, a communication frame with I / O # 1 OFF and I / O # 3 OFF. Acquired, and a communication frame consisting of a set of input values of I / O # 1 to I / O # 3 is acquired at times T3 and T4.

また、時刻T5で、I/O#1がOFF、I/O#2がONの通信フレームが、時刻T6で、I/O#1がOFF、I/O#3がOFFの通信フレームがそれぞれ取得され、時刻T5とT6とでI/O#1〜I/O#3の入力値の集合からなる通信フレームが取得されることになる。また、時刻T7で、I/O#1がOFF、I/O#2がONの通信フレームが、時刻T8で、I/O#1がOFF、I/O#3がONの通信フレームがそれぞれ取得され、時刻T7とT8とでI/O#1〜I/O#3の入力値の集合からなる通信フレームが取得されることになる。   Further, at time T5, a communication frame with I / O # 1 OFF and I / O # 2 ON, and at time T6, a communication frame with I / O # 1 OFF and I / O # 3 OFF. Acquired, and a communication frame consisting of a set of input values of I / O # 1 to I / O # 3 is acquired at times T5 and T6. At time T7, a communication frame with I / O # 1 OFF and I / O # 2 is ON. At time T8, a communication frame with I / O # 1 OFF and I / O # 3 is ON. Acquired, and a communication frame consisting of a set of input values of I / O # 1 to I / O # 3 is acquired at times T7 and T8.

第1記憶部33に通信フレームを保持するにあたり、通信処理部32は、まず、I/O#1〜I/O#3の入力値の全てが最初に取り込まれた時刻T2における通信フレーム(OFF、OFF、OFF)の内容を前回通信フレームとしてレジスタXに設定する。次に、通信処理部32は、I/O#1〜I/O#3の入力値の全てが取り込まれる時刻T4における通信フレーム(OFF、ON、OFF)を今回フレームとしてレジスタYに設定し、先にレジスタXに設定した通信フレーム(OFF、OFF、OFF)と比較する。ここで、I/O#2の入力値に変化が認められるため、通信処理部32は、時刻T4で取得した通信フレーム(OFF、ON、OFF)を第1記憶部33に保持する。   In holding the communication frame in the first storage unit 33, the communication processing unit 32 firstly sets the communication frame (OFF) at time T2 when all the input values of I / O # 1 to I / O # 3 are first captured. , OFF, OFF) is set in the register X as the previous communication frame. Next, the communication processing unit 32 sets the communication frame (OFF, ON, OFF) at time T4 at which all the input values of I / O # 1 to I / O # 3 are taken in the register Y as the current frame, Compare with the communication frame (OFF, OFF, OFF) previously set in the register X. Here, since a change is recognized in the input value of I / O # 2, the communication processing unit 32 holds the communication frame (OFF, ON, OFF) acquired at time T4 in the first storage unit 33.

一方、時刻T6で取得された今回通信フレーム(OFF、ON、OFF)は、時刻T4で取得された前回通信フレーム(OFF、ON、OFF)との比較の結果、入力値の変化が認められないため、時刻T6での通信フレームの第1記憶部33への保持は禁止される。また、続く、時刻T8で取得された今回通信フレーム(OFF、ON、ON)は、時刻T4で取得された前回通信フレーム(OFF、ON、OFF)との比較の結果、入力値の変化が認められるため、通信処理部32は、時刻T8で取得した通信フレーム(OFF、ON、ON)を第1記憶部33に保持する。   On the other hand, as a result of comparison with the previous communication frame (OFF, ON, OFF) acquired at time T4, no change in the input value is recognized for the current communication frame (OFF, ON, OFF) acquired at time T6. Therefore, holding the communication frame in the first storage unit 33 at time T6 is prohibited. Further, as a result of comparison with the previous communication frame (OFF, ON, ON) acquired at time T8, the change of the input value is recognized as a result of comparison with the previous communication frame (OFF, ON, OFF) acquired at time T4. Therefore, the communication processing unit 32 holds the communication frame (OFF, ON, ON) acquired at time T8 in the first storage unit 33.

このように、取得した通信フレームの前回入力値と今回入力値の変化を検出し、変化発生時のみ、今回入力値からなる通信フレームを第1記憶部33へ保持する動作を行うことにより、第1記憶部33に保持される通信フレームの削減が可能になり、また、第1記憶部33への通信フレームの書き込み回数が減ることでデータ処理にかかる時間の短縮もはかれる。更に、通信フレームの取得にあたり、高速ポートから入力値を取得するタイミングで低速ポートの入力値を分割して取得することで、高速に、かつ、高速ポートの入力値の取りこぼしを発生させることなく処理を安定化させることも可能になる。 In this way, by detecting the change in the previous input value and the current input value of the acquired communication frame, and performing the operation of holding the communication frame composed of the current input value in the first storage unit 33 only when the change occurs, The number of communication frames held in the first storage unit 33 can be reduced, and the time required for data processing can be shortened by reducing the number of communication frames written to the first storage unit 33. Furthermore, when acquiring communication frames, the input value of the low-speed port is divided and acquired at the timing of acquiring the input value from the high-speed port, so that processing can be performed at high speed without causing the input value of the high-speed port to be lost. Can also be stabilized.

以上説明のように本実施形態に係るデータ取得装置30によれば、通信処理部32は、通信回線50を介して第1の単位容量で取得される入力値の集合からなる通信フレームに対し、通信フレーム内におけるデータ圧縮処理と通信フレーム間におけるデータ圧縮処理とを施して第1記憶部33に保持し、データ転送制御部35は、第1記憶部33から第2記憶部36へ、第1の単位容量より遅い第2の単位容量で転送して記録する。このため、高速通信により取得される通信フレームのデータ容量が、内部で処理可能なデータ容量より大きい場合でもメモリリークの発生を抑制することができ、シミュレーションを可能にすることができる。 As described above, according to the data acquisition device 30 according to the present embodiment, the communication processing unit 32 performs a communication frame including a set of input values acquired with the first unit capacity via the communication line 50. Data compression processing within the communication frame and data compression processing between the communication frames are performed and held in the first storage unit 33, and the data transfer control unit 35 transfers the first storage unit 33 from the first storage unit 33 to the second storage unit 36. The data is transferred and recorded in a second unit capacity slower than the unit capacity. For this reason, even when the data capacity of a communication frame acquired by high-speed communication is larger than the data capacity that can be processed internally, the occurrence of memory leak can be suppressed and simulation can be enabled.

また、ポートに割り当てられる入力機器が持つ特質により、例えば、比較的遅い処理速度を有する第2ポートからの入力値を分割して取り込むことによって通信フレーム内におけるデータ圧縮処理を施す。このため、一度に取り込む通信フレームのサイズが小さくなるため、取得に要する時間が短縮され、比較的早い処理速度を有する第1ポートからの入力値の取りこぼしが無く、安定して取り込むことができる。更に、通信処理部32は、通信フレーム内におけるデータ圧縮処理が施された後の通信フレームの内容に変化があった場合にのみ、今回取得された通信フレームを記憶部に記録することにより通信フレーム間におけるデータ圧縮処理を施す。このため、通信フレーム間におけるデータ圧縮処理のみを施し、記録していた従来のデータ取得装置に比べて更なる圧縮効果が得られ、メモリの有効活用が可能になる。 Also, due to the characteristics of the input device assigned to the port, for example, the data compression processing in the communication frame is performed by dividing and fetching the input value from the second port having a relatively slow processing speed. For this reason, since the size of the communication frame to be captured at a time is reduced, the time required for acquisition is shortened, and the input value from the first port having a relatively high processing speed is not missed and can be stably captured. Further, the communication processing unit 32 records the communication frame acquired this time in the storage unit only when there is a change in the content of the communication frame after the data compression processing in the communication frame is performed. Data compression processing is performed between them. For this reason, only a data compression process between communication frames is performed, and a further compression effect can be obtained as compared with the conventional data acquisition apparatus which has been recorded, and the memory can be effectively used.

(動作再現装置の動作)
次に、図4のフローチャートを参照しながら動作再現装置40の動作について説明する。まず、主制御部41は、パラメータ設定部43により設定され、取得される再現パラメータの有無を判定する(ステップS201)。ここで、再現パラメータが設定されていれば(ステップS201“YES”)、主制御部41は、その再現範囲に相当するサイズの通信フレーム(入力値)を第2記憶部36から読み出して復元処理部42に引き渡す(ステップS202)。なお、再現パラメータが設定されていなければ(ステップS201“NO”)、設定入力を促すための画面を表示部46に表示する(ステップS203)。
(Operation of motion reproduction device)
Next, the operation of the motion reproduction device 40 will be described with reference to the flowchart of FIG. First, the main control unit 41 determines the presence / absence of a reproduction parameter set and acquired by the parameter setting unit 43 (step S201). If the reproduction parameter is set (step S201 “YES”), the main control unit 41 reads out a communication frame (input value) having a size corresponding to the reproduction range from the second storage unit 36, and performs a restoration process. Delivered to the unit 42 (step S202). If the reproduction parameter is not set (step S201 “NO”), a screen for prompting a setting input is displayed on the display unit 46 (step S203).

次に、復元処理部42は、再現範囲の相当する入力値を復元する。入力値の復元の仕方については図6の模式図を参照しながら説明する。図6では、復元処理部42が、例えば、時刻T1〜T8における入力値を復元するものとして説明する。このとき、復元処理部42は、主制御部41経由で第2記憶部36から、時刻T2の入力値(OFF、OFF、OFF)を、時刻T4の入力値(OFF、ON、OFF)を、時刻T8の入力値(OFF、ON、ON)をそれぞれ取得している。   Next, the restoration processing unit 42 restores an input value corresponding to the reproduction range. A method of restoring the input value will be described with reference to the schematic diagram of FIG. In FIG. 6, description will be made assuming that the restoration processing unit 42 restores input values at times T1 to T8, for example. At this time, the restoration processing unit 42 receives the input value (OFF, OFF, OFF) at time T2 and the input value (OFF, ON, OFF) at time T4 from the second storage unit 36 via the main control unit 41. The input values (OFF, ON, ON) at time T8 are acquired.

復元処理部42は、時刻T2の入力値(OFF、OFF、OFF)と、時刻T4の入力値(OFF、ON、OFF)と、時刻T8の入力値(OFF、ON、ON)とに基づき、過去に遡って入力値の変化を時間軸上に復元して動作再現処理部44に処理を引き渡す(ステップS204)。復元処理部42は、具体的に、図6(c)に示されるように、入力ポートI/O#1では、T1〜T8迄OFF、入力ポート#2では、時刻T1〜T2までOFF、時刻T3以降ON、入力ポート#3では、時刻T1〜T7までOFF、時刻T8でONとなるように、入力ポートI/O#1〜I/O#n毎に、時間軸t上に入力値を復元する。すなわち、図6(a)に示す表形式で示す入力値が復元される。   Based on the input value at time T2 (OFF, OFF, OFF), the input value at time T4 (OFF, ON, OFF), and the input value at time T8 (OFF, ON, ON), Going back to the past, the change of the input value is restored on the time axis, and the processing is handed over to the motion reproduction processing unit 44 (step S204). Specifically, as shown in FIG. 6C, the restoration processing unit 42 is OFF from T1 to T8 at the input port I / O # 1, and OFF from time T1 to T2 at the input port # 2. ON after T3, input port # 3 is OFF from time T1 to T7, and input value on time axis t for each of input ports I / O # 1 to I / O #n so as to be ON at time T8. Restore. That is, the input value shown in the table format shown in FIG.

動作再現処理部44は、復元処理部42から再現範囲に相当する入力値を取得すると、その履歴に基づき、シーケンサ20(ラダープログラム)による設備の運転状態を追跡(トレース)して、都度、グラフィカルに再現するための表示情報を生成して、描画・表示制御部45へ供給する(ステップS205)。描画・表示制御部45は、動作再現処理部44で生成される表示情報を不図示の表示メモリに描画し、表示部46の表示タイミングに同期して読み出し、例えば、図5に示す画面イメージを表示する(ステップS206)。図5に画面イメージが例示されているように、動作再現処理部44は、画面上に表示されるラダープログラムにおけるリレーシンボルの形状や色を変化させながら入出力機器の動作タイミングや変化等を表現することが可能である。   When the operation reproduction processing unit 44 acquires an input value corresponding to the reproduction range from the restoration processing unit 42, the operation reproduction processing unit 44 tracks (traces) the operation state of the equipment by the sequencer 20 (ladder program) based on the history, and each time the Display information for reproduction is generated and supplied to the drawing / display control unit 45 (step S205). The drawing / display control unit 45 draws the display information generated by the operation reproduction processing unit 44 in a display memory (not shown) and reads it in synchronization with the display timing of the display unit 46. For example, the screen image shown in FIG. It is displayed (step S206). As illustrated in the screen image in FIG. 5, the operation reproduction processing unit 44 represents the operation timing and change of the input / output device while changing the shape and color of the relay symbol in the ladder program displayed on the screen. Is possible.

なお、動作再現処理部44が第2記憶部36に記録された入力値の履歴に基づき設備の動作状態を再現するにあたり、再現の範囲のみならず、特定の入出力機器に限定して再現することも可能である。また、再現の実行をステップ単位で段階的に、あるいは実行速度を可変設定することも可能である。このため、オペレータの負担を軽減しながらシミュレーションが可能であり、また、作成したプログラムデバッグへの応用も考えられる。   In addition, when the operation reproduction processing unit 44 reproduces the operation state of the equipment based on the history of the input values recorded in the second storage unit 36, the reproduction is limited to a specific input / output device as well as a reproduction range. It is also possible. It is also possible to set the execution of reproduction step by step or the execution speed can be variably set. Therefore, simulation is possible while reducing the burden on the operator, and application to the created program debugging is also conceivable.

以上説明のように本実施形態に係る動作再現装置40によれば、復元処理部42は、記録部(第2記憶部36)に圧縮され記録された通信フレームを時刻情報にしたがい圧縮処理前の入力値の集合に復元し、動作再現処理部44は、復元した入力値を用いて対応する時刻情報が示す時刻毎にシーケンサ20の動作状態を追跡して画面上に表示する。このため、通信フレーム内、及び通信フレーム間におけるデータ圧縮処理が施された入力値が時系列に記録されたメモリを用いることにより、シーケンサ毎に仮想動作モデルを作成することを不要とし、かつ、シーケンサのプログラム上でその内容の再現が可能になるため、異常発生時の原因究明が容易になり、シミュレーションやプログラムデバッグに要する作業者の負担が軽減される。   As described above, according to the motion reproduction device 40 according to the present embodiment, the restoration processing unit 42 uses the communication frame compressed and recorded in the recording unit (second storage unit 36) according to time information before the compression processing. By restoring the set of input values, the operation reproduction processing unit 44 tracks the operation state of the sequencer 20 for each time indicated by the corresponding time information using the restored input value and displays it on the screen. For this reason, it is not necessary to create a virtual operation model for each sequencer by using a memory in which input values subjected to data compression processing within and between communication frames are recorded in time series, and Since the contents can be reproduced on the sequencer program, it is easy to investigate the cause when an abnormality occurs, and the burden on the operator required for simulation and program debugging is reduced.

なお、本実施形態に係る設備運転状態管理システム1は、例えば、図1に示されように、複数の入力機器と出力機器を含む設備(設備システム10)がシーケンサ20に接続されて制御される、少なくとも第1記憶部33と、第2記憶部36と、表示部46とを備えた設備運転状態管理システムに適用される。そして、シーケンサ20に接続された入力機器に割り当てられるポート毎に、入力値の集合からなる通信フレームを通信回線50経由で第1の通信速度で取得し、取得した通信フレームに対して、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施し、第1記憶部33に記録し、第1記憶部33に記録された通信フレームを、第1の通信速度より遅い第2の通信速度で第2記憶部36に記録するデータ取得装置30と、第2記憶部36に記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の入力値の集合に復元し、復元した入力値に基づき、シーケンサ30に予めプログラムされた通りに出力値を決定して表示情報を生成し、表示部46に表示する動作再現装置40と、を有するものである。   The facility operation state management system 1 according to the present embodiment is controlled by connecting a facility (equipment system 10) including a plurality of input devices and output devices to a sequencer 20, as shown in FIG. The present invention is applied to an equipment operation state management system including at least a first storage unit 33, a second storage unit 36, and a display unit 46. Then, for each port assigned to the input device connected to the sequencer 20, a communication frame consisting of a set of input values is acquired at the first communication speed via the communication line 50, and a communication frame is obtained with respect to the acquired communication frame. The data compression processing in the network and the data compression processing between the communication frames are performed, recorded in the first storage unit 33, and the communication frame recorded in the first storage unit 33 is the second slower than the first communication speed. The data acquisition device 30 that records in the second storage unit 36 at the communication speed and the communication frame recorded in the second storage unit 36 are restored to a set of input values before data compression processing according to time information, and restored input And an operation reproduction device 40 that generates display information by determining an output value as programmed in advance in the sequencer 30 based on the value, and displays the information on the display unit 46. That.

本実施形態に係る設備運転状態管理システム1によれば、データ取得装置30は、入力値の集合からなる通信フレームを複数取得し、取得したそれぞれの通信フレームに対して、通信フレーム内におけるデータ圧縮処理と通信フレーム間におけるデータ圧縮処理とを施して第1記憶部33に記録する。また、動作再現装置40は、記録された圧縮処理後の通信フレームを時刻情報にしたがい圧縮処理前の入力値の集合に復元し、設備の動作状態とは独立に、復元した入力値を用いて対応する時刻情報が示す時刻毎に、設備の動作状態をトレースして画面に表示する。このため、データ取得装置30により、高速通信で取得される通信フレームのデータ容量が、内部で処理可能なデータ容量より大きい場合でもメモリリークの発生を抑制することができ、シミュレーションを可能にすることができる。また、動作再現装置40により、シミュレーション時のオペレータの負担をより一層軽減でき、シミュレーションに際して設備システムを構成する制御機械を動かすことなく容易化することができる。   According to the equipment operation state management system 1 according to the present embodiment, the data acquisition device 30 acquires a plurality of communication frames including a set of input values, and performs data compression in the communication frame for each acquired communication frame. Processing and data compression processing between communication frames are performed and recorded in the first storage unit 33. Further, the motion reproduction device 40 restores the recorded communication frame after the compression processing to a set of input values before the compression processing according to the time information, and uses the restored input values independently of the operation state of the equipment. At each time indicated by the corresponding time information, the operating state of the equipment is traced and displayed on the screen. For this reason, the data acquisition device 30 can suppress the occurrence of a memory leak even when the data capacity of a communication frame acquired by high-speed communication is larger than the data capacity that can be processed internally, thereby enabling simulation. Can do. Further, the operation reproduction device 40 can further reduce the burden on the operator during the simulation, and can facilitate the simulation without moving the control machine constituting the equipment system.

なお、本実施形態に係る設備運転状態管理システム1によれば、データ取得装置30と、動作再現装置40は、別体で構成されるものとして説明したが、処理能力が許せば一体であっても同じ効果が得られる。   In addition, according to the equipment operation state management system 1 according to the present embodiment, the data acquisition device 30 and the motion reproduction device 40 have been described as being configured separately, but are integrated if processing capability permits. The same effect can be obtained.

1…設備運転状態管理システム、10…設備システム、20…シーケンサ、
30…データ取得装置(31…主制御部、32…通信処理部、33…第1記憶部、34…パラメータ設定部、35…データ転送制御部、36…第2記憶部、37…内部バス)、
40…動作再現装置(41…主制御部、42…復元処理部、43…パラメータ設定部、44…動作再現処理部、45…描画・表示制御部、46…表示部、47…内部バス)、50…通信回線、200…I/Oポート
1 ... equipment operation state management system, 10 ... equipment system, 20 ... sequencer,
30 ... Data acquisition device (31 ... Main control unit, 32 ... Communication processing unit, 33 ... First storage unit, 34 ... Parameter setting unit, 35 ... Data transfer control unit, 36 ... Second storage unit, 37 ... Internal bus) ,
40 ... motion reproduction device (41 ... main control unit, 42 ... restoration processing unit, 43 ... parameter setting unit, 44 ... motion reproduction processing unit, 45 ... drawing / display control unit, 46 ... display unit, 47 ... internal bus), 50 ... communication line, 200 ... I / O port

Claims (5)

シーケンサに通信回線経由で接続される、第1記憶部と、第2記憶部とを備えたデータ取得装置であって、
前記シーケンサに接続された入力機器に割り当てられるポート毎、前記ポートから得られる入力値の集合からなる通信フレームを前記通信回線経由で第1の単位容量で取得し、前記取得した通信フレームに対し、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施して前記第1記憶部に保持する通信処理部と、
前記第1記憶部に保持された前記データ圧縮処理後の通信フレームを、前記第1の単位容量より小さい第2の単位容量で前記第2記憶部に転送するデータ転送制御部と、
を有することを特徴とするデータ取得装置。
A data acquisition device including a first storage unit and a second storage unit connected to a sequencer via a communication line,
For each port assigned to an input device connected to the sequencer, a communication frame consisting of a set of input values obtained from the port is acquired with a first unit capacity via the communication line, and for the acquired communication frame, A communication processing unit that performs data compression processing within a communication frame and data compression processing between communication frames and holds the data in the first storage unit;
A data transfer control unit for transferring the communication frame after the data compression processing held in the first storage unit to the second storage unit with a second unit capacity smaller than the first unit capacity;
A data acquisition device comprising:
前記通信処理部により取得される通信フレームは、
前記ポートのうち、第1のポートから取得される第1の頻度で変化する第1の入力値(A1、A2、A3)と、第2、第3のポートから取得される前記第1の頻度よりも低い第2の頻度で変化する第2、第3の入力値(B1、B2、B3およびC1、C2、C3)と、を含み、
前記通信処理部は、
第1の時刻で、第1の入力値(A1)と第2の入力値(B1)とからなる第1の通信フレーム(F1)を取得し、第2の時刻で、第1の入力値(A2)と第3の入力値(C2)とからなる第2の通信フレーム(F2)を取得し、第3の時刻で、第1の入力値(A3)と第2の入力値(B3)とからなる第3の通信フレーム(F3)をそれぞれ取得して、前記通信フレーム内におけるデータ圧縮処理を施すことを特徴とする請求項1記載のデータ取得装置。
The communication frame acquired by the communication processing unit is
Among the ports, the first input values (A1, A2, A3) that change with the first frequency acquired from the first port, and the first frequency acquired from the second and third ports. Second and third input values (B1, B2, B3 and C1, C2, C3) that change at a second frequency lower than,
The communication processing unit
At a first time, a first communication frame (F1) consisting of a first input value (A1) and a second input value (B1) is acquired, and at a second time, the first input value ( A second communication frame (F2) consisting of A2) and the third input value (C2) is acquired, and at the third time, the first input value (A3) and the second input value (B3) The data acquisition device according to claim 1, wherein each of the third communication frames (F3) is acquired and data compression processing is performed in the communication frames.
前記通信処理部は、
前記通信フレーム内における前記データ圧縮処理により、前記第1の入力値のそれぞれ(A1、A2、A3)と前記第2、第3の入力値のそれぞれ(B1、B2、B3、およびC1、C2、C3)とからなる、それぞれの通信フレーム(F1、F2,F3)が取得される毎に、今回取得された通信フレームと、前回取得された通信フレームとを比較し、変化があった場合に、前記今回取得された通信フレームを前記第1記憶部に選択的に保持して、前記通信フレームに前記通信フレーム間におけるデータ圧縮処理を施すことを特徴とする請求項1または2記載のデータ取得装置。
The communication processing unit
By the data compression processing in the communication frame, each of the first input values (A1, A2, A3) and each of the second and third input values (B1, B2, B3, and C1, C2, C3), each time each communication frame (F1, F2, F3) is acquired, the communication frame acquired this time is compared with the communication frame acquired last time. 3. The data acquisition apparatus according to claim 1, wherein the communication frame acquired this time is selectively held in the first storage unit, and data compression processing between the communication frames is performed on the communication frame. .
シーケンサから通信回線経由で取り込まれる入力値の集合からなる通信フレームに対し、通信フレーム内におけるデータ圧縮処理と通信フレーム間におけるデータ圧縮処理とが施されて、前記データ圧縮処理後の通信フレームが時系列に記録された記憶部と、
前記記憶部に記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の前記入力値の集合に復元する復元処理部と、
前記復元処理部で復元した入力値に基づき、前記シーケンサに予めプログラムされた通りに出力値を決定して表示情報を生成し、画面に表示する動作再現処理部と、
を有することを特徴とする動作再現装置。
A communication frame consisting of a set of input values taken from the sequencer via the communication line is subjected to data compression processing within the communication frame and data compression processing between the communication frames, so that the communication frame after the data compression processing is sometimes A storage unit recorded in the series;
A restoration processing unit that restores the communication frame recorded in the storage unit to the set of input values before data compression processing according to time information;
Based on the input value restored by the restoration processing unit, an output value is determined as preprogrammed in the sequencer to generate display information, and an operation reproduction processing unit for displaying on the screen;
An operation reproduction apparatus characterized by comprising:
複数の入力機器と出力機器を含む設備がシーケンサに接続されて制御される、第1記憶部と、第2記憶部と、表示部とを備えた設備運転状態管理システムであって、
前記シーケンサに接続された入力機器に割り当てられるポート毎、前記ポートから得られる入力値の集合からなる通信フレームを前記通信回線経由で第1の単位容量で取得し、前記取得した通信フレームに対し、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施して前記第1記憶部に保持し、前記第1記憶部に保持された前記データ圧縮処理後の通信フレームを、前記第1の単位容量より小さい第2の単位容量で前記第2記憶部に転送するデータ取得装置と、
前記第2記憶部に記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の前記入力値の集合に復元し、前記復元した入力値に基づき、前記シーケンサに予めプログラムされた通りに出力値を決定して表示情報を生成し、前記表示部に表示する動作再現装置と、
を有することを特徴とする設備運転状態管理システム。
A facility operation state management system comprising a first storage unit, a second storage unit, and a display unit, wherein a facility including a plurality of input devices and output devices is connected to and controlled by a sequencer,
For each port assigned to an input device connected to the sequencer, a communication frame consisting of a set of input values obtained from the port is acquired with a first unit capacity via the communication line, and for the acquired communication frame, Data compression processing within the communication frame and data compression processing between the communication frames are performed and held in the first storage unit, and the communication frame after the data compression processing held in the first storage unit is A data acquisition device for transferring to the second storage unit with a second unit capacity smaller than one unit capacity;
The communication frame recorded in the second storage unit is restored to the set of input values before data compression processing according to time information, and an output value as programmed in advance in the sequencer based on the restored input value Generating a display information and displaying it on the display unit;
A facility operating state management system characterized by comprising:
JP2011054717A 2011-03-11 2011-03-11 Equipment operation state data acquisition device and equipment operation state management system Expired - Fee Related JP5728261B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011054717A JP5728261B2 (en) 2011-03-11 2011-03-11 Equipment operation state data acquisition device and equipment operation state management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011054717A JP5728261B2 (en) 2011-03-11 2011-03-11 Equipment operation state data acquisition device and equipment operation state management system

Publications (2)

Publication Number Publication Date
JP2012190356A true JP2012190356A (en) 2012-10-04
JP5728261B2 JP5728261B2 (en) 2015-06-03

Family

ID=47083409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011054717A Expired - Fee Related JP5728261B2 (en) 2011-03-11 2011-03-11 Equipment operation state data acquisition device and equipment operation state management system

Country Status (1)

Country Link
JP (1) JP5728261B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238493A (en) * 2013-06-24 2014-12-24 横河电机株式会社 Process control apparatus and system and updating method therefor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000308065A (en) * 1999-04-22 2000-11-02 Matsushita Electric Ind Co Ltd Animation transmitting device
JP2003248504A (en) * 2002-02-22 2003-09-05 Digital Electronics Corp Method for debugging control program
JP2006259937A (en) * 2005-03-15 2006-09-28 Omron Corp Data collection device and data recovery device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000308065A (en) * 1999-04-22 2000-11-02 Matsushita Electric Ind Co Ltd Animation transmitting device
JP2003248504A (en) * 2002-02-22 2003-09-05 Digital Electronics Corp Method for debugging control program
JP2006259937A (en) * 2005-03-15 2006-09-28 Omron Corp Data collection device and data recovery device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238493A (en) * 2013-06-24 2014-12-24 横河电机株式会社 Process control apparatus and system and updating method therefor
JP2015005258A (en) * 2013-06-24 2015-01-08 横河電機株式会社 Process control device and system; and update method therefor
CN104238493B (en) * 2013-06-24 2017-04-12 横河电机株式会社 Process control apparatus and system and updating method therefor

Also Published As

Publication number Publication date
JP5728261B2 (en) 2015-06-03

Similar Documents

Publication Publication Date Title
US10025286B2 (en) Simulation system, programmable controller, simulation device, and engineering tool
JP2011504630A5 (en)
TW200710645A (en) Migration of system images
JP2019020822A (en) Programmable controller
CN104410549A (en) Test system and method of router
CN107315449B (en) Computer device, method for reading time and method for writing time
WO2017113848A1 (en) Testing method, testing platform and simulated testing device for test case
US10686977B2 (en) Image control system and apparatus for industrial embedded system
JP5728261B2 (en) Equipment operation state data acquisition device and equipment operation state management system
JP6318500B2 (en) Simulation apparatus and simulation program
JP5996150B2 (en) Programmable display and drawing software
CN108696375B (en) Industrial network information acquisition device, method, monitoring system and storage medium
CN107733743A (en) Realize the method and system that industry ethernet data are tested automatically
CN101364088B (en) Industrial human-machine interface variable accessing method and system
WO2019171845A1 (en) Control device and control system
CN107395381A (en) A kind of message processing method, apparatus and system
CN104991845A (en) High-speed debug method and apparatus for multi-core chip
JP2007109120A (en) Programmable display apparatus, debug supporting program and method for controlling debugging device
JP2010250365A (en) Cooperative simulation system, hardware emulator, and cooperative simulation method
JP2018180666A (en) Control device, control program, control system, and control method
JP2005092520A (en) Duplication controller system and equalization method thereof
CN101017456A (en) Method and system for judging breakdown of computer according to input/output signal and restarting
CN109032029B (en) External communication method, system and device for industrial server and industrial server
CN109995607B (en) Method for testing flow overhead, terminal, server and computer storage medium
CN106575132B (en) Programmable pulse generating method and apparatus thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140826

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141027

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150406

R150 Certificate of patent or registration of utility model

Ref document number: 5728261

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees