JPS6282843A - Communication control equipment - Google Patents

Communication control equipment

Info

Publication number
JPS6282843A
JPS6282843A JP60224134A JP22413485A JPS6282843A JP S6282843 A JPS6282843 A JP S6282843A JP 60224134 A JP60224134 A JP 60224134A JP 22413485 A JP22413485 A JP 22413485A JP S6282843 A JPS6282843 A JP S6282843A
Authority
JP
Japan
Prior art keywords
station
sequence
communication control
address
polling
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
JP60224134A
Other languages
Japanese (ja)
Inventor
Kentaro Uejima
健太郎 上島
Yoshiki Morita
森田 芳樹
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.)
NIPPON DENKI SOFUTO UEA KK
NEC Corp
Original Assignee
NIPPON DENKI SOFUTO UEA KK
NEC 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 NIPPON DENKI SOFUTO UEA KK, NEC Corp filed Critical NIPPON DENKI SOFUTO UEA KK
Priority to JP60224134A priority Critical patent/JPS6282843A/en
Publication of JPS6282843A publication Critical patent/JPS6282843A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the load of a CPU by arranging a means for checking the station address of a poling or selecting sequence received from a master station in a communication control equipment of a slave station. CONSTITUTION:The address checking part 6 for checking the station address of a poling or selecting sequence received from the master station 1 is arranged in the communication control equipment 4 of the slave station 2 constituted of the device 4 and the CPU 3. When a poling or selection sequence is received by the communication control equipment 4 in the slave station 2 at the transmission of a text, whether the received sequence has a registered station address or not is checked by the checking part 6. When the station address is not yet registered, the sequence is neglected, and when the address has been registered, an interruption is generated in the CPU 3. Since the poling or selecting sequence unrelated to the self station is neglected through the checking part 6 at the reception of the sequence, the load of the CPU 3 can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は従局の通信制御装置に含まれるポーリング・セ
レクティング制御手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to polling/selecting control means included in a communication control device of a slave station.

〔概要〕〔overview〕

本発明は、ポーリングおよびまたはセレクティング方式
の従局に用いられる通信制御装置において、 自局にかかわるポーリングシーケンスおよびまたはセレ
クティングシーケンスにかぎり中央処理装置に割込みを
発生させて処理を行わせることにより、 自局に無関係なポーリングシーケンスおよびまたはセレ
クティングシーケンス受信時の中央処理装置の負荷を軽
減することができるようにしだものである。
In a communication control device used for a polling and/or selecting system slave station, the present invention generates an interrupt to the central processing unit to perform processing only for the polling sequence and/or selecting sequence related to the local station. This makes it possible to reduce the load on the central processing unit when receiving polling sequences and/or selecting sequences unrelated to the station.

〔従来の技術〕[Conventional technology]

従局の従来例通信制御装置が主局からポーリングあるい
はセレクティングシーケンスを受信したときに、自局に
対するポーリングまたはセレクティングシーケンスでな
くても通信制御装置から中央処理装置に割込みが発生し
、中央処理装置で割込み解析処理を行った後に、再度ポ
ーリングおよびセレクティングシーケンスを受信する受
信再開を通信制御装置に要求していた。すなわち第5図
に示すように、自局に登録されているシーケンスPol
 1およびPol 4以外の自局に無関係なポーリング
あるいはセレクティングシーケンスであってもそのつど
通信制御装置から中央処理装置に受信完了割込みRが発
生し、中央処理装置で割込み処理が行われる。
Conventional example of a slave station When the communication control device receives a polling or selecting sequence from the master station, an interrupt is generated from the communication control device to the central processing unit even if it is not a polling or selecting sequence for the own station, and the central processing unit After performing interrupt analysis processing, the communication control device was requested to resume receiving polling and selecting sequences again. In other words, as shown in FIG. 5, the sequence Pol registered in the own station
Even if the polling or selecting sequence other than Pol 1 and Pol 4 is unrelated to the own station, a reception completion interrupt R is generated from the communication control device to the central processing unit each time, and the central processing unit performs the interrupt processing.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

通常、一つのテキストの長さは数十文字であるが、ポー
リングおよびセレクティングシーケンスの長さは数文字
(二または三文字)である。中央処理装置への割込みが
テキストの場合には、t。
Typically, a single text is several dozen characters long, while polling and selecting sequences are several characters (two or three) long. t if the interrupt to the central processing unit is text.

×nミリ秒後に発生するが、ポーリングおよびセレクテ
ィングシーケンスの場合にはtl ×3ミリ秒後に発生
する(t+=1文字の送受信に要する時間、n=文字数
)。したがって、通信制御装置からの割込み解析に要す
る中央処理装置の負荷はポーリングあるいはセレクティ
ングシーケンスのように少ない文字数を連続的に受信し
たときに最大になるが、このときに、自局に無関係のポ
ーリングあるいはセレクティングシーケンスでも同じよ
うに大きな負荷がかかる欠点があった。この欠点は通信
速度が早いほど、さらに主局のポーリング送信間隔およ
びセレクティング再送の間隔が短いほど顕著に現れる。
It occurs after ×n milliseconds, but in the case of polling and selecting sequences it occurs after tl ×3 milliseconds (t+=time required to send and receive one character, n=number of characters). Therefore, the load on the central processing unit required to analyze interrupts from the communication control device is greatest when a small number of characters are continuously received, such as in polling or selecting sequences. Alternatively, the selection sequence also had the drawback of requiring a large load. This drawback becomes more noticeable as the communication speed becomes faster and as the main station's polling transmission interval and selecting retransmission interval become shorter.

本発明はこのような欠点を除去するもので、中央処理装
置の負荷を軽減することができる通信制御装置を提供す
ることを目的とする。
The present invention aims to eliminate such drawbacks and to provide a communication control device that can reduce the load on a central processing unit.

c問題点を解決するための手段〕 本発明は、ステーションアドレスを有するポーリングシ
ーケンスおよびまたはセレクティングシーケンスを主局
から通信回線を介して受信する従局に含まれ、この通信
回線とこの従局の中央処理装置との間に挿入され、到来
するポーリングシーケンスおよびまたはセレクティング
シーケンスに基づいて上記中央処理装置に割込みを発生
する第一制御手段を備えた通信制御装置において、上記
従局のステーションアドレスを登録する登録手段と、こ
の登録されたステーションアドレスに一致するステーシ
ョンアドレスを有するポーリングシーケンスおよびまた
はセレクティングシーケンスに限り上記第一制御手段を
有効にする第二制御手段とを備えたことを特徴とする。
Means for Solving Problem c] The present invention is included in a slave station that receives a polling sequence and/or a selecting sequence having a station address from a master station via a communication line, and the communication line and the central processing of this slave station. In a communication control device that is inserted between the communication control device and the communication control device and includes a first control means that generates an interrupt to the central processing unit based on an incoming polling sequence and/or selecting sequence, registration for registering the station address of the slave station. and a second control means for enabling the first control means only for polling sequences and/or selection sequences having a station address that matches the registered station address.

〔作用〕[Effect]

主局からのポーリングあるいはセレクティングシーケン
スを受信したときに、通信制御装置では、自局のステー
ションアドレス群の登録された登録手段を参照し、受信
したポーリングあるいはセレクティングシーケンスのス
テージーンアドレスの適合を判別し、登録されているス
テーションアドレスと異なる場合は中央処理装置に割込
みを発生することなく、自動的に次のポーリングあるい
はセレクティングシーケンスを受信する。
When receiving a polling or selecting sequence from the main station, the communication control device refers to the registration means in which the station address group of its own station is registered, and determines whether the stage address of the received polling or selecting sequence is compatible. If the station address is different from the registered station address, the next polling or selecting sequence is automatically received without interrupting the central processing unit.

〔実施例〕〔Example〕

以下、本発明実施例装置を図面に基づいて説明する。 DESCRIPTION OF THE PREFERRED EMBODIMENTS A device according to an embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明実施例装置の構成を示すブロック構成図
である。第2図はこの実施例装置が用いられる通信系統
の構成を示すブロック構成図である。第3図は、DMA
転送情報ブロック管理フラグ、従局ステーションアドレ
ス群およびテキスト送信にかかわるDMA転送情報ブロ
ック(以下CCBという。)の構成を示す構成図である
。第4図は、この実施例装置の動作を示すシーケンス図
である。
FIG. 1 is a block configuration diagram showing the configuration of an apparatus according to an embodiment of the present invention. FIG. 2 is a block configuration diagram showing the configuration of a communication system in which this embodiment device is used. Figure 3 shows the DMA
FIG. 2 is a configuration diagram showing the configuration of a transfer information block management flag, a slave station address group, and a DMA transfer information block (hereinafter referred to as CCB) related to text transmission. FIG. 4 is a sequence diagram showing the operation of this embodiment device.

まず、第1図に基づいてこの実施例装置の構成を説明す
る。通信制御装置4は、第2図に示すように主局1にマ
ルチポイント方式で回線10を介して接続された従局2
に含まれ、回線10とこの従局2の中央処理装置3との
間に挿入され、主局1から受信したポーリングおよびセ
レクティングシーケンスのステーションアドレスをチェ
ックするアドレスチェック部6と、通信制御装置4内の
RAMに自局のステーションアドレス群が設定されたメ
モリエリア7とを備える。
First, the configuration of this embodiment device will be explained based on FIG. The communication control device 4 includes a slave station 2 connected to the master station 1 via a line 10 in a multipoint manner as shown in FIG.
An address checking unit 6 is included in the communication control unit 4 and is inserted between the line 10 and the central processing unit 3 of the slave station 2 to check the station address of the polling and selecting sequence received from the master station 1. A memory area 7 in which the station address group of the own station is set is provided in the RAM of the station.

本発明の特徴とするところは、自局の従局ステーション
アドレス群がメモリ了りア7に格納され、ここに登録さ
れていないポーリングあるいはセレクティングシーケン
スが受信されたときは、無視され再度受信モードへの自
動的な移行が行われることにある。
A feature of the present invention is that the slave station address group of the own station is stored in the memory area 7, and when a polling or selecting sequence that is not registered here is received, it is ignored and the system returns to reception mode. This means that automatic migration will take place.

次に、この実施例装置の動作を第1図ないし第4図に基
づいて説明する。
Next, the operation of this embodiment device will be explained based on FIGS. 1 to 4.

初期設定時に、従局2として定義されている複数のステ
ーションアドレスが通信制御装置4内のRAMエリアの
メモリアリア7に中央処理装置3の設定部5により登録
される。さて、テキストを送信する場合に、予めCCB
を作成するとともにCCB管理フラグの対応するビット
がオンにされる。通信制御装置4はポーリングあるいは
セレクティングシーケンスを受信したときに、登録され
ているステーションアドレスかどうかがアドレスチェッ
ク部6でチェックされ、登録されていない場合は無視さ
れて次のポーリングおよびセレクティングシーケンスの
到来を待つ。登録されているステーションアドレスを受
信した場合は中央処理装置3へ割込みを発生させる。特
に、ポーリングシーケンスを受信したときに、ステーシ
ョンアドレスに対応するCCBが有効となっている場合
は、直ちには割り込まずにテキストの送信を行い、応答
受信したときに中央処理装置3へ割り込みを発生させる
。また、テキスト送信にかかわるCCBの作成は通信制
御装置4の動作とは非同期に中央処理装置3により自由
に行うことができる。
At the time of initial setting, a plurality of station addresses defined as slave stations 2 are registered in the memory area 7 of the RAM area in the communication control device 4 by the setting unit 5 of the central processing unit 3. Now, when sending a text, please use CCB in advance.
is created and the corresponding bit of the CCB management flag is turned on. When the communication control device 4 receives a polling or selecting sequence, the address checking unit 6 checks whether the station address is registered or not. If the station address is not registered, it is ignored and the next polling or selecting sequence is started. Wait for its arrival. When a registered station address is received, an interrupt is generated to the central processing unit 3. In particular, if the CCB corresponding to the station address is enabled when a polling sequence is received, the text is sent without interrupting immediately, and an interrupt is generated to the central processing unit 3 when a response is received. . Further, the creation of a CCB related to text transmission can be freely performed by the central processing unit 3 asynchronously with the operation of the communication control device 4.

本発明は第6図のような複数のステーションアドレスを
持つ従局の場合にも適用することができる。この適用に
よる中央処理装置の負担低減効果は顕著である。
The present invention can also be applied to the case of a slave station having a plurality of station addresses as shown in FIG. This application has a remarkable effect of reducing the burden on the central processing unit.

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

本発明は、以上説明したように、通信制御装置内に複数
の従局ステーションアドレス群を構成することにより、
ポーリングおよびセレクテイングシーケンスを受信した
ときのステーションアドレスチェック機能を通信制御装
置に持たせて、自局に無関係なポーリングあるいはセレ
クテイングシーケンス受信時の中央処理装置の負荷を軽
減することを可能にする効果がある。
As explained above, the present invention has the following advantages: By configuring a plurality of slave station address groups within a communication control device,
The effect of making it possible to reduce the load on the central processing unit when receiving polling or selecting sequences unrelated to the own station by equipping the communication control device with a station address check function when polling and selecting sequences are received. There is.

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

第1図は本発明実施例装置の構成を示すブロック構成図
。 第2図は本発明実施例が用いられる通信系統の構成を示
すブロック構成図。 第3図は通信制御装置内のCCB管理フラグ、従局ステ
ーションアドレス群およびCCBの構成を示す信号構成
図。 第4図は本発明における通信制御装置から中央処理装置
への割り込み発生を示すシーケンス図。 第5図は従来の通信制御装置から中央処理装置への割り
込み発生を示すシーケンス図。 第6図は複数のステーションアドレスを持つ従局の構成
を示すブロック構成図。 1・・・主局、2・・・従局、3・・・中央処理装置、
4・・・通信制御装置、5・・・設定部、6・・・アド
レスチェック部、7・・・メモリアリア。
FIG. 1 is a block configuration diagram showing the configuration of an apparatus according to an embodiment of the present invention. FIG. 2 is a block configuration diagram showing the configuration of a communication system in which an embodiment of the present invention is used. FIG. 3 is a signal configuration diagram showing the configuration of the CCB management flag, slave station address group, and CCB in the communication control device. FIG. 4 is a sequence diagram showing the occurrence of an interrupt from the communication control device to the central processing unit in the present invention. FIG. 5 is a sequence diagram showing the occurrence of an interrupt from a conventional communication control device to a central processing unit. FIG. 6 is a block configuration diagram showing the configuration of a slave station having a plurality of station addresses. 1...Main station, 2...Slave station, 3...Central processing unit,
4... Communication control device, 5... Setting section, 6... Address check section, 7... Memory area.

Claims (1)

【特許請求の範囲】[Claims] (1)ステーションアドレスを有するポーリングシーケ
ンスおよびまたはセレクティングシーケンスを主局から
通信回線を介して受信する従局に含まれ、 この通信回線とこの従局の中央処理装置との間に挿入さ
れ、 到来するポーリングシーケンスおよびまたはセレクティ
ングシーケンスに基づいて上記中央処理装置に割込みを
発生する第一制御手段 を備えた通信制御装置において、 上記従局のステーションアドレスを登録する登録手段と
、 この登録されたステーションアドレスに一致するステー
ションアドレスを有するポーリングシーケンスおよびま
たはセレクティングシーケンスに限り上記第一制御手段
を有効にする第二制御手段と を備えたことを特徴とする通信制御装置。
(1) Included in a slave station that receives a polling sequence and/or a selecting sequence having a station address from a master station via a communication line, inserted between this communication line and the central processing unit of this slave station, and incoming polling In a communication control device comprising a first control means for generating an interrupt to the central processing unit based on a sequence and/or a selecting sequence, a registration means for registering a station address of the slave station; and second control means for enabling the first control means only in a polling sequence and/or a selection sequence having a station address.
JP60224134A 1985-10-08 1985-10-08 Communication control equipment Pending JPS6282843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60224134A JPS6282843A (en) 1985-10-08 1985-10-08 Communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60224134A JPS6282843A (en) 1985-10-08 1985-10-08 Communication control equipment

Publications (1)

Publication Number Publication Date
JPS6282843A true JPS6282843A (en) 1987-04-16

Family

ID=16809075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60224134A Pending JPS6282843A (en) 1985-10-08 1985-10-08 Communication control equipment

Country Status (1)

Country Link
JP (1) JPS6282843A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04101682U (en) * 1991-01-31 1992-09-02 株式会社大井製作所 curtain binding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04101682U (en) * 1991-01-31 1992-09-02 株式会社大井製作所 curtain binding device

Similar Documents

Publication Publication Date Title
US3961139A (en) Time division multiplexed loop communication system with dynamic allocation of channels
JPH0748739B2 (en) Multiple access control method and multiple access control system implementing the method
JPS6282843A (en) Communication control equipment
US4634812A (en) Method of transferring information between microcomputers in a decentralized process control system, particularly for telephone systems
JP2957354B2 (en) Signal transfer method
US4176341A (en) Information transfer apparatus
JPH0644763B2 (en) Data transfer method
JPS62241056A (en) Control system for data reception
JPH02230356A (en) Bus extension device for information processor
JPS62159549A (en) Data transfer system
JPS63288317A (en) Printer
KR980007804A (en) One-to-Many Multiprocessor Communication Device and Communication Method
JPH04256029A (en) Telegraphic message control processing system to plural tasks
JP2923992B2 (en) Access Channel Control Method for Demand Assignment Communication System
JPH0658655B2 (en) Serial I / O method
JPS635452A (en) Transmission controller
JPH0583297A (en) Packet transfer system
JPH04236538A (en) Data transmission system
JPS61111041A (en) Polling control system by communication control equipment
JPS6285527A (en) Transmission control system
JPS61269443A (en) Polling controlling system
JPS6077255A (en) Control system of plural buses
JPS59119994A (en) Inter-processor communication system
JPH0247953A (en) Data transfer system
JPS5848135A (en) Data bus control system