JP2009037551A - Recording unit and control method therefor - Google Patents

Recording unit and control method therefor Download PDF

Info

Publication number
JP2009037551A
JP2009037551A JP2007203336A JP2007203336A JP2009037551A JP 2009037551 A JP2009037551 A JP 2009037551A JP 2007203336 A JP2007203336 A JP 2007203336A JP 2007203336 A JP2007203336 A JP 2007203336A JP 2009037551 A JP2009037551 A JP 2009037551A
Authority
JP
Japan
Prior art keywords
tag
recording
writing
electronic information
recording medium
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.)
Withdrawn
Application number
JP2007203336A
Other languages
Japanese (ja)
Inventor
Hiroshi Kasayama
寛史 笠山
Kazuo Onodera
和夫 小野寺
Moriyoshi Inaba
守巧 稲葉
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.)
Canon Finetech Nisca Inc
Original Assignee
Canon Finetech Inc
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 Canon Finetech Inc filed Critical Canon Finetech Inc
Priority to JP2007203336A priority Critical patent/JP2009037551A/en
Publication of JP2009037551A publication Critical patent/JP2009037551A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a recording unit for processing as a fault in an RF-ID tag on the occurrence of a communication error, after deciding whether or not the above communication error is caused by the fault in the RF-ID tag. <P>SOLUTION: In a control method of the recording unit having a recording function and a write function to the RF-ID tag, when writing electronic information to the RF-ID tag, embedded in the label of continuous label paper in conveyance, is not completed normally (step S805), the above continuous label paper is returned to an electronic information write position (step S808), and rewrite processing of the electronic information is performed at a conveyance halt state (step S810), so that the decision of whether the RF-ID tag is in a fault state is made (step S811). <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、記録装置における制御技術に関するものであり、特にRF−IDタグを内蔵する記録媒体に対する電子情報の書き込み機能と記録機能とを備える記録装置における制御技術に関するものである。   The present invention relates to a control technique in a recording apparatus, and more particularly to a control technique in a recording apparatus having an electronic information writing function and a recording function for a recording medium incorporating an RF-ID tag.

近年、非接触で電子情報の送受信が可能なRF−ID(Radio Frequency Identification)を用いたシステムが普及しつつある。RF−IDシステムは、主に、電子情報を記憶するための不揮発性メモリを搭載したICチップとICチップに電気的に接続されたアンテナとを備えるRF−IDタグと、該RF−IDタグをコントロールするRF−IDリーダ/ライタとから構成されている。   In recent years, systems using RF-ID (Radio Frequency Identification) capable of transmitting and receiving electronic information without contact are becoming widespread. An RF-ID system mainly includes an RF-ID tag including an IC chip equipped with a nonvolatile memory for storing electronic information and an antenna electrically connected to the IC chip, and the RF-ID tag. It consists of an RF-ID reader / writer to be controlled.

当該システムの特徴は、電子情報の新規書き込みや記憶が可能であることに加え、複数のRF−IDタグと同時に通信を行うことができ、かつ障害物等の影響を受けにくい点にある。このため、例えば、RF−IDタグを商品等に搭載させることで、当該商品の流通管理システム等を構築することができる。   In addition to being able to write and store new electronic information, the system is characterized in that it can communicate simultaneously with a plurality of RF-ID tags and is less susceptible to obstacles. For this reason, for example, by mounting an RF-ID tag on a product or the like, a distribution management system or the like for the product can be constructed.

ここで、RF−IDタグを商品等に搭載するための搭載方法としては様々な方法がある。その中でも、RF−IDタグを商品情報等を記録するラベル(記録媒体)に内蔵させ、該ラベルを商品等に貼り付けることで、RF−IDタグを商品に搭載する方法が一般的に知られている。   Here, there are various methods for mounting the RF-ID tag on a product or the like. Among them, generally known is a method of mounting an RF-ID tag on a product by incorporating the RF-ID tag in a label (recording medium) for recording product information and the like, and attaching the label to the product. ing.

通常、このようなラベルを用いて商品管理システム等を構築するにあたっては、該ラベル表面への記録処理とRF−IDタグへの電子情報の書き込み処理とを行っておく必要がある。しかし、これらの処理を別々の装置を用いて分担して行ったのでは手間がかかることから、最近では、記録装置にRF−IDリーダ/ライタを搭載させ、ラベル表面への記録処理と、RF−IDタグへの電子情報の書き込み処理とを一括して行うことが可能なRF−IDタグ書き込み機能付き記録装置が普及しつつある。   Usually, when a product management system or the like is constructed using such a label, it is necessary to perform a recording process on the label surface and a writing process of electronic information on the RF-ID tag. However, since these processes are divided and performed using different apparatuses, it takes time. Therefore, recently, an RF-ID reader / writer is mounted on the recording apparatus, and the recording process on the label surface and the RF Recording apparatuses with an RF-ID tag writing function capable of performing electronic information writing processing on an ID tag all at once are becoming widespread.

そして、これまで、当該RF−IDタグ書き込み機能付き記録装置では、RF−IDリーダ/ライタが備えるRF−ID用通信アンテナの下に、RF−IDタグが内蔵されたラベルを移動させた後、該ラベルの搬送を一旦停止させ搬送停止状態にて、電子情報の書き込みを行うこととしていた。   And until now, in the recording apparatus with the RF-ID tag writing function, after moving the label containing the RF-ID tag under the RF-ID communication antenna provided in the RF-ID reader / writer, The transport of the label is temporarily stopped, and electronic information is written in the transport stopped state.

これは、RF−IDアンテナのサイズの違いや、使用されているICチップの違いなどによりRF−IDタグごとに、書き込み可能な最大容量や通信時間が異なるためである。   This is because the maximum writable capacity and the communication time are different for each RF-ID tag due to the difference in the size of the RF-ID antenna and the difference in the IC chip used.

しかしながら、RF−IDタグ機能付き記録装置の場合、ラベル表面への記録処理用として複数のフルラインヘッドをラベルの搬送方向に複数並べて配置する構成を採っており、記録処理に関しては搬送を停止させることなく連続して行うことができるようになっている。このため、上述のようにRF−IDタグへの電子情報の書き込み処理のために、搬送を停止させるのは、全体のスループットを向上させるうえで望ましくない。   However, in the case of a recording apparatus with an RF-ID tag function, a configuration is adopted in which a plurality of full line heads are arranged side by side in the label transport direction for recording processing on the label surface, and transport is stopped for the recording processing. It can be performed continuously without any problems. For this reason, as described above, it is not desirable to stop the conveyance for writing the electronic information to the RF-ID tag in order to improve the overall throughput.

このような背景のもと、ラベルの搬送を停止させることなく搬送状態でRF−IDタグへの電子情報の書き込みが可能な装置が提案されてきている(例えば、特許文献1参照)。   Under such circumstances, there has been proposed an apparatus capable of writing electronic information to the RF-ID tag in a transported state without stopping the transport of the label (for example, see Patent Document 1).

特許文献1によれば、RF−IDタグが内蔵されたラベルが複数配された連続ラベル紙の搬送を停止させることなく、RF−IDタグに対して確実に電子情報を書き込むことができるよう、記録条件や通信条件に基づいて連続ラベル紙の搬送速度を制御することとしている。
特開2003−140548号公報
According to Patent Document 1, electronic information can be reliably written to an RF-ID tag without stopping the conveyance of a continuous label sheet in which a plurality of labels each having a built-in RF-ID tag are arranged. The transport speed of the continuous label paper is controlled based on the recording conditions and communication conditions.
JP 2003-140548 A

しかしながら、上記特許文献1のように、電子情報を確実に書き込むことができるように搬送速度を制御することとすると、一部のRF−IDタグの記録条件や通信条件が原因で、連続ラベル紙全体のスループットが著しく抑えられてしまう場合がある。   However, if the transport speed is controlled so that electronic information can be reliably written as in Patent Document 1, continuous label paper is caused by the recording conditions and communication conditions of some RF-ID tags. The overall throughput may be significantly reduced.

