JP3474146B2 - Electronics - Google Patents

Electronics

Info

Publication number
JP3474146B2
JP3474146B2 JP2000116342A JP2000116342A JP3474146B2 JP 3474146 B2 JP3474146 B2 JP 3474146B2 JP 2000116342 A JP2000116342 A JP 2000116342A JP 2000116342 A JP2000116342 A JP 2000116342A JP 3474146 B2 JP3474146 B2 JP 3474146B2
Authority
JP
Japan
Prior art keywords
input
connector
output
circuit
external device
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
Application number
JP2000116342A
Other languages
Japanese (ja)
Other versions
JP2001306114A (en
Inventor
雅士 坪井
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.)
Mitutoyo Corp
Original Assignee
Mitutoyo 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 Mitutoyo Corp filed Critical Mitutoyo Corp
Priority to JP2000116342A priority Critical patent/JP3474146B2/en
Publication of JP2001306114A publication Critical patent/JP2001306114A/en
Application granted granted Critical
Publication of JP3474146B2 publication Critical patent/JP3474146B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、接続された外部機
器との間でデータの入出力を行う電子機器に関する。
The present invention relates to relates to an electronic equipment which performs input and output of data between the connected external device.

【0002】[0002]

【従来の技術】従来、自動制御を行うシーケンサ等の制
御装置に、測定データを送信するインライン組込用の測
定器が知られている。通常、このようなインライン組込
用の測定器はシーケンサ等の制御装置に複数設置される
ことが多く、その設置作業の簡素化を図るために、測定
器の小型化に対する要求は高かった。
2. Description of the Related Art Conventionally, a measuring instrument for in-line incorporation that transmits measurement data to a control device such as a sequencer for automatic control is known. Usually, a plurality of such measuring instruments for in-line incorporation are often installed in a control device such as a sequencer, and there is a strong demand for downsizing the measuring instruments in order to simplify the installation work.

【0003】また一方、このような測定器では、変位量
を測定するためのゲージ、プリントアウトを行うための
プリンタ、さらには設定値を入力するためのプリセッタ
などの外部機器を接続する必要があった。
On the other hand, in such a measuring device, it is necessary to connect an external device such as a gauge for measuring the displacement amount, a printer for printing out, and a presetter for inputting set values. It was

【0004】ゲージ、プリンタ、プリセッタなど、複数
の外部機器を接続するためには、これらが装着される多
くのコネクタを測定器のリアパネル等に設けなければな
らかなった。
In order to connect a plurality of external devices such as gauges, printers, and presetters, it has been necessary to provide many connectors to which these devices are attached on the rear panel of the measuring instrument.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前述し
たような多くのコネクタをリアパネル等に配置すること
は、小型化の要求に反して測定器のサイズを大きくして
しまうことに繋がり、コネクタの数には限界があった。
However, arranging many connectors as described above on the rear panel or the like leads to an increase in the size of the measuring device against the demand for miniaturization, and the number of connectors is increased. There was a limit.

【0006】そこで、本発明は、外部機器毎にコネクタ
を配置してその数を増やすことなく、複数の外部機器か
ら多様なデータの入出力を行うことができ、小型化とデ
ータ入出力の多様化の両方の要求に応えることができる
電子機器を提供することを目的とする。
Therefore, according to the present invention, various data can be input and output from a plurality of external devices without arranging a connector for each external device and increasing the number of connectors, and miniaturization and various data input and output can be achieved. and to provide an electronic equipment which can meet both of the request.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に記載の電子機器は、接続された
外部機器との間でデータの入出力を行う電子機器におい
て、前記電子機器内の入出力回路に接続された信号線を
前記外部機器からの信号線に接続するために設けられ、
前記外部機器からの信号線に設けられた第1のコネクタ
が装着される第2のコネクタと、前記第1および第2の
コネクタを介して前記外部機器から入力される固有の出
力電圧をデジタルデータに変換するアナログデジタル変
換回路と、該変換されたデジタルデータを基に、選択信
号を生成し、複数の前記入出力回路の中から特定の入出
力回路を選択するデコーダ回路と、前記選択信号にした
がって、前記入出力回路と前記第2のコネクタとの間に
設けられた信号線を開閉するゲート回路とを備えたこと
を特徴とする。
In order to achieve the above object, an electronic device according to claim 1 of the present invention is an electronic device which inputs and outputs data to and from an external device connected to the electronic device. Provided for connecting a signal line connected to an input / output circuit in an electronic device to a signal line from the external device,
A second connector to which a first connector provided on a signal line from the external device is attached, and a unique output input from the external device via the first and second connectors.
Analog-digital converter that converts input voltage to digital data
A conversion circuit and a selection signal based on the converted digital data.
Signal to generate a specific input / output from among the plurality of input / output circuits.
The decoder circuit for selecting the input circuit and the selection signal
Therefore, between the input / output circuit and the second connector
And a gate circuit which opens and closes the provided signal line .

