JPH06194467A - Electronic apparatus with openable case - Google Patents

Electronic apparatus with openable case

Info

Publication number
JPH06194467A
JPH06194467A JP4356475A JP35647592A JPH06194467A JP H06194467 A JPH06194467 A JP H06194467A JP 4356475 A JP4356475 A JP 4356475A JP 35647592 A JP35647592 A JP 35647592A JP H06194467 A JPH06194467 A JP H06194467A
Authority
JP
Japan
Prior art keywords
upper case
time
timer
case
switch
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
JP4356475A
Other languages
Japanese (ja)
Inventor
Masayoshi Okuyama
正良 奥山
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 JP4356475A priority Critical patent/JPH06194467A/en
Publication of JPH06194467A publication Critical patent/JPH06194467A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Electromechanical Clocks (AREA)

Abstract

PURPOSE:To provide an electronic apparatus with an openable case in which an error of a measured result by starting an operation to be measured which should be started to match a start of the operation to be measured after an upper case is closed can be avoided by closing the upper case after the measuring starting operation. CONSTITUTION:A CPU 1 is formed as a center. When an upper cover is opened, a start stop switch S1 of a first switch 15 is operated, and when a start of measuring a residual time by a subtracting timer 12 is instructed, closure of the upper case is actually started from when it is detected from an output of an optical sensor 14.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、開閉自在ケース付電子
機器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device with a freely openable / closable case.

【0002】[0002]

【従来の技術】従来、例えば指針式電子腕時計等では、
その多機能化を図るために、時計ケースを下部ケースと
これに開閉自在に取り付けられている上部ケースとより
構成し、上部ケース上面に指針表示部、上部ケース下面
にデジタル表示部を設けたものが実用化されている。そ
してこの種の指針式電子腕時計には、時刻表示機能以外
に、データバンク機能、計算機能、ストップウォッチ機
能、減算タイマ機能等が付加されていることが多い。
2. Description of the Related Art Conventionally, for example, in a pointer type electronic wrist watch,
In order to make it multi-functional, the watch case is composed of a lower case and an upper case that can be freely opened and closed, and a pointer display section is provided on the upper case upper surface and a digital display section is provided on the lower case lower surface. Has been put to practical use. In addition to the time display function, a data bank function, a calculation function, a stopwatch function, a subtraction timer function, and the like are often added to this type of pointer-type electronic wrist watch.

【0003】[0003]

【発明が解決しようとする課題】ところで、上記の如き
多機能化された指針式電子腕時計のストップウォッチ機
能或いは減算タイマ機能で、運動時間(例えばジョギン
グを行なっている間の時間等)を計測する場合は、運動
中における携帯の便宜性を考えると、上部ケースを閉じ
た状態で利用するのが好ましい。しかし、運動時間の計
測に先立って、データバンク機能等、上部ケースを開い
てこの下面の表示部を用いる機能を採用していたとき
は、うっかり上部ケースを開いた状態で計測開始のスイ
ッチ操作を行なってしまうことがあり、このような場合
は、その後、慌てて上部ケースを閉じ、然る後、運動を
開始することになる。従って、そのような場合は計測開
始時点と運動開始時点とが僅かながらずれて、計測した
運動時間は、それだけ不正確なものになる。本発明は、
上述の如き事情に鑑みてなされたものであり、上部ケー
スを閉じてから計測対象運動の開始に合わせて計測開始
操作をすべきところを計測開始操作後に上部ケースを閉
じて計測対象動作を開始したことによる計測結果の誤差
を回避できる開閉自在ケース付電子機器の提供を目的と
する。
By the way, the exercise time (for example, the time during jogging) is measured by the stopwatch function or the subtraction timer function of the multifunctional pointer type electronic wrist watch as described above. In this case, it is preferable to use it with the upper case closed, considering the convenience of carrying it during exercise. However, prior to measuring the exercise time, if you had adopted a function such as the data bank function to open the upper case and use the display on the lower surface, inadvertently open the upper case and operate the switch to start the measurement. In such a case, the upper case is hurriedly closed after that, and then the exercise is started. Therefore, in such a case, the measurement start time and the exercise start time are slightly deviated from each other, and the measured exercise time becomes inaccurate. The present invention is
This is done in view of the circumstances as described above, and after closing the upper case, the measurement start operation is performed at the place where the measurement start operation should be started in accordance with the start of the measurement target motion. After the measurement start operation, the upper case is closed to start the measurement target operation. An object of the present invention is to provide an electronic device with a freely openable / closable case that can avoid an error in the measurement result due to the above.

【0004】[0004]

【課題を解決するための手段】請求項1の発明では、上
部ケースが開いているときに計測開始操作があったとき
は、当該操作の時点から所定時間経過後に計測を開始す
るようにした。請求項2の発明では、上部ケースが開い
ているときに計測開始操作があったときは、その後、上
部ケースが閉じられたときに計測を開始するようにし
た。
According to the invention of claim 1, when a measurement start operation is performed while the upper case is open, the measurement is started after a lapse of a predetermined time from the time of the operation. In the invention of claim 2, when the measurement start operation is performed while the upper case is opened, the measurement is started when the upper case is closed thereafter.

【0005】[0005]

【実施例】以下、本願発明を図面に示す実施例に基づい
て具体的に説明する。先ず、第1の実施例を説明する
が、図1は、この実施例の回路構成を示すものである。
すなわち、本実施例はCPU1を中心に、他の回路部が
これに接続する構成となっている。CPU1は、送られ
てくるデータを処理・加工して送出すると共に、各回路
からの信号を受取り、それらに基づき各回路に制御信号
を送ってそれらを制御する回路部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the embodiments shown in the drawings. First, the first embodiment will be described. FIG. 1 shows the circuit configuration of this embodiment.
That is, in the present embodiment, the CPU 1 is the main component, and other circuit parts are connected thereto. The CPU 1 is a circuit unit that processes and processes the sent data, sends the processed data, receives signals from each circuit, sends a control signal to each circuit based on them, and controls them.

【0006】発振回路2は、常時、一定周波数の信号を
送出する回路であり、分周回路3は上記発振回路2から
の信号を1Hzにまで分周してこの1Hz信号をモータ
駆動回路4、時刻計数回路8およびアンドゲート11に
送出する回路である。モータ駆動回路4は、上記1Hz
信号を受ける度にステップモータ5を一定角度だけ回転
する回路部で、ステップモータ5の回転は輪列機構6を
介して指針7に与えられ運針に供せられる。時刻計数回
路8は上記分周回路3からの1Hz信号を計数して現在
時刻を得て、それをCPU1に与える回路である。RS
フリップフロップ10はCPU1からの信号によりセッ
ト或いはリセット状態とされ、セット状態において出力
Qを送出する回路である。アンドゲート11はRSフリ
ップフロップ10からの出力Qにより開成されて分周回
路3からの1Hz信号をタイマ12に与える回路であ
る。タイマ12は、CPU1から送られてくる時間がセ
ットされ上記1Hz信号が送られてくる度にセットされ
ている時間を1秒だけ短いものにすると共に常時、その
時点にセットされている時間をCPU1に送出する回路
である。
The oscillating circuit 2 is a circuit for constantly transmitting a signal of a constant frequency, and the frequency dividing circuit 3 divides the signal from the oscillating circuit 2 to 1 Hz and divides the 1 Hz signal into the motor drive circuit 4, This is a circuit for sending to the time counting circuit 8 and the AND gate 11. The motor drive circuit 4 is the above 1 Hz
A circuit unit that rotates the step motor 5 by a constant angle each time a signal is received. The rotation of the step motor 5 is given to the pointer 7 via the train wheel mechanism 6 and used for hand movement. The time counting circuit 8 is a circuit that counts the 1 Hz signal from the frequency dividing circuit 3 to obtain the current time and gives it to the CPU 1. RS
The flip-flop 10 is a circuit that is set or reset by a signal from the CPU 1 and outputs an output Q in the set state. The AND gate 11 is a circuit which is opened by the output Q from the RS flip-flop 10 and gives the 1 Hz signal from the frequency dividing circuit 3 to the timer 12. The timer 12 sets the time sent from the CPU 1 to shorten the set time each time the above 1 Hz signal is sent by 1 second, and constantly sets the time set at that time to the CPU 1 It is a circuit to send to.

