JPH03142597A - Device and method for transmission processing - Google Patents

Device and method for transmission processing

Info

Publication number
JPH03142597A
JPH03142597A JP28073789A JP28073789A JPH03142597A JP H03142597 A JPH03142597 A JP H03142597A JP 28073789 A JP28073789 A JP 28073789A JP 28073789 A JP28073789 A JP 28073789A JP H03142597 A JPH03142597 A JP H03142597A
Authority
JP
Japan
Prior art keywords
logical address
data
transmission processing
memory
central monitoring
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
JP28073789A
Other languages
Japanese (ja)
Other versions
JPH0786955B2 (en
Inventor
Tetsuo Kimura
木村 徹男
Katsuhiro Kishimura
岸村 勝弘
Koji Ouchi
浩司 大内
Hideto Amamiya
秀人 雨宮
Koji Kobayashi
孝次 小林
Atsushi Katsumata
敦 勝亦
Tsukasa Nara
司 奈良
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.)
Nittan Co Ltd
Azbil Corp
Original Assignee
Nittan Co Ltd
Azbil Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nittan Co Ltd, Azbil Corp filed Critical Nittan Co Ltd
Priority to JP1280737A priority Critical patent/JPH0786955B2/en
Publication of JPH03142597A publication Critical patent/JPH03142597A/en
Publication of JPH0786955B2 publication Critical patent/JPH0786955B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce probability for erroneous data to be set by storing new processing data, which are sent from a central monitoring device, to the memory of a transmission processor in a terminal and updating a buffer based on the contents of the memory corresponding to an instruction from the central monitoring device. CONSTITUTION:The processing of data transfer between the central monitoring device and the terminal is executed through a control part 20 based on the processing data stored in the buffer built in the control part 20 of a transmission processor 10 on the terminal side. The new processing data to be sent from the central monitoring device are written into a non-volatile memory 21 of the processor 10 and corresponding to the command from the central monitoring device, the contents of the buffer are updated based on the contents of the memory 21. Accordingly, the change command can be outputted at the original logical address or transmission speed while specifying the transmission processor and the probability is reduced for the erroneous processing data to be set. Then, reliability is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、中央監視制御装置との間で情報の伝送が行な
われる端末器などに用いられる伝送処理装置及び伝送処
理方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a transmission processing device and a transmission processing method used in terminal devices and the like that transmit information to and from a central supervisory control device.

〔従来の技術〕[Conventional technology]

一般に、防災システムや防犯システムなどの監視制御シ
ステムでは、主として建物の各所に配置された温度セン
サ、煙濃度センサ、防犯センサなどの各種検知機器や警
報器などの各種被制御機器を中央監視制御装置によって
集中監視制御するようにしている。この際に、各種検知
機器、各種披制n機器に対応させてそれぞれ端末器が設
けられており、中央監視制御装置は、各種検知機器、各
種被制御機器をそれぞれに対応した端末器を介して制御
するようになっている。すなわち中央監視制御装置は制
御用の各種の指令を端末器に送信し、また端末器はこれ
に応答して所定の情報を中央監視制御装置に返送するよ
うになっている。
In general, in monitoring and control systems such as disaster prevention systems and crime prevention systems, a central monitoring and control system mainly controls various detection devices such as temperature sensors, smoke concentration sensors, and security sensors, and various controlled devices such as alarms, which are placed in various parts of the building. Centralized monitoring and control is implemented. At this time, terminals are provided corresponding to the various detection devices and various control devices, and the central monitoring and control device connects the various detection devices and various controlled devices via the corresponding terminals. It is meant to be controlled. That is, the central supervisory control device transmits various commands for control to the terminal devices, and the terminal devices respond to these and send predetermined information back to the central supervisory control device.

各端末器には、中央監視制御装置との間で伝送される指
令、情報の処理、飼えば検知機器からの情報を中央監視
制御装置に送出したりあるいは中央監視制御装置からの
指令を被制御機器に与えたりするなどの処理等を行なう
ために、伝送処理装置か設けられており、伝送処理装置
内には、中央監視制御装置からアドレスポーリングがな
されるよう物理アドレス、論理アドレスや伝送速度がそ
れぞれ設定されるようになっている。例えば論理アドレ
スの最初の設定を行なうには、中央監視制御装置は、先
つ物理アドレスを送出し、この物理アドレスをもつ端末
器を特定し、しかる後に物理アドレスのビット数(例え
ば23ビツト)に比べてはるかに少ないビット数(例え
ば8ビツト)をもつ論理アドレスを送出することにより
、この端末器に論理アドレスを設定する。このようにし
て論理アドレスが設定された後は、中央監視制御装置は
物理アドレスに比べてビット数の少ない論理アドレスを
用いて端末器を迅速にアドレスポーリングする。
Each terminal device processes commands and information transmitted to and from the central monitoring and control device, sends information from the pet detection device to the central monitoring and control device, or receives commands from the central monitoring and control device to be controlled. A transmission processing device is installed to perform processing such as giving information to devices, and the transmission processing device contains physical addresses, logical addresses, and transmission speeds so that address polling can be performed from the central monitoring and control device. They are set individually. For example, to perform the initial setting of a logical address, the central supervisory control unit first sends out a physical address, identifies the terminal with this physical address, and then changes the number of bits of the physical address (for example, 23 bits). A logical address is set for this terminal device by sending a logical address with a much smaller number of bits (e.g. 8 bits). After the logical address is set in this manner, the central supervisory control unit quickly polls the terminal device using the logical address, which has a smaller number of bits than the physical address.

