JP3663596B2 - Card type pachinko game machine - Google Patents
Card type pachinko game machine Download PDFInfo
- Publication number
- JP3663596B2 JP3663596B2 JP2000027946A JP2000027946A JP3663596B2 JP 3663596 B2 JP3663596 B2 JP 3663596B2 JP 2000027946 A JP2000027946 A JP 2000027946A JP 2000027946 A JP2000027946 A JP 2000027946A JP 3663596 B2 JP3663596 B2 JP 3663596B2
- Authority
- JP
- Japan
- Prior art keywords
- discharge
- ball
- flag
- ball lending
- sensor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000012545 processing Methods 0.000 claims description 152
- 230000005540 biological transmission Effects 0.000 claims description 83
- 238000006243 chemical reaction Methods 0.000 claims description 46
- 230000004044 response Effects 0.000 claims description 39
- 238000007599 discharging Methods 0.000 claims description 32
- 230000002159 abnormal effect Effects 0.000 claims description 13
- 238000000034 method Methods 0.000 description 550
- 230000008569 process Effects 0.000 description 512
- 230000006870 function Effects 0.000 description 59
- 230000008859 change Effects 0.000 description 58
- 238000012544 monitoring process Methods 0.000 description 51
- 230000000630 rising effect Effects 0.000 description 49
- 238000003860 storage Methods 0.000 description 38
- 238000001514 detection method Methods 0.000 description 36
- 239000000872 buffer Substances 0.000 description 24
- 238000011084 recovery Methods 0.000 description 16
- 238000004891 communication Methods 0.000 description 15
- 238000009434 installation Methods 0.000 description 14
- 238000003780 insertion Methods 0.000 description 13
- 230000037431 insertion Effects 0.000 description 13
- 238000007726 management method Methods 0.000 description 13
- 230000005856 abnormality Effects 0.000 description 12
- 238000000926 separation method Methods 0.000 description 12
- 238000000605 extraction Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000005284 excitation Effects 0.000 description 3
- 230000007257 malfunction Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 230000002265 prevention Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 241001629697 Panicum turgidum Species 0.000 description 2
- 230000004397 blinking Effects 0.000 description 2
- 239000012141 concentrate Substances 0.000 description 2
- 238000004080 punching Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Images
Landscapes
- Pinball Game Machines (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Description
【0001】
【産業上の利用分野】
本発明は、球排出装置を備えた遊技機とカードのデータを読み取り可能なカード処理装置を内蔵する球貸機とからなり、カードが保有する有価データに基づいて貸し球を借り受け、それによって遊技を行うことができるカード式パチンコ遊技装置に関する。
【0002】
【従来の技術】
従来、球を発射して遊技を行う遊技機として、例えばパチンコ遊技機がある。
従来のパチンコ遊技機においては、一般に球貸機に硬貨を投入して貸し球を借り受け、その借り受けた貸し球をパチンコ機の供給皿に入れて遊技を行っていた。
【0003】
また、近年では、硬貨に換わってカードに記録された金額情報に基づき貸し球を借り受けるようにしたカード式のパチンコ遊技機も提案されている。
【0005】
【発明が解決しようとする課題】
ところで、従来のカード式のものにおいては、パチンコ遊技機と該パチンコ遊技機に隣接されたカードユニットとから構成され、このカードユニットに球排出装置や該球排出装置からの貸し球が排出される排出口、およびカードに関する所望の操作を行う操作部が設けられていた。そのため、遊技者が遊技を行う場合には、カードユニットにカードを投入した後、カードユニットに配設された操作部に手を伸ばして貸し球操作を行う必要があり操作性が悪いといった問題点があり、しかも、その操作により排出口から排出された貸し球を手で受けてパチンコ遊技機の供給皿に移すといった煩わしい作業が必要であった。更に、遊技中には持球が無くなる度に貸し球の操作を行わなければならないため、貸し球操作や貸し球の移送が煩わしいばかりか、遊技に集中できないといった問題点もある。
また、パチンコ遊技機に配設される賞球排出用の球排出装置の他に、カードユニットにも貸し球排出用に別の球排出装置が設けられるような無駄の多い構成であった。
【0006】
さらに、従来は、カードをカードユニットヘ投入して貸し球を借り受ける際には、 1 回の貸し球操作によりカードの金額情報から変換される量 ( 単位 ) が予め固定されていたため、遊技店が希望する変換量に変更することができず、遊技店あるいは遊技者に不満を与えることがあった。
【0007】
本発明は、上記課題を解決するためになされたもので、よりシンプルな構成で貸し球の排出を行うことができるとともに、遊技に集中したまま簡単な操作により貸し球を借り受けることができ、更に、カードの保有する有価データ(金額情報)から貸し球に変換される変換量の設定を遊技店の希望に応じて変更できるようにするとともに不測の事態にも対処し、加えて、その変換量の設定に拘わらずカードの保有する有価データを全て変換することができるようにしたカード式パチンコ遊技装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するため、本発明は、所要の排出指令に基づいて所要数の球を排出可能な球排出装置(170)を備えた遊技機(例えば、パチンコ遊技機100)と、カードのデータを読み取り可能なカード処理装置(例えば、カードリーダ)を内蔵する球貸機(200)と、が一対一で構成され、上記遊技機の前面側所定部位に配設された球貸ボタン(例えば、球貸し変換ボタン123)の操作に基づいて上記カード処理装置に挿入されたカードの保有する有価データの範囲内から所定数の貸し球を該遊技機の球排出装置から排出するようにしたカード式パチンコ遊技装置であって、上記遊技機に設けられた球排出装置の排出制御を行う排出制御回路(例えば、排出制御装置600)と、遊技盤に関する制御を司ると共に、上記排出制御回路に対して排出すべき賞球数を示す賞球数データを送信する遊技盤制御回路(例えば、遊技盤制御装置400)と、上記球貸ボタンの操作に基づいて上記排出制御回路に対して貸し球の排出に関わる排出制御信号(球貸要求信号T)を送信可能な球貸制御回路(例えば、球貸し制御装置500)とを備え、上記球貸制御回路は、上記球貸ボタンの1回の操作に対して有価データから貸し球に変換される変換有価データ量を最小変換単位の整数倍で複数設定された内の何れかに選択して設定変更するための設定手段(例えば、球貸し数設定手段506)と、タイマ手段と、を有し、上記排出制御回路は、上記排出制御信号に対する応答として上記球貸制御回路に対して応答信号を送信し、かつ、上記排出制御信号が検出されているとき、最小変換単位の貸し球の排出が完了すると、上記球貸制御回路に対して払出完了信号を送信し、上記球貸制御回路は、上記排出制御信号の送信に基づいて上記タイマ手段が計測を開始して、上記タイマ手段の計測する第1設定時間に満たない時間内に上記排出制御回路から上記排出制御信号に対する応答信号を検出した場合には、上記遊技機が異常状態であると判定すると共に、上記第1設定時間の経過後、第2設定時間内に上記排出制御回路から上記排出制御信号に対する応答信号を検出しない場合には、上記遊技機が異常状態であると判定するように構成され、さらに、上記球貸ボタンが操作された際に、上記カード処理装置に挿入されたカードの保有する有価データが上記設定手段により設定された変換有価データ量を満たす場合には、該カードの保有する有価データのうち変換有価データ量に対応した数の貸し球を排出させるための排出制御信号を所定数の球の排出完了までそのままアサートさせ上記排出制御回路に送信する一方、カードの保有する有価データが上記設定手段により設定された変換有価データ量に満たない場合には、該カードの保有する有価データの残り分全てに対応した数の貸し球を排出させるための排出制御信号を所定数の球の排出完了までそのままアサートさせ上記排出制御回路に送信するようにした。
【0009】
【作用】
上記した手段によれば、遊技機と球貸機が一対一で構成され、遊技機の前面側所定部位に配設された球貸ボタンを操作すると、排出制御回路に対して、球貸制御回路から貸し球の排出に関わる排出制御信号が送信され、該排出制御回路により遊技機の球排出装置が制御され該球貸し操作に基づく貸し球が遊技機側において排出されるので、遊技者の近傍において簡単に球貸ボタンを操作することができ、しかも借り受けた貸し球は遊技機側に直接排出され、従来のような貸し球を球貸機から移し替えるといった煩わしい作業も必要なくなり、遊技に集中することができる。
そして、球貸制御回路は、球貸ボタンの1回の操作に対して有価データから貸し球に変換される変換有価データ量を最小変換単位の整数倍で複数設定された内の何れかに選択して設定変更するための設定手段を含むので、遊枝店の所望する変換有価データ量に設定変更することができる。
また、上記排出制御信号の送信に基づいて上記タイマ手段が計測を開始して、上記タイマ手段の計測する第1設定時間に満たない時間内に上記排出制御回路から上記排出制御信号に対する応答信号を検出した場合には、上記遊技機が異常状態であると判定すると共に、上記第1設定時間の経過後、第2設定時間内に上記排出制御回路から上記排出制御信号に対する応答信号を検出しない場合には、上記遊技機が異常状態であると判定するので、貸し球の払い出し時に貯留タンクの玉不足等遊技機が異常な状態になっていて正確な払い出しが行なえないのに貸し球への変換要求を受け付けたり、払い出しを行なっていないのに貸し球への変換要求した分のカードの有価データを減算してしまうという不具合を回避することができる。
更に、球貸ボタンが操作された際に、球貸機のカード処理装置に挿入されたカードの保有する有価データが設定手段により設定された変換有価データ量を満たす場合には、該カードの保有する有価データのうち変換有価データ量に対応した数の貸し球を排出させるための排出制御信号が球貸制御回路から排出制御回路に所定数の球の排出完了までそのままアサートされて送信され、一方、カードの保有する有価データが設定手段により設定された変換有価データ量に満たない場合には、該カードの保有する有価データの残り分全てに対応した数の貸し球を排出させるための排出制御信号が球貸制御回路から排出制御回路に所定数の球の排出完了までそのままアサートされて送信されるので、カードの保有する有価データの残度に端数が出てしまっても貸し球へ変換することができなくなってしまうことを防止できる。特に、設定手段により変換有価データ量を変更できるように装置を構成するとカードの保有する有価データの残度に端数が出る可能性が多くなるのでより有効となる。
また、排出制御回路は、連続球貸しカウンタが所定値を超えた場合に、連続球貸しを抑制するので、不測の事態を抑えることができる。
【0010】
【実施例】
図1には、本発明に係るカード式パチンコ遊技装置の一実施例が示されている。
この実施例では、パチンコ遊技機100と球貸機200とが対をなすように構成されており、各球貸機200にはカードリーダが内蔵され、球貸機200の前面パネル210には上記カードリーダに対応してカード挿排口211と、挿入されたカードの残高を表示する挿入残高表示器220、球貸機が作動状態にあることを表示する有効表示ランプ230が設けられている。
一方、パチンコ遊技機100の前面パネルに設けられている供給皿120の上面には、操作パネル121が形成され、この操作パネル121上に上記カード挿排口211に挿入されたカードの残高を表示する残高表示器122と、貸し玉への変換の指令を与える球貸し変換ボタン123と、カードの排出(返却)を指令する返却ボタン124と、上記球貸し変換ボタン123が有効中であることを表示する球貸し可能表示ランプ126が設けられている。
【0011】
なお、112は賞品玉排出時に点灯される賞品球排出表示ランプ、また113は貸し玉排出時に点灯される貸し玉排出表示ランプ、108はパチンコ遊技機において打止状態が発生したときに点灯される完了ランプは上記供給皿120が満杯になったときに内部でオーバーフローした賞品球を貯留する受け皿、142は供給皿120から流下される球を一個ずつ遊技領域内に発射する打球発射装置の操作ダイヤルである。パチンコ遊技盤102前面の遊技領域の構成は従来のものと同様で、任意の構成をとり得る。
この実施例では、球貸し変換ボタン123が押されると、上記球貸機200のカードリーダへのカードの挿入を前提としてカードの有する金額の範囲内で、予め設定された金額(例えば200円分)を貸し玉に変換する指令がパチンコ遊技機100の裏面に設けられている球排出装置の制御装置に対して送出するように構成されている。変換後のカードの残り金額は、100円を1単位とする度数で残高表示器122に表示されるようになっている。
【0012】
図2には本発明を適用したパチンコ遊技機100の裏機構の一実施例が示されている。
図2において、170は賞品球を排出する球排出装置、600は入賞検出器等からの信号に基づいて上記球排出装置170を制御して所定数の賞品球を排出させる排出制御装置、151は排出される前の球を貯留しておく貯留タンク、152は貯留タンク151内の球を一列に整列させて上記球排出装置170まで誘導する誘導樋である。この誘導樋152は特に限定されないが、短時間に多量の玉を供給できるように2条に形成されており、その途中には球の重なりを防止する玉ならし153および待機球検出器160が設けられている。
【0013】
また、球排出装置170の下方には、排出された玉を遊技機前面の上記供給皿120の流出口129へ誘導する排出樋155と供給皿120からオーバーフローした玉を下方の受け皿へ誘導するオーバーフロー樋156が連続して設けられているとともに、上記排出樋155の途中から分岐された玉抜き樋157が上記オーバーフロー樋156と平行して配設され、この玉抜き樋157と排出樋155との分岐部には流路切換え弁158が設けられている。159は遊技機の前面に設けられた入賞口に流入した入賞球を一箇所に集合させる集合樋、180は集合樋159の下端に設けられ集合された入賞球を1個ずつ分離して検出器で検出する入賞球分離検出装置、400は遊技部に設けられた入賞検出器からの信号に基づいて役物や表示ランプを駆動する遊技盤制御装置である。
【0014】
上記遊技盤制御装置400と排出制御装置600とは、2組のツイステッドペア線からなるコードによって接続される。特に限定されるものでないがこの実施例では、遊技盤制御装置400と排出制御装置600から引き出されたコード191,192の一端が中継基板195に接続されており、中継基板195を介して遊技盤制御装置400と排出制御装置600とが通信可能に結合されている。
なお、この実施例では、入賞球分離検出装置180として集合樋159で集合された入賞球の流下経路に臨むストッパ182とそれを駆動するソレノイド(以下、セーフソレノイドと称する)183とからなり検出器(セーフセンサと称する)181で入賞球を1つ検出する毎にストッパ182をソレノイド183で駆動して入賞球を1つ流下させるように構成した電気式のものを用いているが、先端にストッパを、また後端に錘を有するシーソー式の球鞘とマイクロスイッチとから構成されたメカ式のものを用い、入賞球数は排出制御装置600内に電気的に記憶させるようにしても良い。
【0015】
図3には上記球排出装置170の一実施例を示す。
この球排出装置170は、貯留タンク151に貯留された予備球を誘導する上記誘導樋152に連続するように構成された案内樋710を備えている。この案内樋710は上記誘導樋152に対応して2条に形成されており、各条の通路に対応して流下阻止手段としてのストッパ745とその駆動用排出ソレノイド741とからなる排出手段740も2組設けられている。
上記案内樋710は、その機能から3つの部分からなり、上から順にそれぞれ減圧部711、縁切り部712、排出部713とされている。
上記減圧部711は、貯留タンク151から誘導樋152を介して送られてくる予備球の圧力を減らすもので、同図に示すように、緩傾斜状態にUターンされた構造にされている。上記縁切り部712は、その下の排出部713を通る球同士に間隔を開けさせて、下方の排出手段740による球の流出を止め易くするためのもので、前記減圧部711に連続する垂直通路部分721と後述の排出部713に通じる方向変換通路部分722とから構成されている。
【0016】
そして、垂直通路部分721の下端部には、球詰まり防止突部723が前方に突出して設けられている。この球詰まり防止突部723によって、垂直通路部分721に縦に並んで停止した球のうちの最も下の球の中心位置がその上方の球の中心位置より常に前方に位置せしめられるようになる。それによって、上方の球の流下移動圧が最も下の球を常に前方に押圧するように作用し、球詰まりが防止される。
各案内樋710の排出部713の途中には、流下する球を検出する非接触型の排出球検出センサ730(排出センサ1,2)がそれぞれ設置されている。
また、各排出部713の途中、上記排出センサ730直後には上記排出手段740を構成するストッパ745が出没可能な切欠き703が設けられている。
【0017】
上記ストッパ745は、それぞれ支軸によって回動自在に支持されているとともに、ストッパ745の一側部には、それぞれ連結ピン746が突設され、これら連結ピン746と排出ソレノイド741の作動ロッド742の下端部とが連結板747によりそれぞれ連結されている。
そして、排出ソレノイド741が消磁(オフ)状態にあるときには、作動ロッド742が下降してストッパ745の先端部が切欠き部703より案内樋710の排出部713中にそれぞれ入り込んで、排出部713中の遊技球の流下を阻止するようになっている。一方、排出ソレノイド741が励磁(オン)されると、作動ロッド742が上昇してストッパ745が上昇する方向に回動されて排出部713の切欠き703中から脱して、排出部713中の球の流下阻止状態を解除させ、案内樋710内の予備球を下方の排出樋155へ排出させるようになっている。
【0018】
このように上記実施例の球排出装置170は、排出センサ730で流下する玉を一個ずつ検出しながら所定数に達した時点でストッパ745を作動させて排出を停止させることができるため、上述したごとく排出球数の異なる賞品球と貸し玉とを同一の球排出装置によって排出させることが可能となる。
なお、図3において、750はパチンコ遊技機100の前面枠に設けられた操作孔(図示省略)から球抜き棒が差し込まれたことを検出する球抜きセンサ750である。球抜きセンサ750がオンされると、上記排出ソレノイド741が連続して励磁されて案内樋710内の予備球を排出させるとともに、排出樋155内の切換え弁158の駆動手段(ソレノイド)を作動させ、排出された玉を球抜き樋157を通して機外へ排出させるようになっている。
【0019】
上記球抜きセンサ750および排出ソレノイド741、排出センサ730は排出制御装置600に電気的に接続されている。
図4には、パチンコ遊技機100の制御系の一実施例が示されている。
この制御系は大きく分けると、主としてパチンコ遊技機100の遊技盤に関する制御を司る遊技盤制御装置400と、カードリーダ等の制御を司る球貸し制御装置500と、上記球排出装置170の制御を司る排出制御装置600とにより構成されている。
上記制御装置のうち遊技盤制御装置400は、パチンコ遊技機の遊技盤102に設けられている各種入賞球検出器から検出信号を受けて役物の駆動信号を形成したり、パチンコ遊技機の裏機構盤に設けられている入賞球分離検出装置180内の検出器(セーフセンサ)181からの信号を受けて入賞球分離用のセーフソレノイド182を作動させたり、スピーカ190に対する駆動信号を形成する。
【0020】
また、遊技盤制御装置400は、遊技状態を監視してパチンコ店の管理装置700に対してパチンコ機が稼働中であることや大当りの発生、打止めの発生等の状態に関する情報を伝える機能を備えている。
排出制御装置600は、上記球貸し制御装置500または遊技盤制御装置400からの排出指令信号に基づいて上記球排出装置170内の2条の案内樋710の途中に設けられた一対のストッパ745を作動させる排出ソレノイド741a,741bを励磁して、排出センサ730a,730bの検出信号に基づいて各案内樋710内の予備球を所定数だけ排出させるとともに、球抜きスイッチ750からのオン信号に基づいて排出ソレノイド741a,741bを励磁し、かつ流路切換え弁158の駆動源を作動させて貯留タンク151および誘導樋152内の予備球をすべて排出させたりする。
【0021】
また、排出制御装置600は、誘導樋152の途中に設けられた待機球検出器160からの検出信号が入ってくると排出ソレノイド741a,741bの励磁を保留して球排出装置170による排出を中止するとともに、排出時には排出指令信号の内容に応じて例えば賞品球排出表示ランプ112または貸し玉排出表示ランプ113を点灯させたり、遊技盤制御装置400に対して賞品球もしくは貸し玉の排出音要求信号を送出する。
球貸し制御装置500は、球貸機200内のカードリーダからの読取りデータを受けて挿入残高表示機220に対する挿入残高表示駆動信号、残高表示器122に対する表示駆動信号およびカードリーダが作動状態にあることを表示する有効表示ランプ230やパチンコ遊技機に設けられている球貸し可能表示ランプ126に対する駆動信号を形成したり、カードリーダ制御装置250に対する残高データ書換え信号q、パンチ穴加工信号m、カード排出信号nを形成する。また、球貸し制御装置500は、球貸変換ボタン123を操作するとオンされる球貸し変換スイッチとカード返却ボタン124を操作するとオンされるカード返却スイッチのオン信号を受け付けるとともに、排出制御装置600に対して球貸し要求信号Tを送ったり、カード管理会社の管理装置800に対して1度(100円)分の貸し玉への変換が行なわれたことを知らせるカード決済信号jを送信する機能も備えている。
【0022】
図5には上記遊技盤制御装置400の構成例が示されている。
すなわち、この実施例の遊技盤制御装置400は、排出制御装置600との間の信号の送受信を行なう通信手段410と、遊技盤102の賞球別入賞検出器からの検出信号を計数し保持する2つの入賞記憶手段411,412と、各入賞記憶手段411,412に対応した賞球数を記憶する賞球数記憶手段430と、上記入賞記憶手段411,412の記憶内容に基づいて排出すべき賞品球数を決定する賞球数制御手段420と、遊技盤102からの信号に基づいて役物のソレノイドやモータ、表示ランプを駆動したり大当りの発生を検出して役物や変動入賞装置等を所定の手順に従って駆動制御したり、スピーカ190を駆動するなど遊技に関する制御を行なう遊技制御手段450と、遊技盤102からの信号を受けたり遊技盤上の表示ランプやモータ、ソレノイド等の、スピーカ等の駆動信号を形成する信号入出力手段460とにより構成されている。
【0023】
この実施例の遊技盤制御装置400には、一般の入賞口とは異なる数の賞品球が設定されている入賞口に入賞した球を検出する賞球別入賞検出器490が遊技盤102に2種類設けられた場合にも対応できるように、2つの入賞記憶手段411,412が設けられており、賞品球数の異なる入賞口ごとに入賞数を計数するようにしている。入賞検出信号は賞品球排出の有無にかかわらず遊技盤制御装置400に連続して入ってくるので、入賞球の数を記憶する入賞記憶手段が必要とされる。
一方、上記賞球数制御手段420は、通信手段410からの信号により排出制御装置600から賞球数データの要求があったことを知ると、上記入賞記憶手段411,412の記憶内容に基づいて賞球数記憶手段430から排出すべき賞品球数を読み出して決定し、決定された賞球数データGを通信手段410に渡して排出制御装置600に対し賞球数データを送信させる。これとともに、賞球数制御手段420は、賞球数データを一回送信すると入賞記憶手段411または412の記憶内容を「1」だけ減らす機能を備えている。
【0024】
図6には上記遊技盤制御装置400を汎用のICを使って構成する場合の実施例が示されている。
すなわち、遊技盤制御装置400はマイクロプロセッサCPUと、読出し専用メモリROMと、随時読出し書込み可能なメモリRAMと、シリアル通信用のシリアルインタフェースSIFと、ゲートアレイからなる入出力バッファBFFと、遊技盤上の表示器やソレノイドの駆動信号を形成するドライバDRV、賞球別入賞検出器の信号からノイズを除去して入力するフィルタFLT、各種効果音を形成するサウンドジェネレータSDGと、サウンドジェネレータSDGの出力を増幅してスピーカ190を駆動するアンプAMPとから構成される。
【0025】
図5に示されている構成手段のうち、通信手段410はシリアルインタフェースSIFによって、入賞記憶手段411,412はRAMによって、また、賞球数記憶手段430はROMによって、賞球数制御手段420と遊技制御手段450はCPUおよびその動作プログラムを記憶するROMによって、さらに信号入出力手段460はドライバDRV、フィルタFLT、サウンドジェネレータSDGおよびアンプAMPによって、それぞれ構成することができる。
なお、RSTは上記CPUのリセット信号を形成する外付けのリセット回路、TSMはシリアルインタフェースSIFからの送信データに基づいて排出制御装置600との間に接続されたコード191を電流駆動する送信回路、RCVはフォトカプラPCとインバータIVとからなり排出制御装置600により供給された電流を電圧に変換して受信データとする受信回路である。
【0026】
図7には排出制御装置600の構成例を示す。
この実施例の排出制御装置600は、遊技盤制御装置400との間の信号の送受信を行なう通信手段610と、セーフセンサ181からの検出信号に基づいて上記遊技盤制御装置400に対して賞球数データの要求信号Pを形成する賞球数要求手段620と、賞球数要求に対して応答がなかった場合に再送要求を行なう再送制御手段630と、排出すべき賞品球の数を確定する賞球数確定手段640と、遊技盤制御装置400から賞球数データOが送信されてこなかった場合の賞球数を与える基本賞球数設定手段642と、排出ソレノイド741a,741bを駆動して賞品球の排出や球抜を行なう排出制御手段650と、球貸し制御装置500からの球貸し要求信号Tに基づいて球貸し排出数を演算する貸し玉排出制御手段670と、賞品球や貸し玉の排出時に上記通信手段610に対して各々の排出音の要求送信を行なうように指示する音要求発生手段680と、停電時のデータセーブおよびデータ復帰を行なう停電制御手段690とにより構成されている。
【0027】
排出制御手段650は、賞球排出が終了するごとに入賞球検出分離装置180内のセーフ用ソレノイド183を駆動したり、待機球検出器がオンしていることを条件に賞球数データO(基本賞球数Q)および排出センサ730a,730bからの検出信号に基づいて排出ソレノイド741a,741bを駆動して賞品球の排出を行なったり、賞品球の排出駆動の際に賞球排出表示器112を点灯させたり、球抜スイッチ750からのオン信号によって賞球排出樋の途中に設けられた流路切り換え弁(球抜ソレノイド)を切換かつ排出ソレノイド741a,741bを駆動して貯留タンク151内の予備球をすべて排出させる。
また、排出制御手段650は、誘導樋152の途中に設けられた待機球検出器160からの検出信号が入ってくると排出ソレノイド741a,741bの励磁を保留して球排出装置170による排出を中止するとともに、排出時には排出指令信号の内容に応じて例えば賞品球排出表示ランプ112または貸し玉排出表示ランプ113を点灯させたり、遊技盤制御装置400に対して賞品球もしくは貸し玉の排出音要求信号を送出する。
【0028】
また、上記再送制御手段630は、賞球数要求時に起動され、所定時間を計時する受信タイマ632と、この受信タイマ632がタイムアップする前に賞球数データを受信しなかった場合に上記賞球数要求手段620に対して再度要求を行なうよう指令する再送要求制御手段634と、この再送要求を最高何回まで繰り返すか設定する再送要求回数設定手段636とから構成されている。上記再送要求制御手段634は、再送要求回数を計数しそれが設定された回数に達すると、上記基本賞球数設定手段642から基本賞球数Qを賞球数確定手段640へ供給するように指令する。上記賞球数要求手段620は、セーフセンサ181からの検出信号が入ってくると賞球数データの要求を行なうようになっている。
【0029】
貸し玉排出制御手段670は、貸し玉への変換レートを記憶するデータ記憶部671と、球貸し制御装置500からの球貸し要求信号Tに基づいて貸し玉の排出数を演算し上記排出制御手段650に渡す貸し玉排出数演算部672と、球貸し制御装置500に対して球貸し排出が可能な状態にあることを知らせる球貸しイネーブル信号Uや球貸し排出が終了したことを知らせる払出完了信号Vを形成する排出制御信号形成部673等から構成されている。
停電制御手段690は、例えば交流電源の電源波形の波の数を数えて所定数以下になったときに停電の発生を検出すると、排出制御手段650内の排出数を例えば電池によりバックアップされたRAMもしくはEPROM等の記憶手段693にセーブし、電圧レベル検出手段等からの信号に基づいて電源電圧の回復を検出すると、記憶手段693にセーブされていた排出球数を排出制御手段650内の排出レジスタに復帰させて、停電により中断された排出を停電回復時に途中から続行させて、残りの球を排出させるように構成されている。
【0030】
上記排出制御装置600は、図6に示されている遊技盤制御装置400と同様に、CPUやROM、RAM(もしくはシングルチップマイコン)およびシリアルインタフェース、ドライバ、フィルタ等の汎用ICを使って構成することができる。
図8は球貸し制御装置500の構成例を示す。
この実施例の球貸し制御装置500は、シングルチップマイコン等からなる制御部510と、この制御部510とカードリーダ制御装置250との間のデータ送受信のインターフェースを行なうトランシーバ502と、セグメント型表示器からなる残高表示器の駆動信号を形成する表示駆動手段503と、球貸し可能表示器126および球貸有効表示ランプ230を駆動するドライブ回路DRV1,DRV2と、返却ボタン124および球貸し変換ボタン123からの信号を受けて上記制御部510に入力するバッファ504a,504bと、カード管理装置800に対してカード決済信号jを供給するリレー505と、上記球貸し変換ボタン123の一回の操作に対する排出回数(100円分を最小排出単位とする)を設定する球貸し数設定手段506等によって構成されている。
【0031】
また、上記制御部510は、カードリーダ制御装置250からのデータを読み込んだり、カードリーダ制御装置250に対する書込データや制御信号、残高表示器122に対する表示データを形成するカード制御手段511と、上記排出制御装置600に対する球貸し要求信号Tを発生する球貸要求制御手段512と、球貸し変換ボタン123からの変換要求信号が入ったときに球貸要求制御手段512に対して球貸し要求信号Tの発生を許可する制御信号tを発生する球貸要求有効化手段513とから構成されている。上記球貸し数設定手段506はROMのような記憶手段もしくはスライドスイッチのような設定器によって構成することができる。
【0032】
球貸要求制御手段512は、上記球貸要求有効化手段513からの制御信号tと上記排出制御装置600からの球貸し排出可能を示す球貸イネーブル信号Uに基づいて排出制御装置600に対する球貸し要求信号Tを形成する球貸要求信号出力手段521と、排出制御装置600からの払出完了信号Vを受けて球貸排出回数を計数する排出回数計数手段522と、この排出回数計数手段522と上記球貸し数設定手段506に設定された球貸し数とを比較し一致したときに上記球貸し要求信号Tをネゲートさせる比較器523と、カード制御手段511からカード残高が「0」になったことを示す信号uが入ってきたときおよび返却ボタン124からの信号が入ってきたときに直ちに上記球貸し要求信号Tをネゲートさせる球貸要求取消手段524とにより構成されている。
球貸し可能表示器126を駆動するドライブ回路DRV1は、上記球貸し要求信号Tを受けてこれがネゲートされている間だけ球貸し可能表示ランプ126を点灯させ、球貸し要求信号Tがアサートされている間は消灯させるようになっている。
【0033】
図9には、上記球貸し制御装置500のカード制御手段511の具体的構成例を示す。すなわち、このカード制御手段511は、カードリーダ制御装置250から送られてくる読込みデータよりカードの残高を抽出するカード残高読込み手段541と、読み込まれた残高データを記憶する残高記憶手段542と、排出制御装置600からの貸し玉払出完了信号Vに基づいて上記残高記憶手段542の記憶内容を減算させる金額減算手段544と、残高記憶手段542の金額が所定数になるごとにカードリーダ内のパンチ装置に対して穴開け指令を与えるパンチ穴加工制御手段545と、上記残高記憶手段542の金額がゼロになったか否か判定するカード残高判定手段546と、この判定手段546からの金額ゼロ信号uや返却ボタン124からのカード返却要求信号等に基づいてカードリーダの挿排出モータに対するカード排出指令信号nや球貸可能表示器126の制御信号を形成するカード挿排出制御手段547と、貸し玉払出完了信号Vに基づいてプリペードカードが1度(100円等)分使用されたことを、全カードの金額を管理するカード管理装置800に知らせる決済信号jを形成する決済情報形成手段548とを備えている。この決済信号jは伝送ラインを介してカード管理会社のコンピュータに伝送させるようにすることができる。
上記カード残高読込み手段541と、読み込まれた残高データを記憶する残高記憶手段542と、排出制御装置600からの貸し玉払出完了信号Vに基づいて上記残高記憶手段542の記憶内容を減算させる金額減算手段544とによって、残高データ制御手段549が構成されている。そして、上記残高記憶手段542の内容は貸し玉払出完了ごとに更新され、その残高記憶手段542の内容はパチンコ遊技機100に設けられた残高表示器122に表示される。
【0034】
次に、上述した排出制御装置600によって行なわれる賞品球および貸し玉の排出制御の手順を図10ないし図39を参照して詳細に説明する。
賞品球の排出制御は、上記排出制御装置600の電源の投入と同時に開始され電源が投入されている限り繰返しその処理が行なわれる所謂バックグラウンド制御処理(図10)と、上記電源が投入されたあとタイマ割込みにより所定時間(例えば0.5msec)毎に、上記バックグランド制御処理中に当該バックグランド制御処理を中断してその処理が実行される割込処理(図11)の2つの制御処理に大別される。
【0035】
先ず、賞品球の排出制御のバックグランド制御処理のメインルーチンについて図10を参照して説明する。
このメインルーチンは、前述したように排出制御装置600の電源の投入後、繰返し行なわれる。
電源が立上がると、先ず、ステップS1で「停電フラグ」が「1」であるか否かが判定される。この「停電フラグ」は後述の停電割込み処理(図20)で停電が検出されたときに「1」にされるものである。
このステップS1の判定結果が“No”のときにはステップS2に進み、“Yes”のときにはステップS13に進んでRAM内の参照エリアに用意された「処理ナンバー」を“5”に設定してからステップS3へ進む。後で停電回復処理(ステップS15)を行なわせるためである。ステップS2では、RAMのクリアやフラグの設定、出力バッファのリセット等の初期設定を行なう。
【0036】
続くステップS3では、後述の排出装置不正監視処理(図21)を行なって不正排出が行なわれていないことを確認してから、ステップS4に進み、上記処理中で設定される排出不正フラグが「1」であるか否か判定し、フラグが「1」のときはステップS14の不正解除処理を行ない、フラグが「0」のときはステップS5へ進む。ステップS5〜S9では上記処理ナンバー(処理NO)を参照して、ナンバーがそれぞれ“5”または“4”、“3”、“2”、“1”であるか否かが判定される。
この処理ナンバーは、その値が“5”のときに後述の停電回復処理(図37)を開始させ、その値が“4”のときに後述の玉抜処理(図34−36)を開始させ、その値が“2”のときに後述の賞球排出処理(図26)を開始させ、その値が“3”のときに後述の球貸し排出処理(図33)を開始させ、その値が“1”のときに後述の賞球開始処理(図23)を開始させるものである。そして、この処理ナンバーは各々対応する処理が実行されたとき、その処理フローの中で他のナンバーに変更もしくは“0”にリセットされるようになっている。
【0037】
一方、処理ナンバーが“0”のときはステップS10へ進み、玉抜フラグが「1」であるか否か判定し、フラグが「1」のときはステップS20で上記処理ナンバーを“4”に設定する。再度メインルーチンが実行されるときにステップS16の玉抜処理へ移行させるためである。またステップS10で、玉抜フラグが「0」と判定したときはステップS11へ進む。ステップS11では、球貸し制御装置500から球貸し要求信号Vが入っているか否か調べ、信号が入っていれば球貸し開始処理(図32)を実行し、球貸し要求信号がなければステップS12へ進む。ステップS12では、セーフセンサ181からの検出信号の入力処理を行なう図18のセーフセンサ入力処理フロー中において設定されるセーフ玉有フラグを調べて該フラグが“1”ならステップS22で処理ナンバーを“1”に設定する。再度メインルーチンが実行されるときにステップS19の賞球開始処理へ移行させるためである。また、ステップS12でセーフ玉有フラグが“0”なら、音要求処理S23と情報出力処理S24を実行してから上記ステップS3へ戻る。
【0038】
図11には、図10のメインルーチン(バックグランド処理)に優先して排出制御装置600によって所定時間(例えば0.5msec)経過毎に行なわれるタイマ割込処理の手順が示されている。この割込処理は各種入力信号の読込みのために行なわれるものである。
この割込処理が開始されると、先ず、各種タイマのカウント値の更新が行なわれ(ステップS40)、次いで、排出センサ1の入力処理(ステップS44)、排出センサ2の入力処理(ステップS46)、排出センサ1レベル入力処理(ステップS48)、排出センサ2レベル入力処理(ステップS50)、球抜センサの入力処理(ステップS52)、待機球検出器(半端センサ)の入力処理(ステップS54)、セーフセンサの入力処理(ステップS56)および球貸し要求信号の入力処理(ステップS58)が順次行なわれる。
【0039】
図12は、上記ステップS44にて行なわれる排出センサ1の入力処理ルーチンのフローチャートである。
このルーチンは排出センサ730aの状態を検出するためのものであり、該センサは内側に賞品球が存在しているときその出力信号がハイレベルとなり、賞品球が流出して一時的に又は継続してセンサ内に存在しなくなったときその出力信号がロウレベルとなるように構成されている。従って本ルーチンではセンサ730aの出力信号がロウレベルからハイレベルに立ち上がったときに後述の排出センサ1立上フラグを“1”に設定して賞品球が該センサ内に達したことを記憶するようになっている。一方、該センサ730a(以下、排出センサ1と記す)の出力信号がハイレベルからロウレベルに立下がったとき後述の排出センサ立下フラグを“1”に設定して賞品球が該センサ内より脱したことを記憶するようになっている。
【0040】
本ルーチンが開始されると、先ずステップS4402にて該センサ1の出力信号がハイレベル(排出センサ1出力=“1”)であるか否かが判定される。今仮りに賞品球の排出が行われず1つの賞品球がセンサ1内に留まっている状態を考える。このときステップS4402の判定結果は“Yes”となってステップS4404以降が実行される。
ステップS4404では排出1立上変化フラグが“1”であるか否かが、ステップS4406では排出1立下変化フラグが“1”であるか否かが、ステップS4408では排出1ロウレベルフラグが“1”であるか否かが、次いでステップS4410では排出1ハイレベルフラグが“1”であるか否かが夫々判定される。ところでCPU610の初期化直後はすべてのフラグが“0”に設定されているため、ステップS4404〜S4410の判定結果はすべて“No”となり、ステップS4412にて、今回ループで排出センサ1の出力信号がハイレベルであったことを記憶すべく排出1ハイレベルフラグを“1”に設定して本ルーチンを終了する。
【0041】
以後のループでは、排出1ハイレベルフラグが“1”に設定されているので、排出センサ1の出力信号がハイレベルの状態を保持する限りステップS4402,S4404,S4406,S4408,S4410が繰返し実行されることになる。その後、賞品球の排出が開始され、それまでセンサ1内に留まっていた賞品球が排出センサ1内より外側に移動してセンサ1内より脱すると、排出センサ1の出力信号がロウレベルに立下り、前記ステップS4402の判定結果が“No”となってステップS4432以降が実行される。
【0042】
ステップS4432以降の処理が最初に行なわれるときには、前記排出1ハイレベルフラグは“1”、それ以外のフラグはすべて“0”であるため、該ステップS4432の判定(排出1立下変化フラグが“1”であるか)、次のステップS4434の判定(排出1立上変化フラグが“1”であるか)の結果が共に“No”、続くステップS4436(排出1ハイレベルフラグが“1”であるか)の判定の結果が“Yes”となってステップS4438,S4440が実行される。ステップS4438では、前回ループから今回ループにかけて排出センサ1の出力信号がハイレベルからロウレベルに変化した(立下がった)ことを記憶すべく、排出1立下変化フラグを“1”に設定し、続くステップS4440では、この時点まで“1”に設定されていた排出1ハイレベルフラグをリセット(“0”に設定)し、本ルーチンを終了する。
【0043】
更に次のループで引き続き排出センサ1の出力信号がロウレベルのときには、前回ループのステップS4438で排出1立下変化フラグが“1”に設定されているので、前記ステップS4432の判定結果が“Yes”に転じる。そして、続くステップS4442〜S4448で、賞品球が排出センサ1内より脱したことを記憶すべく排出センサ1立下フラグを“1”に設定(ステップS4442)すると共に、その値が“1”のときセンサ1内に賞品球があることを示す排出センサ1立上フラグ(初期化後初めて本ステップが実行されるときは“0”に設定されている)を“0”にリセットし(ステップS4444)、続いて前記排出1立下変化フラグを“0”にリセットする(ステップS4446)と共に、今回ループでの排出センサ1の出力信号がロウレベルであることを記憶すべく排出1ロウレベルフラグを“1”に設定して(ステップS4448)本ルーチンを終了する。
【0044】
次回以降のループでも、排出センサ1の出力信号がロウレベルであると、排出1立下変化フラグ、排出1立上変化フラグ、排出1ハイレベルフラグは全て“0”、排出1ロウレベルフラグが“1”となっているので、前記ステップS4402,S4432,S4434,S4436及びステップS4450(排出1ロウレベルフラグが“1”でいるか否かの判定)が繰返し実行され(このとき該ステップS4450の判定結果は“Yes”となる)、このとき排出センサ1立下フラグは“1”、排出センサ1立上フラグは“0”に保持される。
【0045】
一方、排出センサ1の出力信号がハイレベルからロウレベルに立下がった直後のループにおいて、当該出力信号が再びハイレベルに立上がってしまった場合(前回ループでステップS4438が実行されて排出1立下変化フラグが“1”となり、且つ今回ループでセンサ出力がハイレベルに立上がった場合)には、ステップS4402の判定結果が“Yes”に転じ、更にステップS4404の判定結果が“No”、ステップS4406の判定結果が“Yes”と云う具合に判定され、ステップS4428にて前回ループから今回ループにかけて出力信号が立上がったことを記憶すべく排出1立上変化フラグを“1”に設定すると共に、ステップS4430にて前回ループ時に“1”に設定した排出1立下変化フラグを“0”にリセットして本ルーチンを終了する。
【0046】
この結果、排出センサ1の出力信号が立下がった後ロウレベルの状態が所定時間以上(少なくとも本割込処理が2回行なわれる間)検知されない限り、排出1立下フラグを“1”に設定する(賞品球がセンサ1内より脱したことを示す)処理は行なわれないようになっており、排出センサ1の出力信号にノイズが発生し瞬間的に信号が立下がってた場合等に誤って排出1立下フラグが“1”に設定されないようになっている。
【0047】
次に、先の賞品球がセンサ1内より脱した後、次の賞品球がセンサ1内に達した場合を考える。
このとき、ステップS4402の判定(センサ1の出力信号がロウレベルであるか否かの判定)は“Yes”となり、前記ステップS4404の判定(排出1立上変化フラグが“1”)が行なわれ、この場合判定結果は“No”となり、ステップS4406にて排出1立下変化フラグが“1”であるか否かの判定が行われる。このとき該ステップS4406の判定結果も“No”(前記ステップS4446にて“0”に設定される)となってステップS4408に進み、排出1ロウレベルフラグが“1”であるか否かの判定が行なわれる。
【0048】
この時点では排出1ロウレベルフラグは前記ステップS4448にて“1”に設定されているのでステップS4408の判定結果は“Yes”となり、ステップS4414に進んで、前回ループから今回ループにかけて排出センサ1の出力信号がロウレベルからハイレベルに変化した(立上った)ことを記憶すべく、排出1立上変化フラグを“1”に設定し、続くステップS4416で、この時点まで“1”に設定されていた排出1ロウレベルフラグをリセット(“0”に設定)して、本ルーチンを終了する。
【0049】
更に次のループで引き続き排出センサ1の出力信号がハイレベルのときには、前回ループのステップS4414で排出1立上変化フラグが“1”に設定されているので、前記ステップS4404の判定結果が“Yes”に転じる。そして、続くステップS4418〜S4424で、排出センサ1内に賞品球があることを記憶すべく排出センサ1立上フラグを“1”に設定(ステップS4418)すると共に、その値が“1”のときセンサ内より賞品球が脱したことを示す排出センサ1立下フラグを“0”にリセットし(ステップS4420)、続いて前記排出1立上変化フラグを“0”にリセットする(ステップS4422)と共に、今回ループでの排出センサ1の出力信号がハイレベルであることを記憶すべく排出1ハイレベルフラグを“1”に設定して(ステップS4424)本ルーチンを終了する。
【0050】
その後、排出センサ1の出力信号がハイレベルである限り、前記ステップS4402,S4404,S4406,S4408,S4410が繰返し実行されることになり、このとき、排出1立上フラグは“1”、排出1立下フラグは“0”に保持される。
一方、排出センサ1の出力信号がロウレベルからハイレベルに立上がった直後のループにおいて、該出力信号がロウレベルに立下がってしまった場合(前回ループでステップS4414が実行されて排出1立上変化フラグが“1”となり、且つ今回ループの出力信号がロウレベルの場合)には、ステップS4402の判定結果が“No”、ステップS4432の判定結果が“No”、ステップS4434の判定結果が“Yes”と云う具合に判定され、ステップS4452にて前回ループから今回ループにかけて出力信号が立下がったことを記憶すべく排出1立下変化フラグを“1”に設定すると共に、ステップS4454にて前回ループ時に“1”に設定された排出1立上変化フラグを“0”にリセットして本ルーチンを終了する。
【0051】
以上説明したように、排出センサ1の出力信号が立上がった後、ハイレベルの状態が所定時間以上(少なくとも本割込処理が2回行なわれる間)検知されない限り、排出1立上フラグを“1”に設定する(排出センサ1内に賞品球があることを示す)処理は行なわれないようになっており、排出センサ1の出力信号にノイズが発生した場合等に誤って排出1立上フラグが“1”に設定されないようになっている。
以上のルーチンを実行することによって、排出センサ1の出力信号が立ち上がった後、所定期間以上(少なくとも本割込処理が2回行なわれる間)その状態が維持されたときにのみ排出センサ1立上フラグが“1”に設定され、従って該立上フラグは賞品球が排出センサ1内に達したことを示すようになる。反対に排出センサ1の出力信号が立ち下がった後、所定期間以上(少なくとも本割込処理が2回行なわれる間)その状態が維持されたときにのみ排出センサ1立下フラグが“1”に設定され、従って該立下フラグは賞品球が排出センサ1内より脱したことを示すようになる。この排出センサ1立上フラグ及び排出センサ1立下フラグは、バックグランド処理(メインルーチン)の中の交互排出処理、又は併用排出処理(後述の図29、図30)にて参照される。
【0052】
図13は割込処理(図11)の前記ステップS46にて行なわれる排出センサ2の入力処理ルーチンのフローチャートである。本ルーチンは排出センサ730bの状態を検出するためものであり、上述した排出センサ1の入力処理ルーチンと同一の手順にて行なわれる。尚、本ルーチンでは、上述の排出センサ1の入力処理と同様、該センサ730b(以下排出センサ2と記す)の出力信号がロウレベルからハイレベルに立上がったとき排出センサ2立上フラグを“1”に設定して賞品球が該センサ内に達したことを記憶し、一方、ハイレベルからロウレベルに立下がったとき排出センサ2立下フラグを“1”に設定して賞品球が該センサ内より脱したことを記憶するようにしている。
【0053】
具体的には、本ルーチンが開始されると、先ずステップS4602にて該センサ2の出力信号がハイレベル(排出センサ2出力=“1”)であるか否かが判定される。今仮りに賞品球の排出が行われず1つの賞品球がセンサ2内に留まっている状態を考える。このときステップS4602の判定結果は“Yes”となってステップS4604以降が実行される。
ステップS4604では排出2立上変化フラグが“1”であるか否かが、またステップS4606では排出2立下変化フラグが“1”であるか否かが、ステップS4608では排出2ロウレベルフラグが“1”であるか否かが、次いでステップS4610では排出2ハイレベルフラグが“1”であるか否かが夫々判定される。
【0054】
ところでCPU610の初期化直後はすべてのフラグが“0”に設定されているため、ステップS4604〜S4610の判定結果はすべて“No”となり、ステップS4612にて、今回ループで排出センサ2の出力信号がハイレベルであったことを記憶すべく排出2ハイレベルフラグを“1”に設定して本ルーチンを終了する。
以後のループでは排出2ハイレベルフラグが“1”に設定されているので、排出センサ2の出力信号がハイレベルの状態を保持する限りステップS4602,S4604,S4606,S4608,S4610が繰返し実行されることになる。その後、賞品球の排出が開始され、それまでセンサ2内に留まっていた賞品球が排出センサ2内より外側に移動してセンサ2内より脱すると、排出センサ2の出力信号がロウレベルに立下り、前記ステップS4602の判定結果が“No”となってステップS4632以降が実行される。
【0055】
ステップS4632以降の処理が最初に行なわれるときには、前記排出2ハイレベルフラグは“1”、それ以外のフラグはすべて“0”であるため、該ステップS4632の判定(排出2立下変化フラグが“1”であるか)および次のステップS4634の判定(排出2立上変化フラグが“1”であるか)の結果が、共に“No”、続くステップS4636(排出2ハイレベルフラグが“1”であるか)の判定の結果が“Yes”となってステップS4638,S4640が実行される。
ステップS4638では、前回ループから今回ループにかけて排出センサ2の出力信号がハイレベルからロウレベルに変化した(立下がった)ことを記憶すべく、排出2立下変化フラグを“1”に設定し、続くステップS4640では、この時点まで“1”に設定されていた排出2ハイレベルフラグをリセット(“0”に設定)し、本ルーチンを終了する。
【0056】
更に次のループで引き続き排出センサ2の出力信号がロウレベルのときには、前回ループのステップS4638で排出2立下変化フラグが“1”に設定されているので、前記ステップS4632の判定結果が“Yes”に転じる。そして、続くステップS4642〜S4648で、賞品球が排出センサ2内より脱したことを記憶すべく排出センサ2立下フラグを“1”に設定(ステップS4642)すると共に、その値が“1”のときセンサ2内に賞品球があることを示す排出センサ2立上フラグ(初期化後初めて本ステップが実行されるときは“0”に設定されている)を“0”にリセットし(ステップS4644)、続いて前記排出2立下変化フラグを“0”にリセットする(ステップS4646)と共に、今回ループでの排出センサ2の出力信号がロウレベルであることを記憶すべく排出2ロウレベルフラグを“1”に設定して(ステップS4648)本ルーチンを終了する。
【0057】
次回以降のループでも、排出センサ2の出力信号がロウレベルであると、排出2立下変化フラグ、排出2立上変化フラグ、排出2ハイレベルフラグは全て“0”、排出2ロウレベルフラグが“1”となっているので、前記ステップS4602,S4632,S4634,S4636及びステップS4650(排出2ロウレベルフラグが“1”でいるか否かの判定)が繰返し実行され(このとき該ステップS4650の判定結果は“Yes”となる)、このとき排出センサ2立下フラグは“1”、排出センサ2立上フラグは“0”に保持される。
【0058】
一方、排出センサ2の出力信号がハイレベルからロウレベルに立下がった直後のループにおいて、当該出力信号が再びハイレベルに立上がってしまった場合(前回ループでステップS4638が実行されて排出2立下変化フラグが“1”となり、且つ今回ループでセンサ出力がハイレベルに立上がった場合)には、ステップS4602の判定結果が“Yes”に転じ、更にステップS4604の判定結果が“No”、ステップS4606の判定結果が“Yes”と云う具合に判定され、ステップS4628にて前回ループから今回ループにかけて出力信号が立上がったことを記憶すべく排出2立上変化フラグを“1”に設定すると共に、ステップS4630にて前回ループ時に“1”に設定した排出2立下変化フラグを“0”にリセットして本ルーチンを終了する。
この結果、排出センサ2の出力信号が立下がった後ロウレベルの状態が所定時間以上(少なくとも本割込処理が2回行なわれる間)検知されない限り、排出2立下フラグを“1”に設定する(賞品球がセンサ2内より脱したことを示す)処理は行なわれないようになっており、排出センサ2の出力信号にノイズが発生し瞬間的に信号が立下った場合等誤って排出2立下フラグが“1”に設定されないようになっている。
【0059】
次に、先の賞品球がセンサ2内より脱した後、次の賞品球がセンサ2内に達した場合を考える。
このとき、ステップS4602の判定(該センサ2の出力信号がロウレベルであるか否かの判定)は“Yes”となり前記ステップS4604の判定(排出2立上変化フラグが“1”か)が行なわれ、この場合判定結果は“No”となり、ステップS4606にて排出2立下変化フラグが“1”であるか否かの判定が行われる。このとき該ステップS4606の判定結果も“No”(前記ステップS4646にて“0”に設定される)となってステップS4608に進み、排出2ロウレベルフラグが“1”であるか否かの判定が行なわれる。
この時点では排出2ロウレベルフラグは前記ステップS4648にて“1”に設定されているのでステップS4608の判定結果は“Yes”となり、ステップS4614に進んで、前回ループから今回ループにかけて排出センサ2の出力信号がロウレベルからハイレベルに変化した(立上った)ことを記憶すべく、排出2立上変化フラグを“1”に設定し、続くステップS4616で、この時点まで“1”に設定されていた排出2ロウレベルフラグをリセット(“0”に設定)して、本ルーチンを終了する。
【0060】
更に次のループで引き続き排出センサ2の出力信号がハイレベルのときには、前回ループのステップS4614で排出2立上変化フラグが“1”に設定されているので、前記ステップS4604の判定結果が“Yes”に転じる。そして、続くステップS4618〜S4624で、排出センサ2内に賞品球あることを記憶すべく排出センサ2立上フラグを“1”に設定(ステップS4618)すると共に、その値が“1”のときセンサ内より賞品球が脱したことを示す排出センサ2立下フラグを“0”にリセットし(ステップS4620)、続いて前記排出2立上変化フラグを“0”にリセットする(ステップS4622)と共に、今回ループでの排出センサ2の出力信号がハイレベルであることを記憶すべく排出2ハイレベルフラグを“1”に設定して(ステップS4624)本ルーチンを終了する。
その後、排出センサ2の出力信号がハイレベルである限り、前記ステップS4602,S4604,S4606,S4608,S4610が繰返し実行されることになり、このとき、排出2立上フラグは“1”、排出2立下フラグは“0”に保持される。
【0061】
一方、排出センサ2の出力信号がロウレベルからハイレベルに立上がった直後のループにおいて、該出力信号がロウレベルに立下がってしまった場合(前回ループでステップS4614が実行されて排出2立上変化フラグが“1”となり、且つ今回ループの出力信号がロウレベルの場合)には、ステップS4602の判定結果が“No”、ステップS4632の判定結果が“No”、ステップS4634の判定結果が“Yes”と云う具合に判定され、ステップS4652にて前回ループから今回ループにかけて出力信号が立下がったことを記憶すべく排出2立下変化フラグを“1”に設定すると共に、ステップS4654にて前回ループ時に“1”に設定された排出2立上変化フラグを“0”にリセットして本ルーチンを終了する。
【0062】
以上のように、排出センサ2の出力信号が立上がった後、ハイレベルの状態が所定時間以上(少なくとも本割込処理が2回行なわれる間)検知されない限り、排出2立上フラグを“1”に設定する(排出センサ2内に賞品球があることを示す)処理は行なわれないようになっており、排出センサ2の出力信号にノイズが発生した場合等に誤って排出2立上フラグが“1”に設定されないようになっている。
以上のルーチンを実行することによって、排出センサ2の出力信号が立ち上がった後、所定期間以上(少なくとも本割込処理が2回行なわれる間)その状態が維持されたときにのみ排出センサ2立上フラグが“1”に設定され、従って該立上フラグは賞品球が排出センサ2内に達したことを示すようになる。反対に排出センサ2の出力信号が立ち下がった後、所定期間以上(少なくとも本割込処理が2回行なわれる間)その状態が維持されたときにのみ排出センサ2立下フラグが“1”に設定され、従って該立下フラグは賞品球が排出センサ2内より脱したことを示すようになる。この排出センサ2立上フラグ及び排出センサ2立下フラグは、バックグランド処理(メインルーチン)の中の交互排出処理、又は併用排出処理(後述の図29、図30)にて用いられる。
【0063】
図14は割込処理(図11)のステップS48にて行なわれる排出センサ1のレベル入力処理のルーチンを示すフローチャートである。
このレベル入力処理は、排出センサ1の出力信号がハイレベル(センサ1が賞品球を検知している状態)である期間が所定期間以上継続しているか否かを判断するためのルーチンであり、賞品球が無い状態から有る状態へ変化した後、第1の所定期間(50msec)が経過したときに排出センサ1球有フラグを“1”に設定してこれを記憶しておき、上記変化の後第2の所定期間(2sec)が経過したときに排出1エラー解除フラグを“1”に設定することによってこれを記憶しておくものである。これら2つのフラグは詳細は後述する排出装置不正解除処理(図22)、賞球開始処理(図23)、排出エラー回復処理(図31)にて用いられる。
【0064】
本ルーチンが開始されると、ステップS7200にて排出センサ1の出力信号がハイレベルである(排出センサ1出力=“1”)か否かが判別される。
この判別結果が“No”、即ち出力信号がロウレベルであるときには、排出1球有監視フラグを“0”(ステップS7202)、前述した排出センサ1球有フラグを“0”(ステップS7204)、排出1エラー監視フラグを“0”(ステップS7206)、前述した排出1エラー解除フラグを“0”(ステップS7208)に夫々設定して、本ルーチンを終了する。
ここで排出1球有監視フラグ及び排出1エラー監視フラグは共に、排出センサ1の出力信号がハイレベルであると判別されたループにおいて、そのループがロウレベルからハイレベルへの立上り直後のループであるか否かを判別する(後述のステップS7212及びステップS7224)ために用いられるものである。
【0065】
その後、前記排出センサ1の出力信号がロウレベルからハイレベルに変化すると、その直後のループでは前記ステップS7200の判別結果が“Yes”となり、続くステップS7210で排出センサ1球有フラグが“1”であるか否かが、更に、続くステップS7212で排出1球有監視フラグが“1”であるか否かが判別される。この場合、判別結果は共に“No”となり、続くステップS7214で排出1球有監視フラグを“1”に設定し、ステップS7216で排出1球有タイマを第1の所定期間(50msec)に設定してステップS7222に進む。ステップS7222では排出1エラー解除フラグが“1”であるか否かが判別される。この場合(センサ1の出力信号がロウレベルからハイレベルに変化した直後)判別結果は“No”となり、続くステップS7224にて排出1エラー監視フラグが“1”であるか否かが判別される。今回ループではこの判別結果も“No”となるので、ステップS7226で排出1エラー監視フラグを“1”に設定し、続くステップS7228で排出1エラータイマを第2の所定期間(2sec)に設定して本ルーチンを終了する。
【0066】
次のループで排出センサ1の出力信号が依然ハイレベルを維持していると、前記ステップS7200の判別結果が“Yes”、ステップS7210の判別結果が“No”、ステップS7212の判別結果が“Yes”となって、ステップS7218に進む。ステップS7218では前記ステップS7216でセットされた球有タイマがタイムアップしたか否かが判別され、この判別結果が“No”のとき(出力信号がハイレベルに変化してから未だ第1の所定期間が経過していないとき)には、続くステップS7220をスキップして、前記ステップS7222に進む。
今回のループでは、このステップS7222の判別結果が“No”、続くステップS7224の判別結果が“Yes”となって、ステップS7230に進む。ステップS7230では前記ステップS7228でセットされた排出1エラータイマがタイムアップしたか否かが判別され、この判別結果が“No”のとき(出力信号がハイレベルに変化してから、未だ第2の所定期間が経過していないとき)には、続くステップS7232をスキップして、本ルーチンを終了する。
【0067】
更に次回以降のループにおいて、排出センサ1の出力信号がハイレベルである限り、ステップS7200,S7210,S7212,S7218及びステップS7222以降が繰返し実行され、ステップS7218の判別結果が“No”から“Yes”に転じたとき(上記第1の所定期間経過直後)、ステップS7220にて前述した排出センサ1球有フラグが“1”に設定され、以後ステップS7200,S7210及びステップS7222以降が繰返し実行されることになる。
【0068】
又、ステップS7222以降の処理に関しても、排出センサ1の出力信号がハイレベルである限りステップS7222,S7224,S7230が繰返し実行され、ステップS7230の判別結果が“No”から“Yes”に転じたとき(上記第2の所定期間経過直後)、ステップS7232にて前述した排出1エラー解除フラグが“1”に設定され、以後ステップS7200,S7210,S7222(排出1エラー解除フラグが“1”のときには、当然に、排出センサ1球有フラグは“1”となっている)が繰返し実行される。
そして、排出センサ1の出力信号が一度でもロウレベルに変化したときは、ステップS7202〜S7208にて各フラグが“0”にリセットされるため、その直後にハイレベルに戻っても再びステップS7210以降の処理が初めから開始されることになる。
【0069】
図15は割込処理(図11)のステップS50にて行なわれる排出センサ2のレベル入力処理のルーチンを示すフローチャートであり、本ルーチンは前述の排出センサ1のレベル入力処理と同一の手順にて行なわれる。
このレベル入力処理は、排出センサ2の出力信号がハイレベル(センサ2が賞品球を検知している状態)である期間が所定期間以上継続しているか否かを判断するためのルーチンであり、賞品球が無い状態から有る状態に変化した後、第1の所定期間(50msec)が経過したときに排出センサ2球有フラグを“1”に設定してこれを記憶しておき、上記変化の後第2の所定期間(2sec)が経過したときに排出2エラー解除フラグを“1”に設定することによってこれを記憶しておくものである。これら2つのフラグも詳細は後述する賞球開始処理(図23)、排出エラー回復処理(図31)等にて用いられる。
【0070】
本ルーチンが開始されると、先ずステップS7400にて排出センサ2の出力信号がハイレベルである(排出センサ2出力=“1”)か否かが判別される。
この判別結果が“No”、即ち出力信号がロウレベルであるときには、排出2球有監視フラグを“0”(ステップS7402)、前述した排出センサ2球有フラグを“0”(ステップS7404)、排出2エラー監視フラグを“0”(ステップS7406)、前述した排出2エラー解除フラグを“0”(ステップS7408)に夫々設定して、本ルーチンを終了する。
【0071】
ここで排出2球有監視フラグ及び排出2エラー監視フラグは共に、排出センサ2の出力信号がハイレベルであると判別されたループにおいて、そのループがロウレベルからハイレベルへの立上り直後のループであるか否かを判別する(後述のステップS7412及びステップS7424)ために用いられるものである。
その後、前記排出センサ2の出力信号がロウレベルからハイレベルに変化すると、その直後のループでは前記ステップS7400の判別結果が“Yes”となり、続くステップS7410で排出センサ2球有フラグが“1”であるか否かが、更に、続くステップS7412で排出2球有監視フラグが“1”であるか否かが判別される。この場合、判別結果は共に“No”となり、続くステップS7414で排出2球有監視フラグを“1”に設定し、ステップS7416で排出2球有タイマを第1の所定期間(50msec)に設定してステップS7422に進む。
【0072】
ステップS7422では排出2エラー解除フラグが“1”であるか否かが判別される。この場合(センサ2の出力信号がロウレベルからハイレベルに変化した直後)判別結果は“No”となり、続くステップS7424にて排出2エラー監視フラグが“1”であるか否かが判別される。今回ループではこの判別結果も“No”となるので、ステップS7426で排出2エラー監視フラグを“1”に設定し、続くステップS7428で排出2エラータイマを第2の所定期間(2sec)に設定して本ルーチンを終了する。
【0073】
次のループで排出センサ2の出力信号が依然ハイレベルを維持していると、前記ステップS7400の判別結果が“Yes”、ステップS7410の判別結果が“No”、ステップS7412の判別結果が“Yes”となって、ステップS7418に進む。ステップS7418では前記ステップS7416でセットされた球有タイマがタイムアップしたか否かが判別され、この判別結果が“No”のとき(出力信号がハイレベルに変化してから未だ第1の所定期間が経過していないとき)には、続くステップS7420をスキップして、前記ステップS7422に進む。
今回ループでは、このステップS7422の判別結果が“No”、続くステップS7424の判別結果が“Yes”となって、ステップS7430に進む。ステップS7430では前記ステップS7428でセットされた排出2エラータイマがタイムアップしたか否かが判別され、この判別結果が“No”のとき(出力信号がハイレベルに変化してから、未だ第2の所定期間が経過していないとき)には、続くステップS7432をスキップして、本ルーチンを終了する。
【0074】
更に次回以降のループにおいて、排出センサ2の出力信号がハイレベルである限り、ステップS7400,S7410,S7412,S7418及びステップS7422以降が繰返し実行され、ステップS7418の判別結果が“No”から“Yes”に転じたとき(上記第1の所定期間経過直後)、ステップS7420にて前述した排出センサ2球有フラグが“1”に設定され、以後ステップS7400,S7410及びステップS7422以降が繰返し実行されることになる。
又、ステップS7422以降の処理に関しても、排出センサ2の出力信号がハイレベルである限りステップS7422,S7424,S7430が繰返し実行され、ステップS7430の判別結果が“No”から“Yes”に転じたとき(上記第2の所定期間経過直後)、ステップS7432にて前述した排出2エラー解除フラグが“1”に設定され、以後ステップS7400,S7410,S7422(排出2エラー解除フラグが“1”のときには、当然に、排出センサ2球有フラグは“1”となっている)が繰返し実行される。
【0075】
そして、排出センサ2の出力信号が一度でもロウレベルに変化したときは、ステップS7402〜S7408にて各フラグが“0”にリセットされるため、その直後にハイレベルに戻っても再びステップS7410以降の処理が初めから開始されることになる。
図16は、図11の割込処理のステップS52にて行なわれる球抜センサ750の入力処理ルーチンのフローチャートである。
球抜センサ750は、前述したように、遊技店の係員が球抜処理を開始するための操作、即ち、パチンコ遊技機100前面に設けられた操作孔(図示省略)に球抜き棒を挿入する操作が為されたことを検知するためもので、球抜き棒の挿入を検知したとき該センサ750の出力信号はハイレベルとなり、検知していないときには出力信号がロウレベルに保持されるように構成されている。
【0076】
ところで、本フローでは該センサ750からの出力信号がロウレベルからハイレベルに変化したとき、後述する球抜フラグを“1”に設定して、遊技店の係員による球抜処理が行われたと判断するようになっている。そして、賞球排出制御装置は、この“1”に設定された球抜フラグによって後述の球抜処理(図34〜図36)を開始するようになっている(メインルーチンのステップS16)。
本ルーチンが開始されると、先ずステップS5300にて前述した処理ナンバーが“0”であるか否かが判別される。メインルーチン(図10)にて、賞球(球貸し)排出開始処理および賞球(球貸し)排出処理が行われているとき等処理ナンバーが“0”に設定されていないときには(このとき上記ステップS5300の判別結果は“No”)ステップS5303以降に進むことなく、球抜センサ変化フラグを“0”に設定し(ステップS5301)、球抜センサLレベルフラグを“0”に設定して(ステップS5302)、本ルーチンを終了する。ここで球抜センサ変化フラグは、今回ループでセンサ750の出力信号がローレベル(L)からハイレベル(H)に変化した(このとき“1”に設定される)ことを記憶するためのフラグであり、球抜センサLレベルフラグは今回ループでセンサの出力信号がローレベル(L)であったことを記憶するためのフラグである。
【0077】
上述のステップS5300の判別を行なうことによって、遊技店の係員が球抜操作を行った場合であっても、賞品球の排出処理等の実行時には、後述の球抜処理(図34〜図36)が禁止されるようになる。
今仮りに、賞品球の排出処理等が行われていない場合(処理NO=“0”)で、遊技機100の操作孔に球抜き棒が差し込まれていない状態から、遊技店の係員によって球抜き棒が差し込まれた状態に変化する場合を考える。
賞品球の排出処理が行われていないときには前記ステップS5300の判別結果は“Yes”となり、続くステップS5303にて球抜センサ変化フラグが“1”であるか否かが、さらにステップS5304にて球抜センサLレベルフラグが“1”であるか否かが判別される。
【0078】
ところで、前述したように、全ての判別フラグは賞球排出制御装置600内の電源が投入された直後メインルーチン(図10のステップS2)にて“0”に設定され、又、初期化が行われた後であっても処理NOが“0”以外のときに前記ステップS5301,S5302にて“0”に設定されるので、前記ステップS5303、S5304の判別結果は共に“No”となりステップS5306で球抜センサの出力信号がLレベル(球抜センサ出力=“0”)であるか否かが判別される。操作用孔261に球抜き棒が差し込まれていない状態では該センサ750の出力信号はLレベルのままであり、従って該ステップS5306の判別結果は“Yes”となり、ステップS5308に進んで球抜センサLレベルフラグを“1”に設定して本ルーチンを終了する。
【0079】
その後のループで依然前記球抜センサの出力信号がLレベルを保持しているときには、球抜センサLレベルフラグが“1”に設定されているので、前記ステップS5304の判別結果が“Yes”となり続くステップS5310にて今回ループでの球抜センサの出力信号がハイレベル(球抜センサ出力=“1”)であるか否かが判別される。このとき(球抜センサの出力信号がロウレベルを保持)該判別結果は“No”となって、そのまま本ルーチンを終了する。従って、球抜センサの出力信号がLレベルを保持する限り,ステップS5300,S5303,S5304,S5310が繰返し実行されることとなる。
この状態から操作孔に球抜き棒が挿入され球抜センサの出力信号がLレベルからHレベルに変化すると、前記ステップS5310の判別結果が“Yes”となり、続くステップS5312にて今回ループで球抜センサ750の出力信号がロウレベルからハイレベルとなったことを記憶すべく、球抜センサ変化フラグを“1”に設定し、次いでステップS5314にて球抜センサLレベルフラグを“0”にリセットして、本ルーチンを終了する。
【0080】
前回ループに続いて今回ループでも出力信号がHレベルのときには、直前のループの前記ステップS5312の実行により球抜センサ変化フラグが“1”に設定されたのでステップS5303の判別結果が“Yes”となり、ステップS5316に進んで、今回ループでの球抜センサの出力信号がハイレベル(球抜センサ出力=“1”)であるか否かが判別される。この判別結果が“Yes”即ち、前回ループに続いて今回ループでも出力信号がハイレベルのときには、続くステップS5318にて球抜フラグを“1”に設定し、更にステップS5320にて前記球抜センサ変化フラグを“0”にリセットして本ルーチンを終了する。
その後のループで球抜センサの出力信号が依然ハイレベルのときにはステップS5303の判別結果が“No”に転じ(球抜センサ変化フラグは“0”にリセットされている)、次いでステップS5304,ステップS5306の判別結果は共に“No”となって、以後ステップS5303,S5304,S5306を繰返し実行することとなる。
【0081】
一方、球抜センサの出力信号がロウレベルからハイレベルに変化した直後(前記ステップS5312,ステップS5314が実行された直後)のループで、球抜センサの出力信号が再びロウレベルに変化したときには、前記ステップS5316の判別結果が“No”となり前記ステップS5318(球抜フラグ=“1”)を実行することなく、ステップS5322にて球抜センサLレベルフラグを“1”に設定した後前記ステップS5320を実行して、本ルーチンを終了する。このように球抜センサの出力信号がロウレベルからハイレベルに変化したときに、少なくとも2回の処理ループが実行される間に亘って前記出力信号がHレベルを保持したときにのみ、球抜フラグを“1”に設定するようにしているのでノイズ等が発生した場合に球抜フラグが誤って“1”に設定されることがない。
【0082】
図17は割込処理(図11)のステップS54にて行なわれる待機球検出器160(以下、半端センサと記す)の入力処理のルーチンを示すフローチャートである。
半端センサ160は、後述の賞球開始処理(図23)にて用いられる半端球有フラグを設定するための信号を出力するもので、誘導樋152内に賞品球が十分貯留されているときに(予備球が2回分の賞球排出個数以上貯留されているときに)その出力信号がハイレベル、上記個数に満たず半端状態となっているときにロウレベルとなるように構成されている。
このルーチンが開始されると、先ずステップS5200で待機球検出器の出力がハイレベル(待機球検出器出力=“1”)であるか否かが判別される。
【0083】
今仮りに誘導樋152の待機球検出器設置位置まで予備球が貯留されていない状態から、予備球が補給されて上記設置位置に達した場合を考える。
予備球が上記設置位置に達していない状態ではステップS5200の判別結果は“No”となる。このとき判別フラグはすべて“0”にリセットされている(図10のステップS2)ので、続くステップS5202の判別(半端球無フラグが“1”か)、及びステップS5204の判別(半端球無監視フラグが“1”か)の結果は共に“No”となり、半端球無監視フラグを“1”に設定し(ステップS5206)、半端球有監視フラグを“0”に設定し(ステップS5208)、更に半端球無タイマを所定値(2sec)にセットして(ステップS5210)本ルーチンを終了する。
【0084】
ここで半端球無監視フラグは予備球が上記設置位置に達していない状態が検知されたか否かを判断(ステップS5204)するために用いられるフラグであり、一方半端球有監視フラグは、予備球が上記設置位置まで溜っている状態が2回続けて検知されたか否かを判断(ステップS5220)するために用いられるフラグである。
次のループで引き続き、予備球が上記設置位置まで溜っていないと、前記ステップS5200,S5202の判別結果が共に“No”、続く前記ステップS5204の判別結果が“Yes”となってステップS5212が実行される。
【0085】
このステップS5212では更に、前記球無タイマがタイムアップしたか否か、即ち、予備球が上記設置位置まで溜っていないと初めて判別された後(前述のステップS5206〜S5210実行後)所定時間(2sec)経過したか否かが判別され、判別結果が“No”のときには、続くステップS5214,S5216をスキップして本ルーチンを終了する。一方、前記ステップS5212の判別結果が“Yes”のときには、ステップS5214にて、予備球が誘導樋152のセンサ設置位置まで溜っていないことを示すべく半端球無フラグ(半端センサ球(玉)無フラグ)を“1”に設定すると共に、次のステップS5216にて、半端球有フラグ(半端センサ球(玉)有フラグ:このステップが初期化後初めて行なわれるときには初期値“0”に設定されている)をリセット(“0”に設定)して本ルーチンを終了する。
【0086】
以後のループで、予備球が上記設置位置まで溜らない限り、ステップS5200の判別結果が“No”、ステップS5202の判別結果が“Yes”となって、これらのステップが繰返し実行される。
この状態から貯留タンク151への遊技球の供給によって予備球が誘導樋152の半端センサ160の設置位置まで溜るとステップS5200の判別結果が“Yes”となる。続くステップS5218で“1”であるか否かの判別がなされる。半端球有フラグはこの時点で未だ初期値“0”に設定されているのでこの判別結果は“No”となり、続くステップS5220の判別(半端球有監視フラグが“1”か)の結果も、前述のステップS5208の実行により“No”となり、ステップS5222に進む。
【0087】
ステップS5222では半端球有監視フラグを“1”に設定すると共にステップS5224で、前記半端球無監視フラグを“0”に設定し、更に半端球有タイマを所定値(2sec)にセットして(ステップS5226)本ルーチンを終了する。
次のループで引き続き、予備球が半端センサの設置位置まで溜っていると、前記ステップS5200の判別結果が“Yes”、ステップS5218の判別結果が“No”、続く前記ステップS5220の判別結果が“Yes”(前回ループのステップS5222で“1”に設定される)となってステップS5228が実行される。
【0088】
このステップS5228では更に、前記球有タイマがタイムアップしたか否か、即ち、予備球が上記設置位置まで溜っていると初めて判別された後(前述のステップS5222〜S5226実行後)所定時間(2sec)経過したか否かが判別され、判別結果が“No”のときには、続くステップS5230,S5232をスキップして本ルーチンを終了する。一方、判別結果が“Yes”のとき、即ち予備球がセンサ取付位置まで溜った後前記所定時間が経過したときには、ステップS5230にて、予備球が半端センサ221の設置位置まで溜っていることを示すべく半端球有フラグを“1”に設定すると共に、次のステップS5232にて、半端球無フラグをリセット(“0”に設定)して本ルーチンを終了する。以後のループで、誘導樋152内の半端センサ設置位置まで予備球が貯留されている限り、ステップS5200の判別結果が“Yes”、ステップS5218の判別結果が“Yes”となって、これらのステップが繰返し実行される。
【0089】
以上のように、本入力処理では、半端センサ160の出力信号がロウレベルからハイレベル(又はハイレベルからロウレベル)に変化した直後のループでは、該ロウレベルからハイレベルの変化(又はハイレベルからロウレベルの変化)を記憶する(監視フラグを“1”とする)だけに止めておき、次回ループでも依然ハイレベル(又はロウレベル)であって且つ上記変化した時点より所定時間(2sec)が経過した後に初めて本ルーチンの最終出力値である半端球有フラグを“1”(又は半端球無フラグを“1”)に変更するようにしている。このような制御手順を採用することによって、ノイズ発生等により半端センサの出力信号レベルが瞬間的に変化した場合であっても直ちにその変化を正規の変化と判断することがなく、当該ノイズ発生等による誤作動を防止することができるようになっている。
【0090】
図18は割込処理(図11)のステップS56にて行なわれるセーフセンサ181の入力処理のルーチンを示すフローチャートである。
セーフセンサ181の入力処理のルーチンは、後述の賞球排出処理(図26)にて用いられるセーフ玉有フラグを設定するためのものである。
このルーチンが開始されると、先ずステップS5600でセーフセンサの出力がハイレベル(セーフセンサ出力=“1”)であるか否かが判別される。
【0091】
今仮りに入賞球が発生していない場合を考える。
入賞球がなく入賞球分離検出装置180に入賞球が達していない状態ではステップS5600の判別結果は“No”となる。このとき判別フラグはすべて“0”にリセットされている(図10のステップS2)ので、続くステップS5602の判別(セーフ玉無フラグが“1”か)、及びステップS5604の判別(セーフ玉無監視フラグが“1”か)の結果は共に“No”となり、セーフ玉無監視フラグを“1”に設定し(ステップS5606)、セーフ玉有監視フラグを“0”に設定し(ステップS5608)、更にセーフ玉無タイマを所定値(4msec)にセットして(ステップS5610)本ルーチンを終了する。
【0092】
ここでセーフ玉無監視フラグは入賞球がセーフセンサ181に達していない状態が検知されたか否かを判断(ステップS5604)するために用いられるフラグであり、一方セーフ玉有監視フラグは、入賞球が上記セーフセンサ181に達している状態が2回続けて検知されたか否かを判断(ステップS5620)するために用いられるフラグである。
次のループで引き続き、入賞球が上記セーフセンサ位置まで達していないと、前記ステップS5600,S5602の判別結果が共に“No”、続く前記ステップS5604の判別結果が“Yes”となってステップS5612が実行される。
【0093】
このステップS5612では、前記セーフ玉無タイマがタイムアップしたか否か、即ち、入賞球が上記セーフセンサ位置まで達していないと初めて判別された後(前述のステップS5606〜S5610実行後)所定時間(4msec)経過したか否かが判別され、判別結果が“No”のときには、続くステップS5614,S5616をスキップして本ルーチンを終了する。一方、前記ステップS5612の判別結果が“Yes”のときには、ステップS5614にて、入賞球がセーフセンサ181の位置まで達していないことを示すべくセーフ玉無フラグを“1”に設定すると共に、次のステップS5616にて、セーフ玉有フラグ(このステップが初期化後初めて行なわれるときには初期値“0”に設定されている)をリセット(“0”に設定)して本ルーチンを終了する。
【0094】
以後のループで、入賞球が上記セーフセンサ位置に達しない限り、ステップS5600の判別結果が“No”、ステップS5602の判別結果が“Yes”となって、これらのステップが繰返し実行される。
この状態から遊技盤に設けられた入賞口に入賞した球が入賞球分離検出装置180のセーフセンサ位置まで達すると、ステップS5600の判別結果が“Yes”となる。続くステップS5618でセーフ球有フラグが“1”であるか否かの判別がなされる。セーフ玉有フラグはこの時点で未だ初期値“0”に設定されているのでこの判別結果は“No”となり、続くステップS5620の判別(セーフ玉有監視フラグが“1”か)の結果も、前述のステップS5608の実行により“No”となり、ステップS5622に進む。
【0095】
ステップS5622ではセーフ玉有監視フラグを“1”に設定すると共にステップS5624で、前記セーフ玉無監視フラグを“0”に設定し、更にセーフ玉有タイマを所定値(10msec)にセットして(ステップS5626)本ルーチンを終了する。
次のループで引き続き、入賞球がセーフセンサ位置にあると、前記ステップS5600の判別結果が“Yes”、ステップS5618の判別結果が“No”、続く前記ステップS5620の判別結果が“Yes”(前回ループのステップS5622で“1”に設定される)となってステップS5628が実行される。
【0096】
このステップS5628では更に、前記セーフ玉有タイマがタイムアップしたか否か、即ち、入賞球が上記セーフセンサ位置まで達していると初めて判別された後(前述のステップS5622〜S5626実行後)所定時間(10msec)経過したか否かが判別され、判別結果が“No”のときには、続くステップS5630,S5632をスキップして本ルーチンを終了する。一方、判別結果が“Yes”のとき、即ち入賞球がセーフセンサ位置に達した後、前記所定時間が経過したときには、ステップS5630にて、入賞球がセーフセンサ位置まで達していることを示すべくセーフ玉有フラグを“1”に設定すると共に、次のステップS5632にて、セーフ玉無フラグをリセット(“0”に設定)して本ルーチンを終了する。
以後のループで、セーフセンサ位置に入賞球が留まっている限り、ステップS5600の判別結果が“Yes”、ステップS5618の判別結果が“Yes”となって、これらのステップが繰返し実行される。
【0097】
以上のように、本入力処理では、セーフセンサ181の出力信号がロウレベルからハイレベル(又はハイレベルからロウレベル)に変化した直後のループでは、該ロウレベルからハイレベルの変化(又はハイレベルからロウレベルの変化)を記憶する(監視フラグを“1”とする)だけに止めておき、次回ループでも依然ハイレベル(又はロウレベル)であって且つ上記変化した時点より所定時間が経過した後に初めて本ルーチンの最終出力値であるセーフ玉有フラグを“1”(又はセーフ玉無フラグを“1”)に変更するようにしている。このような制御手順を採用することによって、ノイズ発生等によりセーフセンサの出力信号レベルが瞬間的に変化した場合であっても直ちにその変化を正規の変化と判断することがなく、当該ノイズ発生等による誤作動を防止することができるようになっている。
【0098】
図19は、図11の球貸し要求信号入力処理ステップS58にて行なわれる球貸しリクエスト検出処理ルーチンのフローチャートである。
この処理ルーチンでは、まずRAM内に用意され図33の球貸し排出処理ルーチン中で更新される連続球貸しカウンタの値が「5」であるか否か判定し(ステップS4102)、“No”であればステップS4104へ進んで賞球排出中か否か調べ、賞球排出中なら球貸し要求フラグをリセットして処理を終了する(ステップS4118)。また、賞球排出中でなければ次のステップS4106で球貸し排出中か否か判定し、球貸し排出中なら何もせずに処理を終了する。本実施例では、貸し玉への1回の変換が200円とか300円等の単位に設定されていたとしても排出ソレノイドに対しては100円単位で排出指令を出すようにしていることを考慮したためである。
【0099】
上記ステップS4106で球貸し排出中でないと判定すると、ステップS4108へ進み、球貸し要求信号Tがロウレベルにされているか判定し、“Yes”なら信号が連続して5m秒ロウレベルになっているか調べる(ステップS4120)。連続して5m秒ロウレベルになっているのを確認して球貸し要求信号がアサートされたと判断することによってノイズによる誤動作を防止するためである。そして、ステップS4120の判定で“No”なら何もせずに、また“Yes”なら球貸し要求フラグをセットして処理を終了する(ステップS4122)。これによって、図10のメインルーチン中のステップS11で“Yes”と判定されて、球貸し開始処理S21が開始される。さらに、ステップS4108で“No”すなわち球貸し要求信号Tがハイレベルであると判定したときは、ステップS4110へ進んで、球貸し要求信号Tが連続して5m秒間ハイレベル(Hレベル)か否か判定する。そして、連続して5m秒間ハイレベルであった場合には球貸し要求がなくなったと判断して、連続球貸しカウンタをクリアして球貸し要求フラグをリセット、球貸し可能を示すP台レディフラグを「0」にクリアして処理を終了する(ステップS4124,S4126,S4128)。
【0100】
一方、ステップS4102の判定で“Yes”であればステップS4112へ進んで球貸し制御装置500からの球貸し要求信号Tがハイレベルか否か判定する。ここで、球貸し要求信号Tがロウレベル(Lレベル)であれば、何もせずにそのままこのルーチンを終了し、球貸し要求信号Tがハイレベルであれば、ステップS4114へ進み、球貸し要求信号Tが連続して5m秒間ハイレベルか否か判定する。そして、球貸し要求信号Tが連続して5m秒間ハイレベルであれば、球貸し要求信号Tがネゲートされたと判定して連続球貸しカウンタをクリアして処理を終了する(ステップS4116)。一度に500円分を越える変換を回避するためである。
【0101】
図20には、上記割込み処理とは別に、交流電源の電源波形の数を数えて所定数以下になったときに停電の発生を検出する停電検出手段からの割込み信号によって行なわれる停電割込み処理の具体的手順の一例が示されている。
この割込みルーチンでは、まず排出処理中か否か調べて排出処理中でなければそのまま何もせずに終了する(ステップS3002)。また、排出処理中であれば2つの排出経路の各排出ソレノイド741a,741bをオフさせてから排出レジスタ1と2(図25参照)の値をバックアップされたRAM内に記憶させる(ステップS3004−S3010)。それから、未排出の賞球数データをバックアップされたRAMに記憶し(ステップS3012)、同じくバックアップされたRAM内のアドレスに割り付けられた停電フラグを“1”に設定してルーチンを終了する(ステップS3014)。
上記割込み処理は極めて短時間に行なえるので、停電検出手段からの割込み信号が入ってから実際にパワーがなくなるまでの間に終了することができる。
【0102】
図21には、上記タイマ割込みおよび停電割込み処理と平行して行なわれる図10のメイン処理フロー中で実行される排出装置不正監視処理S3の具体的手順の一例が示されている。
この監視処理S3では、まず2系統の排出系のうち一方の排出ソレノイド741aがオンされているか調べ(ステップS1101)、“No”のときは排出センサ730aの検出信号が立ち上がったことを示す立上りフラグが「1」か否か判定し(ステップS1102)、“Yes”なら排出不正監視カウンタ1をインクリメントする(ステップS1104)。排出ソレノイドがオンされないにもかかわらず排出球があった場合にこれを不正排出として検出するためである。
【0103】
上記ステップS1101で“Yes”すなわち排出ソレノイドがオンされていると判定すると、ステップS1103へ進んで排出不正監視カウンタ1をクリアする。排出ソレノイドがオンされないにもかかわらず排出球があって、上記ステップS1104で排出不正監視カウンタ1をインクリメントした後は、排出センサ1の立上りフラグを一旦「0」にクリアしてから上記排出不正監視カウンタ1の値が「3」以上になったか否か判定する(ステップS1105,S1106)。排出用のストッパ745と排出センサ730とが離れた位置に設けられているため、排出ソレノイドをオフさせても直ちにセンサからの信号がなくなるわけでなく、少なくとも排出センサから排出ソレノイドまでの間に存在可能な予備球の数だけは検出信号が入ってくることを考慮したものである。従って、このしきい値「3」は、排出センサから排出ソレノイドまでの距離に応じて適宜変更されるべき値である。
【0104】
上記ステップS1106で、排出不正監視カウンタ1の値が「3」以上になったと判定したときはステップS1113へ移行して流路切換弁158の駆動用ソレノイド(以下、玉抜ソレノイドと称する)をオンさせる。これによって、排出ソレノイドが不正に作動したときは排出された玉が供給皿120でなく玉抜路を通ってパチンコ遊技店の回収樋へ誘導され、不当な利益を与えないようにすることができる。玉抜ソレノイドをオンさせた後は、不正排出があったことを示す排出不正フラグに「1」を立ててから賞品球排出表示ランプ112を点滅させて不正状態の発生を外部に表示させる(ステップS1114,S1115)。
上記ステップS1102で“No”と判定されたときは、ステップS1107へ進み、他方の排出系2について第1の排出系1に関する上記処理S1101−S1106と同様の処理S1107−S1112を実行し、排出不正監視カウンタ2の値が「3」以上になったと判定したときはステップS1113へ移行して玉抜ソレノイドをオンさせる。
【0105】
図22には排出装置不正解除処理S14の具体的手順の一例が示されている。図21のメインフローのステップS1114で排出不正フラグが「1」にされ、図10のフローのステップS4で“Yes”と判定されると、図22の排出装置不正解除処理S14が開始される。この排出装置不正解除処理S14では、まずステップS1121とS1122で図14,図15のルーチン中で設定される排出経路1と2のエラー解除フラグが「1」か否か判定し、いずれのフラグも「1」のときはステップS1123で上記排出不正フラグを「0」にクリアしてから、玉抜ソレノイド158をオフする(ステップS1124)。
それから、排出不正を示す点滅状態の賞品球排出表示ランプ112を消灯させて排出装置不正解除処理が終了する(ステップS1125)。
【0106】
図23は、前述した賞球排出制御装置のメインルーチン(図10)のステップS19で実行される賞球開始処理のサブルーチンを示すフローチャートである。このサブルーチンは、メインルーチン(図10)のステップS12で賞球要求を検出すると、処理ナンバーが「1」にされ、ステップS9で“Yes”と判定されることによって開始される。
このサブルーチンが開始されると、まず前記図14および図15の排出センサレベル入力処理ルーチンで設定される排出センサ1玉有フラグおよび排出センサ2玉有フラグと、図17の半端センサ入力処理ルーチンで設定される半端センサ玉有フラグを調べて(ステップS61−S63)、いずれか一つのフラグでも“0”になっている場合には排出可能フラグを“0”にクリアして終了する(ステップS64)。
【0107】
一方、すべてのフラグが“1”になっている場合には排出可能フラグを“1”にセットし(ステップS65)、後述の賞球データ要求の送信回数を5回に設定してから1秒タイマをセットする(ステップS66,S67)。それから、遊技盤制御装置400に対して賞球データ要求コマンドを送信し(ステップS68)、上記ステップS67でセットしたタイマがタイムオーバーしたか判定する(ステップS70)。ここで“No”ならステップS71で遊技盤制御装置400から賞球データを受信したか判定する。そして、上記タイマがタイムオーバーする前に賞球データを受信すると、ステップS72へ移行して受信した賞球データを排出レジスタ0にセットする。それから、賞品球排出表示ランプ112を点灯させ、賞球音要求フラグを“1”にセットしてから、次の図24に示す排出開始処理ルーチンを実行した後、処理ナンバーを「2」にして終了する(ステップS73−S76)。
【0108】
一方、上記ステップS70で、賞球データを受信する前に1秒タイマがタイムオーバーしたと判定すると、ステップS77へ移行してステップS66でセットした送信回数を「1」だけ減算してから、送信回数が「0」になったか否か判定し、“No”なら上記ステップS67へ戻って賞球データ要求の送信を繰り返す(ステップS78)。そして、送信を繰り返しているうちにステップS78で送信回数が「0」になったと判定すると、ステップS79へ進み、賞球数データを「15個」にセットしてこのルーチンを終了する。
このように排出制御装置600が遊技盤制御装置400に対して賞球データ要求を所定回数(例えば5回)繰り返しても応答がないときは自己の持っている通常賞球データを排出賞球データとして設定してから後述の排出処理に移行することにより、例え排出制御装置600と遊技盤制御装置400との間の通信が異常になっても直ちに遊技が中断されることがないとともに、少ない数の賞品球が排出されることによる遊技者と遊技店との間のトラブルを回避することができる。
【0109】
図24には排出開始処理ルーチンの一例が示されている。このルーチンは、1つの入賞球(セーフ球)に対して1回行われる所定数の賞品球の排出を行なうに当り、上記所定数(賞球設定数)の賞品球を、2条に設けられた案内樋710(図2参照)の一方から幾つ排出し、他方から幾つ排出するか等排出の態様を予め決定すると共に、排出ソレノイド1及び/又は排出ソレノイド2を励磁(ON)して上記態様に従った賞品球の排出を開始させるものである。
本ルーチンが開始されると、先ず、ステップS102にて、排出レジスタ0の値が「1」に設定されているか否か判定される。排出レジスタ0の値が「1」でないときは、ステップS104で排出レジスタ0の値が「8」以下であるか否かが判定される。
【0110】
これらステップS102およびS104判定の結果、排出レジスタ0の値が「1」のときにはステップS106へ移行して1個排出フラグを“1”に設定し、交互排出フラグを“0”にクリアして(ステップS108)から1個排出タイマをセット(S110)してステップS118の反転フラグの判定へ移行する。
一方、前記ステップS104での判定の結果、排出レジスタ0の値が「8」以下であると判定したときは、ステップS112へ移行して1個排出フラグを“0”にクリアし、交互排出フラグを“1”に設定(ステップS114)してからステップS118の反転フラグの判定へ移行する。さらに、前記ステップS104での判定の結果、排出レジスタ0の値が「9」以上であると判定したときには、ステップS124以降の処理を実行する。
【0111】
ここで、交互排出フラグは、本ルーチンに引き続いて行なわれる排出処理(図27)の賞品球排出の態様を後述の2つの態様(排出ソレノイド1,2を交互に作動させて賞品球を排出する交互排出処理または排出ソレノイド1,2を同時に作動させて賞品球を排出する併用排出処理)から選択する際に用いられる判定フラグであり、交互排出フラグが“1”に設定されているときには交互排出処理(賞球設定数が1〜8のとき)が、“0”に設定されているときには併用排出処理(賞球設定数が9〜15)が夫々行なわれる。
このように交互排出フラグの値が“1”に設定されたのちにはステップS118で反転フラグの判定が行なわれる。
この反転フラグは、賞品球の排出を交互排出処理にて行うに際し、球排出装置170の第1の排出ソレノイド1(741a)と第2の排出ソレノイド2(741b)とを交互に作動させることにより2つの排出経路を均等に使用して耐久性を向上させるために設けられたもので、「反転フラグ」の値は、ソレノイドが1回作動される毎すなわち1排出が終了する毎に“1”または“0”に反転される。
【0112】
この反転フラグの判定結果が“Yes”のときには、ステップS120で排出ソレノイド1を励磁して、第1の案内樋からの排出を開始させてから、反転フラグを“0”に反転させる(ステップS121)。また、前記ステップS118の判定結果が“No”のときには、ステップS122で排出ソレノイド2を励磁して第2の案内樋から賞品球の排出を開始させてから、反転フラグを“1”に反転させる(ステップS123)。
一方、賞球排出数が9以上のとき(前記ステップS104の判定結果が“No”のとき)には、併用排出処理を行なうべくステップS124へ進む。この併用排出処理では、先ず、ステップS124にて後述する排出数分割処理(図25)を行なった後、1個排出フラグおよび交互排出フラグを“0”に設定し(ステップS126,S128)、後述の併用排出処理にて用いられる排出1終了フラグ,排出2終了フラグの値を“0”にリセットする(ステップS130,ステップS132)と共に排出ソレノイド1、排出ソレノイド2を共に励磁して併用排出を開始させる(ステップS134,ステップS136)。
【0113】
しかる後、ステップS138で、後述する賞球排出処理(図26)にて排出ウェイトタイマを起動するときに“1”に設定される排出ウェイトフラグを“0”にリセットする。
次のステップS140では、1個排出処理、交互排出処理又は併用排出処理が終了したときにその旨を示すべく“1”に設定される排出終了フラグが“0”にリセットされ、続くステップS142では排出監視タイマ(例えば3秒)をセットして終了する。この排出監視タイマは、賞品球の排出が開始された時点より、所定時間が経過するまでに後述の交互排出処理又は併用排出処理によって排出すべき全ての賞品球の排出が完了したか否かを監視するために設けられるものである。
【0114】
図25は、上記排出開始処理(図24)のステップS124にて実行される排出数分割処理のサブルーチンを示すフローチャートである。
このルーチンは球の排出が後述の併用排出処理にて行われるとき(排出レジスタ0の値が9以上25以下のとき)になされる処理である。これは、併用排出処理では排出ソレノイド1,2が1回の制御ループで同時に作動されるため、予め前記排出レジスタ0に記憶された値を2つに分けて排出レジスタ1と2に夫々設定しておくものである。そしてこれら2つの排出レジスタ1,2の値に応じて排出ソレノイド1,2が夫々独立して作動されるようになっている。
【0115】
本ルーチンが開始されると、ステップS151〜S175にて順次、排出レジスタの値が、「9」であるか否か(ステップS151)、「10」であるか否か(ステップS152)、「11」であるか否か(ステップS153)、「12」であるか否か(ステップS154)、そして以下同様にして「25」までが判定される(ステップS175)。「25」まで判定を行なうのは、球貸し排出の際には一回の排出要求に対して25個の玉が排出されるからである。
前記ステップS151の判定結果が“Yes”のときにはステップS181にて排出レジスタ1の値を「5」に設定すると共にステップS182にて排出レジスタ2の値を「4」に設定して本ルーチンを終了する。
【0116】
以後、前記ステップS152の判定結果が“Yes”のときには排出レジスタ1,2の値を共に「5」に設定し(ステップS183,ステップS184)、前記ステップS153の判定結果が“Yes”のときには排出レジスタ1の値を「6」に設定する(ステップS185)とともに排出レジスタ2の値を“5”に設定し(ステップS186)、前記ステップS154の判定結果が“Yes”のときには排出レジスタ1,2の値を共に「6」に設定する(ステップS187,ステップS188)。以下同様にして、排出レジスタ0の値が奇数のときには排出レジスタ1に排出レジスタ2よりも1つだけ大きな値を設定し、排出レジスタ0の値が偶数のときには排出レジスタ1と排出レジスタ2に同じ値を設定する。
【0117】
図26は、前述した賞球排出制御装置600側のCPUによって実行されるメインルーチン(図10)のステップS18において実行される賞球排出処理のサブルーチンを示すフローチャートである。
本ルーチンは、メインルーチン(図10)のステップS19の賞球開始処理によって開始された賞球排出動作を停止させるための処理であり、図23の賞球開始処理ルーチンのステップS76で処理ナンバーが「2」に設定されてからメインルーチンのステップS8まで進んできたときに、処理ナンバーが「2」と判定されて開始される。このルーチンでは、先ず、ステップS202にて排出ウェイトフラグが“1”であるか否かが判別される。この排出ウェイトフラグは、1つのセーフ球に対応した所定数(賞球排出数)の賞品球の排出が終了して後述のウェイトタイマが作動したとき(ステップS215)にその値が“1”に設定され(ステップS214)、前述の排出開始処理(図24)のステップS138にて“0”にリセットされるものである。
【0118】
従って、1つのセーフ球に対応した所定数(賞球排出数)の賞品球の排出が終了した後初めてステップS202の判別結果が“Yes”となる。このステップS202の判別結果が“No”であるうちは、ステップS204に進んで、排出処理(図27)による賞品球の排出を行なった後、ステップS205へ進む。このステップS205では、セーフ玉払出フラグが“1”か否か判定する。このセーフ玉払出フラグは、セーフソレノイド183がオンされているかオフされているか、すなわち入賞球分離検出装置180における分離が行なわれているか否かを示すもので、排出が終了してセーフソレノイド183がオンされるときに“1”にセットされ、入賞球が1つ分離されセーフソレノイド183がオフされるときに“0”にリセットされる。また、セーフ玉払出フラグは初期設定でリセットされる。
【0119】
ステップS205でセーフ玉払出フラグが“1”でないと判定されると、ステップS206に進み、排出終了フラグが“1”であるか否かが判別される。
この排出終了フラグは、1個排出(図28)、交互排出処理(図29)又は併用排出処理(図30)によって、1つの入賞球等に対応した所定数(賞球設定数)の球の排出が完了したときにその値が“1”に設定されるものである。従って、この判別結果が“No”のときには続くステップS207乃至ステップS210をスキップして、本ルーチンを終了する。
【0120】
所定数の賞品球の排出が完了して、前記ステップS206の判別結果が“Yes”に転じたときには、賞品球排出表示ランプ112を消灯(OFF)し、セーフソレノイド183をオンさせた(ステップS207,S208)後、セーフ玉払出フラグを“1”に設定し、賞球数データを賞球排出カウンタに加算して本ルーチンを終了する(ステップS209,S210)。
従って、再びステップS205へ来たときに“Yes”と判定されてステップS211へ移行する。そして、ステップS211では図18のセーフセンサ入力処理中でセット,リセットされるセーフ玉無フラグが“1”か否かチェックし、“No”なら何もせずに本ルーチンを終了する。入賞球分離検出装置180における入賞球の分離が終了してセーフ玉無フラグが“1”セットされてから上記ステップS211へ来ると、“Yes”と判定されて、ステップS212へ移行し、セーフソレノイド183をオフさせた後、セーフ玉払出フラグを“0”にリセットしてから(ステップS213)、排出ウェイトフラグを“1”に設定し(ステップS214)、排出ウェイトタイマを所定時間(例えば400m秒)にセットし終了する(ステップS215)。
【0121】
ステップS214で排出ウェイトフラグが“1”に設定される後のループでは、前記ステップS202の判別結果が“Yes”に転じ、ステップS218が実行される。このステップS218では前記排出ウェイトタイマがタイムアップしたか否かが判別され、判別結果が“No”、即ち所定数の賞品球の排出が終了した後前記所定時間が未だ経過していないときにはそのまま本ルーチンを終了し、当該所定時間が経過するまでステップS202及びステップS218のみを繰返し実行する。そして、上記所定時間が経過してステップS218の判別結果が“Yes”になると、ステップS220に進んで処理ナンバーを“0”に設定して、本ルーチンを終了する。
【0122】
図27は、上述した賞球排出処理(図26)のステップS204にて行われる排出処理のサブルーチンを示すフローチャートである。
本ルーチンが開始されると、先ず、ステップS222にて排出エラーフラグが“1”であるか否かが判別される。この排出エラーフラグは排出開始処理の実行時(図24のステップS142)にセットされた排出監視タイマがタイプアップするまでに所定数の賞品球の排出が完了しないときに排出制御系の異常を示すべくその値が“1”に設定される(後述のステップS242にて“1”に設定される)ものである。従って、このステップS222での判別結果が“Yes”のときにはステップS252にて後述の排出エラー回復処理(図31)を行なって本ルーチンを終了する。
【0123】
一方、ステップS222の判別結果が“No”のときにはステップS224に進み、排出終了フラグが“1”であるか否かが判別される。この排出終了フラグは、前述したように、1個排出(図28)、交互排出処理(図29)又は併用排出処理(図30)によって、1つの入賞球等に対応した所定数(賞球設定数)の球の排出が完了したときにその値が“1”に設定されるものである。
このステップS222の判別結果が“No”であるうちは、ステップS226に進み、排出開始処理の実行時(図24のステップS142)にセットされた排出監視タイマがタイムアップしたか否か判定する。そして、“No”ならステップS228,S230へ進んで、前述の排出開始処理(図24)にて設定される1個排出フラグおよび交互排出フラグを調べて、1個排出フラグが“1”のときにはステップS232の1個排出処理(図28参照)を、また、交互排出フラグが“1”のときにはステップS234(図29参照)を、さらに交互排出フラグが“0”のときにはステップS236の併用排出処理(図30)を実行する。
【0124】
一方、上記ステップS226で排出監視タイマがタイムアップしたと、すなわち排出開始後一定時間経過しても排出が終了しないと判定すると、排出異常発生と判断して排出ソレノイド1と2をオフさせ(ステップS238,S240)かつ排出エラーフラグを“1”に設定(ステップS242)した後、処理ナンバーに応じて賞球排出処理中なら賞品球排出表示ランプ112を、また球貸し排出中なら球貸し排出表示をそれぞれ点滅状態にさせてエラー表示を行なって終了する(ステップS244,S246,S248,S250)。
図28は、上述した排出処理(図27)のステップS232にて行われる1個排出処理のサブルーチンを示すフローチャートである。
この処理が開始されると、まず図24のステップS110でセットされる1個排出タイマがタイムアップしたか否か判定し(ステップS262)、“No”なら何もせず、また“Yes”すなわち1個排出タイマに設定された時間が経過すると、ステップS264へ移行して反転フラグが“1”か“0”か調べる。そして、反転フラグが“0”なら排出ソレノイド1をオフ(ステップS266)、また反転フラグが“1”なら排出ソレノイド2をオフ(ステップS268)して1個排出を終了させてから、排出終了フラグを“1”に設定してルーチンを終了する(ステップS270)。
【0125】
図29は上述した排出処理(図27)のステップS234にて行われる交互排出処理のサブルーチンを示すフローチャートである。
前述したように本ルーチンは排出される賞品球の数(賞球設定数)が「8」以下のときに行われる処理であり、本ルーチンでは上述した賞球排出装置170の排出ソレノイド1と2を交替に使って賞品球を排出するものである。
本ルーチンが開始されると、先ずステップS272にて、反転フラグが“0”か“1”か調べる。そして、反転フラグが“0”のときはステップS274へ進んで、排出センサ1立上りフラグが“1”であるか否かを判定する。この排出1立上フラグは予備球が排出センサ1内より脱したときにその値が“1”に設定されるものである。従って、この判定結果が“No”なら何もせず、また“Yes”となったときには排出レジスタ0の値(排出玉数)を1つだけ減算してから上記排出センサ1立上りフラグをクリアする(ステップS276,S278)。
【0126】
次に、上記排出レジスタ0の値が「1」になったか否かすなわち予め設定された数の玉を排出したか否か判定し(ステップS280)、排出レジスタ0の値が「1」になったなら排出ソレノイド1をオフさせ、かつ排出終了フラグを“1”にセットしてルーチンを終了する(ステップS282,S284)。
一方、前記ステップS272の判定結果が“No”すなわち反転フラグが“1”のときにはステップS286に進む。ステップS286では排出センサ2立上りフラグが“1”であるか否かを判定する。この排出2立上フラグは予備球が排出センサ2内より脱したときにその値が“1”に設定されるものである。従って、この判定結果が“No”なら何もせず、また“Yes”となったときには排出レジスタ0の値(排出玉数)を1つだけ減算してから上記排出センサ2立上りフラグをクリアする(ステップS288,S290)。次に、上記排出レジスタ0の値が「1」になったか否かすなわち予め設定された数の玉を排出したか否か判定し(ステップS292)、排出レジスタ0の値が「1」になったなら排出ソレノイド2をオフさせてから、排出終了フラグを“1”にセットしてルーチンを終了する(ステップS294,S284)。
このルーチンでは排出ソレノイド1または2による排出を、排出レジスタ0の値が「1」になった時点で終了させているのは、排出ソレノイドのオフタイミングを調整するためである。つまり、本実施例では排出センサの下流側にストッパが配置されているので、排出レジスタ0の値が「0」になった時点で排出を終了させると、実際には1つ余計に玉が排出されてしまうからである。
【0127】
図30は上述した排出処理(図27)のステップS236にて行われる併用排出処理のサブルーチンを示すフローチャートである。
前述したように本ルーチンは排出される賞品球の数(賞球設定数)が「9」以上のときに行われる処理であり、本ルーチンでは上述した賞球排出装置170の排出ソレノイド1と2を同時に作動させて賞品球を排出するものである。
【0128】
本ルーチンが開始されると、先ず図24の排出開始処理のステップS130でリセットされた排出1終了フラグが“1”になったか否か判定する(ステップS302)。排出開始直後は排出1終了フラグは“0”であるため、“No”と判定されてステップS304へ進んで、排出センサ1立上りフラグが“1”であるか否かを判定する。この判定結果が“No”なら何もせず、また“Yes”なら排出レジスタ1の値(排出玉数)を1つだけ減算してから上記排出センサ1立上りフラグをクリアする(ステップS306,S308)。
次に、上記排出レジスタ0の値が「1」になったか否かすなわち予め設定された数の玉を排出したか否か判定し(ステップS310)、排出レジスタ0の値が「1」になったなら排出ソレノイド1をオフさせ、かつ排出1終了フラグを“1”にセットする(ステップS312,S314)。
【0129】
次に、ステップS316へ進み、図24の排出開始処理のステップS132でリセットされた排出2終了フラグが“1”になったか否か判定する。排出開始直後は排出2終了フラグは“0”であるため、“No”と判定されてステップS318へ進んで、排出センサ2立上りフラグが“1”であるか否かを判定する。この判定結果が“No”なら何もせず、また“Yes”なら上記排出センサ2立上りフラグをクリアしてから排出レジスタ2の値(排出玉数)を1つだけ減算する(ステップS320,S322)。
次に、上記排出レジスタ2の値が「1」になったか否かすなわち予め設定された数の玉を排出したか否か判定し(ステップS324)、排出レジスタ2の値が「1」になったなら排出ソレノイド2をオフさせ、かつ排出2終了フラグを“1”にセットする(ステップS326,S328)。それから排出1終了フラグが“1”か否か判定し(ステップS330)、“Yes”なら次のステップS332で排出終了フラグを“1”にセットしてルーチンを終了する。排出系1の側が先に排出を終了した場合に、ステップS330−S332と進んで終了する。
【0130】
一方、排出系2の側が先に排出を終了した場合には、ステップS330で“No”と判定され、その後再びこのルーチンが実行されたときにステップS314で排出1終了フラグが“1”にセットされてステップS316へ進み、ここで“Yes”と判定されてステップS332へジャンプし、排出終了フラグを“1”にセットしてルーチンを終了する。
以上のように、賞球設定数が大きな値(9〜15)に設定されているときに該設定数を分割して2つの排出レジスタ1,2にその値を記憶し、排出レジスタ1,2の値に基づいて第1及び第2の排出ソレノイドを夫々独立して作動させることにより、多数の賞品球の排出が一層迅速に行えるようになる。
【0131】
図31は、上述した排出処理(図27)のステップS252にて行われる排出エラー回復処理のサブルーチンを示すフローチャートである。
このルーチンが開始されると、まず図14の排出センサ1レベル入力処理のステップS7232で設定される排出1エラー解除フラグが“1”であるか否か、また図15の排出センサ2レベル入力処理のステップS7432で設定される排出2エラー解除フラグが“1”であるか否かそれぞれ判定する(ステップS342,S344)。そして、両方の判定でともに“Yes”となると、ステップS346以下の処理を行なう。ステップS346−S352では、図23の賞球開始処理におけるステップS61−S63と同様の手続に従って、図14および図15の排出センサレベル入力処理ルーチンで設定される排出センサ1玉有フラグおよび排出センサ2玉有フラグと、図17の半端センサ入力処理ルーチンで設定される半端センサ玉有フラグを調べて、いずれか一つのフラグでも“0”になっている場合には排出可能フラグを“0”にクリアして終了する(ステップS354)。
【0132】
一方、すべてのフラグが“1”になっている場合には排出可能フラグを“1”にセットし(ステップS356)、次のステップS358で上記排出可能フラグが“1”になっているか否か調べ、“1”ならステップS360およびS362で排出レジスタ1と排出レジスタ2の値がそれぞれ「1」を越えているか判定し、排出レジスタ1の値が「1」以下のときは排出レジスタ2の値を、また排出レジスタ2の値が「1」以下のときは排出レジスタ1の値を、さらに排出レジスタ1と排出レジスタ2の値がともに「1」を越えているときは両方の値を排出レジスタ0に設定する(ステップS364,S366,S368)。それから、図24の排出開始処理と同一の処理を行なう(ステップS378)。
これによって、2つの排出系のうちいずれか一方が球詰りを起こして排出エラーを起こしたような場合にも、排出レジスタに残っている未排出の玉数が改めて排出レジスタ0に設定されて再度排出が開始されるようになるため、正常な他方の排出系を使用した排出が行なわれ、故障によるパチンコ遊技機の遊技中断を回避することができる。
【0133】
なお、このルーチンでは上記排出開始処理(ステップS378)に先立って、処理ナンバーをチェックしてナンバーが「2」のときは賞品球排出表示ランプ112を点灯させ、ナンバーが「3」のときは貸し玉排出表示ランプ113を点灯させるようになっている(ステップS370,S372,S374,S376)。さらに、上記排出開始処理(ステップS378)終了後には排出エラーフラグを“0”にクリアして本ルーチンを終了する(ステップS380)。
上記ステップS360で排出レジスタ1の値が「1」以下のときはステップS364で排出レジスタ2の値を排出レジスタ0に設定しているのは、排出レジスタの値が「1」ということは排出終了を意味しており、それにもかかわらず本ルーチンのエラー回復処理に入ってきたのは排出レジスタ2に未排出の玉数が残っていると推定できるからである。同様に、ステップS362で排出レジスタ2の値が「1」以下のときはステップS366で排出レジスタ1の値を排出レジスタ0に設定しているのは、排出レジスタ2に未排出の玉数が残っていると推定できるからである。
【0134】
図32は、前述した賞球排出制御装置のメインルーチン(図10)のステップS21で実行される球貸開始処理のサブルーチンを示すフローチャートである。このサブルーチンは、図19の球貸しリクエスト検出処理ルーチンのステップS4122で球貸し要求フラグがセットされ、メインルーチンのステップS11で“Yes”と判定されることによって開始される。
このサブルーチンが開始されると、まず前記図14および図15の排出センサレベル入力処理ルーチンで設定される排出センサ1玉有フラグおよび排出センサ2玉有フラグと、図17の半端センサ入力処理ルーチンで設定される半端センサ玉有フラグを調べて(ステップS402−S406)、いずれか一つのフラグでも“0”になっている場合には排出可能フラグを“0”にクリアして終了する(ステップS410)。
【0135】
一方、すべてのフラグが“1”になっている場合には排出可能フラグを“1”にセットし(ステップS412)、予めROM内に設定されている変換レート(球貸し数データ)を排出レジスタ0にセットする(ステップS414)。また、貸玉排出表示ランプ113を点灯させ(ステップS416)、球貸し音要求フラグおよびP台レディフラグを“1”にセット(ステップS418,S420)してから、賞球排出処理と共通の排出開始処理ルーチン(図24参照)を実行して球排出装置170による排出を開始させた後、処理ナンバーを「3」にして終了する(ステップS422,S424)。
球貸し排出では球貸し数データが例えば25個のような値(>8)に設定されるため、ステップS422の排出開始処理ルーチンが実行される場合、2系統の排出系を同時に使用した排出が開始される。
【0136】
なお、上記ステップS418,S420でセットされる球貸し音要求フラグは遊技盤制御装置400に対して出力する貸玉排出音発生要求信号Eを後述の音要求出力処理(図38)でロウレベルに、またP台レディフラグは球貸し制御装置500に対して出力する球貸レディ信号Uを後述の貸し玉情報出力処理(図39)でロウレベルに、それぞれアサートさせるためのものである。
図33は、前述した排出制御装置側のCPU610によって実行されるメインルーチン(図10)のステップS17において実行される球貸排出処理のサブルーチンを示すフローチャートである。
【0137】
本ルーチンは、上記サブルーチン(図32)のステップS424で処理ナンバーが“3”に設定され、メインルーチン(図10)のステップS7において、処理ナンバーが“3”と判定されたときに開始され、先ず、ステップS432にて排出ウェイトフラグが“1”であるか否かが判別される。この排出ウェイトフラグは、1つの球貸し要求信号に対応した所定数の貸し玉の排出が終了して後述のウェイトタイマが作動(ステップS440)したときにその値が“1”に設定され、前述の排出開始処理(図24)のステップS138にて“0”にリセットされるものである。従って、1つの球貸し要求信号に対応した所定数貸し玉の排出が終了した後に初めてステップS432の判別結果が“Yes”となる。このステップS432の判別結果が“No”であるうちは、ステップS434に進んで、賞球排出処理と共通の排出処理(図27)による貸し玉の排出を行なった後、ステップS436に進む。このステップS436では、排出終了フラグが“1”であるか否かが判別される。この排出終了フラグは、上記排出処理ルーチン(図27)中において行なわれる図30に示す併用排出処理(1個排出および交互排出処理は、この貸し玉排出では原則として行なわれない)によって、1つの球貸し要求信号に対応した所定数の球の排出が完了したときにその値が“1”に設定されるものである。従って、この判別結果が“No”のときには続くステップS438乃至ステップS446をスキップして、本ルーチンを終了する。
【0138】
所定数の賞品球の排出が完了して、前記ステップS436の判別結果が“Yes”に転じたときには、排出ウェイトフラグを“1”に設定し(ステップS438)、排出ウェイトタイマを所定時間(例えば400m秒)にセットし(ステップS440)、さらに払出終了フラグを“1”に設定した(ステップS442)後、貸玉排出表示ランプ113を消灯(OFF)し、連続球貸しカウンタをインクリメントして本ルーチンを終了する(ステップS444,S446)。
上記払出終了フラグは後述の貸し玉情報出力処理(図39)において払出完了信号Vをロウレベルにするために参照され、また、連続球貸しカウンタは前述の球貸リクエスト検出処理(図19)のステップS4102において参照され、連続して6回以上の変換すなわち600円分以上の球貸し排出が回避されるようになっている。
【0139】
上記ステップS436の判別結果が“Yes”に転じた後のループでは、ステップS438で排出ウェイトフラグが“1”に設定されることにより、前記ステップS432の判別結果が“Yes”に転じ、ステップS448が実行される。このステップS448では前記排出ウェイトタイマがタイムアップしたか否かが判別され、判別結果が“No”、即ち所定数の賞品球の排出が終了した後前記所定時間が未だ経過していないときにはそのまま本ルーチンを終了し、当該所定時間が経過するまでステップS432及びステップS448のみを繰返し実行する。そして、上記所定時間が経過してステップS448の判別結果が“Yes”になると、ステップS450に進んで処理ナンバーを“0”に設定して、本ルーチンを終了する。
【0140】
図34ないし図36は、前述した排出制御装置側のCPU610によって実行されるメインルーチン(図10)のステップS16において実行される玉抜処理のサブルーチンを示すフローチャートである。
この球抜処理ルーチンは遊技店の係員によって球抜スイッチが押されたことが前述の球抜センサ入力処理(図16)によって検知され、球抜フラグが“1”に設定されてメインルーチンのステップS10で“Yes”と判定され、ステップS20で処理ナンバーが“4”に変更され、さらにメインルーチンのステップS6において、処理ナンバーが“4”と判定されたときに開始されるものである。
【0141】
本ルーチンが開始されると、先ずステップS602において強制終了フラグが“1”であるか否かが判定される。この強制終了フラグは、球抜スイッチが2回押されたときに(本ルーチンの実行中に再度球抜スイッチが押され、後述のステップS616又はステップS626の判定結果が“Yes”となったとき)実行されるステップS700〜S736の強制終了処理が実行される直前のステップS696にてその値が“1”に設定されるものである。したがって、該フラグがステップS696の実行によって一旦“1”に設定されると、その後のループでは前記ステップS602の判定結果が“Yes”となって、後述のステップS700以降の強制終了処理のみが実行されることになる。
【0142】
前記ステップS602の判定結果が“No”のときには、ステップS604で球抜実行フラグが“1”であるか否かが、続くステップS606で球抜開始フラグが“1”であるか否かが判定される。このうち球抜開始フラグは、続くステップS608〜S612の処理が一度でも行われたときにその旨を記憶すべくステップS614にてその値が“1”に設定されるものである。又、球抜実行フラグは後述のステップS620,S622によって排出ソレノイド1,2の励磁が開始され球抜処理が実行されたときにその旨を記憶すべくステップS624にて“1”に設定されるものである。
【0143】
ここで、本球抜処理ルーチンが初めて行われた場合を考える。この場合には前記ステップS604,S606の判定結果は共に“No”となってステップS608に進み、1回目の球抜スイッチの押圧(球抜処理を開始させるための押圧)によって“1”にセットされた球抜フラグを“0”にリセットする。次のステップS609,S610では第1及び第2の排出手段による球抜処理が終了したことを記憶するために用いられる排出1終了フラグ,排出2終了フラグを“0”にリセットしておく。これら排出1終了フラグ,排出2終了フラグは前述の併用排出処理にて用いられたものがそのまま転用でき、2つのフラグは後述のステップS628,S646等の判定に用いられる。更に次のステップS611では球抜開始タイマがセット/スタートされる。この球抜開始タイマは、実際に排出ソレノイド1,2を励磁(ON)する前に、球抜装置の切換弁158を予め切換えておくのに十分な所定のアイドルタイムを設けるためのものである。
【0144】
次のステップS612では前記切換弁158を切換るべく球抜ソレノイドが励磁(ON)され、続いて前記球抜開始フラグが“1”に設定される(ステップS614)。
続くステップS616では上記ステップS602〜S614の実行中に球抜フラグが再び“1”に設定されたか否か、即ち再度球抜スイッチが押されたか否か(2度押されたか否か)が判定される。この判定結果が“Yes”のときにはステップS692〜S698を実行した後、球抜処理を強制的に終了させるべくステップS700以降の強制終了処理に進む。
【0145】
より具体的には先ずステップS692及びステップS694で、後述のステップS628〜S644の処理にて用いられる排出1球無フラグ及び後述のステップS646〜S662の処理にて用いられる排出2球無フラグが夫々“0”にリセットされ、ステップS696で強制終了処理に移行したことを示すべく前記強制終了フラグが“1”に設定され、更に強制終了処理に移行した直後より所定時間経過したか否かを判定するために設けられた強制終了タイマをセットして、後述のステップS700以降の強制終了処理を行う。
【0146】
一方、この判定結果が“No”のときには、前記ステップS611でスタートさせた球抜開始タイマがタイムアップしたか否かが判定される。未だ球抜開始タイマがタイムアップしないときには(判定結果が“No”)、以後の処理を行うことなくそのまま本ルーチンを終了する。次回以降のループでは前記タイマがタイムアップするまでステップS602〜S606,S616,S618のみが繰返し実行されることになる。
前記タイマがタイムアップしてステップS618の判定結果が“Yes”に転じると、ステップS620,S622において夫々排出ソレノイド1,2が励磁(ON)されて賞品球の流出が開始され、前述の球抜実行フラグが“1”に設定される(ステップS624)。
【0147】
このように一旦排出ソレノイド1,2が励磁(ON)されて球抜実行フラグが“1”に設定されると、次回以降のループにおいて、前記ステップS604の判定結果が“Yes”となり、ステップS606〜624の処理がスキップされることになる。
次のステップS626では再び、球抜フラグが“1”であるか否か即ち、球抜処理を強制的に終了させるべく球抜スイッチの2回押しがなされたか否かの判定が再びなされる。この判定結果が“Yes”のときは、ステップS684〜S690を行った後、前記ステップS692〜S698、更には後述のステップS700以降の強制終了処理に進む。
【0148】
ステップS684〜S690の処理では、先ず排出1終了フラグが“1”であるか否かが判定され(ステップS684)、この判定結果が“Yes”、即ちこの時点で球排出装置170の第1排出ソレノイド側の賞品球の流出がすべて完了しているときには(該フラグは第1の排出ソレノイド側の賞品球の流出がすべて完了したとき後述のステップS642でその値が“1”に設定される)ステップS686に進んで排出ソレノイド1を消磁(OFF)し、その後ステップS688に進む。一方、判定結果が“No”のときはステップS686をスキップしてステップS688に進む。
【0149】
ステップS688では更に排出2終了フラグが“1”であるか否かが判定され、この判定結果“Yes”、即ちこの時点で球排出装置170の第2排出ソレノイド側の賞品球の流出がすべて完了しているときには(該フラグは第2排出ソレノイド側の賞品球の流出がすべて完了したとき後述のステップS660でその値が“1”に設定される)ステップS690に進んで排出ソレノイド2を消磁(OFF)し、その後ステップS692に進み、一方、判定結果が“No”のときはステップS690をスキップしてステップS692以降に進む。
この時点で2回目の球抜スイッチの押圧が為されず、前記ステップS626の判定結果が“No”となったときには、ステップS628にて排出1終了フラグが“1”であるか否かが判定される。この排出1終了フラグは、本球抜処理が初めて実行されたときに前述のステップS609にて“0”にリセットされるものであり、反対に球抜処理によって全ての賞品球が流出されたときに後述のステップS642にて“1”に設定される。
【0150】
従って本球抜処理により球排出装置170の第1排出ソレノイド側の賞品球の排出が未だ完了していないときには、該ステップS628の判定結果は“No”となって、ステップS630以降の処理が実行される。
先ず、ステップS630では排出1球無フラグが“1”であるか否かが判定される。この排出1球無フラグは、メインルーチンのステップS4又は球排出装置170の第1排出ソレノイド側の球抜処理が完了したとき(ステップS644)に“0”にリセットされ、本球抜処理によって賞品球が流出され第1の案内樋内(排出センサ1内)に賞品球がなくなってセンサ出力が“0”となったときにその値が“1”に設定されるものである。
【0151】
従って、球抜開始後から排出センサ1内に賞品球がなくなるまではこの判定結果は“No”となって、ステップS632にて排出センサ1の出力がロウレベル(“0”)であるか否かが判定される。球抜処理が完了せず未だ排出センサ1内に賞品球が残っているときにはこの判定結果は“No”となり、そのままステップS646以降に進む。
この状態から球抜処理によって第1の案内樋内(センサ1内)に賞品球がなくなると、ステップS632の判定結果が“Yes”に転じ、上記排出1球無フラグが“1”に設定され(ステップS634)、次いでセンサ1内に賞品球がなくなった時点からの時間経過を計測する排出1球無タイマがセットされて(ステップS636)ステップS646以降に進む。
【0152】
その以降のループでは前記ステップS630の判定結果は“Yes”に転じ、ステップS638にて再度排出センサ1の出力レベルがロウレベル(“0”)であるか否かが判定される。
この判定結果が“Yes”即ち前回ループに引き続いて今回ループでも排出センサ1の出力レベルがロウレベルに保持されていると判定されたときにはステップS640に進んで前記ステップS636でセットされた排出1球無タイマがタイムアップしたか否かが判定される。この判定結果が“No”のとき、即ち第1の案内樋内(排出センサ1内)に賞品球がないと判定されてから未だ所定時間が経過していないときには、ステップS642,S644をスキップして、ステップS646以降に進む。
【0153】
以後、上記所定時間が経過するまで、前記ステップS630,S638の判定結果が共に“Yes”、ステップS640の判定結果が“No”という具合に判定される。
排出センサ1の出力レベルがロウレベルを保持したまま上記所定時間が経過すると、ステップS640の判定結果が“Yes”に転じて排出1終了フラグが“1”に設定され(ステップS642)、更に排出1球無フラグが“0”にリセットされて(ステップS644)、ステップS646以降に進む。
このように、一旦排出1終了フラグが“1”に設定されると次回以降のループにおいては前記ステップS628の判定結果が“Yes”となり、前記ステップS630〜S644をスキップして、直接ステップS646以降に進むこととなる。
【0154】
ところで、本ルーチンが開始され、一旦排出センサ1の出力がロウレベル(このとき排出1球無フラグが“1”)となった後、上記排出1球無タイマがタイムアップする前に再び排出センサ1の出力レベルがハイレベル(“1”)に変化すると、前記ステップS638の判定結果が“No”に転じ、前記排出1終了フラグを“1”に設定することなく(ステップS642をスキップして)、前記ステップS644にて排出1球無フラグを“0”にリセットしてステップS646以降に進むようになっている。この結果1つの賞品球が排出センサ1内を通過した後次の賞品球が該センサ1内に達するまでの間に生じる出力信号の立下りや該センサ1の出力信号にノイズが発生したとき等、出力信号の波形が一時的に立下った場合に誤って案内樋内の賞品球の流出が完了したと判断することがない。
【0155】
次のステップS646では更に排出2終了フラグが“1”であるか否かが判定される。
この排出2終了フラグは、本球抜処理が初めて実行されたときに前述のステップS610にて“0”にリセットされるものであり、反対に球抜処理によって全ての賞品球が流出されたときに後述のステップS660にて“1”に設定される。従って本球抜処理により賞球排出装置170の第2排出ソレノイド側の賞品球の排出が未だ完了していないときには、該ステップS646の判定結果は“No”となって、ステップS648以降の処理が実行される。
【0156】
先ず、ステップS648では排出2球無フラグが“1”であるか否かが判定される。この排出2球無フラグは、メインルーチンのステップS4又は球排出装置170の第2排出ソレノイド側の球抜処理が完了したとき(ステップS662)に“0”にリセットされ、本球抜処理によって賞品球が流出され第2の案内樋内(排出センサ2内)に賞品球がなくなってセンサ出力が“0”となったときにその値が“1”に設定されるものである。
従って、球抜開始後から排出センサ2内に賞品球がなくなるまではこの判定結果は“No”となって、ステップS650にて排出センサ2の出力がロウレベル(“0”)であるか否かが判定される。球抜処理が完了せず未だ排出センサ2内に賞品球が残っているときにはこの判定結果は“No”となり、そのままステップS664以降に進む。
【0157】
この状態から球抜処理によって第2の案内樋内(センサ2内)に賞品球がなくなると、ステップS650の判定結果が“Yes”に転じ、上記排出2球無フラグが“1”に設定され(ステップS652)、次いでセンサ2内に賞品球がなくなった時点からの時間経過を計測する排出2球無タイマがセットされて(ステップS654)ステップS664以降に進む。
その以降のループでは前記ステップS648の判定結果は“Yes”に転じ、ステップS656にて再度排出センサ2の出力レベルがロウレベル(“0”)であるか否かが判定される。
【0158】
この判定結果が“Yes”即ち前回ループに引き続いて今回ループでも排出センサ2の出力レベルがロウレベルに保持されていると判定されたときにはステップS658に進んで前記ステップS654でセットされた排出2球無タイマがタイムアップしたか否かが判定される。この判定結果が“No”のとき、即ち第2の案内樋内(排出センサ2内)に賞品球がないと判定されてから未だ所定時間が経過していないときには、ステップS660,S662をスキップして、ステップS664以降に進む。
以後、上記所定時間が経過するまで、前記ステップS648,S656の判定結果が共に“Yes”、ステップS658の判定結果が“No”という具合に判定される。
【0159】
排出センサ2の出力レベルがロウレベルを保持したまま上記所定時間が経過すると、ステップS658の判定結果が“Yes”に転じて排出2終了フラグが“1”に設定され(ステップS660)、更に排出2球無フラグが“0”にリセットされて(ステップS662)、ステップS664以降に進む。
このように、一旦排出2終了フラグが“1”に設定されると次回以降のループにおいては前記ステップS646の判定結果が“Yes”となり、前記ステップS648〜S662をスキップして、ステップS664以降に進むこととなる。
【0160】
ところで、本ルーチンが開始され、一旦排出センサ2の出力がロウレベル(このとき排出2球無フラグが“1”)となった後、上記排出2球無タイマがタイムアップする前に再び排出センサ2の出力レベルがハイレベル(“1”)に変化すると、前記ステップS656の判定結果が“No”に転じ、前記排出2終了フラグを“1”に設定することなく(ステップS660をスキップして)、前記ステップS662にて排出2球無フラグを“0”にリセットしてステップS664以降に進むようになっている。この結果1つの賞品球が排出センサ2内を通過した後次の賞品球が該センサ2内に達するまでの間に生じる出力信号の立下りや該センサ2の出力信号にノイズが発生したとき等、出力信号の波形が一時的に立下った場合に誤って案内樋内の賞品球の流出が完了したと判断することがない。
【0161】
上記ステップS646〜S662を実行した結果、球排出装置170の第2排出ソレノイド側の賞品球の流出が完了したと判定された後は、ステップS646の判定結果が“Yes”に転じステップS664にて第1排出ソレノイド側の賞品球の球抜が完了したか否か(排出1終了フラグが“1”か)の判定が再度なされる。
この判定結果が“No"のときには、そのまま今回ループでの処理を終了して、次回ループへと移行する(次回ループでは再びステップS628〜S644が実行されることになる)。
【0162】
一方、判定結果が“Yes”、即ちこの時点で球排出装置170の第1、第2の排出ソレノイドによる球抜処理が共に完了したと判断されたときには、先ず前記球抜実行フラグ及び球抜開始フラグを共に“0”にリセットし(ステップS666,S668)、球抜処理を終了させるべく排出ソレノイド1,2の消磁(OFF)を行ない(ステップS674,S676)、更に球抜ソレノイドの消磁(OFF)(ステップS678)を行った後、処理NOを“0”にリセットして(ステップS680)、本ルーチンを終了する。
次に前記ステップS602,S616,S626の何れかの判定結果が“Yes”のときに行われる強制終了処理(ステップS700以降の処理)について説明する。この処理は、球抜スイッチが押されて一旦球抜処理が開始された後、再び該スイッチが押されたとき(2回押し)に実行されるものである。
【0163】
先ず、ステップS700では、強制終了タイマがタイムアップしたか否かが判定される。この強制終了タイマは2回目のスイッチの押圧がなされたとき(ステップS616,S626判定結果が“No”となった直後に実行されるステップS698)にカウントを開始するものである。
この判定結果が“No”、即ち2回目のスイッチ押圧から未だ所定時間が経過していないときには、ステップS702にて排出1終了フラグが“1”であるか否かが判定される。
このステップS702の判定結果が“No”、即ち球抜処理が完了する前(前記フラグはその値が“1”のとき球排出装置170の第1排出ソレノイド側の球抜が完了したことを表わす)に強制終了処理が開始されたときには、更にステップS704にて排出センサ1立上フラグが“1”であるか否かが判定される。
【0164】
この判定結果が“Yes”のとき、即ち、強制終了処理が一旦行われた後、新たに賞品球がセンサ1内に達したときには、この時点で排出ソレノイド1を消磁(OFF)し(ステップS706)、次いで強制的に排出1終了フラグを“1”に設定して(ステップS708)、ステップS710に進み、一方、“No”のときには、前記ステップS706,S708をスキップして、ステップS710に進む。
ステップS710では排出2終了フラグが“1”であるか否かが判定される。このステップS710の判定結果が“No”、即ち球抜処理が完了する前(前記フラグはその値が“1”のとき球排出装置170の第2排出ソレノイド側の球抜が完了したことを表わす)に強制終了処理が開始されたときには、更にステップS712にて排出センサ2立上フラグが“1”であるか否かが判定される。
【0165】
この判定結果が“Yes”のとき、即ち、強制終了処理が一旦行われた後、新たに賞品球がセンサ2内に達したときには、この時点で排出ソレノイド2を消磁(OFF)し(ステップS714)、次いで強制的に排出2終了フラグを“1”に設定して(ステップS716)、本ルーチンを終了する。
一方、判定結果が“No”のときには、前記ステップS714,S716をスキップして、本ルーチンを終了する。
このように強制終了処理(ステップS700以降の処理)が開始された後所定時間が経過するまでに排出センサ2の出力信号の立上り(新たな賞品球がセンサ内に達したこと)が検出されて一旦排出2終了フラグが“1”に設定されると、次回以降のループではステップS710の判定結果が“Yes”となって、更に排出1終了フラグが“1”であるか否かが判定される(ステップS718)。この判定結果が“No”、即ちこの時点で、賞球排出装置の第1排出センサ1が強制終了処理開始後の新たな賞品球を検出していないときは、そのまま本ルーチンを終了する。この場合次回以降のループにおいてもステップS702〜S708の処理が引き続き実行される。
【0166】
一方、前記ステップS718の判定結果が“Yes”、即ち、強制終了処理が実行された後、賞球排出装置の第1,第2の排出センサ1,2が共に新たな賞品球が該センサ1,2内に達したことを検知したときには後述のステップS724以降の処理が行われる。
又、上記ステップS702〜S718の処理を実行しているうちに所定時間が経過して強制終了タイマがタイムアップして、ステップS700の判定結果が“Yes”に転じると(このとき前記排出1終了フラグ及び排出2終了フラグの何れか一方が“0”である)、ステップS720,S722で夫々排出ソレノイド1、排出ソレノイド2を強制的に消磁(OFF)してステップS724以降に進む。
ステップS724では、前述の強制終了フラグを“0”にリセットし、更にステップS726,S728にて前記球抜実行フラグ及び球抜開始フラグを共に“0”にリセットし、更に球抜ソレノイドの消磁(OFF)を行なった後(ステップS734)、処理NOを“0”にリセットして(ステップS736)、本ルーチンを終了する。
【0167】
図37には、図10のメイン処理フロー中のステップS15で行なわれる停電回復処理の具体的手順の一例が示されている。
この停電回復処理は、前述の停電割込み処理(図20)によって排出中データ(賞球排出数または貸し玉排出数)の退避が行なわれ、最終ステップS3020で停電フラグが“1”に設定されて終了した後、停電が回復してCPUに電源が供給されてメインルーチンが開始されたときに、ステップS1で停電フラグが“1”と判定してステップS13へ移行し、処理ナンバーを“5”に設定してから、ステップS5へ移行したときに“Yes”と判定されることで開始される。
【0168】
ステップS1で停電フラグが“1”と判定されてステップS13へ移行したときに直ちに本停電回復処理を実行することをせずに、一旦処理ナンバーを“5”設定して、ステップS5で“Yes”と判定されることで開始させているのは、ステップS3の排出装置不正監視処理を先に実行させて排出不正がないことを確認してから、停電によって中断された排出を再開させるためである。
図37の停電回復処理が開始されると、まず前記排出センサレベル入力処理ルーチン(図14および図15)で設定される排出センサ1玉有フラグおよび排出センサ2玉有フラグと、図17の半端センサ入力処理ルーチンで設定される半端センサ玉有フラグを調べて(ステップS1002−S1006)、いずれか一つのフラグでも“0”になっている場合には排出可能フラグを“0”にクリアして終了する(ステップS1010)。
【0169】
一方、すべてのフラグが“1”になっている場合には排出可能フラグを“1”にセット(ステップS1012)してから、バックアップRAMに退避されていた排出レジスタの値や中断された排出が球貸し排出であることを示すフラグ等のセーブデータを元のレジスタやフラグに復帰させる(ステップS1014)。次のステップS1016では上記排出可能フラグが“1”になっているか否か調べ、“1”ならステップS1018およびS1020で排出レジスタ1と排出レジスタ2の値がそれぞれ「1」を越えているか判定し、排出レジスタ1の値が「1」以下のときは排出レジスタ2の値を、また排出レジスタ2の値が「1」以下のときは排出レジスタ1の値を、さらに排出レジスタ1と排出レジスタ2の値がともに「1」を越えているときは両方の値を排出レジスタ0に設定する(ステップS1022,S1024,S1026)。
【0170】
それから、中断された排出が球貸し排出であったか否か判定する(ステップS1028)。そして、“Yes”ならステップS1030以降の継続球貸し排出を行い、“No”すなわち中断された排出が賞球排出であった場合には、ステップS1042以降の継続賞球排出を行う。これによって、停電発生時に2つの排出系のうちいずれか一方に未排出の玉数が残っていた場合にも、未排出の玉数が改めて排出レジスタ0に設定されて再度排出が開始されるようになるため、停電回復後に速やかに未排出の玉を排出させることができる。
なお、上記ステップS1018で排出レジスタ1の値が「1」以下のときはステップS1022で排出レジスタ2の値を排出レジスタ0に設定しているのは、排出レジスタの値が「1」ということは排出終了を意味しており、排出レジスタ2に未排出の玉数が残っていると推定できるからである。同様に、ステップS1020で排出レジスタ2の値が「1」以下のときはステップS1024で排出レジスタ1の値を排出レジスタ0に設定しているのは、排出レジスタ1に未排出の玉数が残っていると推定できるからである。
【0171】
上記継続球貸し排出では、先ず球貸し音要求フラグおよびP台レディフラグを“1”にセット(ステップS1030,S1032)して、貸し玉排出表示ランプ113を点灯(ステップS1034)させてから、図24に示されている排出開始処理と同一のルーチンを実行して球排出装置170による排出を開始させる(ステップS1036)。それから、球貸し排出中であったことの記憶を消去し、処理ナンバーを“3”に設定(ステップS1038,S1040)した後、ステップS1050へ移行して停電フラグを“0”にクリアして本ルーチンを終了する。処理ナンバーを“3”に設定するのは、上記ステップS1036で開始させた貸し玉排出をメインルーチンの球貸し排出処理S17で終了させるためである。
一方、ステップ1042以降の継続賞球排出では、賞品球排出表示ランプ112を点灯させてから、図24に示されている排出開始処理と同一のルーチンを実行して球排出装置170による排出を開始させる(ステップS1044)。それから、賞球排出中であったことの記憶を消去し、処理ナンバーを“2”に設定(ステップS1046,S1048)した後、ステップS1050へ移行して停電フラグを“0”にクリアして本ルーチンを終了する。処理ナンバーを“2”に設定するのは、上記ステップS1044で開始させた賞球排出をメインルーチンの賞球排出処理S18で終了させるためである。
【0172】
図38には、上記メインフロー(図10)中における音要求出力処理S23の具体的手順の一例を示す。
このルーチンが開始されると、まずステップS852で遊技盤制御装置400に対する貸し玉排出音発生要求信号Eがロウレベルにアサートされているか調べ、ハイレベルであればステップS854へ進み球貸音要求フラグが“1”にされているか否か判定する。上記球貸音要求フラグは、前述した球貸し開始処理ルーチン(図32)が実行されて貸し玉排出が開始される際に、ステップS418でセットされるフラグである。
ステップS854で“Yes”と判定されるとステップS856へ移行し、貸し玉排出音発生要求信号Eをロウレベルにアサートしてから、球貸音タイマをセットし、球貸音要求フラグを“0”にクリアして本ルーチンを終了する(ステップS858,S860)。
【0173】
一方、ステップS854で“No”すなわち球貸音要求フラグが“0”と判定すると、ステップS872へ進み、遊技盤制御装置400に対する賞球排出音発生要求信号Dがロウレベルにアサートされているか調べ、ハイレベルであればステップS874へ進み賞球音要求フラグが“1”にされているか否か判定する。上記賞球音要求フラグは、前述した賞球開始処理ルーチン(図23)が実行されて賞球排出が開始される際に、ステップS89でセットされるフラグである。
ステップS874で“Yes”と判定されるとステップS876へ移行し、賞球排出音発生要求信号Dをロウレベルにアサートしてから、賞球音タイマをセットし、賞球音要求フラグを“0”にクリアして本ルーチンを終了する(ステップS878,S880)。
【0174】
それから、再び本ルーチンが開始されたときに、ステップS852へ来ると、“Yes”すなわち貸し玉排出音発生要求信号Eがロウレベルであると判定されてステップS862へ移行し、上記ステップS858でセットした球貸音タイマがタイムアップしたか否か判定する。そして、タイムアップしていなければそのままルーチンを終了し、タイムアップしていれば貸し玉排出音発生要求信号Eをハイレベルにネゲートしてルーチンを終了する(ステップS864)。
一方、ステップS876で賞球排出音発生要求信号Dがロウレベルにアサートされてから、再び本ルーチンが開始され、ステップS872へ来ると“Yes”すなわち賞球排出音発生要求信号Dがロウレベルであると判定されてステップS882へ移行し、上記ステップS878でセットした賞球音タイマがタイムアップしたか否か判定する。そして、タイムアップしていなければそのままルーチンを終了し、タイムアップしていれば賞球排出音発生要求信号Dをハイレベルにネゲートしてルーチンを終了する(ステップS884)。
【0175】
図39には、図10のメイン処理フロー中のステップS24で行なわれる球貸情報出力処理の具体的内容が示されている。
このルーチンが開始されると、まずステップS802で球貸し要求フラグがセットされているか否か調べる。この球貸し要求フラグは、図19に示されている球貸しリクエスト検出処理ルーチン中において、球貸し制御装置500からの球貸し要求信号Tが連続して5m秒以上ロウレベルになったことを検出したときにセットされるフラグである(ステップS4122)。
ステップS802での判定の結果、“Yes”すなわち球貸し要求フラグがセットされているときはそのまま、また“No”すなわち球貸し要求フラグがリセットされているときはステップS804でP台レディフラグを“0”にクリアしてから、それぞれステップS806へ進む。上記P台レディフラグは後述のステップS810で、球貸しレディ信号Uをハイレベルまたはロウレベルに変化されるか決定する際に使用されるフラグで、前述した球貸し開始処理ルーチン(図32)が実行されて球貸し排出が開始される際に、ステップS420でセットされる。
【0176】
このステップS806では、球貸し制御装置500に対して出力される払出完了信号Vがロウレベル(有効)かハイレベル(無効)か判定する。その結果、ハイレベルであればステップS808へ進み、球貸し排出処理ルーチン(図32)で排出が終了したときにセットされる払出終了フラグが“1”か否か判定する。そして、“No”であればステップS810へ移行して、上記P台レディフラグが“1”か否か判定し、“No”なら球貸しレディ信号Uをハイレベルにネゲートし、“Yes”なら球貸しレディ信号Uをロウレベルにアサートして本ルーチンを終了する(ステップS812,S814)。
従って、球貸しリクエスト検出処理(図19)で球貸し制御装置500からの球貸し要求信号Tが検出されて球貸し要求フラグがセットされると、メインルーチンのステップS11で“Yes”と判定されて球貸し開始処理ルーチン(図32)が実行されて球貸し排出が開始されるとともにP台レディフラグが“1”にセットされるため、本球貸し情報出力処理ルーチンではステップS802からステップS806へジャンプし、ステップS806,S808でそれぞれ“No”と判定され、ステップS810では“Yes”と判定して球貸しレディ信号Uをロウレベルにアサートする。
【0177】
そして、その後球貸し排出が終了して球貸し排出処理ルーチン(図33)で払出終了フラグが“1”にセットされると、本ルーチンのステップS808で“Yes”と判定されてステップS816へ移行し、球貸し制御装置500に対する払出完了信号Vおよびホールの管理装置へ出力される排出貸し玉数信号J(1パルスが最小変換単位の玉数を表す)をそれぞれロウレベルにアサートし、かつ払出完了タイマをセット(起動)させ、払出終了フラグを“0”にクリアしてから(ステップS816,S818,S820,S822)、上記ステップS810−S814と進んで引き続き球貸しレディ信号Uをロウレベルにアサートしておく。
【0178】
次に、再び本ルーチンが実行されると、ステップS806で“Yes”すなわち払出完了信号Vがロウレベルと判定されてステップS824へ移行し、上記ステップS820でセットされたタイマがタイムアップしたか否か判定される。ここで、タイマがまだタイムアップしていなければそのまま上記ステップS810へ移行し、タイムアップしていれば上記払出完了信号Vおよび排出貸し玉数信号Jをそれぞれハイレベルにネゲートしてから(ステップS826,S828)、ステップS810−S814と進んで引き続き球貸しレディ信号Uをロウレベルにアサートしておく。
【0179】
上記処理によって上記払出完了信号Vがハイレベルにネゲートされると、球貸し制御装置500がそれを検知して球貸し要求信号をハイレベルにネゲートしてくるため、球貸しリクエスト検出処理(図19)で球貸し要求信号Tがハイレベルに変化されたことが検出されて球貸し要求フラグがリセットされる。すると、再び本ルーチンが実行されたときにステップS802で“No”と判定されるため、ステップS804へ移行してP台レディフラグが“0”にクリアされる。また、払出完了信号Vがハイレベルにネゲートされているため、ステップS806では“No”と判定され、ステップS808、S810と進み、ステップS810で“No”すなわちP台レディフラグが“0”と判定される。その結果、球貸しレディ信号Uがハイレベルにネゲートされて終了する。
【0180】
次に、上述した遊技盤制御装置400によって行なわれる遊技盤全体の制御手順の一例を図40を参照して詳細に説明する。
この制御フローは、遊技盤制御装置400の電源が投入されたあとタイマ割込みにより所定時間(例えば2msec)毎に実行される。
この割込み処理が開始されると、先ず、遊技盤102に設けられている賞球別入賞検出器490その他各種スイッチ(センサを含む)からの信号を読み込むスイッチ入力処理を行なう(ステップS80)。次に、リセット回路RSTからのパワーオンリセット信号をチェックして電源が投入されたか判定する(ステップS81)。そして、電源が投入されたと判定すると、RAMや入出力ポートの初期化を行なって割込み処理を終了する(ステップS82)。
【0181】
一方、ステップS81で“No”すなわち電源投入済みであると判定すると、ステップS83へ移行して、賞球別入賞検出器490の検出信号の計数や排出制御装置600からの賞球数データ要求に対して応答する賞球処理(図41参照)を行なってから、遊技機内の各種スイッチやセンサの信号に基づいて不正がなされていないか調べる不正検出処理(ステップS84)を実行した後、この不正検出処理中で設定されるフラグをチェックして不正があったか否か判定する(ステップS85)。
ステップS85で不正が検出されると、ステップS86で遊技機に設けられている表示器を点滅させたり、スピーカ190を駆動して警報を発するなどの不正動作処理を実行して割込み処理を終了する。ステップS85で不正なしと判定すると、ステップS87へ移行して遊技盤102に設けられている役物を駆動したり表示器を点灯、消灯したり、スピーカにより効果音を発生させるために出力ポートを設定するゲーム処理を行なってから、その出力ポートの状態を出力させる出力処理(ステップS88)を行なう。
【0182】
しかるのち、ステップS89で排出制御装置600から球貸音要求信号を受信しているか判定し、受信していればスピーカー190に対する球貸排出音の出力処理を行なう(ステップS90)。また、次のステップS91では排出制御装置600から賞球音要求信号を受信しているか判定し、受信していれば賞球排出音の出力処理を行なって当該割込み処理を終了する(ステップS92)。
図41には、上記各種処理のうち賞球処理の制御手順の一例が示されている。
この賞球処理では、先ずステップS801,S803で遊技盤102に設けられている2つの賞球別入賞検出器490(以下、賞球判別SW1,SW2と記す)がそれぞれオンされたか判定する。この実施例では、賞球判別SW1は1つの入賞球に対して7個の賞品球を与える入賞口に設けられ、賞球判別SW2は1つの入賞球に対して10個の賞品球を与える入賞口に設けられているものとする。
【0183】
上記ステップS801またはS803で賞球判別SW1またはSW2がオンされたと判定すると、ステップS805またはS807へ移行して7個賞球の入賞記憶または10個賞球の入賞記憶をそれぞれ「1」だけ増加させる。それから、ステップS809へ進んで、シリアルインタフェースSIF内のフラグを調べて、排出制御装置600から賞球数データの要求が入っているか判定し、データの要求がなければ賞球処理を終了する。
一方、ステップS809で“Yes”すなわち賞球数データの要求があると判定すると、ステップS811へ移行して上記ステップS805で加算される7個賞球の入賞記憶が「0」か否か調べ、「1」以上ならステップS813で送信バッファに賞球数データとして「7個排出」を設定し、上記7個賞球の入賞記憶を「1」だけ減算してからステップS821へ移行して上記送信バッファに設定された賞球数データをシリアルインタフェースSIF内のレジスタに書き込んで終了する。
【0184】
また、上記ステップS811で7個賞球の入賞記憶が「0」と判定すると、ステップS815へ進み、上記ステップS807で加算される10個賞球の入賞記憶が「0」か否か調べる。そして、「1」以上ならステップS817で送信バッファに賞球数データとして「10個排出」を設定し、上記10個賞球の入賞記憶を「1」だけ減算してからステップS821へ移行して上記送信バッファに設定された賞球数データをシリアルインタフェースSIF内のレジスタに書き込んで終了する。
さらに、上記ステップS811,S815のいずれの判定でも“Yes”のときはステップS819で送信バッファに賞球数データとして「15個排出」を設定してからステップS821へ移行して上記送信バッファに設定された賞球数データをシリアルインタフェースSIF内のレジスタに書き込んで終了する。
【0185】
次に、カードリーダ250に対する制御信号や残高表示器122の駆動信号およびパチンコ遊技機に設けられた球貸し変換ボタン123からの信号によって上記排出制御装置600に対する球貸し要求信号等を形成して出力する上記球貸し制御装置500の制御手順を図42ないし図51を参照して詳細に説明する。
図42には、上記球貸し制御装置のメインルーチンの概略が示されている。
このメインルーチンは、球貸し制御装置500の電源が投入されると繰返し実行される。
電源が立上がると、先ず、RAMのクリアやフラグの設定、出力バッファのリセット等の初期設定を行なう(ステップS8002)。次のステップS8004では球貸し可能表示器126を一旦消灯状態にさせ、残高表示器122には残高ゼロ(3桁表示の場合には“000”)の表示を行なわせる駆動信号を形成し出力する(ステップS8006)。
それから、次のステップへ進み、球貸し処理(ステップS8008)、返却処理(ステップS8010)、ファンクション送受信処理(ステップS8012)および決済信号出力処理(ステップS8014)の4つの処理を、互いに並行して同時進行的に行なう。
【0186】
図43および図44には、上記メインルーチン(図42)のステップS8008で実行される球貸し処理の具体的手順の一例が示されている。
この処理が開始されると、まず排出制御装置600から送られてくる球貸イネーブル信号Uを調べて信号が立ち下がったか否か判定する(ステップS8102)。そして、“No”すなわち球貸イネーブル信号Uが立ち下がっていないときはステップS8104へ進んで、球貸イネーブル信号Uを調べて信号が立ち上がったか否か判定する。球貸イネーブル信号Uは球貸し制御装置500から排出制御装置600に対して球貸要求信号T(ロウレベル)を送ったことに対する応答として、また排出制御装置600が貯留タンク151内の玉不足または遊技盤の打止め状態が解除されたのを検知した場合に、ロウレベルに変化される信号であり、システムの電源が投入され排出制御装置600の制御が開始されるときには、球貸イネーブル信号Uがハイレベル状態にされる。そのため、球貸し制御装置500がステップS8104でこの信号の立上がりを検知して“Yes”と判定すると、ステップS8106へ移行してカードリーダ制御装置250に対するカード受付可能を知らせるファンクションコードの送信予約をした後、ステップS8102へ戻る。
【0187】
次に、再びステップS8102−S8104と進んでステップS8104で“No”と判定すると、ステップS8108へ進み球貸し可能表示器126が点灯しているか調べる。この球貸し可能表示器126は、後述のファンクション送受信処理(図46,47)において、カードリーダ制御装置250からカード金額を受信したときに点灯されるランプである。従って、カードリーダにカードが挿入される前は、ステップS8108での判定は“No”となってステップS8102へ戻って上記ステップを繰り返す。
そして、カードリーダにカードが挿入され、カードリーダ制御装置250からカード金額が送信されて球貸し可能表示器126が点灯されると、ステップS8108での判定が“Yes”となってステップS8110へ進む。ステップS8110では、上記球貸イネーブル信号Uがハイレベルであるか確認して“Yes”なら次のステップS8112へ移行し、“No”ならステップS8102へ戻る。上述したように、球貸イネーブル信号Uは球貸し制御装置500から排出制御装置600に対して球貸要求信号Tを送ったことに対する応答としてロウレベルに変化される信号であり、球貸イネーブル信号Uがロウレベルであるのは既に球貸し排出処理が開始されていると考えられるからである。
【0188】
一方、ステップS8102で球貸イネーブル信号Uの立下がりを検出すると、ステップS8103へ移行して球貸可能表示器126が点灯中か調べる。そして、点灯していればステップS8105へ進み、球貸可能表示器126を消灯させ磁気書込ファンクション送信予約(ステップS8107)を行なってから、またステップS8103の判定で“No”の時はそのままステップS8109へ進んで、カード受付不能を示す受付不可ファンクションの送信予約を行なってステップS8102へ戻る。排出制御装置600が貯留タンク151内の玉不足または遊技盤の打止め状態が解除されたのを検知した場合にも、球貸イネーブル信号Uがロウレベルに立ち下がるためである。
上記ステップS8110で“Yes”すなわち球貸イネーブル信号Uがハイレベルであると確認すると、ステップS8112へ進み、残高記憶手段542内のカード残高を調べて残高がゼロか否か判定する。ここで、“Yes”なら何もせずにステップS8102へ戻り、“No”すなわち残高がゼロでないときはステップS8116ないしS8122で球貸し数設定手段506に設定されている値を調べる。そして、設定値が「0」のときにはステップS8102へ戻って上記ステップを繰り返す。通常は必ず球貸し数設定手段506が設定された状態で電源が投入される。
【0189】
そして、ステップS8116で500円分の球貸し数が設定されていると判定したときはステップS8124へ移行して、設定金額とカードの残金とを比較して、カードの金額の方が多いか否か判定する。そして、カードの金額の方が多いときにのみ、ステップS8130へ移行して払出回数レジスタを「5」にセットし、カードの金額の方が少ないときにはステップS8125へ進んで、カード残金が400円以上あるか否か判定して“Yes”なら払出回数レジスタの値を「4」にセットする(ステップS8131)。また、ステップS8125で“No”すなわちカード残金が400円未満であると判定されるかステップS8118で300円分の球貸し数が設定されていると判定されると、ステップS8126へ移行してカードの残金が300円以上か判定し、“Yes”ならステップS8132へ移行して払出回数レジスタを「3」にセットする。さらに、ステップS8126で“No”すなわちカード残金が300円未満であると判定されるかステップS8120で200円分の球貸し数が設定されていると判定されると、ステップS8128へ移行してカードの残金が200円以上か判定し、“Yes”ならステップS8134へ移行して払出回数レジスタを「2」にセットする。同様にして、ステップS8128で“No”すなわちカード残金が200円未満であると判定されるかステップS8122で100円分の球貸し数が設定されていると判定されると、ステップS8136へ移行して払出回数レジスタを「1」にセットする。
これによって、球貸し制御装置500の球貸排出回数が「2」(200円分)以上に設定されていてカードリーダに挿入されたカードの残高がその設定金額以下であった場合にも、カードの残金をすべて貸し玉に変換させることができ、カードに端数が残ったまま使用できなくなるのを防止することができる。
【0190】
上記ステップS8130ないしS8136で払出回数をセットした後は、ステップS8138へ進み、球貸し可能表示器126が消灯されているか否か調べ、点灯中であれば、ステップS8140で球貸し中フラグを“1”にセットしてから図44のステップS8142へ移行する。ただし、ステップS8138で球貸し可能表示器126が消灯されていると判定すると、図44のステップS8196へ移行して磁気書込ファンクションとカード排出ファンクションの送信予約(ステップS8197)をし、有効表示ランプを消灯して挿入残高表示器にゼロの表示(ステップS8198、S8199)を行なわせた後、球貸中フラグをクリア(ステップS8188)してから、最初のステップS8102へ戻る。球貸し変換ボタンを押した後直ちに返却ボタンを押せば球貸し排出処理が開始されないようにするためである。図45の返却処理では、球貸し可能表示器126が点灯しているときに返却ボタンがオンされると、球貸し可能表示器126を消灯させてからカードをカードリーダより排出させる指令を与えるようになっている。ステップS8130ないしS8136でセットされた払出回数は、再びカードが挿入され上記ステップへ移行してきたときに書き直される。
【0191】
図44のステップS8142へ移行した場合には、排出制御装置600に対する球貸要求信号Tをロウレベルにアサートしてから、球貸イネーブル信号Uの応答待ちのPRQタイマ(3m秒)をセットする(ステップS8144)。それから、排出制御装置600からの球貸イネーブル信号Uが立ち下がったか判定し、“No”なら上記タイマがタイムアップしたか否か判定する(ステップS8146,S8148)。ここで、PRQタイマがタイムアップする前に球貸イネーブル信号Uが立ち下がると、球貸し処理を保留すべくステップS8192へジャンプして磁気書込ファンクションと受付不可ファンクションの送信予約(ステップSS8194)をしてから、ステップS8140でセットした球貸中フラグを“0”にクリア(ステップS8188)し、最初のステップS8102へ戻る。排出制御装置600では、球貸要求信号Tが入ってから5m秒後に球貸イネーブル信号Uをロウレベルにアサートするようにしているので、3m秒以内に球貸イネーブル信号Uがロウレベルに立ち下がるのは、排出制御装置600が貯留タンク151内の玉不足または遊技盤の打止め状態が解除されたのを検知した場合であると考えられるためである。上記送信予約により図46のファンクション送受信処理が実行される。ただし、この場合、磁気書込ファンクションコードとともにカードリーダに送られるカード残高データは読み込んだときのデータと同一である。
【0192】
一方、ステップS8148で球貸イネーブル信号Uが立ち下がる前にPRQタイマがタイムアップしたと判定すると、ステップS8150へ進み、球貸し排出処理に入ったことを知らしめるべく球貸可能表示器126を消灯する。それから、PRQタイマを例えば3秒にセットする(ステップS8152)。上記タイマがタイムアップしたか判定し、“No”なら上記球貸イネーブル信号Uがロウレベルになっているか否か判定する(ステップS8154,S8156)。ここで、球貸イネーブル信号Uがロウレベルになる前にPRQタイマがタイムアップすると、ステップS8196へジャンプして磁気書込ファンクションとカード排出ファンクションの送信予約(ステップS8198)をしてから、ステップS8140でセットした球貸中フラグを“0”にクリア(ステップS8188)し、最初のステップS8102へ戻る。排出制御装置600は球貸要求信号Tが入ってから5m秒後に球貸イネーブル信号Uをロウレベルにアサートするようになっているので、球貸要求信号Tが立ち下げてから3秒以上経過しても球貸イネーブル信号Uがロウレベルにならないのは、排出装置の側に異常があると考えられるためである。
【0193】
ステップS8154でPRQタイマがタイムアップする前に球貸イネーブル信号Uがロウレベルになったと判定すると、ステップS8158へ進んで排出タイマ(3秒)をセットする。
それから、上記タイマがタイムアップしたか判定し(ステップS8160)、“No”ならステップS8162で返却ボタンがオンされているか判定し、オンならステップS8130,S8132,S8134でセットした払出回数を「1」に変更(ステップS8164)してから、またオフならそのままステップS8166へ移行して払出完了信号Vが立ち上がったか否か判定する(ステップS8166)。通常3秒あれば排出は終了するので、3秒経過しても払出完了信号Vが立ち上がらないのは、排出装置の側に異常があると考えられるためである。また、返却ボタンがオンされている場合に払出回数を「1」に変更しているのは、一旦球貸し変換ボタンを操作した後で誤操作に気がついたり気が変わったような場合に返却ボタンを操作すれば途中で球貸し排出処理を中断させることができるようにするためである。ただし、既に処理が開始されているので、1回すなわち100円分の貸し玉の排出は実行されるようにするため、払出回数を「0」でなく「1」に変更するようにしている。
【0194】
払出完了信号Vが立ち上がる前に上記排出タイマがタイムアップすると、ステップS8192へジャンプして磁気書込ファンクションと受付不可ファンクションの送信予約(ステップS8194)をしてから、ステップS8140でセットした球貸中フラグを“0”にクリア(ステップS8188)し、最初のステップS8102へ戻る。
上記排出タイマがタイムアップする前に払出完了信号Vが立ち上がると、ステップS8168ヘ進み、カード残高(度数)および払出回数を「1」だけ減らし、カード管理装置800に対する決済信号j(パルス)の出力カウンタを「1」だけ増加させる(ステップS8170,S8172)。それから、ステップS8174へ進んで払出回数が「0」になったか否か判定し、“No”なら上記ステップS8158へ戻って上記手順を繰り返し、“Yes”すなわち払出回数が「0」のときはステップS8176へ移行する。ステップS8176では球貸要求信号Tをハイレベルにネゲートしてから、次のステップでPRQタイマを3秒にセットする(ステップS8178)。
【0195】
それから、上記タイマがタイムアップしたか判定し、“No”なら上記球貸イネーブル信号Uがハイレベルになっているか否か判定する(ステップS8180,S8182)。ここで、球貸イネーブル信号Uがロウレベルになる前にPRQタイマがタイムアップすると、ステップS8196へジャンプして磁気書込ファンクションとカード排出ファンクションの送信予約(ステップS8197)をし、有効表示ランプを消灯して挿入残高表示器にゼロの表示(ステップS8198、S8199)を行なわせてから、ステップS8140でセットした球貸中フラグを“0”にクリア(ステップS8188)し、最初のステップS8102へ戻る。球貸要求信号Tを立ち上げてから3秒以上経過しても球貸イネーブル信号Uがハイレベルにならないのは、排出装置の側に異常があると考えられるためである。
【0196】
ステップS8182でPRQタイマがタイムアップする前に球貸イネーブル信号Uがハイレベルになったと判定すると、ステップS8184へ進んでカード残高が「0」か否か判定する。そして、カード残高が「0」ならステップS8196へジャンプして磁気書込ファンクションとカード排出ファンクションの送信予約(ステップS8197)をしてから、有効表示ランプを消灯して挿入残高表示器にゼロの表示(ステップS8198、S8199)を行なわせた後、ステップS8140でセットした球貸中フラグを“0”にクリア(ステップS8188)し、最初のステップS8102へ戻る。これによって、遊技中、カードをカードリーダ内に保持させておいても、カード残高が「0」になると自動的にカードがカードリーダより排出され、遊技者はカード残高が「0」になったことを速やかに知ることができる。また、磁気書込ファンクションの送信予約の際には、メモリの送信データエリア内に書込みファンクションコードとともにカード残高データをテキストとして入れておく。
一方、上記ステップS8184でカード残高が「0」でないと判定すると、ステップS8186へ進んで、球貸排出処理が終了し次の球貸し変換ボタンの操作が可能であることを表示すべく球貸可能表示器126を点灯させてからステップS8188へ進み、ステップS8140でセットした球貸中フラグをゼロにクリアしてから最初のステップS8102へ戻る。
【0197】
図45には、上記メインルーチン(図42)のステップS8010で実行されるカードの返却処理の具体的手順の一例が示されている。
この処理が開始されると、まず返却ボタン124がオンされているか判定し(ステップS8202)、“Yes”ならステップS8204へ進んで球貸可能表示器126が点灯されているか調べる。この球貸可能表示器126はカードがカードリーダに挿入され、球貸し変換ボタン123が有効な場合に点灯されるランプであり、ステップS8204で“Yes”すなわちランプ点灯と判定すると、ステップS8206へ進み、この球貸可能表示器126を消灯させてから、磁気書込ファンクション送信予約およびカードの排出ファンクション送信予約をし、有効表示ランプを消灯して挿入残高表示器にゼロの表示(ステップS8212、S8214)を行なった後、上記ステップS8202へ戻って次に返却ボタンがオンされるのを待つ。このファンクションをカードリーダが受信することによって、カードリーダ内からカードが排出される。しかる後、有効表示ランプ230を消灯させ、挿入残高表示器220の表示(3けた)を「000」に変更する(ステップS8212,S8214)。
【0198】
一方、球貸可能表示器126が消灯されているときに返却ボタンがオンされると、上記ステップS8204からステップS8216へ移行して、球貸処理(図43)のステップS8140でセットされる球貸中フラグをチェックして球貸処理中か否か判定する。そして、球貸中でなければ何もせずステップS8202へ戻る。球貸可能表示器126が消灯されているのは球貸し中若しくはカードがカードリーダ内に存在しないということであるので、返却ボタンがオンされてもカードの返却をカードリーダに指令する必要がないからである。
上記ステップS8216で“Yes”すなわち球貸中と判定すると、ステップS8218へ進んで、同じく球貸フラグを調べて球貸処理が終了したか判定する。そして、この球貸フラグが“0”になるまでこのステップを繰り返し、球貸処理が終了した時点でステップS8220へ移行して、カード残高が“0”か否か判定する。ここで、カード残高が“0”でないときは上記ステップS8206へ移行してこの球貸可能表示器126を消灯させてから、磁気書込ファンクション送信予約およびカードの排出ファンクション送信予約等を行なった後、上記ステップS8202へ戻って次に返却ボタンがオンされるのを待つ。
ステップS8220でカード残高が“0”と判定すると何もせずにステップS8202へ戻って次の返却ボタンの操作を待つ。カード残高が“0”になると、前述した球貸処理のステップS8196,S8198(図44)で磁気書込ファンクションおよび排出ファンクションの送信予約がなされ、それを受けてカードリーダ内からカードが排出されるからである。
【0199】
図46および図47には、上記メインルーチン(図42)のステップS8012で実行されるカードリーダ制御装置250との間のファンクション送受信処理の具体的手順の一例が示されている。
なお、送受信されるファンクションは、ファンクションコードの先頭にSTXコードがまた終端にETXコードが付加されたデータ形式で送信される。ファンクションコード以外にも送受信される信号として、ENQコード(送信の問合せ)とACKコード(肯定応答)とがあるが、これらは先頭のSTXコードも終端のETXコードも付加せずにコード単独で送信される。ENQコード、ACKコードおよびSTXコードが送信されると、それぞれ割込みが発生し後述の送信割込み処理(図50)が実行される。
【0200】
このファンクション送受信処理が開始されると、まずステップS8300で上記球貸処理(図43,44)またはカード返却処理(図45)によるファンクション送信予約が設定がなされているか否か判定する。そして、送信予約がなければステップS8350へ移行して、後述の受信割込み処理(図51)で設定されるENQ受信フラグを調べて、カードリーダ制御装置250からENQ(問合せコード)が入ってきているか判定する。
上記ステップS8300で“送信予約有”と判定すると、ステップS8302へ移行して、再送信回数を3回にセットしてからENQコードを送信する(ステップS8304)。この送信によって送信割込みが発生して後述の送信割込み処理が開始される。それから、ステップS8306で応答タイマを10秒にセットした後、ステップS9308でこの応答タイマがタイムアップしたか判定し、“No”のときは受信割込み処理(図51)でセットされるACK受信フラグをみてACK(応答コード)を受信したか判定する(ステップS8310)。そして、ACKを受信する前に応答タイマがタイムアップしたときは、ステップS8312へ移行してステップS8302でセットした再送信回数を「1」だけ減算してから、再送信回数が「0」になったか否か判定し(ステップS8314)、「0」でないときは上記ステップS8304へ戻ってENQコードの再送信を行なう。
【0201】
一方、応答タイマがタイムアップする前にACKを受信したときは、ステップS8316へ進んでACK受信フラグを“0”にクリアし、かつ送信データの先頭を示すSTXコードを送信する。この送信によって送信割込みが発生して後述の送信割込み処理が開始され、ファンクションコードやデータが送信される。また、ステップS8318で応答タイマを10秒にセットした後、ステップS8320でこの応答タイマがタイムアップしたか判定し、“No”のときは受信割込み処理(図51)でセットされるENQ受信フラグをみてENQを受信したか判定する(ステップS8322)。このENQはカードリーダ制御装置250から球貸し制御装置500に対して受信結果を送っても良いかの問合せであるので、球貸し制御装置500は、応答タイマがタイムアップする前にENQを受信したときはステップS8324へ進み、ENQ受信フラグを“0”にクリアし、かつACKコードを送信する。ENQを受信する前に応答タイマがタイムアップしたときは、テキスト送信に対する受信結果の応答がなかったことになるので、通信異常があったと判定してステップS8340へ移行して通信異常を示すエラーコードを表示データバッファへ書き込んで、ステップS8344でそのコードを残高表示器122に表示させて制御動作を停止する。
【0202】
ステップS8324でACKを送信した後は、再び応答タイマを10秒にセット(ステップS8326)した後、ステップS8328でこの応答タイマがタイムアップしたか判定し、“No”のときは受信割込み処理(図51)でセットされるFNC受信フラグをみて受信結果の内容を示すファンクションを受信したか判定する(ステップS8330)。そして、ファンクションを受信する前に応答タイマがタイムアップしたときは、ACK送信に対する応答がなかったことになるので、通信異常があったと判定してステップS8340へ移行して通信異常を示すエラーコードを表示データバッファへ書き込んで、ステップS8344でそのコードを残高表示器122に表示させて制御動作を停止する。
【0203】
応答タイマがタイムアップする前にファンクションを受信したときは、ステップS8332へ進んでFNC受信フラグを“0”にクリアした後、受信したファンクションの内容が、「再送要求」か、「異常終了」か、「正常終了」かを判定する(ステップS8334,S8336,S8338)。このうち異常終了は、通信そのものには異常はなかったがカードリーダにおける書込み不良等の異常があった場合に送られてくる。
そこで、受信したファンクションが再送要求であったときは上記ステップS8302へ戻って送信のやりなおしを行ない、異常終了のときはステップS8342へ移行してカードリーダ異常を示すエラーコードを表示データバッファへ書き込んで、ステップS8344でそのコードを残高表示器122に表示させて制御動作を停止する。また、正常終了であれば、一連の送信処理が終了したものとしてステップS8300へ戻り、次の送信予約に対する処理を行ない、正常終了でないときはステップS8318へ戻って受信結果のファンクションコードの再受信を行なう。
【0204】
一方、ステップS8300で“送信予約なし”と判定すると、図47のステップS8350へ移行して、受信割込み処理(図51)でセットされるENQ受信フラグをみて、カードリーダ制御装置250からのENQを受信したか判定する。そして、ENQを受信していればステップS8351へ移行してこのENQ受信フラグをリセットしてからステップS8352へ進み、ACKコードを送信した後、応答タイマを10秒にセットする(ステップS8354)。このACKの送信によって送信割込みが発生して後述の送信割込み処理(図50)が実行される。そこで、ステップS8356でこの応答タイマがタイムアップしたか判定し、“No”のときは受信割込み処理(図51)でセットされるFNC受信フラグをみて受信結果の内容を示すファンクションを受信したか判定する(ステップS8358)。そして、ファンクションを受信する前に応答タイマがタイムアップしたときは、ACK送信に対する応答がなかったことになるので、通信異常があったと判定して図46のステップS8340へ移行して通信異常を示すエラーコードを表示データバッファへ書き込んで、ステップS8344でそのコードを残高表示器122に表示させて制御動作を停止する。
【0205】
応答タイマがタイムアップする前にファンクションを受信したときは、ステップS8360へ進んでFNC受信フラグを“0”にクリアした後、受信したファンクションがカードデータ送信ファンクションか否かを判定する(ステップS8361)。そして、判定結果が“No”なら何もせずにステップS8300へ戻り、“Yes”ならステップS8362へ移行してカード残高が「0」か否か判定する。そして、カード残高が「0」でなければステップS8364へ進んで球貸可能表示器126を点灯させ、受信バッファの内容(残高データ)をカード残高記憶部へ書き込む(ステップS8366)。それから、有効表示ランプ230を点灯させ、受信したカード残高を挿入残高記憶部に格納しかつそれを挿入残高表示器220に表示させて受信処理を終了する(ステップS8368,S8370)。
一方、ステップS8362の判定結果が“Yes”すなわちカード残高が「0」のときは、ステップS8372へ移行してカードリーダに対するカード排出ファンクション予約を行なって処理を終了する。
【0206】
図48には、上記メインルーチン(図42)のステップS8014で実行される決済信号出力処理の具体的手順の一例が示されている。
この処理が開始されると、まず図44の球貸処理中のステップS8172でカウントアップする決済信号数カウンタを調べて決済信号数が“0”か否か判定する(ステップS8402)。ここで“No”すなわち決済信号数が1以上であると判定すると、ステップS8404へ進んでオン時間タイマを200m秒に設定し、決済信号jをハイレベルにアサートしてから、そのタイマがタイムアップするのを待つ(ステップS8406,S8408)。それから、ステップS8410へ移行してオフ時間タイマを200m秒に設定し、決済信号jをロウレベルにネゲートしてから、そのタイマがタイムアップするのを待つ(ステップS8412,S8414)。
その後、ステップS8416で上記決済信号数カウンタを「1」だけ減らしてステップS8402へ戻り、決済信号数カウンタが「0」になるまで、決済信号パルスを出力させる。これによって、パルス幅200m秒の決済信号jが出力される。また、パルスを「2」以上出力させる場合にも、パルスとパルスの間隔が200m秒に設定され、これを受信するカード管理装置800が確実に決済信号パルスを計数することができる。
【0207】
図49には、上記メインルーチン(図42)とは別個に球貸制御装置500がタイマ割込みにより、例えば1m秒ごとに実行するタイマ割込み処理の具体的手順の一例が示されている。
このタイマ割込み処理では、カード残高記憶部から残高データを読み出して残高表示器122の表示信号を形成して出力し、カード残高を表示させ(ステップS8502)、上記メインルーチン中で使用されている各タイマを「−1」して終了する(ステップS8504)。
【0208】
図50および図51には、上記メインルーチン(図42)とは別個に球貸制御装置500によって実行される送信割込み処理および受信割込み処理の具体的手順の一例が示されている。
このうち、送信割込みは、上記メインルーチンの球貸処理(図44参照)やファンクション送受信処理(図46参照)中において、ENQコード,STXコードまたはACKコードを送信することによって発生されるようになっている。この送信割込みが開始されると、ステップS8602,S8604,S8606で、送信バッファを見て送信されたコードがいずれのコードか判定する。ここで、送信されたコードがENQ,ACKまたはETX(テキストデータの終端を示すコード)のいずれかであれば何もせずに割込みを終了する。
【0209】
一方、上記判定ですべて“No”となると送信バッファに入っていたコードはSTXコード、ファンクションコードまたはテキストデータであり、これらには続きのコードがある。そこで、その場合にはステップS8608へ進んでメモリの送信データエリア内の次の8ビットのコードを送信バッファへ転送してから、メモリの送信データエリアのアドレスをインクリメントして、送信バッファに入っているコードを送信して終了する(ステップS8610,S8612)。この送信によって再び送信割込みが発生するので、送信したコードが上記ENQ,ACKまたはETX以外のときは続きのコードがあるので、ステップS8608でメモリの送信データエリア内の次の8ビットのコードを送信バッファへ転送してから、メモリの送信データエリアのアドレスをインクリメントして送信バッファに入っているコードを送信する手順を繰り返しすべてのコードを送信する。
【0210】
図51の受信割込みは、カードリーダ制御装置250からの送信が入ってくることによって発生する。
この受信割込みが開始されると、ステップS8652,S8654で受信したコードがENQコードまたはACKコードであるか判定する。そして、受信したコードがENQコードであればステップS8656へ移行してENQ受信フラグを“1”にセットし、ACKコードであればステップS8658でACK受信フラグを“1”にセットして割込み処理を終了する。上記ENQ受信フラグおよびACK受信フラグは、前記ファンクション送受信処理フロー中で参照される。
【0211】
一方、受信したコードがENQコードまたはACKコードのいずれでもない場合には、ステップS8660へ進んで受信したコードを受信バッファからメモリへセーブしてから、受信バッファアドレスを更新する(ステップS8662)。続きの受信コードが受信バッファに残っていれば再び受信割込みがかかるので、上記ルーチンを繰り返すことで受信コードがすべてメモリにセーブされる。次に、受信したコードがETXコードか否か判定し(ステップS8664)、“No”なら何もせずに本ルーチンを終了する。一方、ステップS8664でETXコードを受信したと判定すると、ステップS8666へ進んで受信したファンクションコードの長さが正常であったか調べる。ここで、“Yes”ならステップS8668へ進んでファンクション受信フラグを“1”にセットして割込み処理を終了し、“No”ならステップS8670へ移行して再送要求ファンクション送信予約をして割込み処理を終了する。
【0212】
次に、球貸機200にカードが挿入され、パチンコ遊技機100に設けられた球貸し変換ボタン123が押されて球貸し要求がなされた場合において、上記球貸し制御装置500と排出制御装置600との間で送受信される信号の具体的なタイミングを図52を用いて説明する。
球貸し変換ボタン123が押されると、球貸し制御装置500がこれを検知して変換要求信号Y(パルス)を球貸し制御装置500へ送る(タイミングt1)。すると、球貸し制御装置500がこれを検知して、排出制御装置600に対する球貸し要求信号T(BRQ)をロウレベルにアサートする(タイミングt2)。球貸し要求信号T(BRQ)を受信した排出制御装置600は、球排出装置170が排出可能な状態にあれば、排出ソレノイド741a,741bの駆動信号および貸し玉排出表示ランプ113の駆動信号を出力すると共に、遊技盤制御装置400に対して貸し玉排出音要求信号E(パルス)を送信し、かつ球貸し制御装置500に対して供給される球貸しイネーブル信号U(PRQ)をロウレベルにアサートする(タイミングt3)。
【0213】
そして、排出制御装置600は、排出センサ730a,730bから検出信号を監視して排出数が25個(100円分)になった時点で排出ソレノイド741a,741bの駆動信号および貸し玉排出表示ランプ113の駆動信号をオフさせるとともに、球貸し制御装置500に対して払出完了信号V(パルス)を、またホールの管理装置700に対して決済信号Jを送信する(タイミングt4)。球貸し制御装置500は、払出完了信号Vを受信するとカード残高の減算を行ない、残高がゼロでなく所定数の排出も終わっていないと判断すると、上記球貸し要求信号Tをそのままロウレベルにアサートさせておく(タイミングt5)。すると、排出制御装置600は、再び排出ソレノイド741a,741bの駆動信号および貸し玉排出表示ランプ113の駆動信号を出力すると共に、遊技盤制御装置400に対して貸し玉排出音要求信号E(パルス)を送信する(タイミングt6)。
【0214】
そして、排出数が25個(100円分)になった時点で排出ソレノイド741a,741bの駆動信号および貸し玉排出表示ランプ113の駆動信号をオフさせるとともに、球貸し制御装置500に対して払出完了信号V(パルス)を、またホールの管理装置700に対して決済信号Jを送信する(タイミングt7)。球貸し制御装置500は、所定数の排出が終わったと判断すると、球貸し要求信号Tをハイレベルにネゲートする(タイミングt8)。すると、排出制御装置600は球貸し制御装置500に対して供給される球貸しイネーブル信号Uをハイレベルにネゲートして球貸し排出処理を終了する。
なお、上記実施例では、入賞球分離検出装置180内のセーフセンサ181の検出信号を排出制御装置600に入力して、排出制御装置600が入賞球を検出すると遊技盤制御装置400に対して賞球数データの要求を行なって受信した賞球数データに基づいて賞品球の排出を行なうようにしているが、この発明はそれに限定されず、例えばセーフセンサ181の検出信号を遊技盤制御装置400に入力して、遊技盤制御装置400が入賞球を検出すると排出制御装置600に対して賞球数データを送信し、賞品球の排出を行なわせるようにすることも可能である。
【0215】
また、上記実施例では、賞球数が「7」,「10」,「15」の3種類である場合を例にとって説明したが、これに限定されるものでなく賞球数記憶手段430内に設定しておく賞球数を変えるだけで任意の数の賞品球を排出させることができる。さらに、賞球数の種類も3つに限定されず、2種類あるいは4種類以上に対応できるように構成することも可能である。
さらに上記実施例では、球貸し変換ボタン123や返却ボタン124、残高表示器122等が供給皿120の上面の操作パネル121に設けられているが、これらの位置は供給皿に限定されず、パチンコ遊技機の前面の任意の位置あるいは球貸機200の前面に設けることができる。
また、実施例では遊技機と遊技機との間に配置された球貸機にカードリーダが内蔵されているが、カードリーダはパチンコ遊技機100の受け皿140の一側等に配設して遊技機に内蔵させておくようにしても良い。
【0216】
【発明の効果】
請求項1に係わる発明によれば、遊技機と球貸機が一対一で構成され、遊技機の前面側所定部位に配設された球貸ボタンを操作すると、排出制御回路に対して、球貸制御回路から貸し球の排出に関わる排出制御信号が送信され、該排出制御回路により遊技機の球排出装置が制御され該球貸し操作に基づく貸し球が遊技機側において排出されるので、遊技者の近傍において簡単に球貸ボタンを操作することができ、しかも借り受けた貸し球は遊技機側に直接排出され、従来のような貸し球を球貸機から移し替えるといった煩わしい作業も必要なくなり、遊技に集中することができるという効果がある。
そして、球貸制御回路は、球貸ボタンの1回の操作に対して有価データから貸し球に変換される変換有価データ量を最小変換単位の整数倍で複数設定された内の何れかに選択して設定変更するための設定手段を含むので、遊枝店の所望する変換有価データ量に設定変更することができるという効果がある。
また、上記排出制御信号の送信に基づいて上記タイマ手段が計測を開始して、上記タイマ手段の計測する第1設定時間に満たない時間内に上記排出制御回路から上記排出制御信号に対する応答信号を検出した場合には、上記遊技機が異常状態であると判定すると共に、上記第1設定時間の経過後、第2設定時間内に上記排出制御回路から上記排出制御信号に対する応答信号を検出しない場合には、上記遊技機が異常状態であると判定するので、貸し球の払い出し時に貯留タンクの玉不足等遊技機が異常な状態になっていて正確な払い出しが行なえないのに貸し球への変換要求を受け付けたり、払い出しを行なっていないのに貸し球への変換要求した分のカードの有価データを減算してしまうという不具合を回避することができるという効果がある。
更に、球貸ボタンが操作された際に、球貸機のカード処理装置に挿入されたカードの保有する有価データが設定手段により設定された変換有価データ量を満たす場合には、該カードの保有する有価データのうち変換有価データ量に対応した数の貸し球を排出させるための排出制御信号が球貸制御回路から排出制御回路に所定数の球の排出完了までそのままアサートさせ送信され、一方、カードの保有する有価データが設定手段により設定された変換有価データ量に満たない場合には、該カードの保有する有価データの残り分全てに対応した数の貸し球を排出させるための排出制御信号が球貸制御回路から排出制御回路に所定数の球の排出完了までそのままアサートさせ送信されるので、カードの保有する有価データの残度に端数が出てしまっても貸し球へ変換することができなくなってしまうことを防止できる。特に、設定手段により変換有価データ量を変更できるように装置を構成するとカードの保有する有価データの残度に端数が出る可能性が多くなるのでより有効となる。
また、請求項2に係る発明によれば、排出制御回路は、連続球貸しカウンタが所定値を超えた場合に、連続球貸しを抑制するので、不測の事態の発生を抑えることができる。
【図面の簡単な説明】
【図1】本発明に係るカード式パチンコ遊技機の一構成例を示す斜視図である。
【図2】本発明に係るパチンコ遊技機の裏機構の構成例を示す背面図である。
【図3】球排出装置170の一実施例を示す断面正面図である。
【図4】パチンコ遊技機100および球貸機200の制御系の一実施例を示すブロック図である。
【図5】遊技盤制御装置400の一構成例を示すブロック図である。
【図6】遊技盤制御装置400の具体的構成例を示すシステム構成図である。
【図7】排出制御装置600の一構成例を示すブロック図である。
【図8】球貸制御装置500の一構成例を示すブロック図である。
【図9】球貸制御装置500を構成するカード制御手段の一構成例を示すブロック図である。
【図10】排出制御装置600によるバックグランド制御処理のメインルーチンの一例を示すフローチャートである。
【図11】排出制御装置600によって所定時間(例えば0.5msec)経過毎に行なわれるタイマ割込処理の手順の一例を示すフローチャートである。
【図12】排出センサ1の入力処理ルーチンのフローチャートである。
【図13】排出センサ2の入力処理ルーチンのフローチャートである。
【図14】排出センサ1のレベル入力処理のルーチンを示すフローチャートである。
【図15】排出センサ2のレベル入力処理のルーチンを示すフローチャートである。
【図16】球抜センサ750の入力処理ルーチンのフローチャートである。
【図17】待機球検出器160(半端センサ)の入力処理のルーチンを示すフローチャートである。
【図18】セーフセンサ181の入力処理のルーチンを示すフローチャートである。
【図19】球貸要求信号の検出処理のルーチンを示すフローチャートである。
【図20】排出制御装置600によって行なわれる停電割込み処理の具体的手順の一例を示すフローチャートである。
【図21】図10のメイン処理フロー中で行なわれる排出装置不正監視処理S3の具体的手順の一例を示すフローチャートである。
【図22】排出装置不正解除処理S14の具体的手順の一例を示すフローチャートである。
【図23】賞球排出制御装置のメインルーチン(図10)のステップS19で実行される賞球開始処理のサブルーチンを示すフローチャートである。
【図24】上記賞球開始処理(図23)のステップS90で実行される排出開始処理のサブルーチンを示すフローチャートである。
【図25】上記排出開始処理(図23)のステップS124にて実行される排出数分割処理のサブルーチンを示すフローチャートである。
【図26】賞球排出制御装置側のCPU610によって実行されるメインルーチン(図10)のステップS18において実行される賞球排出処理のサブルーチンを示すフローチャートである。
【図27】上記賞球排出処理(図26)のステップS204にて行われる排出処理のサブルーチンを示すフローチャートである。
【図28】上記排出処理(図27)のステップS232にて行われる1個排出処理のサブルーチンを示すフローチャートである。
【図29】上記排出処理(図27)のステップS234にて行われる交互排出処理のサブルーチンを示すフローチャートである。
【図30】上記排出処理(図27)のステップS236にて行われる併用排出処理のサブルーチンを示すフローチャートである。
【図31】上記排出処理(図27)のステップS252にて行われる排出エラー回復処理のサブルーチンを示すフローチャートである。
【図32】賞球排出制御装置によって実行されるメインルーチン(図10)のステップS21において実行される球貸開始処理のサブルーチンの一部を示すフローチャートである。
【図33】賞球排出制御装置によって実行されるメインルーチン(図10)のステップS17において実行される球貸排出処理のサブルーチンの一部を示すフローチャートである。
【図34】賞球排出制御装置によって実行されるメインルーチン(図10)のステップS16において実行される玉抜処理のサブルーチンの一部を示すフローチャートである。
【図35】賞球排出制御装置によって実行されるメインルーチン(図10)のステップS16において実行される玉抜処理のサブルーチンの一部を示すフローチャートである。
【図36】賞球排出制御装置によって実行されるメインルーチン(図10)のステップS16において実行される玉抜処理のサブルーチンの後半を示すフローチャートである。
【図37】図10のメイン処理フロー中のステップS15で行なわれる停電回復処理の具体的手順の一例を示すフローチャートである。
【図38】賞球排出制御装置によって実行されるメインルーチン(図10)のステップS23おいて実行される音要求処理のルーチンを示すフローチャートである。
【図39】賞球排出制御装置によって実行されるメインルーチン(図10)のステップS24おいて実行される球貸情報出力処理のルーチンを示すフローチャートである。
【図40】遊技盤制御装置400によって行なわれる遊技盤全体の制御手順の一例を示すフローチャートである。
【図41】図40のフロー中における賞球処理の制御手順の一例を示すフローチャートである。
【図42】球貸し制御装置のメインルーチンの概略を示すフローチャートである。
【図43】上記メインルーチン(図42)のステップS8008で実行される球貸処理の具体的手順の一部(前半)を示すフローチャートである。
【図44】上記メインルーチン(図42)のステップS8008で実行される球貸処理の具体的手順の一部(後半)を示すフローチャートである。
【図45】上記メインルーチン(図42)のステップS8010で実行されるカードの返却処理の具体的手順の一部を示すフローチャートである。
【図46】上記メインルーチン(図42)のステップS8012で実行されるファンクション送受信処理の具体的手順の一部(前半)を示すフローチャートである。
【図47】上記メインルーチン(図42)のステップS8012で実行されるファンクション送受信処理の具体的手順の一部(後半)を示すフローチャートである。
【図48】上記メインルーチン(図42)のステップS8014で実行される決済信号出力処理の具体的手順の一例を示すフローチャートである。
【図49】図42のメインルーチン(バックグランド処理)に優先して球貸し制御装置500によって所定時間(例えば1msec)経過毎に行なわれるタイマ割込処理の手順を示すフローチャートである。
【図50】図42のメインルーチン(バックグランド処理)に優先して球貸し制御装置500によって行なわれる送信割込処理の手順を示すフローチャートである。
【図51】図42のメインルーチン(バックグランド処理)に優先して球貸し制御装置500によって行なわれる受信割込処理の手順を示すフローチャートである。
【図52】上記球貸し制御装置500と排出制御装置600との間で送受信される信号の具体的なタイミングを示すタイムチャートである。
【符号の説明】
100 パチンコ遊技機
120 供給皿
122 残高表示器
123 球貸し変換ボタン
170 球排出装置
180 入賞球分離排出装置
200 球貸し機
211 カード挿排口
220 挿入残高表示器
230 有効表示ランプ
400 遊技盤制御装置
500 球貸し制御装置
600 排出制御装置
800 カード管理装置[0001]
[Industrial application fields]
The present inventionIt consists of a gaming machine equipped with a ball discharge device and a ball lending machine with a built-in card processing device that can read card data,A card-type pachinko game that allows you to borrow a rental ball based on valuable data held by the card and play games accordinglyapparatusAbout.
[0002]
[Prior art]
Traditionally,As a gaming machine that launches a ball and plays a game, for example, there is a pachinko gaming machine.
In conventional pachinko machines, in general, coins are thrown into a ball lending machine and borrowed balls are borrowed, and the borrowed balls are put in a supply tray of the pachinko machine to play a game.
[0003]
In recent years, a card-type pachinko gaming machine has been proposed in which a rental ball is borrowed based on the amount information recorded on the card instead of coins.
[0005]
[Problems to be solved by the invention]
By the way, in the conventional card type thing, it is composed of a pachinko gaming machine and a card unit adjacent to the pachinko gaming machine, and the ball discharging device and the lending balls from the ball discharging device are discharged to this card unit. An operation part for performing a desired operation related to the discharge port and the card is provided. Therefore, when a player plays a game, after inserting the card into the card unit, it is necessary to reach out to the operation unit arranged in the card unit to perform the lending ball operation, and the operability is bad. In addition, there is a need for troublesome work such as receiving the lending balls discharged from the discharge port by the operation and transferring them to the supply tray of the pachinko gaming machine. Furthermore, since the rental ball must be operated every time the ball is lost during the game, there is a problem that the rental ball operation and the transfer of the rental ball are troublesome and the player cannot concentrate on the game.
Further, in addition to the ball discharging device for discharging the prize balls disposed in the pachinko gaming machine, the card unit has a wasteful configuration in which another ball discharging device is provided for discharging the rental balls.
[0006]
Furthermore, conventionally, when borrowing a rental ball by inserting the card into the card unit, 1 Amount converted from card amount information by lending operation ( unit ) Is fixed in advance, the conversion amount desired by the game store cannot be changed, and the game store or player may be dissatisfied.
[0007]
The present invention has been made to solve the above-mentioned problems, and can discharge a rental ball with a simpler configuration, and can borrow a rental ball by a simple operation while concentrating on the game. The amount of conversion from valuable data (amount information) held by the card to the rental ball can be changed according to the amusement store's wishes, as well as to cope with unexpected situations, and in addition, the amount of conversion Card type pachinko game that can convert all valuable data held by the card regardless of the setting of the cardapparatusThe purpose is to provide.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the present invention includes a ball discharge device (170) capable of discharging a required number of balls based on a required discharge command.Game machine(For example, a pachinko gaming machine 100) and a ball lending machine (200) incorporating a card processing device (for example, a card reader) that can read card data are configured in a one-to-one manner, andGame machineA predetermined number of lent balls from within the range of valuable data held by the card inserted into the card processing device based on the operation of a sphere lending button (for example, sphere lending conversion button 123) arranged at a predetermined portion on the front side of the card TheGame machineCard type pachinko game designed to be discharged from the ball discharge deviceapparatusAnd aboveGame machineA discharge control circuit (for example, a discharge control device 600) that controls the discharge of the ball discharge device provided in the game, and controls the game board, and also indicates the number of prize balls to be discharged to the discharge control circuit A game board control circuit (for example, game board control device 400) that transmits numerical data, and a discharge control signal related to the discharge of the lending ball to the discharge control circuit based on the operation of the ball lending button(Ball lending request signal T)A ball lending control circuit (for example, a ball lending control device 500) capable of transmitting the ball lending control circuit, wherein the ball lending control circuit converts a valuable data into a lending ball for one operation of the ball lending button. Setting means for selecting and changing the setting of the valuable data amount to any one of a plurality of values set as an integral multiple of the minimum conversion unit (for example, the lending number setting means 506)And timer meansThe discharge control circuit isA response signal to the ball lending control circuit as a response to the discharge control signal, andWhen the discharge control signal is detected, when the discharge of the lending ball of the minimum conversion unit is completed, a payout completion signal is transmitted to the ball lending control circuit.The timer means starts measuring based on the transmission of the discharge control signal, and a response signal to the discharge control signal is detected from the discharge control circuit within a time that is less than the first set time measured by the timer means. In the case where it is determined that the gaming machine is in an abnormal state and a response signal to the discharge control signal is not detected from the discharge control circuit within the second set time after the first set time has elapsed. Configured to determine that the gaming machine is in an abnormal state;If the valuable data held by the card inserted into the card processing device satisfies the converted valuable data amount set by the setting means when the ball lending button is operated, the valuable data held by the card Among them, a discharge control signal for discharging the number of rental balls corresponding to the amount of converted valuable data is asserted as it is until the discharge of a predetermined number of balls is completed and transmitted to the discharge control circuit, while the valuable data held by the card is the above If the conversion valuable data amount set by the setting means is not reached, a discharge control signal for discharging the number of rental balls corresponding to all the remaining valuable data held by the card is discharged. Asserted until completion and sent to the discharge control circuit.
[0009]
[Action]
According to the above means,Game machineAnd ball lending machineGame machineWhen a ball lending button disposed at a predetermined part on the front side of the ball is operated, a discharge control signal relating to the discharge of the lending ball is transmitted from the ball lending control circuit to the discharge control circuit, and the discharge control circuitGame machineThe ball discharge device is controlled and the rental ball based on the ball rental operation isGame machineSince it is discharged at the side, you can easily operate the ball lending button in the vicinity of the player,Game machineThis eliminates the need for troublesome work such as transferring the lending balls from the ball lending machine.
Then, the ball lending control circuit selects one of a plurality of conversion valuable data amounts to be converted from valuable data to lending balls for one operation of the ball lending button by an integral multiple of the minimum conversion unit. Thus, since the setting means for changing the setting is included, the setting can be changed to the amount of conversion valuable data desired by the Yueda store.
The timer means starts measuring based on the transmission of the discharge control signal, and a response signal to the discharge control signal is sent from the discharge control circuit within a time that is less than the first set time measured by the timer means. When detected, the gaming machine is determined to be in an abnormal state, and a response signal to the discharge control signal is not detected from the discharge control circuit within the second set time after the first set time has elapsed. Therefore, it is determined that the above gaming machine is in an abnormal state, so that when a rental ball is paid out, the gaming machine is in an abnormal state, such as a shortage of balls in the storage tank, and an accurate payout cannot be made. It is possible to avoid the problem of subtracting the valuable data of the card for which the conversion to the rental ball has been requested even though the request is not received or paid out.
Further, when the valuable data held by the card inserted into the card processing device of the ball lending machine satisfies the converted valuable data amount set by the setting means when the ball lending button is operated, the card holding A discharge control signal for discharging the number of rental balls corresponding to the amount of converted valuable data among the valuable data to be transferred is asserted and transmitted as it is until the completion of discharging a predetermined number of balls from the ball rental control circuit to the discharge control circuit. When the valuable data held by the card is less than the converted valuable data amount set by the setting means, the discharge control for discharging the number of rental balls corresponding to all the remaining valuable data held by the card Since the signal is asserted and transmitted from the ball lending control circuit to the discharge control circuit until the completion of the discharge of the predetermined number of balls, the remaining fraction of the valuable data held by the card is displayed. It is possible to prevent the no longer can be converted to the loan, but the ball me. In particular, if the apparatus is configured so that the amount of converted valuable data can be changed by the setting means, it is more effective because the possibility that a fraction will appear in the remaining amount of valuable data held by the card.
Moreover, since the discharge control circuit suppresses continuous ball lending when the continuous ball lending counter exceeds a predetermined value, an unexpected situation can be suppressed.
[0010]
【Example】
FIG. 1 shows a card-type pachinko game according to the present invention.apparatusOne embodiment is shown.
In this embodiment, the
On the other hand, an
[0011]
Note that 112 is a prize ball discharge display lamp that is turned on when the prize balls are discharged, 113 is a rental ball discharge display lamp that is turned on when the rental balls are discharged, and 108 is turned on when a stop state occurs in the pachinko gaming machine. A completion lamp is a receiving tray for storing the prize balls overflowed inside when the
In this embodiment, when the ball
[0012]
FIG. 2 shows an embodiment of the back mechanism of the
In FIG. 2,
[0013]
Also, below the
[0014]
The game
In this embodiment, the winning ball separation /
[0015]
FIG. 3 shows an embodiment of the
The
The guide rod 710 is composed of three parts because of its function, and is composed of a
The
[0016]
A ball clogging
In the middle of the
Further, in the middle of each
[0017]
Each of the
When the
[0018]
As described above, the
In FIG. 3,
[0019]
The
FIG. 4 shows an embodiment of a control system of the
This control system is roughly divided into a game
Among the above control devices, the game
[0020]
In addition, the game
The
[0021]
In addition, when the detection signal from the
The ball
[0022]
FIG. 5 shows a configuration example of the game
In other words, the game
[0023]
In the game
On the other hand, when the prize ball number control means 420 knows that there has been a request for prize ball number data from the
[0024]
FIG. 6 shows an embodiment in which the game
That is, the game
[0025]
Among the constituent means shown in FIG. 5, the communication means 410 is a serial interface SIF, the prize storage means 411 and 412 are RAMs, the prize ball number storage means 430 is a ROM, and the prize ball number control means 420 and The game control means 450 can be constituted by a CPU and a ROM storing its operation program, and the signal input / output means 460 can be constituted by a driver DRV, a filter FLT, a sound generator SDG and an amplifier AMP.
RST is an external reset circuit that forms the reset signal of the CPU, TSM is a transmission circuit that current-drives a
[0026]
FIG. 7 shows a configuration example of the
The
[0027]
The discharge control means 650 drives the
Further, when the detection signal from the
[0028]
The retransmission control means 630 is activated at the time of requesting the number of prize balls, receives a
[0029]
The lending ball discharge control means 670 calculates the number of lending balls discharged based on the
When the power failure control means 690 detects the occurrence of a power failure when, for example, the number of waves of the power supply waveform of the AC power supply falls below a predetermined number, the number of discharges in the discharge control means 650 is backed up by, for example, a battery. Alternatively, when the storage means 693 such as an EPROM is saved and the recovery of the power supply voltage is detected based on a signal from the voltage level detection means or the like, the number of discharged balls saved in the storage means 693 is stored in the discharge register in the discharge control means 650. , And the discharge suspended by the power failure is continued from the middle when the power failure is recovered, and the remaining balls are discharged.
[0030]
The
FIG. 8 shows a configuration example of the ball
The ball
[0031]
Further, the
[0032]
The ball lending request control means 512 receives a control signal t from the ball lending request validation means 513 and a ball lending enable signal U indicating that ball lending discharge from the
The drive circuit DRV1 that drives the
[0033]
In FIG. 9, the specific structural example of the card | curd control means 511 of the said ball lending
The card balance reading means 541, balance storage means 542 for storing the read balance data, and a lending ball payout completion signal V from the discharge control device 600.On the basis ofBalance data control means 549 is constituted by the amount subtraction means 544 for subtracting the stored contents of the balance storage means 542. The contents of the balance storage means 542 are updated every time when the lending ball payout is completed, and the contents of the balance storage means 542 are displayed on the
[0034]
Next, a procedure for controlling the discharge of prize balls and rental balls performed by the above-described
The prize ball discharge control is started at the same time as the power supply of the
[0035]
First, the main routine of the background control process of the prize ball discharge control will be described with reference to FIG.
This main routine is repeatedly performed after the power supply of the
When the power is turned on, first, at step S1, it is determined whether or not the “power failure flag” is “1”. This “power failure flag” is set to “1” when a power failure is detected in a power failure interruption process (FIG. 20) described later.
If the determination result in step S1 is “No”, the process proceeds to step S2. If “Yes”, the process proceeds to step S13, and the “processing number” prepared in the reference area in the RAM is set to “5”, and then the step. Proceed to S3. This is to cause power failure recovery processing (step S15) to be performed later. In step S2, initial settings such as clearing the RAM, setting a flag, and resetting the output buffer are performed.
[0036]
In the subsequent step S3, after confirming that the unauthorized discharge is not performed by performing the discharge device fraud monitoring process (FIG. 21) described later, the process proceeds to step S4, and the discharge fraud flag set in the process is “ It is determined whether or not it is “1”. When the flag is “1”, the fraud canceling process of step S14 is performed, and when the flag is “0”, the process proceeds to step S5. In steps S5 to S9, it is determined whether or not the numbers are “5”, “4”, “3”, “2”, and “1” with reference to the processing number (processing NO).
When this value is “5”, a power failure recovery process (FIG. 37) described later is started, and when the value is “4”, a ball removal process (FIG. 34-36) described later is started. When the value is “2”, a later-described prize ball discharge process (FIG. 26) is started. When the value is “3”, a later-described ball lending discharge process (FIG. 33) is started. When “1”, a prize ball start process (FIG. 23) described later is started. When the corresponding process is executed, the process number is changed to another number or reset to “0” in the process flow.
[0037]
On the other hand, when the process number is “0”, the process proceeds to step S10 to determine whether or not the ball removal flag is “1”. When the flag is “1”, the process number is set to “4” in step S20. Set. This is because when the main routine is executed again, the process proceeds to the ball removal process in step S16. If it is determined in step S10 that the ball removal flag is “0”, the process proceeds to step S11. In step S11, it is checked whether or not a ball lending request signal V is received from the ball
[0038]
FIG. 11 shows a procedure of a timer interrupt process that is performed every time a predetermined time (for example, 0.5 msec) by the
When this interrupt process is started, first, the count values of various timers are updated (step S40), then the
[0039]
FIG. 12 is a flowchart of the input processing routine of the
This routine is for detecting the state of the
[0040]
When this routine is started, it is first determined in step S4402 whether or not the output signal of the
In step S4404, it is determined whether the
[0041]
In the subsequent loop, since the
[0042]
When the processing after step S4432 is performed for the first time, the
[0043]
Further, when the output signal of the
[0044]
In the loop after the next time, if the output signal of the
[0045]
On the other hand, in the loop immediately after the output signal of the
[0046]
As a result, the
[0047]
Next, consider the case where the next prize ball has reached the
At this time, the determination in step S4402 (determination of whether the output signal of
[0048]
At this time, since the
[0049]
Further, when the output signal of the
[0050]
Thereafter, as long as the output signal of the
On the other hand, in the loop immediately after the output signal of the
[0051]
As described above, after the output signal of the
By executing the above routine, after the output signal of the
[0052]
FIG. 13 is a flowchart of the input process routine of the
[0053]
Specifically, when this routine is started, it is first determined in step S4602 whether or not the output signal of the
In step S4604, it is determined whether or not the
[0054]
By the way, since all the flags are set to “0” immediately after the initialization of the
Since the
[0055]
When the processing after step S4632 is first performed, the
In step S4638, the
[0056]
Further, when the output signal of the
[0057]
Even in the next and subsequent loops, if the output signal of the
[0058]
On the other hand, in the loop immediately after the output signal of the
As a result, the
[0059]
Next, consider the case where the next prize ball has reached the
At this time, the determination in step S4602 (determination of whether the output signal of the
At this time, since the
[0060]
Further, when the output signal of the
Thereafter, as long as the output signal of the
[0061]
On the other hand, in the loop immediately after the output signal of the
[0062]
As described above, after the output signal of the
By executing the above routine, after the output signal of the
[0063]
FIG. 14 is a flowchart showing a routine of level input processing of the
This level input process is a routine for determining whether or not a period during which the output signal of the
[0064]
When this routine is started, it is determined in step S7200 whether or not the output signal of the
When this determination result is “No”, that is, when the output signal is at low level, the discharge one-ball presence monitoring flag is set to “0” (step S7202), the above-mentioned discharge sensor one-ball presence flag is set to “0” (step S7204), and discharge is performed. The 1 error monitoring flag is set to “0” (step S7206), the
Here, both the
[0065]
Thereafter, when the output signal of the
[0066]
If the output signal of the
In the current loop, the determination result in step S7222 is "No", the determination result in subsequent step S7224 is "Yes", and the flow proceeds to step S7230. In step S7230, it is determined whether or not the
[0067]
Further, in the subsequent loop, as long as the output signal of the
[0068]
As for the processing after step S7222, as long as the output signal of the
When the output signal of the
[0069]
FIG. 15 is a flowchart showing a routine of level input processing of the
This level input process is a routine for determining whether or not the period during which the output signal of the
[0070]
When this routine is started, it is first determined in step S7400 whether the output signal of the
When the determination result is “No”, that is, when the output signal is at a low level, the discharge two-ball presence monitoring flag is set to “0” (step S7402), the above-described discharge sensor two-ball presence flag is set to “0” (step S7404), and discharge is performed. The 2 error monitoring flag is set to “0” (step S7406) and the above-described
[0071]
Here, both the discharge 2-ball presence monitoring flag and the
Thereafter, when the output signal of the
[0072]
In step S7422, it is determined whether or not the
[0073]
If the output signal of the
In the current loop, the determination result in step S7422 is “No”, and the determination result in subsequent step S7424 is “Yes”, and the flow proceeds to step S7430. In
[0074]
Further, in the subsequent loop, as long as the output signal of the
As for the processing after step S7422, steps S7422, S7424, and S7430 are repeatedly executed as long as the output signal of the
[0075]
When the output signal of the
FIG. 16 is a flowchart of the input process routine of the
As described above, the
[0076]
By the way, in this flow, when the output signal from the
When this routine is started, it is first determined in step S5300 whether or not the above-described process number is “0”. When the processing number is not set to “0” in the main routine (FIG. 10), such as when the winning ball (ball lending) discharge start processing and the winning ball (ball lending) discharge processing are performed (at this time, the above-mentioned The determination result in step S5300 is “No”. Without proceeding to step S5303 and subsequent steps, the ball removal sensor change flag is set to “0” (step S5301), and the ball removal sensor L level flag is set to “0” (step S5301). Step S5302), this routine is finished. Here, the ball removal sensor change flag is a flag for storing that the output signal of the
[0077]
By performing the above-described determination in step S5300, even when the clerk of the game shop performs a ball removal operation, a ball removal process described later (FIGS. 34 to 36) is performed when the prize balls are discharged. Will be banned.
If the prize ball is not discharged (process NO = “0”) and the ball removal rod is not inserted into the operation hole of the
When the prize ball discharge process is not performed, the determination result of the step S5300 is “Yes”. In the subsequent step S5303, whether or not the ball removal sensor change flag is “1” is determined in step S5304. It is determined whether or not the removal sensor L level flag is “1”.
[0078]
By the way, as described above, all the determination flags are set to “0” in the main routine (step S2 in FIG. 10) immediately after the power supply in the prize ball
[0079]
In the subsequent loop, when the output signal of the ball removal sensor is still at the L level, the ball removal sensor L level flag is set to “1”, so that the determination result of step S5304 is “Yes”. In subsequent step S5310, it is determined whether or not the output signal of the ball removal sensor in the current loop is at a high level (ball removal sensor output = “1”). At this time (the output signal of the ball removal sensor is kept at the low level), the determination result is “No”, and this routine is finished as it is. Therefore, as long as the output signal of the ball removal sensor maintains the L level, steps S5300, S5303, S5304, and S5310 are repeatedly executed.
When the ball removal rod is inserted into the operation hole from this state and the output signal of the ball removal sensor changes from the L level to the H level, the determination result of the step S5310 becomes “Yes”, and in the subsequent step S5312, the ball removal is performed in the current loop. In order to memorize that the output signal of the
[0080]
When the output signal is at the H level in the current loop following the previous loop, the determination result in step S5303 is “Yes” because the ball removal sensor change flag is set to “1” by executing step S5312 of the previous loop. The process proceeds to step S5316, and it is determined whether or not the output signal of the ball removal sensor in the current loop is at a high level (ball removal sensor output = “1”). If the determination result is “Yes”, that is, if the output signal is at a high level also in the current loop following the previous loop, the ball removal flag is set to “1” in the following step S5318, and the ball removal sensor in step S5320. The change flag is reset to “0” and this routine is terminated.
In a subsequent loop, when the output signal of the ball removal sensor is still at the high level, the determination result in step S5303 turns to “No” (the ball removal sensor change flag is reset to “0”), and then step S5304 and step S5306. Both of the determination results are “No”, and thereafter, Steps S5303, S5304, and S5306 are repeatedly executed.
[0081]
On the other hand, when the output signal of the ball removal sensor changes to the low level again in the loop immediately after the output signal of the ball removal sensor changes from the low level to the high level (immediately after the execution of steps S5312 and S5314), the step The determination result in S5316 is “No”, and the step S5320 is executed after the ball removal sensor L level flag is set to “1” in step S5322 without executing step S5318 (ball removal flag = “1”). Then, this routine is finished. As described above, when the output signal of the ball removal sensor changes from the low level to the high level, the ball removal flag is used only when the output signal is held at the H level during the execution of at least two processing loops. Is set to “1”, so that a ball removal flag is not set to “1” by mistake when noise or the like occurs.
[0082]
FIG. 17 is a flowchart showing an input processing routine of standby ball detector 160 (hereinafter referred to as a half-end sensor) performed in step S54 of the interrupt processing (FIG. 11).
The half-
When this routine is started, it is first determined in step S5200 whether or not the output of the standby sphere detector is at a high level (standby sphere detector output = “1”).
[0083]
Let us consider a case where the spare ball is replenished and reaches the installation position from the state where the spare ball is not stored up to the standby ball detector installation position of the
In a state where the spare ball has not reached the installation position, the determination result in step S5200 is “No”. At this time, all the determination flags are reset to “0” (step S2 in FIG. 10). Therefore, the subsequent determination in step S5202 (whether the hemispherical flag is “1”) and the determination in step S5204 (no hemispherical monitoring) The result is “No”, the no hemisphere monitoring flag is set to “1” (step S5206), the hemisphere presence monitoring flag is set to “0” (step S5208), Further, the hemispherical timer is set to a predetermined value (2 sec) (step S5210), and this routine is terminated.
[0084]
Here, the half-end sphere non-monitoring flag is a flag used to determine whether or not a state in which the spare sphere has not reached the installation position is detected (step S5204). Is a flag used to determine whether or not the state of collecting up to the installation position has been detected twice in succession (step S5220).
In the next loop, if the spare ball has not accumulated up to the installation position, the determination results in steps S5200 and S5202 are both “No”, and the determination result in the subsequent step S5204 is “Yes”, and step S5212 is executed. Is done.
[0085]
In this step S5212, it is further determined whether or not the ball-free timer has timed up, that is, after it is determined for the first time that the spare ball has not accumulated up to the installation position (after execution of the aforementioned steps S5206 to S5210) for a predetermined time (2 sec. ) It is determined whether or not it has elapsed, and when the determination result is “No”, the following steps S5214 and S5216 are skipped, and this routine is terminated. On the other hand, when the determination result in step S5212 is “Yes”, in step S5214, no half-end ball flag (half-end sensor ball (ball)) is shown to indicate that the spare ball has not accumulated up to the sensor installation position of the
[0086]
In the subsequent loop, unless the reserve ball is accumulated up to the installation position, the determination result in step S5200 is “No”, the determination result in step S5202 is “Yes”, and these steps are repeatedly executed.
If the reserve ball is accumulated up to the installation position of the half-
[0087]
In step S5222, the half-end sphere presence monitoring flag is set to "1", and in step S5224, the half-end sphere non-monitoring flag is set to "0", and the half-end sphere presence timer is set to a predetermined value (2 sec) ( Step S5226) This routine is finished.
In the next loop, if the spare ball is accumulated up to the installation position of the half-end sensor, the determination result in step S5200 is “Yes”, the determination result in step S5218 is “No”, and the determination result in the subsequent step S5220 is “ Step S5228 is executed with “Yes” (set to “1” in step S5222 of the previous loop).
[0088]
In this step S5228, it is further determined whether or not the ball timer has timed up, that is, after it is determined for the first time that the reserve ball has accumulated up to the installation position (after execution of steps S5222 to S5226 described above) for a predetermined time (2 sec. ) It is determined whether or not it has elapsed, and when the determination result is “No”, the following steps S5230 and S5232 are skipped, and this routine is terminated. On the other hand, when the determination result is “Yes”, that is, when the predetermined time has elapsed after the spare ball has accumulated to the sensor mounting position, it is determined in step S5230 that the spare ball has accumulated to the installation position of the half-end sensor 221. As shown, the half-end sphere flag is set to “1”, and at the next step S5232, the half-end sphere non-flag is reset (set to “0”), and this routine is terminated. In the subsequent loop, as long as the spare ball is stored up to the half-end sensor installation position in the
[0089]
As described above, in this input process, in the loop immediately after the output signal of the half-
[0090]
FIG. 18 is a flowchart showing a routine of input processing of the
The routine of the input process of the
When this routine is started, it is first determined in step S5600 whether or not the output of the safe sensor is at a high level (safe sensor output = “1”).
[0091]
Consider a case where a winning ball is not generated.
When there is no winning ball and the winning ball
[0092]
Here, the safe ball absence monitoring flag is a flag used to determine whether or not a state where the winning ball has not reached the
If the winning ball has not reached the safe sensor position in the next loop, the determination results in steps S5600 and S5602 are both “No”, and the determination result in subsequent step S5604 is “Yes”. Executed.
[0093]
In this step S5612, it is determined for the first time (after execution of the aforementioned steps S5606 to S5610) whether or not the safe ballless timer has timed up, that is, after the winning ball has not reached the safe sensor position for the predetermined time ( 4 msec) is determined. If the determination result is “No”, the following steps S 5614 and S 5616 are skipped, and this routine is terminated. On the other hand, when the determination result in step S5612 is “Yes”, in step S5614, the safe ball no flag is set to “1” to indicate that the winning ball has not reached the position of the
[0094]
In the subsequent loop, unless the winning ball reaches the safe sensor position, the determination result in step S5600 is “No”, the determination result in step S5602 is “Yes”, and these steps are repeatedly executed.
When the ball that has won a winning opening provided on the game board from this state reaches the safe sensor position of the winning ball separation /
[0095]
In step S5622, the safe ball presence monitoring flag is set to “1”, and in step S5624, the safe ball presence monitoring flag is set to “0”, and the safe ball presence timer is set to a predetermined value (10 msec) ( Step S5626) This routine ends.
If the winning ball is continuously at the safe sensor position in the next loop, the determination result in step S5600 is “Yes”, the determination result in step S5618 is “No”, and the determination result in the subsequent step S5620 is “Yes” (previous time). In step S5622 of the loop, “1” is set), and step S5628 is executed.
[0096]
In this step S5628, it is further determined whether or not the safe Tamaari timer has expired, that is, for the first time after it is determined that the winning ball has reached the safe sensor position (after execution of steps S5622 to S5626 described above). It is determined whether or not (10 msec) has elapsed. If the determination result is “No”, the following steps S5630 and S5632 are skipped, and this routine is terminated. On the other hand, when the determination result is “Yes”, that is, when the predetermined time has elapsed after the winning ball reaches the safe sensor position, in step S5630, it is indicated that the winning ball has reached the safe sensor position. In addition to setting the safe ball presence flag to “1”, the safe ball absence flag is reset (set to “0”) in the next step S5632, and this routine is terminated.
In the subsequent loop, as long as the winning ball remains at the safe sensor position, the determination result in step S5600 is “Yes”, the determination result in step S5618 is “Yes”, and these steps are repeatedly executed.
[0097]
As described above, in this input process, in the loop immediately after the output signal of the
[0098]
FIG. 19 is a flowchart of the ball lending request detection processing routine performed in the ball lending request signal input processing step S58 of FIG.
In this processing routine, it is first determined whether or not the value of the continuous ball lending counter prepared in the RAM and updated in the ball lending discharge processing routine of FIG. 33 is “5” (step S4102). If there is, the process proceeds to step S4104 to check whether or not the winning ball is being discharged. If the winning ball is being discharged, the ball lending request flag is reset and the process is terminated (step S4118). If the winning ball is not being discharged, it is determined in the next step S4106 whether or not the ball is being discharged. If the ball is being discharged, the processing is terminated without doing anything. In this embodiment, it is considered that even if the conversion to a lending ball is set to a unit such as 200 yen or 300 yen, a discharge command is issued in units of 100 yen to the discharge solenoid. This is because.
[0099]
If it is determined in step S4106 that the ball lending is not being discharged, the process proceeds to step S4108, where it is determined whether the ball lending request signal T is at the low level, and if “Yes”, it is checked whether the signal is continuously at the low level for 5 milliseconds ( Step S4120). This is to prevent malfunction due to noise by confirming that the ball lending request signal has been asserted after confirming that the level is continuously low for 5 milliseconds. Then, if “No” in the determination of step S4120, nothing is done, and if “Yes”, a ball lending request flag is set and the process is terminated (step S4122). Accordingly, “Yes” is determined in step S11 in the main routine of FIG. 10, and the ball lending start process S21 is started. Further, if “No” in step S4108, that is, if it is determined that the ball lending request signal T is at a high level, the process proceeds to step S4110, and whether or not the ball lending request signal T is continuously at a high level (H level) for 5 msec. To determine. If the ball lending request is lost when it is continuously at the high level for 5 msec, the ball lending counter is cleared by resetting the ball lending request flag, and the P ready flag indicating that ball lending is possible is set. It is cleared to “0” and the process ends (steps S4124, S4126, S4128).
[0100]
On the other hand, if “Yes” in the determination in step S4102, the process proceeds to step S4112 to determine whether or not the ball lending request signal T from the ball
[0101]
FIG. 20 shows a power outage interrupt process performed by an interrupt signal from a power outage detection means for detecting the occurrence of a power outage when the number of power supply waveforms of the AC power supply is counted below a predetermined number. An example of a specific procedure is shown.
In this interrupt routine, first, it is checked whether or not the discharge process is being performed. If the discharge process is not being performed, the process is terminated without doing anything (step S3002). If the discharge processing is being performed, the discharge solenoids 741a and 741b of the two discharge paths are turned off, and then the values of the discharge registers 1 and 2 (see FIG. 25) are stored in the backed-up RAM (steps S3004-S3010). ). Then, the undischarged prize ball number data is stored in the backed up RAM (step S3012), the power failure flag assigned to the address in the backed up RAM is set to “1”, and the routine is finished (step S3012). S3014).
Since the interruption process can be performed in a very short time, the interruption process can be completed after the interruption signal from the power failure detection means is input until the power actually disappears.
[0102]
FIG. 21 shows an example of a specific procedure of the discharger fraud monitoring process S3 executed in the main process flow of FIG. 10 performed in parallel with the timer interrupt and power failure interrupt process.
In this monitoring process S3, it is first checked whether one of the two discharge systems is turned on (step S1101). If “No”, a rising flag indicating that the detection signal of the
[0103]
If “Yes” in step S1101, that is, if it is determined that the discharge solenoid is turned on, the process proceeds to step S1103, and the discharge
[0104]
When it is determined in step S1106 that the value of the discharge
If “No” is determined in step S1102, the process proceeds to step S1107, and the processing S1107-S1112 similar to the processing S1101-S1106 related to the
[0105]
FIG. 22 shows an example of a specific procedure of the discharge device fraud canceling process S14. If the discharge fraud flag is set to “1” in step S1114 of the main flow of FIG. 21 and “Yes” is determined in step S4 of the flow of FIG. 10, the discharge device fraud cancellation processing S14 of FIG. 22 is started. In this discharge device fraud canceling process S14, it is first determined in steps S1121 and S1122 whether or not the error canceling flags of the discharging
Then, the prize ball
[0106]
FIG. 23 is a flowchart showing a prize ball start process subroutine executed in step S19 of the main routine (FIG. 10) of the prize ball discharge control apparatus described above. This subroutine is started when a prize ball request is detected in step S12 of the main routine (FIG. 10), the processing number is set to “1”, and “Yes” is determined in step S9.
When this subroutine is started, first, the
[0107]
On the other hand, if all the flags are “1”, the dischargeable flag is set to “1” (step S65), and the number of times a later-described prize ball data request is transmitted is set to 5 times, and then 1 second. A timer is set (steps S66 and S67). Then, a prize ball data request command is transmitted to the game board control device 400 (step S68), and it is determined whether the timer set in step S67 has timed out (step S70). If “No” here, it is determined in step S71 whether or not prize ball data has been received from the game
[0108]
On the other hand, if it is determined in step S70 that the 1-second timer has timed out before receiving the winning ball data, the process proceeds to step S77, and the transmission count set in step S66 is subtracted by “1”, and then the transmission count is reached. Is determined to be “0”, and if “No”, the process returns to step S67 to repeat the transmission of the prize ball data request (step S78). If it is determined in step S78 that the number of transmissions has become “0” while repeating the transmission, the process proceeds to step S79, the prize ball number data is set to “15”, and this routine is terminated.
In this way, if the
[0109]
FIG. 24 shows an example of the discharge start processing routine. In this routine, in order to discharge a predetermined number of prize balls that are performed once for one winning ball (safe ball), the predetermined number (the number of prize balls set) is provided in two articles. The number of discharges from one of the guide rods 710 (see FIG. 2) and the number of discharges from the other are determined in advance, and the
When this routine is started, first, in step S102, it is determined whether or not the value of the
[0110]
As a result of the determinations in steps S102 and S104, when the value of the
On the other hand, as a result of the determination in step S104, when it is determined that the value of the
[0111]
Here, the alternate discharge flag is used to discharge the prize balls in the two modes described later (the
Thus, after the value of the alternate discharge flag is set to “1”, the reverse flag is determined in step S118.
This reversal flag is operated by alternately operating the first discharge solenoid 1 (741a) and the second discharge solenoid 2 (741b) of the
[0112]
When the determination result of the reverse flag is “Yes”, the
On the other hand, when the number of prize balls discharged is 9 or more (when the determination result in step S104 is “No”), the process proceeds to step S124 to perform the combined discharge process. In this combined discharge process, first, a discharge number division process (FIG. 25) described later is performed in step S124, and then a single discharge flag and an alternate discharge flag are set to “0” (steps S126 and S128). The values of the
[0113]
Thereafter, in step S138, the discharge weight flag set to “1” is reset to “0” when the discharge weight timer is activated in a prize ball discharge process (FIG. 26) described later.
In the next step S140, when the single discharge process, the alternate discharge process or the combined discharge process ends, the discharge end flag set to “1” to indicate that is reset to “0”, and in the subsequent step S142, A discharge monitoring timer (for example, 3 seconds) is set and the process ends. This discharge monitoring timer determines whether or not all prize balls to be discharged have been discharged by the alternate discharge process or the combined discharge process described later until a predetermined time has elapsed since the start of the discharge of the prize balls. It is provided for monitoring.
[0114]
FIG. 25 is a flowchart showing a subroutine of the discharge number dividing process executed in step S124 of the discharge start process (FIG. 24).
This routine is a process that is performed when the ball is discharged in the combined discharge process described later (when the value of the
[0115]
When this routine is started, the value of the discharge register is sequentially “9” (step S151), “10” (step S152), “11” in steps S151 to S175. ”(Step S 153),“ 12 ”(step S 154), and thereafter, it is similarly determined up to“ 25 ”(step S 175). The reason for determining “25” is that 25 balls are discharged in response to one discharge request at the time of ball lending discharge.
When the determination result in step S151 is “Yes”, the value of the
[0116]
Thereafter, when the determination result of step S152 is “Yes”, the values of the discharge registers 1 and 2 are both set to “5” (step S183, step S184), and when the determination result of step S153 is “Yes”, discharge is performed. The value of the
[0117]
FIG. 26 is a flowchart showing a subroutine of prize ball discharge processing executed in step S18 of the main routine (FIG. 10) executed by the CPU on the above-described prize ball
This routine is a process for stopping the prize ball discharge operation started by the prize ball start process in step S19 of the main routine (FIG. 10). The process number is set in step S76 of the prize ball start process routine in FIG. When the process proceeds to step S8 of the main routine after being set to “2”, the process number is determined to be “2” and started. In this routine, first, in step S202, it is determined whether or not the discharge weight flag is “1”. This discharge weight flag is set to “1” when the discharge of a predetermined number (prize ball discharge number) of prize balls corresponding to one safe ball is completed and a wait timer described later is activated (step S215). It is set (step S214), and is reset to “0” in step S138 of the above-described discharge start process (FIG. 24).
[0118]
Accordingly, the determination result in step S202 becomes “Yes” only after the discharge of the predetermined number of prize balls corresponding to one safe ball (the number of prize balls discharged) is completed. While the determination result in step S202 is “No”, the process proceeds to step S204, and after the prize balls are discharged by the discharge process (FIG. 27), the process proceeds to step S205. In this step S205, it is determined whether or not the safe ball payout flag is “1”. This safe ball payout flag indicates whether the
[0119]
If it is determined in step S205 that the safe ball payout flag is not “1”, the process proceeds to step S206, and it is determined whether or not the discharge end flag is “1”.
This discharge end flag indicates that a predetermined number (a set number of winning balls) corresponding to one winning ball or the like is obtained by one discharging (FIG. 28), alternate discharging processing (FIG. 29) or combined discharging processing (FIG. 30). The value is set to “1” when the discharge is completed. Accordingly, when the determination result is “No”, the following steps S207 to S210 are skipped, and this routine is terminated.
[0120]
When the discharge of the predetermined number of prize balls is completed and the determination result in Step S206 turns to “Yes”, the prize ball
Therefore, when it comes to step S205 again, it determines with "Yes" and transfers to step S211. In step S211, it is checked whether the safe ball no flag set or reset in the safe sensor input process of FIG. 18 is “1”. If “No”, nothing is done and this routine is terminated. When the separation of the winning ball in the winning ball
[0121]
In the loop after the discharge weight flag is set to “1” in step S214, the determination result in step S202 is changed to “Yes”, and step S218 is executed. In this step S218, it is determined whether or not the discharge weight timer has expired. If the determination result is “No”, that is, the predetermined time has not yet elapsed after the predetermined number of prize balls have been discharged, The routine is terminated, and only step S202 and step S218 are repeatedly executed until the predetermined time has elapsed. When the predetermined time has elapsed and the determination result in step S218 is “Yes”, the process proceeds to step S220, the process number is set to “0”, and this routine is terminated.
[0122]
FIG. 27 is a flowchart showing a subroutine of the discharging process performed in step S204 of the above-described prize ball discharging process (FIG. 26).
When this routine is started, first, at step S222, it is determined whether or not the discharge error flag is “1”. This discharge error flag indicates an abnormality in the discharge control system when the discharge of a predetermined number of prize balls is not completed before the discharge monitoring timer set when the discharge start process is executed (step S142 in FIG. 24). Therefore, the value is set to “1” (set to “1” in step S242 described later). Accordingly, when the determination result in step S222 is "Yes", a discharge error recovery process (FIG. 31) described later is performed in step S252, and this routine is terminated.
[0123]
On the other hand, when the determination result of step S222 is “No”, the process proceeds to step S224, and it is determined whether or not the discharge end flag is “1”. As described above, this discharge end flag is set to a predetermined number (award ball setting) corresponding to one winning ball or the like by one discharge (FIG. 28), alternate discharge processing (FIG. 29) or combined discharge processing (FIG. 30). The number is set to “1” when the discharge of the number of balls is completed.
While the determination result in step S222 is “No”, the process proceeds to step S226, and it is determined whether or not the discharge monitoring timer set when the discharge start process is executed (step S142 in FIG. 24) has timed out. If “No”, the process proceeds to steps S228 and S230, and the one discharge flag and the alternate discharge flag set in the above-described discharge start process (FIG. 24) are checked. When the one discharge flag is “1”. One discharge process in step S232 (see FIG. 28), step S234 (see FIG. 29) when the alternate discharge flag is “1”, and combined discharge process in step S236 when the alternate discharge flag is “0” (FIG. 30) is executed.
[0124]
On the other hand, if the discharge monitoring timer is up in step S226, that is, if it is determined that the discharge does not end even after a certain period of time has elapsed after the start of discharge, it is determined that a discharge abnormality has occurred and the
FIG. 28 is a flowchart showing a single discharge process subroutine performed in step S232 of the above-described discharge process (FIG. 27).
When this process is started, it is first determined whether or not the single discharge timer set in step S110 of FIG. 24 has timed out (step S262). If “No”, nothing is done, and “Yes”, that is, 1 When the time set in the single discharge timer elapses, the process proceeds to step S264 to check whether the reverse flag is “1” or “0”. If the reversal flag is “0”, the
[0125]
FIG. 29 is a flowchart showing a subroutine of the alternating discharge process performed in step S234 of the above-described discharge process (FIG. 27).
As described above, this routine is a process performed when the number of prize balls to be discharged (the number of prize balls set) is “8” or less. In this routine, the
When this routine is started, it is first checked in step S272 whether the inversion flag is “0” or “1”. When the reverse flag is “0”, the process proceeds to step S274, and it is determined whether or not the
[0126]
Next, it is determined whether or not the value of the
On the other hand, when the determination result of step S272 is “No”, that is, the inversion flag is “1”, the process proceeds to step S286. In step S286, it is determined whether or not the
In this routine, the discharge by the
[0127]
FIG. 30 is a flowchart showing a subroutine of combined discharge processing performed in step S236 of the above-described discharge processing (FIG. 27).
As described above, this routine is a process performed when the number of prize balls to be discharged (the number of prize balls set) is “9” or more. In this routine, the
[0128]
When this routine is started, it is first determined whether or not the
Next, it is determined whether or not the value of the
[0129]
Next, the process proceeds to step S316, and it is determined whether or not the
Next, it is determined whether or not the value of the
[0130]
On the other hand, if the
As described above, when the set number of prize balls is set to a large value (9 to 15), the set number is divided and stored in the two
[0131]
FIG. 31 is a flowchart showing a subroutine of the discharge error recovery process performed in step S252 of the above-described discharge process (FIG. 27).
When this routine is started, first, it is determined whether or not the
[0132]
On the other hand, if all the flags are “1”, the dischargeable flag is set to “1” (step S356), and whether or not the dischargeable flag is “1” in the next step S358. If it is "1", it is determined in steps S360 and S362 whether the values of the
As a result, even when either one of the two discharge systems is clogged with balls and a discharge error occurs, the number of undischarged balls remaining in the discharge register is set again in the
[0133]
In this routine, prior to the above discharge start process (step S378), the process number is checked. When the number is “2”, the prize ball
When the value of the
[0134]
FIG. 32 is a flowchart showing a subroutine of a ball lending start process executed in step S21 of the main routine (FIG. 10) of the above-described prize ball discharge control device. This subroutine is started when the ball lending request flag is set in step S4122 of the ball lending request detection processing routine of FIG. 19 and “Yes” is determined in step S11 of the main routine.
When this subroutine is started, first, the
[0135]
On the other hand, if all the flags are “1”, the discharge enable flag is set to “1” (step S412), and the conversion rate (ball rental data) set in the ROM in advance is set as the discharge register. It is set to 0 (step S414). Further, the ball rental
In the ball lending discharge, the ball lending number data is set to a value such as 25 (> 8), for example. Therefore, when the discharge start processing routine of step S422 is executed, the discharge using the two discharge systems simultaneously is performed. Be started.
[0136]
Note that the ball lending sound request flag set in the above steps S418 and S420 sets the ball lending sound generation request signal E output to the game
FIG. 33 is a flowchart showing a ball rental discharge process subroutine executed in step S17 of the main routine (FIG. 10) executed by the
[0137]
This routine is started when the processing number is set to “3” in step S424 of the above subroutine (FIG. 32) and the processing number is determined to be “3” in step S7 of the main routine (FIG. 10). First, in step S432, it is determined whether or not the discharge weight flag is “1”. This discharge weight flag is set to “1” when the discharge of a predetermined number of balls corresponding to one ball lending request signal is completed and a wait timer described later is activated (step S440). This is reset to “0” in step S138 of the discharge start process (FIG. 24). Therefore, the determination result in step S432 becomes “Yes” for the first time after the discharge of a predetermined number of balls corresponding to one ball lending request signal is completed. As long as the determination result in step S432 is “No”, the process proceeds to step S434, and after the lending balls are discharged by the discharge process common to the prize ball discharge process (FIG. 27), the process proceeds to step S436. In this step S436, it is determined whether or not the discharge end flag is “1”. This discharge end flag is set to one by the combined discharge process shown in FIG. 30 performed in the discharge process routine (FIG. 27) (the single discharge and alternate discharge processes are not performed in principle with the lending ball discharge). The value is set to “1” when the discharge of a predetermined number of balls corresponding to the ball lending request signal is completed. Accordingly, when the determination result is “No”, the following steps S438 to S446 are skipped, and this routine is terminated.
[0138]
When the discharge of the predetermined number of prize balls is completed and the determination result in step S436 turns to “Yes”, the discharge weight flag is set to “1” (step S438), and the discharge weight timer is set to a predetermined time (for example, 400 msec) (step S440), the payout end flag is set to “1” (step S442), and then the ball
The payout end flag is referred to in order to set the payout completion signal V to a low level in a later-described lending ball information output process (FIG. 39), and the continuous ball lending counter is a step of the above-mentioned ball lending request detection process (FIG. 19). It is referred to in S4102, and six or more conversions in succession, that is, ball rental discharge of 600 yen or more are avoided.
[0139]
In the loop after the determination result of step S436 is changed to “Yes”, the determination result of step S432 is changed to “Yes” by setting the discharge weight flag to “1” in step S438, and step S448 is performed. Is executed. In this step S448, it is determined whether or not the discharge weight timer has expired. If the determination result is “No”, that is, if the predetermined time has not elapsed yet after the predetermined number of prize balls have been discharged, The routine is terminated, and only step S432 and step S448 are repeatedly executed until the predetermined time has elapsed. When the predetermined time has elapsed and the determination result in step S448 is “Yes”, the process proceeds to step S450, the process number is set to “0”, and this routine is terminated.
[0140]
FIG. 34 to FIG. 36 are flowcharts showing a ball removal process subroutine executed in step S16 of the main routine (FIG. 10) executed by the
In this ball removal processing routine, it is detected by the above-mentioned ball removal sensor input processing (FIG. 16) that a ball removal switch has been pressed by an attendant at the amusement shop, and the ball removal flag is set to “1” and the main routine steps. In S10, “Yes” is determined, the process number is changed to “4” in Step S20, and when the process number is determined to be “4” in Step S6 of the main routine, the process is started.
[0141]
When this routine is started, it is first determined in step S602 whether or not the forced end flag is “1”. This forced end flag is displayed when the ball removal switch is pushed twice (when the ball removal switch is pushed again during execution of this routine and the determination result in step S616 or step S626 described later becomes “Yes”). ) The value is set to “1” in step S696 immediately before the forced termination process in steps S700 to S736 is executed. Therefore, once the flag is set to “1” by executing step S696, the determination result of step S602 becomes “Yes” in the subsequent loop, and only the forced termination processing after step S700 described later is executed. Will be.
[0142]
When the determination result in step S602 is “No”, it is determined in step S604 whether the ball removal execution flag is “1”, and in subsequent step S606, it is determined whether the ball removal start flag is “1”. Is done. Among these, the ball removal start flag is set to “1” in step S614 to store the fact that the processing in subsequent steps S608 to S612 has been performed even once. Also, the ball removal execution flag is set to “1” in step S624 to store that when the excitation of the
[0143]
Here, consider a case where the ball removal routine is performed for the first time. In this case, the determination results in steps S604 and S606 are both “No”, and the process proceeds to step S608, where “1” is set by the first press of the ball removal switch (the pressure for starting the ball removal processing). The ball removal flag thus set is reset to “0”. In the next steps S609 and S610, the
[0144]
In the next step S612, the ball removal solenoid is excited (ON) to switch the switching
In subsequent step S616, it is determined whether or not the ball removal flag is set to “1” again during the execution of steps S602 to S614, that is, whether or not the ball removal switch is pushed again (whether or not it is pushed twice). Is done. When the determination result is “Yes”, steps S692 to S698 are executed, and then the process proceeds to a forced termination process after step S700 to forcibly terminate the ball removal process.
[0145]
More specifically, first, in step S692 and step S694, a discharge one-ball no flag used in the processing in steps S628 to S644 described later and a discharge two-ball no flag used in the processing in steps S646 to S662, described later, respectively. It is reset to “0”, the forced end flag is set to “1” to indicate that the process has been shifted to the forced end process in step S696, and it is further determined whether or not a predetermined time has passed immediately after the transition to the forced end process. The forced termination timer provided for this is set, and the forced termination processing after step S700 described later is performed.
[0146]
On the other hand, when the determination result is “No”, it is determined whether or not the ball removal start timer started in step S611 has expired. If the ball removal start timer has not yet timed out (determination result is “No”), this routine is terminated without performing the subsequent processing. In the next and subsequent loops, only steps S602 to S606, S616, and S618 are repeatedly executed until the timer expires.
When the timer expires and the determination result in step S618 turns to “Yes”, the
[0147]
Thus, once the
In the next step S626, it is again determined whether or not the ball removal flag is “1”, that is, whether or not the ball removal switch has been pressed twice to forcibly end the ball removal processing. When the determination result is “Yes”, after performing steps S684 to S690, the process proceeds to steps S692 to S698, and further to a forced termination process after step S700 described later.
[0148]
In the processing of steps S684 to S690, it is first determined whether or not the
[0149]
In step S688, it is further determined whether or not the
At this time, if the second ball extraction switch is not pressed and the determination result in step S626 is “No”, it is determined in step S628 whether or not the
[0150]
Accordingly, when the prize ball on the first discharge solenoid side of the
First, in step S630, it is determined whether or not the one-ball discharge flag is “1”. This 1-ball no-discharge flag is reset to “0” when the ball removal process on the first discharge solenoid side of the main routine step S4 or the
[0151]
Therefore, the determination result is “No” from the start of ball removal until the prize ball is exhausted in the
If there is no prize ball in the first guide rod (in the sensor 1) by the ball removal process from this state, the determination result in step S632 turns to “Yes”, and the no-discharge-ball flag is set to “1”. (Step S634) Next, a discharge one-ball no-timer that measures the passage of time since the prize ball is no longer in the
[0152]
In the subsequent loop, the determination result of step S630 turns to “Yes”, and it is determined again in step S638 whether or not the output level of the
If the determination result is “Yes”, that is, it is determined that the output level of the
[0153]
Thereafter, until the predetermined time elapses, it is determined that the determination results of the steps S630 and S638 are both “Yes” and the determination result of the step S640 is “No”.
When the predetermined time elapses while the output level of the
As described above, once the
[0154]
By the way, this routine is started, and after the output of the
[0155]
In the next step S646, it is further determined whether or not the
This
[0156]
First, in step S648, it is determined whether or not the two-ball discharge flag is “1”. This two-ball no-discharge flag is reset to “0” when the ball removal process on the second discharge solenoid side of the main discharge routine S4 or the
Accordingly, the determination result is “No” from the start of ball removal until there is no prize ball in the
[0157]
If there is no prize ball in the second guide cage (in the sensor 2) by the ball removal process from this state, the determination result in step S650 turns to “Yes”, and the no-discharge 2-ball flag is set to “1”. (Step S652) Then, a two-ball no-discharge timer is set to measure the time elapsed from the time when the prize balls are no longer in the sensor 2 (Step S654), and the process proceeds to Step S664 and thereafter.
In the subsequent loop, the determination result of step S648 turns to “Yes”, and it is determined again in step S656 whether or not the output level of the
[0158]
If the determination result is “Yes”, that is, it is determined that the output level of the
Thereafter, until the predetermined time elapses, it is determined that the determination results of the steps S648 and S656 are both “Yes” and the determination result of the step S658 is “No”.
[0159]
When the predetermined time elapses while the output level of the
As described above, once the
[0160]
By the way, this routine is started, and once the output of the
[0161]
After determining that the prize ball on the second discharge solenoid side of the
When the determination result is “No”, the process in the current loop is terminated as it is, and the process proceeds to the next loop (steps S628 to S644 are executed again in the next loop).
[0162]
On the other hand, when the determination result is “Yes”, that is, when it is determined that the ball removal processing by the first and second discharge solenoids of the
Next, forced termination processing (processing after step S700) performed when the determination result of any of steps S602, S616, and S626 is “Yes” will be described. This processing is executed when the ball extraction switch is pressed and the ball extraction processing is once started, and then when the switch is pressed again (pressed twice).
[0163]
First, in step S700, it is determined whether the forced termination timer has expired. This forced end timer starts counting when the switch is pressed for the second time (step S698 executed immediately after the determination result of step S616, S626 becomes “No”).
If the determination result is “No”, that is, if the predetermined time has not yet elapsed since the second switch pressing, it is determined in step S702 whether the
The determination result in step S702 is “No”, that is, before the ball removal process is completed (when the value of the flag is “1”, the ball discharge on the first discharge solenoid side of the
[0164]
When the determination result is “Yes”, that is, after the forcible termination process is once performed, when a new prize ball reaches the
In step S710, it is determined whether the
[0165]
When this determination result is “Yes”, that is, after the forced termination process is once performed, when the new prize ball reaches the
On the other hand, when the determination result is “No”, the steps S714 and S716 are skipped, and this routine is terminated.
In this way, the rising edge of the output signal of the discharge sensor 2 (that a new prize ball has reached the sensor) is detected until a predetermined time has elapsed after the forced termination process (the process after step S700) is started. Once the
[0166]
On the other hand, after the determination result in step S718 is “Yes”, that is, after the forced termination process is executed, the first and
In addition, when the predetermined time elapses while the processes in steps S702 to S718 are being performed and the forced termination timer is up, the determination result in step S700 is changed to “Yes” (at this time, the
In step S724, the forcible end flag is reset to “0”. In steps S726 and S728, both the ball removal execution flag and the ball removal start flag are reset to “0”. (Step S734), the process NO is reset to “0” (Step S736), and this routine is terminated.
[0167]
FIG. 37 shows an example of a specific procedure of the power failure recovery process performed in step S15 in the main process flow of FIG.
In the power failure recovery process, the data being discharged (the number of prize balls discharged or the number of balls lent out) is saved by the power failure interrupt process (FIG. 20) described above, and the power failure flag is set to “1” in the final step S3020. After the end, when the power failure is recovered and the power is supplied to the CPU and the main routine is started, the power failure flag is determined to be “1” in step S1, the process proceeds to step S13, and the process number is set to “5”. After the setting, the process is started by determining “Yes” when the process proceeds to step S5.
[0168]
When it is determined in step S1 that the power failure flag is “1” and the process proceeds to step S13, the power failure recovery processing is not immediately executed, but the processing number is set to “5” and “Yes” is determined in step S5. The reason for starting is that the discharge device fraud monitoring process in step S3 is executed first to confirm that there is no discharge fraud, and then the discharge interrupted by the power failure is resumed. is there.
When the power failure recovery process of FIG. 37 is started, first, the
[0169]
On the other hand, if all the flags are “1”, the discharge enable flag is set to “1” (step S1012), and then the value of the discharge register saved in the backup RAM or the interrupted discharge is displayed. Save data such as a flag indicating that the ball lending is discharged is restored to the original register or flag (step S1014). In the next step S1016, it is checked whether or not the discharge enable flag is “1”. If “1”, it is determined in steps S1018 and S1020 whether the values of the
[0170]
Then, it is determined whether or not the suspended discharge is a ball lending discharge (step S1028). If “Yes”, continuous ball lending discharge after step S1030 is performed, and if “No”, that is, the suspended discharge is prize ball discharge, continuous prize ball discharge after step S1042 is performed. As a result, even when the number of undischarged balls remains in one of the two discharge systems when a power failure occurs, the number of undischarged balls is set again in the
When the value of the
[0171]
In the continuous ball lending discharge, first, the ball lending sound request flag and the P stand ready flag are set to “1” (steps S1030 and S1032), and the lending ball
On the other hand, in the continuous prize ball discharge after step 1042, the prize ball
[0172]
FIG. 38 shows an example of a specific procedure of the sound request output process S23 in the main flow (FIG. 10).
When this routine is started, first, in step S852, it is checked whether the lending ball discharge sound generation request signal E for the game
If “Yes” is determined in step S854, the process proceeds to step S856, the rental ball discharge sound generation request signal E is asserted to a low level, the ball sound timer is set, and the ball sound request flag is set to “0”. And this routine is terminated (steps S858 and S860).
[0173]
On the other hand, if “No”, that is, the ball lending request flag is determined to be “0” in step S854, the process proceeds to step S872 to check whether the prize ball discharge sound generation request signal D for the game
If “Yes” is determined in step S874, the process proceeds to step S876, the prize ball discharge sound generation request signal D is asserted to low level, the prize ball sound timer is set, and the prize ball sound request flag is set to “0”. And this routine is terminated (steps S878 and S880).
[0174]
Then, when this routine is started again, when it comes to step S852, it is determined that “Yes”, that is, the lending ball discharge sound generation request signal E is at the low level, and the process proceeds to step S862, and is set in step S858. It is determined whether or not the ball lending timer has expired. If the time has not expired, the routine is terminated as it is, and if the time has expired, the lending ball discharge sound generation request signal E is negated to a high level and the routine is terminated (step S864).
On the other hand, after the prize ball discharge sound generation request signal D is asserted to the low level in step S876, this routine is started again, and when it comes to step S872, “Yes”, that is, the prize ball discharge sound generation request signal D is the low level. If it is determined, the process proceeds to step S882, and it is determined whether or not the prize ball sound timer set in step S878 is up. If the time is not up, the routine is terminated as it is, and if the time is up, the prize ball discharge sound generation request signal D is negated to a high level and the routine is finished (step S884).
[0175]
FIG. 39 shows the specific contents of the ball lending information output process performed in step S24 in the main process flow of FIG.
When this routine is started, it is first checked in step S802 whether or not a ball lending request flag is set. This ball lending request flag detects that the ball lending request signal T from the ball
If the result of determination in step S802 is "Yes", that is, the ball lending request flag is set, "No", that is, if the ball lending request flag is reset, the P-ready ready flag is set to " After clearing to 0 ", the process proceeds to step S806. The P-ready ready flag is a flag used to determine whether the ball lending ready signal U is changed to a high level or a low level in step S810, which will be described later, and is executed by the above-described ball lending start processing routine (FIG. 32). This is set in step S420 when the ball lending discharge is started.
[0176]
In step S806, it is determined whether the payout completion signal V output to the ball
Therefore, when the ball lending request signal from the ball
[0177]
Then, when the ball lending discharge ends and the payout end flag is set to “1” in the ball lending discharge processing routine (FIG. 33), “Yes” is determined in step S808 of this routine, and the process proceeds to step S816. Then, the payout completion signal V for the ball
[0178]
Next, when this routine is executed again, “Yes” in step S806, that is, the payout completion signal V is determined to be low level, the process proceeds to step S824, and whether or not the timer set in step S820 has expired. Determined. If the timer has not yet expired, the process proceeds to step S810 as it is. If the timer has expired, the payout completion signal V and the discharged loaned ball number signal J are negated to a high level (step S826). , S828), proceeding to steps S810-S814, the ball lending ready signal U is continuously asserted to a low level.
[0179]
When the payout completion signal V is negated to a high level by the above process, the ball
[0180]
Next, an example of a control procedure for the entire gaming board performed by the gaming
This control flow is executed every predetermined time (for example, 2 msec) by timer interruption after the game
When this interrupt processing is started, first, switch input processing for reading signals from the prize-by-
[0181]
On the other hand, if “No” in
When fraud is detected in step S85, an illegal operation process such as blinking a display provided in the gaming machine or driving the
[0182]
Thereafter, in step S89, it is determined whether or not a ball lending request signal is received from the
FIG. 41 shows an example of the control procedure of the prize ball process among the various processes described above.
In this prize ball process, first, it is determined whether or not two prize ball-specific prize detectors 490 (hereinafter referred to as prize ball discrimination SW1 and SW2) provided in the
[0183]
If it is determined in step S801 or S803 that the prize ball discrimination SW1 or SW2 is turned on, the process proceeds to step S805 or S807, and the prize memory for 7 prize balls or the prize memory for 10 prize balls is increased by “1”, respectively. . Then, the process proceeds to step S809, where the flag in the serial interface SIF is checked to determine whether a request for winning ball number data is received from the
On the other hand, if “Yes”, that is, there is a request for prize ball number data in step S809, the process proceeds to step S811, and it is checked whether the winning memory of the seven prize balls added in step S805 is “0”. If it is “1” or more, in step S813 “7 discharge” is set in the transmission buffer as the winning ball number data, the winning memory of the 7 winning balls is subtracted by “1”, and then the process proceeds to step S821 to transmit the above The prize ball number data set in the buffer is written in the register in the serial interface SIF, and the process is terminated.
[0184]
If it is determined in step S811 that the winning memory for the seven prize balls is “0”, the process proceeds to step S815, and it is checked whether the winning memory for the ten prize balls added in step S807 is “0”. If it is “1” or more, “10 discharge” is set as the winning ball number data in the transmission buffer in step S817, the winning memory of the 10 winning balls is decremented by “1”, and the process proceeds to step S821. The winning ball number data set in the transmission buffer is written in the register in the serial interface SIF, and the process is terminated.
Furthermore, if “Yes” in any of the determinations in steps S 811 and
[0185]
Next, a ball lending request signal for the
FIG. 42 shows an outline of the main routine of the ball lending control device.
This main routine is repeatedly executed when the ball
When the power is turned on, first, initialization such as RAM clearing, flag setting, and output buffer resetting is performed (step S8002). In the next step S8004, the ball lending
Then, the process proceeds to the next step, and the four processes of the ball lending process (step S8008), the return process (step S8010), the function transmission / reception process (step S8012), and the settlement signal output process (step S8014) are performed in parallel with each other. Do it progressively.
[0186]
FIGS. 43 and 44 show an example of a specific procedure of the ball lending process executed in step S8008 of the main routine (FIG. 42).
When this process is started, the ball lending enable signal U sent from the
[0187]
Next, the process proceeds to steps S8102 to S8104 again, and if “No” is determined in step S8104, the process proceeds to step S8108 to check whether the
Then, when a card is inserted into the card reader, the card amount is transmitted from the card
[0188]
On the other hand, when the falling of the ball lending enable signal U is detected in step S8102, the process proceeds to step S8103 to check whether the ball lending
If “Yes” in step S8110, that is, if the ball lending enable signal U is confirmed to be at a high level, the process proceeds to step S8112 and the card balance in the
[0189]
If it is determined in step S8116 that the number of balls for 500 yen has been set, the process proceeds to step S8124 to compare the set amount with the remaining amount of the card, and whether the amount of the card is greater. To determine. Then, only when the amount of the card is larger, the process proceeds to step S8130 and the payout number register is set to “5”. When the amount of the card is smaller, the process proceeds to step S8125, and the remaining amount of the card is 400 yen or more. It is determined whether or not there is “Yes”, the value of the payout number register is set to “4” (step S8131). If it is determined that “No” in step S8125, that is, the card balance is less than 400 yen, or if it is determined in step S8118 that the number of balls for 300 yen has been set, the process proceeds to step S8126 and the card is transferred. It is determined whether the remaining balance is 300 yen or more. If “Yes”, the process proceeds to step
Thus, even when the ball lending discharge number of the ball
[0190]
After the number of payouts is set in steps S8130 to S8136, the process proceeds to step S8138, and it is checked whether or not the ball lending
[0191]
When the process proceeds to step S8142 in FIG. 44, the ball lending request signal T for the
[0192]
On the other hand, if it is determined in step S8148 that the PRQ timer has expired before the ball lending enable signal U falls, the process proceeds to step S8150, and the ball lending
[0193]
If it is determined in step S8154 that the ball lending enable signal U has become low before the PRQ timer expires, the flow advances to step S8158 to set the discharge timer (3 seconds).
Then, it is determined whether the timer has expired (step S8160). If “No”, it is determined whether the return button is turned on in step S8162, and if it is on, the number of payouts set in steps S8130, S8132, S8134 is “1”. (Step S8164), and if it is off, the process proceeds to step S8166 and it is determined whether or not the payout completion signal V rises (step S8166). Since the discharge is normally completed within 3 seconds, the payout completion signal V does not rise after 3 seconds because it is considered that there is an abnormality on the discharge device side. In addition, when the return button is turned on, the number of payouts is changed to “1” because the return button is changed when the user notices an erroneous operation or changes his mind after operating the ball lending conversion button. This is because if it is operated, the ball lending discharge process can be interrupted. However, since the processing has already been started, the number of payouts is changed to “1” instead of “0” in order to discharge the lending balls for 100 yen once.
[0194]
If the discharge timer expires before the payout completion signal V rises, the process jumps to step S8192 to reserve transmission of the magnetic writing function and the unacceptable function (step S8194), and then the ball rental set in step S8140 The flag is cleared to “0” (step S8188), and the process returns to the first step S8102.
If the payout completion signal V rises before the discharge timer expires, the process advances to step S8168 to reduce the card balance (frequency) and the number of payouts by “1”, and output the settlement signal j (pulse) to the
[0195]
Then, it is determined whether the timer has expired. If “No”, it is determined whether or not the ball lending enable signal U is at a high level (steps S8180 and S8182). If the PRQ timer expires before the ball lending enable signal U becomes low level, the process jumps to step S8196 to reserve transmission of the magnetic writing function and card ejection function (step S8197), and turns off the valid display lamp. Then, zero is displayed on the insertion balance display (steps S8198 and S8199), the ball lending flag set in step S8140 is cleared to “0” (step S8188), and the process returns to the first step S8102. The reason why the ball lending enable signal U does not go high even after 3 seconds have passed since the ball lending request signal T is raised is because there is an abnormality on the discharge device side.
[0196]
If it is determined in step S8182 that the ball lending enable signal U has become high before the PRQ timer expires, the flow advances to step S8184 to determine whether the card balance is “0”. If the card balance is "0", the process jumps to step S8196 to make a transmission reservation for the magnetic writing function and the card ejection function (step S8197), and then the valid display lamp is turned off and zero is displayed on the insertion balance display. (Steps S8198 and S8199), the ball lending flag set in step S8140 is cleared to “0” (step S8188), and the process returns to the first step S8102. As a result, even if the card is held in the card reader during the game, when the card balance becomes “0”, the card is automatically ejected from the card reader, and the player has reached “0”. You can know this quickly. Further, when making a transmission reservation for the magnetic writing function, card balance data is put in the transmission data area of the memory as a text together with the writing function code.
On the other hand, if it is determined in step S8184 that the card balance is not “0”, the flow advances to step S8186 to allow the ball lending to be displayed to indicate that the ball lending discharge processing is completed and the next ball lending conversion button can be operated. After the
[0197]
FIG. 45 shows an example of a specific procedure of the card return process executed in step S8010 of the main routine (FIG. 42).
When this process is started, it is first determined whether or not the
[0198]
On the other hand, when the return button is turned on when the ball lending
If “Yes” in
If it is determined in step S8220 that the card balance is “0”, nothing is done and the process returns to step S8202 to wait for the next return button operation. When the card balance becomes “0”, transmission reservations for the magnetic writing function and the ejection function are made in steps S8196 and S8198 (FIG. 44) of the above-mentioned ball lending process, and the card is ejected from the card reader in response to the reservation. Because.
[0199]
46 and 47 show an example of a specific procedure of function transmission / reception processing with the card
The function to be transmitted / received is transmitted in a data format in which the STX code is added to the beginning of the function code and the ETX code is added to the end. In addition to the function code, there are ENQ code (transmission inquiry) and ACK code (acknowledgment) as signals to be transmitted / received, but these are transmitted by the code alone without adding the head STX code or the terminal ETX code. Is done. When the ENQ code, the ACK code, and the STX code are transmitted, an interrupt is generated and a transmission interrupt process (FIG. 50) described later is executed.
[0200]
When this function transmission / reception process is started, first, in step S8300, it is determined whether or not a function transmission reservation by the above-mentioned ball lending process (FIGS. 43 and 44) or card return process (FIG. 45) is set. If there is no transmission reservation, the process proceeds to step S8350, where an ENQ reception flag set in a reception interrupt process (FIG. 51) described later is checked, and whether an ENQ (inquiry code) is received from the
If it is determined in step S8300 that “transmission reservation is present”, the process proceeds to step S8302, and the ENQ code is transmitted after setting the number of retransmissions to 3 (step S8304). A transmission interrupt is generated by this transmission, and a transmission interrupt process described later is started. Then, after setting the response timer to 10 seconds in step S8306, it is determined in step S9308 whether this response timer has timed out. If “No”, the ACK reception flag set in the reception interrupt process (FIG. 51) is set. It is then determined whether an ACK (response code) has been received (step S8310). If the response timer times out before receiving the ACK, the process proceeds to step S8312 and the number of retransmissions set in step S8302 is subtracted by “1”, and then the number of retransmissions becomes “0”. If it is not “0”, the process returns to step S8304 to retransmit the ENQ code.
[0201]
On the other hand, if the ACK is received before the response timer expires, the process proceeds to step S8316, the ACK reception flag is cleared to “0”, and the STX code indicating the head of the transmission data is transmitted. A transmission interrupt is generated by this transmission, and a transmission interrupt process described later is started, and a function code and data are transmitted. In step S8318, the response timer is set to 10 seconds, and in step S8320, it is determined whether the response timer has timed out. If “No”, the ENQ reception flag set in the reception interrupt process (FIG. 51) is set. It is then determined whether ENQ has been received (step S8322). Since this ENQ is an inquiry as to whether the reception result may be sent from the card
[0202]
After transmitting the ACK in step S8324, the response timer is set again to 10 seconds (step S8326), and then in step S8328, it is determined whether the response timer has expired. It is determined whether a function indicating the content of the reception result has been received by looking at the FNC reception flag set in 51) (step S8330). If the response timer expires before receiving the function, it means that there is no response to the ACK transmission. Therefore, it is determined that there is a communication abnormality, and the process proceeds to step S8340 to display an error code indicating the communication abnormality. The data is written into the display data buffer, the code is displayed on the
[0203]
If the function is received before the response timer expires, the process proceeds to step S8332 to clear the FNC reception flag to “0”, and then whether the received function content is “retransmission request” or “abnormal termination”. Then, it is determined whether or not “normal end” (steps S8334, S8336, S8338). Of these, the abnormal termination is sent when there is no abnormality in the communication itself, but there is an abnormality such as a writing failure in the card reader.
Therefore, when the received function is a retransmission request, the process returns to step S8302 to perform transmission again, and when abnormally terminated, the process proceeds to step S8342 to write an error code indicating a card reader abnormality to the display data buffer. In step S8344, the code is displayed on the
[0204]
On the other hand, if it is determined in step S8300 that “no transmission reservation”, the process proceeds to step S8350 in FIG. 47, and the ENQ reception flag set in the reception interrupt process (FIG. 51) is checked to determine the ENQ from the
[0205]
If the function is received before the response timer expires, the process proceeds to step S8360, the FNC reception flag is cleared to "0", and then it is determined whether the received function is a card data transmission function (step S8361). . If the determination result is “No”, nothing is done and the process returns to step S8300. If “Yes”, the process proceeds to step S8362 to determine whether or not the card balance is “0”. If the card balance is not “0”, the process proceeds to step S8364, the ball lending
On the other hand, if the determination result in step S 8362 is “Yes”, that is, the card balance is “0”, the process proceeds to step
[0206]
FIG. 48 shows an example of a specific procedure of the settlement signal output process executed in step S8014 of the main routine (FIG. 42).
When this process is started, first, the settlement signal number counter counted up in step S8172 in the ball lending process of FIG. 44 is checked to determine whether the number of settlement signals is “0” (step S8402). If “No”, that is, if it is determined that the number of settlement signals is 1 or more, the process proceeds to step S8404, the on-time timer is set to 200 milliseconds, the settlement signal j is asserted high, and the timer expires. (Steps S8406 and S8408). Then, the process proceeds to step S8410, the off-time timer is set to 200 milliseconds, the settlement signal j is negated to a low level, and the timer waits for the time to expire (steps S8412 and S8414).
Thereafter, in step S8416, the settlement signal number counter is decremented by “1”, the process returns to step S8402, and a settlement signal pulse is output until the settlement signal number counter becomes “0”. As a result, a settlement signal j having a pulse width of 200 milliseconds is output. Further, even when the pulse is output by “2” or more, the interval between the pulses is set to 200 milliseconds, and the
[0207]
FIG. 49 shows an example of a specific procedure of timer interrupt processing executed by the ball
In this timer interrupt process, the balance data is read from the card balance storage unit, the display signal of the
[0208]
FIG. 50 and FIG. 51 show an example of specific procedures of transmission interrupt processing and reception interrupt processing executed by the ball
Among these, a transmission interrupt is generated by transmitting an ENQ code, an STX code or an ACK code during the ball rental process (see FIG. 44) and the function transmission / reception process (see FIG. 46) of the main routine. ing. When this transmission interrupt is started, it is determined in steps S8602, S8604, and S8606 which code is the transmitted code by looking at the transmission buffer. Here, if the transmitted code is one of ENQ, ACK or ETX (code indicating the end of text data), the interrupt is terminated without doing anything.
[0209]
On the other hand, if all of the above determinations are “No”, the codes stored in the transmission buffer are STX codes, function codes, or text data, and these include the following codes. Therefore, in that case, the process proceeds to step S8608 to transfer the next 8-bit code in the memory transmission data area to the transmission buffer, and then increment the address of the memory transmission data area to enter the transmission buffer. Is transmitted and the process ends (steps S8610 and S8612). Since this transmission causes a transmission interrupt again, when the transmitted code is other than ENQ, ACK, or ETX, there is a continuation code. In step S8608, the next 8-bit code in the memory transmission data area is transmitted. After transferring to the buffer, the procedure of transmitting the code stored in the transmission buffer by incrementing the address of the transmission data area of the memory is repeated to transmit all codes.
[0210]
The reception interrupt in FIG. 51 is generated when a transmission from the card
When this reception interrupt is started, it is determined whether the code received in steps S8652 and S8654 is an ENQ code or an ACK code. If the received code is an ENQ code, the process proceeds to step S8656 and the ENQ reception flag is set to “1”. If the received code is an ACK code, the ACK reception flag is set to “1” in step S8658 and interrupt processing is performed. finish. The ENQ reception flag and the ACK reception flag are referred to in the function transmission / reception processing flow.
[0211]
On the other hand, if the received code is neither an ENQ code nor an ACK code, the process proceeds to step S8660, the received code is saved from the reception buffer to the memory, and the reception buffer address is updated (step S8662). If a subsequent reception code remains in the reception buffer, a reception interruption is again caused. Therefore, by repeating the above routine, all the reception codes are saved in the memory. Next, it is determined whether or not the received code is an ETX code (step S8664). If “No”, nothing is done and this routine is terminated. On the other hand, if it is determined in step S8664 that the ETX code has been received, the process proceeds to step S8666 to check whether the length of the received function code is normal. If “Yes”, the process proceeds to step
[0212]
Next, when a card is inserted into the
When the ball
[0213]
The
[0214]
When the number of discharges reaches 25 (100 yen), the drive signals of the discharge solenoids 741a and 741b and the drive signal of the lending ball
In the above embodiment, the detection signal of the
[0215]
In the above embodiment, the case where the number of prize balls is three types “7”, “10”, and “15” has been described as an example. An arbitrary number of prize balls can be discharged simply by changing the number of prize balls set to. Further, the number of prize balls is not limited to three, and it is possible to configure to be able to cope with two kinds or four or more kinds.
Furthermore, in the above embodiment, the ball
Further, in the embodiment, the card reader is built in the ball lending machine arranged between the gaming machines, but the card reader is arranged on one side of the
[0216]
【The invention's effect】
According to the invention of
Then, the ball lending control circuit selects one of a plurality of conversion valuable data amounts to be converted from valuable data to lending balls for one operation of the ball lending button by an integer multiple of the minimum conversion unit. Since the setting means for changing the setting is included, there is an effect that the setting can be changed to the amount of valuable conversion data desired by the Yueda store.
The timer means starts measuring based on the transmission of the discharge control signal, and a response signal to the discharge control signal is sent from the discharge control circuit within a time that is less than the first set time measured by the timer means. When detected, the gaming machine is determined to be in an abnormal state, and a response signal to the discharge control signal is not detected from the discharge control circuit within the second set time after the first set time has elapsed. Therefore, it is determined that the above gaming machine is in an abnormal state, so that when a rental ball is paid out, the gaming machine is in an abnormal state, such as a shortage of balls in the storage tank, and an accurate payout cannot be made. The effect of avoiding the trouble of subtracting the valuable data of the card for the conversion request to lending ball even though the request is not accepted or paid out That.
Further, when the valuable data held by the card inserted into the card processing device of the ball lending machine satisfies the converted valuable data amount set by the setting means when the ball lending button is operated, the card holding A discharge control signal for discharging the number of lending balls corresponding to the amount of converted valuable data among the valuable data to be transmitted is asserted and transmitted from the ball lending control circuit to the discharge control circuit as it is until the completion of discharging the predetermined number of balls, When the valuable data held by the card is less than the converted valuable data amount set by the setting means, the discharge control signal for discharging the number of rental balls corresponding to all the remaining valuable data held by the card Is sent from the ball lending control circuit to the discharge control circuit as it is until the discharge of the predetermined number of balls is completed, so the remaining value of the valuable data held by the card is fractional. It can be prevented even it is impossible to convert the rental sphere. In particular, if the apparatus is configured so that the amount of converted valuable data can be changed by the setting means, it is more effective because the possibility that a fraction will appear in the remaining amount of valuable data held by the card.
According to the invention of
[Brief description of the drawings]
FIG. 1 is a perspective view showing a configuration example of a card-type pachinko gaming machine according to the present invention.
FIG. 2 is a rear view showing a configuration example of a back mechanism of the pachinko gaming machine according to the present invention.
FIG. 3 is a cross-sectional front view showing an embodiment of a
4 is a block diagram showing an embodiment of a control system of the
FIG. 5 is a block diagram showing a configuration example of the game
FIG. 6 is a system configuration diagram showing a specific configuration example of the game
7 is a block diagram showing an example of the configuration of a
FIG. 8 is a block diagram illustrating a configuration example of a ball
FIG. 9 is a block diagram showing a configuration example of card control means constituting the ball
10 is a flowchart showing an example of a main routine of background control processing by the
FIG. 11 is a flowchart showing an example of a timer interrupt process performed by the
12 is a flowchart of an input processing routine of the
13 is a flowchart of an input processing routine of the
FIG. 14 is a flowchart showing a routine of level input processing of the
FIG. 15 is a flowchart showing a routine of level input processing of the
16 is a flowchart of an input processing routine of a
FIG. 17 is a flowchart showing a routine of input processing of the standby sphere detector 160 (half-end sensor).
18 is a flowchart showing a routine of input processing of the
FIG. 19 is a flowchart showing a routine of a ball lending request signal detection process.
20 is a flowchart showing an example of a specific procedure of a power failure interruption process performed by the
FIG. 21 is a flowchart showing an example of a specific procedure of discharge device fraud monitoring processing S3 performed in the main processing flow of FIG. 10;
FIG. 22 is a flowchart showing an example of a specific procedure of the discharge device fraud canceling process S14.
FIG. 23 is a flowchart showing a subroutine of prize ball start processing executed in step S19 of the main routine (FIG. 10) of the prize ball discharge control device.
FIG. 24 is a flowchart showing a subroutine of a discharge start process executed in step S90 of the prize ball start process (FIG. 23).
FIG. 25 is a flowchart showing a subroutine of a discharge number dividing process executed in step S124 of the discharge start process (FIG. 23).
FIG. 26 is a flowchart showing a prize ball discharge process subroutine executed in step S18 of the main routine (FIG. 10) executed by the
FIG. 27 is a flowchart showing a subroutine of a discharge process performed in step S204 of the prize ball discharge process (FIG. 26).
FIG. 28 is a flowchart showing a single discharge process subroutine performed in step S232 of the discharge process (FIG. 27).
FIG. 29 is a flowchart showing a subroutine of alternate discharge processing performed in step S234 of the discharge processing (FIG. 27).
FIG. 30 is a flowchart showing a subroutine of combined discharge processing performed in step S236 of the discharge processing (FIG. 27).
FIG. 31 is a flowchart showing a subroutine of a discharge error recovery process performed in step S252 of the discharge process (FIG. 27).
FIG. 32 is a flowchart showing a part of a subroutine of a ball lending start process executed in step S21 of the main routine (FIG. 10) executed by the prize ball discharge control device.
FIG. 33 is a flowchart showing a part of a subroutine for ball lending discharge processing executed in step S17 of the main routine (FIG. 10) executed by the prize ball discharge control device.
FIG. 34 is a flowchart showing a part of a subroutine of a ball removal process executed in step S16 of the main routine (FIG. 10) executed by the prize ball discharge control device.
FIG. 35 is a flowchart showing part of a subroutine for a ball removal process executed in step S16 of the main routine (FIG. 10) executed by the prize ball discharge control device.
FIG. 36 is a flowchart showing a second half of a subroutine of a ball removal process executed in step S16 of the main routine (FIG. 10) executed by the prize ball discharge control device.
FIG. 37 is a flowchart showing an example of a specific procedure of a power failure recovery process performed in step S15 in the main process flow of FIG.
FIG. 38 is a flowchart showing a sound request processing routine executed in step S23 of the main routine (FIG. 10) executed by the prize ball discharge control device.
FIG. 39 is a flowchart showing a routine of ball lending information output processing executed in step S24 of the main routine (FIG. 10) executed by the prize ball discharge control device.
FIG. 40 is a flowchart showing an example of a control procedure for the entire game board performed by the game
41 is a flowchart showing an example of a control procedure for prize ball processing in the flow of FIG. 40. FIG.
FIG. 42 is a flowchart showing an outline of a main routine of the ball lending control device.
FIG. 43 is a flowchart showing a part (first half) of the specific procedure of the ball lending process executed in step S8008 of the main routine (FIG. 42).
FIG. 44 is a flowchart showing a part (second half) of a specific procedure of the ball lending process executed in step S8008 of the main routine (FIG. 42).
FIG. 45 is a flowchart showing a part of a specific procedure for card return processing executed in step S8010 of the main routine (FIG. 42).
FIG. 46 is a flowchart showing a part (first half) of the specific procedure of the function transmission / reception process executed in step S8012 of the main routine (FIG. 42).
FIG. 47 is a flowchart showing a part (second half) of the specific procedure of the function transmission / reception process executed in step S8012 of the main routine (FIG. 42).
FIG. 48 is a flowchart showing an example of a specific procedure of the settlement signal output process executed in step S8014 of the main routine (FIG. 42).
FIG. 49 is a flowchart showing a timer interrupt process performed every predetermined time (for example, 1 msec) by the ball
FIG. 50 is a flowchart showing a procedure of a transmission interruption process performed by the ball
FIG. 51 is a flowchart showing a procedure of a reception interrupt process performed by the ball
52 is a time chart showing specific timings of signals transmitted and received between the ball
[Explanation of symbols]
100 pachinko machines
120 supply tray
122 Balance indicator
123 Ball conversion button
170 ball ejector
180 winning ball separation and discharge device
200 ball lending machine
211 Card slot
220 Insert balance indicator
230 Effective indicator lamp
400 game board control device
500 ball lending control device
600 Emission control device
800 card management device
Claims (2)
カードのデータを読み取り可能なカード処理装置を内蔵する球貸機と、が一対一で構成され、
上記遊技機の前面側所定部位に配設された球貸ボタンの操作に基づいて上記カード処理装置に挿入されたカードの保有する有価データの範囲内から所定数の貸し球を該遊技機の球排出装置から排出するようにしたカード式パチンコ遊技装置であって、
上記遊技機に設けられた球排出装置の排出制御を行う排出制御回路と、
遊技盤に関する制御を司ると共に、上記排出制御回路に対して排出すべき賞球数を示す賞球数データを送信する遊技盤制御回路と、
上記球貸ボタンの操作に基づいて上記排出制御回路に対して貸し球の排出に関わる排出制御信号を送信可能な球貸制御回路と、
を備え、
上記球貸制御回路は、
上記球貸ボタンの1回の操作に対して有価データから貸し球に変換される変換有価データ量を最小変換単位の整数倍で複数設定された内の何れかに選択して設定変更するための設定手段と、
タイマ手段と、を有し、
上記排出制御回路は、
上記排出制御信号に対する応答として上記球貸制御回路に対して応答信号を送信し、かつ、上記排出制御信号が検出されているとき、最小変換単位の貸し球の排出が完了すると、上記球貸制御回路に対して払出完了信号を送信し、
上記球貸制御回路は、
上記排出制御信号の送信に基づいて上記タイマ手段が計測を開始して、上記タイマ手段の計測する第1設定時間に満たない時間内に上記排出制御回路から上記排出制御信号に対する応答信号を検出した場合には、上記遊技機が異常状態であると判定すると共に、上記第1設定時間の経過後、第2設定時間内に上記排出制御回路から上記排出制御信号に対する応答信号を検出しない場合には、上記遊技機が異常状態であると判定するように構成され、
さらに、
上記球貸ボタンが操作された際に、上記カード処理装置に挿入されたカードの保有する有価データが上記設定手段により設定された変換有価データ量を満たす場合には、該カードの保有する有価データのうち変換有価データ量に対応した数の貸し球を排出させるための排出制御信号を所定数の球の排出完了までそのままアサートさせ上記排出制御回路に送信する一方、
カードの保有する有価データが上記設定手段により設定された変換有価データ量に満たない場合には、該カードの保有する有価データの残り分全てに対応した数の貸し球を排出させるための排出制御信号を所定数の球の排出完了までそのままアサートさせ上記排出制御回路に送信するようにしたことを特徴とするカード式パチンコ遊技装置。A gaming machine equipped with a ball discharge device capable of discharging a required number of balls based on a required discharge command;
A ball lending machine with a built-in card processing device that can read card data is configured on a one-to-one basis.
The gaming machine of front side the gaming machine a predetermined number of rental sphere from a range of valuable data held by the card inserted into the card processing device based on the disposed sphere rental button of the operation to a predetermined site sphere A card-type pachinko gaming device that is adapted to be discharged from a discharge device,
A discharge control circuit for performing discharge control of the ball discharge device provided in the gaming machine ;
A game board control circuit that controls the game board and transmits prize ball number data indicating the number of prize balls to be discharged to the discharge control circuit;
A ball lending control circuit capable of transmitting a discharge control signal related to the discharge of the lending ball to the discharge control circuit based on the operation of the ball lending button;
With
The ball lending control circuit
For changing the setting by selecting one of a plurality of conversion valuable data amounts to be converted from valuable data to rental balls for one operation of the above-mentioned ball lending button by an integral multiple of the minimum conversion unit. Setting means ;
Timer means, and
The discharge control circuit
When a response signal is transmitted to the ball lending control circuit as a response to the discharge control signal and the discharge control signal is detected, when the lending of the lending ball of the minimum conversion unit is completed, the ball lending control is performed. Send a payout completion signal to the circuit,
The ball lending control circuit
The timer means starts measuring based on the transmission of the discharge control signal, and a response signal to the discharge control signal is detected from the discharge control circuit within a time that is less than the first set time measured by the timer means. In the case where it is determined that the gaming machine is in an abnormal state and a response signal to the discharge control signal is not detected from the discharge control circuit within the second set time after the first set time has elapsed. , Configured to determine that the gaming machine is in an abnormal state,
further,
If the valuable data held by the card inserted into the card processing device satisfies the converted valuable data amount set by the setting means when the ball lending button is operated, the valuable data held by the card While the discharge control signal for discharging the number of rental balls corresponding to the amount of converted valuable data is asserted as it is until the discharge of the predetermined number of balls is completed, it is transmitted to the discharge control circuit,
Discharge control for discharging the number of rental balls corresponding to all the remaining portion of the valuable data held by the card when the valuable data held by the card is less than the converted valuable data amount set by the setting means A card-type pachinko gaming apparatus characterized in that a signal is asserted as it is until completion of discharging a predetermined number of balls and transmitted to the discharge control circuit.
最小変換単位の球貸し排出終了毎に更新される連続球貸しカウンタを有し、
上記連続球貸しカウンタが所定値を超えた場合に、連続球貸しを抑制することを特徴とする請求項1に記載のカード式パチンコ遊技装置。The discharge control circuit
It has a continuous ball lending counter that is updated each time the ball lending discharge of the minimum conversion unit is completed,
The card-type pachinko gaming device according to claim 1, wherein when the continuous ball lending counter exceeds a predetermined value, continuous ball lending is suppressed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000027946A JP3663596B2 (en) | 1991-06-03 | 2000-02-04 | Card type pachinko game machine |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3159972A JP3066472B2 (en) | 1991-06-03 | 1991-06-03 | Card-type gaming machine |
| JP2000027946A JP3663596B2 (en) | 1991-06-03 | 2000-02-04 | Card type pachinko game machine |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3159972A Division JP3066472B2 (en) | 1991-06-03 | 1991-06-03 | Card-type gaming machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000225266A JP2000225266A (en) | 2000-08-15 |
| JP3663596B2 true JP3663596B2 (en) | 2005-06-22 |
Family
ID=34751892
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000027946A Expired - Fee Related JP3663596B2 (en) | 1991-06-03 | 2000-02-04 | Card type pachinko game machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3663596B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5374397B2 (en) * | 2010-01-22 | 2013-12-25 | マルホン工業株式会社 | Ball rental unit for pachinko machines |
| JP2011147621A (en) * | 2010-01-22 | 2011-08-04 | Maruhon Industry Co Ltd | Pachinko game machine |
| JP5725136B2 (en) * | 2013-11-25 | 2015-05-27 | 株式会社三洋物産 | Game machine |
| JP2015077516A (en) * | 2015-01-30 | 2015-04-23 | 株式会社三洋物産 | Game machine |
| JP6347279B2 (en) * | 2016-09-06 | 2018-06-27 | 株式会社三洋物産 | Game machine |
-
2000
- 2000-02-04 JP JP2000027946A patent/JP3663596B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000225266A (en) | 2000-08-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5900549B2 (en) | Game machine | |
| JP3617984B2 (en) | game machine | |
| JP5991351B2 (en) | Game machine | |
| JP6503656B2 (en) | Gaming machine | |
| JP2016036379A (en) | Game machine | |
| JP3663596B2 (en) | Card type pachinko game machine | |
| JP2954384B2 (en) | Gaming machine | |
| JPH05103866A (en) | Emission control system for game balls | |
| JP2954383B2 (en) | Gaming machine | |
| JP3066472B2 (en) | Card-type gaming machine | |
| JP2016036377A (en) | Game machine | |
| JP2016036378A (en) | Game machine | |
| JP3624342B2 (en) | Card game machine | |
| JP3035793B2 (en) | Gaming machine | |
| JP2964177B2 (en) | Card-type gaming machine | |
| JP2016036380A (en) | Game machine | |
| JP2964178B2 (en) | Card-type gaming machine | |
| JPH10290874A (en) | Gaming machine | |
| JP3066471B2 (en) | Gaming machine | |
| JP3066475B2 (en) | Card-type gaming machine | |
| JP2001170348A (en) | Gaming machine | |
| JP3066474B2 (en) | Card-type gaming machine | |
| JP5260383B2 (en) | Automatic transaction equipment | |
| JP3035795B2 (en) | Gaming equipment | |
| JP3035796B2 (en) | Gaming equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040427 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040616 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040914 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041015 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050315 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050318 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090408 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090408 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090408 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100408 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100408 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110408 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110408 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |