JPH0526849Y2 - - Google Patents

Info

Publication number
JPH0526849Y2
JPH0526849Y2 JP1986146345U JP14634586U JPH0526849Y2 JP H0526849 Y2 JPH0526849 Y2 JP H0526849Y2 JP 1986146345 U JP1986146345 U JP 1986146345U JP 14634586 U JP14634586 U JP 14634586U JP H0526849 Y2 JPH0526849 Y2 JP H0526849Y2
Authority
JP
Japan
Prior art keywords
data
unit
terminal
slave
section
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 - Lifetime
Application number
JP1986146345U
Other languages
Japanese (ja)
Other versions
JPS6352329U (en
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 filed Critical
Priority to JP1986146345U priority Critical patent/JPH0526849Y2/ja
Publication of JPS6352329U publication Critical patent/JPS6352329U/ja
Application granted granted Critical
Publication of JPH0526849Y2 publication Critical patent/JPH0526849Y2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Calculators And Similar Devices (AREA)

Description

【考案の詳細な説明】 [考案の技術分野] この考案は複数の電子機器に対するデータ入出
力を行なうためのデータ転送装置に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] This invention relates to a data transfer device for inputting and outputting data to and from a plurality of electronic devices.

[従来技術とその問題点] 最近、小型の電子機器として、例えばポケツト
コンピユータが各分野で使用されている。
[Prior art and its problems] Recently, pocket computers, for example, have been used in various fields as small electronic devices.

ところで、このようなポケツトコンピユータは
携帯性を重要視するため、プリンタやテープレコ
ーダなどの入出力端末に関するものは一切有して
いない。
By the way, since such pocket computers emphasize portability, they do not have any input/output terminals such as printers or tape recorders.

このため、これまでは入出力端末を別個に用意
し、これら入出力端末とポケツトコンピユータと
の間のデータの入出力をデータ転送装置により行
なうことが考えられている。
For this reason, it has been considered so far to prepare separate input/output terminals and use a data transfer device to input and output data between these input/output terminals and the pocket computer.

ところが、従来用いられているデータ転送装置
は、これに対応するポケツトコンピユータの台数
が1:1に限定されているため、データ転送の能
率が極めて悪い欠点があつた。
However, conventionally used data transfer devices have the disadvantage that data transfer efficiency is extremely poor because the number of compatible pocket computers is limited to a ratio of 1:1.

そこで、従来、装置本体に対して子機に相当す
るデータ転送部を複数台並列的に接続し、これら
子機データ転送部にてポケツトコンピユータに対
するデータの入出力を可能にしたものが考えられ
ている。この場合、装置本体により各子機を集中
的に管理するようにするには、装置本体側におい
て子機データ転送部の数を正確に把握することも
極めて重要になる。
Therefore, a conventional approach has been to connect a plurality of data transfer sections corresponding to slave devices to the main body of the device in parallel, and to enable these data transfer sections to input and output data to and from a pocket computer. There is. In this case, in order for the device main body to centrally manage each child device, it is extremely important that the device main body side accurately knows the number of child device data transfer units.

ところが、これまでのものは装置本体のホスト
コンピユータに対して、子機データ転送部側に
CPUを備え、これらCPUとホストコンピユータ
によりデータ授受を行なうようにしているため、
装置自身かなり構成が複雑で高価であるのに加
え、子機の数を把握する程度のことでも、かなり
複雑なソフトを必要とするため、処理が複雑で面
倒になる欠点があつた。
However, in the previous model, the data transfer section of the slave device was connected to the host computer of the device itself.
Since it is equipped with a CPU and data is exchanged between these CPUs and the host computer,
In addition to the fact that the device itself is quite complex and expensive, it also requires quite complicated software to even keep track of the number of handsets, making processing complicated and troublesome.

[考案の目的] この考案は上記事情に鑑みてなされたもので、
親機に対して複数個接続された子機データ転送部
の数を簡単な構成による処理によつて正確に検出
することができるデータ転送装置を提供すること
を目的とする。
[Purpose of the invention] This invention was made in view of the above circumstances.
It is an object of the present invention to provide a data transfer device capable of accurately detecting the number of slave device data transfer units connected to a parent device by processing with a simple configuration.

[考案の要点] この考案にかかるデータ転送装置は、電子機器
に対してデータを送受信するデータ送受信手段を
有する子機と、該子機が1個以上直列に接続され
且つこれら子機に接続状態検出信号を発生する信
号発生手段、この信号発生手段の状態検出信号に
対する各子機での応答内容から上記子機の数をカ
ウントする計数手段および該計数手段での計数結
果により各子機を制御する制御手段を有する親機
とを具備する構成からなつている。
[Main points of the invention] The data transfer device according to the invention includes a handset having a data transmitting/receiving means for transmitting and receiving data to and from an electronic device, and one or more handsets connected in series and connected to the handset. A signal generating means for generating a detection signal, a counting means for counting the number of said slave units based on the response contents of each slave unit to the status detection signal of the signal generating means, and controlling each slave unit based on the counting result of said counting means. The main unit has a control means for controlling the main unit.