ところで、論理アドレスや伝送速度を変更しようとする
ときには、中央監視制御装置は現在設定されている論理
アドレスを送出してこの論理アドレスをもつ端末器を特
定し、しかる後に新しい論理アドレスや伝送速度のデー
タを送出するが、従来の伝送処理装置では、新しい論理
アドレスや伝送速度が送られると、端末器ではこれを、
それまでの論理アドレスや伝送速度が格納されていた箇
所に直接格納するようになっていた。
By the way, when attempting to change the logical address or transmission speed, the central monitoring and control unit sends out the currently set logical address, identifies the terminal device with this logical address, and then changes the new logical address or transmission speed. However, with conventional transmission processing equipment, when a new logical address or transmission speed is sent, the terminal device transmits the data.
It was now stored directly in the same location where logical addresses and transmission speeds were previously stored.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

この結果、中央監視制御装置からの新しい論理アドレス
や伝送速度が誤まっている場合にも端末器にはこの新し
い論理アドレスや伝送速度が直接設定されてしまう、こ
のように新たな論理アドレスや伝送速度が設定されたと
きには、いままで設定されていた論理アドレスや伝送速
度が消されてしまうので、中央監視制御装置は、新しい
論理アドレスや伝送速度を端末器に送出して新しいデー
タが正しく設定されたか否かを確認するしかなく、新し
い論理アドレスや伝送速度が何らかの要因で誤まって設
定された場合には、この端末器内で中央監視制御装置か
ら送られる論理アドレスとの一致がとれず、この場合に
はこの端末器を割出すのに煩雑な操作、労力を費やさね
ばならないという問題があった。
As a result, even if the new logical address or transmission speed from the central monitoring and control unit is incorrect, the new logical address or transmission speed will be directly set on the terminal device. When the speed is set, the previously set logical address and transmission speed are erased, so the central monitoring and control unit sends the new logical address and transmission speed to the terminal so that the new data can be set correctly. If the new logical address or transmission speed is incorrectly set for some reason, it will not match the logical address sent from the central monitoring and control unit within this terminal device. In this case, there is a problem in that complicated operations and labor are required to index the terminal device.

本発明は、論理アドレスや伝送速度を変更する際に、中
央監視制御装置から送られる論理アドレスや伝送速度の
データが誤まっている場合にも、これを容易に確認する
ことができて、誤まった論理アドレスや伝送速度が設定
される確率を著しく軽減し信頼性を向上させることの可
能な伝送処理装置及び伝送処理方法を提供することを目
的としている。
The present invention makes it possible to easily check even if the logical address or transmission speed data sent from the central monitoring and control device is incorrect when changing the logical address or transmission speed. It is an object of the present invention to provide a transmission processing device and a transmission processing method that can significantly reduce the probability that a wrong logical address or transmission speed will be set and improve reliability.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、本発BJIは、中央監視制
御装置との間で伝送処理を行なう伝送処理装置において
、該伝送処理装置は、伝送処理に関する所定の制御を行
なう制御部と、書込み可能なメモリとを備えており、前
記制御部は、前記中央監視制御装置と伝送処理装置との
間での伝送処理に必要なデータが設定されるバッファを
有し、前記メモリには、前記バッファに設定されている
データを変更するために中央監視制御装置から送られる
新しいデータが保持されるようになっており、メモリに
保持された新しいデータは、中央監視制御装置からの指
示によって前記バッファに設定されるようになっている
In order to achieve the above purpose, the present BJI provides a transmission processing device that performs transmission processing with a central monitoring and control device, which includes a control unit that performs predetermined control regarding transmission processing, and a writable The control unit includes a buffer in which data necessary for transmission processing between the central supervisory control device and the transmission processing device is set, and the memory includes a New data sent from the central supervisory control unit to change the set data is held, and the new data held in memory is set in the buffer according to instructions from the central supervisory control unit. It is now possible to do so.

また前記メモリは、不揮発性のものであって、前記制御
部と同一の基板上に実装されているのが良い。
Further, it is preferable that the memory is non-volatile and mounted on the same substrate as the control section.

さらに伝送処理方法としては、中央監視制御装置と端末
器との間での伝送処理に必要なデータが端末器に設定さ
れているときに、該データを変更するための新しいデー
タか中央監視制御装置から送られると、端末器では新し
いデータを一旦保持し、中央監視制御装置から指示が送
られたときに、該新しいデータを旧いデータにかわって
設定する。
Furthermore, as a transmission processing method, when the data necessary for transmission processing between the central supervisory control unit and the terminal device is set in the terminal unit, new data to change the data or the central supervisory control unit When the data is sent from the central monitoring and control unit, the terminal temporarily holds the new data and sets the new data in place of the old data when an instruction is sent from the central monitoring and control unit.

〔作用〕[Effect]

上記のような梢或の伝送処理装置では、中央監視制御装
置から論理アドレスや伝送速度を変更するための新しい
データが送られると、これを−時保持した後、中央監視
制御装置に返送する。中央監視制御装置では、例えば、
伝送処理装置に保持された新しいデータが正しいか否か
を確認し、これか正しいものであることを確認した上で
指令を出し、この指令により伝送処理装置では、保持し
た新しい論理アドレスや伝送速度のデータを旧いデータ
にかわって設定し、データを変更する。なお上記手順に
おいて、伝送処理装置には新しいデータか設定されるま
でいままでの論理アドレスや伝送速度か設定されている
ので、中央監視制御装置はこの論理アドレスで伝送処理
装置を特定し変更時の指令を出すことができる。
When a transmission processing device such as the one described above receives new data for changing the logical address or transmission speed from the central supervisory control unit, it holds this data for - hours and then returns it to the central supervisory control unit. In a central monitoring and control unit, for example,
After confirming whether the new data held in the transmission processing device is correct, a command is issued after confirming that the new data is correct. Based on this command, the transmission processing device changes the stored new logical address and transmission speed. Set the data in place of the old data and change the data. In the above procedure, the transmission processing device is set to the previous logical address and transmission speed until new data is set, so the central monitoring and control device identifies the transmission processing device using this logical address and changes the transmission processing device. Can issue commands.

