JPS58217029A - Time controller - Google Patents

Time controller

Info

Publication number
JPS58217029A
JPS58217029A JP57099205A JP9920582A JPS58217029A JP S58217029 A JPS58217029 A JP S58217029A JP 57099205 A JP57099205 A JP 57099205A JP 9920582 A JP9920582 A JP 9920582A JP S58217029 A JPS58217029 A JP S58217029A
Authority
JP
Japan
Prior art keywords
time
control device
values
clock
microcomputer
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
JP57099205A
Other languages
Japanese (ja)
Inventor
Takashi Yoshida
隆 吉田
Hiroyuki Matsuda
洋幸 松田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57099205A priority Critical patent/JPS58217029A/en
Publication of JPS58217029A publication Critical patent/JPS58217029A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4825Interrupt from clock, e.g. time of day

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To eliminate the need to reset time and a timer during reactivation, by allowing an RAM stored with a time set value and a timer circuit wherein the time is set to operate by both of a commercial power source and batteries. CONSTITUTION:While the time and a time value are set for schedule operation, an arithmetic processing part 2 sends a signal to an output part 8 once the time of the timer circuit 11 coincides with the time set value to turn on or off the relay of a starting and stopping circuit 13, starting or stopping an external device 14. In this case, the RAM4 and timer circuit 11 can operate by the batteries, so they can be put in operation by the batteries after the commercial power source 15 is turned off. Consequently, the timer and time value are set easily through the RAM4, a key switch 10, and a display 121 and even when the commercial power source 15 is turned off and then on, it is not necessary to reset the timer and time value.

Description

【発明の詳細な説明】 本発明は、設定時刻に外部装置を起動停止させるための
装置のタイム制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a time control device for a device for starting and stopping an external device at set times.

従来、マイクロコンピュータ装置によって外部装置をス
ケジュール運転する場合、そのスケジュール運転の計時
は時計の計数をソフトで処理している。そのため、この
マイクロコンピュータ装置に接続した商用電源を切断し
た後は、時刻および外部装置の起動停止時刻(タイム値
〕の再設定が必要であり、連続して使用できない。また
、無停電化対策のために、全回路のバッテリー支援回路
が接続されている。しかし、この回路では消費電力が太
きいため、コスト高であった。また、タイム設定値の設
定に、各桁ごとにディジタルスイッチが使用されるが、
大形になると共に、コスト高となる。
Conventionally, when an external device is operated on a schedule using a microcomputer device, the timing of the scheduled operation is processed by software. Therefore, after disconnecting the commercial power supply connected to this microcomputer device, it is necessary to reset the time and start/stop time (time value) of the external device, and it cannot be used continuously. Therefore, all circuits are connected to a battery support circuit.However, this circuit consumes a large amount of power and is therefore expensive.In addition, a digital switch is used for each digit to set the time setting value. However,
As the size increases, the cost also increases.

本発明の目的は、商用電源切断後、再起動した場合に時
刻およびタイム値を再設定する必要がない安価なタイム
制御装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an inexpensive time control device that does not require resetting the time and time value when the device is restarted after cutting off the commercial power supply.

本発明は上述の目的を達成するために、スケジュール運
転制御するマイクロコンピュータ装置において、マイク
ロコンピュータ装置の入力部に、時刻を計数する時計回
路、数値を入力するキースイッチを接続し、出力部に時
刻およびタイム設定値を表示する表示器および外部装置
を起動停止する起動停止回路を接続し、タイム設定値を
記憶するマイクロコンピュータ記憶部内のRAMおよび
時刻が設定される時計回路を、商用電源および電池の両
方で動作可能にこれらに接続したことを特徴とするタイ
ム制御装置にある。
In order to achieve the above-mentioned object, the present invention provides a microcomputer device for controlling scheduled operation, in which a clock circuit for counting time and a key switch for inputting numerical values are connected to the input section of the microcomputer device, and a timer circuit for inputting numerical values is connected to the input section of the microcomputer device. A display that displays the time set value and a start/stop circuit that starts and stops external devices are connected, and the RAM in the microcomputer storage unit that stores the time set value and the clock circuit where the time is set are connected to the commercial power supply and battery. There is a time control device characterized in that it is operably connected to both.

以下本発明の笑施例を図面を参照して説明する。Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図面は本発明の装置の一例を備えたマイクロコンピュー
タ装置を示すもので、図において、マイクロコンピュー
タ1は、演算処理部(CPU)2、記憶部となるROM
3.R,AM4.入力部5.入出力部6.高出力7.8
およびデータバス9で構成されている。キースイッチ1
0は入力部5に接続している。時刻を計数する時計回路
11は入出力部6に接続している。表示器12は出力部
7に接続している。起動停止回路13は出力部7に接続
されている。外部装置14は起動停止回路13に接続し
ている。商用電源15は例えば100Vを出力する。直
流安定化回路16は商用電源工5からの電圧を直流に変
換すると共に例えば5■程度の電圧Vcc’に出力する
。電源コントロール17は直流安定化回路16と電池1
8とに接続している。電源コントロール17の出力電圧
19は、RAM4と時計回路11に供給される。電源コ
ントロール17は直流安定化回路16からの電圧Vcc
 (5V )が5■ならば、直流安定化回路2の電圧V
ccを出力電圧19として出力し、また電圧Vccが4
.75 V以下ならば、電池18の電圧を出力電圧19
として出力する。また、電源コントロール17は直流安
定化回路2からの電圧Vccが4、75 V以下の場合
には、RAM4にその動作を停止する信号20i出力す
る。
The drawing shows a microcomputer device equipped with an example of the device of the present invention. In the drawing, a microcomputer 1 includes a processing unit (CPU) 2, a ROM serving as a storage unit
3. R, AM4. Input section 5. Input/output section 6. High output 7.8
and a data bus 9. key switch 1
0 is connected to the input section 5. A clock circuit 11 for counting time is connected to the input/output section 6. The display 12 is connected to the output section 7. The start/stop circuit 13 is connected to the output section 7 . The external device 14 is connected to the start/stop circuit 13 . The commercial power supply 15 outputs, for example, 100V. The DC stabilizing circuit 16 converts the voltage from the commercial power supply 5 into DC and outputs it to a voltage Vcc' of, for example, about 5.5 cm. Power supply control 17 includes DC stabilization circuit 16 and battery 1
It is connected to 8. The output voltage 19 of the power supply control 17 is supplied to the RAM 4 and the clock circuit 11. The power supply control 17 receives the voltage Vcc from the DC stabilization circuit 16.
(5V) is 5■, the voltage V of DC stabilizing circuit 2
cc is output as the output voltage 19, and the voltage Vcc is 4
.. If it is less than 75 V, the voltage of battery 18 is set to output voltage 19
Output as . Further, the power supply control 17 outputs a signal 20i to the RAM 4 to stop its operation when the voltage Vcc from the DC stabilizing circuit 2 is 4.75 V or less.

時計およびタイム設定値の設定は、分又は時間のキース
イッチ10を押すごとに時計、タイムの指定のRAM4
に+1づつ分または時間を加算する。この場合、分は6
0で0に、時間は24で0に戻るように設定されている
。表示器12は、指定されたRAM4の内容を表示する
To set the clock and time setting values, each time the minute or hour key switch 10 is pressed, the clock and time specified RAM 4 will be set.
Add 1 minute or hour to . In this case, the minutes are 6
The time is set to 0 at 0, and the time returns to 0 at 24. The display 12 displays the contents of the designated RAM 4.

時計回路11への時刻の設定は、時刻セットフラッグが
ONの場合に、入出力部6を出力にセットしてRAM4
の内容をセットする。また、時計回路11からの時刻の
読み出しは、時刻セットフラッグがOFFの時に、入出
力部6を入力にセットし読み出した時刻をRAM4にセ
ットする。
To set the time to the clock circuit 11, when the time set flag is ON, the input/output section 6 is set to output and the RAM 4 is set.
Set the contents of. Further, to read the time from the clock circuit 11, when the time set flag is OFF, the input/output unit 6 is set to input, and the read time is set in the RAM 4.

次に上述した本発明の装置の一例の動作を説明する。Next, the operation of an example of the apparatus of the present invention described above will be explained.

前述したように、スケジュール運転のために、時刻およ
びタイム値を設定した状態において、時計回路11の時
刻とタイム設定値とが一致したならば、演算処理部2は
出力部8に信号を送り、起動停止回路13のリレーON
又はOFFする。これによシ、外部装置14は起動又は
停止する。
As mentioned above, when the time and time value are set for scheduled operation, if the time of the clock circuit 11 and the time setting value match, the arithmetic processing section 2 sends a signal to the output section 8, Relay ON of start/stop circuit 13
Or turn it off. Accordingly, the external device 14 is started or stopped.

またRAM4および時計回路11は電池作動可能である
ので、商用電源15の切断後はこれらを電池作動させる
ことができる。このため、これらを動作させる消費電力
を少なくすることができる。
Further, since the RAM 4 and the clock circuit 11 can be operated with a battery, they can be operated with a battery after the commercial power source 15 is disconnected. Therefore, the power consumption for operating these devices can be reduced.

さらに、RAM4、キースイッチ10および表示器12
により、時計およびタイム値の設定を容易に行うことが
できるので、商用電源15の切断後の再起動時にも、時
計およびタイム値の再設定が必要でない。このため、外
部装置14を無停電化スケジュール運転させることがで
きる。
Furthermore, RAM 4, key switch 10 and display 12
Since the clock and time value can be easily set, there is no need to reset the clock and time value even when the commercial power supply 15 is restarted after being disconnected. Therefore, the external device 14 can be operated on an uninterrupted schedule.

また、本発明においては、時計又はタイム値の設定時に
、特定コードeRAM4に記憶させることによって、商
用電源15の切断後の再起動時に、時計又はタイム値が
すでに設定済みであることを知らせることができる。こ
れにより、再起動時に直ちに外部装置14をスケジュー
ル運転させてもよいことがわかる。
Furthermore, in the present invention, by storing a specific code in the eRAM 4 when setting the clock or time value, it is possible to notify that the clock or time value has already been set when the commercial power supply 15 is restarted after being disconnected. can. This shows that the external device 14 may be operated on a scheduled basis immediately upon restart.

また、時刻およびタイム値を設定するためのキースイッ
チ10を、分1時間、データセットの3つで構成し、分
とデータセットおよび時間とデータセットの組み合せで
同時に2つのキーが押された時に、RAM4は分又は時
間を+1加算する。
In addition, the key switch 10 for setting the time and time value is configured with three keys: minute, hour, and data set, and when two keys are pressed at the same time in combination of minute and data set and time and data set, , RAM4 adds +1 to the minute or hour.

これによシ、誤操作を防止することができる。さらに、
これらのキーを連続して一定時間押した場合には、分又
は時間の設定をRAM4において一定周期で連続加算す
るように構成すれば、キーの押す回数を減らすことがで
きる。
This makes it possible to prevent erroneous operations. moreover,
If these keys are pressed continuously for a certain period of time, the number of times the keys are pressed can be reduced by configuring the RAM 4 to continuously add the minute or hour settings at a certain period.

以上述べたように、本発明によれば、マイクロコンピュ
ータ制御によるスケジュール運転における外部装置の起
動停止のタイム値の設定に際して、電源切断後、再起動
時に時計およびタイム値の再設定が不用となると共に、
構成要素が少なく、装置のコストを安くすることができ
るものである。
As described above, according to the present invention, when setting time values for starting and stopping external devices in scheduled operation controlled by a microcomputer, it is not necessary to reset the clock and time values when restarting after power-off. ,
The number of components is small, and the cost of the device can be reduced.

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

図面は本発明の装置の一実施例を備えたコンピュータ装
置を示す構成図である。 1・・・マイクロコンピュータ、2・・・演算処理部、
3・・・ROM14・・・RAM110・・・キースイ
ッチ、11・・・時計回路、12・・・表示器、13・
・・起動停止回路、14・・・外部装置、15・・・商
用電源、17・・・電源コントロール、18・・・電池
The drawing is a configuration diagram showing a computer device equipped with an embodiment of the device of the present invention. 1... Microcomputer, 2... Arithmetic processing unit,
3... ROM14... RAM110... Key switch, 11... Clock circuit, 12... Display, 13...
... Start/stop circuit, 14... External device, 15... Commercial power supply, 17... Power supply control, 18... Battery.

Claims (1)

【特許請求の範囲】 1、スケジュール運転制御するマイクロコンピュータ装
置において、マイクロコンピュータ装置の入力部に、時
刻を計数する時計回路、数値を入力するキースイッチを
接続し、出方部に時刻およびタイム設定値を表示する表
示器および外部装置を起動停止する起動停止回路を接続
し、タイム設定値を記憶するマイクロコンピュータ記憶
部内のRAMおよび時刻が設定される時計回路を、商用
電源および電池の両方で動作可能にこれらに接続したこ
とを特徴とするタイム制御装置。 2、マイクロコンピュータ記憶部内のRAMは時計およ
びタイム値の設定時に、特定コードを記憶し、商用電源
切断後、再起動した場合に時計およびタイム値が設定済
みであることを知らせることを特徴とする特許請求の範
囲第1項記載のタイム制御装置。 3、時刻およびタイム値の設定のためのキースイッチは
、分セット、時間セットおよびデータセットの3つで行
ない、それぞれ分セットとデータセットおよび時間セッ
トとデータセットの組み合せで同時に2つのキーが押さ
れた時に、分および時間が60進又は24進で+1づつ
加算することを特徴とする特許請求の範囲第1項または
第2項記載のタイム制御装置。 4、 キースイッチは、分および時間のセットキーの組
み合せが一定時間連続して押された場合には、分および
時間の設定を一定周期で連続加算することを特徴とする
特許請求の範囲第4項記載のタイム制御装置。
[Claims] 1. In a microcomputer device that controls scheduled operation, a clock circuit for counting time and a key switch for inputting numerical values are connected to the input section of the microcomputer device, and the output section has a clock circuit for counting time and a key switch for inputting numerical values. A display that displays values and a start/stop circuit that starts and stops external devices are connected, and the RAM in the microcomputer memory that stores time settings and the clock circuit that sets the time operate on both commercial power and batteries. A time control device characterized in that it is connected to these devices. 2. The RAM in the microcomputer storage section is characterized by storing a specific code when setting the clock and time values, and notifying that the clock and time values have been set when the computer is restarted after turning off the commercial power supply. A time control device according to claim 1. 3. The key switches for setting the time and time values are minute set, hour set, and data set. Two keys are pressed at the same time for the combination of minute set and data set, and time set and data set, respectively. 3. The time control device according to claim 1, wherein the time control device adds +1 to the minutes and hours in sexagesimal or 24-decimal notation when the time is changed. 4. The key switch is characterized in that when the combination of minute and hour setting keys is pressed continuously for a certain period of time, the minute and hour settings are continuously added at a certain period. Time control device as described in section.
JP57099205A 1982-06-11 1982-06-11 Time controller Pending JPS58217029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57099205A JPS58217029A (en) 1982-06-11 1982-06-11 Time controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57099205A JPS58217029A (en) 1982-06-11 1982-06-11 Time controller

Publications (1)

Publication Number Publication Date
JPS58217029A true JPS58217029A (en) 1983-12-16

Family

ID=14241142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57099205A Pending JPS58217029A (en) 1982-06-11 1982-06-11 Time controller

Country Status (1)

Country Link
JP (1) JPS58217029A (en)

Similar Documents

Publication Publication Date Title
US5203848A (en) Television game console and electronic control device for controlling the allowable playing time of the television game console
JPH0556577A (en) Power supply controller
JPS6349814B2 (en)
EP0376510B1 (en) Automotive audio system
JPH05256958A (en) Electronic clock
US3818457A (en) Data processing unit having a digital readout indicator
JPS58217029A (en) Time controller
JP2006153669A (en) Electronic apparatus and its control method
JPH0459645B2 (en)
JPS61285521A (en) Computer device of low power consumption
JPS59140572A (en) Electronic apparatus
JP2001141859A (en) Timer device
JP2529707B2 (en) Blackout detection method
JPS60132220A (en) Microcomputer
JPH044276Y2 (en)
JPS5851632B2 (en) Computer wristwatch
JPS6333806B2 (en)
JPH07107553B2 (en) Electronic clock
JPH0519902A (en) Power source control circuit
JPH10143292A (en) Portable information equipment
JPH0519904A (en) Power source control circuit
JP2509531Y2 (en) Microcomputer power supply circuit
JPH0311413A (en) Power supply disconnecting mechanism
JPH0519883A (en) Electronic equipment
JPH08286787A (en) Power controller for information processor