JPH03182198A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPH03182198A
JPH03182198A JP32085089A JP32085089A JPH03182198A JP H03182198 A JPH03182198 A JP H03182198A JP 32085089 A JP32085089 A JP 32085089A JP 32085089 A JP32085089 A JP 32085089A JP H03182198 A JPH03182198 A JP H03182198A
Authority
JP
Japan
Prior art keywords
data
station
initial setting
input
slave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP32085089A
Other languages
Japanese (ja)
Inventor
Masahiro Hatano
畑野 征弘
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP32085089A priority Critical patent/JPH03182198A/en
Publication of JPH03182198A publication Critical patent/JPH03182198A/en
Pending legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To accelerate the speed of an initial setting at the start of a system and to make the parameter maintenance concerning the analog input of each slave station by storing an initial setting data including a parameter concerning the analog input of each slave station to the non-volatile memory of the main station. CONSTITUTION:A non-volative memory 14 of a semiconductor memory storing the initial set data of respective slave stations 2a-2n including the parameter concerning the analog input of the respective slave stations 2a-2b, is provided on a main station 1. Also, a CPU 12 to execute the control of this non-volatile memory 4 and a transmission control part 11 is provided. And, this initial setting means is realized by the CPU 12 and a memory part. Thus, the necessity to input the parameter concerning the analog input of slave stations 2a-2n is eliminated and the maintenance is facilitated and the time necessary for the initial setting to the respective slave stations at the start of the system can be shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、アナログ入力を扱う各従局の初期設定デー
タの設定を効率的に行うことができるデータ伝送システ
ムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission system that can efficiently set initial setting data for each slave station that handles analog input.

〔従来の技術〕[Conventional technology]

第5図は例えば特公平1−29464号公報に示された
従来のデータ伝送システムを示す構成図である。第5図
において、1aは各従局21a、・・・からフィールド
データを収集する集中監視装置(主局)、11は伝送路
4とデータの授受を行う伝送制御部、12aは制御部、
13はデータを格納するメモリ部、16は外部から各種
情報を受は取る入力部、31は伝送路4とデータの授受
を行う従局21aの伝送制御部、32aは従局21aの
制御部、33は従局21aのメモリ部、35は外部から
フィールドデータを受ける入出力部である。また、第6
図はデータ伝送の様子を示すタイミング図である。
FIG. 5 is a block diagram showing a conventional data transmission system disclosed in, for example, Japanese Patent Publication No. 1-29464. In FIG. 5, 1a is a central monitoring device (main station) that collects field data from each slave station 21a, . . . , 11 is a transmission control unit that exchanges data with the transmission path 4, 12a is a control unit,
13 is a memory section for storing data; 16 is an input section for receiving and taking various information from the outside; 31 is a transmission control section of the slave station 21a that exchanges data with the transmission path 4; 32a is a control section of the slave station 21a; A memory section 35 of the slave station 21a is an input/output section that receives field data from the outside. Also, the 6th
The figure is a timing diagram showing how data is transmitted.

次に動作について説明する。まず、主局1aで各従局2
1a、・・・の動作条件を設定し、その動作条件を各従
局21a、・・・に対して送出する(第6図■〜■)。
Next, the operation will be explained. First, at the master station 1a, each slave station 2
1a, . . . and transmits the operating conditions to each slave station 21a, . . . (FIG. 6).

そして、主局1aは各従局21a、・・・にポーリング
信号(POL >を送出しく第6図■〜■)、これに応
じて各従局21a、・・・は、各従局21a、・・・が
管理している外部機器(図示せず)の状態等を示すフィ
ールドデータを、伝送制御部31を用いて主局1aに送
出する。動作中に、ある従局21aが停を等によシ動作
条件の再設定が必要となった場合には、ポーリング信号
に応じて設定要求信号を主局1aに送出する(第6図■
)。そして、主局1aは従局21aに再度動作条件を送
出する。
Then, the master station 1a sends a polling signal (POL>) to each slave station 21a, . Field data indicating the status of external equipment (not shown) managed by the main station 1a is sent to the main station 1a using the transmission control unit 31. During operation, if a certain slave station 21a stops, etc., and it becomes necessary to reset the operating conditions, it sends a setting request signal to the master station 1a in response to a polling signal (see Fig. 6).
). The master station 1a then sends the operating conditions to the slave station 21a again.