〔実旅例〕[Actual travel example]

以下、本発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

第1図は本発明の伝送処理装置を適用した監視制御シス
テムの概略ブロック図である。第1図を参照すると、中
央監視制御装置1には、共通の伝送線路3を介して少く
とも1つの端末器2が接続されている。第2図は各端末
器2の構成図である。
FIG. 1 is a schematic block diagram of a supervisory control system to which a transmission processing device of the present invention is applied. Referring to FIG. 1, at least one terminal device 2 is connected to a central supervisory control device 1 via a common transmission line 3. As shown in FIG. FIG. 2 is a configuration diagram of each terminal device 2. As shown in FIG.

各端末器2は、温度センサ1煙濃度センサ、 1115
犯センサ等の検知機器4やV報器等の被制御機器5の各
々に対応させて設けられており、端末器2内には検知機
器4から情報を得てこれを中央監視制御装置1に送る制
御や中央監視制御装置1から送られた指令を解析し検知
機器4.被制御機器5に対し所定の制御などを行なう伝
送処理装置10と、伝送処理装置10から中央監視制御
装置1へ送出される情報TXを中央監視制御装置1@に
適した形に変換する処理や中央監視制御装置1から送ら
れる指令としての情報を伝送処理装置10に適した形の
情報RXに変換したりする処理を行なう入出力回路11
とが設けられている。
Each terminal device 2 includes a temperature sensor 1 a smoke concentration sensor, 1115
It is provided corresponding to each of the detection equipment 4 such as a crime sensor and the controlled equipment 5 such as a V alarm, and the terminal 2 receives information from the detection equipment 4 and sends it to the central monitoring and control device 1. A detection device 4. Analyzes the control sent and commands sent from the central monitoring and control device 1. A transmission processing device 10 that performs predetermined control on the controlled equipment 5, and processing that converts information TX sent from the transmission processing device 10 to the central monitoring and control device 1 into a form suitable for the central monitoring and control device 1@. An input/output circuit 11 that performs processing such as converting information as a command sent from the central monitoring and control device 1 into information RX in a format suitable for the transmission processing device 10.
and is provided.

第3図(a)は中央監視制御装置1から端末器2に対し
て送出される指令のフォーマットの一例を示した図であ
り、この指令にはヘッダHDと、伝送タイプM Tと、
アドレスADDRと、データDT1と、返送タイミング
TMとが含まれている。
FIG. 3(a) is a diagram showing an example of the format of a command sent from the central monitoring and control device 1 to the terminal device 2, and this command includes a header HD, a transmission type MT,
It includes address ADDR, data DT1, and return timing TM.

なお伝送タイプMTは後述するように、端末器2へ種々
の型式の指示を与えるための情報であり、またアドレス
ADDRとしては物理アドレスまたは論理アドレスを指
定することができる。また第3図(b)は中央監視制御
装置1からの指令に応答して端末器2から中央監視制御
装置1に送出される情報のフォーマットの一例を示す図
であって、この情報には返送タイミングTMに応答して
送出される返送データDT2が含まれている。
As will be described later, the transmission type MT is information for giving various types of instructions to the terminal device 2, and as the address ADDR, a physical address or a logical address can be specified. FIG. 3(b) is a diagram showing an example of the format of information sent from the terminal device 2 to the central monitoring and controlling device 1 in response to a command from the central monitoring and controlling device 1. Contains return data DT2 sent in response to timing TM.

第4図は本実施例の伝送処理装置10のブロック図であ
って、この伝送処理装置10内には、伝送処理に関する
所定の制御を行なう制御部20と、所定の情報を保持す
る書込み可能なメモリ21とが設けられている。
FIG. 4 is a block diagram of the transmission processing device 10 of this embodiment, and the transmission processing device 10 includes a control section 20 that performs predetermined control regarding transmission processing, and a writable section 20 that holds predetermined information. A memory 21 is provided.

