JPH10108278A - Communication control system - Google Patents

Communication control system

Info

Publication number
JPH10108278A
JPH10108278A JP8262872A JP26287296A JPH10108278A JP H10108278 A JPH10108278 A JP H10108278A JP 8262872 A JP8262872 A JP 8262872A JP 26287296 A JP26287296 A JP 26287296A JP H10108278 A JPH10108278 A JP H10108278A
Authority
JP
Japan
Prior art keywords
control
communication
signal
representative
control unit
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
JP8262872A
Other languages
Japanese (ja)
Inventor
Akio Suzuki
昭夫 鈴木
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 JP8262872A priority Critical patent/JPH10108278A/en
Publication of JPH10108278A publication Critical patent/JPH10108278A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically change a self communication specification in accordance with system configuration by adopting the specification as a slave in a first system when the control signal is received within a fixed period at the time of power supply and adopting it as a master in the second system when the signal is not received so as to respectively execute an operation by means of the specification. SOLUTION: A representative control terminal equipment 1a which is set as a representative judges whether or not a self transmitting/receiving cicuit receives the control signal from a control unit 7 at first. When it is received, the self communication specification is fixed as the slave and a communication control system is operated as the first system. In the meantime, when the transmitting/receiving circuit judges that the control signal is not received and also a non-reception time elapses for a fixed time, it is judged that the control unit 7 for executing master communication does not exist in the system so that it is decided that the terminal equipment itself is the master communication specification for controlling the operations of the other control terminal equipment 1b-1d and the system is operated as the second system.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、同一形態の負荷
に対して同一の制御を行なう複数の制御端末機を一本の
通信線によりマルチドロップ接続して制御端末機を動作
させる通信制御システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control system in which a plurality of control terminals for performing the same control on the same type of load are connected in a multi-drop manner by a single communication line to operate the control terminals. Things.

【0002】[0002]

【従来の技術】一般に、複数の制御端末機を同一の通信
線上に接続するマルチドロップ配線において、制御端末
機間で通信を行なおうとする場合、通信データの内容に
送信先の宛名であるアドレスと呼ばれる識別番号が必要
である。アドレスは通常、システムの初期設定状態で、
アドレス設定スイッチ等により人為的に各制御端末機に
設定される。簡易な通信制御システムにおいては、特開
平5―227573号公報に示されているように、シス
テムの電源投入時、代表の機能を持たせた特定の代表制
御端末機が自己を操作監視するコントロールユニットが
接続されているか否かの判断を行ない、当該システムに
おける自己の通信仕様を決定するようにして、アドレス
設定なしのシステムとして構成することも多い。
2. Description of the Related Art In general, when communication is to be performed between control terminals in a multi-drop wiring for connecting a plurality of control terminals on the same communication line, an address which is an address of a transmission destination is included in communication data. An identification number called is required. The address is usually the system's default state,
It is artificially set to each control terminal by an address setting switch or the like. In a simple communication control system, as shown in JP-A-5-227573, when a system is powered on, a specific representative control terminal having a representative function operates and monitors itself. It is often configured as a system without address setting by determining whether or not is connected and determining its own communication specifications in the system.

【0003】このような通信制御システムでは、代表制
御端末機一台に対してマスター通信を行なうコントロー
ルユニットが接続されている場合には、コントロールユ
ニットが制御信号の送受信を行なうことにより代表制御
端末機の操作及び監視を行ない、他の制御端末機は、コ
ントロールユニットからの制御信号に対して通信線を介
して受信のみを行なうスレーブの通信仕様によりコント
ロールユニットから操作される。また、別系統の通信線
で外部コントロールユニットが接続され代表制御端末機
一台に対して運転指示信号を送信する場合には、代表制
御端末機が他の制御端末機に対して自己と同じ動作を行
なわせるマスターの通信仕様により動作する。
In such a communication control system, when a control unit for performing master communication is connected to one representative control terminal, the control unit transmits and receives control signals to thereby control the representative control terminal. Is operated and monitored, and the other control terminals are operated from the control unit according to the communication specifications of a slave that only receives a control signal from the control unit via a communication line. Also, when the external control unit is connected by another communication line and sends an operation instruction signal to one representative control terminal, the representative control terminal performs the same operation as its own to other control terminals. The operation is performed according to the communication specification of the master that performs the communication.

【0004】[0004]

【発明が解決しようとする課題】上記した通信制御シス
テムにおいて、システムの電源投入時に、代表制御端末
機が自己を操作監視するコントロールユニットが接続さ
れているか否かの判断を行ない、コントロールユニット
が接続されていないと判断して、当該通信制御システム
における自己の通信仕様をマスターに決定した場合に、
マスター通信を行なうコントロールユニットが後付けさ
れた場合、代表制御端末機には後付けされたコントロー
ルユニットからの制御信号に対して応答信号を返送する
手段がなく、コントロールユニットと代表制御端末機と
の間での信号の衝突による通信異常が起きるといった問
題点がある。このような場合には面倒でも電源を再度入
れ直して代表制御端末機の通信仕様を変えなくてはなら
なかった。
In the communication control system described above, when the power of the system is turned on, the representative control terminal determines whether or not a control unit for operating and monitoring itself is connected. If it is determined that it has not been performed and its own communication specification in the communication control system is determined to be master,
When the control unit performing the master communication is retrofitted, the representative control terminal has no means for returning a response signal to the control signal from the retrofitted control unit, and the There is a problem that a communication error occurs due to the collision of the signals. In such a case, even if it is troublesome, the power must be turned on again to change the communication specifications of the representative control terminal.

【0005】上述のような信号の衝突に関し、特開平5
―145559号公報にはセンター装置と複数の端末が
マルチドロップ回線において接続されたシステムにおい
て、回線上でのデータ衝突を処理する技術が示されてい
る。これは、通信に予め優先度を設定し、回線上でデー
タ衝突が発生した場合には、優先度の高い通信が送信権
を獲得するようにしたものである。しかしながら、この
技術は通信に優先度を付けるもので、代表制御端末機が
マスターの通信仕様で動作したり、スレーブの通信仕様
で動作する上述のような通信制御システムにおけるコン
トロールユニットと代表制御端末機との間での信号の衝
突による問題を解決することはできない。
[0005] Regarding the above-mentioned signal collision, Japanese Patent Laid-Open Publication No.
Japanese Patent Application Publication No. 145559 discloses a technique for processing data collision on a line in a system in which a center device and a plurality of terminals are connected via a multi-drop line. In this method, priorities are set in advance for communication, and when data collision occurs on a line, a communication having a higher priority acquires a transmission right. However, this technique prioritizes communication, and the control unit and the representative control terminal in the above-described communication control system in which the representative control terminal operates according to the master communication specification or operates according to the slave communication specification. It cannot solve the problem caused by the signal collision between the two.

【0006】本発明は、係る従来の問題点を解消するた
めになされたもので、その課題とするところは、通信線
によりマルチドロップ形式で通信可能に接続され、同一
形態の負荷に対して同一の制御を行なう複数の制御端末
機の中の特定の代表制御端末機が、システム電源の再投
入なしに自動的に自己の通信仕様をシステム構成に応じ
て変更する機能を備えた通信制御システムを得ることで
あり、その通信制御システムの通信仕様の変更について
の機能の向上を図ることである。
SUMMARY OF THE INVENTION The present invention has been made to solve such a conventional problem, and an object of the present invention is to provide a multi-drop communicable connection via a communication line so that the same load can be applied to the same load. A specific representative control terminal among a plurality of control terminals that controls the communication control system has a function of automatically changing its own communication specifications according to the system configuration without turning on the system power again. And to improve the function of the communication control system for changing the communication specifications.

【0007】[0007]

【課題を解決するための手段】前記課題を達成するため
に請求項1の発明は、第1の通信線によりマルチドロッ
プ形式で通信可能に接続され通信の送受信回路を有し、
同一形態の負荷に対して同一の制御を行なう複数の制御
端末機の中で、それらを代表する機能を設定された特定
の代表制御端末機一台に対して、第1の通信線上に接続
され、マスター通信を行なうコントロールユニットが制
御信号の送受信を行なうことにより、代表制御端末機の
操作及び監視を行ない、他の制御端末機は、コントロー
ルユニットからの制御信号に対して第1の通信線を介し
て受信のみを行なうことによりコントロールユニットか
ら操作される第1のシステムと、特定の代表制御端末機
一台に対して、別系統の第2の通信線により接続された
外部コントロールユニットが運転指示信号を送信し、代
表制御端末機が第1の通信線に接続された他の制御端末
機に対して自己と同じ動作を行なわせる制御信号を送信
し、他の制御端末機はその制御信号の受信のみを行なう
第2のシステムとを備えた通信制御システムについて、
その代表制御端末機を、電源投入時の一定期間内にマス
ター通信を行なうコントロールユニットからの制御信号
を受信したら第1のシステムでスレーブとしての通信仕
様で動作し、受信しなかったら第2のシステムでマスタ
ーとしての通信仕様で動作するようにし、かつこのマス
ター通信仕様で動作中にマスター通信を行なうコントロ
ールユニットが後付けされた場合、後付けを検知して第
1のシステムでスレーブとしての通信仕様に変更する手
段を具備させる手段を採用する。
According to a first aspect of the present invention, there is provided a transmission / reception circuit which is communicably connected by a first communication line in a multi-drop manner.
Among a plurality of control terminals that perform the same control on the load of the same form, one specific representative control terminal set with a representative function is connected on a first communication line. The control unit that performs master communication transmits and receives control signals, thereby operating and monitoring the representative control terminal, and the other control terminals use the first communication line for control signals from the control unit. A first system operated by the control unit by performing only reception via the external control unit, and an external control unit connected by a second communication line of another system to one specific representative control terminal are instructed to operate. The representative control terminal transmits a control signal for causing the other control terminal connected to the first communication line to perform the same operation as that of the other control terminal. The communication control system comprising a second system for only reception of the control signal,
When a representative control terminal receives a control signal from a control unit that performs master communication within a certain period of time when the power is turned on, the first system operates according to the communication specification as a slave, and if not, the second system operates. If the control unit that performs the master communication is installed afterwards while operating with this master communication specification, the replacement is detected and the first system is changed to the communication specification as a slave. A means for providing a means for performing the above is adopted.

【0008】前記課題を達成するために請求項2の発明
は、請求項1に係る前記手段におけるマスター通信を行
なうコントロールユニットが後付けされたことを、代表
制御端末機が、第1の通信線に接続された他の制御端末
機に対して自己と同じ動作を行なわせる制御信号を固定
周期で送信するさなかに、送信中以外を受信許可期間と
して、その受信許可期間中にコントロールユニットから
の制御信号を検知し正常に受信処理が終了した場合に検
知するようにする手段を採用する。
According to a second aspect of the present invention, a control unit for performing master communication in the means according to the first aspect is retrofitted to the first communication line. During the transmission of the control signal in a fixed cycle for causing the other connected control terminal to perform the same operation as the self, the control signal from the control unit is received during the reception permission period except for during transmission. And a means for detecting when the reception processing is normally completed.

【0009】前記課題を達成するために請求項3の発明
は、請求項1に係る前記手段におけるマスター通信を行
なうコントロールユニットが後付けされたことを、代表
制御端末機が、第1の通信線に接続された他の制御端末
機に対して自己と同じ動作を行なわせる制御信号を固定
周期で送信するさなかに、自己の送信信号を同タイミン
グで受信可能の衝突検知手段と、送信信号と同タイミン
グで受信した受信信号とを比較する信号比較手段により
検知するようにする手段を採用する。
According to a third aspect of the present invention, a control unit for performing master communication in the means according to the first aspect is retrofitted to the first control line by a representative control terminal. While transmitting a control signal at a fixed period to cause another connected control terminal to perform the same operation as its own, collision detection means capable of receiving its own transmission signal at the same timing, and the same timing as the transmission signal Means for detecting by a signal comparing means for comparing the received signal with the received signal.

【0010】[0010]

【発明の実施の形態】図1はこの発明の実施の形態を示
す通信制御システムの物理的構成図である。この通信制
御システムは、同一形態の負荷(空調換気装置等)に対
して同一の制御を行なう第1の通信線1によりマルチド
ロップ形式で通信可能に接続された複数の制御端末機1
a,1b,1c,1dにより構成されている。各制御端
末機1a,1b,1c,1dは、それぞれ図2に示すよ
うに第1の通信線1に接続される通信に関する衝突検知
手段を含む送受信回路2と、中央演算処理手段であるC
PU3と、代表権設定スイッチ4と、第1の通信線1と
は別系統の第2の通信線5に接続できる受信回路6とを
備えている。制御端末機1a,1b,1c,1dのうち
の一つは、上記した代表権設定スイッチ4がONにさ
れ、これ以外の他のものは代表権設定スイッチ4がOF
Fにされている。代表権設定スイッチ4がONに設定さ
れた制御端末機1aは、他の制御端末機1b,1c,1
dを代表する機能を持つ代表制御端末機1aとして位置
づけられる。
FIG. 1 is a physical configuration diagram of a communication control system showing an embodiment of the present invention. This communication control system includes a plurality of control terminals 1 communicably connected in a multi-drop manner by a first communication line 1 that performs the same control on loads of the same form (air conditioning ventilation device and the like).
a, 1b, 1c and 1d. Each of the control terminals 1a, 1b, 1c, and 1d includes a transmission / reception circuit 2 including a collision detection unit for communication connected to the first communication line 1 and a central processing unit C as shown in FIG.
It includes a PU 3, a representative right setting switch 4, and a receiving circuit 6 that can be connected to a second communication line 5 of a different system from the first communication line 1. In one of the control terminals 1a, 1b, 1c, 1d, the above-mentioned representative right setting switch 4 is turned on, and in the other control terminals, the representative right setting switch 4 is turned off.
F The control terminal 1a whose representative right setting switch 4 is set to ON is the other control terminal 1b, 1c, 1
It is positioned as a representative control terminal 1a having a function representative of d.

【0011】この代表制御端末機1aとマスター通信を
行ない代表制御端末機1aの操作及び監視を行なうコン
トロールユニット7を第1の通信線1上に接続した図1
に示す第1のシステムと、図3に示すように代表制御端
末機1aに第1の通信線1とは別系統の第2の通信線5
により接続される外部コントロールユニット8が、代表
制御端末機1aに運転指示信号を送信し、代表制御端末
機1aがマスターの通信仕様で動作する第2のシステム
のいずれでも機能する。
A control unit 7 for performing master communication with the representative control terminal 1a and operating and monitoring the representative control terminal 1a is connected to the first communication line 1 in FIG.
And a second communication line 5 of a different system from the first communication line 1 to the representative control terminal 1a as shown in FIG.
The external control unit 8 connected by the above transmits an operation instruction signal to the representative control terminal 1a, and functions in any of the second systems in which the representative control terminal 1a operates according to the master communication specification.

