JPS5935459B2 - Day of the week setting method - Google Patents

Day of the week setting method

Info

Publication number
JPS5935459B2
JPS5935459B2 JP51143587A JP14358776A JPS5935459B2 JP S5935459 B2 JPS5935459 B2 JP S5935459B2 JP 51143587 A JP51143587 A JP 51143587A JP 14358776 A JP14358776 A JP 14358776A JP S5935459 B2 JPS5935459 B2 JP S5935459B2
Authority
JP
Japan
Prior art keywords
information
day
calculation
register
week
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.)
Expired
Application number
JP51143587A
Other languages
Japanese (ja)
Other versions
JPS5368141A (en
Inventor
栄一 竹内
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.)
KASHIO KEISANKI KK
Original Assignee
KASHIO KEISANKI KK
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 KASHIO KEISANKI KK filed Critical KASHIO KEISANKI KK
Priority to JP51143587A priority Critical patent/JPS5935459B2/en
Publication of JPS5368141A publication Critical patent/JPS5368141A/en
Publication of JPS5935459B2 publication Critical patent/JPS5935459B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Calculators And Similar Devices (AREA)

Description

【発明の詳細な説明】 この発明は時計機能を付加した小型電子式計算機に用い
られる曜日設定方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a day-of-the-week setting method used in a small electronic calculator equipped with a clock function.

従来、電子式の時計装置に於いて、「時」 、「分」
、「秒」等の時刻系情報、並びに「月」 、「日」 、
「曜日」等のカレンダ系情報をセットする場合は、上記
時刻系、並びにカレンダ系の各単位情報をそれぞれ別個
にセットするための設定機構を必要とするとともに、上
記各単位毎の情報を各々別個に設定操作しなければなら
なかつた。
Conventionally, in electronic clock devices, "hours" and "minutes"
, time-related information such as "seconds", "month", "day",
When setting calendar information such as "day of the week," a setting mechanism is required to separately set the time system and each unit information of the calendar system, and the information for each unit must be set separately. I had to do some setting operations.

従つて従来では上記各単位情報を個別に設定するための
操作機構部が必要となり、機構の複雑化を招くとともに
、設定操作の困難を招き、しかも設定に多くの時間を費
さなければならなかつた。更に上記したような電子式時
計機構を電子式卓上計算機内に組込もうとする場合、上
記した各単位情報設定用の操作釦類と演算に供される各
種操作釦類とを装置本体の限られた操作面部内に収めな
ければならず、従つて操作機構部が著しく繁雑化すると
ともに装置の大形化を招き、しかも操作釦類の著しい増
加に伴つて時計設定操作のみならず演算操作に於いても
操作性の著しい困難を招いてしまう。この発明は上記実
情に鑑みなされたもので、時計機能を付加した小型電子
式計算機に於いて、設定すべき日付情報が入力された際
に、その設定用15日付情報に基づいて自動的に曜日情
報を求め、この曜H−情報を計時用回路に転送し設定せ
しめるとともに、認識表示せしめる機能構成として、曜
日情報の設定機構を設けることなく、曜日の自動設定が
行なえ、以つて操作機構の簡素イL並びに設20定操作
の迅速、容易化が計れる曜日設定方式を提供することを
目的とする。
Therefore, in the past, an operating mechanism was required to individually set each of the above unit information, making the mechanism complicated, making setting operations difficult, and requiring a lot of time for setting. Ta. Furthermore, when attempting to incorporate the electronic clock mechanism described above into an electronic desktop calculator, the operation buttons for setting each unit information and the various operation buttons used for calculations are limited to the device itself. Therefore, the operation mechanism becomes extremely complicated and the device becomes larger. Furthermore, with the significant increase in the number of operation buttons, it becomes difficult to perform not only clock setting operations but also calculation operations. Even in this case, the operability becomes extremely difficult. This invention was made in view of the above circumstances, and when date information to be set is input in a small electronic calculator equipped with a clock function, the day of the week is automatically automatically set based on the 15 date information for setting. As a functional configuration that obtains information, transfers this day-of-the-week H information to a timekeeping circuit, sets it, and displays it for recognition, it is possible to automatically set the day of the week without providing a mechanism for setting day-of-the-week information, which simplifies the operation mechanism. It is an object of the present invention to provide a day of the week setting method that allows quick and easy setting operations.

更に他の目的とするところは、計算機の演算機能部を有
効に利用して、設定用日付情報の入力に基づく日数演算
並びにこの日数演算結果に基づく25設定すべき曜日の
演算を行なわせしめ、以つて時計機能部に於ける回路構
成の複雑化を招くことなく、経済的に有利な構成で自動
的に曜日情報を求めることのできる曜日設定方式を提供
することにある。
Another purpose is to effectively utilize the arithmetic function section of the calculator to calculate the number of days based on the input of date information for setting, as well as the calculation of the day of the week to be set based on the result of the calculation of the number of days, as follows. Therefore, it is an object of the present invention to provide a day-of-the-week setting method that can automatically obtain day-of-the-week information with an economically advantageous configuration without complicating the circuit configuration of a clock function section.

30以下図面を参照してこの発明の一実施例を説明する
An embodiment of the present invention will be described below with reference to the drawings.

第1図に於いて、11は種々の入力情報をキー入力する
入力部で、この入力部11には数値0〜9を負数するた
めの負数キーNK、「+」、「−」、35「×」、「÷
」等の通常演算を指示するためのファンクションキーF
に)小数点指定キーDP)日付情報を指定するためのデ
イトキーDATE、時刻情報を指定するための時刻キー
Hms、時計情報の設定を指示するセツトキーSET等
の各キーが設けられるとともに、演算モード(COm)
と時計モード(Time)とを選択指定するためのモー
ド設定スイツチMSW等が設けられている。
In FIG. 1, reference numeral 11 is an input unit for inputting various input information using keys, and this input unit 11 includes negative number keys NK, "+", "-", 35 " ×”, “÷
Function key F for instructing normal operations such as
) Decimal point designation key DP) Each key is provided, such as a date key DATE for designating date information, a time key Hms for designating time information, and a set key SET for instructing setting of clock information. )
A mode setting switch MSW or the like is provided for selecting and specifying the clock mode (Time) and the clock mode (Time).

12はこの入力部11に設けられたデイトキーDATE
等の操作回数を計数するカウンタである。
12 is a date key DATE provided in this input section 11
This is a counter that counts the number of operations such as.

また13はこのカウンタ12のカウント出力、上記入力
部11より得られるフアンクシヨンキ一FK、小数点指
定キーDP、デイトキーDATE、時刻キーHms等の
エンコード出力、置数キーNKのキーコモン信号、セツ
トキーSETのキー信号、並びにモード設定スイツチM
SWのモード指定信号等の各種信号を受けて、上記各信
号の入力状態に応じ所定の演算フローを実行すべく各種
制御信号を出力する判断部、アドレス部、命令記憶部等
を備えてなる演算用制御部、14はこの演算用制御部1
3の制御指令に基づいて表示制御用並びにゲート制御用
等の各種タイミング信号を発生するタイミング信号発生
回路、15は上記演算用制御部13からの指令に基づき
、タイミング信号発生回路14より得られるタイミング
信号に同期して各種演算制御用コード並びに固有の各種
数値コード等を出力するコード発生器である。また、1
6X,16A,16B,16Cは置数表示並びに演算用
のデータを貯えるレジスタ、17はこれら各レジスタ1
6X,16A・・・・・・およびコード発生器15等よ
り出力されるコードデータを演算匍脚部13からの指令
に基づいて選択出力制御せしめるセレタタゲート回路、
18はこのセレクタゲート回路17より出力されるデー
タを受けて演算用制御部13からの指令に従つた演算を
実行する演算部、19はこの演算部18に供給される被
演算データを桁上げ制御せしめる桁上げ用の遅延回路、
20は上記演算部18の演算結果状態(キヤリ一、ホロ
一、またはデータの有無等)を判断して、その判断結果
を演算用制御部13に知らせるための判断部、21は±
記入力部11より出力される数値コード、演算部18よ
り得られる演算結果データ、並びに後述する計時用デー
タ等を入力し、演算用制御部13からの指令に基づいて
レジスタ16X,16A・・・・・・に選択供給制御せ
しめる入力制御用ゲート回路、22は上記レジスタ16
Xに貯えられた数値コード並びにレジスタ16Aに貯え
られた小数点コード等の表示用データをタイミング信号
発生回路14より得られるタイミング信号(桁パルス、
読込み/読出しパルス等)に基づく制御で認識表示せし
める表示部である。また23は上記入力部11より得ら
れるセツトキーSETのキー信号並びにモード指定スイ
ツチMSWのモード指定信号等を受けて計時制御用の各
種指令信号を出力する計時用制御部、24は計時用の基
準信号を出力する基準信号発生器、25はこの基準信号
発生器24より出力される基準信号を分周して計時用信
号(例えば1分/1パルス)を得る分周器、26は月日
、曜訊午前/午後、時分等の各種計時用データを貯える
時計用レジスタ、27は時計用レジスタ26に貯えられ
データと上記分周器25より出力される計時用信号とを
受けて計時用制御部23からの指令に基づき被演算用デ
ータを出力制御せしめる演算入力用ゲート回路、28は
この演算入力用ゲート回路27より出力される被演算デ
ータの加算を行なう計時用のアダー回路、29は上記レ
ジスタ16X,16Aに貯えられたデータを計時用制御
部23からの指令に基づいて出力制御せしめる計時情報
入力転送用ゲート回路、30はこの入力転送用ゲート回
路29の出力、上記計時用アダー回路28の出力、およ
び計時用レジスタ26のリサキユレート出力等を受け計
時用制御部23の指令に基づいて計時用レジスタ26に
選択供給制御せしめる入力制御用ゲート回路、31は計
時用レジスタ26より得られる計時用データを計時用制
御部23の指令に基づいて人力制御用ゲート回路21に
供給制御せしめるための計時情報出力転送用ゲート回路
である。
Reference numeral 13 denotes the count output of the counter 12, the encode outputs of the function key FK, decimal point designation key DP, date key DATE, time key Hms, etc. obtained from the input section 11, the key common signal of the numeric key NK, and the key signal of the set key SET. , and mode setting switch M
An arithmetic operation system comprising a judgment section, an address section, an instruction storage section, etc., which receives various signals such as SW mode designation signals and outputs various control signals to execute a predetermined operation flow according to the input state of each of the above-mentioned signals. 14 is this calculation control unit 1.
A timing signal generation circuit 15 generates various timing signals for display control, gate control, etc. based on control commands 3; and 15 a timing obtained from the timing signal generation circuit 14 based on commands from the arithmetic control section 13; This is a code generator that outputs various arithmetic control codes and various unique numerical codes in synchronization with signals. Also, 1
6X, 16A, 16B, and 16C are registers that store data for numeric display and calculation, and 17 is each of these registers 1.
6X, 16A... and a selector gate circuit that selectively controls the output of code data output from the code generator 15, etc., based on commands from the arithmetic armature unit 13;
18 is an arithmetic unit that receives data output from the selector gate circuit 17 and executes arithmetic operations according to instructions from the arithmetic control unit 13; 19 is a carry control unit for the operand data supplied to the arithmetic unit 18; delay circuit for carry
20 is a determination unit for determining the state of the calculation result of the calculation unit 18 (carriage, hollow, presence or absence of data, etc.) and notifying the calculation control unit 13 of the determination result; 21 is ±;
Numerical codes output from the input unit 11, calculation result data obtained from the calculation unit 18, timekeeping data to be described later, etc. are input, and based on instructions from the calculation control unit 13, the registers 16X, 16A, . . . . . . , an input control gate circuit for controlling selective supply, 22 is the register 16 mentioned above.
Display data such as the numeric code stored in
This is a display unit that recognizes and displays information under control based on reading/reading pulses, etc.). Further, 23 is a timekeeping control section which outputs various command signals for timekeeping control in response to the key signal of the set key SET and the mode specification signal of the mode specification switch MSW obtained from the input section 11, and 24 is a reference signal for timekeeping. 25 is a frequency divider that divides the reference signal output from the reference signal generator 24 to obtain a timekeeping signal (for example, 1 minute/1 pulse); 26 is a frequency divider that outputs the month, day, and day of the week; A clock register 27 stores various timekeeping data such as morning/afternoon, hours and minutes, and 27 is a timekeeping control unit that receives the data stored in the clock register 26 and the timekeeping signal output from the frequency divider 25. 23 is an arithmetic input gate circuit that outputs and controls the operand data based on instructions from the arithmetic input gate circuit 27; 28 is a timekeeping adder circuit that adds the operand data output from the arithmetic input gate circuit 27; and 29 is the above-mentioned register. A timekeeping information input transfer gate circuit that outputs and controls the data stored in 16X and 16A based on a command from the timekeeping control section 23; 30 is the output of this input transfer gate circuit 29; An input control gate circuit receives the output and the recirculated output of the timekeeping register 26 and controls the selective supply to the timekeeping register 26 based on commands from the timekeeping control unit 23; 31 is timekeeping data obtained from the timekeeping register 26; This is a timekeeping information output transfer gate circuit for controlling the supply of information to the human control gate circuit 21 based on a command from the timekeeping control section 23.

而して、上記演算用制御部13は、四則演算を含む通常
演算を実行せしめるための演算制御機能以外に、入力さ
れた日付情報に基づく日数演算、並びにこの日数演算結
果に基づく曜日演算を実行せしめるための演算制御機能
を持つもので、この日数演算並びに曜日演算手段を図面
を参照して説明しておく。
In addition to the calculation control function for executing normal calculations including the four arithmetic operations, the calculation control unit 13 also performs day calculation based on the input date information and day calculation based on the result of the day calculation. The means for calculating the number of days and the day of the week will be explained with reference to the drawings.

先ず日数演算は、閏年およびl箇月の日数差を考慮して
求める必要があるため、次のような演算形式を求める。
すなわち、起算日として例えば西暦0年3月1日(月曜
日)の日付データを予め演算用制御部13の固定記憶部
等に記憶しておき、これを起算日として用いる。而して
酉暦a年b月c日までの日数を求める際、b〉3であれ
ば、bく3であれば、 (但し1,2式共、年の項は小数点以下切捨、月の項は
小数点以下四捨五人)の演算を行なう。
First, it is necessary to calculate the number of days by taking into account leap years and the difference in the number of l months, so the following calculation format is calculated.
That is, as the starting date, for example, date data of March 1, 2006 (Monday) is stored in advance in the fixed storage unit of the calculation control unit 13, and this is used as the starting date. Therefore, when calculating the number of days until day b, month c, year a in the Rooster Calendar, if b > 3, if b minus 3, then (however, in formulas 1 and 2, the year term is rounded down to the decimal point, The term is rounded off to the nearest whole number.

更に上記1式または2式の演算結果値に+1補正を行な
うことにより、設定年月田こ対する日数情報が得られる
。この際の日付情報(a年b月c日)の設定は、入力部
11に設けられた置数キーNKの操作で年(a),月(
b),印c)の各単位数値情報を置数する度に、デイト
キーDATEを1回ずつ操作してゆくことにより行なわ
れるもので、デイトキーDATEが3回操作されたこと
を示すカウンタ12の出力が演算用制御部13に送られ
ることにより、演算用制御部13から上記1式または2
式の演算を実行すべく各種制御指令信号が出力されるも
のである。更にこの際コード発生器15では、演算用制
御部13からの指令に基づき、その演算に必要な「36
5.25],「30.6」,「9」,「3」,「1」等
の固有の各種数値コードを発生以 この数値コードと上
記日付情報とを被演算データとして上記1式または2式
の演算が実行される。第2図はこの際の日数演算フロー
を示すもので、図中ARegはレジスタ16A.BRe
gはレジスタ16Bを示す。而して上記演算フローに基
づいて日数情報が求められると、演算用制御部13では
、次に日数情報から設定田こ対する曜日を求めるべく演
算制御指令を出力する。この曜日演算は上記日数演算で
求められた日数情報を「7]で除算し、その剰余を躍田
情報とするもので、剰余数と曜日との関係は、[剰余0
→日曜日」、「剰余1→月曜日」、・・・・・・「剰余
6→土曜日」となる。ここで設定年月日を1976年1
1月20日とした際の演算結果例を第3図に示す。この
場合は日数演算結果値が+1補正後「722000」と
なり、これを「7」で除算して剰余「6」を求めること
により、この剰余「6」が土曜日を示す曜E]−情報と
なる。而してこの曜日演算が自動的に実行された後は、
入力部11の置数キーNK操作と時刻キーHms操作と
により時刻情報(実施例では「時],「分」情報のみと
する)の設定が行なノブ われるもので、これら一連のフローステツプを第4図に
示す。
Furthermore, by correcting the calculation result value of the above formula 1 or 2 by +1, the number of days information for the set year and month can be obtained. At this time, the date information (year a, month b, day c) can be set by operating the number keys NK provided on the input section 11.
This is done by operating the date key DATE once each time each unit numerical information shown in b) and c) is entered, and the output of the counter 12 indicates that the date key DATE has been operated three times. is sent to the calculation control unit 13, so that the calculation control unit 13 outputs the above formula 1 or 2.
Various control command signals are outputted to execute the calculations of the equations. Furthermore, at this time, the code generator 15 generates the "36
5.25], "30.6", "9", "3", "1", etc. This numerical code and the above date information are used as operand data in formula 1 or 2 above. The expression's operation is performed. FIG. 2 shows the flow of calculating the number of days in this case, and in the figure, AReg is the register 16A. BRe
g indicates register 16B. When the number of days information is determined based on the above calculation flow, the calculation control section 13 then outputs a calculation control command to determine the day of the week corresponding to the set value from the number of days information. This day of the week calculation divides the number of days information obtained by the above days calculation by "7" and uses the remainder as the Yukuta information. The relationship between the remainder number and the day of the week is [remainder 0
→ Sunday", "Remainder 1 → Monday", ... "Remainder 6 → Saturday". Here, set the date to 1976.
FIG. 3 shows an example of the calculation results when January 20th is set. In this case, the day number calculation result value is "722000" after +1 correction, and by dividing this by "7" to obtain a remainder "6", this remainder "6" becomes the day of the day E]-information indicating Saturday. . After this day of the week calculation is automatically executed,
By operating the numeric key NK and time key Hms on the input unit 11, time information (in the embodiment, only "hour" and "minute" information) is set and the knob is turned. It is shown in Figure 4.

なお、上記した日付設定時に於ける年情報の置数は、西
暦年数の下位2桁のみをキー操作により置数し、上位2
桁の年数情報は不変情報として日数演算時に演算用制御
部13の指令で自動的に付加する機能構成としている。
In addition, when setting the date mentioned above, enter only the lower two digits of the year using keys, and enter the upper two digits of the year.
The functional configuration is such that the digit year information is automatically added as unchangeable information by a command from the calculation control unit 13 when calculating the number of days.

また、曜印情報の認識表示は、表示部22の各桁(例え
ば8桁構成)毎に設けられている小数点表示用セグメン
トを用い、更に各桁の小数点表示用セグメントに対応し
てパネル面部に曜日情報(例えば日,月・・・・・・土
、またはSUN,MON・・・・・・SAT等)を示す
文字を付して、時計情報表示の際は小数点表示用セグメ
ントを曜日情報に基づいた個数まで点灯せしめ、曜日を
認識表示せしめるものとしている。ここで第5図を参照
して作用を述べると、時計情報を設定する際は、先ず入
力部11に設けられたモード設定スイツチMSWを時計
モード(Time)に設定した後、同じく入力部11に
設けられた置数キーNKおよびデイトキーDATEを上
記した如く交互に操作して日付(年月日)情報の設定を
行なう。
In addition, the day sign information is recognized and displayed using a decimal point display segment provided for each digit (e.g., 8 digit configuration) of the display section 22, and a panel surface section corresponding to the decimal point display segment of each digit. Add characters to indicate the day of the week information (for example, Sun, Mon...Sat, or SUN, MON...SAT, etc.), and when displaying clock information, set the decimal point display segment to the day of the week information. The day of the week is recognized and displayed by lighting up to the number based on the number. Here, to describe the operation with reference to FIG. 5, when setting clock information, first set the mode setting switch MSW provided in the input section 11 to the clock mode (Time), and then set the mode setting switch MSW provided in the input section 11 to the clock mode (Time). Date (year, month, day) information is set by alternately operating the provided number key NK and date key DATE as described above.

すなわち、設定年月日を1976年11月20日とした
場合は、先ず第5図aに示す如く、年情報の下位2桁「
76」を置数する。これにより入力部11から出力され
る置数キーNKのキーコモン信号が演算用制御部13に
送らね これに基づく演算用制御部13からの指令で置
数コード「76」が入力制御用ゲート回路21を介して
レジスタ16Xの第1桁(LSD)および第2桁目に貯
えられる。更にレジスタ16Xに貯えられたコードデー
タ「76」は表示部22に送られ、デコードされて第5
図aに示す如く認識表示される。次に第5図bに示す如
くデイトキーDATEを1回操作することにより、カウ
ンタ12が+1歩進制御されるとともに、このデイトキ
ーDATEのエンコード出力が演算用制御部13に送ら
れて、これに基づく演算用制御部13からの指令で、レ
ジスタ16Xに貯えられているコードデータ「76]が
レジスタ16Aの第1、第2桁目に転送されるとともに
、レジスタ16Xの内容が3桁分桁上げされる。従つて
表示部22の表示状態は第5図bの如くとなる。次に第
5図cに示す如く月情報「11]を置数すると、この置
数コード「11」がレジスタ16Xの第1、第2桁目に
貯えられ、第5図cに示す如く認識表示される。
That is, if the setting date is November 20, 1976, first, as shown in Figure 5a, the lower two digits of the year information "
76". As a result, the key common signal of the numeric key NK output from the input unit 11 is sent to the arithmetic control unit 13. Based on this, a command from the arithmetic control unit 13 causes the numeric code “76” to be sent to the input control gate circuit 21. are stored in the first digit (LSD) and second digit of register 16X. Further, the code data "76" stored in the register 16X is sent to the display section 22, decoded and displayed as the fifth
It is recognized and displayed as shown in Figure a. Next, by operating the date key DATE once as shown in FIG. In response to a command from the calculation control unit 13, the code data "76" stored in the register 16X is transferred to the first and second digits of the register 16A, and the contents of the register 16X are carried up by three digits. Therefore, the display state of the display section 22 becomes as shown in FIG. 5b.Next, when month information "11" is entered as shown in FIG. It is stored in the first and second digits and is recognized and displayed as shown in FIG. 5c.

次に第5図dに示す如く、再びデイトキーDATEを1
回操作することにより、カウンタ12の内容が+1歩進
制御されて[2」となり、更に、レジスタ16Xの下位
2桁(第1、第2桁)に貯えられたコードデータ「11
」がレジスタ16Bの第1、第2桁目に転送されるとと
もに、レジスタ16Xの内容が更に3桁分桁上げされる
。従つて表示部22の表示状態は第5図dの如くとなる
。次に第5図eに示す如く、印情報「20]を置数する
と、この置数コード「20」がレジスタ16Xの第1、
第2桁目に貯えられ、表示部22の表示状態は第5図e
の如くとなる。次に第5図fに示す如く第3回目のデイ
トキーDATEが操作されることにより、カウンタ12
の内容が「3」となつて、これが演算用制御部13に送
られ、演算用制御部13では、このカウント出力「3」
により、日付情報の置数が終了したことを判断して、上
記したような日数演算並びに曜日演算を実行すべく各種
制御指令を出力する。而してこの制御指令に基づき、コ
ード発生器15より得られる「365.25」 , 「
30.6」,「9」,「3」 ,「1]等の各種固有数
値コードとレジスタ16A,16B,16Cに貯えられ
ている年,月,日数値コードとがセレクタゲート回路1
7で選択されて演算部18に逐次供給され、上記第2図
に示した演算モードに従う日数演算が実行される。更に
日数演算結果が求められると、再び演算用制御部13か
らの指令で、日数演算結果とコード発生器15より新た
に出力される固有の数値コード「7」とがセレクタゲー
ト回路17を介して演算部18に送られ、日数演算結果
値を被除数とし、数値コード[7]を除数としてその剰
余を求めるべく曜日演算が実行される。而してこの曜日
演算によつて曜田情報すなわち剰余数(第3図参照)が
求められると、レジスタ16A,16B,16Cの内容
が旦クリアされると吉もに、演算部18より得られる曜
日情報すなわち剰余数が入力制御用ゲート回路21を介
してレジスタ16B,16Cの所定桁(例えば第10桁
目)に貯えられる。更に演算用制御部13では、上記レ
ジスタ16に貯えられた剰余数を参照してレジスタ16
Aの第8桁目より下位桁に向けで」)数点コード「14
」を順次書込むための制御指令を発し、この指令に基づ
く演算制御動作でレジスタ16Aの第8桁目より順次下
位桁に向け小数点コード「14」・・・・・・が所定桁
貯えられる。すなわち、レジスタ16Aに第8桁目より
小数点コード「14」が貯えられる度に、レジスタ16
Cに貯えられている剰余数が演算部18により−1減算
され、演算部18よりボロ一信号が出力されるまで、す
なわち、レジスタ16Cに貯えられた剰余数が[−0」
になるまで、レジスタ16Aへの小数点コード[14」
・・・・・・の書込みが実行される。従つて、曜日演算
により求められた剰余数が「6」(土曜日)であれば、
レジスタ16Aの第2桁目乃至第8桁に小数点コード「
14]・・・・・・が書込まれる。而してレジスタ16
Aに貯えられた小数点コード「14」・・・・・・はレ
ジスタ16Xに貯えられている設定年月十情報と共に表
示部22に送られ、従つて表示部22には第5図fに示
す如く、設定日付情報並びにこの設定日付に対応した小
数点表示による曜日情報が認識表示される。このように
して、日付設定情報に基づき曜日情報が自動的に設定さ
れ、認識表示される。而して曜日情報が自動設定された
後は、置数キーNK並びに時刻キー11IT]Sを操作
して時刻(時,分)情報の設定を行なう。すなわち、設
定時刻を8時30分(午前)とした場合は、先ず第5図
gに示す如く時情報「8」を置数する。これにより置数
キーNKのキーコモン信号が演算用制御部13に送られ
、この際の制御指令により、レジスタ16Xに貯えられ
ている日付情報がレジスタ16Bに移されるとともに、
クリア状態になつたレジスタ16Xの第1桁目に時情報
「8」が貯えられる。而してこのレジスタ16Xに貯え
られた置数コード「8」は表示部22に送られ、第5図
gに示す如く設定すべき時情報[8」が認識表示される
。次に第5図hに示す如く時刻キーHmsを1回操作す
ることにより、この時刻キーHmsのエンコード出力が
演算用制御部13に送られて、これに基づく演算制御部
13からの指令により、レジスタ16Xの内容が3桁分
桁上げさね更にレジスタ16Bの第1、第2桁目に貯え
られている日情報「20」がレジスタ16Xの第7、第
8桁目に転送されるとともに、このレジスタ16Xの内
容とレジスタ16Aに貯えられている曜日表示用情報、
すなわち小数点コード「14」・・・・・・とが表示部
22に送られる。従つて表示部22には第5図hに示す
如く、日情報、時情報、並びに小数点表示による曜El
′隋報が認識表示される。次に第5図1に示す如く、分
情報「30」が置数されると、この置数コード「30]
がレジスタ16Xの第11第2桁に貯えられ、これによ
つて表示部22の表示状態は第5図1の如くとなる。こ
の際、設定時刻が午後(PM)である際は、上記分情報
の設定後に、午後の時刻設定であることを示す或る特定
のフアンクシヨンキ一が操作されて、その午後の設定情
報(1ビツト)が予め定められたレジスタ16Bまたは
16Cの所定桁内に貯えられ、時刻の表示時に於いて表
示部22の最下桁(第1桁目)に小数点表示されるもの
であるが、ここでは詳細な説明を省略する。而して、時
刻情報の設定後に於いて、第5図jに示す如くセツトキ
ーSETを操作することにより、このセツトキーSET
のキー信号が演算用制御部13に送られて、演算用制御
部13からは入力された日付(月、日)情報、時刻(時
、分)情報、並びに自動的に求められた曜日情報等の設
定用時計情報を時系列順位に従つてレジスタ16Cへ組
込むための転送情報作成用の制御指令を出力する。これ
によつてレジスタ16Bに貯えられている月卵情報およ
び曜即情報、レジスタ16Xに貯えられている時分情報
等が時系列順位に従つて順次レジスタ16Cに転送され
、時系列順位に従つた情報が順次レジスタ16Cの上位
桁より貯えられる。更にレジスタ16Cに上記各設定用
の情報が貯えられると、演算用制御部13からの転送指
令に基づいてレジスタ16Cの内容が入力転送用ゲート
回路29に送られる。方、セツトキーSETのキー信号
は計時用制御部23にも送られ、計時用制御部23では
このキー信号に基づき、所定タイミングをもつて入力転
送用ゲート回路29並びに入力制御用ゲート回路30を
開制御する。これによつてレジスタ16Cより出力され
た設定用の情報は入力転送用ゲート回路29並びlこ入
力制御用ゲート回路30を介して順次計時用レジスタ2
6に貯えられる。而して上記情報の転送後、レジスタ1
6X,16A,16B,16Cの内容が全てクリアされ
、一方、計時用レジスタ26に貯えられた情報は分周器
25より得られる計時パルスと共に演算入力用ゲート回
路27を介しアダー回路28に送られて、時刻並びにカ
レンダ系のカウント動作が実施されノて計時用レジスタ
26の内容が歩進制御される。
Next, as shown in Figure 5d, the date key DATE is set to 1 again.
By operating the counter 12 times, the contents of the counter 12 are incremented by +1 and become [2], and the code data "11" stored in the lower two digits (first and second digits) of the register 16X is added.
'' is transferred to the first and second digits of register 16B, and the contents of register 16X are further carried up by three digits. Therefore, the display state of the display section 22 is as shown in FIG. 5d. Next, as shown in FIG. 5e, when mark information "20" is entered, this number code "20" becomes
It is stored in the second digit, and the display state of the display section 22 is as shown in Fig. 5e.
It will be as follows. Next, as shown in FIG. 5f, when the date key DATE is operated for the third time, the counter 12
The content of ``3'' is sent to the calculation control unit 13, and the calculation control unit 13 outputs this count as ``3''.
When it is determined that the number of date information has been set, various control commands are outputted to execute the number of days calculation and the day of the week calculation as described above. Based on this control command, the code generator 15 obtains "365.25", "
The selector gate circuit 1 uses various unique numerical codes such as ``30.6'', ``9'', ``3'', and ``1'' and the year, month, and day numerical codes stored in registers 16A, 16B, and 16C.
7 and are sequentially supplied to the calculation section 18, where the number of days calculation is executed according to the calculation mode shown in FIG. 2 above. When the number of days calculation result is further determined, the number of days calculation result and the unique numerical code "7" newly output from the code generator 15 are sent via the selector gate circuit 17 according to a command from the calculation control unit 13 again. The data is sent to the calculation unit 18, and a day of the week calculation is performed using the day number calculation result value as the dividend and the numerical code [7] as the divisor to find the remainder. Then, when the Yoda information, that is, the remainder number (see Fig. 3) is obtained by this day-of-the-week calculation, once the contents of the registers 16A, 16B, and 16C are cleared, the calculation unit 18 can obtain the Yoda information. Day of the week information, ie, the remainder number, is stored in a predetermined digit (for example, the 10th digit) of the registers 16B and 16C via the input control gate circuit 21. Furthermore, the arithmetic control unit 13 refers to the remainder stored in the register 16 and sets the value in the register 16.
From the 8th digit of A to the lower digits") number code "14"
'' is issued, and a predetermined number of decimal point codes ``14'' are stored sequentially from the 8th digit to the lower digits of the register 16A by arithmetic control operations based on this instruction. That is, every time the decimal point code "14" is stored in the register 16A from the 8th digit, the register 16A
The remainder number stored in register 16C is subtracted by -1 by the calculation unit 18, and until the calculation unit 18 outputs the BORO-1 signal, that is, the remainder number stored in register 16C becomes [-0].
Decimal point code [14'' to register 16A until
. . . writing is executed. Therefore, if the remainder number calculated by the day of the week calculation is "6" (Saturday),
The decimal point code is written in the second to eighth digits of register 16A.
14]... is written. Therefore, register 16
The decimal point code "14" stored in A is sent to the display unit 22 along with the setting year, month and ten information stored in the register 16X, and therefore the display unit 22 shows the information shown in FIG. 5f. Thus, the set date information and the day of the week information corresponding to the set date are recognized and displayed using decimal points. In this way, the day of the week information is automatically set based on the date setting information and is recognized and displayed. After the day of the week information is automatically set, time (hours, minutes) information is set by operating the numeric keys NK and time keys 11IT]S. That is, when the set time is 8:30 (am), the hour information "8" is first set as shown in FIG. 5g. As a result, the key common signal of the numeric key NK is sent to the calculation control unit 13, and according to the control command at this time, the date information stored in the register 16X is transferred to the register 16B, and
Time information "8" is stored in the first digit of the register 16X which is in the clear state. The numeric code "8" stored in this register 16X is sent to the display section 22, and the time information "8" to be set is recognized and displayed as shown in FIG. 5g. Next, by operating the time key Hms once as shown in FIG. The contents of register 16X are carried up by three digits, and the date information "20" stored in the first and second digits of register 16B is transferred to the seventh and eighth digits of register 16X. The contents of this register 16X and the day of the week display information stored in register 16A,
That is, the decimal point code "14" . . . is sent to the display section 22. Therefore, as shown in FIG.
'The news is recognized and displayed. Next, as shown in FIG.
is stored in the 11th second digit of the register 16X, and the display state of the display section 22 becomes as shown in FIG. 51. At this time, when the set time is in the afternoon (PM), after setting the above minute information, a certain function key indicating that the time is set in the afternoon is operated, and the setting information (1 bit) for that afternoon is operated. ) is stored within a predetermined digit of the predetermined register 16B or 16C, and the decimal point is displayed in the lowest digit (first digit) of the display section 22 when the time is displayed. Further explanations will be omitted. After setting the time information, by operating the set key SET as shown in FIG.
The key signal is sent to the calculation control unit 13, and the calculation control unit 13 outputs input date (month, day) information, time (hour, minute) information, automatically determined day of the week information, etc. It outputs a control command for creating transfer information to incorporate clock information for setting into the register 16C in chronological order. As a result, the monthly information and day-of-the-day information stored in the register 16B, the time and minute information stored in the register 16X, etc. are transferred to the register 16C in order according to the chronological order, and the information is transferred to the register 16C in accordance with the chronological order. Information is stored sequentially from the upper digits of register 16C. Furthermore, when the information for each of the above settings is stored in the register 16C, the contents of the register 16C are sent to the input transfer gate circuit 29 based on a transfer command from the calculation control section 13. On the other hand, the key signal of the set key SET is also sent to the timekeeping control section 23, and the timekeeping control section 23 opens the input transfer gate circuit 29 and the input control gate circuit 30 at a predetermined timing based on this key signal. Control. As a result, the setting information outputted from the register 16C is sequentially passed through the input transfer gate circuit 29 and the input control gate circuit 30 to the timekeeping register 2.
It can be stored in 6. After transferring the above information, register 1
The contents of 6X, 16A, 16B, and 16C are all cleared, and on the other hand, the information stored in the clock register 26 is sent to the adder circuit 28 through the calculation input gate circuit 27 along with the clock pulse obtained from the frequency divider 25. Then, time and calendar counting operations are performed, and the contents of the time register 26 are controlled in increments.

而して任意時に時計情報を認識したい際は、入力部11
に設けられた図示しない特定のキーを操作することによ
り、このキー信号が計時用制御部23および演算用制御
部13に送られて、そのキー操作時点に於ける計時用レ
ジスタ26の内容が出力転送用ゲート回路31、入力制
御用ゲート回路21等を介しレジスタ16Cに転送され
、更に、その際の曜1B−隋報(数値0〜6)に基づい
て小数点コード「14」がレジスタ16Aに貯えられる
とともに、日情報、時情報、分情報等がレジスタ16X
の所定桁に貯えられて、曜日並びに日付、時刻情報が表
示部22に認識表示される。また、入力部11に設けら
れたモード設定スイツチMSWを演算モード(COm)
に設定することにより、通常演算の実施が可能となり、
演算数並びに演算結果等が表示部22に認識表示される
。この際時計情報の表示は行なわれないが、時計情報の
計時動作は続行される。なお上記した実施例に於いては
、設定された日付情報に基づいて自動的に得られる曜印
情報(0〜6)を小数点表示により認識せしめる機能構
成として説明したが、これに限定されるものではなく、
例えば田時、分の各情報を小数点で区切つて認識表示せ
しめ、予め定られた表示桁(1桁)に、0〜6の数値を
表示して曜日を認識せしめるようにしてもよく、又、曜
日情報を三桁区切表示により認識せしめるようにしても
よい。
If you want to recognize the clock information at any time, input section 11
By operating a specific key (not shown) provided in the key, this key signal is sent to the timekeeping control unit 23 and calculation control unit 13, and the contents of the timekeeping register 26 at the time of the key operation are output. It is transferred to the register 16C via the transfer gate circuit 31, the input control gate circuit 21, etc., and further, the decimal point code "14" is stored in the register 16A based on the day 1B-Seiho (numerical value 0 to 6) at that time. In addition, day information, hour information, minute information, etc. are stored in register 16X.
The day of the week, date, and time information are stored in predetermined digits and are recognized and displayed on the display unit 22. In addition, the mode setting switch MSW provided in the input section 11 is set to the calculation mode (COm).
By setting it to , normal calculations can be performed.
The number of calculations, the calculation results, etc. are recognized and displayed on the display unit 22. At this time, the clock information is not displayed, but the clock information continues to be counted. In the above-mentioned embodiment, the functional configuration is described as one in which the day mark information (0 to 6) automatically obtained based on the set date information is recognized by displaying a decimal point, but the present invention is not limited to this. not,
For example, each hour and minute information may be recognized and displayed separated by a decimal point, and the day of the week may be recognized by displaying a numerical value from 0 to 6 in a predetermined display digit (1 digit). The day of the week information may be recognized by displaying it in three-digit divisions.

更に上記実施例では年情報を下位2桁としたが、4桁入
力でも行なえることは勿論である。更に又、上記実施例
では西暦情報を年月、印情報としたが、計算式、並びに
起算日を変化させることにより、「明治]、「大正]、
「昭和]等の「元号」でもよいものである。以上詳記し
たようにこの発明によれば、時計機能を付加した小型電
子式計算機に於いて、設定すべき日付情報が入力された
際に、その設定用日付情報に基づいて自動的に曜日情報
を求め、この曜印情報を計時用回路に転送し設定せしめ
るとともに、認識表示せしめる機能構成として、曜El
−隋報の設定機構を設けることなく、曜日の自動設定が
行なえ、以つて操作機構の簡素化、並びに設定操作の迅
速、容易化が実施できる曜日設定方式が提供できる。
Further, in the above embodiment, the year information is the lower two digits, but it is of course possible to input four digits as well. Furthermore, in the above embodiment, the Western calendar information is the year, month, and stamp information, but by changing the calculation formula and the starting date, it can be changed to "Meiji", "Taisho",
An ``era name'' such as ``Showa'' may also be used. As detailed above, according to the present invention, when date information to be set is input in a small electronic calculator equipped with a clock function, day of the week information is automatically set based on the date information for setting. This day-of-day stamp information is transferred to the timekeeping circuit for setting, and the day-of-day El is used as a functional configuration for recognition and display.
- It is possible to provide a day-of-the-week setting method that can automatically set the day of the week without providing an alert setting mechanism, simplifying the operating mechanism and making the setting operation quick and easy.

更に計算械の演算機能部を有効′こ利用して、設定用日
付情報の入力に基づく日数演算並びにこの日数演算結果
に基づく設定すべき曜日の演算を行なわせしめ、以つて
時計機能部に於ける回路構成の複雑化を招くことなく、
経済的に有利な構成で自動的に曜EI′清報を求めるこ
とのできる曜日設定方式が提供できる。
Furthermore, the arithmetic function section of the computer is effectively used to calculate the number of days based on the input of date information for setting, and the day of the week to be set based on the result of the calculation of the number of days. without complicating the circuit configuration.
It is possible to provide a day-of-the-week setting method that can automatically obtain the day-of-day EI' update with an economically advantageous configuration.

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

第1図はこの発明の一実施例を示すプロツク構成図、第
2図は上記実施例に於ける日数演算動作を説明するため
のフローチヤート、第3図は上記実施例に於ける日数演
算例を示す図、第4図は上記実施例に於ける日付情報の
設定から時刻情報の設定までの概略ステツプを示すフロ
ーチヤート、第5図a乃至jは上記実施例に於ける動作
を説明するためのキー操作手段並びにこれに伴う表示状
態を示す図である。 11・・・・・・入力部、DATE・・・・・・デイト
キー、Hms時刻キー、SET・・・・・・セツトキー
、MSW・・・・・・モード設定スイツチ、12・・・
・・・カウンタ、13・・・・・・演算用制御部、15
・・・・・・コード発生器、16X,16A,16B,
16C・・・・・・レジスタ、18・・・・・・演算部
、23・・・・・・計時用制御部、26・・・・・・計
時用レジスタ。
Fig. 1 is a block diagram of a block diagram showing an embodiment of the present invention, Fig. 2 is a flowchart for explaining the operation of calculating the number of days in the above embodiment, and Fig. 3 is an example of calculating the number of days in the above embodiment. FIG. 4 is a flowchart showing the general steps from setting date information to setting time information in the above embodiment, and FIGS. 5 a to 5 j are for explaining operations in the above embodiment. FIG. 3 is a diagram showing key operation means and display states associated with the key operation means. 11...Input section, DATE...Date key, Hms time key, SET...Set key, MSW...Mode setting switch, 12...
... Counter, 13 ... Calculation control section, 15
・・・・・・Code generator, 16X, 16A, 16B,
16C...Register, 18...Arithmetic unit, 23...Timekeeping control unit, 26...Timekeeping register.

Claims (1)

【特許請求の範囲】[Claims] 1 時計機能を付加してなる小型電子式計算機に於いて
、日付情報が入力可能な入力部と、この入力部に入力さ
れた日付設定情報に基づいて、演算機能部により、日数
演算を実行せしめるとともに、この日数演算結果に基づ
いて曜日演算を実行せしめる演算機能手段と、この演算
機能手段によつて求められた曜日情報を認識表示せしめ
る手段と、前記曜日情報を計時用回路に転送し設定せし
める手段とを具備してなることを特徴とした曜日設定方
式。
1. In a small electronic calculator equipped with a clock function, there is an input section into which date information can be inputted, and the arithmetic function section executes a calculation of the number of days based on the date setting information input to this input section. Also, a calculation function means for executing day of the week calculation based on the result of the day number calculation, means for recognizing and displaying the day of the week information obtained by the calculation function means, and transferring the day of the week information to a timekeeping circuit for setting. A day of the week setting method characterized by comprising means.
JP51143587A 1976-11-30 1976-11-30 Day of the week setting method Expired JPS5935459B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51143587A JPS5935459B2 (en) 1976-11-30 1976-11-30 Day of the week setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51143587A JPS5935459B2 (en) 1976-11-30 1976-11-30 Day of the week setting method

Publications (2)

Publication Number Publication Date
JPS5368141A JPS5368141A (en) 1978-06-17
JPS5935459B2 true JPS5935459B2 (en) 1984-08-29

Family

ID=15342193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51143587A Expired JPS5935459B2 (en) 1976-11-30 1976-11-30 Day of the week setting method

Country Status (1)

Country Link
JP (1) JPS5935459B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH047250Y2 (en) * 1986-12-02 1992-02-26

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH047250Y2 (en) * 1986-12-02 1992-02-26

Also Published As

Publication number Publication date
JPS5368141A (en) 1978-06-17

Similar Documents

Publication Publication Date Title
US5222209A (en) Schedule displaying device
US4774697A (en) Electronic timepiece including a schedule memory device
US4274146A (en) Calendar data display device for an electronic device
US4428681A (en) Date display device
JPS5935459B2 (en) Day of the week setting method
US5025427A (en) Electronic display device for displaying calendar information
JPS6037437B2 (en) calendar display device
JPH08335210A (en) Input device
JPH0615313Y2 (en) Data storage device
JP2984770B2 (en) Electronic clock
JP2513600Y2 (en) Data bank device
JPH0726761Y2 (en) Data storage
JPS6158860B2 (en)
JPH0720634Y2 (en) Date data storage device
JPS6040066B2 (en) Calendar information display method
JPH0726760Y2 (en) Alarm time data storage device
JPH0214745B2 (en)
US4192135A (en) Portable electronic device
JPH0661085B2 (en) Electronic schedule calendar date specification method
JPH082701Y2 (en) Calendar display
JPS59196494A (en) Electronic schedule board controller
JPH01159763A (en) Electronic memorandum
JPH0710371Y2 (en) Timetable display
JPH052877Y2 (en)
JPS6342238B2 (en)