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

JP2767006B2 - Amusement store equipment - Google Patents

Amusement store equipment

Info

Publication number
JP2767006B2
JP2767006B2 JP2317022A JP31702290A JP2767006B2 JP 2767006 B2 JP2767006 B2 JP 2767006B2 JP 2317022 A JP2317022 A JP 2317022A JP 31702290 A JP31702290 A JP 31702290A JP 2767006 B2 JP2767006 B2 JP 2767006B2
Authority
JP
Japan
Prior art keywords
card
data
settlement
controller
routine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2317022A
Other languages
Japanese (ja)
Other versions
JPH03222981A (en
Inventor
吉平 新山
広司 伊東
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sofia Inc
Original Assignee
Sofia Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sofia Inc filed Critical Sofia Inc
Priority to JP2317022A priority Critical patent/JP2767006B2/en
Publication of JPH03222981A publication Critical patent/JPH03222981A/en
Application granted granted Critical
Publication of JP2767006B2 publication Critical patent/JP2767006B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)
  • Pinball Game Machines (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はパチンコ機あるいはアレンジボール、スロッ
トマシン等の遊技装置に用いられる記憶媒体の価値情報
の精算処理に関し、特に記憶媒体精算装置と管理装置と
を通信可能に構成してなる遊技店設備装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a settlement process for value information of a storage medium used in a game machine such as a pachinko machine, an arrangement ball, a slot machine, etc., and more particularly to a storage medium settlement device and a management device. And a game arcade facility device configured to be able to communicate with each other.

[従来の技術] パチンコ遊技システムにおいては、遊技客の獲得した
賞品玉数を計数したり、その玉数に相当する景品と交換
可能な有価価値を有するレシートを発行するため精算機
が設けられている。
[Prior Art] In a pachinko gaming system, a payment machine is provided for counting the number of prize balls acquired by a player or issuing a receipt having a valuable value that can be exchanged for a prize corresponding to the number of balls. I have.

現在、最も一般的な精算機は遊技客の獲得した賞品球
そのものを計数して玉数を印字したレシートを発行する
形式のものであり、そのような精算機は一般に遊技店の
店員が常駐する景品交換コーナーのカウンタ上に設置さ
れていた。
Currently, the most common payment machines are those that count the prize balls themselves obtained by the player and issue a receipt printed with the number of balls, and such payment machines are generally resident at the amusement store clerk It was installed on the counter at the prize exchange corner.

[発明が解決しようとする課題] 従来の精算機は、景品交換コーナーのカウンタ上に置
かれるため、複数の精算機を置いた場合カウンタ上の空
きスペースが極端に狭くなって景品交換作業に支障を来
たす。そのため閉店時等多数の遊技客が同時に精算、景
品交換に訪れた場合、迅速な対応が困難となって、遊技
客を待たせる時間が長くなるという不都合があった。ま
た、遊技客への対応を円滑にするためには、カウンタの
数を増やさなくてはならないので、店内でのカウンタ占
有面積が増加し、限られたスペースの有効利用が困難と
なっていた。
[Problems to be Solved by the Invention] Since the conventional checkout machine is placed on the counter at the prize exchange corner, if a plurality of checkout machines are placed, the empty space on the counter becomes extremely narrow, which hinders the prize exchange work. Come. For this reason, when a large number of players visit for payment and prize exchange at the same time, such as when the store closes, it is difficult to respond quickly and there is an inconvenience that the time for waiting for the players becomes longer. In addition, the number of counters must be increased in order to smoothly deal with the players, so the area occupied by the counters in the store increases, making it difficult to use limited space effectively.

ところで、近年、落下しやすいパチンコ球を大量に持
ち運ぶ手間を軽減するため、記憶媒体式遊技設備の一例
としてカード式遊技システムが提唱されている。
By the way, in recent years, a card-type gaming system has been proposed as an example of a storage medium-type gaming facility in order to reduce the trouble of carrying a large amount of pachinko balls that easily fall.

このようなカード式の遊技システムにおいては、同一
のカードの2重精算やカードの偽造等による不正なカー
ド精算を有効に防止することが必要となる。しかしなが
らカード式遊技システムの場合、未使用分の金額の精算
を行うため、精算機には現金がストックされている場合
や、回収したカードをストックするタンクが設けられる
場合も有る。
In such a card-type gaming system, it is necessary to effectively prevent an illegal card settlement due to double settlement of the same card, counterfeiting of the card, and the like. However, in the case of the card-type gaming system, in order to settle the amount of money that has not been used, the adjusting machine may have a stock of cash or a tank for storing the collected cards.

このように現金やカードが多量にストックされる精算
機が遊技店内の隅の方に置かれたりすると、盗難のおそ
れが生じる。従って、カード式システムにおいても、精
算機は店員が常駐する景品交換コーナーに設置されるの
が望まれる。しかしながら、従来の精算機の概念からす
ると、カード式システムにおいても精算機はカウンタ上
に置かれることになって、前述したカードを使用しない
方式と同じような問題が発生する。
If the checkout machine in which a large amount of cash and cards are stocked is placed in the corner of the game arcade, there is a risk of theft. Therefore, in the card-type system, it is desired that the checkout machine be installed in a prize exchange corner where a clerk is resident. However, according to the concept of the conventional payment machine, the payment machine is placed on the counter even in the card type system, and the same problem as in the above-described system without using a card occurs.

この発明は上記のような背景の下になされたもので、
その目的とするところは、記憶媒体を使用した遊技店設
備装置において同一記憶媒体の2重精算や記憶媒体の偽
造等による不正な精算を有効に防止できるようにするこ
とにある。
The present invention has been made under the above background,
An object of the present invention is to make it possible to effectively prevent an improper payment due to double payment of the same storage medium or forgery of the storage medium in an amusement shop facility using a storage medium.

[課題を解決するための手段] 上記目的を達成するためこの発明は、遊技装置(例え
ばパチンコ機100)における遊技に関連して用いられる
記憶媒体(カードCD)の有する識別符号(カード番号)
に対応して少なくとも該記憶媒体の価値情報(例えば未
使用金額もしくは持玉数)を記憶可能な記憶手段(主記
憶装置M-MEM)を備えた管理装置(例えば400)と、前記
記憶媒体の価値情報に基づいた精算処理を実行可能な記
憶媒体精算装置(精算機300)と、を通信可能に構成し
てなる遊技店設備装置であって、前記記憶媒体精算装置
には、前記記憶媒体より少なくとも識別符号を読み取る
記憶媒体読取手段(カードリーダ800)と、前記記憶媒
体の価値情報に基づいて精算処理を実行可能な精算実行
手段(例えば紙幣払出器321、硬貨払出器325もしくはプ
リンタ330)と、が具備されるとともに、前記記憶媒体
精算装置は前記記憶媒体読取手段によって読み取られた
少なくとも識別符号を前記管理装置へ送信する一方、該
管理装置は受信した識別符号に対応した価値情報を当該
記憶媒体精算装置へ送信し、前記記憶媒体精算装置は受
信した価値情報に基づいて前記精算実行手段により精算
を実行して精算処理の終了に関わる情報を前記管理装置
へ送信する一方、該管理装置は受信した精算処理の終了
に関わる情報に基づいて当該記憶媒体の識別符号に対応
して前記記憶手段に精算済情報を記憶して精算済信号を
当該記憶媒体精算装置へ送信し、前記記憶媒体精算装置
は前記精算済信号の受信に基づいて次の記憶媒体の受け
付けを可能にするようにした。
Means for Solving the Problems In order to achieve the above object, the present invention provides an identification code (card number) of a storage medium (card CD) used in connection with a game in a game device (for example, a pachinko machine 100).
A management device (for example, 400) including storage means (main storage device M-MEM) capable of storing at least value information (for example, unused amount or number of balls) of the storage medium corresponding to the storage medium; And a storage medium settlement device (payment machine 300) capable of executing a settlement process based on the value information, wherein the storage medium settlement device is configured to communicate with the storage medium settlement device. A storage medium reading means (card reader 800) for reading at least an identification code, and a settlement execution means (for example, a bill dispenser 321, a coin dispenser 325 or a printer 330) capable of executing a settlement process based on the value information of the storage medium; The storage medium settlement device transmits at least the identification code read by the storage medium reading means to the management device, and the management device receives the identification code. The corresponding value information is transmitted to the storage medium payment device, and the storage medium payment device executes the payment by the payment execution means based on the received value information, and transmits information related to the termination of the payment process to the management device. On the other hand, the management device stores the settlement information in the storage means corresponding to the identification code of the storage medium based on the received information regarding the end of the settlement process and sends a settlement signal to the storage medium adjustment device. Then, the storage medium settlement device enables reception of the next storage medium based on the reception of the settlement completed signal.

〔作用〕[Action]

上記した手段によれば、記憶媒体精算装置によって記
憶媒体の識別符号を読み取り、この識別符号を管理装置
へ送信して、管理装置による照合結果に基づいて記憶媒
体精算装置が精算処理を実行し、精算処理の終了に関わ
る情報を再度管理装置へ送信するようにしたので、管理
装置の記憶手段に記憶されていない識別符号を有する記
憶媒体が記憶媒体精算装置に用いられてもその記憶媒体
に対しては精算処理を実行させないことにより、不正に
偽造された記憶媒体による価値情報の精算処理を防止す
ることが可能となる。
According to the above-described means, the identification code of the storage medium is read by the storage medium settlement device, the identification code is transmitted to the management device, and the storage medium settlement device executes the settlement processing based on the result of the collation by the management device, Since information relating to the end of the settlement process is transmitted to the management device again, even if a storage medium having an identification code that is not stored in the storage unit of the management device is used for the storage medium settlement device, the storage medium is not transmitted to the storage device. By not executing the settlement process, it is possible to prevent the settlement process of the value information by the improperly forged storage medium.

また、管理装置は精算処理終了後、識別符号に関連し
て当該記憶媒体が精算済みであることを記憶手段に記憶
するとともに、精算済信号を記憶媒体精算装置へ送信
し、記憶媒体精算装置はこの精算済信号に基づいて次の
記憶媒体の受け付けを可能としたので、同一記憶媒体に
対する重複した価値情報の精算処理を回避することが可
能となるとともに、遊技店内に複数の記憶媒体精算装置
が設置されている場合であっても、複製された記憶媒体
がそれぞれの記憶媒体精算装置に用いられるような不正
行為に対しても、不当な精算処理が実行されるのを防止
することが可能となり、次の記憶媒体の精算処理を実行
することが可能となる。
In addition, after the settlement process is completed, the management device stores the fact that the storage medium has been settled in the storage means in association with the identification code, and transmits a settlement completed signal to the storage medium adjustment device, and the storage medium adjustment device Since the next storage medium can be accepted based on the payment completed signal, it is possible to avoid the payment processing of the duplicated value information for the same storage medium, and a plurality of storage medium payment devices are provided in the game store. Even if it is installed, it is possible to prevent the execution of improper payment processing even for fraudulent acts in which the copied storage medium is used in each storage medium payment device. , It is possible to execute the settlement processing of the next storage medium.

[実施例] 第1図に本発明を適用した遊技設備の一例としてのカ
ードパチンコ遊技システムの一実施例を示す。
[Embodiment] FIG. 1 shows an embodiment of a card pachinko gaming system as an example of a game facility to which the present invention is applied.

この実施例のパチンコ遊技システムは、遊技装置とし
てのパチンコ機100と、各パチンコ機における遊技を開
始させるためローカルな有価価値を有する記憶媒体とし
てのカードCDを発行する記憶媒体発行装置としての発行
機200と、遊技の結果得られた賞品球および遊技に使用
せずに残った購入金を精算するための記憶媒体精算装置
としての精算機300と、上記各種端末機を集中的に管理
し、制御する管理装置400と、この管理装置400と各端末
機を有機的に結合する伝送手段としてのデータ伝送路50
0とからなり、これらによって、有機的結合体が構成さ
れる。この有機的結合体は、上記カードCDによってのみ
介入が可能とされ、かつ有機的結合体によってのみカー
ドの運用とその有価データの変換が可能となっている。
そのため、有機的結合体の各構成要素たるパチンコ機10
0、発行機200、精算機300および管理装置400には、それ
ぞれ記憶媒体読取装置としてのカードリーダ(この明細
書では、カードの磁気面への書込みを行うものもカード
リーダと称する)が設けられているとともに、カードの
情報および各端末機の情報は、管理装置400の記憶装置
内にファイルの形で記憶されるようになっている。
The pachinko gaming system according to this embodiment includes a pachinko machine 100 as a gaming device and an issuing machine as a storage medium issuing device that issues a card CD as a storage medium having a local value in order to start a game in each pachinko machine. Centrally manages and controls 200, a prize ball obtained as a result of the game and a payment machine 300 as a storage medium payment device for payment of remaining purchase money not used for the game, and the above-mentioned various terminals. And a data transmission path 50 as transmission means for organically coupling the management device 400 and each terminal.
And these constitute an organic conjugate. This organic combination can be interposed only by the card CD, and the card can be operated and its valuable data can be converted only by the organic combination.
Therefore, the pachinko machine 10 as each component of the organic conjugate
0, the issuing machine 200, the settlement machine 300, and the management device 400 are each provided with a card reader as a storage medium reading device (in this specification, a device that writes on a magnetic surface of a card is also referred to as a card reader). At the same time, the information of the card and the information of each terminal are stored in the storage device of the management device 400 in the form of a file.

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

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

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

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

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

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

また、この実施例のカードでは、磁気記録部MGの下方
にカード表面に印刷されるホール名等の文字中に隠匿さ
れたセキュリティマークからなる真偽識別領域TFを設け
てある。すなわち、カードの表面に印刷される「PLAZ
A」なる文字を、第2図(C)に示すように各文字の脚
部が、3.5mm等のピッチで設けられる検出ビットパター
ンB0〜B9に対応する位置に来るようにデザインして印刷
しておく。そして、文字幅が0.5〜1.5mm、各ビット間が
3.5mmとなるようにし、各ビットの“1"または“0"を文
字の濃淡で表現する。しかも、10個のビットのうち左か
ら5番目のビットB4と最後のビットB9は、ビットB0〜B3
とB5〜B8のパリティを表すように文字の濃淡を決定して
おく。なお、この文字列中に隠匿されたセキュリティビ
ットは、センサにおいてのみ検出でき、人間の目には区
別がつかないような特殊なインクを用いて形成しておく
とより好ましい。
Further, in the card of this embodiment, an authenticity identification area TF including a security mark concealed in characters such as a hole name printed on the card surface is provided below the magnetic recording unit MG. In other words, "PLAZ" printed on the surface of the card
The A "as the character, the legs of each character as shown in FIG. 2 (C) is then designed to come to a position corresponding to the detection bit pattern B 0 .about.B 9 provided at a pitch of 3.5mm, etc. Print it out. And the character width is 0.5-1.5mm,
It is set to 3.5 mm, and "1" or "0" of each bit is represented by shading of characters. Moreover, 10 5 th bit B 4 from left of the bit and the last bit B 9, the bit B 0 .about.B 3
Previously determining the shading of text to represent the parity of the B 5 .about.B 8 and. It is more preferable that the security bits concealed in the character string be formed using a special ink that can be detected only by the sensor and cannot be distinguished by human eyes.

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

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

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

第2図(E)には、カードに設けられた磁気記録部MG
の構成例を示す。
FIG. 2 (E) shows a magnetic recording section MG provided on the card.
An example of the configuration will be described.

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

磁気記録部を有するカードでは、一般に年月日から記
録フォーマットや記録データの解読するのが一番容易で
あるが、上記実施例のカードでは年月日の順序を入れ替
えるとともに、4ビットごとにパリティビットを入れ、
さらに記録ビットの対応に変化を持たせているため、カ
ードの偽造が極めて困難となる。また、発行通し番号n
を印字表示部PRTに印字するようになっているため、カ
ードの破損等により磁気記録部MGの情報が読出し不能に
なっても管理装置のファイル情報からカードを復活する
ことができる。
In the case of a card having a magnetic recording section, it is generally easiest to decode the recording format and recording data from the date. However, in the card of the above embodiment, the order of the date is changed, and the parity is set every 4 bits. Put a bit,
Further, since the correspondence of the recording bits is changed, forgery of the card becomes extremely difficult. The issue serial number n
Is printed on the print display unit PRT, so that the card can be restored from the file information of the management device even if the information in the magnetic recording unit MG cannot be read due to damage to the card or the like.

さらに、上述したように、この実施例のカードの磁気
記録部に記録される情報は、カードの使用可能空間を特
定するための識別コードDSCと、カードの有効期間を示
すための発行年月日DATEと、発行通し番号nから適当な
関数もしくは変換方式を使って得られる識別符号として
のカード番号と、エラー検出用のチェックコードのみで
あり、購入金額や持玉数は記録されないようになってい
る。これらは、上記カード番号NOによって管理装置400
のデータファイルからリアルタイムで引出し可能な構成
にしてある。これによって、カードのコピーによる不正
を防止し、かつ不正による被害を最小限にとどめること
ができる。つまり、カードがコピーされてもデータファ
イル内に登録されている購入金額と獲得玉数以上の被害
は生じないので、カードをコピーするのは全くの無駄な
行為となる。
Further, as described above, the information recorded in the magnetic recording unit of the card of this embodiment includes an identification code DSC for specifying the usable space of the card and an issue date for indicating the validity period of the card. Only the DATE, the card number as an identification code obtained from the issue serial number n using an appropriate function or conversion method, and a check code for error detection, the purchase amount and the number of balls held are not recorded. . These are managed by the management device 400 according to the card number NO.
It can be extracted in real time from the data file. This prevents fraud by copying the card and minimizes the damage caused by fraud. In other words, even if the card is copied, no damage occurs beyond the purchase price and the number of balls registered in the data file, so copying the card is a completely useless act.

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

次に、本来の遊技を提供する遊技装置の構成例につい
て第3図〜第13図を用いて説明する。
Next, an example of the configuration of a game device that provides an original game will be described with reference to FIGS.

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

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

操作パネル110は第4図に示すように、パチンコ機100
の下部の開閉可能な前面パネル105に装着され、かつ断
面三角形の中空状をなし、上面が前方に向かって下り傾
斜されることにより表示が読取り易いようになってい
る。操作パネル110の内側には、表示面110aと平行に配
線基板120A,120Bが配設され、この基板120A上に7セグ
メント型LEDからなる金額表示器111と玉数表示器112
が、また基板120B上に上記各スイッチ113〜115と内蔵ラ
ンプが取り付けられ、表示プレート117で覆われてい
る。この表示プレート117の上記表示器111,112に対応す
る部位は透明な窓部117aとされ、スイッチ113〜115に対
応する部位は開口部117bとされている(第5図参照)。
そして、この開口部117b内には上記各スイッチ113〜115
の上方を覆うように操作ボタン118が装着されている。1
21は購入スイッチ113に対応された内蔵ランプである。
The operation panel 110 is, as shown in FIG.
Is mounted on an openable front panel 105 at the lower part of the panel and has a hollow shape with a triangular cross section. The upper surface is inclined forward and downward so that the display is easy to read. Inside the operation panel 110, wiring boards 120A and 120B are arranged in parallel with the display surface 110a. On the board 120A, a money amount indicator 111 composed of 7-segment type LEDs and a ball number indicator 112 are arranged.
However, the switches 113 to 115 and the built-in lamp are mounted on the substrate 120B, and are covered with the display plate 117. A portion of the display plate 117 corresponding to the indicators 111 and 112 is a transparent window 117a, and a portion corresponding to the switches 113 to 115 is an opening 117b (see FIG. 5).
The switches 113 to 115 are provided in the opening 117b.
The operation button 118 is mounted so as to cover the upper part of the camera. 1
Reference numeral 21 denotes a built-in lamp corresponding to the purchase switch 113.

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

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

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

パチンコ機100の裏面の構成例を第13図に示す。 FIG. 13 shows a configuration example of the back surface of the pachinko machine 100.

遊技盤前面の遊技領域内に設けられた入賞領域に対応
して遊技盤を貫通するように形成された複数の入賞球導
出孔を覆う入賞球集合樋131が、フレーム106に保持され
た遊技盤の裏面に取り付けられている。入賞球集合樋13
1の底壁は中央に向かって下り傾斜されて案内棚131aと
され、その下方に、第7図のごとくアウト球樋132aと第
1セーフ球樋132b、第2セーフ球樋132cとが一体に形成
されてなる誘導樋132が配設されている。この誘導樋132
内の各樋の途中には、一対の投光、受光器からなる光電
式のアウトセンサSNS1と第1セーフセンサSNS2、第2セ
ーフセンサSNS3が取り付けられている。また、誘導樋13
2は、各樋に流入した球を一箇所に集める合流樋部132d
を備え、合流樋部132dの終端は、第7図に示すようにパ
チンコ球を一列に整列せしめるべく緩やかに傾斜された
案内樋133の上流側に接続され、これによって封入球循
環装置130が構成されている。そして、案内樋133の上流
側には発射レールに沿って打ち出された打球がレール基
部に向かって戻ってしまういわゆるファール球を回収す
べく発射レールの上端に設けられたファール球受入口13
4(第9図参照)に臨むように配設されるファール球樋1
33aが一体に形成されており、ファール球は誘導樋132を
介して案内樋133上に流下された球と合流されるように
なっている。ファール球樋133aの途中にはファールセン
サSNS4が配設されている。
A game board in which a plurality of winning ball collecting troughs 131 covering a plurality of winning ball derivation holes formed so as to penetrate the game board corresponding to a winning area provided in a game area on the front of the game board are held by a frame 106. It is attached to the back of. Winning ball assembly gutter 13
The bottom wall 1 is inclined downward toward the center to form a guide shelf 131a, below which an out ball gutter 132a, a first safe ball gutter 132b, and a second safe ball gutter 132c are integrally formed as shown in FIG. The formed guiding gutter 132 is provided. This gutter 132
In the middle of each gutter, a photoelectric out sensor SNS1, a first safe sensor SNS2, and a second safe sensor SNS3 each comprising a pair of light emitting and receiving devices are mounted. In addition, guide gutter 13
2 is a merging gutter section 132d that collects the balls flowing into each gutter at one place
The end of the merging gutter section 132d is connected to the upstream side of the guide gutter 133 which is gently inclined to align the pachinko balls in a line as shown in FIG. 7, thereby forming the sealed ball circulation device 130. Have been. On the upstream side of the guide gutter 133, a foul ball receiving port 13 provided at an upper end of the firing rail to collect a so-called foul ball in which a hit ball hit along the firing rail returns toward the rail base.
Foul ball gutter 1 installed facing 4 (see Fig. 9)
The ball 33a is formed integrally, and the foul ball merges with the ball that has flowed down onto the guide gutter 133 via the guide gutter 132. A foul sensor SNS4 is provided in the middle of the foul ball gutter 133a.

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

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

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

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

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

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

この前面枠108の裏面に、遊技盤を保持したフレーム1
06(第11図参照)とフレームボード109を、前面枠裏面
の嵌合受部108bにフレーム裏面の嵌合突起106b、フレー
ムボード裏面の嵌合突起109bを一致させるようにして接
合させ、ネジ止めすることにより前面枠108と遊技盤を
保持したフレーム106とフレームボード109とが一体化さ
れる。
On the back of this front frame 108, a frame 1 holding a game board
06 (see FIG. 11) and the frame board 109 are joined to the fitting receiving portion 108b on the back of the front frame so that the fitting projection 106b on the back of the frame and the fitting projection 109b on the back of the frame board are aligned, and screwed. By doing so, the front frame 108, the frame 106 holding the game board, and the frame board 109 are integrated.

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

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

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

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

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

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

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

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

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

実施例の制御ユニット160はいずれの伝送路を用いて
もデータ伝送が行えるようにするため、収納枠161の裏
面に光ファイバ用コネクタ186と同軸ケーブル用コネク
タ187が設けられている(第20図参照)。
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 perform data transmission using any transmission path (FIG. 20). reference).

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

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

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

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

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

同図において188は、第26図に示されているカードリ
ーダ800の各構成部品たる搬送モータ807、磁気ヘッド82
1、穿孔装置820等を制御するカードリーダ制御装置であ
る。そして、このカードリーダ制御装置188およびパチ
ンコ機制御装置195と制御ユニット160に設けられた各種
スイッチ171,179や表示器162,163,164,168、スピーカ16
6は、ユニット制御装置180によって制御されるようにな
っている。
In the figure, reference numeral 188 denotes a transport motor 807 and a magnetic head 82, each of which is a component of the card reader 800 shown in FIG.
1. A card reader control device for controlling the punching device 820 and the like. Then, various switches 171, 179, indicators 162, 163, 164, 168, and speakers 16 provided in the card reader controller 188, the pachinko machine controller 195 and the control unit 160 are provided.
6 is controlled by the unit controller 180.

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

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

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

第22図には上記パチンコ機制御装置195の構成例が示
されている。
FIG. 22 shows a configuration example of the pachinko machine control device 195.

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

このパチンコ機制御装置195におけるセンサからの検
出信号の処理に関しては、単に検出信号からノイズを除
去し一定のパルス幅に整形してから発射球やセーフ球等
の検出データとしてユニット制御装置180へ送る。つま
り、パチンコ機制御装置195側ではセーフ球数等の演算
は行わず、そのような演算はユニット制御装置180の側
で行うようになっている。
Regarding the processing of the detection signal from the sensor in the pachinko machine control device 195, the noise is simply removed from the detection signal, shaped into a fixed pulse width, and then sent to the unit control device 180 as detection data of a launch sphere, a safe sphere, or the like. . In other words, 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.

また、パチンコ機では静電気等によりノイズが発生し
易いが、ウォッチドッグパルスを監視するリセット回路
RST1があるためノイズ等によりパチンコ機コントローラ
CPU1が暴走したとしても、暴走により定期的なウォッチ
ドッグパルスがなくなるとリセット信号を発生してCPU
を初期化させるので、暴走を防止することができる。
In pachinko machines, noise is likely to occur due to static electricity, but a reset circuit that monitors watchdog pulses
Pachinko machine controller due to noise etc. due to RST1
Even if CPU1 goes out of control, a reset signal is generated and the CPU
Is initialized, runaway can be prevented.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ところで、前述したようにパチンコ機制御装置195側
では、セーフ球数等の演算は行わず、そのような演算は
ユニット制御装置180の側で行うようになっており、ユ
ニットコントローラ190には、セーフ信号等遊技球に関
する検出信号や購入スイッチ113からの信号が入力され
ている。ユニットコントローラ190は、これらの信号に
基づいて、出玉数、アウト玉数、持玉数、売上金額等の
稼働データを演算したり、パチンコ機に関する稼働情報
(遊技状態)やモニタ情報等を生成し、それらをデュア
ルポートメモリからなるユニットメモリ550の送信デー
タエリアSDA(第24図参照)に書き込む。ユニットメモ
リ550に書き込まれた稼働データ等は、伝送コントロー
ラ551による管理装置400との間のデータ交信によって管
理装置に送られる。また、管理装置400から送られてく
るデータも一旦ユニットメモリ550内の受信データエリ
アRDAに書き込まれ、ユニットコントローラ190がこれを
読み取ることによってデータの受信が行われる。ユニッ
トメモリ550には、その他の送信データや受信データが
メモリ内にあることを相手方のコントローラに伝えるた
めのコマンドやステータス情報の入る交信用エリアCCA
や各コントローラ用のワーキングエリアUWAとDWAおよび
コントローラ間同期用エリアCSAが設けられている。
By the way, as described above, 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. A detection signal relating to a game ball, such as a signal, and a signal from the purchase switch 113 are input. Based on these signals, the unit controller 190 calculates operation data such as the number of payout balls, the number of outgoing balls, the number of held balls, and the sales amount, and generates the operation information (game state) and the monitor information related to the pachinko machine. Then, they are written in the transmission data area SDA (see FIG. 24) of the unit memory 550 composed of a dual port memory. The operation data and the like written in the unit memory 550 are sent to the management device by data communication with the management device 400 by the transmission controller 551. Further, the data sent from the management device 400 is also 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 has a communication area CCA in which commands and status information for notifying the other controller that other transmission data and reception data are in the memory are entered.
Also, working areas UWA and DWA for each controller and an area CSA for inter-controller synchronization are provided.

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

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

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

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

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

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

ケース本体801内には第26図に示すようにカード搬送
路となるベースプレート804が配置され、このベースプ
レート804の上方にはカードの厚みより少し広い間隙を
おいてこれと平行に支持基板805,806が取付けられるよ
うになっている。
As shown in FIG. 26, a base plate 804 serving as a card transport path is disposed in the case body 801. Supporting substrates 805 and 806 are mounted above the base plate 804 with a gap slightly larger than the thickness of the card. It is supposed to be.

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

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

一方、カード挿排口802aの反対側に配置された上記支
持基板806上には、第1ローラ軸819が回転自在に配置さ
れているとともに、ソレノイドを駆動手段とするパンチ
装置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, a first roller shaft 819 is rotatably disposed on the support substrate 806 disposed on the opposite side of the card insertion / ejection port 802a, and a punch device 820 and a magnetic head 821 using a solenoid as driving means. 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. A transport roller 823 is fixed to the center of the first roller shaft 819, and both ends of the shaft are made to be able to protrude to the outside from the side wall of the case, and pulleys 824 and 825 are attached thereto. A belt 826 is wound between the pulleys 818 and 825, and a belt 827 is wound between the pulleys 824 and 813. The rotational driving force of the motor 807 is transmitted to the first roller shaft 819 by the belt 826. And transmitted to the second roller shaft 811 by the belt 827.

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

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

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

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

ベースプレート804の前端に載置された円筒状の遮蔽
部材846に対応して、上方の支持基板805の前端には、遮
蔽部材846よりひとまわり大きな空部851が形成されてお
り、ベースプレート804上に支持基板805を配置したと
き、遮蔽部材846が空部851内に上下動可能に収納される
ようになっている。また、上記空部851を構成する枠体8
52の後壁には開口853が形成され、その後方に前記挿入
検出スイッチ808が配置されてその可動接点808aが上記
開口853より空部851内に突出される。この可動接点808a
の先端は通常第28図(A)に示すように遮蔽部材846の
上方に位置するようにされており、カード挿排口802aよ
りカードCDが挿入されると、第28図(B)のごとくカー
ドCDが遮蔽部材846を上方へ押し上げるため可動接点808
aが回動され、挿入検出センサ808がオンされるようにな
っている。
Corresponding to the cylindrical shielding member 846 placed on the front end of the base plate 804, an empty space 851 slightly larger than the shielding member 846 is formed at the front end of the upper support substrate 805, and on the base plate 804 When the support substrate 805 is arranged, the shielding member 846 is housed in the empty space 851 so as to be vertically movable. In addition, the frame 8 constituting the empty space 851
An opening 853 is formed on the rear wall of the 52, and the insertion detection switch 808 is disposed behind the opening 853, and the movable contact 808a projects from the opening 853 into the space 851. This movable contact 808a
Is normally positioned above the shielding member 846 as shown in FIG. 28 (A), and when a card CD is inserted through the card insertion / ejection opening 802a, as shown in FIG. 28 (B). The movable contact 808 is used because the card CD pushes the shielding member 846 upward.
is rotated, and the insertion detection sensor 808 is turned on.

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

なお、特に制限されるものではないが、この実施例の
カードリーダ800はカード発行機においても使用できる
ようにするため、ケースの後壁が開放されており、カー
ドを後方へ排出できる構造にされている。
Although not particularly limited, the card reader 800 of this embodiment has a structure in which the rear wall of the case is open so that the card can be ejected backward so that the card reader 800 can be used in a card issuing machine. ing.

第30図(A)にはカードリーダにおける各種センサや
磁気ヘッドの取付け位置関係を示す。
FIG. 30 (A) shows the mounting positional relationship of various sensors and a magnetic head in the card reader.

挿入検出センサ808は最もカード挿排口802aに近い側
に配置され、第1位置検出センサSNS1は搬送ローラの直
前に配置されている。そして、シャッタピン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 disposed closest to the card insertion / ejection opening 802a, and the first position detection sensor SNS1 is disposed immediately before the transport roller. The shutter pin 809b is disposed between the insertion detection sensor 808 and the first position detection sensor SNS1, and the security code reading sensors 810a and 810b are
It is arranged almost right beside the position detection sensor SNS1. The second position detection sensor SNS2 is located behind the transport roller 812, the third position detection sensor SNS3 is located behind the transport roller 823, the fourth position detection sensor SNS4 is located at the innermost part of the card reader, and To the fourth position detection sensors SNS1 to SNS4 are located on the same straight line.

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

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

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

第31図にはカードリーダ制御装置188(第21図参照)
の具体的回路構成例が示されている。
FIG. 31 shows a card reader control device 188 (see FIG. 21).
2 shows a specific circuit configuration example.

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

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

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

一方、セグメント型モニタ表示器175は、数字を表す
7つのセグメントと、1つのドット表示セグメントDTと
を組合せることにより、次の表7のように、カードリー
ダの異常内容を符号で表示するようになっている。な
お、表7の右欄のエラーコードは対応する異常が発生し
たときにカードリーダコントローラCPU2が上位の制御装
置に異常の内容を知らせるときに使用するコードであ
る。
On the other hand, the segment-type monitor display 175 combines the seven segments representing numbers and one dot display segment DT to display the contents of abnormalities of the card reader with codes as shown in Table 7 below. It has become. The error code in the right column of Table 7 is a code used when the card reader controller CPU2 notifies a higher-level control device of the content of the abnormality when a corresponding abnormality occurs.

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

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

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

同図において符号SMG1〜SMG5で示されているのは、シ
ュミットトリガゲート等からなる波形整形回路、REC1,R
EC2は整流回路、MCC1,MCC2は磁化電流切替回路、AMP1〜
AMP4はアンプ、MHD1,MHD2は磁気ヘッド、MTはモータ、S
OL1,SOL2はソレノイド、LED1は発光ダイオード、DRV21,
DRV22はドライバ、SNS11,SNS12,SNSp,SNS1〜SNS5はセン
サである。また、CCCはモータMTの回転方向を切替るた
めの電流切替回路、VCCはモータMTの回転速度を切替る
ための電圧切替回路である。
In the figure, reference numerals SMG1 to SMG5 denote waveform shaping circuits including Schmitt trigger gates and the like, REC1, R
EC2 is a rectifier circuit, MCC1 and MCC2 are magnetizing current switching circuits, and AMP1 to
AMP4 is amplifier, MHD1 and MHD2 are magnetic head, MT is motor, S
OL1 and SOL2 are solenoids, LED1 is a light emitting diode, DRV21,
DRV22 is a driver, and SNS11, SNS12, SNSp, and SNS1 to SNS5 are sensors. 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.

2つのトラックTRC1とTRC2にそれぞれ対応された2つ
の磁気ヘッドMHD1,MHD2により読み取られたリードデー
タのリードクロック信号は、アンプAMP1,AMP3によって
増幅された後、整流回路REC1,REC2で整流され、さらに
波形整形回路SMG1,SMG3を通して矩形波としてカードリ
ーダ制御装置188に送られる。一方、カードリーダ制御
装置188から供給されるライトデータとライトクロック
は波形整形回路SMG2,SMG4を通って磁化電流切替回路MCC
1,MCC2に入力され、ライトデータの“1",“0"に応じて
ヘッド駆動電流の向きが切り替えられてアンプAMP2,AMP
4で増幅され磁気ヘッドMHD1,MHD2に供給される。
Read clock signals of 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 rectified by the rectifier circuits REC1 and REC2. The signal is 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 write clock supplied from the card reader controller 188 pass through the waveform shaping circuits SMG2 and SMG4, and the magnetization current switching circuit MCC.
1, input to MCC2, the direction of head drive current is switched according to write data “1”, “0”, and amplifier AMP2, AMP2
It is amplified by 4 and supplied to the magnetic heads MHD1 and MHD2.

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

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

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

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

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

この実施例では、書込み方式としてデータが“1"のと
きは極性を反転し、データが“0"または無信号のときは
極性を反転せず直前の状態を維持するいわゆるNRZI方式
を採用している。
In this embodiment, a so-called NRZI method is adopted as the 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. I have.

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

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

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

第34図および第35図に上記カード発行機200の構成例
を示す。
34 and 35 show examples of the structure of the card issuing machine 200.

この実施例のカード発行機200は、カード購入のため
の紙幣を識別する紙幣識別装置210と、投入紙幣に対応
した金額を印刷し、カードを発行する発行装置700と、
つり銭としての紙幣を払出するための紙幣払出装置230
と、各種表示器221〜225およびカード発行機200全体の
制御および管理装置400との間のデータ交信を行なうユ
ニット制御装置280等により構成されている。上記紙幣
識別装置210に対応して、開閉自在な前面パネル201には
紙幣挿入口211と、購入選択スイッチ群212および金額表
示器213が設けられている。従って、遊技客は、先ず紙
幣挿入口211より紙幣を投入すると、金額表示器213に投
入金額が表示される。そして、購入選択スイッチ群212
の中から所望の購入金額に対応するスイッチを押圧する
ことにより、所望の購入金額に相当するカードが上記発
行装置700のカード排出口202より発行される。また、上
記購入選択スイッチ群212は、各々ランプ内蔵型スイッ
チで構成されており、紙幣が投入されるとその投入金額
の範囲内で選択可能なスイッチ(3千円なら3つ、5千
円なら5つ)に対応する内蔵ランプが点灯されるように
なっている。
The card issuing machine 200 of this embodiment includes a bill identifying device 210 that identifies bills for card purchase, an issuing device 700 that prints an amount corresponding to an inserted bill, and issues a card.
Bill dispensing device 230 for dispensing bills as change
And a unit control device 280 for performing data communication between the various displays 221 to 225 and the control and management device 400 of the entire card issuing machine 200. The front panel 201, which can be freely opened and closed, is provided with a bill insertion slot 211, a purchase selection switch group 212, and a money amount display 213, corresponding to the bill recognition device 210. Therefore, when the player first inserts a bill from the bill insertion slot 211, the inserted amount is displayed on the amount display 213. Then, the purchase selection switch group 212
By pressing a switch corresponding to the desired purchase price from among the cards, a card corresponding to the desired purchase price is issued from the card ejection port 202 of the issuing device 700. Each of the purchase selection switch groups 212 is constituted by a switch with a built-in lamp, and when a bill is inserted, switches that can be selected within the range of the inserted amount (three for 3,000 yen, three for 5,000 yen) (5) built-in lamps are turned on.

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

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

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

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

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

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

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

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

発行機用のカードリーダが、パチンコ機用のカードリ
ーダと異なる点は、(1)磁気データの記録機能を備え
る必要がある点と、(2)カードを後方へ排出できる構
造となっている必要がある点にある。このうち、(1)
については第32図に示すようにインタフェース回路198
が書込みデータ信号を波形整形する波形整形回路SMG2,S
MG4と磁気電流切替回路MCC1,MCC2とを有していて、磁気
ヘッドMHD1とMHD2で磁気データの読出しは勿論のこと、
書込みも行なえるので、問題はない。また、パチンコ機
用カードリーダ800の構造説明のところでも言及したよ
うに第25図〜第28図に示すカードリーダ800は、ケース
の後壁が開放されており、挿入されたカードを後方へも
排出できるようになっている。従って、この実施例の発
行装置700には、パチンコ機用のカードリーダ800と全く
同一のものを使用することができる。
A card reader for an issuing machine is different from a card reader for a pachinko machine in that (1) it is necessary to have a magnetic data recording function, and (2) it is necessary to have a structure capable of ejecting a card backward. There is a point. (1)
For the interface circuit 198 as shown in FIG.
Waveform shaping circuit SMG2, S that shapes the write data signal
MG4 and magnetic current switching circuits MCC1 and MCC2, and magnetic heads MHD1 and MHD2 not only read magnetic data, but also
There is no problem because writing can be performed. In addition, as mentioned in the description of the structure of the card reader 800 for the pachinko machine, the card reader 800 shown in FIGS. 25 to 28 has an opened rear wall of the case, and the inserted card can be moved backward. It can be discharged. Therefore, as the issuing device 700 of this embodiment, the same device as the card reader 800 for the pachinko machine can be used.

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

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

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

しかも、この第1搬送ローラ712は、その回転軸712a
に対して偏心した状態で取り付けられており、通常は上
面がベース基板711よりも低くされており、回転軸712a
が180°回転すると開口部711aから上方へ僅かに突出す
るようになっている。
In addition, the first transport roller 712 has its rotating shaft 712a
Is mounted eccentrically with respect to the base substrate 711.
When the is rotated by 180 °, it slightly projects upward from the opening 711a.

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

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

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

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

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

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

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

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

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

さらに、上記搬送ローラ748cの回転軸709は側方へ突
出され、その端部には第36図に示すようにノブ709aが固
着されており、このノブ709aを手で回すことにより、走
行モータ706の停止中に手動でカードを移動させ、紙詰
まりを生じたカードを取り除くことができるようになっ
ている。カード反転装置740の終端には走行位置センサC
PS3が配置されており、このセンサがカードの後端を検
出すると走行モータ706が停止される。
Further, a rotary shaft 709 of the transport roller 748c is protruded to the side, and a knob 709a is fixed to an end portion thereof as shown in FIG. 36. The card can be manually moved while the printer is stopped to remove the jammed card. Running position sensor C at the end of card reversing device 740
PS3 is arranged, and when this sensor detects the rear end of the card, the traveling motor 706 is stopped.

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

758は印字ヘッド昇降用モータで、このモータ758の回
転は減速されて従動軸759に伝達される。この従動軸759
には、切欠きを有する検出コマ760が固着され、この検
出コマ760の周縁に対向して回転位置センサ761a,761bが
配置されている。また、図示しないが昇降用モータ758
の回転力は、例えば上記従動軸759に固着したカムとそ
の外周に当接されたタペットを介して印字ヘッド756に
伝えられ、これを昇降させる。このとき、昇降用モータ
758は一回の作動で従動軸759を180°ずつ回動させる。
すなわち、昇降用モータ758は常に検出コマ760の切欠き
がセンサ761aまたは761bに対向する位置で回転を停止す
るようになっており、走行位置センサCPS4がカードを検
出して昇降用モータ758を作動させると、センサ761aま
たは761bが検出コマ760の切欠きを検出した時点でモー
タの回転が停止される。これによって、印字ヘッド756
は走行位置センサCPS4のカード検出時に降下され、印字
が終了すると再び昇降用モータ758が作動されて従動軸7
59を180°回転させることにより、印字ヘッド756は上昇
されて停止する。印字装置750の出口には走行位置セン
サCPS5が配設されており、このセンサCPS5がカードの先
端を検出すると前記走行モータ706を先程と同一の方向
(逆方向)へ作動させて搬送ローラ771a,771b,771cに捲
回されたベルト772を駆動させ、センサCPS5がカードの
後端を検出すると印字装置内の搬送用モータ751を停止
させる。これによって、印字装置750から送り出された
カードは速やかに前方のカード導出装置770内へ搬送さ
れていく。
Reference numeral 758 denotes a print head raising / lowering motor. The rotation of the motor 758 is reduced and transmitted to the driven shaft 759. This driven shaft 759
A detection piece 760 having a notch is fixedly attached thereto, and rotation position sensors 761a and 761b are arranged to face the periphery of the detection piece 760. Although not shown, the lifting motor 758
Is transmitted to the print head 756 via, for example, a cam fixed to the driven shaft 759 and a tappet in contact with the outer periphery of the cam, and moves the cam up and down. At this time, the lifting motor
758 rotates the driven shaft 759 by 180 ° in one operation.
That is, the elevation motor 758 always stops rotating at the position where the notch of the detection frame 760 faces the sensor 761a or 761b, and the traveling position sensor CPS4 detects the card and operates the elevation motor 758. Then, when the sensor 761a or 761b detects the notch of the detection piece 760, the rotation of the motor is stopped. This allows the printhead 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 drive the driven shaft 7
By rotating 59 by 180 °, print head 756 is raised and stopped. At the exit of the printing device 750, a traveling position sensor CPS5 is provided, and when the sensor CPS5 detects the leading end of the card, the traveling motor 706 is operated in the same direction (reverse direction) as before, so that the transport rollers 771a, The belt 772 wound around 771b, 771c is driven, and when the sensor CPS5 detects the rear end of the card, the transport motor 751 in the printing device is stopped. As a result, the card sent from the printing device 750 is quickly conveyed into the card leading device 770 in front.

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

また、上記搬送ローラ773と774bとの間には支軸776を
中心に回動可能な走路切替部材777が配設されている。
この走路切替部材777はスプリング778によって通常は第
37図に破線ロで示すごとく先端が下方に位置され、印字
装置750より送られてきたカードをカード発行口202へ向
かって案内する。しかして、カードが正規なものでなか
ったり、傷があって磁気記録部へ正しく記録できなかっ
たような場合には、走路切替部材777によってカードは
下方の没収タンク780に誘導される。正しく書き込まれ
たカードのときは切替部材777を、第37図に実線で示す
ごとく下方へ回動させる。すると、印字装置750から送
られてきたカードはカード発行口202へ誘導される。搬
送ローラ774a,774bの下方には、没収タンク780が配設さ
れており、通常状態で上方に位置された走路切替部材77
7によって下方へ誘導されたカードはこの没収タンク780
内に収納される。
A runway switching member 777 rotatable around a support shaft 776 is provided between the transport rollers 773 and 774b.
This runway switching member 777 is normally in the first position by a spring 778.
The leading end is positioned below as shown by the broken line B in FIG. 37, and guides the card sent from the printing device 750 toward the card issuing port 202. If the card is not valid or cannot be recorded correctly on the magnetic recording unit due to damage, the card is guided to the confiscation tank 780 below by the runway switching member 777. When the card is correctly written, 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 port 202. A confiscation tank 780 is disposed below the transport rollers 774a and 774b.
The card guided down by 7 is the confiscated tank 780
Is stored inside.

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

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

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

さらに、この実施例の発行装置700は第36図に示すよ
うに、固定ベース791上において左右のレール792a,792b
によって前後方向スライド可能に支持された基盤793の
上に載置されており、この基盤793の左側半分には、補
助電源装置を内蔵した電源ボックス794が載置され、こ
の電源ボックス794の前面には、カードの発行枚数を表
示するためのカウンタ795と、没収カードの枚数等の表
示に利用可能な予備カウンタ796が設けられている。
Further, as shown in FIG. 36, the issuing device 700 of this embodiment has left and right rails 792a, 792b on a fixed base 791.
A power supply box 794 with an auxiliary power supply is mounted on the left half of the base 793. Is provided with 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.

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

第40図には、上記のごとく構成されたカード発行機20
0の制御システムの構成例が示されている。
FIG. 40 shows a card issuing machine 20 configured as described above.
A configuration example of a control system of 0 is shown.

なお、同図において、790がカード発行制御装置、280
がユニット制御装置、また288はカードリーダ800の各構
成部品たる搬送モータ807、磁気ヘッド821、パンチ装置
820等を制御するカードリーダ制御装置であり、符号LMP
1〜LMP5で示されているのが、購入金額の選択スイッチ
群212に内蔵されたランプで、オンされたスイッチに対
応するランプが点灯されて操作ボタンを後方から照明す
るようになっている。
In the same figure, 790 is a card issuing control device, 280
Is the unit controller, and 288 is the transport motor 807, magnetic head 821, and punch device, which are the components of the card reader 800.
It is a card reader control device that controls 820 etc.
Reference numerals 1 to LMP5 denote lamps built into the purchase price selection switch group 212. The lamps corresponding to the turned on switches are turned on to illuminate the operation buttons from behind.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

一方、ユニットコントローラ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, an instruction signal for executing the dispensing of a bill based on the number of sheets set value, and dispensing There is an instruction signal for clearing the display of a monitor display (not shown) for displaying the execution result.

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

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

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

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

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

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

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

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

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

上記表10に示されているホットコードは、システムの
立上りのときに管理装置400がユニットメモリ550の送信
エリア内に、例えば010101‥‥01なるコードを書き込ん
でおいて、定期的に管理装置に送って、静電気等のノイ
ズによるRAMデータの破壊の有無をチェックし、送信デ
ータの異常を速やかに検出できるようになっている。
The hot code shown in Table 10 above is stored in the transmission area of the unit memory 550 by the management device 400 at the start of the system, for example, by writing a code such as 010101 ‥‥ 01, and periodically writing the code to the management device. The data is sent to check whether or not the RAM data has been destroyed due to noise such as static electricity, so that abnormalities in the transmitted data can be detected quickly.

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

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

第42図〜第44図に前述した記憶媒体精算装置としての
精算機300の構成例を示す。
42 to 44 show a configuration example of the payment machine 300 as the storage medium payment device described above.

この実施例の精算機300は、挿入されたカードCDの磁
気記録部に記録された識別符号としてのカード番号を読
み取ってコードのチェックを行なう記憶媒体読取手段と
してのカードリーダ800を内蔵し、管理装置からのデー
タを受け取った後カードを回収するカード精算装置310
と、そのカードについて使用されずに残った価値情報と
しての未使用金額に相当する金額を払い戻すための精算
実行手段としての残金払出装置を構成する紙幣払出器32
1および硬貨払出器325と、遊技により獲得した価値情報
としての持玉数を印刷した有価価値媒体としてのレシー
トを発行する精算実行手段としてのプリンタ330と各種
表示器303,304,341,342および精算機300全体の制御を行
なうユニット制御装置350等により構成されている。
The settlement machine 300 of this embodiment incorporates a card reader 800 as a storage medium reading means for reading a card number as an identification code recorded in a magnetic recording unit of the inserted card CD and checking the code, and performs management. Card settlement device 310 that collects cards after receiving data from the device
And a bill dispenser 32 which constitutes a balance dispensing device as a settlement executing means for refunding an amount equivalent to an unused amount as value information remaining on the card.
1 and a coin dispenser 325, a printer 330 as a payment executing means for issuing a receipt as a valuable medium printed with the number of balls as value information obtained by the game, various displays 303, 304, 341 and 342 and control of the entire payment machine 300 And a unit control device 350 for performing such operations.

この精算機300は上面パネル301が上下方向回動可能に
構成され、上記カード精算装置310に対応して、上面パ
ネル301の前端にはカード挿入口302が、また上面パネル
301の上面には、獲得した賞球数(持玉数)を表示する
玉数表示器303および未使用金額を表示する金額表示器3
04が設けられている。しかも、この実施例の精算機300
はパチンコ店に設置されるカウンタを構成できるように
上面がフラットに形成され、かつ玉数表示器303と金額
表示器304が2組設けられており、そのうち一つは前方
に傾斜して遊技客にとって読み取り易く、他方は後方に
傾斜してカウンタ内側の係員にとって読み取り易いよう
になっている。しかも、玉数表示器303と金額表示器304
の上方はガラス板のような透明板によって覆われてい
る。また、上面パネル301の上面後方寄りには、上記表
示器の表示を「0」にクリアする表示リセットスイッチ
305が設けられている。遊技客が、先ずカード挿入口302
よりカードを投入すると、精算機300内のカードリーダ8
00がカードCDの磁気面に記録されているカード番号を読
み取って管理装置400に送り、そのカードに関するデー
タを受け取る。そして、金額表示器304に未使用金額を
表示させるとともに、玉数表示器303に獲得玉数を表示
させ、プリンタ330により未使用金額と獲得玉数および
来歴データ等を印字したレシートを発行する。また、カ
ードリーダ内の挿入されたカードは穿孔装置により、所
定の穿孔位置PH5にパンチ穴(精算済孔)の形成がなさ
れてから内部のカード回収タンク314内に排出される。
The payment machine 300 is configured such that an upper panel 301 is rotatable in the vertical direction. A card insertion slot 302 is provided at the front end of the upper panel 301, and the upper panel 301 corresponds to the card payment device 310.
On the upper surface of 301, a ball number display 303 for displaying the number of awarded balls (the number of balls held) and an amount display 3 for displaying an unused amount.
04 is provided. Moreover, the settlement machine 300 of this embodiment
Has a flat top surface so that it can form a counter installed in a pachinko parlor, and has two sets of ball number display 303 and money amount display 304, one of which is inclined forward and Is easy to read, and the other is inclined backward to make it easy for a staff member inside the counter to read. Moreover, the number of balls indicator 303 and the amount indicator 304
Is covered by a transparent plate such as a glass plate. In addition, a display reset switch for clearing the display of the above-mentioned display unit to “0” is provided on the rear side of the upper surface of the upper panel 301.
305 is provided. The player first enters the card slot 302
When you insert a card, the card reader 8 in the checkout machine 300
00 reads the card number recorded on the magnetic surface of the card CD, sends it to the management device 400, and receives data on the card. Then, the unused amount is displayed on the amount display 304, the acquired number of balls is displayed on the ball number display 303, and the printer 330 issues a receipt on which the unused amount, the acquired number of balls, the history data and the like are printed. Further, the inserted card in the card reader by drilling device, and is discharged to the inside of the card collecting tank 314 after formation of the punched holes (settlement Sumiana) is performed at a predetermined punching position PH 5.

なお、この実施例では、精算機のカードリーダには記
録用ヘッドが不用であるが、記録用ヘッドを設けて、精
算済カードについては磁気面のデータを消去して排出す
ることにより、カード番号の変換方式の解読を不能に
し、カードの偽造を防止するようにしてもよい。
In this embodiment, a recording head is not necessary for the card reader of the checkout machine. However, by providing a recording head and erasing and discharging the data on the magnetic surface of the settled card, the card number can be reduced. May be made impossible to decipher the conversion method, and forgery of the card may be prevented.

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

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

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

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

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

カード精算装置310は、第43図に示すようにカードリ
ーダ800と、その後方に配置された補助搬送装置311と、
ユニット制御装置350からの指示に従ってカードリーダ8
00や補助搬送装置311の制御を司るカード精算制御装置3
12と、それらの電源装置313および補助搬送装置311の後
方に配置されたカード回収タンク314とにより構成され
ている。
The card settlement device 310 has a card reader 800 as shown in FIG. 43, an auxiliary transport device 311 disposed behind the card reader 800,
Card reader 8 according to the instruction from unit controller 350
00 and a card settlement controller 3 that controls the auxiliary transport device 311
12 and a card collection tank 314 arranged behind the power supply device 313 and the auxiliary transport device 311.

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

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

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

しかも、この実施例の精算機300は、第44図に示すご
とくこれを複数個並べ、コーナーユニット50やカード回
収機900と組み合わせることにより、パチンコ店の景品
交換コーナーに設けられるカウンタを構成することがで
きるようになっている。
Moreover, as shown in FIG. 44, the checkout machine 300 of this embodiment has a plurality of counters arranged in combination with the corner unit 50 and the card collection machine 900 to form a counter provided in a prize exchange corner of a pachinko parlor. Is available.

すなわち、精算機300の本体は上面パネル301が床から
約1m程度の高さになるように設計され、かつ上面は略平
坦にされているため、景品交換等の作業台として利用す
ることができる。
That is, the main body of the checkout machine 300 is designed so that the upper panel 301 is approximately 1 m above the floor and the upper surface is substantially flat, so that it can be used as a work table for prize exchange and the like. .

なお、カード回収機900は前面にカード挿入口905と景
品払出口906を備え、かつ挿入されたカードを読み取る
カードリーダー(図示省略)を内蔵し、上面には使用済
カードによるゲームを提供するゲーム装置としてのCRT
表示器910が載置されている。
The card collection machine 900 has a card insertion slot 905 and a prize payout port 906 on the front, a built-in card reader (not shown) for reading the inserted card, and a game for providing a game using a used card on the top. CRT as device
The display 910 is placed.

第45図には上記印字切替スイッチ354により設定され
る2つの印字モードにおいてプリントアウトされるレシ
ートの印字フォーマット例を示す。
FIG. 45 shows an example of a print format of a receipt printed out in two print modes set by the print switch 354.

このうち、同図(A)は印字切替スイッチ354により
精算データのみの印字を指定した場合のレシートのフォ
ーマット例で、パチンコ店のホール各HALLと、カードの
発行通し番号nと、精算年月日および受付時間TIMEと、
精算金額AMs、精算玉数CNTと、メッセージMSGとが印字
される。
Among them, FIG. (A) shows an example of a receipt format when printing of only the settlement data is designated by the print changeover switch 354. Each hall of the pachinko parlor, the serial number n of the card, the settlement date, and Reception time TIME,
The settlement amount AMs, the settlement ball number CNT, and the message MSG are printed.

一方、第45図(B)は印字切替スイッチ354により来
歴データ印字を指定した場合のレシートのフォーマット
例を示すもので、同図(A)の精算データに加え、カー
ド発行時の購入金額AMiと、カードファイル内の来歴デ
ータ(遊技中にカード状態が変化した各時点での未使用
金額および持玉数)CRRとが印字される。
On the other hand, FIG. 45 (B) shows an example of a receipt format when the history data printing is designated by the print changeover switch 354. In addition to the settlement data shown in FIG. And the history data in the card file (unused amount and number of balls at each time the card status changes during the game) and CRR are printed.

なお、上記実施例の精算機では、台番号設定器352の
最上位桁を「9」にセットすることによりカード回収モ
ードとし、それ以外のときは精算後のカードを前方に排
出するとしたが、精算時にカード状態をチェックするこ
とで、使用した金額が「0」であって購入金額をすべて
払い戻すようなカードに関しては、未使用金を払い戻し
た後にカードを後方の回収タンク314へ排出させるよう
にソフトウェアで制御することもできる。これによっ
て、回収機で精算済カードによるゲームを行なわせるよ
うなシステムを構成した場合において、そのゲームのた
めにのみカードを購入する悪用を回避することができ
る。
In the settlement machine of the embodiment, the card collection mode is set by setting the highest digit of the unit number setting unit 352 to “9”, and in other cases, the card after settlement is ejected forward. By checking the card status at the time of settlement, if the card used is "0" and the purchase amount is to be refunded, the card is discharged to the collection tank 314 at the rear after the unused money is refunded. It can be controlled by software. This makes it possible to avoid abuse of purchasing a card only for the game in the case where the system is configured so that the game using the adjusted card is performed by the collection machine.

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

この実施例の制御システムは、大別してユニット制御
装置350による制御系とカード精算制御装置312による制
御系とに分割されており、ユニット制御装置350が、紙
幣および硬貨払出器321,325や各種表示器303,304,341〜
343およびプリンタ330の制御と各種スイッチ類351〜35
4,305の入力の受付けを担当しており、カード精算制御
装置312が補助搬送装置311と、回収したカードの計数表
示手段としてのカウンタ317と、カードのチェックおよ
び磁気データの読出しを行なうカードリーダ800の制御
装置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 has bill and coin dispensers 321, 325 and various displays 303, 304, 341. ~
Control of 343 and printer 330 and various switches 351 to 35
The card settlement controller 312 is in charge of receiving an input of 4,305, and the card settlement controller 312 is provided with an auxiliary transport device 311, a counter 317 as a counting and displaying means of collected cards, and a card reader 800 for checking cards and reading magnetic data. It is in charge of general control of the control device 388. Communication between the unit control device 350 and the issuance control device 312 is performed by serial communication.

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

第47図には精算機300のユニット制御装置350の構成を
示す。このユニット制御装置350の構成は、第41図に示
されている発行機200のユニット制御装置280とほとんど
同一であり、カードリーダーダ制御装置388およびカー
ド精算制御装置312を総括的に制御するユニットコント
ローラ390と、管理装置400とのデータ伝送に係る制御を
するデータ伝送コントローラ551と、データ伝送コント
ローラの制御下でネットワークにおける送受信権の確立
およびデータの直並列変換を行うネットワークコントロ
ーラ553等から構成されており、通信系に関してはパチ
ンコ機のユニット制御装置180と全く同一の構成であ
る。すなわち、各コントローラ390と551間および551と5
53間のデータの受け渡しは、デュアルポートメモリ(RA
M)550および552を介して実行できるように構成されて
いる。このうち、メモリ552は、送信データ記憶領域と
受信データ記憶領域とに分かれており、全ての送受信デ
ータ長を同一長にする(パケット化)のための調整機能
と、データ伝送の高速化(2.5Mbps)を計るための緩衝
機能とをもっている。
FIG. 47 shows the configuration of the unit control device 350 of the checkout machine 300. The configuration of this unit control device 350 is almost the same as the unit control device 280 of the issuing machine 200 shown in FIG. 41, and is a unit that comprehensively controls the card reader control device 388 and the card settlement control device 312. A controller 390, a data transmission controller 551 for controlling data transmission with the management device 400, and a network controller 553 for establishing a transmission / reception right in a network and performing serial / parallel conversion of data under the control of the data transmission controller. The communication system has exactly the same configuration as the unit control device 180 of the pachinko machine. That is, between each controller 390 and 551 and 551 and 5
Data transfer between the 53
M) is configured to run via 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 adjustment function for making all transmission / reception data lengths the same (packetization), and a high speed data transmission (2.5 Mbps).

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

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

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

一方、精算機のユニット制御装置350がパチンコ機の
ユニット制御装置180と異なる点は、ユニットコントロ
ーラ390がカードリーダ制御装置388と直接交信すること
はせず、カード精算制御装置312を介して行なうことで
ある。そのため、ユニットコントローラ390とカード精
算制御装置312との間には送受信データのレベル変換を
行うトランシーバ571が接続されている。
On the other hand, the point that the unit controller 350 of the settlement machine is different from the unit controller 180 of the pachinko machine is that the unit controller 390 does not directly communicate with the card reader controller 388, but through the card settlement controller 312. It is. Therefore, a transceiver 571 that performs level conversion of transmission / reception data is connected between the unit controller 390 and the card settlement controller 312.

また、ユニットコントローラ390には、球数表示器303
のリセットスイッチ305や台番号設定器352、モニタ表示
器343のリセットスイッチ351、硬貨抜取スイッチ353お
よび印字切替スイッチ354からの入力信号を所定のタイ
ミングでデータバス581上にのせたり精算中表示器341と
精算中止表示器342の駆動信号をラッチしたりする入出
力コントローラ576と、紙幣払出器321、硬貨払出器325
およびプリンタ330からの入力信号を所定のタイミング
でテータバス581上へのせ、かつ紙幣払出器321と硬貨払
出器325およびプリンタ330への制御信号をラッチする入
出力コントローラ578が接続されている。
The unit controller 390 includes a ball number display 303
The input signals from the reset switch 305, the unit number setting unit 352, the reset switch 351 of the monitor display 343, the coin removal switch 353, and the print changeover switch 354 are placed on the data bus 581 at a predetermined timing, or the display 341 is displayed. And an input / output controller 576 for latching the drive signal of the payment stop display 342, the bill dispenser 321 and the coin dispenser 325.
Also, an input / output controller 578 for inputting an input signal from the printer 330 onto the data bus 581 at a predetermined timing and for latching control signals to the bill dispenser 321 and the coin dispenser 325 and the printer 330 is connected.

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

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

一方、ユニットコントローラ390から硬貨払出器325に
対する制御信号としては硬貨払出しモータの駆動信号が
あり、この駆動信号を出力している間は1枚ずつ連続的
に硬貨が排出される。そして硬貨払出器325からユニッ
トコントローラ390に対しては硬貨を1枚払い出すごと
に出力するコイン検出信号と硬貨収納タンク内の残量が
少なくなったことを示す信号とがある。また、ユニット
コントローラ390からプリンタ330への制御信号には、印
字データ、印字終了後のペーパーカットコマンド、印字
指令等を与える8ビットのデータ信号と、このデータ信
号の取込み開始を指示する信号と、プリンタの初期化信
号とがある。プリンタ330からユニットコントローラ390
への入力信号としては印字異常を示すエラー信号と、印
字用ペーパー切れを示す信号と、印字動作中を示す信号
とがある。
On the other hand, as a control signal from the unit controller 390 to the coin dispenser 325, there is a drive signal of a coin dispensing motor, and while this drive signal is being output, coins are continuously discharged one by one. The coin dispenser 325 supplies the unit controller 390 with a coin detection signal output every time one coin is dispensed and a signal indicating that the remaining amount in the coin storage tank is low. The control signals from the unit controller 390 to the printer 330 include print data, a paper cut command after printing, an 8-bit data signal for giving a print command, and a signal for instructing the start of capture of this data signal. There is a printer initialization signal. Unit controller 390 from printer 330
The input signals to the printer include an error signal indicating a printing error, a signal indicating that the printing paper has run out, and a signal indicating that a printing operation is being performed.

さらに、ユニットコントローラ390には、精算玉数を
表示する玉数表示器303や精算金額を表示する金額表示
器304および精算機の異常の種類を示す番号を表示する
モニタ表示機343をダイナミック表示させるためのデコ
ーダ586a,586b,587とデコーダドライバ588,589がデータ
バス581を介して接続されている。
Further, the unit controller 390 dynamically displays a ball number display 303 for displaying the number of settlement balls, an amount display 304 for displaying the settlement amount, and a monitor display 343 for displaying a number indicating the type of abnormality of the settlement machine. 586a, 586b, 587 and decoder drivers 588, 589 are connected via a data bus 581.

表14に、上記モニタ表示器343に表示されるエラー番
号とその内容および処置の一例を示す。
Table 14 shows an example of the error numbers displayed on the monitor display 343, their contents, and actions.

同表において、*印の付されているエラーが発生した
場合はシステムダウンとしてリセットがかかる。また、
エラー表示が点滅している場合はエラー回復処理後、リ
セットボタンを押す必要があることを示している。
In the table, when an error marked with an asterisk occurs, the system is reset as a system down. Also,
When the error display is blinking, it indicates that it is necessary to press the reset button after the error recovery processing.

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

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

上記のごとくユニット制御装置350は、管理装置400、
カード精算制御装置312の二方向に情報交換の窓口を有
しており、管理装置400の制御下のもとにカードを精算
するための制御を行なうとともに、精算処理の結果とし
て発生する精算機における稼働データを定期的に管理装
置に送信するソフトウェアを有している。
As described above, the unit control device 350 includes the management device 400,
It has a window for exchanging information in two directions of the card settlement controller 312, controls the card settlement under the control of the management device 400, and controls the settlement machine generated as a result of the settlement process. Software for periodically transmitting operation data to the management device is provided.

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

表15および表16に、各々上記ユニットメモリ550内の
送信データエリアSDAおよび受信データエリアRDAの構成
例を示す。交信用エリアCCAの構成はパチンコ機のユニ
ットメモリのそれと全く同一である(表3参照)。
Tables 15 and 16 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 communication area CCA is exactly the same as that of the unit memory of the pachinko machine (see Table 3).

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

なお、上記表15に示されているモニタ情報1は、表17
に示すようにシステム立上り時のテスト実行中を示すビ
ット、初期値設定/未設定を示すビット、ホットコード
エラーを示すビット、ローカルネットワーク(伝送ケー
ブル500)の異常を示すビット(低層用と高層用の2ビ
ット)、精算機異常を示すビット等により構成されてい
る。
Note that the monitor information 1 shown in Table 15 above corresponds to Table 17
As shown in the figure, a bit indicating that a test is being executed at system startup, a bit indicating initial value setting / unset, a bit indicating a hot code error, and a bit indicating a local network (transmission cable 500) error (for low and high layers) , 2 bits), a bit indicating an abnormality of the payment apparatus, and the like.

また、モニタ情報2は、表18に示すようにペーパー切
れを示すビット、プリンタの異常を示すビット、カード
リーダの異常を示すビット、カードタンク内の状態を示
すビット、硬貨払出器の硬貨の有無を示すビット、硬貨
払出器の異常を示すビット、紙幣払出器の紙幣タンク内
の状態を示すビット、紙幣払出器の異常を示すビット等
により構成されている。
Further, as shown in Table 18, the monitor information 2 includes a bit indicating a paper out condition, a bit indicating a printer error, a bit indicating a card reader error, a bit indicating a state in the card tank, and the presence or absence of a coin in the coin dispenser. , A bit indicating an abnormality of the coin dispenser, a bit indicating a state of the bill dispenser in the bill tank, a bit indicating an abnormality of the bill dispenser, and the like.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

なお、本実施例における管理装置400では、遊技装置
を構成する遊技機本体としてのパチンコ機100と制御ユ
ニット160との稼動データをP機ファイルとしてのカー
ドファイルと共に管理しているが、これに限定されるも
のではなく、どのようなデータ管理構成に対することも
できる。
In the management device 400 according to the present embodiment, the operation data of the pachinko machine 100 and the control unit 160 as the gaming machine main body constituting the gaming device are managed together with the card file as the P machine file. Instead, it can be for any data management configuration.

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

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

表20に設定値ファイルFL1の構成例を示す。 Table 20 shows a configuration example of the setting value file FL1.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

次に、表25にP機ファイルFL4の構成例を示す。 Next, Table 25 shows a configuration example of the P machine file FL4.

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

*総容量 56×506=28336=約30Kバイト 表26および表27に発行機ファイルFL5と精算機ファイ
ルFL6をそれぞれ示す。表25に示すデータ項目は、表10
に示されている発行機の送信データエリアに保持されて
いるデータ、また、表27に示すデータの項目は表15に示
されている送信データエリアに保持されているデータと
各々一致する。これらは、1秒間に1回管理装置によっ
てサンプリングされる。
* Total capacity 56 x 506 = 28336 = Approximately 30 Kbytes Tables 26 and 27 show the issuer file FL5 and checkout file FL6, respectively. The data items shown in Table 25 are
The data stored in the transmission data area of the issuing machine shown in Table 27 and the data items shown in Table 27 correspond to the data stored in the transmission data area shown in Table 15. These are sampled by the management device once a second.

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

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

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

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

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

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

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

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

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

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

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

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

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

表29に掲記されている“カード精算”パケットは、カ
ード精算機300のカード挿入口302にカードが挿入された
ときに、ユニット制御装置350から管理装置400に対して
そのカードに関するカード番号を送ってカードに関する
未使用金額、玉数、来歴を要求するためのパケット、ま
た表28の“カード精算ACK"パケットはそれに対する応答
パケットである。
The “card settlement” packet described in Table 29 transmits a card number related to the card from the unit control device 350 to the management device 400 when the card is inserted into the card insertion slot 302 of the card settlement machine 300. The packet for requesting the unused amount, the number of balls, and the history of the card, and the "card settlement ACK" packet in Table 28 are response packets to the packet.

また、表29に示されている“カード精算終了”パケッ
トはカードの精算が終了したことを管理装置400に知ら
せるためのパケットで管理装置はこのパケットを受信し
たときに、カードファイル内の当該カードのカード状態
を“精算済”に変更し、来歴データの欄に精算時のデー
タを書き込む。表28の“カード精算終了ACK"パケット
は、上記“カード精算終了”パケットに対する管理装置
400から精算機300への応答パケットで、この応答パケッ
トの受信をもってカードの精算処理が完了し、次のカー
ドの精算機への挿入が可能となる。
The “card settlement end” packet shown in Table 29 is a packet for notifying the management device 400 that the card settlement has been completed. When the management device receives this packet, the card in the card file is deleted. Is changed to “payment completed” and the data at the time of payment is written in the history data column. The “card settlement end ACK” packet in Table 28 is a management device for the above “card settlement end” packet.
With the response packet from 400 to the settlement machine 300, the receipt of this response packet completes the card settlement processing, and the next card can be inserted into the settlement machine 300.

なお、上記“カード精算”および“カード精算終了”
パケットとその応答パケット以外は、パチンコ機と管理
装置との間で送受信されるパケットと共通である。
In addition, "Card payment" and "Card payment end"
Other than the packet and the response packet, the packet is common to the packet transmitted and received between the pachinko machine and the management device.

また、表28においてNAKなるパケットは、管理装置400
がユニット制御装置350から上記2つのパケットのいず
れかを受信したときの相手に対する否定応答であり、パ
ケットデータが異常であったような場合にNAKパケット
が送信される。
Further, in Table 28, the packet of NAK is the management device 400
Is a negative acknowledgment to the other party when either of the above two packets is received from the unit control device 350. If the packet data is abnormal, a NAK packet is transmitted.

なお、表28および表29に示されている各パケットのコ
ード09H,8OH,‥‥は、16進数で表示したものであり、そ
のコードは一例であってこれに限定されるものでないこ
とはいうまでもない。
Note that the codes 09H, 8OH, and パ ケ ッ ト of each packet shown in Tables 28 and 29 are represented in hexadecimal notation, and the codes are merely examples and are not limited thereto. Not even.

第54図〜第60図には、上記データ伝送システム(ロー
カルネットワーク)において精算機300と管理装置400と
の間で送受信されるパケットのフォーマットの代表的な
例を示す。
FIGS. 54 to 60 show typical examples of the format of a packet transmitted and received between the settlement machine 300 and the management device 400 in the data transmission system (local network).

このうち第54図にカード精算機に対する“回線テス
ト”パケットの構造(他の端末と共通)を、また、同図
(B)にカード精算機から管理装置に対する応答たる
“ACK"パケットの構造を示す。
Fig. 54 shows the structure of the "line test" packet for the card settlement machine (common to other terminals), and Fig. 54 (B) shows the structure of the "ACK" packet as a response from the card settlement machine to the management device. Show.

第54図(A)のパケットにおける「精算機番号」〜
「チャネル番号」の欄には初期化の際に予めNAUがNAU番
号設定スイッチ561や台番号設定スイッチ562等の設定値
に基づいて算出しておいた番号を、管理装置からの“回
線テスト”パケットを受信した時点で入れて対応する精
算機に送る。一方、第54図(B)のパケットにおける
「精算機番号」〜「チャネル番号」の欄にはユニットコ
ントローラ390が台番号設定器352の設定値に基づいて予
め算出しておいた番号を入れて送信するようになってい
る。
"Checkout machine number" in the packet of Fig. 54 (A) ~
In the “Channel number” column, a number previously calculated by the NAU based on the setting values of the NAU number setting switch 561 and the unit number setting switch 562 at the time of initialization is used for the “line test” from the management device. When the packet is received, it is inserted and sent to the corresponding checkout machine. On the other hand, in the column of “payment machine number” to “channel number” in the packet of FIG. 54 (B), a number previously calculated by the unit controller 390 based on the set value of the unit number setting unit 352 is entered. To be sent.

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

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

一方、各端末機から管理装置400に対してデータを伝
送する場合、先ず端末機は低層ネットワーク用のパケッ
トヘッドLHDのみをデータの頭に付けて低層ネットワー
ク510上に送り出す。すると、そのパケットはNAU530に
よって取り込まれ、そこでパケットヘッドLHDの頭にさ
らに高層ネットワーク用パケットヘッドを付けて高層ネ
ットワーク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 out the data to the low-layer network 510. Then, the packet is taken in by the NAU 530, where the packet head for the high-layer network is further attached to the head of the packet head LHD, sent out to the high-layer network 520, and transmitted to the management device 400.

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

第56図には、管理装置400から精算機300に対するデー
タを伴わない各種指令パケットの構成例を示す。
FIG. 56 shows an example of the configuration of various command packets without data from the management device 400 to the settlement machine 300.

同図のパケットタイプ欄の×,×には、コード90H
(開店コード)、91H(閉店コード)、95H(強制終了要
求)、96H(強制終了解除)またはB1H(リスタート)の
いずれかのコードが入る。これらの受信パケットに対す
るNAU530への応答はなく、一方的な指令送信である。た
だし、管理装置へはNAU530がACKパケットを形成して返
す。
In the packet type column of FIG.
(Opening code), 91H (Closed code), 95H (Forced termination request), 96H (Forced termination release), or B1H (Restart) code. There is no response to these received packets to NAU 530, and it is a one-way command transmission. However, the NAU 530 forms and returns an ACK packet to the management device.

第57図(A)〜(C)には、カードの精算予約を管理
装置400に要求する“カード精算”パケットとその応答
パケット“ACK"および“NAK"の構成例を示す。
FIGS. 57 (A) to 57 (C) show examples of the structure of a “card settlement” packet for requesting the management device 400 to make a card settlement reservation, and its response packets “ACK” and “NAK”.

カード精算の際の“カード精算”パケットのデータ欄
には、精算機のカードリーダによって読み取ったカード
番号のみを入れて送る。一方、その応答“ACK"パケット
のデータ欄には管理装置においてカード番号から逆算し
た発行通し番号nを用いてカードファイルを検索して読
み出した当該カードのデータを入れて送る。
At the time of card settlement, only the card number read by the card reader of the settlement machine is sent in the data field of the "card settlement" packet and sent. On the other hand, in the data field of the response "ACK" packet, data of the card read out by reading out the card file by using the issue serial number n calculated backward from the card number in the management device is sent.

一方、精算機300における未使用金の払戻しや玉数を
印字したレシートの発行等の精算処理が終了したときに
精算機300から管理装置400に送られる“カード精算終
了”とその応答パケットの構成を第58図に示す。送信パ
ケットのデータ欄にはカード番号のみ入れて送る。応答
パケットにはデータ欄は不用である。
On the other hand, when the payment processing such as refund of unused money or issuance of a receipt printed with the number of balls in the payment machine 300 is completed, the “card payment end” sent from the payment machine 300 to the management device 400 and a configuration of a response packet thereof Is shown in FIG. 58. Only the card number is put in the data field of the transmission packet and sent. The data field is unnecessary for the response packet.

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

このうち、“定時データ送信”パケットには、ユニッ
トメモリの送信データエリア内のすべてのデータを入れ
て送り、管理装置400はこのデータを受信して精算機フ
ァイルFL6内の当該精算機のデータを更新する。ただ
し、送信データのうちカード番号は管理装置において利
用されないデータであるので、送信されてもファイル内
に登録されない。
The “scheduled data transmission” packet contains all the data in the transmission data area of the unit memory and sends it. The management device 400 receives this data and stores the data of the payment machine in the payment machine file FL6. Update. However, since the card number of the transmission data is data that is not used in the management device, even if transmitted, it is not registered in the file.

一方、“ユニット復旧データ”パケットには、管理装
置400の精算機ファイル内の全データと、設定値ファイ
ルから読み出した年月日、識別コードおよびホットコー
ドを、ユニットメモリ550のデータエリアの構成に一致
させて送ってくる。ただし、ユニットメモリの送信デー
タエリアと重複する受信データパケットヘッドとホット
コードは重複した送信を省略し、ユニットコントローラ
390の側で送信データエリアから受信データエリアへコ
ピーするようになっている。受信データ中※6で示され
るデータはユニットメモリ500の受信データエリアに記
入される。上記“ユニット復旧データ”パケットに対す
る応答パケットでは、送信データエリア内の全データを
入れて送るようになっている。
On the other hand, in the “unit recovery data” packet, all data in the checkout machine file of the management device 400, the date read from the set value file, the identification code and the hot code are included in the data area configuration of the unit memory 550. I will send it with matching. However, for the received data packet head and hot code that overlap the transmission data area of the unit memory, duplicate transmission is omitted and the unit controller
390 copies the data from the transmission data area to the reception data area. The data indicated by * 6 in the received data is written in the received data area of the unit memory 500. In the response packet to the "unit recovery data" packet, all the data in the transmission data area are put and transmitted.

なお、第54図〜第60図に示されているパケットは、ネ
ットワークにのせられる本来のパケットの全部ではなく
要部のみであり、上記パケットの他に、データの先頭を
発見するためのアラートバーストや同期データ、伝送元
を示すソースアドレスフィールドや伝送先を示すデステ
ィネーションアドレスフィールド等からなるヘッダ部
と、データの長さを示すカウント部、誤り検出用のチェ
ックコード部がある。これらは、各端末機のユニット制
御装置内のネットワークコントローラ553によって自動
的に生成されて付加されるようになっている。
The packets shown in FIG. 54 to FIG. 60 are not all of the original packets put on the network but only the main part, and in addition to the above packets, an alert burst for finding the head of data is also provided. , Synchronous data, a header section including a source address field indicating a transmission source and a destination address field 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 553 in the unit control device of each terminal.

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

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

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

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

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

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

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

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

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

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

しかる後、データ伝送コントローラ551はページ0内
のデータの送信コマンドをラッチLT2に書き込む(ステ
ップS224)。
Thereafter, the data transmission controller 551 writes a command for transmitting data in page 0 to the latch LT2 (step S224).

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

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

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

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

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

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

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

なお、パチンコ機のユニット制御装置180や発行機の
ユニット制御装置280におけるデータ送信処理も第61図
〜第64図の制御手順と同一の手順に従って実行される。
The data transmission processing in the unit control device 180 of the pachinko machine and the unit control device 280 of the issuing machine is also executed according to the same procedure as the control procedure in FIGS. 61 to 64.

次に、精算機300のユニット制御装置350とカード精算
制御装置312およびカードリーダ制御装置338における制
御手順を、相互間のデータ通信と関連して説明する。
Next, control procedures in the unit controller 350, the card settlement controller 312, and the card reader controller 338 of the settlement machine 300 will be described in relation to data communication between them.

なお、この実施例のカード精算機においては、ユニッ
トコントローラ390はカード精算制御装置312と通信可能
でカードリーダ制御装置388と直接交信することはでき
ない。つまり、カードリーダ制御装置388はカード精算
制御装置312との間でのみ通信が可能である。ユニット
コントローラ390とカード精算制御装置312との間の通信
は、ファンクションコードによって行ない、カード精算
制御装置312とカードリーダ制御装置388との間の通信は
コマンドによって行なうようになっている。ちなみにユ
ニットコントローラ390からカード精算制御装置312に対
するファンクションコードとしては、カードから読み取
った磁気データと照合するための年月日コードと識別コ
ードをカードリーダに対して与えるための「初期値設
定」ファンクション、カードリーダに対しカードの受付
を許可する「カード受付可」ファンクション、カードリ
ーダに対しカードの受付を中止するように指令するため
の「カード受付不可」ファンクション、カードを排出す
るよう指令する「カード排出」ファンクション、カード
の磁気データの再読込みを指令する「リロード」ファン
クション、直前に送ってきたファンクションコードの再
送を要求する「再送要求」ファンクション、カード精算
制御装置312がカードリーダ制御装置388から受け取った
カードリーダの状態を示すステータスの送信を要求する
「ステータス要求」ファンクション、パンチ穴形成領域
の所定の位置にカード精算が終了したことを表わす精算
穴PH5を穿孔したのちカードを没収(後方へ排出)する
よう指令を与える「カード没収」ファンクションおよび
精算穴形成後カードを挿入口側(前方)へ排出する指令
を与える「精算」ファンクションの9種類の指令が用意
されている。
In the card settlement machine of this embodiment, the unit controller 390 can communicate with the card settlement control device 312 and cannot directly communicate with the card reader control device 388. That is, the card reader control device 388 can communicate only with the card settlement control device 312. Communication between the unit controller 390 and the card settlement controller 312 is performed by a function code, and communication between the card settlement controller 312 and the card reader controller 388 is performed by a command. By the way, as the function code from the unit controller 390 to the card settlement controller 312, an `` initial value setting '' function for giving the card reader a date code and an identification code for collating with the magnetic data read from the card, "Card accepted" function to allow card reader to accept card, "Card unacceptable" function to instruct card reader to stop accepting card, "Card eject" to instruct card eject Function, a "reload" function to instruct rereading of the magnetic data of the card, a "retransmission request" function to request retransmission of the function code sent immediately before, the card settlement controller 312 received from the card reader controller 388. Card reader Requesting transmission of status indicating a status "status request" function, confiscated cards After drilling a settlement holes PH 5 indicating that the card settlement is finished at a predetermined position of the punch hole forming region (discharge backward) to as Nine types of commands are provided, a "card confiscation" function for giving a command and a "payment" function for giving a command to eject a card to the insertion slot side (forward) after the settlement hole is formed.

また、カード精算制御装置312からユニットコントロ
ーラ390に対するファンクションコードとしては、リセ
ット時に年月日や識別コード等の初期値を要求する「初
期値要求」ファンクション、指示された処理が正常に終
了したことをユニットコントローラに知らせる「正常終
了」ファンクションおよび逆に正常に処理が終了しなか
ったことを知らせる「異常終了」ファンクション、カー
ドリーダで読み取ったカード番号をユニットコントロー
ラへ送る「カード番号」ファンクションコード、ユニッ
トコントローラに対して直前に送ってきたファンクショ
ンコードの再送を要求する「再送要求」ファンクショ
ン、挿入されたカードに不正があることをカードリーダ
コントローラが判定し自らの意志でカードを排出したこ
とを知らせる「セルフ排出」ファンクションとユニット
コントローラ390からの「ステータス要求」に対してカ
ードリーダのステータスを送信するための「ステータス
送信」ファンクションの7種類がある。
Also, the function code from the card settlement controller 312 to the unit controller 390 includes an "initial value request" function for requesting an initial value such as a date and an identification code at the time of reset, and a fact that the designated processing has been normally completed. "Normal end" function to notify the unit controller and conversely "abnormal end" function to notify that processing was not completed normally, "Card number" function code to send the card number read by the card reader to the unit controller, unit controller "Re-send request" function to request the re-sending of the function code sent immediately before, the "self-informing" that the card reader controller judges that the inserted card is invalid and informs that the card was ejected on its own will. Discharge There are seven types of "status transmission" function for transmitting the "status request" to the card reader status from the function and the unit controller 390.

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

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

また、「セルフ排出」ファンクションの中には、表32
のような不正原因を示す8ビットのコードの入る欄が設
けられており、ファンクションコードとともに送られる
ようになっている。
Also, in the “Self Eject” function, Table 32
A column for entering an 8-bit code indicating the cause of fraud is provided, and is sent together with the function code.

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

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

なお特に限定されないが、上記コマンドを示すコード
はESCなる開始コードとCRなる終了コードに挾まれて送
信され、ESCとCRとの間にはコマンドコードの他に送信
するデータが入ることがある。また、カードリーダ制御
装置388からカード精算制御装置312への応答は、STXな
る開始コードとCRなる終了コードとの間に上記エラーの
種類を示すコードまたはエラーコードと要求されたデー
タを挾んで送信するようになっている。
Although not particularly limited, a code indicating the command is transmitted between a start code of ESC and an end code of CR, and data to be transmitted other than the command code may be inserted between the ESC and the CR. In addition, a response from the card reader control device 388 to the card settlement control device 312 is transmitted between the start code as STX and the end code as CR with a code indicating the type of the error or the error code and the requested data interposed therebetween. It is supposed to.

第65図には、カード精算機300のユニットコントロー
ラ390における主たる処理の具体的な制御手順を示す。
FIG. 65 shows a specific control procedure of main processing in the unit controller 390 of the card settlement machine 300.

ユニットコントローラ390は、リセット信号が入って
くると、CPU内部の初期化すなわち内部メモリ(RAM)を
クリアして所定の番地にチェックコードを書き込んだ
り、タイマや内部レジスタ、I/Oポートをクリアもしく
は所定の値にセットする(手続きPC301)。それから、
ユニットメモリ550の所定の端子からイニシャライズ信
号INTが立ち上がるのを待ち(手続きPC302)、この信号
が立ち上がると台番号設定器352から精算機の台番号を
読み取って、その台番号を用いて端末通し番号とチャネ
ル番号を演算し、それらの番号をユニットメモリ550の
送信データエリアに書き込む(手続きPC303,PC304)。
Upon receiving a reset signal, the unit controller 390 initializes the CPU, that is, clears the internal memory (RAM) and writes a check code to a predetermined address, or clears a timer, an internal register, and an I / O port. It is set to a predetermined value (procedure PC301). then,
Wait for the initialization signal INT to rise from a predetermined terminal of the unit memory 550 (procedure PC302), and when this signal rises, read the machine number of the settlement machine from the machine number setting unit 352 and use the machine number to set the terminal serial number. The channel numbers are calculated, and those numbers are written in the transmission data area of the unit memory 550 (procedures PC303 and PC304).

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

“回線テスト”パケットを受信するとユニットコント
ローラ390は、送信データエリア内のモニタ情報1(表1
5参照)の初期値未設定ビットを「1」にセットする
(手続きPC306)。このビットは“初期値設定”パケッ
トまたは“ユニット復旧データ”パケットを受信したと
きに「0」にクリアされる。それからユニットコントロ
ーラ390はユニットメモリ550の交信用エリア内のコマン
ドレジスタCR2をみて管理装置400からの受信パケットが
あるかいなかチェックし(手続きPC307)、なければそ
のまま、またあったときは第66図のパケット受信処理
(手続きPC341〜PC349)を実行した後にそれぞれ手続き
PC308へ進む。
Upon receiving the “line test” packet, the unit controller 390 monitors the monitor information 1 (Table 1) in the transmission data area.
5) is set to "1" (procedure PC306). This bit is cleared to "0" when an "initial value setting" packet or a "unit recovery data" packet is received. The unit controller 390 then checks the command register CR2 in the communication area of the unit memory 550 to check whether or not there is a received packet from the management device 400 (procedure PC307). After executing the packet reception process (procedures PC341 to PC349), each procedure
Proceed to PC308.

手続きPC308ではカード精算制御装置312からのファン
クションを受信したか否か調べ、受信していなければそ
のまま、また受信していれば各ファンクションに対応し
たファンクション受信処理(第68図)を実行してから手
続きPC309へ進む。
The procedure PC 308 checks whether or not the function from the card settlement controller 312 has been received. If it has not received the function, it executes the function reception process (FIG. 68) corresponding to each function. Proceed to procedure PC309.

手続きPC309では内部メモリを見て未処理の受信パケ
ットが残っているか否かチェックし、なければそのま
ま、また未処理パケットがあれば第66図のパケット受信
処理(PC341〜PC349)を実行してから手続きPC310へ進
む。上記ファンクション受信処理(第68図)において
「カード番号」ファンクションを受信して第69図の精算
処理を実行している間に管理装置からパケットを受信し
た場合を考慮したものである。
In procedure PC309, the internal memory is checked to see if any unprocessed received packets remain. If no unprocessed packets remain, the packet receiving process (PC341 to PC349) shown in FIG. 66 is performed. Proceed to procedure PC310. This takes into consideration the case where a packet is received from the management device while the "card number" function is received in the function receiving process (FIG. 68) and the settlement process in FIG. 69 is executed.

手続きPC310では、硬貨払出スイッチ353がオンされて
いるか否かチェックし、オンされていれば手続きPC311
で硬貨払出器325のモータを駆動させてから手続きPC313
へ移行する。手続きPC311で始動したモータは、手続きP
C313またはPC314実行後に手続きPC307へ戻り、再びPC30
8→PC309→PC310と進んで、硬貨払出スイッチ353がオフ
したと判定した時点で停止させる。つまり、硬貨払出器
325のモータは硬貨払出スイッチ353がオンされている間
だけ回転され、その間硬貨の排出を継続する。
The procedure PC 310 checks whether or not the coin payout switch 353 is turned on.
Drive the motor of the coin dispenser 325 with PC313
Move to. For the motor started in procedure PC311, procedure P
After execution of C313 or PC314, return to procedure PC307, again PC30
Proceed from 8 → PC309 → PC310, and stop when it is determined that the coin payout switch 353 is turned off. In other words, coin dispenser
The motor 325 is rotated only while the coin payout switch 353 is turned on, and continues to eject coins during that time.

一方、手続きPC313で開閉パネル301上の表示リセット
スイッチ305がオンかオフか調べ、オフならそのまま、
またオンなら手続きPC314で金額および玉数表示器303,3
04の表示データをクリアしてから、手続きPC307へ戻
り、上記手続きを繰り返す。
On the other hand, the procedure PC 313 checks whether the display reset switch 305 on the open / close panel 301 is on or off.
If it is on, the procedure PC314 will be used to display the amount and number of balls 303,3
After clearing the display data of 04, return to procedure PC307 and repeat the above procedure.

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

ユニットコントローラ390は、受信パケットがある
と、先ずその受信パケットが“初期値設定”パケットか
否か判定し(手続きPC341)、“初期値設定”パケット
なら第67図(A)に示す初期値設定処理(手続きPC401
〜PC403)を実行してから手続きPC349へ移行して、パケ
ットを受信したことをデータ伝送コントローラ551に知
らせるためユニットメモリ550内のコマンドレジスタCR2
をクリアする。
When there is a received packet, unit controller 390 first determines whether or not the received packet is an “initial value setting” packet (procedure PC341). If the packet is an “initial value setting” packet, unit controller 390 sets the initial value shown in FIG. 67 (A). Processing (procedure PC401
~ PC403), and then proceed to procedure PC349, in order to notify the data transmission controller 551 that the packet has been received, the command register CR2 in the unit memory 550.
Clear

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

また、受信パケットが“初期値設定”でも“ユニット
復旧データ”でもないときは、“ACK"受信か否か判定し
(手続きPC343)、“ACK"受信のときはなにもせずにそ
のまま手続きPC349へ移行する。この時点で受信した“A
CK"パケットは、ユニットコントローラ390から管理装置
400へパケットを送信してその応答を待っているとき以
外の“ACK"であるためである。
If the received packet is neither “initial value setting” nor “unit recovery data”, it is determined whether or not “ACK” has been received (procedure PC343). Move to. "A received at this time
CK "packet is sent from the unit controller 390 to the management device.
This is because it is “ACK” other than when a packet is transmitted to 400 and waiting for a response.

手続きPC343で受信パケットが“ACK"でなかったとき
は手続きPC344へ進み、ここでモニタ情報1内の初期値
未設定ビットが「1」か否かチェックする。ここで、初
期値未設定ビットが「1」なら手続きPC349へ移行し、
「0」なら手続きPC345へ移行する。“初期値設定”パ
ケットを受信する前に“開店コード”や“強制終了解
除”パケットが入ってきたときに誤まって精算機が精算
動作を開始しないようにするためである。
If the received packet is not "ACK" in procedure PC343, the process proceeds to procedure PC344, where it is checked whether or not 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 procedure PC349,
If "0", the procedure proceeds to procedure PC345. This is to prevent the settlement machine from erroneously starting the settlement operation when the “store opening code” or the “forced termination release” packet comes in before the “initial value setting” packet is received.

手続きPC345では、受信パケットが“開店コード”パ
ケットか否か判定し、イエスなら第67図(C)に示す強
制終了解除処理(手続きPC421〜PC424)を実行する。ま
た、“開店コード”でないときは手続きPC346で受信パ
ケットが“強制終了解除”か否か判定し、イエスなら同
じく強制終了解除処理PC421〜PC424を実行し、ノオなら
手続きPC347へ進む。
In procedure PC345, it is determined whether or not the received packet is a “store opening code” packet. If yes, the forced termination release processing (procedures PC421 to PC424) shown in FIG. 67 (C) is executed. If it is not the "opening code", it is determined in step PC346 whether the received packet is "forced termination release". If yes, the forced termination release processing PC421-PC424 is executed, and if no, the process proceeds to procedure PC347.

手続きPC347では、受信パケットが“閉店コード”か
否か判定し、イエスなら第67図(D)に示す強制終了処
理(手続きPC431〜PC434)を実行する。また“閉店コー
ド”でないときは手続きPC348で受信パケットが“強制
終了要求”か否か判定し、イエスなら同じく強制終了処
理PC431〜PC434を実行してから、またノオならそのまま
手続きPC349へ移行してユニットメモリ550内のコマンド
レジスタCR2をクリアする。
In procedure PC347, it is determined whether or not the received packet is a “closing code”, and if yes, the forced termination process (procedures PC431 to PC434) shown in FIG. 67 (D) is executed. If it is not a "closed code", the procedure PC348 determines whether the received packet is a "forced termination request", and if yes, executes the same forced termination processing PC431 to PC434, and if no, proceeds to the procedure PC349 as it is. The command register CR2 in the unit memory 550 is cleared.

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

このうち第67図(A)は“初期値設定”パケットを受
信したときの処理であり、ユニットコントローラ390は
先ずユニットメモリ550の受信データエリアに書き込ま
れた受信パケットのヘッド部分を送信データエリアにコ
ヒーすることで、送信の際のパケットのヘッドとなる部
分を作成するとともに、受信データエリアのホットコー
ドを送信データエリアの所定の番地にコピーする(手続
きPC401,PC402)。
FIG. 67 (A) shows the processing when the “initial value setting” packet is received. The unit controller 390 first sets the head portion of the received packet written in the received data area of the unit memory 550 to the transmission data area. By performing the cohering, a portion serving as the head of the packet at the time of transmission is created, and the hot code of the reception data area is copied to a predetermined address of the transmission data area (procedures PC401 and PC402).

次に、手続きPC106で「1」にセットした送信データ
エリア内のモニタ情報1の初期値未設定ビットをクリア
することで、ユニット制御装置350が初期値を受信した
ことを明示してから、元のルーチンへ戻る(手続きPC40
3)。
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 control device 350 has received the initial value, Return to the routine (procedure PC40
3).

“ユニット復旧データ”パケットを受信したときは、
第67図(B)の処理が開始され、先ず受信データエリア
内のパケットタイプと受信した復旧データを送信データ
エリアの対応するエリアにコピーしてからユニットメモ
リ550の交信用エリア内のコマンドレジスタCR2に“ACK"
パケットの送信コマンドを書き込んでデータ伝送コント
ローラ551にパケットの送信を指示する(手続きPC411,P
C412)。
When the “unit recovery data” packet is received,
The processing of FIG. 67 (B) 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 command register CR2 in the communication area of the unit memory 550 is copied. To “ACK”
Write a packet transmission command to instruct the data transmission controller 551 to transmit a packet (procedure PC411, PC
C412).

次に、タイマ(10秒)を設定してから管理装置400か
らのパケットの受信を待ち、“ACK"送信後一定時間(10
秒)内に所定のパケット(“リスタート”パケット)が
送信されてこないときはウォッチドッグパルスの出力を
停止させて、自らリセットをかける(手続きPC413〜PC4
17)。10秒以内に“リスタート”パケットが送信されて
きたときは第66図の手続きPC349でコマンドレジスタCR2
をクリアしてから第65図のメインルーチンへ戻る(手続
きPC418)。
Next, after setting a timer (10 seconds), it waits for a packet to be received from the management device 400, and waits for a fixed time (10
If a predetermined packet (“restart” packet) is not transmitted within the second, the output of the watchdog pulse is stopped and the self-reset is performed (procedures PC413 to PC4).
17). If a “restart” packet is sent within 10 seconds, use command PCCR2 in procedure PC349 in FIG. 66.
And then returns to the main routine in FIG. 65 (procedure PC418).

第67図(C)には管理装置から“開店コード”または
“強制終了解除”パケットを、また第67図(D)には
“閉店コード”または“強制終了”パケットの送信を受
けたときの処理が示されている。ユニットコントローラ
390が“開店コード”または“強制終了解除”を受信し
たときは先ず精算中止ランプ342を消灯、精算中ランプ3
41を点灯してからカードの受付を可能にするファンクシ
ョンを送信し、精算機の稼動情報内の「稼動中」を示す
ビットをセットする(手続きPC421〜PC424)。一方、
“閉店コード”または“強制終了”パケットを受信する
と、精算中ランプ341を消灯、精算中止ランプ342を点灯
してから、カードの受付を不可にするファンクションを
送信し、稼動情報内の「稼動中」を示すビットをクリア
する(手続きPC431〜PC434)。
FIG. 67 (C) shows the transmission of the “opening code” or “forced termination” packet from the management device, and FIG. 67 (D) shows the transmission of the “closing code” or “forced termination” packet. Processing is shown. Unit controller
When the 390 receives the “store opening code” or “forced termination release”, first, the payment stop lamp 342 is turned off, and the payment in progress lamp 3
After turning on 41, a function for enabling card acceptance is transmitted, and a bit indicating "in operation" in the operation information of the checkout machine is set (procedures PC421 to PC424). on the other hand,
When the “closed code” or “forced termination” packet is received, the check-in lamp 341 is turned off, the check-out stop lamp 342 is turned on, and then a function for disabling card acceptance is transmitted. Is cleared (procedures PC431 to PC434).

第68図には第65図のフロー中におけるファンクション
受信処理の具体的手順を示す。
FIG. 68 shows a specific procedure of the function receiving process in the flow of FIG.

ここでは、第65図中の手続きPC308で受信したファン
クションが、「正常終了」、「異常終了」、「ステータ
ス送信」、「再送要求」のいずれのファンクションか調
べる(手続きPC351〜PC354)。そして、受信したファン
クションが「正常終了」のときはモニタ情報2の“カー
ドリーダ異常”ビットをクリアし、「異常終了」のとき
は同ビットを“1"にセットして元のルーチンへ戻る(手
続きPC361,PC362)。また、受信したファンクションが
「ステータス送信」であったときはファンクションコー
ドとともに送られてきたステータス1,2を内部メモリに
記憶する(手続きPC363)。さらに、受信したファンク
ションが「再送要求」であったときは、前回送信したフ
ァンクションを再度送信し直してから元のルーチンへ戻
る(手続きPC364)。
Here, it is checked whether the function received by procedure PC 308 in FIG. 65 is any one of “normal termination”, “abnormal termination”, “status transmission”, and “retransmission request” (procedures PC351 to PC354). If the received function is "normal end", the "card reader abnormal" bit of the monitor information 2 is cleared, and if "abnormal end", the bit is set to "1" and the routine returns to the original routine ( Procedures PC361, PC362). When the received function is "status transmission", the statuses 1 and 2 transmitted together with the function code are stored in the internal memory (procedure PC363). Further, when the received function is "retransmission request", the previously transmitted function is retransmitted, and the process returns to the original routine (procedure PC364).

一方、手続きPC308で受信したファンクションが上記
4つのいずれのファンクションでもなかったときは、手
続きPC355でモニタ情報1内の“初期値未設定”ビット
が“0"か否か調べ、“1"なら何もせず、また“0"なら手
続きPC356へ移行して受信したファンクションが「初期
値要求」ファンクションか否かチェックし、イエスなら
手続きPC365で「初期値設定」ファンクションを送信し
てから元のルーチンへ戻る(手続きPC365)。初期値未
設定ビットが“0"のときにのみ「初期値要求」ファンク
ションを受付けるのは、当該ビットが“1"の間はユニッ
トコントローラが未だ管理装置から“初期値設定”パケ
ットを受信していないためである。また、受信したファ
ンクションが「初期値設定」でなかったときは、手続き
PC357へ移行して「カード番号送信」ファンクションか
否か判定する。そして、イエスなら第69図に示す精算処
理(手続きPC451〜PC482)を実行してから元のルーチン
(第65図)へ戻る。
On the other hand, if the function received by the procedure PC 308 is not any of the above four functions, the procedure PC 355 checks whether the “initial value not set” bit in the monitor information 1 is “0”. No, if it is “0”, it moves to procedure PC356 and checks whether the received function is the “initial value request” function, and if yes, sends the “initial value setting” function with procedure PC365 and returns to the original routine. Return (procedure PC365). The reason why the "initial value request" function is accepted only when the initial value unset bit is "0" is that the unit controller still receives the "initial value setting" packet from the management device while the bit is "1". Because there is no. If the received function is not "Initial value setting",
The process proceeds to PC357 to determine whether or not the function is "send card number". If yes, the settlement processing (procedures PC451 to PC482) shown in FIG. 69 is executed, and then the process returns to the original routine (FIG. 65).

さらに、受信したファンクションがカードの排出を知
らせる「セルフ排出」であったときは、そのことを内部
メモリに記憶して元のルーチンへ戻る(手続きPC358,PC
359)。
Further, if the received function is "self-ejection" to notify the ejection of the card, the fact is stored in the internal memory and the process returns to the original routine (procedure PC358, PC358).
359).

この記憶を用いて排出音をスピーカにより出力させた
り、あるいはカード排出ファンクションとともに送られ
てきた不正原因をも記憶しておいて、原因を外部に表示
させるようにしてもよい。
Using this storage, the ejection sound may be output by a speaker, or the cause of the fraud sent along with the card ejection function may be stored, and the cause may be displayed externally.

「カード番号送信」ファンクションを受信したときに
実行される精算処理においては、第69図に示すように、
先ず管理装置400に向かってカードリーダで読み取った
カード番号を入れた“カード精算”パケットを送信し、
10秒タイマをセットする(手続きPC451,PC452)。それ
から、上記タイマをチェックしながら、管理装置からの
パケットの応答を待ち(手続きPC453,PC454)、“カー
ド精算”パケット送信後10秒以内に管理装置からのパケ
ットを受信しなかったときは手続きPC481へジャンプし
てカード精算制御装置312に対して「カード排出」ファ
ンクションを送信してカードを前方(カード挿入口30
2)へ排出させた後、金額および玉数表示器303,304の表
示をクリアして元のルーチンへ戻る(手続きPC482)。
In the settlement process executed when the “card number transmission” function is received, as shown in FIG. 69,
First, a "card settlement" packet containing the card number read by the card reader is transmitted to the management device 400,
Set the 10-second timer (procedure PC451, PC452). Then, while checking the timer, it waits for a packet response from the management device (procedures PC453 and PC454). If no packet is received from the management device within 10 seconds after the transmission of the "card settlement" packet, the procedure PC481 is executed. Jumps to the card settlement controller 312 and sends the "Card Eject" function to send the card forward (card insertion slot 30
After discharging to 2), the display of the amount and number of balls indicator 303, 304 is cleared and the process returns to the original routine (procedure PC482).

一方、手続きPC452でセットしたタイマがタイムオー
バーを起こす前に管理装置からの応答パケットを受信し
たときは、そのパケットが“NAK"または“ACK"か調べ
(手続きPC455,PC456)、“NAK"のときは手続きPC481へ
ジャンプしてカードを排出させる。また、受信したパケ
ットが“NAK"でも“ACK"でもないときは未処理パケット
として内部メモリに登録しておく(手続きPC457)。こ
の未処理パケットは、当該精算処理終了後、第65図の手
続きPC309で検出されて処理される。
On the other hand, if a response packet is received from the management device before the timer set in procedure PC452 times out, it is checked whether the packet is "NAK" or "ACK" (procedures PC455 and PC456). Jumps to procedure PC481 and ejects the card. If the received packet is neither "NAK" nor "ACK", it is registered as an unprocessed packet in the internal memory (procedure PC457). This unprocessed packet is detected and processed by the procedure PC 309 in FIG. 65 after the settlement processing is completed.

また、受信したパケットが“カード精算”パケットに
対する応答“ACK"であったときは、“ACK"パケットに入
れて送られてきた当該カードに関する未使用金額と持玉
数のデータを金額および玉数表示器303,304に表示させ
るためのデータを出力バッファに設定してから、印字切
換スイッチ354がオンかオフか判定する(手続きPC458,P
C459)。ここで、印字切換スイッチ354がオフなら手続
きPC460で精算データ(未使用金額と持玉数)をプリン
タ330へ送って印字させる。一方、印字切換スイッチ354
がオンなら、精算データの他来歴データをもプリンタへ
送って印字させる(手続きPC461)。
When the received packet is a response “ACK” to the “card settlement” packet, the data of the unused amount and the number of balls relating to the card transmitted in the “ACK” packet are represented by the amount and the number of balls. After setting data to be displayed on the displays 303 and 304 in the output buffer, it is determined whether the print switch 354 is on or off (procedures PC458 and PC458).
C459). If the print switch 354 is off, the settlement data (unused amount and number of balls) is sent to the printer 330 and printed by the procedure PC460. On the other hand, the print switch 354
If is turned on, the payment history data as well as the history data are sent to the printer for printing (procedure PC461).

しかる後、ユニットコントローラ390は未使用金額デ
ータから釣銭の有無を判定し、釣銭無しのときは手続き
PC469へジャンプする(手続きPC462)。また釣銭がある
ときは千円未満の端数があるか否か判定し、端数がある
ときは硬貨払出器325に対して払出指令を与えて端数に
対応した数の硬貨を排出させた後、ユニットメモリ550
の送信データエリア内の精算金額と硬貨金額のデータを
加算する(手続きPC463〜PC465)。なお、未使用金に千
円未満の端数がないときは手続きPC463からPC466へジャ
ンプして、未使用金が千円以上か判定し、千円以上のと
きは紙幣払出器321に対して紙幣の払出し指令を与えて
からユニットメモリの精算金額と紙幣金額のデータを加
算する(手続きPC466〜PC468)。
Thereafter, the unit controller 390 determines whether or not there is a change from the unused amount data.
Jump to PC469 (procedure PC462). Also, if there is a change, it is determined whether there is a fraction less than 1,000 yen.If there is a fraction, after issuing a payout command to the coin dispenser 325 and discharging the number of coins corresponding to the fraction, the unit Memory 550
The data of the settlement amount and the coin amount in the transmission data area are added (procedures PC463 to PC465). If the unused money has no fraction less than 1,000 yen, the procedure jumps from PC463 to PC466 to determine whether the unused money is 1,000 yen or more. After giving the payout instruction, the settlement amount and the bill amount data in the unit memory are added (procedures PC466 to PC468).

また、未使用金が千円未満のときは手続きPC466からP
C469へジャンプし、ユニットメモリ内の精算回数をイン
クリメントしてから、精算玉数のデータを加算する(手
続きPC470)。
In addition, when unused money is less than 1,000 yen, P from procedure PC466
The process jumps to C469, increments the number of settlements in the unit memory, and then adds the data of the number of settlement balls (procedure PC470).

