JP2797756B2 - Connection determination method for controlled devices - Google Patents
Connection determination method for controlled devicesInfo
- Publication number
- JP2797756B2 JP2797756B2 JP3132218A JP13221891A JP2797756B2 JP 2797756 B2 JP2797756 B2 JP 2797756B2 JP 3132218 A JP3132218 A JP 3132218A JP 13221891 A JP13221891 A JP 13221891A JP 2797756 B2 JP2797756 B2 JP 2797756B2
- Authority
- JP
- Japan
- Prior art keywords
- parity
- data bus
- controlled
- control device
- data
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 12
- 208000033748 Device issues Diseases 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は情報処理装置に関し、特
に被制御装置の接続の有無を判別する接続判別方式に関
する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus, and more particularly, to a connection determining method for determining whether a controlled device is connected.
【0002】[0002]
【従来の技術】従来の被制御装置の接続の判別する方式
としては、 (I)人手によって接続情報を設定する方式 (II)制御装置から被制御装置へアクセス要求を出し、あ
らかじめ定められた時間が経過しても応答信号がないこ
とにより未接続であることを判別する方式 (III) 制御装置からの制御判別要求に応じ、被制御装置
はデータバスのあらかじめ定められたビットを操作し、
制御装置はデータバスの状態を参照することにより被制
御装置の接続の有無を判別する方式がある。2. Description of the Related Art Conventional methods for determining the connection of a controlled device include: (I) a method for manually setting connection information; and (II) a request for access from the control device to the controlled device for a predetermined time. (III) In response to a control determination request from the control device, the controlled device operates a predetermined bit of the data bus, and
There is a method in which a control device determines whether or not a controlled device is connected by referring to the state of a data bus.
【0003】[0003]
【発明が解決しようとする課題】(I) の方式では、人手
操作による接続情報の設定であるため誤操作に対する保
証に問題があった。(II)の方式では、あらかじめ定めら
れた時間待たなければならず、時間がかかるという欠点
があった。(III) の方式では、データバスの状態とは無
関係にパリティ値が定まるため、制御装置がパリティを
無視する機構を有さなければならないという欠点があっ
た。In the method (I), the connection information is set by manual operation, so that there is a problem in guaranteeing erroneous operation. The method (II) has a drawback that the user must wait for a predetermined time, which takes time. In the method of (III), since the parity value is determined irrespective of the state of the data bus, there is a disadvantage that the control device must have a mechanism for ignoring the parity.
【0004】本発明の目的は、これら従来方式の欠点を
除去した被制御装置の接続判別方式を提供することにあ
る。An object of the present invention is to provide a method of determining the connection of a controlled device, which eliminates the disadvantages of the conventional method.
【0005】[0005]
【課題を解決するための手段】本発明の被制御装置の接
続判別方式は、パリティ生成機構を有する被制御装置を
少なくとも1つ、パリティ付データバスを介して、パリ
ティ検査機構を有する制御装置に接続し、前記被制御装
置は前記データバスの状態を参照して前記パリティ生成
機構によりパリティを生成してパリティ線上に出し、制
御装置が接続判別要求を出す時に任意のデータを前記デ
ータバスに出し、前記データを変化させることにより生
成されるパリティ値を変化させ、前記データバスの値お
よびパリティ値の正誤により前記被制御装置の接続を判
別することを特徴とする。According to the present invention, at least one controlled device having a parity generation mechanism is connected to a control device having a parity check mechanism via a data bus with parity. Connected, the controlled device refers to the state of the data bus to generate a parity by the parity generation mechanism and puts it out on a parity line, and puts out any data on the data bus when the control device issues a connection determination request. The parity value generated by changing the data is changed, and the connection of the controlled device is determined based on whether the data bus value and the parity value are correct or not.
【0006】また本発明の被制御装置の接続判別方式
は、複数の第1の被制御装置がパリティ付データバスを
介して接続され、かつ、パリティ生成機構を有する1つ
以上の第2の被制御装置が接続されている装置におい
て、前記第1の被制御装置は、パリティ検査機構を有す
る制御装置の接続判別要求に応じて前記データバスのあ
らかじめ定められたビットにあらかじめ定められた操作
を行い、前記第2の被制御装置は、前記データバスの状
態を参照して前記パリティ生成機構によりパリティを生
成してパリティ線に出し、前記制御装置は装置の接続判
別要求を出す時に任意のデータを前記データバスに出
し、前記データを変化させることにより生成されるパリ
ティ値を変化させ、前記データバスの値およびパリティ
値の正誤により前記被制御装置の接続を判断することを
特徴とする。[0006] In the connection judging method for controlled devices according to the present invention, a plurality of first controlled devices are connected via a data bus with parity and at least one second controlled device having a parity generation mechanism. In a device to which a control device is connected, the first controlled device performs a predetermined operation on a predetermined bit of the data bus in response to a connection determination request of a control device having a parity check mechanism. The second controlled device generates a parity by the parity generation mechanism with reference to the state of the data bus and outputs it to a parity line, and the control device outputs arbitrary data when issuing a device connection determination request. A parity value generated by changing the data is output to the data bus, and the control is performed based on whether the value of the data bus and the parity value are correct. Characterized by determining the connection device.
【0007】さらに本発明の被制御装置の接続判別方式
は、複数の被制御装置がパリティ付データバスを介して
接続され、かつ、パリティ生成機構を有する1つ以上の
被制御装置が必ず接続されている装置において、必ずし
も接続されている必要がない被制御装置は、パリティ検
査機構を有する制御装置の接続判別要求に応じて前記デ
ータバスのあらかじめ定められたビットにあらかじめ定
められた操作を行い、前記の必ず接続されている被制御
装置は、前記データバスの状態を参照して前記パリティ
生成機構によりパリティを生成してパリティ線に出し、
前記制御装置は装置の接続判別要求を出す時に任意のデ
ータを前記データバスに出し、前記データを変化させる
ことにより生成されるパリティ値を変化させ、前記デー
タバスの値およびパリティ値の正誤により前記被制御装
置の接続を判断することを特徴とする。Further, according to the connection determination method for controlled devices of the present invention, a plurality of controlled devices are connected via a data bus with parity, and one or more controlled devices having a parity generation mechanism are always connected. In the device, the controlled device that does not necessarily need to be connected performs a predetermined operation on predetermined bits of the data bus in response to a connection determination request of a control device having a parity check mechanism, The controlled device that is always connected generates a parity by the parity generation mechanism with reference to the state of the data bus and outputs it to a parity line,
The control device outputs arbitrary data to the data bus when issuing a connection determination request of the device, changes a parity value generated by changing the data, and determines whether the data bus value and the parity value are correct or incorrect. The connection of the controlled device is determined.
【0008】[0008]
【実施例】次に本発明の実施例について、図面を参照し
て説明する。図1は、本発明の一実施例を示す図であ
る。パリティ検査機構11を有する制御装置1は、パリ
ティ線6付きのデータバス5を介して被制御装置2〜4
とデータの送受信を行う。通常のデータ送受信において
は、被制御装置または制御装置のうちのいずれかのひと
つが、データバス上に正当なパリティ値を伴ったデータ
を送出する。Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing one embodiment of the present invention. The control device 1 having the parity check mechanism 11 controls the controlled devices 2 to 4 via the data bus 5 with the parity line 6.
And data transmission and reception. In normal data transmission and reception, one of the controlled device and the control device transmits data with a valid parity value on a data bus.
【0009】被制御装置2,3の接続は任意であり、必
ずしも接続されている必要はない。パリティ生成機構7
を有する被制御装置4は、必ず接続されていなければな
らない。The connection between the controlled devices 2 and 3 is arbitrary and need not necessarily be connected. Parity generation mechanism 7
Must be connected.
【0010】被制御装置2〜4の接続を判別するとき
は、制御装置1は接続判別要求を出すと共に、データバ
ス5の定められたビットに任意の値を設定する。被制御
装置2,3は接続判別要求を受けて各々にデータバス5
の定められたビットを操作する。被制御装置4はデータ
バス5の状態を参照し、パリティ生成機構7でパリティ
を生成しパリティ線6に送出する。To determine the connection between the controlled devices 2 to 4, the control device 1 issues a connection determination request and sets an arbitrary value to a predetermined bit of the data bus 5. The controlled devices 2 and 3 receive the connection discrimination request, and receive data bus 5 respectively.
Operate on the specified bits of The controlled device 4 refers to the state of the data bus 5, generates a parity by the parity generation mechanism 7, and sends it to the parity line 6.
【0011】制御装置1は、データバス5の状態を参照
し被制御装置2,3の接続の有無を判別し、パリティの
正誤により被制御装置4の制御の有無を判別する。パリ
ティが誤っていれば、被制御装置4は未接続であると判
別する。パリティが正しいときには、制御装置1がデー
タバス5に出している値を異ったパリティ値になるよう
に変更し、再び接続判別要求を出す。そして再び正しい
パリティがパリティ線6に出されれば、被制御装置4が
接続されていると判別する。The control device 1 refers to the state of the data bus 5 to determine whether or not the controlled devices 2 and 3 are connected, and determines whether or not the controlled device 4 is controlled based on whether the parity is correct or not. If the parity is incorrect, the controlled device 4 determines that it is not connected. When the parity is correct, the control device 1 changes the value output to the data bus 5 to a different parity value, and issues a connection determination request again. If the correct parity is output again on the parity line 6, it is determined that the controlled device 4 is connected.
【0012】[0012]
【発明の効果】以上説明したように本発明は、制御装置
からの接続判別要求に応じて被制御装置がデータバスお
よびパリティ線を介して応答するため高速化,高信頼化
に効果があり、またパリティ生成を被制御装置が行って
いるため制御装置がパリティを無視する特殊な機構を持
つ必要がなくなり、汎用の制御装置を用いることができ
るようになるという効果がある。As described above, according to the present invention, the controlled device responds via the data bus and the parity line in response to the connection determination request from the control device, which is effective for high speed and high reliability. Also, since the controlled device performs parity generation, the control device does not need to have a special mechanism for ignoring parity, and there is an effect that a general-purpose control device can be used.
【図1】図1は本発明の一実施例を説明する図である。FIG. 1 is a diagram illustrating an embodiment of the present invention.
1 制御装置 2,3,4 被制御装置 5 データバス 6 パリティ線 7 パリティ生成機構 11 パリティ検査機構 DESCRIPTION OF SYMBOLS 1 Control apparatus 2, 3, 4 Controlled apparatus 5 Data bus 6 Parity line 7 Parity generation mechanism 11 Parity check mechanism
Claims (3)
なくとも1つ、パリティ付データバスを介して、パリテ
ィ検査機構を有する制御装置に接続し、前記被制御装置
は前記データバスの状態を参照して前記パリティ生成機
構によりパリティを生成してパリティ線上に出し、制御
装置が接続判別要求を出す時に任意のデータを前記デー
タバスに出し、前記データを変化させることにより生成
されるパリティ値を変化させ、前記データバスの値およ
びパリティ値の正誤により前記被制御装置の接続を判別
することを特徴とする被制御装置の接続判別方式。At least one controlled device having a parity generation mechanism is connected to a control device having a parity check mechanism via a data bus with parity, and the controlled device refers to a state of the data bus. The parity is generated by the parity generation mechanism and output on a parity line, and when the control device issues a connection determination request, any data is output to the data bus, and the parity value generated by changing the data is changed. Wherein the connection of the controlled device is determined based on whether the value of the data bus and the parity value are correct or not.
タバスを介して接続され、かつ、パリティ生成機構を有
する1つ以上の第2の被制御装置が接続されている装置
において、前記第1の被制御装置は、パリティ検査機構
を有する制御装置の接続判別要求に応じて前記データバ
スのあらかじめ定められたビットにあらかじめ定められ
た操作を行い、前記第2の被制御装置は、前記データバ
スの状態を参照して前記パリティ生成機構によりパリテ
ィを生成してパリティ線に出し、前記制御装置は装置の
接続判別要求を出す時に任意のデータを前記データバス
に出し、前記データを変化させることにより生成される
パリティ値を変化させ、前記データバスの値およびパリ
ティ値の正誤により前記被制御装置の接続を判断するこ
とを特徴とする被制御装置の接続判別方式。2. An apparatus in which a plurality of first controlled devices are connected via a data bus with parity and one or more second controlled devices having a parity generation mechanism are connected. The first controlled device performs a predetermined operation on a predetermined bit of the data bus in response to a connection determination request of a control device having a parity check mechanism, and the second controlled device includes: The parity is generated by the parity generation mechanism with reference to the state of the data bus and output to a parity line, and the control device outputs arbitrary data to the data bus when issuing a device connection determination request, and changes the data. And the connection of the controlled device is determined based on whether the value of the data bus and the parity value are correct or not. Connection determination method of the control device.
を介して接続され、かつ、パリティ生成機構を有する1
つ以上の被制御装置が必ず接続されている装置におい
て、必ずしも接続されている必要がない被制御装置は、
パリティ検査機構を有する制御装置の接続判別要求に応
じて前記データバスのあらかじめ定められたビットにあ
らかじめ定められた操作を行い、前記の必ず接続されて
いる被制御装置は、前記データバスの状態を参照して前
記パリティ生成機構によりパリティを生成してパリティ
線に出し、前記制御装置は装置の接続判別要求を出す時
に任意のデータを前記データバスに出し、前記データを
変化させることにより生成されるパリティ値を変化さ
せ、前記データバスの値およびパリティ値の正誤により
前記被制御装置の接続を判断することを特徴とする被制
御装置の接続判別方式。3. A plurality of controlled devices are connected via a data bus with parity and have a parity generation mechanism.
In a device to which one or more controlled devices are always connected, a controlled device that does not necessarily need to be connected is
A predetermined operation is performed on predetermined bits of the data bus in response to a connection determination request of a control device having a parity check mechanism, and the controlled device, which is always connected, changes the state of the data bus. With reference to the parity generation mechanism, a parity is generated and output to a parity line, and the control device outputs arbitrary data to the data bus when issuing a device connection determination request, and is generated by changing the data. A connection determination method for a controlled device, wherein a parity value is changed, and the connection of the controlled device is determined based on whether the value of the data bus and the parity value are correct.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3132218A JP2797756B2 (en) | 1991-05-09 | 1991-05-09 | Connection determination method for controlled devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3132218A JP2797756B2 (en) | 1991-05-09 | 1991-05-09 | Connection determination method for controlled devices |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04333149A JPH04333149A (en) | 1992-11-20 |
JP2797756B2 true JP2797756B2 (en) | 1998-09-17 |
Family
ID=15076152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3132218A Expired - Fee Related JP2797756B2 (en) | 1991-05-09 | 1991-05-09 | Connection determination method for controlled devices |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2797756B2 (en) |
-
1991
- 1991-05-09 JP JP3132218A patent/JP2797756B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH04333149A (en) | 1992-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS63228844A (en) | Method of data coupling between asynchronous interface, data module and asynchronous peripherals | |
KR880009307A (en) | Direct memory access controlled system | |
JP2797756B2 (en) | Connection determination method for controlled devices | |
US5748887A (en) | Inter-processor asynchronous serial communication transmission/reception apparatus using each other's memories | |
JPH07264263A (en) | Serial communication interface device | |
EP0006477A1 (en) | Device for controlling the transmission of data between a data transmitting control unit and a data recording controller for serial recording | |
JP3329229B2 (en) | AT command receiving method | |
JPS63164554A (en) | Automatic recognizing system for data speed | |
US11816060B2 (en) | UART interface circuit and UART data capturing method | |
US5303345A (en) | Method for controlling data sending and receiving operations of a microprocessor | |
JP3408046B2 (en) | Data communication system and data communication method | |
JP2829137B2 (en) | External keyboard connection confirmation device | |
JPH10207718A (en) | Interruption processor and processing method | |
JP3312546B2 (en) | Apparatus and method for authenticating extension board | |
JPS6049465A (en) | Data transfer method between microcomputers | |
JP2816745B2 (en) | Timer output device | |
KR0174855B1 (en) | Asynchronous Serial Communication Transmit / Receive Device Between Two Processors Using Other Memory | |
JPS6028986Y2 (en) | data processing equipment | |
JPS62125458A (en) | Data transfer control circuit | |
JPH0312502B2 (en) | ||
JPS61245738A (en) | Data transmitter | |
JPH1174871A (en) | Communication system and method | |
JPH01303823A (en) | Data reader | |
JPS60237525A (en) | keyboard device | |
JP2000003312A (en) | Synchronous serial communication system and control method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |