JP2724556B2 - Game storage medium issuing device - Google Patents

Game storage medium issuing device

Info

Publication number
JP2724556B2
JP2724556B2 JP27365295A JP27365295A JP2724556B2 JP 2724556 B2 JP2724556 B2 JP 2724556B2 JP 27365295 A JP27365295 A JP 27365295A JP 27365295 A JP27365295 A JP 27365295A JP 2724556 B2 JP2724556 B2 JP 2724556B2
Authority
JP
Japan
Prior art keywords
card
data
routine
packet
controller
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 - Fee Related
Application number
JP27365295A
Other languages
Japanese (ja)
Other versions
JPH08112431A (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.)
Sofia Inc
Original Assignee
Sofia Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sofia Inc filed Critical Sofia Inc
Priority to JP27365295A priority Critical patent/JP2724556B2/en
Publication of JPH08112431A publication Critical patent/JPH08112431A/en
Application granted granted Critical
Publication of JP2724556B2 publication Critical patent/JP2724556B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は磁気カードや電子カード
等の記憶媒体を利用したパチンコ機あるいはアレンジボ
ール機、スロットマシン等の遊技装置に用いられる遊技
用記憶媒体の発行装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for issuing a game storage medium used in a game machine such as a pachinko machine, an arrangement ball machine, a slot machine, etc., using a storage medium such as a magnetic card or an electronic card.

【0002】[0002]

【従来の技術】近年、カード状の記憶媒体を媒介として
遊技を行なうようにした遊技装置の代表的な例としてカ
ード式のパチンコ遊技システムが提唱されている。この
種のカード式遊技システムとして、例えばカードの発行
に際して購入金額に対応した持玉数データをカードに記
憶してこの持玉数の範囲内で遊技を行ない遊技において
増減した持玉数データを遊技終了の際にカードに記憶す
るようにしたもの(特公昭47−42227号)やカー
ド購入の際にコード番号だけを記録したカードを発行し
て持玉数は集中管理装置に記憶し、カードをパチンコ機
のカード読取装置に挿入することによって記憶された持
玉数を呼び出して遊技機へ送り遊技を行なえるようにし
たもの(実公昭61−32709号、特公昭51−17
106号参照)が提案されている。
2. Description of the Related Art In recent years, a card-type pachinko gaming system has been proposed as a typical example of a gaming device that plays a game via a card-shaped storage medium. As a card-type gaming system of this type, for example, when a card is issued, the number of held balls data corresponding to the purchase amount is stored in the card, and a game is performed within the range of the number of held balls, and the number of held balls data increased or decreased in the game is played. At the time of the end, a card which is stored in the card (Japanese Patent Publication No. 47-42227) or a card which records only the code number at the time of card purchase is issued, the number of balls held is stored in the central control device, and the card is stored. A game machine in which a stored number of balls is called by inserting it into a card reader of a pachinko machine and sent to a gaming machine so that a game can be played (Japanese Utility Model No. 61-32709, Japanese Patent Publication No. 51-17).
No. 106) has been proposed.

【0003】[0003]

【発明が解決しようとする課題】上記カード式遊技シス
テムにおける遊技用カードは、遊技客がカード発行装置
に金銭を投入し金額ボタンを押すことにより希望する金
額のカードが発行されるようになっており、発行される
カードの有する有価データ等は磁気記憶部に記録される
ようになっている。そのため、外部からその記憶内容を
知ることが困難であり、発行されるカードのデータが誤
っていたり、遊技店の係員が誤って無効なカードを発行
装置にセットしてそのまま発行した場合、遊技客と遊技
店との間でトラブルが発生するおそれがある。
The gaming card in the above card-type gaming system is such that a desired amount of money is issued when a player puts money into a card issuing device and presses an amount button. The valuable data of the issued card is recorded in a magnetic storage unit. For this reason, it is difficult to know the stored contents from the outside, and if the data of the issued card is incorrect, or if a game store clerk erroneously sets an invalid card in the issuing device and issues it as it is, And a game store may cause trouble.

【0004】この発明は、上記のような背景の下になさ
れたもので、その目的とするところは、無効もしくは不
正確な記憶媒体の発行を防止できるような記憶媒体発行
装置を提供することにある。
[0004] The present invention has been made in view of the above background, and an object of the present invention is to provide a storage medium issuing apparatus which can prevent invalid or inaccurate issuance of a storage medium. is there.

【0005】[0005]

【課題を解決するための手段】この発明は、上記目的を
達成するため、金銭もしくは遊技媒体数と実質的に等価
な有価データが付与された記憶媒体(カードCD)の読
取装置(遊技装置のカードリーダ800)を有し該読取
装置に記憶媒体が挿入されることに関連して遊技が実行
可能な遊技装置(例えばパチンコ機100、制御ユニッ
ト160)に使用される記憶媒体を発行可能な遊技用記
憶媒体発行装置(カード発行機200)であって、発行
前の記憶媒体を収納する記憶媒体収納手段(カードタン
ク701)と、上記記憶媒体の情報記憶部に記憶されて
いる情報を読み取り可能な情報読取手段(記憶媒体発行
装置のカードリーダ800)と、上記情報読取手段によ
り読み取られた情報に基づいて発行される記憶媒体が有
効か否か判定する記憶媒体判定手段と、上記記憶媒体判
定手段により有効でないと判定された記憶媒体を回収す
る記憶媒体回収手段(例えば走路切替部材777や没収
タンク780)と、上記記憶媒体回収手段に回収された
記憶媒体数を確認可能な回収記憶媒体計数表示手段(例
えばセンサ782、投光器783、予備カウンタ79
6)とを備えてなるようにしたものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a reading device (card CD) for a storage medium (card CD) provided with valuable data substantially equivalent to money or the number of game media. A game that has a card reader 800) and can issue a storage medium used in a gaming device (eg, pachinko machine 100, control unit 160) that can execute a game in connection with a storage medium being inserted into the reading device. Storage medium issuing device (card issuing machine 200) for storing storage media before issuance (card tank 701) and capable of reading information stored in an information storage unit of the storage medium Information reading means (card reader 800 of a storage medium issuing device) and a storage medium issued based on the information read by the information reading means determine whether or not the storage medium is valid. Storage medium determination means, storage medium recovery means for recovering storage media determined to be invalid by the storage medium determination means (for example, runway switching member 777 or confiscation tank 780), and storage recovered by the storage medium recovery means Collection storage medium counting and displaying means capable of confirming the number of media (for example, sensor 782, light projector 783, spare counter 79)
6).

【0006】また、上記記憶媒体の情報記憶部が磁気デ
ータ記憶部(磁気記録部MG)であり、上記記憶媒体判
定手段は上記情報読取手段が上記記憶媒体の磁気データ
記憶部から読み取った磁気データに基づいて発行する記
憶媒体が有効か否か判定するように構成する。
Further, the information storage section of the storage medium is a magnetic data storage section (magnetic recording section MG), and the storage medium determining means is a magnetic data storage section which reads the magnetic data read from the magnetic data storage section of the storage medium by the information reading means. Is configured to determine whether the issued storage medium is valid based on

【0007】[0007]

【作用】上記した手段によれば、遊技用記憶媒体発行装
置によって記憶媒体が発行される前に当該記憶媒体が有
効か否か判定され、有効でないと判定された記憶媒体は
記憶媒体回収手段によって回収されるため、例えば記憶
媒体の情報記憶部に不正確な情報等が記憶された等の無
効記憶媒体が遊技用記憶媒体発行装置より発行されるの
を防止することができ、遊技客と遊技店との無用なトラ
ブルを回避することができるようになる。
According to the means described above, it is determined whether or not the storage medium is valid before the storage medium is issued by the game storage medium issuing device, and the storage medium determined to be invalid is determined by the storage medium collection means. Since it is collected, it is possible to prevent an invalid storage medium such as inaccurate information being stored in an information storage section of the storage medium from being issued from the storage medium issuing device for a game, and to prevent Unnecessary trouble with the store can be avoided.

【0008】また、記憶媒体に情報を記憶させる場合、
情報記憶部はコスト等の点からは磁気データ記憶部とす
ることが有利であり、かかる磁気データ記憶部を有する
記憶媒体を発行するに際して磁気データを判定して発行
することにより、不正確な磁気データを有する無効記憶
媒体が発行されるのを確実かつ迅速に防止することがで
きる。
When information is stored in a storage medium,
It is advantageous that the information storage unit is a magnetic data storage unit in terms of cost and the like. When a storage medium having such a magnetic data storage unit is issued, magnetic data is determined and issued, so that inaccurate magnetic data can be obtained. It is possible to reliably and quickly prevent an invalid storage medium having data from being issued.

【0009】[0009]

【実施例】図1に本発明を適用した記憶媒体式遊技設備
の一例としてのカード式パチンコ遊技システムの一実施
例を示す。
FIG. 1 shows an embodiment of a card-type pachinko game system as an example of a storage medium-type game facility to which the present invention is applied.

【0010】この実施例のパチンコ遊技システムは、遊
技装置としてのパチンコ機100と、各パチンコ機にお
ける遊技を開始させるためローカルな有価価値を有する
記憶媒体としてのカードCDを発行する遊技用記憶媒体
発行装置としての発行機200と、遊技の結果得られた
賞品球および遊技に使用せずに残った購入金を精算する
ための記憶媒体精算装置としての精算機300と、上記
各種端末機を集中的に管理し、制御する管理装置400
と、この管理装置400と各端末機を有機的に結合する
データ伝送路500とからなり、これらによって、有機
的結合体が構成される。
The pachinko gaming system according to this embodiment has a pachinko machine 100 as a game machine and a game storage medium issuing card CD as a storage medium having a local value for starting a game in each of the pachinko machines. The issuing machine 200 as a device, the prize ball obtained as a result of the game, and a payment device 300 as a storage medium payment device for payment of a purchase money not used for the game, and the various terminals described above are centralized. Management device 400 for managing and controlling
And a data transmission line 500 that organically couples the management device 400 and each terminal. These components constitute an organic combination.

【0011】この有機的結合体は、上記カードCDによ
ってのみ介入が可能とされ、かつ有機的結合体によって
のみカードの運用とその有価データの変換が可能となっ
ている。そのため、有機的結合体の各構成要素たるパチ
ンコ機100、発行機200、精算機300および管理
装置400には、それぞれ記憶媒体読取装置としてのカ
ードリーダ(この明細書では、カードの磁気面への書込
みを行うものもカードリーダと称する)が設けられてい
るとともに、カードの情報および各端末機の情報は、管
理装置400の記憶装置内にファイルの形で記憶される
ようになっている。
The organic combination can be interposed only by the card CD, and the card can be operated and its valuable data can be converted only by the organic combination. Therefore, the pachinko machine 100, the issuing machine 200, the settlement machine 300, and the management device 400, which are the constituent elements of the organic binder, each have a card reader as a storage medium reading device (in this specification, a card reader). A card reader for writing data is also provided), and the information of the card and the information of each terminal are stored in the storage device of the management device 400 in the form of a file.

【0012】次に、上記有機的結合体の各構成要素につ
いての具体的な説明に入る前に、本実施例の記憶媒体式
遊技設備に使用されるカードについて説明する。
Next, before entering into a specific description of each component of the organic combination, a card used in the storage-medium type game facility of this embodiment will be described.

【0013】本実施例の記憶媒体式遊技設備に使用され
るカードCDは、例えば図2の(A)に示すように、購
入金額AMや、発行年月日(=有効年月日)DATE等
遊技客にとって必要な情報および破損カードの復活の際
に必要な発行通し番号n等が発行時に印字される印字表
示部PRTがカード挿入方向(カードの長手方向)に沿
って設けられている。従って、予め異なる金額を印字し
た複数種類のカードを用意しておく必要がない。
As shown in FIG. 2A, for example, the card CD used in the storage-medium type game facility of this embodiment includes a purchase amount AM, an issue date (= valid date) DATE, and the like. A print display section PRT is provided along the card insertion direction (longitudinal direction of the card) on which information necessary for the player and an issue serial number n and the like required when the damaged card is restored are printed at the time of issuance. Therefore, there is no need to prepare a plurality of types of cards on which different amounts of money are printed in advance.

【0014】この印字表示部PRTのすぐ上には、カー
ドの状態すなわち発行済、復活、遊技、帰零(ゼロ)お
よび精算済等カードの来歴もしくは状態遷移を穿孔の形
で記録する穿孔形成部としてのパンチ穴形成領域PH
が、同じくカード挿入方向に沿って設けられている。
Immediately above the print display section PRT, a perforation forming section for recording the state of the card, that is, the history or status transition of the card, such as issued, resurrected, played, returned to zero (zero), and settled, in the form of perforations. Hole forming area PH as
Are also provided along the card insertion direction.

【0015】カードに形成された上記穿孔を光電検出器
で検出することで、磁気面に記録されているコードを使
って管理装置のファイルから持玉数データを読み出して
確認することなく容易にカードの状態を把握することが
でき、これによって、カードの状態に対応した処理を決
定するのに要するカードリーダのコントローラや管理装
置の負担を軽減することができる。
[0015] By detecting the perforations formed in the card with a photoelectric detector, the card number can be easily read out from the file of the management device using the code recorded on the magnetic surface and confirmed without reading the data. This makes it possible to reduce the load on the controller and management device of the card reader required to determine the processing corresponding to the state of the card.

【0016】一方、カードの中央よりやや下方の位置に
は、前端から中央付近まで帯状の磁性材が塗布された情
報記憶部として機能する磁気データ記憶部としての磁気
記録部MGが設けられている(図2の(B)参照)。た
だし、磁気記録部MGはカードが長手方向の一部にのみ
でなく、印字表示部PRTと同様カードの端から端まで
連続する帯状としてもよいし、あるいはカードの裏面全
体に磁性材を塗布して磁気記録部としてもよい。
On the other hand, at a position slightly below the center of the card, there is provided a magnetic recording section MG as a magnetic data storage section which functions as an information storage section coated with a band-shaped magnetic material from the front end to the vicinity of the center. (See FIG. 2B). However, the magnetic recording portion MG may have a card formed not only in a part of the longitudinal direction but also in a continuous band shape from end to end of the card similarly to the print display portion PRT, or a magnetic material may be applied to the entire back surface of the card. May be used as a magnetic recording unit.

【0017】さらに、この実施例のカードでは、印字表
示部PRTと磁気記録部MGとの間、すなわちカードの
中央にカードリーダ内の搬送ローラよりも少し幅の広い
帯状のローラ走行領域RRAがカードの長手方向に沿っ
て設けられており、搬送ローラとの接触によりカードの
表面、特にカードの判定に利用される重要な情報を有す
る上記磁気記録部MG、印字表示部PRT、真偽鑑別領
域TFが損傷されるのを防止し、それらの情報が読取り
不能になるのを回避できるようになっている。
Further, in the card of this embodiment, a belt-like roller running area RRA slightly wider than the transport roller in the card reader is provided between the print display section PRT and the magnetic recording section MG, that is, at the center of the card. The magnetic recording section MG, the print display section PRT, and the authenticity discrimination area TF, which are provided along the longitudinal direction of the card and have important information used for determining the card surface, particularly the card, by contact with the transport roller. Is prevented from being damaged, and the information can be prevented from becoming unreadable.

【0018】また、この実施例のカードでは、磁気記録
部MGの下方にカード表面に印刷されるホール名等の文
字中に隠匿されたセキュリティマークからなる真偽鑑別
領域TFを設けてある。すなわち、カードの表面に印刷
される「PLAZA」なる文字を、図3の(C)に示す
ように各文字の脚部が、3.5ミリ等のピッチで設けら
れる検出ビットパターンB0〜B9に対応する位置に来
るようにデザインして印刷しておく。そして、文字幅が
0.5〜1.5ミリ、各ビット間が3.5ミリとなるよ
うにし、各ビットの“1”または“0”を文字の濃淡で
表現する。しかも、10個のビットのうち左から5番目
のビットB4と最後のビットB9は、ビットB0〜B3
とB5〜B8のパリティを表すように文字の濃淡を決定
しておく。なお、この文字列中に隠匿されたセキュリテ
ィビットは、センサにおいてのみ検出でき、人間の目に
は区別がつかないような特殊なインクを用いて形成して
おくとより好ましい。
Further, in the card of this embodiment, a true / false discrimination area TF made of a security mark concealed in characters such as a hole name printed on the card surface is provided below the magnetic recording portion MG. That is, the characters "PLAZA" printed on the front surface of the card are added to the detection bit patterns B0 to B9 in which the legs of each character are provided at a pitch such as 3.5 mm as shown in FIG. Design and print to come to the corresponding position. Then, the character width is set to 0.5 to 1.5 mm, and the distance between bits is set to 3.5 mm, and "1" or "0" of each bit is represented by shading of the character. In addition, the fifth bit B4 from the left and the last bit B9 of the 10 bits are bits B0 to B3.
And the shading of the character to represent the parity of B5 to B8. It is more preferable that the security bits concealed in the character string be formed using a special ink that can be detected only by the sensor and cannot be distinguished by human eyes.

【0019】さらに、この実施例の遊技カードの表面に
は、磁気記録部MGに連続した帯状領域に磁気ヘッドの
汚れを除去するためのクリーニング剤を塗付してなるヘ
ッドクリーニング領域HCNが設けられてい。これとと
もに、実施例のカードでは、上記磁気記録部MGがどこ
に設けられているか分からないようにするため、図3の
(D)に示すように、ポリエステル等のプラスチックか
らなる基材11上に磁性粒子を均一に塗付してなる磁気
層12の上にホワイト層13を形成し、さらにその上に
絵柄印刷層14を載せてからその一部(印字表示部PR
Tに対応する部位)に感熱発色層15を形成し、その上
方に透明な保護膜16をコーティングしてある。なお、
クリーニング領域HCNにはホワイト層13と同一色の
クリーニング剤を塗付し、その表面には保護膜16がコ
ーティングされないようにして露出させ、クリーニング
領域が他の部位と色彩的にほとんど変わらないようにし
て、美観の向上を図っている。また、カードの基材11
の裏面には絵柄印刷層17を形成し、その上を保護膜1
8でコーティングするようになっている。
Further, on the surface of the game card of this embodiment, a head cleaning area HCN is provided in which a cleaning agent for removing dirt on the magnetic head is applied to a belt-like area continuous with the magnetic recording portion MG. And At the same time, in the card of the embodiment, as shown in FIG. 3D, the magnetic recording portion MG is placed on a base material 11 made of a plastic such as polyester so that it is difficult to know where the magnetic recording portion MG is provided. A white layer 13 is formed on a magnetic layer 12 coated with particles uniformly, and a pattern printing layer 14 is further placed thereon, and then a part thereof (a print display section PR).
A thermosensitive coloring layer 15 is formed on the portion corresponding to T, and a transparent protective film 16 is coated thereon. In addition,
A cleaning agent of the same color as that of the white layer 13 is applied to the cleaning area HCN, and the surface thereof is exposed without being coated with the protective film 16 so that the cleaning area hardly changes in color from other parts. To improve the aesthetics. Also, the card base material 11
A pattern printing layer 17 is formed on the back surface of
8 for coating.

【0020】磁気層12の表面にホワイト層13が形成
されている上記のような構造のカードにあっては、黒色
の磁性粒子からなる磁気層12が白色のホワイト層13
で覆われているため、絵柄を印刷してファッション性の
豊かなカードを提供することが可能になるとともに、磁
気記録部MGを隠匿する機能も有している。
In the card having the above structure in which the white layer 13 is formed on the surface of the magnetic layer 12, the magnetic layer 12 made of black magnetic particles is
, It is possible to provide a card with rich fashion by printing a picture, and has a function of concealing the magnetic recording unit MG.

【0021】さらに、カードの表面に保護膜16がコー
ティングされているため、印字表示部PRTや磁気記録
部MGおよび真偽鑑別領域TF等カードの判別に使用さ
れる重要な情報を保持する領域が保護され、それらの情
報が破壊されにくくなって、カードの信頼性が向上す
る。
Furthermore, since the protective film 16 is coated on the surface of the card, an area holding important information used for discriminating the card, such as the print display section PRT, the magnetic recording section MG, and the authenticity discrimination area TF, is provided. The card is protected, and the information is less likely to be destroyed, thereby improving the reliability of the card.

【0022】図4には、カードに設けられた磁気記録部
MGの構成例を示す。
FIG. 4 shows a configuration example of the magnetic recording unit MG provided on the card.

【0023】この実施例のカードの磁気記録部MGは2
つのトラックで構成され、このうち、第1のトラックT
RC1にはサンプリングタイミングを与えるクロックデ
ータを記録する。第2のトラックTRC2は、左から順
に4ビットの開始符号とそのパリティビットの入るフィ
ールドSTX、カードリーダの製造元を示す企業コード
MKCとカードリーダの機種を示す機器コードMCC、
遊技店の識別コードDSC、年月日データDATE、カ
ード番号No、カード発行時にカードリーダから与えら
れる発行指令コードFNCおよび真偽鑑別領域から読み
取られたセキュリティデータSDCの入るテキストフィ
ールドTXT、テキスト終了符号の入るフィールドET
X、テキストデータと終了符号との排他的論理和の値
(検出符号)の入るフィールドLRCと開始符号の入る
フィールドSTXとから構成されている。しかも、年月
日データDATEは、4ビットごとにそれぞれのパリテ
ィを示すビットPが設けられているとともに、最初の4
ビットで「月」を、第6〜第9ビットと第11ビットと
で「日」を、そして第12〜第14ビットおよび第16
〜第19ビットで西暦の下2桁を2進コード化してそれ
ぞれ記録するようになっている。
The magnetic recording portion MG of the card of this embodiment has two
Track T, of which the first track T
Clock data for giving a sampling timing is recorded in RC1. The second track TRC2 includes, starting from the left, a 4-bit start code and a field STX containing the parity bit, a company code MKC indicating the manufacturer of the card reader, a device code MCC indicating the model of the card reader,
A game store identification code DSC, date data DATE, card number No., issuance command code FNC given by the card reader at the time of card issuance, text field TXT containing security data SDC read from the authenticity discrimination area, text end code In the field ET
X, a field LRC containing an exclusive OR value (detection code) of text data and an end code, and a field STX containing a start code. In addition, the date DATE is provided with a bit P indicating each parity every four bits, and the first four bits are provided.
Bit for “month”, 6th to 9th and 11th bits for “day”, and 12th to 14th and 16th bits
From the 19th bit to the 19th bit, the last two digits of the Christian era are binary-coded and recorded.

【0024】磁気記録部を有するカードでは、一般に年
月日から記録フォーマットや記録データの解読するのが
一番容易であるが、上記実施例のカードでは年月日の順
序を入れ替えるとともに、4ビットごとにパリティビッ
トを入れ、さらに記録ビットの対応に変化を持たせてい
るため、カードの偽造が極めて困難となる。
In the case of a card having a magnetic recording section, it is generally easiest to decode the recording format and the recording data from the date. Since a parity bit is inserted for each recording and the correspondence of recording bits is changed, it is extremely difficult to forge a card.

【0025】また、発行通し番号nを印字表示部PRT
に印字するようになっているため、カードの破損等によ
り磁気記録部MGの情報が読出し不能になっても管理装
置のファイル情報からカードを復活することができる。
Further, the issue serial number n is displayed on the print display unit PRT.
The card can be restored from the file information of the management device even if the information in the magnetic recording unit MG cannot be read due to the damage of the card or the like.

【0026】さらに、上述したように、この実施例のカ
ードの磁気記録部に記録される情報は、カードの使用可
能空間を特定するための識別コードDSCと、カードの
有効期間を示すための発行年月日DATEと、発行通し
番号nから適当な関数もしくは変換方式を使って得られ
る識別符号としてのカード番号と、エラー検出用のチェ
ックコードのみであり、購入金額や持玉数は記録されな
いようになっている。
Further, as described above, the information recorded in the magnetic recording unit of the card of this embodiment includes an identification code DSC for specifying the usable space of the card and an issue code for indicating the validity period of the card. Only the date DATE, the card number as an identification code obtained from the issue serial number n using an appropriate function or conversion method, and a check code for error detection, so that the purchase amount and the number of balls held are not recorded. Has become.

【0027】これらは、上記カード番号NOによって管
理装置400のデータファイルからリアルタイムで引出
し可能な構成にしてある。これによって、カードのコピ
ーによる不正を防止し、かつ不正による被害を最小限に
とどめることができる。つまり、カードがコピーされて
もデータファイル内に登録されている購入金額と獲得玉
数以上の被害は生じないので、カードをコピーするのは
全くの無駄な行為となる。
These are configured so that they can be extracted in real time from the data file of the management device 400 by the card number NO. This prevents fraud by copying the card and minimizes the damage caused by fraud. In other words, even if the card is copied, no damage occurs beyond the purchase price and the number of balls registered in the data file, so copying the card is a completely useless act.

【0028】しかも、上記実施例ではカードに記録され
た磁気記録情報のみならず偽造が困難な真偽鑑別領域T
Fによってもカードの真偽を鑑定するようにしているの
で、カードの不正をより確実に防止することができる。
また、真偽鑑別領域TFのチェックにより不正カードを
直ちに検出できるので、磁気情報を管理装置400に送
って不正カードの判定を行うよりもすばやく不正カード
を発見することができる。なお、磁気記録部を有するテ
レホンカード等においても穿孔が形成されるようになっ
ているが、従来のカードの穿孔は未使用残額を使用者に
知らせるために設けられるものであり、カードリーダが
穿孔を検出して何らかの処理もしくは判定に利用するた
めのものではない。
Further, in the above embodiment, not only the magnetic recording information recorded on the card but also the authenticity discrimination area T which is difficult to forge.
Since the authenticity of the card is also determined by F, it is possible to more reliably prevent fraud on the card.
Further, since an unauthorized card can be immediately detected by checking the authenticity discrimination area TF, the unauthorized card can be found more quickly than sending the magnetic information to the management device 400 and determining the unauthorized card. It is to be noted that a hole is also formed in a telephone card or the like having a magnetic recording section, but a conventional card is provided to inform the user of the remaining balance, and a card reader is used to make a hole. Is not intended to be used for any processing or determination.

【0029】次に、本来の遊技を提供する遊技装置とし
ての遊技機の構成例について図5〜図15を用いて説明
する。
Next, an example of the configuration of a gaming machine as a gaming machine for providing an original game will be described with reference to FIGS.

【0030】この実施例の遊技機はパチンコ機100
と、該パチンコ機と1対1で対応されて遊技機本体上方
の島設備等に配置され、主として表示器とカードリーダ
に関する制御と遊技中の可動データの収集を司る制御ユ
ニット160とにより構成される。
The gaming machine of this embodiment is a pachinko machine 100
And a control unit 160 which is disposed on an island facility or the like above the game machine main body in a one-to-one correspondence with the pachinko machine, and mainly controls a display and a card reader and collects movable data during the game. You.

【0031】パチンコ機100は、パチンコ店の島設備
に固定される機枠101内に、ヒンジ102によって開
閉自在に装着される。機枠101の下部にはパチンコ機
100の重量に耐え、且つ打球発射装置103の振動を
吸収する操作ダイヤル補強部材107aを有する補強板
107が固着されている。パチンコ機100の下部に
は、封入球を一個ずつ遊技領域内に発射する打球発射装
置103とその操作ダイヤル104が設けられており、
また、操作ダイヤル104の上方には、前記カードを使
用した遊技開始の手続きを可能にするための金額表示器
111、玉数表示器112、購入スイッチ113、中断
スイッチ114、終了スイッチ115、遊技状態表示器
116等を備えた操作パネル110が設けられている。
パチンコ機前面の遊技領域の構成は従来のものと同じで
ある。購入スイッチ113は、制御ユニット160に内
蔵されたカードリーダ800へのカードの挿入を前提と
してカードの有する金額の範囲内で、200円等の単位
でこれを遊技球に変換するための指示スイッチで、変換
された遊技球が持玉数となる。カードの残り金額は、1
00円を1単位とする度数で金額表示器111に表示さ
れるとともに、変換された持玉数は玉数表示器112に
表示され、打球発射装置103により遊技球一つ発射さ
れるごとに持玉数が一つ減算され、入賞球が発生すると
賞品球数の分だけ加算表示される。終了スイッチ115
は遊技者が遊技を終了させたくなったとき(遊技台を変
更したい場合を含む)にいつでもこれをオンさせること
で、使用中のカードを制御ユニット160より排出させ
ることができる。そのときユニットコントローラ190
はその時点で遊技客の残金額と持玉数(購入玉と獲得球
の和)を、管理装置400のファイル内に登録してから
カードをカードリーダ800の挿排口802aより排出
する。また、中断スイッチ114は、遊技者が現在遊技
中の遊技機での遊技を止める意思はないが、休憩のため
一時的に遊技を中断させるために使用するスイッチで、
このスイッチが操作されると、ユニットコントローラ1
90は一旦カードを排出して再び同一カードが挿入され
るまで待機状態となり、その間他のカードを受け付けな
いようになる。なお、上記各スイッチのうち購入スイッ
チ113はランプ内蔵型で、持玉数が「0」になると購
入スイッチ113内のランプが点滅される。
The pachinko machine 100 is mounted in a machine frame 101 fixed to an island facility of a pachinko parlor by a hinge 102 so as to be openable and closable. A reinforcing plate 107 having an operation dial reinforcing member 107a that withstands the weight of the pachinko machine 100 and absorbs the vibration of the hit ball firing device 103 is fixed to a lower portion of the machine frame 101. In the lower part of the pachinko machine 100, a hit ball launching device 103 for firing the enclosed balls one by one into the game area and an operation dial 104 thereof are provided,
Above the operation dial 104, a money amount display 111, a ball number display 112, a purchase switch 113, an interruption switch 114, an end switch 115, a game state for enabling a procedure for starting a game using the card. An operation panel 110 including a display 116 and the like is provided.
The configuration of the game area on the front of the pachinko machine is the same as that of the conventional one. The purchase switch 113 is an instruction switch for converting the card into a game ball in units of 200 yen or the like within the range of the amount of the card assuming insertion of the card into the card reader 800 built in the control unit 160. , The converted game balls are the number of possessed balls. The remaining amount of the card is 1
The converted number of balls is displayed on the ball number display 112, and the converted ball count is displayed on the amount indicator 111 in units of 00 yen as one unit. When the number of balls is decremented by one and a prize ball is generated, the number of prize balls is added and displayed. Exit switch 115
The player can turn on the card whenever the player wants to end the game (including a case where the player wants to change the game console) so that the control unit 160 can eject the card in use. At that time, the unit controller 190
At that time, the remaining amount of the player and the number of balls possessed (the sum of purchased balls and acquired balls) are registered in the file of the management device 400, and then the card is ejected from the insertion / ejection opening 802a of the card reader 800. Further, the interruption switch 114 is a switch used for temporarily suspending the game for a break, although the player does not intend to stop the game at the game machine currently playing,
When this switch is operated, the unit controller 1
90 waits until the card is ejected and the same card is inserted again, during which no other card is accepted. The purchase switch 113 among the above-mentioned switches is of a built-in lamp type, and the lamp in the purchase switch 113 blinks when the number of balls held becomes “0”.

【0032】操作パネル110は、図6に示すように、
パチンコ機100の下部の開閉可能な前面パネル105
に装着され、かつ断面三角形の中空状をなし、上面が前
方に向かって下り傾斜されることにより表示が読取り易
いようになっている。操作パネル110の内側には、表
示面110aと平行に配線基板120A,120Bが配
設され、この基板120A上に7セグメント型LEDか
らなる金額表示器111と玉数表示器112が、また基
板120B上に上記各スイッチ113〜115と内蔵ラ
ンプが取り付けられ、表示プレート117で覆われてい
る。
The operation panel 110 is, as shown in FIG.
Openable front panel 105 at the bottom of pachinko machine 100
, And has a hollow shape with a triangular cross section, and the upper surface is inclined downward toward the front so that the display can be easily read. Inside the operation panel 110, wiring boards 120A and 120B are arranged in parallel with the display surface 110a. On the board 120A, a money amount indicator 111 and a ball number indicator 112 made of 7-segment type LEDs are provided. The switches 113 to 115 and the built-in lamp are mounted thereon, and are covered with a display plate 117.

【0033】この表示プレート117の上記表示器11
1,112に対応する部位は透明な窓部117aとさ
れ、スイッチ113〜115に対応する部位は開口部1
17bとされている(図7参照)。そして、この開口部
117b内には上記各スイッチ113〜115の上方を
覆うように操作ボタン118が装着されている。121
は購入スイッチ113に対応された内蔵ランプである。
The display 11 of the display plate 117
1 and 112 are transparent window portions 117a, and the portions corresponding to switches 113 to 115 are opening portions 1a.
17b (see FIG. 7). An operation button 118 is mounted in the opening 117b so as to cover above the switches 113 to 115. 121
Is a built-in lamp corresponding to the purchase switch 113.

【0034】また、操作パネル110前端には、半透明
なフレネルレンズ119等で表示ランプ123が覆われ
てなる遊技状態表示部116が設けられており、この表
示ランプ123は打球発射装置103の操作ダイヤル1
04を回すと点灯されるようになっている。
At the front end of the operation panel 110, there is provided a game state display section 116 in which a display lamp 123 is covered with a translucent Fresnel lens 119 or the like. Dial 1
When it is turned 04, it turns on.

【0035】さらに、操作パネル110の側部(実施例
では左側)には、ストップスイッチ124を内蔵した操
作ボタン125が装着されており、このスイッチ124
をオンさせると、遊技部内に配設された役物の作動を停
止させるなど遊技に関連する指令を与えることができる
ようになっている。ストップスイッチ124は、操作パ
ネル110内に配設された配線基板120C上に取り付
けられ、この配線基板120Cから延設された配線群1
26Cおよび前記各基板120A,120Bから延設さ
れた配線群126A,126Bが外部に引き出され、そ
の端部に結合されたコネクタ127A〜127Cにてパ
チンコ機裏面下部に配置されたパチンコ機制御装置19
5に接続可能にされている。
Further, on the side (left side in the embodiment) of the operation panel 110, an operation button 125 having a built-in stop switch 124 is mounted.
Is turned on, it is possible to give a command related to the game, such as stopping the operation of the accessory provided in the game section. The stop switch 124 is mounted on a wiring board 120C provided in the operation panel 110, and the wiring group 1 extending from the wiring board 120C.
26C and a wiring group 126A, 126B extended from each of the boards 120A, 120B is drawn out to the outside, and the pachinko machine control device 19 arranged at the lower part of the back of the pachinko machine by connectors 127A to 127C connected to its ends.
5 can be connected.

【0036】一方、本実施例の遊技機を構成するパチン
コ機100は、機内に封入された遊技球を循環使用する
密閉型遊技機として構成されており、封入球を循環させ
る封入球循環装置130を裏面に有している。
On the other hand, the pachinko machine 100 constituting the gaming machine of this embodiment is configured as a closed-type gaming machine that circulates and uses the game balls sealed in the machine, and includes a sealed ball circulating device 130 for circulating the sealed balls. On the back surface.

【0037】パチンコ機100の裏面の構成例を図15
に示す。
FIG. 15 shows a configuration example of the back side of the pachinko machine 100.
Shown in

【0038】遊技盤前面の遊技領域内に設けられた入賞
領域に対応して遊技盤を貫通するように形成された複数
の入賞球導出孔を覆う入賞球集合樋131が、フレーム
106に保持された遊技盤の裏面に取り付けられてい
る。入賞球集合樋131の底壁は中央に向かって下り傾
斜されて案内棚131aとされ、その下方に、図9のご
とくアウト球樋132aと第1セーフ球樋132b、第
2セーフ球樋132cとが一体に形成されてなる誘導樋
132が配設されている。この誘導樋132内の各樋の
途中には、一対の投光、受光器からなる光電式のアウト
センサSNS1と第1セーフセンサSNS2、第2セー
フセンサSNS3が取り付けられている。
A prize ball collecting gutter 131 covering a plurality of prize ball lead-out holes formed to penetrate the game board corresponding to a prize area provided in the game area on the front of the game board is held by the frame 106. It is attached to the back of the game board. The bottom wall of the winning ball collecting gutter 131 is inclined downward toward the center to form a guide shelf 131a, and below it, an out ball gutter 132a, a first safe ball gutter 132b, and a second safe ball gutter 132c, as shown in FIG. Are formed integrally with each other. In the middle of each gutter in the guide gutter 132, a photoelectric type out sensor SNS1, a first safe sensor SNS2, and a second safe sensor SNS3 each including a pair of light emitting and receiving devices are mounted.

【0039】また、誘導樋132は、各樋に流入した球
を一箇所に集める合流樋部132dを備え、合流樋部1
32dの終端は、図9に示すようにパチンコ球を一列に
整列せしめるべく緩やかに傾斜された案内樋133の上
流側に接続され、これによって封入球球循環装置130
が構成されている。そして、案内樋133の上流側には
発射レールに沿って打ち出された打球がレール基部に向
かって戻ってしまういわゆるファール球(戻り球)を回
収すべく発射レールの上端に設けられたファール球受入
口134(図11参照)に臨むように配設されるファー
ル球樋133aが一体に形成されており、ファール球は
誘導樋132を介して案内樋133上に流下された球と
合流されるようになっている。ファール球樋133aの
途中にはファールセンサSNS4が配設されている。
The guiding gutter 132 has a merging gutter 132d for collecting the balls flowing into each gutter at one place.
The end of 32d is connected to the upstream side of the guide trough 133 which is gently inclined to align the pachinko balls in a line as shown in FIG.
Is configured. Further, on the upstream side of the guide gutter 133, a foul ball receiver provided at an upper end of the firing rail to collect a so-called foul ball (return ball) in which a hit ball hit along the firing rail returns toward the rail base. A foul ball gutter 133a disposed so as to face the inlet 134 (see FIG. 11) is integrally formed, and the foul ball is merged with the ball flowing down on the guide gutter 133 via the guide gutter 132. It has become. A foul sensor SNS4 is provided in the middle of the foul ball gutter 133a.

【0040】そして、上記案内樋133の下端部に、対
向して、球一つ分の収納部135aを有し、案内樋13
3上の球を一個ずつ分離して下方へ流下せしめる球送り
135が揺動可能に取付けられている。球送り135の
後方にはストッパ136が固設され、球送り135の必
要以上の回動を阻止して球送り135が流入した球の重
みで下方へ回動したときにその上辺端面が案内樋133
上の球の流下を阻止できるようになっている。さらに、
案内樋133の途中には回動自在な球ならし137が取
り付けられているとともに、下流にはスライド式の球抜
き機構138が設けられている。
The lower end of the guide gutter 133 has a storage portion 135a for one ball facing the lower end of the guide gutter 133.
A ball feed 135 that separates the balls on the ball 3 one by one and allows the balls to flow downward is swingably attached. A stopper 136 is fixed to the rear of the ball feed 135 to prevent the ball feed 135 from rotating more than necessary, and when the ball feed 135 is turned downward by the weight of the ball that has flowed in, the upper end surface thereof is a guide gutter. 133
The upper sphere can be prevented from flowing down. further,
A rotatable ball leveler 137 is attached in the middle of the guide gutter 133, and a slide type ball punching mechanism 138 is provided downstream.

【0041】この球抜き機構138は、図10に示すよ
うに、封入球循環装置130がフレームボード109の
裏面に装着された状態では、フレームボード裏面に突設
された阻止片148によって横方向のスライドが阻止さ
れ、球抜きを行えないようになっている。しかして、封
入球循環装置130はその一側(図10では右側)に設
けられたヒンジ部139にて全体が回動できるように取
り付けられており、ヒンジ部139を中心にして後方へ
回動されると、球抜き機構138をスライドさせて球抜
きを行える。しかも、案内樋133の端部には弾性係止
片133aが固着されており、これをフレームボード1
09の係合段部149に係合させることで、封入球循環
装置130を回動できないように固定させることができ
る。
As shown in FIG. 10, when the sealed ball circulating device 130 is mounted on the back of the frame board 109, the ball removing mechanism 138 is provided with a blocking piece 148 protruding from the back of the frame board. The slide has been blocked and the ball cannot be removed. The enclosed ball circulating device 130 is mounted so as to be able to rotate as a whole by a hinge portion 139 provided on one side (the right side in FIG. 10), and is rotated rearward around the hinge portion 139. Then, the ball removal mechanism 138 is slid to perform the ball removal. Further, an elastic locking piece 133a is fixed to the end of the guide gutter 133, and this is fixed to the frame board 1
By engaging with the engagement step portion 149 of 09, the enclosing ball circulation device 130 can be fixed so as not to rotate.

【0042】球送り135により分離されたパチンコ球
は、前面パネル105の後方に配設されたフレームボー
ド109に形成された球通過孔139(図11参照)を
通って、フレームボードの前面に斜めに固着された発射
レール140の基部に一個宛流下される。そして、この
発射レール140の基部に臨むように発射杆103aが
配設される(図12参照)。これとともに、発射レール
140の基部の下方には、上記発射杆103aに連動し
て回動され、上記球送り135を上方へ押し上げる押上
げ片141aを有する連動部材141が配設されてい
る。
The pachinko balls separated by the ball feed 135 pass through a ball passage hole 139 (see FIG. 11) formed in the frame board 109 provided behind the front panel 105, and are slanted toward the front of the frame board. One falls down to the base of the launch rail 140 that is fixed to the base. The firing rod 103a is disposed so as to face the base of the firing rail 140 (see FIG. 12). At the same time, below the base of the firing rail 140, an interlocking member 141 having a push-up piece 141a that is rotated in conjunction with the firing rod 103a and pushes up the ball feed 135 upward is provided.

【0043】また、発射レール140の上面には球を誘
導するため凹状の溝が形成されているとともに、フレー
ムボード109の前面にはレール上を通過する球を検出
する反射型光電スイッチからなる発射センサSNS5が
ブラケット142によってレール上面と球一つ分以上の
間隔をおいて装着され、この発射センサSNS5の取付
けブラケット142の上端には、戻り球がこのセンサを
飛び越してしまうのを防止する戻り球阻止壁143が設
けられている。さらに、発射レール140の上端に対応
してフレームボード109には戻り球をフレームボード
後方の誘導樋132内へ導くファール球受入口134が
形成され、このファール球受入口134の下辺に沿って
球受け片144が突設されている。
Further, a concave groove is formed on the upper surface of the firing rail 140 to guide the sphere, and a reflection type photoelectric switch for detecting a sphere passing on the rail is formed on the front surface of the frame board 109. A sensor SNS5 is mounted at a distance of at least one ball from the rail upper surface by a bracket 142, and a return ball at the upper end of the mounting bracket 142 of the firing sensor SNS5 for preventing the return ball from jumping over the sensor. A blocking wall 143 is provided. Further, a foul ball receiving port 134 is formed in the frame board 109 corresponding to the upper end of the firing rail 140 to guide the return ball into the guiding gutter 132 behind the frame board, and the ball extends along the lower side of the foul ball receiving port 134. A receiving piece 144 protrudes.

【0044】なお、フレームボード109の上端には遊
技盤の載置部109aが設けられているとともに、両端
には遊技盤位置決め用突起145が立設されている。ま
た、フレームボード109の上端に沿って、遊技盤を保
持するためのフレーム106が係合可能な溝を有するフ
レーム係合部146が形成されており、図13に示すよ
うに、フレームボード109の上方よりフレーム106
を位置決め用突起145に沿って降下させ、下端をフレ
ーム係合部146の溝に係合させることにより両者を結
合することができるようになっている。上記フレーム1
06の側壁には遊技盤を着脱可能に係合する係止具10
6aが4個設けられており、フレーム106に保持され
た遊技盤をフレームボード109の載置部109aに載
置させた状態で止着具147を締め付けて固定する。な
お、フレームボード109の前面一側(図11では左
側)には遊技に関連した効果音を発生するスピーカ15
0が取り付けられている。
A game board mounting portion 109a is provided at the upper end of the frame board 109, and game board positioning projections 145 are provided upright at both ends. Further, along the upper end of the frame board 109, a frame engaging portion 146 having a groove capable of engaging with the frame 106 for holding the game board is formed, and as shown in FIG. Frame 106 from above
Are lowered along the positioning projections 145, and the lower ends are engaged with the grooves of the frame engaging portion 146, whereby the two can be connected. The above frame 1
Locking device 10 for detachably engaging the game board with the side wall
6 are provided, and the fasteners 147 are tightened and fixed in a state where the game board held by the frame 106 is placed on the placement portion 109 a of the frame board 109. Note that a speaker 15 for generating a sound effect related to the game is provided on one side of the front of the frame board 109 (the left side in FIG. 11).
0 is attached.

【0045】一方、フレームボード109の前方を覆う
前面パネル105は図12に示すように、前面枠108
内側の保持枠108cで縁取られた開口部下部に一端
(左端)を支点に開閉可能に装着され、その裏側には発
射レール140に対応して、その上方に位置される発射
レール枠151が固着され、この発射レール枠151の
途中には、前記発射センサSNS5が枠内に臨むことが
できるようにするための切欠き151aが設けられてい
る。また、前面パネル105のヒンジと反対側の端部裏
面には、ロックレバー152が設けられている。前面枠
108内の上記前面パネル105上方には、ガラス枠1
54が同じく開閉可能に取り付けられている。一方、前
面枠108の裏面のヒンジ部102と反対側の一側に
は、図14に示すように、前面を機枠101に係止させ
るための係止具156とその施錠装置157とが装着さ
れている。また、155はガラス枠154の開放レバー
である。
On the other hand, the front panel 105 covering the front of the frame board 109 is, as shown in FIG.
One end (left end) is attached to the lower part of the opening bordered by the inner holding frame 108c so as to be openable and closable with a fulcrum as a fulcrum, and a firing rail frame 151 positioned above the firing rail 140 corresponding to the firing rail 140 is fixed to the back side. A cutout 151a is provided in the middle of the firing rail frame 151 so that the firing sensor SNS5 can face the frame. A lock lever 152 is provided on the back surface of the front panel 105 opposite to the hinge. Above the front panel 105 in the front frame 108, the glass frame 1
54 is also mounted to be openable and closable. On the other hand, on one side opposite to the hinge portion 102 on the back surface of the front frame 108, a locking tool 156 for locking the front surface to the machine frame 101 and a locking device 157 thereof are mounted as shown in FIG. Have been. Reference numeral 155 denotes an opening lever of the glass frame 154.

【0046】この前面枠108の裏面に、遊技盤を保持
したフレーム106(図13参照)とフレームボード1
09を、前面枠裏面の嵌合受部108bにフレーム裏面
の嵌合突起106b、フレームボード裏面の嵌合突起1
09bを一致させるようにして接合させ、ネジ止めする
ことにより前面枠108と遊技盤を保持したフレーム1
06とフレームボード109とが一体化される。
The frame 106 (see FIG. 13) holding the game board and the frame board 1
09 to the fitting receiving portion 108b on the back of the front frame, the fitting projection 106b on the back of the frame, and the fitting projection 1 on the back of the frame board.
The frame 1 holding the front frame 108 and the game board by screwing together so as to make the 09b coincide with each other.
06 and the frame board 109 are integrated.

【0047】図15は、このようにして前面枠108の
裏面にフレーム106とフレームボード109を取り付
けた状態を示しており、フレーム106に保持された遊
技盤の裏面には更に入賞球集合樋131が装着され、ま
たフレームボード109の下方にはパチンコ機制御装置
195が配設されている。さらに、フレーム106およ
び入賞球集合樋131の裏面には遊技の制御装置158
や中継基板159が装着されている。
FIG. 15 shows a state in which the frame 106 and the frame board 109 are attached to the back surface of the front frame 108 in this manner, and the winning ball collecting gutter 131 is further provided on the back surface of the game board held by the frame 106. The pachinko machine control device 195 is disposed below the frame board 109. Further, on the back of the frame 106 and the winning ball collecting gutter 131, a game control device 158 is provided.
And a relay board 159 are mounted.

【0048】図16〜図18に、パチンコ機100と別
個に構成された制御ユニット160の実施例が示されて
いる。
FIGS. 16 to 18 show an embodiment of the control unit 160 which is constructed separately from the pachinko machine 100. FIG.

【0049】この実施例の制御ユニット160は、収納
枠161の前面にパチンコ機の状態を示す状態表示器1
62と、複数個のランプが一列に整列されてなるアナロ
グ表示器163、入賞球発生表示用のセーフ球ランプ1
64、係員呼出し用の呼出しボタン165等を有してい
る。上記アナログ表示器163は、遊技中の持玉数をア
ナログ的に表示したり、打止め状態やフリー状態を同時
点滅と移動点滅で表示するのに用いられる。
The control unit 160 of this embodiment includes a status indicator 1 on the front of the storage frame 161 to indicate the status of the pachinko machine.
62, an analog display 163 in which a plurality of lamps are arranged in a line, a safe ball lamp 1 for displaying a winning ball generation
64, a call button 165 for calling a clerk. The analog display 163 is used to display the number of balls held in a game in an analog manner, or to display a hit state or a free state by simultaneous blinking and moving blinking.

【0050】また、収納枠161内にはスピーカ166
と読取装置としてのカードリーダ800が内蔵され、収
納枠前面にはカードリーダ800のカード挿排口802
aが露出されており、この挿排口802aの上方にはカ
ードリーダ内にカードがあるか否か示すカード保持表示
ランプ167(LED1)が、カード挿排口802aの
下方には制御ユニット160にカードを挿入可能な状態
にあるか否か表示するカード挿入表示ランプ168が配
置されている。
The speaker 166 is provided in the storage frame 161.
And a card reader 800 as a reading device, and a card insertion / ejection opening 802 of the card reader 800 is provided on the front of the storage frame.
a is exposed, a card holding display lamp 167 (LED1) indicating whether or not there is a card in the card reader is provided above the insertion / ejection opening 802a, and the control unit 160 is provided below the card insertion / ejection opening 802a. A card insertion display lamp 168 for displaying whether or not a card can be inserted is arranged.

【0051】さらに、制御ユニット160の収納枠16
1の前面パネル161aの内側には、パチンコ機100
を管理装置400と切り離した特異状態で、後述のテス
トカードを用いて遊技動作を可能にさせるためのテスト
スイッチ179が配設され、収納枠の前面にはそのスイ
ッチをピンを用いて外部からオンさせることができるよ
うにするためのピン挿入孔169と、当該パチンコ機に
与えられる台番号を明示する銘板170がそれぞれ設け
られている。
Further, the storage frame 16 of the control unit 160
In the inside of the front panel 161a, the pachinko machine 100 is mounted.
A test switch 179 for enabling a game operation using a test card, which will be described later, is provided in a unique state separated from the management device 400, and the switch is turned on from the outside using a pin on the front of the storage frame. A pin insertion hole 169 for allowing the pachinko machine to be operated, and a name plate 170 for specifying a machine number given to the pachinko machine are provided.

【0052】そして、制御ユニット160の前面パネル
161aの内側には、図17に示すように台番号の銘板
170に表示された台番号の設定スイッチ171と、上
記状態表示器162やアナログ表示器163、セーフラ
ンプ164の内蔵ランプ群L11〜L15,L21〜L
28,L31,L32(図18参照)を有するランプ基
板172と、上記スピーカ166およびカード挿入ラン
プ168の保持基板173が装着されている。また、呼
出しボタン165の後方には呼出しスイッチ165aが
配設されている。
Then, inside the front panel 161a of the control unit 160, as shown in FIG. 17, a setting switch 171 of the machine number displayed on the machine name plate 170, the status display 162 and the analog display 163. Lamp groups L11 to L15, L21 to L of the safe lamp 164
A lamp substrate 172 having the reference numerals 28, L31, and L32 (see FIG. 18), and a holding substrate 173 for the speaker 166 and the card insertion lamp 168 are mounted. A call switch 165a is provided behind the call button 165.

【0053】さらに、収納枠161内には、カードリー
ダ800と、制御ユニット160全体の制御を司るユニ
ットコントローラ190や伝送手段、モニタ表示器17
4,175,176を有するユニット制御装置180と
カードリーダ制御装置188および電源装置177が内
蔵されている。また、カードリーダ800の下方には、
カードリーダ内の穿孔装置(後述)によって穿孔を行っ
た際に生じる穿孔片の収納箱178が着脱可能に配置さ
れている。なお、カードリーダ制御装置188を構成す
る基板上には、上記カードリーダに対してカードの強制
排出を指令するカード排出スイッチが設けられている
(図示省略)。
Further, in the storage frame 161, a card reader 800, a unit controller 190 for controlling the entire control unit 160, transmission means, and a monitor display 17 are provided.
A unit controller 180 having 4,175,176, a card reader controller 188, and a power supply 177 are built therein. In addition, below the card reader 800,
A storage box 178 for perforated pieces generated when perforation is performed by a perforation device (described later) in the card reader is detachably disposed. Note that a card ejection switch for instructing the card reader to forcibly eject the card is provided on a substrate constituting the card reader control device 188 (not shown).

【0054】上記制御ユニット160は、前面パネル1
61aの自由端側に係止具179aとその解除レバー1
79bが設けられており、解除レバー179bは前面パ
ネル161aの下端に形成された開口部161bに臨む
ようにされている。そして、制御ユニット160は、図
19に示すようにパチンコ機100の機枠101および
これと同一高さのユニット設置台24上に載置されるよ
うにされており、しかもこのとき前面パネル161aが
パチンコ機の前面枠108と同一平面をなすように配置
される。従って、解除レバー179bが臨む前面パネル
161の開口部161bは、通常前面枠108の上面で
閉塞され、前面枠108を開くことによって開口部16
1bが露出され、解除レバー179bを操作することが
できるようになる。これによって、制御ユニット160
には施錠装置を設ける必要がなくなる。
The control unit 160 includes the front panel 1
Locking tool 179a and its release lever 1 on the free end side of 61a
79b is provided, and the release lever 179b faces the opening 161b formed at the lower end of the front panel 161a. As shown in FIG. 19, the control unit 160 is mounted on the machine frame 101 of the pachinko machine 100 and the unit mount 24 at the same height as the machine frame 101, and at this time, the front panel 161a is It is arranged so as to be flush with the front frame 108 of the pachinko machine. Therefore, the opening 161b of the front panel 161 facing the release lever 179b is normally closed on the upper surface of the front frame 108, and the opening 16
1b is exposed, and the release lever 179b can be operated. Thereby, the control unit 160
Need not be provided with a locking device.

【0055】なお、制御ユニット160内のユニット制
御装置180は、光ファイバもしくは同軸ケーブルのよ
うな伝送路によって、パチンコ機100の制御装置19
5に、また後述の伝送コントローラおよびローカルネッ
トワーク(伝送ケーブル)を介して管理装置400に接
続される。
The unit control device 180 in the control unit 160 is connected to the control device 19 of the pachinko machine 100 via a transmission line such as an optical fiber or a coaxial cable.
5 and a management controller 400 via a transmission controller and a local network (transmission cable) described later.

【0056】実施例の制御ユニット160はいずれの伝
送路を用いてもデータ伝送が行えるようにするため、収
納枠161の裏面に光ファイバ用コネクタ186と同軸
ケーブル用コネクタ187が設けられている(図22参
照)。
The control unit 160 of the embodiment is provided with an optical fiber connector 186 and a coaxial cable connector 187 on the back surface of the storage frame 161 so that data transmission can be performed using any transmission path. See FIG. 22).

【0057】図20〜図22には、上記パチンコ機10
0と制御ユニット160とからなる遊技機を載置する島
設備の一例とそれに遊技機を装備させた状態が示されて
いる。
FIGS. 20 to 22 show the pachinko machine 10.
1 shows an example of an island facility on which a gaming machine including a control unit 160 and a gaming machine is placed, and a state in which the gaming machine is mounted thereon.

【0058】この実施例の島設備は、基台21上に遊技
機の幅に等しい間隔をおいて複数本の支柱22が立設さ
れ、床から60cm程度の高さの位置には水平な載置台2
3が支柱22にて固定されている。また、この載置台2
3の上方には、前記機枠101の高さ分だけ離れた位置
に第1の設置棚24が、さらにその上方には第2の設置
棚25がそれぞれ支柱22にて固定されているととも
に、第2設置棚25の上方には支柱22の上端を覆うよ
うに天板26が固定されている。なお、上記載置台23
の前端は支柱22よりも少し手前に突出するようにさ
れ、第1設置台24はその前端が支柱22よりも機枠1
01の厚み分だけ後方に位置するようにされている。
In the island facility of this embodiment, a plurality of columns 22 are erected on a base 21 at an interval equal to the width of the gaming machine, and a horizontal mounting is provided at a height of about 60 cm from the floor. Table 2
3 is fixed by a support 22. In addition, this mounting table 2
Above 3, a first installation shelf 24 is fixed at a position separated by the height of the machine frame 101, and a second installation shelf 25 is further secured above the first installation shelf 25 by columns 22. A top plate 26 is fixed above the second installation shelf 25 so as to cover the upper end of the column 22. The table 23 described above
The first installation stand 24 has a front end projecting slightly closer to the support 22 than the support 22.
It is located rearward by the thickness of 01.

【0059】そして、上記支柱22間の載置台23上に
それぞれパチンコ機100が機枠101とともに載置さ
れ、第1設置台24からこれと同一平面をなす機枠10
1上にかけて制御ユニット160が載置される。また、
第2設置台25上にはローカルネットワークを構成する
伝送路(図示省略)が延設され、かつ各支柱22間には
上記伝送路を介して管理装置400との間でデータ伝送
を行うためのトランシーバ185が載置される。なお、
トランシーバ185の前方は上板27で閉塞され、載置
台23の下方は下板28で閉塞される。
Then, the pachinko machines 100 are mounted together with the machine frames 101 on the mounting tables 23 between the columns 22, respectively.
1, the control unit 160 is mounted. Also,
A transmission path (not shown) constituting a local network is extended on the second installation table 25, and between the columns 22 is used for data transmission with the management device 400 via the transmission path. A transceiver 185 is mounted. In addition,
The front of the transceiver 185 is closed by the upper plate 27, and the lower part of the mounting table 23 is closed by the lower plate 28.

【0060】さらに、図示しないが、載置台23の下面
には24Vの電源ラインが延設され、天板26の下面に
は100Vの電源ラインが延設されている。そして、載
置台23上面の各遊技機に対応した位置には24V電源
用のコンセント30が、また天板26の下面の桟29に
は100V電源用のコンセント31が各遊技機に対応し
て3個ずつ設けられている(図22参照)。
Further, although not shown, a 24 V power supply line extends on the lower surface of the mounting table 23, and a 100 V power supply line extends on the lower surface of the top plate 26. An outlet 30 for 24V power supply is provided at a position on the upper surface of the mounting table 23 corresponding to each gaming machine, and an outlet 31 for 100V power supply is provided on the bar 29 on the lower surface of the top plate 26 in correspondence with each gaming machine. Each is provided (see FIG. 22).

【0061】図23に、パチンコ機100と制御ユニッ
ト160とからなる遊技機全体の制御システムの構成例
が示されている。
FIG. 23 shows an example of the configuration of a control system for the entire gaming machine including the pachinko machine 100 and the control unit 160.

【0062】同図において188は、図28に示されて
いるカードリーダ800の各構成部品たる搬送モータ8
07、磁気ヘッド821、穿孔装置820等を制御する
カードリーダ制御装置である。そして、このカードリー
ダ制御装置188およびパチンコ機制御装置195と制
御ユニット160に設けられた各種スイッチ171,1
79や表示器162,163,164,168、スピー
カ166は、ユニット制御装置180によって制御され
るようになっている。
Referring to FIG. 28, reference numeral 188 denotes a transport motor 8 which is a component of the card reader 800 shown in FIG.
07, a magnetic head 821, a punching device 820, and the like. The card reader controller 188, the pachinko machine controller 195, and various switches 171 and 1 provided in the control unit 160.
The unit 79, the displays 162, 163, 164, 168, and the speaker 166 are controlled by the unit control device 180.

【0063】また、特に制限されないが、この実施例で
は光ケーブル191を介して、パチンコ機100の制御
装置195が上記ユニット制御装置180に接続され、
各種センサからの検出信号が入力されるとともに、表示
器等に対する駆動制御信号が出力される。光ファイバケ
ーブルによる通信を可能にするため、パラレルデータと
シリアルデータの変換を行なう並−直列変換器や電気信
号と光信号との変換を行なう光−電変換器等からなる光
多重データリンク(インタフェース)が、ユニット制御
装置180と光ファイバケーブル191との間および光
ファイバケーブル191とパチンコ機制御装置195と
の接続部にそれぞれ設けられている(後述)。
Although not particularly limited, in this embodiment, the control device 195 of the pachinko machine 100 is connected to the unit control device 180 via an optical cable 191.
A detection signal from various sensors is input, and a drive control signal for a display or the like is output. To enable communication using an optical fiber cable, an optical multiplexed data link (interface) including a parallel-to-serial converter for converting parallel data and serial data, an optical-to-electric converter for converting electric signals to optical signals, and the like. ) Are provided between the unit controller 180 and the optical fiber cable 191 and at the connection between the optical fiber cable 191 and the pachinko machine controller 195 (described later).

【0064】光ファイバケーブル191をユニット制御
装置180とパチンコ機制御装置195との間のデータ
通信に使用することにより、従来パチンコ機の裏側にて
複雑に配設されていた多数の配線をすっきりさせ、保
守、管理を容易にするとともに、ノイズによる誤動作を
防止することができる。
By using the optical fiber cable 191 for data communication between the unit control device 180 and the pachinko machine control device 195, a large number of wirings conventionally arranged in a complicated manner behind the pachinko machine can be reduced. In addition to facilitating maintenance and management, malfunctions due to noise can be prevented.

【0065】上記パチンコ機制御装置195の制御下
に、金額表示器111や玉数表示器112、購入ランプ
121、遊技状態表示ランプ123や打球発射装置10
3の制御装置194および役物制御装置158が置かれ
ているとともに、購入スイッチ113、中断スイッチ1
14、終了スイッチ115やアウトセンサ等の球検出セ
ンサSNS1〜SNS5からの信号がパチンコ機制御装
置195によって波形整形されてユニット制御装置18
0に供給されるようになっている。そして、この実施例
では、電源系をAC24VとAC100Vの2系統にし
パチンコ機100側にはAC24Vを供給し、制御ユニ
ット160側にはAC100Vを供給している。このよ
うに供給電源を別にすることにより、電源系のトラブル
が多いパチンコ店において電源の影響でパチンコ機制御
ユニットが不用意に破壊するのを防止している。
Under the control of the pachinko machine control device 195, the money amount display 111, the number of balls display 112, the purchase lamp 121, the game state display lamp 123, the hit ball launching device 10
3 control device 194 and accessory control device 158, the purchase switch 113, the interruption switch 1
14. The signals from the ball detection sensors SNS1 to SNS5 such as the end switch 115 and the out sensor are subjected to waveform shaping by the pachinko machine control device 195 and the unit control device 18
0 is supplied. In this embodiment, the power supply system has two systems, 24 V AC and 100 V AC, and 24 V AC is supplied to the pachinko machine 100 side, and 100 V AC is supplied to the control unit 160 side. Separating the power supply in this way prevents the pachinko machine control unit from being inadvertently destroyed by the influence of the power supply in a pachinko parlor having many problems in the power supply system.

【0066】図24には、上記パチンコ機制御装置19
5の構成例が示されている。
FIG. 24 shows the pachinko machine control device 19.
5 is shown.

【0067】パチンコ機制御装置195は、マイクロコ
ンピュータからなるパチンコ機コントローラCPU1
と、このコントローラCPU1から出力される定期的な
ウォッチドッグパルスを監視してパルスが途切れたとき
にリセット信号を発生するリセット回路RST1と、ユ
ニット制御装置180との間の光データ伝送を可能にす
るためパレラレル送信データをシリアルデータに変換す
る並直変換手段およびシリアル受信データをパラレルデ
ータに変換する直並変換手段を備えた多重伝送コントロ
ーラCNT1と、光コネクタ193を介して光ケーブル
191と接続される光電変換回路OETと、各種センサ
からの検出信号のノイズをカットするフィルタ回路FL
T、金額表示器111や玉数表示器112への表示デー
タをデコードするデコーダDEC1,DEC2やその出
力に基づいて表示器の駆動信号を形成するドライバDR
V1,DRV2と、購入ランプ121や遊技状態表示ラ
ンプ123、打球発射装置103の駆動信号を形成する
ドライバDRV3とにより構成されている。
The pachinko machine controller 195 is provided with a pachinko machine controller CPU 1 comprising a microcomputer.
This enables optical data transmission between the unit control device 180 and a reset circuit RST1 that monitors a periodic watchdog pulse output from the controller CPU1 and generates a reset signal when the pulse is interrupted. Therefore, a multiplex transmission controller CNT1 having parallel / parallel conversion means for converting parallel transmission data into serial data and serial / parallel conversion means for converting serial reception data into parallel data, and a photoelectric converter connected to the optical cable 191 via the optical connector 193. Conversion circuit OET and filter circuit FL for cutting noise of detection signals from various sensors
T, decoders DEC1 and DEC2 for decoding display data to the money amount display 111 and the ball number display 112, and a driver DR for forming a display drive signal based on the output thereof.
V1 and DRV2, a purchase lamp 121, a game state display lamp 123, and a driver DRV3 for generating a drive signal of the hit ball launching device 103.

【0068】このパチンコ機制御装置195におけるセ
ンサからの検出信号の処理に関しては、単に検出信号か
らノイズを除去し一定のパルス幅に整形してから発射球
やセーフ球等の検出データとしてユニット制御装置18
0へ送る。つまり、パチンコ機制御装置195側ではセ
ーフ球数等の演算は行わず、そのような演算はユニット
制御装置180の側で行うようになっている。
Regarding the processing of the detection signal from the sensor in the pachinko machine control device 195, the unit control device simply removes noise from the detection signal, shapes it into a fixed pulse width, and outputs it as detection data of a launch sphere or a safe sphere. 18
Send to 0. That is, the pachinko machine control device 195 does not calculate the number of safe balls or the like, and such calculation is performed on the unit control device 180 side.

【0069】また、パチンコ機では静電気等によりノイ
ズが発生し易いが、ウォッチドッグパルスを監視するリ
セット回路RST1があるためノイズ等によりパチンコ
機コントローラCPU1が暴走したとしても、暴走によ
り定期的なウォッチドッグパルスがなくなるとリセット
信号を発生してCPUを初期化させるので、暴走を防止
することができる。
In the pachinko machine, noise is easily generated due to static electricity or the like. However, even if the pachinko machine controller CPU1 goes out of control due to noise or the like, since the reset circuit RST1 monitors the watchdog pulse, the watchdog periodically runs out due to runaway. When the pulse disappears, a reset signal is generated to initialize the CPU, so that runaway can be prevented.

【0070】ウォッチドッグパルスは、CPU内部のタ
イマカウンタからの割込み等によって容易に発生させる
ことができる。
The watchdog pulse can be easily generated by an interrupt from a timer counter in the CPU.

【0071】図25には、ユニット制御装置180の構
成例が示されている。
FIG. 25 shows a configuration example of the unit control device 180.

【0072】ユニット制御装置180は、カードによる
パチンコ遊技を可能にさせるためカードリーダ制御装置
188およびパチンコ機制御装置195を統括的に制御
するユニットコントローラ190と、管理装置400と
のデータ伝送に係る制御をするデータ伝送コントローラ
551と、データ伝送コントローラの制御下でネットワ
ークにおける送受信権の確立およびデータの直並列変換
を行うネットワークコントローラ553等から構成され
ている。そして各コントローラ190と551間および
551と553間のデータの受け渡しは、デュアルポー
トメモリ(RAM)550および552を介して実行で
きるように構成されている。このうち、メモリ552
は、送信データ記憶領域と受信データ記憶領域とに分か
れており、全ての送受信データ長を同一長にする(パケ
ット化)のための調整機能と、データ伝送の高速化
(2.5Mbps)を計るための緩衝機能とをもってい
る。
The unit controller 180 controls the card reader controller 188 and the pachinko machine controller 195 in order to enable a pachinko game to be played with a card. And a network controller 553 for establishing a transmission / reception right in a network and performing serial / parallel conversion of data under the control of the data transmission controller. The transfer of data between the controllers 190 and 551 and between the controllers 551 and 553 can be executed via dual port memories (RAMs) 550 and 552. Of these, the memory 552
Is divided into a transmission data storage area and a reception data storage area, and measures an adjustment function for making all transmission / reception data lengths the same (packetization) and speeds up data transmission (2.5 Mbps). It has a buffer function for it.

【0073】このパケットメモリ552は、各々が25
6バイトの容量を持つ4つのページで構成され、このう
ちページ0は送信要求パケットの送信に、またページ1
は定時データ送信パケットの送信に使用される。一方、
ページ2,3は、データパケット受信用で交互に使用さ
れる。どのページを使うかは、データ伝送コントローラ
551が、ネットワークコントローラ553に指示す
る。データ伝送コントローラ551が受信パケットデー
タの処理中、次のパケットデータが送られてきたとして
も、他のページに受信されるため、確実に全てのパケッ
トを受信できる。各コントローラ551,553を同時
に初期化できるようにするため共通のリセット回路55
5が設けられている。
Each of the packet memories 552 has a capacity of 25
It is composed of four pages with a capacity of 6 bytes, of which page 0 is used for transmitting transmission request packets and page 1 is used for transmission.
Is used to transmit a scheduled data transmission packet. on the other hand,
Pages 2 and 3 are used alternately for data packet reception. The data transmission controller 551 instructs the network controller 553 on which page to use. Even if the next packet data is sent while the data transmission controller 551 is processing the received packet data, it is received by another page, so that all packets can be received reliably. A common reset circuit 55 is used to initialize the controllers 551 and 553 simultaneously.
5 are provided.

【0074】ネットワークコントローラ553の管理装
置400との接続側には、受信データを波形整形すると
ともに送信データのドライブ能力を上げるために信号の
レベル変換を行う信号変換回路554および切換スイッ
チ542を介して、光コネクタ186に接続可能にされ
ているとともに、低層ネットワークの伝送ラインが同軸
ケーブルで構成された場合にも対応できるように切換ス
イッチ542を介して、送信信号と受信信号の分離およ
び結合を図る分岐回路540に接続可能にされている。
上記光コネクタ186には図22の光トランシーバ18
5が接続される。
At the connection side of the network controller 553 with the management device 400, a signal conversion circuit 554 and a changeover switch 542 for performing waveform shaping of the received data and level conversion of the signal in order to increase the drive capability of the transmitted data. The transmission and reception signals are separated and coupled via the changeover switch 542 so as to be connectable to the optical connector 186 and to cope with the case where the transmission line of the low-layer network is constituted by a coaxial cable. The connection can be made to the branch circuit 540.
The optical transceiver 186 shown in FIG.
5 is connected.

【0075】さらに、データ伝送コントローラ551と
ネットワークコントローラ553との間には、データ伝
送コントローラ551からの要求に応じてネットワーク
コントローラ553がデータの受信結果を記憶するため
のラッチ回路561と、データ伝送コントローラ551
が、ネットワークコントローラ553に対するデータ送
信指令等のコマンドを記憶させるラッチ回路562およ
び低層ネットワーク用アドレスを記憶させるラッチ回路
563と、ユニット制御装置180内の通信制御状態の
異常を表示するための3個のLEDランプからなるモニ
タ表示器556への表示データを記憶するラッチ回路5
64が設けられている。557は上記各ラッチ回路56
1〜564に与えられたアドレスをデコードして選択信
号を発生するデコーダである。
Further, between the data transmission controller 551 and the network controller 553, a latch circuit 561 for storing the data reception result by the network controller 553 in response to a request from the data transmission controller 551, and a data transmission controller 551
Is a latch circuit 562 for storing a command such as a data transmission command to the network controller 553 and a latch circuit 563 for storing a low-layer network address, and three for displaying an abnormal communication control state in the unit controller 180. Latch circuit 5 for storing display data to monitor display 556 comprising an LED lamp
64 are provided. 557 is the latch circuit 56
This is a decoder that decodes addresses given to 1 to 564 and generates a selection signal.

【0076】一方、ユニットコントローラ190とカー
ドリーダ制御装置188との間には送受信データのレベ
ル変換を行うトランシーバ571が、またパチンコ機制
御装置195との間には送受信データの並−直変換を行
う多重伝送コントローラ572および光電変換装置57
3が接続されている。
On the other hand, a transceiver 571 for performing level conversion of transmission / reception data is provided between the unit controller 190 and the card reader control device 188, and a parallel / direct conversion of transmission / reception data is performed between the unit controller 190 and the pachinko machine control device 195. Multiplex transmission controller 572 and photoelectric conversion device 57
3 are connected.

【0077】さらに、ユニットコントローラ190に
は、データバス581を介して、金額、玉数表示器の表
示データ(セグメントデータおよびコモンデータ)をラ
ッチするラッチ回路574、購入ランプや遊技状態表示
ランプ、打球発射に対する制御信号をラッチするラッチ
回路575、パチンコ機100および制御ユニット16
0に設けられた各種スイッチからの入力信号を所定のタ
イミングでデータバス581上にのせたり各種ランプを
表示させる出力信号をラッチしたりする入出力コントロ
ーラ576と、制御ユニット160内のスピーカ166
より発生させる音声データ等をラッチするラッチ回路5
77が接続されている。
Further, a latch circuit 574 for latching display data (segment data and common data) of a monetary amount and a number of balls, a purchase lamp, a game state display lamp, a hit ball Latch circuit 575 for latching a control signal for firing, pachinko machine 100 and control unit 16
0, an input / output controller 576 for loading input signals from various switches on the data bus 581 at a predetermined timing and latching output signals for displaying various lamps, and a speaker 166 in the control unit 160.
Latch circuit 5 for latching audio data and the like to be generated
77 is connected.

【0078】582は音声合成LSI、583は高周波
成分をカットして音質を高めるローパスフィルタ、58
4は音量を調整するアンプで、このうち音声合成LSI
582は、複数の音声データを内蔵のEPROM内に記
憶しており、ユニットコントローラ190から与えられ
る選択信号(S0〜S3)に応じて音声データを選択し
て開始信号STに同期して音声信号を出力し、リセット
信号Rによって出力を停止する。
Reference numeral 582 denotes a speech synthesis LSI, 583 a low-pass filter that cuts high-frequency components to improve sound quality,
Reference numeral 4 denotes an amplifier for adjusting the volume, of which a voice synthesis LSI is used.
Reference numeral 582 stores a plurality of audio data in a built-in EPROM, selects audio data in response to a selection signal (S0 to S3) given from the unit controller 190, and outputs the audio signal in synchronization with the start signal ST. And output is stopped by the reset signal R.

【0079】なお、558はユニットコントローラ19
0の制御プログラムを格納したプログラムROM、55
9は伝送コントローラ551の制御プログラムを格納し
たプログラムROMである。585はユニットコントロ
ーラ190から出力されるアドレス信号をデコードし
て、プログラムメモリ558やユニットメモリ550、
ラッチ回路574,575,577および入出力コント
ローラ576の選択信号を形成するデコーダである。
Note that 558 is the unit controller 19
0, a program ROM storing a control program, 55
A program ROM 9 stores a control program for the transmission controller 551. 585 decodes an address signal output from the unit controller 190, and outputs a program memory 558, a unit memory 550,
This is a decoder that generates a selection signal for the latch circuits 574, 575, 577 and the input / output controller 576.

【0080】上記のごとくユニット制御装置180は、
管理装置400、カードリーダ制御装置188、パチン
コ機制御装置195の三方に情報交換の窓口を有してお
り、管理装置400の制御下のもとにカードでパチンコ
遊技をさせるための制御をするとともに、遊技結果とし
て発生するパチンコ機遊技情報を定期的に管理装置に送
信するソフトウェアを有している。さらに、この実施例
のユニット制御装置180においては、金額、玉数表示
器を駆動させるべくユニットコントローラ190から出
力される表示データのうち、桁セレクト信号(コモン信
号)は例えば2msのような間隔で周期的に出力される
点に着目して、これをリセット回路555に、ウォッチ
ドッグパルスとして入力するようにしている。リセット
回路555はパワーオンリセットの他、このウォッチド
ッグパルスを監視してパルスがなくなるとリセット信号
を発生するように構成されている。
As described above, the unit control device 180
The management device 400, the card reader control device 188, and the pachinko machine control device 195 have information exchange windows on three sides, and under the control of the management device 400, perform control for playing pachinko games with cards. And software for periodically transmitting pachinko machine game information generated as a game result to the management device. Further, in the unit control device 180 of this embodiment, the digit select signal (common signal) of the display data output from the unit controller 190 to drive the monetary value and the number of balls indicator is at an interval such as 2 ms. Paying attention to the point of periodic output, this is input to the reset circuit 555 as a watchdog pulse. The reset circuit 555 is configured to monitor the watchdog pulse in addition to the power-on reset and generate a reset signal when the pulse disappears.

【0081】従って、ユニットコントローラ190がノ
イズ等により暴走したとしても、暴走すると正常な間隔
でコモン信号が出力されなくなるため、リセット回路5
55が作動してユニットコントローラ190およびデー
タ伝送コントローラ551が初期化され、暴走が回避さ
れるようになる。
Therefore, even if the unit controller 190 runs away due to noise or the like, the common signal is not output at normal intervals when the unit controller 190 runs away.
55 is activated to initialize the unit controller 190 and the data transmission controller 551, so that runaway is avoided.

【0082】これとともに、ユニットコントローラ19
0は、内部にタイマカウンタを有しており、送信要求に
対する応答としてのACK(肯定)またはNAK(否
定)が一定時間(ex.10秒)内に返ってこなかった
り、ACK受信後一定時間(ex.2秒)内にパケット
を送信できないとき、あるいは内部メモリ(RAM)の
乱れを検出したときに、強制的に上記コモン信号をロウ
またはハイレベルに固定することにより、自らリセット
をかけることができるようになっている。なお、上記内
部メモリの乱れは、例えば初期化の際にメモリ内の所定
の番地に特定のコード(A55A等)を書き込んでおい
て、それを1m秒ごとに割込み処理でチェックすること
で容易に検出することができる。
At the same time, the unit controller 19
0 has an internal timer counter, and does not return ACK (positive) or NAK (negative) as a response to the transmission request within a fixed time (ex. 10 seconds), or a fixed time (ACK) after receiving the ACK. ex. 2 seconds), or when a disturbance in the internal memory (RAM) is detected, the common signal is forcibly fixed to a low or high level to reset itself. I can do it. In addition, the disorder of the internal memory can be easily determined by writing a specific code (A55A or the like) at a predetermined address in the memory at the time of initialization, and checking it by an interrupt process every 1 ms. Can be detected.

【0083】さらに、実施例のユニット制御装置180
は、データ伝送コントローラ553が一定時間(5.12
秒)内にデータを送信できないときもユニットコントロ
ーラ190を初期化させ、異常なデータが管理装置40
0に送信されたりしないように対処している。すなわ
ち、実施例では、ユニットメモリ550内にウォッチド
ッグカウンタ領域を設け、データ伝送コントローラ55
1が、管理装置に対してデータを送信する度に所定のコ
ードFFをセットし、ユニットコントローラ190が2
0msごとにこのカウンタを「1」ずつカウントダウン
させる。従って、仮りにデータ伝送コントローラが5.
12秒以上送信できない状態が続いたとすると、ユニッ
トメモリ550のウォッチドッグカウンタは「0」にな
るので、このカウンタを監視して、「0」になったなら
ばデータ伝送コントローラ551がダウンしたと判定し
て、自らリセットをかけるようにすることができる。
Further, the unit control device 180 of the embodiment
Means that the data transmission controller 553 has been
Even if data cannot be transmitted within (sec), the unit controller 190 is initialized, and abnormal data is
It is handled so that it is not transmitted to 0. That is, in the embodiment, a watchdog counter area is provided in the unit memory 550, and the data transmission controller 55
1 sets a predetermined code FF each time data is transmitted to the management device, and the unit controller 190
This counter is counted down by “1” every 0 ms. Therefore, if the data transmission controller is 5.
If the transmission cannot be performed for more than 12 seconds, the watchdog counter of the unit memory 550 becomes “0”. Therefore, this counter is monitored, and if it becomes “0”, it is determined that the data transmission controller 551 has gone down. Then, it can be reset by itself.

【0084】さらに、実施例のユニット制御装置180
は、データ伝送コントローラ553が一定時間(5.12
秒)内にデータを送信できないときもユニットコントロ
ーラ190を初期化させ、異常なデータが管理装置40
0に送信されたりしないように対処している。すなわ
ち、実施例では、ユニットメモリ550内にウォッチド
ッグカウンタ領域を設け、データ伝送コントローラ55
1が、管理装置に対してデータを送信する度に所定のコ
ードFFをセットし、ユニットコントローラ190が2
0msごとにこのカウンタを「1」ずつカウントダウン
させる。従って、仮りにデータ伝送コントローラが5.12
秒以上送信できない状態が続いたとすると、ユニットメ
モリ550のウォッチドッグカウンタは「0」になるの
で、このカウンタを監視して、「0」になったならばデ
ータ伝送コントローラ551がダウンしたと判定して、
自らリセットをかけるようにすることができる。
Further, the unit control device 180 of the embodiment
Means that the data transmission controller 553 has been
Even if data cannot be transmitted within (sec), the unit controller 190 is initialized, and abnormal data is
It is handled so that it is not transmitted to 0. That is, in the embodiment, a watchdog counter area is provided in the unit memory 550, and the data transmission controller 55
1 sets a predetermined code FF each time data is transmitted to the management device, and the unit controller 190
This counter is counted down by “1” every 0 ms. Therefore, if the data transmission controller is 5.12
If transmission cannot be continued for more than one second, the watchdog counter of the unit memory 550 becomes "0". Therefore, this counter is monitored, and when it becomes "0", it is determined that the data transmission controller 551 has gone down. hand,
You can reset yourself.

【0085】しかも、この実施例では、ユニットメモリ
550として、ある所定の番地(7FE)にデータを書
くと所定の端子INTが立ち上がるような特殊なRAM
が使用されており、この機能を利用して、システムの立
上り時にデータ伝送コントローラ551が上記所定番地
にデータを書き込んで端子INTを立ち上げ、その端子
の信号をユニットコントローラ190に入れて、ユニッ
トメモリの使用に対するコントローラ間の同期をとるよ
うにしている。なお、上記特定の端子INTはユニット
コントローラ190が上記所定の番地のデータをリード
すると立ち下がるようになっている。
Further, in this embodiment, a special RAM is used as the unit memory 550 such that when data is written at a predetermined address (7FE), a predetermined terminal INT rises.
Utilizing this function, the data transmission controller 551 writes data at the predetermined address to start the terminal INT at the time of system startup, and inputs the signal of the terminal to the unit controller 190 to store the unit memory. Is used to synchronize between controllers. Note that the specific terminal INT falls when the unit controller 190 reads data at the predetermined address.

【0086】一方、システム立ち上げ時における管理装
置400との同期は、データ伝送コントローラ551に
よってなされ、データ伝送コントローラが管理装置40
0から発信される回線テスト指令(後述)を受信し、そ
の受信応答を管理装置400に送信することによってな
される。
On the other hand, synchronization with the management apparatus 400 at the time of system startup is performed by the data transmission controller 551, and the data transmission controller is controlled by the management apparatus 40.
This is performed by receiving a line test command (described later) transmitted from 0 and transmitting a reception response to the management device 400.

【0087】ところで、前述したようにパチンコ機制御
装置195側では、セーフ球数等の演算は行わず、その
ような演算はユニット制御装置180の側で行うように
なっており、ユニットコントローラ190には、セーフ
信号等遊技球に関する検出信号や購入スイッチ113か
らの信号が入力されている。ユニットコントローラ19
0は、これらの信号に基づいて、出玉数、アウト玉数、
持玉数、売上金額等の稼働データを演算したり、パチン
コ機に関する稼働情報(遊技状態)やモニタ情報等を生
成し、それらをデュアルポートメモリからなるユニット
メモリ550の送信データエリアSDA(図26参照)
に書き込む。
As described above, the pachinko machine control device 195 does not calculate the number of safe balls or the like, but performs such calculation on the unit control device 180 side. , A detection signal related to a game ball such as a safe signal and a signal from the purchase switch 113 are input. Unit controller 19
0 is based on these signals, the number of payout balls, the number of outgoing balls,
Operation data such as the number of balls held and the sales amount are calculated, operation information (game state) and monitor information relating to the pachinko machine are generated, and these are transmitted to the transmission data area SDA of the unit memory 550 comprising a dual port memory (FIG. 26). reference)
Write to.

【0088】ユニットメモリ550に書き込まれた稼働
データ等は、伝送コントローラ551による管理装置4
00との間のデータ交信によって管理装置に送られる。
また、管理装置400から送られてくるデータも一旦ユ
ニットメモリ550内の受信データエリアRDAに書き
込まれ、ユニットコントローラ190がこれを読み取る
ことによってデータの受信が行われる。ユニットメモリ
550には、その他の送信データや受信データがメモリ
内にあることを相手方のコントローラに伝えるためのコ
マンドやステータス情報の入る交信用エリアCCAや各
コントローラ用のワーキングエリアUWAとDWAおよ
びコントローラ間同期用エリアCSAが設けられてい
る。
The operation data and the like written in the unit memory 550 are transmitted to the management device 4 by the transmission controller 551.
The data is transmitted to the management device by data communication between 00 and 00.
The data sent from the management device 400 is also temporarily written into the reception data area RDA in the unit memory 550, and the unit controller 190 reads the data to receive the data. The unit memory 550 includes a communication area CCA for storing commands and status information for notifying the other controller that other transmission data and reception data are in the memory, a working area UWA and DWA for each controller, and a communication area between controllers. A synchronization area CSA is provided.

【0089】図26にユニットメモリの全体の構成が、
そして、〔表1〕、〔表2〕および〔表3〕に、送信デ
ータエリアSDA、受信データエリアRDAおよび交信
用エリアCCAの構成例を示す。
FIG. 26 shows the overall configuration of the unit memory.
[Table 1], [Table 2] and [Table 3] show configuration examples of the transmission data area SDA, the reception data area RDA, and the communication area CCA.

【0090】[0090]

【表1】 [Table 1]

【0091】[0091]

【表2】 [Table 2]

【0092】[0092]

【表3】 [Table 3]

【0093】[0093]

【表4】 [Table 4]

【0094】[0094]

【表5】 [Table 5]

【0095】なお、〔表1〕において示されているモニ
タ情報1は、〔表4〕に示すようにシステム立上り時の
テスト実行中を示すビット、初期値設定/未設定を示す
ビット、ホットコードエラーを示すビット、ローカルネ
ットワークの異常を示すビット(低層用と高層用の2ビ
ット)、遊技機異常を示すビット等により構成されてい
る。また、モニタ情報2は、〔表5〕に示すようにカー
ドリーダの異常を示すビットを有している。
The monitor information 1 shown in [Table 1] includes a bit indicating that a test is being executed at system startup, a bit indicating initial value setting / not set, and a hot code as shown in [Table 4]. It is composed of a bit indicating an error, a bit indicating a local network abnormality (two bits for a low layer and a high layer), a bit indicating a gaming machine abnormality, and the like. The monitor information 2 has a bit indicating an abnormality of the card reader as shown in [Table 5].

【0096】さらに、稼動情報は、〔表6〕のごとく打
止め状態を示すビット、遊技の中断中であることを示す
ビット、通信異常あるいは不正検出等に基づく管理装置
もしくはコントローラによる強制終了状態を示すビッ
ト、遊技中であることを示すビット、遊技機が遊技客の
ついていないフリー状態にあることを示すビット等によ
り構成されている。
Further, the operation information includes a bit indicating a stop state as shown in [Table 6], a bit indicating that a game is being interrupted, and a forced termination state by a management device or a controller based on a communication error or illegal detection. A bit indicating that the game is being played, a bit indicating that the gaming machine is in a free state without a player, and the like.

【0097】[0097]

【表6】 [Table 6]

【0098】〔表6〕より、実際のパチンコ機の状態
は、 フリー状態が、 0000000000000001 遊技中が、 0000000000000010 強制終了受信時が、 0000000000000100 中断時が、 0000000000001000 打止発生時が、 0000000000010000 で表わされることがわかる。
From [Table 6], the actual state of the pachinko machine is represented by the free state, 0000000000000001 during the game, 0000000000000010 at the time of the forced termination reception, 0000000000000100 at the time of interruption, and 0000000000001000 at the time of the occurrence of the stop, 0000000000010000. I understand.

【0099】図27〜図32には制御ユニット160内
に設けられたパチンコ機用カードリーダ800の具体的
な構成例を示す。
FIGS. 27 to 32 show a specific configuration example of the card reader 800 for a pachinko machine provided in the control unit 160. FIG.

【0100】カードリーダ800を構成する箱形のケー
ス本体801の前端には、カード保持表示部LED1と
カード挿排口802aを有する前蓋802が装着され、
ケース本体801の側壁には前記制御ユニット160の
収納枠161内に固定するためのL字ブラケット803
が四隅に固着されている。
At the front end of a box-shaped case main body 801 constituting the card reader 800, a front lid 802 having a card holding display LED1 and a card insertion / ejection opening 802a is attached.
An L-shaped bracket 803 for fixing in the storage frame 161 of the control unit 160 is provided on a side wall of the case body 801.
Are fixed at the four corners.

【0101】ケース本体801内には図28に示すよう
にカード搬送路となるベースプレート804が配置さ
れ、このベースプレート804の上方にはカードの厚み
より少し広い間隙をおいてこれと平行に支持基板80
5,806が取付けられるようになっている。
As shown in FIG. 28, a base plate 804 serving as a card transport path is arranged in the case body 801. Above the base plate 804, a gap slightly larger than the thickness of the card is provided, and the support substrate 80 is parallel to the card.
5,806 are attached.

【0102】支持基板805には、カード挿入口側に位
置しその上にはモータ807とマイクロスイッチからな
るカード挿入検出センサ808と、シャッタソレノイド
809とマイクロスイッチからなるカード挿入検出セン
サ808と、シャッタソレノイド809およびセキュリ
ティコード読取用の反射型光センサ810a,810b
が取り付けられている。この実施例ではセンサ810
a,810bのうち一方(810a)のみ使用し、他方
のセンサ(810b)は将来においてセキュリティコー
ドが増加されても良いように予備的に設けられている。
On the support substrate 805, a card insertion detection sensor 808 including a motor 807 and a micro switch, a card insertion detection sensor 808 including a shutter solenoid 809 and a micro switch, and a shutter Solenoid 809 and reflective optical sensors 810a and 810b for reading security code
Is attached. In this embodiment, the sensor 810
a and 810b, only one (810a) is used, and the other sensor (810b) is provided as a spare so that the security code may be increased in the future.

【0103】上記モータ807とシャッタソレノイド8
09との間には第2ローラ軸811が回転自在に載置さ
れ、この第2ローラ軸811の中央には搬送ローラ81
2が設けられているとともに、第2ローラ軸811の一
端はケース本体の側壁801aから外部へ突出可能にさ
れ、突出端部にプーリ813が固着されている。また、
シャッタソレノイド809の近傍にはカード位置検出用
センサSNS1に対し検出光を照射する投光器814が
取り付けられ、第2ローラ軸811とモータ807との
間には第2の位置検出センサSNS2の検出光が透過可
能な透光部815が形成されている。さらに、上記モー
タ807の側方にはパンチ穴検出用センサSNSpに対
し検出光を照射する投光器816が取り付けられている
とともに、モータ807の回転軸807aの一端にはロ
ータリエンコーダ817が固着され、かつ回転軸807
aの他端はケース本体801の側壁801bより外部に
突出され、径の小さなプーリ818が固着されている。
The motor 807 and the shutter solenoid 8
09, a second roller shaft 811 is rotatably mounted, and the center of the second roller shaft 811 is a transport roller 81.
2 is provided, and one end of the second roller shaft 811 is made to be able to protrude outside from the side wall 801a of the case body, and a pulley 813 is fixed to the protruding end. Also,
A projector 814 that irradiates the card position detection sensor SNS1 with detection light is attached near the shutter solenoid 809, and the detection light of the second position detection sensor SNS2 is provided between the second roller shaft 811 and the motor 807. A translucent portion 815 that can transmit light is formed. Further, a light projector 816 for irradiating a detection light to the punch hole detection sensor SNSp is attached to a side of the motor 807, and a rotary encoder 817 is fixed to one end of a rotation shaft 807a of the motor 807, and Rotating shaft 807
The other end of “a” protrudes outside from the side wall 801 b of the case body 801, and a small-diameter pulley 818 is fixed thereto.

【0104】一方、カード挿排口802aの反対側に配
置された上記支持基板806上には、第1ローラ軸81
9が回転自在に配置されているとともに、ソレノイドを
駆動手段とするパンチ装置820と磁気ヘッド821が
取付け可能にされている。磁気ヘッド取付け位置に対応
して支持基板806には磁気ヘッドを上方から下向きに
挿入させたときヘッド面が下方に臨むことができるよう
に貫通孔822が形成されている。また、第1ローラ軸
819の中央には搬送ローラ823が固着されていると
ともに、軸の両端はケースの側壁から外部に突出可能に
され、プーリ824,825がそれぞれ取り付けられて
いる。そして、上記プーリ818と825との間にベル
ト826が、またプーリ824と813との間にベルト
827が捲回されており、モータ807の回転駆動力が
ベルト826により第1ローラ軸819へ伝えられ、さ
らにベルト827により第2ローラ軸811へ伝達され
るようになっている。
On the other hand, the first roller shaft 81 is placed on the support substrate 806 disposed on the opposite side of the card insertion / ejection port 802a.
9 is rotatably arranged, and a punch device 820 using a solenoid as driving means and a magnetic head 821 can be attached. A through-hole 822 is formed in the support substrate 806 corresponding to the position where the magnetic head is mounted so that the head surface can face downward when the magnetic head is inserted downward from above. A transport roller 823 is fixed to the center of the first roller shaft 819, and both ends of the shaft are made to be able to protrude to the outside from the side wall of the case, and pulleys 824 and 825 are attached thereto. A belt 826 is wound between the pulleys 818 and 825, and a belt 827 is wound between the pulleys 824 and 813. The rotational driving force of the motor 807 is transmitted to the first roller shaft 819 by the belt 826. And transmitted to a second roller shaft 811 by a belt 827.

【0105】さらに、上記支持基板806の下面には、
第3および第4のカード位置検出センサSNS3,SN
S4に対し検出光を照射する投光器828,829が取
り付けられている。
Further, on the lower surface of the support substrate 806,
Third and fourth card position detection sensors SNS3, SN
Light projectors 828 and 829 that irradiate S4 with detection light are attached.

【0106】上記支持基板805,806の上方には、
これを覆うように第1のインタフェース基板830が配
置され、ケースの側壁801a,801bに固定され
る。このインタフェース基板830には制御ユニット1
60内に設けられたカードリーダ制御装置188からの
各種制御信号を受信したり、カードリーダ側に設けられ
たセンサや磁気ヘッドからの読取り信号をカードリーダ
制御装置188へ渡すためのインタフェース回路を備え
ている。また、インタフェース基板830の下面には、
上記透光部815に対応する位置に投光器831が、そ
して上記エンコーダ817に対応する位置に速度検出セ
ンサ832がそれぞれ設けられている。
Above the supporting substrates 805 and 806,
The first interface board 830 is arranged so as to cover this, and is fixed to the side walls 801a and 801b of the case. The interface board 830 includes the control unit 1
An interface circuit is provided for receiving various control signals from a card reader control device 188 provided in the device 60 and for passing a read signal from a sensor or a magnetic head provided on the card reader side to the card reader control device 188. ing. Also, on the lower surface of the interface board 830,
A light projector 831 is provided at a position corresponding to the light transmitting portion 815, and a speed detection sensor 832 is provided at a position corresponding to the encoder 817.

【0107】一方、支持基板805,806の下方に配
置された前記ベースプレート804には、上記搬送ロー
ラ812と823に対応する位置に、トーションスプリ
ング834と835により上方へ付勢された補助ローラ
836と837が、ベースプレートに形成された開口部
841,842よりわずかに顔を出すように装着されて
いる。また、ベースプレート804には、支持基板80
6に設けられた貫通孔822より下方に臨むように取り
付けられた磁気ヘッド821に対応する位置に同じくト
ーションスプリング836によって上方へ付勢された補
助ローラ838が、開口部843よりわずかに上方へ顔
を出すように装着されている。これとともに、ベースプ
レート804には、上記投光器814,816,82
8,829および831に対応する位置にそれぞれ透孔
844が形成されている。さらに、ベースプレート80
4の前端には幅方向に沿って凹部845(図30参照)
が形成され、そこには円筒状の遮蔽部材846が載置さ
れている。遮蔽部材846はカード挿排口802aを閉
塞してゴミの侵入を防止するとともに、その重量で一定
以上の剛性を有するカード以外を受け付けないように作
用する。
On the other hand, an auxiliary roller 836 urged upward by torsion springs 834 and 835 is provided on the base plate 804 disposed below the supporting substrates 805 and 806 at positions corresponding to the transport rollers 812 and 823. 837 is mounted so that the face slightly emerges from the openings 841 and 842 formed in the base plate. The base plate 804 has a support substrate 80
An auxiliary roller 838, which is also urged upward by a torsion spring 836, at a position corresponding to the magnetic head 821 attached so as to face downward from the through hole 822 provided in the nozzle 6, faces slightly upward from the opening 843. It is attached to put out. At the same time, the projectors 814, 816, 82
Through holes 844 are formed at positions corresponding to 8, 829 and 831, respectively. Further, the base plate 80
4 has a recess 845 along the width direction at the front end (see FIG. 30).
Is formed, and a cylindrical shielding member 846 is placed thereon. The shielding member 846 closes the card insertion / ejection opening 802a to prevent intrusion of dust, and acts so as to accept only cards having a certain rigidity or more by weight.

【0108】上記ベースプレート804の下面には、第
2のインタフェース基板848がネジによって取り付け
られるようになっており、この第2インタフェース基板
848上にはカードリーダ制御装置188とのインタフ
ェースを行なう回路とともに、投光器814,831,
828,829および816に対向するように、第1〜
第4の位置検出センサSNS1,SNS2,SNS3,
SNS4およびパンチ穴検出センサSNSpが取り付け
られている。また、補助ローラ836,837,838
に対応する位置に、ローラとの接触を防止する逃し穴8
49が設けられている。
On the lower surface of the base plate 804, a second interface board 848 is attached by screws. On this second interface board 848, a circuit for interfacing with the card reader controller 188 is provided. Floodlights 814, 831,
828, 829 and 816,
Fourth position detection sensor SNS1, SNS2, SNS3
SNS4 and a punch hole detection sensor SNSp are attached. Also, auxiliary rollers 833, 837, 838
Relief holes 8 at positions corresponding to
49 are provided.

【0109】ベースプレート804の前端に載置された
円筒状の遮蔽部材846に対応して、上方の支持基板8
05の前端には、遮蔽部材846よりひとまわり大きな
空部851が形成されており、ベースプレート804上
に支持基板805を配置したとき、遮蔽部材846が空
部851内に上下動可能に収納されるようになってい
る。
The upper supporting substrate 8 corresponds to the cylindrical shielding member 846 placed on the front end of the base plate 804.
An empty space 851 which is slightly larger than the shielding member 846 is formed at the front end of the shutter 05, and when the supporting substrate 805 is arranged on the base plate 804, the shielding member 846 is vertically movably housed in the empty space 851. It has become.

【0110】また、上記空部851を構成する枠体85
2の後壁には開口853が形成され、その後方に前記挿
入検出スイッチ808が配置されてその可動接点808
aが上記開口853より空部851内に突出される。こ
の可動接点808aの先端は通常図30の(A)に示す
ように遮蔽部材846の上方に位置するようにされてお
り、カード挿排口802aよりカードCDが挿入される
と、図30の(B)のごとくカードCDが遮蔽部材84
6を上方へ押し上げるため可動接点808aが回動さ
れ、挿入検出センサ808がオンされるようになってい
る。
The frame 85 constituting the empty space 851
2, an opening 853 is formed in the rear wall, and the insertion detection switch 808 is disposed behind the opening 853 to move the movable contact 808.
a protrudes from the opening 853 into the empty space 851. The distal end of the movable contact 808a is normally positioned above the shielding member 846 as shown in FIG. 30A, and when a card CD is inserted through the card insertion / ejection port 802a, ( B) As shown in FIG.
The movable contact 808a is turned to push the 6 upward, and the insertion detection sensor 808 is turned on.

【0111】支持基板805上に取り付けられるシャッ
タソレノイド809は図31の(A)に示すように下向
きに配置され、プランジャ809aの先端に形成された
ピン809bが、ソレノイド消磁状態において支持基板
805に設けられた挿通孔854を貫通して、図31の
(B)のごとくベースプレート804上面の対応する位
置形成された凹孔855に係合することによりカードC
Dの挿入を阻止するようになっている。
The shutter solenoid 809 mounted on the support substrate 805 is disposed downward as shown in FIG. 31A, and a pin 809b formed at the tip of the plunger 809a is provided on the support substrate 805 in the solenoid demagnetized state. 31B, the card C is inserted into the corresponding hole 855 formed at the corresponding position on the upper surface of the base plate 804 as shown in FIG.
D is prevented from being inserted.

【0112】なお、特に制限されるものではないが、こ
の実施例のカードリーダ800はカード発行機において
も使用できるようにするため、ケースの後壁が開放され
ている。
Although not particularly limited, the rear wall of the case is opened so that the card reader 800 of this embodiment can be used in a card issuing machine.

【0113】図32には、カードリーダにおける各種セ
ンサや磁気ヘッドの取付け位置関係を示す。
FIG. 32 shows the positional relationship between the various sensors and the magnetic head in the card reader.

【0114】挿入検出センサ808は最もカード挿排口
802aに近い側に配置され、第1位置検出センサSN
S1は搬送ローラの直前に配置されている。そして、シ
ャッタピン809bは挿入検出センサ808と第1位置
検出センサSNS1との間に配置され、セキュリティコ
ード読取センサ810a,810bは第1位置検出セン
サSNS1のほぼ真横に配置されている。また、第2位
置検出センサSNS2は搬送ローラ812の後方に、第
3位置検出センサSNS3は搬送ローラ823の後方
に、第4位置検出センサSNS4はカードリーダの最奥
部に配置され、かつ第1〜第4位置検出センサSNS1
〜SNS4は同一直線上に位置されている。
The insertion detection sensor 808 is arranged on the side closest to the card insertion / ejection port 802a, and the first position detection sensor SN
S1 is disposed immediately before the transport roller. The shutter pin 809b is disposed between the insertion detection sensor 808 and the first position detection sensor SNS1, and the security code reading sensors 810a and 810b are disposed almost right beside the first position detection sensor SNS1. The second position detection sensor SNS2 is located behind the transport roller 812, the third position detection sensor SNS3 is located behind the transport roller 823, the fourth position detection sensor SNS4 is located at the innermost part of the card reader, and -4th position detection sensor SNS1
SNS4 are located on the same straight line.

【0115】さらに、パンチ穴検出センサSNSpとパ
ンチピンPPは第2位置検出センサSNS2と搬送ロー
ラ823との間に配置され、磁気ヘッド821は搬送ロ
ーラ823と第3位置検出センサSNS3との間に配置
されている。
Further, the punch hole detection sensor SNSp and the punch pin PP are disposed between the second position detection sensor SNS2 and the transport roller 823, and the magnetic head 821 is disposed between the transport roller 823 and the third position detection sensor SNS3. Have been.

【0116】図33には、図32のような位置関係にな
るように配置された各種センサによるカード挿入時のカ
ード検出タイミングとモータ807およびシャッタソレ
ノイド809への制御信号のタイミングを示す。同図か
ら分かるように、この実施例のカードリーダでは、カー
ド挿入時に挿入検出センサでカードの挿入を検出してモ
ータおよびシャッタを駆動させ、位置検出センサ1〜4
でカードの位置を検出しながら所定のタイミングでカー
ド上の情報をセキュリティコード、パンチ穴、磁気コー
ドの順に読み取るように構成されている。
FIG. 33 shows the timing of card detection by various sensors arranged in a positional relationship as shown in FIG. 32 when a card is inserted, and the timing of control signals to the motor 807 and the shutter solenoid 809. As can be seen from the figure, in the card reader of this embodiment, when the card is inserted, the insertion detection sensor detects the insertion of the card, drives the motor and the shutter, and moves the position detection sensors 1-4.
The information on the card is read in the order of a security code, a punched hole, and a magnetic code at a predetermined timing while detecting the position of the card.

【0117】しかも、各種センサやパンチピンの相対距
離は、カードの読取りやパンチ穴開け等の処理を正確に
行う上で重要であるため、予め設けられた位置関係にな
るよう各部品が精度よく取り付けられている。
In addition, since the relative distances between the various sensors and the punch pins are important for accurately performing processing such as reading a card and punching a hole, the components are accurately mounted so as to have a predetermined positional relationship. Have been.

【0118】図34には、カードリーダ制御装置188
(図23参照)の具体的回路構成例が示されている。
FIG. 34 shows a card reader controller 188.
A specific circuit configuration example (see FIG. 23) is shown.

【0119】カードリーダ制御装置188は、マイクロ
コンピュータからなるカードリーダコントローラCPU
2と、ユニット制御装置180との間で送受信されるデ
ータ信号のレベル変換を行うトランシーバTRVと、制
御ユニット160内に設けられたモニタ表示器175と
176の駆動信号を形成するドライバDRV11,DR
V12およびカードリーダ800内のモータ807やパ
ンチ装置820、磁気ヘッド821、LEDランプ16
7、シャッタソレノイド809を駆動する制御信号を形
成するドライバDRV13と、モータ807に供給され
る電源をオン・オフするリレーRLYを駆動するドライ
バDRV14と、カードリーダ800内の磁気ヘッドの
読取りデータや各種センサからの検出信号を波形整形す
るシュミットトリガ回路からなる波形整形回路SMG、
磁気ヘッドで読取られた2つのトラックの各リードデー
タをラッチするフリップフロップ回路F/F1,F/F
2と、パワーオンリセット回路とウォッチドッグタイマ
を内蔵しコントローラCPU2から定期的に出力される
パルス(ラッチLT1,LT2のリセットパルスと共
用)をウォッチドッグパルスとして監視してパルスが途
切れたときにリセット信号を発生するリセット回路RS
T2とにより構成されている。
The card reader controller 188 is a card reader controller CPU comprising a microcomputer.
2, a transceiver TRV that performs level conversion of a data signal transmitted and received between the unit control device 180, and drivers DRV 11 and DRV that form drive signals for monitor displays 175 and 176 provided in the control unit 160.
V12, motor 807 and punching device 820 in card reader 800, magnetic head 821, LED lamp 16
7, a driver DRV13 for generating a control signal for driving the shutter solenoid 809, a driver DRV14 for driving a relay RLY for turning on / off the power supplied to the motor 807, read data of the magnetic head in the card reader 800, and various kinds of data. A waveform shaping circuit SMG including a Schmitt trigger circuit for shaping a waveform of a detection signal from the sensor;
Flip-flop circuits F / F1, F / F for latching respective read data of two tracks read by a magnetic head
2 and a built-in power-on reset circuit and a watchdog timer. A pulse periodically output from the controller CPU2 (shared with the reset pulses of the latches LT1 and LT2) is monitored as a watchdog pulse and reset when the pulse is interrupted. Reset circuit RS for generating signal
T2.

【0120】また、カードリーダコントローラCPU2
には、制御ユニット160内に設けられた機器の設定器
171およびカード排出スイッチSWcからのオン・オ
フ信号が入力されている。
The card reader controller CPU 2
The ON / OFF signal from the setting unit 171 of the device provided in the control unit 160 and the card ejection switch SWc is input to the control unit 160.

【0121】上記モニタ表示器176を構成する4個の
発光ダイオードは、電源が投入されている間点灯される
パワーオン表示LED11と、カードがカードリーダ内
にあることを表示するカードイン表示LED12と、カ
ードリーダコントローラによる制御が正常に実行できて
いるときに点灯されるOK表示LED13として使用さ
れ、LED14はその他任意のモニタ表示に使用できる
ように未使用となっている。
The four light-emitting diodes constituting the monitor display 176 include a power-on display LED 11 that is turned on while the power is on, and a card-in display LED 12 that indicates that the card is in the card reader. The LED 13 is used as an OK display LED 13 that is turned on when the control by the card reader controller is normally executed, and the LED 14 is unused so as to be used for any other monitor display.

【0122】一方、セグメント型モニタ表示器175
は、数字を表す7つのセグメントと、1つのドット表示
セグメントDTとを組合せることにより、次の〔表7〕
のように、カードリーダの異常内容を符号で表示するよ
うになっている。
On the other hand, the segment type monitor display 175
Is obtained by combining seven segments representing numbers and one dot display segment DT, as shown in Table 7 below.
, The contents of the abnormality of the card reader are indicated by a code.

【0123】なお、〔表7〕の右欄のエラーコードは対
応する異常が発生したときにカードリーダコントーラC
PU2が上位の制御装置に異常の内容を知らせるときに
使用するコードである。
Note that the error code in the right column of Table 7 indicates the card reader controller C when a corresponding abnormality occurs.
This code is used when the PU 2 notifies the higher-level control device of the content of the abnormality.

【0124】[0124]

【表7】 [Table 7]

【0125】カードリーダコントローラCPU2は、内
蔵ROM内の制御プログラムに従って動作し、ユニット
制御装置180からの指令に基づいてカードの走行制御
やカードデータの読出し、カードデータのチェック等を
実行し、カード番号およびカードリーダの制御情報をユ
ニット制御装置に伝達する。ユニット制御装置180と
の交信は内蔵のシリアルコミュニケーション回路によ
り、シリアルポートTX,RXを使用して行う。カード
リーダ800を構成する部品への制御信号の出力や各種
センサからの検出信号の入力は、図35に示すようなイ
ンタフェース回路198を介して行うようになってい
る。
The card reader controller CPU 2 operates in accordance with the control program in the built-in ROM, executes card travel control, reads card data, checks card data, etc., based on commands from the unit controller 180, and executes card number And the control information of the card reader is transmitted to the unit control device. Communication with the unit controller 180 is performed by a built-in serial communication circuit using the serial ports TX and RX. The output of control signals to the components constituting the card reader 800 and the input of detection signals from various sensors are performed via an interface circuit 198 as shown in FIG.

【0126】また、カードの磁気記録部MGのトラック
TRC2上の磁気データaをラッチするフリップフロッ
プFF2は、トラックTRC1上から読み出されてフリ
ップフロップFF1をトリガさせるリードクロックbを
サンプリングクロックとして動作される。フリップフロ
ップFF1はリードクロックbでトリガされCPU2か
ら出力されるパルスeでリセットされることで周期的な
信号cを出力する。
The flip-flop FF2 that latches the magnetic data a on the track TRC2 of the magnetic recording unit MG of the card is operated using the read clock b read from the track TRC1 and triggering the flip-flop FF1 as a sampling clock. You. The flip-flop FF1 outputs a periodic signal c by being triggered by a read clock b and reset by a pulse e output from the CPU 2.

【0127】図35には、カードリーダ制御装置188
とカードリーダ内の入出力部品との間に設けられるイン
タフェース回路198の構成例を示す。
FIG. 35 shows a card reader controller 188.
5 shows a configuration example of an interface circuit 198 provided between the input and output components in the card reader.

【0128】同図において符号SMG1〜SMG5で示
されているのは、シュミットトリガゲート等からなる波
形整形回路、REC1,REC2は整流回路、MCC
1,MCC2は磁化電流切替回路、AMP1〜AMP4
はアンプ、MHD1,MHD2は磁気ヘッド、MTはモ
ータ、SOL1,SOL2はソレノイド、LED1は発
光ダイオード、DRV21,DRV22はドライバ、S
NS11,SNS12,SNSp,SNS1〜SNS5
はセンサである。また、CCCはモータMTの回転方向
を切替るための電流切替回路、VCCはモータMTの回
転速度を切替るための電圧切替回路である。
In the figure, reference numerals SMG1 to SMG5 denote waveform shaping circuits including a Schmitt trigger gate and the like, REC1 and REC2 denote rectifier circuits, and MCCs.
1, MCC2 is a magnetizing current switching circuit, AMP1 to AMP4
Is an amplifier, MHD1 and MHD2 are magnetic heads, MT is a motor, SOL1 and SOL2 are solenoids, LED1 is a light emitting diode, DRV21 and DRV22 are drivers, S
NS11, SNS12, SNSp, SNS1 to SNS5
Is a sensor. CCC is a current switching circuit for switching the rotation direction of the motor MT, and VCC is a voltage switching circuit for switching the rotation speed of the motor MT.

【0129】2つのトラックTRC1とTRC2にそれ
ぞれ対応された2つの磁気ヘッドMHD1,MHD2に
より読み取られたリードデータのリードクロック信号
は、アンプAMP1,AMP3によって増幅された後、
整流回路REC1,REC2で整流され、さらに波形整
形回路SMG1,SMG3を通して矩形波としてカード
リーダ制御装置188に送られる。一方、カードリーダ
制御装置188から供給されるライトデータとライトク
ロックは波形整形回路SMG2,SMG4を通って磁化
電流切替回路MCC1,MCC2に入力され、ライトデ
ータの“1”,“0”に応じてヘッド駆動電流の向きが
切り替えられてアンプAMP2,AMP4で増幅され磁
気ヘッドMHD1,MHD2に供給される。
The read clock signal of the read data read by the two magnetic heads MHD1 and MHD2 corresponding to the two tracks TRC1 and TRC2, respectively, is amplified by the amplifiers AMP1 and AMP3.
The data is rectified by the rectifier circuits REC1 and REC2, and further sent to the card reader controller 188 as rectangular waves through the waveform shaping circuits SMG1 and SMG3. On the other hand, the write data and the write clock supplied from the card reader control device 188 are input to the magnetizing current switching circuits MCC1 and MCC2 through the waveform shaping circuits SMG2 and SMG4, and according to the write data “1” and “0”. The direction of the head drive current is switched, amplified by the amplifiers AMP2 and AMP4, and supplied to the magnetic heads MHD1 and MHD2.

【0130】モータMTを駆動するため、カードリーダ
制御装置188から与えられる正転信号と逆転信号に基
づいて電流切替回路CCCがドライバDRV21に流れ
る電流の向きを変え、また速度切替信号に応じてドライ
バDRV21によってモータに印加する電圧を切替え
る。
In order to drive the motor MT, the current switching circuit CCC changes the direction of the current flowing to the driver DRV21 based on the normal rotation signal and the reverse rotation signal given from the card reader control device 188, and changes the direction of the driver according to the speed switching signal. The voltage applied to the motor is switched by the DRV 21.

【0131】一方、セキュリティコード読取りセンサS
NS11(810a),SNS12(未使用)、パンチ
穴検出センサSNSp、位置検出センサSNS1〜SN
S4、速度検出センサSNS5(821)の検出信号
は、波形整形回路SMG5で波形整形されてからカード
リーダ制御装置188へ供給され、挿入検出スイッチ8
08の検出信号はローパスフィルタLPFでノイズカッ
トされてから波形整形回路SMG5で波形整形される。
On the other hand, the security code reading sensor S
NS11 (810a), SNS12 (unused), punch hole detection sensor SNSp, position detection sensors SNS1 to SN
S4: The detection signal of the speed detection sensor SNS5 (821) is shaped by the waveform shaping circuit SMG5 and then supplied to the card reader control device 188, where the insertion detection switch 8
The detection signal 08 is noise-cut by the low-pass filter LPF, and is then shaped by the waveform shaping circuit SMG5.

【0132】図36には、カードリーダ制御装置188
による磁気データの書込みと読出しのタイミングが示さ
れている。
FIG. 36 shows a card reader controller 188.
2 shows the timing of writing and reading magnetic data.

【0133】同図の信号中、(A)〜(D)は書込みデ
ータ情報、(E)〜(G)は書込みクロック情報に関
し、また(H)〜(J)は読出しデータ情報、(K)〜
(M)は読出しクロック情報に関する各部の信号波形を
示す。また、同図(N)〜(R)に図34のカードリー
ダ制御装置188において、符号a〜eで示されている
各信号のタイミングを示す。
(A) to (D) relate to write data information, (E) to (G) relate to write clock information, (H) to (J) indicate read data information, and (K) ~
(M) shows the signal waveform of each part regarding the read clock information. 34 (N) to (R) show timings of signals indicated by reference symbols a to e in the card reader control device 188 of FIG.

【0134】このうち、(H)および(K)の信号は図
35のインタフェース回路を構成するアンプAMP1と
AMP3の出力信号を、また、(I)および(L)の信
号は、整流回路REC1とREC2の出力信号を、そし
て(J)および(M)の信号は波形整形回路SMG1と
SMG3の出力信号をそれぞれ示す。
Of these, the signals (H) and (K) are output signals of the amplifiers AMP1 and AMP3 constituting the interface circuit of FIG. 35, and the signals (I) and (L) are signals of the rectifier circuit REC1. The output signal of REC2 and the signals (J) and (M) indicate the output signals of the waveform shaping circuits SMG1 and SMG3, respectively.

【0135】この実施例では、書込み方式としてデータ
が“1”のときは極性を反転し、データが“0”または
無信号のときは極性を反転せず直前の状態を維持するい
わゆるNRZI方式を採用している。
In this embodiment, the so-called NRZI method is employed in which the polarity is inverted when data is "1" and the polarity is not inverted when the data is "0" or no signal. Has adopted.

【0136】従ってCPU出力や書込み電流、磁化状態
を示す信号(B),(C),(D)は、CPUの内部デ
ータ(A)が“0”から“1”に変わったときに、それ
ぞれ反転している。
Therefore, the CPU output, the write current, and the signals (B), (C), and (D) indicating the magnetization state change when the internal data (A) of the CPU changes from "0" to "1". It is inverted.

【0137】一方、上記のようにして書き込まれたデー
タを磁気ヘッドMHD2で読み取ると、磁化状態(D)
が変化したところでアンプAMP1の出力が磁化の向き
に応じて+または−に変化するので、カードリーダコン
トローラCPU2は、リードクロックbの立上りでアン
プAMP1の出力を波形整形した信号(J)に対応する
リードデータaがラッチF/F2に取り込まれたとき
に、信号a(N)がハイレベルであればデータ“1”で
あると認識し、信号aがロウレベルであればデータが
“0”であると認識することになる(図36の(S)参
照)。
On the other hand, when the data written as described above is read by the magnetic head MHD2, the magnetization state (D)
The output of the amplifier AMP1 changes to + or-in accordance with the direction of magnetization when the signal changes, so that the card reader controller CPU2 corresponds to the signal (J) obtained by waveform shaping the output of the amplifier AMP1 at the rise of the read clock b. When the read data a is taken into the latch F / F2, if the signal a (N) is at a high level, it is recognized as data "1", and if the signal a is at a low level, the data is "0". (See (S) of FIG. 36).

【0138】なお、この実施例では、カードへの磁気デ
ータの記録密度を4.134bit/mm(=105BPI)
とし、カード搬送速度を300mm/秒としたので、読出
しクロックデータのパルス周期は約806μSとなる。
そこで、CPU2による磁気データ書込みの際には、書
込みクロックに関するCPU出力(E)の周期T0をク
ロックパルスの2倍(1.612ms)として出力するように
なっている。
In this embodiment, the recording density of the magnetic data on the card is 4.134 bits / mm (= 105 BPI).
Since the card transport speed is 300 mm / sec, the pulse cycle of the read clock data is about 806 μS.
Therefore, when magnetic data is written by the CPU 2, the period T0 of the CPU output (E) relating to the write clock is output as twice the clock pulse (1.612 ms).

【0139】図37および図38に遊技用記憶媒体発行
装置としてのカード発行機200の構成例を示す。
FIGS. 37 and 38 show a configuration example of a card issuing machine 200 as a game storage medium issuing device.

【0140】この実施例のカード発行機200は、カー
ド購入のための紙幣を識別する紙幣識別装置210と、
投入紙幣に対応した金額を印刷し、カードを発行する発
行装置700と、つり銭としての紙幣を払出するための
紙幣払出装置230と、各種表示器221〜225およ
びカード発行機200全体の制御および管理装置400
との間のデータ交信を行なうユニット制御装置280等
により構成されている。
The card issuing machine 200 of this embodiment includes a bill validator 210 for recognizing bills for card purchase,
Issuer 700 that prints an amount corresponding to the inserted bill and issues a card, bill dispenser 230 for dispensing bills as change, various displays 221 to 225, and overall control and management of card issuing machine 200 Apparatus 400
And a unit control device 280 for performing data communication between them.

【0141】上記紙幣識別装置210に対応して、開閉
自在な前面パネル201には紙幣挿入口211と、購入
選択スイッチ群212および金額表示器213が設けら
れている。従って、遊技客は、先ず紙幣挿入口211よ
り紙幣を投入すると、金額表示器213に投入金額が表
示される。そして、購入選択スイッチ群212の中から
所望の購入金額に対応するスイッチを押圧することによ
り、所望の購入金額に相当するカードが上記発行装置7
00のカード排出口202より発行される。
In correspondence with the above-described bill validator 210, the front panel 201 which can be freely opened and closed is provided with a bill insertion slot 211, a purchase selection switch group 212 and a price display 213. Therefore, when the player first inserts a bill through the bill insertion slot 211, the inserted amount is displayed on the amount display 213. Then, by pressing a switch corresponding to a desired purchase amount from the purchase selection switch group 212, a card corresponding to the desired purchase amount is issued to the issuing device 7.
The card is issued from the card ejection port 202 of 00.

【0142】また、上記購入選択スイッチ群212は、
各々ランプ内蔵型スイッチで構成されており、紙幣が投
入されるとその投入金額の範囲内で選択可能なスイッチ
(3千円なら3つ、5千円なら5つ)に対応する内蔵ラ
ンプが点灯されるようになっている。
The purchase selection switch group 212 includes:
Each switch is configured with a built-in lamp, and when a bill is inserted, the built-in lamp corresponding to the switch that can be selected within the range of the inserted amount (3 for 3,000 yen, 5 for 5,000 yen) turns on It is supposed to be.

【0143】カード発行機200の紙幣挿入口211よ
り紙幣が挿入され、購入選択スイッチ212により購入
金額が決定されて残金が生じたときに、それを払い戻す
ための紙幣払出装置230は、紙幣をストックしておく
紙幣タンクを備えており、残金に相当する紙幣を前面パ
ネル201に設けられた紙幣払出口232より排出する
ように構成されている。
When a bill is inserted from the bill insertion slot 211 of the card issuing machine 200 and the purchase amount is determined by the purchase selection switch 212 and a balance is generated, the bill dispensing device 230 for refunding the balance is used to store the bill. The bill storage tank is provided so as to discharge bills corresponding to the balance from a bill payout port 232 provided on the front panel 201.

【0144】また、上記カード発行機200の前面パネ
ル201には、カード発行可能な状態にあることを示す
発行中ランプ221、カード発行不能状態を示す発行中
止ランプ222、紙幣挿入口211への紙幣の受付の可
否を示す紙幣挿入表示器223、カードの発行状態を知
らせるカード発行表示器224、残金の払出状態を知ら
せる紙幣払出表示器225が設けられている。また、カ
ード発行機200の前面パネル201の内側には、発行
機の異常の種類(番号)を、2桁の数字で表示するため
のモニタ表示器206と、このモニタ表示器206の表
示をリセットするためのリセットボタン207とが設け
られている。
On the front panel 201 of the card issuing machine 200, an in-progress lamp 221 indicating that the card can be issued, an issuance stop lamp 222 indicating that the card cannot be issued, and a bill inserted into the bill insertion slot 211. A bill insertion display 223 for indicating whether or not the card is accepted, a card issuance display 224 for notifying the card issuance state, and a bill dispensing display 225 for notifying the state of disbursement of the balance. Also, inside the front panel 201 of the card issuing machine 200, a monitor display 206 for displaying the type (number) of the abnormality of the issuing machine by a two-digit number, and resetting the display of the monitor display 206. And a reset button 207 for resetting.

【0145】さらに、この実施例のカード発行機200
には、遊技店に設置される複数(数10台)の発行機の
各々を区別して、特定のカードを発行した発行機を管理
装置400において把握できるようにするため台番号設
定器205が内部に設けられており、この設定器205
により設定された台番号は管理装置400に送られて、
データ通信の際の伝送アドレスの生成および各発行機ご
とのデータファイルの作成に供される。
Further, the card issuing machine 200 of this embodiment
In order to distinguish each of a plurality of (several tens) issuing machines installed in a game arcade and to allow the management apparatus 400 to identify the issuing machine that has issued a specific card, the machine number setting device 205 is internally provided. The setting device 205
Is sent to the management device 400,
It is used for generating a transmission address at the time of data communication and creating a data file for each issuing machine.

【0146】一方、発行装置700は、記憶媒体収納手
段としてのカードタンク701内にストックされている
白紙状態のカードを1枚ずつ取り出して先ず情報読取手
段としてのカードリーダ800へ送り、カードの情報記
憶部としての磁気記録部に管理装置400によって演算
されて送られてきたカード番号および識別コード(店コ
ード)、発行年月日コード、チェックコード等を記録
し、カードリーダ800内のパンチ装置820で発行済
穿孔位置PH1(図2〜図4参照)にパンチ穴を開けて
から、印字装置750で発行年月日と発行通し番号nお
よび購入金額を印字して前面パネル201に設けられた
カード発行口202より排出する。上記発行通し番号n
は、カード発行機200からカード購入の申込を受けた
管理装置400が、自己の制御下にある複数のカード発
行機からの購入申込みに対し、その受付け順に発行通し
番号nを決定し、各カード発行機に付与する番号であっ
て、この発行通し番号nに基づいて前述したビットの並
び換え等のコード変換処理を行なって得られたコードを
カード番号としてカードの磁気面に記録して発行し、カ
ードに関する情報は管理装置400内のファイルに記録
するようになっている。
On the other hand, the issuance device 700 takes out blank cards stored in the card tank 701 as storage medium storage means one by one and sends them to the card reader 800 as information reading means. The card number and the identification code (store code), issue date code, check code, etc., which are calculated and sent by the management device 400 to the magnetic recording portion as the storage portion, are recorded, and the punch device 820 in the card reader 800 is recorded. , A punch hole is made in the issued punching position PH1 (see FIGS. 2 to 4), and then the date of issue, the issue serial number n, and the purchase price are printed by the printing device 750, and the card issued on the front panel 201 is printed. It is discharged from the mouth 202. Issuing serial number n
Means that the management device 400, which has received an application for card purchase from the card issuer 200, determines the issue serial number n in the order of acceptance for purchase applications from a plurality of card issuers under its control, and issues each card A code obtained by performing the code conversion processing such as the rearrangement of bits based on the issue serial number n as a card number, and recording and issuing the card number as a card number on the magnetic surface of the card. Is recorded in a file in the management device 400.

【0147】上記発行通し番号nからカード番号の生成
を可能にするため、管理装置400の制御プログラムに
は、カード番号生成ルーチンと、コード変換ルーチンが
設けられているともに、カードから読み出されたカード
番号と発行通し番号nとの一致を確認するため逆変換と
逆算ルーチンが用意されている。
In order to enable generation of a card number from the issue serial number n, the control program of the management device 400 is provided with a card number generation routine and a code conversion routine, and a card read from the card. In order to confirm the coincidence between the number and the issue serial number n, an inverse conversion and inverse calculation routine is prepared.

【0148】なお、この実施例のカード発行機200
は、カードリーダ800で磁気データを記録しかつ印字
装置で、発行通し番号nと発行年月日および購入金額の
千の桁を除く3つの「0」を印字した状態でカードを待
機させておき、購入スイッチが押された時点で千の桁の
数字を印字して排出することにより見かけ上の発行所要
時間を短縮するようになっている。
Note that the card issuing machine 200 of this embodiment
The card reader 800 records the magnetic data and prints the card with the issue serial number n, the issue date, and three “0” excluding the thousands digit of the purchase amount printed, and the card is kept on standby. When a purchase switch is pressed, a thousand-digit number is printed and discharged, thereby shortening the apparent issuance time.

【0149】図39には、カードリーダを内蔵した発行
装置700の全体斜視図が、また図40には発行装置の
概略構成例を示す。
FIG. 39 is an overall perspective view of an issuing device 700 having a built-in card reader, and FIG. 40 shows a schematic configuration example of the issuing device.

【0150】この実施例の発行装置700は、磁気記録
部MGと印字表示部PRTが白紙の状態とされているカ
ードが多数収納されたカードタンク701内から一枚ず
つカードを取り出すカード取出装置710と、その後方
に配置されたカードリーダ800と、さらにその後方に
配置されたカード反転装置740と、カードリーダ80
0の下方に配置された印字装置750と、その前方に配
置されたカード導出装置770とにより構成されてお
り、カードリーダ800の上方に配設されたカード発行
制御装置790によって制御されるようになっている。
この実施例の発行装置700内のカードリーダは、パチ
ンコ機用のカードリーダ800と略同一の構造と機能を
有したものでよい。
The issuing device 700 of this embodiment includes a card ejection device 710 for taking out cards one by one from a card tank 701 in which a large number of cards whose magnetic recording section MG and print display section PRT are blank are stored. And a card reader 800 disposed behind the card reader 800, a card reversing device 740 disposed further behind the card reader 800, and a card reader 80
0, and a card deriving device 770 disposed in front of the printing device 750, and is controlled by a card issuing control device 790 disposed above the card reader 800. Has become.
The card reader in the issuing device 700 of this embodiment may have the same structure and function as the card reader 800 for the pachinko machine.

【0151】発行機用のカードリーダが、パチンコ機用
のカードリーダと異なる点は、(1)磁気データの記録
機能を備える必要がある点と、(2)カードを後方へ排
出できる構造となっている必要がある点にある。このう
ち、(1)については図35に示すようにインタフェー
ス回路198が書込みデータ信号を波形整形する波形整
形回路SMG2,SMG4と磁気電流切替回路MCC
1,MCC2とを有していて、磁気ヘッドMHD1とM
HD2で磁気データの読出しは勿論のこと、書込みも行
なえるので問題はない。また、パチンコ機用カードリー
ダ800の構造説明のところでも言及したように図27
〜図30に示すカードリーダ800は、ケースの後壁が
開放されており、挿入されたカードを後方へも排出でき
るようになっている。従って、この実施例の発行装置7
00には、パチンコ機用のカードリーダ800と全く同
一のものを使用することができる。
The card reader for the issuing machine is different from the card reader for the pachinko machine in that (1) it is necessary to have a function of recording magnetic data, and (2) the card can be ejected backward. It is necessary to be. As for (1), as shown in FIG. 35, the interface circuit 198 performs waveform shaping circuits SMG2 and SMG4 for shaping the write data signal and the magnetic current switching circuit MCC.
1 and MCC2, and magnetic heads MHD1 and MHD1
There is no problem because the HD 2 can write as well as read magnetic data. As mentioned in the description of the structure of the card reader 800 for the pachinko machine, FIG.
The card reader 800 shown in FIG. 30 to FIG. 30 has an open rear wall of the case, so that the inserted card can be ejected backward. Therefore, the issuing device 7 of this embodiment
00 can be exactly the same as the card reader 800 for the pachinko machine.

【0152】一方、上記カードタンク701はカードと
同一の大きさの空間を有しコの字状をなす枠体で構成さ
れ、カード取出装置710の側壁711の上端にボルト
で固定されている。このカードタンク701内に収納さ
れたカードの上には、カードに一定の圧力を加えカード
の取出しを確実にさせるための押圧部材702が載置さ
れるようになっている。この押圧部材702にはタンク
内のカードの有無を検出するセンサ703で検出されな
いように左右に切欠き702aが形成されている。ま
た、カードタンク701内に収納された白紙カードCD
は、図41に示すようなカード取出装置710のベース
基板711の前半部の上に載置される。このベース基板
711には、中心線に沿って開口部711a,711
b,711cが形成され、この開口部より上方へ僅かに
突出するように第1搬送ローラ712と第2搬送ローラ
713と第3搬送ローラ714が配置されている。ま
た、ベース基板711の前端側部には上記カード有無検
出用センサ703の作動片703aが下方より臨むこと
ができるように切欠き711dが形成されている。
On the other hand, the card tank 701 is formed of a U-shaped frame having a space of the same size as the card, and is fixed to the upper end of the side wall 711 of the card removal device 710 with bolts. On the card stored in the card tank 701, a pressing member 702 for applying a certain pressure to the card and ensuring the removal of the card is placed. Notches 702a are formed on the right and left sides of the pressing member 702 so as not to be detected by a sensor 703 for detecting the presence or absence of a card in the tank. The blank card CD stored in the card tank 701
Is mounted on the front half of the base substrate 711 of the card removal device 710 as shown in FIG. This base substrate 711 has openings 711a, 711 along the center line.
b, 711c are formed, and the first transport roller 712, the second transport roller 713, and the third transport roller 714 are arranged so as to slightly protrude above the opening. A cutout 711d is formed at the front end of the base substrate 711 so that the operating piece 703a of the card presence / absence detection sensor 703 can be seen from below.

【0153】さらに、上記ベース基板711の上方略中
央には、これと直交する向きの支持プレート715が配
置され、カード取出装置710の側壁716に固定され
ている。そして、この支持プレート715の前面には、
上記ベース基板711とカード1枚分の間隔をおいて対
向されるストッパ717を有するブラケット718が装
着されている。また、上記支持プレート715の後方に
は、上記搬送ローラ712〜714を駆動するための取
出用モータ719が配置され、側壁716に固定されて
いる。
Further, a support plate 715, which is perpendicular to the base plate 711, is disposed substantially at the center above the base substrate 711, and is fixed to the side wall 716 of the card removal device 710. Then, on the front surface of the support plate 715,
A bracket 718 having a stopper 717 facing the base substrate 711 with an interval of one card is mounted. Further, a take-out motor 719 for driving the transport rollers 712 to 714 is disposed behind the support plate 715, and is fixed to the side wall 716.

【0154】この取出用モータ719の回転軸には減速
機構720を介して駆動プーリ721が連結され、この
駆動プーリ721と、上記搬送ローラ713および71
4の回転軸713a,714aの端部に装着された従動
プーリ722,723との間にタイミングベルト724
が捲回されている。さらに、上記第2搬送ローラ713
の回転軸にはクラッチ用ディスク725aが装着されて
いるとともに、このディスク725aに対向して第2ク
ラッチ用ディスク725bが回転自在に配設されてい
る。また、上記一対のクラッチ用ディスク725a,7
25bの外周に当接可能なローラ726を一端に有する
クラッチレバー727が、側壁716に揺動可能に取り
付けられている。そして、このクラッチレバー727の
他端は、スプリング728を介してクラッチソレノイド
729のプランジャ729aに連結されており、ソレノ
イド729が励磁されると、クラッチレバー727が回
動されてローラ726がクラッチ用ディスク725aと
725bの外周に同時に接触され、回転力を伝達し、ソ
レノイド729がオフされると回転力を遮断するように
なっている。さらに、クラッチ用ディスク725bの回
転軸にはプーリ730が固着されており、このプーリ7
30と上記第1搬送ローラ712の回転軸712aの一
端に固着されたプーリ731との間にはベルト732が
捲回されている。従って、取出用モータ719の回転力
は、クラッチソレノイド729が励磁されている間だけ
クラッチ機構(725,726)を介して第1搬送ロー
ラ712へ伝達される。
A drive pulley 721 is connected to the rotating shaft of the take-out motor 719 via a speed reduction mechanism 720, and the drive pulley 721 is connected to the transport rollers 713 and 71.
4 and a timing belt 724 between the driven pulleys 722 and 723 mounted on the ends of the rotary shafts 713a and 714a.
Is wound. Further, the second transport roller 713
A clutch disc 725a is mounted on the rotation shaft of the second clutch disc 725, and a second clutch disc 725b is rotatably arranged facing the disc 725a. In addition, the pair of clutch disks 725a, 7
A clutch lever 727 having, at one end, a roller 726 capable of abutting on the outer periphery of 25b is swingably attached to the side wall 716. The other end of the clutch lever 727 is connected to a plunger 729a of a clutch solenoid 729 via a spring 728. When the solenoid 729 is excited, the clutch lever 727 is rotated and the roller 726 is moved to the clutch disk. The rotors 725a and 725b are simultaneously brought into contact with the outer peripheries thereof to transmit the torque, and when the solenoid 729 is turned off, the torque is shut off. Further, a pulley 730 is fixed to the rotating shaft of the clutch disk 725b.
A belt 732 is wound between the pulley 7 and a pulley 731 fixed to one end of the rotation shaft 712a of the first transport roller 712. Therefore, the rotational force of the take-out motor 719 is transmitted to the first transport roller 712 via the clutch mechanism (725, 726) only while the clutch solenoid 729 is excited.

【0155】しかも、この第1搬送ローラ712は、そ
の回転軸712aに対して偏心した状態で取り付けられ
ており、通常は上面がベース基板711よりも低くされ
ており、回転軸712aが180°回転すると開口部7
11aから上方へ僅かに突出するようになっている。
Further, the first transport roller 712 is mounted eccentrically with respect to the rotation shaft 712a, and the upper surface thereof is usually lower than the base substrate 711, and the rotation shaft 712a rotates by 180 °. Then the opening 7
It protrudes slightly upward from 11a.

【0156】そして、この実施例の発行装置700は、
紙幣投入後に購入選択スイッチ212が操作されると、
取出用モータ719が回転され、その後クラッチソレノ
イド729が一定時間オンされ、第1搬送ローラ712
が1回転されるようになっている。これによって、第1
搬送ローラ712は偏心回転され、この第1搬送ローラ
712の上方のカードタンク701内のカードを押し上
げるようにしながら後方へ送り出す。このとき、カード
CD上に押圧部材702が載置され一定圧力を加えてい
るためローラとの摩擦力で一番下のカードがタンク内の
カード群から分離される。しかも、後方にはベース基板
711とカード1枚分の間隔を有するストッパ717が
設けられているため、カードの2枚送りが防止される。
The issuing device 700 of this embodiment is
When the purchase selection switch 212 is operated after the bill is inserted,
The take-out motor 719 is rotated, and then the clutch solenoid 729 is turned on for a certain period of time.
Is rotated once. Thereby, the first
The transport roller 712 is eccentrically rotated, and sends out the card in the card tank 701 above the first transport roller 712 while pushing up the card. At this time, since the pressing member 702 is placed on the card CD and a constant pressure is applied, the lowermost card is separated from the card group in the tank by the frictional force with the roller. In addition, since the stopper 717 having an interval of one card and the base substrate 711 is provided at the rear, feeding of two cards is prevented.

【0157】こうして、1枚だけタンク内から取り出さ
れたカードは、取出用モータ719が回転中ずっと回転
されている第2、第3の搬送ローラ713,714によ
って後方のカードリーダ800へ向かって送り出され
る。
In this manner, only one card taken out of the tank is sent out toward the rear card reader 800 by the second and third transport rollers 713 and 714 which are rotated while the take-out motor 719 is rotating. It is.

【0158】なお、カード取出装置710の後端には走
行位置検出センサCPS1が配設されており、送り出さ
れたカードを検出するようになっている。
A running position detecting sensor CPS1 is provided at the rear end of the card removing device 710, and detects a sent card.

【0159】また、第3搬送ローラ714の上方にはカ
ードの浮き上がりを防止する押さえローラ734が配設
されている。
A pressing roller 734 for preventing the card from being lifted is provided above the third transport roller 714.

【0160】上記カード取出装置710によってタンク
701から取り出されたカードは、カードリーダ800
で磁気記録部への識別コードやカード番号等の書込みが
行なわれ、且つ内部のパンチ装置820で発行穴穿孔位
置にパンチ穴が開けられてから後方のカード反転装置7
40へ送り出される。カードリーダ800の下方には穿
孔片すなわちパンチ屑を収納するケース705が配置さ
れている。
The card removed from the tank 701 by the card removal device 710 is stored in the card reader 800.
The writing of the identification code and the card number into the magnetic recording section is performed by the punching device 820, and a punching hole is formed in the issuing hole punching position by the internal punching device 820.
It is sent to 40. Below the card reader 800, a case 705 for accommodating perforated pieces, that is, punch waste is arranged.

【0161】パチンコ機用カードリーダ800の制御装
置188に相当する発行機用のカードリーダ制御装置2
88は、カード発行制御装置790内に設けられてい
る。
Card reader controller 2 for issuing machine corresponding to controller 188 of card reader 800 for pachinko machine
88 is provided in the card issuance control device 790.

【0162】カード反転装置740に送られたカード
は、先ず搬送ローラ741a,741b,741cに捲
回されたベルト742と、搬送ローラ743a,743
bに捲回されたベルト744との間に挟まれてS字走行
路に沿って搬送され、その出口に配置された走路切替片
745を破線イのように押しながら、搬送ローラ746
a,746b,746cに捲回されたベルト747と上
記ベルト742とに挟まれて一旦上方へ送られる。そし
て、カードが走路切替片745を通過すると切替片74
5がスプリング745aの張力で破線イの位置から実線
の位置へ回動復帰されるとともに、その上方に配置され
た走行位置センサCPS2によってカードの後端が検出
された時点で上記ベルト742を駆動する走行モータ7
06が逆回転される。これによって、カードは向きを変
えて下方へ搬送され始める。そして、搬送ローラ748
a,748b,748cに捲回されたベルト749と、
上記ベルト747とに挟まれて徐々に向きを変え、遂に
は水平方向前方に向かって送り出される。
The card sent to the card reversing device 740 first includes a belt 742 wound around transport rollers 741a, 741b, and 741c, and a transport roller 743a, 743.
b is conveyed along the S-shaped traveling path while being sandwiched between the belt 744 wound around the roller b and the transport roller 746 while pushing the traveling path switching piece 745 disposed at the exit as shown by the broken line a.
a, 746b, and 746c are sandwiched between the belt 747 wound around the belt 747 and the belt 742, and are once sent upward. When the card passes through the runway switching piece 745, the switching piece 74
5 is rotated back from the position indicated by the broken line to the position indicated by the solid line by the tension of the spring 745a, and drives the belt 742 when the rear end of the card is detected by the traveling position sensor CPS2 disposed above the position. Traveling motor 7
06 is reversed. As a result, the card changes its direction and starts to be conveyed downward. Then, the transport roller 748
a, a belt 749 wound around 748b, 748c,
The direction is gradually changed by being sandwiched between the belts 747, and finally the sheet is fed forward in the horizontal direction.

【0163】上記ベルト742と749は、走行モータ
706によって直接駆動されるベルト707およびそれ
と連動されたベルト708とによって駆動されるように
なっている。ベルト744と749には走行モータ70
6の駆動力が伝達されず、カードの移動に伴って摩擦力
で連れ回りする。
The belts 742 and 749 are driven by a belt 707 directly driven by a traveling motor 706 and a belt 708 linked therewith. The running motor 70 is provided on the belts 744 and 749.
The driving force of No. 6 is not transmitted, and the card rotates with the frictional force as the card moves.

【0164】なお、上記ベルト707は後述のカード導
出装置770の搬送ローラ771と一体のプーリにも捲
回されており、走行モータ706の駆動力によってカー
ドの排出が行なわれる。
The belt 707 is also wound around a pulley integrated with a transport roller 771 of a card dispensing device 770 described later, and the card is discharged by the driving force of the traveling motor 706.

【0165】さらに、上記搬送ローラ748cの回転軸
709は側方へ突出され、その端部には図39に示すよ
うにノブ709aが固着されており、このノブ709a
を手で回すことにより、走行モータ706の停止中に手
動でカードを移動させ、紙詰まりを生じたカードを取り
除くことができるようになっている。カード反転装置7
40の終端には走行位置センサCPS3が配置されてお
り、このセンサがカードの後端を検出すると走行モータ
706が停止される。
Further, the rotating shaft 709 of the transport roller 748c projects sideward, and a knob 709a is fixed to an end of the rotating shaft 709 as shown in FIG.
By manually turning the card, the card can be manually moved while the traveling motor 706 is stopped, and the card having a paper jam can be removed. Card reversing device 7
A travel position sensor CPS3 is disposed at the end of the drive 40. When the sensor detects the rear end of the card, the travel motor 706 is stopped.

【0166】上記カード反転装置740から送り出され
たカードは印字装置750に入り、先ず走行位置センサ
CPS4により検出される。すると、印字装置750内
の移送モータ751が駆動され、その駆動力がベルト7
62および歯車群763を介して移送ローラ752a,
752bに伝達され、その上方に配設された押圧ローラ
753a,753bとの間にカードを挾持して前方へ移
動させる。移送ローラ752a,752bの前方には、
移送ローラ754と755が走行路に沿って配置され、
その上方にはサーマルヘッドのような印字ヘッド756
がガイドピン757に沿って昇降可能に配置されてい
る。また、ガイドピン757の周囲には復帰バネ758
が介挿されている。
The card sent from the card reversing device 740 enters the printing device 750, and is first detected by the traveling position sensor CPS4. Then, the transfer motor 751 in the printing device 750 is driven, and the driving force is applied to the belt 7.
62 and the transfer roller 752a via the gear group 763,
The card is transferred to the press roller 752b, and the card is held between the pressing rollers 753a and 753b disposed above the card and moved forward. In front of the transfer rollers 752a and 752b,
Transfer rollers 754 and 755 are arranged along the traveling path,
Above it is a print head 756 such as a thermal head.
Are arranged so as to be able to ascend and descend along the guide pins 757. A return spring 758 is provided around the guide pin 757.
Is inserted.

【0167】758は印字ヘッド昇降用モータで、この
モータ758の回転は減速されて従動軸759に伝達さ
れる。この従動軸759には、切欠きを有する検出コマ
760が固着され、この検出コマ760の周縁に対向し
て回転位置センサ761a,761bが配置されてい
る。また、図示しないが昇降用モータ758の回転力
は、例えば上記従動軸759に固着したカムとその外周
に当接されたタペットを介して印字ヘッド756に伝え
られ、これを昇降させる。このとき、昇降用モータ75
8は一回の作動で従動軸759を180°ずつ回動させ
る。すなわち、昇降用モータ758は常に検出コマ76
0の切欠きがセンサ761aまたは761bに対向する
位置で回転を停止するようになっており、走行位置セン
サCPS4がカードを検出して昇降用モータ758を作
動させると、センサ761aまたは761bが検出コマ
760の切欠きを検出した時点でモータの回転が停止さ
れる。これによって、印字ヘッド756は走行位置セン
サCPS4のカード検出時に降下され、印字が終了する
と再び昇降用モータ758が作動されて従動軸759を
180°回転させることにより、印字ヘッド756は上
昇されて停止する。印字装置750の出口には走行位置
センサCPS5が配設されており、このセンサCPS5
がカードの先端を検出すると前記走行モータ706を先
程と同一の方向(逆方向)へ作動させて搬送ローラ77
1a,771b,771cに捲回されたベルト772を
駆動させ、センサCPS5がカードの後端を検出すると
印字装置内の搬送用モータ751を停止させる。これに
よって、印字装置750から送り出されたカードは速や
かに前方のカード導出装置770内へ搬送されていく。
Reference numeral 758 denotes a print head raising / lowering motor. The rotation of the motor 758 is decelerated and transmitted to the driven shaft 759. A detection piece 760 having a notch is fixed to the driven shaft 759, and rotation position sensors 761 a and 761 b are arranged to face the periphery of the detection piece 760. Although not shown, the rotational force of the lifting motor 758 is transmitted to the print head 756 via, for example, a cam fixed to the driven shaft 759 and a tappet abutting on the outer periphery of the cam, thereby raising and lowering the same. At this time, the lifting motor 75
Numeral 8 rotates the driven shaft 759 by 180 ° in one operation. That is, the elevation motor 758 is always connected to the detection frame 76.
The notch of 0 stops rotation at a position facing the sensor 761a or 761b. When the traveling position sensor CPS4 detects a card and operates the elevating motor 758, the sensor 761a or 761b detects the detected frame. When the notch 760 is detected, the rotation of the motor is stopped. As a result, the print head 756 is lowered when the card is detected by the traveling position sensor CPS4, and when printing is completed, the elevating motor 758 is operated again to rotate the driven shaft 759 by 180 °, whereby the print head 756 is raised and stopped. I do. At the exit of the printing device 750, a traveling position sensor CPS5 is provided.
Detects the leading edge of the card, it operates the traveling motor 706 in the same direction (reverse direction) as before, and
The belt 772 wound around 1a, 771b, and 771c is driven, and when the sensor CPS5 detects the rear end of the card, the transport motor 751 in the printing apparatus is stopped. As a result, the card sent from the printing device 750 is immediately conveyed into the card deriving device 770 in front.

【0168】カード導出装置770においては、図42
にその詳細を示すように、上記ベルト772の下方に搬
送ローラ773,774a,774bが配置され、この
うち搬送ローラ774aと774bにはベルト775が
捲回されている。しかも、この実施例では、このカード
導出装置のみ搬送ローラとそのベルト772,775が
2列に設けられて排出を確実に行なえるようになってい
る。そして、ベルト772と775とによって構成され
る搬送路に対応してその前方にカード発行口202が配
置され、この発行口の直前に走行位置センサCPS6が
配設されている。
In the card deriving device 770, FIG.
As described in detail below, transport rollers 773, 774a, and 774b are disposed below the belt 772, and a belt 775 is wound around the transport rollers 774a and 774b. Moreover, in this embodiment, the conveying roller and its belts 772 and 775 are provided in two rows only in this card deriving device so that the ejection can be performed reliably. A card issuing port 202 is disposed in front of the conveyance path formed by the belts 772 and 775, and a traveling position sensor CPS6 is disposed immediately before the card issuing port.

【0169】また、上記搬送ローラ773と774bと
の間には支軸776を中心に回動可能な記憶媒体回収手
段の一例としての走路切替部材777が配設されてい
る。この走路切替部材777はスプリング778によっ
て通常は図40に破線ロで示すごとく先端が下方に位置
され、印字装置750より送られてきたカードをカード
発行口202へ向かって案内する。しかして、カードが
正規なものでなかったり、傷があって磁気記録部へ正し
く記録できなかったような場合には、走路切替部材77
7によってカードは下方の没収タンク780に誘導され
る。正しく書き込まれたカードのときは切替部材777
を、図40に実線で示すごとく下方へ回動させる。これ
によりカードが有効か否か判定する記憶媒体判定手段と
して機能するのである。すると、印字装置750から送
られてきたカードはカード発行口202へ誘導される。
搬送ローラ774a,774bの下方には、記憶媒体回
収手段の一例としての没収タンク780が配設されてお
り、通常状熊で上方に位置された走路切替部材777に
よって下方へ誘導されたカードはこの没収タンク780
内に収納される。
A running path switching member 777 is disposed between the transport rollers 773 and 774b as an example of a storage medium collecting means rotatable about a support shaft 776. The runway switching member 777 is normally positioned at the lower end by a spring 778 as shown by a broken line B in FIG. 40, and guides the card sent from the printing device 750 toward the card issuing port 202. If the card is not valid or cannot be correctly recorded on the magnetic recording unit due to damage, the track switching member 77
7 guides the card to the lower confiscation tank 780. Switching card 777 for a correctly written card
Is rotated downward as shown by the solid line in FIG. This functions as storage medium determination means for determining whether the card is valid. Then, the card sent from the printing device 750 is guided to the card issuing port 202.
Below the transport rollers 774a and 774b, a confiscation tank 780 as an example of a storage medium collecting means is disposed, and a card guided by a runway switching member 777, which is located above with a normal bear, is used for this purpose. Confiscation tank 780
Is stored inside.

【0170】この没収タンク780の後壁781には切
欠き781aが形成されており、この切欠き781aに
臨むように回収記憶媒体計数表示手段の一部を構成する
センサ782が配設されている。このセンサ782は受
光器であってこれに対応する回収記憶媒体計数表示手段
の一部を構成する投光器783は、上記一対のベルト7
75間に配置され、検出光軸が斜めになるように設定さ
れ、没収タンク780に入ってくるカードを検出すると
ともに、タンク内のカードが一定量以上になると、カー
ドの上端が上記検出光軸を遮るようになって満杯になっ
たことを検出できるようになっている。さらに、この没
収タンク780はその下方に斜め配置されたプレート7
84上に前後方向スライド可能に載置され、その下面に
は、プレート784に形成された長孔784aに係合す
るガイドピン785が固着されており、このガイドピン
785と上記プレート784の後端との間に張設された
スプリング786によって、常に後方へ付勢されてい
る。
A notch 781a is formed in the rear wall 781 of the confiscation tank 780, and a sensor 782 constituting a part of the collection storage medium counting and displaying means is provided so as to face the notch 781a. . The sensor 782 is a light receiver, and the light transmitter 783 corresponding to the light receiver, which constitutes a part of the collection storage medium counting and displaying means, is provided with the pair of belts 7.
75, the detection optical axis is set to be oblique, and the card entering the confiscation tank 780 is detected, and when the number of cards in the tank exceeds a certain amount, the upper end of the card is set to the detection optical axis. So that it can detect when it is full. Further, the confiscation tank 780 is a plate 7 obliquely arranged below the tank.
A guide pin 785 that engages with an elongated hole 784a formed in a plate 784 is fixed to the lower surface of the guide pin 784 so that the guide pin 785 and the rear end of the plate 784 can be slid. Is always urged rearward by a spring 786 stretched between them.

【0171】このカード導出装置770は、カードの終
端が通過して走行位置センサCPS6または没収カード
の検出センサがオンからオフに変わると、走行モータ7
06がオフされて、排出または没収動作を停止する。
When the end position of the card passes and the traveling position sensor CPS6 or the detection sensor of the confiscated card changes from on to off, the card deriving device 770 operates.
06 is turned off to stop the discharge or confiscation operation.

【0172】なお、カード発行口202の上部には、発
行装置700におけるカードの発行作業進行状態を示す
カード発行表示器787が設けられている。
A card issuance display 787 is provided above the card issuance slot 202 to indicate the progress of card issuance work in the issuance device 700.

【0173】さらに、この実施例の発行装置700は、
図39に示すように、固定ベース791上において左右
のレール792a,792bによって前後方向スライド
可能に支持された基盤793の上に載置されており、こ
の基盤793の左側半分には、補助電源装置を内蔵した
電源ボックス794が載置され、この電源ボックス79
4の前面には、カードの発行枚数を表示するためのカウ
ンタ795と、没収カードの枚数等の表示に利用可能な
回収記憶媒体計数表示手段として機能する予備カウンタ
796が設けられている。内に収納される。
Further, the issuing device 700 of this embodiment is
As shown in FIG. 39, it is placed on a fixed base 791 on a base 793 supported by left and right rails 792a and 792b so as to be slidable in the front-rear direction. A power supply box 794 having a built-in power supply
On the front side of 4, a counter 795 for displaying the number of cards issued and a spare counter 796 functioning as a collection storage medium counting display means usable for displaying the number of confiscated cards and the like are provided. Is stored inside.

【0174】また、797は固定ベース791上に載置
された発行装置全体を前方へスライドさせる際に使用す
る把手、798はスライド機構をロックさせるための操
作ボタンである。
Reference numeral 797 denotes a handle used to slide the entire issuing device placed on the fixed base 791 forward, and reference numeral 798 denotes an operation button for locking the slide mechanism.

【0175】図43には、上記のごとく構成されたカー
ド発行機200の制御システムの構成例が示されてい
る。
FIG. 43 shows a configuration example of a control system of the card issuing machine 200 configured as described above.

【0176】なお、同図において、790がカード発行
制御装置、280がユニット制御装置、また288はカ
ードリーダ800の各構成部品たる搬送モータ807、
磁気ヘッド821、穿孔装置820等を制御するカード
リーダ制御装置であり、符号LMP1〜LMP5で示さ
れているのが、購入金額の選択スイッチ群212に内蔵
されたランプで、オンされたスイッチに対応するランプ
が点灯されて操作ボタンを後方から照明するようになっ
ている。
In the figure, reference numeral 790 denotes a card issuing control device, 280 denotes a unit control device, and 288 denotes a transport motor 807 which is a component of the card reader 800.
A card reader control device that controls the magnetic head 821, the punching device 820, and the like. Reference numerals LMP1 to LMP5 denote lamps built in the selection switch group 212 for the purchase amount, corresponding to the switches turned on. The operation button is illuminated from behind by turning on a lamp.

【0177】この実施例の制御システムは、大別してユ
ニット制御装置280による制御系とカード発行制御装
置790による制御系とに分割されており、ユニット制
御装置280が、貨幣の受け入れ手段、所望購入金額の
選択手段、管理装置に有価データを送信して該有価デー
タに代わるカード番号を貰い受けるための通信手段、釣
貨幣の払出し手段、および発行処理状態を示す状態表示
手段の制御を担当しており、カード発行制御装置790
が上述した発行装置700を構成するカード取出装置7
10、カード反転装置740、印字装置750およびカ
ード導出装置770と、カードのチェックおよび磁気デ
ータの記録を担当するカードリーダ800の制御装置2
88の統括的な制御を担当している。そして、ユニット
制御装置280とカード発行制御装置790との間の交
信はシリアル通信によって行なわれる。
The control system of this embodiment is roughly divided into a control system by the unit control unit 280 and a control system by the card issue control unit 790. , The communication means for transmitting valuable data to the management device and receiving a card number in place of the valuable data, the means for paying out coins, and the state display means indicating the issuing processing state. , Card issuance control device 790
Is a card ejection device 7 constituting the issuing device 700 described above.
10, a card reversing device 740, a printing device 750, and a card deriving device 770, and a control device 2 of a card reader 800 responsible for checking a card and recording magnetic data.
It is in charge of 88 general controls. Communication between the unit controller 280 and the card issuing controller 790 is performed by serial communication.

【0178】一方、ユニット制御装置280は、管理装
置400との間でカード番号等のデータの送受信を行な
うため、光トランシーバ185を介して光ケーブルまた
は同軸ケーブルからなる低層ネットワーク用通信ライン
510に接続可能にされている。この実施例のカード発
行機200は、ユニット制御装置280によって前面パ
ネル201に設けられた各種表示器221〜225等か
らなる状態表示手段をカード発行手順に従って点灯もし
くは点滅させることによって利用者に操作手順を教示す
るとともに、排出したカードや釣銭忘れを防止するよう
にしている。
On the other hand, the unit control device 280 can be connected to the low-layer network communication line 510 formed of an optical cable or a coaxial cable via the optical transceiver 185 in order to transmit and receive data such as a card number to and from the management device 400. Has been. The card issuing machine 200 according to the present embodiment allows the user to perform operation procedures by lighting or blinking status display means including various displays 221 to 225 provided on the front panel 201 by the unit control device 280 in accordance with the card issuing procedure. In addition, the card and the change of the discharged card are prevented from being forgotten.

【0179】すなわち、カード発行機200の電源が投
入され、カード発行の準備が終了するとユニット制御装
置280は、先ず前面パネル201に設けられた発行中
表示器221を点灯させ、かつ紙幣挿入表示器223を
点滅させて紙幣の挿入を促す表示を行なって紙幣挿入待
ち状態にあることを外部に知らせる。この状態で紙幣挿
入口211に紙幣が投入されるとユニット制御装置28
0は金額表示器213に投入された金額に相当する数字
を表示させ、かつ購入選択スイッチ212内蔵の購入ラ
ンプLMP1〜LMP5を投入金額相当分まで点灯させ
る。つまり、千円ならランプLMP1のみ、3千円なら
ランプLMP1〜LMP3、5千円ならランプLMP1
〜LMP5を点灯させて、操作可能なスイッチを明示さ
せるようになっている。この状態で有効な購入選択スイ
ッチ212のいずれか一つがオンされると、紙幣挿入表
示器223を消灯させ、代わりにカード発行口202近
傍のカード発行表示器224を点滅させてカードが排出
されることを利用者に知らせる。
That is, when the power of the card issuing machine 200 is turned on and the preparation for card issuance is completed, the unit controller 280 first turns on the issuance display 221 provided on the front panel 201, and displays the bill insertion display. 223 is blinked to display a message prompting the insertion of a bill to notify the outside that it is in a bill insertion waiting state. When a bill is inserted into the bill insertion slot 211 in this state, the unit controller 28
0 displays a number corresponding to the inserted amount on the amount indicator 213 and turns on the purchase lamps LMP1 to LMP5 built in the purchase selection switch 212 up to the amount corresponding to the inserted amount. That is, the lamp LMP1 for 1,000 yen, the lamp LMP1 to LMP3 for 3,000 yen, and the lamp LMP1 for 5,000 yen
LLMP5 is turned on to clearly indicate the operable switch. When any one of the valid purchase selection switches 212 is turned on in this state, the bill insertion display 223 is turned off, and the card issuance display 224 near the card issuance slot 202 is blinked instead, and the card is ejected. To the user.

【0180】それから、ユニット制御装置280は、実
際にカード発行口202よりカードを排出するときには
金額表示器213と購入ランプLMP1〜LMP5を消
灯させる。そして、このとき釣銭があれば紙幣払出表示
器225を点滅させて注意を喚起させながら釣銭の払出
しを実行する。なお、釣銭がないときは紙幣払出表示器
225は消灯のままにしておく。また、カード排出時に
は利用者がカード発行口202に排出されたカードを抜
き取るとカード発行表示器224の点滅を中止して消灯
させる。
Then, when actually ejecting the card from the card issuing slot 202, the unit control device 280 turns off the amount indicator 213 and the purchase lamps LMP1 to LMP5. At this time, if there is a change, the bill payout display 225 is blinked to pay attention, and the change is paid out. When there is no change, the bill payout indicator 225 is kept off. When the card is ejected, if the user removes the card ejected to the card issuing slot 202, the blinking of the card issuing display 224 is stopped and the light is turned off.

【0181】一方、釣銭があるときは紙幣払出表示器2
30が釣銭の除去を検出して送ってくる払出完了信号を
受けてから紙幣挿入表示器223を消灯させる。
On the other hand, when there is a change, the bill payout display 2
30 detects the removal of change and receives the payout completion signal sent, and then turns off the bill insertion indicator 223.

【0182】ユニット制御装置280による前面パネル
201上の各種表示器の状態遷移を〔表8〕に示す。
Table 8 shows the state transition of various indicators on the front panel 201 by the unit controller 280.

【0183】[0183]

【表8】 [Table 8]

【0184】同図において○は点灯、×は消灯、△は点
滅、Dは投入金額に応じた数値表示、Bは金額に対応し
たランプを点灯することをそれぞれ意味する。なお、
〔表8〕には各状態において紙幣挿入口211の紙幣受
付状態がどのようになっているかも併せて示した。これ
よりカードおよび釣銭が除去されるまで次の紙幣挿入が
できないことが分かる。
In the figure, ○ indicates lighting, X indicates no light, Δ indicates blinking, D indicates numerical display according to the inserted amount, and B indicates turning on a lamp corresponding to the amount. In addition,
Table 8 also shows what the bill receiving state of the bill insertion slot 211 is in each state. This indicates that the next bill cannot be inserted until the card and change are removed.

【0185】図44には、ユニット制御装置280の構
成例が示されている。
FIG. 44 shows a configuration example of the unit control device 280.

【0186】発行機のユニット制御装置280は、カー
ドリーダ制御装置288およびカード発行制御装置79
0を統括的に制御するユニットコントローラ290と、
管理装置400とのデータ伝送に係る制御をするデータ
伝送コントローラ551と、データ伝送コントローラの
制御下でネットワークにおける送受信権の確立およびデ
ータの直並列変換を行うネットワークコントローラ55
3等から構成されており、通信系に関してはパチンコ機
のユニット制御装置180と全く同一の構成である。す
なわち、各コントローラ290と551間および551
と553間のデータの受け渡しは、デュアルポートメモ
リ(RAM)550および552を介して実行できるよ
うに構成されている。このうち、メモリ552は、送信
データ記憶領域と受信データ記憶領域とに分かれてお
り、全ての送受信データ長を同一長にする(パケット
化)のための調整機能と、データ伝送の高速化(2.5
Mbps)を計るための緩衝機能とをもっている。
The unit control device 280 of the issuing machine includes a card reader control device 288 and a card issue control device 79.
0, a unit controller 290 for comprehensively controlling 0.
A data transmission controller 551 for controlling data transmission with the management device 400, and a network controller 55 for establishing transmission / reception rights in a network and performing serial / parallel conversion of data under the control of the data transmission controller
The communication system has exactly the same configuration as the unit control device 180 of the pachinko machine. That is, between each controller 290 and 551 and 551
And 553 are configured to be executed via dual port memories (RAMs) 550 and 552. Among them, the memory 552 is divided into a transmission data storage area and a reception data storage area, and an adjustment function for making all transmission / reception data lengths the same (packetization) and a high speed data transmission (2 .5
Mbps).

【0187】このパケットメモリ552は各々が256
バイトの容量を持つ4つのページで構成され、このうち
ページ0は送信要求パケットの送信に、またページ1は
定時データ送信パケットの送信に使用される。一方、ペ
ージ2,3は、データパケット受信用で交互に使用され
る。どのページを使うかは、データ伝送コントローラ5
51が、ネットワークコントローラ553に指示する。
データ伝送コントローラ551が受信パケットデータの
処理中、次のパケットデータが送られてきたとしても、
他のページに受信されるため、確実に全てのパケットを
受信できる。各コントローラ551,553を同時に初
期化できるようにするため共通のリセット回路555が
設けられている。
Each of the packet memories 552 has 256
It is composed of four pages each having a byte capacity, of which page 0 is used for transmitting a transmission request packet and page 1 is used for transmitting a regular data transmission packet. On the other hand, pages 2 and 3 are used alternately for data packet reception. Which page to use depends on the data transmission controller 5
51 instructs the network controller 553.
While the data transmission controller 551 is processing the received packet data, even if the next packet data is sent,
Since it is received by another page, all packets can be received reliably. A common reset circuit 555 is provided so that the controllers 551 and 553 can be initialized at the same time.

【0188】ネットワークコントローラ553の管理装
置400との接続側には、受信データを波形整形すると
ともに送信データのドライブ能力を上げるために信号の
レベル変換を行う信号変換回路554および切換スイッ
チ542を介して、光コネクタ186に接続可能にされ
ているとともに、低層ネットワークの伝送ラインが同軸
ケーブルで構成された場合にも対応できるように切換ス
イッチ542を介して、送信信号と受信信号の分離およ
び結合を図る分岐回路540に接続可能にされている。
上記光コネクタ186に光トランシーバ285が接続さ
れる。
The connection side of the network controller 553 with the management device 400 is provided via a signal conversion circuit 554 and a changeover switch 542 for performing waveform shaping of received data and level conversion of signals in order to increase the drive capability of transmitted data. The transmission and reception signals are separated and coupled via the changeover switch 542 so as to be connectable to the optical connector 186 and to cope with the case where the transmission line of the low-layer network is constituted by a coaxial cable. The connection can be made to the branch circuit 540.
An optical transceiver 285 is connected to the optical connector 186.

【0189】さらに、データ伝送コントローラ551と
ネットワークコントローラ553との間には、データ伝
送コントローラ551からの要求に応じてネットワーク
コントローラ553がデータの受信結果を記憶するため
のラッチ回路561と、データ伝送コントローラ551
が、ネットワークコントローラ553に対するデータ送
信指令等のコマンドを記憶させるラッチ回路562およ
び低層ネットワーク用アドレスを記憶させるラッチ回路
563と、ユニット制御装置280内の通信制御状態の
異常を表示するための3個のLEDランプからなるモニ
タ表示器556への表示データを記憶するラッチ回路5
64が設けられている。557は上記各ラッチ回路56
1〜564に与えられたアドレスをデコードして選択信
号を発生するデコーダである。
Further, between the data transmission controller 551 and the network controller 553, a latch circuit 561 for storing the data reception result by the network controller 553 in response to a request from the data transmission controller 551, and a data transmission controller 551
There are a latch circuit 562 for storing a command such as a data transmission command to the network controller 553 and a latch circuit 563 for storing a low-layer network address, and three latch circuits 563 for displaying an abnormal communication control state in the unit control device 280. Latch circuit 5 for storing display data to monitor display 556 comprising an LED lamp
64 are provided. 557 is the latch circuit 56
This is a decoder that decodes addresses given to 1 to 564 and generates a selection signal.

【0190】一方、発行機のユニット制御装置280が
パチンコ機のユニット制御装置180と異なる点は、ユ
ニットコントローラ290がカードリーダ制御装置28
8と直接交信することはせず、カード発行制御装置79
0を介して行なうことである。そのため、ユニットコン
トローラ290とカード発行制御装置790のとの間に
は送受信データのレベル変換を行うトランシーバ571
が接続されている。
On the other hand, the point that the unit controller 280 of the issuing machine is different from the unit controller 180 of the pachinko machine is that the unit controller 290 is different from the card reader controller 28.
8 and does not communicate directly with the
0. Therefore, between the unit controller 290 and the card issuing control device 790, the transceiver 571 that performs level conversion of transmission / reception data is provided.
Is connected.

【0191】また、ユニットコントローラ290には、
台番号設定器205やリセットスイッチ207からの入
力信号を所定のタイミングでデータバス581上にのせ
たり発行中表示器221等の各種ランプを表示させる駆
動信号をラッチしたりする入出力コントローラ576
と、紙幣識別器210、紙幣払出器230および購入選
択スイッチ212からの入力信号を所定のタイミングで
データバス581上へのせ、かつ紙幣識別器210およ
び紙幣払出器230への制御信号をラッチする入出力コ
ントローラ578が接続されている。
The unit controller 290 includes:
An input / output controller 576 for placing input signals from the unit number setting unit 205 and the reset switch 207 on the data bus 581 at a predetermined timing and latching drive signals for displaying various lamps such as the in-progress display 221.
And input signals from the bill validator 210, the bill dispenser 230, and the purchase selection switch 212 on the data bus 581 at a predetermined timing, and latch the control signals to the bill validator 210 and the bill dispenser 230. An output controller 578 is connected.

【0192】ユニットコントローラ290から紙幣識別
器210への制御信号としては、真紙幣と判定された紙
幣を10000円、5000円、1000円の区別をし
て金庫内へ収納するための指示信号と、紙幣挿入口への
紙幣挿入を可としたり、不可としたりするための指示信
号がある。
Control signals from the unit controller 290 to the bill validator 210 include an instruction signal for storing a bill determined to be a true bill in a safe while distinguishing between 10,000 yen, 5000 yen, and 1000 yen, and There is an instruction signal for enabling or disabling insertion of a bill into the bill insertion slot.

【0193】また、紙幣識別器210からユニットコン
トローラ290に対する入力信号には、挿入紙幣が真の
10000円紙幣と判定したときの信号と、挿入紙幣を
真の5000円紙幣と判定したときの信号と、挿入紙幣
を真の1000円紙幣と判定したときの信号と、紙幣判
定後に、紙幣挿入口方向へ紙幣が引き抜かれたときに出
力されるアラーム信号と、紙幣の挿入があり、該紙幣を
識別中であることを示すための信号と、紙幣詰まりが発
生したことを示すための信号と、金庫内の紙幣収納が満
杯になったことを示すための信号とがある。
The input signals from the bill validator 210 to the unit controller 290 include a signal when the inserted bill is determined to be a true 10,000 yen bill and a signal when the inserted bill is determined to be a true 5000 yen bill. There is a signal when the inserted bill is determined to be a true 1000 yen bill, an alarm signal output when the bill is pulled out toward the bill insertion slot after the bill determination, and insertion of the bill, and the bill is identified. There is a signal indicating that the banknotes are being stored, a signal indicating that banknote jam has occurred, and a signal indicating that the banknote storage in the safe is full.

【0194】一方、ユニットコントローラ290から紙
幣払出器230に対する制御信号としては、紙幣払出枚
数をバイナリコードで設定するための指示信号と、枚数
設定値に基づいた紙幣の払出しを実行させるための指示
信号と、払出し実行結果を表示するためのモニタ表示器
(図示しない)の表示をクリアにするための指示信号と
がある。
On the other hand, the control signals from the unit controller 290 to the bill dispenser 230 include an instruction signal for setting the number of bills to be dispensed in a binary code and an instruction signal for executing the dispensing of bills based on the set number of sheets. And an instruction signal for clearing the display of a monitor display (not shown) for displaying the payout execution result.

【0195】また、紙幣払出器230からユニットコン
トローラ290に対する入力信号としては、紙幣を1枚
出す度に出力される信号と、払出し中装置内で異常が発
生し、払出し動作が実行できないときに出力されるアラ
ーム信号と、紙幣収納部の紙幣残量が20枚以下になっ
たことを示す信号と、紙幣払出し動作を実行中であるこ
とを示すための信号と、紙幣払出し動作が終了し、紙幣
発行口の紙幣が取り除かれたことを示すための信号とが
ある。
The input signals from the bill dispenser 230 to the unit controller 290 include a signal output each time one bill is dispensed and a signal output when an abnormality occurs in the dispensing apparatus and the dispensing operation cannot be executed. Alarm signal, a signal indicating that the remaining amount of bills in the bill storage unit has become 20 or less, a signal indicating that the bill dispensing operation is being performed, and the bill dispensing operation is completed. There is a signal indicating that the bill at the issuing port has been removed.

【0196】さらに、ユニットコントローラ290に
は、購入金額を表示する金額表示器213や発行機の異
常の種類を示す番号を表示するモニタ表示機206をダ
イナミック表示させるためのデコーダ586,587と
デコーダドライバ588,589やデータバス581を
介して接続されている。
Further, the unit controller 290 includes decoders 586, 587 and a decoder driver for dynamically displaying an amount display 213 for displaying the purchase price and a monitor display 206 for displaying a number indicating the type of abnormality of the issuing machine. 588, 589 and a data bus 581.

【0197】〔表9〕に、上記モニタ表示器206に表
示されるエラー番号とその内容および処理の一例を示
す。
[Table 9] shows an example of error numbers displayed on the monitor display unit 206, their contents, and processing.

【0198】[0198]

【表9】 [Table 9]

【0199】上記〔表9〕において、*印の付されてい
るエラーが発生した場合はシステムダウンとしてリセッ
トがかかる。また、エラー表示が点滅している場合はエ
ラー回復処理後、リセットボタンを押す必要があること
を示している。
In Table 9 above, when an error marked with an asterisk occurs, the system is reset and reset. When the error display is blinking, it indicates that the reset button needs to be pressed after the error recovery processing.

【0200】なお、585はユニットコントローラ29
0から出力されるアドレス信号をデコードしてプログラ
ムメモリ558やユニットメモリ550、入出力コント
ローラ576,578およびデコーダ586,587、
デコーダドライバ588,889の選択信号を形成する
デコーダである。
Note that 585 is the unit controller 29
The address signal output from 0 is decoded and the program memory 558 and the unit memory 550, the input / output controllers 576 and 578, the decoders 586 and 587,
This is a decoder for generating a selection signal for the decoder drivers 588 and 889.

【0201】さらに、この実施例のユニット制御装置2
80においては、金額表示器213を駆動させるべくユ
ニットコントローラ290から出力される表示データの
うち、2msのような間隔で周期的に出力される桁セレ
クト信号(コモン信号)をリセット回路555に、ウォ
ッチドッグパルスとして入力するようにしている。リセ
ット回路555はパワーオンリセットの他、このウォッ
チドッグパルスを監視してパルスがなくなると各コント
ローラ290,551,553に対するリセット信号を
発生する。
Further, the unit control device 2 of this embodiment
In 80, of the display data output from the unit controller 290 to drive the money amount display 213, the digit select signal (common signal) periodically output at intervals of 2 ms is sent to the reset circuit 555, Input as a dog pulse. The reset circuit 555 monitors the watchdog pulse in addition to the power-on reset, and generates a reset signal for each controller 290, 551, 553 when the pulse disappears.

【0202】上記のごとくユニット制御装置280は、
管理装置400、カード発行制御装置790の二方向に
情報交換の窓口を有しており、管理装置400の制御下
のもとにカードを発行するための制御を行なうととも
に、発行処理の結果として発生する発行機における稼働
情報を定期的に管理装置に送信するソフトウェアを有し
ている。
As described above, the unit control device 280
It has a window for information exchange in two directions: the management device 400 and the card issuance control device 790, and performs control for issuing a card under the control of the management device 400, and generates information as a result of the issuance process. And software for periodically transmitting operation information of the issuing machine to the management device.

【0203】管理装置との間のデータの送受信は、パチ
ンコ機と同様ユニットメモリ550を介して行なう。ユ
ニットメモリ550の構成はパチンコ機のそれと全く同
一(図26参照)であり、送信データエリアSDAと、
受信データエリアRDAと、送信データや受信データが
メモリ内にあることを相手方のコントローラに伝えるた
めのコマンドやステータス情報の入る共有データエリア
CDAとが設けられている。
Transmission and reception of data with the management device is performed via the unit memory 550 as in the case of the pachinko machine. The configuration of the unit memory 550 is exactly the same as that of the pachinko machine (see FIG. 26).
A reception data area RDA and a shared data area CDA for storing commands and status information for notifying the controller of the other party that transmission data and reception data are in the memory are provided.

【0204】〔表10〕および〔表11〕に、各々上記
ユニットメモリ550内の送信データエリアSDAおよ
び受信データエリアRDAの構成例を示す。交信用エリ
アCCAの構成はパチンコ機のユニットメモリのそれと
全く同一である(〔表3〕参照)。
Tables 10 and 11 show configuration examples of the transmission data area SDA and the reception data area RDA in the unit memory 550, respectively. The configuration of the communication area CCA is exactly the same as that of the unit memory of the pachinko machine (see [Table 3]).

【0205】[0205]

【表10】 [Table 10]

【0206】[0206]

【表11】 [Table 11]

【0207】上記〔表10〕に示されているホットコー
ドは、システムの立上りのときに管理装置400がユニ
ットメモリ550の送信エリア内に、例えば01010
1・・・・01なるコードを書き込んでおいて、定期的
に管理装置に送って、静電気等のノイズによるRAMデ
ータの破壊の有無をチェックし、送信データの異常を速
やかに検出できるようになっている。
The hot code shown in [Table 10] is stored in the transmission area of the unit memory 550 by the management apparatus 400 when the system starts up.
... 01 are written and sent to the management device periodically to check for the destruction of the RAM data due to noise such as static electricity and to detect abnormalities in the transmission data quickly. ing.

【0208】なお、上記〔表10〕に示されているモニ
タ情報1は、〔表12〕に示すようにシステム立上り時
のテスト実行中を示すビット、初期値設定/未設定を示
すビット、ホットコードエラーを示すビット、ローカル
ネットワーク(伝送ケーブル500)の異常を示すビッ
ト(低層用と高層用の2ビット)、発行機異常を示すビ
ット等により構成されている。
As shown in [Table 12], the monitor information 1 shown in [Table 10] includes a bit indicating that a test is being executed at the time of system startup, a bit indicating initial value setting / not set, and a hot bit. It is composed of a bit indicating a code error, a bit indicating an abnormality in the local network (transmission cable 500) (two bits for a low layer and a high layer), a bit indicating an abnormality in an issuer, and the like.

【0209】また、モニタ情報2は、〔表12〕に示す
ようにカードリーダの異常を示すビット、カードの有無
を示すビット、同紙幣タンク内の状態を示すビット、紙
幣詰まりを示すビット、紙幣の強制引き抜きを示すビッ
ト、残金払出器の紙幣タンク内の状態を示すビット、残
金払出器の異常を示すビット等により構成されている。
As shown in [Table 12], the monitor information 2 includes a bit indicating a failure of the card reader, a bit indicating the presence or absence of a card, a bit indicating a state in the banknote tank, a bit indicating a jam in the banknote, and a bit indicating a banknote jam. , A bit indicating the state of the balance dispenser in the bill tank, a bit indicating abnormality of the balance dispenser, and the like.

【0210】[0210]

【表12】 [Table 12]

【0211】[0211]

【表13】 [Table 13]

【0212】図45〜図47に前述した精算機300の
構成例を示す。
FIGS. 45 to 47 show examples of the structure of the settlement machine 300 described above.

【0213】この実施例の精算機300は、挿入された
カードCDの磁気記録部に記録されたカード番号を読み
取ってコードのチェックを行なうカードリーダを内蔵
し、管理装置からのデータを受け取った後カードを回収
するカード精算装置310と、そのカードについて使用
されずに残った未使用金額に相当する金額を払い戻すた
めの残金払出装置321,325と、遊技により獲得し
た持玉数を印刷したレシートを発行するプリンタ330
と各種表示器340〜342および、精算機300全体
の制御を行なうユニット制御装置350等により構成さ
れている。
The settlement machine 300 of this embodiment has a built-in card reader for reading a card number recorded in the magnetic recording section of the inserted card CD and checking the code, and receives data from the management device. A card settlement device 310 for collecting cards, a balance payment devices 321 and 325 for refunding an amount corresponding to an unused amount remaining unused for the card, and a receipt printed with the number of balls held by the game. Issuing printer 330
And various displays 340 to 342, and a unit control device 350 for controlling the entire settlement machine 300.

【0214】この精算機300は上面パネル301が上
下方向回動可能に構成され、上記カード精算装置310
に対応して、上面パネル301の前端にはカード挿入口
302が、また上面パネル301の上面には、獲得した
賞球数(持玉数)を表示する玉数表示器303および未
使用金額を表示する金額表示器304が設けられてい
る。しかも、この実施例の精算機300はパチンコ店に
設置されるカウンタを構成できるように上面がフラット
に形成され、かつ玉数表示器303と金額表示器304
が2組設けられており、そのうち一つは前方に傾斜して
遊技客にとって読み取り易く、他方は後方に傾斜してカ
ウンタ内側の係員にとって読み取り易いようになってい
る。また、上面パネル301の上面後方寄りには、上記
表示器の表示を「0」にクリアする表示リセットスイッ
チ305が設けられている。遊技客が、先ずカード挿入
口302よりカードを投入すると、カード精算機300
内のカードリーダ800がカードCDの磁気面に記録さ
れているカード番号を読み取って管理装置400に送
り、そのカードに関するデータを受け取る。そして、金
額表示器304に未使用金額を表示させるとともに、玉
数表示器303に獲得玉数を表示させ、プリンタ330
により未使用金額と獲得玉数および来歴データ等を印字
したレシートを発行する。また、カードリーダ内の挿入
されたカードは穿孔装置により、所定の穿孔位置PH5
にパンチ穴(精算済孔)の形成がなされてから内部のカ
ード回収タンク314内に排出される。
The settlement machine 300 has an upper panel 301 rotatable up and down.
In response to the above, a card insertion slot 302 is provided at the front end of the upper panel 301, and a ball number display 303 for displaying the number of awarded balls (number of balls) and an unused amount are displayed on the upper surface of the upper panel 301. An amount display 304 for displaying is provided. In addition, the settlement machine 300 of this embodiment has a flat upper surface so as to constitute a counter installed in a pachinko parlor, and has a ball number display 303 and an amount display 304.
Are provided, one of which is inclined forward to make it easier for a player to read, and the other is inclined backward to make it easier for a staff member inside the counter to read. Further, a display reset switch 305 for clearing the display of the display to “0” is provided near the rear of the upper surface of the upper panel 301. When a player first inserts a card through the card insertion slot 302, the card settlement machine 300
The card reader 800 reads the card number recorded on the magnetic surface of the card CD, sends the card number to the management device 400, and receives data on the card. Then, while displaying the unused amount on the amount display 304 and the acquired number of balls on the number-of-balls display 303, the printer 330
Issue a receipt on which the unused amount, the number of obtained balls, the history data and the like are printed. The inserted card in the card reader is pierced by a piercing device at a predetermined piercing position PH5.
After a punch hole (settled hole) is formed, the paper is discharged into the internal card collection tank 314.

【0215】なお、この実施例では、精算機のカードリ
ーダには記録用ヘッドが不用であるが、記録用ヘッドを
設けて、精算済カードについては磁気面のデータを消去
して排出することにより、カード番号の変換方式の解読
を不能にし、カードの偽造を防止するようにしてもよ
い。
In this embodiment, a recording head is unnecessary for the card reader of the settlement machine. However, a recording head is provided to erase and discharge the data on the magnetic surface of the settlement-completed card. Alternatively, decoding of the card number conversion method may be disabled to prevent forgery of the card.

【0216】カードリーダとしては、パチンコ機100
のカードリーダ800(図27参照)をそのまま使用し
ており、発行機用のカードリーダと同様後方へカードが
排出可能にされており、カードリーダの後方にカード回
収タンク314が配置されている。プリンタ330は、
ロール状態でストックされている白紙のシートを引き出
して、その表面に発行年月日と、獲得玉数および未使用
残金額さらにはカード来歴等を印刷し、上面パネル30
1の凹部301a内に開口されたレシート発行口331
より排出する。
As a card reader, the pachinko machine 100 is used.
The card reader 800 (see FIG. 27) is used as it is, and the card can be ejected backward like the card reader for the issuing machine. A card collection tank 314 is arranged behind the card reader. The printer 330 is
Pull out the blank sheet stocked in the roll state, print the date of issue, the number of balls acquired, the amount of unused money, and the card history, etc. on the surface, and print the top panel 30
Receipt issuing port 331 opened in the first concave portion 301a
Discharge more.

【0217】これとともに、未使用金額に相当する金銭
が残金払出装置より払い出される。残金払出装置は、紙
幣を払い出す紙幣払出器321と100円硬貨を払い出
す硬貨払出器325からなり、紙幣払出器321に対応
して全面パネル306には紙幣排出口322が、また硬
貨払出器325に対応して硬貨払出口326が設けられ
ている。また、精算においては、未使用金として100
0円未満の端数が生じるので、上記のごとく100円単
位の硬貨を払い出す硬貨払出器325が必要とされる。
At the same time, money corresponding to the unused amount is paid out from the balance payout device. The balance dispensing device includes a bill dispenser 321 for dispensing bills and a coin dispenser 325 for dispensing 100-yen coins. A coin payout port 326 is provided corresponding to 325. In addition, in the settlement, 100
Since a fraction of less than 0 yen is generated, a coin dispenser 325 for dispensing coins of 100 yen units is required as described above.

【0218】さらに、上記精算機300の上面パネル3
01の上面には、カード精算中であることを示す精算中
ランプ341、カード精算不能状態を示す精算中止ラン
プ342が設けられている。
Further, the upper panel 3 of the payment machine 300
On the upper surface of 01, there is provided a check-in lamp 341 indicating that the card is being settled, and a check-out stop lamp 342 indicating that the card cannot be settled.

【0219】また、開閉可能な全面パネル306の内側
には、図46に示すように紙幣不足等精算機の異常をエ
ラー番号を用いて表示するモニタ表示器343と、この
モニタ表示器343の表示をリセットするリセットスイ
ッチ351と遊技店に設置される複数の精算機の各々を
区別して、特定のカードの精算を行なった精算機を管理
装置400において把握できるようにするための台番号
設定器352と、閉店時に硬貨払出器325のタンク内
に残った硬貨を排出させるための硬貨抜取スイッチ35
3と、プリンタ330によって発行するレシートに来歴
データを印字するか否か指示を与える印字切替スイッチ
354が設けられている。
Further, inside the openable and closable front panel 306, as shown in FIG. 46, a monitor display 343 for displaying an abnormality of the settlement machine such as a shortage of bills using an error number, and a display of the monitor display 343. A reset switch 351 for resetting the number and a number setting device 352 for distinguishing each of a plurality of payment machines installed in the game arcade so that the management device 400 can recognize the payment machine that has performed the payment for the specific card. And a coin removal switch 35 for discharging coins remaining in the tank of the coin dispenser 325 when the store is closed.
3 and a print changeover switch 354 for instructing whether or not to print the history data on a receipt issued by the printer 330.

【0220】上記台番号設定器352により設定された
台番号は管理装置400に送られて、データ通信の際の
伝送アドレスの生成および各精算機ごとのデータファイ
ル作成に供される。
The machine number set by the machine number setting unit 352 is sent to the management device 400, and is used for generating a transmission address in data communication and creating a data file for each settlement machine.

【0221】カード精算装置310は、図47に示すよ
うにカードリーダ800と、その後方に配置された補助
搬送装置311と、ユニット制御装置350からの指示
に従ってカードリーダ800や補助搬送装置311の制
御を司るカード精算制御装置312と、それらの電源装
置313および補助搬送装置311の後方に配置された
カード回収タンク314とにより構成されている。
As shown in FIG. 47, the card settlement device 310 includes a card reader 800, an auxiliary transport device 311 disposed behind the card reader 800, and a controller for controlling the card reader 800 and the auxiliary transport device 311 in accordance with an instruction from the unit control device 350. And a card collection tank 314 disposed behind the power supply unit 313 and the auxiliary transport unit 311.

【0222】なお、上記カード回収タンク314はカー
ド精算装置310のフレーム315に固定された縦長の
タンク収納枠316内に着脱可能に挿入されるようにな
っている。また、上記フレーム315の側面には2つの
カウンタ317と318が設けられ、そのうち一方に回
収したカードの枚数を表示するようになっている。他方
のカウンタは未使用である。
The card collection tank 314 is detachably inserted into a vertically long tank storage frame 316 fixed to a frame 315 of the card settlement device 310. Further, two counters 317 and 318 are provided on the side surface of the frame 315, and one of the counters 317 and 318 displays the number of collected cards. The other counter is unused.

【0223】補助搬送装置311は、搬送ローラ36
1,362と、それらに捲回された上下一対の搬送ベル
ト363,364と、下方の搬送ベルト364を駆動す
る搬送モータ365とからなり、カードリーダ800の
後端から排出されたカードを一対のベルト363と36
4の間に挟んで後方の回収タンク314へ向かって移送
させるようになっている。
The auxiliary transport device 311 is provided with a transport roller 36.
1, 362, a pair of upper and lower transport belts 363 and 364 wound therearound, and a transport motor 365 for driving the lower transport belt 364. Belts 363 and 36
4 and is transported toward the collection tank 314 at the rear.

【0224】図47には、図示されていないが、カード
回収タンク314にはカードがタンク内に排出されたこ
と、または一杯になったことを検出するカードセンサ3
19が設けられている(図48参照)。ただし、この実
施例の精算機300は前記台番号設定器352の最上位
桁を「9」にセットしたときにのみカード没収モードと
なり、精算のため挿入されたカードを精算後に上記カー
ド回収タンクに誘導して没収するようになっており、そ
れ以外のときは精算後にカードを前方へ排出して遊技客
に返却するようになっている。
Although not shown in FIG. 47, the card recovery tank 314 includes a card sensor 3 for detecting that the card has been discharged into the tank or that the card is full.
19 are provided (see FIG. 48). However, the settlement machine 300 of this embodiment is in the card confiscation mode only when the highest digit of the machine number setting device 352 is set to “9”, and the card inserted for settlement is settled in the card collection tank after settlement. The card is guided and confiscated, and at other times, the card is ejected forward after the settlement and returned to the player.

【0225】図48には、上記のごとく構成された精算
機300の制御システムの構成例が示されている。
FIG. 48 shows an example of the configuration of a control system of the payment machine 300 configured as described above.

【0226】この実施例の制御システムは、大別してユ
ニット制御装置350による制御系とカード精算制御装
置312による制御系とに分割されており、ユニット制
御装置350が、紙幣および硬貨払出器321,325
や各種表示器303,304,341〜343およびプ
リンタ330の制御と各種スイッチ類351〜354,
305の入力の受付けを担当しており、カード精算制御
装置312が補助搬送装置311と、回収したカードの
計数表示手段としてのカウンタ317と、カードのチェ
ックおよび磁気データの読出しを行なうカードリーダ8
00の制御装置388の統括的な制御を担当している。
そして、ユニット制御装置350と精算制御装置312
との間の交信はシリアル通信によって行われる。
The control system of this embodiment is roughly divided into a control system by the unit control device 350 and a control system by the card settlement control device 312. The unit control device 350 includes the bill and coin dispensers 321 and 325.
And control of various displays 303, 304, 341-343 and printer 330 and various switches 351-354,
The card settlement controller 312 is in charge of accepting the input of the card 305, and the card settlement controller 312 is provided with an auxiliary transporting device 311; a counter 317 as a means for counting and displaying collected cards; and a card reader 8 for checking cards and reading magnetic data.
00 is in charge of the overall control of the control device 388.
Then, the unit controller 350 and the settlement controller 312
Communication with the communication is performed by serial communication.

【0227】一方、ユニット制御装置350は、管理装
置400との間でカード番号等のデータの送受信を行な
うため、光トランシーバ385を介して光ケーブルまた
は同軸ケーブルからなる低層ネットワーク用通信ライン
510に接続可能にされている。
On the other hand, the unit control device 350 can be connected to a low-layer network communication line 510 made of an optical cable or a coaxial cable via the optical transceiver 385 in order to transmit and receive data such as a card number to and from the management device 400. Has been.

【0228】精算機300のユニット制御装置350の
構成は、図44に示されている発行機200のユニット
制御装置280と殆ど同一であり、ユニットコントロー
ラ290に相当するユニットコントローラ390とユニ
ットメモリ550、データ伝送コントローラ551、パ
ケットメモリ552、ネットワークコントローラ553
等により構成されている。
The structure of the unit controller 350 of the settlement machine 300 is almost the same as that of the unit controller 280 of the issuing machine 200 shown in FIG. 44, and a unit controller 390 and a unit memory 550 corresponding to the unit controller 290 are provided. Data transmission controller 551, packet memory 552, network controller 553
And the like.

【0229】精算機300のユニットコントローラ39
0は、上記構成部品の制御やカード番号のチェック、カ
ードデータの受信、表示等を行なって精算処理を実行す
るとともに、稼動データを収集し、それをデュアルポー
トメモリからなるユニットメモリ550内の送信データ
エリアSDAに書き込む。ユニットメモリ550に書き
込まれた稼動データは、データ伝送コントローラ551
による伝送ケーブルを介した管理装置400との間のデ
ータ交信により管理装置に送られる。管理装置から送ら
れて来るデータも、一旦ユニットメモリ550内の受信
データエリアRDAに書き込まれ、ユニットコントロー
ラ390がこれを読み取ることによってデータの受信が
行なわれる。ユニットメモリ550には送信データや受
信データがメモリ内にあることを相手方のコントローラ
に伝えるためのコマンドやステータス情報の入る共有デ
ータエリアCDAが設けられている。
Unit controller 39 of payment machine 300
0 controls the above components, checks the card number, receives and displays the card data, executes the settlement process, collects the operation data, and transmits the operation data in the unit memory 550 composed of the dual port memory. Write to data area SDA. The operation data written in the unit memory 550 is transmitted to the data transmission controller 551.
Is transmitted to the management device by data communication with the management device 400 via the transmission cable. The data sent from the management device is also once written in the reception data area RDA in the unit memory 550, and the unit controller 390 reads the data to receive the data. The unit memory 550 is provided with a shared data area CDA in which a command and status information for transmitting the transmission data and the reception data in the memory to the other controller are stored.

【0230】〔表14〕および〔表15〕に、各々上記
ユニットメモリ550内の送信データエリアSDAおよ
び受信データエリアRDAの構成例を示す。交信用エリ
アCCAの構成はパチンコ機のユニットメモリのそれと
全く同一である(〔表3〕参照)。
Tables 14 and 15 show examples of the configuration of the transmission data area SDA and the reception data area RDA in the unit memory 550, respectively. The configuration of the communication area CCA is exactly the same as that of the unit memory of the pachinko machine (see [Table 3]).

【0231】[0231]

【表14】 [Table 14]

【0232】[0232]

【表15】 [Table 15]

【0233】〔表15〕に示すようにこの実施例ではカ
ードの来歴データも受信して、これを時刻データととも
にレシートに印刷して排出することにより、遊技客に対
し信頼度の高い精算データであることを印象づけること
ができる。ただし、来歴データはカードファイル内に入
っている最高20回までのデータである。
As shown in [Table 15], in this embodiment, the card history data is also received, and this is printed on the receipt together with the time data and is ejected, so that the settlement data with high reliability for the player can be obtained. You can impress it. However, the history data is data of up to 20 times contained in the card file.

【0234】なお、上記〔表14〕に示されているモニ
タ情報1は、〔表16〕に示すようにシステム立上り時
のテスト実行中を示すビット、初期値設定/未設定を示
すビット、ホットコードエラーを示すビット、ローカル
ネットワーク(伝送ケーブル500)の異常を示すビッ
ト(低層用と高層用の2ビット)、精算機異常を示すビ
ット等により構成されている。
As shown in [Table 16], the monitor information 1 shown in [Table 14] includes a bit indicating that a test is being executed at the time of system startup, a bit indicating initial value setting / not set, and a hot bit. It is composed of a bit indicating a code error, a bit indicating an abnormality in the local network (transmission cable 500) (two bits for a low layer and a high layer), a bit indicating an error in a checkout machine, and the like.

【0235】[0235]

【表16】 [Table 16]

【0236】また、モニタ情報2は、〔表17〕に示す
ようにプリンタの異常を示すビット、カードリーダの異
常を示すビット、硬貨タンク内の状態を示すビット、硬
貨払出機の硬貨詰まりを示すビット、硬貨払出機の異常
を示すビット、紙幣払出機の紙幣タンク内の状態を示す
ビット、紙幣払出機の異常を示すビット等により構成さ
れている。
As shown in [Table 17], the monitor information 2 indicates a bit indicating a printer error, a bit indicating a card reader error, a bit indicating a state in a coin tank, and a jam of a coin dispenser. It is composed of a bit, a bit indicating an abnormality of the coin dispensing machine, a bit indicating a state of the bill dispensing machine in the bill tank, a bit indicating an abnormality of the bill dispensing machine, and the like.

【0237】[0237]

【表17】 [Table 17]

【0238】次に、前述のごとく構成されたパチンコ機
100、カード発行機200および精算機300を統括
的に制御するとともに稼動データをリアルタイムに収集
して、停電や故障が発生しても復旧時に直ちに元のデー
タ状態を復活させてシステム各部の動作を再開させ、ま
た遊技店の経営に必要なデータの集計を可能にするとと
もに、カードが破損した場合に同一資格の復活カードを
発行する管理装置400について説明する。
Next, the pachinko machine 100, the card issuing machine 200, and the payment machine 300 configured as described above are comprehensively controlled, and operation data is collected in real time. A management device that immediately restores the original data state, restarts the operation of each part of the system, enables the aggregation of data necessary for the management of the amusement store, and issues a resurrection card of the same qualification when the card is damaged 400 will be described.

【0239】図49に管理装置400の具体的な構成
を、また図50に管理装置のシステム構成を示す。
FIG. 49 shows a specific configuration of the management device 400, and FIG. 50 shows a system configuration of the management device.

【0240】管理装置400は、ミニコンクラスの中央
処理装置CPUや半導体メモリ(RAM)からなる主記
憶装置M−MEM、タイマ(カレンダを含む)TMR、
通信制御装置SCC等が格納されたメイン制御装置40
1と、このメイン制御装置401の上部に設けられた補
助記憶装置としてのフロッピディスク記憶装置402、
ハードディスク記憶装置403とパーソナルコンピュー
タ410とにより構成されている。また、パーソナルコ
ンピュータ410は、メッセージや収集データを表示す
るCRT表示装置411と、オペレータが指令や設定デ
ータを与えるためのコンソール412と、CPUを内蔵
し、メイン制御装置401内の中央処理装置と通信回線
および割込回路を介して接続されたローカル処理装置4
13と、収集データ等を印字するためのプリンタ414
とにより構成されている。
The management device 400 includes a central processing unit CPU of a minicomputer class, a main storage device M-MEM including a semiconductor memory (RAM), a timer (including a calendar) TMR,
Main control device 40 in which communication control device SCC and the like are stored
1 and a floppy disk storage device 402 as an auxiliary storage device provided above the main control device 401;
It comprises a hard disk storage device 403 and a personal computer 410. Further, the personal computer 410 has a built-in CRT display device 411 for displaying messages and collected data, a console 412 for the operator to give commands and setting data, and a CPU, and communicates with a central processing unit in the main control device 401. Local processing unit 4 connected via line and interrupt circuit
13 and a printer 414 for printing collected data and the like.
It is composed of

【0241】ローカル処理装置413と中央処理装置C
PUとを結合するため、通信制御装置406a,406
bがメイン制御装置401内に設けられている。
The local processing unit 413 and the central processing unit C
Communication control devices 406a, 406 for coupling with PU
b is provided in the main control device 401.

【0242】上記プリンタ414は、管理装置400の
スループットを向上させるため、印字されるデータを一
時的に格納するバッファ414aを備えている。
The printer 414 includes a buffer 414a for temporarily storing data to be printed in order to improve the throughput of the management device 400.

【0243】さらに、この管理装置400には、パチン
コ遊技システムに特有なものとして、復活カードや各端
末からシステムにアクションを起こさせる媒体としての
テスト用カードを発行するカードリーダ407やパチン
コ機で発生する“打止め”等、システムで発生した緊急
情報をリアルタイムで印字する補助プリンタ408が上
記メイン制御装置401の上部に設けられ、通信制御装
置406c,406dを介して中央処理装置CPUに接
続されている。
Further, the management apparatus 400 includes a card reader 407 that issues a resurrection card or a test card as a medium for causing the system to perform an action from each terminal and a pachinko machine that is unique to the pachinko gaming system. An auxiliary printer 408 for printing in real time emergency information generated in the system, such as "stop", is provided above the main control device 401 and connected to the central processing unit CPU via the communication control devices 406c and 406d. I have.

【0244】SCCは、ネットワークを介して各端末機
との間でデータ伝送を可能にするための伝送制御装置で
ある。
The SCC is a transmission control device for enabling data transmission to and from each terminal via a network.

【0245】また、停電発生時に、主記憶装置に揮発的
に保持されている全ての端末の稼動データや、発行した
全てのカードのデータをハードディスク記憶装置403
に移して保護できるようにするため、最低でも10分間
程度は管理装置を動作できるようにする補助電源装置4
09が、上記メイン制御装置401の下方に設けられて
いる。
When a power failure occurs, the operation data of all terminals volatilely held in the main storage device and the data of all issued cards are stored in the hard disk storage device 403.
Auxiliary power supply 4 that allows the management device to operate for at least about 10 minutes so that
09 is provided below the main control device 401.

【0246】なお、本実施例においては、主としてパチ
ンコ機100とカード発行機200、精算機300およ
び管理装置400からなるシステムについて説明する
が、この発明は店内放送装置や景品交換装置、自動販売
機等をも管理装置400の制御下におくようにしたシス
テムにまで拡張することができる。特に景品交換装置
は、カードを使って精算機300を通さずに直接景品と
交換できるような方式を容易に適用する可能性がある。
In this embodiment, a system mainly including a pachinko machine 100, a card issuing machine 200, a checkout machine 300, and a management device 400 will be described. However, the present invention relates to an in-store broadcasting device, a prize exchange device, and a vending machine. And the like can be extended to a system that is controlled by the management device 400. In particular, there is a possibility that the prize exchange apparatus can easily apply a system in which a prize can be exchanged directly without using the card and passing through the checkout machine 300.

【0247】さらに、管理装置400を構成するコンソ
ール412も、本実施例のパチンコ遊技システムに最も
適した独特のキー構成となっている。
Further, the console 412 constituting the management device 400 also has a unique key configuration most suitable for the pachinko game system of this embodiment.

【0248】図51に、コンソール412の構成例を示
す。同図の(B)はコンソールの上面すなわちパネル
面、同図の(A)はコンソールの背面を示す。
FIG. 51 shows an example of the configuration of the console 412. FIG. 1B shows the upper surface of the console, that is, the panel surface, and FIG. 1A shows the rear surface of the console.

【0249】図51において、421はシステムの各端
末に対する営業開始を指示するための開店スイッチ、4
22は同じく営業終了を指示するための閉店スイッチ
で、開店スイッチ421がオンされた後、閉店スイッチ
422がオンされるまでの間、各端末機におけるカード
の運用が可能となる。また、423は営業終了後に全端
末機の稼動データをフロッピディスク記憶装置402に
格納し、管理装置へ動作の停止を指示するための終了ス
イッチ、424は破損したカードの復活処理を指示する
ためのカード復活スイッチである。
In FIG. 51, reference numeral 421 denotes a store opening switch for instructing the start of business for each terminal of the system.
Reference numeral 22 denotes a store closing switch for instructing the end of business. The card can be operated in each terminal device after the store opening switch 421 is turned on until the store closing switch 422 is turned on. Reference numeral 423 denotes an end switch for storing the operation data of all terminals in the floppy disk storage device 402 after the business is closed, and an end switch for instructing the management device to stop the operation, and 424 for instructing a recovery process of the damaged card. It is a card resurrection switch.

【0250】なお、上記開店スイッチ421、閉店スイ
ッチ422、終了スイッチ423およびカード復活スイ
ッチ424の4つのスイッチは、本システムにとって特
に重要なスイッチであり、システム稼動中安易に操作さ
れるのを防止するため、その後方(図では上方)に設け
られたキースイッチ420に連動されており、キースイ
ッチ420を回してオンさせた状態でないと各スイッチ
421〜424を操作してオンさせることができないよ
うになっている。
The four switches of the store opening switch 421, the store closing switch 422, the end switch 423, and the card recovery switch 424 are particularly important switches for the present system, and are prevented from being easily operated during the operation of the system. Therefore, it is interlocked with the key switch 420 provided behind (the upper side in the figure), and unless the key switch 420 is turned on, the switches 421 to 424 cannot be operated to be turned on. Has become.

【0251】425,426,427は、通常のパーソ
ナルコンピュータ等のコンソールに設けられているのと
同種のテンキー、リターンキーおよびデリートキーであ
る。
Reference numerals 425, 426, and 427 denote ten keys, a return key, and a delete key similar to those provided on a console of a normal personal computer or the like.

【0252】一方、428はカードに関するデータや各
端末の稼動データ等をCRT表示装置411の画面上に
表示させる指令を与える表示メニュースイッチ、429
はCRT表示装置に表示されたデータの消去を要求する
CRTクリアスイッチである。また430はカードに関
するデータや各端末の稼動データ等をプリンタ414に
よって印字させる指令を与える印字メニュースイッチ、
431はプリンタ414による印字の中止を要求する印
字ストップスイッチである。432はパチンコ機におけ
る打止数や打止モード等の設定を要求するための設定ス
イッチ、433は、設定された打止数の賞品球が払い出
されて打止すなわち遊技継続不能状態になっているパチ
ンコ機の打止状態の解除指令を与えるための打止解除ス
イッチ、434は、営業終了時に端末機を種別ごとに強
制終了させたり、通信ネットワークの異常等に伴い正常
な制御やデータ収集が不能になった場合に全端末機を強
制終了させたり、あるいは遊技客の不正を発見した場合
に特定端末機を強制停止させるための強制終了スイッ
チ、435は強制停止された端末機の停止を解除させる
ための終了解除スイッチ、439は日時設定用スイッチ
である。また、実施例のコンソール412には、パチン
コ機での打止等緊急事態が発生した場合にオペレータの
喚起を促す音を発生するブザー440と、その発音停止
を指示するブザーストップスイッチ436とが設けられ
ている。
On the other hand, reference numeral 428 denotes a display menu switch for giving an instruction to display data on the card, operation data of each terminal, etc. on the screen of the CRT display device 411.
Is a CRT clear switch for requesting deletion of data displayed on the CRT display device. Reference numeral 430 denotes a print menu switch for giving a command to cause the printer 414 to print data on the card, operation data of each terminal, and the like.
Reference numeral 431 denotes a print stop switch for requesting the printer 414 to stop printing. Reference numeral 432 denotes a setting switch for requesting setting of the number of hits and the hitting mode in the pachinko machine, and 433 denotes a hitting, that is, a game continuation impossible state, in which a prize ball of the set hitting number is paid out. A stop release switch 434 for giving a release command of the stopped state of the pachinko machine that is used forcibly terminates the terminal by type at the end of business hours, or performs normal control and data collection due to a communication network abnormality or the like. A forced termination switch for forcibly terminating all terminals when it becomes impossible, or forcibly stopping a specific terminal when a player's fraud is discovered, 435 releases the suspension of the forcibly terminated terminal An end release switch 439 for performing the operation is a date and time setting switch. Further, the console 412 of the embodiment is provided with a buzzer 440 for generating a sound urging the operator to urge when an emergency such as a pachinko machine is hit and a buzzer stop switch 436 for instructing to stop sounding. Have been.

【0253】上記各スイッチのうち、図中2重枠で示さ
れているスイッチ421〜424,432〜436は、
ランプ内蔵型のスイッチで、これらのスイッチがオンさ
れて対応する処理の実行中もしくは状態継続中内蔵ラン
プが点灯される。ただし、ブザーストップスイッチ43
6内のランプは、ブザーと連動し、ブザー発音中点灯さ
れ、ストップスイッチ436が押されると消灯する。
Of the above switches, switches 421 to 424 and 432 to 436 indicated by double frames in the drawing are:
These switches are built-in lamps, and when these switches are turned on, the built-in lamps are turned on during execution of the corresponding processing or while the state is continued. However, the buzzer stop switch 43
The lamp in 6 is linked with the buzzer, is turned on while the buzzer is sounding, and turned off when the stop switch 436 is pressed.

【0254】さらに、この実施例のコンソール412に
は、その背面に、テストカード発行指令を与えるための
テストカードスイッチ437と、システム導入時に購入
玉の交換レートや店コード、端末機の総台数、入賞球1
個当たりの賞品球数等の設定値の設定要求を行なうため
のビルトインスイッチ438が設けられている。これら
のスイッチ437と438は、他のスイッチと異なり、
通常はほとんど使用しないスイッチであり、かつ特定の
者(遊技店の支配人等)が存在を知っていればよいスイ
ッチであるため、コンソールの背面に設けられている。
Further, the console 412 of this embodiment has a test card switch 437 for giving a test card issuance command on the back thereof, an exchange rate of purchased balls, a store code, the total number of terminals, Winning ball 1
A built-in switch 438 is provided for making a setting request such as the number of prize balls per piece. These switches 437 and 438 are different from other switches,
It is a switch that is rarely used, and is a switch that only needs to be known by a specific person (such as a manager of an amusement store), and is therefore provided on the back of the console.

【0255】ここで、上記テストカードについて言及す
る。既に説明した構成より明らかなように、この実施例
の遊技システムは、すべての端末機(パチンコ機、カー
ド発行機、精算機)が管理装置の制御下にあり、カード
番号等のやり取りによって稼動可能な状態に移行するよ
うになっており、端末単独では動作不能である。しかる
に、パチンコ機は使用頻度が高いため、玉詰まりやいわ
ゆるチューリップなどの役物が故障したりすることが多
いとともに、出玉率の調節のため遊技領域内の釘調整が
必要である。その場合、修理や釘調整後に試し打ちを行
なうことになるが、本実施例では、前述した各パチンコ
機の制御ユニット160内のテスト用スイッチ179を
オンさせ、かつ管理装置によって発行された特殊なテス
ト用カードを制御ユニット160のカード挿排口802
aより挿入すると、一定の持玉数が与えられてパチンコ
機単独で遊技動作が実行可能になるように構成されてい
る。これによって、非営業時における試し打ちではシス
テム全体を立ち上がらせる必要がない。また、営業中に
おいては、遊技中の稼働データを損なうことなく試し打
ちを行なうことができる。
Here, the test card will be described. As is clear from the configuration already described, in the gaming system of this embodiment, all terminals (pachinko machines, card issuing machines, settlement machines) are under the control of the management device, and can be operated by exchanging card numbers and the like. State, and the terminal cannot operate alone. However, since pachinko machines are frequently used, jams and so-called tulips and other accessories often break down, and it is necessary to adjust nails in the game area to adjust the payout rate. In this case, a test driving is performed after repair or nail adjustment. In this embodiment, the test switch 179 in the control unit 160 of each pachinko machine described above is turned on, and a special device issued by the management device is used. The test card is inserted into the card slot 802 of the control unit 160.
When inserted from "a", a certain number of balls is given, so that the pachinko machine can execute a game operation alone. As a result, it is not necessary to start up the entire system in trial running during non-business hours. In addition, during business hours, a trial hit can be performed without impairing the operation data during the game.

【0256】なお、管理装置400に設けられるカード
リーダ407は図27に示すパチンコ機内のカードリー
ダ800と全く同じ構成でよい。
The card reader 407 provided in the management device 400 may have exactly the same configuration as the card reader 800 in the pachinko machine shown in FIG.

【0257】ただし、内部に白紙カードを有さず、外部
から白紙カードを挿入して磁気面にコードを記録して排
出する方式を採るようにしてもよい。その場合にはカー
ドタンクを省略できる。また、管理装置400により発
行される前記テストカードや復活カードは必ずしも他の
一般カードのように使用年月日や発行通し番号等を明記
する必要がないので、印字装置を省略してもよい。ただ
し、印字装置を組み込んで、テストカードである旨を印
字して発行することもできる。なお、復活カード発行の
際には穿孔装置807によってカードの所定の穿孔位置
PH にパンチ穴を開けるようになっている。
However, a method may be adopted in which a blank card is inserted from outside, a code is recorded on a magnetic surface, and the blank is ejected, without a blank card inside. In that case, the card tank can be omitted. Further, since the test card and the resurrection card issued by the management device 400 do not necessarily need to specify the date of use and the serial number of the issuance unlike other general cards, the printing device may be omitted. However, it is also possible to incorporate a printing device and print out and issue the fact that the card is a test card. When a resurrection card is issued, a punching hole is punched at a predetermined punching position PH of the card by the punching device 807.

【0258】上述したように、この実施例の端末機10
0,200,300はすべて管理装置400の管理下に
置かれ、管理装置400が起動されていないと、原則と
して単独で動作できない。従って、システムの立上り時
には管理装置400によってすべての端末機に設定値を
与えてイニシャライズを行なう。しかも、このイニシャ
ライズに先立って、データ伝送を可能にするため各端末
機から台番号を吸い上げて1つ1つの伝送アドレスを形
成する。そして、システム稼動中はすべての端末機の稼
動データをリアルタイムで収集して主記憶装置M−ME
Mに保持するようになっている。
As described above, the terminal 10 of this embodiment
0, 200, and 300 are all under the control of the management apparatus 400, and unless the management apparatus 400 is activated, they cannot operate independently in principle. Therefore, at the time of system startup, the management apparatus 400 gives setting values to all terminals and initializes them. In addition, prior to the initialization, the terminal numbers are collected from each terminal to enable data transmission, and each transmission address is formed. During the operation of the system, the operation data of all the terminals is collected in real time, and the main storage device M-ME is collected.
M.

【0259】このように、本実施例では管理装置400
の取扱うデータの量は膨大なものとなる。そこで、実施
例ではこれらのデータをファイル管理により整理して取
扱いを容易にしている。
As described above, in this embodiment, the management device 400
The amount of data that is handled is enormous. Therefore, in the embodiment, these data are organized by file management to facilitate handling.

【0260】〔表18〕に管理装置400によって管理
されるデータのファイル構成例を示す。
[Table 18] shows a file configuration example of data managed by the management device 400.

【0261】これらのファイルは通常主記憶装置M−M
EM内に記録されるが、すべてのファイルは停電時にハ
ードディスク記憶装置403にセーブされる。また、端
末機に関するデータファイルすなわちパチンコ機ファイ
ル(以下P機ファイルと称する)、発行機ファイルおよ
び精算機ファイルは、営業終了時にフロッピーディスク
記憶装置402に記憶され、月別の稼動データ集計等に
供される。
These files are usually stored in the main storage device MM.
Although recorded in the EM, all files are saved in the hard disk storage device 403 at the time of power failure. Further, data files relating to the terminals, ie, pachinko machine files (hereinafter referred to as P machine files), issuing machine files and checkout machine files are stored in the floppy disk storage device 402 at the end of business hours, and are provided for monthly operation data tallying and the like. You.

【0262】[0262]

【表18】 [Table 18]

【0263】次に、〔表18〕に示されている各ファイ
ルについて更に詳しく説明する。
Next, each file shown in [Table 18] will be described in more detail.

【0264】同表における設定値ファイルFL1は、シ
ステム導入時にコンソールの入力によって予めハードデ
ィスクに記憶される購入玉の交換レートや店コード、端
末台数、賞品球数、打止数等のシステムの特性や構成に
応じて変動する設定値である。この設定値ファイルは通
常営業開始時にハードディスクHDDより主記憶装置に
ロードされる。また、設定値ファイルFL1は、パチン
コ機の入替えの際等にビルトインスイッチを押してコン
ソールより更新できるようになっている。
The set value file FL1 in the table contains system characteristics such as the exchange rate of purchased balls, the store code, the number of terminals, the number of prize balls, the number of hits, etc., which are stored in advance in the hard disk by a console input when the system is introduced. This is a set value that varies depending on the configuration. The set value file is loaded from the hard disk HDD to the main storage device at the start of normal business. Further, the setting value file FL1 can be updated from the console by pressing a built-in switch when replacing a pachinko machine or the like.

【0265】〔表19〕に設定値ファイルFL1の構成
例を示す。
[Table 19] shows a configuration example of the setting value file FL1.

【0266】[0266]

【表19】 [Table 19]

【0267】同表において、購入玉交換レートとは、購
入金額単位(例えば200円)に対する貸玉数すなわち
最小の持玉数であり、NAU台数とは、データ伝送シス
テムとしての高層ネットワークと低層ネットワークとの
連結部に設けられるネットワークアダプタユニット(通
信制御装置)の総数である。また、符号iで示されるテ
ーブルには、あるパチンコ機からあるパチンコ機までの
賞品球数が設定される。この賞品球数には1台につき2
種類の賞品球数が設定できるようになっている。しか
も、i=1〜16で示されるようにこの実施例では、遊
技店の全パチンコ機を16のグループに分割して、各々
メインとサブの2つの賞品球数を別個に設定できるよう
になっている。ただし同一の設定値のパチンコ機には連
続した台番号が与えられ、その先頭番号と末尾番号とに
よって対象範囲が指定される。
In the table, the exchange rate of purchased balls is the number of balls to be paid per unit of purchase amount (for example, 200 yen), that is, the minimum number of balls held, and the number of NAUs means the high-layer network and the low-layer network as a data transmission system. This is the total number of network adapter units (communication control devices) provided at the connection part with. Further, the number of prize balls from a certain pachinko machine to a certain pachinko machine is set in a table indicated by a symbol i. This prize ball count is 2 per car
The number of types of prize balls can be set. In addition, in this embodiment, as shown by i = 1 to 16, all pachinko machines of the game arcade are divided into 16 groups, and the number of two prize balls of main and sub can be set separately. ing. However, consecutive machine numbers are given to pachinko machines having the same set value, and the target range is specified by the start number and end number.

【0268】さらに、jで示されるテーブルには打止数
が設定され、kで示されるテーブルには打止モードが設
定される。ここで、打止モードとは、打止数の算出の仕
方(演算式)を示し、例えば単純に払出し賞品球数が打
止数に達したときをもって打止とするモードや、払出し
賞品球数から打込球数を引いたものが打止数に達したと
きをもって打止めとするモード等がある。特に限定はさ
れないが、この実施例ではj=1〜16,k=1〜16
で示されるように、各々16のグループに分けて独立に
打止数および打止モードを設定できる。
Further, the number of hits is set in the table indicated by j, and the hitting mode is set in the table indicated by k. Here, the hit mode indicates a method of calculating the number of hits (arithmetic formula). For example, a mode in which hitting is performed when the number of payout prize balls reaches the hit number, or the number of payout prize balls. There is a mode in which, when the number of hit balls is subtracted from the number of hits reaches the number of hits, hitting is performed when the hitting number is reached. Although not particularly limited, in this embodiment, j = 1 to 16, k = 1 to 16
As shown by, the number of hits and the hitting mode can be independently set for each of 16 groups.

【0269】〔表20〕に、データ伝送に使用される伝
送アドレスのファイルFL2の構成例を示す。
[Table 20] shows a configuration example of the transmission address file FL2 used for data transmission.

【0270】[0270]

【表20】 [Table 20]

【0271】〔表20〕において、種別フラグは端末の
種類を示すためのフラグで、「1」がパチンコ機、
「2」がカード発行機、「4」が精算機であることを、
そして、「0」が端末の不存在を各々示す。台番号およ
び通し番号は「4」と「9」を除いて作られた端末機の
番号とその通し番号であり、ユニット番号は、端末の種
類にかかわらず一つのNAU(ネットワークアダプタユ
ニット)の下に置かれた各端末機の番号すなわち後述の
低層ネットワーク上でのアドレスとなる番号、またチャ
ネル番号は管理装置から見た各端末機のアドレスすなわ
ち後述の高層ネットワーク上でのアドレスとなる番号で
ある。ただし、実施例のシステムでは一つのNAUの下
に接続されるパチンコ機台数を64台以下としている。
In [Table 20], the type flag is a flag for indicating the type of the terminal, "1" is a pachinko machine,
"2" is a card issuing machine and "4" is a checkout machine.
"0" indicates the absence of the terminal. The terminal number and serial number are the terminal number and serial number created except for "4" and "9". The unit number is placed under one NAU (network adapter unit) regardless of the type of terminal. The number of each terminal, that is, the number that is an address on a low-layer network described later, and the channel number is the address of each terminal viewed from the management device, that is, the number that is an address on a high-layer network described later. However, in the system of the embodiment, the number of pachinko machines connected under one NAU is set to 64 or less.

【0272】NAU番号と台番号は既に述べたように設
定スイッチ(171,205,305,561)で与え
られる番号で、パチンコ店の場合、パチンコ機の台番号
は、慣例として「4」と「9」を除いた数字で与えられ
る飛び番号である。ここで「4」と「9」を使用しない
ということは8進法表現が可能であることが分かる。そ
こで、10進数表示された台番号を表21に示す変換テ
ーブルを使って0〜7の数字のみで表現する。これに従
うと、例えば「258」なる台番号は「247」と表記
される。
As described above, the NAU number and the machine number are numbers given by the setting switches (171, 205, 305, 561). In the case of a pachinko parlor, the machine numbers of the pachinko machines are customarily "4" and "4". It is a jump number given by a number excluding "9". Here, the fact that "4" and "9" are not used indicates that an octal representation is possible. Therefore, the unit numbers expressed in decimal numbers are represented by only the numerals 0 to 7 using the conversion table shown in Table 21. According to this, for example, the stand number “258” is described as “247”.

【0273】[0273]

【表21】 [Table 21]

【0274】これを2進化8進法によりバイナリコード
で表現すると、「010・100・111」となる。こ
のコードは10進法の「167」を示しており、これに
よって、「4」と「9」の抜けたパチンコ機台番号が連
続した通し番号となる。一方、低層ネットワーク上での
アドレスを8ビットに抑えるため上記コードの下位8ビ
ットをとって、これを2進化8進法で表されたコード
「1010・0111」とみなし、これをHEXA表現
すると、「A7H」となる。さらに、一つのNAU下に
はパチンコ機以外に発行機や精算機等の端末機も接続さ
れており、それらにも8ビットのユニット番号を与える
ため、一つのNAU下のパチンコ機の台数を64台に制
限し、上記コード「A7H」とコード「3FH」との論
理積をとって「27H」を得る。この実施例ではこれを
ユニット番号とするものである。そして、このユニット
番号の頭にNAU番号を付けた「NAU番号+ユニット
番号」をチャネル番号としている。このような方法によ
り、「4」と「9」を使用しない台番号を有するパチン
コ遊技店の慣例において、2進法のみを使ってデータ処
理を行なうマイクロコンピュータの特性に合致した効率
の良いアドレス処理が可能となる。
If this is expressed by a binary code in a binary octal system, it becomes “010 · 100 · 111”. This code indicates “167” in decimal notation, so that the pachinko machine numbers missing “4” and “9” are consecutive numbers. On the other hand, in order to reduce the address on the low-layer network to 8 bits, the lower 8 bits of the above code are taken, and this is regarded as a code “1010 · 0111” expressed in a binary octal system. It becomes "A7H". Further, besides pachinko machines, terminals such as issuing machines and checkout machines are also connected under one NAU, and the number of pachinko machines under one NAU is increased by 64 bits to give them an 8-bit unit number. The number is limited to one, and the logical product of the code "A7H" and the code "3FH" is obtained to obtain "27H". In this embodiment, this is used as the unit number. The channel number is “NAU number + unit number” with the unit number prefixed with the NAU number. According to such a method, in the custom of a pachinko game store having a number that does not use “4” and “9”, efficient address processing that matches the characteristics of a microcomputer that performs data processing using only the binary system Becomes possible.

【0275】上記ファイルは、回線テスト後の管理装置
によるユニットテーブル要求の返答データに基づいて全
端末機について作成されている。
The above file is created for all terminals based on the response data of the unit table request by the management device after the line test.

【0276】〔表22〕にカードファイルFL3の構成
例を示す。カードファイルFL3には、各カードごとの
情報が入る。
[Table 22] shows a configuration example of the card file FL3. The card file FL3 contains information for each card.

【0277】[0277]

【表22】 [Table 22]

【0278】同表において、カード番号は発行通し番号
nから関数f(n)を用いて、得られる番号であり、持
玉数と金額、カード状態は発行通し番号nとカード番号
で特定されるカードの現在状態を示す情報で、この実施
例では以下カードテキストと称する。なお、ここでカー
ド状態とは、〔表23〕に示すように、遊技に使用され
ていないフリー状態を示すビット、遊技中を示すビッ
ト、遊技機から一時的に離れる中断中を示すビット、既
に精算機における精算を行なったカードであることを示
すビット、カードの持玉数および残金がともにゼロにな
ったことを示すビット、過去に1回以上打止めを発生し
たことを示すビット、強制終了されたパチンコ機で使用
されたカードであることを示すビット、復活されたカー
ドであることを示すビット等により構成されている。
In the table, the card number is a number obtained from the issue serial number n using the function f (n), and the number of balls and the amount of money, and the card status is the number of the card specified by the issue serial number n and the card number. This information indicates the current state, and is referred to as a card text in this embodiment. Here, the card state is, as shown in [Table 23], a bit indicating a free state that is not used in a game, a bit indicating a game, a bit indicating a pause temporarily leaving the gaming machine, A bit indicating that the card has been settled at the checkout machine, a bit indicating that the number of balls held and the balance of the card have both become zero, a bit indicating that one or more hits have occurred in the past, and a forced termination And a bit indicating that the card has been used in the pachinko machine that has been used.

【0279】[0279]

【表23】 [Table 23]

【0280】一方、〔表22〕に戻って、カードファイ
ルFL3には、カードの現在存在している端末の位置を
示す所在端末通し番号と、所在端末番号が登録される。
パチンコ機遊技店では慣例として、「4」と「9」の数
字を台番号として用いないので、裏と表の2種類の端末
番号が発生する。
Returning to [Table 22], the terminal file serial number indicating the position of the terminal where the card is currently located and the terminal number are registered in the card file FL3.
Since pachinko machine gaming stores do not use the numbers “4” and “9” as unit numbers as a convention, two types of terminal numbers, back and front, are generated.

【0281】また、〔表22〕においてiカウンタとは
カードがアクションを起こした数すなわち、カードが有
機的結合体たるシステムから外部へ排出動作された回数
を示すもので、この回数に対応して、そのときの台番
号、持玉数、金額、時刻等のカード情報すなわちカード
の来歴が記録される。統計的に見て遊技者は1日20台
以下のパチンコ機で遊技するのがほとんどであるので、
この実施例では最高20回までカード来歴を記録するこ
ととした。ただし、20回を超えた場合には、i=20
で示されるテーブルを更新する形で記録される。なお、
上記の場合、iカウンタは遊技中断を計数しない。つま
り、中断時に各カード情報を新しいエリアに記録する
が、中断解除後の遊技終了スイッチオン時にカウンタを
更新せず同一エリアに重ねてカード情報を記録すること
によりiカウンタの値を実質的な遊技台数と一致させて
いる。
In Table 22, the i counter indicates the number of times the card has taken an action, that is, the number of times the card has been ejected from the organic coupling system to the outside. At that time, card information such as a stand number, the number of balls held, the amount of money, time, etc., that is, the card history is recorded. Statistically, most players play with less than 20 pachinko machines per day,
In this embodiment, the card history is recorded up to 20 times. However, if the number of times exceeds 20, i = 20
It is recorded by updating the table indicated by. In addition,
In the above case, the i counter does not count the interruption of the game. That is, each card information is recorded in a new area at the time of interruption, but the value of the i-counter is substantially updated by recording the card information in the same area without updating the counter when the game end switch is turned on after the interruption is released, and recording the card information in the same area. The number is matched.

【0282】ここで、カードの状態およびアクションと
カードファイルへFL3のカード情報の登録について図
52を用いて説明する。
Here, the state and action of the card and the registration of the FL3 card information in the card file will be described with reference to FIG.

【0283】先ず、カード発行機200においてカード
の発行が行なわれると、カードが排出されて、カードは
未発行(白紙)状態SS0からフリー状態SS1に移行
する。それから、所望のパチンコ機100にカードを挿
入すると、遊技状態SS2へ移行する。ここで遊技によ
ってカードの持玉および金額がゼロになると、カードが
排出されて帰零状態SS3に移る。また、遊技中に中断
スイッチ115が押されると、カードが排出されて、中
断状態SS4へ移行し、同一カードの再投入により再び
遊技状態SS2へ戻る。そして、遊技中に遊技を終了さ
せるべく終了スイッチ114を押すと、カードが排出さ
れてフリー状態SS1に移行する。CPUによる強制終
了または打止発生によってもカードが排出されて遊技状
態SS2からフリー状態SS1へ移る。そのフリー状態
のカードを持って精算機300に行き精算処理を行なう
と、無効マークが付されてからカードが回収され精算済
の状態SS5へ移る。この実施例のシステムでは、中断
状態SS4のカードを持ってパチンコ機に戻らずそのま
ま精算機300に行き、精算処理を行なうことも可能で
ありその場合、中断状態SS4から精算済状態SS5へ
移行する。
First, when a card is issued in the card issuing machine 200, the card is ejected, and the card shifts from the unissued (blank) state SS0 to the free state SS1. Then, when a card is inserted into the desired pachinko machine 100, the game state shifts to the gaming state SS2. Here, when the balls and the amount of money of the card become zero by the game, the card is ejected and the state is shifted to the return-to-zero state SS3. Further, when the interruption switch 115 is pressed during the game, the card is ejected and the state shifts to the interruption state SS4, and returns to the game state SS2 again by reinserting the same card. Then, when the end switch 114 is pressed to end the game during the game, the card is ejected and the state shifts to the free state SS1. The card is also ejected by the forced termination or the occurrence of a hit by the CPU, and the state shifts from the gaming state SS2 to the free state SS1. When the user goes to the checkout machine 300 with the card in the free state and performs a checkout process, the card is collected after an invalid mark is added, and the state is shifted to the settled state SS5. In the system of this embodiment, it is also possible to go to the checkout machine 300 without returning to the pachinko machine with the card in the interrupted state SS4 and perform the checkout process. In this case, the state shifts from the interrupted state SS4 to the adjusted state SS5. .

【0284】上記状態遷移図において、遷移方向を示す
矢印に○が付されているのがカードファイルFL3への
カード情報の記録を伴うアクションである。また、各ブ
ロック内にて、××Hで示されている符号は、〔表2
3〕のカード状態を示すコードを用いて対応する状態を
16進数字で表現(HEXA表現)したものである。
[0284] In the above state transition diagram, the circles attached to the arrows indicating the transition directions indicate actions involving recording of card information in the card file FL3. In each block, the code indicated by XXH is as shown in [Table 2].
The corresponding state is expressed by hexadecimal digits (HEXA expression) using the code indicating the card state of [3].

【0285】次に、〔表24〕にP機ファイルFL4の
構成例を示す。
Next, [Table 24] shows a configuration example of the P machine file FL4.

【0286】[0286]

【表24】 [Table 24]

【0287】同表において、台番号からカード状態まで
の項目は、〔表1〕に示されている送信データエリアに
保持されているデータであり、これらは1秒に1回管理
装置400によってサンプリングされ、ファイルに登録
される。また、メイン賞球数、サブ賞球数、打止数およ
び打止モードは、システム立上り時に〔表19〕に示さ
れている設定値ファイルFL1に基づいてP機ファイル
FL4に登録される。
In the same table, items from the machine number to the card status are data held in the transmission data area shown in [Table 1], and these are sampled by the management device 400 once a second. Is registered in the file. The number of main prize balls, the number of sub prize balls, the number of hits, and the hit mode are registered in the P machine file FL4 based on the set value file FL1 shown in [Table 19] when the system is started.

【0288】〔表25〕および〔表26〕に発行機ファ
イルFL5と精算機ファイルFL6をそれぞれ示す。
〔表25〕に示すデータ項目は、〔表10〕に示されて
いる発行機の送信データエリアに保持されているデー
タ、また、〔表26〕に示すデータの項目は〔表14〕
に示されている送信データエリアに保持されているデー
タと各々一致する。これらは、1秒間に1回管理装置に
よってサンプリングされる。
[Table 25] and [Table 26] show the issuing machine file FL5 and the settlement machine file FL6, respectively.
The data items shown in [Table 25] are data held in the transmission data area of the issuing machine shown in [Table 10], and the data items shown in [Table 26] are [Table 14]
Respectively coincides with the data held in the transmission data area shown in FIG. These are sampled by the management device once a second.

【0289】[0289]

【表25】 [Table 25]

【0290】[0290]

【表26】 [Table 26]

【0291】〔表24〕〜〔表26〕において、セーブ
欄に○印が付されているデータは、営業終了時にフロッ
ピディスクFDDにセーブされるデータである。
In Tables 24 to 26, data marked with a circle in the save column is data saved on the floppy disk FDD at the end of business.

【0292】次に上記のごとく構成された端末機として
のカード発行機100、パチンコ機200、精算機30
0およびそれらの端末機の集中制御を行なう管理装置4
00を有機的に結合して、データ伝送およびカードの運
用を可能にするデータ伝送路(ローカルエリアネットワ
ーク)について説明する。図53に階層的データ伝送路
を用いたパチンコ遊技システムの構成例を示す。
Next, the card issuing machine 100, the pachinko machine 200, and the checkout machine 30 as terminals configured as described above.
0 and a management device 4 for centrally controlling these terminals
A data transmission path (local area network) that enables data transmission and card operation by organically coupling 00 is described. FIG. 53 shows a configuration example of a pachinko game system using a hierarchical data transmission path.

【0293】すなわち、100〜1000台の端末機
は、例えば遊技店の島設備のような単位で20〜40台
ずつグループ化され、各群の端末機は、リング状の伝送
路上を高速で巡回するトークンと呼ばれるアクセス権を
つかまえたノード(端末機)がパケットの形でデータの
送受信を行なう権利を有するようにされたトークンパッ
シング方式の低層ネットワーク(トークンバス)510
によってネットワークアダプタユニット(以下、NAU
と称する)530に接続されている。
That is, 100 to 1000 terminals are grouped by 20 to 40 terminals, for example, in units such as island facilities of a game arcade, and the terminals of each group circulate at high speed on a ring-shaped transmission path. Token-passing low-layer network (token bus) 510 in which a node (terminal) having an access right called a token to be exchanged has a right to transmit and receive data in the form of a packet.
Depending on the network adapter unit (NAU)
530).

【0294】そして、各低層ネットワーク(トークンバ
ス)510を制御する複数個のNAU530は、CSM
A/CD方式の高層ネットワーク520を介して管理装
置400に接続されている。
The plurality of NAUs 530 that control each low-layer network (token bus) 510 are
It is connected to the management device 400 via an A / CD high-layer network 520.

【0295】上記低層ネットワーク510は2.5Mb
ps(メガビット/秒)のような伝送速度を有し、高層
ネットワーク520は、10Mbpsのような伝送速度
を有するように制御され、NAU530は両者の伝送速
度の差を吸収して円滑なデータ伝送を可能とするバッフ
ァとして作用し、これによって、管理装置400の負担
を軽減し、大量の稼動データの収集を可能にしている。
The low-layer network 510 has a capacity of 2.5 Mb.
The high layer network 520 is controlled to have a transmission rate such as 10 Mbps, and the NAU 530 absorbs the difference in transmission rate between the two to provide smooth data transmission. It acts as a buffer that enables it, thereby reducing the load on the management device 400 and enabling a large amount of operation data to be collected.

【0296】図53において符号Pで示されているのが
端末機としてのパチンコ機、符号Hで示されているのが
カード発行機、また符号Sで示されているのが精算機で
ある。
In FIG. 53, the symbol P indicates a pachinko machine as a terminal, the symbol H indicates a card issuing machine, and the symbol S indicates a checkout machine.

【0297】各端末機P,H,Sは、ネットワーク51
0から分岐された分岐線に接続されている。各分岐線の
終端に各々の端末機の制御ユニット160,250およ
び350が接続されている。図53において符号Uで示
すのが、各端末機の制御ユニットである。
Each of the terminals P, H, and S is connected to the network 51.
It is connected to a branch line branched from 0. The control units 160, 250 and 350 of each terminal are connected to the end of each branch line. In FIG. 53, a control unit of each terminal is indicated by reference numeral U.

【0298】図54に、上記低層ネットワーク510と
高層ネットワーク520間のデータ伝送の緩衝を行なう
上記NAU(ネットワークアダプタユニット)530の
回路構成例を示す。
FIG. 54 shows a circuit configuration example of the NAU (network adapter unit) 530 that buffers data transmission between the low-layer network 510 and the high-layer network 520.

【0299】この実施例のNAU530は、低層ネット
ワーク510における送受信権の確立およびデータの直
並列変換を行なう低層ネットワークコントローラ533
と、CSMA/CD方式の高層ネットワークにおける送
受信権の確立およびデータの直並列変換を行なう高層ネ
ットワークコントローラ537と、これらのネットワー
クコントローラ533と537との間のデータ転送を制
御するデータ伝送コントローラ535とを備えている。
上記コントローラのうち、低層ネットワークコントロー
ラ533は、トークンパッシング専用の通信用LSIか
らなり、高層ネットワークコントローラ537とデータ
伝送コントローラ535は、汎用マイクロコンピュータ
によって構成されている。そして、これらのコントロー
ラ533と535との間および535と537との間に
は、低層ネットワーク510と高層ネットワーク520
のデータ伝送速度の違いを吸収するための緩衝用パケッ
トメモリ534と536とがそれぞれ接続されている。
上記パケットメモリ534,536はデュアルポートメ
モリにより構成され、送信データエリアと受信データエ
リアとを有する。また、上記低層ネットワークコントロ
ーラ533と低層ネットワーク(トークスバス)510
との間には、送信信号と受信信号の分離および結合を行
なう分岐回路531と、送受信データ信号のレベル変換
を行なうレベル変換回路532が接続されている。ま
た、同様に、高層ネットワークコントローラ537と高
層ネットワーク520との間には、レベル変換回路53
8と分岐回路539が接続されている。
The NAU 530 of this embodiment includes a low-layer network controller 533 for establishing a transmission / reception right in the low-layer network 510 and performing serial / parallel conversion of data.
A high-layer network controller 537 for establishing a transmission / reception right in a CSMA / CD type high-layer network and performing serial / parallel conversion of data; and a data transmission controller 535 for controlling data transfer between these network controllers 533 and 537. Have.
Among the above controllers, the low-layer network controller 533 is composed of a communication LSI dedicated to token passing, and the high-layer network controller 537 and the data transmission controller 535 are configured by general-purpose microcomputers. Further, between the controllers 533 and 535 and between 535 and 537, a low-layer network 510 and a high-layer network 520 are provided.
The buffer packet memories 534 and 536 for absorbing the difference in data transmission speed are connected to each other.
The packet memories 534 and 536 are constituted by dual port memories and have a transmission data area and a reception data area. Also, the low-layer network controller 533 and the low-layer network (Talks bus) 510
A branch circuit 531 for separating and coupling a transmission signal and a reception signal, and a level conversion circuit 532 for performing level conversion of a transmission / reception data signal are connected between them. Similarly, a level conversion circuit 53 is provided between the high-layer network controller 537 and the high-layer network 520.
8 and a branch circuit 539 are connected.

【0300】さらに、この実施例のNAU530には、
複数個接続されているNAUを互いに区別するための番
号を設定するNAU番号設定器561と、各NAU53
0の制御下にある低層ネットワーク510上に存在する
端末機のうち最小台番号を設定する最小台番号設定器5
62と、低層ネットワーク上に存在する端末機の台数を
設定する台数設定器563とが設けられている。各設定
器561〜563の設定値は、NAU530内のデータ
伝送コントローラ535に入力され、NAU番号は高層
ネットワーク520における各NAUの伝送アドレスの
形成に使用される。また、最小台番号と台数とにより低
層ネットワーク510における各端末機の伝送アドレス
が形成される。
Further, the NAU 530 of this embodiment includes:
A NAU number setting device 561 for setting a number for distinguishing a plurality of connected NAUs from each other;
A minimum number setting device 5 for setting the minimum number among terminals existing on the low-layer network 510 under the control of 0
62, and a number setting device 563 for setting the number of terminals existing on the low-layer network. The set values of the setting units 561 to 563 are input to the data transmission controller 535 in the NAU 530, and the NAU number is used to form the transmission address of each NAU in the high-layer network 520. The transmission address of each terminal in the low-layer network 510 is formed by the minimum number and the number.

【0301】上記階層的ローカルネットワーク(図5
3)においては、システム立上り時に管理装置400が
各NAU530を通じて回線テストと、各端末機に対す
る設定値の設定を行なうとともに、システム稼動中には
NAU530が低層ネットワーク510を使用して1秒
間に1回ずつ端末機P,H,Sから稼動データを収集し
て自己のメモリ内に蓄積する。そして、蓄積データは、
管理装置400からの要求に応じて同じく1秒間に1回
ずつ高層ネットワーク520を通して各NAU530か
ら管理装置400内のデータファイル内にストックされ
る。
The above hierarchical local network (FIG. 5)
In 3), when the system starts up, the management device 400 performs a line test through each NAU 530 and sets a setting value for each terminal, and the NAU 530 uses the low-layer network 510 once a second during system operation. Operation data is collected from the terminals P, H, and S and stored in its own memory. And the accumulated data is
In response to a request from the management device 400, the data is stored in the data file in the management device 400 from each NAU 530 through the high-layer network 520 once a second.

【0302】上記のごとく、通信ネットワークがNAU
530をバッファとする階層的構成にされ、高層ネット
ワーク520が低層ネットワーク510の伝送速度2.
5Mbpsの4倍の伝送速度を有するようにされている
ため、100〜1000台の端末機を有するシステムに
おいても、各端末機から〔表1〕、〔表10〕、〔表1
3〕に示すような大量の稼動データを1秒間に1回管理
装置へ収集することができる。
As described above, the communication network is NAU
530 as a buffer, and the high-layer network 520 transmits the transmission speed of the low-layer network 510.2.
Since the transmission rate is set to be four times the transmission rate of 5 Mbps, even in a system having 100 to 1000 terminals, each of the terminals can receive the signals from [Table 1], [Table 10], [Table 1].
3) A large amount of operation data as shown in [3] can be collected once a second in the management device.

【0303】〔表27〕には、上記データ伝送システム
において管理装置400からカード発行機200のユニ
ット制御装置280に送信される発行機から見た受信パ
ケットの種類、また〔表28〕にはカード発行機200
から管理装置400へ送られる送信パケットの種類がそ
れぞれ示されている。
[0303] Table 27 shows the types of received packets as viewed from the issuing device transmitted from the management device 400 to the unit control device 280 of the card issuing device 200 in the data transmission system. Issuing machine 200
Each type of transmission packet transmitted from the to the management device 400 is shown.

【0304】[0304]

【表27】 [Table 27]

【0305】[0305]

【表28】 [Table 28]

【0306】〔表28〕に掲記されている“カード購
入”パケットは、カード発行機200の紙幣挿入口21
1に紙幣が挿入され購入選択スイッチ212がオンされ
たときに、ユニット制御装置280から管理装置400
に対してそのカードに関するカード番号と発行通し番号
を要求するためのパケット、また〔表27〕の“カード
購入ACK”パケットはそれに対する応答パケットであ
る。
The “card purchase” packet described in [Table 28] corresponds to the bill insertion slot 21 of the card issuing machine 200.
When the bill is inserted into the purchase order switch 212 and the purchase selection switch 212 is turned on, the unit control device 280 sends the management device 400
The packet for requesting the card number and the serial number of the card concerned, and the "card purchase ACK" packet in [Table 27] are response packets to the packet.

【0307】この実施例のシステムにおいては、カード
発行機200に紙幣が投入される前にカード番号等の予
約を行ない、実際に紙幣投入されたときに金額を印字し
て発行できるように前準備を行なえるようにするため、
カード発行機200がカード金額の欄が「0」の“カー
ド購入”パケットを送信してくると、管理装置400は
発行予約のパケットであると判断し、発行通し番号とカ
ード番号を決定してカードファイル内に当該カードのエ
リアを確保してから、発行通し番号とカード番号を入れ
たACKパケットをカード発行機に返す。一方、紙幣の
投入があったときはカード発行機が管理装置に対してカ
ード金額の欄に実際の購入金額を入れた“カード購入”
パケットを送信する。すると、管理装置はカード番号の
欄を見て発行予約済みのカードであると判断してカード
ファイルを検索し、当該カードのデータエリアに購入金
額や発行時刻等のデータを書き込んでからACKパケッ
トを発行機に返すようになっている。
In the system of this embodiment, a reservation such as a card number is made before a bill is inserted into the card issuing machine 200, and a preparation is made so that the amount can be printed and issued when the bill is actually inserted. To be able to do
When the card issuing machine 200 transmits a “card purchase” packet in which the card amount column is “0”, the management device 400 determines that the packet is a reservation reservation packet, determines an issue serial number and a card number, and After securing the area of the card in the file, an ACK packet containing the serial number and the card number is returned to the card issuing machine. On the other hand, when a bill was inserted, the card issuing machine entered the actual purchase amount in the card amount column with respect to the management device.
Send a packet. Then, the management device looks at the card number column, determines that the card is reserved for issuance, searches the card file, writes data such as the purchase amount and the issuance time in the data area of the card, and then transmits an ACK packet. It is to be returned to the issuing machine.

【0308】なお、上記“カード購入”パケットとその
応答パケット以外は、パチンコ機と管理装置との間で送
受信されるパケットと共通である。
[0308] Except for the "card purchase" packet and its response packet, the packet is common to the packet transmitted and received between the pachinko machine and the management device.

【0309】また、〔表27〕においてNAKなるパケ
ットは、管理装置400がユニット制御装置280から
の“カード購入”パケットを受信したときの相手に対す
る否定応答であり、パケットデータが異常であったよう
な場合にNAKパケットが送信される。
[0309] Also, in Table 27, the NAK packet is a negative response to the other party when the management device 400 receives the "card purchase" packet from the unit control device 280, and it seems that the packet data was abnormal. In this case, a NAK packet is transmitted.

【0310】なお、〔表27〕および〔表28〕に示さ
れている各パケットのコード09H,8OH,‥‥は、
16進数で表示したものであり、そのコードは一例であ
ってこれに限定されるものでないことはいうまでもな
い。
The codes 09H, 8OH,... Of each packet shown in [Table 27] and [Table 28] are:
It is expressed in hexadecimal, and it goes without saying that the code is an example and is not limited to this.

【0311】図55〜図60には、上記データ伝送シス
テム(ローカルネットワーク)においてカード発行機2
00と管理装置400との間で送受信されるパケットの
フォーマットの代表的な例を示す。
FIGS. 55 to 60 show the card issuing machine 2 in the data transmission system (local network).
5 shows a typical example of the format of a packet transmitted and received between 00 and the management device 400.

【0312】このうち図55にカード発行機に対する
“回線テスト”パケットの構造(他の端末と共通)を、
また、同図の(B)にカード発行機から管理装置に対す
る応答たる“ACK”パケットの構造を示す。
FIG. 55 shows the structure of the “line test” packet for the card issuing machine (common to other terminals).
FIG. 3B shows the structure of an “ACK” packet that is a response from the card issuing machine to the management device.

【0313】図55の(A)のパケットにおける「発行
機番号」〜「チャネル番号」の欄には初期化の際に予め
NAUがNAU番号設定スイッチ561や台番号設定ス
イッチ562等の設定値に基づいて算出しておいた番号
を、管理装置からの“回線テスト”パケットを受信した
時点で入れて対応する発行機に送る。一方、図55の
(B)のパケットにおける「発行機番号」〜「チャネル
番号」の欄にはユニットコントローラ290が台番号設
定器205の設定値に基づいて予め算出しておいた番号
を入れて送信するようになっている。
In the column of “issuer number” to “channel number” in the packet of FIG. 55A, the NAU is set in advance to the set values of the NAU number setting switch 561 and the unit number setting switch 562 at the time of initialization. The number calculated on the basis of this is entered when the "line test" packet is received from the management device, and is sent to the corresponding issuing machine. On the other hand, in the “Issuing machine number” to “Channel number” columns in the packet of FIG. 55B, numbers previously calculated by the unit controller 290 based on the set values of the unit number setting unit 205 are entered. To be sent.

【0314】なお、図55において、LHDで示されて
いるのは低層ネットワーク520で使用されるパケット
ヘッドで、低層ネットワーク510内でのNAU530
と各端末機との間のデータ伝送は、パケットヘッドLH
Dを用いて行なわれ、高層ネットワーク520内での管
理装置400とNAU530との間のデータ伝送は、高
層用パケットヘッドHHDを用いて行なわれる。
In FIG. 55, what is indicated by LHD is a packet head used in the low-layer network 520, and the NAU 530 in the low-layer network 510.
Data transmission between the terminal and each terminal is performed by the packet head LH
D, and data transmission between the management device 400 and the NAU 530 in the high-layer network 520 is performed using the high-layer packet head HHD.

【0315】また、管理装置400からNAU530を
介して各端末機へのデータの伝送は、2つのパケットヘ
ッドHHDとLHDを使って行なわれる。この場合、上
位のパケットヘッドHHDによって、伝送先の端末機の
属するネットワークアダプタが指定され、そこにパケッ
トが取り込まれると、上位のパケットヘッドHHDが外
され、下位のパケットヘッドLHDのみをヘッドとして
低層ネットワーク510上に送り出され、指定された端
末機にパケットが伝送される。
Data transmission from the management device 400 to each terminal via the NAU 530 is performed using two packet heads HHD and LHD. In this case, the network adapter to which the terminal of the transmission destination belongs is specified by the upper packet head HHD, and when a packet is captured therein, the upper packet head HHD is removed and only the lower packet head LHD is used as a head to lower the network adapter. The packet is transmitted over the network 510 and transmitted to a designated terminal.

【0316】一方、各端末機から管理装置400に対し
てデータを伝送する場合、先ず端末機は低層ネットワー
ク用のパケットヘッドLHDのみをデータの頭に付けて
低層ネットワーク510上に送り出す。すると、そのパ
ケットはNAU530によって取り込まれ、そこでパケ
ットヘッドLHDの頭にさらに高層ネットワーク用パケ
ットヘッドHHDを付けて高層ネットワーク520上に
送り出し、管理装置400へ伝送されるようになってい
る。
On the other hand, when data is transmitted from each terminal to the management device 400, first, the terminal attaches only the packet head LHD for the lower layer network to the head of the data and sends out the data to the lower layer network 510. Then, the packet is captured by the NAU 530, whereupon the packet head LHD is further provided with a packet head HHD for a high-layer network, sent out over the high-layer network 520, and transmitted to the management device 400.

【0317】図56には、管理装置400から各カード
発行機200に対する“初期値設定”パケットの構成例
を示す。※3で示すデータ欄には、管理装置の設定値フ
ァイル(〔表19〕参照)から読み出されたデータが入
っており、これらはユニットメモリの受信データエリア
に格納される。上記受信データのうちホットコードのみ
は、ユニットメモリの送信データエリアにもコピーされ
る。この受信パケットに対する応答はない。
FIG. 56 shows a configuration example of an “initial value setting” packet from the management device 400 to each card issuing machine 200. The data column indicated by * 3 contains data read from the setting value file (see [Table 19]) of the management device, and these are stored in the reception data area of the unit memory. Only the hot code of the received data is copied to the transmission data area of the unit memory. There is no response to this received packet.

【0318】図57には、管理装置から発行機に対する
データを伴わない各種指令パケットの構成例を示す。同
図のパケットタイプ欄の×,×には、コード90H(開
店コード)、91H(閉店コード)、95H(強制終了要
求)、96H(強制終了解除)またはB1H(リスター
ト)のいずれかのコードが入る。これらの受信パケット
に対するNAU530への応答はなく、一方的な指令送
信である。
FIG. 57 shows an example of the configuration of various command packets without data from the management device to the issuing machine. In the packet type column of the same figure, x, x are codes of any of codes 90H (opening code), 91H (closing code), 95H (forced termination request), 96H (forced termination release), or B1H (restart). Enters. There is no response to NAU 530 for these received packets, and it is a one-way command transmission.

【0319】図58の(A)〜(C)には、カードの発
行予約を管理装置400に要求する“カード購入”パケ
ットとその応答パケット“ACK”および“NAK”の
構成例を示す。
FIGS. 58A to 58C show examples of the structure of a "card purchase" packet requesting the management apparatus 400 to make a card issuance reservation, and its response packets "ACK" and "NAK".

【0320】カード発行予約の際の“カード購入”パケ
ットのデータ欄には、対象カードが当該発行機において
何番目の発行カードであるかを示す発行受付番号mのみ
入れ、カード金額やカード番号、発行通し番号は「0」
として送る。一方、その応答“ACK”パケットのデー
タ欄には管理装置において発行受付番号mから決定した
全発行機に関する発行通し番号nと、この発行通し番号
nから演算したカード番号を入れて送る。ACKパケッ
トの最後の「チェックサム」欄には発行機番号から発行
受付番号までの加算値がチェックコードとして入ってい
る。
[0320] In the data field of the "card purchase" packet at the time of card issuance reservation, only the issuance receipt number m indicating the number of the issuance card in the issuing machine is entered, and the card amount, card number, Issue serial number is "0"
Send as On the other hand, in the data column of the response "ACK" packet, the management apparatus inserts and issues the issue serial numbers n of all the issuing machines determined from the issue acceptance number m and the card numbers calculated from the issue serial numbers n. In the last "checksum" column of the ACK packet, an added value from the issuer number to the issue receipt number is entered as a check code.

【0321】一方、発行機に紙幣が投入され、購入金額
が決定されたときに発行機から管理装置に送られる“カ
ード購入”とその応答パケットの構成は図58のパケッ
トと全く同じであり、送信パケットのカード金額の欄に
実際の購入金額を入れるとともに、カード番号と発行通
し番号の欄には予約時に既に決定された番号を入れて送
る点のみ異なる。
On the other hand, the structure of the “card purchase” sent from the issuing machine to the management device when the bill is inserted into the issuing machine and the purchase amount is determined and the response packet are exactly the same as the packet of FIG. The only difference is that the actual purchase amount is entered in the card amount column of the transmission packet, and the number already determined at the time of reservation is entered in the column of the card number and issue serial number.

【0322】さらに、図59には“定時データ送信”パ
ケットの構成例が、また図60の(A),(B)には
“ユニット復旧データ”の送受信パケットの構成例が示
されている。
Further, FIG. 59 shows an example of the configuration of a “periodic data transmission” packet, and FIGS. 60A and 60B show an example of the configuration of a “unit recovery data” transmission / reception packet.

【0323】このうち、“定時データ送信”パケットに
は、ユニットメモリの送信データエリア内のすべてのデ
ータを入れて送り、管理装置はこのデータを受信して発
行機ファイル内の当該発行機のデータを更新する。ただ
し、送信データのうちカード金額および発行受付番号は
管理装置において利用されないデータであるので、送信
されてもファイル内に登録されない。
[0323] Among them, the "scheduled data transmission" packet contains all the data in the transmission data area of the unit memory and sends it. The management device receives this data and sends the data of the issuing machine in the issuing machine file. To update. However, the card amount and the issuance receipt number of the transmission data are data that are not used in the management device, and therefore are not registered in the file even if transmitted.

【0324】一方、“ユニット復旧データ”パケットに
は、管理装置の発行機ファイル内の全データと設定値フ
ァイルから読み出した年月日、識別コードおよびホット
コードを、ユニットメモリ550のデータエリアの構成
に一致させて送ってくる。ただし、ユニットメモリの送
信データエリアと重複する受信データパケットヘッドと
カードテキストは重複した送信を省略し、ユニットコン
トローラ290の側で送信データエリアから受信データ
エリアへコピーするようになっている。受信データ中※
4で示されるデータはユニットメモリ内の受信データエ
リアに記入される。上記パケットに対する応答パケット
では送信データエリア内の全データのみ入れて送るよう
になっている。
On the other hand, in the “unit recovery data” packet, all data in the issuing machine file of the management apparatus, the date read from the set value file, the identification code and the hot code are stored in the data area of the unit memory 550. Will be sent to match. However, the duplicate transmission of the received data packet head and the card text overlapping the transmission data area of the unit memory is omitted, and the unit controller 290 copies the data from the transmission data area to the reception data area. During received data *
The data indicated by 4 is written in the reception data area in the unit memory. In the response packet to the above packet, only the entire data in the transmission data area is inserted and transmitted.

【0325】なお、図55〜図60に示されているパケ
ットは、ネットワークにのせられる本来のパケットの全
体でなく要部のみであり、その他にデータの先頭を発見
するためのアラートバーストや同期データ、伝送元を示
すソースアドレスフィールドや伝送先を示すデスティネ
ーションアドレス等からなるヘッダ部と、データの長さ
を示すカウント部、誤り検出用のチェックコード部があ
る。これらは、各端末機の制御ユニット内のネットワー
クコントローラによって自動的に生成されて付加される
ようになっている。
The packets shown in FIG. 55 to FIG. 60 are not the whole of the original packet to be put on the network but only the main part, and also include the alert burst and the synchronous data for finding the head of the data. A header section including a source address field indicating a transmission source, a destination address indicating a transmission destination, a count section indicating a data length, and a check code section for error detection. These are automatically generated and added by the network controller in the control unit of each terminal.

【0326】次に、上記ユニット制御装置280におけ
るデータ送信に関する制御手順を図61〜図64を用い
て説明する。
Next, a control procedure regarding data transmission in the unit control device 280 will be described with reference to FIGS.

【0327】リセット回路555から各コントローラ2
90,551,553に対してリセットパルスが供給さ
れると、各コントローラは内部レジスタや内部RAMを
クリアするとともに、データ伝送コントローラ551
は、ユニットコントローラ290との間のパラレル通信
用のユニットメモリ550をもクリアする(ステップS
101,S201,S301)。それからデータ伝送コ
ントローラ551は、ユニットメモリ550内の所定の
番地(27FF)に適当なデータを書き込む(ステップ
S202)。すると、ユニットメモリ550は所定の端
子から出力する信号INTのレベルを立ち上げる。この
信号INTは前述したようにイニシャライズ信号として
ユニットコントローラ290に供給されるようになって
いる。
From the reset circuit 555 to each controller 2
When a reset pulse is supplied to 90, 551, 553, each controller clears the internal register and the internal RAM, and resets the data transmission controller 551.
Also clears the unit memory 550 for parallel communication with the unit controller 290 (step S
101, S201, S301). Then, the data transmission controller 551 writes appropriate data to a predetermined address (27FF) in the unit memory 550 (step S202). Then, the unit memory 550 raises the level of the signal INT output from the predetermined terminal. This signal INT is supplied to the unit controller 290 as an initialization signal as described above.

【0328】一方、ユニットコントローラ290は、上
記内部レジスタ、RAMのクリア後、I/Oポートをク
リアし(ステップS102)、上記ユニットメモリ55
0からのイニシャライズ信号INTが立ち上がったか監
視しており(ステップS103)、信号INTが立ち上
がると台番号設定器171に設定されている値を読み込
んでから、その台番号より端末通し番号とチャネル番号
を演算する(ステップS104,S105)。そして、
それらの番号をユニットメモリ550の送信データエリ
アSDAに書き込む(ステップS106)。
On the other hand, after clearing the internal register and RAM, the unit controller 290 clears the I / O port (step S102), and clears the unit memory 55.
It is monitored whether the initialization signal INT from 0 has risen (step S103). When the signal INT rises, the value set in the machine number setting unit 171 is read, and then the terminal serial number and the channel number are calculated from the machine number. (Steps S104 and S105). And
These numbers are written in the transmission data area SDA of the unit memory 550 (step S106).

【0329】データ伝送コントローラ551は、上記送
信データエリアSDA内のチャネル番号を読み込んでそ
れが「0」か否か判定しており(ステップS203,S
204)、ユニットコントローラによる書込みによって
「0」でなくなると、読み取ったチャネル番号をラッチ
LT3(563)に書込み、続いてラッチLT2(56
2)に対しデータの送受信に使用するパケットメモリ内
のページ構成を指定するコマンドを書き込む(ステップ
S205,S206)。すると、ネットワークコントロ
ーラ553は、ラッチLT3内のチャネル番号を読み込
んで内部RAMに記憶して低層ネットワークにおける自
己のアドレスを確定し(ステップS302)、次のラッ
チLT2内からパケットメモリのページ構成を読み取っ
て記憶する(ステップS303)。これによって送受信
ページの構成が確定する。
The data transmission controller 551 reads the channel number in the transmission data area SDA and judges whether it is "0" (steps S203 and S203).
204), if the value is not "0" due to the writing by the unit controller, the read channel number is written to the latch LT3 (563), and then the latch LT2 (56
For 2), a command for designating the page configuration in the packet memory used for data transmission / reception is written (steps S205, S206). Then, the network controller 553 reads the channel number in the latch LT3, stores it in the internal RAM, determines its own address in the low-layer network (step S302), and reads the page configuration of the packet memory from the next latch LT2. It is stored (step S303). Thereby, the configuration of the transmission / reception page is determined.

【0330】その後、データ伝送コントローラ551
が、次のデータ受信に使用するページ番号をラッチLT
2に書き込む(ステップS207)。すると、これがネ
ットワークコントローラ553に対する受信許可指令と
なる。そこで、ネットワークコントローラはラッチLT
2内に受信ページ番号があるか否かチェックして、ペー
ジ番号があるときは受信許可があったと判定してステッ
プS305(図52)以下の受信処理に移行する(ステ
ップS304)。ステップS305では、ネットワーク
コントローラがNAUからの送信要求があるか否か判定
する。そして、送信要求があったときは、受信が可能で
あることをNAUに対し送信した後、NAUから送られ
てきたパケットを受信して受信したパケットにより送信
元アドレス等の不要部分を除去し、データ部をパラレル
データに変換してパケットメモリ582内の指定された
ページに受信したデータを書き込む(ステップS306
〜S308)。しかる後、ネットワークコントローラ5
53は受信コマンドをラッチLT1(561)に書き込
む(ステップS309)。
Thereafter, the data transmission controller 551
Latches the page number used for the next data reception LT
2 (step S207). Then, this becomes a reception permission command to the network controller 553. Therefore, the network controller uses the latch LT
It is checked whether or not there is a reception page number in 2 and if there is a page number, it is determined that the reception has been permitted, and the processing shifts to the reception processing of step S305 (FIG. 52) and subsequent steps (step S304). In step S305, the network controller determines whether there is a transmission request from the NAU. Then, when there is a transmission request, after transmitting to the NAU that reception is possible, a packet sent from the NAU is received, and unnecessary portions such as a source address are removed by the received packet, The data section is converted into parallel data, and the received data is written to a specified page in the packet memory 582 (step S306).
To S308). Then, the network controller 5
53 writes the received command into the latch LT1 (561) (step S309).

【0331】すると、データ伝送コントローラ551が
そのラッチLT1のデータを読んで受信コマンドがある
ことを確認してパケットメモリ552の所定ページ内か
ら受信データを読み込んでユニットメモリ550のワー
キングエリアに一時格納する(ステップS208,S2
09)。それから、データ伝送コントローラ551が次
の受信ページをラッチLT2に書き込む。これが、次の
パケットの受信を許可する指令となる(ステップS21
0)。この指令(受信ページ)はネットワークコントロ
ーラ553によって読み取られて記憶され(ステップS
310)、データ伝送コントローラ551からユニット
コントローラ290への受信データの送信と並行して次
のデータの受信が可能となる。
Then, the data transmission controller 551 reads the data in the latch LT1 to confirm that there is a reception command, reads the reception data from a predetermined page of the packet memory 552, and temporarily stores it in the working area of the unit memory 550. (Steps S208, S2
09). Then, the data transmission controller 551 writes the next received page into the latch LT2. This is a command for permitting reception of the next packet (step S21).
0). This command (received page) is read and stored by the network controller 553 (step S
310), the next data can be received in parallel with the transmission of the received data from the data transmission controller 551 to the unit controller 290.

【0332】すなわち、データ伝送コントローラ551
はステップS210で受信ページをラッチLT2に書き
込んだならば、ユニットメモリ550内のコマンドレジ
スタCR2をチェックして「0」つまりユニットコント
ローラ290に対する他の送信要求がないことを確認し
てから(ステップS211)、受信パケットタイプから
受信データエリア内での書込み位置を確定してワーキン
グエリア内の受信データをユニットメモリの受信データ
エリアに移す(ステップS212,S213)。それか
ら、交信用エリアのコマンドレジスタCR2に受信パケ
ットタイプ名を書く(ステップS214)。
That is, the data transmission controller 551
Writes the received page into the latch LT2 in step S210, checks the command register CR2 in the unit memory 550 to confirm that it is "0", that is, there is no other transmission request to the unit controller 290 (step S211). The write position in the reception data area is determined from the reception packet type, and the reception data in the working area is moved to the reception data area of the unit memory (steps S212 and S213). Then, the received packet type name is written in the command register CR2 of the communication area (step S214).

【0333】すると、ユニットコントローラ290がコ
マンドレジスタCR2を監視していてパケットタイプが
書き込まれたと判定すると、そのパケットタイプに対応
した処理を開始する(ステップS107,S108)。
そして、その処理が終了した時点でコマンドレジスタC
R2をクリアする(ステップS109)。一方、データ
伝送コントローラ551は、ステップS214で受信パ
ケットタイプ名をコマンドレジスタCR2に書き込んだ
後、そのパケットが“初期値設定”パケットか否か判定
し、“初期値設定”パケットならば定時データの送信を
開始するため、ユニットメモリ内の定時タイマ(1秒)
をセットする(ステップS215,S216)。受信パ
ケットが“初期値設定”パケットでなかったときはステ
ップS217で“回線テスト”パケットか否か判定す
る。もし、“回線テスト”パケットであったなら、ステ
ップS218でその応答たる“ACK”パケットの送信
のための処理を実行し、“回線テスト”パケット以外の
ときはそのまま他の処理へ移行する。
Then, when the unit controller 290 monitors the command register CR2 and determines that the packet type has been written, the processing corresponding to the packet type is started (steps S107 and S108).
When the processing is completed, the command register C
R2 is cleared (step S109). On the other hand, the data transmission controller 551 writes the received packet type name in the command register CR2 in step S214, and then determines whether or not the packet is an “initial value setting” packet. Scheduled timer in unit memory to start transmission (1 second)
Is set (steps S215 and S216). If the received packet is not the "initial value setting" packet, it is determined in step S217 whether the packet is a "line test" packet. If it is a "line test" packet, in step S218, a process for transmitting the "ACK" packet as a response is executed, and if it is not a "line test" packet, the process directly proceeds to another process.

【0334】次に、図63を用いてパケット送信処理に
ついて説明する。
Next, the packet transmission processing will be described with reference to FIG.

【0335】ユニットコントローラ290は“カード購
入”、“定時データ”等のパケット送信要因が生じる
と、先ずユニットメモリ550の送信データエリア内の
「パケットタイプ」欄にパケットタイプ名を書く。つま
り、パケットヘッドを作成する(ステップS121)。
それから、ユニットメモリ内のコマンドレジスタCR1
をチェックして他の送信パケットが既に入っているか否
かチェックし、他の送信パケットがないときはコマンド
レジスタCR1に送信しようとするパケットタイプ名を
書いてから送信タイマをセットする(ステップS122
〜S124)。コマンドレジスタCR1へのパケットタ
イプ名の書込みが、データ伝送コントローラ551に対
する送信指令となる。一方、データ伝送コントローラ5
51は、コマンドレジスタCR1にパケットタイプが入
ったか否か監視しており(ステップS221)、パケッ
トタイプが入ったことを知ると送信パケットタイプに応
じた送信データを、ユニットメモリ内の送信データエリ
アから読み出し、送信先であるNAUのアドレス(固
定)と送信データのバイト数とともにパケットメモリ内
のページ0に書き込む(ステップS222,S22
3)。
When a packet transmission factor such as “purchase card” or “periodic data” occurs, the unit controller 290 first writes a packet type name in the “packet type” column in the transmission data area of the unit memory 550. That is, a packet head is created (step S121).
Then, the command register CR1 in the unit memory
Is checked to see if another transmission packet has already been entered. If there is no other transmission packet, the packet type name to be transmitted is written in the command register CR1, and then the transmission timer is set (step S122).
To S124). Writing the packet type name to the command register CR1 becomes a transmission command to the data transmission controller 551. On the other hand, the data transmission controller 5
51 monitors whether or not the packet type has entered the command register CR1 (step S221), and upon detecting that the packet type has entered, transmits transmission data corresponding to the transmission packet type from the transmission data area in the unit memory. The data is read and written to page 0 in the packet memory along with the address (fixed) of the destination NAU and the number of bytes of the transmission data (steps S222 and S22).
3).

【0336】しかる後、データ伝送コントローラ551
はページ0内のデータの送信コマンドをラッチLT2に
書き込む(ステップS224)。
After that, the data transmission controller 551
Writes the transmission command of the data in page 0 into the latch LT2 (step S224).

【0337】すると、これがネットワークコントローラ
553に対する送信指令となり、ネットワークコントロ
ーラ553は送信コマンドの有無を調べ、コマンドがあ
ったときはネットワーク上での送信権の獲得を待ち、送
信権を獲得したならNAUからの送信許可を待つ(ステ
ップS321〜S323)。それから、パケットメモリ
のページ1内のデータを送信した後、送信結果をラッチ
LT1に書き込む(ステップS324,S325)。こ
れを受けてデータ伝送コントローラはラッチLT1を調
べて送信成功の有無をチェックし、失敗したときは、上
記送信処理を3回まで繰り返す(ステップS225,S
226)。
Then, this becomes a transmission command to the network controller 553, and the network controller 553 checks for the presence or absence of a transmission command, and when there is a command, waits for acquisition of the transmission right on the network. Wait for transmission permission (steps S321 to S323). Then, after transmitting the data in the page 1 of the packet memory, the transmission result is written into the latch LT1 (steps S324, S325). In response to this, the data transmission controller checks the latch LT1 to determine whether the transmission has succeeded. If the transmission has failed, the data transmission controller repeats the transmission process up to three times (steps S225 and S225).
226).

【0338】そして、送信結果を、ユニットメモリの交
信用エリア内のステータスレジスタSTRに書いてから
コマンドレジスタCR1をクリアする(ステップS22
7,S228)。
Then, after writing the transmission result in the status register STR in the communication area of the unit memory, the command register CR1 is cleared (step S22).
7, S228).

【0339】一方、ユニットコントローラ290は、ス
テップS124で送信タイマをセットした後は、コマン
ドレジスタCR1をずっと監視しており(ステップS1
25)、上記ステップS228においてデータ伝送コン
トローラ551によりコマンドレジスタCR1がクリア
されるまでにタイムオーバーを起こすと、金額表示器2
13に送られる表示データのコモン信号(ウォッチドッ
グパルス)をロウレベルに固定して、ウォッチドッグパ
ルスを停止させる(ステップS127)。これによっ
て、リセット回路555によるリセットがかかり、ステ
ップS101,S201,S301の初期化が行われ
る。
On the other hand, after setting the transmission timer in step S124, the unit controller 290 continuously monitors the command register CR1 (step S1).
25) If a time-over occurs before the command register CR1 is cleared by the data transmission controller 551 in step S228, the money amount display 2
Then, the common signal (watchdog pulse) of the display data sent to 13 is fixed at a low level, and the watchdog pulse is stopped (step S127). As a result, a reset is performed by the reset circuit 555, and steps S101, S201, and S301 are initialized.

【0340】次に、定時データ送信処理について図64
を用いて説明する。データ伝送コントローラ551は、
上記ステップS216でセットした定時タイマをチェッ
クし(ステップS231)、1秒経過したときにステッ
プS232へ進み、ユニットメモリ550の送信データ
エリア内のデータを全て読み出してワーキングエリアに
書き込む(ステップS233)。そして次に再び送信デ
ータエリア内のデータと比較し(ステップS234)、
一致したならば、コマンドレジスタCR1を見てデータ
伝送コントローラに対する他の送信要求(パケットタイ
プ)が入っていないか調べ(ステップS235)、ワー
キングエリアからデータを読み出して送信データとして
パケットメモリ552へ書き込む(ステップS237,
S238)。また、このとき送信データとともに送信先
のアドレス(NAU)と送信データの長さ(バイト数)
およびパケットタイプ名をパケットメモリ内のページ1
に書き込む。なお、ステップS235でコマンドレジス
タCR1に他のパケット名が入っていたときはそのパケ
ットの送信(S236)を行ってからステップS237
へ進む。
Next, the scheduled data transmission processing is described with reference to FIG.
This will be described with reference to FIG. The data transmission controller 551 includes:
The regular timer set in step S216 is checked (step S231), and when one second has elapsed, the process proceeds to step S232, where all data in the transmission data area of the unit memory 550 is read and written to the working area (step S233). Then, the data is compared again with the data in the transmission data area (step S234),
If they match, the command register CR1 is checked to see if another transmission request (packet type) to the data transmission controller has been entered (step S235), and data is read from the working area and written to the packet memory 552 as transmission data (step S235). Step S237,
S238). At this time, together with the transmission data, the destination address (NAU) and the length of the transmission data (the number of bytes)
Page 1 in the packet memory and the packet type name
Write to. If another packet name is included in the command register CR1 in step S235, the packet is transmitted (S236), and then the process proceeds to step S237.
Proceed to.

【0341】上記ステップS234でデータの一致を判
定しているのは、ユニットコントローラが送信データエ
リアに対して2バイトからなるデータ部の1バイトを書
き換えたときに、定時データを送信すると、未確定なデ
ータを送信することになるからである。データの一致を
みることにより、送信データエリアのデータ確定を判定
することができる。
The reason why the data coincidence is determined in step S234 is that when the unit controller rewrites one byte of the data portion consisting of two bytes with respect to the transmission data area and transmits the regular data, the data is not determined. This is because such data will be transmitted. By confirming the coincidence of the data, it is possible to determine the determination of the data in the transmission data area.

【0342】送信データの書込み(ステップS238)
後、データ伝送コントローラ551は、ページ1内のデ
ータの送信コマンドをラッチLT2に書く(ステップS
239)。
Writing of transmission data (step S238)
Thereafter, the data transmission controller 551 writes a transmission command of the data in the page 1 to the latch LT2 (step S2).
239).

【0343】すると、これがネットワークコントローラ
553に対する送信指令となり、ネットワークコントロ
ーラ553は送信コマンドの有無を調べ、コマンドがあ
ったときはネットワーク上での送信権の獲得を待ち、送
信権を獲得したならNAUからの送信許可を待つ(ステ
ップS331〜S333)。それから、パケットメモリ
のページ1内のデータを送信した後、送信結果をラッチ
LT1に書き込む(ステップS334,S335)。こ
れを受けてデータ伝送コントローラ551はラッチLT
1を調べて送信成功の有無をチェックし、失敗したとき
は、上記送信処理を3回まで繰り返す(ステップS24
0,S241)。
Then, this becomes a transmission command to the network controller 553. The network controller 553 checks for the presence or absence of a transmission command, and when there is a command, waits for acquisition of a transmission right on the network. Wait for transmission permission (steps S331 to S333). Then, after transmitting the data in the page 1 of the packet memory, the transmission result is written into the latch LT1 (steps S334, S335). In response, the data transmission controller 551 sets the latch LT
No. 1 is checked to determine whether or not the transmission has succeeded. If the transmission has failed, the transmission process is repeated up to three times (step S24).
0, S241).

【0344】なお、パチンコ機のユニット制御装置18
0や精算機のユニット制御装置380におけるデータ送
信処理も図61〜図64の制御手順と同一の手順に従っ
て実行される。
The unit control device 18 of the pachinko machine
The data transmission process in the unit controller 380 of 0 or the settlement machine is also executed according to the same procedure as the control procedure of FIGS.

【0345】次に、発行機200におけるユニット制御
装置280とカード発行制御装置790およびカードリ
ーダ制御装置288における制御手順を、相互間のデー
タ通信と関連して説明する。
Next, control procedures in the unit controller 280, the card issuing controller 790, and the card reader controller 288 in the issuing machine 200 will be described in relation to data communication between them.

【0346】なお、この実施例のカード発行機において
は、ユニットコントローラ290はカード発行制御装置
790とのみ通信可能でカードリーダ制御装置288と
直接交信することはできない。つまり、カードリーダ制
御装置288はカード発行制御装置790との間でのみ
通信が可能である。そこで、ユニットコントローラ29
0とカード発行制御装置790との間の通信は、ファン
クションコードによって行ない、カード発行制御装置7
90とカードリーダ制御装置288との間の通信はコマ
ンドによって行なうようになっている。ちなみにユニッ
トコントローラ290からカード発行制御装置790に
対するファンクションコードとしては、カードの磁気記
録部へ記録すべき年月日コードと識別コードをカードリ
ーダに対して与えるための「初期値設定」ファンクショ
ン、カードの発行を指令する「カード発行」ファンクシ
ョンおよび直前に送ってきたファンクションコードの再
送を要求する「再送要求」ファンクション、カード発行
制御装置790がカードリーダ制御装置288から受け
取ったカードリーダの状態を示すステータスの送信を要
求する「ステータス要求」ファンクションの4種類の指
令が用意されている。
In the card issuing machine of this embodiment, the unit controller 290 can communicate only with the card issuing controller 790 and cannot directly communicate with the card reader controller 288. That is, the card reader control device 288 can communicate only with the card issuance control device 790. Therefore, the unit controller 29
0 and the card issuance control device 790 are communicated by a function code.
Communication between 90 and the card reader control device 288 is performed by a command. Incidentally, as the function code from the unit controller 290 to the card issuance control device 790, an "initial value setting" function for giving the card reader a date code and an identification code to be recorded in the magnetic recording section of the card, a function of the card A "card issue" function for issuing issuance and a "retransmission request" function for requesting retransmission of the function code sent immediately before, and a status indicating the status of the card reader received from the card reader controller 288 by the card issuing controller 790. Four types of commands of a "status request" function for requesting transmission are prepared.

【0347】また、カード発行制御装置790からユニ
ットコントローラ290に対するファンクションコード
としては、リセット時に年月日や識別コード等の初期値
を要求する「初期値要求」ファンクション、指示された
処理が正常に終了したことをユニットコントローラに知
らせる「正常終了」ファンクションおよび逆に正常に処
理が終了しなかったことを知らせる「異常終了」ファン
クション、ユニットコントローラに対して直前に送って
きたファンクションコードの再送を要求する「再送要
求」ファンクションとユニットコントローラ290から
の「ステータス要求」に対してカードリーダのステータ
スを送信するための「ステータス送信」ファンクション
の5種類がある。
The function code from the card issuing control device 790 to the unit controller 290 includes an “initial value request” function for requesting an initial value such as a date and an identification code at the time of reset, and the instructed processing ends normally. A "normal end" function that notifies the unit controller that the processing has been completed, and an "abnormal end" function that notifies that processing has not ended normally, and a request to retransmit the function code sent immediately before to the unit controller. There are five types of a "retransmission request" function and a "status transmission" function for transmitting the status of the card reader in response to the "status request" from the unit controller 290.

【0348】なお、特に限定されないが上記ファンクシ
ョンコードはSTXなる開始コードとETXなる終了コ
ードに挾まれて送信され、STXとETXとの間にはフ
ァンクションコードの他にステータスや送信したいデー
タが入ることもある。
Note that, although not particularly limited, the above function code is transmitted sandwiched between a start code of STX and an end code of ETX, and between the STX and ETX, status and data to be transmitted are included in addition to the function code. There is also.

【0349】具体的には、上記「正常終了」ファンクシ
ョンや「異常終了」ファンクションおよび「ステータス
送信」ファンクションの中に〔表29〕、〔表30〕に
示すようなカードリーダの状態を示す8ビットのステー
タス1、ステータス2の入る欄が設けられており、ファ
ンクションコードとともにステータスがユニットコント
ローラ290へ送られる。
Specifically, the “normal end” function, the “abnormal end” function, and the “status transmission” function include an 8-bit indicating the card reader status as shown in [Table 29] and [Table 30]. The status 1 and the status 2 are provided, and the status is sent to the unit controller 290 together with the function code.

【0350】表29のステータス1において、搬送部セ
ンサ異常ビットはカード発行装置700の走行位置セン
サCPS2〜CPS6のいずれかが故障したときに
「1」が設定される。
In the status 1 of Table 29, the transport unit sensor abnormality bit is set to “1” when any of the traveling position sensors CPS2 to CPS6 of the card issuing device 700 has failed.

【0351】[0351]

【表29】 [Table 29]

【0352】[0352]

【表30】 [Table 30]

【0353】一方、カード発行制御装置790からカー
ドリーダ制御装置288に対する通信コマンドとして
は、カードに磁気データを記録するように指示する「磁
気書込み」コマンドと、カードの磁気データやセキュリ
ティコードおよびパンチ穴の各情報を読み取って磁気デ
ータを送るよう指示する「磁気読込み」コマンドと、読
み取ったセキュリティデータを送るよう指示する「セキ
ュリティ要求」コマンドと、読み取ったパンチ穴データ
を送るよう指示する「パンチ穴要求」コマンドと、カー
ドリーダ内に保持されているカードのデータの再読取り
を指示する「リロード」コマンドと、カードにパンチ穴
を開けるように指示する「パンチ穴開け」コマンドと、
カードリーダ内のカードを前方の挿入口の方向へ排出す
るよう指示する「カード前方排出」コマンドと、カード
リーダ内のカードを後方へ排出するよう指示する「カー
ド後方排出」コマンドと、カード読取り指令を取り消す
ための「キャンセル」コマンドおよびカードリーダの状
態を示すステータス情報の送信を指示する「ステータス
要求」コマンドの9種類がある。
On the other hand, as a communication command from the card issuing control device 790 to the card reader control device 288, a “magnetic write” command instructing recording of magnetic data on the card, a magnetic data of the card, a security code, and a punch hole are provided. A "magnetic read" command instructing to read each piece of information and sending magnetic data, a "security request" command instructing to send the read security data, and a "punch hole request" instructing to send the read punch hole data Command, a "reload" command for instructing rereading of data of the card held in the card reader, a "punch hole" command for instructing to punch a hole in the card,
A “card forward ejection” command to eject the card in the card reader toward the front insertion slot, a “card backward ejection” command to eject the card in the card reader backward, and a card reading command There are nine types of “cancel” command for canceling the status and “status request” command for instructing transmission of status information indicating the status of the card reader.

【0354】また、カードリーダ制御装置288は、カ
ード発行制御装置790から上記のようなコマンドを受
信すると、対応する処理を実行し、必ず応答を返すよう
になっている。その応答の種類としては、正常、通信異
常、コマンドエラー、磁気記録データ無し、磁気データ
読込み不能、磁気記録データ異常、セキュリティと磁気
データ不一致、企業コードまたは機器コード不一致、磁
気書込みエラー、パンチエラー、パンチ穴読取りエラ
ー、セキュリティ読取りエラー、パンチ屑満杯、モータ
異常、RAM異常、センサ異常、カードリーダ異常、カ
ード長エラー、カードジャムがある。
When the card reader control device 288 receives the above-mentioned command from the card issuance control device 790, it executes the corresponding processing and always returns a response. The types of response include: normal, communication error, command error, no magnetic recording data, magnetic data read failure, magnetic recording data error, security and magnetic data mismatch, company code or device code mismatch, magnetic write error, punch error, There are punch hole read error, security read error, punch dust full, motor error, RAM error, sensor error, card reader error, card length error, and card jam.

【0355】なお特に限定されないが、上記コマンドを
示すコードはESCなる開始コードとCRなる終了コー
ドに挾まれて送信され、ESCとCRとの間にはコマン
ドコードの他に送信するデータが入ることがある。ま
た、カードリーダ制御装置288からカード御装置79
0への応答は、STXなる開始コードとCRなる終了コ
ードとの間に上記エラーの種類を示すコードまたはエラ
ーコードと要求されたデータを挾んで送信するようにな
っている。
Although not particularly limited, the code indicating the command is transmitted between a start code ESC and an end code CR, and between the ESC and CR, data to be transmitted other than the command code is included. There is. The card reader controller 288 sends the card controller 79
The response to "0" is transmitted with a code indicating the type of error or an error code and requested data interposed between a start code STX and an end code CR.

【0356】図65〜図72には、カード発行機200
のユニットコントローラ290における主たる処理の具
体的な制御手順を示す。
FIGS. 65 to 72 show the card issuing machine 200.
The specific control procedure of the main processing in the unit controller 290 of FIG.

【0357】ユニットコントローラ290は、リセット
信号が入ってくると、CPU内部の初期化すなわち内部
メモリ(RAM)をクリアして所定の番地にチェックコ
ードを書き込んだり、タイマや内部レジスタ、I/Oポ
ートをクリアもしくは所定の値にセットする(手続きP
C101)。それから、ユニットメモリ550の所定の
端子からイニシャライズ信号INTが立ち上がるのを待
ち(手続きPC102)、この信号が立ち上がると台番
号設定器205から発行機の台番号を読み取って、その
台番号を用いて端末通し番号とチャネル番号を演算し、
それらの番号をユニットメモリ550の送信データエリ
アに書き込む(手続きPC103,PC104)。
When a reset signal is received, the unit controller 290 initializes the CPU, that is, clears the internal memory (RAM), writes a check code at a predetermined address, and operates a timer, an internal register, and an I / O port. Is cleared or set to a predetermined value (procedure P
C101). Then, it waits for the initialization signal INT to rise from a predetermined terminal of the unit memory 550 (procedure PC102). When this signal rises, the machine number of the issuing machine is read from the machine number setting unit 205, and the terminal is used by using the machine number. Calculate the serial number and channel number,
These numbers are written in the transmission data area of the unit memory 550 (procedures PC103 and PC104).

【0358】次に、ユニットメモリ550の受信データ
エリア内の年月日が「0」か否か判定することで“回線
テスト”パケットの受信待ちを行なう(手続きPC10
5)。すなわち、管理装置400から年月日の入った
“回線テスト”パケットが送られてくるまではユニット
メモリ内の年月日の欄は「0」となっており、パケット
を受信すると年月日が「0」でなくなるため、この年月
日を監視していることで“回線テスト”パケットの受信
の有無を知ることができる。
Next, it is determined whether or not the date in the reception data area of unit memory 550 is "0" to wait for reception of a "line test" packet (procedure PC10).
5). That is, until the “line test” packet containing the date is sent from the management device 400, the date field in the unit memory is “0”, and when the packet is received, the date is changed to “0”. Since it is no longer “0”, it is possible to know whether a “line test” packet has been received by monitoring this date.

【0359】“回線テスト”パケットを受信するとユニ
ットコントローラ290は、送信データエリア内のモニ
タ情報1(〔表12〕参照)の初期値未設定ビットを
「1」にセットする(手続きPC106)。このビット
は“初期値設定”パケットまたは“ユニット復旧デー
タ”パケットを受信したときに「0」にクリアされる。
それからユニットコントローラ290はユニットメモリ
550の交信用エリア内のコマンドレジスタCR2をみ
て管理装置400からの受信パケットがあるかいなかチ
ェックし(手続きPC107)、なければそのまま、ま
たあったときは図66のパケット受信処理(手続きPC
201〜PC209)を実行した後にそれぞれ手続きP
C108へ進む。
Upon receiving the "line test" packet, unit controller 290 sets the initial value unset bit of monitor information 1 (see [Table 12]) in the transmission data area to "1" (procedure PC106). This bit is cleared to "0" when an "initial value setting" packet or a "unit recovery data" packet is received.
Then, the unit controller 290 checks whether there is a packet received from the management apparatus 400 by checking the command register CR2 in the communication area of the unit memory 550 (procedure PC107). Reception processing (procedure PC
201 to PC209), and then execute procedure P
Proceed to C108.

【0360】手続きPC108ではユニットメモリ55
0の送信データエリア内の予約フラグが「0」か否かチ
ェックし、「1」ならそのまま、また「0」なら図67
のカード番号予約処理(手続きPC211〜PC22
7)を実行してからそれぞれ手続きPC109へ進む。
ただし、最初にこの手続きPC109へきたときは、手
続きPC101の初期化で予約フラグが「0」にされて
いるで、先ずカード番号予約処理を実行することにな
る。
In the procedure PC 108, the unit memory 55
It is checked whether the reservation flag in the transmission data area of “0” is “0”.
Card number reservation processing (procedures PC211 to PC22)
After performing 7), the process proceeds to the procedure PC 109.
However, when the procedure PC 109 is first reached, the reservation flag is set to “0” by the initialization of the procedure PC 101, so that the card number reservation process is executed first.

【0361】手続きPC109では、紙幣識別器210
からの紙幣挿入中信号BUSYをチェックして、紙幣の
挿入の有無を調べて、挿入がなければそのまま、また紙
幣の挿入があれば図68のカード購入処理(手続きPC
231〜PC264)を実行してから次の手続きPC1
10へ進む。
In the procedure PC 109, the bill validator 210
Check the signal BUSY during the insertion of the banknote to check for the presence or absence of the insertion of the banknote. If there is no insertion of the banknote, the card purchase processing of FIG.
231 to PC264) and then the next procedure PC1
Proceed to 10.

【0362】手続きPC110では、内部メモリ内に未
処理パケットとして登録されているパケットがあるか否
か調べ、なければそのまま、また未処理パケットがあれ
ば図66のパケット受信処理(手続きPC201〜PC
209)を実行した後、手続きPC111へ移行する。
The procedure PC 110 checks whether or not there is a packet registered as an unprocessed packet in the internal memory. If there is no unprocessed packet, or if there is an unprocessed packet, the packet reception process shown in FIG.
209), and then the procedure moves to the procedure PC111.

【0363】手続きPC111では、カード発行制御装
置790から「初期値要求」ファンクションが入ってい
るかチェックし、ファンクションがなければ手続きPC
107へ戻り、あれば手続きPC112で年月日と識別
コードを入れた「初期値送信」ファンクションを送信し
てから手続きPC107へ戻って上記手続きを繰り返
す。
The procedure PC 111 checks from the card issuance control device 790 whether an “initial value request” function is included.
Returning to step 107, if any, the procedure PC 112 transmits an "initial value transmission" function containing the date and the identification code, and then returns to procedure PC 107 to repeat the above procedure.

【0364】図66には、図65のフロー中におけるパ
ケット受信処理の具体的手順の一例を示す。
FIG. 66 shows an example of a specific procedure of the packet receiving process in the flow of FIG.

【0365】ユニットコントローラ290は、受信パケ
ットがあると、先ずその受信パケットが“初期値設定”
パケットか否か判定し(手続きPC201)、“初期値
設定”パケットなら図69に示す初期値設定処理(手続
きPC271〜PC274)を実行してから手続きPC
209へ移行して、パケットを受信したことをデータ伝
送コントローラ551に知らせるためユニットメモリ5
50内のコマンドレジスタCR2をクリアする。
[0365] When there is a received packet, the unit controller 290 first sets the received packet to "initial value setting".
It is determined whether the packet is a packet (procedure PC201). If the packet is an "initial value setting" packet, the initial value setting process (procedures PC271 to PC274) shown in FIG.
209, to notify the data transmission controller 551 that the packet has been received.
The command register CR2 in 50 is cleared.

【0366】次に、受信パケットが“初期値設定”パケ
ットでないときは“ユニット復旧データ”パケットか否
か判定し(手続きPC202)、イエスなら図70に示
すユニット復旧処理(手続きPC281〜PC288)
を実行して手続きPC209へ移行する。
Next, if the received packet is not the “initial value setting” packet, it is determined whether it is a “unit recovery data” packet (procedure PC202), and if yes, the unit recovery processing shown in FIG. 70 (procedures PC281 to PC288).
To move to procedure PC209.

【0367】また、受信パケットが“初期値設定”でも
“ユニット復旧データ”でもないときは、“ACK”受
信か否か判定し(手続きPC203)、“ACK”受信
のときはなにもせずにそのまま手続きPC209へ移行
する。この時点で受信した“ACK”パケットは、ユニ
ットコントローラ290から管理装置400へパケット
を送信してその応答を待っているとき以外の“ACK”
であるためである。
If the received packet is neither “initial value setting” nor “unit recovery data”, it is determined whether or not “ACK” is received (procedure PC203). If “ACK” is received, nothing is done. The process directly proceeds to procedure PC 209. The “ACK” packet received at this time is “ACK” other than when the unit controller 290 transmits the packet to the management device 400 and waits for a response.
This is because

【0368】手続きPC203で受信パケットが“AC
K”でなかったときは手続きPC204へ進み、ここで
モニタ情報1内の初期値未設定ビットが「1」か否かチ
ェックする。ここで、初期値未設定ビットが「1」なら
手続きPC209へ移行し、「0」なら手続きPC20
5へ移行する。“初期値設定”パケットを受信する前に
“開店コード”や“強制終了解除”パケットが入ってき
たときに誤って発行機が発行動作を開始しないようにす
るためである。
At procedure PC 203, if the received packet is “AC
If it is not "K", the process proceeds to procedure PC 204, where it is checked whether the initial value unset bit in monitor information 1 is "1". Here, if the initial value unset bit is “1”, the procedure proceeds to the procedure PC 209;
Go to 5. This is to prevent the issuing machine from erroneously starting the issuance operation when the “opening code” or the “forced termination release” packet comes in before the “initial value setting” packet is received.

【0369】手続きPC205では、受信パケットが
“開店コード”パケットか否か判定し、イエスなら図7
1に示す強制終了解除処理(手続きPC291〜PC2
93)を実行する。また、“開店コード”でないときは
手続きPC206で受信パケットが“強制終了解除”か
否か判定し、イエスなら同じく強制終了解除処理PC2
91〜P293を実行し、ノーなら手続きPC207へ
進む。
Procedure PC 205 determines whether or not the received packet is a “store opening code” packet.
1 (procedures PC291 to PC2)
93) is executed. If it is not the "opening code", the procedure PC 206 determines whether or not the received packet is "compulsory termination release".
91 to P293 are executed, and if no, the process proceeds to the procedure PC 207.

【0370】手続きPC207では、受信パケットが
“閉店コード”か否か判定し、イエスなら第62図
(D)に示す強制終了処理(手続きPC295〜PC2
97)を実行する。また“閉店コード”でないときは手
続きPC208で受信パケットが“強制終了要求”か否
か判定し、イエスなら同じく強制終了処理PC295〜
PC297を実行してから、またノオならそのまま手続
きPC209へ移行してユニットメモリ550内のコマ
ンドレジスタCR2をクリアする。
In procedure PC207, it is determined whether or not the received packet is a "closure code". If yes, the forced termination process shown in FIG. 62 (D) (procedure PC295 to PC2)
97). If it is not the "closed code", it is determined in step PC208 whether the received packet is a "forced end request".
After the PC 297 is executed, if no, the process directly proceeds to the procedure PC 209 to clear the command register CR2 in the unit memory 550.

【0371】図67には、図65のフローにおけるカー
ド番号予約処理の具体的手順を示す。ここでは、先ずユ
ニットメモリ550内のモニタ情報1の初期値未設定ビ
ットが「1」か否か判定する(手続きPC211)。こ
こで、当該ビットが「1」なら未だ管理装置400から
初期値を受け取っていないので何もせずに元のルーチン
(図65)へ戻り、「0」なら手続きPC212へ進ん
で、金額、カード番号および発行通し番号を「0」とし
発行受付番号のみ入れた“カード購入”パケットを送信
する。なお、発行受付番号は、当該カード発行機200
における既発行回数に1を加算したものを使用する。管
理装置400においては、自己の管理下の全発行機にお
ける発行回数を加算して発行通し番号nを決定する。
FIG. 67 shows a specific procedure of the card number reservation processing in the flow of FIG. Here, first, it is determined whether or not the initial value unset bit of the monitor information 1 in the unit memory 550 is “1” (procedure PC211). Here, if the bit is “1”, since the initial value has not yet been received from the management device 400, the process returns to the original routine (FIG. 65) without doing anything. Then, a “card purchase” packet containing only the issue receipt number with the issue serial number set to “0” is transmitted. It should be noted that the issue acceptance number is the card issuer 200
Is used by adding 1 to the number of issuances already issued. The management apparatus 400 determines the issue serial number n by adding the number of times of issuance of all issuers under its management.

【0372】次に、ユニットコントローラ290は、1
0秒タイマを設定してから、そのタイマがタイムオーバ
ーしたか判定し、ノーならユニットメモリ550内のコ
マンドレジスタCR1を見て管理装置からパケットを受
信したか否か判定する(手続きPC213〜PC21
5)。ここで、パケットが受信されていないときは、上
記手続きPC214へ戻って、再び10秒タイマがタイ
ムオーバーしたか判定する。そして、パケットを受信す
る前にタイムオーバーになると、手続きPC219へ移
行して金額表示器213のコモン信号をロウレベルまた
はハイに固定することでウォッチドッグパルスの出力を
停止させる。ちなみに、このパルスが停止されると、リ
セット回路555によってリセット信号が発生され、ユ
ニットコントローラ290およびデータ伝送コントロー
ラ553にリセットがかかるようになっている。
Next, the unit controller 290
After setting the 0 second timer, it is determined whether or not the timer has timed out, and if no, it is determined whether a packet has been received from the management device by referring to the command register CR1 in the unit memory 550 (procedures PC213 to PC21).
5). If a packet has not been received, the process returns to the procedure PC 214 to determine again whether the 10-second timer has expired. If the time is over before receiving the packet, the procedure goes to procedure PC 219 to fix the common signal of the amount indicator 213 to low level or high, thereby stopping the output of the watchdog pulse. Incidentally, when this pulse is stopped, a reset signal is generated by the reset circuit 555, and the unit controller 290 and the data transmission controller 553 are reset.

【0373】手続きPC213で設定したタイマがタイ
ムオーバーを起こす前にパケットを受信すると、手続き
PC215からPC216へ進み、その受信パケットが
“ACK”か否か判定し、“ACK”でないときは“N
AK”か否か判定する(手続きPC217)。また、受
信したパケットが“ACK”でも“NAK”でもないと
きは、内部メモリに未処理パケットとして登録しておく
(手続きPC218)。なお、この未処理パケットは図
65のメインフローの中の手続きPC110でその有無
が判定されて、処理される。
If a packet is received before the timer set in procedure PC 213 has timed out, the procedure advances from procedure PC 215 to PC 216 to determine whether or not the received packet is “ACK”.
It is determined whether the received packet is "AK" (procedure PC 217), and if the received packet is neither "ACK" nor "NAK", it is registered as an unprocessed packet in the internal memory (procedure PC 218). The presence / absence of the processing packet is determined by the procedure PC 110 in the main flow of FIG. 65 and is processed.

【0374】また、手続きPC219で受信パケットが
“NAK”と判定されたときは手続きPC219へ移行
して、ウォッチドッグパルスを停止して、リセットをか
ける。一方、手続きPC216で受信パケットが“AC
K”と判定されたときは、手続きPC221へ移行して
予約フラグをオール“1”にセットしてから、カード発
行制御装置790に対し、金額を「0」として「カード
発行」ファンクションを送信する(手続きPC22
2)。
If the procedure PC 219 determines that the received packet is “NAK”, the procedure moves to the procedure PC 219 to stop the watchdog pulse and reset. On the other hand, when the received packet is “AC
If it is determined to be “K”, the procedure proceeds to procedure PC 221 to set the reservation flag to all “1”, and then sends the “card issue” function to card issuing control device 790 with the amount set to “0”. (Procedure PC22
2).

【0375】それから、カード発行制御装置790から
「正常終了」ファンクションを受信したか判定し(手続
きPC223)、受信していなければ手続きPC224
へ移行して「異常終了」ファンクションを受信したか判
定する。ここでノオならば再び手続きPC223へ戻っ
て上記判定を繰り返し、「正常終了」ファンクションを
受信した時点で手続きPC225へ移行して紙幣挿入ラ
ンプ223の点滅を開始させてから元のルーチン(図6
5)に戻る。
Then, it is determined whether a “normal end” function has been received from the card issuing control device 790 (procedure PC223).
To determine whether the "abnormal termination" function has been received. If NO, the procedure returns to procedure PC 223 again to repeat the above-described determination. When the “normal end” function is received, the procedure proceeds to procedure PC 225 to start blinking of bill insertion lamp 223 and then returns to the original routine (FIG. 6).
Return to 5).

【0376】また、手続きPC224で「異常終了」フ
ァンクションを受信したときは、モニタ表示器206に
その異常の内容を示すエラー番号を表示させてからエラ
ー状態の回復を待ち、回復後に手続きPC222へ戻っ
て再度カード発行制御装置790へ「カード発行」ファ
ンクションを送信する。
When the procedure PC 224 receives the “abnormal termination” function, the monitor display 206 displays an error number indicating the content of the error, waits for the recovery of the error state, and returns to the procedure PC 222 after the recovery. Then, the “card issuance” function is transmitted to the card issuance control device 790 again.

【0377】なお、金額が「0」の「カード発行」ファ
ンクションをカード発行制御装置790が受信すると、
カードタンクからカードを取り出して磁気記録部にカー
ド番号を含む磁気データを記録し、発行穴を開けてから
千の位を除く3つの「0」を印字した時点で処理を中断
して待機状態に移るようになっている。
When the card issuance control device 790 receives a “card issuance” function of which the amount is “0”,
Take out the card from the card tank, record the magnetic data including the card number in the magnetic recording unit, and after interrupting the issuance hole, stop the process when three “0” s except for the thousands are printed and suspend. It is moving.

【0378】図68には、図65のフロー中におけるカ
ード購入処理の具体的手順を示す。
FIG. 68 shows a specific procedure of the card purchase processing in the flow of FIG.

【0379】紙幣識別器210に紙幣が挿入されたこと
を検知すると、ユニットコントローラ290は先ず紙幣
挿入ランプ223が点滅状態にあるか否かチェックし
(手続きPC231)、点滅中でないときは何もせずに
元のルーチン(図65)へ戻り、点滅中のときはPC2
32以下の手続きへ移行する。上記紙幣挿入ランプ22
3は、前述したカード番号予約処理中の手続きPC22
5または図72の強制終了解除処理中の手続きPC22
5で点滅が開始されるので、カード番号の予約処理終了
後または“強制終了解除”パケットを受信した後に当該
カード購入処理が実行されることになる。
When the unit controller 290 detects that a bill has been inserted into the bill validator 210, the unit controller 290 first checks whether or not the bill insertion lamp 223 is blinking (procedure PC 231). Return to the original routine (FIG. 65),
Move to the procedure of 32 or less. The above bill insertion lamp 22
3 is a procedure PC22 during the card number reservation process described above.
5 or the procedure PC22 in the forced termination release process of FIG.
Since the blinking starts at 5, the card purchase processing is executed after the reservation processing of the card number is completed or after the "forced termination release" packet is received.

【0380】手続きPC232では紙幣識別器210に
対して、紙幣取込み指示信号STACKを与えてから、
紙幣識別器210からの金額を読み取って、その金額に
よって購入可能な購入選択スイッチ212を示すべくス
イッチ内蔵のランプLMP1〜LMP5を挿入金額に相
当する分(千円ならLMP1のみ、5千円ならLMP1
〜LMP5)だけ点灯させる(手続きPC233)。
[0380] The procedure PC232 gives the bill accepting instruction signal STACK to the bill validator 210,
The amount of money is read from the bill validator 210, and the lamps LMP1 to LMP5 with built-in switches are shown to indicate the purchase selection switch 212 that can be purchased according to the amount of money (LMP1 for 1,000 yen, LMP1 for 5,000 yen,
To LMP5) (procedure PC233).

【0381】次に、挿入された紙幣が5千円未満か判定
し(手続きPC234)、5千円なら手続きPC236
で上記紙幣挿入ランプ223を消灯させてから手続きP
C237へ移行し、5千円未満なら手続きPC236で
次の紙幣が挿入されたか否か判定する。連続した紙幣の
挿入による高額のカードの購入を可能にするためであ
る。ここで、次の紙幣の挿入を検知すると、再び手続き
PC232へ戻って紙幣の取込み指令を与え、トータル
の投入金額に相当する購入ランプを点灯させてからトー
タルの投入金額が5千円未満か判定する。
Next, it is determined whether or not the inserted bill is less than 5,000 yen (procedure PC234).
Turn off the bill insertion lamp 223 at
The process proceeds to C237, and if it is less than 5,000 yen, procedure PC236 determines whether the next bill is inserted. This is because it is possible to purchase a high-priced card by continuously inserting bills. Here, when the insertion of the next bill is detected, the procedure returns to the procedure PC 232 again to give a bill taking instruction, turn on the purchase lamp corresponding to the total bill, and determine whether the total bill is less than 5,000 yen. I do.

【0382】投入金額が5千円に達するか次の紙幣の挿
入がないときは、手続きPC237へ移行して購入選択
スイッチ212のいずれかがオンされたか否か判定す
る。ここで、選択スイッチ212がオンされていないと
きは手続きPC234へ戻ることで購入選択スイッチが
オンされるまで次の手続きへ移行せずに待機する。
When the inserted amount reaches 5,000 yen or when the next bill is not inserted, the flow shifts to procedure PC 237, and it is determined whether or not any of the purchase selection switches 212 has been turned on. Here, when the selection switch 212 is not turned on, the process returns to the procedure PC 234, and waits without shifting to the next procedure until the purchase selection switch is turned on.

【0383】その後、購入選択スイツチ212がオンさ
れると、紙幣挿入ランプ223を消灯させてからオンさ
れたスイッチ以外の内蔵ランプをすべて消灯させる(手
続きPC238,PC239)。次に、カード発行口2
02に設けられているカード発行ランプ224の点滅を
開始させてから、釣銭があるか否か判定し、釣銭がある
ときは、紙幣払出口232に設けられた紙幣払出ランプ
225の点滅を開始させる(手続きPC240〜PC2
42)。この実施例のカード発行機では、紙幣識別器2
10として千円と5千円と1万円を識別できるものを使
用するとともに、発行カードとしては千円きざみで5千
円相当まで発行できるようにしているためである。
After that, when the purchase selection switch 212 is turned on, the bill insertion lamp 223 is turned off, and then all the built-in lamps other than the switch that was turned on are turned off (procedures PC238, PC239). Next, card issuing port 2
After the blinking of the card issuing lamp 224 provided in the banknote 02 is started, it is determined whether or not there is a change. When there is a change, the blinking of the bill payout lamp 225 provided in the bill payout port 232 is started. (Procedure PC240-PC2
42). In the card issuing machine of this embodiment, the bill validator 2
This is because a card that can distinguish between 1,000 yen, 5,000 yen, and 10,000 yen is used as 10, and an issuance card can be issued up to 5,000 yen per thousand yen.

【0384】一方、釣銭がないときは手続きPC241
からPC243へジャンプしてランプを点滅させずに次
の手続きへ進み、予約フラグが「0」か否か判定する。
On the other hand, if there is no change, procedure PC241
To PC 243 to proceed to the next procedure without blinking the lamp, and determine whether the reservation flag is "0".

【0385】ここで、予約フラグが「1」なら次の手続
きPC244で、金額の欄に購入選択スイッチ212に
より選択された値を、また、カード番号および発行通し
番号の欄には図67のカード番号予約処理で管理装置4
00から受け取った予約番号を、更に発行受付番号の欄
には予約の際に管理装置へ送った発行回数をそれぞれ入
れた“カード購入”パケットを管理装置へ送信する。一
方、予約フラグが「0」のときは、金額の欄に選択値ま
た発行受付番号の欄には既発行回数に+1をした値を入
れ、カード番号と発行通し番号は各々「0」とした“カ
ード購入”パケットを管理装置へ送信する。発行機がカ
ード番号の予約を行なう前に紙幣が投入された場合を想
定したものである。
Here, if the reservation flag is “1”, the value selected by the purchase selection switch 212 is entered in the amount column and the card number and issue serial number in FIG. Management device 4 in reservation processing
Then, a "card purchase" packet is transmitted to the management apparatus, in which the reservation number received from 00 and the number of issuances sent to the management apparatus at the time of reservation are entered in the column of the issuance reception number. On the other hand, when the reservation flag is "0", the selection value is entered in the column of the amount of money and the value obtained by adding +1 to the number of issued issuances is entered in the column of the issuance number, and the card number and the issuing serial number are each "0" A "Card purchase" packet is transmitted to the management device. It is assumed that a bill is inserted before the issuing machine reserves a card number.

【0386】パケット送信後ユニットコントローラ29
0は、10秒タイマをセットしてからタイムオーバーし
たか判定し、オーバーしていないときは管理装置400
からのパケットを受信したか否か判定する(手続きPC
246〜P248)。ここでパケットを受信していない
ときは手続きPC247へ戻ってタイマをチェックし、
タイムオーバーすなわち10秒以内に“ACK”パケッ
トが戻ってこないときは、手続きPC252へ移行して
ウォッチドッグパルスの出力を停止させる。
[0386] After packet transmission, unit controller 29
0 determines whether the time is over after setting the 10-second timer.
To determine whether a packet has been received from the PC (procedure PC
246-P248). If no packet has been received, the procedure returns to procedure PC 247 to check the timer.
If the "ACK" packet does not return within the time-out, that is, within 10 seconds, the process proceeds to procedure PC252 to stop the output of the watchdog pulse.

【0387】また、時間内にパケットを受信すると、そ
のパケットが“NAK”か否か判定し、“NAK”のと
きは、手続きPC252へ移行してウォッチドッグパル
スの出力を停止させる。
When a packet is received within the time, it is determined whether or not the packet is "NAK". If the packet is "NAK", the flow shifts to procedure PC252 to stop outputting the watchdog pulse.

【0388】さらに、受信パケットが“NAK”でなか
ったときは“ACK”か否かチェックし、“ACK”で
ないときは未処理パケットとして内部メモリに登録して
から手続きPC247へ戻って再びタイマをチェックす
る。そして、受信パケットが“ACK”であった場合に
のみ手続きPC253へ移行して、発行回数をインクリ
メントしてから、予約処理フローの手続きPC221で
「1」にセットされた予約フラグを「0」にする(手続
きPC254)。
If the received packet is not "NAK", it is checked whether it is "ACK". If not, it is registered as an unprocessed packet in the internal memory and returns to procedure PC 247 to restart the timer. To check. Then, only when the received packet is “ACK”, the procedure shifts to procedure PC 253 to increment the number of issuances, and then sets the reservation flag set to “1” in procedure PC 221 of the reservation processing flow to “0”. Yes (procedure PC254).

【0389】その後、ユニットコントローラ290は、
カード発行制御装置790へカード番号と発行通し番号
および購入金額を入れた「カード発行」ファンクション
を送信してから、「正常終了」ファンクションの応答が
あるのを待つ(手続きPC255〜PC257)。「正
常終了」の応答がくる前に「異常終了」応答がカード発
行制御装置790から送られてくると、ユニットコント
ローラ290はモニタ表示器206に異常の内容を示す
エラー番号を表示してからエラー状態が回復するのを待
つ(手続きPC263,PC264)。
[0389] Thereafter, the unit controller 290
After transmitting the "card issuance" function including the card number, the issue serial number and the purchase price to the card issuance control device 790, it waits for a response from the "normal end" function (procedures PC255 to PC257). If an "abnormal end" response is sent from the card issuing control device 790 before the "normal end" response, the unit controller 290 displays an error number indicating the content of the error on the monitor display 206, and then displays an error. Wait for the state to recover (procedure PC263, PC264).

【0390】一方、カード発行指令後に「正常終了」フ
ァンクションが戻ってきたときは、手続きPC240で
点滅させたカード発行ランプ224を消灯させてから、
再び釣銭の有無を判定し、釣銭があるときは釣銭払出器
230に対して釣銭払出指令信号を与える(手続きPC
258〜PC260)。それから、手続きPC242で
点滅させた紙幣払出ランプ225を消灯させた後、ユニ
ットメモリ550の送信データエリア内の受入金額、預
かり金額および払出金額を演算して更新する(手続きP
C261,P262)。なお、釣銭がないときは手続き
PC259からPC262へジャンプして、元のルーチ
ン(図66)へ戻る。
[0390] On the other hand, when the "normal end" function returns after the card issuance command, the card issuance lamp 224 blinked by the procedure PC 240 is turned off.
It is determined again whether change has been made, and if change has been made, a change payout command signal is given to the change payout device 230 (procedure PC
258-PC260). Then, after turning off the banknote payout lamp 225 which is blinked by the procedure PC 242, the received money amount, the deposit money amount, and the payout money amount in the transmission data area of the unit memory 550 are calculated and updated (procedure P
C261, P262). If there is no change, the procedure jumps from PC259 to PC262 and returns to the original routine (FIG. 66).

【0391】図69〜図72は、図66のフローにおい
て示されている初期値設定処理、ユニット復旧処理、強
制終了解除処理および強制終了処理の具体的手順を示す
もので管理装置400から送られてきたパケットに応じ
てそれぞれ対応する処理が実行される。
FIGS. 69 to 72 show specific procedures of the initial value setting processing, unit recovery processing, forced termination cancellation processing, and forced termination processing shown in the flow of FIG. 66, and are sent from the management apparatus 400. The corresponding processing is executed according to the received packets.

【0392】このうち図69は“初期値設定”パケット
を受信したときの処理であり、ユニットコントローラ2
90は先ずユニットメモリ550の受信データエリアに
書き込まれた受信パケットのヘッド部分を送信データエ
リアにコピーすることで、送信の際のパケットのヘッド
となる部分を作成するとともに、受信データエリアのホ
ットコードを送信データエリアの所定の番地にコピーす
る(手続きPC271,PC272)。
FIG. 69 shows the processing when the “initial value setting” packet is received.
Reference numeral 90 first copies the head portion of the received packet written in the received data area of the unit memory 550 to the transmitted data area, thereby creating a head portion of the packet at the time of transmission, and creates a hot code of the received data area. Is copied to a predetermined address in the transmission data area (procedures PC271 and PC272).

【0393】次に、手続きPC106で「1」にセット
した送信データエリア内のモニタ情報1の初期値未設定
ビットをクリアすることで、ユニット制御装置280が
初期値を受信したことを明示してから、カード発行制御
装置790に対して「初期値送信」ファンクションを送
信して元のルーチンへ戻る(手続きPC273,PC2
74)。
Next, by clearing the initial value unset bit of monitor information 1 in the transmission data area set to “1” by procedure PC 106, it is clearly indicated that unit control device 280 has received the initial value. Transmits an "initial value transmission" function to the card issuance control device 790, and returns to the original routine (procedures PC273 and PC2).
74).

【0394】“ユニット復旧データ”パケットを受信し
たときは、図70の処理が開始され、先ず受信データエ
リア内のパケットタイプと受信した復旧データを送信デ
ータエリアの対応するエリアにコピーしてからユニット
メモリ550の交信用エリア内のコマンドレジスタCR
2に“ACK”パケットの送信コマンドを書き込んでデ
ータ伝送コントローラ551にパケットの送信を指示す
る(手続きPC281,PC282)。
When the "unit recovery data" packet is received, the processing in FIG. 70 is started. First, the packet type in the reception data area and the received recovery data are copied to the corresponding area of the transmission data area, and then the unit is copied. Command register CR in communication area of memory 550
Then, a transmission command of an "ACK" packet is written in the packet No. 2 to instruct the data transmission controller 551 to transmit the packet (procedures PC281 and PC282).

【0395】次に、タイマ(10秒)を設定してからカ
ード発行制御装置790へ「初期値送信」ファンクショ
ンを送る(手続きPC283,P284)。それから管
理装置400からのパケットの受信を待ち、“ACK”
送信後所定時間(10秒)内に所定のパケット(“リス
タート”パケット)が送信されてこないときはウォッチ
ドッグパルスの出力を停止させて、自らリセットをかけ
る(手続きPC285〜PC287)。10秒以内に
“リスタート”パケットが送信されてきたときは図66
の手続きPC209でコマンドレジスタCR2をクリア
してから図65のメインルーチンへ戻る(手続きPC2
88)。
Next, after setting a timer (10 seconds), an "initial value transmission" function is sent to the card issuance control device 790 (procedure PC283, PC284). Then, it waits for the reception of the packet from the management device 400, and returns “ACK”
If a predetermined packet ("restart" packet) is not transmitted within a predetermined time (10 seconds) after transmission, the output of the watchdog pulse is stopped and the self-reset is performed (procedures PC285 to PC287). When the "restart" packet is transmitted within 10 seconds, FIG.
The procedure PC209 clears the command register CR2 and returns to the main routine of FIG. 65 (procedure PC2).
88).

【0396】図71,図72には管理装置400から
“強制終了解除”パケットまたは“強制終了”パケット
の送信を受けたときの処理が示されている。ユニットコ
ントローラ290が“強制終了解除”を受信したときは
先ず発行機の稼動情報内の「稼動中」を示すビットをセ
ットしてから発行中止ランプ222を消灯、発行中ラン
プ221を点灯させ、紙幣挿入ランプ223の点灯を開
始させる(手続きPC291〜PC293)。一方、
“強制終了”パケットを受信すると稼動情報内の「稼動
中」を示すビットをクリアした後、発行中止ランプ22
2を点灯、発行中ランプ221を消灯してから、紙幣挿
入ランプ223を消灯させる(手続きPC295〜PC
297)。
FIGS. 71 and 72 show the processing when a “forced termination release” packet or a “forced termination” packet is received from the management device 400. When the unit controller 290 receives the "forced termination release", it first sets the bit indicating "in operation" in the operation information of the issuing machine, turns off the issuance stop lamp 222, turns on the issuance lamp 221 and turns on the bill. Lighting of the insertion lamp 223 is started (procedures PC291 to PC293). on the other hand,
When the “forced end” packet is received, the bit indicating “in operation” in the operation information is cleared, and then the issuance stop lamp 22
2 is turned on, the issuing lamp 221 is turned off, and then the bill insertion lamp 223 is turned off (procedure PC295-PC
297).

【0397】図73には、ユニットコントローラ290
における上記メイン処理(図65)とは別個にタイマ割
込みによって実行されるタイマ割込み処理の手順が示さ
れている。
FIG. 73 shows a unit controller 290.
The procedure of the timer interrupt process executed by the timer interrupt separately from the main process (FIG. 65) in FIG.

【0398】ユニットコントローラ290は、図65の
フロー中の手続きPC101でセットされた内部のタイ
マから1m秒間隔で割込み信号が入ってくると、先ず手
続きPC101で内部メモリに書き込んだチェックコー
ドを読み出してコードが変化していないか調べることで
内部メモリをチェックして異常があるときは手続きPC
124へジャンプしてウォッチドッグパルスの出力を省
略することでリセットをかける(手続きPC121)。
内部メモリが正常であるときは手続きPC122でタイ
マを更新してからウォッチドッグパルスを出力した後、
金額表示器213をダイナミック表示させるためのデー
タを出力して割込み処理を終了する(手続きPC12
3,PC124)。
When an interrupt signal is received at intervals of 1 ms from the internal timer set by the procedure PC 101 in the flow of FIG. 65, the unit controller 290 first reads the check code written in the internal memory by the procedure PC 101 and reads out the check code. Check the internal memory by checking if the code has changed, and if there is an error, procedure PC
The reset is performed by jumping to 124 and omitting the output of the watchdog pulse (procedure PC121).
When the internal memory is normal, the procedure PC122 updates the timer and then outputs a watchdog pulse.
Data for dynamically displaying the money amount display 213 is output, and the interrupt processing is terminated (procedure PC12
3, PC124).

【0399】なお、図65〜図73のフローチャートに
は示されていないが、ユニットコントローラ290はカ
ード発行制御装置790からのファンクションを受信し
た場合、そのコードをチェックしてエラーがあったとき
には、「再送要求」ファンクションを送信するようにし
ている。
Although not shown in the flowcharts of FIGS. 65 to 73, when unit controller 290 receives a function from card issuance control device 790, it checks its code and if there is an error, returns A "retransmission request" function is transmitted.

【0400】図74には、カード発行制御装置790に
おけるカード発行等の制御手順が示されている。
FIG. 74 shows a control procedure for card issuance and the like in the card issuance control device 790.

【0401】カード発行制御装置790は、リセットが
かかると先ず内部メモリやレジスタ、I/Oポート等を
クリアして初期化した後、タイマ(ex.10秒)を設
定し、「初期値要求」ファンクションをユニットコント
ローラ290に対して送信する(ルーチンRN101〜
RN103)。次に、ユニットコントローラ290から
のファンクションを受信したかチェックし、受信してい
なければルーチンRN102で設定したタイマがオーバ
ーしたか判定する(ルーチンRN104,105)。そ
してタイムオーバーするまでルーチンRN104,10
5を繰り返し、タイムオーバーしたならルーチンRN1
02へ戻ってタイマを設定し直してから再度「初期値要
求」ファンクションを送信する。最初に「初期値要求」
ファンクションを送った時点では、まだユニットコント
ローラ290が受信の準備が整っていない場合があり得
るからである。
When the card issuance control device 790 is reset, the internal memory, registers, I / O ports and the like are first cleared and initialized, and then a timer (ex. 10 seconds) is set, and the “initial value request” is set. The function is transmitted to the unit controller 290 (routines RN101 to RN101).
RN103). Next, it is checked whether a function from the unit controller 290 has been received, and if not, it is determined whether or not the timer set in the routine RN102 has expired (routines RN104 and RN105). Then, the routine RN104, RN104 until the time is over
5 is repeated, and if the time is over, the routine RN1 is executed.
Returning to step 02, the timer is reset and the "initial value request" function is transmitted again. First, "Initial value request"
This is because the unit controller 290 may not yet be ready for reception at the time of transmitting the function.

【0402】ファンクション送信後に、ユニットコント
ローラ290からのファンクションを受信すると、ルー
チンRN104からRN106へ移行して、受信したフ
ァンクションが「初期値送信」ファンクションか否か調
べ、ノオならルーチンRN107で「異常終了」ファン
クションを送信してからルーチンRN102へ戻って、
「初期値要求」ファンクションの再送信を行なう。ユニ
ットコントローラ290から先ず初期値をもらってから
カード発行等の具体的処理を正確に実行するためであ
る。
When a function from the unit controller 290 is received after transmitting the function, the routine shifts from the routine RN104 to the RN106 to check whether or not the received function is an “initial value transmission” function. After transmitting the function, return to the routine RN102,
Retransmit the "Request Initial Value" function. This is because a specific process such as issuing a card is accurately executed after first receiving an initial value from the unit controller 290.

【0403】ルーチンRN106の判定で受信したファ
ンクションが「初期値送信」であったときは、ルーチン
RN108へ進み、ファンクションコードと一緒に送ら
れてきた年月日と識別コードとを内部メモリに記憶して
から同じく内部メモリに用意されたステータスレジスタ
の初期値未設定ビットをクリアし、「正常終了」ファン
クションをユニットコントローラ290へ送信する(ル
ーチンRN109,RN110)。
If the function received in the determination of the routine RN106 is "transmission of initial value", the routine proceeds to the routine RN108, where the date and identification code sent together with the function code are stored in the internal memory. Thereafter, the initial value unset bit of the status register also prepared in the internal memory is cleared, and the "normal end" function is transmitted to the unit controller 290 (routines RN109 and RN110).

【0404】しかる後、ルーチンRN111でユニット
コントローラ290からの次のファンクションの受信が
有るのを待ち、ファンクションを受信した時点でルーチ
ンRN112〜RN115へ進み、いずれのファンクシ
ョンを受信したか判定し、「初期値送信」ファンクショ
ンであったときは年月日、識別コードを記憶してから
「正常終了」ファンクションを送信し(ルーチンRN1
16,RN117)、「カード発行」ファンクションで
あったときは図75のカード発行処理(ルーチンRN1
21〜RN129)を実行する。また受信したファンク
ションが「再送要求」であったときは、ルーチンNR1
18でて前回送信したファンクションを再送し、「ステ
ータス要求」であったときはルーチンRN119で「ス
テータス要求」ファンクションを送信する。ルーチンR
N112で再度「初期値送信」ファンクションか否か判
定しているのは、後述のエラー処理(図82参照)実行
後にルーチンRN111へ戻ってきた場合(符号V1)
を考慮したものである。
Thereafter, the routine RN111 waits for the reception of the next function from the unit controller 290. When the function is received, the process proceeds to the routines RN112 to RN115 to determine which function has been received. If the function is the "send value" function, the identification code is stored, and then the "normal end" function is sent (routine RN1).
16, RN117), if the function is the "card issue" function, the card issuance processing of FIG. 75 (routine RN1)
21 to RN129). If the received function is "retransmission request", the routine NR1
At 18, the previously transmitted function is retransmitted, and if it is a “status request”, a “status request” function is transmitted at routine RN 119. Routine R
The reason why it is determined whether or not the function is the “initial value transmission” function in N112 is that the process returns to the routine RN111 after execution of error processing (see FIG. 82) described later (reference V1).
Is considered.

【0405】図75には、図74のフロー中におけるカ
ード発行処理の具体的手順を示す。
FIG. 75 shows a specific procedure of the card issuing process in the flow of FIG.

【0406】カード発行制御装置790は、ユニットコ
ントローラ290から「カード発行」ファンクションを
受信すると、先ず印字装置750内のセンサ761aを
見て印字装置内に待機しているカードがあるか否か判定
する(ルーチンR121)。
When the card issuance control device 790 receives the “card issuance” function from the unit controller 290, it first checks the sensor 761a in the printing device 750 to determine whether or not there is a card waiting in the printing device. (Routine R121).

【0407】ここで、カードがなければ次のルーチンR
122で「カード発行」ファンクション内の金額が
「0」か否か調べ、イエスなら図76に示されているカ
ード取出処理ルーチンRN201〜RN212を実行し
てから図77のリーダ制御処理ルーチンRN213〜R
N227、図78のカード反転処理ルーチンRN288
〜RN243、図79の印字1処理ルーチンRN245
〜RN266を実行した後、「正常終了」ファンクショ
ンをユニットコントローラ290に対して送信して元の
ルーチン(図75)へ(ルーチンRN129)戻る。こ
れによって、カードタンクからカードを1枚取り出して
磁気データを書き込んだ後、印字装置で購入金額の千の
桁を除く全てのデータを印字した状態で待機する発行予
約処理が実行される。
If there is no card, the next routine R
At 122, it is checked whether or not the amount in the "issue card" function is "0". If yes, the card removal processing routines RN201 to RN212 shown in FIG. 76 are executed, and then the reader control processing routines RN213 to RN shown in FIG.
N227, card inversion processing routine RN288 in FIG. 78
To RN243, the print 1 processing routine RN245 in FIG.
After executing 26RN266, a “normal end” function is transmitted to the unit controller 290, and the process returns to the original routine (FIG. 75) (routine RN129). As a result, an issuance reservation process is executed in which one card is taken out from the card tank, magnetic data is written, and the printing device stands by in a state where all data except for the thousands of purchases are printed by the printing device.

【0408】また、ルーチンRN121,RN122で
それぞれ“カードなし”、“金額≠0”と判定される
と、カード取出処理RN201〜RN212、リーダ制
御処理RN213〜RN227、カード反転処理RN2
28〜RN243、印字1処理RN245〜RN266
および図88のカード排出処理RN268〜RN280
を実行してから、カード取出枚数を計数するカウンタ7
95をカウントアップし、「正常終了」ファンクション
を送信する(ルーチンRN123,RN129)。これ
によって、カード番号予約前に金額の入った「カード発
行」ファンクションが送られてきたときに、カードを発
行することができる。このような事態は、例えばカード
リーダのみ電源がオフで、ユニットコントローラ290
やカード発行制御装置790の電源がオンされていて処
理が進行し、その後カードリーダの電源が投入された場
合に生じる。
If the routines RN121 and RN122 determine "no card" and "money $ 0", respectively, the card removal processes RN201 to RN212, the reader control processes RN213 to RN227, and the card inversion process RN2.
28 to RN243, print 1 processing RN245 to RN266
And the card ejection processing RN268 to RN280 in FIG.
And then counts the number of cards removed.
95 is counted up and a "normal end" function is transmitted (routines RN123, RN129). In this way, a card can be issued when a "card issue" function containing an amount of money is sent before the card number reservation. Such a situation occurs, for example, when only the card reader is turned off and the unit controller 290
This occurs when the power of the card issuance control device 790 is turned on and the process proceeds, and thereafter the power of the card reader is turned on.

【0409】一方、ルーチンRN121で印字装置75
0内にカード(予約カード)があると判定したときには
ルーチンRN124へ移行して、既に予約してあったカ
ードのカード番号と「カード発行」ファンクションによ
り送られてきたカード番号とを比較する。そして、カー
ド番号が一致しなかったときは、図81に示すスタック
処理RN281〜RN299を実行して予約中のカード
を没収タンク780へ収納してから、回収記憶媒体計数
表示手段として機能するカード取出枚数とスタックカー
ド枚数を計数する2つのカウンタ795,796を更新
する(ルーチンRN125)。発行されたカードのデー
タと管理装置400内のカードファイルのデータとの不
一致を回避するためである。その後、金額が「0」か否
かの判定を行ない(ルーチンRN126)、金額がゼロ
ならルーチンR122の次のカード取出処理RN201
〜RN212から印字1処理RN245〜RN266ま
でを実行してカードの発行予約処理を実行する。また、
ルーチンRN126で金額が「0」でないと判定したと
きは、カード取出処理RN201〜RN212からカー
ド排出処理RN268〜RN280までを実行して、カ
ード予約なしに直ちにカードを発行させる。
On the other hand, in the routine RN121, the printing device 75
When it is determined that there is a card (reserved card) within 0, the routine goes to the routine RN124, where the card number of the already reserved card is compared with the card number sent by the "card issue" function. If the card numbers do not match, the stacking processes RN281 to RN299 shown in FIG. 81 are executed to store the reserved card in the confiscation tank 780, and then the card removal functioning as a collection storage medium count display means The two counters 79 and 796 for counting the number of sheets and the number of stack cards are updated (routine RN125). This is to avoid inconsistency between the issued card data and the card file data in the management device 400. Thereafter, it is determined whether or not the amount is "0" (routine RN126). If the amount is zero, the next card removal process RN201 following the routine R122 is performed.
RN212 to RN212 to print 1 processing RN245 to RN266 to execute card issuance reservation processing. Also,
If it is determined in the routine RN126 that the amount is not "0", the processing from the card removal processing RN201 to RN212 to the card ejection processing RN268 to RN280 is executed, and the card is immediately issued without a card reservation.

【0410】一方、上記ルーチンRN124でカード番
号が一致したときは、ルーチンRN127へ移行して金
額が「0」か否か判定する。ここで金額が「0」なら何
もせずにルーチンRN129へ移行して「正常終了」フ
ァンクションを送信し、金額が「0」でないときは図7
9の印字2処理(ルーチンRN126〜RN266)へ
移行してこれを実行した後、カード排出処理RN268
〜RN280を実行し、カード取出枚数カウンタを更新
してから「正常終了」ファンクションを送信する(ルー
チンRN128,RN129)。すなわち、ルーチンR
N127〜RN128までの手続きによって予約待機中
のカードに対する金額の千の桁の印字と排出が行われ
る。
[0410] On the other hand, if the card numbers match in the above routine RN124, the flow shifts to routine RN127 to determine whether or not the amount is "0". If the amount is "0", the process goes to the routine RN129 without any operation and transmits the "normal end" function.
9, the process proceeds to the print 2 process (routines RN126 to RN266), and after executing this, the card ejection process RN268
Through RN280 to update the card removal number counter and then transmit a "normal end" function (routines RN128, RN129). That is, the routine R
According to the procedures from N127 to RN128, printing and discharging of a thousand digits of the amount of money for the card waiting for reservation are performed.

【0411】なお、上記ルーチンRN121とRN12
4で“予約カード有り”、“カード番号一致”と判定し
てからルーチンR127で“金額=0”と判定されるの
は、例えばカード発行予約処理後にユニット制御装置2
80の電源がオフされ、再びオンされて管理装置400
から“ユニット復旧データ”パケットを受信した後に、
ユニットコントローラ290がカード発行制御装置79
0へカード予約のための「カード発行」ファンクション
を送信したような場合に生じる。
Note that the above routines RN121 and RN12
In step R4, it is determined that "there is a reserved card" and "card number matches", and then, in the routine R127, it is determined that "amount = 0".
80 is turned off, turned on again, and the management device 400
After receiving the “unit recovery data” packet from
The unit controller 290 controls the card issuance control device 79
This occurs when a “card issue” function for card reservation is transmitted to “0”.

【0412】図76には、図75のカード発行ファンク
ション受信処理フロー中におけるカード排出処理の具体
的な手順を示す。
FIG. 76 shows a specific procedure of card ejection processing in the card issuing function reception processing flow of FIG. 75.

【0413】ここでは先ず、カード有無センサ703を
見てカードタンク701内にカードがあるか否か調べ
(ルーチンR201)、センサがオフすなわちタンクが
空のときは、ルーチンRN212へジャンプして内部メ
モリ内のステータス2の取出装置異常ビットを「1」に
設定してから、図82のエラー処理ルーチンへ移行す
る。
Here, first, it is checked whether there is a card in the card tank 701 by looking at the card presence / absence sensor 703 (routine R201). When the sensor is off, that is, when the tank is empty, the routine jumps to the routine RN212 to jump to the internal memory. After setting the take-out device abnormality bit of status 2 to "1", the flow shifts to the error processing routine of FIG.

【0414】また、カードタンク701内にカードがあ
るときはルーチンRN201からRN202へ移行して
カードリーダ制御装置288へ「磁気書込み」コマンド
を送る。それから、タイマを設定した後、クラッチソレ
ノイド729をオンさせるとともに、取出モータ719
を回転させる(ルーチンRN203,RN204)。こ
れによってカードタンクからカードが1枚送り出され
る。
[0414] If there is a card in the card tank 701, the routine shifts from the routine RN201 to RN202 and sends a "magnetic write" command to the card reader control device 288. Then, after setting the timer, the clutch solenoid 729 is turned on, and the take-out motor 719 is set.
Is rotated (routines RN203 and RN204). Thereby, one card is sent out from the card tank.

【0415】次にルーチンRN203で設定したタイマ
がタイムオーバーしたか否かチェックし、ノーなら第1
走行位置センサCPS1がオンしたか調べる(ルーチン
RN205,RN206)。第1走行位置センサCPS
1がオフのときはルーチンRN206へ戻ってタイマの
チェックを繰り返す。こうして、第1走行位置センサC
PS1がオンするのを待ち、センサがオンする前にタイ
ムオーバーになるとルーチンRN211へジャンプして
ステータス1の走行位置センサ1異常ビットを「1」に
設定し、続いてステータス2の取出装置異常ビットを
「1」に設定してから図82のエラー処理ルーチンへ移
行する。
Next, it is checked whether or not the timer set in the routine RN203 has timed out.
It is checked whether the traveling position sensor CPS1 has been turned on (routines RN205, RN206). First traveling position sensor CPS
When 1 is off, the routine returns to the routine RN 206 to repeat the timer check. Thus, the first traveling position sensor C
When the time is over before the sensor is turned on, the routine jumps to the routine RN211 to set the traveling position sensor 1 abnormality bit of the status 1 to "1", and then sets the status 2 extraction device abnormality bit to "1". After setting to “1”, the flow shifts to the error processing routine of FIG. 82.

【0416】一方、タイムオーバーする前に第1走行位
置センサCPS1がオンしたときは、ルーチンRN20
7へ進み、クラッチソレノイド729をオフしてカード
をタンクから送り出すローラ712へ取出モータ719
の回転力が伝わるのを止めさせてカードの2枚送りを防
止してから、再びルーチンRN203でセットしたタイ
マがタイムオーバーしたか否かチェックする(ルーチン
RN208)。それから、今度は第1走行位置センサC
PS1がオフしたか否か調べ、所定時間内にセンサがオ
フすれば、カードがカードタンク701から取り出さ
れ、正常に送り出されたと判断し、取出モータ719を
停止させて処理を終了し元のルーチン(図75)へ戻
る。なお、所定時間内に走行位置センサCPS1がオフ
しないときはカードが途中で詰まったと判断してルーチ
ンRN211へ移行し、ステータス1の走行位置センサ
1異常ビットをセットする。
On the other hand, if the first traveling position sensor CPS1 is turned on before the time is over, the routine RN20
7, the clutch solenoid 729 is turned off, and the card is sent out from the tank to the roller 712.
Then, the transmission of the rotational force is stopped to prevent the feeding of two cards, and it is again checked whether the timer set in the routine RN203 has timed out (routine RN208). Then, the first traveling position sensor C
It is checked whether or not the PS1 has been turned off. If the sensor is turned off within a predetermined time, it is determined that the card has been removed from the card tank 701 and has been normally delivered, and the removal motor 719 is stopped to terminate the processing and return to the original routine. (FIG. 75). If the traveling position sensor CPS1 is not turned off within a predetermined time, it is determined that the card is jammed halfway, and the routine shifts to the routine RN211 to set the traveling position sensor 1 abnormality bit of status 1.

【0417】図77には、図75のカード発行ファンク
ション受信処理フロー中におけるリーダ制御処理の具体
的な手順を示す。
FIG. 77 shows a specific procedure of the reader control processing in the card issuing function reception processing flow of FIG. 75.

【0418】このフローでは、先ずタイマを設定してか
ら、そのタイマがタイムオーバーを起こす前に、カード
取出処理フロー中のルーチンRN202で送信した「磁
気書込み」コマンドに対する応答があったか否かチェッ
クする(ルーチンRN213〜RN215)。そして、
時間内に応答がなかったときはルーチンRN227へジ
ャンプしてステータス2のカードリーダ異常ビットを
「1」に設定してから図82のエラー処理ルーチンへ移
行する。
In this flow, first, after setting a timer, it is checked whether or not there is a response to the "magnetic write" command transmitted by the routine RN202 in the card removal processing flow before the timer expires (routine). RN213 to RN215). And
If there is no response within the time, the flow jumps to the routine RN227, sets the card reader abnormality bit of the status 2 to "1", and shifts to the error processing routine of FIG.

【0419】また、所定時間内にカードリーダ制御装置
288からの応答を受信したときは、ルーチンRN21
6へ進みその応答が正常か否かチェックし、異常がある
とタイムオーバーのときと同様にルーチンRN227へ
ジャンプし、エラー処理を実行する。一方、応答が正常
ならカードリーダ制御装置288に対して発行穴位置を
示すデータを入れた「パンチ穴開け」コマンドを送信し
て、タイマをセットする(ルーチンRN217,RN2
18)。それから、そのタイマがタイムオーバーを起こ
す前にカードリーダ制御装置288からの応答があった
か否かチェックする(ルーチンRN219,RN22
0)。そして、時間内に応答がなかったときはルーチン
RN227へジャンプしてステータス2のカードリーダ
異常ビットを「1」に設定してから図72のエラー処理
ルーチンへ移行する。
If the response from the card reader control device 288 is received within a predetermined time, the routine RN21
The process proceeds to step 6 to check whether the response is normal. If there is an error, the process jumps to the routine RN227 as in the case of time over, and executes error processing. On the other hand, if the response is normal, a "punch hole" command containing data indicating the position of the issuing hole is transmitted to the card reader control device 288, and the timer is set (routines RN217, RN2).
18). Then, it is checked whether or not there is a response from the card reader control device 288 before the timer times out (routines RN219, RN22).
0). If there is no response within the time, the flow jumps to the routine RN227, sets the card reader abnormality bit of the status 2 to "1", and shifts to the error processing routine of FIG.

【0420】また、所定時間内にカードリーダ制御装置
288からの応答を受信したときはルーチンRN221
へ進み、その応答が正常か否かチェックし、異常がある
とタイムオーバーのときと同様にルーチンRN227へ
ジャンプし、エラー処理を実行する。一方、応答が正常
ならカードリーダ制御装置288に対し「カード後方排
出」コマンドを送信してタイマをセットする(ルーチン
RN222,RN223)。それから、そのタイマがタ
イムオーバーを起こす前にカードリーダ制御装置288
からの応答があったか否かチェックする(ルーチンRN
224,RN225)。そして、時間内に応答がなかっ
たときはルーチンRN227へジャンプしてステータス
2のカードリーダ異常ビットを「1」に設定してから図
82のエラー処理ルーチンへ移行する。
If a response from the card reader control device 288 is received within a predetermined time, the routine RN221
Then, it is checked whether the response is normal. If there is an error, the process jumps to the routine RN227 as in the case of time over, and executes error processing. On the other hand, if the response is normal, the "card rear ejection" command is transmitted to the card reader control device 288 to set the timer (routines RN222, RN223). Then, before the timer times out, the card reader controller 288
Check if there is a response from the routine (routine RN
224, RN225). If there is no response within the time, the flow jumps to the routine RN227, sets the card reader abnormality bit of the status 2 to "1", and shifts to the error processing routine of FIG.

【0421】また、所定時間内にカードリーダ制御装置
288からの応答を受信したときは、ルーチンRN22
6へ進みその応答が正常か否かチェックし、異常がある
とタイムオーバーのときと同様にルーチンRN227へ
ジャンプし、エラー処理を実行する。一方、応答が正常
なら元のルーチン(図75)へ戻る。
If a response from the card reader control device 288 is received within a predetermined time, the routine RN22
The process proceeds to step 6 to check whether the response is normal. If there is an error, the process jumps to the routine RN227 as in the case of time over, and executes error processing. On the other hand, if the response is normal, the process returns to the original routine (FIG. 75).

【0422】図78には、図75のカード発行ファンク
ション受信処理フロー中におけるカード反転処理の具体
的な手順を示す。
FIG. 78 shows a specific procedure of the card inversion processing in the flow of the card issuing function reception processing of FIG. 75.

【0423】この処理では、先ず搬送モータ706を正
回転させてからタイマをセットし、このタイマがタイム
オーバーを起こす前に第2走行位置センサCPS2がオ
ンしたか否かチェックする(ルーチンRN228〜RN
231)。そして、時間内に第2走行位置センサCPS
2がオンしなかったときはルーチンRN242へジャン
プしてステータス1のジャム異常ビットに「1」を、ま
たルーチンRN243でステータス2のカード搬送異常
ビットに「1」をそれぞれ設定してから図82のエラー
処理ルーチンへ移行する。
In this process, first, the transport motor 706 is rotated forward, and then a timer is set. Before the timer times out, it is checked whether or not the second traveling position sensor CPS2 is turned on (routines RN228 to RN).
231). Then, within the time, the second traveling position sensor CPS
If No. 2 is not turned on, the routine jumps to the routine RN242 to set "1" in the jam error bit of the status 1 and "1" in the card transport error bit of the status 2 in the routine RN243. Move to error handling routine.

【0424】一方、所定時間内に第2走行位置センサC
PS2がオンしたときは、ルーチンRN232,RN2
33へ移行してルーチンRN229で設定したタイマが
タイムオーバーを起こす前に第2走行位置センサCPS
2がオフしたか否かチェックする。第2走行位置センサ
CPS2がオフすれば、カードが走路切替片745を通
過したことになる。そこで、時間内に第2走行位置セン
サCPS2がオフしなかったときはルーチンRN242
へジャンプしてステータス1のジャム異常ビットに
「1」を、またルーチンRN243でステータス2のカ
ード搬送異常ビットに「1」をそれぞれ設定してから図
82のエラー処理ルーチンへ移行する。
On the other hand, the second traveling position sensor C
When PS2 is turned on, the routine RN232, RN2
33 and before the timer set in the routine RN229 times out, the second traveling position sensor CPS
Check if 2 is off. When the second traveling position sensor CPS2 is turned off, it means that the card has passed the traveling path switching piece 745. Therefore, if the second traveling position sensor CPS2 does not turn off within the time, the routine RN242
The routine jumps to "1" for the jam error bit of status 1 and "1" for the card transport error bit of status 2 in the routine RN243, and then proceeds to the error processing routine of FIG.

【0425】また、所定時間内に第2走行位置センサC
PS2がオフしたときは、ルーチンRN234へ移行し
て新たにタイマを設定してから、搬送モータ706を逆
回転させる(ルーチンRN235)。これによって、カ
ードは逆方向に移送され、走路切替片745によって印
字装置750へ向かう走路へ誘導される。
Also, the second traveling position sensor C
When PS2 is turned off, the process proceeds to the routine RN234, a new timer is set, and then the transport motor 706 is rotated in the reverse direction (routine RN235). As a result, the card is transported in the reverse direction, and is guided by the runway switching piece 745 to the runway toward the printing device 750.

【0426】搬送モータ逆転後、カード発行制御装置7
90は、ルーチンRN234でセットしたタイマがタイ
ムオーバーを起こす前に第2走行位置センサCPS2が
再びオンしたか否かチェックする(ルーチンRN23
6,RN237)。そして、時間内に第2走行位置セン
サCPS2がオンしなかったときはルーチンRN242
へジャンプしてステータス1のジャム異常ビットに
「1」を、またルーチンRN243でステータス2のカ
ード搬送異常ビットに「1」をそれぞれ設定してから図
82のエラー処理ルーチンへ移行する。
After the transport motor reversely rotates, the card issuance control device 7
90 checks whether the second traveling position sensor CPS2 is turned on again before the timer set in the routine RN234 times out (routine RN23).
6, RN237). If the second traveling position sensor CPS2 does not turn on within the time, the routine RN242
The routine jumps to "1" for the jam error bit of status 1 and "1" for the card transport error bit of status 2 in the routine RN243, and then proceeds to the error processing routine of FIG.

【0427】一方、所定時間内に第2走行位置センサC
PS2がオンしたときは、ルーチンRN238,RN2
39へ移行してルーチンRN234で設定したタイマが
タイムオーバーを起こす前に第2走行位置センサCPS
2がオフしたか否かチェックする。そして、時間内に第
2走行位置センサCPS2がオフしなかったときはルー
チンRN242へジャンプしてステータス1のジャム異
常ビットに「1」を、またルーチンRN243でステー
タス2のカード搬送異常ビットに「1」をそれぞれ設定
してから第67図のエラー処理ルーチンへ移行する。さ
らに、所定時間内に第2走行位置センサCPS2がオフ
したときは、ルーチンRN240,RN241へ移行し
て、ルーチンRN234で設定したタイマがタイムオー
バーを起こす前に第3走行位置センサCPS3がオンし
たか否かチェックし、時間内にセンサがオンすれば元の
ルーチン(図75)へ戻る。
On the other hand, the second traveling position sensor C
When PS2 is turned on, the routine RN238, RN2
39, the second travel position sensor CPS is executed before the timer set in the routine RN234 times out.
Check if 2 is off. If the second traveling position sensor CPS2 has not been turned off within the time, the routine jumps to the routine RN242 to set the jam abnormality bit of the status 1 to "1", and the routine RN243 sets the card abnormality bit of the status 2 to "1". Is set, and then the flow shifts to the error processing routine in FIG. 67. Further, when the second traveling position sensor CPS2 is turned off within a predetermined time, the process proceeds to routines RN240 and RN241, and whether or not the third traveling position sensor CPS3 is turned on before the timer set in the routine RN234 times out. Check, and if the sensor is turned on within the time, the process returns to the original routine (FIG. 75).

【0428】図79には、図75のカード発行処理フロ
ー中における印字1処理(印字2処理を含む)の具体的
な手順を示す。
FIG. 79 shows a specific procedure of print 1 processing (including print 2 processing) in the card issuing processing flow of FIG. 75.

【0429】ここでは、先ずタイマをセットしてから、
そのタイマがタイムオーバーを起こす前に第4走行位置
センサCPS4がオンしたか否かチェックする(ルーチ
ンRN245〜RN267)。第4走行位置センサCP
S4がオンする前にタイムオーバーを起こしたときはル
ーチンRN265,R266へジャンプして、ステータ
ス1のジャム異常ビットに「1」を設定し、またステー
タス2の印字装置異常ビットに「1」を設定してから図
82のエラー処理へ移行する。
Here, the timer is set first, and then
Before the timer times out, it is checked whether or not the fourth traveling position sensor CPS4 has been turned on (routines RN245 to RN267). Fourth travel position sensor CP
If the time is over before S4 is turned on, the routine jumps to routines RN265 and R266, sets "1" in the jam error bit of status 1, and sets "1" in the printer error bit of status 2. Then, the processing shifts to the error processing of FIG.

【0430】また、タイムオーバーを起こす前に第4走
行位置センサCPS4がオンしたときは、ルーチンRN
248へ進んで印字用モータ751を回転させてから、
タイムオーバーを起こす前に第3走行位置センサCPS
3がオフしたか否かチェックする(ルーチンRN24
9,RN250)。ここで、タイムオーバーを起こすと
ルーチンRN265へジャンプしてエラー処理へ移行
し、所定時間内に第3走行位置センサCPS3がオフし
たときは、図78のルーチンRN235で駆動された搬
送モータ706を停止させてから、タイムオーバーを起
こす前に第4走行位置センサCPS4がオフしたか否か
チェックする(ルーチンRN251〜RN253)。こ
こでタイムオーバーを起こしたときは上記と同様ルーチ
ンRN265へジャンプする。一方タイムオーバー前に
第4走行位置センサCPS4がオフしたときはルーチン
RN254へ進んで印字ヘッドの昇降モータ758を、
180°回転させて、ヘッドを降下させる。それから、
印字ヘッド756で識別コードと年月日および購入金額
の千の桁以外数字すなわち「000」を印字した後、
「カード発行」ファンクションコードとともに送られて
きた金額データが「0」か否か判定する(ルーチンRN
255〜RN258)。
If the fourth traveling position sensor CPS4 is turned on before the time over occurs, the routine RN
Proceeding to 248, the print motor 751 is rotated,
Before the time over occurs, the third traveling position sensor CPS
3 is turned off (routine RN24)
9, RN250). Here, when the time is over, the routine jumps to the routine RN265 and shifts to error processing. When the third traveling position sensor CPS3 is turned off within a predetermined time, the transport motor 706 driven by the routine RN235 in FIG. 78 is stopped. Then, before the time is over, it is checked whether or not the fourth traveling position sensor CPS4 is turned off (routines RN251 to RN253). Here, when the time is over, the routine jumps to the routine RN265 as described above. On the other hand, if the fourth traveling position sensor CPS4 is turned off before the time is over, the routine proceeds to a routine RN254, in which the elevation motor 758 of the print head is turned on.
Rotate 180 ° and lower the head. then,
After printing the identification code, the date, and the number other than the thousands digit of the purchase amount, that is, “000” by the print head 756,
It is determined whether or not the amount data transmitted together with the “issue card” function code is “0” (routine RN
255-RN258).

【0431】そして、金額が「0」のときはルーチンR
259へ移行して印字ヘッド756を下げた状態のまま
印字用モータ751を停止させてカードの移動を中止さ
せ、印字装置750内で待機させる。また、金額が
「0」でなかったときはルーチンRN261へ進み金額
の千の桁の数字を印字させてから、ヘッド昇降モータ7
58を再び180°回転させて印字ヘッド756を上昇
させ、新たにタイマをセットする(ルーチンRN26
2)。その後、このタイマがタイムオーバーを起こす前
に第5走行位置センサCPS5がオンしたか否かチェッ
クし(ルーチンRN263,RN264)、タイムオー
バーを起こしたときはルーチンRN265へ移行してス
テータス1のジャム異常ビットを「1」に、またステー
タス2の印字装置異常ビットに「1」を設定してから図
82のエラー処理へ移行する。一方、タイムオーバーを
起こす前に第5走行位置センサCPS5がオンしたとき
は元のルーチン(図75)へ戻る。
When the amount is "0", the routine R
In step 259, the printing motor 751 is stopped with the print head 756 lowered, the movement of the card is stopped, and the printing apparatus 750 waits. If the amount is not "0", the flow advances to routine RN261 to print a thousand-digit number of the amount, and then the head elevating motor 7
58 is again rotated by 180 ° to raise the print head 756, and a new timer is set (routine RN26).
2). Thereafter, it is checked whether or not the fifth traveling position sensor CPS5 is turned on before the timer times out (routines RN263, RN264). If the timeover occurs, the process proceeds to the routine RN265 and the status 1 jam abnormality bit is cleared. 82 is set to "1" and the printer error bit of status 2 is set to "1", and the flow shifts to the error processing of FIG. On the other hand, if the fifth traveling position sensor CPS5 is turned on before the time is over, the process returns to the original routine (FIG. 75).

【0432】さらに、このフローには図75における印
字2処理も示されている。すなわち、図75のカード発
行処理において印字装置750内に予約カードが待機し
ているときに「カード発行」ファンクションを受信し、
その中のカード番号が待機中の予約カードのカード番号
と一致し、かつ金額が「0」でなかったときはいきなり
図79のルーチンRN260で印字用モータ751を始
動させてカードを移動させ、以下ルーチンRN261〜
RN264を実行することで、やり残していた金額の千
の桁の数字の印字を行なってから図75のルーチンへ戻
ってカード排出処理へ移行する。これによって、カード
発行機200に実際に紙幣を投入したときは、図79の
ルーチンRN245〜RN258の実行を省略し、既に
金額の千の桁以外の印字までを終了した予約カードに1
字だけ印字して直ちに排出することで紙幣投入からカー
ド排出までの見掛け上の所要時間を大幅に短縮すること
ができる。
Further, this flow also shows the print 2 process in FIG. That is, when the reserved card is waiting in the printing device 750 in the card issuing process of FIG.
If the card number in the list matches the card number of the reserved card on standby and the amount is not "0", the printing motor 751 is started immediately in the routine RN260 in FIG. 79 to move the card. Routine RN261-
By executing the RN 264, the thousands of digits of the remaining money are printed, and then the process returns to the routine of FIG. 75 and proceeds to the card discharging process. Thus, when the banknotes are actually inserted into the card issuing machine 200, the execution of the routines RN245 to RN258 in FIG.
By printing only characters and immediately discharging the characters, the apparent time required from the insertion of the bill to the discharge of the card can be greatly reduced.

【0433】図80には、図75のカード発行処理フロ
ー中におけるカード排出処理の具体的手順が示されてい
る。
FIG. 80 shows a specific procedure of card ejection processing in the card issuing processing flow of FIG. 75.

【0434】この処理が開始されると、先ずカード導出
装置770内の導出ソレノイド779をオンさせて走路
切替部材777を下方へ回転させてから搬送モータ70
6の逆回転を開始させ、タイマをセットする(ルーチン
RN268〜RN270)。
When this processing is started, first, the lead-out solenoid 779 in the card lead-out device 770 is turned on to rotate the track switching member 777 downward, and then the transport motor 70
6 is started and a timer is set (routines RN268 to RN270).

【0435】これによって、印字装置750から送り出
されたカードは導出装置770内を通ってカード発行口
202へ向かって移送される。そして、ルーチンRN2
70でセットしたタイマがタイムオーバーを起こす前に
第5走行位置センサCPS5がオフしたときは印字装置
750内の印字用モータ751を停止させる(ルーチン
RN271〜RN273)。既にカードが印字装置75
0から送り出されているからである。また、第5走行位
置センサCPS5がオフする前にタイムオーバーを起こ
したときはルーチンR279,RN280へ移行してス
テータス1のジャム異常ビットとステータス2のカード
搬送異常ビットにそれぞれ「1」を設定してから図82
のエラー処理へ移行する。
Thus, the card sent from the printing device 750 is transferred to the card issuing port 202 through the derivation device 770. Then, the routine RN2
If the fifth traveling position sensor CPS5 is turned off before the timer set at 70 has timed out, the printing motor 751 in the printing device 750 is stopped (routines RN271 to RN273). Card already in printing device 75
This is because they are sent from 0. If the time has elapsed before the fifth traveling position sensor CPS5 is turned off, the process proceeds to routines R279 and RN280 to set "1" to the jam error bit of status 1 and the card transport error bit of status 2 respectively. From FIG. 82
Move on to error handling.

【0436】上記ルーチンRN273で印字用モータ7
51を停止させた後は、再びルーチンRN270でセッ
トしたタイマをチェックし、タイムオーバーを起こす前
にカード発行口202の直前にある第6走行位置センサ
CPS6がオンしたときは導出ソレノイド779をオフ
させる(ルーチンRN274〜RN276)。第6走行
位置センサCPS6がオンする前にタイマがタイムオー
バーを起こしたときはルーチンRN279へ移行する。
In the above routine RN273, the print motor 7
After stopping the 51, the timer set in the routine RN270 is checked again, and if the sixth traveling position sensor CPS6 immediately before the card issuing port 202 is turned on before the time is over, the derived solenoid 779 is turned off ( Routines RN274 to RN276). If the timer times out before the sixth traveling position sensor CPS6 is turned on, the routine shifts to the routine RN279.

【0437】ルーチンRN276で導出ソレノイド77
9をオフした後は、新たにタイマをセットして0.5秒
待ってから搬送モータ706を停止させる。上記0.5
秒は、搬送モータ706の回転速度との関係から決定さ
れるもので、カード導出装置770の搬送用ベルト77
2がカードをその全長L0に相当する距離だけ移動させる
のに充分な時間である。第6走行位置センサCPS6が
カードを検出した後0.5秒待つことによってカードは
カード発行口202から3分の2程度突出された状態で
停止する。第6走行位置センサCPS6は遊技客が手で
カードを発行口202より引き抜いた時点でオフとな
る。
In the routine RN276, the derived solenoid 77 is
After turning off No. 9, a new timer is set, and after 0.5 seconds, the transport motor 706 is stopped. 0.5 above
The second is determined from the relationship with the rotation speed of the transport motor 706, and the transport belt 77
2 is enough time to move the card a distance equal to its full length L0. By waiting 0.5 seconds after the sixth traveling position sensor CPS6 detects the card, the card is stopped in a state where it is protruded about two thirds from the card issuing port 202. The sixth traveling position sensor CPS6 is turned off when the player manually pulls out the card from the issuing port 202.

【0438】図81には、図75のカード発行処理フロ
ー中におけるスタック処理の具体的手順を示す。
FIG. 81 shows a specific procedure of the stack processing in the card issuing processing flow of FIG. 75.

【0439】カード発行制御装置790は、ルーチンR
N121で印字装置750内に予約カードがあると判定
したものの受信したカード番号が待機中のカードのカー
ド番号と一致しないときは、このスタック処理を実行
し、先ず印字装置750のヘッド昇降モータ758を1
80°回転させて印字ヘッド756を上昇させる(ルー
チンRN281)。それからタイマを設定して印字用モ
ータ751を回転させてカードの移送を開始させてから
上記タイマをチェックする(ルーチンRN282〜RN
285)。そして、印字装置750の出口にある第5走
行位置センサCPS5がオンする前にタイマがタイムオ
ーバーしたときは印字装置750内にカードが詰まって
いると判定してルーチンRN296,RN297へ移行
してステータス1のジャム異常ビットとステータス2の
印字装置異常ビットにそれぞれ「1」を設定してから図
82のエラー処理へ移行する。
The card issuance control device 790 sets the routine R
If it is determined in N121 that there is a reserved card in the printing device 750, but the received card number does not match the card number of the waiting card, this stacking process is executed, and the head lifting motor 758 of the printing device 750 is first turned on. 1
The print head 756 is raised by rotating by 80 ° (routine RN281). Then, a timer is set and the printing motor 751 is rotated to start the transfer of the card, and then the timer is checked (routines RN282 to RN
285). If the timer times out before the fifth traveling position sensor CPS5 at the exit of the printing device 750 is turned on, it is determined that a card is jammed in the printing device 750, and the process proceeds to the routines RN296 and RN297 to return to status 1 82 is set to each of the jam error bit and the status 2 printer error bit, and then the flow shifts to the error processing in FIG.

【0440】また、タイマがタイムオーバーを起こす前
に第5走行位置センサCPS5がオンしたときは、ルー
チンRN286へ進んで搬送モータ706を逆回転させ
てカード導出装置770の搬送用ベルト772の搬送を
開始させてから新たにタイマを設定する。それから、こ
のタイマをチェックして第5走行位置センサCPS5が
オフする前にタイムオーバーをおこしたときはルーチン
RN298,R299へジャンプしてステータス1のジ
ャム異常ビットとステータス2のカード没収装置異常ビ
ットにそれぞれ「1」を設定してから、図82のエラー
処理へ移行する(ルーチンRN288,RN289)。
If the fifth traveling position sensor CPS5 is turned on before the timer expires, the flow advances to routine RN286 to rotate the transport motor 706 in the reverse direction to start transport of the transport belt 772 of the card dispensing device 770. Then, set a new timer. Then, if the timer is checked and a time-out occurs before the fifth traveling position sensor CPS5 is turned off, the routine jumps to the routines RN298 and R299 to set the status 1 jam error bit and the status 2 card confiscation device error bit respectively. After "1" is set, the flow shifts to the error processing in FIG. 82 (routines RN288, RN289).

【0441】一方、タイマがタイムオーバーを起こす前
に第5走行位置センサCPS5がオフしたときは、ルー
チンRN290へ進んで印字用モータ751を停止させ
る。しかる後、再びルーチンRN287でセットしたタ
イマをチェックし、カード導出装置770内のカード満
杯センサ783がオンする前にタイムオーバーを起こす
か、カード満杯センサ783がオンしたもののオフ前に
タイムオーバーを起こすと(ルーチンRN291RN2
94)、ルーチンRN298,RN299を実行してか
ら図82のエラー処理ルーチンへ移行する。また、タイ
マ設定後所定時間内にカード満杯センサ783がオン
し、続いてオフになったならばルーチンRN295へ進
み、搬送モータ706を停止させる。
On the other hand, if the fifth traveling position sensor CPS5 is turned off before the timer expires, the routine proceeds to the routine RN290, where the printing motor 751 is stopped. Thereafter, the timer set in the routine RN287 is checked again, and if the time is over before the card full sensor 783 in the card deriving device 770 is turned on, or the time is over before the card full sensor 783 is turned on but turned off ( Routine RN291RN2
94), after executing the routines RN298 and RN299, shifts to the error processing routine of FIG. If the card full sensor 783 is turned on within a predetermined time after setting the timer, and if the card full sensor 783 is subsequently turned off, the process proceeds to the routine RN295 and stops the transport motor 706.

【0442】このスタック処理では、図80のカード排
出処理と異なり、搬送モータ706の駆動前に導出ソレ
ノイド779をオンさせていないので、カード導出装置
770内の走路切替部材777はカード発行口202へ
向かう走行路を遮断した状態のまま搬送モータ706が
駆動されることになる。その結果、搬送用ベルト772
で移送されてきたカードは下の没収タンク780内に誘
導され、その途中でカード満杯センサ783によって検
出される。
In the stacking process, unlike the card ejection process shown in FIG. 80, since the lead-out solenoid 779 is not turned on before the drive of the transport motor 706, the runway switching member 777 in the card leading-out device 770 moves to the card issuing port 202. The transport motor 706 is driven in a state where the traveling path is cut off. As a result, the conveyor belt 772
The card transported in the above is guided into the lower confiscation tank 780, and is detected by the card full sensor 783 on the way.

【0443】図82には、図76〜図81の各処理フロ
ー中においてカードの位置を検出する各種センサCPS
1〜CPS6等がオンまたはオフする前にタイムオーバ
ーを起こしたときに実行されるエラー処理の具体的な手
順が示されている。
FIG. 82 shows various sensors CPS for detecting the position of the card in the processing flows of FIGS. 76 to 81.
A specific procedure of error processing executed when a time-out occurs before the 1 to CPS 6 or the like is turned on or off is shown.

【0444】この処理では、先ずカード発行装置700
内のすべてのモータ(取出モータ719、搬送モータ7
06、印字用モータ751およびヘッド昇降モータ75
8)を停止させてから「異常終了」ファンクションをユ
ニットコントローラ290へ送信する(ルーチンRN1
51,RN152)。次に、ユニットコントローラ29
0からファンクションが送信されてきたか否か判定し
(ルーチンRN153)、ファンクションを受信してい
ないときは、カード発行装置700内のセンサをチェッ
クすることでエラーが復旧したか否か判定し(ルーチン
RN154)、復旧していないときはルーチンRN15
3へ戻ることでエラーが復旧するのを待つ。復旧を待っ
ている間に、カード発行装置700に詰まっていたカー
ドが取り除かれるなどしてエラー原因がなくなると、ル
ーチンRN155へ移行してステータス1,2の各異常
ビットを「0」にクリアしてから、ルーチンRN156
へ移行してカード取出枚数とカード没収枚数を計数する
カウンタ795,796を更新し、メイン処理フロー
(図74)中のルーチンRN111へ復帰する(符号V
1参照)。
In this processing, first, the card issuing device 700
All motors (extraction motor 719, transport motor 7
06, printing motor 751 and head lifting / lowering motor 75
8) is stopped, and an “abnormal termination” function is transmitted to the unit controller 290 (routine RN1).
51, RN152). Next, the unit controller 29
It is determined whether or not the function has been transmitted from 0 (routine RN153). If the function has not been received, it is determined whether or not the error has been recovered by checking the sensor in the card issuing device 700 (routine RN154). ), If not recovered, routine RN15
Wait for the error to recover by returning to step 3. If the cause of the error disappears while waiting for the recovery, for example, the card stuck in the card issuing device 700 is removed, the process proceeds to the routine RN155 to clear each abnormal bit of the status 1 and 2 to “0”. And then the routine RN156
Then, the counters 79 and 796 for counting the number of cards removed and the number of cards confiscated are updated, and the process returns to the routine RN111 in the main processing flow (FIG. 74) (reference V).
1).

【0445】一方、ルーチンRN153,RN154で
エラーの復旧を待っているときに、ユニットコントロー
ラ290からのファンクションを受信すると、ルーチン
RN157へ移行して、その受信ファンクションが「ス
テータス要求」ファンクションか否か判定し、イエスな
ら次のルーチンRN158で「ステータス送信」ファン
クションを送信してからルーチンRN153へ戻り再び
エラーが復旧されるのを待つ。また、エラー復旧待ち中
に受信したファンクションが「ステータス要求」でなか
ったときはルーチンRN159で受信ファンクションが
「初期値送信」ファンクションか否か判定し、「初期値
送信」であったときはそのファンクション内の年月日と
識別コードを内部メモリに記憶し、「正常終了」ファン
クションを送信してルーチンRN153へ戻り、再びエ
ラーの復旧を待つ(ルーチンRN160,RN16
1)。
On the other hand, when a function from the unit controller 290 is received while waiting for error recovery in the routines RN153 and RN154, the flow shifts to the routine RN157 to determine whether or not the received function is a “status request” function. If the answer is yes, the "status transmission" function is transmitted in the next routine RN158, and the process returns to the routine RN153 and waits until the error is recovered again. If the function received during the error recovery wait is not “status request”, it is determined in the routine RN159 whether or not the received function is “initial value transmission” function. Is stored in the internal memory, the "normal end" function is transmitted, the routine returns to the routine RN153, and the system waits for an error recovery again (the routines RN160 and RN16).
1).

【0446】また、エラー復旧待ち中に受信したファン
クションが「ステータス要求」でも「初期値送信」でも
なかったときは、ルーチンRN159からRN152へ
戻って「異常終了」ファンクションを送信した後、エラ
ー復旧を待つ。
If the function received while waiting for error recovery is neither “status request” nor “initial value transmission”, the routine returns from the routine RN159 to RN152, transmits the “abnormal termination” function, and then executes error recovery. wait.

【0447】次に、カード発行制御装置790からの指
令に基づいたカードリーダ制御装置288による発行機
200のカードリーダ800の制御手順の一例を図83
〜図104を用いて説明する。なお、この実施例のフロ
ーは精算機300や管理装置400にも発行機と同一の
カードリーダを使用した場合を想定していずれの制御フ
ローとしても共通に使用できるようになっている。
Next, an example of a control procedure of the card reader 800 of the issuing machine 200 by the card reader control device 288 based on a command from the card issuance control device 790 is shown in FIG.
This will be described with reference to FIGS. It should be noted that the flow of this embodiment can be commonly used as any control flow on the assumption that the same card reader as that of the issuing machine is used for the settlement machine 300 and the management device 400.

【0448】パチンコ機の制御ユニット160内のカー
ドリーダに関する制御フローとの大きな違いは、磁気コ
ードの書込みとそのベリファイの制御フローを有する点
とカードをカードリーダの前方でなく後方へ排出するフ
ローを有する点である。
The major difference from the control flow relating to the card reader in the control unit 160 of the pachinko machine is that the control flow for writing and verifying the magnetic code and the flow for ejecting the card to the rear of the card reader instead of to the front are as follows. It has a point.

【0449】前述したように、カードリーダ制御装置2
88とユニットコントローラ290との間の通信は、前
述したようにコマンド送信によって行われるようになっ
ており、カード発行制御装置790からカードリーダ制
御装置288に対する通信コマンドとしては、カードの
磁気データを記録するように指示する「磁気書込み」コ
マンドと、カードの磁気データやセキュリティコードお
よびパンチ穴の各情報を読み取って磁気データを送るよ
う指示する「磁気読込み」コマンドと、読み取ったセキ
ュリティデータを送るよう指示する「セキュリティ要
求」コマンドと、読み取ったパンチ穴データを送るよう
指示する「パンチ穴要求」コマンドと、カードリーダ内
に保持されているカードのデータの再読取りを指示する
「リロード」コマンドと、カードにパンチ穴を開けるよ
うに指示する「パンチ穴開け」コマンドと、カードリー
ダ内のカードを前方の挿入口の方向へ排出するよう指示
する「カード前方排出」コマンドと、カードリーダ内の
カードを後方へ排出するよう指示する「カード後方排
出」コマンドと、カード読取り指令を取り消すための
「キャンセル」コマンドおよびカードリーダの状態を示
すステータス情報の送信を指示する「ステータス要求」
コマンドの9種類がある。
[0449] As described above, the card reader control device 2
Communication between the unit controller 88 and the unit controller 290 is performed by command transmission as described above. As a communication command from the card issue controller 790 to the card reader controller 288, magnetic data of the card is recorded. "Magnetic write" command to read, and "magnetic read" command to read the magnetic data and security code and punch hole information on the card and send magnetic data, and send the read security data A "security request" command, a "punch hole request" command to send the read punch hole data, a "reload" command to re-read the data of the card held in the card reader, Instructs the user to punch holes "Punch hole" command, "Card forward ejection" command to eject the card in the card reader toward the front insertion slot, and "Card backward ejection" to eject the card in the card reader backward. A command, a "cancel" command for canceling the card read command, and a "status request" for instructing transmission of status information indicating the status of the card reader
There are nine types of commands.

【0450】このうち、「磁気読込み」と「リロード」
コマンドは発行機200では使用せず、「磁気書込み」
コマンドは精算機300や管理装置400では使用しな
い。
[0450] Of these, "magnetic read" and "reload"
The command is not used in the issuing machine 200, and "magnetic write"
The command is not used in the checkout machine 300 or the management device 400.

【0451】なお、「磁気読込み」コマンドは、カード
リーダ800に対し磁気データのみでなくカードの全て
のデータの読取りを指示し、そのうち磁気データのみの
送信を要求するものである。セキュリティデータとパン
チ穴データに関してはそれぞれ別にデータ要求コマンド
が用意されている。
Note that the "magnetic read" command instructs the card reader 800 to read not only magnetic data but also all data on the card, and requests transmission of only magnetic data. Data request commands are separately prepared for security data and punch hole data.

【0452】図83には、カードリーダ制御装置288
による主たる制御の手順全体が、また図86〜図101
にはその詳細な手順が、そして図102および図104
には上記主制御とは別個に割込みによって発生する割込
み処理の制御手順が示されている。
FIG. 83 shows a card reader control device 288.
The main control procedure according to FIG.
The detailed procedure is shown in FIG. 102 and FIG.
3 shows a control procedure of an interrupt process generated by an interrupt separately from the main control.

【0453】カードリーダ制御装置288は、リセット
がかかると、つまりリセット入力端子がロウレベルに変
化すると、第68図に示すように先ず各種フラグやカウ
ンタ、バッファ、ワークエリア、レジスタ等の入った内
部メモリをクリアする(ルーチンR1101)。それか
ら、割込み発生時のスタックポインタを設定しI/Oポ
ートを初期化して入出力端子の状態を設定した後、機器
コード設定器MCSより設定コードを読み込んで記憶し
てから、カード搬送用のモータ807へ電源を供給する
リレーRLY1をオンさせる(ルーチンR1102〜R
1105)。
When the card reader controller 288 is reset, that is, when the reset input terminal changes to low level, first, as shown in FIG. 68, the internal memory containing various flags, counters, buffers, work areas, registers, etc. Is cleared (routine R1101). Then, after setting the stack pointer when an interrupt occurs, initializing the I / O port and setting the state of the input / output terminals, the setting code is read from the device code setting device MCS and stored, and then the card transport motor is set. The relay RLY1 for supplying power to the power supply 807 is turned on (routines R1102 to R1102).
1105).

【0454】次に、エラー原因を表示するモニタ表示器
175を消灯状態に設定し、電源投入状態を示すパワー
オンランプLED21を点灯させた後、内蔵RAM内の
“カード挿入禁止”フラグに“1”を立てる(ルーチン
R1106〜R1108)。
Next, the monitor display 175 for displaying the cause of the error is set to the off state, the power-on lamp LED 21 for indicating the power-on state is turned on, and the “card insertion prohibition” flag in the internal RAM is set to “1”. (Routines R1106 to R1108).

【0455】それから、受信バッファに対してカード発
行制御装置790からのコマンドの受信を許可した後、
コマンドを受信したか否か調べる(ルーチンR110
9,R1110)。ここで、受信コマンドがないとき
は、ルーチンR1117へ移行して、“カード挿入待
ち”フラグが“1”に設定されているかチェックし、
“0”ならルーチンR1110へ戻ってコマンドの受信
を待ち、“カード挿入待ち”フラグが“1”のときは図
86に示されているカード読込み処理を実行してからル
ーチンR1110へ戻る。カード読込み処理は、「磁気
読込み」コマンドを受信したときの処理と同じである。
この実施例のフローチャートは、精算機300や管理装
置400にもパチンコ機100や発行機200と同一の
カードリーダ800を使用した場合に共通に使用できる
ように設計されており、ルーチンR1117から「カー
ド読込み処理」への流れは、精算機や管理装置における
制御を意識したもので、この発行機のフローにおいて
は、“カード挿入待ち”フラグはずっと“0”にされて
おり、意味をなさない。
Then, after permitting the reception buffer to receive a command from the card issuing control device 790,
Check whether a command has been received (routine R110)
9, R1110). If there is no received command, the flow shifts to the routine R1117 to check whether the “card insertion waiting” flag is set to “1”, and
If "0", the process returns to the routine R1110 to wait for reception of a command. If the "card insertion wait" flag is "1", the card reading process shown in FIG. 86 is executed, and then the process returns to the routine R1110. The card reading process is the same as the process when the “magnetic reading” command is received.
The flowchart of this embodiment is designed so that it can be used in common when the same card reader 800 as the pachinko machine 100 or the issuing machine 200 is used for the checkout machine 300 or the management device 400. The flow to the "read process" is conscious of the control in the settlement machine and the management device. In the flow of this issuing machine, the "card insertion wait" flag is always set to "0" and has no meaning.

【0456】精算機300においては、“開店コード”
パケットの受信に基づいてカード精算制御装置312に
「カード受付可」ファンクションが送られて、カード精
算制御装置312から「磁気読込み」コマンドがカード
リーダ制御装置388に送られてくると、ルーチンR1
110で受信ありと判定されてルーチンR1111へ進
み、コマンド先頭の“ESC”が検出されてルーチンR
1118へジャンプしてR1121まで進みコマンドの
種類が判定されることで図84の磁気読込み処理へ移行
して、ルーチンR1202から更に図93のカード読取
処理を実行し、このフローの中で挿入検出スイッチがオ
フの間はカード読込みは行われず“カード未読込み”フ
ラグがセットされてルーチンR1203からR1204
へ移行して“カード挿入待ち”フラグをセットして図8
3のルーチンR1122→R1117へ移行し、ここで
再び図84の処理へ移行する。つまり、カードが挿入さ
れるのをずっと待ち、挿入時点で図94のカード読取処
理を実行するようになる。
[0456] In the payment machine 300, the "store opening code"
When a “card accepted” function is sent to the card settlement controller 312 based on the reception of the packet, and a “magnetic read” command is sent from the card settlement controller 312 to the card reader controller 388, the routine R1 is executed.
At 110, it is determined that a command has been received, and the flow advances to the routine R1111.
By jumping to 1118 and proceeding to R1121, the type of command is determined, and the flow shifts to the magnetic reading process of FIG. 84. The card reading process of FIG. 93 is further executed from the routine R1202. Is OFF, the card is not read, the "card not read" flag is set, and routines R1203 to R1204 are set.
8 and set the "card insertion waiting" flag.
The process shifts to the third routine R1122 → R1117, where the process again shifts to the process of FIG. In other words, it waits for the card to be inserted forever, and executes the card reading process of FIG. 94 at the time of insertion.

【0457】一方、ルーチンR1110でコマンド受信
有りと判定し、ルーチンR111でその受信データがコ
マンドの先頭を示す“ESC”でないと判ったときは、
ルーチンR1112でそのコマンドが先に送られてきた
コマンドのキャンセルコマンド“CAN”であるか否か
判定する。キャンセルコマンド“CAN”は他の通信コ
マンドと異なり先頭コードESCと終端コードCSを有
さず、コマンドコードそのもので送られてくるのでこの
ような判定が行なえる。ルーチンR112で受信コマン
ドが“CAN”でなかったときはルーチンR1117へ
移行し、“CAN”であったときは次のルーチンR11
13へ進んで“カード挿入禁止”フラグを設定してから
カード保持ランプを消灯させ、送信バッファへ正常終了
を示すコードを設定してから図100の送信処理を実行
してそのコードをカード発行制御装置790へ送信した
後、“カード挿入待ち”フラグをクリアしてルーチンR
1110へ戻る。これによって、その前にカード発行制
御装置790から送信された「磁気読込み」コマンドに
よるカード挿入待ち状態がキャンセルされる。
On the other hand, if it is determined in the routine R1110 that a command has been received and if the received data is not “ESC” indicating the beginning of the command in the routine R111,
In the routine R1112, it is determined whether or not the command is the cancel command “CAN” of the previously transmitted command. Unlike the other communication commands, the cancel command “CAN” does not have the start code ESC and the end code CS, and is transmitted by the command code itself, so that such determination can be made. If the received command is not "CAN" in the routine R112, the process shifts to the routine R1117. If the received command is "CAN", the next routine R11 is executed.
In step 13, the "card insertion prohibition" flag is set, the card holding lamp is turned off, a code indicating a normal end is set in the transmission buffer, and the transmission processing shown in FIG. After transmitting to the device 790, the "card insertion wait" flag is cleared and the routine R
Return to 1110. As a result, the card insertion waiting state due to the “magnetic read” command transmitted from the card issuance control device 790 before that is canceled.

【0458】その後、再びコマンドを受信してルーチン
R1111へ進み、ここでコマンド先頭コード受信と判
定すると、ルーチンR1118へジャンプしてその後の
コマンドの受信を禁止してからカードリーダのモニタ表
示器206を消灯させ、カードリーダ制御装置288の
受付状態を示すOKランプを消灯する(ルーチンR11
19,R1120)。それから、ルーチンR1121で
受信コマンドが前述した9つのコマンドのいずれかに該
当するかチェックし、該当しないときは、ルーチンR1
124でメモリ内にエラー情報として“コマンド異常”
を示すコードを書き込んでから図101のエラー処理ル
ーチンへ移行し、登録されたコマンドに該当していれば
それに対応した処理を実行してからOKランプを点灯さ
せ、ルーチンR1109へ戻って上記手順を繰り返す
(ルーチンR1122,R1123)。
[0458] Thereafter, the command is received again, and the flow advances to the routine R1111. If it is determined that the command head code is received, the flow jumps to the routine R1118 to prohibit the reception of the subsequent command. The OK lamp indicating the reception state of the card reader control device 288 is turned off (routine R11).
19, R1120). Then, in a routine R1121, it is checked whether or not the received command corresponds to any of the nine commands described above.
"Command error" as error information in memory at 124
After writing a code indicating the above, the process proceeds to the error processing routine of FIG. 101. If the command corresponds to the registered command, the process corresponding to the registered command is executed, the OK lamp is turned on, the process returns to the routine R1109, and the above procedure is performed. It repeats (routine R1122, R1123).

【0459】図84には、「磁気読込み」コマンドを受
信したときの処理手順が、また図85には「リロード」
コマンドを受信したときの処理手順が示されている。こ
れらのコマンド処理はカード発行機200では無縁であ
るので、説明は省略する。
FIG. 84 shows a processing procedure when a “magnetic read” command is received, and FIG. 85 shows a “reload” command.
The processing procedure when a command is received is shown. Since these command processes are irrelevant in the card issuing machine 200, the description is omitted.

【0460】図86には、「磁気書込み」コマンドを受
信したときのカードリーダコントローラ288の処理手
順を示す。
FIG. 86 shows a processing procedure of the card reader controller 288 when a “magnetic write” command is received.

【0461】このコマンドを受信すると、先ず「磁気書
込み」コマンドとともにアスキーコードの形で送られて
きた磁気記録データを内部処理に適したバイナリコード
に変換して内部メモリの磁気データバッファに記憶して
から、当該磁気データバッファの先頭に磁気データの先
頭を示す先頭コードSTX(図4参照)を入れ、磁気デ
ータバッファ内の上記磁気記録データの次(磁気データ
数が20個のときは21個目)にデータの終わりを示す
ETXコードを入れる(ルーチンR1231〜R123
3)。次に、書込みを行なう磁気データ数(次のルーチ
ンで計算されるLRCを含め22個)を設定した後、セ
ーブした磁気データバッファから順次磁気記録データを
読み出すためのアドレスをアドレスカウンタに設定する
(ルーチンR1234,R1235)。
When this command is received, first, the magnetic recording data sent in the form of ASCII code together with the “magnetic write” command is converted into a binary code suitable for internal processing and stored in the magnetic data buffer of the internal memory. Then, the head code STX (see FIG. 4) indicating the head of the magnetic data is inserted at the head of the magnetic data buffer, and the head code STX next to the magnetic recording data in the magnetic data buffer (the twenty-first code when the number of magnetic data is 20). ) Is filled with an ETX code indicating the end of data (routines R1231 to R123)
3). Next, after setting the number of magnetic data to be written (22 including the LRC calculated in the next routine), an address for sequentially reading magnetic recording data from the saved magnetic data buffer is set in the address counter ( Routine R1234, R1235).

【0462】しかる後、ルーチンR1236で所定のレ
ジスタAにSTXのコード(0BH)を予め設定してお
いてから、ルーチンR1237〜R1244でレジスタ
Aのデータと次の磁気データとの排他的論理和を演算し
たものを再びレジスタAに入れていく処理を、磁気デー
タがなくなるまで繰り返すことで最後にレジスタA内に
全磁気データの誤り検査符号たるLRCコードが残るよ
うにしている。
Thereafter, the STX code (0BH) is set in a predetermined register A in advance in a routine R1236, and the exclusive OR of the data in the register A and the next magnetic data is calculated in routines R1237 to R1244. The process of re-entering the calculated data into the register A is repeated until the magnetic data is exhausted, so that the LRC code, which is the error check code of all the magnetic data, is finally left in the register A.

【0463】なお、ルーチンR1236で最初にレジス
タAにSTXのコード(0BH)を設定しているので、
最初の排他的論理和の演算(ルーチンR1238)では
同一データ同士を演算することになり、その結果はオー
ル“0”であり、STXをLRCの計算に含めなかった
のと同じ結果が得られ、初期の目的を達成できる。ま
た、ルーチンR1237〜R1248の処理ではLRC
の計算と同時に各読込みデータ内のオンビット(“1”
のビット)の数が奇数か偶数か判定し、偶数のときは各
データ内のパリティビットを“1”に設定してデータバ
ッファにセーブすることでパリティ(奇数パリティ)ビ
ットの付加も合わせて行なうようにしている(ルーチン
R1239〜R1241)。上記LRC、パリティビッ
トの計算処理後は、磁気データバッファの最後(24番
目)にSTXを示すコードを入れる(ルーチンR124
5)。つまり、磁気データとETXおよびLRCを2つ
のSTXコードで挾む形にする(図4)参照)。
Since the RTX code (0BH) is initially set in the register A in the routine R1236,
In the first operation of exclusive OR (routine R1238), the same data is calculated, the result is all “0”, and the same result as not including STX in the calculation of LRC is obtained. Achieve initial goals. In the processing of routines R1237 to R1248, LRC
At the same time as the on-bit ("1") in each read data
It is determined whether the number of bits is odd or even. If the number is even, the parity bit in each data is set to "1" and saved in the data buffer to add the parity (odd parity) bit. (Routines R1239 to R1241). After the LRC and parity bit calculation processing, a code indicating STX is inserted at the end (24th) of the magnetic data buffer (routine R124).
5). That is, magnetic data, ETX and LRC are sandwiched between two STX codes (see FIG. 4).

【0464】次に、レジスタAに残ったデータ(LC
R)のオンビット数が偶数か奇数か判定し、偶数のとき
にのみパリティビットを“1”に設定してLRC自身に
もパリティビットを付加し、磁気データバッファ内の所
定の位置(23文字目)に入れる(ルーチンR1246
〜R1248)。
Next, the data (LC
R), the parity bit is set to "1" only when the number of ON bits is even or odd, and the parity bit is also added to the LRC itself. (Routine R1246)
RR1248).

【0465】その後、図96に示されている書込み処理
(ルーチンR1301〜R1337)を実行して磁気デ
ータとライトクロックの出力を行ない、同図のベリファ
イ処理(ルーチンR1341〜R1361)を実行して
磁気データが正しく書き込まれたか否かチェックしてか
ら、ベリファイエラーが検出されたか否か判定し(ルー
チンR1249)、エラーがあったときはメモリ内にエ
ラー情報として磁気書込み異常を設定してから図101
のエラー処理ルーチンへ移行する(ルーチンR125
1)。また、ベリファイエラーがなかったときは送信バ
ッファへ“正常”応答コマンドを設定してから図100
の送信処理(ルーチンR1421〜R1426)を実行
して図83のメインフローへ戻る。
Thereafter, the write processing (routines R1301 to R1337) shown in FIG. 96 is executed to output magnetic data and a write clock, and the verify processing (routines R1341 to R1361) shown in FIG. After checking whether or not the data has been written correctly, it is determined whether or not a verify error has been detected (routine R1249). If an error has occurred, a magnetic write error is set as error information in the memory, and FIG.
(Routine R125)
1). If there is no verify error, a "normal" response command is set in the transmission buffer,
Is executed (routines R1421 to R1426), and the flow returns to the main flow in FIG.

【0466】図87には、カード発行制御装置790か
らの「ステータス要求」コマンドを受信したときのカー
ドリーダ制御装置288の制御手順を示す。
FIG. 87 shows a control procedure of the card reader control device 288 when receiving a “status request” command from the card issuance control device 790.

【0467】「ステータス要求」コマンドを受信する
と、内部メモリ内に保持されている機器コードとステー
タス1の内容を送信バッファへ移し、送信バッファ内の
最終データの次の番地へコマンドの終了を示すコードC
Rを設定してから、送信データとしてSTXを設定して
先ずそれを送信する(ルーチンR1261〜R126
4)。しかる後、上記送信バッファのアドレスをカウン
タに設定してからそのアドレスを用いて送信バッファよ
り1バイトのデータを読み出してそれを送信した後、送
信バッファのアドレスを更新する(ルーチンR1265
〜R1268)。それから、CRコードを送信したか否
か判定し、ノオならルーチンR1266へ戻って次のデ
ータを送信し、CRコードの送信をもって「ステータス
要求」コマンドに対する処理を終了する(ルーチンR1
269)。
When the “status request” command is received, the device code and the contents of status 1 held in the internal memory are moved to the transmission buffer, and a code indicating the end of the command is sent to the address next to the last data in the transmission buffer. C
After setting R, STX is set as transmission data and is transmitted first (routines R1261 to R126).
4). Thereafter, the address of the transmission buffer is set in the counter, and one byte of data is read from the transmission buffer using the address and transmitted. Then, the address of the transmission buffer is updated (routine R1265).
-R1268). Then, it is determined whether or not the CR code has been transmitted. If no, the process returns to the routine R1266 to transmit the next data, and the transmission of the CR code ends the processing for the “status request” command (routine R1).
269).

【0468】さらに、図88では、「パンチ穴要求」コ
マンドを受信したときの制御手順をまた、図89には
「セキュリティ要求」コマンドを受信したときの制御手
順をそれぞれ示す。これらのコマンドに対する応答処理
(R1271〜R1279およびR1281〜R128
9)の手順は図87の「ステータス要求」コマンドに対
する応答処理と全く同一である。異なるのは、最初に送
信バッファへ機器コードとステータス1の内容の代わり
にカードから読み取られて内部メモリ内に保持されてい
るパンチ穴データまたはセキュリティデータを移してお
く点のみである。
FIG. 88 shows a control procedure when a “punch hole request” command is received, and FIG. 89 shows a control procedure when a “security request” command is received. Response processing for these commands (R1271-R1279 and R1281-R128
The procedure of 9) is exactly the same as the response processing to the “status request” command of FIG. The only difference is that first, instead of the device code and the contents of status 1, punch hole data or security data read from the card and held in the internal memory is transferred to the transmission buffer.

【0469】さらに、図90には、カード発行制御装置
790から「パンチ穴開け」コマンドを受信したときの
カードリーダ制御装置288の制御手順を示す。
FIG. 90 shows a control procedure of the card reader control device 288 when receiving a “punch hole” command from the card issue control device 790.

【0470】このコマンドを受信すると、コマンドとと
もに送られてきた穴開け箇所を示すデータ(この場合に
は発行穴)に基づいて、初期化ルーチン等でRAM内に
設定したパンチ穴位置に基づいて基準位置からの距離を
ROMから読み出して、バッファに記憶(ルーチンR1
291)した後、図99の穴開け処理(R311〜R3
52)を実行する。それから“パンチOK”フラグをチ
ェックして穴開けが確実に行われたか判定し(ルーチン
R1292)、イエスなら送信バッファへ正常応答コマ
ンドを設定してから(ルーチンR1293)、図100
の送信処理を実行し、ノーならステータス1のパンチ不
良ビットに“1”をセットして、エラー情報にパンチ異
常を書き込んでから図101のエラー処理ルーチンへ移
行する(ルーチンR1294,R1295)。
When this command is received, a reference is made based on the punch hole position set in the RAM by the initialization routine or the like based on the data indicating the hole to be punched (in this case, the issued hole) sent with the command. The distance from the position is read from the ROM and stored in the buffer (routine R1
291), and then performs the punching process (R311 to R3) in FIG.
52) is performed. Then, the "punch OK" flag is checked to determine whether or not the punching has been performed reliably (routine R1292). If yes, a normal response command is set in the transmission buffer (routine R1293), and FIG.
Is executed, and if no, the punch failure bit of status 1 is set to "1", punch error is written in the error information, and the process proceeds to the error processing routine of FIG. 101 (routines R1294, R1295).

【0471】図91には、「カード後方排出」コマンド
を受信したときのカードリーダ制御装置288における
制御手順を示す。
FIG. 91 shows a control procedure in the card reader control device 288 when receiving the “card backward ejection” command.

【0472】このコマンドを受信すると先ず1秒タイマ
を設定してからモータ807を高速で正回転させる(ル
ーチンR1401,R1402)。それから、ルーチン
R1401で設定したタイマがタイムオーバーを起こし
たかチェックし、続いてカードリーダ内の最も後方の位
置検出センサSNS4がオンしたか否か調べる(ルーチ
ンR1403,R1404)。そして、位置検出センサ
SNS4がオフする前にタイムオーバーを起こしたな
ら、ルーチンR1413へジャンプしてモータ807を
停止させてから全センサがオフしているか調べる(ルー
チンR1414)。ここで、カードリーダ内のセンサの
うち一つでもオンしていればステータス1のカードジャ
ムビットに“1”を設定し、エラー情報としてのカード
ジャムエラーを書き込んでから図101のエラー処理ル
ーチンへ移行する。なお、ルーチンR1414ですべて
のセンサがオフしていたときは排出終了とみなしてルー
チンR1407へジャンプする。
When this command is received, the 1-second timer is first set, and then the motor 807 is rotated forward at high speed (routines R1401, R1402). Then, it checks whether the timer set in the routine R1401 has timed out, and then checks whether or not the rearmost position detection sensor SNS4 in the card reader has been turned on (routines R1403, R1404). If a time-out occurs before the position detection sensor SNS4 is turned off, the process jumps to the routine R1413 to stop the motor 807 and then checks whether all the sensors are off (routine R1414). Here, if at least one of the sensors in the card reader is turned on, "1" is set to the card jam bit of status 1 and a card jam error is written as error information, and then the process proceeds to the error processing routine of FIG. Transition. If all the sensors are turned off in the routine R1414, it is determined that the discharge is completed, and the process jumps to the routine R1407.

【0473】一方、ルーチンR1401で設定したタイ
マがタイムオーバーを起こす前に位置検出センサSNS
4がオフしたときは、0.4秒待ってからモータ807
を停止させる(ルーチンR1403)。カードリーダ後
方のカード反転装置740が駆動され、カードリーダ8
00から送り出されたカードがカード反転装置740に
よって搬送され始めるのを待つためである。
On the other hand, before the timer set in the routine R1401 times out, the position detecting sensor SNS
When the motor 4 is turned off, wait 0.4 seconds before starting the motor 807.
Is stopped (routine R1403). The card reversing device 740 behind the card reader is driven, and the card reader 8 is turned on.
This is to wait for the card sent from 00 to be conveyed by the card reversing device 740.

【0474】モータ807を停止した後は、ステータス
1のカードジャムビットをクリアし、図97のルーチン
R1351で設定した“ベリファイエラー”フラグをク
リアしてからカード保持LEDを消灯する(ルーチンR
1407〜R1409)。しかる後、“カード挿入禁
止”フラグをセットして次のカードの挿入を禁止してか
ら、送信バッファへ“正常”応答コマンドのコードを設
定した後、図100の送信処理を実行する(ルーチンR
1410,R1411)。
After stopping the motor 807, the card jam bit of status 1 is cleared, the "verify error" flag set in the routine R1351 in FIG. 97 is cleared, and the card holding LED is turned off (routine R
1407-R1409). Thereafter, the "card insertion prohibition" flag is set to prohibit the insertion of the next card, and after setting the code of the "normal" response command in the transmission buffer, the transmission processing of FIG. 100 is executed (routine R
1410, R1411).

【0475】図92には、カード発行制御装置790か
ら「カード前方排出」コマンドを受信した場合のカード
リーダ制御装置288の処理手順を示す。
FIG. 92 shows a processing procedure of the card reader control device 288 when the "card forward ejection" command is received from the card issuance control device 790.

【0476】この処理はカード精算機300において必
要なため用意されたフローであり、カード発行機200
においては実行されないので説明は省略する。
This processing is a flow prepared because it is necessary in the card settlement machine 300.
Is not executed, and the description is omitted.

【0477】また、図93,図94には、図84の「磁
気読込み」コマンド受信フロー中におけるカード読取処
理とパリティ、LRC検査処理の具体的手順が、さら
に、図95には図85の「リロード」コマンド受信フロ
ー中における磁気処理の具体的手順が示されているが、
これらの処理もカード精算機において実行され、カード
発行機では実行されないので説明は省略する。
FIGS. 93 and 94 show the specific procedures of the card reading process, the parity, and the LRC checking process in the “magnetic reading” command receiving flow of FIG. 84, and FIG. Although the specific procedure of the magnetic processing during the “Reload” command reception flow is shown,
These processes are also executed by the card settlement machine and not executed by the card issuing machine, and therefore the description is omitted.

【0478】一方、図96には、図86のフロー中にお
ける書込み処理の具体的手順を示す。
On the other hand, FIG. 96 shows a specific procedure of the writing process in the flow of FIG.

【0479】この処理では、先ずカードの後端をカード
リーダ800の入口側の位置検出センサSNS1の位置
まで移動させてから、磁気データの数(ex.24個)
をカウンタにセットする(ルーチンR1301,R13
02)。このときカードの先頭は磁気ヘッド821の位
置まで達していない。それから、磁気記録データの入っ
た磁気データバッファの先頭アドレスをアドレスカウン
タに設定した後、モータ807を高速回転させ磁気ヘッ
ド821に対するライト許可信号をオン(ハイレベル)
にする(ルーチンR1303〜R1305)。その後、
磁気データ記録部のトラックTRC2の先頭と終端に無
データの領域を設けるための消去データ“0”を設定
し、200m秒のタイマをセットしてから、“書込割込
み”フラグを“1”にセットして806μ秒ごとの書込
割込みを開始させる(ルーチンR1306〜R130
8)。書込割込みはモータ807の回転を検出するエン
コーダからの検出信号によって806μ秒(カード搬送
スピードを300mm/Sとした場合)ごとに入ってくる
ようになっている。
In this processing, first, the rear end of the card is moved to the position of the position detection sensor SNS1 on the entrance side of the card reader 800, and then the number of magnetic data (ex. 24)
Is set in the counter (routines R1301, R13
02). At this time, the head of the card has not reached the position of the magnetic head 821. Then, after setting the head address of the magnetic data buffer containing the magnetic recording data in the address counter, the motor 807 is rotated at a high speed to turn on the write enable signal for the magnetic head 821 (high level).
(Routines R1303 to R1305). afterwards,
Erase data "0" for providing a non-data area at the beginning and end of the track TRC2 of the magnetic data recording section is set, a 200 ms timer is set, and then the "write interrupt" flag is set to "1". Set to start a write interrupt every 806 μsec (routines R1306 to R130
8). The write interrupt is set to occur every 806 μsec (when the card transport speed is 300 mm / S) according to a detection signal from an encoder that detects the rotation of the motor 807.

【0480】次に、ルーチンR1307でセットしたタ
イマをチェックしてから、ライトクロックデータを反転
し“書込み待ち”フラグを“1”にセットして、このフ
ラグが図104の書込割込み処理で“0”にクリアされ
るのを待つ(ルーチンR1309〜R1312)。そし
て、磁気ヘッド821の少し後方位置に配置された位置
検出センサSNS3がオンしたか否かチェックして(ル
ーチンR1313)、オフならルーチンR1309へ戻
って、センサSNS3がオンするまで上記手順を繰り返
す。上記ループを繰り返すことにより、806μ秒に一
度ずつ書込割込みが実行される度に、ライトクロックデ
ータが反転される。これによって、磁気ヘッドによるカ
ードの磁気部への磁化方向が806μ秒ごとに反転さ
れ、2倍の1.612mを1周期とするクロックデータ
がカードのトラックTRC1に書き込まれる。なお、上
記位置検出センサSNS3は、このセンサがカードの末
端を検出したときに磁気ヘッドがトラックTRC2のS
TXコード書込み開始位置にくるように取付け位置が決
定されており、センサSNS3がオンすると、次のルー
チンR1314へ進み磁気データの書込みを開始する。
なお、このセンサSNS3がオンする前にルーチンR1
307でセットしたタイマがタイムオーバーを起こす
と、カードが詰まったと判定して、ルーチンR1309
からR1336へジャンプしステータス1のカードジャ
ムビットに“1”を立てて、エラー情報にカードジャム
を書き込んでから図101のエラー処理ルーチンへ移行
する(ルーチンR1337)。
Next, after checking the timer set in the routine R1307, the write clock data is inverted, and the “write wait” flag is set to “1”. It waits until it is cleared to "0" (routines R1309 to R1312). Then, it is checked whether or not the position detection sensor SNS3 disposed slightly behind the magnetic head 821 is turned on (routine R1313). If it is off, the process returns to the routine R1309, and the above procedure is repeated until the sensor SNS3 is turned on. By repeating the above loop, the write clock data is inverted every time the write interrupt is executed once every 806 μsec. As a result, the direction of magnetization of the magnetic portion of the card by the magnetic head is inverted every 806 μsec, and clock data having a period of 1.612 m, which is twice as long, is written to the track TRC1 of the card. When the position detection sensor SNS3 detects the end of the card, the magnetic head detects the position of the track TRC2.
The mounting position is determined so as to reach the TX code writing start position, and when the sensor SNS3 is turned on, the process proceeds to the next routine R1314 to start writing magnetic data.
Before the sensor SNS3 is turned on, the routine R1 is executed.
If the timer set in 307 has timed out, it is determined that the card is jammed, and the routine R1309 is executed.
Jump to R1336, set the card jam bit of the status 1 to "1", write the card jam in the error information, and shift to the error processing routine of FIG. 101 (routine R1337).

【0481】タイムオーバーを起こす前に位置検出セン
サSNS3がオンすると、ルーチンR1314へ進ん
で、先ず各データ(パリティを含む)のビット数(5ビ
ット)をカウンタにセットしてからルーチンR1303
で設定したアドレスを用いて磁気データバッファ内から
1バイト(8ビット)の磁気記録データを読み込んで並
−直変換手段としてのシフトレジスタへ入れ、アドレス
カウンタをインクリメントする(ルーチンR1315,
R1316)。それから、出力バッファ内のデータを2
ビットさらに1ビット計3ビット左へシフトさせる(ル
ーチンR1317,R1318)。これによってシフト
レジスタの左端に5ビットの磁気データの最上位ビット
がくる。
If the position detection sensor SNS3 is turned on before the time is over, the flow advances to the routine R1314, where the number of bits (5 bits) of each data (including parity) is first set in the counter, and then the routine R1303 is executed.
The 1-byte (8-bit) magnetic recording data is read from the magnetic data buffer by using the address set in the step (1) and is inputted into the shift register as the parallel-to-direct conversion means, and the address counter is incremented (routine R1315)
R1316). Then, the data in the output buffer is
The bits are further shifted left by one bit for a total of three bits (routines R1317 and R1318). This places the most significant bit of the 5-bit magnetic data at the left end of the shift register.

【0482】そこで次に、ルーチンR1319で上記シ
フトレジスタの左端にきたビットがオンすなわち“1”
か否か判定し、“0”なら次のルーチンR1320でラ
イトデータを反転し、“1”なら反転しないでルーチン
R1321へジャンプする。これによって、NRZI方
式の書込み信号を形成して、出力させることができる。
また、ライトデータの出力に続いて、前記ルーチンR1
310〜R1312で行なったのと同一の手順でライト
クロックの出力も実行する(ルーチンR1321〜R1
323)。このうち、ライトデータはカードの第2トラ
ックTRC2に、またライトクロックは第1トラックT
RC1にそれぞれ書き込む。
Then, next, in the routine R1319, the bit at the left end of the shift register is turned on, ie, “1”.
It is determined whether or not “0”, the write data is inverted in the next routine R1320, and if “1”, the process jumps to the routine R1321 without inversion. Thus, a write signal of the NRZI system can be formed and output.
Following the output of the write data, the routine R1
The output of the write clock is also executed in the same procedure as that performed in steps 310 to 1312 (routines R1321 to R1).
323). Of these, the write data is on the second track TRC2 of the card, and the write clock is on the first track TC2.
Write to RC1 respectively.

【0483】上記1ビットのデータの出力後、ビットカ
ウンタをデクリメントしてカウンタが「0」になったか
判定し、「0」でないときはルーチンR1318へ戻っ
てシフトレジスタ内の磁気データを1ビットだけ左へシ
フトしてその出力を行なう処理をビットカウンタが
「0」になるまで繰り返すことで、5ビットのパラレル
磁気データがシリアルなライトデータに変換され出力さ
れる(ルーチンR1324,R1325)。そして、1
バイトの磁気データの出力が終了すると、ルーチンR1
326へ進んで、磁気データ数を一つ減算してからルー
チンR1314へ戻って次の磁気データの並−直変換と
出力を繰返し行なって、全磁気データの出力が終了した
ならルーチンR1328へ移行する(ルーチンR132
7)。
After the output of the 1-bit data, the bit counter is decremented to determine whether or not the counter has become "0". If not, the flow returns to the routine R1318 to return the magnetic data in the shift register by one bit. By repeating the process of shifting to the left and outputting the data until the bit counter becomes "0", the 5-bit parallel magnetic data is converted into serial write data and output (routine R1324, R1325). And 1
When the output of the byte magnetic data is completed, the routine R1
Proceeding to 326, the number of magnetic data is decremented by one, and then the flow returns to routine R1314 to repeat the parallel-to-direct conversion and output of the next magnetic data. (Routine R132
7).

【0484】ルーチンR1328では100m秒のタイ
マをセットしてから、前記ルーチンR1309〜R13
13と同一の手順に従って位置検出センサSNS4がオ
ンするまで、ライトクロックデータの出力を行なう(ル
ーチンR1329〜R1333)。つまり、カードの第
1トラックTRC1には、第2トラックTRC2へ磁気
データの最終データとしてのSTXコードを書き込んだ
後も、カード終端までクロックデータを書き続けるよう
になっている(図4参照)。なお、第2トラック側は磁
気データの書込み終了後は磁気データは反転されないの
で磁化の向きは一定にされ、データの消去状態になる。
In the routine R1328, a timer for 100 ms is set, and then the routines R1309 through R13
The write clock data is output until the position detection sensor SNS4 is turned on in accordance with the same procedure as in step 13 (routines R1329 to R1333). That is, even after writing the STX code as the last data of the magnetic data to the second track TRC2 on the first track TRC1 of the card, the clock data continues to be written until the end of the card (see FIG. 4). Since the magnetic data is not inverted on the second track after the writing of the magnetic data is completed, the direction of the magnetization is fixed and the data is erased.

【0485】一方、ルーチンR1329でタイマオーバ
ーを起こす前に位置検出センサSNS4がオンになった
ならルーチンR1334へ進み、磁気ヘッド821への
ライト許可信号をオフ(ロウレベル)にしてからモータ
807の回転を停止させて終了する(ルーチンR133
5)。また、位置検出センサSNS4がオンする前にル
ーチンR1328でセットしたタイマがタイムオーバー
を起こすと、ルーチンR1336へジャンプして、ステ
ータス1とエラー情報にカードジャムを設定してから図
101のエラー処理ルーチンへ移行する。
On the other hand, if the position detection sensor SNS4 is turned on before the timer is over in the routine R1329, the process proceeds to the routine R1334, where the write permission signal to the magnetic head 821 is turned off (low level), and then the rotation of the motor 807 is started. Stop and end (Routine R133
5). If the timer set in the routine R1328 times out before the position detection sensor SNS4 is turned on, the routine jumps to the routine R1336, sets the card jam in the status 1 and the error information, and then proceeds to the error processing routine in FIG. Transition.

【0486】図97には、図96の書込み処理に続いて
行われるベリファイ処理の具体的な手順が示されてい
る。
FIG. 97 shows a specific procedure of the verify process performed after the write process of FIG. 96.

【0487】ここでは、先ずカードの後端がカードリー
ダ内の第1位置検出センサSNS1によって検出される
までモータ807を逆転させてカードを後退させてか
ら、1秒タイマをセットする(ルーチンR1341,R
1342)。それから、モータ807を高速正回転さ
せ、磁気データ数(ここではLRCの次のSTXコード
はチェックしないので23個でよい)を設定し、アドレ
スカウンタに磁気データバッファの2番目のアドレスを
セットする(ルーチンR1343〜R1344)。最初
のSTXコードをベリファイの対象から外すためであ
る。
In this case, first, the motor 807 is reversed to retract the card until the rear end of the card is detected by the first position detection sensor SNS1 in the card reader, and then a one second timer is set (routine R1341, R
1342). Then, the motor 807 is rotated forward at high speed, the number of magnetic data is set (here, the next STX code of the LRC is not checked, so that the number is 23), and the second address of the magnetic data buffer is set in the address counter ( Routines R1343 to R1344). This is for excluding the first STX code from the target of verification.

【0488】アドレス設定後、図98の1ビット読込処
理を実行してルーチンR1346で読み込まれワークエ
リアに格納されたデータがSTXコードと一致したか判
定し、一致するまで待ち、一致した時点で次のルーチン
R1347へ進む。ルーチンR1347ではビットカウ
ンタに5ビットを設定してから図98の1ビット読込み
処理で磁気データの1ビットを読み込んでワークエリア
の最下位ビットに入れてシフトさせてからビットカウン
タをデクリメントし、これをビットカウンタが「0」に
なるまで、つまり5ビット読み込むまで繰り返す(ルー
チンR1347〜R1349)。
After the address is set, the 1-bit reading process shown in FIG. 98 is executed to determine whether or not the data read in the routine R1346 and stored in the work area matches the STX code. It proceeds to the routine R1347. In the routine R1347, 5 bits are set in the bit counter, 1 bit of the magnetic data is read by the 1-bit reading process of FIG. 98, the bit is shifted into the least significant bit of the work area, and the bit counter is decremented. The process is repeated until the bit counter becomes "0", that is, until 5 bits are read (routines R1347 to R1349).

【0489】それから、ルーチンR1345でカウンタ
に設定したアドレスを用いて磁気データバッファから読
み出した磁気データとカードから読み出されてシフトレ
ジスタに入っている磁気データとを比較する(ルーチン
R1350)。ここで、2つのデータが一致しないとき
はルーチンR1351でエラー情報にベリファイエラー
を設定してから、またデータが一致したときはルーチン
R1350からR1352へジャンプして磁気データバ
ッファのアドレスカウンタをインクリメントし、磁気デ
ータ数を「1」減算して、磁気データ数が「0」になる
まで上記ルーチンR1347〜R1353を繰り返す
(ルーチンR1354)。
Then, the magnetic data read from the magnetic data buffer is compared with the magnetic data read from the card and stored in the shift register using the address set in the counter in the routine R1345 (routine R1350). Here, if the two data do not match, a verify error is set in the error information in the routine R1351, and if the data matches, the routine jumps from the routine R1350 to R1352 to increment the address counter of the magnetic data buffer. Routines R1347 to R1353 are repeated until the number of magnetic data becomes "0" by subtracting "1" from the number of magnetic data (routine R1354).

【0490】そして、磁気データ数が「0」になったな
らば、ルーチンR1355へ進んで1ビットの読取りラ
ッチをクリアして読取ったデータを消去してから、ルー
チンR1342でセットした1秒タイマがタイムオーバ
ーを起こしたか判定し(ルーチンR1356)、また、
次のルーチンR1357では位置検出センサSNS4が
オンになったか判定する。タイムオーバーを起こす前に
位置検出センサSNS4がオンになったときはルーチン
R1358へ進み、ステータス1のカードジャムビット
をクリアしてからモータ807を停止させる(ルーチン
R1359)。
When the number of magnetic data becomes "0", the flow advances to routine R1355 to clear the 1-bit read latch and erase the read data. Then, the 1-second timer set in routine R1342 is reset. It is determined whether a time-over has occurred (Routine R1356).
In the next routine R1357, it is determined whether the position detection sensor SNS4 has been turned on. If the position detection sensor SNS4 is turned on before the time is over, the routine proceeds to a routine R1358, where the card jam bit of status 1 is cleared and then the motor 807 is stopped (routine R1359).

【0491】一方、位置検出センサSNS4がオンする
前にタイムオーバーを起こすと、ステータス1の“カー
ドジャム”ビットに“1”をセットしてからエラー情報
にカードジャムを書き込んだ後、図101のエラー処理
ルーチンへ移行する(ルーチンR1360,R136
1)。
On the other hand, if a time-out occurs before the position detection sensor SNS4 is turned on, “1” is set in the “card jam” bit of status 1 and then a card jam is written in the error information. Shift to processing routine (routines R1360, R136
1).

【0492】図98には、図97のベリファイ処理フロ
ーおよび図95の磁気処理フローに共通の1ビット読込
処理の具体的手順を示す。
FIG. 98 shows a specific procedure of the 1-bit read process common to the verify process flow of FIG. 97 and the magnetic process flow of FIG.

【0493】この処理では、先ず1ビットの読取りラッ
チをクリアしてから(ルーチンR581)、カードリー
ダ内の各センサSNS1〜SNS4の出力に基づいてカ
ードのサイズの検査を行なう(ルーチンR582〜R5
88)。それから、ルーチンR581でクリアした読取
ラッチ内に磁気データがラッチされているかチェック
し、入っていればそのラッチデータの転送先となるワー
クエリアを左に1ビットだけシフトさせて最下位ビット
0に上記ラッチのデータを移して終了する(ルーチンR
589〜R590)。
In this process, the 1-bit read latch is first cleared (routine R581), and then the size of the card is inspected based on the outputs of the sensors SNS1 to SNS4 in the card reader (routines R582 to R5).
88). Then, it is checked whether magnetic data is latched in the read latch cleared in the routine R581, and if it is, the work area to which the latch data is transferred is shifted left by one bit and the least significant bit is set to zero. Transfer the data of the latch and finish (Routine R
589-R590).

【0494】なお、この実施例のカードリーダは第1と
第3の位置検出センサSNS2,SNS3間の距離L3が
正規のカード長L0よりも長く、第2と第3の位置検出セ
ンサSNS1,SNS3間の距離L3が正規のカード長L0
よりも短くなるようにセンサ間距離が設定されている
(図32参照)。そこで、図98に示す1ビット読込み処
理中において第1〜第3の位置検出センサSNS1〜S
NS3の出力をチェックすることでカードサイズの不良
を検出するようになっている(ルーチンR584〜R5
87)。
In the card reader of this embodiment, the distance L3 between the first and third position detection sensors SNS2 and SNS3 is longer than the regular card length L0, and the second and third position detection sensors SNS1 and SNS3 The distance L3 between the regular card length L0
The distance between sensors is set to be shorter than
(See FIG. 32). Therefore, during the one-bit reading process shown in FIG. 98, the first to third position detection sensors SNS1 to SNS
By checking the output of NS3, a card size defect is detected (routines R584 to R5).
87).

【0495】図99には、図90の「パンチ穴開け」コ
マンド受信フローにおける穴開け処理の具体的手順が示
されている。
FIG. 99 shows a specific procedure of the hole punching process in the “punch hole punching” command receiving flow of FIG. 90.

【0496】この穴開け処理では、先ずカードをカード
リーダ800の一番奥まで移動(ルーチンR311)し
て“パンチOK”フラグをクリア(ルーチンR312)
した後、モータを逆転させてタイマ(3秒)を起動させ
(ルーチンR313)、“移動量検出”フラグをセット
してから移動量カウンタをクリアする(ルーチンR31
4〜R318)。そして“タイマ2動作”フラグをセッ
トしてタイマ割込みを許可し、タイマ割込みにより移動
量を検出してパンチ穴開け位置に達したところでモータ
の回転を停止させ(ルーチンR319〜R322)、モー
タが完全に止まるのを待つため150m秒間待機(ルー
チンR323)してからパンチ装置820を作動させる
(ルーチンR324〜R327)。上記ルーチンR323
〜R327を2回繰り返して穴開けを確実にしてから
(ルーチンR328)、移動量カウンタをクリアしてモ
ータを高速で逆転させて開口したパンチ穴がパンチ穴検
出センサSNSpに対向する方向へカードを動かす。そ
して、パンチ穴検出センサがオンしているか判定し、正
規の位置にパンチ穴が開いているときは“パンチOK”
フラグをセットしてから、第1の位置検出センサSNS
1がオンしてカードの後端を検出したところでタイマ割
込みを停止させるとともにモータを停止させる(ルーチ
ンR329〜R340)。
In the punching process, first, the card is moved to the innermost position of the card reader 800 (routine R311) to clear the “punch OK” flag (routine R312).
After that, the motor is reversed to start the timer (3 seconds) (routine R313), the "movement amount detection" flag is set, and then the movement amount counter is cleared (routine R31).
4-R318). Then, the "timer 2 operation" flag is set to permit the timer interrupt, the movement amount is detected by the timer interrupt, and the rotation of the motor is stopped when the punching position is reached (routines R319 to R322). After waiting for 150 msec (routine R323) to wait for the stop, the punch device 820 is operated.
(Routines R324 to R327). The above routine R323
After R327 is repeated twice to make sure that the hole is opened (routine R328), the moving amount counter is cleared, the motor is reversed at high speed, and the punched hole that is opened faces the punched hole detection sensor SNSp. move. Then, it is determined whether or not the punch hole detection sensor is ON. If the punch hole is opened at a regular position, "Punch OK" is displayed.
After setting the flag, the first position detection sensor SNS
When 1 is turned on and the rear end of the card is detected, the timer interrupt is stopped and the motor is stopped (routines R329 to R340).

【0497】上記ルーチンにおいてカード移動中にタイ
ムオーバを起こすとカードのジャム(紙づまり)が発生
したと判定し、それぞれエラー処理に入るようになって
いる(ルーチンR315,R332)。
In the above routine, if a time-out occurs during the movement of the card, it is determined that a card jam (paper jam) has occurred, and error processing is started (routines R315 and R332).

【0498】図100には、図86の「磁気書込み」コ
マンド受信時の処理フロー、図90の「パンチ穴開け」
コマンド受信時の処理フロー、図91の「カード後方排
出」コマンド受信時の処理フローおよび図92の「カー
ド前方排出」コマンド受信時の処理フロー中における応
答コマンドの送信処理の具体的手順を示す。
FIG. 100 shows the processing flow when the “magnetic write” command is received in FIG. 86, and “punch hole” in FIG. 90.
A specific procedure of the processing flow at the time of receiving the command, the processing flow at the time of receiving the “discharge card backward” command in FIG. 91, and the transmission procedure of the response command during the processing flow at the time of receiving the “discharge card forward” command of FIG.

【0499】送信処理では、先ず受信バッファに対し受
信を禁止してから送信バッファの先頭アドレスをカウン
タに設定する(ルーチンR1421,R1422)。次
に、上記各フロー中において送信バッファ内にセーブさ
れた送信データを1バイト読み込んで送信した後、送信
バッファのアドレスカウンタをインクリメントする(ル
ーチンR1423,R1424)。しかる後、応答コマ
ンドの終了を示すコードCRを送信したか判定して(ル
ーチンR1425)、未だならルーチンR1423へ戻
って次の1バイトデータを順次送信し、“CR”コード
を送信したなら受信バッファに対して受信許可を与えて
から、元のルーチンに戻る(ルーチンR1426)。
In the transmission process, first, the reception of the reception buffer is prohibited, and then the start address of the transmission buffer is set in the counter (routine R1421, R1422). Next, the transmission data saved in the transmission buffer during each flow is read and transmitted for one byte, and then the address counter of the transmission buffer is incremented (routine R1423, R1424). Thereafter, it is determined whether or not the code CR indicating the end of the response command has been transmitted (routine R1425). If not, the process returns to the routine R1423 to sequentially transmit the next one-byte data. , And then returns to the original routine (routine R1426).

【0500】一方、図101には、図83や図84〜図
92および図93〜図99の各処理フロー中においてエ
ラーが発生した場合に実行されるエラー処理の具体的手
順が示されている。
On the other hand, FIG. 101 shows a specific procedure of error processing executed when an error occurs in each processing flow of FIGS. 83, 84 to 92, and 93 to 99. .

【0501】このエラー処理では、前記各フロー中で発
生したエラーの内容に応じて書き込まれたエラー情報に
対応するモニタ表示データすなわちエラー表示符号
(〔表7〕参照)を内部メモリから読み出してそれをモ
ニタ表示器175に出力してエラーの種類を表示させる
(ルーチンR1131,R1132)。それから、OK
ランプを消灯し、“書込み禁止”フラグに“1”を立て
て磁気データの書込み処理を禁止してからタイマ2割込
みを停止させて磁気読込み処理も禁止する(ルーチンR
1133〜R1135)。しかる後、カードリーダ80
0内のモータ807を停止させてからシャッタソレノイ
ド809をオフしてシャッタを閉じてカードの進入を禁
止した後、エラーの種類に対応した応答コード(〔表
7〕右欄参照)を送信(ルーチンR1136〜R113
8)して、図83のメインフロー中のルーチンR110
9へ戻る(符号V2参照)。
In this error processing, monitor display data, ie, an error display code (see [Table 7]) corresponding to the error information written according to the content of the error that has occurred in each of the above flows is read out from the internal memory and read. Is output to the monitor display 175 to display the type of error (routine R1131, R1132). And OK
The lamp is turned off, the "write inhibit" flag is set to "1" to inhibit the magnetic data write process, and then the timer 2 interrupt is stopped to inhibit the magnetic read process (routine R
1133-R1135). After a while, the card reader 80
After stopping the motor 807 within 0, turning off the shutter solenoid 809 to close the shutter and prohibit the card from entering, a response code (see the right column of [Table 7]) corresponding to the type of error is transmitted (routine). R1136 to R113
8) Then, the routine R110 in the main flow of FIG.
Return to 9 (see reference numeral V2).

【0502】次に、図102,図103には、読出し割
込みが、また図104には書込み割込みが入った場合の
処理の手順が示されている。
Next, FIG. 102 and FIG. 103 show the processing procedure when a read interrupt occurs, and FIG. 104 shows the processing procedure when a write interrupt occurs.

【0503】既に述べたように、この実施例のカードリ
ーダ800では、モータ807の回転速度を検出するセ
ンサ832からの検出信号が割込み信号としてカードリ
ーダ制御装置288に入力されており、図93のカード
読取処理フロー中におけるルーチンR524でコントロ
ーラ内部の“タイマ2動作”フラグが“1”にセットさ
れたときにこの信号が入ってくると、図101のタイマ
2割込み処理を実行し、図96の書込み処理フロー中に
おけるルーチンR1308で“書込割込み開始”フラグ
がセットされると、図103の書込割込み処理を実行す
るようになっている。
As described above, in the card reader 800 of this embodiment, the detection signal from the sensor 832 for detecting the rotation speed of the motor 807 is input to the card reader control device 288 as an interrupt signal. When this signal comes in when the "timer 2 operation" flag inside the controller is set to "1" in the routine R524 in the card reading processing flow, the timer 2 interrupt processing of FIG. When the "write interrupt start" flag is set in the routine R1308 in the write processing flow, the write interrupt processing of FIG. 103 is executed.

【0504】なお、速度センサ832はモータ807の
回転軸に取り付けられたロータリエンコーダ817に対
向して設けられており、回転速度にかかわらずカードが
0.1mm移動するごとに割込み信号が入ってくる。
The speed sensor 832 is provided so as to face the rotary encoder 817 attached to the rotation shaft of the motor 807, and an interrupt signal is input every time the card moves 0.1 mm regardless of the rotation speed. .

【0505】タイマ2割込み処理では、先ずルーチンR
701で“セキュリティ読取”フラグと“パンチ穴読
取”フラグを見ていずれも“0”のときは移動量検出モ
ードとなり、ルーチンR710へ移行し、移動量カウン
タをインクリメントして割込み処理を終了する。なお、
移動検出モードとなるのは、図95の磁気処理中(ルー
チンR572)および図99の穴開け処理中(ルーチン
R317)において基準となる位置からのカードの移動
量を知りたい場合であり、“セキュリティ読取”フラグ
および“パンチ穴読取”フラグをクリアすることにより
移動量検出モードが設定される。
In the timer 2 interrupt processing, first, the routine R
If the "security read" flag and the "punch hole read" flag are both "0" in step 701, the mode is the movement amount detection mode, the routine proceeds to routine R710, the movement amount counter is incremented, and the interrupt processing is terminated. In addition,
The movement detection mode is set when it is desired to know the movement amount of the card from the reference position during the magnetic processing (routine R572) in FIG. 95 and the punching processing (routine R317) in FIG. 99. The movement amount detection mode is set by clearing the "read" flag and the "punch hole read" flag.

【0506】また、タイマ2割込み処理に入って“移動
量検出”フラグが“0”のときはルーチンR702へ進
み移動量カウンタをインクリメントしてから、ルーチン
R703で“セキュリティ読取中”フラグがセットされ
ているかチェックし、セットされていればルーチンR7
04へ進み移動量が4.8mm以上になったか判定する
(“セキュリティ読取中”フラグが“0”のときは図1
03のパンチ穴読取りルーチンへ移行する)。“セキュ
リティ読取中”フラグがセットされるのは図93のカー
ド読取り処理中のルーチンR523でパンチ穴センサS
NSpがオンしたときであり、このときセキュリティコ
ード読取センサ810aはカードのセキュリティ領域
(TF)の始端に位置する。しかして、最初のセキュリ
ティマークはセキュリティ領域の始端から4.8mm以上離
れた位置に設けられる。そこで、ルーチンR704で移
動量が4.8mm以上になったと判定しているのである。4.8
mm以下の場合は割込み処理を終了し、次のタイマ2割込
みで再び移動量カウンタをインクリメントする。そし
て、移動量が4.8mmに達すると、ルーチンR711へ移
行し、そこで、先ず移動量とルーチンR519でRAM
内に設定された読取範囲とを比較し、読取範囲内であれ
ばセキュリティのコード読取センサがオンになっている
か判定し、オンならばセキュリティコードの幅を計数す
るカウンタをインクリメントして割込み処理を終了する
(ルーチンR712,R713)。
If the "movement amount detection" flag is "0" after entering the timer 2 interrupt processing, the flow advances to routine R702 to increment the movement amount counter, and then the "security reading" flag is set in routine R703. Check if it is set, and if it is set, the routine R7
04, it is determined whether or not the movement amount has become 4.8 mm or more (when the “security reading” flag is “0”, FIG.
Shift to the punch hole reading routine of 03). The “security reading” flag is set in the routine R523 during the card reading process in FIG.
This is when NSp is turned on, and at this time, the security code reading sensor 810a is located at the beginning of the security area (TF) of the card. Thus, the first security mark is provided at a position at least 4.8 mm away from the beginning of the security area. Therefore, it is determined in the routine R704 that the movement amount has become 4.8 mm or more. 4.8
If the distance is equal to or less than mm, the interrupt processing is terminated, and the moving amount counter is incremented again by the next timer 2 interrupt. Then, when the moving amount reaches 4.8 mm, the process proceeds to a routine R711, where the moving amount and the RAM are first determined by a routine R519.
The security code read sensor is turned on if it is within the read range, and if it is on, the counter that counts the width of the security code is incremented and interrupt processing is performed. finish
(Routines R712, R713).

【0507】そして、コード読取センサがオフになった
時点でカウンタの値を調べ(ルーチンR714)セキュ
リティコードの幅が“0”ならコードなしと判定し、割
込み処理を終了する。一方、セキュリティの幅が“0”
でなければカウンタの幅をバッファに移してからカウン
タをクリアし、セキュリティ幅が0.5mm以上あるか否か
判定する(ルーチンR715,R716)。ここで、幅
が0.5mm以下なら異常とみなし、0.5mm以上ならシフトレ
ジスタとして動作されるセキュリティバッファの最上位
(または最下位)ビットに“1”を立てる。
When the code reading sensor is turned off, the value of the counter is checked (routine R714). If the width of the security code is "0", it is determined that there is no code, and the interrupt processing ends. On the other hand, security width is “0”
If not, the width of the counter is moved to the buffer, and then the counter is cleared, and it is determined whether or not the security width is 0.5 mm or more (routines R715 and R716). Here, if the width is 0.5 mm or less, it is regarded as abnormal, and if it is 0.5 mm or more, "1" is set to the most significant (or least significant) bit of the security buffer operated as a shift register.

【0508】それから、次のタイマ割込みに入ってルー
チンR711で読取範囲から外れたときは1番目のコー
ドの読取り終了としてルーチンR721へ移行しセキュ
リティ読取数(カウンタ)を減算する。そして、読み取
ったコードを記憶するセキュリティバッファをルーチン
R723で1ビットだけシフトしてから読取範囲をセキ
ュリティコードのピッチ(3.5mm)分だけ加算して終了
する。セキュリティを1ビット検出するごとにセキュリ
ティバッファをシフトすることにより、シリアルに読み
取られたセキュリティコードがパラレルデータに変換さ
れていく。
Then, when the next timer interrupt is entered and the read out of the read range in the routine R711, the process proceeds to the routine R721 as the end of reading the first code, and the security read number (counter) is decremented. Then, the security buffer for storing the read code is shifted by one bit in the routine R723, and then the read range is added by the security code pitch (3.5 mm), and the processing is terminated. By shifting the security buffer every time one bit of security is detected, the serially read security code is converted into parallel data.

【0509】上記ルーチンを繰り返すことにより、セキ
ュリティの読取数が「0」になると、ルーチンR722
からR714へ進み、読み取ったセキュリティ幅が0.5m
mのときにはセキュリティバッファの最上位ビットに
“1”を書き込む。そして、セキュリティ読取り後、磁
気データ読取処理に移って図95のルーチンR553で
“パンチ穴読取”フラグが“1”にセットされ、“セキ
ュリティ読取”フラグが“0”にクリアされてからこの
図102のタイマ2割込みが開始されると、ルーチンR
703から図103のルーチンR731へ移行し、パン
チ穴検出センサがオンしているかチェックし、オンなら
ばルーチンR732でパンチ穴幅を計数するカウンタを
インクリメントして割込み処理を終了する。そして、次
の割込みでパンチ穴検出センサがオフになったならばル
ーチンR733へ移行してパンチ穴幅をチェックする。
ここで、検出されたパンチ穴の幅が0.8mm以上のときは
正規のパンチ穴とみなし、ルーチンR734でパンチ穴
の有無を記憶するバッファ(シフトレジスタとして動作
される)の最上位(または最下位)ビットに“1”を書
き込んでから、またパンチ穴の幅が0.8mm以下のときは
ルーチンR735でパンチ穴幅カウンタをクリアしてか
らルーチンR736へ進む。
By repeating the above routine, if the number of security readings becomes "0", the routine R722
From R714, read security width of 0.5m
In the case of m, "1" is written to the most significant bit of the security buffer. After the security reading, the process proceeds to the magnetic data reading process, and the “punch hole reading” flag is set to “1” in the routine R553 of FIG. 95 and the “security reading” flag is cleared to “0”. When the timer 2 interrupt is started, the routine R
From 703, the flow shifts to the routine R731 in FIG. 103, where it is checked whether the punch hole detection sensor is on. If the sensor is on, the counter for counting the punch hole width is incremented in the routine R732, and the interrupt processing ends. Then, if the punch hole detection sensor is turned off by the next interruption, the routine proceeds to a routine R733 to check the punch hole width.
Here, if the detected width of the punched hole is 0.8 mm or more, it is regarded as a regular punched hole, and the top (or the lowest) of the buffer (operated as a shift register) storing the presence or absence of the punched hole in the routine R734. After writing "1" to the bit, and when the width of the punched hole is 0.8 mm or less, the punched hole width counter is cleared in the routine R735 and then the routine proceeds to the routine R736.

【0510】ここでは、カード移動量が読取範囲内に入
っているか判定し、入っているときは上記手順を繰り返
し、読取範囲から外れるとルーチンR741以下へ移行
する。
Here, it is determined whether or not the card moving amount is within the reading range, and if so, the above procedure is repeated. If the card moving amount is out of the reading range, the flow shifts to routine R741 or lower.

【0511】ルーチンR741〜R745では先ずパン
チ穴読取数を減算して読み取られたビットの入ったバッ
ファを1ビットシフトさせ、パンチ穴幅カウンタをクリ
アしてから読取範囲を設定し直して終了する。そして、
読取数が「0」になったときに“タイマ2動作”フラグ
をクリアして以後のタイマ2割込み動作を停止させる
(ルーチンR742,R746)。
In the routines R741 to R745, the buffer containing the read bits is shifted by one bit by subtracting the number of punched holes read out, the punched hole width counter is cleared, the readout range is set again, and the processing ends. And
When the number of readings becomes "0", the "timer 2 operation" flag is cleared and the subsequent timer 2 interrupt operation is stopped (routine R742, R746).

【0512】一方、図96の書込み処理フロー中におい
てルーチンR1308で“書込割込み開始”フラグがセ
ットされた後、カードリーダのモータ807の回転検出
センサ832から806μSごとに検出信号が入ってく
ると、図104の書込割込み処理が開始され、先ず図9
6のフロー中のルーチンR1310もしくはルーチンR
1330で設定したライトクロックデータまたはルーチ
ンR1320,R1321で設定したライトデータおよ
びライトクロックデータを出力する(ルーチンR75
1)。しかる後、ルーチンR1311,R1322また
はR1331でセットした“書込み待ち”フラグをクリ
アして書込割込み処理を終了する(ルーチンR75
2)。
On the other hand, after the "write interrupt start" flag is set in the routine R1308 during the write processing flow of FIG. 96, when a detection signal is input every 806 .mu.S from the rotation detection sensor 832 of the motor 807 of the card reader. , The write interrupt process of FIG. 104 is started.
R1310 or R in the flow of Step 6
The write clock data set at 1330 or the write data and write clock data set at routines R1320 and R1321 are output (routine R75).
1). Thereafter, the "write waiting" flag set in the routine R1311, R1322 or R1331 is cleared and the write interrupt processing is terminated (routine R75).
2).

【0513】なお、上記実施例では、記憶媒体としての
カードにはカード番号のみ記録し、購入金額や玉数はカ
ード番号に対応して管理装置の記憶装置に記憶させてお
くようにした遊技システムにおける遊技用記憶媒体発行
装置に適用したものについて説明したが、この発明はそ
れに限定されず、購入金額または遊技媒体数を記録した
カードを発行する発行装置にも適用することができる。
また、遊技用記憶媒体発行装置は必ずしも伝送媒体を介
して管理装置に接続されている必要はなく自己の判断の
下でカードを発行する発行装置であってもよい。
[0513] In the above embodiment, only the card number is recorded on the card as the storage medium, and the purchase amount and the number of balls are stored in the storage device of the management device in correspondence with the card number. Although the present invention has been described with reference to the application to a game storage medium issuing device, the present invention is not limited to this, and can also be applied to an issuing device that issues a card that records the purchase amount or the number of game media.
The game storage medium issuing device does not necessarily need to be connected to the management device via the transmission medium, and may be an issuing device that issues a card under its own judgment.

【0514】また、上記実施例では、遊技装置の一例と
して封入球循環方式のパチンコ遊技機を備えた遊技設備
に適用した場合について説明したが、この発明はそれに
限定されるものでなく、例えば記憶媒体の有する有価デ
ータを各遊技装置で実球に変換してそれを遊技装置前面
の供給皿から1個宛遊技装置内部に供給して遊技を行う
ように構成された遊技装置を備えた遊技設備その他記憶
媒体を利用して遊技可能になるものであれば、どのよう
な構成の遊技装置(パチンコ遊技機以外の遊技装置を含
む)を備えた遊技設備においても適用することができ
る。
[0514] In the above embodiment, the case where the present invention is applied to a game facility provided with an enclosed ball circulation type pachinko game machine as an example of a game device has been described. However, the present invention is not limited to this. Gaming equipment provided with a gaming device configured to convert valuable data held by a medium into a real ball at each gaming device and supply it to the inside of the gaming device from a supply plate on the front of the gaming device to play the game. In addition, the present invention can be applied to a game facility provided with a game device of any configuration (including a game device other than a pachinko game machine) as long as the game can be played using a storage medium.

【0515】また、上記実施例では遊技用記憶媒体とし
て磁気記憶部を有するカードを使用しているが、情報記
憶部として半導体メモリを有するいわゆるICカードを
使用した遊技設備の遊技用記憶媒体発行装置に適用する
こともできる。さらに、記憶媒体判定手段が判定する情
報は、磁気記憶部のような書換え可能な記憶部に記憶さ
れたものに限定されず、書換不能に記憶されたものであ
っても良い。
In the above embodiment, a card having a magnetic storage section is used as a game storage medium. However, a game storage medium issuing apparatus for a game facility using a so-called IC card having a semiconductor memory as an information storage section. It can also be applied to Further, the information determined by the storage medium determination means is not limited to information stored in a rewritable storage unit such as a magnetic storage unit, and may be information rewritably stored.

【0516】[0516]

【発明の効果】以上説明したようにこの発明は、金銭も
しくは遊技媒体数と実質的に等価な有価データが付与さ
れた記憶媒体の読取装置を有し該読取装置に記憶媒体が
挿入されることに関連して遊技が実行可能な遊技装置に
使用される記憶媒体を発行可能な遊技用記憶媒体発行装
置であって、発行前の記憶媒体を収納する記憶媒体収納
手段と、上記記憶媒体の情報記憶部に記憶されている情
報を読み取り可能な情報読取手段と、上記情報読取手段
により読み取られた情報に基づいて発行される記憶媒体
が有効か否か判定する記憶媒体判定手段と、上記記憶媒
体判定手段により有効でないと判定された記憶媒体を回
収する記憶媒体回収手段と、上記記憶媒体回収手段に回
収された記憶媒体数を確認可能な回収記憶媒体計数表示
手段とを備えてなるので、遊技用記憶媒体発行装置によ
って記憶媒体が発行される前に当該記憶媒体が有効か否
か記憶媒体判定手段によって判定され、有効でないと判
定された記憶媒体は記憶媒体回収手段によって回収され
るため、例えば記憶媒体の情報記憶部に不正確な情報等
が記憶された等の無効記憶媒体が遊技用記憶媒体発行装
置より発行されるのを防止することができ、遊技客と遊
技店との無用なトラブルを回避することができるように
なるとともに、記憶媒体回収手段によって回収された記
憶媒体数を回収記憶媒体計数表示手段によって計数表示
することができ、遊技店においても確実に回収された記
憶媒体数を確認することができる。
As described above, the present invention has a reading device for a storage medium to which valuable data substantially equivalent to money or the number of game media is added, and the storage medium is inserted into the reading device. A game storage medium issuing device capable of issuing a storage medium used in a game device capable of executing a game in relation to a storage medium storing means for storing a storage medium before issuance, and information of the storage medium Information reading means capable of reading information stored in a storage unit, storage medium determining means for determining whether a storage medium issued based on the information read by the information reading means is valid, and the storage medium The storage medium collection means for collecting the storage medium determined to be invalid by the determination means, and the collection storage medium count display means for confirming the number of storage media collected in the storage medium collection means. Therefore, before the storage medium is issued by the game storage medium issuing device, the storage medium is determined by the storage medium determination unit whether the storage medium is valid, and the storage medium determined to be invalid is collected by the storage medium collection unit. Therefore, it is possible to prevent an invalid storage medium such as inaccurate information stored in the information storage unit of the storage medium from being issued from the game storage medium issuing device, and to prevent the player and the game store from communicating with each other. Unnecessary troubles can be avoided, and the number of storage media collected by the storage medium collection means can be counted and displayed by the collection storage medium count display means. The number of media can be checked.

【0517】また、上記記憶媒体の情報記憶部が磁気デ
ータ記憶部であり、上記記憶媒体判定手段は上記情報読
取手段が上記記憶媒体の磁気データ記憶部から読み取っ
た磁気データに基づいて発行する記憶媒体が有効か否か
判定するように構成したので、記憶媒体に情報を記憶さ
せる場合、情報記憶部はコスト等の点からは磁気データ
記憶部とすることが有利であり、かかる磁気データ記憶
部を有する記憶媒体を発行するに際して磁気データを判
定して発行することにより、不正確な磁気データを有す
る無効記憶媒体が発行されるのを確実かつ迅速に防止す
ることができる。
[0517] The information storage unit of the storage medium is a magnetic data storage unit, and the storage medium determination unit issues a storage issued by the information reading unit based on the magnetic data read from the magnetic data storage unit of the storage medium. When the information is stored in the storage medium, the information storage unit is advantageously a magnetic data storage unit in terms of cost and the like. By deciding and issuing magnetic data when publishing a storage medium having the above, it is possible to reliably and promptly prevent an invalid storage medium having incorrect magnetic data from being issued.

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

【図1】本発明が適用されたパチンコ遊技システム全体
の構成を示すシステム構成図である。
FIG. 1 is a system configuration diagram showing an overall configuration of a pachinko gaming system to which the present invention is applied.

【図2】本発明に係るシステムに使用されるカードの一
例を示す正面図および内部構成図である。
FIG. 2 is a front view and an internal configuration diagram showing an example of a card used in the system according to the present invention.

【図3】カード内の真偽識別領域の構成例を示す説明図
及びカードの断面構造の一例を示す断面図である。
FIG. 3 is an explanatory view showing a configuration example of a true / false identification area in the card and a cross-sectional view showing an example of a cross-sectional structure of the card.

【図4】カード内の磁気記録部の構成例を示す説明図で
ある。
FIG. 4 is an explanatory diagram showing a configuration example of a magnetic recording unit in the card.

【図5】遊技システムを構成するパチンコ機全体の構成
例を示す斜視図である。
FIG. 5 is a perspective view showing a configuration example of an entire pachinko machine constituting the gaming system.

【図6】パチンコ機前面の操作パネル部の構成例を示す
断面側面図である。
FIG. 6 is a cross-sectional side view showing a configuration example of an operation panel on the front of the pachinko machine.

【図7】同じく操作パネル部の分解斜視図である。FIG. 7 is an exploded perspective view of the operation panel unit.

【図8】同じく操作パネル部内部の構成を示す斜視図で
ある。
FIG. 8 is a perspective view showing a configuration inside the operation panel unit.

【図9】パチンコ機の裏面の封入球循環装置の構成例を
示す斜視図である。
FIG. 9 is a perspective view showing an example of the configuration of a sealed ball circulation device on the back of a pachinko machine.

【図10】その封入球循環装置をパチンコ機に取り付け
た状態を示す斜視図である。
FIG. 10 is a perspective view showing a state in which the enclosed ball circulation device is attached to a pachinko machine.

【図11】打球発射レール基部の詳細を示す斜視図であ
る。
FIG. 11 is a perspective view showing details of a base of the hit ball firing rail.

【図12】パチンコ機の前面パネルを開いた状態を示す
斜視図である。
FIG. 12 is a perspective view showing a state where a front panel of the pachinko machine is opened.

【図13】遊技盤を保持するフレームとこれに結合され
る発射レールを備えたフレームボードの構成例を示す斜
視図である。
FIG. 13 is a perspective view showing a configuration example of a frame holding a game board and a frame board provided with a firing rail coupled thereto.

【図14】パチンコ機の前面枠の裏面構成を示す斜視図
である。
FIG. 14 is a perspective view showing a rear surface configuration of a front frame of the pachinko machine.

【図15】パチンコ機の裏面の構成例を示す背面斜視図
である。
FIG. 15 is a rear perspective view showing a configuration example of a rear surface of the pachinko machine.

【図16】パチンコ機制御ユニットの構成例を示す斜視
図である。
FIG. 16 is a perspective view showing a configuration example of a pachinko machine control unit.

【図17】同じくその制御ユニツトの内部構成を示す斜
視図である。
FIG. 17 is a perspective view showing the internal structure of the control unit.

【図18】制御ユニットの前面パネルの構成を示す斜視
図である。
FIG. 18 is a perspective view showing a configuration of a front panel of the control unit.

【図19】パチンコ機と制御ユニットの取付位置関係を
示す斜視図である。
FIG. 19 is a perspective view showing a mounting positional relationship between the pachinko machine and the control unit.

【図20】パチンコ機が設置される島設備の骨組みを示
す斜視図である。
FIG. 20 is a perspective view showing a framework of an island facility in which a pachinko machine is installed.

【図21】島設備にパチンコ機と制御ユニットを設置し
た状態を示す斜視図である。
FIG. 21 is a perspective view showing a state where a pachinko machine and a control unit are installed in the island facility.

【図22】島設備の背面を示す斜視図である。FIG. 22 is a perspective view showing a back surface of the island facility.

【図23】パチンコ機全体の制御体系を示すブロック図
である。
FIG. 23 is a block diagram showing a control system of the whole pachinko machine.

【図24】パチンコ機制御装置の回路構成例を示すブロ
ック図である。
FIG. 24 is a block diagram illustrating a circuit configuration example of a pachinko machine control device.

【図25】パチンコ機制御ユニットの回路構成例を示す
ブロック図である。
FIG. 25 is a block diagram illustrating a circuit configuration example of a pachinko machine control unit.

【図26】ユニットメモリのエリア構成を示すメモリマ
ップである。
FIG. 26 is a memory map showing an area configuration of a unit memory.

【図27】パチンコ機のカードリーダの構成例を示す斜
視図である。
FIG. 27 is a perspective view showing a configuration example of a card reader of a pachinko machine.

【図28】そのカードリーダの分解斜視図である。FIG. 28 is an exploded perspective view of the card reader.

【図29】カードリーダのカード挿入部の詳細を示す分
解斜視図である。
FIG. 29 is an exploded perspective view showing details of a card insertion portion of the card reader.

【図30】同じくカードリーダのカード挿入部の詳細を
示す断面側面図である。
FIG. 30 is a cross-sectional side view showing details of a card insertion portion of the card reader.

【図31】カードリーダ入口のシャッタ部分の詳細を示
す断面側面図である。
FIG. 31 is a sectional side view showing details of a shutter portion at the entrance of the card reader.

【図32】カードリーダ内に設けられた各種センサの取
付け位置関係を示す平面説明図である。
FIG. 32 is an explanatory plan view showing a mounting positional relationship of various sensors provided in the card reader.

【図33】カード挿入時のセンサの検出タイミングチャ
ートである。
FIG. 33 is a detection timing chart of a sensor when a card is inserted.

【図34】カードリーダ制御装置の回路構成例を示すブ
ロック図である。
FIG. 34 is a block diagram illustrating a circuit configuration example of a card reader control device.

【図35】カードリーダのインタフェース回路を示すブ
ロック図である。
FIG. 35 is a block diagram showing an interface circuit of the card reader.

【図36】カードリーダのデータ読込み、書込みタイミ
ングを示すタイミングチャートである。
FIG. 36 is a timing chart showing data reading and writing timings of the card reader.

【図37】本発明に係る遊技システムに使用されるカー
ド発行機の構成例を示す斜視図である。
FIG. 37 is a perspective view showing a configuration example of a card issuing machine used in the gaming system according to the present invention.

【図38】発行機の前面パネルを開いた状態を示す斜視
図である。
FIG. 38 is a perspective view showing a state where a front panel of the issuing machine is opened.

【図39】発行機に設けられたカード発行装置の斜視図
である。
FIG. 39 is a perspective view of a card issuing device provided in the issuing machine.

【図40】同じくカード発行装置の概略構成図である。FIG. 40 is a schematic configuration diagram of the card issuing device.

【図41】カード発行装置を構成するカード取出装置の
構成を示す斜視図である。
FIG. 41 is a perspective view showing the configuration of a card ejection device that constitutes the card issuing device.

【図42】同じくカード発行装置を構成するカード導出
装置の構成を示す斜視図である。
FIG. 42 is a perspective view showing a configuration of a card deriving device that similarly configures the card issuing device.

【図43】カード発行機の制御装置の構成例を示すブロ
ック図である。
FIG. 43 is a block diagram illustrating a configuration example of a control device of the card issuing machine.

【図44】カード発行機のユニット制御装置の構成例を
示すブロック図である。
FIG. 44 is a block diagram illustrating a configuration example of a unit control device of a card issuing machine.

【図45】精算機の構成例を示す斜視図である。FIG. 45 is a perspective view showing a configuration example of a checkout machine.

【図46】精算機の上面パネルおよび前面パネルを開い
た状態を示す斜視図である。
FIG. 46 is a perspective view showing a state where a top panel and a front panel of the checkout machine are opened.

【図47】精算機を構成するカード精算装置の構成例を
示す斜視図である。
FIG. 47 is a perspective view showing a configuration example of a card payment device constituting a payment device.

【図48】精算機の制御装置の構成例を示すブロック図
である。
FIG. 48 is a block diagram illustrating a configuration example of a control device of a checkout machine.

【図49】管理装置全体の構成例を示す斜視図である。FIG. 49 is a perspective view illustrating a configuration example of an entire management device.

【図50】管理装置自身のシステム構成例を示すブロッ
ク図である。
FIG. 50 is a block diagram illustrating an example of a system configuration of the management apparatus.

【図51】管理装置のコンソールの構成例を示す平面図
および背面図である。
FIG. 51 is a plan view and a rear view showing a configuration example of a console of the management device.

【図52】本発明の遊技システム内でのカードの状態遷
移を示す説明図である。
FIG. 52 is an explanatory diagram showing a state transition of a card in the gaming system of the present invention.

【図53】本発明の遊技システムにおける伝送系の構成
例を示すブロック図である。
FIG. 53 is a block diagram illustrating a configuration example of a transmission system in the gaming system of the present invention.

【図54】ネットワーク上でのデータ転送制御を行うN
AU(ネットワークアダプタユニット)の構成例を示す
ブロック図である。
FIG. 54: N for performing data transfer control on the network
FIG. 3 is a block diagram illustrating a configuration example of an AU (network adapter unit).

【図55】“回線テスト”パケットの構成図である。FIG. 55 is a configuration diagram of a “line test” packet.

【図56】“初期値設定”パケットの構成図である。FIG. 56 is a configuration diagram of an “initial value setting” packet.

【図57】管理装置からカード発行機に指示を与えるた
めのパケットの構成図である。
FIG. 57 is a configuration diagram of a packet for giving an instruction from the management device to the card issuing machine.

【図58】“カード購入”パケットとその応答“AC
K”パケットの構成図である。
FIG. 58: “Card purchase” packet and response “AC”
It is a block diagram of a K "packet.

【図59】“定時データ送信”パケットの構成図であ
る。
FIG. 59 is a configuration diagram of a “scheduled data transmission” packet.

【図60】“ユニット復旧データ”パケットとその応答
“ACK”パケットの構成図である。
FIG. 60 is a configuration diagram of a “unit recovery data” packet and a response “ACK” packet thereof;

【図61】NAUにおけるパケット送受信制御の手順を
示すフローチャートである。
FIG. 61 is a flowchart showing a procedure of packet transmission / reception control in NAU.

【図62】同じくNAUにおけるパケット送受信制御の
手順を示すフローチャートである。
FIG. 62 is a flowchart showing the procedure of packet transmission / reception control in the NAU.

【図63】同じくNAUにおけるパケット送受信制御の
手順を示すフローチャートである。
FIG. 63 is a flowchart showing a procedure of packet transmission / reception control in the NAU.

【図64】同じくNAUにおけるパケット送受信制御の
手順を示すフローチャートである。
FIG. 64 is a flowchart showing the procedure of packet transmission / reception control in the NAU.

【図65】カード発行機のユニットコントローラにおけ
るメイン処理の制御手順を示すフローチャートである。
FIG. 65 is a flowchart showing a control procedure of main processing in a unit controller of the card issuing machine.

【図66】図65のフロー中におけるパケット受信処理
の具体的手順の一例を示すフローチャートである。
FIG. 66 is a flowchart illustrating an example of a specific procedure of a packet reception process in the flow of FIG. 65;

【図67】図65のフロー中におけるカード番号予約処
理の具体的手順を示すフローチャートである。
FIG. 67 is a flowchart showing a specific procedure of a card number reservation process in the flow of FIG. 65.

【図68】図65のフロー中におけるカード購入処理の
具体的手順を示すフローチャートである。
FIG. 68 is a flowchart showing a specific procedure of card purchase processing in the flow of FIG. 65.

【図69】図66のフローにおける“初期値設定”パケ
ット受信時の処理手順を示すフローチャートである。
FIG. 69 is a flowchart showing a processing procedure when receiving an “initial value setting” packet in the flow of FIG. 66.

【図70】図66のフローにおける“ユニット復旧デー
タ”パケット受信時の処理手順を示すフローチャートで
ある。
70 is a flowchart showing a processing procedure at the time of receiving a “unit recovery data” packet in the flow of FIG. 66.

【図71】図66のフローにおける“強制終了解除”パ
ケット受信時の処理手順を示すフローチャートである。
FIG. 71 is a flowchart showing a processing procedure when a “forced termination release” packet is received in the flow of FIG. 66.

【図72】図66のフローにおける“強制終了”パケッ
ト受信時の処理手順を示すフローチャートである。
FIG. 72 is a flowchart showing a processing procedure when a “forced end” packet is received in the flow of FIG. 66.

【図73】発行機のユニットコントローラにおいてメイ
ン処理とは別個に、タイマ割込みによって実行される割
込み処理の内容を示すフローチャートである。
FIG. 73 is a flowchart showing the contents of an interrupt process executed by a timer interrupt separately from the main process in the unit controller of the issuing machine.

【図74】カード発行制御装置による制御の手順を示す
フローチャートである。
FIG. 74 is a flowchart showing a control procedure by the card issuance control device.

【図75】図74のフローにおいて「カード発行」ファ
ンクションを受信したときの具体的制御手順を示すフロ
ーチャートである。
75 is a flowchart showing a specific control procedure when a “card issuance” function is received in the flow of FIG. 74.

【図76】図75のフロー中におけるカード排出処理の
具体的手順を示すフローチャートである。
76 is a flowchart showing a specific procedure of card ejection processing in the flow of FIG. 75.

【図77】図75のフロー中におけるリーダ制御処理の
具体的手順を示すフローチャートである。
FIG. 77 is a flowchart showing a specific procedure of reader control processing in the flow of FIG. 75;

【図78】図75のフロー中におけるカード反転処理の
具体的手順を示すフローチャートである。
78 is a flowchart showing a specific procedure of a card reversal process in the flow of FIG. 75.

【図79】図75のフロー中における印字および印字2
処理の具体的手順を示すフローチャートである。
FIG. 79 shows printing and printing 2 in the flow of FIG. 75.
It is a flowchart which shows the specific procedure of a process.

【図80】図75のフロー中におけるカード排出処理の
具体的手順を示すフローチャートである。
FIG. 80 is a flowchart showing a specific procedure of card ejection processing in the flow of FIG. 75.

【図81】図75のフロー中におけるスタック処理の具
体的手順を示すフローチャートである。
FIG. 81 is a flowchart showing a specific procedure of stack processing in the flow of FIG. 75;

【図82】図76〜図81の各処理フロー中においてエ
ラーが発生したときに実行されるエラー処理の具体的手
順を示すフローチャートである。
FIG. 82 is a flowchart showing a specific procedure of error processing executed when an error occurs in each processing flow of FIGS. 76 to 81;

【図83】発行機と精算機内のカードリーダ制御装置に
共通の制御手順を示すフローチャートである。
FIG. 83 is a flowchart showing a control procedure common to the issuing machine and the card reader control device in the checkout machine.

【図84】「磁気読込み」コマンド受信時のカードリー
ダ制御装置の具体的制御手順を示すフローチャートであ
る。
FIG. 84 is a flowchart showing a specific control procedure of the card reader control device at the time of receiving the “magnetic read” command.

【図85】「リロード」コマンド受信時のカードリーダ
制御装置の具体的制御手順を示すフローチャートであ
る。
FIG. 85 is a flowchart showing a specific control procedure of the card reader control device when a “reload” command is received.

【図86】「磁気書込み」コマンド受信時のカードリー
ダ制御装置の具体的制御手順を示すフローチャートであ
る。
FIG. 86 is a flowchart showing a specific control procedure of the card reader control device at the time of receiving a “magnetic write” command.

【図87】「ステータス要求」コマンド受信時のカード
リーダ制御装置の具体的制御手順を示すフローチャート
である。
FIG. 87 is a flowchart showing a specific control procedure of the card reader control device at the time of receiving a “status request” command.

【図88】「パンチ穴要求」コマンド受信時のカードリ
ーダ制御装置の具体的制御手順を示すフローチャートで
ある。
FIG. 88 is a flowchart showing a specific control procedure of the card reader control device at the time of receiving a “punch hole request” command.

【図89】「セキュリティ要求」コマンド受信時のカー
ドリーダ制御装置の具体的制御手順を示すフローチャー
トである。
FIG. 89 is a flowchart showing a specific control procedure of the card reader control device when a “security request” command is received.

【図90】「パンチ穴開け」コマンド受信時のカードリ
ーダ制御装置の具体的制御手順を示すフローチャートで
ある。
FIG. 90 is a flowchart showing a specific control procedure of the card reader control device when a “punch hole” command is received.

【図91】「カード後方排出」コマンド受信時のカード
リーダ制御装置の具体的制御手順を示すフローチャート
である。
FIG. 91 is a flowchart showing a specific control procedure of the card reader control device at the time of receiving a “card rear ejection” command.

【図92】「カード前方排出」コマンド受信時のカード
リーダ制御装置の具体的制御手順を示すフローチャート
である。
FIG. 92 is a flowchart showing a specific control procedure of the card reader control device at the time of receiving a “card forward ejection” command.

【図93】図84のフロー中におけるカード読取り処理
の具体的手順を示すフローチャートである。
93 is a flowchart showing a specific procedure of a card reading process in the flow of FIG. 84.

【図94】図84のフロー中におけるパリティ、LRC
検査処理の具体的手順を示すフローチャートである。
94. Parity and LRC in the flow of FIG. 84.
It is a flowchart which shows the specific procedure of an inspection process.

【図95】図85のフロー中における磁気処理の具体的
手順を示すフローチャートである。
FIG. 95 is a flowchart showing a specific procedure of magnetic processing in the flow of FIG. 85;

【図96】図86のフロー中における書込み処理の具体
的手順を示すフローチャートである。
FIG. 96 is a flowchart showing a specific procedure of a writing process in the flow of FIG. 86;

【図97】図86のフロー中におけるベリファイ処理の
具体的手順を示すフローチャートである。
FIG. 97 is a flowchart showing a specific procedure of a verify process in the flow of FIG. 86;

【図98】図95と図97のフロー中における1ビット
読込処理の手順を示すフローチャートである。
FIG. 98 is a flowchart showing the procedure of a 1-bit reading process in the flows of FIGS. 95 and 97.

【図99】図90のフロー中における穴開け処理の具体
的な手順を示すフローチャートである。
FIG. 99 is a flowchart showing a specific procedure of a punching process in the flow of FIG. 90;

【図100】図84〜図92の制御フロー中等における
送信処理の具体的手順を示すフローチャートである。
FIG. 100 is a flowchart showing a specific procedure of transmission processing during the control flows of FIGS. 84 to 92 and the like.

【図101】図84〜図92の制御フローにおいてエラ
ーが発生したときのエラー処理の具体的手順を示すフロ
ーチャートである。
FIG. 101 is a flowchart showing a specific procedure of error processing when an error occurs in the control flows of FIGS. 84 to 92.

【図102】カードリーダコントローラにおける磁気読
出しのタイマ割込み処理手順を示すフローチャートであ
る。
FIG. 102 is a flowchart showing a magnetic reading timer interrupt processing procedure in the card reader controller.

【図103】同じくカードリーダコントローラにおける
磁気読出しのタイマ割込み処理手順を示すフローチャー
トである。
FIG. 103 is a flowchart showing a magnetic read timer interrupt processing procedure in the card reader controller.

【図104】カードリーダ制御装置における磁気書込み
時の書込割込み処理の手順を示すフローチャートであ
る。
FIG. 104 is a flowchart showing a procedure of a write interrupt process at the time of magnetic writing in the card reader control device.

【符号の説明】[Explanation of symbols]

100 パチンコ機 110 操作パネル 113 購入スイッチ 114 中断スイッチ 115 終了スイッチ 130 球循環装置 160 制御ユニット 180 ユニット制御装置 188 カードリーダ制御装置 195 パチンコ機制御装置 190 ユニットコントローラ 200 カード発行機 700 カード発行装置 710 カード取出装置 740 カード反転装置 750 印字装置 770 カード導出装置 300 精算機 400 管理装置 550 ユニットメモリ 551 データ伝送コントローラ 553 ネットワークコントローラ 800 カードリーダ 802 カード挿排口 807 搬送モータ 809 シャッタソレノイド 820 パンチ装置 821 磁気ヘッド 100 Pachinko machine 110 Operation panel 113 Purchase switch 114 Interruption switch 115 Exit switch 130 Ball circulation device 160 Control unit 180 Unit control device 188 Card reader control device 195 Pachinko machine control device 190 Unit controller 200 Card issuer 700 Card issuing device 710 Card removal Device 740 Card reversing device 750 Printing device 770 Card deriving device 300 Payment device 400 Management device 550 Unit memory 551 Data transmission controller 553 Network controller 800 Card reader 802 Card insertion / ejection port 807 Transport motor 809 Shutter solenoid 820 Punch device 821 Magnetic head

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 金銭もしくは遊技媒体数と実質的に等価
な有価データが付与された記憶媒体の読取装置を有し該
読取装置に記憶媒体が挿入されることに関連して遊技が
実行可能な遊技装置に使用される記憶媒体を発行可能な
遊技用記憶媒体発行装置であって、 発行前の記憶媒体を収納する記憶媒体収納手段と、 上記記憶媒体の情報記憶部に記憶されている情報を読み
取り可能な情報読取手段と、 上記情報読取手段により読み取られた情報に基づいて発
行される記憶媒体が有効か否か判定する記憶媒体判定手
段と、 上記記憶媒体判定手段により有効でないと判定された記
憶媒体を回収する記憶媒体回収手段と、 上記記憶媒体回収手段に回収された記憶媒体数を確認可
能な回収記憶媒体計数表示手段とを備えてなることを特
徴とする遊技用記憶媒体発行装置。
Claims 1. A reading device for a storage medium to which valuable data substantially equivalent to money or the number of game media is added, and a game can be executed in connection with the insertion of the storage medium into the reading device. A game storage medium issuing device capable of issuing a storage medium used in a game device, comprising: storage medium storage means for storing a storage medium before issuance; and information stored in an information storage unit of the storage medium. Readable information reading means, storage medium determining means for determining whether a storage medium issued based on the information read by the information reading means is valid, and the storage medium determining means has determined that the storage medium is not valid. A storage device for a game, comprising: a storage medium collecting means for collecting a storage medium; and a collected storage medium count display means for confirming the number of storage media collected in the storage medium collecting means. Body issuing device.
【請求項2】 上記記憶媒体の情報記憶部は磁気データ
記憶部であり、上記記憶媒体判定手段は上記情報読取手
段が上記記憶媒体の磁気データ記憶部から読み取った磁
気データに基づいて発行する記憶媒体が有効か否か判定
することを特徴とする請求項1に記載の遊技用記憶媒体
発行装置。
2. The information storage unit of the storage medium is a magnetic data storage unit, and the storage medium determination unit issues a storage issued by the information reading unit based on magnetic data read from the magnetic data storage unit of the storage medium. 2. The game storage medium issuing device according to claim 1, wherein it is determined whether the medium is valid.
JP27365295A 1995-09-27 1995-09-27 Game storage medium issuing device Expired - Fee Related JP2724556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27365295A JP2724556B2 (en) 1995-09-27 1995-09-27 Game storage medium issuing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27365295A JP2724556B2 (en) 1995-09-27 1995-09-27 Game storage medium issuing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP31702590A Division JP2700504B2 (en) 1990-11-21 1990-11-21 Storage medium issuing device in a game arcade

Publications (2)

Publication Number Publication Date
JPH08112431A JPH08112431A (en) 1996-05-07
JP2724556B2 true JP2724556B2 (en) 1998-03-09

Family

ID=17530676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27365295A Expired - Fee Related JP2724556B2 (en) 1995-09-27 1995-09-27 Game storage medium issuing device

Country Status (1)

Country Link
JP (1) JP2724556B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5152956B2 (en) * 2007-02-28 2013-02-27 株式会社ユニバーサルエンターテインメント Game media processing device
JP6302278B2 (en) * 2014-02-21 2018-03-28 ダイコク電機株式会社 Amusement system

Also Published As

Publication number Publication date
JPH08112431A (en) 1996-05-07

Similar Documents

Publication Publication Date Title
JP2724556B2 (en) Game storage medium issuing device
JP2724557B2 (en) Game storage medium issuing device
JP2709417B2 (en) Game storage medium issuing device
JP2724558B2 (en) Storage medium issuing device in a game arcade
JP2728649B2 (en) Game storage medium issuing device
JP2779607B2 (en) Amusement store equipment
JP2700504B2 (en) Storage medium issuing device in a game arcade
JP2767007B2 (en) Storage medium issuing device
JP2767006B2 (en) Amusement store equipment
JP2709418B2 (en) Storage media payment device
JP2784956B2 (en) Amusement store equipment
JP2767008B2 (en) Gaming equipment
JP2784958B2 (en) Game equipment
JPH03247377A (en) Control system for game machine
JP2688720B2 (en) Amusement equipment
JP2663207B2 (en) Game equipment
JP2663203B2 (en) Storage media type game equipment
JP2767030B2 (en) Gaming equipment
JPH03236876A (en) Playing system using card
JP2663209B2 (en) Gaming equipment management equipment
JP2663208B2 (en) Game equipment
JP2663204B2 (en) Game equipment
JP2784957B2 (en) Amusement store equipment
JPH03242184A (en) Card collecting machine
JPH03242175A (en) Managing device for card type game system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees