[go: up one dir, main page]

JPH11110001A - Remote system equipped with slave device recognition function - Google Patents

Remote system equipped with slave device recognition function

Info

Publication number
JPH11110001A
JPH11110001A JP27255197A JP27255197A JPH11110001A JP H11110001 A JPH11110001 A JP H11110001A JP 27255197 A JP27255197 A JP 27255197A JP 27255197 A JP27255197 A JP 27255197A JP H11110001 A JPH11110001 A JP H11110001A
Authority
JP
Japan
Prior art keywords
master device
slave device
slave
register
output
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
JP27255197A
Other languages
Japanese (ja)
Inventor
Shigeki Takahashi
滋樹 高橋
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP27255197A priority Critical patent/JPH11110001A/en
Publication of JPH11110001A publication Critical patent/JPH11110001A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize the remote system which is able to reduce the possibility that malfunction occurs and can be constituted at low cost. SOLUTION: This system consists of one master device 10 and slave devices 1021 to 102n which are remotely controlled by the master device 101. In this case, the slave devices are equipped with ID sending-out means 1031 to 103 , which send out IDs indicating their stations for a prescribed time at the time of resetting and the master device 101 is equipped with an ID confirming means 104 which confirms reception contents when communicating with the slave devices; when the reception contents are an ID, it is read to recognize the slave device as a communication partener and when the reception contents are normal data used for ordinary processing operation, the ordinary processing operation is performed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は1つのマスター装置
と該マスター装置によりリモート制御される少なくとも
1つ以上のスレーブ装置とから構成されるリモートシス
テムに関する。
The present invention relates to a remote system comprising one master device and at least one slave device remotely controlled by the master device.

【0002】[0002]

【従来の技術】1つのマスター装置と該マスター装置に
よりリモート制御される少なくとも1つ以上のスレーブ
装置によるリモートシステムにおいて、マスター装置に
は接続されているスレーブ装置を確認する手段は設けら
れてなく、予め自己に制御対象として設定されているス
レーブ装置が接続されているものとして制御を行ってい
た。
2. Description of the Related Art In a remote system including one master device and at least one slave device remotely controlled by the master device, the master device is not provided with means for confirming a connected slave device. The control has been performed on the assumption that a slave device which is set in advance as a control target is connected to itself.

【0003】図5は従来例の構成を示すブロック図であ
る。マスター装置401に対してn個のスレーブ装置4
02,402,…,402が設けられている。マ
スター装置401は、記憶装置、制御装置、入力装置お
よび出力装置(ともに不図示)から構成されるごく一般
的なコンピュータシステムで実現されるものであり、記
憶装置には各スレーブ装置402〜402の構成を
示す情報およびそれらの制御プログラムが格納され、制
御装置は該制御プログラムに則って各スレーブ装置40
〜402の制御を行う。マスター装置401には
接続されているスレーブ装置を確認する手段が設けられ
ていないために、システム起動時には意図した各スレー
ブ装置402〜402が接続されているものとして
制御動作を行い、その結果、各スレーブ装置402
402から返送されてくる信号の有無および内容から
各スレーブ装置402〜402が接続されているこ
とを確認していた。
FIG. 5 is a block diagram showing a configuration of a conventional example. N slave devices 4 for the master device 401
02 1, 402 2, ..., 402 n are provided. The master device 401 is realized by a very general computer system including a storage device, a control device, an input device, and an output device (both not shown), and the storage device includes slave devices 402 1 to 402 1 . n , and information indicating the configuration of each slave device 40 are stored in accordance with the control program.
21 1 to 402 n are controlled. Since the master device 401 has no means for confirming the connected slave device, the control operation is performed assuming that the intended slave devices 402 1 to 402 n are connected when the system is started. , Each slave device 402 1-
402 the slave devices from the existence and content of the returned come signals from n 402 1 to 402 n had confirmed that it is connected.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のリモー
トシステムにおいては、マスター装置は、システム起動
時には意図したスレーブ装置が接続されているものとし
て制御動作を行い、その結果、スレーブ装置から返送さ
れてくる信号の有無および内容から意図したスレーブ装
置が接続されていることを確認する構成であるため、意
図したスレーブ装置が装着されていない場合、または意
図したスレーブ装置と異なるスレーブ装置が装着されて
いる場合には誤動作する危険性があるという問題点があ
る。また、システムが起動した後に、保守などのために
一部のスレーブ装置のみの電源を切断することがある。
スレーブ装置側で電源を切断した場合にはマスター装置
との通信が途絶するためにマスター装置はスレーブ装置
が切り離されたことを確認できるものの、その後の電源
投入ではシステム起動時と同様の問題が生じるために、
システム起動後では、マスター装置側の制御によりスレ
ーブ装置の電源の切断、投入を制御するように構成され
ていた。このため、装置構成が複雑となり、システムが
高価になるという問題点がある。
In the conventional remote system described above, the master device performs a control operation when the system is started, assuming that the intended slave device is connected, and as a result, the master device is returned from the slave device. Because it is a configuration that confirms that the intended slave device is connected based on the presence and content of the incoming signal and the content, if the intended slave device is not mounted, or a slave device different from the intended slave device is mounted In such a case, there is a problem that there is a risk of malfunction. Further, after the system is started, the power of only some of the slave devices may be turned off for maintenance or the like.
When the power is turned off on the slave device side, communication with the master device is interrupted, so the master device can confirm that the slave device has been disconnected, but the subsequent power-on causes the same problem as when the system starts up. for,
After the system is started, the power of the slave device is controlled to be turned off and on by the control of the master device. For this reason, there is a problem that the device configuration becomes complicated and the system becomes expensive.

【0005】本発明は上述したような従来の技術が有す
る問題点に鑑みてなされたものであって、誤動作が発生
する危険性を少なくすることができ、安価に構成するこ
とのできるリモートシステムを実現することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and has been made in consideration of the above-described problems, and provides a remote system that can reduce the risk of malfunction and can be configured at low cost. It is intended to be realized.

【0006】[0006]

【課題を解決するための手段】本発明のスレーブ装置認
識機能を備えたリモートシステムは、1つのマスター装
置と該マスター装置によりリモート制御される少なくと
も1つ以上のスレーブ装置とから構成されるリモートシ
ステムにおいて、前記スレーブ装置はリセット時に自局
を示すIDを所定時間送出するID送出手段を備え、前
記マスター装置は前記スレーブ装置と交信する際にその
受信内容を確認するID認識手段を備え、受信内容がI
Dである場合にはこれを読み取って交信相手のスレーブ
装置を認識し、受信内容が通常の処理動作に用いられる
通常データである場合には通常の処理動作を行うことを
特徴とする。
According to the present invention, there is provided a remote system having a function of recognizing a slave device, the remote system comprising one master device and at least one slave device remotely controlled by the master device. Wherein the slave device includes ID sending means for sending an ID indicating its own station for a predetermined time upon reset, and the master device includes ID recognition means for confirming the received content when communicating with the slave device; Is I
In the case of D, this is read and the slave device of the communication partner is recognized, and when the received content is the normal data used for the normal processing operation, the normal processing operation is performed.

【0007】本発明の他の形態によるスレーブ装置認識
機能を備えたリモートシステムは、1つのマスター装置
と該マスター装置によりリモート制御される少なくとも
1つ以上のスレーブ装置とから構成されるリモートシス
テムにおいて、前記スレーブ装置は、リセット時から所
定時間経過したかを検出する経過時間検出手段と、ID
を格納するID用レジスタと、通常データを格納するデ
ータ用レジスタと、前記経過時間検出手段によりリセッ
ト時から所定時間経過したことが検出されている場合に
は前記ID用レジスタの出力をマスター装置へ送出し、
前記経過時間検出手段によりリセット時から所定時間経
過したことが検出されていない場合には前記データ用レ
ジスタの出力をマスター装置へ送出する選択出力手段
と、を備え、前記マスター装置は前記スレーブ装置と交
信する際にその受信内容を確認するID認識手段を備
え、受信内容がIDである場合にはこれを読み取って交
信相手のスレーブ装置を認識し、受信内容が通常の処理
動作に用いられる通常データである場合には通常の処理
動作を行うことを特徴とする。
A remote system having a slave device recognition function according to another aspect of the present invention is a remote system including one master device and at least one slave device remotely controlled by the master device. The slave device includes an elapsed time detecting unit that detects whether a predetermined time has elapsed from a reset time,
Register, a data register for storing normal data, and an output of the ID register to the master device when the elapsed time detecting means detects that a predetermined time has elapsed since reset. Send out,
Selection output means for sending the output of the data register to a master device when the passage of the predetermined time from the reset time is not detected by the elapsed time detection means, the master device comprising: An ID recognizing means for confirming the received content at the time of communication is provided. If the received content is an ID, the ID is read to recognize the slave device of the communication partner, and the received content is used as normal data used for normal processing operation. In the case of, a normal processing operation is performed.

【0008】「作用」上記のように構成される本発明に
おいては、スレーブ装置は、リセット時には所定時間経
過するまで自局を示すIDを送出するので、マスター装
置は交信を行っているスレーブ装置を認識することがで
きる。
[Operation] In the present invention configured as described above, the slave device transmits an ID indicating its own station until a predetermined time elapses at the time of reset, so that the master device determines which slave device is performing communication. Can be recognized.

【0009】[0009]

【発明の実施の形態】次に、本発明の実施例について図
面を参照して説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0010】図1は本発明の一実施例の構成を示すブロ
ック図であり、図2はその動作を示すフローチャートで
ある。マスター装置101に対してn個のスレーブ装置
102,102,…,102が設られている。マ
スター装置101は、記憶装置、制御装置、入力装置お
よび出力装置(ともに不図示)から構成されるごく一般
的なコンピュータシステムで実現されるものであり、そ
の記憶装置には各スレーブ装置102〜102の構
成を示す情報およびそれらの制御プログラムが格納さ
れ、制御装置は該制御プログラムに則って各スレーブ装
置102〜102の制御を行う。本実施例のスレー
ブ装置102〜102のそれぞれには、システム起
動時および電源リセット時に自局のIDを一定時間送出
するID送出手段103〜103が設けられ、ま
た、マスター装置101には各ID送出手段103
103からのIDを受け付けるID認識手段104が
設けられている。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a flowchart showing the operation thereof. The master device 101 is provided with n slave devices 102 1 , 102 2 ,..., 102 n . The master device 101 is realized by a very general computer system including a storage device, a control device, an input device, and an output device (both not shown), and the storage device includes slave devices 102 1 to 102 1 . Information indicating the configuration of the device 102 n and their control programs are stored, and the control device controls each of the slave devices 102 1 to 102 n according to the control program. Each of the slave devices 102 1 to 102 n according to the present embodiment is provided with ID transmitting means 103 1 to 103 n for transmitting the ID of the own station for a certain period of time when the system is started and when the power is reset. Are the ID sending means 103 1-
ID recognition means 104 for receiving the ID from 103 n are provided.

【0011】図2(a)はマスター装置101の動作を
示すフローチャートであり、図2(b)は各スレーブ装
置102〜102の動作を示すフローチャートであ
る。まず、マスター装置101の動作について図2
(a)を参照して説明する。なお、マスター装置101
には上述したように複数のスレーブ装置が接続されるも
のであり、マスター装置101は各スレーブ装置がそれ
ぞれ接続されるポートを介して各スレーブ装置毎の制御
を行うように構成されている。
[0011] FIG. 2 (a) is a flowchart showing the operation of the master device 101, FIG. 2 (b) is a flowchart showing the operation of the slave devices 102 1 to 102 n. First, the operation of the master device 101 is shown in FIG.
This will be described with reference to FIG. The master device 101
Is connected to a plurality of slave devices as described above, and the master device 101 is configured to control each slave device via a port to which each slave device is connected.