第7図は従来のデータ伝送システムをさらに詳細に示し
たものである。第7図において、12aは制御部(以下
、CPUという。)、13はプログラムおよびデータを
格納するメモリ部、14は自身の外部機器15に関する
パラメータを格納した不揮発性メモリ、16は入力部、
1Tはキーボードである。そして、各従局21a〜21
nfC>いて、32aは従局21a〜21nのCPU、
33はプログラムおよびデータを格納するメモリ部、3
4は従局21a〜21nに管理される外部機器、35は
外部機器34とデータのやシとシを行う入出力部、36
はアナログ入出力用のパラメータを格納する不揮発性メ
モリである。lた、第8図は伝送制御部11の構成をさ
らに詳細に示したもので、第8図において、111は伝
送制御部11のCPU、 112はプログラムを格納し
たROM、 113はデータが格納されるRAM。
FIG. 7 shows a conventional data transmission system in more detail. In FIG. 7, 12a is a control unit (hereinafter referred to as CPU), 13 is a memory unit that stores programs and data, 14 is a nonvolatile memory that stores parameters related to the external device 15, 16 is an input unit,
1T is a keyboard. Then, each slave station 21a to 21
nfC>, 32a is the CPU of slave stations 21a to 21n,
33 is a memory section for storing programs and data;
4 is an external device managed by the slave stations 21a to 21n, 35 is an input/output unit that exchanges data with the external device 34, and 36
is a nonvolatile memory that stores parameters for analog input and output. Furthermore, FIG. 8 shows the configuration of the transmission control section 11 in more detail. In FIG. RAM.

114は伝送制御を行う伝送コントローラ、115は伝
送路4と接続するためのドライバ/レシーバ、116は
CPU12aとデータの交換を行うための共有メモIJ
、117はバスインタフェースである。
114 is a transmission controller that controls transmission; 115 is a driver/receiver for connecting to the transmission line 4; and 116 is a shared memory IJ for exchanging data with the CPU 12a.
, 117 is a bus interface.

次に主局1aの動作について第9図に示したフローチャ
ートを参照して説明する。動作開始時には、CPU12
aが共有メモリ116に初期設定データを書き込む。伝
送制御部11のCPU 111はバスインタフェース1
17を介してこのデータを読み取って、伝送制御部11
の初期設定を行う(ステップ5T31)。次に、CPU
12aはキーボード1Tから入力された各従局21a〜
21nの動作条件を共有メモリ116に書き込む。する
と、CPU111はこのデータを読み取ってRAM 1
13に格納する。そして、RAM 113内のデータを
伝送コントローラ114に与える。伝送コントローラ1
14 it所定のタイミングで各従局21a〜2tnに
動作条件を送出する(ステップ5T32)。この後は、
各従局21a〜21nに送るべきデータがあれば、その
データを、動作条件を送出した場合と同様な動作を行っ
て送出する(ステップ5T34.5T35 )。送るべ
きデータがなければ、ポーリング送信のみ行う(ステッ
プ5T36)。そして、各従局21a〜21nからデー
タを受信したら(ステップ5T37)、伝送制御部11
のCPU 111はこのデータを共有メモリ116に書
き込む。そして、CPU 12aはこの共有メモリ11
6からデータを受は取る(ステップ5T38)。なお、
任意の従局21a〜2tnから動作条件の設定要求信号
を受けた場合には(ステップ5T33) 、CPU12
aは共有メモリ116を介してその信号を入手し、その
信号に応じて、該当する従局21a〜21nの動作条件
を共有メモリ11sに書き込み、伝送制御部11に送信
させる(ステップ5T39)。
Next, the operation of the main station 1a will be explained with reference to the flowchart shown in FIG. At the start of operation, CPU12
a writes initialization data to the shared memory 116. The CPU 111 of the transmission control unit 11 is the bus interface 1
The transmission controller 11 reads this data via the transmission controller 17.
Initial settings are performed (step 5T31). Next, the CPU
12a indicates each slave station 21a~ inputted from the keyboard 1T.
21n operating conditions are written into the shared memory 116. Then, the CPU 111 reads this data and stores it in RAM 1.
13. The data in RAM 113 is then provided to transmission controller 114 . Transmission controller 1
14. It sends the operating conditions to each slave station 21a to 2tn at a predetermined timing (step 5T32). After this,
If there is data to be sent to each of the slave stations 21a to 21n, the data is sent by performing the same operation as when the operating conditions were sent (steps 5T34 and 5T35). If there is no data to be sent, only polling transmission is performed (step 5T36). When data is received from each slave station 21a to 21n (step 5T37), the transmission control unit 11
CPU 111 writes this data to shared memory 116. Then, the CPU 12a uses this shared memory 11
The data is received from 6 (step 5T38). In addition,
When receiving an operating condition setting request signal from any slave station 21a to 2tn (step 5T33), the CPU 12
a obtains the signal via the shared memory 116, writes the operating conditions of the corresponding slave stations 21a to 21n in the shared memory 11s in accordance with the signal, and causes the transmission control unit 11 to transmit it (step 5T39).

第10図は各従局21a〜21nの入出力部35のアナ
ログ入力を処理する部分を示したものである。
FIG. 10 shows a portion of the input/output section 35 of each slave station 21a to 21n that processes analog input.

第10図にkいて、351は外部機器34が出力したア
ナログ信号を入力する演算増幅器、352は複数の演算
増幅器351の出力を順次選択するアナログスキャナ、
353はアナログスキャナ352の出力を増幅するプロ
グラマブルゲインコントローラ(PGC)、、である。
In FIG. 10, 351 is an operational amplifier that inputs the analog signal output from the external device 34, 352 is an analog scanner that sequentially selects the outputs of the plurality of operational amplifiers 351,
353 is a programmable gain controller (PGC) that amplifies the output of the analog scanner 352.

なお、演算増幅器351の増幅率は「1」である。35
4はPGC353の出力をディジタル変換子るA−Dコ
ンバータ、 355aは入出力部35の制御部、356
はCPU 32aとデータ交換するための共有メモリ、
357はバスインタフェースである。
Note that the amplification factor of the operational amplifier 351 is "1". 35
4 is an A-D converter that converts the output of the PGC 353 into a digital converter; 355a is a control unit for the input/output unit 35; 356
is a shared memory for exchanging data with the CPU 32a,
357 is a bus interface.

次にこの入出力部35の動作について説明する。Next, the operation of this input/output section 35 will be explained.

PGC353の各アナログ入力に応じた増幅率やA−D
コンバータ354に関するパラメータは、あらかじめ不
揮発性メモリ36に格納されている。そして、 CPU
 32aの制御の下に、この不揮発性メモリ36のパラ
メータは共有メモリ356を介して入出力部35の制御
部355aに伝えられる。制御部355aは、アナログ
スキャナ352を順次切換えてアナログ入力を通過させ
、PGC353のゲインをその入力に対応して所定値に
設定し、A−Dコン7く一タ354の量子化ステップを
設定する等の処理を行う。
Amplification factor and A-D according to each analog input of PGC353
Parameters regarding converter 354 are stored in nonvolatile memory 36 in advance. And CPU
32a, the parameters of this nonvolatile memory 36 are transmitted to the control section 355a of the input/output section 35 via the shared memory 356. The control unit 355a sequentially switches the analog scanner 352 to pass the analog input, sets the gain of the PGC 353 to a predetermined value corresponding to the input, and sets the quantization step of the A-D converter 354. etc.

この結果、アナログ入力は所定のスケール変換を施され
たディジタル値となシ、このディジタル値は共有メモリ
356を介してCPU32aluOに送られる。
As a result, the analog input becomes a digital value subjected to predetermined scale conversion, and this digital value is sent to the CPU 32aluO via the shared memory 356.

そして、 CPU 32aは主局1aのポーリング信号
に応じて、このディジタル値を主局1aに送出する。
Then, the CPU 32a sends this digital value to the main station 1a in response to the polling signal from the main station 1a.

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

従来のデータ伝送システムは以上のように構成されてい
るので、主局1aの立上げ時にキーボード17を使用し
て、あるいは外部のコンピュータ等から自動で各従局2
1a〜21nの初期設定データを入力しなければならず
、システムの立上げに時間がかかるという課題があった
。鵞た、従局21a〜21nK>けるアナログ入力に関
するパラメータは不揮発性メモリ36に格納されている
ので、通常設置環境がよくない従局21a〜21nにお
いてパラメータの初期入力作業や変更作業を行わなけれ
ばならず、それらの作業にも長時間を要するという課題
があった。
Since the conventional data transmission system is configured as described above, each slave station 2 is automatically transmitted using the keyboard 17 when starting up the master station 1a, or automatically from an external computer, etc.
There was a problem in that initial setting data for 1a to 21n had to be input, and it took time to start up the system. In addition, since the parameters related to the analog input of the slave stations 21a to 21nK are stored in the non-volatile memory 36, initial input work and modification work for the parameters must be performed at the slave stations 21a to 21n, which are usually not installed in a good environment. However, there was a problem in that these tasks also required a long time.