一方で、搬送速度を上げて連続ラベル紙を搬送させてしまうと、RF−IDタグの種類によっては通信時間内に通信が完了せず、通信エラー(通信が正常に終了しなかったことを示すエラー)が散発することとなる。ここで、従来のRF−IDタグ書き込み機能付き記録装置では、通信エラーが発生した場合、一律、RF−IDタグの故障と判定し、当該ラベルを不良品として排出していた。しかしながら、上述のように搬送速度を上げて使用していた場合には、必ずしも、その全てがRF−IDタグの故障が原因で発生したものとは限らない。   On the other hand, if the continuous label paper is conveyed by increasing the conveyance speed, communication may not be completed within the communication time depending on the type of the RF-ID tag, and a communication error (indicating that communication has not been completed normally). Error) will occur sporadically. Here, in the conventional recording apparatus with an RF-ID tag writing function, when a communication error occurs, it is uniformly determined that the RF-ID tag has failed, and the label is discharged as a defective product. However, in the case where the conveyance speed is increased as described above, all of them are not necessarily caused by the failure of the RF-ID tag.

このため、スループットの向上のために搬送速度を上げて使用する場合にあっては、通信時間内に通信が完了せずに通信エラーとなったRF−IDタグに関して、これを区別して取り扱うことが望ましい。   For this reason, in the case of using at a higher conveyance speed to improve the throughput, it is possible to treat the RF-ID tag in which a communication error has occurred without completing communication within the communication time. desirable.

本発明は、上記課題に鑑みてなされたものであり、通信エラーが発生した場合でも、当該通信エラーが当該RF−IDタグの故障に起因するものであるか否かを判断したうえでRF−IDタグの故障として処理することが可能な記録装置を提供することを目的とする。   The present invention has been made in view of the above problems, and even when a communication error occurs, it is determined whether or not the communication error is caused by a failure of the RF-ID tag. It is an object of the present invention to provide a recording apparatus that can handle an ID tag failure.

更に、当該通信エラーが当該RF−IDタグの故障に起因するものでないと判断された場合には、当該RF−IDタグへの電子情報の再度の書き込みを行うことが可能な記録装置を提供することを目的とする。   Furthermore, when it is determined that the communication error is not caused by the failure of the RF-ID tag, a recording apparatus capable of rewriting electronic information on the RF-ID tag is provided. For the purpose.

上記の目的を達成するために本発明に係る記録装置は以下のような構成を備える。即ち、
RF−IDタグを内蔵する記録媒体を搬送する搬送手段と、
前記記録媒体の表面に記録を行う記録手段と、
前記RF−IDタグと通信を行い、該RF−IDタグに電子情報の書き込みを行う書込手段と、
前記搬送手段による前記記録媒体の搬送中に、前記書込手段による書き込みが正常に終了したか否かを判定する判定手段と、を備え、
前記搬送手段は、
前記判定手段による判定の結果、正常に終了しなかったと判定された場合に、該RF−IDタグを内蔵する記録媒体の表面への記録が完了するまで、該記録媒体の搬送を継続させ、その後、前記書込手段による電子情報の書き込み位置まで該記録媒体を搬送させることで、該記録媒体を該書き込み位置に停止させ、
前記書込手段は、
前記電子情報の再度の書き込みを行い、
前記判定手段は、前記書込手段による前記電子情報の再度の書き込みが正常に終了したか否かを判定し、正常に終了していないと判定した場合に、前記RF−IDタグは故障していると判定することを特徴とする。
In order to achieve the above object, a recording apparatus according to the present invention comprises the following arrangement. That is,
Conveying means for conveying a recording medium containing an RF-ID tag;
Recording means for recording on the surface of the recording medium;
Writing means for communicating with the RF-ID tag and writing electronic information to the RF-ID tag;
Determining means for determining whether or not writing by the writing means is normally completed during conveyance of the recording medium by the conveying means;
The conveying means is
As a result of the determination by the determination means, when it is determined that the process has not been completed normally, the recording medium is continuously conveyed until recording on the surface of the recording medium having the RF-ID tag is completed, and thereafter , By transporting the recording medium to the writing position of the electronic information by the writing means, the recording medium is stopped at the writing position,
The writing means includes
Write the electronic information again,
The determination means determines whether or not the rewriting of the electronic information by the writing means has been normally completed. If it is determined that the electronic information has not been normally completed, the RF-ID tag has failed. It is determined that it is present.

本発明によれば、通信エラーが発生した場合でも、当該通信エラーが当該RF−IDタグの故障に起因するものであるか否かを判断したうえで、RF−IDタグの故障として処理することが可能となる。   According to the present invention, even when a communication error occurs, it is determined whether or not the communication error is caused by a failure of the RF-ID tag, and is processed as a failure of the RF-ID tag. Is possible.

更に、当該通信エラーが当該RF−IDタグの故障に起因するものでない判断された場合に、当該RF−IDタグへの電子情報の再度の書き込みを行うことが可能となる。   Furthermore, when it is determined that the communication error is not caused by the failure of the RF-ID tag, the electronic information can be rewritten to the RF-ID tag.

以下、添付図面を参照して本発明の好適な実施形態について、具体的かつ詳細に説明する。なお、以下に説明する実施形態では、インクジェット方式に従うフルライン記録ヘッドを用いた記録装置を備える記録システムを例に挙げて説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described specifically and in detail with reference to the accompanying drawings. In the embodiment described below, a recording system including a recording apparatus using a full line recording head according to an ink jet method will be described as an example.

なお、この明細書において、「記録」(「プリント」という場合もある)とは、文字、図形等有意の情報を形成する場合のみならず、有意無意を問わず、また人間が視覚で知覚し得るように顕在化したものであるか否かを問わず、広く記録媒体上に画像、模様、パターン等を形成する、または媒体の加工を行う場合も表すものとする。   In this specification, “recording” (sometimes referred to as “printing”) is not only for forming significant information such as characters and figures, but also for human beings visually perceived regardless of significance. Regardless of whether or not it has been manifested, it also represents a case where an image, a pattern, a pattern, or the like is widely formed on a recording medium or the medium is processed.

また、「記録媒体」とは、一般的な記録装置で用いられる紙のみならず、広く、布、プラスチック・フィルム、金属板、ガラス、セラミックス、木材、皮革等、インクを受容可能なものも表すものとする。   “Recording medium” refers not only to paper used in general recording apparatuses but also widely to cloth, plastic film, metal plate, glass, ceramics, wood, leather, and the like that can accept ink. Shall.

さらに、「インク」(「液体」と言う場合もある)とは、上記「記録(プリント)」の定義と同様広く解釈されるべきもので、記録媒体上に付与されることによって、画像、模様、パターン等の形成または記録媒体の加工、或いはインクの処理(例えば記録媒体に付与されるインク中の色剤の凝固または不溶化)に供され得る液体を表すものとする。   Furthermore, “ink” (sometimes referred to as “liquid”) is to be interpreted broadly in the same way as the definition of “recording (printing)” above. It represents a liquid that can be used for forming a pattern or the like, processing a recording medium, or processing an ink (for example, solidification or insolubilization of a colorant in ink applied to the recording medium).

またさらに、「ノズル」とは、特に断らない限り吐出口ないしこれに連通する液路およびインク吐出に利用されるエネルギーを発生する素子を総括して言うものとする。   Further, the “nozzle” collectively refers to an ejection port or a liquid path communicating with the ejection port and an element that generates energy used for ink ejection unless otherwise specified.

[第1の実施形態]
<記録システムの構成>
図1は本発明の第1の実施形態にかかるインクジェット方式に従うフルライン記録ヘッドを用いたカラー記録装置101(以下、記録装置という)と、ホストコンピュータ100(以下、ホストという)とを使用した記録システムの構成図である。図1に示すように、記録装置101とホスト100とは、プリンタケーブル107で接続され、ホスト100で処理された各種データは記録装置101にて記録されるように構成されている。
[First Embodiment]
<Configuration of recording system>
FIG. 1 shows a recording using a color recording apparatus 101 (hereinafter referred to as a recording apparatus) using a full-line recording head according to the ink jet system according to the first embodiment of the present invention and a host computer 100 (hereinafter referred to as a host). It is a block diagram of a system. As shown in FIG. 1, the recording apparatus 101 and the host 100 are connected by a printer cable 107, and various data processed by the host 100 are configured to be recorded by the recording apparatus 101.

記録装置101は、後述のフルライン記録ヘッド(以下、記録ヘッドという)やRF−ID用通信アンテナ、及び搬送部を覆うための上部カバー103と、記録ヘッドに供給される記録剤としての液体インクを貯蓄するタンク部を覆うための前カバー104と、記録媒体(RF−IDタグが内蔵されたラベル)が台紙の長尺方向に複数仮着された連続ラベル紙(後述)を記録部108に給送する給紙部102と、記録部108から搬送される連続ラベル紙を記録媒体ごとにカットするカッタ部109とからその外郭が構成されている。   The recording apparatus 101 includes a full-line recording head (hereinafter referred to as a recording head), an RF-ID communication antenna, and an upper cover 103 for covering the conveyance unit, and liquid ink as a recording agent supplied to the recording head. A front cover 104 for covering the tank section for storing the image and a continuous label sheet (to be described later) in which a plurality of recording media (labels incorporating an RF-ID tag) are temporarily attached in the longitudinal direction of the mount. The outline of the sheet feeding unit 102 and the cutter unit 109 for cutting the continuous label paper conveyed from the recording unit 108 for each recording medium are configured.

さらに、図1において、105は記録装置の電源スイッチ、106は記録装置101に操作環境の設定を行うための入力キーや記録装置のエラー発生状況をユーザに知らせるための表示手段とを備えた操作パネルである。操作パネルは、LED110、LCD111、ボタン112から構成される。   Further, in FIG. 1, reference numeral 105 denotes a power switch of the recording apparatus, 106 denotes an operation provided with an input key for setting the operating environment for the recording apparatus 101 and a display means for notifying the user of an error occurrence state of the recording apparatus. It is a panel. The operation panel includes an LED 110, an LCD 111, and a button 112.

<連続ラベル紙の構成>
図2は記録装置101が記録する記録媒体(RF−IDタグが内蔵されたラベル)が台紙の長尺方向に複数仮着された連続ラベル紙200の模式図である。
<Construction of continuous label paper>
FIG. 2 is a schematic diagram of a continuous label sheet 200 on which a plurality of recording media (labels incorporating RF-ID tags) recorded by the recording apparatus 101 are temporarily attached in the longitudinal direction of the mount.

図2に示す連続ラベル紙200は、裏面が粘着加工されたラベル201とそのラベルを連続紙として固定するための台紙206とからなり、ラベル201には、RF−IDタグ205が内蔵されている。RF−IDタグ205は電子情報を記憶するための不揮発性メモリを搭載したICチップ203とループアンテナ202とから構成されている。   The continuous label paper 200 shown in FIG. 2 includes a label 201 whose back surface is adhesively processed and a mount 206 for fixing the label as a continuous paper. The label 201 has an RF-ID tag 205 built therein. . The RF-ID tag 205 includes an IC chip 203 on which a nonvolatile memory for storing electronic information is mounted and a loop antenna 202.

RF−IDタグ205は電源を持たず、記録装置101に配設する後述のRF−ID用通信アンテナから発生する電波を利用して電力を創成する。これを内部電源としてRF−IDタグ205では、RF−ID用通信アンテナから送信される電子情報をICチップに書き込む。   The RF-ID tag 205 does not have a power source, and generates electric power using radio waves generated from an RF-ID communication antenna (described later) disposed in the recording apparatus 101. With this as an internal power supply, the RF-ID tag 205 writes electronic information transmitted from the RF-ID communication antenna to the IC chip.

<記録装置のハードウェア構成>
図3は、図1に示した記録装置101のハードウェア構成を示す断面図であり、図4は図1に示した記録装置101が用いる記録ヘッド及びRF−ID用通信アンテナの配置を説明するための斜視図である。

記録装置101には最大6色の異なるインクを用いて記録することができるように6つの記録ヘッドが備えられている。具体的には、図3及び図4に示されているように、連続ラベル紙200の搬送方向の上流方向から順に、ブラックインクを吐出する記録ヘッド306Bk、シアンインクを吐出する記録ヘッド306C、淡シアンインクを吐出する記録ヘッド306LC、マゼンタインクを吐出する記録ヘッド306M、淡マゼンタインクを吐出する記録ヘッド306LM、及びイエロインクを吐出する記録ヘッド306Yが備えられている。なお、以下、これら6つの記録ヘッドを総称して言及するときには参照番号305を用いるものとする。
<Hardware configuration of recording device>
3 is a cross-sectional view showing the hardware configuration of the recording apparatus 101 shown in FIG. 1, and FIG. 4 explains the arrangement of the recording head and the RF-ID communication antenna used by the recording apparatus 101 shown in FIG. FIG.

The recording apparatus 101 includes six recording heads so that recording can be performed using a maximum of six different inks. Specifically, as shown in FIGS. 3 and 4, the recording head 306Bk that discharges black ink, the recording head 306C that discharges cyan ink, in order from the upstream side in the conveyance direction of the continuous label paper 200, A recording head 306LC that discharges cyan ink, a recording head 306M that discharges magenta ink, a recording head 306LM that discharges light magenta ink, and a recording head 306Y that discharges yellow ink are provided. In the following, when these six recording heads are collectively referred to, reference numeral 305 is used.

記録装置101には、さらに、記録ヘッド305の上流側にRF−ID用通信アンテナ303が設けられている。   The recording apparatus 101 is further provided with an RF-ID communication antenna 303 on the upstream side of the recording head 305.

図3に示すように、記録ヘッド305の下側に位置する搬送部302により、給紙部102にセットされた連続ラベル紙200が後述する給送方法で記録ヘッド305による記録位置に向けて搬送されると、TOF(Top Of Form)センサ304が動作し、連続ラベル紙200上のラベル201の位置が管理される。   As shown in FIG. 3, a continuous label sheet 200 set on the sheet feeding unit 102 is conveyed toward a recording position by the recording head 305 by a feeding method to be described later by a conveyance unit 302 positioned below the recording head 305. Then, a TOF (Top Of Form) sensor 304 operates to manage the position of the label 201 on the continuous label paper 200.

ラベル201がRF−ID用通信アンテナ303の書き込み位置まで搬送されると、RF−ID用通信アンテナ303によりラベル内に内蔵されたRF−IDタグ205に対して電子情報の書き込みが行われる。   When the label 201 is conveyed to the writing position of the RF-ID communication antenna 303, electronic information is written to the RF-ID tag 205 incorporated in the label by the RF-ID communication antenna 303.

さらに、RF−IDタグが内蔵されたラベル201が搬送され記録位置に達すると、6つの記録ヘッド306Bk、306C、306LC、306M、306LM、306Yによってインクが吐出され、ラベル201上に画像が記録される。画像が記録されたラベル201は、最終的にカッタ部109に搬出されるよう構成されている。カッタ部109ではラベルごとに連続ラベル紙200をカットする。   Further, when the label 201 containing the RF-ID tag is conveyed and reaches the recording position, ink is ejected by the six recording heads 306Bk, 306C, 306LC, 306M, 306LM, 306Y, and an image is recorded on the label 201. The The label 201 on which the image is recorded is configured to be finally carried out to the cutter unit 109. The cutter unit 109 cuts the continuous label paper 200 for each label.

搬送部302の下には、各記録ヘッド306Bk、306C、306LC、306M、306LM、306Yに供給される専用のインクを貯蓄するタンク部301が着脱自在に固定されている。   Under the conveyance unit 302, a tank unit 301 for storing dedicated ink supplied to the recording heads 306Bk, 306C, 306LC, 306M, 306LM, and 306Y is detachably fixed.

<記録装置の機能構成>
次に記録装置101の機能構成について説明する。図5は記録装置101の制御構成を示すブロック図である。
<Functional configuration of recording apparatus>
Next, the functional configuration of the recording apparatus 101 will be described. FIG. 5 is a block diagram showing a control configuration of the recording apparatus 101.

図5において、501は記録装置全体を制御するメインコントローラであり、CPU501aを内蔵し、後述する制御コマンドを記憶するための記憶制御機能、データ制御機能、及び、記録動作に必要な種々の設定のための設定制御機能などを有する。メインコントローラ501はインタフェース(不図示)を介してホスト100に接続され、互いに信号の授受を行うことができる。   In FIG. 5, reference numeral 501 denotes a main controller for controlling the entire recording apparatus, and includes a CPU 501a, which has a storage control function for storing control commands to be described later, a data control function, and various settings necessary for the recording operation. For example, it has a setting control function. The main controller 501 is connected to the host 100 via an interface (not shown) and can exchange signals with each other.

また、502はメインコントローラ501に接続され、制御プログラムなどを格納するROMであり、それらのプログラムに従いメインコントローラ501はRAM512を作業領域として使用して動作する。   Reference numeral 502 denotes a ROM that is connected to the main controller 501 and stores control programs and the like. The main controller 501 operates using the RAM 512 as a work area in accordance with these programs.

また、RAM512にはホスト100から転送されRF−IDタグ205に書き込む電子情報が一時的に格納され、メインコントローラ501に接続されたRF−ID通信回路509がRF−ID用通信アンテナ303を通して、RAM512に格納された電子情報をRF−IDタグに書き込む。   The RAM 512 temporarily stores electronic information transferred from the host 100 and written to the RF-ID tag 205, and the RF-ID communication circuit 509 connected to the main controller 501 passes through the RF-ID communication antenna 303 and the RAM 512. Is stored in the RF-ID tag.

506はホスト100から送信されてきた記録データを格納するイメージバッファメモリであり、506Bkはブラック成分の記録データを一時的に格納するブラックイメージバッファ、同様に506C、506LC、506M、506LM、506Yはシアン成分、マゼンタ成分、淡マゼンタ成分、シアン成分、淡シアン成分、イエロ成分の記録データを一時的に格納するイメージバッファメモリである。   Reference numeral 506 denotes an image buffer memory for storing recording data transmitted from the host 100. Reference numeral 506Bk denotes a black image buffer for temporarily storing black component recording data. Similarly, reference numerals 506C, 506LC, 506M, 506LM, and 506Y denote cyan. This is an image buffer memory that temporarily stores recording data of components, magenta components, light magenta components, cyan components, light cyan components, and yellow components.

503は記録ヘッド306Bk、306C、306LC、306M、306LM、306Yに内蔵される発熱体(不図示)を駆動させるヘッド駆動回路である。メインコントローラ501に接続されたドライバコントローラ507が、イメージバッファメモリ506に格納された各色成分の記録データに従って、ヘッド駆動回路503を制御することで記録データが記録される。   Reference numeral 503 denotes a head driving circuit that drives a heating element (not shown) built in the recording heads 306Bk, 306C, 306LC, 306M, 306LM, and 306Y. The driver controller 507 connected to the main controller 501 controls the head drive circuit 503 according to the recording data of each color component stored in the image buffer memory 506, so that the recording data is recorded.

504Dは搬送部302に設けられたフィードモータ504を駆動するモータドライバ、500は給紙部102のロールユニットを駆動させるモータ505を駆動する駆動回路、513はカッタ部109を駆動させるモータ508を駆動する駆動回路であり、いずれもメインコントローラ501によって制御される。   Reference numeral 504D denotes a motor driver that drives a feed motor 504 provided in the conveyance unit 302, 500 denotes a drive circuit that drives a motor 505 that drives the roll unit of the paper feed unit 102, and 513 drives a motor 508 that drives the cutter unit 109. These are drive circuits that are controlled by the main controller 501.

また、511は前述したTOFセンサ304を含む種々のセンサを総称したセンサ回路である。   Reference numeral 511 denotes a sensor circuit that collectively refers to various sensors including the TOF sensor 304 described above.

<制御コマンドの構造>
図6はホスト100から送信される種々の制御コマンドの構造を示した図である。図6に示すように、全てのコマンドは、そのコマンドの先頭にコマンドの種類を識別する識別コードが配置され、その識別コードに続いて、そのコマンドに関する付帯的な指示を設定するオペランドが配置されている。なお、コマンドの種類によっては、オペランドがなく、識別コードのみで構成される場合もある。
<Control command structure>
FIG. 6 is a diagram showing the structure of various control commands transmitted from the host 100. As shown in FIG. 6, in all commands, an identification code for identifying the type of command is arranged at the head of the command, and an operand for setting an incidental instruction related to the command is arranged following the identification code. ing. Depending on the type of command, there may be no operand and only an identification code.

制御コマンドとしては、連続ラベル紙200のサイズ等を設定する用紙設定コマンド601、記録データの基準となる位置を設定をするフォーマットコマンド602、記録装置本体の動作設定をする記録装置動作設定コマンド612、文字、イメージ、RF−ID夫々の詳細情報を設定するデータコマンド603、604、605、記録データの終了を示しジョブの開始を指示するジョブ開始コマンド610などがある。   As control commands, a sheet setting command 601 for setting the size and the like of the continuous label sheet 200, a format command 602 for setting a reference position of recording data, a recording apparatus operation setting command 612 for setting operation of the recording apparatus main body, There are data commands 603, 604, and 605 for setting detailed information for characters, images, and RF-IDs, a job start command 610 for indicating the end of recording data and instructing the start of a job.

それらのコマンドは記録コマンド転送例611に示されるようなコマンド列としてホスト100から記録装置101に出力される。   These commands are output from the host 100 to the recording apparatus 101 as a command sequence as shown in the recording command transfer example 611.

なお、RF−IDタグ205のICチップ203の種類は用紙設定コマンド601のICチップタイプオペランド606に、RF−IDタグサイズはRF−IDタグ取付位置オペランド607に設定される。   The type of the IC chip 203 of the RF-ID tag 205 is set in the IC chip type operand 606 of the paper setting command 601, and the RF-ID tag size is set in the RF-ID tag attachment position operand 607.

また、記録装置101の給紙モードは記録装置動作設定コマンド612の給紙モードオペランド613に、記録装置101の搬送速度は搬送速度オペランド614に、記録装置のRF−IDタグ通信開始位置の設定はRF−IDタグ通信開始位置オペランド615に設定される。RF−IDタグ通信開始位置オペランドは、ラベル先端を検出してから、RF−IDタグ205との通信を開始するまでの搬送距離を設定するオペランドとなる。   Further, the paper feed mode of the recording apparatus 101 is set to the paper feed mode operand 613 of the recording apparatus operation setting command 612, the conveyance speed of the recording apparatus 101 is set to the conveyance speed operand 614, and the RF-ID tag communication start position of the recording apparatus is set. RF-ID tag communication start position operand 615 is set. The RF-ID tag communication start position operand is an operand for setting a transport distance from when the leading end of the label is detected to when communication with the RF-ID tag 205 is started.

ICチップ203への書き込みデータ量はRF−IDデータコマンド605のデータ長オペランド608に設定され、書き込みデータはデータオペランド609に設定される。   The amount of data written to the IC chip 203 is set in the data length operand 608 of the RF-ID data command 605, and the write data is set in the data operand 609.

<記録処理および書き込み処理の流れ>
次に、上記記録システムにおけるラベル201表面への記録処理及びRF−IDタグ205への書き込み処理について、図7〜図8を参照して説明する。
<Flow of recording process and writing process>
Next, recording processing on the surface of the label 201 and writing processing on the RF-ID tag 205 in the recording system will be described with reference to FIGS.

図7aはRF−IDタグ205との通信時に通信エラーが無い場合の記録処理の遷移を示す図である。図7bはRF−IDタグとの通信時に通信エラーが発生した様子を示す図である。図7cはRF−IDタグ通信エラーが発生した場合に、ラベル表面の記録処理のみを続け、排出した様子を示す図である。図7dはRF−IDタグとの通信時に通信エラーが発生した場合に、当該RF−IDタグを再び書き込み位置に戻すべく連続ラベル紙200の搬送を行った様子を示す図である。図7eはRF−IDタグとの通信時に通信エラーが発生したRF−IDに対して、搬送停止状態で再度書き込みを行った様子を示す図である。   FIG. 7 a is a diagram illustrating a transition of recording processing when there is no communication error during communication with the RF-ID tag 205. FIG. 7 b is a diagram illustrating a state in which a communication error has occurred during communication with the RF-ID tag. FIG. 7C is a diagram showing a state where only the label surface recording process is continued and discharged when an RF-ID tag communication error occurs. FIG. 7d is a diagram illustrating a state in which the continuous label paper 200 is transported to return the RF-ID tag to the writing position again when a communication error occurs during communication with the RF-ID tag. FIG. 7E is a diagram illustrating a state in which writing is performed again in a conveyance stop state with respect to an RF-ID in which a communication error has occurred during communication with the RF-ID tag.

図8は上記記録システムにおける記録処理および書き込み処理の流れを示すフローチャートである。なお、この記録処理および書き込み処理は、記録装置101の処理部であるCPU501aが、例えば、ROM502に格納されたアプリケーションソフトを実行することにより実現される。以下、図8に示すフローチャートに沿って説明する。   FIG. 8 is a flowchart showing the flow of recording processing and writing processing in the recording system. Note that the recording process and the writing process are realized by the CPU 501a that is a processing unit of the recording apparatus 101 executing application software stored in the ROM 502, for example. In the following, description will be given along the flowchart shown in FIG.

記録枚数や用紙サイズ、RF−IDタグ通信開始位置、ICチップタイプなどの各種パラメータと記録データ、及びICチップ203に書き込まれる電子情報は、記録コマンドとしてホスト100から記録装置101に送信される。   Various parameters such as the number of recording sheets, paper size, RF-ID tag communication start position, IC chip type and recording data, and electronic information written in the IC chip 203 are transmitted from the host 100 to the recording apparatus 101 as recording commands.

アプリケーションソフトが起動されると、ステップS801において、ホスト100から送信される記録コマンドを受信し、記録データはイメージバッファメモリ506Bk〜506Yに、その他はRAM512にそれぞれ記憶される。   When the application software is activated, a recording command transmitted from the host 100 is received in step S801, and the recording data is stored in the image buffer memories 506Bk to 506Y and the others are stored in the RAM 512.

ステップS802ではRF−IDデータコマンド605の有無を判断する。ここで、RF−IDデータコマンド605がある、即ち、ICチップ203に書き込む電子情報が存在すると判断された場合は、ステップS803に進み、連続ラベル紙200
の搬送を開始する。
In step S802, the presence / absence of the RF-ID data command 605 is determined. If it is determined that there is an RF-ID data command 605, that is, it is determined that there is electronic information to be written to the IC chip 203, the process proceeds to step S803, and the continuous label paper 200
Start transporting.

搬送開始後、ラベル201がRF−ID用通信アンテナ303の書き込み位置701に搬送されると、ステップS804では、RF−ID用通信アンテナ303が、ラベル201内に内蔵されたRF−IDタグ205に対して電子情報の書き込みを開始する。   When the label 201 is transported to the writing position 701 of the RF-ID communication antenna 303 after the transport is started, the RF-ID communication antenna 303 is attached to the RF-ID tag 205 built in the label 201 in step S804. On the other hand, writing of electronic information is started.

さらに、連続ラベル紙200が搬送され、当該ラベル201が記録位置(各記録ヘッドの直下)に達すると、RF−IDタグ205への書き込みと平行して、各記録ヘッド306Bk、306C、306LC、306M、306LM、306Yがインクを吐出し、ラベル201上に画像を記録する。   Further, when the continuous label sheet 200 is conveyed and the label 201 reaches a recording position (directly below each recording head), each recording head 306Bk, 306C, 306LC, 306M is parallel to the writing to the RF-ID tag 205. , 306LM, 306Y eject ink and record an image on the label 201.

RF−IDタグへの電子情報の書き込み終了後、ステップS805では、書き込みが正常に終了したかどうかを調べる。なお、書き込み処理は、RF−IDタグ205への電子情報の書き込みを行った後、当該RF−IDタグ205より、当該電子情報の読み出しを行い、書き込んだ電子情報と読み出した電子情報とが一致しているか否かを判断することにより、書き込みが正常に終了したか否かを判断する。   After the writing of the electronic information to the RF-ID tag is completed, it is checked in step S805 whether the writing has been normally completed. In the writing process, after electronic information is written to the RF-ID tag 205, the electronic information is read from the RF-ID tag 205, and the written electronic information and the read electronic information are identical. It is determined whether or not the writing has been normally completed by determining whether or not the writing has been performed.

ここで、書き込みが正常終了したと判断され、かつ、次のラベルに書き込むべき電子情報が存在する場合は、図7aに示すように次のRF−IDタグへの電子情報の書き込みを開始し、上述した処理を平行して実行する。そして、RF−IDタグが内蔵されたラベル201表面への記録終了後、ステップS815では、連続ラベル紙をカッタ部109に排出する。   Here, when it is determined that the writing is normally completed and there is electronic information to be written to the next label, writing of the electronic information to the next RF-ID tag is started as shown in FIG. The above processing is executed in parallel. Then, after the recording on the surface of the label 201 incorporating the RF-ID tag is completed, the continuous label paper is discharged to the cutter unit 109 in step S815.

一方、ステップS805において、RF−IDタグ205への電子情報の書き込みが正常に終了しなかったと判定された場合には、通信エラーが発生したとして、ステップS806に進み、図7bに示すようにRF−IDタグ205への電子情報の書き込みを中止する。   On the other hand, if it is determined in step S805 that the writing of the electronic information to the RF-ID tag 205 has not been completed normally, it is determined that a communication error has occurred, and the process proceeds to step S806, as shown in FIG. -Stop writing electronic information to the ID tag 205.

この際、図7cに示すように搬送は停止せず、当該RF−IDタグが内蔵されたラベル201への記録は続け、記録終了後、ステップS807へ進み、当該ラベルをカッタ部109に排出する。   At this time, as shown in FIG. 7c, the conveyance is not stopped, and the recording on the label 201 in which the RF-ID tag is built is continued. After the recording, the process proceeds to step S807, and the label is discharged to the cutter unit 109. .

排出されたラベルは、搬送停止書き込みを行うために、ステップS808において、図7dに示すように当該RF−IDタグが内蔵されたラベル201がRF−IDタグ書き込み位置701にくるように連続ラベル紙の搬送を行う。   In order to perform transport stop writing for the discharged label, in step S808, as shown in FIG. 7d, continuous label paper is placed so that the label 201 containing the RF-ID tag is positioned at the RF-ID tag writing position 701. Transport.

当該RF−IDタグが内蔵されたラベル201が書き込み位置701まで戻ったら、ステップS809において連続ラベル紙200の搬送を停止する。搬送の停止を確認したら、ステップS810では、図7eに示すように搬送停止状態のまま再度通信エラーの発生したRF−IDタグに対して電子情報の書き込みを行う。   When the label 201 containing the RF-ID tag returns to the writing position 701, the conveyance of the continuous label paper 200 is stopped in step S809. If it is confirmed that the conveyance is stopped, in step S810, electronic information is written to the RF-ID tag in which the communication error has occurred again in the conveyance stopped state as shown in FIG. 7e.

電子情報の書き込み終了後、ステップS811では、書き込みが正常に終了したかどうかを調べる。ここで、書き込みが正常に終了したと判断され、かつ次のRF−IDタグへ書き込む電子情報が存在する場合は、図7aに示すように次のRF−IDタグへの書き込みを開始し、上述した処理を平行して実行する。そして、RF−IDタグが内蔵されたラベル201表面への記録が終了すると、ステップS815では、当該ラベルをカッタ部109に排出する。   After the writing of electronic information is completed, in step S811, it is checked whether the writing has been completed normally. Here, when it is determined that the writing is normally completed and there is electronic information to be written to the next RF-ID tag, writing to the next RF-ID tag is started as shown in FIG. Executes the same processing in parallel. When the recording on the surface of the label 201 incorporating the RF-ID tag is completed, the label is discharged to the cutter unit 109 in step S815.

これに対して、ステップS811において、RF−IDタグ205への電子情報の再度の書き込みが正常に終了しなかったと判断された場合には、ステップS812に進み、操作パネル106内のLCD111にRF−IDタグが故障である旨のエラーメッセージを表示し、ユーザに通知する。   On the other hand, if it is determined in step S811 that the rewriting of the electronic information to the RF-ID tag 205 has not ended normally, the process proceeds to step S812, and the LCD 111 in the operation panel 106 is displayed on the RF-ID. An error message indicating that the ID tag is faulty is displayed and notified to the user.

そして、ステップS816において、当該RF−IDタグが内蔵されたラベルをカッタ部109に排出し、その後、ステップS817で連続ラベル紙200の搬送を停止しユーザがエラーを解除するまで待機する。ユーザがエラーを解除した後は、エラー発生時の記録データから処理を再開する。上記記録処理および書き込み処理は、すべての記録データがなくなるまで繰り返される。   In step S816, the label in which the RF-ID tag is built is discharged to the cutter unit 109. After that, in step S817, the conveyance of the continuous label sheet 200 is stopped and the user waits until the error is cleared. After the user cancels the error, the process is restarted from the recording data at the time of the error. The recording process and the writing process are repeated until all the recording data is exhausted.

以上の説明から明らかなように、本実施形態では、連続ラベル紙を搬送させた状態のまま、RF−IDタグへの書き込みを行うことでスループットの低下を防ぐRF−ID書き込み機能付き記録装置において、通信エラーが発生した場合に、通信時間に制限が発生しない状態で(つまり、搬送を停止させた状態で)再度RF−IDタグへの書き込み行う構成とした。つまり、搬送停止状態でも痛心エラーとなる場合に、はじめて当該RF−IDタグが故障していると判断することとした。   As is clear from the above description, in this embodiment, in the recording apparatus with the RF-ID writing function that prevents the throughput from being lowered by writing to the RF-ID tag while the continuous label paper is conveyed. In the case where a communication error occurs, writing to the RF-ID tag is performed again in a state where there is no restriction on the communication time (that is, in a state where the conveyance is stopped). That is, it is determined that the RF-ID tag is faulty for the first time when a painful error occurs even when the conveyance is stopped.

この結果、従来は、正常なRF−IDタグであるにもかかわらず、一律、RF−IDタグの故障として処理してしまっていたものを、本実施形態によれば、その中からRF−IDタグは正常であるが、通信時間内に処理が完了せずに通信エラーとなってしまったものを排除することが可能となる。つまり、通信エラーが発生した場合でも、当該通信エラーが当該RF−IDタグの故障に起因するものであるか否かを判断することが可能となる。   As a result, according to the present embodiment, the conventional RF-ID tag is treated as a failure of the RF-ID tag even though it is a normal RF-ID tag. Although the tag is normal, it is possible to eliminate a tag that has a communication error without completing processing within the communication time. That is, even when a communication error occurs, it can be determined whether or not the communication error is caused by a failure of the RF-ID tag.

これにより、搬送速度を上げた場合でも、正常なRF−IDタグを不良品として排出してしまうことなく、確実に書き込みを行うことが可能となる。   As a result, even when the conveyance speed is increased, writing can be reliably performed without discharging a normal RF-ID tag as a defective product.

<第2の実施形態>
上記第1の実施形態では、通信エラーが発生した場合に、必ず、搬送停止状態でのRF−IDタグへの電子情報の再度の書き込みを実施することとしたが、本発明は特にこれに限られない。例えば、通信エラーの種類によって、搬送停止させた状態での電子情報の書き込みを実施するか否かを判定し、実施すると判定された場合にのみ、電子情報の再度の書き込みを行うようにしてもよい。
<Second Embodiment>
In the first embodiment, when a communication error occurs, the electronic information is always written again to the RF-ID tag in the transport stop state. However, the present invention is not limited to this. I can't. For example, depending on the type of communication error, it is determined whether or not to write electronic information in a state where transportation is stopped, and only when it is determined that the electronic information is to be written, the electronic information is written again. Good.

本実施形態にかかる記録装置における記録処理および書き込み処理の流れを示すフローチャートを図9に示す。   FIG. 9 is a flowchart showing the flow of recording processing and writing processing in the recording apparatus according to the present embodiment.

記録枚数や用紙サイズ、RF−IDタグ通信開始位置、ICチップタイプなどの各種パラメータと記録データ、及びICチップ203に書き込まれる電子情報は、記録コマンドとしてホスト100から記録装置101に送信される。   Various parameters such as the number of recording sheets, paper size, RF-ID tag communication start position, IC chip type and recording data, and electronic information written in the IC chip 203 are transmitted from the host 100 to the recording apparatus 101 as recording commands.

アプリケーションソフトが起動されると、ステップS901において、ホスト100から送信される記録コマンドを受信し、記録データはイメージバッファメモリ506Bk〜606Yに、その他はRAM512にそれぞれ記憶される。   When the application software is activated, a recording command transmitted from the host 100 is received in step S901, and recording data is stored in the image buffer memories 506Bk to 606Y, and the others are stored in the RAM 512, respectively.

ステップS902ではRF−IDデータコマンド605の有無を判断する。ここで、RF−IDデータコマンド605がある、即ち、ICチップ203に書き込む電子情報が存在すると判断された場合は、ステップS903に進み、連続ラベル紙200の搬送を開始する。   In step S902, the presence / absence of the RF-ID data command 605 is determined. If it is determined that there is an RF-ID data command 605, that is, it is determined that there is electronic information to be written to the IC chip 203, the process proceeds to step S903, and conveyance of the continuous label sheet 200 is started.

搬送開始後、ラベル201がRF−ID用通信アンテナ303の書き込み位置701に搬送されると、ステップS904では、RF−ID用通信アンテナ303が、ラベル201内に内蔵されたRF−IDタグ205に対して電子情報の書き込みを開始する。   When the label 201 is transported to the writing position 701 of the RF-ID communication antenna 303 after the transport is started, the RF-ID communication antenna 303 is attached to the RF-ID tag 205 built in the label 201 in step S904. On the other hand, writing of electronic information is started.

さらに、連続ラベル紙200が搬送され、当該ラベル201が記録位置(各記録ヘッドの直下)に達すると、RF−IDタグ205への書き込みと平行して、各記録ヘッド306Bk、306C、306LC、306M、306LM、306Yがインクを吐出し、ラベル201上に画像を記録する。   Further, when the continuous label sheet 200 is conveyed and the label 201 reaches a recording position (directly below each recording head), each recording head 306Bk, 306C, 306LC, 306M is parallel to the writing to the RF-ID tag 205. , 306LM, 306Y eject ink and record an image on the label 201.

RF−IDタグ205への電子情報の書き込み終了後、ステップS905では、書き込みが正常に終了したかどうかを調べる。なお、書き込み処理は、RF−IDタグ205への電子情報の書き込みを行った後、当該RF−IDタグ205より、当該電子情報の読み出しを行い、書き込んだ電子情報と読み出した電子情報とが一致しているか否かを判断することにより、書き込みが正常に終了したか否かを判断する。   After the writing of the electronic information to the RF-ID tag 205 is completed, it is checked in step S905 whether the writing has been completed normally. In the writing process, after electronic information is written to the RF-ID tag 205, the electronic information is read from the RF-ID tag 205, and the written electronic information and the read electronic information are identical. It is determined whether or not the writing has been normally completed by determining whether or not the writing has been performed.

ここで、書き込みが正常終了したと判断され、かつ、次のRF−IDタグに書き込むべき電子情報が存在する場合は、図7aに示すように次のRF−IDタグへの電子情報の書き込みを開始し、上述した処理を平行して実行する。そして、RF−IDタグが内蔵されたラベル201表面への記録終了後、ステップS915では、連続ラベル紙をカッタ部109に排出する。   Here, when it is determined that the writing is normally completed and there is electronic information to be written to the next RF-ID tag, the electronic information is written to the next RF-ID tag as shown in FIG. 7a. Start and execute the process described above in parallel. After the recording on the surface of the label 201 incorporating the RF-ID tag, the continuous label paper is discharged to the cutter unit 109 in step S915.

一方、ステップS905において、RF−IDタグ205への電子情報の書き込みが正常に終了しなかったと判定された場合には、通信エラーが発生したとして、ステップS918に進み、発生した通信エラーの種類を判定する。   On the other hand, if it is determined in step S905 that the writing of electronic information to the RF-ID tag 205 has not ended normally, it is determined that a communication error has occurred, and the process proceeds to step S918, where the type of communication error that has occurred is set. judge.

ここで、通信エラーの種類の判定について説明する。上述したように、RF−IDタグへの電子情報の書き込み処理は、RF−IDタグに書き込んだ電子情報をRF−IDリーダ/ライタが読み出し、書き込んだ電子情報と読み出した電子情報とが一致することを条件に、当該RF−IDタグへの電子情報の書き込み処理が正常に終了したと判定している。   Here, the determination of the type of communication error will be described. As described above, in the process of writing electronic information to the RF-ID tag, the electronic information written to the RF-ID tag is read by the RF-ID reader / writer, and the written electronic information matches the read electronic information. As a result, it is determined that the electronic information writing process to the RF-ID tag has been completed normally.

このため、書き込み処理が正常に終了しなかった(つまり、通信エラーが発生した)場合としては、所定の通信時間内に、電子情報の書き込み、書き込んだ電子情報の読み出し、ならびに両者の比較が完了しなかった場合と、これらの処理は完了したが、比較の結果、書き込んだ電子情報と読み出した電子情報とが一致しなかった場合とがある。   Therefore, if the writing process did not end normally (that is, a communication error occurred), the writing of electronic information, reading of the written electronic information, and comparison of both were completed within a predetermined communication time. In some cases, these processes are completed, but as a result of comparison, the written electronic information does not match the read electronic information.

このうち、RF−IDタグが故障していた場合に発生するのは、後者の場合である(故障している場合には、電子情報が正しく書き込まれないため、読み出された電子情報が、書き込もうとした電子情報と一致することはない)。   Among these, the latter occurs when the RF-ID tag is out of order (in the case of outage, electronic information is not written correctly, so the read out electronic information is It does not match the electronic information you are trying to write).

したがって、発生した通信エラーのうち、後者の理由による場合は、RF−IDタグが故障していたことに起因する通信エラーであると判断し、それ以外の場合は、RF−IDタグは正常であると判断する。   Accordingly, among the generated communication errors, if the latter reason, it is determined that the communication error is caused by the failure of the RF-ID tag. Otherwise, the RF-ID tag is normal. Judge that there is.

図9に戻る。通信エラーが、書き込んだ電子情報と読み出した電子情報とが一致しなかったことに起因する通信エラーであった場合には、ラベル内に内蔵されたRF−IDタグが故障していると判断して、ステップS919に進み、ラベルへの記録を中止する。   Returning to FIG. If the communication error is a communication error resulting from the mismatch between the written electronic information and the read electronic information, it is determined that the RF-ID tag built in the label is broken. In step S919, recording on the label is stopped.

さらにステップS912に進み、操作パネル106内のLCD111にRF−IDタグが故障している旨のエラーメッセージを表示し、ユーザに通知する。そして、ステップS916において、当該RF−IDタグが内蔵されたラベルをカッタ部109に排出し、その後、ステップS917で連続ラベル紙の搬送を停止しユーザがエラーを解除するまで待機する。ユーザがエラーを解除した後は、エラー発生時の記録データから処理を再開する。   In step S912, an error message indicating that the RF-ID tag is broken is displayed on the LCD 111 in the operation panel 106, and the user is notified. In step S916, the label in which the RF-ID tag is built is discharged to the cutter unit 109. After that, in step S917, the conveyance of the continuous label sheet is stopped and the user waits until the error is cleared. After the user cancels the error, the process is restarted from the recording data at the time of the error.

一方、ステップS918において、通信エラーが、所定の通信時間内に処理が完了しなかったことに起因する通信エラーであった場合には、ラベルに内蔵されているRF−IDタグは正常ではあると判定してステップS906に進み、図7bに示すようにRF−IDタグへの電子情報の書き込みを中止する。   On the other hand, in step S918, if the communication error is a communication error due to the processing not being completed within the predetermined communication time, the RF-ID tag built in the label is normal. The determination proceeds to step S906, and writing of electronic information to the RF-ID tag is stopped as shown in FIG. 7b.

この際、図7cに示すように搬送は停止せずラベルへの記録は続け、記録終了後、ステップS907へ進み、当該ラベルをカッタ部109に排出する。排出されたラベルは、搬送停止書き込みを行うために、ステップS908において、図7dに示すように当該RF−IDタグが内蔵されたラベルがRF−IDタグ書き込み位置にくるように連続ラベル紙の搬送を行う。   At this time, as shown in FIG. 7c, the conveyance is not stopped and the recording on the label is continued. After the recording is finished, the process proceeds to step S907, and the label is discharged to the cutter unit 109. In order to perform transport stop writing, the discharged label is transported in step S908 so that the label with the RF-ID tag is positioned at the RF-ID tag write position as shown in FIG. 7d. I do.

当該RF−IDタグが内蔵されたラベルが書き込み位置まで戻ったら、ステップS909において、連続ラベル紙の搬送を停止する。搬送の停止を確認したら、ステップS910では、図7eに示すように搬送停止状態のまま再度通信エラーの発生したRF−IDタグに対して電子情報の書き込みを行う。   When the label incorporating the RF-ID tag returns to the writing position, the conveyance of the continuous label paper is stopped in step S909. After confirming the stop of conveyance, in step S910, as shown in FIG. 7E, electronic information is written again to the RF-ID tag in which the communication error has occurred in the conveyance stop state.

電子情報の書き込み終了後、ステップS911では、書き込みが正常に終了したかどうかを調べる。ここで、書き込みが正常に終了したと判断され、かつ次のRF−IDタグへ書き込む電子情報が存在する場合は、図7aに示すように次のRF−IDタグへの電子情報の書き込みを開始し、上述した処理を平行して実行する。そして、RF−IDタグが内蔵されたラベル201表面への記録が終了すると、ステップS915では、当該ラベルをカッタ部109に搬出する。   After the writing of the electronic information is completed, in step S911, it is checked whether or not the writing has been completed normally. Here, when it is determined that the writing has been normally completed and there is electronic information to be written to the next RF-ID tag, writing of the electronic information to the next RF-ID tag is started as shown in FIG. 7a. Then, the above-described processing is executed in parallel. When the recording on the surface of the label 201 incorporating the RF-ID tag is completed, the label is carried out to the cutter unit 109 in step S915.

これに対して、ステップS911において、RF−IDタグ205への電子情報の再度の書き込みが正常に終了しなかったと判断された場合には、ステップS912に進み、操作パネル106内のLCD111にRF−IDタグが故障である旨のエラーメッセージを表示し、ユーザに通知する。   On the other hand, if it is determined in step S911 that the rewriting of the electronic information to the RF-ID tag 205 has not ended normally, the process proceeds to step S912, and the RF 111 on the operation panel 106 is displayed on the RF-ID tag. An error message indicating that the ID tag is faulty is displayed and notified to the user.

そして、ステップS916において、当該RF−IDタグが内蔵されたラベルをカッタ部109に排出し、その後、ステップS917で連続ラベル紙の搬送を停止しユーザがエラーを解除するまで待機する。ユーザがエラーを解除した後は、エラー発生時の記録データから処理を再開する。上記記録処理及び書き込み処理は、すべての記録データがなくなるまで繰り返される。   In step S916, the label in which the RF-ID tag is built is discharged to the cutter unit 109. After that, in step S917, the conveyance of the continuous label sheet is stopped and the user waits until the error is cleared. After the user cancels the error, the process is restarted from the recording data at the time of the error. The recording process and the writing process are repeated until all the recording data is exhausted.

以上の説明から明らかなように、本実施形態によれば、通信エラーが発生した場合に、その種類を判定し、所定の通信時間内に処理が完了しなかったことに起因する通信エラーであると判定された場合にのみ、搬送停止状態での再度の書き込み処理を行うこととした。   As is clear from the above description, according to the present embodiment, when a communication error occurs, the type is determined, and the communication error is caused by the processing not being completed within a predetermined communication time. Only when it is determined, the writing process is performed again in the conveyance stop state.

これにより、RF−IDタグの故障に起因して通信エラーとなったRF−IDタグに対してまで、搬送停止状態での再度の電子情報の書き込みを行うことがなくなり、上記第1の実施形態と比較して、全体のスループットを更に向上させることが可能となる。   As a result, the electronic information is not written again in the transport stop state until the RF-ID tag having a communication error due to the failure of the RF-ID tag, and the first embodiment. As a result, the overall throughput can be further improved.

なお、上記説明において、所定の通信時間については特に詳説しなかったが、当該時間についてはユーザが任意に設定できるように構成されていてもよい。また、書き込み対象のラベルの次のラベルの先端位置が所定の位置にきたことを契機に、所定の通信時間が経過したと判断するようにしてもよい。あるいは、書き込み対象のラベルの後端位置が所定の位置を通過したことを契機に、所定の時間が経過したと判断するようにしてもよい。   In the above description, the predetermined communication time has not been described in detail, but the user may arbitrarily configure the time. Further, it may be determined that a predetermined communication time has elapsed when the leading end position of the label next to the label to be written has reached a predetermined position. Alternatively, it may be determined that a predetermined time has elapsed when the trailing end position of the label to be written has passed a predetermined position.

[その他の実施形態]
上記第1及び第2の実施形態では、フルラインタイプのインクジェット方式の記録装置に関する説明をしたが、インクジェット方式以外の記録ヘッドを持つプリンタ、すなわち感熱式、熱転写式、電子写真式等の他の記録方式、或いはモノクロの記録装置にも適用することが可能である。

尚、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。上述した実施形態の機能を実現するソフトウエアのプログラムコードを記憶した記憶媒体等の媒体をシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体等の媒体に格納されたプログラムコードを読み出し実行することによっても、本発明が達成されることは言うまでもない。
[Other Embodiments]
In the first and second embodiments, the full-line type ink jet recording apparatus has been described. However, the printer having a recording head other than the ink jet system, that is, other devices such as a thermal type, a thermal transfer type, and an electrophotographic type. The present invention can also be applied to a recording method or a monochrome recording apparatus.

The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. A medium such as a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the medium in the storage medium or the like. It goes without saying that the present invention can also be achieved by reading and executing the program code.

この場合、記憶媒体等の媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体等の媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体等の媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM、或いはネットワークを介したダウンロードなどを用いることができる。   In this case, the program code itself read from the medium such as a storage medium realizes the functions of the above-described embodiments, and the medium such as the storage medium storing the program code constitutes the present invention. . As a medium such as a storage medium for supplying the program code, for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM Alternatively, download via a network can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、上述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合も、本発明に含まれることは言うまでもない。   Further, by executing the program code read out by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. Needless to say, the present invention includes a case where the function of the above-described embodiment is realized by performing part or all of the processing.

更に、記憶媒体等の媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合も、本発明に含まれることは言うまでもない。   Furthermore, after the program code read from a medium such as a storage medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer, based on the instruction of the program code, Needless to say, the present invention includes a case where the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明の第1の実施形態にかかる記録装置とホストとを使用した記録システムの構成図である。1 is a configuration diagram of a recording system using a recording apparatus and a host according to a first embodiment of the present invention. 記録装置が記録媒体として使用するRF−IDタグが内蔵されたラベルが長尺方向に複数仮着された連続ラベル紙の模式図である。FIG. 4 is a schematic diagram of a continuous label sheet in which a plurality of labels in which an RF-ID tag used as a recording medium by the recording apparatus is temporarily attached in the longitudinal direction. 記録装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a recording device. 記録装置が備える記録ヘッド及びRF−ID用通信アンテナの配置を示した図である。It is the figure which showed arrangement | positioning of the recording head with which a recording apparatus is provided, and the communication antenna for RF-ID. 記録装置の制御機能を示すブロック図である。It is a block diagram which shows the control function of a recording device. ホストから記録装置に送信される制御コマンドの構造を示した図である。It is the figure which showed the structure of the control command transmitted to a recording device from a host. ラベルへの記録処理およびRF−IDタグへの書き込み処理の流れを示す図である。It is a figure which shows the flow of the recording process to a label, and the write-in process to RF-ID tag. ラベルへの記録処理およびRF−IDタグへの書き込み処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the recording process to a label, and the write-in process to RF-ID tag. 本発明の第2の実施形態にかかる記録装置による、ラベルへの記録処理およびRF−IDタグへの書き込み処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the recording process to a label, and the writing process to RF-ID tag by the recording device concerning the 2nd Embodiment of this invention.

Claims (4)

RF−IDタグを内蔵する記録媒体を搬送する搬送手段と、
前記記録媒体の表面に記録を行う記録手段と、
前記RF−IDタグと通信を行い、該RF−IDタグに電子情報の書き込みを行う書込手段と、
前記搬送手段による前記記録媒体の搬送中に、前記書込手段による書き込みが正常に終了したか否かを判定する判定手段と、を備え、
前記搬送手段は、
前記判定手段による判定の結果、正常に終了しなかったと判定された場合に、該RF−IDタグを内蔵する記録媒体の表面への記録が完了するまで、該記録媒体の搬送を継続させ、その後、前記書込手段による電子情報の書き込み位置まで該記録媒体を搬送させることで、該記録媒体を該書き込み位置に停止させ、
前記書込手段は、
前記電子情報の再度の書き込みを行い、
前記判定手段は、前記書込手段による前記電子情報の再度の書き込みが正常に終了したか否かを判定し、正常に終了していないと判定した場合に、前記RF−IDタグは故障していると判定することを特徴とする記録装置。
Conveying means for conveying a recording medium containing an RF-ID tag;
Recording means for recording on the surface of the recording medium;
Writing means for communicating with the RF-ID tag and writing electronic information to the RF-ID tag;
Determining means for determining whether or not writing by the writing means is normally completed during conveyance of the recording medium by the conveying means;
The conveying means is
As a result of the determination by the determination means, when it is determined that the process has not been completed normally, the recording medium is continuously conveyed until recording on the surface of the recording medium having the RF-ID tag is completed, and thereafter , By transporting the recording medium to the writing position of the electronic information by the writing means, the recording medium is stopped at the writing position,
The writing means includes
Write the electronic information again,
The determination means determines whether or not the rewriting of the electronic information by the writing means has been normally completed. If it is determined that the electronic information has not been normally completed, the RF-ID tag has failed. A recording apparatus, characterized in that it is determined that
RF−IDタグを内蔵する記録媒体を搬送する搬送工程と、
前記記録媒体の表面に記録を行う記録工程と、
前記RF−IDタグと通信を行い、該RF−IDタグに電子情報の書き込みを行う書込工程と、
前記搬送工程による前記記録媒体の搬送中に、前記書込工程による書き込みが正常に終了したか否かを判定する判定工程と、を備え、
前記搬送工程は、
前記判定工程による判定の結果、正常に終了しなかったと判定された場合に、該RF−IDタグを内蔵する記録媒体の表面への記録が完了するまで、該記録媒体の搬送を継続させ、その後、前記書込工程による電子情報の書き込み位置まで該記録媒体を搬送させることで、該記録媒体を該書き込み位置に停止させ、
前記書込工程は、前記電子情報の再度の書き込みを行い、
前記判定工程は、前記書込工程による前記電子情報の再度の書き込みが正常に終了したか否かを判定し、正常に終了していないと判定した場合に、前記RF−IDタグは故障していると判定することを特徴とする記録装置の制御方法。
A transporting process for transporting a recording medium containing an RF-ID tag;
A recording step for recording on the surface of the recording medium;
A writing step of communicating with the RF-ID tag and writing electronic information to the RF-ID tag;
A determination step of determining whether writing by the writing step is normally completed during conveyance of the recording medium by the conveyance step,
The conveying step is
As a result of the determination by the determination step, when it is determined that the recording has not been completed normally, the recording medium is continuously transported until recording on the surface of the recording medium having the RF-ID tag is completed, and thereafter , By transporting the recording medium to the writing position of the electronic information by the writing step, the recording medium is stopped at the writing position,
The writing step performs the writing of the electronic information again,
In the determination step, it is determined whether or not the rewriting of the electronic information by the writing step has been normally completed. When it is determined that the electronic information has not been normally completed, the RF-ID tag has failed. A control method for a recording apparatus, characterized in that it is determined that the recording apparatus is present.
請求項2に記載の制御方法をコンピュータによって実現させるための制御プログラムを格納した記憶媒体。   A storage medium storing a control program for realizing the control method according to claim 2 by a computer. 請求項2に記載の制御方法をコンピュータによって実現させるための制御プログラム。   A control program for realizing the control method according to claim 2 by a computer.
JP2007203336A 2007-08-03 2007-08-03 Recording unit and control method therefor Withdrawn JP2009037551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007203336A JP2009037551A (en) 2007-08-03 2007-08-03 Recording unit and control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007203336A JP2009037551A (en) 2007-08-03 2007-08-03 Recording unit and control method therefor

Publications (1)

Publication Number Publication Date
JP2009037551A true JP2009037551A (en) 2009-02-19

Family

ID=40439372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007203336A Withdrawn JP2009037551A (en) 2007-08-03 2007-08-03 Recording unit and control method therefor

Country Status (1)

Country Link
JP (1) JP2009037551A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018077864A (en) * 2017-12-05 2018-05-17 サトーホールディングス株式会社 Encoding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018077864A (en) * 2017-12-05 2018-05-17 サトーホールディングス株式会社 Encoding device

Similar Documents

Publication Publication Date Title
JP2007007962A (en) Recorder and recording control method
JP3953389B2 (en) Recording device
JP5803504B2 (en) Medium processing apparatus and method for controlling medium processing apparatus
JP2006231775A (en) Electronic device, information processing method, storage medium, and program
US7498942B2 (en) Printer and system for detecting void RFID transponders supported in a printing media and communicating the same
JP2007216515A (en) Printer
JP2003150914A (en) Recorder
JP4084977B2 (en) Recording device
JP2013073318A (en) Medium processor and control method for the same
JP6127404B2 (en) Medium processing apparatus and method for controlling medium processing apparatus
JP4017434B2 (en) Recording device and recording system
JP2009037551A (en) Recording unit and control method therefor
JP2009037552A (en) Recording unit and control method therefor
JP4915323B2 (en) Wireless tag information communication device
JP4468690B2 (en) Recording apparatus and recording control method
JP4412876B2 (en) Recording apparatus and recording method
JP2010030108A (en) Recording apparatus
JP2008171193A (en) Tag label preparation device
JP2004058362A (en) Recorder
JP2007058418A (en) Recording device
JP2007055009A (en) Recording apparatus
JP4589033B2 (en) Recording apparatus, recording method, storage medium, program
JP2010146203A (en) Recording device and method of controlling the same
JP2007021901A (en) Printer and printing method
JP4261852B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, RECORDING DEVICE, STORAGE MEDIUM, RECORDING SYSTEM, AND RECORDING MEDIUM ISSUING SYSTEM

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20101005