JPH08112432A - Game storage medium issuing device - Google Patents

Game storage medium issuing device

Info

Publication number
JPH08112432A
JPH08112432A JP27365495A JP27365495A JPH08112432A JP H08112432 A JPH08112432 A JP H08112432A JP 27365495 A JP27365495 A JP 27365495A JP 27365495 A JP27365495 A JP 27365495A JP H08112432 A JPH08112432 A JP H08112432A
Authority
JP
Japan
Prior art keywords
card
data
routine
issuing
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP27365495A
Other languages
Japanese (ja)
Other versions
JP2724558B2 (en
Inventor
Kichihei Niiyama
吉平 新山
Koji Ito
広司 伊東
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.)
Sophia Co Ltd
Original Assignee
Sophia Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sophia Co Ltd filed Critical Sophia Co Ltd
Priority to JP27365495A priority Critical patent/JP2724558B2/en
Publication of JPH08112432A publication Critical patent/JPH08112432A/en
Application granted granted Critical
Publication of JP2724558B2 publication Critical patent/JP2724558B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

PURPOSE: To provide excellent operability and easily find the state of a device from the outside by providing an issuability displaying means of storage medium, a bill insert hole, a bill judging means, an input sum display means, a purchase selecting means for designating a purchase sum, and a storage medium issuing hole. CONSTITUTION: A card issuing machine 200 is formed of an issuing lamp 22 showing card issuability, a bill identifying device for identifying a bill, various indicators 221-225, and a unit control device for controlling the whole issuing machine and performing a data communication with a management device. In conformation to the bill identifying device, a bill insert hole 211, a purchase selecting switch group 212 and a sum indicator 213 are provided on an openable and closable front panel 201. When the bill is inputted from the bill insert hole 211, the input sum is displayed on the sum indicator 213, and a switch corresponding to a required sum of the purchase selecting switch group 212 is pushed, whereby a card corresponding to the required purchase sum is issued from a card issuing hole 202.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

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

【0002】[0002]

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

【0003】[0003]

【発明が解決しようとする課題】上記カード式遊技シス
テムにおける遊技用カードは、遊技客がカード発行装置
に金銭を投入することによりカードが発行されるように
なっている。ところで、かかる遊技用カードを発行する
場合、遊技者にとっては金額の異なる複数のカードの中
から自己の希望する金額のカードを購入することができ
るようになっていると便利である。ただし、カード発行
機にそのような機能を持たせると、カードの発行の際に
遊技客が行なうべき操作が複雑となるおそれがある。
The gaming cards in the above card type gaming system are issued when a player puts money into the card issuing device. By the way, when issuing such a game card, it is convenient for the player to be able to purchase the card of the desired amount from a plurality of cards having different amounts of money. However, if the card issuing machine is provided with such a function, the operation that the player should perform when issuing the card may be complicated.

【0004】この発明は、上記のような背景の下になさ
れたもので、その目的とするところは、金額の異なる複
数の記憶媒体の中から遊技者の希望する金額の記憶媒体
を購入することができるような記憶媒体発行装置を提供
することにある。
The present invention has been made under the background as described above, and its purpose is to purchase a storage medium of a desired amount from a plurality of storage media having different amounts of money. A storage medium issuing device is provided.

【0005】この発明の他の目的は、極めて操作性に優
れているとともに装置がどのような状態になっているか
外部から容易に分かるような記憶媒体発行装置を提供す
ることにある。
Another object of the present invention is to provide a storage medium issuing device that is extremely excellent in operability and allows the user to easily see from outside what state the device is in.

【0006】[0006]

【課題を解決するための手段】この発明は、上記目的を
達成するため、金銭もしくは遊技価値と実質的に等価な
有価データが付与され遊技に使用される記憶媒体を発行
可能な遊技用記憶媒体発行装置において、記憶媒体を発
行可能な状態にあることを可視表示する発行可能表示手
段と、紙幣を投入可能な紙幣挿入口と、投入された紙幣
の金額を判別する紙幣判別手段と、該紙幣判別手段によ
り読み取られた金額を表示する投入金額表示手段と、発
行される記憶媒体の購入金額を指定する複数の購入選択
操作手段と、該購入選択操作手段により指定された金額
に相当する有価データを有する記憶媒体を排出する記憶
媒体発行口とを設けるようにしたものである。
In order to achieve the above-mentioned object, the present invention is a storage medium for games in which valuable data that is substantially equivalent to money or a game value is added and a storage medium used for a game can be issued. In the issuing device, an issuable display means for visually displaying that the storage medium is ready to be issued, a bill insertion slot into which a bill can be inserted, a bill discriminating means for discriminating the amount of the inserted bill, and the bill. Insertion amount display means for displaying the amount of money read by the discriminating means, a plurality of purchase selection operation means for specifying the purchase amount of the storage medium to be issued, and valuable data corresponding to the amount specified by the purchase selection operation means. And a storage medium issuing port for ejecting the storage medium having the above.

【0007】また、上記購入選択操作手段にはそれぞれ
内部に表示手段を設け、これらの表示手段は上記投入金
額に対応して点灯されるように構成する。
Further, each of the purchase selection operation means is provided with a display means therein, and these display means are configured to be turned on in accordance with the amount of money to be inserted.

【0008】さらに、上記投入金額表示手段に表示され
た金額と上記購入選択操作手段により指定された金額と
の差に対応した残金を排出する残金払出手段を設ける。
Further, there is provided balance payment means for discharging the balance corresponding to the difference between the amount displayed on the input amount display means and the amount designated by the purchase selection operation means.

【0009】上記記憶媒体発行口を一つにし、当該発行
口から保有する有価データの異なる記憶媒体を排出可能
に構成する。
The storage medium issuing port is unified so that the storage mediums having different valuable data can be ejected from the issuing port.

【0010】[0010]

【作用】上記した手段によれば、金額の異なる複数のカ
ードの中から遊技者の希望する金額の記憶媒体を購入す
ることができるようになる。
According to the above-mentioned means, it is possible to purchase a storage medium of a desired amount of money from a plurality of cards having different amounts of money.

【0011】また、発行可能表示手段を備え、また購入
選択操作手段内に表示手段が設けられることにより、極
めて操作性に優れるとともに装置がどのような状態にな
っているか外部から容易に視認できるようになる。
Further, by providing the issuable display means and the display means provided in the purchase selection operation means, the operability is excellent and the state of the apparatus can be easily visually recognized from the outside. become.

【0012】さらに、残金払出手段を設けることによ
り、額面の大きな紙幣を使用することができるようにな
り、遊技客による記憶媒体購入の際の便宜性を向上させ
ることができる。
Further, by providing the balance payout means, it becomes possible to use a bill having a large denomination, and it is possible to improve the convenience when the player purchases the storage medium.

【0013】また、記憶媒体発行口を一つにし、保有す
る有価データの異なる記憶媒体を排出可能に構成するこ
とにより、装置全体の小型化を図ることができる。
Further, by making the storage medium issuing port one and making it possible to eject the storage mediums having different valuable data, it is possible to reduce the size of the entire apparatus.

【0014】[0014]

【実施例】図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.

【0015】この実施例のパチンコ遊技システムは、記
憶媒体式遊技装置としてのパチンコ機100と、各パチ
ンコ機における遊技を開始させるためローカルな有価価
値を有する記憶媒体としてのカードCDを発行する記憶
媒体発行装置としての発行機200と、遊技の結果得ら
れた賞品球および遊技に使用せずに残った購入金を精算
するための記憶媒体精算装置としての精算機300と、
上記各種端末機を集中的に管理し、制御する管理装置4
00と、この管理装置400と各端末機を有機的に結合
する伝送手段としての0とからなり、これらによって、
有機的結合体が構成される。
The pachinko gaming system of this embodiment includes a pachinko machine 100 as a storage medium type gaming device, and a storage medium for issuing a card CD as a storage medium having a local valuable value for starting a game in each pachinko machine. An issuing machine 200 as an issuing device, a prize ball obtained as a result of a game, and a payment machine 300 as a storage medium payment device for paying the remaining purchase money not used for the game,
Management device 4 for centrally managing and controlling the above-mentioned various terminals
00 and 0 as a transmission means for organically coupling the management device 400 and each terminal, and by these,
An organic conjugate is constructed.

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

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

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

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

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

【0021】一方、カードの中央よりやや下方の位置に
は、前端から中央付近まで帯状の磁性材が塗布された磁
気記録部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 portion MG coated with a belt-shaped magnetic material from the front end to the vicinity of the center (see FIG. 2B).
However, the magnetic recording portion MG is not limited to a part of the card in the longitudinal direction, and may be a continuous strip shape like the print display portion PRT, or a magnetic material may be applied to the entire back surface of the card. It may be used as a magnetic recording unit.

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

【0023】また、この実施例のカードでは、磁気記録
部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, an authenticity discrimination area TF consisting of a security mark hidden in characters such as a hole name printed on the surface of the card is provided below the magnetic recording portion MG. That is, the characters "PLAZA" printed on the surface of the card are changed to detection bit patterns B0 to B9 in which the legs of each character are provided at a pitch of 3.5 mm as shown in FIG. 3C. Design and print so that it will be in the corresponding position. 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 expressed by the shade of the character. Moreover, of the 10 bits, the fifth bit B4 from the left and the last bit B9 are bits B0 to B3.
And the lightness and darkness of the character are determined so as to represent the parity of B5 to B8. The security bit hidden in the character string is more preferably formed using a special ink that can be detected only by the sensor and cannot be distinguished by human eyes.

