[go: up one dir, main page]

JPH07113989B2 - Banknote counting machine - Google Patents

Banknote counting machine

Info

Publication number
JPH07113989B2
JPH07113989B2 JP63172925A JP17292588A JPH07113989B2 JP H07113989 B2 JPH07113989 B2 JP H07113989B2 JP 63172925 A JP63172925 A JP 63172925A JP 17292588 A JP17292588 A JP 17292588A JP H07113989 B2 JPH07113989 B2 JP H07113989B2
Authority
JP
Japan
Prior art keywords
bill
abnormal
counting
banknote
bills
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
JP63172925A
Other languages
Japanese (ja)
Other versions
JPH0222786A (en
Inventor
英幸 雲雀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP63172925A priority Critical patent/JPH07113989B2/en
Publication of JPH0222786A publication Critical patent/JPH0222786A/en
Publication of JPH07113989B2 publication Critical patent/JPH07113989B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、ホルダに装填された紙幣を吸引軸に吸着させ
て一枚ずつめくり取りながら金種判別するようになされ
た紙幣計数機に関するものである。
TECHNICAL FIELD The present invention relates to a bill counting machine adapted to make a denomination determination by sucking bills loaded in a holder onto a suction shaft and flipping the bills one by one. Is.

「従来の技術」 従来、この種の紙幣計数機として、特開昭57−787号公
報に示す「紙葉類計数機」と、実開昭58−129558号公報
に示す「紙葉類計数機における紙葉類確認装置」があ
る。
"Prior Art" Conventionally, as this type of bill counting machine, a "paper sheet counting machine" shown in Japanese Patent Laid-Open No. 57-787 and a "paper sheet counting machine" shown in Japanese Utility Model Laid-Open No. 58-129558. There is a paper sheet confirmation device in.

前者の「紙葉類計数機」は、ホルダに装填された紙葉類
(紙幣)を吸引軸に吸着させて一枚ずつめくり取りなが
ら金種判別し、その金種が計数済みの金種(すなわち、
一枚目の金種に相当する)と異なる場合に異金種と判断
し、または金種判別が不能の時には、いわゆるバッチ装
置と呼ばれる装置のセパレータを、未だホルダ側に位置
して判別計数されていない状態にある紙幣の表面に押し
付けることにより、吸引軸によるめくり取り動作を中断
せしめ、この中断時に、異金種と判断された紙幣または
判別異常紙幣(両者を合わせて異常紙幣と称す)を確認
できるようになっている。
The former "paper sheet counter" determines the denomination by adhering the paper sheets (banknotes) loaded in the holder to the suction shaft and flipping the sheets one by one, and the denomination is counted. That is,
If it is different from the first denomination), or if the denomination cannot be determined, the separator of the so-called batch device is still located on the holder side and is counted. By pressing it against the surface of the banknote that is not in the open state, the turning operation by the suction shaft is interrupted, and at the time of this interruption, the banknote that is judged to be a different denomination or the abnormal judgment banknote (both are collectively called abnormal banknote) You can check it.

他方、後者の「紙葉類計数機における紙葉類確認装置」
は、前者の「紙葉類計数機」と同様に、いわゆるバッチ
装置のセパレータにより、以後の紙幣に対する吸引軸に
よるめくり取り動作を中断して異常紙幣を確認するよう
になしたもので、特にこの装置では、中断時の確認操作
を行い易くするように、めくり取られた最後の紙幣を操
作側から確認できるようにミラーを設けたものである。
On the other hand, the latter "paper sheet confirmation device in paper sheet counter"
The same as the former "paper sheet counter", the so-called batch device separator is used to confirm the abnormal banknotes by interrupting the subsequent flipping operation by the suction shaft for banknotes. In the apparatus, a mirror is provided so that the last bill flipped off can be confirmed from the operation side so that the confirmation operation at the time of interruption can be easily performed.

「発明が解決しようとする課題」 すなわち、上記のように構成された紙幣計数機において
は、異常紙幣検出時に、後続の紙幣が慣性回転する吸引
軸内の残留真空圧によりめくり取られるようにするとこ
ろを、セパレータによって強制的に阻止せしめているの
で、例えば流通券のように、傷付いて切れ易くなった紙
幣の場合には、セパレータで押さえられた箇所と吸引軸
により吸着された箇所との間で切れてしまうことがある
という不具合があった。
[Problems to be Solved by the Invention] That is, in the banknote counter configured as described above, when an abnormal banknote is detected, subsequent banknotes are flipped by the residual vacuum pressure in the suction shaft that inertially rotates. However, because it is forcibly blocked by the separator, for example, in the case of bills that are easily damaged due to scratches, such as circulation tickets, between the part pressed by the separator and the part adsorbed by the suction shaft There was a problem that it might break in between.

また、異常紙幣検出時には、計数を途中ストップして確
認するのであるが、異常紙幣は、計数済みの紙幣の最後
に一緒になってしまうため、前者の紙幣計数機において
は、操作者が計数済みの紙幣から最後の異常紙幣のみを
手でめくり分けた上で確認する必要があり、従ってその
際の操作性が悪く、また、後者の紙幣計数機において
は、その点の確認し易さが生じるが、実際には、判別の
ための光学系、または異常紙幣検出時のバッチ装置のセ
パレータなどの配置により、大きなミラーを設置するこ
とができず、結果として、確認し易さを大幅に向上させ
ることができなかった。
In addition, when an abnormal bill is detected, the counting is stopped halfway to check, but since the abnormal bill will be put together at the end of the counted bills, in the former bill counting machine, the operator has already counted. It is necessary to check only the last abnormal banknote from the banknote of No. by hand, so the operability at that time is poor, and in the latter banknote counter, it is easy to confirm that point. However, in reality, it is not possible to install a large mirror due to the arrangement of the optical system for discrimination, or the separator of the batch device when detecting abnormal banknotes, and as a result, the ease of confirmation is greatly improved. I couldn't.

さらに、従来の方法では、操作性が悪いとは言っても、
異金種検出、判別異常が発生したという場合には、めく
り取られた最後の紙幣を確認すれば一応継続計数を行う
こともできたが、二重吸着検出の場合に限っては、たと
えば紙幣をテープなどにより二枚以上接着されていたこ
とを確認できた場合を除いては、本当に二重吸着であっ
たか否か、あるいは一枚の紙幣の部分的な汚れを検出し
ただけか否かを確認することができず、最初から計数を
やり直す必要があった。
Furthermore, even though the conventional method has poor operability,
If different denominations were detected, and if a discrimination error occurred, it was possible to continue counting for a while by checking the last bill that was flipped, but only in the case of double suction detection, for example, bills Except when it can be confirmed that two or more sheets were adhered with tape etc., it is confirmed whether it is really double suction or whether only partial stain on one banknote is detected. I could not do it, and I had to restart the counting from the beginning.

この発明は、上記事情に鑑みてなされたものであって、
セパレータを有するいわゆるバッチ装置を必要とせずに
異常紙幣検出時に吸引軸による紙幣のめくり取り動作を
中断せしめるとともに、吸引軸が配置された回転筒を急
停止させて異常紙幣を吸引軸によって未計数紙幣とも計
数済み紙幣とも離れた中間分離位置に停止せしめ、この
分離停止中断時に異常紙幣の金種を確認することによ
り、この分離停止中断時点からの紙幣のめくり取り判別
動作を自動的に再開することが可能な紙幣計数機を提供
することを目的とするものである。
The present invention has been made in view of the above circumstances,
While not requiring a so-called batch device having a separator, the operation of turning over the bills by the suction shaft is interrupted when abnormal bills are detected, and the rotating cylinder in which the suction shaft is arranged is suddenly stopped so that the bills are not counted by the suction shaft. Both the counted bills and the counted bills are stopped at an intermediate separation position, and by confirming the denomination of the abnormal bill when the separation stop is interrupted, the bill flipping determination operation from the separation stop interruption time is automatically restarted. It is an object of the present invention to provide a bill counting machine capable of

また、第2の発明では、第1の発明において、異常紙幣
の確認を操作者が行うことを必要とせずに、中間分離位
置に急停止せしめられた異常紙幣を自動的に未計数紙幣
側に戻した上で、再度紙幣のめくり取り判別動作を行う
ことが可能な紙幣計数機を提供することを目的とするも
のである。
Further, in the second invention, in the first invention, the abnormal banknotes that have been suddenly stopped at the intermediate separation position are automatically transferred to the uncounted banknote side without requiring the operator to confirm the abnormal banknotes. It is an object of the present invention to provide a bill counting machine which can return the bill and then perform the bill flipping determination operation again.

また、第3の発明では、第2の発明において、自動的に
未計数紙幣側に戻されて再度めくり取り判別動作される
紙幣が、再度連続して異常紙幣として判別された場合に
は、この再度のリトライ処理を中止して分離停止状態で
停止せしめて、操作者による分離停止状態の異常紙幣を
確認可能とした上で、さらにこの分離停止中断時点から
の紙幣のめくり取り判別動作を再開できることが可能な
紙幣計数機を提供することを目的とするものである。
Further, in the third invention, in the second invention, when the banknotes that are automatically returned to the uncounted banknotes side and subjected to the flipping judgment operation again are continuously judged as abnormal banknotes, Stop the retry process again and stop in the separation stop state so that the operator can confirm the abnormal banknotes in the separation stop state, and then restart the bill flipping determination operation from the separation stop interruption point It is an object of the present invention to provide a bill counting machine capable of

さらにまた、第4の発明では、第1の発明または第3の
発明において、中間分離位置に停止せしめられた異常紙
幣を確認する際、その金種情報を入力できるようにし、
吸引軸のまくり取り動作中に出力される金種情報と、中
断時に入力される金種情報とに基づいて、ホルダに装填
される紙幣の合計金額を計算することが可能な紙幣計数
機を提供することを目的とするものである。
Furthermore, in the fourth invention, in the first invention or the third invention, when confirming the abnormal banknote stopped at the intermediate separating position, the denomination information can be input,
Provided is a bill counting machine capable of calculating the total amount of bills loaded in a holder, based on denomination information output during the rolling operation of the suction shaft and denomination information input at the time of interruption. The purpose is to do.

「課題を解決するための手段」 上記目的を達成するため、請求項1は、ホルダに装填さ
れた紙幣を回転筒の同心円上に均等に配置された吸引軸
に吸着させて一枚ずつめくり取りながら金種判別するよ
うになされた紙幣計数機において、紙幣の表面パターン
を読み取り、この表面パターンを予め記憶された基準デ
ータと比較することにより、この紙幣の金種を判別して
金種コードを出力する一方、異常紙幣検出時にはエラー
コードを出力する判別制御回路と、この判別制御回路か
ら出力されるエラーコードに基づいて、前記吸引軸によ
る紙幣のめくり取り動作を中断せしめるべく、前記回転
筒の回転を急減速させるとともに、前記吸引軸が異常紙
幣を吸着から開放した後、これに続く紙幣を吸着する迄
の間の中間分離位置で異常紙幣を前記吸引軸によって未
計数紙幣とも計数済み紙幣とも離れた状態で停止させる
計数モータと、この計数モータによって未計数紙幣とも
計数済み紙幣とも離れた中間分離位置に停止せしめられ
た異常紙幣についての異常の有無についての確認の結果
が入力される操作スイッチと、この操作スイッチの操作
によって異常紙幣の確認結果が入力されると、前記計数
モータの停止による中断を解除して、中断時点からの紙
幣のめくり取り判別動作を自動的に再開する計数制御回
路とを有することを特徴とするものである。
[Means for Solving the Problem] In order to achieve the above object, the first aspect of the present invention is that the banknotes loaded in the holder are attracted to suction shafts that are evenly arranged on the concentric circles of the rotary cylinder, and are turned one by one. While the bill counter is designed to determine the denomination, the surface pattern of the bill is read, and the denomination code of the bill is determined by comparing the surface pattern with prestored reference data. On the other hand, when the abnormal bill is detected, a discrimination control circuit that outputs an error code, and based on the error code output from the discrimination control circuit, in order to interrupt the bill flipping operation by the suction shaft, Abruptly decelerating the rotation and sucking the abnormal bill at the intermediate separation position after the suction shaft releases the abnormal bill from the suction and until the succeeding bills are sucked. A counting motor that stops the uncounted bills and the counted bills apart from each other by the axis, and the presence or absence of abnormality about the abnormal bills stopped by this counting motor at an intermediate separation position apart from both the uncounted bills and the counted bills When the confirmation result of the abnormal bill is input by operating the operation switch and the operation switch for inputting the confirmation result of, the interruption due to the stop of the counting motor is released, and the bill flipping determination from the interruption point is performed. And a counting control circuit for automatically restarting the operation.

請求項2の発明は、ホルダに装填された紙幣を回転筒の
同心円上に均等に配置された吸引軸に吸着させて一枚ず
つめくり取りながら金種判別するようになされた紙幣計
数機において、紙幣の表面パターンを読み取り、この表
面パターンを予め記憶された基準データと比較すること
により、この紙幣の金種を判別して金種コードを出力す
る一方、異常紙幣検出時にはエラーコードを出力する判
別制御回路と、この判別制御回路から出力されるエラー
コードに基づいて、前記吸引軸による紙幣のめくり取り
動作を中断せしめるべく、前記回転筒の回転を急停止さ
せるとともに、異常紙幣を前記吸引軸によって未計数紙
幣とも計数済み紙幣とも離れた中間分離位置に停止せし
める計数モータと、前記計数モータによって未計数紙幣
とも計数済み紙幣紙幣とも離れた中間分離位置に停止せ
しめられた異常紙幣を自動的に未計数紙幣側に戻した上
前記計数モータの停止による中断を解除して、再度紙幣
めくり取り判別動作を自動的に再開する計数制御回路と
を有することを特徴とするものである。
The invention according to claim 2 is a bill counting machine configured to make a denomination determination by adsorbing bills loaded in a holder to suction shafts that are evenly arranged on concentric circles of a rotary cylinder and flipping the bills one by one, By reading the surface pattern of a banknote and comparing the surface pattern with prestored reference data, the denomination of this banknote is determined and a denomination code is output, while an error code is output when an abnormal banknote is detected. Based on the control circuit and the error code output from this determination control circuit, in order to interrupt the bill-turning operation by the suction shaft, the rotation of the rotary cylinder is suddenly stopped, and the abnormal bill is sucked by the suction shaft. Counting motor that stops at an intermediate separation position apart from both uncounted banknotes and counted banknotes, and uncounted banknotes and counted banknotes by the counting motor The abnormal banknotes stopped at the intermediate separation position apart from the banknotes are automatically returned to the uncounted banknote side, the interruption due to the stop of the counting motor is released, and the banknote flipping determination operation is automatically restarted again. And a counting control circuit.

請求項3の発明は、請求項2において、前記計数制御回
路は、めくり取り判別動作の再開始において最初にめく
り取り判別動作される紙幣が、再度異常紙幣として判別
された場合、前記計数制御回路によるリトライ処理を中
止し、操作スイッチの操作によって異常紙幣の確認がな
されると、前記計数モータの停止による中断を解除し
て、中断時点からの紙幣のめくり取り判別動作を自動的
に再開することを特徴とするものである。
According to a third aspect of the present invention, in the counting control circuit according to the second aspect, in the case where the bill subjected to the turning-over determination operation is restarted as the turning-over determination operation, the bill is discriminated as an abnormal bill again. When the abnormal bill is confirmed by operating the operation switch, the interruption due to the stop of the counting motor is released, and the bill flipping determination operation from the interruption point is automatically restarted. It is characterized by.

請求項4の発明は、請求項1または3において、前記操
作スイッチは、異常紙幣の金種コードの入力が可能であ
って、この操作スイッチによって入力される金種コード
と、前記判別制御回路から自動的に出力される金種コー
ドとに基づいて、ホルダに装填される紙幣の合計金額を
計算する金額計算回路を有することを特徴とするもので
ある。
According to a fourth aspect of the present invention, in the first or third aspect, the operation switch is capable of inputting a denomination code of an abnormal bill, and the denomination code input by the operation switch and the discrimination control circuit are used. It is characterized by having an amount calculation circuit for calculating the total amount of bills loaded in the holder based on the denomination code automatically output.

「作用」 第1の発明によれば、異常紙幣が検出されると、吸引軸
を配置した回転筒が急停止せしめられて異常紙幣が吸引
軸によって未計数紙幣とも計数済み紙幣とも離れた中間
分離位置に停止せしめられるとともに、この分離停止中
断時に異常紙幣の金種が確認されることにより、この分
離停止中断時点からの紙幣のめくり取り判別動作が自動
的に再開される。
[Operation] According to the first aspect of the invention, when an abnormal bill is detected, the rotary cylinder in which the suction shaft is arranged is suddenly stopped, and the abnormal bill is separated from the uncounted bill and the counted bill by the suction shaft. When the separation stop is interrupted and the denomination of the abnormal banknote is confirmed when the separation stop is interrupted, the banknote flipping determination operation from the separation stop interrupted time is automatically restarted.

また、第2の発明によれば、異常紙幣が検出されて中間
分離位置に急停止せしめられると、この異常紙幣が自動
的に未計数紙幣側に戻された上で、再度紙幣のめくり取
り判別動作が自動的に再開される。
Further, according to the second aspect, when an abnormal bill is detected and suddenly stopped at the intermediate separation position, the abnormal bill is automatically returned to the uncounted bill side, and then the bill is turned off again. The operation is automatically restarted.

また、第3の発明によれば、第2の発明において、リト
ライ処理時に最初にめくり取り判別動作される紙幣が、
再度異常紙幣として判別された場合には、リトライ処理
を行わずに分離停止状態で停止せしめて、この分離停止
状態の異常紙幣を確認できるようにし、この確認がなさ
れると、前記した分離停止中断時点からの紙幣のめくり
取り判別動作が自動的に再開される。
Further, according to the third invention, in the second invention, the bill that is first turned over and discriminated during the retry process is:
If it is determined to be an abnormal banknote again, it is stopped in the separation stop state without performing the retry process so that the abnormal banknote in the separation stop state can be confirmed, and when this confirmation is made, the separation stop interruption described above is performed. The bill flipping determination operation from the point in time is automatically restarted.

さらにまた、第4の発明によれば、第1の発明または第
3の発明において、中間分離位置に停止せしめられた異
常紙幣の金種を入力すると、前記した分離停止中断時点
からの紙幣のめくり取り判別動作が自動的に再開される
とともに、この金種入力時に入力される金種コードと、
吸引軸により一枚ずつめくり取られる計数時に自動的に
判別されて出力する金種コードとに基づいて、ホルダに
装填される紙幣の合計金額が算出されるようになる。
Further, according to the fourth invention, in the first invention or the third invention, when the denomination of the abnormal banknote stopped at the intermediate separating position is input, the banknote is turned over from the separation stop interruption point. The picking discrimination operation is automatically restarted, and the denomination code entered when entering this denomination,
The total amount of bills loaded in the holder is calculated based on the denomination code that is automatically discriminated and output at the time of counting one by one by the suction shaft.

「実施例」 以下、まず始めに、本発明を第1図〜第14図に示す実施
例に基づいて説明する。
"Embodiment" First, the present invention will be described based on an embodiment shown in Figs. 1 to 14.

まず、第1図〜第3図に従って紙幣計数機構の構成を説
明すれば、この計数機構は、紙幣Sをホルダ1に載せて
このホルダ1を軸2を中心として水平旋回させることに
より第1図実線で示す計数位置、あるいは第1図鎖線で
示す待機位置に移動させ、ホルダ1が計数位置にあると
きに、回転筒3を軸4を中心として第1図反時計方向に
回転させながら、回転筒3上の吸引軸5を軸6を中心と
して時計方向に回転させ、この吸引軸5内に真空圧を作
用させてホルダ1上の紙幣Sを1枚ずつめくり取りなが
ら計数を行うとともに、後述する投光器から紙幣Sの表
面に照射した光線の反射光を受光器で読み取って紙幣S
の判別を行うようにした構成となっている。
First, the structure of the banknote counting mechanism will be described with reference to FIGS. 1 to 3. This counting mechanism places the banknote S on a holder 1 and horizontally rotates the holder 1 about an axis 2 as shown in FIG. When the holder 1 is at the counting position by moving it to the counting position shown by the solid line or the standby position shown by the chain line in FIG. 1, the rotary cylinder 3 is rotated while rotating counterclockwise in FIG. The suction shaft 5 on the cylinder 3 is rotated clockwise about the shaft 6, and a vacuum pressure is applied to the suction shaft 5 to perform counting while flipping the banknotes S on the holder 1 one by one. The reflected light of the light radiated on the surface of the banknote S from the projector for
The configuration is such that the determination is made.

前記ホルダ1には、紙幣Sを裏側(吸引軸5の反対側)
から支える台板1aが設けられ、この台板1aの表面1bは、
反射光レベルが低くなるよう、黒色系に着色されて形成
されている。
The banknote S is on the back side of the holder 1 (on the side opposite to the suction shaft 5).
Is provided with a base plate 1a supported from the surface 1b of the base plate 1a,
It is formed by being colored black so that the reflected light level becomes low.

前記回転筒3および吸引軸5の軸4,6は、第3図に示す
ように中空状に形成されるとともに、吸入管路7を介し
て真空ポンプ8の吸入ポート9に接続されており、この
真空ポンプ8の真空圧が、前記吸引軸5の外周の一部に
設けた開口部10を介して紙幣Sに作用することにより、
吸引軸5に紙幣Sが吸着されるようになっている。
The rotary cylinder 3 and the shafts 4 and 6 of the suction shaft 5 are formed in a hollow shape as shown in FIG. 3, and are connected to a suction port 9 of a vacuum pump 8 via a suction pipe line 7, By the vacuum pressure of the vacuum pump 8 acting on the banknote S through the opening 10 provided in a part of the outer circumference of the suction shaft 5,
The bill S is attracted to the suction shaft 5.

また、前記吸入管路7の途中には圧力センサ11が設けら
れており、この圧力センサ11によって、吸入管路7内の
真空圧が紙幣Sを吸着し得る程度に上昇したか否かが検
出されるようになっている。
A pressure sensor 11 is provided in the middle of the suction pipe line 7. The pressure sensor 11 detects whether or not the vacuum pressure in the suction pipe line 7 has risen to such an extent that the bill S can be adsorbed. It is supposed to be done.

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

また、前記吸引軸5のそれぞれには、第1図〜第3図に
示すように、一対の位置規制片5aが固定されている。
A pair of position regulating pieces 5a is fixed to each of the suction shafts 5 as shown in FIGS. 1 to 3.

この位置規制片5aは、吸引軸5の側面から突出し、且つ
該吸引軸5の開口部10を間に挾むように設けられたもの
であって、開口部10から外気が吸引されて吸引軸5に紙
幣Sが吸着された際に、紙幣Sを側面から支持して、該
紙幣Sの倒れあるいは折れ曲がりを防止するようになっ
ている。
The position regulating piece 5a is provided so as to protrude from the side surface of the suction shaft 5 and sandwich the opening 10 of the suction shaft 5 therebetween, and the outside air is sucked from the opening 10 to the suction shaft 5. When the bill S is adsorbed, the bill S is supported from the side surface to prevent the bill S from falling or bending.

そして、このように前記位置規制片5aによって、吸引軸
5が吸着分離した紙幣Sの起立状態を保つことにより、
二重送りされているか否かを検知する箇所(第1図にお
いて紙幣Saで示す吸着分離された位置)に、該紙幣Sの
位置決めが行われるようになっている。
Then, by maintaining the standing state of the banknote S that is suction-separated by the suction shaft 5 by the position regulation piece 5a,
The banknote S is positioned at a position (a position where the banknote Sa is separated by suction shown in FIG. 1) for detecting whether the banknote S is double-fed.

また、前記回転筒3の外周には、磁性体から成る作動片
17が複数貼付されており、これらの作動片17が磁気セン
サ18を作動させるか否かにより各吸引軸5が待機位置
(開口部10が紙幣Sに正対し、且つ吸引軸5内が真空ポ
ンプ8と連通される位置)にあるか、あるいは開始位置
(開口部10が紙幣Sに正対する直前の位置にあって、且
つ吸引軸5内が真空ポンプ8から遮断される位置)にあ
るかが検出されるようになっている。
Further, an operating piece made of a magnetic material is provided on the outer circumference of the rotary cylinder 3.
A plurality of 17 are attached, and each suction shaft 5 is in a standby position (the opening 10 faces the banknote S, and the inside of the suction shaft 5 is a vacuum pump depending on whether or not the operating piece 17 operates the magnetic sensor 18). 8) or a start position (a position immediately before the opening 10 faces the banknote S and a position where the suction shaft 5 is shut off from the vacuum pump 8). It is supposed to be detected.

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

次に、紙幣Sを束ねた帯封に確認印を押す押印機構につ
いて第1図および第2図を参照して説明する。
Next, a stamping mechanism for stamping a confirmation stamp on the banded bundle of banknotes S will be described with reference to FIGS. 1 and 2.

第1図において符号30で示されるものは、ホルダ1の側
方に設けられた押印機構であって、この押印機構30は、
ホルダ1の紙押さえ板1cに矢印(イ)−(ロ)方向に移
動可能に支持された印鑑30Aと、この印鑑30Aの後端面を
押圧する押圧体30Bと、この押圧体30Bを押圧駆動する捺
印ソレノイド30Cにより構成される。
The reference numeral 30 in FIG. 1 is a stamping mechanism provided on the side of the holder 1, and this stamping mechanism 30 is
The stamp 30A supported by the paper pressing plate 1c of the holder 1 so as to be movable in the arrow (a)-(b) directions, the pressing body 30B that presses the rear end surface of the stamp 30A, and the pressing body 30B is driven to be pressed. It is composed of the marking solenoid 30C.

他方、第2図において符号31で示されるものは、ホルダ
1の下方に設けられた押印機構であって、この押印機構
31は、ホルダ1の載置板1dに第1図矢印(イ)−(ロ)
方向に移動可能に支持された印鑑31Aと、この印鑑31Aの
後端面を押圧する押圧体31Bと、この押圧体31Bを押圧駆
動する捺印ソレノイド31Cにより構成される。
On the other hand, what is denoted by reference numeral 31 in FIG. 2 is a stamping mechanism provided below the holder 1,
Reference numeral 31 indicates the mounting plate 1d of the holder 1 as shown by arrows (a)-(b) in FIG.
The seal 31A is movably supported in a direction, a pressing body 31B that presses the rear end surface of the seal 31A, and a marking solenoid 31C that presses and drives the pressing body 31B.

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

第1図に符号37および符号38でそれぞれ示されるもの
は、二重送り検出用ランプおよび受光素子(これらの素
子によって二重送り検出センサが構成される)であり、
符号39で示されるものは、受光素子38に紙幣Sからの透
過光を集光する集光レンズである。
Reference numerals 37 and 38 in FIG. 1 respectively indicate a double feed detecting lamp and a light receiving element (the double feed detecting sensor is constituted by these elements),
What is indicated by reference numeral 39 is a condenser lens for condensing the transmitted light from the bill S on the light receiving element 38.

前記二重送り検出用ランプ37および受光素子38は共に、
回転筒3側に向けて設けられたものであって、前記二重
検出用ランプ37から発光された光線は、めくり取られた
紙幣Saに対して交差する方向から照射され、且つ該紙幣
Saのめくり取り部分における略中央位置に照射されるよ
うになっている。
Both the double feed detection lamp 37 and the light receiving element 38,
The light emitted from the double detection lamp 37 is provided toward the rotary cylinder 3 side, and is irradiated from a direction intersecting the flipped banknote Sa, and the banknote
It is designed to irradiate the center of the Sa turning part.

そして、紙幣Saに対して照射され透過した光は、集光レ
ンズ39により受光素子38に集光されてその光量が検出さ
れ、この受光素子38が検出した透過光量に基づき二重送
りの判断がなされるようになっている。
Then, the light radiated to and transmitted through the banknote Sa is condensed by the condenser lens 39 on the light receiving element 38, and the amount of the light is detected. It is supposed to be done.

すなわち、透過光量が所定値以上であれば正常な送り
(一枚送り)と判断され、透過光量が所定値以下であれ
ば二重送りと判断されるようになっている。
That is, when the amount of transmitted light is equal to or larger than a predetermined value, it is determined as normal feeding (single sheet feeding), and when the amount of transmitted light is equal to or less than the predetermined value, double feeding is determined.

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

第2図において符号40で示されるものは、吸引軸5によ
りめくり取られようとする未計数紙幣の最前面の紙幣Sb
に光を照射する投光器、符号41で示されるものは、この
投光器40から紙幣Sbに照射された光の反射光を受光する
受光器であって、投光器40から照射される光は、紙幣Sb
の少なくとも図示二点鎖線で示されるエリアEを含む領
域に照射されるようになっている。
The reference numeral 40 in FIG. 2 indicates the frontmost banknote Sb of the uncounted banknotes to be flipped over by the suction shaft 5.
Is a light receiver for irradiating light to the banknote Sb, and a light receiver for receiving the reflected light of the light irradiated on the banknote Sb from the light projector 40.
Is irradiated to at least a region including an area E indicated by a two-dot chain line in the figure.

また、前記受光器41は、紙幣表面のパターンに応じた電
気信号を発生させるエリアセンサ42と、このエリアセン
サ42に紙幣Sbの反射光を集光する集光レンズ43とから構
成されている。
The light receiver 41 is composed of an area sensor 42 that generates an electric signal according to the pattern on the surface of the bill and a condenser lens 43 that condenses the reflected light of the bill Sb on the area sensor 42.

前記エリアセンサ42は、紙幣SbのエリアEの中から、判
別に適した水平方向のラインパターンを複数検出して読
み取ることができるよう構成されてなるもので、後述す
るように、判別制御回路46から出力されるトリガ信号に
より動作して、前記エリアEの特定ラインにおける反射
光量を時系列の電気信号(アナログ信号)に変換して出
力するようになっている。
The area sensor 42 is configured to be able to detect and read a plurality of horizontal line patterns suitable for discrimination from the area E of the bill Sb, and as will be described later, the discrimination control circuit 46. It operates in response to a trigger signal output from the device, converts the amount of reflected light on a specific line in the area E into a time-series electric signal (analog signal), and outputs the electric signal.

すなわち、前記エリアセンサ42は、その縦方向のライン
を設定した後、そのラインについて横方向のデータを出
力可能に構成されてなるもので、その横方向がエリアE
のX座標に対応し、また、その縦方向がエリアEのY座
標に対応しており、このようなエリアセンサ42の縦横座
標とエリアEのXY座標との対応によって、エリアEにお
ける表面パターン(ラインデータ)を、例えば、Y=
1、Y=3とラインを指定して読み出すことができる。
That is, the area sensor 42 is configured to set the line in the vertical direction and then output the data in the horizontal direction for the line.
And the vertical direction corresponds to the Y coordinate of the area E. The correspondence between the vertical and horizontal coordinates of the area sensor 42 and the XY coordinates of the area E allows the surface pattern in the area E ( Line data), for example, Y =
It is possible to read out by designating a line of 1, Y = 3.

このようにして、読み出されたエリアデータは、後述す
るように、A/D変換されて記憶され、ROM64に記憶されて
いる基準データと比較されることにより、紙幣Sbの金種
判別および表裏判別がなされることになる。
In this way, the area data read out is A / D converted and stored, as will be described later, and compared with the reference data stored in the ROM 64 to determine the denomination of the bill Sb and the front and back sides. Judgment will be made.

次に、第4図により、前記計数機構および判別機構をそ
れぞれ制御する計数制御回路45(分離停止機能、確認入
力機能、継続計数機能、リトライ計数機能、リトライ中
止機能、金額計算機能)および判別制御回路46(金種判
別機能)を説明する。
Next, referring to FIG. 4, a count control circuit 45 (separation stop function, confirmation input function, continuous count function, retry count function, retry stop function, amount calculation function) and judgment control which respectively control the counting mechanism and the determination mechanism The circuit 46 (denomination determination function) will be described.

すなわち、計数制御回路45は、後述する計数制御プログ
ラム(第5図および第6図参照)等を記憶しているROM4
7と、このROM47に記憶されているプログラムに従って各
種のデータの書き込みと読み出しを行うRAM48と、これ
らを制御するCPU49とから構成されている。
That is, the count control circuit 45 is a ROM 4 that stores a count control program (see FIGS. 5 and 6) described later.
7, a RAM 48 for writing and reading various data in accordance with the program stored in the ROM 47, and a CPU 49 for controlling these.

さらに、CPU49には、入力側I/Oポートおよびレシーバ51
を介して、計数動作開始を指示するスタートスイッチ5
2、金種および二重送り判別を行うための検出モードス
イッチ53、表裏判別を行うための表裏モードスイッチ54
が接続されるとともに、ホルダ1が閉位置にあるか開位
置にあるかを検出するホルダ閉位置センサ24Aおよびホ
ルダ開位置センサ24B、さらには、前記回転筒位置セン
サ18、圧力センサ11およびクリアスイッチ等を含むその
他の操作スイッチ55がそれぞれ接続されている。
In addition, the CPU 49 has an input side I / O port and a receiver 51.
Start switch 5 for instructing to start counting operation via
2, detection mode switch 53 for distinguishing denomination and double feed, front / back mode switch 54 for front / back discrimination
Is connected and the holder closed position sensor 24A and the holder open position sensor 24B that detect whether the holder 1 is in the closed position or the open position, and further, the rotary cylinder position sensor 18, the pressure sensor 11 and the clear switch. Other operation switches 55 including, etc. are respectively connected.

なお、前記操作スイッチ55としては、クリアスイッチの
他、計数加算、指定(バッチ)、再鑑(チェック)、捺
印、金額計算などのモードが適宜選択されるモード選択
スイッチ、後述するように異常終了時の計数中断時に、
判別異常紙幣に対する金種確認入力を行うための万券
釦、五千券釦、千券釦(この確認釦は、異金種の確認に
も用いられる)などがある。
As the operation switch 55, in addition to the clear switch, a mode selection switch for appropriately selecting a mode such as counting addition, designation (batch), reappraisal (check), marking, amount calculation, and abnormal termination as described later. When the time counting is interrupted,
There are ten thousand ticket buttons, five thousand ticket buttons, thousand ticket buttons (this confirmation button is also used to confirm different denominations), etc. for performing denomination confirmation input for bills with abnormal discrimination.

ここで、前記モードについて簡単に説明すると、「計数
加算」とは、紙幣の枚数を計数するとともにその計数値
を計数動作毎に累積してゆくモードであり、「指定(バ
ッチ)」とは、紙幣の枚数を例えば50枚と指定し、50枚
の計数が完了した時点で、計数を中断して、50枚の計数
済み紙幣と未計数紙幣とに分離するモードであり、ま
た、「再鑑(チェック)」とは、束ねられた紙幣が設定
枚数あるか否かを確認するモードであり、さらに、「捺
印」とは、紙幣の再鑑を行った後、この再鑑結果が正し
いならば帯封に対して側面より、もしくは下方より捺印
を行うモードであり、「金額計算」とは、ホルダに装填
されて計数される紙幣の合計金額を算出して表示するモ
ードである。
Here, briefly describing the mode, "count addition" is a mode in which the number of banknotes is counted and the count value is accumulated for each counting operation, and "designation (batch)" is For example, the number of banknotes is designated as 50, and when the counting of 50 is completed, the counting is interrupted and the banknote is separated into 50 counted banknotes and uncounted banknotes. (Check) is a mode for confirming whether or not the set number of banknotes is bundled, and further, "Marking" is performed if the result of reconfirmation is correct after reconfirmation of the banknotes. This is a mode in which a seal is stamped from the side or from the bottom, and the "amount calculation" is a mode in which the total amount of bills loaded in the holder and counted is calculated and displayed.

そして、これらのモードは、その機能が相反するもので
ない限り、複数同時に設定できるようになっている。
In addition, a plurality of these modes can be set at the same time as long as their functions do not conflict with each other.

ところで、第4図に示すスタートスイッチ52は、この実
施例では、ホルダ1に設けられた押し釦60(第1図参
照)から構成されているが、例えば、ホルダ1に紙幣S
が装填されたことを検出するセンサ(図示略)をスター
トスイッチ52として使用してもよい。
By the way, the start switch 52 shown in FIG. 4 is composed of a push button 60 (see FIG. 1) provided in the holder 1 in this embodiment.
A sensor (not shown) for detecting that the is loaded may be used as the start switch 52.

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

一方、前記判別制御回路46は、判別制御プログラム(第
7図および第8図参照)などを記憶しているROM64と、
このROM64に記憶されているプログラムに従って各種デ
ータの書き込みと読み出しを行うRAM65と、これらを制
御するCPU66とから構成されている。
On the other hand, the discrimination control circuit 46 stores a discrimination control program (see FIGS. 7 and 8) and the like, and a ROM 64,
It is composed of a RAM 65 for writing and reading various data according to a program stored in the ROM 64, and a CPU 66 for controlling these.

さらに、前記CPU66には、出力側I/Oポート70および駆動
回路71を介してエリアセンサ34が接続され、このエリア
センサ34の出力が増幅器72、A/Dコンバータ73、入力側I
/Oポート74を介して前記RAM65に入力されるようになっ
ている。
Furthermore, the area sensor 34 is connected to the CPU 66 via an output side I / O port 70 and a drive circuit 71, and the output of the area sensor 34 is an amplifier 72, an A / D converter 73, and an input side I / O.
The data is input to the RAM 65 via the / O port 74.

なお、前記駆動回路71からエリアセンサ34に供給される
駆動信号は、X軸駆動用信号とY軸駆動用信号とからな
り、これらX軸駆動用信号とY軸駆動用信号の出力によ
って紙幣のエリアEにおける特定位置の表面パターン
(エリアデータ)を読み出すようになっている。
The drive signal supplied from the drive circuit 71 to the area sensor 34 is composed of an X-axis drive signal and a Y-axis drive signal. The surface pattern (area data) at a specific position in the area E is read out.

そして、このようなエリアEにおける表面パターンのデ
ータを取り出す際には、まず、Y軸駆動用信号を出力し
てエリアEのY座標を決定してから、X軸駆動用信号を
出力してエリアEのX座標を一定方向に変化させればよ
い。
When extracting the surface pattern data in the area E, first, the Y-axis drive signal is output to determine the Y coordinate of the area E, and then the X-axis drive signal is output. The X coordinate of E may be changed in a fixed direction.

すなわち、Y座標を1に設定してエリアEにおけるデー
タをラインデータ(X、1)(但し、X=1〜Xmax)と
して読み出し、さらに、Y座標を3に設定してラインデ
ータ(X、3)(但し、X=1〜Xmax)として読み出
し、これら読み出された複数のラインデータをRAM65に
記憶し、且つROM64に記憶されている基準データと比較
するようにすれば良い。
That is, the Y coordinate is set to 1 and the data in the area E is read as line data (X, 1) (where X = 1 to X max ), and the Y coordinate is set to 3 and the line data (X, 3) (however, X = 1 to X max ) is read, and the plurality of read line data are stored in the RAM 65 and compared with the reference data stored in the ROM 64.

一方、前記A/Dコンバータ73には、エリアセンサ34と同
様に、増幅器78を介して二重検知用センサの受光素子38
が接続されている。
On the other hand, in the A / D converter 73, like the area sensor 34, the light receiving element 38 of the double detection sensor is passed through the amplifier 78.
Are connected.

また、これら増幅器72・78とA/Dコンバータ73との間に
は、出力側I/Oポート70からの切り換え信号によって動
作するアナログスイッチ79・80がそれぞれ設けられてお
り、これらアナログスイッチ79・80によって、エリアセ
ンサ34あるいは二重検知用センサの受光素子38のいずれ
か一方の出力信号がA/Dコンバータ73に送られるように
なっている。
Between the amplifiers 72/78 and the A / D converter 73, analog switches 79/80 which operate by a switching signal from the output side I / O port 70 are respectively provided. By 80, the output signal of either the area sensor 34 or the light receiving element 38 of the double detection sensor is sent to the A / D converter 73.

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

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

