JPS6362029B2 - - Google Patents

Info

Publication number
JPS6362029B2
JPS6362029B2 JP7078982A JP7078982A JPS6362029B2 JP S6362029 B2 JPS6362029 B2 JP S6362029B2 JP 7078982 A JP7078982 A JP 7078982A JP 7078982 A JP7078982 A JP 7078982A JP S6362029 B2 JPS6362029 B2 JP S6362029B2
Authority
JP
Japan
Prior art keywords
time
printer
card
printing
data
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
JP7078982A
Other languages
Japanese (ja)
Other versions
JPS58186890A (en
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 filed Critical
Priority to JP7078982A priority Critical patent/JPS58186890A/en
Publication of JPS58186890A publication Critical patent/JPS58186890A/en
Publication of JPS6362029B2 publication Critical patent/JPS6362029B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、モータによつて駆動されるプリンタ
を用いて就業データをタイムカードの所定の印字
欄に印字するタイムレコーダに関し、特に、タイ
ムカードの印字欄幅の可変に対して容易に対処す
ることができるタイムレコーダ用印字位置制御装
置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a time recorder that prints work data in a predetermined printing field of a time card using a printer driven by a motor, and particularly relates to a time recorder that prints work data in a predetermined printing field of a time card using a printer driven by a motor. The present invention relates to a print position control device for a time recorder that can easily handle changes in print field width.

〔従来の技術〕[Conventional technology]

現在使用されているタイムカードには、例え
ば、定時出勤欄、遅刻欄、早退欄、定時退出欄、
残業欄及び深夜残業欄等の各種印字欄が横に並ん
で表示されている。こうしたタイムカードに印字
する機構として従来からモータによつて横移動さ
れるプリンタを用いたタイムレコーダが提案され
ている。このタイムレコーダの場合、メモリ内に
記憶させた各事業所に固有の設定データに基づい
て、タイムカードの挿入時刻に対応する就業デー
タを求め、且つ就業データ印字制御手段が上記の
モータを制御してプリンタを当該印字欄に移動
し、次いで上記就業データをタイムカードの当該
印字欄に印字する構成となつている。
Currently used time cards include, for example, on-time attendance column, late arrival column, early leaving column, on-time leaving column, etc.
Various print columns such as an overtime column and a late night overtime column are displayed side by side. As a mechanism for printing on such time cards, a time recorder using a printer that is laterally moved by a motor has been proposed. In the case of this time recorder, the working data corresponding to the insertion time of the time card is determined based on setting data unique to each business office stored in the memory, and the working data printing control means controls the above-mentioned motor. The printer is moved to the corresponding printing column, and then the above employment data is printed in the corresponding printing column of the time card.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

このようにプリンタをモータで移動しながらプ
リンタの印字欄位置の制御を行なう方式では、ス
タートから上記プリンタ用モータの回転をパルス
カウントしながらプリンタを移動制御して印字欄
の決定を行なうため、モータの駆動回転トルクの
一定値が非常に重要となり、従つて、モータとし
てステツピングモータとかパルスモータ或は同期
モータの如き高価な所謂走査型モータを使用しな
くてはならず、装置全体のコスト高を招くという
欠点があつた。更に、上記の印字方式では、各印
字欄の幅が異なるタイムカードを変更使用する場
合には、前記メモリに記憶させたプログラムデー
タの変更処理が不可欠と成り、従つて、タイムカ
ードを変更するたびにプログラムを組直す必要が
あつて、タイムカードの変更を簡単に行なえない
問題があつた。
In this method of controlling the printer's print field position while moving the printer with a motor, the printer moves from the start while counting pulses of the rotation of the printer motor to control the printer's movement and determine the print field. A constant value of the driving rotational torque is very important. Therefore, an expensive so-called scanning motor such as a stepping motor, pulse motor, or synchronous motor must be used as the motor, which increases the cost of the entire device. It had the disadvantage of inviting Furthermore, with the above printing method, when changing and using timecards with different widths for each printing field, it is essential to change the program data stored in the memory, and therefore, each time the timecard is changed. There was a problem in that it was necessary to reprogram the program, and it was not possible to easily change the time card.

また、他の提案としてプリンタは固定でカード
ポケツトを自動または手動でスライドして、印字
位置を決定する方式もあるが、この方式の場合も
タイムカードを変更すると、印字幅とかカードポ
ケツトのスライド停止位置等を変更しなくてはな
らず、これ等の変更処理が非常に複雑になる問題
があつた。
Another proposal is to fix the printer and automatically or manually slide the card pocket to determine the print position, but even with this method, if you change the time card, the print width or the card pocket will stop sliding. There was a problem in that the position, etc. had to be changed, and the process of making these changes was extremely complicated.

従つて本発明の技術的課題は、タイムカードの
印字欄幅の変更に容易に追従でき、而も、プリン
タ用モータとして安価な通常型モータと簡単なプ
ログラムを用いて、各印字欄の中に印字を正確に
行なうことができるタイムレコーダ用印字位置制
御装置を提供することにある。
Therefore, the technical problem of the present invention is to easily follow the change in the width of the print field of a time card, and to use an inexpensive ordinary motor as a printer motor and a simple program to change the width of each print field. It is an object of the present invention to provide a printing position control device for a time recorder that can perform printing accurately.

〔課題を解決するための手段〕[Means to solve the problem]

上記の技術的課題を解決するために本発明で講
じた手段は以下の如くである。
The measures taken in the present invention to solve the above technical problems are as follows.

指定された勤務時間体系データに基づいてタイ
ムカードの挿入時刻に関する就業データを演算
し、この演算した就業データを駆動モータにより
移動されるプリンタを用いた印字装置によつてタ
イムカード上の所定印字欄に印字する様に構成し
たタイムレコーダに於いて、 (1) 上記プリンタの移動通路と平行に設けた取付
杆に、上記タイムカードの各印字欄区切位置に
対応させて複数枚の検出板を移動調節自在に取
付けること。
Work data related to the insertion time of the time card is calculated based on the specified work time system data, and the calculated work data is printed in the specified printing field on the time card by a printing device using a printer that is moved by a drive motor. (1) A plurality of detection plates are moved and adjusted on a mounting rod installed parallel to the movement path of the printer in accordance with the separation positions of each printing column of the time card. Can be installed freely.

(2) 上記のプリンタにはこれ等の検出板を検知カ
ウントする検知器を取付けること。
(2) The above printers must be equipped with a detector that detects and counts these detection plates.

(3) この検知器には、検知器より送られて来る検
出板のカウントに従つてプリンタの移動位置を
検出しつつ、メモリに格納した設定プログラム
に基づいて上記プリンタの印字作動を制御する
制御装置を接続すること。
(3) This detector has a control that detects the printer's movement position according to the count on the detection plate sent from the detector, and controls the printing operation of the printer based on the setting program stored in the memory. Connecting equipment.

〔作用〕[Effect]

上記の手段は以下の如く作用する。 The above means works as follows.

上記(1)の要素は、タイムカードの仕様が変つ
て各印字欄の幅に変更が生じた場合は、この変
更に応じて各検出板の取付位置を移動調節する
だけで、容易にプリンタの印字位置を変更可能
とする。
The factor (1) above is that if the time card specifications change and the width of each printing field changes, you can easily adjust the printer by simply moving and adjusting the mounting position of each detection plate according to this change. The printing position can be changed.

上記(2)の要素は、プリンタと共に移動する検
知器が検出板の枚数を検知カウントすることに
よつて、プリンタの移動位置を正確に把握でき
るから、駆動回転トルクが一定化しない安価な
通常型モータを使用しても、プリンタの移動位
置を常に正確に制御可能とする。
The factor (2) above is that the detector that moves with the printer detects and counts the number of detection plates and can accurately determine the moving position of the printer, so the drive rotation torque is not constant. To always accurately control the moving position of a printer even when using a motor.

上記(3)の要素は、検知器がカウントする検出
板の枚数によつてプリンタの移動位置が検出さ
れるものであるから、駆動モータによるプリン
タの移動をプログラム制御する必要がなく、プ
リンタの印字作動のみをプログラム制御するだ
けで、印字をタイムカードの各印字欄の中に正
しく印字可能とする。
The element (3) above detects the printer's movement position by the number of detection plates counted by the detector, so there is no need to program control the printer's movement by the drive motor, and the printer's printing To enable correct printing in each printing column of a time card by only controlling the operation by program.

以上の如くであるから、上記の手段によつて上
述した技術的課題を解決して、前記従来の技術の
問題点を解消することができる。
As described above, the above-mentioned technical problem can be solved by the above-mentioned means, and the problems of the conventional technology can be solved.

〔実施例〕〔Example〕

以下に、この発明の好適な一実施例を添附図面
に従つて詳細に説明する。
Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、この発明に係わる装置を備えたタイ
ムレコーダの外観を示す斜視図である。同図に示
す如く、タイムレコーダ1の本体上面には、タイ
ムカードを挿入するためのカードポケツト2、各
種の設定データの入力操作あるいはシフト勤務の
指示操作等に使用されるキーボード3が設けられ
ており、また、本体上部正面には後述する印字モ
ードの切替等に利用されるキー差し込み式切替ス
イツチ4、データ入力操作の際に入力されるデー
タの表示あるいは時刻表示等に使用されるデジタ
ル式表示部5および各勤務者が各自のシフトを指
定した場合に、そのいずれのシフトが指定された
かを表示するためのシフト表示ランプ6が設けら
れている。
FIG. 1 is a perspective view showing the appearance of a time recorder equipped with a device according to the present invention. As shown in the figure, the top surface of the time recorder 1 is provided with a card pocket 2 for inserting a time card, and a keyboard 3 used for inputting various setting data or instructing shift work. In addition, on the front of the upper part of the main body, there is a key-insertion type changeover switch 4 used for switching the printing mode, which will be described later, and a digital display section used for displaying data input during data input operations or displaying the time. 5 and a shift display lamp 6 for displaying which shift is designated when each worker designates his or her own shift.

次に第2図及び第3図と共に本発明に係る第1
図に示されるタイムレコーダ1に内蔵された印字
位置制御機構について説明する。これらの図面に
おて、7はプリンタ移動用台8に架装された、例
えばワイヤインパクト方式のドツトプリンタ、9
はこのプリンタ移動用台8を移動自在に案内する
ガイドレールである。前記プリンタ移動用台8の
下端部には、例えば1組の発光・受光素子等から
なる印字欄区切り検知器10が設けられプリンタ
7の移動と共に移動する。11は取付杆12に移
動自在に設けられた複数個の検出板で、前記検知
器10が移動して該当する検出板11を通過する
と光の遮断が行われ、移動位置が検知される。ま
た、Mはプリンタ7を架装したプリンタ移動用台
8を移動するための通常の直流型モータである。
このモータMの出力はギヤ13を介してカム軸1
4に伝達され、カム軸14の回動により案内溝1
4aに係止された前記プリンタ移動用台8と一体
の案内片8aを介してプリンタ移動用台8が移動
するように構成されている。また、15はカード
ガイド、16は図示されないタイムカードが挿入
される挿入口である。
Next, together with FIGS. 2 and 3, the first diagram according to the present invention.
The print position control mechanism built into the time recorder 1 shown in the figure will be described. In these drawings, reference numeral 7 indicates, for example, a wire impact type dot printer mounted on a printer moving stand 8;
is a guide rail that movably guides this printer moving stand 8. At the lower end of the printer moving table 8, there is provided a print field delimiter detector 10, which is made up of, for example, a set of light emitting/light receiving elements, and moves as the printer 7 moves. Reference numeral 11 denotes a plurality of detection plates movably provided on the mounting rod 12. When the detector 10 moves and passes the corresponding detection plate 11, light is blocked and the moving position is detected. Further, M is a normal DC motor for moving the printer moving table 8 on which the printer 7 is mounted.
The output of this motor M is transmitted to the camshaft 1 via a gear 13.
4, and the rotation of the camshaft 14 causes the guide groove 1 to
The printer moving stand 8 is configured to move via a guide piece 8a that is integrated with the printer moving stand 8 that is locked to the printer moving stand 4a. Further, 15 is a card guide, and 16 is an insertion slot into which a time card (not shown) is inserted.

次に、本発明の電気的構成を第4図によつて説
明する。
Next, the electrical configuration of the present invention will be explained with reference to FIG.

このタイムレコーダは、所謂マイクロコンピユ
ータを中心に構成されるもので、30は中央演算
処理部(以下、CPUと称する)であり、ABはア
ドレスバス、DBはデータバス、CBはコントロー
ルバス、INTは割込信号ラインである。CPU3
0に対し、プログラムメモリ31、ワーキングメ
モリ32、設定テーブルメモリ33、時計回路3
5、第1のインターフエイス回路37および第2
のインターフエイス回路41が接続されている。
This time recorder is mainly composed of a so-called microcomputer, where 30 is a central processing unit (hereinafter referred to as CPU), AB is an address bus, DB is a data bus, CB is a control bus, and INT is an interrupt bus. This is an integrated signal line. CPU3
0, program memory 31, working memory 32, setting table memory 33, clock circuit 3
5, first interface circuit 37 and second
An interface circuit 41 is connected thereto.

第1のインターフエイス回路37にはカード検
出器22、カードコード読取器24およびカード
段位置検出器26が接続されている。また、この
第1のインターフエイス回路37には、第2図に
示される各検出板11通過時の印字欄区切り検知
器10の出力10a,10b,10nがORゲー
ト28を介して入力される。また、第1のインタ
ーフエイス回路37には、第2図、第3図では図
示省略したカード送りモーター20、プリンタヘ
ツド原点検出器36、前述したプリンタ移動用モ
ータMおよび印字マグネツト38が接続されてお
り、第2のインターフエイス回路41にはキー入
力装置40および表示装置42が接続されてい
る。プログラムメモリ31は読出専用のメモリ
で、CPU30の動作を規定するシステムプログ
ラムが格納されている。ワーキングメモリ32は
読み書き両メモリRAMで、CPU30の動作に必
要な各種データの一時記憶エリアとして用いられ
る。設定テーブルメモリ33もRAMであり後述
するキー入力装置40等からの外部キー入力等に
より所望のデータや登録のエリアとして使用され
る。また時計回路35は時間処理の基準信号(ク
ロツク信号)を発生する発振器およびカウンタ等
から構成される。
A card detector 22 , a card code reader 24 , and a card stage position detector 26 are connected to the first interface circuit 37 . Further, the outputs 10a, 10b, and 10n of the print field delimiter detector 10 when each detection plate 11 shown in FIG. Further, the first interface circuit 37 is connected to the card feed motor 20, which are not shown in FIGS. 2 and 3, the printer head origin detector 36, the aforementioned printer movement motor M, and the printing magnet 38. A key input device 40 and a display device 42 are connected to the second interface circuit 41 . The program memory 31 is a read-only memory in which a system program that defines the operation of the CPU 30 is stored. The working memory 32 is a read/write memory RAM, and is used as a temporary storage area for various data necessary for the operation of the CPU 30. The setting table memory 33 is also a RAM, and is used as an area for desired data and registration by external key input from a key input device 40, etc., which will be described later. The clock circuit 35 is composed of an oscillator, a counter, etc. that generates a reference signal (clock signal) for time processing.

カード検出器22、カードコード読取器24、
カード段位置検出器26およびプリンタヘツドが
原点位置に戻つたことを検出する検出器36の各
検出信号は、第1のインターフエイス回路37を
介してCPU30の監視の下でマイクロコンピユ
ータに入力されるようになつているとともに、上
述したカード送りモータ20とドツトプリンタ1
7のヘツドをカードの横幅方向に移動させるモー
タMと、プリンタ7のヘツドワイヤを駆動する印
字マグネツト39の制御信号が、第1のインタフ
エイス回路37を介してCPU30の監視の下で
出力されるようになつている。
card detector 22, card code reader 24,
Detection signals from the card stage position detector 26 and the detector 36 for detecting that the printer head has returned to its original position are input to the microcomputer via the first interface circuit 37 under the supervision of the CPU 30. In addition, the above-mentioned card feed motor 20 and dot printer 1
Control signals for the motor M that moves the head of the printer 7 in the width direction of the card and the print magnet 39 that drives the head wire of the printer 7 are output through the first interface circuit 37 under the supervision of the CPU 30. It's getting old.

また、前述したように適宜なキー入力部40が
第2のインターフエイス回路41を介してCPU
30に接続されており、このキー入力部40より
設定テーブルメモリ33に、所望のデータを設定
したり、外出勤務の登録を行なつたりする等、
CPU30の動作モード切替や、任意のデータを
CPU30に入力することができる。また、第2
のインターフエイス回路41を介して、CPU3
0に接続された表示装置42は、前述した表示部
5に時刻(月、日、時、分)を表示するためのセ
グメント表示等による表示ランプや、その動作モ
ードを表示するランプ等を含んでいる。
Further, as described above, an appropriate key input unit 40 is connected to the CPU via the second interface circuit 41.
30, and the key input unit 40 can be used to set desired data in the setting table memory 33, register out-of-home work, etc.
Switching the operation mode of CPU30 and changing arbitrary data
It can be input to the CPU 30. Also, the second
The CPU 3 via the interface circuit 41 of
The display device 42 connected to the above-mentioned display section 5 includes a segment display lamp for displaying the time (month, day, hour, minute), a lamp for displaying its operating mode, and the like. There is.

プログラムメモリ31には第5図に示すような
印字プログラムが設定記憶されている。すなわ
ち、各設定項目の内容に対してそれぞれアドレス
およびこのアドレスに対応したデータである設定
数値が格納されている。第5図のプログラムデー
タにおいて、「1欄移動時刻」から「6欄移動時
刻」は例えば次のように規定されている。
A printing program as shown in FIG. 5 is set and stored in the program memory 31. That is, for the contents of each setting item, an address and a setting numerical value, which is data corresponding to this address, are stored. In the program data shown in FIG. 5, "column 1 movement time" to "column 6 movement time" are defined as follows, for example.

エリアA1には「1欄移動時刻」が格納されて
おり、この「1欄移動時刻」は、タイムカードの
「定時出勤欄」に対応し、「0200」番地のアドレス
には、設定データとして「1時00分」が設定され
ている。エリアA2には「2欄移動時刻」が格納
されており、この「2欄移動時刻」は、「遅刻欄」
に対応し、「0210」番地のアドレスには、設定デ
ータとして「9時00分」が設定されている。
"Column 1 travel time" is stored in area A1, and this "Column 1 travel time" corresponds to the "on-time attendance column" of the time card, and the address "0200" is stored as setting data ""1:00" is set. Area A2 stores "column 2 travel time", and this "column 2 travel time" is stored in the "late column".
Corresponding to this, the address "0210" has "9:00" set as setting data.

同様にしてエリアA3〜A6にも「3欄移動時
刻」から「6欄移動時刻」が格納されており、こ
れらの「3欄移動時刻」から「6欄移動時刻」も
第5図に示すように設定されており、「3欄移動
時刻」は「早退欄」に対応し、「4欄移動時刻」
は「定時退社欄」に、「5欄移動時刻」は「残業
欄」、「6欄移動時刻」は「深夜残業欄」に対応し
ている。
Similarly, areas A3 to A6 also store "3 column travel time" to "6 column travel time", and these "3 column travel time" to "6 column travel time" are also stored as shown in Figure 5. "Column 3 Travel Time" corresponds to "Early Leaving Column" and "Column 4 Travel Time"
corresponds to the "leaving on time column,""column 5 travel time" corresponds to the "overtime column," and "column 6 travel time" corresponds to the "late night overtime column."

次に、第6図、第7図のフローチヤートによつ
て、本発明のタイムレコーダの印字動作を説明す
る。これらのフローチヤートは、メモリ31に格
納されたCPU30の動作を規定するシステムプ
ログラムの構成の一部を表わしている。
Next, the printing operation of the time recorder of the present invention will be explained with reference to flowcharts shown in FIGS. 6 and 7. These flowcharts represent part of the configuration of a system program stored in the memory 31 that defines the operation of the CPU 30.

まず、時計回路35からの1分パルスが割込み
信号ラインINTを介してCPU30に割込み指令
として与えられると、第6図に示す割込処理が実
行される。この割込処理の最初のステツプS1で
は、時計データを更新する。すなわち、ワーキン
グメモリ32中の時計レジスタに格納されていた
月、日、時、分の前回の登録データを1分だけ更
新する。次のステツプS2では、上記時計レジス
タの現時刻データ(月、日、時、分)とワーキン
グメモリ32中の処理現況データレジスタに格納
された各勤務区分別のデータとを対照して、前記
現時刻データに応じて処理現況データレジスタの
内容を更新して割込処理を終了する。
First, when a one-minute pulse from the clock circuit 35 is given as an interrupt command to the CPU 30 via the interrupt signal line INT, the interrupt process shown in FIG. 6 is executed. In the first step S1 of this interrupt processing, clock data is updated. That is, the previously registered data of the month, day, hour, and minute stored in the clock register in the working memory 32 is updated by one minute. In the next step S2, the current time data (month, day, hour, minute) in the clock register is compared with the data for each work category stored in the processing status data register in the working memory 32. The contents of the processing status data register are updated according to the time data, and the interrupt processing is ended.

割込処理が終了すると第7図の通常処理ルーチ
ンに復帰する。第7図に示す通常処理の最初のス
テツプS3では、上記ワーキングメモリ32内の
時計レジスタの現時刻データを表示装置42に供
給して表示部5に表示する。
When the interrupt processing is completed, the routine returns to the normal processing routine shown in FIG. In the first step S3 of the normal processing shown in FIG. 7, the current time data of the clock register in the working memory 32 is supplied to the display device 42 and displayed on the display section 5.

次のステツプS4では、カード検出器12の出
力をチエツクし、カードポケツト2にタイムカー
ドが挿入されたか否かを判別する。タイムカード
の挿入が検出されるまで、このルーチンを繰返
し、カードの挿入が検出されると、ステツプS5
へ進み、カード送りモータ20を正転起動する。
これにより、カードポケツト2に挿入されたタイ
ムカードは送りローラ(図示せず)によつて案内
溝(図示せず)内に吸込まれる。次のステツプS
6では、カード読取器(図示せず)の設置位置を
通過するカードに記録された個人コードを読取
る。
In the next step S4, the output of the card detector 12 is checked to determine whether or not a time card has been inserted into the card pocket 2. This routine is repeated until the insertion of the time card is detected, and when the insertion of the card is detected, step S5
Then, the card feed motor 20 is started in normal rotation.
As a result, the time card inserted into the card pocket 2 is sucked into the guide groove (not shown) by the feed roller (not shown). Next step S
At step 6, the personal code recorded on the card passing through the installation position of a card reader (not shown) is read.

次のステツプS7では、シフト選択キーから入
力された勤務シフトコードに基づき、ワーキング
メモリ32中の該当勤務区分の処理現況データか
ら印字段位置データを読み出す。ステツプS8で
は、カード段位置検出器(図示せず)の出力をチ
エツクし、送りモータ(図示せず)により案内溝
の奥方へ引込まれつつあるタイムカードの印字位
置を逐次検出し、その現在の印字段位置が上記読
み出した印字段位置データと一致したところで、
カード送りモータを停止させる。これにより、タ
イムカードがプリンタ7に対して、該当勤務シフ
トの印字段位置データに対応した段位置に設定さ
れて静止する。
In the next step S7, print stage position data is read from the processing status data of the corresponding work category in the working memory 32 based on the work shift code input from the shift selection key. In step S8, the output of the card stage position detector (not shown) is checked to sequentially detect the print position of the time card that is being drawn into the back of the guide groove by the feed motor (not shown), and the current position of the time card is detected. When the printing stage position matches the printing stage position data read above,
Stop the card feed motor. As a result, the time card is set with respect to the printer 7 at a stage position corresponding to the printing stage position data of the corresponding work shift and becomes stationary.

次のステツプS9では、ステツプS6でタイム
カードから読取つた個人コードに対応する個人フ
アイル(図示せず)をワーキングメモリ32に転
送する。
In the next step S9, a personal file (not shown) corresponding to the personal code read from the time card in step S6 is transferred to the working memory 32.

次のステツプS10では、ワーキングメモリ3
2に転送した個人フアイルと該当勤務区分の処理
現況データと時計レジスタの現時刻データ(カー
ド受入れ時刻)とに基づき、必要な就業データを
得るための各種演算を行なう他その演算結果によ
つて個人フアイルを更新し、再びフアイルメモリ
(図示せず)に戻す。
In the next step S10, the working memory 3
Based on the personal file transferred to 2, the processing status data of the corresponding work category, and the current time data (card acceptance time) of the clock register, various calculations are performed to obtain the necessary employment data, and the results of the calculations are used to calculate the The file is updated and returned to file memory (not shown).

ステツプS11では、上記演算結果に基づい
て、タイムカード13の印字部に印字すべきプリ
ントデータを、ワーキングメモリ32中に編集す
る。例えば、上記演算処理ステツプS10にてカ
ード受入れ時刻が通常出勤であると認識された場
合、プリントデータとしては、タイムカードの印
字部の日付印字欄に対応するデータとして、個人
フアイル出勤時刻データA1中の月、日データが
設定され、勤務区分印字欄に対応するデータとし
て勤務区分レジスタのデータがセツトされ、出勤
時刻印字欄に対応するデータとして演算A1の
時、分データがセツトされ、その他の印字欄に対
応するデータはセツトされない(空白となる)。
In step S11, print data to be printed on the printing section of the time card 13 is edited in the working memory 32 based on the above calculation result. For example, if the card acceptance time is recognized as the normal work start time in the calculation processing step S10, the print data may be stored in the work start time data A1 in the personal file as data corresponding to the date printing column of the printing section of the time card. The month and day data of are set, the data of the work classification register is set as the data corresponding to the work classification printing field, the hour and minute data of calculation A1 are set as the data corresponding to the attendance time printing field, and the other printing The data corresponding to the column is not set (it becomes blank).

また、ステツプS10で通常退勤と認識された
場合、プリントデータとしては、退勤時刻印字欄
に対応するデータとしてエリアA4の退勤時刻デ
ータがセツトされ、その他のデータはセツトされ
ない。また、出勤時において、遅刻または早出と
認識された場合には、上記に加えて例外コード印
字欄に対応するプリントデータとして遅刻または
早出を表すコードがセツトされる。また、退勤時
において早退または残業と認識された場合には、
上記に加えて例外コード印字欄に対応するプリン
トデータとして早退または残業を表すコードがセ
ツトされ、更に残業または上記早出の取り扱いの
場合には、その1日分の早出時間と残業時間の合
計時間データが時間外勤務時間印字欄に対応する
プリントデータとしてセツトされる。
Further, if it is recognized in step S10 that the employee is leaving work normally, the leaving time data in area A4 is set as the print data corresponding to the leaving time stamp field, and other data is not set. Furthermore, when arriving at work, if it is recognized that the employee is late or leaving early, in addition to the above, a code representing late arrival or early leaving is set as print data corresponding to the exception code printing field. In addition, if you are recognized as leaving early or working overtime when leaving work,
In addition to the above, a code indicating early leaving or overtime is set as print data corresponding to the exception code printing field, and in addition, in the case of overtime or the above-mentioned early work, the total time data of the early work time and overtime time for that day is set. is set as the print data corresponding to the overtime work time printing field.

次のステツプS12ではステツプS11で編集
したプリントデータを、プリンタ7によつてタイ
ムカードの所定の段位置(ステツプS8で設定さ
れた)に印字する。すなわち、プリンタ移動用モ
ータMを駆動してプリンタヘツドをカードの幅方
向に移動させながら、プリントデータに従つて印
字マグネツトを順次駆動することによつて、所定
の印字欄に該当データを印字するのである。印字
が終了するとステツプ13に進み、カード送りモ
ータ20を逆転させてタイムカードをカードポケ
ツト2から排出し、ステツプS3に戻る。
In the next step S12, the print data edited in step S11 is printed by the printer 7 at a predetermined column position (set in step S8) of the time card. That is, by driving the printer moving motor M to move the printer head in the width direction of the card and sequentially driving the printing magnets in accordance with the print data, the corresponding data is printed in a predetermined printing field. be. When printing is completed, the process proceeds to step S13, where the card feed motor 20 is reversed to eject the time card from the card pocket 2, and the process returns to step S3.

このようにして、複数種類の勤務区分につい
て、それぞれの勤務時間体系を所定のフオーマツ
トで表してなる第5図に示す管理データがメモリ
32に記憶され、時計回路35から1分パルスが
生じて現時刻が更新されると、各勤務シフト別の
処理現況データを上記管理データに基づいて更新
する。そして、タイムカードが挿入され、かつシ
フト選択キーによつて各シフトに対応するコード
が入力されると、そのタイムカードから読取られ
た個人コードと、前記入力された勤務シフトコー
ドとに基づいて個人フアイルと該当する勤務シフ
トの処理現況データに従つて、そのカード受入れ
時刻に係わる各就業データを求め、所定の項目を
カードに印字して排出するのである。
In this way, the management data shown in FIG. 5, which represents the working time system of each of the plurality of work classifications in a predetermined format, is stored in the memory 32, and a 1-minute pulse is generated from the clock circuit 35 to display the management data. When the time is updated, processing status data for each work shift is updated based on the management data. Then, when the time card is inserted and the code corresponding to each shift is input using the shift selection key, the personal code is read from the time card and the work shift code inputted. According to the processing status data of the file and the corresponding work shift, each work data related to the card acceptance time is obtained, predetermined items are printed on the card, and the card is discharged.

以上の様な手順によつて、タイムカードへの印
字動作は制御されるが、本発明で採用された印字
位置制御機構に基づくプリント処理手順の詳細を
第8図A乃至第8図Dと共に説明する。
Although the printing operation on the time card is controlled by the above procedure, details of the print processing procedure based on the print position control mechanism adopted in the present invention will be explained with reference to FIGS. 8A to 8D. do.

まず、ステツプS21で、現時刻とワーキング
レジスタ32に格納された第5図に示される設定
テーブルの欄移動時刻によりタイムカードの印字
欄No.を算定する。即ち現在時刻が9時30分であれ
ば、エリアA2に相当する「定時出勤欄」の2欄
へプリンタヘツドの印字位置を移動するために以
下の制御が行われる。ステツプS22では印字位
置制御のイニシヤル処理が実行される。即ち第8
図BのステツプS22,1で示すように、まず、
プリンタヘツドが原点にあるか否かが判断され、
原点位置になるまでステツプS22,2の如くプ
リンタ移動用モータMを駆動する。原点位置に達
したら、ステツプS22,3の如く印字欄仕切り
検知器10が検出板11を通過する回数を計数す
る検知カウンタの内容を零クリアする。このよう
にイニシヤル処理の終了後、印字位置制御に移行
する。この印字位置制御では、まず、第8図Cで
ステツプS23,1で示す如く検知器10が検出
板11を検知したかどうかを判定する。もし検知
していなければ、ステツプS23,2の如くプリ
ンタ移動用モータMを駆動してプリンタ7と一体
的に移動する検知器10を移動させ検出板11を
検知する。このようにして検出板11が検知され
るとステツプS23,3の如く検知カウンタの内
容を+1だけインクリメントすることによつて計
数値を1とする。次にこの検知カウンタの計数値
と印字欄No.とが一致しているかをステツプS2
3,4で判断し、今の場合印字欄No.は「2」であ
るため不一致と判定し、再びステツプS23,2
に示されるようにプリンタ駆動用モータMを駆動
する。これによつてステツプS23,1で検知器
10が次の検出板11を検知したとすれば、ステ
ツプS23,3で検知カウンタの内容を+1イン
クリメントする。検知カウンタは前述した動作に
より既に計数値が1であるため、この+1のイン
クリメント動作によつて計数値が「2」となる。
従つて、ステツプS23,4で一致と判定され
る。このように、印字位置制御が終了すると、第
8図Dに示すようにステツプS24,1でタイム
カード上に所定の印字処理を行い、ステツプS2
4,2で印字終了か否かの判定を行い、もし印字
が終了していなければ印字が終了するまで印字処
理を繰り返し、印字が終了したらステツプS2
4,3でプリンタ移動用駆動モータMを停止し、
すべてのプリント処理の制御手段を終了する。
First, in step S21, the print column number of the time card is calculated based on the current time and the column movement time of the setting table shown in FIG. 5 stored in the working register 32. That is, if the current time is 9:30, the following control is performed to move the print position of the printer head to the second column of the "on-time attendance column" corresponding to area A2. In step S22, initial processing for print position control is executed. That is, the 8th
As shown in step S22,1 in Figure B, first,
It is determined whether the printer head is at the origin or not.
The printer moving motor M is driven as in steps S22 and 2 until the origin position is reached. When the origin position is reached, the content of the detection counter that counts the number of times the print field partition detector 10 passes the detection plate 11 is cleared to zero as in steps S22 and 3. After the initial process is completed in this way, the process moves to print position control. In this print position control, first, as shown in step S23,1 in FIG. 8C, it is determined whether the detector 10 has detected the detection plate 11. If it is not detected, the printer moving motor M is driven to move the detector 10, which moves integrally with the printer 7, to detect the detection plate 11, as in steps S23 and 2. When the detection plate 11 is detected in this way, the count value is set to 1 by incrementing the content of the detection counter by +1 as in steps S23 and 3. Next, in step S2, check whether the counted value of this detection counter and the print field number match.
3 and 4, and in this case, the print field No. is "2", so it is determined that there is a mismatch, and steps S23 and 2 are performed again.
The printer drive motor M is driven as shown in FIG. As a result, if the detector 10 detects the next detection plate 11 in step S23,1, the content of the detection counter is incremented by +1 in step S23,3. Since the detection counter already has a count value of 1 due to the above-described operation, the count value becomes "2" by this +1 increment operation.
Therefore, a match is determined in steps S23 and S4. When the printing position control is completed in this way, a predetermined printing process is performed on the time card in step S24,1, as shown in FIG.
In steps 4 and 2, it is determined whether or not the printing is finished. If the printing is not finished, the printing process is repeated until the printing is finished, and when the printing is finished, step S2 is performed.
4. Stop the printer moving drive motor M at 3.
Terminate all print processing control means.

〔効果〕〔effect〕

以上説明してきたように本発明に係るタイムカ
ード用印字位置制御装置は、プリンタ移動用モー
タとして従来の高価な走査型モータに代えて、一
般に市販されている通常型のモータを使用できる
ため、装置全体を安価に構成できると共に、プリ
ンタに移動位置検知器を設け、この検知器移動通
路に設けられた複数の検出板を検知器が通過する
回数からプリンタの印字位置を制御するようにし
たので、検出板の移動調節によりメモリに記憶し
て印字プログラムを変更しなくても印字幅を簡単
に可変でき、印字欄幅が異となるタイムカードの
変更使用を容易に行なえるという特長がある。
As explained above, the time card printing position control device according to the present invention can use a commercially available normal motor as the motor for moving the printer instead of the conventional expensive scanning motor. The entire structure can be constructed at low cost, and the printer is equipped with a moving position detector, and the printing position of the printer is controlled based on the number of times the detector passes through a plurality of detection plates provided in the detector moving path. By adjusting the movement of the detection plate, the printing width can be easily changed without storing it in memory and changing the printing program, and it has the advantage that it is easy to change the use of time cards with different printing column widths.

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

第1図は、本発明を備えたタイムレコーダの一
例を示す斜視図、第2図は第1図のタイムレコー
ダに内蔵された印字位置制御機構の側面図、第3
図は第2図に示された印字位置制御機構の概略的
な断面図、第4図は、同タイムレコーダの電気的
構成を示すブロツク図、第5図は、第4図に示す
プログラムメモリに記憶されている印字プログラ
ムの構成図、第6図は、CPUの1分パルスに応
動する割込処理ルーチンの手順を示すフローチヤ
ート、第7図はCPUの通常処理ルーチンの処理
手順を示すフローチヤート、第8図A乃至第8図
Dは第8図のプリント処理ルーチンの手順を示す
フローチヤートである。 1……タイムレコーダ、7……プリンタ、10
……印字欄区切り検知器、11……検出板、M…
…プリンタ移動用モータ、30……中央処理部、
31,32,33……メモリ。
FIG. 1 is a perspective view showing an example of a time recorder equipped with the present invention, FIG. 2 is a side view of a print position control mechanism built into the time recorder of FIG. 1, and FIG.
The figure is a schematic cross-sectional view of the print position control mechanism shown in Figure 2, Figure 4 is a block diagram showing the electrical configuration of the time recorder, and Figure 5 is stored in the program memory shown in Figure 4. FIG. 6 is a flowchart showing the procedure of an interrupt processing routine that responds to a one-minute pulse of the CPU, and FIG. 7 is a flowchart showing the processing procedure of the CPU's normal processing routine. 8A to 8D are flowcharts showing the steps of the print processing routine of FIG. 8. 1... Time recorder, 7... Printer, 10
...Print field separation detector, 11...Detection plate, M...
...Printer movement motor, 30...Central processing unit,
31, 32, 33...Memory.

Claims (1)

【特許請求の範囲】[Claims] 1 指定された勤務時間体系データに基づいてタ
イムカードの挿入時刻に関する就業データを演算
し、この演算した就業データを駆動モータにより
移動されるプリンタを用いた印字装置によつてタ
イムカード上の所定印字欄に印字する様に構成し
たタイムレコーダに於いて、上記プリンタの移動
通路と平行に設けた取付杆に、上記タイムカード
の各印字欄区切位置に対応させて複数枚の検出板
を移動調節自在に取付け、上記のプリンタにはこ
れ等の検出板を検知カウントする検知器を取付け
ると共に、この検知器には、検知器より送られて
来る検出板のカウントに従つてプリンタの移動位
置を検出しつつ、メモリに格納した設定プログラ
ムに基づいて上記プリンタの印字作動を制御する
制御装置を接続したことを特徴とするタイムレコ
ーダ用印字位置制御装置。
1 Calculates work data regarding the insertion time of the time card based on specified work time system data, and prints the calculated work data in a prescribed manner on the time card using a printing device using a printer moved by a drive motor. In a time recorder configured to print in fields, a plurality of detection plates are movably adjusted on a mounting rod provided parallel to the movement path of the printer, corresponding to the position of each print field separation of the time card. Installation: The above printer is equipped with a detector that detects and counts these detection plates, and this detector also has a detector that detects and counts the movement position of the printer according to the counts of the detection plates sent from the detector. A printing position control device for a time recorder, characterized in that a control device for controlling printing operations of the printer is connected thereto based on a setting program stored in a memory.
JP7078982A 1982-04-27 1982-04-27 Print position controller for time recoder Granted JPS58186890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7078982A JPS58186890A (en) 1982-04-27 1982-04-27 Print position controller for time recoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7078982A JPS58186890A (en) 1982-04-27 1982-04-27 Print position controller for time recoder

Publications (2)

Publication Number Publication Date
JPS58186890A JPS58186890A (en) 1983-10-31
JPS6362029B2 true JPS6362029B2 (en) 1988-12-01

Family

ID=13441644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7078982A Granted JPS58186890A (en) 1982-04-27 1982-04-27 Print position controller for time recoder

Country Status (1)

Country Link
JP (1) JPS58186890A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH082757Y2 (en) * 1988-12-30 1996-01-29 マックス株式会社 Printing block positioning device for time recorder

Also Published As

Publication number Publication date
JPS58186890A (en) 1983-10-31

Similar Documents

Publication Publication Date Title
US4547780A (en) Printer with manual paper feed and weigh scale incorporating the same
EP0020158B1 (en) Time and elapsed time recorder operative with cards and the like
JPS6362029B2 (en)
JPH032080A (en) Data card for serial printer and serial printer using data card
JPS6349833B2 (en)
US5317547A (en) Time recorder
JPH04303290A (en) Printing position determining device for time recorder
US4381511A (en) Printing device for a time recorder
JPS58166495A (en) Print starting position setting unit for time recorder
JP3234712B2 (en) Program setting device for time clock
JP3226733B2 (en) Time clock with card type judgment function
US2209409A (en) Time recorder
JPH0123824B2 (en)
JPH0256710B2 (en)
JP2718602B2 (en) Label printing device
JP3730097B2 (en) Time recorder apparatus, time card and method for producing the same
JP3270284B2 (en) Time stamp with automatic number and counter return function
US4614422A (en) Controller for trimming copy sheets from a material web in a copying machine
JP3219913B2 (en) Card horizontal insertion time clock device
JP3317805B2 (en) Card closing date setting device for time clock
JPH0637489Y2 (en) Elapsed time recorder
JPS6362027B2 (en)
JP2667092B2 (en) Label printing device
JPH0410093A (en) Time recorder system with self-report function
JP2799840B2 (en) Time recorder system with time card closing date setting function