JPH07325877A - Reader for mark - Google Patents
Reader for markInfo
- Publication number
- JPH07325877A JPH07325877A JP6118322A JP11832294A JPH07325877A JP H07325877 A JPH07325877 A JP H07325877A JP 6118322 A JP6118322 A JP 6118322A JP 11832294 A JP11832294 A JP 11832294A JP H07325877 A JPH07325877 A JP H07325877A
- Authority
- JP
- Japan
- Prior art keywords
- bar code
- information
- mark
- scanning
- reading
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 abstract description 32
- 238000010586 diagram Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 5
- 230000002457 bidirectional effect Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明はマークの読取装置に関
し、特に、マークの付された商品が、状況に応じた適正
な商品の姿勢であるか否かを判断することができるマー
クの読取装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mark reading device, and more particularly to a mark reading device capable of judging whether or not a marked product has an appropriate product attitude according to the situation. Regarding
【0002】[0002]
【従来の技術】商品の自動仕分け等をする場合、仕分け
情報を記載するマークとしてバーコードが用いられる。
バーコードを読み取るために、バーコードリーダが用い
られる。従来のバーコードリーダ4の構成を図7に示
す。従来のバーコードリーダ4は、読取部6、デコーダ
部8、出力部10から、概略、構成されている。2. Description of the Related Art When automatically sorting products, a bar code is used as a mark for describing sorting information.
A bar code reader is used to read the bar code. The structure of the conventional barcode reader 4 is shown in FIG. The conventional barcode reader 4 is roughly composed of a reading unit 6, a decoder unit 8 and an output unit 10.
【0003】商品18に付されたバーコード2(図8A
参照)に記載された情報は、光学的方法により読取り部
6に読み取られ、デコーダ部8において、所定の文字デ
ータにデコードされる。出力部10は、所定の文字デー
タにデコードされた内容情報を上位の処理装置(図示せ
ず)に出力する。上位の処理装置は、この内容情報をも
とにアクチュエータ(図示せず)等の動作を制御し、こ
れにより、商品の自動仕分けを行なう。The bar code 2 attached to the product 18 (see FIG. 8A
The information described in (Reference) is read by the reading unit 6 by an optical method, and is decoded into predetermined character data by the decoder unit 8. The output unit 10 outputs the content information decoded into predetermined character data to a higher-level processing device (not shown). The higher-level processing device controls the operation of an actuator (not shown) or the like based on this content information, and thereby automatically sorts the products.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、上記の
ような従来のバーコードリーダ4には、次のような問題
点があった。一般に、バーコードは、図8Bに示すよう
に、スタートコード12、内容情報を含むキャラクタ群
14、ストップコード16から構成され、この順に配置
されている。一方、図8A及び図9に示すように、バー
コードリーダ4の読取り方向(Y方向)は一定である場
合が多い。However, the conventional bar code reader 4 as described above has the following problems. In general, the barcode is composed of a start code 12, a character group 14 including content information, and a stop code 16, as shown in FIG. 8B, which are arranged in this order. On the other hand, as shown in FIGS. 8A and 9, the reading direction (Y direction) of the barcode reader 4 is often constant.
【0005】したがって、図8Aに示すように、商品1
8に付されたバーコード2が、正立状態である場合は、
バーコードリーダ4は、バーコード2を、スタートコー
ド12、キャラクタ群14、ストップコード16の順
(正順)に読取る。Therefore, as shown in FIG.
If the barcode 2 attached to 8 is in the upright state,
The bar code reader 4 reads the bar code 2 in the order of the start code 12, the character group 14, and the stop code 16 (regular order).
【0006】しかし、図9に示すように、誤って、商品
18がベルトコンベア20上に倒立状態で置かれた場合
は、バーコードリーダ4は、バーコード2を、ストップ
コード16、キャラクタ群14、スタートコード12の
順(逆順)に読取る。However, as shown in FIG. 9, when the commodity 18 is erroneously placed on the belt conveyor 20 in an inverted state, the bar code reader 4 outputs the bar code 2, the stop code 16, and the character group 14. , Start code 12 is read in the order (reverse order).
【0007】このような場合に備え、従来のバーコード
リーダ4は、読取り方向のいかんに拘らず、同一の内容
情報を出力するように構成されている。すなわち、読取
り方向が逆順であっても、デコーダ部8は、読取った情
報を内部で自動的に処理し、読取り方向が正順の場合と
同一の内容情報のみを出力する。In preparation for such a case, the conventional bar code reader 4 is configured to output the same content information regardless of the reading direction. That is, even if the reading direction is the reverse order, the decoder unit 8 automatically processes the read information internally and outputs only the same content information as when the reading direction is the normal order.
【0008】このように構成することにより、商品18
の正立、倒立に拘らず出力部10は常に同一の内容情報
を上位の処理装置に出力することができる。With this structure, the product 18
The output unit 10 can always output the same content information to a higher-order processing device regardless of whether the unit is upright or inverted.
【0009】しかしながら、商品によっては、倒立状態
で取扱われてもなんら問題のないものもあれば、必ず正
立状態で取扱われなければならないものもある。また、
梱包作業等、一定の作業工程においてのみ倒立状態で取
扱わなければならない場合もある。However, depending on the product, there is no problem even if it is handled in an inverted state, and there is a product that must always be handled in an upright state. Also,
In some cases, it may be necessary to handle the product in an inverted state only in certain work processes such as packing work.
【0010】このような場合、上述のように構成された
従来のバーコードリーダ4に接続された上位の処理装置
は、商品18の姿勢に拘らず同一の内容情報しか与えら
れないため、商品18の正立、倒立を判別することがで
きなかった。このため、正立状態で出荷しなければなら
ない商品18が、倒立状態のまま出荷されてしまう等、
不都合が生じていた。In such a case, since the higher-level processing device connected to the conventional bar code reader 4 having the above-mentioned structure is given the same content information regardless of the posture of the product 18, the product 18 It was not possible to distinguish between erect and inverted. For this reason, the product 18 that must be shipped in the upright state will be shipped in the inverted state.
There was an inconvenience.
【0011】このような不都合を回避するため、従来の
バーコードリーダ4の内容情報の出力に、逆順に読取り
が行われた旨の出力(逆順検知出力)を付加するよう構
成することも可能である。しかし、このように構成する
ことにより、商品18の正立、倒立を判別することが可
能となっても、バーコードリーダ自体は、商品18の姿
勢の適否まで判断することはできない。したがって、商
品18の姿勢の適否の判断は、上位の処理装置に委ねな
ければならない。In order to avoid such an inconvenience, it is possible to add an output (reverse order detection output) indicating that reading is performed in reverse order to the output of the content information of the conventional bar code reader 4. is there. However, with this configuration, even if it is possible to determine whether the product 18 is upright or inverted, the barcode reader itself cannot determine whether the product 18 is in the proper posture. Therefore, it is necessary to entrust the upper processing device to determine whether or not the posture of the product 18 is appropriate.
【0012】この場合、上位の処理装置は、各作業工程
における、又は、商品の性質による適正な姿勢を把握
し、倒立が許容されない作業工程においては、逆順検知
出力を受けなかった場合にのみ、この商品18の姿勢が
適正であると判断しなければならない。一方、正立が許
容されない作業工程に置いては、逆順検知出力を受けた
場合にのみ、この商品18の姿勢が適正であると判断し
なければならない。また、正立も倒立も許容される作業
工程においては、逆順検知出力を受けた場合にも、受け
なかった場合にも、この商品18の姿勢が適正であると
判断しなければならない。In this case, the upper processing device grasps the proper posture in each work process or in the work process depending on the property of the product, and in the work process in which the inversion is not allowed, only when the reverse order detection output is not received. It must be judged that the posture of the product 18 is proper. On the other hand, in the work process where erecting is not allowed, it is necessary to judge that the posture of the product 18 is proper only when the reverse order detection output is received. Further, in a work process in which both upright and upside down are allowed, it is necessary to judge that the posture of the product 18 is proper regardless of whether or not the reverse order detection output is received.
【0013】すなわち、上位の処理装置は、あらかじめ
与えられた、各作業工程における、又は、商品18の性
質による適正な姿勢についての情報と、バーコードリー
ダから出力される逆順検知出力に基づき、商品18の種
類に応じて、また、作業工程に応じて、商品18の倒立
又は正立を許容するか否かの判断を行わなければならな
い。このため、バーコードリーダに接続された上位の処
理装置の判断負担が増加する。That is, the higher-level processing device, based on the information given in advance about the proper posture in each work step or according to the property of the product 18 and the reverse order detection output output from the bar code reader, Depending on the type of 18 and the work process, it is necessary to determine whether to allow the product 18 to be inverted or upright. Therefore, the burden of judgment on the upper processing device connected to the barcode reader increases.
【0014】この発明は、このような従来のバーコード
リーダ等マークの読取装置を改善し、商品の種類に応じ
た、また、作業工程に応じた適正な商品の姿勢であるか
否かを判断することができる、マークの読取装置を提供
することを目的とする。The present invention improves such a conventional mark reading device such as a bar code reader, and determines whether or not the posture of the product is appropriate according to the type of product and the work process. It is an object of the present invention to provide a mark reading device capable of performing.
【0015】[0015]
【課題を解決するための手段】請求項1のマークの読取
装置は、開始情報、内容情報及び終了情報を有するマー
クから、各情報を読み取るマークの読取装置において、
マークに対する走査により、マークから開始情報、内容
情報及び終了情報を読み取り、読み取った各情報を保持
する走査読取り手段、走査読取り手段の走査方向及び各
情報の読取り順序からマークの方向を判断する方向判断
手段、マークについて一以上の指定方向を設定する指定
方向設定手段、マークの方向が、指定方向と一致するか
否かを判定し、一致する場合は内容情報を出力し、一致
しない場合は、不一致信号を出力する出力制御手段を備
えたことを特徴とする。According to a first aspect of the present invention, there is provided a mark reading device for reading each information from a mark having start information, content information and end information.
By scanning the mark, the start information, the content information and the end information are read from the mark, the scanning reading means for holding each read information, the scanning direction of the scanning reading means and the direction determination for judging the mark direction from the reading order of each information Means, mark direction setting means for setting one or more specified directions, mark direction is judged whether it matches the specified direction, if they match, the content information is output, and if they do not match, they do not match It is characterized by comprising an output control means for outputting a signal.
【0016】[0016]
【作用】請求項1のマークの読取装置は、走査読取り手
段の走査方向及び各情報の読取り順序からマークの方向
を判断する方向判断手段、マークについて一以上の指定
方向を設定する指定方向設定手段、マークの方向が、指
定方向と一致するか否かを判定し、一致する場合は内容
情報を出力し、一致しない場合は、不一致信号を出力す
る出力制御手段を備えたことを特徴とする。したがっ
て、マークの読取装置がマークの方向を判断することが
できる。また、マークが付された商品の種類に応じた、
又は、作業工程に応じた適正な商品の姿勢を指定するこ
とができる。このため、マークの方向が指定方向と一致
しない場合は、不一致信号を出力することができる。ま
た、商品に二以上のマークを付する場合、データの種類
に対応させてマークの方向を定めておけば、指定方向に
一致する方向のマークの内容情報のみを出力することが
できる。According to another aspect of the present invention, there is provided a mark reading device, a direction determining means for determining the direction of the mark from the scanning direction of the scanning and reading means and the reading order of each information, and a designated direction setting means for setting one or more designated directions for the mark. It is characterized in that it is provided with an output control means for judging whether or not the direction of the mark coincides with the designated direction, outputting the content information when the direction coincides, and outputting the non-coincidence signal when the direction does not coincide. Therefore, the mark reading device can determine the direction of the mark. Also, depending on the type of product with the mark,
Alternatively, the proper attitude of the product can be designated according to the work process. Therefore, when the mark direction does not match the designated direction, the mismatch signal can be output. In addition, when two or more marks are attached to a product, if the mark direction is determined according to the type of data, only the content information of the mark in the direction matching the designated direction can be output.
【0017】[0017]
【実施例】図1に、この発明の一実施例によるマークの
読取装置であるバーコードリーダ30の構成を示す。走
査読取り手段32は、マークであるバーコード2に対す
る走査により、バーコード2から開始情報であるスター
トコード12、内容情報を含むキャラクタ群14及び終
了情報であるストップコード16(図8B参照)を読み
取り、読み取った各情報を所定の形式に変換したのち保
持する。方向判断手段34は、走査読取り手段32の走
査方向及び各情報の読取り順序からバーコード2の方向
を判断する。指定方向設定手段36は、バーコード2に
ついて一以上の指定方向を設定する。出力制御手段38
は、方向判断手段34により判断されたバーコード2の
方向が、指定方向設定手段36により設定された指定方
向と一致するか否かを判定し、一致する場合は走査読取
り手段32に保持されている内容情報を出力し、一致し
ない場合は、不一致信号を出力する。1 shows the construction of a bar code reader 30 which is a mark reading apparatus according to an embodiment of the present invention. The scanning reading means 32 scans the bar code 2 which is a mark to read a start code 12 which is start information, a character group 14 which includes content information and a stop code 16 which is end information (see FIG. 8B) from the bar code 2. The read information is converted into a predetermined format and then stored. The direction judging means 34 judges the direction of the barcode 2 from the scanning direction of the scanning reading means 32 and the reading order of each information. The designated direction setting means 36 sets one or more designated directions for the barcode 2. Output control means 38
Judges whether or not the direction of the bar code 2 judged by the direction judging means 34 matches the designated direction set by the designated direction setting means 36, and if they match, the scanning reading means 32 holds them. If the contents information does not match, a mismatch signal is output.
【0018】図2に、CPUを用いて図1の各手段を実
現した場合のハードウェア構成を示す。上述の走査読取
り手段32は、大略、スキャナ40、バーコード取込み
回路46、メモリ48及びCPU50から構成されてい
る。FIG. 2 shows a hardware configuration in the case where each unit of FIG. 1 is realized by using a CPU. The above-mentioned scanning and reading means 32 is generally composed of a scanner 40, a bar code capturing circuit 46, a memory 48 and a CPU 50.
【0019】スキャナ40は、バーコード2に対しレー
ザ光線を照射する照光手段である投光器42、バーコー
ド2からの反射光を受ける受光手段である受光器44を
有する。スキャナ40は、投光器42及び受光器44を
制御することにより、バーコードに記載された情報を読
取り、その情報をアナログ信号として出力する。The scanner 40 has a projector 42 which is an illuminating means for irradiating the bar code 2 with a laser beam and a light receiver 44 which is a light receiving means for receiving the reflected light from the bar code 2. The scanner 40 controls the light projector 42 and the light receiver 44 to read the information described in the barcode and outputs the information as an analog signal.
【0020】バーコード取込み回路46は、スキャナ4
0から出力されたアナログ信号を二値化信号に変換し、
メモリ48に送る。CPU50は、メモリ48からこの
二値化信号を取り出し、所定形式のデータに変換する。
メモリ48は、変換された所定形式のデータを走査読取
りデータとして、保持する。The bar code capture circuit 46 is used by the scanner 4
Convert the analog signal output from 0 to a binary signal,
Send to memory 48. The CPU 50 takes out the binarized signal from the memory 48 and converts it into data of a predetermined format.
The memory 48 holds the converted data in a predetermined format as scanning read data.
【0021】メモリ48は、上述の走査読取り手段32
の一部を構成する他、前述の指定方向設定手段36とし
ても機能する。また、メモリ48は、CPU50の処理
手順等を記憶する記憶媒体としても機能する。一方、C
PU50は、上述の走査読取り手段32の一部を構成す
る他、方向判断手段34及び出力制御手段38としても
機能する。The memory 48 is the scanning reading means 32 described above.
In addition to constituting a part of the above, it also functions as the designated direction setting means 36 described above. The memory 48 also functions as a storage medium that stores the processing procedure of the CPU 50 and the like. On the other hand, C
The PU 50 constitutes a part of the above-mentioned scanning and reading means 32, and also functions as the direction determining means 34 and the output control means 38.
【0022】入出力インターフェース52は、CPU5
0と外部機器との間で入出力信号を整合させるための回
路であり、センサ54(図3参照)の出力をCPU50
に入力するとともに、CPU50の出力を外部の上位処
理装置(図示せず)に伝達する。The input / output interface 52 is the CPU 5
0 is a circuit for matching input / output signals between an external device and an output of the sensor 54 (see FIG. 3) to the CPU 50.
And the output of the CPU 50 is transmitted to an external higher-level processing device (not shown).
【0023】次に、この実施例によるバーコードリーダ
30を商品の自動仕分けに使用する場合の動作を、図3
に基づいて説明する。図3に示すように、商品18はベ
ルトコンベア20の上にのせられ、図中X方向に移動し
ている。センサ54は、商品18が図中LーLを通過し
ている間、同期信号を、入出力インターフェース52を
介してCPU50(図2参照)に送る。CPU50は、
同期信号を受けると、スキャナ40を作動させ商品18
に付けられたバーコード2の読取り処理を行なう。な
お、本実施例において用いられているバーコードのコー
ド体系は、”ITF(Interleaved 2 of 5)”である。Next, the operation when the bar code reader 30 according to this embodiment is used for automatic sorting of products will be described with reference to FIG.
It will be described based on. As shown in FIG. 3, the product 18 is placed on the belt conveyor 20 and is moving in the X direction in the figure. The sensor 54 sends a synchronization signal to the CPU 50 (see FIG. 2) via the input / output interface 52 while the product 18 passes through L-L in the figure. CPU50
When the synchronization signal is received, the scanner 40 is activated and the product 18
The bar code 2 attached to the bar code 2 is read. The bar code system used in this embodiment is "ITF (Interleaved 2 of 5)".
【0024】図4は、この実施例によるバーコードリー
ダ30による読取り処理の流れを、CPU50側からみ
た場合のフローチャートである。図3及び図4を参照し
つつ、図2に基づいて、処理の流れを説明する。FIG. 4 is a flow chart when the flow of the reading process by the bar code reader 30 according to this embodiment is viewed from the CPU 50 side. The processing flow will be described based on FIG. 2 while referring to FIGS. 3 and 4.
【0025】CPU50は、センサ54(図3参照)か
らの同期信号入力を監視している。(図4、ステップS
2)。The CPU 50 monitors the synchronization signal input from the sensor 54 (see FIG. 3). (FIG. 4, step S
2).
【0026】同期信号入力を受けるとCPU50は、バ
ーコード取込み回路46及びスキャナ40を駆動するこ
とにより、バーコード2に記載された情報の取込みを行
う(図4、ステップS4)。情報の取込みは、スキャナ
40の走査方向(図3、Y方向)にしたがって行なわれ
る。したがって、図3の場合は、バーコード2の正順
(スタートコード12、キャラクタ群14、ストップコ
ード16の順、図8B参照)に情報の取込みが行なわれ
る。なお、商品18が図9のように倒立状態で置かれて
いる場合は、バーコード2の逆順(ストップコード1
6、キャラクタ群14、スタートコード12の順、図8
B参照)に情報の取込みが行なわれる。バーコード取込
み回路46は、取込まれた情報を、二値化信号に変換
し、メモリ48に送る。Upon receiving the synchronization signal input, the CPU 50 drives the bar code capturing circuit 46 and the scanner 40 to capture the information described in the barcode 2 (FIG. 4, step S4). Information is taken in according to the scanning direction of the scanner 40 (Y direction in FIG. 3). Therefore, in the case of FIG. 3, information is fetched in the normal order of the bar code 2 (start code 12, character group 14, stop code 16 in order, see FIG. 8B). When the product 18 is placed upside down as shown in FIG. 9, the barcode 2 is in the reverse order (stop code 1
6, character group 14, start code 12, in order, FIG.
Information is taken in (see B). The bar code capturing circuit 46 converts the captured information into a binary signal and sends it to the memory 48.
【0027】CPU50は、次に、バーコード2の解析
を行なう(図4、ステップS6)。バーコード2の解析
は、デコード処理と方向判断処理に分けることができ
る。まず、CPU50は、メモリ48からこの二値化信
号を取り出し、所定の形式のデータに変換した後、変換
されたデータを走査読取りデータとして、メモリ48
に、保持する。これがデコード処理である。走査読取り
データは、内容情報(本実施例においては、”678
9”)及び各情報の読取り順序(本実施例においては、
スタートコード12、キャラクタ群14、ストップコー
ド16の順、すなわち、”正順”)を主たる内容とす
る。The CPU 50 then analyzes the bar code 2 (FIG. 4, step S6). The analysis of the barcode 2 can be divided into a decoding process and a direction determination process. First, the CPU 50 takes out this binarized signal from the memory 48, converts it into data of a predetermined format, and then uses the converted data as scan read data in the memory 48.
To hold. This is the decoding process. The scanning read data is the content information (in the present embodiment, "678").
9 ") and the reading order of each information (in this embodiment,
The main contents are the order of the start code 12, the character group 14, and the stop code 16, that is, "regular order").
【0028】次に、CPU50は、スキャナ40の走査
方向及び情報の読取り順序(上述)から、読取られたバ
ーコード2の向き(すなわち、商品18の方向)を判断
する。これが、方向判断処理である。図3に示すよう
に、本実施例においては、バーコード2(すなわち、商
品18)が正立状態のときバーコード2の各情報がY方
向にスタートコード12、キャラクタ群14、ストップ
コード16の順(正順)に整列するよう、バーコード2
が構成されている。一方、本実施例においては、スキャ
ナ40の走査方向は、常にY方向である。したがって、
情報の読取り順序が、正順である場合、CPU50は、
バーコード2(すなわち、商品18)の方向は正立方向
であると判断する。一方、図9に示すような場合には、
情報の読取り順序が逆順となるため、CPU50は、バ
ーコード2(すなわち、商品18)の方向は、倒立方向
であると判断する。Next, the CPU 50 determines the direction of the read bar code 2 (that is, the direction of the product 18) from the scanning direction of the scanner 40 and the reading order of information (described above). This is the direction determination process. As shown in FIG. 3, in the present embodiment, when the bar code 2 (that is, the product 18) is in the upright state, the information of the bar code 2 includes the start code 12, the character group 14, and the stop code 16 in the Y direction. Bar code 2 so that it is arranged in order (normal order).
Is configured. On the other hand, in the present embodiment, the scanning direction of the scanner 40 is always the Y direction. Therefore,
When the information reading order is the normal order, the CPU 50
The direction of the barcode 2 (that is, the product 18) is determined to be the upright direction. On the other hand, in the case as shown in FIG.
Since the reading order of information is the reverse order, the CPU 50 determines that the direction of the barcode 2 (that is, the product 18) is the inverted direction.
【0029】CPU50は、次に、読取られたバーコー
ド2の方向が、指定方向と一致するか否かを判断する
(図4、ステップS8)。指定方向は、作業工程ごとに
定められたバーコード2(すなわち、商品18)の適正
な姿勢であり、指定方向設定手段36であるメモリ48
に、あらかじめ記憶されている。なお、本実施例におい
ては、指定方向として、”正立方向”、”倒立方向”、
又は”双方向”のいずれか一つを選択することができ
る。Next, the CPU 50 determines whether or not the direction of the read bar code 2 matches the designated direction (FIG. 4, step S8). The designated direction is a proper posture of the barcode 2 (that is, the product 18) determined for each work process, and is the memory 48 that is the designated direction setting means 36.
It is stored in advance. In this embodiment, the designated directions are "upright direction", "upside down direction",
Alternatively, either one of "bidirectional" can be selected.
【0030】読取られたバーコード2の方向が、指定方
向と一致する場合(本実施例においては、指定方向
を、”正立方向”または、”双方向”とした場合)、C
PU50は、メモリ48に保持されていた内容情報(”
6789”)を、入出力インターフェース52を介し
て、上位の処理装置に出力する(図4、ステップS1
4)。CPU50は、その後、制御をステップS2に戻
す。When the direction of the read bar code 2 coincides with the designated direction (in the present embodiment, the designated direction is "upright direction" or "bidirectional"), C
The PU 50 stores the content information ("" stored in the memory 48).
6789 ″) is output to the host processor via the input / output interface 52 (FIG. 4, step S1).
4). After that, the CPU 50 returns the control to step S2.
【0031】なお、本実施例においては、指定方向とし
て、”双方向”を設定した場合、上述の内容情報ととも
に、オプション出力として、読取られたバーコード2の
方向(”正立方向”または”倒立方向”)を出力するこ
ともできる。読取られたバーコード2の方向をも出力す
ることにより、上位の処理装置は、さらに高度の判断を
行なうことが可能になる。In this embodiment, when "bidirectional" is set as the designated direction, the direction of the read bar code 2 ("upright direction" or "as an option output" together with the above-mentioned content information is set. It is also possible to output the inverted direction "). By outputting the direction of the read barcode 2 as well, the higher-level processing device can make a higher-level judgment.
【0032】読取られたバーコード2の方向が、指定方
向と一致しない場合(本実施例においては、指定方向
を、”倒立方向”とした場合)、CPU50は、センサ
54から同期入力があることを条件に、バーコードの取
込み以後の動作を繰り返す(図4、ステップS4〜S1
0)。When the direction of the read bar code 2 does not match the designated direction (in the present embodiment, the designated direction is the "inverted direction"), the CPU 50 has a synchronous input from the sensor 54. The operation after the bar code is captured is repeated under the condition (step S4 to S1 in FIG. 4).
0).
【0033】この間にセンサ54からの同期入力がなく
なれば、バーコードの取込みを終了し、不一致信号を入
出力インターフェース52を介して、上位の処理装置に
出力する(図4、ステップS12)。CPU50は、そ
の後、同期入力の監視状態に制御を戻す(図4、ステッ
プS2)。If the synchronization input from the sensor 54 disappears during this time, the bar code acquisition is terminated and the non-coincidence signal is output to the host processor via the input / output interface 52 (FIG. 4, step S12). After that, the CPU 50 returns the control to the monitoring state of the synchronous input (FIG. 4, step S2).
【0034】このように、このバーコードリーダ30に
よれば、バーコードリーダ30がバーコード2の方向を
判断することができる。また、バーコード2が付された
商品18の種類に応じた、又は、作業工程に応じた適正
な商品18の姿勢を指定することができる。このため、
バーコード2の方向が指定方向と一致しない場合は、不
一致信号を出力することができる。すなわち、バーコー
ド2が付された商品18の種類に応じた、又は、作業工
程に応じた適正な商品の姿勢であるか否かを判断するこ
とができる。As described above, according to the bar code reader 30, the bar code reader 30 can determine the direction of the bar code 2. Further, it is possible to specify an appropriate posture of the product 18 according to the type of the product 18 with the barcode 2 or according to the work process. For this reason,
When the direction of the bar code 2 does not match the designated direction, a mismatch signal can be output. That is, it is possible to determine whether or not the posture of the product 18 is appropriate according to the type of the product 18 to which the barcode 2 is attached or according to the work process.
【0035】また、このバーコードリーダ30を使用す
ることにより、商品18自体が、必ず一定方向の状態で
ベルトコンベア20上に置かれていることが保証される
作業工程の下では、商品18に付されたバーコード2の
方向の誤りを検知することが可能となる。すなわち、商
品18に、誤って上下逆方向にバーコード2が付されて
いる場合、これを検知することができる。したがって、
誤って逆に貼られたバーコード2を貼り替えることによ
り、後の工程での不都合を回避することができる。Further, by using this bar code reader 30, the product 18 itself is guaranteed to be placed on the belt conveyor 20 in a certain direction without fail. It is possible to detect an error in the direction of the attached barcode 2. That is, when the bar code 2 is mistakenly attached to the product 18 in the upside-down direction, this can be detected. Therefore,
By inadvertently replacing the reversely attached barcode 2, it is possible to avoid inconvenience in a later process.
【0036】なお、この実施例の説明においては、上述
のように、商品18に一つのバーコード2のみが付され
ているとき、そのバーコード2の方向が、所望の方向で
あるか否かを判断させる場合について説明したが、この
実施例のバーコードリーダ30の用途はこれに限るもの
ではない。商品18に二以上のバーコードを付する場合
には、次のような用途にも適用できる。In the description of this embodiment, as described above, when only one bar code 2 is attached to the product 18, whether or not the direction of the bar code 2 is the desired direction. However, the use of the barcode reader 30 of this embodiment is not limited to this. When the product 18 is provided with two or more barcodes, it can be applied to the following uses.
【0037】図5は、第一バーコード62、第二バーコ
ード64、第三バーコード66、第四バーコード68、
第五バーコード70を有するラベル60の構成を示す図
である。図5に示すように、五つのバーコード62〜7
0のうち、第四バーコード68のみが倒立方向に配置さ
れており、他の四つのバーコードは、全て正立方向に配
置されている。FIG. 5 shows the first bar code 62, the second bar code 64, the third bar code 66, the fourth bar code 68,
It is a figure which shows the structure of the label 60 which has the 5th barcode 70. As shown in FIG. As shown in FIG. 5, five barcodes 62-7
Of 0, only the fourth barcode 68 is arranged in the upright direction, and the other four barcodes are all arranged in the upright direction.
【0038】したがって、上述のバーコードリーダ30
において、指定方向を、”倒立方向”に設定すると、バ
ーコードリーダ30は、指定方向と一致する第四バーコ
ード68の内容情報のみを出力する。Therefore, the bar code reader 30 described above is used.
In, when the designated direction is set to the “inverted direction”, the barcode reader 30 outputs only the content information of the fourth barcode 68 that matches the designated direction.
【0039】このように、商品18に二以上のバーコー
ド62〜70を付する場合、データの種類に対応させて
バーコードの方向を定めておけば、指定方向に一致する
方向のバーコードの内容情報のみを出力することができ
る。このため、二以上のバーコードのうち、特定種類の
データが記載されたバーコードについてのみ、読取り処
理を行うことができる。As described above, when two or more bar codes 62 to 70 are attached to the product 18, if the bar code direction is determined in accordance with the type of data, the bar code of the direction matching the designated direction can be obtained. Only the content information can be output. Therefore, of the two or more barcodes, the reading process can be performed only on the barcode in which the specific type of data is described.
【0040】なお、図5には、一のラベル60に複数の
バーコード62〜70を記載した例にを示したが、本実
施例は、一のラベルに一のバーコードを記載したもの
を、複数、商品18に付する場合にも、同様に適用する
ことができる。Although FIG. 5 shows an example in which a plurality of bar codes 62 to 70 are described on one label 60, this embodiment shows a case where one bar code is described on one label. The same can be applied when a plurality of items are attached to the product 18.
【0041】また、上述の実施例においては、図3に示
すように、スキャナ40の走査方向は、常に一定方向
(Y方向)であるとしたが、本発明はこれに限定される
ものではない。例えば、走査方向が、Y方向、Y方向と
直交する方向及びY方向と45度をなす方向の三方向で
あるような多方向走査型バーコードリーダにも適用する
ことができる。Further, in the above-described embodiment, as shown in FIG. 3, the scanning direction of the scanner 40 is always a constant direction (Y direction), but the present invention is not limited to this. . For example, the present invention can be applied to a multi-direction scanning bar code reader in which the scanning directions are three directions, that is, the Y direction, the direction orthogonal to the Y direction, and the direction forming 45 degrees with the Y direction.
【0042】本発明を、多方向走査型バーコードリーダ
に適用することにより、商品18の方向が、正立方向で
あるか倒立方向であるかのみならず、右横方向、左横方
向または斜め方向であるか否かをも判断することが可能
となる。このため、商品18が多様な姿勢を要求され
る、複雑な作業工程においても、工程ごとに適正な商品
の姿勢であるか否かを判断することが可能となる。By applying the present invention to a multi-directional scanning bar code reader, not only the direction of the product 18 is the upright direction or the inverted direction, but also the right lateral direction, the left lateral direction or the diagonal direction. It is also possible to determine whether or not the direction. For this reason, even in a complicated work process in which the product 18 is required to have various attitudes, it is possible to judge whether or not the product 18 has a proper attitude for each process.
【0043】また、前述の実施例の場合同様、多方向走
査型バーコードリーダを、二以上のバーコードを読取る
用途に適用することができる。図6は、第一バーコード
62、第二バーコード64、第三バーコード66を有す
るラベル80の構成を示す図である。図6に示すよう
に、第一バーコード62は正立方向(0゜)に、第二バ
ーコード64は、第一バーコード62に対し斜め方向
(−45゜)に、第三バーコード66は、第一バーコー
ド62に対し直交方向(−90゜)に、それぞれ配置さ
れている。As in the case of the above-mentioned embodiment, the multi-directional scanning bar code reader can be applied to the purpose of reading two or more bar codes. FIG. 6 is a diagram showing the configuration of the label 80 having the first barcode 62, the second barcode 64, and the third barcode 66. As shown in FIG. 6, the first bar code 62 is in the upright direction (0 °), the second bar code 64 is in an oblique direction (−45 °) with respect to the first bar code 62, and the third bar code 66 is. Are arranged in a direction (−90 °) orthogonal to the first barcode 62.
【0044】したがって、この多方向走査型バーコード
リーダにおいて、指定方向を、例えば、”斜め方向(−
45゜)”に設定すると、多方向走査型バーコードリー
ダは、指定方向と一致する第二バーコード64の内容情
報のみを出力する。Therefore, in this multi-directional scanning bar code reader, the designated direction is, for example, "oblique direction (-
45 °) ”, the multi-directional scanning bar code reader outputs only the content information of the second bar code 64 which coincides with the designated direction.
【0045】このように、商品18に二以上のバーコー
ド62、64、66を付する場合、データの種類に対応
させてバーコードの方向(図6の例では、0゜、−45
゜、−90゜)を定めておけば、指定方向に一致する方
向のバーコードの内容情報のみを出力することができ
る。このため、前述の実施例同様、二以上のバーコード
のうち、特定種類のデータが記載されたバーコードにつ
いてのみ、読取り処理を行うことができる。As described above, when two or more bar codes 62, 64, 66 are attached to the product 18, the bar code direction (0 °, -45 in the example of FIG. 6) is set according to the type of data.
.Degree., -90.degree.), It is possible to output only the content information of the bar code in the direction corresponding to the designated direction. Therefore, similar to the above-described embodiment, the reading process can be performed only on the bar code in which the specific type of data is described among the two or more bar codes.
【0046】また、図6に示す例の他、本実施例は、前
述の実施例同様、一のラベルに一のバーコードを記載し
たものを、複数、異なる方向に商品18に付する場合に
も適用することができる。Further, in addition to the example shown in FIG. 6, this embodiment is similar to the above-described embodiment, in the case where a plurality of products in which one bar code is described on one label is attached to the product 18 in different directions. Can also be applied.
【0047】なお、前述の各実施例においては、走査読
取り手段32、方向判断手段34、出力制御手段38と
して、CPU50を用いたが、その一部又は全部をハー
ドウェアロジックにより構成することもできる。Although the CPU 50 is used as the scanning / reading means 32, the direction determining means 34, and the output control means 38 in the above-described embodiments, a part or all of the CPU 50 can be configured by hardware logic. .
【0048】また、読み取りの対象であるバーコードの
コード体系として”ITF”を例に説明したが、本発明
はこれに限るものではなく”コード39”、”JANコ
ード”、”CODE128”その他あらゆる体系のバー
コードに対して適用することができる。Although "ITF" has been described as an example of the bar code system to be read, the present invention is not limited to this, and "Code 39", "JAN code", "CODE128" and all other types. Applicable to system barcodes.
【0049】さらに、本発明は、バーコードリーダにの
み適用されるものではなく、物品の表面に情報を凹凸で
表示した立体マーク、磁気で表示した磁気マーク、その
他のマークの読取装置に適用することができる。すなわ
ち、開始情報、内容情報及び終了情報を有するマークか
ら、これらの情報を読み取るマークの読取装置一般に適
用される。Furthermore, the present invention is not applied only to a bar code reader, but is also applied to a reading device for a solid mark in which information is unevenly displayed on the surface of an article, a magnetic mark in which it is magnetically displayed, and other marks. be able to. That is, the present invention is generally applied to a mark reading apparatus that reads information from a mark having start information, content information, and end information.
【0050】[0050]
【発明の効果】請求項1のマークの読取装置は、走査読
取り手段の走査方向及び各情報の読取り順序からマーク
の方向を判断する方向判断手段、マークについて一以上
の指定方向を設定する指定方向設定手段、マークの方向
が、指定方向と一致するか否かを判定し、一致する場合
は内容情報を出力し、一致しない場合は、不一致信号を
出力する出力制御手段を備えたことを特徴とする。According to the first aspect of the present invention, there is provided a mark reading device which determines a direction of a mark based on a scanning direction of the scanning reading means and a reading order of each information, and a designated direction which sets one or more designated directions for the mark. It is characterized in that the setting means and output control means for judging whether or not the direction of the mark matches the designated direction, outputting the content information when they match, and outputting a mismatch signal when they do not match, To do.
【0051】したがって、マークの読取装置がマークの
方向を判断することができる。また、マークが付された
商品の種類に応じた、又は、作業工程に応じた適正な商
品の姿勢を指定することができる。このため、マークの
方向が指定方向と一致しない場合は、不一致信号を出力
することができる。すなわち、マークが付された商品の
種類に応じた、又は、作業工程に応じた適正な商品の姿
勢であるか否かを判断することができる。Therefore, the mark reading device can determine the mark direction. Further, it is possible to specify a proper attitude of the product according to the type of the marked product or the working process. Therefore, when the mark direction does not match the designated direction, the mismatch signal can be output. That is, it is possible to determine whether or not the product has an appropriate attitude according to the type of the marked product or the working process.
【0052】また、商品に二以上のマークを付する場
合、データの種類に対応させてマークの方向を定めてお
けば、指定方向に一致する方向のマークの内容情報のみ
を出力することができる。したがって、二以上のマーク
のうち、特定種類のデータが記載されたマークについて
のみ、読取り処理を行うことができる。When two or more marks are attached to a product, if the mark direction is determined according to the type of data, only the mark content information in the direction that matches the designated direction can be output. . Therefore, of the two or more marks, the reading process can be performed only on the mark in which the specific type of data is written.
【図1】この発明の一の実施例によるバーコードリーダ
の構成を示す図面である。FIG. 1 is a diagram showing a configuration of a bar code reader according to an embodiment of the present invention.
【図2】この発明の一の実施例によるバーコードリーダ
のハードウェア構成を示す図面である。FIG. 2 is a drawing showing a hardware configuration of a bar code reader according to an embodiment of the present invention.
【図3】この発明の一の実施例によるバーコードリーダ
を用いた商品の自動仕分けの様子を示す図面である。FIG. 3 is a diagram showing a state of automatic sorting of products using a barcode reader according to an embodiment of the present invention.
【図4】この発明の一の実施例によるバーコードリーダ
による読取り処理の流れを示すフローチャートである。FIG. 4 is a flowchart showing a flow of a reading process by a barcode reader according to an embodiment of the present invention.
【図5】この発明の一の実施例によるバーコードリーダ
による読取り処理に使用されるバーコードの一の例を示
す図面である。FIG. 5 is a diagram showing an example of a barcode used in a reading process by a barcode reader according to an embodiment of the present invention.
【図6】この発明の他の実施例によるバーコードリーダ
による読取り処理に使用されるバーコードの一の例を示
す図面である。FIG. 6 is a diagram showing an example of a barcode used in a reading process by a barcode reader according to another embodiment of the present invention.
【図7】従来のバーコードリーダの構成を示す図面であ
る。FIG. 7 is a diagram showing a configuration of a conventional barcode reader.
【図8】、FIG. 8
【図9】従来のバーコードリーダによる商品の自動仕分
けの様子を示す図面である。FIG. 9 is a diagram showing a state of automatic sorting of products by a conventional barcode reader.
2・・・・・・バーコード 32・・・・・走査読取り手段 34・・・・・方向判断手段 36・・・・・指定方向設定手段 38・・・・・出力制御手段 2 ... Bar code 32 ... Scan reading means 34 ... Direction determination means 36 ... Designated direction setting means 38 ... Output control means
Claims (1)
マークから、前記各情報を読み取るマークの読取装置に
おいて、 前記マークに対する走査により、前記マークから前記開
始情報、前記内容情報及び前記終了情報を読み取り、読
み取った前記各情報を保持する走査読取り手段、 前記走査読取り手段の走査方向及び前記各情報の読取り
順序から前記マークの方向を判断する方向判断手段、 前記マークについて一以上の指定方向を設定する指定方
向設定手段、 前記マークの方向が、前記指定方向と一致するか否かを
判定し、一致する場合は前記内容情報を出力し、一致し
ない場合は、不一致信号を出力する出力制御手段、 を備えたことを特徴とするマークの読取装置。1. A mark reading device for reading each of the above information from a mark having start information, content information and end information, wherein the start information, the content information and the end information are read from the mark by scanning the mark. Scanning and reading means for reading and holding each of the read information, direction determining means for determining the direction of the mark from the scanning direction of the scanning and reading means and the reading order of each of the information, and setting one or more designated directions for the mark Designated direction setting means, the direction of the mark is determined whether or not to match the designated direction, if they match, the content information is output, if not, output control means for outputting a mismatch signal, A mark reading device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6118322A JPH07325877A (en) | 1994-05-31 | 1994-05-31 | Reader for mark |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6118322A JPH07325877A (en) | 1994-05-31 | 1994-05-31 | Reader for mark |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07325877A true JPH07325877A (en) | 1995-12-12 |
Family
ID=14733806
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6118322A Pending JPH07325877A (en) | 1994-05-31 | 1994-05-31 | Reader for mark |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07325877A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020062074A (en) * | 2018-10-15 | 2020-04-23 | Phcホールディングス株式会社 | Chemical orientation determination device, chemical orientation determination method, and chemical orientation determination program |
| JP2023143989A (en) * | 2017-11-08 | 2023-10-06 | 株式会社湯山製作所 | equipment and programs |
-
1994
- 1994-05-31 JP JP6118322A patent/JPH07325877A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2023143989A (en) * | 2017-11-08 | 2023-10-06 | 株式会社湯山製作所 | equipment and programs |
| JP2024107144A (en) * | 2017-11-08 | 2024-08-08 | 株式会社湯山製作所 | Apparatus and program |
| JP2020062074A (en) * | 2018-10-15 | 2020-04-23 | Phcホールディングス株式会社 | Chemical orientation determination device, chemical orientation determination method, and chemical orientation determination program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5128527A (en) | Apparatus for reading a bar code | |
| US5296690A (en) | System for locating and determining the orientation of bar codes in a two-dimensional image | |
| EP0449634B1 (en) | Omnidirectional bar code reader | |
| EP0757325A2 (en) | Method and apparatus for capturing a decodable representation of a 2D bar code symbol using a hand-held reader having a 1D image sensor | |
| JPH01500937A (en) | Barcode data automatic discrimination method and device | |
| JPH07325877A (en) | Reader for mark | |
| CN109308430B (en) | Decoding color bar codes | |
| JP3485592B2 (en) | Bar code reading device and its reading test device | |
| JPH08263585A (en) | Code reader | |
| JPH03103995A (en) | Stationary type bar-code scanner | |
| JPH07319993A (en) | Mark reader | |
| JP3557420B2 (en) | Barcode reader | |
| JPH03271880A (en) | Bar code reader | |
| JP3554867B2 (en) | Barcode data processing device | |
| JP2732914B2 (en) | Barcode reader | |
| JPH08320906A (en) | Bar code data processor | |
| JP3606228B2 (en) | Bar code reader | |
| JP2000076376A (en) | Manual scanning bar code reader | |
| JPH10143595A (en) | Separate electronic devices | |
| JPS60159976A (en) | Bar code reading device | |
| JPH01270182A (en) | Product information reading processing device | |
| JPH0454527Y2 (en) | ||
| JP2751641B2 (en) | Barcode reader | |
| JPH07234916A (en) | Device and method for reading mark | |
| JPH0449477A (en) | Bar code reader |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20040105 |