JPH0334007A - Power supply monitor device - Google Patents
Power supply monitor deviceInfo
- Publication number
- JPH0334007A JPH0334007A JP1168683A JP16868389A JPH0334007A JP H0334007 A JPH0334007 A JP H0334007A JP 1168683 A JP1168683 A JP 1168683A JP 16868389 A JP16868389 A JP 16868389A JP H0334007 A JPH0334007 A JP H0334007A
- Authority
- JP
- Japan
- Prior art keywords
- input
- power supply
- status
- line
- output 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.)
- Pending
Links
Landscapes
- Power Sources (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は、入出力制御装置に接続された入出力装置の電
源のオン/オフ状態を監視する電源監視装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a power supply monitoring device that monitors the power on/off state of an input/output device connected to an input/output control device.
(従来の技術)
従来より、入出力制御装置とこれに接続された入出力装
置とがそれぞれ別電源を有するシステムにおいては、入
出力制御装置側の電源がオン状態のときに入出力装置側
をその使用状態に応じ電源のオン/オフを許可する場合
がある。(Prior Art) Conventionally, in a system in which an input/output control device and an input/output device connected to the same have separate power supplies, when the input/output control device side is powered on, the input/output device side is turned on. Depending on the usage status, turning on/off the power may be permitted.
中でも特に、入出力装置側の電源がオフ−オンに状態が
変化したとき、入出力制御装置側はこれらの状態を把握
して、入出力装置側の例えばマイクロコンピュータ(以
下、マイコンという)に対し、リセットまたは初期設定
等を実行する必要がある。In particular, when the power supply on the input/output device side changes from off to on, the input/output control device grasps these conditions and sends a message to the input/output device, such as a microcomputer (hereinafter referred to as a microcomputer). , it is necessary to perform a reset or initial settings.
つまり、入出力制御装置と入出力装置とは、データライ
ン等の信号線で常に接続されているため、入出力制御装
置側の電源がオン状態であって、入出力装置側の電源が
オフ状態であっても特別の考慮がはられれない限り、入
出力装置側電源ラインには一定の信号電圧が印加され続
けることになる。In other words, the input/output control device and the input/output device are always connected via signal lines such as data lines, so the power to the input/output control device is on and the power to the input/output device is off. Even so, unless special consideration is taken, a constant signal voltage will continue to be applied to the power supply line on the input/output device side.
また電源断に先立つ信号の送出にあたっては、入出力装
置側電源内にこれと分離された補助電源を設け、これに
より入出力装置側電源のオン/オフ状態を専用ラインを
介して人出力制御装置側に通知していた。In addition, in order to send out signals prior to power-off, a separate auxiliary power supply is provided within the input/output device side power supply, and this allows the on/off status of the input/output device side power to be transmitted to the human output control device via a dedicated line. The side was notified.
しかし、このようなシステムでは、人出力制御装置と入
出力装置間に専用の電源監視ラインが必要となるため、
コスト削減の妨げとなる。However, such a system requires a dedicated power monitoring line between the human output control device and the input/output device.
This hinders cost reduction.
(発明が解決しようとする課題)
このように、上述した従来のシステムでは、電源監視ラ
インが必要となるため、コスト削減の妨げととなってい
た。(Problems to be Solved by the Invention) As described above, the conventional system described above requires a power supply monitoring line, which hinders cost reduction.
本発明は、このような事情に対処して威されたもので、
システムのコスト削減を図ることができる電源監視装置
を提供することを目的とする。The present invention was developed in response to these circumstances.
An object of the present invention is to provide a power supply monitoring device that can reduce system costs.
[発明の構成]
(課題を解決するための手段)
本発明の電源監視装置は、上記の目的を達成するために
、入出力装置側のステータス情報を入出力制御装置側へ
転送するステータスラインと、このステータスラインの
一部を入出力装置側の電源のオン/オフ状態を示すライ
ンとして定義し、ステータス信号を発生するステータス
信号発生手入出力制御装置側でステータスラインを介し
て転送されたステータス信号をリードすることにより入
出力装置側の電源のオン/オフ状態を判別する判別手段
とを具備するものである。[Structure of the Invention] (Means for Solving the Problem) In order to achieve the above object, the power supply monitoring device of the present invention includes a status line that transfers status information on the input/output device side to the input/output control device side. , a part of this status line is defined as a line that indicates the on/off status of the power supply on the input/output device side, and the status signal is generated manually.The status is transferred via the status line on the input/output control device side. The apparatus is provided with a determination means for determining the on/off state of the power supply on the input/output device side by reading a signal.
(作 用)
本発明の電源監視装置では、入出力装置側のステータス
信号発生手段がその入出力装置側の電源のオン/オフ状
態の定義づけされたステータス信号を発生すると、入出
力制御装置側の判別手段がステータスラインを介して転
送されたステータス信号をリードすることにより入出力
装置側の電源のオン/オフ状態を判別することができる
。(Function) In the power supply monitoring device of the present invention, when the status signal generation means on the input/output device side generates a status signal that defines the on/off state of the power supply on the input/output device side, the input/output control device side By reading the status signal transferred via the status line, the determining means can determine the on/off state of the power supply on the input/output device side.
(実施例)
以下、本発明の実施例の詳細を図面に基づいて説明する
。(Example) Hereinafter, details of an example of the present invention will be described based on the drawings.
第1図は、本発明の電源監視装置の一実施例を示すもの
である。FIG. 1 shows an embodiment of the power supply monitoring device of the present invention.
同図に示すように、電源監視装置は、電源1を有する入
出力制御装置2に内蔵されたファームウェア3、電源4
を有する入出力装置5に内蔵されたマイコン6、ファー
ムウェア3とマイコン6とを接続するステータスライン
7およびリセットライン8を備えて構成されている。As shown in the figure, the power monitoring device includes firmware 3 built into an input/output control device 2 having a power source 1, and a power source 4.
The microcomputer 6 is built into an input/output device 5 having a status line 7 and a reset line 8 that connect the firmware 3 and the microcomputer 6.
ファームウェア3は、計算機の機能や命令を実現するた
めのマイクロプログラムである。The firmware 3 is a microprogram for realizing computer functions and instructions.
マイコン6は、入出力装置5の電源4のオン/オフ状態
の定義づけされたステータス信号を発生する。The microcomputer 6 generates a status signal that defines the on/off state of the power supply 4 of the input/output device 5.
ステータスライン7は、マイコン6が発生したステータ
ス信号をファームウェア3に転送するための例えば8本
の信号線である。The status lines 7 are, for example, eight signal lines for transferring status signals generated by the microcomputer 6 to the firmware 3.
リセットライン8は、入出力装置5のマイコン6をリセ
ットまたは初期化設定するための信号を転送する信号線
である。The reset line 8 is a signal line that transfers a signal for resetting or initializing the microcomputer 6 of the input/output device 5.
第2図は、マイコン6が発生するステータス信号のビッ
トの定義を示すものである。FIG. 2 shows the definition of the bits of the status signal generated by the microcomputer 6.
同図において、(a)は入出力制御装置2および入出力
装置5の電源1および4がオン状態である場合を示すも
ので、87. SB−1,0と定義されている。また(
b)は、入出力制御装置2の電源1がオン状態で入出力
装置5の電[4がオフ状態である場合を示すもので、3
7. SB−1,lと定義されている。さらに、(C)
は入出力制御装置2の電源1がオン状態で入出力装置5
の電源4がオフ状態である場合を示すもので、87.
SB−0,0と定義されている。In the figure, (a) shows the case where the power supplies 1 and 4 of the input/output control device 2 and the input/output device 5 are in the on state, and 87. It is defined as SB-1,0. Also(
b) shows a case where the power supply 1 of the input/output control device 2 is on and the power [4] of the input/output device 5 is off;
7. It is defined as SB-1,l. Furthermore, (C)
When the power supply 1 of the input/output control device 2 is on, the input/output device 5
This shows the case where the power supply 4 of 87. is in the off state.
It is defined as SB-0,0.
なお、(b)または(c)は、人出力制御装置2と入出
力袋ra5との接続形態で決定されるものであり、また
(a)〜(e)においてXは入出力装置5の固有のステ
ータスを示すものである。Note that (b) or (c) is determined by the connection form between the human output control device 2 and the input/output bag RA5, and in (a) to (e), This indicates the status of the
次に、このような構成の電源監視装置の動作を第3図を
用いて説明する。Next, the operation of the power monitoring device having such a configuration will be explained using FIG. 3.
まず、入出力装置5のマイコン6が発生したステータス
信号をリードするために、リードしたステータスをST
Iとする(ステップ301)。First, in order to read the status signal generated by the microcomputer 6 of the input/output device 5, the read status is sent to ST.
I (step 301).
この後、一定時間ウェイトするために、入出力装置5の
電源4のオン/オフ時間よりそのウェイト時間を長めに
設定する(ステップ302)。Thereafter, in order to wait for a certain period of time, the wait time is set to be longer than the on/off time of the power supply 4 of the input/output device 5 (step 302).
つまり、入出力袋fi!5の電源4の立上がりまたは立
下がり時間より長めに設定する。In other words, input/output bag fi! Set it to be longer than the rise or fall time of power supply 4 in step 5.
リードしたステータスをSr1とする(ステップ303
)。Set the read status to Sr1 (step 303
).
次いで、ステップ304において、STlとSr1の(
37,8(i)を比較する。Next, in step 304, STl and Sr1 (
Compare 37, 8(i).
そしてSTI≠ST2である場合には、ラインaに戻っ
て再び(ステップ301)〜(ステップ303)の動作
を繰返す。これにより、入出力装置5の電源4のオン/
オフ時におけるステータス信号の不安定事象が取除かれ
る。If STI≠ST2, the process returns to line a and repeats the operations from (step 301) to (step 303). This turns on/off the power supply 4 of the input/output device 5.
The instability of the status signal when off is removed.
これに対し、5TI−8T2である場合には、ステップ
305において、入出力装置5の電源4のオン/オフ状
態を判断する。On the other hand, if it is 5TI-8T2, the on/off state of the power supply 4 of the input/output device 5 is determined in step 305.
つまり、S7.8B#l、 Oである場合には入出力
装置5の電11iij4がオフ状態であると判別され、
S7゜8B−1,0である場合には入出力装置5の電F
L4がオン状態であると判別される。In other words, if S7.8B#l, O, it is determined that the power supply 11iij4 of the input/output device 5 is in the off state,
If S7゜8B-1,0, the power F of the input/output device 5
It is determined that L4 is in the on state.
このように、本実施例では、マイコン6からのら定義づ
けされたステータス信号をファームウェア3によってリ
ードするようにしたので、入出力装置5の電源4のオン
/オフ状態を容易に監視することができ、これにより従
来のシステムで必要とされていた専用の電源監視ライン
が不要となる。In this way, in this embodiment, since the defined status signal from the microcomputer 6 is read by the firmware 3, the on/off state of the power supply 4 of the input/output device 5 can be easily monitored. This eliminates the need for a dedicated power supply monitoring line, which is required in conventional systems.
[発明の効果]
以上説明したように、本発明の電源監視装置によれば、
従来のシステムで必要とされていた専用の電源監視ライ
ンが不要となるので、システムのコスト削減を図ること
ができる。[Effects of the Invention] As explained above, according to the power supply monitoring device of the present invention,
Since the dedicated power supply monitoring line required in conventional systems is no longer required, system costs can be reduced.
第1図は本発明の電源監視装置の一実施例を示すブロッ
ク図、第2図は第1図の電源監視装置のマイコンが発生
するステータス信号のビットの定義を示す図、第3図は
第1図の電源監視装置の動作を示すフローチャートであ
る。
2・・・入出力制御装置、3・・・ファームウェア、5
・・・入出力装置、6・・・マイコン、7・・・ステー
タスライン、8・・・リセットライン。FIG. 1 is a block diagram showing one embodiment of the power supply monitoring device of the present invention, FIG. 2 is a diagram showing the definition of bits of a status signal generated by the microcomputer of the power supply monitoring device of FIG. 1, and FIG. 2 is a flowchart showing the operation of the power supply monitoring device shown in FIG. 1; 2... Input/output control device, 3... Firmware, 5
...Input/output device, 6...Microcomputer, 7...Status line, 8...Reset line.
Claims (1)
側へ転送するステータスラインと、 このステータスラインの一部を入出力装置側の電源のオ
ン/オフ状態を示すラインとして定義し、ステータス信
号を発生するステータス信号発生手前記入出力制御装置
側で前記ステータスラインを介して転送されたステータ
ス信号をリードすることにより前記入出力装置側の電源
のオン/オフ状態を判別する判別手段と を具備することを特徴とする電源監視装置。(1) A status line that transfers status information on the input/output device side to the input/output control device side; A part of this status line is defined as a line that indicates the on/off status of the power supply on the input/output device side, and a status signal is defined. generating a status signal; and determining means for determining the on/off state of the power supply on the input/output device side by reading the status signal transferred via the status line on the input/output control device side. A power supply monitoring device characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1168683A JPH0334007A (en) | 1989-06-30 | 1989-06-30 | Power supply monitor device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1168683A JPH0334007A (en) | 1989-06-30 | 1989-06-30 | Power supply monitor device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0334007A true JPH0334007A (en) | 1991-02-14 |
Family
ID=15872539
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1168683A Pending JPH0334007A (en) | 1989-06-30 | 1989-06-30 | Power supply monitor device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0334007A (en) |
-
1989
- 1989-06-30 JP JP1168683A patent/JPH0334007A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW469365B (en) | Clock control type information processing apparatus | |
| KR101640584B1 (en) | A method for controlling power supply utilizing the PIC | |
| CN1493138B (en) | communication device | |
| JP2004227586A (en) | Method for initiating power supply to computer system from usb keyboard | |
| JPH0334007A (en) | Power supply monitor device | |
| JP3288114B2 (en) | Microcomputer | |
| CN112840278B (en) | Programmable logic controller, external device, method, and program | |
| JPH05204497A (en) | Peripheral device remote-controlled on/off of power source | |
| JP2001154925A (en) | External storage device | |
| JP3966132B2 (en) | Image processing apparatus and control method thereof | |
| JP2001100867A (en) | Equipment with energy saving function | |
| JPS5827219A (en) | Feeding device | |
| JPS6130304B2 (en) | ||
| JPH10333785A (en) | Printer power source control system | |
| JP3099746U (en) | Digital data transfer device | |
| JPH06119467A (en) | Microcomputer | |
| JPH09305520A (en) | Peripheral device status determination method | |
| JP3308311B2 (en) | Telephone device selection signal transmission circuit and telephone device including the same | |
| JPH05257725A (en) | CPU unit error transmission device | |
| JPS6190221A (en) | power supply | |
| JPH0543223U (en) | Latch-up prevention circuit in power-down mode | |
| JPH02304610A (en) | Detecting device for turn-on and turn-off of power source of peripheral equipment | |
| KR970029040A (en) | Computer system capable of recovering work by key signal input and its control method | |
| JPH03286355A (en) | Microcomputer | |
| JPH01283159A (en) | Control device for image recording apparatus |