JP2013012106A - Control system and memory control method for control system - Google Patents

Control system and memory control method for control system Download PDF

Info

Publication number
JP2013012106A
JP2013012106A JP2011145157A JP2011145157A JP2013012106A JP 2013012106 A JP2013012106 A JP 2013012106A JP 2011145157 A JP2011145157 A JP 2011145157A JP 2011145157 A JP2011145157 A JP 2011145157A JP 2013012106 A JP2013012106 A JP 2013012106A
Authority
JP
Japan
Prior art keywords
input
configuration information
data
output
control
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
JP2011145157A
Other languages
Japanese (ja)
Other versions
JP5663418B2 (en
Inventor
Tatsuyuki Otani
辰幸 大谷
Masahiro Shiraishi
雅裕 白石
Tomohiro Mizutani
友洋 水谷
Masatoshi Igata
匡利 井形
Yasuyuki Furuta
康幸 古田
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.)
Hitachi Ltd
Hitachi Information and Control Systems Inc
Hitachi Information and Control Solutions Ltd
Original Assignee
Hitachi Ltd
Hitachi Information and Control Systems Inc
Hitachi Information and Control Solutions 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 Hitachi Ltd, Hitachi Information and Control Systems Inc, Hitachi Information and Control Solutions Ltd filed Critical Hitachi Ltd
Priority to JP2011145157A priority Critical patent/JP5663418B2/en
Publication of JP2013012106A publication Critical patent/JP2013012106A/en
Application granted granted Critical
Publication of JP5663418B2 publication Critical patent/JP5663418B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a control system and a memory control method for the control system which efficiently perform communication between an input-output device and a central control device, and enhance operation efficiency of a control speed and the like.SOLUTION: A control system comprises a central control device and a plurality of input-output devices performing data input/output to/from a control target. Each of the plurality of input-output devices comprises temporary storage means for temporarily storing data input/output to/from the control target. The plurality of input-output devices store configuration information indicating predetermined areas for performing input/output to/from the control target. The plurality of input-output devices read out data by selecting an area indicated by the configuration information to transmit the read data to the central control device, or receive data from the central control device to write the received data by selecting an area indicated by the configuration information.

Description

本発明は、制御システムおよび制御システムのメモリ制御方法に関する。   The present invention relates to a control system and a memory control method for the control system.

プラント制御システムでは、プログラマブルロジックコントローラ(以降、PLC:Programmable Logic Controller)や、分散制御システム(以降、DCS:Distributed Control System)を用いて、デジタル入力/出力装置,アナログ入力/出力装置、及びさらに特殊な入出力装置を用いて、プラントを制御する。   In a plant control system, a digital input / output device, an analog input / output device, and a special type using a programmable logic controller (hereinafter, PLC: Programmable Logic Controller) and a distributed control system (hereinafter, DCS: Distributed Control System) are used. The plant is controlled using a simple input / output device.

プラントは、発電機制御,鉄鋼制御,水道監視等、多種多様であり、PLC,DCSの中央制御装置には、その様々な用途に応じた入出力装置が接続される。そして、その接続形態や入出力装置の種別、及び転送データ自体の種別は、構成情報として、システム立上や運用時において最も重要な情報の1つとして扱われ、中央制御装置は、当該構成情報を基に、各入出力装置との制御通信を実施する。   There are various types of plants such as generator control, steel control, and water monitoring, and input / output devices corresponding to various applications are connected to the central controller of PLC and DCS. The connection form, the type of input / output device, and the type of transfer data itself are treated as configuration information as one of the most important information at the time of system start-up and operation. Based on the above, control communication with each input / output device is performed.

ここで、上記のような制御システムにおいて、入出力装置と中央制御装置との間でデータ通信を行う技術として、例えば特許文献1に記載の技術がある。この特許文献1では、マスタユニットに設けられた通信用バッファに入出力装置等の各特殊機能ユニットを割付ける際に、特殊ユニットのバッファメモリ構成をマスタユニットに写像して割付け、特殊機能ユニットごとに割付けられたバッファメモリ内の領域を使って制御通信を行う技術が開示されている。   Here, in the control system as described above, for example, there is a technique described in Patent Document 1 as a technique for performing data communication between the input / output device and the central control device. In this patent document 1, when allocating each special function unit such as an input / output device to the communication buffer provided in the master unit, the buffer memory configuration of the special unit is mapped to the master unit and assigned. A technique for performing control communication using an area in a buffer memory allocated to the above is disclosed.

特開平9−319415号公報JP-A-9-319415

前述のような制御システムにおいて、各中央制御装置が入出力装置と制御通信を行うためには、前記入出力装置内に例えばモデム等の通信末端機能を実装する必要がある。しかしながら、各入出力装置の種別ごとに通信末端機能を個別に用意することは、コスト増大につながるため、通信末端機能を含んだ入出力装置のコア部分を、LSI等で集積し、この集積回路を、各入出力装置に共通する部品とすることで、入出力装置のコストを抑えることが考えられる。   In the control system as described above, in order for each central control device to perform control communication with the input / output device, it is necessary to mount a communication terminal function such as a modem in the input / output device. However, preparing the communication end function individually for each type of each input / output device leads to an increase in cost. Therefore, the core portion of the input / output device including the communication end function is integrated with an LSI or the like. It is conceivable to reduce the cost of the input / output device by using a common part for each input / output device.

しかし、複数種の入出力装置でレジスタ等の集積回路を共通化した場合には、入出力に必要なレジスタが入出力装置の種類ごとに異なるため、特許文献1のように入出力装置のレジスタ構成をそのまま中央制御装置へ割付けると、実際には使用しない入出力に使用しないレジスタも割付けられてしまい、メモリの使用効率が悪くなるという課題がある。また、入出力装置との通信の際は、入出力には使用しない冗長なレジスタ領域も含めてバースト転送をしなければならず、この冗長なデータ転送によって転送効率が悪くなるという課題がある。   However, when an integrated circuit such as a register is shared by a plurality of types of input / output devices, the registers required for input / output differ depending on the type of the input / output device. If the configuration is assigned to the central control unit as it is, registers that are not actually used for input / output are also assigned, which causes a problem that the use efficiency of the memory deteriorates. Further, when communicating with an input / output device, burst transfer must be performed including redundant register areas not used for input / output, and there is a problem that transfer efficiency deteriorates due to this redundant data transfer.

本発明は上記課題に鑑み、中央制御装置に複数種類の入出力装置が接続される場合において、入出力装置と中央制御装置間の通信を効率的に行い、制御速度等の運用効率を向上させる制御システムおよび制御システムのメモリ制御方法を提供することを目的とする。   In view of the above problems, the present invention efficiently communicates between an input / output device and the central control device when a plurality of types of input / output devices are connected to the central control device, and improves operational efficiency such as control speed. It is an object to provide a control system and a memory control method of the control system.

上記課題を解決するために、例えば特許請求の範囲に記載の構成を採用する。本願は上記課題を解決する手段を複数含んでいるが、その一例を挙げるならば、制御対象を監視制御する中央制御装置と、前記制御対象から入力されたデータを前記中央制御装置へ送信するか、または、前記中央制御装置から受信したデータを前記制御対象へ出力する複数の入出力装置と、を備え、前記複数の入出力装置それぞれは、前記制御対象から入力されたデータ、または、前記制御対象へ出力するデータを一時記憶する一時記憶手段を有する制御システムにおいて、前記複数の入出力装置は、各々の前記一次記憶手段のうち、前記制御対象との間で入力または出力を行うための所定の領域を示す構成情報を記憶する構成情報記憶手段をそれぞれ備え、前記複数の入出力装置は、各々の前記構成情報記憶手段に記憶された前記構成情報が示す領域を選択してデータを読み出すとともに、当該読み出したデータを前記中央制御装置へ送信するか、または、前記中央制御装置からデータを受信するとともに、各々の前記構成情報記憶手段に記憶された前記構成情報が示す領域を選択して当該受信したデータを書き出すことを特徴とする。   In order to solve the above problems, for example, the configuration described in the claims is adopted. The present application includes a plurality of means for solving the above-mentioned problem. To give an example, a central control device that monitors and controls a control target, and whether data input from the control target is transmitted to the central control device. Or a plurality of input / output devices that output data received from the central control device to the control target, each of the plurality of input / output devices being data input from the control target or the control In the control system having temporary storage means for temporarily storing data to be output to the target, the plurality of input / output devices are predetermined for performing input or output between the primary storage means and the control target. Each of the plurality of input / output devices includes configuration information stored in each of the configuration information storage means. The area to be selected is read and the data is read, and the read data is transmitted to the central control apparatus, or the data is received from the central control apparatus and stored in each of the configuration information storage means An area indicated by the configuration information is selected, and the received data is written.

本発明によれば、中央制御装置に複数種類の入出力装置が接続される場合であっても、冗長な処理による制御速度の低下を改善し、プラント等の制御システムの運用の高速化に寄与することができる。   According to the present invention, even when a plurality of types of input / output devices are connected to the central control device, the reduction in control speed due to redundant processing is improved, and the operation of a control system such as a plant is accelerated. can do.

入出力装置と中央制御装置の構成を示す全体図。1 is an overall view showing the configuration of an input / output device and a central control device. 初期設定時における入出力装置のシーケンサ動作。Sequencer operation of the input / output device at the initial setting. 初期設定時における中央制御装置のシーケンサ動作。Sequencer operation of the central controller at the initial setting. 制御運転における中央制御装置のシーケンサ動作(読み出し/書き出し)。Sequencer operation (read / write) of the central controller in control operation. 制御運転における入出力装置のシーケンサ動作(読み出し)。Sequencer operation (reading) of the input / output device in control operation. 制御運転における入出力装置のシーケンサ動作(書き出し)。Sequencer operation (writing) of input / output device in control operation. 入出力装置シーケンサの入出力制御情報MUX/DEMUX切替え状態遷移と周辺回路。Input / output control information MUX / DEMUX switching state transition and peripheral circuit of the input / output device sequencer. 構成情報テーブル。Configuration information table. ノード別入出力制御エリアアクセスにおける論理アドレスフォーマット。Logical address format for node-specific I / O control area access. 構成情報問合わせ要求フレーム。Configuration information query request frame. 構成情報問合わせ応答フレーム。Configuration information query response frame. 制御情報読み出し要求フレーム。Control information read request frame. 制御情報読み出し応答フレーム。Control information read response frame. 制御情報書き出し要求フレーム。Control information write request frame. 制御情報書き出し応答フレーム。Control information write response frame.

以下、図面を用いて本発明を実施するための形態について説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

図1は、本発明の実施例であるプラント制御システムである。図1では、N台の入出力装置(ノード#0)100a,入出力装置(ノード#1)100b・・・入出力装置(ノード#N)100nと、1台の中央制御装置200があり、当該装置間は、通信回線路001を介して接続されている。また、各入出力装置100a,入出力装置100b・・・入出力装置100nは、それぞれの目的に応じたセンサ,アクチュエータ等といった制御対象300に接続されている。   FIG. 1 shows a plant control system according to an embodiment of the present invention. In FIG. 1, there are N input / output devices (node # 0) 100a, input / output devices (node # 1) 100b... Input / output devices (node #N) 100n, and one central control device 200. The devices are connected via a communication line 001. In addition, each input / output device 100a, input / output device 100b... Input / output device 100n is connected to a control object 300 such as a sensor, an actuator or the like according to each purpose.

入出力装置100aは、制御対象300からデータを入力するn個の入出力部(1〜n)109aと、入出力部109aから入力した情報を一時記憶するレジスタ空間110aと、レジスタ空間110aから入出力装置100aの入出力に必要なレジスタを選択してデータを出力するマルチプレクサ104aと、マルチプレクサ104aが出力したデータに付するヘッダが格納される応答フレームヘッダバッファ112aと、マルチプレクサ104aが出力したデータにヘッダが付された通信フレームを格納して通信回線路001へ送信するFIFO(First−In First−Out)105aと、FIFO105aから通信回線路001へのデータ送信の開閉を行う送信ポート108aと、中央制御装置200から通信回線路001を介して受信した通信フレームが格納されるFIFO106aと、受信した通信フレームから抽出されたヘッダが格納される要求フレームヘッダバッファ111aと、通信フレームから抽出された制御コードが格納される制御コードバッファ107aと、受信した通信フレームのヘッダおよび制御コード等に応じて各部を動作させるシーケンサ102aと、入出力装置100aの構成情報が記憶されるROM101aと、入出力装置100aの物理ノード番号を示す例えばロータリスイッチ等のノードSW103aと、から構成される。また、図1中のA0,B0は、A0からA0へ信号が経由することを示し、B0からB0へ信号が経由することを示す。   The input / output device 100a includes n input / output units (1 to n) 109a for inputting data from the control target 300, a register space 110a for temporarily storing information input from the input / output unit 109a, and an input from the register space 110a. A multiplexer 104a that selects data necessary for input / output of the output device 100a and outputs data, a response frame header buffer 112a that stores a header attached to data output from the multiplexer 104a, and data output from the multiplexer 104a. A FIFO (First-In First-Out) 105a that stores a communication frame with a header and transmits it to the communication line 001, a transmission port 108a that opens and closes data transmission from the FIFO 105a to the communication line 001, a center Communication line 00 from control device 200 FIFO 106a storing a communication frame received via the request frame, request frame header buffer 111a storing a header extracted from the received communication frame, and control code buffer 107a storing a control code extracted from the communication frame A sequencer 102a that operates each unit according to the received communication frame header, control code, and the like; a ROM 101a that stores configuration information of the input / output device 100a; and a rotary switch that indicates the physical node number of the input / output device 100a Node SW 103a. Further, A0 and B0 in FIG. 1 indicate that a signal passes from A0 to A0, and that a signal passes from B0 to B0.

また、入出力装置100bは、中央制御装置200から通信回線路001を介して受信した通信フレームが格納されるFIFO106bと、受信した通信フレームから抽出されたヘッダが格納される要求フレームヘッダバッファ111bと、通信フレームから抽出された制御コードが格納される制御コードバッファ107bと、受信した通信フレーム内のデータを入力し振り分けて出力するデマルチプレクサ104bと、デマルチプレクサ104bによって選択して振り分けられたデータが一時記憶するレジスタ空間110bと、レジスタ空間110bに一時記憶されたデータを入力し制御対象300へ出力するn個の入出力部(1〜n)109bと、中央制御装置200への通信フレームを格納して通信回線路001へ送信するFIFO105bと、FIFO106bから通信回線路001へのデータ送信の開閉を行う送信ポート108bと、中央制御装置200へ送信する通信フレームのヘッダが格納される応答フレームヘッダバッファ112aと、受信した通信フレームのヘッダおよび制御コード等に応じて各部を動作させるシーケンサ102bと、入出力装置100bの構成情報が格納されるROM101bと、入出力装置100bの物理ノード番号を示す例えばロータリスイッチ等のノードSW103bと、から構成される。また、図1中のA1,B1は、A1からA1へ信号が経由することを示し、B1からB1へ信号が経由することを示す。   The input / output device 100b also includes a FIFO 106b that stores a communication frame received from the central controller 200 via the communication line 001, and a request frame header buffer 111b that stores a header extracted from the received communication frame. The control code buffer 107b in which the control code extracted from the communication frame is stored, the demultiplexer 104b for inputting, distributing and outputting the data in the received communication frame, and the data selected and distributed by the demultiplexer 104b A register space 110b for temporary storage, n input / output units (1 to n) 109b for inputting data temporarily stored in the register space 110b and outputting the data to the control target 300, and a communication frame to the central control device 200 are stored. FIFO1 to be transmitted to the communication line 001 5b, a transmission port 108b that opens and closes data transmission from the FIFO 106b to the communication line 001, a response frame header buffer 112a that stores a header of a communication frame to be transmitted to the central controller 200, and a header of the received communication frame And a sequencer 102b that operates each unit according to a control code, a ROM 101b that stores configuration information of the input / output device 100b, and a node SW 103b such as a rotary switch that indicates a physical node number of the input / output device 100b. Is done. A1 and B1 in FIG. 1 indicate that a signal passes from A1 to A1, and that a signal passes from B1 to B1.

また、中央制御装置200は、プラント制御システムの制御ソフトウェアを動作させるCPU220と、CPU220が認識するアドレスを実際の主メモリアドレスへ変化するアドレス変換回路209と、入出力装置100a〜100nの構成情報を示す構成情報テーブルおよび入出力装置100a〜100nのレジスタとの入力または出力データが記憶される主メモリ210と、主メモリ210にアクセスするメモリアクセスコントローラ201と、入出力装置100a〜100nへの通信フレームを格納して通信回線路001へ送信するFIFO206と、FIFO206から通信回線路001へのデータ送信の開閉を行う送信ポート208と、送信する通信フレームのヘッダが格納される要求フレームヘッダバッファ203と、送信する通信フレームの制御コードが格納される制御コードバッファ207と、入出力装置100a〜100nから通信回線路001を介して受信した通信フレームが格納されるFIFO205と、受信した通信フレームから抽出されたヘッダが格納される応答フレームヘッダバッファ204と、各部を動作させるシーケンサ202と、から構成される。ここで、主メモリ210は中央制御装置200の内部に設けられても、外部に設けられてもよい。   In addition, the central control device 200 includes configuration information of the CPU 220 that operates the control software of the plant control system, the address conversion circuit 209 that changes the address recognized by the CPU 220 to the actual main memory address, and the input / output devices 100a to 100n. Main memory 210 in which input / output data is stored in a configuration information table and registers of the input / output devices 100a to 100n, a memory access controller 201 that accesses the main memory 210, and a communication frame to the input / output devices 100a to 100n , And a transmission port 208 for opening and closing data transmission from the FIFO 206 to the communication line 001, a request frame header buffer 203 for storing a header of a communication frame to be transmitted, Send A control code buffer 207 storing a control code of a communication frame, a FIFO 205 storing a communication frame received from the input / output devices 100a to 100n via the communication line 001, and a header extracted from the received communication frame A response frame header buffer 204 to be stored and a sequencer 202 for operating each unit are configured. Here, the main memory 210 may be provided inside the central controller 200 or may be provided outside.

このように本実施例では、入出力装置100aは制御対象300の運用状況等を示す監視データが入力される装置として、入出力装置100bは制御対象300を制御する制御データを出力する装置として用いられる。そのため、入出力装置100aと入出力装置100bとは、その機能の差から、レジスタ空間110a,110bのうち必要な領域の割付けられ方やマルチプレクサ104a,デマルチプレクサ104bの動作等が異なっている。また、入出力装置100nは、入出力装置100aまたは入出力装置100bと同様に構成される。   As described above, in this embodiment, the input / output device 100a is used as a device to which monitoring data indicating the operation status of the control target 300 is input, and the input / output device 100b is used as a device that outputs control data for controlling the control target 300. It is done. For this reason, the input / output device 100a and the input / output device 100b differ from each other in terms of their functions in the allocation of necessary areas in the register spaces 110a and 110b, the operations of the multiplexer 104a and the demultiplexer 104b, and the like. The input / output device 100n is configured in the same manner as the input / output device 100a or the input / output device 100b.

また、他の入出力装置の構成として、入出力装置がデータ入力とデータ出力との両方を兼ねるよう設定することもできる。この場合は、レジスタ空間には入力用レジスタと出力用レジスタ両方が定められ、中央制御装置200の構成情報テーブルには、1つの入出力装置に入力用と出力用の2種類の構成情報が設定される。   Further, as another input / output device configuration, the input / output device can be set to serve both as data input and data output. In this case, both an input register and an output register are defined in the register space, and two types of configuration information for input and output are set in one input / output device in the configuration information table of the central controller 200. Is done.

次に、まず入出力装置100aに注目して、プラント制御システムの初期設定について説明する。   Next, focusing on the input / output device 100a, the initial setting of the plant control system will be described.

図2は、電源投入後の入手力装置の初期設定を示すフローチャートである。入出力装置100aでは、電源投入されると(S101)、シーケンサ102aが自律的にROM101aの内容を読み込む(S102)。ROM101aには、入出力装置100aの制御に関わる構成情報が登録されており、その中に、レジスタ空間110aのうち入出力装置100aが使用するものがレジスタB,E,Wであるというレジスタ情報も含まれる。シーケンサ102aは、当該レジスタ情報を、前記入出力装置100aにおける必要なレジスタとして認識する(S103)。次に、前記シーケンサ102は、前記入出力装置100の物理ノード番号を識別するため、ノードSW103aから、当該番号情報を読み込み(S104)、自己の初期設定を終了する(S105)。   FIG. 2 is a flowchart showing the initial setting of the available power device after the power is turned on. In the input / output device 100a, when the power is turned on (S101), the sequencer 102a autonomously reads the contents of the ROM 101a (S102). In the ROM 101a, configuration information related to the control of the input / output device 100a is registered, and among them, register information indicating that the register space 110a uses the registers B, E, and W among the register space 110a. included. The sequencer 102a recognizes the register information as a necessary register in the input / output device 100a (S103). Next, the sequencer 102 reads the number information from the node SW 103a in order to identify the physical node number of the input / output device 100 (S104), and ends its initial setting (S105).

同様の初期設定は、入出力装置100bでも行われ、シーケンサ112bは、レジスタC,Yを、前記入出力装置110bにおける必要なレジスタとして認識する。そして、ノードSW103bから物理ノード番号を取得する。以上の処理は、入出力装置100a,110bに限らず、N台すべての入出力装置で同様の処理が行われることは言うまでもない。   Similar initial setting is performed in the input / output device 100b, and the sequencer 112b recognizes the registers C and Y as necessary registers in the input / output device 110b. Then, the physical node number is acquired from the node SW 103b. The above processing is not limited to the input / output devices 100a and 110b, and it goes without saying that the same processing is performed in all N input / output devices.

続いて、中央制御装置200の初期設定について説明する。   Next, the initial setting of the central controller 200 will be described.

図3は、電源投入後の中央制御装置200の初期設定を示すフローチャートである。中央制御装置200では、電源投入されると(S201)、接続されている入出力装置の探索を開始する。本例での探索は、ノード番号#0から順番に+1ずつ昇順・総当たりで行い、応答のあったノード番号の入出力装置から構成情報を取得することを想定している。しかし、総当りの探索を使用せず、あらかじめ中央制御装置200で記憶しているノードのみに限定探索をかけ、構成情報を取得する等といった手法もある。探索では、シーケンサ200が図10にて後述する構成情報問合せ要求フレームを通信回線路001上に送出する(S202)。前記シーケンサ200は、入出力装置からの応答フレームの受信を確認するとともに(S203)、タイムアウト検出を行う(S204)。タイムアウト規定内に、応答フレームを受信できなければ、エラー処理を行うとともに(S205)、探索を打ち切り、全ノードへの問合せが完了したか判断する(S211)。全ノードへの問合せが終っていなければ、探索するノード番号である構成情報インデックスを1つ増加し、次ノードの探索を続行する(S212)。   FIG. 3 is a flowchart showing the initial setting of the central controller 200 after the power is turned on. When the central controller 200 is turned on (S201), it starts searching for connected input / output devices. It is assumed that the search in this example is performed in ascending order and brute force in increments of +1 sequentially from node number # 0, and configuration information is acquired from the input / output device of the node number that has responded. However, there is also a technique in which a limited search is performed only on nodes stored in advance in the central control device 200 without using a brute force search, and configuration information is acquired. In the search, the sequencer 200 sends a configuration information inquiry request frame, which will be described later with reference to FIG. 10, onto the communication line 001 (S202). The sequencer 200 confirms the reception of the response frame from the input / output device (S203) and performs timeout detection (S204). If a response frame cannot be received within the timeout rule, error processing is performed (S205), the search is terminated, and it is determined whether the inquiry to all nodes is completed (S211). If the inquiry to all the nodes is not completed, the configuration information index that is the node number to be searched is incremented by 1, and the search for the next node is continued (S212).

一方、入出力装置側では、自ノード番号と問い合わせフレームにある宛先ノード番号が一致したら、自身のROM情報を応答フレームに載せて中央制御装置200に送出する。   On the other hand, on the input / output device side, when the own node number matches the destination node number in the inquiry frame, its own ROM information is put on the response frame and sent to the central control device 200.

具体的に、入出力装置100aを例にすると、シーケンサ102aは、受信した構成情報問合せ要求フレーム内の宛先ノード番号と、自身がノードSW103aから読み込んだノード番号情報を照合し、一致であることを確認したら、ROM101aの内容を、マルチプレクサ104aを介して、応答フレームヘッダの後に続いてFIFO105aにセットする。セット完了したら、送信ポート108aを開放し、図11にて後述する構成情報問合せ応答フレームを中央制御装置200aへ送信する、という流れである。問合せ応答フレームでは、問合せ要求フレームに随伴された処理識別番号をそのままループバックする。これは、要求フレームと応答フレームのひもづけを保証するためである。これにより、要求フレームに対応しないエラー応答を検知して、誤設定を防ぐことができる。   Specifically, taking the input / output device 100a as an example, the sequencer 102a collates the destination node number in the received configuration information inquiry request frame with the node number information read from the node SW 103a, and confirms that they match. After confirmation, the contents of the ROM 101a are set in the FIFO 105a following the response frame header via the multiplexer 104a. When the setting is completed, the transmission port 108a is opened, and a configuration information inquiry response frame described later with reference to FIG. 11 is transmitted to the central control device 200a. In the inquiry response frame, the process identification number associated with the inquiry request frame is looped back as it is. This is to guarantee the connection between the request frame and the response frame. Thereby, it is possible to detect an error response that does not correspond to the request frame and prevent erroneous setting.

中央制御装置200は、タイムアウト規定内に入出力装置からの応答フレームを受信したら、シーケンサ202が直ちに、フレーム内容から当該フレームの送信元ノード番号と問合せフレーム発行時の宛先ノード番号とが一致していることを確認する(S206)。さらに、処理識別番号についても同様に一致であることを確認する(S207)。一致していたならば、シーケンサ202は、当該ノード番号の入出力装置の構成情報の解析、及び構成制御処理を実施し(S208)、一致していなければエラー処理を行う(S205)。   When the central controller 200 receives the response frame from the input / output device within the time-out rule, the sequencer 202 immediately matches the transmission source node number of the frame with the destination node number when the inquiry frame is issued from the frame contents. (S206). Further, it is confirmed that the process identification numbers are also identical (S207). If they match, the sequencer 202 analyzes the configuration information of the input / output device of the node number and performs configuration control processing (S208), and if they do not match, performs error processing (S205).

ここで、応答フレームの具体例として、入出力装置100aから応答があった場合を例にして説明する。応答フレーム内には、前記入出力装置100aにおける制御に関わる構成情報の1つに、転送するB,E,Wのレジスタの数(サイズ)が“3”という情報が格納されている。この情報を基にし、シーケンサ202は、前記入出力装置100aのノード専用にレジスタサイズ分の主メモリ210のメモリエリアを確保するため、当該主メモリ210のヘッダアドレスとエンドアドレスを設定する。   Here, as a specific example of the response frame, a case where there is a response from the input / output device 100a will be described as an example. In the response frame, information that the number (size) of the B, E, and W registers to be transferred is “3” is stored as one piece of configuration information related to control in the input / output device 100a. Based on this information, the sequencer 202 sets the header address and end address of the main memory 210 in order to secure a memory area of the main memory 210 corresponding to the register size exclusively for the node of the input / output device 100a.

本例において、前記入出力装置100aは探索対象の最初ノードであるため、ヘッダアドレスは主メモリ210内のノード別入出力制御エリア212の先頭アドレスである0x0058とする。エンドアドレスは、前記構成情報内の転送サイズからレジスタ3つ分のエリアを確保しなくてはならないので、0x0060となる。尚、本例では、メモリアドレスをバイト換算し、レジスタ一個あたりは、4バイト使用するものとする。   In this example, since the input / output device 100a is the first node to be searched, the header address is 0x0058, which is the head address of the node-specific input / output control area 212 in the main memory 210. The end address is 0x0060 because an area for three registers must be secured from the transfer size in the configuration information. In this example, the memory address is converted into bytes, and 4 bytes are used for each register.

シーケンサ202は、後述する図8の通り、主メモリ210の構成情報テーブルの記憶領域に当該ヘッダアドレス,エンドアドレスを、構成情報テーブル211のノード別に割り当てられたアドレスにセットし(S209)、応答フレームで転送された構成情報と合わせて0x0000〜0x000Fに登録、更新する(S210)。   The sequencer 202 sets the header address and end address in the storage area of the configuration information table in the main memory 210 to the addresses assigned for each node in the configuration information table 211 as shown in FIG. 8 (described later) (S209). Are registered and updated in 0x0000 to 0x000F together with the configuration information transferred in (S210).

また、例えばノードの入出力装置100bから応答があった場合には、転送に必要なレジスタが、C,Yの2個であるため、応答フレーム内の構成情報には、レジスタサイズが“2”で格納されている。シーケンサ202は、前ノードの入出力装置100aのエンドアドレスの次のアドレス0x0064を、前記入出力装置110のヘッダアドレスとして設定する(S209)。エンドアドレスは、先述の前記入出力装置100と同様に、レジスタ2つ分のエリアを確保するため、0x0068となる。そして、シーケンサ202は、前記入出力装置100aと同様に、これらヘッダアドレスとエンドアドレス、及び応答フレーム内の構成情報を、構成情報テーブル211のノード別に割り当てられたアドレス0x0010〜0x001Fに登録、更新する(S210)。   For example, when there is a response from the input / output device 100b of the node, there are two registers C and Y necessary for transfer, and therefore the register size is “2” in the configuration information in the response frame. Is stored in. The sequencer 202 sets the address 0x0064 next to the end address of the input / output device 100a of the previous node as the header address of the input / output device 110 (S209). The end address is 0x0068 in order to secure an area for two registers, as in the input / output device 100 described above. Then, the sequencer 202 registers and updates the header address, the end address, and the configuration information in the response frame at addresses 0x0010 to 0x001F assigned to each node of the configuration information table 211, similarly to the input / output device 100a. (S210).

尚、本例における構成情報テーブル211のノード別に割り当てられたアドレスとは、主メモリ210のアドレス=ノード番号×8と定型化し、ノード1つあたりの構成情報は、8バイトとしているが、本発明では、当該テーブルの割当て方法,サイズ等については特に制限はない。   The address assigned to each node in the configuration information table 211 in this example is standardized as the address of the main memory 210 = node number × 8, and the configuration information per node is 8 bytes. The table allocation method, size, etc. are not particularly limited.

シーケンサ202は、全ノードへの問い合わせが完了したか判断し(S211)、完了していなければ、構成情報インデックス(=ノード番号)を1つ増加して(S212)、構成情報問合せフレームを送出する(S202)。全ノードへの問合せが完了していれば、初期設定を終了する(S213)。   The sequencer 202 determines whether inquiries to all the nodes have been completed (S211). If not completed, the sequencer 202 increments the configuration information index (= node number) by 1 (S212) and sends a configuration information inquiry frame. (S202). If the inquiry to all nodes has been completed, the initial setting is terminated (S213).

このように、シーケンサ202は、入出力装置の探索と、探索の結果、得られた構成情報から構成情報テーブルを生成するまでの処理を、全ノード数分実施し、当該プラント制御システムにおけるシステム初期設定を完了する。   In this way, the sequencer 202 performs the search for the input / output devices and the processing until the configuration information table is generated from the configuration information obtained as a result of the search, for all the nodes, and the system initial in the plant control system Complete the configuration.

続いて、入力制御情報読み出しにおける中央制御装置200の制御運転について説明する。   Next, the control operation of the central controller 200 in reading input control information will be described.

図4は、入力制御情報読み出しにおける制御運転について、中央制御装置200から入出力制御装置100aに対する一連の処理を示す図である。中央制御装置200のシーケンサ202は、CPU220(制御ソフトウェア)の制御通信起動指示を受けて(S301)、制御運転を開始する。   FIG. 4 is a diagram illustrating a series of processes from the central control device 200 to the input / output control device 100a in the control operation in reading the input control information. The sequencer 202 of the central controller 200 receives a control communication activation instruction from the CPU 220 (control software) (S301), and starts a control operation.

まず、シーケンサ202は、主メモリ210の構成情報テーブル211をノード番号の若い順番(#0〜)から探索、読み出し(S302),入出力装置の有無の確認処理を行う(S303)。当該ノード番号が存在しなかったら、シーケンサ202は、構成情報テーブルのインデックス番号を1つ増加し(S322)、次ノードの構成情報テーブル読み出しを実施する。存在しなかった場合は、制御通信停止の指示があるまで前記処理を繰り返し実施する(S323)。   First, the sequencer 202 searches and reads the configuration information table 211 in the main memory 210 from the node numbers in ascending order (# 0) (S302), and performs processing for confirming the presence / absence of an input / output device (S303). If the node number does not exist, the sequencer 202 increments the index number of the configuration information table by 1 (S322), and reads the configuration information table of the next node. If it does not exist, the above process is repeated until an instruction to stop control communication is given (S323).

当該ノード番号が存在したら、シーケンサ202は、要求フレームヘッダバッファ203を介して、要求フレームヘッダの内容を、FIFO206にセットする(S304)。尚、要求フレームヘッダには、送信元ノード番号(中央制御装置200のノード番号)、現時点で構成情報テーブル探索下にある送信先ノード番号(ここでは、入出力装置100aのノード番号)、及び、フレームを送信する毎に1つ増加する処理識別番号(初期値は0)が格納されている。   If the node number exists, the sequencer 202 sets the content of the request frame header in the FIFO 206 via the request frame header buffer 203 (S304). The request frame header includes a transmission source node number (node number of the central controller 200), a transmission destination node number currently under the configuration information table search (here, a node number of the input / output device 100a), and Stored is a processing identification number (initial value is 0) which is incremented by 1 every time a frame is transmitted.

続いて、シーケンサ202は、指示の種類(読み出し/書き出し。ここで述べる入出力装置100aに対しては読み出し指示、入出力装置100bに対しては書き出し指示とする)、転送対象レジスタの先頭呼出し番号(構成情報テーブル上では、常に1(=先頭)であるが、CPU220が任意の番号をセットすることも可能)、転送するレジスタのサイズ,転送順番(読み出し指示時のみ。こちらも呼出し番号同様、CPU220によって、任意の順番をセットすることが可だが、本例における構成情報テーブルとしての初期値は“昇順”とする)といった制御コードを生成し、それらをFIFO206にセットする(S305)。   Subsequently, the sequencer 202 reads out the type of instruction (read / write. The read instruction is given to the input / output device 100a described here and the write instruction is given to the input / output device 100b), and the head call number of the transfer target register. (Although it is always 1 (= first) on the configuration information table, the CPU 220 can also set an arbitrary number), the size of the register to be transferred, the transfer order (only at the time of reading instruction. The CPU 220 can set an arbitrary order, but generates a control code such as “ascending order” as the configuration information table in this example, and sets them in the FIFO 206 (S305).

続いて、要求が読み出しであるか書き出しであるか判断する(S306)。シーケンサ202は、入出力装置100aに対しての指示が読み出しであるので、送信ポート208を開放し、FIFO206にセットされた情報を要求フレームとして通信回線路001上に送出する(S311)。尚、前記読み出し要求フレームのフォーマットを後述する図12に示す。   Subsequently, it is determined whether the request is for reading or writing (S306). Since the instruction to the input / output device 100a is read, the sequencer 202 opens the transmission port 208 and sends the information set in the FIFO 206 as a request frame onto the communication line 001 (S311). The format of the read request frame is shown in FIG.

続いて、入出力装置100aの制御運転における応答処理について、図5のフローチャートを用いて説明する。入出力装置100aでは、先述の要求フレームを受信したら(S401)、初期設定時と同様、シーケンサ102aが、要求フレーム内の送信先ノード番号と、ノードSW103から読み込んだ自ノード番号の照合を行う(S402)。照合した結果、一致が確認できたら、要求フレーム内の制御コードを読み込み、処理を継続する。尚、一致しなかった場合は、当該フレームを破棄し、引き続き新たなフレームを監視する。   Next, response processing in the control operation of the input / output device 100a will be described with reference to the flowchart of FIG. In the input / output device 100a, when the request frame described above is received (S401), the sequencer 102a collates the transmission destination node number in the request frame with its own node number read from the node SW 103 (S401). S402). If a match is confirmed as a result of the collation, the control code in the request frame is read and the process is continued. If they do not match, the frame is discarded and a new frame is continuously monitored.

ノード番号が一致した場合の説明を続ける。シーケンサ102aは、応答フレームヘッダに、送信元ノード番号(ここでは、入出力装置100aのノード番号)と、送信先ノード番号(中央制御装置200のノード番号)、及び要求フレームに随伴していた処理識別番号(ループバック)をセットする。その後、応答フレームヘッダの内容をFIFO105にセットする(S403)。   The explanation when the node numbers match is continued. The sequencer 102a adds the source node number (here, the node number of the input / output device 100a), the destination node number (the node number of the central controller 200), and the process associated with the request frame to the response frame header. Set the identification number (loopback). Thereafter, the content of the response frame header is set in the FIFO 105 (S403).

続いて、シーケンサ102aは、ROM101aを読み込み済(初期設定完了済)であるか判断する(S404)。読み込み済みであれば、シーケンサ102aは、制御コードを解析し(S405)、その結果、先頭呼出し番号に該当するレジスタパスをマルチプレクサ104aで切替え、転送が必要なレジスタをFIFO105aにセットする(S406)。本例では、当該先頭呼出し番号を、初期値である“1”とし、転送サイズ“=3”個分のレジスタパスをマルチプレクサ104aで順番に切替えながら、FIFO105aにレジスタの内容をセットする。この結果、FIFO105aには、B,E,Wの順番でレジスタの内容がセットされる。   Subsequently, the sequencer 102a determines whether the ROM 101a has been read (initial setting completed) (S404). If it has been read, the sequencer 102a analyzes the control code (S405), and as a result, the register path corresponding to the head calling number is switched by the multiplexer 104a, and the register that needs to be transferred is set in the FIFO 105a (S406). In this example, the initial call number is set to “1” which is an initial value, and the register contents are set in the FIFO 105a while sequentially switching the register paths for the transfer size “= 3” by the multiplexer 104a. As a result, the contents of the register are set in the FIFO 105a in the order of B, E, and W.

当該マルチプレクス動作の一連の流れは、シーケンサ102a内における図7のマルチプレクス制御動作によって実現される。マルチプレクサ104aは、自ノード宛要求フレームを受信し、応答フレームヘッダをセットすると、アイドルステートからレジスタ選択ステートへ遷移する。各選択ステートでは、クロック単位で次のステートへ遷移する。ここで遷移の方向は、制御コードの転送順番指定で決まる。   A series of flow of the multiplex operation is realized by the multiplex control operation of FIG. 7 in the sequencer 102a. When the multiplexer 104a receives the request frame addressed to itself and sets a response frame header, the multiplexer 104a transits from the idle state to the register selection state. In each selected state, transition is made to the next state in units of clocks. Here, the direction of transition is determined by specifying the transfer order of control codes.

次に、先頭呼出し番号監視回路は、各レジスタ選択ステートの選択ステート活性信号をカウントし、カウント数が制御コード内の先頭呼出し番号ならば一次ゲートを開放(イネーブル)する。これによって、任意に最初に読み出すレジスタを選択することができる。   Next, the head call number monitoring circuit counts the selection state activation signal of each register selection state, and opens (enables) the primary gate if the count number is the head call number in the control code. Thereby, it is possible to arbitrarily select a register to be read first.

次に、レジスタごとに設けられる二次ゲートでは、各レジスタが転送対象であれば1が、非対称であれば0が設定されている。すなわち、ROM101aから設定される転送対象のレジスタのものだけが1に設定され、一次ゲートの開放(イネーブル)による開放信号とのアンド条件によって、各レジスタへのアクセスが可能となる。ここで、マルチプレクサ切替え回数カウンタでは、切替えを検知すると1つカウントアップし、応答フレーム処理を完了するとカウントをリセットする。そして、レジスタ選択ステートでは、制御コード内の転送サイズがマルチプレクサの切替え回数と等しくなるとアイドルステートへ遷移する。また、ここでは、入出力装置100aのマルチプレクサ104aを例にマルチプレクス動作を説明したが入出力装置100bのデマルチプレクサ104bにおいても同様の処理を行う。   Next, in the secondary gate provided for each register, 1 is set if each register is a transfer target, and 0 is set if it is asymmetric. That is, only those of the registers to be transferred set from the ROM 101a are set to 1, and each register can be accessed by an AND condition with an open signal by opening (enabling) the primary gate. Here, the multiplexer switching number counter increments by one when switching is detected, and resets the count when response frame processing is completed. In the register selection state, when the transfer size in the control code becomes equal to the number of times of switching of the multiplexer, the state transits to the idle state. Here, the multiplex operation has been described by taking the multiplexer 104a of the input / output device 100a as an example, but the same processing is also performed in the demultiplexer 104b of the input / output device 100b.

このように、シーケンサ102aは、ROM101aで有効設定されたB,E,Wのステートにいるときだけ、マルチプレクサを動作させて、当該レジスタの内容をFIFO105aにセットするよう動作する(S406)。図7のステートマシンはループ構造になっているため、もし、先頭呼出し番号が“1”以外、例えば、“3”で、かつ転送サイズが“2”であると、B,Eのマルチプレクス制御を2つ分スキップし、WをFIFO105aにセットする。続いて、ループの結果、BをFIFO105aにセットするので、格納順番がW,Bとなる。   As described above, the sequencer 102a operates to operate the multiplexer and set the contents of the register in the FIFO 105a only when the sequencer 102a is in the B, E, or W state that is enabled in the ROM 101a (S406). Since the state machine of FIG. 7 has a loop structure, if the top call number is other than “1”, for example, “3” and the transfer size is “2”, the multiplex control of B and E is performed. Are skipped by two and W is set in the FIFO 105a. Subsequently, as a result of the loop, B is set in the FIFO 105a, so that the storage order is W and B.

次にFIFOセット完了数が転送サイズと等しくないか判断し(S407)、等しくなければ呼出し番号を順番指示に応じて1つ増加または1つ減少させる(S408)。そして、該呼出し番号における転送対象レジスタあるか判断し(S409)、転送対象レジスタがあればS406へ戻る。転送対象レジスタが無い場合には、シーケンサ102aが認識しているレジスタ数よりも多くの転送サイズが設定された要求フレームを前記シーケンサ102aが受信したと考えられるため、シーケンサ102aは、応答フレームに随伴させる処理識別番号(ループバック)を「応答失敗コード」に変換する(S410)。   Next, it is determined whether the FIFO set completion number is not equal to the transfer size (S407). If it is not equal, the call number is incremented by one or decremented by one according to the order instruction (S408). Then, it is determined whether there is a transfer target register for the call number (S409). If there is a transfer target register, the process returns to S406. If there is no transfer target register, it is considered that the sequencer 102a has received a request frame in which a transfer size larger than the number of registers recognized by the sequencer 102a is received. The processing identification number (loop back) to be converted is converted into a “response failure code” (S410).

一連の応答フレーム生成とFIFO105aへのセット処理が完了し(S406)、FIFOセット完了数が転送サイズと等しくなると(S407)、シーケンサ102は最後に、送信ポート108aを開放し、応答フレームを通信回線路001上に送出する(S411)。尚、前記読み出し応答フレームのフォーマットは、図13(A),(B)の通り、レジスタの内容によらず、連続に配置されている。このように必要なデータを連続配置することでバースト転送が可能になり、結果的にフレーム通信の転送効率を向上させることができる。   When a series of response frame generation and set processing to the FIFO 105a is completed (S406), and the FIFO set completion count becomes equal to the transfer size (S407), the sequencer 102 finally opens the transmission port 108a and transmits the response frame to the communication line. The data is sent out on the path 001 (S411). The format of the read response frame is continuously arranged irrespective of the contents of the register as shown in FIGS. By continuously arranging necessary data in this way, burst transfer is possible, and as a result, the transfer efficiency of frame communication can be improved.

続いて、図4の中央制御装置200の制御運転についての説明に戻る。中央制御装置200は入出力装置100aからの応答フレームの受信があるか判断し(S312)、要求フレーム送信後、シーケンサ202は、タイムアウト規定内に、入出力装置100aからの応答フレームを受信できなければ、直ちにエラー処理を実施する(S313,S321)。エラー処理については、例えば緊急停止や、制御を安全側に移行する処理等がある。   Subsequently, the description returns to the control operation of the central controller 200 of FIG. The central controller 200 determines whether a response frame has been received from the input / output device 100a (S312). After transmitting the request frame, the sequencer 202 must be able to receive the response frame from the input / output device 100a within the time-out rule. If so, error processing is immediately performed (S313, S321). Examples of error processing include emergency stop and processing for shifting control to the safe side.

シーケンサ202は、タイムアウト規定内に応答フレームを受信すると、処理識別番が要求フレーム発行時と一致であることを確認する(S314)。さらには、フレーム内容から当該フレームの送信元ノード番号と要求フレーム発行時の宛先ノード番号とが一致していることも同様に確認する(S315)。一致を確認したら、もともと要求フレームヘッダに格納されていた制御コードから、読み出し指示,先頭呼出し番号,転送サイズを解析し(S316)、その結果、FIFO205からの入力制御情報として、レジスタB,E,Wを読み込み(S317)、構成情報テーブル211で設定された主メモリ210のヘッダアドレス0x0058を先頭に、順番にセットする(S319)。すなわち、シーケンサ202は、書き出し完了数が転送サイズと等しいかどうか判断し(S319)、転送サイズと等しくなるまで指示アドレスを増加させて(S320)、S317へ戻ることで、レジスタB,E,Wを主メモリ210へセットする。一連の応答受信処理が完了したら、構成情報テーブルへの読み出しインデックス番号を1つ増加させ、次ノードに対する処理を同様に行う(S322)。   When the sequencer 202 receives the response frame within the timeout rule, the sequencer 202 confirms that the process identification number is the same as when the request frame is issued (S314). Furthermore, it is similarly confirmed from the frame contents that the transmission source node number of the frame matches the destination node number at the time of issuing the request frame (S315). When the match is confirmed, the read instruction, the head call number, and the transfer size are analyzed from the control code originally stored in the request frame header (S316), and as a result, as input control information from the FIFO 205, registers B, E, W is read (S317), and the header address 0x0058 of the main memory 210 set in the configuration information table 211 is set in order with the header address 0x0058 (S319). That is, the sequencer 202 determines whether or not the number of write completions is equal to the transfer size (S319), increases the instruction address until it becomes equal to the transfer size (S320), and returns to S317, thereby register B, E, W Is set in the main memory 210. When a series of response reception processing is completed, the read index number for the configuration information table is incremented by 1, and the processing for the next node is similarly performed (S322).

シーケンサ202は、制御通信停止指示を受けつけるまで、これらの処理を繰り返し実施する(S323)。インデックス番号が、最終ノード番号までに達した場合は、最初のインデックス番号(#0)に戻し、処理をサイクリックに継続する。もし、応答フレームの処理識別番号から一致が確認できなかった場合は、エラー処理を実施する。以上が、入出力装置からの入力制御情報を中央制御装置に転送するまでの流れである。   The sequencer 202 repeatedly performs these processes until receiving a control communication stop instruction (S323). When the index number reaches the final node number, the index number is returned to the first index number (# 0), and the process is continued cyclically. If a match cannot be confirmed from the processing identification number of the response frame, error processing is performed. The above is the flow until the input control information from the input / output device is transferred to the central control device.

続いて、出力制御情報書き出しにおける制御運転について、中央制御装置200から入出力制御装置100bに対する一連の処理を、入出力制御装置100aに対する処理と同様に図4を用いて説明する。中央制御装置200のシーケンサ202は、図4フローチャートにて、構成情報テーブル211から読み出した入出力装置100bへの要求フレームヘッダにおける指示の種類を判断し(S306)、指示が書き出し指示であるので前記構成情報テーブル211に設定されたヘッダアドレス0x0064を先頭に、転送サイズ=“2”個分の出力制御情報C,Yを主メモリ210から順番に読み出し(S307)、FIFO206にセットする(S308)。そして、読み込み完了数が転送サイズに等しくなったか判断し(S309)、等しくなければ指示アドレスを増加させて(S310)、S307へ戻る。読み込み完了数が転送サイズに等しくなったら、送信ポート208を開放し、要求フレームを通信回線路001上に送出する(S311)。尚、前記書き出し要求フレームのフォーマットを図14に示す。前記読み出し応答フレームのフォーマット同様、バースト転送によりフレーム通信の転送効率が向上する。   Next, a series of processing from the central control device 200 to the input / output control device 100b will be described with reference to FIG. 4 in the same manner as the processing for the input / output control device 100a. The sequencer 202 of the central control device 200 determines the type of instruction in the request frame header read from the configuration information table 211 to the input / output device 100b in the flowchart of FIG. 4 (S306). With the header address 0x0064 set in the configuration information table 211, the output control information C and Y for transfer size = “2” is read out from the main memory 210 in order (S307), and set in the FIFO 206 (S308). Then, it is determined whether the read completion number is equal to the transfer size (S309). If not equal, the instruction address is increased (S310), and the process returns to S307. When the read completion number becomes equal to the transfer size, the transmission port 208 is opened and a request frame is sent out on the communication line 001 (S311). The format of the write request frame is shown in FIG. Similar to the format of the read response frame, the transfer efficiency of frame communication is improved by burst transfer.

続いて、入出力装置100bの制御運転における応答処理について、図6のフローチャートを用いて説明する。入出力装置100bは、先述の要求フレームを受信したら(S501)、初期設定時と同様にシーケンサ102bが、要求フレーム内の送信先ノード番号と、ノードSW113から読み込んだ自ノード番号の照合を行う(S502)。ノード番号が一致したら、シーケンサ102bは、応答フレームヘッダに、送信元ノード番号(ここでは、入出力装置100bのノード番号)と、送信先ノード番号(中央制御装置200のノード番号)、及び要求フレームに随伴していた処理識別番号(ループバック)をセットする。その後、応答フレームヘッダの内容をFIFO105bにセットする(S503)。尚、一致しなかった場合は、当該フレームを破棄し、引き続き新たなフレームを監視する。   Next, response processing in the control operation of the input / output device 100b will be described with reference to the flowchart of FIG. When the input / output device 100b receives the request frame described above (S501), the sequencer 102b collates the transmission destination node number in the request frame with its own node number read from the node SW 113 in the same manner as in the initial setting (S501). S502). If the node numbers match, the sequencer 102b adds the transmission source node number (here, the node number of the input / output device 100b), the transmission destination node number (the node number of the central controller 200), and the request frame to the response frame header. Set the process identification number (loopback) associated with. Thereafter, the content of the response frame header is set in the FIFO 105b (S503). If they do not match, the frame is discarded and a new frame is continuously monitored.

続いて、シーケンサ102bは、ROM101bを読み込み済(初期設定完了済)であるか判断する(S504)。初期設定完了済みであれば、要求フレーム内の制御コードを読み込み(S505)、処理を継続する。次に、シーケンサ102bは、要求フレーム内の制御コードを解析し、先頭呼出し番号“1”に該当するレジスタパスをデマルチプレクサ114で切替えてFIFO116の制御出力情報CをレジスタCにセットする(S506)。そして、2番目の呼出し番号に該当するレジスタパスをデマルチプレクサ114で切替えてFIFO116の制御出力情報YをレジスタYにセットする。すなわちレジスタセット完了数が転送サイズと等しくないか判断し、等しくなければ呼出し番号を1つ増加し(S508)、該呼出し番号における転送対象のレジスタがあるか判断し(S509)、レジスタがあればS506へ戻ることでレジスタC、Yが順にセットされる。   Subsequently, the sequencer 102b determines whether the ROM 101b has been read (initial setting completed) (S504). If initialization has been completed, the control code in the request frame is read (S505), and the process is continued. Next, the sequencer 102b analyzes the control code in the request frame, switches the register path corresponding to the head call number “1” with the demultiplexer 114, and sets the control output information C of the FIFO 116 in the register C (S506). . Then, the register path corresponding to the second call number is switched by the demultiplexer 114 and the control output information Y of the FIFO 116 is set in the register Y. That is, it is determined whether the number of register set completions is not equal to the transfer size. If it is not equal, the call number is incremented by 1 (S508), and it is determined whether there is a transfer target register at the call number (S509). By returning to S506, the registers C and Y are set in order.

尚、呼出し番号が“1”以外におけるシーケンサ102bのデマルチプレクサ制御は、先述の読み出し制御と同様に、転送レジスタ切替えのスキップや、ループを行う。また、S509で該呼出し番号における転送対象のレジスタが無い場合には、シーケンサ102bは、ROM101bで取得した転送サイズよりも大きい転送サイズの制御コードを受信したと判断して、先述の読み出し制御時と同様に「応答失敗コード」を生成する(S510)。   Note that the demultiplexer control of the sequencer 102b when the call number is other than “1” performs transfer register switching skipping or looping as in the above-described read control. If there is no transfer target register in the call number in S509, the sequencer 102b determines that it has received a control code having a transfer size larger than the transfer size acquired by the ROM 101b, Similarly, a “response failure code” is generated (S510).

一連のレジスタセット、及び応答フレームの生成処理が完了したら、最後にシーケンサ102bは、送信ポート1108bを開放し、応答フレームを通信回線路001上に送出し(S511)、処理を終了する(S512)。   When the series of register set and response frame generation processing is completed, the sequencer 102b finally opens the transmission port 1108b, sends the response frame onto the communication line 001 (S511), and ends the processing (S512). .

続いて、図4の中央制御装置200の制御運転についての説明に戻る。中央制御装置200は入出力装置100bからの応答フレームの受信があるか判断し(S312)、要求フレーム送信後、シーケンサ202は、タイムアウト規定内に、入出力装置100aからの応答フレームを受信できなければ、直ちにエラー処理を実施する(S313,S321)。   Subsequently, the description returns to the control operation of the central controller 200 of FIG. The central controller 200 determines whether or not a response frame has been received from the input / output device 100b (S312). After transmitting the request frame, the sequencer 202 must not be able to receive the response frame from the input / output device 100a within the timeout rule. If so, error processing is immediately performed (S313, S321).

シーケンサ202は、タイムアウト規定内に応答フレームを受信すると、処理識別番が要求フレーム発行時と一致であることを確認する(S314)。さらには、フレーム内容から当該フレームの送信元ノード番号と要求フレーム発行時の宛先ノード番号とが一致していることも同様に確認する(S315)。一致を確認したら、そのまま処理を完了するが、一致を確認できなかったらエラー処理を実施する(S321)。その後、構成情報テーブルへの読み出しインデックス番号を1つ増加させ、以降は読み出し制御時と同等となる。以上が、中央制御装置から出力制御情報を入出力装置に転送するまでの流れである。   When the sequencer 202 receives the response frame within the timeout rule, the sequencer 202 confirms that the process identification number is the same as when the request frame is issued (S314). Furthermore, it is similarly confirmed from the frame contents that the transmission source node number of the frame matches the destination node number at the time of issuing the request frame (S315). If the match is confirmed, the process is completed as it is, but if the match is not confirmed, an error process is performed (S321). Thereafter, the read index number for the configuration information table is incremented by one, and the subsequent steps are the same as those during read control. The above is the flow until the output control information is transferred from the central control device to the input / output device.

ここまでは、中央制御装置と入出力装置間のレジスタ転送効率化と、使用メモリの最適化に関する説明である。もし、入出力装置100a,100bが、ROM101a,101bからの初期設定を完了しないうちに、中央制御装置からの入出力制御情報の要求フレームを受信した場合は、各入出力装置100a,100bは、転送データ無効として、「応答失敗コード」で応答する。   Up to this point, the description has been made on the efficiency of register transfer between the central control unit and the input / output device and the optimization of the memory used. If the input / output devices 100a and 100b receive a request frame for input / output control information from the central controller before completing the initial setting from the ROMs 101a and 101b, the input / output devices 100a and 100b Reply with "response failure code" as invalid transfer data.

ここで図8,図10〜図15に示すように、前述の主メモリ210内の構成情報テーブルの詳細と、前述の要求,応答フレームについて説明する。   Here, as shown in FIGS. 8 and 10 to 15, the details of the configuration information table in the main memory 210 and the request and response frames will be described.

図8は、主メモリ210に記憶される構成情報テーブルを示す図である。図のように主メモリ210には各入出力装置に対応して、ノード別の入出力制御エリアのヘッダアドレス及びエンドアドレスと、入出力装置の詳細構成情報と、読み出し又は書き出しを示す指示種と、呼出し番号とが記憶されている。ここで詳細構成情報の例としては、入出力装置の形式や、入出力の点数などがある。   FIG. 8 is a diagram showing a configuration information table stored in the main memory 210. As shown in the figure, in the main memory 210, corresponding to each input / output device, the header address and end address of the input / output control area for each node, detailed configuration information of the input / output device, and an instruction type indicating reading or writing are shown. The call number is stored. Here, examples of the detailed configuration information include the type of input / output device and the number of input / output points.

図10,図11は、それぞれ構成情報問合せ要求フレームと、構成情報問合せ応答フレームを示す図である。それぞれのフレームのヘッダは、送信元ノード番号と、送信先ノード番号と、処理識別番号とから構成される。また、構成情報問合せ要求フレームは、制御コードとして構成情報取得指示がセットされ、その応答として構成情報問合せ応答フレームは、構成情報(ROMの内容)がセットされる。ここで、構成情報問合せ応答フレームは、応答失敗時には応答失敗コードも示す。   10 and 11 are diagrams showing a configuration information inquiry request frame and a configuration information inquiry response frame, respectively. Each frame header includes a transmission source node number, a transmission destination node number, and a processing identification number. The configuration information inquiry request frame is set with a configuration information acquisition instruction as a control code, and the configuration information inquiry response frame is set with configuration information (contents of the ROM) as a response. Here, the configuration information inquiry response frame also indicates a response failure code when the response fails.

図12,図13はそれぞれ制御情報読み出し要求フレームと、制御情報読み出し応答フレームを示す図である。それぞれのフレームのヘッダは、送信元ノード番号と、送信先ノード番号と、処理識別番号とから構成される。また、制御情報読み出し要求フレームは、制御コードとして読み出し指示と、転送対象のレジスタの先頭呼出し番号と、転送サイズと、転送するレジスタの順番と、がセットされる。その応答として図13(A)の制御情報読み出し応答フレームのように、レジスタB,E,Wのデータが順にセットされる。また、制御コードが変更されレジスタWから2つのレジスタを読み出す指示の場合には、図13(B)の制御情報読み出し応答フレームのようにレジスタW,Bのデータが順にセットされる。   12 and 13 are diagrams showing a control information read request frame and a control information read response frame, respectively. Each frame header includes a transmission source node number, a transmission destination node number, and a processing identification number. In the control information read request frame, a read instruction, a head call number of a register to be transferred, a transfer size, and an order of registers to be transferred are set as control codes. As a response, the data in the registers B, E, and W are sequentially set as in the control information read response frame in FIG. When the control code is changed and an instruction is given to read two registers from the register W, the data in the registers W and B are sequentially set as in the control information read response frame of FIG.

図14,図15は、それぞれ制御情報書き出し要求フレームと、制御情報書き出し応答フレームを示す図である。それぞれのフレームのヘッダは、送信元ノード番号と、送信先ノード番号と、処理識別番号とから構成される。また、制御情報書き出し要求フレームは、制御コードとして書き出し指示と、転送対象のレジスタの先頭呼出し番号と、転送サイズと、がセットされ、さらに、レジスタC,Yへ書き出すデータが順にセットされる。また、制御情報書き出し応答フレームでは、書き出したことを示す応答をすればよいのでヘッダのみで構成されるが、付加情報を加えてもよい。   14 and 15 are diagrams showing a control information write request frame and a control information write response frame, respectively. Each frame header includes a transmission source node number, a transmission destination node number, and a processing identification number. In the control information write request frame, a write instruction as a control code, a head call number of a register to be transferred, and a transfer size are set, and data to be written to the registers C and Y are set in order. Further, in the control information write response frame, it is only necessary to send a response indicating that it has been written, so it consists only of a header, but additional information may be added.

以上が、中央制御装置から出力制御情報を入出力装置に転送するまでの流れであるが、次に、CPU220から主メモリ210内ノード別入出力制御エリア212に対するソフトアクセス容易化について説明する。   The above is the flow from the central control device to transferring the output control information to the input / output device. Next, software access facilitation from the CPU 220 to the node-specific input / output control area 212 in the main memory 210 will be described.

先述のとおり、各ノードの入出力装置の入出力制御情報は、主メモリ210におけるアドレス配置が各ノードの転送サイズによって固定ではないため、ソフトウェアからのアクセスアドレスが分かりにくいという欠点がある。この欠点を解消するために、CPU220とメモリアクセスコントローラ201の間に、アドレス変換回路209を具備する。   As described above, the input / output control information of the input / output device of each node has a drawback that the access address from the software is difficult to understand because the address arrangement in the main memory 210 is not fixed depending on the transfer size of each node. In order to eliminate this drawback, an address conversion circuit 209 is provided between the CPU 220 and the memory access controller 201.

前記アドレス変換回路209は、CPU220から、ノード別入出力制御エリアへのアクセス要求があると、当該要求時に随伴される論理アドレスに該当するノードの構成情報の読み出しをシーケンサ202に依頼する。ここで論理アドレスとは、CPU220が管理しやすいように設定された仮想的なアドレスを示し、主メモリ210の実際のアドレスとは異なるものである。シーケンサ202は、同依頼から主メモリ210内の構成情報テーブルを読み出し、アクセス対象の制御情報が格納されているヘッダアドレスとエンドアドレスを取得し、CPU220からの論理アドレスを主メモリ210の実体アドレスに変換し、最後にノード別入出力制御エリア212にアクセスする。アクセスが読み出しならば、当該実体アドレスのメモリ内に格納されている制御情報を読み出し、アクセスが書き出しならば、当該実体アドレス内のメモリを書き換える。   When there is an access request to the node-specific input / output control area from the CPU 220, the address conversion circuit 209 requests the sequencer 202 to read the configuration information of the node corresponding to the logical address accompanying the request. Here, the logical address indicates a virtual address set so as to be easily managed by the CPU 220 and is different from the actual address of the main memory 210. The sequencer 202 reads the configuration information table in the main memory 210 from the request, acquires the header address and end address where the control information to be accessed is stored, and sets the logical address from the CPU 220 as the actual address of the main memory 210. Finally, the node-specific input / output control area 212 is accessed. If the access is read, the control information stored in the memory of the physical address is read. If the access is written, the memory in the physical address is rewritten.

一般的にソフトウェアがアクセスしやすい論理アドレスサイズは、2のべき乗倍であると言われる。その理由は、図9の通り、論理アドレスが、あるビット位置を境に、左がノード番号、右が当該ノード内におけるレジスタの呼出し番号というように、機能的に分類できるからである。これにより、ソフトウェアでは、ビットマスク等の処理が容易にできるようなり、ソフトの処理効率が向上する。   Generally, it is said that the logical address size that is easily accessible by software is a power of two. The reason is that, as shown in FIG. 9, logical addresses can be classified functionally, with a certain bit position as a boundary, a node number on the left and a call number of a register in the node on the right. As a result, the software can easily perform processing such as bit masking, and the processing efficiency of the software is improved.

以上のように本発明は、入出力装置の構成情報の複雑度に依らずに、フィールド通信を行う特に大規模なプラント制御システムの運用を最大限高速化することが可能となり、さらには中央制御装置のメモリサイズを冗長なく最適化することが可能となる。   As described above, the present invention can maximize the operation speed of a particularly large-scale plant control system that performs field communication regardless of the complexity of the configuration information of the input / output device. It is possible to optimize the memory size of the apparatus without redundancy.

すなわち従来は、中央制御装置が複数の入出力機能を持った入出力装置との通信を行う場合に、転送の必要なレジスタアドレス配置が離散することがあるため、転送を2回以上に分けるか、あるいは冗長なレジスタも含めて1回のバースト転送をしなければならず、制御通信の性能に影響を与えていた。これに対し本発明では、入出力装置各々が中央制御装置へ転送したいレジスタ領域を通知し、中央制御装置ではこれらレジスタを連続アドレスに自己配置変換することで、転送効率を向上させることができ、例えば複数の入出力装置のレジスタ等を共通のLSIとして共通部品化した場合であっても、各入出力装置のROMに構成情報を設定すれば中央制御装置のメモリ領域を最適化できるので、複数種の入出力装置を備える制御システムの運用を高速化することができる。   In other words, conventionally, when the central control unit communicates with an input / output device having a plurality of input / output functions, the register address arrangements that need to be transferred may be dispersed. Alternatively, a burst transfer must be performed once including a redundant register, which affects the performance of control communication. On the other hand, in the present invention, each input / output device notifies the central control device of the register area to be transferred, and the central control device can improve transfer efficiency by performing self-placement conversion of these registers into continuous addresses, For example, even if the registers of multiple input / output devices are shared as a common LSI, setting the configuration information in the ROM of each input / output device can optimize the memory area of the central control unit. The operation of a control system including various types of input / output devices can be speeded up.

さらには、本発明では転送サイズやアドレスの異なる各々の入出力装置が、中央制御装置に対して自身のレジスタ領域を転送する機構を、ハードウェアで構成するために、ソフトウェアで当該手段を実現するよりも、プラント制御システムの立上げ時の処理負担を軽減することができる。   Furthermore, in the present invention, each input / output device having a different transfer size or address transfers the register area of the input / output device to the central control device by hardware, so that the means is realized by software. Rather, it is possible to reduce the processing burden when starting up the plant control system.

さらには、中央制御装置は、複数の入出力装置ごとに設定されたレジスタ領域をソフトウェアがアクセスしやすい形態でアドレス変換することで、ソフトウェアの処理負担を低減するとともに、制御全体の高速化を図ることができる。   Furthermore, the central control unit converts the register area set for each of the plurality of input / output devices in an easy-to-access form for software, thereby reducing the software processing load and speeding up the overall control. be able to.

001 通信回線路
100 入出力装置(ノード#0)
100b 入出力装置(ノード#1)
101a ノード#0のROM(構成情報(入力制御用途:転送レジスタB,E,W等)を格納)
101b ノード#1のROM(構成情報(出力制御用途:転送レジスタC,Y等)を格納)
102a ノード#0のシーケンサ
102b ノード#1のシーケンサ
103a ノード#0のノードSW(スイッチ)
103b ノード#1のノードSW(スイッチ)
104a ノード#0のレジスタパスセレクト用マルチプレクサ/デマルチプレクサ
104b ノード#1のレジスタパスセレクト用マルチプレクサ/デマルチプレクサ
105a ノード#0の送信フレーム格納FIFO
105b ノード#1の送信フレーム格納FIFO
106a ノード#0の受信フレーム格納FIFO
106b ノード#1の受信フレーム格納FIFO
107a ノード#0の受信フレーム制御コード用バッファ
107b ノード#1の受信フレーム制御コード用バッファ
108a ノード#0の送信ポート
108b ノード#1の送信ポート
200 中央制御装置
201 メモリアクセスコントローラ
202 シーケンサ
203 要求フレームヘッダバッファ
204 応答フレームヘッダバッファ
205 中央制御装置の受信(応答)フレーム格納FIFO
206 中央制御装置の送信(要求)フレーム格納FIFO
207 中央制御装置の制御コード用バッファ
208 中央制御装置の送信ポート
209 中央制御装置のアドレス変換回路
210 中央制御装置の主メモリ
211 主メモリの構成情報テーブル
212 主メモリのノード別入出力制御エリア
220 中央制御装置のCPU(制御ソフトウェア)
001 Communication line 100 Input / output device (node # 0)
100b Input / output device (node # 1)
101a ROM of node # 0 (stores configuration information (input control use: transfer registers B, E, W, etc.))
101b ROM of node # 1 (stores configuration information (output control use: transfer registers C, Y, etc.))
102a Sequencer 102b of node # 0 Node b Sequencer 103a of node # 1 Node SW (switch) of node # 0
103b Node SW (switch) of node # 1
104a Node # 0 register path select multiplexer / demultiplexer 104b Node # 1 register path select multiplexer / demultiplexer 105a Node # 0 transmit frame storage FIFO
105b Transmission frame storage FIFO of node # 1
106a Receive frame storage FIFO of node # 0
106b Receive frame storage FIFO of node # 1
107a Node # 0 received frame control code buffer 107b Node # 1 received frame control code buffer 108a Node # 0 transmission port 108b Node # 1 transmission port 200 Central controller 201 Memory access controller 202 Sequencer 203 Request frame header Buffer 204 response frame header buffer 205 central control unit receive (response) frame storage FIFO
206 Central controller transmission (request) frame storage FIFO
207 Central control unit control code buffer 208 Central control unit transmission port 209 Central control unit address conversion circuit 210 Central control unit main memory 211 Main memory configuration information table 212 Main memory node-specific I / O control area 220 Central CPU (control software) of control device

Claims (9)

制御対象を監視制御する中央制御装置と、前記制御対象から入力されたデータを前記中央制御装置へ送信するか、または、前記中央制御装置から受信したデータを前記制御対象へ出力する複数の入出力装置と、を備え、前記複数の入出力装置それぞれは、前記制御対象から入力されたデータ、または、前記制御対象へ出力するデータを一時記憶する一時記憶手段を有する制御システムにおいて、
前記複数の入出力装置は、各々の前記一次記憶手段のうち、前記制御対象との間で入力または出力を行うための所定の領域を示す構成情報を記憶する構成情報記憶手段をそれぞれ備え、
前記複数の入出力装置は、各々の前記構成情報記憶手段に記憶された前記構成情報が示す領域を選択してデータを読み出すとともに、当該読み出したデータを前記中央制御装置へ送信するか、または、前記中央制御装置からデータを受信するとともに、各々の前記構成情報記憶手段に記憶された前記構成情報が示す領域を選択して当該受信したデータを書き出すことを特徴とする制御システム。
A central control device that monitors and controls a control target, and a plurality of inputs / outputs that transmit data input from the control target to the central control device or output data received from the central control device to the control target A control system having temporary storage means for temporarily storing data input from the control target or data to be output to the control target.
Each of the plurality of input / output devices includes a configuration information storage unit that stores configuration information indicating a predetermined area for performing input or output with the control target among the primary storage units.
The plurality of input / output devices select an area indicated by the configuration information stored in each of the configuration information storage means and read the data, and transmit the read data to the central control device, or A control system that receives data from the central control unit and writes the received data by selecting an area indicated by the configuration information stored in each of the configuration information storage means.
請求項1に記載の制御システムにおいて、
前記中央制御装置は、前記複数の入出力装置それぞれの前記一時記憶手段内の前記所定の領域から読み出したデータ、または、前記所定の領域へ書き出すデータを記憶する主メモリを有し、前記主メモリには、当該所定の領域から読み出したデータ、または、当該所定の領域へ書き出すデータが記憶される当該主メモリ内のアドレスを前記複数の入出力装置ごとに定める構成情報テーブルが記憶され、
前記中央制御装置は、
通信対象となる前記入出力装置が読み出したデータを受信し、前記構成情報テーブルを参照して当該入出力装置に定められた前記主メモリのアドレスへ当該読み出したデータを格納するか、または、
前記構成情報テーブルを参照して、通信対象となる前記入出力装置に定められた前記主メモリのアドレスから、前記一時記憶部へ書き出すデータを取出して当該入手出力装置へ書き出し命令を送信することを特徴とする制御システム。
The control system according to claim 1,
The central controller has a main memory for storing data read from the predetermined area in the temporary storage means of each of the plurality of input / output devices or data to be written to the predetermined area, and the main memory Is stored in the configuration information table for each of the plurality of input / output devices, the address in the main memory storing data read from the predetermined area or data to be written to the predetermined area,
The central controller is
The data read by the input / output device to be communicated is received, and the read data is stored in the address of the main memory determined in the input / output device with reference to the configuration information table, or
Referencing the configuration information table, extracting data to be written to the temporary storage unit from the address of the main memory determined for the input / output device to be communicated, and sending a write command to the obtained output device Feature control system.
請求項2に記載の制御システムにおいて、
前記中央制御装置は、論理アドレスに変換された前記主メモリ内のアドレスを用いてソフトウェア処理を行うCPUと、
前記CPUから前記主メモリへのアクセス要求を受付けると、前記構成情報テーブルを参照して前記論理アドレスが示す前記主メモリ内のアドレスを求めて当該アドレスへアクセスするアドレス変換手段と、を有する制御システム。
The control system according to claim 2,
The central control unit includes a CPU that performs software processing using an address in the main memory converted into a logical address;
A control system comprising: an address conversion unit that, upon receiving an access request to the main memory from the CPU, obtains an address in the main memory indicated by the logical address by referring to the configuration information table and accesses the address .
請求項2に記載の制御システムにおいて、
前記中央制御装置は、前記構成情報テーブルを定める際に、前記複数の入出力装置へ各々の前記構成情報を要求する構成情報要求フレームを送信し、
前記複数の入出力装置は、前記構成情報要求フレームを受信すると、各々の前記構成情報記憶手段から前記構成情報を読み出し、当該読み出した構成情報を含む構成情報応答フレームを前記中央制御装置へ送信し、
前記構成情報応答フレームを受信した前記中央制御装置は、前記複数の入出力装置の前記構成情報に基づいて前記構成情報テーブルを定めることを特徴とする制御システム。
The control system according to claim 2,
The central control device, when determining the configuration information table, transmits a configuration information request frame for requesting the configuration information to the plurality of input / output devices,
When the plurality of input / output devices receive the configuration information request frame, the plurality of input / output devices read the configuration information from each of the configuration information storage units, and transmit a configuration information response frame including the read configuration information to the central control device. ,
The central control device that has received the configuration information response frame determines the configuration information table based on the configuration information of the plurality of input / output devices.
請求項4に記載の制御システムにおいて、
前記複数の入出力装置は、各々の前記構成情報記憶手段から前記構成情報を読み出して前記中央制御装置へ送信する前に、前記中央制御装置から前記一時記憶手段からの読み出し要求、または、前記一時記憶手段への書き出し要求を受信した場合には、エラー応答を前記中央制御装置へ送信することを特徴とする制御システム。
The control system according to claim 4.
The plurality of input / output devices read out the configuration information from each of the configuration information storage units and transmit the configuration information to the central control unit, or read requests from the temporary storage unit from the central control unit, or temporarily An error response is transmitted to the central control unit when a write request to the storage means is received.
請求項1に記載の制御システムにおいて、
前記複数の入出力装置のうち少なくとも1つには、前記一次記憶手段のうち前記構成情報が示す領域のデータを逐次選択して取り出すマルチプレクサを有することを特徴とする制御システム。
The control system according to claim 1,
The control system according to claim 1, wherein at least one of the plurality of input / output devices includes a multiplexer that sequentially selects and extracts data in an area indicated by the configuration information in the primary storage unit.
請求項1に記載の制御システムにおいて、
前記中央制御装置は、前記複数の入出力装置へ、前記一時記憶手段からの読み出し、または、前記一時記憶手段への書き出しを要求する要求フレームを送信し、
前記要求フレームには通信を行うごとに、前記読み出し、または、書き出しを行う前記一時記憶手段の領域のサイズおよび順番が任意に設定されることを特徴とする制御システム。
The control system according to claim 1,
The central control device transmits a request frame requesting reading from the temporary storage means or writing to the temporary storage means to the plurality of input / output devices,
The control system is characterized in that the size and order of the area of the temporary storage means for performing the reading or writing are set arbitrarily for each communication of the request frame.
制御対象を監視制御する中央制御装置が、前記制御対象との間でデータの入力または出力を行う複数の入出力装置へ構成情報問合せフレームを送信するステップと、
前記構成情報問合せフレームを受信した前記複数の入出力装置が、各々の一時記憶手段のうち前記制御対象との間で入力または出力を行う所定の領域を示す構成情報を前記中央制御装置へ送信するステップと、
前記構成情報を受信した前記中央制御装置が、前記複数の入出力装置ごとの前記所定の領域に対応して主メモリ内に記憶領域を割当てるとともに、前記複数の入出力装置ごとに当該割当てた記憶領域との対応関係を示す構成情報テーブルを作成するステップと、を有する制御システムのメモリ制御方法。
A central control device that monitors and controls a control object, and transmits a configuration information inquiry frame to a plurality of input / output devices that perform data input or output with the control object;
The plurality of input / output devices that have received the configuration information inquiry frame transmit configuration information indicating a predetermined area to be input to or output from the control target in each temporary storage unit to the central control device. Steps,
The central control device that has received the configuration information allocates a storage area in a main memory corresponding to the predetermined area for each of the plurality of input / output devices, and stores the allocated storage for each of the plurality of input / output devices. Creating a configuration information table indicating a correspondence relationship with an area, a memory control method for a control system.
請求項8に記載の制御システムのメモリ制御方法において、
前記中央制御装置が、前記構成情報テーブルに基づいて前記一時記憶手段の所定の領域を指定し、前記制御対象から入力されたデータの読み出し要求を前記複数の入出力装置のうちいずれか1つへ送信するステップと、
前記読み出し要求を受信した前記入出力装置が、前記一時記憶手段のうち前記指定された領域のデータを読み出し、前記中央制御装置へ送信するステップと、
前記中央制御装置が、前記構成情報テーブルに基づいて前記一時記憶手段の所定の領域を指定して、前記制御対象へ出力するデータの書き出し要求を前記複数の入出力装置のうちいずれか1つへ送信するステップと、
前記書き出し要求を受信した前記入出力装置が、前記一時記憶手段のうち前記指定された領域にデータを書き出すステップと、を有する制御システムのメモリ制御方法。
The memory control method for a control system according to claim 8,
The central control device designates a predetermined area of the temporary storage means based on the configuration information table, and sends a read request for data input from the control target to any one of the plurality of input / output devices. Sending, and
The input / output device that has received the read request reads the data in the designated area of the temporary storage means, and transmits the data to the central control device;
The central control device designates a predetermined area of the temporary storage means based on the configuration information table, and sends a write request for data to be output to the control target to any one of the plurality of input / output devices. Sending, and
A memory control method for a control system, wherein the input / output device that has received the write request writes data to the designated area of the temporary storage means;
JP2011145157A 2011-06-30 2011-06-30 Plant control system Active JP5663418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011145157A JP5663418B2 (en) 2011-06-30 2011-06-30 Plant control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011145157A JP5663418B2 (en) 2011-06-30 2011-06-30 Plant control system

Publications (2)

Publication Number Publication Date
JP2013012106A true JP2013012106A (en) 2013-01-17
JP5663418B2 JP5663418B2 (en) 2015-02-04

Family

ID=47685925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011145157A Active JP5663418B2 (en) 2011-06-30 2011-06-30 Plant control system

Country Status (1)

Country Link
JP (1) JP5663418B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01315858A (en) * 1988-06-15 1989-12-20 Hitachi Ltd Data transfer control method and device
JPH0378064A (en) * 1989-08-21 1991-04-03 Nec Corp Input/output control system under integrated memory control of peripheral control part
JPH09319415A (en) * 1996-05-30 1997-12-12 Mitsubishi Electric Corp Buffer memory allocating method for communication in remote system for programmable controller and remote system for programmable controller
JPH10124438A (en) * 1996-10-17 1998-05-15 Nec Eng Ltd Input and output processor
JP2000137676A (en) * 1998-10-30 2000-05-16 Nec Eng Ltd Buffer control system
JP2002288104A (en) * 2001-03-28 2002-10-04 Nec Corp Computer system, and method and program for its resource assigning
JP2010237991A (en) * 2009-03-31 2010-10-21 Nec Corp Buffer degeneration system, device, and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01315858A (en) * 1988-06-15 1989-12-20 Hitachi Ltd Data transfer control method and device
JPH0378064A (en) * 1989-08-21 1991-04-03 Nec Corp Input/output control system under integrated memory control of peripheral control part
JPH09319415A (en) * 1996-05-30 1997-12-12 Mitsubishi Electric Corp Buffer memory allocating method for communication in remote system for programmable controller and remote system for programmable controller
JPH10124438A (en) * 1996-10-17 1998-05-15 Nec Eng Ltd Input and output processor
JP2000137676A (en) * 1998-10-30 2000-05-16 Nec Eng Ltd Buffer control system
JP2002288104A (en) * 2001-03-28 2002-10-04 Nec Corp Computer system, and method and program for its resource assigning
JP2010237991A (en) * 2009-03-31 2010-10-21 Nec Corp Buffer degeneration system, device, and method

Also Published As

Publication number Publication date
JP5663418B2 (en) 2015-02-04

Similar Documents

Publication Publication Date Title
CN100412848C (en) Computer architecture and software cells for broadband networks
KR100981461B1 (en) Communication chip and method for controlling the access to data in a message store in a communication chip by means of a message manager
JPH1049507A (en) Parallel computer
KR20070039120A (en) Method and device for accessing data of a message memory of a communication component
JP2004021556A5 (en)
JP2010165022A (en) Inter-processor communication device, inter-processor communication method, program, and recording medium
CN103218337A (en) SoC (System on Chip) and method for realizing communication between master modules and between slave modules based on wishbone bus
US20030195918A1 (en) System and method of scalable transaction processing
CN105677605A (en) Highly-efficient interconnected system capable of configuring chips and realization system thereof and device
CN108449289B (en) Dynamic management method and system for RapidIO switching equipment
CN1331070C (en) Method and equipment of data communication
US20090235048A1 (en) Information processing apparatus, signal transmission method, and bridge
CN103312614A (en) Multicast message processing method, line card and communication device
JP5663418B2 (en) Plant control system
US20150148918A1 (en) Optimized communications with hart instruments
KR100388342B1 (en) Multi-ported memory with asynchronous and synchronous protocol
KR20030083572A (en) Microcomputer system having upper bus and lower bus and controlling data access in network
US5528768A (en) Multiprocessor communication system having a paritioned main memory where individual processors write to exclusive portions of the main memory and read from the entire main memory
JP2006518069A (en) Processor array
KR20150120027A (en) Method for accessing memory in computer system
JP2007128385A (en) Transmission device, transmission system and exclusive control method for update data
JP2010244469A (en) Distributed processing system and distributed processing method
JPH06274463A (en) Data communication system
JP2567063B2 (en) Polling method
JP2001313659A (en) Field device communication apparatus in distributed control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130513

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140715

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140912

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141208

R150 Certificate of patent or registration of utility model

Ref document number: 5663418

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150