JP2011038854A - Analyzing system using plc - Google Patents

Analyzing system using plc Download PDF

Info

Publication number
JP2011038854A
JP2011038854A JP2009185122A JP2009185122A JP2011038854A JP 2011038854 A JP2011038854 A JP 2011038854A JP 2009185122 A JP2009185122 A JP 2009185122A JP 2009185122 A JP2009185122 A JP 2009185122A JP 2011038854 A JP2011038854 A JP 2011038854A
Authority
JP
Japan
Prior art keywords
command
plc
communication
analysis
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009185122A
Other languages
Japanese (ja)
Other versions
JP5394850B2 (en
Inventor
Katsuki Yamaguchi
佳津紀 山口
Hideo Yamashiro
日出男 山城
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.)
Horiba Ltd
Original Assignee
Horiba Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Horiba Ltd filed Critical Horiba Ltd
Priority to JP2009185122A priority Critical patent/JP5394850B2/en
Publication of JP2011038854A publication Critical patent/JP2011038854A/en
Application granted granted Critical
Publication of JP5394850B2 publication Critical patent/JP5394850B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the lowering of the communication frequency with another analyzing device even in a case that there is communication abnormality in a part of a plurality of analyzing devices. <P>SOLUTION: This analyzing system is equipped with a plurality of the analyzing devices and PLC 3 for performing the transmission and reception of sequential data between a plurality of the analyzing devices by semi-duplex communication. The PLC 3 removes the analyzing device, wherein communication abnormality such that the response of a command is not completed within the predetermined time after the transmission of the command is produced a predetermined number of times, from the transmission object of the command to perform the transmission and reception of the sequential data with respect to the other analyzing device. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、例えば煙道を流れる排ガス等の測定対象を連続測定又はそのデータの連続記録するためのプログラマブルロジックコントローラ(PLC)を用いた分析システムに関するものである。   The present invention relates to an analysis system using a programmable logic controller (PLC) for continuously measuring a measurement object such as exhaust gas flowing through a flue or continuously recording the data.

従来の連続排ガス分析システムとしては、例えば特許文献1に示すように、車両のエンジンから排出される排ガスを連続測定及びその測定データを連続記録するものがある。具体的にこの分析システムは、ダスト計と、流量計を構成する温度計及び圧力計等のセンサ類と、排ガス中の成分濃度を測定する排ガス分析装置と、それらセンサ類及び排ガス分析装置から測定データを取得するPLCとを備えている。そして、ダスト計、センサ類又は排ガス分析装置とPLCとは、Modbusプロトコル等の通信プロトコル(半二重通信)を用いたRS−485等の通信ケーブルにより接続されている。   As a conventional continuous exhaust gas analysis system, for example, as shown in Patent Document 1, there is one that continuously measures exhaust gas discharged from a vehicle engine and continuously records the measurement data. Specifically, this analysis system includes a dust meter, sensors such as a thermometer and a pressure gauge that constitute a flow meter, an exhaust gas analyzer that measures the concentration of components in exhaust gas, and these sensors and the exhaust gas analyzer. PLC which acquires data. The dust meter, sensors or exhaust gas analyzer and the PLC are connected by a communication cable such as RS-485 using a communication protocol (half-duplex communication) such as Modbus protocol.

このように半二重通信を行うPLCを用いて各分析機器(ダスト計、センサ群、排ガス分析装置)から測定データを取得する場合には、予め登録されたコマンドを順次各分析機器に送信(発行)する。つまり、図4に示すように、予め登録された各機器毎のコマンド(コマンドリスト)のうち、1つのコマンドを所定の分析機器(機器1)に送信し、そのコマンドに対する応答が完了した後に、次のコマンドを他の分析機器(機器2)に送信する。このシーケンスにおいて、コマンドを発行した分析機器からの応答が完了するまでは、次のコマンドを他の分析機器に送信することができない。なお、各分析機器から取得したデータは、PLC内部のメモリ内に保存される。   In this way, when acquiring measurement data from each analytical instrument (dust meter, sensor group, exhaust gas analyzer) using a PLC that performs half-duplex communication, commands registered in advance are sequentially transmitted to each analytical instrument ( Issue). That is, as shown in FIG. 4, after sending a command to a predetermined analysis device (device 1) out of commands (command list) for each device registered in advance and completing a response to the command, The next command is transmitted to the other analysis device (device 2). In this sequence, the next command cannot be transmitted to another analytical instrument until the response from the analytical instrument that issued the command is completed. Note that data acquired from each analytical instrument is stored in a memory inside the PLC.

しかしながら、1つの分析機器からの応答が完了した後に、次の分析機器にコマンドを送信するので、コマンドを送信している分析機器から応答が得られない場合にはタイムアウトが発生するまでは次の分析機器と通信ができないという問題が生じる。その結果、複数の分析機器のうち1つでも通信異常があれば、その他の分析機器との通信頻度が低下してしまうという問題がある。これは連続して測定対象を測定する例えば排ガス分析などでは、連続測定が妨げられ特に問題である。   However, since a command is sent to the next analytical instrument after the response from one analytical instrument is completed, if a response is not obtained from the analytical instrument that is sending the command, the next one is required until a timeout occurs. There arises a problem that communication with the analytical instrument is not possible. As a result, there is a problem that if any one of the plurality of analysis devices has a communication abnormality, the frequency of communication with the other analysis devices decreases. This is a particular problem because continuous measurement is hindered in, for example, exhaust gas analysis, which continuously measures an object to be measured.

特開2001−165816号公報JP 2001-165816 A

そこで本発明は、上記問題点を一挙に解決するためになされたものであり、複数の分析機器の一部に通信異常がある場合であっても、その他の分析機器との通信頻度を低下させないことをその主たる所期課題とするものである。   Therefore, the present invention has been made to solve the above problems all at once, and does not reduce the frequency of communication with other analytical instruments even when there is a communication abnormality in some of the analytical instruments. This is the main desired issue.

すなわち本発明に係るPLCを用いた分析システムは、複数の分析機器と、前記複数の分析機器との間で順次データの送受信を半二重通信により行うプログラマブルロジックコントローラ(以下、PLC)と、を備え、前記PLCが、コマンドを送信してから所定時間内にコマンドの応答が完了しない通信異常を所定回数発生した分析機器をコマンドの送信対象から除外して、その他の分析機器との間で順次データの送受信を行うことを特徴とする。   That is, an analysis system using a PLC according to the present invention includes a plurality of analysis devices, and a programmable logic controller (hereinafter, PLC) that sequentially transmits and receives data between the plurality of analysis devices by half-duplex communication. The PLC is excluded from the command transmission target, and the analysis equipment that has generated the communication abnormality in which the command response is not completed within a predetermined time after the command is transmitted is sequentially transmitted to the other analysis equipment. Data transmission / reception is performed.

つまり、PLCは、コマンドを送信してから所定時間内にコマンドの応答が完了しない分析機器を通信異常と判断して、次の分析機器にコマンドの送信を行うとともに、前記通信異常が連続して所定回数発生した分析機器をコマンドの送信対象から除外して、その他の分析機器との間で順次データの送受信を行う。   In other words, the PLC determines that an analysis device that does not complete a command response within a predetermined time after transmitting a command is a communication error, transmits a command to the next analysis device, and the communication error continues. Analytical instruments that have been generated a predetermined number of times are excluded from command transmission targets, and data is sequentially transmitted to and received from other analytical instruments.

具体的に本発明に係るPLCを用いた分析システムは、複数の分析機器と、前記複数の分析機器との間で順次データの送受信を半二重通信により行うプログラマブルロジックコントローラ(以下、PLC)と、を備え、前記PLCが、前記複数の分析機器に順次コマンドを送信するコマンド送信部と、前記コマンドが送信された分析機器からコマンドに対する応答データを受け付ける応答データ受付部と、前記コマンドを送信してから所定時間内にコマンドに対する応答が完了したか否かを前記分析機器毎に判断する通信異常判断部と、を有し、前記コマンド送信部が、前記通信異常判断部により通信異常と判断された分析機器をコマンドの送信対象から除外して、その他の分析機器に順次コマンドを送信するものであることを特徴とする。   Specifically, an analysis system using a PLC according to the present invention includes a plurality of analysis devices, and a programmable logic controller (hereinafter, PLC) that sequentially transmits and receives data between the plurality of analysis devices by half-duplex communication. The PLC transmits a command to the plurality of analysis devices in sequence, a response data reception unit that receives response data for the command from the analysis device to which the command is transmitted, and the command is transmitted. A communication abnormality determination unit that determines whether or not a response to a command is completed within a predetermined time after each of the analysis devices, and the command transmission unit is determined to be a communication abnormality by the communication abnormality determination unit. The analysis device is excluded from the command transmission target, and the command is sequentially transmitted to other analysis devices.

このようなものであれば、ある分析機器で通信異常がある場合であっても、その分析機器をコマンドの送信対象から除外することによって以後のデータの送受信において、通信異常のある分析機器が邪魔をすることが無いので、通信異常のない分析機器との通信頻度の低下を防止することができる。特に、連続測定及びそのデータの連続記録を行う必要がある連続分析システムにおいては、その連続性が妨げられることを防止することができる。   In such a case, even if there is a communication abnormality in a certain analytical instrument, by removing that analytical instrument from the command transmission target, the analytical instrument having a communication abnormality in the subsequent transmission / reception of data will be an obstacle. Therefore, it is possible to prevent a decrease in the frequency of communication with an analytical instrument having no communication abnormality. In particular, in a continuous analysis system that needs to perform continuous measurement and continuous recording of the data, it is possible to prevent the continuity from being hindered.

除外した分析機器を除外したままでは、以後のデータ処理において、データ処理を行えない等の問題が生じるところ、他の分析機器との通信頻度を低下させることなく自動的にこの問題を解決するためには、前記コマンド送信部が、前記除外された分析機器に、その除外後一定時間経過にコマンドを送信するものであり、そのコマンドの送信において前記通信異常判断部が前記除外された分析機器を通信正常と判断した場合に、その他の分析機器と合わせて順次コマンドの送信を行うことが望ましい。   If the excluded analytical instrument is left excluded, problems such as inability to process data will occur in subsequent data processing. To solve this problem automatically without reducing the frequency of communication with other analytical instruments. The command transmission unit transmits a command to the excluded analytical device after a certain period of time after the exclusion, and the communication abnormality determination unit in the transmission of the command includes the excluded analytical device. When it is determined that the communication is normal, it is desirable to sequentially transmit commands together with other analysis devices.

このように構成した本発明によれば、複数の分析機器の一部に通信異常がある場合であっても、その他の分析機器との通信頻度の低下を防止することができる。   According to the present invention configured as described above, it is possible to prevent a decrease in the frequency of communication with other analytical instruments even when a part of the plurality of analytical instruments has a communication abnormality.

本発明の一実施形態に係る分析システムの構成を示す模式図である。It is a mimetic diagram showing the composition of the analysis system concerning one embodiment of the present invention. 同実施形態に係るPLCの機能構成図である。It is a functional block diagram of PLC which concerns on the same embodiment. 同実施形態のPLCの動作を示す模式図である。It is a schematic diagram which shows operation | movement of PLC of the same embodiment. 従来のPLCと各分析機器との通信を模式的に示す図である。It is a figure which shows typically communication with the conventional PLC and each analysis apparatus.

以下に本発明に係る分析システムの一実施形態について図面を参照して説明する。   An embodiment of an analysis system according to the present invention will be described below with reference to the drawings.

本実施形態に係る分析システム100は、例えば車両のエンジンから排出される排ガスを連続測定及びその測定データを連続記録するものであり、具体的には、排ガスのダスト量、流量、流速、及び排ガス中に含まれるNO、SO、CO、CO、O等の含有成分の濃度を測定及び記録するものである。 The analysis system 100 according to the present embodiment continuously measures exhaust gas discharged from, for example, a vehicle engine and continuously records the measurement data. Specifically, the dust amount, flow rate, flow rate, and exhaust gas of the exhaust gas are measured. NO X, which measures and records the SO 2, CO, the concentration of the contained components, such as CO 2, O 2 contained in the.

具体的にこのものは、図1に示すように、排ガスの各物理量及び/又は化学量を測定するための複数の分析機器2a〜2dと、それら複数の分析機器2a〜2dから測定データを順次取得するプログラマブルロジックコントローラ(以下、PLC)3と、一部の分析機器2a〜2d及びPLC3の間に介在して設けられ、PLC3及びその一部の分析機器2a〜2d等との間でデータ通信を行うことにより、PLC3と一部の分析機器2a〜2d等との間で送受信されるデータを中継する1又は複数のリモートI/O4a、4bと、を備えている。   Specifically, as shown in FIG. 1, this is a plurality of analytical instruments 2a to 2d for measuring each physical quantity and / or chemical quantity of exhaust gas, and measurement data from these analytical instruments 2a to 2d sequentially. Data communication between the programmable logic controller (hereinafter referred to as PLC) 3 to be acquired, and some of the analytical instruments 2a to 2d and the PLC 3 interposed therebetween, and between the PLC 3 and some of the analytical instruments 2a to 2d, etc. 1 or a plurality of remote I / Os 4a and 4b that relay data transmitted and received between the PLC 3 and some of the analytical instruments 2a to 2d.

本実施形態においては分析機器2として、排ガスのダスト量を測定するダスト計2aと、排ガスの流量及び流速を測定するための流量計を構成する差圧センサ2b及び温度センサ2c等のセンサ群と、排ガス中の含有成分濃度を測定する排ガス分析装置2dとを用いている。   In the present embodiment, as the analytical instrument 2, a dust meter 2a that measures the dust amount of the exhaust gas, and a sensor group such as a differential pressure sensor 2b and a temperature sensor 2c that constitute a flow meter for measuring the flow rate and flow velocity of the exhaust gas, The exhaust gas analyzer 2d for measuring the concentration of the contained component in the exhaust gas is used.

ダスト計2aは、例えばModbusプロトコル等の通信プロトコル(半二重通信)を用いたRS−485の通信ケーブルCAによりPLC3に接続されている。また、排ガス分析装置2dは、例えばModbusプロトコル等の通信プロトコルを用いたRS−232Cの通信ケーブルCAによりPLC3に接続されている。センサ群は、例えばModbusプロトコル等の通信プロトコルを用いたRS−422の通信ケーブルCAにより第1のリモートI/O4aに接続されている。この第1のリモートI/O4aは、例えばModbusプロトコル等の通信プロトコルを用いたRS−485の通信ケーブルCAによりPLC3に接続されている。また、第1のリモートI/O4aは第2のリモートI/O4bとRS−485通信により接続されている。この第2のリモートI/O4bには、スイッチ類5がRS−422通信により接続されている。スイッチ類5としては、例えば、メンテナンス用スイッチ、流量計パージ開始/停止用スイッチ、流量計校正用スイッチなどである。   The dust meter 2a is connected to the PLC 3 by an RS-485 communication cable CA using a communication protocol (half-duplex communication) such as the Modbus protocol. Further, the exhaust gas analyzer 2d is connected to the PLC 3 by an RS-232C communication cable CA using a communication protocol such as the Modbus protocol. The sensor group is connected to the first remote I / O 4a by an RS-422 communication cable CA using a communication protocol such as the Modbus protocol. The first remote I / O 4a is connected to the PLC 3 by an RS-485 communication cable CA using a communication protocol such as the Modbus protocol. The first remote I / O 4a is connected to the second remote I / O 4b by RS-485 communication. Switches 5 are connected to the second remote I / O 4b by RS-422 communication. Examples of the switches 5 include a maintenance switch, a flow meter purge start / stop switch, a flow meter calibration switch, and the like.

PLC3は、予めプログラムされたシーケンスロジックを実行するシーケンサであり、複数の分析機器2a〜2d等との間で順次データの送受信を半二重通信により行うものである。そして、PLC3は、排ガス分析装置2dからの測定データを取得して蓄積し、ダスト計2aからのダスト量データを取得して蓄積し、流量計(差圧センサ2b、温度センサ2c)から測定データを取得して流量及び流速を計算して蓄積し、その他の各種センサ及びスイッチ類5からのデータを取得して蓄積する。   The PLC 3 is a sequencer that executes pre-programmed sequence logic, and sequentially transmits and receives data to and from the plurality of analysis devices 2a to 2d and the like by half-duplex communication. Then, the PLC 3 acquires and accumulates measurement data from the exhaust gas analyzer 2d, acquires and accumulates dust amount data from the dust meter 2a, and measures data from the flowmeters (differential pressure sensor 2b and temperature sensor 2c). The flow rate and flow velocity are calculated and stored, and data from other various sensors and switches 5 are acquired and stored.

主な機能構成としては、PLC3は、前記複数の分析機器に順次コマンドを送信するコマンド送信部31と、コマンドが送信された分析機器2a〜2dからコマンドに対する応答データである測定データを受け付ける応答データ受付部32とコマンドを送信してから所定時間内にコマンドの応答が完了したか否かを、分析機器2a〜2d毎に判断する通信異常判断部33と、を有する。また、コマンド送信部31により送信されるコマンドは、コマンド格納部D1に格納され、応答データ受付部32により受けつけられた測定データは応答データ格納部D2内に格納される。なお、コマンド送信部31、応答データ受付部32、通信異常判断部33は、メモリに格納されたプログラムに基づいてCPUが作動することにより構成される。   As a main functional configuration, the PLC 3 includes a command transmission unit 31 that sequentially transmits commands to the plurality of analysis devices, and response data that receives measurement data that is response data to the commands from the analysis devices 2a to 2d that have transmitted the commands. A communication abnormality determination unit 33 that determines whether the response of the command is completed within a predetermined time after transmitting the command with the reception unit 32 for each of the analysis devices 2a to 2d. The command transmitted by the command transmission unit 31 is stored in the command storage unit D1, and the measurement data received by the response data reception unit 32 is stored in the response data storage unit D2. The command transmission unit 31, the response data reception unit 32, and the communication abnormality determination unit 33 are configured by the CPU operating based on a program stored in the memory.

