JP7796633B2 - Plant monitoring and control system - Google Patents
Plant monitoring and control systemInfo
- Publication number
- JP7796633B2 JP7796633B2 JP2022201759A JP2022201759A JP7796633B2 JP 7796633 B2 JP7796633 B2 JP 7796633B2 JP 2022201759 A JP2022201759 A JP 2022201759A JP 2022201759 A JP2022201759 A JP 2022201759A JP 7796633 B2 JP7796633 B2 JP 7796633B2
- Authority
- JP
- Japan
- Prior art keywords
- logging
- data
- function unit
- plc
- setting function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Programmable Controllers (AREA)
Description
本願は、プラント監視制御システムに関するものである。 This application relates to a plant monitoring and control system.
従来のプラント監視制御システムは、PLC(Programmable Logic Controller)装置を利用し、プラント機器で得られるロギングデータの監視を行いながら制御を行ってFA(Factory Automation)化を実現するようにしている。 Conventional plant monitoring and control systems use PLC (Programmable Logic Controller) devices to monitor and control logging data obtained from plant equipment, achieving factory automation (FA).
その場合、従来技術では、PLC装置によるデータロギングを実現するために、PLC装置にデータロガーユニットなどの専用のロギングデータ送信装置を設け、PLC装置の制御周期でもってロギングデータを外部記憶装置に送信する技術が提案されている(例えば、下記の特許文献1参照)。 In such cases, prior art has proposed a technique for achieving data logging using a PLC device by providing the PLC device with a dedicated logging data transmission device, such as a data logger unit, and transmitting the logging data to an external storage device at the PLC device's control cycle (see, for example, Patent Document 1 below).
しかしながら、上記特許文献1に記載の従来技術では、制御周期でロギングデータを送信することは、PLC装置で実行するプログラムに基づいて実現する方式ではなく、PLC装置に専用のロギングデータ送信装置を装着して実現しなければならず、このため、システムコストが増加する問題点があった。 However, with the prior art described in Patent Document 1, transmitting logging data at control cycles is not achieved based on a program executed by the PLC device, but rather requires the PLC device to be equipped with a dedicated logging data transmission device, which increases system costs.
本願は、上記のような課題を解決するためになされたものであり、専用のロギングデータ送信装置をPLC装置に装着しなくても、制御周期でロギングデータを外部記憶装置に送信できるようにして、システムコストを低減したプラント監視制御システムを提供することを目的とする。 This application has been made to solve the above-mentioned problems, and aims to provide a plant monitoring and control system that reduces system costs by enabling logging data to be transmitted to an external storage device at control cycles without the need to install a dedicated logging data transmission device in the PLC device.
本願に開示されるプラント監視制御システムは、プラント制御用のPLC装置と、ロギング設定および監視用のエンジニアリングツール装置とを備え、前記エンジニアリングツール装置は、前記PLC装置に対してロギングデータを取得するロギング条件を設定するロギング設定機能部と、前記ロギング条件に適合したデータ送信プログラムを生成して前記PLC装置に送信するプログラム生成機能部と、前記PLC装置から前記ロギング条件に基づいて送信される前記ロギングデータを記憶する外部記憶装置と、前記外部記憶装置に記憶された前記ロギングデータを監視するロギング監視機能部とを含み、前記PLC装置は、前記データ送信プログラムに基づいて、制御周期に基づく周期毎に前記外部記憶装置に対して前記ロギングデータを送信し、前記外部記憶装置は、前記ロギングデータを順次蓄積し、前記ロギング監視機能部は、前記外部記憶装置に記憶された前記ロギングデータを監視するものである。 The plant monitoring and control system disclosed in the present application includes a PLC device for plant control and an engineering tool device for logging setting and monitoring, the engineering tool device including a logging setting function unit that sets logging conditions for acquiring logging data for the PLC device , a program generation function unit that generates a data transmission program that conforms to the logging conditions and transmits the program to the PLC device, an external storage device that stores the logging data transmitted from the PLC device based on the logging conditions, and a logging monitoring function unit that monitors the logging data stored in the external storage device, the PLC device transmitting the logging data to the external storage device at intervals based on a control period based on the data transmission program , the external storage device sequentially storing the logging data, and the logging monitoring function unit monitoring the logging data stored in the external storage device.
本願に開示されるプラント監視制御システムによれば、PLC装置に専用のロギングデータ送信装置を装着して実現する必要がなくなり、システムコストを低減することができる。 The plant monitoring and control system disclosed in this application eliminates the need to install a dedicated logging data transmission device in the PLC device, thereby reducing system costs.
実施の形態1.
図1は本願の実施の形態1によるプラント監視制御システムの構成を示す機能ブロック図であり、図2は図1のロギング設定機能部およびロギング監視機能部の詳細を示す図である。
Embodiment 1.
FIG. 1 is a functional block diagram showing the configuration of a plant monitoring and control system according to a first embodiment of the present invention, and FIG. 2 is a diagram showing details of a logging setting function unit and a logging monitoring function unit shown in FIG.
この実施の形態1のプラント監視制御システムは、プラント制御を行うPLC装置1および、PLC装置1に接続されてプラント制御のためのデータをやり取りする入出力装置3、PLC装置1へ書き込むプログラムの編集、ロギングの設定、監視などのエンジニアリングを行うエンジニアリングツール装置4、およびPLC装置1とエンジニアリングツール装置4との間の通信を行うLANネットワーク8を備える。 The plant monitoring and control system of this first embodiment includes a PLC device 1 that controls the plant, an input/output device 3 that is connected to the PLC device 1 and exchanges data for plant control, an engineering tool device 4 that performs engineering such as editing programs to be written to the PLC device 1, setting logging, and monitoring, and a LAN network 8 that provides communication between the PLC device 1 and the engineering tool device 4.
PLC装置1はCPUユニット2を有し、このCPUユニット2は、プラント制御を行うためのプログラムなどの演算を行うプログラム実行部21、LANネットワーク8経由で外部通信装置とのやり取りを行う通信処理部22、入出力装置3との間でアナログ/デジタルの信号データの入力処理および出力処理を行う入出力処理部23、およびプログラム演算の結果、入出力処理部23で入力信号、および出力信号などのデータを格納するデバイスメモリ24から構成されている。 The PLC device 1 has a CPU unit 2, which is composed of a program execution unit 21 that performs calculations such as programs for plant control, a communication processing unit 22 that communicates with external communication devices via the LAN network 8, an input/output processing unit 23 that performs input and output processing of analog/digital signal data between the input/output device 3, and a device memory 24 that stores data such as input signals and output signals from the input/output processing unit 23 as a result of program calculations.
入出力装置3は、図示しないセンサ、バルブ、アクチュエータなどのプラントを構成する各種の機器と接続され、各種の機器とPLC装置1間のアナログ/デジタル信号データの入出力をやり取りする。 The input/output device 3 is connected to various devices that make up the plant, such as sensors, valves, and actuators (not shown), and exchanges analog and digital signal data between the various devices and the PLC device 1.
エンジニアリングツール装置4は、PLC装置1に対するロギングデータの送信、蓄積、監視を制御するロギング制御部5と、PLC装置1から後述のロギング設定機能部51によりロギング設定されたロギング条件に基づいて得られたロギングデータを記憶する外部記憶装置7とを有する。 The engineering tool device 4 has a logging control unit 5 that controls the transmission, storage, and monitoring of logging data to the PLC device 1, and an external storage device 7 that stores logging data obtained from the PLC device 1 based on logging conditions set by the logging setting function unit 51 described below.
上記のロギング制御部5は、PLC装置1に対してロギングデータを取得するためのロギング条件を設定するロギング設定機能部51と、このロギング設定機能部51で設定された情報に基づいてPLC装置1で実行するデータ送信プログラム6を生成してPLC装置1へ転送するプログラム生成機能部としてのPLCサポート部53と、外部記憶装置7に蓄積されたロギングデータをオペレータの監視画面として表示してロギングデータを監視するロギング監視機能部52とを含む。 The logging control unit 5 includes a logging setting function unit 51 that sets logging conditions for acquiring logging data for the PLC device 1, a PLC support unit 53 that serves as a program generation function unit that generates a data transmission program 6 to be executed by the PLC device 1 based on the information set by the logging setting function unit 51 and transfers it to the PLC device 1, and a logging monitoring function unit 52 that displays the logging data accumulated in the external storage device 7 on an operator's monitoring screen and monitors the logging data.
図3は、この実施の形態1によるロギング設定動作を示すフローチャートである。なお、以下において、符合Sは処理ステップを意味する。
PLC装置1からのロギングデータを取得する条件の設定を行う場合、オペレータはエンジニアリングツール装置4のロギング設定機能部51を使用する。
3 is a flowchart showing the logging setting operation according to this embodiment 1. In the following, the symbol S denotes a processing step.
When setting conditions for acquiring logging data from the PLC device 1 , the operator uses the logging setting function unit 51 of the engineering tool device 4 .
図3に示すように、オペレータがロギング設定機能部51を起動する(ステップS0010)。これに応じて、ロギング設定機能部51は、ロギング設定対象のPLC装置1の情報を画面上に表示する(ステップS0020)。
次に、ロギング設定機能部51の画面からオペレータがロギング設定の共通項目(例えば、アナログ収集点最大数、デジタル収集点最大数、ロギングデータ保存期間)を設定(ステップS0030)する。
また、ロギングデータの監視を行う収集対象点のアナログ信号、およびデジタル信号のラベル(信号を識別する識別名)を設定する(ステップS0040)。
ロギング設定機能部51は、設定されたラベル情報をもとに、エンジニアリングデータとして登録されているラベルのラベル名称、対象となるデバイスメモリ24を自動取得し、画面上に表示する(ステップS0050)。
そして、オペレータがロギング設定機能部51の画面から保存ボタンを押下して設定データを保存する(ステップS0060)。
3, the operator activates the logging setting function unit 51 (step S0010), and in response, the logging setting function unit 51 displays on the screen information about the PLC device 1 for which logging settings are to be made (step S0020).
Next, the operator sets common items for logging settings (for example, maximum number of analog collection points, maximum number of digital collection points, and logging data storage period) on the screen of the logging setting function unit 51 (step S0030).
Also, labels (identification names for identifying the signals) are set for the analog and digital signals at the collection points where logging data is monitored (step S0040).
Based on the set label information, the logging setting function unit 51 automatically acquires the label name of the label registered as engineering data and the target device memory 24, and displays them on the screen (step S0050).
Then, the operator presses the save button on the screen of the logging setting function unit 51 to save the setting data (step S0060).
PLCサポート部53は、ロギング設定機能部51で設定された共通設定項目、および収集対象点設定項目に基づいてデータ送信プログラム6を生成する(ステップS0070)。このデータ送信プログラム6は、ロギング設定機能部51で設定したラベルの対象とするPLC装置1のデバイスメモリ24の値を収集して外部記憶装置7にデータ送信するプログラムである。 The PLC support unit 53 generates a data transmission program 6 based on the common setting items and collection target point setting items set by the logging setting function unit 51 (step S0070). This data transmission program 6 is a program that collects values from the device memory 24 of the PLC device 1 that is the target of the label set by the logging setting function unit 51 and transmits the data to the external storage device 7.
ロギング設定機能部51の画面から転送ボタンを押下することで(ステップS0080)、PLCサポート部53は、LANネットワーク8を経由してPLC装置1のCPUユニット2にデータ送信プログラム6を転送する(ステップS0090)。オペレータは操作完了後、ロギング設定機能部51の動作を終了する(ステップS0100)。 By pressing the transfer button on the logging setting function unit 51 screen (step S0080), the PLC support unit 53 transfers the data transmission program 6 to the CPU unit 2 of the PLC device 1 via the LAN network 8 (step S0090). After completing the operation, the operator terminates the operation of the logging setting function unit 51 (step S0100).
PLC装置1は、制御周期毎(例えば5ms周期など)に転送されたデータ送信プログラム6を実行し、収集対象のデバイスメモリ24の値を、通信処理部22からLANネットワーク8を経由して外部記憶装置7に向けて送信する。 The PLC device 1 executes the transferred data transmission program 6 every control period (e.g., every 5 ms), and transmits the values in the device memory 24 to be collected from the communication processing unit 22 to the external storage device 7 via the LAN network 8.
図4はこの実施の形態1によるロギング監視動作を示すフローチャートである。
ロギングデータの監視を行う場合、オペレータは、エンジニアリングツール装置4のロギング監視機能部52を使用する。
FIG. 4 is a flowchart showing the logging monitoring operation according to the first embodiment.
When monitoring the logging data, the operator uses the logging monitoring function unit 52 of the engineering tool device 4 .
オペレータは、ロギング監視機能部52を起動する(ステップS1010)。これに応じて、ロギング監視機能部52は、ロギング設定機能部51の設定情報に基づいて監視画面を表示し(ステップS1020)、PLC装置1から送信されて外部記憶装置7に記憶されているロギングデータを参照し、画面上の各ラベルのグラフ描画と現在値を表示する(ステップS1030)。
ロギング監視機能部52は、一定時間待機(例えば1秒周期)し、定周期でロギングデータを参照して画面上のグラフ描画と現在値を更新して表示し(ステップS1040)、リアルタイム監視も可能とする。オペレータは、操作完了後、ロギング監視機能部52の動作を終了する(ステップS1050)。
The operator activates the logging monitoring function unit 52 (step S1010). In response to this, the logging monitoring function unit 52 displays a monitoring screen based on the setting information of the logging setting function unit 51 (step S1020), references the logging data transmitted from the PLC device 1 and stored in the external storage device 7, and displays graphs and current values of each label on the screen (step S1030).
The logging monitoring function unit 52 waits for a fixed time (for example, every second), and periodically references the logging data to draw a graph on the screen and update and display the current values (step S1040), enabling real-time monitoring. After completing the operation, the operator terminates the operation of the logging monitoring function unit 52 (step S1050).
以上のように、この実施の形態1では、PLC装置1に対してロギングデータを取得する条件を設定するロギング設定機能部51と、このロギング設定機能部51で設定された情報をもとにPLC装置1で実行するデータ送信プログラム6を生成してPLC装置1へ転送するプログラム生成機能部としてのPLCサポート部53と、PLC装置1のCPUユニット2から制御周期毎に外部記憶装置7に蓄積されたロギングデータをオペレータの監視画面として表示してロギングデータを監視するロギング監視機能部52とを含む構成としたので、従来のように、PLC装置1に専用のロギングデータ送信装置を装着して実現する必要がなくなる。このため、システムコストを余分に増加させることなく、ロギングデータのリアルタイムの蓄積およびヒストリカルな監視が可能となる。 As described above, this first embodiment includes a logging setting function unit 51 that sets the conditions for acquiring logging data for the PLC device 1; a PLC support unit 53 that serves as a program generation function unit that generates a data transmission program 6 to be executed by the PLC device 1 based on the information set by the logging setting function unit 51 and transfers it to the PLC device 1; and a logging monitoring function unit 52 that displays logging data accumulated in the external storage device 7 from the CPU unit 2 of the PLC device 1 for each control cycle on an operator's monitoring screen and monitors the logging data. This eliminates the need to attach a dedicated logging data transmission device to the PLC device 1, as was previously required. This makes it possible to accumulate logging data in real time and monitor it historically without increasing system costs.
実施の形態2.
上記の実施の形態1では、単一のPLC装置1がシステム内に存在する場合について述べたが、プラント監視制御システムによっては、複数の異なる機種のPLC装置が同一システム内に混在する場合がある。
Embodiment 2.
In the above-described first embodiment, a case has been described in which a single PLC device 1 exists within a system, but depending on the plant monitoring and control system, a plurality of different models of PLC devices may coexist within the same system.
そこで、この実施の形態2では、ロギング制御部5が取り扱うロギングデータのデータフォーマットを共通化するとともに、各々のPLC装置に応じたデータ送信プログラムを生成することで、複数の異なる機種のPLC装置が同一システム内に混在する場合でも、PLC装置の機種に依存せずに、上記実施の形態1と同様の効果を奏するようにしたものである。 In this second embodiment, the data format of the logging data handled by the logging control unit 5 is standardized, and a data transmission program is generated for each PLC device. This allows the same effects as in the first embodiment to be achieved, regardless of the model of the PLC device, even when multiple different models of PLC devices are mixed within the same system.
図5は実施の形態2によるプラント監視制御システムの構成を示す機能ブロック図であり、図6は図5のロギング設定機能部およびロギング監視機能部の詳細を示す図である。
この実施の形態2では、一例として、A社のPLC装置1AおよびB社のPLC装置1Bの2つが同一システム内に存在しており、両装置1A、1Bは機種が異なっている。すなわち、A社のPLC装置1Aは、CPUユニット2Aと入出力装置3Aとを有する。また、B社のPLC装置1Bは、CPUユニット2Bと入出力装置3Bとを有する。そして、A社のPLC装置1AとB社のPLC装置1Bは、それぞれ同一のLANネットワーク8でエンジニアリングツール装置4に接続されている。
FIG. 5 is a functional block diagram showing the configuration of a plant monitoring and control system according to the second embodiment, and FIG. 6 is a diagram showing details of the logging setting function unit and the logging monitoring function unit shown in FIG.
In this second embodiment, as an example, two PLC devices, 1A of company A and 1B of company B, exist in the same system, and the devices 1A and 1B are different models. That is, the PLC device 1A of company A has a CPU unit 2A and an input/output device 3A. The PLC device 1B of company B has a CPU unit 2B and an input/output device 3B. The PLC device 1A of company A and the PLC device 1B of company B are each connected to the engineering tool device 4 via the same LAN network 8.
また、エンジニアリングツール装置4のロギング制御部5に設けられているPLCサポート部53は、PLC装置1の機種毎との通信、各々のPLC装置1A、1Bの機種がサポートするプログラム形式に応じた送信データフォーマットを有する送信データを生成するためのデータ送信プログラム6A、6Bをそれぞれ生成する。 In addition, the PLC support unit 53 provided in the logging control unit 5 of the engineering tool device 4 generates data transmission programs 6A and 6B for communicating with each model of PLC device 1 and generating transmission data having a transmission data format corresponding to the program format supported by each model of PLC device 1A and 1B.
したがって、プログラム生成機能部としてのPLCサポート部53は、A社についてはデータ送信プログラム6A、またB社についてはデータ送信プログラム6Bといったように、PLC装置1A、1Bの機種毎の固有のデータ送信プログラム6A、6Bを生成して各々のPLC装置1A、1Bに転送し、ロギングデータの送信、蓄積、監視を行う。 Therefore, the PLC support unit 53, which functions as a program generation function, generates data transmission programs 6A and 6B specific to each model of PLC device 1A, 1B, such as data transmission program 6A for company A and data transmission program 6B for company B, and transfers these programs to each PLC device 1A, 1B, transmitting, storing, and monitoring the logging data.
図7は、この実施の形態2によるロギングデータの送信データフォーマットを示す説明図である。 Figure 7 is an explanatory diagram showing the transmission data format of logging data in this embodiment 2.
送信データフォーマットは、ロギングデータであることを識別するためのマジックナンバー(識別子)、送信データ長、送信カウンタ(送信の度にPLC装置がインクリメント)、送信時刻(PLC装置の送信時刻)、送信元のPLC装置情報(A社のPLC装置1AとB社のPLC装置1Bの機種名(制御装置名)など)、収集最大点数(デジタル/アナログ)、収集データ(収集したロギングデータ)によって構成され、PLC装置の機種に依存しない共通の送信データフォーマットを採用する。 The transmission data format is composed of a magic number (identifier) to identify it as logging data, the transmission data length, a transmission counter (incremented by the PLC device each time it is transmitted), transmission time (transmission time of the PLC device), information about the sending PLC device (such as the model name (controller name) of Company A's PLC device 1A and Company B's PLC device 1B), maximum number of points to collect (digital/analog), and collected data (collected logging data), and uses a common transmission data format that is independent of the PLC device model.
図8は、この実施の形態2によるロギングデータのデータ送信プログラムの一例を示す説明図である。なお、ここでは、PLC装置で一般的にサポートされているラダー言語のプログラムを示す。 Figure 8 is an explanatory diagram showing an example of a data transmission program for logging data according to this second embodiment. Note that this shows a program written in ladder programming language, which is generally supported by PLC devices.
データ送信プログラムは、各々のPLC装置1A、1Bの機種に応じたプログラムであり、送信データフォーマットのヘッダ情報生成部P0010、収集データ生成部P0020、データ送信部P0050により構成される。ロギング設定機能部51での収集対象点数が収集対象最大点数を下回るデータに関しては、アナログ値はNaN(Not a Number)、デジタル値は0としてデータを生成する(図8中のP0030の「アナログ収集データ(NaN)(x+1~m点目)」、P0040の「デジタル収集データ(0)(y+1~n点目)」)。 The data transmission program is a program tailored to the model of each PLC device 1A, 1B, and is composed of a transmission data format header information generation unit P0010, a collected data generation unit P0020, and a data transmission unit P0050. For data where the number of points to be collected in the logging setting function unit 51 is less than the maximum number of points to be collected, the analog value is generated as NaN (Not a Number) and the digital value is generated as 0 (P0030 "Analog collected data (NaN) (x+1 to mth point)" and P0040 "Digital collected data (0) (y+1 to nth point)" in Figure 8).
なお、ラダー言語でのプログラム形式について説明したが、あくまで一例であって、プログラムの言語はラダー言語に依存する必要はなく、ST(Structured Text)言語、C言語、あるいはPLC装置のメーカー独自の言語などの各々のPLC装置がサポートしているプログラム言語の生成をPLCサポート部53に設けることで対応が可能となる。 Note that while the programming format in ladder language has been described, this is merely one example, and the programming language does not have to depend on ladder language. It is possible to support this by providing the PLC support unit 53 with the ability to generate programming languages supported by each PLC device, such as ST (Structured Text) language, C language, or languages unique to the PLC device manufacturer.
以上のように、この実施の形態2では、異なる機種の複数のPLC装置1A、1Bが同一のシステム内に混在している場合において、ロギング制御部5のPLCサポート部53によって、PLC装置1A、1Bの機種に応じたデータ送信プログラム6A、6Bを生成するようしたので、PLC装置1A、1B毎にロギング設定と監視を行うエンジニアリングツール装置4を用意する必要が無くなり、余分なコストアップを招くことなく、ロギングデータの送信、蓄積、監視が可能となる。 As described above, in this second embodiment, when multiple PLC devices 1A, 1B of different models are mixed within the same system, the PLC support unit 53 of the logging control unit 5 generates data transmission programs 6A, 6B appropriate for the models of the PLC devices 1A, 1B. This eliminates the need to prepare an engineering tool device 4 that performs logging settings and monitoring for each PLC device 1A, 1B, and enables the transmission, storage, and monitoring of logging data without incurring additional costs.
実施の形態3.
上記の実施の形態1、2では、PLC装置に内蔵されているCPUユニットを使用した場合におけるロギングデータ設定と監視を行う場合について説明したが、PLC装置によっては、CPUユニットにEthernetの通信機能部が内蔵されておらず、このため、LANネットワークを接続するには、CPUユニットに対してEthernetユニットを別途設ける必要がある機種も存在する。なお、Ethernetは登録商標である。
Embodiment 3.
In the above first and second embodiments, the case where logging data setting and monitoring are performed using a CPU unit built into a PLC device has been described, but some PLC devices do not have an Ethernet communication function built into the CPU unit, and therefore, in order to connect to a LAN network, there are models in which an Ethernet unit must be provided separately from the CPU unit. Note that Ethernet is a registered trademark.
そこで、この実施の形態3では、ロギング制御部5のロギング設定機能部51において、PLC装置1Cの接続方式を選択させ、接続方式に応じたデータ送信プログラム6Cを生成することで、上記実施の形態1、2と同様の効果を奏するようにしたものである。 In this third embodiment, the logging setting function unit 51 of the logging control unit 5 selects the connection method for the PLC device 1C and generates a data transmission program 6C that corresponds to the connection method, thereby achieving the same effects as those of the first and second embodiments.
図9は実施の形態3によるプラント監視制御システムの構成を示す機能ブロック図であり、図10は図9のロギング設定機能部およびロギング監視機能部の詳細を示す図である。 Figure 9 is a functional block diagram showing the configuration of a plant monitoring and control system according to embodiment 3, and Figure 10 is a diagram showing details of the logging setting function unit and logging monitoring function unit shown in Figure 9.
この実施の形態3では、PLC装置1CにCPUユニット2Cとは別途にEthernetユニット2Dが設けられている。すなわち、ここでは、例えば、C社製のPLC装置1Cに、CPUユニット2C、Ethernetユニット2D、および入出力装置3Cを有し、Ethernetユニット2DがLANネットワーク8を介してエンジニアリングツール装置4に接続されている。 In this third embodiment, an Ethernet unit 2D is provided in addition to the CPU unit 2C in the PLC device 1C. That is, for example, the PLC device 1C manufactured by Company C has a CPU unit 2C, an Ethernet unit 2D, and an input/output device 3C, and the Ethernet unit 2D is connected to the engineering tool device 4 via the LAN network 8.
また、エンジニアリングツール装置4のロギング設定機能部51には、接続方式を設定する接続方式設定機能部510が設けられており、オペレータによりPLC装置1Cの接続方式を選択できるようにしている。プログラム生成機能部としてのPLCサポート部53は、接続方式設定機能部510で設定されたEthernetユニット2Dの接続方式に応じてデータ送信プログラム6Cにおいて、データ送信部(前述の図8中のP0050)を変更したプログラムを生成する。これにより、ロギング制御部5は、ロギングデータの設定および監視を行う。 The logging setting function unit 51 of the engineering tool device 4 is also provided with a connection method setting function unit 510 that sets the connection method, allowing the operator to select the connection method for the PLC device 1C. The PLC support unit 53, which serves as a program generation function unit, generates a program in which the data transmission unit (P0050 in Figure 8 described above) is modified in the data transmission program 6C according to the connection method of the Ethernet unit 2D set by the connection method setting function unit 510. This allows the logging control unit 5 to set and monitor logging data.
以上のように、この実施の形態3では、PLC装置1Cの接続方式に応じたデータ送信プログラム6Cを生成することにより、PLC装置1CのCPUユニット2Cに対してEthernetユニット2Dを別途設ける必要がある機種においても、別途設けたEthernetユニット2Dを使用して、ロギングデータの送信、蓄積、監視が可能となる。 As described above, in this third embodiment, by generating a data transmission program 6C according to the connection method of the PLC device 1C, even in models that require a separate Ethernet unit 2D to be installed in relation to the CPU unit 2C of the PLC device 1C, it is possible to transmit, store, and monitor logging data using the separately installed Ethernet unit 2D.
実施の形態4.
上記の実施の形態1~3では、PLC装置の制御周期毎にロギングデータを送信する場合について述べたが、一般的に、制御周期は5ms周期などの短い周期でプラント制御に用いられる。そのため、多数のPLC装置が同一システム内に存在する場合には、全てのPLC装置が制御周期毎にロギングデータをLANネットワーク上に送信すると、LANネットワーク上の通信負荷が慢性的に高くなる恐れがある。
Embodiment 4.
In the above first to third embodiments, the case where logging data is transmitted at each control cycle of the PLC device has been described, but generally, control cycles are short, such as 5 ms, used in plant control. Therefore, if many PLC devices exist in the same system, if all the PLC devices transmit logging data to the LAN network at each control cycle, the communication load on the LAN network may become chronically high.
そこで、この実施の形態4では、PLC装置1で実行するデータ送信プログラム6においては、制御周期毎にデータ収集を実施するが、ロギングデータの送信タイミングについては、PLC装置1毎に異なる周期(但し、制御周期の整数倍の周期)でデータ送信を実施することで、LANネットワーク8上の通信負荷を分散させるようにしたものである。以下、PLC装置1からロギングデータを送信するタイミングを任意に設定する場合について、図11~図15を用いて説明する。 In this fourth embodiment, the data transmission program 6 executed by the PLC device 1 collects data every control period, but the timing of transmitting logging data varies for each PLC device 1 (however, the period is an integer multiple of the control period), thereby distributing the communication load on the LAN network 8. Below, we will explain, using Figures 11 to 15, how to arbitrarily set the timing of transmitting logging data from the PLC device 1.
図11は実施の形態4のプラント監視制御システムの構成を示すブロック図であり、図12は図11のロギング設定機能部およびロギング監視機能部の詳細を示す図である。
なお、この実施の形態4のプラント監視制御システムにおいては、LANネットワーク8上には、図外に多数のPLC装置が接続されているものとし、それぞれPLC装置1と称して説明する。
FIG. 11 is a block diagram showing the configuration of a plant monitoring and control system according to the fourth embodiment, and FIG. 12 is a diagram showing details of the logging setting function unit and the logging monitoring function unit shown in FIG.
In the plant monitoring and control system of this fourth embodiment, it is assumed that a large number of PLC devices (not shown) are connected to the LAN network 8, and each will be referred to as a PLC device 1 in the following description.
この実施の形態4では、ロギング設定機能部51の内部に、ロギングデータの送信タイミングを設定する送信タイミング設定機能部511が設けられている。 In this fourth embodiment, the logging setting function unit 51 includes a transmission timing setting function unit 511 that sets the timing for transmitting logging data.
上記の送信タイミング設定機能部511で設定されるロギングデータの送信タイミングは、PLC装置1毎に異なるように、制御周期fの整数倍n(n=1、2、…)の周期(=n・f)で任意に設定可能であり、オペレータがロギング設定画面から送信タイミング設定機能部511に対してロギングデータの送信タイミングを指定することで、プログラム生成機能部としてのPLCサポート部53は、送信タイミング設定機能部511で設定された送信タイミングに適合したデータ送信プログラム6を生成する。
なお、ロギングデータの送信タイミングを決める上記の制御周期fの整数倍n(n=1、2、…)の周期(=n・f)を、以下、送信タイミング周期と称する。
The transmission timing of the logging data set by the transmission timing setting function unit 511 can be arbitrarily set at a period (= n·f) that is an integer multiple n (n = 1, 2, ...) of the control period f so that it differs for each PLC device 1. When the operator specifies the transmission timing of the logging data to the transmission timing setting function unit 511 from the logging setting screen, the PLC support unit 53 as a program generation function unit generates a data transmission program 6 that conforms to the transmission timing set by the transmission timing setting function unit 511.
The period (=n·f) where n is an integer multiple of the control period f (n=1, 2, . . . ) that determines the timing of transmitting logging data will be referred to as the transmission timing period hereinafter.
図13は、この実施の形態4における送信データフォーマットの一例である。
送信データフォーマットのヘッダ情報に制御周期毎に得られるロギングデータを蓄積する数(以下、蓄積数という)を決める項目を設ける。この蓄積数は、ここでは送信タイミング周期を決める整数値nと同じ値に設定されている。したがって、PLC装置1のデバイスメモリ24には、各制御周期でもって蓄積数分の収集データ(収集したロギングデータ)が格納される。また、収集カウンタを設けて、PLC装置1がデバイスメモリ24に制御周期毎にデータを収集する度にカウント値をインクリメントする。これにより、幾らの制御周期分で蓄積された送信データか、また最新の収集データがどこに格納されているかをロギング監視機能部52が認識できるので、ロギングデータの監視が可能となる。
FIG. 13 shows an example of a transmission data format in this fourth embodiment.
The header information of the transmission data format includes an item for determining the number of accumulated pieces of logging data obtained per control cycle (hereinafter referred to as the accumulated number). Here, this accumulated number is set to the same value as the integer value n that determines the transmission timing cycle. Therefore, the device memory 24 of the PLC device 1 stores the accumulated number of pieces of collected data (collected logging data) for each control cycle. In addition, a collection counter is provided, and the count value is incremented each time the PLC device 1 collects data in the device memory 24 per control cycle. This allows the logging monitoring function unit 52 to recognize how many control cycles the accumulated transmission data has covered and where the most recent collected data is stored, thereby enabling monitoring of the logging data.
図14は、この実施の形態4によるロギングデータのデータ送信プログラム6の一例を示す説明図である。
PLC装置1は、制御周期毎にデータ送信プログラム6を実行する。一方、収集データ生成部P1020により、収集カウンタを設定して制御周期毎にロギングデータを収集する。また、これに合わせて送信タイミング計算部P1060において、送信タイミングを計算し、送信タイミングが成立(収集カウンタのカウント値が蓄積数と一致)した場合に、送信データフォーマットのヘッダ情報生成部P1010、およびデータ送信部P1050を実行し、LANネットワーク8を経由してロギングデータの送信を行う。この場合、上記のように、収集カウンタは、制御周期毎にインクリメントを行い、ロギング設定機能部51の送信タイミング設定機能部511で設定した蓄積数と収集カウンタのカウント値が一致した場合に、送信タイミングの条件が成立する。
FIG. 14 is an explanatory diagram showing an example of the data transmission program 6 for logging data according to the fourth embodiment.
The PLC device 1 executes the data transmission program 6 for each control cycle. Meanwhile, the collected data generation unit P1020 sets a collection counter to collect logging data for each control cycle. In addition, the transmission timing calculation unit P1060 calculates the transmission timing accordingly, and when the transmission timing is established (the count value of the collection counter matches the accumulated number), the transmission data format header information generation unit P1010 and the data transmission unit P1050 are executed to transmit the logging data via the LAN network 8. In this case, as described above, the collection counter increments for each control cycle, and when the accumulated number set by the transmission timing setting function unit 511 of the logging setting function unit 51 matches the count value of the collection counter, the transmission timing condition is established.
図15は、PLC装置1の制御周期、収集データ(収集したロギングデータ)、およびデータ送信タイミングの相互の関係性を示す説明図である。 Figure 15 is an explanatory diagram showing the relationship between the control period, collected data (collected logging data), and data transmission timing of the PLC device 1.
PLC装置1は、制御周期毎にロギングデータを収集する一方、送信タイミング周期毎にロギングデータのデータ送信を行う。送信データフォーマットの収集データ部は、リングバッファ形式になっており、送信タイミングに到達すると、再度、収集データの先頭からロギングデータをデバイスメモリ24に順次格納するように循環する。 The PLC device 1 collects logging data every control period, while transmitting the logging data every transmission timing period. The collected data section of the transmission data format is in a ring buffer format, and when the transmission timing arrives, the logging data is once again cycled from the beginning of the collected data, storing it sequentially in the device memory 24.
例えば、ある一つのPLC装置1について、制御周期が5msで、送信タイミング周期が50ms(制御周期の10倍)の場合、制御周期の5ms毎にプログラムを実行してデータを収集する一方、送信タイミング周期50ms毎にロギングデータをエンジニアリングツール装置4の外部記憶装置7に送信する。 For example, if the control period for a given PLC device 1 is 5 ms and the transmission timing period is 50 ms (10 times the control period), a program is executed every 5 ms of the control period to collect data, while logging data is sent to the external storage device 7 of the engineering tool device 4 every 50 ms of the transmission timing period.
以上のように、この実施の形態4では、多数のPLC装置1が同一システム内に存在する場合において、ロギング設定機能部51に設けられた送信タイミング設定機能部511により、PLC装置1毎にロギングデータの送信タイミング周期を変更し、プログラム生成機能部としてのPLCサポート部53は、送信タイミング設定機能部511で変更されたロギングデータの送信タイミングに適合したデータ送信プログラム6を生成するので、ネットワーク上の通信負荷を分散させることができ、円滑にロギングデータの送信、蓄積、監視が可能となる。 As described above, in this fourth embodiment, when multiple PLC devices 1 exist within the same system, the transmission timing setting function unit 511 provided in the logging setting function unit 51 changes the transmission timing period of the logging data for each PLC device 1, and the PLC support unit 53, which serves as a program generation function unit, generates a data transmission program 6 that matches the transmission timing of the logging data changed by the transmission timing setting function unit 511. This distributes the communication load on the network, enabling smooth transmission, storage, and monitoring of logging data.
実施の形態5.
上記の実施の形態1~4では、PLC装置は制御周期毎、あるいは送信タイミング周期毎に得られる最新値のロギングデータをエンジニアリングツール装置に送信するようにしているが、LANネットワーク上の通信負荷、あるいは一時的な通信異常により、ロギングデータの送信が途絶えてしまう恐れがある。そして、ロギングデータの送信が途絶えた場合は、当該周期のデータは取得されず、欠測扱いとなり、ロギングデータの監視ができないという問題が発生する。
Embodiment 5.
In the above-described first to fourth embodiments, the PLC device transmits the latest logging data obtained at each control cycle or transmission timing cycle to the engineering tool device, but there is a risk that transmission of the logging data may be interrupted due to communication load on the LAN network or a temporary communication abnormality. If transmission of the logging data is interrupted, the data for that cycle is not acquired and is treated as missing, resulting in the problem that the logging data cannot be monitored.
そこで、この実施の形態5では、ロギングデータの送信データフォーマットにおいて、過去の制御周期で得られたロギングデータを格納するデータフォーマットを生成してデータ送信を行うことで、ネットワーク上に一時的な通信異常が発生した場合でも欠測とならず、ロギングデータの蓄積、監視を可能としたものである。以下、PLC装置1で過去の制御周期において得られたロギングデータを送信する場合について、図16~図20を用いて説明する。 In this fifth embodiment, a data format for storing logging data obtained in past control cycles is generated as the transmission data format for logging data, and data is transmitted using this format. This prevents data loss even in the event of a temporary communication abnormality on the network, and enables the accumulation and monitoring of logging data. Below, we will explain the case where PLC device 1 transmits logging data obtained in past control cycles using Figures 16 to 20.
図16は、この実施の形態5によるプラント監視制御システムの構成を示す機能ブロック図であり、図17は図16のロギング設定機能部およびロギング監視機能部の詳細を示す図である。
この実施の形態5では、ロギング設定機能部51の内部に、過去値回数を設定する過去値回数設定機能部512が設けられている。なお、その他の構成は、前述の実施の形態と基本的に同じである。
FIG. 16 is a functional block diagram showing the configuration of a plant monitoring and control system according to this fifth embodiment, and FIG. 17 is a diagram showing details of the logging setting function unit and the logging monitoring function unit of FIG.
In this fifth embodiment, a past value count setting function unit 512 that sets the past value count is provided inside the logging setting function unit 51. The other configurations are basically the same as those of the above-described embodiments.
ここに、上記の過去値回数設定機能部512で設定される過去値回数は、過去に得られたロギングデータをPLC装置1から外部記憶装置7に送信する回数を過去に遡って最大で何回分繰り返すかを決める値であり、オペレータがロギング設定画面から過去値回数を任意に設定することで、プログラム生成機能部としてのPLCサポート部53は、過去値回数設定機能部512の設定に応じたデータ送信プログラム6を生成する。 The past value count set by the past value count setting function unit 512 is a value that determines the maximum number of times that previously obtained logging data is to be transmitted from the PLC device 1 to the external storage device 7, going back in time. The operator can set the past value count as desired on the logging setting screen, and the PLC support unit 53, which serves as a program generation function unit, generates a data transmission program 6 in accordance with the setting of the past value count setting function unit 512.
図18は、この実施の形態での送信データフォーマットである。送信データフォーマットのヘッダ情報に過去値回数と格納先を設定する項目を設け、これによって、PLC装置1のデバイスメモリ24に過去のロギングデータを収集するための蓄積ブロックが用意されるようにする。 Figure 18 shows the transmission data format for this embodiment. The header information of the transmission data format includes items for setting the number of past values and the storage destination, thereby creating a storage block in the device memory 24 of the PLC device 1 for collecting past logging data.
蓄積ブロックは、「過去値回数+1(1は最新値を示す)」数分が用意され、収集データ数は、「蓄積数×(過去値回数+1)」数分が用意される。例えば、制御周期が5ms、蓄積数が5(送信タイミング周期が制御周期の5倍で25ms)、過去値回数が2回の場合、蓄積ブロックの数は「3」となり、収集データ数は「15」(=5×3)となる。 The number of storage blocks prepared is equal to the number of past values + 1 (1 indicates the most recent value), and the number of collected data items prepared is equal to the number of storage items x (number of past values + 1). For example, if the control period is 5 ms, the number of storage items is 5 (the transmission timing period is 25 ms, or 5 times the control period), and the number of past values is 2, the number of storage blocks will be 3, and the number of collected data items will be 15 (= 5 x 3).
また、格納先には、最新の収集データの格納先の位置を示す値(蓄積ブロックのいずれが最新の収集データかを示す値)を格納する。 The storage location also stores a value indicating the location where the most recently collected data is stored (a value indicating which storage block contains the most recently collected data).
これにより、過去データが含まれた送信データなのか、あるいは収集データの内、最新の周期のデータがどれなのかをロギング監視機能部52が認識可能となる。ロギング監視機能部52は、一時的な通信異常などで収集できず欠測になったデータがある場合、次に、PLC装置1から送信データを受信したタイミングで、収集データの過去データを参照し、欠測の穴埋めを行う。 This allows the logging monitoring function unit 52 to recognize whether the transmitted data includes past data, or whether the collected data is the most recent periodic data. If there is missing data that could not be collected due to a temporary communication error, the logging monitoring function unit 52 will reference the past data from the collected data and fill in the missing data the next time it receives transmitted data from the PLC device 1.
図19は、この実施の形態でのデータ送信プログラム6の一例である。
PLC装置1は、制御周期毎にデータ送信プログラム6を実行し、収集データ生成部P2020により、収集カウンタを設定して制御周期毎にロギングデータを収集する。また、これに合わせて送信タイミング計算部P2060により送信タイミングを計算し、送信タイミングが成立した場合に、送信データフォーマットのヘッダ情報生成部P2010により過去値回数と格納先を設定し、データ送信部P2050を実行し、LANネットワーク8経由でデータ送信を行う。
FIG. 19 shows an example of the data transmission program 6 in this embodiment.
The PLC device 1 executes the data transmission program 6 for each control cycle, and the collected data generation unit P2020 sets a collection counter to collect logging data for each control cycle. In addition, the transmission timing calculation unit P2060 calculates the transmission timing accordingly, and when the transmission timing is established, the transmission data format header information generation unit P2010 sets the number of past values and the storage destination, executes the data transmission unit P2050, and transmits data via the LAN network 8.
図20は、PLC装置1の各制御周期と、収集データ、格納先、データ送信タイミングの関係性を示したものである。
PLC装置1は、制御周期毎にロギングデータを収集し、最新データが格納されている位置を示す格納先を更新し、送信タイミングでデータ送信を行う。
FIG. 20 shows the relationship between each control period of the PLC device 1, collected data, storage destination, and data transmission timing.
The PLC device 1 collects logging data for each control cycle, updates the storage location indicating the location where the latest data is stored, and transmits the data at the transmission timing.
収集データは、リングバッファ形式になっており、「蓄積数×蓄積ブロック数(過去値回数+1)」の回数に到達すると、収集データの先頭からロギングデータをデバイスメモリ24に順次格納するように循環する。 Collected data is stored in a ring buffer format, and when the number of accumulated data reaches "accumulation count x number of accumulated blocks (number of past values + 1)", the logging data is cycled from the beginning of the collected data to be stored sequentially in the device memory 24.
例えば、制御周期が5ms、送信タイミング周期が25ms(制御周期の5倍)、過去値回数が2回の場合、PLC装置1は、制御周期の5ms毎にプログラムを実行して毎周期のデータを収集し、5周期毎に格納先である蓄積ブロックを更新し、全体で15周期分のロギングデータを格納する。 For example, if the control period is 5 ms, the transmission timing period is 25 ms (5 times the control period), and the number of past values is 2, the PLC device 1 will execute the program every 5 ms of the control period to collect data for each period, update the storage block where the data is stored every 5 periods, and store a total of 15 periods' worth of logging data.
以上のように、この実施の形態5では、過去に得られたロギングデータの送信タイミングを任意に設定でき、設定に応じたデータ送信プログラム6を生成してPLC装置1に送信し、これに応じてPLC装置1は過去に得られたロギングデータを送信することで、ネットワーク上の一時的な通信異常が発生した場合でも欠測とならず、ロギングデータの送信、蓄積、監視が可能となる。 As described above, in this fifth embodiment, the timing for transmitting previously obtained logging data can be set arbitrarily, and a data transmission program 6 is generated according to the setting and transmitted to the PLC device 1. The PLC device 1 then transmits previously obtained logging data accordingly, preventing data loss even in the event of a temporary communication abnormality on the network, and enabling the transmission, storage, and monitoring of logging data.
なお、本願は、様々な例示的な実施の形態が記載されているが、一つ、または複数の実施の形態に記載された様々な特徴、態様、および機能は特定の実施の形態の適用に限られるものではなく、単独で、または様々な組み合わせで実施の形態に適用可能である。 While various exemplary embodiments are described in this application, the various features, aspects, and functions described in one or more embodiments are not limited to application to a particular embodiment, but may be applied to the embodiments alone or in various combinations.
したがって、例示されていない無数の変形例が、本願に開示される技術の範囲内において想定される。例えば、少なくとも一つの構成要素を変形する場合、追加する場合、または省略する場合、さらには、少なくとも一つの構成要素を抽出し、他の実施の形態の構成要素と組み合わせる場合が含まれものとする。 Therefore, countless variations not illustrated are contemplated within the scope of the technology disclosed in this application. For example, this includes cases in which at least one component is modified, added, or omitted, or even cases in which at least one component is extracted and combined with components of another embodiment.
以下、本開示の諸態様を付記としてまとめて記載する。 The various aspects of this disclosure are summarized below as appendices.
(付記1)
プラント制御用のPLC装置と、ロギング設定および監視用のエンジニアリングツール装置とを備え、
前記エンジニアリングツール装置は、
前記PLC装置に対してロギングデータを取得するロギング条件を設定するロギング設定機能部と、
前記ロギング設定機能部で設定された前記ロギング条件に適合したデータ送信プログラムを生成して前記PLC装置に送信するプログラム生成機能部と、
前記PLC装置から前記ロギング設定機能部によりロギング設定された前記ロギング条件に基づいて送信される前記ロギングデータを記憶する外部記憶装置と、
前記外部記憶装置に記憶された前記ロギングデータを監視するロギング監視機能部と、
を含み、
前記PLC装置は、
前記データ送信プログラムに基づいて、制御周期毎に前記外部記憶装置に対して前記ロギングデータを送信し、
前記外部記憶装置は、前記PLC装置から制御周期で送信されてくる前記ロギングデータを順次蓄積し、
前記ロギング監視機能部は、前記外部記憶装置に記憶された前記ロギングデータを監視する、
プラント監視制御システム。
(付記2)
複数の機種のPLC装置が同一システムに存在している場合において、前記プログラム生成機能部は、各々の前記PLC装置の機種に応じたデータ送信プログラムを生成する、付記1に記載のプラント監視制御システム。
(付記3)
前記PLC装置にはEthernetユニットを別途設ける一方、前記ロギング設定機能部には、接続方式を設定する接続方式設定機能部を設け、前記プログラム生成機能部は、前記接続方式設定機能部で設定された前記Ethernetユニットの接続方式に応じたデータ送信プログラムを生成する、付記1または付記2に記載のプラント監視制御システム。
(付記4)
複数のPLC装置が同一システムに存在している場合において、前記ロギング設定機能部には、前記PLC装置毎にロギングデータの送信タイミングを設定する送信タイミング設定機能部を設け、前記プログラム生成機能部は、前記送信タイミング設定機能部で設定された送信タイミングに適合した前記データ送信プログラムを生成する、付記1から付記3のいずれか1項に記載のプラント監視制御システム。
(付記5)
前記ロギング設定機能部には、過去に得られたロギングデータの送信タイミングを設定する過去値回数設定機能部を設け、前記過去値回数設定機能部で設定された送信タイミングに応じてデータ送信プログラムを生成し、前記PLC装置は、前記データ送信プログラムに基づいて過去に得られたロギングデータを送信する、付記1から付記4のいずれか1項に記載のプラント監視制御システム。
(Appendix 1)
The system is equipped with a PLC device for plant control and an engineering tool device for logging settings and monitoring,
The engineering tool device includes:
a logging setting function unit that sets logging conditions for acquiring logging data for the PLC device;
a program generation function unit that generates a data transmission program that conforms to the logging conditions set by the logging setting function unit and transmits the program to the PLC device;
an external storage device that stores the logging data transmitted from the PLC device based on the logging conditions set by the logging setting function unit;
a logging monitoring function unit that monitors the logging data stored in the external storage device;
Including,
The PLC device
transmitting the logging data to the external storage device for each control period based on the data transmission program;
the external storage device sequentially accumulates the logging data transmitted from the PLC device at control cycles;
the logging monitoring function unit monitors the logging data stored in the external storage device.
Plant monitoring and control system.
(Appendix 2)
A plant monitoring and control system as described in Appendix 1, wherein, when multiple models of PLC devices exist in the same system, the program generation function unit generates a data transmission program according to the model of each of the PLC devices.
(Appendix 3)
3. A plant monitoring and control system as described in claim 1 or 2, wherein the PLC device is provided with a separate Ethernet unit, the logging setting function unit is provided with a connection method setting function unit that sets a connection method, and the program generation function unit generates a data transmission program according to the connection method of the Ethernet unit that is set by the connection method setting function unit.
(Appendix 4)
A plant monitoring and control system as described in any one of Supplementary Note 1 to Supplementary Note 3, wherein, when a plurality of PLC devices exist in the same system, the logging setting function unit is provided with a transmission timing setting function unit that sets the transmission timing of logging data for each of the PLC devices, and the program generation function unit generates the data transmission program that is compatible with the transmission timing set by the transmission timing setting function unit.
(Appendix 5)
5. A plant monitoring and control system according to any one of claims 1 to 4, wherein the logging setting function unit is provided with a past value count setting function unit that sets a transmission timing for logging data obtained in the past, a data transmission program is generated in accordance with the transmission timing set by the past value count setting function unit, and the PLC device transmits the logging data obtained in the past based on the data transmission program.
1,1A,1B PLC装置、2,2A,2B,2C CPUユニット、
21 プログラム実行部、22 通信処理部、23 入出力処理部、
24 デバイスメモリ、2D Ethernetユニット、
3,3A,3B,3C 入出力装置、4 エンジニアリングツール装置、
5 ロギング制御部、51 ロギング設定機能部、510 接続方式設定機能部、
511 送信タイミング設定機能部、512 過去値回数設定機能部、
52 ロギング監視機能部、53 PLCサポート部(プログラム生成機能部)、
7 外部記憶装置、6,6A,6B,6C データ送信プログラム、
8 LANネットワーク。
1, 1A, 1B PLC device, 2, 2A, 2B, 2C CPU unit,
21 program execution unit, 22 communication processing unit, 23 input/output processing unit,
24 Device memory, 2D Ethernet unit,
3, 3A, 3B, 3C Input/output device, 4 Engineering tool device,
5 Logging control unit, 51 Logging setting function unit, 510 Connection method setting function unit,
511 Transmission timing setting function unit, 512 Past value count setting function unit,
52 logging monitoring function unit, 53 PLC support unit (program generation function unit),
7 external storage device, 6, 6A, 6B, 6C data transmission program,
8 LAN network.
Claims (5)
前記エンジニアリングツール装置は、
前記PLC装置に対してロギングデータを取得するロギング条件を設定するロギング設定機能部と、
前記ロギング条件に適合したデータ送信プログラムを生成して前記PLC装置に送信するプログラム生成機能部と、
前記PLC装置から前記ロギング条件に基づいて送信される前記ロギングデータを記憶する外部記憶装置と、
前記外部記憶装置に記憶された前記ロギングデータを監視するロギング監視機能部と、
を含み、
前記PLC装置は、前記データ送信プログラムに基づいて、制御周期に基づく周期毎に前記外部記憶装置に対して前記ロギングデータを送信し、前記外部記憶装置は、前記ロギングデータを順次蓄積し、前記ロギング監視機能部は、前記外部記憶装置に記憶された前記ロギングデータを監視する、
プラント監視制御システム。 The system is equipped with a PLC device for plant control and an engineering tool device for logging settings and monitoring,
The engineering tool device includes:
a logging setting function unit that sets logging conditions for acquiring logging data for the PLC device;
a program generation function unit that generates a data transmission program that conforms to the logging conditions and transmits the program to the PLC device;
an external storage device that stores the logging data transmitted from the PLC device based on the logging conditions;
a logging monitoring function unit that monitors the logging data stored in the external storage device;
Including,
The PLC device transmits the logging data to the external storage device at each cycle based on the control cycle based on the data transmission program, the external storage device sequentially accumulates the logging data, and the logging monitoring function unit monitors the logging data stored in the external storage device.
Plant monitoring and control system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022201759A JP7796633B2 (en) | 2022-12-19 | 2022-12-19 | Plant monitoring and control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022201759A JP7796633B2 (en) | 2022-12-19 | 2022-12-19 | Plant monitoring and control system |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2024087136A JP2024087136A (en) | 2024-07-01 |
| JP2024087136A5 JP2024087136A5 (en) | 2024-11-12 |
| JP7796633B2 true JP7796633B2 (en) | 2026-01-09 |
Family
ID=91671794
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022201759A Active JP7796633B2 (en) | 2022-12-19 | 2022-12-19 | Plant monitoring and control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7796633B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005251116A (en) | 2004-03-08 | 2005-09-15 | Mitsubishi Electric Corp | Programming tools |
| WO2015170408A1 (en) | 2014-05-09 | 2015-11-12 | 三菱電機株式会社 | Monitoring control system, monitoring terminal, and monitoring program |
| JP2018151918A (en) | 2017-03-14 | 2018-09-27 | オムロン株式会社 | Control device, data structure, and information processing method |
| JP6884287B1 (en) | 2020-04-01 | 2021-06-09 | 三菱電機株式会社 | Machine learning system |
-
2022
- 2022-12-19 JP JP2022201759A patent/JP7796633B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005251116A (en) | 2004-03-08 | 2005-09-15 | Mitsubishi Electric Corp | Programming tools |
| WO2015170408A1 (en) | 2014-05-09 | 2015-11-12 | 三菱電機株式会社 | Monitoring control system, monitoring terminal, and monitoring program |
| JP2018151918A (en) | 2017-03-14 | 2018-09-27 | オムロン株式会社 | Control device, data structure, and information processing method |
| JP6884287B1 (en) | 2020-04-01 | 2021-06-09 | 三菱電機株式会社 | Machine learning system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024087136A (en) | 2024-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7257329B2 (en) | Open architecture industrial control system | |
| US6285966B1 (en) | Function block apparatus for viewing data in a process control system | |
| US20110029140A1 (en) | Central control and instrumentation system for a technical installation and method for operating a central control and instrumentation system | |
| CA2685901C (en) | Diagnostic and trouble-shooting methods in a wireless control and sensor network | |
| CN101135906A (en) | Maintenance Interface Devices Used in Process Control Networks | |
| US8943188B2 (en) | Automation network comprising network components that produce status messages | |
| US11921486B2 (en) | Automation design environment with integrated industrial power system management capabilities | |
| WO2019111709A1 (en) | Control system, information processing device, and abnormality factor estimation program | |
| WO2018158956A1 (en) | Data processing device, data processing method, setting management device, and data processing system | |
| JP7796633B2 (en) | Plant monitoring and control system | |
| JP4888408B2 (en) | Process data linkage device | |
| US12455557B2 (en) | Apparatuses and methods for non-disruptive replacement of simplex I/O components | |
| JP6939665B2 (en) | Network system | |
| JP4967957B2 (en) | Supervisory control system | |
| EP4610749A1 (en) | I/o station storing diagnostics data | |
| EP4528403A1 (en) | I/o station storing configuration data | |
| JP7622460B2 (en) | Slave device, control method thereof, and communication anomaly location identification system | |
| WO2020115803A1 (en) | Sensor adaptor and sensor system using same | |
| JP3641105B2 (en) | Building management equipment | |
| CN121901287A (en) | Real-time processing methods, systems, devices, and storage media for high-frequency time-series data | |
| Chung | Network management using SCADA | |
| JP2002354142A (en) | Remote job system and method for communication equipment from remote place | |
| JP2022104285A (en) | Equipment information management system | |
| JPH10125568A (en) | Control equipment for semiconductor manufacturing equipment | |
| JP2022080557A (en) | Information collection system, collection device, and control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241101 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20241101 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250521 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250701 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250805 |
|
| 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: 20251125 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251223 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7796633 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |