JPS62170879A - Timer device - Google Patents

Timer device

Info

Publication number
JPS62170879A
JPS62170879A JP1286286A JP1286286A JPS62170879A JP S62170879 A JPS62170879 A JP S62170879A JP 1286286 A JP1286286 A JP 1286286A JP 1286286 A JP1286286 A JP 1286286A JP S62170879 A JPS62170879 A JP S62170879A
Authority
JP
Japan
Prior art keywords
reservation
switch
timer
time
processing
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.)
Granted
Application number
JP1286286A
Other languages
Japanese (ja)
Other versions
JPH067177B2 (en
Inventor
Takashi Sasaki
佐々木 敬司
Toshio Kuroki
黒木 敏夫
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.)
SANKUTEELE KK
Kyushu Hitachi Maxell Ltd
Maxell Ltd
Original Assignee
SANKUTEELE KK
Kyushu Hitachi Maxell Ltd
Hitachi Maxell 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 SANKUTEELE KK, Kyushu Hitachi Maxell Ltd, Hitachi Maxell Ltd filed Critical SANKUTEELE KK
Priority to JP61012862A priority Critical patent/JPH067177B2/en
Publication of JPS62170879A publication Critical patent/JPS62170879A/en
Publication of JPH067177B2 publication Critical patent/JPH067177B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PURPOSE:To execute an alarm processing whose number of times of repetition has been made different in accordance with a degree of importance, by executing an acceptance and an execution of a reservation which has been repeated. CONSTITUTION:When a reservation setting operation is executed to a reservation setting means, each reserved time is compared, for instance, with a reference time at every minimum set unit time of the reserved time, and when it is detected that both of them have coincided, a processing request of a reserved data whose coincidence has been detected is stored in a storage means. These comparison and storage operations are executed at every unit time interval to all reserved data, and as a result, in case plural timer reservations of the same contents have been executed, plural processing requests are reserved simultaneously in the storage means. When the data is stored in the storage means, an executing means fetches successively its data, and executes the processing by generating a prescribed sound in accordance with the contents of the request.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、設定時刻と基準時刻とを比較し、両者が一
致すると予め設定しておいたデータ処理を行うタイマー
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a timer device that compares a set time with a reference time, and when the two match, performs preset data processing.

[従来の技術] 従来この種タイマー装置は、処理すべき内容および時刻
を1組のデータとし、該データを予め1又は複数組記憶
させておき、時間の経過に従って順次実行させて行くも
のが一般的である。更にかかる構成から、同一または接
近した時刻に実行される同一または類似した処理内容は
1つに限られ、従って、同一のデータ予約が行われると
誤操作として操作自体が受は付けられないか、たとえ受
は付けられたとしても実質上実行されることはなかった
・ [発明が解決しようとする問題点] しかしながら、意識的であれ無意識にであれ同一内容の
予約を重複して行うのは、かがる事項が操作者にとって
は極めて重要な内容であり、この様な処理要求を単に誤
操作として無視してしまうのは問題といえる。
[Prior Art] Conventionally, this type of timer device generally stores one or more sets of data, including the content and time to be processed, in advance, and sequentially executes the data as time passes. It is true. Furthermore, because of this configuration, the number of identical or similar processes to be executed at the same or close times is limited to one, and therefore, if the same data reservation is made, the operation itself will not be accepted as an erroneous operation, or the operation itself will not be accepted. Even if it was accepted, it was never actually implemented. [Problems that the invention aims to solve] However, it is difficult to make multiple reservations for the same content, whether consciously or unconsciously. The matters that occur are extremely important to the operator, and it is problematic to simply ignore such processing requests as erroneous operations.

[問題点を解決するための手段] 本発明は、上記問題に着目してなされたものであって、
重複予約および処理を可能とすることにより、処理内容
の軽重に対応したアラーム表示が行えるタイマー装置を
提供することを目的とする。
[Means for Solving the Problems] The present invention has been made focusing on the above problems, and includes:
It is an object of the present invention to provide a timer device capable of displaying an alarm corresponding to the weight of processing contents by enabling duplicate reservations and processing.

本発明は第1図に示す如く、同一または異なる時刻にお
ける複数のデータ処理要求を記憶可能な予約設定手段と
、該予約設定手段に記憶された全デー7分の予約時刻と
現在時刻を表示する基準時刻とを設定単位時間毎に間欠
的に比較する手段と、比較手段で予約時刻と基準時刻と
の一致が検出されると、一致が検出された処理要求を順
次取り出して実行する手段とから構成される。
As shown in FIG. 1, the present invention includes a reservation setting means capable of storing a plurality of data processing requests at the same or different times, and displaying the reservation time and current time for all days stored in the reservation setting means for 7 minutes. means for intermittently comparing the reservation time with a reference time every set unit time; and means for sequentially extracting and executing processing requests for which a match is detected when the comparison means detects a match between the reserved time and the reference time. configured.

[作用] 上記構成において、予約設定手段に対し予約設定動作を
行うと、各予約時刻は、例えば予約時刻の最小設定単位
時間毎に基準時刻と比較され、両者が一致したことが検
知されると、一致が検出された予約データの処理要求が
記憶手段に記憶される。かかる比較および記憶動作は、
全ての予約データに対して単位時間間隔毎に行われ、そ
の結果、同一内容のタイマー予約が複数なされている場
合には、記憶手段には同時に複数組の処理要求が保留さ
れる。記憶手段にデータの記憶がなされると、実行手段
は該データを順次取り出し、要求の内容に従って所定の
音響を発するなどして実行処理するのである。
[Operation] In the above configuration, when a reservation setting operation is performed on the reservation setting means, each reservation time is compared with the reference time for each minimum set unit time of the reservation time, and if it is detected that the two match. , a processing request for the reservation data for which a match has been detected is stored in the storage means. Such comparison and storage operations are
This is performed for all reservation data at every unit time interval, and as a result, if multiple timer reservations with the same content are made, multiple sets of processing requests are held in the storage means at the same time. When data is stored in the storage means, the execution means sequentially retrieves the data and executes it by emitting a predetermined sound according to the content of the request.

[実施例] 第2図ないし第5図は、設定時刻になると所定の音響を
発する人形形状のタイマー装W11に本発明を実施した
一例を示すがこれに限らず、予約時刻になると電源をオ
ンするなど、各種表示動作をするタイマー装置にも略同
様に実施できることは勿論である。
[Example] Figures 2 to 5 show an example in which the present invention is implemented in a doll-shaped timer device W11 that emits a predetermined sound at a set time, but the invention is not limited thereto. Of course, the present invention can also be implemented in substantially the same way for a timer device that performs various display operations such as.

本発明にかかるタイマー装置1は、第2図に示す如く、
タイマーユニット2と該ユニット2を内部に収納保持す
るキャラクタ−人形3とから構成される。
The timer device 1 according to the present invention, as shown in FIG.
It is composed of a timer unit 2 and a character doll 3 that houses and holds the unit 2 inside.

