JP2688739B2 - Storage media type gaming device - Google Patents

Storage media type gaming device

Info

Publication number
JP2688739B2
JP2688739B2 JP23932395A JP23932395A JP2688739B2 JP 2688739 B2 JP2688739 B2 JP 2688739B2 JP 23932395 A JP23932395 A JP 23932395A JP 23932395 A JP23932395 A JP 23932395A JP 2688739 B2 JP2688739 B2 JP 2688739B2
Authority
JP
Japan
Prior art keywords
card
data
packet
procedure
transmission
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
JP23932395A
Other languages
Japanese (ja)
Other versions
JPH08103550A (en
Inventor
吉平 新山
広司 伊東
Original Assignee
株式会社ソフィア
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 株式会社ソフィア filed Critical 株式会社ソフィア
Priority to JP23932395A priority Critical patent/JP2688739B2/en
Publication of JPH08103550A publication Critical patent/JPH08103550A/en
Application granted granted Critical
Publication of JP2688739B2 publication Critical patent/JP2688739B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、少なくとも金銭と実質
的に等価な有価データ等が付与された遊技用記憶媒体の
挿入されることに関連して遊技が実行可能にされる記憶
媒体式遊技装置と、該記憶媒体式遊技装置と通信可能に
接続された管理装置とを備えた記憶媒体式遊技設備に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage medium type game in which a game can be executed in connection with insertion of a game storage medium to which valuable data or the like which is substantially equivalent to money is inserted. The present invention relates to a storage medium type gaming facility including a device and a management device communicatively connected to the storage medium type gaming device.

【0002】[0002]

【従来の技術】近年、カード状の記憶媒体を媒介として
遊技を行なうようにした記憶媒体式遊技設備に設置され
る記憶媒体式遊技装置の代表的な例としてカード式のパ
チンコ遊技装置が提唱されている。
2. Description of the Related Art In recent years, a card-type pachinko game apparatus has been proposed as a typical example of a storage-medium-type game apparatus installed in a storage-medium-type game facility in which a game is played using a card-type storage medium as an intermediary. ing.

【0003】このカード式のパチンコ遊技装置は、遊技
客が記憶媒体であるカードのみを持ち歩けばよく、落下
し易いパチンコ球を大量に持ち運ぶ手間を軽減すること
ができるという利点がある。
This card-type pachinko gaming apparatus has an advantage that a player can carry around only a card which is a storage medium and can reduce the trouble of carrying a large number of pachinko balls that easily fall.

【0004】従来提案されているカード式パチンコ遊技
システムには、大きく分けると次の2つの方式がある。
Card-type pachinko game systems that have been conventionally proposed are roughly divided into the following two systems.

【0005】第1の方式は、カードの発行に際して購入
金額に対応した持玉数データをカードに記憶し、この持
玉数データの範囲内でパチンコ遊技を行ない、遊技過程
において増減した持玉数データをカードに記憶するとい
うものである(特公昭47−42227号参照)。
In the first method, when the card is issued, the number of balls held corresponding to the purchase amount is stored in the card, and a pachinko game is played within the range of the number of balls held, and the number of balls held is increased or decreased during the game process. The data is stored in a card (see Japanese Examined Patent Publication No. 47-42227).

【0006】カード方式の第2の方式は、カードの購入
の際にコード番号だけを記録したカードを発行し、持玉
数は管理装置に記憶し、カードをパチンコ機のカード読
取装置に挿入することによって記憶された持玉数を呼び
出して遊技を行なえるようにするものである(実公昭6
1−32709号、特公昭51−17106号)。
In the second card system, when a card is purchased, a card in which only a code number is recorded is issued, the number of balls held is stored in a management device, and the card is inserted into a card reading device of a pachinko machine. This allows the player to play the game by recalling the number of balls he has memorized.
1-32709, Japanese Patent Publication No. 51-17106).

【0007】このうち第2の方式では、各パチンコ遊技
装置と、これらを集中的に管理するとともに各カードの
持玉数を記憶する管理装置との間が、伝送手段を介して
接続され、各遊技装置から送られてくるコード番号に基
づいて持玉数に関するデータを各遊技装置へ送り返すよ
うにしている。この場合、各遊技装置と管理装置とを伝
送手段としての信号線を介して1対1で接続することが
考えられるが、そのようにすると信号線の数が膨大にな
ってしまうという難点がある。
Of these, in the second method, each pachinko gaming device and a management device that centrally manages these and stores the number of balls held by each card are connected via transmission means, and each Based on the code number sent from the gaming device, data regarding the number of balls held is sent back to each gaming device. In this case, it is conceivable to connect each gaming device and the management device on a one-to-one basis via a signal line as a transmission means, but doing so has a drawback that the number of signal lines becomes enormous. .

【0008】そこで、各パチンコ遊技装置と管理装置の
間を通信回線で接続し、各パチンコ遊技装置にそれぞれ
個別の識別符号(台番号)を与え、その識別符号を前記
通信回線を介して各遊技装置から管理装置へ送信し、管
理装置はその識別符号によって各遊技装置を個別に認識
できるようにする方式が考えられる。
Therefore, each pachinko gaming device and the management device are connected by a communication line, each pachinko gaming device is given an individual identification code (unit number), and the identification code is given to each game through the communication line. A method of transmitting from the device to the management device and allowing the management device to individually recognize each gaming device by the identification code is considered.

【0009】[0009]

【発明が解決しようとする課題】ところが、パチンコ遊
技装置はその性質上モデルチェンジの度に頻繁に入替え
られることが多く、上記方式にあっては、その入替えを
行なう毎に再度各遊技装置に上記識別符号を設定し直す
作業が必要となって、遊技店側は大きな作業負担を強い
られるという問題があることが分かった。
However, in many cases, the pachinko game machine is frequently replaced every time the model is changed due to its nature, and in the above system, each game machine is again replaced every time the game machine is replaced. It has been found that there is a problem in that the game shop side has to bear a heavy work load because the work of resetting the identification code is required.

【0010】また、識別符号の再設定は人為的な作業に
よって行われるため、符号の付け間違い等のミスも起こ
りがちであり、例えば同一符号を複数の遊技装置に設定
しまった場合や、管理装置が認識できない符号を設定し
てしまった場合などには、管理装置に不具合を生じた
り、管理装置が記憶しているデータと遊技装置とが対応
しなくなったり、あるいは記憶データが破壊されるなど
の重大な問題を生じることも考えられる。
Since the identification code is reset by an artificial operation, mistakes such as mistakes in attaching the code are apt to occur. For example, when the same code is set in a plurality of gaming devices or the management device. If a code that cannot be recognized is set, the management device may malfunction, the data stored in the management device may not correspond to the gaming device, or the stored data may be destroyed. It can cause serious problems.

【0011】また、パチンコ遊技装置を入替える度に、
各遊技装置に識別符号を設定する台番号設定スイッチ等
の識別符号設定手段まで一緒に交換することとなるた
め、遊技装置がコスト高となり、遊技店側の経済的負担
が増えるという難点もある。
Also, every time the pachinko game machine is replaced,
Since the identification code setting means such as a machine number setting switch for setting the identification code for each gaming device is also replaced, the gaming device has a high cost, and there is a drawback that the economic burden on the gaming shop side increases.

【0012】この発明は上記のような問題点に着目して
なされたもので、その目的とするところは、遊技機本体
と補助ユニットとにより構成された記憶媒体式遊技装置
において、補助ユニットに当該補助ユニットの識別番号
設定手段を備えて、遊技機本体を入れ替える際に面倒で
間違いの起こり易い識別番号の設定作業を不用とし、ま
た、補助ユニットは交換しなくとも済むので遊技店側の
経済負担を軽減することのできる記憶媒体式遊技設備を
提供することにある。
The present invention has been made by paying attention to the above problems, and an object of the invention is to relate to an auxiliary unit in a storage medium type game apparatus composed of a game machine main body and an auxiliary unit. With the auxiliary unit identification number setting means, it is unnecessary to set the identification number which is troublesome and error-prone when replacing the main body of the game machine, and the auxiliary unit does not have to be replaced, so the economic burden on the amusement store side It is to provide a storage medium type game facility capable of reducing the above-mentioned problem.

【0013】[0013]

【0014】[0014]

【課題を解決するための手段】上記目的を達成するため
にこの発明は、少なくとも金銭と実質的に等価な有価デ
ータが付与されてなる記憶媒体が挿入されることに関連
して遊技が実行可能にされる複数の記憶媒体式遊技装置
と、該記憶媒体式遊技装置と通信可能に接続された管理
装置とを備えた遊技設備における記憶媒体式遊技装置で
あって、上記記憶媒体式遊技装置は、遊技媒体を用いた
所要の遊技を提供する遊技機本体と、上記記憶媒体の情
報記憶部の情報を読み取り可能な記憶媒体読取手段とを
備えた補助ユニットとにより構成され、上記遊技機本体
は、上記記憶媒体の有する有価データを遊技媒体(例え
ば遊技球もしくは持玉数)に変換させる指令を与える変
換操作手段と、上記記憶媒体の有する有価データを表示
する有価データ表示手段と、上記記憶媒体読取手段に挿
入されている記憶媒体を排出させる指令を与える排出操
作手段とを備え、上記補助ユニットは、少なくとも当該
補助ユニットを識別可能にする識別番号設定手段と、上
記識別番号設定手段により設定された識別番号を上記管
理装置へ送信する通信制御手段とを備えるようにした。
In order to achieve the above object, the present invention enables a game to be executed in connection with insertion of a storage medium containing valuable data at least substantially equivalent to money. A storage medium type gaming device in a gaming facility comprising a plurality of storage medium type gaming devices and a management device communicatively connected to the storage medium type gaming device, wherein the storage medium type gaming device is A game machine main body that provides a required game using a game medium, and an auxiliary unit that includes a storage medium reading unit that can read information in the information storage section of the storage medium, and the game machine main body is , Conversion operation means for giving a command to convert the valuable data in the storage medium into a game medium (for example, a game ball or the number of balls), and a valuable data table displaying the valuable data in the storage medium Means and ejecting operation means for giving a command to eject the storage medium inserted in the storage medium reading means, wherein the auxiliary unit is at least an identification number setting means capable of identifying the auxiliary unit, and the identification The communication control means for transmitting the identification number set by the number setting means to the management device is provided.

【0015】[0015]

【作用】上記手段によれば、記憶媒体式遊技装置は、遊
技機本体と補助ユニットとにより構成され、補助ユニッ
トは当該補助ユニットの識別番号設定手段と識別番号を
上記管理装置へ送信する通信制御手段とを備えているた
め、管理装置は遊技機本体と1対1の補助ユニット識別
番号を正確に把握することができ、しかも遊技機本体を
入れ替えても補助ユニットは交換することなくそのまま
使い続けることができるので、遊技店側の経済負担を軽
減することができる。
According to the above means, the storage medium type game apparatus is composed of the game machine main body and the auxiliary unit, and the auxiliary unit transmits the identification number setting means and the identification number of the auxiliary unit to the management apparatus. Since the management device is provided with the means, the management device can accurately grasp the one-to-one auxiliary unit identification number with the gaming machine main body, and further, even if the gaming machine main body is replaced, the auxiliary unit continues to be used without being replaced. Therefore, it is possible to reduce the economic burden on the game shop side.

【0016】[0016]

【0017】[0017]

【0018】[0018]

【実施例】図1は、記憶媒体式遊技機の一例としてのカ
ード式のパチンコ遊技機(以下、パチンコ機という)を
適用した本発明に係る記憶媒体式遊技設備(パチンコ遊
技システム)の一実施例を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of a storage medium-type gaming machine (pachinko gaming system) according to the present invention to which a card-type pachinko gaming machine (hereinafter referred to as a pachinko machine) is applied as an example of a storage medium-type gaming machine. Here is an example.

【0019】この実施例に係るパチンコ遊技システム
は、後述する識別符号設定手段,設定状態読取手段,通
信制御手段等を装備した記憶媒体式遊技装置を構成する
記憶媒体式遊技機としてのパチンコ機100と、各パチ
ンコ機100における遊技を開始させるため金銭若しく
は遊技価値と実質的に等価な有価データが記憶されたカ
ード状記憶媒体としてのカードCDを発行する記憶媒体
発行装置としての発行機200と、遊技の結果得られた
賞品球および遊技に使用せずに残った購入金を精算する
ための記憶媒体精算装置としての精算機300と、上記
各種端末機を集中的に管理制御し、特にパチンコ機10
0については、各パチンコ機100から送られてくる識
別符号(台番号)に基づいて各パチンコ機100のデー
タをパチンコ機毎に記録管理する管理装置400と、こ
の管理装置400と各端末機を有機的に結合し、各パチ
ンコ機100から管理装置400へ識別符号を送信する
伝送手段としてのデータ伝送路520とからなり、これ
らによって、有機的結合体が構成される。
The pachinko game system according to this embodiment is a pachinko machine 100 as a storage medium type game machine which constitutes a storage medium type game machine equipped with an identification code setting means, a setting state reading means, a communication control means, etc. which will be described later. And a issuing machine 200 as a storage medium issuing device for issuing a card CD as a card-shaped storage medium in which valuable data that is substantially equivalent to money or game value for starting a game in each pachinko machine 100 is stored. A settlement machine 300 as a storage medium settlement device for settling the prize balls obtained as a result of the game and the purchase money remaining not used in the game, and the above-mentioned various terminals are centrally managed and controlled, and particularly a pachinko machine. 10
Regarding 0, a management device 400 that records and manages the data of each pachinko machine 100 for each pachinko machine based on the identification code (unit number) sent from each pachinko machine 100, and the management device 400 and each terminal device. The data transmission path 520 is a transmission means that is organically coupled to each other and transmits an identification code from each pachinko machine 100 to the management device 400. These components constitute an organic coupling body.

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

【0021】次に、上記有機的結合体の各構成要素につ
いての具体的な説明に入る前に、本実施例のパチンコ機
100に適用されるカードCDについて説明する。
Next, before a detailed description of each component of the organic binder, a card CD applied to the pachinko machine 100 of this embodiment will be described.

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

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

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

【0025】一方、カードCDの中央よりやや下方の位
置には、前端から中央付近まで帯状の磁性材が塗布され
た磁気記録部MGが設けられている(図2の(B)参
照)。なお、磁気記録部MGはカードCDの長手方向の
一部にのみでなく、印字表示部PRTと同様にカードの
端から端まで連続する帯状としてもよいし、あるいはカ
ードCDの裏面全体に磁性材を塗布して磁気記録部とし
てもよい。
On the other hand, at a position slightly below the center of the card CD, there is provided a magnetic recording portion MG coated with a band-shaped magnetic material from the front end to the vicinity of the center (see FIG. 2B). The magnetic recording portion MG may be formed not only on a part of the card CD 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 formed on the entire back surface of the card CD. May be applied to form a magnetic recording portion.

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

【0027】また、この実施例のカードCDでは、磁気
記録部MGの下方にカード表面に印刷されるホール名等
の文字中に隠匿されたセキュリティマークからなる真偽
鑑別領域TFを設けてある。すなわち、カードCDの表
面に印刷される「PLAZA」なる文字を、図3の
(C)に示すように各文字の脚部が、3.5ミリ等のピ
ッチで設けられる検出ビットパターンB0〜B9に対応
する位置に来るようにデザインして印刷しておく。
Further, in the card CD of this embodiment, an authenticity discrimination area TF consisting of a security mark hidden in characters such as a hole name printed on the surface of the card is provided below the magnetic recording portion MG. That is, the characters "PLAZA" printed on the surface of the card CD are converted into detection bit patterns B0 to B9 in which the legs of each character are provided at a pitch of 3.5 mm or the like as shown in FIG. Design and print to come to the position corresponding to.

【0028】そして、文字幅が0.5〜1.5ミリ、各
ビット間が3.5ミリとなるようにし、各ビットの
“1”または“0”を文字の濃淡で表現する。しかも、
10個のビットのうち左から5番目のビットB4と最後
のビットB9は、ビットB0〜B3とB5〜B8のパリ
ティを表すように文字の濃淡を決定しておく。なお、こ
の文字列中に隠匿されたセキュリティビットは、センサ
によってのみ検出でき、人間の目には区別がつかないよ
うな特殊なインクを用いて形成しておくとより好まし
い。
The character width is set to 0.5 to 1.5 mm and the distance between each bit is set to 3.5 mm, and "1" or "0" of each bit is expressed by the shade of the character. Moreover,
Of the ten bits, the fifth bit B4 from the left and the last bit B9 determine the shading of the character so as to represent the parity of bits B0 to B3 and B5 to B8. It is more preferable that the security bits concealed in the character string be formed using a special ink which can be detected only by a sensor and is indistinguishable to human eyes.

【0029】さらに、この実施例のカードCDの表面に
は、磁気記録部MGに連続した帯状領域に磁気ヘッドの
汚れを除去するためのクリーニング剤を塗付してなるヘ
ッドクリーニング領域HCNが設けられている。これと
ともに、実施例のカードCDでは、上記磁気記録部MG
がどこに設けられているか分からないようにするため、
図3の(D)に示すように、ポリエステル等のプラスチ
ックからなる基材11上に磁性粒子を均一に塗付してな
る磁気層12の上にホワイト層13を形成し、さらにそ
の上に絵柄印刷層14を載せてからその一部(印字表示
部PRTに対応する部位)に感熱発色層15を形成し、
その上方に透明な保護膜16をコーティングしてある。
Further, on the surface of the card CD of this embodiment, there is provided a head cleaning area HCN in which a cleaning agent for removing dirt on the magnetic head is applied to a strip-shaped area continuous with the magnetic recording portion MG. ing. At the same time, in the card CD of the embodiment, the magnetic recording unit MG
To keep track of where is located,
As shown in FIG. 3D, a white layer 13 is formed on a magnetic layer 12 formed by uniformly coating magnetic particles on a base material 11 made of plastic such as polyester, and a pattern is further formed thereon. After placing the print layer 14, a thermosensitive coloring layer 15 is formed on a part thereof (a portion corresponding to the print display unit PRT),
A transparent protective film 16 is coated thereon.

【0030】なお、クリーニング領域HCNにはホワイ
ト層13と同一色のクリーニング剤を塗付し、その表面
には保護膜16がコーティングされないようにして露出
させ、クリーニング領域HCNが他の部位と色彩的にほ
とんど変わらないようにして、美観の向上を図ってい
る。また、カードの基材11の裏面には絵柄印刷層17
を形成し、その上を保護膜18でコーティングするよう
になっている。
A cleaning agent of the same color as the white layer 13 is applied to the cleaning area HCN, and the surface thereof is exposed so that the protective film 16 is not coated, so that the cleaning area HCN is colored with other areas. The aesthetics are improved by making almost no change. Also, a pattern printing layer 17 is provided on the back surface of the card base material 11.
Is formed, and the protective film 18 is coated thereon.

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

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

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

【0034】この実施例のカードの磁気記録部MGは2
つのトラックで構成され、このうち、第1のトラックT
RC1にはサンプリングタイミングを与えるクロックデ
ータを記録する。
The magnetic recording portion MG of the card of this embodiment has 2
Track T, of which the first track T
Clock data for giving a sampling timing is recorded in RC1.

【0035】第2のトラックTRC2は、左から順に4
ビットの開始符号とそのパリティビットの入るフィール
ドSTX、カードリーダの製造元を示す企業コードMK
Cとカードリーダの機種を示す機器コードMCC、遊技
店の識別コードDSC、年月日データDATE、カード
番号No、カード発行時にカードリーダから与えられる
発行指令コードFNCおよび真偽鑑別領域から読み取ら
れたセキュリティデータSDCの入るテキストフィール
ドTXT、テキスト終了符号の入るフィールドETX、
テキストデータと終了符号との排他的論理和の値(検出
符号)の入るフィールドLRCと開始符号の入るフィー
ルドSTXとから構成されている。しかも、年月日デー
タDATEは、4ビットごとにそれぞれのパリティを示
すビットPが設けられているとともに、最初の4ビット
で「月」を、第6〜第9ビットと第11ビットとで
「日」を、そして第12〜第14ビットおよび第16〜
第19ビットで西暦の下2桁を2進コード化してそれぞ
れ記録するようになっている。
The second track TRC2 is 4 in order from the left.
Field STX in which the start code of the bit and its parity bit are entered, a company code MK indicating the manufacturer of the card reader
C and the device code MCC indicating the model of the card reader, the identification code DSC of the amusement shop, the date data DATE, the card number No, the issue command code FNC given by the card reader at the time of issuing the card, and the authenticity read from the authenticity discrimination area. A text field TXT containing security data SDC, a field ETX containing a text end code,
It is composed of a field LRC containing an exclusive OR value (detection code) of text data and an end code, and a field STX containing a start code. In addition, the date data DATE is provided with a bit P indicating each parity for every four bits, the first four bits represent “month”, and the sixth to ninth bits and the eleventh bit represent “month”. Day ”, and bits 12-14 and bits 16-
In the 19th bit, the last two digits of the Christian era are binary-coded and recorded.

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

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

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

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

【0040】次に、本発明に係る記憶媒体式遊技装置の
構成例について図5〜図15を用いて説明する。
Next, a configuration example of the storage medium type game device according to the present invention will be described with reference to FIGS.

【0041】この実施例の記憶媒体式遊技装置は、記憶
媒体式遊技機としてのパチンコ機100と、該パチンコ
機100と1対1で対応されて遊技機本体上方の島設備
等に配置され、各パチンコ機100毎に識別符号を設定
記憶する識別符号設定手段(設定スイッチ171:図1
7参照)及びその設定状態を読み取る設定状態読取手段
(ユニットコントローラ190:図25参照)を備え、
これらを制御すると共に、表示手段としての表示器(金
額表示器111,玉数表示器112)とカードリーダ8
00に関する制御と遊技中の可動データの収集を司り、
パチンコ機100の識別符号を管理装置400へ伝送路
520を介して送信する通信制御装置を兼ねる制御ユニ
ット160とにより構成される。
The storage medium type game machine of this embodiment is arranged in a pachinko machine 100 as a storage medium type game machine, and one-to-one correspondence with the pachinko machine 100 in an island facility or the like above the main body of the game machine. Identification code setting means (setting switch 171: FIG. 1) for setting and storing the identification code for each pachinko machine 100.
7)) and setting state reading means (unit controller 190: see FIG. 25) for reading the setting state,
In addition to controlling these, a display device (amount display device 111, a coin number display device 112) as a display means and a card reader 8
Controlling 00 and collecting moving data during games,
It is configured by a control unit 160 which also functions as a communication control device for transmitting the identification code of the pachinko machine 100 to the management device 400 via the transmission path 520.

【0042】パチンコ機100は、パチンコ店の島設備
に固定される機枠101内に、ヒンジ102によって開
閉自在に装着される。機枠101の下部にはパチンコ機
100の重量に耐えかつ打球発射装置103の振動を吸
収する操作ダイヤル補強部材107aを有する補強板1
07が固着されている。
The pachinko machine 100 is openably and closably mounted by a hinge 102 in a machine frame 101 fixed to an island facility of a pachinko parlor. A reinforcing plate 1 having an operation dial reinforcing member 107a at the lower portion of the machine frame 101 that withstands the weight of the pachinko machine 100 and absorbs the vibration of the hit ball launching device 103.
07 is stuck.

【0043】パチンコ機100の下部には、封入球を一
個ずつ遊技領域内に発射する打球発射装置103とその
操作ダイヤル104が設けられている。
At the bottom of the pachinko machine 100, there are provided a ball-striking launcher 103 for launching enclosed balls one by one into the game area and an operation dial 104 thereof.

【0044】また、操作ダイヤル104の上方には、前
記カードCDを使用した遊技開始の手続きを可能にする
ための第1有価データ表示手段としての金額表示器11
1、玉数表示器112、購入スイッチ113、中断スイ
ッチ114、終了スイッチ115、遊技状態表示器11
6等を備えた前面操作部材としての操作パネル110が
設けられている。
Further, above the operation dial 104, the amount display 11 as the first valuable data display means for enabling the procedure for starting the game using the card CD.
1, ball number display 112, purchase switch 113, interruption switch 114, end switch 115, game state display 11
An operation panel 110 as a front operation member including 6 and the like is provided.

【0045】パチンコ機100前面の遊技領域の構成は
従来のものと同じである。
The structure of the game area on the front of the pachinko machine 100 is the same as the conventional one.

【0046】購入スイッチ113は、制御ユニット16
0に内蔵されたカードリーダ800へのカードCDの挿
入を前提としてカードCDの磁気記録部MGに記録され
た金額の範囲内で、200円等の単位でこれを遊技球に
変換するための指示スイッチで、変換された遊技球が持
玉数となる。
The purchase switch 113 is the control unit 16
0, within the range of the amount of money recorded in the magnetic recording unit MG of the card CD on the premise that the card CD is inserted into the card reader 800 built in 0, an instruction for converting this into a game ball in units of 200 yen or the like. With the switch, the converted game ball becomes the number of balls.

【0047】カードCDの残り金額は、100円を1単
位とする度数で金額表示器111に表示されるととも
に、変換された持玉数は玉数表示器112に表示され、
打球発射装置103により遊技球一つ発射されるごとに
持玉数が一つ減算され、入賞球が発生すると賞品球数の
分だけ加算表示される。
The remaining amount of the card CD is displayed on the amount display unit 111 at a frequency of 100 yen as one unit, and the converted number of balls held is displayed on the number-of-balls display unit 112.
Each time one hitting ball is fired by the hitting ball firing device 103, the number of possessed balls is decremented by one, and when a winning ball is generated, the number of prize balls is added and displayed.

【0048】終了スイッチ115は、遊技者が遊技を終
了させたくなったとき(遊技台を変更したい場合を含
む)にいつでもこれをオンさせることで、使用中のカー
ドCDを制御ユニット160より排出させることができ
る。
The end switch 115 is turned on at any time when the player wants to end the game (including the case where the player wants to change the game table), thereby ejecting the card CD in use from the control unit 160. be able to.

【0049】そのときユニットコントローラ190(図
25参照)は、その時点で遊技客の残金額と持玉数(購
入玉と獲得球の和)を、管理装置400のファイル内に
登録してからカードCDをカードリーダ800の挿排口
802aより排出する。
At that time, the unit controller 190 (see FIG. 25) registers the remaining amount of money of the player and the number of balls (the sum of the purchased balls and the acquired balls) in the file of the management device 400 at that time and then the card. The CD is ejected from the insertion / ejection slot 802a of the card reader 800.

【0050】また、中断スイッチ114は、遊技者が現
在遊技中の遊技機での遊技を止める意思はないが、休憩
のため一時的に遊技を中断させるために使用するスイッ
チで、このスイッチが操作されると、ユニットコントロ
ーラ190は一旦カードを排出して再び同一カードが挿
入されるまで待機状態となり、その間他のカードを受け
付けないようになる。
The interruption switch 114 is a switch used by the player to temporarily interrupt the game for a break, although the player has no intention of stopping the game on the gaming machine currently being played, and this switch is operated. Then, the unit controller 190 once ejects the card and waits until the same card is inserted again, and does not accept any other card during that time.

【0051】なお、上記各スイッチのうち購入スイッチ
113はランプ内蔵型で、持玉数が「0」になると購入
スイッチ113内のランプが点滅される。
Of the above switches, the purchase switch 113 is a lamp built-in type, and the lamp in the purchase switch 113 blinks when the number of balls held becomes "0".

【0052】前面操作部材としての操作パネル110
は、図6に示すように、パチンコ機100の下部の開閉
可能な前面パネル105に装着されている。
Operation panel 110 as a front operation member
As shown in FIG. 6, is mounted on an openable front panel 105 below the pachinko machine 100.

【0053】また、操作パネル110は、断面が三角形
の中空状をなして前方へ突出し、その上面が前方に向か
って下り傾斜されているため、パチンコ機100に対向
して座る遊技客が遊技盤から余り視線をずらさずに表示
装置の表示内容を容易に読取ることができる。
Further, the operation panel 110 has a triangular cross section and has a hollow shape and projects forward, and the upper surface thereof is inclined downward toward the front, so that a player sitting facing the pachinko machine 100 can play the game board. Therefore, the display content of the display device can be easily read without shifting the line of sight.

【0054】また、操作パネル110の内側には、表示
面110aと平行に配線基板120A,120Bが配設
され、この基板120A上に7セグメント型LEDから
なる金額表示器111と玉数表示器112が、また基板
120B上に上記各スイッチ113〜115と内蔵ラン
プが取り付けられ、表示プレート117で覆われてい
る。
Further, wiring boards 120A and 120B are arranged inside the operation panel 110 in parallel with the display surface 110a, and the money amount display 111 and the number-of-balls display 112 composed of 7-segment type LEDs are provided on the wiring board 120A. However, the switches 113 to 115 and the built-in lamp are mounted on the substrate 120B and covered with the display plate 117.

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

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

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

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

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

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

【0061】また、誘導樋132は、各樋に流入した球
を一箇所に集める合流樋部132dを備え、合流樋部1
32dの終端は、図9に示すように封入球を一列に整列
せしめるべく緩やかに傾斜された案内樋133の上流側
に接続され、これによって球循環装置130が構成され
ている。そして、案内樋133の上流側には発射レール
に沿って打ち出された打球がレール基部に向かって戻っ
てしまう所謂ファール球を回収すべく発射レールの上端
に設けられたファール球受入口134(図11参照)に
臨むように配設されるファール球樋133aが一体に形
成されており、ファール球は誘導樋132を介して案内
樋133上に流下された球と合流されるようになってい
る。ファール球樋133aの途中にはファールセンサS
NS4が配設されている。
Further, the guide trough 132 is provided with a confluent trough section 132d for collecting the balls that have flowed into each trough at one location.
The end of 32d is connected to the upstream side of the guide trough 133 which is gently inclined to align the enclosed balls in a line as shown in FIG. 9, thereby forming the ball circulation device 130. Further, on the upstream side of the guide gutter 133, a foul ball receiving port 134 (see FIG. 1) provided at the 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. 11) is integrally formed, and the foul ball is merged with the ball flowing down on the guide gutter 133 via the guide gutter 132. . In the middle of the foul ball gutter 133a, the foul sensor S
NS4 is provided.

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

【0063】この球抜き機構138は、図10に示すよ
うに、封入球循環装置130がフレームボード109の
裏面に装着された状態では、フレームボード裏面に突設
された阻止片148によって横方向のスライドが阻止さ
れ、球抜きを行えないようになっている。
As shown in FIG. 10, the ball removing mechanism 138 has a blocking piece 148 protruding from the back surface of the frame board 109 in the lateral direction when the enclosed ball circulating device 130 is mounted on the back surface of the frame board 109. The slide is blocked and the ball cannot be removed.

【0064】しかして、封入球循環装置130はその一
側(図10では右側)に設けられたヒンジ部139にて
全体が回動できるように取り付けられており、ヒンジ部
139を中心にして後方へ回動されると、球抜き機構1
38をスライドさせて球抜きを行える。しかも、案内樋
133の端部には弾性係止片133aが固着されてお
り、これをフレームボード109の係合段部149に係
合させることで、封入球循環装置130を回動できない
ように固定させることができる。
The enclosed ball circulating device 130 is attached so as to be entirely rotatable by a hinge portion 139 provided on one side (right side in FIG. 10) of the enclosed ball circulating device 130, and the hinge portion 139 serves as a center for rearward movement. When rotated to, the ball removal mechanism 1
Slide 38 to remove the ball. In addition, an elastic locking piece 133a is fixed to the end of the guide gutter 133, and by engaging this with the engaging step 149 of the frame board 109, the sealed ball circulation device 130 cannot be rotated. Can be fixed.

【0065】球送り135により分離された封入球は、
前面パネル105の後方に配設されたフレームボード1
09に形成された球通過孔139(図11参照)を通っ
て、フレームボードの前面に斜めに固着された発射レー
ル140の基部に一個宛流下される。そして、この発射
レール140の基部に臨むように発射杆103aが配設
される(図12参照)。
The enclosed sphere separated by the ball feeding 135 is
Frame board 1 arranged behind front panel 105
Through the ball passage hole 139 (see FIG. 11) formed in the frame 09, one piece flows down to the base of the firing rail 140 fixed obliquely to the front surface of the frame board. The firing rod 103a is disposed so as to face the base of the firing rail 140 (see FIG. 12).

【0066】これとともに、発射レール140の基部の
下方には、上記発射杆103aに連動して回動され、上
記球送り135を上方へ押し上げる押上げ片141aを
有する連動部材141が配設されている。
At the same time, below the base of the launch rail 140, an interlocking member 141 having a push-up piece 141a that is rotated in conjunction with the launch rod 103a and pushes the ball feed 135 upward is provided. There is.

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

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

【0069】一方、操作パネル110が装着されたフレ
ームボード109の前方を覆う前面パネル105は、図
12に示すように、前面枠108内側の保持枠108c
で縁取られた開口部下部に一端(左端)を支点に開閉可
能に装着されている。
On the other hand, the front panel 105 covering the front of the frame board 109 on which the operation panel 110 is mounted has a holding frame 108c inside the front frame 108 as shown in FIG.
It is attached to the lower part of the opening framed by the one end (left end) so as to be openable and closable about a fulcrum.

【0070】また、前面パネル105の裏側には発射レ
ール140に対応して、その上方に位置される発射レー
ル枠151が固着され、この発射レール枠151の途中
には、前記発射センサSNS5が枠内に臨むことができ
るようにするための切欠き151aが設けられている。
On the rear side of the front panel 105, a firing rail frame 151 positioned above and corresponding to the firing rail 140 is fixed. A notch 151a for allowing access to the inside is provided.

【0071】また、前面パネル105のヒンジと反対側
の端部裏面には、ロックレバー152が設けられてい
る。前面枠108内の上記前面パネル105上方には、
ガラス枠154が同じく開閉可能に取り付けられてい
る。一方、前面枠108の裏面のヒンジ部102と反対
側の一側には、図14に示すように、前面を機枠101
に係止させるための係止具156とその施錠装置157
とが装着されている。また、155はガラス枠154の
開放レバーである。
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 mounted. On the other hand, as shown in FIG.
156 and locking device 157 for locking to
And are attached. Reference numeral 155 denotes an opening lever of the glass frame 154.

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

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

【0074】図16〜図18に、各パチンコ機100毎
に別個に設けられ、各パチンコ機100が着脱自在に接
続されるように構成された通信制御装置を兼ねる制御ユ
ニット160の実施例が示されている。
16 to 18 show an embodiment of a control unit 160 which is provided separately for each pachinko machine 100 and is configured to be detachably connected to each pachinko machine 100 and which also functions as a communication control device. Has been done.

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

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

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

【0078】そして、制御ユニット160の前面パネル
161aの内側には、図17に示すように台番号の銘板
170に表示された識別符号を制御ユニット160に設
定記憶させる識別符号設定手段としての設定スイッチ
(台番号設定SW)171が設けられている。この設定
スイッチ171は3つのロータリースイッチで構成され
ており、各ロータリースイッチを所定の位置に回転させ
ることによって、10進法で3桁の識別符号(台番号)
を設定することができるようになっている。
Then, inside the front panel 161a of the control unit 160, as shown in FIG. 17, a setting switch as an identification code setting means for setting and storing the identification code displayed on the nameplate 170 of the unit number in the control unit 160. A (unit number setting SW) 171 is provided. This setting switch 171 is composed of three rotary switches, and by rotating each rotary switch to a predetermined position, a three-digit identification code (unit number) in decimal system
Can be set.

【0079】なお、本実施例では、上記のように3個の
ロータリースイッチで3桁の識別符号を設定する場合に
ついて述べたが、これに限定されるものではなく、ロー
タリースイッチの数は任意に変更することができ、それ
に伴って識別符号の桁数が増減する場合であってもよ
い。また、ロータリースイッチに代えて、ディップスイ
ッチ等の小型スイッチを用いたり、或は、機械式のスイ
ッチに代えてソフトウェアによって設定を変える所謂ソ
フト・スイッチを採用することも可能である。
In this embodiment, the case where the three-digit identification code is set by the three rotary switches has been described above, but the present invention is not limited to this, and the number of rotary switches can be arbitrarily set. It may be changed and the number of digits of the identification code may be increased or decreased accordingly. Further, a small switch such as a DIP switch may be used instead of the rotary switch, or a so-called soft switch whose setting is changed by software may be adopted instead of the mechanical switch.

【0080】そして、この設定スイッチ171で設定さ
れた識別符号は、ユニット制御装置180によって読み
取られて、伝送手段としての低層ネットワーク通信ライ
ンを介して管理装置400へ送信される。管理装置40
0は、その識別符号に基づいて各パチンコ機100を個
別に認識し、各パチンコ機100から送信されてくる遊
技に関連するデータを、例えば識別符号をアドレス番号
として、各パチンコ機毎の個別のデータファイルとして
記録管理することができる。また、設定スイッチ171
で設定された識別符号は、制御ユニット160側のEP
ROM等のメモリに記憶されるようになっているので、
パチンコ機100を入替える際にも、面倒な識別符号の
再設定を行なう必要がなく、遊技店側の作業負担を軽減
することができる。また、再設定に纏わる識別符号の人
為的な設定ミスも回避できるので、管理装置400で記
録管理されているデータとパチンコ機100が対応しな
くなるなどの不具合を生じることも防止できる。また、
設定スイッチ171やメモリ等は、パチンコ機100と
は別個に設けられる制御ユニット160側に設けられて
いるので、従来のようにパチンコ機100を入替える際
に、設定スイッチ等も一緒に交換されてしまうことがな
く、パチンコ機100は設定スイッチ等を省くことがで
きる分、製造コストを下げることができ、ひいては遊技
店の営業コストを低減することができる。
The identification code set by the setting switch 171 is read by the unit control device 180 and transmitted to the management device 400 via the low layer network communication line as a transmission means. Management device 40
0 individually recognizes each pachinko machine 100 based on the identification code, and data relating to the game transmitted from each pachinko machine 100, for example, using the identification code as an address number, individually for each pachinko machine It can be recorded and managed as a data file. Also, the setting switch 171
The identification code set in step 2 is the EP on the control unit 160 side.
Since it is stored in a memory such as a ROM,
Even when the pachinko machine 100 is replaced, it is not necessary to reset the troublesome identification code, and the work load on the game shop side can be reduced. In addition, since it is possible to avoid an artificial setting error of the identification code associated with the resetting, it is possible to prevent a problem that the data recorded and managed by the management device 400 does not correspond to the pachinko machine 100. Also,
Since the setting switch 171 and the memory etc. are provided on the side of the control unit 160 which is provided separately from the pachinko machine 100, when the pachinko machine 100 is replaced as in the conventional case, the setting switch etc. are also replaced together. Since the pachinko machine 100 can be omitted, setting switches and the like can be omitted, so that the manufacturing cost can be reduced and the operating cost of the game shop can be reduced.

【0081】またその他、前面パネル161aの内側に
は、上記状態表示器162やアナログ表示器163、セ
ーフランプ164の内蔵ランプ群L11〜L15,L2
1〜L28,L31,L32(図18参照)を有するラ
ンプ基板172と、上記スピーカ166およびカード挿
入ランプ168の保持基板173が装着されている。ま
た、呼出しボタン165の後方には呼出しスイッチ16
5aが配設されている。
In addition, inside the front panel 161a, the status display 162, the analog display 163, and the built-in lamp groups L11 to L15, L2 of the safe lamp 164.
A lamp board 172 having 1 to L28, L31, L32 (see FIG. 18), and a holding board 173 for the speaker 166 and the card insertion lamp 168 are mounted. Further, the call switch 16 is provided behind the call button 165.
5a is provided.

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

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

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

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

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

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

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

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

【0090】図23には、パチンコ機100と制御ユニ
ット160とからなる記憶媒体式遊技装置全体の制御シ
ステムの構成例が示されている。
FIG. 23 shows an example of the configuration of a control system for the entire storage medium type game device, which is composed of a pachinko machine 100 and a control unit 160.

【0091】同図において188は、図28に示されて
いるカードリーダ800の各構成部品たる搬送モータ8
07、カードCDの磁気記録部MGの各トラックに対応
するデータ読取部を備えた磁気ヘッド821、穿孔装置
820等を制御するカードリーダ制御装置である。
In the figure, reference numeral 188 indicates a carrying motor 8 which is each component of the card reader 800 shown in FIG.
07 is a card reader control device for controlling the magnetic head 821, the punching device 820, and the like, which are provided with a data reading unit corresponding to each track of the magnetic recording unit MG of the card CD.

【0092】そして、このカードリーダ制御装置188
およびパチンコ機制御装置195と制御ユニット160
に設けられた識別符号の設定スイッチ(台番号設定S
W)171,テストスイッチ179や表示器162,1
63,164,168、スピーカ166は、ユニット制
御装置180によって制御されるようになっている。
Then, the card reader control device 188
And pachinko machine control device 195 and control unit 160
Code setting switch (unit number setting S)
W) 171, test switch 179 and display 162, 1
63, 164, 168 and the speaker 166 are controlled by the unit controller 180.

【0093】即ち、上記設定スイッチ171で設定され
た識別符号(台番号)は、ユニット制御装置180によ
って読み出され、このユニット制御装置180の制御に
よってEPROM等のメモリに記憶される。これによ
り、遊技店側は、パチンコ機100が入替えられる度
に、識別符号を再設定しなければならないという煩雑な
作業から解放されることとなる。なお、設定スイッチ1
71によって新たな識別符号が設定された場合には、そ
の新たな識別符号をEPROM等のメモリに記憶し直す
ことができるのは勿論である。
That is, the identification code (unit number) set by the setting switch 171 is read by the unit controller 180 and stored in a memory such as an EPROM under the control of the unit controller 180. As a result, the game store is released from the troublesome work of having to reset the identification code every time the pachinko machine 100 is replaced. Setting switch 1
When a new identification code is set by 71, the new identification code can of course be stored again in a memory such as an EPROM.

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

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

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

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

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

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

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

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

【0102】図25には、通信制御装置としての機能を
兼備えるユニット制御装置180の構成例が示されてい
る。
FIG. 25 shows an example of the configuration of a unit controller 180 which also has a function as a communication controller.

【0103】ユニット制御装置180は、カードCDに
よるパチンコ遊技を可能にさせるためカードリーダ制御
装置188とパチンコ機制御装置195を統括的に制御
するユニットコントローラ190と、管理装置400と
のデータ伝送に係る制御をするデータ伝送コントローラ
551と、データ伝送コントローラ551の制御下でネ
ットワークにおける送受信権の確立およびデータの直並
列変換を行うネットワークコントローラ553等から構
成されている。
The unit control device 180 relates to data transmission between the management device 400 and the unit controller 190 that controls the card reader control device 188 and the pachinko machine control device 195 in order to enable the pachinko game by the card CD. A data transmission controller 551 for controlling, a network controller 553 for establishing transmission / reception right in the network and performing serial / parallel conversion of data under the control of the data transmission controller 551, and the like.

【0104】そして、各コントローラ190と551間
および551と553間のデータの受け渡しは、デュア
ルポートメモリ(RAM)で構成されるユニットメモリ
550およびパケットメモリ552を介して実行できる
ように構成されている。
The data transfer between the controllers 190 and 551 and between the controllers 551 and 553 can be carried out via the unit memory 550 and the packet memory 552 which are composed of a dual port memory (RAM). .

【0105】このうち、パケットメモリ552は、送信
データ記憶領域と受信データ記憶領域とに分かれてお
り、全ての送受信データ長を同一長にする(パケット
化)のための調整機能と、データ伝送の高速化(2.5M
bps)を計るための緩衝機能とをもっている。
Of these, the packet memory 552 is divided into a transmission data storage area and a reception data storage area, and has an adjusting function for making all transmission / reception data lengths the same length (packetization) and a data transmission area. Speeding up (2.5M
It has a buffer function for measuring bps).

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

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

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

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

【0110】さらに、ユニットコントローラ190に
は、データバス581を介して、前記前面操作部材とし
ての前面操作パネル110の金額表示器111,玉数表
示器112の表示データ(セグメントデータおよびコモ
ンデータ)をラッチするラッチ回路574、購入ランプ
や遊技状態表示ランプ、打球発射装置に対する制御信号
をラッチするラッチ回路575、パチンコ機100およ
び制御ユニット160に設けられた各種スイッチ(前面
操作パネル110上の購入スイッチ113,終了スイッ
チ115等)からの入力信号を所定のタイミングでデー
タバス581上にのせたり各種ランプを表示させる出力
信号をラッチしたりする入出力コントローラ576と、
制御ユニット160内のスピーカ166より発生させる
音声データ等をラッチするラッチ回路577が接続され
ている。
Further, the unit controller 190 receives display data (segment data and common data) of the money amount indicator 111 and the coin number indicator 112 of the front operation panel 110 as the front operation member via the data bus 581. Latch circuit 574 for latching, purchase lamp or gaming state display lamp, latch circuit 575 for latching control signals for the ball hitting launcher, various switches provided on the pachinko machine 100 and control unit 160 (purchase switch 113 on the front operation panel 110) , An end switch 115, etc.), and an input / output controller 576 for placing an input signal from the end switch 115 or the like on the data bus 581 at a predetermined timing and latching an output signal for displaying various lamps.
A latch circuit 577 for latching audio data and the like generated from the speaker 166 in the control unit 160 is connected.

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

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

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

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

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

【0116】さらに、実施例のユニット制御装置180
は、データ伝送コントローラ553が一定時間(5.12
秒)内にデータを送信できないときもユニットコントロ
ーラ190を初期化させ、異常なデータが管理装置40
0に送信されたりしないように対処している。
Furthermore, the unit controller 180 of the embodiment.
Means that the data transmission controller 553 has been
Even if data cannot be transmitted within (sec), the unit controller 190 is initialized, and abnormal data is
It is handled so that it is not transmitted to 0.

【0117】すなわち、実施例では、ユニットメモリ5
50内にウォッチドッグカウンタ領域を設け、データ伝
送コントローラ551が、管理装置400に対してデー
タを送信する度に所定のコードFFをセットし、ユニッ
トコントローラ190が20msごとにこのカウンタを
「1」ずつカウントダウンさせる。従って、仮りにデー
タ伝送コントローラ551が5.12秒以上送信できない状
態が続いたとすると、ユニットメモリ550のウォッチ
ドッグカウンタは「0」になるので、このカウンタを監
視して、「0」になったならばデータ伝送コントローラ
551がダウンしたと判定して、自らリセットをかける
ようにすることができる。
That is, in the embodiment, the unit memory 5
The data transmission controller 551 sets a predetermined code FF every time data is transmitted to the management device 400, and the unit controller 190 increments this counter by “1” every 20 ms. Let it count down. Therefore, if the state in which the data transmission controller 551 cannot transmit for 5.12 seconds or more continues, the watchdog counter of the unit memory 550 becomes “0”. It can be determined that the data transmission controller 551 has gone down and reset itself.

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

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

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

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

【0122】なお、他の送信データに先立って、前記制
御ユニット160の設定スイッチ(台番号設定SW)1
71によって設定された遊技装置の識別符号(台番号)
が、一旦ユニットメモリ550の送信データエリアSD
Aに書き込まれ、伝送コントローラ551によって識別
符号(台番号)の管理装置400への送信が行われる。
管理装置400は、この識別符号によって送信データが
どの遊技装置から送信されたものであるかを把握するこ
とができ、この識別符号を例えば記憶装置のアドレス番
号として、受信したデータをパチンコ機100毎のデー
タファイルとして記憶管理することができる。
Prior to other transmission data, the setting switch (unit number setting SW) 1 of the control unit 160 is set.
Gaming device identification code (unit number) set by 71
Is the transmission data area SD of the unit memory 550 once.
A, and the transmission controller 551 transmits the identification code (unit number) to the management device 400.
The management device 400 can grasp from which gaming device the transmitted data is transmitted by this identification code, and the received data is used for each pachinko machine 100 by using this identification code as the address number of the storage device, for example. Can be stored and managed as a data file.

【0123】また、管理装置400から各遊技装置へ送
られてくるデータにも前記識別符号(台番号)が含まれ
ており、この識別符号はユニットメモリ550の受信デ
ータエリアRDAに伝送アドレスとして格納され、例え
ば、その伝送アドレスとしての識別符号を、EPROM
等のメモリに記憶されている遊技装置の識別符号と照合
する場合には、管理装置400から送信対象の遊技装置
へ正確にデータを送信することができる。
The identification code (unit number) is also included in the data sent from the management device 400 to each gaming device, and this identification code is stored in the reception data area RDA of the unit memory 550 as a transmission address. For example, the identification code as the transmission address is stored in the EPROM.
In the case where the data is compared with the identification code of the gaming device stored in the memory, the data can be accurately transmitted from the management device 400 to the gaming device to be transmitted.

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

【0125】[0125]

【表1】 [Table 1]

【0126】[0126]

【表2】 [Table 2]

【0127】[0127]

【表3】 [Table 3]

【0128】[0128]

【表4】 [Table 4]

【0129】[0129]

【表5】 [Table 5]

【0130】〔表1〕に示すように、ユニットメモリ5
50の送信データエリアSDAには、種々の送信データ
の一つとして、設定スイッチ(台番号設定SW)171
で設定された識別符号(台番号)が、〔データタイプ:
送信パケットヘッド,記憶データ名:台番号,バイト
数:2〕のデータとして格納されている。これにより、
識別符号(台番号)は、伝送コントローラ551の制御
によって伝送路520を介して遊技装置から管理装置4
00へ送信されることとなる。
As shown in [Table 1], the unit memory 5
In the 50 transmission data area SDA, a setting switch (unit number setting SW) 171 is provided as one of various transmission data.
The identification code (unit number) set in is the data type:
Sent packet head, stored data name: unit number, number of bytes: 2]. This allows
The identification code (unit number) is controlled by the transmission controller 551 from the gaming device to the management device 4 via the transmission path 520.
Will be transmitted to 00.

【0131】また、〔表2〕に示すように、ユニットメ
モリ550の受信データエリアRDAには、種々の受信
データの一つとして、伝送アドレスとしての識別符号
(台番号)が、〔データタイプ:受信パケットヘッド,
記憶データ名:台番号,バイト数:2〕のデータとして
格納されるようになっている。これにより、例えば遊技
装置側に記憶されている識別符号と管理装置400から
送られてきた識別符号とを照合する場合には、データ送
受信の確実性を高めることができる。
Further, as shown in [Table 2], in the reception data area RDA of the unit memory 550, as one of various reception data, an identification code (unit number) as a transmission address [data type: Receive packet head,
Stored data name: unit number, number of bytes: 2]. As a result, for example, when the identification code stored in the gaming device and the identification code sent from the management device 400 are collated, the certainty of data transmission / reception can be increased.

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

【0133】また、モニタ情報2は、〔表5〕に示すよ
うにカードリーダの異常を示すビットを有している。
Further, the monitor information 2 has a bit indicating an abnormality of the card reader as shown in [Table 5].

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

【0135】[0135]

【表6】 [Table 6]

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

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

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

【0139】ケース本体801内には、図28に示すよ
うにカード搬送路となるベースプレート804が配置さ
れ、このベースプレート804の上方にはカードCDの
厚みより少し広い間隙をおいてこれと平行に支持基板8
05,806が取付けられるようになっている。
As shown in FIG. 28, a base plate 804 which serves as a card conveying path is arranged in the case main body 801, and a space slightly wider than the thickness of the card CD is provided above the base plate 804 and is supported in parallel therewith. Board 8
05,806 are attached.

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

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

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

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

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

【0145】一方、支持基板805,806の下方に配
置された前記ベースプレート804には、上記搬送ロー
ラ812と823に対応する位置に、トーションスプリ
ング834と835により上方へ付勢された補助ローラ
836と837が、ベースプレートに形成された開口部
841,842よりわずかに顔を出すように装着されて
いる。
On the other hand, on the base plate 804 disposed below the supporting substrates 805 and 806, auxiliary rollers 836 biased upward by torsion springs 834 and 835 are provided at positions corresponding to the transport rollers 812 and 823. 837 is attached so that the face is slightly exposed from the openings 841 and 842 formed in the base plate.

【0146】また、ベースプレート804には、支持基
板806に設けられた貫通孔822より下方に臨むよう
に取り付けられた磁気ヘッド821に対応する位置に同
じくトーションスプリング836によって上方へ付勢さ
れた補助ローラ838が、開口部843よりわずかに上
方へ顔を出すように装着されている。
The base plate 804 is also urged upward by a torsion spring 836 at a position corresponding to the magnetic head 821 mounted below the through hole 822 formed in the support substrate 806. 838 is mounted so that the face is slightly above the opening 843.

【0147】これとともに、ベースプレート804に
は、上記投光器814,816,828,829および
831に対応する位置にそれぞれ透孔844が形成され
ている。さらに、ベースプレート804の前端には幅方
向に沿って凹部845(図30参照)が形成され、そこ
には円筒状の遮蔽部材846が載置されている。遮蔽部
材846はカード挿排口802aを閉塞してゴミの侵入
を防止するとともに、その重量で一定以上の剛性を有す
るカード以外を受け付けないように作用する。
At the same time, through holes 844 are formed in the base plate 804 at positions corresponding to the light projectors 814, 816, 828, 829 and 831. Further, a concave portion 845 (see FIG. 30) is formed at the front end of the base plate 804 along the width direction, and a cylindrical shielding member 846 is placed thereon. The shielding member 846 closes the card insertion / ejection opening 802a to prevent intrusion of dust, and acts so as to accept only cards having a certain rigidity or more by weight.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

【0162】[0162]

【表7】 [Table 7]

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

【0164】また、カードCDの磁気記録部MGの第2
の磁気データ記録部としてのトラックTRC2上の磁気
データaをラッチするフリップフロップFF2は、第1
の磁気データ記録部としてのトラックTRC1上から読
み出されてフリップフロップFF1をトリガさせるリー
ドクロックbをサンプリングクロックとして動作され
る。
The second part of the magnetic recording portion MG of the card CD is also used.
The flip-flop FF2 that latches the magnetic data a on the track TRC2 as a magnetic data recording unit of
The read clock b which is read from the track TRC1 as the magnetic data recording unit and triggers the flip-flop FF1 is operated as a sampling clock.

【0165】フリップフロップFF1はリードクロック
bでトリガされカードリーダコントローラCPU2から
出力されるパルスeでリセットされることで周期的な信
号cを出力する。
The flip-flop FF1 is triggered by the read clock b and reset by the pulse e output from the card reader controller CPU2 to output a periodic signal c.

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

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

【0168】2つのトラックにそれぞれ対応された2つ
のデータ読取部としての磁気ヘッドにより読み取られた
リードデータのリードクロック信号は、アンプAMP
1,AMP3によって増幅された後、整流回路REC
1,REC2で整流され、さらに波形整形回路SMG
1,SMG3を通して矩形波としてカードリーダ制御装
置188に送られる。
The read clock signal of the read data read by the magnetic heads as the two data reading sections respectively corresponding to the two tracks is the amplifier AMP.
1, after being amplified by AMP3, rectifier circuit REC
1, REC2, and the waveform shaping circuit SMG
1, is sent to the card reader control device 188 as a rectangular wave through the SMG3.

【0169】一方、カードリーダ制御装置188から供
給されるライトデータとライトクロックは波形整形回路
SMG2,SMG4を通って磁化電流切替回路MCC
1,MCC2に入力され、ライトデータの“1”,
“0”に応じてヘッド駆動電流の向きが切り替えられて
アンプAMP2,AMP4で増幅され磁気ヘッドMHD
1,MHD2に供給される。
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 magnetizing current switching circuit MCC.
1, MCC2 and write data “1”,
The direction of the head drive current is switched according to “0” and amplified by the amplifiers AMP2 and AMP4, and the magnetic head MHD is amplified.
1, MHD2.

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

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

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

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

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

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

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

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

【0178】なお、この実施例では、カードCDへの磁
気データの記録密度を4.134bit/mm(=105BP
I)とし、カード搬送速度を300mm/秒としたので、
読出しクロックデータのパルス周期は約806μSとな
る。そこで、カードリーダコントローラCPU2による
磁気データ書込みの際には、書込みクロックに関するC
PU出力(E)の周期T をクロックパルスの2倍(1.6
12ms)として出力するようになっている。
In this embodiment, the recording density of magnetic data on the card CD is 4.134 bit / mm (= 105 BP).
I) and the card transport speed was 300 mm / sec.
The pulse cycle of the read clock data is about 806 μS. Therefore, when writing magnetic data by the card reader controller CPU2, C
The period T of the PU output (E) is twice the clock pulse (1.6
12 ms).

【0179】図37に上記カード発行機200の構成例
を示す。
FIG. 37 shows a configuration example of the card issuing machine 200.

【0180】この実施例のカード発行機200は、カー
ド購入のための紙幣を識別する紙幣識別装置210と、
購入金に対応した金額を印刷し、カード番号を記録する
カードリーダ220と、つり銭を排出するための残金払
出装置230と、各種表示器241〜245および、発
行機200全体の制御を行なう制御ユニット250等に
より構成されている。
The card issuing machine 200 of this embodiment includes a bill validator 210 for identifying bills for card purchase,
A card reader 220 for printing the amount corresponding to the purchase amount and recording the card number, a balance dispensing device 230 for discharging change, various indicators 241 to 245, and a control unit for controlling the entire issuance machine 200 250 and the like.

【0181】上記紙幣識別装置210に対応して、前面
パネル201には紙幣挿入口211と、購入金額選択ス
イッチ群212および金額表示器213が設けられてい
る。
Corresponding to the bill validator 210, the front panel 201 is provided with a bill insertion slot 211, a purchase amount selection switch group 212 and an amount indicator 213.

【0182】従って、遊技客は、先ず紙幣挿入口211
より紙幣を投入すると、金額表示器213に投入金額が
表示される。そして、選択スイッチ群212の中から所
望の購入金額に対応するスイッチを押圧することによ
り、所望の購入金額に相当するカードが上記カードリー
ダ220のカード排出口202より発行される。また、
上記金額選択スイッチ群212は、各々ランプ内蔵型ス
イッチで構成されており、スイッチを操作すると対応す
る内蔵ランプが点灯されるようになっている。そして、
投入された紙幣は、紙幣収納タンク214内に回収され
る。
Therefore, the game player first inserts the bill insertion slot 211.
When more bills are inserted, the inserted amount is displayed on the amount indicator 213. Then, by pressing a switch corresponding to a desired purchase amount from the selection switch group 212, a card corresponding to the desired purchase amount is issued from the card ejection port 202 of the card reader 220. Also,
Each of the money amount selection switches 212 is constituted by a switch with a built-in lamp. When the switch is operated, the corresponding built-in lamp is turned on. And
The inserted bill is collected in the bill storage tank 214.

【0183】カードリーダ220は、カードタンク内に
ストックされている白紙状態のカードを1枚ずつ取り出
して、表面に購入金額と、発行年月日および管理装置4
00より付与される発行通し番号nを印刷するととも
に、カードCDの磁気面に管理装置400により演算さ
れたカード番号および識別コード(店コード)、発行年
月日コード、チェックコード等を記録し、さらに発行済
穿孔位置PH1(図2参照)にパンチ穴を開けてから前
面パネル201に設けられたカード排出口202より排
出する。上記発行通し番号nは、カード発行機200か
らカード購入の申込を受けた管理装置400が、自己の
制御下にある複数のカード発行機からの購入申込みに対
し、その受付け順に発行通し番号nを決定し、各カード
発行機に付与する番号であって、この発行通し番号nに
基づいて前述したビットの並び換え等のコード変換処理
を行なって得られたコードをカード番号としてカードC
Dの磁気面に記録して発行し、カードに関する情報は管
理装置400内のファイルに記録するようになってい
る。また、発行通し番号nを印字表示部PRTに印字す
るようになっているため、カードCDの破損等により磁
気記録部MGの情報が読出し不能になっても管理装置4
00のファイル情報からカードを復活することができ
る。
The card reader 220 takes out the blank cards stored in the card tank one by one, and the purchase amount, the issuing date and the management device 4 are printed on the front surface.
In addition to printing the issue serial number n assigned from 00, the card number and the identification code (store code) calculated by the management device 400, the issue date code, the check code, and the like are recorded on the magnetic surface of the card CD. After a punch hole is made in the issued punching position PH1 (see FIG. 2), the card is discharged from a card discharge port 202 provided in the front panel 201. The issuance serial number n is determined by the management apparatus 400, which has received an application for card purchase from the card issuing machine 200, in the order in which it is received for purchase applications from a plurality of card issuing machines under its control. , A code given to each card issuing machine and obtained by performing the code conversion processing such as the rearrangement of bits based on the issue serial number n as a card number.
D is recorded and issued on the magnetic surface, and information on the card is recorded in a file in the management device 400. Further, since the issue serial number n is printed on the print display unit PRT, even if the information of the magnetic recording unit MG becomes unreadable due to damage of the card CD or the like, the management device 4
The card can be restored from the file information of 00.

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

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

【0186】さらに、上記カード発行機200の前面パ
ネル201には、カード発行可能な状態にあることを示
す発行中ランプ241、カード発行不能状態を示す発行
中止ランプ242、紙幣挿入口211より投入された紙
幣でタンク214が満杯になったことを知らせる紙幣プ
ールオーバ表示器243、カードタンク221内の未発
行カードが空になったことを知らせるカード不足表示器
244、残金払出装置の紙幣タンク231内のストック
紙幣がなくなったことを知らせるつり銭不足表示器24
5が設けられている。また、上記状態を検出して対応す
る表示器を点灯させるため、紙幣タンク214,231
およびカードタンク221にはセンサ261,262,
263がそれぞれ設けられている。
Further, on the front panel 201 of the card issuing machine 200, an issuing lamp 241 indicating that the card can be issued, an issuance stop lamp 242 indicating that the card cannot be issued, and a bill insertion slot 211 are inserted. Banknote pool over indicator 243 that indicates that the tank 214 is full of bills, a card shortage indicator 244 that indicates that an unissued card in the card tank 221 has emptied, and the bill tank 231 of the balance dispensing device Insufficient change indicator 24
5 are provided. Further, in order to detect the above state and turn on the corresponding display, the bill tanks 214 and 231 are used.
And the card tank 221 has sensors 261, 262,
263 are provided respectively.

【0187】さらに、この実施例のカード発行機200
には、遊技店に設置される複数(数十台)の発行機20
0の各々を区別して、特定のカードを発行した発行機を
管理装置400において把握できるようにするため台番
号設定器205が内部に設けられており、この設定器2
05により設定された台番号は管理装置400に送られ
て、データ通信の際の伝送アドレスの生成および各発行
機ごとのデータファイルの作成に供される。
[0187] Furthermore, the card issuing machine 200 of this embodiment
Has a plurality (several tens) of issuing machines 20 installed in a game arcade.
0 is distinguished from each other so that the issuing device which has issued the specific card can be grasped in the management device 400.
The machine number set in step 05 is sent to the management device 400, where it is used to generate a transmission address for data communication and to create a data file for each issuing machine.

【0188】なお、特に限定されないが、設定器205
によって設定される台番号と同じ番号が、発行機200
の前面パネル201の上部に付着された銘板206に表
示されるようになっている。
The setter 205 is not particularly limited.
The same number as the machine number set by the issuing machine 200
Is displayed on the nameplate 206 attached to the upper part of the front panel 201 of the.

【0189】図38には、発行機200内のカードリー
ダ220の概略構成例を示す。この実施例のカードリー
ダ220は、磁気記録部MGと印字表示部PRTが白紙
の状態とされているカードが、多数収納されたカードタ
ンク910とこのタンク内から一枚ずつカードを取り出
すカード取出装置920が設けられている。このカード
取出装置920は、カード走行路923に沿って配置さ
れた搬送ローラ924,925と、それらの駆動モータ
926と、取り出されたカードCDの端部を検出する光
電式のセンサ916とにより構成され、カードタンク9
10の底壁の一部に設けられた開口部910aに対向し
て配置された上記搬送ローラ924によってタンク内の
カードを一枚分離し、搬送ローラ925によってカード
リーダ220側へ送り出す。カードの先端がローラ92
5に到達すると、センサ916によって検出され、搬送
ローラ924の回転が停止される。これによって、カー
ドの2枚送りを防止することができる。
FIG. 38 shows a schematic configuration example of the card reader 220 in the issuing machine 200. The card reader 220 according to this embodiment includes a card tank 910 in which a large number of cards whose magnetic recording unit MG and print display unit PRT are blank are stored, and a card ejection device that takes out the cards one by one from the tank. 920 are provided. The card ejection device 920 includes transport rollers 924 and 925 arranged along a card traveling path 923, drive motors 926 thereof, and a photoelectric sensor 916 for detecting an end of the ejected card CD. And the card tank 9
The card in the tank is separated by the transport roller 924 disposed opposite to the opening 910 a provided in a part of the bottom wall of the card 10, and sent out to the card reader 220 side by the transport roller 925. The end of the card is a roller 92
When the number reaches 5, the rotation is detected by the sensor 916 and the rotation of the transport roller 924 is stopped. Thus, it is possible to prevent two cards from being fed.

【0190】上記カード取出装置920によりカードタ
ンク910から取り出された、カードCDがカード取入
口909に挿入され、センサ914によって検出される
と、パルスモータからなる搬送モータ902が駆動さ
れ、ベルト903を介して搬送ローラ904が回転され
る。すると、カードCDが搬送ローラ904とガイドロ
ーラ905とに挾まれて走行路906に沿って搬送さ
れ、カードリーダ220内に取り込まれる。搬送モータ
902には回転角を検出するエンコーダのような回転検
出器(センサ5)915が設けられており、所定量だけ
カードを搬送すると搬送モータ902が停止される。
When the card CD taken out from the card tank 910 by the card take-out device 920 is inserted into the card take-in port 909 and detected by the sensor 914, the conveyance motor 902 consisting of a pulse motor is driven to drive the belt 903. The transport roller 904 is rotated via the roller. Then, the card CD is transported along the traveling path 906 while being sandwiched between the transport roller 904 and the guide roller 905, and is taken into the card reader 220. The conveyance motor 902 is provided with a rotation detector (sensor 5) 915 such as an encoder for detecting a rotation angle. When the card is conveyed by a predetermined amount, the conveyance motor 902 is stopped.

【0191】また、カードリーダ220の本体中央には
磁気ヘッド908aと908bが設けられており、一方
のヘッド908aでカードCDの磁気記録部MGに識別
コード等のデータの書込みを行ない、他方のヘッド90
8bで確認のための読出しを行なう。そして、この磁気
ヘッド908aと908bとの間にパンチ穴を形成する
ための穿孔装置907が設けられている。発行機200
のカードリーダ220では、カード発行時に上記穿孔装
置907が駆動され、所定の穿孔位置PH1にパンチ穴
があけられるようになっている。
Magnetic heads 908a and 908b are provided at the center of the main body of the card reader 220. One head 908a writes data such as an identification code to the magnetic recording portion MG of the card CD, and the other head. 90
At step 8b, reading for confirmation is performed. A punch 907 for forming a punch hole is provided between the magnetic heads 908a and 908b. Issuing machine 200
In the card reader 220, when the card is issued, the punching device 907 is driven to punch a hole at a predetermined punching position PH1.

【0192】また、穿孔装置907の近傍には穿孔装置
907による穿孔が実施されたか確認するためのパンチ
穴検出用の光電式センサ913が設けられている。この
センサ913はパチンコ機100や精算機300ではカ
ードCDにあけられたパンチ穴PH1〜PH5を検出して
カードCDの状態を把握するのに使用される。
Further, in the vicinity of the punching device 907, there is provided a photoelectric sensor 913 for detecting punched holes for confirming whether the punching by the punching device 907 has been carried out. The sensor 913 is used by the pachinko machine 100 or the settlement machine 300 to detect punch holes PH1 to PH5 punched in the card CD and to grasp the state of the card CD.

【0193】カード排出口901の近傍にはカードCD
の端部を検出するセンサ911と、カードCD上のセキ
ュリティマークを光学的に検出するための光学センサ9
12が配置されている。
A card CD is placed near the card outlet 901.
And an optical sensor 9 for optically detecting a security mark on the card CD.
12 are arranged.

【0194】さらに、カードリーダ220の後方(図で
は左側)には、搬送されて来たカードCDの印字表示部
PRTに対して購入金額AM、発行年月日DATEおよ
び発行通し番号nを印字するための印字装置930が配
置されている。印字装置930は、一対の搬送ローラ9
31とそれに対応したガイドローラ932およびそれら
の駆動モータ933と、搬送ローラ931と932との
間に配置されたカード検出用センサ917およびサーマ
ルヘッド934とによって構成されている。
Further, in order to print the purchase amount AM, the issue date DATE and the issue serial number n on the print display portion PRT of the conveyed card CD behind the card reader 220 (on the left side in the figure). The printing device 930 of FIG. The printing device 930 includes a pair of conveyance rollers 9.
31 and a guide roller 932 corresponding thereto, a drive motor 933 for them, a card detection sensor 917 and a thermal head 934 disposed between the transport rollers 931 and 932.

【0195】上記各センサ911〜917の検出信号に
基づく上記モータ902,926,933や穿孔装置9
07、磁気ヘッド908a,908b、サーマルヘッド
934の制御がマイクロコンピュータからなるコントロ
ーラ228(パチンコ機100では188、精算機30
0では319)によって行なわれる。
[0195] The motors 902, 926, 933 and the punching device 9 based on the detection signals of the sensors 911 to 917.
07, a magnetic head 908a, 908b, and a thermal head 934 are controlled by a controller 228 including a microcomputer (188 in the pachinko machine 100,
In case of 0, it is performed by 319).

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

【0197】なお、同図において、符号L1〜L5で示
されているのが、購入金額の選択スイッチ群212に内
蔵されたランプで、オンされたスイッチに対応するラン
プが点灯されて操作ボタンを後方から照明するようにな
っている。
In the figure, the reference numerals L1 to L5 indicate lamps incorporated in the purchase price selection switch group 212. The lamps corresponding to the turned-on switches are turned on and the operation buttons are pressed. It is designed to illuminate from behind.

【0198】このシステムでは、カードリーダ220の
各構成部品たる磁気ヘッド908a,908bや搬送モ
ータ902、穿孔装置907、印字装置930、カード
取出装置920が、センサ911〜915からの検出信
号に基づいて、CPU(マイクロコンピュータ)のよう
なコントローラ228(図6参照)によって制御され、
このコントローラ228および発行機200に設けられ
た各種センサや表示器、紙幣識別器210、残金払出装
置230が、同じくマイクロコンピュータからなる制御
ユニット250内のユニットコントローラ251によっ
て制御されるようになっている。
In this system, the magnetic heads 908a and 908b, the conveyance motor 902, the punching device 907, the printing device 930, and the card ejecting device 920, which are the respective components of the card reader 220, are based on the detection signals from the sensors 911 to 915. , Controlled by a controller 228 (see FIG. 6) such as a CPU (microcomputer),
The controller 228 and various sensors and indicators provided on the issuing machine 200, the bill validator 210, and the balance payout device 230 are controlled by a unit controller 251 in a control unit 250 also formed of a microcomputer. .

【0199】ユニットコントローラ251は、上記構成
部品の制御やカード番号の受信を行なってカード発行処
理を実行するともに、稼動データを収集し、それをデュ
アルポートメモリからなるパラレル通信手段としてのユ
ニットメモリ270内の送信データエリアSDAに書き
込む。ユニットメモリ270に書き込まれた稼動データ
は、後述の伝送コントローラとネットワーク制御手段
(NAU)とにより伝送ケーブル(ネットワーク)を介
して管理装置400との間のデータ交信によって管理装
置400に送られる。
The unit controller 251 controls the above-mentioned components and receives the card number to execute the card issuing process, collects the operation data, and collects the operation data from the unit memory 270 as a parallel communication means including a dual port memory. Write in the transmission data area SDA inside. The operation data written in the unit memory 270 is sent to the management device 400 by a transmission controller and a network control unit (NAU), which will be described later, by data communication with the management device 400 via a transmission cable (network).

【0200】また、管理装置400から送られて来るデ
ータも一旦ユニットメモリ270内の受信データエリア
RDAに書き込まれ、ユニットコントローラ251がこ
れを読み取ることによってデータの受信が行なわれる。
ユニットメモリ270には送信データや受信データがメ
モリ内にあることを相手方のコントローラに伝えるため
のコマンドやステータス情報の入る共有データエリアC
DAが設けられている。
Further, the data sent from the management device 400 is once written into the reception data area RDA in the unit memory 270, and the unit controller 251 reads it to receive the data.
The unit memory 270 has a shared data area C containing a command and status information for notifying the other controller that transmission data and reception data are in the memory.
DA is provided.

【0201】〔表8〕、〔表9〕および〔表10〕に、
各々上記ユニットメモリ270内の送信データエリアS
DA、受信データエリアRDAおよび交信用エリアCC
Aの構成例を示す。
[Table 8], [Table 9] and [Table 10]
Each of the transmission data areas S in the unit memory 270
DA, reception data area RDA and communication area CC
A configuration example of A is shown.

【0202】[0202]

【表8】 [Table 8]

【0203】[0203]

【表9】 [Table 9]

【0204】[0204]

【表10】 [Table 10]

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

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

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

【0208】[0208]

【表11】 [Table 11]

【0209】[0209]

【表12】 [Table 12]

【0210】図40には、前述した精算機300の構成
例を示す。
FIG. 40 shows an example of the configuration of the above-mentioned settlement machine 300.

【0211】この実施例の精算機300は、挿入された
カードCDのカード番号を読み取るカードリーダ310
と、そのカードCDについて使用されずに残った未購入
金額に相当する金額を払い戻すための紙幣払出装置32
0および硬貨払出装置326と、遊技により獲得した持
玉数を印刷したレシートを発行するプリンタ330と各
種表示器340〜342および、精算機300全体の制
御を行なう制御ユニット350等により構成されてい
る。
The settlement machine 300 of this embodiment has a card reader 310 for reading the card number of the inserted card CD.
And a bill payout device 32 for refunding an amount corresponding to the unpurchased amount remaining unused for the card CD.
0 and a coin payout device 326, a printer 330 for issuing a receipt printed with the number of balls possessed by the game, various displays 340 to 342, a control unit 350 for controlling the entire payment machine 300, and the like. .

【0212】上記カードリーダ310に対応して、前面
パネル301にはカード挿入口311と、獲得した賞球
数(持玉数)を表示する玉数表示器312および未購入
金額を表示する金額表示器313が設けられている。遊
技客が、先ずカード挿入口311よりカードCDを投入
すると、カードリーダ310がカードCDの磁気面に記
録されているカード番号を読み取って管理装置400に
送り、そのカードCDに関するデータを受け取る。そし
て、金額表示器313に未購入金額が表示されるととも
に、玉数表示器312に獲得玉数が表示され、プリンタ
330によりレシートが発行される。また、挿入された
カードCDは精算終了後に穿孔装置807により、所定
の穿孔位置PH5にパンチ穴の形成がなされてから排出
される。
Corresponding to the above-mentioned card reader 310, a card insertion slot 311 on the front panel 301, a ball number display 312 for displaying the number of prize balls (number of balls held) and an amount display for displaying an unpurchased amount. A vessel 313 is provided. When a player first inserts a card CD through the card insertion slot 311, the card reader 310 reads a card number recorded on the magnetic surface of the card CD, sends the card number to the management device 400, and receives data on the card CD. Then, the unpurchased money amount is displayed on the money amount display 313, the acquired number of balls is displayed on the ball number display 312, and a receipt is issued by the printer 330. After the settlement, the inserted card CD is ejected by the punching device 807 after a punch hole is formed at a predetermined punching position PH5.

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

【0214】カードリーダ310の構成は、発行機20
0のカードリーダ220(図38参照)とほぼ同様であ
り、カード取出装置922とカードタンク921がなく
その位置にカード収納タンク314が配置されている。
そして、カードCDの搬送方向は発行機200の場合と
逆になる。プリンタ330は、ロール状態でストックさ
れている白紙のシートを引き出して、その表面に発行年
月日と、獲得玉数および未使用残金額さらにはカード来
歴等を印刷し、レシート発行口331より排出する。
The structure of the card reader 310 is as follows:
This is almost the same as the card reader 220 of FIG. 0 (see FIG. 38), except that there is no card removal device 922 and no card tank 921, and the card storage tank 314 is arranged at that position.
The transport direction of the card CD is opposite to that of the issuing machine 200. The printer 330 pulls out a blank sheet of paper stocked in a roll state, prints the date of issuance, the number of balls obtained, the amount of unused money, and the card history on the surface of the sheet, and discharges it from the receipt issuing port 331. I do.

【0215】これとともに、未購入金額に相当する金銭
が残金払出装置320より払い出される。残金払出装置
320は、紙幣をストックしておく紙幣タンク321と
紙幣排出口322とからなる。また、精算の際には10
00円未満の端数が生じるので、100円単位の硬貨を
収納する硬貨タンク324と硬貨払出口325とからな
る硬貨払出装置326が設けられている。
At the same time, money corresponding to the unpurchased amount is paid out from the balance payout device 320. The balance payout device 320 includes a bill tank 321 for stocking bills and a bill outlet 322. In addition, 10
Since a fraction of less than 00 yen is generated, a coin dispensing device 326 including a coin tank 324 for storing coins in units of 100 yen and a coin payout port 325 is provided.

【0216】さらに、上記精算機300の前面パネル3
01には、カード精算中であることを示す精算中ランプ
341、カード精算不能状態を示す精算中止ランプ34
2、カード挿入口311より投入されたカードでタンク
313が満杯になったことを知らせるカードオーバフロ
ー表示器や残金払出装置320の紙幣タンク321内の
ストック紙幣がなくなったことを知らせる紙幣不足表示
器、硬貨払出装置の硬貨タンク324内のストック硬貨
がなくなったことを知らせる硬貨不足表示器、プリンタ
330内のロール紙がなくなったことを表示する紙なし
表示器等からなるモニタ表示ランプ群340が設けられ
ている。
Further, the front panel 3 of the above-mentioned settlement machine 300.
01, a settlement-in-progress lamp 341 indicating that the card is being settled, and a settlement stop lamp 34 indicating that the card cannot be settled.
2. A card overflow indicator that indicates that the tank 313 has been filled with the card inserted through the card insertion slot 311 or a bill shortage indicator that indicates that the stock bills in the bill tank 321 of the balance dispensing device 320 have run out. A monitor display lamp group 340 including a coin shortage indicator for indicating that stock coins in the coin tank 324 of the coin dispensing device have run out, a paper-out indicator for indicating that roll paper in the printer 330 has run out, and the like are provided. ing.

【0217】また、上記各状態を検出して対応する表示
器を点灯させるため、カードタンク314、紙幣タンク
321、硬貨タンク324、およびプリンタ330には
センサ361,362,363,364がそれぞれ設け
られている。また、硬貨払出装置326には硬貨抜取ス
イッチ327が設けられている。
Further, in order to detect each of the above states and turn on the corresponding indicator, the card tank 314, the bill tank 321, the coin tank 324, and the printer 330 are provided with sensors 361, 362, 363, and 364, respectively. ing. The coin dispensing device 326 is provided with a coin removal switch 327.

【0218】さらに、この実施例の精算機300には、
遊技店に設置される複数の精算機の各々を区別して、特
定のカードの精算を行なった精算機300を管理装置4
00において把握できるようにするため台番号設定器3
05が内部に設けられており、この設定器305により
設定された台番号は管理装置400に送られて、データ
通信の際の伝送アドレスの生成および各精算機ごとのデ
ータファイル作成に供される。
Furthermore, in the settlement machine 300 of this embodiment,
The management apparatus 4 distinguishes each of the plurality of payment machines installed in the amusement store and performs payment for a specific card.
Unit number setting device 3 to be able to grasp at 00
05 is provided internally, and the machine number set by the setting unit 305 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. .

【0219】なお、特に限定はされないが、設定器30
5によって設定される台番号と同じ番号が、精算機30
0の前面パネル301の上部に付着された銘板306に
表示されるようになっている。
The setting device 30 is not particularly limited.
5 is the same as the machine number set by the
No. 0 is displayed on a name plate 306 attached to the upper part of the front panel 301.

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

【0221】なお、同図において、符号L11〜L14
で示されているのが、上記モニタ表示ランプ群340を
構成するランプである。
In the figure, reference numerals L11 to L14
Are the lamps constituting the monitor display lamp group 340.

【0222】このシステムでは、カードリーダ310を
構成する磁気ヘッド908b、穿孔装置907および搬
送モータ902が、各種センサ911〜915からの検
出信号に基づいてCPU(マイクロコンピュータ)から
なるコントローラ319(図37のコントローラ228
に相当)によって制御され、このコントローラ319お
よび精算機300に設けられた各種センサや表示器、紙
幣払出装置320、硬貨払出装置326、プリンタ33
0が、同じくマイクロコンピュータからなる制御ユニッ
ト350内のユニットコントローラ351によって制御
されるようになっている。
In this system, the magnetic head 908b, the punching device 907, and the carrying motor 902 which compose the card reader 310 are based on the detection signals from the various sensors 911 to 915, and are a controller 319 (FIG. 37) which is a CPU (microcomputer). Controller 228
, And various sensors and indicators provided in the controller 319 and the settlement machine 300, the bill dispensing device 320, the coin dispensing device 326, and the printer 33.
0 is controlled by a unit controller 351 in a control unit 350 also composed of a microcomputer.

【0223】ユニットコントローラ351は、上記構成
部品の制御やカード番号のチェック、カードデータの受
信、表示等を行なって精算処理を実行するとともに、稼
動データを収集し、それをデュアルポートメモリからな
るユニットメモリ370内の送信データエリアSDAに
書き込む。ユニットメモリ370に書き込まれた稼動デ
ータは、伝送コントローラによる伝送ケーブルを介した
管理装置400との間のデータ交信により管理装置40
0に送られる。管理装置400から送られて来るデータ
も、一旦ユニットメモリ370内の受信データエリアR
DAに書き込まれ、ユニットコントローラ351がこれ
を読み取ることによってデータの受信が行なわれる。
The unit controller 351 controls the above-mentioned components, checks the card number, receives and displays the card data, etc. to execute the settlement process, collect the operation data, and use it as a unit composed of a dual port memory. Write to the transmission data area SDA in the memory 370. The operation data written in the unit memory 370 is transmitted by the transmission controller to the management device 400 via the transmission cable through the transmission cable.
Sent to 0. The data sent from the management device 400 is also temporarily stored in the reception data area R in the unit memory 370.
The data is written to the DA, and the unit controller 351 reads the data to receive data.

【0224】ユニットメモリ370には送信データや受
信データがメモリ内にあることを相手方のコントローラ
に伝えるためのコマンドやステータス情報の入る共有デ
ータエリアCDAが設けられている。
The unit memory 370 is provided with a shared data area CDA in which a command and status information for informing the other controller that transmission data and reception data are stored are stored.

【0225】〔表13〕、〔表14〕および〔表15〕
に、各々上記ユニットメモリ370内の送信データエリ
アSDA、受信データエリアRDAおよび交信用エリア
CCAの構成例を示す。
[Table 13], [Table 14] and [Table 15]
3 shows a configuration example of the transmission data area SDA, the reception data area RDA, and the communication area CCA in the unit memory 370, respectively.

【0226】[0226]

【表13】 [Table 13]

【0227】[0227]

【表14】 [Table 14]

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

【0229】[0229]

【表15】 [Table 15]

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

【0231】[0231]

【表16】 [Table 16]

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

【0233】[0233]

【表17】 [Table 17]

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

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

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

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

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

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

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

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

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

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

【0244】図44に、コンソール412の構成例を示
す。同図の(B)はコンソールの上面すなわちパネル
面、同図の(A)はコンソールの背面を示す。
FIG. 44 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.

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

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

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

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

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

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

【0251】ここで、上記テストカードについて言及す
る。既に説明した構成より明らかなように、この実施例
の遊技システムは、すべての端末機(パチンコ機10
0、カード発行機200、精算機300)が管理装置4
00の制御下にあり、カード番号等のやり取りによって
稼動可能な状態に移行するようになっており、端末単独
では動作不能である。しかるに、パチンコ機100は使
用頻度が高いため、玉詰まりやいわゆるチューリップな
どの役物が故障したりすることが多いとともに、出玉率
の調節のため遊技領域内の釘調整が必要である。その場
合、修理や釘調整後に試し打ちを行なうことになるが、
本実施例では、前述した各パチンコ機100の制御ユニ
ット160内のテスト用スイッチ179をオンさせ、か
つ管理装置400によって発行された特殊なテスト用カ
ードを制御ユニット160のカード挿排口802aより
挿入すると、一定の持玉数が与えられてパチンコ機10
0単独で遊技動作が実行可能になるように構成されてい
る。これによって、非営業時における試し打ちではシス
テム全体を立ち上がらせる必要がない。また、営業中に
おいては、遊技中の稼働データを損なうことなく試し打
ちを行なうことができる。
Here, the test card will be described. As is clear from the configuration already described, the gaming system according to this embodiment includes all terminals (pachinko machines 10).
0, the card issuing machine 200, and the settlement machine 300)
Under the control of 00, the state shifts to an operable state by exchanging a card number and the like, and the terminal cannot operate alone. However, since the pachinko machine 100 is frequently used, jamming 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 that case, you will perform a trial strike after repair and nail adjustment,
In the present embodiment, the test switch 179 in the control unit 160 of each pachinko machine 100 is turned on, and a special test card issued by the management device 400 is inserted from the card insertion / ejection port 802a of the control unit 160. Then, a certain number of balls are given and the pachinko machine 10
It is configured so that a game operation can be executed by itself. 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.

【0252】なお、管理装置400に設けられたカード
リーダ407は図38に示すカード発行機200内のカ
ードリーダ220と全く同じ構成である。
The card reader 407 provided in the management device 400 has the same structure as the card reader 220 in the card issuing machine 200 shown in FIG.

【0253】ただし、内部に白紙カードを有さず、外部
から白紙カードを挿入して磁気面にコードを記録して排
出する方式を採るようにしてもよい。その場合にはカー
ドタンクを省略できる。
However, it is also possible to adopt a system in which a blank card is not provided inside, but a blank card is inserted from the outside to record a code on the magnetic surface and eject it. In that case, the card tank can be omitted.

【0254】また、管理装置400により発行される前
記テストカードや復活カードは必ずしも他の一般カード
のように使用年月日や発行通し番号等を明記する必要が
ないので、印字装置を省略してもよい。ただし、印字装
置を組み込んで、テストカードである旨を印字して発行
することもできる。
Further, the test card and the resurrection card issued by the management device 400 do not necessarily need to specify the date of use, issue serial number, etc. like other general cards, so that the printing device can be omitted. Good. However, it is also possible to incorporate a printing device and print out and issue the fact that the card is a test card.

【0255】なお、復活カード発行の際には穿孔装置8
07によってカードの所定の穿孔位置PH2にパンチ穴
を開けるようになっている。
[0255] When issuing the rebirth card, the punching device 8
07, a punch hole is formed at a predetermined punching position PH2 of the card.

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

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

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

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

【0260】[0260]

【表18】 [Table 18]

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

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

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

【0264】[0264]

【表19】 [Table 19]

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

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

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

【0268】[0268]

【表20】 [Table 20]

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

【0270】NAU番号と台番号は既に述べたように設
定スイッチ(171,205,305,561)で与え
られる番号で、パチンコ遊技店の場合、パチンコ機10
0の台番号は、慣例として「4」と「9」を除いた数字
で与えられる飛び番号である。ここで「4」と「9」を
使用しないということは8進法表現が可能であることが
分かる。
The NAU number and the machine number are the numbers given by the setting switches (171, 205, 305, 561) as described above. In the case of a pachinko game store, the pachinko machine 10
The unit number of 0 is a jump number conventionally given by a number excluding “4” and “9”. Here, the fact that "4" and "9" are not used indicates that an octal representation is possible.

【0271】そこで、10進数表示された台番号を〔表
21〕に示す変換テーブルを使って0〜7の数字のみで
表現する。これに従うと、例えば「258」なる台番号
は「247」と表記される。
Therefore, the unit number displayed in decimal notation is expressed only by the numbers 0 to 7 using the conversion table shown in [Table 21]. According to this, for example, the stand number “258” is described as “247”.

【0272】[0272]

【表21】 [Table 21]

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

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

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

【0276】[0276]

【表22】 [Table 22]

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

【0278】[0278]

【表23】 [Table 23]

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

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

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

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

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

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

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

【0286】[0286]

【表24】 [Table 24]

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

【0288】[0288]

【表25】 [Table 25]

【0289】[0289]

【表26】 [Table 26]

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

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

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

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

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

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

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

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

【0298】この実施例のNAU530は、低層ネット
ワーク510における送受信権の確立およびデータの直
並列変換を行なう低層ネットワークコントローラ533
と、CSMA/CD方式の高層ネットワークにおける送
受信権の確立およびデータの直並列変換を行なう高層ネ
ットワークコントローラ537と、これらのネットワー
クコントローラ533と537との間のデータ転送を制
御するデータ伝送コントローラ535とを備えている。
上記コントローラのうち、低層ネットワークコントロー
ラ533は、トークンパッシング専用の通信用LSIか
らなり、高層ネットワークコントローラ537とデータ
伝送コントローラ535は、汎用マイクロコンピュータ
によって構成されている。
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.
A high-layer network controller 537 for establishing a transmission / reception right in a CSMA / CD type high-layer network and performing serial / parallel conversion of data; and a data transmission controller 535 for controlling data transfer between these network controllers 533 and 537. Have.
Among the above controllers, the low-layer network controller 533 is composed of a communication LSI dedicated to token passing, and the high-layer network controller 537 and the data transmission controller 535 are configured by general-purpose microcomputers.

【0299】そして、これらのコントローラ533と5
35との間および535と537との間には、低層ネッ
トワーク510と高層ネットワーク520のデータ伝送
速度違いを吸収するための緩衝用パケットメモリ534
と536とがそれぞれ接続されている。上記パケットメ
モリ534,536はデュアルポートメモリにより構成
され、送信データエリアSDAと受信データエリアRD
Aとを有する。
Then, these controllers 533 and 5
35 and between 535 and 537, a buffer packet memory 534 for absorbing a difference in data transmission speed between the low-layer network 510 and the high-layer network 520.
And 536 are respectively connected. The packet memories 534 and 536 are constituted by dual port memories, and include a transmission data area SDA and a reception data area RD.
A.

【0300】また、上記低層ネットワークコントローラ
533と低層ネットワーク(トークスバス)510との
間には、送信信号と受信信号の分離および結合を行なう
分岐回路531と、送受信データ信号のレベル変換を行
なうレベル変換回路532が接続されている。また、同
様に、高層ネットワークコントローラ537と高層ネッ
トワーク520との間には、レベル変換回路538と分
岐回路539が接続されている。
Between the low layer network controller 533 and the low layer network (talk bus) 510, a branch circuit 531 for separating and coupling a transmission signal and a reception signal, and a level conversion for converting the level of a transmission / reception data signal. The circuit 532 is connected. Similarly, a level conversion circuit 538 and a branch circuit 539 are connected between the high-layer network controller 537 and the high-layer network 520.

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

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

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

【0304】〔表27〕には、上記データ伝送システム
において管理装置400からパチンコ機100の制御ユ
ニットに送信されるパチンコ機100から見た受信パケ
ットの種類、また〔表28〕にはパチンコ機100から
管理装置400へ送られる送信パケットの種類がそれぞ
れ示されている。
[Table 27] shows the types of packets received from the pachinko machine 100 transmitted from the management device 400 to the control unit of the pachinko machine 100 in the data transmission system, and [Table 28] shows the pachinko machine 100. The types of transmission packets sent from the management device 400 to the management device 400 are shown.

【0305】[0305]

【表27】 [Table 27]

【0306】[0306]

【表28】 [Table 28]

【0307】〔表28〕に掲記されている「カード・イ
ン」パケットは、パチンコ機100の制御ユニット16
0にカードが挿入されたときに、ユニット側から管理装
置400に対してそのカードに関する情報“カードテキ
スト”を要求するためのパケットである。ここでカード
テキストとは、カード番号、持玉数、金額(未使用分)
およびカード状態の4つの情報の入ったデータフィール
ドである。「帰零」なるパケットは、あるパチンコ機で
遊技中にカードの持玉数および金額が共に零になった場
合に、パチンコ機100の制御ユニット160から管理
装置400に対してカードテキストを送信するためのパ
ケットである。
The "card-in" packet listed in [Table 28] is the control unit 16 of the pachinko machine 100.
When the card is inserted into the “0”, the packet is for the unit to request the management apparatus 400 for information “card text” on the card. Here, the card text is the card number, the number of balls, the amount (unused portion)
And a data field containing four pieces of information of a card state. The packet “return to zero” transmits a card text from the control unit 160 of the pachinko machine 100 to the management device 400 when both the number of balls held and the amount of the card become zero during a game with a certain pachinko machine. This is a packet for

【0308】さらに、「中断終了」なるパケットは、遊
技客が中断スイッチ115を押してカードを受取ってパ
チンコ機を離れ、その後、中断中のパチンコ機に戻らず
そのまま精算機300にカードを入れて精算を行なった
場合に、管理装置400が中断中のパチンコ機の中断状
態を解除するための指令を行なうパケットである。これ
によって遊技客はわざわざ中断中のパチンコ機へ戻って
遊技終了スイッチ114を押さなくても精算を行なうこ
とができるようになる。
Further, for the packet "end of interruption", the player pushes the interruption switch 115 to receive the card, leaves the pachinko machine, and then puts the card into the settlement machine 300 as it is without returning to the pachinko machine that has been suspended. Is a packet in which the management device 400 issues a command for canceling the suspended state of the suspended pachinko machine. As a result, the player can return to the pachinko machine that has been interrupted and can perform the settlement without pressing the game end switch 114.

【0309】また、ACKおよびNAKなるパケット
は、管理装置400と制御ユニット160との間で互い
に送信要求を行ったときの相手に対する肯定応答および
否定応答であり、要求に該当するカードテキストがない
ときにNAKパケットが返ってくる。一方、ACKが返
送される場合には、カードテキスト等要求されたデータ
が付加されることもある。さらに、この実施例では回線
テストやモニタ異常、トークンバス異常等に基づいて管
理装置400の判断で、パチンコ機に対して動作の停止
指令を与えるための“強制終了要求”パケットが用意さ
れている。
The ACK and NAK packets are an affirmative response and a negative response to the other party when the management device 400 and the control unit 160 request transmission from each other, and when there is no card text corresponding to the request. NAK packet is returned to. On the other hand, when the ACK is returned, requested data such as a card text may be added. Further, in this embodiment, a "forced termination request" packet for giving an operation stop command to the pachinko machine based on the judgment of the management device 400 based on the line test, the monitor abnormality, the token bus abnormality, and the like is prepared. .

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

【0311】図54〜図59には、上記データ伝送シス
テム(ローカルネットワーク)において使用されるパケ
ットのフォーマットの代表的な例を示す。
54 to 59 show typical examples of packet formats used in the data transmission system (local network).

【0312】このうち図54にパチンコ機100に対す
る“回線テスト”パケットの構造(他の端末と共通)
を、また、同図の(B)にパチンコ機100から管理装
置400に対する応答たる“ACK”パケットの構造を
示す。
Of these, FIG. 54 shows the structure of the "line test" packet for the pachinko machine 100 (common to other terminals).
FIG. 4B shows the structure of an “ACK” packet that is transmitted from the pachinko machine 100 to the management device 400.

【0313】図54の(A)のパケットにおける「P機
番号」〜「チャネル番号」の欄には初期化の際に予めN
AUがNAU番号設定スイッチ561や台番号設定スイ
ッチ562等の設定値に基づいて算出しておいた番号
を、管理装置400からの“回線テスト”パケットを受
信した時点で入れて対応するパチンコ機100に送る。
The columns "P machine number" to "channel number" in the packet shown in FIG.
When the AU receives the “line test” packet from the management device 400, the AU enters the number calculated based on the setting values of the NAU number setting switch 561 and the unit number setting switch 562, etc., and the corresponding pachinko machine 100 Send to

【0314】一方、図54の(B)のパケットにおける
「P機番号」〜「チャネル番号」の欄にはユニットコン
トローラ180が設定スイッチ(台番号設定SW)17
1の設定値に基づいて予め算出しておいた番号を入れて
送信するようになっている。
On the other hand, the unit controller 180 sets the setting switch (unit number setting SW) 17 in the "P machine number" to "channel number" fields in the packet of FIG.
A number calculated in advance based on the set value of 1 is entered and transmitted.

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

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

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

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

【0319】図56には、管理装置400からパチンコ
機100に対するデータを伴わない各種指令パケットの
構成例を示す。同図のパケットタイプ欄の×,×には、
コード90H(開店コード)、91H(閉店コード)、9
5H(強制終了要求)、96H(強制終了解除)、97H
(打止解除)、98H(中断終了)またはB1H(リス
タート)のいずれかのコードが入る。これらの受信パケ
ットに対する管理装置400への応答もなく、一方的な
指令送信である。
FIG. 56 shows a configuration example of various command packets from the management device 400 to the pachinko machine 100 without data. In the packet type column of FIG.
Code 90H (opening code), 91H (closing code), 9
5H (forced termination request), 96H (forced termination release), 97H
A code of any of (stop release), 98H (interruption end) or B1H (restart) is entered. There is no response to the management device 400 for these received packets, and it is a one-way command transmission.

【0320】図57の(A)〜(C)には、カードCD
を受け入れたことを管理装置400に知らせる“カード
イン”パケットとその応答パケット“ACK”および
“NAK”の構成例を示す。
57 (A) to (C), a card CD is shown.
A configuration example of a “card-in” packet for notifying the management apparatus 400 of the acceptance of the “ACK” and its response packets “ACK” and “NAK” is shown.

【0321】“カードイン”送信パケットのデータ欄に
は、ユニットメモリ550からカード番号のみ記入した
カードテキストを読み出して送る。一方、その応答“A
CK”パケットのデータ欄※2には管理装置400のカ
ードファイルから読み出した当該カードに関するデータ
のうちカードテキストが入っている。しかも、このカー
ドテキスト内のカード状態は更新された後のカード状態
を示す。
In the data field of the "card-in" transmission packet, the card text in which only the card number is written is read from the unit memory 550 and sent. On the other hand, the response “A
The data field * 2 of the CK "packet contains the card text among the data related to the card read from the card file of the management device 400. In addition, the card state in this card text indicates the updated card state. Show.

【0322】なお、中断スイッチがオンされたときの送
受信パケットや中断カードが挿入されたときの送受信パ
ケット、精算スイッチがオンされたときの送受信パケッ
ト、「帰零」もしくは「打止」発生時の送受信パケット
の構成も、図57の“カードイン”パケットとその応答
パケットと同一であり、パケットタイプ欄に各々対応す
るパケットコードA2H,A1H,A3H,A4Hまた
はA5Hが入る点とデータ欄のカードテキストにそれぞ
れのカードの異なるデータが入る点とが相違するのみで
ある。特に“カードイン”パケットでは、カードテキス
トの「玉数」、「金額」および「カード状態」の欄が、
「0」であるのに対し、他の同一タイプのパケットでは
それらの欄にもカードに関与するデータを入れて送るよ
うになっている。
[0322] It should be noted that a send / receive packet when the suspend switch is turned on, a send / receive packet when the suspend card is inserted, a send / receive packet when the settlement switch is turned on, a "zero return" or a "stop" occurs. The structure of the transmission / reception packet is also the same as that of the "card-in" packet and its response packet in FIG. 57, and the corresponding packet code A2H, A1H, A3H, A4H or A5H is entered in the packet type column and the card text in the data column. The only difference is that each card contains different data. In particular, in the “card-in” packet, the fields of “number of balls”, “amount” and “card status” in the card text are
In contrast to "0", in other packets of the same type, data relating to the card is also entered in these fields and sent.

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

【0324】このうち、“定時データ送信”パケットに
は、ユニットメモリ550の送信データエリアSDA内
のすべてのデータを入れて送り、管理装置400はこの
データを受信してP機ファイル内の当該パチンコ機10
0のデータを更新する。一方、“ユニット復旧”パケッ
トには、管理装置400のP機ファイル内の全データと
設定値ファイルから読み出した年月日、識別コードおよ
びホットコードを、ユニットメモリ550のデータエリ
アの構成に一致させて送ってくる。
Of these, in the "scheduled data transmission" packet, all the data in the transmission data area SDA of the unit memory 550 is put and sent, and the management device 400 receives this data and receives the pachinko in the P machine file. Machine 10
The data of 0 is updated. On the other hand, in the “unit recovery” packet, all data in the P device file of the management device 400 and the date read from the set value file, the identification code and the hot code are made to match the configuration of the data area of the unit memory 550. I will send you.

【0325】ただし、ユニットメモリ550の送信デー
タエリアSDAと重複する受信データパケットヘッドと
カードテキストは重複した送信を省略し、ユニットコン
トローラ190の側で送信データエリアSDAから受信
データエリアRDAへコピーするようになっている。上
記パケットに対する応答パケットでは送信データエリア
SDA内の全データのみ入れて送るようになっている。
However, for the reception data packet head and the card text which overlap with the transmission data area SDA of the unit memory 550, duplicate transmission is omitted, and the unit controller 190 side copies from the transmission data area SDA to the reception data area RDA. It has become. In a response packet to the above packet, only all the data in the transmission data area SDA is inserted and sent.

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

【0327】次に、上記ユニット制御装置180(図2
5参照)におけるデータ送信に関する制御手順を図50
〜図53を用いて説明する。
Next, the unit controller 180 (see FIG.
5) shows a control procedure for data transmission in FIG.
This will be described with reference to FIGS.

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

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

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

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

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

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

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

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

【0336】ユニットコントローラ190は“カードイ
ン”、“中断スイッチ”等のパケット送信要因が生じる
と、先ずユニットメモリ550の送信データエリアSD
A内の「パケットタイプ」欄にパケットタイプ名を書
く。つまり、パケットヘッドを作成する(ステップS1
21)。それから、ユニットメモリ550内のコマンド
レジスタCR1をチェックして他の送信パケットが既に
入っているか否かチェックし、他の送信パケットがない
ときはコマンドレジスタCR1に送信しようとするパケ
ットタイプ名を書いてから送信タイマをセットする(ス
テップS122〜S124)。
When a packet transmission factor such as "card-in" or "interruption switch" occurs, the unit controller 190 first sends the transmission data area SD of the unit memory 550.
Write the packet type name in the “packet type” column in A. That is, a packet head is created (step S1).
21). Then, the command register CR1 in the unit memory 550 is checked to determine whether another transmission packet has already been entered. If there is no other transmission packet, a packet type name to be transmitted is written in the command register CR1. , A transmission timer is set (steps S122 to S124).

【0337】コマンドレジスタCR1へのパケットタイ
プ名の書込みが、データ伝送コントローラ551に対す
る送信指令となる。一方、データ伝送コントローラ55
1は、コマンドレジスタCR1にパケットタイプが入っ
たか否か監視しており(ステップS221)、パケット
タイプが入ったことを知ると送信パケットタイプに応じ
た送信データを、ユニットメモリ550内の送信データ
エリアSDAから読み出し、送信先であるNAUのアド
レス(固定)と送信データのバイト数とともにパケット
メモリ550内のページ0に書き込む(ステップS22
2,S223)。
Writing the packet type name into the command register CR1 becomes a transmission command to the data transmission controller 551. On the other hand, the data transmission controller 55
1 monitors whether or not the packet type has entered the command register CR1 (step S221), and upon detecting that the packet type has entered, transmits the transmission data corresponding to the transmission packet type to the transmission data area in the unit memory 550. The data is read from the SDA and written to page 0 in the packet memory 550 together with the address (fixed) of the destination NAU and the number of bytes of the transmission data (step S22).
2, S223).

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

【0339】すると、これがネットワークコントローラ
553に対する送信指令となり、ネットワークコントロ
ーラ553は送信コマンドの有無を調べ、コマンドがあ
ったときはネットワーク上での送信権の獲得を待ち、送
信権を獲得したならNAUからの送信許可を待つ(ステ
ップS321〜S323)。それから、パケットメモリ
552のページ1内のデータを送信した後、送信結果を
ラッチLT1に書き込む(ステップS324,S32
5)。
Then, this becomes a transmission command to the network controller 553, the network controller 553 checks the presence of a transmission command, waits for acquisition of the transmission right on the network when there is a command, and from the NAU if the transmission right is acquired. (Steps S321 to S323). Then, after transmitting the data in page 1 of the packet memory 552, the transmission result is written into the latch LT1 (steps S324 and S32).
5).

【0340】これを受けてデータ伝送コントローラ55
1はラッチLT1を調べて送信成功の有無をチェック
し、失敗したときは、上記送信処理を3回まで繰り返す
(ステップS225,S226)。
In response to this, the data transmission controller 55
1 checks the latch LT1 to determine whether or not the transmission has succeeded. If the transmission has failed, the transmission process is repeated up to three times (steps S225 and S226).

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

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

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

【0344】上記ステップS234でデータの一致を判
定しているのは、ユニットコントローラ190が送信デ
ータエリアSDAに対して2バイトからなるデータ部の
1バイトを書き換えたときに、定時データを送信する
と、未確定なデータを送信することになるからである。
データの一致をみることにより、送信データエリアSD
Aのデータ確定を判定することができる。
Whether or not the data match is determined in step S234 is that when the unit controller 190 rewrites 1 byte of the data portion consisting of 2 bytes in the transmission data area SDA, if the regular data is transmitted, This is because undetermined data will be transmitted.
By checking the data match, the transmission data area SD
A data determination of A can be determined.

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

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

【0347】次に、〔表1〕に示された送信稼動データ
のうち稼動情報に反映されるパチンコ機100の稼動状
態とその遷移の仕方およびこの稼動状態とカード状態と
を利用したパチンコ機100の制御方式について説明す
る。
Next, of the transmission operation data shown in [Table 1], the operating state of the pachinko machine 100 reflected in the operating information and the transition method thereof, and the pachinko machine 100 utilizing this operating state and the card state. The control method will be described.

【0348】この実施例のシステムでは、パチンコ機1
00の稼動状態として、図46に示すようにリセット状
態SS10と、遊技不能な強制終了状態SS11と、す
べての遊技客に対して開放されたフリー状態SS12
と、特定の遊技客により遊技が行われている遊技状態S
S13と、特定の遊技客に対し遊技権利を留保して遊技
を中止している中断状態SS14と、所定数の賞品球が
排出され遊技中止に到った打止状態SS15の6つの状
態がある。このうち、フリー状態SS12と中断状態S
S14のみカードの受付けが可能な状態であり、リセッ
ト状態SS10はもちろん強制終了状態SS11、打止
状態SS15はカードの受付けが不能な状態である。な
お、中断状態SS14においては、中断を引き起こした
カードのみ受け付ける。一方、遊技状態SS13では特
定のカードをパチンコ機100内部に保有している。
In the system of this embodiment, the pachinko machine 1
As the operating states of 00, as shown in FIG. 46, a reset state SS10, a forced termination state SS11 in which a game cannot be performed, and a free state SS12 opened to all the players.
And a game state S in which a game is played by a specific player
There are six states: S13, a suspended state SS14 in which the game is stopped with the game right reserved for a specific player, and a stopped state SS15 in which a predetermined number of prize balls are discharged and the game is stopped. . The free state SS12 and the suspended state S
Only S14 is a state in which a card can be accepted. In addition to the reset state SS10, the forced termination state SS11 and the hit state SS15 are states in which the card cannot be accepted. In the suspension state SS14, only the card that caused the suspension is accepted. On the other hand, in the gaming state SS13, a specific card is held inside the pachinko machine 100.

【0349】上記各状態は、図中矢印で示す向きへの遷
移が可能で、それ以外の状態遷移は起きないようにされ
ている。
Each of the above states can be transited in the direction indicated by the arrow in the figure, and other state transitions are prevented from occurring.

【0350】すなわち、リセット状態SS10は“初期
値”パケットを受信したときにのみ強制終了状態SS1
1へ移行する。ただし、停電回復後におけるリセット状
態で“ユニット復旧”パケットを受信したときは、停電
発生前のパチンコ機の状態に復帰する。強制終了状態S
S11からはフリー状態SS12へのみ移行可能で、こ
れは“開店”パケットまたは“強制終了解除”パケット
を受信したときに移行する。また、フリー状態SS12
からは遊技状態SS13または強制終了状態SS11へ
移行可能であり“カードイン”パケットの受信で遊技状
態SS13へ移行し、“閉店”パケットまたは“強制終
了”パケットの受信で強制終了状態SS11へ移行す
る。
In other words, the reset state SS10 is the forced termination state SS1 only when the "initial value" packet is received.
Move to 1. However, when a “unit recovery” packet is received in the reset state after the recovery from the power failure, the pachinko machine returns to the state before the power failure occurred. Forced end state S
From S11, it is possible to shift only to the free state SS12, which shifts when a “store opening” packet or a “forced termination release” packet is received. In addition, free state SS12
Can be shifted to the gaming state SS13 or the forced ending state SS11, the processing shifts to the gaming state SS13 upon reception of the “card-in” packet, and shifts to the forced ending state SS11 upon receiving the “closed” packet or the “forced ending” packet. .

【0351】そして、遊技状態SS13においては、終
了スイッチのオンまたは帰零状態の発生でフリー状態S
S12に戻り、遊技中に中断スイッチがオンされると中
断状態SS14へ、打止め条件が成立すると打止状態S
S15へそれぞれ移行する。中断状態SS14または打
止状態SS15からフリー状態SS12へは、“中断終
了”パケット(精算機で精算を行ったとき)または“打
止解除”パケットを受信したとき移行し、中断状態SS
14で中断を引き起こしたカードが再投入されると遊技
状態SS13へ戻る。
In the game state SS13, the free state S is generated by turning on the end switch or the zero-reset state.
Returning to S12, if the interruption switch is turned on during the game, the operation proceeds to the interruption state SS14, and if the stopping condition is satisfied, the stopping state S
The process moves to S15. The state shifts from the interruption state SS14 or the cancellation state SS15 to the free state SS12 when the “interruption end” packet (when the settlement is performed by the settlement machine) or the “stop cancellation” packet is received, and the interruption state SS
When the card that caused the interruption in 14 is reinserted, the process returns to the gaming state SS13.

【0352】さらに、フリー状態SS12に、遊技状態
SS13、中断状態SS14および打止状態SS15の
すべての状態において、管理装置400から“強制終了
要求”パケットを受け取ると直ちに強制終了状態SS1
1へ移行する。
Further, in the free state SS12, in all the states of the gaming state SS13, the suspended state SS14, and the stopped state SS15, immediately upon receiving the "forced termination request" packet from the management device 400, the forced termination state SS1 is reached.
Move to 1.

【0353】しかも、この実施例のシステムではテスト
カードによる遊技を可能にするテストモードが用意され
ておりこのモードにおいてもシステム全体の電源が投入
されたオンライン時には図46とほぼ同じような状態遷
移を行う。図47の(B)にオンライン中のテストモー
ドにおけるパチンコ機100の状態遷移図を示す。この
場合には、通常動作モード時と状態遷移の条件が多少異
なる。
In addition, the system of this embodiment is provided with a test mode which enables a game with a test card. Even in this mode, when the power of the entire system is turned on, the same state transition as in FIG. 46 is performed. To do. FIG. 47B shows a state transition diagram of the pachinko machine 100 in the online test mode. In this case, the condition of the state transition is slightly different from that in the normal operation mode.

【0354】すなわち、通常動作モードのフリー状態S
S12においてテストスイッチを押してから正規のテス
トカードを挿入すると、制御空間が切り替えられ、パチ
ンコ機100の状態はテストモードの遊技状態SS1
3’へ移行する。テストモードにおいても打止状態や中
断状態に移行することができる。ただし、遊技状態SS
13’からフリー状態SS12へは終了スイッチをオン
したとき、または帰零が発生したときに移行可能であ
り、打止状態SS15’からフリー状態SS12’へは
“打止解除”パケットの受信ではなく、終了スイッチの
オンによって移行し、また、中断状態SS14’で元の
テストカードまたは別のテストカードを挿入するとテス
ト遊技状態SS13’へ戻り、中断状態SS14’で終
了スイッチを押すと通常のフリー状態SS12へ移行す
る。テストモード中の各状態からフリー状態SS12へ
の移行と同時に制御空間も切り替わる。つまり、テスト
モードではなく通常動作モードとなり、もう一度テスト
カードで遊技したい場合には再度テストスイッチをオン
させてからテストカードを挿入する必要がある。
That is, the free state S in the normal operation mode
When a normal test card is inserted after pressing the test switch in S12, the control space is switched, and the state of the pachinko machine 100 is set to the gaming state SS1 in the test mode.
Move to 3 '. Even in the test mode, it is possible to shift to the stop state or the interruption state. However, gaming state SS
It is possible to shift from 13 'to the free state SS12 when the end switch is turned on or when zero return occurs. From the stopped state SS15' to the free state SS12 ', it is not the reception of the "cancel release" packet, but When the end switch is turned on, the state returns to the test game state SS13 'when the original test card or another test card is inserted in the interrupted state SS14', and the normal free state is pressed when the end switch is pressed in the interrupted state SS14 '. Move to SS12. The control space is switched at the same time as the transition from each state in the test mode to the free state SS12. In other words, the test mode is not the test mode, but the normal operation mode. When the player wants to play the game again with the test card, it is necessary to turn on the test switch again and then insert the test card.

【0355】一方、テストモードの各状態で管理装置4
00から“強制終了要求”パケットが送られてくると、
これをユニット制御装置180が記憶しており、終了ス
イッチがオンされたときに、各状態SS13',SS1
4’,SS15’から強制終了状態SS11へ移行する
ようになっている。
On the other hand, in each state of the test mode, the management device 4
When a “forced end request” packet is sent from 00,
This is stored in the unit controller 180, and when the end switch is turned on, each state SS13 ', SS1
4 ', SS15', and transition to the forced termination state SS11.

【0356】なお、この強制終了状態SS11への移行
も制御空間の切替えと同時に行われ、テストモードが終
了する。
The transition to the forced termination state SS11 is also performed at the same time as the switching of the control space, and the test mode is terminated.

【0357】図47の(C)には、パチンコ機100の
一つが単独で電源投入され、管理装置400と切り離さ
れたオフライン時におけるテストモードでの状態遷移が
示されている。
FIG. 47C shows the state transition in the test mode when one of the pachinko machines 100 is independently powered on and disconnected from the management apparatus 400.

【0358】オフライン時におけるパチンコ機100
は、電源投入により初期化を行い、その後テストスイッ
チのオンまたは管理装置400からの“回線テスト”パ
ケットを待つ待機状態SS20となる。ここで、テスト
スイッチがオンされ、続いて正規のテストカードが挿入
されると、テストモードの遊技状態SS13’へ移行す
る。その後は、図47の(B)と同じ条件で中断状態S
S14’、打止状態SS15’へ移行し、各状態で終了
スイッチをオンすると、待機状態SS20へ戻る。
Pachinko machine 100 when offline
Performs initialization upon power-on, and then enters a standby state SS20 for turning on a test switch or waiting for a “line test” packet from the management device 400. Here, when the test switch is turned on and a regular test card is subsequently inserted, a transition is made to the gaming state SS13 'in the test mode. Thereafter, under the same conditions as in FIG.
In S14 ', the state shifts to the stop state SS15'. When the end switch is turned on in each state, the state returns to the standby state SS20.

【0359】なお、待機状態SS20において“回線テ
スト”および“初期値設定”パケットを受信すると、通
常動作モードの強制終了状態SS11へ移行する。
When the "line test" and "initial value setting" packets are received in the standby state SS20, the normal operation mode forced termination state SS11 is entered.

【0360】この実施例のパチンコ機100の制御ユニ
ット160のユニット制御装置180は、上記パチンコ
機100の稼動状態とカード状態とを参照しながらパチ
ンコ機100やカードリーダ800の制御および管理装
置400との通信を行うことで、管理装置400の負担
を減らすとともに、通信エラーに基づく誤動作を回避し
つつ所定の処理に関しては制御の独立性を保持し、遊技
客のアクション等に対して速やかに応答できるようにな
っている。
The unit control device 180 of the control unit 160 of the pachinko machine 100 of this embodiment refers to the control and management device 400 of the pachinko machine 100 and the card reader 800 while referring to the operating state and the card state of the pachinko machine 100. By performing the communication described above, the load on the management device 400 can be reduced, control independence can be maintained with respect to a predetermined process while avoiding a malfunction due to a communication error, and a quick response to a player's action or the like can be achieved. It is like this.

【0361】以下、上記パチンコ機稼動情報およびカー
ド状態を利用したユニットコントローラ190における
処理について説明する。
The processing in the unit controller 190 using the pachinko machine operating information and the card status will be described below.

【0362】先ず、ユニットコントローラ190による
処理を説明する前にユニットコントローラ190とパチ
ンコ機制御装置188およびカードリーダコントローラ
CPU2の相互のデータ伝送および相互に関連した動作
の手順について図60〜図67を用いて説明する。
First, before explaining the processing by the unit controller 190, the procedure of the mutual data transmission of the unit controller 190, the pachinko machine controller 188 and the card reader controller CPU2 and the operation related to each other will be described with reference to FIGS. Explain.

【0363】図60には、初期化から開店にいたるまで
の手順を示す。
FIG. 60 shows a procedure from initialization to opening of a store.

【0364】なお、カードリーダコントローラCPU2
とユニットコントローラ190との間の通信は、ファン
クションコードによって行なわれるようになっており、
ユニットコントローラ190からカードリーダコントロ
ーラCPU2に対するファンクションコードとしては、
カードCDから読み取った磁気データと照合するための
年月日コードと識別コードをカードリーダ800に対し
て与えるための「初期値設定」ファンクション、カード
リーダ800に対しカードCDの受付を許可する「カー
ド受付可」ファンクション、カードリーダ800に対し
カードCDの受付を中止するように指令するための「カ
ード受付不可」ファンクション、カードを排出するよう
指令する「カード排出」ファンクション、カードCDの
磁気データの再読込みを指令する「リロード」ファンク
ション、直前に送ってきたファンクションコードの再送
を要求する「再送要求」ファンクション、カードリーダ
コントローラCPU2内に保持されているカードリーダ
800の状態を示すビットの送信を要求する「ステータ
ス要求」ファンクションおよびパンチ穴形成領域の所定
の位置にカードの持玉、金額がゼロになったことを表す
帰零穴PH4を穿孔するよう指令を与える「帰零」ファ
ンクションの8種類の指令が用意されている。
The card reader controller CPU2
Communication between the unit controller 190 and the unit controller 190 is performed by a function code.
As a function code from the unit controller 190 to the card reader controller CPU2,
An "initial value setting" function for providing the card reader 800 with a date code and an identification code for collating with magnetic data read from the card CD, and a "card for permitting the card reader 800 to accept the card CD. "Acceptable" function, "card unacceptable" function for instructing the card reader 800 to stop accepting the card CD, "card ejection" function for instructing the card to be ejected, and replay of the magnetic data of the card CD A "reload" function for instructing reading, a "retransmission request" function for requesting retransmission of the function code sent immediately before, and a request for transmission of a bit indicating the state of the card reader 800 held in the card reader controller CPU2. Status Request funk Eight types of "return-to-zero" functions are provided, which give a command to punch a return-to-zero hole PH4, which indicates that the value of the card has become zero, at a predetermined position in the area for forming the slot and punch holes. ing.

【0365】一方、カードリーダコントローラCPU2
からユニットコントローラ190に対するファンクショ
ンコードとしては、カードリーダ800で読み取ったカ
ード番号をユニットコントローラ190へ送る「カード
番号送信」ファンクション、テストカードが挿入された
ことをユニットコントローラ190へ知らせる「テスト
カード」ファンクション、リセット時に年月日や識別コ
ード等の初期値を要求する「初期値要求」ファンクショ
ン、要求された処理が正常に終了したことをユニットコ
ントローラ190に知らせる「正常終了」ファンクショ
ンおよび逆に正常に処理が終了しなかったことを知らせ
る「異常終了」ファンクション、挿入されたカードCD
に不正があることをカードリーダコントローラ190が
判定し自らの意志でカードCDを検出したことを知らせ
る「セルフ排出」ファンクション、ユニットコントロー
ラ190に対して直前に送ってきたファンクションコー
ドの再送を要求する「再送要求」ファンクションと「リ
ロード」要求や「ステータス要求」に対してカードリー
ダ800のステータスを送信するための「ステータス送
信」ファンクションの8種類がある。
On the other hand, the card reader controller CPU 2
As a function code for the unit controller 190, a "card number transmission" function for transmitting a card number read by the card reader 800 to the unit controller 190, a "test card" function for notifying the unit controller 190 that a test card has been inserted, At the time of reset, an "initial value request" function for requesting an initial value such as a date and an identification code, a "normal end" function for notifying the unit controller 190 that the requested processing has been normally completed, and conversely, the processing is normally performed. "Abnormal termination" function to notify that it did not end, inserted card CD
"Self-discharge" function that the card reader controller 190 determines that the card CD is illegal and detects that the card CD has been detected by itself, and requests the unit controller 190 to retransmit the function code sent immediately before. There are eight types of "retransmission request" function and "status transmission" function for transmitting the status of the card reader 800 in response to "reload" request or "status request".

【0366】ただし、カードリーダコントローラCPU
2とユニットコントローラ190との間の交信は、ファ
ンクションコードを一方的に送るのではなく、先ず送信
側がコール信号(呼かけコード)ENQを送り、受信側
から許可応答ACKを受けた後にファンクションコード
を送るようになっている。
However, the card reader controller CPU
2 and the unit controller 190 do not unilaterally send a function code, but first send a call signal (calling code) ENQ, and after receiving a permission response ACK from the receiving side, send the function code. It is supposed to be sent.

【0367】図60において、パワーオンによりリセッ
トが入ると、ユニットコントローラ190、カードリー
ダコントローラCPU2、パチンコ機コントローラCP
U1は、内部レジスタ等の初期化を行う(ステップS4
01,S501,S601)。初期化が終了すると、パ
チンコ機コントローラCPU1は各センサやスイッチか
らの検出信号の入力待ち状態となる(S410)。
In FIG. 60, when reset is turned on by power-on, the unit controller 190, the card reader controller CPU2, the pachinko machine controller CP
U1 initializes internal registers and the like (step S4).
01, S501, S601). When the initialization is completed, the pachinko machine controller CPU1 waits for input of a detection signal from each sensor or switch (S410).

【0368】ユニットコントローラ190は、制御ユニ
ット160の設定スイッチ(台番号設定SW)171か
ら設定値(識別符号:台番号)を読み取って通し番号、
チャネル番号を算出し、ユニットメモリ550に記憶す
る(ステップS602)。そして、管理装置400から
“回線テスト”パケットが送られてくるのを待つ(ステ
ップS603)。
The unit controller 190 reads the set value (identification code: unit number) from the setting switch (unit number setting SW) 171 of the control unit 160, and outputs the serial number,
The channel number is calculated and stored in the unit memory 550 (step S602). Then, it waits for a "line test" packet to be sent from the management device 400 (step S603).

【0369】次に、“初期値設定”パケットを受信する
と、カードリーダ800からの受信制御を開始し、カー
ドリーダコントローラCPU2からのコール信号ENQ
の有無を判定する(ステップS604〜S606)。
Next, when the "initial value setting" packet is received, the reception control from the card reader 800 is started, and the call signal ENQ from the card reader controller CPU2.
Is determined (steps S604 to S606).

【0370】一方、カードリーダコントローラCPU2
は、初期化が終了すると、ユニットコントローラ190
に対し、コール信号ENQを送信し、それに対する応答
信号ACKを待つ(ステップS502,S503)。な
お、コール信号ENQを送信する以前に、ユニットコン
トローラ190から「初期値設定」ファンクション等の
送信のコールがあった場合を考慮して、ACKがないと
きはENQの有無を判定する(ステップS504)。そ
して、ENQがあればACKを送信してファンクション
コードの受信待ちとなる(ステップS504〜S50
6)。
On the other hand, the card reader controller CPU2
When the initialization is completed, the unit controller 190
Sends a call signal ENQ and waits for a response signal ACK in response to the call signal (steps S502 and S503). If there is no ACK in consideration of a case where the unit controller 190 transmits a call such as an “initial value setting” function before transmitting the call signal ENQ, it is determined whether or not there is an ENQ (step S504). . Then, if there is an ENQ, an ACK is transmitted to wait for reception of a function code (steps S504 to S50).
6).

【0371】上記ステップS502におけるカードリー
ダコントローラCPU2からのコール信号ENQの送信
をユニットコントローラ190がステップS606で受
信すると、応答信号ACKを返す(ステップS60
7)。すると、カードリーダコントローラCPU2は
「初期化要求」ファンクションを送信する(ステップS
511)。これをユニットコントローラ190が受信し
てカードリーダ800への送信制御を開始し、先ず年月
日、識別コードを入れた「初期値設定」ファンクション
を送信する(ステップS608〜S610)。
When the unit controller 190 receives in step S606 the transmission of the call signal ENQ from the card reader controller CPU2 in step S502, a response signal ACK is returned (step S60).
7). Then, the card reader controller CPU2 transmits an "initialization request" function (Step S).
511). This is received by the unit controller 190 and transmission control to the card reader 800 is started, and first, an “initial value setting” function including an identification code is transmitted (steps S608 to S610).

【0372】カードリーダコントローラCPU2は、こ
の初期値を受信すると年月日と識別コードを内部RAM
に記憶してから「正常終了」ファンクションを返す(ス
テップS512〜S514)。
When the card reader controller CPU2 receives this initial value, the date and identification code are stored in the internal RAM.
And returns a "normal end" function (steps S512 to S514).

【0373】ユニットコントローラ190は「正常終
了」ファンクションを受信する(ステップS611)
と、管理装置400からの“開店コード”パケットを待
ち、これを受信するとアナログ表示器163をスクロー
ルさせて客待ち表示を行うとともに、ユニットメモリの
稼動情報を「フリー」に変更する(ステップS612〜
S614)。それからユニットコントローラ190はカ
ードリーダコントローラCPU2に対して「カード受付
可」ファンクションを送信する(ステップS615)。
The unit controller 190 receives the "normal end" function (step S611).
Waits for a "store opening code" packet from the management device 400, and upon receipt of this packet, scrolls the analog display 163 to display a customer wait and changes the operation information of the unit memory to "free" (steps S612 to S612).
S614). Then, the unit controller 190 transmits a "card accepted" function to the card reader controller CPU2 (step S615).

【0374】カードリーダコントローラCPU2がこれ
を受信すると、先ずシャッタを開けてからカード挿入検
出を開始する(ステップS515〜S517)。そし
て、「正常終了」ファンクションを返し(ステップS5
18)、ユニットコントローラ190からのファンクシ
ョンまたはカードCDの挿入を待つ状態となる(ステッ
プS520)。一方、ユニットコントローラ190はカ
ードリーダ800からの「正常終了」ファンクションを
受信すると、管理装置400からのパケットまたはカー
ドリーダコントローラCPU2からのファンクションを
待つ状態になる(ステップS620)。
When the card reader controller CPU2 receives this, it first opens the shutter and then starts card insertion detection (steps S515 to S517). Then, the "normal end" function is returned (step S5).
18), and enters a state of waiting for insertion of a function or a card CD from the unit controller 190 (step S520). On the other hand, when the unit controller 190 receives the “normal end” function from the card reader 800, it waits for a packet from the management device 400 or a function from the card reader controller CPU2 (step S620).

【0375】図61には、カードリーダ800にカード
CDが挿入された場合の動作手順を示す。
FIG. 61 shows an operation procedure when the card CD is inserted into the card reader 800.

【0376】カードリーダコントローラCPU2がファ
ンクションまたはカード待ち状態(ステップS520)
にあるとき、カードCDが挿入されると、挿入検出スイ
ッチ808によりこれを検知しモータMTを駆動してカ
ードCDを内部に取り込む(ステップS521)。
Card reader controller CPU2 is in a function or card waiting state (step S520).
When the card CD is inserted, the insertion detection switch 808 detects this and drives the motor MT to take in the card CD (step S521).

【0377】次に、パンチ穴、セキュリティコードをチ
ェックしてから磁気データを読み込んで、年月日、識別
コードを検査する(ステップS522〜S525)。そ
して、正常なカードであれば読み取ったカード番号を入
れたファンクションをユニットコントローラ190に送
信した後、シャッタを閉じる(ステップS526,S5
27)。
Next, after checking the punch holes and the security code, the magnetic data is read and the date and the identification code are inspected (steps S522 to S525). If the card is a normal card, the function including the read card number is transmitted to the unit controller 190, and then the shutter is closed (steps S526 and S5).
27).

【0378】ユニットコントローラ190がカード番号
を受信すると、“カードイン”パケットを管理装置40
0へ送って、カードの存在を“ACK”パケットにより
確認して稼動情報を「遊技中」に変更する(ステップS
621〜S625)。それから、状態表示ランプ162
を点灯させ、遊技中である旨を外部に知らしめた後、打
球発射装置103を駆動可能にし、各センサの検出信号
の入力を待つ(ステップS624,S625)。
When the unit controller 190 receives the card number, it sends a "card-in" packet to the management device 40.
0, the presence of the card is confirmed by an "ACK" packet, and the operation information is changed to "playing" (step S).
621-S625). Then, the status display lamp 162
Is turned on to inform the outside that the game is being played, the hit ball launching device 103 is made drivable, and input of a detection signal from each sensor is waited (steps S624 and S625).

【0379】この間、パチンコ機コントローラCPU1
はセンサおよびスイッチの検出信号待ち状態(ステップ
S410)にあり、打球発射装置の発射制御開始後、発
射センサSNS5、セーフセンサSNS2,SNS3、
ファールセンサSNS4、アウトセンサSNS1からの
検出信号を検知すると、それをユニットコントローラ1
90に知らせる(ステップS411〜S416)。しか
も、このとき発射センサの検出時間の違いから戻り球と
発射球を区別し、戻り数についてはファール球検出信号
として出力する(ステップS416)。
During this period, the pachinko machine controller CPU1
Is in a state of waiting for detection signals of sensors and switches (step S410), and after starting the launch control of the hit ball launching device, launch sensor SNS5, safe sensors SNS2, SNS3,
When the detection signals from the foul sensor SNS4 and the out sensor SNS1 are detected, the detection signals are sent to the unit controller 1
90 is notified (steps S411 to S416). In addition, at this time, the return ball and the launch ball are distinguished from each other based on the difference in the detection time of the launch sensor, and the return number is output as a foul ball detection signal (step S416).

【0380】一方、ユニットコントローラ190はセン
サの検出信号を受けると信号の種類に応じた演算を行っ
て遊技中の玉数を求めユニットメモリ550を更新する
(ステップS626〜S630)とともに、購入スイッ
チ113の検出信号を受けるとカードCDの未使用金額
を減らし持玉数を増やす演算をする(ステップS63
1)。
On the other hand, when the unit controller 190 receives the detection signal of the sensor, it calculates the number of balls in the game by updating the unit memory 550 (steps S626 to S630) according to the kind of the signal and purchase switch 113. When the detection signal is received, the calculation is performed to reduce the unused amount of the card CD and increase the number of balls held (step S63).
1).

【0381】図62には、遊技中に中断スイッチ114
がオンされたときの動作手順を示す。
In FIG. 62, the interruption switch 114 during the game.
The operation procedure when is turned on is shown.

【0382】ユニットコントローラ190は、中断スイ
ッチのオンを検出すると、打球発射装置103の制御を
停止させ、管理装置400に向かって“中断スイッチ”
パケットを送信する(ステップS632〜S634)。
そして、管理装置400から“ACK”が戻ってくる
と、ユニットメモリ550内の稼動情報を「中断中」に
変更して、遊技状態表示ランプ123を点滅駆動させて
中断表示を行わせてから、「カード排出」ファンクショ
ンをカードリーダコントローラCPU2へ送信する(ス
テップS635〜S637)。
When the unit controller 190 detects that the interruption switch is turned on, the unit controller 190 stops the control of the hitting ball launching device 103, and the "interruption switch" is directed to the management device 400.
The packet is transmitted (steps S632 to S634).
Then, when “ACK” is returned from the management device 400, the operation information in the unit memory 550 is changed to “interrupted”, the game state display lamp 123 is driven to blink, and the interruption display is performed. The "card ejection" function is transmitted to the card reader controller CPU2 (steps S635 to S637).

【0383】カードリーダコントローラCPU2がこの
ファンクションを受信すると、シャッタを開けてからモ
ータMTを逆転させてカードCDを排出し、ユニットコ
ントローラ190へ「正常終了」ファンクションを送り
(ステップS528〜S531)、カード挿入またはフ
ァンクション待ちとなる(ステップS532)。一方、
ユニットコントローラ190は「正常終了」ファンクシ
ョンを受信(ステップS638)した後、パケットまた
はファンクション受信待ち(ステップS620)とな
る。
When the card reader controller CPU2 receives this function, the shutter is opened and the motor MT is rotated in the reverse direction to eject the card CD, and the "normal end" function is sent to the unit controller 190 (steps S528 to S531), and the card It waits for insertion or a function (step S532). on the other hand,
After receiving the “normal end” function (step S638), unit controller 190 waits for reception of a packet or function (step S620).

【0384】その後、中断したカードCDがカードリー
ダ800に挿入されると、カードリーダコントローラC
PU2は、前記ステップS521〜S527と同様の手
順に従って、カードCDの取込み、チェックおよびファ
ンクション送信、シャッタの閉鎖を行う(ステップS5
33〜S538)。一方、ユニットコントローラ190
は、受信したカード番号とユニットメモリ550内のカ
ード番号とを照合して中断したカードであるか否か検査
し、一致すれば“中断カードイン”パケットを管理装置
400へ送信する(ステップS639〜S641)。そ
して、その応答“ACK”を受信すると稼動状態を「遊
技中」に変更し、遊技状態表示ランプを連続点灯の遊技
表示に変更してから打球発射装置103の制御を開始さ
せる(ステップS642〜S644)。
Then, when the interrupted card CD is inserted into the card reader 800, the card reader controller C
The PU 2 takes in the card CD, checks and transmits the function, and closes the shutter in accordance with the same procedure as in steps S521 to S527 (step S5).
33-S538). On the other hand, the unit controller 190
Checks the received card number against the card number in the unit memory 550 to determine whether or not the card has been interrupted, and if they match, transmits an "interrupted card-in" packet to the management device 400 (steps S639 to S639). S641). Then, when the response "ACK" is received, the operation state is changed to "playing", the game state display lamp is changed to the continuously lit game display, and the control of the hit ball launching device 103 is started (steps S642 to S644). ).

【0385】ところで、この実施例のシステムでは、中
断したカードを精算機300で精算すると、中断中のパ
チンコ機100が解放されるようになっている。そこ
で、図62のステップS620のパケットまたはファン
クション受信待ち状態で管理装置400から“中断終
了”パケットが送られてくると、ユニットコントローラ
190は稼動情報を「フリー」に変更し、ランプ12
3,163を客待ち表示に変更してから再びパケットま
たはファンクション受信待ち(ステップS620)とな
る。
By the way, in the system of this embodiment, when the suspended card is settled by the settlement machine 300, the suspended pachinko machine 100 is released. Therefore, when the packet of step S620 in FIG. 62 or the “interruption end” packet is sent from the management apparatus 400 in the function reception waiting state, the unit controller 190 changes the operation information to “free” and the lamp 12
After changing 3,163 to the customer waiting display, the process waits for packet or function reception again (step S620).

【0386】図69には、終了スイッチ115がオンさ
れたときの動作手順が示されている。
FIG. 69 shows an operation procedure when the end switch 115 is turned on.

【0387】ユニットコントローラ190は、終了スイ
ッチのオンを検出すると、打球発射装置103の駆動を
停止させてから“終了スイッチ”パケットを管理装置4
00へ送る(ステップS645〜S647)。そして、
その応答“ACK”を受信すると稼動情報を「フリー」
に変更し、遊技状態表示ランプ123を消灯、アナログ
表示器163をスクロールさせて客待ち表示に変更して
から、「カード排出」ファンクションをカードリーダコ
ントローラCPU2へ送る(ステップS648〜S65
0)。
When the unit controller 190 detects that the end switch is turned on, the unit controller 190 stops the driving of the hitting ball launching device 103 and then sends the "end switch" packet to the management device 4.
00 (steps S645 to S647). And
When the response “ACK” is received, the operation information is “free”.
, The game state display lamp 123 is turned off, the analog display 163 is scrolled to change to the customer waiting display, and then the "card ejection" function is sent to the card reader controller CPU2 (steps S648 to S65).
0).

【0388】カードリーダコントローラCPU2は、そ
のファンクションを受信すると、シャッタを開き、モー
タMTを駆動してカードCDを排出してから「正常終
了」ファンクションをユニットコントローラ190へ返
す(ステップS539〜S542)。そして、カード挿
入またはファンクション受信待ちとなる(ステップS5
20)。
Upon receiving the function, the card reader controller CPU2 returns the "normal end" function to the unit controller 190 after opening the shutter, driving the motor MT to eject the card CD (steps S539 to S542). Then, it waits for card insertion or function reception (step S5).
20).

【0389】一方、ユニットコントローラ190は、カ
ードリーダコントローラCPU2からの「正常終了」フ
ァンクションを受信すると管理装置400からのパケッ
トまたはカードリーダコントローラCPU2からのファ
ンクション待ちとなる(ステップS651,S62
0)。この間、パチンコ機コントローラCPU1はセン
サの検出信号の入力待ちとなっている(ステップS41
0)。
On the other hand, when the unit controller 190 receives the "normal end" function from the card reader controller CPU2, it waits for a packet from the management device 400 or a function from the card reader controller CPU2 (steps S651, S62).
0). During this time, the pachinko machine controller CPU1 is waiting for the input of the detection signal of the sensor (step S41).
0).

【0390】次に、図61の遊技中において持玉数およ
び金額がともに「0」となる帰零状態が生じた場合の手
順を図64を用いて説明する。
Next, a procedure in the case where a zero-reset state in which the number of balls held and the amount of money are both "0" occurs during the game shown in FIG. 61 will be described with reference to FIG.

【0391】ステップS626〜S631の玉数金額演
算の結果、玉数と金額が「0」になったか否か判定し、
「0」ならば打球発射装置103の駆動制御を停止させ
てから10秒のサーチタイマをオンさせる(ステップS
652〜S654)。そして、遊技盤内に存在する浮遊
玉の数(発射球数−回収球数)が「0」になったかチェ
ックし、さらにサーチタイマが10秒経過したか否か判
定して(ステップS655,S656)、浮遊玉数が
「0」になるかまたはサーチタイマが10秒経過したな
らば管理装置400へ“帰零”パケットを送信する(ス
テップS658)。また、打球発射装置103停止後1
0秒以内で浮遊球数が存在しているときはセーフ球やフ
ァール球、アウト球があるか調べ、あったときはステッ
プS626〜S631へ戻って玉数を演算し直す(ステ
ップS657)。
It is determined whether or not the number of balls and the amount of money have become "0" as a result of the calculation of the number of balls of steps S626 to S631.
If “0”, the drive control of the hitting ball launching device 103 is stopped, and then the search timer for 10 seconds is turned on (step S
652-S654). Then, it is checked whether or not the number of floating balls (the number of launched balls−the number of collected balls) existing in the game board has become “0”, and it is further determined whether or not the search timer has passed 10 seconds (steps S655 and S656). If the number of floating balls becomes “0” or the search timer has passed 10 seconds, a “return-to-zero” packet is transmitted to the management device 400 (step S658). In addition, after the hitting ball firing device 103 stops, 1
If the number of floating balls exists within 0 seconds, it is checked whether there is a safe ball, a foul ball, or an out ball. If there is, the process returns to steps S626 to S631 to calculate the number of balls again (step S657).

【0392】そして、管理装置400からの“ACK”
パケットを受信すると、稼動情報を「フリー」に変更し
てから、ランプ123,163を客待ち表示に変更し
「帰零」ファンクションをカードリーダコントローラC
PU2へ送信する(ステップS659〜S662)。
Then, "ACK" from the management device 400
When the packet is received, the operation information is changed to “free”, then the lamps 123 and 163 are changed to the customer waiting display, and the “return to zero” function is set to the card reader controller C.
The data is transmitted to PU2 (steps S659 to S662).

【0393】カードリーダコントローラCPU2がこの
ファンクションを受信すると、カードCDの帰零穴穿孔
位置にパンチ穴を開けてからシャッタを開き、カードC
Dを排出する(ステップS543〜S546)。それか
ら、「正常終了」ファンクションをユニットコントロー
ラ190へ送り、カード挿入またはファンクション受信
待ちとなる(ステップS547,S520)。
When the card reader controller CPU2 receives this function, it punches a hole in the zero return hole punching position of the card CD and then opens the shutter to open the card C.
D is discharged (steps S543 to S546). Then, the "normal end" function is sent to the unit controller 190, and the card is inserted or the function reception is waited (steps S547, S520).

【0394】一方、ユニットコントローラ190は、
「正常終了」ファンクションを受信すると、パケットま
たはファンクション待ち状態になる(ステップS66
3,S620)。
On the other hand, the unit controller 190
When the "normal end" function is received, a packet or function wait state is set (step S66).
3, S620).

【0395】図65には、図61の遊技中において打止
状態が発生した場合の処理手順が示されている。
FIG. 65 shows a processing procedure when a hit state occurs during the game shown in FIG.

【0396】ステップS626〜S631の玉数、金額
演算後、打止演算を行い、演算値が打止め数に達したか
否か判定する(ステップS664,S665)。そし
て、打止数に達したときは、打球発射装置103の駆動
制御を停止させてから管理装置400へ“打止め”パケ
ットを送信する(ステップS666,S667)。
After calculating the number of balls and the amount of money in steps S626 to S631, a stop calculation is performed to determine whether the calculated value has reached the stop number (steps S664 and S665). When the number of hits has been reached, the drive control of the hit ball launching device 103 is stopped, and then a “hit” packet is transmitted to the management device 400 (steps S666 and S667).

【0397】そして、管理装置400からの“ACK”
パケットを受信すると、稼動情報を「打止」に変更し、
遊技状態表示ランプ123を消灯、アナログ表示器16
3を打止表示(点滅駆動)に変更する(ステップS66
8〜S670)。しかる後、スピーカ166より打止音
を出力させてから、カードリーダコントローラCPU2
に対して「カード受付不可」ファンクションを送信する
(ステップS671,S672)。
Then, "ACK" from the management device 400
When a packet is received, the operation information is changed to "stop",
The game state display lamp 123 is turned off, and the analog display 16
3 is changed to a stop display (blinking drive) (step S66)
8-S670). After that, the tap sound is output from the speaker 166, and then the card reader controller CPU2 is turned off.
Then, a "card cannot be accepted" function is transmitted to the user (steps S671, S672).

【0398】カードリーダコントローラCPU2がこの
ファンクションを受信すると、シャッタを開いてカード
CDを排出した後、シャッタを閉鎖してカードCDの挿
入を禁止する状態にする。それから「正常終了」ファン
クションをユニットコントローラ190へ送信し、ファ
ンクション受信待ちとなる(ステップS551〜S55
6)。すると、ユニットコントローラ190が「正常終
了」ファンクションを受信してパケット待ち状態となる
(ステップS673,S674)。
When the card reader controller CPU2 receives this function, the shutter is opened and the card CD is ejected. Then, the shutter is closed and the insertion of the card CD is prohibited. Then, the "normal end" function is transmitted to the unit controller 190, and the function controller waits for function reception (steps S551 to S55).
6). Then, the unit controller 190 receives the “normal end” function and enters a packet waiting state.
(Steps S673, S674).

【0399】その後、管理装置400から“打止解除”
パケットが送られてくると、ユニットコントローラ19
0は稼動情報を「フリー」に変更し、ランプ123,1
63を客待ち表示に変更してからカードリーダコントロ
ーラCPU2へ「カード受付可」ファンクションを送信
する(ステップS675〜S678)。
After that, "cancel cancellation" is issued from the management device 400.
When a packet is sent, the unit controller 19
0 changes the operation information to “free”, and the lamps 123, 1
63 is changed to the customer waiting display, and then a "card accepted" function is transmitted to the card reader controller CPU2 (steps S675 to S678).

【0400】すると、カードリーダコントローラCPU
2は、シャッタを開いてカード挿入検出を開始し、「正
常終了」ファンクションを送信してから(ステップS5
57〜S560)、ファンクションまたはカード挿入待
ち(ステップS520)となる。一方、ユニットコント
ローラ190は「正常終了」ファンクションを受信して
(ステップS679)、パケットまたはファンクション
受信待ち(ステップS620)となる。
Then, the card reader controller CPU
2. After opening the shutter to start card insertion detection and transmitting a "normal end" function (step S5)
57 to S560), and waits for insertion of a function or a card (step S520). On the other hand, the unit controller 190 receives the “normal end” function (step S679), and waits for reception of a packet or function (step S620).

【0401】この間、パチンコ機コントローラCPU1
は各センサ、スイッチの検出信号の入力待ち状態(ステ
ップS410)になっている。
During this period, the pachinko machine controller CPU1
Are in a state of waiting for input of a detection signal of each sensor and switch (step S410).

【0402】図66には、強制終了の際の処理手順が示
されている。図60、図63、図64、図65のパケッ
トまたはファンクション受信待ち状態(ステップS62
0)で管理装置400から“強制終了”パケットが送ら
れてくると、ユニットコントローラ190は、稼動情報
を「強制終了」に変更し、ランプ123,163を消灯
し、玉数および金額表示器を「0」にクリアした後、
「カード受付不可」ファンクションをカードリーダコン
トローラCPU2へ送信する(ステップS681〜68
4)。
FIG. 66 shows a processing procedure for forced termination. 60, 63, 64, and 65 (step S62).
When the “forced end” packet is sent from the management device 400 at 0), the unit controller 190 changes the operation information to “forced end”, turns off the lamps 123 and 163, and displays the number of balls and the amount display. After clearing to "0",
A "card cannot be accepted" function is transmitted to the card reader controller CPU2 (steps S681 to S68).
4).

【0403】すると、カードリーダコントローラCPU
2は、ファンクション受信後、カードリーダ800内に
カードCDが存在しているか判定し、入っているときは
シャッタを開いてカードCDを排出してから、またカー
ドCDがないときはそのままステップS565へ移行
し、シャッタを閉鎖してから「正常終了」ファンクショ
ンを送信し、ファンクション受信待ちとなる(ステップ
S561〜S567)。
Then, the card reader controller CPU
Step 2 is to determine whether a card CD is present in the card reader 800 after receiving the function. If the card CD is present, the shutter is opened and the card CD is ejected. After shifting, the shutter is closed and the "normal end" function is transmitted, and function reception is waited (steps S561 to S567).

【0404】一方、ユニットコントローラ190はカー
ドリーダコントローラCPU2から「正常終了」ファン
クションを受信するとパケット受信待ちとなる(ステッ
プS685,S686)。
On the other hand, when the unit controller 190 receives the "normal end" function from the card reader controller CPU2, it waits for packet reception (steps S685, S686).

【0405】その後、管理装置400から“強制終了解
除”パケットが送られてくると、ユニットコントローラ
190は稼動情報を「フリー」に変更し、ランプ12
3,163を客待ち表示に変更してからカードリーダコ
ントローラCPU2へ「カード受付可」ファンクション
を送信する(ステップS687〜S690)。
After that, when a "forced termination cancellation" packet is sent from the management device 400, the unit controller 190 changes the operation information to "free" and the lamp 12
3, 163 is changed to the wait-for-customer display, and then a "card accepted" function is transmitted to the card reader controller CPU2 (steps S687 to S690).

【0406】すると、カードリーダコントローラCPU
2は、シャッタを開いてカード挿入検出を開始し、「正
常終了」ファンクションを送信してから(ステップS5
68〜S571)、ファンクションまたはカード挿入待
ち(ステップS520)となる。一方、ユニットコント
ローラ190は「正常終了」ファンクションを受信して
(ステップS691)、パケットまたはファンクション
受信待ち(ステップS620)となる。この間、パチン
コ機コントローラCPU1は各センサ、スイッチの検出
信号の入力待ち状態(ステップS410)になってい
る。
Then, the card reader controller CPU
2. After opening the shutter to start card insertion detection and transmitting a "normal end" function (step S5)
68 to S571), and waits for insertion of a function or a card (step S520). On the other hand, the unit controller 190 receives the “normal end” function (step S691), and waits for reception of a packet or function (step S620). During this time, the pachinko machine controller CPU1 is in a state of waiting for input of a detection signal of each sensor and switch (step S410).

【0407】図67には、停電発生後のユニット復旧処
理の手順が示されている。
[0407] Fig. 67 shows the procedure of unit recovery processing after a power failure.

【0408】停電状態が回復すると、各コントローラC
PU1,CPU2,190はそれぞれ内部レジスタ等の
初期化を行い(ステップS421,S581,S70
1)、次にユニットコントローラ190は台番号設定器
171から台番号を読み出して通し番号、チャネル番号
を算出してユニットメモリ550に記憶し、“回線テス
ト”パケットの受信を待つ(ステップS702,S70
3)。
[0408] When the power failure state is restored, each controller C
The PU1, CPU2, and 190 respectively initialize internal registers and the like (steps S421, S581, and S70).
1) Then, the unit controller 190 reads the unit number from the unit number setting unit 171 to calculate the serial number and the channel number, store them in the unit memory 550, and waits for the reception of the "line test" packet (steps S702 and S70).
3).

【0409】一方、パチンコ機コントローラCPU1は
初期化後、センサやスイッチの検出信号入力待ち(ステ
ップS410)となり、カードリーダコントローラCP
U2は図60のパワーオンリセット時のステップS50
2〜S506と同様にして、コール信号ENQ送信後、
ユニットコントローラ190からの信号ACKとENQ
の受信の有無を判定し、ENQを受信するとACKを返
してからファンクション受信待ちとなる(ステップS5
82〜S586)。
On the other hand, the pachinko machine controller CPU1 waits for the detection signal input of the sensor or switch after initialization (step S410), and the card reader controller CP
U2 is the step S50 at the time of power-on reset in FIG.
2 to S506, after transmitting the call signal ENQ,
ACK and ENQ from unit controller 190
Is determined, and upon receiving ENQ, it returns ACK and then waits for function reception (step S5).
82-S586).

【0410】ユニットコントローラ190はステップS
703で“回線テスト”パケットを受信すると、続いて
管理装置400から送られて来る“ユニット復旧デー
タ”パケットを受信してユニットメモリ550内のデー
タを停電発生前の状態に戻すとともに“ACK”パケッ
トを返す(ステップS704,S705)。それから、
停電前の状態にかかわらず発射駆動制御をオフにした
後、前の稼動状態が遊技中であったなら稼動情報を「フ
リー」にする(ステップS706,S707)。次に、
管理装置400から“リスタート”パケットが送られて
くるので、それを受信したならばカードリーダコントロ
ーラCPU2との間の送受信制御を開始し、先ずコール
信号ENQを送信する(ステップS708〜S71
0)。そして、それに対する応答信号ACKを受信した
ならば「初期値設定」ファンクションをカードリーダコ
ントローラCPU2へ送る(ステップS711,S71
2)。
The unit controller 190 proceeds to step S
When the "line test" packet is received at 703, the "unit recovery data" packet sent from the management device 400 is subsequently received, the data in the unit memory 550 is returned to the state before the power failure occurred, and the "ACK" packet is received. Is returned (steps S704 and S705). then,
After the firing drive control is turned off irrespective of the state before the power failure, if the previous operating state is a game, the operation information is set to "free" (steps S706 and S707). next,
Since a "restart" packet is sent from the management device 400, if it is received, transmission / reception control with the card reader controller CPU2 is started, and a call signal ENQ is transmitted first (steps S708 to S71).
0). When a response signal ACK is received, an "initial value setting" function is sent to the card reader controller CPU2 (steps S711 and S71).
2).

【0411】カードリーダコントローラCPU2は、
「初期値設定」ファンクションを受けると、年月日と識
別コードを記憶してから「正常終了」ファンクションを
返す。これを受信したユニットコントローラ190は、
稼動情報に応じてランプ123,163の表示を行う
(ステップS713,S714)。つまり元の稼動状態
が「遊技中」を除き、元の表示状態に復帰する。続いて
ユニットコントローラ190は稼動情報に応じたファン
クションを送信する(ステップS715)。すなわち、
「フリー」ならカードの「リロード」ファンクション
を、また「中断中」なら「カード受付可」ファンクショ
ンを、そして、それ以外のときは「カード受付不可」フ
ァンクションを送信する。
Card reader controller CPU2
Upon receiving the "initial value setting" function, the date and the identification code are stored, and then the "normal end" function is returned. Upon receiving this, the unit controller 190
The lamps 123 and 163 are displayed according to the operation information (steps S713 and S714). That is, the original operating state returns to the original display state except for “in game”. Subsequently, the unit controller 190 transmits a function corresponding to the operation information (step S715). That is,
If it is "free", it sends the "reload" function of the card, if it is "suspended", it sends the "card accepted" function, otherwise it sends the "card not accepted" function.

【0412】すると、カードリーダコントローラCPU
2は、送られてきたファンクションに対応した処理を実
行してから、カードリーダ800内にカードが存在して
いたか判定し、カードがなかったときは「ステータス」
ファンクションを送信する(ステップS590〜S59
2)。また、カードリーダ800内にカードCDが存在
したときには前記ステップS522〜525に相当する
カードの真偽判定を行なってからカード番号をファンク
ションに入れて送信した後、ステップS520に相当す
るファンクション受信またはカード挿入待ち状態にな
る。
Then, the card reader controller CPU
2 executes a process corresponding to the transmitted function, and then determines whether a card is present in the card reader 800. If no card is present, the "status"
Transmit the function (steps S590 to S59)
2). When the card CD is present in the card reader 800, the authenticity of the card corresponding to steps S522 to 525 is determined, the card number is inserted into the function and transmitted, and then the function reception or the card corresponding to step S520 is performed. Waits for insertion.

【0413】一方、ユニットコントローラ190は、カ
ードリーダ800から「ステータス」ファンクションを
受信するとステップS620に相当するパケットまたは
ファンクション待ちとなり、カード番号の入ったファン
クションを受信すると、ステップS622に相当する
“カードイン”パケットを管理装置400に送信した
後、図61のステップS623〜S631の手順に従っ
て遊技処理を開始する。
On the other hand, when the unit controller 190 receives the "status" function from the card reader 800, it waits for the packet or function corresponding to step S620, and when it receives the function including the card number, the "card-in" corresponding to step S622. After transmitting the packet to the management device 400, the game process is started according to the procedure of steps S623 to S631 of FIG.

【0414】このように、停電発生前の稼動状態が「遊
技中」のときは、カードCDを再読取りしてチェックし
た後に遊技が再開されるようにしてるので、停電復旧時
の誤ったデータ(特にカード番号)の送信による混乱を
回避し信頼性を高めることができるとともに、停電中に
おけるカードCDの抜取り等の不正行為を排除すること
ができる。
In this way, when the operating state before the power outage is "playing", the game is restarted after re-reading the card CD and checking it. In particular, it is possible to avoid confusion due to transmission of (card number) and improve reliability, and it is possible to eliminate fraudulent acts such as removal of a card CD during a power failure.

【0415】次に、ユニットコントローラ190におけ
る具体的な制御手順について、図68〜図110を用い
て説明する。
Next, a concrete control procedure in the unit controller 190 will be described with reference to FIGS. 68 to 110.

【0416】ユニットコントローラ190における処理
には、パワーオンまたはリセット後の初期化タスクと、
それに続く10種類のメインタスクと、タイマから1ミ
リ秒ごと入ってくる割込み信号に基づくタイマ割込み処
理と、カードリーダコントローラCPU2との間のファ
ンクションの送受信の際に発生するシリアル割込み処理
とがある。
The processing in the unit controller 190 includes the initialization task after power-on or reset,
There are ten types of main tasks that follow, a timer interrupt process based on an interrupt signal input from the timer every 1 millisecond, and a serial interrupt process that occurs when a function is transmitted to and received from the card reader controller CPU2.

【0417】このうち、10種類のメインタスクに関し
てはリアルタイム処理で繰り返し実行するようになって
いる。ここで、10種類のメインタスクとは、パケット
受信タスクとカードリーダ制御タスク、パケット送信タ
クス、エラー制御タスク、玉数演算タスク、スイッチ検
出タスク、音出力タスク、タイマ制御タスク、ランプ駆
動タスク、ポート出力制御タスクの10種類である。
Of these, 10 types of main tasks are repeatedly executed in real time. Here, the ten types of main tasks are a packet reception task and a card reader control task, a packet transmission task, an error control task, a ball count calculation task, a switch detection task, a sound output task, a timer control task, a lamp drive task, and a port. There are ten types of output control tasks.

【0418】図68には、タイマ割込み処理、図69に
は、シリアル割込み処理の手順が示されている。
FIG. 68 shows the procedure of timer interrupt processing, and FIG. 69 shows the procedure of serial interrupt processing.

【0419】図68のタイマ割込み処理では、先ずユニ
ットメモリ550内のホットコード(A55A)をチェ
ック(手続きP1)して、異常があったときはリセット
をかけ、正常であれば当該タイマ割込み用のタイマをリ
セットする(手続きP2)。次に、ユニットコントロー
ラ190の内部RAMに用意されているタイマを更新し
てから、データ伝送コントローラにより送信の度に「F
FH」がセットされ20mSごとに−1されるユニット
メモリ550内のウォッチドッグカウンタをチェックす
る(手続きP3,P4)。ここで、ウォッチドッグカウ
ンタが「0」になっていればデータ伝送コントローラ5
51がダウンしたと判定してセグメント型表示器駆動用
のコモン信号を固定しリセット回路555によるリセッ
トがかかるようにする。
In the timer interrupt processing of FIG. 68, first, the hot code (A55A) in the unit memory 550 is checked (procedure P1), and if there is an abnormality, reset is made. Reset the timer (procedure P2). Next, after updating the timer prepared in the internal RAM of the unit controller 190, every time transmission is performed by the data transmission controller, "F
"FH" is set and the watchdog counter in the unit memory 550 that is decremented by 1 every 20 mS is checked (procedures P3 and P4). Here, if the watchdog counter is “0”, the data transmission controller 5
When it is determined that 51 is down, the common signal for driving the segment type display is fixed and reset by the reset circuit 555 is applied.

【0420】ウォッチドッグカウンタが正常であれば、
次のセンサおよびスイッチの検出処理(図70参照)を
実行してからスイッチ検出信号無効処理(図71参照)
を実行する(手続きP5,P6)。
If the watchdog counter is normal,
After performing the next sensor and switch detection processing (see FIG. 70), the switch detection signal invalidation processing (see FIG. 71)
(Procedures P5 and P6).

【0421】しかる後、金額、玉数データをユニットメ
モリ550から読み出してコード変換し、それに基づい
て金額表示器111と玉数表示器112のセグメントデ
ータ、コモンデータを形成して出力し、金額および玉数
をダイナミック表示させる(手続きP7,P8)。
Thereafter, the amount of money and the number of balls data are read from the unit memory 550 and the code is converted, and based on this, segment data and common data of the amount of money display 111 and the number of balls display 112 are formed and output. Dynamically display the number of balls (procedures P7 and P8).

【0422】一方、図69のシリアル割込み処理では、
ユニットコントローラ190の内部の送信バッファまた
は受信バッファから割込みが入ってくると、先ず受信割
込みか否か判定し、受信割込みであれば1バイトの受信
データを内部RAMへ移す(手続きP11,P12)。
また、シリアル割込みが送信バッファからの割込みであ
った場合には、1バイトの送信データを送信バッファを
シフトさせることでシリアルデータに変換して出力する
1バイト送信処理を実行する(手続きP13,P1
4)。なお、上記シリアル割込みは、受信バッファまた
は送信バッファに送受信データが入ると自動的にCPU
に対して割込み信号が入力されるようになっている。
On the other hand, in the serial interrupt processing of FIG.
When an interrupt is received from the transmission buffer or the reception buffer inside the unit controller 190, it is first determined whether or not the reception is an interruption. If the interruption is a reception interruption, one byte of received data is transferred to the internal RAM (procedures P11 and P12).
Further, when the serial interrupt is an interrupt from the transmission buffer, a one-byte transmission process of converting the one-byte transmission data into serial data by shifting the transmission buffer and outputting the serial data is executed (procedures P13 and P1).
4). Note that the serial interrupt is automatically executed by the CPU when transmission / reception data enters the reception buffer or transmission buffer.
, An interrupt signal is input.

【0423】タイマ割込み処理(図68)中におけるセ
ンサおよびスイッチ検出処理は図70に示すような手順
に従って行われる。
The sensor and switch detection processing in the timer interrupt processing (FIG. 68) is performed according to the procedure shown in FIG.

【0424】すなわち、先ず購入スイッチ113、中断
スイッチ114、精算スイッチ115、テストスイッチ
179および呼出しスイッチ165aのオン・オフ状態
を読み込んで前回の状態と比較する(手続きP51,P
52)。状態の比較は例えばイクスクルーシブORのよ
うな論理演算を行うことで状態が変化したか容易に知る
ことができる。ここで、新たにオン状態になったスイッ
チがあれば、そのスイッチのオン状態を内部RAMにセ
ーブする(手続きP53)。
That is, first, the on / off states of the purchase switch 113, the interruption switch 114, the settlement switch 115, the test switch 179 and the call switch 165a are read and compared with the previous state (procedures P51, P.
52). In the comparison of the states, it is possible to easily know whether the state has changed by performing a logical operation such as an exclusive OR. Here, if there is a switch that is newly turned on, the on state of the switch is saved in the internal RAM (procedure P53).

【0425】次に、センサ検出中になっているか(手続
きP54)、すなわち「遊技中」か否か判定し、センサ
検出中であれば発射センサSNS5、セーフセンサSN
S2,SNS3、ファールセンサSNS4、アウトセン
サSNS1の状態を読み込んで前回の状態と比較する
(手続きP55,P56)。そして、新たにオン状態に
なったセンサがあれば、そのセンサのオン状態を内部R
AMにセーブする(手続きP57)。
Next, it is determined whether or not the sensor is being detected (procedure P54), that is, whether or not the game is being performed. If the sensor is being detected, the firing sensor SNS5 and the safe sensor SN are detected.
The states of S2, SNS3, foul sensor SNS4, and out sensor SNS1 are read and compared with the previous states (procedures P55 and P56). If there is a sensor that is newly turned on, the on state of the sensor is set to the internal R
Save to AM (procedure P57).

【0426】しかる後、打球発射装置103の駆動制御
が行われているか否か判定し、制御中なら手続きP60
へジャンプし、制御していない状態ならば手続きP57
でRAMにセーブした発射センサのオン状態を無効にす
る(手続きP58,P59)。それから、RAMにセー
ブしたデータを見て発射センサがオンしているならば、
RAMに設けられた浮遊玉数を計数するカウンタを加算
する(手続きP60,P61)。また、発射センサがオ
フならば浮遊玉数をインクリメントせずにそのまま次の
手続きP62に進み、浮遊玉数が「0」か否か判定す
る。ここで、浮遊玉数が「0」ならRAMにセーブした
第1セーフセンサSNS2のオン状態を無効にし(手続
きP76)、「0」でないときは第1セーフセンサがオ
ン状態か否か調べてオンなら浮遊玉数を減算(手続きP
63,P64)してから、また第1セーフセンサがオフ
ならそのまま手続きP65へ進み、再び浮遊玉数が
「0」か否か判定する。
Thereafter, it is determined whether or not the drive control of the hit ball launching device 103 is being performed, and if it is being controlled, the procedure P60 is performed.
Jump to step P57 if not controlled
Invalidates the ON state of the firing sensor saved in the RAM (procedures P58 and P59). Then, if the firing sensor is turned on after looking at the data saved in RAM,
The counter for counting the number of floating balls provided in the RAM is added (procedures P60 and P61). If the firing sensor is off, the process proceeds to the next procedure P62 without incrementing the number of floating balls and determines whether the number of floating balls is “0”. Here, if the number of floating balls is "0", the ON state of the first safe sensor SNS2 saved in the RAM is invalidated (procedure P76), and if it is not "0", it is checked whether the first safe sensor is ON and ON. Then subtract the number of floating balls (procedure P
63, P64), and if the first safe sensor is off, the process directly proceeds to the procedure P65, and it is determined again whether or not the number of floating balls is “0”.

【0427】そして、浮遊玉数が「0」ならRAMにセ
ーブした第2セーフセンサSNS3のオン状態を無効に
し(手続きP77)、「0」でないときは第2セーフセ
ンサがオン状態か否か調べてオンなら浮遊玉数を減算
(手続きP66,P67)してから、また第2セーフセ
ンサがオフならそのまま手続きP68へ進み、再び浮遊
玉数が「0」か否か判定する。ここで、浮遊玉数が
「0」ならRAMにセーブしたファールセンサSNS4
のオン状態を無効にし(手続きP78)、「0」でない
ときはファールセンサがオン状態か否か調べてオンなら
浮遊玉数を減算(手続きP69,P70)してから、ま
たファールセンサがオフならそのまま手続きP71へ進
み、再び浮遊玉数が「0」か否か判定する。
If the number of floating balls is "0", the on state of the second safe sensor SNS3 saved in the RAM is invalidated (procedure P77), and if it is not "0", it is checked whether or not the second safe sensor is on. If it is on, the number of floating balls is subtracted (procedures P66 and P67), and if the second safe sensor is off, the process directly proceeds to procedure P68, and it is determined again whether the number of floating balls is "0". Here, if the number of floating balls is "0", the foul sensor SNS4 saved in the RAM.
Is invalidated (procedure P78). If it is not "0", it is checked whether or not the foul sensor is on. If it is on, the number of floating balls is subtracted (procedures P69 and P70). Proceeding directly to procedure P71, it is determined again whether the number of floating balls is "0".

【0428】ここで、浮遊玉数が「0」ならRAMにセ
ーブしたアウトセンサSNS1のオン状態を無効にし
(手続きP79)、「0」でないときはアウトセンサが
オン状態か否か調べてオンなら浮遊玉数を減算(手続き
P72,P73)してから、またアウトセンサがオフな
らそのまま手続きP74へ進み、セーフセンサ1または
2のいずれかが有効なら当り音の出力予約とセーフ球表
示ランプの点灯を指示してから、RAM中にセーブされ
たままの有効なオン状態のセンサに関するオン回数カウ
ンタを加算(+1)する(手続きP75)。
If the number of floating balls is "0", the on state of the out sensor SNS1 saved in the RAM is invalidated (procedure P79). If it is not "0", it is checked whether the out sensor is in the on state or not. After subtracting the number of floating balls (procedures P72, P73), and if the out sensor is off, proceed directly to procedure P74, and if either safe sensor 1 or 2 is valid, reserve the output of the hit sound and light the safe ball display lamp. After instructing, the on-number counter for the sensor in the valid on-state which is still saved in the RAM is incremented (+1) (procedure P75).

【0429】しかる後、図71のスイッチ無効処理を実
行する。この処理では、先ず稼動状態が「遊技中」か調
べ、「遊技中」ならRAMにセーブしたテストスイッチ
のオン状態を無効にし(手続きP81,P82)、「遊
技中」以外なら中断スイッチ114と購入スイッチ11
3のオン状態を無効(手続きP83)にしてからカード
状態が「帰零」か否か判定し、「帰零」ならセーブした
購入スイッチ、中断スイッチおよび終了スイッチ115
のオン状態を無効にする(手続きP84,P85)。
Thereafter, the switch invalidation process of FIG. 71 is executed. In this process, first, it is checked whether the operating state is "playing", and if "playing", the ON state of the test switch saved in the RAM is invalidated (procedures P81 and P82). Switch 11
After invalidating the ON state of No. 3 (procedure P83), it is determined whether or not the card state is "return to zero".
Is invalidated (procedures P84 and P85).

【0430】上記のように、本実施例のユニットコント
ローラ190によるパチンコ機100の制御では、浮遊
玉という概念を取り入れ、発射球の数から入賞球やアウ
ト球、ファール球の数を引いた分の玉が浮遊玉として遊
技盤内に存在するものとみなし、浮遊玉数が「0」以下
になるような入賞球等の検出があった場合はそれを無効
とするようにしている。これによって、ノイズ等による
誤検出信号をなくし、玉数の演算精度を向上させること
ができる。
As described above, in the control of the pachinko machine 100 by the unit controller 190 of this embodiment, the concept of floating balls is introduced, and the number of winning balls, out balls and foul balls is subtracted from the number of launch balls. It is considered that the balls are present in the game board as floating balls, and if a winning ball or the like in which the number of floating balls becomes "0" or less is detected, it is invalidated. Thus, an erroneous detection signal due to noise or the like can be eliminated, and the calculation accuracy of the number of balls can be improved.

【0431】次に、ユニットコントローラ190による
初期化タスクおよびリアルタイム処理される10種類の
メインタスクについて説明する。
Next, the initialization task by the unit controller 190 and ten types of main tasks to be processed in real time will be described.

【0432】図72には、そのうち初期化タスクが示さ
れている。
The initialization task is shown in FIG.

【0433】ユニットコントローラ190は、パワーオ
ン時あるいはウォッチドッグパルスの消滅時にリセット
回路555からリセット信号が入ってくると、初期化タ
スクを開始し、先ず内部RAMをクリアして所定の番地
にチェックコードを書き込んでから内部レジスタに初期
値を設定するとともに、I/Oポートを予め定められた
初期状態に設定する(手続きP91〜P93)。それか
ら、RAM内に用意された複数の基準タイマをそれぞれ
セットした後、データ伝送コントローラ551によるユ
ニットメモリ550への書込みによって出力されるイニ
シャライズ信号INTの立上りを待つ(手続きP94,
P95)。
When a reset signal is input from the reset circuit 555 when the power is turned on or the watchdog pulse disappears, the unit controller 190 starts the initialization task, first clears the internal RAM, and checks code at a predetermined address. Is written and the initial value is set in the internal register, and the I / O port is set to a predetermined initial state (procedures P91 to P93). Then, after setting a plurality of reference timers prepared in the RAM, the data transmission controller 551 waits for the rise of the initialization signal INT output by writing to the unit memory 550 (procedure P94, procedure P94).
P95).

【0434】そして、INT信号が立ち上がった時点で
設定スイッチ(台番号設定SW)171によって設定さ
れた識別符号(台番号)を読み込んで、通し番号とチャ
ネル番号を算出し、それらをユニットメモリ550の送
信データエリアSDAに書き込んだ後、管理装置400
から“回線テスト”パケットが送られてくるのを待つ
(手続きP96〜P98)とともに、テストスイッチ1
79をチェックする。そして、“回線テスト”パケット
を受信したなら“ACK”パケットを管理装置400へ
返してからメインタスクへ、また“回線テスト”パケッ
ト受信前にテストスイッチがオンされたなら、テストモ
ードフラグをセットしてからメインタクスへそれぞれ移
行する。
Then, when the INT signal rises, the identification code (unit number) set by the setting switch (unit number setting SW) 171 is read, the serial number and the channel number are calculated, and these are transmitted to the unit memory 550. After writing in the data area SDA, the management device 400
(Steps P96 to P98) and waits for the transmission of a "line test" packet from
Check 79. If a "line test" packet is received, an "ACK" packet is returned to the management device 400 and then to the main task. If the test switch is turned on before the "line test" packet is received, a test mode flag is set. Then move to the main tax.

【0435】図73には、ユニットコントローラ190
の10種類のメインタスクのうち、「パケット受信タス
ク」の処理手順が示されている。
FIG. 73 shows the unit controller 190.
The processing procedure of the "packet receiving task" among the ten types of main tasks is shown.

【0436】このタスクにおいては、先ずユニットメモ
リ550を調べて管理装置400からパケットが送られ
てきているか判定し、受信パケットがないときは“AC
K”パケットの返送を待っている状態か調べる(手続き
P101,P102)。そして、ノー(否)ならば手続
きP101へ戻って上記手順を繰り返し、手続きP10
2で“ACK”パケット待ちになると、手続きP103
へ移行し、図98のパケット送信タスク中の手続きP1
57でセットされるACK待ちのタイマを読み込む。そ
して、次にそのタイマがタイムオーバーを生じたか否か
チェックし、タイムオーバーを起こすと内部RAM内の
ACK受信エラーフラグをセットする(手続きP10
4,P105)。このフラグは後述のエラー制御タスク
(図99)で参照される。
In this task, first, the unit memory 550 is checked to determine whether a packet is sent from the management apparatus 400. If there is no received packet, "AC" is sent.
A check is made to see if a K "packet is waiting to be returned (procedures P101 and P102). If no (No), the procedure returns to procedure P101 to repeat the above procedure, and returns to procedure P10.
When an "ACK" packet is waited for in step 2, procedure P103
Then, the procedure P1 in the packet transmission task in FIG. 98 is performed.
The ACK waiting timer set at 57 is read. Next, it is checked whether or not the timer has timed out. If the timer has timed out, an ACK reception error flag in the internal RAM is set (procedure P10).
4, P105). This flag is referred to in an error control task (FIG. 99) described later.

【0437】一方、上記手続きP101で受信パケット
有りと判定すると、その受信パケットのタイプ名をユニ
ットメモリ550から内部RAMに読み込んで、それが
“NAK”パケットか否か先ず判定する(手続きP10
6,P107)。そして、“NAK”であればRAMに
用意されたNAKフラグをセット(手続きP108)し
てからまた“NAK”でなければそのまま手続きP10
9へ進んで、受信したパケットが登録されているものか
判定する。そして、未登録パケットならば手続きP11
0でユニットメモリ550のコマンドレジスタCR2内
のパケットタイプ名を「0」にクリアして手続きP10
1へ戻る。コマンドレジスタCR2のクリアによりパケ
ットの受信がなかったものとされる。
On the other hand, if it is determined in the above procedure P101 that there is a received packet, the type name of the received packet is read from the unit memory 550 into the internal RAM, and it is first determined whether or not it is a "NAK" packet (procedure P10).
6, P107). If it is "NAK", the NAK flag prepared in the RAM is set (procedure P108).
Proceeding to 9, it is determined whether the received packet is registered. If it is an unregistered packet, procedure P11
0 clears the packet type name in the command register CR2 of the unit memory 550 to “0” and returns to the procedure P10
Return to 1. It is determined that no packet has been received by clearing the command register CR2.

【0438】手続きP109で受信パケットが登録され
たものであることが判ると、手続きP111〜P125
でいずれのパケットであるか判定し、判明したパケット
の種類に応じた処理(図74〜図87)を実行する。
If it is determined in step P109 that the received packet is registered, steps P111 to P125 are executed.
To determine which packet it is, and execute a process (FIGS. 74 to 87) according to the type of the found packet.

【0439】図74は、上記パケット受信タスク内の
“初期値設定”パケット受信処理の手順を示す。
FIG. 74 shows the procedure of the "initial value setting" packet reception process in the packet reception task.

【0440】ユニットコントローラ190は、“初期値
設定”パケットを受信するとユニットメモリ550の受
信データエリアRDA内の対応する欄に、また同様にホ
ットコードも伝送データエリアにそれぞれコピーする
(手続きP301,P302)。送信したパケットのヘ
ッド部を受信データエリアRDAと送信データエリアS
DAに書き込むことによりユニットコントローラ190
による送信データエリアSDAのパケットヘッドの作成
を簡略化できる。
Upon reception of the "initial value setting" packet, the unit controller 190 copies the hot code to the corresponding column in the reception data area RDA of the unit memory 550, and similarly to the transmission data area (procedures P301 and P302). ). The head of the transmitted packet is divided into the reception data area RDA and the transmission data area S.
By writing to DA, the unit controller 190
, The creation of a packet head for the transmission data area SDA can be simplified.

【0441】次に、モニタ情報1内の「初期値未設定」
ビットをチェックして初期値受信済か判定し(手続きP
303)受信済なら直ちに手続きP306へ、また受信
していないときには手続きP304,P305で稼動情
報を「強制終了」に変更し、カードリーダ800への送
信を禁止する状態にしてから、それぞれ手続きP306
へ移行してカードリーダ800との通信制御(受信)を
可能な状態にする。“初期値設定”パケットは開店後に
管理装置400のコンソールで賞品球や打止数を変更し
た場合にも送信される場合があり、その場合には稼動情
報を変えるのは好ましくないからである。それから、内
部RAMのフラグを見てテストモード中か否かチェック
して(手続きP307)、テストモードならそのまま、
手続きP310へ移行し、また通常動作モードなら手続
きP308でカードリーダ800へ初期値を送信済か否
かフラグでチェックして送信済なら初期値送信済フラグ
をクリア(手続きP309)してから、手続きP310
へそれぞれ移行してカードリーダ800への送信を許可
する。そして、次に「初期値設定」ファンクションを内
部RAMの所定のエリア(送信バッファエリア)に書き
込むことにより送信予約を行ってから、フラグを見て再
び初期値受信済か判定する(手続きP311,P31
2)。
Next, "initial value not set" in monitor information 1
Check the bit to determine whether the initial value has been received (procedure P
303) If it has been received, immediately proceed to procedure P306. If it has not been received, change the operation information to "forced termination" in procedures P304 and P305 to prohibit transmission to the card reader 800.
Then, the communication control (reception) with the card reader 800 is enabled. The “initial value setting” packet may be transmitted even when the prize ball or the number of hits is changed on the console of the management device 400 after the store is opened, and in that case, it is not preferable to change the operation information. Then, by checking the flag of the internal RAM, it is checked whether or not the test mode is set (procedure P307).
The process shifts to procedure P310. In the normal operation mode, it is checked in step P308 whether or not the initial value has been transmitted to the card reader 800 by a flag. If the initial value has been transmitted, the initial value transmitted flag is cleared (procedure P309). P310
And the transmission to the card reader 800 is permitted. Then, after the transmission reservation is made by writing the "initial value setting" function in a predetermined area (transmission buffer area) of the internal RAM, it is determined whether the initial value has been received again by checking the flag (procedures P311, P31).
2).

【0442】なお、手続きP308でカードリーダ80
0への「初期値設定」ファンクションがまだ未送信なら
手続きP312へジャンプしているのは、最初の初期値
送信の際にはカードリーダ800からの「初期値要求」
ファンクションを受信してから初期値を送信するように
するためである。手続きP312において、初期値パケ
ットを受信していないと判定したときは、手続きP31
3へ進みモニタ情報1の「初期値設定」ビットをクリア
し、初期値受信済と判定した場合には手続きP312か
らP314へ移行して「初期値設定」ファンクションの
送信予約を行ってから元の処理ルーチン(図73)へ戻
る。
It should be noted that in the procedure P308, the card reader 80
If the “initial value setting” function to 0 has not been transmitted yet, the procedure jumps to the procedure P312 because the “initial value request” from the card reader 800 at the time of the initial initial value transmission.
This is because the initial value is transmitted after receiving the function. When it is determined in the procedure P312 that the initial value packet has not been received, the procedure P31
The process proceeds to step 3 where the "initial value setting" bit of the monitor information 1 is cleared, and if it is determined that the initial value has been received, the process proceeds from the procedure P312 to P314 to reserve the transmission of the "initial value setting" function and then return to the original state. The process returns to the processing routine (FIG. 73).

【0443】図75には、パケット受信タスク中の“開
店コード”パケット受信処理の手順を示す。
FIG. 75 shows the procedure of the "opening code" packet reception process in the packet reception task.

【0444】ユニットコントローラ190は“開店コー
ド”パケットを受信すると、先ず稼動情報を「フリー」
に設定した後、フラグを見て、テストモード中か否か判
定する(手続きP321,P322)。そして、テスト
モード中ならそのまま元のルーチンへ戻り、通常動作モ
ード中ならランプ123,163による表示を客待ち状
態に変更してから「カード受付可」ファンクションをR
AMに書き込んで送信予約を行った後、カード挿入ラン
プ168を点滅駆動に変えてから元のルーチンへ戻る
(手続きP323,P324,P325)。
When the unit controller 190 receives the "opening code" packet, it first sets the operation information to "free".
After the setting is made, it is determined whether or not the mode is the test mode by looking at the flag (procedures P321 and P322). If it is in the test mode, the process returns to the original routine. If it is in the normal operation mode, the display by the lamps 123 and 163 is changed to the customer waiting state, and then the "card accepted" function is set to R.
After writing to the AM and making a transmission reservation, the card insertion lamp 168 is changed to blinking drive, and the process returns to the original routine (procedures P323, P324, and P325).

【0445】図76には、パケット受信タスク中の“閉
店コード”パケット受信処理の手順を示す。
FIG. 76 shows the procedure of the "closed code" packet reception process in the packet reception task.

【0446】ユニットコントローラ190は“閉店コー
ド”パケットを受信すると、先ず稼動情報を調べて稼動
情報が「遊技中」か「中断中」のときはそのまま元のル
ーチンへ戻る。
When the unit controller 190 receives the "closed code" packet, it first checks the operating information, and if the operating information is "playing" or "interrupted", it returns to the original routine.

【0447】“閉店コード”パケットは通常“強制終
了”パケットの後に送られてくるので、遊技中や中断中
のパチンコ機があるのに“閉店コード”が送られて来る
はずはないからである。これによって、誤って閉店スイ
ッチをオンしてしまった場合の安全装置として機能す
る。また、稼動情報が「遊技中」または「中断中」でな
ければ「強制終了」に変更した後、フラグを見て、テス
トモード中か否か判定する(手続きP331〜P33
3)。
Since the "closed code" packet is usually sent after the "forced end" packet, the "closed code" cannot be sent even if there is a pachinko machine that is playing or suspended. . Thereby, it functions as a safety device when the store closing switch is turned on by mistake. If the operation information is not “playing” or “interruption”, the operation information is changed to “forced termination”, and the flag is checked to determine whether or not the operation is in the test mode (procedures P331 to P33).
3).

【0448】そして、テストモード中ならそのまま元の
ルーチンへ戻り、通常動作モード中なら全ランプを消灯
してから「カード受付不可」ファンクションをRAMに
書き込んで送信予約を行ってから元のルーチンへ戻る
(手続きP334,P336)。
If it is in the test mode, it returns to the original routine as it is, and if it is in the normal operation mode, all the lamps are turned off, the "card not accepted" function is written in the RAM to make a transmission reservation, and then the original routine is returned. (Procedures P334 and P336).

【0449】なお、手続きP332で稼動情報を「強制
終了」に変更してからテストモードの判定(P333)
を行っているのは、オンラインでのテストモード動作中
の“閉店”パケットを受け付けてテストモード終了後に
速やかにパチンコ機100を強制終了状態へ移行させる
ためである。
[0449] It should be noted that, in the procedure P332, the operation information is changed to "forced termination", and then the test mode is determined (P333).
The reason is that the pachinko machine 100 is shifted to the forced termination state promptly after the test mode ends after receiving the “closed” packet during the online test mode operation.

【0450】図77には、図73のパケット受信タスク
中の“強制終了”パケット受信処理の手順を示す。
FIG. 77 shows the procedure of the "forced termination" packet reception process in the packet reception task of FIG.

【0451】ユニットコントローラ190は“強制終
了”パケットを受信すると先ずユニットメモリ550の
送信データエリアSDA内のカードテキストデータをク
リアしてから稼動情報を「強制終了」に変更する(手続
きP341,P342)。そして、次の手続きP343
で、“テストモード”フラグをチェックしてテストモー
ド中ならばそのまま元のルーチンへ戻り、テストモード
終了後に速やかに強制終了状態へ移行できるようにす
る。一方、通常動作モードならセンサの検出および打球
発射装置103の制御を停止させてから、全ランプを消
灯させ、カードリーダ800に「カード受付不可」ファ
ンクションを送った後、内部RAMの所定の番地に音の
種類を指定するデータを書き込んで強制終了音の出力予
約を行って元のルーチン(図73)へ復帰する(手続き
P344〜P348)。これによって、パチンコ機10
0は遊技中であればカードCDを排出して遊技不能にな
り、その他の場合にはカードCDを受け付けない状態に
なる。
Upon receiving the "forced termination" packet, the unit controller 190 first clears the card text data in the transmission data area SDA of the unit memory 550, and then changes the operation information to "forced termination" (procedures P341 and P342). . Then, the next procedure P343
Then, the "test mode" flag is checked, and if it is in the test mode, the process returns to the original routine as it is, so that it is possible to immediately shift to the forced termination state after the test mode ends. On the other hand, in the normal operation mode, after stopping the detection of the sensor and the control of the hit ball launching device 103, all the lamps are turned off, and a “card cannot be accepted” function is sent to the card reader 800. The data specifying the type of sound is written, the output of the forced end sound is reserved, and the process returns to the original routine (FIG. 73) (procedures P344 to P348). Thereby, the pachinko machine 10
When 0 is being played, the card CD is discharged and the game becomes impossible, and in other cases, the card CD is not accepted.

【0452】図78には“強制終了解除”パケットを受
信した場合の処理手順が示されている。
FIG. 78 shows the processing procedure when a "forced termination cancellation" packet is received.

【0453】ユニットコントローラ190は“強制終了
解除”パケットを受信すると、先ず稼動情報を調べて強
制終了中か否か判定し、強制終了中でなければ何もせず
に元のルーチンへ戻る(手続きP351)。また、強制
終了中であれば稼動情報を「フリー」に変更してから、
フラグをチェックしてテストモード中か否か判定する
(手続きP352,P353)。ここでテストモード中
ならそのまま元のルーチンへ戻ってテストモード終了後
速やかにパチンコ機100をフリー状態に移行できるよ
うにする。
When the unit controller 190 receives the "forced termination cancellation" packet, it first checks the operating information to determine whether or not it is forcibly terminated. If it is not forcibly terminated, it returns to the original routine without doing anything (procedure P351). ). If the operation information is being forcibly terminated, change the operation information to "free",
The flag is checked to determine whether the mode is the test mode (procedures P352 and P353). Here, during the test mode, the routine returns to the original routine, and the pachinko machine 100 can be immediately shifted to the free state after the test mode ends.

【0454】一方、テストモードでないときは、ランプ
の表示を客待ち状態に変更してからカードリーダ800
に対する「カード受付可」ファンクションの送信予約を
行い、カード挿入ランプ168を点滅状態に変更しても
とのルーチン(図73)へ戻る(手続きP354〜P3
56)。
On the other hand, when it is not in the test mode, the lamp display is changed to the customer waiting state, and then the card reader 800
Is made, the card insertion lamp 168 is changed to the blinking state, and the process returns to the original routine (FIG. 73) (procedures P354 to P3).
56).

【0455】図79に“打止解除”パケット受信処理の
手順を示す。
FIG. 79 shows the procedure of the "cancel cancellation" packet reception process.

【0456】この手順は、図78の強制終了解除の手順
とほぼ同様である。異なるのは手続きP362で稼動情
報を「フリー」にした後、ユニットメモリ550内の打
止演算レジスタをクリアしてからテストモードの判定を
行なう点のみである。
This procedure is almost the same as the procedure for canceling forced termination in FIG. The only difference is that after the operation information is set to "free" in the procedure P362, the stop operation register in the unit memory 550 is cleared and then the test mode is judged.

【0457】また、図80に“中断終了”パケット受信
処理の手順を示す。
Further, FIG. 80 shows the procedure of the "interruption end" packet reception process.

【0458】この手順は、図78の強制終了解除の手順
とほぼ同様である。異なるのは手続きP372で稼動情
報を「フリー」にした後、ユニットメモリ550内のカ
ードテキストデータをクリアしてからテストモードの判
定を行なう点と、中断中においてもカードの受付けは可
能になっているため、手続きP355に相当する「カー
ド受付可」ファンクションの送信予約を行なわない点に
ある。
This procedure is almost the same as the procedure for canceling forced termination in FIG. The difference is that after setting the operation information to “free” in the procedure P372, the card text data in the unit memory 550 is cleared and then the test mode is determined, and the card can be accepted even during suspension. Therefore, there is no need to make a transmission reservation for the “card accepted” function corresponding to the procedure P355.

【0459】図81には、図73のパケット受信タスク
中の“ユニット復旧”パケットの受信処理の手順を示
す。
FIG. 81 shows the procedure of the "unit restoration" packet reception process in the packet reception task of FIG.

【0460】このパケットを受信すると、ユニットコン
トローラ190は先ず受信データエリアRDAのパケッ
トヘッドを送信データエリアSDAにコピーした後、モ
ニタ情報1の「初期値設定」ビットをクリアする(手続
きP381,P382)。“ユニット復旧”パケットが
送信されるのは定時データ収集で異常を見つけたときや
停電復旧時であるが、前者の場合には既にユニットコン
トローラ190は初期値を受信し保持しているからであ
り、また停電復旧の際には“初期値設定”パケット送信
後に“ユニット復旧”パケットが送信されるからであ
る。
Upon receiving this packet, the unit controller 190 first copies the packet head of the reception data area RDA to the transmission data area SDA, and then clears the "initial value setting" bit of the monitor information 1 (procedures P381 and P382). . The “unit recovery” packet is transmitted when an abnormality is found in the scheduled data collection or when power failure is recovered, but in the former case, the unit controller 190 has already received and held the initial value. Also, when the power failure is recovered, the “unit recovery” packet is transmitted after the “initial value setting” packet is transmitted.

【0461】モニタ情報1のビットクリア後は打球発射
装置103の制御およびセンサの検出を停止させた後、
異常発見前に生じたパケットやファンクションの送信予
約を取り消してパケット送信やカードリーダ800の制
御に関するフラグをクリアして動作を停止させてから、
管理装置400への“ACK”パケットの送信の予約を
行なう(P383〜P387)。
After clearing the bit of the monitor information 1, after stopping the control of the hitting ball launching device 103 and the detection of the sensor,
After canceling the transmission reservation of the packet or function that occurred before the abnormality was found, clearing the flag relating to the packet transmission and the control of the card reader 800, and stopping the operation,
The transmission of the “ACK” packet to the management device 400 is reserved (P383 to P387).

【0462】次に、復旧された送信データエリアSDA
の稼動情報を調べて元の稼動状態が遊技中でなければそ
のまま元のルーチン(図73)へ、また遊技中なら稼動
情報を「フリー」に変更してから元のルーチンへ戻る。
現実の状態と一致させると共に、その後送られてくる
“リスタート”パケットの処理で稼動情報に応じた処理
を円滑に実行させるためである。
Next, the restored transmission data area SDA
The operation information is checked, and if the original operation state is not playing, the routine returns to the original routine (FIG. 73). If the game is playing, the operation information is changed to "free", and then the routine returns.
This is to make it match the actual state and to smoothly execute the processing according to the operation information in the processing of the “restart” packet transmitted thereafter.

【0463】図82には“リスタート”パケットの受信
処理手順を示す。
FIG. 82 shows the procedure for receiving the "restart" packet.

【0464】ユニットコントローラ190は“リスター
ト"パケットを受信すると、先ずカードリーダとの間の
通信制御を開始させ「初期値設定」ファンクションの送
信予約を行なう(手続きP391,P392)。
When the unit controller 190 receives the "restart" packet, it first starts the communication control with the card reader and reserves the transmission of the "initial value setting" function (procedures P391 and P392).

【0465】次に、稼動情報を調べて「強制終了」なら
ば図77の手続きP341へ移行して、強制終了要求処
理と同一手順に従ってパチンコ機100を“ユニット復
旧”パケットによる動作停止前と同一の状態にさせる
(手続きP393)。
Next, the operation information is checked, and if it is "forced termination", the procedure shifts to procedure P341 in FIG. 77, and the pachinko machine 100 is the same as before the operation was stopped by the "unit recovery" packet according to the same procedure as the forced termination request processing. The state is set to (Procedure P393).

【0466】また、稼動情報が「打止め」なら図87の
後述の手続きP483へ移行してパチンコ機100を打
止めの状態にさせ(手続きP394)、稼動情報が「中
断中」のときはカードリーダ800に対する「カード受
付可」ファンクションの送信予約を行ってから図84の
後述の手続きP427へ移行してパチンコ機100を遊
技中断の状態にさせる(手続きP395,P396)。
If the operation information is "stop", the procedure shifts to the later-described procedure P483 in FIG. 87 to put the pachinko machine 100 in the stop state (procedure P394), and when the operation information is "suspended", the card is issued. After making a transmission reservation of the "card acceptable" function to the reader 800, the procedure moves to the later-described procedure P427 in FIG. 84 to put the pachinko machine 100 in the game suspended state (procedures P395 and P396).

【0467】一方、稼動情報が「強制終了」、「打止
め」または「中断中」以外のとき、すなわち「フリー」
のとき(図81)のユニット復旧処理手続きP389が
あるため稼動情報が「遊技中」のことはない)は、ラン
プ表示を客待ち状態にしてからカードリーダ800に対
し、カード再読みを指令する「リロード」ファンクショ
ンの送信予約を行ない、カード挿入ランプ168を点滅
駆動させて元のルーチン(図73)に戻る(手続きP3
97〜P399)。
On the other hand, when the operation information is other than "forced termination", "stop" or "suspended", that is, "free"
At this time (FIG. 81), the operation information does not indicate "playing" because of the unit recovery processing procedure P389), the lamp display is set to the customer waiting state, and then the card reader 800 is instructed to reread the card. A transmission reservation of the "reload" function is made, the card insertion lamp 168 is driven to blink, and the process returns to the original routine (FIG. 73) (procedure P3).
97-P399).

【0468】図83には、図73のパケット受信タスク
において“カードイン”パケットに対する応答を受信し
た場合の処理手順を示す。
FIG. 83 shows a processing procedure when a response to the “card-in” packet is received in the packet reception task of FIG. 73.

【0469】ユニットコントローラ190は“カードイ
ン”パケットに対する応答があると、コントローラ19
0がACK待ち状態であったかチェック(手続きP40
1)し、ACK待ちでないのにカードテキストの入った
“ACK”パケットがきたときは誤りとみなして受信デ
ータエリアRDAのカードテキストデータをクリアする
(手続きP402)。一方、ACK待ち状態でパケット
が入ってくるとそのパケットがNAK(否定応答)か否
かチェック(手続きP403)し、NAKならば当該カ
ードが存在しないものとしてカードリーダ800に対す
る「カード排出」ファンクションの送信およびカード受
付不成功を表わす音を発生させる音出力が予約を行なっ
て元のルーチンへ戻る(手続きP405,P406)。
また、応答がNAKでないときであっても“ACK”パ
ケット内のカード番号がその前に送信したカード番号と
一致しないときも手続きP404,P405へ移行して
カードCDの受付けを拒否する(手続きP404)。
When the unit controller 190 responds to the "card-in" packet, the controller 19
Check whether 0 is in the ACK waiting state (procedure P40
1) If an "ACK" packet containing a card text arrives without waiting for an ACK, it is regarded as an error and the card text data in the reception data area RDA is cleared (procedure P402). On the other hand, when a packet arrives in the ACK waiting state, it is checked whether the packet is a NAK (negative acknowledgment) (procedure P403). The sound output for generating a sound indicating transmission and card acceptance failure makes a reservation and returns to the original routine (procedures P405 and P406).
Even when the response is not a NAK, if the card number in the "ACK" packet does not match the previously transmitted card number, the process shifts to steps P404 and P405 to reject the acceptance of the card CD (procedure P404). ).

【0470】また、手続きP404でカード番号が一致
すると、“ACK”パケットにより送られてきた受信デ
ータエリアRDA内のカードテキストデータを送信デー
タエリアSDAの対応する位置にコピーするとともに、
カードテキスト内の玉数を稼動データエリア内の「持玉
数」の欄にコピーする(手続きP407,P408)。
When the card numbers match in procedure P404, the card text data in the reception data area RDA sent by the "ACK" packet is copied to the corresponding position in the transmission data area SDA.
The number of balls in the card text is copied to the “number of balls” field in the operation data area (procedures P407 and P408).

【0471】しかる後、カードテキスト内のカード状態
を調べて(手続きP409)、当該カードCDが「打
止」状態にあればカード状態を「フリー」に、また、パ
チンコ機100の稼動情報を「遊技中」にそれぞれ書き
換えてから管理装置400に対する“終了スイッチ”パ
ケットの送信予約を行う(手続きP421〜P42
3)。これによって、“終了スイッチ”パケットが管理
装置400へ送信され、その“ACK”パケットが返っ
てきた時点で後述(図85)の終了スイッチ処理でカー
ドが排出され、打止カードによる遊技が不能にされる。
Thereafter, the card status in the card text is checked (procedure P409), and if the card CD is in the "stop" status, the card status is set to "free" and the operation information of the pachinko machine 100 is set to " After rewriting to "during game", transmission reservation of "end switch" packet to the management device 400 is performed (procedures P421 to P42).
3). As a result, the "end switch" packet is transmitted to the management device 400, and when the "ACK" packet is returned, the card is ejected by the end switch processing described later (FIG. 85), and the game with the hit card is disabled. Is done.

【0472】一方、打止カードでなければ手続きP40
9からP410へ移行して稼動情報を調べ、「フリー」
であれば送信データエリアSDA内の客数の欄を更新し
てから(手続きP411)、また「フリー」でないとき
(中断中のとき)はそのまま手続きP412へ進み、稼
動情報を「遊技中」に変更し、ランプ表示を遊技状態に
変更した後、内部RAM内の浮遊玉数カウンタをクリア
し、センサによる検出を開始させる(手続きP413〜
P415)。次に、カードテキスト内の玉数を調べて
「0」ならそのまま、また「0」でなければ打球発射装
置103の駆動制御を開始させてから手続きP418へ
進み、カードCDの受付成功音の出力予約を行う(手続
きP416〜P418)。
On the other hand, if it is not a non-stop card, procedure P40
Move from P9 to P410 to check the operation information, "Free"
If so, the column of the number of customers in the transmission data area SDA is updated (procedure P411), and if it is not “free” (during suspension), the process directly proceeds to procedure P412, and the operation information is changed to “playing”. Then, after changing the lamp display to the game state, the floating ball number counter in the internal RAM is cleared, and detection by the sensor is started (procedures P413 to P413).
P415). Next, the number of balls in the card text is checked. If the number is "0", the driving control of the hit ball launching device 103 is started if it is not "0", and the procedure goes to the procedure P418 to output the sound of successful reception of the card CD. A reservation is made (procedures P416 to P418).

【0473】なお、“中断カードイン”パケットに対す
る管理装置400からの応答“ACK”パケットを受信
したときも図83に示す“カードイン”に対する応答パ
ケットの処理手順と同一の手順に従って処理される。
When the response "ACK" packet from the management device 400 to the "interrupted card-in" packet is received, the processing is the same as the processing procedure of the response packet to "card-in" shown in FIG.

【0474】図84には、図73のパケット受信タスク
において“中断スイッチ”パケットに対する応答を受信
した場合の処理手順を示す。
FIG. 84 shows a processing procedure when a response to the "interruption switch" packet is received in the packet reception task of FIG.

【0475】ユニットコントローラ190は“中断スイ
ッチ”パケットに対する応答があると、コントローラが
ACK待ち状態であったかチェック(手続きP425)
し、ACK待ちでないのに“ACK”パケットがきたと
きは何もせずに元のルーチンへ戻る。次に、応答パケッ
トがNAKか否かチェックし(手続きP246)、NA
Kでないときは稼動情報を「中断中」に、またランプ表
示を中断表示状態に変更してからセンサによる検出およ
び打球発射装置103の駆動制御を停止させた後、カー
ド排出ファンクションの送信予約およびカード排出音出
力予約を行なう(手続きP427〜P432)。
When the unit controller 190 receives a response to the "interruption switch" packet, the unit controller 190 checks whether the controller was in the ACK waiting state (procedure P425).
If an "ACK" packet arrives without waiting for an ACK, the process returns to the original routine without doing anything. Next, it is checked whether or not the response packet is NAK (procedure P246).
If it is not K, the operation information is changed to "interrupted", the lamp display is changed to the interrupted display state, and then the detection by the sensor and the drive control of the hit ball launching device 103 are stopped. A discharge sound output reservation is made (procedures P427 to P432).

【0476】一方、手続きP426でNAK受信と判定
したときは手続きP433へ移行し、ここで受信データ
中のパチンコ機稼動情報が「遊技中」か否か判定し、遊
技中以外のときは中断スイッチに対する応答そのものが
おかしいので何もせずに元のルーチン(図73)へ戻
り、遊技中であったときはカード状態を「遊技中」に変
更してからセンサによる検出および打球発射制御を開始
させる(手続きP433〜P436)。つまり、中断ス
イッチを押しても管理装置400からNAKが返ってき
て稼動情報が遊技中であればカード状態を遊技中に戻し
てパチンコ機100の中断状態への移行を拒否する。中
断させたいときは再度中断スイッチを押す。
On the other hand, when it is determined that the NAK is received in the procedure P426, the process shifts to the procedure P433, and it is determined here whether the pachinko machine operation information in the received data is "in game". If it is not in the game, the interruption switch Since the response itself to is abnormal, the process returns to the original routine (FIG. 73) without doing anything, and when the game is in progress, the card state is changed to "in game" and then the detection by the sensor and the ball firing control are started ( Procedures P433 to P436). That is, if the NAK is returned from the management device 400 and the operation information indicates that the game is in progress even if the interrupt switch is pressed, the card state is returned to the game and the shift of the pachinko machine 100 to the interrupted state is refused. To interrupt the operation, press the interrupt switch again.

【0477】図85に“終了スイッチ”パケットに対す
る“ACK”パケットを受信したときの処理手順が示さ
れている。
FIG. 85 shows a processing procedure when the "ACK" packet for the "end switch" packet is received.

【0478】この処理は図84における“終了スイッ
チ”の“ACK”受信処理と略同じ流れに沿って実行さ
れる。異なるのは送信データエリアSDA内のカードテ
キストをクリアする(手続きP443)のと、稼動情報
を「中断中」でなく「フリー」に、またランプ表示を客
待ち表示に変更する(手続きP444,P445)点で
ある。この処理においてもNAKを受信したとき稼動情
報が遊技中であればカード状態を遊技中に戻して終了処
理を中止するようになっている(手続きP451〜P4
54)。
This process is executed along the substantially same flow as the "ACK" receiving process of the "end switch" in FIG. The difference is that when the card text in the transmission data area SDA is cleared (procedure P443), the operation information is changed to "free" instead of "pausing", and the lamp display is changed to a customer waiting display (procedures P444 and P445). ) Is a point. Also in this process, if the operation information indicates that the game is being played when the NAK is received, the card state is returned to the game and the end process is stopped (procedures P451 to P4).
54).

【0479】図86には、“帰零”パケットに対する
“ACK”パケットを受信したときの処理手順が示され
ている。
FIG. 86 shows a processing procedure when an "ACK" packet for a "zero return" packet is received.

【0480】この処理は、図85の“終了スイッチ”の
“ACK”受信処理と同じ流れに従って実行される(手
続きP461〜P474)。
This process is executed according to the same flow as the "ACK" reception process of the "end switch" of FIG. 85 (procedures P461 to P474).

【0481】図87に示されている“打止”パケットに
対する“ACK”パケットの受信処理は同図(K)の
“中断スイッチ”の“ACK”受信処理と略同じ流れに
沿って実行される(手続きP481〜P494)。異な
るのは、カード排出ファンクションの他、カード受付不
可ファンクションの送信予約(手続きP488)が入る
点のみである。
The reception process of the "ACK" packet for the "abort" packet shown in FIG. 87 is executed in substantially the same flow as the "ACK" reception process of the "interruption switch" of FIG. (Procedure P481 to P494). The only difference is that in addition to the card ejection function, a transmission reservation (procedure P488) of a card rejection function is entered.

【0482】図88には、ユニットコントローラ190
の10種類のメインタスクのうち、カードリーダ制御タ
スクの処理手順が示されている。
FIG. 88 shows a unit controller 190.
The processing procedure of the card reader control task among the ten types of main tasks is shown.

【0483】このタスクでは、先ず内部RAM内のフラ
グを見てカードリーダ800の制御が可能な状態にある
か否か判定し、ノーならシリアル送信割込みと受信割込
みを禁止する(手続きP131〜P133)。
In this task, first, the flag in the internal RAM is checked to determine whether or not the control of the card reader 800 is possible, and if no, the serial transmission interrupt and the reception interrupt are prohibited (procedures P131 to P133). .

【0484】一方、カードリーダ800の制御が可能な
状態にあるときは、手続きP131からP134へ移行
し、ファンクション送信中か判定する。次に、ファンク
ション受信中か判定し、受信中なら設定時間内に受信が
完了したかチェックする(手続きP135,P14
0)。また、内部RAMの受信バッファエリア内にファ
ンクションがあるか否か調べて受信ファンクションがあ
るときは(手続きP136)、送信し易い形に変形され
た受信データを元の形に直したり、パリティエラーがな
いか、あるいはコードの長さが正しいかチェック(手続
きP141)した後、ファンクションの種類を判定し
(手続きP143〜P150)、それに応じた処理(図
89〜図96)を実行する。
On the other hand, when the card reader 800 is in a controllable state, the procedure shifts from the procedure P131 to P134, and it is determined whether the function is being transmitted. Next, it is determined whether the function is being received. If the function is being received, it is checked whether the reception is completed within the set time (procedures P135 and P14).
0). In addition, it is checked whether or not there is a function in the reception buffer area of the internal RAM, and if there is a reception function (procedure P136), the reception data transformed into a form that is easy to transmit is restored to the original form, or a parity error occurs. After checking whether there is no code or the length of the code is correct (procedure P141), the type of the function is determined (procedures P143 to P150), and the corresponding processing (FIGS. 89 to 96) is executed.

【0485】また、手続きP136で受信ファンクショ
ンなしと判定したときは手続きP137へ移行してカー
ドリーダコントローラCPU2からの応答ファンクショ
ン待ち状態にあるか否か判定し、応答を受信するまでに
要した時間をチェックする(手続きP142)。応答フ
ァンクション待ちでないときはファンクション送信可能
な状態にあるか否か判定し、送信可能なときは送信すべ
きファンクションが有るか否か判定し(手続きP13
9)、送信ファンクションがあるときは、ファンクショ
ン送信処理(図97参照)を実行する。
If it is determined in step P136 that there is no receiving function, the process proceeds to step P137, it is determined whether or not the waiting state for the response function from the card reader controller CPU2, and the time required for receiving the response is determined. Check (procedure P142). If not waiting for a response function, it is determined whether or not the function can be transmitted. If transmission is possible, it is determined whether or not there is a function to be transmitted (procedure P13).
9) If there is a transmission function, function transmission processing (see FIG. 97) is executed.

【0486】図89には、上記カードリーダ制御タスク
中の「テストカード」ファンクションの受信処理の手順
を示す。
FIG. 89 shows the procedure of the reception process of the "test card" function in the card reader control task.

【0487】このファンクションを受信すると先ずフラ
グを見て「テストカード」ファンクション待ち状態か否
か判定する(手続きP501)。このフラグは、スイッ
チ検出タスクでテストスイッチ179がオンされたとき
にセットされる(図106)参照)。ファンクション待
ちであれば、次に稼動情報が「フリー」か調べ、フリー
ならオフライン状態か否かチェックする(手続きP50
2,P503)。ここでオフライン状態ならプログラム
ROMに格納されたオンライン時に管理装置400から
送られるのと同一または異なるテスト遊技用の賞球数を
設定する(手続きP504)。オフライン時には管理装
置400から賞球数が送られて来ないためである。賞球
数設定後はテストカードに固定的に与えられた最初の玉
数(0個)と金額(1000円)を設定する(手続きP
505)。
When this function is received, the flag is first checked to determine whether it is in the "test card" function waiting state (procedure P501). This flag is set when the test switch 179 is turned on in the switch detection task (see FIG. 106). If it is waiting for a function, then it checks whether the operation information is "free", and if it is free, checks whether it is offline (procedure P50).
2, P503). If the state is off-line, the same or different number of prize balls for a test game as is sent from the management device 400 when stored online in the program ROM is set (procedure P504). This is because the number of prize balls is not sent from the management device 400 during offline. After setting the number of prize balls, the first number of balls (0) and the amount (1000 yen) fixedly given to the test card are set (procedure P
505).

【0488】なお、オンライン時には手続きP503か
らP505へジャンプし、手続きP504での賞球数設
定を飛ばして玉数と金額の設定を行なう。その後、浮遊
玉数を計数するカウンタをクリアし、ランプ表示状態を
変えてから、打球発射装置103の制御およびセンサの
検出を開始し、カード受付成功を知らせる音を出力する
ための予約を行ない、テストモード稼動データエリアの
稼動情報を遊技中に変えて元のルーチンへ戻る(手続き
P506〜P511)。
When online, the procedure jumps from procedure P503 to procedure P505, skips the setting of the number of prize balls in procedure P504, and sets the number of balls and the amount of money. After that, the counter for counting the number of floating balls is cleared, the lamp display state is changed, control of the hit ball launching device 103 and detection of the sensor are started, and a reservation for outputting a sound indicating successful card reception is made. The operation information in the test mode operation data area is changed during the game, and the process returns to the original routine (procedures P506 to P511).

【0489】一方、テストカードファンクション待ちで
ないのにテストカードファンクションを受信すると手続
きP501から、手続きP512へ移行し、テストモー
ド稼動データエリア(〔表1〕参照)内の稼動情報が
「中断中」か否か判定する。テストモードでの遊技中に
中断スイッチ114を押して中断中になった場合、テス
トスイッチを押さずテストカードの挿入によって中断が
解除され遊技を再開できるようにするため稼動情報が中
断中ならば賞球数は既に設定されているので、いきなり
手続きP506へ移行してテスト遊技を再開可能にす
る。
On the other hand, if the test card function is received without waiting for the test card function, the procedure shifts from the procedure P501 to the procedure P512 and the operation information in the test mode operation data area (see [Table 1]) is "interrupted". Determine whether or not. If the interruption switch 114 is pressed during the game in the test mode and the operation is interrupted, the interruption is released by inserting the test card without pressing the test switch, and the game can be resumed. Since the number has already been set, the routine immediately shifts to procedure P506 to enable the restart of the test game.

【0490】上記手続きP512における判定で、稼動
情報が中断中でないと判定されると、手続きP513へ
移行してオフラインか否か判定する。ここで、オフライ
ンと判定したときは、上記手続きP504へ移行して賞
球数等を設定しテスト遊技の準備を実行する。これは、
予期しない事態を想定したもので、オフライン時にはテ
ストカードがあればテストモードに入っても特に支障は
ないためである。
If it is determined in the above-mentioned procedure P512 that the operation information is not suspended, the procedure shifts to procedure P513 and it is determined whether or not it is offline. Here, when it is determined that the game is offline, the process shifts to the procedure P504 to set the number of prize balls and the like, and prepares for a test game. this is,
This is because an unexpected situation is assumed, and if there is a test card at the time of off-line, there is no particular problem even if the test mode is entered.

【0491】一方、手続きP513でオンライン時と判
定したときは、「カード排出」ファンクションの送信予
約およびカード受付不成功音の出力予約を行なう(手続
きP514,P515)。つまり、オンライン時にはテ
ストスイッチ179を押さずにテストカードを挿入する
と、テストカードが排出されテスト遊技に入らないよう
になっている。これによって遊技客による不正遊技を防
止することができる。
On the other hand, when it is determined in the procedure P513 that it is online, the transmission reservation of the "card ejection" function and the output reservation of the card reception unsuccessful sound are made (procedures P514 and P515). That is, when the test card is inserted without pressing the test switch 179 at the time of online, the test card is ejected and the test game is not started. As a result, it is possible to prevent an illegal game by a player.

【0492】図90には、図88のカードリーダ制御タ
スク中の「カード番号送信」ファンクション受付時の処
理手順が示されている。
FIG. 90 shows a processing procedure at the time of accepting the “send card number” function in the card reader control task of FIG. 88.

【0493】ここでは、先ずフラグを見て「テストカー
ド」ファンクション受信待ち状態か否か判定し続いてテ
ストモード中か否か判定する(手続きP521,P52
2)。ここで、ファンクション受信待ちまたはテストモ
ード中と判定すると手続きP525へジャンプして「カ
ード排出」ファンクション送信予約を行ってからカード
受付不成功音の出力予約を行う(手続きP526)。つ
まり、テストスイッチのオン直後またはテストモードの
中断中に正規の遊技カードが挿入されてもこれを直ちに
排出することで通常遊技への移行を禁止している。
Here, the flag is first checked to determine whether or not the "test card" function is waiting for reception, and then it is determined whether or not the test mode is in progress (procedures P521 and P52).
2). If it is determined that the reception of the function is waiting or the test mode is set, the process jumps to step P525 to make a “card ejection” function transmission reservation, and then makes a reservation for outputting a card reception failure sound (procedure P526). In other words, even if a regular game card is inserted immediately after the test switch is turned on or during the suspension of the test mode, the normal game card is ejected immediately to prohibit the transition to the normal game.

【0494】一方、「テストカード」ファンクション受
信待ち状態でもテストモードでもない場合には、手続き
P523へ移行して稼動情報が中断中か判定し、中断中
でないときは“カードイン”パケットの送信予約を行い
(手続きP527)、中断中なら手続きP524で読み
取ったカード番号と送信データエリアSDA内のカード
番号とを比較して、一致しないときは手続きP525へ
移行してカード排出の予約を行い、カード番号が一致し
たときは手続きP528へ移行して“中断カードイン”
パケットの送信予約を行う。
[0494] On the other hand, if the "test card" function is not in the reception waiting state or the test mode, the procedure shifts to the procedure P523, where it is judged whether the operation information is suspended. If not, the "card in" packet transmission reservation is made. (Procedure P527), and if it is interrupted, compare the card number read in Procedure P524 with the card number in the transmission data area SDA. If they do not match, proceed to Procedure P525 and make a card ejection reservation. If the numbers match, proceed to Procedure P528 and perform “interruption card in”
Make a packet transmission reservation.

【0495】図91には、図88のカードリーダ制御タ
スク内の「ステータス」ファンクション受信処理の手順
を示す。
FIG. 91 shows the procedure of the “status” function reception process in the card reader control task of FIG. 88.

【0496】このファンクションを受信すると先ず“異
常終了”フラグをクリアしてから受信バッファ内のステ
ータス1と2を内部RAMにセーブする(手続きP53
1,P532)。上記“異常終了”フラグは図99のエ
ラー制御タスクの手続きP170において参照される。
When this function is received, the "abnormal termination" flag is first cleared and then statuses 1 and 2 in the receive buffer are saved in the internal RAM (procedure P53).
1, P532). The "abnormal end" flag is referred to in the error control task procedure P170 in FIG.

【0497】次に、前回の送信で「カード受付可」ファ
ンクションを送信したか否か、またカードCDがカード
リーダ800内に存在するか否かさらに稼動情報が「遊
技中」か否か判定する(手続きP533〜P535)。
ここで、前回の送信が「カード受付可」ファンクション
でありカードリーダ800内のカードCDが存在してい
て遊技中以外のときは正常な状態でないので、「カード
排出」ファンクション送信および排出音出力予約をして
からテストモード終了時がオンラインかオフラインか判
定してまだオフラインであるときは図72の手続きP9
8へ移行して“回線テスト”パケットの受信を待つ(手
続きP536〜P538)。
[0497] Next, it is determined whether or not the "card accept" function has been transmitted in the previous transmission, whether or not the card CD is present in the card reader 800, and whether or not the operation information is "in game". (Procedures P533 to P535).
Here, since the previous transmission is the "card accepted" function and the card CD in the card reader 800 is present and the game is not normal except during the game, the "card ejection" function transmission and ejection sound output reservation After that, it is determined whether the end of the test mode is online or offline, and if it is still offline, the procedure P9 in FIG.
The flow shifts to step 8 to wait for reception of a "line test" packet (procedures P536 to P538).

【0498】一方、前回のカード受付可ファンクション
を送信していないときまたはそれを送信してもカードC
Dがカードリーダ800内にないとき、あるいはカード
受付ファンクションを送信しカードCDがカードリーダ
800内にあっても「遊技中」であるときはカード排出
予約をしないで手続きP538へ移行してテストモード
終了時がオンラインかオフラインか判定し、オフライン
のときは“回線テスト”パケット待ちへジャンプする。
On the other hand, when the previous card-acceptable function is not transmitted or even when it is transmitted, the card C
When D is not in the card reader 800, or when the card reception function is transmitted and the card CD is in the game even though the card CD is in the card reader 800, the process goes to the procedure P538 without making a card ejection reservation and the test mode is started. It is determined whether the termination is online or offline. If it is offline, the process jumps to a "line test" packet wait.

【0499】図92には、「再送要求」ファンクション
を受信したときの処理手順を示す。
FIG. 92 shows a processing procedure when the "retransmission request" function is received.

【0500】この場合、先ず前回の送信で再送要求を行
ったか否か判定し(手続きP541)、イエスなら再送
要求に対して再送要求が返ってくるのはおかしいので、
リーダーエラーフラグをセットする(手続きP54
3)。再送要求に対し再送要求が返ってくると以後ずっ
とこれを繰り返し、他のファンクション送信が行えなく
なるからである。一方、手続きP541でノーなら既に
送信したファンクションの再送信予約(手続きP54
2)を再び行ってから元のルーチンへ戻る。なお、上記
リーダーエラーフラグは図99のエラー制御タスク中の
手続きP163で参照される。
In this case, first, it is judged whether or not a resend request was made in the previous transmission (procedure P541), and if yes, it is strange that a resend request is returned in response to the resend request.
Set the reader error flag (procedure P54)
3). This is because, when a retransmission request is returned in response to a retransmission request, this is repeated thereafter, and other function transmissions cannot be performed. On the other hand, if no in procedure P541, a retransmission reservation for the function already transmitted (procedure P54
Perform 2) again, and then return to the original routine. The reader error flag is referred to in the procedure P163 in the error control task in FIG.

【0501】図93には、ユニットコントローラ190
が「正常終了」ファンクションを、また図94には「異
常終了」ファンクションを受信した場合の処理手順が示
されている。
FIG. 93 shows the unit controller 190.
94 shows the processing procedure when the "normal end" function is received, and FIG. 94 shows the processing procedure when the "abnormal end" function is received.

【0502】「正常終了」ファンクションを受信する
と、エラーフラグをクリア(手続きP545)してから
図91の手続きP531へ移行して、以後「ステータ
ス」ファンクション受信のときと同じ手順に従って処理
する。一方、「異常終了」ファンクションを受信する
と、同時に送られて来たステータス1を調べてカードリ
ーダ800への初期値が未設定のときはそのまま図91
の手続きP532へジャンプし、また初期値未設定でな
ければ“異常終了”フラグをセットしてから手続きP5
32へジャンプしてステータス受信処理と同様の処理を
実行する(手続きP546,P547)。なお、上記
“異常終了”フラグは図99のエラー制御タスク中にお
いて参照され、以後のカード受付けが不能になる。
When the "normal end" function is received, the error flag is cleared (procedure P545) and then the procedure goes to procedure P531 in FIG. 91, whereafter the processing is carried out according to the same procedure as when the "status" function is received. On the other hand, when the "abnormal termination" function is received, the status 1 transmitted at the same time is checked, and if the initial value to the card reader 800 is not set, the status 1 shown in FIG.
If the initial value is not set, the "abnormal end" flag is set, and then the procedure P5 is executed.
The process jumps to step S32 to execute the same processing as the status reception processing (procedures P546 and P547). The "abnormal end" flag is referred to during the error control task in FIG. 99, and the card cannot be accepted thereafter.

【0503】図95には、図88のカードリーダ制御タ
スク中の「初期値要求」ファンクション受信処理の手順
を示す。
FIG. 95 shows the procedure of the “initial value request” function reception process in the card reader control task of FIG. 88.

【0504】このファンクションを受信すると先ず「初
期値設定」ファンクションの送信予約を行ってから、フ
ラグを見て送信が禁止されているか判定する(手続きP
551,P552)。ここで、送信禁止なら手続きP5
55で送信を許可し、送信禁止でないときは手続きP5
53でパチンコ機の稼動情報を調べ、「フリー」か「遊
技中」か「中断中」のときは「カード受付可」ファンク
ションの送信予約を行う(手続きP554)。一方、手
続きP553の判定で「フリー」、「遊技中」、「中断
中」以外のとき(打止または強制終了)は「カード受付
け不可」ファンクションの送信予約を行う(手続きP5
56)。
When this function is received, the transmission of the "initial value setting" function is first reserved, and then the flag is checked to determine whether transmission is prohibited (procedure P).
551, P552). Here, if transmission is prohibited, procedure P5
If transmission is permitted in step 55 and transmission is not prohibited, procedure P5
At 53, the operation information of the pachinko machine is checked, and if it is "free", "playing" or "suspended", a transmission reservation of a "card accepted" function is made (procedure P554). On the other hand, if the determination in the procedure P553 is other than “free”, “in game”, or “interrupted” (stop or forced termination), a transmission reservation of the “card cannot be accepted” function is made (procedure P5).
56).

【0505】図88のタスク中に「セルフ排出」ファン
クションを受信したと判定したときは図96に示すよう
にカード受付不成功音の出力予約を行って元のルーチン
へ戻る(手続きP558)。
When it is determined that the "self-discharge" function is received during the task shown in FIG. 88, the output of the card reception unsuccessful sound is reserved as shown in FIG. 96, and the process returns to the original routine (procedure P558).

【0506】次に、図97には、図88のカードリーダ
制御タスクの処理中において、手続きP139で送信フ
ァンクションがあると判定した場合の送信処理手順を示
す。
Next, FIG. 97 shows a transmission processing procedure when it is determined that there is a transmission function in the procedure P139 during the processing of the card reader control task of FIG.

【0507】ファンクションの送信にあっては、先ず内
部RAMにリトライ回数(例えば3回)を設定してから
ACK受信タイマ(5秒)をセットしてコール信号EN
Qをカードリーダ800に向かって送信する(手続きP
560〜P562)。それから、ACKが来なければ手
続きP561でセットしたタイマがオーバーしたか判定
する(手続きP563,P564)。タイムオーバーを
起こしてもリトライ回数を調べて所定回数(3回)に達
していなければ手続きP561へ戻ってタイマをセット
しなおしてENQの送信を繰り返す。それでもACKが
こないでリトライ回数をオーバーするとエラーフラグを
セットしてからファンクションの送信を中止する(手続
きP565,P566,P567)。一方、リトライ回
数以内にACKが戻ってくると送信データを作成してか
ら先ずSTXコードを送信バッファへ入れて送信を開始
させ、送信中フラグをセットする(手続きP568〜P
570)。
In transmitting a function, first, the number of retries (for example, 3 times) is set in the internal RAM, then the ACK reception timer (5 seconds) is set, and the call signal EN is set.
Q to the card reader 800 (procedure P
560-P562). Then, if ACK does not arrive, it is determined whether the timer set in procedure P561 has expired (procedures P563 and P564). Even if the time is over, the number of retries is checked. If the number of retries has not reached the predetermined number (three times), the flow returns to procedure P561, the timer is reset, and the transmission of ENQ is repeated. If the number of retries is exceeded without receiving an ACK, the transmission of the function is stopped after setting an error flag (procedures P565, P566, and P567). On the other hand, if ACK is returned within the number of retries, the transmission data is created, then the STX code is first put into the transmission buffer to start transmission, and the transmission flag is set (procedures P568 to P568).
570).

【0508】図98には、ユニットコントローラ190
の10種類のメインタスクのうちパケット送信タスクの
処理手順を示す。
FIG. 98 shows the unit controller 190.
The following shows the processing procedure of the packet transmission task among the ten types of main tasks.

【0509】このタスクでは、先ず送信するパケットが
あるか否か判定し、あればユニットメモリ550の送信
データエリアSDAのパケットヘッド部にパケットタイ
プ名を書き込んでから交信エリア内のコマンドレジスタ
CR1にそのパケットタイプ名を入れ、パケット送信タ
イマをセットする(手続きP151〜P154)。コマ
ンドレジスタCR1へのパケットタイプ名の書込みによ
りデータ伝送コントローラ551が対応するパケットの
送信を開始し、送信が終わるとコマンドレジスタCR1
をクリアする。
In this task, first, it is judged whether or not there is a packet to be transmitted, and if there is a packet, the packet type name is written in the packet head part of the transmission data area SDA of the unit memory 550, and then the command register CR1 in the communication area is checked. Enter the packet type name and set the packet transmission timer (procedures P151 to P154). The data transmission controller 551 starts transmitting the corresponding packet by writing the packet type name into the command register CR1, and when the transmission is completed, the command register CR1
To clear.

【0510】手続きP151で送信パケットがないとき
または手続きP154で送信タイマをセットした後は、
手続きP155で送信タイマがセットされているか判定
し、セットされていれば手続きP156へ移行し、セッ
トされていなければP151へ戻る。手続きP156で
はコマンドレジスタCR1が送信終了により「0」にな
っているか判定し、まだ「0」になっていないときは送
信タイマがオーバーになっているか調べる(手続きP1
59)。ここで、送信タイマがオーバーしていなければ
手続きP151へ戻る。一方、送信タイマがオーバーし
たときは“Z−80エラー”フラグをセットしてから送
信タイマをリセットする(手続きP160,P15
8)。
[0510] If there is no transmission packet in procedure P151 or after the transmission timer is set in procedure P154,
It is determined in step P155 whether the transmission timer has been set. If the transmission timer has been set, the process proceeds to step P156. If not, the process returns to P151. In the procedure P156, it is determined whether or not the command register CR1 is "0" upon completion of the transmission, and if it is not yet "0", it is determined whether or not the transmission timer is over (procedure P1).
59). If the transmission timer has not expired, the process returns to procedure P151. On the other hand, when the transmission timer has expired, the "Z-80 error" flag is set and then the transmission timer is reset (procedures P160 and P15).
8).

【0511】また、手続きP156でコマンドレジスタ
CR1が「0」になった場合には、送信したパケットが
“カードイン”のように“ACK”を受信するタイプの
ものであるときはACK待ちタイマ(10秒)をセット
してから送信タイマをリセットする(手続きP156,
P157)。このACK待ちタイマは図73のパケット
受信タスク中の手続きP103,P104で参照され
る。
When the command register CR1 becomes "0" in the procedure P156, if the transmitted packet is of a type that receives "ACK" such as "card-in", an ACK wait timer ( 10 seconds) and then reset the transmission timer (procedure P156, P156).
P157). This ACK waiting timer is referred to in procedures P103 and P104 in the packet reception task in FIG.

【0512】図99には、ユニットコントローラ190
のメインタスクのうちエラー制御タスクの手順が示され
ている。
FIG. 99 shows the unit controller 190.
3 shows the procedure of the error control task among the main tasks.

【0513】このタスクでは、先ず“Z−80エラー”
フラグ(図98のP160参照)と“パケットACKエ
ラー”フラグ(図73のP105参照)をチェックし
(手続きP161,P162)、いずれか一方のフラグ
がセットされているときは手続きP174へ移行してタ
イマ割込みやシリアル割込みを禁止するとともに、前記
タスク処理を停止してからCPUをパワーダウンさせる
(手続きP175,P176)。上記手続き(P174
〜P176)は、例えばウォッチドッグパルスとなるセ
グメント表示器用のコモン信号のレベルを固定して、リ
セット回路555によりユニットコントローラ190に
リセットをかけることにより実行することができる。
In this task, first, "Z-80 error"
The flag (see P160 in FIG. 98) and the "packet ACK error" flag (see P105 in FIG. 73) are checked (procedures P161 and P162), and if either flag is set, the process proceeds to procedure P174. The timer interruption and the serial interruption are prohibited, and the CPU is powered down after the task processing is stopped (procedures P175 and P176). The above procedure (P174
To P176) can be executed, for example, by fixing the level of the segment display common signal serving as a watchdog pulse and resetting the unit controller 190 by the reset circuit 555.

【0514】一方、“Z−80エラー”フラグも“パケ
ットACKエラー”フラグもセットされていないときは
“リーダ・エラー”フラグ(図92のP543,図93
のP545,図97のP566参照)をチェックしてフ
ラグがセットされていないときはユニットメモリ550
内のモニタ情報2の“リーダ異常”ビットをリセットし
てから手続きP161へ戻る(手続きP163,P16
4)。“リーダ・エラー”フラグがセットされていたと
きは、手続きP165へ移行してモニタ情報2の“リー
ダ異常”ビットをセットしてからリーダ制御用フラグを
すべてクリアした後、カードリーダ800の制御を可能
にする(手続きP166,P167)。しかる後、テス
トモード中か否か、また初期値が設定されているかチェ
ックし(手続きP168,P169)、テストモードの
ときあるいは初期値が未設定のときは、次の図100に
示すテストモード終了処理を実行する。
On the other hand, when neither the "Z-80 error" flag nor the "packet ACK error" flag is set, the "reader error" flag (P543 in FIG. 92, FIG. 93).
If the flag is not set, check the unit memory 550.
After resetting the "reader abnormal" bit of the monitor information 2 in the procedure, the procedure returns to the procedure P161 (procedures P163 and P16).
4). If the "reader error" flag has been set, the flow shifts to procedure P165, where the "reader error" bit of the monitor information 2 is set, and all the reader control flags are cleared. It is made possible (procedures P166, P167). Thereafter, it is checked whether or not the test mode is being set and whether the initial value is set (procedures P168 and P169). If the test mode is set or the initial value is not set, the test mode shown in FIG. Execute the process.

【0515】テストモードでなく初期値も設定されてい
るときは手続きP170で“異常終了”フラグ(図94
の手続きP547参照)をチェックして、フラグが
“0”のときは手続きP161へ戻り、“異常終了”フ
ラグが立っているときは、手続きP171へ移行して稼
動情報を「強制終了」に変更してから、「カード受付不
可」ファンクションの送信予約をし、“異常終了”フラ
グをクリアしてから手続きP161へ戻る(手続きP1
72,P173)。
When the initial value is set not in the test mode, the "abnormal end" flag (FIG. 94) is set in procedure P170.
Check the procedure P547), if the flag is “0”, return to the procedure P161. If the “abnormal termination” flag is set, proceed to the procedure P171 and change the operation information to “forced termination”. After that, the transmission reservation of the “card cannot be accepted” function is made, the “abnormal termination” flag is cleared, and the procedure returns to the procedure P161 (procedure P1).
72, P173).

【0516】図100には、ユニットコントローラ19
0の10種類のメインタスクのうち、玉数演算タスクの
手順を示す。
FIG. 100 shows the unit controller 19
The procedure of the ball number calculation task among the ten main tasks of 0 is shown.

【0517】このタスクでは、先ずフラグまたは信号を
見てセンサ検出中かつまり遊技中か否か判定し(手続き
P181)、センサ検出中でなければ各センサのオン回
数を計数するカウンタをクリアし(手続きP182)、
センサ検出中のときは、手続きP183〜P199に従
って図70の処理で得られた発射センサSNS5、第1
セーフセンサSNS2、第2セーフセンサSNS3、フ
ァールセンサSNS4、アウトセンサSNS1の各セン
サのオン回数を読んで、総賞球数、出玉数、アウト玉
数、差数を演算し、最後に打止演算レジスタに総賞球数
を加算する(手続きP200)。
In this task, first, by looking at the flag or the signal, it is judged whether or not the sensor is being detected, that is, the game is being made (procedure P181). If the sensor is not being detected, the counter for counting the number of times each sensor is turned on is cleared ( Procedure P182),
During sensor detection, the firing sensor SNS5 obtained by the processing of FIG. 70 according to the procedures P183 to P199, the first
Read the number of times each of the safe sensor SNS2, the second safe sensor SNS3, the foul sensor SNS4, and the out sensor SNS1 is turned on, calculate the total number of prize balls, the number of balls played, the number of balls out, and the number of differences, and finally hit the ball. The total number of prize balls is added to the calculation register (procedure P200).

【0518】図101には、ユニットコントローラ19
0のメインタスクのうちスイッチ検出タスクの手順を示
す。
FIG. 101 shows the unit controller 19
The procedure of the switch detection task of the main task 0 is shown.

【0519】このタスクでは、先ずフラグまたは信号を
見てセンサ検出中か否か判定し(手続きP201)、検
出中でないときは中断スイッチ114、購入スイッチ1
13、終了スイッチ115、呼出しスイッチ165aま
たはテストスイッチ179がオンされているかチェック
する(手続きP202〜P206)。そして、いずれか
のスイッチがオンされているときは、それに対応する処
理(図103〜図106参照)を実行する。なお、上記
スイッチのうち呼出しスイッチがオンされたときは、パ
チンコ機100の状態表示ランプ162を点滅に変更し
てスイッチ操作音の出力予約を行う(手続きP21
9)。
In this task, first, by looking at the flag or the signal, it is judged whether or not the sensor is being detected (procedure P201). If not being detected, the interruption switch 114, the purchase switch 1
13. It is checked whether the end switch 115, the call switch 165a or the test switch 179 is turned on (procedures P202 to P206). When any one of the switches is turned on, a corresponding process (see FIGS. 103 to 106) is executed. When the call switch among the above switches is turned on, the status display lamp 162 of the pachinko machine 100 is changed to blinking, and the output of the switch operation sound is reserved (procedure P21).
9).

【0520】一方、手続きP201でセンサ検出中のと
きは、手続きP207へ移行して後述のサーチタイマ
(手続きP216)が動作中か判定し、動作中でないと
きは手続きP213,P214で遊技中のカードの玉数
および金額が「0」か否か判定する。そして、玉数が
「0」で金額が「0」でないときは購入要求処理(手続
きP217)を行う。具体的には購入スイッチ113の
オンを促す音の出力予約と購入スイッチ内蔵のランプの
点滅への表示更新予約を行う。
On the other hand, when the sensor is being detected in the procedure P201, the procedure shifts to the procedure P207 and it is determined whether or not a search timer (procedure P216) described later is operating. It is determined whether the number of balls and the amount of money are "0". If the number of balls is "0" and the amount is not "0", purchase request processing (procedure P217) is performed. More specifically, an output reservation for a sound prompting the purchase switch 113 to be turned on and a display update reservation for blinking of a lamp built in the purchase switch are made.

【0521】ただし、玉数と金額がともに「0」のとき
はサーチタイマ(10秒)を動作させて帰零判定を開始
させるとともに、サーチタイマ動作中を知らせる音の出
力予約を行ってから手続きP201へ戻る(手続きP2
15,P216)。
However, when both the number of balls and the amount of money are "0", the search timer (10 seconds) is operated to start the zero return determination, and the procedure for making the output reservation of the sound notifying that the search timer is operating is followed by the procedure. Return to P201 (procedure P2
15, P216).

【0522】そして、再び手続きP207でサーチタイ
マ動作中か判定して、動作中なら手続きP208へ進
み、遊技盤内に残存する浮遊玉が有るか否か判定する。
ここで、浮遊玉がなければ手続きP212へ移行して、
帰零発生を決定して“帰零”パケットの送信予約を行
う。
Then, it is determined again in procedure P207 whether the search timer is operating, and if it is operating, the procedure proceeds to procedure P208 and it is determined whether there are any floating balls remaining in the game board.
Here, if there is no floating ball, the process proceeds to procedure P212,
It determines the occurrence of a zero return and reserves the transmission of the “return zero” packet.

【0523】また、この帰零決定手続きの中で、図10
7に示すようなテストモード終了処理を行うようになっ
ており、テストモード中に帰零が発生するとテストモー
ドを終了させる。
[0523] In addition, in the zero-zero determination procedure,
A test mode end process as shown in FIG. 7 is performed, and if a zero is generated during the test mode, the test mode is ended.

【0524】一方、サーチタイマ動作中で浮遊玉が残存
する間は、手続きP208からP209へ進んでサーチ
タイマ(10秒)がオーバーしたか否か判定し、タイム
オーバーなら浮遊玉数があっても手続きP212へ移行
して帰零とする。玉数が「0」になってから10秒経過
してもなお浮遊玉が存在するのは通常ありえないからで
ある。
On the other hand, while the search timer is operating and floating balls remain, the process proceeds from procedure P208 to P209 to determine whether the search timer (10 seconds) has expired. Go to P212 and set to zero. This is because it is usually impossible for floating balls to exist even after 10 seconds have elapsed since the number of balls reached “0”.

【0525】また、サーチタイマがオーバーしていない
ときは手続きP209からP210へ移行して、再び玉
数が「0」か否か判定し、「0」でないときはサーチタ
イマを停止させて帰零の判定を中止する(手続きP21
1)。浮遊玉がサーチタイマ動作中に入賞口へ入賞して
持玉数が加算された場合を考慮したもので、これによっ
て、再び遊技制御が継続される。なお、サーチタイマ非
動作中において玉数が「0」でないときは、手続きP2
18へ移行して打止演算レジスタの値が予め定めた打止
数よりも多くなったか否か判定し、多くなったときは図
102に示すような打止処理を実行するようになる。こ
の打止数は予め複数の打止めモードを用意して、プログ
ラム等でモードを選択してモードに応じた打止数をもっ
て打止め演算レジスタの値との比較を行うようにしても
よい。
If the search timer has not expired, the procedure shifts from procedure P209 to P210 to determine again whether or not the number of balls is "0". If it is not "0", the search timer is stopped and reset to zero. Cancel the determination of (procedure P21
1). This considers the case where the floating ball wins the winning opening during the operation of the search timer and the number of balls held is added, whereby the game control is continued again. If the number of balls is not “0” while the search timer is not operating, the procedure P2
The process proceeds to 18 to determine whether or not the value of the hit calculation register has become larger than a predetermined number of hits. When the value has increased, hitting processing as shown in FIG. 102 is executed. For the number of hits, a plurality of hitting modes may be prepared in advance, a mode may be selected by a program or the like, and the number of hits according to the mode may be compared with the value of the hitting operation register.

【0526】図102には、図101の処理中における
打止処理の手順が示されている。
FIG. 102 shows a stopping process procedure during the process of FIG.

【0527】この打止処理に入ると、先ずフラグを見て
テストモード中か否か判定し(手続きP581)、テス
トモードでないときは、“打止”パケットの送信予約を
行ってから、ユニットメモリ550内の打止回数を更新
(+1)し、カード状態を「打止めかつフリー」とした
後、センサの検出および打球発射装置103の駆動制御
を停止させ、打止音の出力予約を行う(手続きP582
〜P587)。
Upon entering this stop processing, first check the flag to determine whether or not it is in the test mode (procedure P581). If not in the test mode, make a reservation for transmission of the "stop" packet and then store in the unit memory. After the number of hits in 550 is updated (+1) and the card state is set to "stop and free", detection of the sensor and drive control of the hitting ball launching device 103 are stopped, and output of hitting sound is reserved ( Procedure P582
~ P587).

【0528】なお、ここでは、カードCDの排出指令ま
では行っていないが、上記“打止”パケットが管理装置
400へ送信され、そのACKが返ってくるとそちらの
受信処理(図87)で「カード排出」ファンクションが
カードリーダに送られる(手続きP487)ので、打止
めが発生するとカードCDが排出されるのは既に述べた
とおりである。
Note that although the card CD ejection command is not executed here, when the above-mentioned "stop" packet is transmitted to the management device 400 and an ACK is returned, the reception processing (FIG. 87) therefor is performed. As described above, since the "card eject" function is sent to the card reader (procedure P487), the card CD is ejected when the stoppage occurs.

【0529】一方、テストモード中に打止が発生する
と、手続きP581からP591へ移行して、“打止”
パケットに対するACKを受信したときの図87の手続
きP483〜P489(P488を除く)と略同じ手続
きP591〜P597を実行して打止め状態となる。
On the other hand, if a stoppage occurs in the test mode, the procedure shifts from procedure P581 to P591, and "stoppage"
When the ACK for the packet is received, the procedures P591 to P597 substantially the same as the procedures P483 to P489 (excluding P488) in FIG.

【0530】テストモードは、管理装置400と接続さ
れていないオフライン時にも実行されることを考慮した
ものである。なお、テストモード中に打止めが発生する
と、終了スイッチ115をオンすることで、テストモー
ド終了処理へ移行し、オンラインかオフラインかに応じ
てその後の状態が決定される(図106,図107参
照)。
The test mode takes into consideration that the test mode is executed even when the management apparatus 400 is not connected and is offline. If a stop occurs during the test mode, the end switch 115 is turned on to shift to the test mode end processing, and the subsequent state is determined depending on whether the system is online or offline (see FIGS. 106 and 107). ).

【0531】図103には、図101のスイッチ検出タ
スク中における中断スイッチ処理の手順が示されてい
る。
FIG. 103 shows the procedure of the interruption switch process in the switch detection task of FIG.

【0532】中断スイッチ114のオンを検出すると、
この処理が開始され、先ずテストモード中か否か判定す
る(手続きP601)。ここで、テストモードでなけれ
ば、手続きP602へ進み、“中断スイッチ”パケット
の送信予約を行ってから、カード状態を「中断中」に変
更し、センサの検出と打球発射装置103の駆動制御を
停止させて元のルーチンへ戻る(手続きP603〜P6
05)。中断スイッチのオンに起因するカードCDの排
出等は上記パケットに対するACKパケットを受信した
時点で行う(図84参照)。一方、テストモード中に中
断スイッチがオンされると、この中断スイッチ処理の中
で稼動情報の更新、カード排出ファンクションの送信予
約、制御の停止ランプの表示変更を行うようにしている
(手続きP611〜P616)。オフラインでのテスト
モードを考慮したものである。
When it is detected that the interruption switch 114 is turned on,
This process is started, and it is first determined whether or not the test mode is being set (procedure P601). Here, if the test mode is not set, the process proceeds to procedure P602, in which the reservation of the transmission of the "interruption switch" packet is made, and then the card state is changed to "interruption". Stop and return to the original routine (procedures P603 to P6
05). The ejection of the card CD or the like due to the turning on of the interruption switch is performed when an ACK packet corresponding to the above packet is received (see FIG. 84). On the other hand, when the interruption switch is turned on during the test mode, the operation information is updated, the transmission of the card ejection function is reserved, and the display of the control stop lamp is changed in the interruption switch processing (procedures P611 to P611). P616). This is for offline test mode.

【0533】図104には、図101のスイッチ検出タ
スク中の購入スイッチ処理の手順が示されている。
FIG. 104 shows the purchase switch processing procedure in the switch detection task of FIG.

【0534】購入スイッチ113がオンされると、先ず
購入スイッチ内蔵のランプ121(以下、購入ランプと
称する)の消灯の指示を与える(手続きP621)。こ
のランプは、金額が「0」にならない間は点灯されてお
り、玉数が「0」になった時点で行われる第75図の購
入要求手続きP217によって点滅駆動される。そし
て、購入スイッチのオンと同時に点滅は停止される。次
に、カードの金額が「0」か判定し、「0」なら何もせ
ずに図101のルーチンへ戻る(手続きP622)。
When the purchase switch 113 is turned on, first, an instruction to turn off the lamp 121 (hereinafter referred to as a purchase lamp) with a built-in purchase switch is given (procedure P621). This lamp is lit as long as the amount of money does not become "0", and is driven to blink by the purchase request procedure P217 in FIG. 75 performed when the number of balls becomes "0". The blinking is stopped at the same time when the purchase switch is turned on. Next, it is determined whether the amount of the card is "0", and if it is "0", the process returns to the routine of FIG. 101 without doing anything (procedure P622).

【0535】一方、金額が残っているときは手続きP6
23へ進み、購入玉の変換レートを読み込んでから、ユ
ニットメモリ550内の玉数および持玉数に200円相
当分の玉数を加算する(手続きP624)。そして、金額
(残金)の度数が「−2」され、購入回数が「+1」、
売上の度数が「+2」されてから金額が「0」になった
か否か判定される(手続きP625〜P628)。ここ
で、金額が「0」なら購入ランプを点灯させずに、また
残金が残っているときは購入ランプを点灯させてから打
球発射装置103の駆動制御を開始させる(手続きP6
28〜P630)。従って、購入ランプは購入スイッチ
113のオンによって一時消灯されるが残金がある間は
すぐに点灯される。また、遊技客が購入要求音と表示に
基づいて購入スイッチをオンした場合、購入ランプはカ
ードCDの金額に応じて点滅から点灯または点滅から消
灯に移行する。
On the other hand, when the amount of money remains, the procedure P6
The process proceeds to step S23, where the conversion rate of the purchased ball is read, and then the number of balls corresponding to 200 yen is added to the number of balls and the number of balls in the unit memory 550 (procedure P624). Then, the frequency of the amount of money (the balance) is “−2”, the number of purchases is “+1”,
It is determined whether or not the amount has become “0” after the sales frequency is increased by “+2” (procedures P625 to P628). Here, if the amount is "0", the drive control of the hitting ball launching device 103 is started without turning on the purchase lamp or turning on the purchase lamp when the balance is left (procedure P6).
28-P630). Accordingly, the purchase lamp is temporarily turned off when the purchase switch 113 is turned on, but is turned on immediately while there is a balance. Further, when the player turns on the purchase switch based on the purchase request sound and the display, the purchase lamp shifts from blinking to lighting or from blinking to lighting according to the amount of the card CD.

【0536】打球発射装置103の制御開始後は購入要
求音の出力を取り消してからスイッチ操作音の出力予約
を行って処理を終了する(手続きP631,P632)。
After the control of the hit ball firing device 103 is started, the output of the purchase request sound is canceled, the output of the switch operation sound is reserved, and the process is terminated (procedures P631, P632).

【0537】図105には、図101のスイッチ検出タ
スクにおける終了スイッチ処理の手順が示されている。
FIG. 105 shows the procedure of the end switch process in the switch detection task of FIG.

【0538】終了スイッチ115のオンが検出される
と、先ずセンサの検出を停止してから打球発射装置10
3の駆動制御を停止させる(手続きP641,P64
2)。それから、手続きP643でテストモードか否か
判定し、テストモードなら図107に示されているテス
トモード終了処理へ移行し、通常動作モードなら“終了
スイッチ”パケットの送信予約を行ってからカード状態
を「フリー」に変更する(手続きP644,P64
5)。
When the end switch 115 is detected to be on, the detection of the sensor is first stopped, and then the hitting ball
3 (the procedures P641 and P64)
2). Then, in a procedure P643, it is determined whether or not the test mode is set. If the test mode is set, the process proceeds to a test mode end process shown in FIG. 107. Change to "free" (procedure P644, P64
5).

【0539】カードCDの排出指令やランプの表示変更
等は“中断スイッチ”に対する応答パケットACKの受
信処理(図85)中において行われる。
[0539] The card CD ejection command, lamp display change, and the like are performed during the process of receiving the response packet ACK for the "interrupt switch" (Fig. 85).

【0540】図106には、図101のスイッチ検出タ
スクにおけるテストスイッチ処理の手順が示されてい
る。
FIG. 106 shows the procedure of test switch processing in the switch detection task of FIG.

【0541】テストスイッチ179のオンが検出される
と、先ずスイッチ操作音の出力予約およびテストカード
ファンクション待ちフラグをセットする(手続きP65
1,P652)。
When the ON of the test switch 179 is detected, first, a switch operation sound output reservation and a test card function wait flag are set (procedure P65).
1, P652).

【0542】このフラグは、テストカード処理の手順を
示す図89中における手続きP501で参照される。そ
れから、オフラインか否か判定し、オフラインならカー
ドリーダ800に対する「カード受付可」ファンクショ
ンの送信予約を行い、オンラインなら何もしない。
This flag is referred to in the procedure P501 in FIG. 89 showing the procedure of the test card processing. Then, it is determined whether or not it is offline. If it is offline, it makes a transmission reservation for the "card accepted" function to the card reader 800, and if it is online, it does nothing.

【0543】つまり、「カード受付可」ファンクション
の送信を行わない。従って、オンラインのときはカード
CDの受付けが可能にされているときのみテストモード
へ移行する。ただし、実際にはオンラインでカード受付
けが可能な状態(中断中)にあっても、稼動情報が「フ
リー」以外のときはテストカードを排出するようになっ
ている(図89の手続きP502,P513参照)。
That is, the transmission of the “card accepted” function is not performed. Therefore, when online, the mode shifts to the test mode only when acceptance of the card CD is enabled. However, even if the card can be actually accepted online (interrupted), the test card is ejected when the operation information is other than "free" (procedures P502 and P513 in FIG. 89). reference).

【0544】なお、上記テストスイッチ処理(手続きP
651〜P654)においては、タイマを設定してテス
トスイッチオン後一定時間内にテストカードの挿入がな
いときは元の状態へ戻るようにすることも可能である。
The test switch processing (procedure P
651-P654), it is also possible to set a timer to return to the original state when a test card is not inserted within a certain time after the test switch is turned on.

【0545】図107には、図99のエラー制御タスク
および図105の終了スイッチ処理中におけるテストモ
ード終了処理の具体的な手順を示す。
FIG. 107 shows a specific procedure of the error control task of FIG. 99 and the test mode end processing during the end switch processing of FIG. 105.

【0546】この処理が開始されると、先ず全ランプを
消灯し、センサの検出および打球発射装置103の駆動
制御を停止させてからオフラインかオンラインか判定す
る(手続きP661〜P664)。ここで、オンライン
ならパチンコ機100の稼動情報が「強制終了」か調べ
(手続きP665)、強制終了なら「カード受付不可」
ファンクションの送信予約およびカード排出音の出力予
約を行って元のルーチンへ戻る(手続きP671,P6
72)。
[0546] When this process is started, first, all lamps are turned off, the detection of the sensors and the drive control of the hit ball firing device 103 are stopped, and it is determined whether the process is offline or online (procedures P661 to P664). Here, if online, it is checked whether the operation information of the pachinko machine 100 is “forced termination” (procedure P665), and if it is forced termination, “card cannot be accepted”
A function transmission reservation and a card ejection sound output reservation are made and the process returns to the original routine (procedures P671 and P6).
72).

【0547】なお、カードリーダ800は「カード受付
不可」ファンクションを受信すると保持しているカード
CDを排出してからカードを受付けない状態になる。強
制終了以外のときは、ランプ123,163の表示を客
待ち状態に変更してからテストモード時の稼動データエ
リア内の稼動情報が「打止」か否か調べる(手続きP6
66,P667)。
When the card reader 800 receives the “card cannot be accepted” function, the card reader 800 ejects the held card CD and enters a state in which no card is accepted. At times other than the forced termination, the display of the lamps 123 and 163 is changed to the customer waiting state, and then it is checked whether or not the operation information in the operation data area in the test mode is “stop” (procedure P6).
66, P667).

【0548】そして、打止ならそのまま手続きP670
へジャンプし、また打止以外のときは「カード排出」フ
ァンクションの送信予約およびカード排出音の出力予約
(手続きP668,P669)をしてから手続きP67
0へ移行してカード挿入ランプの表示を点滅に変更して
元のルーチンへ戻る。従って、パチンコ機100はテス
トモードから通常動作モードの「フリー」の状態に戻
る。
[0548] If it is stopped, the procedure P670
Jump to, and if it is not a stop, make a reservation for transmission of the “card discharge” function and a reservation for output of card discharge sound (procedures P668 and P669), and then proceed to procedure P67.
The process proceeds to 0, the display of the card insertion lamp is changed to blinking, and the process returns to the original routine. Therefore, the pachinko machine 100 returns from the test mode to the “free” state in the normal operation mode.

【0549】上記のごとく打止状態のときに手続きP6
68(カード排出ファンクション送信予約)を省略して
手続きP667からP670へジャンプしているのは、
図102の打止処理でそれをやっている(手続きP59
1)からであり、手続きの重複を回避するためである。
また、打止のときに手続きP669(カード排出音出力
予約)を省略しているのは、カードCDが排出されない
のに排出音が出力されるのを防止するためである。
[0549] When the player is in the stop state as described above, the procedure P6 is executed.
68 (card ejection function transmission reservation) is skipped and the procedure jumps from procedure P667 to P670.
This is done in the stop processing of FIG. 102 (procedure P59
This is from 1) in order to avoid duplication of procedures.
Also, the reason why the procedure P669 (card ejection sound output reservation) is omitted at the time of stopping is to prevent the ejection sound from being output when the card CD is not ejected.

【0550】つまり、テストモードでは打止が発生する
とそのときにカードCDが排出され、その後、終了スイ
ッチ115がオンされると当該テストモード終了処理に
移行してくる(図105の手続きP642)ので、ここ
でカード排出音を出力するのは現実と一致しなくなるか
らである。
[0550] That is, in the test mode, when a stop occurs, the card CD is ejected at that time, and when the end switch 115 is turned on, the test mode end process starts (procedure P642 in Fig. 105). The reason for outputting the card ejection sound here is that it does not match the reality.

【0551】一方、上記手続きP664でオフライン中
と判定されると、手続きP673へ移行して、「カード
受付不可」ファンクションの送信予約およびカード排出
音の出力予約を行ってから“テストモード終了時オフラ
イン”フラグをセットし、“リーダエラー”フラグがセ
ットされているか否かチェックする(手続きP673〜
P676)。ここで、リーダエラーがなければ元のルー
チンへ戻り、リーダエラーがあれば手続きP677へ移
行して上記“テストモード終了時オフライン”フラグを
クリアしてから“回線テスト”パケット待ち(図72の
手続きP98)となる。上記フラグは、「ステータス」
ファンクション受信処理(図91)中の手続きP538
で参照され、ステータスを送信したときにこのフラグを
みて回線テスト待ちへ移行する。
On the other hand, if it is determined in the above-mentioned procedure P664 that the apparatus is offline, the flow shifts to procedure P673 to make a transmission reservation for the “card rejection impossible” function and an output reservation for the card ejection sound, and then “offline at the end of test mode” Flag is set, and it is checked whether the "reader error" flag is set (procedure P673-
P676). Here, if there is no reader error, the process returns to the original routine. If there is a reader error, the flow shifts to procedure P677 to clear the "offline at the end of test mode" flag and then wait for a "line test" packet (procedure in FIG. 72). P98). The above flag is "Status"
Procedure P538 in function reception processing (FIG. 91)
When the status is transmitted, this flag is seen and the process shifts to a line test wait.

【0552】すなわち、リーダーエラーがないときは、
手続きP673〜P676終了後に元のルーチンへ戻
り、その後カードリーダ800からカード排出後の「正
常終了」ファンクションとともにステータス1,2を受
信した時点で回線テスト待ちへ移行する。一方、リーダ
ーエラーがあるときには、手続きP673のファンクシ
ョンを受けてカード排出処理が実行された場合、カード
リーダ800から「異常終了」とともにステータス1,
2が送られてくると、図91の手続きP538で回線テ
スト待ちへ移行してカードが取り出せなくなるのを防止
するため、手続きP677で“テストモード終了時オフ
ライン”フラグをクリアしている。
That is, when there is no reader error,
After the procedures P673 to P676 are completed, the process returns to the original routine. After that, when the status 1 or 2 is received together with the “normal end” function after the card is ejected from the card reader 800, the process shifts to a line test wait. On the other hand, when there is a reader error, when the card ejection process is executed in response to the function of the procedure P673, the status “
When 2 is sent, the "off-line at the end of the test mode" flag is cleared in a procedure P677 in order to prevent a transition to a line test waiting in the procedure P538 in FIG. 91 to prevent the card from being removed.

【0553】図108には、ユニットコントローラ19
0の10種類のメインタスクのうち、音制御タスクの処
理手順が示されている。
FIG. 108 shows the unit controller 19.
The processing procedure of the sound control task among the ten main tasks 0 is shown.

【0554】このタスクでは、「当り音」、「スイッチ
操作音」、「カード排出音」、「カード受付成功音」、
または「カード受付不成功音」の出力予約があるか否か
調べ(手続きP221〜P225)、予約があったとき
は、出力すべき音の種類を示すデータと出力時間とを内
部RAMにセットしてから音声合成回路(サウンドI
C)582をリセットさせ、出力中の音を停止させる
(手続きP231,P232)。それから、手続きP2
34へ移行してサウンドICに制御信号を与え、選択し
た音を出力させる。そして、セットした出力時間を経過
したか判定し、オーバーしているときは出力を停止させ
る(手続きP235,P237)。
In this task, “hit sound”, “switch operation sound”, “card ejection sound”, “card reception success sound”,
Alternatively, it is checked whether or not there is an output reservation for “card reception failure sound” (procedures P221 to P225). If there is a reservation, data indicating the type of sound to be output and the output time are set in the internal RAM. And then a speech synthesis circuit (Sound I
C) Reset 582 to stop the sound being output (procedures P231 and P232). Then, the procedure P2
The process proceeds to 34, where a control signal is given to the sound IC to output the selected sound. Then, it is determined whether or not the set output time has elapsed, and if it is over, the output is stopped (procedures P235 and P237).

【0555】一方、出力時間をオーバーしていないとき
は出力音が繰り返し音か判定し、繰り返し音でないとき
は音の出力を停止させる(手続きP236,P23
7)。ただし、手続きP237で音出力停止指令を出し
てもサウンドICは出力中の音の1フレーズが終了する
までは音出力を停止させず、フレーズの終端で停止す
る。
On the other hand, if the output time has not elapsed, it is determined whether the output sound is a repetitive sound, and if not, the output of the sound is stopped (procedures P236 and P23).
7). However, even if the sound output stop command is issued in the procedure P237, the sound IC does not stop sound output until one phrase of the sound being output ends, and stops at the end of the phrase.

【0556】また、上記5種類の音のいずれの出力予約
もないときは、手続きP226で音出力中か否かチェッ
クし、出力中なら手続きP235へ移行して出力時間を
オーバーしていないか調べる。一方、音出力中でないと
きは、「サーチタイマ音」、「購入要求音」、「打止
音」または「強制終了音」の出力予約があるか調べ(手
続きP227〜P230)、あるときは出力すべき音を
指定するデータと時間をセットしてから(手続きP23
3)、手続きP234へ移行して音の出力を開始し、タ
イムオーバーを起こすと音出力を停止する。つまり、こ
れら4つの音に関しては他の音の出力が終了するのを待
ってから出力することになる。
[0556] If there is no output reservation of any of the above five types of sounds, it is checked in step P226 whether sound is being output, and if output is in progress, the process proceeds to step P235 to check whether the output time has been exceeded. . On the other hand, when the sound is not being output, it is checked whether there is an output reservation of “search timer sound”, “purchase request sound”, “stop sound” or “forced end sound” (procedures P227 to P230). After setting data and time to specify the sound to be played (procedure P23
3) The procedure shifts to procedure P234 to start sound output, and stops sound output when a time-out occurs. In other words, these four sounds are output after the output of other sounds is completed.

【0557】図109には、ユニットコントローラ19
0のメインタスクのうちタイマ制御タスクの手順を示
す。
FIG. 109 shows the unit controller 19.
The procedure of the timer control task among the 0 main tasks is shown.

【0558】このタスクでは、ランプの点滅やパケット
の送信タイマ、ACK受信タイマ等の基準となる10m
Sと100mSの2つの基準タイマを管理しており、1
0m秒ごとに10mSタイマを更新(デクリメント)
し、また100m秒ごとに100mSタイマを更新する
(手続きP241〜P244)。
In this task, 10 m which is a reference for a blinking lamp, a packet transmission timer, an ACK reception timer, etc.
It manages two reference timers, S and 100 ms, and
Update 10ms timer every 0ms (decrement)
And updates the 100 ms timer every 100 ms
(Procedures P241 to P244).

【0559】図110には、ユニットコントローラ19
0のメインタスクのうちランプ表示制御タスクの処理手
順が示されている。
FIG. 110 shows the unit controller 19.
The processing procedure of the lamp display control task among the 0 main tasks is shown.

【0560】このタスクにおいては、上記各種処理中に
おいてセーフ球ランプ164、P機状態表示ランプ16
2、購入スイッチ内蔵ランプ121、カード挿入ランプ
168、遊技状態ランプ123の更新があった場合に、
その表示状態を変更する(手続きP251〜P25
5)。
In this task, the safe ball lamp 164, the P machine status display lamp 16
2. When the purchase switch built-in lamp 121, the card insertion lamp 168, and the game status lamp 123 are updated,
Change the display state (procedures P251 to P25)
5).

【0561】次に、「客待ち表示」または「打止表示」
の必要があるか判定し、客待ち表示のときはアナログ表
示器163をスクロール表示させ、打止表示のときはア
ナログ表示器163の全ランプを同時に点滅させる(手
続きP256〜P259)。さらに玉数表示の必要性を
判定し、必要のあるときはアナログ表示器163のラン
プを左側から順に玉数に応じた数だけ点灯させる(手続
きP260,P261)。しかもこの玉数のアナログ表
示は、ランプ点灯数が多くなるほど一つのランプで表示
される玉数が増加するいわゆる対数表示にて行うように
なっている。さらに、「客待ち表示」、「打止表示」お
よび「玉数表示」のいずれの表示も不要なときはアナロ
グランプ163を消灯する(手続きP262)。
Next, the "waiting customer display" or the "stop display"
It is determined whether or not it is necessary. When the display is waiting for customers, the analog display 163 is scroll-displayed, and when the display is stopped, all the lamps of the analog display 163 blink simultaneously (procedures P256 to P259). Further, the necessity of displaying the number of balls is determined, and when necessary, the lamps of the analog display 163 are turned on in order from the left according to the number of balls (procedures P260 and P261). In addition, the analog display of the number of balls is performed in a so-called log display in which the number of balls displayed by one lamp increases as the number of lit lamps increases. Further, when none of the "customer wait display", "stop display" and "ball count display" is required, the analog lamp 163 is turned off (procedure P262).

【0562】次の〔表29〕に、パチンコ機100の状
態に応じた各ランプの表示状態の一例を示す。
[0562] The following Table 29 shows an example of the display state of each lamp according to the state of the pachinko machine 100.

【0563】同表において、×印は消灯、○印は点灯、
△印は点滅、Sはスクロール表示、Aは球数に応じたア
ナログ対数表示を示している。また、遊技中における
「サーチ」の欄は金額および玉数がゼロとなってサーチ
タイマ(10秒)作動中の表示状態を示し、10秒経過
すると帰零状態に移行する。
[0563] In the same table, x mark is off, o mark is on,
The symbol Δ indicates blinking, S indicates scroll display, and A indicates analog logarithmic display according to the number of balls. In the "search" column during the game, the display amount is displayed while the search timer (10 seconds) is operating with the amount of money and the number of balls being zero, and the state shifts to the return to zero state after 10 seconds.

【0564】[0564]

【表29】 [Table 29]

【0565】ユニットコントローラ190のメインタス
クには以上の9種類のタスクの他、ポート出力制御タス
クがある。このタスクでは、上記各タスクで決定された
出力状態を対応するI/Oポートへ出力する処理を実行
する(図示省略)。
The main tasks of the unit controller 190 include a port output control task in addition to the above nine types of tasks. In this task, a process of outputting the output state determined in each task to the corresponding I / O port is executed (not shown).

【0566】図111には、上記制御フローに従ってパ
チンコ機100を制御する際の入出力信号のタイミング
を示す。
FIG. 111 shows the timing of input / output signals when controlling the pachinko machine 100 according to the above control flow.

【0567】なお、玉数を表わす数字は、一例として購
入玉レートを50個/200円、メイン賞球数を13
個、サブ賞球数を7個として演算したものを示してい
る。
As an example of the number representing the number of balls, the purchased ball rate is 50/200 yen and the number of main prize balls is 13.
And the number of sub prize balls calculated as seven.

【0568】タイミングt1で、“カードイン”パケッ
トに対する応答パケットACKを受信した後、タイミン
グt2で購入スイッチ113のオン信号が入ってくる
と、発射駆動制御信号がハイレベルに変化され、打球発
射装置103が駆動可能となる。これとともに、カード
CDの残金の度数が「2」だけ減算され、200円分の
玉数が加算されて、金額表示および玉数表示が更新され
る。
After receiving the response packet ACK for the "card-in" packet at the timing t1, when the ON signal of the purchase switch 113 comes in at the timing t2, the launch drive control signal is changed to the high level, and the hitting ball launching device is launched. 103 can be driven. At the same time, the frequency of the balance of the card CD is subtracted by “2”, the number of balls for 200 yen is added, and the display of the amount of money and the number of balls are updated.

【0569】その後、各センサから検出パルスが入って
くるとユニットコントローラ550内で浮遊玉数や持玉
数の演算をリアルタイムで行い、玉数およびその表示を
次々と変更していく。なお、コントローラ内部で浮遊玉
数が「0」になっているときは、セーフセンサの検出パ
ルス(P1参照)があってもこれは無効とされ、その分
の賞球数は加算されない。
Thereafter, when a detection pulse is received from each sensor, the number of floating balls and the number of balls are calculated in the unit controller 550 in real time, and the number of balls and the display thereof are changed one after another. When the number of floating balls is "0" inside the controller, even if there is a detection pulse (see P1) of the safe sensor, this is invalidated, and the prize ball number corresponding thereto is not added.

【0570】このような遊技制御中に、中断スイッチ1
14のオン信号が入ってくると(タイミングt3)、発
射駆動制御信号がオフされる。ただし、表示は中断時の
状態に維持される。その後、“中断カードイン”のAC
Kパケットが受信されると(タイミングt4)、再び遊
技制御が開始され、終了スイッチ115のオン信号が入
った時点で遊技を終了し(タイミングt5)、“終了ス
イッチ”のACKを受信した時点(タイミングt6)で
表示および玉数、金額データが「0」にクリアされる。
[0570] During such game control, the interrupt switch 1
When the ON signal 14 is input (timing t3), the firing drive control signal is turned off. However, the display is maintained in the state at the time of interruption. After that, AC of "Suspended Card In"
When the K packet is received (timing t4), the game control is started again, the game ends when the ON signal of the end switch 115 is input (timing t5), and the ACK of the "end switch" is received (time t5). At timing t6), the display, the number of balls, and the amount data are cleared to “0”.

【0571】一方、遊技中においてカードの金額および
玉数がともに「0」になる帰零状態が発生すると(タイ
ミングt7)、サーチタイマが起動され、10秒以内に
セーフセンサ1または2の検出パルスがないときは“帰
零”パケットが送信され、そのACKを受信した時点
(t8)で浮遊玉数が「0」にクリアされる。サーチタ
イマの作動中に浮遊玉数が「0」になればその時点で
“帰零”パケットが送信される。
On the other hand, when a zero-reset state occurs in which both the amount of money and the number of balls are "0" during the game (timing t7), the search timer is activated and the detection pulse of the safe sensor 1 or 2 is detected within 10 seconds. If there is no packet, a "return to zero" packet is transmitted, and the floating ball number is cleared to "0" when the ACK is received (t8). If the number of floating balls becomes “0” during the operation of the search timer, a “return-to-zero” packet is transmitted at that time.

【0572】次に、ユニットコントローラ190からの
指令に基づいたカードリーダコントローラCPU2によ
るカードリーダ800の制御手順の一例を図112〜図
141を用いて説明する。
Next, an example of a control procedure of the card reader 800 by the card reader controller CPU2 based on a command from the unit controller 190 will be described with reference to FIGS. 112 to 141.

【0573】なお、カードリーダコントローラCPU2
とユニットコントローラ190との間の通信は、ファン
クションコードによって行なわれるようになっており、
ユニットコントローラ190からカードリーダコントロ
ーラCPU2に対するファンクションコードとしては、
カードリーダ800に対してカードCDから読み取った
磁気データと照合するための年月日コードと識別コード
を与えるための「初期値設定」ファンクション、カード
リーダ800に対しカードCDの受付を許可する「カー
ド受付可」ファンクション、カードリーダ800に対し
カードCDの受付を中止するように指令するための「カ
ード受付不可」ファンクション、カードCDを排出する
よう指令する「カード排出」ファンクション、カードC
Dの磁気データの再読込みを指令する「リロード」ファ
ンクション、直前に送ってきたファンクションコードの
再送を要求する「再送要求」ファンクション、カードリ
ーダコントローラCPU2内に保持されているカードリ
ーダ800の状態を示すコードの送信を要求する「ステ
ータス要求」ファンクションおよびパンチ穴形成領域の
所定の位置にカードCDの持玉、金額がゼロになったこ
とを表す帰零穴PH4を穿孔するよう指令を与える「帰
零」ファンクションの8種類の指令が用意されている。
It should be noted that the card reader controller CPU2
Communication between the unit controller 190 and the unit controller 190 is performed by a function code.
As a function code from the unit controller 190 to the card reader controller CPU2,
An "initial value setting" function for giving the card reader 800 a date code and an identification code for collating with magnetic data read from the card CD, and a "card for permitting the card reader 800 to accept the card CD. Acceptable "function," Card not accepted "function for instructing card reader 800 to stop accepting card CD," Card eject "function for instructing card reader to eject card CD, Card C
A "reload" function for instructing rereading of the magnetic data of D, a "retransmission request" function for requesting retransmission of the function code sent immediately before, and a state of the card reader 800 held in the card reader controller CPU2. A "status request" function for requesting the transmission of a code and a command for punching a return hole PH4 indicating that the ball of the card CD and the amount of money have become zero at a predetermined position in the punch hole forming area are provided. 8 types of commands are provided.

【0574】一方、カードリーダコントローラCPU2
からユニットコントローラ190に対するファンクショ
ンコードとしては、カードリーダ800で読み取ったカ
ード番号をユニットコントローラ190へ送る「カード
番号送信」ファンクション、テストカードが挿入された
ことをユニットコントローラ190へ知らせる「テスト
カード」ファンクション、リセット時に年月日や識別コ
ード等の初期値を要求する「初期値要求」ファンクショ
ン、要求された処理が正常に終了したことをユニットコ
ントローラ190に知らせる「正常終了」ファンクショ
ンおよび逆に正常に処理が終了しなかったことを知らせ
る「異常終了」ファンクション、挿入されたカードCD
に不正があることをカードリーダコントローラCPU2
が判定し自らの意志でカードCDを排出したことを知ら
せる「セルフ排出」ファンクション、ユニットコントロ
ーラ190に対して直前に送ってきたファンクションコ
ードの再送を要求する「再送要求」ファンクションと
「リロード」や「ステータス要求」に対してカードリー
ダ800のステータスを送信するための「ステータス送
信」ファンクションの8種類がある。各ファンクション
は、先頭を示すSTXコード、ファンクションコードF
NC、終端を示すETXコードからなり、ファンクショ
ンコードFNCとETXコードの間にデータやステータ
ス等が入るものもある。
On the other hand, the card reader controller CPU2
As a function code for the unit controller 190, a "card number transmission" function for transmitting a card number read by the card reader 800 to the unit controller 190, a "test card" function for notifying the unit controller 190 that a test card has been inserted, At the time of reset, an "initial value request" function for requesting an initial value such as a date and an identification code, a "normal end" function for notifying the unit controller 190 that the requested processing has been normally completed, and conversely, the processing is normally performed. "Abnormal termination" function to notify that it did not end, inserted card CD
Card reader controller CPU2
"Self-discharge" function for notifying that the card CD has been ejected by itself, a "re-send request" function for requesting the unit controller 190 to resend the function code sent immediately before, and "reload" and "reload". There are eight types of “status transmission” functions for transmitting the status of the card reader 800 in response to “status request”. Each function has an STX code indicating the head and a function code F
In some cases, NC and ETX codes indicating the end are used, and data, status, and the like are inserted between the function code FNC and the ETX code.

【0575】ただし、カードリーダコントローラCPU
2とユニットコントローラ190との間の交信は、ファ
ンクションコードを一方的に送るのではなく、先ず送信
側が呼かけコードENQを送り部、受信側から許可応答
ACKを受けた後にファンクションコードを送るように
なっている。
However, the card reader controller CPU
The communication between the unit controller 190 and the unit controller 190 does not send the function code unilaterally. Instead, the transmitting side first sends the interrogation code ENQ, and sends the function code after receiving the permission response ACK from the receiving side. Has become.

【0576】なお、上記「正常終了」ファンクションや
「異常終了」ファンクションおよび「ステータス」ファ
ンクションの中には〔表30〕、〔表31〕に示すよう
なカードリーダ800の状態を示す8ビットのステータ
ス1、ステータス2の入る欄が設けられており、ファン
クションコードとともにステータスがユニットコントロ
ーラ190へ送られる。また、「セルフ排出」ファンク
ションの中には、〔表32〕のような不正原因を示す8
ビットのコードの入る欄が設けられており、ファンクシ
ョンコードとともに送られるようになっている。
The "normal end" function, "abnormal end" function and "status" function include an 8-bit status indicating the state of the card reader 800 as shown in [Table 30] and [Table 31]. 1, a column for entering a status 2 is provided, and the status is sent to the unit controller 190 together with the function code. In the “self-discharge” function, 8 indicating the cause of fraud as shown in [Table 32] is included.
A column for entering a bit code is provided, and is sent together with the function code.

【0577】[0577]

【表30】 [Table 30]

【0578】[0578]

【表31】 [Table 31]

【0579】[0579]

【表32】 [Table 32]

【0580】図112には、カードリーダコントローラ
CPU2による主たる制御の手順全体が、また図12
8,図129には上記主制御とは別個にタイマ割込みに
よって発生する割込み処理の制御手順が示されている。
FIG. 112 shows the entire main control procedure by the card reader controller CPU2.
8, FIG. 129 shows a control procedure of an interrupt process generated by a timer interrupt separately from the main control.

【0581】カードリーダコントローラCPU2は、リ
セットがかかると、つまりリセット入力端子がロウレベ
ルに変化すると、図112に示すように先ず内部の初期
化(手順R1)を行なった後、ユニットコントローラ1
90に対して初期値要求を行なう(ルーチンR2)。そ
れからユニットコントローラ190から呼かけコードE
NQが入っているか調べ(ルーチンR3)、入っていれ
ばルーチンR11へ移行して応答コードACKを返して
からファンクションコードを受信する。そして、受信し
たファンクションコードに対応した処理(ルーチンR1
2)を実行した後、正常終了あるいは異常終了、ステー
タス送信等の処理結果を示すファンクションコードを送
信する(ルーチンR13)。
When the card reader controller CPU2 is reset, that is, when the reset input terminal changes to low level, the card reader controller CPU2 first performs internal initialization (procedure R1) as shown in FIG.
An initial value request is made to 90 (routine R2). Then, the call code E is issued from the unit controller 190.
It is checked whether NQ is present (routine R3), and if it is, the process proceeds to routine R11 to return a response code ACK and then receive a function code. Then, processing (routine R1) corresponding to the received function code
After the execution of 2), a function code indicating a processing result such as normal end or abnormal end, status transmission, and the like is transmitted (routine R13).

【0582】しかる後、初期値未設定か否かチェック
(ルーチンR14)して、未設定ならばルーチンR2へ
戻って再びユニットコントローラ190に対して初期値
の要求を行なう。一方、初期値が設定されているとき
は、ルーチンR3へ戻って呼かけコードENQが入って
るいるか調べる。ここで、ENQが入ってきていないと
きはルーチンR4へ進んで、内蔵RAM内に用意された
所定のフラグを見てカード挿入禁止状態になっているか
調べる。この“カード挿入禁止”フラグは、上記初期化
ルーチンR1で“1”にセットされ、受信ファンクショ
ン処理ルーチンR12でカードの受付を許可する処理が
なされるときに“0”にクリアされる。そこで、ルーチ
ンR4で“カード挿入禁止”フラグに“1”が立ってい
ればルーチンR3へ戻り、該フラグが“0”ならば次の
ルーチンR5へ進み、カード挿入検出センサ808を調
べてカードCDが挿入されているか判定する。ここで、
カード挿入センサがオフならばルーチンR3へ戻り、セ
ンサがオンならばルーチンR6へ進んでカードの読込み
を行なう。それから、読取ったデータを解析して不正カ
ードか否かチェック(ルーチンR7)し、不正カードと
判定したときは自己の指示でカードCDを排出させ、そ
のことをユニットコントローラ190へ知らせてからル
ーチンR3へ戻る(ルーチンR21)。一方、ルーチン
R7で正規のカードであると判定したときはルーチンR
8へ進み、ここで挿入されたカードCDがテスト用の特
殊なカードであるか否かを磁気コードより判定し、テス
ト用のカードの場合にはユニットコントローラ190に
対し、「テストカード」ファンクションを送信してから
ルーチンR3へ戻る(ルーチンR22)。
Thereafter, it is checked whether or not the initial value has not been set (routine R14). If the initial value has not been set, the routine returns to the routine R2 and requests the unit controller 190 for the initial value again. On the other hand, if the initial value has been set, the process returns to the routine R3 to check whether the calling code ENQ has been entered. Here, when the ENQ has not been entered, the process proceeds to the routine R4, and it is checked whether or not the card insertion is prohibited by checking a predetermined flag prepared in the built-in RAM. This "card insertion prohibition" flag is set to "1" in the initialization routine R1 and is cleared to "0" when the reception function processing routine R12 performs processing for permitting the acceptance of a card. Therefore, if "1" is set in the "card insertion prohibition" flag in the routine R4, the process returns to the routine R3, and if the flag is "0", the process proceeds to the next routine R5 to check the card insertion detection sensor 808 to check the card CD. Is inserted. here,
If the card insertion sensor is off, the routine returns to routine R3. If the sensor is on, the routine proceeds to routine R6 to read the card. Then, the read data is analyzed to check whether the card is a fraudulent card (routine R7), and when it is determined that the card is fraudulent, the card CD is ejected by its own instruction. Return to (Routine R21). On the other hand, if the routine R7 determines that the card is an authorized card, the routine R
8, it is determined whether the inserted card CD is a special test card or not by a magnetic code, and in the case of a test card, the "test card" function is applied to the unit controller 190. After transmitting, it returns to routine R3 (routine R22).

【0583】一方、挿入されたカードがテストカードで
ない正規カードの場合にはルーチンR9へ進み「カード
番号送信」ファンクションをユニットコントローラ19
0へ送信する。
On the other hand, if the inserted card is a regular card which is not a test card, the flow advances to routine R 9 to execute the “send card number” function to the unit controller 19.
Send to 0.

【0584】図113〜図117には、上記図112の
処理フローのより詳細な手順が示されている。
FIG. 113 to FIG. 117 show more detailed procedures of the processing flow of FIG. 112 described above.

【0585】このうち図113には、図112における
初期化ルーチンR1と初期値要求ルーチンR2の詳細が
示されている。
FIG. 113 shows details of the initialization routine R1 and the initial value request routine R2 in FIG. 112.

【0586】すなわち、カードリーダコントローラCP
U2はリセットがかかると、先ず各種フラグやカウン
タ、バッファ、ワークエリア、レジスタ等の入った内部
メモリをクリアする(ルーチンR101)。それから、
割込み発生時のスタックポインタを設定し、I/Oポー
トを初期化して入出力端子の状態を設定した後、機器コ
ード設定器MCSより設定コードを読み込んで記憶して
から、カード搬送用のモータ807へ電源を供給するリ
レーRLY1をオンさせる(ルーチンR102〜R10
5)。
That is, the card reader controller CP
When reset, U2 first clears the internal memory containing various flags, counters, buffers, work areas, registers, etc. (routine R101). then,
After setting the stack pointer when an interrupt occurs, initializing the I / O port and setting the state of the input / output terminals, the setting code is read and stored from the device code setting device MCS, and then the card transport motor 807 is set. Turns on relay RLY1 that supplies power to the power supply (routines R102 to R10).
5).

【0587】次に、エラー原因を表示するモニタ表示器
175を消灯状態に設定し、電源投入状態を示すパワー
オンランプLED21を点灯させた後、RAM内のステ
ータスレジスタの初期値未設定指示ビットに“1”を立
てる(ルーチンR106〜R108)。
Next, the monitor display 175 for displaying the cause of the error is set to the off state, the power-on lamp LED 21 for indicating the power-on state is turned on, and the initial value non-setting instruction bit of the status register in the RAM is set to “0”. 1 "is set (routines R106 to R108).

【0588】しかる後、内蔵RAM内の“カード挿入禁
止”フラグに“1”を立ててから、シャッタソレノイド
809をオフ状態にしてシャッタを閉じた状態にする
(ルーチンR109,R110)。それから、ルーチン
R111〜R113で、カードリーダ内の位置検出セン
サSNS2〜SNS4がオフまたはオン状態のいずれに
なっているか調べ、いずれか一つのセンサがオン状態に
なっていればカード挿入状態を示すカードインランプL
ED12を点灯(ルーチンR114)させてから、ま
た、いずれのセンサもオフであればそのままルーチンR
115へ進む。これにより、停電復旧時のリセットの際
にカードリーダ内にカードが入っていることを外部に知
らせることができる。そしてルーチンR115では送信
用バッファに「初期値要求」ファンクションコードと終
端コードEXTを設定した後、図130に示されている
ような手順に従ったファンクション送信処理ルーチンR
401〜R423へ移行する。そして、この送信処理ル
ーチン実行終了後に、図114に示されているルーチン
R132へ移行する(符号M1参照)。
After that, the "card insertion prohibition" flag in the built-in RAM is set to "1", and then the shutter solenoid 809 is turned off to close the shutter (routines R109 and R110). Then, in routines R111 to R113, it is checked whether the position detection sensors SNS2 to SNS4 in the card reader are off or on. If any one of the sensors is on, the card indicating the card insertion state is displayed. In lamp L
After the ED 12 is turned on (routine R114), and if all the sensors are off, the routine R
Proceed to 115. This makes it possible to notify the outside that a card is in the card reader at the time of reset at the time of restoration from power failure. In the routine R115, after setting the "initial value request" function code and the termination code EXT in the transmission buffer, the function transmission processing routine R according to the procedure shown in FIG.
The processing moves to 401 to R423. Then, after the execution of the transmission processing routine, the flow shifts to a routine R132 shown in FIG. 114 (see reference numeral M1).

【0589】ルーチンR132では状態表示ランプ群の
うちOKランプLED13を点灯させてからルーチンR
133へ進み、ここで“送信未完了”フラグがセットさ
れているか否かチェックする。このフラグはファンクシ
ョン送信手順を示すフロー(図130)中のルーチンR
423でセットされる。つまり、ユニットコントローラ
190とカードリーダコントローラCPU2が同時に送
信処理に入った場合の衝突を回避するため用意されてい
るもので、この実施例では2つの送信が衝突したときユ
ニットコントローラに送信権を渡し、カードリーダコン
トローラCPU2は“送信未完了”フラグをセットして
から受信処理へ移るようになっている。
In the routine R132, the OK lamp LED13 of the status display lamp group is turned on, and then the routine R132 is started.
The process proceeds to 133, where it is checked whether the "transmission incomplete" flag is set. This flag corresponds to the routine R in the flow (FIG. 130) indicating the function transmission procedure.
Set at 423. In other words, the unit controller 190 and the card reader controller CPU2 are provided to avoid a collision when the transmission process is started at the same time. In this embodiment, when two transmissions collide, the transmission right is passed to the unit controller, The card reader controller CPU2 sets the "transmission incomplete" flag before moving to the reception process.

【0590】図114に戻って、ルーチンR133で送
信が終了していればルーチンR121へも移行する。
“送信未完了”フラグが“0”になっているときは、ル
ーチンR121へ移行してRAM内の受信バッファへの
受信データの取込みを許可してから、RAM内に設けら
れたエラー情報エリアをクリアする(ルーチンR12
2)。次に、“送信中断”フラグの状態を調べ、“1”
が立っているときすなわち中断中ならば、ルーチンR1
34へジャンプして、図130の送信処理ルーチンの中
でスタック領域へセーブした送信データを送信バッファ
へ移行した後、“送信中断”フラグを“0”にクリア
(ルーチンR135)し、再び送信処理ルーチンを実行
する(ルーチンR401〜R423)。
Returning to FIG. 114, if the transmission is completed in routine R133, the routine also moves to routine R121.
When the "transmission incomplete" flag is "0", the process proceeds to the routine R121 to permit the reception of the reception data into the reception buffer in the RAM, and then the error information area provided in the RAM is cleared. Clear (Routine R12
2). Next, the state of the "transmission interrupted" flag is checked, and "1"
When is standing, that is, during suspension, the routine R1
34, the transmission data saved in the stack area in the transmission processing routine of FIG. 130 is transferred to the transmission buffer, the "transmission interruption" flag is cleared to "0" (routine R135), and the transmission processing is performed again. A routine is executed (routines R401 to R423).

【0591】一方、ルーチンR123で“送信中断”フ
ラグが“0”のときにはルーチンR124へ進み、ここ
でユニットコントローラ190からの送信呼かけコード
ENQが入っているか調べ、入っていれば図115のル
ーチンへジャンプ(符号M5参照)し、ENQが入って
いなければ次のルーチンR125で制御ユニット160
内の制御基板上に設けられている排出スイッチがオンさ
れているか調べ、オンのときは図116のルーチン(後
述)へジャンプし(符号M6参照)、オフのときは“カ
ード番号待ち”フラグの状態を調べる。この“カード番
号待ち”フラグは、モータを逆転してカードCDを排出
した直後のカード先端のみをカードリーダ800が咥え
ていて遊技客による取出しを待っている状態(このとき
挿入検出センサ808と第1位置検出センサSNS1は
オン)にあることを示すフラグで、このフラグが“0”
のときはそのままルーチンR130へ、また、“1”の
ときはルーチンR127,R128へ進み両センサがオ
フされるまでルーチンR124〜R128を繰り返し、
オフした時点でルーチンR129へ進んで“カード受取
待ち”フラグをクリアしてからルーチンR130へ移行
する。
On the other hand, if the "transmission interruption" flag is "0" in routine R123, the routine proceeds to routine R124, where it is checked if the transmission call code ENQ from the unit controller 190 is entered, and if it is entered, the routine of FIG. 115 is executed. Jump to (see reference numeral M5), and if ENQ is not entered, the control unit 160 is executed in the next routine R125.
A check is made to see if the ejection switch provided on the control board inside is turned on. If it is on, the process jumps to the routine of FIG. 116 (described later) (see reference numeral M6). Check the status. The "waiting for card number" flag is a state in which the card reader 800 holds only the front end of the card immediately after ejecting the card CD by reversing the motor and is waiting for removal by the player (at this time, the insertion detection sensor 808). It is a flag indicating that the first position detection sensor SNS1 is on), and this flag is "0".
If so, go to routine R130 as it is, and if it is "1", go to routines R127 and R128, and repeat routines R124 to R128 until both sensors are turned off.
When it is turned off, the routine proceeds to the routine R129 to clear the "card receipt waiting" flag and then shifts to the routine R130.

【0592】ルーチンR130では“カード挿入禁止”
フラグの状態を調べて、“1”ならばルーチンR124
へ戻り、“0”ならば図133に示されているカード挿
入処理ルーチンを実行してからルーチンR131で“カ
ード読込み終了”フラグを調べて、未終了ならルーチン
R124へ戻り、終了ならルーチンR132へ進む。そ
して、OKランプ点灯後、ルーチンR133での判定が
イエスの場合および上記ルーチンR124での判定がイ
エスの場合には、それぞれ図115のルーチンへ移行す
る(符号M5参照)。
In the routine R130, "Card insertion prohibited"
The state of the flag is checked, and if "1", the routine R124
If "0", the card insertion processing routine shown in FIG. 133 is executed, and then the "card reading end" flag is checked in a routine R131. If not completed, the process returns to the routine R124. move on. Then, after the OK lamp is turned on, when the determination in the routine R133 is YES and when the determination in the above-described routine R124 is YES, the process proceeds to the routine of FIG. 115 (see reference numeral M5).

【0593】ここでは、先ず図131に示されているよ
うな受信処理R431〜R441を実行してから、ルー
チンR141で受信バッファへの受信データの取込みを
禁止する状態にする。それからカードリーダの異常原因
を示すモニタ表示部175およびOKランプLED13
を消灯(ルーチンR142,R143)した後、上記受
信処理で受信しバッファに格納された受信データのファ
ンクションコードを読み出して解読し(ルーチンR14
4,R145)、正規のファンクションコードの場合は
そのコードに対応した処理(図118〜図125)を実
行する。一方、正規のファンクションコードでないとき
はルーチンR150へジャンプしてRAM内のエラー情
報エリアにファンクションコードエラーを書き込んでか
ら図117のエラー処理へ移行する(符号M7参照)。
Here, first, the reception processing R431 to R441 as shown in FIG. 131 is executed, and then the routine R141 is set to a state in which the reception of the reception data in the reception buffer is prohibited. Then, the monitor display unit 175 and the OK lamp LED 13 indicating the cause of the card reader abnormality are displayed.
Is turned off (routines R142 and R143), and the function code of the received data received in the above-described reception processing and stored in the buffer is read and decoded (routine R14).
4, R145), and in the case of a regular function code, processing corresponding to the code (FIGS. 118 to 125) is executed. On the other hand, if the function code is not a legitimate function code, the routine jumps to the routine R150, writes a function code error in the error information area in the RAM, and shifts to the error processing of FIG.

【0594】また、上記受信ファンクションコードに応
じた処理を実行した後は、ルーチンR147で“初期値
未設定”フラグを調べて“0”なら図114のルーチン
R132へ移行し(符号M1参照)、初期値が未設定な
らルーチンR148でOKランプを点灯してから“送信
未完了”フラグを調べる。そして、“1”なら受信処理
ルーチンR431〜R441へ戻り(符号M5参照)、
“0”なら図113のルーチンR115へ移行する(符
号M4参照)。
After executing the processing according to the reception function code, the "initial value not set" flag is checked in the routine R147, and if "0", the flow shifts to the routine R132 in FIG. 114 (see reference numeral M1). If the initial value is not set, the OK lamp is turned on in the routine R148, and the "transmission incomplete" flag is checked. If it is "1", the process returns to the reception processing routines R431 to R441 (see reference numeral M5).
If "0", the flow shifts to the routine R115 in FIG. 113 (see reference numeral M4).

【0595】ルーチンR125で排出スイッチがオンさ
れたと判定したときは図116のルーチンR161へジ
ャンプし、先ず受信バッファへの受信データの取込みを
禁止してからOKランプを消灯して(ルーチンR16
2)、図132に示されているような手順に従ったカー
ド排出処理やR451〜R484を実行する。その後、
“カード受取待ち”フラグをセット(ルーチンR16
3)してから、RAM内の送信バッファへセルフ排出フ
ァンクションコードと不正原因および送信データの終端
を示すETXコードを順次設定(ルーチンR164〜R
166)した後、図130に示されている手順に従って
送信処理(ルーチンR401〜R423)を実行する。
それから、ルーチンR167でOKランプを点灯させた
後、“送信未完了”フラグを調べ(ルーチンR16
8)、“1”なら図115のルーチンへ移行し(符号M
5参照)、“0”ならルーチンR169でモニタ表示器
175を消灯してから図114のルーチンR121へ移
行する(符号M2参照)。
If it is determined in the routine R125 that the ejection switch has been turned on, the flow jumps to the routine R161 in FIG. 116, where the taking of the reception data into the reception buffer is first inhibited, and then the OK lamp is turned off (routine R16).
2) Execute card ejection processing and R451 to R484 according to the procedure shown in FIG. afterwards,
Set the “card waiting” flag (routine R16
3) After that, the self-discharge function code and the ETX code indicating the cause of the injustice and the end of the transmission data are sequentially set in the transmission buffer in the RAM (routines R164 to R164).
166), the transmission processing (routines R401 to R423) is executed according to the procedure shown in FIG.
Then, after turning on the OK lamp in the routine R167, the "transmission incomplete" flag is checked (the routine R16
8) If "1", the process proceeds to the routine in FIG.
5), if “0”, the monitor display 175 is turned off in the routine R169, and then the routine proceeds to the routine R121 in FIG. 114 (see the symbol M2).

【0596】さらに、図115に示すルーチンR150
においてエラー情報書込み後、符号M7に従って図11
7のエラー処理ルーチンへ移行すると、先ずRAMに書
き込まれたエラー情報に対応したモニタ表示データをR
OMから読み出して、その表示データをモニタ表示部1
75に出力してエラー原因を数字等によって表示させる
(ルーチンR171,R172)。それから、OKラン
プを消灯し、タイマ割込みがかからないようにロックし
てから、カード搬送用のモータ807を停止させ、シャ
ッタソレノイド809をオフしてカードが挿入できない
状態にする(ルーチンR173〜R176)。次に、ル
ーチンR177でエラーの原因がパリティエラーか否か
判定し、パリティエラーなら、送信バッファへ「再送要
求」ファンクションコードとETXコードを設定(ルー
チンR178,R179)して図130の送信処理ルー
チンR401〜R423を実行してからルーチンR18
0へ進み、“送信未完了”フラグを調べて、図114の
ルーチンR121または図115の受信処理R431〜
R441へ移行する。
Further, a routine R150 shown in FIG.
After writing the error information in FIG.
7, the monitor display data corresponding to the error information written in the RAM
OM, and reads the display data from the monitor display unit 1.
The error is output to the terminal 75 and the cause of the error is displayed by a numeral or the like (routines R171 and R172). Then, the OK lamp is turned off, the timer is locked so as not to be interrupted, the motor 807 for conveying the card is stopped, and the shutter solenoid 809 is turned off so that the card cannot be inserted (routines R173 to R176). Next, in the routine R177, it is determined whether or not the error is a parity error. If the error is a parity error, a "retransmission request" function code and an ETX code are set in the transmission buffer (routines R178, R179), and the transmission processing routine of FIG. After executing R401 to R423, the routine R18
0, the "transmission incomplete" flag is checked, and the routine R121 in FIG. 114 or the reception processing R431 to R431 in FIG.
The process moves to R441.

【0597】一方、ルーチンR177における判定で、
パリティエラーがないと分かったときは、ルーチンR1
81,R182でエラー情報を調べてエラーの原因がカ
ード異常のときは、符号M6で示すように図116のカ
ード排出処理ルーチンへ、またエラー原因がインタフェ
ース異常のときは、符号M2で示すように図114のル
ーチンR121へ移行し、それ以外のときは図124に
示されている異常終了処理ルーチンR293〜R296
を実行してからルーチンR180で“送信未完了”フラ
グを調べて符号M2またM5で示されているルーチンへ
移行する。
On the other hand, in the determination in the routine R177,
If it is determined that there is no parity error, the routine R1
The error information is checked in steps 81 and R182, and if the cause of the error is a card error, the flow proceeds to the card ejection processing routine of FIG. 116 as indicated by reference numeral M6. The processing shifts to the routine R121 in FIG. 114, and otherwise, the abnormal end processing routines R293 to R296 shown in FIG. 124.
Is executed, the "transmission incomplete" flag is checked in a routine R180, and the routine shifts to a routine indicated by reference numerals M2 and M5.

【0598】図118〜図125には、図112のフロ
ーのルーチンR12と図115のルーチンR146に現
われた各受信ファンクションコードに応じた処理を実行
するためのフローチャートを示す。
FIGS. 118 to 125 show flowcharts for executing processing corresponding to each reception function code appearing in the routine R12 of the flow of FIG. 112 and the routine R146 of FIG. 115.

【0599】このうち、図118は「初期値設定」ファ
ンクションコードを受信した場合の処理手順を示す。こ
のフローチャートの中でルーチンR202は、2進化1
0進法で表現された年月日コードからビット数を合わせ
るためにつけられた余分なビットとパリティビットを外
してバイナリコードに変換してからRAM内の初期値エ
リアに設定するものである。また、ルーチンR204で
“送信未完了"フラグをクリアしているのは、カードリ
ーダコントローラCPU2が「初期値要求」の送信をし
ているときにユニットコントローラ190の側から初期
値を送ってくることがあることを考慮したもので、その
場合カードリーダコントローラCPU2は送信を一時中
断し、受信を優先して処理するためである。
FIG. 118 shows a processing procedure when the “initial value setting” function code is received. In this flowchart, the routine R202 is a binary evolution 1
An extra bit and a parity bit added to adjust the number of bits are removed from the date code expressed in the 0-base system, converted to a binary code, and set in the initial value area in the RAM. The reason why the "transmission not completed" flag is cleared in the routine R204 is that the unit controller 190 sends an initial value when the card reader controller CPU2 is transmitting the "initial value request". In this case, the card reader controller CPU2 temporarily suspends the transmission and preferentially processes the reception.

【0600】図119は「カード受付可」ファンクショ
ンコードを受信した場合の処理手順を示す。
FIG. 119 shows a processing procedure when the "card accepted" function code is received.

【0601】「カード受付可」ファンクションコード
は、管理装置400から制御ユニットに対して、“開店
コード”、“打止解除”、“強制終了解除”、“リスタ
ート”等のパケットが送られたときにユニットコントロ
ーラ190からカードリーダコントローラCPU2に対
して送信される。
As for the “card accepted” function code, a packet such as “opening code”, “cancel release”, “forced release”, “restart” or the like is transmitted from the management device 400 to the control unit. Sometimes transmitted from the unit controller 190 to the card reader controller CPU2.

【0602】なお、同図のフローにおいてルーチンR2
13〜R215で位置検出センサ2,3,4の状態をチ
ェックしているのは、カードリーダ800内にカードC
Dが入った状態で停電が生じ、その後電源が回復した場
合に再度カードを挿入し直す手間を省くためである。
Note that in the flow of FIG.
13 to R215, the condition of the position detection sensors 2, 3, and 4 is checked because the card C
This is to save the trouble of reinserting the card when a power failure occurs in the state of D and the power is restored afterwards.

【0603】また、ルーチンR218で閉じられたシャ
ッタは挿入検出センサ808のオンを検知したときに開
かれるようにされる。これに対し、ルーチンR225で
シャッタが閉じられたときは、その前に“カード挿入禁
止”フラグを設定しているため、このフラグがクリアさ
れない限り挿入検出センサがオンしてもシャッタは開か
れず、これによって、カードCDの2重挿入が回避され
る。
The shutter closed in the routine R218 is opened when the insertion detection sensor 808 is turned on. On the other hand, when the shutter is closed in the routine R225, since the "card insertion prohibition" flag is set before that, the shutter is not opened even if the insertion detection sensor is turned on unless this flag is cleared. Thereby, double insertion of the card CD is avoided.

【0604】図120は、「カード受付不可」ファンク
ションコードを受信した場合の処理手順を示す。
FIG. 120 shows a processing procedure when the "card cannot be accepted" function code is received.

【0605】このフローでは、ルーチンR233でカー
ドリーダ800内の全センサのうち一つでもオンしてい
ればカードCDがカードリーダ800内に存在している
と判定して、カード排出処理R451〜R484を行な
うようになっている。
In this flow, if at least one of all the sensors in the card reader 800 is turned on in the routine R233, it is determined that the card CD is present in the card reader 800, and the card ejection processing R451 to R484 is performed. Is to be performed.

【0606】また、ルーチンR231で“送信未完了”
フラグをクリアしているのは、ユニットコントローラ1
90とカードリーダコントローラCPU2の送信が重な
って、カードリーダコントローラCPU2が送信を中断
し、ファンクションを受信したところ「カード受付不
可」ファンクションであった場合に、以後リセットがか
かるまであるいはユニットコントローラ190からステ
ータス要求等があるまで受信のみすればよいためであ
る。
[0606] In the routine R231, "transmission not completed"
The flag is cleared by the unit controller 1
When the transmission of the card reader controller CPU2 overlaps with the transmission of the card reader controller 90, the card reader controller CPU2 interrupts the transmission, and when the function is received, if the function is “card rejection impossible”, the status is reset until the reset is performed or the status is returned from the unit controller 190. This is because reception only needs to be performed until there is a request or the like.

【0607】なお、この「カード受付不可」ファンクシ
ョンは、管理装置400から制御ユニット160に対
し、“閉店コード”、“強制終了”等のパケットが送ら
れてきたり、打止条件が成立したと判断した場合にユニ
ットコントローラ190からカードリーダコントローラ
CPU2に対して送信される。
[0607] The "card cannot be accepted" function determines that a packet such as a "closure code" or "forced termination" has been sent from the management device 400 to the control unit 160, or that the stop condition has been satisfied. In this case, it is transmitted from the unit controller 190 to the card reader controller CPU2.

【0608】図121は“カード排出”ファンクション
コードを受信した場合の処理手順を示す。
FIG. 121 shows a processing procedure when the "card ejection" function code is received.

【0609】このフローでは、送信を中断して受信した
ファンクションが、“カード排出”ファンクションであ
った場合に、送信中断ファンクションが“カード番号送
信”,“テストカード”または“セルフ排出”であれば
“送信中断”フラグをクリアするようにしている(ルー
チンR244〜R248)。これによって受信処理後に
おける再送信を省略できる。既にカードリーダ内に有効
なカードがないので改めて送信を行なう必要性がなくな
っているからである。上記3つ以外のファンクションコ
ードの送信を中断しているときは、“送信中断”フラグ
をみてカード排出処理後に改めて送信を行なう。
In this flow, if the transmission interrupted function is “card ejection” function and the received function is “card number transmission”, “test card” or “self ejection”, The "transmission interruption" flag is cleared (routines R244 to R248). As a result, retransmission after the reception processing can be omitted. This is because there is no longer a valid card in the card reader, and there is no need to transmit again. If the transmission of the function codes other than the above three is interrupted, the transmission is performed again after the card ejection processing by referring to the “transmission interrupted” flag.

【0610】ルーチンR250の次に行なわれるパンチ
処理は、図126および図127に示されているような
手順に従って行なわれる(ルーチンR301〜R35
1)。
The punching process performed after routine R250 is performed according to the procedure shown in FIGS. 126 and 127 (routines R301 to R35).
1).

【0611】図122は、「リロード」ファンクション
コードを受信した場合の処理手順を示す。
FIG. 122 shows a processing procedure when a “reload” function code is received.

【0612】このフローでは先ず初期値が設定されてい
るか調べ、未設定のときは、図124の「異常終了」フ
ァンクション送信処理ルーチンR293〜R296へ移
行する(ルーチンR261)。
In this flow, it is first checked whether the initial value has been set. If not, the flow shifts to the "abnormal end" function transmission processing routines R293 to R296 in FIG. 124 (routine R261).

【0613】また、初期値が設定済なら、ルーチンR2
62で“挿入禁止”フラグをクリアしてカードの挿入を
許可してから位置検出センサSNS2〜SNS4を調べ
ていずれかがオンしていればカード有りとみなして、
“セキュリティ未読込み”フラグを設定する。それか
ら、図133の磁気処理ルーチンR541〜R579へ
移行して、カードの磁気データやセキュリティ、パンチ
穴の再読取りおよびその読取りデータの検査を行ない、
結果をユニットコントローラへ送信する。
If the initial value has been set, the routine R2
After clearing the "insertion prohibition" flag at 62 and permitting card insertion, the position detection sensors SNS2 to SNS4 are checked, and if any one is on, it is determined that a card is present.
Set the "unread security" flag. Then, the flow proceeds to the magnetic processing routines R541 to R579 in FIG. 133, where the magnetic data and security of the card, re-reading of the punched holes and inspection of the read data are performed.
Send the result to the unit controller.

【0614】一方、位置検出センサSNS2〜SNS4
がすべてオフつまりカードリーダ800内にカードCD
がないときは、挿入検出センサ808と位置検出センサ
SNS1をチェックして(ルーチンR266,R26
7)、いずれもオフしているときはシャッタを閉じてカ
ードイン表示ランプLED12を消灯し、かつカード保
持ランプLED1を点灯状態にして(ルーチンR269
〜R271)から、図124のステータス送信処理(R
291,R294〜R296)へ移行してカードが入っ
ていなかったことをユニットコントローラ190へ知ら
せる。
[0614] On the other hand, the position detection sensors SNS2 to SNS4
Are all off, that is, the card CD in the card reader 800
If not, check the insertion detection sensor 808 and the position detection sensor SNS1 (routines R266 and R26).
7) If both are off, the shutter is closed to turn off the card-in indicator LED 12 and turn on the card holding lamp LED 1 (routine R269).
To R271), the status transmission process (R
291 and R294 to R296) to notify the unit controller 190 that no card has been inserted.

【0615】なお、ルーチンR266とR267のいず
れかでセンサがオンしているときは、カードCDの先端
のみがカードリーダ800に咥え込まれている状態とみ
なし、ルーチンR268で“カード受取待ち”フラグを
設定してからルーチンR269へ移行してシャッタを閉
じる。
When the sensor is turned on in either of the routines R266 and R267, it is assumed that only the leading end of the card CD is held by the card reader 800, and the routine waits for the "waiting for card reception" in the routine R268. After setting the flag, the flow shifts to routine R269 to close the shutter.

【0616】図123には、「帰零」ファンクションコ
ードを受信した場合の処理手順を示す。
FIG. 123 shows a processing procedure when the “return-to-zero” function code is received.

【0617】このフローでは、先ず位置検出センサSN
S2〜SNS4を調べて(ルーチンR281〜R28
3)、いずれかのセンサがオンしていればカード有りと
みなして、ルーチンR284へ移行してパンチ穴バッフ
ァを調べて既にカードのパンチ穴形成領域に遊技孔が開
いているか否か判定する。そして、遊技孔が開いていれ
ばルーチンR286へジャンプし、遊技孔が開いていな
いときは、ルーチンR285で遊技孔の位置情報を設定
してから図126、図127のパンチ穴開け処理(ルー
チンR301〜R352)を実行してカードに遊技孔を
開けてからルーチンR286へ移行し、帰零孔の位置情
報を設定して再びパンチ穴開け処理(ルーチンR301
〜R352)を実行する。その後、図132のカード排
出処理R451〜R484を実行して、“カード受付待
ち”フラグを設定してから、図124の「正常終了」フ
ァンクション送信処理(R292,R294〜R59
6)へ移行する。
In this flow, first, the position detection sensor SN
Check S2 to SNS4 (routines R281 to R28
3) If any of the sensors is on, it is determined that a card is present, and the routine goes to a routine R284 to check the punch hole buffer and determine whether or not a game hole has already been opened in the punch hole forming area of the card. If the game hole has been opened, the routine jumps to the routine R286. If the game hole has not been opened, the position information of the game hole is set in the routine R285, and then the punching process shown in FIGS. 126 and 127 (routine R301) To R352) to open a game hole in the card, and then the routine goes to a routine R286 where the position information of the return-to-zero hole is set and the punching process is performed again (routine R301).
To R352). Thereafter, the card ejection processes R451 to R484 in FIG. 132 are executed to set the "card reception wait" flag, and then the "normal end" function transmission process (R292, R294 to R59) in FIG.
Go to 6).

【0618】図124および図125には「ステータ
ス」ファンクションコードおよび「再送要求」ファンク
ションコードの送信処理手順が示されている。
FIGS. 124 and 125 show the procedure for transmitting the “status” function code and the “retransmission request” function code.

【0619】これらのファンクション送信は、ユニット
コントローラ190からの「ステータス要求」と「再送
要求」に応じてなされるもので、先ず送信すべきコード
を順番に送信バッファに設定してから図130の送信処
理R401〜R423へ移行する。
These function transmissions are performed in response to a “status request” and a “retransmission request” from the unit controller 190. First, codes to be transmitted are set in the transmission buffer in order, and then the transmission shown in FIG. The process proceeds to R401 to R423.

【0620】なお、図124には、図118〜図123
の各処理を実行した後に処理結果を送信する際に実行さ
れる処理も合わせて示してある。
Note that FIG. 124 shows FIGS. 118 to 123.
Also, the processing executed when the processing result is transmitted after the execution of each processing of FIG.

【0621】図126のパンチ処理では、先ずステータ
ス1内のパンチ不良ビットを、“0”にクリアしてか
ら、初期化ルーチン等でRAM内に設定したパンチ穴位
置に基づいて基準位置からの距離をROMから読み出し
て、バッファに記憶した後、図127の穴開け処理(R
311〜R352)を実行する。
In the punching process shown in FIG. 126, first, the punch defective bit in status 1 is cleared to “0”, and then the distance from the reference position is set based on the punch hole position set in the RAM by the initialization routine or the like. Is read from the ROM and stored in the buffer, and then the hole forming process (R
311 to R352).

【0622】穴開け処理では、先ずカードCDをカード
リーダ800の一番奥まで移動(ルーチンR311)し
て“パンチOK”フラグをクリア(ルーチンR312)
した後、モータを逆転させてタイマ(3秒)を起動さ
せ、“移動量検出”フラグをセットしてから移動量カウ
ンタをクリアする(ルーチンR314〜R318)。そ
して“タイマ2動作”フラグをセットしてタイマ割込み
を許可し、タイマ割込みにより移動量を検出してパンチ
穴開け位置に達したところでモータの回転を停止させ
(ルーチンR321,R322)、モータが完全に止ま
るのを待つため150m秒間待機(ルーチンR323)
してからパンチ装置820を作動させる(ルーチンR3
24〜R327)。
In the punching process, first, the card CD is moved to the innermost position of the card reader 800 (routine R311) to clear the “punch OK” flag (routine R312).
After that, the motor is reversed to start the timer (3 seconds), the "movement amount detection" flag is set, and then the movement amount counter is cleared (routines R314 to R318). Then, the "timer 2 operation" flag is set, the timer interrupt is permitted, 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 operates the punch device 820 (routine R3
24-R327).

【0623】上記ルーチンR323〜R327を2回繰
り返して穴開けを確実にしてから、移動量カウンタをク
リアしてモータを高速で逆転させて開口したパンチ穴が
パンチ穴検出センサSNSpに対向する方向へカードC
Dを動かす。そして、パンチ穴検出センサがオンしてい
るか判定し、正規の位置にパンチ穴が開いているときは
“パンチOK”フラグをセットしてから、第1の位置検
出センサSNS1がオンしてカードCDの後端を検出し
たところでタイマ割込みを停止させるとともにモータを
停止させる(ルーチンR329〜R340)。それか
ら、図126の処理へ戻ってルーチンR303で“パン
チOK”フラグが“1”になっているか判定し、“0”
ならパンチ穴開け不良としてエラー処理へ移行する(ル
ーチンR304,R305)。
After the above routines R323 to R327 are repeated twice to make sure the holes are punched, the moving amount counter is cleared and the motor is reversed at high speed so that the opened punched holes face the punched hole detection sensor SNSp. Card C
Move D. Then, it is determined whether or not the punch hole detection sensor is turned on. If the punch hole is opened at a regular position, the "punch OK" flag is set, and then the first position detection sensor SNS1 is turned on and the card CD is turned on. When the rear end is detected, the timer interrupt is stopped and the motor is stopped (routines R329 to R340). Then, returning to the processing of FIG. 126, it is determined in the routine R303 whether the “punch OK” flag is “1” and “0” is determined.
If so, the process proceeds to error processing as a punch hole defect (routine R304, R305).

【0624】上記ルーチンにおいてカード移動中にタイ
ムオーバを起こすとカードのジャム(紙づまり)が発生
したと判定し、それぞれエラー処理に入るようになって
いる(ルーチン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 and R332).

【0625】次に、タイマ割込みが入った場合の処理を
図128,図129を用いて説明する。
Next, processing when a timer interrupt occurs will be described with reference to FIGS. 128 and 129.

【0626】既に述べたように、この実施例のカードリ
ーダではモータの回転速度を検出するセンサ832から
の検出信号が割込み信号としてカードリーダコントロー
ラCPU2に入力されており、コントローラ内部の“タ
イマ2動作”フラグが“1”にセットされているときに
この信号が入ってくると、図128のタイマ2割込み処
理を実行するようになっている。
As described above, in the card reader of this embodiment, the detection signal from the sensor 832 for detecting the rotation speed of the motor is input to the card reader controller CPU2 as an interrupt signal, and the "timer 2 operation" inside the controller is performed. When this signal comes in while the "flag" is set to "1", the timer 2 interrupt processing of FIG. 128 is executed.

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

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

【0629】また、タイマ2割込み処理に入って“移動
量検出”フラグが“0”のときはルーチンR702へ進
み移動量カウンタをインクリメントしてから、ルーチン
R703で“セキュリティ読取中”フラグがセットされ
ているかチェックし、セットされていればルーチンR7
04へ進み移動量が4.8mm以上になったか判定する
(“セキュリティ読取中”フラグが“0”のときは図1
29のパンチ穴読取りルーチンへ移行する)。“セキュ
リティ読取中”フラグがセットされるのは図134のセ
キュリティ読取り処理中のルーチンR523でパンチ穴
センサSNSpがオンしたときであり、このときセキュ
リティコード読取センサ810aはカードCDのセキュ
リティ領域(TF)の始端に位置する。しかして、最初
のセキュリティマークはセキュリティ領域の始端から4.
8mm以上離れた位置に設けられる。そこで、ルーチンR
704で移動量が4.8mm以上になったと判定しているの
である。4.8mm以下の場合は割込み処理を終了し、次の
タイマ2割込みで再び移動量カウンタをインクリメント
する。そして、移動量が4.8mmに達すると、ルーチンR
711へ移行し、そこで先ず移動量とルーチンR519
でRAM内に設定された読取範囲とを比較し、読取範囲
内であればセキュリティのコード読取センサがオンにな
っているか判定し、オンならばセキュリティコードの幅
を計数するカウンタをインクリメントして割込み処理を
終了する(ルーチンR712,R713)。そして、コー
ド読取センサがオフになった時点でカウンタの値を調べ
(ルーチンR714)セキュリティコードの幅が“0”
ならコードなしと判定し、割込み処理を終了する。一
方、セキュリティの幅が“0”でなければカウンタの幅
をバッファに移してからカウンタをクリアし、セキュリ
ティ幅が0.5mm以上あるか否か判定する(ルーチンR7
15,R716)。ここで、幅が0.5mm以下なら異常と
みなし、0.5mm以上ならシフトレジスタとして動作され
るセキュリティバッファの最上位(または最下位)ビッ
トに“1”を立てる。
If the "moving amount detection" flag is "0" upon entering the timer 2 interrupt processing, the flow advances to routine R702, where the moving amount counter is incremented. Then, the "security reading" flag is set in routine R703. Check if it is set, and if it is set, the routine R7
04, it is determined whether or not the movement amount has become 4.8 mm or more (when the “security reading” flag is “0”, FIG.
The process proceeds to a punch hole reading routine of No. 29). The "reading security" flag is set when the punch hole sensor SNSp is turned on in the routine R523 during the security reading process in FIG. 134. At this time, the security code reading sensor 810a sets the security area (TF) of the card CD. Is located at the beginning of. Thus, the first security mark is 4.
Provided at a distance of 8mm or more. Therefore, the routine R
In 704, it is determined 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. When the movement amount reaches 4.8 mm, the routine R
The process then proceeds to step 711, where the movement amount and the routine R519 are first determined.
Compares with the reading range set in the RAM, determines if the security code reading sensor is on if it is within the reading range, and if it is on, increments the counter that counts the width of the security code and interrupts The process ends (routines R712 and R713). When the code reading sensor is turned off, the value of the counter is checked (routine R714).
If so, it is determined that there is no code, and the interrupt processing ends. On the other hand, if the security width is not "0", the counter width is transferred to the buffer, the counter is cleared, and it is determined whether the security width is 0.5 mm or more (routine R7).
15, 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.

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

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

【0632】ここでは、カード移動量が読取範囲内に入
っているか判定し、入っているときは上記手順を繰り返
し、読取範囲から外れるとルーチン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-described procedure is repeated.

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

【0634】図130には、図113〜図117に示す
メインルーチン内において現われるファンクションコー
ドの送信処理の手順が、また図131には、同じくファ
ンクションコードの受信処理の手順が示されている。
FIG. 130 shows the procedure for transmitting the function code appearing in the main routine shown in FIGS. 113 to 117, and FIG. 131 shows the procedure for receiving the function code.

【0635】さらに、図132には、メインルーチン内
において現われるカード排出処理の手順、図133には
同じくカード挿入処理の大まかな手順が、そして図13
4〜図141には、図133のルーチン中に現われる各
種処理の具体的な手順が示されている。
Further, FIG. 132 shows the procedure of the card ejection processing appearing in the main routine, FIG. 133 shows the general procedure of the card insertion processing, and FIG.
FIGS. 4 to 141 show specific procedures of various processes appearing in the routine of FIG. 133.

【0636】図130のファンクション送信処理におい
ては、先ずRAM内のカウンタに再送信回数を設定(ル
ーチンR401)し、かつタイマに送信時間として2秒
を設定する(ルーチンR404)。そして、呼かけコー
ドENQを送信してから2秒以内にユニットコントロー
ラ190より応答コードACKが戻ってきたならルーチ
ンR411へ移行して受信を禁止した後、先頭を示すS
TXコードに続いて送信バッファ内に既に設定されてい
るコード(FNC,ETX等)を送信し、受信バッファ
へ受信を許可してから“送信未完了”フラグをクリアし
て一連の送信処理を終了する(ルーチンR412〜R4
16)。
In the function transmission processing of FIG. 130, first, the number of retransmissions is set in a counter in the RAM (routine R401), and 2 seconds is set as a transmission time in a timer (routine R404). If the response code ACK is returned from the unit controller 190 within two seconds after the transmission of the interrogation code ENQ, the process proceeds to the routine R411 to prohibit the reception and then returns to the S indicating the head.
After the TX code, a code (FNC, ETX, etc.) already set in the transmission buffer is transmitted, reception is permitted to the reception buffer, the "transmission incomplete" flag is cleared, and a series of transmission processing ends. (Routines R412 to R4
16).

【0637】一方、ユニットコントローラ190から応
答コードACKが返ってくる前にENQコードが入って
くると、ルーチンR421へ移行して、送信バッファに
設定されている送信データを一旦RAM内のワークエリ
アにセーブしてから“送信中断”および“送信未完了”
フラグを設定してメインルーチンへ戻ることにより受信
を優先させるようになっている(ルーチンR421〜R
423)。
If the ENQ code is input before the response code ACK is returned from the unit controller 190, the flow shifts to the routine R421 to temporarily store the transmission data set in the transmission buffer in the work area in the RAM. "Transmission interrupted" and "Transmission not completed" after saving
By setting a flag and returning to the main routine, reception is prioritized (routines R421 to R421).
423).

【0638】また、ENQ送信後2秒以内に応答コード
ACKが返ってこないときは再送信回数カウンタを減算
してから再度ルーチンR402へ戻って呼かけコードE
NQを送信し直す。そして、タイムオーバが5回発生し
たときは、リセットをかけるようになっている(ルーチ
ンR409)。
If the response code ACK is not returned within 2 seconds after the transmission of the ENQ, the retransmission counter is decremented, and the process returns to the routine R402 to return to the calling code E.
Retransmit the NQ. Then, when time-out occurs five times, a reset is performed (routine R409).

【0639】図131のファンクション受信処理におい
ては、先ず応答コードACKをユニットコントローラ1
90へ送ってタイマに2秒をセットする(ルーチンR4
31,R432)。
In the function reception process of FIG. 131, first, the response code ACK is sent to the unit controller 1
90 to set the timer to 2 seconds (routine R4
31, R432).

【0640】そして、2秒以内にユニットコントローラ
190からファンクションの先頭コードSTXが送られ
てこないときはRAMのエラー情報エリアにエラーの種
類を書き込んでからメインルーチン内のエラー処理ルー
チンR171〜R180(図117)へ移行する(ルー
チンR433→R441)。また、STXコード受信後
はタイマを1秒に設定し直し、1秒以内に次のデータ
(ファンクションコード、ETX等)が送られてこない
ときも同様にエラー処理ルーチンへ移行する。データの
受信はバイト(4ビット)単位で行なわれ、受信バッフ
ァの容量を越えてデータが入ってきたときはエラー処理
を行なう(ルーチンR439)。
If the head code STX of the function is not sent from the unit controller 190 within two seconds, the type of the error is written in the error information area of the RAM, and then the error processing routines R171 to R180 in the main routine are executed. 117) (routine R433 → R441). After receiving the STX code, the timer is reset to 1 second, and if the next data (function code, ETX, etc.) is not sent within 1 second, the process also shifts to the error processing routine. Data reception is performed in units of bytes (4 bits), and when data exceeds the capacity of the reception buffer, error processing is performed (routine R439).

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

【0642】シャッタを閉じた後はステータス1のジャ
ム表示ビットをクリアし、セキュリティ読込みフラグを
クリアしてから、カードイン表示ランプLED12を消
灯し、RAM内のステータスエリアにカードが無いこと
を書き込む(ルーチンR468〜R471)。なお、上
記ルーチンR451〜R471において、モータの正転
中または逆転中にそれぞれタイムオーバを起こすと、モ
ータを停止し、カードCDが内部にあればジャムエラー
として処理する(ルーチン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 indicator LED 12 is turned off, and the fact that there is no card in the status area in the RAM is written ( Routines R468 to R471). In the above-described 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 CD is inside, the jam is processed (routines R481 to R484).

【0643】図133に示されているカード挿入処理に
おいては、カードCDが有する各種情報(セキュリティ
コード、磁気コードおよびパンチ穴)を読み取ってか
ら、磁気データのパリティおよびLRCの検査やセキュ
リティ検査等の各種検査を行なった後、送信バッファへ
カード番号送信ファンクションコードと読み取ったカー
ド番号を書き込んでから(ルーチンR493)、送信処
理ルーチンR401〜R423を実行する。また、磁気
記録部から読み取ったカード番号がテスト用カードであ
ることを示すテストコードであった場合には、送信バッ
ファへ「テストカード」ファンクションコードを書き込
んでから送信処理を実行するようになっている(ルーチ
ンR492→R494)。
In the card insertion process shown in FIG. 133, after reading various information (security code, magnetic code, and punched holes) of the card CD, the parity of magnetic data, LRC inspection, security inspection, and the like are checked. After performing various inspections, after writing the card number transmission function code and the read card number into the transmission buffer (routine R493), the transmission processing routines R401 to R423 are executed. If the card number read from the magnetic recording unit is a test code indicating that the card is a test card, a "test card" function code is written to a transmission buffer before transmission processing is executed. (Routine R492 → R494).

【0644】なお、図122の「リロード」ファンクシ
ョン受信時のルーチンに示されている再読取処理とカー
ド挿入処理とで共通のルーチンが多いため、カード挿入
処理ルーチンを示す図133には、再読取処理も合わせ
て示してある。
Incidentally, since there are many routines common to the rereading process and the card insertion process shown in the routine at the time of receiving the “reload” function in FIG. 122, the rereading process is shown in FIG. 133 showing the card insertion process routine. The processing is also shown.

【0645】さらに、図134〜図141には、図13
3に示すカード挿入処理ルーチンおよび再読取ルーチン
に現われるカード読取処理、磁気処理、パリティおよび
LRC検査処理、セキュリティ検査処理、パンチ穴検査
処理、カードデータ検査処理および年月日、識別コード
検査処理の各フローチャートが示されている。
Further, FIGS. 134 to 141 show FIG.
3, card reading processing, magnetic processing, parity and LRC inspection processing, security inspection processing, punch hole inspection processing, card data inspection processing, and date / identification code inspection processing that appear in the card insertion processing routine and the re-reading routine shown in FIG. A flowchart is shown.

【0646】本実施例のカードリーダ800にあって
は、前述したようにセキュリティコード読取り用のセン
サ810aが最もカード挿排口に近い側に配設されてお
り、このセンサ810aがセキュリティ領域(TF)の
終端に対向した時点でまだパンチ穴検出センサSNSp
が第1のパンチ穴形成箇所PH1に到達しないようにセ
ンサの間隔が決定されている。そのため、先ずファンク
ションコードの読取りを行なってからパンチ穴の検出と
磁気データの読取りを並行して行なうようになってい
る。
In the card reader 800 of this 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 in the security area (TF). ) Is still facing the end of the punch hole detection sensor SNSp
Are determined so that the sensor does not reach the first punch hole formation location PH1. Therefore, after reading the function code, the detection of the punched holes and the reading of the magnetic data are performed in parallel.

【0647】なお、実際のセキュリティコードの読取り
は、モータの回転速度を検出するエンコーダの出力をト
リガとするタイマ割込みによって行なわれるようにプロ
グラムが構成されており、図134のカード読取処理で
はルーチン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 of FIG. 134, the routine R501 is executed. Preparation for security reading is performed in steps R523 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.

【0648】また、この実施例のカードリーダ800は
挿入時にカードCDの後端が第1の位置検出センサSN
S1に達するまでパンチ穴および磁気記録部がパンチ穴
検出センサSNSpおよび磁気ヘッド821に到達しな
いように各センサの間隔が設定されている。そのため、
図135,図136の磁気コード読取り処理ではルーチ
ンR545で位置検出センサSNS1がオンになってか
らパンチ穴の検出および磁気コードの読取りを行なうよ
うになっている。
In the card reader 800 of this embodiment, when the card CD is inserted, the rear end of the card CD is moved to the first position detection sensor SN.
The interval between the sensors is set 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 S1 is reached. for that reason,
In the magnetic code reading process shown in FIGS. 135 and 136, punch hole detection and magnetic code reading are performed after the position detection sensor SNS1 is turned on in the routine R545.

【0649】磁気データの読込みでは、1ビットずつ読
み込まれたデータを格納するワークエリアをシフトレジ
スタのごとく動作させることによりパラレルデータに変
換している(ルーチンR590)。しかも、この実施例
のカードリーダ800は第1と第3の位置検出センサS
NS2,SNS3間の距離 L3が正規のカード長 L0より
も長く、第2と第3の位置検出センサSNS1,SNS
3間の距離L4が正規のカード長 L0よりも短くなるよう
にセンサ間距離が設定されている(図32参照)。そこ
で、図136に示す1ビット読込み処理中において第1
〜第3の位置検出センサSNS1〜SNS3の出力をチ
ェックすることでカードサイズの不良を検出するように
なっている(ルーチンR584〜R587)。
In reading magnetic data, a work area for storing data read bit by bit is operated like a shift register to convert the data into parallel data (routine R590). In addition, the card reader 800 of this embodiment has the first and third position detection sensors S
The distance L3 between NS2 and NS3 is longer than the regular card length L0, and the second and third position detection sensors SNS1 and SNS
The distance between the sensors is set such that the distance L4 between the three is shorter than the regular card length L0 (see FIG. 32). Therefore, during the 1-bit reading process shown in FIG.
To check the output of the third position detection sensors SNS1 to SNS3 to detect a card size defect (routines R584 to R587).

【0650】図137の処理ルーチンでは、ルーチンR
603〜R609でデータ、ETX、LRCの各バイト
単位のデータの排他的論理和をとって次々とワークエリ
アに入れていき、ルーチンR611で演算結果が「0」
か否か判定することでLRCのチェックを行なってい
る。なお、ルーチンR604でSTXをワークエリアに
設定して、ルーチンR605で最初に読み出すバイトが
STXであるため、結果的にはSTXは排他的論理和に
含まないことになる。
In the processing routine of FIG. 137, the routine R
In steps 603 to R609, exclusive OR of data, ETX, and LRC data in units of bytes is taken and sequentially put into the work area, and the operation result is "0" in the routine R611.
LRC is checked by judging whether or not. Note that the STX is set in the work area in the routine R604, and the byte to be read first in the routine R605 is the STX. As a result, the STX is not included in the exclusive OR.

【0651】そして、パリティビット(各データの5ビ
ット目)に関してはLRC検査の対象としないためルー
チンR610でマスクをかけてからR611の判定に移
行している。また、図137ではルーチンR614〜R
620で各バイト単位のデータごとにパリティチェック
を行ない、これをデータの数だけ繰り返すようになって
いる(ルーチンR621,R622)。
Since the parity bit (fifth bit of each data) is not subject to the LRC check, masking is performed in the routine R610, and the process proceeds to the determination of R611. In FIG. 137, the routines R614 to R614 are executed.
At 620, a parity check is performed for each byte of data, and the parity check is repeated by the number of data (routines R621 and R622).

【0652】図138のセキュリティ検査処理では、セ
キュリティセンサ810aで読み取られセキュリティバ
ッファに格納されている10ビットのセキュリティコー
ドを、上位5ビットと下位5ビットに分け、先ずルーチ
ンR632〜R638で上位5ビットを読み出してシフ
トレジスタに入れて“1”の立っているビットの数を数
えることでパリティのチェックを行ない、次に下位の5
ビットをバッファから読み出して同様にパリティチェッ
クを行なう(ルーチンR639〜R645)ようになっ
ている。
In the security inspection process shown in FIG. 138, the 10-bit security code read by the security sensor 810a and stored in the security buffer is divided into upper 5 bits and lower 5 bits, and the upper 5 bits are first determined by the routines R632 to R638. Is read, put into a shift register, and the parity is checked by counting the number of bits with "1".
The bits are read from the buffer and parity check is performed in the same manner (routines R639 to R645).

【0653】図139の処理ルーチンでは、先ず読み取
られた磁気データ内の発行コードが正しいか否か判定
(ルーチンR651〜R653)してから、パンチ穴が
正しく開いているか検査する(ルーチンR651〜R6
57)。発行コードとしては、通常遊技用のカードに5
1H、復活すなわち再発行のカードに52H、テスト用
カードに53Hを与えており、これ以外のコードのとき
はエラー処理へ移行する(ルーチンR665,R66
6)。
In the processing routine of FIG. 139, it is first judged whether the issued code in the read magnetic data is correct (routines R651 to R653), and then it is inspected whether the punch holes are correctly opened (routines R651 to R6).
57). The issuing code is usually 5 on the game card.
1H, 52H is given to the resurrected or reissued card, and 53H is given to the test card. If the code is any other code, the processing shifts to error processing (routines R665 and R66).
6).

【0654】また、発行コードが再発行の場合には、ル
ーチンR661へ移行してカードの再発行孔形成位置に
穴が開いているかチェックし、開いていなければ不正カ
ードとして処理する(ルーチンR662,R664)。
また、発行孔および再発行孔の両方が開いていることは
ありえないのでルーチンR656で排除するとともに、
帰零孔または精算孔が開いているカードは遊技に使用で
きないので、挿入された時点で排除するようになってい
る(ルーチンR656,R663)。
If the issuance code is reissued, the routine proceeds to routine R661 to check whether a hole is formed at the reissue hole formation position of the card, and if not, treats it as an illegal card (routine R662, R664).
In addition, since it is impossible that both the issuing hole and the re-issuing hole are open, it is excluded in the routine R656, and
Since a card having a return zero hole or a settlement hole cannot be used for a game, it is eliminated when inserted (routine R656, R663).

【0655】図140のカードデータ検査処理ルーチン
では、先ずカードから読み取った磁気データ内の企業コ
ードとプログラムにより初期値として与えられたコード
とを比較(ルーチンR671)し、次に磁気データ内の
機器コードとコード設定スイッチにより設定されたコー
ドとを比較(ルーチンR672)して、一致を判定して
から、磁気データ内のセキュリティと真偽鑑別領域から
読み取ったセキュリティコードとが一致するか調べる
(ルーチンR674)。
In the card data inspection processing routine shown in FIG. 140, first, the company code in the magnetic data read from the card is compared with the code given as an initial value by the program (routine R671). The code is compared with the code set by the code setting switch (routine R672) to determine a match, and then it is checked whether the security in the magnetic data matches the security code read from the authenticity discrimination area (routine R672). R674).

【0656】図141の処理ルーチンでは、予めユニッ
トコントローラ190から初期値として送られてきた識
別コードおよび年月日コードと、磁気記録部から読み取
られたデータとを比較(ルーチンR681,R682)
して、一致しないときはRAM内に不正原因とエラー情
報を書き込んでから、エラー処理へ移行するようになっ
ている。
In the processing routine of FIG. 141, the identification code and the date code which have been sent as initial values from the unit controller 190 in advance are compared with the data read from the magnetic recording section (routines R681 and R682).
If they do not match, the cause of error and error information are written in the RAM, and then the process proceeds to error processing.

【0657】図142〜図146に、パチンコ機コント
ローラCPU1のメイン制御フローを、また図147に
タイマ割込みによる割込み制御フローの一例を示す。
FIG. 142 to FIG. 146 show a main control flow of the pachinko machine controller CPU1, and FIG. 147 shows an example of an interrupt control flow by a timer interrupt.

【0658】この実施例のパチンコ機コントローラCP
U1のタスクは、発射センサSNS5、第1,第2セー
フセンサSNS2,SNS3、ファールセンサSNS4
およびアウトセンサSNS1の5つの球検出用センサの
出力信号を監視して発射球と戻り球を識別し、かつ一定
のパルス幅の信号のみ検出信号と認定して各球の検出数
を計数するとともに、波形整形された一定パルス幅の検
出信号(発射信号、セーフ1信号、セーフ2信号、ファ
ール信号およびアウト信号)としてユニットコントロー
ラ190へ、所定の間隔をおいて出力することが主たる
内容である。
The pachinko machine controller CP of this embodiment
The tasks of U1 are the launch sensor SNS5, the first and second safe sensors SNS2 and SNS3, and the foul sensor SNS4.
And monitor the output signals of the five sphere detecting sensors of the out sensor SNS1 to discriminate between the launching sphere and the return sphere, and count only the signal of a fixed pulse width as a detection signal to count the number of detected balls. The main contents are to output at predetermined intervals to the unit controller 190 as detection signals (emission signal, safe 1 signal, safe 2 signal, foul signal and out signal) having a fixed pulse width whose waveform is shaped.

【0659】具体的には、200μsのタイマ割込み処
理で各センサの出力信号をサンプリングして検出信号の
有無を判定してからカウンタを更新し、メイン制御フロ
ーで検出信号の出力制御および各検出信号間の最小時間
間隔(ポーズ)の保証を行っている。
Specifically, the output signal of each sensor is sampled in a 200 μs timer interrupt process to determine the presence or absence of a detection signal, and then the counter is updated. The output control of the detection signal and each detection signal are performed in the main control flow. The minimum time interval (pause) between them is guaranteed.

【0660】先ず、図142〜図146のメイン制御フ
ローについて説明する。
First, the main control flow in FIGS. 142 to 146 will be described.

【0661】パチンコ機コントローラCPU1は、リセ
ットがかかると、先ず内部メモリをクリアしてからメモ
リにチェックデータを書き込む(ルーチンR801,R
802)。そして、割込み時の退避エリアとなるスタッ
クポインタを設定した後に、200μsのタイマカウン
タに起動をかけて、図147に示すタイマ割込みを開始
させる(ルーチンR803,R804)。
When the pachinko machine controller CPU1 is reset, the internal memory is first cleared, and then the check data is written into the memory (routines R801 and R801).
802). Then, after setting a stack pointer to be a save area at the time of interruption, the timer counter of 200 μs is activated to start the timer interruption shown in FIG. 147 (routines R803 and R804).

【0662】しかる後、フラグをチェックしてユニット
コントローラ190に対して出力する発射信号が出力中
か否か判定し(ルーチンR805)、出力中でないとき
はルーチンR806へ進み“ポーズ”フラグを見て出力
休止中か判定する。ルーチンR807ではカウンタを見
て、検出した発射球のうち発射信号を出力していない分
があるか否か判定する。
Thereafter, the flag is checked to determine whether or not the firing signal to be output to the unit controller 190 is being output (routine R805). If the firing signal is not being output, the flow advances to routine R806 to see the "pause" flag. Determine whether the output is paused. In the routine R807, by looking at the counter, it is determined whether or not there is a portion of the detected shooting spheres that has not output a firing signal.

【0663】ここで、発射信号の出力残があるときは、
ルーチンR810へ移行して発射信号出力残数を1つ減
らしてから発射信号の出力をロウレベルからハイレベル
に立ち上げ、“発射信号出力中”フラグをセットする
(ルーチンR811)。そして、発射信号出力タイマ
(5mS)をセットしてから次のセンサ出力処理(図1
43)へ移行する。
Here, when the output of the firing signal remains,
The routine proceeds to routine R810, in which the number of remaining firing signal outputs is reduced by one, then the output of the firing signal is raised from a low level to a high level, and the "firing signal output in progress" flag is set (routine R811). Then, after setting the firing signal output timer (5 mS), the next sensor output processing (FIG. 1)
Go to 43).

【0664】すると、再びルーチンR805へきたとこ
ろで、発射信号出力中と判定されて、ルーチンR813
へ移行し、上記ルーチンR812でセットした出力タイ
マがタイムオーバーしたか否か判定する。ここで、タイ
ムオーバーを起こしていなければそのまま次のセンサ出
力処理へ移行し、タイムオーバーを起こしているとルー
チンR814で、発射信号の出力をハイレベルからロウ
レベルに立ち下げる。これによってパルス幅5mSの検
出信号が形成されたことになる。また、ルーチンR81
4では発射信号の出力中を示すフラグをリセットし、し
かる後、“ポーズフラグ”に“1”を立てて、ポーズタ
イマ(10mS)をセットしてから次のセンサ出力処理
へ移行する(ルーチンR815,R816)。
Then, when the routine returns to the routine R805, it is determined that the firing signal is being output, and the routine R813 is executed.
Then, it is determined whether the output timer set in the routine R812 has timed out. Here, if the time is not over, the process directly proceeds to the next sensor output process. If the time is over, the output of the firing signal is lowered from the high level to the low level in the routine R814. As a result, a detection signal having a pulse width of 5 ms is formed. Also, the routine R81
In step 4, the flag indicating that the firing signal is being output is reset. Thereafter, the "pause flag" is set to "1", the pause timer (10 mS) is set, and the flow proceeds to the next sensor output process (routine R815). , R816).

【0665】そして、再びルーチンR805へきたとこ
ろで、ルーチンR806へ移行し、ここでポーズ中と判
定されてルーチンR808へ移行する。ここでは、ポー
ズタイマがタイムオーバーしているか判定し、タイムオ
ーバーを起こしていなければそのまま次のセンサ出力処
理へ移行し、タイムオーバーしているときは“ポーズ”
フラグをリセットしてからルーチンR807へ進む(ル
ーチンR809)。これによって、センサの出力が連続
する際にも必ず10mSのポーズ期間が置かれ、検出信
号がユニットコントローラ551に正確に伝えられる。
[0665] When the flow returns to the routine R805, the flow shifts to the routine R806. Here, it is determined that the pause is being performed, and the flow shifts to the routine R808. Here, it is determined whether or not the time of the pause timer is over. If the time is not over, the process directly proceeds to the next sensor output process. If the time is over, “pause” is performed.
After the flag is reset, the process proceeds to the routine R807 (routine R809). Thus, even when the output of the sensor is continuous, a pause period of 10 ms is always provided, and the detection signal is transmitted to the unit controller 551 accurately.

【0666】図143は、セーフセンサSNS2の検出
信号に対応したセーフ1信号の出力処理の手順を示す。
この手順は、図142の発射センサSNS5の出力処理
とほとんど同一であり、セーフ1信号出力残数があると
5mSのパルス幅のセーフ1信号を少なくとも10mS
の間隔をおいて出力する(ルーチンR817〜R82
8)。
FIG. 143 shows the procedure of the output processing of the safe 1 signal corresponding to the detection signal of the safe sensor SNS2.
This procedure is almost the same as the output processing of the firing sensor SNS5 in FIG. 142. When there is the remaining number of safe 1 signal outputs, the safe 1 signal having a pulse width of 5 ms is converted to at least 10 ms.
(Routines R817 to R82)
8).

【0667】以下同様の手順に従って、セーフ2信号の
出力処理(図144のルーチンR829〜R830)、
ファール信号出力処理(図145のルーチンR831〜
R842)、アウト信号出力処理(図146のルーチン
R843〜R854)が実行される。
Following the same procedure, the output process of the safe 2 signal (routines R829 to R830 in FIG. 144)
Fail signal output processing (routine R831 of FIG. 145)
R842), and an out signal output process (routines R843 to R854 in FIG. 146) is executed.

【0668】次に、図147を用いてパチンコ機コント
ローラCPU1のタイマ割込み処理の手順を説明する。
Next, the procedure of the timer interrupt processing of the pachinko machine controller CPU1 will be described with reference to FIG.

【0669】図142のメイン制御フロー中のルーチン
R804でタイマカウンタの起動をかけると200μS
ごとのタイマ割込みが開始され、先ず前記ルーチンR8
02で内部メモリに書き込んだチェックデータを調べて
メモリに異常がないかチェックする(ルーチンR90
1)。ここで、チェックデータに異常があると、CPU
自身のパワーをダウンさせる(ルーチンR940)。す
ると、ウォッチドッグパルスが出力されなくなるので、
外部のリセット回路RST1(図24参照)によってリ
セットがかけられるようになっている。
When the timer counter is started in the routine R804 in the main control flow of FIG. 142, 200 μS
A timer interrupt is started every time, and first, the routine R8
02 checks the check data written in the internal memory to check whether there is any abnormality in the memory (routine R90).
1). If there is an error in the check data, the CPU
It lowers its own power (routine R940). Then, since the watchdog pulse is not output,
Reset is performed by an external reset circuit RST1 (see FIG. 24).

【0670】一方、チェックデータに異常がないときは
ルーチンR902へ進んで、パチンコ機内の5種類の全
ての遊技球センサの出力信号を読み込んでから正論理へ
の変換を行う(ルーチンR903)。すなわちセンサに
は出力信号がロウレベルのときに“有効”を示すものと
ハイレベルのときに“有効”を示すものとがあるので、
すべてのセンサの検出信号をハイレベルで有効を示すよ
うに変換する。しかる後、前回の読込みデータと今回の
読込みデータとを比較することでセンサのオンエッヂす
なわちオフからオンへの変化を検出する(ルーチンR9
04)。そして、発射センサ、第1セーフセンサ、第2
セーフセンサ、ファールセンサ、アウトセンサのすべて
のセンサについてオンエッヂがあったか否か判定し(ル
ーチンR905〜R909)、オンエッヂを検出したセ
ンサについては各センサごとに用意されたオンタイマを
クリアする(ルーチンR910〜R914)。それか
ら、各センサのオンタイマを更新(+1)した後(ルー
チンR915)、各センサのオフエッヂすなわちオンか
らオフへの変化の有無を判定する(ルーチンR916〜
R920)。
[0670] On the other hand, when there is no abnormality in the check data, the routine proceeds to routine R902, where the output signals of all five types of game ball sensors in the pachinko machine are read and then converted to positive logic (routine R903). That is, there are sensors that indicate "valid" when the output signal is low and those that indicate "valid" when the output signal is high.
The detection signals of all the sensors are converted to indicate valid at a high level. Thereafter, the on-edge of the sensor, that is, the change from off to on is detected by comparing the previous read data with the present read data (routine R9).
04). And the launch sensor, the first safe sensor, the second
It is determined whether or not all the sensors, that is, the safe sensor, the foul sensor, and the out sensor, have an on-edge (routines R905 to R909), and for the sensor that has detected an on-edge, an on-timer prepared for each sensor is cleared (routines R910 to R914). ). Then, after the on-timer of each sensor is updated (+1) (routine R915), it is determined whether or not each sensor has an off edge, that is, whether there is a change from on to off (routine R916 to R916).
R920).

【0671】上記ルーチンR916で発射センサのオフ
エッジを検出するとルーチンR921へ移行してセンサ
のオン時間が0.4mS以上で3.0mS未満か判定し、この
間に入っているときは正規の検出信号とみなして発射信
号の出力残数(発射球数)を計数するカウンタを更新
(+1)する(ルーチンR922)。これに対し、発射
センサのオン時間が3.0mS以上のときはファール球検
出とみなしてファール信号の出力残数を計数するカウン
タを更新(+1)する(ルーチンR923,R92
4)。これは、パチンコ機100の構成上、発射レール
より遊技盤内に向かって打ち出した球がファール球受入
口134に入らずにそのまま発射センサを逆方向に通過
してレールの基部に戻ってしまうことがあるからであ
る。このような球の方向の違いはセンサをレールに沿っ
て2個以上並べてやれば検出できるが、本発明者らは戻
り球の速度と発射球の速度の違いに着目し、発射球の速
度の方が必ず速いので1つのセンサで発射球と戻り球を
識別できることを見出した。これをセンサの出力時間で
見ると、球速の速い発射球検出時のセンサオン時間は0.
8〜2.4mSで球速の遅い戻り球検出時のオン時間は数1
0mS以上となることが判った。そこで、発射センサの
オン時間が3.0mSのときはファール球とみなしてファ
ール信号出力残数を更新するようにした。
When the off-edge of the firing sensor is detected in the above-mentioned routine R916, the flow shifts to a routine R921 to determine whether or not the sensor on-time is 0.4 ms or more and less than 3.0 mS. The counter for counting the remaining output of the firing signal (the number of shooting spheres) is updated (+1) (routine R922). On the other hand, if the ON time of the firing sensor is equal to or longer than 3.0 ms, it is considered that a foul ball has been detected, and the counter for counting the remaining number of foul signal outputs is updated (+1) (routines R923 and R92).
4). This means that, due to the configuration of the pachinko machine 100, a ball hit from the firing rail toward the inside of the game board passes through the firing sensor in the opposite direction without returning to the foul ball receiving port 134 and returns to the base of the rail. Because there is. Such a difference in the direction of the sphere can be detected by arranging two or more sensors along the rail, but the present inventors focused on the difference between the speed of the returning sphere and the speed of the firing sphere, and It was found that the firing sphere and the returning sphere could be distinguished by one sensor because it was always faster. Looking at this with the output time of the sensor, the sensor on time when detecting a shooting ball with a fast ball speed is 0.
On-time when detecting a returning ball with a slow ball speed of 8 to 2.4 mS
It turned out to be 0 ms or more. Therefore, when the on-time of the firing sensor is 3.0 mS, it is regarded as a foul ball and the number of remaining foul signal outputs is updated.

【0672】一方、発射センサのオン時間が0.4mS未
満のときはノイズとみなして、発射信号とファール信号
のいずれのカウンタも更新しないでルーチンR917へ
移行するようになっている(ルーチンR923)。
On the other hand, if the on-time of the firing sensor is less than 0.4 ms, it is regarded as noise, and the process proceeds to the routine R917 without updating any counter of the firing signal and the foul signal (routine R923).

【0673】また、ルーチンR917,R918,R9
19,R920でそれぞれ、第1セーフセンサ、第2セ
ーフセンサ、ファールセンサ、アウトセンサのオフエッ
ヂを検出したときは、センサのオン時間がそれぞれ4.0
ms以上か否か判定し、4.0ms以上のときは各検出信
号の出力残数を更新(+1)するようにしている(ルー
チンR925〜R932)。
Also, the routines R917, R918, R9
When the off-edges of the first safe sensor, the second safe sensor, the foul sensor, and the out sensor are detected at 19 and R920, respectively, the on-time of the sensor is 4.0.
It is determined whether or not it is longer than ms, and if it is longer than 4.0 ms, the remaining output number of each detection signal is updated (+1) (routines R925 to R932).

【0674】その後、ルーチンR933で上記各センサ
の出力タイマとポーズタイマをそれぞれ更新してから、
ウォッチドッグパルスの出力を行って割込み処理を終了
する(ルーチンR934)。
After that, the output timer and the pause timer of each of the above sensors are updated in the routine R933, respectively.
The watchdog pulse is output, and the interrupt processing ends (Routine R934).

【0675】なお、上記実施例では、カード発行時にカ
ードCDに対し金額と等価な第1の有価データを与え、
遊技者が自分の意思でパチンコ機において第1の有価デ
ータから玉数と等価な第2の有価データに変換して遊技
を行なうようにしているがそれに限定されず、カード発
行時にカードCDに対して購入金額に相当する玉数の有
価データをを与え、その有価データのみに基づいて遊技
を可能にするシステムにも適用できることは勿論であ
る。
In the above embodiment, the first valuable data equivalent to the amount is given to the card CD when the card is issued.
The player converts the first valuable data into the second valuable data equivalent to the number of balls in the pachinko machine to play the game on his / her own will, but the present invention is not limited to this, and the card CD is issued when the card is issued. As a matter of course, the present invention can be applied to a system in which valuable data of the number of balls corresponding to the purchase amount is given and the game is enabled based on only the valuable data.

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

【0677】なお、上記実施例においては、カード状記
憶媒体としての磁気記録部を有する磁気カードCDを使
用する場合について説明したが、これに限定されるもの
ではなく、情報記憶部として半導体メモリあるいはメモ
リを内蔵したシングルチップマイコンを搭載したいわゆ
るICカードを使用し、メモリの所定の記憶領域に持玉
数データや残高金額データ等の有価データを記憶するよ
うにしてもよい。
In the above embodiment, a case has been described in which a magnetic card CD having a magnetic recording section is used as a card-shaped storage medium. However, the present invention is not limited to this. A so-called IC card equipped with a single-chip microcomputer having a built-in memory may be used, and valuable data such as ball count data and balance amount data may be stored in a predetermined storage area of the memory.

【0678】また、上記実施例では、記憶媒体読取装置
としてのカードリーダを遊技機とは別体で設ける場合に
ついて説明したが、これに限らず記憶媒体読取装置を遊
技機と一体的に設ける場合であってもよい。
In the above embodiment, the case where the card reader as the storage medium reading device is provided separately from the gaming machine has been described, but the present invention is not limited to this, and the case where the storage medium reading device is provided integrally with the gaming machine. May be

【0679】[0679]

【発明の効果】以上説明したごとくこの発明は、少なく
とも金銭と実質的に等価な有価データが付与されてなる
記憶媒体が挿入されることに関連して遊技が実行可能に
される複数の記憶媒体式遊技装置と、該記憶媒体式遊技
装置と通信可能に接続された管理装置とを備えた遊技設
備における記憶媒体式遊技装置であって、上記記憶媒体
式遊技装置は、遊技媒体を用いた所要の遊技を提供する
遊技機本体と、上記記憶媒体の情報記憶部の情報を読み
取り可能な記憶媒体読取手段とを備えた補助ユニットと
により構成され、上記遊技機本体は、上記記憶媒体の有
する有価データを遊技媒体に変換させる指令を与える変
換操作手段と、上記記憶媒体の有する有価データを表示
する有価データ表示手段と、上記記憶媒体読取手段に挿
入されている記憶媒体を排出させる指令を与える排出操
作手段とを備え、上記補助ユニットは、少なくとも当該
補助ユニットを識別可能にする識別番号設定手段と、上
記識別番号設定手段により設定された識別番号を上記管
理装置へ送信する通信制御手段とを備えるようにしたの
で、記憶媒体式遊技装置は、遊技機本体と補助ユニット
とにより構成され、補助ユニットは当該補助ユニットの
識別番号設定手段と識別番号を上記管理装置へ送信する
通信制御手段とを備えているため、管理装置は遊技機本
体と1対1の補助ユニット識別番号を正確に把握するこ
とができ、しかも遊技機本体を入れ替えても補助ユニッ
トは交換することなくそのまま使い続けることができる
ので、遊技店側の経済負担を軽減することができるとい
う効果がある。
As described above, according to the present invention, a plurality of storage media can be executed in connection with the insertion of a storage medium containing valuable data at least substantially equivalent to money. A storage medium type game device in a game facility comprising a storage type game device and a management device communicatively connected to the storage medium type game device, wherein the storage medium type game device is required to use a game medium. The game machine main body that provides the game and an auxiliary unit including a storage medium reading unit that can read information in the information storage unit of the storage medium, and the game machine main body has a value that the storage medium has. Conversion operation means for giving a command to convert data into game media, valuable data display means for displaying valuable data in the storage medium, and storage inserted in the storage medium reading means. Discharge operation means for giving a command to discharge the body, the auxiliary unit, at least the identification number setting means for identifying the auxiliary unit, and the identification number set by the identification number setting means to the management device Since the communication medium control means for transmitting is provided, the storage medium type game apparatus is constituted by the game machine main body and the auxiliary unit, and the auxiliary unit sends the identification number setting means and the identification number of the auxiliary unit to the management apparatus. Since the management device is provided with the communication control means for transmitting, the management device can accurately grasp the one-to-one auxiliary unit identification number with the gaming machine main body, and the auxiliary unit can be replaced even if the gaming machine main body is replaced. Since it can be continued to be used as it is, there is an effect that the economic burden on the game shop side can be reduced.

【0680】[0680]

【0681】[0681]

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

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

【図2】本発明に係る記憶媒体式遊技設備に使用される
カードの一例を示す正面図および内部構成図である。
2A and 2B are a front view and an internal configuration diagram showing an example of a card used in a storage-medium type game facility according to the present invention.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

【図37】本発明に係る記憶媒体式遊技設備に適用され
るカードのカード発行機の構成例を示す正面図である。
FIG. 37 is a front view showing a configuration example of a card issuing machine applied to a storage medium-type game facility according to the present invention.

【図38】発行機用カードリーダの概略構成図である。FIG. 38 is a schematic configuration diagram of a card reader for an issuing machine.

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

【図40】精算機の構成例を示す正面図である。FIG. 40 is a front view showing a configuration example of a checkout machine.

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

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

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

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

【図45】本発明の記憶媒体式遊技設備内でのカードの
状態遷移を示す説明図である。
FIG. 45 is an explanatory diagram showing a state transition of a card in the storage-medium type gaming facility of the present invention.

【図46】パチンコ機の稼動状態の遷移を示すもので、
通常動作モードでの状態遷移図である。
FIG. 46 shows a transition of the operation state of the pachinko machine,
It is a state transition diagram in a normal operation mode.

【図47】パチンコ機の稼動状態の遷移を示すもので、
(B)はオンライン時のテストモード、(C)はオフラ
イン時のテストモードでの状態遷移図である。
FIG. 47 shows a transition of the operation state of the pachinko machine,
(B) is a state transition diagram in the online test mode, and (C) is a state transition diagram in the offline test mode.

【図48】本発明の記憶媒体式遊技設備における伝送系
の構成例を示すブロック図である。
FIG. 48 is a block diagram illustrating a configuration example of a transmission system in a storage-medium type gaming facility of the present invention.

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

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

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

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

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

【図54】低層ネットワーク上で送受信される“回線テ
スト”パケットの構成図である。
FIG. 54 is a configuration diagram of a “line test” packet transmitted and received on a low-layer network.

【図55】低層ネットワーク上で送受信される“初期値
設定”パケットの構成図である。
FIG. 55 is a configuration diagram of an “initial value setting” packet transmitted / received on a low-layer network.

【図56】管理装置からパチンコ機に指示を与えるため
のパケットの構成図である。
FIG. 56 is a configuration diagram of a packet for giving an instruction from a management device to a pachinko machine.

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

【図58】“定時データ”パケットの構成図である。FIG. 58 is a configuration diagram of a “periodic data” packet;

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

【図60】制御ユニット内における各コントローラ間の
送受信および処理手順を示すもので、初期化および開店
パケット受信時のフローチャートである。
FIG. 60 is a flowchart showing transmission / reception and processing procedures between controllers in the control unit, and is a flowchart at the time of initialization and reception of a store opening packet.

【図61】カードリーダへのカード挿入時のフローチャ
ートである。
FIG. 61 is a flowchart when a card is inserted into a card reader.

【図62】中断スイッチがオンされたときのフローチャ
ートである。
FIG. 62 is a flowchart when a suspend switch is turned on.

【図63】終了スイッチがオンされたときのフローチャ
ートである。
FIG. 63 is a flowchart when an end switch is turned on.

【図64】帰零状態が発生したときのフローチャートで
ある。
FIG. 64 is a flowchart when a zero-reset state occurs.

【図65】打止状態が発生したときのフローチャートで
ある。
FIG. 65 is a flowchart when a hit state occurs.

【図66】“強制終了”パケットを受信したときのフロ
ーチャートである。
FIG. 66 is a flowchart when a “forced end” packet is received.

【図67】停電回復後のユニット復旧の際のフローチャ
ートである。
FIG. 67 is a flowchart at the time of unit recovery after power failure recovery.

【図68】ユニットコントローラのタスク処理フローを
示すもので、タイマ割込み処理の手順を示すフローチャ
ートである。
FIG. 68 is a flowchart showing a task processing flow of the unit controller and showing a procedure of timer interrupt processing.

【図69】シリアル割込み処理の手順を示すフローチャ
ートである。
FIG. 69 is a flowchart showing a procedure of a serial interrupt process.

【図70】図68の割込み処理フロー中のセンサ、スイ
ッチ検出処理の具体的手順を示すフローチャートであ
る。
70 is a flowchart showing a specific procedure of sensor and switch detection processing in the interrupt processing flow of FIG. 68.

【図71】図68の割込み処理フロー中のスイッチ無効
処理の具体的手順を示すフローチャートである。
FIG. 71 is a flowchart showing a specific procedure of switch invalidation processing in the interrupt processing flow of FIG. 68.

【図72】ユニットコントローラのメインタクスの一つ
である初期化タスクの手順を示すフローチャートであ
る。
FIG. 72 is a flowchart showing a procedure of an initialization task which is one of the main tasks of the unit controller.

【図73】パケット受信タスクの手順を示すフローチャ
ートである。
FIG. 73 is a flowchart showing the procedure of a packet reception task.

【図74】図73のパケット受信タスク中における“初
期値設定”パケット受信処理の具体的手順を示すフロー
チャートである。
74 is a flowchart showing a specific procedure of an “initial value setting” packet receiving process in the packet receiving task of FIG. 73.

【図75】“開店コード”パケット受信処理の具体的手
順を示すフローチャートである。
FIG. 75 is a flowchart showing a specific procedure of a “store opening code” packet receiving process.

【図76】“閉店コード”パケット受信処理の具体的手
順を示すフローチャートである。
FIG. 76 is a flowchart showing a specific procedure of a “closing code” packet receiving process.

【図77】“強制終了要求”パケット受信処理の具体的
手順を示すフローチャートである。
FIG. 77 is a flowchart showing a specific procedure of a “forced termination request” packet receiving process.

【図78】“強制終了解除”パケット受信処理の具体的
手順を示すフローチャートである。
FIG. 78 is a flowchart showing a specific procedure of a “forced termination release” packet receiving process.

【図79】“打止解除”パケット受信処理の具体的手順
を示すフローチャートである。
FIG. 79 is a flowchart showing a specific procedure of a “cancel release” packet receiving process.

【図80】“中断終了”パケット受信処理の具体的手順
を示すフローチャートである。
FIG. 80 is a flowchart showing a specific procedure of “interruption end” packet reception processing;

【図81】“ユニット復旧データ”パケット受信処理の
具体的手順を示すフローチャートである。
FIG. 81 is a flowchart showing a specific procedure of a “unit recovery data” packet receiving process.

【図82】“リスタート”パケット受信処理の具体的手
順を示すフローチャートである。
FIG. 82 is a flowchart showing a specific procedure of a “restart” packet reception process.

【図83】“カードインACK”および“中断カードイ
ンACK”パケット受信処理の具体的手順を示すフロー
チャートである。
FIG. 83 is a flowchart showing a specific procedure of a “card-in ACK” and “interrupted card-in-ACK” packet receiving process.

【図84】“中断スイッチACK”パケット受信処理の
具体的手順を示すフローチャートである。
FIG. 84 is a flowchart showing a specific procedure of a “suspension switch ACK” packet reception process.

【図85】“終了スイッチACK”パケット受信処理の
具体的手順を示すフローチャートである。
FIG. 85 is a flowchart showing a specific procedure of a “end switch ACK” packet reception process.

【図86】“帰零ACK”パケット受信処理の具体的手
順を示すフローチャートである。
FIG. 86 is a flowchart showing a specific procedure of a “return-to-zero ACK” packet receiving process.

【図87】“打止ACK”パケット受信処理の具体的手
順を示すフローチャートである。
FIG. 87 is a flowchart showing a specific procedure of a “stop ACK” packet reception process.

【図88】ユニットコントローラのメインタスクの一つ
であるリーダ制御タスクの手順を示すフローチャートで
ある。
FIG. 88 is a flowchart showing a procedure of a reader control task which is one of the main tasks of the unit controller.

【図89】図88のリーダ制御タスク中における「テス
トカード」ファンクション受信処理の具体的手順を示す
フローチャートである。
FIG. 89 is a flowchart showing a specific procedure of a “test card” function receiving process in the reader control task of FIG. 88.

【図90】図88のリーダ制御タスク中における「カー
ド番号」ファンクション受信処理の具体的手順を示すフ
ローチャートである。
FIG. 90 is a flowchart showing a specific procedure of a “card number” function receiving process in the reader control task of FIG. 88;

【図91】図88のリーダ制御タスク中における「ステ
ータス」ファンクション受信処理の具体的手順を示すフ
ローチャートである。
FIG. 91 is a flowchart showing a specific procedure of a “status” function receiving process in the reader control task of FIG. 88;

【図92】図88のリーダ制御タスク中における「再送
要求」ファンクション受信処理の具体的手順を示すフロ
ーチャートである。
92 is a flowchart showing a specific procedure of a “retransmission request” function receiving process in the reader control task of FIG. 88.

【図93】図88のリーダ制御タスク中における「正常
終了」ファンクション受信処理の具体的手順を示すフロ
ーチャートである。
FIG. 93 is a flowchart showing a specific procedure of a “normal end” function receiving process in the reader control task of FIG. 88;

【図94】図88のリーダ制御タスク中における「異常
終了」ファンクション受信処理の具体的手順を示すフロ
ーチャートである。
FIG. 94 is a flowchart showing a specific procedure of an “abnormal termination” function receiving process in the reader control task of FIG. 88;

【図95】図88のリーダ制御タスク中における「初期
値要求」ファンクション受信処理の具体的手順を示すフ
ローチャートである。
FIG. 95 is a flowchart showing a specific procedure of an “initial value request” function receiving process in the reader control task of FIG. 88;

【図96】図88のリーダ制御タスク中における「セル
フ排出」ファンクション受信処理の具体的手順を示すフ
ローチャートである。
FIG. 96 is a flowchart showing a specific procedure of a “self-discharge” function receiving process in the reader control task of FIG. 88.

【図97】図88のリーダ制御タスク中におけるファン
クション送信処理の具体手順を示すフローチャートであ
る。
FIG. 97 is a flowchart showing a specific procedure of a function transmission process during the reader control task of FIG. 88;

【図98】ユニットコントローラのメインタスクの一つ
であるパケット送信タスクの手順を示すフローチャート
である。
FIG. 98 is a flowchart showing the procedure of a packet transmission task which is one of the main tasks of the unit controller.

【図99】ユニットコントローラのメインタスクの一つ
であるエラー制御タスクの手順を示すフローチャートで
ある。
FIG. 99 is a flowchart showing the procedure of an error control task which is one of the main tasks of the unit controller.

【図100】ユニットコントローラのメインタスクの一
つである球数演算タスクの手順を示すフローチャートで
ある。
FIG. 100 is a flowchart showing the procedure of a ball number calculation task, which is one of the main tasks of the unit controller.

【図101】ユニットコントローラのメインタスクの一
つであるスイッチ検出タスクの手順を示すフローチャー
トである。
FIG. 101 is a flowchart showing the procedure of a switch detection task which is one of the main tasks of the unit controller.

【図102】図101のスイッチ検出タスク中における
打止処理の具体的手順を示すフローチャートである。
102 is a flowchart showing a specific procedure of a hitting process during the switch detection task of FIG. 101.

【図103】図101ののスイッチ検出タスク中におけ
る中断スイッチ処理の具体的手順を示すフローチャート
である。
FIG. 103 is a flowchart showing a specific procedure of interrupted switch processing during the switch detection task of FIG. 101;

【図104】図101のスイッチ検出タスク中における
購入スイッチ処理の具体的手順を示すフローチャートで
ある。
FIG. 104 is a flowchart showing a specific procedure of a purchase switch process in the switch detection task of FIG. 101.

【図105】図101のスイッチ検出タスク中における
終了スイッチ処理の具体的手順を示すフローチャートで
ある。
105 is a flowchart showing a specific procedure of an end switch process in the switch detection task of FIG. 101.

【図106】図101のスイッチ検出タスク中における
テストスイッチ処理の具体的手順を示すフローチャート
である。
106 is a flowchart showing a specific procedure of a test switch process in the switch detection task of FIG. 101.

【図107】図105の終了スイッチ処理中におけるテ
ストモード終了処理の具体的手順を示すフローチャート
である。
FIG. 107 is a flowchart showing a specific procedure of a test mode end process during the end switch process of FIG. 105;

【図108】ユニットコントローラのメインタスクの一
つである音制御タスクの手順を示すフローチャートであ
る。
FIG. 108 is a flowchart showing the procedure of a sound control task which is one of the main tasks of the unit controller.

【図109】ユニットコントローラのメインタスクの一
つであるタイマ制御タスクの手順を示すフローチャート
である。
FIG. 109 is a flowchart showing the procedure of a timer control task, which is one of the main tasks of the unit controller.

【図110】ユニットコントローラのメインタスクの一
つであるランプ表示制御タスクの手順を示すフローチャ
ートである。
FIG. 110 is a flowchart showing a procedure of a lamp display control task which is one of the main tasks of the unit controller.

【図111】ユニット制御装置における入出力タイミン
グチャートである。
FIG. 111 is an input / output timing chart in the unit control device.

【図112】カードリーダコントローラによる制御手順
の全体の概略を示すフローチャートである。
FIG. 112 is a flowchart showing an outline of the entire control procedure by the card reader controller.

【図113】図112のフローのより詳細な手順を示す
フローチャートである。
FIG. 113 is a flowchart showing a more detailed procedure of the flow in FIG. 112;

【図114】同じく、図112のフローのより詳細な手
順を示すフローチャートである。
FIG. 114 is a flowchart showing a more detailed procedure of the flow in FIG. 112;

【図115】同じく、図112のフローのより詳細な手
順を示すフローチャートである。
115 is a flowchart showing a more detailed procedure of the flow in FIG. 112.

【図116】同じく、図112のフローのより詳細な手
順を示すフローチャートである。
FIG. 116 is a flowchart showing a more detailed procedure of the flow in FIG. 112.

【図117】同じく、図112のフローのより詳細な手
順を示すフローチャートである。
117 is a flowchart showing a more detailed procedure of the flow in FIG. 112.

【図118】「初期値設定」ファンクション受信時の処
理手順を示すフローチャートである。
FIG. 118 is a flowchart showing a processing procedure when receiving an “initial value setting” function.

【図119】「カード受付可」ファンクション受信時の
処理手順を示すフローチャートである。
FIG. 119 is a flowchart showing a processing procedure when a “card accepted” function is received.

【図120】「カード受付不可」ファンクション受信時
の処理手順を示すフローチャートである。
FIG. 120 is a flowchart showing a processing procedure when a “card cannot be accepted” function is received.

【図121】「カード排出」ファンクション受信時の処
理手順を示すフローチャートである。
FIG. 121 is a flowchart showing a processing procedure when a “card discharge” function is received.

【図122】「リロード」ファンクション受信時の処理
手順を示すフローチャートである。
FIG. 122 is a flowchart showing a processing procedure when a “reload” function is received.

【図123】「帰零」ファンクション受信時の処理手順
を示すフローチャートである。
FIG. 123 is a flowchart showing a processing procedure when a “return to zero” function is received.

【図124】「ステータス要求」ファンクション受信時
の処理手順を示すフローチャートである。
FIG. 124 is a flowchart showing a processing procedure when a “status request” function is received.

【図125】「再送要求」ファンクション受信時の処理
手順を示すフローチャートである。
FIG. 125 is a flowchart showing a processing procedure at the time of receiving a “retransmission request” function.

【図126】図121および図123のフロー中におけ
るパンチ処理の具体的な手順を示すフローチャートであ
る。
126 is a flowchart showing a specific procedure of punch processing in the flows of FIGS. 121 and 123.

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

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

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

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

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

【図132】図113〜図117の制御フローおよび図
120〜図123の各ファンクション受信処理中等にお
けるカード排出処理の具体的手順を示すフローチャート
である。
FIG. 132 is a flowchart showing a specific procedure of the control flow of FIGS. 113 to 117 and a card ejection process during each function reception process of FIGS. 120 to 123;

【図133】図113〜図117の制御フロー中におけ
るカード挿入処理の具体的手順を示すフローチャートで
ある。
FIG. 133 is a flowchart showing a specific procedure of card insertion processing in the control flows of FIGS. 113 to 117.

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

【図135】図133および図134のフロー中におけ
る磁気処理の具体的手順を示すフローチャートである。
FIG. 135 is a flowchart showing a specific procedure of magnetic processing in the flows of FIGS. 133 and 134.

【図136】図135の磁気処理中における1ビット読
込み処理の具体的手順を示すフローチャートである。
FIG. 136 is a flowchart showing a specific procedure of a 1-bit reading process during the magnetic process of FIG. 135;

【図137】図133のフロー中におけるパリテイ、L
RC検査処理の具体的手順を示すフローチャートであ
る。
FIG. 137. Parity, L in the flow of FIG. 133.
It is a flowchart which shows the specific procedure of RC inspection processing.

【図138】図133のフロー中におけるセキュリティ
検査処理の具体的手順を示すフローチャートである。
FIG. 138 is a flowchart showing a specific procedure of a security inspection process in the flow of FIG. 133;

【図139】図133のフロー中におけるパンチ穴検査
処理の具体的手順を示すフローチャートである。
FIG. 139 is a flowchart showing a specific procedure of punch hole inspection processing in the flow of FIG. 133.

【図140】図133のフロー中におけるカード磁気デ
ータ検査処理の具体的手順を示すフローチャートであ
る。
140 is a flowchart showing a specific procedure of card magnetic data inspection processing in the flow of FIG. 133.

【図141】図133のフロー中における年月日、識別
コード検査処理の具体的手順を示すフローチャートであ
る。
FIG. 141 is a flowchart showing a specific procedure of an identification code inspection process in the flow of FIG. 133.

【図142】パチンコ機コントローラにおける制御手順
を示すフローチャートである。
FIG. 142 is a flowchart showing a control procedure in the pachinko machine controller.

【図143】同じく、パチンコ機コントローラにおける
制御手順を示すフローチャートである。
FIG. 143 is a flowchart showing a control procedure in the pachinko machine controller.

【図144】同じく、パチンコ機コントローラにおける
制御手順を示すフローチャートである。
FIG. 144 is a flowchart showing a control procedure in the pachinko machine controller.

【図145】同じく、パチンコ機コントローラにおける
制御手順を示すフローチャートである。
FIG. 145 is a flowchart showing a control procedure in the pachinko machine controller.

【図146】同じく、パチンコ機コントローラにおける
制御手順を示すフローチャートである。
FIG. 146 is a flowchart showing a control procedure in the pachinko machine controller.

【図147】パチンコ機コントローラにおけるタイマ割
込み処理の手順を示すフローチャートである。
FIG. 147 is a flowchart showing a procedure of timer interrupt processing in the pachinko machine controller.

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

100 パチンコ機(記憶媒体式遊技機) 160 制御ユニット(通信制御装置) 171 設定スイッチ(識別符号設定手段) 180 ユニット制御装置 188 カードリーダ制御装置 195 パチンコ機制御装置 190 ユニットコントローラ(設定状態読取手段) 200 カード発行機 300 精算機 400 管理装置 520 伝送路(伝送手段) 550 ユニットメモリ 551 データ伝送コントローラ 553 ネットワークコントローラ 800 カードリーダ 821 磁気ヘッド CD 磁気カード(カード状記憶媒体) MG 磁気記録部 100 Pachinko machine (storage medium type game machine) 160 Control unit (communication control device) 171 Setting switch (identification code setting means) 180 Unit control device 188 Card reader control device 195 Pachinko machine control device 190 Unit controller (setting state reading means) 200 Card issuing machine 300 Settlement machine 400 Management device 520 Transmission line (transmission means) 550 Unit memory 551 Data transmission controller 553 Network controller 800 Card reader 821 Magnetic head CD Magnetic card (card-shaped storage medium) MG Magnetic recording unit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】少なくとも金銭と実質的に等価な有価デー
タが付与されてなる記憶媒体が挿入されることに関連し
て遊技が実行可能にされる複数の記憶媒体式遊技装置
と、該記憶媒体式遊技装置と通信可能に接続された管理
装置とを備えた遊技設備における記憶媒体式遊技装置で
あって、 上記記憶媒体式遊技装置は、遊技媒体を用いた所要の遊
技を提供する遊技機本体と、上記記憶媒体の情報記憶部
の情報を読み取り可能な記憶媒体読取手段とを備えた補
助ユニットとにより構成され、 上記遊技機本体は、 上記記憶媒体の有する有価データを遊技媒体に変換させ
る指令を与える変換操作手段と、 上記記憶媒体の有する有価データを表示する有価データ
表示手段と、上記記憶媒体読取手段に挿入されている記
憶媒体を排出させる指令を与える排出操作手段と、を備
え、上記補助ユニットは、少なくとも当該補助ユニット
を識別可能にする識別番号設定手段と、 上記識別番号設定手段により設定された識別番号を上記
管理装置へ送信する通信制御手段と、を備えてなること
を特徴とする記憶媒体式遊技装置。
1. A plurality of storage medium type game devices in which a game can be executed in connection with insertion of a storage medium to which valuable data which is substantially equivalent to money is inserted, and the storage medium. A storage medium type game device in a game facility comprising a management device connected to a communication type game device so as to be able to communicate, wherein the storage medium type game device provides a required game using a game medium. And an auxiliary unit including a storage medium reading unit capable of reading information in the information storage unit of the storage medium, and the gaming machine main body issues an instruction to convert valuable data in the storage medium into a game medium. Converting operation means for providing the storage medium, valuable data display means for displaying the valuable data of the storage medium, and a command for ejecting the storage medium inserted in the storage medium reading means. Output operation means, the auxiliary unit, at least an identification number setting means for identifying the auxiliary unit, and a communication control means for transmitting the identification number set by the identification number setting means to the management device A storage-medium-type game device characterized by comprising:
JP23932395A 1995-08-24 1995-08-24 Storage media type gaming device Expired - Lifetime JP2688739B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23932395A JP2688739B2 (en) 1995-08-24 1995-08-24 Storage media type gaming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23932395A JP2688739B2 (en) 1995-08-24 1995-08-24 Storage media type gaming device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP31516590A Division JP2784955B2 (en) 1990-11-20 1990-11-20 Gaming equipment

Publications (2)

Publication Number Publication Date
JPH08103550A JPH08103550A (en) 1996-04-23
JP2688739B2 true JP2688739B2 (en) 1997-12-10

Family

ID=17043015

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23932395A Expired - Lifetime JP2688739B2 (en) 1995-08-24 1995-08-24 Storage media type gaming device

Country Status (1)

Country Link
JP (1) JP2688739B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6068388B2 (en) * 2014-05-07 2017-01-25 京楽産業.株式会社 Game machine

Also Published As

Publication number Publication date
JPH08103550A (en) 1996-04-23

Similar Documents

Publication Publication Date Title
JP2784955B2 (en) Gaming equipment
JP2688739B2 (en) Storage media type gaming device
JP2742672B2 (en) Gaming equipment
JP2724552B2 (en) Gaming equipment
JP2964234B2 (en) Ball game machine
JP2724550B2 (en) Gaming equipment
JP2651905B2 (en) Storage media type game equipment
JP2663201B2 (en) Storage media type gaming device
JP2724553B2 (en) Gaming equipment
JP2724551B2 (en) Gaming equipment
JP2742671B2 (en) Gaming machine
JP2720328B2 (en) Gaming equipment
JP2700503B2 (en) Gaming system
JP2663202B2 (en) Storage media type gaming device
JP2709417B2 (en) Game storage medium issuing device
JP2920193B1 (en) Gaming equipment
JP2797148B2 (en) Gaming equipment
JP2663210B2 (en) Storage media type game equipment
JP2709418B2 (en) Storage media payment device
JP2700504B2 (en) Storage medium issuing device in a game arcade
JP2767006B2 (en) Amusement store equipment
JP2767008B2 (en) Gaming equipment
JP2767007B2 (en) Storage medium issuing device
JP2663211B2 (en) Storage media type game equipment
JP2784956B2 (en) Amusement store equipment

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term