この発明は上記のような課題を解消するためになされた
もので、システムの立上げをよシ迅速に行えるとともに
、アナログ入力に関するパラメータの入力や変更が容易
に行えるデータ伝送システムを得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and aims to provide a data transmission system that allows system start-up to be performed more quickly and that allows for easy input and change of parameters related to analog input. shall be.

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

この発明に係るデータ伝送システムは、各従局に、各従
局に入力するアナログ入力に関するパラメータを主局か
ら受信して受信したパラメータによってアナログ入力の
入力部のパラメータ設定を行うパラメータ設定部を設け
、主局に、各従局の初期設定データを格納する不揮発性
メモリと、不揮発性メモリ内の初期設定データを各従局
に送信する初期設定手段とを設けたものである。
In the data transmission system according to the present invention, each slave station is provided with a parameter setting section that receives parameters related to analog input to be input to each slave station from the master station and sets parameters of the analog input input section using the received parameters. The station is provided with a non-volatile memory for storing initial setting data of each slave station, and an initial setting means for transmitting the initial setting data in the non-volatile memory to each slave station.

〔作用〕[Effect]

この発明における主局の不揮発性メモリは、各従局のア
ナログ入力に関するパラメータを含む初期設定データを
格納しているので、システム立上げ時の各従局に対する
初期設定を高速化させるとともに、各従局のアナログ入
力に関するパラメータの保守を容易化させる。
The nonvolatile memory of the master station in this invention stores initial setting data including parameters related to the analog input of each slave station, so it speeds up the initial setting of each slave station at system startup, and also Facilitates maintenance of parameters related to input.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図にかいて、14は各従局2a〜2nのアナログ入力に
関するパラメータを含む各従局2a〜2nの初期設定デ
ータを格納した半導体メモリの不揮発性メモリ、12は
この不揮発性メモリ14や伝送制御部11の制御を行う
CPUである。なお、初期設定手段はCPU12とメモ
リ部13に格納されたプログラムで実現されている。そ
の他のものは同一符号を付して第7図に示したものと同
一のものである。そして、各従局2a〜2nにおいて、
従来の従局21a〜21nに設けられていた不揮発性メ
モリ36は必要ではない。また、第2図は主局1の詳細
な構成を示したものであシ、第3図は主局1の動作を示
すフローチャートである。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, reference numeral 14 denotes a non-volatile memory, which is a semiconductor memory, which stores initial setting data of each slave station 2a to 2n, including parameters related to analog input of each slave station 2a to 2n, and 12 denotes this nonvolatile memory 14 and the transmission control unit 11. This is a CPU that performs control. Note that the initial setting means is realized by a program stored in the CPU 12 and the memory section 13. Other parts are the same as those shown in FIG. 7 with the same reference numerals. Then, in each slave station 2a to 2n,
The nonvolatile memory 36 provided in the conventional slave stations 21a to 21n is not required. 2 shows a detailed configuration of the main station 1, and FIG. 3 is a flowchart showing the operation of the main station 1.

次に動作について説明する。各従局2a〜2nのアナロ
グ入力に関するパラメータを含む各従局2a〜2nの初
期設定データは端末器(図示せず)を用いて主局1に入
力される。そして、主局1の不揮発性メモリ14に格納
される。主局1の電源投入時には、CPU12から自局
の初期設定データが共有メモリ116に書き込まれ、伝
送制御部11のCPU 111はそのデータを読み出し
て伝送制御部11の初期設定を行う(ステップST、1
1)。続いて、各従局2a〜2nをシステムに参入させ
るために、各従局2a〜2nの初期設定データを不揮発
性メモリ14から読み出して、共有メモリ116に書き
込む。すると、CPU 111は共有メモリ116から
そのデータを読み出して、伝送コントローラ114およ
びドライバ/レシーバ115を介して、順次伝送路4に
送出する(ステップ5T12)。各従局2a〜2nは、
自局宛ての初期設定データを受は取って、自局の初期化
を行う。このようにして、各従局2a〜2nはシステム
に参入する。
Next, the operation will be explained. Initial setting data for each of the slave stations 2a to 2n, including parameters regarding the analog input of each of the slave stations 2a to 2n, is input to the main station 1 using a terminal device (not shown). Then, it is stored in the nonvolatile memory 14 of the main station 1. When the main station 1 is powered on, the CPU 12 writes its own initial setting data into the shared memory 116, and the CPU 111 of the transmission control unit 11 reads the data and initializes the transmission control unit 11 (step ST, 1
1). Subsequently, in order to allow each slave station 2a to 2n to participate in the system, initial setting data for each slave station 2a to 2n is read from the nonvolatile memory 14 and written to the shared memory 116. Then, the CPU 111 reads the data from the shared memory 116 and sequentially sends it to the transmission path 4 via the transmission controller 114 and driver/receiver 115 (step 5T12). Each slave station 2a to 2n is
It receives the initial setting data addressed to its own station and initializes its own station. In this way, each slave station 2a-2n enters the system.