キャラクタ−人形3は、人間の子供あるいは動物等のキ
ャラクタ−を立体的に表現したものであって、全体また
は少なくともその正面中央に突出する「へそ」等の突起
部5を合成樹脂材等の軟質部材で形成する。また、人形
3の下部で突起部5の裏側位置にタイマーユニット2が
嵌まる大きさの収納部6を形成するとともに、人形3の
下面側には、収納部6へ通じる開ロアを設けている。更
に上記突起部5には、タイマーユニット2の前面8側か
ら突出する操作スイッチ13の先端9が緊密に嵌まる嵌
合穴5aが形成されており、タイマーユニット2を人形
3の収納部6内に挿入したのち、操作スイッチ先端9を
嵌合穴5aに嵌入することにより、タイマーユニット2
を人形3内に確実に保持するとともに、人形3の前面側
からのスイッチ操作を可能としている。
The character doll 3 is a three-dimensional representation of a character such as a human child or an animal, and a protrusion 5 such as a belly button protruding from the whole or at least from the center of the front is made of a soft material such as a synthetic resin material. Formed from members. Further, a storage section 6 large enough to fit the timer unit 2 is formed at the back side of the protrusion 5 at the bottom of the doll 3, and an open lower opening leading to the storage section 6 is provided on the underside of the doll 3. . Further, the protrusion 5 is formed with a fitting hole 5a into which the tip 9 of the operation switch 13 protruding from the front side 8 of the timer unit 2 is tightly fitted. After inserting the operation switch tip 9 into the fitting hole 5a, the timer unit 2
is held securely within the doll 3, and the switch can be operated from the front side of the doll 3.

タイマーユニット2は第3図に示す如く、上ケース10
と下ケース11を蓋合わせ状に結合して偏平な中空筒状
の本体ケース12を構成し、該本体ケース12の内部に
、後記する操作スイッチ13、スピーカー14および回
路基板15を含む電気回路を配設する。更に、下ケース
11の下面16側に電池収納部17とタイマー設定部1
8とを凹設し、人形3内にタイマーユニット2を収納し
た際、開ロアを通じて電池20の入れ換え或は設定スイ
ッチ34の操作を可能としている。
The timer unit 2 is attached to the upper case 10 as shown in FIG.
and a lower case 11 are combined together to form a flat hollow cylindrical body case 12, and an electric circuit including an operation switch 13, a speaker 14, and a circuit board 15, which will be described later, is installed inside the body case 12. Arrange. Furthermore, a battery storage section 17 and a timer setting section 1 are provided on the lower surface 16 side of the lower case 11.
8 is recessed so that when the timer unit 2 is housed in the doll 3, the battery 20 can be replaced or the setting switch 34 can be operated through the open lower door.

電池収納部17は、例えば単3型乾電池20が4本並列
して収納できる大きさであって、その開口21は電池蓋
22で開閉自在に覆われている。
The battery storage section 17 has a size that can accommodate, for example, four AA size dry batteries 20 in parallel, and its opening 21 is covered with a battery cover 22 so as to be openable and closable.

電池蓋22は、電池収納部17の開口21と略一致する
矩形薄板状であり、その基端側面からは両側に向けて回
動軸23・23を突設する一方、電池収納部17と隣接
するタイマー設定部18の両側にスライド溝24・24
を凹設し、該スライド′a24に回動軸23を摺動およ
び回動自在に枢支する。更に電池1122の先端縁には
、係止爪25を中央にして両側に指掛突部26・26を
形成する一方、電池蓋22の閉止時における下ケース1
1例の対応位置には、指掛突部26により半分が覆われ
る略半球状の指掛s27と、係止爪25が係脱自在に嵌
まる係上溝28とを形成している。
The battery cover 22 has a rectangular thin plate shape that substantially coincides with the opening 21 of the battery storage section 17, and has rotating shafts 23, 23 protruding from the base end side surface toward both sides, and is adjacent to the battery storage section 17. Slide grooves 24, 24 on both sides of the timer setting section 18
A rotary shaft 23 is slidably and rotatably supported on the slide 'a24. Further, on the leading edge of the battery 1122, finger hook protrusions 26 are formed on both sides with the locking pawl 25 in the center, while the lower case 1 when the battery cover 22 is closed.
In one example, a corresponding position is formed with a substantially hemispherical finger hook s27 whose half is covered by the finger hook protrusion 26, and a locking groove 28 into which the locking pawl 25 is removably fitted.

閉止状態の電池122は、指掛溝27に指を差し入れ、
スライド溝24の長さだけタイマー設定部18の方向に
摺動移行させて係止爪25と係止溝28間の係合状態を
解いたのち、指掛突部26を持ち上げることにより開放
される。
When the battery 122 is in a closed state, insert your finger into the finger hook groove 27,
After sliding the length of the slide groove 24 in the direction of the timer setting part 18 to release the engagement between the locking pawl 25 and the locking groove 28, the finger hook protrusion 26 is lifted to release it. .

タイマー設定部18は、電池収納部17に隣接して凹溝
29を形成するとともに、該凹溝29内に、電池蓋22
のスライド方向と直交して4つの貫通孔30を形成して
いる。一方、回路基板15上の対向位置にブツシュスイ
ッチ31を取り付け、該スイッチ31の抑圧部32にキ
ャップ状のスイッチボタン33の基端33aを嵌め、更
に該スイッチボタン33の先端33bを前記貫通孔30
がら突出さゼて4組の設定スイッチ34を構成しており
、スイッチボタン33を介して間接的に回路基板15上
のスイッチ31をオンする様にしている。更に、前記電
池蓋22の表面上で各貫通孔30の対応位置に、各設定
スイッチ34の操作内容35を記載することにより、電
気回路の動作をプログラムで制御した場合における設定
機能の追加あるいは変更等に即応できる様にしている。
The timer setting section 18 forms a groove 29 adjacent to the battery storage section 17 and a battery lid 22 in the groove 29.
Four through-holes 30 are formed perpendicularly to the sliding direction. On the other hand, a bush switch 31 is mounted on the opposite position on the circuit board 15, a base end 33a of a cap-shaped switch button 33 is fitted into the suppressing part 32 of the switch 31, and a tip 33b of the switch button 33 is inserted into the through hole. 30
Four sets of setting switches 34 are protruded from each other, and the switches 31 on the circuit board 15 are turned on indirectly via the switch buttons 33. Furthermore, by writing the operation contents 35 of each setting switch 34 on the surface of the battery cover 22 at a position corresponding to each through hole 30, it is possible to add or change setting functions when the operation of the electric circuit is controlled by a program. We are able to respond immediately to such matters.

