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 PDFInfo
- 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
Links
- 238000004891 communication Methods 0.000 claims abstract description 253
- 238000012545 processing Methods 0.000 claims abstract description 151
- 238000013144 data compression Methods 0.000 claims abstract description 63
- 238000012546 transfer Methods 0.000 claims description 17
- 238000007726 management method Methods 0.000 claims description 15
- 238000007906 compression Methods 0.000 abstract description 23
- 230000006835 compression Effects 0.000 abstract description 22
- 238000004088 simulation Methods 0.000 abstract description 15
- 230000033001 locomotion Effects 0.000 description 23
- 238000000034 method Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
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
上記した特許文献1に開示された技術によれば、シミュレーション時に、制御機械を何度も動作させる作業を現場で行う必要が無くなるため、制御機械と切り離したデータ上でデバッグ作業が簡単に行えるようになる。また、設備毎に仮想動作モデルを作成する必要が無くなり、その再現が容易になるため、オペレータに対する負担が軽減される。
According to the technique disclosed in
しかしながら、汎用性を考え、シーケンサに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
本発明の課題は、高速通信により取得される通信フレームの単位容量が、内部で処理可能なデータの単位容量より大きい場合でもメモリリークの発生を抑制し、シミュレーションを可能にした、データ取得装置、および動作再現装置、ならびに設備運転状態管理システムを提供することにある。 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
請求項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
請求項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.
本発明の実施の形態(以下、本実施形態という)を添付図に基づいて以下に説明する。 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
設備システム10は、例えば、製造現場に設置される自動化システムであって、入出力機器の他に制御機械を含み、この制御機械は1以上のシーケンサ20によりあらかじめ制御プログラムによりプログラムされた内容にしたがって制御される。シーケンサ20は、制御機械の要所に配備されたセンサやスイッチ等の入力機器から得られる入力信号を入力ポートを介して取得し、予め内蔵された制御プログラムにプログラムされた条件にしたがい出力ポートをON/OFFする。このことにより、出力ポートに接続される、例えば、電磁弁、モータ、表示灯等の出力機器を自由に制御することができる。なお、図1では、入力ポートと出力ポートとは区別することなく、I/Oポート200と総称して示している。
The
(データ取得装置の構成)
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
通信処理部32は、LANとのインタフェースを司り、シーケンサ20との間で、例えば、TCP/IP(Transmission Control Protocol/Internet Protocol)に準拠した手順で100Mbpsを単位容量として通信フレームの取得を行なう。ここで、通信フレームとは、I/Oポート200を介して取得されるセンサやスイッチ等の入力機器の入力値の集合をいう。また、通信処理部32は、取得した通信フレームに対して、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理の両方を施し、圧縮処理後の通信フレームを内部バス37経由で第1記憶部33へ保持する。
The
ここでいう「フレーム内圧縮処理」とは、通信フレームに割り当てられる入力ポート別の入力値に対して行われる空間圧縮処理のことをいい、「フレーム間圧縮処理」とは連続して到来する通信フレーム間の時間軸方向での時間圧縮処理のことをいう。 “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
また、フレーム間圧縮処理では、今回取り込まれた通信フレームと、前回取り込まれた通信フレームとを比較し、変化があった場合に、今回取り込まれた通信フレームを第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
パラメータ設定部34は、フレーム内圧縮処理において、通信処理部32が、低速ポートからの入力値を分割して取り込む際の、分割数、分割単位(サイズ)等のパラメータを設定するところである。これらパラメータは、デフォルト値として予め設定されていても良く、あるいは不図示の入力デバイスを使用して値を動的に設定してもよい。
The parameter setting unit 34 sets parameters such as the number of divisions and the division unit (size) when the
データ転送制御部35は、第1記憶部33と第2記憶部36との間のデータ転送を制御する。第1記憶部33に保持された圧縮処理後の通信フレームを、例えば100Mbps(Mega bit per sec)の高速通信よりも遅い例えば64Mbpsで第2記憶部36に転送する。この第2記憶部36として、SD(登録商標)メモリカード等の可搬型記録媒体を想定している。ここでは、高速通信により取得される通信フレームのサイズが圧縮されるため、処理しきれないデータがPC内部のメモリに蓄積されることはなく、したがって、メモリリークの発生を回避できる。
The data
なお、主制御部31は、データ取得装置30が、シーケンサ20のI/Oポート200毎に、通信回線50経由で入力値の集合からなる通信フレームを100Mbpsの単位容量で取得し、取り込んだそれぞれの通信フレームに対し、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施して第1記憶部33に保持するように、上記した通信処理部32、第1記憶部33、パラメータ設定部34、データ転送制御部35、第2記憶部36のシーケンス制御を行う。
In addition, the
(動作再現装置の構成)
動作再現装置40は、第2記憶部36に転送され記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の入力値の集合に復元し、復元した入力値に基づき、シーケンサ20に予めプログラムされた通りに出力値を決定して表示情報を生成し表示部46に表示する。このため、動作再現装置40は、主制御部41と、復元処理部42と、パラメータ設定部43と、動作再現処理部44と、描画・表示制御部45と、表示部46と、を含み構成される。これらブロック41〜45は、アドレス、データ、コントロールのためのラインが複数本で構成される内部バス47に共通接続されている。
(Configuration of motion reproduction device)
The
なお、動作再現装置40が動作再現を行うにあたり、不図示のカードスロットに、図1に示す、圧縮後の通信フレームが記録された第2記憶部36(SDカード)が挿入され、内部バス47に接続されるものとする。
When the
復元処理部42は、第2記憶部36に記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の入力値の集合に復元して動作再現処理部44へ出力する。なお、パラメータ設定部43は、動作再現の範囲や動作再現の終了条件等を動作再現処理部44に設定し、動作再現処理部44による動作再現処理を制御する。動作再現処理部44は、復元処理部42で復元された入力値に基づき、シーケンサ20(制御プログラム)に予めプログラムされた通りに出力値を決定し、生成される動作再現のための表示情報を描画・表示制御部45に出力する。
The
描画・表示制御部45は、動作再現処理部44により生成される表示情報を内蔵の表示メモリに描画し、描画された表示情報を、表示部46の表示タイミングに合わせて読み出して表示部46に出力する。表示部46は、LCD(Liquid Crystal Display Device)やOLED(Organic Light Emitted Diode)等の表示デバイスで構成される表示モニタであり、描画・表示制御部45から出力される表示タイミング信号に同期して表示メモリに描画された表示情報を表示する。
The drawing /
なお、主制御部41は、動作再現装置40が、第2記憶部36に記録された通信フレームを、時刻情報にしたがいデータ圧縮処理前の入力値の集合に復元し、復元した入力値に基づき、シーケンサ20に予めプログラムされた通りに出力値を決定して表示情報を生成して表示部46に表示するように、上記した復元処理部42、パラメータ設定部43、動作再現処理部44、描画・表示制御部45のシーケンス制御を行う。
The
(データ取得装置の動作)
図2、図3は、本実施形態に係るデータ取得装置30の動作を示すフローチャートである。以下、図2、図3のフローチャートを参照しながら、図1に示す本実施形態に係るデータ取得装置30の動作について詳細に説明する。
(Operation of data acquisition device)
2 and 3 are flowcharts showing the operation of the
主制御部31では、まず、予め割り当てられる内蔵レジスタX、Yおよびiの初期化を行う(図2のステップS101)。なお、レジスタX、Yには、後述するようにフレーム間圧縮処理を行うために、前回入力値、今回入力値がそれぞれ設定される。また、レジスタiは、主制御部31が、通信回線50経由で取得する通信フレームの順番をカウントするために使用される。
First, the
次に、主制御部31が通信処理部32に制御を移すと、通信処理部32は、シーケンサ20から通信回線50経由で通信フレームを順次取得する(ステップS102)。そして、一定の周期毎に(ステップS103“YES”)、通信フレームを構成する入力値を順次サンプリングして、フレーム内圧縮処理とフレーム間圧縮処理とを施す。
Next, when the
フレーム内圧縮処理を施すにあたり、通信処理部32では、まず、入力値が高速ポートから到来した入力値であるか否かを判定する(ステップS104)。ここで、高速ポートから到来した入力値であれば(ステップS104“YES”)、その入力値は取り込まれ(ステップS105)、低速ポートからの入力値であれば(ステップS104“NO”)、その入力値は、パラメータ設定部34により設定された分割数(n)、および分割サイズ(sz)にしたがって分割される(ステップS106)。そして、通信処理部32は、分割された低速ポートからの入力値と、先に取り込まれた高速ポートからの入力値とを組み合わせることにより、分割された通信フレームを都度組み立て、これを取り込む(ステップS107)。
In performing the intra-frame compression processing, the
上記したステップ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
通信処理部32は、上記の処理が分割数nに到達したタイミングで(ステップS108“YES”)、分割された低速ポートからの入力値のそれぞれを分割前の入力値に復元し、高速ポートからの入力値と組み合わせることによって分割前の通信フレームに並べ替えを行い、この内容を今回取得入力値としてレジスタYに設定する(ステップS109)。
The
続いて、フレーム間圧縮処理を施すにあたり、通信処理部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
なお、上記したステップ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
最後に、主制御部31は、単位容量分の通信フレームの処理が終了したタイミングで(ステップS114“YES”)、データ転送制御部35によるデータ転送処理を起動する。このとき、データ転送制御部35は、第1記憶部33に保持された圧縮後の通信フレームを、例えば、USB経由で第2記憶部36に転送して記録する(ステップS115)。
Finally, the
上記したデータ取得動作について、図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
図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 /
また、時刻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 /
第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
一方、時刻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
このように、取得した通信フレームの前回入力値と今回入力値の変化を検出し、変化発生時のみ、今回入力値からなる通信フレームを第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
以上説明のように本実施形態に係るデータ取得装置30によれば、通信処理部32は、通信回線50を介して第1の単位容量で取得される入力値の集合からなる通信フレームに対し、通信フレーム内におけるデータ圧縮処理と通信フレーム間におけるデータ圧縮処理とを施して第1記憶部33に保持し、データ転送制御部35は、第1記憶部33から第2記憶部36へ、第1の単位容量より遅い第2の単位容量で転送して記録する。このため、高速通信により取得される通信フレームのデータ容量が、内部で処理可能なデータ容量より大きい場合でもメモリリークの発生を抑制することができ、シミュレーションを可能にすることができる。
As described above, according to the
また、ポートに割り当てられる入力機器が持つ特質により、例えば、比較的遅い処理速度を有する第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
(動作再現装置の動作)
次に、図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
次に、復元処理部42は、再現範囲の相当する入力値を復元する。入力値の復元の仕方については図6の模式図を参照しながら説明する。図6では、復元処理部42が、例えば、時刻T1〜T8における入力値を復元するものとして説明する。このとき、復元処理部42は、主制御部41経由で第2記憶部36から、時刻T2の入力値(OFF、OFF、OFF)を、時刻T4の入力値(OFF、ON、OFF)を、時刻T8の入力値(OFF、ON、ON)をそれぞれ取得している。
Next, the
復元処理部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
動作再現処理部44は、復元処理部42から再現範囲に相当する入力値を取得すると、その履歴に基づき、シーケンサ20(ラダープログラム)による設備の運転状態を追跡(トレース)して、都度、グラフィカルに再現するための表示情報を生成して、描画・表示制御部45へ供給する(ステップS205)。描画・表示制御部45は、動作再現処理部44で生成される表示情報を不図示の表示メモリに描画し、表示部46の表示タイミングに同期して読み出し、例えば、図5に示す画面イメージを表示する(ステップS206)。図5に画面イメージが例示されているように、動作再現処理部44は、画面上に表示されるラダープログラムにおけるリレーシンボルの形状や色を変化させながら入出力機器の動作タイミングや変化等を表現することが可能である。
When the operation
なお、動作再現処理部44が第2記憶部36に記録された入力値の履歴に基づき設備の動作状態を再現するにあたり、再現の範囲のみならず、特定の入出力機器に限定して再現することも可能である。また、再現の実行をステップ単位で段階的に、あるいは実行速度を可変設定することも可能である。このため、オペレータの負担を軽減しながらシミュレーションが可能であり、また、作成したプログラムデバッグへの応用も考えられる。
In addition, when the operation
以上説明のように本実施形態に係る動作再現装置40によれば、復元処理部42は、記録部(第2記憶部36)に圧縮され記録された通信フレームを時刻情報にしたがい圧縮処理前の入力値の集合に復元し、動作再現処理部44は、復元した入力値を用いて対応する時刻情報が示す時刻毎にシーケンサ20の動作状態を追跡して画面上に表示する。このため、通信フレーム内、及び通信フレーム間におけるデータ圧縮処理が施された入力値が時系列に記録されたメモリを用いることにより、シーケンサ毎に仮想動作モデルを作成することを不要とし、かつ、シーケンサのプログラム上でその内容の再現が可能になるため、異常発生時の原因究明が容易になり、シミュレーションやプログラムデバッグに要する作業者の負担が軽減される。
As described above, according to the
なお、本実施形態に係る設備運転状態管理システム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
本実施形態に係る設備運転状態管理システム1によれば、データ取得装置30は、入力値の集合からなる通信フレームを複数取得し、取得したそれぞれの通信フレームに対して、通信フレーム内におけるデータ圧縮処理と通信フレーム間におけるデータ圧縮処理とを施して第1記憶部33に記録する。また、動作再現装置40は、記録された圧縮処理後の通信フレームを時刻情報にしたがい圧縮処理前の入力値の集合に復元し、設備の動作状態とは独立に、復元した入力値を用いて対応する時刻情報が示す時刻毎に、設備の動作状態をトレースして画面に表示する。このため、データ取得装置30により、高速通信で取得される通信フレームのデータ容量が、内部で処理可能なデータ容量より大きい場合でもメモリリークの発生を抑制することができ、シミュレーションを可能にすることができる。また、動作再現装置40により、シミュレーション時のオペレータの負担をより一層軽減でき、シミュレーションに際して設備システムを構成する制御機械を動かすことなく容易化することができる。
According to the equipment operation
なお、本実施形態に係る設備運転状態管理システム1によれば、データ取得装置30と、動作再現装置40は、別体で構成されるものとして説明したが、処理能力が許せば一体であっても同じ効果が得られる。
In addition, according to the equipment operation
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の単位容量で取得し、前記取得した通信フレームに対し、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施して前記第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の単位容量で取得し、前記取得した通信フレームに対し、通信フレーム内におけるデータ圧縮処理と、通信フレーム間におけるデータ圧縮処理とを施して前記第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:
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)
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)
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 |
-
2011
- 2011-03-11 JP JP2011054717A patent/JP5728261B2/en not_active Expired - Fee Related
Patent Citations (3)
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)
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 |