JP2647569B2 - Information processing device - Google Patents
Information processing deviceInfo
- Publication number
- JP2647569B2 JP2647569B2 JP9216391A JP9216391A JP2647569B2 JP 2647569 B2 JP2647569 B2 JP 2647569B2 JP 9216391 A JP9216391 A JP 9216391A JP 9216391 A JP9216391 A JP 9216391A JP 2647569 B2 JP2647569 B2 JP 2647569B2
- Authority
- JP
- Japan
- Prior art keywords
- optical
- optical interface
- transmission line
- information
- transmission
- 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
Landscapes
- Cash Registers Or Receiving Machines (AREA)
- Computer And Data Communications (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、POSターミナルなど
と、複数のハンディターミナルなどとを用いて、相互に
情報交換しながら情報を処理する情報処理装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus for processing information while mutually exchanging information using a POS terminal and a plurality of handy terminals.
【0002】[0002]
【従来の技術】従来からの情報処理装置の基本的構成
を、図6に示す。1台のPOS(「販売時点情報管理シ
ステム」の略称)ターミナル1には、1台の光アダプタ
2が接続される。光アダプタ2には、ハンディターミナ
ル3が接続される。POSターミナル1と、光アダプタ
2とを接続するのはRS−232C伝送路4であり、光
アダプタ2と、ハンディターミナル3との間を接続する
のは光伝送路5である。RS−232C伝送路4は、P
OSターミナル1やオフイスコンピュータなどの標準的
インタフェース規格にしたがっており、容易に接続する
ことができる。ハンディターミナル3は、店舗や倉庫な
どに携行して情報収集を行い、収集した情報をPOSタ
ーミナル1などに送って処理するために用いられる。し
たがって、小形で軽量であることが望ましく、消費電力
も少ない必要がある。このため、ハンディターミナル3
と光アダプタ2とは、光伝送路5を用いて情報交換を行
う。光アダプタ2とハンディターミナル3を接近した状
態で、光伝送路5の距離を可及的に短くすることによっ
て、電力の消費が少なく、雑音などの影響を受けにくい
情報交換を行うことができる。ハンディターミナル3に
RS−232Cの規格に従うインタフェースを設けれ
ば、光アダプタ2を介さずに、直接POSターミナル1
と情報交換が可能であるけれども、RS−232C規格
を電気的に満足させるために、ハンディターミナル3の
消費電力の増大、大形化、重量化を招く。2. Description of the Related Art FIG. 6 shows a basic configuration of a conventional information processing apparatus. One optical adapter 2 is connected to one POS (abbreviation of “point of sale information management system”) terminal 1. The handy terminal 3 is connected to the optical adapter 2. The POS terminal 1 and the optical adapter 2 are connected by an RS-232C transmission line 4, and the optical transmission line 5 is connected between the optical adapter 2 and the handy terminal 3. RS-232C transmission line 4
According to standard interface standards such as OS terminal 1 and office computer, it can be easily connected. The handy terminal 3 is used for carrying information to be carried in a store or a warehouse, and sending the collected information to the POS terminal 1 or the like for processing. Therefore, it is desirable to be small and lightweight, and it is necessary to reduce power consumption. Therefore, Handy Terminal 3
The optical adapter 2 exchanges information using the optical transmission line 5. By making the distance of the optical transmission line 5 as short as possible with the optical adapter 2 and the handy terminal 3 close to each other, information can be exchanged with less power consumption and less susceptible to noise or the like. If the handy terminal 3 is provided with an interface conforming to the RS-232C standard, the POS terminal 1 can be directly connected without using the optical adapter 2.
Although it is possible to exchange information with the portable terminal 3, the power consumption of the handy terminal 3 is increased, the size is increased, and the weight is increased in order to electrically satisfy the RS-232C standard.
【0003】従来からの情報処理装置において、1台の
POSターミナルと情報交換することができるハンディ
ターミナル3の台数は、1つのRS−232C伝送路4
に対して1台に限られている。1台のPOSターミナル
1と複数(n)台のハンディターミナル3を接続すると
きは、その複数のRS−232C伝送路を用意して接続
する必要がある。一般に、POSターミナル1やオフイ
スコンピュータなどで利用することができるRS−23
2C伝送路4の数は限られており、複数のRS−232
C伝送路4を利用することは困難である。さらに、PO
Sターミナル1側では、複数のRS−232C伝送路4
を区別して取扱う必要がある。そのため、RS−232
C伝送路4と、ハンディターミナル3の接続の組合せの
種類の数だけプログラムを用意して、通信を行う必要が
ある。プログラムの選択を誤ると、POSターミナル1
と、ハンディターミナル3との通信を正確に行うことが
できなくなる。In a conventional information processing apparatus, the number of handy terminals 3 capable of exchanging information with one POS terminal is one RS-232C transmission line 4.
Is limited to one. When connecting one POS terminal 1 and a plurality of (n) handy terminals 3, it is necessary to prepare and connect the plurality of RS-232C transmission lines. Generally, RS-23 which can be used in POS terminal 1 or office computer, etc.
The number of 2C transmission lines 4 is limited, and a plurality of RS-232
It is difficult to use the C transmission path 4. In addition, PO
On the S terminal 1 side, a plurality of RS-232C transmission lines 4
Need to be handled separately. Therefore, RS-232
It is necessary to prepare programs for the number of combinations of the connection between the C transmission line 4 and the handy terminal 3 and perform communication. If you select the wrong program, POS Terminal 1
Communication with the handy terminal 3 cannot be performed accurately.
【0004】複数台のハンディターミナル3をPOSシ
ステム1に同時に接続するのは、以上のように困難であ
るので、1つのRS−232C伝送路4にハンディター
ミナル3を取換えながら1台ずつ接続することが考えら
れる。このような人的行為によると、手間がかかり、ハ
ンディターミナル3のセットミスなどのトラブルが生じ
やすい。Since it is difficult to simultaneously connect a plurality of handy terminals 3 to the POS system 1 as described above, one handy terminal 3 is connected to one RS-232C transmission line 4 while replacing the handy terminal 3. It is possible. According to such a human action, it takes time and troubles such as an incorrect setting of the handy terminal 3 are likely to occur.
【0005】[0005]
【発明が解決しようとする課題】本発明の目的は、1台
のPOSターミナルなどの主処理装置に、複数台の光イ
ンタフェース装置を接続して、複数台のハンディターミ
ナルなどと容易に情報交換を行うことができる情報処理
装置を提供することである。SUMMARY OF THE INVENTION It is an object of the present invention to connect a plurality of optical interface devices to a main processing device such as a single POS terminal to easily exchange information with a plurality of handy terminals. An object of the present invention is to provide an information processing apparatus that can perform the information processing.
【0006】[0006]
【課題を解決するための手段】本発明は、主処理装置
と、複数の光インタフェース装置と、主処理装置と1つ
の光インタフェース装置との間を情報交換可能に接続
し、第1の信号伝送規格に従う第1伝送路と、光インタ
フェース装置相互間を情報交換可能に接続し、第2の信
号伝送規格に従う第2伝送路とを含み、各光インタフェ
ース装置は、個別的な識別情報が予め設定される設定手
段と、光信号を介して情報交換可能な光インタフェース
手段と、主処理装置に第1伝送路で接続されているか否
かを検出する検出手段と、検出手段からの出力に応答
し、主処理装置に接続されている場合にマスタモードと
なり、主処理装置に接続されていない場合にスレーブモ
ードとなる切換え手段であって、マスタモードとして動
作する場合、前記複数のうちから1つの光インタフェー
ス装置を選択し、自己を選択したときは、光インタフェ
ース手段と第1伝送路を介して主処理装置とを接続し、
他の光インタフェース装置を選択したときは、選択され
た光インタフェース装置と主処理装置との間を、第2伝
送路および第1伝送路を介して接続するように切換え、
スレーブモードとして動作する場合、第2伝送路を介し
て転送される識別情報が設定手段に設定されている識別
情報に一致するとき、光インタフェース手段と第2伝送
路とを接続するように切換える切換え手段とを有するこ
とを特徴とする情報処理装置である。SUMMARY OF THE INVENTION According to the present invention, a main signal processing apparatus, a plurality of optical interface apparatuses, a main signal processing apparatus and a single optical interface apparatus are connected so that information can be exchanged, and a first signal transmission is performed. A first transmission line conforming to the standard and an optical interface device are connected to each other so that information can be exchanged, and a second transmission line conforming to a second signal transmission standard is included. Each optical interface device has individual identification information set in advance. Setting means, an optical interface means capable of exchanging information via an optical signal, a detecting means for detecting whether or not the main processing unit is connected via the first transmission line, and a response to an output from the detecting means. A switching unit for switching to a master mode when connected to the main processing device and a slave mode when not connected to the main processing device. Force one select optical interface device, when selecting the self, through the optical interface means and the first transmission line connects the main processor,
When another optical interface device is selected, the selected optical interface device and the main processing device are switched to be connected via the second transmission line and the first transmission line,
When operating in the slave mode, when the identification information transferred via the second transmission path matches the identification information set in the setting means, switching is performed to connect the optical interface means to the second transmission path. And an information processing apparatus.
【0007】[0007]
【作用】本発明に従えば、主処理装置と複数の光インタ
フェース装置のうちの1つとは、第1の信号伝送規格に
従う第1伝送路で情報交換可能に接続される。光インタ
フェース装置相互間は、第2の信号伝送規格に従う第2
伝送路で情報交換可能に接続される。第1の信号伝送規
格として、主処理装置に一般的に備えられている規格を
選択すれば、主処理装置と光インタフェース装置との接
続は容易である。光インタフェース装置間は、第2の信
号伝送規格にしたがって接続されるので、光インタフェ
ース装置の動作に適した規格を選択することによって、
光インタフェース装置間で確実な情報交換を行うことが
できる。According to the present invention, the main processing unit and one of the plurality of optical interface units are connected so as to be able to exchange information through a first transmission line conforming to a first signal transmission standard. Between the optical interface devices, a second signal transmission standard
Information is exchanged via a transmission line. If a standard generally provided in the main processing device is selected as the first signal transmission standard, the connection between the main processing device and the optical interface device is easy. Since the optical interface devices are connected according to the second signal transmission standard, by selecting a standard suitable for the operation of the optical interface device,
Reliable information exchange can be performed between the optical interface devices.
【0008】各光インタフェース装置は、設定手段と、
光インタフェース手段と、検出手段と、切換え手段とを
有する。光インタフェース手段は、光信号を介してたと
えばハンディターミナルなどと情報交換が可能である。
検出手段は、各光インタフェース装置自体が、第1伝送
路で主処理装置と接続されているか否かを判断する。切
換え手段は、検出手段からの出力に応答し、主処理装置
に接続されている場合に、マスタモードとなって複数の
光インタフェース装置のうちから1つの光インタフェー
ス装置を、設定手段に設定される識別情報に従って選択
する。自己を選択したときは第1伝送路を介して、他の
スレーブモードとなっている光インタフェース装置を選
択したときは第1および第2伝送路を介して、切換え手
段は選択された光インタフェース装置と、主処理装置と
の間を情報交換可能に接続するように切換える。したが
って、主処理装置からは、複数の光インタフェース装置
のうちのいずれが選択されたときであっても、同様に情
報交換を行うことがきる。Each of the optical interface devices includes setting means,
It has optical interface means, detection means, and switching means. The optical interface means can exchange information with, for example, a handy terminal or the like via an optical signal.
The detecting means determines whether or not each optical interface device itself is connected to the main processing device via the first transmission line. The switching means responds to the output from the detecting means and, when connected to the main processing device, enters a master mode and sets one of the plurality of optical interface devices to the setting means. Select according to identification information. The switching means is connected to the selected optical interface device via the first transmission line when the self-selection is performed, and via the first and second transmission lines when the other optical interface device in the slave mode is selected. And the main processing unit so that the information can be exchanged. Therefore, even when any one of the plurality of optical interface devices is selected, the main processing device can exchange information similarly.
【0009】[0009]
【実施例】図1は、本発明の一実施例の基本的構成を示
すブロック図である。1台の主処理装置であるPOSタ
ーミナル10には、複数台の光インタフェース装置であ
る光アダプタ21,2n,2mが接続される。各光アダ
プタ21,2n,2mには、それぞれ1台ずつのハンデ
ィターミナル31,3n,3mが接続される。POSタ
ーミナル10と1台の光アダプタ2nとの間は、第1伝
送路であるRS−232C伝送路40で接続される。光
アダプタ21,2n,2m相互間は、第2伝送路である
RS−485伝送路41で相互に接続される。光アダプ
タ21,2n,2mとハンディターミナル31,3n,
3mとの間は、光伝送路51,5n,5mによってそれ
ぞれ接続される。このように接続すると、POSターミ
ナル10とRS−232C伝送路40で接続される光ア
ダプタ2nがマスタ機となり、他の光アダプタ21,2
mはスレーブ機となる。FIG. 1 is a block diagram showing a basic configuration of an embodiment of the present invention. The POS terminal 10, which is one main processing device, is connected to optical adapters 21, 2, n, and 2m, which are a plurality of optical interface devices. One handy terminal 31, 3n, 3m is connected to each optical adapter 21, 2, n, 2m. The POS terminal 10 and one optical adapter 2n are connected by an RS-232C transmission line 40 as a first transmission line. The optical adapters 21, 2n, and 2m are mutually connected by an RS-485 transmission line 41 that is a second transmission line. Optical adapters 21,2n, 2m and handy terminals 31,3n,
3m are connected by optical transmission lines 51, 5n, and 5m, respectively. With this connection, the optical adapter 2n connected to the POS terminal 10 and the RS-232C transmission line 40 becomes a master device, and the other optical adapters 21 and
m is a slave unit.
【0010】図2は、光アダプタ21,2n,2mの電
気的構成を示すブロック図である。光アダプタ21,2
n,2mの動作は、中央処理装置(以下、「CPU」と
略称する。)60によって行われる。CPU60には、
設定回路61が接続される。設定回路61には、各光ア
ダプタ21,2n,2mを相互に識別するためのアドレ
ス番号などが設定される。CPU60の動作は、読出し
専用メモリ(以下、「ROM」と略称する。)62にス
トアされたプログラムコードにしたがって行われ、読書
き可能メモリ(ランダムアクセスメモリ。以下、「RA
M」と略称する。)63をワークエリアなどとして使用
する。光アダプタ21,2n,2mには、外部とのイン
タフェース回路(以下、「I/F」と略称する。)とし
て、RS−232C用I/F64、RS−485用I/
F65および光用I/F66がそれぞれ設けられてい
る。RS−232C用I/Fには、RS−232C伝送
路40が接続される。RS−485用I/F65には、
RS−485伝送路41が接続される。光用I/F66
には、光伝送路51,5n,5mを介して、ハンディタ
ーミナル31,3n,3mが接続される。これらのI/
F64,65,66は、切換回路67を介してCPU6
0に接続される。FIG. 2 is a block diagram showing an electrical configuration of the optical adapters 21, 2n, and 2m. Optical adapter 21,2
The operations of n and 2m are performed by a central processing unit (hereinafter abbreviated as “CPU”) 60. In the CPU 60,
The setting circuit 61 is connected. In the setting circuit 61, an address number and the like for mutually identifying the optical adapters 21, 2, n, and 2m are set. The operation of the CPU 60 is performed in accordance with a program code stored in a read-only memory (hereinafter, abbreviated as “ROM”) 62 and is a readable / writable memory (random access memory; hereinafter, “RA”).
M ”. ) 63 is used as a work area or the like. The optical adapters 21, 2, n, and 2m include an I / F 64 for RS-232C and an I / F 64 for RS-485 as an interface circuit (hereinafter abbreviated as "I / F") with the outside.
An F65 and a light I / F 66 are provided. The RS-232C transmission path 40 is connected to the RS-232C I / F. The I / F65 for RS-485 has
The RS-485 transmission path 41 is connected. I / F66 for light
, Handy terminals 31, 3n, 3m are connected via optical transmission lines 51, 5n, 5m. These I /
F64, 65 and 66 are connected to the CPU 6 via the switching circuit 67.
Connected to 0.
【0011】第1の信号伝送規格である、RS−232
Cは、国際電信電話諮問委員会(以下、「CCITT」
と略称する。)の勧告V.24,V.28にしたがっ
て、アメリカ電子工業会(以下、「EIA」と略称す
る。)がデータ端末装置(略称「DTE」)と、回線終
端装置(略称「DCE」)との間のインタフェース条件
を決めた規格であり、日本工業規格(略称「JIS」)
では、JISX5101として規定されている。この規
格では、25の信号線が規定されているけれども、本実
施例においては、ピン番号2の送信データ(JIS略語
では「SD」)、ピン番号3の受信データ(JIS略語
では「RD」)、ピン番号6のデータ・セット・レディ
(JIS略語では「DR」)およびピン番号20のデー
タ端末レディ(JIS略語では「ER」)を主として使
用する。データの伝送は調歩同期式で行う。The first signal transmission standard, RS-232
C stands for the International Telegraph and Telephone Advisory Committee ("CCITT")
Abbreviated. Recommendation V.) 24, V .; A standard by which the Electronic Industries Association of America (hereinafter abbreviated as "EIA") has determined interface conditions between a data terminal device (abbreviated as "DTE") and a line termination device (abbreviated as "DCE") in accordance with No. 28. And the Japanese Industrial Standards (abbreviated as "JIS")
Is defined as JISX5101. Although 25 signal lines are defined in this standard, in this embodiment, transmission data of pin number 2 ("SD" in JIS abbreviation) and reception data of pin number 3 ("RD" in JIS abbreviation) , A pin # 6 data set ready (JIS abbreviation "DR") and a pin number 20 data terminal ready (JIS abbreviation "ER"). Data transmission is performed in an asynchronous system.
【0012】第2の信号伝送規格であるRS−485
は、EIA規格上最大1200mの信号伝送が可能な平
衡動作の伝送路であり、バス構成として最大32台まで
の入出力装置を接続することができる。すなわち、図3
に示すように、RS−485伝送路41には、一対の平
衡ライン42,43が含まれ、その両端には終端抵抗4
4,45が接続されてバス回路を構成する。このRS−
485伝送路41には、光アダプタ21,2n,2mの
RS−485用I/F65に含まれるレシーバ71,7
n,7mおよびドライバ81,8n,8mがそれぞれ共
通に接続される。ドライバ81,8n,8mは、能動化
されていないときはハイインピーダンス状態となり、能
動化されているドライバ81,8n,8mの動作の障害
とはならない。このRS−485伝送路41は、このよ
うに平衡形であるので、外部からいわゆるコモンモード
として混入するノイズの影響を受けにくく、信号伝達可
能な距離を増大することができる。RS−485伝送路
41に含まれる制御ラインの1つはSEL信号に使用す
る。The second signal transmission standard RS-485
Is a transmission line of a balanced operation capable of transmitting a signal of a maximum of 1200 m according to the EIA standard, and up to 32 input / output devices can be connected as a bus configuration. That is, FIG.
As shown in the figure, the RS-485 transmission line 41 includes a pair of balanced lines 42 and 43, and a terminating resistor 4
4, 45 are connected to form a bus circuit. This RS-
The 485 transmission line 41 includes receivers 71, 7 included in the RS-485 I / F 65 of the optical adapters 21, 2, n, and 2m.
n, 7m and drivers 81, 8n, 8m are commonly connected. The drivers 81, 8n, 8m are in a high impedance state when not activated, and do not hinder the operation of the activated drivers 81, 8n, 8m. Since the RS-485 transmission line 41 is of such a balanced type, it is hardly affected by noise mixed in from outside as a so-called common mode, and the distance over which signals can be transmitted can be increased. One of the control lines included in the RS-485 transmission line 41 is used for the SEL signal.
【0013】光アダプタ21,2n,2mと、ハンディ
ターミナル31,3n,3mとの間を光伝送路51,5
n,5mで接続するのは、ハンディターミナル31,3
n,3mの消費電力を少なくし、ハンディターミナル3
1,3n,3mを小形、かつ軽量に構成するためであ
る。光伝送路51,5n,5mは、光アダプタ21,2
n,2mとハンディターミナル31,3n,3mをほぼ
接触した状態として、光伝送路51,5n,5mを形成
させる。光伝送路51,5n,5mの距離は短いので、
ハンディターミナル31,3n,3mからの光の強度は
小さくてもよく、消費電力を少なくすることができる。Optical transmission lines 51, 5 are provided between the optical adapters 21, 2, n, 2m and the handy terminals 31, 3n, 3m.
n, 5m are connected to the handy terminals 31, 3
n, 3m power consumption, handy terminal 3
This is because 1, 3n, and 3m are small and lightweight. The optical transmission lines 51, 5n, and 5m are
The optical transmission lines 51, 5n, 5m are formed with the n, 2m and the handy terminals 31, 3n, 3m almost in contact with each other. Since the distances of the optical transmission lines 51, 5n, and 5m are short,
The intensity of light from the handy terminals 31, 3n, 3m may be small, and power consumption can be reduced.
【0014】以上のような各I/F64,65,66相
互間の切換えおよびCPU60との接続は、図2図示の
切換回路67によって行われる。初期状態として、切換
回路67は、RS−232C用I/F64をCPU60
に接続しておく。切換回路67は、各I/F64,6
5,66相互間のレベル変換、モード変換も行う。The switching between the I / Fs 64, 65, and 66 and the connection with the CPU 60 as described above are performed by a switching circuit 67 shown in FIG. As an initial state, the switching circuit 67 switches the RS-232C I / F 64 to the CPU 60.
Connect to. The switching circuit 67 includes the I / Fs 64, 6
Level conversion and mode conversion between 5, 66 are also performed.
【0015】光アダプタ21,2n,2mとハンディタ
ーミナル31,3n,3mとの接続は、光アダプタ2
1,2n,2mとハンディターミナル31,3n,3m
とをほぼ接触状態として、光伝送路51,5n,5mが
小さい範囲で行う。これによって、ハンディターミナル
31,3n,3mからの光の出力は小さくてもよいの
で、ハンディターミナル31,3n,3mの消費電力を
少なくすることができる。このため、ハンディターミナ
ル31,3n,3mは、小さな蓄電池で動作させること
ができ、光アダプタ21,2n,2mと情報交換を行っ
ているときに、充電式電池を充電することができる。そ
のような充電の制御などは、制御回路68によって行わ
れる。The connection between the optical adapters 21,2n, 2m and the handy terminals 31,3n, 3m is performed by the optical adapter 2
1,2n, 2m and Handy terminal 31,3n, 3m
Are substantially in contact with each other, and the light transmission paths 51, 5n, and 5m are performed in a small range. Thus, the output of light from the handy terminals 31, 3n, 3m may be small, so that the power consumption of the handy terminals 31, 3n, 3m can be reduced. For this reason, the handy terminals 31, 3n, and 3m can be operated with a small storage battery, and the rechargeable battery can be charged when exchanging information with the optical adapters 21, 2, n, and 2m. Such control of charging and the like is performed by the control circuit 68.
【0016】図4は、図1図示の実施例における光アダ
プタ21,2n,2mの動作を説明するためのフローチ
ャートである。ステップa1から動作を開始し、ステッ
プa2において、RS−232C伝送路40のデータ端
末レディ信号ERがハイレベルであるか否かが判断され
る。データ端末レディ信号ERは、光アダプタ21,2
n,2mがPOSタミナルに接続されていないときはロ
ーレベルとなり、ステップa3においてスレーブモード
となる。データ端末レディ信号ERがハイレベルのとき
は、マスタ機として動作するマスタモードとなる。次
に、ステップa4において、切換回路67を切換えて、
RS−485用I/F65をCPU60に接続するため
のRS−485のSEL信号をハイレベルとする。次に
ステップa5において、RS−485伝送路41を介し
て、他の光アダプタ21,2mを識別するためのアドレ
スを送信する。次にステップa6において、RS−48
5伝送路41を介して、肯定応答があるか否かが判断さ
れる。肯定応答がないときは、ステップa7において、
セレクトアドレスが1つ増加され、次の光アダプタ2
1,2mをセレクトするようにして、ステップa5に戻
る。FIG. 4 is a flowchart for explaining the operation of the optical adapters 21, 2n, and 2m in the embodiment shown in FIG. The operation starts from step a1, and in step a2, it is determined whether the data terminal ready signal ER of the RS-232C transmission line 40 is at a high level. The data terminal ready signal ER is
When n and 2m are not connected to the POS terminal, the level becomes low, and the slave mode is set in step a3. When the data terminal ready signal ER is at a high level, the master mode is set to operate as a master unit. Next, in step a4, the switching circuit 67 is switched,
The SEL signal of the RS-485 for connecting the RS-485 I / F 65 to the CPU 60 is set to a high level. Next, in step a5, an address for identifying the other optical adapter 21 or 2m is transmitted via the RS-485 transmission line 41. Next, in step a6, RS-48
It is determined whether there is an acknowledgment via the transmission line 41. When there is no positive response, in step a7,
The select address is increased by one and the next optical adapter 2
The process returns to step a5 by selecting 1, 2m.
【0017】ステップa6において、肯定応答があった
ときは、ステップa8に移る。ステップa8において
は、RS−232Cのデータ・セット・レデイ信号DR
をハイレベルとし、POSタミナル10に対して、光ア
ダプタ21,2n,2m側の準備が完了したことを知ら
せる。次に、ステップa9において、マスタ機となった
光アダプタ2nは、RS−485のSEL信号をローレ
ベルとし、RS−485伝送路41とRS−232C伝
送路40とを、切換回路67を切換えることによって、
ステップa10において接続し、ステップa11におい
て処理を終了する。If there is an affirmative response in step a6, the process proceeds to step a8. In step a8, the RS-232C data set ready signal DR
To a high level to notify the POS terminal 10 that the preparation of the optical adapters 21, 2, n, 2m has been completed. Next, in step a9, the optical adapter 2n that has become the master device sets the SEL signal of the RS-485 to the low level, and switches the switching circuit 67 between the RS-485 transmission line 41 and the RS-232C transmission line 40. By
The connection is established in step a10, and the process ends in step a11.
【0018】光アダプタ2nが自己を選択するときは、
光伝送路5nとRS−232C伝送路40とを切換回路
67を切換えることによって接続する。When the optical adapter 2n selects itself,
The optical transmission line 5n and the RS-232C transmission line 40 are connected by switching the switching circuit 67.
【0019】図5は、スレーブ機となる光アダプタ2
1,2mの動作を示すフローチャートである。図4のス
テップa3からステップb1に移り、ステップb2にお
いて、RS−485のSEL信号がハイレベルとなって
いるか否かが判断される。図4のステップa4で、SE
L信号がハイレベルとなっているときは、ステップb3
に移り、図4のステップa5で送信されるセレクトアド
レスを受信する。ステップb4では、セレクトアドレス
が設定回路61に設定されているアドレスと一致するか
否かが判断される。セレクトアドレスが一致している
(OK)であれば、ステップb5に移り、RS−485
伝送路41を介して肯定応答を行う。この応答をマスタ
機2nが受信し、図4のステップa6からステップa8
およびステップa9の処理が行われ、RS−485のS
EL信号がローレベルとなる。ステップb6において
は、このSEL信号がローレベルになるまで待つ。次に
ステップb7において、切換回路67を制御して、光用
I/F66と、RS−485用I/F65とを接続す
る。ステップb2において、SEL信号がハイレベルで
ないとき、ステップb4においてセレクトアドレスが一
致しないとき、ステップb7における接続が終了したと
き、ステップb8においてスレーブモードの動作が終了
する。FIG. 5 shows an optical adapter 2 serving as a slave unit.
It is a flowchart which shows operation | movement of 1 and 2m. The process proceeds from step a3 to step b1 in FIG. 4, and in step b2, it is determined whether the SEL signal of RS-485 is at a high level. In step a4 of FIG.
When the L signal is at the high level, step b3
Then, the select address transmitted in step a5 of FIG. 4 is received. At step b4, it is determined whether or not the select address matches the address set in the setting circuit 61. If the select addresses match (OK), the process proceeds to step b5, where RS-485 is set.
An acknowledgment is made via the transmission line 41. This response is received by the master unit 2n, and steps a6 to a8 in FIG.
And the processing of step a9 is performed, and the RS-485 S
The EL signal goes low. In step b6, the process waits until the SEL signal goes low. Next, in step b7, the switching circuit 67 is controlled to connect the optical I / F 66 to the RS-485 I / F 65. In step b2, when the SEL signal is not at the high level, when the select addresses do not match in step b4, when the connection in step b7 is terminated, the operation in the slave mode is terminated in step b8.
【0020】以上のように、セレクトアドレスによって
選択された光アダプタ21,2n,2mの光用I/F6
6は、RS−485伝送路41を介して、あるいは直
接、RS−232C伝送路40と情報交換可能に接続さ
れる。POSターミナル10は、光アダプタ21,2
n,2mにハンディターミナル31,3n,3mが情報
交換可能に接続されているときは、情報交換を行う。ハ
ンディターミナル31,3n,3mが接続されていない
ときは、情報交換を行わない。POSターミナル10
は、ハンディターミナル31,3n,3mとの間の情報
交換が終了したとき、またはハンディターミナル31,
3n,3mが接続されていないときは、図4のステップ
a1からの動作を繰返す。このようにして、複数の光ア
ダプタ21,2n,2mが順次的に選択され、POSタ
ーミナル10と複数のハンディターミナル31,3n,
3mとの間の情報交換が行われる。As described above, the optical I / Fs 6 of the optical adapters 21, 2n, and 2m selected by the select address.
6 is connected via an RS-485 transmission line 41 or directly to an RS-232C transmission line 40 so that information can be exchanged. The POS terminal 10 includes optical adapters 21 and
When the handy terminals 31, 3n, 3m are connected to n, 2m so that information can be exchanged, information is exchanged. When the handy terminals 31, 3n, 3m are not connected, no information exchange is performed. POS terminal 10
Indicates that the information exchange with the handy terminal 31, 3n, 3m has been completed, or
When 3n and 3m are not connected, the operation from step a1 in FIG. 4 is repeated. In this way, the plurality of optical adapters 21,2n, 2m are sequentially selected, and the POS terminal 10 and the plurality of handy terminals 31,3n,
Information exchange between 3m is performed.
【0021】以上の各実施例においては、第1伝送路と
してRS−232C伝送路40、第2伝送路としてRS
−485伝送路41を使用しているけれども、他の規格
によるものであってもよいことは勿論である。光アダプ
タ21,2n,2mには、ハンディターミナル31,3
n,3mを接続しているけれども、他の装置、たとえば
バーコードリーダや計測装置などを接続するようにして
もよいことは勿論である。In each of the above embodiments, the RS-232C transmission line 40 is used as the first transmission line, and the RS-232C transmission line is used as the second transmission line.
Although the -485 transmission line 41 is used, it is needless to say that other standards may be used. The optical adapters 21, 2, n, and 2m have handy terminals 31, 3,
Although n and 3m are connected, other devices such as a barcode reader and a measuring device may be connected.
【0022】[0022]
【発明の効果】以上のように本発明によれば、主処理装
置に複数の光インタフェースのうちの1台を接続し、主
処理装置に接続された光インタフェース装置が複数の光
インタフェース装置のうちの1台の光インタフェース装
置を選択して主処理装置と情報交換可能に接続するよう
に切換えるので、主処理装置は1台の光インタフェース
装置が接続されているときと同様に複数の光インタフェ
ース装置と情報交換することができる。これによって、
1台のPOSターミナルやオフイスコンピュータと、複
数の光インタフェース装置を介するハンディターミナル
などとの情報交換が人的行為によらずに行うことができ
るので、セットミスなどのトラブルの減少や、時間短縮
などの効果を得ることができる。As described above, according to the present invention, one of the plurality of optical interfaces is connected to the main processing device, and the optical interface device connected to the main processing device is one of the plurality of optical interface devices. Is switched to be connected to the main processing device so that information can be exchanged, so that the main processing device is connected to the plurality of optical interface devices in the same manner as when one optical interface device is connected. Can exchange information. by this,
Information exchange between a single POS terminal or office computer and a handy terminal via multiple optical interface devices can be performed without human intervention, reducing troubles such as setting mistakes and reducing time. The effect of can be obtained.
【0023】また、第1信号伝送規格として、たとえば
RS−232Cなど、一般的に主処理装置に備えられて
いる規格を選択することによって、光インタフェース装
置を主処理装置に容易に接続することができる。複数の
光インタフェース装置間は、第2の信号伝送規格にした
がって接続されるので、第2の信号伝送規格を、第1の
信号伝送規格とは異なる、たとえばRS−485などの
第1信号伝送規格よりも改良された伝送路を用いること
によって、光インタフェース装置間の距離を大きくした
り、動作を確実にしたりすることが容易である。Also, by selecting a standard generally provided in the main processor such as RS-232C as the first signal transmission standard, the optical interface device can be easily connected to the main processor. it can. Since the plurality of optical interface devices are connected in accordance with the second signal transmission standard, the second signal transmission standard is different from the first signal transmission standard, for example, the first signal transmission standard such as RS-485. By using a more improved transmission path, it is easy to increase the distance between the optical interface devices and to ensure the operation.
【図1】本発明の一実施例の基本的構成を示すブロック
図である。FIG. 1 is a block diagram showing a basic configuration of an embodiment of the present invention.
【図2】図1図示の光アダプタ21,2n,2mの電気
的構成を示すブロック図である。FIG. 2 is a block diagram showing an electrical configuration of the optical adapters 21, 2n, and 2m shown in FIG.
【図3】図1図示のRS−485伝送路41に関連する
構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration related to an RS-485 transmission line 41 illustrated in FIG. 1;
【図4】図1図示の光アダプタ21,2n,2mの動作
を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining the operation of the optical adapters 21, 2, n, and 2m shown in FIG.
【図5】図1図示の光アダプタ21,2n,2mの動作
を示すフローチャートである。FIG. 5 is a flowchart showing the operation of the optical adapters 21, 2, n, and 2m shown in FIG.
【図6】従来からの情報処理装置の基本的構成を示すブ
ロック図である。FIG. 6 is a block diagram illustrating a basic configuration of a conventional information processing apparatus.
10 POSターミナル 21,2n,2m 光アダプタ 31,3n,3m ハンディターミナル 40 RS−232C伝送路 41 RS−485伝送路 60 CPU 61 設定回路 62 ROM 63 RAM 64 RS−232C用I/F 65 RS−485用I/F 66 光用I/F 67 切換回路 DESCRIPTION OF SYMBOLS 10 POS terminal 21,2n, 2m Optical adapter 31,3n, 3m Handy terminal 40 RS-232C transmission line 41 RS-485 transmission line 60 CPU 61 Setting circuit 62 ROM 63 RAM 64 RS / 232C I / F 65 RS-485 I / F 66 Light I / F 67 Switching circuit
Claims (1)
交換可能に接続し、第1の信号伝送規格に従う第1伝送
路と、 光インタフェース装置相互間を情報交換可能に接続し、
第2の信号伝送規格に従う第2伝送路とを含み、 各光インタフェース装置は、 個別的な識別情報が予め設定される設定手段と、 光信号を介して情報交換可能な光インタフェース手段
と、 主処理装置に第1伝送路で接続されているか否かを検出
する検出手段と、 検出手段からの出力に応答し、主処理装置に接続されて
いる場合にマスタモードとなり、主処理装置に接続され
ていない場合にスレーブモードとなる切換え手段であっ
て、 マスタモードとして動作する場合、前記複数のうちから
1つの光インタフェース装置を選択し、 自己を選択したときは、光インタフェース手段と第1伝
送路を介して主処理装置とを接続し、 他の光インタフェース装置を選択したときは、選択され
た光インタフェース装置と主処理装置との間を、第2伝
送路および第1伝送路を介して接続するように切換え、 スレーブモードとして動作する場合、第2伝送路を介し
て転送される識別情報が設定手段に設定されている識別
情報に一致するとき、光インタフェース手段と第2伝送
路とを接続するように切換える切換え手段とを有するこ
とを特徴とする情報処理装置。1. A main processing unit, a plurality of optical interface units, a first transmission line that connects the main processing unit and one optical interface unit so that information can be exchanged, and conforms to a first signal transmission standard; Connect the optical interface devices so that information can be exchanged,
A second transmission line conforming to a second signal transmission standard, wherein each optical interface device comprises: setting means in which individual identification information is set in advance; optical interface means capable of exchanging information via an optical signal; Detecting means for detecting whether or not the processing device is connected to the first transmission path; and responding to an output from the detecting means, and when connected to the main processing device, a master mode is set; Switching means for switching to a slave mode when not operating, and when operating as a master mode, selecting one of the plurality of optical interface devices from among the plurality of optical interface devices; When another optical interface device is selected by connecting the main interface to the main processing device, a second transmission path is connected between the selected optical interface device and the main processing device. And switching to connect via the first transmission line. When operating as a slave mode, when the identification information transferred via the second transmission line matches the identification information set in the setting means, the optical interface An information processing apparatus having switching means for switching the means and the second transmission path to be connected.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9216391A JP2647569B2 (en) | 1991-04-23 | 1991-04-23 | Information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9216391A JP2647569B2 (en) | 1991-04-23 | 1991-04-23 | Information processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04322345A JPH04322345A (en) | 1992-11-12 |
| JP2647569B2 true JP2647569B2 (en) | 1997-08-27 |
Family
ID=14046761
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9216391A Expired - Fee Related JP2647569B2 (en) | 1991-04-23 | 1991-04-23 | Information processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2647569B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04360256A (en) * | 1991-06-06 | 1992-12-14 | Sharp Corp | Terminal equipment for information processing |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0526848Y2 (en) * | 1986-09-24 | 1993-07-07 |
-
1991
- 1991-04-23 JP JP9216391A patent/JP2647569B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04322345A (en) | 1992-11-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0188522B1 (en) | Polling method for data processing system | |
| JPH0618374B2 (en) | Data transmission method for multi-network system | |
| EP0217184B1 (en) | Method for communicating with remote units of a distributive data processing system | |
| JPS6376540A (en) | Communication terminal equipment | |
| KR20010082175A (en) | A method and an arrangement relating to temperature sensing in electric circuitry | |
| CN112260916B (en) | Communication circuit, communication network, and communication abnormality processing method | |
| US4191941A (en) | Switch matrix for data transfers | |
| JP2647569B2 (en) | Information processing device | |
| CN109542812A (en) | Data communication control method, device and terminal device | |
| JPS61127251A (en) | Subscriber protocol processing system | |
| JP3089313B2 (en) | Communication system in multiple terminal devices | |
| JPS62179241A (en) | Communication terminal equipment | |
| JPH04299458A (en) | Information retrieving device | |
| KR100208229B1 (en) | Indoor Data Line Termination Matching Packet Service Device with Parallel Structure in Switching System | |
| JP2502850B2 (en) | Communication method for SCSI system | |
| JPS63294039A (en) | Calling system for data terminal | |
| KR930008165B1 (en) | Line connection circuit for telex communication | |
| JPS6343443A (en) | Communication network equipment | |
| JPH09258848A (en) | Pos device | |
| JPS593621A (en) | High-speed circuit control system | |
| JPS621396A (en) | Key telephone equipment | |
| JPS59221133A (en) | Bus interface system between devices | |
| JPH03151740A (en) | Communication controller | |
| JPH03244241A (en) | Terminal address detection system | |
| JPH036765A (en) | Duplexed connection system for cpu bus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080509 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090509 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100509 Year of fee payment: 13 |
|
| LAPS | Cancellation because of no payment of annual fees |