操作スイッチ13は、略角筒状の、押圧棒36の先端に
鍔部37を、基端側に揺動板38を各々備え、上下ケー
ス10・11間に形成された案内溝39に押圧棒36を
挿通する一方、揺動板38に対しヒンジ部41を介して
略り字形状に接続された取付部40を上ケース10に固
定することによリ、ヒンジ部41を支点として揺動板3
8を補助板42に向は揺動させる。補助板42は、揺動
板38と略平行に上ケース10上に固定配備されるもの
であって、・対向する突起43・43間にばね体44を
介装することにより揺動板38を本体ケース12の外方
に向は常時付勢している。又、揺動板38から補助板4
2に向けて押圧軸45を突設するとともに、補助板42
の対応位置に押圧軸45が通る案内孔46を設ける一方
、回路基板15上には案内孔46の前面に接近させてブ
ツシュスイッチ31を配設する。上記構成の操作スイッ
チ13は、タイマーユニット2が人形3内に収納された
際にその先端の鍔部37が抜けどめとして働く、また、
「へそ」部分5をばね体44に抗して押圧すると押圧軸
45が前進するするが、該押圧軸45の移行方向は補助
板42の案内孔46で補正されて的確にブツシュスイッ
チ・31の押圧部32ををオン可能としている。
The operation switch 13 is provided with a flange 37 at the tip of a substantially rectangular cylindrical pressing rod 36 and a rocking plate 38 at the base end, and the pressing rod is inserted into a guide groove 39 formed between the upper and lower cases 10 and 11. 36, and by fixing the mounting part 40 connected to the swing plate 38 in an abbreviated shape via the hinge part 41 to the upper case 10, the swing plate can be mounted with the hinge part 41 as a fulcrum. 3
8 toward the auxiliary plate 42. The auxiliary plate 42 is fixedly arranged on the upper case 10 substantially parallel to the swing plate 38, and the swing plate 38 is fixed by interposing a spring body 44 between the opposing protrusions 43, 43. The outward direction of the main body case 12 is always biased. Also, from the swing plate 38 to the auxiliary plate 4
A pressing shaft 45 is provided protruding toward 2, and an auxiliary plate 42
A guide hole 46 through which the pressing shaft 45 passes is provided at a corresponding position, and a bushing switch 31 is provided on the circuit board 15 close to the front surface of the guide hole 46. In the operation switch 13 having the above configuration, the flange 37 at the tip functions as a retainer when the timer unit 2 is housed in the doll 3.
When the "belly button" portion 5 is pressed against the spring body 44, the pressing shaft 45 moves forward, but the direction of movement of the pressing shaft 45 is corrected by the guide hole 46 of the auxiliary plate 42, so that the button switch 31 It is possible to turn on the pressing part 32 of.

第4図は、タイマーユニット2に使用する電気回路の概
略を示すブロック図であって、制御の中心としてプログ
ラムにより作動する中央処理装置(CPU)を使用する
とともに、該中央処理装置50とRAM51、ROM5
2等の記憶波jif53および入出力装置54間を各種
バス55を介して接続することにより制御部56を構成
する。更に入出力装置54には、音声発生装置57、メ
ロディ発生装置58を含む表示部60、あるいは制御部
56に対する操作者の直接的なアクセスを可能とするス
イッチ部61を接続することにより、各種の予約設定あ
るいは予約時刻における表示部60による音響発生等の
各種タイマー動作を可能とする。
FIG. 4 is a block diagram schematically showing an electric circuit used in the timer unit 2, in which a central processing unit (CPU) operated by a program is used as the center of control, and the central processing unit 50, RAM 51, ROM5
A control unit 56 is configured by connecting the second or other storage wave jif 53 and the input/output device 54 via various buses 55. Furthermore, the input/output device 54 can be connected to a display section 60 including the voice generating device 57 and the melody generating device 58, or a switch section 61 that allows the operator to directly access the control section 56. Various timer operations such as setting a reservation or generating sound on the display unit 60 at the reservation time are possible.

第5図は、更に具体的な電気回路の一例を示す。FIG. 5 shows an example of a more specific electric circuit.

中央処理装置として作動する4ピツ)CPU50、作業
エリアとして働<RAM51、実行プログラムを予め記
憶したROM52および外部回路とのデータの受は渡し
を行う入出力装置54を1チツプに集積したマイクロプ
ロセッサ(例えばμPD75073C)が制御部56と
して使用され、電池収納部17への電池20のセットと
同時に微分回路63からりセット端子RESETにυセ
ット信号が入力されると、ROM52内のプログラムを
予め定められた手順に従って実行してデータ処理を行う
とともに、入出力装f54に設けられた各ボートPlI
9〜Ps3を介してスイッチ部61、音声発生装置57
およびメロディ発生装置58間でデータの受は渡しを行
う。
A microprocessor (4-bit microprocessor) integrated into one chip includes a CPU 50 (which acts as a central processing unit), a RAM 51 (which acts as a work area), a ROM 52 (which stores execution programs in advance), and an input/output device (which receives and transfers data to and from external circuits). For example, μPD75073C) is used as the control unit 56, and when a υ set signal is input to the set terminal RESET from the differentiator circuit 63 at the same time as the battery 20 is set in the battery storage section 17, the program in the ROM 52 is set in advance. In addition to executing data processing according to the procedure, each boat PlI provided in the input/output device f54
9 to Ps3 to the switch unit 61 and the audio generator 57
Data is received and passed between the melody generating device 58 and the melody generating device 58.

スイッチ部61は上記の如く、タイマーユニット2を収
納する本体ケース12の前面8側から操作される1つの
操作スイッチ13、および本体ケース12の下面16側
から操作される4つの設定スイッチ34から構成される
。各スイッチ13・34は全て常開のオンオフスイッチ
31が使用され、1端を互いに並列接続して電源部64
に繋ぐとともに、他端を抵抗65で接地して制御部56
の入力ポートに個別に接続することにより、各スイッチ
13・34のオン時に「H」信号を制御部56に印加し
てスイッチの操作状況を知らせる。
As described above, the switch section 61 is composed of one operation switch 13 that is operated from the front surface 8 side of the main body case 12 that houses the timer unit 2, and four setting switches 34 that are operated from the lower surface 16 side of the main body case 12. be done. For each switch 13 and 34, a normally open on/off switch 31 is used, and one end is connected in parallel to the power supply section 64.
and connect the other end to the control unit 56 by connecting it to the resistor 65 and grounding the other end.
When each switch 13, 34 is turned on, an "H" signal is applied to the control unit 56 to notify the operating status of the switch.

音声発生装置57は、例えばPARCOR方式の音声合
成用ICであるLC8100が使用され一1〇− る。5TART端子に制御部56からスタート信号が入
力されるのと連動して、言葉選択端子CiI〜C4に対
して制御部56から印加される4桁の2短信号で特定さ
れる、「おはよう」 「おやすみ」等の一連の言葉が出
力端子DAから出力される。
As the voice generating device 57, for example, an LC8100, which is a PARCOR type voice synthesis IC, is used. In conjunction with the input of the start signal from the control section 56 to the 5TART terminal, "Good morning,"" A series of words such as "Good night" are output from the output terminal DA.

メロディ発生装置58には、SVM7973等の所謂メ
ロディICが使用される。制御部56からメロディ選択
端子MSI〜MS3に向け3桁の2短信号が印加される
と、該2短信号の値で特定されるメロディが、スタート
端子MTへのスタート信号の印加と連繋して出力され、
STP端子へのストップ信号の印加で強制停止可能とし
ている。
The melody generator 58 uses a so-called melody IC such as SVM7973. When a 3-digit 2-short signal is applied from the control unit 56 to the melody selection terminals MSI to MS3, the melody specified by the value of the 2-short signal is linked to the application of the start signal to the start terminal MT. is output,
It is possible to force a stop by applying a stop signal to the STP terminal.

上記の音声発生装置57およびメロディ発生装置58か
らの出力信号は、増幅装置59に入力されて所定の大き
さに増幅されたのち、上ケース10に取り付けられたス
ピーカー14で発音される。
The output signals from the voice generating device 57 and the melody generating device 58 are input to the amplifier 59 and amplified to a predetermined magnitude, and then are sounded by the speaker 14 attached to the upper case 10.

