JP5740332B2 - Transmission system and log data collection device - Google Patents

Transmission system and log data collection device Download PDF

Info

Publication number
JP5740332B2
JP5740332B2 JP2012050223A JP2012050223A JP5740332B2 JP 5740332 B2 JP5740332 B2 JP 5740332B2 JP 2012050223 A JP2012050223 A JP 2012050223A JP 2012050223 A JP2012050223 A JP 2012050223A JP 5740332 B2 JP5740332 B2 JP 5740332B2
Authority
JP
Japan
Prior art keywords
log data
determination
transmission system
writing
indicating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012050223A
Other languages
Japanese (ja)
Other versions
JP2013186623A (en
Inventor
和彦 君島
和彦 君島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2012050223A priority Critical patent/JP5740332B2/en
Publication of JP2013186623A publication Critical patent/JP2013186623A/en
Application granted granted Critical
Publication of JP5740332B2 publication Critical patent/JP5740332B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)
  • Programmable Controllers (AREA)

Description

本発明の実施形態は、伝送システム及びログデータ収集装置に関する。   Embodiments described herein relate generally to a transmission system and a log data collection device.

一般に、プログラマブル・ロジック・コントローラ(以下、PLC(PLC: Programmable Logic Controller)装置と表記)を含む伝送システムでは、PLC装置を介した信号の伝送に係る不具合が生じると、PLC装置において、当該信号に係る異常ログデータを収集する。   In general, in a transmission system including a programmable logic controller (hereinafter referred to as a PLC (PLC: Programmable Logic Controller) device), when a problem relating to transmission of a signal through the PLC device occurs, Collect such anomaly log data.

特開2010−109832号公報JP 2010-109832 A 特開2007−295608号公報JP 2007-295608 A

しかしながら、以上のように構成された伝送システムでは、異常ログデータだけしか収集されていないため、正常時との比較ができず、信号の伝送に係る不具合の原因を突き止めるために、PLC装置のラダーソフトウェア調査やLANアナライザによる調査を行う必要があり、手間がかかるという不都合がある。また、通常、PLC装置内の記憶領域の容量は少なく、容量が一杯になると、新しいログデータを古いログデータに随時上書する。このため、必要なログデータが上書により削除される恐れがあるという不都合がある。   However, in the transmission system configured as described above, since only the abnormal log data is collected, the comparison with the normal time cannot be performed, and the ladder of the PLC device is used in order to find out the cause of the trouble related to signal transmission. It is necessary to conduct a software survey or a LAN analyzer survey, which is inconvenient. Also, normally, the capacity of the storage area in the PLC device is small, and when the capacity becomes full, new log data is overwritten on old log data as needed. For this reason, there is a disadvantage that necessary log data may be deleted by overwriting.

本発明が解決しようとする課題は、異常ログデータだけでなく正常時のログデータも収集し、かつ、必要なログデータが上書により削除されることを防ぎ得る伝送システム及びログデータ収集装置を提供することである。   The problem to be solved by the present invention is to provide a transmission system and a log data collection device that collect not only abnormal log data but also normal log data and prevent the necessary log data from being deleted by overwriting. Is to provide.

実施形態の伝送システムは、監視制御装置及びログデータ収集装置がネットワークを介して通信可能なシステムである。   The transmission system of the embodiment is a system in which the monitoring control device and the log data collection device can communicate via a network.

前記監視制御装置は、信号を送受信する第1送受信手段を備えている。   The monitoring control device includes first transmission / reception means for transmitting / receiving signals.

前記ログデータ収集装置は、ログデータ記憶手段、第2送受信手段、第1判定手段、第1書込手段、第2判定手段、設定手段、第3判定手段及び第2書込手段を備えている。   The log data collection device includes log data storage means, second transmission / reception means, first determination means, first writing means, second determination means, setting means, third determination means, and second writing means. .

前記ログデータ記憶手段は、信号が正常に送受信された旨を示す正常ログデータと、信号が正常に送受信されなかった旨を示す異常ログデータとを記憶する。   The log data storage means stores normal log data indicating that the signal has been normally transmitted / received and abnormal log data indicating that the signal has not been normally transmitted / received.

前記第2送受信手段は、前記信号を送受信する。   The second transmitting / receiving unit transmits and receives the signal.

前記第1判定手段は、前記信号が前記第2送受信手段によって正常に送受信されたか否かを判定する。   The first determination unit determines whether the signal has been normally transmitted / received by the second transmission / reception unit.

前記第1書込手段は、前記第1判定手段による判定の結果が正常に送受信された旨を示すとき、前記正常ログデータを前記ログデータ記憶手段内の記憶領域に書込む。   The first writing means writes the normal log data in a storage area in the log data storage means when the result of the determination by the first determination means indicates that transmission / reception has been normally performed.

前記第2判定手段は、前記第1判定手段による判定の結果が否を示すとき、前記ログデータ記憶手段内の記憶領域の一部を、予め設定されたn個分のログデータに対しての上書を禁止する上書禁止領域として機能させる設定をもっているか否かを判定する。   When the determination result by the first determination unit indicates NO, the second determination unit sets a part of the storage area in the log data storage unit to n log data set in advance. It is determined whether or not there is a setting for functioning as an overwriting prohibited area in which overwriting is prohibited.

前記設定手段は、前記第2判定手段の判定結果がもっている旨を示すとき、前記上書禁止領域として前記第1判定手段の判定結果が否を示す直前の前記正常ログデータを含むn個分のログデータが記憶可能な上書禁止領域を設定する。 When the setting means indicates that the determination result of the second determination means is present, the setting means includes n normal log data immediately before the determination result of the first determination means indicates NO as the overwriting prohibited area. An overwriting prohibition area that can store the log data is set.

前記第3判定手段は、前記設定された上書禁止領域内のログデータの数がnより小さいか否かを判定する。   The third determination unit determines whether or not the number of log data in the set overwriting prohibition area is smaller than n.

前記第2書込手段は、前記第3判定手段による判定の結果が小さい旨を示すとき、前記設定された上書禁止領域内に異常ログデータを書込む。   The second writing means writes the abnormality log data in the set overwriting prohibition area when the result of the determination by the third determining means is small.

一実施形態に係る伝送システムの構成例を示す模式図である。It is a schematic diagram which shows the structural example of the transmission system which concerns on one Embodiment. 同実施形態に係る伝送システムの変形例を示す模式図である。It is a schematic diagram which shows the modification of the transmission system which concerns on the same embodiment. 同実施形態に係るプログラマブル・ロジック・コントローラ内のログデータ記憶部に記憶されるログデータの構成例を示す模式図である。It is a schematic diagram which shows the structural example of the log data memorize | stored in the log data memory | storage part in the programmable logic controller which concerns on the embodiment. 同実施形態に係るプログラマブル・ロジック・コントローラ内のログデータ記憶部に記憶されるログデータの構成例を示す模式図である。It is a schematic diagram which shows the structural example of the log data memorize | stored in the log data memory | storage part in the programmable logic controller which concerns on the embodiment. 同実施形態に係るプログラマブル・ロジック・コントローラの動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the programmable logic controller which concerns on the same embodiment. 同実施形態に係るプログラマブル・ロジック・コントローラ内のログデータ記憶部内の上書禁止領域の設定例を示す模式図である。It is a schematic diagram which shows the example of a setting of the overwriting prohibition area | region in the log data storage part in the programmable logic controller which concerns on the embodiment.

図1は、一実施形態に係る伝送システムの構成例を示す模式図であり、図2は、同実施形態に係る伝送システムの変形例を示す模式図であって、図3及び図4は、同実施形態に係るプログラマブル・ロジック・コントローラ内のログデータ記憶部に記憶されるログデータの構成例を示す模式図である。   FIG. 1 is a schematic diagram illustrating a configuration example of a transmission system according to an embodiment. FIG. 2 is a schematic diagram illustrating a modification example of the transmission system according to the embodiment. It is a schematic diagram which shows the structural example of the log data memorize | stored in the log data memory | storage part in the programmable logic controller which concerns on the embodiment.

伝送システム1は、図1に示すように、監視制御装置10及びプログラマブル・ロジック・コントローラ(以下、PLC(PLC: Programmable Logic Controller)装置と表記)20を備えている。監視制御装置10とPLC装置20とは、HUB又はクロスケーブルを介したEthernet(登録商標)により接続されている。なお、本実施形態では、監視制御装置10とPLC装置20とがEthernetにより接続されるとしたが、これに限定されず、監視制御装置10とPLC装置20とは、例えば、RS(Recommended Standard)−232やRS−422等のシリアル通信、USB又は無線方式によって接続されるとしてもよい。また、PLC装置の用語はログデータ収集装置の用語に適宜読替可能である。   As shown in FIG. 1, the transmission system 1 includes a monitoring control device 10 and a programmable logic controller (hereinafter referred to as a PLC (Programmable Logic Controller) device) 20. The monitoring control device 10 and the PLC device 20 are connected by Ethernet (registered trademark) via a HUB or a cross cable. In the present embodiment, the monitoring control device 10 and the PLC device 20 are connected by Ethernet. However, the present invention is not limited to this, and the monitoring control device 10 and the PLC device 20 are, for example, RS (Recommended Standard). -232, RS-422, etc. may be connected by serial communication, USB, or wireless. The term PLC device can be appropriately replaced with the term log data collection device.

監視制御装置10は、例えば上下水道設備等の監視対象装置(図示せず)を監視する装置である。また、監視制御装置10は、監視対象装置内の各部を制御する制御信号や監視対象装置内の各部の状態を示す状態通知信号の送受信処理を実行する装置である。なお、監視制御装置10は表示装置(図示せず)と接続可能であり、例えば、監視対象装置から送信される状態通知信号を受信すると、当該受信した状態通知信号に係るデータを表示装置に表示させる。   The monitoring control device 10 is a device that monitors a monitoring target device (not shown) such as a water and sewage facility. The monitoring control device 10 is a device that performs transmission / reception processing of a control signal that controls each unit in the monitoring target device and a state notification signal that indicates the state of each unit in the monitoring target device. The monitoring control device 10 can be connected to a display device (not shown). For example, when a status notification signal transmitted from the monitoring target device is received, data related to the received status notification signal is displayed on the display device. Let

なお、監視制御装置10は、図2に示すように、PLC装置20とは別のPLC装置10´に置き換えられてもよい。   As shown in FIG. 2, the monitoring control device 10 may be replaced with a PLC device 10 ′ different from the PLC device 20.

ここで、PLC装置20は、ログデータ記憶部21、入力部22、出力部23及び制御部24を備えている。PLC装置20は、各種信号が入力部22及び出力部23によって正常に送受信されたか否かを示すログデータを収集する装置である。また、PLC装置20は、監視制御装置10からの制御信号を監視対象装置に送信し、かつ、監視対象装置からの状態通知信号を監視制御装置10に送信する中継装置としても機能する装置である。   Here, the PLC device 20 includes a log data storage unit 21, an input unit 22, an output unit 23, and a control unit 24. The PLC device 20 is a device that collects log data indicating whether various signals are normally transmitted and received by the input unit 22 and the output unit 23. Further, the PLC device 20 is a device that also functions as a relay device that transmits a control signal from the monitoring control device 10 to the monitoring target device and transmits a status notification signal from the monitoring target device to the monitoring control device 10. .

ログデータ記憶部21は、制御部24により読出/書込可能な記憶領域を有しており、この記憶領域には、各種信号が入力部22及び出力部23によって正常に送受信されたか否かを示すログデータが記憶されている。   The log data storage unit 21 has a storage area that can be read / written by the control unit 24. In this storage area, whether or not various signals are normally transmitted and received by the input unit 22 and the output unit 23 is checked. The log data shown is stored.

ログデータは、図3に示すように、配列[0]〜配列[4]により示される各種データで構成される5ワードのデータである。ログデータには、各種信号が入力部22及び出力部23によって正常に送受信された旨を示す正常ログデータと、各種信号が正常に送受信されなかった旨を示す異常ログデータとがある。   As shown in FIG. 3, the log data is 5-word data composed of various data indicated by the array [0] to the array [4]. The log data includes normal log data indicating that various signals are normally transmitted / received by the input unit 22 and the output unit 23, and abnormal log data indicating that various signals are not normally transmitted / received.

配列[0]により示されるデータは、第1カレンダデータ及び第2カレンダデータが関連付けられたデータであり、第1カレンダデータは、ログデータがログデータ記憶部21内の記憶領域に書き込まれた日付(月)を示すデータであり、第2カレンダデータは、ログデータがログデータ記憶部21内の記憶領域に書き込まれた日付(日)を示すデータである。   The data indicated by the array [0] is data in which the first calendar data and the second calendar data are associated, and the first calendar data is the date when the log data is written in the storage area in the log data storage unit 21. The second calendar data is data indicating the date (day) when the log data is written in the storage area in the log data storage unit 21.

配列[1]により示されるデータは、第3カレンダデータ及び第4カレンダデータが関連付けられたデータであり、第3カレンダデータは、ログデータがログデータ記憶部21内の記憶領域に書き込まれた時刻(時)を示すデータであり、第4カレンダデータは、ログデータがログデータ記憶部21内の記憶領域に書き込まれた時刻(分)を示すデータである。   The data indicated by the array [1] is data in which the third calendar data and the fourth calendar data are associated with each other, and the third calendar data is the time when the log data is written in the storage area in the log data storage unit 21. The fourth calendar data is data indicating the time (minutes) when the log data is written in the storage area in the log data storage unit 21.

配列[2]により示されるデータは、第5カレンダデータ及び回数データが関連付けられたデータであり、第5カレンダデータは、ログデータがログデータ記憶部21内の記憶領域に書き込まれた時刻(秒)を示すデータであり、回数データは、当該関連付けられた第5カレンダデータにより示される時刻(秒)において、ログデータがログデータ記憶部21内に書き込まれた回数x(但し、xは自然数である)を示すデータである。   The data indicated by the array [2] is data in which the fifth calendar data and the number-of-times data are associated, and the fifth calendar data is the time (seconds) when the log data is written in the storage area in the log data storage unit 21. ), And the count data is the number of times x (where x is a natural number) that the log data has been written into the log data storage unit 21 at the time (seconds) indicated by the associated fifth calendar data. Data).

例えば、PLC装置20のスキャン周期(すなわち、ログデータの書込周期)が100msに設定され、配列[0]〜配列[2]により示されるデータが、図4に示すような場合、このログデータは「1月1日1時1分1秒400ms」に書込まれたことを示している。   For example, when the scan cycle of the PLC device 20 (that is, the log data write cycle) is set to 100 ms and the data indicated by the array [0] to the array [2] is as shown in FIG. Indicates that data was written at “01: 01: 01: 01: 400 ms”.

配列[3]により示されるデータは、PLC装置20のどこに異常が生じているか(すなわち、異常発生個所)を示す第1収集データである。なお、正常時には、異常発生個所がないことを示す第1収集データが配列[3]に書込まれる。   The data indicated by the array [3] is first collected data indicating where an abnormality has occurred in the PLC device 20 (that is, where the abnormality has occurred). Note that the first collection data indicating that there is no abnormality occurrence portion is written in the array [3] at the normal time.

また、配列[4]により示されるデータは、配列[3]により示される異常発生個所において、どのような種類の異常が生じているかを示す第2収集データである。なお、正常時には、異常が生じていないことを示す第2収集データが配列[4]に書込まれる。   The data indicated by the array [4] is second collected data indicating what type of abnormality has occurred at the abnormality occurrence location indicated by the array [3]. Note that, when normal, second collection data indicating that no abnormality has occurred is written in the array [4].

なお、配列[3],[4]に用いられるデータは、ユーザの操作に応じて、PLC装置20内に予め設定されたコードである。   Note that the data used in the arrays [3] and [4] is a code set in advance in the PLC device 20 in accordance with a user operation.

入力部22は、監視制御装置10または図示しない監視対象装置からの制御信号や状態通知信号を受信する。また、出力部23は、入力部22において受信した制御信号や状態通知信号を監視制御装置10または図示しない監視対象装置に送信する。   The input unit 22 receives a control signal and a status notification signal from the monitoring control device 10 or a monitoring target device (not shown). The output unit 23 transmits the control signal and the state notification signal received at the input unit 22 to the monitoring control device 10 or a monitoring target device (not shown).

なお、以下の説明中において、入力部22によって受信される信号を上り信号と表記し、出力部23によって送信される信号を下り信号と表記する。   In the following description, a signal received by the input unit 22 is expressed as an upstream signal, and a signal transmitted by the output unit 23 is expressed as a downstream signal.

制御部24は、上り信号が出力部23によって正常に送信されたか否かを判定する第1判定処理を実行する。この第1判定処理による判定結果が正常に送信された旨を示すとき、制御部24は、正常ログデータをログデータ記憶部21内の記憶領域に書込む。なお、ログデータ記憶部21内の記憶領域が全て使用されている場合(すなわち、ログデータ記憶部21内の記憶領域が既に記憶されたログデータで満たされている場合)、制御部24は、ログデータ記憶部21内の記憶領域に記憶された最も古いログデータを新しいログデータに随時書き換える(上書する)。   The control unit 24 executes a first determination process for determining whether or not the uplink signal has been normally transmitted by the output unit 23. When the determination result by the first determination process indicates that the determination result is normally transmitted, the control unit 24 writes the normal log data in the storage area in the log data storage unit 21. In addition, when all the storage areas in the log data storage unit 21 are used (that is, when the storage area in the log data storage unit 21 is filled with already stored log data), the control unit 24 The oldest log data stored in the storage area in the log data storage unit 21 is rewritten (overwritten) as needed with new log data.

また、第1判定処理の判定結果が否を示すとき、制御部24は、ログデータ記憶部21内の記憶領域の一部を上書禁止領域として機能させる設定をもっているか否かを判定する第2判定処理を実行する。なお、上書禁止領域とは、予め設定されたn個分のログデータに対しての上書を禁止する領域である。また、最大値nの値は、ユーザの操作に応じて、任意の値に設定することが可能である。   Further, when the determination result of the first determination process indicates NO, the control unit 24 determines whether or not there is a setting for causing a part of the storage area in the log data storage unit 21 to function as an overwriting prohibition area. Execute the judgment process. The overwriting prohibition area is an area in which overwriting is prohibited with respect to n log data set in advance. Moreover, the value of the maximum value n can be set to an arbitrary value according to the user's operation.

第2判定処理の判定結果がもっている旨を示すとき、制御部24は、当該上り信号の直前の信号に係る正常ログデータを含めて、n個分のログデータが記憶可能な上書禁止領域を設定する。また、第2判定処理の判定結果が否を示すとき、制御部24は、異常ログデータをログデータ記憶部21内の記憶領域に書込む。更に、制御部24は、上書禁止領域内のログデータの数が最大値nより小さいか否かを判定する第3判定処理を実行する。   When indicating that the determination result of the second determination processing is present, the control unit 24 includes an overwriting prohibition area in which n pieces of log data can be stored, including normal log data related to the signal immediately before the upstream signal. Set. When the determination result of the second determination process indicates NO, the control unit 24 writes the abnormal log data to the storage area in the log data storage unit 21. Further, the control unit 24 executes a third determination process for determining whether or not the number of log data in the overwriting prohibited area is smaller than the maximum value n.

第3判定処理の判定結果が小さい旨を示すとき、制御部24は、異常ログデータを上書禁止領域に書込む。また、第3判定処理の判定結果が否を示すとき、制御部24は、異常ログデータをログデータ記憶部21内の記憶領域(但し、上書禁止領域を除く)に書込む。   When the determination result of the third determination process indicates that the determination result is small, the control unit 24 writes the abnormality log data in the overwriting prohibited area. In addition, when the determination result of the third determination process indicates NO, the control unit 24 writes the abnormal log data to a storage area in the log data storage unit 21 (excluding the overwriting prohibited area).

ここでは、制御部24は、上り信号が出力部23によって正常に送信されたか否かを判定可能としたが、これに限定されず、制御部24は、下り信号が入力部22によって正常に受信されたか否かを判定可能としてもよい。   Here, the control unit 24 can determine whether or not the uplink signal has been normally transmitted by the output unit 23, but is not limited thereto, and the control unit 24 can receive the downlink signal normally by the input unit 22. It may be possible to determine whether or not it has been done.

また、制御部24は、ユーザの操作に応じて、ログデータ記憶部21内の記憶領域に記憶されたログデータを消去(リセット)する。更に、制御部24は、ログデータ記憶部21に記憶されたログデータを読出した後に、出力部23を介して、図示しないパーソナルコンピュータ(PC: Personal Computer)等の外部装置に送信する。   Further, the control unit 24 erases (resets) the log data stored in the storage area in the log data storage unit 21 in accordance with a user operation. Further, after reading the log data stored in the log data storage unit 21, the control unit 24 transmits the log data to an external device such as a personal computer (PC) (not shown) via the output unit 23.

次に、以上のように構成されたPLC装置の動作の一例について、図5のフローチャートと、図6の模式図とを参照しながら説明する。   Next, an example of operation | movement of the PLC apparatus comprised as mentioned above is demonstrated, referring the flowchart of FIG. 5, and the schematic diagram of FIG.

始めに、出力部23は、上り信号を監視制御装置10に送信する(ステップS1)。   First, the output unit 23 transmits an uplink signal to the monitoring control device 10 (step S1).

続いて、制御部24は、上り信号が出力部23によって正常に送信されたか否かを判定する(ステップS2)。   Subsequently, the control unit 24 determines whether or not the uplink signal has been normally transmitted by the output unit 23 (step S2).

ステップS2の判定の結果が正常に送信された旨を示す場合(ステップS2:「Yes」)には、制御部24は、正常ログデータをログデータ記憶部21内の記憶領域に書込んだ後に(ステップS3)、ステップS1の処理に戻る。   When the result of the determination in step S2 indicates that the transmission is successful (step S2: “Yes”), the control unit 24 writes the normal log data in the storage area in the log data storage unit 21. (Step S3), the process returns to Step S1.

ステップS2の判定の結果が否を示す場合(ステップS2:「No」)には、制御部24は、ログデータ記憶部21内の記憶領域の一部を上書禁止領域として機能させる設定をもっているか否かを判定する(ステップS4)。   If the result of the determination in step S2 indicates NO (step S2: “No”), does the control unit 24 have a setting for causing a part of the storage area in the log data storage unit 21 to function as an overwriting prohibited area? It is determined whether or not (step S4).

ステップS4の判定の結果が否を示す場合(ステップS4:「No」)には、制御部24は、異常ログデータをログデータ記憶部21内の記憶領域に書込んだ後に(ステップS5)、ステップS1の処理に戻る。   When the determination result in step S4 indicates NO (step S4: “No”), the control unit 24 writes the abnormal log data in the storage area in the log data storage unit 21 (step S5). The process returns to step S1.

ステップS4の判定の結果がもっている旨を示す場合(ステップS4:「Yes」)には、制御部24は、図6に示すように、当該上り信号の直前の信号に係る正常ログデータを含めて、n個分のログデータが記憶可能な上書禁止領域を設定する(ステップS6)。   If the result of determination in step S4 indicates that the determination result is present (step S4: “Yes”), the control unit 24 includes normal log data related to the signal immediately before the uplink signal, as shown in FIG. Thus, an overwriting prohibited area capable of storing n log data is set (step S6).

次に、制御部24は、上書禁止領域内のログデータの数が最大値nより小さいか否かを判定する(ステップS7)。   Next, the control unit 24 determines whether or not the number of log data in the overwriting prohibited area is smaller than the maximum value n (step S7).

ステップS7の判定の結果が小さい旨を示す場合(ステップS7:「Yes」)には、制御部24は、異常ログデータを上書禁止領域に書込んだ後に(ステップS8)、ステップS1の処理に戻る。   If the result of determination in step S7 is small (step S7: “Yes”), the control unit 24 writes the abnormal log data in the overwriting prohibited area (step S8), and then performs the process in step S1. Return to.

ステップS7の判定の結果が否を示す場合(ステップS7:「No」)には、制御部24は、上書禁止領域への書込処理を停止して、異常ログデータをログデータ記憶部内の記憶領域(但し、上書禁止領域を除く)に書込んだ後に(ステップS9)、ステップS1の処理に戻る。   When the result of the determination in step S7 indicates NO (step S7: “No”), the control unit 24 stops the writing process to the overwriting prohibited area and stores the abnormal log data in the log data storage unit. After writing in the storage area (excluding the overwriting prohibition area) (step S9), the process returns to step S1.

ここでは、制御部24が、上り信号が出力部23によって正常に送信されたか否かを判定する場合について説明したが、下り信号が入力部22によって正常に受信されたか否かを判定する場合についても、同様の動作が適用可能である。   Here, the case where the control unit 24 determines whether or not the uplink signal has been normally transmitted by the output unit 23 has been described, but the case where it is determined whether or not the downlink signal has been normally received by the input unit 22. A similar operation can be applied.

上記の実施形態において、ログの時刻のフォーマットを例示しているが、この中身の配列を変えても良い。   In the above embodiment, the log time format is exemplified, but the content arrangement may be changed.

以上説明した一実施形態によれば、第1乃至第3判定処理を実行し、かつログデータ記憶部21内の記憶領域に上書禁止領域を設定可能な制御部24を備えた構成により、異常ログデータだけでなく正常時のログデータも収集し、かつ、必要なログデータが上書により削除されることを防ぐことができる。これにより、PLC装置20における異常発生時の状況を解析することができる。   According to the embodiment described above, the configuration including the control unit 24 that executes the first to third determination processes and that can set the overwriting prohibited area in the storage area in the log data storage unit 21 causes an abnormality. Not only log data but also normal log data can be collected and necessary log data can be prevented from being deleted by overwriting. Thereby, the situation at the time of occurrence of abnormality in the PLC device 20 can be analyzed.

また、本実施形態によれば、ログデータ記憶部21内に記憶するログデータに回数データをもたせたことにより、同一秒での書込回数がカウント可能となり、ログデータを解析する際のソート作業におけるミスを防止することができる。   Further, according to the present embodiment, the number of times of writing in the same second can be counted by providing the number of times data to the log data stored in the log data storage unit 21, and the sorting work when analyzing the log data Can prevent mistakes.

なお、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   In addition, although some embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1…伝送システム、10…監視制御装置、20…プログラマブル・ロジック・コントローラ、21…ログデータ記憶部、22…入力部、23…出力部、24…制御部。   DESCRIPTION OF SYMBOLS 1 ... Transmission system, 10 ... Monitoring control apparatus, 20 ... Programmable logic controller, 21 ... Log data storage part, 22 ... Input part, 23 ... Output part, 24 ... Control part.

Claims (7)

監視制御装置及びログデータ収集装置がネットワークを介して通信可能な伝送システムであって、
前記監視制御装置は、信号を送受信する第1送受信手段を備え、
前記ログデータ収集装置は、
信号が正常に送受信された旨を示す正常ログデータと、信号が正常に送受信されなかった旨を示す異常ログデータとを記憶するログデータ記憶手段と、
前記信号を送受信する第2送受信手段と、
前記信号が前記第2送受信手段によって正常に送受信されたか否かを判定する第1判定手段と、
前記第1判定手段の判定結果が正常に送受信された旨を示すとき、前記正常ログデータを前記ログデータ記憶手段内の記憶領域に書込む第1書込手段と、
前記第1判定手段の判定結果が否を示すとき、前記ログデータ記憶手段内の記憶領域の一部を、上書を禁止する上書禁止領域として機能させる設定をもっているか否かを判定する第2判定手段と、
前記第2判定手段の判定結果がもっている旨を示すとき、前記上書禁止領域として前記第1判定手段の判定結果が否を示す直前の前記正常ログデータを含むn個分のログデータが記憶可能な上書禁止領域を設定する設定手段と、
前記設定された上書禁止領域内のログデータの数がnより小さいか否かを判定する第3判定手段と、
前記第3判定手段の判定結果が小さい旨を示すとき、前記設定された上書禁止領域内に前記異常ログデータを書込む第2書込手段と
を備えた伝送システム。
A monitoring system and a log data collection device are communication systems capable of communicating via a network,
The monitoring control device includes first transmission / reception means for transmitting / receiving signals,
The log data collection device includes:
Log data storage means for storing normal log data indicating that the signal has been normally transmitted and received, and abnormal log data indicating that the signal has not been normally transmitted and received;
Second transmitting / receiving means for transmitting and receiving the signal;
First determination means for determining whether or not the signal has been normally transmitted / received by the second transmission / reception means;
A first writing means for writing the normal log data to a storage area in the log data storage means when the determination result of the first determination means indicates that the transmission / reception has been normally transmitted and received;
When the judgment result of the first determination means indicates whether said log data storage part of the storage area in the unit, the second is determined whether it has a set to function as an overwrite prohibition area to prohibit overwriting A determination means;
When indicating that the determination result of the second determination means has, n log data including the normal log data immediately before the determination result of the first determination means indicating NO is stored as the overwriting prohibited area. A setting means for setting a possible overwriting prohibited area;
Third determination means for determining whether or not the number of log data in the set overwrite prohibited area is smaller than n;
The third time indicating that the determination result of the determining means is small, heat transmission system including a second writing means for writing the error log data to the overwrite prohibition region in which the set.
請求項1に記載の伝送システムにおいて、
前記ログデータ収集装置は、
前記第2判定手段の判定結果が否を示すとき、前記ログデータ記憶手段内の記憶領域に前記異常ログデータを書込む第3書込手段を更に備えた伝送システム。
The transmission system according to claim 1, wherein
The log data collection device includes:
When said determination result of the second determination means indicates whether said log data further comprising heat transmission system of the third writing means for writing the error log data to a storage area in the storage means.
請求項1または請求項2に記載の伝送システムにおいて、
前記ログデータ収集装置は、
前記第3判定手段の判定結果が否を示すとき、前記ログデータ記憶手段内の記憶領域のうち、前記設定された上書禁止領域を除く記憶領域に前記異常ログデータを書込む第4書込手段を更に備えた伝送システム。
In the transmission system according to claim 1 or 2,
The log data collection device includes:
When the determination result of the third determination means indicates NO, a fourth write for writing the abnormal log data in a storage area in the log data storage means excluding the set overwriting prohibition area further heat transmission system comprising a means.
請求項1乃至請求項3のいずれか1項に記載の伝送システムにおいて、
前記ログデータ記憶手段は、
前記第2送受信手段により送受信される信号に係る正常ログデータ及び異常ログデータとして、日付及び時刻を示すカレンダデータと、前記カレンダデータにより示される時刻においてログデータが書き込まれた秒単位の回数を示す回数データとを含む伝送システム。
The transmission system according to any one of claims 1 to 3,
The log data storage means includes
As normal log data and abnormal log data related to signals transmitted and received by the second transmission / reception means, calendar data indicating the date and time, and the number of times the log data is written at the time indicated by the calendar data are shown. including a number of no-data transfer transmission system.
請求項1乃至請求項4のいずれか1項に記載の伝送システムにおいて、
前記ログデータ収集装置は、
前記ログデータ記憶手段に記憶されたログデータを削除する削除手段を更に備えた伝送システム。
In the transmission system according to any one of claims 1 to 4,
The log data collection device includes:
Further heat transmission system comprising a deleting means for deleting the log data stored in the log data storage unit.
請求項1乃至請求項5のいずれか1項に記載の伝送システムにおいて、
前記ログデータ収集装置は、プログラマブル・ロジック・コントローラである伝送システム。
The transmission system according to any one of claims 1 to 5,
The log data collection device, Den transmission system Ru Oh in the programmable logic controller.
監視制御装置とネットワークを介して通信可能なログデータ収集装置であって、
信号が正常に送受信された旨を示す正常ログデータと、信号が正常に送受信されなかった旨を示す異常ログデータとを記憶するログデータ記憶手段と、
前記信号を送受信する送受信手段と、
前記信号が前記送受信手段によって正常に送受信されたか否かを判定する第1判定手段と、
前記第1判定手段の判定結果が正常に送受信された旨を示すとき、前記正常ログデータを前記ログデータ記憶手段内の記憶領域に書込む第1書込手段と、
前記第1判定手段の判定結果が否を示すとき、前記ログデータ記憶手段内の記憶領域の一部を、上書を禁止する上書禁止領域として機能させる設定をもっているか否かを判定する第2判定手段と、
前記第2判定手段の判定結果がもっている旨を示すとき、前記上書禁止領域として前記第1判定手段の判定結果が否を示す直前の前記正常ログデータを含むn個分のログデータが記憶可能な上書禁止領域を設定する設定手段と、
前記設定された上書禁止領域内のログデータの数がnより小さいか否かを判定する第3判定手段と、
前記第3判定手段の判定結果が小さい旨を示すとき、前記設定された上書禁止領域内に前記異常ログデータを書込む第2書込手段と
を備えたログデータ収集装置。
A log data collection device capable of communicating with a monitoring control device via a network,
Log data storage means for storing normal log data indicating that the signal has been normally transmitted and received, and abnormal log data indicating that the signal has not been normally transmitted and received;
Transmitting and receiving means for transmitting and receiving the signal;
First determination means for determining whether or not the signal has been normally transmitted / received by the transmission / reception means;
A first writing means for writing the normal log data to a storage area in the log data storage means when the determination result of the first determination means indicates that the transmission / reception has been normally transmitted and received;
When the judgment result of the first determination means indicates whether said log data storage part of the storage area in the unit, the second is determined whether it has a set to function as an overwrite prohibition area to prohibit overwriting A determination means;
When indicating that the determination result of the second determination means has, n log data including the normal log data immediately before the determination result of the first determination means indicating NO is stored as the overwriting prohibited area. A setting means for setting a possible overwriting prohibited area;
Third determination means for determining whether or not the number of log data in the set overwrite prohibited area is smaller than n;
When indicating that the determination result of the third judging means is small, log data collecting device and a second writing means for writing the error log data to the set overwrite prohibition area.
JP2012050223A 2012-03-07 2012-03-07 Transmission system and log data collection device Active JP5740332B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012050223A JP5740332B2 (en) 2012-03-07 2012-03-07 Transmission system and log data collection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012050223A JP5740332B2 (en) 2012-03-07 2012-03-07 Transmission system and log data collection device

Publications (2)

Publication Number Publication Date
JP2013186623A JP2013186623A (en) 2013-09-19
JP5740332B2 true JP5740332B2 (en) 2015-06-24

Family

ID=49388009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012050223A Active JP5740332B2 (en) 2012-03-07 2012-03-07 Transmission system and log data collection device

Country Status (1)

Country Link
JP (1) JP5740332B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6162628B2 (en) * 2014-03-12 2017-07-12 株式会社東芝 Log acquisition device and log acquisition method
JP6919597B2 (en) * 2018-03-01 2021-08-18 オムロン株式会社 Computer and its control method
JP2019207475A (en) * 2018-05-28 2019-12-05 オムロン株式会社 Controller and control method thereof
WO2022239171A1 (en) * 2021-05-13 2022-11-17 三菱電機株式会社 Programmable controller, programmable controller system, data storage method, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10301815A (en) * 1997-04-24 1998-11-13 Mitsubishi Electric Corp Fault information logging device
JP2005210205A (en) * 2004-01-20 2005-08-04 Toshiba Corp Transmission control apparatus and transmitting method
JP4641443B2 (en) * 2005-03-28 2011-03-02 富士通株式会社 Log information management apparatus, log information management method, and log information management program

Also Published As

Publication number Publication date
JP2013186623A (en) 2013-09-19

Similar Documents

Publication Publication Date Title
US11022946B2 (en) Reducing nuisance notifications from a building automation system
US10643187B2 (en) Reporting and prioritizing faults for aircraft downtime reduction
JP5740332B2 (en) Transmission system and log data collection device
JP5418560B2 (en) Field equipment
US20170046249A1 (en) Testing of enterprise resource planning systems
JP5191934B2 (en) Status monitoring system and status monitoring method
CN111713123A (en) Control unit and method for the manipulation-protected detection of operating-safety-relevant integrity monitoring data
US20140358274A1 (en) Tool management system, tool management method, and computer-readable storage medium storing computer program for allowing computer to act as tool management system
JP2018181206A (en) Data processing device, data processing method, and program
US20080294805A1 (en) Method of acquiring status information of i/o units
US9513984B2 (en) Hardware signal logging in embedded block random access memory
US20110313549A1 (en) Field communication system
JP2012089049A (en) Computer system and server
CN104461741A (en) Graphics device interface based computing device optimizing method and device
JP6648234B2 (en) Gas supply control system
US20220308548A1 (en) Programmable logic controller, setting tool, and recording medium
US20160371154A1 (en) Remote control device and control system
US10880151B2 (en) Notification control device, notification control system, notification control method, and storage medium
JP2013174385A (en) Air conditioner system, and remote controller
WO2019221082A1 (en) Control device and data recording method
JP5369705B2 (en) Communication device
US10574739B2 (en) System and method for smart event paging
JP7358772B2 (en) Control device, control method, control program
KR101537680B1 (en) Event communication apparatus for protection relay
JP4758330B2 (en) Power plant operating history data management device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131212

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140109

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140313

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150213

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

R151 Written notification of patent or utility model registration

Ref document number: 5740332

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313114

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350