【0024】さらに、この実施例の遊技カードの表面に
は、磁気記録部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 strip-shaped area continuous to the magnetic recording portion MG. The At the same time, in the card of the embodiment, in order not to know where the magnetic recording portion MG is provided, as shown in FIG. 3D, the magnetic material is formed on the base material 11 made of plastic such as polyester. A white layer 13 is formed on a magnetic layer 12 formed by uniformly applying particles, and a pattern printing layer 14 is further placed on the white layer 13, and then a part of the white layer 13 (printing display portion PR
A thermosensitive coloring layer 15 is formed on a portion (corresponding to T), and a transparent protective film 16 is coated on the thermosensitive coloring layer 15. In addition,
A cleaning agent of the same color as the white layer 13 is applied to the cleaning area HCN, and the surface thereof is exposed without being covered with the protective film 16 so that the cleaning area is almost the same in color as other areas. To improve the aesthetics. Also, the base material 11 of the card
A pattern printing layer 17 is formed on the back surface of the
It is designed to be coated with 8.

【0025】磁気層12の表面にホワイト層13が形成
されている上記のような構造のカードにあっては、黒色
の磁性粒子からなる磁気層12が白色のホワイト層13
で覆われているため、絵柄を印刷してファッション性の
豊かなカードを提供することが可能になるとともに、磁
気記録部MGを隠匿する機能も有している。
In the card having the above-mentioned 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 the white white layer 13.
Since it is covered with, it becomes possible to print a design to provide a card with rich fashionability, and also has a function of concealing the magnetic recording portion MG.

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

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

【0028】この実施例のカードの磁気記録部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 2
It consists of two tracks, of which the first track T
Clock data that gives a sampling timing is recorded in RC1. The second track TRC2 is, in order from the left, a 4-bit start code and a field STX in which its parity bit is entered, a company code MKC indicating the manufacturer of the card reader and a device code MCC indicating the model of the card reader,
Amusement store identification code DSC, date data DATE, card number No, issue command code FNC given from a card reader when issuing a card, text field TXT containing security data SDC read from the authenticity discrimination area, text end code Field ET
X, a field LRC in which the value (detection code) of the exclusive OR of the text data and the end code is entered, and a field STX in which the start code is entered. Moreover, the date data DATE is provided with the bit P indicating each parity for every 4 bits, and the first 4
"Month" in bits, "day" in 6th to 9th and 11th bits, and 12th to 14th and 16th bits
~ The 19th bit is used to record the last two digits of the Christian era by binary coding.

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

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

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

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

【0033】しかも、上記実施例ではカードに記録され
た磁気記録情報のみならず偽造が困難な真偽鑑別領域T
Fによってもカードの真偽を鑑定するようにしているの
で、カードの不正をより確実に防止することができる。
また、真偽鑑別領域TFのチェックにより不正カードを
直ちに検出できるので、磁気情報を管理装置400に送
って不正カードの判定を行うよりもすばやく不正カード
を発見することができる。なお、磁気記録部を有するテ
レホンカード等においても穿孔が形成されるようになっ
ているが、従来のカードの穿孔は未使用残額を使用者に
知らせるために設けられるものであり、カードリーダが
穿孔を検出して何らかの処理もしくは判定に利用するた
めのものではない。
Moreover, in the above embodiment, not only the magnetically recorded 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 verified by F, the fraud of the card can be more reliably prevented.
Further, since the unauthorized card can be immediately detected by checking the authenticity discrimination area TF, the unauthorized card can be found more quickly than the magnetic information is sent to the management device 400 to determine 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.

【0034】次に、本来の遊技を提供する遊技機の構成
例について図5〜図15を用いて説明する。
Next, an example of the structure of a game machine that provides the original game will be described with reference to FIGS.

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

【0036】パチンコ機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 openably and closably mounted by a hinge 102 in a machine frame 101 fixed to an island facility of a pachinko parlor. A reinforcing plate 107 having an operation dial reinforcing member 107a that bears the weight of the pachinko machine 100 and absorbs the vibration of the ball striking device 103 is fixed to the lower part of the machine frame 101. At the bottom of the pachinko machine 100, there is provided a batting ball launching device 103 for launching enclosed balls one by one into the game area and an operation dial 104 thereof,
In addition, above the operation dial 104, the amount display 111, the number of balls display 112, the purchase switch 113, the interruption switch 114, the end switch 115, and the game state for enabling the procedure for starting the game using the card. An operation panel 110 including a display device 116 and the like is provided.
The structure of the game area on the front of the pachinko machine is the same as 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 money of the card on the assumption that the card is inserted into the card reader 800 built in the control unit 160. , The converted game balls are the number of balls. The remaining amount of the card is 1
The amount of coins converted is displayed on the amount display unit 111 at a frequency of 00 yen as one unit, and the converted number of balls held is displayed on the number-of-balls display unit 112. When the number of balls is subtracted by one and a winning ball is generated, the number of prize balls is added and displayed. End switch 115
When the player wants to end the game (including the case where he / she wants to change the game table), he / she can turn this on at any time to eject the card in use from the control unit 160. At that time, the unit controller 190
At that time, after registering the remaining amount of money and the number of balls (sum of purchased balls and won balls) of the player in the file of the management device 400, the card is ejected from the insertion / ejection slot 802a of the card reader 800. In addition, the interruption switch 114 is a switch used by the player to temporarily interrupt the game for a break, although the player does not intend to stop the game on the gaming machine currently playing the game.
When this switch is operated, the unit controller 1
The card 90 is in a standby state until the card is once ejected and the same card is inserted again, during which no other card is accepted. Of the above switches, the purchase switch 113 has a built-in lamp, and the lamp in the purchase switch 113 blinks when the number of balls held reaches “0”.

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

【0038】この表示プレート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, 112 correspond to the transparent window 117a, and the switches 113 to 115 correspond to the opening 1.
17b (see FIG. 7). An operation button 118 is attached to the inside of the opening 117b so as to cover the above switches 113 to 115. 121
Is a built-in lamp corresponding to the purchase switch 113.

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

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

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

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

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

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

【0045】そして、上記案内樋133の下端部に、対
向して、球一つ分の収納部135aを有し、案内樋13
3上の球を一個ずつ分離して下方へ流下せしめる球送り
135が揺動可能に取付けられている。球送り135の
後方にはストッパ136が固設され、球送り135の必
要以上の回動を阻止して球送り135が流入した球の重
みで下方へ回動したときにその上辺端面が案内樋133
上の球の流下を阻止できるようになっている。さらに、
案内樋133の途中には回動自在な球ならし137が取
り付けられているとともに、下流にはスライド式の球抜
き機構138が設けられている。
The lower end of the guide gutter 133 is provided with an accommodating portion 135a for one ball, which faces the lower end of the guide gutter 133.
A ball feed 135 that separates the spheres 3 on a one-by-one basis and allows them to flow downward is swingably attached. A stopper 136 is fixedly provided at the rear of the ball feed 135 and prevents the ball feed 135 from rotating more than necessary, and when the ball feed 135 rotates downward due to the weight of the inflowing ball, its upper end face is a guide gutter. 133
The flow of the ball above can be blocked. further,
A rotatable ball leveling 137 is attached in the middle of the guide trough 133, and a slide type ball removing mechanism 138 is provided downstream.

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

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

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

【0049】なお、フレームボード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 with which the frame 106 for holding the game board can be engaged is formed, and as shown in FIG. Frame 106 from above
Are lowered along the positioning protrusion 145 and the lower end is engaged with the groove of the frame engaging portion 146 so that the both can be coupled. Frame 1 above
Locking tool 10 for detachably engaging the game board on the side wall of 06
Four 6a are provided, and the fastener 147 is tightened and fixed while the game board held by the frame 106 is placed on the placing portion 109a of the frame board 109. It should be noted that a speaker 15 for generating a sound effect related to the game is provided on one side of the front surface of the frame board 109 (on the left side in FIG. 11).
0 is attached.

【0050】一方、フレームボード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.
It is attached to the lower part of the opening framed by the inner holding frame 108c so as to be openable and closable with one end (left end) as a fulcrum, and the firing rail frame 151 positioned above the firing rail 140 is fixed to the back side thereof in correspondence with the firing rail 140. In the middle of the launch rail frame 151, a notch 151a is provided to allow the launch sensor SNS5 to face the inside of the frame. A lock lever 152 is provided on the rear surface of the end 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 attached so that it can be opened and closed. On the other hand, as shown in FIG. 14, a locking tool 156 for locking the front surface to the machine frame 101 and a locking device 157 thereof are attached to one side of the rear surface of the front frame 108 opposite to the hinge portion 102. Has been done. Further, 155 is an opening lever of the glass frame 154.

【0051】この前面枠108の裏面に、遊技盤を保持
したフレーム106(図13参照)とフレームボード1
09を、前面枠裏面の嵌合受部108bにフレーム裏面
の嵌合突起106b、フレームボード裏面の嵌合突起1
09bを一致させるようにして接合させ、ネジ止めする
ことにより前面枠108と遊技盤を保持したフレーム1
06とフレームボード109とが一体化される。
On the back surface of the front frame 108, 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 surface of the front frame, the fitting projection 106b on the back surface of the frame, and the fitting projection 1 on the back surface 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.

【0052】図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 rear surface of the front frame 108 in this way, and the winning ball collecting gutter 131 is further provided on the rear surface of the game board held by the frame 106. And a pachinko machine control device 195 is disposed below the frame board 109. Further, a game control device 158 is provided on the back surface of the frame 106 and the winning ball gathering gutter 131.
A relay board 159 is attached.

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

【0054】この実施例の制御ユニット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 for indicating the status of the pachinko machine.
62, an analog display 163 in which a plurality of lamps are arranged in a row, a safe ball lamp 1 for displaying a winning ball
64, and a call button 165 for calling an attendant. The analog display 163 is used to display the number of balls in play in an analog manner, and to display the stopped state and the free state by simultaneous blinking and moving blinking.

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

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

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

【0058】さらに、収納枠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, a transmission means, and a monitor display 17 are provided.
A unit control device 180 having 4,175,176, a card reader control device 188, and a power supply device 177 are incorporated. Also, below the card reader 800,
A storage box 178 for storing punched pieces generated when punching is performed by a punching device (described later) in the card reader is detachably arranged. A card ejection switch for instructing the card reader to forcibly eject the card is provided on the board constituting the card reader control device 188 (not shown).

【0059】上記制御ユニット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
A locking tool 179a and its release lever 1 are provided on the free end side of 61a.
79b is provided, and the release lever 179b is made to face the opening 161b formed at the lower end of the front panel 161a. The control unit 160 is mounted on the machine frame 101 of the pachinko machine 100 and the unit installation table 24 having the same height as that of the pachinko machine 100, as shown in FIG. 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 exposed by the release lever 179b is normally closed by the upper surface of the front frame 108, and the front frame 108 is opened to open the opening 16b.
1b is exposed, and the release lever 179b can be operated. Thereby, the control unit 160
There is no need to provide a locking device in the.

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

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

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

【0063】この実施例の島設備は、基台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 intervals equal to the width of the game machine, and are horizontally mounted at a position about 60 cm above the floor. Table 2
3 is fixed by a support 22. Also, this mounting table 2
A first installation shelf 24 is fixed at a position above the machine frame 101 by a height of the machine frame 101, and a second installation shelf 25 is fixed above the third installation shelf 25 by columns 22, respectively. A top plate 26 is fixed above the second installation shelf 25 so as to cover the upper ends of the columns 22. The above-mentioned table 23
The front end of the first installation stand 24 is configured to project a little closer to the front than the column 22, and the front end of the first installation table 24 is located closer to the machine frame 1 than the column 22.
It is arranged so as to be rearward by a thickness of 01.

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

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

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

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

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

【0069】光ファイバケーブル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 which are conventionally arranged complicatedly on the back side of the pachinko machine can be cleared. It is possible to facilitate maintenance and management and prevent malfunction due to noise.

【0070】上記パチンコ機制御装置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 controller 195, the amount display 111, the number-of-balls display 112, the purchase lamp 121, the game state display lamp 123, and the hitting ball launcher 10
3, the control device 194 and the accessory control device 158 are placed, and the purchase switch 113 and the interruption switch 1
14, the signal from the ball detection sensors SNS1 to SNS5 such as the end switch 115 and the out sensor is waveform-shaped by the pachinko machine control device 195, and the unit control device 18
It is supplied to 0. Further, in this embodiment, the power supply system is set to two systems of AC24V and AC100V, AC24V is supplied to the pachinko machine 100 side, and AC100V is supplied to the control unit 160 side. By separating the power supply in this way, it is possible to prevent the pachinko machine control unit from being inadvertently destroyed due to the influence of the power supply in a pachinko parlor having many power system troubles.

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

【0072】パチンコ機制御装置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 a pachinko machine controller CPU1 including a microcomputer.
And enables optical data transmission between the unit control device 180 and the reset circuit RST1 that monitors the regular watchdog pulse output from the controller CPU1 and generates a reset signal when the pulse is interrupted. Therefore, a multiplex transmission controller CNT1 including parallel-serial conversion means for converting parallel transmission data into serial data and serial-parallel conversion means for converting serial received 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 that cuts noise of detection signals from various sensors
T, decoders DEC1 and DEC2 for decoding display data to the amount display 111 and the number-of-balls display 112, and a driver DR that forms a drive signal for the display based on its output
V1 and DRV2, a purchase lamp 121, a game state display lamp 123, and a driver DRV3 that forms a drive signal for the ball-striking launcher 103.

【0073】このパチンコ機制御装置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 is simply used as detection data for the launch ball, safe ball, etc. after noise is simply removed from the detection signal and shaped into a constant pulse width. 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.

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

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

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

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

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

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

【0080】さらに、データ伝送コントローラ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 the network controller 553 to store a data reception result in response to a request from the data transmission controller 551, and a data transmission controller 551
Includes a latch circuit 562 for storing a command such as a data transmission command to the network controller 553, a latch circuit 563 for storing a low layer network address, and three for displaying an abnormality in the communication control state in the unit controller 180. Latch circuit 5 for storing display data on a monitor display 556 composed of an LED lamp
64 is provided. 557 is each of the above latch circuits 56
This is a decoder that decodes the addresses given to 1 to 564 and generates a selection signal.

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

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

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

【0084】なお、558はユニットコントローラ19
0の制御プログラムを格納したプログラムROM、55
9は伝送コントローラ551の制御プログラムを格納し
たプログラムROMである。585はユニットコントロ
ーラ190から出力されるアドレス信号をデコードし
て、プログラムメモリ558やユニットメモリ550、
ラッチ回路574,575,577および入出力コント
ローラ576の選択信号を形成するデコーダである。
558 is a unit controller 19
Program ROM storing 0 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 to generate a program memory 558, a unit memory 550,
It is a decoder that forms selection signals for the latch circuits 574, 575, 577 and the input / output controller 576.

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

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

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

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

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

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

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

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

【0093】ユニットメモリ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 stored in the management device 4 by the transmission controller 551.
It is sent to the management device by data communication with 00.
Further, the data sent from the management device 400 is once written in 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 in which commands and status information for informing the other controller that other transmitted data and received data are stored in the memory, a working area for each controller UWA and DWA, and between the controllers. A synchronization area CSA is provided.

【0094】図26にユニットメモリの全体の構成が、
そして、〔表1〕、〔表2〕および〔表3〕に、送信デ
ータエリアSDA、受信データエリアRDAおよび交信
用エリアCCAの構成例を示す。
FIG. 26 shows the overall structure of the unit memory.
Then, [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.

【0095】[0095]

【表1】 [Table 1]

【0096】[0096]

【表2】 [Table 2]

【0097】[0097]

【表3】 [Table 3]

【0098】[0098]

【表4】 [Table 4]

【0099】[0099]

【表5】 [Table 5]

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

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

【0102】[0102]

【表6】 [Table 6]

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

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

【0105】カードリーダ800を構成する箱形のケー
ス本体801の前端には、カード保持表示部LED1と
カード挿排口802aを有する前蓋802が装着され、
ケース本体801の側壁には前記制御ユニット160の
収納枠161内に固定するためのL字ブラケット803
が四隅に固着されている。
At the front end of a box-shaped case body 801 that constitutes the card reader 800, a front lid 802 having a card holding display section LED1 and a card insertion / ejection slot 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.

【0106】ケース本体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 main body 801, and above the base plate 804 there is a gap a little wider than the thickness of the card, and in parallel with the support substrate 80.
5,806 can be attached.

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

【0108】上記モータ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 shutter solenoid 8
The second roller shaft 811 is rotatably mounted between the second roller shaft 811 and the transport roller 81.
2 is provided, one end of the second roller shaft 811 can be projected to the outside from the side wall 801a of the case body, and the pulley 813 is fixed to the protruding end portion. Also,
A light 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 transparent portion 815 that can transmit light is formed. Further, a projector 816 that irradiates the punch hole detection sensor SNSp with detection light is attached to the 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 is projected to the outside from the side wall 801b of the case body 801, and a pulley 818 having a small diameter is fixed.

【0109】一方、カード挿排口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, on the supporting substrate 806 arranged on the opposite side of the card insertion / ejection slot 802a, the first roller shaft 81 is provided.
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 magnetic head mounting position so that the head surface can face downward when the magnetic head is inserted downward from above. Further, a transport roller 823 is fixed to the center of the first roller shaft 819, both ends of the shaft are made to be able to project to the outside from the side wall of the case, and pulleys 824 and 825 are attached respectively. A belt 826 is wound between the pulleys 818 and 825 and a belt 827 is wound between the pulleys 824 and 813, and the rotational driving force of the motor 807 is transmitted to the first roller shaft 819 by the belt 826. The belt 827 is further transmitted to the second roller shaft 811.

【0110】さらに、上記支持基板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
Projectors 828 and 829 for irradiating S4 with detection light are attached.

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

【0112】一方、支持基板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, on the base plate 804 disposed below the supporting substrates 805 and 806, auxiliary rollers 836 biased upward by torsion springs 834 and 835 are provided at positions corresponding to the transport rollers 812 and 823. 837 is attached so that the face is slightly exposed from the openings 841 and 842 formed in the base plate. In addition, the base plate 804 has a support substrate 80.
The auxiliary roller 838, which is also urged upward by the torsion spring 836, at a position corresponding to the magnetic head 821 mounted so as to face downward from the through hole 822 provided in No. 6, faces slightly above the opening 843. It is installed so as to put out. At the same time, the base plate 804 is provided with the light projectors 814, 816, 82.
Through holes 844 are formed at positions corresponding to 8, 829 and 831, respectively. Furthermore, the base plate 80
A concave portion 845 (see FIG. 30) along the width direction at the front end of
Is formed, and a cylindrical shielding member 846 is placed there. The shielding member 846 closes the card insertion / ejection opening 802a to prevent dust from entering, and also acts so as to accept only a card having a rigidity of a certain level or more due to its weight.

【0113】上記ベースプレート804の下面には、第
2のインタフェース基板848がネジによって取り付け
られるようになっており、この第2インタフェース基板
848上にはカードリーダコントローラ188とのイン
タフェースを行なう回路とともに、投光器816,82
8,829および831に対向するように、第1〜第4
の位置検出センサSNS1,SNS2,SNS3,SN
S4およびパンチ穴検出センサSNSpが取り付けられ
ている。また、補助ローラ836,837,838に対
応する位置に、ローラとの接触を防止する逃し穴849
が設けられている。
A second interface board 848 is attached to the lower surface of the base plate 804 with screws. On the second interface board 848, a circuit for interfacing with the card reader controller 188 and a projector are provided. 816,82
First to fourth so as to face 8, 829 and 831.
Position detection sensors SNS1, SNS2, SNS3, SN
S4 and punch hole detection sensor SNSp are attached. In addition, a relief hole 849 for preventing contact with the roller is provided at a position corresponding to the auxiliary rollers 836, 837, 838.
Is provided.

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

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

【0116】支持基板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 arranged downward as shown in FIG. 31A, and the pin 809b formed at the tip of the plunger 809a is provided on the support substrate 805 in the solenoid demagnetized state. The card C is formed by penetrating through the inserted hole 854 and engaging with the corresponding recessed hole 855 formed on the upper surface of the base plate 804 as shown in FIG.
It is designed to prevent the insertion of D.

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

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

【0119】挿入検出センサ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 slot 802a, and the first position detection sensor SN
S1 is arranged immediately before the carrying roller. The shutter pin 809b is arranged between the insertion detection sensor 808 and the first position detection sensor SNS1, and the security code reading sensors 810a and 810b are arranged almost right beside the first position detection sensor SNS1. Further, the second position detection sensor SNS2 is arranged behind the conveyance roller 812, the third position detection sensor SNS3 is arranged behind the conveyance roller 823, the fourth position detection sensor SNS4 is arranged at the innermost part of the card reader, and ~ Fourth position detection sensor SNS1
~ SNS4 is located on the same straight line.

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

【0121】図33には、図32のような位置関係にな
るように配置された各種センサによるカード挿入時のカ
ード検出タイミングとモータ807およびシャッタソレ
ノイド809への制御信号のタイミングを示す。同図か
ら分かるように、この実施例のカードリーダでは、カー
ド挿入時に挿入検出センサでカードの挿入を検出してモ
ータおよびシャッタを駆動させ、位置検出センサ1〜4
でカードの位置を検出しながら所定のタイミングでカー
ド上の情報をセキュリティコード、パンチ穴、磁気コー
ドの順に読み取るように構成されている。
FIG. 33 shows the card detection timing at the time of card insertion by various sensors arranged so as to have the positional relationship shown in FIG. 32 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 to drive the motor and the shutter, and the position detection sensors 1 to 4 are detected.
While detecting the position of the card, the information on the card is read at a predetermined timing in the order of the security code, punch hole, and magnetic code.

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

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

【0124】カードリーダ制御装置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 composed of a microcomputer.
2 and a transceiver TRV for converting the level of a data signal transmitted / received between the unit control device 180 and drivers DRV11, DR forming drive signals for monitor displays 175 and 176 provided in the control unit 160.
V12 and motor 807 in card reader 800, punching device 820, magnetic head 821, LED lamp 16
7, a driver DRV13 that forms a control signal that drives the shutter solenoid 809, a driver DRV14 that drives a relay RLY that turns on and off the power supplied to the motor 807, read data of the magnetic head in the card reader 800, and various types. A waveform shaping circuit SMG including a Schmitt trigger circuit for shaping the detection signal from the sensor,
Flip-flop circuits F / F1 and F / F for latching read data of two tracks read by the magnetic head
2, a power-on reset circuit and a watchdog timer are built-in, and a pulse that is periodically output from the controller CPU2 (shared with the reset pulse of the latches LT1 and LT2) is monitored as a watchdog pulse and reset when the pulse is interrupted. Reset circuit RS for generating a signal
And T2.

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

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

【0127】一方、セグメント型モニタ表示器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.
As described above, the contents of the abnormality of the card reader are displayed by a code.

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

【0129】[0129]

【表7】 [Table 7]

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

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

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

【0133】同図において符号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 a waveform shaping circuit including a Schmitt trigger gate, REC1 and REC2 denote rectifying circuits, and MCC.
1, MCC2 are magnetizing current switching circuits, 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, and S is
NS11, SNS12, SNSp, SNS1 to SNS5
Is a sensor. Further, 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.

【0134】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 signals of the read data read by the two magnetic heads MHD1 and MHD2 respectively corresponding to the two tracks TRC1 and TRC2 are amplified by the amplifiers AMP1 and AMP3, and then,
It is rectified by the rectification circuits REC1 and REC2, and further sent to the card reader control device 188 as a rectangular wave 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 depending on 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.

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

【0136】一方、セキュリティコード読取りセンサ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
The detection signals of S4 and the speed detection sensor SNS5 (821) are waveform-shaped by the waveform shaping circuit SMG5 and then supplied to the card reader control device 188, and the insertion detection switch 8
The detection signal 08 is noise-cut by the low-pass filter LPF and then waveform-shaped by the waveform shaping circuit SMG5.

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

【0138】同図の信号中、(A)〜(D)は書込みデ
ータ情報、(E)〜(G)は書込みクロック情報に関
し、また(H)〜(J)は読出しデータ情報、(K)〜
(M)は読出しクロック情報に関する各部の信号波形を
示す。また、同図(N)〜(R)に図34のカードリー
ダ制御装置188において、符号a〜eで示されている
各信号のタイミングを示す。
In the signals shown in the figure, (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. Further, in FIGS. 34 (N) to 34 (R), timings of respective signals indicated by reference signs a to e in the card reader control device 188 of FIG. 34 are shown.

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

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

【0141】従って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 are respectively changed when the internal data (A) of the CPU changes from "0" to "1". It is inverted.

【0142】一方、上記のようにして書き込まれたデー
タを磁気ヘッド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 − depending on the direction of magnetization when the change occurs, so that the card reader controller CPU2 corresponds to the signal (J) obtained by waveform-shaping the output of the amplifier AMP1 at the rising edge of the read clock b. When the read data a is fetched by the latch F / F2, if the signal a (N) is at the high level, it is recognized as data "1", and if the signal a is at the low level, the data is "0". Will be recognized (see (S) in FIG. 36).

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

【0144】図37および図38に上記カード発行機2
00の構成例を示す。
FIG. 37 and FIG. 38 show the card issuing machine 2 described above.
An example of the configuration of 00 is shown.

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

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

【0147】また、上記購入選択スイッチ群212は、
各々ランプ内蔵型スイッチで構成されており、紙幣が投
入されるとその投入金額の範囲内で選択可能なスイッチ
(3千円なら3つ、5千円なら5つ)に対応する内蔵ラ
ンプが点灯されるようになっている。
Also, the purchase selection switch group 212 is
Each is composed of a switch with a built-in lamp, and when a banknote 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) lights up. It is supposed to be done.

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

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

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

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

【0152】上記発行通し番号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 has a card number generation routine and a code conversion routine, and the card read from the card Inverse conversion and inverse calculation routines are provided to confirm the match between the number and the issued serial number n.

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

【0154】図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.

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

【0156】発行機用のカードリーダが、パチンコ機用
のカードリーダと異なる点は、(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 differs from the card reader for the pachinko machine in that (1) it must have a magnetic data recording function, and (2) the card can be ejected backward. There is a point that needs to be. Of these, as for (1), as shown in FIG. 35, the waveform shaping circuits SMG2 and SMG4 for waveform shaping of the write data signal by the interface circuit 198 and the magnetic current switching circuit MCC.
1, MCC2 and magnetic heads MHD1 and MHD
There is no problem because the HD2 can write magnetic data as well as read it. Further, as described in the description of the structure of the pachinko machine card reader 800, FIG.
The card reader 800 shown in FIG. 30 has an open rear wall of the case so that the inserted card can be ejected rearward. Therefore, the issuing device 7 of this embodiment
The same device as the card reader 800 for a pachinko machine can be used for 00.

【0157】一方、上記カードタンク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 has 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 ejecting device 710 with a bolt. A pressing member 702 for applying a certain pressure to the card to ensure the removal of the card is placed on the card stored in the card tank 701. Notches 702a are formed on the left and right 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. In addition, a blank card CD stored in the card tank 701.
Is placed on the front half of the base substrate 711 of the card ejecting device 710 as shown in FIG. The base substrate 711 has openings 711a, 711 along the center line.
b and 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 project upward from the opening. Further, a notch 711d is formed on the front end side portion of the base substrate 711 so that the operating piece 703a of the card presence / absence detecting sensor 703 can face from below.

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

【0159】この取出用モータ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 rotary shaft of the take-out motor 719 via a speed reduction mechanism 720, and the drive pulley 721 and the above-mentioned conveying rollers 713 and 71.
Timing belt 724 between driven pulleys 722 and 723 mounted on the ends of rotating shafts 713a and 714a
Is wound. Further, the second transport roller 713
A disk 725a for clutch is mounted on the rotating shaft of, and a disk 725b for second clutch is rotatably arranged so as to face the disk 725a. Also, the pair of clutch disks 725a, 725a, 7
A clutch lever 727 having a roller 726 capable of contacting the outer periphery of 25b at one end 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 causes the clutch disc to move. The outer circumferences of 725a and 725b are simultaneously contacted to transmit the rotational force, and when the solenoid 729 is turned off, the rotational force is cut off. Further, a pulley 730 is fixed to the rotating shaft of the clutch disc 725b.
A belt 732 is wound between 30 and the pulley 731 fixed to one end of the rotary 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.

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

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

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

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

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

【0165】上記カード取出装置710によってタンク
701から取り出されたカードは、カードリーダ800
で磁気記録部への識別コードやカード番号等の書込みが
行なわれ、且つ内部のパンチ装置820で発行穴穿孔位
置にパンチ穴が開けられてから後方のカード反転装置7
40へ送り出される。カードリーダ800の下方には穿
孔片すなわちパンチ屑を収納するケース705が配置さ
れている。
The card taken out from the tank 701 by the card take-out device 710 is stored in the card reader 800.
The identification code, the card number, etc. are written in the magnetic recording section at the same time, and after the internal punching device 820 punches a punch hole at the issuing hole punching position, the card reversing device 7 at the rear is opened.
Sent to 40. Below the card reader 800, a case 705 for storing punched pieces, that is, punch scraps is arranged.

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

【0167】カード反転装置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 is such that the belt 742 wound around the carrying rollers 741a, 741b and 741c and the carrying rollers 743a and 743 are first.
It is sandwiched between the belt 744 wound around b and conveyed along the S-shaped traveling path, and while pushing the traveling path switching piece 745 arranged at the exit thereof as indicated by the broken line a, the conveying roller 746
It is sandwiched between the belt 747 wound around a, 746b, and 746c and the belt 742 and is once sent upward. When the card passes through the track switching piece 745, the switching piece 74
5 is rotated and returned from the position indicated by the broken line a to the position indicated by the solid line by the tension of the spring 745a, and the belt 742 is driven at the time when the rear end of the card is detected by the traveling position sensor CPS2 arranged above it. Traveling motor 7
06 is rotated in the reverse direction. This causes the card to change direction and begin to be conveyed downward. Then, the transport roller 748
a belt 748 wound around a, 748b, 748c,
It is sandwiched between the belt 747 and gradually changes its direction, and finally sent out forward in the horizontal direction.

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

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

【0170】さらに、上記搬送ローラ748cの回転軸
709は側方へ突出され、その端部には図39に示すよ
うにノブ709aが固着されており、このノブ709a
を手で回すことにより、走行モータ706の停止中に手
動でカードを移動させ、紙詰まりを生じたカードを取り
除くことができるようになっている。カード反転装置7
40の終端には走行位置センサCPS3が配置されてお
り、このセンサがカードの後端を検出すると走行モータ
706が停止される。
Further, the rotary shaft 709 of the carrying roller 748c is projected laterally, and a knob 709a is fixedly attached to the end of the rotary shaft 709 as shown in FIG. 39.
By manually rotating the card, it is possible to manually move the card while the traveling motor 706 is stopped and remove the card in which the paper jam has occurred. Card flip device 7
A travel position sensor CPS3 is arranged at the end of 40, and when this sensor detects the rear end of the card, the travel motor 706 is stopped.

【0171】上記カード反転装置740から送り出され
たカードは印字装置750に入り、先ず走行位置センサ
CPS4により検出される。すると、印字装置750内
の移送モータ751が駆動され、その駆動力がベルト7
62および歯車群763を介して移送ローラ752a,
752bに伝達され、その上方に配設された押圧ローラ
753a,753bとの間にカードを挾持して前方へ移
動させる。移送ローラ752a,752bの前方には、
移送ローラ754と755が走行路に沿って配置され、
その上方にはサーマルヘッドのような印字ヘッド756
がガイドピン757に沿って昇降可能に配置されてい
る。また、ガイドピン757の周囲には復帰バネ758
が介挿されている。
The card sent out 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 held between the pressing rollers 753a and 753b, which are transmitted to the 752b and are arranged above the card, and are moved forward. In front of the transfer rollers 752a and 752b,
Transfer rollers 754 and 755 are arranged along the traveling path,
Above that is a print head 756 such as a thermal head.
Are arranged so that they can be moved up and down along the guide pins 757. A return spring 758 is provided around the guide pin 757.
Has been inserted.

【0172】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 rotational position sensors 761a and 761b are arranged so as to face the peripheral edge of the detection piece 760. Further, although not shown, the rotational force of the lifting motor 758 is transmitted to the print head 756 through, for example, the cam fixed to the driven shaft 759 and the tappet abutting on the outer periphery of the cam to raise and lower the print head 756. At this time, the lifting motor 75
8 rotates the driven shaft 759 by 180 ° in one operation. That is, the lifting motor 758 always detects 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 the card and activates the lifting motor 758, the sensor 761a or 761b detects the detection frame. The rotation of the motor is stopped when the notch 760 is detected. 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 °, and the print head 756 is raised and stopped. To do. A traveling position sensor CPS5 is provided at the exit of the printing device 750.
When the leading edge of the card is detected, the traveling motor 706 is operated in the same direction (reverse direction) as before to cause the transport roller 77 to move.
The belt 772 wound around 1a, 771b, 771c is driven, and when the sensor CPS5 detects the rear end of the card, the conveyance motor 751 in the printer is stopped. As a result, the card sent out from the printing device 750 is promptly conveyed into the front card drawing device 770.

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

【0174】また、上記搬送ローラ773と774bと
の間には支軸776を中心に回動可能な走路切替部材7
77が配設されている。この走路切替部材777はスプ
リング778によって通常は図40に破線ロで示すごと
く先端が下方に位置され、印字装置750より送られて
きたカードをカード発行口202へ向かって案内する。
しかして、カードが正規なものでなかったり、傷があっ
て磁気記録部へ正しく記録できなかったような場合に
は、走路切替部材777によってカードは下方の没収タ
ンク780に誘導される。正しく書き込まれたカードの
ときは切替部材777を、図40に実線で示すごとく下
方へ回動させる。すると、印字装置750から送られて
きたカードはカード発行口202へ誘導される。搬送ロ
ーラ774a,774bの下方には、没収タンク780
が配設されており、通常状態で上方に位置された走路切
替部材777によって下方へ誘導されたカードはこの没
収タンク780内に収納される。
Further, between the conveying rollers 773 and 774b, the traveling path switching member 7 rotatable about a support shaft 776.
77 is provided. The runway switching member 777 is normally positioned by the spring 778 such that the tip end thereof is located downward as shown by the broken line B in FIG. 40, and guides the card sent from the printing device 750 toward the card issuing slot 202.
Then, when the card is not a proper card or is damaged and cannot be correctly recorded in the magnetic recording section, the track switching member 777 guides the card to the confiscation tank 780 below. In the case of a correctly written card, the switching member 777 is rotated downward as shown by the solid line in FIG. Then, the card sent from the printing device 750 is guided to the card issuing slot 202. Under the transport rollers 774a and 774b, a confiscation tank 780 is provided.
The card guided downward by the running path switching member 777 that is normally located above is stored in the confiscation tank 780.

【0175】この没収タンク780の後壁781には切
欠き781aが形成されており、この切欠き781aに
臨むようにセンサ782が配設されている。このセンサ
782は受光器であってこれに対応する投光器783
は、上記一対のベルト775間に配置され、検出光軸が
斜めになるように設定され、没収タンク780に入って
くるカードを検出するとともに、タンク内のカードが一
定量以上になると、カードの上端が上記検出光軸を遮る
ようになって満杯になったことを検出できるようになっ
ている。さらに、この没収タンク780はその下方に斜
め配置されたプレート784上に前後方向スライド可能
に載置され、その下面には、プレート784に形成され
た長孔784aに係合するガイドピン785が固着され
ており、このガイドピン785と上記プレート784の
後端との間に張設されたスプリング786によって、常
に後方へ付勢されている。
A cutout 781a is formed in the rear wall 781 of the confiscation tank 780, and a sensor 782 is arranged so as to face the cutout 781a. The sensor 782 is a light receiver and a corresponding light projector 783.
Is arranged between the pair of belts 775, the detection optical axis is set to be oblique, the card that enters the confiscation tank 780 is detected, and when the card in the tank reaches a certain amount or more, The upper end blocks the detection optical axis so that it can be detected that it is full. Further, the confiscation tank 780 is mounted on a plate 784 obliquely arranged below the slidable tank 780 so as to be slidable in the front-rear direction, and a guide pin 785 that engages with a long hole 784a formed in the plate 784 is fixed to the lower surface thereof. A spring 786 stretched between the guide pin 785 and the rear end of the plate 784 constantly urges the rearward direction.

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

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

【0178】さらに、この実施例の発行装置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 mounted on a base 793 slidably supported by left and right rails 792a and 792b on a fixed base 791. An auxiliary power supply device is mounted on the left half of the base 793. A power supply box 794 having a built-in
A counter 795 for displaying the number of issued cards and a spare counter 796 that can be used for displaying the number of confiscated cards and the like are provided on the front surface of No. 4.

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

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

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

【0182】この実施例の制御システムは、大別してユ
ニット制御装置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 a unit control device 280 and a control system by a card issuing control device 790, and the unit control device 280 is a means for receiving money and a desired purchase amount. It is in charge of controlling the selection means, the communication means for transmitting valuable data to the management device and receiving the card number in place of the valuable data, the dispensing means for the change, and the status display means for indicating the issuing processing state. , Card issuing control device 790
The card ejecting device 7 constituting the issuing device 700 described above
10, a card reversing device 740, a printing device 750 and a card derivation device 770, and a control device 2 of a card reader 800 which is in charge of checking a card and recording magnetic data.
It is in charge of 88 general control. Communication between the unit controller 280 and the card issuing controller 790 is performed by serial communication.

【0183】一方、ユニット制御装置280は、管理装
置400との間でカード番号等のデータの送受信を行な
うため、光トランシーバ285を介して光ケーブルまた
は同軸ケーブルからなる低層ネットワーク用通信ライン
510に接続可能にされている。この実施例のカード発
行機200は、ユニット制御装置280によって前面パ
ネル201に設けられた各種表示器221〜225等か
らなる状態表示手段をカード発行手順に従って点灯もし
くは点滅させることによって利用者に操作手順を教示す
るとともに、排出したカードや釣銭忘れを防止するよう
にしている。
On the other hand, since the unit controller 280 transmits / receives data such as a card number to / from the management apparatus 400, it can be connected to the low-layer network communication line 510 formed of an optical cable or a coaxial cable via the optical transceiver 285. Has been In the card issuing machine 200 of this embodiment, the unit controller 280 lights up or blinks the status display means including various indicators 221 to 225 and the like provided on the front panel 201 according to the card issuing procedure to allow the user to operate the procedure. In addition to teaching, they are trying to prevent forgetting discharged cards and forgetting change.

【0184】すなわち、カード発行機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 card issuing machine 200 is powered on and the preparation for issuing a card is completed, the unit controller 280 first turns on the issuing indicator 221 provided on the front panel 201, and the bill insertion indicator. 223 is flashed to display a message prompting the user to insert a bill to notify the outside that the bill is waiting to be inserted. 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 amount of money input on the amount display 213, and lights the purchase lamps LMP1 to LMP5 with the purchase selection switch 212 built-in up to the amount corresponding to the amount of money input. That is, if it is 1,000 yen, only the lamp LMP1 is used. If it is 3,000 yen, the lamps LMP1 to LMP3 are used. If it is 5,000 yen, the lamp LMP1 is used.
~ The LMP5 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 indicator 223 is turned off, and instead, the card issue indicator 224 near the card issue slot 202 is blinked to eject the card. Let the user know.

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

【0186】一方、釣銭があるときは紙幣払出表示器2
30が釣銭の除去を検出して送ってくる払出完了信号を
受けてから紙幣挿入表示器223を消灯させる。
On the other hand, when there is a change, the bill dispensing indicator 2
The banknote insertion indicator 223 is turned off after the removal completion signal sent from the bank 30 upon detection of change change is received.

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

【0188】[0188]

【表8】 [Table 8]

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

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

【0191】発行機のユニット制御装置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 issuing control device 79.
A unit controller 290 for controlling 0 as a whole,
A data transmission controller 551 that controls data transmission with the management device 400, and a network controller 55 that establishes a transmission / reception right in the network and performs serial / parallel conversion of data under the control of the data transmission controller.
3 and the like, and the communication system has exactly the same configuration as the unit controller 180 of the pachinko machine. That is, between each controller 290 and 551 and 551
Data is exchanged between the storage devices 553 and 553 via dual port memories (RAM) 550 and 552. Of these, the memory 552 is divided into a transmission data storage area and a reception data storage area, and has an adjusting function for making all transmission / reception data lengths the same length (packetization), and speeding up data transmission (2 .5
It has a buffer function for measuring Mbps).

【0192】このパケットメモリ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 scheduled data transmission packet. On the other hand, pages 2 and 3 are alternately used for receiving data packets. Which page to use depends on the data transmission controller 5
51 instructs the network controller 553.
Even if the next packet data is sent while the data transmission controller 551 is processing the received packet data,
Since it is received by another page, all the packets can be surely received. A common reset circuit 555 is provided so that the controllers 551 and 553 can be initialized simultaneously.

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

【0194】さらに、データ伝送コントローラ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 the network controller 553 to store a data reception result in response to a request from the data transmission controller 551, and a data transmission controller 551
Includes a latch circuit 562 for storing a command such as a data transmission command to the network controller 553, a latch circuit 563 for storing a low layer network address, and three for displaying an abnormality in the communication control state in the unit controller 280. Latch circuit 5 for storing display data on a monitor display 556 composed of an LED lamp
64 is provided. 557 is each of the above latch circuits 56
This is a decoder that decodes the addresses given to 1 to 564 and generates a selection signal.

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

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

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

【0198】また、紙幣識別器210からユニットコン
トローラ290に対する入力信号には、挿入紙幣が真の
10000円紙幣と判定したときの信号と、挿入紙幣を
真の5000円紙幣と判定したときの信号と、挿入紙幣
を真の1000円紙幣と判定したときの信号と、紙幣判
定後に、紙幣挿入口方向へ紙幣が引き抜かれたときに出
力されるアラーム信号と、紙幣の挿入があり、該紙幣を
識別中であることを示すための信号と、紙幣詰まりが発
生したことを示すための信号と、金庫内の紙幣収納が満
杯になったことを示すための信号とがある。
The input signals from the bill validator 210 to the unit controller 290 include the signal when the inserted bill is determined to be a true 10000 yen bill and the signal when the inserted bill is determined to be a true 5000 yen bill. , 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 is determined, and the bill is inserted, and the bill is identified. There are a signal indicating that the bills are jammed, a signal indicating that a bill jam has occurred, and a signal indicating that the bill storage in the safe is full.

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

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

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

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

【0203】[0203]

【表9】 [Table 9]

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

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

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

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

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

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

【0210】[0210]

【表10】 [Table 10]

【0211】[0211]

【表11】 [Table 11]

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

【0213】なお、上記〔表10〕に示されているモニ
タ情報1は、〔表12〕に示すようにシステム立上り時
のテスト実行中を示すビット、初期値設定/未設定を示
すビット、ホットコードエラーを示すビット、ローカル
ネットワーク(伝送ケーブル500)の異常を示すビッ
ト(低層用と高層用の2ビット)、発行機異常を示すビ
ット等により構成されている。
The monitor information 1 shown in [Table 10] is, as shown in [Table 12], a bit indicating that a test is being executed at system startup, a bit indicating initial value setting / non-setting, and a hot value. 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 low layer and high layer), a bit indicating an issuer abnormality, and the like.

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

【0215】[0215]

【表12】 [Table 12]

【0216】[0216]

【表13】 [Table 13]

【0217】図45〜図47に前述した精算機300の
構成例を示す。
45 to 47 show a configuration example of the above-mentioned settlement machine 300.

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

【0219】この精算機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内に排出される。
In the settlement machine 300, the top panel 301 is constructed so as to be rotatable in the vertical direction, and the card settlement apparatus 310 is used.
Corresponding to the above, a card insertion slot 302 is provided at the front end of the top panel 301, and a ball number indicator 303 for displaying the number of winning balls (number of balls held) and an unused amount are provided on the top surface of the top 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 that a counter installed in a pachinko parlor can be configured, and the number-of-balls indicator 303 and the amount indicator 304.
2 are provided, one of which is inclined forward so that the player can easily read it, and the other is inclined backward so that the staff inside the counter can easily read it. Further, a display reset switch 305 for clearing the display on the display device to “0” is provided near the rear of the upper surface of the upper panel 301. When a player first inserts a card from the card insertion slot 302, the card settlement machine 300
The card reader 800 therein 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 regarding the card. Then, the unused amount of money is displayed on the amount display 304, and the number of won balls is displayed on the number of balls display 303, and the printer 330 is displayed.
Issue a receipt with the unused amount of money, the number of balls acquired, and history data printed. Further, the inserted card in the card reader is set at a predetermined punching position PH5 by the punching device.
After the punch holes (cleared holes) are formed in the card, the card is discharged into the internal card recovery tank 314.

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

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

【0222】これとともに、未使用金額に相当する金銭
が残金払出装置より払い出される。残金払出装置は、紙
幣を払い出す紙幣払出器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 that dispenses bills and a coin dispenser 325 that dispenses 100-yen coins. A coin payout exit 326 is provided corresponding to 325. In addition, at the settlement, 100 yen will be charged as unused money.
Since a fraction less than 0 yen occurs, the coin dispenser 325 for dispensing coins in 100 yen units is required as described above.

【0223】さらに、上記精算機300の上面パネル3
01の上面には、カード精算中であることを示す精算中
ランプ341、カード精算不能状態を示す精算中止ラン
プ342が設けられている。
Furthermore, the top panel 3 of the settlement machine 300.
On the upper surface of 01, a settlement-in-progress lamp 341 indicating that the card settlement is in progress and a settlement stop lamp 342 indicating a state where the card settlement is impossible are provided.

【0224】また、開閉可能な全面パネル306の内側
には、図46に示すように紙幣不足等精算機の異常をエ
ラー番号を用いて表示するモニタ表示器343と、この
モニタ表示器343の表示をリセットするリセットスイ
ッチ351と遊技店に設置される複数の精算機の各々を
区別して、特定のカードの精算を行なった精算機を管理
装置400において把握できるようにするための台番号
設定器352と、閉店時に硬貨払出器325のタンク内
に残った硬貨を排出させるための硬貨抜取スイッチ35
3と、プリンタ330によって発行するレシートに来歴
データを印字するか否か指示を与える印字切替スイッチ
354が設けられている。
Also, inside the openable / closable entire panel 306, as shown in FIG. 46, a monitor display 343 for displaying an abnormality of the settlement machine such as a bill shortage using an error number, and a display of this monitor display 343. The reset switch 351 for resetting the number and the plurality of payment machines installed in the game store are distinguished from each other, and the machine number setting device 352 for allowing the management apparatus 400 to grasp the payment machine that has adjusted the specific card. And a coin withdrawal switch 35 for discharging the 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 the receipt issued by the printer 330.

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

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

【0227】なお、上記カード回収タンク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 the frame 315 of the card settlement apparatus 310. In addition, two counters 317 and 318 are provided on the side surface of the frame 315, and one of them displays the number of collected cards. The other counter is unused.

【0228】補助搬送装置311は、搬送ローラ36
1,362と、それらに捲回された上下一対の搬送ベル
ト363,364と、下方の搬送ベルト364を駆動す
る搬送モータ365とからなり、カードリーダ800の
後端から排出されたカードを一対のベルト363と36
4の間に挟んで後方の回収タンク314へ向かって移送
させるようになっている。
The auxiliary carrying device 311 is provided with the carrying roller 36.
1, 362, a pair of upper and lower conveyor belts 363 and 364 wound around them, and a conveyor motor 365 that drives the lower conveyor belt 364. The card ejected from the rear end of the card reader 800 is paired with a pair of cards. Belts 363 and 36
It is arranged so as to be sandwiched between 4 and to be transferred toward a rear recovery tank 314.

【0229】図47には、図示されていないが、カード
回収タンク314にはカードがタンク内に排出されたこ
と、または一杯になったことを検出するカードセンサ3
19が設けられている(図48参照)。ただし、この実
施例の精算機300は前記台番号設定器352の最上位
桁を「9」にセットしたときにのみカード没収モードと
なり、精算のため挿入されたカードを精算後に上記カー
ド回収タンクに誘導して没収するようになっており、そ
れ以外のときは精算後にカードを前方へ排出して遊技客
に返却するようになっている。
Although not shown in FIG. 47, the card recovery tank 314 has a card sensor 3 for detecting that a card has been discharged into the tank or is full.
19 is 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 platform number setting device 352 is set to "9", and the card inserted for settlement is put in the card collection tank after settlement. It is designed to be confiscated and guided, otherwise the card will be ejected forward after payment and returned to the player.

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

【0231】この実施例の制御システムは、大別してユ
ニット制御装置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, and the unit control device 350 makes the bill and coin dispensers 321 and 325.
And various display devices 303, 304, 341 to 343, control of the printer 330 and various switches 351 to 354,
The card settlement control device 312 is in charge of receiving the input of 305, the auxiliary transfer device 311, the counter 317 as the counting display means of the collected cards, the card reader 8 for checking the cards and reading the magnetic data.
00 is in charge of overall control of the control device 388.
Then, the unit controller 350 and the settlement controller 312
Communication with and is performed by serial communication.

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

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

【0234】精算機300のユニットコントローラ39
0は、上記構成部品の制御やカード番号のチェック、カ
ードデータの受信、表示等を行なって精算処理を実行す
るとともに、稼動データを収集し、それをデュアルポー
トメモリからなるユニットメモリ550内の送信データ
エリアSDAに書き込む。ユニットメモリ550に書き
込まれた稼動データは、データ伝送コントローラ551
による伝送ケーブルを介した管理装置400との間のデ
ータ交信により管理装置に送られる。管理装置から送ら
れて来るデータも、一旦ユニットメモリ550内の受信
データエリアRDAに書き込まれ、ユニットコントロー
ラ390がこれを読み取ることによってデータの受信が
行なわれる。ユニットメモリ550には送信データや受
信データがメモリ内にあることを相手方のコントローラ
に伝えるためのコマンドやステータス情報の入る共有デ
ータエリアCDAが設けられている。
The unit controller 39 of the settlement machine 300
0 performs the settlement process by controlling the above-mentioned components, checking the card number, receiving card data, displaying, etc., collects operating data, and sends it to the unit memory 550 consisting of a dual port memory. Write to the data area SDA. The operation data written in the unit memory 550 is the data transmission controller 551.
Is transmitted to the management device by data communication with the management device 400 via the transmission cable according to the above. The data sent from the management device is 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 informing the other controller that transmission data and reception data are stored are stored.

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

【0236】[0236]

【表14】 [Table 14]

【0237】[0237]

【表15】 [Table 15]

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

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

【0240】[0240]

【表16】 [Table 16]

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

【0242】[0242]

【表17】 [Table 17]

【0243】次に、前述のごとく構成されたパチンコ機
100、カード発行機200および精算機300を統括
的に制御するとともに稼動データをリアルタイムに収集
して、停電や故障が発生しても復旧時に直ちに元のデー
タ状態を復活させてシステム各部の動作を再開させ、ま
た遊技店の経営に必要なデータの集計を可能にするとと
もに、カードが破損した場合に同一資格の復活カードを
発行する管理装置400について説明する。
Next, the pachinko machine 100, the card issuing machine 200, and the settlement machine 300 configured as described above are comprehensively controlled, and operation data is collected in real time, so that even if a power failure or failure occurs, it can be recovered. 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 restoration card of the same qualification if the card is damaged 400 will be described.

【0244】図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.

【0245】管理装置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 main memory M-MEM including a central processing unit CPU of a mini-conclass and a semiconductor memory (RAM), a timer (including calendar) TMR,
Main controller 40 in which communication controller 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 is composed of a hard disk storage device 403 and a personal computer 410. Further, the personal computer 410 has a CRT display device 411 for displaying messages and collected data, a console 412 for an operator to give instructions 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 a line and an interrupt circuit
13 and a printer 414 for printing collected data and the like
It is composed of

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

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

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

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

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

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

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

【0253】図51に、コンソール412の構成例を示
す。同図の(B)はコンソールの上面すなわちパネル
面、同図の(A)はコンソールの背面を示す。
FIG. 51 shows a structural example of the console 412. (B) of the same figure shows the upper surface or panel surface of the console, and (A) of the same figure shows the back surface of the console.

【0254】図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, 4
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. Further, 423 is an end switch for storing the operation data of all terminals in the floppy disk storage device 402 after the end of business, and 424 is an end switch for instructing the management device to stop the operation, and 424 for instructing the recovery process of the damaged card. It is a card revival switch.

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

【0256】425,426,427は、通常のパーソ
ナルコンピュータ等のコンソールに設けられているのと
同種のテンキー、リターンキーおよびデリートキーであ
る。
Numerals 425, 426, and 427 are a numeric keypad, a return key, and a delete key, which are of the same type as those provided on the console of a normal personal computer or the like.

【0257】一方、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 429 for giving an instruction to display data regarding a 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 the data displayed on the CRT display device. Reference numeral 430 is a print menu switch for giving an instruction to print data relating to the card, operation data of each terminal, etc. by the printer 414.
Reference numeral 431 denotes a print stop switch that requests the printer 414 to stop printing. 432 is a setting switch for requesting the setting of the number of hits and the hitting mode in the pachinko machine, and 433 is a hitting, that is, the game cannot be continued because the prize ball of the set hit number is dispensed. The stop release switch 434 for giving a stop state release command of the pachinko machine is used to forcibly terminate the terminal device by type at the end of business, and for normal control and data collection due to communication network abnormality etc. A forced termination switch 435 for forcibly terminating all terminals in case of failure, or forcibly stopping a specific terminal when a player's dishonesty is discovered, releases the terminal forcibly stopped. An end release switch 439 for causing the operation is a date / time setting switch. Further, the console 412 of the embodiment is provided with a buzzer 440 that emits a sound that urges the operator to be alerted when an emergency situation such as a pachinko machine stoppage occurs, and a buzzer stop switch 436 that instructs the sounding stop. Has been.

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

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

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

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

【0262】ただし、内部に白紙カードを有さず、外部
から白紙カードを挿入して磁気面にコードを記録して排
出する方式を採るようにしてもよい。その場合にはカー
ドタンクを省略できる。また、管理装置400により発
行される前記テストカードや復活カードは必ずしも他の
一般カードのように使用年月日や発行通し番号等を明記
する必要がないので、印字装置を省略してもよい。ただ
し、印字装置を組み込んで、テストカードである旨を印
字して発行することもできる。なお、復活カード発行の
際には穿孔装置807によってカードの所定の穿孔位置
PH にパンチ穴を開けるようになっている。
However, it is also possible to adopt a system in which a blank card is not provided inside but a blank card is inserted from the outside to record a code on the magnetic surface and eject it. 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, the issue serial number, etc. like other general cards, the printing device may be omitted. However, it is also possible to incorporate a printing device and print and issue a test card. It should be noted that the punching device 807 is configured to punch holes at predetermined punching positions PH 1 of the card when issuing the restoration card.

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

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

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

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

【0267】[0267]

【表18】 [Table 18]

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

【0269】同表における設定値ファイルFL1は、シ
ステム導入時にコンソールの入力によって予めハードデ
ィスクに記憶される購入玉の交換レートや店コード、端
末台数、賞品球数、打止数等のシステムの特性や構成に
応じて変動する設定値である。この設定値ファイルは通
常営業開始時にハードディスクHDDより主記憶装置に
ロードされる。また、設定値ファイルFL1は、パチン
コ機の入替えの際等にビルトインスイッチを押してコン
ソールより更新できるようになっている。
The set value file FL1 in the table is the system characteristics such as exchange rate of purchased balls, store code, number of terminals, number of prize balls, number of hits, etc. It 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 set value file FL1 can be updated from the console by pressing the built-in switch when the pachinko machine is replaced.

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

【0271】[0271]

【表19】 [Table 19]

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

【0273】さらに、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 stop mode refers to a method (calculation formula) for calculating the number of hits, for example, a mode in which the player simply stops when the number of paid-out prize balls reaches the number of hits, or the number of paid-out prize balls. There is a mode that stops when the number of hit balls reaches the number of hits. Although not particularly limited, in this embodiment, j = 1 to 16 and k = 1 to 16
As shown by, the number of strikes and the strike mode can be set independently for each of 16 groups.

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

【0275】[0275]

【表20】 [Table 20]

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

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

【0278】[0278]

【表21】 [Table 21]

【0279】これを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進法のみを使ってデータ処
理を行なうマイクロコンピュータの特性に合致した効率
の良いアドレス処理が可能となる。
When this is expressed in binary code by the binary coded octal system, it becomes "010.100.111". This code indicates "167" in the decimal system, whereby the pachinko machine numbers with "4" and "9" omitted become consecutive serial numbers. On the other hand, in order to suppress 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 the code "1010-0111" represented by the binary coded octal system, and this is expressed by HEXA, It becomes "A7H". Furthermore, in addition to pachinko machines, terminal machines such as issuing machines and settlement machines are also connected under one NAU, and the number of pachinko machines under one NAU is set to 64 in order to give them an 8-bit unit number. The number is limited to a table, and the logical product of the code "A7H" and the code "3FH" is obtained to obtain "27H". In this embodiment, this is the unit number. The channel number is "NAU number + unit number" in which the NAU number is added to the head of the unit number. By such a method, in the conventional practice of a pachinko gaming machine that has a serial number that does not use "4" and "9", efficient address processing that matches the characteristics of a microcomputer that processes data using only the binary system. Is possible.

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

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

【0282】[0282]

【表22】 [Table 22]

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

【0284】[0284]

【表23】 [Table 23]

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

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

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

【0288】先ず、カード発行機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 by the card issuing machine 200, the card is ejected and the card goes from the unissued (blank) state SS0 to the free state SS1. Then, when the card is inserted into the desired pachinko machine 100, the game state SS2 is entered. 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. Also, when the interruption switch 115 is pressed during the game, the card is ejected and the state transits to the interruption state SS4, and the same card is re-inserted to return to the game state SS2 again. 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 discharged by the forced termination by the CPU or the occurrence of stopping, and the game state SS2 shifts to the free state SS1. When the card in the free state is brought to the settlement machine 300 and the settlement processing is performed, the card is collected after the invalid mark is added and the state is moved to the settlement completed state SS5. In the system of this embodiment, it is possible to go to the settlement machine 300 and carry out the settlement processing without returning to the pachinko machine with the card in the suspension state SS4. In that case, the suspension state SS4 shifts to the settlement completed state SS5. .

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

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

【0291】[0291]

【表24】 [Table 24]

【0292】同表において、台番号からカード状態まで
の項目は、〔表1〕に示されている送信データエリアに
保持されているデータであり、これらは1秒に1回管理
装置400によってサンプリングされ、ファイルに登録
される。また、メイン賞球数、サブ賞球数、打止数およ
び打止モードは、システム立上り時に〔表19〕に示さ
れている設定値ファイルFL1に基づいてP機ファイル
FL4に登録される。
In the table, items from the unit number to the card status are the 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.

【0293】〔表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 the data held in the transmission data area of the issuing device shown in [Table 10], and the data items shown in [Table 26] are the [Table 14].
The data held in the transmission data area shown in FIG. These are sampled by the management device once a second.

【0294】[0294]

【表25】 [Table 25]

【0295】[0295]

【表26】 [Table 26]

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

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

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

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

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

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

【0302】各端末機P,H,Sは、ネットワーク51
0から分岐された分岐線に接続されている。各分岐線の
終端に各々の端末機の制御ユニット160,250およ
び350が接続されている。図53において符号Uで示
すのが、各端末機の制御ユニットである。
Each terminal P, H, 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 the respective terminals are connected to the ends of the respective branch lines. Reference numeral U in FIG. 53 indicates a control unit of each terminal.

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

【0304】この実施例の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 is a low layer network controller 533 which establishes a transmission / reception right in the low layer network 510 and performs serial / parallel conversion of data.
A high-layer network controller 537 for establishing transmission / reception rights and serial / parallel conversion of data in the CSMA / CD high-layer network, and a data transmission controller 535 for controlling data transfer between these network controllers 533 and 537. I have it.
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 composed of a general-purpose microcomputer. Then, between the controllers 533 and 535 and between the controllers 535 and 537, the low-layer network 510 and the high-layer network 520 are provided.
The buffer packet memories 534 and 536 for absorbing the difference in the data transmission speed are connected respectively.
The packet memories 534 and 536 are composed of 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 (talk bus) 510.
A branch circuit 531 for separating and combining the transmission signal and the reception signal and a level conversion circuit 532 for converting the level of the transmission / reception data signal are connected between and. Similarly, the level conversion circuit 53 is provided between the high-layer network controller 537 and the high-layer network 520.
8 and the branch circuit 539 are connected.

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

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

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

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

【0309】[0309]

【表27】 [Table 27]

【0310】[0310]

【表28】 [Table 28]

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

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

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

【0314】また、〔表27〕においてNAKなるパケ
ットは、管理装置400がユニット制御装置280から
の“カード購入”パケットを受信したときの相手に対す
る否定応答であり、パケットデータが異常であったよう
な場合にNAKパケットが送信される。
The packet NAK in [Table 27] 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 the packet data seems to be abnormal. In that case, a NAK packet is transmitted.

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

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

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

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

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

【0320】また、管理装置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 by using two packet heads HHD and LHD. In this case, the upper packet head HHD designates the network adapter to which the terminal of the transmission destination belongs, 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 for the lower layer. The packet is sent out on the network 510, and the packet is transmitted to the designated terminal.

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

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

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

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

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

【0326】一方、発行機に紙幣が投入され、購入金額
が決定されたときに発行機から管理装置に送られる“カ
ード購入”とその応答パケットの構成は図58のパケッ
トと全く同じであり、送信パケットのカード金額の欄に
実際の購入金額を入れるとともに、カード番号と発行通
し番号の欄には予約時に既に決定された番号を入れて送
る点のみ異なる。
On the other hand, the configuration of the "card purchase" and its response packet sent from the issuing machine to the management device when a bill is inserted into the issuing machine and the purchase amount is determined is 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 and sent in the card number and issue serial number columns.

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

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

【0329】一方、“ユニット復旧データ”パケットに
は、管理装置の発行機ファイル内の全データと設定値フ
ァイルから読み出した年月日、識別コードおよびホット
コードを、ユニットメモリ550のデータエリアの構成
に一致させて送ってくる。ただし、ユニットメモリの送
信データエリアと重複する受信データパケットヘッドと
カードテキストは重複した送信を省略し、ユニットコン
トローラ290の側で送信データエリアから受信データ
エリアへコピーするようになっている。受信データ中※
4で示されるデータはユニットメモリ内の受信データエ
リアに記入される。上記パケットに対する応答パケット
では送信データエリア内の全データのみ入れて送るよう
になっている。
On the other hand, in the "unit restoration data" packet, the date, the identification code and the hot code read from all the data in the issuer file of the management device and the setting value file are arranged in the data area of the unit memory 550. Will be sent according to. However, for the reception data packet head and the card text which overlap with the transmission data area of the unit memory, duplicate transmission is omitted, and the unit controller 290 copies the transmission data area to the reception data area. 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 all the data in the transmission data area is put and sent.

【0330】なお、図55〜図60に示されているパケ
ットは、ネットワークにのせられる本来のパケットの全
体でなく要部のみであり、その他にデータの先頭を発見
するためのアラートバーストや同期データ、伝送元を示
すソースアドレスフィールドや伝送先を示すデスティネ
ーションアドレス等からなるヘッダ部と、データの長さ
を示すカウント部、誤り検出用のチェックコード部があ
る。これらは、各端末機の制御ユニット内のネットワー
クコントローラによって自動的に生成されて付加される
ようになっている。
The packets shown in FIGS. 55 to 60 are not the whole of the original packets placed on the network but only the essential parts. In addition, alert bursts and synchronization data for finding the beginning of the data are also included. There are a header section including a source address field indicating a transmission source and a destination address indicating a transmission destination, a count section indicating the length of data, 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.

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

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

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

【0334】データ伝送コントローラ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 determines whether it is "0" (steps S203, S).
204), when it is no longer “0” by the writing by the unit controller, the read channel number is written in the latch LT3 (563), and then the latch LT2 (56).
For 2), a command 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 to determine its own address in the lower layer network (step S302), and reads the page configuration of the packet memory from the next latch LT2. It is stored (step S303). As a result, the composition of the transmission / reception page is fixed.

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

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