次に、ユニットコントローラ390は、台番号設定器352
の設定値を見てカード没収モードか否か判定し、没収モ
ードならカード精算制御装置312に対して「カード没
収」ファンクションを、また没収モードでないときは
「精算」ファンクションを送信する(手続きPC471〜PC4
73)。しかる後、管理装置400に対して“精算終了”パ
ケットを送信し、再び10秒タイマをセットする(手続き
PC474,PC475)。それから、そのタイマをチェックしな
がら管理装置から応答パケットが送られてくるのを待ち
(手続きPC476,PC477)、パケットを受信する前にタイ
マがタイムオーバーを起こしたなら、手続きPC482へジ
ャンプして金額および玉数表示器の表示データをクリア
する。
Next, the unit controller 390 sends the unit number setting unit 352
It is determined whether or not the mode is the card confiscation mode by looking at the set value of the confidential mode. If the mode is the confiscation mode, the “card confiscation” function is transmitted to the card settlement control device 312. PC4
73). Thereafter, a “payment end” packet is transmitted to the management device 400, and the 10-second timer is set again (procedure
PC474, PC475). Then, while checking the timer, wait for a response packet to be sent from the management device (procedures PC476 and PC477). If the timer times out before receiving the packet, jump to procedure PC482 to jump to the amount and Clear the display data of the ball number display.

一方、タイムオーバーを起こす前にパケットを受信し
たときは、受信したパケットが“ACK"か否か調べ、“AC
K"なら精算処理を終了して元のルーチンへ戻り、“ACK"
以外のときは未処理パケットとして登録してから手続き
PC476へ戻って“ACK"の受信を待つ(手続きPC478,PC47
9)。
On the other hand, if a packet is received before the time over occurs, it is checked whether the received packet is “ACK” and “AC”
If "K", the settlement process ends and returns to the original routine, "ACK"
Otherwise, register as an unprocessed packet and proceed
Return to PC476 and wait for reception of “ACK” (procedure PC478, PC47
9).

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

ユニットコントローラ390は、第65図のフロー中の手
続きPC301でセットされた内部のタイマから1m秒間隔で
割込み信号が入ってくると、先ず手続きPC321で内部メ
モリに書き込んだチェックコードを読み出してコードが
変化していないか調べることで内部メモリをチェックし
て、異常があるときは手続きPC324へジャンプしてウォ
ッチドッグパルスの出力を省略することでリセットをか
ける)手続きPC321)。内部メモリが正常であるときは
手続きPC322でタイマ(データ伝送コントローラ用タイ
マを含む)を更新してからウォッチドッグパルスを出力
した後、金額および玉数表示器303,304をダイナミック
表示させるためのデータを出力して割込み処理を終了す
る(手続きPC323,PC324)。
When the unit controller 390 receives an interrupt signal at an interval of 1 ms from the internal timer set by the procedure PC 301 in the flow of FIG. 65, the unit controller 390 first reads the check code written in the internal memory by the procedure PC 321 and reads the code. The internal memory is checked by checking for changes, and if there is an abnormality, the procedure jumps to procedure PC324 and resets by omitting the output of the watchdog pulse (procedure PC321). If the internal memory is normal, update the timer (including the timer for the data transmission controller) with the procedure PC322, then output the watchdog pulse, and then output the data for dynamically displaying the monetary value and the number of balls indicator 303, 304. To terminate the interrupt processing (procedures PC323 and PC324).

なお、第65図〜第69図のフローチャートには示されて
いないが、ユニットコントローラ390はカード精算制御
装置312からのファンクションを受信した場合、そのコ
ードをチェックしてエラーがあったときには、「再送要
求」ファンクションを送信するようにしている。
Although not shown in the flowcharts of FIGS. 65 to 69, when the unit controller 390 receives a function from the card settlement controller 312, it checks its code and if there is an error, returns Request "function is sent.

第71図にはカード精算制御装置312におけるカード精
算等の制御手順が示されている。
FIG. 71 shows a control procedure for card settlement and the like in the card settlement controller 312.

カード精算制御装置312は、リセットがかかると先ず
内部メモリやレジスタ、I/Oポート等をクリアして初期
化した後、タイマ(ex.10秒)を設定し、「初期値要
求」ファンクションをユニットコントローラ390に対し
て送信する(ルーチンRN301〜RN303)。次に、ユニット
コントローラ390からのファンクションを受信したかチ
ェックし、受信していなければルーチンRN302で設定し
たタイマがオーバーしたか判定する(ルーチンRN304,30
5)。そしてタイムオーバーするまでルーチンRN304,305
を繰り返し、タイムオーバーしたならルーチンRN302へ
戻ってタイマを設定し直してから再度「初期値要求」フ
ァンクションを送信する。最初に「初期値要求」ファン
クションを送った時点では、まだユニットコントローラ
390における受信の準備が整っていない場合があり得る
からである。
When a reset is applied, the card settlement controller 312 first clears and initializes the internal memory, registers, I / O ports, etc., sets a timer (ex. 10 seconds), and executes the “initial value request” function This is transmitted to the controller 390 (routines RN301 to RN303). Next, it is checked whether or not the function from the unit controller 390 has been received, and if not, it is determined whether or not the timer set in the routine RN302 has expired (routines RN304 and RN30).
Five). Routine RN304, 305 until time is over
Is repeated, and if the time is over, the process returns to the routine RN302, resets the timer, and transmits the "initial value request" function again. When the "Initial value request" function is sent for the first time,
This is because it may not be ready for reception at 390.

「初期値要求」ファンクション送信後に、ユニットコ
ントローラ390からのファンクションを受信すると、ル
ーチンRN304からRN306へ移行して、受信したファンクシ
ョンに対応した処理を実行する。
When the function from the unit controller 390 is received after the transmission of the “initial value request” function, the processing shifts from the routine RN304 to RN306 to execute processing corresponding to the received function.

しかる後、内部メモリ内のステータス1の初期値未設
定ビットを調べて、“1"すなわち初期値がまだ設定され
ていないときはルーチンRN302へ戻ってタイマをセット
し直して再び「初期値要求」ファンクションを送信す
る。このファンクションに応答してルーチンRN306で対
応する処理(第73図(A))が実行されると、ルーチン
RN307でノオ(初期値未設定ビット=“0")と判定され
てルーチンRN308へ移行する。ここではカードリーダ制
御装置388からのコマンドを受信したか否かチェック
し、なければそのまま、また受信コマンドがあればルー
チンRN309でコマンドに対応した処理(後述)を実行し
てからルーチンRN310へ移行して、次のファンクション
を受信したか否かチェックし、あればルーチンRN306で
対応する処理を実行し、なければルーチンRN307へジャ
ンプする。
Thereafter, the initial value unset bit of the status 1 in the internal memory is checked, and if it is "1", that is, if the initial value has not been set yet, the routine returns to the routine RN302 to reset the timer, and the "initial value request" is again performed. Send the function. When the corresponding processing (FIG. 73 (A)) is executed in the routine RN306 in response to this function, the routine
The RN 307 determines that no (initial value unset bit = “0”), and shifts to the routine RN308. Here, it is checked whether or not a command has been received from the card reader control device 388. If there is no received command, if there is a received command, processing corresponding to the command (described later) is executed in the routine RN309, and then the routine proceeds to the routine RN310. Then, it is checked whether or not the next function has been received. If there is, the corresponding process is executed in the routine RN306. If not, the process jumps to the routine RN307.

第72図には第71図のフロー中における受信ファンクシ
ョンに対応した処理(ルーチンRN306)の具体的手順を
示す。
FIG. 72 shows a specific procedure of processing (routine RN306) corresponding to the reception function in the flow of FIG. 71.

この処理では、先ず受信したファンクションが「初期
値送信」、「ステータス要求」または「再送要求」のい
ずれかに該当するか判定する(ルーチンRN321〜RN32
3)。そして、受信したファンクションが、「初期値送
信」であったときは、第73図(A)に示されている初期
値ファンクション受信処理(ルーチンRN401〜RN403)を
実行して元のルーチン(第71図)へ戻る。一方、受信し
たファンクションが「ステータス要求」であったときは
ステータス1,2を入れた「ステータス送信」ファンクシ
ョンをユニットコントローラ390へ送信して元のルーチ
ンへ戻る(ルーチンRN326)。また、受信したファンク
ションが「再送要求」であったときは、前回送信したフ
ァンクションを再度送信して元のルーチンへ戻る(ルー
チンRN327)。
In this processing, first, it is determined whether the received function corresponds to any of “initial value transmission”, “status request”, or “retransmission request” (routines RN321 to RN32).
3). When the received function is “transmission of initial value”, an initial value function reception process (routines RN401 to RN403) shown in FIG. 73A is executed to execute the original routine (71st routine). Return to figure). On the other hand, if the received function is "status request", a "status transmission" function including the statuses 1 and 2 is transmitted to the unit controller 390, and the process returns to the original routine (routine RN326). If the received function is "retransmission request", the previously transmitted function is transmitted again and the process returns to the original routine (routine RN327).

さらに、受信したファンクションが上記3つのファン
クションのいずれでもないときは、ルーチンRN324でス
テータス1の初期値未設定ビットが“1"に設定されてい
るかチェックして、“0"なら受信したファンクションが
「カード受付可」、「カード受付不可」、「カード排
出」、「リロード」、「カード没収」または「精算」の
いずれに該当するか判定する(ルーチンRN328〜RN33
3)。そして、いずれか該当したときは第73図(B)〜
(G)に示されている各ファンクションに対応した処理
を実行する。
Further, if the received function is not any of the above three functions, it is checked in routine RN324 whether the initial value unset bit of status 1 is set to "1", and if "0", the received function is " It is determined whether any of the following conditions is applicable: "card accepted", "card accepted", "card ejection", "reload", "card confiscation", or "payment" (routines RN328 to RN33).
3). Then, if any of the cases apply, FIG. 73 (B)-
A process corresponding to each function shown in (G) is executed.

一方、ルーチンRN324で初期値未設定ビットが“1"な
ら何もせずに「異常終了」ファンクションを返送する
(ルーチンRN325)。初期値が設定されていない状態で
上記6つの受信ファンクションに対応する処理を実行す
べきでないからである。
On the other hand, if the initial value unset bit is “1” in the routine RN324, the “abnormal termination” function is returned without performing anything (routine RN325). This is because the processing corresponding to the above six reception functions should not be executed in a state where the initial value is not set.

第73図(A)には第72図のファンクション受信処理フ
ロー中における「初期値送信」ファンクション受信処理
の具体的手順を示す。
FIG. 73 (A) shows a specific procedure of the “initial value transmission” function reception processing in the function reception processing flow of FIG. 72.

このファンクションを受信すると、カード精算制御装
置312は、ファンクションとともに送られてきた年月
日、識別コードを内部メモリに記憶し、ステータス1の
初期値未設定ビットをクリアした後、「正常終了」ファ
ンクションをユニットコントローラ390へ送信する(ル
ーチンRN401〜RN403)。
Upon receipt of this function, the card settlement controller 312 stores the identification code in the internal memory, the date sent together with the function, clears the initial value unset bit of status 1 and then returns the "normal end" function. Is transmitted to the unit controller 390 (routines RN401 to RN403).

第73図(B),(C)には「カード受付可」ファンク
ションと「カード受付不可」ファンクションを受信した
場合のカード精算制御装置312の処理の具体的手順を示
す。
73 (B) and 73 (C) show a specific procedure of the process of the card settlement controller 312 when the "card accepted" function and the "card unacceptable" function are received.

このうち、「カード受付可」ファンクションを受信し
たときは磁気読込コマンドをカードリーダ制御装置388
へ送信してからユニットコントローラ390へ「正常終
了」ファンクションを送信する(ルーチンRN411,RN41
2)。一方、「カード受付不可」ファンクションをカー
ド精算制御装置312が受信したときは、先ずカードの読
取り指令を解除するキャンセルコマンドをカードリーダ
制御装置388へ送信してからタイマをセットする(ルー
チンRN421,RN422)。それからこのタイマを監視しなが
らカードリーダ制御装置388から応答コマンドを受信し
たか否か調べ(ルーチンRN423,RN424)、応答を受信す
る前にタイムオーバーを起こしたときはルーチンRN427
へジャンプして「異常終了」ファンクションをユニット
コントローラ390へ送信する。また、タイムオーバーを
起こす前に応答コマンドを受信したときは、そのコマン
ドが正常か否かチェックして、正常なら「正常終了」フ
ァンクションをユニットコントローラ390へ送信しての
元のルーチンへ戻る(ルーチンRN425,RN426)。
When the “card accepted” function is received, the magnetic read command is sent to the card reader controller 388.
To the unit controller 390 and send a “normal end” function (routines RN411, RN41
2). On the other hand, when the card settlement control device 312 receives the “card rejection impossible” function, it first sends a cancel command to cancel the card reading command to the card reader control device 388 and then sets the timer (routines RN421, RN422). ). Then, while monitoring this timer, it is checked whether or not a response command has been received from the card reader control device 388 (routines RN423 and RN424).
Jump to and send the "abnormal termination" function to the unit controller 390. If a response command is received before the time is over, it is checked whether the command is normal. If the response command is normal, a "normal end" function is transmitted to the unit controller 390 and the process returns to the original routine (routine RN425 , RN426).

第73図(D)には「カード排出」ファンクションを受
信したときのカード精算装置312の処理手順を示す。こ
の場合の処理は、第73図(C)に示されている「カード
受付不可」ファンクションを受信した場合の処理と略同
一である。異なるのは、最初の「カード前方排出」コマ
ンドを送信する点(ルーチンRN431)と、カードリーダ
制御装置388からの応答コマンドが正常だった場合に、
「磁気読込」をカードリーダ制御装置388へ送信してか
ら「正常終了」ファンクションをユニットコントローラ
390へ送信する点(ルーチンRN436,RN437)である。カー
ド排出指令を与えておきながらルーチンRN436で「磁気
読込」コマンドを送信しているのは、カードリーダ800
が次のカードを受け付けられるようにするためである。
カードリーダ800は、「磁気読込」コマンドを受信して
も直ちにカードの読込みを開始するのではなく、カード
の挿入があってから開始するようになっている(第77図
(A)ルーチンR1201〜R1223参照)。
FIG. 73 (D) shows a processing procedure of the card settlement apparatus 312 when the "card ejection" function is received. The processing in this case is substantially the same as the processing when the “card cannot be accepted” function shown in FIG. 73 (C) is received. The difference is that the first "card forward ejection" command is transmitted (routine RN431) and that the response command from the card reader control device 388 is normal.
After sending “magnetic read” to the card reader controller 388, the “normal end” function is sent to the unit controller.
390 (routine RN436, RN437). The reason why the “magnetic read” command is transmitted in the routine RN436 while giving the card ejection command is that the card reader 800
Is to be able to accept the next card.
The card reader 800 does not start reading the card immediately after receiving the "magnetic read" command, but starts after the card is inserted (FIG. 77 (A) routines R1201 to R1201). R1223).

第73図(E)には第72図のファンクション受信処理フ
ロー中における「リロード」ファンクション受信処理の
具体的手順を示す。
FIG. 73 (E) shows a specific procedure of the “reload” function receiving process in the function receiving process flow of FIG. 72.

このファンクションを受信すると、カード精算制御装
置312は、先ずカードリーダ制御装置388からのコマンド
を受信するバッファを調べることによりカードがカード
リーダ内に存在するか否か判定し、カードがなければ
「ステータス送信」ファンクションをユニットコントロ
ーラ390へ送信する(ルーチンRN441,RN461)。一方、カ
ードリーダ内にカードがあったときは、カードリーダ制
御装置388に対して「リロード」コマンドを送信してか
ら、タイマをセットする(ルーチンRN442)。
Upon receiving this function, the card settlement controller 312 first determines whether or not the card is present in the card reader by examining a buffer for receiving a command from the card reader controller 388. The "transmit" function is transmitted to the unit controller 390 (routines RN441, RN461). On the other hand, when there is a card in the card reader, a “reload” command is transmitted to the card reader control device 388, and then a timer is set (routine RN442).

そして、このタイマを監視しながらカードリーダ制御
装置388からの応答コマンドの受信を持つ(ルーチンRN4
44,RN445)。応答が来る前にタイムオーバーを起こした
なら、ルーチンRN462へジャンプして「異常終了」ファ
ンクションをユニットコントローラ390へ送信する。タ
イムオーバーを起こす前に応答コマンドを受信したとき
は第75図(a)に示す磁気データ検査処理RN501〜RN509
を実行してから、不正の有無を判定する(ルーチンRN44
6)。そして、不正があったときはルーチンRN453へジャ
ンプしてカードリーダに対しカードの排出を指令する。
Then, while monitoring this timer, a response command is received from the card reader control device 388 (routine RN4).
44, RN445). If a time-out occurs before a response arrives, the routine jumps to the routine RN462 and transmits an “abnormal termination” function to the unit controller 390. When the response command is received before the time-over occurs, the magnetic data inspection processing RN501 to RN509 shown in FIG.
And then determine whether there is any illegality (routine RN44
6). Then, when there is a fraud, the process jumps to the routine RN453 to instruct the card reader to eject the card.

一方、カードから読み取った磁気テータに不正がなか
ったときは、カードリーダ制御装置388へ「パンチ穴要
求」コマンドを送信してタイマをセットし、応答コマン
ドを待つ(ルーチンRN447〜RN450)。そして、タイムオ
ーバーを起こしたときはルーチンRN462で「異常終了」
ファンクションを送信し、時間内に応答コマンドを受信
したときは第75図(b)に示すパンチ穴検査処理RN511
〜RN516を実行する。そして、不正の有無を判定し(ル
ーチンRN451)、不正があればルーチンRN453へジャンプ
してカード排出指令を与え、不正がないときはルーチン
RN452で「カード番号送信」ファンクションをユニット
コントローラ390へ送信して第71図のルーチンRN307へ戻
る。
On the other hand, if the magnetic data read from the card is correct, a "punch hole request" command is transmitted to the card reader control device 388, a timer is set, and a response command is waited (routines RN447 to RN450). When the time is over, “abnormal termination” is performed in routine RN462.
When the function is transmitted and the response command is received within the time, the punch hole inspection processing RN511 shown in FIG. 75 (b) is performed.
Execute ~ RN516. Then, it is determined whether there is a fraud (routine RN451). If there is fraud, the routine jumps to routine RN453 to give a card ejection command.
The RN452 transmits a "card number transmission" function to the unit controller 390, and returns to the routine RN307 in FIG.

ルーチンRN446,RN451でそれぞれ不正を検出してルー
チンRN453へジャンプしたときは、先ず「カード排出」
コマンドをカードリーダ制御装置388へ送信した後、タ
イマをセットする(ルーチンRN454)。そして、タイマ
を監視しながら応答コマンドの受信を待ち(ルーチンRN
455,RN456)、タイムオーバーを起こしたときはルーチ
ンR463へジャンプして「異常終了」ファンクションをユ
ニットコントローラ390へ送信する。所定時間内に応答
コマンドを受信したときは、ルーチンRN457へ進み応答
が正常か否かチェックし、正常なら「セルフ排出」ファ
ンクションを送信してカードを排出したことをユニット
コントローラ390に知らせてから、「磁気読込」コマン
ドをカードリーダ制御装置388へ送信する(ルーチンRN4
58,RN459)。次のカードの受付けを可能にさせるためで
ある。
When jumping to the routine RN453 after detecting the fraud in the routines RN446 and RN451, respectively,
After transmitting the command to the card reader control device 388, the timer is set (routine RN454). Then, it waits for a response command while monitoring the timer (routine RN
455, RN456), when the time is over, the routine jumps to the routine R463 and transmits an “abnormal termination” function to the unit controller 390. When the response command is received within a predetermined time, the process proceeds to the routine RN457, and checks whether the response is normal.If the response command is normal, the self-discharge function is transmitted to inform the unit controller 390 that the card has been discharged, Send a “magnetic read” command to the card reader control device 388 (routine RN4
58, RN459). This is to make it possible to accept the next card.

第73図(F)には第72図のファンクション受信処理フ
ロー中における「カード没収」ファンクション受信処理
の具体的手順を示す。
FIG. 73 (F) shows a specific procedure of the “card confiscation” function receiving process in the function receiving process flow of FIG. 72.

このファンクションを受信すると、カード精算制御装
置312は、先ず第75図(c)に示されている精算穴パン
チ処理RN521〜RN525を実行してから、穴開け処理に異常
があったか否かチェックする(ルーチンR471)。そし
て、異常があればルーチンRN479へジャンプして「異常
終了」ファンクションをユニットコントローラ390へ送
信し、パンチ穴エラーがなかったときは、「カード後方
排出」コマンドをカードリーダ制御装置388へ送信して
タイマをセットする(ルーチンRN472,RN473)。それか
ら、タイマを監視しながら応答コマンドの受信を待ち
(ルーチンRN474,RN475)、タイムオーバーもしくは応
答コマンドが正常でないときは「異常終了」ファンクシ
ョンを送信し、応答コマンドが正常だったならば「正常
終了」ファンクションを送信してから、没収カード枚数
を計数するカウンタをカウントアップさせた後、第71図
のルーチンRN307へ戻る(ルーチンRN476〜RN478)。
Upon receiving this function, the card settlement controller 312 first executes the settlement hole punching processes RN521 to RN525 shown in FIG. 75 (c), and then checks whether there is an abnormality in the hole making process ( Routine R471). Then, if there is an abnormality, the routine jumps to the routine RN479 and transmits an “abnormal termination” function to the unit controller 390. If there is no punch hole error, a “card rear ejection” command is transmitted to the card reader control device 388. The timer is set (routines RN472 and RN473). Then, while monitoring the timer, waits for a response command (routines RN474, RN475). If the time is over or the response command is not normal, the "abnormal termination" function is sent. After transmitting the function, the counter for counting the number of confiscated cards is counted up, and the process returns to the routine RN307 in FIG. 71 (routines RN476 to RN478).

第73図(G)には第72図のファンクション受信処理フ
ロー中における「精算」ファンクション受信処理の具体
的手順を示す。
FIG. 73 (G) shows a specific procedure of the “payment” function receiving process in the function receiving process flow of FIG. 72.

このファンクション受信処理は、第73図(F)のカー
ド没収ファンクション受信処理と略同じ手順である。異
なる点は、ルーチンRN482で「カード後方排出」コマン
ドの代わりに「カード前方排出」コマンドを送信する点
と、カード枚数を計数するカウンタをカウントアップし
ない点のみである。
This function reception processing is substantially the same procedure as the card confiscation function reception processing of FIG. 73 (F). The only difference is that a "card ejection" command is transmitted instead of the "card ejection" command in the routine RN482, and a counter for counting the number of cards is not counted up.

これによって「カード没収」ファンクションを受信す
るとカードがカードリーダ後方のカード収納タンク314
内へ排出され、「精算」ファンクションを受信すると前
方のカード挿入口302へカードが排出されるようにな
る。
As a result, upon receiving the “card confiscated” function, the card is stored in the card storage tank 314 behind the card reader.
When the card is ejected and the "payment" function is received, the card is ejected to the front card insertion slot 302.

第74図には第71図のフロー中において「磁気読込み」
コマンドに対する応答コマンドをカードリーダ制御装置
388から受信したときの処理の具体的手順を示す。な
お、この応答コマンドにはカードから読み取った磁気デ
ータが入っている。
FIG. 74 shows “magnetic reading” in the flow of FIG. 71.
Command reader response device for command
The specific procedure of the process when receiving from 388 will be described. The response command contains magnetic data read from the card.

このコマンド受信処理は、第73図(E)に示す「リロ
ード」ファンクション処理フローにおいて、応答コマン
ドを受信した後の処理と類似している。すなわち、先ず
第75図(a)に示されている磁気データ検査処理RN501
〜RN509を実行してから、磁気データに不正があったか
否か判定する(ルーチンRN341)。そして、不正があっ
たときはルーチンRN355へジャンプしてカードリーダに
対してカードの排出(前方)を指令する。
This command receiving process is similar to the process after receiving the response command in the “reload” function process flow shown in FIG. 73 (E). That is, first, the magnetic data inspection processing RN501 shown in FIG.
After executing RNRN509, it is determined whether or not the magnetic data is fraudulent (routine RN341). Then, when there is a fraud, the process jumps to the routine RN355 to instruct the card reader to eject the card (forward).

一方、カードから読み取った磁気データに不正がなか
ったときは、カードリーダ制御装置388へ「パンチ穴要
求」コマンドを送信してタイマをセットし、応答コマン
ドを待つ(ルーチンRN342〜RN345)。そして、タイムオ
ーバーを起こしたときはルーチンRN362で「異常終了」
ファンクションを送信し、時間内に応答コマンドを受信
したときは第75図(b)に示すパンチ穴検査処理RN511
〜RN516を実行する。そして、不正の有無を判定し(ル
ーチンRN346)、不正があればルーチンRN355へジャンプ
してカード排出指令を与え、不正がないときはカードリ
ーダ制御装置388に対して「セキュリティ要求」コマン
ドを送信してからタイマをセットする(ルーチンRN347,
RN348)。そして、タイマを監視しながら応答コマンド
の受信を待ち(ルーチンRN349,RN350)、受信したコマ
ンド内のセキュリティデータが、磁気データ内のセキュ
リティと一致しているか判定し(ルーチンRN351)、一
致しているときは何もせずに、また不一致のときはルー
チンRN352で不正原因を示すセキュリティ不正ビットを
セットしてからそれぞれルーチンRN353へ移行して不正
の有無を判定する。
On the other hand, if the magnetic data read from the card is correct, a "punch hole request" command is transmitted to the card reader control device 388, a timer is set, and a response command is waited (routines RN342 to RN345). When the time is over, “abnormal termination” is performed in routine RN362.
When the function is transmitted and the response command is received within the time, the punch hole inspection processing RN511 shown in FIG. 75 (b) is performed.
Execute ~ RN516. Then, it is determined whether or not there is any fraud (routine RN346). If there is fraud, the flow jumps to routine RN355 to give a card ejection command. If there is no fraud, a “security request” command is transmitted to the card reader control device 388. Before setting the timer (routine RN347,
RN348). Then, while monitoring the timer, it waits for the reception of the response command (routines RN349, RN350), determines whether the security data in the received command matches the security in the magnetic data (routine RN351), and matches. If no, and if they do not match, the routine RN352 sets a security fraud bit indicating the cause of the fraud and then moves to the routine RN353 to determine whether there is fraud.

ここで不正がないと判定したときはルーチンRN354で
「カード番号送信」ファンクションをユニットコントロ
ーラ390へ送信して第71図のルーチンRN307へ戻る。
If it is determined that there is no fraud, a "card number transmission" function is transmitted to the unit controller 390 in a routine RN354, and the process returns to the routine RN307 in FIG.

ルーチンRN341,RN346,RN353でそれぞれ不正を検出し
てルーチンRN355へジャンプしたときは、先ず「カード
排出」コマンドをカードリーダ制御装置388へ送信した
後、タイマをセットする(ルーチンRN356)。そして、
タイマを監視しながら応答コマンドの受信を待ち(ルー
チンRN357,RN358)、タイムオーバーを起こしたときは
ルーチンRN363へジャンプして「異常終了」ファンクシ
ョンをユニットコントローラ390へ送信する。所定時間
内に応答コマンドを受信したときは、ルーチンRN359へ
進み応答か正常か否かチェックし、正常なら「セルフ排
出」ファンクションを送信してカードを排出したことを
ユニットコントローラ390に知らせてから、「磁気読
込」コマンドをカードリーダ制御装置388へ送信する
(ルーチンRN360,RN361)。次のカードの受付けを可能
にさせるためである。
When the routine jumps to the routine RN355 by detecting an illegality in each of the routines RN341, RN346, and RN353, first, a "card ejection" command is transmitted to the card reader control device 388, and then a timer is set (routine RN356). And
While monitoring the timer, it waits for a response command (routines RN357, RN358). If a time-out occurs, the process jumps to the routine RN363 and sends an "abnormal end" function to the unit controller 390. When the response command is received within the predetermined time, the process proceeds to the routine RN359, and checks whether the response is normal.If the response command is normal, a `` self-discharge '' function is transmitted to inform the unit controller 390 that the card has been discharged. A “magnetic read” command is transmitted to the card reader control device 388 (routines RN360, RN361). This is to make it possible to accept the next card.

第75図には第73図(E)の「リロード」ファンクショ
ン受信処理フローおよび第74図のコマンド受信処理フロ
ー中における磁気データ検査処理の具体的手順を示す。
FIG. 75 shows a specific procedure of the magnetic data inspection processing in the "reload" function reception processing flow in FIG. 73 (E) and the command reception processing flow in FIG. 74.

この検査処理では、先ずカードから読み取られカード
リーダ制御装置388から送られてきた磁気データ内の企
業コードと、カード精算制御装置312のプログラムROM内
から読み出した企業コードとを比較して(ルーチンRN50
1)、一致したときは磁気データ内の機器コードと、
「ステータス要求」コマンドに対する応答でカードリー
ダ制御装置388から送られてきた機器コードとを比較す
る(ルーチンRN502)。企業コードまたは機器コードが
一致していないときは、内部メモリの不正原因を示すセ
キュリティ不正ビットに“1"を立てる(ルーチンRN50
6)。
In this inspection processing, the company code in the magnetic data read from the card and sent from the card reader control device 388 is compared with the company code read from the program ROM of the card settlement control device 312 (routine RN50).
1) If matched, the device code in the magnetic data,
The status code is compared with the device code transmitted from the card reader control device 388 in response to the "status request" command (routine RN502). If the company code or the device code does not match, the security illegal bit indicating the cause of the illegality in the internal memory is set to "1" (routine RN50).
6).

また、両コードが一致しているときは、磁気データ内
の年月日コード、識別コードとユニットコントローラ39
0から初期値として送られてきたコードとを比較する
(ルーチンRN503,RN504)。そして、年月日コードが一
致しなかったときは不正原因の年月日不一致を示すビッ
トに、また識別コードが一致しなかったときは不正原因
の識別コード不一致を示すビットにそれぞれ“1"を立て
る(ルーチンRN507,RN508)。
If the codes match, the date code, identification code and unit controller 39 in the magnetic data are used.
The code is compared with the code sent as an initial value from 0 (routines RN503, RN504). If the date codes do not match, “1” is set to the bit indicating the date and time mismatch of the cause of the fraud, and if the identification code does not match, “1” is set to the bit indicating the mismatch of the identification code of the cause of the fraud. Stand up (routines RN507, RN508).

さらに、年月日コード、識別コードも一致したときは
磁気データ内のカード番号の欄にテスト用カードを示す
特定のコードが書き込まれているか調べて挿入されたカ
ードがテスト用カードであると判定したときは不正原因
のテストカードビットに“1"を立てる(ルーチンRN50
9)。
Furthermore, if the date code and the identification code also match, it is determined that the inserted card is the test card by checking whether a specific code indicating the test card is written in the card number column in the magnetic data. In this case, the test card bit of the cause of the fraud is set to “1” (routine RN50
9).

一方、磁気データ内のコードがすべて一致し、かつテ
ストカードでもなかったときは、正常なカードであると
して、第73図(E)または第74図の元のルーチンへ戻っ
て各処理を続行する。
On the other hand, if all the codes in the magnetic data match and the card is not a test card, it is determined that the card is a normal card, and the process returns to the original routine of FIG. 73 (E) or FIG. 74 to continue each processing. .

第75図(b)には第73図(E)および第74図の各処理
フロー中におけるパンチ穴検査処理の具体的手順を示
す。
FIG. 75 (b) shows a specific procedure of the punch hole inspection processing in each processing flow of FIGS. 73 (E) and 74.

このパンチ穴検査処理では、先ず発行穴または復活穴
のいずれかに穴が開いているか調べ、いずれか一方に穴
が開いているときは磁気データ内の発行指令コードFNC
(第2図(E)参照)が所定の発行ファンクションコー
ドまたは復活ファンクションコードと一致しているかチ
ェックする(ルーチンRN512,RN513)。そして、発行穴
と復活穴のいずれも開いていないかあるいは両方共開い
ているときおよび発行指令コードが一致しなかったとき
は、不正原因の発行or復活穴不正を示すビットに“1"を
立ててから元のルーチンへ戻る(ルーチンRN515)。
In this punch hole inspection process, first, it is checked whether a hole is opened in either the issued hole or the resurrection hole, and if one of the holes is opened, the issue command code FNC in the magnetic data is issued.
It is checked whether (see FIG. 2 (E)) matches a predetermined issued function code or a restored function code (routines RN512, RN513). If neither the issue hole nor the resurrection hole is open, or if both are open and if the issuance instruction codes do not match, the bit indicating the issue or resurrection hole improper cause is set to “1”. Then, the process returns to the original routine (routine RN515).

また、発行穴と復活穴のいずれかが開いていてしかも
発行指令コードが一致したときは、帰零穴または精算穴
が開いているかチェックし(ルーチンRN513,RN514)、
いずれか一方に穴が開いているときは不正原因の帰零or
精算穴不正を示すビットに“1"を立てる(ルーチンRN51
6)。帰零穴が開いているカードは金額と持玉数がとも
にゼロであって精算不用なカードであるからであり、精
算穴に穴が開いているカードは精算済カードであるから
である。帰零穴も精算穴も開いていないと判定したとき
は元のルーチンへ戻って処理を続行する。
If either the issue hole or the resurrection hole is open and the issue instruction code matches, it is checked whether the return-to-zero hole or the settlement hole is open (routines RN513, RN514),
If there is a hole in one of them, the cause of the fraud is zero or
Set "1" to the bit that indicates an incorrect settlement hole (routine RN51
6). This is because a card with a return-zero hole is a card that does not require settlement because both the amount of money and the number of possessed balls are zero, and a card with a hole in the settlement hole is a settlement card. When it is determined that neither the return-to-zero hole nor the settlement hole is opened, the process returns to the original routine and continues.

第75図には、第73図(F)および(G)に示されてい
るファンクション受信処理フロー中における精算穴パン
チ処理の具体的手順を示す。
FIG. 75 shows a specific procedure of the settlement hole punching process in the function receiving process flow shown in FIGS. 73 (F) and (G).

この処理においてはパンチ穴の種類(精算穴)を示す
データを設定することでパンチ穴開け位置を間接的に指
定してからそのパンチ穴データを入れた「パンチ穴要
求」コマンドをカードリーダ制御装置388へ送信する
(ルーチンRN521,RN522)。それから、タイマをセット
して、そのタイマを監視しながらカードリーダ制御装置
388からの応答コマンドの受信を待ち(ルーチンRN523〜
RN525)、受信前にタイムオーバーを起こしたときはユ
ニットコントローラ390に「異常終了」ファンクション
を送信する(ルーチンRN526)。また、所定時間内に応
答コマンドを受信したときはそのまま第73図のルーチン
RN471またはRN481に移行して処理を続行する。なお、カ
ードリーダ800におけるパンチ穴開けに不良があったと
きはルーチンRN525で受信した応答コマンドの中にエラ
ーを示すコードが入っており、カード精算制御装置312
はルーチンRN472またはRN482でそのコードを調べること
でパンチ穴開けが正常に行われたか否か知ることができ
る。
In this process, the data indicating the type of punch hole (payment hole) is set, the punch hole position is indirectly specified, and then a “punch hole request” command containing the punch hole data is sent to the card reader controller. It transmits to 388 (routines RN521, RN522). Then, set a timer, and monitor the timer while monitoring the card reader controller.
Wait for the response command from 388 (routine RN523 ~
RN525), if a time-over has occurred before reception, the "abnormal termination" function is transmitted to the unit controller 390 (routine RN526). When a response command is received within a predetermined time, the routine of FIG.
Shift to RN471 or RN481 and continue processing. When there is a defect in punching holes in the card reader 800, a code indicating an error is included in the response command received in the routine RN525, and the card settlement controller 312
By examining the code in the routine RN472 or RN482, it is possible to know whether or not punching has been normally performed.

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

パチンコ機の制御ユニット160内のカードリーダに関
する制御フローとの大きな違いは、カードをカードリー
ダの前方でなく後方へ排出する制御フローを有する点で
ある。
The major difference from the control flow relating to the card reader in the control unit 160 of the pachinko machine is that the control flow for discharging the card to the rear of the card reader instead of to the front is provided.

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

このうち、「磁気読込み」と「リロード」コマンドは
発行機では使用せず、「磁気書込み」コマンドは精算機
や管理装置では使用しない。なお、「磁気読込み」コマ
ンドは、カードリーダ800に対し磁気データのみでなく
カードの全てのデータの読取りを指示し、そのうち磁気
データのみの送信を要求するものである。セキュリティ
データとパンチ穴データに関してはそれぞれ別にデータ
要求コマンドが用意されている。
Of these, the "magnetic read" and "reload" commands are not used by the issuing machine, and the "magnetic write" command is not used by the checkout machine or the management device. The “magnetic read” command instructs the card reader 800 to read not only magnetic data but also all data on the card, and requests transmission of only magnetic data. Data request commands are separately prepared for security data and punch hole data.

第76図にはカードリーダ制御装置388による主たる制
御の手順全体が、また第77図〜第79図にはその詳細な手
順が、そして第80図および第81図には上記主制御とは別
個に割込みによって発生する割込み処理の制御手順が示
されている。
FIG. 76 shows the entire main control procedure by the card reader control device 388, FIGS. 77 to 79 show the detailed procedure, and FIGS. 80 and 81 show the main control separately. 2 shows a control procedure of an interrupt process generated by an interrupt.

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

次に、エラー原因を表示するモニタ表示器175を消灯
状態に設定し、電源投入状態を示すパワーオンランプLE
D21を点灯させた後、内蔵RAM内の“カード挿入禁止”フ
ラグに“1"を立てる(ルーチンR1106〜R1108)。それか
ら、受信バッファに対してカード精算制御装置312から
のコマンドの受信を許可した後、コマンドを受信したか
否か調べる(ルーチンR1109,R1110)。ここで、受信コ
マンドがないときは、ルーチンR1117へ移行して、“カ
ード挿入待ち”フラグが“1"に設定されているかチェッ
クし、“0"ならルーチンR1110へ戻ってコマンドの受信
を待ち、“カード挿入待ち”フラグが“1"のときは第77
図(A)に示されているカード読込み処理を実行してか
らルーチンR1110へ戻る。カード読込み処理は、「磁気
読込み」コマンドを受信したときの処理と同じである。
この実施例のフローチャートは、発行機200や精算機30
0、管理装置400にもパチンコ機100と同一のカードリー
ダ800を使用した場合に共通に使用できるように設計さ
れており、ルーチンR1117から「カード読込み処理」へ
の流れは、精算機や管理装置における制御を意識したも
ので、発行機のフローにおいては、“カード挿入待ち”
フラグはずっと“0"にされており、意味をなさない。
Next, the monitor display 175 for displaying the cause of the error is set to the OFF state, and the power-on lamp LE indicating the power-on state is set.
After turning on D21, the "card insertion prohibition" flag in the internal RAM is set to "1" (routines R1106 to R1108). Then, after permitting the reception buffer to receive the command from the card settlement controller 312, it is checked whether or not the command has been received (routines R1109, R1110). If there is no received command, the flow shifts to the routine R1117 to check whether the "card insertion wait" flag is set to "1". If "0", the flow returns to the routine R1110 to wait for the reception of the command. 77th when the “waiting for card insertion” flag is “1”
After executing the card reading process shown in FIG. (A), the process returns to the routine R1110. The card reading process is the same as the process when the “magnetic reading” command is received.
The flowchart of this embodiment is based on the issuing machine 200 and the payment machine 30.
0, the management device 400 is also designed so that it can be used in common when the same card reader 800 as the pachinko machine 100 is used, and the flow from the routine R1117 to the “card reading process” is performed by the payment device or the management device. In the flow of the issuing machine, "Waiting for card insertion"
The flag has always been set to "0" and has no meaning.

精算機300においては、“開店コード”パケットの受
信に基づいてカード精算制御装置312に「カード受付
可」ファンクションが送られて、カード精算制御装置31
2から「磁気読込み」コマンドがカードリーダ制御装置3
88に送られてくると、ルーチンR1110で受信ありと判定
されてルーチンR1111へ進み、コマンド先頭の“ESC"が
検出されてルーチンR1118へジャンプしてR1121まで進み
コマンドの種類が判定されることで第77図(A)の磁気
読込み処理へ移行して、ルーチンR1202から更に第78図
(a)のカード読取処理を実行し、このフローの中で挿
入検出スイッチがオンの間はカード読込みは行われず
“カード未読込み”フラグがセットされてルーチンR120
3からR1203へ移行して“カード挿入待ち”フラグをセッ
トして第76図のルーチンR1122→R1117へ移行し、ここで
再び第77図(A)の処理へ移行する。つまり、カードが
挿入されるのをずっと待ち、挿入時点で第78図(b)の
カード読取処理を実行するようになる。
In the payment machine 300, a “card accepted” function is sent to the card payment control device 312 based on the reception of the “opening code” packet, and the card payment control device 31
The "magnetic read" command is sent from the card reader controller 3
When it is sent to 88, it is determined that there is a reception in the routine R1110, and proceeds to the routine R1111. The "ESC" at the head of the command is detected, the routine jumps to the routine R1118, the routine proceeds to R1121, and the type of the command is determined. The flow shifts to the magnetic reading process of FIG. 77 (A), and the card reading process of FIG. 78 (a) is further executed from the routine R1202. In this flow, the card reading is performed while the insertion detection switch is on. Not set and the "card unread" flag is set and routine R120
The process proceeds from R3 to R1203, sets the “card insertion wait” flag, and proceeds to the routine R1122 → R1117 in FIG. 76, where the process again proceeds to FIG. 77 (A). In other words, it waits for the card to be inserted all the time, and at the time of the insertion, the card reading process shown in FIG. 78 (b) is executed.

一方、ルーチンR1110でコマンド受信有りと判定し、
ルーチンR1111でその受信データがコマンドの先頭を示
す“ESC"でないと判ったときは、ルーチンR1112でその
コマンドが先に送られてきたコマンドのキャンセルコマ
ンド“CAN"であるか否か判定する。キャンセルコマンド
“CAN"は他の通信コマンドと異なり先頭コードESCと終
端コードCSを有さず、コマンドコードそのもので送られ
てくるのでこのような判定が行なえる。ルーチンR1112
で受信コマンドが“CAN"でなかったときはルーチンR111
7へ移行し、“CAN"であったときは次のルーチンR1113へ
進んで“カード挿入禁止”フラグを設定してからカード
保持ランプを消灯させ、送信バッファへ正常終了を示す
コードを設定してから第78図(h)の送信処理を実行し
てそのコードをカード精算制御装置312へ送信した後、
“カード挿入待ち”フラグをクリアしてルーチンR1110
へ戻る。これによって、その前にカード精算制御装置31
2から送信された「磁気読込み」コマンドによるカード
挿入待ち状態がキャンセルされる。
On the other hand, in the routine R1110, it is determined that the command is received,
If it is determined in the routine R1111 that the received data is not “ESC” indicating the head of the command, it is determined in the routine R1112 whether the command is the cancel command “CAN” of the previously transmitted command. Unlike the other communication commands, the cancel command "CAN" does not have the start code ESC and the end code CS, and is transmitted by the command code itself, so that such determination can be made. Routine R1112
If the received command is not "CAN", the routine R111
Go to 7 and if it is "CAN", go to the next routine R1113, set the "Card insertion prohibition" flag, turn off the card holding lamp, and set a code indicating normal end to the transmission buffer. After executing the transmission processing of FIG. 78 (h) and transmitting the code to the card settlement controller 312,
Routine R1110 after clearing the "card insertion wait" flag
Return to This allows the card settlement controller 31
The card insertion wait state by the “magnetic read” command transmitted from 2 is canceled.

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

第77図(A)には、第76図のフロー中のルーチンR112
2に示されている各コマンド処理のうち「磁気読込み」
コマンドを受信したときの処理の具体的手順を示す。
FIG. 77 (A) shows a routine R112 in the flow of FIG.
"Magnetic read" of each command processing shown in 2
A specific procedure of processing when a command is received will be described.

このコマンド処理では、先ず“カード挿入許可”フラ
グを“1"にセットする(ルーチンR1201)。“カード挿
入許可”フラグがセットされないとカードが挿入されて
もモータが回転されず、カードリーダ内部にカードが取
り込まれないからである。その後、カード保持LED(カ
ードが入ると消灯される)を点灯させてから(ルーチン
R1201)、第78図(a)のカード読取処理R501〜R536を
実行する。それから“カード未読込”フラグが“1"にセ
ットされているか判定する(ルーチンR1203)。前述し
たように第78図(a)のカード読取処理を実行したとき
カード挿入検出センサがオフならルーチンR536で“カー
ド読込”フラグがセットされるので、ルーチンR1204へ
進み“カード挿入待ち”フラグをセットして第76図のメ
インフローに戻る。
In this command processing, first, the "card insertion permission" flag is set to "1" (routine R1201). If the "card insertion permission" flag is not set, the motor is not rotated even if the card is inserted, and the card is not taken into the card reader. After that, turn on the card holding LED (turns off when the card is inserted)
R1201), and executes the card reading processes R501 to R536 in FIG. 78 (a). Then, it is determined whether the "card unread" flag is set to "1" (routine R1203). As described above, if the card insertion detection sensor is off when the card reading process of FIG. 78 (a) is executed, the “card reading” flag is set in the routine R536. Set and return to the main flow in FIG. 76.

一方、カード読取処理実行時に挿入検出センサがオン
しているときは、第78図(a)のフローのルーチンR504
〜R525および第78図(c)の磁気処理と第78図(f)の
1ビット読込み処理を実行して、セキュリティデータと
パンチ穴データおよび磁気データをすべて読み込む。し
かも、“カード未読込み”フラグをセットしないので、
第77図(A)のルーチンR1203ではノオと判定される。
そのため、第78図(b)に示されているパリティ、LRC
検査処理へ移行してこれを実行してから、ルーチンR120
5で送信する磁気データの数を設定し、次に磁気データ
の入っているデータバッファのアドレス(ソース)と送
信バッファのアドレス(デスティネーション)を設定す
る(ルーチンR1206,R1207)。それからルーチンR1208〜
R1214で、上記磁気データバッファ内の磁気データを1
バイト順次送信バッファへ転送するとともに、磁気デー
タを送信に適したアスキーコードに変換した後、データ
の終わりを示すコードCRを送信バッファへ入れる(ルー
チンR1215)。しかる後、内部メモリの所定の番地に応
答コマンドの先頭を示すSTXを設定して、先ずそのSTXを
カード精算制御装置312に向かって送信し(ルーチンR12
16,R1217)、次に磁気データをセットした上記送信バッ
ファのアドレスを設定してそれを順次インクリメントし
ながら1バイトずつ磁気データをカード精算制御装置へ
送信していく(ルーチンR1218〜R1222)。そして、最後
のコードCRの送信が終了したならば、“カード挿入待
ち”フラグをクリアして第76図のメインフローに戻る。
On the other hand, when the insertion detection sensor is on at the time of executing the card reading process, the routine R504 of the flow of FIG.
R525 and the magnetic processing of FIG. 78 (c) and the 1-bit reading processing of FIG. 78 (f) are executed to read all the security data, punch hole data and magnetic data. Moreover, since the “card unread” flag is not set,
In the routine R1203 of FIG. 77 (A), it is determined to be no.
Therefore, the parity and LRC shown in FIG.
After moving to the inspection process and executing this, the routine R120
In step 5, the number of magnetic data to be transmitted is set, and then the address (source) of the data buffer containing the magnetic data and the address (destination) of the transmission buffer are set (routines R1206, R1207). Then the routine R1208 ~
In R1214, the magnetic data in the magnetic data buffer is
After transferring the data to the byte sequential transmission buffer and converting the magnetic data into an ASCII code suitable for transmission, a code CR indicating the end of the data is put into the transmission buffer (routine R1215). Thereafter, the STX indicating the beginning of the response command is set at a predetermined address in the internal memory, and the STX is first transmitted to the card settlement controller 312 (routine R12).
Then, the address of the transmission buffer in which the magnetic data is set is set, and the magnetic data is transmitted to the card settlement controller one byte at a time while sequentially incrementing the address (routines R1218 to R1222). When the transmission of the last code CR has been completed, the "card insertion waiting" flag is cleared, and the flow returns to the main flow in FIG.

第77図(B)には「リロード」コマンドを受信したと
きの手順を示す。カードリーダコントローラ388は「リ
ロード」コマンドを受信すると、第78図(c)の磁気処
理R541〜R579を実行して磁気データを読み取ってから、
第78図(b)のパリティ、LRC検査処理R601〜R624を実
行して第77図(A)のルーチンR1205へ移行し、読み取
った磁気データを送信する(符号J1参照)。
FIG. 77 (B) shows a procedure when a “reload” command is received. Upon receiving the “reload” command, the card reader controller 388 executes the magnetic processes R541 to R579 in FIG. 78 (c) and reads the magnetic data.
The parity and LRC check processes R601 to R624 in FIG. 78 (b) are executed, and the flow shifts to the routine R1205 in FIG. 77 (A) to transmit the read magnetic data (see reference numeral J1).

第77図(C)には、「磁気書込み」コマンドを受信し
たときのカードリーダコントローラの処理手順を示す。
このコマンド処理はカード精算機300では無縁であるの
で、説明は省略する。
FIG. 77 (C) shows a processing procedure of the card reader controller when a “magnetic write” command is received.
This command processing is irrelevant in the card settlement machine 300, and thus the description is omitted.

第77図(D)にはカード精算制御装置312からの「ス
テータス要求」コマンドを受信したときのカードリーダ
制御装置388の制御手順を示す。
FIG. 77 (D) shows a control procedure of the card reader control device 388 when receiving a “status request” command from the card settlement control device 312.

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

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

さらに、第77図(G)にはカード精算制御装置312か
ら「パンチ穴開け」コマンドを受信したときのカードリ
ーダ制御装置388の制御手順を示す。
Further, FIG. 77 (G) shows a control procedure of the card reader control device 388 when receiving a “punch hole” command from the card settlement control device 312.

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

第77図(H)には、カード没収モードで「カード後方
排出」コマンドを受信したときのカードリーダ制御装置
388における制御手順を示す。
FIG. 77 (H) shows a card reader control device when a "card rear ejection" command is received in the card confiscation mode.
388 shows a control procedure.

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

一方、ルーチンR1402で設定したタイマがタイムオー
バーを起こす前に位置検出センサSNS4がオフしたとき
は、0.4秒待ってからモータ807を停止させる(ルーチン
R1403)。
On the other hand, if the position detection sensor SNS4 is turned off before the timer set in the routine R1402 times out, the motor 807 is stopped after waiting 0.4 seconds (routine
R1403).

モータ807を停止した後は、ステータス1のカードジ
ャムビットをクリアし、第78図(e)のルーチンR1351
で設定した“ベリファイエラー”フラグをクリアしてか
らカード保持LEDを消灯する(ルーチンR1407〜R140
9)。しかる後、“カード挿入禁止”フラグをセットし
て次のカードの挿入を禁止してから、送信バッファへ
“正常”応答コマンドのコードを設定した後、第78図
(h)の送信処理を実行する(ルーチンR1410,R141
1)。
After the motor 807 is stopped, the status 1 card jam bit is cleared, and the routine R1351 shown in FIG.
After clearing the "verify error" flag set in step (1), the card holding LED is turned off (routines R1407 to R140
9). Thereafter, the "card insertion prohibition" flag is set to prohibit insertion of the next card, and then the code of the "normal" response command is set in the transmission buffer, and then the transmission processing of FIG. 78 (h) is executed. Yes (routines R1410, R141
1).

第77図(I)には、カード精算制御装置311から「カ
ード前方排出」コマンドを受信した場合のカードリーダ
制御装置388の処理手順を示す。
FIG. 77 (I) shows a processing procedure of the card reader control device 388 when the “card forward ejection” command is received from the card settlement control device 311.

第77図(I)に示されているカード前方排出処理にお
いては、カードが挿入途中すなわち第1位置検出センサ
SNS1がオンで、挿入検出センサ808がオフの状態でカー
ド排出ファンクションがくると、先ずモータを正転させ
る(ルーチンR451〜R457)。それからシャッタを開けて
モータを逆転させ、位置検出センサSNS2がオフになって
から、0.2秒後にモータを停止し、シャッタソレノイド
をオフしてシャッタを閉じる(ルーチンR458〜R467)。
カードが搬送ローラ812から外れるまでの時間を考慮し
たものである。なお、カードが搬送ローラ812から外れ
るとそれ以上カードを排出することができない。このと
き、第1位置検出センサSNS1と挿入検出センサ808はと
もにオン状態にある。
In the card front ejection process shown in FIG. 77 (I), the card is being inserted, that is, the first position detection sensor is being used.
When the card ejection function arrives with SNS1 on and the insertion detection sensor 808 off, the motor is first rotated forward (routines R451 to R457). Then, the shutter is opened to reverse the motor, and the motor is stopped 0.2 seconds after the position detection sensor SNS2 is turned off, the shutter solenoid is turned off, and the shutter is closed (routines R458 to R467).
This takes into account the time required for the card to come off the transport roller 812. When the card comes off the transport roller 812, the card cannot be discharged any more. At this time, both the first position detection sensor SNS1 and the insertion detection sensor 808 are on.

シャッタを閉じた後はステータス1のジャム表示ビッ
トをクリアし、セキュリティ読込みフラグをクリアして
から、カードイン表示ランプLED12を消灯し、RAM内のス
テータスエリアにカードがないことを書き込む(ルーチ
ンR468〜R471)。なお、上記ルーチンR451〜R471におい
て、モータの正転中または逆転中にそれぞれタイムオー
バを起こすと、モータを停止し、カードが内部にあれば
ジャムエラーとして処理する(ルーチンR481〜R484)。
After the shutter is closed, the jam display bit of status 1 is cleared, the security read flag is cleared, the card-in display LED 12 is turned off, and the fact that there is no card in the status area in the RAM is written (routine R468- R471). In the above-mentioned routines R451 to R471, if a time-over occurs during normal rotation or reverse rotation of the motor, the motor is stopped, and if the card is inside, the jam is processed (routines R481 to R484).

一方、第78図(a),(b)には、第77図(A)「磁
気読込み」コマンド受信フロー中におけるカード読取処
理とパリティ、LRC検査処理の具体的手順が、さらに、
第78図(c)には第77図(B)の「リロード」コマンド
受信フロー中における磁気処理の具体的手順が示されて
いる。
On the other hand, FIGS. 78 (a) and (b) show the specific procedures of the card reading process, the parity, and the LRC checking process in the “magnetic reading” command receiving flow in FIG. 77 (A).
FIG. 78 (c) shows a specific procedure of the magnetic processing during the “reload” command reception flow of FIG. 77 (B).

本実施例のカードリーダにあっては、前述したように
セキュリティコード読取り用のセンサ810aが最もカード
挿排口に近い側に配設されており、このセンサ810aがセ
キュリティ領域(TF)の終端に対向した時点でまだパン
チ穴検出センサSNSpが第1のパンチ穴形成箇所PH1に到
達しないようにセンサの間隔が決定されている。そのた
め、先ずセキュリティコードの読取りを行なってからパ
ンチ穴の検出と磁気データの読取りを平行して行なうよ
うになっている。
In the card reader of the present embodiment, as described above, the security code reading sensor 810a is provided on the side closest to the card insertion / ejection port, and this sensor 810a is located at the end of the security area (TF). opposed yet punched hole detection sensor SNSp at the spacing of the sensor so as not to reach the first punch hole forming portion PH 1 is determined. Therefore, the security code is first read, and then the detection of the punch holes and the reading of the magnetic data are performed in parallel.

なお、実際のセキュリティコードの読取りは、モータ
の回転速度を検出するエンコーダの出力をトリガとする
タイマ割込みによって行われるようにプログラムが構成
されており、第78図(a)のカード読取処理ではルーチ
ンR501〜R523でセキュリティ読取りの準備を行ない、ル
ーチンR524で上記タイマ割込みを許容するフラグを設定
した後、磁気コードの読取り処理に移るようになってい
る。
Note that the program is configured so that the actual reading of the security code is performed by a timer interrupt triggered by the output of the encoder that detects the rotation speed of the motor. In the card reading process shown in FIG. Preparation for security reading is performed in R501 to R523, and a flag for permitting the timer interrupt is set in the routine R524. Then, the process proceeds to magnetic code reading processing.

また、この実施例のカードリーダは挿入時にカードの
終端が第1の位置検出センサSNS1に達するまでパンチ穴
および磁気記録部がパンチ穴検出センサSNSpおよび磁気
ヘッド821に到達しないように各センサの間隔が設定さ
れている。そのため、第78図(c)の磁気コード読取り
処理ではルーチンR545で位置検出センサSNS1がオンにな
ってからパンチ穴の検出および磁気コードの読取りを行
なうようになっている。
Further, the card reader of this embodiment has a space between the sensors so that the punched hole and the magnetic recording section do not reach the punched hole detection sensor SNSp and the magnetic head 821 until the end of the card reaches the first position detection sensor SNS1 at the time of insertion. Is set. For this reason, in the magnetic code reading process of FIG. 78 (c), after the position detection sensor SNS1 is turned on in the routine R545, the detection of the punched holes and the reading of the magnetic code are performed.

しかもこの磁気データの読込みは、第78図(f)の1
ビット読込み処理にて1ビットずつ読込みを行ない、読
み込まれたデータを格納するワークエリアをシフトレジ
スタのごとく動作させることによりパラレルデータに変
換している(ルーチンR590)。さらに、この実施例のカ
ードリーダは第1と第3の位置検出センサSNS1,SNS3間
の距離l3が正規のカード長l0よりも長く、第2と第3の
位置検出センサSNS2,SNS3間の距離l4が正規のカード長l
0よりも短くなるようにセンサ間距離が設定されている
(第30図(A)参照)。そこで、第78図(f)に示す1
ビット読込み処理中において第1〜第3の位置検出セン
サSNS1〜SNS3の出力をチェックすることでカードサイズ
の不良を検出するようになっている(ルーチンR584〜R5
87)。
Moreover, the reading of the magnetic data is performed in accordance with 1 of FIG.
In the bit reading process, reading is performed bit by bit, and a work area for storing the read data is operated as a shift register to convert the data into parallel data (routine R590). Moreover, the card reader embodiment is longer than the card length l 0 distance l 3 is normal between the first and third position detection sensor SNS1, SNS3, second and third position detection sensor SNS2, SNS3 between Distance l 4 is the regular card length l
The distance between the sensors is set so as to be shorter than 0 (see FIG. 30 (A)). Therefore, the 1 shown in FIG.
During the bit reading process, the output of the first to third position detection sensors SNS1 to SNS3 is checked to detect a card size defect (routines R584 to R5).
87).

第78図(d)には第77図(C)の処理フロー中におけ
る書込み処理の具体的手順を示す。この処理はカード発
行機において実行され、カード精算機では実行されない
ので説明は省略する。
FIG. 78 (d) shows a specific procedure of the writing process in the process flow of FIG. 77 (C). This process is executed by the card issuing machine and not executed by the card settlement machine, so that the explanation is omitted.

第78図(e)には、同図(d)の書込み処理に続いて
行われるベリファイ処理の具体的な手順が示されてい
る。
FIG. 78 (e) shows a specific procedure of the verify processing performed subsequent to the write processing of FIG. 78 (d).

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

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

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

そして、磁気データ数が「0」になったならば、ルー
チンR1355へ進んで1ビットの読取りラッチをクリアし
て読取ったデータを消去してから、ルーチンR1342でセ
ットした1秒タイマがタイムオーバーを起こしたか判定
し(ルーチンR1356)、また、次のルーチンR1357では位
置検出センサSNS4がオンになったか判定する。タイムオ
ーバーを起こす前に位置検出センサSNS4がオンになった
ときはルーチンR1358へ進み、ステータス1のカードジ
ャムビットをクリアしてからモータ807を停止させる
(ルーチンR1359)。一方、位置検出センサSNS4がオン
する前にタイムオーバーを起こすと、ステータス1の
“カードジャム”ビットに“1"をセットしてからエラー
情報にカードジャムに書き込んだ後、第79図のエラー処
理ルーチンへ移行する(ルーチンR1360,R1361)。
When the number of magnetic data becomes "0", the process proceeds to the routine R1355, where the 1-bit read latch is cleared to erase the read data, and then the 1-second timer set in the routine R1342 times out. (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 is over, the routine proceeds to routine R1358, where the card jam bit of status 1 is cleared, and then the motor 807 is stopped (routine R1359). On the other hand, if a time-over occurs before the position detection sensor SNS4 is turned on, the "card jam" bit of status 1 is set to "1", and the error information is written to the card jam. The routine goes to (routines R1360, R1361).

第78図(f)には、第78図(e)のベリファイ処理フ
ローおよび第78図(c)の磁気処理フローに共通の1ビ
ット読込処理の具体的手順を示す。
FIG. 78 (f) shows a specific procedure of the 1-bit reading process common to the verification process flow of FIG. 78 (e) and the magnetic process flow of FIG. 78 (c).

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

第78図(g)には、第77図(G)の「パンチ穴開け」
コマンド受信フローにおける穴開け処理の具体的手順が
示されている。
FIG. 78 (g) shows the “punch hole” of FIG. 77 (G).
The specific procedure of the punching process in the command reception flow is shown.

この穴開け処理では、先ずカードをカードリーダ800
の一番奥まで移動(ルーチンR311)して“パンチOK"フ
ラグをクリア(ルーチンR312)した後、モータを逆転さ
せてタイマ(3秒)を起動させ、“移動量検出”フラグ
をセットしてから移動量カウンタをクリアする(ルーチ
ンR314〜R318)。そして“タイマ2動作”フラグをセッ
トしてタイマ割込みを許可し、タイマ割込みにより移動
量を検出してパンチ穴開け位置に達したところでモータ
の回転を停止させ(ルーチンR321,R322)、モータが完
全に止まるのを待つため150m秒間待機(ルーチンR323)
してからパンチ装置820を作動させる(ルーチンR324〜R
327)。上記ルーチンR323〜R327を2回繰り返して穴開
けを確実にしてから、移動量カウンタをクリアしてモー
タを高速で逆転させて開口したパンチ穴がパンチ穴検出
センサSNSpに対向する方向へカードを動かす。そして、
パンチ穴検出センサがオンしているか判定し、正規の位
置にパンチ穴が開いているときは“パンチOK"フラグを
セットしてから、第1の位置検出センサSNS1がオンして
カードの後端を検出したところでタイマ割込みを停止さ
せるとともにモータを停止させる(ルーチンR329〜R34
0)。
In this hole punching process, first insert the card into the card reader 800
After moving to the innermost part (Routine R311) and clearing the "Punch OK" flag (Routine R312), rotate the motor to start the timer (3 seconds) and set the "Move amount detection" flag. , The movement amount counter is cleared (routines R314 to 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 R321 and R322). Wait for 150msec to stop at (Routine R323)
And then operate the punching device 820 (routines R324 to R324).
327). The above routines R323 to R327 are repeated twice to make sure the hole is opened, then the moving amount counter is cleared and the motor is reversed at high speed to move the card in the direction where the opened punch hole faces the punch hole detection sensor SNSp. . And
Judge whether the punch hole detection sensor is on, and if the punch hole is open at the correct position, set the "Punch OK" flag, then turn on the first position detection sensor SNS1 to turn on the rear end of the card. When the timer is detected, the timer interrupt and the motor are stopped (routines R329 to R34).
0).

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

第78図(h)には、第77図(C)の「磁気書込み」コ
マンド受信時の処理フロー、第77図(G)の「パンチ穴
開け」コマンド受信時の処理フロー、第77図(H)の
「カード後方排出」コマンド受信時の処理フローおよび
第77図(I)の「カード前方排出」コマンド受信時の処
理フロー中における応答コマンドの送信処理の具体的手
順を示す。
FIG. 78 (h) shows the processing flow at the time of receiving the “magnetic write” command in FIG. 77 (C), the processing flow at the time of receiving the “punch hole” command in FIG. 77 (G), and FIG. A specific procedure of processing for transmitting a response command in the processing flow when receiving the "discharge card backward" command in FIG. 77 (I) and receiving the "discharge card forward" command in FIG. 77 (I) is shown.

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

一方、第79図には、第76図や第77図(A)〜(I)お
よび第78図(a)〜(g)の各処理フロー中においてエ
ラーが発生した場合に実行されるエラー処理の具体的手
順を示されている。
On the other hand, FIG. 79 shows an error processing executed when an error occurs in each of the processing flows of FIGS. 76 and 77 (A) to (I) and FIGS. 78 (a) to (g). The specific procedure is shown.

このエラー処理では、前記各フロー中で発生したエラ
ーの内容に応じて書き込まれたエラー情報に対応するモ
ニタ表示データすなわちエラー表示符号(表7参照)を
内部メモリから読み出してそれをモニタ表示器175に出
力してエラーの種類を表示させる(ルーチンR1131,R113
2)。それから、OKランプを消灯し、“書込み禁止”フ
ラグに“1"を立てて磁気データの書込み処理を禁止して
からタイマ2割込みを停止させて磁気読込み処理も禁止
する(ルーチンR1133〜R1135)。しかる後、カードリー
ダ800内のモータ807を停止させてからシャッタソレノイ
ド809をオフしてシャッタを閉じてカードの進入を禁止
した後、エラーの種類に対応した応答コード(表7右欄
参照)を送信(ルーチンR1136〜R1138)して、第76図の
メインフロー中のルーチンR1109へ戻る(符号V2参
照)。
In this error processing, monitor display data corresponding to the error information written in accordance with the content of the error that has occurred in each flow, that is, an error display code (see Table 7) is read from the internal memory and is read out by the monitor display 175. To display the type of error (Routine R1131, R113
2). Then, the OK lamp is turned off, the "write inhibit" flag is set to "1" to inhibit the magnetic data write process, and then the timer 2 interrupt is stopped to inhibit the magnetic read process (routines R1133 to R1135). Thereafter, the motor 807 in the card reader 800 is stopped, the shutter solenoid 809 is turned off, the shutter is closed, and entry of the card is prohibited. Then, a response code (see the right column in Table 7) corresponding to the type of error is output. After transmitting (routines R1136 to R1138), the process returns to the routine R1109 in the main flow of FIG. 76 (see reference numeral V2).

次に、第80図(A),(B)には、読出し割込みが、
また第81図には書込み割込みが入った場合の処理の手順
が示されている。
Next, FIGS. 80 (A) and (B) show the read interrupt
FIG. 81 shows the procedure of processing when a write interrupt occurs.

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

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

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

また、タイマ2割込み処理に入って“移動量検出”フ
ラグが“0"のときはルーチンR702へ進み移動量カウンタ
をインクリメントしてから、ルーチンR703で“セキュリ
ティ読取中”フラグがセットされているかチェックし、
セットされていればルーチンR704へ進み移動量が4.8mm
以上になったか判定する(“セキュリティ読取中”フラ
グが“0"のときは第80図(B)のパンチ穴読取りルーチ
ンへ移行する)。“セキュリティ読取中”フラグがセッ
トされるのは第78図(a)のカード読取り処理中のルー
チンR523でパンチ穴センサSNSpがオンしたときであり、
このときセキュリティコード読取センサ810aはカードの
セキュリティ領域(TF)の始端に位置する。しかして、
最初のセキュリティマークはセキュリティ領域の始端か
ら4.8mm以上離れた位置に設けられる。そこで、ルーチ
ンR704で移動量が4.8mm以上になったと判定しているの
である。4.8mm以下の場合は割込み処理を終了し、次の
タイマ2割込みで再び移動量カウンタをインクリメント
する。そして、移動量が4.8mmに達すると、ルーチンR71
1へ移行し、そこで先ず移動量とルーチンR519でRAM内に
設定された読取範囲とを比較し、読取範囲内であればセ
キュリティのコード読取センサがオンになっているか判
定し、オンならばセキュリティコードの幅を計数するカ
ウンタをインクリメントして割込み処理を終了する(ル
ーチンR712,R713)。そして、コード読取センサがオフ
になった時点でカウンタの値を調べ(ルーチンR714)セ
キュリティコードの幅が“0"ならコードなしと判定し、
割込み処理を終了する。一方、セキュリティの幅が“0"
でなければカウンタの幅をバッファに移してからカウン
タをクリアし、セキュリティ幅が0.5mm以上あるか否か
判定する(ルーチンR715,R716)。ここで、幅が0.5mm以
下なら異常とみなし、0.5mm以上ならシフトレジスタと
して動作されるセキュリティバッファの最上位(または
最下位)ビットに“1"を立てる。
If the "movement amount detection" flag is "0" after entering the timer 2 interrupt processing, the process proceeds to the routine R702, and the movement amount counter is incremented. Then, it is checked whether the "security reading" flag is set in the routine R703. And
If set, go to R704 and move 4.8mm
It is determined whether the above has been completed (if the “security reading” flag is “0”, the process proceeds to the punch hole reading routine of FIG. 80 (B)). The "security reading in progress" flag is set when the punch hole sensor SNSp is turned on in the routine R523 during the card reading process in FIG. 78 (a).
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 at least 4.8 mm away from the beginning of the security area. Therefore, it is determined in the routine R704 that the movement amount has become 4.8 mm or more. If it is 4.8 mm or less, the interrupt processing is terminated, and the movement amount counter is incremented again by the next timer 2 interrupt. Then, when the movement amount reaches 4.8 mm, the routine R71
The process then proceeds to step 1, where the moving amount is compared with the reading range set in the RAM in the routine R519, and if it is within the reading range, it is determined whether the security code reading sensor is on. The counter for counting the width of the code is incremented, and the interrupt processing ends (routines R712, R713). 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,
The interrupt processing ends. On the other hand, security width is “0”
Otherwise, the width of the counter is transferred to the buffer, the counter is cleared, and it is determined whether or not the security width is 0.5 mm or more (routines R715, R716). Here, if the width is 0.5 mm or less, it is regarded as abnormal, and if it is 0.5 mm or more, "1" is set to the most significant (or least significant) bit of the security buffer operated as a shift register.

それから、次のタイマ割込みに入ってルーチンR711で
読取範囲から外れたときは1番目のコードの読取り終了
としてルーチンR721へ移行しセキュリティ読取数(カウ
ンタ)を減算する。そして、読み取ったコードを記憶す
るセキュリティバッファをルーチンR723で1ビットだけ
シフトしてから読取範囲をセキュリティコードのピッチ
(3.5mm)分だけ加算して終了する。セキュリティを1
ビット検出するごとにセキュリティバッファをシフトす
ることにより、シリアルに読み取られたセキュリティコ
ードがパラレルデータに変換されていく。上記ルーチン
を繰り返すことにより、セキュリティの読取数が「0」
になると、ルーチンR722からR714へ進み、読み取ったセ
キュリティ幅が0.5mmのときにはセキュリティバッファ
の最上位ビットに“1"を書き込む。そして、セキュリテ
ィ読取り後、磁気データ読取処理に移って第78図(c)
のルーチンR553で“パンチ穴読取”フラグが“1"にセッ
トされ、“セキュリティ読取”フラグが“0"にクリアさ
れてからこの第80図(A)のタイマ2割込みが開始され
ると、ルーチンR703から第80図(B)のルーチンR731へ
移行し、パンチ穴検出センサがオンしているかチェック
し、オンならばルーチンR732でパンチ穴幅を計数するカ
ウンタをインクリメントして割込み処理を終了する。そ
して、次の割込みでパンチ穴検出センサがオフになった
ならばルーチンR733へ移行してパンチ穴幅をチェックす
る。ここで、検出されたパンチ穴の幅が0.8mm以上のと
きは正規のパンチ穴とみなし、ルーチンR734でパンチ穴
の有無を記憶するバッファ(シフトレジスタとして動作
される)の最上位(または最下位)ビットに“1"を書き
込んでから、またパンチ穴の幅が0.8mm以下のときはル
ーチンR735でパンチ穴幅カウンタをクリアしてからルー
チンR736へ進む。
Then, when the next timer interrupt is entered and the reading is out of the reading range in the routine R711, the process proceeds to the routine R721 as the end of reading the first code, and the security reading number (counter) is decremented. Then, the security buffer storing the read code is shifted by one bit in the routine R723, and then the read range is added by the security code pitch (3.5 mm), and the processing is terminated. Security 1
By shifting the security buffer every time a bit is detected, the serially read security code is converted into parallel data. By repeating the above routine, the number of security readings becomes “0”
Then, the process proceeds from the routine R722 to R714, and when the read security width is 0.5 mm, "1" is written to the most significant bit of the security buffer. Then, after the security reading, the process proceeds to the magnetic data reading process and FIG. 78 (c)
When the "punch hole reading" flag is set to "1" in the routine R553 and the "security reading" flag is cleared to "0", the timer 2 interrupt shown in FIG. The flow shifts from R703 to the routine R731 in FIG. 80 (B) to check whether the punch hole detection sensor is ON, and if ON, the counter for counting the punch hole width is incremented in the routine R732, and the interrupt processing ends. Then, if the punch hole detection sensor is turned off at the next interruption, the process proceeds to routine R733 to check the punch hole width. Here, when the detected width of the punched hole is 0.8 mm or more, it is regarded as a regular punched hole, and the uppermost (or lowermost) of the buffer (operated as a shift register) storing the presence or absence of the punched hole in routine R734. After writing "1" to the bit, and when the width of the punched hole is 0.8 mm or less, the punched hole width counter is cleared in the routine R735 and then the routine proceeds to the routine R736.

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

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

一方、第81図の書込割込み処理は、第78図(d)の書
込み処理フロー中においてルーチンR1308で“書込割込
み開始”フラグがセットされた後、カードリーダのモー
タ807の回転検出センサ832から806μSごとに検出信号
が入ってくると実行されるようになっている。ただし、
第78図(d)の書込み処理自体が精算機のカードリーダ
では実行されないので、書込み割込み処理も精算機では
実行されない。
On the other hand, in the write interrupt processing of FIG. 81, after the “write interrupt start” flag is set in the routine R1308 during the write processing flow of FIG. 78 (d), the rotation detection sensor 832 of the motor 807 of the card reader is set. Is executed when a detection signal comes in every 806 μS. However,
Since the write processing itself shown in FIG. 78 (d) is not executed by the card reader of the checkout machine, the write interrupt processing is not executed by the checkout machine.

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

また、上記実施例の精算機では、カードの有する有価
データのうち未使用金に相当する金額のみ払い戻すよう
にしているが、持玉数を金銭に両替演算するプログラム
と両替のためのレートを精算機に与えておくことによ
り、未使用金のみならず持玉数に相当する金銭をも払い
出すことが可能な精算機として利用することも可能であ
る。その場合、レシートには演算式も印字して発行する
ようにするとよい。
Also, in the settlement machine of the above embodiment, only the amount corresponding to the unused money among the valuable data held by the card is refunded, but the program for changing the number of possessed balls to money and the exchange rate are settled. By giving the money to the machine, it is possible to use it as a payment machine capable of paying out not only the unused money but also money corresponding to the number of possessed balls. In this case, it is preferable to print the calculation formula on the receipt and issue it.

さらに、上記実施例のカード精算機ではカードリーダ
の後方に単にカード回収タンクを設けて使用済カードを
回収できるように構成したが、カード搬送装置とカード
回収タンクとの間にカッタのようなカード破壊手段を設
けてカードを破壊してから回収するようにすることによ
り、使用済カードを用いたカードの偽造等の不用を防止
するようにすることも可能である。
Further, in the card settlement machine of the above embodiment, the card collection tank is simply provided behind the card reader so that the used card can be collected. However, a card such as a cutter is provided between the card transport device and the card collection tank. By providing the destruction means and destroying the card before collecting it, it is also possible to prevent the forgery or the like of the card using the used card.

また、上記実施例では、印字装置330によって印字さ
れたレシートを排出するレシート発行口331が、精算機
の上面パネル301に設けられているが、紙幣払出口322と
同様に前面パネル306に設けることも可能である。ただ
し、印字装置330で印字されるレシート用紙はロール状
態でストックされており、印字装置330が切断器を備え
ていない場合にはレシート発行口331から排出された
後、発行口に設けられたカッターを利用して遊技客が手
でレシートを切断してやる必要があるので、精算機の前
面にレシート発行口331があるよりも実施例のごとく上
面にある方が操作がし易い。また、レシートは比較的小
さく軽いので、印字装置330が切断器を備えている場合
にも、発行口が前面にあると切断後のレシートが床に落
ちたり、初めての遊技者にはレシートが排出されたこと
に気付きにくいという不都合がある。
In the above embodiment, the receipt issuing port 331 for discharging the receipt printed by the printing device 330 is provided on the upper panel 301 of the checkout machine. However, the receipt issuing port 331 may be provided on the front panel 306 similarly to the bill payout port 322. Is also possible. However, the receipt paper to be printed by the printing device 330 is stocked in a roll state. If the printing device 330 is not provided with a cutter, the receipt paper is ejected from the receipt issuing port 331 and then a cutter provided in the issuing port is provided. It is necessary for the player to cut the receipt by hand using the method described above. Therefore, the operation is easier when the receipt issuance port 331 is provided on the front side of the checkout machine than on the front side as in the embodiment. Also, since the receipt is relatively small and light, even if the printing device 330 is equipped with a cutter, if the issuing port is in front, the cut receipt will fall on the floor or the receipt will be discharged to the first player. There is an inconvenience that it is difficult to notice what was done.

さらに、上記実施例では、遊技装置の一例として封入
球循環方式のパチンコ機に適用した場合について説明し
たが、この発明はそれに限定されるものではなく、例え
ば記憶媒体の有する金額情報を各遊技装置で実球に変換
してそれを遊技装置前面の供給皿から1個宛遊技装置内
部に供給して遊技を行うように構成された遊技装置その
他記憶媒体により遊技可能となるような遊技装置(パチ
ンコ機以外の遊技装置を含む)などを備え、記憶媒体精
算装置と管理装置とから構成される遊技店設備装置にお
いて適用することができる。また、上記実施例では記憶
媒体として磁気記録部を有するカードを使用した場合に
ついて説明したが、情報記録部として半導体メモリを有
するいわゆるICカードなどを使用した場合の遊技店設備
装置においても適用することもできる。
Furthermore, in the above-described embodiment, the case where the present invention is applied to a pachinko machine of an enclosed ball circulation system as an example of a gaming device has been described. However, the present invention is not limited to this. A game device (pachinko) that can be played with a storage device or other game device configured to play a game by converting the ball into a real ball and supplying it to the inside of the game device from the supply plate on the front of the game device. And the like, and can be applied to an amusement shop facility device including a storage medium settlement device and a management device. Further, in the above embodiment, the case where a card having a magnetic recording unit is used as a storage medium has been described. However, the present invention is also applicable to an amusement shop facility device using a so-called IC card having a semiconductor memory as an information recording unit. Can also.

〔発明の効果〕〔The invention's effect〕

以上説明したようにこの発明は、遊技装置における遊
技に関連して用いられる記憶媒体の有する識別符号に対
応して少なくとも該記憶媒体の価値情報を記憶可能な記
憶手段を備えた管理装置と、前記記憶媒体の価値情報に
基づいた演算処理を実行可能な記憶媒体精算装置と、を
通信可能に構成してなる遊技店設備装置であって、前記
記憶媒体精算装置には、前記記憶媒体より少なくとも識
別符号を読み取る記憶媒体読取手段と、前記記憶媒体の
価値情報に基づいて精算処理を実行可能な精算実行手段
と、が具備されるとともに、前記記憶媒体精算装置は前
記記憶媒体読取手段によって読み取られた少なくとも識
別符号を前記管理装置へ送信する一方、該管理装置は受
信した識別符号に対応した価値情報を当該記憶媒体精算
装置へ送信し、前記記憶媒体精算装置は受信した価値情
報に基づいて前記精算実行手段により精算を実行して精
算処理の終了に関わる情報を前記管理装置へ送信する一
方、該管理装置は受信した精算処理の終了に関わる情報
に基づいて当該記憶媒体の識別符号に対応して前記記憶
手段に精算済情報を記憶して精算済信号を当該記憶媒体
精算装置へ送信し、前記記憶媒体精算装置は前記精算済
信号の受信に基づいて次の記憶媒体の受け付けを可能に
するようにしたので、管理装置の記憶手段に記憶されて
いない識別符号を有する記憶媒体が記憶媒体精算装置に
用いられてもその記憶媒体に対しては精算処理を実行さ
せないことにより、不正に偽造された記憶媒体による価
値情報の精算処理を防止することが可能となるという効
果がある。
As described above, the present invention provides a management apparatus including a storage device capable of storing at least value information of a storage medium corresponding to an identification code of a storage medium used in connection with a game in a game device, And a storage medium settlement device capable of executing arithmetic processing based on the value information of the storage medium, wherein the storage medium settlement device has at least an identification from the storage medium. A storage medium reading unit that reads a code, and a payment execution unit that can execute a payment process based on the value information of the storage medium, and the storage medium payment device is read by the storage medium reading unit. While transmitting at least the identification code to the management device, the management device transmits value information corresponding to the received identification code to the storage medium payment device, The storage medium settlement device executes settlement by the settlement execution means based on the received value information and transmits information related to termination of the settlement process to the management device, while the management device is involved in termination of the received settlement process. Based on the information, the adjusted information is stored in the storage means in correspondence with the identification code of the storage medium, and a settled signal is transmitted to the storage medium adjustment device, and the storage medium adjustment device receives the adjusted signal. The following storage medium can be accepted based on the storage medium, so that even if a storage medium having an identification code that is not stored in the storage unit of the management device is used in the storage medium payment device, the storage medium can be accepted. Has the effect that it is possible to prevent the payment information from being settled by a fraudulently forged storage medium by not executing the payment processing.

また、管理装置は精算処理終了後、識別符号に関連し
て当該記憶媒体が精算済みであることを記憶手段に記憶
するとともに、精算済信号を記憶媒体精算装置へ送信
し、記憶媒体精算装置はこの精算済信号に基づいて次の
記憶媒体の受け付けを可能としたので、同一記憶媒体に
対する重複した価値情報の精算処理を回避することが可
能となるとともに、遊技店内に複数の記憶媒体精算装置
が設置されている場合であっても、複製された記憶媒体
がそれぞれの記憶媒体精算装置に用いられるような不正
行為に対しても、不当な精算処理が実行されるのを防止
することが可能となり、次の記憶媒体の精算処理を実行
することが可能となるという効果がある。
In addition, after the settlement process is completed, the management device stores the fact that the storage medium has been settled in the storage means in association with the identification code, and transmits a settlement completed signal to the storage medium adjustment device, and the storage medium adjustment device Since the next storage medium can be accepted based on the payment completed signal, it is possible to avoid the payment processing of the duplicated value information for the same storage medium, and a plurality of storage medium payment devices are provided in the game store. Even if it is installed, it is possible to prevent the execution of improper payment processing even for fraudulent acts in which the copied storage medium is used in each storage medium payment device. Thus, there is an effect that it is possible to execute the settlement processing of the next storage medium.

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

