Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0532797B2 - - Google Patents
[go: Go Back, main page]

JPH0532797B2 - - Google Patents

Info

Publication number
JPH0532797B2
JPH0532797B2 JP62223745A JP22374587A JPH0532797B2 JP H0532797 B2 JPH0532797 B2 JP H0532797B2 JP 62223745 A JP62223745 A JP 62223745A JP 22374587 A JP22374587 A JP 22374587A JP H0532797 B2 JPH0532797 B2 JP H0532797B2
Authority
JP
Japan
Prior art keywords
denomination
banknote
discrimination
counting
banknotes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP62223745A
Other languages
Japanese (ja)
Other versions
JPS6465683A (en
Inventor
Hideyuki Hibari
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.)
Laurel Bank Machine Co Ltd
Original Assignee
Laurel Bank Machine Co 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 Laurel Bank Machine Co Ltd filed Critical Laurel Bank Machine Co Ltd
Priority to JP62223745A priority Critical patent/JPS6465683A/en
Publication of JPS6465683A publication Critical patent/JPS6465683A/en
Publication of JPH0532797B2 publication Critical patent/JPH0532797B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、ホルダに装填された紙幣を吸引軸に
吸着させて一枚ずつめくり取りながら金種判別す
るようになされた紙幣計数機に関するものであ
る。
[Detailed Description of the Invention] "Industrial Application Field" The present invention relates to a banknote counting machine that distinguishes the denomination of banknotes loaded in a holder by attracting them to a suction shaft and turning over the banknotes one by one. It is.

「従来の技術」 従来、この種の紙幣計数機として、特開昭55−
69885号公報に示す「紙葉類計数機の異種券判別
装置」がある。
"Conventional technology" Conventionally, this type of banknote counting machine was
There is a ``device for discriminating different types of bills in a paper sheet counting machine'' disclosed in Publication No. 69885.

この「紙葉類計数機の異種券判別装置」は、ホ
ルダに装填された紙葉類(紙幣)を吸引軸に吸着
させて一枚ずつめくり取りながら金種判別して、
その合計金額を計算して表示または印字できるよ
うになしたものである。
This "different types of bill discriminating device for paper sheet counting machine" distinguishes the denomination of paper sheets (banknotes) loaded in a holder by attracting them to a suction shaft and turning them over one by one.
The total amount can be calculated and displayed or printed.

「発明が解決しようとする問題点」 ところで、上記のように構成された紙幣計数機
においては、金種判別不能時には計数が途中で終
了されてしまい、その場合には、再度始めから金
種判別をやり直す必要があつた。
"Problems to be Solved by the Invention" By the way, in the banknote counting machine configured as described above, counting ends midway when the denomination cannot be determined, and in that case, the denomination must be determined from the beginning again. I had to redo it.

さらに、この再度の金種判別時に、再び途中流
量となつた場合には、判別異常紙幣を取り除いた
状態で残りの紙幣についての金額計算を行い、こ
の金額計算値に、取り除いた判別異常紙幣の金額
値を加算することによる合計金額を算出してい
た。
Furthermore, when the denomination is judged again, if the flow rate becomes midway again, the amount of the remaining banknotes is calculated with the abnormally recognized banknote removed, and this amount calculation value is added to the amount of the removed abnormally recognized banknote. The total amount was calculated by adding the monetary values.

また、上記の紙幣計数機では、金種判別は紙幣
の高さに基づいて行われており、現行紙幣のよう
に同一高さの紙幣では金種判別が不能となつてし
まう。
Further, in the above-mentioned banknote counting machine, the denomination is determined based on the height of the banknote, and it becomes impossible to determine the denomination for banknotes of the same height, such as current banknotes.

そこで、紙幣の判別機能を、紙幣の表面パター
ンを読み取つて金種判別を行うようにすれば良い
が、紙幣の表面パターンから金種判別を行うよう
にすると、紙幣自体の汚れ、破れなどにより金種
判別不能に陥ることが多くなり、上記に紙幣計数
機の判別機構を変更しただけでは、金種判別不能
時の途中終了が多くなるだけで、前記したように
再度始めから金種判別をやり直すようにすること
は、操作性の上で非常に煩わしさがあつた。
Therefore, it would be better to have a banknote discrimination function that reads the surface pattern of the banknote to determine the denomination type. However, if the banknote surface pattern is used to determine the denomination type, the banknote itself may become dirty or torn. It often becomes impossible to distinguish the denomination, and simply changing the discriminating mechanism of the banknote counting machine as described above will only result in many premature terminations when the denomination cannot be distinguished, and as mentioned above, the denomination discrimination will have to be restarted from the beginning. Doing so was extremely troublesome in terms of operability.

この発明は、上記事情に鑑みてなされたもので
あつて、判別異常時に吸引軸による紙幣のめくり
取り動作を中断せしめるとともに、この中断時に
判別異常紙幣の金種を確認してその金種を入力す
ることにより、中断時点からの紙幣のめくり取り
金種判別動作を自動的に再開することが可能で、
且つ、吸引軸のめくり取り動作中に出力される金
種情報と、中断時に入力される金種情報とに基づ
いて、ホルダの装填される紙幣の合計金額を計算
することが可能な紙幣計数機を提供することを目
的とするものである。
This invention has been made in view of the above circumstances, and includes interrupting the bill turning operation by a suction shaft in the event of an abnormality in discrimination, and at the time of this interruption, confirming the denomination of the abnormally discriminated banknote and inputting the denomination. By doing so, it is possible to automatically resume the banknote flipping and denomination determination operation from the point of interruption.
and a banknote counting machine capable of calculating the total amount of banknotes loaded in the holder based on the denomination information output during the flipping operation of the suction shaft and the denomination information input at the time of interruption. The purpose is to provide the following.

「問題点を解決するための手段」 このような目的を達成するため、本発明は、ホ
ルダに装填された紙幣を吸引軸に吸着させて一枚
ずつめくり取りながら金種判別するようになされ
た紙幣計数機において、紙幣の表面パターンを読
み取り、この表面パターンを予め記憶された基準
データと比較することにより、この紙幣の金種を
判別して金種コードを出力する一方、金種判別不
能時には判別異常コードを出力する金種判別機能
と、この金種判別機能によつて出力される判別異
常コードに基づいて、前記吸引軸による紙幣のめ
くり取り動作を中断せしめるめくり取り阻止機能
と、このめくり取り阻止機能による中断時に、前
記判別異常紙幣と判別された紙幣を確認してその
金種を入力可能な確認機能と、この確認入力機能
によつて金種が入力・確認してその金種を入力可
能な確認入力機能と、この確認入力機能によつて
金種が入力・確認されると、前記めくり取り阻止
機能による中断を解除して、中断時点からの紙幣
のめくり取り金種判別動作を自動的に再開する継
続計数機能と、前記金種判別機能によつて出力さ
れる金種コードと、前記金種確認入力機能によつ
て入力されるセツト金種コードに基づいて、ホル
ダに装填される紙幣の合計金額を計算する金額計
算機能とを設けるようにしている。
``Means for Solving the Problems'' In order to achieve such an objective, the present invention is designed to distinguish the denominations of banknotes loaded in a holder by attracting them to a suction shaft and turning them over one by one. A banknote counting machine reads the surface pattern of a banknote and compares this surface pattern with pre-stored reference data to determine the denomination of the banknote and output a denomination code. a denomination discrimination function that outputs a discrimination error code; a peeling prevention function that interrupts the bill turning operation by the suction shaft based on the discrimination error code outputted by the denomination discrimination function; When the withdrawal prevention function is interrupted, there is a confirmation function that allows you to check the banknotes that have been identified as abnormal banknotes and input their denominations, and a confirmation input function that allows you to enter and confirm the denomination and enter the denomination. There is a confirmation input function that allows input, and when the denomination is input and confirmed using this confirmation input function, the interruption caused by the flipping prevention function is canceled and the bill flipping and denomination discrimination operation from the point of interruption is resumed. The holder is loaded based on the continuous counting function that restarts automatically, the denomination code output by the denomination discrimination function, and the set denomination code input by the denomination confirmation input function. An amount calculation function is provided to calculate the total amount of banknotes.

「作用」 この発明によれば、紙幣の金種判別異常時に判
別異常コードが出力されると、吸引軸による紙幣
のめくり取り動作が中断せしめられるとともに、
この中断時に判別異常紙幣の金種が確認されてそ
の金種コードがセツト(入力)されることによ
り、中断時点からの紙幣のめくり取り金種判別動
作が自動的に再開される。
"Function" According to the present invention, when a discrimination abnormality code is output when there is an abnormality in the denomination of banknotes, the operation of turning over the banknotes by the suction shaft is interrupted, and
At the time of this interruption, the denomination of the abnormal banknote is confirmed and its denomination code is set (input), so that the banknote flipping and denomination determination operation from the time of interruption is automatically restarted.

また、この金種確認入力時に入力されるセツト
金種コードと、吸引軸により一枚ずつめくり取ら
れる計数時に自動的に判別されて出力される金種
コードとに基づいて、ホルダに装填される紙幣の
合計金額が算出される。
Also, based on the set denomination code that is input when entering this denomination confirmation input and the denomination code that is automatically determined and output when the sheets are turned over one by one by the suction shaft and output, the holder is loaded. The total amount of banknotes is calculated.

「実施例」 以下、本発明を第1図〜第10図に示す一実施
例に基づいて説明する。
"Example" The present invention will be described below based on an example shown in FIGS. 1 to 10.

まず、第1図ないし第3図にしたがつて紙幣計
数機機構の構成を説明すれば、この計数機構は、
紙幣Sをホルダ1に載せてこのホルダ1を軸2を
中心として水平旋回させることにより、第1図実
線で示す計数位置、あるいは第1図鎖線で示す待
機位置に移動させ、ホルダ1が計数位置にあると
きに、回転筒3を軸4を中心として第1図反時計
方向に回転させながら、回転筒3上の吸引軸5を
軸6を中心として時計方向に回転させ、この吸引
軸5内に真空圧を作用させてホルダー1上の紙幣
Sを1枚ずつめくり取りながら計数を行なうとと
もに、後述する投光器から紙幣Sの表面に照射し
た光線の反射光を受光器で読取つて紙幣の判別を
行なうようにした基本構成となつている。
First, the structure of the banknote counting mechanism will be explained according to FIGS. 1 to 3.
By placing banknotes S on the holder 1 and horizontally rotating the holder 1 around the shaft 2, the banknotes S are moved to the counting position shown by the solid line in FIG. 1 or the standby position shown by the chain line in FIG. While rotating the rotary cylinder 3 in the counterclockwise direction in FIG. The banknotes S on the holder 1 are counted while being turned over one by one by applying vacuum pressure to the banknotes, and the banknotes are identified by reading the reflected light of the light rays irradiated onto the surface of the banknotes S from a projector, which will be described later, with a light receiver. The basic configuration is as follows.

前記ホルダー1には、紙幣Sを裏側(吸引軸5
の反対側)から支える台板1aが設けられ、この
台板1aの表面1bは、反射光レベルが低くなる
よう黒色系で形成されている。
The holder 1 has a banknote S on the back side (suction shaft 5
A base plate 1a is provided to support the base plate 1a from the opposite side), and the surface 1b of this base plate 1a is formed in a blackish color so as to reduce the level of reflected light.

前記回転筒3および吸引軸5の軸4,6は、第
3図に示すように中空状に形成されるとともに、
吸入管路7を介して真空ポンプ8の吸入ポート9
に接続されており、この真空ポンプ8の真空圧
が、前記吸引軸5の外周の一部に設けた開口部1
0を介して紙幣Sに作用することにより、吸引軸
5に紙幣Sが吸着されるようになつている。ま
た、前記吸入管路7の途中には圧力センサ11が
設けられており、この圧力センサ11によつて、
吸入管路7内の真空圧が紙幣を吸着し得る程度に
上昇したか否かが検出されるようになつている。
The shafts 4 and 6 of the rotary cylinder 3 and the suction shaft 5 are formed in a hollow shape as shown in FIG.
Suction port 9 of vacuum pump 8 via suction line 7
The vacuum pressure of this vacuum pump 8 is connected to the opening 1 provided in a part of the outer periphery of the suction shaft 5.
By acting on the banknotes S through the suction shaft 5, the banknotes S are attracted to the suction shaft 5. Further, a pressure sensor 11 is provided in the middle of the suction pipe line 7, and this pressure sensor 11 allows
It is detected whether the vacuum pressure within the suction pipe line 7 has risen to a level that can attract banknotes.

一方、前記真空ポンプ8の排気ポート12に
は、排気管路13が接続されており、この排気管
路13の先端には、紙幣Sの側面に排気を吹付け
て紙幣S相互の分離を容易にするための排気ノズ
ル14が設けられ、一方、排気管路13の途中に
は、紙幣の計数が行なわれていないときに排気を
放出口15に切換えて排気ノズル14からの騒音
の発生を防止するソレノイドバルブ16が設けら
れている。
On the other hand, an exhaust pipe 13 is connected to the exhaust port 12 of the vacuum pump 8, and the tip of the exhaust pipe 13 blows exhaust gas onto the sides of the banknotes S to facilitate separation of the banknotes S from each other. On the other hand, an exhaust nozzle 14 is provided in the middle of the exhaust pipe line 13 to switch the exhaust to a discharge port 15 when banknotes are not being counted to prevent the generation of noise from the exhaust nozzle 14. A solenoid valve 16 is provided.