【0012】リセット(電源投入時のパワーオンリセッ
トを含む)されて装置動作が開始されると、まず、プロ
グラムのローディング等のイニシャル処理が行われ(ス
テップS201)、その後、受信動作が正常に行われて
いるかが確認される(ステップS202)。受信動作が
正常でない場合には、そのスレーブ局に関する処理は終
了とし、次局についての確認処理を行うものとして(ス
テップS206)、ステップS202に戻って次局につ
いての処理を行う。ステップS202にて受信動作が正
常に行われていることが確認された場合には、受信動作
を行っているデータの内容を確認する(ステップS20
3)。受信動作を行っているデータがIDである場合に
はそのIDを確認して接続されているスレーブ装置の種
類を確認する。その後、次局についての確認処理を行っ
た後に(ステップS206)、ステップS202に戻っ
て次局についての処理を行う。また、ステップS203
にて受信動作を行っているデータが通常のデータである
ことが確認された場合には、通常のデータ処理を行う
(ステップS204)。その後、次局についての確認処
理を行った後に(ステップS206)、ステップS20
2に戻って次局についての処理を行う。
When a device operation is started by a reset (including a power-on reset at power-on), an initial process such as loading of a program is first performed (step S201), and thereafter, a reception operation is normally performed. It is confirmed whether or not it has been performed (step S202). If the receiving operation is not normal, the process for the slave station is terminated, and the process for confirming the next station is performed (step S206), and the process returns to step S202 to perform the process for the next station. If it is confirmed in step S202 that the receiving operation is performed normally, the content of the data performing the receiving operation is confirmed (step S20).
3). If the data performing the receiving operation is an ID, the ID is confirmed and the type of the connected slave device is confirmed. Then, after performing the confirmation process for the next station (step S206), the process returns to step S202 to perform the process for the next station. Step S203
If it is confirmed that the data performing the receiving operation is normal data, normal data processing is performed (step S204). Then, after performing a confirmation process for the next station (step S206), step S20 is performed.
Returning to step 2, processing for the next station is performed.

【0013】次に、スレーブ装置102〜102
動作について図2(b)のフローチャートを参照して説
明する。装置動作が開始されると、まず、プログラムの
ローディング等のイニシャル処理が行われ(ステップS
207)、その後、IDの送信が行われる(ステップS
208)。その後、装置動作開始から所定時間経過した
かが確認され(ステップS209)、所定時間経過して
いる場合には通常の交信処理に切り替えられ(ステップ
S210)、所定時間経過していない場合にはステップ
S208に戻ってIDの送信動作を続けて行う。
Next, the operation of the slave devices 102 1 to 102 n will be described with reference to the flowchart of FIG. When the operation of the apparatus is started, first, initial processing such as loading of a program is performed (Step S).
207) Then, the ID is transmitted (Step S)
208). Thereafter, it is confirmed whether a predetermined time has elapsed from the start of the operation of the apparatus (step S209). If the predetermined time has elapsed, the process is switched to a normal communication process (step S210). Returning to S208, the operation of transmitting the ID is continuously performed.

【0014】上記のような動作が行われる本実施例にお
いては、マスター装置101は各スレーブ装置102
〜102のIDを順に確認する。スレーブ装置102
〜102はIDの送出を所定時間行い、その後、通
常の交信を行う。マスター装置101は受信信号の種類
を確認し、通常のデータを確認したときに始めて通常処
理を行うが、このときには各スレーブ装置102〜1
02のIDを確認済みであるために装置が誤動作する
ことはない。
In the present embodiment in which the above operation is performed, the master device 101 is connected to each slave device 102 1.
The IDs of 102 to 102 n are checked in order. Slave device 102
1 to 102 n perform ID transmission for a predetermined time, and thereafter perform normal communication. The master device 101 checks the type of the received signal and performs the normal processing only when checking the normal data. At this time, each of the slave devices 102 1 to 1 1
02 n apparatus for ID is verified the does not malfunction.

【0015】また、保守などのために一部のスレーブ装
置のみの電源を切断する場合には、スレーブ装置側で電
源を切断することが可能となる。マスター装置はスレー
ブ装置との通信が途絶するためにスレーブ装置が切り離
されたことを確認でき、その後の電源投入により所定時
間出力されるIDを確認することによりスレーブ装置に
電源が再投入されたことを確認することができる。この
ため、マスター装置側の制御によりスレーブ装置の電源
の切断、投入を制御するように構成する必要がなくな
り、装置構成を簡略化することができ、システムを安価
に構成することができる。
Further, when the power of only some of the slave devices is cut off for maintenance or the like, the power can be cut off on the slave device side. The master device can confirm that the slave device has been disconnected because communication with the slave device has been interrupted, and that the slave device has been powered on again by checking the ID output for a predetermined time after the power is turned on. Can be confirmed. For this reason, it is not necessary to configure so as to control the turning off and on of the power of the slave device under the control of the master device, so that the device configuration can be simplified and the system can be configured at low cost.

【0016】次に、本発明の第2の実施例について説明
する。図1および図2に示した第1の実施例における各
スレーブ装置102〜102は、マスター装置10
1と同様に一般的なコンピュータシステムで実現するこ
とも当然できるが、CPUを搭載することなく、ディス
クリートに接続されたハードウェアでより安価に構成す
ることもでき、本実施例は、このように構成されたスレ
ーブ装置の具体的な例であり、図3はその構成を示す回
路図である。本実施例は、リモートI/Oコントローラ
301、カウンタ302、インバータ303、出力レジ
スタ304、設定手段305、シリアルに接続されたデ
ータ用レジスタ306,306,…,306から
構成され、通常の処理を行うための各データ用レジスタ
の格納内容を連続的に出力するデータ用レジスタ群30
6、加算回路307、積算回路308,309および自
局のIDを格納するID用レジスタ310から構成され
ている。
Next, a second embodiment of the present invention will be described. Each of the slave devices 102 1 to 102 n in the first embodiment shown in FIGS.
1 can be naturally realized by a general computer system, but can also be configured at a lower cost by hardware connected discretely without mounting a CPU. FIG. 3 is a circuit diagram showing a specific example of the configured slave device. This embodiment, remote I / O controller 301, a counter 302, an inverter 303, output register 304, setting unit 305, register data which is serially connected 306 1, 306 2, ..., is composed of 306 n, normal Data register group 30 for continuously outputting the contents stored in each data register for performing processing
6, an adding circuit 307, integrating circuits 308 and 309, and an ID register 310 for storing the ID of the own station.

【0017】リモートI/Oコントローラ301および
カウンタ302はリセット時から所定時間経過したかを
検出する経過時間検出手段を構成し、リモートI/Oコ
ントローラ301、インバータ303、出力レジスタ3
04、加算回路307および積算回路308,309
は、データ用レジスタ群306とID用レジスタ310
の各出力のいずれかを選択してマスター装置へ送出する
選択出力手段を構成している。リモートI/Oコントロ
ーラ301はI/O手段を介してマスター装置(ともに
不図示)と接続するもので、出力レジスタ304から送
られてくるその設定内容をマスター装置へ向けて送出す
る。マスター装置は図2(a)に示したフローチャート
のようにスレーブ装置に対して定期的に通信動作を行う
が、リモートI/Oコントローラ301は、この通信動
作時にマスター装置から送られてくるデータを受信する
たび毎に受信信号S1をカウンタ302のクロック端子
(CK)へ出力する。カウンタ302はクロック端子
(CK)への入力が所定値となると出力CYのレベルを
“0”から“1”へ反転させる。出力CYは積算回路3
08の一方の入力端子、データ用レジスタ群306、出
力レジスタ304およびインバータ303に入力されて
いる。インバータ303の出力はカウンタ302のカウ
ント動作を停止させる入力端子EP、出力レジスタ30
4および積算回路309の一方の入力端子に入力されて
おり、カウンタ302はそのカウント動作をインバータ
303により反転された“0”の入力を受け付けること
により停止する。また、データ用レジスタ群306は
“1”のレベルの出力CYを受け付けることにより各デ
ータ用レジスタの格納内容を連続的に出力することを開
始する。
The remote I / O controller 301 and the counter 302 constitute an elapsed time detecting means for detecting whether a predetermined time has elapsed from the time of resetting.
04, addition circuit 307 and integration circuits 308 and 309
Are the data register group 306 and the ID register 310
And outputs the selected output to the master device. The remote I / O controller 301 is connected to a master device (both not shown) via I / O means, and sends the setting contents sent from the output register 304 to the master device. The master device periodically performs a communication operation with the slave device as shown in the flowchart of FIG. 2A. The remote I / O controller 301 transmits data transmitted from the master device during this communication operation. Each time the signal is received, the received signal S1 is output to the clock terminal (CK) of the counter 302. When the input to the clock terminal (CK) reaches a predetermined value, the counter 302 inverts the level of the output CY from “0” to “1”. Output CY is integrating circuit 3
08, one input terminal, a data register group 306, an output register 304, and an inverter 303. The output of the inverter 303 is supplied to the input terminal EP for stopping the counting operation of the counter 302,
4 and one input terminal of the integrating circuit 309, and the counter 302 stops its counting operation by receiving the input of “0” inverted by the inverter 303. In addition, the data register group 306 starts outputting the contents stored in each data register continuously by receiving the output CY of the “1” level.

【0018】積算回路308の他方の入力端子にはデー
タ用レジスタ群306の出力が入力され、積算回路30
9の他方の入力端子にはID用レジスタ310の出力が
入力されている。積算回路308,309の各出力は加
算回路307に入力されており、加算回路307の出力
は出力レジスタ304に入力されている。このため、加
算回路307はカウンタ302がカウント動作を行って
いるときにはID用レジスタ310の出力が出力レジス
タ304に入力され、加算回路307はカウンタ302
がカウント動作を停止しているときにはデータ用レジス
タ群306の出力が出力レジスタ304に入力される。
The output of the data register group 306 is input to the other input terminal of the integrating circuit 308.
The output of the ID register 310 is input to the other input terminal 9. Each output of the integrating circuits 308 and 309 is input to the adding circuit 307, and the output of the adding circuit 307 is input to the output register 304. Therefore, when the counter 302 is performing the counting operation, the output of the ID register 310 is input to the output register 304, and the addition circuit 307 outputs the counter 302
Are stopped, the output of the data register group 306 is input to the output register 304.

【0019】出力レジスタ305は、カウンタ302の
出力CYおよび出力CYの反転回路、加算回路307出
力、設定手段305に予め設定された内容のそれぞれを
予め定められたビットから出力する。なお、設定手段3
05は所定のビットが不定となることを防止するために
設けられている。出力レジスタ304の出力構成として
は、例えば、図4(a)に示すように入力データアドレ
スオフセットを示すA3〜A0および入力バイト数I3
〜I0からなる8ビット構成が考えられ、このような構
成としてもよい。図4(b)には入力データアドレスオ
フセットの内容を示し、図4(c)には入力バイト数I
3〜I0の内容を示す。
The output register 305 outputs the output CY of the counter 302, the output circuit of the output CY, the output of the addition circuit 307, and the contents preset in the setting means 305 from predetermined bits. The setting means 3
Reference numeral 05 is provided to prevent a predetermined bit from being undefined. The output configuration of the output register 304 includes, for example, A3 to A0 indicating the input data address offset and the number of input bytes I3 as shown in FIG.
An 8-bit configuration consisting of .about.I0 is conceivable, and such a configuration may be adopted. FIG. 4B shows the contents of the input data address offset, and FIG.
3 shows the contents of I0.

【0020】上記のように構成される本実施例において
は、マスター装置から送られてくる受信データ数が一定
となることを確認することにより所定時間経過の確認が
行われることとなり、マスター装置から送られてくる受
信データ数が一定となるまでID用レジスタから自局の
IDがマスター装置へ出力され、マスター装置から送ら
れてくる受信データ数が一定となるとデータ用レジスタ
群306からの通常の処理を行うためのデータがマスタ
ー装置へ出力される。
In this embodiment configured as described above, the elapse of a predetermined time is confirmed by confirming that the number of received data sent from the master device is constant. The ID of the own station is output from the ID register to the master device until the number of received data transmitted becomes constant, and when the number of received data transmitted from the master device becomes constant, the normal data from the data register group 306 is output. Data for processing is output to the master device.

【0021】なお、上記実施例では所定時間経過の確認
をマスター装置から送られてくる受信データ数が一定と
なることを確認することにより行っているが、通常用い
られるタイマーを用いても当然よい。いずれにせよ、C
PUを搭載することなく、ディスクリートに接続された
ハードウェアとすることにより、より安価に構成するこ
とが可能となる。
In the above-described embodiment, the elapse of the predetermined time is confirmed by confirming that the number of received data sent from the master device is constant. However, a timer generally used may be used. . In any case, C
By using discretely connected hardware without mounting a PU, it is possible to achieve a lower-cost configuration.

【0022】[0022]

【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載するような効果を奏する。
Since the present invention is configured as described above, it has the following effects.

【0023】請求項1記載のものにおいては、マスター
装置はスレーブ装置からのIDを受信することにより接
続されているスレーブ装置を認識することができ、誤動
作の発生を防止することができ、装置信頼性を向上する
ことができる効果がある。
According to the first aspect of the present invention, the master device can recognize the connected slave device by receiving the ID from the slave device, can prevent the occurrence of malfunction, and can reduce the device reliability. There is an effect that the property can be improved.

【0024】また、スレーブ装置を確認するためにマス
ター装置側で必要とされる処理が少なくなり、マスター
装置の構成を簡略化することができるため、安価に構成
することができる効果がある。
In addition, the number of processes required on the master device side to confirm the slave device is reduced, and the configuration of the master device can be simplified.

【0025】請求項2に記載のものにおいては、上記効
果に加えて、スレーブ装置をCPUを用いることなく、
ディスクリートに接続されたハードウェアで実現するこ
とができるため、より安価に構成することができる効果
がある。
According to the second aspect of the present invention, in addition to the above effects, the slave device can be used without using a CPU.
Since it can be realized by hardware connected discretely, there is an effect that it can be configured at a lower cost.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】(a),(b)のそれぞれは、図1に示した実
施例の動作を示すフローチャートである。
FIGS. 2A and 2B are flowcharts showing the operation of the embodiment shown in FIG.

【図3】本発明の第2の実施例の構成を示す回路図であ
る。
FIG. 3 is a circuit diagram showing a configuration of a second exemplary embodiment of the present invention.

【図4】(a)〜(c)のそれぞれは図3に示した第2
の実施例に使用される出力レジスタの内容を説明するた
めの図である。
4 (a) to 4 (c) respectively show a second example shown in FIG.
FIG. 8 is a diagram for explaining the contents of an output register used in the embodiment of FIG.

【図5】従来例の構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a conventional example.

【符号の説明】[Explanation of symbols]

101 マスター装置 102〜102 スレーブ装置 103〜103 ID送出手段 104 ID 認識手段 301 リモートI/Oコントローラ 302 カウンタ 303 インバータ 304 出力レジスタ 305 設定手段 306 データ用レジスタ群 306〜306 データ用レジスタ 307 加算回路 308,309 積算回路 310 ID用レジスタ S201〜S210 ステップReference Signs List 101 master device 102 1 to 102 n slave device 103 1 to 103 n ID sending means 104 ID recognition means 301 remote I / O controller 302 counter 303 inverter 304 output register 305 setting means 306 data register group 306 1 to 306 n data Register 307 Addition circuit 308, 309 Integration circuit 310 ID register S201 to S210 Step

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 1つのマスター装置と該マスター装置に
よりリモート制御される少なくとも1つ以上のスレーブ
装置とから構成されるリモートシステムにおいて、 前記スレーブ装置はリセット時に自局を示すIDを所定
時間送出するID送出手段を備え、 前記マスター装置は前記スレーブ装置と交信する際にそ
の受信内容を確認するID認識手段を備え、受信内容が
IDである場合にはこれを読み取って交信相手のスレー
ブ装置を認識し、受信内容が通常の処理動作に用いられ
る通常データである場合には通常の処理動作を行うこと
を特徴とするスレーブ装置認識機能を備えたリモートシ
ステム。
1. A remote system comprising one master device and at least one slave device remotely controlled by the master device, wherein the slave device transmits an ID indicating its own station at a reset time for a predetermined time. The master device includes an ID recognizing device for confirming the received content when communicating with the slave device. When the received content is an ID, the master device reads the ID and recognizes the slave device of the communication partner. A remote system having a slave device recognition function, which performs a normal processing operation when the received content is normal data used for a normal processing operation.
【請求項2】 1つのマスター装置と該マスター装置に
よりリモート制御される少なくとも1つ以上のスレーブ
装置とから構成されるリモートシステムにおいて、 前記スレーブ装置は、 リセット時から所定時間経過したかを検出する経過時間
検出手段と、 IDを格納するID用レジスタと、 通常データを格納するデータ用レジスタと、 前記経過時間検出手段によりリセット時から所定時間経
過したことが検出されている場合には前記ID用レジス
タの出力をマスター装置へ送出し、前記経過時間検出手
段によりリセット時から所定時間経過したことが検出さ
れていない場合には前記データ用レジスタの出力をマス
ター装置へ送出する選択出力手段と、を備え、 前記マスター装置は前記スレーブ装置と交信する際にそ
の受信内容を確認するID認識手段を備え、受信内容が
IDである場合にはこれを読み取って交信相手のスレー
ブ装置を認識し、受信内容が通常の処理動作に用いられ
る通常データである場合には通常の処理動作を行うこと
を特徴とするスレーブ装置認識機能を備えたリモートシ
ステム。
2. In a remote system including one master device and at least one or more slave devices remotely controlled by the master device, the slave device detects whether a predetermined time has elapsed since reset. An elapsed time detecting means; an ID register for storing an ID; a data register for storing normal data; and an ID register when the elapsed time detecting means detects that a predetermined time has elapsed from a reset time. Selecting output means for sending the output of the register to the master device, and sending the output of the data register to the master device when the elapsed time detecting means does not detect that a predetermined time has elapsed since the reset. The master device confirms the received content when communicating with the slave device. D recognition means, when the received content is an ID, reads this to recognize the slave device of the communication partner, and when the received content is normal data used for a normal processing operation, performs a normal processing operation. A remote system having a slave device recognition function.
JP27255197A 1997-10-06 1997-10-06 Remote system equipped with slave device recognition function Pending JPH11110001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27255197A JPH11110001A (en) 1997-10-06 1997-10-06 Remote system equipped with slave device recognition function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27255197A JPH11110001A (en) 1997-10-06 1997-10-06 Remote system equipped with slave device recognition function

Publications (1)

Publication Number Publication Date
JPH11110001A true JPH11110001A (en) 1999-04-23

Family

ID=17515487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27255197A Pending JPH11110001A (en) 1997-10-06 1997-10-06 Remote system equipped with slave device recognition function

Country Status (1)

Country Link
JP (1) JPH11110001A (en)

Similar Documents

Publication Publication Date Title
JPH0713880A (en) Information transmission method for bus
WO1987006750A1 (en) Fire alarm facility
JPH11110001A (en) Remote system equipped with slave device recognition function
JPS585831A (en) Controlling device for power source
KR102290796B1 (en) Method of automatically restarting ecu upon occurrence of lin communicatin errors
JP2614926B2 (en) Power control system
JP2806879B2 (en) Base station reset method
JP2666849B2 (en) Remote monitoring device
JP2591862B2 (en) Power control signal converter
US20050012116A1 (en) Method for a first semiconductor device to determine if it is coupled to a second semiconductor device
JP2000269866A (en) Transmission system, method for detecting short-circuit of transmission line, and storage medium recording program of short-circuit recovery method
JP3349006B2 (en) Common line intercom terminal reset device
JPH1168802A (en) Faulty environment supervisory system
JP3052646B2 (en) Multiplex communication device
JP3619583B2 (en) Data transmission system
JPH11233974A (en) Electronic circuit package and its incorrect mounting protection method
JPH045301B2 (en)
JP2626259B2 (en) Remote power control unit
JP2825464B2 (en) Communication device
JPH10161943A (en) Malfunction preventing system for equipment
JPH1196488A (en) Disconnection monitoring system and disconnection monitoring method
JP2910264B2 (en) Abnormal reception response detection device
JP2980550B2 (en) Communication device
JPH08106405A (en) Cpu monitoring circuit
JP2000035834A (en) Remote resetting device