第5図は第4図に示す伝送処理装置10のより具体的な
構成例を示す図であって、第5図を参照すると、制御部
20は、中央監視制御装置1からの指令すなわち情報R
Xを受信する受信インタフェース30と、中央監視制御
装置1からの情報Rxのうちで、ヘッダHDに続いて送
られる伝送タイプMT、アドレスADDR(物理アドレ
スまたは論理アドレス)、データDT1をそれぞれ記憶
する伝送タイプレジスタ31.アドレスレジスタ32.
データレジスタ33と、f云送タイフ゛レジスタ31に
記憶されている伝送タイプMTを識別し、伝送タイプM
Tに応じた制御を行なうタイプ識別部34と、端末器2
に固有の物理アドレスか設定される物理アドレスバッフ
ァ35と、端末器2に固有の論理アドレスが設定される
論理アドレスバッファ36と、アドレスレジスタ32に
物理アドレスが記憶されるときにこれを物理アドレスバ
ッファ35に設定されている物理アドレスと比較し、ま
たアドレスレジスタ32に論理アドレスが記憶されると
きにこれを論理アドレスバッファ36に設定されている
論理アドレスと比較するアドレスコンパレータ37と、
データレジスタ33に記憶されているデータD T 1
をう・ンチし検知機器4.被制御機器5に対してデジタ
ル信号り。として出力するラッチ回路38と、検知信号
を内部で所定の値と比較してデジタル信号力する感知器
等が検知a器4として用いられる場合には、この検知機
器4からのデジタル信号D1か入力しデジタル信号D 
に対してサンプリング処理を施すサンプリング回路3つ
と、検知機器4としてアナログセンサが用いられる場合
に、この検知機器4からのアナログ信号A が入力し、
これをデジタル信号に変換するA/D変換器40と、サ
ンプリング回路3つまたはA/D変換器40からのデー
タF あるいはメモリ21から読出された情報F2が返
送データD T  として記憶される返送データレジス
タ41と、返送データレジスタ41に記憶されている返
送データDT  を情報TXとして中央監視制御装置1
に送信する送信インタフェース42と、所定の閾値1゛
Hを記憶する閾値バ・ノファ43と、闇値バッファ43
に記憶されている閾値THとA/D変換器40からのデ
ータF1との大きさを比較し、例えばデータF1か閾値
T Hよりも大きいときに警報信号A L、 Mを被制
tn機器5に対して出力するマグニチュードコンパレー
タ44と、メモリ21から情報F2として伝送速度デー
タが読出されるときにこれを記憶する伝送速度ノくッフ
ァ46と、伝送速度バッファ46のデータにより分周比
が決定される分周回路をもったクロ・yり発生器45と
を備えている。
FIG. 5 is a diagram showing a more specific configuration example of the transmission processing device 10 shown in FIG. 4. Referring to FIG.
The reception interface 30 that receives X, and the transmission that stores the transmission type MT, address ADDR (physical address or logical address), and data DT1 sent following the header HD among the information Rx from the central supervisory control device 1, respectively. Type register 31. Address register 32.
The transmission type MT stored in the data register 33 and the f-transmission type register 31 is identified, and the transmission type M
A type identification unit 34 that performs control according to T, and a terminal device 2
A physical address buffer 35 in which a physical address specific to the terminal device 2 is set, a logical address buffer 36 in which a logical address specific to the terminal device 2 is set, and a physical address buffer 36 in which a physical address is stored in the address register 32. an address comparator 37 that compares the logical address with the physical address set in 35 and also compares it with the logical address set in the logical address buffer 36 when the logical address is stored in the address register 32;
Data D T 1 stored in the data register 33
Detection equipment 4. A digital signal is sent to the controlled device 5. When a latch circuit 38 that outputs a digital signal and a sensor that internally compares a detection signal with a predetermined value and outputs a digital signal are used as the detector 4, the digital signal D1 from the detection device 4 is input. digital signal D
When an analog sensor is used as the detection device 4 and three sampling circuits that perform sampling processing on the detection device 4, the analog signal A from the detection device 4 is input,
An A/D converter 40 that converts this into a digital signal, and return data in which data F from three sampling circuits or the A/D converter 40 or information F2 read from the memory 21 is stored as return data DT. The central supervisory control device 1 uses the register 41 and the return data DT stored in the return data register 41 as information TX.
a transmission interface 42 for transmitting to
The magnitude of the threshold value TH stored in the data F1 from the A/D converter 40 is compared with the magnitude of the data F1 from the A/D converter 40, and, for example, when the data F1 is larger than the threshold value TH, the alarm signals A, M are sent to the controlled device 5. The frequency division ratio is determined by the magnitude comparator 44 that outputs the data, the transmission speed buffer 46 that stores the transmission speed data when it is read out from the memory 21 as information F2, and the data of the transmission speed buffer 46. It is equipped with a black/yellow generator 45 having a frequency dividing circuit.

また書込み可能なメモリ21は、例えばEEPROMで
あって、メモリ21には、第6図に示すように中央監視
制御装置1から送られた変更用の新しい論理アドレスや
伝送速度が書込まれて記憶されるようになっている。な
お、新しい論理アドレスや伝送速度の他にも、閾値、保
守点検用データ等が書込まれるようになっていても良い
、メモリ21に保持されている新しい論理アドレスや伝
送速度は中央監視制御装置1からの指令によって読出さ
れて論理アドレスバッファ36や伝送速度バッファ46
に転送されそこに記憶されるか、あるいは返送データレ
ジスタ41に転送後送信インタフェース42を介して中
央監視制御装置1に返送されるようになっている。この
ようなメモリ21への書込み、読出しの切替制御は、タ
イプ識別部34において、中央監視制御装置1からの伝
送タイプMTを解析することによりなされるようになっ
ており、またメモリ21への書込み情報読出した後に転
送されるべきバッファ、レジスタの指定、メモリ21の
番地は、データレジスタ33に保持されている中央監視
制御装置1からのデータDT1に基づき指定されるよう
になっている。
The writable memory 21 is, for example, an EEPROM, and the new logical address and transmission speed for change sent from the central supervisory control device 1 are written and stored in the memory 21, as shown in FIG. It is now possible to do so. In addition to the new logical address and transmission speed, threshold values, maintenance and inspection data, etc. may also be written.The new logical address and transmission speed held in the memory 21 may be written to the central monitoring and control unit The logical address buffer 36 and the transmission speed buffer 46 are read by the command from 1.
Either the data is transferred to the return data register 41 and stored there, or it is transferred to the return data register 41 and then sent back to the central supervisory control unit 1 via the transmission interface 42. Such switching control for writing to and reading from the memory 21 is performed by analyzing the transmission type MT from the central supervisory control device 1 in the type identification unit 34. The designation of the buffer and register to be transferred after reading the information, and the address of the memory 21 are designated based on data DT1 from the central supervisory control unit 1 held in the data register 33.

次にこのような構成の伝送処理装置10を有する端末器
2と中央監視制御装置■との間での伝送処理手順につい
て説明する。
Next, a transmission processing procedure between the terminal device 2 having the transmission processing device 10 having such a configuration and the central supervisory control device (2) will be explained.