【0008】[0008]

【0009】[0009]

【0010】さらに、前記外部機器としてのゲージが前
記第1および第2のコネクタを介して接続され、前記ゲ
ージから出力されるパルス信号を計数するカウンタに適
用されたことが好ましい。また、本発明の請求項3に記
載の電子機器は、接続された外部機器との間でデータの
入出力を行う電子機器において、前記電子機器内の入出
力回路に接続された複数の信号線と前記外部機器からの
複数の信号線とを1対1で接続するために前記電子機器
に設けられ、前記外部機器からの複数の信号線にそれぞ
れ接続された複数のピンを有する第1のコネクタが装着
自在であり、該第1のコネクタの複数のピンと1対1で
接続される複数のピンを有する第2のコネクタと、前記
第1および第2のコネクタを介して前記外部機器から入
力される信号に基づき、前記外部機器を識別する機器識
別手段と、該識別された外部機器に応じて、複数の前記
入出力回路の中から特定の入出力回路を選択する入出力
回路選択手段と、前記特定の入出力回路の選択に応じ
て、前記各入出力回路に接続された複数の信号線と前記
第2のコネクタの複数のピンとの接続を切り替える入出
力切替手段とを備え、前記入出力切替手段によって前記
第2のコネクタのピンの仕様が変更されることを特徴と
する。
Furthermore, the gauge as the external device is connected via the first and second connectors, said gate
It is preferably applied to a counter that counts the pulse signals output from the page . In addition, according to claim 3 of the present invention.
The electronic devices listed above can exchange data with external devices connected to it.
For electronic devices that perform input / output,
From a plurality of signal lines connected to the input circuit and the external device
The electronic device for connecting one to one with a plurality of signal lines
Are installed on the signal lines from the external device.
First connector with multiple connected and connected pins is installed
Freely, one-to-one with the pins of the first connector
A second connector having a plurality of pins to be connected;
Input from the external device via the first and second connectors.
A device identification that identifies the external device based on the input signal.
According to another means and the identified external device, a plurality of the above
Input / output that selects a specific input / output circuit from the input / output circuits
Depending on the circuit selecting means and the selection of the specific input / output circuit
A plurality of signal lines connected to each of the input / output circuits and
I / O to switch connection with multiple pins of the second connector
Force switching means, and the input / output switching means
The pin specifications of the second connector are changed.
To do.

【0011】[0011]

【0012】[0012]

【0013】これにより、外部機器毎にコネクタを配置
してその数を増やすことなく、複数の外部機器から多様
なデータの入出力を行うことがことができ、電子機器の
小型化とデータ入出力の多様化の両方の要求に応えるこ
とができる。
Thus, various data can be input and output from a plurality of external devices without arranging a connector for each external device and increasing the number of connectors, and downsizing of electronic devices and data input / output can be achieved. Can meet both demands of diversification.

【0014】[0014]

【発明の実施の形態】本発明の電子機器の実施の形態に
ついて説明する。本実施形態の電子機器は、変位量を測
定するゲージから出力されるパルス信号を計数する測定
器(カウンタ)に適用される。
DETAILED DESCRIPTION OF THE INVENTION Embodiments of the electronic equipment of the present invention will be described. The electronic device of this embodiment is applied to a measuring device (counter) that counts pulse signals output from a gauge that measures a displacement amount.