【0012】第1のシステムでは、図4により論理構成
を示すように代表制御端末機1aに対して第1の通信線
1上に接続されたコントロールユニット7がマスター通
信を行ない、制御信号の送受信を行なうことにより、代
表制御端末機1aの操作及び監視を行なう。他の制御端
末機1b,1c,1dは、コントロールユニット7から
の制御信号に対して第1の通信線1を介して受信のみを
行なうことによりコントロールユニット7から操作され
ることになる。従って、マスター通信を行なうコントロ
ールユニット7に対して代表制御端末機1aも他の制御
端末機1b,1c,1dもスレーブとして動作し、代表
制御端末機1aはスレーブの通信仕様で動作する。コン
トロールユニット7は、使用者がこのシステムを発停さ
せたり、機器独自の制御を行なったりするものであり、
各制御端末機1a,1b,1c,1dに対する通信のポ
ーリングを行なうものである。
In the first system, the control unit 7 connected to the first communication line 1 performs master communication with the representative control terminal 1a as shown in the logical configuration of FIG. , The operation and monitoring of the representative control terminal 1a are performed. The other control terminals 1b, 1c, 1d are operated from the control unit 7 by only receiving the control signal from the control unit 7 via the first communication line 1. Therefore, the representative control terminal 1a and the other control terminals 1b, 1c and 1d operate as slaves with respect to the control unit 7 performing the master communication, and the representative control terminal 1a operates according to the slave communication specification. The control unit 7 allows the user to start and stop the system and to perform control unique to the device.
It polls communication with respect to each control terminal 1a, 1b, 1c, 1d.

【0013】第2のシステムでは、図5によりその論理
構成を示すように代表制御端末機1aに対して別系統の
第2の通信線5により接続された外部コントロールユニ
ット8が運転指示信号を送信し、代表制御端末機1aが
第1の通信線1に接続された他の制御端末機1b,1
c,1dに対して自己と同じ動作を行なわせる制御信号
を送信し、他の制御端末機1b,1c,1dはスレーブ
としてその制御信号の受信のみを行なうことになる。即
ち、第2のシステムでは代表制御端末機1aはマスター
の通信仕様で動作する。なお、マスターとは各制御端末
機1b,1c,1dに対して自主的に制御信号を送信す
るユニットを示し、スレーブとはマスターからの制御信
号を受信し、必要があればその制御信号に対する応答を
返信するユニットを示す。
In the second system, an external control unit 8 connected to the representative control terminal 1a by a second communication line 5 of another system transmits an operation instruction signal to the representative control terminal 1a as shown in FIG. The representative control terminal 1a is connected to the other control terminals 1b, 1 connected to the first communication line 1.
A control signal for causing c and 1d to perform the same operation as itself is transmitted, and the other control terminals 1b, 1c and 1d receive only the control signal as slaves. That is, in the second system, the representative control terminal 1a operates according to the master communication specification. The master indicates a unit which independently transmits a control signal to each of the control terminals 1b, 1c and 1d, and the slave receives a control signal from the master and, if necessary, responds to the control signal. Is indicated.

【0014】コントロールユニット7と外部コントロー
ルユニット8との混在システムも第1のシステムとして
扱い、図6に物理構成図を図7に論理構成図を示す。図
7に示すようにコントロールユニット7と各制御端末機
1a,1b,1c,1dは相互に通信を行なっている
が、制御端末機1a,1b,1c,1dの内で実際にコ
ントロールユニット7に返信を行なっているのは代表制
御端末機1aのみであり、他の制御端末機1b,1c,
1dはコントロールユニット7から代表制御端末機1a
に送信される信号を受信するのみである。代表制御端末
機1aは第2の通信線5により接続された外部コントロ
ールユニット8からの運転指示信号を一旦コントロール
ユニット7に送信し、コントロールユニット7からの運
転要求に従う。従って、通信のマスター機能を有するの
はコントロールユニット7であり、代表制御端末機1a
も他の制御端末機1b,1c,1dもスレーブである。
A mixed system of the control unit 7 and the external control unit 8 is also treated as a first system. FIG. 6 shows a physical configuration diagram and FIG. 7 shows a logical configuration diagram. As shown in FIG. 7, the control unit 7 and each of the control terminals 1a, 1b, 1c, 1d communicate with each other, but actually communicate with the control unit 7 in the control terminals 1a, 1b, 1c, 1d. Only the representative control terminal 1a sends a reply, and the other control terminals 1b, 1c,
1d is a representative control terminal 1a from the control unit 7.
Only receive the signal transmitted to. The representative control terminal 1a once transmits an operation instruction signal from the external control unit 8 connected by the second communication line 5 to the control unit 7, and follows the operation request from the control unit 7. Therefore, it is the control unit 7 that has the communication master function, and the representative control terminal 1a.
The other control terminals 1b, 1c, 1d are also slaves.

【0015】代表制御端末機1aのCPU3は、上記し
た第1のシステムによる通信仕様をとるか第2のシステ
ムによる通信仕様をとるかをシステムの電源投入ととも
に図8のフローチャートに示すような手順で決定する。
即ち、代表権設定スイッチ4がONにされ代表として設
定された代表制御端末機1aは、システムの電源投入に
より、図8の#101において、まず始めに自己の送受
信回路2がコントロールユニット7からの制御信号を受
信したか否かの判断を行なう。#101で制御信号を受
信していれば、マスター通信を行なうコントロールユニ
ット7が存在するものとして#102の処理に進み、#
102において自己の通信仕様をスレーブとして固定す
る。これにより、この通信制御システムは第1のシステ
ムで稼動することになる。
The CPU 3 of the representative control terminal 1a determines whether to adopt the communication specifications by the first system or the second system by turning on the power of the system in accordance with the procedure shown in the flowchart of FIG. decide.
That is, when the representative right setting switch 4 is turned on and the representative control terminal 1a is set as the representative, the system first turns on the transmitting / receiving circuit 2 from the control unit 7 in # 101 of FIG. It is determined whether a control signal has been received. If the control signal is received in # 101, it is determined that the control unit 7 for performing the master communication exists, and the process proceeds to # 102, and
At 102, its own communication specification is fixed as a slave. As a result, the communication control system operates on the first system.

