JPWO2020121383A1 - Label printing device, light projection amount setting method and threshold setting method - Google Patents

Label printing device, light projection amount setting method and threshold setting method Download PDF

Info

Publication number
JPWO2020121383A1
JPWO2020121383A1 JP2020558819A JP2020558819A JPWO2020121383A1 JP WO2020121383 A1 JPWO2020121383 A1 JP WO2020121383A1 JP 2020558819 A JP2020558819 A JP 2020558819A JP 2020558819 A JP2020558819 A JP 2020558819A JP WO2020121383 A1 JPWO2020121383 A1 JP WO2020121383A1
Authority
JP
Japan
Prior art keywords
receiver
floodlight
amount
light
continuous paper
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2020558819A
Other languages
Japanese (ja)
Other versions
JP6970838B2 (en
Inventor
圭太 石黒
圭太 石黒
誠一 大木
誠一 大木
亮太朗 高村
亮太朗 高村
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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech Ltd
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 Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Publication of JPWO2020121383A1 publication Critical patent/JPWO2020121383A1/en
Application granted granted Critical
Publication of JP6970838B2 publication Critical patent/JP6970838B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/36Blanking or long feeds; Feeding to a particular line, e.g. by rotation of platen or feed roller
    • B41J11/42Controlling printing material conveyance for accurate alignment of the printing material with the printhead; Print registering
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H7/00Controlling article feeding, separating, pile-advancing, or associated apparatus, to take account of incorrect feeding, absence of articles, or presence of faulty articles
    • B65H7/02Controlling article feeding, separating, pile-advancing, or associated apparatus, to take account of incorrect feeding, absence of articles, or presence of faulty articles by feelers or detectors
    • B65H7/14Controlling article feeding, separating, pile-advancing, or associated apparatus, to take account of incorrect feeding, absence of articles, or presence of faulty articles by feelers or detectors by photoelectric feelers or detectors

Abstract

連続用紙の交換時のオペレータの手間を低減することができるラベル印字装置。ラベル印字装置(2)において、光センサ(22)は、光を投光する投光器(22T)と、投光器(22T)から投光された光を受光する受光器(22R)とを有する。制御部(24)は、投光器(22T)と受光器(22R)との間に連続用紙(CP)が存在しない状態で、投光器(22T)の投光量を投光量FL1に設定し、投光量FL1を用いて連続用紙(CP)が投光器(22T)と受光器(22R)との間に存在することを検出するときに、投光器(22T)の投光量を、投光量FL1より大きい投光量FL2に設定し、投光量FL2を用いて台紙部分が投光器(22T)と受光器(22R)との間に存在することを検出するときに、投光器(22T)の投光量を、投光量FL1より大きく、かつ、投光量FL2より小さい投光量FL3に設定する。 A label printing device that can reduce the time and effort of the operator when replacing continuous paper. In the label printing device (2), the optical sensor (22) includes a floodlight (22T) that emits light and a light receiver (22R) that receives the light projected from the floodlight (22T). The control unit (24) sets the amount of light projected by the floodlight (22T) to the amount of light projected FL1 in a state where there is no continuous paper (CP) between the floodlight (22T) and the receiver (22R), and the amount of light projected FL1. When detecting the presence of continuous paper (CP) between the floodlight (22T) and the light receiver (22R) using When it is set and the mount portion is detected between the floodlight (22T) and the light receiver (22R) using the light projection amount FL2, the light projection amount of the floodlight (22T) is set to be larger than the light projection amount FL1. In addition, the light projection amount FL3 is set to be smaller than the light projection amount FL2.

Description

開示の技術は、ラベル印字装置、投光量設定方法及び閾値設定方法に関する。 The disclosed technique relates to a label printing device, a light projection amount setting method, and a threshold value setting method.

長尺状の台紙と、その台紙に一定の間隔で貼付された複数のラベルとから形成される連続用紙を印字対象とし、連続用紙を搬送しながら、台紙に貼付された複数のラベルの各々に印字を行う「ラベル印字装置」が知られている。印字対象となる連続用紙では一定間隔でラベルが台紙に貼付されているため、連続用紙には、台紙が存在する一方でラベルが存在しない部分(以下では「台紙部分」と呼ぶことがある)と、台紙及びラベルの双方が存在する部分(以下では「ラベル部分」と呼ぶことがある)とが存在する。ラベル印字装置は、例えば、医療機関で用いられる採血管に貼付されるラベルに患者名等を印字するために用いられる。 A continuous paper formed from a long mount and a plurality of labels affixed to the mount at regular intervals is targeted for printing, and while the continuous paper is conveyed, it is applied to each of the plurality of labels affixed to the mount. A "label printing device" that prints is known. Since labels are attached to the mount at regular intervals on the continuous paper to be printed, the continuous paper has a mount but no label (hereinafter, may be referred to as a "mount portion"). , There is a part where both the mount and the label exist (hereinafter, it may be referred to as a "label part"). The label printing device is used, for example, to print a patient name or the like on a label attached to a blood collection tube used in a medical institution.

また、ラベルへの印字は印字ヘッドにより行われるため、ラベルへの印字を開始するにあたり、連続用紙の搬送に伴って、ラベルの先端を印字ヘッドが配置されている位置(以下では「印字ヘッド配置位置」と呼ぶことがある)に合わせる必要がある。連続用紙に対して連続用紙の上面または下面から光を投光したときの台紙部分における光の透過率(以下では「台紙部分透過率」と呼ぶことがある)は、ラベル部分における光の透過率(以下では「ラベル部分透過率」と呼ぶことがある)よりも大きい。また、台紙には一定間隔でラベルが貼付されている。このため、透過型光センサを使用し、投光器から投光された光の受光器における受光量が所定の範囲にあるときを、搬送される連続用紙における台紙部分が透過型光センサが配置されている位置(以下では「光センサ配置位置」と呼ぶことがある)にあるときとして判断することにより、連続用紙における台紙部分を検出することができる。そして、印字ヘッドから所定の距離に配置された透過型光センサを用いて台紙部分を検出したときに連続用紙の搬送を停止することにより、印字ヘッド配置位置にラベルの先端を合わせることができる。 Further, since printing on the label is performed by the print head, when printing on the label is started, the tip of the label is positioned at the position where the print head is arranged (hereinafter, "print head arrangement") as the continuous paper is conveyed. It is necessary to adjust to the "position"). The light transmittance in the mount portion (hereinafter sometimes referred to as "mount portion transmittance") when light is projected from the upper surface or the lower surface of the continuous paper with respect to the continuous paper is the light transmittance in the label portion. (In the following, it may be referred to as "label partial transmittance"). In addition, labels are attached to the mount at regular intervals. Therefore, when a transmissive photosensor is used and the amount of light received from the photodetector in the photodetector is within a predetermined range, the transmissive optical sensor is arranged on the mount portion of the continuous paper to be conveyed. The mount portion on the continuous paper can be detected by determining that the sensor is in the position (hereinafter, may be referred to as “optical sensor arrangement position”). Then, when the backing sheet portion is detected by using the transmissive optical sensor arranged at a predetermined distance from the print head, the continuous paper transfer is stopped, so that the tip of the label can be aligned with the print head arrangement position.

特開2013−063843号公報Japanese Unexamined Patent Publication No. 2013-063843 特開2010−202307号公報JP-A-2010-202307

ラベル印字装置にセットされる連続用紙には様々な種類のものがあるため、連続用紙毎に台紙部分透過率が異なる。このため、透過型光センサの投光器からの光の投光量を連続用紙の種類にかかわらず一定にしたままでは、連続用紙の種類に応じて、台紙部分における受光器での光の受光量が変化してしまう。よって、上記のようにして受光器での受光量に基づいて台紙部分を検出するラベル印字装置にセットされる連続用紙が異なった種類のものに交換されたのにもかかわらず、投光器からの光の投光量が連続用紙の種類にかかわらず一定にされたままでは、台紙部分を正しく検出できないことがある。そこで、オペレータは、連続用紙を交換する度に、ラベルの印字を開始する前の初期設定として、連続用紙の種類によらず台紙部分での受光量が一定になるように、投光器からの光の投光量を手動で調節していた。このようなオペレータによる手動での投光量の調節は、オペレータにとって手間がかかる作業である。一方で、連続用紙の種類に応じた投光量の調節が行われなければ、台紙部分を正しく検出できなくなってしまうことがある。 Since there are various types of continuous paper set in the label printing device, the transmittance of the backing sheet portion differs for each continuous paper. Therefore, if the amount of light emitted from the projector of the transmissive optical sensor is kept constant regardless of the type of continuous paper, the amount of light received by the receiver at the mount portion changes according to the type of continuous paper. Resulting in. Therefore, even though the continuous paper set in the label printing device that detects the mount portion based on the amount of light received by the receiver is replaced with a different type as described above, the light from the floodlight If the amount of light projected is kept constant regardless of the type of continuous paper, the mount part may not be detected correctly. Therefore, every time the continuous paper is replaced, the operator sets the initial setting before starting printing of the label so that the amount of light received from the mount is constant regardless of the type of continuous paper. The amount of light projected was adjusted manually. Such manual adjustment of the amount of light projected by the operator is a laborious task for the operator. On the other hand, if the amount of light projected is not adjusted according to the type of continuous paper, the mount portion may not be detected correctly.

開示の技術は、上記に鑑みてなされたものであって、連続用紙の交換時のオペレータの手間を低減することを目的とする。 The disclosed technique has been made in view of the above, and an object thereof is to reduce the time and effort of the operator when exchanging continuous paper.

開示の第一の態様では、ラベル印字装置は、搬送部と、印字ヘッドと、光センサと、制御部とを有する。前記搬送部は、連続用紙を搬送する。前記連続用紙は、長尺状の台紙と、前記台紙に一定の間隔で貼付された複数のラベルとから形成され、前記台紙が存在する一方で前記ラベルが存在しない第一部分と、前記台紙及び前記ラベルの双方が存在する第二部分とを有する。前記印字ヘッドは、前記複数のラベルの各々に印字を行う。前記光センサは、光を投光する投光器と、前記投光器から投光された前記光を受光する受光器とを有する。前記制御部は、前記投光器と前記受光器との間に前記連続用紙が存在しない状態で、前記投光器の投光量を第一投光量に設定する。また、前記制御部は、前記第一投光量を用いて前記連続用紙が前記投光器と前記受光器との間に存在することを検出するときに、前記投光量を、前記第一投光量より大きい第二投光量に設定する。また、前記制御部は、前記第二投光量を用いて前記第一部分が前記投光器と前記受光器との間に存在することを検出するときに、前記投光量を、前記第一投光量より大きく、かつ、前記第二投光量より小さい前記第三投光量に設定する。 In the first aspect of the disclosure, the label printing apparatus includes a transport unit, a print head, an optical sensor, and a control unit. The transport unit transports continuous paper. The continuous paper is formed of a long mount and a plurality of labels attached to the mount at regular intervals, and the first portion in which the mount is present but the label is not present, the mount, and the mount and the above. It has a second part where both labels are present. The print head prints on each of the plurality of labels. The optical sensor includes a floodlight that emits light and a receiver that receives the light projected from the floodlight. The control unit sets the amount of light projected by the floodlight to the first amount of light projected in a state where the continuous paper does not exist between the floodlight and the receiver. Further, when the control unit detects that the continuous paper exists between the floodlight and the receiver by using the first floodlight amount, the control unit sets the floodlight amount to be larger than the first floodlight amount. Set to the second light emission amount. Further, when the control unit detects that the first portion exists between the floodlight and the light receiver by using the second floodlight amount, the control unit increases the floodlight amount to be larger than the first floodlight amount. And, the third light emission amount is set to be smaller than the second light projection amount.

また、開示の第二の態様では、ラベル印字装置は、搬送部と、印字ヘッドと、光センサと、制御部とを有する。前記搬送部は、連続用紙を搬送する。前記連続用紙は、長尺状の台紙と、前記台紙に一定の間隔で貼付された複数のラベルとから形成され、前記台紙が存在する一方で前記ラベルが存在しない第一部分と、前記台紙及び前記ラベルの双方が存在する第二部分とを有する。前記印字ヘッドは、前記複数のラベルの各々に印字を行う。前記光センサは、光を投光する投光器と、前記投光器から投光された前記光を受光する受光器とを有する。前記制御部は、前記投光器と前記受光器との間に前記連続用紙が存在しない状態で、前記受光器での受光量に対する第一閾値であって、前記連続用紙の種類にかかわらず前記投光器と前記受光器との間に前記連続用紙が存在する否かを判断するために用いられる前記第一閾値を設定する。また、前記制御部は、前記第一閾値を用いて前記連続用紙が前記投光器と前記受光器との間に存在することを検出するときに、前記受光量に対する第二閾値であって、前記第一閾値より小さく、かつ、前記連続用紙の種類にかかわらず前記投光器と前記受光器との間に前記第一部分または前記第二部分の何れが存在するかを判断するために用いられる前記第二閾値を設定する。また、前記制御部は、前記第二閾値を用いて前記第一部分が前記投光器と前記受光器との間に存在することを検出するときに、前記第一閾値に代えて、前記投光器と前記受光器との間に前記連続用紙が存在しないときの前記受光器での第一受光量と、前記投光器と前記受光器との間に前記第一部分が存在するときの前記受光器での第二受光量との平均値を、前記投光器と前記受光器との間に前記連続用紙が存在する否かを判断するために用いられる第三閾値として設定する。また、前記制御部は、前記第二閾値を用いて前記第一部分が前記投光器と前記受光器との間に存在することを検出するときに、前記第二閾値に代えて、前記第二受光量と、前記投光器と前記受光器との間に前記第二部分が存在するときの前記受光器での第三受光量との平均値を、前記投光器と前記受光器との間に前記第一部分または前記第二部分の何れが存在するかを判断するために用いられる第四閾値として設定する。 Further, in the second aspect of the disclosure, the label printing device includes a transport unit, a print head, an optical sensor, and a control unit. The transport unit transports continuous paper. The continuous paper is formed of a long mount and a plurality of labels attached to the mount at regular intervals, and the first portion in which the mount is present but the label is not present, the mount, and the mount and the above. It has a second part where both labels are present. The print head prints on each of the plurality of labels. The optical sensor includes a floodlight that emits light and a receiver that receives the light projected from the floodlight. The control unit is a first threshold value for the amount of light received by the receiver in a state where the continuous paper does not exist between the floodlight and the receiver, and the control unit is the same as the floodlight regardless of the type of the continuous paper. The first threshold value used for determining whether or not the continuous paper exists between the receiver and the receiver is set. Further, when the control unit detects that the continuous paper is present between the floodlight and the light receiver by using the first threshold value, the control unit is a second threshold value for the light receiving amount and is the first threshold value. The second threshold, which is smaller than one threshold and is used to determine whether the first part or the second part exists between the floodlight and the receiver regardless of the type of continuous paper. To set. Further, when the control unit detects that the first portion exists between the floodlight and the receiver by using the second threshold value, the control unit replaces the first threshold with the floodlight and the receiver. The amount of first light received by the receiver when the continuous paper is not present between the device and the second light received by the receiver when the first portion is present between the floodlight and the receiver. The average value with the amount is set as a third threshold value used for determining whether or not the continuous paper exists between the floodlight and the receiver. Further, when the control unit detects that the first portion exists between the floodlight and the light receiver by using the second threshold value, the second light receiving amount is replaced with the second threshold value. And the average value of the third light receiving amount in the light receiver when the second part is present between the floodlight and the light receiver, the first part or the light receiver between the floodlight and the light receiver. It is set as a fourth threshold value used to determine which of the second parts exists.

開示の態様によれば、連続用紙の交換時のオペレータの手間を低減することができる。 According to the disclosed aspect, it is possible to reduce the time and effort of the operator when exchanging the continuous paper.

図1は、実施例1の採血管準備装置の外観の一例を示す図である。FIG. 1 is a diagram showing an example of the appearance of the blood collection tube preparation device of Example 1. 図2は、実施例1の採血管準備装置の外観の一例を示す図である。FIG. 2 is a diagram showing an example of the appearance of the blood collection tube preparation device of Example 1. 図3は、実施例1の採血管準備装置の構成例を示す図である。FIG. 3 is a diagram showing a configuration example of the blood collection tube preparation device of the first embodiment. 図4は、実施例1の自動印字装置と手貼印字装置との共通な構成を示す図である。FIG. 4 is a diagram showing a common configuration of the automatic printing device and the hand-pasted printing device of the first embodiment. 図5は、実施例1の連続用紙の構成の一例を示す図である。FIG. 5 is a diagram showing an example of the configuration of the continuous paper of the first embodiment. 図6は、実施例1のラベル印字装置の構成例を示す機能ブロック図である。FIG. 6 is a functional block diagram showing a configuration example of the label printing device of the first embodiment. 図7は、実施例1のラベル印字装置の処理例の説明に供するフローチャートである。FIG. 7 is a flowchart provided for explaining a processing example of the label printing apparatus of the first embodiment. 図8は、実施例1のラベル印字装置の動作例の説明に供する図である。FIG. 8 is a diagram provided for explaining an operation example of the label printing device of the first embodiment. 図9は、実施例1のラベル印字装置の動作例の説明に供する図である。FIG. 9 is a diagram provided for explaining an operation example of the label printing device of the first embodiment. 図10は、実施例1のラベル印字装置の動作例の説明に供する図である。FIG. 10 is a diagram provided for explaining an operation example of the label printing device of the first embodiment. 図11は、実施例1のラベル印字装置の動作例の説明に供する図である。FIG. 11 is a diagram provided for explaining an operation example of the label printing device of the first embodiment. 図12は、実施例1のラベル印字装置の処理例の説明に供するフローチャートである。FIG. 12 is a flowchart for explaining a processing example of the label printing apparatus of the first embodiment. 図13は、実施例1のラベル印字装置の動作例の説明に供する図である。FIG. 13 is a diagram for explaining an operation example of the label printing device of the first embodiment. 図14は、実施例2のラベル印字装置の処理例の説明に供するフローチャートである。FIG. 14 is a flowchart for explaining a processing example of the label printing apparatus of the second embodiment. 図15は、実施例2のラベル印字装置の動作例の説明に供する図である。FIG. 15 is a diagram provided for explaining an operation example of the label printing device of the second embodiment. 図16は、実施例2のラベル印字装置の動作例の説明に供する図である。FIG. 16 is a diagram provided for explaining an operation example of the label printing device of the second embodiment. 図17は、実施例2のラベル印字装置の動作例の説明に供する図である。FIG. 17 is a diagram provided for explaining an operation example of the label printing device of the second embodiment.

以下に、本願の開示するラベル印字装置、投光量設定方法及び閾値設定方法の実施例を図面に基づいて説明する。なお、この実施例により本願の開示するラベル印字装置、投光量設定方法及び閾値設定方法が限定されるものではない。また、実施例において同一の構成、及び、同一の処理を行うステップには同一の符号を付す。 Hereinafter, examples of the label printing device, the light projection amount setting method, and the threshold value setting method disclosed in the present application will be described with reference to the drawings. Note that this embodiment does not limit the label printing device, the light projection amount setting method, and the threshold value setting method disclosed in the present application. Further, in the examples, the same components and the steps for performing the same processing are designated by the same reference numerals.

[実施例1]
<採血管準備装置の外観>
図1及び図2は、実施例1の採血管準備装置の外観の一例を示す図である。図1及び図2において、採血管準備装置1は、開閉可能なカバーCV1,CV2,CV3を有する。図1には、カバーCV1,CV2,CV3が閉められているときの外観を示し、図2には、カバーCV1,CV2,CV3が開けられているときの外観を示す。
[Example 1]
<Appearance of blood collection tube preparation device>
1 and 2 are views showing an example of the appearance of the blood collection tube preparation device of the first embodiment. In FIGS. 1 and 2, the blood collection tube preparation device 1 has covers CV1, CV2, and CV3 that can be opened and closed. FIG. 1 shows the appearance when the covers CV1, CV2, and CV3 are closed, and FIG. 2 shows the appearance when the covers CV1, CV2, and CV3 are opened.

<採血管準備装置の構成>
図3は、実施例1の採血管準備装置の構成例を示す図である。図3において、採血管準備装置1は、ラベル印字装置2と、採血管供給部SU1〜SU6と、採血管操出部EJ1〜EJ6と、採血管搬送部11と、採血管ガイド12,14と、ラベル巻付部13と、取出トレイ15と、ラベルカッター16とを有する。採血管供給部SU1〜SU6の各々には、複数の採血管BCを格納することが可能である。採血管操出部EJ1〜EJ6の各々は、採血管供給部SU1〜SU6の各々の最下部の供給口に設けられる。採血管操出部EJ1〜EJ6の各々には採血管BCが嵌まる凹部が設けられ、採血管操出部EJ1〜EJ6が回転することにより、凹部に嵌まった採血管BCが採血管搬送部11に落下する。以下では、採血管供給部SU1〜SU6を「採血管供給部SU」と総称し、採血管操出部EJ1〜EJ6を「採血管操出部EJ」と総称することがある。
<Structure of blood collection tube preparation device>
FIG. 3 is a diagram showing a configuration example of the blood collection tube preparation device of the first embodiment. In FIG. 3, the blood collection tube preparation device 1 includes a label printing device 2, a blood collection tube supply unit SU1 to SU6, a blood collection tube manipulation unit EJ1 to EJ6, a blood collection tube transport unit 11, and a blood collection tube guides 12 and 14. The label winding portion 13, the take-out tray 15, and the label cutter 16 are provided. A plurality of blood collection tube BCs can be stored in each of the blood collection tube supply units SU1 to SU6. Each of the blood collection tube control units EJ1 to EJ6 is provided at the lowermost supply port of each of the blood collection tube supply units SU1 to SU6. Each of the blood collection tube ejection parts EJ1 to EJ6 is provided with a recess in which the blood collection tube BC is fitted. It falls to 11. In the following, the blood collection tube supply units SU1 to SU6 may be collectively referred to as the “blood collection tube supply unit SU”, and the blood collection tube manipulation units EJ1 to EJ6 may be collectively referred to as the “vascular collection operation unit EJ”.

また、図3において、ラベル印字装置2は、制御部24と、記憶部25と、ローラRO1〜RO10と、光センサ22−1,22−2と、印字ヘッド23−1,23−2とを有する。光センサ22−1は、投光器22−1Tと、受光器22−1Rとを有する透過型光センサであり、光センサ22−2は、投光器22−2Tと、受光器22−2Rとを有する透過型光センサである。 Further, in FIG. 3, the label printing device 2 includes a control unit 24, a storage unit 25, rollers RO1 to RO10, optical sensors 22-1, 22-2, and printing heads 23-1, 23-2. Have. The optical sensor 22-1 is a transmissive optical sensor having a photodetector 22-1T and a photodetector 22-1R, and the photosensor 22-2 is a transmissive photosensor having a photodetector 22-2T and a photodetector 22-2R. It is a type optical sensor.

制御部24は、ハードウェアとして、例えばプロセッサにより実現される。プロセッサの一例として、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、FPGA(Field Programmable Gate Array)等が挙げられる。また、制御部24は、プロセッサと周辺回路とを含むLSI(Large Scale Integrated circuit)によって実現されても良い。 The control unit 24 is realized as hardware, for example, by a processor. Examples of processors include CPUs (Central Processing Units), DSPs (Digital Signal Processors), FPGAs (Field Programmable Gate Arrays), and the like. Further, the control unit 24 may be realized by an LSI (Large Scale Integrated circuit) including a processor and peripheral circuits.

記憶部25は、ハードウェアとして、例えば、メモリにより実現される。メモリの一例として、SDRAM(Synchronous Dynamic Random Access Memory)等のRAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ等が挙げられる。 The storage unit 25 is realized as hardware, for example, by a memory. Examples of the memory include RAM (Random Access Memory) such as SDRAM (Synchronous Dynamic Random Access Memory), ROM (Read Only Memory), and flash memory.

ラベル印字装置2は、印字後のラベルを自動で採血管BCに巻き付ける「自動印字装置」と、印字後のラベルを手貼用のラベルとしてそのまま排出する「手貼印字装置」とを有する。ラベル印字装置2において、自動印字装置は、ローラRO1〜RO7と、光センサ22−1と、印字ヘッド23−1とから構成され、手貼印字装置は、ローラRO8〜RO10と、光センサ22−2と、印字ヘッド23−2とから構成される。オペレータによって、ローラRO1には連続用紙CP1がセットされ、ローラRO8には連続用紙CP2がセットされる。以下では、連続用紙CP1,CP2を「連続用紙CP」と総称することがある。また、以下では、光センサ22−1,22−2を「光センサ22」と総称し、印字ヘッド23−1,23−2を「印字ヘッド23」と総称することがある。また、投光器22−1T,22−2Tを「投光器22T」と総称し、受光器22−1R,22−2Rを「受光器22R」と総称することがある。図3では、連続用紙CPの上面側に投光器22Tが配置され、連続用紙CPの下面側に受光器22Rが配置されているが、連続用紙CPの下面側に投光器22Tを配置し、連続用紙CPの上面側に受光器22Rを配置しても良い。 The label printing device 2 includes an "automatic printing device" that automatically winds the printed label around the blood collection tube BC, and a "hand-pasted printing device" that discharges the printed label as it is as a label for hand-pasting. In the label printing device 2, the automatic printing device includes rollers RO1 to RO7, an optical sensor 22-1, and a printing head 23-1, and the hand-pasted printing device includes rollers RO8 to RO10 and an optical sensor 22-. 2 and the print head 23-2. The operator sets the continuous paper CP1 in the roller RO1 and sets the continuous paper CP2 in the roller RO8. Hereinafter, continuous paper CP1 and CP2 may be collectively referred to as "continuous paper CP". Further, in the following, the optical sensors 22-1, 22-2 may be generically referred to as "optical sensor 22", and the print heads 23-1 and 23-2 may be generically referred to as "print head 23". Further, the floodlights 22-1T and 22-2T may be collectively referred to as a "floodlighter 22T", and the receivers 22-1R and 22-2R may be collectively referred to as a "receiver 22R". In FIG. 3, the floodlight 22T is arranged on the upper surface side of the continuous paper CP and the receiver 22R is arranged on the lower surface side of the continuous paper CP. However, the floodlight 22T is arranged on the lower surface side of the continuous paper CP and the continuous paper CP is arranged. The receiver 22R may be arranged on the upper surface side of the above.

図4は、実施例1の自動印字装置と手貼印字装置との共通な構成を示す図である。図4に示すように、ロール状の連続用紙CPが、ローラRO1,RO8にセットされる。光センサ22において、搬送される連続用紙CPを上下から挟むようにして投光器22Tと受光器22Rとが互いに対向して配置され、投光器22Tから投光され、連続用紙CPを透過した光が受光器22Rにより受光される。また、光センサ22から所定の距離D1の位置に印字ヘッド23が配置される。 FIG. 4 is a diagram showing a common configuration of the automatic printing device and the hand-pasted printing device of the first embodiment. As shown in FIG. 4, the roll-shaped continuous paper CP is set on the rollers RO1 and RO8. In the optical sensor 22, the projector 22T and the receiver 22R are arranged so as to sandwich the continuously paper CP to be conveyed from above and below, and the light is projected from the projector 22T and transmitted through the continuous paper CP by the receiver 22R. Received light. Further, the print head 23 is arranged at a position at a predetermined distance D1 from the optical sensor 22.

図5は、実施例1の連続用紙の構成の一例を示す図である。図5において、連続用紙CPは、長尺状の台紙MUと、台紙MUに一定の間隔IVで貼付された横幅Wの複数のラベルLBとから形成され、連続用紙CPには、台紙部分とラベル部分とが存在する。 FIG. 5 is a diagram showing an example of the configuration of the continuous paper of the first embodiment. In FIG. 5, the continuous paper CP is formed of a long mount MU and a plurality of labels LB having a width W attached to the mount MU at regular intervals IV, and the continuous paper CP includes a mount portion and labels. There is a part.

<採血管準備装置の動作>
以下、自動印字装置が使用される場合の動作と、手貼印字装置が使用される場合の動作とに分けて説明する。
<Operation of blood collection tube preparation device>
Hereinafter, the operation when the automatic printing device is used and the operation when the hand-pasted printing device is used will be described separately.

<自動印字装置が使用される場合の採血管準備装置の動作>
まず、採血管供給部SU1〜SU6のうちオペレータにより指定された採血管供給部SUに設けられている採血管操出部EJが、採血管供給部SUから採血管BCを繰り出して採血管搬送部11に落下させる。
<Operation of blood collection tube preparation device when automatic printing device is used>
First, among the blood collection tube supply units SU1 to SU6, the blood collection tube control unit EJ provided in the blood collection tube supply unit SU designated by the operator feeds out the blood collection tube BC from the blood collection tube supply unit SU to carry the blood collection tube. Drop to 11.

採血管BCを載せた採血管搬送部11は、採血管ガイド12の上まで移動して採血管BCを採血管ガイド12に落下させる。採血管ガイド12に落下した採血管BCは、採血管ガイド12を転がり落ちてラベル巻付部13にセットされる。 The blood collection tube transport unit 11 on which the blood collection tube BC is placed moves to the top of the blood collection tube guide 12 and drops the blood collection tube BC onto the blood collection tube guide 12. The blood collection tube BC that has fallen on the blood collection tube guide 12 rolls down the blood collection tube guide 12 and is set on the label winding portion 13.

ラベル巻付部13は、印字ヘッド23−1による印字後のラベルを採血管BCに巻き付けながら貼り付け、ラベル貼付後の採血管BCを採血管ガイド14に向かって放出する。採血管ガイド14に向かって放出された採血管BCは、採血管ガイド14を転がり落ちて取出トレイ15に落下し、取出トレイ15に排出される。 The label wrapping unit 13 attaches the label printed by the print head 23-1 while winding it around the blood collection tube BC, and discharges the blood collection tube BC after the label is attached toward the blood collection tube guide 14. The blood collection tube BC released toward the blood collection tube guide 14 rolls down the blood collection tube guide 14 and falls on the take-out tray 15, and is discharged to the take-out tray 15.

<手貼印字装置が使用される場合の採血管準備装置の動作>
ラベルカッター16は、印字ヘッド23−2による印字後のラベルを1枚ずつカットする。カット後のラベルは、手貼用のラベルとして取出トレイ15に排出される。
<Operation of blood collection tube preparation device when hand-pasted printing device is used>
The label cutter 16 cuts the labels printed by the print head 23-2 one by one. The cut label is discharged to the take-out tray 15 as a label for manual sticking.

<ラベル印字装置の構成>
上記のように、ラベル印字装置2において、自動印字装置と手貼印字装置とは図4に示すような共通な構成を有するため、以下では、自動印字装置と手貼印字装置とを「ラベル印字装置2」と総称して説明する。
<Structure of label printing device>
As described above, in the label printing device 2, the automatic printing device and the hand-pasted printing device have a common configuration as shown in FIG. 4, and therefore, in the following, the automatic printing device and the hand-pasted printing device are referred to as “label printing”. It will be generically referred to as “device 2”.

図6は、実施例1のラベル印字装置の構成例を示す機能ブロック図である。図6において、ラベル印字装置2は、連続用紙搬送部21と、光センサ22と、印字ヘッド23と、制御部24と、記憶部25とを有する。光センサ22は、投光器22Tと受光器22Rとを有する。 FIG. 6 is a functional block diagram showing a configuration example of the label printing device of the first embodiment. In FIG. 6, the label printing device 2 includes a continuous paper transport unit 21, an optical sensor 22, a print head 23, a control unit 24, and a storage unit 25. The optical sensor 22 has a floodlight 22T and a light receiver 22R.

自動印字装置は、ローラRO1〜RO7(図3)を回転させるモータMT1(図示省略)を有する。自動印字装置においては、ローラRO1〜RO7及びモータMT1が連続用紙搬送部21に相当する。自動印字装置では、ローラRO1にセットされた連続用紙CP1は、ローラRO2、光センサ22−1、印字ヘッド23−1、ローラRO3を通って+X方向へ搬送され、ローラRO4,RO5の位置(ラベル巻付部13の位置)で搬送方向を−X方向に反転され、ローラRO6を通り、ローラRO7に巻き付けられて回収される。よって、ローラRO1,RO3,RO6は左回りに回転し、ローラRO2,RO4,RO5,RO7は右回りに回転する。ローラRO7に巻き付けられて回収されるのは、ラベルLBが剥離された後の台紙MUのみである。制御部24がモータMT1を駆動させることによりローラRO1〜RO7が回転して連続用紙CP1が搬送される。 The automatic printing device has a motor MT1 (not shown) that rotates rollers RO1 to RO7 (FIG. 3). In the automatic printing apparatus, the rollers RO1 to RO7 and the motor MT1 correspond to the continuous paper transport unit 21. In the automatic printing device, the continuous paper CP1 set in the roller RO1 is conveyed in the + X direction through the roller RO2, the optical sensor 22-1, the print head 23-1, and the roller RO3, and the positions of the rollers RO4 and RO5 (labels). The transport direction is reversed in the −X direction at the position of the winding portion 13), passes through the roller RO6, is wound around the roller RO7, and is collected. Therefore, the rollers RO1, RO3, RO6 rotate counterclockwise, and the rollers RO2, RO4, RO5, RO7 rotate clockwise. Only the mount MU after the label LB has been peeled off is wound around the roller RO7 and collected. When the control unit 24 drives the motor MT1, the rollers RO1 to RO7 rotate and the continuous paper CP1 is conveyed.

手貼印字装置は、ローラRO8〜RO10(図3)を回転させるモータMT2(図示省略)を有する。手貼印字装置においては、ローラRO8〜RO10及びモータMT2が連続用紙搬送部21に相当する。手貼印字装置では、ローラRO8にセットされた連続用紙CP2は、ローラRO9、光センサ22−2、印字ヘッド23−2、ローラRO10を通って取出トレイ15まで+X方向へ搬送される。よって、ローラRO8,RO10は左回りに回転し、ローラRO9は右回りに回転する。制御部24がモータMT2を駆動させることによりローラRO8〜RO10が回転して連続用紙CP2が搬送される。 The hand-pasted printing device has a motor MT2 (not shown) that rotates rollers RO8 to RO10 (FIG. 3). In the hand-pasted printing device, the rollers RO8 to RO10 and the motor MT2 correspond to the continuous paper transport section 21. In the hand-pasted printing device, the continuous paper CP2 set in the roller RO8 is conveyed to the take-out tray 15 in the + X direction through the roller RO9, the optical sensor 22-2, the print head 23-2, and the roller RO10. Therefore, the rollers RO8 and RO10 rotate counterclockwise, and the rollers RO9 rotate clockwise. When the control unit 24 drives the motor MT2, the rollers RO8 to RO10 rotate and the continuous paper CP2 is conveyed.

以下では、モータMT1,MT2を「モータMT」と総称することがある。 Hereinafter, the motors MT1 and MT2 may be collectively referred to as "motor MT".

<ラベル印字装置の処理・動作>
図7,12は、実施例1のラベル印字装置の処理例の説明に供するフローチャートであり、図8〜11,13は、実施例1のラベル印字装置の動作例の説明に供する図である。図7,8〜11には、ラベル印字装置2に新たな連続用紙CPがセットされるとき(つまり、連続用紙CPの交換時)の初期設定に係る処理・動作を示し、図12,13には、ラベルLBの印字時の処理・動作を示す。以下では、連続用紙CPの交換時の処理・動作と、ラベルLBの印字時の処理・動作とに分けて説明する。
<Processing and operation of label printing device>
7 and 12 are flowcharts for explaining a processing example of the label printing device of the first embodiment, and FIGS. 8 to 11 and 13 are diagrams for explaining an operation example of the label printing device of the first embodiment. 7 and 8 to 11 show the processing and operation related to the initial setting when a new continuous paper CP is set in the label printing device 2 (that is, when the continuous paper CP is replaced), and FIGS. Indicates the processing / operation at the time of printing the label LB. Hereinafter, the processing / operation at the time of replacing the continuous paper CP and the processing / operation at the time of printing the label LB will be described separately.

<連続用紙CPの交換時の処理・動作(図7,8〜11)>
ここで、図9,10,11に示すグラフG1,G2,G3において、「ラベル」と表記された箇所は、投光器22Tと受光器22Rとの間にラベル部分が存在するときの受光器22Rでの受光量を示し、「台紙」と表記された箇所は、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光器22Rでの受光量を示し、「連続用紙無し」と表記された箇所は、投光器22Tと受光器22Rとの間に連続用紙CPが存在しないときの受光器22Rでの受光量を示す。また、制御部24は、投光器22Tの投光量を最小レベル0から最大レベル255まで設定可能であり、投光器22Tと受光器22Rとの間に連続用紙CPが存在しない状態では、投光器22Tの投光量がレベル0のときは受光器22Rでの受光量もレベル0となり、投光器22Tの投光量がレベル255のときは受光器22Rでの受光量もレベル255となる。また、受光器22Rでの受光量のレベルに比例して受光器22Rの出力電圧が大きくなるため、図9,10,11の縦軸において、受光器22Rの出力電圧0V〜5Vは、受光器22Rでの受光量のレベル0〜255に相当する。
<Processing and operation when replacing continuous paper CP (Figs. 7, 8 to 11)>
Here, in the graphs G1, G2, and G3 shown in FIGS. 9, 10 and 11, the portion described as "label" is the receiver 22R when the label portion exists between the floodlight 22T and the receiver 22R. The part marked "mount" indicates the amount of light received by the receiver 22R when the mount portion exists between the floodlight 22T and the receiver 22R, and is described as "no continuous paper". The marked portion indicates the amount of light received by the receiver 22R when the continuous paper CP does not exist between the floodlight 22T and the receiver 22R. Further, the control unit 24 can set the amount of light projected by the floodlight 22T from the minimum level 0 to the maximum level 255, and the amount of light projected by the floodlight 22T when there is no continuous paper CP between the floodlight 22T and the receiver 22R. When is level 0, the amount of light received by the receiver 22R is also level 0, and when the amount of light projected by the projector 22T is level 255, the amount of light received by the receiver 22R is also level 255. Further, since the output voltage of the light receiver 22R increases in proportion to the level of the amount of light received by the light receiver 22R, the output voltage 0V to 5V of the light receiver 22R on the vertical axis of FIGS. It corresponds to the level 0 to 255 of the light receiving amount at 22R.

図7において、ステップS101では、制御部24は、投光器22Tと受光器22Rとの間に連続用紙CPが存在しない状態で、投光器22Tの投光量を投光量FL1に設定する。ステップS101では、制御部24は、受光器22Rでの受光量が図9に示すグラフG1のように変化する投光量を投光量FL1として設定する。すなわち、ステップS101では、制御部24は、連続用紙CPの種類にかかわらず、投光器22Tと受光器22Rとの間に連続用紙CPが存在しないときの受光器22Rでの受光量が閾値TH1以上となり、かつ、投光器22Tと受光器22Rとの間に連続用紙CPが存在するときの受光器22Rでの受光量が閾値TH1未満となるような、比較的小さい投光量を投光量FL1として設定する。閾値TH1は、受光器22Rでの受光量の閾値であり、投光器22Tと受光器22Rとの間に連続用紙CPが存在する否かを判断するために用いられる閾値である。閾値TH1は記憶部25に予め記憶されており、例えば、3Vに設定される。制御部24は、受光器22Rでの受光量が閾値TH1未満となるときは投光器22Tと受光器22Rとの間に連続用紙CPが存在する(連続用紙有り)と判断し、受光器22Rでの受光量が閾値TH1以上となるときは投光器22Tと受光器22Rとの間に連続用紙CPが存在しない(連続用紙無し)と判断する。よって、制御部24は、受光器22Rでの受光量がグラフG1のように変化する投光量FL1を設定することで、ラベル印字装置2にセットされる連続用紙CPが如何なる種類のものであっても、連続用紙CPの種類にかかわらず、閾値TH1に基づいて、投光器22Tと受光器22Rとの間に連続用紙CPが存在するか否かを判断することができる。但し、制御部24は、受光器22Rでの受光量がグラフG1のように変化する投光量FL1を設定したときは、投光器22Tと受光器22Rとの間に存在するのが台紙部分またはラベル部分の何れであるかを判断することは困難になる。つまり、受光器22Rでの受光量がグラフG1のように変化する投光量FL1は、投光器22Tと受光器22Rとの間に連続用紙CPが存在するか否かを確実に判断可能とする投光量である。 In FIG. 7, in step S101, the control unit 24 sets the light projection amount of the floodlight 22T to the light projection amount FL1 in a state where the continuous paper CP does not exist between the floodlight 22T and the light receiver 22R. In step S101, the control unit 24 sets the light projection amount in which the light reception amount at the light receiver 22R changes as shown in the graph G1 shown in FIG. 9 as the light projection amount FL1. That is, in step S101, regardless of the type of continuous paper CP, the control unit 24 sets the amount of light received by the receiver 22R to the threshold value TH1 or more when the continuous paper CP does not exist between the projector 22T and the receiver 22R. In addition, a relatively small amount of light projected is set as the amount of light projected FL1 so that the amount of light received by the light receiver 22R when the continuous paper CP exists between the light projector 22T and the light receiver 22R is less than the threshold value TH1. The threshold value TH1 is a threshold value of the amount of light received by the light receiver 22R, and is a threshold value used for determining whether or not a continuous paper CP exists between the light projector 22T and the light receiver 22R. The threshold value TH1 is stored in the storage unit 25 in advance, and is set to, for example, 3V. When the amount of light received by the receiver 22R is less than the threshold value TH1, the control unit 24 determines that a continuous paper CP exists between the floodlight 22T and the receiver 22R (there is continuous paper), and the receiver 22R determines that there is a continuous paper CP. When the amount of received light exceeds the threshold value TH1, it is determined that there is no continuous paper CP between the floodlight 22T and the light receiver 22R (no continuous paper). Therefore, the control unit 24 sets the light projection amount FL1 in which the light receiving amount in the light receiving receiver 22R changes as shown in the graph G1, so that the continuous paper CP set in the label printing device 2 can be of any kind. Also, regardless of the type of continuous paper CP, it is possible to determine whether or not the continuous paper CP exists between the projector 22T and the receiver 22R based on the threshold value TH1. However, when the control unit 24 sets the light projection amount FL1 in which the light reception amount at the light receiver 22R changes as shown in the graph G1, the mount portion or the label portion exists between the light projector 22T and the light receiver 22R. It becomes difficult to determine which of these is. That is, the light emitting amount FL1 in which the light receiving amount in the light receiving device 22R changes as shown in the graph G1 makes it possible to reliably determine whether or not the continuous paper CP exists between the light receiving device 22T and the light receiving device 22R. Is.

投光量が投光量FL1に設定された状態で、図8の時刻t11に示すように、オペレータは、ラベル印字装置2にセットされた連続用紙CPの先端を光センサ22に向かって+X方向(連続用紙CPの搬送方向)に手で挿入していく。連続用紙CPと光センサ22との位置関係が時刻t11の状態であるときは、投光量FL1に対する受光器22Rでの受光量は閾値TH1以上となっている(図9)。 With the amount of light projected set to the amount of light projected FL1, as shown at time t11 in FIG. 8, the operator moves the tip of the continuous paper CP set in the label printing device 2 toward the optical sensor 22 in the + X direction (continuously). Insert it by hand in the transport direction of the paper CP). When the positional relationship between the continuous paper CP and the optical sensor 22 is at time t11, the amount of light received by the receiver 22R with respect to the amount of projected light FL1 is equal to or greater than the threshold value TH1 (FIG. 9).

図7に戻り、次いでステップS103では、制御部24は、受光器22Rでの受光量を測定し、測定した受光量と閾値TH1とに基づいて、受光量が「連続用紙無し」の状態から「連続用紙有り」の状態(図9)に変化したか否かを判断する。制御部24は、受光量が「連続用紙無し」の状態から「連続用紙有り」の状態に変化するまで、ステップS103の処理を繰り返す(ステップS103:No)。そして、制御部103は、閾値TH1以上にあった受光量が減少して閾値TH1未満になったときに、連続用紙CPが「無し」から「有り」になったと判断する(ステップS103:Yes)。よって、制御部103により連続用紙CPが「無し」から「有り」になったと判断される時点では、連続用紙CPと光センサ22との位置関係は図8の時刻t12の状態にあり、連続用紙CPの先端が投光器22Tと受光器22Rとの間に位置する。 Returning to FIG. 7, in step S103, the control unit 24 measures the amount of light received by the receiver 22R, and based on the measured amount of light received and the threshold value TH1, the amount of light received is changed from “no continuous paper” to “no continuous paper”. It is determined whether or not the state has changed to the state of "with continuous paper" (Fig. 9). The control unit 24 repeats the process of step S103 until the amount of received light changes from the state of "without continuous paper" to the state of "with continuous paper" (step S103: No). Then, the control unit 103 determines that the continuous paper CP has changed from "none" to "yes" when the amount of received light that was above the threshold TH1 decreases and becomes less than the threshold TH1 (step S103: Yes). .. Therefore, when the control unit 103 determines that the continuous paper CP has changed from "none" to "yes", the positional relationship between the continuous paper CP and the optical sensor 22 is at time t12 in FIG. The tip of the CP is located between the floodlight 22T and the receiver 22R.

図7に戻り、制御部24は、連続用紙CPが「無し」から「有り」になったと判断すると(ステップS103:Yes)、ステップS105において、モータMTの駆動を開始して連続用紙CPの搬送を開始する。 Returning to FIG. 7, when the control unit 24 determines that the continuous paper CP has changed from “none” to “yes” (step S103: Yes), in step S105, the motor MT is started to be driven and the continuous paper CP is conveyed. To start.

連続用紙CPの搬送開始後、次いでステップS107では、制御部24は、図8の時刻t13に示すように、連続用紙CPが「無し」から「有り」になったと判断した時刻t12から、所定量L1だけ連続用紙CPを搬送する。そして、制御部24は、連続用紙CPを所定量L1だけ搬送したら、ステップS109において、連続用紙CPの搬送を図8の時刻t13に示す状態で一旦停止する。 After the start of conveying the continuous paper CP, then in step S107, as shown at time t13 in FIG. 8, the control unit 24 determines that the continuous paper CP has changed from “none” to “yes”, and the predetermined amount is determined from time t12. The continuous paper CP is conveyed only by L1. Then, after transporting the continuous paper CP by a predetermined amount L1, the control unit 24 temporarily stops the transport of the continuous paper CP in the state shown at time t13 in FIG. 8 in step S109.

次いで、ステップS111では、制御部24は、投光器22Tの投光量を、ステップS101で設定した投光量FL1よりも大きい投光量FL2に設定する。つまり、制御部24は、連続用紙CPが投光器22Tと受光器22Rとの間に存在していることを、ステップS101で設定した投光量FL1を用いて検出するときに(ステップS103:Yes)、投光器22Tの投光量を投光量FL1から投光量FL2(FL1<FL2)に変化させる。ステップS111では、制御部24は、受光器22Rでの受光量が図10に示すグラフG2のように変化する投光量を投光量FL2として設定する。すなわち、ステップS111では、制御部24は、連続用紙CPの種類にかかわらず、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光器22Rでの受光量が、閾値TH1(図9)より小さい閾値TH2以上となり、かつ、投光器22Tと受光器22Rとの間にラベル部分が存在するときの受光器22Rでの受光量が閾値TH2未満となるような、比較的大きい投光量を投光量FL2として設定する。閾値TH2は、受光器22Rでの受光量の閾値であり、投光器22Tと受光器22Rとの間に台紙部分またはラベル部分の何れが存在するかを判断するために用いられる閾値である。閾値TH2は記憶部25に予め記憶されており、例えば、1.3Vに設定される。制御部24は、受光器22Rでの受光量が閾値TH2未満となるときは投光器22Tと受光器22Rとの間にラベル部分が存在する(ラベル有り)と判断し、受光器22Rでの受光量が閾値TH2以上となるときは投光器22Tと受光器22Rとの間に台紙部分が存在する(ラベル無し)と判断する。よって、制御部24は、受光器22Rでの受光量がグラフG2のように変化する投光量FL2を設定することで、ラベル印字装置2にセットされる連続用紙CPが如何なる種類のものであっても、連続用紙CPの種類にかかわらず、閾値TH2に基づいて、投光器22Tと受光器22Rとの間に存在するのが、ラベル部分または台紙部分の何れであるかを判断することができる。但し、制御部24は、受光器22Rでの受光量がグラフG2のように変化する投光量FL2を設定したときは、投光器22Tと受光器22Rとの間に連続用紙CPが存在するか否かを判断することは困難になる。つまり、受光器22Rでの受光量がグラフG2のように変化する投光量FL2は、投光器22Tと受光器22Rとの間に存在する部分が、ラベル部分または台紙部分の何れであるかを確実に判断可能とする投光量である。 Next, in step S111, the control unit 24 sets the amount of light projected by the floodlight 22T to the amount of light projected FL2, which is larger than the amount of light projected FL1 set in step S101. That is, when the control unit 24 detects that the continuous paper CP exists between the light projector 22T and the light receiver 22R by using the light projection amount FL1 set in step S101 (step S103: Yes). The amount of light projected by the floodlight 22T is changed from the amount of light projected FL1 to the amount of light projected FL2 (FL1 <FL2). In step S111, the control unit 24 sets the light projection amount in which the light reception amount at the light receiver 22R changes as shown in the graph G2 shown in FIG. 10 as the light projection amount FL2. That is, in step S111, the control unit 24 sets the threshold value TH1 (FIG. 9) A relatively large amount of light projected so that the threshold value TH2 or more is smaller and the amount of light received by the receiver 22R is less than the threshold value TH2 when the label portion exists between the projector 22T and the receiver 22R. It is set as the floodlight amount FL2. The threshold value TH2 is a threshold value of the amount of light received by the light receiver 22R, and is a threshold value used for determining whether a mount portion or a label portion exists between the light projector 22T and the light receiver 22R. The threshold value TH2 is stored in the storage unit 25 in advance, and is set to, for example, 1.3V. When the amount of light received by the receiver 22R is less than the threshold value TH2, the control unit 24 determines that there is a label portion between the projector 22T and the receiver 22R (with a label), and the amount of light received by the receiver 22R. When is equal to or higher than the threshold value TH2, it is determined that a mount portion exists between the projector 22T and the receiver 22R (no label). Therefore, the control unit 24 sets the light projection amount FL2 in which the light receiving amount in the light receiving device 22R changes as shown in the graph G2, so that the continuous paper CP set in the label printing device 2 can be of any kind. Also, regardless of the type of continuous paper CP, it is possible to determine whether the label portion or the mount portion exists between the projector 22T and the receiver 22R based on the threshold value TH2. However, when the control unit 24 sets the light projection amount FL2 in which the light reception amount at the light receiver 22R changes as shown in the graph G2, whether or not there is a continuous paper CP between the light projector 22T and the light receiver 22R. It becomes difficult to judge. That is, the light emitting amount FL2 in which the light receiving amount in the light receiving device 22R changes as shown in the graph G2 ensures that the portion existing between the light receiving device 22T and the light receiving device 22R is a label portion or a mount portion. It is the amount of light that can be judged.

図7に戻り、制御部24は、投光器22Tの投光量を投光量FL2に設定後、ステップS113において、連続用紙CPの搬送を再開し、ステップS115において、連続用紙CPを搬送する。 Returning to FIG. 7, the control unit 24 resumes the transport of the continuous paper CP in step S113 after setting the floodlight amount of the floodlight 22T to the floodlight amount FL2, and transports the continuous paper CP in step S115.

次いで、ステップS117では、制御部24は、受光器22Rでの受光量を測定し、測定した受光量と閾値TH2とに基づいて、受光量が「ラベル有り」の状態から「ラベル無し」の状態(図10)に変化したか否か、つまり、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化したか否かを判断する。制御部24は、受光量が「ラベル有り」の状態から「ラベル無し」の状態に変化するまで、ステップS115,S117の処理を繰り返す(ステップS117:No)。そして、制御部103は、閾値TH2未満にあった受光量が増加して閾値TH2以上となったときに、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化したと判断し(ステップS117:Yes)、ステップS119において、連続用紙CPの搬送を停止する。よって、ステップS119において連続用紙CPの搬送が停止された時点では、連続用紙CPと光センサ22との位置関係は図8の時刻t14の状態にあり、台紙部分が投光器22Tと受光器22Rとの間に位置する。 Next, in step S117, the control unit 24 measures the amount of light received by the receiver 22R, and based on the measured amount of light received and the threshold value TH2, the amount of light received is changed from a state of "with label" to a state of "without label". It is determined whether or not the change is shown in FIG. 10, that is, whether or not the portion existing between the floodlight 22T and the receiver 22R has changed from the label portion to the mount portion. The control unit 24 repeats the processes of steps S115 and S117 until the amount of received light changes from the "labeled" state to the "unlabeled" state (step S117: No). Then, when the amount of received light received below the threshold value TH2 increases and becomes equal to or higher than the threshold value TH2, the control unit 103 changes the portion existing between the projector 22T and the receiver 22R from the label portion to the mount portion. (Step S117: Yes), and in step S119, the transfer of the continuous paper CP is stopped. Therefore, when the transport of the continuous paper CP is stopped in step S119, the positional relationship between the continuous paper CP and the optical sensor 22 is in the state of time t14 in FIG. Located in between.

次いで、ステップS121では、制御部24は、投光器22Tと受光器22Rとの間に台紙部分が存在する状態で(図8の時刻t14の状態で)、投光器22Tの投光量を、ステップS101で設定した投光量FL1よりも大きく、かつ、ステップS111で設定した投光量FL2よりも小さい投光量FL3に設定する。ステップS121では、制御部24は、受光器22Rでの受光量が図11に示すグラフG3のように変化する投光量を投光量、例えば、投光器22Tと受光器22Rとの間に台紙部分が存在する状態での受光器24Rの出力電圧が2.5Vになるような投光量を投光量FL3として設定する。投光器22Tの投光量が投光量FL3に設定されることで、投光器22Tと受光器22Rとの間に連続用紙CPが存在しないときの受光器22Rでの受光量は閾値TH1以上となり、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光器22Rでの受光量は閾値TH2以上かつ閾値TH1未満となり、投光器22Tと受光器22Rとの間にラベル部分が存在するときの受光器22Rでの受光量は閾値TH2未満となる。つまり、投光器22Tの投光量が投光量FL3に設定されることにより、制御部24は、(1)投光器22Tと受光器22Rとの間に連続用紙CPが存在するか否かの検出、及び、(2)投光器22Tと受光器22Rとの間に存在する部分が台紙部分またはラベル部分の何れであるかの検出の双方の検出が可能になる。 Next, in step S121, the control unit 24 sets the amount of light projected by the floodlight 22T in step S101 in a state where the mount portion exists between the floodlight 22T and the receiver 22R (at time t14 in FIG. 8). The light projection amount FL3 is set to be larger than the light projection amount FL1 and smaller than the light projection amount FL2 set in step S111. In step S121, the control unit 24 sets the amount of light emitted by the receiver 22R to change as shown in the graph G3 shown in FIG. 11, for example, a mount portion exists between the projector 22T and the receiver 22R. The amount of light projected so that the output voltage of the receiver 24R in this state becomes 2.5 V is set as the amount of light projected FL3. When the amount of light projected by the floodlight 22T is set to the amount of floodlight FL3, the amount of light received by the receiver 22R when there is no continuous paper CP between the floodlight 22T and the receiver 22R becomes a threshold value TH1 or more, and the floodlight 22T and the receiver 22T The amount of light received by the receiver 22R when the mount portion exists between the receiver 22R is equal to or more than the threshold TH2 and less than the threshold TH1, and the receiver when the label portion exists between the projector 22T and the receiver 22R. The amount of light received at 22R is less than the threshold TH2. That is, by setting the amount of light projected by the floodlight 22T to the amount of light projected FL3, the control unit 24 (1) detects whether or not there is a continuous paper CP between the floodlight 22T and the receiver 22R, and (2) It is possible to detect both the mount portion and the label portion of the portion existing between the floodlight 22T and the receiver 22R.

例えば、制御部24は、以下のようにして投光量FL3を設定する。すなわち、制御部24は、第一の処理として、投光量候補LOの初期値を最小レベル0に設定する一方で、投光量候補HIの初期値を最大レベル255に設定する。次いで、制御部24は、第二の処理として、投光器22Tでの投光量を、投光量候補LOと投光量候補HIとの平均値に設定して、受光器22Rの出力電圧を測定する。次いで、制御部24は、第三の処理として、測定した出力電圧が2.5V未満のときは投光量候補LOを上記第二の処理で設定した平均値で更新する一方で、測定した出力電圧が2.5V以上のときは投光量候補HIを上記第二の処理で設定した平均値で更新する。そして、制御部24は、上記の第二の処理と第三の処理とを繰り返し、投光量候補LOと投光量候補HIとの差の絶対値が1以下となったときの投光量候補HIを投光量FL3として設定する。 For example, the control unit 24 sets the light projection amount FL3 as follows. That is, as the first process, the control unit 24 sets the initial value of the light projection amount candidate LO to the minimum level 0, while the initial value of the light projection amount candidate HI is set to the maximum level 255. Next, as a second process, the control unit 24 sets the amount of light projected by the floodlight 22T to the average value of the floodlight candidate LO and the floodlight candidate HI, and measures the output voltage of the receiver 22R. Next, as a third process, when the measured output voltage is less than 2.5 V, the control unit 24 updates the floodlight candidate LO with the average value set in the second process, while the measured output voltage. When is 2.5 V or more, the light projection amount candidate HI is updated with the average value set in the second process. Then, the control unit 24 repeats the above-mentioned second process and the third process, and determines the light emission amount candidate HI when the absolute value of the difference between the light emission amount candidate LO and the light emission amount candidate HI becomes 1 or less. The amount of light projected is set to FL3.

<ラベルLBの印字時の処理・動作(図12,13)>
ラベルLBの印字時には、制御部24は、ステップS121(図7)において設定した投光量FL3を用いてラベルLBの印字を行う。つまり、図12に示す処理が行われる際には、投光器22Tの投光量は投光量FL3に設定されている。
<Processing and operation when printing label LB (Figs. 12 and 13)>
At the time of printing the label LB, the control unit 24 prints the label LB using the light projection amount FL3 set in step S121 (FIG. 7). That is, when the process shown in FIG. 12 is performed, the amount of light projected by the floodlight 22T is set to the amount of light projected FL3.

図12において、ステップS201では、制御部24は、カウンターnを0にリセットする。 In FIG. 12, in step S201, the control unit 24 resets the counter n to 0.

次いで、制御部24は、ステップS203において、連続用紙CPの搬送を開始し、ステップS205において、連続用紙CPを搬送する。 Next, the control unit 24 starts conveying the continuous paper CP in step S203, and conveys the continuous paper CP in step S205.

次いで、ステップS207では、制御部24は、受光器22Rでの受光量を測定し、測定した受光量と閾値TH1(図11)とに基づいて、連続用紙CPが「有り」から「無し」になったか否かを判断する。制御部103は、閾値TH1未満にあった受光量が増加して閾値TH1以上となったときに、連続用紙CPの用紙切れが発生したと判断し(ステップS207:Yes)、ステップS209において、連続用紙CPの用紙切れが発生したことをオペレータに通知するエラーメッセージを出力する。制御部24から出力されたエラーメッセージは、例えば、採血管準備装置1が有するタッチパネル(図示省略)に表示される。エラーメッセージの出力により、制御部24は、ラベルLBの印字処理を終了する。 Next, in step S207, the control unit 24 measures the amount of light received by the receiver 22R, and the continuous paper CP is changed from “yes” to “no” based on the measured amount of light received and the threshold value TH1 (FIG. 11). Determine if it has become. The control unit 103 determines that the continuous paper CP has run out of paper when the amount of received light received below the threshold value TH1 increases and becomes equal to or higher than the threshold value TH1 (step S207: Yes), and continuously in step S209. Outputs an error message notifying the operator that the paper CP has run out of paper. The error message output from the control unit 24 is displayed on, for example, a touch panel (not shown) included in the blood collection tube preparation device 1. Upon output of the error message, the control unit 24 ends the printing process of the label LB.