【0015】図1は実施の形態におけるカウンタの構成
を示す図である。このカウンタ11は、ゲージ14、プ
リンタ16、プリセッタ18などの外部機器に接続され
た信号線に付属のコネクタが着脱自在に装着されるコネ
クタ21、このコネクタ21に接続された外部機器を識
別する接続機器識別回路23、識別された外部機器に応
じて入出力の設定を切り替える入出力切替回路26、ゲ
ージ14から出力されたパルス信号を計数する計数回路
28、その計数値と目標値との差分を出力値として演算
する演算回路31、プリンタ16に出力値などのデータ
を出力するプリンタ出力回路33、同じく出力値などの
データを表示する表示器35、計数値および出力値の出
力先をプリンタ出力回路33あるいは表示器35のどち
らかに切り替える出力セレクタ37、出力値の公差判定
を行う公差判定出力回路38、出力値をBCDデータに
変換して出力するBCD出力回路40、出力値(デジタ
ル出力データ)のゲインを変更するために分解能を設定
する分解能設定回路44、デジタル出力データをアナロ
グ出力電圧に変換するD/A変換回路45、複数の目標
値がそれぞれ設定された複数の目標値設定レジスタ47
(1〜n)、複数の目標値設定レジスタ47(1〜n)
のいずれかを選択するセレクタ49、各目標値設定レジ
スタ47(1〜n)に設定される目標値を入力する設定
値入力回路51、および外部からの指示(RS232
C、外部選択信号およびキー入力)を選択的に受け付け
る選択入力回路54から構成される。
FIG. 1 is a diagram showing a configuration of a counter in the embodiment. The counter 11 is a connector 21 in which a connector attached to a signal line connected to an external device such as a gauge 14, a printer 16, a presetter 18 or the like is detachably attached, and a connection for identifying an external device connected to the connector 21. The device identification circuit 23, the input / output switching circuit 26 for switching the input / output setting according to the identified external device, the counting circuit 28 for counting the pulse signals output from the gauge 14, and the difference between the counted value and the target value. An arithmetic circuit 31 that calculates as an output value, a printer output circuit 33 that outputs data such as an output value to the printer 16, a display unit 35 that also displays data such as an output value, and a printer output circuit that outputs the count value and the output value. 33 or display 35, output selector 37, tolerance judgment output circuit 38 for judging tolerance of output value, output BCD output circuit 40 for converting and outputting BCD data, a resolution setting circuit 44 for setting a resolution for changing the gain of an output value (digital output data), a D / A for converting digital output data into an analog output voltage Conversion circuit 45, a plurality of target value setting registers 47 in which a plurality of target values are set respectively
(1 to n), a plurality of target value setting registers 47 (1 to n)
49, a set value input circuit 51 for inputting a target value set in each target value setting register 47 (1 to n), and an instruction from the outside (RS232).
C, external selection signal and key input).

【0016】外部機器としてのゲージ14は、その先端
部がワークに当接して変位する際の変位量をパルス信号
として出力するものである。このようなゲージとして、
例えば、分解能1μm、測定範囲10mm、出力パルス
数10ヶ/μmの性能を有するものが挙げられる。尚、
ゲージとしては、変位量に相当する数のパルス信号を出
力するものに限らず、変位量に応じた周期のパルス信号
を出力するもの、あるいは変位量そのものをデジタルデ
ータとして出力するものなど種々使用可能である。
The gauge 14 as an external device outputs a displacement amount as a pulse signal when the tip portion of the gauge 14 is displaced by coming into contact with a work. As a gauge like this,
For example, one having a resolution of 1 μm, a measurement range of 10 mm, and an output pulse number of 10 / μm can be mentioned. still,
The gauge is not limited to the one that outputs the number of pulse signals corresponding to the displacement amount, but various types such as the one that outputs the pulse signal of the cycle corresponding to the displacement amount or the one that outputs the displacement amount itself as digital data can be used. Is.

【0017】また、外部機器としてのプリンタ16は、
測定データを印刷するものであり、熱転写式、ドットイ
ンパクト式、インクジェット式など種々の方式のものが
使用可能である。
Further, the printer 16 as an external device is
The measurement data is printed, and various types such as a thermal transfer type, a dot impact type, and an inkjet type can be used.

【0018】さらに、外部機器としてのプリセッタ18
は、目標値設定レジスタ47(1〜n)に目標値を設定
するために使用されるものであり、その前面にはテンキ
ーなどが配置されている。
Further, a presetter 18 as an external device
Is used to set a target value in the target value setting register 47 (1 to n), and a ten-key pad or the like is arranged on the front surface thereof.

【0019】このようなゲージ14、プリンタ16、プ
リセッタ18などの外部機器に接続された信号線に付属
のコネクタが着脱自在に装着されるコネクタ21は、1
0ピンからなるコネクタであり、カウンタ11のリアパ
ネルに設けられている。
The connector 21 to which the attached connector is detachably attached is attached to the signal line connected to the external device such as the gauge 14, the printer 16 and the presetter 18.
This is a 0-pin connector and is provided on the rear panel of the counter 11.

【0020】図2はコネクタ21の各ピンに繋がる信号
線を示す図である。コネクタ21の1番ピンはグラン
ド、3番ピンはクロック(CK)、4番ピンは未使用
(N.C)、8番ピンは未使用(N.C)、9番ピンは
電源電圧(VCC)、10番ピンはフレームグランド
(F.G)であり、これらは、接続される外部機器の種
類によらず、同じ仕様である。コネクタ21の7番ピン
は接続された外部機器を識別するために使用される。外
部機器の識別方法については後述する。残りの2、5、
6番ピンは、接続された外部機器によってその仕様が異
なる。
FIG. 2 is a diagram showing signal lines connected to each pin of the connector 21. Pin 1 of connector 21 is ground, pin 3 is clock (CK), pin 4 is unused (NC), pin 8 is unused (NC), pin 9 is power supply voltage (VCC). ) The 10th pin is a frame ground (FG), and these have the same specifications regardless of the type of external device to be connected. The 7th pin of the connector 21 is used to identify the connected external device. The method of identifying the external device will be described later. The remaining two, five,
The 6th pin has different specifications depending on the connected external device.