伝送処理装置10は、中央監視制御装置1から第3図(
a)に示すフォーマットの情報が送られることによって
動作し、そのときの動作モードは、中央監視制御装置1
から伝送タイプMTによって指示される。
The transmission processing device 10 includes the central monitoring and control device 1 to FIG.
It operates when information in the format shown in a) is sent, and the operation mode at that time is the central monitoring and control unit 1.
is indicated by the transmission type MT.

端末器2に本実施例の伝送処理装置10を用いた場合に
は、中央監視制御装置1において伝送タイプMTとして
、既存のモードに加えて、伝送処理装′It、10のメ
モリ21の所定番地A Dに中央監視制御装置1からの
情報を書込むモードMD1と、伝送処理装置10のメモ
リ21の所定番地ADから所定の情報を続出すモードM
D2とを新たに規定することができる。
When the transmission processing device 10 of this embodiment is used in the terminal device 2, the central supervisory control device 1 sets the transmission type MT to a predetermined location in the memory 21 of the transmission processing device 'It, 10 in addition to the existing mode. A mode MD1 in which information from the central monitoring and control device 1 is written to AD, and a mode M in which predetermined information is continuously written from a predetermined location AD in the memory 21 of the transmission processing device 10.
D2 can be newly defined.

第7図(a) 、 (b)はモードMD  、MD2が
指定される場合の中央監視制御装置1からの指令のフォ
ーマット例を示す図であって、モードMD1゜MD2で
はアドレスADDRとして例えば論理アドレスバッファ
36に設定されている論理アドレスを指定する。またデ
ータD T 、としてモードMD1では、メモリ21に
書込まれるべき情報F2と、この情報が書込まれるメモ
リ21の番地ADとを指定する一方で、モードMD2で
は、メモリ21から読出された情報F2が転送されるバ
ッファ〈またはレジスタ)BUFFと、この情報F2が
続出されるメモリ21の番地ADとを指定する。
FIGS. 7(a) and 7(b) are diagrams showing an example of the format of a command from the central monitoring and control unit 1 when modes MD and MD2 are specified, and in modes MD1 and MD2, for example, a logical address is used as the address ADDR. Specify the logical address set in the buffer 36. Further, as data D T , in mode MD1, information F2 to be written into the memory 21 and address AD of the memory 21 to which this information is written are specified, while in mode MD2, information read out from the memory 21 is specified. The buffer (or register) BUFF to which F2 is transferred and the address AD of the memory 21 to which this information F2 is successively output are specified.

このようなモードMD  、MD2を新たに追加し、メ
モリ21を用いて例えば論理アドレスを変更する場合の
処理を第8図のフローチャートを用いて説明する。なお
、この処理が行なわれるに先立って、物理アドレスバッ
ファ35には端末器2に固有の物理アドレスか予め設定
され、またこの物理アドレスをもつ端末器2を中央監視
制御装置lがポーリングにより特定することによって論
理アドレスバッファ36には中央監視制御装置から送ら
れた所定の論理アドレスが予め設定されているとする。
Processing when such modes MD and MD2 are newly added and, for example, the logical address is changed using the memory 21 will be explained using the flowchart of FIG. Note that before this process is performed, a physical address unique to the terminal device 2 is preset in the physical address buffer 35, and the central monitoring and control device l identifies the terminal device 2 having this physical address by polling. Assume that the logical address buffer 36 is preset with a predetermined logical address sent from the central supervisory control device.

論理アドレスバッファ36に設定されている論理アドレ
スを変更しようとする場合に、中央監視制御装置1は、
新しい論理アドレスを先づメモリ21に保持させるため
、第7図(a)に示すようなメモリ書込み指令を端末器
2に送信する(ステップSl)。この際、伝送タイプM
TはモードMD1であり、アドレスADDRとして端末
器2の論理アドレスバッファ36に現在設定されている
論理アドレスを指定し、またデータDT1の情報F2に
は新しい論理アドレスを指定し、番地ADにはこの新し
い論理アドレスが書込まれるべきメモリ21の番地を指
定する。このようなメモリ書込み指令が送信されると、
各端末器2では先づ、アドレスADDRとして送られた
論理アドレスと論理アドレスバッファ36に現在設定さ
れている論理アドレスとをアドレスコンパレータ37に
よって比較する。この結果が一致した場合にはその端末
器2か中央監視制御装置1がらアドレスポーリングされ
たと判断し、この端末器2のメモリ21の所定番地に新
しい論理アドレスを書込む(ステップS2)。
When attempting to change the logical address set in the logical address buffer 36, the central supervisory control device 1
In order to first hold the new logical address in the memory 21, a memory write command as shown in FIG. 7(a) is sent to the terminal device 2 (step Sl). At this time, transmission type M
T is mode MD1, the logical address currently set in the logical address buffer 36 of the terminal device 2 is specified as address ADDR, a new logical address is specified as information F2 of data DT1, and this address is specified as address AD. Specifies the address in memory 21 to which the new logical address is to be written. When such a memory write command is sent,
In each terminal device 2, the address comparator 37 first compares the logical address sent as the address ADDR with the logical address currently set in the logical address buffer 36. If the results match, it is determined that the address has been polled from either the terminal 2 or the central monitoring and control unit 1, and a new logical address is written to a predetermined location in the memory 21 of the terminal 2 (step S2).