一方で、受光器22Rでの受光量が閾値TH1未満に維持されているときは(ステップS207:No)、ステップS211において、制御部24は、受光器22Rでの受光量を測定し、測定した受光量と閾値TH2(図11)とに基づいて、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化したか否かを判断する。制御部24は、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化するまで、ステップS205,S207,S211の処理を繰り返す(ステップS211:No)。そして、制御部103は、閾値TH2未満にあった受光量が増加して閾値TH2以上となったときに、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化したと判断し(ステップS211:Yes)、ステップS213において、連続用紙CPの搬送を一旦停止する。よって、ステップS213において連続用紙CPの搬送が一旦停止された時点では、連続用紙CPと光センサ22との位置関係は図13に示す状態にあり、台紙部分が投光器22Tと受光器22Rとの間に位置する。 On the other hand, when the amount of light received by the receiver 22R is maintained below the threshold value TH1 (step S207: No), in step S211 the control unit 24 measures and measures the amount of light received by the receiver 22R. Based on the received light amount and the threshold value TH2 (FIG. 11), it is determined whether or not the portion existing between the floodlight 22T and the receiver 22R has changed from the label portion to the mount portion. The control unit 24 repeats the processes of steps S205, S207, and S211 until the portion existing between the floodlight 22T and the receiver 22R changes from the label portion to the mount portion (step S211: No). Then, when the amount of received light received below the threshold value TH2 increases and becomes equal to or higher than the threshold value TH2, the control unit 103 changes the portion existing between the projector 22T and the receiver 22R from the label portion to the mount portion. (Step S211: Yes), and in step S213, the continuous paper CP is temporarily stopped. Therefore, when the transport of the continuous paper CP is temporarily stopped in step S213, the positional relationship between the continuous paper CP and the optical sensor 22 is in the state shown in FIG. 13, and the mount portion is between the floodlight 22T and the photodetector 22R. Located in.

また、図13に示すように、ラベル印字装置2では、光センサ22から所定の距離D1の位置に印字ヘッド23が配置され、距離D1は、例えばラベルLBの横幅W以下であり、好ましくは、距離D1はラベルLBの横幅Wと同一である。例えば距離D1が横幅Wと同一であるときは、ステップS213において連続用紙CPの搬送が一旦停止された時点では、図13に示すように、ラベルLBの先端が印字ヘッド23の配置位置に一致する。 Further, as shown in FIG. 13, in the label printing device 2, the print head 23 is arranged at a position of a predetermined distance D1 from the optical sensor 22, and the distance D1 is, for example, the width W or less of the label LB, preferably. The distance D1 is the same as the width W of the label LB. For example, when the distance D1 is the same as the width W, the tip of the label LB coincides with the arrangement position of the print head 23 as shown in FIG. 13 when the continuous paper CP is temporarily stopped in step S213. ..

次いで、ステップS215では、制御部24は、印字ヘッド23によるラベルLBへの印字を開始する。 Next, in step S215, the control unit 24 starts printing on the label LB by the print head 23.

印字終了後、ステップS217では、制御部24は、カウンターnをインクリメントする。 After the printing is completed, in step S217, the control unit 24 increments the counter n.

次いで、ステップS219では、制御部24は、カウンターnが、オペレータにより指定された印字枚数(以下では「指定印字枚数」と呼ぶことがある)Nに達したか否かを判断する。例えば、オペレータは、採血管準備装置1が有するタッチパネル(図示省略)を用いて、ラベルLBの印字枚数Nを指定することができる。 Next, in step S219, the control unit 24 determines whether or not the counter n has reached the number of prints (hereinafter sometimes referred to as "designated prints") N designated by the operator. For example, the operator can specify the number of printed sheets N of the label LB by using the touch panel (not shown) included in the blood collection tube preparation device 1.

カウンターnが指定印字枚数Nに達した場合は(ステップS219:Yes)、制御部24は、ラベルLBの印字処理を終了する。一方で、カウンターnが指定印字枚数N未満である場合は(ステップS219:No)、ステップS221において、制御部24は、連続用紙CPの搬送を再開する。連続用紙CPの搬送の再開後、処理はステップS205に戻る。 When the counter n reaches the designated number of prints N (step S219: Yes), the control unit 24 ends the label LB printing process. On the other hand, when the counter n is less than the designated number of prints N (step S219: No), in step S221, the control unit 24 restarts the transfer of the continuous paper CP. After resuming the transfer of the continuous paper CP, the process returns to step S205.

以上のように、実施例1では、ラベル印字装置2は、連続用紙搬送部21と、印字ヘッド23と、光センサ22と、制御部24とを有する。連続用紙搬送部21は、連続用紙CPを搬送する。連続用紙CPは、長尺状の台紙MUと、台紙MUに一定の間隔IVで貼付された複数のラベルLBとから形成され、台紙部分とラベル部分とを有する。印字ヘッド23は、複数のラベルLBの各々に印字を行う。光センサ22は、光を投光する投光器22Tと、投光器22Tから投光された光を受光する受光器22Rとを有する。制御部24は、投光器22Tと受光器22Rとの間に連続用紙CPが存在しない状態で、投光器22Tの投光量を投光量FL1に設定する。また、制御部24は、投光量FL1を用いて連続用紙CPが投光器22Tと受光器22Rとの間に存在することを検出するときに、投光器22Tの投光量を、投光量FL1より大きい投光量FL2に設定する。また、制御部24は、投光量FL2を用いて台紙部分が投光器22Tと受光器22Rとの間に存在することを検出するときに、投光器22Tの投光量を、投光量FL1より大きく、かつ、投光量FL2より小さい投光量FL3に設定する。 As described above, in the first embodiment, the label printing device 2 includes a continuous paper conveying unit 21, a printing head 23, an optical sensor 22, and a control unit 24. The continuous paper transport unit 21 transports the continuous paper CP. The continuous paper CP is formed of a long mount MU and a plurality of labels LB affixed to the mount MU at regular intervals IV, and has a mount portion and a label portion. The print head 23 prints on each of the plurality of labels LB. The optical sensor 22 includes a floodlight 22T that projects light and a light receiver 22R that receives the light projected from the floodlight 22T. The control unit 24 sets the amount of light projected by the floodlight 22T to the amount of light projected FL1 in a state where the continuous paper CP does not exist between the projector 22T and the receiver 22R. Further, when the control unit 24 detects that the continuous paper CP exists between the floodlight 22T and the light receiver 22R by using the light projection amount FL1, the light projection amount of the floodlight 22T is set to be larger than the light projection amount FL1. Set to FL2. Further, when the control unit 24 detects that the mount portion exists between the light projector 22T and the light receiver 22R by using the light projection amount FL2, the light projection amount of the floodlight 22T is larger than that of the light projection amount FL1 and The amount of light projected FL3 is set to be smaller than the amount of light projected FL2.

こうすることで、受光器22Rでの受光量に対する閾値が固定されている場合に、連続用紙CPの種類に応じて、投光器22Tの投光量を適切な投光量FL3に自動的に調節することができため、連続用紙CPの交換時のオペレータの手間を低減することができる。 By doing so, when the threshold value for the amount of light received by the receiver 22R is fixed, the amount of light projected by the projector 22T can be automatically adjusted to an appropriate amount FL3 according to the type of continuous paper CP. Therefore, it is possible to reduce the time and effort of the operator when exchanging the continuous paper CP.

また実施例1では、制御部24は、連続用紙CPの種類にかかわらず、投光器22Tと受光器22Rとの間に連続用紙CPが存在しないときの受光器22Rでの受光量が閾値TH1以上となり、かつ、投光器22Tと受光器22Rとの間に連続用紙CPが存在するときの受光器22Rでの受光量が閾値TH1未満となる投光量を投光量FL1として設定する。 Further, in the first embodiment, regardless of the type of the continuous paper CP, the control unit 24 sets the amount of light received by the receiver 22R to the threshold value TH1 or more when the continuous paper CP does not exist between the projector 22T and the receiver 22R. Moreover, when the continuous paper CP is present between the projector 22T and the receiver 22R, the amount of light received by the receiver 22R is set to be less than the threshold value TH1 as the amount of light projected FL1.

こうすることで、投光器22Tの投光量を最終的に適切な投光量FL3に調節する過程において、投光器22Tと受光器22Rとの間に連続用紙CPが存在するか否かを確実に判断することができる。 By doing so, in the process of finally adjusting the floodlight amount of the floodlight 22T to an appropriate floodlight amount FL3, it is possible to reliably determine whether or not there is a continuous paper CP between the floodlight 22T and the receiver 22R. Can be done.

また実施例1では、制御部24は、連続用紙CPの種類にかかわらず、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光器22Rでの受光量が閾値TH2(TH2<TH1)以上となり、かつ、投光器22Tと受光器22Rとの間にラベル部分が存在するときの受光器22Rでの受光量が閾値TH2未満となる投光量を投光量FL2として設定する。 Further, in the first embodiment, regardless of the type of continuous paper CP, the control unit 24 has a threshold value TH2 (TH2 < The amount of light projected when the amount of light received by the light receiver 22R is less than the threshold value TH2 when TH1) or more and the label portion exists between the light projector 22T and the light receiver 22R is set as the light projecting amount FL2.

こうすることで、投光器22Tの投光量を最終的に適切な投光量FL3に調節する過程において、投光器22Tと受光器22Rとの間に存在する部分が、ラベル部分または台紙部分の何れであるかを確実に判断することができる。 By doing so, in the process of finally adjusting the amount of light projected by the floodlight 22T to an appropriate amount of light projected FL3, whether the portion existing between the floodlight 22T and the receiver 22R is a label portion or a mount portion. Can be reliably determined.

また実施例1では、制御部24は、投光器22Tが投光量FL3で投光した光の受光器22Rでの受光量が閾値TH2未満から閾値TH2以上へ増加することに応じて、連続用紙搬送部21による連続用紙CPの搬送を停止させて印字ヘッド23によるラベルLBへの印字を開始する。 Further, in the first embodiment, the control unit 24 is a continuous paper transport unit in response to the increase in the amount of light received by the light receiver 22R of the light projected by the light projector 22T at the light projection amount FL3 from less than the threshold value TH2 to the threshold value TH2 or more. The continuous paper CP is stopped by 21 and printing on the label LB by the print head 23 is started.

こうすることで、台紙MUに対して印字が行われることを防止して、確実にラベルLBに対して印字を行うことができる。 By doing so, it is possible to prevent printing on the mount MU and reliably print on the label LB.

また実施例1では、制御部24は、投光器22Tが投光量FL3で投光した光の受光器22Rでの受光量が閾値TH1未満から閾値TH1以上へ増加したときに、連続用紙CPの用紙切れが発生したと判断する。 Further, in the first embodiment, the control unit 24 runs out of the continuous paper CP when the light received by the light receiver 22R of the light projected by the floodlight 22T at the light flooding amount FL3 increases from less than the threshold value TH1 to more than the threshold value TH1. Is determined to have occurred.

こうすることで、連続用紙CPの用紙切れを確実に検出することができる。 By doing so, it is possible to reliably detect the paper shortage of the continuous paper CP.

以上、実施例1について説明した。 The first embodiment has been described above.

[実施例2]
実施例1では、受光量の閾値を一定にしたたままで投光量を設定する場合について説明した。これに対し、実施例2では、投光量を一定にしたたまで受光量の閾値を設定する場合について説明する。以下では、実施例1と異なる点について説明する。
[Example 2]
In Example 1, a case where the light projection amount is set while the threshold value of the light reception amount is kept constant has been described. On the other hand, in the second embodiment, a case where the threshold value of the received light amount is set until the light projected amount is kept constant will be described. Hereinafter, the points different from those of the first embodiment will be described.

<ラベル印字装置の処理・動作>
図14は、実施例2のラベル印字装置の処理例の説明に供するフローチャートであり、図15〜17は、実施例2のラベル印字装置の動作例の説明に供する図である。図14〜17には、ラベル印字装置2に新たな連続用紙CPがセットされるとき(つまり、連続用紙CPの交換時)の初期設定に係る処理・動作を示す。以下では、連続用紙CPの交換時の処理・動作と、ラベルLBの印字時の処理・動作とに分けて説明する。
<Processing and operation of label printing device>
FIG. 14 is a flowchart for explaining a processing example of the label printing device of the second embodiment, and FIGS. 15 to 17 are diagrams for explaining an operation example of the label printing device of the second embodiment. 14 to 17 show processes and operations related to the initial setting when a new continuous paper CP is set in the label printing device 2 (that is, when the continuous paper CP is replaced). Hereinafter, the processing / operation at the time of replacing the continuous paper CP and the processing / operation at the time of printing the label LB will be described separately.

<連続用紙CPの交換時の処理・動作(図14〜17)>
ここで、図15,16,17に示すグラフG4において、「ラベル」と表記された箇所は、投光器22Tと受光器22Rとの間にラベル部分が存在するときの受光器22Rでの受光量を示し、「台紙」と表記された箇所は、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光器22Rでの受光量を示し、「連続用紙無し」と表記された箇所は、投光器22Tと受光器22Rとの間に連続用紙CPが存在しないときの受光器22Rでの受光量を示す。
<Processing and operation when replacing continuous paper CP (Figs. 14 to 17)>
Here, in the graphs G4 shown in FIGS. 15, 16 and 17, the portion indicated by "label" indicates the amount of light received by the receiver 22R when the label portion exists between the floodlight 22T and the receiver 22R. The part marked "mount" indicates the amount of light received by the receiver 22R when the mount portion exists between the floodlight 22T and the receiver 22R, and the part marked "no continuous paper" indicates the amount of light received by the receiver 22R. The amount of light received by the light receiver 22R when the continuous paper CP does not exist between the floodlight 22T and the light receiver 22R is shown.