【0337】すなわち、データ伝送コントローラ551
はステップS210で受信ページをラッチLT2に書き
込んだならば、ユニットメモリ550内のコマンドレジ
スタCR2をチェックして「0」つまりユニットコント
ローラ290に対する他の送信要求がないことを確認し
てから(ステップS211)、受信パケットタイプから
受信データエリア内での書込み位置を確定してワーキン
グエリア内の受信データをユニットメモリの受信データ
エリアに移す(ステップS212,S213)。それか
ら、交信用エリアのコマンドレジスタCR2に受信パケ
ットタイプ名を書く(ステップS214)。
In other words, the data transmission controller 551
After writing the received page in the latch LT2 in step S210, the command register CR2 in the unit memory 550 is checked 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 in the unit memory (steps S212 and S213). Then, the received packet type name is written in the command register CR2 in the communication area (step S214).

【0338】すると、ユニットコントローラ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).
Then, 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. Timed timer (1 second) in unit memory to start transmission
Is set (steps S215 and S216). If the received packet is not the "initial value setting" packet, it is determined in step S217 whether it is a "line test" packet. If it is a "line test" packet, the process for transmitting the response "ACK" packet is executed in step S218, and if it is other than the "line test" packet, the process directly shifts to another process.

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

【0340】ユニットコントローラ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 "card purchase" or "scheduled data" occurs, the unit controller 290 first writes the 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 entered, and if there is no other transmission packet, write the packet type name to be transmitted in the command register CR1 and then set the transmission timer (step S122).
~ S124). Writing the packet type name in 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 a packet type has entered the command register CR1 (step S221), and when it knows that a packet type has entered, it sends the transmission data corresponding to the transmission packet type from the transmission data area in the unit memory. Read-out, write to page 0 in the packet memory together with the address (fixed) of the NAU that is the transmission destination and the number of bytes of the transmission data (steps S222 and S22)
3).

【0341】しかる後、データ伝送コントローラ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).

【0342】すると、これがネットワークコントローラ
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, the network controller 553 checks the presence of a transmission command, waits for the acquisition of the transmission right on the network when there is a command, and from the NAU if the transmission right is acquired. (Steps S321 to S323). Then, after transmitting the data in page 1 of the packet memory, the transmission result is written in the latch LT1 (steps S324 and S325). In response to this, the data transmission controller checks the latch LT1 to determine whether or not the transmission has succeeded. If the transmission has failed, the above transmission processing is repeated up to three times (steps S225, S
226).

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

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

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

【0346】上記ステップS234でデータの一致を判
定しているのは、ユニットコントローラが送信データエ
リアに対して2バイトからなるデータ部の1バイトを書
き換えたときに、定時データを送信すると、未確定なデ
ータを送信することになるからである。データの一致を
みることにより、送信データエリアのデータ確定を判定
することができる。
Whether or not the data match is determined in step S234 is undetermined if the unit controller rewrites 1 byte of the 2-byte data portion in the transmission data area and the regular data is transmitted. This is because all the 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.

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

【0348】すると、これがネットワークコントローラ
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 of a transmission command, waits for acquisition of a transmission right on the network when there is a command, and from the NAU if the transmission right is acquired. (Steps S331 to S333). Then, after transmitting the data in page 1 of the packet memory, the transmission result is written in the latch LT1 (steps S334 and S335). In response to this, the data transmission controller 551 causes the latch LT
1 is checked to see if the transmission is successful, and if it fails, the above transmission process is repeated up to three times (step S24).
0, S241).

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

【0350】次に、発行機200におけるユニット制御
装置280とカード発行制御装置790およびカードリ
ーダ制御装置288における制御手順を、相互間のデー
タ通信と関連して説明する。
Next, the 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 mutual data communication.

【0351】なお、この実施例のカード発行機において
は、ユニットコントローラ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 issuing control device 790. Therefore, the unit controller 29
0 and the card issuance control device 790 are communicated by a function code.
Communication between the 90 and the card reader controller 288 is performed by a command. By the way, as a function code from the unit controller 290 to the card issuing control device 790, an "initial value setting" function for giving a card reader a date code and an identification code to be recorded in the magnetic recording unit of the card, A “card issuance” function for issuing an issuance, a “resend request” function for requesting resend of the function code sent immediately before, and a status indicating the status of the card reader received by the card issuance control device 790 from the card reader control device 288. There are four types of commands for the "status request" function that requests transmission.

【0352】また、カード発行制御装置790からユニ
ットコントローラ290に対するファンクションコード
としては、リセット時に年月日や識別コード等の初期値
を要求する「初期値要求」ファンクション、指示された
処理が正常に終了したことをユニットコントローラに知
らせる「正常終了」ファンクションおよび逆に正常に処
理が終了しなかったことを知らせる「異常終了」ファン
クション、ユニットコントローラに対して直前に送って
きたファンクションコードの再送を要求する「再送要
求」ファンクションとユニットコントローラ290から
の「ステータス要求」に対してカードリーダのステータ
スを送信するための「ステータス送信」ファンクション
の5種類がある。
As the function code from the card issuance control device 790 to the unit controller 290, an "initial value request" function for requesting an initial value such as a date, an identification code, etc. at the time of reset, and the instructed processing is normally completed. The "normal end" function that notifies the unit controller of the fact that it did, and conversely the "abnormal end" function that notifies that the processing did not end normally, and requests the unit controller to resend the function code sent immediately before. There are five types: 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.

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

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

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

【0356】[0356]

【表29】 [Table 29]

【0357】[0357]

【表30】 [Table 30]

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

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

【0360】なお特に限定されないが、上記コマンドを
示すコードはESCなる開始コードとCRなる終了コー
ドに挾まれて送信され、ESCとCRとの間にはコマン
ドコードの他に送信するデータが入ることがある。ま
た、カードリーダ制御装置288からカード御装置79
0への応答は、STXなる開始コードとCRなる終了コ
ードとの間に上記エラーの種類を示すコードまたはエラ
ーコードと要求されたデータを挾んで送信するようにな
っている。
It should be noted that, although not particularly limited, the code indicating the above command is sandwiched between a start code of ESC and an end code of CR and is transmitted. Between ESC and CR, data to be transmitted other than the command code must be inserted. There is. In addition, the card reader control device 288 to the card control device 79
As a response to 0, a code indicating the kind of error or an error code and the requested data are sandwiched between a start code STX and an end code CR.

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

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

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

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

【0365】手続き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 or not the reservation flag in the transmission data area of 0 is "0". If it is "1", it is as it is.
Card number reservation processing (procedures PC211 to PC22)
After executing 7), the procedure goes to the procedure PC 109.
However, when the procedure PC 109 is first visited, the reservation flag is set to "0" by the initialization of the procedure PC 101, and therefore the card number reservation process is first executed.

【0366】手続きPC109では、紙幣識別器210
からの紙幣挿入中信号BUSYをチェックして、紙幣の
挿入の有無を調べて、挿入がなければそのまま、また紙
幣の挿入があれば図68のカード購入処理(手続きPC
231〜PC264)を実行してから次の手続きPC1
10へ進む。
At the procedure PC 109, the bill validator 210
Check the banknote insertion signal BUSY from the card to check whether or not the banknote is inserted. If there is no banknote inserted, the banknote is inserted as it is, and if a banknote is inserted, the card purchase process (procedure PC
231-PC264) and then the next procedure PC1
Go to 10.

【0367】手続き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, and if there is an unprocessed packet, it remains as it is, and if there is an unprocessed packet, the packet reception processing (procedures PC 201 to PC 201 in FIG. 66).
After executing 209), the process proceeds to the procedure PC 111.

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

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

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

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

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

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

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

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

【0376】図67には、図65のフローにおけるカー
ド番号予約処理の具体的手順を示す。ここでは、先ずユ
ニットメモリ550内のモニタ情報1の初期値未設定ビ
ットが「1」か否か判定する(手続きPC211)。こ
こで、当該ビットが「1」なら未だ管理装置400から
初期値を受け取っていないので何もせずに元のルーチン
(図65)へ戻り、「0」なら手続きPC212へ進ん
で、金額、カード番号および発行通し番号を「0」とし
発行受付番号のみ入れた“カード購入”パケットを送信
する。なお、発行受付番号は、当該カード発行機200
における既発行回数に1を加算したものを使用する。管
理装置400においては、自己の管理下の全発行機にお
ける発行回数を加算して発行通し番号nを決定する。
FIG. 67 shows a concrete procedure of the card number reservation process in the flow of FIG. Here, it is first 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", the initial value has not yet been received from the management device 400, so the process returns to the original routine (FIG. 65) without doing anything. If the bit is "0", the procedure proceeds to the procedure PC 212 to set the amount and the card number. Also, the “card purchase” packet in which only the issuance receipt number is entered with the issuance serial number set to “0” is transmitted. The issuing receipt number is the card issuing machine 200
The value obtained by adding 1 to the already issued number of times is used. In the management device 400, the issue serial number n is determined by adding the issue counts of all issuers under its control.

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

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

【0379】また、手続き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 goes to procedure PC 219 to stop the watchdog pulse and reset it. On the other hand, when the received packet is “AC
If it is determined to be “K”, the procedure proceeds to the procedure PC 221, the reservation flag is set to all “1”, and then the “card issuance” function is transmitted to the card issuance control device 790 with the amount of money being “0”. (Procedure PC22
2).

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

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

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

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

【0384】紙幣識別器210に紙幣が挿入されたこと
を検知すると、ユニットコントローラ290は先ず紙幣
挿入ランプ223が点滅状態にあるか否かチェックし
(手続きPC231)、点滅中でないときは何もせずに
元のルーチン(図65)へ戻り、点滅中のときはPC2
32以下の手続きへ移行する。上記紙幣挿入ランプ22
3は、前述したカード番号予約処理中の手続きPC22
5または図72の強制終了解除処理中の手続きPC22
5で点滅が開始されるので、カード番号の予約処理終了
後または“強制終了解除”パケットを受信した後に当該
カード購入処理が実行されることになる。
When it is detected 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 in a blinking state (procedure PC231), and if it is not blinking, does nothing. Return to the original routine (Fig. 65), and if it is blinking, PC2
Move to procedure 32 or less. The banknote insertion lamp 22
3 is the procedure PC 22 during the above-mentioned card number reservation process
5 or procedure PC22 in the process of canceling forced termination in FIG. 72
Since the blinking starts at 5, the card purchase process is executed after the completion of the card number reservation process or after receiving the "forced termination cancellation" packet.

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

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

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

【0388】その後、購入選択スイツチ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 turned-on switch are turned off (procedures PC238 and PC239). Next, card issuing slot 2
02, the card issuance lamp 224 is started to blink, then it is determined whether there is change, and when there is change, the bill dispensing lamp 225 provided at the bill dispensing port 232 is started to blink. (Procedure PC240-PC2
42). In the card issuing machine of this embodiment, the bill validator 2
This is because the card that can identify 1,000 yen, 5,000 yen, and 10,000 yen is used as 10, and issuance cards can be issued in increments of 1,000 yen up to the equivalent of 5,000 yen.

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

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

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

【0392】また、時間内にパケットを受信すると、そ
のパケットが“NAK”か否か判定し、“NAK”のと
きは、手続きPC252へ移行してウォッチドッグパル
スの出力を停止させる。
Further, when the packet is received within the time, it is judged whether or not the packet is "NAK", and when it is "NAK", the procedure goes to the procedure PC 252 to stop the output of the watchdog pulse.

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

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

【0395】一方、カード発行指令後に「正常終了」フ
ァンクションが戻ってきたときは、手続きPC240で
点滅させたカード発行ランプ224を消灯させてから、
再び釣銭の有無を判定し、釣銭があるときは釣銭払出器
230に対して釣銭払出指令信号を与える(手続きPC
258〜PC260)。それから、手続きPC242で
点滅させた紙幣払出ランプ225を消灯させた後、ユニ
ットメモリ550の送信データエリア内の受入金額、預
かり金額および払出金額を演算して更新する(手続きP
C261,P262)。なお、釣銭がないときは手続き
PC259からPC262へジャンプして、元のルーチ
ン(図66)へ戻る。
[0395] On the other hand, when the "normal end" function returns after the card issuance command, the card issuance lamp 224 blinked on the procedure PC 240 is turned off, and then the
The presence / absence of change is determined again, and when there is change, a change payout command signal is given to the change dispenser 230 (procedure PC
258-PC260). Then, after turning off the bill dispensing lamp 225 blinked on the procedure PC 242, the receipt amount, the deposit amount and the dispensing 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 PC 259 jumps to the PC 262 and returns to the original routine (FIG. 66).

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

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

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

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

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

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

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

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

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

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

【0406】カード発行制御装置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, etc. are first cleared and initialized, and then a timer (ex. 10 seconds) is set to "initial value request". Send the function to the unit controller 290 (routines RN101 to RN101)
RN103). Next, it is checked whether the function from the unit controller 290 has been received, and if not received, it is determined whether the timer set in the routine RN102 has expired (routines RN104 and 105). Then, the routine RN 104, 10 is executed until the time is over.
Repeat 5 and if time is over, routine RN1
Return to 02 to reset the timer, and then send the "initial value request" function again. First, "initial value request"
This is because the unit controller 290 may not be ready for reception at the time of sending the function.

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

【0408】ルーチンRN106の判定で受信したファ
ンクションが「初期値送信」であったときは、ルーチン
RN108へ進み、ファンクションコードと一緒に送ら
れてきた年月日と識別コードとを内部メモリに記憶して
から同じく内部メモリに用意されたステータスレジスタ
の初期値未設定ビットをクリアし、「正常終了」ファン
クションをユニットコントローラ290へ送信する(ル
ーチンRN109,RN110)。
If the function received in the judgment of the routine RN106 is "send initial value", the process proceeds to the routine RN108, and the date and identification code sent together with the function code are stored in the internal memory. After that, 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, RN110).

【0409】しかる後、ルーチン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, and when the function is received, the routine proceeds to the routines RN112 to RN115 to judge which function has been received. If the function is the "send value" function, the identification code is stored and the "normal end" function is sent (routine RN1
16, RN117), and if it is a "card issuance" function, card issuance processing (routine RN1 of FIG. 75.
21 to RN129) are executed. When the received function is "retransmission request", the routine NR1
In step 18, the function transmitted last time is retransmitted, and when it is "status request", the "status request" function is transmitted in routine RN119. Routine R
Whether or not the function is the “send initial value” function is determined again in N112 when returning to the routine RN111 after execution of error processing (see FIG. 82) described later (reference V1).
Is taken into consideration.

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

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

【0412】ここで、カードがなければ次のルーチン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 of money in the "card issuance" function is "0", and if the result is YES, the card removal processing routines RN201 to RN212 shown in FIG. 76 are executed and then the reader control processing routines RN213 to R of FIG. 77.
N227, card inversion processing routine RN288 in FIG. 78
~ RN243, print 1 processing routine RN245 in FIG. 79
After executing ˜RN266, the “normal end” function is transmitted to the unit controller 290, and the original routine (FIG. 75) is returned to (routine RN129). As a result, after issuing one card from the card tank and writing the magnetic data, the issuing reservation process is executed in which the printing apparatus waits in a state in which all the data except the thousands digit of the purchase amount are printed.

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

【0414】一方、ルーチンRN121で印字装置75
0内にカード(予約カード)があると判定したときには
ルーチンRN124へ移行して、既に予約してあったカ
ードのカード番号と「カード発行」ファンクションによ
り送られてきたカード番号とを比較する。そして、カー
ド番号が一致しなかったときは、図81に示すスタック
処理RN281〜RN299を実行して予約中のカード
を没収タンク780へ収納してから、カード取出枚数と
スタックカード枚数を計数する2つのカウンタ795,
796を更新する(ルーチンRN125)。発行された
カードのデータと管理装置400内のカードファイルの
データとの不一致を回避するためである。その後、金額
が「0」か否かの判定を行ない(ルーチンRN12
6)、金額がゼロならルーチンR122の次のカード取
出処理RN201〜RN212から印字1処理RN24
5〜RN266までを実行してカードの発行予約処理を
実行する。また、ルーチンRN126で金額が「0」で
ないと判定したときは、カード取出処理RN201〜R
N212からカード排出処理RN268〜RN280ま
でを実行して、カード予約なしに直ちにカードを発行さ
せる。
On the other hand, in the routine RN121, the printer 75
When it is determined that there is a card (reserved card) in 0, the routine proceeds to routine RN124, and the card number of the already reserved card is compared with the card number sent by the "issue card" function. If the card numbers do not match, the stack process RN281 to RN299 shown in FIG. 81 is executed to store the reserved card in the confiscation tank 780, and then the number of taken out cards and the number of stacked cards are counted. Two counters 795
796 is updated (routine RN125). This is to avoid inconsistency between the issued card data and the card file data in the management device 400. After that, it is judged whether or not the amount is “0” (routine RN12
6) If the amount of money is zero, the next card removal processing RN201 to RN212 of the routine R122 is the print 1 processing RN24.
5 to RN266 are executed to execute the card issue reservation process. When the routine RN126 determines that the amount of money is not "0", the card removal processing RN201 to RN201-R
The card ejection processing RN268 to RN280 is executed from N212 to immediately issue the card without making a card reservation.

【0415】一方、上記ルーチンRN124でカード番
号が一致したときは、ルーチンRN127へ移行して金
額が「0」か否か判定する。ここで金額が「0」なら何
もせずにルーチンRN129へ移行して「正常終了」フ
ァンクションを送信し、金額が「0」でないときは図7
9の印字2処理(ルーチンRN126〜RN266)へ
移行してこれを実行した後、カード排出処理RN268
〜RN280を実行し、カード取出枚数カウンタを更新
してから「正常終了」ファンクションを送信する(ルー
チンRN128,RN129)。すなわち、ルーチンR
N127〜RN128までの手続きによって予約待機中
のカードに対する金額の千の桁の印字と排出が行われ
る。
On the other hand, when the card numbers match in the routine RN124, the process shifts to the routine RN127 and it is determined whether or not the amount is "0". If the amount is "0", nothing is done and the routine RN129 is directly executed to send the "normal end" function. When the amount is not "0", the process shown in FIG.
After the printing 2 processing 9 (routines RN126 to RN266) is executed and executed, the card ejection processing RN268 is executed.
~ RN280 is executed to update the card removal number counter and then the "normal end" function is transmitted (routines RN128, RN129). That is, the routine R
According to the procedure from N127 to RN128, the thousands digit of the amount of money is printed and discharged on the card waiting for reservation.

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

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

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

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

【0420】次にルーチン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 by the routine RN203 has timed out.
It is checked whether the traveling position sensor CPS1 is turned on (routines RN205 and RN206). First traveling position sensor CPS
When 1 is off, the routine RN206 is returned to and the timer check is repeated. Thus, the first traveling position sensor C
Wait for PS1 to turn on, and if the time is over before the sensor turns on, jump to routine RN211 and set the traveling position sensor 1 error bit in status 1 to "1", and then set the takeout device error bit in status 2 After setting to "1", the processing shifts to the error processing routine of FIG.

【0421】一方、タイムオーバーする前に第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 is executed.
7, the clutch solenoid 729 is turned off and the card is ejected from the tank to the roller 712.
Then, it is checked whether or not the timer set in routine RN203 has timed out (routine RN208). Then, this time the first traveling position sensor C
It is checked whether or not PS1 is turned off, and if the sensor is turned off within a predetermined time, it is determined that the card has been taken out from the card tank 701 and has been normally sent out, the take-out motor 719 is stopped, and the process is terminated to return to the original routine. Return to (FIG. 75). When the traveling position sensor CPS1 does not turn off within the predetermined time, it is determined that the card is jammed on the way, the routine RN211 is entered, and the traveling position sensor 1 abnormality bit of status 1 is set.

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

【0423】このフローでは、先ずタイマを設定してか
ら、そのタイマがタイムオーバーを起こす前に、カード
取出処理フロー中のルーチンRN202で送信した「磁
気書込み」コマンドに対する応答があったか否かチェッ
クする(ルーチンRN213〜RN215)。そして、
時間内に応答がなかったときはルーチンRN227へジ
ャンプしてステータス2のカードリーダ異常ビットを
「1」に設定してから図82のエラー処理ルーチンへ移
行する。
In this flow, first, the timer is set, and before the timer times out, 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 (routine RN213 to RN215). And
If there is no response within the time, the routine jumps to the routine RN227 to set the card reader error bit of status 2 to "1" and then shifts to the error processing routine of FIG.

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

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

【0426】また、所定時間内にカードリーダ制御装置
288からの応答を受信したときは、ルーチンRN22
6へ進みその応答が正常か否かチェックし、異常がある
とタイムオーバーのときと同様にルーチンRN227へ
ジャンプし、エラー処理を実行する。一方、応答が正常
なら元のルーチン(図75)へ戻る。
When a response is received from the card reader controller 288 within a predetermined time, the routine RN22
It proceeds to step 6 to check whether or not the response is normal, and if there is an abnormality, it 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).

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

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

【0429】一方、所定時間内に第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, within the predetermined time, the second traveling position sensor C
When PS2 is turned on, routines RN232 and RN2
If the second traveling position sensor CPS is reached before the timer set in the routine RN229 times out in 33.
Check if 2 is off. If the second traveling position sensor CPS2 is turned off, it means that the card has passed the traveling path switching piece 745. Therefore, when the second traveling position sensor CPS2 is not turned off within the time, the routine RN242 is executed.
After jumping to, the jam error bit of status 1 is set to "1", and the card transport error bit of status 2 is set to "1" by the routine RN243, and then the routine proceeds to the error processing routine of FIG.

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

【0431】搬送モータ逆転後、カード発行制御装置7
90は、ルーチンRN234でセットしたタイマがタイ
ムオーバーを起こす前に第2走行位置センサCPS2が
再びオンしたか否かチェックする(ルーチンRN23
6,RN237)。そして、時間内に第2走行位置セン
サCPS2がオンしなかったときはルーチンRN242
へジャンプしてステータス1のジャム異常ビットに
「1」を、またルーチンRN243でステータス2のカ
ード搬送異常ビットに「1」をそれぞれ設定してから図
82のエラー処理ルーチンへ移行する。
After the reverse rotation of the transport motor, the card issuing control device 7
90 checks whether or not 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 is executed.
After jumping to, the jam error bit of status 1 is set to "1", and the card transport error bit of status 2 is set to "1" by the routine RN243, and then the routine proceeds to the error processing routine of FIG.

【0432】一方、所定時間内に第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, within the predetermined time, the second traveling position sensor C
When PS2 is turned on, routines RN238 and RN2
The second traveling position sensor CPS before the timer set in the routine RN234 expires after shifting to 39.
Check if 2 is off. When the second traveling position sensor CPS2 is not turned off within the time, the routine jumps to the routine RN242 and sets the jam abnormality bit of status 1 to "1", and the routine RN243 sets the card transportation abnormality bit of status 2 to "1". . "Respectively, and then shifts to the error processing routine of FIG. Further, when the second traveling position sensor CPS2 is turned off within the predetermined time, the routine proceeds to routines RN240 and RN241, and whether the third traveling position sensor CPS3 is turned on before the timer set in the routine RN234 times out. If the sensor is turned on within the time, the process returns to the original routine (FIG. 75).

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

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

【0435】また、タイムオーバーを起こす前に第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 is over, the routine RN is executed.
After proceeding to 248 and rotating the printing motor 751,
3rd travel position sensor CPS before the time runs out
3 is turned off (routine RN24)
9, RN250). Here, when the time is over, the routine jumps to the routine RN265 and shifts to the error processing, and when the third traveling position sensor CPS3 is turned off within a predetermined time, the conveyance motor 706 driven by the routine RN235 in FIG. 78 is stopped. Then, it is checked whether or not the fourth traveling position sensor CPS4 is turned off before the time is over (routines RN251 to RN253). When the time is over here, the routine jumps to the routine RN265 as in the above. On the other hand, when the fourth traveling position sensor CPS4 is turned off before the time is over, the routine proceeds to routine RN254, where the print head elevating motor 758 is operated,
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”, with the print head 756,
It is determined whether or not the amount data sent together with the "issue card" function code is "0" (routine RN
255-RN258).

【0436】そして、金額が「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 of money is "0", the routine R
After shifting to 259, the printing motor 751 is stopped while the print head 756 is lowered to stop the movement of the card, and the printing apparatus 750 is made to stand by. If the amount of money is not "0", the routine proceeds to the routine RN261 to print the number of thousands of digits of the amount of money, and then the head lifting motor 7
58 is rotated 180 ° again to raise the print head 756, and a new timer is set (routine RN26
2). After that, it is checked whether or not the fifth traveling position sensor CPS5 is turned on before this timer times out (routines RN263 and RN264). When the time is over, the routine proceeds to routine RN265 and the jam error bit of status 1 is set. After setting "1" and the printer error bit of status 2 to "1", the process proceeds to the error processing of FIG. On the other hand, when the fifth traveling position sensor CPS5 is turned on before the time is over, the process returns to the original routine (FIG. 75).

【0437】さらに、このフローには図75における印
字2処理も示されている。すなわち、図75のカード発
行処理において印字装置750内に予約カードが待機し
ているときに「カード発行」ファンクションを受信し、
その中のカード番号が待機中の予約カードのカード番号
と一致し、かつ金額が「0」でなかったときはいきなり
図79のルーチンRN260で印字用モータ751を始
動させてカードを移動させ、以下ルーチンRN261〜
RN264を実行することで、やり残していた金額の千
の桁の数字の印字を行なってから図75のルーチンへ戻
ってカード排出処理へ移行する。これによって、カード
発行機200に実際に紙幣を投入したときは、図79の
ルーチンRN245〜RN258の実行を省略し、既に
金額の千の桁以外の印字までを終了した予約カードに1
字だけ印字して直ちに排出することで紙幣投入からカー
ド排出までの見掛け上の所要時間を大幅に短縮すること
ができる。
Further, the print 2 process in FIG. 75 is also shown in this flow. That is, in the card issuing process of FIG. 75, when the reservation card is waiting in the printing device 750, the “card issuing” function is received,
When the card number therein is the same as the card number of the reservation card waiting and the amount of money is not "0", the printing motor 751 is suddenly started by the routine RN260 of FIG. 79 to move the card. Routine RN261-
By executing RN264, the number of thousands of the amount of money left unprinted is printed, and then the process returns to the routine of FIG. 75 and shifts to the card ejection process. As a result, when the banknotes are actually inserted into the card issuing machine 200, the execution of the routines RN245 to RN258 in FIG. 79 is omitted, and the reservation card which has already finished printing other than the thousands digit of the amount of money is 1
By printing only the letters and ejecting them immediately, the apparent time required from bill insertion to card ejection can be greatly reduced.

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

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

【0440】これによって、印字装置750から送り出
されたカードは導出装置770内を通ってカード発行口
202へ向かって移送される。そして、ルーチンRN2
70でセットしたタイマがタイムオーバーを起こす前に
第5走行位置センサCPS5がオフしたときは印字装置
750内の印字用モータ751を停止させる(ルーチン
RN271〜RN273)。既にカードが印字装置75
0から送り出されているからである。また、第5走行位
置センサCPS5がオフする前にタイムオーバーを起こ
したときはルーチンR279,RN280へ移行してス
テータス1のジャム異常ビットとステータス2のカード
搬送異常ビットにそれぞれ「1」を設定してから図82
のエラー処理へ移行する。
As a result, the card sent out from the printing device 750 is transferred to the card issuing port 202 through the inside of the drawing device 770. Then, the routine RN2
When the fifth traveling position sensor CPS5 is turned off before the timer set at 70 times out, the printing motor 751 in the printing device 750 is stopped (routines RN271 to RN273). Card is already printing device 75
This is because it is sent from 0. If the time-out occurs before the fifth traveling position sensor CPS5 is turned off, the routine goes 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 to error processing of.

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

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

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

【0444】カード発行制御装置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 issuing control device 790 executes routine R
When 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 stack processing is executed, and the head lifting motor 758 of the printing device 750 is first set. 1
The print head 756 is raised by rotating it by 80 ° (routine RN281). Then, a timer is set, the printing motor 751 is rotated to start the transfer of the card, and then the timer is checked (routines RN282 to RN).
285). Then, when 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 the card is jammed in the printing device 750, and the routine proceeds to routines RN296 and RN297 and the status 1 82 is set to the jam error bit and the printer error bit of status 2 respectively, and the process proceeds to the error process of FIG.

【0445】また、タイマがタイムオーバーを起こす前
に第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 times out, the routine proceeds to routine RN286, reversely rotates the carry motor 706, and starts carrying the carry belt 772 of the card drawer 770. Then, set a new timer. Then, when this timer is checked and a time-over occurs before the fifth traveling position sensor CPS5 is turned off, the routine jumps to routines RN298 and R299 to set the jam error bit of status 1 and the card confiscation device error bit of status 2 respectively. After setting "1", the processing shifts to the error processing of FIG. 82 (routines RN288, RN289).

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

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

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

【0449】この処理では、先ずカード発行装置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 process, first, the card issuing device 700
All the motors in the inside (take-out motor 719, conveyance motor 7
06, printing motor 751 and head lifting motor 75
8) is stopped and then the "abnormal end" function is transmitted to the unit controller 290 (routine RN1)
51, RN 152). Next, the unit controller 29
It is determined whether the function is transmitted from 0 (routine RN153), and when the function is not received, it is determined whether the error is recovered by checking the sensor in the card issuing device 700 (routine RN154). ), Routine RN15 when not restored
Wait for the error to recover by returning to 3. When the cause of the error disappears while the card stuck in the card issuing device 700 is removed while waiting for recovery, the routine RN155 is entered and each abnormal bit of statuses 1 and 2 is cleared to "0". Then, routine RN156
After that, the counters 795 and 796 for counting the number of taken out cards and the number of forfeited cards are updated, and the routine RN111 in the main processing flow (FIG. 74) is returned to (reference V).
1).

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

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

【0452】次に、カード発行制御装置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.
~ It demonstrates using FIG. The flow of this embodiment can be commonly used for any control flow, assuming that the same card reader as the issuing machine is used for the settlement machine 300 and the management device 400.

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

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

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

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

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

【0458】カードリーダ制御装置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 is changed to low level, as shown in FIG. 68, first, various internal flags, counters, buffers, work areas, registers, etc. are stored in the internal memory. Is cleared (routine R1101). Then, after setting the stack pointer when an interrupt occurs, initializing the I / O port and setting the status of the input / output terminals, the setting code is read from the device code setter MCS and stored, and then the card transport motor is set. Turn on relay RLY1 that supplies power to 807 (routines R1102-R
1105).

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

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

【0461】精算機300においては、“開店コード”
パケットの受信に基づいてカード精算制御装置312に
「カード受付可」ファンクションが送られて、カード精
算制御装置312から「磁気読込み」コマンドがカード
リーダ制御装置388に送られてくると、ルーチンR1
110で受信ありと判定されてルーチンR1111へ進
み、コマンド先頭の“ESC”が検出されてルーチンR
1118へジャンプしてR1121まで進みコマンドの
種類が判定されることで図84の磁気読込み処理へ移行
して、ルーチンR1202から更に図93のカード読取
処理を実行し、このフローの中で挿入検出スイッチがオ
フの間はカード読込みは行われず“カード未読込み”フ
ラグがセットされてルーチンR1203からR1204
へ移行して“カード挿入待ち”フラグをセットして図8
3のルーチンR1122→R1117へ移行し、ここで
再び図84の処理へ移行する。つまり、カードが挿入さ
れるのをずっと待ち、挿入時点で図94のカード読取処
理を実行するようになる。
In the settlement machine 300, "opening code"
When the "card accept" function is sent to the card settlement controller 312 based on the reception of the packet and the "card 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 there is a reception, and the routine proceeds to R1111, where "ESC" at the beginning of the command is detected and the routine R
By jumping to 1118 and proceeding to R1121 to determine the type of command, the process moves to the magnetic reading process in FIG. 84, and the card reading process in FIG. 93 is further executed from routine R1202. While is off, no card is read and the "card not read" flag is set and routines R1203 to R1204
8 and set the "card insertion wait" flag to
The routine shifts to the routine R1122 → R1117 of No. 3, where the routine again shifts to the processing of FIG. That is, it waits until the card is inserted, and the card reading process of FIG. 94 is executed at the time of insertion.

【0462】一方、ルーチン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 the command has been received and 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 sent command. Unlike the other communication commands, the cancel command "CAN" does not have the head code ESC and the end code CS, and is sent as the command code itself, so that such a determination can be made. If the received command is not "CAN" in the routine R112, the routine proceeds to the routine R1117, and if it is "CAN", the next routine R11 is executed.
Go to step 13, set the "card insertion prohibited" flag, turn off the card holding lamp, set a code indicating normal termination in the transmission buffer, execute the transmission process of FIG. After transmitting to the device 790, clear the "wait for card insertion" flag and execute routine R
Return to 1110. As a result, the card insertion waiting state by the "magnetic read" command transmitted from the card issuing control device 790 before that is canceled.

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

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

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

【0466】このコマンドを受信すると、先ず「磁気書
込み」コマンドとともにアスキーコードの形で送られて
きた磁気記録データを内部処理に適したバイナリコード
に変換して内部メモリの磁気データバッファに記憶して
から、当該磁気データバッファの先頭に磁気データの先
頭を示す先頭コード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. From the above, a head code STX (see FIG. 4) indicating the head of the magnetic data is inserted at the head of the magnetic data buffer, and next to the magnetic recording data in the magnetic data buffer (21st when the number of magnetic data is 20) ) Into the ETX code indicating the end of the data (routines R1231 to R123
3). Next, after setting the number of magnetic data to be written (22 including 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 ( Routines R1234, R1235).

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

【0468】なお、ルーチン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)参照)。
Note that the routine R1236 first sets the STX code (0BH) in the register A.
In the first exclusive OR calculation (routine R1238), the same data are calculated, the result is all “0”, and the same result as when STX is not included in the calculation of LRC is obtained, Achieve your initial goals. In the processing of routines R1237 to R1248, LRC
On bit (“1”) in each read data at the same time
Number of bits) is an odd number or an even number, and if it is an even number, the parity bit in each data is set to “1” and saved in the data buffer to add the parity (odd parity) bit as well. (Routines R1239 to R1241). After the above 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 and ETX and LRC are sandwiched by two STX codes (see FIG. 4).

【0469】次に、レジスタAに残ったデータ(LC
R)のオンビット数が偶数か奇数か判定し、偶数のとき
にのみパリティビットを“1”に設定してLRC自身に
もパリティビットを付加し、磁気データバッファ内の所
定の位置(23文字目)に入れる(ルーチンR1246
〜R1248)。
Next, the data (LC
R) determines whether the number of on-bits is an even number or an odd number, sets the parity bit to "1" only when it is an even number, adds the parity bit to the LRC itself, and sets it at a predetermined position (23 characters) in the magnetic data buffer. Put in eye (routine R1246)
~ R1248).

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

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

【0472】「ステータス要求」コマンドを受信する
と、内部メモリ内に保持されている機器コードとステー
タス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 held in the internal memory and the contents of status 1 are transferred to the transmission buffer, and a code indicating the end of the command is sent to the next address of the final data in the transmission buffer. C
After setting R, STX is set as transmission data and is first transmitted (routines R1261 to R126).
4). Thereafter, the address of the transmission buffer is set in a counter, 1-byte data is read from the transmission buffer using the address, the data is transmitted, and then the address of the transmission buffer is updated (routine R1265).
~ R1268). Then, it is determined whether or not the CR code is transmitted, and if NO, the routine 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).

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

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

【0475】このコマンドを受信すると、コマンドとと
もに送られてきた穴開け箇所を示すデータ(この場合に
は発行穴)に基づいて、初期化ルーチン等で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 punched hole position set in the RAM in the initialization routine or the like, based on the data indicating the holed portion (issued hole in this case) sent together with the command. The distance from the position is read from the ROM and stored in the buffer (routine R1
291) and then the perforating process (R311 to R3 in FIG. 99).
52) is executed. Then, the "punch OK" flag is checked to determine whether or not the hole has been punched reliably (routine R1292). If the answer is YES, a normal response command is set in the transmission buffer (routine R1293), and the routine shown in FIG.
If the result is NO, the punch failure bit of status 1 is set to "1", the punch abnormality is written in the error information, and then the routine proceeds to the error processing routine of FIG. 101 (routines R1294, R1295).

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

【0477】このコマンドを受信すると先ず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 set first, and the motor 807 is normally rotated at high speed (routines R1401 and R1402). Then, it is checked whether the timer set in the routine R1401 has timed out, and then it is checked whether the rearmost position detection sensor SNS4 in the card reader is turned on (routine R1403, R1404). Then, if the time-out occurs before the position detection sensor SNS4 is turned off, the routine jumps to a routine R1413 to stop the motor 807 and then checks whether all the sensors are turned off (routine R1414). Here, if even one of the sensors in the card reader is turned on, the card jam bit of status 1 is set to "1", the card jam error as error information is written, and then the error processing routine of FIG. 101 is performed. Transition. When all the sensors are off in routine R1414, it is considered that the discharge is completed, and the routine jumps to routine R1407.

【0478】一方、ルーチン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 detection sensor SNS
4 turns off, wait 0.4 seconds and then turn on the motor 807.
Is stopped (routine R1403). The card reversing device 740 behind the card reader is driven, and the card reader 8
This is to wait for the card sent from 00 to start being conveyed by the card reversing device 740.

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

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

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

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

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

【0484】この処理では、先ずカードの後端をカード
リーダ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 start address of the magnetic data buffer containing the magnetic recording data in the address counter, the motor 807 is rotated at high speed to turn on the write permission signal for the magnetic head 821 (high level).
(Routines R1303 to R1305). afterwards,
The erase data "0" for setting the no-data area at the beginning and the end of the track TRC2 of the magnetic data recording unit is set, the timer of 200 msec is set, and then the "write interrupt" flag is set to "1". Set and start a write interrupt every 806 μs (routines R1306 to R130
8). The write interruption comes in every 806 microseconds (when the card transport speed is 300 mm / S) by the detection signal from the encoder that detects the rotation of the motor 807.

【0485】次に、ルーチンR1307でセットしたタ
イマをチェックしてから、ライトクロックデータを反転
し“書込み待ち”フラグを“1”にセットして、このフ
ラグが図104の書込割込み処理で“0”にクリアされ
るのを待つ(ルーチンR1309〜R1312)。そし
て、磁気ヘッド821の少し後方位置に配置された位置
検出センサSNS3がオンしたか否かチェックして(ル
ーチンR1313)、オフならルーチンR1309へ戻
って、センサSNS3がオンするまで上記手順を繰り返
す。上記ループを繰り返すことにより、806μ秒に一
度ずつ書込割込みが実行される度に、ライトクロックデ
ータが反転される。これによって、磁気ヘッドによるカ
ードの磁気部への磁化方向が806μ秒ごとに反転さ
れ、2倍の1.612m秒を1周期とするクロックデータが
カードのトラックTRC1に書き込まれる。なお、上記
位置検出センサSNS3は、このセンサがカードの末端
を検出したときに磁気ヘッドがトラックTRC2のST
Xコード書込み開始位置にくるように取付け位置が決定
されており、センサSNS3がオンすると、次のルーチ
ンR1314へ進み磁気データの書込みを開始する。な
お、このセンサSNS3がオンする前にルーチンR13
07でセットしたタイマがタイムオーバーを起こすと、
カードが詰まったと判定して、ルーチンR1309から
R1336へジャンプしステータス1のカードジャムビ
ットに“1”を立てて、エラー情報にカードジャムを書
き込んでから図101のエラー処理ルーチンへ移行する
(ルーチンR1337)。
Next, after checking the timer set in the routine R1307, the write clock data is inverted, the "write wait" flag is set to "1", and this flag is set to "1" in the write interrupt processing of FIG. It waits until it is cleared to 0 "(routines R1309 to R1312). Then, it is checked whether or not the position detection sensor SNS3 arranged slightly behind the magnetic head 821 is turned on (routine R1313), and if it is turned off, the routine returns to 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 reversed every 806 μsec, and clock data having a double cycle of 1.612 msec as one cycle is written in the track TRC1 of the card. The position detection sensor SNS3 has a magnetic head which is located on the track TRC2 when the sensor detects the end of the card.
When the mounting position is determined so as to come to the X code writing start position and the sensor SNS3 is turned on, the routine proceeds to the next routine R1314 to start writing the magnetic data. Before the sensor SNS3 is turned on, the routine R13
If the timer set in 07 times out,
When it is determined that the card is jammed, the routine jumps from the routine R1309 to R1336, sets the card jam bit of status 1 to "1", writes the card jam in the error information, and then shifts to the error processing routine of FIG. 101 (routine R1337). ).

【0486】タイムオーバーを起こす前に位置検出セン
サ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-out occurs, the routine proceeds to routine R1314, where the number of bits (5 bits) of each data (including parity) is first set in the counter and then routine R1303.
1 byte (8 bits) of magnetic recording data is read from the magnetic data buffer by using the address set in step 1, is put into the shift register as the parallel-to-serial conversion means, and the address counter is incremented (routine R1315).
R1316). Then the data in the output buffer is
Bits and 1 bit are shifted to the left by 3 bits in total (routines R1317, R1318). As a result, the most significant bit of the 5-bit magnetic data comes to the left end of the shift register.

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

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

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

【0490】一方、ルーチン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 expires in routine R1329, the routine proceeds to routine R1334, where the write enable signal to the magnetic head 821 is turned off (low level), and then the motor 807 is rotated. 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 to set the card jam in the status 1 and the error information, and then to the error processing routine of FIG. Transition.

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

【0492】ここでは、先ずカードの後端がカードリー
ダ内の第1位置検出センサSNS1によって検出される
までモータ807を逆転させてカードを後退させてか
ら、1秒タイマをセットする(ルーチンR1341,R
1342)。それから、モータ807を高速正回転さ
せ、磁気データ数(ここではLRCの次のSTXコード
はチェックしないので23個でよい)を設定し、アドレ
スカウンタに磁気データバッファの2番目のアドレスを
セットする(ルーチンR1343〜R1344)。最初
のSTXコードをベリファイの対象から外すためであ
る。
Here, first, the motor 807 is reversely rotated 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 the one second timer is set (routine R1341, R
1342). Then, the motor 807 is rotated at a high speed in the forward direction to set the number of magnetic data (23 here since the STX code next to the LRC is not checked), and the second address of the magnetic data buffer is set in the address counter ( Routines R1343 to R1344). This is because the first STX code is excluded from the verification target.

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

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

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

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

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

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

【0499】なお、この実施例のカードリーダは第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 detecting sensors SNS2 and SNS3 is longer than the regular card length L0, and the second and third position detecting sensors SNS1 and SNS3. The distance L3 is the regular card length L0
Sensor distance is set to be shorter than
(See Figure 32). Therefore, during the 1-bit reading process shown in FIG. 98, the first to third position detection sensors SNS1 to S are detected.
A card size defect is detected by checking the output of NS3 (routines R584 to R5.
87).

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

【0501】この穴開け処理では、先ずカードをカード
リーダ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 this punching process, the card is first moved to the innermost position of the card reader 800 (routine R311) and the "punch OK" flag is cleared (routine R312).
After that, the motor is rotated in the reverse direction 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 enable 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), and the motor is completely To wait for 150 m seconds (routine R323) to wait until the punch device 820 is activated.
(Routines R324 to R327). Routine R323
~ R327 is repeated twice to ensure the punching (routine R328), the movement amount counter is cleared and the motor is reversed at high speed to open the punched hole to face the punch hole detection sensor SNSp. move. Then, it is judged whether or not the punch hole detection sensor is turned on, and when the punch hole is opened at the regular position, "Punch OK" is given.
After setting the flag, the first position detection sensor SNS
When 1 is turned on and the rear edge of the card is detected, the timer interrupt is stopped and the motor is stopped (routines R329 to R340).

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

【0503】図100には、図86の「磁気書込み」コ
マンド受信時の処理フロー、図90の「パンチ穴開け」
コマンド受信時の処理フロー、図91の「カード後方排
出」コマンド受信時の処理フローおよび図92の「カー
ド前方排出」コマンド受信時の処理フロー中における応
答コマンドの送信処理の具体的手順を示す。
FIG. 100 shows the processing flow when the “magnetic writing” command of FIG. 86 is received, and the “punching” of FIG. 90.
A specific procedure of a process of receiving a command, a process flow of receiving a “card rear ejection” command of FIG. 91, and a process of transmitting a response command in a process flow of receiving a “card front ejection” command of FIG. 92 will be described.

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

【0505】一方、図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. .

【0506】このエラー処理では、前記各フロー中で発
生したエラーの内容に応じて書き込まれたエラー情報に
対応するモニタ表示データすなわちエラー表示符号
(〔表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, that is, an error display code (see [Table 7]) corresponding to the error information written according to the content of the error occurred in each flow is read from the internal memory and Is displayed on the monitor display 175 to display the type of error (routines R1131, R1132). Then OK
The lamp is extinguished and 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 that, the card reader 80
After stopping the motor 807 inside 0, the shutter solenoid 809 is turned off to close the shutter to prohibit the card from entering, and then the 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. 83.
Return to 9 (see reference numeral V2).

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

【0508】既に述べたように、この実施例のカードリ
ーダ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 that detects the rotation speed of the motor 807 is input as an interrupt signal to the card reader control device 288, and the card reader control device 288 shown in FIG. 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 process flow, the timer 2 interrupt process of FIG. 101 is executed, and the routine 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.

【0509】なお、速度センサ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. .

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

【0511】また、タイマ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" in the timer 2 interrupt process, the routine proceeds to routine R702, where the movement amount counter is incremented, and then the "security reading in progress" flag is set in routine R703. Check if it is set, and if it is set, routine R7
04, it is determined whether the movement amount is 4.8 mm or more (when the "security reading" flag is "0",
03. Move to the punch hole reading routine). The "security reading" flag is set by the punch hole sensor S in the routine R523 during the card reading process of 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. Then, the first security mark is provided at a position more than 4.8 mm away from the start edge of the security area. Therefore, it is determined in routine R704 that the movement amount is 4.8 mm or more. 4.8
When it is less than mm, the interrupt processing is ended, and the movement amount counter is incremented again by the next timer 2 interrupt. When the amount of movement reaches 4.8 mm, the routine proceeds to routine R711, where the amount of movement and the RAM in routine R519 are first.
If it is within the reading range, it is determined whether the security code reading sensor is turned on. 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).

【0512】そして、コード読取センサがオフになった
時点でカウンタの値を調べ(ルーチンR714)セキュ
リティコードの幅が“0”ならコードなしと判定し、割
込み処理を終了する。一方、セキュリティの幅が“0”
でなければカウンタの幅をバッファに移してからカウン
タをクリアし、セキュリティ幅が0.5mm以上あるか否か
判定する(ルーチンR715,R716)。ここで、幅
が0.5mm以下なら異常とみなし、0.5mm以上ならシフトレ
ジスタとして動作されるセキュリティバッファの最上位
(または最下位)ビットに“1”を立てる。
Then, 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, the range of security is "0"
If not, the counter width is transferred to the buffer and then the counter is cleared to determine whether 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 considered to be 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.

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

【0514】上記ルーチンを繰り返すことにより、セキ
ュリティの読取数が「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へ進む。
When the number of security readings becomes "0" by repeating the above routine, the routine R722
From R to R714, the read security width is 0.5m
If m, write "1" to the most significant bit of the security buffer. After the security reading, the process moves to the magnetic data reading process, 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 of R is started, the routine R
The routine proceeds from routine 703 to routine R731 in FIG. 103, and it is checked if the punch hole detection sensor is on. If it is on, the routine for counting the punch hole width is incremented in routine R732 and the interrupt processing is ended. If the punch hole detection sensor is turned off at the next interrupt, the routine proceeds to routine R733 to check the punch hole width.
Here, when the width of the detected punch hole is 0.8 mm or more, it is regarded as a regular punch hole, and the highest (or the lowest) of the buffer (operating as a shift register) that stores the presence or absence of the punch in routine R734. ) After writing "1" to the bit, or when the width of the punch hole is 0.8 mm or less, the punch hole width counter is cleared in routine R735, and then the routine proceeds to routine R736.

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

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

【0517】一方、図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, when the "write interrupt start" flag is set in the routine R1308 in the write processing flow of FIG. 96 and a detection signal comes in every 806 μS from the rotation detection sensor 832 of the motor 807 of the card reader. , The write interrupt process of FIG. 104 is started, and first, as shown in FIG.
Routine R1310 or R in the flow of 6
The write clock data set in 1330 or the write data and write clock data set in routines R1320 and R1321 is output (routine R75
1). Then, the "write wait" flag set in the routine R1311, R1322 or R1331 is cleared and the write interrupt processing is finished (routine R75.
2).

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

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

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

【0521】[0521]

【発明の効果】以上説明したようにこの発明は、金銭も
しくは遊技価値と実質的に等価な有価データが付与され
遊技に使用される記憶媒体を発行可能な遊技用記憶媒体
発行装置において、記憶媒体を発行可能な状態にあるこ
とを可視表示する発行可能表示手段と、紙幣を投入可能
な紙幣挿入口と、投入された紙幣の金額を判別する紙幣
判別手段と、該紙幣判別手段により読み取られた金額を
表示する投入金額表示手段と、発行される記憶媒体の購
入金額を指定する複数の購入選択操作手段と、該購入選
択操作手段により指定された金額に相当する有価データ
を有する記憶媒体を排出する記憶媒体発行口とを設ける
ようにしたので、金額の異なる複数のカードの中から遊
技者の希望する金額の記憶媒体を購入することができる
ようになるという効果がある。
As described above, the present invention is a storage medium issuing device for a game, which is capable of issuing a storage medium to which valuable data substantially equivalent to money or a game value is added and which is used for a game. Issuable display means for visually displaying that it is in an issuable state, a bill insertion slot into which a bill can be inserted, a bill discriminating means for discriminating the amount of the inserted bill, and the bill discriminating means. Ejection amount display means for displaying the amount of money, a plurality of purchase selection operation means for specifying the purchase amount of the storage medium to be issued, and a storage medium having valuable data corresponding to the amount specified by the purchase selection operation means is ejected. Since the storage medium issuing port is provided, it becomes possible to purchase the storage medium of the amount desired by the player from a plurality of cards having different amounts of money. There is a result.

【0522】また、発行可能表示手段を備えまた購入選
択操作手段内に表示手段が設けられることにより、極め
て操作性に優れるとともに装置がどのような状態になっ
ているか外部から容易に視認できるようになるという効
果がある。
[0522] Further, by providing the issuable display means and the display means in the purchase selection operation means, the operability is extremely excellent and the state of the apparatus can be easily visually recognized from the outside. There is an effect that.

【0523】さらに、上記投入金額表示手段に表示され
た金額と上記購入選択操作手段により指定された金額と
の差に対応した残金を排出する残金払出手段を設けたの
で、額面の大きな紙幣を使用することができるようにな
り、遊技客による記憶媒体購入の際の便宜性を向上させ
ることができる。
Further, since the balance payout means for discharging the balance corresponding to the difference between the amount displayed on the input amount display means and the amount designated by the purchase selection operation means is provided, a banknote having a large denomination is used. As a result, it is possible to improve convenience when a player purchases a storage medium.

【0524】また、記憶媒体発行口を一つにし、当該発
行口から保有する有価データの異なる記憶媒体を排出可
能に構成したので、金額の異なる記憶媒体ごとに発行口
を設ける場合に比べて、装置全体を小型化することがで
きる。
[0524] Further, since the storage medium issuance port is made one and the storage medium having different valuable data held can be discharged from the issuance port, as compared with the case where the issuance port is provided for each storage medium having a different amount of money, The entire device can be downsized.

【図面の簡単な説明】[Brief description of 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】カード内の真偽識別領域の構成例を示す説明図
及びカードの断面構造の一例を示す断面図である。
3A and 3B are an explanatory view showing a configuration example of a genuine / counterfeit identification area in a 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 a card.

【図5】遊技システムを構成するパチンコ機全体の構成
例を示す斜視図である。
FIG. 5 is a perspective view showing a configuration example of the entire pachinko machine that constitutes 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 the internal structure of the operation panel section.

【図9】パチンコ機の裏面の封入球循環装置の構成例を
示す斜視図である。
FIG. 9 is a perspective view showing a configuration example of a sealed ball circulation device on the back surface 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 hitting ball launch rail base.

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

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

【図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 the back 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 a pachinko machine and a 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 in which a pachinko machine and a control unit are installed in the island facility.

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

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

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

【図25】パチンコ機制御ユニットの回路構成例を示す
ブロック図である。
FIG. 25 is a block diagram showing 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 sectional side view showing details of the 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 a 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 the sensor when the card is inserted.

【図34】カードリーダ制御装置の回路構成例を示すブ
ロック図である。
FIG. 34 is a block diagram showing 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 the data reading / writing timing of the card reader.

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

【図38】発行機の前面パネルを開いた状態を示す斜視
図である。
FIG. 38 is a perspective view showing a state where the 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 a configuration of a card take-out device that constitutes the card issuing device.

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

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

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

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

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

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

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

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

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

【図51】管理装置のコンソールの構成例を示す平面図
および背面図である。
51A and 51B are 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 game system of the present invention.

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

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

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

【図56】“初期値設定”パケットの構成図である。[Fig. 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 its response “AC”
It is a block diagram of a K "packet.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

【図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 front ejection” command.

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

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

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

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

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

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

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

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

【図101】図84〜図92の制御フローにおいてエラ
ーが発生したときのエラー処理の具体的手順を示すフロ
ーチャートである。
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 timer interrupt processing procedure of magnetic reading 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 Suspend switch 115 End 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 issuing device 700 Card issuing device 710 Card removal Device 740 Card reversing device 750 Printing device 770 Card derivation device 300 Settling machine 400 Management device 550 Unit memory 551 Data transmission controller 553 Network controller 800 Card reader 802 Card insertion / ejection port 807 Conveyance motor 809 Shutter solenoid 820 Punch device 821 Magnetic head

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 金銭もしくは遊技価値と実質的に等価な
有価データが付与され遊技に使用される記憶媒体を発行
可能な遊技用記憶媒体発行装置において、 記憶媒体を発行可能な状態にあることを可視表示する発
行可能表示手段と、紙幣を投入可能な紙幣挿入口と、投
入された紙幣の金額を判別する紙幣判別手段と、該紙幣
判別手段により読み取られた金額を表示する投入金額表
示手段と、発行される記憶媒体の購入金額を指定する複
数の購入選択操作手段と、該購入選択操作手段により指
定された金額に相当する有価データを有する記憶媒体を
排出する記憶媒体発行口とを設けたことを特徴とする遊
技用記憶媒体発行装置。
1. A game storage medium issuing device which is capable of issuing a storage medium to which valuable data substantially equivalent to money or a game value is added and which is used for a game, is capable of issuing the storage medium. Issuable display means for visually displaying, bill insertion slot into which bills can be inserted, bill discriminating means for discriminating the amount of bills inserted, and inserted amount display means for displaying the amount read by the bill discriminating means. A plurality of purchase selection operation means for designating the purchase amount of the storage medium to be issued, and a storage medium issuing port for ejecting the storage medium having valuable data corresponding to the amount designated by the purchase selection operation means are provided. A game storage medium issuing device characterized by the above.
【請求項2】 上記購入選択操作手段はそれぞれ内部に
表示手段を備え、これらの表示手段は上記投入金額に対
応して点灯されるように構成されていることを特徴とす
る請求項1に記載の遊技用記憶媒体発行装置。
2. The purchase selection operation means is provided with a display means inside thereof, respectively, and these display means are configured to be turned on corresponding to the amount of money to be inserted. Game storage medium issuing device.
【請求項3】 上記投入金額表示手段に表示された金額
と上記購入選択操作手段により指定された金額との差に
対応した残金を排出する残金払出手段を備えていること
を特徴とする請求項1または請求項2に記載の遊技用記
憶媒体発行装置。
3. A balance payment means for discharging the balance corresponding to the difference between the amount displayed on the input amount display means and the amount designated by the purchase selection operation means. The game storage medium issuing device according to claim 1 or claim 2.
【請求項4】 上記記憶媒体発行口は一つであり、当該
発行口から保有する有価データの異なる記憶媒体が排出
可能に構成されていることを特徴とする請求項1、2ま
たは3に記載の遊技用記憶媒体発行装置。
4. The storage medium issuing port is one, and the storage medium having different valuable data held from the issuing port is configured to be ejectable. Game storage medium issuing device.
JP27365495A 1995-09-27 1995-09-27 Storage medium issuing device in a game arcade Expired - Fee Related JP2724558B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27365495A JP2724558B2 (en) 1995-09-27 1995-09-27 Storage medium issuing device in a game arcade

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27365495A JP2724558B2 (en) 1995-09-27 1995-09-27 Storage medium issuing device in a game arcade

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
JPH08112432A true JPH08112432A (en) 1996-05-07
JP2724558B2 JP2724558B2 (en) 1998-03-09

Family

ID=17530706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27365495A Expired - Fee Related JP2724558B2 (en) 1995-09-27 1995-09-27 Storage medium issuing device in a game arcade

Country Status (1)

Country Link
JP (1) JP2724558B2 (en)

Also Published As

Publication number Publication date
JP2724558B2 (en) 1998-03-09

Similar Documents

Publication Publication Date Title
JP2724556B2 (en) Game storage medium issuing device
JP2709417B2 (en) Game storage medium issuing device
JP2724557B2 (en) Game storage medium issuing device
JP2724558B2 (en) Storage medium issuing device in a game arcade
JP2728649B2 (en) Game storage medium issuing device
JP2767007B2 (en) Storage medium issuing device
JP2767006B2 (en) Amusement store equipment
JP2700504B2 (en) Storage medium issuing device in a game arcade
JP2709418B2 (en) Storage media payment device
JP2784956B2 (en) Amusement store equipment
JP2779607B2 (en) Amusement store equipment
JP2767008B2 (en) Gaming equipment
JP2784958B2 (en) Game equipment
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
JP2663204B2 (en) Game equipment
JP2784957B2 (en) Amusement store equipment
JP2663208B2 (en) Game equipment
JP2663209B2 (en) Gaming equipment management equipment
JP2663205B2 (en) Game equipment
JPH08112430A (en) Storage medium type game device
JPH08103554A (en) Memory medium type game equipment

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