[考案の実施例] 以下、この考案の一実施例を図面にしたがい説
明する。
[Embodiment of the invention] An embodiment of the invention will be described below with reference to the drawings.

第1図は装置全体の外観図を示すものである。
図において、1はデータ転送装置本体で、この装
置本体1は親機1aに対して#1〜#nまでの複
数の子機1bを直列に接続した構成よりなつてい
る。
FIG. 1 shows an external view of the entire device.
In the figure, 1 is a data transfer device main body, and this device main body 1 has a configuration in which a plurality of slave devices 1b from #1 to #n are connected in series to a base device 1a.

親機1aは側縁に赤外線によるデータ送受信部
2を設けており、電子機器例えばポケツトコンピ
ユータ3に対するデータ送受信を非接触で行なう
ようにしている。また、親機1aはデータの入出
力端末として電話用カプラ4、プリンタ5および
テープレコーダ6を接続している。
The base unit 1a is provided with an infrared data transmitting/receiving section 2 on its side edge, and is configured to transmit and receive data to and from an electronic device, such as a pocket computer 3, in a non-contact manner. Further, the base unit 1a is connected to a telephone coupler 4, a printer 5, and a tape recorder 6 as data input/output terminals.

一方、子機1bも側縁に赤外線によるデータ送
受信部7を設けており、ポケツトコンピユータ3
に対するデータ送受信を非接触で行なうようにし
ている。
On the other hand, the handset 1b is also provided with an infrared data transmitting/receiving section 7 on the side edge, and the pocket computer 3
Data can be sent and received without contact.

次に、第2図は、このような親機1aの回路構
成を示すものである。
Next, FIG. 2 shows the circuit configuration of such a base unit 1a.

図において、2は上述の赤外線によるデータ送
受信部で、赤外線データ受信用LED2a、赤外
線データ送信用LED2bを有している。赤外線
データ受信用LED2aで受信されたデータは増
幅部8に送られ、増幅され、復調部9に送られ
る。復調部9では、復調したデータをデータ選択
部10の一方端子に与える。また、データ選択部
10には子機1bが接続されるコネクタ11から
の受信データが与えられる。
In the figure, reference numeral 2 denotes the above-mentioned infrared data transmitting and receiving section, which has an infrared data receiving LED 2a and an infrared data transmitting LED 2b. The data received by the infrared data receiving LED 2a is sent to the amplification section 8, amplified, and sent to the demodulation section 9. The demodulator 9 supplies the demodulated data to one terminal of the data selector 10 . Further, the data selection unit 10 is given received data from the connector 11 to which the handset 1b is connected.

ここで、データ選択部10は後述する制御部1
4からの制御信号に基づいてデータ送受信部2に
対する送受信データとコネクタ11に対する送受
信データを適宜選択するものである。そして、デ
ータ選択部10の出力をシリアル/パラレル変換
部12に与える。ここで、シリアル/パラレル変
換部12はシリアルに与えられるデータをパラレ
ルデータに変換するもので、このパラレルデータ
を制御部14に与える。
Here, the data selection section 10 is a control section 1 which will be described later.
Based on the control signal from 4, data to be transmitted/received to the data transmitting/receiving section 2 and data to be transmitted/received to the connector 11 are appropriately selected. Then, the output of the data selection section 10 is given to the serial/parallel conversion section 12. Here, the serial/parallel converter 12 converts serially applied data into parallel data, and provides this parallel data to the controller 14.

制御部14はシリアル/パラレル変換部12か
らのデータを受付ける。そして、データを受信す
ると、I/F制御部15に制御指令を与える。
The control unit 14 receives data from the serial/parallel converter 12. When the data is received, a control command is given to the I/F control unit 15.

I/F制御部15は制御部14の制御指令に応
じてイネーブルをI/F制御部16,17,18
のいずれかに与える。
The I/F control unit 15 enables the I/F control units 16, 17, 18 in response to a control command from the control unit 14.
Give to either.

そして、この状態で、I/F選択部15により
選択されたI/F制御部16,17,18にデー
タおよび制御信号が送られる。ここで、I/F制
御部16には電話カプラあるいはモデム用I/F
制御部19,I/F制御部17にはプリンタ用
I/F20,I/F制御部18にはテープレコー
ダ用I/F21が夫々接続される。
In this state, data and control signals are sent to the I/F control sections 16, 17, and 18 selected by the I/F selection section 15. Here, the I/F control unit 16 includes a telephone coupler or a modem I/F.
A printer I/F 20 is connected to the control section 19 and the I/F control section 17, and a tape recorder I/F 21 is connected to the I/F control section 18, respectively.

一方、各I/F19,20,21を介して返送
されるデ−タは夫々のI/F制御部16,17,
18より制御部14に送られる。
On the other hand, the data returned via each I/F 19, 20, 21 is sent back to each I/F control unit 16, 17,
18 to the control unit 14.

