JPS5835636A - Date controller - Google Patents
Date controllerInfo
- Publication number
- JPS5835636A JPS5835636A JP56134439A JP13443981A JPS5835636A JP S5835636 A JPS5835636 A JP S5835636A JP 56134439 A JP56134439 A JP 56134439A JP 13443981 A JP13443981 A JP 13443981A JP S5835636 A JPS5835636 A JP S5835636A
- Authority
- JP
- Japan
- Prior art keywords
- data
- year
- day
- month
- date
- 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
Links
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G99/00—Subject matter not provided for in other groups of this subclass
- G04G99/006—Electronic time-pieces using a microcomputer, e.g. for multi-function clocks
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Cash Registers Or Receiving Machines (AREA)
- Digital Computer Display Output (AREA)
- Calculators And Similar Devices (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は計時手段により、年、月、日の日付データを得
て、印字若しくは表示すべく制御する日付制御装置に関
する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a date control device that obtains date data of the year, month, and day using a timekeeping means and controls the data to be printed or displayed.
上記した日付制御装置は、たとえば電子卓上計算機とか
キャッシュレジスタに搭載して日付管理等に使用される
ものであるが、従来のこの種の装置では日付データであ
る年、月、日の印字若しくは表示順が固定化されている
ので次のような欠点があった。The above-mentioned date control device is installed in, for example, an electronic desktop calculator or a cash register and used for date management, etc., but conventional devices of this type do not print or display date data such as year, month, and day. Since the order is fixed, there are the following drawbacks.
即ち、日本でd年、月、日の順に表現するのが普通であ
っても、ヨーロッパでは日、月、年又米国では月、日、
年の順に表現するのが普通である。In other words, even though in Japan it is normal to express the year d, month, day, in Europe it is expressed as day, month, year, and in the United States it is expressed as month, day, day.
It is common to express them in chronological order.
このように、各国によって日付の表現が異なっておち、
又そのように表現することが一つの習慣となっているた
めに、従来装置のように日付の表現の順序が固定化され
ているものは全く汎用性がなく、したがって、従来は専
用の日付制御装置を用意しなければならなかった。In this way, dates are expressed differently in each country.
In addition, since it has become a habit to express dates in this way, conventional devices in which the order of date expression is fixed are not versatile at all. Equipment had to be prepared.
本発明はこのような従来の欠点に鑑み、日付データであ
る年、月、日の表現の順序を任意に変更することができ
る日付制御装置を提供するものであるっ
以下、図にもとづいて本発明装置の一実施例を詳細に説
明する。In view of these conventional drawbacks, the present invention provides a date control device that can arbitrarily change the order of representation of year, month, and day as date data. An embodiment of the inventive device will be described in detail.
第1図は本発明装置を備えた電子機器のブロック構成図
である。図中1は中央処理装置(CPU)、2はCPU
Iを制御するだめのプログラムを記憶させた制御メモリ
(ROM) 、8はプログラム制御の為のデータ等を一
時的に記憶するデータメモリ(RAM)である。FIG. 1 is a block diagram of an electronic device equipped with the device of the present invention. In the figure, 1 is the central processing unit (CPU), 2 is the CPU
A control memory (ROM) stores a program for controlling the I, and a data memory (RAM) 8 temporarily stores data for controlling the program.
4は数値入力とかCPUIに特別の仕事をさせることの
できるテンキー、ファンクションキーを備えて、キーコ
ントローラ5を介してこれらのキー信号をCPU1へ転
送できるように接続されたキーボード、6は機器のモー
ドを切換えるだめのモード切換スイッチ(MODESW
)、7は機器の仕様、即ち、年、月、日の印字若しくは
表示の順を変更するだめの仕様切換スイッチ(SW−B
) を示し、B−1及びB−2の2つのスイッチから
構成されている。4 is a keyboard that is equipped with a numeric keypad and function keys that can input numerical values or perform special tasks on the CPUI, and is connected so that these key signals can be transferred to the CPU 1 via the key controller 5; 6 is a device mode; The mode selector switch (MODESW)
), 7 is a specification changeover switch (SW-B) for changing the device specifications, i.e., the printing or display order of year, month, and date.
), and consists of two switches B-1 and B-2.
8はPBI〜PBIOのバッファメモリを備えて、CP
UIからの印字データを記憶するプリントバッファ、9
はCPUIの制御のもとに前記プリントバッファ8の印
字データを印字すべくプリンター10に転送制御するプ
リンターコントローラである。8 is equipped with a buffer memory of PBI to PBIO, and
Print buffer that stores print data from the UI, 9
is a printer controller that controls the transfer of print data in the print buffer 8 to the printer 10 for printing under the control of the CPUI.
一方、11はDBI−DBIOのバッファメモリを備え
て、CPU1から送られてくる表示データを記憶スルデ
ィスプレイバッファ、12はそのディスプレイバッファ
の表示データをCPU1の制御のもとに表示部13へ転
送して表示するディスプレイコントローラ、14は基準
発振信号fにもとづいて日付の算出及び自動更新を実行
し、年、月、日の各2桁のデータ(年データは西暦の下
2桁)をCPUIへ出力する日付データ出力装置である
。On the other hand, 11 is equipped with a DBI-DBIO buffer memory and stores display data sent from the CPU 1, and 12 is a display buffer that transfers the display data in the display buffer to the display unit 13 under the control of the CPU 1. The display controller 14 calculates and automatically updates the date based on the reference oscillation signal f, and outputs two-digit data each for the year, month, and day (the year data is the last two digits of the Western calendar) to the CPUI. This is a date data output device.
次に、第2図のフローチャートにもとづいて動作を詳細
に説明する。Next, the operation will be explained in detail based on the flowchart shown in FIG.
まず、キーボード4の日付印字を指示するファンクショ
ンキーの入力に従って、仕様切換スイッチ7を構成する
スイッチB−1のオン、オフ状態を判定する(ジャッジ
J1)。判定の結果オン状態であればステップA1にお
いて日データ(2桁)ヲフリントハ′ツフ180ノ(ソ
ファメモ1)P B 7 トPB8にセットし、ステッ
プA2”Fiデ=4 (6桁)をバッファメモリPB4
とPB5にセットし、ステップA3で年データ(2桁)
をノ(ソファメモリFBIとPB2にセットする。First, in accordance with the input of a function key instructing date printing on the keyboard 4, the on/off state of switch B-1 constituting the specification changeover switch 7 is determined (judge J1). If the result of the determination is that it is on, the date data (2 digits) is set to PB8 in step A1, and the date data (2 digits) is set in buffer memory PB4 in step A2.
and set it in PB5, and enter the year data (2 digits) in step A3.
Set ノ(in sofa memory FBI and PB2).
このようにして、日付データが日、月、年のj@でバッ
ファメモリに記憶させると、次にステップA に進みバ
ッフ1メモリPB8及びPB6に日付データを区別する
ためにドツト「・」の印字データをセットし、更にステ
ップA5でバッファメモリPB9及びPBIOにブラン
クデータをセットする。In this way, when the date data is stored in the buffer memory in the form of day, month, and year, the program proceeds to step A and prints a dot "." in buffer 1 memory PB8 and PB6 to distinguish the date data. Data is set, and blank data is further set in the buffer memories PB9 and PBIO in step A5.
ここで、各バッフ7メモIJPBI〜PBIOは印字桁
に対応しており、しだがって、今コントローラ9へCP
U1の印字指令が印加されると、プリントバッフ18の
データがプリンター10に送られて、日、月、年の順序
で印字される。Here, each buffer 7 memo IJPBI to PBIO corresponds to a printing digit, and therefore, the CP is now sent to the controller 9.
When the print command U1 is applied, the data in the print buffer 18 is sent to the printer 10 and printed in the order of day, month, and year.
一方、前記ジャッジJ1の判定で仕様切換スイッチを構
成するB−1スイツチがオフ状態の場合は、更にジャッ
ジJ2にて同B−2スイッチのオン、オフ状態を判定す
る。ここで、B−2スイツチがオン状態であれば、ステ
ップB1に進み、今度は月データをバッファメモIJ
P B 7及びPB8にセットし、ステップB2で日デ
ータを7(ソファメモリPB4及びPB5にセットし、
更にステップB3において年データをバッフ1メモIJ
P B 1及びFB2にセットする。そして、上記同
様にステップA、A を経てステップA6に進み、こ
の5
場合の日付データは月、日、年の順で印字される。On the other hand, if the judge J1 determines that the B-1 switch constituting the specification changeover switch is off, the judge J2 further determines whether the B-2 switch is on or off. Here, if the B-2 switch is on, proceed to step B1 and transfer the monthly data to the buffer memory IJ.
Set the day data to PB7 and PB8, and set the day data to 7 (sofa memory PB4 and PB5 in step B2,
Furthermore, in step B3, buffer 1 memo IJ of year data
Set to P B 1 and FB2. Then, as described above, the process proceeds to step A6 via steps A and A, and the date data in these five cases is printed in the order of month, day, and year.
更に、上記ジャッジJ2の判定でB−2スイツチがオフ
状態であれば、ステップCのフローに進む。即ち、ステ
ップC1ではまず年データを〕(ソファメモリPB7及
びPB8にセットし、ステップC2に進んで月データを
バッファメモリPB4及びPB5にセットし、更にステ
ップC3で日データをバッファメモリFBI及びPB2
にセットする。以後はステップA4A3.A6と進み、
年、月、日の順に印字される。以上の動作をまとめると
木表の通りである。Furthermore, if the B-2 switch is in the OFF state as determined by the judge J2, the flow advances to step C. That is, in step C1, year data is first set in sofa memories PB7 and PB8, proceeding to step C2, month data is set in buffer memories PB4 and PB5, and furthermore, in step C3, day data is set in buffer memories FBI and PB2.
Set to . After that, step A4A3. Proceed to A6,
Printed in the order of year, month, and day. The above operations can be summarized as shown in the table below.
なお、ディスプレイバッファ11にはプリントバッフ7
8に入るデータと同じ内容のものが入るように構成され
ているから、印字の場合と全く同じ順序で日付データを
表示することができる。Note that the display buffer 11 includes a print buffer 7.
Since it is structured so that the same content as the data entered in 8 is entered, the date data can be displayed in exactly the same order as in the case of printing.
上記実施例では仕様切換スイッチ7の状態を判定して日
付データの年、月、日の印字若しくは表示順を変更する
ように構成しだが、モード切換スイッチ6でン°ログラ
ムモードに設定し、データメモリ8に年、月、日の印字
及びその順序を数値データで記憶させることにより日付
データの印字若しくは表示順を変更するようにしてもよ
い。In the above embodiment, the state of the specification changeover switch 7 is determined to change the printing or display order of the year, month, and day of the date data. The printing or display order of date data may be changed by storing the year, month, day and their order in the memory 8 as numerical data.
以上の様に、本発明装置にあっては、日付データである
年、月、日の印字若しくは表示順を任意に変更すること
ができるから、専用の日付制御装置を仕様に合わせて何
台も用意する必要がなくなるという多大な効果を発揮す
ることができる。As described above, in the device of the present invention, the printing or display order of date data (year, month, and day) can be changed arbitrarily, so a number of dedicated date control devices can be installed according to the specifications. This has the great effect of eliminating the need for preparation.
第1図は本発明装置を備えた電子機器のブロック構成図
、第2図はフローチャート図である。
1は中央処理装置、2は制御メモリ、3はデータメモリ
、4はキーボード、6はモード切換スイッチ、7は仕様
切換スイッチ、8はプリントバッフハ 11はディスプ
レイノ(ソファ、14は日付データ出力装置。
代理人 弁理士 福 士 愛 彦FIG. 1 is a block diagram of an electronic device equipped with the device of the present invention, and FIG. 2 is a flowchart. 1 is a central processing unit, 2 is a control memory, 3 is a data memory, 4 is a keyboard, 6 is a mode changeover switch, 7 is a specification changeover switch, 8 is a print buffer, 11 is a display screen (sofa), 14 is a date data output device . Agent Patent Attorney Aihiko Fukushi
Claims (1)
字若しくは表示すべく制御するものにおいて、上記日付
データの年、月、日を任意の順序で印字若しくは表示し
得るように制御する順序制御手段を備えてなることを特
徴とする日付制御装置。1. In a device that obtains date data of the year, month, and day using a timekeeping means and controls the printing or display of the data, the year, month, and day of the date data are controlled so that the year, month, and day of the date data can be printed or displayed in any order. A date control device comprising a sequence control means.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56134439A JPS5835636A (en) | 1981-08-26 | 1981-08-26 | Date controller |
DE19823231421 DE3231421A1 (en) | 1981-08-26 | 1982-08-24 | Device for optionally grouping a date display supplied by a time hold circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56134439A JPS5835636A (en) | 1981-08-26 | 1981-08-26 | Date controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5835636A true JPS5835636A (en) | 1983-03-02 |
Family
ID=15128381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP56134439A Pending JPS5835636A (en) | 1981-08-26 | 1981-08-26 | Date controller |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPS5835636A (en) |
DE (1) | DE3231421A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0255195U (en) * | 1988-10-12 | 1990-04-20 |
-
1981
- 1981-08-26 JP JP56134439A patent/JPS5835636A/en active Pending
-
1982
- 1982-08-24 DE DE19823231421 patent/DE3231421A1/en not_active Ceased
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0255195U (en) * | 1988-10-12 | 1990-04-20 |
Also Published As
Publication number | Publication date |
---|---|
DE3231421A1 (en) | 1983-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS5947638A (en) | Chart producing device | |
JPH0570175B2 (en) | ||
JPS5835636A (en) | Date controller | |
JPH0227150B2 (en) | ||
JPS6037634Y2 (en) | calendar printing device | |
JP2705690B2 (en) | Display control device | |
US4346450A (en) | Electronic calculator having item count display | |
JPS59161723A (en) | Character processor | |
JPS5875262A (en) | Electronic computer | |
JPS6198471A (en) | Printer | |
JPH01321555A (en) | Document processor | |
JPS6315958Y2 (en) | ||
JPH0225210B2 (en) | ||
JPS62143171A (en) | Electronic scheduler | |
JPS5831222Y2 (en) | electronic desk calculator | |
JPS61240396A (en) | Pos system | |
JPS594331Y2 (en) | Document creation device with practice function | |
JPS59124882A (en) | Controlling system for printer | |
JPS61175765A (en) | Format setting system for document processor | |
JPS609290B2 (en) | Calendar printing method | |
JPS61258778A (en) | Uniform allocation printing controlling system | |
JPS6346535A (en) | Electronic typewriter | |
JPS60169924A (en) | Key input display system | |
JPH0470997A (en) | Transaction processor | |
JPS6349802B2 (en) |