また、前記吸引軸5のそれぞれには、第1図〜
第3図に示すように、一対の位置規制片5aが固
定されている。この位置規制片5aは、吸引軸5
の側面から突出し、かつ該吸引軸5の開口部10
を間に挾むように設けられたものであつて、開口
部10から外気が吸引されて吸引軸5に紙幣が吸
着された際に、紙幣を側方から支持して、該紙幣
の倒れあるいは折り曲がりを防止するようになつ
ている。そして、このように前記位置規制片5a
によつて、吸引軸5が吸着分離した紙幣の起立状
態を保つことにより、二重送りされているか否か
を検知する箇所(第1図において紙幣が吸着分離
された位置Sa)に、該紙幣の位置決めが行なわ
れるようになつている。
In addition, each of the suction shafts 5 has a structure shown in FIGS.
As shown in FIG. 3, a pair of position regulating pieces 5a are fixed. This position regulating piece 5a is connected to the suction shaft 5
The opening 10 of the suction shaft 5 protrudes from the side surface of the suction shaft 5.
When the outside air is sucked through the opening 10 and the bill is attracted to the suction shaft 5, it supports the bill from the side and prevents the bill from falling or folding. It is now possible to prevent In this way, the position regulating piece 5a
, the suction shaft 5 maintains the suction-separated banknote in an upright state, and the banknote is placed in the position where it is detected whether or not double feeding is being carried out (the position Sa where the banknote is suction-separated in FIG. 1). positioning is now performed.

また、前記回転筒3の外周には、磁性体からな
る作動片17が複数貼付されており、これらの作
動片17が磁気センサ18を作動させるか否かに
より各吸引軸5が待機位置(開口部10が紙幣に
正対しかつ吸引軸5内が真空ポンプ8と連通され
る位置)にあるか、あるいは開始位置(開口部1
0が紙幣に正対する直前の位置にあつて、かつ吸
引軸5内が真空ポンプ8から遮断される位置)に
あるかが検出されるようになつている。
Further, a plurality of actuation pieces 17 made of magnetic material are attached to the outer circumference of the rotary cylinder 3, and each suction shaft 5 is moved to a standby position (opening) depending on whether or not these actuation pieces 17 actuate the magnetic sensor 18. 10 is in the starting position (opening 1
0 is in the position just before directly facing the bill, and the inside of the suction shaft 5 is in a position where it is cut off from the vacuum pump 8.

なお、第3図において、符号19は回転筒3を
ベルト20を介して駆動する計数モータ、符号2
1は真空ポンプ8をベルト22を介して駆動する
ポンプモータ、符号23はホルダー1を旋回させ
るホルダーモータ、符号24Aおよび24Bは、
ホルダー1が閉位置(吸引軸5に接近した位置)
にあるか開位置(吸引軸5から離間した位置)に
あるかを検出するホルダー位置検出スイツチであ
る。
In addition, in FIG. 3, reference numeral 19 is a counting motor that drives the rotary cylinder 3 via a belt 20;
1 is a pump motor that drives the vacuum pump 8 via a belt 22; 23 is a holder motor that rotates the holder 1; 24A and 24B are
Holder 1 in closed position (position close to suction shaft 5)
This is a holder position detection switch that detects whether the holder is in the open position (a position away from the suction shaft 5).

更に、回転筒3の近傍には、セパレータ25が
設けられており、このセパレータ25は、軸26
に水平旋回自在に支持されるとともに、ばね27
によつて第1図反時計方向に付勢され、更に、バ
ツチソレノイド28に操作されて第1図時計方向
に旋回させられるようになつている。そして、こ
のセパレータ25は、後述するように異金種紙幣
を検出したときにすでにめくり取られた紙幣とま
だめくり取られていない紙幣との間に挿入されて
両者を分離させる機能(めくり取り阻止機能)を
有している。
Further, a separator 25 is provided near the rotary cylinder 3, and this separator 25 is connected to the shaft 26.
The spring 27
1 in the counterclockwise direction in FIG. 1, and is further operated by the batch solenoid 28 to turn it in the clockwise direction in FIG. 1. The separator 25 has a function (to prevent peeling) by being inserted between a banknote that has already been turned over and a banknote that has not yet been turned over when a banknote of a different denomination is detected, as will be described later. function).

次に、紙幣を束ねた帯封に確認印を押す押印機
構について第1図を参照して説明する。第1図に
おいて符号30で示されるものは、ホルダ1に設
けられた印鑑保持部材であつて、この印鑑保持部
材30によつて印鑑31が矢印イ−ロ方向に移動
自在に支持され、かつ紙幣Sに対して近接離間す
るように移動自在に支持されている。また、前記
ホルダ1の基端部には、ダイヤル32が設けられ
ており、このダイヤル32を回転させることによ
つて、前記印鑑31が矢印イ−ロ方向に移動し
て、印鑑31の捺印部31aが帯封Bに位置合わ
せされるようになつている。
Next, a stamping mechanism for stamping a confirmation stamp on a bundle of banknotes will be explained with reference to FIG. 1. 1 is a seal holding member provided in the holder 1, and the seal holding member 30 supports a seal 31 so as to be movable in the direction of the arrow E-L, and the seal holding member 30 supports the seal 31 movably in the direction of the arrow E-L. It is movably supported so as to be close to and away from S. Further, a dial 32 is provided at the base end of the holder 1, and by rotating this dial 32, the seal 31 moves in the direction of the arrow E-L, and the seal 31 is stamped on the seal 31. 31a is aligned with the band seal B.

また、ホルダ1を支持する基台上には、軸33
を中心として水平面内で回動する打撃アーム34
と、該打撃アーム34を回動させるソレノイド3
5とが設けられており、この打撃アーム34をソ
レノイド35の動作により回動させることによつ
て、該打撃アーム34の先端部が印鑑の後端部3
1bを後方から押圧して、該印鑑31の捺印部3
1aを帯封上に近接させ、これによつて帯封上に
捺印が行なわれるようにしている。
Further, on the base supporting the holder 1, there is a shaft 33.
A striking arm 34 that rotates in a horizontal plane around
and a solenoid 3 that rotates the striking arm 34.
5 is provided, and by rotating this striking arm 34 by the operation of a solenoid 35, the tip of the striking arm 34 is brought into contact with the rear end 3 of the stamp.
1b from the rear to seal the stamping part 3 of the seal 31.
1a is brought close to the band seal, thereby making it possible to stamp the band seal.

次に、前記吸引軸5によつてめくり取られた紙
幣の二重送り検出機構について第1図を参照して
説明する。
Next, a mechanism for detecting double feeding of banknotes turned over by the suction shaft 5 will be described with reference to FIG. 1.

第1図に符号37及び符号38でそれぞれ示す
ものは二重送り検出用ランプ及び受光素子(これ
ら素子によつて二重送り検知センサが構成され
る)であり、符号39で示すものは受光素子に光
を集光する集光レンズである。
In FIG. 1, reference numerals 37 and 38 respectively indicate a double feed detection lamp and a light-receiving element (these elements constitute a double-feed detection sensor), and reference numeral 39 indicates a light-receiving element. This is a condensing lens that condenses light.

前記二重送り検出用ランプ37及び受光素子3
8は共に回転筒3側に向けて設けられたものであ
つて、前記二重送り検出用ランプ37から発光さ
れた光線は、めくり取られた紙幣Saに対して交
差する方向から照射され、かつ該紙幣Saのめく
り取り部分における略中央位置に照射されるよう
になつている。
The double feed detection lamp 37 and the light receiving element 3
8 are both provided facing the rotary tube 3 side, and the light beam emitted from the double feed detection lamp 37 is irradiated from a direction crossing the turned-over banknote Sa, and The beam is irradiated to approximately the center of the turned-up portion of the banknote Sa.

そして、このように光の照射が行なわれた紙幣
Saは、この紙幣Saを透過した光の量つまり透過
光量が受光素子38により検出され、更に、この
受光素子38が検出した透過光量に基づき二重送
りの判断がなされるようになつている。すなわ
ち、この透過光量が所定値以上であれば正常な送
り(一枚送り)と判断され、透過光量が所定値以
下であれば二重送りと判断されるようになつてい
る。
And the banknotes that were irradiated with light in this way
The amount of light transmitted through the banknote Sa, that is, the amount of transmitted light, is detected by a light receiving element 38, and further, based on the amount of transmitted light detected by this light receiving element 38, a determination of double feeding is made. That is, if the amount of transmitted light is greater than a predetermined value, normal feeding (single sheet feeding) is determined, and if the amount of transmitted light is less than a predetermined value, it is determined to be double feeding.

次に、紙幣の金種判別および表裏判別を行う判
別機構について第1図及び第2図を参照して説明
する。
Next, a discrimination mechanism for discriminating the denomination and front and back of banknotes will be explained with reference to FIGS. 1 and 2.

図において符号40で示すものは、集積された
最前面の紙幣Sbに光を照射する投光器、符号4
1で示すものは、この投光器40から紙幣Sbに
照射された光の反射光を受光する受光器(検出素
子)であつて、投光器40から発せられた光線
は、紙幣Sbの二点鎖線で示すエリアEを含む領
域に照射されるようになつている。
In the figure, the reference numeral 40 indicates a light projector that irradiates light onto the stacked frontmost banknotes Sb.
1 is a light receiver (detection element) that receives the reflected light of the light irradiated onto the banknote Sb from the projector 40, and the light beam emitted from the projector 40 is indicated by a chain double-dashed line on the banknote Sb. The area including area E is irradiated.

また、前記受光器41は、紙幣表面のパターン
に応じた電気信号を発生させるエリアセンサ42
と、このエリアセンサ42に紙幣Sbの反射光を
集光する集光レンズ43とから構成されている。
そして、前記エリアセンサ42は、ライン状のイ
メージセンサがそのラインと直交する方向に多数
配置された2次元状のセンサで後述する判別制御
回路46から発せられるトリガ信号により動作し
て、前記エリアEのスキヤニングを行ない、この
エリアEの特定位置(ラインあるいは座標)にお
ける反射光量を電気信号に変換して、紙幣表面の
パターンに応じた波形の信号を出力するようにな
つている。つまり、前記エリアセンサ42は、そ
の横方向がエリアEのX座標に対応し、また、そ
の縦方向がエリアEのY座標に対応しており、こ
のようなエリアセンサの縦横座標とエリアEの
XY座標との対応によつて、エリアEにおける表
面パターン(ラインデータ)を例えば、Y=1、
Y=3とラインを指定して読み出すことができ、
更には、読み出されたエリアデータをROM64
(後述する)に記憶されている基準データと比較
して、紙幣Sbの金種判別及び表裏判別を行うこ
とができるようになつている(詳細は後述する)。
The light receiver 41 also includes an area sensor 42 that generates an electrical signal according to the pattern on the surface of the banknote.
and a condensing lens 43 that condenses reflected light from the banknote Sb onto the area sensor 42.
The area sensor 42 is a two-dimensional sensor in which a large number of line-shaped image sensors are arranged in a direction perpendicular to the line, and is operated by a trigger signal issued from a discrimination control circuit 46 to be described later. The amount of reflected light at a specific position (line or coordinate) in area E is converted into an electrical signal, and a waveform signal corresponding to the pattern on the banknote surface is output. In other words, the area sensor 42 has its horizontal direction corresponding to the X coordinate of area E, and its vertical direction corresponding to the Y coordinate of area E.
Depending on the correspondence with the XY coordinates, for example, the surface pattern (line data) in area E is Y=1,
You can read by specifying the line as Y=3,
Furthermore, the read area data is stored in the ROM64.
(described later), it is possible to determine the denomination and front and back of the banknote Sb (details will be described later).

次いで、第4図A及び第4図Bにより、前記計
数機構および判別機構をそれぞれ操作する計数制
御回路45(めくり取り阻止機能、確認入力機
能、継続計数機能、金額計算機能)および判別制
御回路46(金種判別機能)を説明する。
Next, as shown in FIGS. 4A and 4B, a counting control circuit 45 (a flip-up prevention function, a confirmation input function, a continuous counting function, an amount calculation function) and a discrimination control circuit 46 operate the counting mechanism and discrimination mechanism, respectively. (Denomination discrimination function) will be explained.

すなわち、計数制御回路45は、後述する計数
制御プログラム(第5図及び第6図参照)等を記
憶しているROM47と、このROM47に記憶
されているプログラムに従つて各種データの書込
みと読出しとを行なうRAM48と、これらを制
御するCPU49とから構成されている。更に、
CPU49には、入力側I/Oポート50および
レシーバ51を介して、計数動作開始を指示する
スタートスイツチ52、金種及び二重送り判別を
行うための検出モードスイツチ53、表裏判別を
行うための表裏モードスイツチ54が接続される
とともに、ホルダー1が閉位置にあるか開位置に
あるかを検出するホルダ位置検出センサ24Aお
よび24B、回転筒位置センサ18、圧力センサ
11及びクリアスイツチ等のその他の操作スイツ
チ55がそれぞれ接続されている。
That is, the counting control circuit 45 has a ROM 47 that stores a counting control program (see FIGS. 5 and 6) to be described later, and writes and reads various data according to the program stored in the ROM 47. It is composed of a RAM 48 that performs this, and a CPU 49 that controls these. Furthermore,
The CPU 49 includes, via an input side I/O port 50 and a receiver 51, a start switch 52 for instructing the start of counting operation, a detection mode switch 53 for discriminating the denomination and double feed, and a detection mode switch 53 for discriminating front and back sides. The front/back mode switch 54 is connected, and other devices such as holder position detection sensors 24A and 24B, rotary cylinder position sensor 18, pressure sensor 11, clear switch, etc., which detect whether the holder 1 is in the closed position or the open position, are connected. Operation switches 55 are connected to each.

