JPH023850A - Gpib communication system - Google Patents

Gpib communication system

Info

Publication number
JPH023850A
JPH023850A JP63149683A JP14968388A JPH023850A JP H023850 A JPH023850 A JP H023850A JP 63149683 A JP63149683 A JP 63149683A JP 14968388 A JP14968388 A JP 14968388A JP H023850 A JPH023850 A JP H023850A
Authority
JP
Japan
Prior art keywords
master device
service request
slave devices
slave
periodically
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
JP63149683A
Other languages
Japanese (ja)
Inventor
Yoji Akase
赤瀬 洋二
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.)
NEC Corp
Original Assignee
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 NEC Corp filed Critical NEC Corp
Priority to JP63149683A priority Critical patent/JPH023850A/en
Publication of JPH023850A publication Critical patent/JPH023850A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To hold an autonomous service request from a slave device and to attain data transfer by means of the control of a master device by permitting the master device to periodically execute serial polling and reading status bytes. CONSTITUTION:The master device 2 and the slave devices 3 and 4 are connected through a GPIB bus interface 1, and the master device 2 has a serial polling period part 5 which periodically executes serial polling. Either one of the slave devices 3 or 4 makes an SRQ signal active through a GPIB bus interface 1 and informs the master device 2 of the service request. Since an SRQ detection part is removed from the master device 2, it does not recognize the service request. The master device 2 periodically reads the status bytes of the slave devices 3 and 4 by the serial poll period part 5, and detects the service request. Thus, the master device periodically executes serial polling and reads the status bytes by the main lead of the master device 2, and therefore the autonomous service request from the slave devices are held so as to transfer data by the control of the master device.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はGPIB (IEEE488汎用バスインター
フェース)におけるマスタ装置(コントローラ〉のスレ
ーブ装置(トーカ又はリスナ)よりのサービス要求の受
け付けに係わるGPIB通信方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a GPIB (IEEE488 general-purpose bus interface) communication method related to receiving a service request from a slave device (talker or listener) of a master device (controller). .

〔従来の技術〕[Conventional technology]

従来、第2図に示すように、マスタ装置2とスレーブ装
置3,4とがGPIBバスインターフェース1で接続さ
れ、マスタ装置2がスレーブ装置3.4よりのSRQ信
号を検出するSRQ検出部6を有する。この構成におい
て、スレーブ装置3゜4のいずれかがGPIBバスイン
ターフェース1を介してSRQ信号をアクティブにする
ことにより、マスタ装置2にサービスの要求を通知する
Conventionally, as shown in FIG. 2, a master device 2 and slave devices 3 and 4 are connected via a GPIB bus interface 1, and the master device 2 has an SRQ detection section 6 that detects the SRQ signal from the slave devices 3 and 4. have In this configuration, one of the slave devices 3 to 4 notifies the master device 2 of a service request by activating the SRQ signal via the GPIB bus interface 1.

マスタ装置2はSRQ検出部6よりサービスの要求を検
出すると、スレーブ装置3,4に対して順次シリアルボ
ール(STBを受信する)を行い、要求元のスレーブ装
置を捜し出す。
When the master device 2 detects a service request from the SRQ detection unit 6, it sequentially performs a serial ball (receives STB) to the slave devices 3 and 4, and searches for the requesting slave device.

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

上述した従来のGPIB通信方式では、マスタ装置のデ
ータ転送の方向法めの点で次の問題がある。すなわち、
スレーブ装置が自律的にSRQ信号をマスタ装置に送出
するので、非同期転送となり、データ転送の送受信衝突
が発生する。そのため、送受信衝突に対する処理がマス
タ装置に必要となり、処理の簡潔化が困難になる。
The conventional GPIB communication system described above has the following problem in terms of the direction of data transfer by the master device. That is,
Since the slave device autonomously sends the SRQ signal to the master device, asynchronous transfer occurs and a collision between transmission and reception of data transfer occurs. Therefore, the master device is required to process transmission/reception collisions, making it difficult to simplify the process.

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

本発明はマスタ装置と複数のスレーブ装置とをGPIB
バスインターフェースで接続したGPIB通信方式にお
いて、前記マスタ装置にシリアルボール同期部を設け、
前記スレーブ装置のステータスバイトを周期的に読み取
り、前記スレーブ装置のサービス要求を受け付ける構成
である。
The present invention connects a master device and a plurality of slave devices to GPIB
In the GPIB communication system connected by a bus interface, the master device is provided with a serial ball synchronization section,
The configuration is such that the status byte of the slave device is periodically read and a service request from the slave device is accepted.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

一実施例を示す第1図を参照すると、マスタ装置2とス
レーブ装置3,4とがGPIBバスインターフェース1
を介して接続され、マスタ装置2がシリアルボールを周
期的に実行するシリアルボール周期部5を有する。スレ
ーブ装置3.4のいずれかがGPIBバスインターフェ
ース1を介してSRQ信号をアクティブにし、マスタ装
置2にサービスの要求を通知するが、マスタ装置2はS
RQ検出部を排除しているので、サービス要求を認知し
ない、シリアルボール周期部5により、マスタ装置2が
スレーブ装置3.4のステータスバイトを周期的に読み
出し、サービス要求を検出する。つまり、スレーブ装置
3,4よりのサービス要求の検出はマスタ装置2の主導
により行なわれる。
Referring to FIG. 1 showing one embodiment, a master device 2 and slave devices 3 and 4 are connected to a GPIB bus interface 1.
The master device 2 has a serial ball periodic unit 5 which periodically executes serial balls. One of the slave devices 3.4 activates the SRQ signal via the GPIB bus interface 1 and notifies the master device 2 of a request for service, but the master device 2
Since the RQ detection section is omitted, the master device 2 periodically reads the status byte of the slave device 3.4 and detects a service request using the serial ball periodic section 5, which does not recognize a service request. That is, detection of service requests from the slave devices 3 and 4 is performed under the initiative of the master device 2.

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

以上説明したように本発明は、マスタ装置が周期的にシ
リアルボールを行い、ステータスバイトを読み取ること
により、スレーブ装置からの自律的なサービス要求を抑
え、マスタ装置の制御によるデータ転送を可能にする。
As explained above, in the present invention, the master device periodically performs serial balls and reads the status byte, thereby suppressing autonomous service requests from slave devices and enabling data transfer under the control of the master device. .

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

第1図は本発明の一実施例を示す構成図、第2図は従来
例を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional example.

Claims (1)

【特許請求の範囲】[Claims] マスタ装置と複数のスレーブ装置とをGPIBバスイン
ターフェースで接続したGPIB通信方式において、前
記マスタ装置にシリアルボール同期部を設け、前記スレ
ーブ装置のステータスバイトを周期的に読み取り、前記
スレーブ装置のサービス要求を受け付けることを特徴と
するGPIB通信方式。
In a GPIB communication system in which a master device and a plurality of slave devices are connected via a GPIB bus interface, the master device is provided with a serial ball synchronization section, which periodically reads the status byte of the slave device and requests service from the slave device. A GPIB communication method that is characterized by accepting
JP63149683A 1988-06-17 1988-06-17 Gpib communication system Pending JPH023850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63149683A JPH023850A (en) 1988-06-17 1988-06-17 Gpib communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63149683A JPH023850A (en) 1988-06-17 1988-06-17 Gpib communication system

Publications (1)

Publication Number Publication Date
JPH023850A true JPH023850A (en) 1990-01-09

Family

ID=15480533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63149683A Pending JPH023850A (en) 1988-06-17 1988-06-17 Gpib communication system

Country Status (1)

Country Link
JP (1) JPH023850A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760854B2 (en) 2000-01-15 2004-07-06 Cirrus Logic, Inc. Method and apparatus for handling a framing error at a serial interface by forcing invalid commands to be read upon determine the command is invalid

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760854B2 (en) 2000-01-15 2004-07-06 Cirrus Logic, Inc. Method and apparatus for handling a framing error at a serial interface by forcing invalid commands to be read upon determine the command is invalid

Similar Documents

Publication Publication Date Title
US5915101A (en) Arbitration in the case of a delaying bus coupling
JPH0554144B2 (en)
US4516205A (en) Access control of data transmission network
JPH023850A (en) Gpib communication system
JPH06164603A (en) Transmission system for time division multiplex transmitting device
SU1221656A1 (en) Multichannel device for controlling information exchange among computers
JPS59188258A (en) Data transfer system
JPS63288317A (en) Printer
KR0151575B1 (en) Communication method among cpus
JPH03107238A (en) Service request transmission system
KR960014177B1 (en) Data communication device for a parallel data processing system
KR100275069B1 (en) A method sending message between nodes by using hsb interface
JPS6332299B2 (en)
JPS63197144A (en) Information communication system
JPH06232880A (en) Time division multiplex communication system
GB2122779A (en) Access control of data transmission network
JPS58204656A (en) Data transmitting system
JPH0646103A (en) Data transmitter/receiver
JPH063924B2 (en) Polling control method
JPH0247953A (en) Data transfer system
JPS61273657A (en) Bus occupation controlling system
JPH04236538A (en) Data transmission system
JPS60237556A (en) Data transfer control system
JPS634739A (en) Serial data transfer system
JPS61153750A (en) Common bus control system