主局1において、各従局2a〜2nに送信すべきデータ
がある場合には、CPU 12は送信データを共有メモ
リ116に書き込む。そして、伝送制御部11のCPU
 111はそのデータを一旦RAM 113に格納する
。CPU111は、そのデータを送る従局2a〜2nに
アクセスするタイ□ングとなったら、そのデータをRA
M 113から読み出して伝送コントロ−ラ114釦よ
びドライバ/レシーバ115を介して伝送路4に送出す
る(ステップ5T14.5T15 )。
In the master station 1, if there is data to be transmitted to each of the slave stations 2a to 2n, the CPU 12 writes the transmission data into the shared memory 116. Then, the CPU of the transmission control unit 11
111 temporarily stores the data in RAM 113. When the time comes to access the slave stations 2a to 2n that send the data, the CPU 111 sends the data to the RA.
The data is read from M 113 and sent to the transmission line 4 via the transmission controller 114 button and driver/receiver 115 (steps 5T14 and 5T15).

その時、送るべきデータがなければ、ポーリング信号の
み送出する(ステップ5T16)。
At that time, if there is no data to be sent, only a polling signal is sent (step 5T16).

従局2a〜2nの伝送制御部31で、主局1から送信さ
れてきた送信データ筐たはポーリング信号を受は取った
時には、従局2a〜2nは外部機器34から入力したデ
ータを主局1に対して送信する。
When the transmission control unit 31 of the slave stations 2a to 2n receives the transmission data box or polling signal transmitted from the master station 1, the slave stations 2a to 2n transmit the data input from the external device 34 to the master station 1. Send to.

主局1では、そのデータをドライバ/レシーバ115お
よび伝送コントローラ114を介して受は取シ、−旦R
AM 113に格納する。そして、伝送制御部11のC
PU111はRAM 113内のデータを共有メモリ1
16に書き込む。CPU12は共有メモリ116からそ
のデータを読み出す。このようにして、従局2B〜2n
で収集したフィールドデータはCPU12に受は取られ
る(ステップSTI 7,5T18,5T20)。
The main station 1 receives the data via the driver/receiver 115 and the transmission controller 114.
Stored at AM 113. Then, C of the transmission control section 11
The PU 111 stores the data in the RAM 113 in the shared memory 1.
Write to 16. CPU 12 reads the data from shared memory 116. In this way, slave stations 2B to 2n
The field data collected is received by the CPU 12 (steps STI 7, 5T18, 5T20).

そして、ある従局2a〜2nw例えば従局2aに障害が
発生すると、その従局2aはシステムから分離すること
になる。CPU12は伝送制御部11を通じてこれを知
シ、所定の障害処理を行った後に外部機器15に警報表
示を行う(ステップ5T13.5T22)。オペレータ
がこの警報表示を認識して、所定の確認操作を行うと、
CPU12は伝送制御部11に再立上げコマンドの送信
指示を与え、伝送制御部11は再立上げコマンドを伝送
路4に送出する(ステップ5T23.5T24 )。再
立上げコマンドは障害が発生した従局2aが初期化要求
レスポンスを送出するまで繰シ返して行う。そして、従
局2aの障害が復旧し、従局2ILが再立上げコマンド
を受信すると初期化要求レスポンスを送出する。すると
、CPU12は伝送制御部11を介してこのレスポンス
を受は取って、不揮発性メモリ14に格納されている従
局2aの初期設定データを共有メモリ116に書き込ん
で、伝送制御部11に送出させる(ステップ5T25)
。このように、主局1主導で従局2aをシステムに再参
入させる方が、従来の場合よシも、主局1における制御
プログラムを簡略化することができる。つ44)、従来
の場合では、従局2aから任意の時刻に初期化要求レス
ポンスを送出できるので、主局1が障害処理動作へ移行
する途中で初期化要求レスポンスを受ける場合がある。
If a failure occurs in a certain slave station 2a to 2nw, for example, slave station 2a, that slave station 2a will be separated from the system. The CPU 12 learns of this through the transmission control unit 11, performs predetermined trouble handling, and then displays an alarm on the external device 15 (steps 5T13 and 5T22). When the operator recognizes this alarm display and performs the specified confirmation operation,
The CPU 12 instructs the transmission control unit 11 to send a restart command, and the transmission control unit 11 sends the restart command to the transmission line 4 (steps 5T23 and 5T24). The restart command is repeated until the failed slave station 2a sends an initialization request response. Then, when the failure of the slave station 2a is recovered and the slave station 2IL receives the restart command, it sends an initialization request response. Then, the CPU 12 receives this response via the transmission control unit 11, writes the initial setting data of the slave station 2a stored in the nonvolatile memory 14 into the shared memory 116, and causes the transmission control unit 11 to send it ( Step 5T25)
. In this way, by having the slave station 2a re-enter the system under the initiative of the master station 1, the control program in the master station 1 can be simplified, as compared to the conventional case. (44) In the conventional case, since the slave station 2a can send an initialization request response at any time, the master station 1 may receive an initialization request response while transitioning to a failure handling operation.

この場合には、初期化要求をどの時点で受は付けるかに
よって、障害処理動作へ移行するか、移行を中断して初
期化要求に応じた処理を行うかの裁定が必要となジ、制
御プログラムは複雑になってしまう。
In this case, depending on when the initialization request is accepted, it is necessary to decide whether to proceed to failure handling operation or to interrupt the transition and perform processing according to the initialization request. The program becomes complicated.

第4図は従局2a〜2nの入出力部35のアナログ入力
に関する部分を示したものである。その構成は、第10
図に示したものと同様であるが、この場合には、アナロ
グ入力に関するパラメータは、CPU 32が初期設定
時に主局1から受けてメモリ部33に格納されている。
FIG. 4 shows the analog input portion of the input/output section 35 of the slave stations 2a to 2n. Its composition is the 10th
Although it is similar to that shown in the figure, in this case, parameters related to analog input are received by the CPU 32 from the main station 1 during initial setting and stored in the memory section 33.

そして、このメモリ部33から入出力部350制御部3
55に与えられる。
Then, from this memory section 33, the input/output section 350 control section 3
55.

さらに、パラメータの変更を要する場合には、主局1に
釦いて、端末器(図示せず)によって不揮発性メモリ1
4の内容を書き換え、CPU12が書き換え後の不揮発
性メモリ14の内容を送信データとして共有メモリ11
6に書き込む。そして、伝送制御部11のCPU111
がこのデータを読み取って伝送路4に送出する。従局2
a〜2nのCPU 32は、このデータを受は取って、
バスインタフェース357カよび共有メモリ356を介
して入出力部35の制御部355に与える。こうして、
従局2a〜2nにおいてアナログ入力に関するパラメー
タが更新されたことになる。
Furthermore, if it is necessary to change the parameters, press the button on the main station 1 and use the terminal (not shown) to change the non-volatile memory 1.
4, and the CPU 12 sends the rewritten contents of the nonvolatile memory 14 to the shared memory 11 as transmission data.
Write in 6. Then, the CPU 111 of the transmission control unit 11
reads this data and sends it to the transmission line 4. Follower 2
The CPUs 32 of a to 2n receive this data and
It is applied to the control section 355 of the input/output section 35 via the bus interface 357 and the shared memory 356. thus,
This means that the parameters related to analog input have been updated in the slave stations 2a to 2n.