なお増幅装置59の電源端子Vccは、制御部56から
の制御でオンオフ可能なスイッチング用トランジスタ6
6を備えた切換部62およびジャック67へのプラグの
抜き差しと連動してオンオフする切換スイッチ69を介
して電源部64に繋がれており、通常は音声発生装置5
7あるいはメロディ発生装置58が作動状態となる期間
のみ切換部62のトランジスタ66がオンして増幅装置
59における余分な電力の消費を防止するが、ジャック
67にプラグが差し込まれて、増幅装置590入力側と
テレビジョン等の音声出力端子間が接続された場合には
、制御部56の動作とは関係なく強制的に増幅装置59
をオンし、通常の増幅器としても作動する様にしている
。なお、増幅装置59のオンオフ動作により制御部56
に対する印加電圧が変動するのを防止するため、電源部
64には大容量の平滑用コンデンサ70と分離用のダイ
オード71とを接続している。
Note that the power supply terminal Vcc of the amplifier device 59 is connected to a switching transistor 6 that can be turned on and off under control from the control section 56.
It is connected to the power supply section 64 through a switching section 62 equipped with a power source 6 and a changeover switch 69 that turns on and off in conjunction with the insertion and removal of the plug into and from the jack 67.
7 or only during the period when the melody generator 58 is in operation, the transistor 66 of the switching unit 62 is turned on to prevent excess power consumption in the amplifier 59, but when the plug is inserted into the jack 67, the amplifier 590 input When the side and the audio output terminal of a television etc. are connected, the amplifier 59 is forcibly turned on regardless of the operation of the control unit 56.
is turned on so that it also operates as a normal amplifier. Note that the control unit 56 is controlled by the on/off operation of the amplifier device 59.
In order to prevent the applied voltage from fluctuating, a large-capacity smoothing capacitor 70 and a separation diode 71 are connected to the power supply section 64.

第6図および第7図は、制御部56のROM52内に格
納されたプログラムによる電気回路全体の制御の流れを
示す。
6 and 7 show the flow of control of the entire electric circuit by the program stored in the ROM 52 of the control unit 56. FIG.

第6(a)図は全体的な制御の流れの概略を示すもので
あって、プログラムをスタートさせる(ステップ80)
と、RAM51内のワークエリアあるいはスタックエリ
ア等の初期化が行われたあと、スイッチ部61からの入
力の受は付けが可能な待機状態になる(ステップ83)
。かがるスタンバイ状態で予約時刻に達する(ステップ
84)と、予め設定した予約内容によるアラーム処理A
を行い、またタイマーユニット2の下面16側に配備し
たタイマー設定部18に設けた言葉選択、ウィークリー
予約、ディリー予約、予約取り消しの各設定スイッチ3
4あるいはキャラクタ−人形3の前面に突出した操作ス
イッチ13がオンされたことが判断されると、各々のス
イッチ操作(ステップ84〜89)に対応したデータ処
理(B−E)が行われたあと、ステップ83のスタンバ
イ状態に戻る。
FIG. 6(a) schematically shows the overall control flow, starting the program (step 80).
After the work area or stack area in the RAM 51 is initialized, the system enters a standby state in which it is possible to receive input from the switch section 61 (step 83).
. When the reserved time is reached in the standby state (step 84), alarm processing A is performed according to the preset reservation details.
In addition, each setting switch 3 for word selection, weekly reservation, daily reservation, and reservation cancellation provided on the timer setting section 18 provided on the bottom surface 16 of the timer unit 2
4 or when it is determined that the operation switch 13 protruding from the front of the character doll 3 has been turned on, data processing (B-E) corresponding to each switch operation (steps 84 to 89) is performed. , returns to the standby state in step 83.

第6図(b)は、上記スイッチ操作の有無、各種カウン
タの更新、予約時刻の検査等を行う割り込みサブルーチ
ンの流れを示す。かがる割り込み処理は、割り込み禁止
状態の場合を除き、本実施例においては0.25秒の単
位時間毎に強制的に当該割り込み処理が行われる。
FIG. 6(b) shows the flow of an interrupt subroutine that checks whether or not the switch has been operated, updates various counters, and checks reserved times. In this embodiment, the interrupt processing is forcibly performed every 0.25 seconds, except when the interrupt is disabled.

サブルーチンに入る(ステップ101)と、ステップ1
02で分カウンタの値を1だけ減算したあと、ステップ
103でカウンタの値が0になったか否かの判定がなさ
れる。本実施例では、第6図<a>における初期設定時
(ステップ81)およびステップ104で分カウンタに
予め239の値をセットするとともに、0.25秒おき
に割り込み処理を行ってセット値を1ずつ減算しくステ
ップ102)ており、ステップ103の判断がNOであ
ればそのままステップ111に進むが、YESであれば
前回のカウント時から1分経過したことが判断されるの
で、次のステップ105で現在時刻を1分進めたあと、
ステップ106〜110で当該時刻におけるアラーム要
求の有無が判断される。
When entering the subroutine (step 101), step 1
After the value of the minute counter is decremented by 1 in step 02, it is determined in step 103 whether or not the value of the counter has become 0. In this embodiment, a value of 239 is set in advance in the minute counter at the time of initial setting (step 81) and step 104 in FIG. If the determination in step 103 is NO, the process directly proceeds to step 111, but if YES, it is determined that one minute has passed since the previous count, so in the next step 105. After advancing the current time by 1 minute,
In steps 106 to 110, it is determined whether there is an alarm request at the relevant time.

すなわち、基準時刻と予約時刻とを基準時刻が1分経過
する毎に比較しくステップ107)、両者が一致したこ
とがステップ108で判断されると、予約内容を記憶し
た予約エリアの先頭アドレスがアラームエリアにセット
される(ステップ109)、本実施例では、アラームエ
リアへのアラーム要求のセットは3組まで許され、同一
時刻における異なったアラーム要求、あるいは同一時刻
ではないがアラーム処理中にタイムアツプした要求を含
めた3組分の予約を制御部56内に常時留保することが
可能となり、従って、ステップ106の判断でアラーム
エリアが一杯になり、それ以上の留保ができないかステ
ップ110で全ての予約時刻を検査し終えると、次のス
テップ111に移る。
That is, the reference time and the reservation time are compared every minute after the reference time (step 107), and if it is determined in step 108 that the two match, the start address of the reservation area where the reservation details are stored is set as an alarm. In this embodiment, up to three sets of alarm requests are allowed to be set in the alarm area (step 109). It is possible to reserve three sets of reservations including requests at all times in the control unit 56. Therefore, if it is determined in step 106 that the alarm area is full, all reservations are checked in step 110 to see if it is possible to reserve any more reservations. After checking the time, the process moves to the next step 111.

ステップ111ないしステップ115は、プログラム中
で設定使用される各種タイマーカウンタの処理ステップ
であって、ステップ111において、タイマーフラグが
セットされていることにより20秒又は3分タイマーが
作動中と判断されれば、当該タイマーカウンタの値を1
だけ減算する(ステップ112)。次にステップ113
の判断で、タイマーカウンタの値が0になりカウントア
ツプしたことが判定されれば、当該タイマーフラグをク
リアして初期状態に戻しくステップ114)、次に2秒
又は5秒タイマーのカウント値をマイナス1しくステッ
プ115)て、タイマー処理を終える。
Steps 111 to 115 are processing steps for various timer counters that are set and used in the program, and in step 111, it is determined that the 20 second or 3 minute timer is operating because the timer flag is set. For example, set the value of the timer counter to 1.
(step 112). Next step 113
If it is determined that the value of the timer counter has become 0 and has counted up, the timer flag is cleared and returned to the initial state (step 114), and then the count value of the 2-second or 5-second timer is reset. Step 115) becomes minus one, and the timer processing ends.

ステップ116ないしステップ118は、スイッチ操作
状況の検査処理にかかるステップである。
Steps 116 to 118 are steps for inspecting switch operation status.