第1図は本発明が適用されたパチンコ遊技システム全体
の構成を示すシステム構成図、 第2図(A),(B)は本発明に係るシステムに使用さ
れるカードの一例を示す正面図および内部構成図、 第2図(C)はカード内の真偽識別領域の構成例を示す
説明図、 第2図(D)はカードの断面構造の一例を示す断面図、 第2図(E)はカード内の磁気記録部の構成例を示す説
明図、 第3図は遊技システムを構成するパチンコ機全体の構成
例を示す斜視図、 第4図(A),(B)はパチンコ機前面の操作パネル部
の構成例を示す断面側面図、 第5図は同じく操作パネル部の分解斜視図、 第6図は同じく操作パネル部内部の構成を示す斜視図、 第7図はパチンコ機の裏面の封入球循環装置の構成例を
示す斜視図、 第8図はその封入球循環装置をパチンコ機に取り付けた
状態を示す斜視図、 第9図は打球発射レール基部の詳細を示す斜視図、 第10図はパチンコ機の前面パネルを開いた状態を示す斜
視図、 第11図は遊技盤を保持するフレームとこれに結合される
発射レールを備えたフレームボードの構成例を示す斜視
図、 第12図はパチンコ機の前面枠の裏面構成を示す斜視図、 第13図はパチンコ機の裏面の構成例を示す背面斜視図、 第14図はパチンコ機制御ユニットの構成例を示す斜視
図、 第15図は同じくその制御ユニットの内部構成を示す斜視
図、 第16図は制御ユニットの前面パネルの構成を示す斜視
図、 第17図はパチンコ機と制御ユニットの取付位置関係を示
す斜視図、 第18図はパチンコ機が設置される島設備の骨組みを示す
斜視図、 第19図は島設備にパチンコ機と制御ユニットを設置した
状態を示す斜視図、 第20図は島設備の背面を示す斜視図、 第21図はパチンコ機全体の制御体系を示すブロック図、 第22図はパチンコ機制御装置の回路構成例を示すブロッ
ク図、 第23図はパチンコ機制御ユニットの回路構成例を示すブ
ロック図、 第24図はユニットメモリのエリア構成を示すメモリマッ
プ、 第25図はパチンコ機のカードリーダの構成例を示す斜視
図、 第26図はそのカードリーダの分解斜視図、 第27図はカードリーダのカード挿入部の詳細を示す分解
斜視図、 第28図(A),(B)は同じくカードリーダのカード挿
入部の詳細を示す断面側面図、 第29図(A),(B)はカードリーダ入口のシャッタ部
分の詳細を示す断面側面図、 第30図(A)はカードリーダ内に設けられた各種センサ
の取付け位置関係を示す平面説明図、 第30図(B)はカード挿入時のセンサの検出タイミング
チャート、 第31図はカードリーダ制御装置の回路構成例を示すブロ
ック図、 第32図はカードリーダのインタフェース回路を示すブロ
ック図、 第33図はカードリーダのデータ読込み、書込みタイミン
グを示すタイミングチャート、 第34図は本発明に係る遊技システムに使用されるカード
発行機の構成例を示す斜視図、 第35図は発行機の前面パネルを開いた状態を示す斜視
図、 第36図は発行機に設けられたカード発行装置の斜視図、 第37図は同じくカード発行装置の概略構成図、 第38図はカード発行装置を構成するカード取出装置の構
成を示す斜視図、 第39図は同じくカード発行装置を構成するカード導出装
置の構成を示す斜視図、 第40図はカード発行機の制御装置の構成例を示すブロッ
ク図、 第41図はカード発行機のユニット制御装置の構成例を示
すブロック図、 第42図(A)は精算機の構成例を示す斜視図、 第42図(B)は精算機の上面パネルおよび前面パネルを
開いた状態を示す斜視図、 第43図は精算機を構成するカード精算装置の構成例を示
す斜視図、 第44図は本実施例の精算機を用いてパチンコ店のカウン
タを構成した場合の斜視図、 第45図(A),(B)は精算機により発行されるレシー
トの構成例を示す説明図、 第46図は精算機の制御装置の構成例を示すブロック図、 第47図は精算機のユニット制御装置の構成例を示すブロ
ック図、 第48図は管理装置全体の構成例を示す斜視図、 第49図は管理装置自身のシステム構成例を示すブロック
図、 第50図は管理装置のコンソールの構成例を示すもので、
(A)は平面図、(B)は背面図、 第51図は本考案の遊技システム内でのカードの状態遷移
を示す説明図、 第52図は本考案の遊技システムにおける伝送系の構成例
を示すブロック図、 第53図はネットワーク上でのデータ転送制御を行うNAU
(ネットワークアダプタユニット)の構成例を示すブロ
ック図、 第54図〜第60図は低層ネットワーク上で送受信されるパ
ケットの構成例を示すもので、 第54図は“回線テスト”パケットの構成図、 第55図は“初期値設定”パケットの構成図、 第56図は管理装置からカード精算機に指示を与えるため
のパケットの構成図、 第57図(A),(B),(C)は“カード精算”パケッ
トとその応答“ACK"および否定応答“NAK"パケットの構
成図、 第58図(A),(B),(C)は“カード精算終了”パ
ケットとその応答“ACK"および“NAK"パケットの構成
図、 第59図は“定時データ送信”パケットの構成図、 第60図(A),(B)は“ユニット復旧データ”パケッ
トとその応答“ACK"パケットの構成図、 第61図、第62図、第63図および第64図は、NAUにおける
パケット送受信制御の手順を示すフローチャート、 第65図はカード精算機のユニットコントローラにおける
メイン処理の制御手順を示すフローチャート、 第66図は第65図のフロー中におけるパケット受信処理の
具体的手順の一例を示すフローチャート、 第67図(A)は第66図のフローにおける“初期値設定”
パケット受信時の処理手順を示すフローチャート、 第67図(B)は第66図のフローにおける“ユニット復旧
データ”パケット受信時の処理手順を示すフローチャー
ト、 第67図(C)は第66図のフローにおける“開店コード”
または“強制終了解除”パケット受信時の処理手順を示
すフローチャート、 第67図(D)は第66図のフローにおける“閉店コード”
または“強制終了”パケット受信時の処理手順を示すフ
ローチャート、 第68図は第65図の制御フロー中における各ファンクショ
ン受信処理の具体的手順を示すフローチャート、 第69図は第68図のファンクション受信処理における精算
処理の具体的手順を示すフローチャート、 第70図は精算機のユニットコントローラにおいてメイン
処理とは別個に、タイマ割込みによって実行される割込
み処理の内容を示すフローチャート、 第71図はカード精算制御装置による制御の手順を示すフ
ローチャート、 第72図は第71図のフローにおいてファンクションを受信
したときの具体的制御手順を示すフローチャート、 第73図(A)は第72図のフロー中における「初期値設
定」ファンクション受信時の具体的手順を示すフローチ
ャート、 第73図(B)は第72図のフロー中における「カード受付
可」ファンクション受信時の具体的手順を示すフローチ
ャート、 第73図(C)は第72図のフロー中における「カード受付
不可」ファンクション受信時の具体的手順を示すフロー
チャート、 第73図(D)は第72図のフロー中における「カード排
出」ファンクション受信時の具体的手順を示すフローチ
ャート、 第73図(E)は第72図のフロー中における「リロード」
ファンクション受信時の具体的手順を示すフローチャー
ト、 第73図(F)は第72図のフロー中における「カード没
収」ファンクション受信時の具体的手順を示すフローチ
ャート、 第73図(G)は第72図のフロー中における「精算」ファ
ンクション受信時の具体的処理手順を示すフローチャー
ト、 第74図は第71図のフロー中における受信コマンド処理の
具体的手順を示すフローチャート、 第75図(a)は第74図の処理フロー中における磁気デー
タ検査処理の具体的手順を示すフローチャート、 第75図(b)は第74図の処理フロー中におけるパンチ穴
検査処理の具体的手順を示すフローチャート、 第75図(c)は第74図の処理フロー中における精算穴パ
ンチ処理の具体的手順を示すフローチャート 第76図は精算機と発行機内のカードリーダ制御装置に共
通の制御手順を示すフローチャート、 第77図(A)は「磁気読込み」コマンド受信時のカード
リーダ制御装置の具体的制御手順を示すフローチャー
ト、 第77図(B)は「リロード」コマンド受信時のカードリ
ーダ制御装置の具体的制御手順を示すフローチャート、 第77図(C)は「磁気書込み」コマンド受信時のカード
リーダ制御装置の具体的制御手順を示すフローチャー
ト、 第77図(D)は「ステータス要求」コマンド受信時のカ
ードリーダ制御装置の具体的制御手順を示すフローチャ
ート、 第77図(E)は「パンチ穴要求」コマンド受信時のカー
ドリーダ制御装置の具体的制御手順を示すフローチャー
ト、 第77図(F)は「セキュリティ要求」コマンド受信時の
カードリーダ制御装置の具体的制御手順を示すフローチ
ャート、 第77図(G)は「パンチ穴開け」コマンド受信時のカー
ドリーダ制御装置の具体的制御手順を示すフローチャー
ト、 第77図(H)は「カード後方排出」コマンド受信時のカ
ードリーダ制御装置の具体的制御手順を示すフローチャ
ート、 第77図(I)は「カード前方排出」コマンド受信時のカ
ードリーダ制御装置の具体的制御手順を示すフローチャ
ート、 第78図(a)は第77図(A)のフロー中におけるカード
読取り処理の具体的手順を示すフローチャート、 第78図(b)は第77図(A)のフロー中におけるパリテ
イ、LRC検査処理の具体的手順を示すフローチャート、 第78図(c)は第77図(B)のフロー中における磁気処
理の具体的手順を示すフローチャート、 第78図(d)は第77図(C)のフロー中における書込み
処理の具体的手順を示すフローチャート、 第78図(e)は第77図(C)のフロー中におけるベリフ
ァイ処理の具体的手順を示すフローチャート、 第78図(f)は第78図(c),(e)のフロー中におけ
る1ビット読込処理の手順を示すフローチャート、 第78図(g)は第77図(G)のフロー中における穴開け
処理の具体的な手順を示すフローチャート、 第78図(h)は第77図(A)〜(I)の制御フロー中等
における送信処理の具体的手順を示すフローチャート、 第79図は第77図(A)〜(I)の制御フローにおいてエ
ラーが発生したときのエラー処理の具体的手順を示すフ
ローチャート、 第80図(A),(B)はカードリーダコントローラにお
ける磁気読出しのタイマ割込み処理手順を示すフローチ
ャート、 第81図は、カードリーダ制御装置における磁気書込み時
の書込割込み処理の手順を示すフローチャートである。 100……パチンコ機、110……操作パネル、113……購入
スイッチ、114……中断スイッチ、115……終了スイッ
チ、130……球循環装置、160……制御ユニット、180…
…ユニット制御装置、188……カードリーダ制御装置、1
95……パチンコ機制御装置、190……ユニットコントロ
ーラ、200……カード発行機、300……精算機、303……
玉数表示器、304……金額表示器、310……カード精算装
置、321……紙幣払出器、325……硬貨払出器、330……
プリンタ、400……管理装置、550……ユニットメモリ、
551……データ伝送コントローラ、553……ネットワーク
コントローラ、800……カードリーダ、802……カード挿
排口、807……搬送モータ、809……シャッタソレノイ
ド、820……パンチ装置、821……磁気ヘッド。
FIG. 1 is a system configuration diagram showing an overall configuration of a pachinko gaming system to which the present invention is applied, and FIGS. 2A and 2B are front views showing an example of a card used in the system according to the present invention; FIG. 2 (C) is an explanatory view showing a configuration example of a true / false identification area in the card, FIG. 2 (D) is a cross-sectional view showing an example of a cross-sectional structure of the card, and FIG. 2 (E). Is an explanatory view showing a configuration example of a magnetic recording unit in the card, FIG. 3 is a perspective view showing a configuration example of the whole pachinko machine constituting the gaming system, and FIGS. 4 (A) and (B) are front views of the pachinko machine. FIG. 5 is an exploded perspective view of the operation panel unit, FIG. 6 is a perspective view of the inside of the operation panel unit, and FIG. 7 is a rear view of the pachinko machine. FIG. 8 is a perspective view showing a configuration example of a sealed ball circulating device, and FIG. 9 is a perspective view showing the details of the base of the hitting ball launching rail, FIG. 10 is a perspective view showing a state where the front panel of the pachinko machine is opened, and FIG. 11 is a game board. FIG. 12 is a perspective view showing a configuration example of a frame board provided with a frame holding a frame and a firing rail coupled thereto, FIG. 12 is a perspective view showing a rear configuration of a front frame of a pachinko machine, and FIG. FIG. 14 is a perspective view showing a configuration example of a pachinko machine control unit, FIG. 15 is a perspective view showing an internal configuration of the control unit, and FIG. 16 is a front panel of the control unit. 17 is a perspective view showing a positional relationship between a pachinko machine and a control unit, FIG. 18 is a perspective view showing a framework of an island facility in which the pachinko machine is installed, and FIG. 19 is an island facility. Pachinko machine and control unit FIG. 20 is a perspective view showing the back of the island equipment, FIG. 21 is a block diagram showing a control system of the entire pachinko machine, and FIG. 22 shows a circuit configuration example of the pachinko machine control device. Block diagram, FIG. 23 is a block diagram showing a circuit configuration example of the pachinko machine control unit, FIG. 24 is a memory map showing an area configuration of the unit memory, and FIG. 25 is a perspective view showing a configuration example of a card reader of the pachinko machine. FIG. 26 is an exploded perspective view of the card reader, FIG. 27 is an exploded perspective view showing details of a card insertion portion of the card reader, and FIGS. 29 (A) and (B) are cross-sectional side views showing details of a shutter portion at the entrance of the card reader, and FIG. 30 (A) is mounting of various sensors provided in the card reader. Plan view showing a positional relationship, FIG. 30 (B) is a detection timing chart of a sensor when a card is inserted, FIG. 31 is a block diagram showing a circuit configuration example of a card reader control device, FIG. 32 is a block diagram showing an interface circuit of the card reader, FIG. Figure is a timing chart showing the data reading and writing timing of the card reader, FIG. 34 is a perspective view showing a configuration example of a card issuing machine used in the gaming system according to the present invention, FIG. 35 is a front panel of the issuing machine FIG. 36 is a perspective view of a card issuing device provided in the issuing machine, FIG. 37 is a schematic configuration diagram of the same card issuing device, and FIG. 38 is a card removal device constituting the card issuing device. FIG. 39 is a perspective view showing a configuration of a card dispensing device which also constitutes a card issuing device, and FIG. 40 is a block diagram showing a configuration example of a control device of the card issuing machine. 41 is a block diagram showing a configuration example of a unit control device of a card issuing machine, FIG. 42 (A) is a perspective view showing a configuration example of a checkout machine, and FIG. 42 (B) is a top panel of the checkout machine. FIG. 43 is a perspective view showing a state in which the front panel is opened, FIG. 43 is a perspective view showing an example of the structure of a card settlement apparatus which constitutes a checkout machine, and FIG. 44 is a view showing a counter of a pachinko parlor using the checkout machine of this embodiment. 45 (A) and (B) are explanatory diagrams showing an example of the structure of a receipt issued by a checkout machine, FIG. 46 is a block diagram showing an example of the structure of a control device of the checkout machine, FIG. FIG. 47 is a block diagram showing a configuration example of a unit control device of a checkout machine. FIG. 48 is a perspective view showing a configuration example of the entire management device. FIG. 49 is a block diagram showing a system configuration example of the management device itself. The figure shows a configuration example of the console of the management device.
(A) is a plan view, (B) is a rear view, FIG. 51 is an explanatory diagram showing a state transition of a card in the gaming system of the present invention, and FIG. 52 is a configuration example of a transmission system in the gaming system of the present invention. FIG. 53 is a NAU for performing data transfer control on a network.
FIG. 54 to FIG. 60 show configuration examples of packets transmitted and received on a low-layer network, FIG. 54 shows a configuration diagram of a “line test” packet, FIG. 55 is a block diagram of an “initial value setting” packet, FIG. 56 is a block diagram of a packet for giving an instruction from the management device to the card settlement machine, and FIGS. 57 (A), (B) and (C) are 58 (A), (B) and (C) show the structure of a "card settlement" packet and its response "ACK" and a negative acknowledgment "NAK" packet. FIG. 59 is a block diagram of a “scheduled data transmission” packet, and FIGS. 60 (A) and (B) are block diagrams of a “unit recovery data” packet and a response “ACK” packet. FIGS. 61, 62, 63, and 64 show the NAU packet 65 is a flowchart showing a procedure of packet transmission / reception control. FIG. 65 is a flowchart showing a control procedure of a main process in a unit controller of the card settlement machine. FIG. 66 is an example of a specific procedure of a packet reception process in the flow of FIG. FIG. 67 (A) shows “initial value setting” in the flow of FIG. 66.
FIG. 67 (B) is a flowchart showing a processing procedure at the time of receiving a packet. FIG. 67 (B) is a flowchart showing a processing procedure at the time of receiving a “unit recovery data” packet in the flow of FIG. 66. FIG. 67 (C) is a flow of FIG. "Opening code"
Alternatively, a flowchart showing a processing procedure when a "forced termination release" packet is received. FIG. 67 (D) shows the "closure code" in the flow of FIG.
68 is a flowchart showing a processing procedure when a "forced end" packet is received. FIG. 68 is a flowchart showing a specific procedure of each function reception processing in the control flow of FIG. 65. FIG. 69 is a function reception processing of FIG. FIG. 70 is a flowchart showing the specific procedure of the settlement process in FIG. 70. FIG. 70 is a flowchart showing the contents of the interruption process executed by the timer interrupt separately from the main process in the unit controller of the settlement machine. FIG. 71 is a card settlement controller. 72 is a flowchart showing a specific control procedure when a function is received in the flow of FIG. 71, and FIG. 73 (A) is a flowchart showing “initial value setting” in the flow of FIG. FIG. 73 (B) is a flowchart showing a specific procedure at the time of function reception, and FIG. FIG. 73 (C) is a flowchart showing a specific procedure for receiving a “card not accepted” function in the flow of FIG. 72; FIG. 73 (D) is a flowchart showing a specific procedure for receiving the “card ejection” function in the flow of FIG. 72, and FIG. 73 (E) is “Reload” in the flow of FIG. 72.
FIG. 73 (F) is a flowchart showing a specific procedure at the time of receiving the function, FIG. 73 (F) is a flowchart showing a specific procedure at the time of receiving the “card confiscated” function in the flow of FIG. 72, and FIG. 73 (G) is FIG. 74 is a flowchart showing a specific processing procedure when the "payment" function is received in the flow of FIG. 74. FIG. 74 is a flowchart showing a specific procedure of the reception command processing in the flow of FIG. 71. FIG. FIG. 75 (b) is a flowchart showing a specific procedure of the magnetic data inspection processing in the processing flow of FIG. 75. FIG. 75 (b) is a flowchart showing a specific procedure of the punch hole inspection processing in the processing flow of FIG. 74. ) Is a flowchart showing the specific procedure of the settlement hole punching process in the processing flow of FIG. 74. FIG. 76 is a diagram showing the settlement device and the card reader controller in the issuing machine. 77 (A) is a flowchart showing a specific control procedure of the card reader control device at the time of receiving the “magnetic read” command, and FIG. 77 (B) is a flowchart showing a specific control procedure at the time of receiving the “reload” command. A flowchart showing a specific control procedure of the card reader control device, FIG. 77 (C) is a flowchart showing a specific control procedure of the card reader control device when a “magnetic write” command is received, and FIG. 77 (D) is a “status”. FIG. 77 (E) is a flowchart showing a specific control procedure of the card reader control device when receiving the “punch hole request” command, and FIG. 77 (E) is a flowchart showing a specific control procedure of the card reader control device when receiving the “punch hole request” command. FIG. (F) is a flowchart showing a specific control procedure of the card reader control device when a “security request” command is received, and FIG. 77 ( ) Is a flowchart showing a specific control procedure of the card reader control device when receiving the “punch hole” command. FIG. 77 (H) is a flowchart showing a specific control procedure of the card reader control device when receiving the “card backward ejection” command. FIG. 77 (I) is a flowchart showing a specific control procedure of the card reader control device at the time of receiving the “card forward ejection” command, and FIG. 78 (a) is a card in the flow of FIG. 77 (A). FIG. 78 (b) is a flowchart showing the specific procedure of the reading process, FIG. 78 (b) is a flowchart showing the specific procedure of the parity and LRC inspection process in the flow of FIG. 77 (A), and FIG. 78 (c) is FIG. FIG. 78 (d) is a flowchart showing a specific procedure of magnetic processing in the flow of (B), and FIG. 78 (d) is a flowchart showing a specific procedure of write processing in the flow of FIG. 77 (C). FIG. 78 (e) is a flowchart showing a specific procedure of the verifying process in the flow of FIG. 77 (C), and FIG. 78 (f) is a flowchart showing steps 1 in the flow of FIGS. 78 (c) and (e). FIG. 78 (g) is a flowchart showing the procedure of the bit reading process, FIG. 78 (g) is a flowchart showing the specific procedure of the drilling process in the flow of FIG. 77 (G), and FIG. 78 (h) is FIG. 77 (A) FIG. 79 is a flowchart showing a specific procedure of transmission processing during the control flow of FIG. 79 to FIG. 79, and FIG. 79 is a specific procedure of error processing when an error occurs in the control flow of FIG. 77A to FIG. 80 (A) and (B) are flowcharts showing a timer interrupt processing procedure for magnetic reading in the card reader controller, and FIG. 81 is a write interrupt processing for magnetic writing in the card reader control device. Procedure is a flowchart illustrating a. 100 ... Pachinko machine, 110 ... Operation panel, 113 ... Purchase switch, 114 ... Pause switch, 115 ... End switch, 130 ... Ball circulation device, 160 ... Control unit, 180 ...
… Unit controller, 188 …… Card reader controller, 1
95 ... Pachinko machine controller, 190 ... Unit controller, 200 ... Card issuing machine, 300 ... Payment machine, 303 ...
Number of balls indicator, 304… Amount indicator, 310… Card settlement device, 321… Bill payer, 325… Coin payer, 330 ……
Printer, 400 Management device, 550 Unit memory,
551: Data transmission controller, 553: Network controller, 800: Card reader, 802: Card insertion / ejection port, 807: Transport motor, 809: Shutter solenoid, 820: Punch device, 821: Magnetic head .

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】遊技装置における遊技に関連して用いられ
る記憶媒体の有する識別符号に対応して少なくとも該記
憶媒体の価値情報を記憶可能な記憶手段を備えた管理装
置と、前記記憶媒体の価値情報に基づいた精算処理を実
行可能な記憶媒体精算装置と、を通信可能に構成してな
る遊技店設備装置であって、 前記記憶媒体精算装置には、 前記記憶媒体より少なくとも識別符号を読み取る記憶媒
体読取手段と、 前記記憶媒体の価値情報に基づいて精算処理を実行可能
な精算実行手段と、が具備されるとともに、 前記記憶媒体精算装置は前記記憶媒体読取手段によって
読み取られた少なくとも識別符号を前記管理装置へ送信
する一方、該管理装置は受信した識別符号に対応した価
値情報を当該記憶媒体精算装置へ送信し、 前記記憶媒体精算装置は受信した価値情報に基づいて前
記精算実行手段により精算を実行して精算処理の終了に
関わる情報を前記管理装置へ送信する一方、該管理装置
は受信した精算処理の終了に関わる情報に基づいて当該
記憶媒体の識別符号に対応して前記記憶手段に精算済情
報を記憶して精算済信号を当該記憶媒体精算装置へ送信
し、 前記記憶媒体精算装置は前記精算済信号の受信に基づい
て次の記憶媒体の受け付けを可能にすることを特徴とす
る遊技店設備装置。
1. A management device comprising storage means capable of storing at least value information of a storage medium corresponding to an identification code of a storage medium used in connection with a game in a game apparatus, and a value of the storage medium. And a storage medium payment device capable of executing a payment process based on information, wherein the storage medium payment device reads at least an identification code from the storage medium. Medium reading means, and settlement execution means capable of executing settlement processing based on the value information of the storage medium, and the storage medium settlement apparatus reads at least the identification code read by the storage medium reading means. While transmitting to the management device, the management device transmits value information corresponding to the received identification code to the storage medium payment device, and the storage medium payment device Executes the settlement by the settlement execution means based on the received value information and transmits information related to the end of the settlement process to the management device, while the management device performs the settlement based on the received information related to the end of the settlement process. The settlement information is stored in the storage unit corresponding to the identification code of the storage medium, and a settlement signal is transmitted to the storage medium settlement device. The storage medium settlement device receives the settlement signal based on the reception of the settlement signal. A game room equipment device, which is capable of receiving a storage medium.
JP2317022A 1990-11-21 1990-11-21 Amusement store equipment Expired - Lifetime JP2767006B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2317022A JP2767006B2 (en) 1990-11-21 1990-11-21 Amusement store equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2317022A JP2767006B2 (en) 1990-11-21 1990-11-21 Amusement store equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP29049595A Division JP2779607B2 (en) 1995-10-12 1995-10-12 Amusement store equipment

Publications (2)

Publication Number Publication Date
JPH03222981A JPH03222981A (en) 1991-10-01
JP2767006B2 true JP2767006B2 (en) 1998-06-18

Family

ID=18083549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2317022A Expired - Lifetime JP2767006B2 (en) 1990-11-21 1990-11-21 Amusement store equipment

Country Status (1)

Country Link
JP (1) JP2767006B2 (en)

Also Published As

Publication number Publication date
JPH03222981A (en) 1991-10-01

Similar Documents

Publication Publication Date Title
JP2709417B2 (en) Game storage medium issuing device
JP2767006B2 (en) Amusement store equipment
JP2709418B2 (en) Storage media payment device
JP2724556B2 (en) Game storage medium issuing device
JP2784956B2 (en) Amusement store equipment
JP2767008B2 (en) Gaming equipment
JP2700504B2 (en) Storage medium issuing device in a game arcade
JP2767007B2 (en) Storage medium issuing device
JP2724557B2 (en) Game storage medium issuing device
JP2663207B2 (en) Game equipment
JP2784958B2 (en) Game equipment
JP2779607B2 (en) Amusement store equipment
JP2688720B2 (en) Amusement equipment
JP2724558B2 (en) Storage medium issuing device in a game arcade
JP2728649B2 (en) Game storage medium issuing device
JP2663203B2 (en) Storage media type game equipment
JP2688721B2 (en) Amusement equipment
JP2767030B2 (en) Gaming equipment
JP2784957B2 (en) Amusement store equipment
JP2663204B2 (en) Game equipment
JP2663209B2 (en) Gaming equipment management equipment
JP2663208B2 (en) Game equipment
JP2663205B2 (en) Game equipment
JP2720328B2 (en) Gaming equipment
JPH03242184A (en) Card collecting machine

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090410

Year of fee payment: 11