なお、第5図は、(A)および(B)の2図から成り、
また、第6図は(A)、(B)、(C)および(D)の
4図から成る。
It should be noted that FIG. 5 is composed of FIG. 2 of (A) and (B),
Further, FIG. 6 is composed of four figures of (A), (B), (C) and (D).

さらに、第5図、第6図におけるSNは以下の説明におけ
るステップNを示し、第9図、第13図〜第14図における
Tnは以下の説明におけるタイミングTnを示すものとす
る。
Further, SN in FIGS. 5 and 6 represents step N in the following description, and in FIG. 9 and FIGS.
Tn indicates the timing Tn in the following description.

(a)計数制御動作1(第5図(A)〜(B)および第
9図参照) 第5図(A) 〈ステップ1〉 電源投入 〈ステップ2〉 ホルダ開位置検出センサ24Aが動作されて、ホルダ1が
開位置にあるか否かを判断し、NOの場合には、ホルダモ
ータ23を開駆動してホルダ1を開位置に設定し(ステッ
プ3)、YESの場合には、次のステップ4に進む。
(A) Counting control operation 1 (see FIGS. 5 (A) to (B) and FIG. 9) FIG. 5 (A) <Step 1> Power on <Step 2> The holder open position detection sensor 24A is operated. , It is determined whether or not the holder 1 is in the open position. If NO, the holder motor 23 is driven to open to set the holder 1 to the open position (step 3). Go to step 4.

〈ステップ4〉 回転筒位置センサ18からの出力の有無により、吸引軸5
が待機位置(すなわち、吸引軸5が紙幣Sに正対する位
置)にあるか否かを判断し、NOの場合には、計数モータ
19を低速で正転(計数時の方向)駆動させて吸引軸5を
待機位置に設定し(ステップ5)、YESの場合には、次
のステップ6に進む。
<Step 4> Depending on whether or not there is an output from the rotary cylinder position sensor 18, the suction shaft 5
Is in the standby position (that is, the position where the suction shaft 5 faces the banknote S), and if NO, the counting motor
The suction shaft 5 is set to the standby position by driving 19 in the normal direction (direction at the time of counting) at a low speed (step 5). If YES, the process proceeds to the next step 6.

〈ステップ6〉 モード設定スイッチの設定操作がなされているか否かを
判断し、YESの場合には、各種のモード設定操作に応じ
て操作されたモードを記憶し(ステップ7)、NOの場合
には、次のステップ8に進む。
<Step 6> It is determined whether or not the setting operation of the mode setting switch has been performed. If YES, the modes operated according to various mode setting operations are stored (step 7), and if NO, Proceeds to the next step 8.

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

〈ステップ9〉 ホルダ閉位置検出センサ24Bが動作されて、ホルダ1が
閉位置にあるか否かを判断し、NOの場合には、ホルダモ
ータ23を閉駆動してホルダ1を閉位置に設定し(ステッ
プ10)、YESの場合には、次のステップ11に進む(タイ
ミングT2)。
<Step 9> The holder closed position detection sensor 24B is operated to determine whether or not the holder 1 is in the closed position. If NO, the holder motor 23 is driven to be closed and the holder 1 is set to the closed position. If YES (step 10), the process proceeds to the next step 11 (timing T2).

〈ステップ11〉 ポンプ駆動信号(PMP)が出力されて、ポンプモータ21
が駆動されるとともに、ソレノイドバルブ駆動信号(S
V)が出力されて、ソレノイドバルブ16を排気ノズル14
側に切り換える。
<Step 11> The pump drive signal (PMP) is output and the pump motor 21
Is driven and the solenoid valve drive signal (S
V) is output to the solenoid valve 16 and the exhaust nozzle 14
Switch to the side.

〈ステップ12〉 回転筒位置センサ18からの出力の有無により、吸引軸5
が開始位置(すなわち、吸引軸5の開口部10が紙幣Sに
正対する直前の位置にあって、且つ吸引軸5内が真空ポ
ンプ8から遮断される位置)にあるか否かを判断し、NO
の場合には、計数モータ低速逆転駆動信号(CMD−R)
が出力されて、計数モータ19を低速で逆転(計数時とは
逆の方向)駆動させて吸引軸5を開始位置に設定し(ス
テップ13)、YESの場合には、次のステップ14に進む
(タイミングT3)。
<Step 12> Depending on whether there is an output from the rotary cylinder position sensor 18, the suction shaft 5
Is at the start position (that is, the position immediately before the opening 10 of the suction shaft 5 faces the banknote S and the inside of the suction shaft 5 is shut off from the vacuum pump 8). NO
In case of, the counting motor low speed reverse rotation drive signal (CMD-R)
Is output, the counting motor 19 is driven at a low speed in the reverse direction (direction opposite to that at the time of counting) to set the suction shaft 5 to the start position (step 13), and if YES, the process proceeds to the next step 14. (Timing T3).

〈ステップ14〉 圧力判定信号(VSW)が出力されるのを待って、すなわ
ち、吸入管路7内の真空圧が所定の値まで上昇するのを
待って、次のステップ15に進む(タイミングT4)。
<Step 14> Waiting for the pressure determination signal (VSW) to be output, that is, for the vacuum pressure in the suction pipe line 7 to rise to a predetermined value, the process proceeds to the next step 15 (timing T4). ).

〈ステップ15〉 前記圧力判定信号(VSW)が出力されることにより、計
数モータ正転駆動信号(CMD−FF)が出力されて、回転
筒3および吸引軸5の高速回転が開始される。
<Step 15> When the pressure determination signal (VSW) is output, the counter motor forward rotation drive signal (CMD-FF) is output, and high-speed rotation of the rotary cylinder 3 and the suction shaft 5 is started.

第5図(B) 〈ステップ16〉 吸引軸5が紙幣Sを一枚ずつ吸着してめくり取るととも
に、このめくり取り動作と並行して、回転筒位置センサ
18が信号(SNS)を発生するたび、計数信号(CNT)が出
力されて、紙幣Sの計数が計数される(タイミングT6〜
Tm)。
FIG. 5 (B) <Step 16> The suction shaft 5 adsorbs the banknotes S one by one and turns them off, and in parallel with this turning operation, the rotary cylinder position sensor
Each time 18 generates a signal (SNS), a counting signal (CNT) is output to count the bill S (timing T6 to timing).
Tm).

また、紙幣Sの判別を行うモードの際には、ほぼ同じタ
イミングで、エリアセンサ42の検出データを取り出すた
めのトリガー信号(TRG)が出力されて、紙幣Sの判別
が行われる。
Further, in the mode for discriminating the bill S, the trigger signal (TRG) for taking out the detection data of the area sensor 42 is output at almost the same timing to discriminate the bill S.

〈ステップ17〉 ホルダ1上の未計数紙幣Sがなくなって、吸引軸5によ
る紙幣Sの吸着動作ができなくなることにより、吸入管
路7内の真空圧が降下して圧力センサ11がOFFとなり、
圧力判定信号(VSW)が出力されなくなった場合、また
は後述するように、バッチモード時に吸引軸5による設
定枚数分の紙幣Sのめくり取り動作が終了して回転筒3
が急停止することにより、その後の紙幣Sのめくり取り
動作が中止された場合には、正常終了YESと判断して次
のステップ18に進み、それ以外の場合にはNOとしてステ
ップ30に進む。
<Step 17> Since the uncounted banknotes S on the holder 1 are lost and the suction operation of the banknotes S by the suction shaft 5 cannot be performed, the vacuum pressure in the suction pipe line 7 drops and the pressure sensor 11 is turned off.
When the pressure determination signal (VSW) is not output, or as will be described later, the operation of turning over the set number of banknotes S by the suction shaft 5 in the batch mode is completed and the rotary cylinder 3
If the subsequent flipping operation of the banknote S is stopped due to the sudden stop, it is determined that the normal end is YES and the process proceeds to the next step 18, otherwise the process proceeds to step 30 as NO.

なお、後述するように、残留エラー、枚数不一致エラー
の検出は、正常終了した上での判断であるため、これら
は正常終了に含まれるものとする。
As will be described later, the detection of the residual error and the number-of-mismatch error is a judgment made after the normal end, and therefore these are included in the normal end.

〈ステップ18〉 計数モータ正転駆動信号(CMD−FF)の出力が停止さ
れ、代わりに計数モータブレーキ信号(CM−BRK)が出
力されて、計数モータ19が急停止される(タイミングTm
+1)。
<Step 18> The output of the count motor forward drive signal (CMD-FF) is stopped, the count motor brake signal (CM-BRK) is output instead, and the count motor 19 is suddenly stopped (timing Tm
+1).

また、同時にポンプ駆動信号(PMP)とソレノイドバル
ブ駆動信号(SV)の出力が停止されて、ポンプモータ21
を停止するとともに、ソレノイドバルブ16を放出口15側
に切り換える。
At the same time, the output of the pump drive signal (PMP) and solenoid valve drive signal (SV) is stopped, and the pump motor 21
And the solenoid valve 16 is switched to the discharge port 15 side.

〈ステップ19〉 バッチモードがONとなっているか否かを判断し、YESの
場合にはステップ20へ進み、NOの場合にはステップ22へ
進む。
<Step 19> It is determined whether or not the batch mode is ON. If YES, the process proceeds to step 20, and if NO, the process proceeds to step 22.

〈ステップ20〉 後述するように、バッチ動作が正常に終了したか否かを
判断し、YESの場合にはステップ22に進み、NOの場合に
はステップ21へ進む。
<Step 20> As will be described later, it is determined whether or not the batch operation is normally completed. If YES, the process proceeds to step 22, and if NO, the process proceeds to step 21.

〈ステップ21〉 バッチ動作が正常に行われず、設定枚数分の紙幣と未計
数紙幣とを確実に分離できたか不明であるため、異常を
示すアラーム信号(ブザーなどを駆動する信号)を出力
する。
<Step 21> Since the batch operation is not normally performed and it is unknown whether the set number of banknotes and the uncounted banknotes have been reliably separated, an alarm signal (a signal for driving a buzzer or the like) indicating an abnormality is output.

〈ステップ22〉 後述するように、処理するモードに応じて自動的に、ま
たはクリア釦(クリアスイッチ)の操作によりホルダ1
のオープン信号が出力されたか否かの判断を行い、YES
の場合には第5図(A)のステップ2に戻り(タイミン
グTn)、NOの場合にはこのステップ22で待機する。
<Step 22> As will be described later, the holder 1 is automatically operated according to the processing mode or by operating the clear button (clear switch).
Is judged whether or not the open signal of
If NO, the process returns to step 2 of FIG. 5 (A) (timing Tn), and if NO, waits at step 22.

そして、ステップ2に戻った場合には、ホルダ1の開位
置設定動作と、吸引軸5の待機位置設定動作が前述の如
く行われて、次回のスタート信号(ステップ8)によっ
て、直ちに計数を開始し得る状態に待機せしめられるこ
ととなる。
When returning to step 2, the open position setting operation of the holder 1 and the standby position setting operation of the suction shaft 5 are performed as described above, and the counting is immediately started by the next start signal (step 8). You will have to wait in a state where you can do it.

〈ステップ30〉 前記ステップ17において正常周終了と判断されていない
とき、このステップ30では、後述するエラー検出(判別
異常、異金種、表裏不一致、二重吸着検出)により回転
筒3が急停止されて吸引軸5による紙幣のめくり取り阻
止がなされ、計数が中断せしめられた異常終了であるか
否かが判断され、YESの場合にはステップ31に進み、NO
の場合にはステップ16へ戻る。
<Step 30> When it is not determined in step 17 that the normal rotation has ended, in this step 30, the rotary cylinder 3 suddenly stops due to an error detection (discrimination abnormality, different denomination, front / back mismatch, double suction detection) described later. Then, the suction shaft 5 is used to prevent the bills from being turned over, and it is determined whether or not the counting is interrupted and the process is abnormally terminated. If YES, the process proceeds to step 31 and NO.
In case of, it returns to step 16.

そして、前記したように、圧力判定信号(VSW)が出力
されている(NOである)限り、あるいはバッチ動作が行
われない限り、前記ステップ16、17、30の間をループし
て、後述するように計数動作を行う。
Then, as described above, as long as the pressure determination signal (VSW) is output (NO) or the batch operation is not performed, the loop between steps 16, 17, and 30 will be described later. The counting operation is performed as follows.

〈ステップ31〉 異常終了と判断されることにより、計数モータ19が急停
止せしめられるとともに、ポンプモータ21が停止され、
異常紙幣の分離停止動作が行われる。
<Step 31> By determining that the abnormal end, the counting motor 19 is stopped suddenly, the pump motor 21 is stopped,
The operation of stopping the separation of the abnormal bill is performed.

なお、この時の分離停止動作は、後述するバッチ動作の
基本となるため、このステップ31から後述するステップ
35までの処理については、第11図および第12図に示す状
態説明図と、第13図に示すタイムチャートに従って、詳
細に説明する。
Note that the separation stop operation at this time is the basis of the batch operation described later, and therefore, steps from step 31 described later will be performed.
The processes up to 35 will be described in detail according to the state explanatory diagrams shown in FIGS. 11 and 12 and the time chart shown in FIG.

すなわち、第11図に示すように、回転筒3の周囲に設け
られた作動片17を回転筒位置センサ18が検出して、回転
筒位置センサ出力信号(SNS)の立ち上がりとなるタイ
ミングT81までに、紙幣Saに対する判別処理が終了し、
この紙幣Saが異常紙幣と判断されたとする。
That is, as shown in FIG. 11, by the timing T81 when the rotary cylinder position sensor 18 detects the operating piece 17 provided around the rotary cylinder 3 and the rising of the rotary cylinder position sensor output signal (SNS) occurs. , The discrimination process for the banknote Sa is completed,
It is assumed that the bill Sa is determined to be an abnormal bill.

そして、このタイミングT81で、第13図に示すように、
計数モータ駆動信号(CMD正転)に代えて計数モータブ
レーキ信号(BRK)が与えられて、吸引軸5が配置され
た回転筒3の回転が急減速される。
Then, at this timing T81, as shown in FIG.
The count motor brake signal (BRK) is given instead of the count motor drive signal (CMD normal rotation), and the rotation of the rotary cylinder 3 on which the suction shaft 5 is arranged is rapidly decelerated.

その後、タイミングT81時点で、回転筒位置センサ18に
より検出された作動片17が、その回転筒位置センサ18に
より検出されなくなるまでの、すなわち、回転筒位置セ
ンサ出力信号(SNS)が立ち下がるまでの回転範囲内
(第11図に示す位置から第12図に示す位置の回転範囲
内)で、たとえば、第13図に示すタイミングT82におい
て、回転筒3の回転が完全に停止する。
After that, at timing T81, the operation piece 17 detected by the rotary cylinder position sensor 18 is no longer detected by the rotary cylinder position sensor 18, that is, the rotary cylinder position sensor output signal (SNS) falls. Within the rotation range (the rotation range from the position shown in FIG. 11 to the position shown in FIG. 12), for example, at timing T82 shown in FIG. 13, the rotation of the rotary cylinder 3 completely stops.

そして、このタイミングT82において、異常紙幣Saは、
第12図に示すように、未計数紙幣(その最前面の紙幣が
Sbで表される)とも、計数済み紙幣Sc、Sdとも離れた中
間分離位置に停止されることになる。
Then, at this timing T82, the abnormal bill Sa is
As shown in Fig. 12, uncounted banknotes (the frontmost banknote is
(Denoted by Sb), the counted bills Sc and Sd are both stopped at the intermediate separating position.

なお、分離停止せしめられた異常紙幣Saの直後の紙幣Sb
は、吸引軸5内の残留真空圧により、分離停止動作時点
においては、短時間の間、第12図に示すように吸引軸5
に吸着されて折り曲げられた状態にあるが、紙幣Sb自身
の腰の強さ(弾性)で、矢印方向に直ちに復帰すること
になる。
The banknote Sb immediately after the abnormal banknote Sa that has been separated and stopped
Due to the residual vacuum pressure in the suction shaft 5, at the time of the separation stop operation, as shown in FIG.
Although it is in a state of being sucked and bent by the banknote, the banknote Sb immediately returns in the direction of the arrow due to the strength (elasticity) of the waist of the banknote Sb itself.

〈ステップ32〉 異常紙幣Saが計数モータ19の急停止で第12図に示すよう
に中間位置で確実に分離停止されているか否かを判断
し、YESの場合には次のステップ33へ進み、NOの場合に
はステップ40へ進む。
<Step 32> It is determined whether or not the abnormal banknote Sa is reliably separated and stopped at the intermediate position as shown in FIG. 12 by the sudden stop of the counting motor 19, and if YES, the process proceeds to the next step 33, If NO, go to step 40.

この場合、回転筒の回転が完全に停止するタイミングま
での間(例えば、タイミングT81からタイミングT83まで
の一定時間内)に、回転筒位置センサ出力信号(SNS)
がON状態を保持していたか否かによって、分離停止が確
実にあったか否かを判断することができる。
In this case, the rotation cylinder position sensor output signal (SNS) is output until the timing when the rotation of the rotation cylinder is completely stopped (for example, within a certain time from timing T81 to timing T83).
Whether or not the separation stop is surely possible can be determined by whether or not the ON state is maintained.

〈ステップ33〉 分離停止された異常紙幣Saが、後述するリトライ処理に
よって、再計数された上で連続して異常紙幣として判別
されたか否かを判断し、NOの場合には次のステップ34へ
進み、同一紙幣が連続して異常紙幣と判断されたYESの
場合には、ステップ36へ進む。
<Step 33> It is determined whether or not the abnormal banknote Sa that has been separated and stopped is re-counted and continuously determined as an abnormal banknote by a retry process described later, and if NO, to the next step 34. If YES, that is, if the same bill is continuously judged as an abnormal bill, the process proceeds to step 36.

〈ステップ34〉 第12図に示す中間分離位置に分離停止された異常紙幣Sa
を自動的に判別し直すリトライ処理を行うため、計数モ
ータ19を低速で逆転駆動し(ステップ35)、2本前の吸
引軸5を開始位置に設定した後、第5図(A)のステッ
プ11に戻って、異常紙幣Saに対する判別動作を再度行
う。
<Step 34> The abnormal banknote Sa separated and stopped at the intermediate separation position shown in FIG.
In order to perform the retry process for automatically re-determining the above, the counting motor 19 is reversely driven at a low speed (step 35), and the suction shaft 5 two before is set to the start position, and then the step of FIG. 5 (A). Returning to 11, the discrimination operation for the abnormal bill Sa is performed again.

すなわち、タイミングT83において、計数モータブレー
キ信号(BRK)に代えて計数モータ駆動信号(CMD低速逆
転)を与えて、計数モータ19を低速で逆転開始させる。
That is, at timing T83, the counting motor drive signal (CMD low speed reverse rotation) is applied instead of the counting motor brake signal (BRK) to start the reverse rotation of the counting motor 19 at low speed.

この逆転動作中のタイミングT84においては、第12図に
異常紙幣Saと未計数紙幣Sbとの間に位置する吸引軸5が
第11図に示す開始位置(未計数紙幣Sbにほぼ正対してい
る吸引軸5の位置を言う)まで逆転されて、異常紙幣Sa
が第11図に示す紙幣Saの位置まで戻り、さらにタイミン
グT85において、第12図に異常紙幣Saと計数済み紙幣S
c、Sdとの間に位置する吸引軸5が第11図に示す開始位
置まで逆転されることにより、分離停止された異常紙幣
Saが未計数紙幣Sbと一緒になる。
At the timing T84 during this reverse rotation operation, the suction shaft 5 located between the abnormal bill Sa and the uncounted bill Sb in FIG. 12 is substantially at the starting position (almost directly facing the uncounted bill Sb in FIG. 11). The position of the suction shaft 5 is reversed), and the abnormal bill Sa
Returns to the position of the banknote Sa shown in FIG. 11, and further at timing T85, the abnormal banknote Sa and the counted banknote S are shown in FIG.
Abnormal bills that have been separated and stopped by reversing the suction shaft 5 located between c and Sd to the start position shown in FIG.
Sa becomes with uncounted bill Sb.

そして、このタイミングT85において、計数モータ駆動
信号(CMD低速逆転)に代えて計数モータブレーキ信号
(BRK)を再度与えて、この位置で停止させる。
Then, at this timing T85, instead of the counting motor drive signal (CMD low speed reverse rotation), the counting motor brake signal (BRK) is given again to stop at this position.

そして、第5図(A)のステップ11に戻った場合には、
ポンプモータ21を再度駆動し、圧力判定信号(VSW)が
再度出力されたところで(タイミングT86)、計数モー
タブレーキ信号(BRK)に代えて計数モータ駆動信号(C
MD正転)を与えて、異常紙幣Saに対する判別動作を自動
的に再開する(タイミングT87以降)。
And when returning to step 11 of FIG. 5 (A),
When the pump motor 21 is driven again and the pressure determination signal (VSW) is output again (timing T86), the counting motor drive signal (C
(MD forward rotation) is given to automatically restart the discriminating operation for the abnormal bill Sa (after timing T87).

次に、分離停止された異常紙幣Saが、直前のリトライ処
理によって再計数された上で、再び連続して異常紙幣Sa
として判別された場合の処理について、ステップ36〜ス
テップ41に基づいて説明する。
Next, the abnormal banknotes Sa that have been separated and separated are re-counted by the immediately preceding retry process, and then again in succession.
The process in the case of being determined as will be described based on steps 36 to 41.

なお、このステップ36〜ステップ41までの処理について
は、第11図および第12図に示す状態説明図と、第14図に
示すタイムチャートに従って、詳細に説明する。
The processing from step 36 to step 41 will be described in detail with reference to the state explanatory diagrams shown in FIGS. 11 and 12 and the time chart shown in FIG.

〈ステップ36〉 前記ステップ33において連続して判別異常と判断された
異常紙幣Saは、第12図に示すように、異常紙幣Saが計数
済み紙幣Sc、Sd側に比較的寄った位置に分離停止された
状態であるため、操作者による目視確認が多少とも行い
にくい恐れがある。
<Step 36> As shown in FIG. 12, the abnormal banknotes Sa which are continuously judged to be abnormal in step 33 are separated and stopped at a position relatively close to the counted banknotes Sc and Sd of the abnormal banknotes Sa. Since it is in such a state, it may be difficult for the operator to perform any visual confirmation.

これを解消するため、この第12図の分離停止状態の位置
から、第1図に示す紙幣Saの位置まで吸引軸5(回転筒
3)を逆転させると良く、吸引軸5を待機位置に戻す処
理を、このステップ36からステップ39の間で行う。
In order to solve this, it is preferable to reverse the suction shaft 5 (rotating cylinder 3) from the position of the separation stop state of FIG. 12 to the position of the banknote Sa shown in FIG. 1, and return the suction shaft 5 to the standby position. The process is performed between step 36 and step 39.

すなわち、タイミングT103において、逆転方向に計数モ
ータ駆動信号(CMD)を出力して、吸引軸5が第11図に
示す開始位置に戻るまで(このステップ36がNOの間)、
計数モータ19を低速で逆転駆動し(ステップ37)、吸引
軸5が開始位置に戻された場合(このステップ36がYES
の場合:タイミングT104)には、次のステップ38に進
む。
That is, at timing T103, the counting motor drive signal (CMD) is output in the reverse rotation direction until the suction shaft 5 returns to the start position shown in FIG. 11 (while this step 36 is NO),
When the counting motor 19 is driven in reverse at a low speed (step 37) and the suction shaft 5 is returned to the start position (this step 36 is YES).
In the case of: at timing T104), the process proceeds to the next step 38.

〈ステップ38〉 吸引軸5が、第11図に示す開始位置に戻された後、今度
は、正転方向に計数モータ駆動信号(CMD)を出力(タ
イミングT105)して、吸引軸5が第1図に示す待機位置
に設定されるまで(このステップ38がNOの間)、計数モ
ータ19を低速で正転駆動し(ステップ39)、待機位置に
設定された場合(このステップ38がYESの場合:タイミ
ングT106)、次のステップ40へ進む。
<Step 38> After the suction shaft 5 is returned to the starting position shown in FIG. 11, this time, the count motor drive signal (CMD) is output in the forward rotation direction (timing T105), and the suction shaft 5 is moved to the first position. 1 is set to the standby position (while this step 38 is NO), the counting motor 19 is driven in the normal direction at a low speed (step 39), and when it is set to the standby position (YES in this step 38). Case: Timing T106), the process proceeds to the next Step 40.

〈ステップ40〉 ステップ33〜ステップ39を経て連続異常紙幣Saが検出さ
れて異常終了した場合、もしくは、ステップ32において
異常紙幣Saの分離停止に失敗した異常終了の場合には、
操作者によって目視により異常紙幣Saの金種確認がなさ
れる。
<Step 40> If the abnormal abnormal banknote Sa is detected abnormally through steps 33 to 39, or if the abnormal termination of the abnormal banknote Sa is unsuccessfully stopped in step 32,
The operator visually confirms the denomination of the abnormal bill Sa.

この場合、異常紙幣Saは、第1図に示すように、目視に
よる確認が行い易い位置に設定されているため、操作者
によって素早く確認が行われることになる。
In this case, as shown in FIG. 1, the abnormal bill Sa is set at a position where visual confirmation is easy, so that the operator can promptly perform confirmation.

そして、確認スイッチが操作されることにより、継続計
数がYESと判断されてステップ11へ進む。
Then, by operating the confirmation switch, the continuation count is determined to be YES, and the process proceeds to step 11.

以後、ポンプモータ21が駆動開始されて、圧力判定信号
(VSW)が出力されることにより(ステップ14YES)、未
計数紙幣Sbのめくり取り判別動作が再開されることとな
る。
After that, the pump motor 21 is started to drive, and the pressure determination signal (VSW) is output (step 14 YES), so that the turning-over determination operation of the uncounted banknote Sb is restarted.

一方、このステップ40において、確認ステップが操作さ
れぬ間(継続計数がNOの間)、クリア釦が操作されたか
否かがステップ41において判断され、クリア釦が操作さ
れたYESの場合には、ステップ41から前記したステップ2
2と同様にステップ2へ戻ることになり、このステップ4
1がNOの場合には、ステップ40とステップ41とのループ
で待機することになる。
On the other hand, in this step 40, while the confirmation step is not operated (while the continuous counting is NO), it is determined in step 41 whether or not the clear button is operated, and in the case of YES when the clear button is operated, Step 41 to Step 2 above
As with step 2, you will return to step 2.
When 1 is NO, the process stands by in the loop of step 40 and step 41.

次に、CPU49における計数処理フローの詳細について第
6図(A)〜(D)を参照して説明し、さらにCPU66に
おける判別処理フローの詳細について第7図および第8
図を参照して説明する。
Next, the details of the counting process flow in the CPU 49 will be described with reference to FIGS. 6A to 6D, and the details of the determination process flow in the CPU 66 will be described with reference to FIGS. 7 and 8.
It will be described with reference to the drawings.

(b)計数制御動作2(第6図(A)〜(D)参照) まず始めに、計数時の制御を、第6図(A)のフローを
中心にして説明する。
(B) Counting control operation 2 (see FIGS. 6 (A) to (D)) First, the control at the time of counting will be described focusing on the flow in FIG. 6 (A).

第6図(A) 〈ステップ100〉 スタート 〈ステップ101〉 ポンプモータ21が駆動開始される。FIG. 6 (A) <Step 100> Start <Step 101> The pump motor 21 is started to be driven.

〈ステップ102〉 回転筒位置センサ出力信号(SNS)のON−OFF状態によ
り、吸引軸5が開始位置にある(SNSがOFFである)か否
かを判断し、NOの場合には、計数モータ19を低速で逆転
させて吸引軸5を開始位置に設定し(ステップ103)、Y
ESの場合には、次のステップ104に進む。
<Step 102> Whether the suction shaft 5 is at the start position (SNS is OFF) is determined by the ON-OFF state of the rotary cylinder position sensor output signal (SNS). If NO, the counting motor Reverse 19 at a low speed to set the suction shaft 5 to the start position (step 103).
In the case of ES, the process proceeds to the next step 104.