制御部14はI/F制御部16,17,18か
らのデータを送信データとしてシリアル/パラレ
ル変換部12に与え、さらに、この変換部12の
出力を上記データ選択部10に与える。そして、
上記データ選択部10においては制御部14から
の制御信号にしたがつてシリアル/パラレル変換
部12から供給されたデータを変調部22あるい
はコネクタ11に与える。変調部22はデータ選
択部10を介して与えられたシリアル/パラレル
変換部22の出力を変調し、LEDドライバ23
に与える。そして、このLEDドライバ23によ
りデータ送受信部2の発信用LED2bが駆動さ
れ、赤外線よりなる発信データが出力される。
The control section 14 supplies the data from the I/F control sections 16, 17, and 18 as transmission data to the serial/parallel conversion section 12, and further supplies the output of this conversion section 12 to the data selection section 10. and,
In the data selection section 10, data supplied from the serial/parallel conversion section 12 is applied to the modulation section 22 or the connector 11 in accordance with the control signal from the control section 14. The modulator 22 modulates the output of the serial/parallel converter 22 provided via the data selector 10, and
give to Then, the LED driver 23 drives the transmitting LED 2b of the data transmitting/receiving section 2, and transmitting data made of infrared rays is output.

また、制御部14はパワースイツチ25のオン
状態で、電源26が供給される。
Further, the control unit 14 is supplied with power 26 when the power switch 25 is in the on state.

さらに、制御部14は状態検出部24に制御信
号を与えるとともに、上記パワースイツチ25の
オン状態でパワーオン指令を与える。状態検出部
24はコネクタ11を介して子機1bに対しセツ
ト信号SRD、クロツク信号SRCKI、リセツト信
号CLIを与えるとともに、子機1b側からチエツ
ク終了信号SRTNOが与えられる。また、状態検
出部24はカウンタ27に駆動指令を与えるとと
もに、クロツク信号SRCKIを与える。このカウ
ンタ27は状態検出部24の駆動指令により上記
クロツク信号SRCKIをカウントするものである。
そして、このカウンタ27のカウント結果は制御
部14に与えられる。
Furthermore, the control section 14 provides a control signal to the state detection section 24, and also provides a power-on command when the power switch 25 is in the on state. The state detection section 24 provides a set signal SRD, a clock signal SRCKI, and a reset signal CLI to the slave unit 1b via the connector 11, and is also supplied with a check end signal SRTNO from the slave unit 1b side. Further, the state detection section 24 provides a drive command to the counter 27 and also provides a clock signal SRCKI. This counter 27 counts the clock signal SRCKI based on a drive command from the state detection section 24.
The count result of this counter 27 is then given to the control section 14.

次に、第3図は、このような親機1aに接続さ
れる子機1bの回路構成を示すものである。
Next, FIG. 3 shows a circuit configuration of a slave unit 1b connected to such a base unit 1a.

図において、31は上記親機1aのコネクタ1
1(あるいは前段子機1bの接続端子)に接続さ
れる入力側接続端子、32は後段側の子機1bに
接続される出力側接続端子である。このうち、接
続端子31はセツト信号SRDが与えられる制御
端子SRD、クロツク端子SRCKI、クリア端子
CLI、チエツク終了信号端子SRTNO、送信デー
タ用端子SD、受信データ用端子RDを有し、また
接続端子32も同様に制御端子SRQ、クロツク
端子SRCKO、クリア端子CLO、チエツク終了信
号端子SRTNI、送信データ用端子SD、受信デー
タ用端子RDを有している。そして、制御端子
SRDの出力をDタイプのフリツプフロツプ33
のセツト端子Dに与え、クロツク端子SRCKIの
クロツク信号を接続端子32のクロツク端子
SRCKOに直接与えるとともに、フリツプフロツ
プ33のクロツク端子CKに与え、クリア端子
CLIのクリア信号を接続端子32のクリア端子
CLOに直接与えるとともに、フリツプフロツプ
33のクリア端子CLに与える。接続端子31は
チエツク終了信号端子SRTNOに接続端子32の
チエツク終了信号端子SRTNIを経由して後段子
機1bからのチエツク終了信号が与えられる。さ
らに、送信データ用端子SDの送信データを接続端
子32の送信データ用端子SDに直接与えるととも
に、アンドゲート34の一方端子に与える。フリ
ツプフロツプ33はQ端子の出力を接続端子32
の制御端子SRQに与えるとともに、アンドゲー
ト34の他方端子、アンドゲート35の一方端子
に与え、Q端子の出力をアンドゲート36の一方
端子に与える。アンドゲート35は他方入力端子
に後述する復調部39の出力が与えられ、アンド
ゲート36は他方入力端子に接続端子32の受信
データ用端子RDを経由して後段子機1bからの
受信データが与えられる。そして、これらアンド
ゲート35,36の出力はオアゲート37を介し
て受信データ用端子RDに与えられる。
In the figure, 31 is a connector 1 of the parent unit 1a.
The connection terminal 31 is a control terminal SRD to which a set signal SRD is applied, a clock terminal SRCKI, a clear terminal SRCKI, and an input terminal 32 is an output terminal to which a set signal SRD is applied.
The connection terminal 32 also has a control terminal SRQ, a clock terminal SRCKO, a clear terminal CLO , a check end signal terminal SRTNI, a terminal for transmission data S D , and a terminal for reception data R D .
The output of the SRD is connected to a D-type flip-flop 33
The clock signal of the clock terminal SRCKI is applied to the clock terminal of the connection terminal 32.
It is given directly to SRCKO, and also to the clock terminal CK of flip-flop 33.
The CLI clear signal is sent to the clear terminal of the connection terminal 32.
The output of the Q terminal of the flip-flop 33 is directly applied to the check end signal terminal SRTNO of the connection terminal 31 and is also applied to a clear terminal CL of the flip-flop 33. A check end signal from the rear stage slave unit 1b is applied to the check end signal terminal SRTNO of the connection terminal 31 through a check end signal terminal SRTNI of the connection terminal 32. Furthermore, the transmission data of the transmission data terminal SD is directly applied to the transmission data terminal SD of the connection terminal 32 and is also applied to one terminal of the AND gate 34. The output of the Q terminal of the flip-flop 33 is directly applied to the check end signal terminal SRTNO of the connection terminal 32 and is also applied to one terminal of the AND gate 34.
The output of the AND gate 35 is supplied to a control terminal SRQ of the AND gate 34, the other terminal of the AND gate 34 and one terminal of the AND gate 35, and the output of the Q terminal is supplied to one terminal of the AND gate 36. The output of a demodulation section 39, which will be described later, is supplied to the other input terminal of the AND gate 35, and the received data from the subsequent stage slave unit 1b is supplied to the other input terminal of the AND gate 36 via the received data terminal RD of the connection terminal 32. The outputs of these AND gates 35 and 36 are supplied to the received data terminal RD via an OR gate 37.

一方、7は上述の赤外線によるデータ送受信部
で、赤外線データ受信用LED7a、赤外線デー
タ送信用LED7bを有している。そして、赤外
線データ受信用LED7aで受信したデータを増
幅部38を介して復調部39に与える、ここで、
復調し、上記アンドゲート35に与えている。ま
た、上記アンドゲート34の出力は変調部40に
与えられ、ここで復調されLEDドライバ41に
与える。そして、このLEDドライバ41により
データ送受信部7の発信用LED7bが駆動され、
赤外線よりなる発信データが出力される。
On the other hand, 7 is the above-mentioned infrared data transmitting/receiving section, which has an infrared data receiving LED 7a and an infrared data transmitting LED 7b. Then, the data received by the infrared data receiving LED 7a is given to the demodulating section 39 via the amplifying section 38.
It is demodulated and applied to the AND gate 35. Further, the output of the AND gate 34 is applied to a modulation section 40, where it is demodulated and applied to an LED driver 41. Then, the LED driver 41 drives the transmitting LED 7b of the data transmitting/receiving section 7.
Transmission data consisting of infrared rays is output.

そして、このように構成した子機1bは第4図
に示すように複数個直列に接続され、子機1bの
最終段、つまり#nに相当するものは、図示のよ
うに制御端子SRQおよびチエツク終了信号端子
SRTNIの間が短絡される。
A plurality of slave units 1b configured in this manner are connected in series as shown in FIG. End signal terminal
SRTNI is shorted.

次に、このように構成した実施例の動作を説明
する。
Next, the operation of the embodiment configured as described above will be explained.

いま、第1図に示すデータ転送装置は、親機1
aに電話用カプラ4、プリンタ5およびテープレ
コーダ6の各入出力端末が接続されているものと
する。
Now, the data transfer device shown in FIG.
It is assumed that input/output terminals such as a telephone coupler 4, a printer 5, and a tape recorder 6 are connected to a.

次に、親機1aおよび各子機1bに対してポケ
ツトコンピユータ3をセツトする。この場合、ポ
ケツトコンピユータ3は親機1aのデータ送受信
部2および各子機1bのデータ送受信部2に対し
て非接触で対応するようにする。
Next, the pocket computer 3 is set for the base unit 1a and each slave unit 1b. In this case, the pocket computer 3 corresponds to the data transmitting/receiving section 2 of the base unit 1a and the data transmitting/receiving section 2 of each slave unit 1b in a non-contact manner.

こうした状態での、親機1aおよび各子機1b
を介してポケツトコンピユータ3と入出力端末と
のデータの送受信を簡単に述べると、まず親機1
aはポーリング、つまりデータリンクの確立指令
「SNRM」(Set Normal Response Mode)を出
力する。すると、親機1aに対応するポケツトコ
ンピユータ3では「SNRM」の発呼の有無を判
断し、発呼有りを判断すれば、応答として
「UA」(Unnumber Acknowlegement)を送出
する。親機1aでは、この「UA」を待つて応答
の有無を判断する。この場合、応答の有を判断す
ると、ポケツトコンピユータ3ではデバイスコー
ド別のデータの送受信、一方、親機1aではデバ
イスコード別にデータ送受信、デバイス制御、対
デバイスのデータの入出力が行なわれる。ポケツ
トコンピユータ3でのデバイスコード別のデータ
の送受信はデータ送受信処理終了が判断されるま
で続けられる。この場合、親機1aでのデータ受
信処理は受信用LED2aにデータが与えられる
と、増幅部8で増幅され、復調部9で復調された
のち、シリアル/パラレル変換部12に与えられ
る。そして、制御部14によりシリアル/パラレ
ル変換部12からのデータが受付けられる。制御
部14では、データを受信すると、I/F制御部
15に制御指令を与える。すると、制御部14の
制御指令に応じてI/F制御部15よりイネーブ
ルがI/F制御部16,17,18のいずれかに
与えられる。そして、この状態で、I/F選択部
15により選択されたI/F制御部16,17,
18にデータおよび制御信号が送られる。ここで
は、I/F制御部16には電話カプラあるいはモ
デム用I/F19,I/F制御部17にはプリン
タ用I/F20,I/F制御部18にはテープレ
コーダ用I/F21が夫々接続されている。一
方、各I/F19,20,21を介して返送され
るデ−タは夫々のI/F制御部16,17,18
より制御部14に送られる。すると、制御部14
によりI/F制御部16,17,18からのデー
タは送信データとしてシリアル/パラレル変換部
12に与えられ、シリアル信号に変換され、デー
タ選択部10を介して変調部22に与えられる。
変調部22はシリアル/パラレル変換部22の出
力を変調し、LEDドライバ23に与える。これ
により、LEDドライバ23にてデータ送受信部
2の発信用LED2bが駆動され、赤外線よりな
る発信データがポケコン3に対して出力されデー
タ授受が実行される。その後、このようなデータ
の送受信処理が終了するとポケコン3よりデータ
リンクの終結要求「RD」(Request Disconnect)
が送出され、一方、親機1aでのデータ処理は
「RD」を受信するまで続けられる。そして、連
動処理終了が判断されると、データリンクの終結
要求「DISC」(Disconnect)を送出する。ポケ
ツトコンピユータ3では「DISC」の着信を確認
すると、応答として「UA」(Unnumber
Ackowledgement)を送出して処理を終了する。
In this state, the base unit 1a and each slave unit 1b
To briefly describe the transmission and reception of data between the pocket computer 3 and the input/output terminal via the base unit 1,
a outputs polling, that is, a data link establishment command "SNRM" (Set Normal Response Mode). Then, the pocket computer 3 corresponding to the base unit 1a determines whether or not an ``SNRM'' call has been made, and if it determines that a call has been made, it sends ``UA'' (Unnumber Acknowledgment) as a response. The base unit 1a waits for this "UA" and determines whether there is a response or not. In this case, when it is determined that there is a response, the pocket computer 3 transmits and receives data for each device code, while the base unit 1a performs data transmission and reception for each device code, device control, and input/output of data to and from the device. Transmission and reception of data by device code on the pocket computer 3 continues until it is determined that the data transmission and reception processing is completed. In this case, in the data reception process in the base device 1a, when data is applied to the reception LED 2a, it is amplified by the amplifier 8, demodulated by the demodulator 9, and then applied to the serial/parallel converter 12. Then, the data from the serial/parallel converter 12 is accepted by the controller 14 . When the control unit 14 receives the data, it gives a control command to the I/F control unit 15. Then, the I/F control section 15 gives enable to any of the I/F control sections 16, 17, and 18 in response to a control command from the control section 14. In this state, the I/F control units 16, 17, selected by the I/F selection unit 15,
Data and control signals are sent to 18. Here, the I/F control unit 16 includes a telephone coupler or modem I/F 19, the I/F control unit 17 includes a printer I/F 20, and the I/F control unit 18 includes a tape recorder I/F 21. It is connected. On the other hand, data returned via each I/F 19, 20, 21 is sent back to each I/F control unit 16, 17, 18.
The information is then sent to the control unit 14. Then, the control section 14
Accordingly, data from the I/F control sections 16, 17, and 18 is provided as transmission data to the serial/parallel converter 12, converted into a serial signal, and provided to the modulator 22 via the data selector 10.
The modulator 22 modulates the output of the serial/parallel converter 22 and supplies it to the LED driver 23 . As a result, the LED driver 23 drives the transmitting LED 2b of the data transmitting/receiving section 2, and transmitting data consisting of infrared rays is output to the pocket computer 3, and data exchange is executed. After that, when the data transmission/reception process is completed, the Pocket Computer 3 sends a data link termination request "RD" (Request Disconnect).
is sent, and data processing at base unit 1a continues until "RD" is received. Then, when it is determined that the interlocking process has ended, a data link termination request "DISC" (Disconnect) is sent. When Pocket Computer 3 confirms the incoming call of "DISC", it responds with "UA" (Unnumber
Acknowledgment) is sent and the process ends.

このようにして、親機1aと、これに対応する
ポケツトコンピユータとのデータ送受信が完了す
ると、データ選択部10をコネクタ11側に付勢
し、今度は#1の子機1bに対するポケツトコン
ピユータ3とのデータ送受信について同様な動作
が行なわれる。(この場合、親機1a出のデータ
リンク確立指令「SNRM」に対してポケツトコ
ンピユータ3より「UA」の応答がないときには
直ちに#1の子機1bと、これに対応するポケツ
トコンピユータ3とのデータ送受信に移行され
る。) 以下、同様にして、すべての子機1bについ
て、対応するポケツトコンピユータ3とのデータ
送受信が実行される。
In this way, when the data transmission/reception between the base unit 1a and the corresponding pocket computer is completed, the data selection unit 10 is energized toward the connector 11 side, and the pocket computer 3 and Similar operations are performed for data transmission and reception. (In this case, if there is no "UA" response from the pocket computer 3 in response to the data link establishment command "SNRM" from the base unit 1a, the data between the #1 slave unit 1b and the corresponding pocket computer 3 is immediately transferred. Then, data transmission/reception with the corresponding pocket computer 3 is executed for all slave units 1b in the same manner.

次に、このような親機1aに対する各子機1b
の接続状態をチエツクする場合を説明する。
Next, each child device 1b for such a parent device 1a
We will explain the case of checking the connection status of .

この場合、パワースイツチ25をオン状態にし
て電源26を制御部14に供給する。すると、制
御部14より制御信号とともに、パワーオン指令
が状態検出部24に与えられる。また、状態検出
部24よりカウンタ27に駆動指令が与えられ
る。
In this case, the power switch 25 is turned on to supply power 26 to the control section 14 . Then, the control section 14 provides a control signal and a power-on command to the state detection section 24 . Further, a drive command is given to the counter 27 from the state detection section 24 .

この状態で、第5図のフローチヤートに示すス
テツプA1において、状態検出部24より「L」
−「H」−「L」と変化するワンシヨツトのクリア
信号CLIがコネクタ11を介して子機1b側に送
出される。これにより、各子機1bのフリツプフ
ロツプ33はすべてクリアされ初期状態となる。
次に、ステツプA2において、今度は状態検出部
24よりセツト信号SRDが出力される。このセ
ツト信号SRDは制御端子SRDを介して#1子機
1bのフリツプフロツプ33のセツト端子Dに
「H」入力として与えられる。
In this state, in step A1 shown in the flowchart of FIG.
A one-shot clear signal CLI that changes from -"H" to "L" is sent to the handset 1b via the connector 11. As a result, the flip-flops 33 of each handset 1b are all cleared and set to the initial state.
Next, in step A2, the state detection section 24 outputs a set signal SRD. This set signal SRD is applied as an "H" input to the set terminal D of the flip-flop 33 of the #1 handset 1b via the control terminal SRD.

その後、ステツプA3に進み、状態検出部24
よりクロツク信号SRCKIが出力される。すると、
#1の子機1bでのフリツプフロツプ33はセツ
ト状態となり、Q端子より「H」出力が発生され
る。また、この状態検出部24からクロツク信号
SRCKIはカウンタ27に与えられる。これによ
り、カウンタ27は+1だけカウントアツプされ
る。
After that, the process advances to step A3, where the state detection section 24
The clock signal SRCKI is output. Then,
The flip-flop 33 in the #1 handset 1b is in the set state, and an "H" output is generated from the Q terminal. In addition, a clock signal is output from this state detection section 24.
SRCKI is given to counter 27. As a result, the counter 27 is incremented by +1.

次に、ステツプA4に進み、セツト信号SRD
が「L」に戻される。
Next, proceed to step A4 and set the set signal SRD.
is returned to "L".

この状態で、ステツプA5に進む。このステツ
プA5では、チエツク終了信号SRTNOの有無が
判断される。この場合、#1子機1b以外にも子
機1bが接続されているので、チエツク終了信号
SRTNOは「L」のままであり、ステツプA3に
戻る。
In this state, proceed to step A5. In this step A5, it is determined whether or not there is a check end signal SRTNO. In this case, since other handsets 1b are connected in addition to #1 handset 1b, the check end signal is
SRTNO remains at "L" and the process returns to step A3.

ステツプA3に戻されると、再び状態検出部2
4よりクロツク号SRCKIが出力される。すると、
この時点では#1の子機1bでのフリツプフロツ
プ33はセツト状態にあり、Q端子の出力状態は
「H」なので、今度は#2の子機1bでのフリツ
プフロツプ33はセツト状態となり、Q端子より
「H」出力が発生される。また、この状態検出部
24からのクロツク信号SRCKIはカウンタ27
に与えられる。これにより、カウンタ27は、さ
らに+1カウントアツプされる。
When the process returns to step A3, the state detection unit 2
4 outputs the clock signal SRCKI. Then,
At this point, the flip-flop 33 in the #1 handset 1b is in the set state, and the output state of the Q terminal is "H", so the flip-flop 33 in the #2 handset 1b is in the set state, and the output from the Q terminal is "H". An "H" output is generated. Further, the clock signal SRCKI from the state detection section 24 is sent to the counter 27.
given to. As a result, the counter 27 is further counted up by +1.

そして、ステツプA4に進み、セツト信号
SRDが「L」に戻され、ステツプA5にて、チ
エツク終了信号SRTNOの有無が判断され、#2
子機1b以降にも子機1bが接続されていれば、
チエツク終了信号SRTNOは「L」のままであ
り、ステツプA3に戻る。
Then, proceed to step A4, and set the set signal.
SRD is returned to "L", and in step A5, the presence or absence of the check end signal SRTNO is determined, and #2
If handset 1b is also connected after handset 1b,
The check end signal SRTNO remains at "L" and the process returns to step A3.

以下、同様にして、ステツプA3〜A5の動作
が繰返され、#nの子機1bまでの接続状態のチ
エツクが行なわれ、直列接続された子機1bの数
がカウンタ27でカウントされる。そして、#n
子機1bまでの接続状態のチエツクが終了する
と、この時点では#n子機1bのフリツプフロツ
プ33のQ端子の出力状態が「H」となつてお
り、接続端子32のチエツク終了信号端子
SRTNIにチエツク終了信号として「H」が与え
られるので、この信号が#nから#1の子機1b
を順に経由して親機1a側に送られ、状態検出部
24に与えられる。これによりステツプA5にお
いて、チエツク終了信号SRTNOの「H」が判断
されステツプA6に進む。そして、このステツプ
A6において、カウンタ27のカウント内容、つ
まり直列接続された子機1bの数が制御部14に
送られ、接続数の検出が終了する。
Thereafter, the operations of steps A3 to A5 are repeated in the same manner, the connection state up to #n handset 1b is checked, and the number of serially connected handsets 1b is counted by counter 27. And #n
When the check of the connection state up to the handset 1b is completed, the output state of the Q terminal of the flip-flop 33 of the #n handset 1b is "H" at this point, and the check end signal terminal of the connection terminal 32 is
Since "H" is given to SRTNI as a check end signal, this signal is sent to handset 1b from #n to #1.
are sequentially sent to the base unit 1a side, and provided to the state detection section 24. As a result, in step A5, it is determined that the check end signal SRTNO is "H", and the process proceeds to step A6. Then, in step A6, the count content of the counter 27, that is, the number of slave units 1b connected in series, is sent to the control section 14, and the detection of the number of connections is completed.

したがつて、このようにすれば1個以上直列に
接続されるの子機に対して親機側より接続状態検
出信号としてクロツク信号を与えるとともに、こ
のクロツク信号に対する子機の応答内容から子機
の数をカウントするようにしたので、従来の子機
の接続数検出をソフト的に行なうものと比べ、処
理を簡単にできる。しかも、構成的にも簡単であ
るだけでなく、子機数のカウントを正確に行なう
ことができる。そして、このようにして子機個数
を正確に把握することにより、その後のデータ転
送の際の子機指定を確実にできるなど親機側での
子機の集中的管理を安定したものにできる。
Therefore, by doing this, a clock signal is given as a connection state detection signal from the base unit to one or more slave units connected in series, and the slave unit is detected based on the response content of the slave unit to this clock signal. Since the number of connected handsets is counted, the process is simpler than the conventional method of detecting the number of connected handsets using software. Moreover, not only is the configuration simple, but the number of slave devices can be counted accurately. By accurately ascertaining the number of handsets in this manner, it is possible to ensure the specification of handsets for subsequent data transfer, and to stabilize the centralized management of handsets on the base side.

なお、この考案は上記実施例にのみ限定され
ず、要旨を変更しない範囲で適宜変形して実施で
きる。例えば、上述では、赤外線によるデータ送
受信部について述べたが、その他の手段を使用し
たデータ送受信部を採用することもできる。
Note that this invention is not limited to the above-mentioned embodiments, and can be implemented with appropriate modifications within the scope of the invention. For example, although the data transmission/reception section using infrared rays has been described above, it is also possible to employ a data transmission/reception section using other means.

[考案の効果] この考案によれば、親機に対して複数個直列接
続された子機データ転送部の数を簡単な構成によ
る処理によつて正確に検出することができる。
[Effects of the invention] According to this invention, the number of child device data transfer units connected in series to a parent device can be accurately detected by processing with a simple configuration.

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

第1図はこの考案の一実施例の装置全体を示す
外観図、第2図は同実施例の親機の回路構成を示
すブロツク図、第3図は同実施例の子機の回路構
成を示すブロツク図、第4図は同実施例の子機の
接続状態を説明するための図、第5図は同実施例
の動作を説明するためのフローチヤートである。 1……装置本体、1a……親機、1b……子
機、2,7……データ送受信部、3……ポケツト
コンピユータ、4……電話用カプラ、5……プリ
ンタ、6……テープレコーダ、24……状態検出
部、25……パワースイツチ、26……電源、2
7……カウンタ、31,32……接続端子、33
……フリツプフロツプ、34,35,36……ア
ンドゲート。
Fig. 1 is an external view showing the entire device of an embodiment of this invention, Fig. 2 is a block diagram showing the circuit configuration of the master unit of the same embodiment, and Fig. 3 is a circuit diagram of the slave unit of the same embodiment. FIG. 4 is a diagram for explaining the connection state of the handset of the same embodiment, and FIG. 5 is a flowchart for explaining the operation of the same embodiment. 1...Device body, 1a...Base unit, 1b...Slave unit, 2, 7...Data transmitting/receiving section, 3...Pocket computer, 4...Telephone coupler, 5...Printer, 6...Tape recorder , 24... Status detection unit, 25... Power switch, 26... Power supply, 2
7... Counter, 31, 32... Connection terminal, 33
...flipflop, 34, 35, 36...and gate.

Claims (1)

【実用新案登録請求の範囲】 親機と、この親機に直列接続された複数の子機
とからなるデータ転送装置に於いて、 前記直列接続された複数の子機は、親機から接
続状態検出信号が与えられる毎に順次最初の子機
から前記接続状態検出信号を記憶する記憶手段を
夫々有し、且つ直列接続された複数の子機のうち
最後の子機は自身の記憶手段の記憶状態を前記複
数の子機を介して前記親機に送出して自身の記憶
手段に記憶がなされたことを応答する応答手段を
備え、 前記親機は、前記接続状態検出信号を前記直列
接続された複数の子機に対して送出する送出手段
と、この送出手段によつて前記接続状態検出信号
が送出される毎にカウント動作がなされるカウン
ト手段と、前記最後の子機の前記応答手段による
応答が有つた際の前記カウント手段の内容によつ
て前記直列接続された子機の数を検出する検出手
段とを備えた事を特徴とするデータ転送装置。
[Claims for Utility Model Registration] In a data transfer device consisting of a base unit and a plurality of slave units connected in series to the base unit, the plurality of serially connected slave units are connected to each other from the base unit. Each of the slave units has storage means for storing the connection state detection signal sequentially from the first slave unit each time a detection signal is applied, and the last slave unit among the plurality of slave units connected in series has a storage unit of its own storage unit. The base unit includes a response unit that sends the status to the base unit via the plurality of slave units and responds that the status has been stored in its storage unit, and the base unit transmits the connection status detection signal to the serially connected units. a sending means for sending a signal to a plurality of slave units, a counting means for performing a counting operation each time the connection state detection signal is sent by the sending unit, and a response means of the last slave unit. 1. A data transfer device comprising: detecting means for detecting the number of serially connected slave devices based on the contents of the counting means when a response is received.
JP1986146345U 1986-09-24 1986-09-24 Expired - Lifetime JPH0526849Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1986146345U JPH0526849Y2 (en) 1986-09-24 1986-09-24

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1986146345U JPH0526849Y2 (en) 1986-09-24 1986-09-24

Publications (2)

Publication Number Publication Date
JPS6352329U JPS6352329U (en) 1988-04-08
JPH0526849Y2 true JPH0526849Y2 (en) 1993-07-07

Family

ID=31058723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1986146345U Expired - Lifetime JPH0526849Y2 (en) 1986-09-24 1986-09-24

Country Status (1)

Country Link
JP (1) JPH0526849Y2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5173801A (en) * 1974-12-23 1976-06-26 Fujitsu Ltd

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5173801A (en) * 1974-12-23 1976-06-26 Fujitsu Ltd

Also Published As

Publication number Publication date
JPS6352329U (en) 1988-04-08

Similar Documents

Publication Publication Date Title
US7149835B2 (en) System for extending length of a connection to a USB device
US6922748B2 (en) System for extending length of a connection to a USB device
JP4224834B2 (en) Chip card reader with high-speed communication protocol
US20040221077A1 (en) Dual channel universal serial bus structure
JPH0526849Y2 (en)
JPS59138151A (en) Initializing system in local area network
CN112199312B (en) Interface conversion device of communication equipment and communication system
JPH0526848Y2 (en)
JPH0666059B2 (en) Data transfer device
JPH0736572B2 (en) Data transmission method
JP2712304B2 (en) Data transmission method, data transmission device, data reception method, and data reception device
JPH0426903Y2 (en)
JPS59187253U (en) Data transfer adapter
JP3095412U (en) Flash memory card reader using serial ATA interface
JPS6210830Y2 (en)
JPH0756519Y2 (en) Data communication device
JP3013948U (en) IC card for optical fiber communication
JPS6376537A (en) Data transferring device
JPH0566613B2 (en)
JPS5814105B2 (en) Half-duplex transmission method
JPH11136305A (en) Information terminal device and information terminal group
JPS60232745A (en) Interface conversion system
JPH03769Y2 (en)
JPS62157441A (en) Confirming method for communication available state among equipments
JPS60153047U (en) data communication equipment