【0007】RAM13は、CPU1の制御の下に、C
PU1から送られてくるデータを記憶し、また、記憶し
ているデータをCPU1に送出する回路である。当該R
AM13中の第1表示部モードレジスタUMは後述の第
1表示部18に係るモードを指定するレジスタで、セッ
ト値が0のときは第1表示部18に時刻計数回路8から
の現在時刻を表示する第1時刻表示モードを指定し、セ
ット値が1のときは、本実施例を減算タイマとして利用
し、第1表示部18に刻々の残り時間を表示する第1タ
イマモードを指定する。第2表示部モードレジスタLM
は後述の第2表示部20に係るモードを指定するレジス
タで、セット値が0のときは第2表示部20に時刻計数
回路8からの現在時刻を表示する第2時刻表示モードを
指定し、セット値が1のときは、本実施例を減算タイマ
として利用し、残り時間を第2表示部20に表示する第
2タイマモードを指定し、セット値が2のときは本実施
例をデータバンクとして用い、データを第2表示部20
に表示するデータバンクモードを指定し、セット値が3
のときは、本実施例を電子卓上計算機として利用し、計
算結果等を第2表示部20に表示する電卓モードを指定
する。開状態フラグFTは、後述の上部ケース31が、
下部ケース33の上面を覆い、閉じているときに0、下
部ケース33の上面を開いているときに1がセットされ
るフラグレジスタである。計測中フラグFSは、減算タ
イマとしての計測動作を行なっているときに1がセット
され、この計測動作を行なっていないときに0がセット
されるフラグレジスタである。待機中フラグFAは、上
部ケース31が、開かれている状態で、計測開始のため
に後述のスタート・ストップスイッチS1を操作したと
きに、その時点から10秒間だけ1がセットされ、それ
以外のときに0がセットされるフラグレジスタである。
The RAM 13 is a C memory under the control of the CPU 1.
It is a circuit that stores the data sent from the PU1 and sends the stored data to the CPU1. R concerned
A first display unit mode register UM in the AM 13 is a register for designating a mode related to a first display unit 18, which will be described later. When the set value is 0, the current time from the time counting circuit 8 is displayed on the first display unit 18. When the set value is 1, when the set value is 1, the present embodiment is used as a subtraction timer to specify the first timer mode in which the first display unit 18 displays the remaining time every moment. Second display mode register LM
Is a register for designating a mode related to the second display unit 20 described later, and when the set value is 0, designates a second time display mode for displaying the current time from the time counting circuit 8 on the second display unit 20, When the set value is 1, this embodiment is used as a subtraction timer and the second timer mode in which the remaining time is displayed on the second display unit 20 is designated. When the set value is 2, this embodiment is used in the data bank. And the data is displayed on the second display unit 20.
Specify the data bank mode to be displayed in, and the set value is 3
In this case, this embodiment is used as an electronic desk calculator, and the calculator mode for displaying the calculation result and the like on the second display unit 20 is designated. The open state flag FT is
The flag register covers the upper surface of the lower case 33, and is set to 0 when the upper surface of the lower case 33 is closed and set to 1 when the upper surface of the lower case 33 is opened. The in-measuring flag FS is a flag register that is set to 1 when the measurement operation as the subtraction timer is being performed and is set to 0 when the measurement operation is not being performed. The standby flag FA is set to 1 for 10 seconds from the time when the start / stop switch S1 to be described later is operated to start measurement in a state where the upper case 31 is opened, and other than that, It is a flag register that is set to 0 at times.

【0008】光センサ14は、後述の如く下部ケース3
3の上面に設けられ、上部ケース31が開かれたとき
に、外光を検出し、検出出力をCPU1に与える回路部
である。第1スイッチ部15は、スタート・ストップス
イッチS1等を備え、これらのいずれかが操作されたと
きに対応するスイッチ入力信号をCPU1に送出する回
路部である。第2スイッチ部20は、後述のモードスイ
ッチSM、テンキー等を備え、これらのいずれかが操作
されたときに対応するスイッチ入力信号をCPU1に送
出する回路部である。
The optical sensor 14 has a lower case 3 as described later.
3 is a circuit portion which is provided on the upper surface of 3 and detects external light and provides a detection output to the CPU 1 when the upper case 31 is opened. The first switch unit 15 is a circuit unit that includes a start / stop switch S1 and the like, and sends a corresponding switch input signal to the CPU 1 when any one of them is operated. The second switch unit 20 is a circuit unit that includes a mode switch SM, a numeric keypad, and the like, which will be described later, and sends a corresponding switch input signal to the CPU 1 when any of these is operated.

【0009】第1表示部駆動回路17は、CPU1から
のON信号を受けて起動して第1表示部18を駆動し、
これにCPU1から送られてくるデータを表示せしめる
と共に、CPU1からのOFF信号を受け、この動作を
停止する回路部であり、第1表示部18は、後述の第1
液晶表示パネル32aを備え、これに減算タイマ12の
残り時間等をデジタル表示する回路部である。また第2
表示部駆動回路19はCPU1からのON信号を受けて
起動して第2表示部20を駆動し、これにCPU1より
送られてくるデータを表示せしめると共に、CPU1か
らのOFF信号を受け、この動作を停止する回路部であ
り、第2表示部20は後述の第2液晶表示パネル35を
備え、これに各種データをデジタル表示する回路部であ
る。報音装置21はCPU1の制御の下に報知音を発生
する回路部である。
The first display section drive circuit 17 receives the ON signal from the CPU 1 and is activated to drive the first display section 18,
The first display unit 18 is a circuit unit for displaying the data sent from the CPU 1 and stopping the operation upon receiving an OFF signal from the CPU 1, and a first display unit 18 which will be described later.
It is a circuit unit that includes a liquid crystal display panel 32a and digitally displays the remaining time of the subtraction timer 12 and the like. The second
The display drive circuit 19 is activated by receiving an ON signal from the CPU 1 to drive the second display 20, display the data sent from the CPU 1 on the second display 20, and receive an OFF signal from the CPU 1 to perform this operation. The second display unit 20 is a circuit unit that includes a second liquid crystal display panel 35, which will be described later, on which various data are digitally displayed. The alarm device 21 is a circuit unit that generates an alarm sound under the control of the CPU 1.

【0010】図2は、本実施例の外観を示すもので、同
図(a)は、下部ケース33に開閉自在に取付けられて
いる上部ケース31を下部ケース33の上に閉じた状態
を示している。すなわち、上部ケース31の上面には現
在時刻を指針で表示する指針表示部32が設けられてお
り、また指針表示部32内の文字板、下方部には長方形
状の窓が形成され、ここに第1液晶表示パネル32aが
配されている。そして下部ケース33の前後端には時計
バンド34が取付けられており、更に下部ケース33の
左右側面にはスタート・ストップスイッチS1およびス
イッチS2〜S4が配設されている。また、同図(b)
は、ピン38によって下部ケース33に開閉自在に取付
けられている上部ケース31を開いた状態を示す。そし
て上部ケース31の下面には、第2液晶表示パネル35
が配され、下部ケース33の上面には、テンキー、モー
ドスイッチSM等が配設されているキー配設部36が設
けられ、該キー配設部36の下方には上部ケース31の
開閉を外光により検出する前記光センサ14が配設され
ている。またフレキシブルリード37は下部ケース33
内の電子回路と上部ケース31内の電子回路を接続する
リード部である。
FIG. 2 shows the appearance of the present embodiment. FIG. 2A shows a state in which the upper case 31 attached to the lower case 33 so as to be openable and closable is closed on the lower case 33. ing. That is, a pointer display portion 32 for displaying the current time with a pointer is provided on the upper surface of the upper case 31, a dial in the pointer display portion 32 and a rectangular window in the lower portion are formed. A first liquid crystal display panel 32a is arranged. A watch band 34 is attached to the front and rear ends of the lower case 33, and start / stop switches S1 and switches S2 to S4 are provided on the left and right side surfaces of the lower case 33. Also, FIG.
Shows a state in which the upper case 31 attached to the lower case 33 by the pin 38 is openable and closable. The second liquid crystal display panel 35 is provided on the lower surface of the upper case 31.
And a key arrangement portion 36 in which a numeric keypad, a mode switch SM and the like are arranged, is provided on the upper surface of the lower case 33, and below the key arrangement portion 36, the upper case 31 is opened and closed. The optical sensor 14 that detects light is provided. Further, the flexible lead 37 is attached to the lower case 33.
It is a lead portion that connects the electronic circuit in the inside and the electronic circuit in the upper case 31.

【0011】図3は、本実施例の動作を示すフローチャ
ートであるが、以下、このフローチャートを参照して、
各種状態における動作を説明していく。 (イ)上部ケース31を開いた状態でタイマモードとし
タイマ時間を設定するときの動作 上部ケース31を開いている状態でタイマモードにする
ときは第2表示部20の第2液晶表示パネル35にタイ
マ時間が表示されるまで第2スイッチ部16のモードス
イッチSMを操作していく。このとき、当該操作がある
度に以下の動作が行なわれる。すなわちステップS1で
計測中フラグFSの値は1でなく、未だ減算タイマ12
による計測は開始していないことを判断し、ステップS
2に進み、待機中フラグFAの値は1ではなくスタート
・ストップスイッチS1は操作されていないことを判断
し、ステップS20に進む。このステップS20では光
センサ14の出力がLレベルでなくHレベルで上部ケー
ス31を開いている状態にあることを判断し、ステップ
S45に進み開状態フラグFTの値は0でなく1で上部
ケース31は開いていることを判断し、ステップS55
で第1スイッチ部15からのスイッチ入力信号はなかっ
たことを判断しステップS62に進む。このステップS
62では、第2スイッチ部16からのスイッチ入力信号
があったことを検出し、次のステップS63では操作さ
れたのはモードスイッチSMであることを判断し、ステ
ップS64でモードを変更し、ステップS50に進み、
第2表示部モードレジスタLMの値は1でタイマモード
になったかを判断し、タイマモードになったときはステ
ップS51で第2表示部20の第2液晶表示パネル35
にタイマ時間を表示し(ただし、このときは、タイマ時
間を設定する前なので0時間00分が表示される)、ス
テップS1に戻る。
FIG. 3 is a flow chart showing the operation of this embodiment. Hereinafter, with reference to this flow chart,
The operation in various states will be described. (A) Operation when the upper case 31 is opened and the timer mode is set and the timer time is set When the upper case 31 is opened and the timer mode is set, the second liquid crystal display panel 35 of the second display unit 20 is operated. The mode switch SM of the second switch section 16 is operated until the timer time is displayed. At this time, the following operation is performed every time the operation is performed. That is, the value of the measuring flag FS is not 1 in step S1 and the subtraction timer 12 is still in use.
It is judged that the measurement by is not started, and the step S
2, the value of the standby flag FA is not 1 and it is determined that the start / stop switch S1 is not operated, and the process proceeds to step S20. In step S20, it is determined that the output of the optical sensor 14 is at the H level instead of the L level, and the upper case 31 is in the open state. Then, the process proceeds to step S45, where the value of the open state flag FT is not 0 but 1 31 determines that it is open, and step S55
Then, it is determined that there is no switch input signal from the first switch section 15, and the process proceeds to step S62. This step S
In 62, it is detected that there is a switch input signal from the second switch section 16, in the next step S63 it is determined that the mode switch SM is operated, and in step S64 the mode is changed, Go to S50,
The value of the second display unit mode register LM is 1 and it is determined whether the timer mode is set. When the timer mode is set, the second liquid crystal display panel 35 of the second display unit 20 is set in step S51.
The timer time is displayed at (however, at this time, 0 hours 00 minutes is displayed because the timer time has not been set yet), and the process returns to step S1.

【0012】このようにしてタイマモードとした後に減
算タイマ12へタイマ時間を設定するには第2スイッチ
部16すなわちキー配設部36のテンキーを操作する。
このとき、テンキーが操作される度に、以下の動作が行
なわれる。すなわち上記同様動作が行なわれていき、ス
テップS62で第2スイッチ部16からのスイッチ入力
信号があったことを検出し、ステップS63でモードス
イッチSMが操作されたのではないことを判断し、ステ
ップS65で第2表示部モードレジスタLMの値は既に
1になっておりタイマモードになっていることを判断
し、その上でステップS66では、減算タイマ12にタ
イマ時間をセットする処理を実行する。次いでステップ
S50に進み、再度、第2表示部モードレジスタLMの
値が1でタイマモードになっていることを確認し、次の
ステップS51で設定されたタイマ時間を第2液晶表示
パネル35に表示し、ステップS1に戻る。
In order to set the timer time in the subtraction timer 12 after setting the timer mode in this way, the second switch section 16, that is, the ten-key pad of the key arranging section 36 is operated.
At this time, the following operations are performed each time the ten key is operated. That is, the same operation as described above is performed, it is detected in step S62 that there is a switch input signal from the second switch section 16, and it is determined in step S63 that the mode switch SM has not been operated. In S65, it is determined that the value of the second display mode register LM has already become 1 and the timer mode is set. Then, in Step S66, a process of setting the timer time in the subtraction timer 12 is executed. Next, in step S50, it is confirmed again that the value of the second display mode register LM is 1 and the timer mode is set, and the timer time set in the next step S51 is displayed on the second liquid crystal display panel 35. Then, the process returns to step S1.

【0013】(ロ)上部ケース31を開いた状態で減算
タイマ12による計測開始のスイッチ操作をしたときの
動作 上記の如く上部ケース31を開いた状態でタイマモード
とし、更にこれから行なわんとする運動(例えばジョギ
ング)の運動時間をタイマ時間として減算タイマ12に
セットした後、上部ケース31を閉じることなく、減算
タイマ12に減算タイマ動作の開始を指示すべくスター
ト・ストップスイッチS1を操作したときは、それをス
テップS56で検出しステップS57に進み計測中フラ
グFSの値は0で未だ上記減算タイマ12による計測動
作を開始していないことを判断し、ステップS58で減
算タイマ12にセットされているタイマ時間は0時間0
0分ではないことを確認する。その上でステップS59
に進み待機中フラグFAの値を1とし以後10秒間、上
記計測を開始せず待機すべきことを記憶する。然る後、
ステップS62、S50、S51を経てステップS1に
戻る。
(B) Operation when the subtraction timer 12 is operated to switch the measurement with the upper case 31 opened The timer mode is set with the upper case 31 open as described above, and further movements to be performed When the start / stop switch S1 is operated to instruct the subtraction timer 12 to start the subtraction timer operation without closing the upper case 31 after setting the exercise time (for example, jogging) as the timer time in the subtraction timer 12. , It is detected in step S56, the process proceeds to step S57, the value of the in-measuring flag FS is 0, it is judged that the measurement operation by the subtraction timer 12 is not yet started, and it is set in the subtraction timer 12 in step S58. Timer time is 0 hours 0
Make sure it's not 0 minutes. Then, step S59
Then, the value of the standby flag FA is set to 1 and the fact that the above measurement is not started for 10 seconds thereafter is stored. After that,
The process returns to step S1 through steps S62, S50 and S51.

【0014】そして、以後10秒間は、以下の如き動作
を繰返して、減算タイマ12による計測開始を待機す
る。すなわち、ステップS1では、計測中フラグFSの
値は未だ1にはなっておらず0で計測を開始していない
ことを確認してステップS2に進み待機中フラグFAの
値は1で上記10秒間の待機中であることを確認し次の
ステップS3に進む。ステップS3では1秒毎の報音タ
イミングになっているかを判断し、このタイミングにな
っていないときはステップS20に進むが、このタイミ
ングのときは、ステップS4に進み報音装置21に信号
を送って1秒経過に係る報知音を発生する。次いでステ
ップS5ではスタート・ストップスイッチS1の操作か
ら10秒が経過したかを判断するが経過していないとき
はステップS20以降の処理へと進む。すなわち未だ上
部ケース31を閉じていないときはステップS20から
ステップS45、S55、S62、S50、S51を経
てステップS1に戻る。このような動作が何回か繰返さ
れている間に、本実施例の使用者は、運動に際しての携
帯の便宜を考えて上部ケース31を閉じることになる
が、その後は上記ステップS1〜S5の処理の後に、ス
テップS20に進み、ここで光センサ14の出力がLレ
ベルになっていることを検出してステップS21以降の
処理に進む。すなわちステップS21では開状態フラグ
FTの値は0ではなく1で、直前まで上部ケース31は
開かれていたことを判断し、その上でステップS41で
この開状態フラグFTの値を0にして上部ケース31は
閉じていることを記憶する。次いでステップS42では
第2表示部20での表示動作を停止し第1表示部駆動回
路17での表示動作を開始し、ステップS29に進み第
1表示部モードレジスタUMの値は0かを判断し、0に
なっているときはステップS31に進み時刻計数回路8
からの現在時刻を第1表示部18の第1液晶表示パネル
32aに表示するが、1になっているときは減算タイマ
12に設定されているタイマ時間を上記第1液晶表示パ
ネル32aに表示し、然る後ステップS1に戻る。以後
はステップS1〜S5、S20〜S22、S29〜S3
1、S1の処理を繰返す。
Then, for the next 10 seconds, the following operation is repeated to wait for the start of measurement by the subtraction timer 12. That is, in step S1, it is confirmed that the value of the in-measuring flag FS has not become 1 yet and the measurement is not started at 0, and the process proceeds to step S2, in which the value of the waiting flag FA is 1 and the above-mentioned 10 seconds. After confirming that it is waiting, the process proceeds to the next step S3. In step S3, it is judged whether or not it is the sounding timing for every one second, and if it is not this timing, the process proceeds to step S20, but at this timing, the process proceeds to step S4 and a signal is sent to the sounding device 21. For 1 second, a notification sound is generated. Next, in step S5, it is determined whether or not 10 seconds have elapsed from the operation of the start / stop switch S1, but if it has not elapsed, the process proceeds to step S20 and subsequent steps. That is, when the upper case 31 has not been closed yet, the process returns from step S20 to steps S45, S55, S62, S50, S51 and back to step S1. While such an operation is repeated several times, the user of the present embodiment closes the upper case 31 for convenience of carrying during exercise, but thereafter, the above steps S1 to S5 are performed. After the processing, the process proceeds to step S20, where it is detected that the output of the optical sensor 14 is at the L level, and the process proceeds to step S21 and subsequent steps. That is, in step S21, the value of the open state flag FT is 1 instead of 0, and it is determined that the upper case 31 was open until immediately before, and then the value of the open state flag FT is set to 0 in step S41. It is remembered that the case 31 is closed. Next, in step S42, the display operation in the second display unit 20 is stopped and the display operation in the first display unit drive circuit 17 is started, and the process proceeds to step S29 to determine whether the value of the first display unit mode register UM is 0. , 0, the process proceeds to step S31 and the time counting circuit 8
The current time from is displayed on the first liquid crystal display panel 32a of the first display unit 18, but when it is 1, the timer time set in the subtraction timer 12 is displayed on the first liquid crystal display panel 32a. After that, the process returns to step S1. After that, steps S1 to S5, S20 to S22, S29 to S3
The process of 1 and S1 is repeated.

【0015】上記の如き動作が繰返されている間に上記
の10秒間が経過することになるが、そのときは、その
旨を上記ステップS5で検出し、ステップS6に進む。
そしてステップS6では、上記タイマ時間が0時間00
分になっていないことを確認した上でステップS7に進
み計測中フラグFSの値を1として計測を開始したこと
を記憶し、ステップS8でRSフリップフロップ10を
セット状態とし減算タイマ12による計測を実際に開始
する。次いでステップS9では、第1表示部モードレジ
スタUMに1をセットし自動的に第1タイマモードと
し、第1表示部18の第1液晶表示パネル32aに現在
時刻が表示されている場合でも、強制的にタイマ時間の
表示に切換える。次のステップS10では、待機中フラ
グFAの値を0とし、上記10秒間の待機は終了した旨
を記憶する。その上でステップS11では上記10秒間
の待機を終え、実際に減算タイマ12による残時間の計
測が開始された旨を報知し、使用者に運動開始(例えば
ジョギングのスタート)を促すために報音装置21へ信
号を送ってスタート音を発生せしめる(すなわち使用者
は、このスタート音に合わせて運動を開始するので減算
タイマ12による残時間の計測開始と上記運動開始とを
一致せしめることができる)。
The above 10 seconds elapse while the above operation is repeated. In that case, the fact is detected in step S5, and the process proceeds to step S6.
Then, in step S6, the timer time is 0 hour 00.
After confirming that the count is not reached, the process proceeds to step S7, and the fact that the measurement is started with the value of the measurement flag FS set to 1 is stored, and the RS flip-flop 10 is set to the set state in step S8 to be measured by the subtraction timer 12. Actually start. Next, in step S9, 1 is set in the first display unit mode register UM to automatically set the first timer mode, and even if the current time is displayed on the first liquid crystal display panel 32a of the first display unit 18, it is forced. The timer time display. In the next step S10, the value of the standby flag FA is set to 0, and the fact that the standby for 10 seconds is completed is stored. Then, in step S11, the above-mentioned waiting for 10 seconds is completed, and the fact that the subtraction timer 12 has actually started measuring the remaining time is notified, and a sound is issued to prompt the user to start exercise (for example, jogging start). A signal is sent to the device 21 to generate a start sound (that is, the user starts the exercise in accordance with the start sound, so that the subtraction timer 12 can start measuring the remaining time and the start of the exercise). .

【0016】上記の如くし、使用者の運動と減算タイマ
12による残り時間の計測とが開始した後には、ステッ
プS20〜S22、S29、S30の処理が実行されス
テップS1に戻る。そして、このステップS1では既に
計測中フラグFSの値は1となっており、減算タイマ1
2による残り時間の計測が開始されていることを判断
し、ステップS15では減算タイマ12のタイマ時間す
なわち残時間が0にはなっていないかを判断し、0にな
っていないときは、ステップS20〜S22、S29、
S30を経てステップS1に戻るという動作を繰返す。
After the exercise of the user and the measurement of the remaining time by the subtraction timer 12 are started as described above, the processes of steps S20 to S22, S29 and S30 are executed and the process returns to step S1. Then, in step S1, the value of the in-measuring flag FS is already 1, and the subtraction timer 1
It is determined that the measurement of the remaining time by 2 is started, and in step S15, it is determined whether or not the timer time of the subtraction timer 12, that is, the remaining time is 0, and when it is not 0, step S20 ~ S22, S29,
The operation of returning to step S1 via S30 is repeated.

【0017】以上は、上記10秒の待機時間の終了に合
わせて運動を開始する場合の動作であるが、この待機時
間の終了前に運動を開始し、これに合わせて減算タイマ
12の計数動作を強制的に開始せしめんとするときはス
タート・ストップスイッチS1を操作する。このとき該
操作をステップS23で検出し、ステップS26で計測
中フラグFSの値は0であることを確認し、更にステッ
プS35で減算タイマ12のタイマ時間は0時間00分
ではないことを判断し、ステップS36に進み計測中フ
ラグFSの値を1とし、ステップS37でRSフリップ
フロップ10をセット状態とし減算タイマ12に残時間
の計測を開始せしめ第1表示部モードレジスタUMの値
を1とし第1タイマモードとしステップS39では待機
中フラグFAの値を0にし待機を中断することとし、ス
テップS29、S30を経てステップS1に戻り、前述
の場合と同様の動作(ステップS1、S15、S20〜
S22、S29、S30、S31)となっていく。
The above is the operation when the exercise is started at the end of the waiting time of 10 seconds, but the exercise is started before the end of the waiting time and the counting operation of the subtraction timer 12 is performed in accordance with this. To forcibly start the operation, operate the start / stop switch S1. At this time, the operation is detected in step S23, it is confirmed in step S26 that the value of the measuring flag FS is 0, and it is further determined in step S35 that the timer time of the subtraction timer 12 is not 0 hour 00 minute. Then, in step S36, the value of the measuring flag FS is set to 1, the RS flip-flop 10 is set to the set state in step S37, the subtraction timer 12 is caused to start measuring the remaining time, and the value of the first display mode register UM is set to 1. In the 1-timer mode, the value of the standby flag FA is set to 0 in step S39 to suspend the standby, the process returns to step S1 through steps S29 and S30, and the same operation as that described above (steps S1, S15, S20-
S22, S29, S30, S31).

【0018】なお、上記の如くして、減算タイマ12に
より残時間を計測しながら運動を行なっている際中に、
現在時刻を確認したくなったときはスイッチS2を操作
する。このとき該操作をステップS24で検出し、ステ
ップS25で第1表示部モードレジスタUMの値を1か
ら0とし、すなわち第1時刻表示モードとしステップS
29に進み、ここで第1表示部モードレジスタUMの値
が既に0になっていることを確認しステップS31で第
1液晶表示パネル32aに時刻計数回路8からの現在時
刻を表示しステップS1に戻る。また、この状態から減
算タイマ12の残時間の表示状態すなわち第1タイマモ
ードに戻すには再度スイッチS2を操作するが、この場
合もステップS24で該操作を検出し、ステップS25
で第1表示部モードレジスタUMの値を1とし、ステッ
プS29を経てステップS30で第1液晶表示パネル3
2aに減算タイマ12の残時間を表示しステップS1に
戻る。
As described above, while exercising while measuring the remaining time by the subtraction timer 12,
When it is desired to check the current time, the switch S2 is operated. At this time, the operation is detected in step S24, and the value of the first display mode register UM is changed from 1 to 0 in step S25, that is, the first time display mode is set.
In step 29, it is confirmed that the value of the first display mode register UM is already 0, and in step S31 the current time from the time counting circuit 8 is displayed on the first liquid crystal display panel 32a, and in step S1. Return. Further, in order to return from this state to the display state of the remaining time of the subtraction timer 12, that is, the first timer mode, the switch S2 is operated again, but also in this case, the operation is detected in step S24, and step S25 is executed.
Then, the value of the first display mode register UM is set to 1, and the first liquid crystal display panel 3 is processed in step S30 through step S29.
The remaining time of the subtraction timer 12 is displayed on 2a, and the process returns to step S1.

【0019】また、以上の如くして減算タイマ12によ
る残時間の計数を開始した後、残時間が0になる前に、
この計数を強制的に停止するにはスタート・ストップス
イッチS1を操作する。このとき該操作をステップS2
3で検出し、ステップS26で計測中フラグFSの値は
0でなく1で現在上記計数を行なっている際中であるこ
とを確認し、その上でステップS27でこの計測中フラ
グFSの値を0とし、上記計数を停止することを記憶す
る。次いでステップS28ではRSフリップフロップ1
0をリセット状態として減算タイマ12による上記計数
を停止し、ステップS29を経てステップS30で、そ
の時点での残時間を第1表示部18の第1液晶表示パネ
ル32aに表示し、ステップS1に戻る。
Further, after the subtraction timer 12 starts counting the remaining time as described above and before the remaining time becomes 0,
To forcibly stop this counting, the start / stop switch S1 is operated. At this time, the operation is performed in step S2
3, the value of the measuring flag FS is 1 instead of 0 in step S26, and it is confirmed that the counting is currently being performed, and then the value of the measuring flag FS is set in step S27. It is set to 0 and the fact that the above counting is stopped is stored. Next, at step S28, the RS flip-flop 1
The count by the subtraction timer 12 is stopped by setting 0 to the reset state, and the remaining time at that time is displayed on the first liquid crystal display panel 32a of the first display unit 18 in step S30 after step S29, and the process returns to step S1. .

【0020】上記の如く計測を中断せずに、減算タイマ
12による残時間の計測を継続していき、残時間が0に
なったときは、それをステップS15で検出し、次のス
テップS16で計測中フラグFSの値を0にし計測を停
止する旨を記憶し、次いでステップS17ではRSフリ
ップフロップ10をリセット状態として減算タイマ12
の計測動作を停止し、ステップS18では報音装置21
に信号を送って減算タイマ12の残時間が0になった旨
の報知音を発生せしめるが、使用者は、これにより、減
算タイマ12に設定したタイマ時間だけの時間が経過し
たことを認識し、運動を停止することになる。
The measurement of the remaining time by the subtraction timer 12 is continued without interrupting the measurement as described above, and when the remaining time becomes 0, it is detected in step S15, and in the next step S16. The value of the in-measuring flag FS is set to 0 and the fact that the measurement is stopped is stored. Then, in step S17, the RS flip-flop 10 is reset and the subtraction timer 12 is set.
Measurement operation is stopped, and in step S18, the alarm device 21
Is sent to generate a notification sound indicating that the remaining time of the subtraction timer 12 has reached 0, but the user recognizes that the time corresponding to the timer time set in the subtraction timer 12 has elapsed. , Will stop the exercise.

【0021】(ハ)上部ケース31を閉じた後に計測開
始のスイッチ操作をした場合 前述のようにして減算タイマ12へタイマ時間を設定し
た後に、上部ケース31を閉じたときは、それをステッ
プS20で検出し、ステップS21に進み、開状態フラ
グFTの値が0にはなっていない旨を判断し、その上で
ステップS41で開状態フラグFTの値を0として上部
ケース31を閉じたことを記憶し、ステップS42では
第1表示部18による表示を開始し、第2表示部20に
よる表示を停止する。そしてステップS29〜S31に
進み第1表示部モードレジスタUMの値に応じ上記第1
表示部18の第1液晶表示パネル32aにタイマ時間或
いは現在時刻を表示し、ステップS1に戻る。
(C) When the measurement start switch is operated after the upper case 31 is closed: When the upper case 31 is closed after the timer time is set in the subtraction timer 12 as described above, it is set in step S20. In step S21, it is determined that the value of the open state flag FT is not 0. Then, in step S41, the value of the open state flag FT is set to 0, and the upper case 31 is closed. The display is started by the first display unit 18, and the display by the second display unit 20 is stopped in step S42. Then, the process proceeds to steps S29 to S31, and the first display mode register UM is operated according to the value of the first display mode register UM.
The timer time or the current time is displayed on the first liquid crystal display panel 32a of the display unit 18, and the process returns to step S1.

【0022】上記の如くして、上部ケース31を閉じた
後には、運動開始に合わせて、スタート・ストップスイ
ッチS1を操作することになるが、この場合も、該操作
をステップS23で検出し、ステップS26、S35を
経てステップS36で計測中フラグFSの値を1としス
テップS37でRSフリップフロップ10をセット状態
とし減算タイマ12の計測動作を開始せしめ、ステップ
S38で第1表示部モードレジスタUMの値を1として
タイマモードとし、ステップS39で待機中フラグFA
の値は1になっていない旨を判断してステップS29、
S30の処理を経てステップS1に戻る。
As described above, after the upper case 31 is closed, the start / stop switch S1 is operated in accordance with the start of exercise. In this case as well, the operation is detected in step S23, After steps S26 and S35, the value of the in-measuring flag FS is set to 1 in step S36, the RS flip-flop 10 is set to the set state in step S37 to start the measurement operation of the subtraction timer 12, and in step S38, the first display mode register UM is set. The timer mode is set to 1 and the standby flag FA is set in step S39.
It is determined that the value of is not 1 in step S29,
After the process of S30, the process returns to step S1.

【0023】以上の如くして、10秒の待機時間を持た
ずに計測動作を開始することになるが、この後は、前述
の(ロ)の場合(すなわち、上部ケース31を開いて計
測開始のスイッチ操作を行ない、その後、上部ケース3
1を閉じて、上記スイッチ操作から10秒が経過した時
から減算タイマ12による残時間の計測を開始する場
合)における動作と同様の動作(例えばスタート・スト
ップスイッチS1の操作による強制的な計測停止動作、
減算タイマ12の残時間が0になったときの動作等)が
なされる。
As described above, the measurement operation is started without the waiting time of 10 seconds. After this, in the case of the above (B) (that is, the upper case 31 is opened and the measurement is started). Switch operation, and then upper case 3
1 is closed, and the same operation as the operation in the case of starting the remaining time measurement by the subtraction timer 12 when 10 seconds have elapsed from the above switch operation (for example, forced measurement stop by operating the start / stop switch S1) motion,
The operation when the remaining time of the subtraction timer 12 becomes 0) is performed.

【0024】(ニ)その他の動作 前述の(ロ)では、上部ケース31が開いている状態で
スタート・ストップスイッチS1を操作して減算タイマ
12による計測を指示し、それから10秒経過以前に上
部ケース31を閉じた場合の動作を説明したが、10秒
経過後も上部ケース31を開いた状態に放置しておいた
場合の動作は、以下のようになる。すなわち前述の場合
と同様に上記スタート・ストップスイッチS1の操作を
ステップS56で検出し、ステップS57〜S59、S
62、S50、S51を経てステップS1に戻り、ステ
ップS2〜S5を経てステップS20、S45、S5
5、S62、S50、S51、S1と進む動作を繰返
す。そして上記10秒が経過したときは、その旨をステ
ップS5で検出しステップS6〜S11の処理を実行
し、ステップS20、S45、S55、S62、S5
0、S51を経てステップS1に戻る。以後は、ステッ
プS15、S20、S45、S55、S62、S50、
S51の処理を経てステップS1に戻る動作を繰返し、
減算タイマ12の残時間が0になったときは、前述の場
合と同様にステップS15〜S18の処理を実行し、当
初に減算タイマ12に設定した時間が経過した旨の報知
等を実行する。
(D) Other operations In the above (b), the start / stop switch S1 is operated with the upper case 31 open to instruct the measurement by the subtraction timer 12, and 10 seconds after that, the upper part 31 is operated. Although the operation when the case 31 is closed has been described, the operation when the upper case 31 is left open after 10 seconds has elapsed is as follows. That is, as in the case described above, the operation of the start / stop switch S1 is detected in step S56, and steps S57 to S59, S59 are performed.
62, S50, and S51, the process returns to step S1, and steps S2 to S5 are followed by steps S20, S45, and S5.
The operations of 5, S62, S50, S51 and S1 are repeated. When the above 10 seconds have elapsed, the fact is detected in step S5, the processes of steps S6 to S11 are executed, and steps S20, S45, S55, S62 and S5 are executed.
After 0 and S51, the process returns to step S1. After that, steps S15, S20, S45, S55, S62, S50,
The operation of returning to step S1 through the processing of S51 is repeated,
When the remaining time of the subtraction timer 12 becomes 0, the processes of steps S15 to S18 are executed as in the case described above, and the notification that the time originally set in the subtraction timer 12 has elapsed is executed.

【0025】また、上記の如く、上部ケース31を開い
た状態で減算タイマ12による残時間の計数を行なって
いる際中に、これを強制的に中断するにはスタート・ス
トップスイッチS1を操作する。この場合、当該操作を
ステップS56で検出し、ステップS57を経てステッ
プS60に進み、計測中フラグFSの値を1として、上
記計数動作を停止することを記憶し、その上でステップ
S61に進みRSフリップフロップ10をリセット状態
として減算タイマ12の計数動作を停止する。その後、
ステップS62、S50を経てステップS51では上記
停止の際における減算タイマ12の残時間が第1液晶表
示パネル32aに表示されステップS1に戻る。
Further, as described above, when the subtraction timer 12 is counting the remaining time with the upper case 31 opened, the start / stop switch S1 is operated to forcibly interrupt the remaining time. . In this case, the operation is detected in step S56, the process proceeds to step S60 via step S57, the value of the measuring flag FS is set to 1, and it is stored that the counting operation is stopped, and then the process proceeds to step S61. The flip-flop 10 is reset to stop the counting operation of the subtraction timer 12. afterwards,
After steps S62 and S50, in step S51, the remaining time of the subtraction timer 12 at the time of the stop is displayed on the first liquid crystal display panel 32a, and the process returns to step S1.

【0026】また、上部ケース31を閉じている状態
(減算タイマ12による残時間の計数が実行されている
場合およびこれが実行されていない場合のいずれをも含
む)において、上部ケース31を開いたときは、それを
ステップS20で検出し、ステップS45に進み、開状
態フラグFTの値が0で、直前までは、上部ケース31
が閉じていたことを判断し、その上でステップS46に
進み、開状態フラグFTの値を1とし、第1表示部18
の表示動作を停止し、第2表示部20の表示動作を開始
し、次のステップS48に進む。ステップS48では計
測中フラグFSの値が1であるか、すなわち減算タイマ
12による残時間の計測中であるかを判断し、計測中で
ないときは、直接、ステップS50に進むが、計測中の
ときは、ステップS49で第2表示部モードレジスタL
Mの値を1としてタイマモードとし、その上でステップ
S50に進む。そしてステップS50では第2表示部モ
ードレジスタLMの値は1で第2タイマモードになって
いるかを判断し、このモードになっていないときは他の
モードの表示処理に進むがこのモードになっているとき
はステップS51で減算タイマ12の残時間を第2表示
部20の第2液晶表示パネル35に表示する。
When the upper case 31 is opened while the upper case 31 is closed (including the case where the subtraction timer 12 counts the remaining time and the case where the subtraction timer 12 does not count). Detects it in step S20, proceeds to step S45, the value of the open state flag FT is 0, and the upper case 31
Is closed, and then the process proceeds to step S46, the value of the open state flag FT is set to 1, and the first display unit 18
The display operation of is stopped, the display operation of the second display unit 20 is started, and the process proceeds to the next step S48. In step S48, it is determined whether or not the value of the measurement flag FS is 1, that is, whether the subtraction timer 12 is measuring the remaining time. If not, the process directly proceeds to step S50. Is the second display mode register L in step S49.
The value of M is set to 1, the timer mode is set, and then the process proceeds to step S50. Then, in step S50, it is determined whether the value of the second display mode register LM is 1 and it is in the second timer mode. If it is not in this mode, the display process of another mode is proceeded to, but it is in this mode. If so, the remaining time of the subtraction timer 12 is displayed on the second liquid crystal display panel 35 of the second display section 20 in step S51.

【0027】次に、本願発明の第2の実施例について説
明する。本実施例の回路構成および外観は、上述の第1
の実施例における回路構成および外観と同一で、それぞ
れ図1および2で示される。ただし図1のRAM13中
の待機中フラグFAは、上述の第1実施例では、上部ケ
ース31を開いている状態で、減算タイマ12による残
時間の計測を開始すべくスタート・ストップスイッチS
1を操作したときに、その後、10秒間だけセット値が
1となるフラグレジスタであったが、この第2実施例で
は、上部ケース31を開いた状態で、減算タイマ12に
よる残時間の計数を開始すべくスタート・ストップスイ
ッチS1を操作したときに、その後から上部ケース31
を閉じるまでの間のみセット値が1となるフラグレジス
タとなっている。
Next, a second embodiment of the present invention will be described. The circuit configuration and appearance of this embodiment are the same as those of the first embodiment.
The circuit configuration and appearance of the embodiment of FIG. However, in the first embodiment, the standby flag FA in the RAM 13 of FIG. 1 is a start / stop switch S for starting the measurement of the remaining time by the subtraction timer 12 with the upper case 31 open.
The flag register has a set value of 1 for 10 seconds when 1 is operated, but in the second embodiment, the subtraction timer 12 counts the remaining time with the upper case 31 open. When the start / stop switch S1 is operated to start, the upper case 31
It is a flag register whose set value becomes 1 only until is closed.

【0028】図4は、この第2の実施例の動作を示すフ
ローチャートである。このフローチャートは、第1の実
施例についての図3のフローチャートと概ね同様である
が(図4において、図3におけるステップの処理と同様
の処理についてのステップには図3におけるステップテ
ンバーと同一ステップナンバーを付している)、図3の
ステップS2〜S11の処理(上部ケース31を閉じた
ときから10秒間の経過を待って減算タイマ12による
計測を開始するための処理)およびステップS39、S
40の処理が抜けており、代ってステップS42a〜S
42cの処理が新たに追加されている。
FIG. 4 is a flow chart showing the operation of this second embodiment. This flowchart is almost the same as the flowchart of FIG. 3 for the first embodiment (in FIG. 4, the steps similar to the steps in FIG. 3 have the same steps as the step bar in FIG. 3). Number), the processing of steps S2 to S11 of FIG. 3 (processing for starting measurement by the subtraction timer 12 after waiting 10 seconds from the time when the upper case 31 is closed) and steps S39, S.
The process of 40 is omitted, and steps S42a to S are performed instead.
42c is newly added.

【0029】上記の如きフローチャート上の違いによ
り、以下の如き新たな動作が行なわれる。すなわち、上
部ケース31を開いてタイマモードにし、減算タイマ1
2にタイマ時間を設定した後に、上部ケース31を閉じ
ずに減算タイマ12による計測を指示すべくスタート・
ストップスイッチS1を操作したときは、第1の実施例
の場合と同様に、当該操作をステップS56で検出し、
ステップS57〜S59、S62、S50の処理を経
て、ステップS51で第2液晶表示パネル35に減算タ
イマ12に設定されているタイマ時間を表示しステップ
S1に戻るが、これ以後は、スイッチ操作がない限り、
ステップS20、S45、S55、S62、S50、S
51、S1の処理を繰返すだけで10秒間の経過があっ
ても減算タイマ12による計数は開始されず待機状態が
続く。そして、この待機状態において、上部ケース31
を閉じたときは、それをステップS20で検出し、ステ
ップS21で開状態フラグFTの値が0ではなく1にな
っており、この直前において上部ケース31が閉じたこ
とを判断し、その上でステップS41に進み、開状態フ
ラグFTの値を0にして上部ケース31が閉じているこ
とを記憶する。然る後、ステップS42では、第1表示
部18の第1液晶表示パネル32aによる表示動作を開
始し、第2表示部20の第2液晶表示パネル35による
表示動作を停止し、次のステップS42aでは待機中フ
ラグFAの値が1であること、すなわち上部ケース31
が開いている状態でスタート・ストップスイッチS1を
操作し、その後、今回、初めて上部ケース31が閉じた
ことを判断しステップS42bに進む。このステップS
42bでは計測中フラグFSの値を1として減算タイマ
12による計測の開始を記憶し、次のステップS42c
では、待機中フラグFAの値を1から0に戻して、上記
待機状態を終えたことを記憶し、ステップS35、S3
6の処理を経て、ステップS37でRSフリップフロッ
プ10をセット状態に、ステップS38で第1タイマモ
ードとし、ステップS29を経てステップS30で第1
液晶表示パネル32aに減算タイマ12の残時間を表示
し、ステップS1に戻る。以後は、前記第1の実施例と
同様にステップS15、S20〜S22、S29、S3
0、S1の動作を繰返し、減算タイマ12の残時間が0
になるのを待つことになる。
Due to the difference in the flow charts as described above, the following new operations are performed. That is, the upper case 31 is opened to enter the timer mode, and the subtraction timer 1
After setting the timer time to 2, start to indicate the measurement by the subtraction timer 12 without closing the upper case 31.
When the stop switch S1 is operated, as in the case of the first embodiment, the operation is detected in step S56,
After the processing of steps S57 to S59, S62, and S50, the timer time set in the subtraction timer 12 is displayed on the second liquid crystal display panel 35 in step S51, and the process returns to step S1. However, no switch operation is performed thereafter. limit,
Steps S20, S45, S55, S62, S50, S
The counting by the subtraction timer 12 is not started even if 10 seconds elapses by simply repeating the processing of 51 and S1 and the standby state continues. Then, in this standby state, the upper case 31
When it is closed, it is detected in step S20, and the value of the open state flag FT is 1 instead of 0 in step S21. Just before this, it is determined that the upper case 31 is closed, and then In step S41, the value of the open state flag FT is set to 0 and the fact that the upper case 31 is closed is stored. Then, in step S42, the display operation by the first liquid crystal display panel 32a of the first display unit 18 is started, the display operation by the second liquid crystal display panel 35 of the second display unit 20 is stopped, and the next step S42a. Then, the value of the standby flag FA is 1, that is, the upper case 31.
The start / stop switch S1 is operated in a state in which is opened, and thereafter, it is determined that the upper case 31 is closed for the first time this time, and the process proceeds to step S42b. This step S
In 42b, the value of the in-measuring flag FS is set to 1 and the start of the measurement by the subtraction timer 12 is stored, and the next step S42c
Then, the value of the standby flag FA is returned from 1 to 0, and it is stored that the standby state is finished.
6, the RS flip-flop 10 is set to the set state in step S37, the first timer mode is set in step S38, and the first timer mode is set in step S30 via step S29.
The remaining time of the subtraction timer 12 is displayed on the liquid crystal display panel 32a, and the process returns to step S1. After that, steps S15, S20 to S22, S29, and S3 are performed as in the first embodiment.
0, S1 operation is repeated until the remaining time of the subtraction timer 12 becomes 0
Will be waiting for.

【0030】以上の如く、本実施例では上部ケース31
を閉じる前に減算タイマ12による計測の開始を指示す
べくスタート・ストップスイッチS1を操作したとき
は、その後、上部ケース31が閉じた時点から減算タイ
マ12による上記計測が実際に開始されるのであるか
ら、使用者は、上部ケース31を閉じるのに合わせて、
運動等を開始すればよいことになる。
As described above, in this embodiment, the upper case 31
When the start / stop switch S1 is operated to instruct the start of the measurement by the subtraction timer 12 before closing, the measurement by the subtraction timer 12 is actually started after the upper case 31 is closed. Therefore, in accordance with the fact that the user closes the upper case 31,
All you have to do is start exercise.

【0031】なお、上記の如くして、減算タイマ12に
よる計測を開始した後、減算タイマ12の残時間が0と
なったときの動作等は、前述のように第1の実施例の場
合と同様になっている。
As described above, the operation when the remaining time of the subtraction timer 12 becomes 0 after the measurement by the subtraction timer 12 is started is the same as that of the first embodiment as described above. It is similar.

【0032】なお、この発明は上記実施例に限定され
ず、この発明を逸脱しない範囲内において種々変形応用
可能である。例えば上記第1および2の実施例はいずれ
も上部ケース31を開いた状態でスタート・ストップス
イッチS1を操作したときは、その後上部ケース31を
閉じて減算タイマ機能を利用するものであったが、これ
は減算タイマ機能に限られず、ストップウォッチ機能で
あってもよいことは勿論である。
The present invention is not limited to the above embodiments, and various modifications and applications are possible without departing from the scope of the present invention. For example, in both the first and second embodiments, when the start / stop switch S1 is operated with the upper case 31 open, the upper case 31 is then closed and the subtraction timer function is used. Of course, this is not limited to the subtraction timer function and may be a stopwatch function.

【0033】[0033]

【発明の効果】請求項1の発明は上部ケースが開いてい
るときに計測開始操作があったときは、当該操作の時点
から所定時間経過後に計測を開始するようにした開閉自
在ケース付電子機器に係るものであり、また請求項2の
発明は上部ケースが開いているときに計測開始操作があ
ったときは、その後、上部ケースが閉じられたときに計
測を開始するようにした開閉自在ケース付電子機器に係
るものであるから、いずれも計測開始操作後に上部ケー
スを閉じて計測対象動作を開始したことによる計測結果
の誤差を回避できる開閉自在ケース付電子機器の提供を
可能とする。
According to the first aspect of the present invention, when a measurement start operation is performed while the upper case is open, the electronic device with a freely openable case is arranged to start the measurement after a lapse of a predetermined time from the time of the operation. The invention according to claim 2 is such that the openable and closable case is adapted to start measurement when a measurement start operation is performed while the upper case is open, and thereafter when the upper case is closed. Therefore, it is possible to provide an electronic device with a freely openable case that can avoid an error in the measurement result due to closing the upper case and starting the measurement target operation after the measurement start operation.

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

【図1】本願発明の第1の実施例の回路構成を示す図で
ある。
FIG. 1 is a diagram showing a circuit configuration of a first embodiment of the present invention.

【図2】上記実施例の外観を示す図である。FIG. 2 is a diagram showing an appearance of the above embodiment.

【図3】上記実施例の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing the operation of the above embodiment.

【図4】本願発明の第2の実施例の動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing the operation of the second embodiment of the present invention.

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

10 RSフリップフロップ 11 アンドゲート 12 減算タイマ 13 RAM 14 光センサ 15 第1スイッチ部 16 第2スイッチ部 18 第1表示部 20 第2表示部 31 上部ケース 32a 第1液晶表示パネル 33 下部ケース 35 第2液晶表示パネル UM 第1表示部モードレジスタ LM 第2表示部モードレジスタ FT 開状態フラグ FS 計測中フラグ FA 待機中フラグ SM モードスイッチ S1 スタート・ストップスイッチ 10 RS Flip-flop 11 AND Gate 12 Subtraction Timer 13 RAM 14 Optical Sensor 15 First Switch Section 16 Second Switch Section 18 First Display Section 20 Second Display Section 31 Upper Case 32a First Liquid Crystal Display Panel 33 Lower Case 35 Second Liquid crystal display panel UM 1st display section mode register LM 2nd display section mode register FT Open state flag FS Measuring flag FA Standby flag SM Mode switch S1 Start / Stop switch

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 下部ケースと、 この下部ケースに開閉自在に取付けられた上部ケース
と、 この上部ケースの開閉を検出する開閉検出手段と、 前記上部ケースもしくは前記下部ケースに設けられ所定
の機能を実行する機能手段と、 この機能手段の動作を開始させるための外部から操作可
能なスイッチと、 このスイッチが操作された際に、前記検出手段が上部ケ
ースの閉状態を検出している場合には前記スイッチの操
作時から前記機能手段の動作を開始させ、前記検出手段
が上部ケースの開状態を検出している場合には前記スイ
ッチの操作から所定時間後に前記機能手段の動作を開始
させる動作開始制御手段とを備えることを特徴とする開
閉自在ケース付電子機器。
1. A lower case, an upper case attached to the lower case so as to be openable and closable, an opening / closing detecting means for detecting opening / closing of the upper case, and a predetermined function provided in the upper case or the lower case. If the function means to be executed, a switch that can be operated from the outside to start the operation of the function means, and the detection means detects the closed state of the upper case when the switch is operated, Operation start to start the operation of the functional means when the switch is operated, and to start the operation of the functional means a predetermined time after the operation of the switch when the detection means detects the open state of the upper case An electronic device with a freely openable and closable case, comprising: a control means.
【請求項2】 下部ケースと、 この下部ケースに開閉自在に取付けられた上部ケース
と、 この上部ケースの開閉を検出する開閉検出手段と、 前記上部ケースもしくは前記下部ケースに設けられ所定
の機能を実行する機能手段と、 この機能手段の動作を開始させるための外部から操作可
能なスイッチと、 このスイッチが操作された際に、前記検出手段が上部ケ
ースの閉状態を検出している場合には前記スイッチの操
作時から前記機能手段の動作を開始させ、前記検出手段
が上部ケースの開状態を検出している場合には前記上部
ケースが閉じられて前記開閉検出手段が閉状態を検出し
たときに前記機能手段の動作を開始させる動作開始制御
手段とを備えることを特徴とする開閉自在ケース付電子
機器。
2. A lower case, an upper case attached to the lower case so as to be openable and closable, an opening / closing detecting means for detecting opening / closing of the upper case, and a predetermined function provided in the upper case or the lower case. If the function means to be executed, a switch that can be operated from the outside to start the operation of the function means, and the detection means detects the closed state of the upper case when the switch is operated, When the operation of the functional means is started from the time when the switch is operated, and the upper case is closed and the open / close detecting means detects the closed state when the detecting means detects the open state of the upper case. And an operation start control means for starting the operation of the functional means.
JP4356475A 1992-12-22 1992-12-22 Electronic apparatus with openable case Pending JPH06194467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4356475A JPH06194467A (en) 1992-12-22 1992-12-22 Electronic apparatus with openable case

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4356475A JPH06194467A (en) 1992-12-22 1992-12-22 Electronic apparatus with openable case

Publications (1)

Publication Number Publication Date
JPH06194467A true JPH06194467A (en) 1994-07-15

Family

ID=18449204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4356475A Pending JPH06194467A (en) 1992-12-22 1992-12-22 Electronic apparatus with openable case

Country Status (1)

Country Link
JP (1) JPH06194467A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004055604A1 (en) * 2002-12-17 2004-07-01 Seiko Epson Corporation Portable information device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004055604A1 (en) * 2002-12-17 2004-07-01 Seiko Epson Corporation Portable information device

Similar Documents

Publication Publication Date Title
US5297110A (en) Stopwatch with target time function
JP3064396B2 (en) Electronic clock
CA1072745A (en) Alarm electronic timepiece
JPH08334573A (en) Analog display-type watch with means for selection of digital information
US5603330A (en) Pulse counting apparatus
JPH06194467A (en) Electronic apparatus with openable case
US4545686A (en) Electronic timepiece
JP3063171B2 (en) Electronic clock
GB2047442A (en) Electronic timepiece
JP3018475B2 (en) Electronics
JP2995232B2 (en) Electronic equipment with schedule function
JPH08327754A (en) Electronic clock
JPH05150055A (en) Electronic clock
JP2759159B2 (en) Electronic temperature measurement device
JPH0614723Y2 (en) Pulse measuring device
JPH06186031A (en) Electronic equipment with sensor
JP3173090B2 (en) Stopwatch device
JP3252659B2 (en) Electronic clock with alarm and setting method of alarm time
JPH06109871A (en) Electronic apparatus
JPH0442637B2 (en)
JP2002022859A (en) Electronic watch equipped with stopwatch function
JPH0314149B2 (en)
JP2519729Y2 (en) Stopwatch device
JP3636099B2 (en) Electronic clock with alarm, its operation method, its control program
JPH07198872A (en) Stopwatch device