JPS61230075A - Miniature electronic apparatus provided with time data storage function - Google Patents

Miniature electronic apparatus provided with time data storage function

Info

Publication number
JPS61230075A
JPS61230075A JP60070010A JP7001085A JPS61230075A JP S61230075 A JPS61230075 A JP S61230075A JP 60070010 A JP60070010 A JP 60070010A JP 7001085 A JP7001085 A JP 7001085A JP S61230075 A JPS61230075 A JP S61230075A
Authority
JP
Japan
Prior art keywords
data
time
register
input
key
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
JP60070010A
Other languages
Japanese (ja)
Other versions
JPH0646224B2 (en
Inventor
Masumi Totani
真純 戸谷
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP7001085A priority Critical patent/JPH0646224B2/en
Publication of JPS61230075A publication Critical patent/JPS61230075A/en
Publication of JPH0646224B2 publication Critical patent/JPH0646224B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To permit the easy setting of time data by comparing the data of the max. unit among the set and inputted time units with the data of the same unit obtd. from a clock circuit and compensating the input value of the upper unit thereof. CONSTITUTION:A key input part 11, the clock circuit 15 and a memory 14 are connected to a CPU13 in a device which stores the time data set over the plural time units including the year, month, date, hour and minute and makes required operation according to the stored data. The value of the max. time unit among the time data inputted from the key input part 11 is compared with the data of the same unit among the time data inputted from the circuit 15 and the data upper than the same is determined by the CPU13 according to the prescribed relation and is stored into the memory 14. If, for example, the time data is inputted from the unit of the 'date', the value thereof is compared in the magnitude with the data of the 'date' in the circuit 15 and the data of the 'year' and the 'month' upper than the same is compensated.

Description

【発明の詳細な説明】 [発明の技術分野] この発明は時間データ記憶機能を備えた小型電子機器に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a small electronic device with a time data storage function.

[従来技術とその問題点] 従来、時計回路を内蔵した電子機器において、日付、時
刻等の時間データ及びメツセージを設定記憶することに
より、その時刻になった時点で、時刻の報知とメツセー
ジ内容の表示を行なうスケジュール報知機能を有するも
のがあった。
[Prior art and its problems] Conventionally, in electronic equipment with a built-in clock circuit, time data such as date and time and messages are set and stored, and when the time arrives, the time is announced and the message contents are announced. Some had a schedule notification function that displayed the schedule.

しかしながら、上記のような電子機器にあっては、日付
及び時刻を入力設定する際、たとえそれが同年同月のこ
とであっても、必ず「年」 「月」「日」等のデータを
初めから順に入力しなければならず、その操作が面倒で
あった。
However, with electronic devices such as those mentioned above, when inputting and setting the date and time, even if it is the same month of the same year, the data such as "year", "month", "day", etc. must be entered from the beginning. The information had to be entered in sequence, making the operation cumbersome.

[発明の目的1 この発明は上記のような実情に鑑みてなされたもので、
時間データの設定に際し、日付及び時刻の入力操作を簡
略化して設定することのできる時間データ記憶機能を備
えた小型電子機器を提供することを目的とする。
[Object of the invention 1 This invention was made in view of the above-mentioned circumstances,
It is an object of the present invention to provide a small electronic device having a time data storage function that can simplify the input operation of date and time when setting time data.

[発明の要点] この発明は、時計回路で計時される現在の日付データあ
るいは時刻データを上記時間データの設定に際して利用
できるようにしたものであり、省略化して入力された時
間データの内容に応じて、省略された時間単位、すなわ
ち年、月、日の時間単位のデータを、時計回路内のデー
タと同一とするか、あるいは翌年、翌月、翌日のデータ
とするかを決定して時間データの設定を行なうようにし
たものである。
[Summary of the Invention] This invention enables the current date data or time data measured by a clock circuit to be used when setting the above-mentioned time data. Then, determine whether the omitted time units, that is, year, month, and day data, should be the same as the data in the clock circuit, or the next year, next month, and next day's data, and then change the time data. This allows you to make settings.

[発明の実施例] 以下図面を参照してこの発明の一実施例を説明する。第
1図はその回路構成を示すもので、11はキー人力部で
あり、このキー人力部11には通常の置数キー111や
アルファベットキー112の他に、スケジュールの「年
」 r月」 「日」 「時」 1分」の各データを設定
するためのデートキー(図ではrDTJと表わす) 1
13 、設定した日付や時刻及びスケジュール内容をメ
モリに入力させるためのスケジュールキー(図ではrs
chJと表わす)114が設けられる。このキー人力部
11の各キー操作によるキー人力データは、入力制御部
12に送出される。この入力制御部12は、内部にキー
人力された数値またはメツセージのデータを記憶する入
力バッファ(図ではrlBJと表わす)レジスタ121
を有し、キー人力部11でのキー操作に対するデータ入
力を制御するもので、キー人力に対応したキーコードデ
ータをCP Ll 13に出力する。
[Embodiment of the Invention] An embodiment of the invention will be described below with reference to the drawings. FIG. 1 shows the circuit configuration. Numeral 11 is a key input section, and this key input section 11 includes ordinary numeric keys 111 and alphabet keys 112 as well as schedule keys such as "year", "r month", and "r". Date key (represented as rDTJ in the figure) for setting each data: day, hour, minute 1
13. Schedule key (in the figure, rs
chJ) 114 is provided. Key human power data generated by each key operation of the key human power section 11 is sent to the input control section 12 . This input control unit 12 includes an input buffer (rlBJ in the figure) register 121 that stores numerical values or message data entered manually using keys.
It controls data input in response to key operations in the key human power section 11, and outputs key code data corresponding to the key human power to the CP Ll 13.

CP U 13は、入力制御部12からのキーコードデ
ータによりこの装置の制御動作を行なうもので、内部に
「年」データを記憶するrYJレジスタ131、「月」
データを記憶するrDi Jレジスタ132、「日」デ
ータを記憶するrDaJレジスタ133、「時分」デー
タを記憶するrHJレジスタ134、フラグレジスタ1
35及びrDTJレジスタ136からなるR A M 
13aを備える。このCP LJ 13は、他にメモリ
14、時計回路15と接続されてデータの入出力を行な
う。メモリ14は、スケジュール報知を行なう場合の、
時間とメツセージの内容を記憶するもので、日付、時刻
の時間データを記憶する複数のタイムレジスタrTo 
J  rTIJ  r丁2 J −と、メツセージ内容
を記憶する複数のメツセージレジスタrM+ J  r
MIJ  rMz J・・・とがそれぞれ対となって設
けられている。ところで、このメモリ14に記憶された
時間データ及びメツセージの内容は、キー人り部11の
読出しキー(図示せず)の操作により順次読出すことが
可能であり、この読出された内容は表示データとして表
示部16に出力され表示される。また、時計回路15は
、計時動作を行なうもので、内部に現在時点での「年」
データを記憶するrXoJレジスタ151、r月」デー
タを記憶するrXcIJレジスタ152 、r日」デー
タを記憶するrXcaJレジスタ153、「時分」デー
タを記憶する「X日」レジスタ154及び「秒」データ
を記憶するrXxJレジスタ155を備える。そして、
この時計回路15に記憶される各データは、CP LJ
 13に送られ表示部16にて表示されると共に、CP
U13の制御下で、メモリ14の各タイムレジスタの内
容゛と常時比較される。そして、両時間データが一致す
ると判断した際は、CPU13はその時間データに対応
するメツセージデータを表示部16に出力して表示させ
ると共に報音信号を報音部17に出力してアラーム報知
させる。
The CPU 13 controls the device based on key code data from the input control unit 12, and has an rYJ register 131 that stores "year" data and a "month" data.
rDi J register 132 for storing data, rDaJ register 133 for storing "day" data, rHJ register 134 for storing "hour/minute" data, flag register 1
35 and rDTJ register 136.
13a. This CP LJ 13 is also connected to a memory 14 and a clock circuit 15 to input and output data. When performing schedule notification, the memory 14 stores
It stores time and message contents, and has multiple time registers rTo that store time data such as date and time.
J rTIJ r2 J - and a plurality of message registers rM+ J r that store message contents.
MIJ rMz J... are provided in pairs, respectively. Incidentally, the time data and message contents stored in this memory 14 can be sequentially read out by operating a read key (not shown) of the key storage section 11, and the read contents are displayed as display data. is output to the display section 16 and displayed. The clock circuit 15 performs a timekeeping operation, and internally displays the current year.
rXoJ register 151 that stores data, rXcIJ register 152 that stores "r month" data, rXcaJ register 153 that stores "r day" data, "X day" register 154 that stores "hour/minute" data, and "second" data. It is provided with an rXxJ register 155 for storing data. and,
Each data stored in this clock circuit 15 is CP LJ
13 and displayed on the display unit 16, and the CP
Under the control of U13, it is constantly compared with the contents of each time register in memory 14. When it is determined that both time data match, the CPU 13 outputs message data corresponding to the time data to the display unit 16 for display, and also outputs an alarm signal to the alarm unit 17 to issue an alarm.

次いで上記実施例の動作について第2図を参照して説明
する。同図はキー人力部11のスケジュールキー114
を操作した場合の動作処理の内容を示すもので、動作当
初には、まず、ステップS01に示すようにCP U 
13のフラグレジスタ135の内容が“1″であるか否
か判定される。このフラグレジスタ135は、上記スケ
ジュールキー114が、設定するスケジュールの日付、
時刻のデータが入力された後に操作されたものか、ある
いはその日付、時刻のデータに続くメツセージデータが
入力された後に操作されたものかを判断するためのもの
で、もし、“1″ではない場合はスケジュールキー11
4の操作がスケジュールの日付、時刻のデータが入力さ
れた後になされ、この日付、時刻のデータのメモリ14
への入力設定はまだなされていないものと判断されて、
次にステップ802に進む。ステップ802においては
、上記のように“0”であったフラグレジスタ135の
内容を1″に書換え、その後にステップ803で入力バ
ッフ7121に保持されているスケジュールの日付、時
刻のデータを、CP U 13の「Y」レジスタ131
 、  rat Jレジスタ132、「D口」レジスタ
133、rHJレジスタ134に転送する。すなわち、
入力バッファ121に保持されているスケジュールの日
付、時刻のデータのうち、「年」データはrYJレジス
タ131に、「月」データは「Dl」レジスタ132に
、r日」データはrDa Jレジスタ133に、「時分
」データはrHJレジスタ134にそれぞれ転送される
もので、転送が終了すると、次にステップSO4に進む
。ステップS04では、rDTJレジスタ136の保持
内容が“5″であるか否かを判断する。このrDTJレ
ジスタ136は、キー人力部11のデートキー113の
操作回数に対応して内容を変化させるもので、もしその
保持内容が5”であった場合は、デートキー113が5
回操作されたこととなり、したがってキー人力部11で
はスケジュール時刻として「年」データから順に「月」
「日」「時」「分」データと入力されたこととなるので
、次にステップSO5に進み、CP tJ 13のrY
Jレジスタ131 、rDIJレジスタt32 、rO
a Jレジスタ133及びrHJレジスタ134に記憶
されているr年j「月]「日」1時」「分」の各データ
を、メモリ14のタイムレジスタrTa J  rT!
J「T2」・・・のうちのCP U 13にアドレス指
定されるものに入力設定し、このデートキー113の操
作に対する処理を終了する。また、上記ステップ804
でrDTJレジスタ136の内容が“5”ではないと判
断された場合は、次いでステップ806で、今度はrD
TJレジスタ136の内容が“4”であるか否か判断さ
れる。ここで、r D T’ Jレジスタ136の内容
が“4”であると判断された場合は、デートキー113
が4回操作されたことになり、したがってキー人力部1
1ではスケジュール時刻として「年」データを省略して
、1月」データから順に「日」 1時」 1分」データ
と入力されたことになるので、次にステップ807に進
む。ステップ807では、入力された「月」「日」 「
時」 「分」のデータが今年のものであるか、または来
年のものであるかを判断する。すなわち、CP U 1
3の「Dl」レジスタ132 、rDa Jレジスタ1
33の「月」 「日」のデータと、時計回路15のrX
cIJレジスタ152 、rXca Jレジスタ153
の記憶する現在の「月」「日」のデータとを比較するも
ので、もし、「Dl」レジスタ132 、rDa Jレ
ジ2夕133 (D r月J rBJ (7)チー’I
f)値がrXctJレジスタ152、rXcoJレジス
タ153のそれ以上であった場合は、入力された「月」
 「日」 「時」「分」のデータが今年のものであると
判断されて、続くステップ808で時計回路15のrX
oJレジスタ151の記憶する現在の「年」データがr
YJレジスタ131に書込まれてから、上記ステップS
05のメモリ14のタイムレジスタへのデータ入力処理
を行なう。また、上記ステップ307で「XctJレジ
スタ152、rXca」レジスタ153の「月」「日」
のデータの値が「Dl」レジスタ132、rDoJレジ
スタ133のそれよりも大きかった場合は、入力された
「月」 「日」 「時」 「分」のデータが来年のもの
であると判断されて、続くステップ809で時計回路1
5のrXnJレジスタ151の記憶する現在の「年」デ
ータが「+1」されてからrYJレジスタ131に書込
まれ、その後に上記ステップS05のメモリ14のタイ
ムレジスタへのデータ入力処理が行なわれる。さて、上
記ステップSO6でrDTJレジスタ136の内容が“
4nでもないと判断された場合は、次にステップSOG
で、今度はrDTJレジスタ136の内容が“3”であ
るか否か判断される。ここで、rDTJレジスタ136
の内容が“3″ではないと判断された場合は、デートキ
ー113の操作回数が2回または1回であるということ
になり、「年」 1月」 「臼」データを省略して「時
」 「分」データのみ入力したものであり、この場合は
入力のエラーと判定される。
Next, the operation of the above embodiment will be explained with reference to FIG. The figure shows the schedule key 114 of the key personnel department 11.
This shows the contents of the operation process when operating the CPU.
It is determined whether the content of the flag register 135 of No. 13 is "1". This flag register 135 contains the date of the schedule set by the schedule key 114,
This is to determine whether the operation was performed after the time data was input, or the message data following the date and time data was input. If it is not "1", then If so, press schedule key 11
The operation 4 is performed after the date and time data of the schedule is input, and this date and time data is stored in the memory 14.
It is determined that the input settings have not been made yet, and
Next, the process advances to step 802. In step 802, the content of the flag register 135, which was "0" as described above, is rewritten to "1", and then in step 803, the date and time data of the schedule held in the input buffer 7121 is transferred to the CPU. 13 "Y" register 131
, rat is transferred to the J register 132, the "D port" register 133, and the rHJ register 134. That is,
Of the schedule date and time data held in the input buffer 121, the "year" data is stored in the rYJ register 131, the "month" data is stored in the "Dl" register 132, and the "rday" data is stored in the rDaJ register 133. , "hour and minute" data are transferred to the rHJ register 134, and when the transfer is completed, the process proceeds to step SO4. In step S04, it is determined whether the content held in the rDTJ register 136 is "5". This rDTJ register 136 changes its contents in accordance with the number of operations of the date key 113 of the key human power section 11. If the stored contents are 5'', the date key 113 is set to 5''.
Therefore, in the key human power section 11, the schedule time is changed to "month" in order from "year" data.
Since the "day", "hour" and "minute" data have been input, proceed to step SO5 and enter the rY of CP tJ 13.
J register 131, rDIJ register t32, rO
a The data of year j "month", "day", 1 o'clock, and "minute" stored in the J register 133 and rHJ register 134 are transferred to the time register rTa J rT! of the memory 14.
J "T2" . . . is input and set to the one addressed by the CPU 13, and the processing for the operation of this date key 113 is completed. In addition, the above step 804
If it is determined in step 806 that the contents of the rDTJ register 136 are not "5", then in step 806, the rDTJ register 136 is
It is determined whether the content of the TJ register 136 is "4". Here, if it is determined that the content of the rDT' J register 136 is "4", the date key 113
has been operated four times, so key human power section 1
In step 1, the "Year" data is omitted as the schedule time, and the "Day"1:00"1:00" data are input in order starting from the "January" data, so the process proceeds to step 807. In step 807, the input "month", "day", "
Determine whether the hour and minute data is from this year or next year. That is, CPU 1
3 “Dl” register 132, rDa J register 1
33 “month” and “day” data and clock circuit 15 rX
cIJ register 152, rXca J register 153
This is to compare the current "month" and "day" data stored in
f) If the value is greater than or equal to that of the rXctJ register 152 or rXcoJ register 153, the input "month"
It is determined that the "day", "hour" and "minute" data are from this year, and in the following step 808, the clock circuit 15 rX
The current "year" data stored in the oJ register 151 is r
After being written to the YJ register 131, the above step S
Data input processing to the time register of the memory 14 of 05 is performed. Also, in step 307 above, the "month" and "day" of the "XctJ register 152, rXca" register 153 are
If the value of the data is larger than that of the "Dl" register 132 and rDoJ register 133, it is determined that the input "month", "day", "hour", and "minute" data are for next year. , in the following step 809, the clock circuit 1
The current "year" data stored in the rXnJ register 151 of No. 5 is incremented by "+1" and then written to the rYJ register 131, after which data input processing to the time register of the memory 14 in step S05 is performed. Now, in step SO6 above, the contents of the rDTJ register 136 are “
If it is determined that it is not 4n, then step SOG
Then, it is determined whether the contents of the rDTJ register 136 are "3" or not. Here, rDTJ register 136
If it is determined that the content of is not "3", it means that the number of operations of the date key 113 is 2 or 1, and the data of "year", "January", and "mill" are omitted and "hour" is written. ” Only the “minute” data was entered, and in this case it is determined to be an input error.

また、ステップ81Gで、rDTJレジスタ136の内
容が°3′であると判断された場合は、デートキー11
3が3回操作されたことになり、従ってキー人力部11
ではスケジュール時刻として「年」「月」データを省略
して、「日」データから順に「時」 「分」データと入
力されたことになるので、次にステップ811に進む。
Further, if it is determined in step 81G that the content of the rDTJ register 136 is °3', the date key 11
3 has been operated three times, so the key human power section 11
Now, the "year" and "month" data have been omitted as the schedule time, and the "day" data has been entered in order, followed by the "hour" and "minute" data, so the process proceeds to step 811.

ステップS11では、入力された「日」 「時」 「分
」のデータが今月のものであるか否かを判断する。すな
わち、CP tJ 13のrDaJレジスタ133の入
力された「日」のデータと、時計回路15のrXcaJ
レジスタ153の記憶する現在の「日」のデータとを比
較するもので、もし、rDaJレジスタ133の「日」
のデータの値がrXcoJレジスタ153のそれ以上で
あった場合は、入力された「日」 「時」 「分」のデ
ータが今月のものであると判断されるので、続くステッ
プS12で時計回路15のrXcxJレジスタ152の
記憶する現在の「月」データをrDIJレジスタ132
に書込んでから、上記ステップ808に進み、時計回路
15の「xD」レジスタ151の記憶する現在の「年」
データをrYJレジスタ131に書込む。その後、上記
ステップS05のメモリ14のタイムレジスタへのデー
タ入力処理を行なう。上記ステップS11でrDaJレ
ジスタ133の「日」データが、rXcoJレジスタ1
53の「日」のデータよりも小さいは、入力された「日
j 「時」「分」のデータが来月のものであると判断さ
れて、次にステップ813に進む。このステップ813
において°は、rXcxJレジスタ152の記憶する現
在の「月」データにより、今月が12月であるかどうか
を判断する。これは、次の月が次の年となってしまう場
合には、その他の月と違った処理を行なわなくてはなら
ないためで、もし、今月が12月である場合には、次に
ステップ814に示すようにrDt Jレジスタ132
に1月のデータを入力する。
In step S11, it is determined whether the input "day", "hour", and "minute" data are for this month. That is, the input “day” data of the rDaJ register 133 of the CP tJ 13 and the rXcaJ of the clock circuit 15
This is to compare the current "day" data stored in the register 153. If the "day" data in the rDaJ register 133 is
If the value of the data is greater than or equal to that of the rXcoJ register 153, it is determined that the input "day", "hour", and "minute" data are for this month, so in the following step S12, the clock circuit 15 The current "month" data stored in the rXcxJ register 152 of the rDIJ register 132
After writing the current "year" stored in the "xD" register 151 of the clock circuit 15, the process proceeds to step 808.
Write data to rYJ register 131. Thereafter, data input processing to the time register of the memory 14 in step S05 is performed. In the above step S11, the "day" data of the rDaJ register 133 is changed to the rXcoJ register 1.
If the data is smaller than the "day" data of 53, it is determined that the input "day j""hour""minute" data is for the next month, and the process proceeds to step 813. This step 813
In °, based on the current "month" data stored in the rXcxJ register 152, it is determined whether this month is December. This is because when the next month is the next year, different processing must be performed than for other months.If this month is December, then step 814 is performed. rDt J register 132 as shown in
Enter the data for January in .

そして、次に上記ステップ309において「XD」レジ
スタ151の記憶する現在の「年Jデータを「+1」し
てからrYJレジスタ131に書込み、その後に上記ス
テップ805でメモリ14のタイムレジスタへのデータ
入力処理を行なう。また、上記ステップS13でrXc
!Jレジスタ152の記憶する現在の「月」データが1
2ではなかった場合は、次にステップ815に進み、r
XctJレジスタ152の記憶内容をr+IJしてから
「Dl」レジスタ132に転送する。そして、続く上記
ステップSO8で時計回路15の「XD」レジスタ15
1の記憶する現在のr年」データをrYJレジスタ13
1に書込んでから、上記ステップ805のメモリ14の
タイムレジスタへのデータ入力処理を行なう。
Then, in step 309, the current year J data stored in the "XD" register 151 is incremented by "+1" and written to the rYJ register 131, and then in step 805, the data is input to the time register of the memory 14. Process. Also, in step S13 above, rXc
! The current “month” data stored in the J register 152 is 1.
If it is not 2, then proceed to step 815, and r
The contents of the XctJ register 152 are converted to r+IJ and then transferred to the “Dl” register 132. Then, in the following step SO8, the "XD" register 15 of the clock circuit 15
1 stores the current r year data in rYJ register 13.
1, and then the data input process to the time register of the memory 14 in step 805 is performed.

また、上記ステップSO1でフラグレジスタ135の内
容が′1゛であると判断された場合は、上記スケジュー
ルキー114が、スケジュールの日付、時刻のデータ入
力され、その日付、時刻のデータに続くメツセージデー
タを入力された後に操作されたものであるので、次のス
テップ316で後のスケジュール入力設定に備えてフラ
グレジスタ135をクリアし、その後にステップS17
に進む。ステップS17では入力制御部12の入力バッ
ファ121に記憶されているメツセージデータを、メモ
リ14のメツセージレジスタrMo J  rMlj 
 rM2J −のうちのCP U 13にアドレス指定
されるものに入力設定する。そして、続くステップ31
8でCPU13のメモリ14に対する指定アドレスを更
新し、この処理を終了するものである。
Further, if it is determined in step SO1 that the contents of the flag register 135 are '1'', the schedule key 114 is pressed to input the schedule date and time data, and the message data following the date and time data is input. Since the operation was performed after inputting , the flag register 135 is cleared in the next step 316 in preparation for the later schedule input setting, and then the flag register 135 is cleared in step S17.
Proceed to. In step S17, the message data stored in the input buffer 121 of the input control unit 12 is transferred to the message register rMoJ rMlj of the memory 14.
rM2J-, which is addressed to the CPU 13. And then step 31
In step 8, the specified address of the CPU 13 to the memory 14 is updated, and this process is ended.

次いで第3図により上記実施例の具体的なスケジュール
設定方法について説明する。同図は現在の日付が198
5年11月15日である場合の、各スケジュール時刻に
対するスケジュール設定操作を示すものである。まず初
めにスケジュール時刻が1985年11月17日9時で
ある場合、スケジュール時刻と現在の時刻とが同年同月
であるので、スケジュール設定操作としては、「年Jデ
ータ及び「月」データは省略することができる。したが
って、「日Jデータとして置数キー111で「17」を
入力し、デートキー113を操作した後に、「時」及び
「分」データ「9時(00分)」として置数キー111
でr 9Jを入力し、デートキー113を2回操作する
と、スケジュール設定操作は終了する。そして、その後
にスケジュールキー114を操作することにより、上記
第2図で示したようにステップS01〜804.806
.510〜812.808.805を経てスケジュール
時刻「1985年11月17日 9時(00分)」のデ
ータがメモリ14のタイムレジスタに入力設定されるも
のである。
Next, a detailed schedule setting method of the above embodiment will be explained with reference to FIG. The current date in the diagram is 198
This figure shows schedule setting operations for each schedule time on November 15, 2015. First of all, if the schedule time is 9:00 on November 17, 1985, the schedule time and the current time are in the same year and month, so the schedule setting operation is as follows: ``Year J data and ``month'' data are omitted. be able to. Therefore, after inputting "17" using the numeric keys 111 as "day J data" and operating the date key 113, the numeric keys 111 input "hour" and "minute" data as "9 o'clock (00 minutes)".
When the user inputs r9J and operates the date key 113 twice, the schedule setting operation is completed. Then, by operating the schedule key 114, steps S01 to 804 and 806 are executed as shown in FIG. 2 above.
.. 510 to 812.808.805, the data of the schedule time "November 17, 1985 9:00 (00 minutes)" is input and set to the time register of the memory 14.

次いでスケジュール時刻が1985年12月4日10時
である場合は、スケジュール時刻と現在の時刻とが同年
であるので、スケジュール設定操作としては、「年」デ
ータは省略することができる。したがって、「月」 「
日」データとして、置数キー111で「12」、デート
キー113、置数キー111で「4」、デートキー11
3と操作した後に、「時」及び「分」データ「10時(
00分)」として、置数キー111で「10」を入力し
、デートキー113を2回操作すると、スケジュール設
定操作は終了する。
Next, if the schedule time is 10:00 on December 4, 1985, the "year" data can be omitted in the schedule setting operation because the schedule time and the current time are in the same year. Therefore, "moon""
Date" data is "12" in the numeric key 111, date key 113, "4" in the numeric key 111, date key 11
After operating 3, the "hour" and "minute" data "10 o'clock (
00 minutes)", input "10" using the numeric key 111 and operate the date key 113 twice, the schedule setting operation ends.

