JP4322357B2 - Label conveying apparatus, label conveying method, and recording medium - Google Patents
Label conveying apparatus, label conveying method, and recording medium Download PDFInfo
- Publication number
- JP4322357B2 JP4322357B2 JP18250599A JP18250599A JP4322357B2 JP 4322357 B2 JP4322357 B2 JP 4322357B2 JP 18250599 A JP18250599 A JP 18250599A JP 18250599 A JP18250599 A JP 18250599A JP 4322357 B2 JP4322357 B2 JP 4322357B2
- Authority
- JP
- Japan
- Prior art keywords
- label
- address
- mount
- data
- storage area
- 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 - Fee Related
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、ラベル搬送装置およびラベル搬送方法、並びに記録媒体に関し、特に、ラベルの先端を所定の位置に正確に搬送するラベル搬送装置およびラベル搬送方法、並びに記録媒体に関する。
【0002】
【従来の技術】
台紙に所定の間隔で剥離可能に貼付された各ラベルに印字を行う場合、ラベルを移送し、ラベルの先端を印字ヘッドの直下で停止させる必要がある。その場合、図7に示すように、従来は、まず、ラベル1のピッチ(ラベル1の長さ)Nとギャップ(ラベル1とラベル1の間の台紙のみの部分)の長さを測定し、次式のように、ラベル1を検出する位置検出センサ6の位置と印字ヘッド5の間の距離Lを、いま測定したラベルのピッチNとギャップの長さGとを加算した値(N+G)で割り算し、余りYを求める。
【0003】
L ÷ (N + G) = X 余りY
【0004】
そして、位置検出センサ6の直下にラベル1の先端が位置する状態で、余りYの分だけラベル1を搬送することにより、ラベル1の先端を印字ヘッド5の直下で停止させるようにしていた。
【0005】
例えば、L=80ミリメートル(mm)、N=25mm、ギャップG=3mmとすると、
80mm÷(25mm+3mm)=2 余り24mm
であるから、位置検出センサ6と印字ヘッド5の間に2枚のラベル1が存在し、ラベル1の先端が位置検出センサ6の直下にある状態で、ラベル1を24mmだけ搬送すると、ラベル1の先端を印字ヘッド5の位置で停止させることができる。
【0006】
【発明が解決しようとする課題】
しかしながら、ラベル1の長さ(ピッチ)N、及びギャップの長さGは必ずしも一定ではないため、位置検出センサ6と印字ヘッド5の間に複数のラベル1が入る場合、即ち、センサ1と印字ヘッド5の間の距離が、ラベル1のピッチNとギャップの長さGとを合わせた長さの2倍以上ある場合、センサ1が測定したラベル1のピッチNとギャップの長さGとを合わせた長さは、位置検出センサ6と印字ヘッド5の間にある他のラベル1のピッチNとギャップの長さGとを合わせた長さとは異なるため、停止位置にズレが生じる場合がある課題があった。
【0007】
本発明はこのような状況に鑑みてなされたものであり、ラベルの先端を所定の位置に正確に位置付けることができるようにするものである。
【0008】
【課題を解決するための手段】
請求項1に記載のラベル搬送装置は、台紙上に剥離可能に貼付されたラベルを搬送するラベル搬送装置であって、ラベル及び台紙を所定の時間間隔で所定の単位距離ずつ搬送する搬送手段と、時間間隔で、隣接する2つのラベルの間のギャップと、ラベルとを検出する検出手段と、アドレスで指定される複数の記憶領域からなり、検出手段による検出結果に対応するデータを記憶領域に記憶する記憶手段と、検出手段による検出結果に対応するデータを検出手段の位置に対応する第1のアドレスで指定される記憶領域に書き込むデータ書き込み手段と、搬送手段がラベル及び台紙を所定の時間間隔で所定の単位距離ずつ搬送するのに同期して、記憶手段の各記憶領域と、各記憶領域を指定するアドレスとの対応を変更するアドレス変更手段と、ラベルおよび台紙が搬送される方向に、検出手段から所定の距離だけ離れた位置に対応する第2のアドレスで指定される記憶領域に記憶されたデータを読み出すデータ読み出し手段と、データ読み出し手段によって読み出されたデータの値に基づいて、ラベルの位置及びギャップの位置を判定する位置判定手段と、搬送手段により搬送されたラベルに印字を行う印字手段と、を備えることを特徴とする。
また、位置判定手段は、データ読み出し手段によって読み出されたデータの値が変化したか否かに基づいて、ラベルの先頭の位置及びギャップの先頭の位置の少なくともいずれか一方を判定するようにすることができる。
また、第2のアドレスは、印字手段の位置に対応するようにすることができる。
また、第1のアドレスと第2のアドレスの差は、検出手段と印字手段の間の距離を単位距離で除算して得られる値に等しいようにすることができる。
請求項5に記載のラベル搬送方法は、台紙上に剥離可能に貼付されたラベルを搬送するラベル搬送方法であって、ラベル及び台紙を所定の時間間隔で所定の単位距離ずつ搬送する搬送ステップと、検出部が、時間間隔で、隣接する2つのラベルの間のギャップと、ラベルとを検出する検出ステップと、検出ステップにおける検出結果に対応するデータを、アドレスで指定される複数の記憶領域からなる記憶部の記憶領域に記憶する記憶ステップと、検出ステップにおける検出結果に対応するデータを検出部の位置に対応する第1のアドレスで指定される記憶領域に書き込むデータ書き込みステップと、搬送ステップにおいてラベル及び台紙が所定の時間間隔で所定の単位距離ずつ搬送されるのに同期して、記憶部の各記憶領域と、各記憶領域を指定するアドレスとの対応を変更するアドレス変更ステップと、ラベルおよび台紙が搬送される方向に、検出部から所定の距離だけ離れた位置に対応する第2のアドレスで指定される記憶領域に記憶されたデータを読み出すデータ読み出しステップと、データ読み出しステップにおいて読み出されたデータの値に基づいて、ラベルの位置及びギャップの位置を判定する位置判定ステップとを備えることを特徴とする。
請求項6に記載の記録媒体は、請求項5に記載のラベル搬送方法をCPUに実行させるためのプログラムを記録したCPU読取り可能とされていることを特徴とする。
本発明に係るラベル搬送装置およびラベル搬送方法、並びに記録媒体においては、ラベル及び台紙を所定の時間間隔で所定の単位距離ずつ搬送し、検出部が、その時間間隔で、隣接する2つのラベルの間のギャップと、ラベルとを検出し、検出結果に対応するデータを、アドレスで指定される複数の記憶領域からなる記憶部の記憶領域に記憶し、検出結果に対応するデータを検出部の位置に対応する第1のアドレスで指定される記憶領域に書き込み、ラベル及び台紙が所定の時間間隔で所定の単位距離ずつ搬送されるのに同期して、記憶部の各記憶領域と、各記憶領域を指定するアドレスとの対応を変更し、ラベルおよび台紙が搬送される方向に、検出部から所定の距離だけ離れた位置に対応する第2のアドレスで指定される記憶領域に記憶されたデータを読み出し、読み出されたデータの値に基づいて、ラベルの位置及びギャップの位置を判定する。
【0009】
【発明の実施の形態】
図1は、本発明を応用したラベルプリンタの一実施の形態の構成例を示す図である。同図に示すように、ラベルプリンタは、各部を制御する制御部7と、ラベル1に印字を行う印字ヘッド5と、制御部7の制御により駆動されるステッピングモータ(以下では、適宜単にモータと記載する)4と、ベルト8を介して伝達されるモータ4の回転力によって回転し、台紙2及び台紙2に剥離可能に貼付されたラベル1を搬送するとともに、ラベル1を印字ヘッド5に押圧するプラテンローラ3と、所定の光を出射する発光部と、発光部から出射された光を受光し、受光した光量に対応する電気信号を出力する受光部とからなり、台紙2及びラベル1を挟むように発光部と受光部を配し、ラベル1とギャップ(ラベル1とラベル1の間の台紙のみの部分)を受光部の受光量に基づいて検出する位置検出センサ(以下では、適宜単にセンサという)6とを備えている。
【0010】
図2は、図1の実施の形態の電気的な構成例を示すブロック図である。同図に示すように、制御部7は、所定の制御プログラムを記憶するROM(read only memory)12と、ROM12に記憶されている制御プログラムに従って動作し、各部を制御するCPU(central processing unit)11と、CPU11が動作する上で必要となる各種データを記憶するRAM(random access memory)13と、ステッピングモータ4にパルス信号を供給し、モータ4を回転させるモータ制御部14と、CPU11から供給される印字すべき文字、図形、及びバーコードなどの印字データに対応する制御信号を生成し、印字ヘッド5に供給し、印字動作を行わせる印字制御部15と、CPU11の制御下、センサ6の発光部を制御し、光を出射させるとともに、受光部から出力される電気信号を受け取り、CPU11に供給するセンサ制御部16とを備えている。また、外部インタフェース17を介して、外部に接続された機器との間でデータの送受信を行うことができるようになされている。
【0011】
次に、図3を参照して、具体例について説明する。図3は、位置検出センサ6と印字ヘッド5の間の距離より短いピッチ(ラベル1の長さ)のラベル1に印字する場合の例を示している。
【0012】
この例の場合、ラベル1の搬送方向の長さ(ピッチ)は25ミリメートル(mm)、ラベル1とラベル1の間のギャップの長さは3mm、印字ヘッド5と位置検出センサ6の間の距離は40mmである。
【0013】
ラベル1及び台紙2は、ステッピングモータ4の回転に同期して回転するプラテンローラ3の回転により、プラテンローラ3と台紙2との間の摩擦力の作用で搬送される。例えば、印字ヘッド5の印字密度が8ドット/mmである場合、ステッピングモータ4が1ステップ分だけ回転すると、ラベル1及び台紙2が1/8mmだけ紙送り方向に搬送されることになる。
【0014】
ラベル1の長さは25mmであるので、ステッピングモータ4が200(=25(mm)×8(ドット))ステップ分だけ回転すると、ラベル1の長さ分だけラベル1及び台紙2が搬送される。また、ギャップの長さは3mmであるので、ステッピングモータ4が24(=3(mm)×8(ドット))ステップ分だけ回転すると、ギャップの長さ分だけラベル1及び台紙2が搬送される。
【0015】
この実施の形態では、ラベル1及び台紙2が1ドット分だけ搬送される度に、位置検出センサ6がラベル1及びギャップの検出動作(発光部が受光部に対して光を出射し、受光部がラベル1及び台紙2又は台紙2のみを透過してきた光を受光し、受光量に応じた電気信号を出力する動作)を行い、検出結果をRAM13内に設けられたリングバッファメモリ(以下では、適宜単にメモリという)21に書き込むようになされている。
【0016】
例えば、リングバッファメモリ21は、位置検出センサ6と印字ヘッド5の間の距離だけラベル1及び台紙2を搬送するために必要なステッピングモータ4のステップ数に対応するバイト数分の大きさとされる。
【0017】
例えば、印字ヘッド5と位置検出センサ6の間の距離が40mmの場合、リングバッファメモリ21の大きさは少なくとも320(=40(mm)×8(ドット))バイト以上とされる。また、印字ヘッド5と位置検出センサ6の間の距離が60mmの場合、リングバッファメモリ21の大きさは少なくとも480(=60(mm)×8(ドット))バイト以上とされる。
【0018】
次に、図4のフローチャートを参照して、本実施の形態の動作について説明する。ここでは、リングバッファメモリ21の大きさが320バイトである場合について説明する。いま、図5に示すように、印字ヘッド5の直下に、ラベル1の先端が位置し、印字ヘッド5による印字動作が開始されるものとする。
【0019】
最初に、ステップS1において、印字ヘッド5による1ライン分の印字が行われる。次に、ステップS2において、位置検出センサ6により、ギャップが検出されたか否かが判定される。位置検出センサ6によりギャップが検出されたと判定された場合、ステップS4に進み、リングバッファメモリ21の位置検出センサ6の位置に対応するアドレスに値1がデータとして書き込まれる。
【0020】
一方、位置検出センサ6によりギャップが検出されなかった、即ちラベル1が検出されたと判定された場合、ステップS3に進み、リングバッファメモリ21の位置検出センサ6の位置に対応するアドレスに値0がデータとして書き込まれる。
【0021】
ステップS3又はステップS4の処理が終了すると、ステップS5に進む。ステップS5においては、リングバッファメモリ21の印字ヘッド5の位置に対応するアドレスの値が読み出される。
【0022】
次に、ステップS6において、ステップS5においていま読み出された値と、前回読み出された値とに基づいて、リングバッファメモリ21の印字ヘッド5の位置に対応するアドレスから、いま値0が読み出され、前回値1が読み出されたか否かが判定される。即ち、ステップS5において読み出された値が1から0に変化したか否かが判定される。
【0023】
リングバッファメモリ21の印字ヘッド5の位置に対応するアドレスから、いま値0が読み出され、前回読み出された値が1であると判定された場合、即ち、ステップS5において読み出された値が1から0に変化したと判定された場合、印字ヘッド5の直下にラベル1の先頭が位置しており、ラベル1の搬送を停止すべきであることが認識され、モータ制御部14は、ステッピングモータ4の動作を停止させる。その後、処理を終了する。これにより、次のラベル1の先端が、印字ヘッド5の直下に位置するようになる。その後、CPU11により、次のラベル1への印字が開始されることになる。
【0024】
一方、ステップS5において読み出された値が1から0に変化していないと判定された場合、印字ヘッド5の直下にラベル1の先頭が位置していないことが認識され、ステップS7に進む。
【0025】
ステップS7においては、モータ制御部14の制御により、ステッピングモータ4が1ステップ分だけ回転し、ラベル1を1ドット分だけ搬送する。次に、ステップS8において、リングバッファメモリ21のアドレスを1だけ増加させる。
【0026】
ステップS9においては、リングバッファメモリ21のアドレスのうち、リングバッファメモリ21の最終アドレスを越えたアドレスをリングバッファメモリ21の先頭アドレス(アドレス0)にする。
【0027】
その後、ステップS1に戻り、ステップS1以降の処理が繰り返し実行される。
【0028】
リングバッファメモリ21のアドレスを1だけ増加させるということは、実質的には、リングバッファメモリ21に書き込まれたデータ(この例の場合、0又は1)をアドレスの大きい方にシフトするということである。即ち、リングバッファメモリ21のアドレスn(この例の場合、nは0乃至319)に記憶されていたデータがアドレスn+1に移動することと実質的に同様である。そして、アドレス(n+1)が最終アドレス(この例の場合、319)を越える場合、アドレス(n+1)をアドレス0にする。即ち、アドレスnに格納されていたデータがアドレス0に格納される。
【0029】
図5は、ラベル1及び台紙2の位置検出センサ6に対する位置と、リングバッファメモリ21の各アドレスに格納される値との対応を示す図である。図5に示すように、ラベル1の部分に対応するリングバッファメモリ21のアドレスには、値0が書き込まれ、台紙2の部分に対応するリングバッファメモリ21のアドレスには、値1が書き込まれる。
【0030】
ラベル1及び台紙2が搬送されるタイミングと、位置検出センサ6による検出信号に対応する値がリングバッファメモリ21に書き込まれるタイミングは同期している。従って、例えば、位置検出センサ6の直下にラベル1があるときは、受光部の受光量が所定の基準値以下となり、ラベル1があることを示す値0がリングバッファメモリ21に書き込まれる。次に、ラベル1及び台紙2は、1ドット分の距離だけ搬送され、リングバッファメモリ21のアドレスが1だけ加算される。即ち、リングバッファメモリ21にバイト単位で書き込まれた全ての値が、1バイト分だけアドレスの大きい方にそれぞれシフトされる。
【0031】
同様に、位置検出センサ6の直下にギャップがあるときは、受光部の受光量が所定の基準値より大きくなり、ギャップがあることを示す値1がリングバッファメモリ21に書き込まれる。次に、ラベル1及び台紙2は、1ドット分の距離だけ搬送され、リングバッファメモリ21のアドレスが1だけ加算される。即ち、リングバッファメモリ21にバイト単位で書き込まれた全ての値が、1バイト分だけアドレスの大きい方にそれぞれシフトされる。
【0032】
図5に示すように、ラベル1及び台紙2が搬送されるときの最小単位である各ドット(この例の場合、8ドット/ミリメートル(mm)であるので、1ドットは、1/8mmとなる)と、リングバッファメモリ21の各バイトとを対応付けると、ラベル1及び台紙2が1ドットずつ搬送されるのに同期して、リングバッファメモリ21にバイト単位で書き込まれた各データ(この例の場合、ラベル1を示す値0とギャップを示す値1)が1バイトずつシフトされる。従って、ラベル1及びギャップの位置は、リングバッファメモリ21の対応するアドレスの値から検出することができる。
【0033】
図5に示した例の場合、位置検出センサ6と印字ヘッド5の間の距離は40mmであり、320(=40×8)ドット分の距離である。320ドットは、ステッピングモータ4の320ステップに対応する。
【0034】
図5に示した例では、リングバッファメモリ21の位置検出センサ6の位置に対応する右端のアドレスがアドレス0であり、印字ヘッド5の位置に対応する左端のアドレスがアドレス319となっている。
【0035】
そして、ラベル1及び台紙2が1ドット分の距離ずつ搬送され、リングバッファメモリ21の値がシフトされ、リングバッファメモリ21の印字ヘッド5の位置に対応するアドレス319から読み出された値が1から0に変化したとき、印字ヘッド5の直下にラベル1の先頭が位置したことを検出することができる。
【0036】
このように、リングバッファメモリ21の各バイトに書き込まれている値は、ラベル1及びギャップと対応しているので、ラベル1の長さ(ピッチ)やギャップの長さが一定でなくても、ラベル1の先端が印字ヘッド5の直下に位置したことを正確に検出することができる。
【0037】
次に、図6に示すように、ラベル1の長さが、位置検出センサ6と印字ヘッド5の間の距離より長い場合について説明する。位置検出センサ6と印字ヘッド5との間の距離がラベル1の長さより短い場合、位置検出センサ6と印字ヘッド5の間には、ギャップが1つだけある場合とギャップが全くない場合とがある。
【0038】
図6において、ラベル印字開始位置をラベル1の先頭端とした場合、印字ヘッド5の直下にラベル1の先頭が位置する状態で停止させる。
【0039】
リングバッファメモリ21は、位置検出センサ6と印字ヘッド5の間の距離に対応した大きさ分だけRAM13内に確保される。いまの場合、位置検出センサ6と印字ヘッド5の間の距離が40mm、印字密度が8ドット/mmであるので、320(=40×8)バイト分の大きさのリングバッファメモリ21がRAM13内に確保される。
【0040】
図5を参照して上述した場合と同様に、位置検出センサ6は、ギャップを検出したとき、リングバッファメモリ21の位置検出センサ6の位置に対応するアドレス(この例の場合、アドレス0)に値1を書き込む。一方、位置検出センサ6は、ラベル1を検出したとき、リングバッファメモリ21の位置検出センサ6の位置に対応するアドレス(この例の場合、アドレス0)に値0を書き込む。
【0041】
次に、リングバッファメモリ21の印字ヘッド5の位置に対応するアドレス(この例の場合、アドレス319)に格納されているデータを読み出す。
【0042】
そして、ラベル1及び台紙2が1ステップ分(1ドットに対応する)だけ搬送されるのと同時に、リングバッファメモリ21の各アドレスが1だけ増加させられる。即ち、アドレスn(nは、0乃至319の整数)に格納されていたデータがアドレス(n+1)に格納される。(n+1)が319を越える場合、(n+1)は0とされ、アドレスnに格納されていたデータは、アドレス0に格納される。
【0043】
上述したように、印字ヘッド5の位置に対応するアドレス(この例の場合、アドレス319)から読み出したデータの値が0であるとき、印字ヘッド5の直下にラベル1があると判断することができる。また、印字ヘッド5の位置に対応するアドレス(この例の場合、アドレス319)から読み出したデータの値が1であるとき、印字ヘッド5の直下にギャップがあると判断することができる。
【0044】
従って、リングバッファメモリ21の印字ヘッド5の位置に対応するアドレス(この例の場合、アドレス319)から、いま読み出したデータの値が0であり、直前に読み出したデータの値が1であるか否かを判定し、いま読み出したデータの値が0であり、直前に読み出したデータの値が1であると判定された場合、印字ヘッド5の直下にラベル1の先端が位置していることを検出することができる。
【0045】
このように、ラベル1及び台紙2の搬送動作とリングバッファメモリ21の内容とは同期がとれているので、リングバッファメモリ21の印字ヘッド5の位置に対応するアドレス(いまの場合、アドレス319)から読み出したデータの値により印字ヘッド5の直下にラベル1の先端が位置していることが検出されたとき、CPU11が、モータ制御部14を制御し、ステッピングモータ4を停止させることにより、ラベル1の先端を印字ヘッド5の直下に位置付けることができる。
【0046】
その後、モータ制御部14がステッピングモータ4を制御し、所定のステップ数分だけラベル1及び台紙2を搬送することにより、ラベル1内の所定の印字位置に印字ヘッド5を位置付け、印字を行う。
【0047】
このように、ラベル1の長さやギャップの長さ、及び位置検出センサ6と印字ヘッド5の間の距離に拘わらず、ラベル1の先端を印字ヘッド5の直下に位置づけることができ、ラベル1の先端を基準として、ラベル1内の所定の位置に印字を行うことができる。
【0048】
なお、上記実施の形態においては、ラベル1とラベル1の間の台紙2のみの部分であるギャップを検出するようにしたが、台紙2の裏に予め印刷されているマークを検出し、マークのある部分を所定の位置に正確に位置付ける場合にも、本発明を適用することができる。
【0049】
また、上記各実施の形態において用いた具体的な数値は例であって、これに限定されるものではない。
【0050】
また、上記各実施の形態においては、本発明をラベルプリンタに応用する場合について説明したが、ラベル1をギャップの部分で切り離すラベルカッターや、剥離板の先端で台紙2をラベル1から剥離する剥離装置等にも、本発明を適用することができる。
【0051】
【発明の効果】
以上の如く、本発明に係るラベル搬送装置およびラベル搬送方法、並びに記録媒体によれば、ラベル及び台紙を所定の時間間隔で所定の単位距離ずつ搬送し、検出部が、その時間間隔で、隣接する2つのラベルの間のギャップと、ラベルとを検出し、検出結果に対応するデータを、アドレスで指定される複数の記憶領域からなる記憶部の記憶領域に記憶し、検出結果に対応するデータを検出部の位置に対応する第1のアドレスで指定される記憶領域に書き込み、ラベル及び台紙が所定の時間間隔で所定の単位距離ずつ搬送されるのに同期して、記憶部の各記憶領域と、各記憶領域を指定するアドレスとの対応を変更し、ラベルおよび台紙が搬送される方向に、検出部から所定の距離だけ離れた位置に対応する第2のアドレスで指定される記憶領域に記憶されたデータを読み出し、読み出されたデータの値に基づいて、ラベルの位置及びギャップの位置を判定するようにしたので、ラベルの先端を所定の位置に正確に位置付けることができる。
【図面の簡単な説明】
【図1】本発明のラベル搬送装置を応用したラベルプリンタの一実施の形態の構成例をを示す図である。
【図2】図1の実施の形態の電気的な構成例を示すブロック図である。
【図3】位置検出センサ6及び印字ヘッド5の間の距離と、ラベル1及びギャップの位置関係を示す図である。
【図4】図1に示した実施の形態の動作を説明するためのフローチャートである。
【図5】位置検出センサ6と印字ヘッド5の間の距離が、ラベル1の長さより長い場合のラベル1の位置とリングバッファメモリ21のデータとの間の関係を示す図である。
【図6】位置検出センサ6と印字ヘッド5の間の距離が、ラベル1の長さより短い場合のラベル1の位置とリングバッファメモリ21のデータとの間の関係を示す図である。
【図7】従来のラベル搬送方法を説明するための図である。
【符号の説明】
1 ラベル
2 台紙
3 プラテンローラ
4 ステッピングモータ
5 印字ヘッド
6 位置検出センサ
7 制御部
8 ベルト
11 CPU
12 ROM
13 RAM
14 モータ制御部
15 印字制御部
16 センサ制御部
17 外部インタフェース
21 リングバッファメモリ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a label conveying apparatus, a label conveying method, and a recording medium, and more particularly, to a label conveying apparatus, a label conveying method, and a recording medium that accurately convey a leading end of a label to a predetermined position.
[0002]
[Prior art]
When printing is performed on each label attached to the mount so as to be peeled at a predetermined interval, it is necessary to transfer the label and stop the leading end of the label directly under the print head. In that case, as shown in FIG. 7, conventionally, first, the pitch of the label 1 (the length of the label 1) N and the length of the gap (the portion of the mount only between the label 1 and the label 1) are measured, As shown in the following equation, the distance L between the position of the
[0003]
L ÷ (N + G) = X remainder Y
[0004]
Then, the label 1 is transported by the remainder Y while the leading edge of the label 1 is positioned directly below the
[0005]
For example, if L = 80 millimeters (mm), N = 25 mm, and gap G = 3 mm,
80mm ÷ (25mm + 3mm) = 2 Extra 24mm
Therefore, when there are two labels 1 between the
[0006]
[Problems to be solved by the invention]
However, since the length (pitch) N of the label 1 and the length G of the gap are not necessarily constant, when a plurality of labels 1 are inserted between the
[0007]
The present invention has been made in view of such circumstances, and makes it possible to accurately position the leading end of a label at a predetermined position.
[0008]
[Means for Solving the Problems]
The label transport apparatus according to claim 1 is a label transport apparatus that transports a label that is releasably pasted on a mount, and transports the label and the mount by a predetermined unit distance at predetermined time intervals. The detection means for detecting a gap between two adjacent labels at a time interval and a label, and a plurality of storage areas specified by addresses, and storing data corresponding to the detection result by the detection means in the storage area Storage means for storing; data writing means for writing data corresponding to a detection result by the detection means to a storage area specified by a first address corresponding to the position of the detection means; and a transport means for storing the label and the mount for a predetermined time Address changing means for changing the correspondence between each storage area of the storage means and an address for designating each storage area in synchronization with transporting by a predetermined unit distance at intervals; A data reading means for reading data stored in a storage area specified by a second address corresponding to a position away from the detection means by a predetermined distance in the direction in which the label and the mount are conveyed, and the data reading means A position determination unit that determines the position of the label and the position of the gap based on the value of the output data, and a printing unit that performs printing on the label conveyed by the conveyance unit .
Further, the position determining means determines at least one of the leading position of the label and the leading position of the gap based on whether or not the value of the data read by the data reading section has changed. be able to.
Further, the second address can correspond to the position of the printing means.
The difference between the first address and the second address can be made equal to a value obtained by dividing the distance between the detection means and the printing means by the unit distance.
The label transport method according to claim 5 is a label transport method for transporting a label that is releasably pasted on a mount, wherein the label and the mount are transported by a predetermined unit distance at predetermined time intervals, and The detection unit detects a gap between two adjacent labels and a label at time intervals, and data corresponding to a detection result in the detection step from a plurality of storage areas specified by addresses A storage step for storing in the storage area of the storage unit, a data writing step for writing data corresponding to the detection result in the detection step to the storage area specified by the first address corresponding to the position of the detection unit, and a transport step Each storage area of the storage unit and each storage area in synchronization with the transport of the label and the mount by a predetermined unit distance at a predetermined time interval The address change step for changing the correspondence with the designated address and the storage area designated by the second address corresponding to the position away from the detection unit by a predetermined distance in the direction in which the label and the mount are conveyed. A data read step for reading the read data, and a position determination step for determining the position of the label and the position of the gap based on the value of the data read in the data read step.
According to a sixth aspect of the present invention, there is provided a recording medium that is readable by a CPU in which a program for causing the CPU to execute the label transport method according to the fifth aspect is recorded.
In the label transport device, the label transport method, and the recording medium according to the present invention, the label and the mount are transported by a predetermined unit distance at a predetermined time interval, and the detection unit detects the two adjacent labels at the time interval. Gaps and labels are detected, data corresponding to the detection results are stored in the storage area of the storage section consisting of a plurality of storage areas specified by the addresses, and the data corresponding to the detection results are stored in the position of the detection section Each storage area of the storage unit, and each storage area in synchronization with the conveyance of the label and the mount by a predetermined unit distance at a predetermined time interval. Is stored in a storage area specified by a second address corresponding to a position away from the detection unit by a predetermined distance in the direction in which the label and the mount are conveyed. It reads data, based on the value of the read data, and determines the position and location of the gap of the label.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a diagram showing a configuration example of an embodiment of a label printer to which the present invention is applied. As shown in the figure, the label printer includes a
[0010]
FIG. 2 is a block diagram showing an example of the electrical configuration of the embodiment of FIG. As shown in the figure, the
[0011]
Next, a specific example will be described with reference to FIG. FIG. 3 shows an example of printing on the label 1 having a pitch (length of the label 1) shorter than the distance between the
[0012]
In this example, the length (pitch) in the conveyance direction of the label 1 is 25 millimeters (mm), the length of the gap between the label 1 and the label 1 is 3 mm, and the distance between the print head 5 and the
[0013]
The label 1 and the
[0014]
Since the length of the label 1 is 25 mm, when the stepping motor 4 is rotated by 200 (= 25 (mm) × 8 (dot)) steps, the label 1 and the
[0015]
In this embodiment, every time the label 1 and the
[0016]
For example, the ring buffer memory 21 has a size corresponding to the number of bytes corresponding to the number of steps of the stepping motor 4 necessary for transporting the label 1 and the
[0017]
For example, when the distance between the print head 5 and the
[0018]
Next, the operation of the present embodiment will be described with reference to the flowchart of FIG. Here, a case where the size of the ring buffer memory 21 is 320 bytes will be described. Now, as shown in FIG. 5, it is assumed that the leading end of the label 1 is located immediately below the print head 5 and the printing operation by the print head 5 is started.
[0019]
First, in step S1, printing for one line is performed by the print head 5. Next, in step S2, it is determined by the
[0020]
On the other hand, when it is determined that the gap is not detected by the
[0021]
When the process of step S3 or step S4 ends, the process proceeds to step S5. In step S5, the address value corresponding to the position of the print head 5 in the ring buffer memory 21 is read.
[0022]
Next, in step S6, the current value 0 is read from the address corresponding to the position of the print head 5 in the ring buffer memory 21 based on the value read in step S5 and the value read in the previous time. It is determined whether or not the previous value 1 has been read. That is, it is determined whether or not the value read in step S5 has changed from 1 to 0.
[0023]
If the value 0 is read from the address corresponding to the position of the print head 5 in the ring buffer memory 21 and it is determined that the previously read value is 1, that is, the value read in step S5. Is determined to have changed from 1 to 0, it is recognized that the head of the label 1 is located immediately below the print head 5 and the conveyance of the label 1 should be stopped. The operation of the stepping motor 4 is stopped. Thereafter, the process ends. As a result, the leading end of the next label 1 is positioned directly below the print head 5. Thereafter, the
[0024]
On the other hand, if it is determined that the value read in step S5 has not changed from 1 to 0, it is recognized that the head of label 1 is not located immediately below the print head 5, and the process proceeds to step S7.
[0025]
In step S7, under the control of the
[0026]
In step S <b> 9, among the addresses of the ring buffer memory 21, the address exceeding the final address of the ring buffer memory 21 is set as the head address (address 0) of the ring buffer memory 21.
[0027]
Then, it returns to step S1 and the process after step S1 is repeatedly performed.
[0028]
Increasing the address of the ring buffer memory 21 by 1 effectively means that the data written in the ring buffer memory 21 (in this example, 0 or 1) is shifted to the larger address. is there. That is, it is substantially the same as the movement of the data stored at the address n (in this example, n is 0 to 319) of the ring buffer memory 21 to the address n + 1. When the address (n + 1) exceeds the final address (319 in this example), the address (n + 1) is set to address 0. That is, the data stored at address n is stored at address 0.
[0029]
FIG. 5 is a diagram showing the correspondence between the positions of the label 1 and the
[0030]
The timing at which the label 1 and the
[0031]
Similarly, when there is a gap immediately below the
[0032]
As shown in FIG. 5, each dot, which is the minimum unit when the label 1 and the
[0033]
In the case of the example shown in FIG. 5, the distance between the
[0034]
In the example shown in FIG. 5, the rightmost address corresponding to the position of the
[0035]
Then, the label 1 and the
[0036]
Thus, since the value written in each byte of the ring buffer memory 21 corresponds to the label 1 and the gap, even if the length (pitch) of the label 1 and the gap length are not constant, It is possible to accurately detect that the leading end of the label 1 is located immediately below the print head 5.
[0037]
Next, as shown in FIG. 6, a case where the length of the label 1 is longer than the distance between the
[0038]
In FIG. 6, when the label printing start position is the leading end of the label 1, the label 1 is stopped in a state where the leading end of the label 1 is located immediately below the print head 5.
[0039]
The ring buffer memory 21 is secured in the
[0040]
As in the case described above with reference to FIG. 5, when the
[0041]
Next, the data stored in the address (in this example, address 319) corresponding to the position of the print head 5 in the ring buffer memory 21 is read.
[0042]
At the same time that the label 1 and the
[0043]
As described above, when the value of data read from the address corresponding to the position of the print head 5 (in this example, the address 319) is 0, it can be determined that the label 1 is directly under the print head 5. it can. Further, when the value of the data read from the address corresponding to the position of the print head 5 (in this example, the address 319) is 1, it can be determined that there is a gap immediately below the print head 5.
[0044]
Therefore, from the address corresponding to the position of the print head 5 in the ring buffer memory 21 (in this example, the address 319), is the value of the data read now being 0 and the value of the data read immediately before being 1? If it is determined that the value of the data read now is 0 and the value of the data read immediately before is 1, the leading edge of the label 1 is located immediately below the print head 5. Can be detected.
[0045]
As described above, since the conveyance operation of the label 1 and the
[0046]
Thereafter, the
[0047]
As described above, regardless of the length of the label 1 or the length of the gap and the distance between the
[0048]
In the above embodiment, the gap which is only the
[0049]
The specific numerical values used in the above embodiments are examples, and are not limited to these.
[0050]
Further, in each of the above embodiments, the case where the present invention is applied to a label printer has been described. However, a label cutter that separates the label 1 at the gap portion, or a peeling that peels the
[0051]
【The invention's effect】
As described above, according to the label transport device, the label transport method, and the recording medium according to the present invention, the label and the mount are transported by a predetermined unit distance at a predetermined time interval, and the detection unit is adjacent at the time interval. The data corresponding to the detection result is detected by detecting the gap between the two labels and the label, storing the data corresponding to the detection result in the storage area of the plurality of storage areas specified by the address. Is written in a storage area designated by a first address corresponding to the position of the detection unit, and each storage area of the storage unit is synchronized with the transport of the label and the mount by a predetermined unit distance at a predetermined time interval. And the address specified by the second address corresponding to the position away from the detection unit by a predetermined distance in the direction in which the label and the mount are conveyed. It reads the data stored in the band, based on the value of the read data. Thus to determine the position and location of the gap of the label can be positioned accurately the leading end of the label in place.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration example of an embodiment of a label printer to which a label conveying device according to the invention is applied.
FIG. 2 is a block diagram showing an example of the electrical configuration of the embodiment of FIG.
FIG. 3 is a diagram illustrating the distance between the
4 is a flowchart for explaining the operation of the embodiment shown in FIG. 1; FIG.
5 is a diagram showing a relationship between the position of the label 1 and the data in the ring buffer memory 21 when the distance between the
6 is a diagram illustrating a relationship between the position of the label 1 and the data in the ring buffer memory 21 when the distance between the
FIG. 7 is a diagram for explaining a conventional label conveying method.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1
12 ROM
13 RAM
14
Claims (6)
前記時間間隔で、隣接する2つの前記ラベルの間のギャップと、前記ラベルとを検出する検出手段と、
アドレスで指定される複数の記憶領域からなり、前記検出手段による検出結果に対応するデータを前記記憶領域に記憶する記憶手段と、
前記検出手段による検出結果に対応するデータを前記検出手段の位置に対応する第1のアドレスで指定される前記記憶領域に書き込むデータ書き込み手段と、
前記搬送手段が前記ラベル及び前記台紙を前記所定の時間間隔で前記所定の単位距離ずつ搬送するのに同期して、前記記憶手段の各記憶領域と、各記憶領域を指定するアドレスとの対応を変更するアドレス変更手段と、
前記ラベルおよび前記台紙が搬送される方向に、前記検出手段から所定の距離だけ離れた位置に対応する第2のアドレスで指定される前記記憶領域に記憶されたデータを読み出すデータ読み出し手段と、前記データ読み出し手段によって読み出された前記データの値に基づいて、前記ラベルの位置及び前記ギャップの位置を判定する位置判定手段と、
前記搬送手段により搬送された前記ラベルに印字を行う印字手段と、
を備えることを特徴とするラベル搬送装置。A label transport device for transporting a label affixed to a mount so as to be peelable, transporting the label and the mount by a predetermined unit distance at predetermined time intervals; and
Detecting means for detecting a gap between two adjacent labels and the label at the time interval;
A storage unit that includes a plurality of storage areas specified by an address, and stores data corresponding to the detection result of the detection unit in the storage area;
Data writing means for writing data corresponding to the detection result by the detecting means to the storage area specified by a first address corresponding to the position of the detecting means;
In synchronization with the transport of the label and the mount by the predetermined unit distance at the predetermined time interval, correspondence between each storage area of the storage means and an address designating each storage area is established. An address changing means to be changed;
Data reading means for reading data stored in the storage area specified by a second address corresponding to a position away from the detection means by a predetermined distance in the direction in which the label and the mount are conveyed; and Position determining means for determining the position of the label and the position of the gap based on the value of the data read by the data reading means;
Printing means for printing on the label conveyed by the conveying means;
A label carrying device comprising:
前記搬送ステップにおいて前記ラベル及び前記台紙が前記所定の時間間隔で前記所定の単位距離ずつ搬送されるのに同期して、前記記憶部の各記憶領域と、各記憶領域を指定するアドレスとの対応を変更するアドレス変更ステップと、前記ラベルおよび前記台紙が搬送される方向に、前記検出部から所定の距離だけ離れた位置に対応する第2のアドレスで指定される前記記憶領域に記憶されたデータを読み出すデータ読み出しステップと、前記データ読み出しステップにおいて読み出された前記データの値に基づいて、前記ラベルの位置及び前記ギャップの位置を判定する位置判定ステップとを備えることを特徴とするラベル搬送方法。A label transporting method for transporting a label affixed to a mount so as to be peelable, the transport step transporting the label and the mount at a predetermined time interval by a predetermined unit distance, and a detection unit at the time interval. A detection step for detecting a gap between two adjacent labels and the label, and data corresponding to a detection result in the detection step in the storage unit including a plurality of storage areas specified by addresses A storage step of storing in the storage area; a data writing step of writing data corresponding to the detection result in the detection step to the storage area specified by a first address corresponding to the position of the detection unit;
Correspondence between each storage area of the storage unit and an address designating each storage area in synchronization with the transport of the label and the mount by the predetermined unit distance at the predetermined time interval in the transport step An address changing step for changing the label and the data stored in the storage area specified by a second address corresponding to a position away from the detection unit by a predetermined distance in the direction in which the label and the mount are conveyed A label reading method, and a position determination step for determining the position of the label and the position of the gap based on the value of the data read in the data reading step .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18250599A JP4322357B2 (en) | 1999-06-28 | 1999-06-28 | Label conveying apparatus, label conveying method, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18250599A JP4322357B2 (en) | 1999-06-28 | 1999-06-28 | Label conveying apparatus, label conveying method, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001010622A JP2001010622A (en) | 2001-01-16 |
JP4322357B2 true JP4322357B2 (en) | 2009-08-26 |
Family
ID=16119482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP18250599A Expired - Fee Related JP4322357B2 (en) | 1999-06-28 | 1999-06-28 | Label conveying apparatus, label conveying method, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4322357B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005022271A (en) * | 2003-07-03 | 2005-01-27 | Canon Finetech Inc | Recording method and recording device |
JP6164944B2 (en) * | 2013-06-13 | 2017-07-19 | キヤノン株式会社 | Measuring method |
-
1999
- 1999-06-28 JP JP18250599A patent/JP4322357B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2001010622A (en) | 2001-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2206607B1 (en) | Printing device | |
JP4593340B2 (en) | Label printer and control method of label printer | |
JP4322357B2 (en) | Label conveying apparatus, label conveying method, and recording medium | |
JP4329540B2 (en) | Tape printer | |
JP2004082348A (en) | Recorder | |
JP4959262B2 (en) | RFID printer | |
JP3630715B2 (en) | Printer | |
JP4388338B2 (en) | Printing device | |
JP4143001B2 (en) | Label continuum and printer | |
JP4705278B2 (en) | Printing device | |
JP4559588B2 (en) | Label printer | |
JP2013071442A (en) | Printer | |
JP2899456B2 (en) | Label printer | |
WO2004011266A1 (en) | Printing device | |
JP4723103B2 (en) | Label printer | |
JP2004149135A (en) | Label printer and print control method thereof | |
JP2009029566A (en) | Printer | |
JPH11268358A (en) | Label printer | |
US20240092089A1 (en) | Printer device | |
JP2000168181A (en) | Method and apparatus for identifying label and stripe mounting paper | |
JP2006272842A (en) | Printing device | |
JP2005165425A (en) | Label pasting device | |
JP4473682B2 (en) | Printing device | |
JP2007179467A (en) | Rfid label issuing device | |
JP4723125B2 (en) | Label printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060414 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080729 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080801 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080917 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090413 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090424 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090526 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090603 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120612 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120612 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120612 Year of fee payment: 3 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120612 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120612 Year of fee payment: 3 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120612 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120612 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130612 Year of fee payment: 4 |
|
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 |
|
LAPS | Cancellation because of no payment of annual fees |