〈ステップ104〉 検出モードスイッチ53がONとなっているか否か、すなわ
ち、紙幣表面のパターンを読み取る必要があるか否かを
判断し、YESの場合には、判別ON信号および表裏モード
信号(但し、表裏モードスイッチ54がONのときのみ、以
下同じ)を判別制御回路46(第7図に示す判別ルーチ
ン)に出力するとともに(矢印で示す)、二重送り検
出ランプ37および投光器40を点灯する(ステップ10
5)。
<Step 104> It is determined whether or not the detection mode switch 53 is ON, that is, whether or not it is necessary to read the pattern on the bill surface. If YES, the determination ON signal and the front / back mode signal (however, , Only when the front / back mode switch 54 is ON, the same applies hereinafter to the discrimination control circuit 46 (discrimination routine shown in FIG. 7) (indicated by an arrow), and the double feed detection lamp 37 and the projector 40 are turned on. (Step 10
Five).

また、検出モードスイッチ53がOFFとなっている場合に
は、計数のみを行うと判断して、次のステップ106に進
む。
Further, when the detection mode switch 53 is OFF, it is determined that only counting is performed, and the process proceeds to the next step 106.

〈ステップ106〉 真空ポンプ18が駆動され、且つ吸引軸5が開始位置に設
定されることにより、吸引軸5内の真空圧が上昇し、圧
力判定信号(VSW)が出力されるまで、このステップ106
で待機する。
<Step 106> This step is performed until the vacuum pump 18 is driven and the suction shaft 5 is set to the start position, so that the vacuum pressure in the suction shaft 5 rises and the pressure determination signal (VSW) is output. 106
Wait at.

〈ステップ107〉 圧力判定信号(VSW)が出力されることにより、計数モ
ータ19を高速で正転方向に回転させ始める。
<Step 107> When the pressure determination signal (VSW) is output, the counting motor 19 starts to rotate at high speed in the forward direction.

〈ステップ108〉 OFF状態にある回転筒位置センサ出力信号(SNS)が、ON
状態となる立ち上がり時となったか否かを検出し、YES
の場合には次のステップ109へ進む。
<Step 108> The rotary cylinder position sensor output signal (SNS) in the OFF state turns ON.
Detects whether or not it is the rising time to enter the state, YES
In case of, proceed to the next step 109.

〈ステップ109〉 前記ステップ108と同一のタイミングでトリガー信号(T
RG)を判別制御回路46(第7図に示す判別ルーチン)に
出力させる(矢印で示す)。
<Step 109> The trigger signal (T
RG) is output to the discrimination control circuit 46 (discrimination routine shown in FIG. 7) (indicated by an arrow).

〈ステップ110〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を検出
し、ON(YES)の場合には次のステップ111に進み、NOの
場合にはステップ116に進む。
<Step 110> The ON-OFF state of the rotary cylinder position sensor output signal (SNS) is detected. If ON (YES), the process proceeds to the next step 111, and if NO, the process proceeds to step 116.

〈ステップ111〉 圧力判定信号(VSW)がONとなっているか否かを判断
し、ON(YES)の場合には次のステップ112に進むととも
に、OFF(ON)の場合には、ステップ180に進んで判別OF
F信号を判別制御回路46(第7図に示す判別ルーチン)
に出力し(矢印で示す)、且つ計数モータ19、ポンプ
モータ21の駆動および二重送り検出用ランプ37、投光器
40の点灯を停止(ステップ181)した後、正常終了時の
処理を行うため第6図(D)のステップ182に進む。
<Step 111> It is judged whether or not the pressure judgment signal (VSW) is ON. If it is ON (YES), proceed to the next Step 112, and if OFF (ON), proceed to Step 180. Discriminate OF
Discrimination control circuit 46 for F signal (discrimination routine shown in FIG. 7)
Lamp 37 (shown by an arrow) and for driving the counting motor 19, the pump motor 21, and the double feed detection, the projector.
After the lighting of 40 is stopped (step 181), the process proceeds to step 182 in FIG.

〈ステップ112〉 検出モードスイッチ53がONとなっているか否かを判断
し、YESの場合には次のステップ113に進み、NOの場合に
はステップ114に進む。
<Step 112> It is determined whether or not the detection mode switch 53 is ON. If YES, the process proceeds to the next step 113, and if NO, the process proceeds to step 114.

〈ステップ113〉 後述するように、異金種が検出された場合、表裏判別モ
ードの時に表裏不一致が検出された場合、全ての基準パ
ターンと一致せずに判別異常と判断された場合、あるい
は二重吸着が検出された場合に、判別制御回路46(第7
図に示す判別ルーチン)から出力されるエラー信号の入
力(矢印で示す)があるか否かを判断し、YESの場合
には、エラー紙幣(異常紙幣)に対するリトライ処理も
しくは確認処理を行うために、第6図(C)のステップ
135に進み、またエラー信号が入力されていないNOの場
合には次のステップ114に進む。
<Step 113> As will be described later, when a different denomination is detected, when the front and back discrepancies are detected in the front and back discrimination mode, when it is determined that the discrimination abnormality does not coincide with all the reference patterns, or two When heavy adsorption is detected, the discrimination control circuit 46 (7th
It is determined whether or not there is an input of an error signal (indicated by an arrow) output from the discrimination routine shown in the figure). , Step of FIG. 6 (C)
If it is NO that the error signal is not input, the process proceeds to the next step 114.

〈ステップ114〉 バッチモードがONとなっているか否かを判断し、YESの
場合には次のステップ115に進み、NOの場合には前記ス
テップ110に戻る。
<Step 114> It is determined whether or not the batch mode is ON. If YES, the process proceeds to the next step 115, and if NO, the process returns to step 110.

〈ステップ115〉 紙幣のめくり取り枚数(計数値)と予め設定された設定
値とを比較して、両値が一致したか否かを判断し、計数
値が設定値に達していないと判断されたNOの場合には前
記ステップ110に戻るとともに、計数値が設定値に達し
たと判断されたYESの場合には、いわゆるバッチ処理を
行うために、第6図(B)のステップ120に進む。
<Step 115> The number of bills to be flipped (count value) is compared with a preset setting value to determine whether the two values match, and it is determined that the count value has not reached the set value. If NO, the process returns to step 110. If YES, it is determined that the count value has reached the set value, and if YES, the process proceeds to step 120 of FIG. 6 (B) to perform so-called batch processing. .

このようにして、前記回転筒位置センサ出力信号(SN
S)がON状態で、且つ圧力判定信号(VSW)がON、エラー
信号の入力がなく、さらにバッチモードにおける一致が
得られていない限り、前記ステップ110〜ステップ115の
ルーチンを回り続け、前記ステップ110において回転筒
位置センサ出力信号(SNS)がOFFとなったところで、次
のステップ116に進む。
In this way, the rotary cylinder position sensor output signal (SN
S) is in the ON state, the pressure determination signal (VSW) is ON, there is no error signal input, and the agreement in the batch mode is not obtained, the routine of step 110 to step 115 is continued, When the rotary cylinder position sensor output signal (SNS) is turned off in 110, the process proceeds to the next step 116.

〈ステップ116〉 前記ステップ111と同様に、圧力判定信号(VSW)がONと
なっているか否かを判断し、ON(YES)の場合には次の
ステップ117に進むとともに、OFF(NO)の場合には、ス
テップ118に進んで判別OFF信号を判別制御回路46(第7
図に示す判別ルーチン)に出力し(矢印で示す)、且
つ計数モータ19、ポンプモータ21の駆動および二重送り
検出用ランプ37、投光器40の点灯を停止(ステップ18
1)した後、正常終了時の処理を行うため、第6図
(D)のステップ182に進む。
<Step 116> Similar to Step 111, it is determined whether or not the pressure determination signal (VSW) is ON. If ON (YES), the process proceeds to the next Step 117, and OFF (NO) In this case, the process proceeds to step 118 and the determination OFF signal is output to the determination control circuit 46 (7th
(Determination routine shown in the figure) (indicated by an arrow), and driving of the counting motor 19, the pump motor 21, and the double feed detection lamp 37 and the light projector 40 are stopped (step 18).
After 1), the process for normal termination is performed, and therefore the process proceeds to step 182 in FIG. 6D.

〈ステップ117〉 前記ステップ108と同様に、OFF状態にある回転筒位置セ
ンサ出力信号(SNS)が、ON状態となる立ち上がり時と
なったか否かを検出し、YESの場合には次のステップ118
へ進み、NOの場合には前記ステップ116に戻る。
<Step 117> Similar to step 108, it is detected whether or not the rotary cylinder position sensor output signal (SNS) in the OFF state has reached the ON state, and if YES, the next step 118
If NO, the process returns to step 116 if NO.

〈ステップ118〉 前記ステップ109と同様に、トリガー信号(TRG)を判別
制御回路46(第7図に示す判別ルーチン)に出力する
(矢印で示す)とともに、紙幣のめくり取り枚数を計
数するカウンタCNTに1を加算して(ステップ119)、前
記ステップ110に戻る。
<Step 118> A counter CNT that outputs a trigger signal (TRG) to the discrimination control circuit 46 (discrimination routine shown in FIG. 7) (indicated by an arrow) and counts the number of flipped bills as in step 109. Is incremented by 1 (step 119) and the process returns to step 110.

次に、バッチ処理時(前記ステップ115YESの場合)の制
御を、第6図(B)のフローを中心にして説明する。
Next, the control at the time of batch processing (when step 115 is YES) will be described centering on the flow in FIG. 6 (B).

第6図(B) 〈ステップ120〉 前記ステップ180と同様に、判別OFF信号を判別制御回路
46(第7図に示す判別ルーチン)に出力して(矢印で
示す)、次のステップ121に進む。
FIG. 6 (B) <Step 120> Similar to Step 180, the determination OFF signal is applied to the determination control circuit.
Output to 46 (discrimination routine shown in FIG. 7) (indicated by arrow), and proceed to the next step 121.

なお、枚数一致に伴うバッチ処理を行うための、ステッ
プ121以降のステップの説明においては、第11図および
第12図に示す状態説明図と、第9図に示すタイムチャー
トを参照して詳細に説明する。
It should be noted that, in the description of the steps after step 121 for performing the batch processing associated with the matching of the number of sheets, details will be described with reference to the state explanatory view shown in FIGS. 11 and 12 and the time chart shown in FIG. explain.

まず、始めに、計数値と設定値とが一致した時点の状況
を説明する。
First, the situation at the time when the count value and the set value match will be described.

バッチ処理しようとする設定枚数目の紙幣が第11図に示
す紙幣Saとすると、回転筒3の周囲に設けられた作動片
17が回転筒位置センサ18により検出されて回転筒位置セ
ンサ出力信号(SNS)が立ち上がった時点で、カウンタC
NTが1加算され(前記ステップ117〜ステップ119参照:
第9図タイミングTmとする)、枚数一致状態が得られる
(ステップ115)。
If the set number of banknotes to be batch processed is the banknote Sa shown in FIG. 11, an operating piece provided around the rotary cylinder 3
When the rotating cylinder position sensor 18 detects 17 and the rotating cylinder position sensor output signal (SNS) rises, the counter C
NT is incremented by 1 (see steps 117 to 119 above:
At timing Tm in FIG. 9), the number of sheets coincides with each other (step 115).

前記したように、異常紙幣の検出時と同様に、この時点
で回転筒3の回転を急停止せしめると、設定枚数目の紙
幣Saは、第12図に示す中間分離位置で停止してしまうた
め、直ちには急停止せしめずに、回転筒3の回転を継続
せしめて、その回転位置を監視する。
As described above, if the rotation of the rotary cylinder 3 is suddenly stopped at this point, as in the case of detecting the abnormal bill, the set number of bills Sa will stop at the intermediate separation position shown in FIG. Immediately, the rotation of the rotary cylinder 3 is continued without stopping suddenly and the rotation position is monitored.

〈ステップ121〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、OFF(YES)となったら次のステップ122に進み、ON
(NO)の場合にはこのステップ121で待機する。
<Step 121> Monitor the ON-OFF state of the rotary cylinder position sensor output signal (SNS), and if it is OFF (YES), proceed to the next Step 122 and turn it ON.
In the case of (NO), the process waits in this step 121.

なお、OFFとなった時とは、設定枚数目の紙幣Saが、第1
2図に示す位置に達した時に相当するものであり、仮に
設定枚数プラス1枚目の紙幣が存在する場合には、該プ
ラス1枚目の紙幣は第12図に紙幣Sbで示される位置にめ
くられることになる。
Note that when set to OFF, the set number of banknotes Sa is the first
This corresponds to when the position shown in FIG. 2 is reached, and if there is a set number plus the first bill, the plus first bill will be in the position indicated by bill Sb in FIG. You will be turned over.

〈ステップ122〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、ON(YES)となったら次のステップ123に進み、OFF
(NO)の場合にはこのステップ122で待機する。
<Step 122> Monitor the ON-OFF status of the rotary cylinder position sensor output signal (SNS), and if it is ON (YES), proceed to the next Step 123 and turn it OFF.
In the case of (NO), the process stands by in this step 122.

なお、ONとなった時とは、設定枚数目の紙幣Saが、第11
図紙幣Scで示す位置に達した時に相当し、これは第9図
のタイミングTm+1で示されるタイミングと一致するも
のであり、前記と同様に、設定枚数プラス1枚目の紙幣
が存在する場合には、該1枚目の紙幣は第11図に紙幣Sa
で示される位置にめくられることになる。
Note that when set to ON, the set number of banknotes Sa is the 11th
This corresponds to when the position indicated by the banknote Sc is reached, which coincides with the timing indicated by the timing Tm + 1 in FIG. 9, and when the set number of sheets plus the first banknote exists, as described above. The first banknote is the banknote Sa shown in FIG.
You will be turned to the position indicated by.

〈ステップ123〉 そして、このタイミングTm+1で、第9図に示すよう
に、計数モータ正転駆動信号(CMD−FF)に代えて計数
モータブレーキ信号(CM−BRK)が与えられて、吸引軸
5が配置された回転筒3の回転が急減速されるととも
に、ポンプモータ21の駆動および二重送り検出用ランプ
37、投光器40の点灯が停止される。
<Step 123> Then, at this timing Tm + 1, as shown in FIG. 9, the counting motor brake signal (CM-BRK) is applied instead of the counting motor forward drive signal (CMD-FF), and the suction shaft 5 The rotation of the rotary cylinder 3 in which is arranged is rapidly decelerated, and the pump motor 21 is driven and the double feed detection lamp is detected.
37, the lighting of the projector 40 is stopped.

〈ステップ124〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、次のステップ125とのループで、回転筒位置センサ
出力信号(SNS)がON状態のままで回転筒3が停止した
か否かを判断する。
<Step 124> The ON / OFF state of the rotary cylinder position sensor output signal (SNS) is monitored, and in the loop with the next step 125, the rotary cylinder 3 is detected while the rotary cylinder position sensor output signal (SNS) remains in the ON state. Determine whether it has stopped.

すなわち、回転筒位置センサ出力信号(SNS)がON状態
の時(ステップ124がYESの場合)、ステップ125におい
て、該ON状態が一定時間継続していたか否かを判断し、
一定時間経過していないNOの場合には、ステップ124と
のループで待機し、また、一定時間経過したYESの場合
には、該ON状態で回転筒3が停止できたと判断して次の
ステップ126に進む(第9図タイミングTm+2)。
That is, when the rotary cylinder position sensor output signal (SNS) is in the ON state (when step 124 is YES), in step 125, it is determined whether or not the ON state has continued for a certain period of time,
If NO has not elapsed for a certain period of time, the process waits in a loop with step 124, and if YES for a certain period of time, it is determined that the rotary cylinder 3 can be stopped in the ON state, and the next step Proceed to 126 (timing Tm + 2 in FIG. 9).

他方、ステップ124〜ステップ125のループにおいて、該
ON状態が一定時間経過せずに、途中でOFF状態となった
場合には(ステップ124がNOの場合)、ステップ133に進
む。
On the other hand, in the loop from step 124 to step 125,
If the ON state is turned OFF in the middle without elapse of a certain time (NO in step 124), the process proceeds to step 133.

なお、回転筒位置センサ出力信号(SNS)がONのままで
回転筒3が停止できた場合とは、設定枚数目の紙幣Sa
が、第12図に紙幣Sc(Sd)で示す位置に達した時に相当
するものであり、前記と同様に、設定枚数プラス1枚目
の紙幣が存在する場合には、該プラス1枚目の紙幣は最
大第12図に紙幣Saで示される中間分離位置までめくられ
ることになる。
In addition, when the rotary cylinder 3 can be stopped while the rotary cylinder position sensor output signal (SNS) remains ON, the set number of banknotes Sa
Corresponds to the time when the position indicated by the bill Sc (Sd) in FIG. 12 is reached, and similarly to the above, when there is the set number of bills plus the first bill, the plus first bill The bill will be turned up to the intermediate separating position indicated by bill Sa in FIG.

さらにまた、この第12図に示される設定枚数プラス2枚
目の紙幣Sbは、吸引軸5内の残留真空圧により、短時間
の間、第12図に示すように吸引軸5に吸着されて折り曲
げられた状態にあるが、紙幣Sb自身の腰の強さで、矢印
方向に直ちに復帰することになる。
Furthermore, the set number of sheets plus the second banknote Sb shown in FIG. 12 is attracted to the suction shaft 5 as shown in FIG. 12 for a short time due to the residual vacuum pressure in the suction shaft 5. Although it is in a folded state, the strength of the banknote Sb itself causes it to immediately return in the direction of the arrow.

〈ステップ126〉 バッチ処理のためには、設定枚数分の紙幣と未計数分の
紙幣とに明確に分けることが必要で、中間分離位置に停
止せしめられた設定枚数プラス1枚目の紙幣Sa(第12
図)を、未計数紙幣Sb側へ戻す処理が行われる。
<Step 126> For batch processing, it is necessary to clearly divide the set number of banknotes and the uncounted number of banknotes, and the set number of banknotes stopped at the intermediate separation position plus the first banknote Sa ( 12th
(Figure) is returned to the uncounted bill Sb side.

すなわち、このステップ126では、タイミングTm+3に
おいて、計数モータブレーキ信号(CM−BRK)に代えて
計数モータ低速逆転信号(CMD−R)に与えて、計数モ
ータ19を低速で逆転開始させる。
That is, at this step 126, at timing Tm + 3, the counting motor 19 is started at low speed by giving the counting motor low speed reverse rotation signal (CMD-R) instead of the counting motor brake signal (CM-BRK).

なお、この逆転処理は、回転筒位置センサ出力信号(SN
S)のON−OFF状態を監視することにより、制御される。
Note that this reverse rotation processing is performed by the rotary cylinder position sensor output signal (SN
It is controlled by monitoring the ON-OFF status of S).

〈ステップ127〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、OFF(YES)となったら次のステップ128に進み、ON
(NO)の場合にはこのステップ127で待機する。
<Step 127> Monitor the ON-OFF status of the rotary cylinder position sensor output signal (SNS), and if it is OFF (YES), proceed to the next Step 128 and turn it ON.
In the case of (NO), it waits in this step 127.

なお、OFFとなった時とは、第12図紙幣Saで示される設
定枚数プラス1枚目の紙幣が、第11図紙幣Saで示される
位置まで戻された時に相当するものである。
In addition, when it is turned off, the set number of bills shown in FIG. 12 bill Sa plus the first bill is returned to the position shown in FIG. 11 bill Sa.

またこの時、設定枚数分の紙幣Sc(Sd)は、紙幣自体の
腰の強さなどによって、第11図紙幣Scで示されるように
逆転してくる吸引軸5により二分されるようなことはな
い。
At this time, the set number of banknotes Sc (Sd) are not bisected by the suction shaft 5 which is reversed as shown in FIG. 11 banknote Sc depending on the strength of the banknote itself. Absent.

〈ステップ128〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、ON(YES)となったら次のステップ129に進み、OFF
(NO)の場合にはこのステップ128で待機する。
<Step 128> Monitor the ON-OFF status of the rotary cylinder position sensor output signal (SNS), and if ON (YES), proceed to the next step 129 and turn OFF.
In the case of (NO), the process waits at this step 128.

なお、ONとなった時とは、第11図紙幣Saで示される位置
まで戻された設定枚数プラス1枚目の紙幣が、第12図紙
幣Sbで示される位置まで戻された時に相当するものであ
り、これは第9図のタイミングTm+4で示されるタイミ
ングと一致する。
In addition, when it is turned ON, it corresponds to when the set number of sheets returned to the position shown in FIG. 11 banknote Sa plus the first banknote is returned to the position shown in FIG. 12 banknote Sb. And this coincides with the timing indicated by the timing Tm + 4 in FIG.

一応、このタイミングTm+4において、回転筒3の回転
を停止しても、紙幣Sb自体の腰の強さにより、第12図矢
印で示すように他の未計数紙幣と一緒になるが、さらに
確実に一緒にさせるため、もう少し回転筒3の逆転が続
けられる。
At this timing Tm + 4, even if the rotation of the rotary cylinder 3 is stopped, due to the rigidity of the banknote Sb itself, it becomes together with other uncounted banknotes as shown by the arrow in FIG. 12, but more reliably. The rotation of the rotary cylinder 3 is continued for a little longer so that the rotary cylinder 3 can work together.

〈ステップ129〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、OFF(YES)となったら次のステップ130に進み、ON
(NO)の場合にはこのステップ129で待機する。
<Step 129> Monitor the ON-OFF status of the rotary cylinder position sensor output signal (SNS), and if it is OFF (YES), proceed to the next step 130 and turn it ON.
In the case of (NO), this step 129 waits.

なお、OFFとなった時とは、第12図紙幣Sbで示される位
置まで戻された設定枚数プラス1枚目の紙幣が、第11図
紙幣Sbで示される位置まで戻された時に相当するもので
あり、これは第9図のタイミングTm+5で示されるタイ
ミングと一致する。
In addition, when it is turned off, the set number of sheets returned to the position shown in FIG. 12 banknote Sb plus the first banknote corresponds to the time returned to the position shown in FIG. 11 banknote Sb. And this coincides with the timing indicated by the timing Tm + 5 in FIG.

〈ステップ130〉 このタイミングTm+5においてバッチ処理が終了し、計
数モータ低速逆転信号(CMD−R)に代えて計数モータ
ブレーキ信号(CM−BRK)を短時間与えて、計数モータ1
9を停止させる。
<Step 130> At this timing Tm + 5, the batch processing ends, and the counting motor brake signal (CM-BRK) is applied for a short time instead of the counting motor low-speed reverse rotation signal (CMD-R), and the counting motor 1
Stop 9

〈ステップ131〉 上記のようにして、バッチ処理が成された設定枚数の紙
幣をホルダ1より取り出すためのクリア操作が行われた
か否か、あるいは後述するバッチ処理が失敗に終わった
際に出力されるアラームを解除しながらホルダ1上の紙
幣を取り出すためのクリア操作が行われたか否かを判断
し、YESの場合には次のステップ132に進む。
<Step 131> As described above, it is output whether or not the clear operation for taking out the set number of banknotes subjected to the batch processing from the holder 1 has been performed, or when the batch processing described later has failed. It is determined whether or not the clear operation for taking out the bills on the holder 1 is performed while releasing the alarm, and if YES, the process proceeds to the next step 132.

〈ステップ132〉 ホルダ1に対するオープン信号(前記ステップ22参照)
を出力して、このフローが終了する。
<Step 132> Open signal for holder 1 (see step 22 above)
Is output, and this flow ends.

他方、前記ステップ124において、回転筒位置センサ出
力信号(SNS)のON状態が一定時間継続せずに途中でOFF
状態となった場合似ついて説明する。
On the other hand, in step 124, the ON state of the rotary cylinder position sensor output signal (SNS) does not continue for a certain period of time and turns OFF midway.
The situation will be described in detail.

まず、回転筒位置センサ出力信号(SNS)が途中でOFF状
態となった場合とは、設定枚数プラス1枚目の紙幣が存
在する場合には、該プラス1枚目の紙幣は第12図に紙幣
Saで示される中間分離位置を越えて、第11図に紙幣Scで
示す位置乃至は紙幣Sdで示す位置までめくられてします
ことを示すものであり、バッチ処理の失敗を表すことに
なる。
First, when the rotary cylinder position sensor output signal (SNS) is turned off in the middle, and when the set number of sheets plus the first bill exists, the plus first bill is shown in FIG. bill
This indicates that the sheet has been turned over to the position indicated by the bill Sc or the position indicated by the bill Sd in FIG. 11 beyond the intermediate separation position indicated by Sa, which indicates failure of the batch processing.

なお、前記プラス1枚目の紙幣が第11図紙幣Scで示すよ
うな位置に停止すれば、前記のような戻し処理を行える
とも考えられるかもしれないが、紙幣の腰の強さなどに
よって第11図紙幣Sbで示す位置まで移動することが考え
られたため、回転筒位置センサ出力信号(SNS)が途中
でOFF状態となった場合には、すべて次のステップ133に
進むことにしている。
It should be noted that if the plus first bill is stopped at the position shown in Fig. 11 bill Sc, it may be possible to carry out the above-mentioned returning process, but depending on the strength of the waist of the bill, etc. Since it may be possible to move to the position indicated by the bill Sb in FIG. 11, when the rotary cylinder position sensor output signal (SNS) is turned off midway, it is decided to proceed to the next step 133.

ところで、設定枚数プラス1枚目の紙幣が存在していれ
ば、バッチ処理の失敗となるが、たまたまホルダ1に装
填された紙幣が設定枚数に一致していれば、例え回転筒
3の急停止に失敗してもオーバーランしたとしても、バ
ッチ処理の失敗とは言えないことになる。
By the way, if there is the set number of bills plus the first bill, the batch processing will fail, but if the number of bills loaded into the holder 1 coincides with the set number of bills, the rotary cylinder 3 suddenly stops. Even if it fails to overrun, it cannot be said that the batch process has failed.

すなわち、次のステップ133は、設定枚数プラス1枚目
の紙幣が存在していたか否かを判断するステップであ
る。
That is, the next step 133 is a step of determining whether or not the set number of sheets plus the first bill is present.

〈ステップ133〉 前記ステップ120においても説明したように、設定枚数
目の紙幣(第11図紙幣Saで示す)の計数がなされて、枚
数一致状態が得られた際には、設定枚数プラス1枚目の
紙幣(第11図紙幣Sbで示す)に対して、判別のためのト
リガー信号(TRG)がすでに判別制御回路46(第7図に
示す判別ルーチン)に出力されている(前記ステップ11
8参照:矢印で示す:第9図のタイミングTm)。
<Step 133> As described in step 120, when the set number of banknotes (denoted by banknote Sa in FIG. 11) are counted and the number of coins coincides, the set number of coins plus 1 A trigger signal (TRG) for discrimination has already been output to the discrimination control circuit 46 (discrimination routine shown in FIG. 7) for the eye bill (denoted by bill Sb in FIG. 11) (step 11 above).
8 reference: indicated by arrow: timing Tm in FIG. 9).

後に詳細に説明するように、このトリガー信号(TRG)
が出力されると、第11図紙幣Saで示される設定枚数目の
紙幣に対する判別結果が出力されるとともに(但し、異
常の場合のみ)第11図紙幣Sbで示される設定枚数プラス
1枚目の紙幣に対する表面パターンの読み込みと、この
読み込んだデータに基づいて紙幣が存在しているか否か
が判断され、存在していないときにのみエンド信号が出
力されることになる。
This trigger signal (TRG), as described in more detail below.
Is output, the determination result for the set number of banknotes shown in FIG. 11 banknote Sa is output (however, only in the case of abnormality) and the set number of banknotes shown in FIG. 11 banknote Sb plus the first banknote When the surface pattern of the bill is read and whether the bill is present or not is determined based on the read data, the end signal is output only when the bill is not present.

そこで、このステップ133においては、判別制御回路46
より矢印で示されるようにエンド信号が出力されてい
たか否かを判断し、YESの場合にはアラームを出力する
ことなく前記ステップ131に進み、NOの場合には次のス
テップ134に進む。
Therefore, in this step 133, the discrimination control circuit 46
Further, it is determined whether or not the end signal is output as indicated by the arrow. If YES, the process proceeds to step 131 without outputting an alarm, and if NO, the process proceeds to the next step 134.

なお、エンド信号が出力されるには、前記したように検
出モードであることが必要で、単なる計算の場合には、
ずべてバッチ失敗して処理される。
In addition, in order to output the end signal, it is necessary to be in the detection mode as described above, and in the case of simple calculation,
All batches fail and are processed.

〈ステップ134〉 上記のようにして、バッチ処理が失敗した場合、あるい
は後述するように、異常紙幣を検出して第12図紙幣Saで
示す中間分離位置に分離できなかった場合には、バッチ
不良アラームを出力して、異常ランプもしくはブザーな
どにより操作者に通知せしめ、前記ステップ131に進
む。
<Step 134> If the batch processing fails as described above, or if an abnormal banknote is detected and cannot be separated into the intermediate separation position shown in FIG. 12 banknote Sa, as will be described later, the batch is defective. An alarm is output to notify the operator by an abnormal lamp or a buzzer, and the operation proceeds to step 131.

次に、異常紙幣検出時(前記ステップ113YESの場合)の
制御を、第6図(C)のフローを中心にして説明する。
Next, the control at the time of detecting an abnormal bill (in the case of step 113YES) will be described focusing on the flow of FIG. 6 (C).

なお、異常紙幣検出に伴うリトライ処理もしくは確認処
理の際の中間分離停止動作(バッチ動作にほぼ等しい)
を行う、ステップ135以降のステップの説明において
は、第11図および第12図に示す状態説明図と、第13図お
よび第14図に示すタイムチャートを参照して説明する。
Note that the intermediate separation stop operation during the retry processing or confirmation processing associated with the detection of abnormal banknotes (almost equal to the batch operation)
In the description of the steps after step 135, the description will be made with reference to the state explanatory diagrams shown in FIGS. 11 and 12 and the time charts shown in FIGS. 13 and 14.

まず、始めに、第13図タイミングT81において、異常紙
幣(第11図紙幣Saで示す)が検出されたものとする。
First, assume that an abnormal bill (denoted by bill Sa in FIG. 11) is detected at timing T81 in FIG.

第6図(C) 〈ステップ135〉 前記ステップ180、ステップ120と同様に、判別OFF信号
を判別制御回路46(第7図に示す判別ルーチン)に出力
して(矢印で示す)、次のステップ136に進む。
FIG. 6 (C) <Step 135> Similar to Steps 180 and 120, a discrimination OFF signal is output to the discrimination control circuit 46 (discrimination routine shown in FIG. 7) (indicated by an arrow), and the next step Continue to 136.

〈ステップ136〉 そして、このタイミングT81で、第13図に示すように、
計数モータ信号(CMD正転)に代えて計数モータブレー
キ信号(BRK)が与えられて、吸引軸5が配置された回
転筒3の回転が急減速されるとともに、ポンプモータ21
の駆動および二重送り検出用ランプ37、投光器40の点灯
が停止される。
<Step 136> Then, at this timing T81, as shown in FIG.
The count motor brake signal (BRK) is given instead of the count motor signal (CMD normal rotation), the rotation of the rotary cylinder 3 on which the suction shaft 5 is arranged is rapidly reduced, and the pump motor 21
Driving, the double feed detection lamp 37, and the lighting of the projector 40 are stopped.

〈ステップ137〉 前記ステップ124〜ステップ125と同様に、回転筒位置セ
ンサ出力信号(SNS)のON−OFF状態を監視し、次のステ
ップ138とのループで、回転筒位置センサ出力信号(SN
S)がON状態のままで回転筒3が停止したか否かを判断
する。
<Step 137> Similar to Steps 124 to 125, the ON-OFF state of the rotary cylinder position sensor output signal (SNS) is monitored, and in the loop with the next Step 138, the rotary cylinder position sensor output signal (SN) is detected.
It is determined whether the rotary cylinder 3 has stopped while S) remains ON.