なお、前記操作スイツチ55としては、クリア
スイツチの他、計数加算、指定(バツチ)、再鑑
(チエツク)、捺印、金額計算などのモードが適宜
選択されるモード選択スイツチの他、後述するよ
うに異常終了時の計数中断時に、金種異常紙幣に
対する金種確認入力を行うための万券釦、五千券
釦、千券釦、およびこの判別確認入力を確定する
確認釦(この確認釦は異金種の確認にも用いられ
る)などの確認スイツチ(いずれのスイツチも図
示略)などがある。
In addition to the clear switch, the operation switch 55 includes a mode selection switch for appropriately selecting modes such as count addition, designation (batch), review (check), stamping, and amount calculation, as will be described later. When counting is interrupted when the count ends abnormally, there are 10,000, 5,000, and 1,000 notes buttons for inputting denomination confirmation for banknotes with an abnormal denomination, and a confirmation button for confirming this discrimination confirmation input. There are also confirmation switches (both switches are not shown) such as (also used to confirm the denomination).

そして、前記モード選択スイツチによつて選択
される計数加算、指定(バツチ)、再鑑(チエツ
ク)、捺印、金額計算などのモードは、前述した
ような金種及び二重送り判別を行うための検出モ
ードスイツチ53と表裏判別を行うための表裏モ
ードスイツチ54とは、第4図Bの表に示す如き
関係にある。
The modes selected by the mode selection switch, such as count addition, designation (batch), re-examination (check), stamping, and amount calculation, are based on the above-mentioned denomination and double feed discrimination. The detection mode switch 53 and the front/back mode switch 54 for performing front/back discrimination are in a relationship as shown in the table of FIG. 4B.

つまり、モード選択スイツチの内、計数加算モ
ード、指定モード、再鑑モードを選択した場合に
は、これらモードを選択する毎に、検出モードス
イツチ53をONとするか、OFFとするかの指定
が必要であり(ただし、計数加算モードを選択し
た場合には検出モードスイツチ53を自動的に
ONに指定することも可)、また、前記モード選
択スイツチの内、捺印モードを選択した場合に
は、検出モードスイツチ53が自動的にONに指
定されて、操作者による検出モードスイツチ53
の指定作業が省略されるようになつている。
In other words, when selecting the count addition mode, specification mode, or review mode among the mode selection switches, each time you select one of these modes, you must specify whether the detection mode switch 53 is to be turned ON or OFF. (However, when the count addition mode is selected, the detection mode switch 53 is automatically set.
Also, when the stamping mode is selected from the mode selection switch, the detection mode switch 53 is automatically set to ON, and the detection mode switch 53 is automatically set to ON by the operator.
The work of specifying is now omitted.

そして、更に、前記捺印モードを選択した場合
には、上述したように、検出モードスイツチ53
は自動的にONに指定される一方で、1回に限り
OFF指定され得るようになつている。つまり、
捺印モードを選択して、検出モードスイツチ53
をOFF指定した場合において、(1)紙幣の計数を
1回行つたとき、(2)検出モードスイツチをOFF
指定した後、10秒以内にスタートスイツチ52を
押さないとき、(3)検出モードスイツチ53をON
指定したときには、前記検出モードスイツチ53
がOFFのモードから元のONのモードに自動解除
されるようになつている。
Furthermore, when the stamping mode is selected, the detection mode switch 53 is turned on as described above.
is automatically specified as ON, but only once
It is now possible to specify OFF. In other words,
Select the stamping mode and turn the detection mode switch 53
When OFF is specified, (1) when the banknotes are counted once, (2) the detection mode switch is turned OFF.
If you do not press the start switch 52 within 10 seconds after specifying, (3) turn on the detection mode switch 53.
When specified, the detection mode switch 53
is automatically released from the OFF mode to the original ON mode.

また、前記金額計算モードを選択した場合に
は、検出モードスイツチ53が自動的にON指定
され、この検出モードスイツチ53をOFF指定
することが不能となつている。
Furthermore, when the amount calculation mode is selected, the detection mode switch 53 is automatically designated ON, and it is impossible to designate this detection mode switch 53 OFF.

他方、前記した計数加算モード、指定モード、
再鑑モード、捺印モードにおいて、検出モードス
イツチがON指定されている間のみ、表裏モード
スイツチ54のON指定またはOFF指定が可能と
なつているが、金額計算モードにおいては表裏モ
ードスイツチ54が自動的にOFF指定され、こ
の表裏モードスイツチ54をON指定することが
不能となつている。
On the other hand, the above-mentioned count addition mode, specification mode,
In the review mode and stamping mode, the front/back mode switch 54 can be turned on or off only while the detection mode switch is set to ON, but in the amount calculation mode, the front/back mode switch 54 is automatically turned on. is designated as OFF, and it is impossible to designate this front/back mode switch 54 as ON.

なお、上記モード選択スイツチによつて選択さ
れる種々モードの内、「計数加算」とは、第5図
のフローチヤートでも説明するが、紙幣の計数及
び計数値を計数毎に累積して加算してゆくモード
であり(第6図のステツプ144で後述)、「指定
(バツチ)」とは、紙幣の計数を例えば50枚と指定
し、50枚の計数が完了した時点でセパレータ25
を動作させて、計数紙幣と未計数紙幣とを分離さ
せるモードであり(第6図のステツプ110で後
述)、また、「再鑑(チエツク)」とは、束ねられ
た紙幣が所定枚数あるか否かを確認するモードで
あり(第6図のステツプ140で後述)、更に、「捺
印」とは、紙幣の再鑑を行つた後この再鑑結が正
しいならば帯封に捺印を行うモードであり(第6
図のステツプ142で後述)、「金額計算」とは、ホ
ルダに装填されたすべての紙幣の合計金額を算出
して表示するモードである(第6図のステツプ
146で後述)。
Of the various modes selected by the mode selection switch, "counting and addition" is used to accumulate and add the banknote count and count value for each count, as will be explained in the flowchart of FIG. (described later in step 144 of FIG. 6), "designation (batch)" means to specify the banknote count as, for example, 50 banknotes, and when the count of 50 banknotes is completed, the separator 25 is
This is a mode in which the banknotes are operated to separate counted banknotes from uncounted banknotes (described later in step 110 in Figure 6), and "check" is a mode in which the banknotes are checked to see if there are a predetermined number of banknotes in the bundle. This is a mode to confirm whether or not the banknote is valid (described later in step 140 in Fig. 6).Furthermore, "sealing" is a mode in which after revalidating the banknote, if the revalidation is correct, a seal is placed on the band. Yes (6th
``Amount Calculation'' is a mode that calculates and displays the total amount of all banknotes loaded in the holder (described later in step 142 of the figure).
146).

一方、第4図Aに示すスタートスイツチ52
は、この一実施例ではホルダー1に設けた押ボタ
ン60(第1図参照)から構成されているが、例
えば、ホルダー1に紙幣Sが装填されたことを検
出するセンサ(図示略)をスタートスイツチ52
として使用してもよい。
On the other hand, the start switch 52 shown in FIG.
In this embodiment, the pushbutton 60 (see FIG. 1) provided on the holder 1 constitutes a pushbutton 60, but for example, a sensor (not shown) that detects that a banknote S is loaded in the holder 1 can be activated. switch 52
May be used as

また、前記CPU49には、出力側I/Oポー
ト61およびドライバ62を介して、ソレノイド
(捺印ソレノイド)35、二重送り検出用ランプ
37あるいは投光器40とからなるランプ、ホル
ダーモータ23、計数モータ19、ポンプモータ
21、ソレノイドバルブ16、バツチソレノイド
28、および紙幣計数機の操作パネル(図示略)
などに設けられて紙幣の枚数、異常の有無等を表
示する表示部63がそれぞれ接続されている。
Further, the CPU 49 is connected to a solenoid (printing solenoid) 35, a lamp consisting of a double feed detection lamp 37 or a projector 40, a holder motor 23, and a counting motor 19 via an output side I/O port 61 and a driver 62. , pump motor 21, solenoid valve 16, batch solenoid 28, and bill counter operation panel (not shown)
A display section 63 is connected to the display section 63 for displaying the number of banknotes, presence or absence of an abnormality, etc.

一方、前記判別制御回路46は、判別制御プロ
グラム(第7図及び第8図参照)等を記憶してい
るROM64と、このROM64に記憶されてい
るプログラムに従つて各種データの書き込みと読
み出しとを行うRAM65と、これらを制御する
CPU66とから構成されている。更に、前記
CPU66には、出力用I/Oポート70及び駆
動回路71を介してエリアセンサ34が接続さ
れ、このエリアセンサ34の出力が増幅器72、
A/Dコンバータ73、入力側I/Oポート74
を介して前記CPU66に入力されるようになつ
ている。
On the other hand, the discrimination control circuit 46 has a ROM 64 that stores discrimination control programs (see FIGS. 7 and 8), and writes and reads various data according to the programs stored in the ROM 64. RAM65 to perform and control these
It is composed of a CPU 66. Furthermore, the above
An area sensor 34 is connected to the CPU 66 via an output I/O port 70 and a drive circuit 71, and the output of this area sensor 34 is connected to an amplifier 72,
A/D converter 73, input side I/O port 74
It is designed to be input to the CPU 66 via.

なお、前記駆動回路71からエリアセンサ34
に供給される駆動信号は、X軸駆動用信号とY軸
駆動用信号とからなり、これらX軸駆動用信号と
Y軸駆動用信号の出力によつて紙幣のエリアEに
おける特定位置の表面パターン(エリアデータ)
を読み出すようになつている。そして、このよう
なエリアEにおける表面パターンのデータを取り
出す際には、まず、Y軸駆動用信号を出力してエ
リアE(第2図参照)のY座標を決定してから、
X軸駆動用信号を出力してエリアEのX座標を決
定するようにすれば良い。例えば、Yを1に設定
してエリアEにおけるデータをラインデータ
(X、1)として読み出し、更に、Yを3に設定
してエリアEにおけるデータをラインデータ
(X、3)として読み出し、これら読み出された
複数のラインデータ(X、1)、(X、3)等を
RAM65に記憶されている基準データと比較す
るようにすれば良い(なお、駆動用信号のX軸及
びY軸は第2図に示すエリアEのX軸及びY軸に
それぞれ対応している)。
Note that from the drive circuit 71 to the area sensor 34
The drive signal supplied to the banknote is composed of an X-axis drive signal and a Y-axis drive signal, and by outputting these X-axis drive signals and Y-axis drive signals, the surface pattern at a specific position in area E of the banknote is determined. (area data)
is now read out. When extracting surface pattern data in area E, first output a Y-axis drive signal to determine the Y coordinate of area E (see Figure 2).
The X coordinate of area E may be determined by outputting an X-axis drive signal. For example, set Y to 1 and read the data in area E as line data (X, 1), set Y to 3 and read the data in area E as line data (X, 3), and read these data. The output multiple line data (X, 1), (X, 3), etc.
The data may be compared with reference data stored in the RAM 65 (the X-axis and Y-axis of the drive signal correspond to the X-axis and Y-axis of area E shown in FIG. 2, respectively).

一方、前記A/Dコンバータ73には、エリア
センサ34と同様に、増幅器78を介して二重送
り検知センサ37,38が接続されている。ま
た、これら増幅器72,78とA/Dコンバータ
73との間には、出力側I/Oポート70からの
切換信号によつて動作するアナログスイツチ7
9,80がそれぞれ設けられており、これらアナ
ログスイツチ79,80によつて、エリアセンサ
34あるいは二重送り検知センサ37,38のい
ずれか一方の出力信号がA/Dコンバータ73に
送られるようになつている。
On the other hand, similar to the area sensor 34, double feed detection sensors 37 and 38 are connected to the A/D converter 73 via an amplifier 78. Further, an analog switch 7 operated by a switching signal from the output side I/O port 70 is connected between the amplifiers 72 and 78 and the A/D converter 73.
These analog switches 79 and 80 allow the output signal of either the area sensor 34 or the double feed detection sensors 37 and 38 to be sent to the A/D converter 73. It's summery.

また、前記計数制御回路45のCPU49と判
別制御回路46のCPU66とは、データ転送用
I/Oポート81,82を介して相互に接続され
ており、相互にデータを変換して連動動作し得る
ように構成されている。
Further, the CPU 49 of the counting control circuit 45 and the CPU 66 of the discrimination control circuit 46 are connected to each other via data transfer I/O ports 81 and 82, and can mutually convert data and operate in conjunction. It is configured as follows.

以下、第5図及び第9図に従つて、前記計数制
御回路45のROM47に記憶されたプログラム
の内容を紙幣計数機の動作とともに説明する。
Hereinafter, the contents of the program stored in the ROM 47 of the counting control circuit 45 will be explained along with the operation of the banknote counting machine with reference to FIGS. 5 and 9.

なお、第5図におけるSNは以下の説明におけ
るステツプNを示し、第9図におけるTnは以下
の説明におけるタイミングTnを示すものとする。
Note that SN in FIG. 5 indicates step N in the following explanation, and Tn in FIG. 9 indicates timing Tn in the following explanation.

(a)◇計数制御動作1(第5図及び第9図参照) 〈ステツプ1〉 電源投入 〈ステツプ2〉 ホルダ位置検出センサ24A,24Bの出力信
号により、ホルダ1が開位置にあるか否かを判断
し、NOの場合にはホルダーモータ23を駆動し
てホルダー1を開位置に設定し(ステツプ3)、
YESの場合には次のステツプ4へ進む。
(a)◇Counting control operation 1 (see Figures 5 and 9) <Step 1> Power on <Step 2> Based on the output signals of the holder position detection sensors 24A and 24B, check whether the holder 1 is in the open position or not. If the answer is NO, drive the holder motor 23 to set the holder 1 to the open position (step 3).
If YES, proceed to the next step 4.

〈ステツプ4〉 回転筒位置センサ18からの出力の有無によ
り、吸引軸5が待機位置(すなわち、吸引軸5が
紙幣に正対する位置)にあるか否かを判断し、
NOの場合には、計数モータ19を低速駆動して
吸引軸5を待機位置に設定し(ステツプ5)、
YESの場合には次のステツプ6へ進む。
<Step 4> Based on the presence or absence of an output from the rotary cylinder position sensor 18, it is determined whether the suction shaft 5 is in the standby position (that is, the position where the suction shaft 5 directly faces the banknote),
If NO, the counting motor 19 is driven at low speed and the suction shaft 5 is set to the standby position (step 5).
If YES, proceed to the next step 6.

〈ステツプ6〉 モード設定スイツチの設定操作がなされている
か否かを判断し、YESの場合には各種のモード
設定操作、例えば指定モード(バツチモード)、
再鑑モード(チエツクモード)、あるいは捺印モ
ード等の操作により、これら操作が行なわれたモ
ードを記憶し(ステツプ50)、また、NOの場合
には、モードの設定操作が行なわれていないもの
として(計数加算モードになつている)、次のス
テツプ7へ進む。
<Step 6> Determine whether or not the mode setting switch has been set. If YES, various mode setting operations, such as specified mode (batch mode),
By operating the review mode (check mode) or the stamping mode, the mode in which these operations were performed is memorized (step 50), and if NO, it is assumed that the mode setting operation has not been performed. (The mode is now in counting and addition mode), proceed to the next step 7.

〈ステツプ7〉 スタートスイツチ52からスタート信号(ST)
が出力されたか否かを判断し、NOの場合には前
記ステツプ6に戻り、YESの場合には、次のス
テツプ8に進む(タイミングT1)。
<Step 7> Start signal (ST) from start switch 52
It is determined whether or not the output has been output, and if NO, the process returns to step 6, and if YES, the process proceeds to the next step 8 (timing T 1 ).

〈ステツプ8〉 ホルダー位置センサ24A,24Bの出力によ
り、ホルダー1が閉位置にあるか否かを判断し
て、NOの場合には、ホルダモータ駆動信号
(HMD)が出力されて、ホルダーモータ23を
駆動してホルダー1を閉位置に設定し(ステツプ
9)、YESの場合には次のステツプ10へ進む(タ
イミングT2)。
<Step 8> Based on the outputs of the holder position sensors 24A and 24B, it is determined whether the holder 1 is in the closed position or not. If NO, a holder motor drive signal (HMD) is output and the holder motor 23 is is driven to set the holder 1 to the closed position (step 9), and if YES, proceed to the next step 10 (timing T 2 ).

〈ステツプ10〉 ポンプ駆動信号(PMP)が出力されて、ポン
プモータ21を駆動するとともに、ソレノイドバ
ルブ駆動信号(SV)が出力されて、ソレノイド
バルブ16を排気ノズル14側に切換える。
<Step 10> A pump drive signal (PMP) is output to drive the pump motor 21, and a solenoid valve drive signal (SV) is output to switch the solenoid valve 16 to the exhaust nozzle 14 side.

〈ステツプ11〉 吸引軸5が開始位置にあるか否かを判別し、
NOの場合には、計数モータ駆動信号(CMD)
が出力されて、計数モータ19を低速で逆方向に
駆動して吸引軸5を開始位置に設定し(ステツプ
12)、また、YESの場合には、次のステツプへ進
む(タイミングT3)。
<Step 11> Determine whether the suction shaft 5 is at the starting position,
If NO, count motor drive signal (CMD)
is output, the counting motor 19 is driven in the reverse direction at low speed to set the suction shaft 5 to the starting position (step
12), and in the case of YES, proceed to the next step (timing T 3 ).

〈ステツプ13〉 圧力判定信号(VSW)が出力されるのを待つ
て、すなわち、吸入管路7内の真空圧が所定の値
まで上昇するのを待つて、次のステツプ14へ進む
(タイミングT4)。
<Step 13> Wait for the pressure judgment signal (VSW) to be output, that is, wait for the vacuum pressure in the suction pipe 7 to rise to a predetermined value, and then proceed to the next step 14 (timing T Four ).

〈ステツプ14〉 前記圧力判別信号(VSW)が出力されたとき
(ステツプ13)に、計数モータ駆動信号(CMD)
が出力されて、回転筒3および吸引軸5の回転を
開始する。
<Step 14> When the pressure discrimination signal (VSW) is output (step 13), the counting motor drive signal (CMD) is output.
is output, and the rotating barrel 3 and suction shaft 5 start rotating.

〈ステツプ15〉 吸引軸5が紙幣を一枚ずつめくり取りながら計
数を行ない、回転筒位置センサ18が信号
(SNS)を発生するたびに、エリアセンサ42の
検出データを取り出すためのトリガー信号
(TRG)が出力される。また、このとき計数信号
(CNT)が出力されて、紙幣の計数(あるいは判
別)を行なう(タイミングT6〜Tm)。
<Step 15> The suction shaft 5 counts the bills while turning them over one by one, and every time the rotary cylinder position sensor 18 generates a signal (SNS), a trigger signal (TRG) is generated for retrieving the detection data of the area sensor 42. ) is output. Also, at this time, a counting signal (CNT) is output to count (or discriminate) the banknotes (timings T6 to Tm).

〈ステツプ16〉 圧力判定信号(VSW)が出力されているか否
か、すなわち、吸入管路7内の真空圧が上昇でき
ない状態(OFF)となつているか否かを判別し、
OFFとなつた(タイミングTm+1)場合に次のス
テツプ17へ進み、あるいは、後述するように判別
異常などによりセパレータ25が作動して吸引軸
5による紙幣のめくり取り阻止がなされて計数が
中断された場合には、ステツプ17へ進む。
<Step 16> Determine whether or not the pressure judgment signal (VSW) is output, that is, whether the vacuum pressure in the suction pipe line 7 is in a state where it cannot be increased (OFF),
If it becomes OFF (timing Tm +1 ), proceed to the next step 17, or as will be described later, the separator 25 is activated due to a discrimination error, etc., and the suction shaft 5 is prevented from turning over the bill, and counting is interrupted. If so, proceed to step 17.

また、それ以外の場合(NOの場合)には、圧
力判定信号(VSW)が出力されている(ONで
ある)限り、前記ステツプ15との間をループし
て、後述するように計数動作を行う。
In other cases (NO), as long as the pressure judgment signal (VSW) is output (ON), the process loops to step 15 and performs the counting operation as described later. conduct.

〈ステツプ17〉 計数モータ19、ポンプモータ21を停止す
る。
<Step 17> Stop the counting motor 19 and pump motor 21.

〈ステツプ18〉 前記したステツプ4ないしステツプ5と同様に
して、吸引軸5が待機位置にあるか否かを判断
し、NOの場合には計数モータ19を低速駆動し
て吸引軸5を待機位置に設定し(ステツプ19)、
YESの場合には次のステツプ20へ進む。
<Step 18> In the same way as Steps 4 and 5 described above, it is determined whether or not the suction shaft 5 is in the standby position, and if NO, the counting motor 19 is driven at low speed to move the suction shaft 5 to the standby position. (step 19),
If YES, proceed to the next step 20.

〈ステツプ20〉 ステツプ16のYESにおける計数終了が、異常
終了(後述するように、判別異常、異金種または
表裏不一致検出による終了の場合であつて、二重
吸着検出による終了である場合を除く)であるか
否かを判断し、異常終了による計数終了の場合の
みステツプ22へ進み、他の場合には次のステツプ
21に進む。
<Step 20> If the counting ends with YES in Step 16, the count ends abnormally (as described later, the count ends due to a discrimination error, different denominations, or discrepancy between the front and back sides, and excludes cases where the count ends due to the detection of double adhesion). ), and proceed to step 22 only if counting ends due to abnormal termination, and proceed to the next step 21 in other cases.

〈ステツプ21〉 後述するように、処理するモードに応じて自動
的に、またはクリア釦(クリアスイツチ)の操作
によりホルダのオープン信号が出力されたか否か
の判別を行い、YESの場合にはステツプ2に戻
り(タイミングTn)、NOの場合にはこのステツ
プ21で待機する。そして、ステツプ2に戻つた
場合には(タイミングTn)、ホルダー1が開とな
つたか否かの判別が行なわれ、ホルダー1が開と
なるまでホルダーモータ駆動信号(HMD)が出
力される。
<Step 21> As described later, it is determined whether the holder open signal is output automatically or by operating the clear button (clear switch) depending on the processing mode, and if YES, the step is executed. The process returns to step 2 (timing Tn), and if NO, the process waits at step 21. When the process returns to step 2 (timing Tn), it is determined whether or not the holder 1 is opened, and the holder motor drive signal (HMD) is output until the holder 1 is opened.

そして、ホルダーが開(ステツプ4;タイミン
グTn+1)となると、モータ駆動信号(HMD)が
OFFとなると同時に計数モータ駆動信号
(CMD)が出力されて、計数モータ19を駆動す
る。そして、この計数モータ19の駆動によつて
吸引軸5が待機位置にまで移動して来ると、回転
筒位置センサ18の出力がONとなり、これと同
時に計数モータ19が停止されられる(タイミン
グTn+2)。
Then, when the holder opens (step 4; timing Tn +1 ), the motor drive signal (HMD) is activated.
At the same time as turning off, a counting motor drive signal (CMD) is output to drive the counting motor 19. When the suction shaft 5 moves to the standby position by driving the counting motor 19, the output of the rotary cylinder position sensor 18 turns ON, and at the same time, the counting motor 19 is stopped (timing Tn + 2 ).

このようにして吸引軸5が待機位置に停止させ
られると、次回のスタート信号(ステツプ7)に
よつて、直ちに計数を開始し得る状態となつて、
次の準備が完了する。
When the suction shaft 5 is stopped at the standby position in this way, it becomes ready to start counting immediately by the next start signal (step 7).
The next preparation is completed.

〈ステツプ22〉 異常終了による計数終了の場合、後述するよう
に、操作者によつて目視により異常紙幣の金種確
認がなされ、確認スイツチが操作されると、継続
計数がYESと判断されてステツプ24へ進む。
<Step 22> If counting ends due to an abnormal end, as will be described later, when the operator visually confirms the denomination of the abnormal banknote and operates the confirmation switch, it is determined that continued counting is YES and the step continues. Proceed to 24.

一方、このステツプ22において確認スイツチが
操作されぬ間(継続計数がNOの間)、クリア釦
が操作されたか否かがステツプ23において判断さ
れ、クリア釦が操作されたYESの場合には、ス
テツプ23から前記したステツプ21と同様にステツ
プ2へ戻ることになり、このステツプ23がNOの
場合には、ステツプ22とステツプ23とのループで
待機することになる。
On the other hand, while the confirmation switch is not operated in step 22 (while the continuation count is NO), it is determined in step 23 whether or not the clear button has been operated, and if the clear button has been operated (YES), the step From step 23, the process returns to step 2 in the same manner as step 21 described above, and if step 23 is NO, the process waits in a loop of steps 22 and 23.

〈ステツプ24〉 ステツプ24において、確認スイツチが操作され
て継続計数がYESと判断されると、ステツプ
15・16において異常時に作動せしめられたセパレ
ータ25によるバツチ状態(吸引軸5による紙幣
のめくり取り動作が、セパレータ25によつて阻
止された状態)が解除され、ステツプ10へ戻り
(タイミングT2に戻る)、ポンプモータ21が駆
動開始されるとともに吸引軸5を待機位置から開
始位置へ逆転させる処理がなされ、その後、圧力
判定信号(VSW)が出力されることにより、中
断時点からの紙幣のめくり取り金種判別動作が自
動的に再開されることとなる。
<Step 24> In step 24, if the confirmation switch is operated and the continuous counting is determined to be YES, the step
15 and 16, the batch state (a state in which the separator 25 prevents the bill turning operation by the suction shaft 5) caused by the separator 25 that was activated at the time of abnormality is released, and the process returns to step 10 (at timing T2 ) . When the pump motor 21 starts driving, the suction shaft 5 is reversed from the standby position to the start position, and after that, the pressure judgment signal (VSW) is output, so that the turning of the banknotes is resumed from the point of interruption. The denomination type determination operation will be automatically restarted.

次に、CPU49における計数処理フローにつ
いて第6図を参照して説明し、更に、CPU66
における判別処理フローについて第7図及び第8
図を参照して説明する。
Next, the counting processing flow in the CPU 49 will be explained with reference to FIG.
Figures 7 and 8 regarding the determination processing flow in
This will be explained with reference to the figures.

◇計数制御動作2(第6図参照) 〈ステツプ100〉 スタート 〈ステツプ101〉 検出モードスイツチ53がONとなつているか
否か、すなわち、紙幣表面のパターンを読取る必
要があるか否かを判断し、YESの場合には、判
別ON信号及び表裏モード信号(但し、表裏モー
ドスイツチ54がONのときのみ、以下同じ)を
出力するとともに、二重送り検出ランプ37およ
び投光器40を点灯し(ステツプ102)、更にこれ
ら紙幣判別ON信号及び表裏モード信号を第7図
に示す判別ルーチンに供給する(矢印で示す)。
◇Counting control operation 2 (see Figure 6) <Step 100> Start <Step 101> Determine whether the detection mode switch 53 is turned on, that is, whether it is necessary to read the pattern on the banknote surface. , in the case of YES, outputs the discrimination ON signal and the front/back mode signal (however, only when the front/back mode switch 54 is ON, the same applies hereinafter), and lights up the double feed detection lamp 37 and the floodlight 40 (step 102). ), and further supplies these banknote discrimination ON signals and front/back mode signals to the discrimination routine shown in FIG. 7 (indicated by arrows).

また、検出モードスイツチ53がOFFとなつ
ている場合には、計数のみを行うとと判断して、
次のステツプ103に進む。
In addition, if the detection mode switch 53 is turned off, it is determined that only counting is performed, and
Proceed to the next step 103.

〈ステツプ103〉 スタート操作がなされ、吸引軸5が待機位置か
ら開始位置へと移動された後に、圧力判定信号
(VSW)が出力されるまで、このステツプ103で
待機する。
<Step 103> After the start operation is performed and the suction shaft 5 is moved from the standby position to the start position, the process waits in step 103 until the pressure judgment signal (VSW) is output.

〈ステツプ104〉 回転筒位置センサ出力信号(SNS)の立上が
りを検出し、YESとなつた場合に次のステツプ
105へ進む。
<Step 104> Detects the rise of the rotary tube position sensor output signal (SNS), and if it becomes YES, proceed to the next step.
Proceed to 105.

なお、この回転筒位置センサ出力信号(SNS)
の立ち上がり検出で、計数モータ19の正転開始
が確認されることになる。
In addition, this rotary tube position sensor output signal (SNS)
The start of forward rotation of the counting motor 19 is confirmed by the detection of the rise of the count motor 19.

〈ステツプ105〉 前記ステツプ104と同一のタイミングでトリガ
ー信号(TRG)を立上がらせるとともに、この
トリガー信号(TRG)の出力を第7図に示す判
別ルーチンに供給する(矢印で示す)。
<Step 105> The trigger signal (TRG) is raised at the same timing as step 104, and the output of this trigger signal (TRG) is supplied to the discrimination routine shown in FIG. 7 (indicated by an arrow).

〈ステツプ106〉 回転筒位置センサ出力信号(SNS)のON−
OFF状態を検出し、ON(YES)の場合には、圧
力判定信号(VSW)がONとなつているか否か
を判別し(ステツプ107)、このステツプ107が
NOの場合に、判別OFF信号を出力し(ステツプ
130)、かつ、計数モータ19、ポンプモータ21
の駆動及び二重送り検出用ランプ37、投光器4
0の点灯を停止する(ステツプ131)。また、前記
ステツプ107において、圧力判定信号(VSW)の
出力がある(YES)の場合には、次のステツプ
108へ進む。
<Step 106> Rotating tube position sensor output signal (SNS) ON-
The OFF state is detected, and if it is ON (YES), it is determined whether the pressure judgment signal (VSW) is ON (step 107), and this step 107 is
If NO, a discrimination OFF signal is output (step
130), and counting motor 19, pump motor 21
drive and double feed detection lamp 37, floodlight 4
The lighting of 0 is stopped (step 131). Further, in step 107, if the pressure judgment signal (VSW) is output (YES), the next step is performed.
Proceed to 108.

〈ステツプ108〉 検出モードスイツチ53がONとなつているか
否かを判断し、YESの場合にはステツプ109に進
み、NOの場合にはステツプ110に進む。
<Step 108> Determine whether or not the detection mode switch 53 is turned on. If YES, proceed to step 109; if NO, proceed to step 110.

〈ステツプ109〉 異金種が検出された場合、表裏判別モードの時
に表裏不一致が検出された場合、全ての基準パタ
ーンと一致せず判別異常と判断された場合、ある
いは二重吸着が検出された場合に、判別処理フロ
ーから出力されるエラー信号(矢印で示す)の
入力があるか否かを判断し、YESの場合にはバ
ツチソレノイド28をONにしてセパレータ25
を動作させて吸引軸5によるめくり取り動作を中
断させ(ステツプ112)、また、NOの場合にはス
テツプ110に進む。
<Step 109> If a different denomination is detected, if a discrepancy between the two sides is detected in the front/back discrimination mode, if it is determined that there is a discrimination abnormality because it does not match all the standard patterns, or if double adsorption is detected. In this case, it is determined whether or not there is an input of an error signal (indicated by an arrow) output from the discrimination processing flow, and if YES, the batch solenoid 28 is turned on and the separator 25 is turned on.
is operated to interrupt the peeling operation by the suction shaft 5 (step 112), and in the case of NO, the process proceeds to step 110.

〈ステツプ110〉 バツチモードがONとなつているか否かを判断
し、NOの場合にはステツプ106に戻り、YESの
場合にはステツプ111に進む。
<Step 110> Determine whether the batch mode is ON or not. If NO, return to step 106; if YES, proceed to step 111.

〈ステツプ111〉 紙幣の枚数判別を行い、紙幣の計数値が所定枚
数に満たないと判断された場合(NO)には、ス
テツプ106に戻り、また、紙幣の計数値が所定枚
数に達したと判断された場合(YES)には、バ
ツチソレノイド28をONとして、計数紙幣を未
計数紙幣から分離した後(ステツプ112)に、判
別OFF信号を出力して(ステツプ113)(この判
別OFF信号は矢印に示すように判別処理フロ
ーに供給される)、計数モータ19、ポンプモー
タ21の駆動及び二重送り検出用ランプ37、投
光器40の点灯を停止する(ステツプ114)。そし
て、次のステツプ115に進む。
<Step 111> The number of banknotes is determined, and if it is determined that the banknote count is less than the predetermined number (NO), the process returns to step 106, and if the banknote count has reached the predetermined number. If it is determined (YES), the batch solenoid 28 is turned ON to separate counted banknotes from uncounted banknotes (step 112), and then a discrimination OFF signal is output (step 113) (this discrimination OFF signal is supplied to the discrimination processing flow as shown by the arrow), and the driving of the counting motor 19 and the pump motor 21 and the lighting of the double feed detection lamp 37 and the floodlight 40 are stopped (step 114). Then, proceed to the next step 115.

〈ステツプ115〉 バツチソレノイド28をONにしてセパレータ
25を動作させ、吸引軸5によるめくり取り動作
を中断させた原因が、前記ステツプ20において説
明したような、判別異常、異金種または表裏不一
致検出による異常終了であるか否かを判断し、こ
の異常終了による計数中断である場合にはステツ
プ160へ進み、それ以外の場合にはステツプ116へ
進む。
<Step 115> The cause of turning on the batch solenoid 28 to operate the separator 25 and interrupting the peeling operation by the suction shaft 5 is an abnormality in discrimination, different denominations, or a discrepancy between the front and back sides, as explained in step 20 above. It is determined whether or not the abnormal termination is due to detection, and if the counting is interrupted due to the abnormal termination, the process proceeds to step 160; otherwise, the process proceeds to step 116.

〈ステツプ116〉 上記したバツチ処理時、もしくは二重吸着エラ
ー検出時に動作したセパレータ25の作動を解除
するクリア操作が行なわれたか否か、あるいは後
述するステツプ135でセツトされる残留エラーも
しくはステツプ148でセツトされる計数不一致エ
ラーを解除するクリア操作が行われたか否かを判
断し、YESの場合にステツプ117に進む。
<Step 116> Whether or not a clear operation has been performed to deactivate the separator 25 that was activated during the batch processing described above or when a double adsorption error was detected, or whether there is a residual error set in step 135 or step 148, which will be described later. It is determined whether a clear operation has been performed to cancel the set count mismatch error, and if YES, the process proceeds to step 117.

〈ステツプ117〉 ホルダー1に対しオープン信号(ステツプ21参
照)を出力して、このフローが終了する。
<Step 117> An open signal (see step 21) is output to holder 1, and this flow ends.

次に、ステツプ120〜ステツプ123について説明
する。
Next, steps 120 to 123 will be explained.

〈ステツプ120〉 前記ステツプ106において、回転筒位置センサ
出力信号(SNS)のON−OFF状態を検出し、
ONの状態であれば、前記ステツプ106〜ステツ
プ110(またはステツプ111)のルーチンを回り続
け、OFF状態となつたところで、このステツプ
120へ移行する。そして、前記ステツプ107と同様
に、圧力判別信号(VSW)がONとなつている
か否かを判別し、この判別がNOの場合には、前
記ステツプ107と同様に次のステツプ130へ進み、
判別OFF信号を出力する(ステツプ130)ととも
に、計数モータ19、ポンプモータ21の駆動及
び二重送り検出用ランプ37、投光器40の点灯
を停止する(ステツプ131)。また、前記圧力判定
信号(VSW)の出力がYESの場合には、ステツ
プ121に進む。
<Step 120> In step 106, the ON-OFF state of the rotary cylinder position sensor output signal (SNS) is detected,
If it is in the ON state, the routine from step 106 to step 110 (or step 111) continues, and when it becomes OFF, this step is executed.
Move to 120. Then, as in step 107, it is determined whether or not the pressure discrimination signal (VSW) is ON, and if the determination is NO, the process proceeds to the next step 130, as in step 107.
A discrimination OFF signal is output (step 130), and the driving of the counting motor 19 and pump motor 21 and the lighting of the double feed detection lamp 37 and the floodlight 40 are stopped (step 131). Further, if the output of the pressure determination signal (VSW) is YES, the process proceeds to step 121.

〈ステツプ121〉 回転筒位置センサ出力信号(SNS)が立ち上
がりとなつたか否か再度判別し、NOの場合には
ステツプ120に戻り、YESに場合には、トリガー
信号(TRG)を出力して(ステツプ122)(この
TRGは矢印に示すように判別処理フローに供
給される)、カウンタCNTを1計数した後(ステ
ツプ123)ステツプ106に戻る。
<Step 121> Determine again whether or not the rotary tube position sensor output signal (SNS) has risen. If NO, return to step 120; if YES, output the trigger signal (TRG) and Step 122) (This
TRG is supplied to the discrimination processing flow as shown by the arrow), and after counting the counter CNT by 1 (step 123), the process returns to step 106.

次に、ステツプ130〜ステツプ148について説明
する。
Next, steps 130 to 148 will be explained.

〈ステツプ130〉 前述したようにステツプ107、120において、圧
力判定信号(VSW)の出力が検出されない場合、
例えば計数位置にある紙幣が吸着されない、ある
いは計数されるべき紙幣がない場合等には、判別
OFF信号が出力され(この判別OFF信号は矢印
に示すように判別処理フローに供給される)、
かつ、計数モータ19、ポンプモータ21の駆動
及び二重送り検出用ランプ37、投光器40の点
灯を停止させた後(ステツプ131)、ステツプ132
に進む。
<Step 130> As mentioned above, if the output of the pressure judgment signal (VSW) is not detected in steps 107 and 120,
For example, if the banknotes at the counting position are not picked up or there are no banknotes to be counted, the
An OFF signal is output (this discrimination OFF signal is supplied to the discrimination processing flow as shown by the arrow),
And after stopping the driving of the counting motor 19 and the pump motor 21 and the lighting of the double feed detection lamp 37 and the floodlight 40 (step 131), step 132
Proceed to.

〈ステツプ132〉 検出モードスイツチ53がONとなつているか
否かを判断し、NOの場合にはステツプ140に進
み、YESの場合にはステツプ133に進む。
<Step 132> Determine whether or not the detection mode switch 53 is turned on. If NO, proceed to step 140; if YES, proceed to step 133.

〈ステツプ133〉 一定の時間に亙つて(ステツプ134)、判別ルー
チンからエンド信号が出力(矢印で示す)され
なかつた場合、例えば、計数すべき紙幣がセツト
されているにも拘わらず、紙幣の吸着が行なわれ
なかつた場合等には、記憶部(RAM48あるい
はCPU49)の所定のエリアに残留エラーを示
すフラグを立てた後(ステツプ135)、次のステツ
プ116に進む。
<Step 133> If the discrimination routine does not output an end signal (indicated by an arrow) for a certain period of time (step 134), for example, even though the banknotes to be counted have been set, If suction has not been carried out, a flag indicating a residual error is set in a predetermined area of the storage section (RAM 48 or CPU 49) (step 135), and then the process proceeds to the next step 116.

また、第7図の判別処理フローからエンド信号
が出力された場合には次のステツプ140に進む。
Further, if an end signal is output from the determination processing flow shown in FIG. 7, the process advances to the next step 140.

〈ステツプ140〉 モード設定が枚数チエツクモードになつている
か否かを判断し、NOの場合にはステツプ144に
進み、YESの場合にはステツプ141に進む。
<Step 140> Determine whether or not the mode setting is set to the number of sheets check mode. If NO, proceed to step 144; if YES, proceed to step 141.

〈ステツプ141〉 枚数チエツクモードにおいて設定された枚数
に、計数された紙幣の計数値が一致しているか否
かを判断し、NOの場合には記憶部の所定のエリ
アに不一致エラーを示すフラグを立て(ステツプ
148)、ステツプ116に進む。また、設定された枚
数と計数値とが一致した場合(YES)には、次
のステツプ142に進む。
<Step 141> Determine whether the counted value of the banknotes matches the number set in the number of banknotes check mode, and if NO, place a flag indicating a mismatch error in a predetermined area of the storage unit. Step
148), proceed to step 116. Further, if the set number of sheets and the counted value match (YES), the process advances to the next step 142.

〈ステツプ142〉 モード設定が捺印モードにセツトされているか
否かを判断し、YESの場合には捺印ソレノイド
35を動作させて、帯封に捺印し(ステツプ
143)、また、NOの場合には次のステツプ144に
進む。
<Step 142> Determine whether or not the mode setting is set to stamping mode. If YES, operate the stamping solenoid 35 to stamp the seal (step
143), and if NO, proceed to the next step 144.

〈ステツプ144〉 モード設定が加算モードにセツトされているか
否かを判断し、YESの場合には、先に計数され
た紙幣の計数結果を加算し、その加算結果を記憶
部に記憶させ(ステツプ145)、また、NOの場合
には、ステツプ146に進む。
<Step 144> Determine whether or not the mode setting is set to addition mode. If YES, add the counting results of the previously counted banknotes and store the addition result in the storage unit (Step 144). 145), and if NO, proceed to step 146.

〈ステツプ146〉 モード設定が金額計算モードに設定されている
か否かを判断し、YESの場合には、計数された
紙幣の合計金額を表示し(ステツプ147)、また、
NOの場合にはステツプ117に進み、計数処理が
終了する。
<Step 146> Determine whether the mode setting is set to amount calculation mode, and if YES, display the total amount of the counted banknotes (step 147), and
If NO, the process advances to step 117 and the counting process ends.

なお、金額計数モードにおいては、ステツプ
147で合計金額を表示するように説明したが、前
記ステツプ123のカウンタCNTを1upさせる代わ
りにその時点までに、後述するステツプ216にお
いて出力される金種コードに基づいて合計金額を
計算して表示することも可能である。
In addition, in the amount counting mode, the step
147, but instead of incrementing the counter CNT by 1 in step 123, the total amount is calculated and displayed based on the denomination code output in step 216, which will be described later. It is also possible to do so.

次に、ステツプ160〜ステツプ181について説明
する。
Next, steps 160 to 181 will be explained.

〈ステツプ160〉 前述したように、ステツプ115において、バツ
チソレノイド28をONにしてセパレータ25を
動作させ、吸引軸5によるめくり取り動作を中断
させた原因が、判別異常、異金種または表裏不一
致検出による異常終了の場合、金額計数モードで
あるか否かを判断し、YESの場合には次のステ
ツプ161に進み、NOの場合にはステツプ180に進
む。
<Step 160> As mentioned above, in step 115, the batch solenoid 28 is turned ON to operate the separator 25, and the cause of interrupting the peeling operation by the suction shaft 5 is an abnormality in discrimination, a different denomination, or a discrepancy between the front and back sides. In the case of abnormal termination due to detection, it is determined whether or not the mode is monetary counting mode. If YES, the process proceeds to the next step 161; if NO, the process proceeds to step 180.

〈ステツプ161〉 バツチ状態で中断している間に、吸引軸5によ
つて最後にめくり取られた異常紙幣の金種を目視
によつて確認し、この異常紙幣の金種に対応する
金種釦、このステツプ161では万券釦が操作され
たかを判断し、YESの場合には、後述する判別
処理フローにおけるステツプ216と同様に、万券
を表すコードをセツトし(フラグを立て:ステツ
プ162)、NOの場合には次のステツプ163に進む。
<Step 161> While suspended in the batch state, the denomination of the abnormal banknote that was last turned over by the suction shaft 5 is visually confirmed, and the denomination corresponding to the denomination of this abnormal banknote is determined. In this step 161, it is determined whether the 10,000-ticket button has been operated, and if YES, a code representing a 10,000-ticket is set (set a flag: step 162 ), if NO, proceed to the next step 163.

〈ステツプ163〉 前記ステツプ161と同様に、五千券釦が操作さ
れたかを判断し、YESの場合には五千券を表す
コードをセツトし(ステツプ164)、NOの場合に
は次のステツプ165に進む。
<Step 163> In the same way as step 161, it is determined whether the 5,000-note button has been operated, and if the answer is YES, a code representing the 5,000-note button is set (step 164), and if the answer is NO, the next step is executed. Proceed to 165.

〈ステツプ165〉 前記ステツプ161、163と同様に、千券釦が操作
されたかを判断し、YESの場合には千券を表す
コードをセツトし(ステツプ166)、NOの場合に
は次のステツプ167に進む。
<Step 165> As in steps 161 and 163 above, determine whether the 1,000-note button has been operated, and if YES, set a code representing 1,000-notes (step 166), and if NO, proceed to the next step. Proceed to 167.

〈ステツプ167〉 上記ステツプ161、163、165をいずれかにおい
て、異常紙幣に対する金種コードがセツトされた
か否かを判断し、YESの場合には次のステツプ
168に進み、NOの場合にはステツプ169に進む。
<Step 167> Determine whether or not the denomination code for the abnormal banknote has been set in any of steps 161, 163, and 165 above, and if YES, proceed to the next step.
Proceed to step 168; if NO, proceed to step 169.

〈ステツプ168〉 異常紙幣に対する金種コードセツト後、これを
確認する確認釦が操作されたか否かを判断し、
YESの場合にはステツプ170に進み、NOの場合
には次のステツプ169に進む。
<Step 168> After setting the denomination code for the abnormal banknote, it is determined whether the confirmation button to confirm this has been operated,
If YES, proceed to step 170; if NO, proceed to the next step 169.

〈ステツプ169〉 目視によつて確認した異常紙幣が、例えば紙幣
の間に挟まつていたレシートなどの紙葉であつた
場合には、これを取り除くべくクリア操作が必要
であり、このステツプ169では、前記ステツプ116
と同様にクリア釦が操作されたか否かを判断し、
YESの場合にはステツプ117へ進んで計数を終了
し、NOの場合にはステツプ161に戻つて異常紙
幣に対する金種コードを入力できるようにする。
<Step 169> If the visually confirmed abnormal banknote is, for example, a paper sheet such as a receipt stuck between banknotes, a clearing operation is required to remove it. , said step 116
Similarly, determine whether the clear button is operated or not,
If YES, the process advances to step 117 to end the counting, and if NO, the process returns to step 161 so that the denomination code for the abnormal banknote can be input.

〈ステツプ170〉 異常紙幣に対する金種コードがセツトされ且つ
確認操作がなされると、後述する判別処理フロー
におけるステツプ216と同様に、セツトされた金
種コードが出力され、次のステツプ171では次の
金種入力のためにクリアされて、その次のステツ
プ172に進む。
<Step 170> When the denomination code for the abnormal banknote is set and the confirmation operation is performed, the set denomination code is output in the same way as in step 216 in the discrimination processing flow described later, and in the next step 171, the next denomination code is output. It is cleared for denomination input and proceeds to the next step 172.

〈ステツプ172〉 ステツプ161〜ステツプ170において、異常紙幣
に対する金種入力、コード出力がなされた場合、
あるいは、後述するステツプ180において、異金
種検出モードにおける異常紙幣の金種確認がなさ
れた場合には、すなわち、前記ステツプ22におい
て継続計数がYESと判断された場合には、ステ
ツプ112において、異常終了時にONされたバツ
チソレノイド28をOFFにしてセパレータ25
によるバツチ状態(吸引軸5による紙幣のめくり
取り動作が、セパレータ25によつて阻止された
状態)を解除し、ステツプ101へ戻る。
<Step 172> If the denomination and code for the abnormal banknote are input in steps 161 to 170,
Alternatively, if the denomination of the abnormal banknote in the different denomination detection mode is confirmed in step 180, which will be described later, that is, if the continuous counting is determined to be YES in step 22, then in step 112, the abnormal banknote is confirmed. Turn off the batch solenoid 28 that was turned on at the end and turn off the separator 25.
The batch state (a state in which the separator 25 prevents the bill turning operation by the suction shaft 5) is canceled, and the process returns to step 101.

そして、再度判別ON信号および表裏モード信
号(但し、表裏モードスイツチ54がONのとき
のみ)を出力するとともに、二重送り検出ランプ
37および投光器40を点灯し(ステツプ102)、
その後、圧力判定信号(VSW)が出力されるこ
とにより、中断時点からの紙幣めくり取り金種判
別動作が自動的に再開されることとなる。
Then, the discrimination ON signal and the front/back mode signal (however, only when the front/back mode switch 54 is ON) are outputted, and the double feed detection lamp 37 and the floodlight 40 are turned on (step 102).
Thereafter, the pressure determination signal (VSW) is output, and the banknote peeling and denomination determination operation from the point of interruption is automatically restarted.

〈ステツプ180〉 前述したステツプ115における異常終了による
計数中断が金額計算モード以外のときに発生した
場合には、すなわち、すでにめくり取られて計数
されている紙幣とは異なる金種の紙幣を検出して
中断する通常の異金種検出モードの場合におい
て、異常紙幣が検出された場合には、この異常紙
幣がすでにめくり取られて計数されている紙幣と
同じ金種の紙幣か否かの確認を行い、YESの場
合にはステツプ172に進んで継続計数を行えるよ
うにし、NOの場合には次のステツプ181に進む。
<Step 180> If the counting interruption due to abnormal termination in step 115 described above occurs in a mode other than the amount calculation mode, that is, if a banknote of a different denomination from the banknotes that have already been turned over and counted is detected. In the case of the normal different denomination detection mode, which is interrupted when an abnormal banknote is detected, it is checked whether the abnormal banknote is of the same denomination as the banknote that has already been turned over and counted. If YES, proceed to step 172 to enable continuous counting; if NO, proceed to the next step 181.

〈ステツプ181〉 前記ステツプ116、169と同様にクリア釦が操作
されたか否かを判断し、YESの場合にはステツ
プ117へ進んで計数を終了し、NOの場合にはス
テツプ180に戻つて、この二つのステツプ180、
181のループで待機し、異常紙幣に対する異金種
か否かの支持入力ができるようにする。
<Step 181> As in steps 116 and 169, it is determined whether the clear button has been operated or not. If YES, proceed to step 117 to finish counting; if NO, return to step 180. These two steps 180,
The system waits in the loop of 181, and supports input as to whether the abnormal banknote is of a different denomination or not.

次に、CPU66における判別処理フローにつ
いて第7図,第8図及び第10図のタイムチヤー
トを参照して説明する。
Next, the determination processing flow in the CPU 66 will be explained with reference to the time charts of FIGS. 7, 8, and 10.

〈ステツプ200〉 スタート 〈ステツプ201〉 計数ルーチンからトリガー信号(TRG)(矢印
で示す)が出力されたか否かを判断し、YES
の場合に次のステツプ202に進む。
<Step 200> Start <Step 201> Determine whether the trigger signal (TRG) (indicated by the arrow) is output from the counting routine and select YES.
In this case, proceed to the next step 202.

〈ステツプ202〉 計数ルーチンから判別ON信号(矢印で示
す)が出力されたか否かを判断し、NOの場合に
はステツプ201に戻り、YESの場合には、第4図
に示すアナログスイツチ80を選択して、二重送
り検知センサ37,38の出力を増幅器78、
A/Dコンバータ73を介して取り込み、RAM
65に記憶した後(ステツプ203)、ステツプ204
に進む。
<Step 202> It is determined whether or not the determination ON signal (indicated by the arrow) has been output from the counting routine. If NO, return to step 201; if YES, turn on the analog switch 80 shown in FIG. Select the output of the double feed detection sensors 37 and 38 to the amplifier 78,
Capture via A/D converter 73, RAM
65 (step 203), step 204
Proceed to.

〈ステツプ204〉 ステツプ215、ステツプ223、ステツプ232にお
いてセツトされたエラーコードに基づき、異金種
の混入有り、表裏不一致有り、判別異常有り(異
常紙幣の混入)か否かを判断し(これら異金種の
混入、表裏不一致、判別異常の検出についてはス
テツプ214、222、231で並べる)、YESである場
合にはエラー信号及びエラーコードを出力して、
そのエラー内容を表示部63に表示した後(ステ
ツプ205)、ステツプ201に戻る。なお、前記ステ
ツプ205で出力されたエラー信号は矢印で示す
ように第6図の計数ルーチンのステツプ109に供
給される。
<Step 204> Based on the error codes set in step 215, step 223, and step 232, it is determined whether there is a mixture of different denominations, there is a discrepancy between the front and back sides, and there is an abnormality in discrimination (mixture of abnormal banknotes). Detection of mixture of denominations, discrepancy between front and back, and discrimination abnormality are arranged in steps 214, 222, and 231), and if YES, an error signal and error code are output.
After displaying the error details on the display section 63 (step 205), the process returns to step 201. The error signal output at step 205 is supplied to step 109 of the counting routine in FIG. 6 as indicated by the arrow.

また、異金種の混入、表裏不一致、判別異常が
無い場合(NO)には次のステツプ206に進む。
Further, if there is no mixing of different denominations, no discrepancy between the front and back sides, and no discrimination abnormality (NO), the process proceeds to the next step 206.

なお、最初のトリガー信号(TRG)出力時に
は、ステツプ215、222、232を通つておらず、判
別もなされていないから、最初のステツプ204は
常にNOでステツプ206に進む。
Note that when the first trigger signal (TRG) is output, steps 215, 222, and 232 have not been passed and no determination has been made, so the first step 204 is always NO and the process proceeds to step 206.

〈ステツプ206〉 ステツプ203で二重送り検知センサ37+38
から取り込んだ検出データとステツプ218(後述す
る)でセツトされた判別基準となる二重比較レベ
ルとに基づいて、紙幣が二重吸着がされたか否か
を判断し、YESの場合にはエラー信号及びエラ
ーコードを出力して、そのエラー内容を表示部6
3に表示した後(ステツプ207)、ステツプ201に
戻る。
<Step 206> Double feed detection sensor 37+38 in step 203
Based on the detection data taken in from the banknote and the double comparison level which is the discrimination standard set in step 218 (described later), it is determined whether or not the banknote has been double-adsorbed, and if YES, an error signal is sent. and an error code, and the error details are displayed on the display section 6.
3 (step 207), the process returns to step 201.

なお、前記ステツプ207で出力されたエラー信
号は矢印で示すように第6図の計数ルーチンの
ステツプ109に供給される。
The error signal output in step 207 is supplied to step 109 of the counting routine in FIG. 6 as indicated by the arrow.

また、NOの場合つまり二重吸着が無と判断さ
れた場合には次のステツプ208に進む。
If NO, that is, if it is determined that there is no double adsorption, the process proceeds to the next step 208.

なお、ステツプ204と同様に最初にトリガー信
号(TRG)出力時には、二重吸着を判別すべき
紙幣Saは第1図の位置に存在せず、また、基準
となる二重比較レベルはセツトされていないの
で、このステツプ206は常にNOでステツプ208に
進む。
Note that, as in step 204, when the trigger signal (TRG) is output for the first time, the banknote Sa for which double adsorption should be determined does not exist in the position shown in Figure 1, and the reference double comparison level has not been set. Therefore, this step 206 is always NO and the process proceeds to step 208.

〈ステツプ208〉 第4図に示すアナログスイツチ79を選択し、
エリアセンサ34の出力を増幅器72、A/Dコ
ンバータ73を介してRAM65に記憶すること
により、エリアEにおけるエリアデータ(Nライ
ンにおけるデータ)の取り込みが行なわれる。な
お、このエリアデータの取り込みは、第8図に示
すようなフローに基づいて行なわれる。
<Step 208> Select the analog switch 79 shown in FIG.
By storing the output of the area sensor 34 in the RAM 65 via the amplifier 72 and the A/D converter 73, area data in the area E (data on the N line) is captured. Note that this area data is taken in based on the flow shown in FIG.

つまり、取り込み信号が出力された場合(ステ
ツプ300)に、Yを0、Xを0に設定した後(ス
テツプ301)、次のステツプ302に進む。そして、
このステツプ302では、必要とするNラインのデ
ータ(ラインデータ)の出力が終了したか否かを
判断し、YESの場合には判別開始信号が出力さ
れて(ステツプ303)、第7図のメインルーチンに
戻る。また、ステツプ302において、NOの場合
には指定されたNラインのデータがステツプ312
で出力されるまで、ステツプ304〜311をループ
し、該データの出力が行なわれた時点で前述した
ようにステツプ303に進む。
That is, when a capture signal is output (step 300), after setting Y to 0 and X to 0 (step 301), the process proceeds to the next step 302. and,
In this step 302, it is determined whether or not the output of the necessary N lines of data (line data) has been completed.If YES, a determination start signal is output (step 303), and the main Return to routine. If the answer is NO at step 302, the data of the specified N line is sent to step 312.
Steps 304 to 311 are looped until the data is output, and when the data is output, the process proceeds to step 303 as described above.

そして、このようにエリアデータのライン毎の
取り込みが終了すると、第7図に示す次のステツ
プ209に進む。
When the line-by-line acquisition of area data is completed in this manner, the process proceeds to the next step 209 shown in FIG.

〈ステツプ209〉 ステツプ208において取り込んだデータがパタ
ーンを有さないレベルのものか否か(すなわち、
前期ホルダ1の表面1bの黒色パターンか否か)
を判断し、YES(データ無)である場合には、エ
ンド信号を出力した後(ステツプ210)、ステツプ
201に戻る。なお、前記ステツプ210で出力された
エンド信号は矢印で示すように第6図の計数ル
ーチンのステツプ133に供給される。
<Step 209> Check whether the data acquired in step 208 is at a level that does not have a pattern (i.e.,
Whether it is a black pattern on the surface 1b of the first half holder 1)
If it is YES (no data), after outputting the end signal (step 210), step
Return to 201. The end signal output at step 210 is supplied to step 133 of the counting routine in FIG. 6 as indicated by the arrow.

また、取り込んだエリアデータがパターンを有
するレベルのものである場合(NO)には、次の
ステツプ211に進む。
Further, if the captured area data is of a level having a pattern (NO), the process advances to the next step 211.

〈ステツプ211〉 設定モードが金額計算モードに設定されている
か否かを判断し、YESの場合には、ホルダに装
填される紙幣が一枚一枚いずれの金種の紙幣であ
るかを判別すべく、ステツプ213に進み、NOの
場合には次のステツプ212に進む。
<Step 211> Determine whether or not the setting mode is set to amount calculation mode, and if YES, determine which denomination of each banknote loaded in the holder. If the answer is NO, the process advances to step 212.

〈ステツプ212〉 吸引軸5によつて吸着された紙幣が1枚目であ
るか否かを判断し、YESである場合には、ステ
ツプ213に進み、NOである場合にはステツプ230
に進む。
<Step 212> Determine whether or not the bill attracted by the suction shaft 5 is the first one. If YES, proceed to step 213; if NO, proceed to step 230.
Proceed to.

〈ステツプ213〉 ステツプ208で取り込まれた1枚目の紙幣にお
けるエリアデータに対して、ROM64に記憶さ
れている現行3金種(L種の金種)合計12パター
ン(4×Lパターン)の基準データ(1金種につ
いて、表裏正逆4パターンある)とを比較して、
次のステツプ214に進む。
<Step 213> Based on the area data of the first bill imported in step 208, the standard of the current 3 denominations (L denominations) totaling 12 patterns (4 x L patterns) stored in the ROM 64 Comparing with the data (for one denomination, there are 4 patterns of front and back, forward and reverse),
Proceed to the next step 214.

〈ステツプ214〉 前記‘1枚目の紙幣のエリアデータと、12パタ
ーンの基準データとを比較した結果、一致したパ
ターンがあるか否かを判断し、NOの場合には、
判別が不能な異常紙幣であるとして記憶部
(RAM65)の所定のエリアに判別異常を示す
フラグを立てて(ステツプ215)、前記ステツプ
201に戻る。
<Step 214> As a result of comparing the area data of the first bill with the standard data of the 12 patterns, it is determined whether there is a matching pattern, and if NO,
It is determined that the banknote is an abnormal banknote that cannot be determined, and a flag indicating an abnormality in determination is set in a predetermined area of the storage unit (RAM 65) (step 215).
Return to 201.

また、一致パターンがある(YES)の場合に
は、記憶部(RAM65)の所定のエリアに判別
された紙幣が3金種の内のいずれか1つであるこ
とを示すフラグを立て(ステツプ216)、更に、該
紙幣の表裏を示すフラグを立てた後(ステツプ
217)、判別した金種と表裏情報とに基づいて
ROM64に記憶させてある二重吸着の判別基準
である二重比較レベルを記憶部(RAM65)に
セツトした後(ステツプ218)、ステツプ219に進
む。
If there is a matching pattern (YES), a flag indicating that the identified banknote is one of the three denominations is set in a predetermined area of the storage unit (RAM 65) (step 216). ), and after setting a flag indicating the front and back sides of the banknote (step
217), based on the determined denomination and front and back information.
After setting the double comparison level, which is a criterion for determining double adsorption, stored in the ROM 64 in the storage section (RAM 65) (step 218), the process proceeds to step 219.

なお、前記したように、金額計算モード時に
は、ステツプ216で出力される金種コードに基づ
いて、計数制御回路45が、めくり取られた紙幣
の合計金額を自動的に随時計算し、またこの計算
結果を、前記したように表示部63にて随時表示
させることもできる。
As described above, in the amount calculation mode, the counting control circuit 45 automatically calculates the total amount of the flipped bills at any time based on the denomination code output in step 216, and also performs this calculation. The results can also be displayed at any time on the display section 63 as described above.

〈ステツプ230〉 一方、前述したステツプ212において、前記吸
引軸5により吸着された紙幣が1枚目でないと判
断された場合には、ステツプ208で取り込まれた
該紙幣のエリアデータと、ROM64に記憶され
た特定金種(ステツプ216にセツトされた金種)
についての表裏正逆4パターンの基準データのみ
とを比較して、次のステツプ231に進む。
<Step 230> On the other hand, if it is determined in step 212 that the bill attracted by the suction shaft 5 is not the first bill, the area data of the bill taken in in step 208 and the area data stored in the ROM 64 are specified denomination (denomination set in step 216)
The process proceeds to the next step 231 after comparing only the reference data of four patterns of front and back, forward and reverse.

〈ステツプ231〉 前記紙幣のエリアデータと4パターンの基準デ
ータとを比較した結果、一致したパターンがある
か否かを判断し、NOの場合にはこの紙幣が異金
種紙幣(厳密に言うと判別異常紙幣もあり得る)
であるとして、記憶部の所定のエリアに異金種を
示すフラグを立て(ステツプ232)、前記ステツプ
201に戻る。
<Step 231> As a result of comparing the area data of the banknote with the reference data of the four patterns, it is determined whether there is a matching pattern, and if NO, this banknote is a banknote of a different denomination (strictly speaking, There may also be banknotes with abnormal identification)
, a flag indicating a different denomination is set in a predetermined area of the storage section (step 232), and the step
Return to 201.

また、一致したパターンがある場合(YES)
には、前述したように、記憶部の所定のエリアに
紙幣の表裏を示すフラグを立て(ステツプ217)、
更に、ステツプ218において、記憶部の所定のエ
リアに該紙幣の透過光量をセツトして、次のステ
ツプ219に進む。
Also, if there is a matched pattern (YES)
As described above, a flag indicating the front and back sides of the banknote is placed in a predetermined area of the storage unit (step 217).
Furthermore, in step 218, the amount of transmitted light of the banknote is set in a predetermined area of the storage section, and the process proceeds to the next step 219.

〈ステツプ219〉 表裏モードスイツチ54がONになつているか
否かを判断し、NOの場合にはステツプ201に進
み、YESの場合には次のステツプ220に進む。
<Step 219> It is determined whether the front/back mode switch 54 is turned ON or not. If NO, proceed to step 201; if YES, proceed to the next step 220.

〈ステツプ220〉 この紙幣が1枚目であるか否かを判断し、NO
の場合にはステツプ222に進み、YESの場合には
次のステツプ221に進む。
〈Step 220〉 Determine whether this banknote is the first one, and select NO.
If YES, proceed to step 222; if YES, proceed to the next step 221.

〈ステツプ221〉 前記ステツプ217においてセツトした1枚目の
紙幣の表裏コードを表裏基準データとして記憶部
RAM64にセツトし、この表裏基準データに基
づいて以後紙幣表裏判定を行なう(ステツプ
222)。
<Step 221> The front and back codes of the first banknote set in step 217 are stored in the storage unit as front and back reference data.
It is set in the RAM 64, and based on this front/back reference data, banknote front/back determination is performed (step
222).

〈ステツプ222〉 ステツプ217でセツトされる表裏コードとステ
ツプ221でセツトされた表裏基準データとを比較
して、2枚目以降の紙幣が1枚目の紙幣の表裏と
一致しているか否かを判断し、一致している
(YES)場合にステツプ201に戻る。不一致であ
る(NO)場合に次のステツプ223に進み、この
ステツプ223において、記憶部の所定のエリアに
表裏不一致であることを示すフラグを立てた後、
ステツプ201に戻り、ふたたび上述したステツプ
201〜ステツプ232を繰り返す。
<Step 222> The front and back codes set in step 217 are compared with the front and back reference data set in step 221 to determine whether or not the second and subsequent banknotes match the front and back of the first banknote. If they match (YES), the process returns to step 201. If there is a mismatch (NO), the process proceeds to the next step 223, where a flag indicating that the front and back sides do not match is set in a predetermined area of the storage section.
Go back to step 201 and repeat the steps above.
Repeat steps 201 to 232.

なお、上述したトリガー信号(TRG)、二重デ
ータを取り込む等のタイミングは第10図のタイ
ミングチヤートにおいて記載されている。これら
トリガー信号(TRG)、二重データを取り込む等
のタイミングと第7図のステツプ番号と対応させ
ると、判別トリガー信号はステツプ201に対応し、
二重データ取り込みタイミングはステツプ203に
対応し、以下、エラーチエツクタイミングはステ
ツプ204に、二重チエツクタイミングはステツプ
206に、エリアデータ取り込みタイミングはステ
ツプ208に、エリドチエツクタイミングはステツ
プ209にそれぞれ対応し、また、判別処理タイミ
ングはステツプ211〜214及びステツプ230、231に
対応し、更に、金種、表裏、二重比較レベル、エ
ラーセツトタイミングは、ステツプ216〜218、ス
テツプ215、223、232にそれぞれ対応している。
Note that the timing of the above-mentioned trigger signal (TRG), duplex data capture, etc. is described in the timing chart of FIG. If these trigger signals (TRG), the timing of importing double data, etc. correspond to the step numbers in FIG. 7, the discrimination trigger signal corresponds to step 201,
The double data acquisition timing corresponds to step 203, below, the error check timing corresponds to step 204, and the double check timing corresponds to step 203.
206, area data import timing corresponds to step 208, erasure check timing corresponds to step 209, discrimination processing timing corresponds to steps 211 to 214 and steps 230 and 231, and furthermore, denomination, front and back, The double comparison level and error set timing correspond to steps 216 to 218 and steps 215, 223, and 232, respectively.

なお、この判別処理フローにおいては、金額計
算モード以外のときの2枚目以降の金種判別時に
は、すなわちステツプ211、212がともにNOであ
るとき、エラーコードは異金種コードのみしか出
力できないようになされているが、この判別処理
フローのステツプ232の直前に、残りの8パター
ンとの比較を行つて、一致パターンがあるか否か
の判断を行い、その上で、一致パターンがあれば
そのままステツプ232へ進んで異金種コードをセ
ツトし、逆に一致パターンがなければステツプ
215へ進んで判別異常コードをセツトするように
することもできる。
In addition, in this determination processing flow, when determining the denomination of the second and subsequent coins when the mode is not in the amount calculation mode, that is, when both steps 211 and 212 are NO, only the different denomination code can be output as the error code. Immediately before step 232 of this discrimination processing flow, a comparison is made with the remaining eight patterns to determine whether or not there is a matching pattern, and if there is a matching pattern, it is left as is. Proceed to step 232 to set the different denomination code, and if there is no matching pattern, proceed to step 232.
It is also possible to proceed to 215 and set a discrimination error code.

上記のように構成された紙幣計数機では、紙幣
の表裏パターンを読み取つてその金種を判別して
金種コードを出力する一方(ステツプ216)、金種
判別不能時には判別異常コードを出力して(ステ
ツプ215、207)、吸引軸5による紙幣のめくり取
り動作を中断させ(ステツプ109、ステツプ112〜
114)、この中断時に、判別異常紙幣とされた紙幣
を目視により確認して、その金種を入力するよう
にした(ステツプ161〜166)。
The banknote counting machine configured as described above reads the front and back patterns of a banknote, determines its denomination, and outputs a denomination code (step 216), while outputting a determination error code when the denomination cannot be determined. (Steps 215, 207) and interrupts the bill flipping operation by the suction shaft 5 (Steps 109 and 112 to
114), during this interruption, the banknote determined to be an abnormal banknote is visually confirmed and its denomination is input (steps 161 to 166).

そして、この判別異常紙幣に対する金種が確認
され、入力されると(ステツプ167、168)、めく
り取り阻止された中断状態を解除して(ステツプ
170〜172)、中断時点からの紙幣のめくり取り金
種判別動作を自動的に再開する(ステツプ101〜)
とともに、中断時において金種確認してセツトし
た金種コード(ステツプ170において出力)と、
中断の前後の計数時において、自動的に判別され
てセツトされた金種コード(ステツプ216におい
て出力)とに基づいて、ホルダに装填される紙幣
の合計金額を計算、表示(ステツプ145、147)す
るようにした。
Then, when the denomination of this abnormal banknote is confirmed and input (steps 167 and 168), the suspended state in which flipping has been prevented is canceled (step 167 and 168).
170 to 172), automatically restarts the banknote flipping and denomination determination operation from the point of interruption (steps 101 to 172).
In addition, the denomination code (output in step 170) that was set after checking the denomination at the time of interruption,
During counting before and after the interruption, the total amount of banknotes loaded in the holder is calculated and displayed based on the automatically determined and set denomination code (output at step 216) (steps 145 and 147). I decided to do so.

従つて、この紙幣計数機によれば、エラー信号
が出力されて紙幣の判別処理が中断した場合であ
つても、中断時において、判別異常紙幣に対する
金種情報を入力することができ、かつ、この金種
情報の入力時に、中断時点からの紙幣のめくり取
り金種判別動作を自動的に再開することが可能で
あるので、従来の計数機のように、紙幣の金種判
別が不能になる毎に再度はじめから金種判別をや
り直すといつた繁雑な操作が不要となつて、紙幣
の計数判別作業を能率良く行うことができる。
Therefore, according to this banknote counting machine, even if the banknote discrimination process is interrupted due to the output of an error signal, it is possible to input the denomination information for the abnormal banknote at the time of interruption, and When inputting this denomination information, it is possible to automatically restart the banknote flipping and denomination determination operation from the point of interruption, making it impossible to determine the banknote denomination as with conventional counters. This eliminates the need for complicated operations such as redoing the denomination discrimination from the beginning each time, and the work of counting and discriminating banknotes can be carried out efficiently.

また、紙幣の判別作業が中断する毎に、目視に
よつて判別異常紙幣に対する金種を確認し、更
に、この判別異常紙幣に対する金種情報を適宜入
力するようにしたので、ホルダに装填される紙幣
の合計金額を正確に計算することができる。
In addition, each time the banknote discrimination operation is interrupted, the denomination of the abnormal banknote is visually confirmed, and the denomination information for the abnormal banknote is input as appropriate, so that the banknote cannot be loaded into the holder. The total amount of banknotes can be calculated accurately.

なお、日本国紙幣を判別するプログラムを米ド
ル紙幣を判別するプログラムに変更する場合に
は、ROM64等を取り替えることによつて行
う。
In addition, when changing the program for discriminating Japanese banknotes to a program for discriminating US dollar banknotes, this is done by replacing the ROM 64 or the like.

また、上記の判別制御回路46では、ラインデ
ータをX軸に沿うように取り出したが、これに限
定されず、Y軸に沿つて取り出すようにしても良
い。
Further, in the discrimination control circuit 46 described above, the line data is extracted along the X axis, but the line data is not limited to this, and may be extracted along the Y axis.

更に、前記エリアEにおける表面パターンを読
み取るセンサとして、前記エリアセンサ34に替
えて、1次元イメージセンサを第2図に示すY軸
あるはX軸に対し間隔を以て複数列配置し、更
に、これらセンサの検出データを列を指定して読
み出すようにしても良い。
Furthermore, as a sensor for reading the surface pattern in the area E, in place of the area sensor 34, a plurality of one-dimensional image sensors are arranged at intervals with respect to the Y axis or the X axis shown in FIG. The detected data may be read out by specifying a column.

「発明の効果」 以上、詳細に説明したように、この発明によれ
ば、紙幣の表裏パターンを読み取つてその金種を
判別して金種コードを出力する一方、金判別不能
時には判別以上コードを出力して、吸引軸による
紙幣のめくり取り動作を中断せしめ、この中断時
に、判別異常紙幣とされた紙幣を確認してその金
種を入力可能に構成して、この判別異常紙幣に対
する金種が入力・確認されると、めくり取り阻止
された中断状態を解除して、中断時点からの紙幣
のめくり取り金種判別動作を自動的に再開すると
ともに、吸引軸により一枚ずつめくり取られる計
数時に自動的に判別されて出力される金種コード
と、中断時に金種確認入力されるセツト金種コー
ドとに基づいて、ホルダに装填される紙幣の合計
金額を計算するようにしたので、中断時点からの
紙幣のめくり取り金種判別動作を自動的に再開す
ることが可能であるとともに、判別異常紙幣に対
する金種情報が入力できず、ホルダの装填される
紙幣の合計金額を正確に計算することが可能とな
る効果を奏するものである。
``Effects of the Invention'' As explained in detail above, according to the present invention, the front and back patterns of banknotes are read, the denomination is determined, and a denomination code is output, and when the denomination cannot be determined, a code beyond the recognition level is output. output, the operation of turning over the banknotes by the suction shaft is interrupted, and at the time of this interruption, the banknote determined to be an abnormal banknote is checked and its denomination can be inputted, and the denomination of the banknote with the abnormality determination is inputted. When input and confirmed, the interrupted state in which bill flipping was blocked is canceled and the bill flipping and denomination discrimination operation from the point of suspension is automatically resumed. The total amount of banknotes loaded into the holder is calculated based on the denomination code that is automatically determined and output and the set denomination code that is input to confirm the denomination at the time of interruption. It is possible to automatically restart the denomination discrimination operation for turning over banknotes, and to accurately calculate the total amount of banknotes loaded in a holder when denomination information cannot be inputted for banknotes with abnormal discrimination. This has the effect of making it possible.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図〜第10図は本発明の一実施例を示すも
ので、第1図は平面図、第2図は第1図の−
線に沿う矢視図、第3図は吸引軸および吸引管系
の断面図、第4図Aは計数制御回路および判別制
御回路のブロツク図、第4図Bはモード選択スイ
ツチによつて選択されるモードと検出モードもし
くは表裏モードとのON−OFF設定関係を示す
図、第5図は計数制御動作の流れ図、第6図は計
数制御回路のCPU動作を示す図、第7図及び第
8図は判別制御回路のCPU動作を示す図、第9
図及び第10図は計数制御動作および判別制御動
作の流れ図である。 1…ホルダ、5…吸引軸、45…計数制御回路
(継続計数機能、金額計数機能)、25…セパレー
タ、28…バツチソレノイド(めくり取り阻止機
能)、55…その他の操作スイツチ(確認入力機
能)、46…判別制御回路(金種判別機能)。
1 to 10 show an embodiment of the present invention, FIG. 1 is a plan view, and FIG.
3 is a sectional view of the suction shaft and the suction pipe system, FIG. 4A is a block diagram of the counting control circuit and discrimination control circuit, and FIG. 4B is the mode selected by the mode selection switch. Figure 5 is a flowchart of the counting control operation, Figure 6 is a diagram showing the CPU operation of the counting control circuit, Figures 7 and 8. Figure 9 shows the CPU operation of the discrimination control circuit.
1 and 10 are flowcharts of the counting control operation and the discrimination control operation. 1...Holder, 5...Suction shaft, 45...Counting control circuit (continuous counting function, amount counting function), 25...Separator, 28...Batch solenoid (turning prevention function), 55...Other operation switches (confirmation input function) ), 46...Discrimination control circuit (denomination discrimination function).

Claims (1)

【特許請求の範囲】 1 ホルダに装填された紙幣を吸引軸に吸着させ
て一枚ずつめくり取りながら金種判別するように
なされた紙幣計数機において、 紙幣の表面パターンを読み取り、この表面パタ
ーンを予め記憶された基準データと比較すること
により、この紙幣の金種を判別して金種コードを
出力する一方、金種判別不能時には判別異常コー
ドを出力する金種判別機能と、 この金種判別機能によつて出力される判別異常
コードに基づいて、前記吸引軸による紙幣のめく
り取り動作を中断せしめるめくり取り阻止機能
と、 このめくり取り阻止機能による中断時に、前記
判別異常紙幣と判別された紙幣を確認してその金
種を入力可能な確認入力機能と、 この確認入力機能によつて金種が入力・確認さ
れると、前記めくり取り阻止機能による中断を解
除して、中断時点からの紙幣のめくり取り金種判
別動作を自動的に再開する継続計数機能と、 前記金種判別機能によつて出力される金種コー
ドと、前記金種確認入力機能によつて入力される
セツト金種コードとに基づいて、ホルダに装填さ
れる紙幣の合計金額を計算する金額計算機能と、 を有することを特徴とする紙幣計数機。
[Scope of Claims] 1. In a bill counting machine that distinguishes the denomination while drawing bills loaded in a holder onto a suction shaft and turning them over one by one, the machine reads the surface pattern of the bill; A denomination discrimination function that determines the denomination of this banknote by comparing it with pre-stored reference data and outputs a denomination code, and outputs a determination error code when the denomination cannot be determined. A flipping prevention function that interrupts the bill turning operation by the suction shaft based on a discrimination abnormality code output by the function, and a bill that is determined to be the bill with the discrimination abnormality at the time of interruption by the flipping prevention function. When the denomination is input and confirmed using this confirmation input function, the interruption caused by the above-mentioned flip-up prevention function is canceled and the banknotes are returned from the point of interruption. a continuous counting function that automatically restarts the denomination discrimination operation, a denomination code output by the denomination discrimination function, and a set denomination code input by the denomination confirmation input function. A banknote counting machine comprising: an amount calculation function that calculates the total amount of banknotes loaded in a holder based on the following.
JP62223745A 1987-09-07 1987-09-07 Paper money counter Granted JPS6465683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62223745A JPS6465683A (en) 1987-09-07 1987-09-07 Paper money counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62223745A JPS6465683A (en) 1987-09-07 1987-09-07 Paper money counter

Publications (2)

Publication Number Publication Date
JPS6465683A JPS6465683A (en) 1989-03-10
JPH0532797B2 true JPH0532797B2 (en) 1993-05-17

Family

ID=16803036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62223745A Granted JPS6465683A (en) 1987-09-07 1987-09-07 Paper money counter

Country Status (1)

Country Link
JP (1) JPS6465683A (en)

Also Published As

Publication number Publication date
JPS6465683A (en) 1989-03-10

Similar Documents

Publication Publication Date Title
KR910008436B1 (en) Discrimination Device for Banknote Counting Machine
JPH0473198B2 (en)
JPH05755B2 (en)
JPH0532797B2 (en)
JP2542642B2 (en) Banknote counting machine
JP2000149086A (en) Banknote counting and identification device
JPH0585077B2 (en)
JPH0214757B2 (en)
JPH05756B2 (en)
JPH0558983B2 (en)
JPH0525013Y2 (en)
JP2669744B2 (en) Paper sheet counting machine
JPH0528437B2 (en)
JPS63271684A (en) Double-feed detector in banknote counter
JPH0584954B2 (en)
JPH029420Y2 (en)
JPS63271693A (en) Stamping indicator of paper counter with different note discriminating function
JPH0222786A (en) Bank note counter
JPH0525014Y2 (en)
JP2766009B2 (en) Paper sheet counting machine
JPS63244294A (en) Discriminator for paper money counting machine
JP2529415B2 (en) Bill counting machine discrimination device
JPS63271689A (en) Different note discriminator in banknote counter
JPH0241700Y2 (en)
JP2848881B2 (en) Paper sheet counting machine

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080517

Year of fee payment: 15