コマンド送信部31が、通信異常判断部33により通信異常と判断された分析機器(例えば差圧センサ2b)をコマンドの送信対象から除外して、通信異常の分析機器(差圧センサ2b)を除いたその他の分析機器2a、2c、2dに順次コマンドを送信するものである。また、コマンド送信部31は、除外された分析機器(差圧センサ2b)に、除外後一定時間経過毎にコマンドを送信するものであり、そのコマンドの送信において通信異常判断部33が除外された分析機器(差圧センサ2b)を通信正常と判断した場合に、その他の分析機器2a、2c、2dと合わせて順次コマンドの送信を行う。   The command transmission unit 31 excludes the analysis device (for example, the differential pressure sensor 2b) determined to be communication abnormality by the communication abnormality determination unit 33 from the command transmission target, and excludes the communication abnormality analysis device (the differential pressure sensor 2b). A command is sequentially transmitted to the other analysis devices 2a, 2c, and 2d. In addition, the command transmission unit 31 transmits a command to the excluded analytical instrument (differential pressure sensor 2b) at every elapse of a certain time after the exclusion, and the communication abnormality determination unit 33 is excluded in the transmission of the command. When the analyzer (differential pressure sensor 2b) determines that the communication is normal, the command is sequentially transmitted together with the other analyzers 2a, 2c, and 2d.

なおPLC3には、PLC3との間でデータ通信を行うと共に、システム全体の制御を行うコンピュータ(PC)6が例えばイーサネット(登録商標)により接続されている。また、PLC3には、液晶ディスプレイ(LCD)7が接続され、PLC3による演算結果、各分析機器2a〜2dからの測定値、及びコンピュータ6からの情報が表示されるように構成してある。   A computer (PC) 6 that performs data communication with the PLC 3 and controls the entire system is connected to the PLC 3 by, for example, Ethernet (registered trademark). In addition, a liquid crystal display (LCD) 7 is connected to the PLC 3 so that the calculation results by the PLC 3, the measured values from the analytical instruments 2a to 2d, and the information from the computer 6 are displayed.

詳細にPLC3のコマンド格納部D1には、所定時間(例えば毎秒)毎に各分析機器2a〜2dに送信(発行)するコマンド(Modbusコマンド)が予め登録されており、コマンド送信部31は、データ取得タイミング時に登録されたコマンドを各分析機器2a〜2dに順次送信する。そして、応答データ受付部32は、コマンドが送信された分析機器2a〜2dの応答により取得した測定データ(応答データ)を、PLC3内部に設けられた応答データ格納部D2内に記憶する。このようにして、各分析機器2a〜2dから所定間隔(例えば1秒毎)で測定データを取得すると共に、複数の分析機器2a〜2dから順番に測定データを取得する。   In detail, in the command storage unit D1 of the PLC 3, a command (Modbus command) to be transmitted (issued) to each analysis device 2a to 2d at a predetermined time (for example, every second) is registered in advance. The commands registered at the acquisition timing are sequentially transmitted to the analytical instruments 2a to 2d. And the response data reception part 32 memorize | stores the measurement data (response data) acquired by the response of the analyzer 2a-2d to which the command was transmitted in the response data storage part D2 provided in PLC3. In this way, the measurement data is acquired from each of the analysis instruments 2a to 2d at a predetermined interval (for example, every second), and the measurement data is sequentially acquired from the plurality of analysis instruments 2a to 2d.

そして、通信異常判断部33は、コマンドを送信してから所定時間(例えば1秒)内にコマンドの応答が完了しない場合(タイムアウト及びデータ取得遅延を含む。)は、当該分析機器を通信異常と判断して、その異常判断データをコマンド送信部31に出力する。異常判断データを取得したコマンド送信部31はデータ通信を中断し、次の分析機器に対してコマンドを送信する。その後、コマンド送信部31は、通常通りのデータの送受信を行う。そして、1つの分析機器に対して所定回数(例えば3回)連続してコマンドの応答が所定時間内に完了しない場合には、当該分析機器をコマンドの送信対象から除外する。   Then, if the command response is not completed within a predetermined time (for example, 1 second) after transmitting the command (including a timeout and a data acquisition delay), the communication abnormality determination unit 33 determines that the analysis instrument is in communication abnormality. The abnormality determination data is output to the command transmission unit 31. The command transmission unit 31 that has acquired the abnormality determination data interrupts the data communication and transmits a command to the next analytical instrument. Thereafter, the command transmission unit 31 transmits and receives data as usual. If the response of a command is not completed within a predetermined time continuously for a predetermined number of times (for example, 3 times) for one analytical instrument, the analytical instrument is excluded from the command transmission target.

また、コマンド送信部31は、除外した分析機器に、除外後一定時間経過毎にコマンドを送信して、通信異常判断部33は、通信異常が解消したか否かを判断する。つまり、コマンド送信部31は、除外された分析機器に、除外後一定時間経過毎にコマンドを送信するものであり、そのコマンドの送信において通信異常判断部33が除外された分析機器を通信正常と判断した場合に、その他の分析機器と合わせて順次コマンドの送信を行う。   In addition, the command transmission unit 31 transmits a command to the excluded analytical device at every elapse of a fixed time after the exclusion, and the communication abnormality determination unit 33 determines whether the communication abnormality is resolved. That is, the command transmission unit 31 transmits a command to the excluded analytical device every time a certain period of time has elapsed after the exclusion, and the analysis device from which the communication abnormality determination unit 33 has been excluded in the transmission of the command indicates that the communication is normal. If it is determined, commands are sent sequentially along with other analytical instruments.

具体的に図3を参照して説明する。図3上段には、通常(各分析機器2a〜2dが正常)の場合のコマンドの送信及び分析機器2a〜2dからの応答の順番を示している。なお、図3において、例えば機器Aは分析機器2a、機器Bは分析機器2b、機器Cは分析機器2c、機器Dは分析機器2dに対応する。このように通常時においては、機器A→機器B→機器C→機器D→機器A→・・・、の順番で各機器A〜Dにコマンドを送信するとともに、その機器A〜Dからデータを取得する。   This will be specifically described with reference to FIG. The upper part of FIG. 3 shows the order of command transmission and response from the analytical instruments 2a to 2d in the normal case (the analytical instruments 2a to 2d are normal). In FIG. 3, for example, device A corresponds to the analytical device 2a, device B corresponds to the analytical device 2b, device C corresponds to the analytical device 2c, and device D corresponds to the analytical device 2d. As described above, during normal times, commands are transmitted to the devices A to D in the order of device A → device B → device C → device D → device A →..., And data is transmitted from the devices A to D. get.

一方、例えば機器Bのコマンドの応答がコマンドの送信後所定時間(例えば1秒)内に完了しない場合には、通信異常と判断するとともに、その通信異常が連続して所定回数(例えば3回)続いた場合には、PLC3は当該機器Bを通信対象から除外し、以後所定時間が経過するまでは、機器Bにコマンドの送信を行わない。その結果、PLC3は、図3下段に示すように、機器A→機器C→機器D→機器A→機器C→・・・、の順番で各機器A、C、Dにコマンドを送信するとともに、その機器A、C、Dからデータを取得する。そして、PLCは、機器Bを除外した後一定時間(例えば5分)経過毎に、機器Bにコマンドを送信して、機器Bの通信異常が解消されたか否か等の状態確認を行う。そして、その機器Bから正常にデータを取得できた場合(所定時間内に応答が完了した場合)には、機器Bを自動的に通信対象として、以後その他の機器A、C、Dと同様に通信を行う。なお、PLC3内部のメモリには、状態確認時に機器Bから得られた受信内容と取得日時が記録される。   On the other hand, for example, when the response of the command of the device B is not completed within a predetermined time (for example, 1 second) after the transmission of the command, it is determined that the communication is abnormal, and the communication abnormality is continuously performed a predetermined number of times (for example, 3 times). In the case of continuing, the PLC 3 excludes the device B from the communication target, and does not transmit a command to the device B until a predetermined time thereafter. As a result, the PLC 3 transmits commands to the devices A, C, and D in the order of device A → device C → device D → device A → device C →. Data is acquired from the devices A, C, and D. Then, the PLC transmits a command to the device B at every elapse of a certain time (for example, 5 minutes) after the device B is excluded, and checks the status such as whether or not the communication abnormality of the device B has been resolved. When data can be normally acquired from the device B (when the response is completed within a predetermined time), the device B is automatically set as a communication target, and thereafter the same as other devices A, C, and D. Communicate. Note that the received content and the acquisition date and time obtained from the device B at the time of status confirmation are recorded in the memory inside the PLC 3.

<本実施形態の効果>
このように構成した本実施形態に係る分析システム100によれば、ある分析機器で通信異常がある場合であっても、その分析機器をコマンドの送信対象から除外することによって以後のコマンドの送受信において、通信異常のある分析機器が邪魔をすることが無いので、通信異常のない分析機器との通信頻度の低下を防止することができる。特に、連続測定及びそのデータの連続記録を行う分析システムにおいてその効果が顕著となる。
<Effect of this embodiment>
According to the analysis system 100 according to the present embodiment configured as described above, even when there is a communication abnormality in a certain analysis device, by excluding that analysis device from the command transmission target, subsequent command transmission / reception is performed. Since the analysis device having the communication abnormality does not interfere, it is possible to prevent a decrease in the communication frequency with the analysis device having no communication abnormality. In particular, the effect is remarkable in an analysis system that performs continuous measurement and continuous recording of the data.

なお、本発明は前記実施形態に限られるものではない。
例えば、PLC3が分析機器を通信対象から除外するためには、連続して3回以上通信異常が発生することが必要であったが、これに限られず、1回の通信異常で通信対象から除外するようにしても良い。これならば、その他の通信回数の欠落を可及的に低減することができる。
The present invention is not limited to the above embodiment.
For example, in order for PLC 3 to exclude an analytical instrument from communication targets, it was necessary for communication abnormality to occur three or more times continuously. You may make it do. If this is the case, it is possible to reduce other missing communication times as much as possible.

また、前記実施形態では、一部の分析機器は、リモートI/Oを介してPLCに接続されているが、直接PLCに接続するように構成しても良いし、また、リモートI/Oを介してPLCに接続される分析機器及びPLCに直接接続される分析機器の組み合わせは前記実施形態に限られず、適宜設定可能である。   In the embodiment, some analytical instruments are connected to the PLC via the remote I / O, but may be configured to be directly connected to the PLC, or the remote I / O may be connected to the PLC. The combination of the analytical instrument connected to the PLC via and the analytical instrument directly connected to the PLC is not limited to the above embodiment, and can be set as appropriate.

さらに、前記実施形態では、1台のPLCを用いて複数の分析機器との間でデータを送受信するものであったが、複数台のPLCを用いて複数の分析機器との間でデータを送受信するように構成しても良い。   Furthermore, in the above-described embodiment, data is transmitted / received to / from a plurality of analytical instruments using one PLC, but data is transmitted / received to / from a plurality of analytical instruments using a plurality of PLCs. You may comprise so that it may do.

その上、前記実施形態では、分析器として、ダスト計、流量計及び排ガス分析装置を用いたものであったが、これに限られず、測定対象に応じて適宜選択可能である。例えば、測定対象が液体の場合には水質分析装置を用いても良いし、測定対象が大気の場合には、大気中の浮遊粒子の濃度を測定する大気中粒子測定装置を用いても良い。   In addition, in the above-described embodiment, a dust meter, a flow meter, and an exhaust gas analyzer are used as the analyzer. However, the analyzer is not limited to this, and can be appropriately selected according to the measurement target. For example, when the measurement target is a liquid, a water quality analyzer may be used, and when the measurement target is the air, an air particle measurement device that measures the concentration of suspended particles in the air may be used.

その他、本発明は前記実施形態に限られず、その趣旨を逸脱しない範囲で種々の変形が可能であるのは言うまでもない。   In addition, it goes without saying that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present invention.

100 ・・・分析システム
2a〜2d・・・分析機器
3 ・・・PLC
CA ・・・通信ケーブル
4a、4b・・・リモートI/O
5 ・・・スイッチ類
6 ・・・コンピュータ(PC)
7 ・・・液晶ディスプレイ(LCD)
100: Analytical systems 2a to 2d ... Analytical equipment 3 ... PLC
CA: Communication cable 4a, 4b: Remote I / O
5 ... Switches 6 ... Computer (PC)
7 ... Liquid crystal display (LCD)

Claims (2)

複数の分析機器と、前記複数の分析機器との間で順次データの送受信を半二重通信により行うプログラマブルロジックコントローラ(以下、PLC)と、を備え、
前記PLCが、前記複数の分析機器に順次コマンドを送信するコマンド送信部と、前記コマンドが送信された分析機器からコマンドに対する応答データを受け付ける応答データ受付部と、前記コマンドを送信してから所定時間内にコマンドに対する応答が完了したか否かを前記分析機器毎に判断する通信異常判断部と、を有し、
前記コマンド送信部が、前記通信異常判断部により通信異常と判断された分析機器をコマンドの送信対象から除外して、その他の分析機器に順次コマンドを送信するものである、PLCを用いた分析システム。
A plurality of analytical instruments, and a programmable logic controller (hereinafter referred to as a PLC) that performs sequential transmission and reception of data between the plurality of analytical instruments by half-duplex communication,
A command transmission unit that sequentially transmits commands to the plurality of analysis devices, a response data reception unit that receives response data to the command from the analysis device to which the command is transmitted, and a predetermined time after the PLC transmits the command A communication abnormality determination unit that determines, for each analytical instrument, whether or not a response to the command is completed within,
An analysis system using a PLC in which the command transmission unit excludes the analysis device determined to be communication abnormality by the communication abnormality determination unit from the transmission target of the command and sequentially transmits the command to other analysis devices. .
前記コマンド送信部が、前記除外された分析機器に、その除外後一定時間経過後にコマンドを送信するものであり、そのコマンドの送信において前記通信異常判断部が前記除外された分析機器を通信正常と判断した場合に、その他の分析機器と合わせて順次コマンドの送信を行う請求項1記載のPLCを用いた分析システム。   The command transmission unit is configured to transmit a command to the excluded analytical instrument after a lapse of a certain time after the exclusion, and the communication abnormality determination unit determines that the excluded analytical instrument is in communication normal in the transmission of the command. The analysis system using a PLC according to claim 1, wherein when judged, the command is sequentially transmitted together with other analysis devices.
JP2009185122A 2009-08-07 2009-08-07 Analysis system using PLC Expired - Fee Related JP5394850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009185122A JP5394850B2 (en) 2009-08-07 2009-08-07 Analysis system using PLC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009185122A JP5394850B2 (en) 2009-08-07 2009-08-07 Analysis system using PLC

Publications (2)

Publication Number Publication Date
JP2011038854A true JP2011038854A (en) 2011-02-24
JP5394850B2 JP5394850B2 (en) 2014-01-22

Family

ID=43766792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009185122A Expired - Fee Related JP5394850B2 (en) 2009-08-07 2009-08-07 Analysis system using PLC

Country Status (1)

Country Link
JP (1) JP5394850B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011118844A1 (en) 2010-03-25 2011-09-29 Fujifilm Corporation Solar cell backsheet

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001165816A (en) * 1999-12-06 2001-06-22 Horiba Ltd Mode drive test apparatus of vehicle
JP2002506962A (en) * 1998-03-16 2002-03-05 アシスト テクノロジーズ インコーポレイテッド Intelligent mini environment
WO2009092548A1 (en) * 2008-01-25 2009-07-30 Pilz Gmbh & Co. Kg Method and device for transmitting data in a network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002506962A (en) * 1998-03-16 2002-03-05 アシスト テクノロジーズ インコーポレイテッド Intelligent mini environment
JP2001165816A (en) * 1999-12-06 2001-06-22 Horiba Ltd Mode drive test apparatus of vehicle
WO2009092548A1 (en) * 2008-01-25 2009-07-30 Pilz Gmbh & Co. Kg Method and device for transmitting data in a network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011118844A1 (en) 2010-03-25 2011-09-29 Fujifilm Corporation Solar cell backsheet

Also Published As

Publication number Publication date
JP5394850B2 (en) 2014-01-22

Similar Documents

Publication Publication Date Title
JP6960437B2 (en) Non-intrusive sensor system
EP1703348B1 (en) Programmable controller system
EP3488307B1 (en) Methods for predicting and preventing failure of in vitro diagnostic instruments
CN105137107A (en) Full-automatic sampling and analyzing system and detecting method
US20070198221A1 (en) Flow computer with networked I/O modules
EP2972283A1 (en) Improved diffuser diagnostic for in-situ flue gas measurement device
JP5394850B2 (en) Analysis system using PLC
RU2009117712A (en) METHOD FOR PIPELINE CORROSION MONITORING AND DEVICE FOR ITS IMPLEMENTATION
CN111947688B (en) Method for operating and predictively monitoring a field device
US9000773B2 (en) Method and apparatus for characterizing process control equipment integrity
JP2005061887A (en) Data control system, and analyzer applied thereto
US10684153B2 (en) Auto switching referral matrices in determining process material concentration
JP2006252486A (en) Programmable controller system
JP2006252487A (en) Programmable controller system
CA2905211A1 (en) In situ flue gas analyzer with improved process communication
JP5244045B2 (en) Analysis system using PLC
IT201800004181A1 (en) Flow and quantity measurement system (metering) of fluids
US11788933B2 (en) Method for monitoring measured variables measured on a process plant with measuring instruments
JP4696998B2 (en) Data communication system and data transmission method
Schmidt Integrated Process Control for Result-Oriented Process Automation
CN116612836A (en) Tail gas amount prediction method and system for trifluoromethane production
JP2003131728A (en) Plant monitoring system
UA15011U (en) Device for remotely monitoring the rate of the increase of the concentration of explosive gas in a coal mine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120713

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131017

R150 Certificate of patent or registration of utility model

Ref document number: 5394850

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees