JPH0594573A - Method and device for controlling step feeding of time card in time recorder - Google Patents

Method and device for controlling step feeding of time card in time recorder

Info

Publication number
JPH0594573A
JPH0594573A JP27834391A JP27834391A JPH0594573A JP H0594573 A JPH0594573 A JP H0594573A JP 27834391 A JP27834391 A JP 27834391A JP 27834391 A JP27834391 A JP 27834391A JP H0594573 A JPH0594573 A JP H0594573A
Authority
JP
Japan
Prior art keywords
card
time
feed
time card
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP27834391A
Other languages
Japanese (ja)
Other versions
JP3169648B2 (en
Inventor
Takemine Miyamoto
武峰 宮本
Mitsuru Saito
充 斎藤
Masato Suzuki
真人 鈴木
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.)
Amano Corp
Original Assignee
Amano Corp
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 Amano Corp filed Critical Amano Corp
Priority to JP27834391A priority Critical patent/JP3169648B2/en
Publication of JPH0594573A publication Critical patent/JPH0594573A/en
Application granted granted Critical
Publication of JP3169648B2 publication Critical patent/JP3169648B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

(57)【要約】 【目的】 印字段決定の自由度を失わずに、簡単なプロ
グラムの変更によってタイムカードを任意の印字段位置
に正確に、且つ、迅速に段送りすることができ、且つ、
全体を低コストで製造可能なタイムカード用の段送り装
置を提供する。 【構成】 タイムカードTCの搬送通路を挾んでその表
裏両側に第1と第2のセンサ1と2を上下に間隔をあけ
て取付け、これ等センサ1と2がタイムカードTCに記
録したIDコードと上下の段コードを読取ることによ
り、タイムカードTCの印字段位置と、この印字段位置
までのカード送りモータ4Mの移動ステップ数を算出
し、この算出したステップ数だけカード送りモータ4M
によるカード送りを行う。
(57) [Abstract] [Purpose] The time card can be accurately and quickly advanced to any print position by simply changing the program without losing the freedom to determine the print position. ,
(EN) Provided is a step feed device for a time card which can be manufactured at a low cost. [Configuration] An ID code recorded on the time card TC by the first and second sensors 1 and 2 which are mounted on both sides of the time card TC across the transport path and vertically spaced from each other. By reading the upper and lower stage codes, the print stage position of the time card TC and the number of moving steps of the card feed motor 4M to the print stage position are calculated, and the card feed motor 4M is calculated by the calculated number of steps.
Send the card by.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、タイムレコーダの技術
分野で利用されるものであって、具体的には、タイムレ
コーダに差込まれたタイムカードを、IDコードの読取
りによって決定されたプリンタの印字段位置に正確に段
送りするタイムカードの段送り制御方法とその装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in the technical field of time recorders, and more specifically, a time card inserted in a time recorder is printed by a printer which is determined by reading an ID code. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time card stepping control method and apparatus for accurately stepping to a column position.

【0002】[0002]

【従来の技術】タイムカードを決定された印字段位置に
段送りする方式には、従来より、例えば実公昭53−7
794号公報に見られるように、タイムカードの下端を
受止めるカード受アームの位置を機械的な手段で一段ず
つ上方又は下方に段送りさせるように構成した機械式
と、例えば特公昭63−62028号公報に見られるよ
うに、カード送りローラをモータを用いて制御回転する
ことにより、タイムカードを所定の印字段位置に段送り
することができるように構成したモータ式と、例えば特
公平3−21953号公報に見られるように、タイムカ
ードに一定ピッチで印刷された段マークをセンサで読取
ることにより、カード送り用モータを制御してタイムカ
ードを決定された印字段位置に段送りすることができる
ように構成した段マーク読取り式とが存在する。
2. Description of the Related Art A conventional method for feeding a time card to a determined printing step position is, for example, Jikken Sho 53-7.
As disclosed in Japanese Patent Publication No. 794, a mechanical type in which the position of a card receiving arm that receives the lower end of a time card is stepped upward or downward by mechanical means, for example, JP-B-63-62028. As disclosed in Japanese Unexamined Patent Publication No. JP-A No. 2003-242242, a motor type in which a time card can be stepped to a predetermined printing step position by controlling rotation of a card feeding roller using a motor, for example, Japanese Patent Publication No. As can be seen in Japanese Laid-Open Patent Publication No. 21953, by reading a step mark printed on a time card at a constant pitch with a sensor, it is possible to control a card feeding motor to advance a time card to a determined printing step position. There is a step mark reading system configured so as to be possible.

【0003】[0003]

【発明が解決しようとする課題】ところが、上記機械式
段送り方式の場合は、構造が複雑で部品コストや組立コ
ストが掛る一方、印字段の決定はカード受けアームを一
段ずつ順番に上昇又は降下させるだけであるため、各種
の集計データをタイムカードに設けた専用の印字欄に項
目別に印字すると云った複雑な勤怠記録が出来ない問題
があった。
However, in the case of the above-mentioned mechanical step feed method, the structure is complicated and the parts cost and the assembly cost are incurred. On the other hand, the printing step is determined by raising or lowering the card receiving arm step by step. However, there is a problem that complicated attendance records, such as printing various aggregated data item by item in a dedicated print field provided on the time card, cannot be performed.