すなわち、回転筒位置センサ出力信号(SNS)がON状態
の時(ステップ137がYESの場合)、ステップ138におい
て、該ON状態が一定時間継続していたか否かを判断し、
一定時間経過していないNOの場合には、ステップ137と
のループで待機し、また、一定時間経過したYESの場合
には、該ON状態で回転筒3が停止できたと判断して次の
ステップ139に進む(第13図タイミングT82)。
That is, when the rotary cylinder position sensor output signal (SNS) is in the ON state (when step 137 is YES), in step 138, it is determined whether or not the ON state has continued for a certain period of time,
If NO has not elapsed for a certain period of time, the process waits in a loop with step 137, and if YES for a certain period of time, it is determined that the rotary cylinder 3 can be stopped in the ON state, and the next step Proceed to 139 (timing T82 in FIG. 13).

他方、ステップ137〜ステップ138のループにおいて、該
ON状態が一定時間経過せずに、途中でOFF状態となった
場合には(ステップ137がNOの場合)、前記ステップ124
がNOの場合と同様に、第6図(B)に示すステップ134
に進み、異常紙幣を検出したが、第12図紙幣Saで示す中
間分離位置に分離できなかったことを表すバッチ不良ア
ラームを出力して、異常ランプもしくはブザーなどによ
り操作者に通知せしめ、前記ステップ131に進む。
On the other hand, in the loop from step 137 to step 138,
If the ON state is turned OFF during a certain period of time (step 137 is NO), the above step 124
As in the case of NO, step 134 shown in FIG. 6 (B).
The abnormal banknotes are detected, but a batch failure alarm indicating that the banknotes could not be separated to the intermediate separation position shown in FIG. 12 banknote Sa is output, and the operator is notified by an abnormal lamp or buzzer, and the step described above is performed. Continue to 131.

なお、回転筒位置センサ出力信号(SNS)がON状態のま
まで回転筒3が停止できた場合とは、異常紙幣Saが、第
12図に示すように、計数済み紙幣Sc、Sdとも未計数紙幣
Sbとも分離された状態で確実に停止されたことを表すも
のである。
In addition, when the rotary cylinder 3 can be stopped while the rotary cylinder position sensor output signal (SNS) remains in the ON state, the abnormal bill Sa is
As shown in Fig. 12, both counted bills Sc and Sd are uncounted bills.
It also indicates that Sb has been reliably stopped in a separated state.

なお、第12図に示される異常紙幣Saの次の紙幣Sbは、吸
引軸5内の残留真空圧により、短時間の間、第12図に示
されるように吸引軸5に吸着されて折り曲げられた状態
にあるが、紙幣Sb自身の腰の強さで、矢印方向に直ちに
復帰することになる。
Note that the bill Sb next to the abnormal bill Sa shown in FIG. 12 is attracted to the suction shaft 5 and bent as shown in FIG. 12 due to the residual vacuum pressure in the suction shaft 5 for a short time. However, due to the strength of the waist of the banknote Sb itself, it will immediately return in the direction of the arrow.

〈ステップ139〉 前記ステップ119においては計数されたカウンタCNTの計
数値と、リトライ時にセットされるカウンタR・CNTと
の値(計数開始初期時には0にリセットされている)を
比較し、不一致のNOの場合には次のステップ140に進ん
でカウンタCNTの計数値をカウンタR・CNTにセットして
ステップ141に進み、一致したYESの場合にはステップ14
7に進む。
<Step 139> In step 119, the count value of the counter CNT counted is compared with the value of the counter R · CNT set at the time of retry (reset to 0 at the beginning of the count start), and the discrepancy NO In the case of, the process proceeds to the next step 140, the count value of the counter CNT is set in the counter R · CNT, and the process proceeds to step 141.
Proceed to 7.

すなわち、例えば45枚目の紙幣が初めて異常紙幣と判断
された場合、両カウンタの値は、CNT=45、R・CNT=0
となり、両カウンタの値が不一致となって、初めて異常
紙幣であることが判断されてリトライ処理に移行するの
に対し、連続して異常紙幣と判断された場合には、前回
の異常検出時にR・CNT=45とセットされているため、
両カウンタの値が一致することになって、リトライ処理
に移行しないようになされる。
That is, for example, when the 45th bill is determined to be an abnormal bill for the first time, the values of both counters are CNT = 45 and R · CNT = 0.
Then, when the values of both counters do not match, it is judged that the bill is an abnormal bill for the first time, and the retry process is performed.・ Because it is set as CNT = 45,
The values of both counters match and the retry process is not performed.

〈ステップ141〉 前記ステップ34において説明したように、第12図に示す
位置に分離停止された異常紙幣Saを自動的に判別し直す
リトライ処理を行うため、計数モータ19を低速で逆転駆
動し(第13図タイミングT83)、2本前の吸引軸を開始
位置に設定するために、回転筒位置センサ出力信号(SN
S)のON−OFF状態を、以下のステップ142〜ステップ144
において監視する。
<Step 141> As described in step 34, in order to perform the retry process for automatically re-determining the abnormal bill Sa separated and stopped at the position shown in FIG. 12, the counting motor 19 is reversely driven at a low speed ( FIG. 13 timing T83) In order to set the two previous suction shafts to the start position, the rotary cylinder position sensor output signal (SN
(S) ON-OFF state, the following steps 142 to 144
To monitor at.

〈ステップ142〉 すなわち、このステップ142においては、回転筒位置セ
ンサ出力信号(SNS)のON−OFF状態を監視し、OFF(YE
S)となったら次のステップ143に進み、ON(NO)の場合
にはこのステップ142で待機する。
<Step 142> That is, in this step 142, the ON-OFF state of the rotary cylinder position sensor output signal (SNS) is monitored and turned OFF (YE
If it is S), the process proceeds to the next step 143, and if it is ON (NO), it waits in this step 142.

なお、OFFとなった時とは、第12図紙幣Saで示される異
常紙幣が、第11図紙幣Saで示される位置まで戻された時
に相当するものであり、これは第13図のタイミングT84
で示されるタイミングと一致する。
Note that the OFF time corresponds to when the abnormal bill shown in FIG. 12 bill Sa is returned to the position shown in FIG. 11 bill Sa, which is the timing T84 in FIG.
Coincides with the timing indicated by.

〈ステップ143〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、ON(YES)となったら次のステップ144に進み、OFF
(NO)の場合にはこのステップ143で待機する。
<Step 143> Monitor the ON-OFF status of the rotary cylinder position sensor output signal (SNS), and if it is ON (YES), proceed to the next Step 144 and turn OFF.
In the case of (NO), this step 143 waits.

なお、ONとなった時とは、第11図紙幣Saで示される位置
まで戻された異常紙幣が、第12図紙幣Sbで示される位置
まで戻された時に相当するものである。
In addition, when it is turned on, the abnormal banknote returned to the position shown in FIG. 11 banknote Sa corresponds to the time returned to the position shown in FIG. 12 banknote Sb.

〈ステップ144〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、OFF(YES)となったら次のステップ145に進み、ON
(NO)の場合にはこのステップ144で待機する。
<Step 144> Monitor the ON-OFF state of the rotary cylinder position sensor output signal (SNS), and if it is OFF (YES), proceed to the next step 145 and turn it ON.
In the case of (NO), it waits in this step 144.

なお、OFFとなった時とは、第12図紙幣Sbで示される位
置まで戻された異常紙幣が、第11図紙幣Sbで示される位
置まで戻された時に相当するものであり、これは第13図
のタイミングT855で示されるタイミングと一致する。
In addition, when it is turned off, the abnormal banknote returned to the position shown in FIG. 12 banknote Sb corresponds to the time returned to the position shown in FIG. 11 banknote Sb, which is This coincides with the timing indicated by timing T855 in FIG.

〈ステップ145〉 このタイミングT85において異常紙幣Saの戻し処理が終
了し、計数モータ駆動信号(CMD低速逆転)に代えて計
数モータブレーキ信号(BRK)を短時間与えて、計数モ
ータ19を停止させる。
<Step 145> At this timing T85, the returning process of the abnormal bill Sa is completed, and instead of the count motor drive signal (CMD low speed reverse rotation), the count motor brake signal (BRK) is given for a short time to stop the count motor 19.

〈ステップ146〉 第12図に紙幣Saで示される異常紙幣が、第11図に紙幣Sb
で示されるように、未計数紙幣と一緒になった場合に
は、カウンタCNTの計数値を補正するため、1を減ず
る。
<Step 146> The abnormal banknote indicated by banknote Sa in FIG. 12 is the banknote Sb in FIG.
As shown in, when the uncounted banknotes are combined, the count value of the counter CNT is corrected, and 1 is subtracted.

すなわち、異常紙幣Saは、ステップ119において既にカ
ウンタCNTに計数された状態となっており、未計数紙幣
と一緒にした場合には、リトライ計数時に二重に計数さ
れてしまうため、このステップ146において1を減じて
計数値の補正を行うものである。
That is, the abnormal banknote Sa has already been counted by the counter CNT in step 119, and when it is combined with the uncounted banknote, it is double counted at the time of retry counting, so in this step 146. The count value is corrected by subtracting 1.

その後、前記第6図(A)に示すステップ101に戻っ
て、ポンプモータ21を駆動開始して、ステップ105にお
いて、再度、判別ON信号(および表裏モード信号)を出
力するとともに、二重送り検出ランプ37および投光器40
を点灯する。
Then, returning to step 101 shown in FIG. 6 (A), the pump motor 21 is started to be driven, and in step 105, the determination ON signal (and the front / back mode signal) is output again and the double feed detection is performed. Lamp 37 and floodlight 40
Lights up.

そして、ステップ106において、圧力判定信号(VSW)の
出力が検出されることにより(第13図タイミングT8
6)、計数モータ19を高速で正転方向に回転させ始め、
以下、回転筒位置センサ出力信号(SNS)がON状態とな
る立ち上がり時に、トリガー信号(TRG)と計数信号(C
NT)とが出力されて、中断時点からの紙幣のめくり取り
金種判別動作が自動的に再開されることとなる。
Then, in step 106, the output of the pressure determination signal (VSW) is detected (see timing T8 in FIG. 13).
6), start rotating the counting motor 19 at high speed in the forward direction,
Below, when the rotary cylinder position sensor output signal (SNS) turns on, the trigger signal (TRG) and count signal (C
NT) is output, and the bill flipping denomination determination operation from the point of interruption is automatically restarted.

一方、前記ステップ139において説明したように、同一
紙幣が連続して異常紙幣として判別された場合について
説明する。
On the other hand, as described in step 139, the case where the same banknote is continuously discriminated as an abnormal banknote will be described.

まず始めに、第14図タイミングT101において異常紙幣
(第11図紙幣Saで示す)が検出され、タイミングT102に
おいて異常紙幣Saが第12図に示すように分離状態で停止
せしめられたものとする。
First, it is assumed that an abnormal bill (denoted by bill Sa in FIG. 11) is detected at timing T101 in FIG. 14 and the abnormal bill Sa is stopped in a separated state at timing T102 as shown in FIG.

〈ステップ147〉 異常紙幣Saは、第12図に示すように、計数済み紙幣Sc、
Sd側に比較的寄った位置に停止せしめられているため、
操作者による目視確認が多少とも行いにくい恐れがあ
り、このステップ147以下では、これを解消するため
に、第12図に示す分離停止状態の位置から、第1図に示
す位置紙幣Saの位置まで回転筒3を逆転させるようにし
ている。
<Step 147> The abnormal bill Sa is, as shown in FIG. 12, counted bills Sc,
Since it is stopped at a position relatively close to the Sd side,
It may be difficult for the operator to perform visual confirmation to some extent. From step 147 onward, in order to eliminate this, from the position in the separation stop state shown in FIG. 12 to the position of the position banknote Sa shown in FIG. The rotary cylinder 3 is reversed.

すなわち、第14図タイミングT103において、計数モータ
19に対して計数モータブレーキ信号(BRK)に代えて計
数モータ駆動信号(CMD低速逆転)を与え、回転筒3を
低速で逆転駆動する。
That is, at timing T103 in FIG. 14, the counting motor
A counter motor drive signal (CMD low speed reverse rotation) is applied to 19 instead of the count motor brake signal (BRK), and the rotary cylinder 3 is reversely driven at low speed.

〈ステップ148〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、OFF(YES)となったら次のステップ149に進み、ON
(NO)の場合にはこのステップ148で待機する。
<Step 148> Monitor the ON-OFF status of the rotary cylinder position sensor output signal (SNS), and if it is OFF (YES), proceed to the next step 149 to turn it ON.
In the case of (NO), this step 148 waits.

なお、OFFとった時とは、第12図紙幣Saで示される異常
紙幣が、第11図紙幣Saで示される位置まで戻された時に
相当するものであり、これは第14図のタイミングT104で
示されるタイミングと一致する。
In addition, when OFF, the abnormal bill shown in FIG. 12 bill Sa corresponds to when it is returned to the position shown in FIG. 11 bill Sa, this is at timing T104 in FIG. It matches the timing shown.

〈ステップ149〉 このタイミングT104において、計数モータ19に対する計
数モータ駆動信号(CMD低速逆転)の出力を停止させ、
代わりに計数モータブレーキ信号(BRK)を短時間与え
て回転筒3の逆転動作を停止せしめるとともに、タイミ
ングT105において、計数モータ19に対して計数モータブ
レーキ信号(BRK)に代えて計数モータ駆動信号(CMD低
速正転)を与え、回転筒3を低速で正転駆動させる。
<Step 149> At this timing T104, the output of the count motor drive signal (CMD low speed reverse rotation) to the count motor 19 is stopped,
Instead, the counting motor brake signal (BRK) is given for a short time to stop the reverse rotation operation of the rotary cylinder 3, and at timing T105, the counting motor 19 receives the counting motor drive signal (BRK) instead of the counting motor brake signal (BRK). (CMD low speed forward rotation) is applied to drive the rotary cylinder 3 forward at low speed.

〈ステップ150〉 回転筒位置センサ出力信号(SNS)のON−OFF状態を監視
し、ON(YES)となったら次のステップ151に進み(タイ
ミングT106に想到)、OFF(NO)の場合にはこのステッ
プ150で待機する。
<Step 150> The ON-OFF state of the rotary cylinder position sensor output signal (SNS) is monitored, and when it is ON (YES), the process proceeds to the next step 151 (thinking to timing T106), and if it is OFF (NO) Wait at this step 150.

〈ステップ151〉 タイミングT106において、計数モータ19に対する計数モ
ータ駆動信号(CMD低速正転)の出力を停止させ、代わ
りに計数モータブレーキ信号(BRK)を短時間与えて回
転筒3の正転動作を停止せしめ、第11図紙幣Saで示され
る異常紙幣が、およそこの位置から第1図紙幣Saで示さ
れる位置まで移動せしめられた時に相当するものであ
る。
<Step 151> At timing T106, the output of the counting motor drive signal (CMD low speed forward rotation) to the counting motor 19 is stopped, and instead, the counting motor brake signal (BRK) is given for a short time to cause the rotating cylinder 3 to rotate normally. This is equivalent to the time when the abnormal bill indicated by the bill Sa in FIG. 11 is moved from this position to the position indicated by the bill Sa in FIG. 1 after being stopped.

そして、この状態で、異常紙幣Saと判断されたものの確
認が操作者によって行われる。
Then, in this state, the operator confirms what is determined as the abnormal bill Sa.

〈ステップ152〉 現在のモードが金額計算モードであるか否かを判断し、
YESの場合には次のステップ153に進み、NOの場合にはス
テップ165に進む。
<Step 152> Determine whether the current mode is the amount calculation mode,
If YES, the process proceeds to the next step 153, and if NO, the process proceeds to step 165.

〈ステップ153〉 異常紙幣Saが、第1図紙幣Saで示す中間分離位置(未計
数紙幣Sbとも、計数済み紙幣Sc、Sdとも離れた位置)に
分離停止された中断状態において、操作者は異常紙幣Sa
の金種を目視によって確認し、この異常紙幣Saの金種に
対応する金種釦、このステップ153においては万券釦が
操作されたかを判断し、YESの場合には、後述する判別
処理フローにおけるステップ216と同様に、万券を表す
コードをセットし(フラグを立て:ステップ154)、NO
の場合には次のステップ155に進む。
<Step 153> In the interrupted state in which the abnormal banknote Sa is separated and stopped at the intermediate separation position (position where both uncounted banknote Sb and counted banknotes Sc and Sd are separated) shown in FIG. Banknote Sa
Visually confirm the denomination of, the denomination button corresponding to the denomination of this abnormal banknote Sa, in this step 153, it is determined whether the million button is operated, if YES, the determination process flow described later. Similar to step 216 in step 1, set a code representing all the vouchers (set a flag: step 154) and NO.
In case of, proceed to the next step 155.

〈ステップ155〉 前記ステップ153と同様に、五千券釦が操作されたかを
判断し、YESの場合には五千券を表すコードをセットし
(ステップ156)、NOの場合には次のステップ157に進
む。
<Step 155> As in the case of Step 153, it is determined whether or not the 5000-ticket button is operated, and if YES, the code representing the 5000-ticket is set (step 156), and if NO, the next step. Proceed to 157.

〈ステップ157〉 前記ステップ153、155と同様に、千券釦が操作されたか
を判断し、YESの場合には千券を表すコードをセットし
(ステップ158)、NOの場合には次のステップ159に進
む。
<Step 157> As in the case of steps 153 and 155, it is determined whether or not the ticket button is operated. If YES, a code representing the ticket is set (step 158), and if NO, the next step. Proceed to 159.

〈ステップ159〉 上記ステップ153、155、157のいずれかにおいて、異常
紙幣Saに対する金種コードがセットされたか否かを判断
し、YESの場合には次のステップ160に進み、NOの場合に
はステップ161に進む。
<Step 159> In any of the above steps 153, 155, 157, it is determined whether or not the denomination code for the abnormal bill Sa has been set, and if YES, the process proceeds to the next step 160, and if NO, Proceed to step 161.

〈ステップ160〉 異常紙幣Saに対する金種コードセット後、これを確認す
る確認釦が操作されたか否かを判断し、YESの場合には
ステップ163に進み、NOの場合には次のステップ161に進
む。
<Step 160> After setting the denomination code for the abnormal banknote Sa, it is determined whether or not the confirmation button for confirming this has been operated. If YES, the process proceeds to step 163, and if NO, the process proceeds to the next step 161. move on.

〈ステップ161〉 目視によって確認した異常紙幣Saが、二重吸着状態の紙
幣であった場合、もしくは、例えば紙幣の間に挟まって
いたレシート等の紙葉であった場合には、これを取り除
くべくクリア操作が必要であり、このステップ161で
は、前記ステップ131と同様にクリア釦が操作されたか
否かを判断し、YESの場合にはステップ162へ進んで計数
動作を終了し、NOの場合にはステップ153に戻って異常
紙幣Saに対する金種コードを入力できるようにする。
<Step 161> If the abnormal banknote Sa visually confirmed is a banknote in a double suction state, or if it is a paper sheet such as a receipt sandwiched between the banknotes, it should be removed. A clear operation is required, and in this step 161, it is determined whether or not the clear button has been operated as in the case of step 131. If YES, the procedure proceeds to step 162 to end the counting operation, and if NO, Returns to step 153 so that the denomination code for the abnormal bill Sa can be input.

〈ステップ162〉 前記ステップ132と同様に、ホルダ1に対するオープン
信号(前記ステップ22参照)を出力して、このフローが
終了する。
<Step 162> Similar to step 132, the open signal to the holder 1 (see step 22) is output, and this flow is ended.

〈ステップ163〉 他方、前記ステップ160において、異常紙幣Saに対する
金種コードがセットされ且つその確認操作がなされる
と、後述する判別処理フローにおけるステップ216と同
様に、セットされた金種コードが出力され、次のステッ
プ164では、次の異常紙幣検出時における金種入力のた
めにクリアされて、前記ステップ146と同様に、前記第
6図(A)に示すステップ101に戻って、ポンプモータ2
1を駆動開始して、ステップ105において、再度、判別ON
信号(および表裏モード信号)を出力するとともに、二
重送り検出ランプ37および投光器40を点灯する。
<Step 163> On the other hand, in step 160, when the denomination code for the abnormal bill Sa is set and its confirmation operation is performed, the set denomination code is output as in step 216 in the determination processing flow described later. Then, in the next step 164, it is cleared to input the denomination at the time of detecting the next abnormal bill, and similarly to step 146, the process returns to step 101 shown in FIG.
Start driving 1 and in step 105, determine again.
The signal (and the front / back mode signal) is output, and the double feed detection lamp 37 and the projector 40 are turned on.

そして、ステップ106において、圧力判定信号(VSW)の
出力が検出されることにより、計数モータ19を高速で正
転方向に回転させ始め、以下、回転筒位置セット出力信
号(SNS)がON状態となる立ち上がり時に、トリガー信
号(TRG)と計数信号(CNT)とが出力されて、中断時点
からの紙幣のめくり取り金種判別動作が自動的に再開さ
れることとなる。
Then, in step 106, when the output of the pressure determination signal (VSW) is detected, the counting motor 19 starts to rotate at high speed in the forward rotation direction, and thereafter, the rotary cylinder position set output signal (SNS) is turned on. At the time of rising, the trigger signal (TRG) and the counting signal (CNT) are output, and the bill flipping denomination determination operation from the interruption point is automatically restarted.

〈ステップ165〉 前記ステップ152において、現在のモードが金額計算モ
ード以外である場合には、すなわち、異金種検出モード
の場合における異常紙幣の検出時には、この異常紙幣が
すでにめくり取られて計数されている紙幣と同じ金種の
紙幣か否かの確認を行い、同じ金種であると確認される
YESの場合には、前記ステップ146、ステップ163と同様
に、前記第6図(A)に示すステップ101に戻って、以
下同様に、中断時点からの紙幣のめくり取り金種判別動
作が自動的に再開されることとなるとともに、NOの場合
には次のステップ166に進む。
<Step 165> In step 152, when the current mode is other than the amount calculation mode, that is, when an abnormal bill is detected in the different denomination detection mode, the abnormal bill is already flipped and counted. It is confirmed that it is the same denomination by checking whether it is the same denomination of the bill
If YES, the process returns to step 101 shown in FIG. 6 (A) in the same manner as in steps 146 and 163, and thereafter, the bill flipping denomination determination operation from the interruption point is automatically performed in the same manner. When NO, the process proceeds to the next step 166.

〈ステップ166〉 前記ステップ131、ステップ161と同様にクリア釦が操作
されたか否かを判断し、異常紙幣が異金種紙幣であると
確認されてクリア釦が操作されたYESの場合には、前記
ステップ162へ進んで、ホルダ1に対するオープン信号
(前記ステップ22参照)を出力して、このフローを終了
し、NOの場合には前記ステップ165に戻って、ステップ1
65〜ステップ166のループで待機する。
<Step 166> Similar to steps 131 and 161, it is determined whether or not the clear button has been operated, and it is confirmed that the abnormal banknote is a different denomination banknote and the clear button has been operated, in the case of YES, In step 162, the open signal for the holder 1 (see step 22) is output, the flow is terminated, and if NO, the process returns to step 165 and step 1
Wait in the loop from 65 to step 166.

なお、この第6図(C)に示すフローにおいては、一枚
の紙幣の対する確認入力しかできないように説明され、
これにより、二重吸着検出の場合にはクリア操作しか処
理のしようがないように考えられるかもしれないが、本
発明の場合、二重吸着紙幣もまた第12図もしくは第1図
に示す中間分離位置に分離停止された状態に設定できる
ため、二重吸着紙幣について、その枚数(および金種構
成)を確認することができ、従って、その確認の際に、
枚数データ(およびその枚数分の金種コード)を入力で
きるように構成することもできる。
In the flow shown in FIG. 6C, it is explained that only confirmation input for one banknote can be made.
Therefore, in the case of the double suction detection, it may be considered that only the clear operation should be processed, but in the case of the present invention, the double suction banknote also has the intermediate separation shown in FIG. 12 or 1. Since it can be set to the position where it is separated and stopped, it is possible to confirm the number (and denomination structure) of the double-adsorbed banknotes.
The number data (and the denomination code corresponding to the number) can be input.

その場合、二重吸着紙幣Sa自体は、すでにカウンタCNT
で1枚と計数されているため、入力される枚数データ
は、1減算されたデータがカウンタCNTに追加加算され
る。
In that case, the double suction banknote Sa itself has already counter CNT
Since the number of sheets is counted as 1, the data of the number of sheets to be inputted is subtracted by 1 and added to the counter CNT.

また、入力される金種コードについては、すべて有効で
あるため、そのまま金額計数に利用される。
Further, all the denomination codes that are input are valid and are used as they are for counting the amount of money.

次に、前記第6図(A)のステップ111もしくはステッ
プ116において説明したように、吸引軸5によりめくり
取り計数動作中に、圧力判定信号(VSW)がOFFとなった
場合について、第6図(D)に示すフローに基づいて説
明する。
Next, as described in step 111 or step 116 of FIG. 6A, the case where the pressure determination signal (VSW) is turned off during the turning-over counting operation by the suction shaft 5 is shown in FIG. Description will be made based on the flow shown in FIG.

なお、このフローは、前記したバッチモード以外のとき
の計数終了時フローを示すものである。
It should be noted that this flow shows the flow at the end of counting in the modes other than the batch mode described above.

〈ステップ182〉 検出モードスイッチ53がONとなっているか否かを判断
し、YESの場合には次のステップ183に進み、NOの場合に
はステップ188に進む。
<Step 182> It is determined whether or not the detection mode switch 53 is ON. If YES, the process proceeds to the next step 183, and if NO, the process proceeds to step 188.

〈ステップ183〉 前記ステップ133と同様に、一定時間に亙って(ステッ
プ184)、判別制御回路46(第7図に示す判別ルーチ
ン)からエンド信号が入力(矢印で示す)されてこな
かった場合、例えば、計数すべき紙幣がセットされてい
るにも拘わらず、吸引軸5による紙幣の吸着が行われな
かった場合には、記憶部(RAM48)の所定のエリアに残
留エラーを示すフラグを立てた(ステップ185)後、次
のステップ186に進む。
<Step 183> When the end signal is not input (indicated by an arrow) from the discrimination control circuit 46 (discrimination routine shown in FIG. 7) for a fixed time (step 184) as in the case of step 133. , For example, when the bills to be counted are set but the suction shaft 5 does not suck the bills, a flag indicating a residual error is set in a predetermined area of the storage unit (RAM48). After that (step 185), the process proceeds to the next step 186.

また、エンド信号の入力があった場合にはステップ188
に進む。
If an end signal is input, step 188
Proceed to.

〈ステップ186〉 前記ステップ131、ステップ161、またはステップ166と
同様にクリア釦が操作されたか否かを判断し、残留エラ
ーのリセットのために、もしくは後述する不一致エラー
のリセットのためにクリア釦が操作されたYESの場合に
は、ステップ187へ進んで、ホルダ1に対するオープン
信号(前記ステップ22参照)を出力して、このフローを
終了し、NOの場合にはこのステップ186で待機する。
<Step 186> Similar to step 131, step 161, or step 166, it is determined whether or not the clear button has been operated, and the clear button is pressed to reset the residual error or to reset the mismatch error described later. In the case of operated YES, the routine proceeds to step 187, where the open signal for the holder 1 (see step 22 above) is output, and this flow is ended, and in the case of NO, it stands by in this step 186.

〈ステップ188〉 前記ステップ182において現在のモードが検出モードで
ない場合、または、前記ステップ183においてエンド信
号の入力が確認されることにより、ホルダ1に装填され
た紙幣の計数および判別の際に、エラーが発生すること
なく終了した場合には、モード設定が枚数チェックモー
ドになっているか否かを判断し、YESの場合には次のス
テップ189に進み、NOの場合にはステップ193に進む。
<Step 188> When the current mode is not the detection mode in the step 182, or when the input of the end signal is confirmed in the step 183, an error occurs in counting and discriminating the bills loaded in the holder 1. If the process is completed without occurrence of, the process determines whether the mode setting is the number-of-sheets check mode. If YES, the process proceeds to the next step 189, and if NO, the process proceeds to step 193.

〈ステップ189〉 上記のようにして計数された紙幣の枚数値が、予め設定
された枚数値に一致しているか否かを判断し、一致した
YESの場合には次のステップ190に進むとともに、一致し
ていないNOの場合には記憶部(RAM48)の所定のエリア
に不一致エラーを示すフラグを立てた(ステップ191)
後、前記ステップ186に進む。
<Step 189> It is determined whether or not the number of bills counted as described above matches a preset number of coins, and the numbers match.
If YES, the process proceeds to the next step 190, and if NO, a flag indicating a mismatch error is set in a predetermined area of the storage unit (RAM 48) (step 191).
Then, the process proceeds to step 186.

〈ステップ190〉 さらに、モード設定が捺印モードにセットされているか
否かを判断し、YESの場合には捺印ソレノイド30C(もし
くは31C)を動作させて、帯封に捺印し(ステップ19
2)、また、NOの場合には次のステップ193に進む。
<Step 190> Furthermore, it is determined whether or not the mode setting is set to the marking mode. If YES, the marking solenoid 30C (or 31C) is operated to mark the band seal (Step 19).
2) If NO, proceed to the next step 193.

〈ステップ193〉 モード設定が加算モードにセットされているか否かを判
断し、YESの場合には、先に計数された紙幣の計数結果
を加算し、その加算結果を記憶部(RAM48)に記憶させ
て表示させ(ステップ194)、また、NOの場合には次の
ステップ195に進む。
<Step 193> It is determined whether or not the mode setting is set to the addition mode. If YES, the counting result of the previously counted banknotes is added, and the addition result is stored in the storage unit (RAM48). Then, it is displayed (step 194), and if NO, the process proceeds to the next step 195.

〈ステップ195〉 モード設定が金額計数モードにセットされているか否か
を判断し、YESの場合には、計数された紙幣の合計金額
値を表示し(ステップ1969)、また、NOの場合には前記
ステップ187に進んで、ホルダ1に対するオープン信号
(前記ステップ22参照)を出力して、このフローを終了
する。
<Step 195> It is determined whether or not the mode setting is set to the amount counting mode. If YES, the total amount of bills counted is displayed (step 1969). If NO, if NO. In step 187, the open signal to the holder 1 (see step 22) is output, and this flow is ended.

なお、金額計数モードにおいては、ステップ196で合計
金額を表示するように説明したが、前記第6図(A)に
示すステップ119のカウンタCNTを1加算させる際に、そ
の時点までに後述するステップ216において出力される
金種コードに基づいて合計金額を計算して表示すること
も可能である。
In the amount counting mode, the total amount is displayed in step 196. However, when the counter CNT in step 119 shown in FIG. It is also possible to calculate and display the total amount of money based on the denomination code output in 216.

次に、第7図、第8図に従って、前記判別制御回路46の
ROM64に記憶されたプログラムの内容について説明す
る。
Next, referring to FIGS. 7 and 8, the discrimination control circuit 46
The contents of the program stored in the ROM 64 will be described.

第7図 〈ステップ200〉 判別ルーチンスタート 〈ステップ201〉 計数ルーチンからトリガー信号(TRG)(矢印で示
す)が入力されたか否かを判断し、YESの場合に次のス
テップ202に進む。
FIG. 7 <Step 200> Discrimination routine start <Step 201> It is determined whether or not a trigger signal (TRG) (indicated by an arrow) is input from the counting routine, and if YES, the process proceeds to the next step 202.

〈ステップ202〉 計数ルーチンから判別ON信号(矢印で示す)が入力さ
れたか否かを判断し、NOの場合にはステップ201に戻
り、YESの場合には、第4図に示すアナログスイッチ80
を選択して、二重送り検知センサの受光素子38の出力を
増幅器78、A/Dコンバータ73を介して取り組み、RAM65に
記憶した(ステップ203)後、ステップ204に進む。
<Step 202> It is determined whether or not a discrimination ON signal (indicated by an arrow) is input from the counting routine. If NO, the process returns to step 201, and if YES, the analog switch 80 shown in FIG.
Is selected, the output of the light receiving element 38 of the double feed detection sensor is addressed via the amplifier 78 and the A / D converter 73 and stored in the RAM 65 (step 203), and then the process proceeds to step 204.

〈ステップ204〉 後述するステップ215、ステップ223、ステップ232にお
いてセットされたエラーコードに基づき、異金種の混入
有り、表裏不一致有り、判別異常有り(異常紙幣の混入
有り)か否かを判断し、YESの場合にはエラー信号およ
びエラーコードを出力して、そのエラー内容を表示部63
に表示した(ステップ205)後、ステップ201に戻る。
<Step 204> Based on the error code set in step 215, step 223, and step 232, which will be described later, it is determined whether or not different denominations are mixed, front and back do not match, and there is a discrimination error (abnormal banknote is mixed). , YES outputs an error signal and error code and displays the error content on the display 63
(Step 205), the process returns to step 201.

なお、ステップ205で出力されるエラー信号は、矢印
で示されるように、第6図(A)の計数ルーチンのステ
ップ113に供給される。
The error signal output at step 205 is supplied to step 113 of the counting routine of FIG. 6 (A) as indicated by the arrow.

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

なお、最初のトリガー信号(TRG)出力時には、ステッ
プ215、222、232を通っておらず、判別もなされていな
いから、最初のステップ204は常にNOでステップ206に進
む。
It should be noted that when the first trigger signal (TRG) is output, the 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で二重送り検知センサの受光素子38から取
り込んだ検出データとステップ218(後述する)でセッ
トされた判別基準となる二重比較レベルとに基づいて、
紙幣が二重吸着なされたか否かを判断し、YESの場合に
はエラー信号およびエラーコードを出力して、そのエラ
ー内容を表示部63に表示した(ステップ207)後、ステ
ップ201に戻る。
<Step 206> Based on the detection data captured from the light receiving element 38 of the double feed detection sensor in Step 203 and the double comparison level which is the determination reference set in Step 218 (described later),
It is determined whether or not the bill has been double-sucked, and if YES, an error signal and an error code are output, the error content is displayed on the display unit 63 (step 207), and then the process returns to step 201.

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

また、二重吸着の発生がないと判断されたNOの場合に
は、次のステップ208に進む。
On the other hand, in the case of NO which is determined not to cause double adsorption, the process proceeds to the next step 208.

なお、ステップ204と同様に、最初のトリガー信号(TR
G)出力時には、二重吸着を判別すべき紙幣Saは第1図
に示す位置には存在せず、また、基準となる二重比較レ
ベルはセットされていないので、最初のステップ206は
常にNOでステップ208に進む。
As in step 204, the first trigger signal (TR
G) At the time of output, the banknote Sa for which double suction is to be determined does not exist at the position shown in FIG. 1, and the double comparison level serving as the reference is not set, so the first step 206 is always NO. Then, it proceeds to step 208.

〈ステップ208〉 第4図に示すアナログスイッチ79を選択し、エリアセン
サ34の出力を増幅器72、A/Dコンバータ73を介してRAM65
に記憶することにより、エリアEにおけるエリアデータ
(Nラインにおけるデータ)の取り込みが行われる。
<Step 208> The analog switch 79 shown in FIG. 4 is selected and the output of the area sensor 34 is transferred to the RAM 65 via the amplifier 72 and the A / D converter 73.
Area data (data on the N line) in the area E is stored by storing the data in the area.

なお、このエリアデータの取り込みは、第8図に示すよ
うなフローに基づいて行われる。
The area data is taken in based on the flow shown in FIG.

つまり、取り込み信号が出力された場合(ステップ30
0)に、Yを0、Xを0に設定した(ステップ301)後、
次のステップ302に進む。
That is, when a capture signal is output (step 30
After setting Y to 0 and X to 0 in (0) (step 301),
Proceed to next step 302.

そして、このステップ302では、必要とするNラインの
データ(エリアデータ)の出力が終了したか否かを判断
し、YESの場合には判別開始信号が出力されて(ステッ
プ303)、第7図のメインルーチンに戻る。
Then, in this step 302, it is judged whether or not the output of the necessary N line data (area data) is completed, and if YES, a discrimination start signal is output (step 303), and FIG. Return to the main routine of.

また、ステップ302においてNOの場合には、指定された
Nラインのデータがステップ312で出力されるまで、ス
テップ304〜ステップ311をループし、該データの出力が
行われた時点で前述したようにステップ303に進む。
If NO in step 302, steps 304 to 311 are looped until the designated N-line data is output in step 312, and as described above at the time when the data is output. Go to step 303.

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

〈ステップ209〉 ステップ208において取り込んだデータが、パターンを
有さないレベルのものであるか否か(すなわち、前記ホ
ルダ1の表面1bの黒色パターンか否か)を判断し、YES
(データ無)である場合には、エンド信号を出力した
(ステップ210)後、ステップ201に戻る。
<Step 209> It is determined whether or not the data captured in step 208 is of a level having no pattern (that is, whether or not the surface 1b of the holder 1 is a black pattern), and YES
In the case of (no data), the end signal is output (step 210) and the process returns to step 201.

なお、ステップ210で出力されたエンド信号は矢印で
示すように、第6図(B)のステップ133もしくは第6
図(D)のステップ183に供給される。
It should be noted that the end signal output in step 210 is, as indicated by an arrow, step 133 in FIG.
It is supplied to step 183 in FIG.

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

〈ステップ211〉 設定モードが金額計算モードに設定されているか否かを
判断し、YESの場合には、ホルダ1に装填される紙幣が
一枚一枚いずれの金種の紙幣であるかを判別すべくステ
ップ213に進み、NOの場合には次のステップ212に進む。
<Step 211> It is determined whether or not the setting mode is set to the amount calculation mode, and if YES, it is determined which of the denominations the banknotes are loaded into the holder 1 one by one. Therefore, the process proceeds to step 213, and if NO, proceeds to the next step 212.

〈ステップ212〉 吸引軸5によって吸着された紙幣が1枚目であるいあ否
かを判断し、YESである場合にはステップ213に進み、NO
である場合にはステップ230に進む。
<Step 212> It is determined whether or not the first bill is attracted by the suction shaft 5, and if YES, the process proceeds to step 213, and NO.
If yes, then go to step 230.

〈ステップ213〉 ステップ208で取り込まれた1枚目の紙幣におけるエリ
アデータに対して、ROM64に記憶されている現行3金種
(L種の金種)合計12パターン(4×Lパターン)の基
準データ(1金種について、表裏正逆の4パターンがあ
る)とを比較して、次のステップ214に進む。
<Step 213> Based on the area data of the first bill taken in step 208, a total of 12 patterns (4 × L pattern) of the current three denominations (L denominations) stored in the ROM 64 The data (for one denomination, there are four patterns of front and back) is compared, and the process proceeds 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 and the reference data of 12 patterns, it is determined whether or not there is a matched pattern. If NO, it is impossible to discriminate the abnormal bill. Then, a flag indicating a discrimination abnormality is set in a predetermined area of the storage unit (RAM65) (step 215), and the step 201
Return to.

また、一致パターンがある(YES)場合には、記憶部(R
AM65)の所定のエリアに判別された紙幣が3金種の内の
いずれか1つであることを示すフラグを立て(ステップ
216)、さらに該紙幣の表裏を示すフラグを立てた(ス
テップ217)後、判別した金種と表裏情報とに基づい
て、ROM64に記憶させてある二重吸着の判別基準である
二重比較レベルを記憶部(RAM65)にセットした(ステ
ップ218)後、ステップ219に進む。
If there is a matching pattern (YES), the storage unit (R
AM65) sets a flag indicating that the banknote identified in the predetermined area is one of the three denominations (step
216), and after setting a flag indicating the front and back of the bill (step 217), based on the discriminated denomination and front and back information, the double comparison level, which is the discrimination criterion of double suction stored in the ROM 64. Is set in the storage unit (RAM65) (step 218), and 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 banknotes at any time based on the denomination code output in step 216, and this calculation The results are displayed on the display 63 as described above.
Can be displayed at any time.

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

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

また、一致したパターンがある場合(YES)には、前述
したように、記憶部(RAM65)の所定のエリアに紙幣の
表裏を示すフラグを立て(ステップ217)、さらにステ
ップ218において記憶部(RAM65)の所定エリアに該紙幣
の二重吸着の判別基準である二重比較レベルをセットし
て、次のステップ219に進む。
If there is a matching pattern (YES), as described above, a flag indicating the front and back of the bill is set in a predetermined area of the storage unit (RAM65) (step 217), and further in step 218 the storage unit (RAM65). ), A double comparison level, which is a criterion for determining the double suction of the bill, is set in the predetermined area, and the process proceeds to step 219.

〈ステップ219〉 表裏モードスイッチ54がONとなっているか否かを判断
し、NOの場合にはステップ201に戻るとともに、YESの場
合には次のステップ220に進む。
<Step 219> It is determined whether the front / back mode switch 54 is ON. If NO, the process returns to step 201, and if YES, the process proceeds to the next step 220.

〈ステップ220〉 この紙幣が1枚目であるか否かを判断し、NOである場合
にはステップ222に進み、YESの場合には次のステップ22
1に進む。
<Step 220> It is determined whether or not this bill is the first bill, and if NO, the process proceeds to step 222, and if YES, the next step 22
Go to 1.

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

〈ステップ222〉 前記ステップ217でセットされる表裏コードとステップ2
21でセットされた表裏基準データとを比較して、2枚目
以降の紙幣が1枚目の紙幣の表裏と一致しているか否か
を判断し、一致している(YES)の場合にはステップ201
に戻り、不一致である(NO)の場合には次のステップ22
3において、記憶部(RAM65)の所定のエリアに表裏不一
致であることを示すフラグを立てた後、ステップ201に
戻り、ふたたび上述したステップ201〜ステップ232を繰
り返す。
<Step 222> Front and back cords set in step 217 and step 2
By comparing with the front and back reference data set in 21, it is determined whether or not the second and subsequent bills match the front and back of the first bill, and if they match (YES), Step 201
If there is a mismatch (NO), go to the next step 22.
In 3, a flag indicating that the front and back sides do not match is set in a predetermined area of the storage unit (RAM 65), the process returns to step 201, and steps 201 to 232 described above are repeated again.

なお、上述したトリガー信号(TRG)、二重データを取
り込む等のタイミングは、第10図のタイミングチャート
に示されている。
The timing for fetching the above-mentioned trigger signal (TRG), double data, etc. is shown in the timing chart of FIG.

そして、これらトリガー信号(TRG)、二重データを取
り込む等のタイミングと第7図のステップとを対応させ
ると、判別トリガー信号はステップ201に対応し、二重
データ取り込みタイミングはステップ203に対応し、以
下、エラーチェックタイミングはステップ204に、二重
チェックタイミングはステップ206に、エリアデータ取
り込みタイミングはステップ208に、エンドチェックタ
イミングはステップ209にそれぞれ対応し、また、判別
処理タイミングはステップ211〜ステップ214およびステ
ップ230、ステップ231に対応し、さらに、金種、表裏、
二重比較レベル、エラーセットタイミングは、ステップ
216〜ステップ218、ステップ215、ステップ223、ステッ
プ232にそれぞ対応している。
When these trigger signals (TRG), the timing of capturing double data, and the steps in FIG. 7 are associated with each other, the determination trigger signal corresponds to step 201, and the dual data capture timing corresponds to step 203. Hereinafter, the error check timing corresponds to step 204, the double check timing corresponds to step 206, the area data acquisition timing corresponds to step 208, the end check timing corresponds to step 209, and the discrimination processing timing corresponds to step 211 to step Corresponding to 214 and step 230, step 231, in addition, denomination, front and back,
Double comparison level, error set timing, step
216 to step 218, step 215, step 223, and step 232 correspond to each.

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

なお、上記の実施例においては、異常紙幣検出時には自
動的に異常紙幣を未計数紙幣側へ戻して判別動作を再度
行うリトライ処理が、必ず実行されるようになされてい
るが、前記ステップ6〜ステップ7においてリトライ処
理を行うか否かのモード設定を可能とし、前記ステップ
32〜ステップ33の間、および前記ステップ138〜ステッ
プ139の間に、リトライ処理を行うモードが設定されて
いるか否かを判断するステップを追加し、モード設定が
なされていれば前記ステップ33もしくはステップ139に
進み、他方モード設定がなされていなければ前記ステッ
プ40もしくはステップ147に進むようにすることもでき
る。
In the above embodiment, the retry process of automatically returning the abnormal banknotes to the uncounted banknotes side and performing the determination operation again when the abnormal banknotes are detected is always executed. In step 7, it is possible to set a mode as to whether or not retry processing is performed,
Between step 32 and step 33, and between step 138 and step 139, a step for determining whether or not a mode for performing retry processing is set is added, and if the mode is set, step 33 or step It is also possible to proceed to step 139 and proceed to step 40 or step 147 if the other mode is not set.

「発明の効果」 以上、詳細に説明したように、紙幣の表面パターンを読
み取ってその金種を判別して金種コードを出力する一
方、異常紙幣検出時にエラーコードを出力して、吸引軸
が配置された回転筒を急停止せしめて、異常紙幣を吸引
軸によって未計数紙幣とも計数済み紙幣とも離れた中間
分離位置に停止せしめ、この分離停止中断時に、異常紙
幣とされた紙幣を確認するように構成し、この異常紙幣
が確認されると、めくり取り阻止された中断状態を解除
して、中断時点からの紙幣のめくり取り金種判別動作を
自動的に再開するようになした第1の発明によれば、中
断時における異常紙幣の確認が容易に行えるとともに、
この分離停止中断時点からの紙幣のめくり取り金種判別
動作を自動的に再開することが可能となる効果を奏す
る。
"Effects of the Invention" As described above in detail, while reading the surface pattern of a banknote, determining the denomination of the banknote and outputting a denomination code, an error code is output when an abnormal banknote is detected, and the suction shaft Suddenly stop the arranged rotating cylinder to stop the abnormal banknotes at the intermediate separation position apart from both the uncounted banknotes and the counted banknotes by the suction shaft, and confirm the abnormal banknotes when the separation stop is interrupted. When the abnormal bill is confirmed, the interruption state in which the flipping is prevented is released, and the bill flipping denomination discrimination operation from the interruption point is automatically restarted. According to the invention, it is possible to easily confirm the abnormal bill at the time of interruption,
There is an effect that it is possible to automatically restart the bill flipping denomination determination operation from the point of time when the separation stop is interrupted.

また、異常紙幣を中間分離位置に急停止せしめるととも
に、この分離停止された異常紙幣を自動的に未計数紙幣
側に戻した上で、再度紙幣のめくり取り判別動作を行う
ようになした第2の発明によれば、異常紙幣については
複数回の判別動作を行うことができて、判別制度を高め
ることができるとともに、例えば誤って二重吸着された
紙幣については未計数紙幣側に一度戻すことにより再度
のめくり取り動作時には一枚ずつに分離される確率が高
くなって、計数し直され易く、従って、連続して正常判
別され易くなるという効果を奏するものである。
In addition, the abnormal bill is suddenly stopped at the intermediate separating position, the abnormal bill that has been separated and separated is automatically returned to the uncounted bill side, and then the bill flipping determination operation is performed again. According to the invention, it is possible to perform the discrimination operation a plurality of times for abnormal bills, and to improve the discrimination system, and, for example, for a bill that has been double-adsorbed by mistake, return it to the uncounted bill side once. Thus, the probability that the sheets will be separated one by one at the time of another turning operation is increased, and the counting can be easily performed again. Therefore, the normal determination can be continuously performed easily.

また、前記したリトライ処理が可能な第2の発明におい
て、同一紙幣が連続的に異常紙幣として判別された場合
には、異常紙幣を分離停止位置に停止させておき、この
位置で、異常紙幣とされた紙幣を確認するように構成
し、この異常紙幣が確認されると、めくり取り阻止され
た中断状態を解除して、中断時点からの紙幣のめくり取
り判別動作を自動的に再開するようになした第3の発明
によれば、中断時における異常紙幣の確認が容易に行え
るとともに、この分離停止中断時点からの紙幣のめくり
取り判別動作を自動的に再開することが可能となる効果
を奏する。
Further, in the second invention in which the retry process is possible, when the same banknote is continuously discriminated as an abnormal banknote, the abnormal banknote is stopped at the separation stop position, and at this position, When the abnormal bill is confirmed, the suspended state that is prevented from being flipped is released, and the bill flipping determination operation from the point of interruption is automatically restarted. According to the third aspect of the invention, it is possible to easily confirm the abnormal bill at the time of interruption, and it is possible to automatically restart the bill flipping determination operation from the time point at which the separation stop is interrupted. .

また、中間分離位置に停止せしめられた異常紙幣を容易
に確認できるようになした第1の発明もしくは第3の発
明において、さらにその金種情報を入力できるようにな
した第4の発明によれば、吸引軸のめくり取り動作中に
出力される金種情報と、中断時に入力される金種情報と
に基づいて、ホルダに装填される紙幣の合計金額を正確
に計算することが可能となる効果を奏するものである。
Further, according to the first invention or the third invention in which the abnormal banknote stopped at the intermediate separating position can be easily confirmed, the fourth invention in which the denomination information can be further input For example, it is possible to accurately calculate the total amount of bills loaded in the holder based on the denomination information output during the turning operation of the suction shaft and the denomination information input at the time of interruption. It is effective.

【図面の簡単な説明】[Brief description of drawings]

第1図〜第14図は本発明の一実施例を示すもので、第1
図は平面図、第2図は第1図のII−II線に沿う矢視図、
第3図は吸引軸および吸引管系の断面図、第4図は計数
制御回路および判別制御回路のブロック図、第5図
(A)〜(B)は計数制御動作の流れ図、第6図(A)
〜(D)は計数制御回路のCPU動作を示す図、第7図お
よび第8図は判別制御回路のCPU動作を示す図、第9図
および第10図は計数制御動作および判別制御動作のタイ
ムチャート図、第11図および第12図はバッチ動作を説明
する状態説明図、第13図および第14図は異常紙幣検出時
におけるリトライ動作および中間分離停止動作を説明す
るタイムチャート図である。 1……ホルダ、3……回転筒、5……吸引軸、19……計
数モータ(分離停止機能)、45……計数制御回路(継続
計数機能、リトライ計数機能、リトライ中止機能、金額
計算機能)、46……判別制御回路(金種判別機能)、55
……その他の操作スイッチ(確認入力機能)。
1 to 14 show an embodiment of the present invention.
FIG. 2 is a plan view, FIG. 2 is a view taken along the line II-II in FIG.
FIG. 3 is a sectional view of the suction shaft and the suction pipe system, FIG. 4 is a block diagram of a counting control circuit and a discrimination control circuit, FIGS. 5A to 5B are flow charts of counting control operation, and FIG. A)
(D) shows the CPU operation of the counting control circuit, FIGS. 7 and 8 show the CPU operation of the discrimination control circuit, and FIGS. 9 and 10 show the time of the counting control operation and the discrimination control operation. FIG. 11, FIG. 11 and FIG. 12 are state explanatory views for explaining the batch operation, and FIG. 13 and FIG. 14 are time charts for explaining the retry operation and the intermediate separation stop operation when the abnormal bill is detected. 1 ... Holder, 3 ... Rotating cylinder, 5 ... Suction axis, 19 ... Counting motor (separation stop function), 45 ... Counting control circuit (continuous counting function, retry counting function, retry canceling function, amount calculation function) ), 46 …… Discrimination control circuit (denomination discrimination function), 55
…… Other operation switches (confirmation input function).

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】ホルダに装填された紙幣を回転筒の同心円
上に均等に配置された吸引軸に吸着させて一枚ずつめく
り取りながら金種判別するようになされた紙幣計数機に
おいて、 紙幣の表面パターンを読み取り、この表面パターンを予
め記憶された基準データと比較することにより、この紙
幣の金種を判別して金種コードを出力する一方、異常紙
幣検出時にはエラーコードを出力する判別制御回路と、 この判別制御回路から出力されるエラーコードに基づい
て、前記吸引軸による紙幣のめくり取り動作を中断せし
めるべく、前記回転筒の回転を急減速させるとともに、
前記吸引軸が異常紙幣を吸着から開放した後、これに続
く紙幣を吸着する迄の間の中間分離位置で異常紙幣を前
記吸引軸によって未計数紙幣とも計数済み紙幣とも離れ
た状態で停止させる計数モータと、 この計数モータによって未計数紙幣とも計数済み紙幣と
も離れた中間分離位置に停止せしめられた異常紙幣につ
いての異常の有無についての確認の結果が入力される操
作スイッチと、 この操作スイッチの操作によって異常紙幣の確認結果が
入力されると、前記計数モータの停止による中断を解除
して、中断時点からの紙幣のめくり取り判別動作を自動
的に再開する計数制御回路と、 を有する紙幣計数機。
1. A bill counting machine adapted to discriminate denominations by attracting bills loaded in a holder to suction shafts evenly arranged on concentric circles of a rotary cylinder and discriminating denominations while flipping one by one. A discriminating control circuit that reads the surface pattern and compares the surface pattern with prestored reference data to discriminate the denomination of this bill and output a denomination code, while outputting an error code when an abnormal bill is detected. Based on the error code output from the determination control circuit, the rotation of the rotary cylinder is rapidly decelerated in order to interrupt the bill flipping operation by the suction shaft,
After the suction shaft releases the abnormal bill from the suction, until the next succeeding bill is sucked, the abnormal shaft is stopped by the suction shaft while being separated from both the uncounted bill and the counted bill. A motor, an operation switch for inputting the result of confirmation as to whether or not there is an abnormality with respect to an abnormal bill stopped at an intermediate separation position separated from both uncounted bills and counted bills by this counting motor, and operation of this operation switch When a confirmation result of an abnormal banknote is input by, the banknote counting machine having a counting control circuit that cancels the interruption due to the stop of the counting motor and automatically restarts the bill flipping determination operation from the interruption point. .
【請求項2】ホルダに装填された紙幣を回転筒の同心円
上に均等に配置された吸引軸に吸着させて一枚ずつめく
り取りながら金種判別するようになされた紙幣計数機に
おいて、 紙幣の表面パターンを読み取り、この表面パターンを予
め記憶された基準データと比較することにより、この紙
幣の金種を判別して金種コードを出力する一方、異常紙
幣検出時にはエラーコードを出力する判別制御回路と、 この判別制御回路から出力されるエラーコードに基づい
て、前記吸引軸による紙幣のめくり取り動作を中断せし
めるべく、前記回転筒の回転を急減速させるとともに、
異常紙幣を前記吸引軸によって未計数紙幣とも計数済み
紙幣とも離れた中間分離位置に停止せしめる計数モータ
と、 前記計数モータによって未計数紙幣とも計数済み紙幣紙
幣とも離れた中間分離位置に停止せしめられた異常紙幣
を自動的に未計数紙幣側に戻した上前記計数モータの停
止による中断を解除して、再度紙幣めくり取り判別動作
を自動的に再開する計数制御回路と、 を有する紙幣計数機。
2. A bill counter in which bills loaded in a holder are attracted to suction shafts evenly arranged on concentric circles of a rotary cylinder to discriminate denominations while flipping one by one, A discriminating control circuit that reads the surface pattern and compares the surface pattern with prestored reference data to discriminate the denomination of this bill and output a denomination code, while outputting an error code when an abnormal bill is detected. Based on the error code output from the determination control circuit, the rotation of the rotary cylinder is rapidly decelerated in order to interrupt the bill flipping operation by the suction shaft,
A counting motor that stops the abnormal bills at an intermediate separation position apart from both the uncounted bills and the counted bills by the suction axis, and a stop motor at the intermediate separation position away from the uncounted bills and the counted bills by the counting motor. A bill counting machine having a counting control circuit for automatically returning abnormal bills to the side of uncounted bills, canceling the interruption due to the stop of the counting motor, and automatically restarting the bill flipping determination operation again.
【請求項3】前記計数制御回路は、めくり取り判別動作
の再開始において最初にめくり取り判別動作される紙幣
が、再度異常紙幣として判別された場合、前記計数制御
回路によるリトライ処理を中止し、操作スイッチの操作
によって異常紙幣の確認がなされると、前記計数モータ
の停止による中断を解除して、中断時点からの紙幣のめ
くり取り判別動作を自動的に再開することを特徴とする
請求項2記載の紙幣計数機。
3. The counting control circuit stops the retry process by the counting control circuit when the first banknote subjected to the turning-off determination operation is restarted as the abnormal turning-off currency when the turning-up determination operation is restarted. 3. When the abnormal bill is confirmed by operating the operation switch, the interruption due to the stop of the counting motor is released, and the bill flipping determination operation from the interruption point is automatically restarted. The described banknote counting machine.
【請求項4】前記操作スイッチは、異常紙幣の金種コー
ドの入力が可能であって、この操作スイッチによって入
力される金種コードと、前記判別制御回路から自動的に
出力される金種コードとに基づいて、ホルダに装填され
る紙幣の合計金額を計算する金額計算回路を有すること
を特徴とする請求項1または請求項3記載の紙幣計数
機。
4. The operation switch is capable of inputting a denomination code of an abnormal bill, and a denomination code input by the operation switch and a denomination code automatically output from the discrimination control circuit. The bill counting machine according to claim 1 or 3, further comprising an amount calculation circuit for calculating the total amount of bills loaded in the holder based on the above.
JP63172925A 1988-07-12 1988-07-12 Banknote counting machine Expired - Lifetime JPH07113989B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63172925A JPH07113989B2 (en) 1988-07-12 1988-07-12 Banknote counting machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63172925A JPH07113989B2 (en) 1988-07-12 1988-07-12 Banknote counting machine

Publications (2)

Publication Number Publication Date
JPH0222786A JPH0222786A (en) 1990-01-25
JPH07113989B2 true JPH07113989B2 (en) 1995-12-06

Family

ID=15950896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63172925A Expired - Lifetime JPH07113989B2 (en) 1988-07-12 1988-07-12 Banknote counting machine

Country Status (1)

Country Link
JP (1) JPH07113989B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010074418A3 (en) * 2008-12-22 2010-08-26 주식회사 카스모아이티 Tape-paste banknote detecting apparatus of banknote counting and sorting machines
KR100984767B1 (en) * 2008-12-22 2010-10-01 주식회사 카스모아이티 Tape winding detection device with temperature control applied to banknote counter and bill dispenser

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4502494B2 (en) * 2000-11-01 2010-07-14 新日本製鐵株式会社 Operation method of grinding machine when online rolling roll grinding machine is abnormal
KR101357289B1 (en) * 2006-10-24 2014-01-28 글로리 가부시키가이샤 Bill identifier/counter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57787A (en) * 1980-06-02 1982-01-05 Laurel Bank Mach Co Ltd Counter for paper or the like

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010074418A3 (en) * 2008-12-22 2010-08-26 주식회사 카스모아이티 Tape-paste banknote detecting apparatus of banknote counting and sorting machines
KR100984760B1 (en) * 2008-12-22 2010-10-01 주식회사 카스모아이티 Tape winding detector of bill counter and bill sorter
KR100984767B1 (en) * 2008-12-22 2010-10-01 주식회사 카스모아이티 Tape winding detection device with temperature control applied to banknote counter and bill dispenser

Also Published As

Publication number Publication date
JPH0222786A (en) 1990-01-25

Similar Documents

Publication Publication Date Title
US3976198A (en) Method and apparatus for sorting currency
GB2204166A (en) Discriminating apparatus for bill counting machine
US4928230A (en) Automatic transacting apparatus
CN112546608B (en) Card processing equipment for defect detection and related methods
JPS63271687A (en) Discriminator in banknote counter
JPH07113989B2 (en) Banknote counting machine
JPH05755B2 (en)
JP3105298B2 (en) Bill transporter
JP2542642B2 (en) Banknote counting machine
JPH0574119B2 (en)
JPH0525013Y2 (en)
JP4210796B2 (en) Banknote storage state notification method and program for banknote identification machine
JPH1069557A (en) Paper money dispensing device
JPS63271684A (en) Double-feed detector in banknote counter
JPH0532797B2 (en)
JPH0585077B2 (en)
JP3105297B2 (en) Bill transporter
JPH0525014Y2 (en)
JPS63271686A (en) Discriminator in banknote counter
JPS635083Y2 (en)
JPH0241700Y2 (en)
JPH03186988A (en) Counter for paper sheet
JPS63262789A (en) Sheet paper handler
JP2527551Y2 (en) Paper sheet counting machine
JPH063622B2 (en) A marking instruction device for a paper sheet counting machine having a different ticket discrimination function

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081206

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20081206

Year of fee payment: 13