次いで、中央監視制御装置1は、メモリ21に書込まれ
た新しい論理アト・レスが正しいものであるかを確認す
るため、第7図(b)に示すようなメモリ読出し指令を
端末器2に送信する(ステップS3)、この際、伝送タ
イプMTはモードM D 2であり、アドレスADDR
としてはステップS1で指定したと同じ論理アドレスを
指定し、またバッファBUFFとして返送データレジス
タ41を指定し、番地ADには新しいアドレスが書込ま
れているメモリ21の番地を指定する。このようなメモ
リ読出し指令が送信されると、アドレスADDRによっ
てステップS2で特定されたと同じ端末器2が特定され
、この端末器2のメモリ21の所定番地に書込まれてい
る上記の新しい論理アドレスが読出されて返送データレ
ジスタ41に格納され、しかる後、この新しい論理アド
レスは、送信インタフェース42を介して中央監視制御
装置1に返送される(ステップS4)。
Next, the central supervisory control device 1 issues a memory read command to the terminal device 2 as shown in FIG. 7(b) in order to confirm whether the new logical address written in the memory 21 is correct. transmit (step S3), at this time, the transmission type MT is mode M D 2, and the address ADDR
In this example, the same logical address as specified in step S1 is specified, the return data register 41 is specified as the buffer BUFF, and the address AD in the memory 21 in which the new address is written is specified. When such a memory read command is transmitted, the same terminal device 2 as specified in step S2 is specified by the address ADDR, and the new logical address written in the predetermined location of the memory 21 of this terminal device 2 is read. is read out and stored in the return data register 41, and then this new logical address is sent back to the central supervisory control device 1 via the transmission interface 42 (step S4).

中央監視制御装置1では、返送された新しい論理アドレ
スが正しいものであるかを確認する(ステップS5)。
The central monitoring and control device 1 confirms whether the returned new logical address is correct (step S5).

これか正しいものでない場合には、ステップS1での送
信時に新しい論理アドレスを例えば誤まって指定して送
信したものと判断し、正しく指定した新しい論理アドレ
スを再度送信するために再びステップS1に戻る。
If this is not correct, it is determined that the new logical address was specified by mistake during transmission in step S1, and the process returns to step S1 to retransmit the correctly specified new logical address. .

このようにして、ステップS5において、メモリ21に
書込まれた新しい論理アドレスが正しいものであると確
認した後、メモリ21に書込まれている新しい論理アド
レスを論理アドレスバッファ36に転送するため、第7
図(b)に示すようなメモリ読出し指令を端末器2に送
信する(ステラ7’S6)、この際、伝送タイプMTは
モードMD2であり、アドレスADDRとしてはステッ
プSl、33で指定したと同じ論理アドレスを指定し、
またバッファBUFFとして論理アドレスバッファ36
を指定し、番地ADには新しいアドレスが書込まれてい
るメモリ21の番地を指定する。このようなメモリ読出
し指令が送信されると、アドレスADDRによってステ
ップ32.S4で特定されたと同じ端末器が特定され、
このメモリ21の所定番地に書込まれている新しい論理
アドレスが読出され、論理アドレスバッファ36に格納
される。これにより論理アドレスバッファ36にいまま
で設定されていた論理アドレスは、新しい論理アドレス
に変更され、論理アドレスが変更された後にはこの端末
器2は、中央監視制御装置1から新しい論理アドレスに
よってポーリングされる。
In this way, in step S5, after confirming that the new logical address written in the memory 21 is correct, in order to transfer the new logical address written in the memory 21 to the logical address buffer 36, 7th
A memory read command as shown in FIG. Specify the logical address and
Also, the logical address buffer 36 is used as a buffer BUFF.
, and the address AD in the memory 21 where the new address is written is designated. When such a memory read command is sent, step 32. The same terminal device that was identified in S4 is identified,
The new logical address written in the predetermined location of this memory 21 is read out and stored in the logical address buffer 36. As a result, the logical address previously set in the logical address buffer 36 is changed to a new logical address, and after the logical address is changed, the terminal device 2 is polled by the new logical address from the central supervisory control device 1. Ru.

また伝送速度を変更しようとする場合にも上述したと同
様の処理手IIIによってこれを変更することができる
Also, when changing the transmission speed, this can be done using processing method III similar to that described above.

このように、論理アドレスや伝送速度を変更しようとす
る場合に、本実施例では、中央監視制御装置1から送ら
れた新しい論理アドレスや伝送速度を論理アドレスバッ
ファ36や伝送速度バッファ46に直接転送して書込ま
ずに、−旦メモリ21に保持させ、メモリ21に保持さ
れている新しい論理アドレスや伝送速度を中央監視制御
装置1に返送してこれが正しいものであるかを確認した
上で、論理アドレスバッファ36や伝送速度バッファ4
6に書込んで変更するようにしているので、変更により
論理アドレスバッファ36に誤まった論理アドレスが設
定されたり、変更により伝送速度バッファ46に誤まっ
た伝送速度が設定される確率を著しく低減することがで
きて、監視制御システムとしての信頼性を著しく高める
ことができる。また中央監視制御装置1は、端末器21
11jで受信された新しい論理アドレスや伝送速度が正
しいものであるか否かの上記一連のil認手順を、論理
アドレスバッファ36にいままで設定されていた論理ア
ドレスで端末器をポーリングすることによって行なうこ
とができるので、端末器2iP1で受信した変更用の新
しい論理アドレスや伝送速度が何らかの要因で誤まって
いる場合にも、中央監視制御装置1は、これに左右され
ずに特定の端末器をすぐに割出すことができて、いよ送
った新しい論理アドレスや伝送速度が正しいか否かの確
認を容易に行なうことができ、正しくない場合には正し
い論理アドレスや伝送速度をすぐに送り直すことができ
る。
In this way, when attempting to change the logical address or transmission speed, in this embodiment, the new logical address or transmission speed sent from the central supervisory control device 1 is directly transferred to the logical address buffer 36 or the transmission speed buffer 46. The new logical address and transmission speed held in the memory 21 are sent back to the central monitoring and control unit 1 to confirm whether they are correct, and then the data is stored in the memory 21 without being written. Logical address buffer 36 and transmission speed buffer 4
6, the probability that an incorrect logical address will be set in the logical address buffer 36 due to a change or an incorrect transmission speed will be set in the transmission speed buffer 46 due to a change is significantly reduced. As a result, the reliability of the monitoring and control system can be significantly improved. The central monitoring and control device 1 also includes a terminal device 21
The above-mentioned series of verification procedures to determine whether the new logical address and transmission speed received at 11j are correct is performed by polling the terminal device with the logical address that has been set in the logical address buffer 36. Therefore, even if the new logical address or transmission speed for change received by the terminal device 2iP1 is incorrect for some reason, the central monitoring and control device 1 can change the specific terminal device without being affected by this. It can be determined immediately, and it is easy to check whether the new logical address and transmission speed that have been sent are correct, and if they are not correct, the correct logical address and transmission speed can be immediately resent. Can be done.