【0021】すなわち、同図(A)に示すように、カウ
ンタ11のコネクタ21にゲージ14のコネクタ61が
装着された場合、2番ピンはデータ(DATA)、5番
ピンはデータ要求(REQ)、6番ピンはリセット信号
(ORG)の仕様となる。また、同図(B)に示すよう
に、カウンタ11のコネクタ21にプリンタ16のコネ
クタ63が装着された場合、2番ピンはデータ(DAT
A)、5番ピンはデータ要求(REQ)、6番ピンは未
使用の仕様となる。さらに、同図(C)に示すように、
カウンタ11のコネクタ21にプリセッタ18のコネク
タ65が装着された場合、2番ピンはストローブ(ST
B)信号、5番ピンはデータ(DATA)、6番ピンは
未使用の仕様となる。
That is, as shown in FIG. 1A, when the connector 61 of the gauge 14 is attached to the connector 21 of the counter 11, the second pin is data (DATA) and the fifth pin is data request (REQ). The 6th pin has a specification of a reset signal (ORG). Further, as shown in FIG. 2B, when the connector 63 of the printer 16 is attached to the connector 21 of the counter 11, the second pin has data (DAT).
A) Pin 5 has a data request (REQ), and pin 6 has an unused specification. Further, as shown in FIG.
When the connector 65 of the presetter 18 is attached to the connector 21 of the counter 11, the second pin is strobe (ST
B) signal, the fifth pin has data (DATA), and the sixth pin has an unused specification.

【0022】図3はコネクタ21に接続された入出力切
替回路26および接続機器識別回路23の構成を示す図
である。尚、図中、コネクタ21には、接続された外部
機器によって仕様が異なるピンだけが示され、共通仕様
のピンは省略されている。
FIG. 3 is a diagram showing the configurations of the input / output switching circuit 26 and the connected device identification circuit 23 connected to the connector 21. In the figure, in the connector 21, only pins having different specifications depending on the connected external device are shown, and pins having common specifications are omitted.

【0023】接続機器識別回路23はA/Dコンバータ
71およびデコーダ回路73から構成される。A/Dコ
ンバータ71は、コネクタ21の7番ピンを介して外部
機器から出力される固有のアナログ電圧を入力し、デジ
タルデータに変換するものであり、本実施形態では、1
6台までの外部機器が接続可能なように4ビットの分解
能を有する。また、デコーダ回路73は、A/Dコンバ
ータ71によって変換されたデジタルデータを基に選択
信号(選択1、選択2、選択3、…)を出力する。
The connected device identification circuit 23 comprises an A / D converter 71 and a decoder circuit 73. The A / D converter 71 inputs a unique analog voltage output from an external device via the 7th pin of the connector 21 and converts it into digital data.
It has a 4-bit resolution so that up to 6 external devices can be connected. The decoder circuit 73 also outputs selection signals (selection 1, selection 2, selection 3, ...) Based on the digital data converted by the A / D converter 71.

【0024】入出力切替回路26は、選択信号によって
開閉を行う複数のゲート回路91〜97から構成されて
おり、入出力回路としての計数回路28、プリンタ回路
33および設定値入力回路51からの信号線を選択的に
コネクタ21の各ピンに接続する。
The input / output switching circuit 26 is composed of a plurality of gate circuits 91 to 97 that open and close according to a selection signal, and the signals from the counting circuit 28, the printer circuit 33 and the set value input circuit 51 as input / output circuits. Wires are selectively connected to each pin of connector 21.

【0025】上記構成を有するカウンタ11にゲージ1
4、プリンタ16およびプリセッタ18が接続された場
合の入出力接続動作を示す。始めに、カウンタ11のコ
ネクタ21にゲージ14のコネクタ61が装着された場
合、ゲージ14内部の固有電圧(例えば、1.5V)が
コネクタ21の7番ピンを通じてカウンタ11内のA/
Dコンバータ71に入力される。A/Dコンバータ71
はこの固有電圧をデジタルデータ(例えば、「000
1」)に変換する。デコーダ回路73は、変換されたデ
ジタルデータに応じて選択1信号をアクティブにする。
アクティブとなった選択1信号が計数回路28、ゲート
回路91、94、97に入力すると、計数回路28が作
動状態になると同時に、ゲート回路91、94、97が
開かれる。
A gauge 1 is attached to the counter 11 having the above structure.
4 shows the input / output connection operation when the printer 16 and the presetter 18 are connected. First, when the connector 61 of the gauge 14 is attached to the connector 21 of the counter 11, the intrinsic voltage (for example, 1.5 V) inside the gauge 14 is A / A inside the counter 11 through the 7th pin of the connector 21.
It is input to the D converter 71. A / D converter 71
This unique voltage is converted to digital data (for example, "000
1 "). The decoder circuit 73 activates the selection 1 signal according to the converted digital data.
When the activated selection 1 signal is input to the counting circuit 28 and the gate circuits 91, 94 and 97, the counting circuit 28 is activated and at the same time, the gate circuits 91, 94 and 97 are opened.

【0026】これにより、計数回路28からコネクタ2
1の5番ピンを通じてデータ要求信号(REQ)がゲー
ジ14に出力されると、ゲージ14のコネクタ61の3
番ピンを通じてクロック(CK)信号が計数回路28に
入力すると同時にこれに同期してパルス信号(データ)
がコネクタ61の2番ピンを通じてシリアルにゲージ1
4から計数回路28に伝送される。データの伝送が終了
すると、計数回路28はコネクタ21の6番ピンを通じ
てリセット信号(ORG)をゲージ14に出力する。ゲ
ージ14はこのリセット信号(ORG)を受け取ると、
記憶しておいた測定データをリセットする。
As a result, the counting circuit 28 is connected to the connector 2
When the data request signal (REQ) is output to the gauge 14 through the No. 5 pin 1, the three connectors 61 of the gauge 14 are
The clock (CK) signal is input to the counting circuit 28 through the pin No. 2 and the pulse signal (data) is synchronized with this at the same time.
Gauge 1 serially through pin 2 of connector 61
4 to the counting circuit 28. When the data transmission is completed, the counting circuit 28 outputs a reset signal (ORG) to the gauge 14 through the 6th pin of the connector 21. When the gauge 14 receives this reset signal (ORG),
Reset the stored measurement data.

【0027】つぎに、カウンタ11のコネクタ21にプ
リンタ16のコネクタ63が装着された場合、同様にプ
リンタ16内部の固有電圧(例えば、2.5V)がコネ
クタ21の7番ピンを通じてカウンタ11内の接続機器
識別回路23のA/Dコンバータ71に入力される。A
/Dコンバータ71はこの固有電圧をデジタルデータ
(例えば、「0010」)に変換し、デコーダ回路73
は変換されたデジタルデータによって選択2信号をアク
ティブにする。アクティブとなった選択2信号がプリン
タ出力回路33およびゲート回路92、95に入力する
と、プリンタ出力回路33が作動状態になると同時にゲ
ート回路92、95が開かれる。このとき、コネクタ2
1の6番ピンに繋がれたゲート回路97は選択されてお
らず、6番ピンは未使用(N.C)となる。
Next, when the connector 63 of the printer 16 is attached to the connector 21 of the counter 11, a specific voltage (for example, 2.5 V) inside the printer 16 is also stored in the counter 11 through the 7th pin of the connector 21. It is input to the A / D converter 71 of the connected device identification circuit 23. A
The / D converter 71 converts this unique voltage into digital data (for example, "0010"), and the decoder circuit 73
Activates the select 2 signal according to the converted digital data. When the activated selection 2 signal is input to the printer output circuit 33 and the gate circuits 92 and 95, the gate circuits 92 and 95 are opened at the same time when the printer output circuit 33 is activated. At this time, the connector 2
The gate circuit 97 connected to the 6th pin of 1 is not selected, and the 6th pin is unused (NC).

【0028】これにより、プリンタ16からプリントデ
ータ要求信号(REQ)がコネクタ63の5番ピンを通
じて出力されると、カウンタ11のコネクタ21の3番
ピンを通じてクロック(CK)信号がプリンタ出力回路
33に入力すると同時にこれに同期してプリントデータ
がコネクタ21の2番ピンを通じてプリンタ出力回路3
3からシリアルにプリンタ16に伝送される。そして、
プリンタ16によりプリンタアウトが行われる。
Accordingly, when the print data request signal (REQ) is output from the printer 16 through the pin 5 of the connector 63, the clock (CK) signal is output to the printer output circuit 33 through the pin 3 of the connector 21 of the counter 11. Simultaneously with the input, the print data is synchronized with this and the print data is output from the printer output circuit 3 through the pin 2 of the connector 21.
3 is serially transmitted to the printer 16. And
Printer out is performed by the printer 16.

【0029】さらに、カウンタ11のコネクタ21にプ
リセッタ18のコネクタ65が装着された場合、同様に
プリセッタ18内部の固有電圧(例えば、3.5V)が
コネクタ21の7番ピンを通じてカウンタ11内の接続
機器識別回路23のA/Dコンバータ71に入力され
る。A/Dコンバータ71はこの固有電圧をデジタルデ
ータ(例えば、「0011」)に変換し、デコーダ回路
73は変換されたデジタルデータによって選択3信号を
アクティブにする。アクティブとなった選択3信号が設
定値入力回路51およびゲート回路93、96に入力さ
れると、設定値入力回路51が作動状態になると同時に
ゲート回路93、96が開かれる。このとき、コネクタ
21の6番ピンに繋がるゲート回路97は選択されてお
らず、6番ピンは未使用(N.C)となる。
Further, when the connector 65 of the presetter 18 is attached to the connector 21 of the counter 11, the intrinsic voltage (for example, 3.5 V) inside the presetter 18 is similarly connected inside the counter 11 through the 7th pin of the connector 21. It is input to the A / D converter 71 of the device identification circuit 23. The A / D converter 71 converts this specific voltage into digital data (for example, “0011”), and the decoder circuit 73 activates the selection 3 signal according to the converted digital data. When the activated selection 3 signal is input to the set value input circuit 51 and the gate circuits 93 and 96, the gate circuits 93 and 96 are opened at the same time when the set value input circuit 51 is activated. At this time, the gate circuit 97 connected to the 6th pin of the connector 21 is not selected, and the 6th pin is unused (NC).

【0030】これにより、設定値入力回路51からコネ
クタ21の2番ピンを通じてストローブ(STB)信号
が出力されると、カウンタ11のコネクタ21の3番ピ
ンを通じてクロック(CK)信号がプリセッタ18に入
力すると同時にこれに同期してプリセッタ18から設定
値データがコネクタ65の5番ピンを通じてシリアルに
設定値入力回路51に伝送される。そして、設定値デー
タの伝送が終了すると、設定値入力回路51はセレクタ
49により選択された目標値設定レジスタ47(1〜
n)に目標値を設定する。
As a result, when the strobe (STB) signal is output from the set value input circuit 51 through the pin 2 of the connector 21, the clock (CK) signal is input to the presetter 18 through the pin 3 of the connector 21 of the counter 11. At the same time, in synchronization with this, the preset value data is serially transmitted from the presetter 18 to the preset value input circuit 51 through the fifth pin of the connector 65. Then, when the transmission of the set value data is completed, the set value input circuit 51 causes the target value setting register 47 (1 to 1) selected by the selector 49.
Set the target value in n).

【0031】このように、本実施形態のカウンタ11で
は、ゲージ14、プリンタ16、プリセッタ18などの
外部機器を共通のコネクタ21に装着して使用すること
ができ、しかも、コネクタ21に装着された外部機器を
コネクタ21の7番ピンを通じて入力される固有のアナ
ログ電圧を基に接続機器判別回路23で識別し、識別し
た外部機器に対応するカウンタ11内の入出力回路(計
数回路、プリンタ出力回路あるいは設定値入力回路)を
作動状態にすると同時に、入出力切替回路26によって
コネクタ21の各ピンに繋がれた信号線の入出力の設定
を切り替える。このとき、入出力切替回路26内のゲー
ト回路91〜97は選択されていない入出力回路からの
信号線を絶縁状態にするので、各信号線が相互に干渉す
ることは生じない。
As described above, in the counter 11 of this embodiment, external devices such as the gauge 14, the printer 16 and the presetter 18 can be attached to the common connector 21 for use, and moreover, attached to the connector 21. The external device is identified by the connected device determination circuit 23 based on the unique analog voltage input through the pin 7 of the connector 21, and the input / output circuit (counter circuit, printer output circuit) in the counter 11 corresponding to the identified external device. Alternatively, the input / output switching circuit 26 switches the input / output setting of the signal line connected to each pin of the connector 21 at the same time when the set value input circuit) is activated. At this time, the gate circuits 91 to 97 in the input / output switching circuit 26 insulate the signal lines from the unselected input / output circuits, so that the signal lines do not interfere with each other.

【0032】したがって、外部機器毎にカウンタのリア
パネル等にコネクタを配置してその数を増やすことな
く、複数の外部機器から多様なデータの入出力を行うこ
とができ、カウンタの小型化とデータ入出力の多様化の
両方の要求に応えることができる。
Therefore, various data can be input and output from a plurality of external devices without arranging a connector on the rear panel of the counter for each external device and increasing the number of the connectors. Both demands for output diversification can be met.

【0033】尚、上記実施形態では、説明を分かり易く
するために、データ要求信号(REQ)、ストローブ信
号(STB)、リセット信号(ORG)は個々の入出力
回路から出力されるようにしたが、これらのタイミング
信号は同一のタイミング回路から出力されることが回路
設計上、好ましい。
In the above embodiment, the data request signal (REQ), strobe signal (STB), and reset signal (ORG) are output from the individual input / output circuits in order to make the explanation easy to understand. It is preferable in terms of circuit design that these timing signals are output from the same timing circuit.

【0034】また、以上が本発明の実施の形態の説明で
あるが、本発明は、これら実施の形態の構成に限られる
ものではなく、クレームで示した機能、または実施の形
態の構成が持つ機能が達成できる構成であればどのよう
なものであっても適用可能である。例えば、上記実施形
態では、外部機器が3台で、接続機器識別回路23では
16台まで識別可能な場合を示したが、特にその数は限
定されるものではない。また、外部機器固有の出力は電
圧に限らず、電流あるいはパルス信号であってもよい。
パルス信号の周波数によって外部機器を識別する場合、
接続機器識別回路は、A/Dコンバータの代わりにF/
Vコンバータを用いて識別することができる。
Although the above is a description of the embodiments of the present invention, the present invention is not limited to the configurations of these embodiments, and has the functions shown in the claims or the configurations of the embodiments. Any structure can be applied as long as the function can be achieved. For example, in the above-described embodiment, the case where the number of external devices is 3 and the connected device identification circuit 23 can identify up to 16 devices has been described, but the number is not particularly limited. Further, the output peculiar to the external device is not limited to voltage and may be current or pulse signal.
When identifying an external device by the frequency of the pulse signal,
The connected device identification circuit uses an F / F instead of an A / D converter.
It can be identified using a V converter.

【0035】また、接続される外部機器の数が2台程度
と少ない場合、A/Dコンバータおよびデコーダの代わ
りに、コンパレータを用いて機器固有の電圧を基準電圧
と比較することにより外部機器を識別してもよい。
When the number of external devices connected is as small as about two, the external device is identified by comparing the device-specific voltage with the reference voltage using a comparator instead of the A / D converter and the decoder. You may.

【0036】[0036]

【発明の効果】本発明によれば、外部機器毎にコネクタ
を配置してその数を増やすことなく、複数の外部機器か
ら多様なデータの入出力を行うことができ、電子機器の
小型化とデータ入出力の多様化の両方の要求に応えるこ
とができる。
According to the present invention, various data can be input and output from a plurality of external devices without arranging a connector for each external device and increasing the number of connectors, and the electronic device can be downsized. It is possible to meet both demands of diversification of data input / output.

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

【図1】実施の形態におけるカウンタの構成を示す図で
ある。
FIG. 1 is a diagram showing a configuration of a counter according to an embodiment.

【図2】コネクタの各ピンに繋がる信号線を示す図であ
る。
FIG. 2 is a diagram showing signal lines connected to respective pins of a connector.

【図3】コネクタに接続された入出力切替回路および接
続機器識別回路の構成を示す図である。
FIG. 3 is a diagram showing configurations of an input / output switching circuit and a connected device identification circuit connected to a connector.

【符号の説明】[Explanation of symbols]

11 カウンタ 14 ゲージ 16 プリンタ 18 プリセッタ 21、61、63、65 コネクタ 23 接続機器識別回路 26 入出力切替回路 28 計数回路 33 プリンタ出力回路 51 設定値入力回路 71 A/Dコンバータ 73 デコーダ回路 91〜97 ゲート回路 11 counter 14 gauge 16 Printer 18 presetter 21, 61, 63, 65 connector 23 Connected device identification circuit 26 I / O switching circuit 28 counting circuit 33 Printer output circuit 51 Set value input circuit 71 A / D converter 73 Decoder circuit 91-97 Gate circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/02 - 19/05 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G05B 19/02-19/05

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 接続された外部機器との間でデータの入
出力を行う電子機器において、 前記電子機器内の入出力回路に接続された信号線を前記
外部機器からの信号線に接続するために設けられ、前記
外部機器からの信号線に設けられた第1のコネクタが装
着される第2のコネクタと、 前記第1および第2のコネクタを介して前記外部機器か
ら入力される固有の出力電圧をデジタルデータに変換す
るアナログデジタル変換回路と、 該変換されたデジタルデータを基に、選択信号を生成
し、複数の前記入出力回路の中から特定の入出力回路を
選択するデコーダ回路と、 前記選択信号にしたがって、前記入出力回路と前記第2
のコネクタとの間に設けられた信号線を開閉するゲート
回路 とを備えたことを特徴とする電子機器。
1. An electronic device for inputting / outputting data to / from a connected external device, for connecting a signal line connected to an input / output circuit in the electronic device to a signal line from the external device. And a second connector to which the first connector provided on the signal line from the external device is mounted, and the external device via the first and second connectors .
The unique output voltage input from the
Generates a selection signal based on the analog-to-digital conversion circuit and the converted digital data
A specific input / output circuit among the plurality of input / output circuits
A decoder circuit for selecting, and the input / output circuit and the second circuit according to the selection signal.
Gate that opens and closes the signal line provided between the connector and
An electronic device comprising a circuit .
【請求項2】 前記外部機器としてのゲージが前記第1
および第2のコネクタを介して接続され、前記ゲージか
ら出力されるパルス信号を計数するカウンタに適用され
たことを特徴とする請求項1記載の電子機器。
2. The gauge as the external device is the first gauge.
And through the second connector , said gauge
Claim 1 Symbol mounting electronic equipment characterized in that it is applied to a counter for counting the pulse signals al outputted.
【請求項3】 接続された外部機器との間でデータの入
出力を行う電子機器において、 前記電子機器内の入出力回路に接続された複数の信号線
と前記外部機器からの複数の信号線とを1対1で接続す
るために前記電子機器に設けられ、前記外部機器からの
複数の信号線にそれぞれ接続された複数のピンを有する
第1のコネクタが装着自在であり、該第1のコネクタの
複数のピンと1対1で接続される複数のピンを有する第
2のコネクタと、 前記第1および第2のコネクタを介して前記外部機器か
ら入力される信号に基づき、前記外部機器を識別する機
器識別手段と、 該識別された外部機器に応じて、複数の前記入出力回路
の中から特定の入出力回路を選択する入出力回路選択手
段と、 前記特定の入出力回路の選択に応じて、前記各入出力回
路に接続された複数の信号線と前記第2のコネクタの複
数のピンとの接続を切り替える入出力切替手段とを備
え、 前記入出力切替手段によって前記第2のコネクタのピン
の仕様が変更されることを特徴とする 電子機器。
3. Data input / output to / from a connected external device
In an electronic device that outputs, a plurality of signal lines connected to an input / output circuit in the electronic device
And a plurality of signal lines from the external device are connected one to one.
Is installed in the electronic device in order to
Having a plurality of pins respectively connected to a plurality of signal lines
The first connector is freely attachable, and the first connector
Having a plurality of pins connected to the plurality of pins in a one-to-one relationship
2 connector and the external device via the first and second connectors
A device that identifies the external device based on the signal input from
And a plurality of the input / output circuits according to the identified external device.
Input / output circuit selector to select a specific input / output circuit from
Stage and each of the input / output circuits according to the selection of the specific input / output circuit.
A plurality of signal lines connected to the path and the second connector.
Equipped with input / output switching means to switch connection with several pins
For example, the pin of the second connector by said input switching means
Electronic equipment whose specifications are changed .
JP2000116342A 2000-04-18 2000-04-18 Electronics Expired - Fee Related JP3474146B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000116342A JP3474146B2 (en) 2000-04-18 2000-04-18 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000116342A JP3474146B2 (en) 2000-04-18 2000-04-18 Electronics

Publications (2)

Publication Number Publication Date
JP2001306114A JP2001306114A (en) 2001-11-02
JP3474146B2 true JP3474146B2 (en) 2003-12-08

Family

ID=18627814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000116342A Expired - Fee Related JP3474146B2 (en) 2000-04-18 2000-04-18 Electronics

Country Status (1)

Country Link
JP (1) JP3474146B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7627343B2 (en) 2003-04-25 2009-12-01 Apple Inc. Media player system
US7441062B2 (en) 2004-04-27 2008-10-21 Apple Inc. Connector interface system for enabling data communication with a multi-communication device
US7823214B2 (en) 2005-01-07 2010-10-26 Apple Inc. Accessory authentication for electronic devices
JP5101660B2 (en) * 2010-05-26 2012-12-19 三菱電機株式会社 Programmable controller
JP6073707B2 (en) * 2013-02-28 2017-02-01 パナソニック デバイスSunx株式会社 Programmable controller

Also Published As

Publication number Publication date
JP2001306114A (en) 2001-11-02

Similar Documents

Publication Publication Date Title
US5619722A (en) Addressable communication port expander
WO1999039909A3 (en) Memory expansion circuit for ink jet print head identification circuit
CA2186312A1 (en) Ink Jet Print Head Identification Circuit with Serial Out, Dynamic Shift Registers
JP3474146B2 (en) Electronics
US6704829B1 (en) Switch input processing module for switching signal transmission lines to transmit different types of signals
JPH07148959A (en) Thermal head device
US6331822B1 (en) Communication control apparatus
US4635222A (en) Interface device for converting a computer printer port into an input/output port
WO2003083904B1 (en) Serial integrated scan-based testing of ink jet print head
JP3524466B2 (en) Data output device and method
US6493109B1 (en) Print head driving apparatus and printer using the same
KR100398032B1 (en) small printer
JPH04296575A (en) Thermal head
JP2000307789A (en) Control circuit for unit
JP2714976B2 (en) Data communication method of electric fuse
KR0139899Y1 (en) Character control device of monitor in manufacturing process
JP2572156B2 (en) Driver IC for line print head
US20050088168A1 (en) Control module for use with a test probe
SU1520531A1 (en) Device for interfacing computer with users
JP5717421B2 (en) Thermal head and thermal printer
JP2682300B2 (en) Wheel rotation cycle measurement circuit
JPS61102862A (en) Thermal sensitive recording head
JP2662123B2 (en) Recording head drive
CN115834995A (en) Linear image sensor and image sensing method
JP3180865U (en) Thermal printer 2-wire bus control system and system

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R150 Certificate of patent or registration of utility model

Ref document number: 3474146

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150919

Year of fee payment: 12

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees