JPS6128255A - Address polling communication method - Google Patents

Address polling communication method

Info

Publication number
JPS6128255A
JPS6128255A JP14882284A JP14882284A JPS6128255A JP S6128255 A JPS6128255 A JP S6128255A JP 14882284 A JP14882284 A JP 14882284A JP 14882284 A JP14882284 A JP 14882284A JP S6128255 A JPS6128255 A JP S6128255A
Authority
JP
Japan
Prior art keywords
address
polling
control center
response
terminal device
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
JP14882284A
Other languages
Japanese (ja)
Inventor
Mikio Oda
幹夫 小田
Kazuhiro Teshirogi
手代木 和宏
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP14882284A priority Critical patent/JPS6128255A/en
Publication of JPS6128255A publication Critical patent/JPS6128255A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain address participation optionally by providing a polling check code to a command data frame to attain polling only to a required terminal device automatically and use a common interruption address. CONSTITUTION:A polling check signal (CK) is assigned to a command data frame. After application of power, a control center 1 adds a CK code and applies sequentially polling and each terminal device outputs a response signal 8 at own address transission. The control center 1 stores a response address and outputs a response address group and an interruption address at the next polling. The devices of addreses 0, 2 have a response and the polling is applied from the next time and the device of an address 1 gives no response and is not an object of the next polling. The said interruption address is utilized when the terminal device of the address participates in the polling during the execution of polling.

Description

【発明の詳細な説明】 借方法に関するものである。[Detailed description of the invention] It concerns the method of borrowing.

従来例の構成とその問題点 従来のポーリング通信方法でのシステム構成図を第1図
に示す。第1図において、制御センタ1により通信回線
2を通して、複数の端末機器3とのデータ通信が行なわ
れる。一般に通信回線2には、第2図に示すデータフォ
ーマット構成になっており、端末機器3を呼出すための
アドレスフレーA4及び:fマントテニタフレーム5.
l”K、これ等の始端、終端を表わす同期用のスタート
ビット6、ストップビット7を有している。この時、最
大アクセスできる端末機器数Nは、アドレスフレーム4
に割baてられたビット数Aで決定され、N−2Aとな
る。通常、本システムを構成し開発する場合は、将来の
拡張性を考え、余裕のあるビット割り当てを行なう。
Conventional configuration and its problems A system configuration diagram of a conventional polling communication method is shown in FIG. In FIG. 1, a control center 1 performs data communication with a plurality of terminal devices 3 through a communication line 2. As shown in FIG. Generally, the communication line 2 has a data format configuration shown in FIG.
1"K, and has a start bit 6 and a stop bit 7 for synchronization indicating the start and end of these. At this time, the maximum number of terminal devices that can be accessed N is the address frame 4.
It is determined by the number of bits A allocated to ba, which is N-2A. Normally, when configuring and developing this system, we consider future expandability and allocate bits with ample margin.

従来のポーリング通信方法では制御センタ1により、ア
ドレスを順次増加し、ポーリングを行なうため、上記拡
張性を考えた場合、無駄なポーリングを行なうことにな
り、端末機器の応答がおそくなる欠点がある。また、こ
の欠点を補なうには、応答のできる端末機器の最終アド
レスを制御センタ1に入力すれば良いが、手間がかかる
と共に、電源オフ状態又は、故障等で、応答不可能な場
合も生じ、無駄なポーリングを行なわざるを得ない欠点
を有していた。
In the conventional polling communication method, the control center 1 sequentially increases the address and performs polling, so when the above-mentioned expandability is taken into consideration, polling is carried out wastefully and the response of the terminal equipment becomes slow. In addition, in order to compensate for this drawback, it is possible to input the final address of a terminal device that can respond into the control center 1, but this is time-consuming and may not be able to respond due to the power being turned off or malfunctioning. However, this method has the disadvantage of requiring unnecessary polling.

発明の目的 本発明は、前記欠点を解消するもので、無駄なポーリン
グを行なわずに、自動的にデータ応答可能な端末機器ア
ドレスを制御センタに登録すると共に、途中、割り込み
で発生する場合も、次回のポーリングでアドレスされ、
最短時間で応答することのできるポーリング通信方法を
提供するものである。
OBJECTS OF THE INVENTION The present invention solves the above-mentioned drawbacks. It automatically registers terminal device addresses that can respond to data in a control center without unnecessary polling, and even if an interrupt occurs during the process, will be addressed on the next poll,
The present invention provides a polling communication method that can respond in the shortest possible time.

発明の構成 本発明は、制御センタ〜、複数の端末機器及びこの通信
を可能ならしめる通信回線を具備し、制御センタからア
ドレスポーリング方式により、端末機器への制御又は、
端末機器からのデータ伝送を行なうだめのアドレス登録
方式であり、制御センタが実行開始時に送信用の通信ラ
イン上にアドレスOから最大アドレスまで順次インクリ
メントし、この時のコマンドデータフレームにはポーリ
ングチェック用コードを伝送する。各端末機器は、応答
可能状態であれば、自己アドレス送信時に応答用の通信
ライン上に信号応答し、制御センタへのアドレス登録を
行なえる様に送信フォーマットを構成したものである。
Structure of the Invention The present invention includes a control center, a plurality of terminal devices, and a communication line that enables this communication, and controls the terminal devices from the control center by an address polling method.
This is an address registration method for transmitting data from terminal equipment, and the control center sequentially increments from address O to the maximum address on the transmission communication line at the start of execution, and the command data frame at this time includes polling check data. Transmit the code. The transmission format is such that, if each terminal device is in a response-enabled state, it can respond with a signal on the response communication line when transmitting its own address, and register the address with the control center.

また、アドレス番号の内、1個は割込み用として使用で
きることを特長とした構成である。
Furthermore, the configuration is characterized in that one of the address numbers can be used for interrupts.

実施例の説明 本発明の一実施例を図面と共に説明する。本実施例のハ
ードウェアの構成は第1図に示すように5 ・\ 。
DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings. The hardware configuration of this embodiment is 5.\\ as shown in Figure 1.

従来通シであるが、本実施例が従来の通信方法と異ると
ころは、送受信のフォーマット及びコード割り付けにあ
る。すなわち、第2図に示すコマンドデータフレーム5
のうち、ポーリングチェック用の信号を割り付ける、仮
にこの信号をCKコードとすると、制御センタ1、及び
各端末機器3は、第3図に示す如く、以下の動作■〜■
を行なう。1,7加して、順次ポーリングを行なう。
Although it is conventional, the present embodiment differs from conventional communication methods in the transmission/reception format and code assignment. That is, the command data frame 5 shown in FIG.
Among them, a signal for polling check is assigned. If this signal is assumed to be a CK code, the control center 1 and each terminal device 3 perform the following operations as shown in FIG.
Do the following. 1 and 7 are added and polling is performed sequentially.

■ 各端末機器3は送信ライン上の信号を解読し、自己
アドレス送信時に、応答信号8を、応答ライン上に出力
する。
(2) Each terminal device 3 decodes the signal on the transmission line and outputs a response signal 8 on the response line when transmitting its own address.

■ 制御センタ1は応答のあったアドレスを記憶し、次
回からのポーリングには、応答アドレス群と割込み用ア
ドレス1個を送信ライン上に出力する。
(2) The control center 1 stores the addresses that have responded, and outputs a group of response addresses and one interrupt address onto the transmission line for the next polling.

第3図においては、アドレス0,20機器は、応答があ
り、次回からポーリングされることになる。
In FIG. 3, the devices at addresses 0 and 20 have responded and will be polled from the next time onwards.

また、アドレス1の機器は、電源オフ状態又は、 、/
6、−7 故障等の原因で、応答不可能とすると、第3図に示す如
く、無応答となり、次回のポーリングからはずされるこ
ととなり、制御センタ1は必要機器のみのポーリングを
行なうことができる。
Also, the device at address 1 is in the power off state or , /
6,-7 If a device cannot respond due to a malfunction or other reason, it will not respond and will be excluded from the next polling, as shown in Figure 3, and the control center 1 will be able to poll only the necessary devices. can.

また逆に、無応答機器番号も把握できることになり、故
障等のチェックにも役立つ。
Conversely, it also allows you to know the non-responsive device number, which is useful for checking for malfunctions, etc.

次に、ポーリング実行中に、アドレス1の端末機器が電
源オン又は故障回復等の要因でポーリング内に参加する
手段としては、前述の割込み用アドレスを利用する。す
なわち、割込み用アドレスを第3図のADDNとすると
、数サイクルの通信回線観測の後、全くポーリングされ
てないことを確認し、ADDNのポーリングでアドレス
1の端末機器は応答する。この応答信号を、制御センタ
1は、前述の動作■〜■を繰り返し、各端末機器3は再
度、自己アドレス呼出し時に応答すると、制御センタ1
は、新たな応答可能な端末機器3を記憶し、ポーリング
を最短で再度、開始できることになる。また、割込み機
器3が複数個あった場合でも、全アドレスをチェックす
ることから必ず収束し、本来のデータ送受信が可能とな
り、しかも、簡単に行なえる。
Next, during execution of polling, the above-mentioned interrupt address is used as a means for the terminal device at address 1 to participate in polling due to factors such as turning on the power or recovering from a failure. That is, if the interrupt address is ADDN in FIG. 3, after observing the communication line for several cycles, it is confirmed that there is no polling at all, and the terminal device at address 1 responds to the polling of ADDN. In response to this response signal, the control center 1 repeats the above-mentioned operations ■ to ■, and when each terminal device 3 responds again when calling its own address, the control center 1
This means that a new terminal device 3 that can respond can be stored and polling can be started again at the earliest. Further, even if there are a plurality of interrupt devices 3, since all addresses are checked, the process always converges, and the original data transmission/reception becomes possible, and it is easy to do so.

発明の効果 前述の様に、ポーリング通信方法のフォーマットとして
ポーリングチェック用コードを設け、システム立ち上が
り時に、全アドレスをチェックすることにより、自動で
必要端末機器のみのポーリングを行なえると共に、共通
割込みアドレスを具備することにより、任意にアドレス
参入可能となる。
Effects of the Invention As mentioned above, by providing a polling check code as a format for the polling communication method and checking all addresses when the system starts up, it is possible to automatically poll only the necessary terminal devices, and also to use a common interrupt address. By having this, it becomes possible to enter addresses arbitrarily.

このポーリング方法を利用するものとして、家庭内電気
器具の状態モニタ及びリモートコントロール、オーディ
オシステムの状態モニタ、及びリモートコントロールな
どが考えられ、アドレスポーリング方式の欠点である応
答時間の無駄をなくし、最短時間でポーリングを可能な
らしめる通信方法を提供できる。
This polling method can be used for status monitoring and remote control of household appliances, audio system status monitoring, and remote control, etc., and it eliminates wasted response time, which is a drawback of the address polling method, and minimizes the time. A communication method that enables polling can be provided.

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

第1図はポーリング方式のシステム構成図、第2図は従
来のデータフォーマットの構成図、第3図は本発明の一
実施例におけるアドレスポーリング通信方法の動作説明
図である。 1・・・・・・制御センタ、2・・・・・・通信回線、
3・・・・・・端末41.4・・・・・・アドレスフレ
ーム、5・・・・・・コマントテータフレーム、6・・
・・・スタートビット、7・・・・・・ストップビット
FIG. 1 is a system configuration diagram of a polling method, FIG. 2 is a configuration diagram of a conventional data format, and FIG. 3 is an operation explanatory diagram of an address polling communication method in an embodiment of the present invention. 1... Control center, 2... Communication line,
3...Terminal 41.4...Address frame, 5...Command data frame, 6...
...Start bit, 7...Stop bit.

Claims (2)

【特許請求の範囲】[Claims] (1)制御センタと複数の端末機器と、前記制御センタ
と複数の前記端末機器とを結ぶ通信回線を具備し、アド
レスポーリング方式により、データ双方向通信を行なう
通信システムを有し、上記通信システムの開始時に、前
記制御センタから複数の前記端末機器に対し、動作応答
信号コードを付加して全アドレスのポーリングを行ない
、前記各端末機器は自己アドレス時に応答信号コードを
制御センタに送信し、前記制御センタは応答のあったア
ドレス番号及び、共通の割込み用アドレス1個を次回の
ポーリングからアドレッシングする事を特徴としたアド
レスポーリング通信方法。
(1) A communication system comprising a control center, a plurality of terminal devices, and a communication line connecting the control center and the plurality of terminal devices, and performing two-way data communication using an address polling method; At the start of the process, the control center polls all the addresses of the plurality of terminal devices by adding an operation response signal code, and each terminal device sends a response signal code to the control center at the time of self-address. An address polling communication method characterized in that a control center addresses an address number that has received a response and one common interrupt address from the next polling.
(2)未登録の端末機器が通信回線に加入する場合には
、上記共通の割込み用アドレス呼出し時に、応答信号を
制御センタに送信し、前記制御センタは、割込み信号を
確認後、ポーリングを再度行ない応答可能な端末機器を
再確認し、ポーリングする事を特長とした特許請求の範
囲第1項記載のアドレスポーリング通信方法。
(2) When an unregistered terminal device joins the communication line, it sends a response signal to the control center when calling the above common interrupt address, and the control center, after confirming the interrupt signal, starts polling again. 2. The address polling communication method according to claim 1, wherein the address polling communication method is characterized in that the terminal equipment that can respond is reconfirmed and polled.
JP14882284A 1984-07-18 1984-07-18 Address polling communication method Pending JPS6128255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14882284A JPS6128255A (en) 1984-07-18 1984-07-18 Address polling communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14882284A JPS6128255A (en) 1984-07-18 1984-07-18 Address polling communication method

Publications (1)

Publication Number Publication Date
JPS6128255A true JPS6128255A (en) 1986-02-07

Family

ID=15461493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14882284A Pending JPS6128255A (en) 1984-07-18 1984-07-18 Address polling communication method

Country Status (1)

Country Link
JP (1) JPS6128255A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6312578A (en) * 1986-04-03 1988-01-19 オ−チス エレベ−タ コムパニ− Two-way ring communication system for group-controlling elevator
JPH04347950A (en) * 1991-02-08 1992-12-03 Fujitsu Ten Ltd Bus system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5336115A (en) * 1976-09-16 1978-04-04 Fujitsu Ltd Polling control system
JPS5350627A (en) * 1976-10-20 1978-05-09 Hitachi Ltd Polling control system
JPS5561918A (en) * 1978-11-01 1980-05-10 Sumitomo Precision Prod Co Ltd Dehumidifying apparatus
JPS58222634A (en) * 1982-06-19 1983-12-24 Omron Tateisi Electronics Co Polling transmission system
JPS5945752A (en) * 1982-09-09 1984-03-14 Hitachi Ltd Line state monitor circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5336115A (en) * 1976-09-16 1978-04-04 Fujitsu Ltd Polling control system
JPS5350627A (en) * 1976-10-20 1978-05-09 Hitachi Ltd Polling control system
JPS5561918A (en) * 1978-11-01 1980-05-10 Sumitomo Precision Prod Co Ltd Dehumidifying apparatus
JPS58222634A (en) * 1982-06-19 1983-12-24 Omron Tateisi Electronics Co Polling transmission system
JPS5945752A (en) * 1982-09-09 1984-03-14 Hitachi Ltd Line state monitor circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6312578A (en) * 1986-04-03 1988-01-19 オ−チス エレベ−タ コムパニ− Two-way ring communication system for group-controlling elevator
JPH04347950A (en) * 1991-02-08 1992-12-03 Fujitsu Ten Ltd Bus system

Similar Documents

Publication Publication Date Title
JPS6128255A (en) Address polling communication method
JPH0358214B2 (en)
JPS59126346A (en) Polling control system
JPH1117713A (en) Multicast communication processing system
JP3122682B2 (en) Data transceiver
JPS6113839A (en) Method for controlling data transmission
JPS6340079B2 (en)
JPH01311792A (en) Remote monitoring control system
JP2694412B2 (en) Data transmission system
JPS6144425B2 (en)
JPS59200560A (en) Monitoring device for telephone call time
JPS5818031B2 (en) Polling control method
JPS6215953A (en) Data transmission control system
JPH0226904B2 (en)
JP3942045B2 (en) Communication control device
JPS62245362A (en) Resetting system for multiprocessor system
JP3351885B2 (en) Remote monitoring and control system
JPH03254544A (en) Multi-point communication system
JPH0621949A (en) Data transmitter
JPH05327730A (en) Network connecting device
JP2002232440A (en) Internal communication method for communication terminal
JPH01103046A (en) Communication control system
JPH0522781A (en) Remote monitoring control system
JPH01253096A (en) Home controller
JPH0677975A (en) Allocating system for communication area