【0004】また、上記のモータ式段送り方式の場合
は、モータを制御回転することによって各種のデータを
タイムカードの任意の印字段に印字できる自由度を備え
ているが、タイムカードの段送りをモータの回転に従っ
て正確に行うために、カード送り用のモータとしてステ
ッピングモータのような高精度で高価格なモータを使用
する必要があって、タイムカード全体の価格に影響を及
ぼす問題があると共に、加工上の誤差とか摩耗等が原因
でカード送りローラの直径に狂いが生じた場合には、ス
テッピングモータを使用してカード送りを正確に行って
も、決められた印字段に正確に印字できない問題もあっ
た。
Further, in the case of the above-mentioned motor type step feed method, although there is a degree of freedom to print various data on an arbitrary printing step of the time card by controlling the rotation of the motor, the step feed of the time card In order to accurately perform the operation according to the rotation of the motor, it is necessary to use a high-precision and high-priced motor such as a stepping motor as a card feeding motor, which has a problem of affecting the price of the entire time card. If the diameter of the card feed roller is incorrect due to processing error or wear, the card cannot be printed accurately on the specified printing stage even if the card is fed accurately using the stepping motor. There was also a problem.

【0005】更に、上記段マーク読取り方式の場合は、
タイムカードに段マークを印字段の数だけ一定ピッチで
印刷し、この段マークを読取ることによって印字段を決
定するものであるため、常に印字フォーマットが同じに
なってしまって顧客の要望に叶ったフレキシブルな印字
フォーマットのタイムカードを作成することが非常に困
難であると云った問題があった。
Further, in the case of the above step mark reading system,
Since the step marks are printed on the time card at a constant pitch for the number of print steps and the print step is determined by reading the step marks, the print format is always the same, which meets the customer's request. There is a problem that it is very difficult to create a time card having a flexible print format.

【0006】従って本発明の技術的課題は、印字段決定
の自由度は失わずに簡単なプログラムの変更だけで簡単
に、且つ、正確に対応でき、而も低コストで製造するこ
とができると共に、フレシキブルな印字フォーマットの
タイムカードを作成でき、印字段位置もスピーデイに決
定することが可能なタイムレコーダに於けるタイムカー
ドの段送り制御方法とその装置を提供することである。
Therefore, the technical problem of the present invention is that the degree of freedom in determining the printing stage is not lost and the program can be handled simply and accurately by simply changing the program, and the manufacturing cost can be reduced. The present invention is to provide a time card step feed control method and device for a time recorder capable of producing a time card of a flexible print format and speedily determining the print step position.

【0007】[0007]

【課題を解決するための手段】上記の技術的課題を解決
するために本発明で講じた手段は以下の如くである。タ
イムカードに記録されている各従業員のIDコードを読
取ることによって印字段を決定し、この決定した印字段
にプリンタが勤務データを印字するように構成したタイ
ムレコーダに於いて、
[Means for Solving the Problems] Means taken in the present invention for solving the above technical problems are as follows. In the time recorder configured to determine the printing stage by reading the ID code of each employee recorded on the time card, and the printer to print the work data on the determined printing stage,

【0008】(1) カード送りモータの回転によるタ
イムカードの引込み搬送時に、タイムカードに上下に間
隔をあけて記録した段マークを読取ることにより、上下
の段マークの距離とカード送りのステップ数からカード
送りモータの1ステップ当りの送りピッチを算出し、こ
の送りピッチに基づいて上記IDコードによって決定さ
れた印字段までの移動ステップ数を算出して、カード送
りモータをこの算出した移動ステップ数だけ回転してタ
イムカードを印字段位置に段送りすること。
(1) When the time card is retracted and conveyed by the rotation of the card feed motor, the step marks recorded at intervals above and below the time card are read to determine the distance between the upper and lower step marks and the number of steps of card feeding. The feed pitch per step of the card feed motor is calculated, the number of movement steps to the printing stage determined by the ID code is calculated based on the feed pitch, and the card feed motor is moved by the calculated number of movement steps. Rotate to feed the time card to the print column position.

【0009】(2) タイムカードの搬送通路を挾んで
その表裏両側にタイムカードの一側面に記録したIDコ
ードと、他側面に上下に間隔をあけて記録した段マーク
のいずれをも読取ることができる第1センサと第2セン
サを上下に位置をずらして設け、これ等第1センサと第
2センサとカード送りモータを接続した制御部には、第
1センサ又は第2センサによる上記上下の段マークの読
取りに従ってカード送りモータの1ステップ当りの送り
ピッチを算出する送りピッチ算出手段と、この算出手段
が算出した送りピッチに基づいて上記IDコードによっ
て決定された印字段までの移動ステップ数を計算する移
動ステップ数計算手段と、カード送りモータをこの計算
手段が計算した移動ステップ数だけ回転してタイムカー
ドを印字段位置に段送りするモータ制御手段とを備えて
成ること。
(2) It is possible to read both the ID code recorded on one side of the time card on both sides of the time card transport path and the step marks recorded on the other side with a vertical gap between them. The first sensor and the second sensor that can be provided are vertically displaced from each other, and the controller connecting the first sensor, the second sensor, and the card feed motor has the above-mentioned upper and lower stages by the first sensor or the second sensor. Feed pitch calculation means for calculating the feed pitch per step of the card feed motor according to the reading of the mark, and the number of movement steps to the printing stage determined by the ID code based on the feed pitch calculated by this calculation means And the card feed motor is rotated by the number of movement steps calculated by this calculation means to move the time card to the print step position. And a motor control means for feeding.

【0010】[0010]

【作用】上記の手段は以下の如く作用する。 タイムカードの段送りをタイムカードに記録された
IDコードに従ってカード送りモータが行うため、カー
ド送りモータを制御してタイムカードを任意の印字段位
置に段送りすることにより、集計を始めとする複雑な印
字を自由に行うことを可能にする。
The above means operates as follows. Since the time feeding of the time card is performed by the card feeding motor according to the ID code recorded on the time card, the card feeding motor is controlled to feed the time card to an arbitrary printing stage position, thereby making it complicated to start counting. It is possible to print freely.

【0011】 タイムカードが差込まれる度に上下の
段マークが読取られて、カード送りモータによる1ステ
ップ当りの送りピッチが算出され、この算出された送り
ピッチに基づいて移動ステップ数が算出されて正確に段
送りできるため、カード送りモータとして高精度で高価
格のステッピングモータを使用する必要がなく、比較的
安価なACモータ等を使用してコストダウンを図ること
を可能にする。
Each time the time card is inserted, the upper and lower step marks are read, the feed pitch per step by the card feed motor is calculated, and the number of movement steps is calculated based on the calculated feed pitch. Since the step feed can be performed accurately, it is not necessary to use a highly accurate and expensive stepping motor as the card feed motor, and it is possible to reduce the cost by using a relatively inexpensive AC motor or the like.

【0012】 タイムカードが差込まれる度に1ステ
ップ当りの送りピッチが正確に計算され、この計算され
た送りピッチでタイムカードが段送りされるため、搬送
ローラの外径寸法に多少の狂いがあったり、摩耗によっ
て狂いが生じたとしても、タイムカードを常に決められ
た印字段位置に正確に段送りすることを可能にする。
Each time the time card is inserted, the feed pitch per step is accurately calculated, and the time card is fed stepwise at the calculated feed pitch. Even if the time card is out of order or is out of order due to wear, it is possible to always feed the time card accurately to the predetermined print stage position.

【0013】 上下2つの段マークの読取りによって
計算された送りピッチに基づいてタイムカードの段送り
を行うため、この送りピッチを基準にすることによって
タイムカードの如何なる位置にも勤務データとか集計デ
ータ等を正確に印字することができるから、顧客の要望
に叶ったフレキシブルな印字フォーマットのタイムカー
ドを作成することを可能にする。以上の如くであるか
ら、上記の手段によって上述した技術的課題を解決し
て、前記従来の技術の問題点を解消することができる。
Since the time card is step-fed based on the feed pitch calculated by reading the two upper and lower step marks, by using this feed pitch as a reference, work data, aggregate data, etc. can be placed at any position on the time card. Since it can be printed accurately, it is possible to create a time card with a flexible printing format that meets the needs of customers. As described above, the technical problems described above can be solved by the above means, and the problems of the conventional technology can be solved.

【0014】[0014]

【実施例】以下に、上述した本発明に係るタイムレコー
ダに於けるタイムカードの段送り制御方法とその装置の
好適な実施例を添付した図面と共に詳細に説明する。図
1は本発明に係るタイムカードの段送り制御装置を備え
たタイムレコーダTRの内部構造を概略的に示した正面
図であって、図中3aと3bはタイムレコーダTR内の
上下に設けたタイムカードTC用のガイド通路を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of a time card step feed control method and apparatus for a time recorder according to the present invention described above will be described in detail with reference to the accompanying drawings. FIG. 1 is a front view schematically showing an internal structure of a time recorder TR provided with a time card stepping control device according to the present invention. In the figure, 3a and 3b are time cards provided above and below the time recorder TR. The guide passage for TC is shown.

【0015】1と2は図1と図2に示す如く上部のガイ
ド通路3aを挾んでその表裏両側に上下に間隔をあけ、
且つ、タイムカードTCの横巾よりも少し狭い横巾間隔
をあけて取付けた第1と第2のセンサを示し、これ等第
1と第2のセンサ1と2は、差込まれたタイムカードT
Cの表面TCAの一側に形成した各従業員のIDコード
BC(図4参照)と、裏面TCBの一側に上下に間隔を
あけて形成した段マークDMaとDMb(図5参照)の
いずれをも読取ることができるように構成されていて、
例えばタイムカードTCを表面TCAを前面に向けて差
込んだ場合(月前半の場合)は、第1センサ1がIDコ
ードBCを読取り、第2センサ2が段マークDMa,D
Mbを読取る一方、反対にタイムカードTCが裏面TC
Bを前面に向けて差込んだ場合(月後半の場合)には、
第1センサ1が段マークDMa,DMbを読取り、第2
センサ2がIDコードBCを読取る仕組に成っている。
尚、図4と図5に於いてTaは勤務データを印字する各
印字欄を示し、また、図5に於いてDMTは段マークD
MaとDMbの中間に設けたタイムカードの種別マーク
を記録するためのエリアを示す。
As shown in FIGS. 1 and 2, reference numerals 1 and 2 sandwich an upper guide passage 3a, and are vertically spaced on both sides of the guide passage 3a.
Moreover, the first and second sensors mounted with a width interval slightly narrower than the width of the time card TC are shown, and these first and second sensors 1 and 2 are inserted into the time card. T
Either the ID code BC (see FIG. 4) of each employee formed on one side of the front surface TCA of C or the step marks DMa and DMb (see FIG. 5) formed vertically on one side of the back surface TCB. Is also configured to be able to read
For example, when the time card TC is inserted with the front surface TCA facing forward (in the first half of the month), the first sensor 1 reads the ID code BC and the second sensor 2 reads the step marks DMa, D.
While reading Mb, on the contrary, the time card TC is the back side TC
If you insert B toward the front (in the latter half of the month),
The first sensor 1 reads the step marks DMa and DMb,
The sensor 2 is designed to read the ID code BC.
4 and 5, Ta indicates each print column for printing work data, and in FIG. 5, DMT indicates a step mark D.
The area for recording the type mark of the time card provided between Ma and DMb is shown.

【0016】次に、4aはカード送りモータ4Mによっ
て正逆いずれの方向にも切換えて駆動回転する駆動プー
リであって、4bと4cは中間と上部の各連動プーリ、
4Vはこれ等各プーリ4a,4b,4cの間に掛渡した
カード搬送ベルト、4dはこのベルト4Vにテンション
を加えるテンションローラであって、上記第1と第2の
センサ1,2の中間位置に上述した上部の連動プーリ4
cが設けられていて、タイムレコーダTR内に差込まれ
たタイムカードTCの下端を第1センサ1が検知する
と、カード送りモータ4Mが正転して搬送ベルト4Vが
タイムカードTCを上部ガイド通路3aより下部ガイド
通路3bに向けて引込み搬送するように構成されてい
る。尚、図2に於いて7a,7b,7cは各プーリ4
a,4b,4cに対応して設けたカード搬送用のテンシ
ョンローラである。
Next, 4a is a drive pulley which is driven and rotated by a card feed motor 4M in either forward or reverse directions, and 4b and 4c are intermediate and upper interlocking pulleys.
Reference numeral 4V is a card transport belt which is wound between these pulleys 4a, 4b and 4c, and 4d is a tension roller for applying tension to the belt 4V, which is an intermediate position between the first and second sensors 1 and 2. The upper interlocking pulley 4 mentioned above
c is provided, and when the first sensor 1 detects the lower end of the time card TC inserted into the time recorder TR, the card feed motor 4M rotates in the forward direction and the conveyor belt 4V moves the time card TC to the upper guide passage 3a. It is configured to be drawn in and conveyed toward the lower guide passage 3b. In FIG. 2, 7a, 7b and 7c are pulleys 4
These are tension rollers for card transportation provided corresponding to a, 4b, and 4c.

【0017】また、図2に於いて5はプリンタヘッド5
FをタイムカードTCの通路に向けた状態で取付けたプ
リンタで、6はプラテン、5aはこのプリンタ5を搭載
したキャリッジ、5bと5cはキャリッジ5aの移動用
カム軸とガイド軸であって、カム軸5bが図3に示した
プリンタ駆動用モータ5Mによって回転すると、キャリ
ッジ5aがガイド軸5cに沿って移動し、プリンタ5を
図1に示したプリントラインPLに沿って横方向に印字
移動するように構成されている。
Further, in FIG. 2, 5 is a printer head 5.
A printer mounted with F being directed to the passage of the time card TC, 6 is a platen, 5a is a carriage on which the printer 5 is mounted, 5b and 5c are a cam shaft and a guide shaft for moving the carriage 5a. When the shaft 5b is rotated by the printer driving motor 5M shown in FIG. 3, the carriage 5a moves along the guide shaft 5c so that the printer 5 prints laterally along the print line PL shown in FIG. Is configured.

【0018】図3は上述した本発明に係る段送り制御装
置の電気的構成を示したブロック図であって、図中10
は制御部の中心を成すCPU、11はシステムプログラ
ムを格納したROMと各従業員の就業データを記憶する
RAMとによって構成したメモリ部であって、これ等C
PU10とメモリ部11とによって制御部が構成され、
また、CPU10とメモリ部11に対してバス12を介
して接続したインターフェイス13には、前述した第1
センサ1と第2センサ2とカード送りモータ4Mとプリ
ンタ5並びにプリンタ駆動用モータ5Mが接続され、更
に、基準時計信号を発信する時計回路8と各種データを
表示する表示器9が接続されていて、夫々がメモリ部1
1のROMに格納されているシステムプログラムに従っ
て制御作動される仕組に成っている。
FIG. 3 is a block diagram showing the electrical construction of the above-described step feed control device according to the present invention, in which 10
Is a CPU which is the center of the control unit, and 11 is a memory unit constituted by a ROM storing a system program and a RAM storing the work data of each employee.
The PU 10 and the memory unit 11 constitute a control unit,
Further, the interface 13 connected to the CPU 10 and the memory unit 11 via the bus 12 includes the first
The sensor 1, the second sensor 2, the card feed motor 4M, the printer 5 and the printer driving motor 5M are connected, and further, the clock circuit 8 for transmitting the reference clock signal and the display 9 for displaying various data are connected. , Memory section 1
No. 1 ROM is controlled and operated according to a system program stored in the ROM.

【0019】上記メモリ部11のROMに格納されてシ
ステムプログラムには、差込まれたタイムカードTCの
印字欄に対してプリンタ5を制御して就業データを印字
し、且つ、この印字データを各人のメモリにファイルさ
せるタイムレコーダに不可欠な一般的なソフトに加え
て、上述した第1センサ1又は第2センサ2による段マ
ークDMaとDMbの読取りに従って、カード送りモー
タ4Mの1ステップ当りの送りピッチを算出するための
送りピッチ算出用のソフトと、算出された送りピッチに
基づいてタイムカードTCに記録されたIDコードBC
によって決定された印字段までの移動ステップ数を計算
する移動ステップ数計算用ソフトと、カード送りモータ
4Mをこの計算した移動ステップ数だけ回転してタイム
カードTCに決められた印字段位置に段送りするための
モータ制御用ソフトが組込まれていて、差込まれたタイ
ムカードTCの決められた印字段にプリンタ5が勤務デ
ータを印字できる仕組に成っているが、次に、上述した
カード送りと印字の処理手順を図6と図7に示したフロ
ーチャートに従って詳細に説明する。
In the system program stored in the ROM of the memory unit 11, the printer 5 is controlled to print the work data for the print column of the inserted time card TC, and the print data is stored in each system program. In addition to the general software indispensable for a time recorder to make a file in a person's memory, the feed pitch per step of the card feed motor 4M is read according to the reading of the step marks DMa and DMb by the first sensor 1 or the second sensor 2 described above. For calculating the feed pitch for calculating the feed pitch, and the ID code BC recorded on the time card TC based on the calculated feed pitch
The moving step number calculation software for calculating the number of moving steps to the printing step determined by the above, and the card feeding motor 4M is rotated by the calculated number of moving steps to advance to the printing step position determined by the time card TC. The motor control software for doing so is built in so that the printer 5 can print the work data on the specified printing stage of the inserted time card TC. The printing procedure will be described in detail with reference to the flowcharts shown in FIGS. 6 and 7.

【0020】ステップS1で第1センサ1が差込まれた
タイムカードTCの下端を検知すると、次のステップS
2に進んでカード送りモータ4Mが正転を開始して、搬
送ベルト4Vが差込まれたタイムカードTCを下方に引
込み搬送し、次いでステップS3に進んで第2センサ2
が送られて来るタイムカードTCの下端を検知すると、
次のステップS4に進んで各センサ1と2のレベルが周
囲の環境とか状況等に合せて調整され、次いでステップ
S5に進んで第1センサ1にタイムカードTCに記録し
た段マークDMa,DMbの読取りを開始するための指
令が送られて次のステップS6に進むが、この時タイム
カードTCが表面TCAを前面に向けて差込んだ月前半
の場合は、第1センサ1は下段の段マークDMaを読取
らずにIDコードBCの読取りを開始する。
When the lower end of the time card TC into which the first sensor 1 is inserted is detected in step S1, the next step S1
2, the card feed motor 4M starts forward rotation, the time card TC with the conveyor belt 4V inserted therein is drawn downward and conveyed, and then the process proceeds to step S3 to proceed to the second sensor 2
When the lower edge of the time card TC that is sent is detected,
In the next step S4, the level of each sensor 1 and 2 is adjusted according to the surrounding environment or situation, and then in step S5, the step marks DMa and DMb recorded on the time card TC are recorded on the first sensor 1. A command to start reading is sent and the process proceeds to the next step S6. At this time, in the case of the first half of the month when the time card TC inserts the front surface TCA toward the front surface, the first sensor 1 indicates the lower step mark. The reading of the ID code BC is started without reading DMa.

【0021】次のステップS7では第2センサ2が段マ
ークDMa又はIDコードBCの読取りを開始したか否
かが判定され、NOの場合は上述したステップS6に戻
って第1センサ1の読取りが続行され、YESの場合は
次のステップS8並びにS9に順次進んで第1センサ1
と第2センサ2による段マークDMa,DMbとIDコ
ードBCの読取りが続行され、次いで、ステップS10
並びにステップS11に進んで各センサ1と2の読取り
が終了すると、次のステップS12に進む。
In the next step S7, it is determined whether or not the second sensor 2 has started reading the step mark DMa or the ID code BC. If NO, the process returns to step S6 described above to read the first sensor 1. If the determination is YES, the process proceeds to the next steps S8 and S9, and the first sensor 1
And the reading of the step marks DMa and DMb and the ID code BC by the second sensor 2 is continued, and then step S10
Then, when the process proceeds to step S11 and the reading of each sensor 1 and 2 is completed, the process proceeds to the next step S12.

【0022】ステップS12では、第1センサ1がタイ
ムカードTCの上端を検知したか否かが判定され、検知
した場合は次のステップS13に進んでカード送りモー
タ4Mを停止して、タイムカードTCの引込み搬送を停
止すると共に、次のステップS14に進んで各センサ1
と2が読取ったデータに従って下段マークDMaと上段
マークDMb間のカード送りモータ4Mのステップ数
と、IDコードBC(バーコード)の編集が行われ、更
に、タイムカードTCの表裏チェックと編集したIDコ
ードのチェック(特定化)が行われて、次のステップS
15に進む。
In step S12, it is determined whether or not the first sensor 1 detects the upper end of the time card TC. If it is detected, the process proceeds to the next step S13, the card feed motor 4M is stopped, and the time card TC is detected. While stopping the pulling-in / conveying of each sensor 1, the process proceeds to the next step S14, and each sensor 1
The number of steps of the card feed motor 4M between the lower mark DMa and the upper mark DMb and the ID code BC (bar code) are edited according to the data read by the above-mentioned Nos. 2 and 3, and the front and back side check of the time card TC and the edited ID are performed. The code is checked (specification) and the next step S
Proceed to 15.

【0023】ステップS15ではタイムカードTCの下
段マークDMaから上段マークDMbまでの距離=Am
m(固定)と、同じく下段マークDMaから上段マーク
DMbまでのステップ数=Bとから、カード送りモータ
4Mの1ステップ当りの送りピッチCmm/ステップ
(=A/B)を算出し、次いで、ステップS16に進ん
で上記第1センサ1によるタイムカードTCの下端と上
端の検知データに従って、タイムカードTCの長さをチ
ェックして次のステップS17(図7参照)に進む。
In step S15, the distance from the lower mark DMa to the upper mark DMb of the time card TC = Am
The feed pitch Cmm / step (= A / B) per step of the card feed motor 4M is calculated from m (fixed) and the number of steps from the lower mark DMa to the upper mark DMb = B, and then the step In step S16, the length of the time card TC is checked according to the detection data of the lower end and the upper end of the time card TC by the first sensor 1, and the process proceeds to the next step S17 (see FIG. 7).

【0024】ステップS17では、ステップS14でチ
ェックした表裏判別データとプログラムに基づいてタイ
ムカードTCの表裏が正しく挿入されたか否かが判定さ
れ、NGの場合はステップS26に進んでそのままカー
ド送りモータ4Mの逆転によってタイムカードTCが挿
入口に排出され、正しい場合(YES)は次のステップ
S18に進み、表裏の判定結果が裏面挿入(月後半)で
ある場はステップS19に進み、表面挿入(月前半)で
ある場合はステップS20に進む。
In step S17, it is determined whether or not the front and back of the time card TC have been correctly inserted based on the front and back discriminating data and the program checked in step S14. In the case of NG, the process proceeds to step S26 and the card feed motor 4M is directly operated. When the time card TC is discharged to the insertion slot by the reversal of No., and it is correct (YES), the process proceeds to the next step S18. If it is (first half), the process proceeds to step S20.

【0025】ステップS19では、カード送りモータ4
Mを逆転してタイムカードTCを第1センサ1が上段マ
ークDMbを検知する位置まで上昇移動して停止し、ま
た、ステップS20では同じくカード送りモータ4Mを
逆転してタイムカードTCを第2センサ2が上段マーク
DMbを検知する位置まで上昇移動して停止することに
より、これ等の停止位置を夫々基準点にしてステップS
21以降の段送りが行われる。
In step S19, the card feed motor 4
M is reversed to move the time card TC upward to a position where the first sensor 1 detects the upper mark DMb and stop, and in step S20, the card feed motor 4M is also reversed to move the time card TC to the second sensor. 2 moves up to a position where the upper mark DMb is detected and stops, so that these stop positions are respectively set as reference points and step S
Step shifting after 21 is performed.

【0026】即ち、ステップS21では前記ステップS
14で判断したIDコードをメモリ部11の勤務体系プ
ログラムと照合することによって今回の印字段位置を決
定し、次いで、次のステップS22に進んで上記ステッ
プS15で算出した1ステップ当りの送りピッチと、上
記各停止点(基準点)から決定した印字段位置までの距
離とに基づいて、基準点から印字段位置までのカード送
りモータ4Mの移動ステップ数とその方向を算出し、次
のステップS23でカード送りモータ4Mを算出した移
動ステップ数だけ正逆いずれかの方向に回転してタイム
カードTCを段送りすることによって、決定した印字段
をプリンタ5のプリントラインPL上に位置させること
ができる。
That is, in step S21, the step S
The print position of this time is determined by collating the ID code determined in 14 with the work system program of the memory unit 11, then the process proceeds to the next step S22, and the feed pitch per step calculated in step S15 is used. , The number of movement steps of the card feed motor 4M from the reference point to the printing step position and its direction are calculated based on the distance from each stop point (reference point) to the determined printing step position, and the next step S23. By rotating the card feed motor 4M in the forward or reverse direction by the calculated number of movement steps to feed the time card TC in stages, the determined printing stage can be positioned on the print line PL of the printer 5. ..

【0027】上記の段送りが済んだら、ステップS24
に進んでプリンタ5が決定した印字段の欄Taに勤務デ
ータを1行印字し、次いで、ステップS25に進んで印
字が終了したか否かが判定され、印字が終了した場合は
次のステップS26に進んでカード送りモータ4Mの逆
転によるタイムカードTCの排出処理が成され、また、
他に印字するデータが残っている場合は、ステップS2
7に進んで次の印字段までのステップ数が算出され、以
後は上述したステップS23とS24の各処理が実行さ
れて印字処理を終え、全ての印字が済んだらステップS
26に進んでタイムカードTCが排出されて、全ての処
理を終える。
After the above stepping is completed, step S24
In step S25, the printer 5 prints one line of work data in the print stage column Ta determined by the printer 5, and then in step S25, it is determined whether the printing is completed. If the printing is completed, the next step S26 is performed. Then, the processing for discharging the time card TC is performed by the reverse rotation of the card feed motor 4M.
If there is any other data to be printed, step S2
7, the number of steps up to the next printing stage is calculated, and thereafter, the processes of steps S23 and S24 described above are executed to end the printing process, and when all printing is completed, step S
The process proceeds to step 26, the time card TC is ejected, and all the processes are finished.

【0028】尚、上述した実施例では移動ステップ数を
算出するための基準点を上段マークDMbの検知点とし
ているが、これは実施の一例であって、タイムカードT
Cの下端部、或は、下段マークDMa等いずれの位置を
基準点と定めてもよく、その選択は任意とする。
In the above-described embodiment, the reference point for calculating the number of movement steps is the detection point of the upper mark DMb, but this is an example of implementation and the time card T is used.
The lower end of C, the lower mark DMa, or any other position may be set as the reference point, and the selection is arbitrary.

【0029】[0029]

【発明の効果】以上述べた次第で、本発明によればプリ
ンタに対するタイムカードの印字段位置を正確に決定す
ることができるのであるが、本発明では特にタイムカー
ドを差込む度にカード送りモータによるカード送りのス
テップ数が算出され、このステップ数に従ってタイムカ
ードの段送りが行われるため、カード送りモータとして
高精度で高価格のステッピングモータを使用する必要が
なく、比較的低価格のACモータを使用してタイムレコ
ーダ全体のコストを低減できる経済性を発揮できると共
に、カード搬送ローラの精度は不要であり、また、摩耗
によって多少の狂いが生じてもタイムカードを印字段位
置に正確に段送りできる利点を発揮できるものであっ
て、プログラムの変更によって顧客の要望に叶ったフレ
キシブルな印字フォーマットのタイムカードを容易に作
成できる点と相俟って、タイムカードの段送りをカード
送り用モータで行う各種タイムレコーダに実施して、そ
の効果は極めて高い。
As described above, according to the present invention, it is possible to accurately determine the printing step position of the time card with respect to the printer. In the present invention, however, the card feed motor is inserted every time the time card is inserted. The step number of the card feed is calculated according to the step number, and the stepping of the time card is performed according to this step number, so there is no need to use a highly accurate and expensive stepping motor as the card feed motor, and a relatively low price AC motor The cost of the time recorder as a whole can be reduced by using, and the accuracy of the card transport roller is not required, and the time card can be accurately fed to the printing step position even if some deviation occurs due to wear. The flexible printing font that can meet the customer's request by changing the program can be used. The mat time card I readily coupled with a point that can be created, to implement the various time recorder performing stage feed of the time card in card feed motor, the effect is very high.

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

【図1】本発明を実施したタイムレコーダの内部構造を
概略的に示した正面図である。
FIG. 1 is a front view schematically showing an internal structure of a time recorder embodying the present invention.

【図2】同じくタイムレコーダの内部構造を概略的に示
した側面図である。
FIG. 2 is a side view schematically showing the internal structure of the time recorder.

【図3】本発明の電気的構成を示したブロック図であ
る。
FIG. 3 is a block diagram showing an electrical configuration of the present invention.

【図4】本発明で使用するタイムカードの表面図であ
る。
FIG. 4 is a front view of a time card used in the present invention.

【図5】本発明で使用するタイムカードの裏面図であ
る。
FIG. 5 is a back view of the time card used in the present invention.

【図6】本発明によるタイムカードの段送りと印字の処
理手順を説明したフローチャートである。
FIG. 6 is a flowchart illustrating a procedure of step feed and printing of a time card according to the present invention.

【図7】図6に示したフローチャートの続きを示したフ
ローチャートである。
7 is a flowchart showing a continuation of the flowchart shown in FIG.

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

TR タイムレコーダ TC タイムカード TCA 表面 TCB 裏面 BC IDコード(バーコード) DMa 下段マーク DMb 上段マーク Ta 印字欄 1 第1センサ 2 第2センサ 4M カード送りモータ 4V 搬送ベルト 5 プリンタ 5M プリンタ駆動用モータ 10 CPU 11 メモリ部 TR Time Recorder TC Time Card TCA Front Side TCB Back Side BC ID Code (Bar Code) DMa Lower Mark DMb Upper Mark Ta Print Box 1 First Sensor 2 Second Sensor 4M Card Feed Motor 4V Conveyor Belt 5 Printer 5M Printer Drive Motor 10 CPU 11 Memory part

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 タイムカードに記録されている各従業員
のIDコードを読取ることによって印字段を決定し、こ
の決定した印字段にプリンタが勤務データを印字するよ
うに構成したタイムレコーダに於いて、カード送りモー
タの回転によるタイムカードの引込み搬送時に、タイム
カードに上下に間隔をあけて記録した段マークを読取る
ことにより、上下の段マークの距離とカード送りのステ
ップ数からカード送りモータの1ステップ当りの送りピ
ッチを算出し、且つ、この送りピッチに基づいて上記I
Dコードによって決定された印字段までの移動ステップ
数を算出して、カード送りモータをこの算出した移動ス
テップ数だけ回転してタイムカードを印字段位置に段送
りすることを特徴とするタイムレコーダに於けるタイム
カードの段送り制御方法。
1. A time recorder configured to determine a print stage by reading an ID code of each employee recorded on a time card, and the printer is configured to print work data on the determined print stage. When the time card is retracted and conveyed by rotating the card feed motor, the step marks recorded at intervals above and below the time card are read, so that one step of the card feed motor can be obtained from the distance between the upper and lower step marks and the number of card feed steps. The feed pitch per hit is calculated, and based on this feed pitch, the above I
A time recorder characterized in that the number of moving steps to the printing stage determined by the D code is calculated, and the card feed motor is rotated by the calculated number of moving steps to feed the time card to the printing stage position. How to control the step feed of the time card.
【請求項2】 タイムカードに記録されている各従業員
のIDコードを読取ることによって印字段を決定し、こ
の決定した印字段にプリンタが勤務データを印字するよ
うに構成したタイムレコーダに於いて、タイムカードの
搬送通路を挾んでその表裏両側にタイムカードの一側面
に記録したIDコードと、他側面に上下に間隔をあけて
記録した段マークのいずれをも読取ることができる第1
センサと第2センサを上下に位置をずらして設け、これ
等第1センサと第2センサとカード送りモータを接続し
た制御部には、第1センサ又は第2センサによる上記上
下の段マークの読取りに従ってカード送りモータの1ス
テップ当りの送りピッチを算出する送りピッチ算出手段
と、この算出手段が算出した送りピッチに基づいて上記
IDコードによって決定された印字段までの移動ステッ
プ数を計算する移動ステップ数計算手段と、カード送り
モータをこの計算手段が計算した移動ステップ数だけ回
転してタイムカードを印字段位置に段送りするモータ制
御手段とを備えて成ることを特徴とするタイムレコーダ
に於けるタイムカードの段送り制御装置。
2. A time recorder configured to determine a print stage by reading an ID code of each employee recorded on a time card, and the printer is configured to print work data on the determined print stage. It is possible to read both the ID code recorded on one side of the time card on both sides of the time card's transport path and the step marks recorded on the other side with a vertical gap.
A sensor and a second sensor are provided at vertically displaced positions, and the control unit connecting the first sensor, the second sensor and the card feed motor to each other reads the upper and lower step marks by the first sensor or the second sensor. According to the feeding pitch calculating means for calculating the feeding pitch per step of the card feeding motor, and the moving step for calculating the number of moving steps to the printing stage determined by the ID code based on the feeding pitch calculated by this calculating means. The time recorder according to the present invention comprises a number calculation means and a motor control means for rotating the card feed motor by the number of movement steps calculated by the calculation means to feed the time card to the printing stage position. Card feed control device.
JP27834391A 1991-09-30 1991-09-30 Time card advance control method and device in time recorder Expired - Fee Related JP3169648B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27834391A JP3169648B2 (en) 1991-09-30 1991-09-30 Time card advance control method and device in time recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27834391A JP3169648B2 (en) 1991-09-30 1991-09-30 Time card advance control method and device in time recorder

Publications (2)

Publication Number Publication Date
JPH0594573A true JPH0594573A (en) 1993-04-16
JP3169648B2 JP3169648B2 (en) 2001-05-28

Family

ID=17596011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27834391A Expired - Fee Related JP3169648B2 (en) 1991-09-30 1991-09-30 Time card advance control method and device in time recorder

Country Status (1)

Country Link
JP (1) JP3169648B2 (en)

Also Published As

Publication number Publication date
JP3169648B2 (en) 2001-05-28

Similar Documents

Publication Publication Date Title
CN102152657A (en) Recording apparatus and recording method
JP2934797B2 (en) Print position determination device for time clock
JPH0594573A (en) Method and device for controlling step feeding of time card in time recorder
US4381511A (en) Printing device for a time recorder
EP0414604B1 (en) Magnetic stripe reading apparatus for passbook
JP2002347292A (en) Time recorder with function of adjusting card transfer amount, and time card
JP2004058337A (en) Printer
JPH0435970Y2 (en)
JP2003320718A (en) Recording apparatus and paper feed correction method
JP2568712Y2 (en) Identification code reading device in time clock
JPH01114470A (en) Correcting method for feed amount of printing paper in printer
JP3317914B2 (en) Data write position adjustment method and data recording device
JP2751590B2 (en) Reader
JPH0315313Y2 (en)
JPH0444312B2 (en)
JPH05238099A (en) Printer
JPH0631566Y2 (en) Sensor device for time recorder
JP2578920B2 (en) Printer print positioning mechanism
JP2005007838A (en) Printer device
JP2900049B2 (en) Card processing device with printing function
JP2711713B2 (en) Collation system
JPH0651953U (en) Printing stage position setting device for time recorder
JPH08187911A (en) Printing device and printing method
JPS6369675A (en) Identification mark printing apparatus of printer
JPS6241065A (en) Cutter for printing medium

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090316

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20100316

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20110316

LAPS Cancellation because of no payment of annual fees