JP2011049636A - Communication controller and communication control method - Google Patents
Communication controller and communication control method Download PDFInfo
- Publication number
- JP2011049636A JP2011049636A JP2009194075A JP2009194075A JP2011049636A JP 2011049636 A JP2011049636 A JP 2011049636A JP 2009194075 A JP2009194075 A JP 2009194075A JP 2009194075 A JP2009194075 A JP 2009194075A JP 2011049636 A JP2011049636 A JP 2011049636A
- Authority
- JP
- Japan
- Prior art keywords
- data
- communication
- station
- transmission
- reception
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、複数の通信機器が制御バスに接続されて構成された通信システムを制御する通信制御装置および通信制御方法に関する。 The present invention relates to a communication control apparatus and a communication control method for controlling a communication system configured by connecting a plurality of communication devices to a control bus.
プラントの安全を確保するための安全計装システムでは、複数の安全制御ステーション間で制御バスを介する通信によりデータのやりとりが行われる。 In a safety instrumented system for ensuring plant safety, data is exchanged between a plurality of safety control stations by communication via a control bus.
送信側のステーションでは、所定の言語(例えば、IEC61131言語)で記述されるアプリケーションロジックのうえで、送信データごとにプロデューサファンクションブロックを配置し、そのプロデューサファンクションブロックの入力値として送信データを与える。プロデューサファンクションブロックは安全情報を付加するなどして通信データを作成し、通信機能に受け渡す。通信機能はプロデューサファンクションブロックからの通信データを制御バスに送信する。 In the transmitting station, a producer function block is arranged for each transmission data on application logic described in a predetermined language (for example, IEC61131 language), and transmission data is given as an input value of the producer function block. The producer function block creates communication data by adding safety information and transfers it to the communication function. The communication function transmits communication data from the producer function block to the control bus.
一方、受信側のステーションでは、上記言語で記述されるアプリケーションロジックのうえで、通信データごとにコンシューマファンクションブロックを配置し、コンシューマファンクションブロックの出力値として受信データを取得する。 On the other hand, in the receiving station, a consumer function block is arranged for each communication data on the application logic described in the above language, and received data is acquired as an output value of the consumer function block.
安全制御ステーションのアプリケーションロジックは、オンラインで、すなわちステーションを停止させずに変更することができる。また、安全制御ステーションには変数(送信データ、受信データ)の値を変更できなくするロック機能が用意されている。 The application logic of the safety control station can be changed online, i.e. without stopping the station. In addition, the safety control station is provided with a lock function that prevents the values of variables (transmission data, reception data) from being changed.
例えば、送信側ステーションのアプリケーションロジックをオンラインで変更するときに、ロジックの内容を誤ってしまうと、その影響が受信側ステーションまで及ぶおそれがある。それを回避するために、アプリケーションの変更前に送信側ステーションの送信データをロックすることで、受信側ステーションに異常なデータが伝わらないようにするという手順が、ユーザに対して推奨されている。 For example, when changing the application logic of the transmitting station online, if the contents of the logic are wrong, the influence may reach the receiving station. In order to avoid this, a procedure is recommended for the user in that abnormal data is not transmitted to the receiving station by locking the transmission data of the transmitting station before changing the application.
また、何らかの理由により送信側ステーションが停止すると、受信側ステーションのコンシューマファンクションブロックが通信エラーを検出し、受信側ステーションのアプリケーションロジックに影響が出る。これを回避するためには、送信側ステーションを停止させる前に、受信側ステーションで受信データをロックして通信エラーの影響がアプリケーションロジックに伝わらないようにする必要がある。 If the transmitting station stops for some reason, the consumer function block of the receiving station detects a communication error, which affects the application logic of the receiving station. In order to avoid this, it is necessary to lock the received data at the receiving station so that the influence of the communication error is not transmitted to the application logic before stopping the transmitting station.
しかし、従来のシステムでは、送信データまたは受信データをロックし、あるいはロックを解除するために、個々のデータに対してロック操作あるいは解除操作を実行する必要がある。ところが、1つの安全制御ステーションから送信できるデータは膨大(例えば、最大で200個)であるため、これらの作業は極めて煩雑なものとなる。 However, in the conventional system, it is necessary to perform a lock operation or a release operation on individual data in order to lock transmission data or reception data or release the lock. However, since the amount of data that can be transmitted from one safety control station is enormous (for example, a maximum of 200), these operations are extremely complicated.
本発明の目的は、メンテナンス時などの作業負担を軽減できる通信制御装置を提供することにある。 An object of the present invention is to provide a communication control device that can reduce the work load during maintenance and the like.
本発明の通信制御装置は、複数の通信機器が互いに通信可能に接続されて構成された通信システムを制御する通信制御装置において、前記複数の通信機器のうち、特定の送信側機器を選択する指示を受け付ける受付手段と、前記受付手段を介して選択された前記送信側機器から送信されるすべての送信データの更新、または前記複数の通信機器のうち、当該送信データを受信データとして取得する受信側機器における前記受信データの更新を停止する制御手段と、を備えることを特徴とする。
この通信制御装置によれば、受付手段を介して選択された送信側機器から送信されるすべての送信データの更新、または、当該送信データを受信データとして取得する受信側機器における受信データの更新を停止するので、メンテナンス時などの作業負担を軽減できる。
The communication control device of the present invention is an instruction to select a specific transmission-side device among the plurality of communication devices in a communication control device that controls a communication system configured such that a plurality of communication devices are communicably connected. And a receiving side that updates all transmission data transmitted from the transmitting side device selected via the receiving unit, or acquires the transmission data as received data among the plurality of communication devices Control means for stopping the update of the received data in the device.
According to this communication control device, all the transmission data transmitted from the transmission side device selected via the accepting means is updated, or the reception data in the reception side device that acquires the transmission data as reception data is updated. Because it stops, the work load during maintenance can be reduced.
前記制御手段は前記受付手段を介して選択された前記送信側機器に設けられ、前記送信側機器から送信される前記送信データの更新を停止してもよい。 The control unit may be provided in the transmission side device selected via the reception unit, and may stop updating the transmission data transmitted from the transmission side device.
前記制御手段は前記受信側機器に設けられ、前記受付手段を介して選択された前記送信側機器からの前記受信データの更新を停止してもよい。 The control means may be provided in the receiving-side device and stop updating the received data from the transmitting-side device selected via the receiving means.
前記受付手段は前記複数の通信機器のうち特定の受信側機器を選択する指示を受け付け、前記制御手段は前記受付手段を介して選択された前記受信側機器でのみ前記受信データの更新を停止してもよい。 The accepting unit accepts an instruction to select a specific receiving-side device from the plurality of communication devices, and the control unit stops updating the received data only in the receiving-side device selected via the accepting unit. May be.
前記受付手段は、前記制御手段により更新が停止された前記送信データまたは前記受信データのデータ値の指定を受け付けてもよい。 The receiving unit may receive a designation of a data value of the transmission data or the reception data whose update has been stopped by the control unit.
前記通信機器はプラントの安全を確保するための演算を実行する安全制御ステーションであり、前記送信データおよび前記受信データは前記安全ステーションにおける演算に用いるデータまたは前記演算により得られるデータであってもよい。 The communication device is a safety control station that executes a calculation for ensuring the safety of the plant, and the transmission data and the reception data may be data used for calculation in the safety station or data obtained by the calculation. .
本発明の通信制御方法は、複数の通信機器が互いに通信可能に接続されて構成された通信システムを制御する通信制御方法において、前記複数の通信機器のうち特定の送信側機器を選択する指示を受け付けるステップと、前記指示を受け付けるステップを介して選択された前記送信側機器から送信されるすべての送信データの更新、または当該送信データを受信データとして取得する受信側機器における前記受信データの更新を停止するステップと、を備えることを特徴とする。
この通信制御方法によれば、選択された送信側機器から送信されるすべての送信データの更新、または当該送信データを受信データとして取得する受信側機器における受信データの更新を停止するので、メンテナンス時などの作業負担を軽減できる。
In the communication control method for controlling a communication system configured such that a plurality of communication devices are communicably connected to each other, the communication control method of the present invention provides an instruction to select a specific transmitting device from the plurality of communication devices. Updating the transmission data transmitted from the transmission-side device selected through the receiving step and the step of receiving the instruction, or updating the reception data in the reception-side device that acquires the transmission data as reception data. And a step of stopping.
According to this communication control method, the update of all transmission data transmitted from the selected transmission side device or the reception data in the reception side device that acquires the transmission data as reception data is stopped. Can reduce the workload.
本発明の通信制御装置によれば、受付手段を介して選択された送信側機器から送信されるすべての送信データの更新、または、当該送信データを受信データとして取得する受信側機器における受信データの更新を停止するので、メンテナンス時などの作業負担を軽減できる。 According to the communication control device of the present invention, all the transmission data transmitted from the transmission-side device selected via the accepting unit is updated, or the reception data in the reception-side device that acquires the transmission data as reception data. Since the update is stopped, the work load during maintenance can be reduced.
本発明の通信制御方法によれば、選択された送信側機器から送信されるすべての送信データの更新、または当該送信データを受信データとして取得する受信側機器における受信データの更新を停止するので、メンテナンス時などの作業負担を軽減できる。 According to the communication control method of the present invention, since updating of all transmission data transmitted from the selected transmission side device or updating of reception data in the reception side device that acquires the transmission data as reception data is stopped, Work load during maintenance can be reduced.
以下、本発明による通信制御装置の実施形態について説明する。 Embodiments of a communication control apparatus according to the present invention will be described below.
図1は、本実施形態の通信制御装置の構成を示すブロック図、図2は安全制御ステーションの構成を機能的に示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the communication control apparatus of the present embodiment, and FIG. 2 is a block diagram functionally showing the configuration of the safety control station.
図1に示すように、本実施形態の通信制御装置は、受付手段として機能するエンジニアリング用コンピュータENと、プラントの安全を確保するための演算を実行する安全制御ステーションSCS,SCS,・・・と、プラントに配置されたフィールド機器(不図示)を制御するフィールド制御ステーションFCS,FCS,・・・と、フィールド制御ステーションFCS,FCS,・・・を介してフィールド機器を統合的に監視する操作監視装置HISと、を備える。エンジニアリング用コンピュータEN、安全制御ステーションSCS,SCS,・・・およびフィールド制御ステーションFCS,FCS,・・・は互いに制御バス50を介して接続される。 As shown in FIG. 1, the communication control apparatus of the present embodiment includes an engineering computer EN that functions as an accepting unit, and safety control stations SCS, SCS,... That execute calculations for ensuring plant safety. , Field control stations FCS, FCS,... For controlling field devices (not shown) arranged in the plant, and operation monitoring for comprehensively monitoring field devices via the field control stations FCS, FCS,. A device HIS. The engineering computer EN, the safety control stations SCS, SCS,... And the field control stations FCS, FCS,.
図2に示すように、安全制御ステーションSCSには、送信側ロジック1と、受信側ロジック2と、通信機能3とが実装される。
As shown in FIG. 2, a
送信側ロジック1には、プラントの安全を確保するための演算を実行するロジック部11と、ロジック部11から得られた送信データに安全情報を付加して通信データを生成し、これを通信機能3に渡すプロデューサファンクションブロック12,12,・・・と、が設けられる。なお、安全情報については後述する。
The transmission-
また、受信側ロジック2には、プラントの安全を確保するための演算を実行するロジック部21と、通信部3から得られた通信データから安全情報を除去して受信データを生成し、これをロジック部21に渡すコンシューマファンクションブロック22,22,・・・と、が設けられる。
In addition, the
後述するように、プロデューサファンクションブロック12,12,・・・およびコンシューマファンクションブロック22,22,・・・は、それぞれ制御手段として機能する。 As will be described later, the producer function blocks 12, 12,... And the consumer function blocks 22, 22,.
図3は、送信側ステーションと受信側ステーションの組み合わせ形態を示す図である。 FIG. 3 is a diagram showing a combination form of a transmitting station and a receiving station.
図2では、安全制御ステーションSCSに送信側ロジック1および受信側ロジック2の両者が実装された例を示しているが、送信側ロジック1および受信側ロジック2のいずれか一方のみを実装することもできる。すなわち、安全制御ステーションSCSは送信側ステーションおよび受信ステーションの一方または両者として機能する。このため、送信側ステーションと受信側ステーションの組み合わせ形態として種々の形態が成立する。例えば、図3(a)は、1つの送信側ステーションから送信されたデータが複数の受信側ステーションで受信される例を、図3(b)は複数の送信側ステーションから送信されたデータが1つの受信ステーションで受信される例を、それぞれ示している。
FIG. 2 shows an example in which both the
図2に示すように、送信側ロジック1および受信側ロジック2の両者が実装される場合には、図3(a)または図3(b)に示す送信側ステーションが同時に受信側ステーションとしても機能し、あるいは図3(a)または図3(b)に示す受信側ステーションが同時に送信側ステーションとしても機能することになる。
As shown in FIG. 2, when both the
また、フィールド機器を制御するフィールド制御ステーションFCSも、安全制御ステーションSCSと同様、送信側ステーションあるいは受信側ステーションとして機能し、フィールド制御ステーションFCSと安全制御ステーションSCSの間、およびフィールド制御ステーションFCS間で制御バス50を介するデータ通信が可能とされている。
Similarly to the safety control station SCS, the field control station FCS that controls the field devices also functions as a transmitting station or a receiving station, and between the field control station FCS and the safety control station SCS and between the field control stations FCS. Data communication via the
次に、図4および図5を参照して、制御バス50を介して送受信されるデータの通信形態について説明する。本実施形態では、ステーション間で互いに制御バス50を介してリンク伝送データを送受信する。
Next, with reference to FIG. 4 and FIG. 5, the communication form of the data transmitted / received via the
図4(a)は、制御バス50に接続された個々の安全ステーションを安全制御ステーションSCS1,SCS2,・・・,SCS64として、個々のフィールド制御ステーションを制御ステーションFCS1,FCS2,・・・,FCS64として、それぞれ示している。
4A shows the individual safety stations connected to the
図4(b)は、リンク伝送データのデータ構造を示す図である。 FIG. 4B shows the data structure of link transmission data.
図4(b)に示すように、リンク伝送データは、安全制御ステーションSCS1,SCS2,・・・,SCS64およびフィールド制御ステーションFCS1,FCS2,・・・,FCS64のそれぞれに対応する領域を有している。安全制御ステーションSCS1,SCS2,・・・,SCS64およびフィールド制御ステーションFCS1,FCS2,・・・,FCS64は、それぞれ自らのステーションに対応する領域についてのみデータの読み込み/書き込みが可能であり、他の領域については、データの読み込みのみが可能である。 As shown in FIG. 4B, the link transmission data has areas corresponding to the safety control stations SCS1, SCS2,..., SCS64 and the field control stations FCS1, FCS2,. Yes. The safety control stations SCS1, SCS2,..., SCS64 and the field control stations FCS1, FCS2,..., FCS64 can read / write data only in the areas corresponding to their own stations. For, only data can be read.
図5(a)は、各ステーションで書き込み可能なデータの内容を示す図である。 FIG. 5A shows the contents of data writable by each station.
図5(a)に示すように、安全制御ステーションSCS1,SCS2,・・・,SCS64は、自らの領域に送信データ(演算データ)と、当該送信データに関する安全情報とを書き込む。例えば、各領域のサイズが32バイトの場合には、前半16バイトを演算データの領域とし、後半16バイトを安全情報の領域とすることができる。安全情報は、安全制御ステーションSCS1,SCS2,・・・,SCS64同士でリンク伝送データを送受信するときの通信診断に使用される。安全情報は、例えば、巡回冗長検査(CRC)コードである。リンク伝送データを受信した安全制御ステーションにおいて、演算データとコードとを照合することで、通信診断を行う。また、安全情報として、リンク伝送データの送信時刻を書き込んでもよい。この場合には、送信時刻を受信時刻と対比することで、通信診断を行うことができる。 As shown in FIG. 5A, the safety control stations SCS1, SCS2,..., SCS64 write transmission data (calculation data) and safety information related to the transmission data in their own areas. For example, when the size of each area is 32 bytes, the first 16 bytes can be used as an area for calculation data, and the latter 16 bytes can be used as an area for safety information. The safety information is used for communication diagnosis when link transmission data is transmitted and received between the safety control stations SCS1, SCS2, ..., SCS64. The safety information is, for example, a cyclic redundancy check (CRC) code. In the safety control station that has received the link transmission data, communication diagnosis is performed by comparing the operation data with the code. Further, the transmission time of link transmission data may be written as safety information. In this case, communication diagnosis can be performed by comparing the transmission time with the reception time.
安全制御ステーションSCS1,SCS2,・・・,SCS64からフィールド制御ステーションFCS1,FCS2,・・・,FCS64に送信できる演算データは、例えば、128ビットのBOOL型データである。 The operation data that can be transmitted from the safety control stations SCS1, SCS2,..., SCS64 to the field control stations FCS1, FCS2,..., FCS64 is, for example, 128-bit BOOL type data.
一方、フィールド制御ステーションFCS1,FCS2,・・・,FCS64は、自らの領域に演算データを書き込む。例えば、各領域のサイズが32バイトの場合には、32バイト分の全域が演算データのための領域として使用される。フィールド制御ステーションFCS1,FCS2,・・・,FCS64から他の安全制御ステーションSCS1,SCS2,・・・,SCS64およびフィールド制御ステーションFCS1,FCS2,・・・,FCS64に送信できる演算データは、例えば、256ビットのBOOL型データである。安全制御ステーションSCS1,SCS2,・・・,SCS64がフィールド制御ステーションFCS1,FCS2,・・・,FCS64からデータを受け取った場合、その256ビットのBOOL型データを演算データとして使用できる。 On the other hand, the field control stations FCS1, FCS2,..., FCS64 write calculation data in their own areas. For example, when the size of each area is 32 bytes, the entire area for 32 bytes is used as an area for calculation data. The operation data that can be transmitted from the field control stations FCS1, FCS2,..., FCS64 to the other safety control stations SCS1, SCS2,..., SCS64 and the field control stations FCS1, FCS2,. Bit BOOL type data. When the safety control stations SCS1, SCS2, ..., SCS64 receive data from the field control stations FCS1, FCS2, ..., FCS64, the 256-bit BOOL type data can be used as operation data.
図5(b)は、リンク伝送データの送信タイミングを例示する図である。 FIG. 5B is a diagram illustrating transmission timing of link transmission data.
図5(b)の例では、安全制御ステーションSCS1,SCS2,・・・,SCS64およびフィールド制御ステーションFCS1,FCS2,・・・,FCS64から順次、制御バス50に向けてリンク伝送データがブロードキャスト送信され、その送信周期は100ミリ秒である。各ステーションから100ミリ秒周期でリンク伝送データがブロードキャスト送信される。リンク伝送データを受信した各ステーションはロジックの処理に必要な演算データを他のステーションから受け取る。また、必要に応じて自身の演算結果を対応する領域に書き込んだうえで、リンク伝送データをブロードキャスト送信する。送信側のステーションは、自身のデータがどのステーションで使用されているかについての認識はない。各フィールド制御ステーションFCS1,FCS2,・・・,FCS64は、自分の起動するタイミングでデータ受信するパッシブ型の通信形態をとる。
In the example of FIG. 5B, link transmission data is broadcasted toward the
図6は、プロデューサファンクションブロック12の機能を示すブロック図である。
FIG. 6 is a block diagram showing functions of the
図6に示すように、プロデューサファンクションブロック12には、制御バス50に送信される送信データの値(送出データ値)の変更を禁止するロック機能が用意されている。
As shown in FIG. 6, the
プロデューサファンクションブロック12のロック機能を用いる場合、操作者はエンジニアリング用コンピュータENを介して操作対象となるステーション(送信側ステーション)を特定する。次に、エンジニアリング用コンピュータENを介し、特定されたステーションの送信データをロックする操作を行う。この操作内容は対応するステーションに転送され、当該ステーションのロック状態値が「ロック」となる。同様に、エンジニアリング用コンピュータENを介して操作対象となるステーション(送信側ステーション)を特定するとともに、そのステーションのロック解除操作を行うことで、当該ステーションのロック状態値は「ロック解除」となる。
When the lock function of the
このロック状態値はステーションごとに設定され、ロック状態値はそのステーションに実装されたすべてのプロデューサファンクションブロック12に反映される。 This lock state value is set for each station, and the lock state value is reflected in all the producer function blocks 12 installed in the station.
ロック状態値が「ロック解除」の場合には、図6に示す「送出データ値」は常にロジック部11から得られる送信データの値となり、リンク伝送データに反映される。また、ロック状態値が「ロック」の場合には、送出データ値の更新が停止され、送出データ値はロック状態値が「ロック」となる直前の送信データの値に固定される。この場合、送信データが更新されても、送出データ値は更新されず、送信データ(リンク伝送データ)も更新されない。 When the lock state value is “unlocked”, the “transmission data value” shown in FIG. 6 is always the value of the transmission data obtained from the logic unit 11 and is reflected in the link transmission data. When the lock state value is “lock”, the update of the transmission data value is stopped, and the transmission data value is fixed to the value of the transmission data immediately before the lock state value becomes “lock”. In this case, even if the transmission data is updated, the transmission data value is not updated, and the transmission data (link transmission data) is not updated.
ロック状態値はそのステーションブロック内のすべてのプロデューサファンクションブロック12で共通に参照されるため、エンジニアリング用コンピュータENを介してロック状態値を「ロック」に設定すると、そのステーションから送信されるすべての送信データがロックされることになる。 Since the lock state value is commonly referred to by all the producer function blocks 12 in the station block, setting the lock state value to “lock” via the engineering computer EN causes all transmissions transmitted from the station to be transmitted. Data will be locked.
また、ロック状態値が「ロック」の場合、エンジニアリング用コンピュータENを介する操作により、そのステーションに実装されたプロデューサファンクションブロック12がもつ送出データ値をプロデューサファンクションブロック12ごとに個別に変更することができる。
When the lock state value is “locked”, the transmission data value of the
図7(a)は、コンシューマファンクションブロック22の機能を示すブロック図である。
FIG. 7A is a block diagram showing functions of the
図7(a)に示すように、コンシューマファンクションブロック22には、受信データの更新を禁止するロック機能が用意されている。
As shown in FIG. 7A, the
コンシューマファンクションブロック22のロック機能を用いる場合、操作者はエンジニアリング用コンピュータENを介して操作対象となる受信側ステーションを特定する。次に、エンジニアリング用コンピュータENを介し、特定されたステーションのロック状態値情報を編集する操作を行う。この操作内容は対応するステーションに転送され、当該ステーションのロック状態値情報に反映される。
When the lock function of the
図7(b)はロック状態値情報の構成を示す図である。図7(b)に示すように、ロック状態値情報は、データの送信側ステーションとロック状態値とを対応付ける情報である。操作者はエンジニアリング用コンピュータENを介して送信側ステーションを指定するとともに、その送信側ステーションのロック状態値を設定することで、ロック状態値情報を編集することができる。 FIG. 7B is a diagram showing the configuration of the lock state value information. As shown in FIG. 7B, the lock state value information is information that associates a data transmission side station with a lock state value. The operator can edit the lock state value information by designating the transmission side station via the engineering computer EN and setting the lock state value of the transmission side station.
次に、コンシューマファンクションブロック22の動作について説明する。
Next, the operation of the
通信データ(リンク伝送データ)を受けると、コンシューマファンクションブロック22は通信データから送信元情報(送信が和ステーションを特定する情報)を取り出し、ロック状態値情報に基づいてその受信データのロック状態を取得する。
Upon receiving the communication data (link transmission data), the
その送信側ステーションからの受信データがロックされていない場合には、通信データから受信データを取得し、コンシューマファンクションブロック22の取得値を受信データ値とする。この場合には、取得値が受信データ値により順次更新され、受信データの値としてロジック部22に引き渡される。
If the received data from the transmitting station is not locked, the received data is acquired from the communication data, and the acquired value of the
一方、その受信データがロックされている場合には、通信データを無視して、ロックされる前に受信していたデータ値を取得値として保持する。この場合には、固定された取得値が受信データの値としてロジック部22に引き渡される。すなわち、受信データの更新が停止される。
On the other hand, when the received data is locked, the communication data is ignored and the data value received before being locked is held as the acquired value. In this case, the fixed acquired value is delivered to the
図8は、送信側ステーションのアプリケーションロジックをオンラインで変更する場合の手順を示す図である。 FIG. 8 is a diagram showing a procedure when the application logic of the transmitting station is changed online.
図8では、送信側ステーションから2つの送信データ(送信データA1および送信データA2)が送出され、それらが3つの受信側ステーションで受信される例を示している。 FIG. 8 shows an example in which two transmission data (transmission data A1 and transmission data A2) are transmitted from the transmission side station and received by three reception side stations.
このような系において、送信側ステーションに対してアプリケーションロジック(ロジック部11のロジック)のオンラインでの変更を行う際には、当該送信側ステーションに対してエンジニアリング用コンピュータENからロック操作を行う。また、ロック操作が行われた後、必要に応じて送出データ値(図6)の強制的な変更を行う。 In such a system, when the application logic (logic of the logic unit 11) is changed online with respect to the transmission side station, a lock operation is performed on the transmission side station from the engineering computer EN. Further, after the lock operation is performed, the transmission data value (FIG. 6) is forcibly changed as necessary.
ロック操作が行われた場合、送出データ値は受信データ(受信データB,C,D)の値として受信側ステーションで認識され、その値がアプリケーションロジック(ロジック部21のロジック)で使用される。 When the lock operation is performed, the transmission data value is recognized by the receiving station as the value of the reception data (reception data B, C, D), and the value is used in the application logic (logic of the logic unit 21).
複数の送信データをもつステーションについてアプリケーションロジックをオンライン変更する場合、受信側ステーションへの悪影響を回避するためには、すべての送信データをロックする必要がある。したがって、従来のシステムでは、すべての送信データを1つずつロックする操作が必要となり、煩雑な作業を強いられていた。これに対し、本実施形態の通信制御装置によれば、送信データをロックする1回の操作により、送信側ステーションから送信されるすべての送信データをロックでき、またロック解除も同様な操作で可能である。このため作業負担を大幅に軽減できる。 When changing application logic online for a station with multiple transmission data, it is necessary to lock all the transmission data to avoid adverse effects on the receiving station. Therefore, in the conventional system, an operation for locking all the transmission data one by one is required, and a complicated operation is forced. On the other hand, according to the communication control device of the present embodiment, all transmission data transmitted from the transmitting station can be locked by one operation to lock the transmission data, and unlocking can be performed by the same operation. It is. For this reason, the work load can be greatly reduced.
図9は、送信側ステーションを停止する場合の手順を示す図である。図9の例では、送信側ステーションSCS1は送信データA1および送信データA2を送信し、送信側ステーションSCS2は送信データA3を送信している。また、受信側ステーションSCS3は送信側ステーションSCS1からの送信データA1および送信データA2と、送信側ステーションSCS2からの送信データA3とを受信している。さらに、受信側ステーションSCS4は、送信側ステーションSCS1からの送信データA1を受信している。 FIG. 9 is a diagram showing a procedure for stopping the transmitting station. In the example of FIG. 9, the transmitting station SCS1 transmits transmission data A1 and transmission data A2, and the transmitting station SCS2 transmits transmission data A3. The receiving station SCS3 receives transmission data A1 and transmission data A2 from the transmitting station SCS1 and transmission data A3 from the transmitting station SCS2. Further, the receiving station SCS4 receives the transmission data A1 from the transmitting station SCS1.
このような系において、送信側ステーションSCS1を停止する際には、受信側ステーションSCS3および受信側ステーションSCS4に対して、エンジニアリング用コンピュータENから必要なロック操作を行う。ここでは、送信側ステーションSCS1からの送信データ(受信データBおよび受信データC)をロックする操作(ロック状態値情報の編集)を行う。この場合、送信側ステーションSCS2からの受信データはロックされないため、受信側ステーションSCS3の受信データDについては通常通り、データ更新が行われる。 In such a system, when the transmitting station SCS1 is stopped, a necessary locking operation is performed from the engineering computer EN to the receiving station SCS3 and the receiving station SCS4. Here, an operation of locking transmission data (reception data B and reception data C) from the transmission side station SCS1 (editing of lock state value information) is performed. In this case, since the received data from the transmitting station SCS2 is not locked, the received data D of the receiving station SCS3 is updated as usual.
ロックされた受信データは、必要に応じてコンシューマファンクションブロックごとに、その値の強制的な変更を行うことができる。強制的な変更によって与えられた値は、コンシューマファンクションブロックの出力値として、後段のアプリケーションロジック(ロジック部21のロジック)で使用される。 The locked received data can be forcibly changed as needed for each consumer function block. The value given by the forcible change is used in the application logic (logic of the logic unit 21) at the subsequent stage as the output value of the consumer function block.
ステーション停止時の通信エラーによる受信側ステーションへの悪影響を回避するためには、すべての受信側ステーションにおいて受信データをロックする必要がある。従来のシステムでは、受信データを1つずつロックする操作が必要であるのに対し、本実施形態の通信制御装置では、送信側ステーションを指定することで、そのステーションからの受信データを一括してロックできる。また、同様に一括操作でロック解除を行うことができる。このため、メンテナンス時の作業負担を大幅に軽減できる。 In order to avoid an adverse effect on the receiving station due to a communication error when the station is stopped, it is necessary to lock received data in all receiving stations. In the conventional system, it is necessary to lock received data one by one. On the other hand, in the communication control apparatus according to the present embodiment, by specifying a transmitting station, the received data from the stations are batched. Can lock. Similarly, the lock can be released by a collective operation. For this reason, the work burden at the time of maintenance can be greatly reduced.
図10は、受信側ステーションにおけるアプリケーションロジックのデバッグをする際の手順を示す図である。 FIG. 10 is a diagram showing a procedure for debugging application logic in the receiving station.
アプリケーションロジックの開発段階においては、ステーション間の通信機能を含むデバッグをする時点で、通信相手となるステーションが準備できていない場合がある。送信元が存在しないと、受信側ステーションのコンシューマファンクションブロックは、常に通信エラーを検出することになる。この場合、受信側ステーションにおいて送信元である送信側ステーションからのすべての受信データをロックすることで、通信エラーを無視して、受信側ステーションにおけるアプリケーションロジックのデバッグ作業を行うことが可能となる。 In the application logic development stage, there is a case where a station as a communication partner is not ready at the time of debugging including a communication function between stations. If there is no source, the consumer function block of the receiving station will always detect a communication error. In this case, by locking all received data from the transmitting station that is the transmission source in the receiving station, it is possible to ignore the communication error and debug the application logic in the receiving station.
例えば、図10に示す系において、受信側ステーションSCS3のアプリケーションロジック(ロジック部22のロジック)のデバッグを行う際に、送信側ステーションSCS1および送信側ステーションSCS2が存在しない場合がある。この場合、エンジニアリング用コンピュータENからの操作により、受信側ステーションSCS3に対して、送信側ステーションSCS1からの受信データのロックおよび送信側ステーションSCS2からの受信データのロックを行う。また、ロックされた受信データに対して取得値(図7(a))の強制変更を行うことで、後段のアプリケーションロジック(ロジック部22のロジック)に対して任意のデータを渡すことが可能となる。 For example, in the system shown in FIG. 10, when debugging the application logic (logic of the logic unit 22) of the receiving station SCS3, the transmitting station SCS1 and the transmitting station SCS2 may not exist. In this case, the reception data from the transmission station SCS1 and the reception data from the transmission station SCS2 are locked to the reception station SCS3 by an operation from the engineering computer EN. In addition, by forcibly changing the acquired value (FIG. 7A) for the locked reception data, it is possible to pass arbitrary data to the application logic in the subsequent stage (logic of the logic unit 22). Become.
これにより、受信側ステーションSCS3単独で、アプリケーションロジックのデバッグを行えるようになる。 This makes it possible to debug the application logic by the receiving station SCS3 alone.
以上説明したように、本発明の通信制御装置によれば、受付手段を介して選択された送信側機器から送信されるすべての送信データの更新、または、当該送信データを受信データとして取得する受信側機器における受信データの更新を停止するので、メンテナンス時などの作業負担を軽減できる。 As described above, according to the communication control device of the present invention, all the transmission data transmitted from the transmission-side device selected via the accepting unit is updated, or reception for acquiring the transmission data as reception data. Since the updating of the received data in the side device is stopped, the work load during maintenance can be reduced.
本発明の適用範囲は上記実施形態に限定されることはない。本発明は、複数の通信機器が制御バスに接続されて構成された通信システムを制御する通信制御装置および通信制御方法に対し、広く適用することができる。 The scope of application of the present invention is not limited to the above embodiment. The present invention can be widely applied to a communication control apparatus and a communication control method for controlling a communication system configured by connecting a plurality of communication devices to a control bus.
EN エンジニアリング用コンピュータ(受付手段)
12 プロデューサファンクションブロック(制御手段)
22 コンシューマファンクションブロック(制御手段)
EN Engineering computer (reception means)
12 Producer function block (control means)
22 Consumer function blocks (control means)
Claims (7)
前記複数の通信機器のうち、特定の送信側機器を選択する指示を受け付ける受付手段と、
前記受付手段を介して選択された前記送信側機器から送信されるすべての送信データの更新、または前記複数の通信機器のうち、当該送信データを受信データとして取得する受信側機器における前記受信データの更新を停止する制御手段と、
を備えることを特徴とする通信制御装置。 In a communication control apparatus that controls a communication system configured by connecting a plurality of communication devices so as to communicate with each other,
An accepting unit that accepts an instruction to select a specific transmitting device among the plurality of communication devices;
Update of all transmission data transmitted from the transmission side device selected via the accepting means, or of the reception data in the reception side device that acquires the transmission data as reception data among the plurality of communication devices Control means for stopping the update;
A communication control apparatus comprising:
前記複数の通信機器のうち特定の送信側機器を選択する指示を受け付けるステップと、
前記指示を受け付けるステップを介して選択された前記送信側機器から送信されるすべての送信データの更新、または当該送信データを受信データとして取得する受信側機器における前記受信データの更新を停止するステップと、
を備えることを特徴とする通信制御方法。 In a communication control method for controlling a communication system configured such that a plurality of communication devices are communicably connected to each other,
Receiving an instruction to select a specific transmitting device among the plurality of communication devices;
Updating all transmission data transmitted from the transmission side device selected via the step of accepting the instruction, or stopping updating of the reception data in the reception side device that acquires the transmission data as reception data; ,
A communication control method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009194075A JP2011049636A (en) | 2009-08-25 | 2009-08-25 | Communication controller and communication control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009194075A JP2011049636A (en) | 2009-08-25 | 2009-08-25 | Communication controller and communication control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011049636A true JP2011049636A (en) | 2011-03-10 |
Family
ID=43835577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009194075A Pending JP2011049636A (en) | 2009-08-25 | 2009-08-25 | Communication controller and communication control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011049636A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0589234A (en) * | 1991-09-27 | 1993-04-09 | Mitsubishi Electric Corp | Method and device for image processing |
JPH1124547A (en) * | 1997-07-04 | 1999-01-29 | Toshiba Corp | Plant simulation device |
JP2000259201A (en) * | 1999-03-05 | 2000-09-22 | Toshiba Corp | Analog output device and control system using the same |
JP2000347731A (en) * | 1999-06-04 | 2000-12-15 | Mitsubishi Electric Corp | Automatic data collecting device |
JP2005160000A (en) * | 2003-10-29 | 2005-06-16 | Fujitsu Ltd | Apparatus and method for processing control packet in spanning tree protocol |
-
2009
- 2009-08-25 JP JP2009194075A patent/JP2011049636A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0589234A (en) * | 1991-09-27 | 1993-04-09 | Mitsubishi Electric Corp | Method and device for image processing |
JPH1124547A (en) * | 1997-07-04 | 1999-01-29 | Toshiba Corp | Plant simulation device |
JP2000259201A (en) * | 1999-03-05 | 2000-09-22 | Toshiba Corp | Analog output device and control system using the same |
JP2000347731A (en) * | 1999-06-04 | 2000-12-15 | Mitsubishi Electric Corp | Automatic data collecting device |
JP2005160000A (en) * | 2003-10-29 | 2005-06-16 | Fujitsu Ltd | Apparatus and method for processing control packet in spanning tree protocol |
Non-Patent Citations (2)
Title |
---|
CSNH200600070004; 江守 敏幸: 'セーフティコントロールステーションにおける安全テクノロジー' 横河技報 第49巻第4号, 20051020, P151-154, 横河電機株式会社 * |
JPN6013024064; 江守 敏幸: 'セーフティコントロールステーションにおける安全テクノロジー' 横河技報 第49巻第4号, 20051020, P151-154, 横河電機株式会社 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8074278B2 (en) | Apparatus and methods for intrusion protection in safety instrumented process control systems | |
US9124999B2 (en) | Method and apparatus for wireless communications in a process control or monitoring environment | |
US10110561B2 (en) | Firewall with application packet classifer | |
US8943188B2 (en) | Automation network comprising network components that produce status messages | |
CN104850093B (en) | Method and automated network for the security in monitoring automation network | |
CN110891063B (en) | Safe industrial control system based on safe intelligent control ware | |
US20070124115A1 (en) | Safety-oriented control system | |
CN104364720A (en) | Control device for controlling a safety device, and use of an IO link for transmission of a safety protocol to a safety device | |
US20130132059A1 (en) | Multiple plc simulation system | |
CN107957692B (en) | Controller redundancy method, device and system | |
CN101876816B (en) | Method and operating device for operating a security-oriented industrial automation component | |
CN109426233A (en) | Automated system at least one field device He at least one control unit | |
JP4328352B2 (en) | Diagnostic method and system for external signal input / output unit | |
JP6606293B2 (en) | Method and device for monitoring data processing and data transmission within the safety chain of a safety system | |
CN104486149B (en) | A kind of finite state machine method for ground test | |
EP3836429A1 (en) | System and method for field device with high speed optical communication | |
JP2010170464A (en) | Redundant i/o module | |
JP2016225985A (en) | Method of controlling inverters | |
CN112085873A (en) | Testing device and method for electric intelligent internet of things lockset | |
JP2011049636A (en) | Communication controller and communication control method | |
JP4257364B2 (en) | COMMUNICATION ERROR INFORMATION OUTPUT PROGRAM, COMMUNICATION ERROR INFORMATION OUTPUT METHOD, AND COMMUNICATION ERROR INFORMATION OUTPUT DEVICE | |
KR101584210B1 (en) | System and method for monitoring MCU | |
US11909821B2 (en) | Method for processing application programs in a distributed automation system | |
US11632266B2 (en) | Device setting control device, network system, device setting method, and program | |
JP2021086325A (en) | Serial communication method and serial communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20120120 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130510 |
|
A131 | Notification of reasons for refusal |
Effective date: 20130523 Free format text: JAPANESE INTERMEDIATE CODE: A131 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130710 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130827 |
|
A521 | Written amendment |
Effective date: 20131016 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140205 |