図14において、ステップS301では、制御部24は、投光器22Tと受光器22Rとの間に連続用紙CPが存在しない状態で、投光器22Tの投光量を所定の投光量FL4に設定した上で、受光器22Rでの受光量に対する閾値TH3を設定する。ステップS301では、制御部24は、受光器22Rでの受光量が図15に示すグラフG4のように変化する所定の投光量FL4を設定した上で、閾値TH3を設定する。すなわち、ステップS301では、制御部24は、所定の投光量FL4の下で、連続用紙CPの種類にかかわらず、投光器22Tと受光器22Rとの間に連続用紙CPが存在しないときの受光器22Rでの受光量が閾値TH3以上となり、かつ、投光器22Tと受光器22Rとの間に連続用紙CPが存在するときの受光器22Rでの受光量が閾値TH3未満となるような、比較的大きい閾値を閾値TH3として設定する。閾値TH3は、投光器22Tと受光器22Rとの間に連続用紙CPが存在する否かを判断するために用いられる閾値である。制御部24は、受光器22Rでの受光量が閾値TH3未満となるときは投光器22Tと受光器22Rとの間に連続用紙CPが存在する(連続用紙有り)と判断し、受光器22Rでの受光量が閾値TH3以上となるときは投光器22Tと受光器22Rとの間に連続用紙CPが存在しない(連続用紙無し)と判断する。よって、制御部24は、受光器22Rでの受光量がグラフG4のように変化する投光量FL4を設定した上で閾値TH3を設定することで、ラベル印字装置2にセットされる連続用紙CPが如何なる種類のものであっても、連続用紙CPの種類にかかわらず、閾値TH3に基づいて、投光器22Tと受光器22Rとの間に連続用紙CPが存在するか否かを判断することができる。但し、制御部24は、閾値TH3を設定したときは、投光器22Tと受光器22Rとの間に存在するのが台紙部分またはラベル部分の何れであるかを判断することは困難になる。つまり、閾値TH3は、投光器22Tと受光器22Rとの間に連続用紙CPが存在するか否かを確実に判断可能とする閾値である。 In FIG. 14, in step S301, the control unit 24 sets the light projection amount of the floodlight 22T to a predetermined light projection amount FL4 in a state where the continuous paper CP does not exist between the floodlight 22T and the light receiver 22R, and then receives light. The threshold value TH3 for the amount of light received by the device 22R is set. In step S301, the control unit 24 sets the threshold value TH3 after setting a predetermined light projection amount FL4 in which the light reception amount at the light receiver 22R changes as shown in the graph G4 shown in FIG. That is, in step S301, the control unit 24 receives the receiver 22R when there is no continuous paper CP between the projector 22T and the receiver 22R under the predetermined light projection amount FL4, regardless of the type of the continuous paper CP. A relatively large threshold value such that the amount of light received by the light receiver 22R is less than the threshold value TH3 when the amount of light received by the receiver 22R is equal to or more than the threshold value TH3 and the continuous paper CP is present between the projector 22T and the receiver 22R. Is set as the threshold value TH3. The threshold value TH3 is a threshold value used for determining whether or not a continuous paper CP exists between the projector 22T and the receiver 22R. When the amount of light received by the receiver 22R is less than the threshold value TH3, the control unit 24 determines that a continuous paper CP exists between the floodlight 22T and the receiver 22R (there is continuous paper), and the receiver 22R determines that there is a continuous paper CP. When the amount of received light exceeds the threshold value TH3, it is determined that there is no continuous paper CP between the floodlight 22T and the light receiver 22R (no continuous paper). Therefore, the control unit 24 sets the threshold value TH3 after setting the light projection amount FL4 in which the light receiving amount in the receiver 22R changes as shown in the graph G4, so that the continuous paper CP set in the label printing device 2 can be set. Regardless of the type of continuous paper CP, it is possible to determine whether or not a continuous paper CP exists between the projector 22T and the receiver 22R based on the threshold value TH3. However, when the threshold value TH3 is set, it becomes difficult for the control unit 24 to determine whether the mount portion or the label portion exists between the projector 22T and the receiver 22R. That is, the threshold value TH3 is a threshold value that makes it possible to reliably determine whether or not the continuous paper CP exists between the projector 22T and the receiver 22R.

閾値TH3が設定された状態で、図8の時刻t11に示すように、オペレータは、ラベル印字装置2にセットされた連続用紙CPの先端を光センサ22に向かって+X方向(連続用紙CPの搬送方向)に手で挿入していく。連続用紙CPと光センサ22との位置関係が時刻t11の状態であるときは、投光量FL4に対する受光器22Rでの受光量は閾値TH3以上となっている(図15)。 With the threshold TH3 set, as shown at time t11 in FIG. 8, the operator moves the tip of the continuous paper CP set in the label printing device 2 toward the optical sensor 22 in the + X direction (conveyance of the continuous paper CP). Insert it by hand in the direction). When the positional relationship between the continuous paper CP and the optical sensor 22 is at time t11, the amount of light received by the receiver 22R with respect to the amount of light projected FL4 is the threshold value TH3 or more (FIG. 15).

図14に戻り、次いでステップS103では、制御部24は、受光器22Rでの受光量を測定し、測定した受光量と閾値TH3とに基づいて、受光量が「連続用紙無し」の状態から「連続用紙有り」の状態(図15)に変化したか否かを判断する。制御部24は、受光量が「連続用紙無し」の状態から「連続用紙有り」の状態に変化するまで、ステップS103の処理を繰り返す(ステップS103:No)。そして、制御部103は、閾値TH3以上にあった受光量が減少して閾値TH3未満になったときに、連続用紙CPが「無し」から「有り」になったと判断する(ステップS103:Yes)。よって、制御部103により連続用紙CPが「無し」から「有り」になったと判断される時点では、連続用紙CPと光センサ22との位置関係は図8の時刻t12の状態にあり、連続用紙CPの先端が投光器22Tと受光器22Rとの間に位置する。 Returning to FIG. 14, in step S103, the control unit 24 measures the amount of light received by the receiver 22R, and based on the measured amount of light received and the threshold value TH3, the amount of light received is changed from the state of “without continuous paper” to “No continuous paper”. It is determined whether or not the state has changed to the state of "with continuous paper" (FIG. 15). The control unit 24 repeats the process of step S103 until the amount of received light changes from the state of "without continuous paper" to the state of "with continuous paper" (step S103: No). Then, the control unit 103 determines that the continuous paper CP has changed from "none" to "yes" when the amount of received light received at the threshold TH3 or higher decreases and becomes less than the threshold TH3 (step S103: Yes). .. Therefore, when the control unit 103 determines that the continuous paper CP has changed from "none" to "yes", the positional relationship between the continuous paper CP and the optical sensor 22 is at time t12 in FIG. The tip of the CP is located between the floodlight 22T and the receiver 22R.

ステップS105〜S109の処理については実施例1と同一であるため説明を省略する。 Since the processes of steps S105 to S109 are the same as those of the first embodiment, the description thereof will be omitted.

ステップS303では、制御部24は、投光器22Tの投光量を所定の投光量FL4に維持したまま、図16に示すように、受光器22Rでの受光量に対する閾値TH4(TH4<TH3)を設定する。つまり、制御部24は、連続用紙CPが投光器22Tと受光器22Rとの間に存在していることを、ステップS301で設定した閾値TH3を用いて検出するときに(ステップS103:Yes)、閾値TH4を設定する。ステップS303では、制御部24は、所定の投光量FL4の下で、連続用紙CPの種類にかかわらず、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光器22Rでの受光量が、閾値TH3(図15)より小さい閾値TH4以上となり、かつ、投光器22Tと受光器22Rとの間にラベル部分が存在するときの受光器22Rでの受光量が閾値TH4未満となるような、比較的小さい閾値を閾値TH4として設定する。閾値TH4は、投光器22Tと受光器22Rとの間に台紙部分またはラベル部分の何れが存在するかを判断するために用いられる閾値である。制御部24は、受光器22Rでの受光量が閾値TH4未満となるときは投光器22Tと受光器22Rとの間にラベル部分が存在する(ラベル有り)と判断し、受光器22Rでの受光量が閾値TH4以上となるときは投光器22Tと受光器22Rとの間に台紙部分が存在する(ラベル無し)と判断する。よって、制御部24は、受光器22Rでの受光量がグラフG4のように変化する投光量FL4を設定した上で閾値TH4を設定することで、ラベル印字装置2にセットされる連続用紙CPが如何なる種類のものであっても、連続用紙CPの種類にかかわらず、閾値TH4に基づいて、投光器22Tと受光器22Rとの間に存在するのが、ラベル部分または台紙部分の何れであるかを判断することができる。但し、制御部24は、閾値TH4を設定したときは、投光器22Tと受光器22Rとの間に連続用紙CPが存在するか否かを判断することは困難になる。つまり、閾値TH4は、投光器22Tと受光器22Rとの間に存在する部分が、ラベル部分または台紙部分の何れであるかを確実に判断可能とする閾値である。 In step S303, the control unit 24 sets a threshold value TH4 (TH4 <TH3) with respect to the amount of light received by the receiver 22R, as shown in FIG. 16, while maintaining the amount of light projected by the floodlight 22T at the predetermined amount of light projected FL4. .. That is, when the control unit 24 detects that the continuous paper CP exists between the projector 22T and the receiver 22R using the threshold value TH3 set in step S301 (step S103: Yes), the threshold value Set TH4. In step S303, the control unit 24 receives light from the light receiver 22R when a mount portion exists between the light projector 22T and the light receiver 22R under a predetermined light projection amount FL4 regardless of the type of continuous paper CP. The amount is less than the threshold TH4 (FIG. 15), which is smaller than the threshold TH3 (FIG. 15), and the amount of light received by the receiver 22R is less than the threshold TH4 when the label portion is present between the floodlight 22T and the receiver 22R. , A relatively small threshold is set as the threshold TH4. The threshold value TH4 is a threshold value used for determining whether a mount portion or a label portion exists between the floodlight 22T and the receiver 22R. When the amount of light received by the receiver 22R is less than the threshold value TH4, the control unit 24 determines that there is a label portion between the projector 22T and the receiver 22R (with a label), and determines that the amount of light received by the receiver 22R is less than the threshold value TH4. When is equal to or higher than the threshold value TH4, it is determined that the mount portion exists between the projector 22T and the receiver 22R (no label). Therefore, the control unit 24 sets the threshold value TH4 after setting the light projection amount FL4 in which the light receiving amount in the receiver 22R changes as shown in the graph G4, so that the continuous paper CP set in the label printing device 2 can be set. Regardless of the type of continuous paper CP, it is determined whether the label portion or the mount portion exists between the projector 22T and the receiver 22R based on the threshold value TH4. You can judge. However, when the threshold value TH4 is set, it becomes difficult for the control unit 24 to determine whether or not the continuous paper CP exists between the projector 22T and the receiver 22R. That is, the threshold value TH4 is a threshold value that makes it possible to reliably determine whether the portion existing between the floodlight 22T and the receiver 22R is a label portion or a mount portion.

図14に戻り、制御部24は、閾値TH4を設定後、ステップS113において、連続用紙CPの搬送を再開し、ステップS115において、連続用紙CPを搬送する。 Returning to FIG. 14, after setting the threshold value TH4, the control unit 24 restarts the transfer of the continuous paper CP in step S113, and transfers the continuous paper CP in step S115.

次いで、ステップS117では、制御部24は、受光器22Rでの受光量を測定し、測定した受光量と閾値TH4とに基づいて、受光量が「ラベル有り」の状態から「ラベル無し」の状態(図16)に変化したか否か、つまり、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化したか否かを判断する。制御部24は、受光量が「ラベル有り」の状態から「ラベル無し」の状態に変化するまで、ステップS115,S117の処理を繰り返す(ステップS117:No)。そして、制御部103は、閾値TH4未満にあった受光量が増加して閾値TH4以上となったときに、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化したと判断し(ステップS117:Yes)、ステップS119において、連続用紙CPの搬送を停止する。よって、ステップS119において連続用紙CPの搬送が停止された時点では、連続用紙CPと光センサ22との位置関係は図8の時刻t14の状態にあり、台紙部分が投光器22Tと受光器22Rとの間に位置する。 Next, in step S117, the control unit 24 measures the amount of light received by the receiver 22R, and based on the measured amount of light received and the threshold value TH4, the amount of light received is changed from a state of "with label" to a state of "without label". It is determined whether or not the change is shown in FIG. 16, that is, whether or not the portion existing between the floodlight 22T and the receiver 22R has changed from the label portion to the mount portion. The control unit 24 repeats the processes of steps S115 and S117 until the amount of received light changes from the "labeled" state to the "unlabeled" state (step S117: No). Then, when the amount of received light received below the threshold value TH4 increases and becomes equal to or higher than the threshold value TH4, the control unit 103 changes the portion existing between the projector 22T and the receiver 22R from the label portion to the mount portion. (Step S117: Yes), and in step S119, the transfer of the continuous paper CP is stopped. Therefore, when the transport of the continuous paper CP is stopped in step S119, the positional relationship between the continuous paper CP and the optical sensor 22 is in the state of time t14 in FIG. Located in between.

ステップS119の処理については実施例1と同一であるため説明を省略する。 Since the process of step S119 is the same as that of the first embodiment, the description thereof will be omitted.

ステップS305では、制御部24は、投光器22Tと受光器22Rとの間に台紙部分が存在する状態で(図8の時刻t14の状態で)、投光器22Tの投光量を所定の投光量FL4に維持したまま、閾値TH3,TH4に代えて、図17に示すように、受光器22Rでの受光量に対する閾値TH5,TH6を設定する。閾値TH5は、投光器22Tと受光器22Rとの間に連続用紙CPが存在する否かを判断するために用いられる閾値であり、閾値TH6は、投光器22Tと受光器22Rとの間に存在する部分が、台紙部分またはラベル部分の何れであるかを判断するために用いられる閾値である。例えば、制御部24は、所定の投光量FL4の下でグラフG4のように変化する受光量において、投光器22Tと受光器22Rとの間に連続用紙CPが存在しないときの受光量と、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光量との平均値を閾値TH5として設定する。また例えば、制御部24は、所定の投光量FL4の下でグラフG4のように変化する受光量において、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光量と、投光器22Tと受光器22Rとの間にラベル部分が存在するときの受光量との平均値を閾値TH6として設定する。受光器22Rでの受光量の閾値として閾値TH5,TH6が設定されることで、投光器22Tの投光量が所定の投光量FL4にあるときに、投光器22Tと受光器22Rとの間に連続用紙CPが存在しないときの受光器22Rでの受光量は閾値TH5以上となり、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光器22Rでの受光量は閾値TH6以上かつ閾値TH5未満となり、投光器22Tと受光器22Rとの間にラベル部分が存在するときの受光器22Rでの受光量は閾値TH6未満となる。つまり、閾値TH5,TH6が設定されることにより、制御部24は、実施例1と同様に、(1)投光器22Tと受光器22Rとの間に連続用紙CPが存在するか否かの検出、及び、(2)投光器22Tと受光器22Rとの間に存在する部分が台紙部分またはラベル部分の何れであるかの検出の双方の検出が可能になる。 In step S305, the control unit 24 maintains the light projection amount of the floodlight 22T at a predetermined light projection amount FL4 in a state where the mount portion exists between the floodlight 22T and the light receiver 22R (at the state of time t14 in FIG. 8). As shown in FIG. 17, instead of the threshold values TH3 and TH4, the threshold values TH5 and TH6 with respect to the amount of light received by the receiver 22R are set. The threshold value TH5 is a threshold value used for determining whether or not a continuous paper CP exists between the floodlight 22T and the receiver 22R, and the threshold value TH6 is a portion existing between the floodlight 22T and the receiver 22R. Is a threshold value used to determine whether it is a mount portion or a label portion. For example, the control unit 24 determines the amount of light received when the continuous paper CP does not exist between the projector 22T and the receiver 22R and the amount of light received that changes as shown in the graph G4 under the predetermined amount of light FL4. The average value of the amount of light received when the mount portion exists between the light receiver 22R and the light receiving amount is set as the threshold value TH5. Further, for example, the control unit 24 has a light receiving amount that changes as shown in the graph G4 under a predetermined light flooding amount FL4, a light receiving amount when a mount portion exists between the light projector 22T and the light receiving device 22R, and a light receiving amount 22T. The average value of the amount of light received when the label portion exists between the light receiver 22R and the light receiving amount is set as the threshold value TH6. By setting the threshold values TH5 and TH6 as the threshold value of the amount of light received by the light receiver 22R, when the amount of light projected by the floodlight 22T is within the predetermined amount of light projected FL4, the continuous paper CP between the light projector 22T and the light receiver 22R The amount of light received by the light receiver 22R in the absence of the light receiver 22R is the threshold value TH5 or more, and the amount of light received by the light receiver 22R when the mount portion is present between the light projector 22T and the light receiver 22R is the threshold value TH6 or more and less than the threshold value TH5. Therefore, the amount of light received by the light receiver 22R when the label portion exists between the floodlight 22T and the light receiver 22R is less than the threshold value TH6. That is, by setting the threshold values TH5 and TH6, the control unit 24 detects (1) whether or not the continuous paper CP exists between the projector 22T and the receiver 22R, as in the first embodiment. And (2) both detection of whether the portion existing between the floodlight 22T and the receiver 22R is the mount portion or the label portion can be detected.

<ラベルLBの印字時の処理・動作(図12,13)>
ラベルLBの印字時には、制御部24は、ステップS305(図14)において設定した閾値TH5,TH6(図17)を用いてラベルLBの印字を行う。また、図12に示す処理が行われる際には、投光器22Tの投光量は所定の投光量FL4に設定されている。
<Processing and operation when printing label LB (Figs. 12 and 13)>
When printing the label LB, the control unit 24 prints the label LB using the threshold values TH5 and TH6 (FIG. 17) set in step S305 (FIG. 14). Further, when the process shown in FIG. 12 is performed, the light projection amount of the floodlight 22T is set to a predetermined light projection amount FL4.

図12において、ステップS201〜S205の処理については、実施例1と同一であるため説明を省略する。 In FIG. 12, the processes of steps S201 to S205 are the same as those of the first embodiment, and thus the description thereof will be omitted.

次いで、ステップS207では、制御部24は、受光器22Rでの受光量を測定し、測定した受光量と閾値TH5(図17)とに基づいて、連続用紙CPが「有り」から「無し」になったか否かを判断する。制御部103は、閾値TH5未満にあった受光量が増加して閾値TH5以上となったときに、連続用紙CPの用紙切れが発生したと判断し(ステップS207:Yes)、ステップS209において、連続用紙CPの用紙切れが発生したことをオペレータに通知するエラーメッセージを出力する。制御部24から出力されたエラーメッセージは、例えば、採血管準備装置1が有するタッチパネル(図示省略)に表示される。エラーメッセージの出力により、制御部24は、ラベルLBの印字処理を終了する。 Next, in step S207, the control unit 24 measures the amount of light received by the receiver 22R, and the continuous paper CP is changed from “yes” to “no” based on the measured amount of light received and the threshold value TH5 (FIG. 17). Determine if it has become. The control unit 103 determines that the continuous paper CP has run out of paper when the amount of received light received below the threshold value TH5 increases and becomes the threshold value TH5 or more (step S207: Yes), and continuously in step S209. Outputs an error message notifying the operator that the paper CP has run out of paper. The error message output from the control unit 24 is displayed on, for example, a touch panel (not shown) included in the blood collection tube preparation device 1. Upon output of the error message, the control unit 24 ends the printing process of the label LB.

一方で、受光器22Rでの受光量が閾値TH5未満に維持されているときは(ステップS207:No)、ステップS211において、制御部24は、受光器22Rでの受光量を測定し、測定した受光量と閾値TH6(図17)とに基づいて、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化したか否かを判断する。制御部24は、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化するまで、ステップS205,S207,S211の処理を繰り返す(ステップS211:No)。そして、制御部103は、閾値TH6未満にあった受光量が増加して閾値TH6以上となったときに、投光器22Tと受光器22Rとの間に存在する部分がラベル部分から台紙部分に変化したと判断し(ステップS211:Yes)、ステップS213において、連続用紙CPの搬送を一旦停止する。よって、ステップS213において連続用紙CPの搬送が一旦停止された時点では、連続用紙CPと光センサ22との位置関係は図13の状態にあり、台紙部分が投光器22Tと受光器22Rとの間に位置する。 On the other hand, when the amount of light received by the receiver 22R is maintained below the threshold value TH5 (step S207: No), in step S211 the control unit 24 measures and measures the amount of light received by the receiver 22R. Based on the received light amount and the threshold value TH6 (FIG. 17), it is determined whether or not the portion existing between the floodlight 22T and the receiver 22R has changed from the label portion to the mount portion. The control unit 24 repeats the processes of steps S205, S207, and S211 until the portion existing between the floodlight 22T and the receiver 22R changes from the label portion to the mount portion (step S211: No). Then, when the amount of received light received below the threshold value TH6 increases and becomes equal to or higher than the threshold value TH6, the control unit 103 changes the portion existing between the projector 22T and the receiver 22R from the label portion to the mount portion. (Step S211: Yes), and in step S213, the continuous paper CP is temporarily stopped. Therefore, when the transport of the continuous paper CP is temporarily stopped in step S213, the positional relationship between the continuous paper CP and the optical sensor 22 is in the state shown in FIG. 13, and the mount portion is between the floodlight 22T and the photodetector 22R. To position.

ステップS215〜S221の処理については、実施例1と同一であるため説明を省略する。 The processing of steps S215 to S221 is the same as that of the first embodiment, and thus the description thereof will be omitted.

以上のように、実施例2では、ラベル印字装置2は、連続用紙搬送部21と、印字ヘッド23と、光センサ22と、制御部24とを有する。連続用紙搬送部21は、連続用紙CPを搬送する。連続用紙CPは、長尺状の台紙MUと、台紙MUに一定の間隔IVで貼付された複数のラベルLBとから形成され、台紙部分とラベル部分とを有する。印字ヘッド23は、複数のラベルLBの各々に印字を行う。光センサ22は、光を投光する投光器22Tと、投光器22Tから投光された光を受光する受光器22Rとを有する。制御部24は、投光器22Tと受光器22Rとの間に連続用紙CPが存在しない状態で閾値TH3を設定する。また、制御部24は、閾値TH3を用いて連続用紙CPが投光器22Tと受光器22Rとの間に存在することを検出するときに閾値TH4を設定する。また、制御部24は、閾値TH4を用いて台紙部分が投光器22Tと受光器22Rとの間に存在することを検出するときに、閾値TH3に代えて、投光器22Tと受光器22Rとの間に連続用紙CPが存在しないときの受光量と、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光量との平均値を閾値TH5として設定するとともに、閾値TH4に代えて、投光器22Tと受光器22Rとの間に台紙部分が存在するときの受光量と、投光器22Tと受光器22Rとの間にラベル部分が存在するときの受光量との平均値を閾値TH6として設定する。 As described above, in the second embodiment, the label printing device 2 includes a continuous paper conveying unit 21, a printing head 23, an optical sensor 22, and a control unit 24. The continuous paper transport unit 21 transports the continuous paper CP. The continuous paper CP is formed of a long mount MU and a plurality of labels LB affixed to the mount MU at regular intervals IV, and has a mount portion and a label portion. The print head 23 prints on each of the plurality of labels LB. The optical sensor 22 includes a floodlight 22T that projects light and a light receiver 22R that receives the light projected from the floodlight 22T. The control unit 24 sets the threshold value TH3 in a state where the continuous paper CP does not exist between the projector 22T and the receiver 22R. Further, the control unit 24 sets the threshold value TH4 when detecting that the continuous paper CP exists between the projector 22T and the receiver 22R by using the threshold value TH3. Further, when the control unit 24 uses the threshold value TH4 to detect that the mount portion exists between the floodlight 22T and the light receiver 22R, the control unit 24 replaces the threshold value TH3 with the light projector 22T and the light receiver 22R. The average value of the amount of light received when the continuous paper CP does not exist and the amount of light received when the mount portion exists between the floodlight 22T and the receiver 22R is set as the threshold value TH5, and the floodlight is replaced with the threshold value TH4. The average value of the amount of light received when the mount portion is present between the 22T and the receiver 22R and the amount of light received when the label portion is present between the floodlight 22T and the receiver 22R is set as the threshold value TH6.

こうすることで、投光器22Tの投光量が固定されている場合に、連続用紙CPの種類に応じて、受光器22Rでの受光量に対する閾値を適切な閾値TH5,TH6に自動的に調節することができため、連続用紙CPの交換時のオペレータの手間を低減することができる。 By doing so, when the amount of light projected by the floodlight 22T is fixed, the threshold value for the amount of light received by the light receiver 22R is automatically adjusted to appropriate thresholds TH5 and TH6 according to the type of continuous paper CP. Therefore, it is possible to reduce the time and effort of the operator when exchanging the continuous paper CP.

また実施例2では、制御部24は、受光器22Rでの受光量が閾値TH6未満から閾値TH6以上へ増加することに応じて、連続用紙搬送部21による連続用紙CPの搬送を停止させて印字ヘッド23によるラベルLBへの印字を開始する。 Further, in the second embodiment, the control unit 24 stops the continuous paper CP transfer by the continuous paper transfer unit 21 and prints as the amount of light received by the receiver 22R increases from less than the threshold value TH6 to the threshold value TH6 or more. Printing on the label LB by the head 23 is started.

こうすることで、台紙MUに対して印字が行われることを防止して、確実にラベルLBに対して印字を行うことができる。 By doing so, it is possible to prevent printing on the mount MU and reliably print on the label LB.

また実施例2では、制御部24は、受光器22Rでの受光量が閾値TH5未満から閾値TH5以上へ増加したときに、連続用紙CPの用紙切れが発生したと判断する。 Further, in the second embodiment, the control unit 24 determines that the continuous paper CP has run out of paper when the amount of light received by the receiver 22R increases from less than the threshold value TH5 to more than the threshold value TH5.

こうすることで、連続用紙CPの用紙切れを確実に検出することができる。 By doing so, it is possible to reliably detect the paper shortage of the continuous paper CP.

以上、実施例2について説明した。 The second embodiment has been described above.

[実施例3]
制御部24での上記説明における各処理の全部または一部は、各処理に対応するプログラムをラベル印字装置2が有するプロセッサに実行させることによって実現しても良い。例えば、上記説明における各処理に対応するプログラムがメモリに記憶され、プログラムがプロセッサによってメモリから読み出されて実行されても良い。また、プログラムは、任意のネットワークを介してラベル印字装置2に接続されたプログラムサーバに記憶され、そのプログラムサーバからラベル印字装置2にダウンロードされて実行されたり、ラベル印字装置2が読み取り可能な記録媒体に記憶され、その記録媒体から読み出されて実行されても良い。ラベル印字装置2が読み取り可能な記録媒体には、例えば、メモリカード、USBメモリ、SDカード、フレキシブルディスク、光磁気ディスク、CD−ROM、DVD、及び、Blu−ray(登録商標)ディスク等の可搬の記憶媒体が含まれる。また、プログラムは、任意の言語や任意の記述方法にて記述されたデータ処理方法であり、ソースコードやバイナリコード等の形式を問わない。また、プログラムは必ずしも単一的に構成されるものに限られず、複数のモジュールや複数のライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものも含む。
[Example 3]
All or part of each process in the above description in the control unit 24 may be realized by causing a processor included in the label printing device 2 to execute a program corresponding to each process. For example, the program corresponding to each process in the above description may be stored in the memory, and the program may be read from the memory by the processor and executed. Further, the program is stored in a program server connected to the label printing device 2 via an arbitrary network, downloaded from the program server to the label printing device 2 and executed, or a record that can be read by the label printing device 2. It may be stored in a medium, read from the recording medium, and executed. Recording media that can be read by the label printing device 2 include, for example, memory cards, USB memory, SD cards, flexible disks, magneto-optical disks, CD-ROMs, DVDs, and Blu-ray (registered trademark) disks. Carrying storage media is included. The program is a data processing method described in an arbitrary language or an arbitrary description method, and may be in any format such as source code or binary code. In addition, the program is not necessarily limited to a single program, but is distributed as multiple modules or multiple libraries, or cooperates with a separate program represented by the OS to achieve its function. Including things.

採血管準備装置1及びラベル印字装置2の分散・統合の具体的形態は図示するものに限られず、採血管準備装置1及びラベル印字装置2の全部または一部を、各種の付加等に応じて、または、機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。 The specific form of dispersion / integration of the blood collection tube preparation device 1 and the label printing device 2 is not limited to the one shown in the drawing, and all or part of the blood collection tube preparation device 1 and the label printing device 2 can be added according to various additions and the like. , Or, depending on the functional load, it can be functionally or physically distributed / integrated in any unit.

2 ラベル印字装置
21 連続用紙搬送部
22 光センサ
22T 投光器
22R 受光器
23 印字ヘッド
24 制御部
25 記憶部
2 Label printing device 21 Continuous paper carrier 22 Optical sensor 22T Floodlight 22R Receiver 23 Printing head 24 Control unit 25 Storage unit

Claims (10)

長尺状の台紙と、前記台紙に一定の間隔で貼付された複数のラベルとから形成され、前記台紙が存在する一方で前記ラベルが存在しない第一部分と、前記台紙及び前記ラベルの双方が存在する第二部分とを有する連続用紙を搬送する搬送部と、
前記複数のラベルの各々に印字を行う印字ヘッドと、
光を投光する投光器と、前記投光器から投光された前記光を受光する受光器とを有する光センサと、
前記投光器と前記受光器との間に前記連続用紙が存在しない状態で、前記投光器の投光量を第一投光量に設定し、
前記第一投光量を用いて前記連続用紙が前記投光器と前記受光器との間に存在することを検出するときに、前記投光量を、前記第一投光量より大きい第二投光量に設定し、
前記第二投光量を用いて前記第一部分が前記投光器と前記受光器との間に存在することを検出するときに、前記投光量を、前記第一投光量より大きく、かつ、前記第二投光量より小さい第三投光量に設定する制御部と、
を具備するラベル印字装置。
A first portion formed of a long mount and a plurality of labels attached to the mount at regular intervals, and the mount is present but the label is not present, and both the mount and the label are present. A transport unit for transporting continuous paper having a second portion,
A print head that prints on each of the plurality of labels,
An optical sensor having a floodlight that emits light and a receiver that receives the light projected from the floodlight.
In a state where the continuous paper does not exist between the floodlight and the receiver, the floodlight amount of the floodlight is set to the first floodlight amount.
When the continuous paper is detected between the floodlight and the receiver by using the first floodlight, the floodlight is set to a second floodlight larger than the first floodlight. ,
When it is detected that the first portion exists between the projector and the receiver by using the second projection amount, the projection amount is made larger than the first projection amount and the second projection amount. A control unit that sets the third light emission amount smaller than the light amount,
A label printing device comprising.
前記制御部は、前記連続用紙の種類にかかわらず、前記投光器と前記受光器との間に前記連続用紙が存在しないときの前記受光器での受光量が、前記投光器と前記受光器との間に前記連続用紙が存在する否かを判断するために用いられる第一閾値以上となり、かつ、前記投光器と前記受光器との間に前記連続用紙が存在するときの前記受光量が前記第一閾値未満となる前記投光量を前記第一投光量として設定する、
請求項1に記載のラベル印字装置。
In the control unit, regardless of the type of the continuous paper, the amount of light received by the receiver when the continuous paper does not exist between the floodlight and the receiver is between the floodlight and the receiver. The first threshold value is equal to or higher than the first threshold value used for determining whether or not the continuous paper is present, and the amount of light received when the continuous paper is present between the floodlight and the receiver is the first threshold value. The amount of light projected to be less than is set as the first amount of light projected.
The label printing device according to claim 1.
前記制御部は、前記連続用紙の種類にかかわらず、前記投光器と前記受光器との間に前記第一部分が存在するときの前記受光量が、前記第一閾値より小さい第二閾値であって、前記投光器と前記受光器との間に前記第一部分または前記第二部分の何れが存在するかを判断するために用いられる前記第二閾値以上となり、かつ、前記投光器と前記受光器との間に前記第二部分が存在するときの前記受光量が前記第二閾値未満となる前記投光量を前記第二投光量として設定する、
請求項2に記載のラベル印字装置。
Regardless of the type of continuous paper, the control unit has a second threshold value smaller than the first threshold value when the first portion is present between the floodlight and the receiver. It is equal to or higher than the second threshold value used for determining whether the first portion or the second portion exists between the floodlight and the receiver, and is between the floodlight and the receiver. The amount of light projected when the amount of received light when the second portion is present is less than the second threshold value is set as the amount of second light projected.
The label printing device according to claim 2.
前記制御部は、前記投光器が前記第三投光量で投光した前記光の前記受光器での前記受光量が前記第二閾値未満から前記第二閾値以上へ増加することに応じて、前記搬送部による前記連続用紙の搬送を停止させて前記印字ヘッドによる前記ラベルへの印字を開始する、
請求項3に記載のラベル印字装置。
The control unit conveys the light projected by the floodlight at the third floodlight in response to an increase in the amount of light received by the receiver from less than the second threshold value to more than or equal to the second threshold value. Stops the transport of the continuous paper by the unit and starts printing on the label by the print head.
The label printing device according to claim 3.
前記制御部は、前記投光器が前記第三投光量で投光した前記光の前記受光器での前記受光量が前記第一閾値未満から前記第一閾値以上へ増加したときに、前記連続用紙の用紙切れが発生したと判断する、
請求項3に記載のラベル印字装置。
The control unit receives the light emitted by the floodlight at the third floodlight when the light received by the receiver increases from less than the first threshold value to more than or equal to the first threshold value. Judge that the paper has run out,
The label printing device according to claim 3.
長尺状の台紙と、前記台紙に一定の間隔で貼付された複数のラベルとから形成され、前記台紙が存在する一方で前記ラベルが存在しない第一部分と、前記台紙及び前記ラベルの双方が存在する第二部分とを有する連続用紙を搬送する搬送部と、
前記複数のラベルの各々に印字を行う印字ヘッドと、
光を投光する投光器と、前記投光器から投光された前記光を受光する受光器とを有する光センサと、
を具備するラベル印字装置における投光量設定方法であって、
前記投光器と前記受光器との間に前記連続用紙が存在しない状態で、前記投光器の投光量を第一投光量に設定し、
前記第一投光量を用いて前記連続用紙が前記投光器と前記受光器との間に存在することを検出するときに、前記投光量を、前記第一投光量より大きい第二投光量に設定し、
前記第二投光量を用いて前記第一部分が前記投光器と前記受光器との間に存在することを検出するときに、前記投光量を、前記第一投光量より大きく、かつ、前記第二投光量より小さい第三投光量に設定する、
投光量設定方法。
A first portion formed of a long mount and a plurality of labels attached to the mount at regular intervals, and the mount is present but the label is not present, and both the mount and the label are present. A transport unit for transporting continuous paper having a second portion,
A print head that prints on each of the plurality of labels,
An optical sensor having a floodlight that emits light and a receiver that receives the light projected from the floodlight.
It is a method of setting the amount of light projected in a label printing device provided with
In a state where the continuous paper does not exist between the floodlight and the receiver, the floodlight amount of the floodlight is set to the first floodlight amount.
When the continuous paper is detected between the floodlight and the receiver by using the first floodlight, the floodlight is set to a second floodlight larger than the first floodlight. ,
When it is detected that the first portion exists between the projector and the receiver by using the second projection amount, the projection amount is made larger than the first projection amount and the second projection amount. Set to a third light intensity smaller than the light amount,
How to set the amount of light emission.
長尺状の台紙と、前記台紙に一定の間隔で貼付された複数のラベルとから形成され、前記台紙が存在する一方で前記ラベルが存在しない第一部分と、前記台紙及び前記ラベルの双方が存在する第二部分とを有する連続用紙を搬送する搬送部と、
前記複数のラベルの各々に印字を行う印字ヘッドと、
光を投光する投光器と、前記投光器から投光された前記光を受光する受光器とを有する光センサと、
前記投光器と前記受光器との間に前記連続用紙が存在しない状態で、前記受光器での受光量に対する第一閾値であって、前記連続用紙の種類にかかわらず前記投光器と前記受光器との間に前記連続用紙が存在する否かを判断するために用いられる前記第一閾値を設定し、
前記第一閾値を用いて前記連続用紙が前記投光器と前記受光器との間に存在することを検出するときに、前記受光量に対する第二閾値であって、前記第一閾値より小さく、かつ、前記連続用紙の種類にかかわらず前記投光器と前記受光器との間に前記第一部分または前記第二部分の何れが存在するかを判断するために用いられる前記第二閾値を設定し、
前記第二閾値を用いて前記第一部分が前記投光器と前記受光器との間に存在することを検出するときに、前記第一閾値に代えて、前記投光器と前記受光器との間に前記連続用紙が存在しないときの前記受光器での第一受光量と、前記投光器と前記受光器との間に前記第一部分が存在するときの前記受光器での第二受光量との平均値を、前記投光器と前記受光器との間に前記連続用紙が存在する否かを判断するために用いられる第三閾値として設定するとともに、前記第二閾値に代えて、前記第二受光量と、前記投光器と前記受光器との間に前記第二部分が存在するときの前記受光器での第三受光量との平均値を、前記投光器と前記受光器との間に前記第一部分または前記第二部分の何れが存在するかを判断するために用いられる第四閾値として設定する制御部と、
を具備するラベル印字装置。
A first portion formed of a long mount and a plurality of labels attached to the mount at regular intervals, and the mount is present but the label is not present, and both the mount and the label are present. A transport unit for transporting continuous paper having a second portion,
A print head that prints on each of the plurality of labels,
An optical sensor having a floodlight that emits light and a receiver that receives the light projected from the floodlight.
In a state where the continuous paper does not exist between the floodlight and the receiver, it is the first threshold value for the amount of light received by the receiver, and the floodlight and the receiver are used regardless of the type of the continuous paper. The first threshold used to determine if there is a continuous sheet of paper in between is set.
When it is detected that the continuous paper exists between the floodlight and the light receiver by using the first threshold value, it is a second threshold value with respect to the received light amount, which is smaller than the first threshold value and is smaller than the first threshold value. Regardless of the type of continuous paper, the second threshold value used for determining whether the first portion or the second portion exists between the floodlight and the receiver is set.
When the first threshold is used to detect the presence of the first portion between the floodlight and the receiver, instead of the first threshold, the continuity between the floodlight and the receiver. The average value of the first light receiving amount at the receiver when there is no paper and the second light receiving amount at the receiver when the first portion is present between the floodlight and the receiver. It is set as a third threshold value used for determining whether or not the continuous paper exists between the floodlight and the receiver, and instead of the second threshold value, the second light receiving amount and the floodlight are used. The average value of the third light receiving amount in the receiver when the second portion is present between the receiver and the receiver, and the first portion or the second portion between the floodlight and the receiver. A control unit set as a fourth threshold value used to determine which of the above exists, and
A label printing device comprising.
前記制御部は、前記受光器での受光量が前記第四閾値未満から前記第四閾値以上へ増加することに応じて、前記搬送部による前記連続用紙の搬送を停止させて前記印字ヘッドによる前記ラベルへの印字を開始する、
請求項7に記載のラベル印字装置。
The control unit stops the continuous paper transfer by the transfer unit in response to the increase in the amount of light received by the receiver from less than the fourth threshold value to the fourth threshold value or more, and the print head stops the transfer of the continuous paper. Start printing on the label,
The label printing device according to claim 7.
前記制御部は、前記受光器での受光量が前記第三閾値未満から前記第三閾値以上へ増加したときに、前記連続用紙の用紙切れが発生したと判断する、
請求項7に記載のラベル印字装置。
The control unit determines that the continuous paper has run out when the amount of light received by the receiver increases from less than the third threshold value to more than or equal to the third threshold value.
The label printing device according to claim 7.
長尺状の台紙と、前記台紙に一定の間隔で貼付された複数のラベルとから形成され、前記台紙が存在する一方で前記ラベルが存在しない第一部分と、前記台紙及び前記ラベルの双方が存在する第二部分とを有する連続用紙を搬送する搬送部と、
前記複数のラベルの各々に印字を行う印字ヘッドと、
光を投光する投光器と、前記投光器から投光された前記光を受光する受光器とを有する光センサと、
を具備するラベル印字装置における閾値設定方法であって、
前記投光器と前記受光器との間に前記連続用紙が存在しない状態で、前記受光器での受光量に対する第一閾値であって、前記連続用紙の種類にかかわらず前記投光器と前記受光器との間に前記連続用紙が存在する否かを判断するために用いられる前記第一閾値を設定し、
前記第一閾値を用いて前記連続用紙が前記投光器と前記受光器との間に存在することを検出するときに、前記受光量に対する第二閾値であって、前記第一閾値より小さく、かつ、前記連続用紙の種類にかかわらず前記投光器と前記受光器との間に前記第一部分または前記第二部分の何れが存在するかを判断するために用いられる前記第二閾値を設定し、
前記第二閾値を用いて前記第一部分が前記投光器と前記受光器との間に存在することを検出するときに、前記第一閾値に代えて、前記投光器と前記受光器との間に前記連続用紙が存在しないときの前記受光器での第一受光量と、前記投光器と前記受光器との間に前記第一部分が存在するときの前記受光器での第二受光量との平均値を、前記投光器と前記受光器との間に前記連続用紙が存在する否かを判断するために用いられる第三閾値として設定するとともに、前記第二閾値に代えて、前記第二受光量と、前記投光器と前記受光器との間に前記第二部分が存在するときの前記受光器での第三受光量との平均値を、前記投光器と前記受光器との間に前記第一部分または前記第二部分の何れが存在するかを判断するために用いられる第四閾値として設定する、
閾値設定方法。
A first portion formed of a long mount and a plurality of labels attached to the mount at regular intervals, and the mount is present but the label is not present, and both the mount and the label are present. A transport unit for transporting continuous paper having a second portion,
A print head that prints on each of the plurality of labels,
An optical sensor having a floodlight that emits light and a receiver that receives the light projected from the floodlight.
It is a threshold value setting method in a label printing apparatus provided with.
In a state where the continuous paper does not exist between the floodlight and the receiver, it is the first threshold value for the amount of light received by the receiver, and the floodlight and the receiver are used regardless of the type of the continuous paper. The first threshold used to determine if there is a continuous sheet of paper in between is set.
When it is detected that the continuous paper exists between the floodlight and the light receiver by using the first threshold value, it is a second threshold value with respect to the received light amount, which is smaller than the first threshold value and is smaller than the first threshold value. Regardless of the type of continuous paper, the second threshold value used for determining whether the first portion or the second portion exists between the floodlight and the receiver is set.
When the first threshold is used to detect the presence of the first portion between the floodlight and the receiver, instead of the first threshold, the continuity between the floodlight and the receiver. The average value of the first light receiving amount at the receiver when there is no paper and the second light receiving amount at the receiver when the first portion is present between the floodlight and the receiver. It is set as a third threshold value used for determining whether or not the continuous paper exists between the floodlight and the receiver, and instead of the second threshold value, the second light receiving amount and the floodlight are used. The average value of the third light receiving amount in the receiver when the second portion is present between the receiver and the receiver, and the first portion or the second portion between the floodlight and the receiver. Set as the fourth threshold used to determine which of
Threshold setting method.
JP2020558819A 2018-12-10 2018-12-10 Label printing device, floodlight setting method and threshold setting method Active JP6970838B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/045371 WO2020121383A1 (en) 2018-12-10 2018-12-10 Label printing device, method for setting projected light amount, and method for setting threshold value

Publications (2)

Publication Number Publication Date
JPWO2020121383A1 true JPWO2020121383A1 (en) 2021-09-02
JP6970838B2 JP6970838B2 (en) 2021-11-24

Family

ID=71076852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020558819A Active JP6970838B2 (en) 2018-12-10 2018-12-10 Label printing device, floodlight setting method and threshold setting method

Country Status (2)

Country Link
JP (1) JP6970838B2 (en)
WO (1) WO2020121383A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11245926A (en) * 1998-03-02 1999-09-14 Matsushita Electric Ind Co Ltd Form detecting apparatus
JP2015224120A (en) * 2014-05-29 2015-12-14 株式会社沖データ Image forming apparatus
JP2016221763A (en) * 2015-05-28 2016-12-28 株式会社沖データ Medium conveyance device and image formation apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11245926A (en) * 1998-03-02 1999-09-14 Matsushita Electric Ind Co Ltd Form detecting apparatus
JP2015224120A (en) * 2014-05-29 2015-12-14 株式会社沖データ Image forming apparatus
JP2016221763A (en) * 2015-05-28 2016-12-28 株式会社沖データ Medium conveyance device and image formation apparatus

Also Published As

Publication number Publication date
JP6970838B2 (en) 2021-11-24
WO2020121383A1 (en) 2020-06-18

Similar Documents

Publication Publication Date Title
JP6803159B2 (en) Image forming device
US20160016418A1 (en) Sheet feeding apparatus
JPH07209951A (en) Apparatus for detection and correction of image transfer smear
US5216472A (en) Printer with paper supplying device
US6292649B1 (en) Continuous medium printing apparatus
JP6970838B2 (en) Label printing device, floodlight setting method and threshold setting method
US20070196115A1 (en) Image forming device
JP4559588B2 (en) Label printer
US10569574B2 (en) Method and system for enhancing throughput of thermal printer cutter
JPH07199609A (en) Image forming device
JPS5863487A (en) Paper feed controller for printer
US5122830A (en) Image recording apparatus having front/rear sheet face sensor
JPS6047910A (en) Detecting device of sizes of object to be conveyed
JP2538570B2 (en) Roll paper presence / absence detection device in electrophotographic apparatus
JP2008252384A (en) Image reading apparatus, control method of image reading apparatus, and control program of image reading apparatus
US9389549B2 (en) Image forming apparatus
JP4165811B2 (en) Image forming apparatus
JPS6071461A (en) Automatic roll-form transfer paper loader for picture forming device
JP2943297B2 (en) Electrophotographic image forming equipment
JPH04324433A (en) Retrieval device
CA2959359A1 (en) Variable length sheet printing using continuous substrates
JP3761449B2 (en) Data recording apparatus using photosensitive recording medium having external reporting function of conveyance operation abnormality
JPH02158874A (en) Information retrieving device
KR20070025630A (en) Method and apparatus for detecting paper mismatch in printing device
JPS5945465A (en) Recorder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210727

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210927

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: 20211026

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211029

R150 Certificate of patent or registration of utility model

Ref document number: 6970838

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150