即ち、ステッ′ブ116でスイッチ13・34の読み込
み及びチェックが行われ、ステップ117でスイッチが
オフ状態からオン状態に変化したことが判断された時の
みスイッチフラグをセット(ステップ118)して、サ
ブルーチンから抜ける(ステップ119)、従って、当
該サブルーチンによる割り込み処理レートである0、2
5秒おきにスイッチのオンオフ状態をサンプリングする
形となり、同一のスイッチを押し続けたりスイッチのチ
ャタリングがあっても1回のスイッチ操作と制御部は判
断し、誤動作を防止する。
That is, the switches 13 and 34 are read and checked in step 116, and only when it is determined in step 117 that the switch has changed from the off state to the on state, the switch flag is set (step 118). Exit from the subroutine (step 119), therefore, the interrupt processing rate by the subroutine is 0, 2.
The on/off state of the switch is sampled every 5 seconds, and even if the same switch is pressed continuously or there is chattering, the control unit determines that it is a single switch operation and prevents malfunctions.

第7図(a)は、第6図(b)における割り込みサブル
ーチン時において予約時刻と現在時刻とが一致すること
により、アラームエリアにアラーム要求データがセット
された場合におけるアラーム処理Aの流れを示す、処理
をスタートする(ステップ140)と、ステップ141
で2秒または5秒タイマーが既に作動中と判断された場
合は該タイマーがタイムアツプするまで待つことにより
、前段の処理との間に一定間隔を設けたあと、スイッチ
エリアをクリアしくステップ142)でスイッチ部61
からの入力を受は付は可能とし、更に言葉選択およびア
ラーム終了フラグをクリアする(ステップ143)とと
もに、増幅装置59の電源をオンしくステップ144)
てアラーム処理の準備を終え、以下のステップ145〜
167で示すアラーム表示すイクルに移る。
FIG. 7(a) shows the flow of alarm processing A when alarm request data is set in the alarm area due to the reservation time and current time matching during the interrupt subroutine in FIG. 6(b). , starts processing (step 140), and step 141
If it is determined that the 2-second or 5-second timer is already running, the process waits until the timer times up to clear the switch area after a certain interval from the previous process. Switch section 61
It is possible to accept input from the computer, clear the word selection and alarm end flags (step 143), and turn on the power to the amplifier 59 (step 144).
After completing the preparation for alarm processing, proceed to the following steps 145 to 145.
The process moves to the alarm display cycle indicated by 167.

ステップ145において、まず表示すべきアラーム内容
に対応してアラームの繰り返し回数をセットする0本実
施例においては、ステップ146で軽快な短時間のチャ
イム音を、ステップ151において報知内容に対応した
一連の言葉から成る音声を、更にステップ159で周知
の曲をアレンジした所定時間持続するメロディを各々順
次発音させるとともに、各発音間のステップ147・1
52・163で2秒タイマーを作動させることにより2
秒の時間間隔を設けたものを1回の表示すイクルとする
。そして、選択された言葉が「おはよう」の目覚しコー
ルおよび「おやすみなさい」のおやすみコールについて
は、上記サイクルを3回繰り返し、°それ以外の言葉が
選択された場合には、1回だけ表示すイクルを実行した
あと、ステップ165の判断でかがるアラーム表示すイ
クルから抜けてステップ168に移る様にしている。
In step 145, the number of alarm repetitions is first set in accordance with the content of the alarm to be displayed. In step 159, a melody arranged from a well-known song that lasts for a predetermined period of time is sequentially pronounced in each voice consisting of words, and in step 147.1 between each pronunciation.
2 by activating the 2 second timer at 52.163.
A time interval of seconds is set as one display cycle. Then, for wake-up calls with the selected words "Good morning" and sleep calls with "Good night," the above cycle is repeated three times, and if other words are selected, a cycle is displayed only once. After execution, the judgment in step 165 is made to exit from the alarm display cycle and proceed to step 168.

また予約された言葉のコード番号が1または2の「おは
よう」 「おやすみなさい」であるとステップ155で
判断されれば、ステップ158で言葉に対応したメロデ
ィを選択するが、その他の言葉の場合には、ステップ1
56および157でメロディカウンタの値を順次シフト
させていって、曲目を1回のアラーム処理毎に変更する
様にしている。
Also, if it is determined in step 155 that the code number of the reserved word is 1 or 2, ``good morning'' or ``good night'', the melody corresponding to the word is selected in step 158, but in the case of other words, , step 1
The value of the melody counter is sequentially shifted in steps 56 and 157, so that the number of songs is changed every time alarm processing is performed.

更に、各発音間の2秒の無音時(ステップ149・15
4・167)およびメロディ発音時(ステップ161)
に限り、キャラクタ−人形3の前面に突出した操作スイ
ッチ13の抑圧による信号入力を受は付け、アラーム表
示すイクルの途中であっても当該サイクルから抜けてス
テップ168に移り、たとえメロディを発音途中であっ
ても、ステップ168ないしステップ172でメロディ
発生装置58に印加されていた5TART信号を止める
と同時に5TOP信号を送り、表示途中のメロディを強
制的に停止可能とする。
Furthermore, the 2 seconds of silence between each pronunciation (steps 149 and 15)
4.167) and when the melody is sounded (step 161)
In this case, the signal input by suppressing the operation switch 13 protruding from the front of the character/puppet 3 is accepted, and even if the cycle is in the middle of displaying an alarm, the cycle is exited and the process moves to step 168. Even so, the 5TART signal applied to the melody generating device 58 is stopped in steps 168 to 172, and the 5TOP signal is sent at the same time, so that the melody being displayed can be forcibly stopped.

上記の如くして表示すイクルを終了すると、まず5秒タ
イマーをスタートしくステップ173)、スイッチエリ
アをクリアしくステップ174)でスイッチ入力を受は
付は可能とし、更にステップ175で上記アラーム表示
すイクルで実行した予約内容の先頭番地を退避させると
ともに、ステップ176でアラーム要求データ数を−1
したあとステップ177でアラームエリアに要求データ
が残っているか否かの判断がなされる。かかる判断がY
ESであれば、現時点で処理を必要とするアラームは全
て処理し終えたことが判るので、増幅装置59を停止し
くステップ178)、アラーム終了フラグをセットしく
ステップ179)、更に3分タイマーのスタート(ステ
ップ180)およびスイッチエリアのクリア(ステップ
181)により、予約の取り消しを受は付は可能として
アラーム処理Bを終了する(ステップ182)。
When the display cycle is completed as described above, first the 5-second timer is started (Step 173), the switch area is cleared (Step 174) to enable reception of switch input, and then the above-mentioned alarm is displayed in Step 175. The first address of the reservation contents executed in the cycle is saved, and the number of alarm request data is decreased by -1 in step 176.
After that, in step 177, it is determined whether the requested data remains in the alarm area. Such a judgment is
If it is ES, it can be seen that all the alarms that require processing at this point have been processed, so the amplifier 59 is stopped (step 178), the alarm end flag is set (step 179), and a 3-minute timer is started. (Step 180) and clearing the switch area (Step 181), the cancellation of the reservation can be accepted and the alarm processing B is ended (Step 182).