このように伝送処理装置10にメモリ21を設けること
によって論理アドレスや伝送速度の変更を確実にかつ容
易に行なわせることができる。この際にメモリ21とし
ては書込み可能なものであれば良く、上述したようなE
EPROMでなくとも論理アドレスや伝送速度のデータ
を保持するのに必要なビット数をもつ通常のレジスタ等
であっても良い、但し、このようなメモリ21は、伝送
処理装置自体を小型のものにするため、制御部20と同
一の基板上に実装されるのが良い、また、端末器2の電
源が何らかの要因で断となったときにその内容が消され
ると不都合である場合にはメモリ21として不揮発性の
もの7例えば上述したようなEEPROMを用いるのが
良く、これにより、システムの安全性を著しく高めるこ
とができる。なお、従来の伝送回路技術としてメモリを
組込んだものらあるが、この場合にはCPUとともに用
いられ、またCPU等に対して外付けの構成となってい
たので小型化には適していなかった。
By providing the memory 21 in the transmission processing device 10 in this way, the logical address and transmission speed can be changed reliably and easily. At this time, the memory 21 only needs to be writable, such as the above-mentioned E
It does not have to be an EPROM, but may be an ordinary register with the necessary number of bits to hold data such as logical addresses and transmission speeds. Therefore, it is preferable to mount it on the same board as the control unit 20. Also, if it is inconvenient for the contents to be erased when the power of the terminal unit 2 is cut off for some reason, the memory 21 It is preferable to use a non-volatile memory 7, for example, an EEPROM as described above, thereby significantly increasing the security of the system. In addition, there are conventional transmission circuit technologies that incorporate memory, but in this case, they were used together with the CPU, and were configured to be external to the CPU, so they were not suitable for miniaturization. .

また上述したような構成の伝送処理装置10はワンチッ
プCPUを用いて実現することも可能である。
Further, the transmission processing device 10 configured as described above can also be realized using a one-chip CPU.

〔発明の効果〕〔Effect of the invention〕

以上に説明したように本発明によれば、論理アドレスや
伝送速度を変更するための新しいデータが中央監視制御
装置から送られると、これを−時保持し、中央監視制御
装置からの指示があったときに旧いデータにかわって設
定してデータを変更するようにしているので、誤まった
データが設定される確率を著しく軽減して信頼性を向上
させることができるとともに、新しい論理アドレスが設
定されるまでは、中央監視制御装置は、変更前の論理ア
ドレスで伝送処理装置を特定できるので、変更用の新し
い論理アドレスが誤まって送られた場合にも中央監視制
御装置はこれに左右されずに特定の伝送処理装置をすぐ
に割出すことができて、上記のようにして伝送処理装置
に保持されている新しい論理アドレスや伝送速度が正し
いか否かを容易に確認することができる。
As explained above, according to the present invention, when new data for changing the logical address or transmission speed is sent from the central supervisory control unit, it is held for - time and when an instruction from the central supervisory control unit is received. Since the data is changed by setting it in place of the old data when the new logical address is set, it is possible to significantly reduce the probability that incorrect data is set and improve reliability. Until the change is made, the central monitoring and control unit can identify the transmission processing unit using the logical address before the change, so even if a new logical address for change is sent by mistake, the central monitoring and control unit will not be affected by this. It is possible to immediately identify a specific transmission processing device without having to do so, and it is possible to easily check whether the new logical address and transmission speed held in the transmission processing device are correct as described above.

また伝送処理装置において、新しいデータを−時保持す
るためのメモリを制御部と同一の基板上に設けるように
すれば、装置の小型化を維持することができる。またメ
モリを不揮発性のものにすれば、システムの安全性を確
保することができる。
Further, in the transmission processing device, if a memory for storing new data is provided on the same board as the control section, the device can be kept compact. Additionally, by making the memory non-volatile, system safety can be ensured.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の伝送処理装置を適用した監視制御シス
テムの概略ブロック図、第2図は端末器の構成図、第3
図(a) 、 (b)は中央監視制御装置から送出され
る指令のフォーマット、中央監視制m装置からの指令に
応答して端末器から送出される情報のフ謁−マッ1〜を
それぞれ示す図、第4図は伝送処理装置のブロック図、
第5図は第4図に示す伝送処理装置の具体的な構成例を
示す図、第6図はメモリに保持される内容の一例を示す
図、第7図(a) 、 (b)はモードMD、MD2が
指定される場合の中火監視制御装置からの指令のフォー
マットをそれぞれ示す図、第8図は論理アドレスを変更
する処理の流れを示すフローチャートである。 1・・・中央監視制御装置、2・・・端末器、3・・・
伝送線路、10・・・伝送処理装置、11・・・入出力
回路、20・・・制御部、21・・・メモリ、36・・
・論理アドレスバヅファ、41・・・返送データレジス
タ、 45・・・クロック発生器、 46・・・伝送速度バッファ
FIG. 1 is a schematic block diagram of a supervisory control system to which the transmission processing device of the present invention is applied, FIG. 2 is a configuration diagram of a terminal device, and FIG.
Figures (a) and (b) show the format of commands sent from the central monitoring and control device, and the format of information sent from terminals in response to commands from the central monitoring and control device, respectively. 4 is a block diagram of the transmission processing device,
5 is a diagram showing a specific configuration example of the transmission processing device shown in FIG. 4, FIG. 6 is a diagram showing an example of contents held in memory, and FIGS. 7(a) and (b) are modes. FIG. 8 is a flowchart showing the format of the command from the medium-fire monitoring control device when MD and MD2 are specified, and FIG. 8 is a flowchart showing the flow of the process for changing the logical address. 1... Central monitoring and control device, 2... Terminal device, 3...
Transmission line, 10... Transmission processing device, 11... Input/output circuit, 20... Control unit, 21... Memory, 36...
・Logical address buffer, 41...Return data register, 45...Clock generator, 46...Transmission speed buffer

Claims (1)

【特許請求の範囲】 1)中央監視制御装置との間で伝送処理を行なう伝送処
理装置において、該伝送処理装置は、伝送処理に関する
所定の制御を行なう制御部と、書込み可能なメモリとを
備えており、前記制御部は、前記中央監視制御装置と伝
送処理装置との間での伝送処理に必要なデータが設定さ
れるバッファを有し、前記メモリには、前記バッファに
設定されているデータを変更するために中央監視制御装
置から送られる新しいデータが保持されるようになって
おり、メモリに保持された新しいデータは、中央監視制
御装置からの指示によつて前記バッファに設定されるよ
うになっていることを特徴する伝送処理装置。 2)前記メモリは、不揮発性のものであつて、前記制御
部と同一の基板上に実装されていることを特徴とする請
求項1記載の伝送処理装置。 3)中央監視制御装置と端末器との間での伝送処理に必
要なデータが端末器に設定されているときに、該データ
を変更するための新しいデータが中央監視制御装置から
送られると、端末器では新しいデータを一旦保持し、中
央監視制御装置から指示が送られたときに、該新しいデ
ータを旧いデータにかわって設定するようになっている
ことを特徴とする伝送処理方法。
[Claims] 1) A transmission processing device that performs transmission processing with a central supervisory control device, the transmission processing device comprising a control unit that performs predetermined control regarding transmission processing, and a writable memory. The control unit has a buffer in which data necessary for transmission processing between the central supervisory control device and the transmission processing device is set, and the memory stores the data set in the buffer. The new data sent from the central supervisory controller to change the data is stored, and the new data stored in the memory is set in the buffer according to instructions from the central supervisory controller. A transmission processing device characterized by: 2) The transmission processing device according to claim 1, wherein the memory is nonvolatile and is mounted on the same substrate as the control section. 3) When data necessary for transmission processing between the central monitoring and control device and the terminal device is set in the terminal device, when new data for changing the data is sent from the central monitoring and control device, A transmission processing method characterized in that a terminal device temporarily holds new data and sets the new data in place of the old data when an instruction is sent from a central monitoring and control device.
JP1280737A 1989-10-27 1989-10-27 Transmission processing apparatus and transmission processing method Expired - Fee Related JPH0786955B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1280737A JPH0786955B2 (en) 1989-10-27 1989-10-27 Transmission processing apparatus and transmission processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1280737A JPH0786955B2 (en) 1989-10-27 1989-10-27 Transmission processing apparatus and transmission processing method

Publications (2)

Publication Number Publication Date
JPH03142597A true JPH03142597A (en) 1991-06-18
JPH0786955B2 JPH0786955B2 (en) 1995-09-20

Family

ID=17629250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1280737A Expired - Fee Related JPH0786955B2 (en) 1989-10-27 1989-10-27 Transmission processing apparatus and transmission processing method

Country Status (1)

Country Link
JP (1) JPH0786955B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63282559A (en) * 1987-05-06 1988-11-18 Fujitsu Ten Ltd Data transfer system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63282559A (en) * 1987-05-06 1988-11-18 Fujitsu Ten Ltd Data transfer system

Also Published As

Publication number Publication date
JPH0786955B2 (en) 1995-09-20

Similar Documents

Publication Publication Date Title
JPH03142597A (en) Device and method for transmission processing
US7779163B2 (en) Management of event order of occurrence on a network
JPH02128540A (en) Method and system for data communication
JPH0544859B2 (en)
JPH0739035Y2 (en) Terminal
JP2616398B2 (en) Command execution device
JPH0324601A (en) Control method
JPH0122300Y2 (en)
JPH03142599A (en) Device and method for transmission processing
JP3069409B2 (en) Self-diagnosis method of interrupt response time of multiplex transmission system
JPH03168899A (en) Monitor and control system and transmitting method
JPH0561988A (en) Identification system
KR20230130710A (en) switching systems and switches
JP2002325292A (en) Wireless plant input/output system
JPH0522329A (en) Specifying method for signal transmission fault
JPS6292544A (en) Data transmission equipment
SU1501074A1 (en) Exchange channel
JPS6037098A (en) Security terminal
JPS6238637A (en) Control system for transmission in multi-drop
JPH02128539A (en) Method and system for data communication
JPH05265667A (en) Bidirectional communication method for printer
JPH04278742A (en) Method of detecting error in reception data
JPS63102523A (en) Ring network communication equipment
JPH01235436A (en) Data bus controller
JPH01131932A (en) Data transfer device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees