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

JP3663596B2 - Card type pachinko game machine - Google Patents

Card type pachinko game machine Download PDF

Info

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
Application number
JP2000027946A
Other languages
Japanese (ja)
Other versions
JP2000225266A (en
Inventor
吉平 新山
広司 伊東
Original Assignee
株式会社ソフィア
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP3159972A external-priority patent/JP3066472B2/en
Application filed by 株式会社ソフィア filed Critical 株式会社ソフィア
Priority to JP2000027946A priority Critical patent/JP3663596B2/en
Publication of JP2000225266A publication Critical patent/JP2000225266A/en
Application granted granted Critical
Publication of JP3663596B2 publication Critical patent/JP3663596B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 pachinko gaming machine 100 and the ball lending machine 200 are configured to make a pair, each ball lending machine 200 has a built-in card reader, and the front panel 210 of the ball lending machine 200 has the above-mentioned configuration. Corresponding to the card reader, a card insertion / ejection slot 211, an insertion balance indicator 220 for displaying the balance of the inserted card, and an effective display lamp 230 for indicating that the ball lending machine is in operation are provided.
  On the other hand, an operation panel 121 is formed on the upper surface of the supply tray 120 provided on the front panel of the pachinko gaming machine 100, and the balance of the cards inserted into the card insertion / extraction slot 211 is displayed on the operation panel 121. The balance indicator 122 to be converted, a ball lending conversion button 123 for giving a command for conversion to a lending ball, a return button 124 for instructing to discharge (return) a card, and that the ball lending conversion button 123 is active. A ball lendable display lamp 126 for display is provided.
[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 supply tray 120 is full, and 142 is an operation dial of a ball striking device for firing the balls flowing down from the supply tray 120 one by one into the game area. It is. The configuration of the game area on the front surface of the pachinko game board 102 is the same as that of the conventional one, and can take any configuration.
In this embodiment, when the ball lending conversion button 123 is pressed, a predetermined amount (for example, 200 yen) is set within the range of the amount of the card on the premise that the card is inserted into the card reader of the ball lending machine 200. ) To be converted into a lending ball is sent to the control device of the ball discharge device provided on the back surface of the pachinko gaming machine 100. The remaining amount of the converted card is displayed on the balance display 122 with a frequency of 100 yen as a unit.
[0012]
FIG. 2 shows an embodiment of the back mechanism of the pachinko gaming machine 100 to which the present invention is applied.
In FIG. 2, reference numeral 170 denotes a ball discharge device that discharges a prize ball, 600 denotes a discharge control device that controls the ball discharge device 170 based on a signal from a prize detector or the like, and discharges a predetermined number of prize balls, 151 A storage tank 152 for storing the spheres before being discharged is a guide rod for guiding the spheres in the storage tank 151 to the sphere discharge device 170 in a line. The guide rod 152 is not particularly limited, but is formed in two strips so that a large amount of balls can be supplied in a short time, and a ball leveling 153 and a standby ball detector 160 for preventing overlapping of the balls are provided in the middle. Is provided.
[0013]
Also, below the ball discharge device 170, there is a discharge rod 155 for guiding the discharged balls to the outlet 129 of the supply tray 120 on the front of the gaming machine, and an overflow for guiding the balls overflowed from the supply tray 120 to the lower tray. A ball cage 156 is provided continuously, and a ball removal rod 157 branched from the middle of the discharge rod 155 is disposed in parallel with the overflow rod 156. A flow path switching valve 158 is provided at the branch portion. 159 is a collective bowl that collects the winning balls that flowed into the prize opening provided on the front face of the gaming machine in one place, 180 is a detector that separates the collected prize balls one by one provided at the lower end of the collective bowl 159 , A winning ball separation detecting device 400, and a game board control device 400 for driving an accessory or a display lamp based on a signal from a winning detector provided in the game unit.
[0014]
  The game board control device 400 and the discharge control device 600 are connected by a cord comprising two pairs of twisted pair wires. Although not particularly limited, in this embodiment, one ends of the cords 191 and 192 drawn from the game board control device 400 and the discharge control device 600 are connected to the relay board 195, and the game board is connected via the relay board 195. The control device 400 and the discharge control device 600 are communicably coupled.
  In this embodiment, the winning ball separation / detection device 180 includes a stopper 182 that faces the flow path of winning balls assembled by the collecting rod 159 and a solenoid (hereinafter referred to as a safe solenoid) 183 that drives the stopper 182. Each time a single winning ball is detected by 181 (referred to as a safe sensor), the stopper 182 is driven by the solenoid 183 to flow down one winning ball.To letThe electric type is used, but a mechanical type consisting of a seesaw type ball sheath and a micro switch with a stopper at the front end and a weight at the rear end is used. You may make it memorize | store in the apparatus 600 electrically.
[0015]
FIG. 3 shows an embodiment of the ball discharge device 170.
The ball discharge device 170 includes a guide rod 710 configured to be continuous with the guide rod 152 that guides the reserve ball stored in the storage tank 151. The guide rod 710 is formed in two strips corresponding to the guide rod 152, and a discharge means 740 comprising a stopper 745 as a flow prevention means and a drive discharge solenoid 741 corresponding to each passage. Two sets are provided.
The guide rod 710 is composed of three parts because of its function, and is composed of a pressure reducing part 711, an edge cutting part 712 and a discharge part 713 in order from the top.
The decompression unit 711 reduces the pressure of the reserve sphere sent from the storage tank 151 via the guide rod 152, and has a U-turn structure in a gently inclined state as shown in FIG. The edge cut portion 712 is used to make the balls passing through the lower discharge portion 713 spaced apart so that the discharge of the ball by the lower discharge means 740 can be easily stopped. It comprises a portion 721 and a direction changing passage portion 722 that leads to a discharge portion 713 described later.
[0016]
A ball clogging prevention protrusion 723 is provided at the lower end of the vertical passage portion 721 so as to protrude forward. By this ball clogging prevention projection 723, the center position of the lowest sphere among the spheres stopped vertically aligned with the vertical passage portion 721 is always positioned in front of the center position of the upper sphere. As a result, the moving-down pressure of the upper sphere acts so as to always press the lower sphere forward, and clogging of the sphere is prevented.
In the middle of the discharge portion 713 of each guide rod 710, a non-contact type discharge ball detection sensor 730 (discharge sensors 1 and 2) for detecting a flowing-down sphere is installed.
Further, in the middle of each discharge portion 713, a notch 703 in which a stopper 745 constituting the discharge means 740 can be moved is provided immediately after the discharge sensor 730.
[0017]
Each of the stoppers 745 is rotatably supported by a support shaft, and connection pins 746 protrude from one side portion of the stopper 745. The connection pins 746 and the operation rod 742 of the discharge solenoid 741 are provided. The lower ends are connected to each other by a connecting plate 747.
When the discharge solenoid 741 is in a demagnetized (off) state, the operating rod 742 is lowered, and the tip end portion of the stopper 745 enters the discharge portion 713 of the guide rod 710 from the notch portion 703, respectively. The game ball is prevented from flowing down. On the other hand, when the discharge solenoid 741 is excited (turned on), the operating rod 742 is lifted and rotated in the direction in which the stopper 745 is lifted to escape from the notch 703 of the discharge portion 713, and the ball in the discharge portion 713. The flow preventing state is released, and the spare ball in the guide rod 710 is discharged to the lower discharge rod 155.
[0018]
As described above, the ball discharge device 170 according to the above embodiment can stop the discharge by operating the stopper 745 when reaching a predetermined number while detecting the balls flowing down by the discharge sensor 730 one by one. As a result, it is possible to discharge prize balls and rental balls having different numbers of discharged balls by the same ball discharge device.
In FIG. 3, reference numeral 750 denotes a ball removal sensor 750 that detects that a ball removal rod has been inserted from an operation hole (not shown) provided in the front frame of the pachinko gaming machine 100. When the ball removal sensor 750 is turned on, the discharge solenoid 741 is continuously excited to discharge the spare ball in the guide rod 710, and the driving means (solenoid) of the switching valve 158 in the discharge rod 155 is operated. The discharged balls are discharged out of the machine through a ball punch 157.
[0019]
The ball removal sensor 750, the discharge solenoid 741, and the discharge sensor 730 are electrically connected to the discharge control device 600.
FIG. 4 shows an embodiment of a control system of the pachinko gaming machine 100.
This control system is roughly divided into a game board control device 400 that controls the game board of the pachinko gaming machine 100, a ball lending control device 500 that controls a card reader and the like, and a control of the ball discharge device 170. The discharge control device 600 is configured.
Among the above control devices, the game board control device 400 receives detection signals from various winning ball detectors provided on the game board 102 of the pachinko gaming machine to form a driving signal for the accessory, or on the back of the pachinko gaming machine. In response to a signal from a detector (safe sensor) 181 in the winning ball separation / detection device 180 provided on the mechanism panel, the safe solenoid 182 for winning ball separation is operated, or a drive signal for the speaker 190 is formed.
[0020]
In addition, the game board control device 400 has a function of monitoring the game state and transmitting to the management device 700 of the pachinko store information related to the state of the pachinko machine being operated, occurrence of a big hit, occurrence of a hit, and the like. I have.
The discharge control device 600 has a pair of stoppers 745 provided in the middle of the two guide rods 710 in the ball discharge device 170 based on the discharge command signal from the ball lending control device 500 or the game board control device 400. The discharge solenoids 741a and 741b to be operated are excited to discharge a predetermined number of spare balls in each guide rod 710 based on the detection signals of the discharge sensors 730a and 730b, and based on an ON signal from the ball removal switch 750. The discharge solenoids 741a and 741b are energized, and the drive source of the flow path switching valve 158 is operated to discharge all the reserve balls in the storage tank 151 and the guide rod 152.
[0021]
In addition, when the detection signal from the standby ball detector 160 provided in the middle of the guide rod 152 is received, the discharge control device 600 suspends excitation of the discharge solenoids 741a and 741b and stops discharge by the ball discharge device 170. At the time of discharge, for example, the prize ball discharge display lamp 112 or the rental ball discharge display lamp 113 is turned on according to the content of the discharge command signal, or the game board control device 400 is requested to output a prize ball or rental ball discharge sound. Is sent out.
The ball lending control device 500 receives the read data from the card reader in the ball lending machine 200, and the insertion balance display driving signal for the insertion balance display 220, the display driving signal for the balance display 122, and the card reader are in an operating state. A driving signal for the effective display lamp 230 for displaying the above and the ball lending display lamp 126 provided in the pachinko machine, the balance data rewriting signal q for the card reader controller 250, the punching hole processing signal m, the card A discharge signal n is formed. The ball lending control device 500 accepts an on signal of a ball lending conversion switch that is turned on when the ball lending conversion button 123 is operated and a card return switch that is turned on when the card return button 124 is operated, and A function of sending a ball lending request signal T to the card management company 800 or a card settlement signal j notifying the card management company's management device 800 that conversion to a lending ball for one (100 yen) has been performed. I have.
[0022]
FIG. 5 shows a configuration example of the game board control device 400.
In other words, the game board control device 400 of this embodiment counts and holds the detection signals from the communication means 410 that transmits and receives signals to and from the discharge control device 600 and the prize-by-ball winning detector of the game board 102. Two winning storage means 411 and 412, prize ball number storage means 430 for storing the number of winning balls corresponding to each of the winning storage means 411 and 412, and the contents stored in the winning storage means 411 and 412 should be discharged. A prize ball number control means 420 that determines the number of prize balls, and a solenoid, a motor, or a display lamp of an accessory based on a signal from the game board 102, or the occurrence of a big hit to detect an occurrence of an accessory or a variable prize device Game control means 450 for controlling the game according to a predetermined procedure, driving the speaker 190 and the like, and receiving a signal from the game board 102 and displaying a display label on the game board Flop and a motor, such as a solenoid, is constituted by the signal output means 460 for forming a driving signal such as a speaker.
[0023]
In the game board control apparatus 400 of this embodiment, a prize ball-specific prize detector 490 that detects a prize winning ball in which a different number of prize balls are set from that of a general prize slot is provided in the game board 102. In order to be able to cope with the case where types are provided, two winning storage means 411 and 412 are provided, and the number of winnings is counted for each winning opening having a different number of prize balls. Since the winning detection signal continuously enters the game board control device 400 regardless of whether or not the prize balls are discharged, a winning storage means for storing the number of winning balls is required.
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 discharge control device 600 based on a signal from the communication means 410, the prize ball number control means 420 is based on the contents stored in the prize storage means 411, 412. The number of prize balls to be discharged is read out from the prize ball number storage means 430 and determined, and the determined prize ball number data G is passed to the communication means 410 to cause the discharge control apparatus 600 to transmit the prize ball number data. At the same time, the winning ball number control means 420 has a function of reducing the stored contents of the winning storage means 411 or 412 by “1” when the winning ball number data is transmitted once.
[0024]
FIG. 6 shows an embodiment in which the game board control device 400 is configured using a general-purpose IC.
That is, the game board control device 400 includes a microprocessor CPU, a read-only memory ROM, a memory RAM that can be read and written as needed, a serial interface SIF for serial communication, an input / output buffer BFF comprising a gate array, and a game board. The driver DRV that forms the drive signal for the display and solenoid, the filter FLT that removes noise from the signal from the prize-winning prize detector, the sound generator SDG that produces various sound effects, and the output of the sound generator SDG And an amplifier AMP that amplifies and drives the speaker 190.
[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 code 191 connected to the discharge control device 600 based on transmission data from the serial interface SIF, The RCV is a receiving circuit that includes a photocoupler PC and an inverter IV, converts the current supplied by the discharge control device 600 into a voltage, and uses it as received data.
[0026]
FIG. 7 shows a configuration example of the discharge control device 600.
The discharge control device 600 according to this embodiment receives a prize ball for the game board control device 400 based on a communication means 610 that transmits and receives signals to and from the game board control device 400 and a detection signal from the safe sensor 181. Prize ball number requesting means 620 that forms a request signal P for number data, retransmission control means 630 that makes a retransmission request when there is no response to the prize ball number request, and determines the number of prize balls to be discharged. The prize ball number determining means 640, the basic prize ball number setting means 642 for giving the prize ball number when the prize ball number data O is not transmitted from the game board control device 400, and the discharge solenoids 741a and 741b are driven. Discharge control means 650 for discharging and removing prize balls, rental ball discharge control means 670 for calculating the number of ball lending discharge based on a ball lending request signal T from the ball lending control device 500, and a prize And a sound request generating means 680 for instructing the communication means 610 to send a request for each discharge sound when the lending balls are discharged, and a power failure control means 690 for saving and restoring data in the event of a power failure. Has been.
[0027]
The discharge control means 650 drives the safe solenoid 183 in the winning ball detection / separation device 180 every time the winning ball discharge is completed, or the winning ball data O ( The prize balls are discharged by driving the discharge solenoids 741a and 741b on the basis of the number Q of the basic prize balls and the detection signals from the discharge sensors 730a and 730b, or the prize ball discharge indicator 112 when the prize balls are discharged. Is turned on, or a flow path switching valve (ball removal solenoid) provided in the middle of the prize ball discharge basket is switched by an ON signal from the ball removal switch 750 and the discharge solenoids 741a and 741b are driven to store in the storage tank 151. Drain all spare balls.
Further, when the detection signal from the standby ball detector 160 provided in the middle of the guide rod 152 is received, the discharge control means 650 suspends the excitation of the discharge solenoids 741a and 741b and stops the discharge by the ball discharge device 170. At the time of discharge, for example, the prize ball discharge display lamp 112 or the rental ball discharge display lamp 113 is turned on according to the content of the discharge command signal, or the game board control device 400 is requested to output a prize ball or rental ball discharge sound. Is sent out.
[0028]
The retransmission control means 630 is activated at the time of requesting the number of prize balls, receives a reception timer 632 that times a predetermined time, and receives the prize ball number data when the reception timer 632 does not receive the prize ball number data before the time expires. A retransmission request control unit 634 that instructs the ball number request unit 620 to make a request again, and a retransmission request number setting unit 636 that sets how many times this retransmission request is repeated. The retransmission request control means 634 counts the number of retransmission requests, and when it reaches the set number of times, supplies the basic prize ball number Q from the basic prize ball number setting means 642 to the prize ball number determination means 640. Command. The prize ball number request means 620 requests prize ball number data when a detection signal from the safe sensor 181 is received.
[0029]
The lending ball discharge control means 670 calculates the number of lending balls discharged based on the data storage unit 671 that stores the conversion rate to the lending balls and the ball lending request signal T from the ball lending control device 500, and the above discharge control means. A lending ball discharge number calculation unit 672 to be passed to 650, a ball lending enable signal U that informs the ball lending control device 500 that ball lending discharge is possible, and a payout completion signal that informs that ball lending discharge has ended. The discharge control signal forming unit 673 for forming V is configured.
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 discharge control device 600 is configured using a general-purpose IC such as a CPU, ROM, RAM (or single-chip microcomputer), serial interface, driver, filter, etc., similar to the game board control device 400 shown in FIG. be able to.
FIG. 8 shows a configuration example of the ball lending control device 500.
The ball lending control device 500 of this embodiment includes a control unit 510 composed of a single chip microcomputer, a transceiver 502 that performs an interface for data transmission / reception between the control unit 510 and the card reader control device 250, and a segment type display Display driving means 503 for forming a driving signal for a balance indicator comprising: a drive circuit DRV 1, DRV 2 for driving a ball lending enable display 126 and a ball lending effective display lamp 230, a return button 124 and a ball lending conversion button 123. The buffers 504a and 504b that receive the signal from the control unit 510 and input to the control unit 510, the relay 505 that supplies the card settlement signal j to the card management device 800, and the number of discharges per one operation of the ball lending conversion button 123 Set the number of balls for lending to set (the minimum discharge unit is 100 yen) It is constituted by the means 506 or the like.
[0031]
Further, the control unit 510 reads data from the card reader control device 250, forms write data and control signals for the card reader control device 250, and forms display data for the balance indicator 122; A ball lending request control means 512 for generating a ball lending request signal T for the discharge control device 600 and a ball lending request signal T for the ball lending request control means 512 when a conversion request signal from the ball lending conversion button 123 is input. The ball lending request validating means 513 for generating the control signal t permitting the generation of The ball lending number setting means 506 can be constituted by a storage means such as a ROM or a setting device such as a slide switch.
[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 discharge control device 600 is possible.On the basis ofA ball lending request signal output means 521 for forming a ball lending request signal T for the discharge control device 600, a discharge number counting means 522 for receiving the payout completion signal V from the discharge control device 600 and counting the number of ball lending discharge, Comparing the number-of-discharges counting means 522 and the number of ball lending set in the above-mentioned ball lending number setting means 506 and comparing them, a comparator 523 that negates the ball lending request signal T and the card balance from the card control means 511 And a ball lending request canceling means 524 that immediately negates the ball lending request signal T when a signal u indicating "0" is input and when a signal from the return button 124 is input. Yes.
  The drive circuit DRV1 that drives the ball lending display 126 receives the ball lending request signal T and lights the ball lending display lamp 126 only while it is negated, and the ball lending request signal T is asserted. The light is turned off during the interval.
[0033]
  In FIG. 9, the specific structural example of the card | curd control means 511 of the said ball lending control apparatus 500 is shown. That is, the card control means 511 includes a card balance reading means 541 for extracting the balance of the card from the read data sent from the card reader control device 250, a balance storage means 542 for storing the read balance data, and a discharge. To the ball payout completion signal V from the control device 600On the basis ofAmount subtracting means 544 for subtracting the stored contents of the balance storage means 542 and a punch hole processing control means 545 for giving a punching command to the punch device in the card reader every time the amount of the balance storage means 542 reaches a predetermined number. And a card balance determination unit 546 for determining whether or not the amount of the balance storage unit 542 has become zero, a zero amount signal u from the determination unit 546, a card return request signal from the return button 124, and the like.On the basis ofA card insertion / ejection control means 547 for forming a card ejection command signal n for the insertion / ejection motor of the card reader and a control signal for the ball lendable indicator 126;On the basis ofPayment information forming means 548 for forming a payment signal j for notifying the card management apparatus 800 that manages the amount of all the cards that the prepaid card has been used once (100 yen or the like) is provided. This settlement signal j can be transmitted to a card management company computer via a transmission line.
  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 balance display 122 provided in the pachinko gaming machine 100.
[0034]
Next, a procedure for controlling the discharge of prize balls and rental balls performed by the above-described discharge control device 600 will be described in detail with reference to FIGS.
The prize ball discharge control is started at the same time as the power supply of the discharge control device 600 is turned on, so that the process is repeated as long as the power is turned on (FIG. 10), and the power supply is turned on. After the timer interrupt, the interrupt control process (FIG. 11) executes the interrupt process (FIG. 11) in which the background control process is interrupted and executed during the background control process every predetermined time (for example, 0.5 msec). Broadly divided.
[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 discharge control device 600 is turned on as described above.
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 lending control device 500. If there is a signal, a ball lending start process (FIG. 32) is executed. If there is no ball lending request signal, step S12 is performed. Proceed to In step S12, the safe ball presence flag set in the safe sensor input processing flow of FIG. 18 in which the detection signal is input from the safe sensor 181 is checked. If the flag is “1”, the process number is set to “ Set to 1 ”. This is because when the main routine is executed again, the process proceeds to a prize ball start process in step S19. On the other hand, if the safe presence flag is “0” in step S12, the sound request process S23 and the information output process S24 are executed, and then the process returns to step S3.
[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 discharge control device 600 in preference to the main routine (background process) of FIG. This interrupt process is performed for reading various input signals.
When this interrupt process is started, first, the count values of various timers are updated (step S40), then the discharge sensor 1 input process (step S44), and the discharge sensor 2 input process (step S46). , Discharge sensor 1 level input processing (step S48), discharge sensor 2 level input processing (step S50), ball removal sensor input processing (step S52), standby ball detector (half-end sensor) input processing (step S54), The safe sensor input process (step S56) and the ball lending request signal input process (step S58) are sequentially performed.
[0039]
FIG. 12 is a flowchart of the input processing routine of the discharge sensor 1 performed in step S44.
This routine is for detecting the state of the discharge sensor 730a. When the prize ball is present inside the sensor, the output signal becomes high level, and the prize ball flows out temporarily or continuously. Thus, the output signal becomes a low level when it is no longer present in the sensor. Accordingly, in this routine, when the output signal of the sensor 730a rises from the low level to the high level, a discharge sensor 1 rising flag, which will be described later, is set to “1” to memorize that the prize ball has reached the sensor. It has become. On the other hand, when the output signal of the sensor 730a (hereinafter referred to as the discharge sensor 1) falls from a high level to a low level, a discharge sensor falling flag, which will be described later, is set to “1” and the prize ball is removed from the sensor. I have come to remember what I did.
[0040]
When this routine is started, it is first determined in step S4402 whether or not the output signal of the sensor 1 is at a high level (discharge sensor 1 output = “1”). Assume that a prize ball is not discharged and a single prize ball remains in the sensor 1. At this time, the determination result of step S4402 is “Yes”, and step S4404 and subsequent steps are executed.
In step S4404, it is determined whether the discharge 1 rising change flag is “1”, in step S4406, whether the discharge 1 falling change flag is “1”, and in step S4408, the discharge 1 low level flag is “1”. Next, in step S4410, it is determined whether or not the discharge 1 high level flag is “1”. By the way, since all the flags are set to “0” immediately after the initialization of the CPU 610, the determination results in steps S4404 to S4410 are all “No”. In step S4412, the output signal of the discharge sensor 1 is output in the current loop. The discharge 1 high level flag is set to “1” to store the fact that it was at the high level, and this routine is terminated.
[0041]
In the subsequent loop, since the discharge 1 high level flag is set to “1”, steps S4402, S4404, S4406, S4408, and S4410 are repeatedly executed as long as the output signal of the discharge sensor 1 maintains the high level state. Will be. Thereafter, the discharge of the prize ball is started, and when the prize ball that has remained in the sensor 1 moves outside from the discharge sensor 1 and comes out of the sensor 1, the output signal of the discharge sensor 1 falls to a low level. The determination result of step S4402 is “No”, and step S4432 and subsequent steps are executed.
[0042]
When the processing after step S4432 is performed for the first time, the discharge 1 high level flag is “1” and all other flags are “0”. Therefore, the determination in step S4432 (discharge 1 falling change flag is “ 1 ”), the result of the determination in the next step S4434 (whether the discharge 1 rising change flag is“ 1 ”) is“ No ”, and subsequent step S4436 (the discharge 1 high level flag is“ 1 ”). The determination result is “Yes”, and Steps S4438 and S4440 are executed. In step S4438, the discharge 1 falling change flag is set to “1” in order to store that the output signal of the discharge sensor 1 has changed from the high level to the low level (falls) from the previous loop to the current loop, and then continues. In step S4440, the discharge 1 high level flag that has been set to “1” until this time is reset (set to “0”), and this routine is terminated.
[0043]
Further, when the output signal of the discharge sensor 1 continues to be low in the next loop, the discharge 1 falling change flag is set to “1” in step S4438 of the previous loop, so the determination result in step S4432 is “Yes”. Turn to. Then, in subsequent steps S4442 to S4448, the discharge sensor 1 falling flag is set to “1” (step S4442) to store the fact that the prize ball has been removed from the discharge sensor 1, and the value is “1”. At this time, the discharge sensor 1 rising flag indicating that there is a prize ball in the sensor 1 (set to “0” when this step is executed for the first time after initialization) is reset to “0” (step S4444). Subsequently, the discharge 1 falling change flag is reset to “0” (step S4446), and the discharge 1 low level flag is set to “1” in order to store that the output signal of the discharge sensor 1 in the current loop is low level. "" (Step S4448), and this routine is completed.
[0044]
In the loop after the next time, if the output signal of the discharge sensor 1 is at a low level, the discharge 1 falling change flag, the discharge 1 rising change flag, and the discharge 1 high level flag are all “0”, and the discharge 1 low level flag is “1”. Therefore, steps S4402, S4432, S4434, S4436 and step S4450 (determination of whether or not the discharge 1 low level flag is “1”) are repeatedly executed (at this time, the determination result of step S4450 is “ At this time, the discharge sensor 1 falling flag is held at “1”, and the discharge sensor 1 rising flag is held at “0”.
[0045]
On the other hand, in the loop immediately after the output signal of the discharge sensor 1 falls from the high level to the low level, when the output signal rises again to the high level (step S4438 is executed in the previous loop and the discharge 1 falls) When the change flag is “1” and the sensor output rises to a high level in the current loop), the determination result in step S4402 changes to “Yes”, and the determination result in step S4404 is “No”. The determination result in S4406 is determined to be “Yes”, and in step S4428, the discharge 1 rising change flag is set to “1” to store that the output signal has risen from the previous loop to the current loop. In step S4430, the discharge 1 falling change flag set to “1” in the previous loop is reset to “0”. To end the routine.
[0046]
As a result, the discharge 1 fall flag is set to “1” unless a low level state is detected for a predetermined time or longer after the output signal of the discharge sensor 1 falls (at least while this interrupt process is performed twice). The process (indicating that the prize ball has been removed from the sensor 1) is not performed, and when the output signal of the discharge sensor 1 generates noise and the signal falls instantaneously, etc. The discharge 1 falling flag is not set to “1”.
[0047]
Next, consider the case where the next prize ball has reached the sensor 1 after the previous prize ball has escaped from the sensor 1.
At this time, the determination in step S4402 (determination of whether the output signal of sensor 1 is at a low level) is “Yes”, and the determination in step S4404 (discharge 1 rising change flag is “1”) is performed. In this case, the determination result is “No”, and it is determined in step S4406 whether or not the discharge 1 falling change flag is “1”. At this time, the determination result in step S4406 is also “No” (set to “0” in step S4446), and the process proceeds to step S4408 to determine whether or not the discharge 1 low level flag is “1”. Done.
[0048]
At this time, since the discharge 1 low level flag is set to “1” in step S4448, the determination result in step S4408 is “Yes”, the process proceeds to step S4414, and the output of the discharge sensor 1 is output from the previous loop to the current loop. In order to memorize that the signal has changed from the low level to the high level (rises), the discharge 1 rising change flag is set to “1”, and in step S4416, it has been set to “1” until this time. The discharge 1 low level flag is reset (set to “0”), and this routine is terminated.
[0049]
Further, when the output signal of the discharge sensor 1 continues to be high in the next loop, the discharge 1 rising change flag is set to “1” in step S4414 of the previous loop, and therefore the determination result in step S4404 is “Yes”. ”. Then, in subsequent steps S4418 to S4424, the discharge sensor 1 rising flag is set to “1” (step S4418) and the value is “1” in order to store that there is a prize ball in the discharge sensor 1. The discharge sensor 1 falling flag indicating that the prize ball has been removed from the sensor is reset to “0” (step S4420), and then the discharge 1 rising change flag is reset to “0” (step S4422). Then, the discharge 1 high level flag is set to “1” to store that the output signal of the discharge sensor 1 in the current loop is at a high level (step S4424), and this routine is ended.
[0050]
Thereafter, as long as the output signal of the discharge sensor 1 is at a high level, the steps S4402, S4404, S4406, S4408, and S4410 are repeatedly executed. At this time, the discharge 1 rising flag is “1” and the discharge 1 The falling flag is held at “0”.
On the other hand, in the loop immediately after the output signal of the discharge sensor 1 rises from the low level to the high level, when the output signal falls to the low level (step S4414 is executed in the previous loop and the discharge 1 rise change flag is Is “1” and the output signal of the current loop is low level), the determination result of step S4402 is “No”, the determination result of step S4432 is “No”, and the determination result of step S4434 is “Yes”. In step S4452, the discharge 1 falling change flag is set to “1” in order to memorize that the output signal has fallen from the previous loop to the current loop in step S4452, and “ The discharge 1 rising change flag set to “1” is reset to “0”, and this routine is finished.
[0051]
As described above, after the output signal of the discharge sensor 1 rises, unless the high level state is detected for a predetermined time or longer (at least while this interrupt process is performed twice), the discharge 1 rising flag is set to “ The process of setting to 1 ″ (indicating that there is a prize ball in the discharge sensor 1) is not performed, and when noise occurs in the output signal of the discharge sensor 1, the discharge 1 is erroneously started up. The flag is not set to “1”.
By executing the above routine, after the output signal of the discharge sensor 1 rises, the discharge sensor 1 starts up only when the state is maintained for a predetermined period or longer (at least during this interrupt process being performed twice). The flag is set to “1”, so that the rising flag indicates that the prize ball has reached the discharge sensor 1. On the other hand, after the output signal of the discharge sensor 1 falls, the discharge sensor 1 fall flag is set to “1” only when the state is maintained for a predetermined period or longer (at least while this interrupt processing is performed twice). Therefore, the falling flag indicates that the prize ball has been removed from the discharge sensor 1. The discharge sensor 1 rising flag and the discharge sensor 1 falling flag are referred to in the alternate discharge process in the background process (main routine) or the combined discharge process (FIGS. 29 and 30 described later).
[0052]
FIG. 13 is a flowchart of the input process routine of the discharge sensor 2 performed in step S46 of the interrupt process (FIG. 11). This routine is for detecting the state of the discharge sensor 730b, and is performed in the same procedure as the input processing routine of the discharge sensor 1 described above. In this routine, similarly to the input process of the discharge sensor 1, the discharge sensor 2 rising flag is set to “1” when the output signal of the sensor 730b (hereinafter referred to as discharge sensor 2) rises from the low level to the high level. Is set to “1” to store that the prize ball has reached the inside of the sensor. On the other hand, when falling from the high level to the low level, the discharge sensor 2 falling flag is set to “1” and the prize ball is inside the sensor. I'm trying to remember what I missed.
[0053]
Specifically, when this routine is started, it is first determined in step S4602 whether or not the output signal of the sensor 2 is at a high level (discharge sensor 2 output = “1”). Assume that a prize ball is not discharged and a single prize ball remains in the sensor 2. At this time, the determination result of step S4602 is “Yes”, and step S4604 and subsequent steps are executed.
In step S4604, it is determined whether or not the discharge 2 rising change flag is “1”, in step S4606 whether or not the discharge 2 falling change flag is “1”, and in step S4608, the discharge 2 low level flag is “1”. Next, in step S4610, it is determined whether or not the exhaust 2 high level flag is “1”.
[0054]
By the way, since all the flags are set to “0” immediately after the initialization of the CPU 610, the determination results in steps S4604 to S4610 are all “No”, and in step S4612, the output signal of the discharge sensor 2 is output in the current loop. The discharge 2 high level flag is set to “1” to store the fact that it was at the high level, and this routine is terminated.
Since the discharge 2 high level flag is set to “1” in the subsequent loops, steps S4602, S4604, S4606, S4608, and S4610 are repeatedly executed as long as the output signal of the discharge sensor 2 is kept at the high level. It will be. Thereafter, the discharge of the prize ball is started, and when the prize ball that has stayed in the sensor 2 moves outside from the inside of the discharge sensor 2 and comes out of the sensor 2, the output signal of the discharge sensor 2 falls to a low level. The determination result of step S4602 is “No”, and step S4632 and subsequent steps are executed.
[0055]
When the processing after step S4632 is first performed, the discharge 2 high level flag is “1” and all other flags are “0”. Therefore, the determination in step S4632 (discharge 2 falling change flag is “ 1) and the determination in the next step S4634 (whether the discharge 2 rising change flag is “1”) are both “No”, and subsequent step S4636 (discharge 2 high level flag is “1”). The determination result is “Yes”, and steps S4638 and S4640 are executed.
In step S4638, the discharge 2 falling change flag is set to “1” to store that the output signal of the discharge sensor 2 has changed from the high level to the low level (falls) from the previous loop to the current loop, and then continues. In step S4640, the discharge 2 high level flag that has been set to “1” until this time is reset (set to “0”), and this routine is ended.
[0056]
Further, when the output signal of the discharge sensor 2 continues to be low in the next loop, since the discharge 2 falling change flag is set to “1” in step S4638 of the previous loop, the determination result in step S4632 is “Yes”. Turn to. Then, in subsequent steps S4642 to S4648, the discharge sensor 2 falling flag is set to “1” (step S4642) and the value is “1” to memorize that the prize ball has been removed from the discharge sensor 2. At this time, the discharge sensor 2 rising flag indicating that there is a prize ball in the sensor 2 (set to “0” when this step is executed for the first time after initialization) is reset to “0” (step S4644). Subsequently, the discharge 2 falling change flag is reset to “0” (step S4646), and the discharge 2 low level flag is set to “1” to store that the output signal of the discharge sensor 2 in the current loop is low level. "(Step S4648), and this routine is finished.
[0057]
Even in the next and subsequent loops, if the output signal of the discharge sensor 2 is at a low level, the discharge 2 falling change flag, the discharge 2 rising change flag, and the discharge 2 high level flag are all “0”, and the discharge 2 low level flag is “1”. Therefore, Steps S4602, S4632, S4634, S4636 and Step S4650 (determination of whether or not the discharge 2 low level flag is “1”) are repeatedly executed (at this time, the determination result of Step S4650 is “ At this time, the discharge sensor 2 falling flag is held at “1”, and the discharge sensor 2 rising flag is held at “0”.
[0058]
On the other hand, in the loop immediately after the output signal of the discharge sensor 2 falls from the high level to the low level, when the output signal rises again to the high level (step S4638 is executed in the previous loop and the discharge 2 falls) If the change flag is “1” and the sensor output rises to a high level in the current loop), the determination result in step S4602 changes to “Yes”, and the determination result in step S4604 is “No”. The determination result of S4606 is determined to be “Yes”, and in step S4628, the discharge 2 rising change flag is set to “1” to store that the output signal has risen from the previous loop to the current loop. In step S4630, reset the discharge 2 falling change flag set to “1” in the previous loop to “0”. To end the routine.
As a result, the discharge 2 falling flag is set to “1” unless a low level state is detected for a predetermined time or longer after the output signal of the discharge sensor 2 falls (at least while this interrupt processing is performed twice). The processing (indicating that the prize ball has been removed from the sensor 2) is not performed, and if the output signal of the discharge sensor 2 generates noise and the signal falls instantaneously, the discharge 2 is erroneously performed. The falling flag is not set to “1”.
[0059]
Next, consider the case where the next prize ball has reached the sensor 2 after the previous prize ball has escaped from the sensor 2.
At this time, the determination in step S4602 (determination of whether the output signal of the sensor 2 is at low level) is “Yes”, and the determination in step S4604 (whether the discharge 2 rising change flag is “1”) is performed. In this case, the determination result is “No”, and it is determined in step S4606 whether or not the discharge 2 falling change flag is “1”. At this time, the determination result in step S4606 is also “No” (set to “0” in step S4646), and the process proceeds to step S4608 to determine whether or not the discharge 2 low level flag is “1”. Done.
At this time, since the discharge 2 low level flag is set to “1” in step S4648, the determination result in step S4608 is “Yes”, the process proceeds to step S4614, and the output of the discharge sensor 2 is output from the previous loop to the current loop. In order to memorize that the signal has changed from the low level to the high level (rises), the discharge 2 rising change flag is set to “1”, and in step S4616, it has been set to “1” until this time. The discharge 2 low level flag is reset (set to “0”), and this routine ends.
[0060]
Further, when the output signal of the discharge sensor 2 is continuously at the high level in the next loop, the discharge 2 rising change flag is set to “1” in step S4614 of the previous loop, so the determination result in step S4604 is “Yes”. ”. In subsequent steps S4618 to S4624, the discharge sensor 2 rising flag is set to "1" (step S4618) to store the fact that there is a prize ball in the discharge sensor 2 (step S4618). The discharge sensor 2 falling flag indicating that the prize ball has been removed from the inside is reset to “0” (step S4620), and then the discharge 2 rising change flag is reset to “0” (step S4622), In order to memorize that the output signal of the discharge sensor 2 in the current loop is high level, the discharge 2 high level flag is set to “1” (step S4624), and this routine is finished.
Thereafter, as long as the output signal of the discharge sensor 2 is at a high level, the steps S4602, S4604, S4606, S4608, and S4610 are repeatedly executed. At this time, the discharge 2 rising flag is “1” and the discharge 2 The falling flag is held at “0”.
[0061]
On the other hand, in the loop immediately after the output signal of the discharge sensor 2 rises from the low level to the high level, when the output signal falls to the low level (step S4614 is executed in the previous loop and the discharge 2 rise change flag is Is “1” and the output signal of the current loop is low level), the determination result in step S4602 is “No”, the determination result in step S4632 is “No”, and the determination result in step S4634 is “Yes”. In step S4652, the discharge 2 falling change flag is set to “1” in order to memorize that the output signal has fallen from the previous loop to the current loop in step S4652, and “ The discharge 2 rising change flag set to “1” is reset to “0”, and this routine ends.
[0062]
As described above, after the output signal of the discharge sensor 2 rises, the discharge 2 rising flag is set to “1” unless a high level state is detected for a predetermined time or longer (at least while the main interruption process is performed twice). Is set to "" (indicating that there is a prize ball in the discharge sensor 2), and the discharge 2 rising flag is erroneously detected when noise occurs in the output signal of the discharge sensor 2. Is not set to “1”.
By executing the above routine, after the output signal of the discharge sensor 2 rises, the discharge sensor 2 starts up only when the state is maintained for a predetermined period or longer (at least during this interrupt process being performed twice). The flag is set to “1”, so that the rising flag indicates that the prize ball has reached the discharge sensor 2. On the contrary, after the output signal of the discharge sensor 2 falls, the discharge sensor 2 fall flag is set to “1” only when the state is maintained for a predetermined period or longer (at least while this interrupt processing is performed twice). Therefore, the falling flag indicates that the prize ball has been removed from the discharge sensor 2. The discharge sensor 2 rising flag and the discharge sensor 2 falling flag are used in the alternating discharge process in the background process (main routine) or the combined discharge process (FIGS. 29 and 30 described later).
[0063]
FIG. 14 is a flowchart showing a routine of level input processing of the discharge sensor 1 performed in step S48 of the interrupt processing (FIG. 11).
This level input process is a routine for determining whether or not a period during which the output signal of the discharge sensor 1 is at a high level (a state in which the sensor 1 is detecting a prize ball) continues for a predetermined period or longer. After changing from a state where there is no prize ball to a state where there is a prize ball, when the first predetermined period (50 msec) has elapsed, the discharge sensor 1 ball presence flag is set to “1” and stored, and After that, when the second predetermined period (2 sec) elapses, this is stored by setting the discharge 1 error cancel flag to “1”. These two flags are used in a discharge device fraud canceling process (FIG. 22), a prize ball starting process (FIG. 23), and a discharge error recovery process (FIG. 31) described later in detail.
[0064]
When this routine is started, it is determined in step S7200 whether or not the output signal of the discharge sensor 1 is at a high level (discharge sensor 1 output = “1”).
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 discharge 1 error release flag is set to “0” (step S7208), and this routine is terminated.
Here, both the discharge 1 ball presence monitoring flag and the discharge 1 error monitoring flag are loops immediately after the rise from the low level to the high level in the loop in which the output signal of the discharge sensor 1 is determined to be the high level. This is used to determine whether or not (steps S7212 and S7224 described later).
[0065]
Thereafter, when the output signal of the discharge sensor 1 changes from the low level to the high level, the determination result of the step S7200 becomes “Yes” in the loop immediately after that, and the discharge sensor 1 ball presence flag is “1” in the subsequent step S7210. It is further determined whether or not there is a discharge one-ball presence monitoring flag “1” in subsequent step S7212. In this case, both the determination results are “No”, and in step S7214, the one-ball discharge monitoring flag is set to “1”, and in step S7216, the single-ball discharge timer is set to the first predetermined period (50 msec). Then, the process proceeds to step S7222. In step S7222, it is determined whether or not the discharge 1 error release flag is “1”. In this case (immediately after the output signal of the sensor 1 is changed from the low level to the high level), the determination result is “No”, and it is determined whether or not the discharge 1 error monitoring flag is “1” in the subsequent step S7224. Since this determination result is also “No” in the current loop, the discharge 1 error monitoring flag is set to “1” in step S7226, and the discharge 1 error timer is set to the second predetermined period (2 sec) in step S7228. To end this routine.
[0066]
If the output signal of the discharge sensor 1 is still maintained at the high level in the next loop, the determination result in step S7200 is “Yes”, the determination result in step S7210 is “No”, and the determination result in step S7212 is “Yes”. The process proceeds to step S7218. In step S7218, it is determined whether or not the spherical timer set in step S7216 has timed out. When the determination result is “No” (the first predetermined period after the output signal changes to high level). Is not passed), the following step S7220 is skipped and the process proceeds to step S7222.
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 discharge 1 error timer set in step S7228 has expired. When the determination result is “No” (after the output signal has changed to high level, the second time is still When the predetermined period has not elapsed), the following step S7232 is skipped, and this routine is terminated.
[0067]
Further, in the subsequent loop, as long as the output signal of the discharge sensor 1 is at a high level, steps S7200, S7210, S7212, S7218, and step S7222 are repeatedly executed, and the determination result in step S7218 is “No” to “Yes”. When the operation is started (immediately after the first predetermined period has elapsed), in step S7220, the above-mentioned discharge sensor 1-sphere presence flag is set to “1”, and thereafter, steps S7200, S7210, and step S7222 and subsequent steps are repeatedly executed. become.
[0068]
As for the processing after step S7222, as long as the output signal of the discharge sensor 1 is at a high level, steps S7222, S7224, and S7230 are repeatedly executed, and the determination result of step S7230 changes from "No" to "Yes". (Immediately after the second predetermined period has elapsed), the discharge 1 error release flag described above is set to “1” in step S7232, and thereafter, when steps S7200, S7210, S7222 (discharge 1 error release flag is “1”) Naturally, the discharge sensor one-sphere flag is “1”) is repeatedly executed.
When the output signal of the discharge sensor 1 changes to the low level even once, each flag is reset to “0” in steps S7202 to S7208. Therefore, even after returning to the high level immediately after that, the steps after step S7210 are performed again. The process will start from the beginning.
[0069]
FIG. 15 is a flowchart showing a routine of level input processing of the discharge sensor 2 performed in step S50 of the interrupt processing (FIG. 11). This routine is the same procedure as the level input processing of the discharge sensor 1 described above. Done.
This level input process is a routine for determining whether or not the period during which the output signal of the discharge sensor 2 is at a high level (a state in which the sensor 2 detects a prize ball) continues for a predetermined period or longer. After changing from a state where there is no prize ball to a state where there is a prize ball, when the first predetermined period (50 msec) has passed, the discharge sensor 2 ball presence flag is set to “1” and this is stored, After that, when the second predetermined period (2 sec) elapses, this is stored by setting the discharge 2 error cancel flag to “1”. These two flags are also used in a prize ball start process (FIG. 23), a discharge error recovery process (FIG. 31), etc., which will be described in detail later.
[0070]
When this routine is started, it is first determined in step S7400 whether the output signal of the discharge sensor 2 is at a high level (discharge sensor 2 output = “1”).
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 discharge 2 error release flag is set to “0” (step S7408), and this routine is finished.
[0071]
Here, both the discharge 2-ball presence monitoring flag and the discharge 2 error monitoring flag are loops immediately after the rise from the low level to the high level in the loop in which the output signal of the discharge sensor 2 is determined to be the high level. This is used to determine whether or not (steps S7412 and S7424 described later).
Thereafter, when the output signal of the discharge sensor 2 changes from the low level to the high level, the determination result of the step S7400 becomes “Yes” in the loop immediately after that, and the discharge sensor 2 ball presence flag is “1” in the subsequent step S7410. In step S7412, it is further determined whether or not the discharged 2-ball presence monitoring flag is “1”. In this case, the determination results are both “No”, and in step S7414, the two-ball discharge monitoring flag is set to “1”, and in step S7416, the two-ball discharge timer is set to the first predetermined period (50 msec). Then, the process proceeds to step S7422.
[0072]
In step S7422, it is determined whether or not the discharge 2 error release flag is “1”. In this case (immediately after the output signal of the sensor 2 is changed from the low level to the high level), the determination result is “No”, and it is determined in subsequent step S7424 whether the discharge 2 error monitoring flag is “1”. Since this determination result is also “No” in the current loop, the discharge 2 error monitoring flag is set to “1” in step S7426, and the discharge 2 error timer is set to the second predetermined period (2 sec) in step S7428. To end this routine.
[0073]
If the output signal of the discharge sensor 2 is still maintained at the high level in the next loop, the determination result in step S7400 is “Yes”, the determination result in step S7410 is “No”, and the determination result in step S7412 is “Yes”. The process proceeds to step S7418. In step S7418, it is determined whether or not the spherical timer set in step S7416 has timed out. When the determination result is “No” (the first predetermined period after the output signal changes to high level). Is not passed), the following step S7420 is skipped and the process proceeds to step S7422.
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 step S 7430, it is determined whether or not the discharge 2 error timer set in step S 7428 has expired. When the determination result is “No” (after the output signal has changed to high level, the second time is still When the predetermined period has not elapsed), the following step S7432 is skipped, and this routine is terminated.
[0074]
Further, in the subsequent loop, as long as the output signal of the discharge sensor 2 is at a high level, steps S7400, S7410, S7412, S7418 and step S7422 and subsequent steps are repeatedly executed, and the determination result in step S7418 is “No” to “Yes”. When the operation is started (immediately after the first predetermined period has elapsed), the above-described discharge sensor two-ball presence flag is set to “1” in step S7420, and thereafter, steps S7400, S7410, and step S7422 and subsequent steps are repeatedly executed. become.
As for the processing after step S7422, steps S7422, S7424, and S7430 are repeatedly executed as long as the output signal of the discharge sensor 2 is at a high level, and the determination result at step S7430 changes from "No" to "Yes". (Immediately after the second predetermined period has elapsed), the discharge 2 error release flag described above is set to “1” in step S7432, and thereafter, when the steps S7400, S7410, and S7422 (discharge 2 error release flag is “1”) Naturally, the discharge sensor 2-ball presence flag is “1”) is repeatedly executed.
[0075]
When the output signal of the discharge sensor 2 changes to the low level even once, each flag is reset to “0” in steps S7402 to S7408. Therefore, even after returning to the high level immediately after that, the steps after step S7410 are performed again. The process will start from the beginning.
FIG. 16 is a flowchart of the input process routine of the ball removal sensor 750 performed in step S52 of the interrupt process of FIG.
As described above, the ball removal sensor 750 inserts a ball removal rod into an operation hole (not shown) provided on the front surface of the pachinko gaming machine 100 for an operation for an attendant of the game shop to start the ball removal processing, that is, It is for detecting that an operation has been performed, and the output signal of the sensor 750 is at a high level when the insertion of a ball removal rod is detected, and the output signal is held at a low level when it is not detected. ing.
[0076]
By the way, in this flow, when the output signal from the sensor 750 changes from the low level to the high level, a ball removal flag, which will be described later, is set to “1”, and it is determined that a ball removal process has been performed by a clerk at the game shop. It is like that. Then, the prize ball discharge control device starts a ball removal process (FIGS. 34 to 36) described later by the ball removal flag set to “1” (step S16 of the main routine).
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 sensor 750 has changed from a low level (L) to a high level (H) (set to “1” at this time) in the current loop. The ball removal sensor L level flag is a flag for storing that the output signal of the sensor was low level (L) in the current loop.
[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 gaming machine 100, the ball game staff member will change the ball. Consider a case in which the state changes to a state in which the extraction stick is inserted.
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 discharge control device 600 is turned on, and initialization is performed. Even after this, when the process NO is other than “0”, it is set to “0” in the steps S5301 and S5302, and therefore the determination results in the steps S5303 and S5304 are both “No” in step S5306. It is determined whether or not the output signal of the ball removal sensor is at L level (ball removal sensor output = “0”). In a state where the ball removal rod is not inserted into the operation hole 261, the output signal of the sensor 750 remains at the L level. Therefore, the determination result in step S5306 is “Yes”, and the process proceeds to step S5308 to proceed to step S5308. The L level flag is set to “1” and this routine is terminated.
[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 sensor 750 has changed from the low level to the high level, the ball removal sensor change flag is set to “1”, and then the ball removal sensor L level flag is reset to “0” in step S5314. To end this routine.
[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-end sensor 160 outputs a signal for setting a half-end sphere presence flag used in a prize ball start process (FIG. 23) described later, and when the prize ball is sufficiently stored in the guide rod 152. The output signal is configured to be at a high level when the reserve ball is stored more than the number of prize balls discharged twice, and at a low level when the number is less than the above number.
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 guide rod 152.
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 guide rod 152. Flag) is set to “1”, and in the next step S5216, a half-end ball presence flag (half-end sensor ball (ball) presence flag: is set to an initial value “0” when this step is performed for the first time after initialization. ) Is reset (set to “0”), and this routine ends.
[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-end sensor 160 of the guide rod 152 by supplying the game ball to the storage tank 151 from this state, the determination result in step S5200 becomes “Yes”. In a succeeding step S5218, it is determined whether or not “1”. Since the half-end ball presence flag is still set to the initial value “0” at this time, the determination result is “No”, and the result of the subsequent determination in step S5220 (whether the half-end ball presence monitoring flag is “1”) It becomes "No" by execution of above-mentioned step S5208, and progresses to step S5222.
[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 guide rod 152, the determination result of step S5200 is “Yes”, and the determination result of step S5218 is “Yes”. Is executed repeatedly.
[0089]
As described above, in this input process, in the loop immediately after the output signal of the half-end sensor 160 changes from the low level to the high level (or from the high level to the low level), the change from the low level to the high level (or from the high level to the low level). Change) is stored only (the monitoring flag is set to “1”), and it is still high level (or low level) in the next loop, and only after a predetermined time (2 sec) has elapsed from the time of the change. The half-end sphere presence flag, which is the final output value of this routine, is changed to “1” (or the half-end sphere no flag is “1”). By adopting such a control procedure, even if the output signal level of the half-end sensor changes instantaneously due to noise generation or the like, the change is not immediately judged as a regular change, and the noise generation or the like It is possible to prevent malfunctions due to.
[0090]
FIG. 18 is a flowchart showing a routine of input processing of the safe sensor 181 performed in step S56 of the interrupt processing (FIG. 11).
The routine of the input process of the safe sensor 181 is for setting a safe ball presence flag used in a prize ball discharge process (FIG. 26) described later.
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 separation detection device 180 has not reached the winning ball, the determination result in step S5600 is “No”. At this time, all the discrimination flags are reset to “0” (step S2 in FIG. 10). Therefore, the discrimination in the subsequent step S5602 (whether the safe ball no flag is “1”) and the discrimination in step S5604 (safe ball no monitoring) The result of whether the flag is “1”) is “No”, the safe ball absence monitoring flag is set to “1” (step S5606), the safe ball presence monitoring flag is set to “0” (step S5608), Further, the safe ballless timer is set to a predetermined value (4 msec) (step S5610), and this routine is finished.
[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 safe sensor 181 is detected (step S5604), while the safe ball presence monitoring flag is a winning ball. Is a flag used to determine whether or not the state of reaching the safe sensor 181 has been detected twice in succession (step S5620).
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 safe sensor 181. In step S5616, the safe Tama presence flag (initial value “0” is set when this step is performed for the first time after initialization) is reset (set to “0”), and this routine is terminated.
[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 / detection device 180, the determination result in step S5600 is “Yes”. In a succeeding step S5618, it is determined whether or not the safe ball existence flag is “1”. Since the safe Taman flag is still set to the initial value “0” at this time, the determination result is “No”, and the result of the subsequent determination in Step S5620 (whether the Safe Taman monitoring flag is “1”) It becomes "No" by execution of above-mentioned step S5608, and progresses to step S5622.
[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 safe sensor 181 changes from the low level to the high level (or from the high level to the low level), the change from the low level to the high level (or from the high level to the low level). Change) is stored only (the monitoring flag is set to “1”), and this routine is not started until after the predetermined time has passed since the change is still at the high level (or low level) in the next loop. The safe ball presence flag which is the final output value is changed to “1” (or the safe ball absence flag is “1”). By adopting such a control procedure, even if the output signal level of the safe sensor changes instantaneously due to noise generation or the like, the change is not immediately judged as a regular change, and the occurrence of the noise or the like. It is possible to prevent malfunctions due to.
[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 lending control device 500 is at a high level. If the ball lending request signal T is at a low level (L level), the routine is terminated without doing anything. If the ball lending request signal T is at a high level, the process proceeds to step S4114, where the ball lending request signal is sent. It is determined whether T is continuously at a high level for 5 msec. If the ball lending request signal T is continuously at a high level for 5 msec, it is determined that the ball lending request signal T has been negated, the continuous ball lending counter is cleared, and the process is terminated (step S4116). This is to avoid conversion exceeding 500 yen at a time.
[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 discharge sensor 730a has risen. Is “1” (step S1102), and if “Yes”, the discharge fraud monitoring counter 1 is incremented (step S1104). This is because when there is a discharge ball even though the discharge solenoid is not turned on, this is detected as illegal discharge.
[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 fraud monitoring counter 1 is cleared. Even if the discharge solenoid is not turned on, there is a discharge ball, and after the discharge fraud monitoring counter 1 is incremented in step S1104, the rising flag of the discharge sensor 1 is once cleared to “0” and then the discharge fraud monitoring is performed. It is determined whether or not the value of the counter 1 is “3” or more (steps S1105 and S1106). Since the discharge stopper 745 and the discharge sensor 730 are provided at a distance from each other, even if the discharge solenoid is turned off, the signal from the sensor is not lost immediately, and exists at least between the discharge sensor and the discharge solenoid. Only the number of possible reserve spheres takes into account that a detection signal comes in. Therefore, this threshold value “3” is a value that should be appropriately changed according to the distance from the discharge sensor to the discharge solenoid.
[0104]
When it is determined in step S1106 that the value of the discharge fraud monitoring counter 1 is equal to or greater than “3”, the process proceeds to step S1113 to turn on a drive solenoid for the flow path switching valve 158 (hereinafter referred to as a ball removal solenoid). Let As a result, when the discharge solenoid operates improperly, the discharged balls are guided not to the supply tray 120 but through the ball extraction path to the recovery bowl of the pachinko game store, so that an unfair profit can be prevented. . After the ball removal solenoid is turned on, “1” is set to the illegal discharge flag indicating that illegal discharge has occurred, and then the prize ball discharge display lamp 112 is blinked to indicate the occurrence of the illegal state to the outside (step) S1114, S1115).
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 first discharge system 1 is executed for the other discharge system 2, and the incorrect discharge is performed. When it is determined that the value of the monitoring counter 2 is “3” or more, the process proceeds to step S1113 to turn on the ball removal solenoid.
[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 paths 1 and 2 set in the routines of FIGS. 14 and 15 are “1”. If it is “1”, the above-mentioned discharge illegal flag is cleared to “0” in step S1123, and then the ball removal solenoid 158 is turned off (step S1124).
Then, the prize ball discharge display lamp 112 in a blinking state indicating the discharge fraud is turned off, and the discharge device fraud canceling process ends (step S1125).
[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 discharge sensor 1 ball presence flag and the discharge sensor 2 ball presence flag set in the discharge sensor level input processing routine of FIGS. 14 and 15, and the half-end sensor input processing routine of FIG. The set half-end sensor ball presence flag is checked (steps S61 to S63). If any one of the flags is “0”, the dischargeable flag is cleared to “0” and the process ends (step S64). ).
[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 board control device 400. If the winning ball data is received before the timer expires, the process proceeds to step S72 and the received winning ball data is set in the discharge register 0. Then, the prize ball discharge display lamp 112 is turned on, the prize ball sound request flag is set to “1”, and after executing the discharge start processing routine shown in FIG. 24, the process number is set to “2”. The process ends (steps S73 to S76).
[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 discharge control device 600 does not respond to the game board control device 400 by repeating the prize ball data request for a predetermined number of times (for example, 5 times), the normal prize ball data possessed by itself is used as the discharge prize ball data. Since the process proceeds to the later-described discharge process, even if the communication between the discharge control device 600 and the game board control device 400 becomes abnormal, the game is not immediately interrupted and a small number Troubles between the player and the amusement store due to the prize balls being discharged can be avoided.
[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 discharge solenoid 1 and / or the discharge solenoid 2 are energized (ON) and To start discharging the prize balls according to
When this routine is started, first, in step S102, it is determined whether or not the value of the discharge register 0 is set to “1”. If the value of the discharge register 0 is not “1”, it is determined in step S104 whether or not the value of the discharge register 0 is “8” or less.
[0110]
As a result of the determinations in steps S102 and S104, when the value of the discharge register 0 is “1”, the process proceeds to step S106, the single discharge flag is set to “1”, and the alternate discharge flag is cleared to “0” ( From step S108), one discharge timer is set (S110), and the process proceeds to the determination of the reverse flag in step S118.
On the other hand, as a result of the determination in step S104, when it is determined that the value of the discharge register 0 is “8” or less, the process proceeds to step S112 to clear the single discharge flag to “0”, and the alternate discharge flag. Is set to “1” (step S114), and then the process proceeds to the determination of the inversion flag in step S118. Furthermore, as a result of the determination in step S104, when it is determined that the value of the discharge register 0 is “9” or more, the processing after step S124 is executed.
[0111]
Here, the alternate discharge flag is used to discharge the prize balls in the two modes described later (the discharge solenoids 1 and 2 are alternately operated) as the prize ball discharge mode of the discharge process (FIG. 27) performed following this routine. This is a determination flag used when selecting from the alternate discharge process or the combined discharge process in which the discharge solenoids 1 and 2 are simultaneously operated to discharge the prize balls. When the alternate discharge flag is set to “1”, the alternate discharge is used. When the process (when the number of prize balls set is 1 to 8) is set to “0”, the combined discharge process (number of prize balls set is 9 to 15) is performed.
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 ball discharge device 170 when the prize balls are discharged by the alternate discharge process. It is provided to improve durability by using two discharge paths equally. The value of the “reverse flag” is “1” every time the solenoid is operated once, that is, every time one discharge is completed. Or it is inverted to “0”.
[0112]
When the determination result of the reverse flag is “Yes”, the discharge solenoid 1 is excited in step S120 to start discharge from the first guide rod, and then the reverse flag is reversed to “0” (step S121). ). If the determination result in step S118 is “No”, the discharge solenoid 2 is excited in step S122 to start discharging the prize balls from the second guide rod, and then the inversion flag is inverted to “1”. (Step S123).
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 discharge 1 end flag and the discharge 2 end flag used in the combined discharge processing are reset to “0” (steps S130 and S132) and the discharge solenoid 1 and the discharge solenoid 2 are both excited to start combined discharge. (Step S134, Step S136).
[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 discharge register 0 is 9 or more and 25 or less). This is because in the combined discharge process, the discharge solenoids 1 and 2 are simultaneously operated in one control loop, so the values stored in the discharge register 0 in advance are divided into two and set in the discharge registers 1 and 2, respectively. It is something to keep. The discharge solenoids 1 and 2 are operated independently according to the values of these two discharge registers 1 and 2, respectively.
[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 discharge register 1 is set to “5” in step S181 and the value of the discharge register 2 is set to “4” in step S182, and this routine is terminated. To do.
[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 register 1 is set to “6” (step S185) and the value of the discharge register 2 is set to “5” (step S186). When the determination result in the step S154 is “Yes”, the discharge registers 1 and 2 are set. Are both set to “6” (step S187, step S188). Similarly, when the value of the discharge register 0 is an odd number, the discharge register 1 is set to one value larger than the discharge register 2, and when the value of the discharge register 0 is an even number, the value is the same for the discharge register 1 and the discharge register 2. Set the value.
[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 discharge control device 600 side.
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 safe solenoid 183 is turned on or off, that is, whether or not the winning ball separation detection device 180 is separated. It is set to “1” when turned on, and is reset to “0” when one winning ball is separated and the safe solenoid 183 is turned off. The safe ball payout flag is reset by the initial setting.
[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 discharge display lamp 112 is turned off (OFF) and the safe solenoid 183 is turned on (Step S207). , S208), the safe ball payout flag is set to “1”, the prize ball number data is added to the prize ball discharge counter, and this routine is finished (steps S209, S210).
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 separation detection device 180 is completed and the safe ball no flag is set to “1”, the process proceeds to step S211, where “Yes” is determined, and the process proceeds to step S212, where the safe solenoid After turning off 183, the safe ball payout flag is reset to “0” (step S213), the discharge weight flag is set to “1” (step S214), and the discharge weight timer is set for a predetermined time (for example, 400 milliseconds). ) And the process ends (step S215).
[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 discharge solenoids 1 and 2 are turned off (step S26). S238, S240) and after setting the discharge error flag to “1” (step S242), the prize ball discharge display lamp 112 is displayed during the prize ball discharge processing according to the processing number, and the ball rental discharge display is performed during the ball rental discharge. Are respectively blinked, an error is displayed, and the process ends (steps S244, S246, S248, S250).
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 discharge solenoid 1 is turned off (step S266). If the reversal flag is “1”, the discharge solenoid 2 is turned off (step S268), and one discharge is finished. Is set to "1" and the routine is terminated (step S270).
[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 discharge solenoids 1 and 2 of the prize ball discharge device 170 described above are used. Is used as a substitute to discharge prize balls.
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 discharge sensor 1 rising flag is “1”. The value of the discharge 1 rising flag is set to “1” when the spare ball comes out of the discharge sensor 1. Accordingly, if this determination result is “No”, nothing is done, and if “Yes”, the value of the discharge register 0 (number of discharged balls) is subtracted by one and then the discharge sensor 1 rising flag is cleared ( Steps S276 and S278).
[0126]
Next, it is determined whether or not the value of the discharge register 0 has become “1”, that is, whether or not a predetermined number of balls have been discharged (step S280), and the value of the discharge register 0 has become “1”. If so, the discharge solenoid 1 is turned off and the discharge end flag is set to “1”, and the routine is ended (steps S282 and S284).
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 discharge sensor 2 rising flag is “1”. The value of the discharge 2 rising flag is set to “1” when the spare ball comes out of the discharge sensor 2. Accordingly, if this determination result is “No”, nothing is done, and if “Yes”, the value of the discharge register 0 (the number of discharged balls) is subtracted by one and then the discharge sensor 2 rising flag is cleared ( Steps S288 and S290). Next, it is determined whether or not the value of the discharge register 0 has become “1”, that is, whether or not a predetermined number of balls have been discharged (step S292), and the value of the discharge register 0 has become “1”. If the discharge solenoid 2 is turned off, the discharge end flag is set to “1” and the routine is ended (steps S294 and S284).
In this routine, the discharge by the discharge solenoid 1 or 2 is terminated when the value of the discharge register 0 becomes “1” in order to adjust the off timing of the discharge solenoid. That is, in this embodiment, since the stopper is arranged on the downstream side of the discharge sensor, when the discharge is terminated when the value of the discharge register 0 becomes “0”, one more ball is actually discharged. Because it will be done.
[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 discharge solenoids 1 and 2 of the prize ball discharge device 170 described above are used. Are operated simultaneously to discharge the prize balls.
[0128]
When this routine is started, it is first determined whether or not the discharge 1 end flag reset in step S130 of the discharge start process of FIG. 24 has become “1” (step S302). Immediately after the discharge is started, the discharge 1 end flag is “0”, so it is determined “No” and the process proceeds to step S304 to determine whether or not the discharge sensor 1 rising flag is “1”. If the determination result is “No”, nothing is performed, and if “Yes”, the value of the discharge register 1 (the number of discharged balls) is subtracted by one and then the discharge sensor 1 rising flag is cleared (steps S306 and S308). .
Next, it is determined whether or not the value of the discharge register 0 has become “1”, that is, whether or not a predetermined number of balls have been discharged (step S310), and the value of the discharge register 0 has become “1”. If so, the discharge solenoid 1 is turned off and the discharge 1 end flag is set to “1” (steps S312 and S314).
[0129]
Next, the process proceeds to step S316, and it is determined whether or not the discharge 2 end flag reset in step S132 of the discharge start process of FIG. 24 has become “1”. Immediately after the discharge is started, the discharge 2 end flag is “0”, so it is determined “No” and the process proceeds to step S318 to determine whether or not the discharge sensor 2 rising flag is “1”. If the determination result is “No”, nothing is performed. If “Yes”, the discharge sensor 2 rising flag is cleared, and then the value of the discharge register 2 (the number of discharged balls) is subtracted by one (steps S320 and S322). .
Next, it is determined whether or not the value of the discharge register 2 has become “1”, that is, whether or not a predetermined number of balls have been discharged (step S324), and the value of the discharge register 2 has become “1”. If so, the discharge solenoid 2 is turned off and the discharge 2 end flag is set to "1" (steps S326 and S328). Then, it is determined whether or not the discharge 1 end flag is “1” (step S330). If “Yes”, the discharge end flag is set to “1” in the next step S332, and the routine is ended. When the discharge system 1 ends discharging first, the process proceeds to steps S330 to S332 and ends.
[0130]
On the other hand, if the discharge system 2 has finished discharging first, “No” is determined in step S330, and when this routine is executed again, the discharge 1 end flag is set to “1” in step S314. Then, the process proceeds to step S316, where “Yes” is determined, the process jumps to step S332, the discharge end flag is set to “1”, and the routine is ended.
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 discharge registers 1 and 2. By operating the first and second discharge solenoids independently of each other based on the value of, a large number of prize balls can be discharged more quickly.
[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 discharge 1 error release flag set in step S7232 of the discharge sensor 1 level input process of FIG. 14 is “1”, and the discharge sensor 2 level input process of FIG. In step S7432, it is determined whether or not the discharge 2 error release flag is “1” (steps S342 and S344). If both determinations are “Yes”, the processing in step S346 and subsequent steps is performed. In steps S346 to S352, according to the same procedure as in steps S61 to S63 in the winning ball start process of FIG. 23, the discharge sensor 1 ball presence flag and the discharge sensor 2 set in the discharge sensor level input processing routine of FIGS. The ball existence flag and the half edge sensor ball existence flag set in the half edge sensor input processing routine of FIG. 17 are checked. If any one of the flags is “0”, the dischargeable flag is set to “0”. Clear and end (step S354).
[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 discharge register 1 and the discharge register 2 exceed "1". If the value of the discharge register 1 is "1" or less, the value of the discharge register 2 When the value of the discharge register 2 is “1” or less, the value of the discharge register 1 is set. When both the values of the discharge register 1 and the discharge register 2 exceed “1”, both values are set as the discharge register. It is set to 0 (steps S364, S366, S368). Then, the same process as the discharge start process of FIG. 24 is performed (step S378).
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 discharge register 0 and again. Since the discharge starts, the discharge using the other normal discharge system is performed, and the pachinko gaming machine interruption due to the failure can be avoided.
[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 discharge display lamp 112 is turned on, and when the number is “3”, it is lent. The ball discharge display lamp 113 is lit (steps S370, S372, S374, S376). Further, after the discharge start process (step S378) is completed, the discharge error flag is cleared to “0” and this routine is ended (step S380).
When the value of the discharge register 1 is “1” or less in the above step S360, the value of the discharge register 2 is set to the discharge register 0 in step S364. In spite of this, the error recovery process of this routine has been entered because it can be estimated that the number of undischarged balls remains in the discharge register 2. Similarly, when the value of the discharge register 2 is “1” or less in step S362, the value of the discharge register 1 is set to the discharge register 0 in step S366. The number of undischarged balls remains in the discharge register 2. It is because it can be estimated that it is.
[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 discharge sensor 1 ball presence flag and the discharge sensor 2 ball presence flag set in the discharge sensor level input processing routine of FIGS. 14 and 15, and the half-end sensor input processing routine of FIG. The set half-end sensor ball presence flag is checked (steps S402 to S406). If any one of the flags is “0”, the dischargeable flag is cleared to “0” and the process ends (step S410). ).
[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 discharge display lamp 113 is turned on (step S416), the ball lending sound request flag and the P stand ready flag are set to “1” (steps S418 and S420), and then the discharge common to the winning ball discharge processing is performed. After the start processing routine (see FIG. 24) is executed to start discharging by the ball discharging device 170, the processing number is set to “3” and the processing is ended (steps S422 and S424).
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 board control device 400 to a low level in the sound request output process (FIG. 38) described later. The P-ready ready flag is used to assert a ball lending ready signal U output to the ball lending control device 500 to a low level in a lending ball information output process (FIG. 39) described later.
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 CPU 610 on the discharge control device side described above.
[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 discharge display lamp 113 is turned off (OFF), and the continuous ball lending counter is incremented. The routine ends (steps S444 and S446).
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 CPU 610 on the discharge control device side described above.
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 discharge solenoids 1 and 2 is started and the ball removal processing is executed in steps S620 and S622 described later. Is.
[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 discharge 1 end flag and the discharge 2 end flag used for storing the completion of the ball removal processing by the first and second discharge means are reset to “0”. These discharge 1 end flag and discharge 2 end flag can be used as they are in the above-described combined discharge process, and the two flags are used for determination in steps S628, S646 and the like described later. In the next step S611, a ball removal start timer is set / started. This ball removal start timer is for providing a predetermined idle time sufficient to switch the switching valve 158 of the ball removal device in advance before the discharge solenoids 1 and 2 are actually excited (ON). .
[0144]
In the next step S612, the ball removal solenoid is excited (ON) to switch the switching valve 158, and then the ball removal start flag is set to “1” (step S614).
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 discharge solenoids 1 and 2 are excited (ON) in steps S620 and S622, respectively, and the outflow of the prize balls is started. The execution flag is set to “1” (step S624).
[0147]
Thus, once the discharge solenoids 1 and 2 are energized (ON) and the ball removal execution flag is set to “1”, the determination result in step S604 becomes “Yes” in the subsequent loop, and step S606. The processes of ˜624 are skipped.
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 discharge 1 end flag is “1” (step S684), and the determination result is “Yes”, that is, the first discharge of the ball discharge device 170 at this time. When all of the solenoid-side prize balls have flowed out (when the flag has been completely drained of the first discharge solenoid-side prize balls, its value is set to “1” in step S642 described later) Proceeding to step S686, the discharge solenoid 1 is demagnetized (OFF), and thereafter, the process proceeds to step S688. On the other hand, when the determination result is “No”, step S686 is skipped and the process proceeds to step S688.
[0149]
In step S688, it is further determined whether or not the discharge 2 end flag is “1”, and the determination result “Yes”, that is, all the outflows of the prize balls on the second discharge solenoid side of the ball discharge device 170 at this time are completed. (If the flag has been completely discharged from the prize ball on the second discharge solenoid side, the value is set to “1” in step S660 to be described later.) The process proceeds to step S690 and the discharge solenoid 2 is demagnetized ( Then, the process proceeds to step S692. On the other hand, if the determination result is “No”, step S690 is skipped and the process proceeds to step S692 and subsequent steps.
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 discharge 1 end flag is “1”. Is done. This discharge 1 end flag is reset to “0” in the above-described step S609 when the main ball removal process is executed for the first time. On the contrary, when all prize balls are discharged by the ball removal process. In step S642, which will be described later, “1” is set.
[0150]
Accordingly, when the prize ball on the first discharge solenoid side of the ball discharge device 170 has not yet been discharged by the main ball removal process, the determination result of step S628 is “No”, and the processes after step S630 are executed. Is done.
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 ball discharge device 170 is completed (step S644). The value is set to “1” when the ball is discharged and the prize ball is no longer in the first guide rod (in the discharge sensor 1) and the sensor output becomes “0”.
[0151]
Therefore, the determination result is “No” from the start of ball removal until the prize ball is exhausted in the discharge sensor 1, and whether or not the output of the discharge sensor 1 is at a low level (“0”) in step S632. Is determined. When the ball removal process is not completed and the prize ball still remains in the discharge sensor 1, the determination result is “No”, and the process directly proceeds to step S646 and subsequent steps.
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 sensor 1 is set (Step S636), and the process proceeds to Step S646 and subsequent steps.
[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 discharge sensor 1 is the low level (“0”).
If the determination result is “Yes”, that is, it is determined that the output level of the discharge sensor 1 is maintained at the low level in the current loop following the previous loop, the process proceeds to step S640, and the discharge one ball set in step S636 is absent. It is determined whether the timer has expired. When this determination result is “No”, that is, when it is determined that there is no prize ball in the first guide rod (in the discharge sensor 1), steps S642 and S644 are skipped. Then, the process proceeds to step S646 and subsequent steps.
[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 discharge sensor 1 is maintained at the low level, the determination result in step S640 turns to “Yes”, the discharge 1 end flag is set to “1” (step S642), and the discharge 1 is further performed. The ballless flag is reset to “0” (step S644), and the process proceeds to step S646 and subsequent steps.
As described above, once the discharge 1 end flag is set to “1”, the determination result of the step S628 becomes “Yes” in the next and subsequent loops, and the steps S630 to S644 are skipped and the step S646 and subsequent steps are directly performed. Will proceed to.
[0154]
By the way, this routine is started, and after the output of the discharge sensor 1 once becomes a low level (at this time, the discharge one ball no flag is “1”), the discharge sensor 1 again before the discharge one ball no timer expires. When the output level changes to a high level (“1”), the determination result in step S638 turns to “No”, and the discharge 1 end flag is not set to “1” (step S642 is skipped). In step S644, the one-ball no-discharge flag is reset to “0”, and the process proceeds to step S646 and subsequent steps. As a result, the fall of the output signal that occurs between the time when one prize ball passes through the discharge sensor 1 and the time the next prize ball reaches inside the sensor 1, the time when noise occurs in the output signal of the sensor 1, etc. When the waveform of the output signal temporarily falls, it is not erroneously determined that the prize ball in the guide rod has been completely discharged.
[0155]
In the next step S646, it is further determined whether or not the discharge 2 end flag is “1”.
This discharge 2 end flag is reset to “0” in the above-described step S610 when the main ball removal process is executed for the first time, and conversely, when all prize balls are discharged by the ball removal process. In step S660, which will be described later, “1” is set. Therefore, when the prize ball on the second ejection solenoid side of the prize ball ejection device 170 has not yet been ejected by the main ball removal process, the determination result in step S646 is “No”, and the processes after step S648 are performed. Executed.
[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 ball discharge device 170 is completed (step S662). The value is set to “1” when the ball flows out and the prize ball is gone in the second guide rod (in the discharge sensor 2) and the sensor output becomes “0”.
Accordingly, the determination result is “No” from the start of ball removal until there is no prize ball in the discharge sensor 2, and whether or not the output of the discharge sensor 2 is low level (“0”) in step S650. Is determined. When the ball removal process is not completed and the prize ball still remains in the discharge sensor 2, the determination result is “No”, and the process directly proceeds to step S664 and subsequent steps.
[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 discharge sensor 2 is the low level (“0”).
[0158]
If the determination result is “Yes”, that is, it is determined that the output level of the discharge sensor 2 is held at the low level also in the current loop following the previous loop, the process proceeds to step S658, and there is no discharge 2-ball set in step S654. It is determined whether the timer has expired. When this determination result is “No”, that is, when it is determined that there is no prize ball in the second guide rod (in the discharge sensor 2), steps S660 and S662 are skipped. The process proceeds to step S664 and subsequent steps.
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 discharge sensor 2 is kept at the low level, the determination result in step S658 turns to “Yes”, the discharge 2 end flag is set to “1” (step S660), and further, the discharge 2 The no-sphere flag is reset to “0” (step S662), and the process proceeds to step S664 and subsequent steps.
As described above, once the discharge 2 end flag is set to “1”, the determination result of step S646 becomes “Yes” in the next and subsequent loops, and the steps S648 to S662 are skipped, and after step S664. It will go on.
[0160]
By the way, this routine is started, and once the output of the discharge sensor 2 becomes a low level (at this time, the discharge two-ball no flag is “1”), the discharge sensor 2 again before the discharge two-ball no timer expires. When the output level changes to a high level (“1”), the determination result in step S656 turns to “No”, and the discharge 2 end flag is not set to “1” (step S660 is skipped). In step S662, the no-eject 2-ball flag is reset to "0", and the process proceeds to step S664 and subsequent steps. As a result, the fall of the output signal that occurs until one prize ball passes through the discharge sensor 2 and the next prize ball reaches the sensor 2, or when noise occurs in the output signal of the sensor 2, etc. When the waveform of the output signal temporarily falls, it is not erroneously determined that the prize ball in the guide rod has been completely discharged.
[0161]
After determining that the prize ball on the second discharge solenoid side of the ball discharge device 170 has been completely discharged as a result of executing steps S646 to S662, the determination result of step S646 changes to “Yes” in step S664. It is determined again whether or not the extraction of the prize ball on the first discharge solenoid side has been completed (whether the discharge 1 end flag is “1”).
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 ball discharge device 170 is completed at this time, first, the ball removal execution flag and the ball removal start are started. Both the flags are reset to “0” (steps S666 and S668), and the discharge solenoids 1 and 2 are demagnetized (OFF) to end the ball removal process (steps S674 and S676). ) (Step S678), the process NO is reset to “0” (Step S680), and this routine is terminated.
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 discharge 1 end flag is “1”.
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 ball discharge device 170 is completed). In step S704, it is further determined whether or not the discharge sensor 1 startup flag is “1”.
[0164]
When the determination result is “Yes”, that is, after the forcible termination process is once performed, when a new prize ball reaches the sensor 1, the discharge solenoid 1 is demagnetized (OFF) at this time (step S706). Next, the discharge 1 end flag is forcibly set to “1” (step S708), and the process proceeds to step S710. On the other hand, if “No”, the steps S706 and S708 are skipped and the process proceeds to step S710. .
In step S710, it is determined whether the discharge 2 end flag is “1”. The determination result of this step S710 is “No”, that is, before the ball removal process is completed (when the value of the flag is “1”, the ball discharge on the second discharge solenoid side of the ball discharge device 170 is completed). When the forced termination process is started, it is further determined in step S712 whether or not the discharge sensor 2 rising flag is “1”.
[0165]
When this determination result is “Yes”, that is, after the forced termination process is once performed, when the new prize ball reaches the sensor 2, the discharge solenoid 2 is demagnetized (OFF) at this time (step S714). Then, the discharge 2 end flag is forcibly set to “1” (step S716), and this routine is ended.
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 discharge 2 end flag is set to “1”, the determination result in step S710 is “Yes” in the next and subsequent loops, and it is further determined whether or not the discharge 1 end flag is “1”. (Step S718). If this determination result is “No”, that is, at this time, the first discharge sensor 1 of the prize ball discharge device has not detected a new prize ball after the start of the forced termination process, this routine is ended as it is. In this case, the processing of steps S702 to S708 is continued in the next and subsequent loops.
[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 second discharge sensors 1 and 2 of the prize ball discharge device are both new prize balls. , 2 is detected, the processing after step S724 described later is performed.
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 discharge 1 is completed). Either one of the flag and the discharge 2 end flag is “0”), the discharge solenoid 1 and the discharge solenoid 2 are forcibly demagnetized (OFF) in steps S720 and S722, respectively, and the process proceeds to step S724 and subsequent steps.
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 discharge sensor 1 ball existence flag and the discharge sensor 2 ball existence flag set in the discharge sensor level input processing routine (FIGS. 14 and 15), and the half-end of FIG. The half-end sensor ball presence flag set in the sensor input processing routine is checked (steps S1002 to S1006). If any one of the flags is “0”, the dischargeable flag is cleared to “0”. The process ends (step S1010).
[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 discharge register 1 and the discharge register 2 respectively exceed “1”. When the value of the discharge register 1 is “1” or less, the value of the discharge register 2 is set. When the value of the discharge register 2 is “1” or less, the value of the discharge register 1 is set. When both values exceed “1”, both values are set in the discharge register 0 (steps S1022, S1024, S1026).
[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 discharge register 0 and the discharge is started again. Therefore, it is possible to discharge the undischarged balls immediately after recovery from the power failure.
When the value of the discharge register 1 is “1” or less in step S1018, the value of the discharge register 2 is set to the discharge register 0 in step S1022, because the value of the discharge register is “1”. This means that the discharge has ended, and it can be estimated that the number of undischarged balls remains in the discharge register 2. Similarly, when the value of the discharge register 2 is “1” or less in step S1020, the value of the discharge register 1 is set to the discharge register 0 in step S1024. The number of undischarged balls remains in the discharge register 1. It is because it can be estimated that it is.
[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 discharge display lamp 113 is turned on (step S1034). The same routine as the discharge start process shown in FIG. 24 is executed to start discharge by the ball discharge device 170 (step S1036). Then, the memory indicating that the ball lending was being discharged is erased, the processing number is set to “3” (steps S1038, S1040), and then the process proceeds to step S1050 to clear the power failure flag to “0”. End the routine. The reason why the process number is set to “3” is to end the ball discharge started in step S1036 in the ball rental discharge process S17 of the main routine.
On the other hand, in the continuous prize ball discharge after step 1042, the prize ball discharge display lamp 112 is turned on and then the same routine as the discharge start process shown in FIG. (Step S1044). Then, the memory indicating that the winning ball was being discharged is erased, the processing number is set to “2” (steps S1046 and S1048), and then the process proceeds to step S1050 to clear the power failure flag to “0” and End the routine. The reason why the process number is set to “2” is to end the prize ball discharge started in step S1044 in the prize ball discharge process S18 of the main routine.
[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 board control device 400 is asserted to a low level, and if it is high level, the process proceeds to step S854 and the ball sound lending request flag is set. It is determined whether or not “1” is set. The ball lending request flag is a flag that is set in step S418 when the ball lending start processing routine (FIG. 32) described above is executed and lending ball discharge is started.
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 board control device 400 is asserted to a low level. If it is high, the process proceeds to step S874, and it is determined whether or not the prize ball sound request flag is set to "1". The prize ball sound request flag is a flag set in step S89 when the prize ball start processing routine (FIG. 23) described above is executed and prize ball discharge is started.
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 lending control device 500 is continuously at a low level for 5 milliseconds or more in the ball lending request detection processing routine shown in FIG. It is a flag that is sometimes set (step S4122).
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 lending control device 500 is low level (valid) or high level (invalid). As a result, if it is at the high level, the process proceeds to step S808, and it is determined whether or not the payout end flag set when the discharge ends in the ball lending discharge processing routine (FIG. 32) is “1”. If “No”, the process proceeds to step S810, where it is determined whether or not the P-ready ready flag is “1”. If “No”, the ball lending ready signal U is negated to a high level, and if “Yes”, The ball lending ready signal U is asserted to the low level, and this routine is finished (steps S812 and S814).
Therefore, when the ball lending request signal from the ball lending control device 500 is detected and the ball lending request flag is set in the ball lending request detection process (FIG. 19), it is determined as “Yes” in step S11 of the main routine. The ball lending start processing routine (FIG. 32) is executed to start ball lending discharge and the P-ready ready flag is set to “1”. Therefore, in the ball lending information output processing routine, the process proceeds from step S802 to step S806. Jump is made, and “No” is determined in steps S806 and S808, and “Yes” is determined in step S810, and the ball lending ready signal U is asserted to a low level.
[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 lending control device 500 and the discharged loan ball number signal J (one pulse represents the number of balls in the minimum conversion unit) output to the hall management device are asserted to the low level, and the payout is completed. After setting (starting) the timer and clearing the payout end flag to “0” (steps S816, S818, S820, S822), the process proceeds to steps S810-S814, and the ball lending ready signal U is continuously asserted to the low level. Keep it.
[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 lending control device 500 detects this and negates the ball lending request signal to a high level. ), It is detected that the ball lending request signal T has been changed to the high level, and the ball lending request flag is reset. Then, when this routine is executed again, it is determined as “No” in step S802, so that the process proceeds to step S804 and the P-ready ready flag is cleared to “0”. Further, since the payout completion signal V is negated to a high level, “No” is determined in step S806, and the process proceeds to steps S808 and S810. In step S810, “No”, that is, the P machine ready flag is determined to be “0”. Is done. As a result, the ball lending ready signal U is negated to a high level and the process ends.
[0180]
Next, an example of a control procedure for the entire gaming board performed by the gaming board control device 400 described above will be described in detail with reference to FIG.
This control flow is executed every predetermined time (for example, 2 msec) by timer interruption after the game board control device 400 is powered on.
When this interrupt processing is started, first, switch input processing for reading signals from the prize-by-prize winning detector 490 and other various switches (including sensors) provided in the game board 102 is performed (step S80). Next, the power-on reset signal from the reset circuit RST is checked to determine whether the power is turned on (step S81). If it is determined that the power is turned on, the RAM and input / output ports are initialized and the interrupt process is terminated (step S82).
[0181]
On the other hand, if “No” in step S 81, that is, if it is determined that the power has been turned on, the process proceeds to step S 83 to count the detection signal of the prize-by-prize winning detector 490 and request the prize ball number data from the discharge control device 600. After performing a prize ball process (see FIG. 41) that responds to this, after executing a fraud detection process (step S84) for checking whether fraud has been made based on signals from various switches and sensors in the gaming machine, A flag set during the detection process is checked to determine whether or not there is any fraud (step S85).
When fraud is detected in step S85, an illegal operation process such as blinking a display provided in the gaming machine or driving the speaker 190 to issue an alarm is executed in step S86, and the interrupt process is terminated. . If it is determined in step S85 that there is no fraud, the process proceeds to step S87, where an output port is set in order to drive an accessory provided on the game board 102, turn on / off the display, or generate a sound effect by the speaker. After the game process to be set is performed, an output process (step S88) for outputting the state of the output port is performed.
[0182]
Thereafter, in step S89, it is determined whether or not a ball lending request signal is received from the discharge control device 600. If received, a ball lending discharge sound is output to the speaker 190 (step S90). In the next step S91, it is determined whether a prize ball sound request signal has been received from the discharge control device 600. If it has been received, a prize ball emission sound output process is performed and the interrupt process is terminated (step S92). .
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 game board 102 are turned on in steps S801 and S803, respectively. In this embodiment, the prize ball discriminating SW1 is provided at a prize opening for giving seven prize balls to one prize ball, and the prize ball discrimination SW2 is a prize giving ten prize balls to one prize ball. It shall be provided in the mouth.
[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 discharge control device 600. If there is no request for data, the winning ball process is terminated.
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 S 815, “15 discharged” is set as prize ball number data in the transmission buffer in step S 819, and then the process proceeds to step S 821 to set in the transmission buffer. The awarded ball number data thus written is written in the register in the serial interface SIF, and the process ends.
[0185]
Next, a ball lending request signal for the discharge control device 600 is formed and output by a control signal for the card reader 250, a driving signal for the balance display 122, and a signal from the ball lending conversion button 123 provided in the pachinko gaming machine. The control procedure of the ball lending control device 500 will be described in detail with reference to FIGS.
FIG. 42 shows an outline of the main routine of the ball lending control device.
This main routine is repeatedly executed when the ball lending control device 500 is turned on.
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 possible indicator 126 is temporarily turned off, and a drive signal for displaying the balance zero (“000” in the case of three digits display) is generated and output on the balance indicator 122. (Step S8006).
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 discharge control device 600 is first examined to determine whether or not the signal has fallen (step S8102). If “No”, that is, if the ball lending enable signal U has not fallen, the process proceeds to step S8104 to check the ball lending enable signal U to determine whether the signal has risen. The ball lending enable signal U is a response to the ball lending control device 500 sending a ball lending request signal T (low level) to the discharge control device 600, and the discharge control device 600 is short of balls in the storage tank 151 or a game. This signal is changed to a low level when it is detected that the stop state of the board is released. When the system is turned on and the control of the discharge control device 600 is started, the ball lending enable signal U is high. Leveled. For this reason, when the ball lending control device 500 detects the rise of this signal in step S8104 and determines “Yes”, it proceeds to step S8106 and makes a reservation for sending a function code notifying that the card reader control device 250 can accept a card. Then, the process returns to step S8102.
[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 lending indicator 126 is lit. The ball lending possible indicator 126 is a lamp that is turned on when a card amount is received from the card reader controller 250 in the function transmission / reception process (FIGS. 46 and 47) described later. Therefore, before the card is inserted into the card reader, the determination in step S8108 is “No”, the process returns to step S8102, and the above steps are repeated.
Then, when a card is inserted into the card reader, the card amount is transmitted from the card reader control device 250, and the lendable indicator 126 is turned on, the determination in step S8108 becomes “Yes” and the process proceeds to step S8110. . In step S8110, it is confirmed whether the ball lending enable signal U is at a high level. If “Yes”, the process proceeds to the next step S8112, and if “No”, the process returns to step S8102. As described above, the ball lending enable signal U is a signal that is changed to a low level in response to the ball lending request signal T being sent from the ball lending control device 500 to the discharge control device 600, and the ball lending enable signal U Is at the low level because it is considered that the ball lending discharge process has already started.
[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 possible indicator 126 is lit. If it is lit, the process proceeds to step S8105, the ball lending possible indicator 126 is extinguished and the magnetic writing function transmission reservation is made (step S8107), and if the determination in step S8103 is "No", the step is continued. Proceeding to S8109, a transmission reservation for the unacceptable function indicating that the card cannot be accepted is made, and the process returns to step S8102. This is because the ball lending enable signal U falls to the low level also when the discharge control device 600 detects that there is a shortage of balls in the storage tank 151 or that the game board has been stopped.
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 balance storage unit 542 is checked to determine whether the balance is zero. If “Yes”, the process returns to step S8102 without doing anything. If “No”, that is, if the balance is not zero, the value set in the ball lending number setting means 506 is checked in steps S8116 to S8122. If the set value is “0”, the process returns to step S8102 to repeat the above steps. Normally, the power is turned on with the ball lending number setting means 506 set.
[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 S 8132 to set the payout number register to “3”. Furthermore, if “No” in step S 8126, that is, it is determined that the card balance is less than 300 yen, or if it is determined in step S 8120 that the number of balls for 200 yen has been set, the process proceeds to step S 8128 and the card is transferred. It is determined whether the remaining balance is 200 yen or more. If “Yes”, the process proceeds to step S 8134 to set the payout number register to “2”. Similarly, if “No” is determined in step S8128, that is, if it is determined that the card balance is less than 200 yen, or if it is determined in step S8122 that the number of balls lending for 100 yen is set, the process proceeds to step S8136. The payout count register is set to “1”.
Thus, even when the ball lending discharge number of the ball lending control device 500 is set to “2” (200 yen) or more and the balance of the card inserted into the card reader is equal to or less than the set amount, the card It is possible to convert all the remaining money into a lending ball and prevent the card from being used with a fraction remaining.
[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 possible indicator 126 is turned off. If it is lit, the ball lending flag is set to “1” in step S8140. Then, the process proceeds to step S8142 in FIG. However, if it is determined in step S8138 that the ball lending possible indicator 126 is turned off, the process proceeds to step S8196 in FIG. 44 to reserve transmission of the magnetic writing function and the card ejection function (step S8197), and the effective display lamp. Is turned off and zero is displayed on the insertion balance display (steps S8198 and S8199), the ball lending flag is cleared (step S8188), and the process returns to the first step S8102. This is to prevent the ball lending discharge process from being started by pressing the return button immediately after pressing the ball lending conversion button. In the return process of FIG. 45, if the return button is turned on while the ball lendable indicator 126 is lit, a command is given to turn off the ball lendable indicator 126 and then eject the card from the card reader. It has become. The number of payouts set in steps S8130 to S8136 is rewritten when the card is inserted again and the process proceeds to the above step.
[0191]
When the process proceeds to step S8142 in FIG. 44, the ball lending request signal T for the discharge control device 600 is asserted to a low level, and then a PRQ timer (3 msec) waiting for a response of the ball lending enable signal U is set (step) S8144). Then, it is determined whether the ball lending enable signal U from the discharge control device 600 has fallen. If “No”, it is determined whether the timer has expired (steps S8146, S8148). If the ball lending enable signal U falls before the PRQ timer expires, the process jumps to step S8192 to suspend ball lending processing, and reserves transmission of the magnetic writing function and the unacceptable function (step SS8194). After that, the ball lending flag set in step S8140 is cleared to “0” (step S8188), and the process returns to the first step S8102. In the discharge control device 600, since the ball lending enable signal U is asserted to the low level 5 msec after the ball lending request signal T is received, the ball lending enable signal U falls to the low level within 3 msec. This is because it is considered that this is a case where the discharge control device 600 detects that there is a shortage of balls in the storage tank 151 or that the game board has been released. The function transmission / reception processing of FIG. 46 is executed by the transmission reservation. However, in this case, the card balance data sent to the card reader together with the magnetic writing function code is the same as the data when read.
[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 possible indicator 126 is turned off to notify that the ball lending discharge processing has been started. To do. Then, the PRQ timer is set to 3 seconds, for example (step S8152). It is determined whether or not the timer has expired. If “No”, it is determined whether or not the ball lending enable signal U is at a low level (steps S8154 and S8156). If the PRQ timer expires before the ball lending enable signal U goes low, the process jumps to step S8196 to make a transmission reservation for the magnetic writing function and card ejection function (step S8198), and then in step S8140. The set ball lending flag is cleared to “0” (step S8188), and the process returns to the first step S8102. Since the discharge control device 600 is configured to assert the ball lending enable signal U to the low level 5 m seconds after the ball lending request signal T is input, 3 seconds or more have elapsed after the ball lending request signal T falls. The ball lending enable signal U does not become low because it is considered that there is an abnormality on the discharge device side.
[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 card management device 800. The counter is incremented by “1” (steps S8170 and S8172). Then, the process proceeds to step S8174 to determine whether or not the number of payouts has become “0”. If “No”, the process returns to step S8158 to repeat the above procedure, and if “Yes”, that is, the number of payouts is “0”, step The process moves to S8176. In step S8176, the ball lending request signal T is negated to a high level, and then the PRQ timer is set to 3 seconds in the next step (step S8178).
[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 display 126 is turned on, the process proceeds to step S8188, the ball lending flag set in step S8140 is cleared to zero, and then the process returns to the first step S8102.
[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 return button 124 is turned on (step S8202). If “Yes”, the process proceeds to step S8204 to check whether the ball lending possible indicator 126 is lit. The ball lending possible indicator 126 is a lamp that is turned on when a card is inserted into the card reader and the ball lending conversion button 123 is valid. If it is determined “Yes” in step S8204, that is, the lamp is turned on, the process proceeds to step S8206. After the ball lending display 126 is turned off, the magnetic writing function transmission reservation and the card ejection function transmission reservation are made, the valid display lamp is turned off, and zero is displayed on the insertion balance display (steps S8212 and S8214). ), The process returns to step S8202 to wait for the next return button to be turned on. When the card reader receives this function, the card is ejected from the card reader. Thereafter, the valid display lamp 230 is turned off, and the display (three digits) on the insertion balance indicator 220 is changed to “000” (steps S8212 and S8214).
[0198]
On the other hand, when the return button is turned on when the ball lending possible indicator 126 is turned off, the process proceeds from step S8204 to step S8216, and the ball lending set in step S8140 of the ball lending process (FIG. 43). The middle flag is checked to determine whether or not the ball lending process is in progress. If the ball is not being lent, nothing is done and the process returns to step S8202. Since the ball lending indicator 126 is turned off, it means that the ball lending is in progress or the card does not exist in the card reader, so there is no need to instruct the card reader to return the card even if the return button is turned on. Because.
If “Yes” in step S 8216, that is, it is determined that the ball lending is in progress, the process proceeds to step S 8218, in which the ball lending flag is also checked to determine whether the ball lending process has been completed. This step is repeated until the ball lending flag becomes “0”. When the ball lending process is completed, the process proceeds to step S8220, and it is determined whether or not the card balance is “0”. If the card balance is not "0", the process proceeds to step S8206 to turn off the ball lendable indicator 126, and then make a magnetic writing function transmission reservation and a card ejection function transmission reservation. The process returns to step S8202 and waits for the return button to be turned on next time.
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 reader control device 250 executed in step S8012 of the main routine (FIG. 42).
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 card reader controller 250. judge.
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 reader control device 250 to the ball lending control device 500, the ball lending control device 500 received the ENQ before the response timer timed out. In step S8324, the ENQ reception flag is cleared to "0" and an ACK code is transmitted. When the response timer times out before receiving the ENQ, it means that there is no response to the reception result for the text transmission. Therefore, it is determined that there is a communication error, and the process proceeds to step S8340 to indicate an error code indicating the communication error. Is written in the display data buffer, and the code is displayed on the balance display 122 in step S8344 to stop the control operation.
[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 balance display 122 in step S8344, and the control operation is stopped.
[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 balance display 122, and the control operation is stopped. If it is normal termination, it is determined that a series of transmission processing has been completed, and the process returns to step S8300 to perform processing for the next transmission reservation. If not, the process returns to step S8318 to re-receive the reception result function code. Do.
[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 card reader controller 250. Determine if it has been received. If the ENQ has been received, the process proceeds to step S8351 to reset the ENQ reception flag, and then proceeds to step S8352. After transmitting the ACK code, the response timer is set to 10 seconds (step S8354). A transmission interrupt is generated by the transmission of this ACK, and a transmission interrupt process (FIG. 50) described later is executed. Therefore, in step S8356, it is determined whether the response timer has expired. If “No”, it is determined whether the function indicating the content of the reception result has been received by looking at the FNC reception flag set in the reception interrupt process (FIG. 51). (Step S8358). Then, when the response timer expires before receiving the function, it means that there is no response to the ACK transmission, so it is determined that there is a communication abnormality and the process proceeds to step S8340 in FIG. 46 to indicate the communication abnormality. The error code is written into the display data buffer, and the code is displayed on the balance display 122 in step S8344 to stop the control operation.
[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 possible indicator 126 is turned on, and the contents (balance data) of the reception buffer are written in the card balance storage unit (step S8366). Then, the valid display lamp 230 is turned on, the received card balance is stored in the inserted balance storage unit and displayed on the inserted balance display 220, and the receiving process is terminated (steps S8368 and S8370).
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 S 8372 to make a card ejection function reservation for the card reader, and the process ends.
[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 card management device 800 that receives the pulse can reliably count the settlement signal pulses.
[0207]
FIG. 49 shows an example of a specific procedure of timer interrupt processing executed by the ball lending control device 500 by timer interruption, for example, every 1 m seconds, separately from the main routine (FIG. 42).
In this timer interrupt process, the balance data is read from the card balance storage unit, the display signal of the balance indicator 122 is formed and output, the card balance is displayed (step S8502), and each of the main routines used in the main routine is displayed. The timer is set to “−1” and the process ends (step S8504).
[0208]
FIG. 50 and FIG. 51 show an example of specific procedures of transmission interrupt processing and reception interrupt processing executed by the ball lending control device 500 separately from the main routine (FIG. 42).
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 reader control device 250 is received.
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 S 8668 to set the function reception flag to “1” to end the interrupt process. If “No”, the process proceeds to step S 8670 to make a retransmission request function transmission reservation and perform the interrupt process. finish.
[0212]
Next, when a card is inserted into the ball lending machine 200 and a ball lending conversion button 123 provided in the pachinko gaming machine 100 is pressed to request a ball lending, the ball lending control device 500 and the discharge control device 600 are described. Specific timings of signals transmitted / received to / from will be described with reference to FIG.
When the ball lending conversion button 123 is pressed, the ball lending control device 500 detects this and sends a conversion request signal Y (pulse) to the ball lending control device 500 (timing t1). Then, the ball lending control device 500 detects this, and asserts the ball lending request signal T (BRQ) for the discharge control device 600 to a low level (timing t2). Upon receiving the ball lending request signal T (BRQ), the discharge control device 600 outputs a drive signal for the discharge solenoids 741a and 741b and a drive signal for the lending ball discharge display lamp 113 if the ball discharge device 170 is in a dischargeable state. At the same time, a lending ball discharge sound request signal E (pulse) is transmitted to the game board control device 400, and a ball lending enable signal U (PRQ) supplied to the ball lending control device 500 is asserted to a low level. (Timing t3).
[0213]
The discharge control device 600 monitors the detection signals from the discharge sensors 730a and 730b, and when the number of discharges reaches 25 (100 yen), the drive signals of the discharge solenoids 741a and 741b and the lending ball discharge display lamp 113 are displayed. And the payment completion signal V (pulse) to the ball lending control device 500 and the settlement signal J to the hall management device 700 (timing t4). When the ball lending control device 500 receives the payout completion signal V, the ball lending control device 500 subtracts the card balance, and when it determines that the balance is not zero and the predetermined number of discharges has not been completed, the ball lending request signal T is asserted to the low level as it is. (Timing t5). Then, the discharge control device 600 outputs again the drive signals of the discharge solenoids 741a and 741b and the drive signal of the lending ball discharge display lamp 113, and the lending ball discharge sound request signal E (pulse) to the game board control device 400. Is transmitted (timing t6).
[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 discharge display lamp 113 are turned off, and the payout to the ball lending control device 500 is completed. The signal V (pulse) and the settlement signal J are transmitted to the hall management device 700 (timing t7). When the ball lending control device 500 determines that the predetermined number of discharges has been completed, the ball lending control device 500 negates the ball lending request signal T to a high level (timing t8). Then, the discharge control device 600 isballThe ball lending enable signal U supplied to the lending control device 500 is negated to a high level, and the ball lending discharge processing is ended.
  In the above embodiment, the detection signal of the safe sensor 181 in the winning ball separation / detection device 180 is input to the discharge control device 600, and when the discharge control device 600 detects a winning ball, the game board control device 400 is awarded. The prize balls are discharged based on the received prize ball number data upon requesting the ball number data. However, the present invention is not limited to this. For example, the detection signal of the safe sensor 181 is used as the game board control device 400. When the game board control device 400 detects a winning ball, the prize ball number data can be transmitted to the discharge control device 600 to cause the prize ball to be discharged.
[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 lending conversion button 123, the return button 124, the balance indicator 122 and the like are provided on the operation panel 121 on the upper surface of the supply tray 120. However, these positions are not limited to the supply tray, and It can be provided at an arbitrary position on the front surface of the gaming machine or on the front surface of the ball lending machine 200.
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 tray 140 of the pachinko gaming machine 100 or the like. It may be built in the machine.
[0216]
【The invention's effect】
  According to the invention of claim 1,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 machineThere is no need for the troublesome work of transferring the rental balls from the ball lending machine as in the prior art, and it is possible to concentrate on the game.
  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 claim 2, the discharge control circuit suppresses continuous ball lending when the continuous ball lending counter exceeds a predetermined value, so that it is possible to suppress the occurrence of an unexpected situation.
[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 ball discharge device 170. FIG.
4 is a block diagram showing an embodiment of a control system of the pachinko gaming machine 100 and the ball lending machine 200. FIG.
FIG. 5 is a block diagram showing a configuration example of the game board control device 400. FIG.
FIG. 6 is a system configuration diagram showing a specific configuration example of the game board control device 400;
7 is a block diagram showing an example of the configuration of a discharge control device 600. FIG.
FIG. 8 is a block diagram illustrating a configuration example of a ball lending control apparatus 500.
FIG. 9 is a block diagram showing a configuration example of card control means constituting the ball lending control device 500.
10 is a flowchart showing an example of a main routine of background control processing by the discharge control device 600. FIG.
FIG. 11 is a flowchart showing an example of a timer interrupt process performed by the discharge control device 600 every predetermined time (for example, 0.5 msec).
12 is a flowchart of an input processing routine of the discharge sensor 1. FIG.
13 is a flowchart of an input processing routine of the discharge sensor 2. FIG.
FIG. 14 is a flowchart showing a routine of level input processing of the discharge sensor 1;
FIG. 15 is a flowchart showing a routine of level input processing of the discharge sensor 2;
16 is a flowchart of an input processing routine of a ball removal sensor 750. FIG.
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 safe sensor 181. FIG.
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 discharge control device 600. FIG.
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 CPU 610 on the prize ball discharge control device side.
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 board control apparatus 400;
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 lending control device 500 in preference to the main routine (background process) of FIG.
FIG. 50 is a flowchart showing a procedure of a transmission interruption process performed by the ball lending control device 500 in preference to the main routine (background process) of FIG.
FIG. 51 is a flowchart showing a procedure of a reception interrupt process performed by the ball lending control device 500 in preference to the main routine (background process) of FIG.
52 is a time chart showing specific timings of signals transmitted and received between the ball lending control device 500 and the discharge control device 600. FIG.
[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.
JP2000027946A 1991-06-03 2000-02-04 Card type pachinko game machine Expired - Fee Related JP3663596B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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