一方、パラメータは従局2a〜2nでも従来の場合と同
様に変更可能である。従局2a〜2nに釦いて端末器(
図示せず)を使用してパラメータの変更を行った場合に
は、従局2a〜2nのCPU 32は変更後のパラメー
タをメモリ部33から読み出して、フィールドデータを
送出した場合と同様に主局1に送出する。
On the other hand, the parameters can also be changed in the slave stations 2a to 2n in the same way as in the conventional case. Press the buttons on slave stations 2a to 2n and connect the terminal (
(not shown), the CPUs 32 of the slave stations 2a to 2n read the changed parameters from the memory section 33 and send them to the master station 1 in the same way as when field data is sent. Send to.

主局1はこれを受信して、不揮発性メモリ14の書き換
え処理を行う(第3図のステップ5T21)。
The main station 1 receives this and performs a rewriting process on the nonvolatile memory 14 (step 5T21 in FIG. 3).

なお、上記実施例において、各従局2a〜2nの初期設
定データは不揮発性メモリに格納されているが、不測の
事態によシネ揮発性メモリの内容が破壊された場合を考
慮して、端末器によってその内容を外部補助メモリに保
存してかいてもよい。
In the above embodiment, the initial setting data of each slave station 2a to 2n is stored in the nonvolatile memory, but in consideration of the case where the contents of the cine volatile memory are destroyed due to an unexpected situation, the terminal device The contents may be saved in external auxiliary memory.

筐た、上記実施例では端末器によって主局1に初期設定
データを入力するようにしたが、主局1にICカードイ
ンタフェースを設けて、初期設定データをICカードに
保存してかき、初期設定時のみそのICカードを使用す
るようにすれば、よシ容易に初期設定データの入力と保
存とを行うことができる。そして、ICカードを主局1
に常備するようにすれば、従局2a〜2nからの初期化
要求にもこのICカードで応じることができ、不揮発性
メモリ14は不要となる。
In the above embodiment, the initial setting data is input to the main station 1 using the terminal device, but the main station 1 is provided with an IC card interface to save and write the initial setting data on the IC card. If you use the IC card only when you use the IC card, you can easily input and save initial setting data. Then, insert the IC card into the main station 1.
If the IC card is always kept in the IC card, this IC card can also respond to initialization requests from the slave stations 2a to 2n, and the nonvolatile memory 14 becomes unnecessary.

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

以上のように、この発明によればデータ伝送システムを
、従局には、主局からパラメータを受信してアナログ入
力の入力部のパラメータ設定を行うパラメータ設定部を
設け、主局には、各従局の初期設定データを格納する不
揮発性メモリと、各従局に対してアナログ入力に関する
パラメータを含む初期設定データを送信する初期設定手
段とを設けて構成したので、設置環境がよくない従局に
おいてアナログ入力に関するパラメータを入力する必要
がなくなって保守が容易になるとともに、システム立上
げ時の各従局に対する初期設定に要する時間を短縮でき
るものが得られる効果がある。
As described above, according to the present invention, in the data transmission system, the slave station is provided with a parameter setting section that receives parameters from the master station and sets the parameters of the analog input input section, and the master station has a This configuration includes a non-volatile memory that stores initial setting data for the device, and an initial setting means that sends initial setting data including parameters related to analog input to each slave station. There is no need to input parameters, which facilitates maintenance, and also has the effect of shortening the time required for initial settings for each slave station when starting up the system.

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

第1図はこの発明の一実施例によるデータ伝送システ央
を示す構成図、第2図は第1図に示した伝送制御部の詳
細な構成を示すブロック図、第3図は主局の動作を示す
フローチャート、第4図は従局の入出力部を示すブロッ
ク図、第5図は従来のデータ伝送システムを示す構成図
、第6図はデータ伝送の様子を示すタイミング図、第7
図は従来のデータ伝送システムをさらに詳細に示した構
成図、第8図は第7図に示した伝送制御部の構成を示す
ブロック図、第9図は従来の主局の動作を示すフローチ
ャート、第10図は従来の従局の入出力部を示すブロッ
ク図である。 1は主局(集中監視装置)、11は伝送制御部、12は
CPU、  14は不揮発性メモリ、2a−2nは従局
、32はCPU、 34は外部機器、35は入出力部、
4は伝送路。 なお、図中、同一符号は同一 または相当部分を示す。 特 許 出 願 人 三菱電機株式会社 第 5 図 第 図 手 続 補 正 書 (自 発) 発明の名称 データ伝送システム 3、補正をする者 事件との関係 特許出願人 住 所    東京都千代田区丸の内二丁目2番3号名
 称  (601)三菱電機株式会社代表者 志岐守哉
Fig. 1 is a block diagram showing the central part of a data transmission system according to an embodiment of the present invention, Fig. 2 is a block diagram showing the detailed structure of the transmission control section shown in Fig. 1, and Fig. 3 is an operation of the main station. FIG. 4 is a block diagram showing the input/output section of the slave station, FIG. 5 is a configuration diagram showing a conventional data transmission system, FIG. 6 is a timing diagram showing data transmission, and FIG.
8 is a block diagram showing the configuration of the transmission control section shown in FIG. 7, and FIG. 9 is a flowchart showing the operation of the conventional main station. FIG. 10 is a block diagram showing the input/output section of a conventional slave station. 1 is a main station (central monitoring device), 11 is a transmission control unit, 12 is a CPU, 14 is a non-volatile memory, 2a-2n are slave stations, 32 is a CPU, 34 is an external device, 35 is an input/output unit,
4 is a transmission line. In addition, the same symbols in the figures indicate the same or equivalent parts. Patent Applicant Mitsubishi Electric Corporation Figure 5 Procedural Amendment (Voluntary) Name of the Invention Data Transmission System 3, Relationship with the Amendment Person Case Patent Applicant Address 2-2-3 Marunouchi, Chiyoda-ku, Tokyo Name (601) Mitsubishi Electric Corporation Representative Moriya Shiki

Claims (1)

【特許請求の範囲】[Claims] 伝送路に接続された複数の従局と、前記伝送路を介して
前記各従局とデータの授受を行う伝送制御部を有する集
中監視装置とを備えたデータ伝送システムにおいて、前
記各従局に、各従局に入力するアナログ入力に関するパ
ラメータを前記集中監視装置から受信して、受信したパ
ラメータによってアナログ入力の入力部のパラメータ設
定を行うパラメータ設定部を設け、前記集中監視装置に
、前記各従局の初期設定データを格納する不揮発性メモ
リと、前記不揮発性メモリ内の前記各従局のアナログ入
力に関するパラメータを含む初期設定データを前記各従
局に送信する初期設定手段とを設けたことを特徴とする
データ伝送システム。
In a data transmission system comprising a plurality of slave stations connected to a transmission path, and a centralized monitoring device having a transmission control unit that exchanges data with each of the slave stations via the transmission path, A parameter setting section is provided which receives parameters related to analog input input from the central monitoring device and sets parameters of the input section of the analog input according to the received parameters, and the central monitoring device is provided with initial setting data of each of the slave stations. A data transmission system comprising: a non-volatile memory for storing a non-volatile memory; and initial setting means for transmitting to each slave station initial setting data containing parameters related to analog inputs of each slave station in the non-volatile memory.
JP32085089A 1989-12-11 1989-12-11 Data transmission system Pending JPH03182198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32085089A JPH03182198A (en) 1989-12-11 1989-12-11 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32085089A JPH03182198A (en) 1989-12-11 1989-12-11 Data transmission system

Publications (1)

Publication Number Publication Date
JPH03182198A true JPH03182198A (en) 1991-08-08

Family

ID=18125945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32085089A Pending JPH03182198A (en) 1989-12-11 1989-12-11 Data transmission system

Country Status (1)

Country Link
JP (1) JPH03182198A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266608B2 (en) 2000-01-20 2007-09-04 Mitsubishi Denki Kabushiki Kaisha System for punctually sending and receiving serial data and a method for sending and receiving the serial data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266608B2 (en) 2000-01-20 2007-09-04 Mitsubishi Denki Kabushiki Kaisha System for punctually sending and receiving serial data and a method for sending and receiving the serial data

Similar Documents

Publication Publication Date Title
JPH1185651A (en) Communication interface device, object equipment and communication method
WO1990002366A1 (en) System for diagnosing cnc
JPH03182198A (en) Data transmission system
JP2519276B2 (en) Failure information collection processing method
KR20190029977A (en) A control system for device and process for operationg the control system
JPH11296444A (en) Monitoring device
JP3196704B2 (en) Industrial robot
JP4938944B2 (en) Elevator information transmission control device
JP2513029B2 (en) Task management method
JP2809325B2 (en) Multiple computer system and its monitoring operation method
JPH05257852A (en) Process data processing system and processing method
JPH0832078B2 (en) Station data automatic conversion processing method
JP4042234B2 (en) FA network and robot controller
JP3014059B2 (en) Programmable controller
JPH0652483B2 (en) Remote information management device for machine tools
JP3016156B2 (en) Transmission equipment
JPH11134007A (en) Monitor system for facility using programmable controller
JP3111371B2 (en) Programmable controller
JPS6398054A (en) Intelligent i/o device
JPH0511824B2 (en)
JP2500006Y2 (en) Programmable controller system
JP3348177B2 (en) Programmable controller
JPH03248659A (en) Trunk amplifier status supervisory system
JPH0681021U (en) Switching circuit device in a plurality of computer system devices
JPH10289196A (en) Computer and transfer method for peripheral device control data in computer