【0016】#101で送受信回路2が制御信号を受信
しない判断をしたときには、#103において制御信号
を受信しない時が一定時間経過したか否かを判定する。
#103で一定時間経過していなければ#101へ戻
り、経過したならば#104の処理を実行する。#10
4では、システムにマスター通信を行なうコントロール
ユニット7が存在しないとして、自己を他の制御端末機
1b,1c,1dの操作を司るマスターとしての通信仕
様とする決定を行ない#105へ進む。#104の決定
により、この通信制御システムは第2のシステムで稼動
することになるが、#105において常時、自己の送受
信回路2が制御信号を受信したか否かが判断される。#
105はコントロールユニット7の後付け検知のルーチ
ンであり、#105でコントロールユニット7の後付け
が検知された場合(#105でYESの場合)、#10
6の処理を行ない、後付けが検知されない場合(#10
5でNOの場合)、#105の処理を繰り返す。#10
6では自己の通信仕様をスレーブとする処理を実施す
る。これにより、コントロールユニット7が後付けされ
た場合にも、システムの電源の再投入といった面倒な操
作なしに自動的に代表制御端末機1aが自己の通信仕様
を変更し、システム構成に応じた制御動作を行なうこと
になる。
When it is determined in step # 101 that the transmission / reception circuit 2 does not receive the control signal, it is determined in step # 103 whether or not the control signal has not been received for a predetermined time.
If the predetermined time has not elapsed in # 103, the process returns to # 101, and if it has elapsed, the process of # 104 is executed. # 10
In 4, it is determined that there is no control unit 7 for performing master communication in the system, and it is determined that the control unit 7 is a communication specification as a master for controlling the operations of the other control terminals 1 b, 1 c, 1 d, and the process proceeds to # 105. According to the determination at # 104, this communication control system operates in the second system. At # 105, it is always determined whether or not its own transmission / reception circuit 2 has received a control signal. #
Reference numeral 105 denotes a routine for detecting retrofitting of the control unit 7, and when retrofitting of the control unit 7 is detected in # 105 (in the case of YES in # 105), # 10 is performed.
6 is performed, and no retrofit is detected (# 10
In the case of NO at step 5), the process of # 105 is repeated. # 10
In step 6, a process for setting its own communication specification as a slave is performed. Thus, even when the control unit 7 is retrofitted, the representative control terminal 1a automatically changes its own communication specifications without any troublesome operation such as turning on the power of the system again, and performs a control operation according to the system configuration. Will be performed.

【0017】図8のフローチャートにおける#104以
降の処理に関しては、第1の通信線1に接続された他の
制御端末機1b,1c,1dに対して自己と同じ動作を
行なわせる制御信号を固定周期で送信するさなかに、送
信中以外を受信許可期間として、その受信許可期間中に
コントロールユニット7からの制御信号を検知し正常に
受信処理が終了した場合に通信仕様を変更する仕方が、
第1のシステムにおいては代表制御端末機1aがスレー
ブとなることから、受信プログラムを内蔵しており追加
ソフトの負担も少ないものとすることができる。即ち、
図8に示したコントロールユニット7が後付けされたか
否かの検知を行なう#105に関し、#104において
マスターとしての通信仕様で動作する処理を行なった代
表制御端末機1aは、外部コントロールユニット8の出
力する運転指示信号を受信し、他の制御端末機1b,1
c,1dの操作を行ない図9に示す#201の処理に進
む。
With respect to the processing after # 104 in the flowchart of FIG. 8, a control signal for causing the other control terminals 1b, 1c, 1d connected to the first communication line 1 to perform the same operation as the own terminal is fixed. During transmission in a periodic manner, a method other than a transmission is defined as a reception permission period, and a communication signal is changed when the control signal from the control unit 7 is detected during the reception permission period and reception processing is normally completed.
In the first system, since the representative control terminal 1a is a slave, a receiving program is built in and the burden of additional software can be reduced. That is,
Regarding # 105 for detecting whether or not the control unit 7 shown in FIG. 8 has been retrofitted, the representative control terminal 1a, which has performed the process of operating according to the communication specification as the master in # 104, outputs the output of the external control unit 8. Receiving the operation instruction signal to be transmitted to the other control terminals 1b, 1
The operations of c and 1d are performed, and the process proceeds to # 201 shown in FIG.

【0018】#201では他の制御端末機1b,1c,
1dの制御を指示する制御信号を送信し、送受信回路2
を受信許可状態にする#202の処理に進む。#202
で送受信回路2の受信を許可状態にした後、#203に
おいてコントロールユニット7からの制御信号を受信し
たか否かの判断を行なう。#203で制御信号を受信し
たときは、コントロールユニット7が後付けされたとし
て、第1のシステムによるスレーブとしての通信仕様で
動作する。#203で制御信号を受信しない判断をした
ときは、#204において制御信号を受信しない時間が
一定時間経過したかどうかを判定する。#204で一定
時間経過したときは、#205に進み#205において
送受信回路2を受信禁止状態にセットする処理を行な
い、#201の処理に戻り、一定時間経過していないと
きは#203の処理に戻る。このコントロールユニット
7の後付け検知方式によれば代表制御端末機1aの送受
信回路2の受信制御によりコントロールユニット7の後
付けを検知することができる。
In # 201, the other control terminals 1b, 1c,
1d to transmit a control signal instructing the control of 1d,
Proceeds to the process of # 202 in which the reception is permitted. # 202
After the reception of the transmission / reception circuit 2 is permitted in step # 203, it is determined in step # 203 whether a control signal from the control unit 7 has been received. When the control signal is received in # 203, it is determined that the control unit 7 is retrofitted, and the first system operates according to the communication specifications as a slave. When it is determined in step # 203 that no control signal is received, it is determined in step # 204 whether or not a time period during which no control signal is received has elapsed for a predetermined time. If the predetermined time has elapsed in # 204, the process proceeds to # 205, in which the process of setting the transmission / reception circuit 2 to the reception inhibition state is performed in # 205, and the process returns to # 201. If the predetermined time has not elapsed, the process of # 203 is performed. Return to According to the retrofitting detection method of the control unit 7, the retrofitting of the control unit 7 can be detected by the reception control of the transmission / reception circuit 2 of the representative control terminal 1a.

【0019】この他にも、コントロールユニット7の後
付けは次のような仕方でも検知することができる。即
ち、第1の通信線1に接続された他の制御端末機1b,
1c,1dに対して代表制御端末機1aが自己と同じ動
作を行なわせる制御信号を固定周期で送信するさなか
に、自己の送信信号を同じタイミングで受信可能の衝突
検知手段と、送信信号と同じタイミングで受信した受信
信号とを比較する信号比較手段とにより検知するように
する。具体的には図8の#104においてマスターとし
ての通信仕様で動作する処理を行なった代表制御端末機
1aは、外部コントロールユニット8の出力する運転指
示信号を受信し、他の制御端末機1b,1c,1dの操
作を行なう決定をして図10のフローチャートに示す#
301の処理に進む。
In addition, the retrofitting of the control unit 7 can be detected in the following manner. That is, the other control terminals 1b connected to the first communication line 1,
While the control signal causing the representative control terminal 1a to perform the same operation as its own to 1c and 1d is transmitted in a fixed cycle, the collision detecting means capable of receiving its own transmission signal at the same timing and the same as the transmission signal The detection is performed by a signal comparing unit that compares the reception signal received at the timing. Specifically, the representative control terminal 1a that has performed the process of operating according to the communication specification as the master in # 104 of FIG. 8 receives the operation instruction signal output from the external control unit 8, and receives the other control terminals 1b, Decisions to perform the operations 1c and 1d are made, and # shown in the flowchart of FIG.
It proceeds to the process of 301.

【0020】#301において、他の制御端末機1b,
1c,1dに制御信号を送信すると同じタイミングで通
信の衝突検知機能を備えた送受信回路2により受信を行
ない、#302に進む。#302では、自己の送信した
制御信号と受信した信号が同じか否かが比較手段を備え
たCPU3により判断され、同じであれば#303の処
理に進み、衝突検知機能により自己の送信した制御信号
と受信した信号が同じでないと判断したときは、コント
ロールユニット7が後付けされたとして第1のシステム
による通信仕様で動作する処理を行なう。#302で自
己の送信した制御信号と受信した信号が同じであれば、
#303においてその状態が一定時間経過したか否かが
判断される。一定時間経過していなければ#303に戻
り、経過したならば#301の処理に戻る。このコント
ロールユニット7の後付け検知方式によれば、通信制御
システムの出荷時の単体検査において、送受信回路2の
機能チェックを後付け検知方式を利用して実施すること
ができ都合が良い。
In # 301, the other control terminals 1b,
When the control signals are transmitted to 1c and 1d, reception is performed at the same timing by the transmission / reception circuit 2 having the communication collision detection function, and the process proceeds to # 302. In # 302, the CPU 3 including the comparing means determines whether or not the control signal transmitted by itself and the received signal are the same. If the control signal is the same, the process proceeds to # 303 and the control transmitted by the collision detection function is performed. If it is determined that the signal and the received signal are not the same, it is determined that the control unit 7 has been retrofitted, and processing for operating according to the communication specifications of the first system is performed. If the control signal transmitted by itself and the received signal are the same in # 302,
In # 303, it is determined whether or not the state has passed for a predetermined time. If the fixed time has not elapsed, the process returns to # 303, and if it has elapsed, the process returns to # 301. According to the retrofit detection method of the control unit 7, the function check of the transmission / reception circuit 2 can be performed using the retrofit detection method in the unit inspection at the time of shipment of the communication control system, which is convenient.

【0021】[0021]

【発明の効果】以上、実施の形態での説明からも明らか
なように第1の発明によれば、通信線によりマルチドロ
ップ形式で通信可能に接続され、同一形態の負荷に対し
て同一の制御を行なう複数の制御端末機の中の特定の代
表制御端末機が、システム電源の再投入といった面倒な
操作なしに自動的に自己の通信仕様をシステム構成に応
じた通信仕様に変更する機能を有する通信制御システム
が得られる。
As is apparent from the above description of the embodiment, according to the first invention, the communication lines are communicably connected in a multi-drop manner, and the same control is performed for the same load. Has a function of automatically changing its own communication specification to a communication specification according to the system configuration without troublesome operation such as restarting the system power supply. A communication control system is obtained.

【0022】請求項2及び請求項3の発明によれば、請
求項1に係る前記効果とともに通信制御システムの通信
仕様の変更に関する機能が向上する。
According to the second and third aspects of the present invention, in addition to the effect of the first aspect, a function relating to a change in communication specifications of the communication control system is improved.

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

【図1】 実施の形態の通信制御システムの第1のシス
テムを物理的構成により示した物理構成図である。
FIG. 1 is a physical configuration diagram showing a first system of a communication control system according to an embodiment with a physical configuration.

【図2】 実施の形態の通信制御システムにおける制御
端末機の構成を示す構成図である。
FIG. 2 is a configuration diagram illustrating a configuration of a control terminal in the communication control system according to the embodiment;

【図3】 実施の形態の通信制御システムの第2のシス
テムを物理的構成により示した物理構成図である。
FIG. 3 is a physical configuration diagram showing a second system of the communication control system according to the embodiment by a physical configuration;

【図4】 図1を論理的構成として示した論理構成図で
ある。
FIG. 4 is a logical configuration diagram showing FIG. 1 as a logical configuration.

【図5】 図3を論理的構成として示した論理構成図で
ある。
FIG. 5 is a logical configuration diagram showing FIG. 3 as a logical configuration.

【図6】 実施の形態の通信制御システムの第1のシス
テムとして扱う図4とは別のシステムを物理的構成とし
て示した物理構成図である。
FIG. 6 is a physical configuration diagram showing, as a physical configuration, another system different from FIG. 4 which is treated as a first system of the communication control system according to the embodiment;

【図7】 図6を論理的構成として示した論理構成図で
ある。
FIG. 7 is a logical configuration diagram showing FIG. 6 as a logical configuration.

【図8】 実施の形態における代表制御端末機の動作を
示すフローチャートである。
FIG. 8 is a flowchart illustrating an operation of the representative control terminal according to the embodiment.

【図9】 代表制御端末機の動作を示す主要ルーチンの
フローチャートである。
FIG. 9 is a flowchart of a main routine showing the operation of the representative control terminal.

【図10】 代表制御端末機の動作を示す主要ルーチン
のフローチャートである。
FIG. 10 is a flowchart of a main routine showing the operation of the representative control terminal.

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

1 第1の通信線、 1a 制御端末機(代表制御端末
機)、 1b 制御端末機、 1c 制御端末機、 1
d 制御端末機、 2 送受信回路、 3 CPU、
4 代表権設定スイッチ、 5 第2の通信線、 6
受信回路、 7コントロールユニット、 8 外部コン
トロールユニット。
1 first communication line, 1a control terminal (representative control terminal), 1b control terminal, 1c control terminal, 1
d control terminal, 2 transmission / reception circuit, 3 CPU,
4 Representative right setting switch, 5 Second communication line, 6
Receiving circuit, 7 control units, 8 external control units.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 第1の通信線によりマルチドロップ形式
で通信可能に接続され通信の送受信回路を有し、同一形
態の負荷に対して同一の制御を行なう複数の制御端末機
の中で、それらを代表する機能を設定された特定の代表
制御端末機一台に対して上記第1の通信線上に接続さ
れ、マスター通信を行なうコントロールユニットが制御
信号の送受信を行なうことにより、上記代表制御端末機
の操作及び監視を行ない、他の制御端末機は、上記コン
トロールユニットからの制御信号に対して上記第1の通
信線を介して受信のみを行なうことにより上記コントロ
ールユニットから操作される第1のシステムと、上記特
定の代表制御端末機一台に対して、別系統の第2の通信
線により接続された外部コントロールユニットが運転指
示信号を送信し、上記代表制御端末機が上記第1の通信
線に接続された他の制御端末機に対して自己と同じ動作
を行なわせる制御信号を送信し、他の制御端末機はその
制御信号の受信のみを行なう第2のシステムとを備え、
上記代表制御端末機を、電源投入時の一定期間内にマス
ター通信を行なう上記コントロールユニットからの制御
信号を受信したら上記第1のシステムでスレーブとして
の通信仕様で動作し、受信しなかったら上記第2のシス
テムでマスターとしての通信仕様で動作するようにし、
かつこのマスター通信仕様で動作中にマスター通信を行
なう上記コントロールユニットが後付けされた場合、後
付けを検知して上記第1のシステムでスレーブとしての
通信仕様に変更する手段を具備させたことを特徴とする
通信制御システム。
1. A plurality of control terminals connected to each other via a first communication line so as to be communicable in a multi-drop format and having a transmission / reception circuit for performing the same control on the same type of load. A control unit, which is connected on the first communication line to a specific representative control terminal set with a function representative of the above and is configured to perform master communication, transmits and receives a control signal. And the other control terminal operates only from the control unit by receiving only the control signal from the control unit via the first communication line. And an external control unit connected to the specific representative control terminal by a second communication line of another system transmits an operation instruction signal to the specific representative control terminal, The representative control terminal transmits a control signal for causing the other control terminal connected to the first communication line to perform the same operation as itself, and the other control terminal only receives the control signal. A second system,
When the representative control terminal receives a control signal from the control unit for performing master communication within a certain period of time when the power is turned on, the first system operates according to the communication specification as a slave in the first system. To work with the communication specifications as a master in the second system,
When the control unit for performing the master communication during the operation according to the master communication specification is retrofitted, a means for detecting the retrofit and changing to the communication specification as a slave in the first system is provided. Communication control system.
【請求項2】 請求項1に記載の通信制御システムであ
って、代表制御端末機が、マスター通信を行なうコント
ロールユニットが後付けされたことを、第1の通信線に
接続された他の制御端末機に対して自己と同じ動作を行
なわせる制御信号を固定周期で送信するさなかに、送信
中以外を受信許可期間として、その受信許可期間中に上
記コントロールユニットからの制御信号を検知し正常に
受信処理が終了した場合に検知するようにしたことを特
徴とする通信制御システム。
2. The communication control system according to claim 1, wherein the representative control terminal determines that the control unit for performing the master communication has been retrofitted, and the other control terminal connected to the first communication line. While transmitting a control signal that causes the machine to perform the same operation as itself at a fixed cycle, the control signal from the above control unit is detected and normally received during the reception permission period except during transmission as a reception permission period. A communication control system for detecting when a process is completed.
【請求項3】 請求項1に記載の通信制御システムであ
って、代表制御端末機が、マスター通信を行なうコント
ロールユニットが後付けされたことを、第1の通信線に
接続された他の制御端末機に対して自己と同じ動作を行
なわせる制御信号を固定周期で送信するさなかに、自己
の送信信号を同タイミングで受信可能の衝突検知手段
と、送信信号と同タイミングで受信した受信信号とを比
較する信号比較手段により検知するようにしたことを特
徴とする通信制御システム。
3. The communication control system according to claim 1, wherein the representative control terminal determines that the control unit for performing the master communication has been retrofitted, and the other control terminal connected to the first communication line. While transmitting a control signal at a fixed period to cause the machine to perform the same operation as the self, the collision detection means capable of receiving the own transmission signal at the same timing, and a reception signal received at the same timing as the transmission signal. A communication control system characterized by detecting by a signal comparing means for comparing.
JP8262872A 1996-10-03 1996-10-03 Communication control system Pending JPH10108278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8262872A JPH10108278A (en) 1996-10-03 1996-10-03 Communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8262872A JPH10108278A (en) 1996-10-03 1996-10-03 Communication control system

Publications (1)

Publication Number Publication Date
JPH10108278A true JPH10108278A (en) 1998-04-24

Family

ID=17381811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8262872A Pending JPH10108278A (en) 1996-10-03 1996-10-03 Communication control system

Country Status (1)

Country Link
JP (1) JPH10108278A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8832341B2 (en) 2011-09-27 2014-09-09 International Business Machines Corporation Dynamically determining a primary or slave assignment based on receiving a power signal from the cable at the port of a device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8832341B2 (en) 2011-09-27 2014-09-09 International Business Machines Corporation Dynamically determining a primary or slave assignment based on receiving a power signal from the cable at the port of a device

Similar Documents

Publication Publication Date Title
US7245631B2 (en) Multiplex communication apparatus for vehicle
KR101851092B1 (en) Communication device, communication method, and communication system
US9251632B2 (en) Vehicle diagnostic system
US20100305723A1 (en) Electronic control unit
JP2010285001A (en) Electronic control system and functional agency method
JP4377463B2 (en) Method and apparatus for monitoring computer apparatus comprising at least two processors
JP4668770B2 (en) Wireless air conditioning control system and air conditioning controller
JP2004531787A (en) System for controlling or regulating
US6529530B1 (en) Multiplex communicating method
US8804750B2 (en) Field device
JP2012239143A (en) Electronic control unit, on-vehicle network and data transmission method
JPH10108278A (en) Communication control system
KR101647695B1 (en) Electronic control apparatus for supporting emergency mode and operating method thereof
JP4950617B2 (en) Air conditioning management apparatus, air conditioning management method, and air conditioning management program
US10601235B2 (en) Electronic control unit including a forcible power supply interruption determination
JPH07283830A (en) Multiplex transmitter
JP5867350B2 (en) Electronic control device for vehicle
JP3821580B2 (en) Air conditioner control device and control method thereof
JPH0638276A (en) Multiplex transmitter
JP2619506B2 (en) Elevator signal transmission equipment
JPH0669017U (en) Vehicle control device
JP2000234791A (en) Air-conditioning control system, and its communication processing method
JPH1011177A (en) Remote power supply control system
JP2024018617A (en) vehicle control system
JP3049982B2 (en) Vehicle multiplex communication device