そして、その後にスケジュールキー114を操作するこ
とにより、上記第2図で示したようにステップ5(11
〜304.506〜808.305を経て、スケジュー
ル時刻「1985年12月4日10時(00分)」のデ
ータがメモリ14のタイムレジスタに入力設定される。
Then, by operating the schedule key 114, step 5 (11) is performed as shown in FIG. 2 above.
~304.506~808.305, the data of the schedule time "December 4, 1985, 10:00 (00 minutes)" is input and set in the time register of the memory 14.

スケジュール時刻が1986年11月9日8時である場
合は、スケジュール時刻と現在の時刻とは同年ではない
が、スケジュール時刻の「月」 「日」のデータが現在
時刻のそれよりも前であるため、スケジュール設定操作
としては、「年」データは省略することができる。した
がって、「月」 「日」データとして、置数キー111
で「11」、デートキー113、置数キー111で「9
」、デートキー113と操作した後に、「時」及び「分
」データ「8時(00分)Jとして、置数キー111で
「8」を入力し、デートキー113を2回操作すると、
スケジュール設定操作は終了する。そして、その後にス
ケジュールキー114を操作することにより、上記第2
図で示したようにステップS01〜804.306、S
07.809.805を経て、スケジュール時刻r 1
986年11月 9日 8時(00分)」のデータがメ
モリ14のタイムレジスタに入力設定される。
If the schedule time is 8:00 on November 9, 1986, the schedule time and the current time are not in the same year, but the "month" and "day" data of the schedule time are earlier than the current time. Therefore, the "year" data can be omitted in the schedule setting operation. Therefore, as "month" and "day" data, the numeric key 111
"11" with the date key 113, "9" with the numeric key 111
”, and the date key 113, enter “8” with the numeric key 111 as the “hour” and “minute” data “8 o’clock (00 minutes) J”, and operate the date key 113 twice.
The schedule setting operation ends. Then, by operating the schedule key 114, the second
As shown in the figure, steps S01 to 804.306, S
via 07.809.805, schedule time r 1
The data of "November 9, 1986 8:00 (00 minutes)" is input and set in the time register of the memory 14.

そして最後に、スケジュール時刻が1986年11月1
1日9時である場合は、スケジュール時刻と現在の時刻
とは同年ではなく、スケジュール時刻の「月」 「日」
のデータが現在時刻のそれよりも後であるため、スケジ
ュール設定操作としては、初めの「年」データから順に
入力しなければならない。したがって、「年」 「月]
 「日」データとして、置数キー111で「1986J
、デートキー113、置数キー111で「11」、デー
トキー113、置数キー111で「17」、デートキー
113と操作した後に、「時」及び「分」データ「9時
(00分)」として、置数キー111で「9」を入力し
、デートキー113を2回操作すると、スケジュール設
定操作は終了する。そして、その後にスケジュールキー
114を操作することにより、上記第2図で示したよう
にステップ301〜S05を経て、スケジュール時刻r
 1986年11月17日 9時(00分)」のデータ
がメモリ14のタイムレジスタに入力設定される。
And finally, the schedule time is November 1, 1986.
If it is 9 o'clock on the 1st, the schedule time and the current time are not in the same year, but the "month" and "day" of the schedule time.
Since this data is later than that of the current time, the schedule setting operation must be input in order starting from the first "year" data. Therefore, "Year""Month"
As the “day” data, use the numeric key 111 to select “1986J”.
, date key 113, numeric key 111 to ``11'', date key 113, numeric key 111 to ``17'', date key 113, then the hour and minute data ``9 o'clock (00 minutes)'' ”, input “9” using the numeric key 111 and operate the date key 113 twice, the schedule setting operation ends. Then, by operating the schedule key 114 after that, the schedule time r is passed through steps 301 to S05 as shown in FIG. 2 above.
The data of "November 17, 1986 9:00 (00 minutes)" is input and set in the time register of the memory 14.

尚、上記実施例においては、月、日、時刻の各時間単位
のデータ入力、あるいは日、時刻の各時間単位のデータ
入力により、年の時間単位あるいは年、月の両鍔間単位
のデータをも設定する場合を説明したが、本願はこれに
限られるものではなく、例えば、時刻の単位の時間単位
のデータ入力のみにより年、月、日の各時間単位のデー
タをも設定するようにしてもよい。
In the above embodiment, by inputting data in units of month, day, and time, or inputting data in units of day and time, data can be input in units of time for the year or in units of time between year and month. Although the present application is not limited to this, for example, by only inputting data in units of time, data in units of time for year, month, and day can also be set. Good too.

[発明の効果] 以上のようにこの発明によれば、記憶させるべき時間デ
ータの設定に際して、時計回路で計時される現在の日付
、時刻のデータを最大限に利用し得るようにしたので、
記憶させるべき時間データの全ての時間単位のデータの
入力操作を必要とせず、最少限のデータ入力操作により
時間データの設定が可能となり、時間データの設定操作
を極めて簡略化し得るものである。
[Effects of the Invention] As described above, according to the present invention, when setting the time data to be stored, it is possible to make maximum use of the current date and time data measured by the clock circuit.
It is not necessary to input data in all time units of the time data to be stored, and the time data can be set with a minimum number of data input operations, and the time data setting operation can be extremely simplified.

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

図面はこの発明の一実施例を示すもので、第1図は回路
構成を示すブロック図、第2図は動作の処理内容を示す
フローチャート、第3図は現在時刻と設定すべきスケジ
ュール時刻に対するスケジュール設定操作を示す図であ
る。 11・・・キー人力部、111・・・置数キー、112
・・・アルファベットキー、113・・・デートキー、
114・・・スケジュールキー、12・・・入力ill
 ill all、121・・・入力バッフ7(IB>
レジスタ、13・・・CPU、131・・・rYJレジ
スタ、132・・・「D!」レジスタ、133・・・「
Dll」レジスタ、134・・・rl−IJレジスタ、
135・・・フラグレジスタ、136・・・rDTJレ
ジスタ、14・・・メモリ、15・・・時計回路、15
1・・・rXoJレジスタ、152 = r Xc I
Jレジスタ、153 ・・・r Xc OJ I/レジ
スタ154 ・−r Xs Jレジスタ、155・・・
「xA」レジスタ、16・・・表示部、17・・・報音
部。
The drawings show an embodiment of the present invention, in which Fig. 1 is a block diagram showing the circuit configuration, Fig. 2 is a flowchart showing the processing contents of the operation, and Fig. 3 shows the schedule for the current time and the schedule time to be set. FIG. 3 is a diagram showing a setting operation. 11...Key human power department, 111...Number key, 112
...Alphabet key, 113...Date key,
114... Schedule key, 12... Input ill
ill all, 121...input buffer 7 (IB>
Register, 13...CPU, 131...rYJ register, 132..."D!" register, 133..."
Dll” register, 134...rl-IJ register,
135...Flag register, 136...rDTJ register, 14...Memory, 15...Clock circuit, 15
1...rXoJ register, 152 = rXc I
J register, 153...r Xc OJ I/register 154 -r Xs J register, 155...
"xA" register, 16... display section, 17... alarm section.

Claims (1)

【特許請求の範囲】[Claims] 現在の年、月、日あるいは時刻等の時間データを計時す
る時計回路と、少なくとも日の時間単位あるいは時刻の
時間単位を含む時間データを入力する入力手段と、この
入力手段より入力された時間データの最大の時間単位の
データが上記時計回路内の対応する時間単位のデータよ
りも大きいか否かを判断する判断手段と、この判断手段
による判断結果により、入力された上記最大の時間単位
のデータよりも大きい時間単位のデータを上記計時手段
と同一にするか、あるいは翌年、翌月、翌日のデータと
するかを決定する決定手段と、この決定手段により決定
された時間単位のデータを上記入力手段より入力された
時間データと共に記憶する記憶手段とを具備してなる時
間データ記憶機能を備えた小型電子機器。
A clock circuit that measures time data such as the current year, month, day, or time; an input means for inputting time data including at least a day unit or a time unit; and time data input from the input means. determining means for determining whether or not the data in the largest time unit is larger than the data in the corresponding time unit in the clock circuit; a determining means for determining whether to use the data in a time unit larger than that of the time unit as the same as that of the above-mentioned timekeeping means, or to use data for the next year, next month, or the next day; and the input means to input the data in the time unit determined by the determining means. 1. A small electronic device having a time data storage function, comprising a storage means for storing time data inputted from a computer.
JP7001085A 1985-04-04 1985-04-04 Small electronic device with time data storage function Expired - Fee Related JPH0646224B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7001085A JPH0646224B2 (en) 1985-04-04 1985-04-04 Small electronic device with time data storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7001085A JPH0646224B2 (en) 1985-04-04 1985-04-04 Small electronic device with time data storage function

Publications (2)

Publication Number Publication Date
JPS61230075A true JPS61230075A (en) 1986-10-14
JPH0646224B2 JPH0646224B2 (en) 1994-06-15

Family

ID=13419200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7001085A Expired - Fee Related JPH0646224B2 (en) 1985-04-04 1985-04-04 Small electronic device with time data storage function

Country Status (1)

Country Link
JP (1) JPH0646224B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000242695A (en) * 1999-02-18 2000-09-08 Just Syst Corp Processor and method for information processing and computer-readable recording medium where program allowing computer to implement same method is recorded

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5463865A (en) * 1977-10-31 1979-05-23 Seiko Epson Corp Production of corrosion resisting metal band of wrist watch
JPS561381A (en) * 1979-06-18 1981-01-09 Casio Comput Co Ltd Time and date setting system
JPS59131191A (en) * 1976-02-09 1984-07-27 Yokogawa Hewlett Packard Ltd Electronic timepiece

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59131191A (en) * 1976-02-09 1984-07-27 Yokogawa Hewlett Packard Ltd Electronic timepiece
JPS5463865A (en) * 1977-10-31 1979-05-23 Seiko Epson Corp Production of corrosion resisting metal band of wrist watch
JPS561381A (en) * 1979-06-18 1981-01-09 Casio Comput Co Ltd Time and date setting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000242695A (en) * 1999-02-18 2000-09-08 Just Syst Corp Processor and method for information processing and computer-readable recording medium where program allowing computer to implement same method is recorded

Also Published As

Publication number Publication date
JPH0646224B2 (en) 1994-06-15

Similar Documents

Publication Publication Date Title
US4385291A (en) Electronic diary watch
EP0261495B1 (en) Electronic reminder
JPH0346078B2 (en)
JPS61230075A (en) Miniature electronic apparatus provided with time data storage function
JP2707539B2 (en) Display control device
JP2984770B2 (en) Electronic clock
JP2513600Y2 (en) Data bank device
JPS594056B2 (en) Key input control method
JPS621237B2 (en)
JPH0615313Y2 (en) Data storage device
JPH0421151Y2 (en)
JPS62143170A (en) Schedule input device
JPH0798644A (en) Character display data write device
JPH0615318Y2 (en) Electronic scheduler
JPS598073A (en) Conversation type scheduler
JPS6336462Y2 (en)
JP2839540B2 (en) Schedule information creation device
JPS62143169A (en) Schedule input device
JPS58165132A (en) Information input system
JPS6247271B2 (en)
JPH1027084A (en) Display device
JPH0726761Y2 (en) Data storage
JPH0726760Y2 (en) Alarm time data storage device
JPH0465424B2 (en)
JPS6040066B2 (en) Calendar information display method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees