JPH04231884A - State monitor apparatus in electronic machinery - Google Patents

State monitor apparatus in electronic machinery

Info

Publication number
JPH04231884A
JPH04231884A JP12003591A JP12003591A JPH04231884A JP H04231884 A JPH04231884 A JP H04231884A JP 12003591 A JP12003591 A JP 12003591A JP 12003591 A JP12003591 A JP 12003591A JP H04231884 A JPH04231884 A JP H04231884A
Authority
JP
Japan
Prior art keywords
cpu
switches
option
electronic device
option boards
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP12003591A
Other languages
Japanese (ja)
Inventor
Jun Takamura
純 高村
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co Ltd
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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP12003591A priority Critical patent/JPH04231884A/en
Publication of JPH04231884A publication Critical patent/JPH04231884A/en
Pending legal-status Critical Current

Links

Landscapes

  • Emergency Alarm Devices (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

PURPOSE:To provide electronic machinery capable of making shift with one input wire to a CPU when the states of a plurality of switches detecting the kind of a connected option board or the states of respective parts are monitored by the CPU. CONSTITUTION:By converting the analogue data (voltages) outputted from the option boards 4-7 selectively mounted on the CPU 2 of electronic machinery to digital signals, many option boards 4-7 are discriminated by the CPU 2 using one input wire. In the same way, even when the switches detecting the states of the respective parts of the electronic machinery are monitored, various switches connected to the CPU 2 are connected to a power supply through resistors having different resistance values and the analogue data (voltages) inputted from those switches are converted to digital signals to discriminate the states of many switches by the CPU 2 using one input wire.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、電子機器における状態
監視装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a status monitoring device for electronic equipment.

【0002】0002

【従来の技術】例えば、プリンタ等の電子機器において
は、機能拡張等の目的で複数のオプションボードを選択
的に接続するようにした電子機器がある。この場合、選
択されたオプションボードの種類を判別する必要がある
。以下、その判別のための従来の構造を図4に示す。 1は電子機器の本体で、内部にはオプションボード15
,16,17の種類を判別するためのCPU14が設け
られている。これらのオプションボード15,16,1
7はそれぞれ(H,H)(H,L)(L,H)なるデジ
タル信号を出力するため、CPU14はP1,P2ポー
トに入力されるデジタル信号により接続されたオプショ
ンボード15,16,17を判別する。
2. Description of the Related Art For example, some electronic devices such as printers are designed to selectively connect a plurality of option boards for the purpose of functional expansion. In this case, it is necessary to determine the type of option board selected. A conventional structure for this determination is shown in FIG. 4 below. 1 is the main body of the electronic device, and inside is an option board 15
, 16, 17 is provided. These option boards 15, 16, 1
7 outputs digital signals (H, H) (H, L) (L, H), respectively, so the CPU 14 controls the option boards 15, 16, 17 connected by the digital signals input to the P1 and P2 ports. Discern.

【0003】また、電子機器には各部の状態を検出する
スイッチを有し、これらのスイッチを監視することによ
り種々の動作を制御する必要がある。例えば、図5に示
すように、プリンタにおいては、カバーオープンスイッ
チ、印字ギャップを調整するギャップセットレバーのポ
ジションを検出するスイッチ、印字用紙別にフリクショ
ン送りとトラクタ送りとを選択するリリースレバーのポ
ジションを検出するスイッチ等の各種のスイッチ10,
11,12をプリンタの本体1に設け、これらのスイッ
チ10,11,12を電源3に接続するとともにCPU
14のP1,P2,P3ポートに接続し、これらのP1
,P2,P3ポートにおける信号の有無により各部の状
態を監視している。
Furthermore, electronic equipment has switches for detecting the status of each part, and it is necessary to control various operations by monitoring these switches. For example, as shown in Figure 5, in a printer, the cover open switch, the switch that detects the position of the gap set lever that adjusts the print gap, and the position of the release lever that selects between friction feed and tractor feed for each print paper are detected. Various switches 10, such as switches for
11, 12 are provided in the main body 1 of the printer, and these switches 10, 11, 12 are connected to the power supply 3, and the CPU
Connect to 14 P1, P2, and P3 ports, and connect these P1
, P2, and P3 ports to monitor the status of each part.

【0004】0004

【発明が解決しようとする課題】図4に示すものは、C
PU14は入力された信号H,Lの組合せによってオプ
ションボード15,16,17を認識するので、二つの
入力ポートP1,P2をもってしても3種のオプション
ボード15,16,17しか判別することができず、よ
り多くのオプショボードを必要とする場合に多数のポー
トを有するCPUを用いなければならない。
[Problem to be solved by the invention] What is shown in FIG.
Since the PU 14 recognizes the option boards 15, 16, and 17 based on the combination of the input signals H and L, it can only identify the three types of option boards 15, 16, and 17 even if it has two input ports P1 and P2. If this is not possible and more optional boards are required, a CPU with multiple ports must be used.

【0005】図5に示すものも、一つのポートに一つの
スイッチしか接続することができず、多くのスイッチの
状態を監視するには多数のポートを有するCPUを用い
なければならない。
In the system shown in FIG. 5, only one switch can be connected to one port, and a CPU having many ports must be used to monitor the status of many switches.

【0006】[0006]

【課題を解決するための手段】請求項1の発明は、出力
電圧が異なる複数のオプションボードを設け、これらの
オプションボードが選択的に接続されるアナログ端子を
有するCPUを電子機器の本体に設けた。
[Means for Solving the Problem] The invention of claim 1 provides a plurality of option boards having different output voltages, and a CPU having an analog terminal to which these option boards are selectively connected is provided in the main body of an electronic device. Ta.

【0007】請求項2の発明は、出力電圧が異なる複数
のオプションボードを設け、これらのオプションボード
が選択的に接続されるA/D変換手段とこのA/D変換
手段に常時接続されたCPUとを電子機器の本体に設け
た。
The invention of claim 2 provides a plurality of option boards having different output voltages, an A/D conversion means to which these option boards are selectively connected, and a CPU constantly connected to the A/D conversion means. and are provided on the main body of the electronic device.

【0008】請求項3の発明は、各部の動作状態を示す
複数のスイッチの入力端子をそれぞれ抵抗値が異なる抵
抗を介して電源に接続し、前記スイッチの出力端子が接
続されたアナログ端子を有するCPUを電子機器の本体
に設けた。
According to a third aspect of the invention, the input terminals of a plurality of switches indicating the operating state of each part are connected to a power source through resistors having different resistance values, and the analog terminal is connected to an output terminal of the switch. A CPU is installed in the main body of an electronic device.

【0009】[0009]

【作用】請求項1の発明は、それぞれ異なる電圧をもっ
て各オプションボードから出力されたアナログデータは
、CPU自身によって多種のデジタル信号に変換されて
判別されるため、CPUの入力線が一本で済み、オプシ
ョンボードの判別数を増やすことが可能である。
[Operation] According to the invention of claim 1, since the analog data output from each option board with different voltages is converted into various digital signals and discriminated by the CPU itself, only one input line is required for the CPU. , it is possible to increase the number of option boards to be determined.

【0010】請求項2の発明は、それぞれ異なる電圧を
もって各オプションボードから出力されたアナログデー
タは、A/D変換手段により多種のデジタル信号に変換
されてCPUによって判別されるため、A/D変換手段
及びCPUの入力線が一本で済み、オプションボードの
判別数を増やすことが可能である。
[0010] In the invention of claim 2, the analog data output from each option board with different voltages is converted into various digital signals by the A/D conversion means and discriminated by the CPU. Only one means and one input line for the CPU is required, and it is possible to increase the number of option boards to be determined.

【0011】請求項3の発明は、各スイッチをONにし
た時にこれらのスイッチに接続された抵抗の電位がそれ
ぞれ異なるため、各スイッチからCPUのアナログ端子
に入力されるアナログデータは、CPU自身によって多
種のデジタル信号に変換されて判別されるため、CPU
の入力線が一本で済み、スイッチの判別数を増やすこと
が可能である。
[0011] According to the third aspect of the invention, when each switch is turned on, the potentials of the resistors connected to these switches are different, so that the analog data input from each switch to the analog terminal of the CPU is controlled by the CPU itself. Since it is converted into various digital signals and discriminated, the CPU
Only one input line is required for the switch, and the number of switch determinations can be increased.

【0012】0012

【実施例】請求項1の発明の一実施例を図1に基づいて
説明する。1は例えばプリンタ等の電子機器の本体であ
る。この本体1に設けられたCPU2の入力側と電源3
との間には抵抗R0が接続されている。この抵抗R0と
CPU2の入力側との間にはオプションボード4,5,
6,7に設けられた抵抗R1,R2,R3,R4が接続
されている。これらの抵抗R1,R2,R3,R4は一
端が接地されそれぞれ抵抗値が異なる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the invention according to claim 1 will be explained based on FIG. Reference numeral 1 indicates the main body of an electronic device such as a printer. The input side of the CPU 2 and the power supply 3 provided in this main body 1
A resistor R0 is connected between the two. Option boards 4, 5,
Resistors R1, R2, R3, and R4 provided at 6 and 7 are connected. These resistors R1, R2, R3, and R4 have one end grounded and have different resistance values.

【0013】このような構成において、CPU2に何れ
かのオプションボード4,5,6,7が接続されると、
それらの抵抗R1,R2,R3,R4と電子機器1内の
抵抗R0との分圧比によってオプションボード4,5,
6,7からCPU2に入力される電圧が変化する。この
電圧の異なるアナログデータは、CPU2自身によって
多種のデジタル信号に変換されて判別されるため、CP
U2の入力線が一本で済み、オプションボードの判別数
を増やすことが可能である。
In such a configuration, when any of the option boards 4, 5, 6, 7 is connected to the CPU 2,
The option boards 4, 5,
The voltage input to the CPU 2 from 6 and 7 changes. This analog data with different voltages is converted into various digital signals and discriminated by the CPU 2 itself.
Only one input line for U2 is required, and it is possible to increase the number of option boards to be determined.

【0014】次いで、請求項2の発明の一実施例を図2
に基づいて説明する。前記実施例と同一部分は同一符号
を用い説明も省略する(以下同様)。電子機器の本体1
には、A/D変換手段8とCPU9とが接続されて設け
られ、A/D変換手段8の入力側と電源3との間には抵
抗R0が接続され、この抵抗R0とCPU2の入力側と
の間にはオプションボード4,5,6,7の抵抗R1,
R2,R3,R4が接続されている。
Next, an embodiment of the invention of claim 2 is shown in FIG.
The explanation will be based on. Components that are the same as those in the embodiment described above are designated by the same reference numerals, and description thereof will be omitted (the same applies hereinafter). Main body of electronic device 1
is provided with an A/D conversion means 8 and a CPU 9 connected to each other, a resistor R0 is connected between the input side of the A/D conversion means 8 and the power supply 3, and the resistor R0 and the input side of the CPU 2 are connected to each other. The resistors R1 of option boards 4, 5, 6, and 7 are connected between
R2, R3, and R4 are connected.

【0015】このような構成において、A/D変換手段
8には何れかのオプションボード4,5,6,7が接続
されると、それらの抵抗R1,R2,R3,R4と本体
1内の抵抗R0との分圧比によってオプションボード4
,5,6,7からA/D変換手段8に入力される電圧が
変化する。この電圧の異なるアナログデータは、A/D
変換手段8によって多種のデジタル信号に変換され、そ
のデジタル信号はCPU9によって判別されるため、A
/D変換手段8及びCPU9の入力線が一本で済み、オ
プションボードの判別数を増やすことが可能である。
In such a configuration, when any of the option boards 4, 5, 6, 7 is connected to the A/D conversion means 8, the resistances R1, R2, R3, R4 and the inside of the main body 1 are connected. Option board 4 depending on the voltage division ratio with resistor R0
, 5, 6, and 7 to the A/D conversion means 8 changes. This analog data with different voltages is transferred to the A/D
Since the conversion means 8 converts into various digital signals, and the digital signals are discriminated by the CPU 9,
Only one input line is required for the /D conversion means 8 and the CPU 9, and it is possible to increase the number of option boards to be determined.

【0016】前記実施例において、オプションボード4
,5,6,7に抵抗R1,R2,R3,R4を設け、こ
れらの抵抗R1,R2,R3,R4に接続された電源3
を電子機器の本体1に設けたが、オプションボード4,
5,6,7に電圧の異なる電源を設けてもよいものであ
る。
In the above embodiment, the option board 4
, 5, 6, and 7 are provided with resistors R1, R2, R3, and R4, and a power source 3 connected to these resistors R1, R2, R3, and R4.
was installed on the main body 1 of the electronic device, but the option board 4,
Power sources 5, 6, and 7 may be provided with different voltages.

【0017】さらに、請求項3の発明の一実施例を図3
に基づいて説明する。プリンタの本体1には、カバーオ
ープンスイッチ、印字ギャップを調整するギャップセッ
トレバーのポジションを検出するスイッチ、印字用紙別
にフリクショク送りとトラクタ送りとを選択するリリー
スレバーのポジションを検出するスイッチ等の各種のス
イッチ10,11,12,13が設けられ、これらのス
イッチ10,11,12,13の入力端子はそれぞれ抵
抗値が異なる抵抗R1,R2,R3…Rnを介して電源
3に接続され、これらのスイッチ10,11,12,1
3の出力端子は本体1に設けられたCPU2のアナログ
端子と抵抗R0とに接続されている。
Furthermore, an embodiment of the invention according to claim 3 is shown in FIG.
The explanation will be based on. The main body 1 of the printer includes various devices such as a cover open switch, a switch that detects the position of the gap set lever that adjusts the print gap, and a switch that detects the position of the release lever that selects between friction feed and tractor feed for each printing paper. Switches 10, 11, 12, 13 are provided, and the input terminals of these switches 10, 11, 12, 13 are connected to the power supply 3 via resistors R1, R2, R3...Rn having different resistance values, respectively. Switch 10, 11, 12, 1
The output terminal 3 is connected to an analog terminal of the CPU 2 provided in the main body 1 and a resistor R0.

【0018】このような構成において、各抵抗R1,R
2,R3…Rnの抵抗値が異なるため、スイッチ10,
11,12,13をONにすると、ONにしたスイッチ
10,11,12,13の数及び種類によって抵抗R0
との分圧比によってCPU2に入力される電圧が変化す
る。この電圧の異なるアナログデータは、CPU2自身
によって多種のデジタル信号に変換されて判別されるた
め、CPU2の入力線が一本で済み、スイッチ10,1
1,12,13の判別数を増やすことができる。
In such a configuration, each resistor R1, R
2, R3...Rn have different resistance values, the switches 10,
When switches 11, 12, and 13 are turned on, the resistance R0 changes depending on the number and type of switches 10, 11, 12, and 13 that are turned on.
The voltage input to the CPU 2 changes depending on the voltage division ratio. This analog data with different voltages is converted into various types of digital signals and discriminated by the CPU 2 itself, so only one input line is required for the CPU 2, and the switches 10 and 1
The number of discriminations of 1, 12, and 13 can be increased.

【0019】[0019]

【発明の効果】請求項1の発明は、出力電圧が異なる複
数のオプションボードを設け、これらのオプションボー
ドが選択的に接続されるアナログ端子を有するCPUを
電子機器の本体に設けたので、それぞれ異なる電圧をも
って各オプションボードから出力されたアナログデータ
は、CPU自身によって多種のデジタル信号に変換され
て判別されるため、CPUの入力線が一本で済み、オプ
ションボードの判別数を増やすことができる等の効果を
有する。
[Effects of the Invention] According to the invention as claimed in claim 1, a plurality of option boards with different output voltages are provided, and a CPU having an analog terminal to which these option boards are selectively connected is provided in the main body of the electronic device. Analog data output from each option board with different voltages is converted into various digital signals and discriminated by the CPU itself, so only one input line is required for the CPU, and the number of option boards that can be discriminated can be increased. It has the following effects.

【0020】請求項2の発明は、出力電圧が異なる複数
のオプションボードを設け、これらのオプションボード
が選択的に接続されるA/D変換手段とこのA/D変換
手段に常時接続されたCPUとを電子機器の本体に設け
たので、それぞれ異なる電圧をもって各オプションボー
ドから出力されたアナログデータは、A/D変換手段に
より多種のデジタル信号に変換されてCPUによって判
別されるため、A/D変換手段及びCPUの入力線が一
本で済み、オプションボードの判別数を増やすことがで
きる等の効果を有する。
The invention of claim 2 provides a plurality of option boards having different output voltages, an A/D conversion means to which these option boards are selectively connected, and a CPU constantly connected to the A/D conversion means. Since the analog data output from each option board with different voltages is converted into various digital signals by the A/D conversion means and discriminated by the CPU, the A/D Only one input line is required for the conversion means and the CPU, and the number of option boards to be determined can be increased.

【0021】請求項3の発明は、各部の動作状態を示す
複数のスイッチの入力端子をそれぞれ抵抗値が異なる抵
抗を介して電源に接続し、前記スイッチの出力端子が接
続されたアナログ端子を有するCPUを電子機器の本体
に設けたので、各スイッチをONにした時にこれらのス
イッチに接続された抵抗の電位がそれぞれ異なるため、
各スイッチからCPUのアナログ端子に入力されるアナ
ログデータは、CPU自身によって多種のデジタル信号
に変換されて判別されるため、CPUの入力線が一本で
済み、スイッチの判別数を増やすことができる等の効果
を有する。
According to the third aspect of the present invention, input terminals of a plurality of switches indicating the operating state of each part are connected to a power source through resistors having different resistance values, and the analog terminal is connected to an output terminal of the switch. Since the CPU is installed in the main body of the electronic device, when each switch is turned on, the potentials of the resistors connected to these switches are different.
The analog data that is input from each switch to the analog terminal of the CPU is converted into various digital signals and discriminated by the CPU itself, so only one input line is required for the CPU, and the number of switches that can be discriminated can be increased. It has the following effects.

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

【図1】請求項1の発明の一実施例を示す電子回路図で
ある。
FIG. 1 is an electronic circuit diagram showing an embodiment of the invention according to claim 1.

【図2】請求項2の発明の一実施例を示す電子回路図で
ある。
FIG. 2 is an electronic circuit diagram showing an embodiment of the invention according to claim 2.

【図3】請求項3の発明の一実施例を示す電子回路図で
ある。
FIG. 3 is an electronic circuit diagram showing an embodiment of the invention according to claim 3.

【図4】従来例を示す電子回路図である。FIG. 4 is an electronic circuit diagram showing a conventional example.

【図5】従来例を示す電子回路図である。FIG. 5 is an electronic circuit diagram showing a conventional example.

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

1            電子機器の本体2    
        CPU 3            電源 4〜7        オプションボード8     
       A/D変換器9           
 CPU 10〜13    スイッチ
1 Main body of electronic device 2
CPU 3 Power supply 4 to 7 Option board 8
A/D converter 9
CPU 10-13 switch

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  出力電圧が異なる複数のオプションボ
ードを設け、これらのオプションボードが選択的に接続
されるアナログ端子を有するCPUを電子機器の本体に
設けたことを特徴とする電子機器における状態監視装置
1. Status monitoring in an electronic device, characterized in that a plurality of option boards with different output voltages are provided, and a CPU having an analog terminal to which these option boards are selectively connected is provided in the main body of the electronic device. Device.
【請求項2】  出力電圧が異なる複数のオプションボ
ードを設け、これらのオプションボードが選択的に接続
されるA/D変換手段とこのA/D変換手段に常時接続
されたCPUとを電子機器の本体に設けたことを特徴と
する電子機器における状態監視装置。
2. A plurality of option boards with different output voltages are provided, and A/D conversion means to which these option boards are selectively connected and a CPU constantly connected to the A/D conversion means are connected to the electronic device. A condition monitoring device for an electronic device, characterized in that it is provided in the main body.
【請求項3】  各部の動作状態を示す複数のスイッチ
の入力端子をそれぞれ抵抗値が異なる抵抗を介して電源
に接続し、前記スイッチの出力端子が接続されたアナロ
グ端子を有するCPUを電子機器の本体に設けたことを
特徴とする電子機器における状態監視装置。
3. Input terminals of a plurality of switches indicating the operating status of each part are connected to a power supply through resistors having different resistance values, and a CPU having an analog terminal connected to the output terminal of the switch is connected to an electronic device. A condition monitoring device for an electronic device, characterized in that it is provided in the main body.
JP12003591A 1990-11-21 1991-05-24 State monitor apparatus in electronic machinery Pending JPH04231884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12003591A JPH04231884A (en) 1990-11-21 1991-05-24 State monitor apparatus in electronic machinery

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2-316593 1990-11-21
JP31659390 1990-11-21
JP12003591A JPH04231884A (en) 1990-11-21 1991-05-24 State monitor apparatus in electronic machinery

Publications (1)

Publication Number Publication Date
JPH04231884A true JPH04231884A (en) 1992-08-20

Family

ID=26457677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12003591A Pending JPH04231884A (en) 1990-11-21 1991-05-24 State monitor apparatus in electronic machinery

Country Status (1)

Country Link
JP (1) JPH04231884A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005083865A (en) * 2003-09-08 2005-03-31 Yamaha Corp Temperature-monitoring device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60222949A (en) * 1984-03-12 1985-11-07 テ−ガル・コ−ポレ−シヨン Existence sensor for module

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60222949A (en) * 1984-03-12 1985-11-07 テ−ガル・コ−ポレ−シヨン Existence sensor for module

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005083865A (en) * 2003-09-08 2005-03-31 Yamaha Corp Temperature-monitoring device
JP4576814B2 (en) * 2003-09-08 2010-11-10 ヤマハ株式会社 Temperature monitoring device

Similar Documents

Publication Publication Date Title
US5428752A (en) Processor system option module identification system
KR100280577B1 (en) Electronic controller for controlling the switching of multiple electric load resistors
US8154312B2 (en) Sensor system
JPH04231884A (en) State monitor apparatus in electronic machinery
JPH0636643A (en) Detection circuit of control switch
KR20010020306A (en) evaluation circuit for electronic signal transmitters
JPH08221683A (en) Sensor device
JP2002039875A (en) Detector
JPH03505805A (en) Switch status detection device on transmission line
JP5457152B2 (en) Inverter device
JPH1163912A (en) Steering angle detecting equipment
JPH04113367A (en) Switch input detection device
JPH11118864A (en) Self-diagnostic method for connected state of network
JPH05327555A (en) 2 line type transmitter
CN104901667A (en) Two wire technology of electronic switching device and method of operation the switch gear
SU972657A1 (en) Code to current converter
JPS63206819A (en) Key input device
JPH0325201Y2 (en)
JP2841893B2 (en) Current / pressure converter
JP2002186164A (en) Digital relay
JPH10160767A (en) Voltage drop detection circuit
JPH1051717A (en) Video printer
JPH06242849A (en) Power source abnormality detecting circuit in information transfer device
JPS6347912Y2 (en)
JPH0418003Y2 (en)