ステップ177の判定が逆にNoであれば、同一時刻に
対して複数の予約がなされているが、アラーム処理中に
タイムアツプした予約が他に存在することが判るので、
ステップ183でアラーム要求データを1段シフトして
次のデータを取り出す0本実施例では、取り出されたデ
ータをすぐに処理することなく、ステップ173でスタ
ートした5秒タイマーがステップ189でタイムアツプ
するまで取消スイッチの入力を受は付け(ステップ18
4)、取消スイッチがオンされると、ステップ175で
退避された実行済みアラームの予約をクリアしくステッ
プ185)で予約を取り消したあと、処理成功イメージ
のメロディを出力しくステップ186)、更にスイッチ
エリアをクリア(ステップ187)するとともに、2秒
タイマーをスタートしくステップ188)てステップ1
86のメロディ出力から2秒の時間間隔を強制的に設け
る。ステップ189の判断で、2秒または5秒タイマー
がタイムアツプしたことが判定されると、ステップ19
0でスイッチエリアをクリアしたあと、再度ステップ1
45に戻って次のアラームに対するアラーム表示すイク
ルを実行するのである。
If the determination in step 177 is No, it is known that multiple reservations have been made for the same time, but there are other reservations that have timed up during alarm processing.
In step 183, the alarm request data is shifted one step and the next data is retrieved. In this embodiment, the retrieved data is not processed immediately until the 5 second timer started in step 173 times out in step 189. Accept the input of the cancel switch (step 18)
4) When the cancel switch is turned on, the reservation of the executed alarm saved in step 175 is cleared, and after the reservation is canceled in step 185), the melody of the processing success image is outputted in step 186), and the switch area (Step 187) and start the 2 second timer (Step 188).
A time interval of 2 seconds is forcibly provided from the melody output of 86. If it is determined in step 189 that the 2 second or 5 second timer has timed up, step 19
After clearing the switch area with 0, go to step 1 again.
The process returns to step 45 and executes an alarm display cycle for the next alarm.

第7図(b)は、第6図(a)における言葉選択処理B
の流れを示し、処理がスタートする(ステップ191)
と、ステップ192でトランジスタスイッチ66に制御
部56からオン信号を送って増幅装置59を作動させた
あと、ステップ193で20秒タイマーがカウント中に
言葉選択スイッチがオンされたか否かの判断がなされる
。かかる判定がYESであれば、既に20秒以内に言葉
選択スイッチがオンされて当該言葉選択処理Cが行われ
ており、次の言葉の表示を要求していると判断されるの
で、言葉選択コードの番号を1進め(ステップ194)
たあと、20秒タイマーとフラグをセットしくステップ
195)て予約、取り消し等の他の処理命令を受は付は
可能な状態にするとともに、音声発生装置57に対して
言葉出力要求を発して(ステップ196)、言葉選択コ
ード番号で特定される言葉を出力させる。そのあと、増
幅装置59の動作を停止しくステップ197)、更にス
イッチエリアをクリア(ステップ198)して次のスイ
ッチ押圧動作を受は付は可能とする(ステップ199)
FIG. 7(b) shows the word selection process B in FIG. 6(a).
The process starts (step 191).
Then, in step 192, the controller 56 sends an on signal to the transistor switch 66 to activate the amplifier 59, and then, in step 193, it is determined whether or not the word selection switch was turned on while the 20 second timer was counting. Ru. If this determination is YES, it is determined that the word selection switch has already been turned on within 20 seconds and the word selection process C has been performed, and the display of the next word is requested, so the word selection code is Advance the number by 1 (step 194)
After that, a 20-second timer and flag are set (step 195) to enable receiving and receiving other processing commands such as reservation and cancellation, and a request to output words is issued to the voice generator 57 (step 195). Step 196) outputs the word specified by the word selection code number. After that, the operation of the amplifier device 59 is stopped (step 197), and the switch area is cleared (step 198), so that the next switch pressing operation can be accepted (step 199).
.

第7図(C)は、第6図(a)における予約処理Cの流
れを示す、予約処理がスタートする(ステップ200)
と、まず最初にステップ201で20秒タイマーがカウ
ント中か否かの判断がなされる。
FIG. 7(C) shows the flow of the reservation process C in FIG. 6(a). The reservation process starts (step 200).
First, in step 201, it is determined whether the 20 second timer is counting.

かかる判定がNoであれば、直ちにスイッチエリアをク
リア(ステップ208)して予約処理を行わずに終了す
る。しかしステップ201の判定がYESであれば、言
葉選択スイッチを押して前記した言葉選択処理Bを行う
ことにより自発的に次に処理すべき言葉を選んだものと
判断して、以下の予約処理に移る。
If this determination is No, the switch area is immediately cleared (step 208) and the process ends without performing the reservation process. However, if the determination in step 201 is YES, it is determined that the word to be processed next has been spontaneously selected by pressing the word selection switch and performing the word selection process B described above, and the process proceeds to the following reservation process. .

まずステップ202でカウント中の20秒タイマーおよ
びフラグをリセットしたあと、増幅装置59を作動しく
ステップ203)、更に予約エリアのチェックを行う(
ステップ204)、ステップ205の判断において予約
エリアに空がないと判断されると、既に規定以上の予約
がなされておりそれ以上の予約が出来ないので、不成功
イメージのメロディをメロディ発生装置58から出力さ
せ(ステップ206)たあと、増幅装置59を停止しく
ステップ207)で当該処理を終了する。
First, in step 202, the 20-second timer and flag are reset, the amplifier 59 is activated (step 203), and the reserved area is checked (
Step 204) If it is determined in step 205 that there is no vacancy in the reservation area, the number of reservations exceeding the specified number has already been made and no more reservations can be made, so a melody with an image of failure is generated from the melody generator 58. After outputting (step 206), the amplifying device 59 is stopped and the process ends in step 207).

一方、ステップ205の判定がYESであれば、ステッ
プ210とステップ212との間で割り込みを禁止して
おいて現在時刻と連番号とを取り込んだ(ステップ21
1)あと、かかる時刻と連番号を予約エリアにセットす
る(ステップ213)。
On the other hand, if the determination in step 205 is YES, interrupts are prohibited between step 210 and step 212, and the current time and serial number are imported (step 21
1) Then, set the time and serial number in the reserved area (step 213).

なお現在時刻と連番号は、日本標準時に対応するもので
あってもよいが、本実施例にあっては、電池20をセッ
トした時を基準とし、それから各日をO〜1439まで
の分単位で表して現在時刻とするとともに、前記基準時
から1週間の各日を1から7までの連番号に対応させる
ことにより、曜日を特定表示している。
The current time and serial number may correspond to Japan Standard Time, but in this embodiment, the reference is the time when the battery 20 is set, and each day is expressed in minutes from 0 to 1439. The current time is expressed as , and the day of the week is specifically displayed by associating each day of the week from the reference time with a serial number from 1 to 7.

次にステップ214において、予約処理に先立って選ば
れた言葉が、「はじまるよ」の様なr開始1を表す特別
な言葉か否かの判断がなされる。
Next, in step 214, it is determined whether the word selected prior to the reservation process is a special word representing r start 1, such as "Hajimaruyo".

かかる判断がNoであればそのまま次のステップ216
に進むが、YESであれば、ステップ215で予約エリ
アにセットされた予約時刻を強制的に5分間遡らせてセ
ットし直すことにより、タイマーが作動するアラーム処
理時に、テレビジョンの番組等が実際に開始するより5
分前に知らせることが可能となり、番組録画等の準備が
十分できる様にしている0次にステップ216で、予約
内容がモーニングコールの様な毎日行わせる予約内容か
否か、すなわち第6図(a)のステップ86でウィーク
リースイッチがオンされたか、ステップ87でディリー
スイッチがオンされたかをスイッチエリアの内容から判
断し、判定がYESであれば、ステップ213でセット
された連番号を0にして毎日予約であることを表示する
(ステップ217)、更にステップ218で、第7図(
b)に示す言葉選択処理時に表示された言葉に対応する
コード番号を予約エリアにセットして1組分の予約を終
了したあと、メロディ発生装置58に成功イメージのメ
ロディの出力要求を出しくステップ219)で、予約が
正常に行われたことを操作者に知らせる。
If the determination is No, proceed directly to the next step 216.
If the answer is YES, the reservation time set in the reservation area in step 215 is forcibly set back by 5 minutes, so that when the timer is activated and the alarm is processed, the television program, etc. is actually displayed. Starting at 5
This makes it possible to notify the user several minutes in advance so that preparations for program recording, etc. can be made sufficiently.Next, in step 216, it is determined whether the reservation content is a daily reservation content such as a wake-up call (see FIG. 6). It is determined from the contents of the switch area whether the weekly switch was turned on in step 86 or the daily switch was turned on in step 87 of a), and if the determination is YES, the serial number set in step 213 is set to 0. It displays that it is a daily reservation (step 217), and further, in step 218, the screen shown in FIG. 7 (
After setting the code number corresponding to the word displayed during the word selection processing shown in b) in the reservation area and completing the reservation for one group, the step of issuing a request to the melody generator 58 to output a melody with a success image. 219), the operator is informed that the reservation has been successfully made.

その後、増幅装置59への通電を停止しくステップ22
0)、スイッチエリアをクリアして(ステップ221)
一連の予約処理を終了する(ステップ222)のである
Thereafter, in step 22, the power supply to the amplifier device 59 is stopped.
0), clear the switch area (step 221)
The series of reservation processing ends (step 222).

第7図(d)は、第6図(a)における取消処理りの流
れを示すものであって、当該処理を開始する(ステップ
230)と、まず増幅装置59に駆動電圧を印加して作
動させ(ステップ231)、更にステップ232で3分
タイマーが力〜ント中か否かの判断がなされる。3分タ
イマーは、前記したアラーム処理Aの終了時にセットさ
れるものであって、かかる判定がYESであると、アラ
ーム処理Aの終了から3分以内であることが判る。そこ
でかかる場合には、ステップ233に移って3分タイマ
ーと当該フラグをリセットした(ステップ233)あと
、第7図(a)のステップ175で退避させておいたア
ラーム処理時の実行アドレスを取り入れ(ステップ23
4)、更に実行アドレスに対応する予約エリアをクリア
・しくステップ235)て、アラーム処理を終えた予約
内容を消去する。
FIG. 7(d) shows the flow of the cancellation process in FIG. 6(a), and when the process is started (step 230), a driving voltage is first applied to the amplifier device 59 and it is activated. Then, in step 232, it is determined whether the 3-minute timer is in operation. The 3-minute timer is set at the end of the alarm processing A described above, and if the determination is YES, it can be seen that three minutes have passed since the end of the alarm processing A. In such a case, proceed to step 233, reset the 3-minute timer and the relevant flag (step 233), and then import the execution address for alarm processing saved in step 175 of FIG. 7(a) (step 233). Step 23
4) Further, the reservation area corresponding to the execution address is cleared (step 235) to erase the reservation contents for which the alarm processing has been completed.

一方ステジブ232の判定がNoであり、′取消スイッ
チがアラーム処理とは無関係に押された場合には、更に
ステップ236で20秒タイマーがカウント中が否かの
判断がなされる。20秒タイマーは、第9図(b)のス
テップ195で言葉選択処理時に所定の言葉を選んだ場
合にのみセットされるものであり、ステップ236の判
定がNoであれば誤操作であるとして、増幅装置59を
停止して終了する(ステップ239)が、判定がYES
であれば積極的に取り消し処理を希望しているものと判
断できるので、以下のステップ240に移って取り消し
動作を行う。
On the other hand, if the determination in step 232 is No and the 'cancel switch is pressed regardless of alarm processing, it is further determined in step 236 whether or not the 20 second timer is counting. The 20 second timer is set only when a predetermined word is selected during the word selection process in step 195 of FIG. The device 59 is stopped and the process ends (step 239), but if the determination is YES
If so, it can be determined that the user actively desires the cancellation process, so the process moves to the following step 240 and the cancellation operation is performed.

まずステップ240で、20秒タイマーとフラグをリセ
ットして初期状態に戻したあと、処理が成功したか否か
を判別表示するためのOKフラグをリセットする(ステ
ップ241)、次にステップ242で、予約エリア中の
先頭アドレスを七ツトし、取消処理に先立つ言葉選択処
理時に選んだ言葉と一致するか否かの判断がステップ2
43でなされる。かかる判断がNoであれば、ステップ
246に移って次の予約エリアのアドレスをセットし、
ステップ247で予約エリア全体をチェックし終えるま
でステップ243の判定を続けるが、ステップ243の
判定がYESであれば、該当の予約エリアをクリアしく
ステップ244) 、OKフラグをセットしくステップ
245)て取消処理を順次行うことにより、同一のM葉
で予約された内容を全て消去する。
First, in step 240, the 20-second timer and flag are reset to the initial state, and then an OK flag for determining and displaying whether or not the process was successful is reset (step 241).Next, in step 242, Step 2 is to search the first address in the reserved area and determine whether it matches the word selected during the word selection process prior to the cancellation process.
Done at 43. If the determination is No, the process moves to step 246 and sets the address of the next reserved area.
The determination in step 243 is continued until the entire reservation area has been checked in step 247, but if the determination in step 243 is YES, the corresponding reservation area is cleared in step 244), the OK flag is set in step 245), and the process is cancelled. By sequentially performing the processing, all reserved contents in the same M leaf are erased.

次にステップ248で、OKフラグが1か否かの判断が
なされ、判定がYESであればステップ244で少なく
とも1つの予約取り消しが実行されたことが判るので、
ステップ250で成功イメージのメロディをメロディ発
生装置58から出力させ、逆にNoであれば、該当の予
約が見つからず予約取り消しは全然行われなかったと判
断されるので、不成功のイメージのメロディの出力をメ
ロディ発生装置に要求する(ステップ249)。
Next, in step 248, it is determined whether the OK flag is 1 or not, and if the determination is YES, it is determined that at least one reservation cancellation has been executed in step 244.
In step 250, a melody with an image of success is output from the melody generator 58, and if the answer is No, it is determined that the corresponding reservation was not found and the reservation was not canceled at all, so a melody with an image of failure is output. is requested from the melody generator (step 249).

しかる後、次の表示動作との間に時間間隔を設けるため
に2秒タイマーを始動しくステップ251)、増幅装置
59を停止しくステップ252)、スイッチエリアをク
リアしくステップ253)で、取消処理りを終了する(
ステップ254)。
Thereafter, a two-second timer is started in step 251) to provide a time interval between the next display operation, the amplifier 59 is stopped in step 252), and the switch area is cleared in step 253) to perform the cancellation process. Exit (
Step 254).

第7図(e)は、第6図(a)におけるお遊び処理Eの
流れを示すものであって、アラーム処理時の特定期間に
タイマーユニット2の操作スイッチ13が押された場合
を除いて当該処理を開始し、メロディあるいは言葉を操
作スイッチ13の押圧動作と連繋してランダムに出力可
能とする。すなわち、処理がスタートする(ステップ2
60)と、増幅装置59を始動しくステップ261)た
あと現在時刻を取り入れる(ステップ262)。ここで
データテーブルには、予め出力させるべきメロディおよ
び言葉の別あるいは表示内容を特定するコード番号等の
データをランダムにセットしておくとともに、ステップ
262で得た現在時刻の数値を利用してステップ263
でデータテーブル中のアドレスを算出し、該アドレスか
らデータテーブル内のデータを取り出す(ステップ26
4)。ステップ265の判断で、取り出されたデータが
言葉であれば音声発生装g57に出力要求を出しくステ
ップ266)、メロディであればメロディ発生装置58
に出力要求を出した(ステップ267)あと、増幅装置
59への通電を停止しくステップ268)、スイッチエ
リアをクリアして(ステップ269)処理を終了する(
ステップ270)。
FIG. 7(e) shows the flow of the play process E in FIG. 6(a), excluding the case where the operation switch 13 of the timer unit 2 is pressed during a specific period during alarm processing. The process is started, and a melody or words can be output randomly in conjunction with the pressing operation of the operation switch 13. That is, the process starts (step 2
60), and after starting the amplifier 59 (step 261), the current time is taken in (step 262). Here, in the data table, data such as the melody and words to be output or code numbers that specify the display contents are randomly set in advance, and the step is performed using the current time value obtained in step 262. 263
The address in the data table is calculated in step 26, and the data in the data table is extracted from the address.
4). In step 265, if the extracted data is a word, an output request is issued to the voice generator g57 (step 266); if it is a melody, an output request is issued to the melody generator 58.
After issuing an output request to (step 267), the power supply to the amplifier device 59 is stopped (step 268), the switch area is cleared (step 269), and the process ends (
step 270).

上記音響の発生は、操作スイッチ13を押す毎に連続し
て行われ、しかも表示内容は、予約しておいた複数種類
の言葉あるいはメロディ群の中からランダムに選択され
るため、意外性に富んだ言葉またはメロディの組み合わ
せによる音響表示が行われるのである。
The above-mentioned sound is generated continuously every time the operation switch 13 is pressed, and the displayed content is randomly selected from a group of reserved words or melodies, so it is full of surprises. The acoustic display is a combination of words or melodies.

〔発明の効果〕〔Effect of the invention〕

本発明は上記の如く、重複した予約の受は付は及び実行
を可能としたので、重要度に応じて繰り返し回数を異な
らせたアラーム処理を行える利点を有する。
As described above, the present invention makes it possible to accept and execute duplicate reservations, so it has the advantage of being able to perform alarm processing with different repetition times depending on the degree of importance.

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

第1図は本発明の概略を示すブロック図である。 第2図および第3図は本発明を実施したタイマー装置の
一例を示し、第2図は全体的な組み立て状態を示す斜視
図、第3図はタイマーユニットの組み立て状態を示す分
解斜視図である。 第4図および第5図は電気回路の一例を示し、第4図は
全体の概略を示すブロック図、第5図は第4図の具体的
な電気回路図である。 第6図および第7図は電気回路の制御の手順を説明する
流れ図であって、第6図(a)および(b)は全体的な
流れを、第7図(a)ないしくe)は個別の機能の流れ
を示す。 2・・・・タイマーユニット、 13・・・操作スイッチ、 34・・・設定スイッチ、 56・・・制御部、 57・・・音声発生装置、 58・・・メロディ発生装置、 59・・・増幅装置。
FIG. 1 is a block diagram showing an outline of the present invention. 2 and 3 show an example of a timer device embodying the present invention, FIG. 2 is a perspective view showing the overall assembled state, and FIG. 3 is an exploded perspective view showing the assembled state of the timer unit. . 4 and 5 show an example of an electric circuit, FIG. 4 is a block diagram showing the overall outline, and FIG. 5 is a specific electric circuit diagram of FIG. 4. FIGS. 6 and 7 are flowcharts explaining the procedure for controlling the electric circuit, with FIGS. 6(a) and (b) showing the overall flow, and FIGS. 7(a) to 7(e) showing the overall flow. Shows the flow of individual functions. 2... Timer unit, 13... Operation switch, 34... Setting switch, 56... Control unit, 57... Sound generator, 58... Melody generator, 59... Amplification Device.

Claims (1)

【特許請求の範囲】[Claims] (1)同一または異なる時刻における複数のデータ処理
要求を記憶可能な予約設定手段と、 全予約データの予約時刻と基準時刻とを、設定単位時間
毎に比較する手段と、 比較手段で予約時刻と基準時刻の一致が検出されると、
対応する処理要求を一時記憶する手段と、記憶手段に蓄
えられた処理要求を順次取り出して実行する手段とを備
えたタイマー装置。
(1) Reservation setting means capable of storing multiple data processing requests at the same or different times; means for comparing the reservation time of all reservation data with a reference time for each set unit time; When a reference time match is detected,
A timer device comprising means for temporarily storing corresponding processing requests and means for sequentially retrieving and executing the processing requests stored in the storage means.
JP61012862A 1986-01-23 1986-01-23 Timer-device Expired - Lifetime JPH067177B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61012862A JPH067177B2 (en) 1986-01-23 1986-01-23 Timer-device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61012862A JPH067177B2 (en) 1986-01-23 1986-01-23 Timer-device

Publications (2)

Publication Number Publication Date
JPS62170879A true JPS62170879A (en) 1987-07-27
JPH067177B2 JPH067177B2 (en) 1994-01-26

Family

ID=11817221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61012862A Expired - Lifetime JPH067177B2 (en) 1986-01-23 1986-01-23 Timer-device

Country Status (1)

Country Link
JP (1) JPH067177B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5565189A (en) * 1978-11-09 1980-05-16 Matsushita Electric Ind Co Ltd Program timer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5565189A (en) * 1978-11-09 1980-05-16 Matsushita Electric Ind Co Ltd Program timer

Also Published As

Publication number Publication date
JPH067177B2 (en) 1994-01-26

Similar Documents

Publication Publication Date Title
US7044857B1 (en) Hand-held musical game
US4375666A (en) Electronic guessing game
US4451911A (en) Interactive communicating toy figure device
JP4200132B2 (en) Sound reproduction package
EP0494982B1 (en) Interactive audio visual apparatus
US4974483A (en) Metronome device
CA2220348A1 (en) A virtual music instrument with a novel input device
JP2002519726A (en) Sound reading toys
EP1190409A2 (en) Educational device for simulating addictive behavior and method of using
GB2275207A (en) Talking playset
CN1151562A (en) IC card reader with audio output
TW498193B (en) Method for reducing power consumption, and portable electronic device and entertainment system that employ the method
US20050049850A1 (en) Programmable timed action apparatus using audio and visual signals to interface with a human in completing a task oriented schedule
JP3295051B2 (en) Rhythm practice device
JPS62170879A (en) Timer device
JP3066762U (en) Conversation toys
JPS62170874A (en) Sound generating device
JPS62171022A (en) Data input method
JPS62170877A (en) Timer device
JPS62170875A (en) Timer device
JPS62170876A (en) Timer device
JPS62170878A (en) Compact electrical equipment
US6559768B2 (en) Moment of impulse anti-smoking message system
JPS62172660A (en) Small electric appliance
JPH0666775U (en) Fortune-telling toys