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
JP3602409B2 - Gaming machine - Google Patents
[go: Go Back, main page]

JP3602409B2 - Gaming machine - Google Patents

Gaming machine Download PDF

Info

Publication number
JP3602409B2
JP3602409B2 JP2000131884A JP2000131884A JP3602409B2 JP 3602409 B2 JP3602409 B2 JP 3602409B2 JP 2000131884 A JP2000131884 A JP 2000131884A JP 2000131884 A JP2000131884 A JP 2000131884A JP 3602409 B2 JP3602409 B2 JP 3602409B2
Authority
JP
Japan
Prior art keywords
ball
payout
game
signal
payout control
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
JP2000131884A
Other languages
Japanese (ja)
Other versions
JP2001310043A (en
Inventor
詔八 鵜川
真紀 木下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sankyo Co Ltd
Original Assignee
Sankyo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP2000131884A priority Critical patent/JP3602409B2/en
Publication of JP2001310043A publication Critical patent/JP2001310043A/en
Application granted granted Critical
Publication of JP3602409B2 publication Critical patent/JP3602409B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、遊技者の操作に応じて遊技が行われるパチンコ遊技機、コイン遊技機、スロット機等の遊技機に関し、特に、遊技盤における遊技領域において遊技者の操作に応じて遊技が行われる遊技機に関する。
【0002】
【従来の技術】
遊技機として、遊技球などの遊技媒体を発射装置によって遊技領域に発射し、遊技領域に設けられている入賞口などの入賞領域に遊技媒体が入賞すると、所定個の賞球等の価値が遊技者に払い出されるものがある。遊技媒体の払い出しは払出機構によって行われる。
【0003】
払出機構は、一般に、払出制御基板に搭載された賞球制御手段によって制御される。遊技の進行は主基板に搭載された遊技制御手段によって制御されるので、入賞に応じて払い出される遊技媒体の数量は、遊技制御手段によって決定され、払出制御基板に送信される。
【0004】
また、遊技者は、遊技媒体を借り出し、借り出した遊技媒体および入賞に応じて払い出された遊技媒体を用いて遊技を行う。その際、遊技者からの遊技媒体貸し要求はカードユニット等の貸出要求処理装置で一旦受け付けられ、遊技機の貸出制御手段は貸出要求処理装置と通信することによって遊技者からの貸出要求を受け付ける。遊技機は、遊技者からの貸出要求に応じて遊技媒体を払い出す。払出機構は払出制御手段によって制御されるので、遊技球の貸し出し制御も払出制御手段によって実行される。
【0005】
遊技店には多数の遊技機が設置されるが、各遊技機から貸出要求に応じて払い出される遊技媒体の数量を把握したり、入賞に応じて払い出された遊技媒体の数量の統計を取る等のために、各遊技機に通信路を介して接続されたホールコンピュータが設置されている。上述したように、入賞に応じて払い出された遊技媒体の数量は遊技制御手段から払出制御手段に通知され、また、払出制御手段は球貸し制御も行っている。よって、ホールコンピュータへの賞付与情報(入賞に応じて払い出された遊技媒体の数量に関する情報)および貸出情報(貸出要求に応じて払い出された遊技媒体の数量に関する情報)は、払出制御手段が搭載された払出制御基板から外部に出力されるが、賞制御手段と貸出制御手段とは一体化された払出制御手段で構成されていることが多い。また、一般に、払出制御手段は払出制御マイクロコンピュータを含む構成とされる。
【0006】
【発明が解決しようとする課題】
以上のように、従来の遊技機では、外部出力される賞付与情報は一旦払出制御手段に通知され、払出制御手段から遊技機外部に出力される。入賞に応じて払い出された遊技媒体の数量は、本来遊技制御手段によって決定されるものである。一方、貸出要求に応じて払い出される遊技媒体の数量は払出制御手段によって管理されている。すると、払出制御基板は、自身が管理している貸出情報とともに、遊技制御手段が本来管理している賞付与情報をも外部出力する制御をしなければならない。そのように、自身が管理しているのではない情報を外部管理装置(ホールコンピュータ)に供給するのは合理的ではない。また、払出制御手段は、自身が決定したものではない入賞に応じて払い出された遊技媒体の数量を外部出力しなければならず、余計な負担を強いられていることになる。
【0007】
また、賞付与情報および貸出情報を外部出力するには信号を中継するための基板を遊技機内部に設置する必要があるが、そのような基板は、本来の遊技制御に関わらない基板であるからコストをかけないことが望ましい。さらに、遊技制御手段から情報を外部出力するための信号線を設けた場合には、その信号線を介して不正信号が入力されるおそれがある。
【0008】
そこで、本発明は、外部管理装置に出力される情報処理の合理化を図れるとともに、低コストで賞付与および貸出に関する情報を遊技機外部に出力できる遊技機を提供することを目的とする。
【0009】
【課題を解決するための手段】
本発明による遊技機は、遊技者が所定の遊技を行うことが可能な遊技機であって、遊技に関わる払出条件の成立に基づいて遊技媒体の払出しを行う賞遊技媒体払出機構部(例えば、賞球払出装置)と、貸出要求に基づいて遊技媒体の払出しを行う貸出遊技媒体払出機構部(例えば、球貸し払出装置)とを有し、遊技の進行を制御する遊技制御手段(例えば、主基板31)と、賞遊技媒体払出機構部と貸出遊技媒体払出機構部とを制御して、遊技媒体の払出しに関わる制御を行う払出制御手段(例えは、払出制御手段37)とを備え、遊技制御手段は、遊技の進行における払出条件の成立に基づいて賞遊技媒体払出機構部から払い出される遊技媒体の払出数量(例えば、賞球個数)に関する賞付与情報を出力可能であり、払出制御手段は、貸出要求信号に基づいて貸出遊技媒体払出機構部により払い出される遊技媒体の貸出数量(例えば、球貸し個数)に関する貸出情報を出力することが可能であることを特徴とする。
【0010】
少なくとも遊技制御手段からは、情報出力のみが可能な不可逆性情報伝達手段により中継基板に向けて賞付与情報が出力されるとしても良い。
【0011】
賞遊技媒体払出機構部から払い出された遊技媒体を検出可能に配置された賞遊技媒体払出検出手段(例えば、賞球モータ位置センサ)をさらに備え、遊技制御手段は、賞遊技媒体払出検出手段の検出出力に応じて遊技媒体の払出数を監視することが可能な構成としてもよい。
【0012】
遊技制御手段は、遊技価値の付与数量が所定値となる毎に賞付与情報を出力するとしてもよい。
【0013】
払出制御手段からは、情報出力のみが可能な不可逆性情報伝達手段により中継基板に向けて貸出情報が出力されるとしてもよい。
【0014】
払出制御手段が、貸出数量が所定の数量となる毎に貸出情報を出力するように構成してもよい。
【0015】
賞付与情報と貸出情報とが端子間の導通により外部出力され、遊技制御手段から出力される遊技機の制御に関わる情報については電圧レベルにより外部出力されるようにしてもよい。
【0016】
遊技制御手段からの賞付与情報と払出制御手段からの貸出情報とは、一の中継手段を介して外部に出力されるようにしてもよい。
【0017】
【発明の実施の形態】
以下、本発明の一実施形態を図面を参照して説明する。
まず、遊技機の一例であるパチンコ遊技機の全体の構成について説明する。図1はパチンコ遊技機1を正面からみた正面図である。なお、ここでは、遊技機の一例としてパチンコ遊技機を示すが、本発明はパチンコ遊技機に限られず、例えばコイン遊技機やスロット機等であってもよい。
【0018】
図1に示すように、パチンコ遊技機1は、額縁状に形成されたガラス扉枠2を有する。ガラス扉枠2の下部表面には打球供給皿3がある。打球供給皿3の下部には、打球供給皿3からあふれた貯留球を貯留する余剰球受皿4と打球を発射する打球操作ハンドル(操作ノブ)5が設けられている。ガラス扉枠2の後方には、遊技盤6が着脱可能に取り付けられている。また、遊技盤6の前面には遊技領域7が設けられている。なお、図1には現れないが、打球供給皿3の上面側には、カードユニット50を介した球貸しのための度数表示LED、球貸しスイッチおよび返却スイッチが設けられている。
【0019】
遊技領域7の中央付近には、複数種類の図柄を可変表示するための可変表示部9と7セグメントLEDによる可変表示器10とを含む可変表示装置8が設けられている。また、可変表示器10の下部には、4個のLEDからなる通過記憶表示器(普通図柄用記憶表示器)41が設けられている。この実施の形態では、可変表示部9には、「左」、「中」、「右」の3つの図柄表示エリアがある。可変表示装置8の側部には、打球を導く通過ゲート11が設けられている。通過ゲート11を通過した打球は、球出口13を経て始動入賞口14の方に導かれる。通過ゲート11と球出口13との間の通路には、通過ゲート11を通過した打球を検出するゲートスイッチ12がある。また、始動入賞口14に入った入賞球は、遊技盤6の背面に導かれ、始動口スイッチ17によって検出される。また、始動入賞口14の下部には開閉動作を行う可変入賞球装置15が設けられている。可変入賞球装置15は、ソレノイド16によって開状態とされる。
【0020】
可変入賞球装置15の下部には、特定遊技状態(大当り状態)においてソレノイド21によって開状態とされる開閉板20が設けられている。この実施の形態では、開閉板20が大入賞口を開閉する手段となる。開閉板20から遊技盤6の背面に導かれた入賞球のうち一方(Vゾーン)に入った入賞球はVカウントスイッチ22で検出される。また、開閉板20からの入賞球はカウントスイッチ23で検出される。可変表示装置8の下部には、始動入賞口14に入った入賞球数を表示する4個の表示部を有する始動入賞記憶表示器18が設けられている。この例では、4個を上限として、始動入賞がある毎に、始動入賞記憶表示器18は点灯している表示部を1つずつ増やす。そして、可変表示部9の可変表示が開始される毎に、点灯している表示部を1つ減らす。
【0021】
遊技盤6には、複数の入賞口19,24が設けられ、遊技球のそれぞれの入賞口19,24への入賞は、対応して設けられている入賞口スイッチ19a,24aによって検出される。遊技領域7の左右周辺には、遊技中に点滅表示される装飾ランプ25が設けられ、下部には、入賞しなかった打球を吸収するアウト口26がある。また、遊技領域7の外側の左右上部には、効果音を発する2つのスピーカ27が設けられている。遊技領域7の外周には、遊技効果LED28aおよび遊技効果ランプ28b,28cが設けられている。
【0022】
そして、この例では、一方のスピーカ27の近傍に、景品球払出時に点灯する賞球ランプ51が設けられ、他方のスピーカ27の近傍に、補給球が切れたときに点灯する球切れランプ52が設けられている。さらに、図1には、パチンコ遊技台1に隣接して設置され、プリペイドカードが挿入されることによって球貸しを可能にするカードユニット50も示されている。
【0023】
カードユニット50には、使用可能状態であるか否かを示す使用可表示ランプ151、カード内に記録された残額情報に端数(100円未満の数)が存在する場合にその端数を打球供給皿3の近傍に設けられる度数表示LEDに表示させるための端数表示スイッチ152、カードユニット50がいずれの側のパチンコ遊技機1に対応しているのかを示す連結台方向表示器153、カードユニット50内にカードが投入されていることを示すカード投入表示ランプ154、記録媒体としてのカードが挿入されるカード挿入口155、およびカード挿入口155の裏面に設けられているカードリーダライタの機構を点検する場合にカードユニット50を解放するためのカードユニット錠156が設けられている。
【0024】
打球発射装置から発射された打球は、打球レールを通って遊技領域7に入り、その後、遊技領域7を下りてくる。打球が通過ゲート11を通ってゲートスイッチ12で検出されると、可変表示器10の表示数字が連続的に変化する状態になる。また、打球が始動入賞口14に入り始動口スイッチ17で検出されると、図柄の変動を開始できる状態であれば、可変表示部9内の図柄が回転を始める。図柄の変動を開始できる状態でなければ、始動入賞記憶を1増やす。
【0025】
可変表示部9内の画像の回転は、一定時間が経過したときに停止する。停止時の画像の組み合わせが大当り図柄の組み合わせであると、大当り遊技状態に移行する。すなわち、開閉板20が、一定時間経過するまで、または、所定個数(例えば10個)の打球が入賞するまで開放する。そして、開閉板20の開放中に打球が特定入賞領域に入賞しVカウントスイッチ22で検出されると、継続権が発生し開閉板20の開放が再度行われる。継続権の発生は、所定回数(例えば15ラウンド)許容される。
【0026】
停止時の可変表示部9内の画像の組み合わせが確率変動を伴う大当り図柄の組み合わせである場合には、次に大当りとなる確率が高くなる。すなわち、高確率状態という遊技者にとってさらに有利な状態となる。また、可変表示器10における停止図柄が所定の図柄(当り図柄)である場合に、可変入賞球装置15が所定時間だけ開状態になる。さらに、高確率状態では、可変表示器10における停止図柄が当り図柄になる確率が高められるとともに、可変入賞球装置15の開放時間と開放回数が高められる。
【0027】
次に、パチンコ遊技機1の裏面に配置されている各基板について説明する。
図2に示すように、パチンコ遊技機1の裏面では、枠体2A内の機構板の上部に球貯留タンク38が設けられ、パチンコ遊技機1が遊技機設置島に設置された状態でその上方から遊技球が球貯留タンク38に供給される。球貯留タンク38内の遊技球は、誘導樋39を通って球払出機構(図示せず)に至る。
【0028】
遊技機裏面側では、可変表示部9を制御する可変表示制御ユニット29、遊技制御用マイクロコンピュータ等が搭載された遊技制御基板(主基板)31が設置されている。また、球払出制御を行う払出制御用マイクロコンピュータ等が搭載された払出制御基板37、およびモータの回転力を利用して打球を遊技領域7に発射する打球発射装置が設置されている。さらに、装飾ランプ25、遊技効果LED28a、遊技効果ランプ28b,28c、賞球ランプ51および球切れランプ52に信号を送るためのランプ制御基板35、スピーカ27からの音声発生を制御するための音声制御基板70および打球発射装置を制御するための発射制御基板91も設けられている。なお、払出制御基板37には、エラー表示用LED374も搭載されている。
【0029】
さらに、DC30V、DC21V、DC12VおよびDC5Vを作成する電源回路が搭載された電源基板910が設けられ、上方には、賞付与情報(本例では、賞球個数情報)や貸出情報(本例では、球貸し個数情報)などの各種情報を遊技機外部に出力するための各端子を備えたターミナル基板160が設置されている。ターミナル基板160には、少なくとも、後述する球切れ検出スイッチ167の出力を導入して外部出力するための球切れ用端子、賞球個数信号を外部出力するための賞球用端子および球貸し個数信号を外部出力するための球貸し用端子が設けられている。また、中央付近には、主基板31からの各種情報を遊技機外部に出力するための各端子を備えた情報端子盤(外部情報出力装置)34が設置されている。なお、図2には、ランプ制御基板35および音声制御基板70からの信号を、枠側に設けられている遊技効果LED28a、遊技効果ランプ28b,28c、賞球ランプ51および球切れランプ52に供給するための電飾中継基板A77および度数表示LED等を搭載した残高表示基板74が示されているが、信号中継の必要に応じて他の中継基板も設けられる。
【0030】
また、図3はパチンコ遊技機1の機構板を背面からみた背面図である。球貯留タンク38に貯留された玉は誘導樋39を通り、球払出機構97に至る。球払出機構97から払い出された遊技球は、連絡口45を通ってパチンコ遊技機1の前面に設けられている打球供給皿3に供給される。連絡口45の側方には、パチンコ遊技機1の前面に設けられている余剰玉受皿4に連通する余剰玉通路46が形成されている。入賞にもとづく景品球が多数払い出されて打球供給皿3が満杯になり、ついには遊技球が連絡口45に到達した後さらに遊技球が払い出されると遊技球は、余剰玉通路46を経て余剰玉受皿4に導かれる。さらに遊技球が払い出されると、感知レバー47が満タンスイッチ48を押圧して満タンスイッチ48がオンする。その状態では、球払出機構97内の賞球払出装置(図示せず)ステッピングモータの回転が停止して賞球払出装置の動作が停止するとともに打球発射装置34の駆動も停止する。
【0031】
次に、機構板36に設置されている中間ベースユニットの構成について説明する。中間ベースユニットには、球払出機構97およびその上部の球通過経路が設けられる。この実施の形態では、後述するように、球払出機構97において、賞球払出装置と球貸し払出装置とが独立して設けられている。図4は、賞球払出装置およびその上部の球通過経路の構成を示す構成図である。
【0032】
中間ベースユニットの上部では、賞球経路となる通路体184Aが設置されている。そして、通路体184Aの下部に賞球払出装置97Aが固定されている。通路体184Aは、カーブ樋174(図3参照)によって4列に分けられ流下方向が左右方向に変換されたうちの2列の遊技球を流下させる払出球通路186a,186bを有する。払出球通路186a,186bの上流側には、球切れスイッチ187a,187bが設置されている。球切れスイッチ187a,187bは、払出球通路186a,186b内の遊技球の有無を検出するものであって、球切れスイッチ187a,187bが遊技球を検出しなくなると賞球払出装置97Aにおける賞球モータ(図4において図示せず)の回転を停止して賞球払出が不動化される。
【0033】
なお、球切れスイッチ187a,187bは、払出球通路186a,186bに27〜28個程度の遊技球が存在することを検出できるような位置に係止片188Aによって係止されている。すなわち、球切れスイッチ187a,187bは、賞球の一単位の最大払出量(この実施の形態では15個)以上が確保されていることが確認できるような位置に設置されている。
【0034】
通路体184Aの中央部は、内部を流下する遊技球の球圧を弱めるように、左右に湾曲する形状に形成されている。通路体184Aは中間ベースユニットに固定されるが、中間ベースユニットに設けられている係止突片185Aによって通路体184Aの位置合わせを行えるようになっている。
【0035】
通路体184Aの下方には、賞球払出装置97Aに遊技球を供給するとともに故障時等には賞球払出装置97Aへの遊技球の供給を停止する球止め装置190Aが設けられている。球止め装置190Aの下方に設置される賞球払出装置97Aは、直方体状のケース198Aの内部に収納されている。ケース198Aの左右4箇所には突部が設けられている。各突部が中間ベースユニットに設けられている位置決め突片に係った状態で、中間ベースユニットの下部に設けられている弾性係合片にケース198Aの下端がはめ込まれる。
【0036】
図5は賞球払出装置97Aの分解斜視図である。賞球払出装置97Aの構成および作用について図5を参照して説明する。この実施形態における賞球払出装置97Aは、ステッピングモータ(賞球モータ)289Aがスクリュー288を回転させることによりパチンコ玉を1個ずつ払い出す。
【0037】
図5に示すように、賞球払出装置97Aは、2つのケース198a,198bを有する。それぞれのケース198a,198bの左右2箇所に、賞球払出装置97Aの設置位置上部に設けられた位置決め突片に当接される係合突部280が設けられている。また、それぞれのケース198a,198bには、球供給路281a,281bが形成されている。球供給路281a,281bは湾曲面282a,282bを有し、湾曲面282a,282bの終端の下方には、球送り水平路284a,284bが形成されている。さらに、球送り水平路284a,284bの終端に球排出路283a,283bが形成されている。
【0038】
球供給路281a,281b、球送り水平路284a,284b、球排出路283a,283bは、ケース198a,198bをそれぞれ前後に区画する区画壁295a,295bの前方に形成されている。また、区画壁295a,295bの前方において、球圧緩衝部材285がケース198a,198b間に挟み込まれる。球圧緩衝部材285は、賞球払出装置97Aに供給される遊技球を左右側方に振り分けて球供給路281a,281bに誘導する。
【0039】
また、球圧緩衝部材285の下部には、発光素子(LED)286と受光素子(図示せず)とによる賞球モータ位置センサが設けられている。発光素子286と受光素子とは、所定の間隔をあけて設けられている。そして、この間隔内に、スクリュー288の先端が挿入されるようになっている。なお、球圧緩衝部材285は、ケース198a,198bが張り合わされたときに、完全にその内部に収納固定される。
【0040】
球送り水平路284a,284bには、賞球モータ289Aによって回転させられるスクリュー288が配置されている。賞球モータ289Aはモータ固定板290に固定され、モータ固定板290は、区画壁295a,295bの後方に形成される固定溝291a,291bにはめ込まれる。その状態で賞球モータ289Aのモータ軸が区画壁295a,295bの前方に突出するので、その突出の前方にスクリュー288が固定される。スクリュー288の外周には、賞球モータ289Aの回転によって球送り水平路284a,284bに載置された遊技球を前方に移動させるための螺旋突起288aが設けられている。
【0041】
そして、スクリュー288の先端には、発光素子286を収納するように凹部が形成され、その凹部の外周には、2つの切欠部292が互いに180度離れて形成されている。従って、スクリュー288が1回転する間に、発光素子286からの光は、切欠部292を介して受光素子で2回検出される。
【0042】
つまり、発光素子286と受光素子とによる賞球モータ位置センサは、スクリュー288を定位置で停止するためのものであり、かつ、賞球払出動作が行われた旨を検出するものである。なお、発光素子286、受光素子および賞球モータ289Aからの配線は、まとめられてケース198a,198bの後部下方に形成された引出穴から外部に引き出されコネクタに結線される。
【0043】
遊技球が球送り水平路284a,284bに載置された状態において、賞球モータ289Aが回転すると、スクリュー288の螺旋突起288aによって、遊技球は、球送り水平路284a,284b上を前方に向かって移動する。そして、遂には、球送り水平路284a,284bの終端から球排出路283a,283bに落下する。このとき、左右の球送り水平路284a,284bからの落下は交互に行われる。すなわち、スクリュー288が半回転する毎に一方から1個の遊技球が落下する。従って、1個の遊技球が落下する毎に、発光素子286からの光が受光素子によって検出される。
【0044】
図4に示すように、賞球払出装置97Aの下方には、近接スイッチによる賞球カウントスイッチ301Aが設けられている。払出制御手段は、賞球カウントスイッチ301Aの検出出力から、払い出された賞球数を把握することができる。
【0045】
なお、この実施の形態では、電気的駆動源の駆動によって遊技球を払い出す球払出装置として、ステッピングモータの回転によって遊技球が払い出される賞球払出装置97Aを用いることにするが、その他の駆動源によって遊技球を送り出す構造の球払出装置を用いてもよいし、電気的駆動源の駆動によってストッパを外し遊技球の自重によって払い出しがなされる構造の払出装置を用いてもよい。
【0046】
図6は、球貸し払出装置およびその上部の球通過経路の構成を示す構成図である。貸し球経路となる通路体184Cの下部に貸し球払出装置97Bが固定されている。通路体184Bは、2列の遊技球を流下させる払出球通路186c,186dを有する。払出球通路186c,186dの上流側には、球切れスイッチ187c,187dが設置されている。球切れスイッチ187c,187dは、払出球通路186c,186d内の遊技球の有無を検出するものであって、球切れスイッチ187c,187dが遊技球を検出しなくなると貸し球払出装置97Bにおける球貸しモータ(図6において図示せず)の回転を停止して貸し球の払出が不動化される。
【0047】
なお、球切れスイッチ187c,187dは、払出球通路186c,186dに27〜28個程度の遊技球が存在することを検出できるような位置に係止片188Cによって係止されている。すなわち、球切れスイッチ187c,187dは、球貸しの一単位の最大払出量(この実施の形態では25個)以上が確保されていることが確認できるような位置に設置されている。
【0048】
通路体184Cの中央部は、内部を流下する遊技球の球圧を弱めるように、左右に湾曲する形状に形成されている。通路体184Cは中間ベースユニットに固定されるが、中間ベースユニットに設けられている係止突片185Cによって通路体184Cの位置合わせを行えうことも可能である。なお、貸し球払出装置97Cは、賞球払出装置97Aの横に設置されていてもよいし、設置スペースが不足する場合には、賞球払出装置97Aに重ねられるように設置されていてもよい。
【0049】
通路体184Cの下方には、貸し球払出装置97Cに遊技球を供給するとともに故障時等には貸し球払出装置97Cへの遊技球の供給を停止する球止め装置190Cが設けられている。球止め装置190Cの下方に設置される貸し球払出装置97Cは、直方体状のケース198Cの内部に収納されている。
【0050】
貸し球払出装置97Cの構成は、図5に示された賞球払出装置97Aの構成と同じでよい。すなわち、賞球モータ289Aと同じ構成のステッピングモータ(球貸しモータ)289Cがスクリュー288を回転させることによりパチンコ玉を1個ずつ払い出す。また、発光素子286と受光素子とによる球貸しモータ位置センサは、スクリュー288を定位置で停止するために用いられるとともに、かつ、球貸し払出動作が行われた旨を検出するために用いられる。そして、貸し球払出装置97Cの下方には、近接スイッチによる球貸しカウントスイッチ301Bが設けられている。払出制御手段は、球貸しカウントスイッチ301Bの検出出力から、実際に払い出された貸し球数を把握することができる。
【0051】
払出機構を図7に示すように構成することもできる。図7に示す構成例では、球切れスイッチ187c,187dと貸し球払出装置97Cとの間の距離は、球切れスイッチ187a,187bと賞球払出装置97Aとの間の距離よりも長い。そして、例えば、球切れスイッチ187c,187dは、払出球通路186c,186dに27〜28個程度の遊技球が存在することを検出できるような位置に係止され、球切れスイッチ187a,187bは、払出球通路186a,186bに17〜18個程度の遊技球が存在することを検出できるような位置に係止される。すなわち、賞球用の球切れが検知されるときの残り数と、球貸し用の球切れが検知されるときの残り数とは異なっている。それぞれの一単位の遊技球数は異なっているので、それぞれの残り数を異ならせるように払出機構を構成することは合理的である。
【0052】
なお、その他の構成は、図4および図6に示された構成と同じである。また、貸し球払出装置97Cは、賞球払出装置97Aの横に設置されていてもよいし、設置スペースが不足する場合には、賞球払出装置97Aに重ねられるように設置されていてもよい。
【0053】
さらに、払出機構を図8に示すように構成することもできる。図8に示す構成例では、賞球払出装置97Aの上部側の球通路と貸し球払出装置97Cの上部側の球通路とが一つになっている。従って、1条で流下してきた遊技球は払出機構において2条に分かれる。そして、2条に分かれる前の箇所に、球切れスイッチ187が設置されている。この場合には、賞球用の球切れと球貸し用の球切れとが同一の検出器で検出される。よって、球切れ検出のための構成および制御が簡略化される。
【0054】
なお、球切れスイッチ187と貸し球払出装置97Cとの間の距離は、球切れスイッチ187と賞球払出装置97Aとの間の距離よりも長い。そして、例えば、球切れスイッチ187は、払出球通路186c,186dに27〜28個程度の遊技球が存在することを検出でき、かつ、払出球通路186a,186bに17〜18個程度の遊技球が存在することを検出できるような位置に係止される。その他の構成は、図4および図6に示された構成と同じである。
【0055】
図9は、主基板31における回路構成の一例を示すブロック図である。なお、図9には、払出制御基板37、ランプ制御基板35、音制御基板70、発射制御基板91および表示制御基板80も示されている。主基板31には、プログラムに従ってパチンコ遊技機1を制御する基本回路53と、ゲートスイッチ12、始動口スイッチ17、Vカウントスイッチ22、カウントスイッチ23、入賞口スイッチ19a,24aおよび賞球カウントスイッチ301Aからの信号を基本回路53に与えるスイッチ回路58と、可変入賞球装置15を開閉するソレノイド16および開閉板20を開閉するソレノイド21等を基本回路53からの指令に従って駆動するソレノイド回路59とが搭載されている。
【0056】
また、基本回路53から与えられるデータに従って、大当りの発生を示す大当り情報、可変表示部9の画像表示開始に利用された始動入賞球の個数を示す有効始動情報、確率変動が生じたことを示す確変情報等をホール管理コンピュータ等のホストコンピュータに対して出力する情報出力回路64を含む。
【0057】
基本回路53は、ゲーム制御用のプログラム等を記憶するROM54、ワークメモリとして使用される記憶手段の一例であるRAM55、プログラムに従って制御動作を行うCPU56およびI/Oポート部57を含む。この実施の形態では、ROM54,RAM55はCPU56に内蔵されている。すなわち、CPU56は、1チップマイクロコンピュータである。なお、1チップマイクロコンピュータは、少なくともRAM55が内蔵されていればよく、ROM54およびI/Oポート部57は外付けであっても内蔵されていてもよい。また、I/Oポート部57は、マイクロコンピュータにおける情報入出力可能な端子である。
【0058】
さらに、主基板31には、電源投入時に基本回路53をリセットするためのシステムリセット回路65と、基本回路53から与えられるアドレス信号をデコードしてI/Oポート部57のうちのいずれかのI/Oポートを選択するための信号を出力するアドレスデコード回路67とが設けられている。なお、球払出装置97から主基板31に入力されるスイッチ情報もあるが、図9ではそれらは省略されている。
【0059】
遊技球を打撃して発射する打球発射装置は発射制御基板91上の回路によって制御される駆動モータ94で駆動される。そして、駆動モータ94の駆動力は、操作ノブ5の操作量に従って調整される。すなわち、発射制御基板91上の回路によって、操作ノブ5の操作量に応じた速度で打球が発射されるように制御される。
【0060】
なお、この実施の形態では、ランプ制御基板35に搭載されているランプ制御手段が、遊技盤に設けられている始動記憶表示器18、ゲート通過記憶表示器41および装飾ランプ25の表示制御を行うとともに、枠側に設けられている遊技効果ランプ・LED28a,28b,28c、賞球ランプ51および球切れランプ52の表示制御を行う。また、特別図柄を可変表示する可変表示部9および普通図柄を可変表示する可変表示器10の表示制御は、表示制御基板80に搭載されている表示制御手段によって行われる。
【0061】
図10は、払出制御基板37および球払出装置97の構成要素などの払出に関連する構成要素を示すブロック図である。図10に示すように、満タンスイッチ48からの検出信号は、中継基板71を介して主基板31のI/Oポート57に入力される。満タンスイッチ48は、余剰球受皿4の満タンを検出するスイッチである。また、球切れスイッチ187a,187bまたは187c,187dからの検出信号も、中継基板72および中継基板71を介して主基板31のI/Oポート57に入力される。なお、ここでは、払出機構の構成は、図4に示されたような賞球払出機構と図6に示されたような球貸し機構とが独立して設けられている構成であるとする。
【0062】
主基板31のCPU56は、球切れスイッチ187a,187bからの検出信号が球切れ状態を示しているか、または、満タンスイッチ48からの検出信号が満タン状態を示していると、払出禁止を指示する払出制御コマンドを送出する。払出禁止を指示する払出制御コマンドを受信すると、払出制御基板37の払出制御用CPU371は球払出処理を停止する。
【0063】
さらに、賞球カウントスイッチ301Aからの検出信号も、中継基板72および中継基板71を介して主基板31のI/Oポート57に入力される。賞球カウントスイッチ301Aは、賞球払出装置97Aの下部に設けられ、実際に払い出された賞球払出球を検出する。
【0064】
入賞があると、払出制御基板37には、主基板31の出力ポート(ポート0,1)570,571から賞球個数を示す払出制御コマンドが入力される。出力ポート(出力ポート1)571は8ビットのデータを出力し、出力ポート570は1ビットのストローブ信号(INT信号)を出力する。賞球個数を示す払出制御コマンドは、入力バッファ回路373Aを介してI/Oポート372aに入力される。INT信号は、入力バッファ回路373Bを介して払出制御用CPU371の割込端子に入力されている。払出制御用CPU371は、I/Oポート372aを介して払出制御コマンドを入力し、払出制御コマンドに応じて球払出装置97を駆動して賞球払出を行う。
なお、この実施の形態では、払出制御用CPU371は、1チップマイクロコンピュータであり、少なくともRAMが内蔵されている。
【0065】
また、主基板31において、出力ポート570,571の外側にバッファ回路620,68Aが設けられている。バッファ回路620,68Aとして、例えば、汎用のCMOS−ICである74HC250,74HC14が用いられる。このような構成によれば、外部から主基板31の内部に入力される信号が阻止されるので、払出制御基板37から主基板31に信号が与えられる可能性がある信号ラインをさらに確実になくすことができる。なお、バッファ回路620,68Aの出力側にノイズフィルタを設けてもよい。
【0066】
払出制御用CPU371は、出力ポート372gおよび情報出力回路377を介して、貸し球数を示す球貸し個数信号をターミナル基板160に出力し、ブザー駆動信号をブザー基板75に出力する。ブザー基板75にはブザーが搭載されている。さらに、出力ポート372eを介して、エラー表示用LED374にエラー信号を出力する。
【0067】
さらに、払出制御基板37の入力ポート372bには、中継基板72を介して、賞球カウントスイッチ301Aおよび球貸しカウントスイッチ301Bからの検出信号が入力される。球貸しカウントスイッチ301Bは、貸し球払出装置97Cの下部に設けられ、実際に払い出された貸し球を検出する。払出制御基板37からの賞球モータ289Aおよび球貸しモータ289Bへの駆動信号は、出力ポート372cおよび中継基板72を介して賞球モータ289Aおよび球貸しモータ289Bに伝えられる。
【0068】
カードユニット50には、カードユニット制御用マイクロコンピュータが搭載されている。また、カードユニット50には、端数表示スイッチ152、連結台方向表示器153、カード投入表示ランプ154およびカード挿入口155が設けられている(図1参照)。残高表示基板74には、打球供給皿3の近傍に設けられている度数表示LED、球貸しスイッチおよび返却スイッチが接続される。
【0069】
残高表示基板74からカードユニット50には、遊技者の操作に応じて、球貸しスイッチ信号および返却スイッチ信号が払出制御基板37を介して与えられる。また、カードユニット50から残高表示基板74には、プリペイドカードの残高を示すカード残高表示信号および球貸し可表示信号が払出制御基板37を介して与えられる。カードユニット50と払出制御基板37の間では、接続信号(VL信号)、ユニット操作信号(BRDY信号)、球貸し要求信号(BRQ信号)、球貸し完了信号(EXS信号)およびパチンコ機動作信号(PRDY信号)がI/Oポート372fを介してやりとりされる。
【0070】
パチンコ遊技機1の電源が投入されると、払出制御基板37の払出制御用CPU371は、カードユニット50にPRDY信号を出力する。また、カードユニット制御用マイクロコンピュータは、VL信号を出力する。払出制御用CPU371は、VL信号の入力状態により接続状態/未接続状態を判定する。カードユニット50においてカードが受け付けられ、球貸しスイッチが操作され球貸しスイッチ信号が入力されると、カードユニット制御用マイクロコンピュータは、払出制御基板37にBRDY信号を出力する。この時点から所定の遅延時間が経過すると、カードユニット制御用マイクロコンピュータは、払出制御基板37にBRQ信号を出力する。そして、払出制御基板37の払出制御用CPU371は、カードユニット50に対するEXS信号を立ち上げ、カードユニット50からのBRQ信号の立ち下がりを検出すると、球貸しモータ289Bを駆動し、所定個の貸し球を遊技者に払い出す。このとき、振分用ソレノイド310は駆動状態とされている。すなわち、球振分部材311を球貸し側に向ける。そして、払出が完了したら、払出制御用CPU371は、カードユニット50に対するEXS信号を立ち下げる。その後、カードユニット50からのBRDY信号がオン状態でなければ、賞球払出制御を実行する。
【0071】
以上のように、カードユニット50からの信号は、カードユニット50に直接接続されている払出制御基板37に入力される構成になっている。従って、球貸し制御に関して、カードユニット50から主基板31に信号が入力されることはなく、主基板31の基本回路53にカードユニット50の側から不正に信号が入力される余地はない。
【0072】
また、プリペイドカードの残高を示すカード残高表示信号および球貸し可表示信号は、払出制御用CPU371を介さずに残高表示基板74に伝達される。残高表示基板74から送出される球貸しスイッチ信号および返却スイッチ信号も、払出制御用CPU371を介さずにカードユニット50に伝達される。
【0073】
なお、この実施の形態ではカードユニット50が設けられている場合を例にするが、コイン投入に応じてその金額に応じた遊技球を貸し出す場合にも本発明を適用できる。また、この実施の形態では遊技球を貸し出す場合を例にしているが、得点が加算されるものであっても本発明を適用できる。
【0074】
この実施の形態では、少なくとも主基板31および払出制御基板37におけるRAMは、バックアップ電源でバックアップされている。すなわち、遊技機に対する電力供給が停止しても、所定期間はRAMの内容が保存される。そして、各CPUは、電源電圧の低下を検出すると、所定の処理を行った後に電源復旧待ちの状態になる。また、電源投入時に、各CPUは、RAMにデータが保存されている場合には、保存データにもとづいて電源断前の状態を復元する。
【0075】
また、上述したように、払出制御基板37、表示制御基板80、ランプ制御基板35および音声制御基板70にコマンドを送出するために、主基板31の出力ポート(出力ポート0)570からINT信号が各電気部品制御基板に出力される。この場合、例えば、出力ポート570は8ビット構成であって、ビット0が払出制御基板37へのINT信号、ビット1が表示制御基板80へのINT信号、ビット2がランプ制御基板35へのINT信号、ビット3が音声制御基板70へのINT信号の出力用に用いられる。
【0076】
図11は、CPU56周りの一構成例を示すブロック図である。図11に示すように、第1の電源監視回路(第1の電源監視手段)からの電圧低下信号が、CPU56のマスク不能割込端子(XNMI端子)に接続されている。第1の電源監視回路は、遊技機が使用する各種直流電源のうちのいずれかの電源の電圧を監視して電源電圧低下を検出する回路である。この実施の形態では、VSLの電源電圧を監視して電圧値が所定値以下になるとローレベルの電圧低下信号を発生する。VSLは、遊技機で使用される直流電圧のうちで最大のものであり、この例では+30Vである。従って、CPU56は、割込処理によって電源断の発生を確認することができる。なお、この実施の形態では、第1の電源監視回路は、後述する電源基板に搭載されている。
【0077】
図11には、システムリセット回路65も示されているが、この実施の形態では、システムリセット回路65は、第2の電源監視回路(第2の電源監視手段)も兼ねている。すなわち、リセットIC651は、電源投入時に、外付けのコンデンサの容量で決まる所定時間だけ出力をローレベルとし、所定時間が経過すると出力をハイレベルにする。すなわち、リセット信号をハイレベルに立ち上げてCPU56を動作可能状態にする。また、リセットIC651は、第1の電源監視回路が監視する電源電圧と等しい電源電圧であるVSLの電源電圧を監視して電圧値が所定値(第1の電源監視回路が電圧低下信号を出力する電源電圧値よりも低い値)以下になるとローレベルの電圧低下信号を発生する。従って、CPU56は、第1の電源監視回路からの電圧低下信号に応じて所定の電力供給停止時処理を行った後、システムリセットされる。なお、この実施の形態では、リセット信号と第2の電源監視回路からの電圧低下信号とは同一の信号である。
【0078】
図11に示すように、リセットIC651からのリセット信号は、NAND回路947に入力されるとともに、反転回路(NOT回路)944を介してカウンタIC941のクリア端子に入力される。カウンタIC941は、クリア端子への入力がローレベルになると、発振器943からのクロック信号をカウントする。そして、カウンタIC941のQ5出力がNOT回路945,946を介してNAND回路947に入力される。また、カウンタIC941のQ6出力は、フリップフロップ(FF)942のクロック端子に入力される。フリップフロップ942のD入力はハイレベルに固定され、Q出力は論理和回路(OR回路)949に入力される。OR回路949の他方の入力には、NAND回路947の出力がNOT回路948を介して導入される。そして、OR回路949の出力がCPU56のリセット端子に接続されている。このような構成によれば、電源投入時に、CPU56のリセット端子に2回のリセット信号(ローレベル信号)が与えられるので、CPU56は、確実に動作を開始する。
【0079】
そして、例えば、第1の電源監視回路の検出電圧(電圧低下信号を出力することになる電圧)を+22Vとし、第2の電源監視回路の検出電圧を+9Vとする。そのように構成した場合には、第1の電源監視回路と第2の電源監視回路とは、同一の電源VSLの電圧を監視するので、第1の電圧監視回路が電圧低下信号を出力するタイミングと第2の電圧監視回路が電圧低下信号を出力するタイミングの差を所望の所定期間に確実に設定することができる。所望の所定期間とは、第1の電源監視回路からの電圧低下信号に応じて電力供給停止時処理を開始してから電力供給停止時処理が確実に完了するまでの期間である。
【0080】
この例では、第1の電源監視手段が検出信号を出力することになる第1検出条件は+30V電源電圧が+22Vにまで低下したことであり、第2の電源監視手段が検出信号を出力することになる第2検出条件は+30V電源電圧が+9Vにまで低下したことになる。ただし、ここで用いられている電圧値は一例であって、他の値を用いてもよい。
【0081】
ただし、監視範囲が狭まるが、第1の電圧監視回路および第2の電圧監視回路の監視電圧として+5V電源電圧を用いることも可能である。その場合にも、第1の電圧監視回路の検出電圧は、第2の電圧監視回路の検出電圧よりも高く設定される。
【0082】
CPU56等の駆動電源である+5V電源から電力が供給されていない間、RAMの少なくとも一部は、電源基板から供給されるバックアップ電源によってバックアップされ、遊技機に対する電源が断しても内容は保存される。そして、+5V電源が復旧すると、システムリセット回路65からリセット信号が発せられるので、CPU56は、通常の動作状態に復帰する。そのとき、必要なデータがバックアップRAMに保存されているので、停電等からの復旧時に停電発生時の遊技状態に復帰することができる。
【0083】
なお、図11では、電源投入時にCPU56のリセット端子に2回のリセット信号(ローレベル信号)が与えられる構成が示されたが、リセット信号の立ち上がりタイミングが1回しかなくても確実にリセット解除されるCPUを使用する場合には、符号941〜949で示された回路素子は不要である。その場合、リセットIC651の出力がそのままCPU56のリセット端子に接続される。
【0084】
この実施の形態で用いられるCPU56は、I/Oポート(PIO)およびタイマ/カウンタ回路(CTC)も内蔵している。PIOは、PB0〜PB3の4ビットおよびPA0〜PA7の1バイトのポートを有する。PB0〜PB3およびPA0〜PA7のポートは、入力/出力いずれにも設定できる。ただし、この実施の形態では内蔵PIOを使用しない。その場合には、例えば、全ポートを入力モードとして、全ポートをグラウンドレベルに接続する。なお、電源投入時に、PIOは自動的に入力モードに設定される。
【0085】
図12は、遊技機の電源基板910の一構成例を示すブロック図である。電源基板910は、主基板31、表示制御基板80、音声制御基板70、ランプ制御基板35および払出制御基板37等の電気部品制御基板と独立して設置され、遊技機内の各電気部品制御基板および機構部品が使用する電圧を生成する。この例では、AC24V、VSL(DC+30V)、DC+21V、DC+12VおよびDC+5Vを生成する。また、バックアップ電源となるコンデンサ916は、DC+5Vすなわち各基板上のIC等を駆動する電源のラインから充電される。
【0086】
トランス911は、交流電源からの交流電圧を24Vに変換する。AC24V電圧は、コネクタ915に出力される。また、整流回路912は、AC24Vから+30Vの直流電圧を生成し、DC−DCコンバータ913およびコネクタ915に出力する。DC−DCコンバータ913は、+22V、+12Vおよび+5Vを生成してコネクタ915に出力する。コネクタ915は例えば中継基板に接続され、中継基板から各電気部品制御基板および機構部品に必要な電圧の電力が供給される。なお、トランス911の入力側には、遊技機に対する電源供給を停止したり開始させたりするための電源スイッチ918が設置されている。
【0087】
DC−DCコンバータ913からの+5Vラインは分岐してバックアップ+5Vラインを形成する。バックアップ+5Vラインとグラウンドレベルとの間には大容量のコンデンサ916が接続されている。コンデンサ916は、遊技機に対する電力供給が遮断されたときの電気部品制御基板のバックアップRAM(電源バックアップされているRAMすなわち記憶内容保持状態となりうる記憶手段)に対して記憶状態を保持できるように電力を供給するバックアップ電源となる。また、+5Vラインとバックアップ+5Vラインとの間に、逆流防止用のダイオード917が挿入される。
【0088】
なお、バックアップ電源として、+5V電源から充電可能な電池を用いてもよい。電池を用いる場合には、+5V電源から電力供給されない状態が所定時間継続すると容量がなくなるような充電池が用いられる。
【0089】
また、電源基板910には、上述した第1の電源監視回路を構成する電源監視用IC902が搭載されている。電源監視用IC902は、VSL電源電圧を導入し、VSL電源電圧を監視することによって電源断の発生を検出する。具体的には、VSL電源電圧が所定値(この例では+22V)以下になったら、電源断が生ずるとして電圧低下信号を出力する。なお、監視対象の電源電圧は、各電気部品制御基板に搭載されている回路素子の電源電圧(この例では+5V)よりも高い電圧であることが好ましい。この例では、交流から直流に変換された直後の電圧であるVSLが用いられている。電源監視用IC902からの電圧低下信号は、主基板31や払出制御基板37等に供給される。
【0090】
電源監視用IC902が電源断を検知するための所定値は、通常時の電圧より低いが、各電気部品制御基板上のCPUが暫くの間動作しうる程度の電圧である。また、電源監視用IC902が、CPU等の回路素子を駆動するための電圧(この例では+5V)よりも高く、また、交流から直流に変換された直後の電圧を監視するように構成されているので、CPUが必要とする電圧に対して監視範囲を広げることができる。従って、より精密な監視を行うことができる。さらに、監視電圧としてVSL(+30V)を用いる場合には、遊技機の各種スイッチに供給される電圧が+12Vであることから、電源瞬断時のスイッチオン誤検出の防止も期待できる。すなわち、+30V電源の電圧を監視すると、+30V作成の以降に作られる+12Vが落ち始める以前の段階でそれの低下を検出できる。よって、+12V電源の電圧が低下するとスイッチ出力がオン状態を呈するようになるが、+12Vより早く低下する+30V電源電圧を監視して電源断を認識すれば、スイッチ出力がオン状態を呈する前に電源復旧待ちの状態に入ってスイッチ出力を検出しない状態となることができる。
【0091】
また、電源監視用IC902は、電気部品制御基板とは別個の電源基板910に搭載されているので、第1の電源監視回路から複数の電気部品制御基板に電圧低下信号を供給することができる。電圧低下信号を必要とする電気部品制御基板が幾つあっても第1の電源監視手段は1つ設けられていればよいので、各電気部品制御基板における各電気部品制御手段が後述する復帰制御を行っても、遊技機のコストはさほど上昇しない。
【0092】
なお、図12に示された構成では、電源監視用IC902の検出出力(電圧低下信号)は、バッファ回路918,919を介してそれぞれの電気部品制御基板(例えば主基板31と払出制御基板37)に伝達されるが、例えば、1つの検出出力を中継基板に伝達し、中継基板から各電気部品制御基板に同じ信号を分配する構成でもよい。また、電圧低下信号を必要とする基板数に応じたバッファ回路を設けてもよい。
【0093】
図13は、図9に示された主基板31における情報出力回路64の一構成例を示すブロック図である。この例では、情報出力回路64は、CPU56からI/Oポート57を介して出力される始動口情報信号を増幅する増幅回路64a、図柄確定回数情報1信号を増幅する増幅回路64b、大当り情報1信号を増幅する増幅回路64c、確率変動情報信号を増幅する増幅回路64d、大当り情報2信号を増幅する増幅回路64e、図柄確定回数情報2信号を増幅する増幅回路64fおよび役物回数信号を増幅する増幅回路64gを含む。なお、増幅回路64a〜64gの各出力は、情報端子盤34に接続される。
【0094】
図柄確定回数情報2信号は、可変表示器10に表示される普通図柄に関する情報であり、役物回数信号は、可変入賞球装置15の開放回数を示す情報である。
【0095】
さらに、賞球個数信号を増幅する増幅回路64h、増幅回路64hの出力によって導通するフォトカプラ642、およびフォトカプラ642の出力に応じて出力端子間を遮断状態にしたり短絡状態にしたりするためのダイオードブリッジ643が設けられている。ダイオードブリッジ643の出力は、ターミナル基板160に接続される。フォトカプラ642は発光ダイオードとフォトトランジスタで構成され、このフォトカプラ642では、フォトトランジスタの一方の出力に抵抗が接続されている。また、増幅回路64hとして、IC回路を用いてもよいしトランジスタを用いてもよい。さらに、賞球個数情報は、大当り情報1信号等と同様に、電圧レベルで出力されるように構成されていてもよい。なお、増幅回路によって、過電流によってCPU56が誤動作してしまうことが防止される。
【0096】
図14は、主基板31から情報端子基板34またはターミナル基板160を介して外部出力される各信号の出力タイミング例を示すタイミング図である。この例では、図14(A)に示すように、図柄確定回数信号、大当り情報1信号、大当り情報2信号および確率変動情報信号は、負論理の信号として出力される。この例では、可変表示部9に表示される特別図柄が変動を停止すると0.5秒間図柄確定回数信号がローレベルとされる。また、特別図柄の変動が停止してから1.5秒が経過すると大当り情報1信号および大当り情報2信号がローレベルとされ、大入賞口(この実施の形態では開閉板20の開放による)が最後に閉成してから10.8秒が経過すると大当り情報1信号および大当り情報2信号がオフ(ハイレベル)とされる。
【0097】
大当り情報2信号は、高確率時には、大当り遊技が終了しても、オン状態を継続する。また、高確率状態では、確率変動情報信号がオンされる。なお、図14(A)に示された例は、確率変動中に特定図柄(確変図柄)以外の図柄で大当りすると確率変動状態が終了する場合の例である。
【0098】
また、図14(B)に示すように、始動口情報信号も負論理の信号として出力される。この例では、始動入賞があると、0.5秒間始動入賞情報信号がローレベルとされた後、続いて0.5秒間ハイレベルとされる。すなわち、0.5秒間「オン」を出力し、続いて、0.5秒間「オフ」を出力する。この実施の形態では、入賞に応じて払い出された遊技球数を示す賞球個数信号も、主基板31から出力される。そして、図14(C)に示すように、払出個数が10個になる毎に、賞球個数信号が0.1秒間ローレベルとされた後、続いて0.1秒間ハイレベルとされる。すなわち、賞球10個毎に、0.1秒間「オン」を出力し、続いて、0.1秒間「オフ」を出力する。以上のように、信号がオンとなっている期間とオフとなっている期間を担保することにより、入賞検出および賞球検出が、信号のオン期間内で連続した場合でも、検出に対応した信号が確実に出力されることになる。
【0099】
次に遊技機の動作について説明する。
図15は、主基板31におけるCPU56が実行するメイン処理を示すフローチャートである。遊技機に対する電源が投入されると、メイン処理において、CPU56は、まず、必要な初期設定を行う(ステップS1)。
【0100】
そして、電源断時にバックアップRAM領域のデータ保護処理(例えばパリティデータの付加等の停電発生NMI処理)が行われたか否か確認する(ステップS2)。この実施の形態では、不測の電源断が生じた場合には、バックアップRAM領域のデータを保護するための処理が行われている。そのような保護処理が行われていた場合をバックアップありとする。バックアップなしを確認したら、CPU56は初期化処理を実行する(ステップS2,S3)。なお、この実施の形態では、バックアップRAM領域にバックアップデータがあるか否かは、電源断時にバックアップRAM領域に設定されるバックアップフラグの状態によって確認される。例えば、バックアップフラグ領域に「55H」が設定されていればバックアップあり(オン状態)を意味し、「55H」以外の値が設定されていればバックアップなし(オフ状態)を意味する。バックアップフラグ領域に設定されている「55H」は、停電発生NMI処理においてバックアップRAM領域のデータ保護処理が完了したときに設定されたデータであり、バックアップRAM領域のデータにもとづくパリティコードである。
【0101】
バックアップRAM領域にバックアップデータがある場合には、CPU56は、バックアップRAM領域のデータチェック(例えばパリティチェック)を行う(ステップS4)。不測の電源断が生じた後に復旧した場合には、バックアップRAM領域のデータは保存されていたはずであるから、チェック結果は正常になる。チェック結果が正常でない場合には、内部状態を電源断時の状態に戻すことができないので、停電復旧時でない電源投入時に実行される初期化処理を実行する(ステップS5,S3)。
【0102】
チェック結果が正常であれば、CPU56は、内部状態を電源断時の状態に戻すための遊技状態復旧処理を行う(ステップS6)。図16に示すように、バックアップフラグの値が「55H」に設定され、かつ、チェック結果が正常である場合に、ステップS6の遊技状態復旧処理が実行される。そして、バックアップRAM領域に保存されていたPC(プログラムカウンタ)の退避値がPCに設定され、そのアドレスに復帰する(ステップS7)。
【0103】
通常の初期化処理の実行(ステップS3)が完了すると、メイン処理で、タイマ割込フラグの監視(ステップS9)の確認が行われるループ処理に移行する。なお、ループ内では、表示用乱数更新処理(ステップS8)も実行される。
【0104】
なお、この実施の形態では、ステップS2でバックアップデータの有無が確認された後、バックアップデータが存在する場合にステップS4でバックアップ領域のチェックが行われたが、逆に、バックアップ領域のチェック結果が正常であったことが確認された後、バックアップデータの有無の確認を行うようにしてもよい。また、バックアップデータの有無の確認、またはバックアップ領域のチェックの何れか一方の確認を行うことによって、停電復旧処理を実行するか否かを判定してもよい。
【0105】
また、例えば停電復旧処理を実行するか否か判断する場合のパリティチェック(ステップS4)の際に、すなわち、遊技状態を復旧するか否か判断する際に、保存されていたRAMデータにおける特別プロセスフラグ等や始動入賞記憶数データによって、遊技機が遊技待機状態(図柄変動中でなく、大当り遊技中でなく、確変中でなく、また、始動入賞記憶がない状態)であることが確認されたら、遊技状態復旧処理を行わずに初期化処理を実行するようにしてもよい。
【0106】
図17は、ステップS1の初期設定処理を示すフローチャートである。初期設定処理において、CPU56は、まず、割込禁止に設定する(ステップS1a)。割込禁止に設定すると、CPU56は、割込モードを割込モード2に設定し(ステップS1b)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS1c)。そして、CPU56は、内蔵デバイスレジスタの初期化を行う(ステップS1d)。また、内蔵デバイス(内蔵周辺回路)であるCTC(カウンタ/タイマ)およびPIO(パラレル入出力ポート)の初期化(ステップS1e)を行った後、RAMをアクセス可能状態に設定する(ステップS1f)。
【0107】
この実施の形態で用いられているCPU56には、マスク可能な割込(INT)のモードとして以下の3種類のモードが用意されている。なお、マスク可能な割込が発生すると、CPU56は、自動的に割込禁止状態に設定するとともに、プログラムカウンタの内容をスタックにセーブする。
【0108】
割込モード0:割込要求を行った内蔵デバイスがRST命令(1バイト)またはCALL命令(3バイト)をCPUの内部データバス上に送出する。よって、CPU56は、RST命令に対応したアドレスまたはCALL命令で指定されるアドレスの命令を実行する。リセット時に、CPU56は自動的に割込モード0になる。よって、割込モード1または割込モード2に設定したい場合には、初期設定処理において、割込モード1または割込モード2に設定するための処理を行う必要がある。
【0109】
割込モード1:割込が受け付けられると、常に0038(h)番地に飛ぶモードである。
【0110】
割込モード2:CPU56の特定レジスタ(Iレジスタ)の値(1バイト)と内蔵デバイスが出力する割込ベクタ(1バイト:最下位ビット0)から合成されるアドレスが、割込番地を示すモードである。すなわち、割込番地は、上位アドレスが特定レジスタの値とされ下位アドレスが割込ベクタとされた2バイトで示されるアドレスである。従って、任意の(飛び飛びではあるが)偶数番地に割込処理を設置することができる。各内蔵デバイスは割込要求を行うときに割込ベクタを送出する機能を有している。
【0111】
よって、割込モード2に設定されると、各内蔵デバイスからの割込要求を容易に処理することが可能になり、また、プログラムにおける任意の位置に割込処理を設置することが可能になる。さらに、割込モード1とは異なり、割込発生要因毎のそれぞれの割込処理を用意しておくことも容易である。上述したように、この実施の形態では、初期設定処理のステップS1bにおいて、CPU56は割込モード2に設定される。
【0112】
図18は、通常の初期化処理(ステップS3)の処理を示すフローチャートである。図18に示すように、初期化処理では、RAMのクリア処理が行われる(ステップS3a)。次いで、作業領域初期設定テーブルのアドレス値にもとづいて、所定の作業領域(例えば、普通図柄判定用乱数カウンタ、普通図柄判定用バッファ、特別図柄左中右図柄バッファ、払出コマンド格納ポインタなど)に初期値を設定する初期値設定処理(ステップS3b)が行われる。そして、2ms毎に定期的にタイマ割込がかかるようにCPU56に設けられているCTCのレジスタの設定が行われる(ステップS3c)。すなわち、初期値として2msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。そして、初期設定処理(ステップS1)において割込禁止(図17参照)とされているので、初期化処理を終える前に割込が許可される(ステップS3d)。
【0113】
従って、この実施の形態では、CPU56の内蔵CTCが繰り返しタイマ割込を発生するように設定される。この実施の形態では、繰り返し周期は2msに設定される。そして、図19に示すように、タイマ割込が発生すると、CPU56は、タイマ割込フラグをセットする(ステップS12)。
【0114】
CPU56は、ステップS9において、タイマ割込フラグがセットされたことを検出すると、タイマ割込フラグをリセットするとともに(ステップS10)、遊技制御処理を実行する(ステップS11)。以上の制御によって、この実施の形態では、遊技制御処理は2ms毎に起動されることになる。なお、この実施の形態では、タイマ割込処理ではフラグセットのみがなされ、遊技制御処理はメイン処理において実行されるが、タイマ割込処理で遊技制御処理を実行してもよい。
【0115】
以上に説明したように、この実施の形態では、CTCやPIOを内蔵するCPU56に対して、初期設定処理で割込モード2が設定される。従って、内蔵CTCを用いた定期的なタイマ割込処理を容易に実現できる。また、タイマ割込処理をプログラム上の任意の位置に設置できる。また、内蔵PIOを用いたスイッチ検出処理等を容易に割込処理で実現できる。その結果、プログラム構成が簡略化され、プログラム開発工数が低減する等の効果を得ることができる。
【0116】
また、この実施の形態では、バックアップデータの有無により電源断時の状態に復旧するか否かの判断を行う。従って、停電後の電源復旧時などにおいて電源投入された時に、バックアップデータ記憶領域の内容に応じて電源断時の状態に復旧させるか否かの判断を行うことができる。
【0117】
さらに、バックアップデータの状態によって電源断時の状態に復旧するか否かの判断が行われるので、停電後の電源復旧時などにおいて電源投入されたときに、バックアップデータ記憶領域の内容の状態に応じて電源断時の状態に復旧させるか否かの判断を行うことができる。
【0118】
図20は、ステップS11の遊技制御処理を示すフローチャートである。遊技制御処理において、CPU56は、まず、スイッチ回路58を介して、ゲートセンサ12、始動口センサ17、カウントセンサ23および入賞口スイッチ19a,24aの状態を入力し、各入賞口や入賞装置に対する入賞があったか否か判定する(スイッチ処理:ステップS21)。
【0119】
次いで、パチンコ遊技機1の内部に備えられている自己診断機能によって種々の異常診断処理が行われ、その結果に応じて必要ならば警報が発せられる(エラー処理:ステップS22)。
【0120】
次に、遊技制御に用いられる大当り判定用の乱数等の各判定用乱数を示す各カウンタを更新する処理を行う(ステップS23)。CPU56は、さらに、停止図柄の種類を決定する乱数等の表示用乱数を更新する処理を行う(ステップS24)。
【0121】
さらに、CPU56は、特別図柄プロセス処理を行う(ステップS25)。特別図柄プロセス制御では、遊技状態に応じてパチンコ遊技機1を所定の順序で制御するための特別図柄プロセスフラグに従って該当する処理が選び出されて実行される。そして、特別図柄プロセスフラグの値は、遊技状態に応じて各処理中に更新される。また、普通図柄プロセス処理を行う(ステップS26)。普通図柄プロセス処理では、7セグメントLEDによる可変表示器10を所定の順序で制御するための普通図柄プロセスフラグに従って該当する処理が選び出されて実行される。そして、普通図柄プロセスフラグの値は、遊技状態に応じて各処理中に更新される。
【0122】
また、CPU56は、払出制御基板37等に送出される制御コマンドをRAM55の所定の領域に設定して制御コマンドを送出する処理を行う(コマンド制御処理:ステップS27)。
【0123】
次いで、CPU56は、例えばホール管理用コンピュータに供給される大当り情報、始動情報、確率変動情報などのデータを出力するデータ出力処理を行う(ステップS29)。
【0124】
また、CPU56は、所定の条件が成立したときにソレノイド回路59に駆動指令を行う(ステップS30)。ソレノイド回路59は、駆動指令に応じてソレノイド16,21を駆動し、可変入賞球装置15または開閉板20を開状態または閉状態とする。
【0125】
また、CPU56は、各入賞口への入賞を検出するためのスイッチ17,23,19a,24aの検出出力にもとづく賞球数の設定などを行う(ステップS31)。具体的には、入賞検出に応じて払出制御基板37に払出制御コマンドを出力する。払出制御基板37に搭載されている払出制御用CPU371は、払出制御コマンドに応じて賞球払出装置97Aを駆動する。
【0126】
以上のように、メイン処理には遊技制御処理に移行すべきか否かを判定する処理が含まれ、CPU56の内部タイマが定期的に発生するタイマ割込にもとづくタイマ割込処理で遊技制御処理に移行すべきか否かを判定するためのフラグがセットされるので、遊技制御処理の全てが確実に実行される。つまり、遊技制御処理の全てが実行されるまでは、次回の遊技制御処理に移行すべきか否かの判定が行われないので、遊技制御処理中の全ての各処理が実行完了することは保証されている。
【0127】
なお、ここでは、主基板31のCPU56が実行する遊技制御処理は、CPU56の内部タイマが定期的に発生するタイマ割込にもとづくタイマ割込処理でセットされるフラグに応じて実行されたが、定期的に(例えば2ms毎)信号を発生するハードウェア回路を設け、その回路からの信号をCPU56の外部割込端子に導入し、割込信号によって遊技制御処理に移行すべきか否かを判定するためのフラグをセットするようにしてもよい。
【0128】
そのように構成した場合にも、遊技制御処理の全てが実行されるまでは、フラグの判定が行われないので、遊技制御処理中の全ての各処理が実行完了することが保証される。
【0129】
図21は、主基板31から払出制御基板37に送出される払出制御コマンドのコマンド形態の一例を示す説明図である。この実施の形態では、払出制御コマンドは2バイト構成であり、1バイト目はMODE(コマンドの分類)を表し、2バイト目はEXT(コマンドの種類)を表す。なお、図21に示されたコマンド形態は一例であって他のコマンド形態を用いてもよい。MODEデータの先頭ビット(ビット7)は必ず「1」とされ、EXTデータの先頭ビット(ビット7)は必ず「0」とされる。
【0130】
図22は、各電気部品制御手段に対する制御コマンドを構成する8ビットの制御信号(この場合には払出制御信号)とINT信号(この場合には払出制御信号INT)との関係を示すタイミング図である。図22に示すように、MODEまたはEXTのデータが出力ポート(払出制御信号の場合にはポート1)に出力されてから、Aで示される期間が経過すると、CPU56は、データ出力を示す信号であるINT信号をオン状態にする。また、そこからBで示される期間が経過するとINT信号をオフ状態にする。さらに、次に送出すべきデータがある場合には、すなわち、MODEデータ送出後では、Cで示される期間をおいてから2バイト目のデータを出力ポートに送出する。2バイト目のデータに関して、A,Bの期間は、1バイト目の場合と同様である。
【0131】
Aの期間は、CPU56が、コマンドの送出準備の期間すなわちバッファに送出コマンドを設定する処理に要する期間であるとともに、制御信号線(払出制御信号の場合には払出制御信号線)におけるデータの安定化のための期間である。また、Bの期間は、INT信号安定化のための期間である。そして、Cの期間は、電気部品制御手段(払出制御信号の場合には払出制御手段)が確実にデータを取り込めるように設定されている期間である。Cの期間では、信号線上のデータは変化しない。すなわち、Cの期間が経過するまでデータ出力が維持される。
【0132】
この実施の形態では、払出制御基板37への払出制御コマンド、表示制御基板80への表示制御コマンド、ランプ制御基板35へのランプ制御コマンドおよび音声制御基板70への音声制御コマンドは、同一のルーチン(共通モジュール)を用いて送出される。そこで、Cの期間すなわち1バイト目に関するINT信号がオフ状態になってから2バイト目のデータが送出開始されるまでの期間は、コマンド受信処理に最も時間がかかる電気部品制御手段における受信処理時間よりも長くなるように設定される。例えば、払出制御基板37、表示制御基板80、ランプ制御基板35および音声制御基板70における各CPUが最も優先度の高い割込によって遊技制御手段からの制御コマンドを受信するように構成されている場合に、払出制御基板37における払出制御用CPU371の動作クロックが最も遅いときには、払出制御用CPU371の受信処理時間よりも長くなるように設定される。また、各CPUの動作クロックが同一であっても処理に要するクロック数が異なっているときには、最も多いクロック数を要するCPUの受信処理時間よりも長くなるように設定される。
【0133】
なお、各電気部品制御手段は、INT信号がオン状態(ハイレベル)からオフ状態(ローレベル)になったことを検知して、例えば割込処理によって1バイトのデータの取り込み処理を開始する。
【0134】
Cの期間が、コマンド受信処理に最も時間がかかる電気部品制御手段における受信処理時間よりも長いので、遊技制御手段が、各電気部品制御手段に対するコマンド送出処理を共通モジュールで制御しても、いずれの電気部品制御手段でも遊技制御手段からの制御コマンドを確実に受信することができる。
【0135】
図23は、払出制御コマンドの内容の一例を示す説明図である。図23に示された例において、MODE=FF(H),EXT=00(H)のコマンドFF00(H)は、払出可能状態を指定する払出制御コマンドである。MODE=FF(H),EXT=01(H)のコマンドFF01(H)は、払出停止状態を指定する払出制御コマンドである。また、MODE=F0(H)のコマンドF0XX(H)は、賞球個数を指定する払出制御コマンドである。EXTである「XX」が払出個数を示す。
【0136】
払出制御手段は、主基板31の遊技制御手段からFF01(H)の払出制御コマンドを受信すると賞球払出および球貸しを停止する状態となり、FF00(H)の払出制御コマンドを受信すると賞球払出および球貸しができる状態になる。また、賞球個数を指定する払出制御コマンドを受信すると、受信したコマンドで指定された個数に応じた賞球払出制御を行う。
【0137】
なお、払出制御コマンドは、払出制御手段が認識可能に1回だけ送出される。認識可能とは、この例では、INT信号がオン状態になることであり、認識可能に1回だけ送出されるとは、この例では、払出制御信号の1バイト目および2バイト目のそれぞれに応じてINT信号が1回だけオン状態になることである。
【0138】
図24は、図20に示された遊技制御処理におけるスイッチ処理(ステップS21)の賞球制御に関連する部分を示すフローチャートである。スイッチ処理において、CPU56は、球切れスイッチ187a,187bによって賞球用の球切れを検出すると球切れ状態フラグをセットする(ステップS121,S122)。また、球切れスイッチ187a,187bによって球切れでないことを検出すると球切れ状態フラグをリセットする(ステップS121,S123)。
【0139】
次いで、満タンスイッチ48によって下皿満タンを検出すると満タンフラグをセットする(ステップS124,S125)。また、満タンスイッチ48によって下皿満タンでないことを検出すると満タンフラグをリセットする(ステップS124,S126)。
【0140】
さらに、カウントスイッチ23がオンしたことを検出すると、15個カウンタを+1し(ステップS131,S132)、入賞口スイッチ19a,24aのいずれかがオンしたことを検出すると、10個カウンタを+1し(ステップS133,S134)、始動口スイッチ17がオンしたことを検出すると6個カウンタを+1する(ステップS135,S136)。
【0141】
なお、この実施の形態では、大入賞口を経た入賞については15個の賞球を払い出し、始動入賞口14を経た入賞については6個の賞球を払い出し、その他の入賞口19,24および入賞球装置を経た入賞については10個の賞球を払い出すとする。15個カウンタは大入賞口への入賞数を計数するためのカウンタであり、10個カウンタは普通入賞口への入賞数を計数するためのカウンタであり、6個カウンタは始動入賞口への入賞数を計数するためのカウンタである。
【0142】
図25〜図27は、図20に示された遊技制御処理における入賞球信号処理(ステップS31)の一例を示すフローチャートである。この例では、入賞球信号処理において、CPU56は、まず、払出停止状態であるか否か確認する(ステップS201)。払出停止状態は、払出制御基板37に対して払出停止状態指定のコマンドを送出した後の状態である。払出停止状態でなければ、上述した球切れ状態フラグまたは満タンフラグがオンになったか否かを確認する(ステップS202)。
【0143】
いずれかがオン状態に変化したときには、払出停止状態指定に関するコマンド送信テーブルの設定を行う(ステップS203)。コマンド送信テーブルについては後で詳しく説明する。なお、ステップS202において、いずれか一方のフラグが既にオン状態であったときに他方のフラグがオン状態になったときには、コマンド送信テーブルの設定(ステップS203)は行われない。
【0144】
また、払出停止状態であれば、球切れ状態フラグおよび満タンフラグがともにオフ状態になったか否かを確認する(ステップS204)。ともにオフ状態となったときには、払出停止解除指定に関するコマンド送信テーブルの設定を行う(ステップS205)。
【0145】
次いで、タイマT1がタイムアウトしたか否か確認する(ステップS211)。タイマT1は、復帰不能なエラーとなったか否かを判定するためのタイマである。タイムアウト時に累積エラー回数が所定回数を越えていたら復帰不能なエラーとなる。累積エラー回数が所定回数以下であれば、動作は継続される。タイマT1がかかっていない場合、またはかかっていてもタイムアウトしていない場合にはステップS221に移行する。
【0146】
タイマT1がタイムアウトしていた場合には、賞球エラーカウンタの値をチェックする(ステップS212)。賞球エラーカウンタの値が所定値を越えていた場合には、エラー状態に入る(ステップS217)。エラー状態では、CPU56は停止状態になる。例えば、ループ状態(同一番地にジャンプ)とされる。
【0147】
タイマT1がタイムアウトしたときに賞球エラーカウンタの値が所定回を越えていなければ、賞球エラーカウンタは初期化され(ステップS213)、再度タイマT1がスタートされる(ステップS214)。
【0148】
賞球エラーカウンタの値は、賞球個数の過多等のエラーが検出されるとカウントアップされる。従って、所定時間内に(タイマT1のカウントアップ時間内に)所定回数を越える賞球過多エラーが生ずると、2ms割込で再起動されても解除されない状態になる。このように、賞球過多エラーが生じたときに直ちにホールト状態とならず、頻繁に賞球過多エラーが生じた場合に停止状態となるように構成すると、一時的に生じ自然復旧するようなエラーでは遊技機は動作不能状態にならない。また、頻繁に賞球過多エラーが生ずる場合には点検等を要することが多いので、そのような場合には遊技機が動作不能状態になるようにすることができる。
【0149】
次いで、CPU56は、入賞に応じた賞球個数に関する払出制御コマンドをコマンド送信テーブルに設定する制御を行う。まず、15個カウンタの値をチェックする(ステップS221)。上述したように、15個カウンタは、遊技球が大入賞口に入賞してカウントスイッチ23がオンするとカウントアップされる。15個カウンタの値が0でない場合には、15個の賞球個数指示に関するコマンド送信テーブルの設定を行う(ステップS222)。また、15個カウンタの値を−1する(ステップS223)。さらに、払出指令個数累積値に15を加算する(ステップS224)。
【0150】
15個カウンタの値が0であれば、10個カウンタの値をチェックする(ステップS225)。上述したように、10個カウンタは、遊技球が入賞口に入賞して入賞口スイッチ19a,24aがオンするとカウントアップされる。10個カウンタの値が0でない場合には、10個の賞球個数指示に関するコマンド送信テーブルの設定を行う(ステップS226)。また、10個カウンタの値を−1する(ステップS227)。さらに、払出指令個数累積値に10を加算する(ステップS228)。
【0151】
10個カウンタの値が0であれば、6個カウンタの値をチェックする(ステップS231)。上述したように、6個カウンタは、遊技球が始動入賞口に入賞して始動口スイッチ17がオンするとカウントアップされる。6個カウンタの値が0でない場合には、6個の賞球個数指示に関するコマンド送信テーブルの設定を行う(ステップS232)。また、6個カウンタの値を−1する(ステップS233)。さらに、払出指令個数累積値に6を加算する(ステップS234)。
【0152】
以上にようにして、遊技制御手段から払出制御基板37に払出制御コマンドを出力しようとするときに、コマンド送信テーブルの設定が行われる。そして、コマンド送信テーブルの設定が行われたときには、賞球払出中フラグをオンする(ステップS235)。また、賞球払出中フラグをオンしているときには、ステップS241に移行する(ステップS236)。
【0153】
次いで、CPU56は、エラー表示フラグがオンしているか否か確認する(ステップS241)。オンしていれば、ステップS257に移行する。なお、エラー表示フラグについては後で説明する。エラー表示フラグがオンしていなければ、賞球カウントスイッチ301Aがオンするのを待つ(ステップS242)。賞球カウントスイッチ301Aのオンを検出すると、賞球カウントスイッチ301Aのオフを待ち(ステップS242)、オフしたら払出指令累積個数を−1する(ステップS244)。また、賞球個数信号出力処理サブルーチンを起動する(ステップS245)。そして、タイマT2を起動する(ステップS246)。
【0154】
払い出された賞球は1個ずつ賞球カウントスイッチ301Aを通過するが、以上のように、賞球カウントスイッチ301Aのオンおよびオフを検出することによって遊技球の通過が確実に検出される。そして、遊技球の通過が検出された場合には、1個の賞球があったとして、払出指令累積個数が−1される。
【0155】
なお、払出制御コマンド送出時に加算され賞球カウントスイッチ301Aがオンすると−1される払出指令個数累積値が、タイマT2のタイムアウト時に0になっていないと、賞球過多または賞球不足が生じていると判定される。従って、タイマT2は、賞球カウントスイッチ301Aの出力がオンした後オフする度に起動または再スタートされる。
【0156】
ステップS242において賞球カウントスイッチ301Aがオンしていなければ、タイマT2が動作中か否か確認する(ステップS247)。タイマT2が動作中であれば、CPU56は、タイマT2がタイムアウトしたか否か確認する(ステップS250)。タイムアウトしていなければ処理を終了する。
【0157】
タイマT2の値(起動時からタイムアウトするまでの時間)は、正常に払出が行われている場合には払出周期(賞球カウントスイッチ301Aがオンしてから次にオンするまでの期間)よりも長く設定されている。従って、正常に払出が行われているときには、最後の払出を除いて、タイマT2がタイムアウトするよりも前に、次の賞球カウントスイッチ301Aのオン(ステップS242)が発生する。すなわち、正常に払出が行われているときには、タイマT2は、最後の払出が行われた後に初めてタイムアウトする。
【0158】
なお、連続払出(ある入賞に対する賞球払出と次の入賞に対する賞球払出とが連続して行われること)における賞球払出間にインターバル時間が設けられる場合もあるが、その場合には、タイマT2の値は、インターバル時間よりも長く設定される。すなわち、連続払出が行われるときには、やはり、最後の払出が行われた後に初めてタイムアウトする。
【0159】
ステップS250において、タイマT2がタイムアウトすると、CPU56は、払出指令個数累積値が0になっているか否か確認する(ステップS251)。後述する補正払出が行われたときには、補正個数記憶値が0になっているか否か確認する。払出指令個数累積値は、入賞があったときに賞球数分だけ加算され賞球があったことを検出する賞球カウントスイッチ301Aのオンによって−1されているので、正常に払出が完了した場合には値は0である。従って、値が0である場合には、賞球払出フラグをオフして処理を終了する(ステップS252)。
【0160】
タイマT2がタイムアウトしたときに払出指令個数累積値または補正個数記憶値が0になっていない場合には、賞球過多または賞球不足が生じている。そこで、払出指令個数累積値または補正個数記憶値が0になっていなかった場合には、CPU56は、値の正負をチェックする(ステップS253)。値が正である場合、すなわち払出不足と判断される場合には、補正すべき個数補正個数記憶値に設定するとともに(ステップS255)、補正個数に関するコマンド送信テーブルをセットする(ステップS256)。
【0161】
図28は、エラー表示処理の一例を示すフローチャートである。エラー表示処理において、CPU56は、まず、タイマT3が動作中であるかどうか確認する(ステップS261)。タイマT3はエラー検出時にセットされるタイマであり、タイムアウトするまでエラー表示が行われる。タイマT3が動作中でなければ、エラー表示フラグをオンし(ステップS262)、エラー表示要求をセットする(ステップS263)。そして、タイマT3を起動する(ステップS264)。また、賞球エラーカウンタの値を+1する(ステップS265)。
【0162】
賞球エラーカウンタの値は、ステップS212でチェックされ、所定時間内にその値が所定値を越えると自動復旧しない完全エラー状態とされる。なお、エラー表示要求がセットされると、例えば、可変表示部9にエラー表示がなされるように制御されたり、スピーカ27からエラー報知音が発生されるように制御されたりする。
【0163】
そして、遊技状態が通常状態であるならば(ステップS266)、ループ状態になる。通常状態とは、大当り遊技状態および可変表示部9に可変表示がなされている状態以外の状態である。
【0164】
ステップS261においてタイマT3が動作中である場合には、CPU56は、タイマT3がタイムアウトしているか否か確認する(ステップS270)。タイムアウトした場合には、エラー表示要求をリセットするとともに(ステップS271)、エラー表示中フラグをオフする(ステップS272)。また、賞球払出フラグをオフする(ステップS273)。よって、遊技機は、再度入賞球検出と賞球払出制御を行える状態に復帰する。なお、エラー表示フラグがオンしているときには、遊技進行は中断されている。
【0165】
ステップS213のエラー状態(所定期間内に賞球エラーカウンタの値が所定値を越えた)については、例えば、エラー表示やエラー報知が行われるとともに、ループ状態になるように制御される。
【0166】
図29は、賞球カウントスイッチ301Aがオンしてからオフし、1個の遊技球が払い出されたことが確認された場合(ステップS242〜S243)に起動される賞球個数信号出力処理サブルーチン(ステップS245)を示すフローチャートである。
【0167】
賞球個数出力処理サブルーチンでは、CPU56は、賞球個数カウンタの値を+1する(ステップS281)。そして、賞球個数カウンタの値が10の倍数になっていれば(ステップS282)、賞球個数出力要求をオンする(ステップS283)。なお、賞球個数カウンタが単にアップカウントされるだけのものであり、賞球個数カウンタが16ビットカウンタであれば、その値がFFFF(H)になった後0に戻る。
【0168】
図30および図31は、図20に示された遊技制御処理におけるデータ出力処理の各情報の外部出力に関する処理を示すフローチャートである。最初に、使用されるタイマについて説明する。
【0169】
Ta:賞球個数信号のオン期間を決めるタイマ(図14(C)参照)。
Tb:図柄確定回数信号のオン期間を決めるタイマ(図14(A)参照)。
Tc:大当り情報1,2信号のオンタイミングを決めるタイマ(図14(A)参照)。
Td:大当り情報1,2信号のオフタイミングを決めるタイマ(図14(A)参照)。
Te:始動口情報信号のオン期間を決めるタイマ(図14(B)参照)。
【0170】
データ出力処理では、CPU56は、まず、Taタイマが動作中か否か(賞球個数信号がオン中か否か)確認する(ステップS150)。動作中であれば、タイムアウトしたか否か確認する(ステップS151)。タイムアウトしたら、賞球個数信号をオフ(ハイレベル)にする(ステップS152)。
【0171】
なお、図13に示されたように、賞球個数信号は情報出力回路64において論理反転されるので、実際には、CPU56からオン状態が「1」として出力される。しかし、説明を簡単にするために、ここでも、賞球個数信号は負論理であるとして説明を進める。このことは、その他の信号についても同様である。
【0172】
次に、CPU56は、まず、Tbタイマが動作中か否か(図柄確定回数信号がオン中か否か)確認する(ステップS153)。動作中であれば、タイムアウトしたか否か確認する(ステップS154)。タイムアウトしたら、図柄確定回数信号をオフ(ハイレベル)にする(ステップS155)。また、Tcタイマが動作中か否か確認する(ステップS156)。動作中であれば、タイムアウトしたか否か確認する(ステップS157)。タイムアウトしたら、大当り情報1信号および大当り情報2信号をオン(ローレベル)にする(ステップS158,S159)。
【0173】
さらに、Tdタイマが動作中か否か確認する(ステップS161)。動作中であれば、タイムアウトしたか否か確認する(ステップS162)。タイムアウトしたら、大当り情報1信号をオフ(ハイレベル)にする(ステップS163)。ここで、大当りが確率変動状態を引き起こす特定図柄によるものであったときには(ステップS164)、確率変動情報信号をオン(ローレベル)にし(ステップS543)、そうでなければ、大当り情報2信号をオフ(ハイレベル)にする(ステップS165)。そして、Teタイマが動作中か否か(始動入賞情報信号がオン中か否か)確認する(ステップS166)。動作中であれば、タイムアウトしたか否か確認する(ステップS167)。タイムアウトしたら、始動口情報信号をオフ(ハイレベル)にする(ステップS168)。
【0174】
次に、CPU56は、賞球個数出力要求がオンしていたら(ステップS171)、賞球個数出力要求をリセットするとともに(ステップS172)、賞球個数信号をオン(ローレベル)状態にする(ステップS173)。また、Taタイマを起動する(ステップS174)。なお、賞球個数出力要求は、入賞球信号処理において、賞球払出数が10個に達する度にセットされている(ステップS283)。
【0175】
また、可変表示部9における特別図柄の変動が停止すると(ステップS175)、図柄確定回数信号をオン状態にするとともに(ステップS176)、Tbタイマを起動する(ステップS177)。そして、停止時の図柄の組み合わせが大当りを生じさせるものであれば(ステップS178)、Tcタイマを起動する(ステップS179)。さらに、大当り遊技状態が終了すると(ステップS180)、Tdタイマを起動する(ステップS181)。
なお、特別図柄の変動の停止、停止時の確定図柄および大当り遊技状態の終了は、図20に示された遊技制御処理における特別図柄プロセス処理(ステップS25)から通知される。
【0176】
そして、CPU56は、始動入賞があると(ステップS182)、始動口情報信号をオン(ローレベル)状態にするとともに(ステップS183)、Teタイマを起動する(ステップS184)。
【0177】
以上のような処理によって、図柄確定回数信号、大当り情報1,2信号、確率変動情報信号、始動口情報信号および賞球個数信号が、図14のタイミング図に示されたように出力される。そして、この実施の形態では、賞球個数信号は、10個の賞球払出がなされる毎に、遊技制御手段を搭載した主基板31から直接出力されている。
【0178】
すなわち、賞球払出が行われるときに、Taタイマで作成される時間だけ賞球個数信号がオンする。CPU56からの賞球個数信号は、図13に示された情報出力回路64において、増幅回路64hで反転された後、フォトカプラ642に入力する。フォトカプラ642における発光ダイオードは、CPU56から「1」が出力されたときに導通して発光する。すると、フォトカプラ642におけるフォトトランジスタが導通する。フォトカプラ642内部でフォトトランジスタには抵抗が接続されている。従って、ダイオードブリッジ643におけるフォトカプラ642に接続された入力端子間に電位差が現れる。すると、ダイオードブリッジ643における各ダイオードが導通状態になって、ダイオードブリッジ643における出力端子間の電位が等しくなる。すなわち、出力端子間が接続された状態(短絡状態)になる。
【0179】
CPU56から「0」が出力されているときには、ダイオードブリッジ643における出力端子間が開放状態になる。ホールコンピュータ等の外部機器では、2つの端子間が接続状態にあるときには、賞球個数信号がオンしていると判定する。よって、図14(C)に示されたように賞球個数信号が外部に出力されることになる。
【0180】
なお、この実施の形態では、図13に示されたように、主基板31の情報出力回路64において、賞球個数信号は、増幅回路、フォトカプラおよびダイオードブリッジによる接点の接続による形態で出力された。しかし、賞球個数信号も、情報端子盤34への各信号と同様に、電圧レベルの形態で出力されるように構成してもよい。
【0181】
図32(A)は、上述したコマンド送信テーブルの一構成例を示す説明図である。1つのコマンド送信テーブルは3バイトで構成され、1バイト目にはINTデータが設定される。また、2バイト目のコマンドデータ1には、払出制御コマンドの1バイト目のMODEデータが設定される。そして、3バイト目のコマンドデータ2には、払出制御コマンドの2バイト目のEXTデータが設定される。
【0182】
なお、EXTデータそのものがコマンドデータ2の領域に設定されてもよいが、コマンドデータ2には、EXTデータが格納されているテーブルのアドレスを指定するためのデータが設定されるようにしてもよい。この実施の形態では、コマンドデータ2のビット7(ワークエリア参照ビット)が0あれば、コマンドデータ2にEXTデータそのものが設定されていることを示す。なお、そのようなEXTデータはビット7が0であるデータである。また、ワークエリア参照ビットが1あれば、他の7ビットが、EXTデータが格納されているテーブルのアドレスを指定するためのオフセットであることを示す。
【0183】
この実施の形態では複数のコマンド送信テーブルが用意され、使用すべきコマンド送信テーブルはポインタで指定される。また、複数のコマンド送信テーブルはリングバッファとして使用される。従って、CPU56は、入賞球信号処理において、書込ポインタが指しているコマンド送信テーブルに、INTデータ、コマンドデータ1およびコマンドデータ2を設定する。そして、書込ポインタの値を更新する。1つのコマンド送信テーブルは3バイト構成であるから、具体的には、書込ポインタ値は+3される。
【0184】
なお、図26に示す処理では、1回の処理について1つの払出制御コマンドに関するコマンド送信テーブル設定処理しか行われないが、複数のコマンド送信テーブルが設けられているので、複数のコマンド送信テーブル設定処理を行うように構成してもよい。例えば、複数の入賞が15個カウンタ、10個カウンタおよび6個カウンタに記憶されている場合に、1回の入賞球信号処理で、複数のコマンド送信テーブル設定処理を行ってもよい。
【0185】
また、ここでは、払出制御コマンドについて説明するが、表示制御コマンド、ランプ制御コマンドおよび音声制御コマンドを送出するときにも、図32(A)に示すようなコマンド送信テーブルに、INTデータ、コマンドデータ1およびコマンドデータ2が設定される。その際にも、書込ポインタが指しているコマンド送信テーブルに、INTデータ、コマンドデータ1およびコマンドデータ2が設定される。
【0186】
図32(B)INTデータの一構成例を示す説明図である。INTデータにおけるビット0は、払出制御基板37に払出制御コマンドを送出すべきか否かを示す。ビット0が「1」であるならば、払出制御コマンドを送出すべきことを示す。従って、CPU56は、入賞球信号処理において、INTデータに「01(H)」を設定する。
【0187】
なお、INTデータのビット1,2,3は、それぞれ、表示制御コマンド、ランプ制御コマンド、音声制御コマンドを送出すべきか否かを示すビットであり、CPU56は、それらのコマンドを送出すべきタイミングになったら、特別図柄プロセス処理等で、ポインタが指しているコマンド送信テーブルに、INTデータ、コマンドデータ1およびコマンドデータ2を設定する。それらのコマンドを送出するときには、INTデータの該当ビットが「1」に設定され、コマンドデータ1およびコマンドデータ2にMODEデータおよびEXTデータが設定される。
【0188】
図33は、図20に示された遊技制御処理におけるコマンド制御処理(ステップS27)の処理例を示すフローチャートである。コマンド制御処理は、コマンド出力処理とINT信号出力処理とを含む処理である。コマンド制御処理において、CPU56は、まず、コマンド送信テーブルのアドレス(読出ポインタの内容)をスタック等に退避する(ステップS401)。そして、読出ポインタが指していたコマンド送信テーブルのINTデータを引数1にロードする(ステップS402)。引数1は、後述するコマンド送信処理に対する入力情報になる。また、コマンド送信テーブルを指すアドレスを+1する(ステップS403)。従って、コマンド送信テーブルを指すアドレスは、コマンドデータ1のアドレスに一致する。
【0189】
そこで、CPU56は、コマンドデータ1を読み出して引数2に設定する(ステップS404)。引数2も、後述するコマンド送信処理に対する入力情報になる。そして、コマンド送信処理ルーチンをコールする(ステップS405)。
【0190】
図34は、コマンド送信ルーチンを示すフローチャートである。コマンド送信ルーチンにおいて、CPU56は、まず、引数1に設定されているデータすなわちINTデータを、比較値として決められているワークエリアに設定する(ステップS421)。次いで、送信回数=4を、処理数として決められているワークエリアに設定する(ステップS422)。そして、払出制御信号を出力するためのポート1(出力ポート571)のアドレスをIOアドレスにセットする(ステップS423)。
【0191】
次に、CPU56は、比較値を1ビット右にシフトする(ステップS424)。シフト処理の結果、キャリービットが1になったか否か確認する(ステップS425)。キャリービットが1になったということは、INTデータにおける最も右側のビットが「1」であったことを意味する。この実施の形態では4回のシフト処理が行われるのであるが、例えば、払出制御コマンドを送出すべきことが指定されているときには、最初のシフト処理でキャリービットが1になる。
【0192】
キャリービットが1になった場合には、引数2に設定されているデータ、この場合にはコマンドデータ1(すなわちMODEデータ)を、IOアドレスとして設定されているアドレスに出力する(ステップS426)。最初のシフト処理が行われたときにはIOアドレスにポート1(出力ポート571)のアドレスが設定されているので、結局、払出制御コマンドのMODEデータがポート1に出力される。
【0193】
次いで、CPU56は、IOアドレスを1加算するとともに(ステップS427)、処理数を1減算する(ステップS428)。加算前にポート1を示していた場合には、IOアドレスに対する加算処理によって、IOアドレスにはポート2(出力ポート572)のアドレスが設定される。ポート2(出力ポート572)は、表示制御コマンドを出力するためのポートである。そして、CPU56は、処理数の値を確認し(ステップS429)、値が0になっていなければ、ステップS424に戻る。ステップS424で再度シフト処理が行われる。
【0194】
2回目のシフト処理ではINTデータにおけるビット1の値が押し出され、ビット1の値に応じてキャリーフラグが「1」または「0」になる。従って、表示制御コマンドを送出すべきことが指定されているか否かのチェックが行われる。同様に、3回目および4回目のシフト処理によって、ランプ制御コマンドおよび音声制御コマンドを送出すべきことが指定されているか否かのチェックが行われる。このように、それぞれのシフト処理が行われるときに、IOアドレスには、シフト処理によってチェックされるコマンド(払出制御コマンド、表示制御コマンド、ランプ制御コマンド、音声制御コマンド)に対応したIOアドレスが設定されている。よって、キャリーフラグが「1」になったときには、対応する出力ポート(ポート1〜ポート4)に制御コマンドが送出される。すなわち、1つの共通モジュールで、各電気部品制御手段に対する制御コマンドの送出処理を行うことができる。
【0195】
また、このように、シフト処理のみによってどの電気部品制御手段に対して制御コマンドを出力すべきかが判定されるので、いずれの電気部品制御手段に対して制御コマンドを出力すべきか判定する処理が簡略化されている。
【0196】
次に、CPU56は、シフト処理開始前のINTデータが格納されている引数1の内容を読み出し(ステップS430)、読み出したデータをポート0(出力ポート570)に出力する(ステップS431)。INTデータでは、ステップS421〜S429の処理で出力された制御コマンド(払出制御コマンド、表示制御コマンド、ランプ制御コマンド、音声制御コマンド)に応じたINT信号の出力ビットに対応したビットが「1」になっている。従って、ポート1〜ポート4のいずれかに出力された制御コマンド(払出制御コマンド、表示制御コマンド、ランプ制御コマンド、音声制御コマンド)に対応したINT信号がオン状態になる。
【0197】
次いで、CPU56は、ウェイトカウンタに所定値を設定し(ステップS432)、その値が0になるまで1ずつ減算する(ステップS433,S434)。この処理は、図20に示されたBの期間を設定するための処理である。ウェイトカウンタの値が0になると、クリアデータ(00)を設定して(ステップS435)、そのデータをポート0に出力する(ステップS436)。よって、INT信号はオフ状態になる。そして、ウェイトカウンタに所定値を設定し(ステップS432)、その値が0になるまで1ずつ減算する(ステップS438,S439)。この処理は、図22に示されたCの期間を設定するための処理である。
【0198】
従って、ステップS437でウェイトカウンタに設定される値は、Cの期間が、制御コマンド受信対象となる全ての電気部品制御手段が確実にコマンド受信処理を行うのに十分な期間になるような値である。また、ウェイトカウンタに設定される値は、Cの期間が、ステップS421〜S429の処理に要する時間よりも長くなるような値である。
【0199】
以上のようにして、制御コマンドの1バイト目のMODEデータが送出される。そこで、CPU56は、図33に示すステップS406で、コマンド送信テーブルを指す値を1加算する。従って、3バイト目のコマンドデータ2の領域が指定される。CPU56は、指し示されたコマンドデータ2の内容を引数2にロードする(ステップS407)。また、コマンドデータ2のビット7(ワークエリア参照ビット)の値が「0」であるか否か確認する(ステップS409)。0でなければ、コマンド拡張データアドレステーブルの先頭アドレスをポインタにセットし(ステップS409)、そのポインタにコマンドデータ2のビット6〜ビット0の値を加算してアドレスを算出する(ステップS410)。そして、そのアドレスが指すエリアのデータを引数2にロードする(ステップS411)。
【0200】
コマンド拡張データアドレステーブルには、電気部品制御手段に送出されうるEXTデータが順次設定されている。よって、以上の処理によって、ワークエリア参照ビットの値が「1」であれば、コマンドデータ2の内容に応じたコマンド拡張データアドレステーブル内のEXTデータが引数2にロードされ、ワークエリア参照ビットの値が「0」であれば、コマンドデータ2の内容がそのまま引数2にロードされる。なお、コマンド拡張データアドレステーブルからEXTデータが読み出される場合でも、そのデータのビット7は「0」である。
【0201】
次に、CPU56は、コマンド送信ルーチンをコールする(ステップS412)。従って、MODEデータの送出の場合と同様のタイミングでEXTデータが送出される。その後、CPU56は、コマンド送信テーブルのアドレスを復帰し(ステップS413)、コマンド送信テーブルを指す読出ポインタの値を更新する(ステップS414)。1つのコマンド送信テーブルは3バイト構成であるから、具体的には、読出ポインタの値は+3される。
【0202】
以上のようにして、2バイト構成の払出制御コマンドが払出制御基板37に送出される。なお、図33に示されたコマンド制御処理は、他の制御コマンド(表示制御コマンド、ランプ制御コマンド、音声制御コマンド)を送出する際にも用いられる。各電気部品制御手段ではINT信号の立ち下がりを検出すると制御コマンドの取り込み処理を開始するのであるが、いずれの電気部品制御手段についても、取り込み処理が完了する前に遊技制御手段からの新たな信号が信号線に出力されることはない。すなわち、各電気部品制御手段において、確実なコマンド受信処理が行われる。なお、各電気部品制御手段は、INT信号の立ち上がりで制御コマンドの取り込み処理を開始してもよい。また、INT信号の極性を図22に示された場合と逆にしてもよい。
【0203】
また、この実施の形態では、複数のコマンド送信テーブルがリングバッファとして用いられ、図33に示すコマンド制御処理では、読出ポインタが指しているコマンド送信テーブルを対象としてコマンド出力制御が行われ、コマンド送信テーブルにデータを設定する処理、例えば、図25に示す入賞球信号処理では、書込ポインタが指すコマンド送信テーブルを対象としてコマンド設定処理が行われる。従って、同時に複数のコマンド送出要求が発生しても、それらの要求にもとづくコマンド出力処理は問題なく実行される。
【0204】
次に、払出制御手段の動作について説明する。図35は、払出制御用CPU371周りの一構成例を示すブロック図である。図35に示すように、第1の電源監視回路(第1の電源監視手段)からの電圧低下信号が、バッファ回路960を介して払出制御用CPU371のマスク不能割込端子(XNMI端子)に接続されている。第1の電源監視回路は、遊技機が使用する各種直流電源のうちのいずれかの電源の電圧を監視して電源電圧低下を検出する回路である。この実施の形態では、VSLの電源電圧を監視して電圧値が所定値以下になるとローレベルの電圧低下信号を発生する。VSLは、遊技機で使用される直流電圧のうちで最大のものであり、この例では+30Vである。従って、払出制御用CPU371は、割込処理によって電源断の発生を確認することができる。
【0205】
この実施の形態で用いられる払出制御用CPU371も、主基板31のCPU56と同様に、PIOおよびCTCを内蔵している。ただし、この実施の形態では内蔵PIOを使用しない。その場合には、例えば、全ポートを入力モードとして、全ポートをグラウンドレベルに接続する。
【0206】
また、主基板31のCPU56と同様に、払出制御用CPU371も、割込モード0〜2のいずれかに設定可能であり、CTCは、以下に説明するようなタイマモードまたはカウンタモードで動作可能である。また、CTCは4つのチャネルを有している。具体的には、4個のタイマカウンタレジスタCLK/TRG0〜3(チャネル0〜3のカウンタ)を有する。動作モードは、チャネル毎に設定可能である。
【0207】
各タイマカウンタレジスタCLK/TRG0〜3の値は、対応するCLK/TRG端子に入力されるクロック信号に応じてカウントダウンされ、カウント値が0になると割込を発生することができる。従って、CTCのチャネル0〜3は、それぞれ割込発生部となることができる。チャネル0の優先順位が最も高く、以下、順次優先順位が下がる。すなわち、複数のタイマカウンタレジスタCLK/TRGのカウント値が同時に0になった場合には、番号が小さいチャネルが優先され、それらのチャネルが割込を発生するように設定されていれば、番号が小さいチャネルからの割込が先に受け付けられる。
【0208】
この実施の形態では、内蔵CTCのチャネル3がタイマモードで使用され、チャネル2がカウンタモードで使用される。また、チャネル3はタイマ割込の発生源として使用され、チャネル2は払出制御コマンド受信用として使用される。
【0209】
カウンタモード:払出制御用CPU371のCLK/TRG端子にクロック信号の立上がりまたは立下がりが入力されるとカウント値を−1する。そのチャネルに対して割込発生許可が設定されている場合には、カウント値が0になると割込を発生するとともに、初期値をカウンタに再ロードする。また、割込ベクタの設定がなされていれば、カウント値が0になったときに、内部データバス上に割込ベクタを送出する。
【0210】
タイマモード:システムクロック(内部クロック)を1/16分周または1/256分周したクロック信号にもとづいてカウント値を−1する。そのチャネルに対して割込発生許可が設定されている場合には、カウント値が0になると割込を発生するとともに、初期値をカウンタに再ロードする。また、割込ベクタの設定がなされていれば、カウント値が0になったときに、内部データバス上に割込ベクタを送出する。
【0211】
払出制御用CPU371のCLK/TRG2端子には、主基板31からのINT信号(払出制御信号INT)が接続されている。CLK/TRG2端子にクロック信号が入力されると、払出制御用CPU371に内蔵されているタイマカウンタレジスタCLK/TRG2(CTCのチャネル2のカウンタ)の値がダウンカウントされる。そして、レジスタ値が0になると割込が発生する。従って、図32に示すように、タイマカウンタレジスタCLK/TRG2の初期値を「1」に設定しておけば、INT信号の入力に応じてレジスタ値が0になって割込が発生することになる。
【0212】
払出制御基板37には、システムリセット回路975も搭載されているが、この実施の形態では、システムリセット回路975は、第2の電源監視回路(第2の電源監視手段)も兼ねている。すなわち、リセットIC976は、電源投入時に、外付けのコンデンサに容量で決まる所定時間だけ出力をローレベルとし、所定時間が経過すると出力をハイレベルにする。また、リセットIC976は、電源基板910に搭載されている第1の電源監視回路が監視する電源電圧と等しい電源電圧であるVSLの電源電圧を監視して電圧値が所定値(例えば+9V)以下になるとローレベルの電圧低下信号を発生する。従って、電源断時には、リセットIC976からの電圧低下信号がローレベルになることによって払出制御用CPU371がシステムリセットされる。なお、図35に示すように、電圧低下信号はリセット信号と同じ出力信号である。
【0213】
リセットIC976が電源断を検知するための所定値は、通常時の電圧より低いが、払出制御用CPU371が暫くの間動作しうる程度の電圧である。また、リセットIC976が、払出制御用CPU371が必要とする電圧(この例では+5V)よりも高い電圧を監視するように構成されているので、払出制御用CPU371が必要とする電圧に対して監視範囲を広げることができる。従って、より精密な監視を行うことができる。
【0214】
+5V電源から電力が供給されていない間、払出制御用CPU371の内蔵RAMの少なくとも一部は、電源基板から供給されるバックアップ電源がバックアップ端子に接続されることによってバックアップされ、遊技機に対する電源が断しても内容は保存される。そして、+5V電源が復旧すると、システムリセット回路975からリセット信号が発せられるので、払出制御用CPU371は、通常の動作状態に復帰する。そのとき、必要なデータがバックアップされているので、停電等からの復旧時には停電発生時の遊技状態に復帰することができる。
【0215】
以上のように、この実施の形態では、電源基板910に搭載されている第1の電源監視回路が、遊技機で使用される直流電圧のうちで最も高い電源VSLの電圧を監視して、その電源の電圧が所定値を下回ったら電圧低下信号(電源断検出信号)を発生する。電源断検出信号が出力されるタイミングでは、IC駆動電圧は、まだ各種回路素子を十分駆動できる電圧値になっている。従って、IC駆動電圧で動作する払出制御基板37の払出制御用CPU371が所定の電力供給停止時処理を行うための動作時間が確保されている。
【0216】
なお、ここでも、第1の電源監視回路は、遊技機で使用される直流電圧のうちで最も高い電源VSLの電圧を監視することになるが、電源断検出信号を発生するタイミングが、IC駆動電圧で動作する電気部品制御手段が所定の電力供給停止時処理を行うための動作時間が確保されるようなタイミングであれば、監視対象電圧は、最も高い電源VSLの電圧でなくてもよい。すなわち、少なくともIC駆動電圧よりも高い電圧を監視すれば、電気部品制御手段が所定の電力供給停止時処理を行うための動作時間が確保されるようなタイミングで電源断検出信号を発生することができる。
【0217】
その場合、上述したように、監視対象電圧は、賞球カウントスイッチ301A等の遊技機の各種スイッチに供給される電圧が+12Vであることから、電源断時のスイッチオン誤検出の防止も期待できる電圧であることが好ましい。すなわち、スイッチに供給される電圧(スイッチ電圧)である+12V電源電圧が落ち始める以前の段階で、電圧低下を検出できることが好ましい。よって、少なくともスイッチ電圧よりも高い電圧を監視することが好ましい。
【0218】
なお、図35に示された構成では、システムリセット回路975は、電源投入時に、コンデンサの容量で決まる期間のローレベルを出力し、その後ハイレベルを出力する。すなわち、リセット解除タイミングは1回だけである。しかし、図11に示された主基板31の場合と同様に、複数回のリセット解除タイミングが発生するような回路構成を用いてもよい。
【0219】
図36は、払出制御基板37に搭載されている情報出力回路377の一構成例を示すブロック図である。この例では、情報出力回路377は、I/Oポート372gを介して払出制御用CPU371から出力される球貸し個数信号を増幅する増幅回路377a、増幅回路377aの出力によって導通するフォトカプラ377b、およびフォトカプラ377bの出力に応じて出力端子間を遮断状態にしたり短絡状態にしたりするためのダイオードブリッジ377cを含む。ダイオードブリッジ377cの出力は、ターミナル基板160に接続される。なお、フォトカプラ377bは発光ダイオードとフォトトランジスタで構成され、このフォトカプラ377bでは、フォトトランジスタの一方の出力に抵抗が接続されている。
【0220】
図37は、払出制御基板37からターミナル基板160を介して外部出力される球貸し個数信号の出力タイミング例を示すタイミング図である。この例では、図37に示すように、100円分(例えば25個の遊技球)の球貸し動作が行われる度に、球貸し個数信号が0.1秒間ローレベルとされる。
【0221】
図38は、払出制御用CPU371のメイン処理を示すフローチャートである。メイン処理では、払出制御用CPU371は、まず、必要な初期設定を行う(ステップS701)。
【0222】
図39は、ステップS701の初期設定処理を示すフローチャートである。初期設定処理において、払出制御用CPU371は、まず、割込禁止に設定する(ステップS701a)。次に、払出制御用CPU371は、割込モードを割込モード2に設定し(ステップS701b)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS701c)。また、払出制御用CPU371は、内蔵デバイスレジスタの初期化を行い(ステップS701d)、CTCおよびPIOの初期化(ステップS701e)を行った後に、RAMをアクセス可能状態に設定する(ステップS701f)。
【0223】
この実施の形態では、内蔵CTCのうちの一つのチャネルがタイマモードで使用される。従って、ステップS701dの内蔵デバイスレジスタの設定処理およびステップS701eの処理において、使用するチャネルをタイマモードに設定するためのレジスタ設定、割込発生を許可するためのレジスタ設定および割込ベクタを設定するためのレジスタ設定が行われる。そして、そのチャネルによる割込が上述したタイマ割込として用いられる。なお、タイマ割込を例えば2ms毎に発生させたい場合は、初期値として2msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。
【0224】
なお、タイマモードに設定されたチャネル(この実施の形態ではチャネル3)に設定される割込ベクタは、タイマ割込処理の先頭番地に相当するものである。具体的は、Iレジスタに設定された値と割込ベクタとでタイマ割込処理の先頭番地が特定される。タイマ割込処理ではタイマ割込フラグがセットされ、メイン処理でタイマ割込フラグがセットされていることが検知されると、払出制御処理が実行される。すなわち、タイマ割込処理では、電気部品制御処理の一例である払出制御処理を実行するための設定がなされる。
【0225】
また、内蔵CTCのうちの他の一つのチャネル(この実施の形態ではチャネル2)が、遊技制御手段からの払出制御コマンド受信のための割込発生用のチャネルとして用いられ、そのチャネルがカウンタモードで使用される。従って、ステップS701dの内蔵デバイスレジスタの設定処理およびステップS701eの処理において、使用するチャネルをカウンタモードに設定するためのレジスタ設定、割込発生を許可するためのレジスタ設定および割込ベクタを設定するためのレジスタ設定が行われる。
【0226】
カウンタモードに設定されたチャネル(チャネル2)に設定される割込ベクタは、後述するコマンド受信割込処理の先頭番地に相当するものである。具体的は、Iレジスタに設定された値と割込ベクタとでコマンド受信割込処理の先頭番地が特定される。
【0227】
この実施の形態では、払出制御用CPU371でも割込モード2が設定される。従って、内蔵CTCのカウントアップにもとづく割込処理を使用することができる。また、CTCが送出した割込ベクタに応じた割込処理開始番地を設定することができる。
【0228】
CTCのチャネル2(CH2)のカウントアップにもとづく割込は、上述したタイマカウンタレジスタCLK/TRG2の値が「0」になったときに発生する割込である。従って、例えばステップS701eにおいて、特定レジスタとしてのタイマカウンタレジスタCLK/TRG2に初期値「1」が設定される。また、CTCのチャネル3(CH3)のカウントアップにもとづく割込は、CPUの内部クロック(システムクロック)をカウントダウンしてレジスタ値が「0」になったら発生する割込であり、後述する2msタイマ割込として用いられる。具体的には、CH3のレジスタ値はシステムクロックの1/256周期で減算される。ステップS701eにおいて、CH3のレジスタには、初期値として2msに相当する値が設定される。なお、この実施の形態では、CH2に関する割込番地は0074Hであり、CH3に関する割込番地は0076Hである。
【0229】
上述したように、CTCのCH2のカウントアップにもとづく割込は、CH3のカウントアップにもとづく割込よりも優先順位が高い。従って、同時にカウントアップが生じた場合に、CH2のカウントアップにもとづく割込、すなわち、後述するコマンド受信割込処理の実行契機となる割込の方が優先される。
【0230】
そして、払出制御用CPU371は、払出制御用のバックアップRAM領域にバックアップデータが存在しているか否かの確認を行う(ステップS702)。すなわち、例えば、主基板31のCPU56の処理と同様に、電源断時にセットされるバックアップフラグがセット状態になっているか否かによって、バックアップデータが存在しているか否か確認する。バックアップフラグがセット状態になっている場合には、バックアップデータありと判断する。バックアップデータなしと判断された場合には、前回の電源オフ時に未払出の遊技球がなかったことになり、内部状態を電源断時の状態に戻す必要がない。従って、払出制御用CPU371は、停電復旧時でない電源投入時に実行される初期化処理を実行する(ステップS702,S703)。
【0231】
バックアップRAM領域にバックアップデータが存在している場合には、払出制御用CPU371は、バックアップRAM領域のデータチェック(この例ではパリティチェック)を行う(ステップS704)。不測の電源断が生じた後に復旧した場合には、バックアップRAM領域のデータは保存されていたはずであるから、チェック結果は正常になる。チェック結果が正常でない場合には、内部状態を電源断時の状態に戻すことができないので、停電復旧時でない電源投入時に実行される初期化処理を実行する(ステップS705,S703)。
【0232】
チェック結果が正常であれば、払出制御用CPU371は、内部状態を電源断時の状態に戻すための払出状態復旧処理を行う(ステップS706)。そして、バックアップRAM領域に保存されていたPC(プログラムカウンタ)の指すアドレスに復帰する(ステップS707)。
【0233】
通常の初期化処理の実行(ステップS703)を終えると、払出制御用CPU371により実行されるメイン処理は、タイマ割込フラグの監視(ステップS708)の確認が行われるループ処理に移行する。
【0234】
なお、この実施の形態では、ステップS702でバックアップデータの有無が確認された後、バックアップデータが存在する場合にステップS704でバックアップ領域のチェックが行われたが、逆に、バックアップ領域のチェック結果が正常であったことが確認された後に、バックアップデータの有無の確認が行われるようにしてもよい。また、バックアップデータの有無の確認、またはバックアップ領域のチェックの何れか一方を確認することによって、停電復旧処理を実行するか否かを判断するように構成してもよい。
【0235】
また、例えば停電復旧処理を実行するか否か判断する場合のパリティチェック(ステップS704)の際などに、すなわち、遊技状態を復旧するか否か判断する際に、保存されていたRAMデータにおける払出遊技球数データ等によって、遊技機が払出待機状態(払出途中でない状態)であることが確認されたら、払出状態復旧処理を行わずに初期化処理を実行するようにしてもよい。
【0236】
通常の初期化処理では、図40に示すように、レジスタおよびRAMのクリア処理(ステップS901)が行われ、所定の初期値の設定が行われる(ステップS902)。そして、初期設定処理(ステップS701a)において割込禁止とされているので、初期化処理を終える前に割込が許可される(ステップS903)。
【0237】
この実施の形態では、払出制御用CPU371のCTCのCH3が繰り返しタイマ割込を発生するように設定される。また、繰り返し周期は2msに設定される。そして、図41に示すように、タイマ割込が発生すると、払出制御用CPU371は、タイマ割込フラグをセットする(ステップS711)。なお、図41には割込を許可することも明示されているが(ステップS710)、2msタイマ割込処理では、最初に割込許可状態に設定される。すなわち、2msタイマ割込処理中には割込許可状態になっている。
【0238】
払出制御用CPU371は、ステップS708において、タイマ割込フラグがセットされたことを検出すると、タイマ割込フラグをリセットするとともに(ステップS709)、払出制御処理を実行する(ステップS710)。以上の制御によって、この実施の形態では、払出制御処理は2ms毎に起動されることになる。なお、この実施の形態では、タイマ割込処理ではフラグセットのみがなされ、払出制御処理はメイン処理において実行されるが、タイマ割込処理で払出制御処理を実行してもよい。
【0239】
払出制御用CPU371は、電源投入時に、バックアップRAM領域のデータを確認するだけで、通常の初期設定処理を行うのか払出中の状態を復元するのか決定できる。すなわち、簡単な判断によって、未払出の遊技球について払出処理再開を行うことができる。さらに、この実施の形態では、主基板31における遊技制御と同様に、パリティチェックコードによって記憶内容保存の確実化が図られている。
【0240】
図42は、払出制御用CPU371が内蔵するRAMの使用例を示す説明図である。この例では、バックアップRAM領域に、総合個数記憶(例えば2バイト)と貸し球個数記憶とがそれぞれ形成されている。総合個数記憶は、主基板31の側から指示された賞球払出個数の総数を記憶するものである。貸し球個数記憶は、未払出の球貸し個数を記憶するものである。
【0241】
図43は、主基板31から受信した払出制御コマンドを格納するための受信バッファの一構成例を示す説明図である。この例では、2バイト構成の払出制御コマンドを6個格納可能なリングバッファ形式の受信バッファが用いられる。従って、受信バッファは、確定コマンドバッファ1〜12の12バイトの領域で構成される。そして、受信したコマンドをどの領域に格納するのかを示すコマンド受信個数カウンタが用いられる。コマンド受信個数カウンタは、0〜11の値をとる。
【0242】
図44は、割込処理による払出制御コマンド受信処理を示すフローチャートである。主基板31からの払出制御用のINT信号は払出制御用CPU371のCLK/TRG2端子に入力されている。よって、主基板31からのINT信号がオン状態になると、初期値として「1」が設定されていたタイマカウンタレジスタCLK/TRG2の値が0になって払出制御用CPU371において割込がかかる。そして、図44に示す払出制御コマンドの受信処理が開始される。なお、払出制御コマンド受信処理の開始番地は、内蔵CTCから出力される割込ベクタとIレジスタに設定された値とで決定される番地である。また、タイマカウンタレジスタCLK/TRG2の値が0になると、その値は自動的に初期値(この例では「1」)に戻される。
【0243】
払出制御コマンドの受信処理において、払出制御用CPU371は、まず、各レジスタをスタックに退避する(ステップS850)。なお、割込が発生するとCPU371は自動的に割込禁止状態に設定するが、自動的に割込禁止状態にならないCPUを用いている場合には、ステップS850の処理の実行前に割込禁止命令(DI命令)を発行することが好ましい。次いで、払出制御コマンドデータの入力に割り当てられている入力ポート372aからデータを読み込む(ステップS851)。そして、2バイト構成の払出制御コマンドのうちの1バイト目であるか否か確認する(ステップS852)。1バイト目であるか否かは、受信したコマンドの先頭ビットが「1」であるか否かによって確認される。先頭ビットが「1」であるのは、2バイト構成である払出制御コマンドのうちのMODEバイト(1バイト目)のはずである(図21参照)。そこで、払出制御用CPU371は、先頭ビットが「1」であれば、有効な1バイト目を受信したとして、受信したコマンドを受信バッファ領域におけるコマンド受信個数カウンタが示す確定コマンドバッファに格納する(ステップS853)。
【0244】
払出制御コマンドのうちの1バイト目でなければ、1バイト目を既に受信したか否か確認する(ステップS854)。既に受信したか否かは、受信バッファ(確定コマンドバッファ)に有効なデータが設定されているか否かによって確認される。
【0245】
1バイト目を既に受信している場合には、受信した1バイトのうちの先頭ビットが「0」であるか否か確認する。そして、先頭ビットが「0」であれば、有効な2バイト目を受信したとして、受信したコマンドを、受信バッファ領域におけるコマンド受信個数カウンタ+1が示す確定コマンドバッファに格納する(ステップS855)。先頭ビットが「0」であるのは、2バイト構成である払出制御コマンドのうちのEXTバイト(2バイト目)のはずである(図21参照)。なお、ステップS854における確認結果が1バイト目を既に受信したである場合には、2バイト目として受信したデータのうちの先頭ビットが「0」でなければ処理を終了する。
【0246】
ステップS855において、2バイト目のコマンドデータを格納すると、コマンド受信個数カウンタに2を加算する(ステップS856)。そして、コマンド受信カウンタが12以上であるか否か確認し(ステップS857)、12以上であればコマンド受信個数カウンタをクリアする(ステップS858)。その後、退避されていたレジスタを復帰し(ステップS859)、割込許可に設定する(ステップS859)。
【0247】
コマンド受信割込処理中は割込禁止状態になっている。上述したように、2msタイマ割込処理中は割込許可状態になっているので、2msタイマ割込中にコマンド受信割込が発生した場合には、コマンド受信割込処理が優先して実行される。また、コマンド受信割込処理中に2msタイマ割込が発生しても、その割込処理は待たされる。このように、この実施の形態では、主基板31からのコマンド受信処理の処理優先度が高くなっている。また、コマンド受信処理中には他の割込処理が実行されないので、コマンド受信処理に要する最長時間は決まる。コマンド受信処理中に他の割込処理が実行可能であるように構成したのでは、コマンド受信処理に要する最長の時間を見積もることは困難である。コマンド受信処理に要する最長時間が決まるので、遊技制御手段のコマンド送出処理におけるCの期間(図22参照)をどの程度にすればよいのかを正確に判断することができる。
【0248】
また、払出制御コマンドは2バイト構成であって、1バイト目(MODE)と2バイト目(EXT)とは、受信側で直ちに区別可能に構成されている。すなわち、先頭ビットによって、MODEとしてのデータを受信したのかEXTとしてのデータを受信したのかを、受信側において直ちに検出できる。よって、上述したように、適正なデータを受信したのか否かを容易に判定することができる。
【0249】
図45は、ステップS710の払出制御処理を示すフローチャートである。払出制御処理において、払出制御用CPU371は、まず、中継基板72を介して入力ポート372bに入力される賞球カウントスイッチ301A、球貸しカウントスイッチ301Bがオンしたか否かを判定する(スイッチ処理:ステップS751)。
【0250】
次に、払出制御用CPU371は、センサ(例えば、球貸しモータ289Bの回転数を検出するモータ位置センサ)からの信号入力状態を確認してセンサの状態を判定する等の処理を行う(入力判定処理:ステップS752)。払出制御用CPU371は、さらに、受信した払出制御コマンドを解析し、解析結果に応じた処理を実行する(コマンド解析実行処理:ステップS753)。
【0251】
次いで、払出制御用CPU371は、主基板31から払出停止指示コマンドを受信していたら払出停止状態に設定し、払出開始指示コマンドを受信していたら払出停止状態の解除を行う(ステップS754)。また、プリペイドカードユニット制御処理を行う(ステップS755)。
【0252】
次いで、払出制御用CPU371は、球貸し要求に応じて貸し球を払い出す制御を行う(ステップS756)。また、出力ポート372cおよび中継基板72を介して貸し球払出装置97Cの払出機構部分における球貸しモータ289Bに対して駆動信号を出力し、所定の回転数分球貸しモータ289Bを回転させる球貸しモータ制御処理を行う(ステップS757)。
【0253】
さらに、払出制御用CPU371は、総合個数記憶に格納された個数の賞球を払い出す賞球制御処理を行う(ステップS758)。そして、出力ポート372cおよび中継基板72を介して賞球払出装置97Aの払出機構部分における賞球モータ289Aに対して駆動信号を出力し、ステップS758の賞球制御処理で設定された回転数分賞球モータ289Aを回転させる賞球モータ制御処理を行う(ステップS759)。
【0254】
なお、この実施の形態では、賞球モータ289Aおよび球貸しモータ289Bとしてステッピングモータが用いられ、それらを制御するために1−2相励磁方式が用いられる。従って、具体的には、球貸しモータ制御処理および賞球モータ制御処理において、8種類の励磁パターンデータが繰り返し賞球モータ289Aおよび球貸しモータ289Bに出力される。また、この実施の形態では、各励磁パターンデータが4msずつ出力される。
【0255】
次いで、エラー検出処理が行われ、その結果に応じてエラー表示LED374に所定の表示を行う(エラー処理:ステップS760)。検出されるエラーとして、例えば、次の10種類がある。
【0256】
賞球経路エラー:賞球払出動作終了したとき、または賞球モータ289Aが1回転したときに賞球カウントスイッチ301Aが1個も遊技球の通過を検出しなかったとき。エラー表示LED374に「0」が表示される。
【0257】
球貸し経路エラー:球貸しの払出動作終了したとき、または球貸しモータ289Bが1回転したときに球貸しカウントスイッチ301Bが1個も遊技球の通過を検出しなかったとき。エラー表示LED374に「1」が表示される。
【0258】
賞球カウントスイッチ球詰まりエラー:賞球カウントスイッチ301Aが0.5秒以上オンを検出したとき。エラー表示LED374に「2」が表示される。
【0259】
球貸しカウントスイッチ球詰まりエラー:球貸しカウントスイッチ301Bが0.5秒以上オンを検出したとき。エラー表示LED374に「3」が表示される。
【0260】
賞球モータ球噛みエラー:賞球モータ289Aが正常に回転しないとき。具体的には、賞球モータ位置センサのオンが所定期間以上継続したり、オフが所定期間以上継続した場合。エラー表示LED374に「4」が表示される。なお、賞球モータ球噛みエラーが生じた場合には、払出制御用CPU371は、50msの基準励磁相の出力を行った後、1−2相励磁の励磁パターンデータのうちの4種類の励磁パターンデータを8ms毎に出力することによる賞球モータ289Aの逆回転と正回転を繰り返す。
【0261】
プリペイドカードユニット未接続エラー:VL信号のオフが検出されたとき。エラー表示LED374に「5」が表示される。
【0262】
プリペイドカードユニット通信エラー:規定のタイミング以外でプリペイドカードユニット50から信号出力されたことを検出したとき。エラー表示LED374に「6」が表示される。
【0263】
賞球停止状態:主基板31から払出停止を示す払出制御コマンドを受信したとき。エラー表示LED374に「7」が表示される。なお、主基板31から払出開始を示す払出制御コマンドを受信したときには、その時点から2002ms後に、払出停止状態から払出可能状態に復帰する。
【0264】
球貸し停止状態:球切れスイッチ187c,187dが球切れ検出したとき。エラー表示LED374に「8」が表示される。
【0265】
球貸しモータ球噛みエラー:球貸しモータ289Bが正常に回転しないとき。具体的には、球貸しモータ位置センサのオンが所定期間以上継続したり、オフが所定期間以上継続した場合。エラー表示LED374に「9」が表示される。なお、球貸しモータ球噛みエラーが生じた場合には、払出制御用CPU371は、50msの基準励磁相の出力を行った後、1−2相励磁の励磁パターンデータのうちの4種類の励磁パターンデータを8ms毎に出力することによる球貸しモータ289Bの逆回転と正回転を繰り返す。
【0266】
さらに、払出制御用CPU371は、外部接続端子(図示せず)から出力する情報信号を制御する処理を行う(出力処理:ステップS761)。なお、情報信号は、図37に示されたように、貸し球の払出一単位(例えば100円分:25個)ごとに所定時間オンとなり、続いて所定時間オフを出力する信号である。
【0267】
図46は、ステップS753のコマンド解析実行処理の一例を示すフローチャートである。コマンド解析実行処理において、払出制御用CPU371は、確定コマンドバッファ領域中に受信コマンドがあるか否かの確認を行う(ステップS753a)。受信コマンドがあれば、受信した払出制御コマンドが払出個数指示コマンドであるか否かの確認を行う(ステップS753b)。なお、確定コマンドバッファ領域中に複数の受信コマンドがある場合には、受信した払出制御コマンドが払出個数指示コマンドであるか否かの確認は、最も前に受信された受信コマンドについて行われる。
【0268】
受信した払出制御コマンドが払出個数指示コマンドであれば、払出個数指示コマンドで指示された個数を総合個数記憶に加算する(ステップS753c)。すなわち、払出制御用CPU371は、主基板31のCPU56から送られた払出個数指示コマンドに含まれる賞球数をバックアップRAM領域(総合個数記憶)に記憶する。
【0269】
なお、払出制御用CPU371は、必要ならば、コマンド受信個数カウンタの減算や確定コマンドバッファ領域における受信コマンドシフト処理を行う。
【0270】
図47は、ステップS754の払出停止状態設定処理の一例を示すフローチャートである。払出停止状態設定処理において、払出制御用CPU371は、確定コマンドバッファ領域中に受信コマンドがあるか否かの確認を行う(ステップS754a)。確定コマンドバッファ領域中に受信コマンドがあれば、受信した払出制御コマンドが払出停止指示コマンドであるか否かの確認を行う(ステップS754b)。払出停止指示コマンドであれば、払出制御用CPU371は、賞球払出停止状態に設定する(ステップS754c)。
【0271】
ステップS754bで受信コマンドが払出停止指示コマンドでないことを確認すると、受信した払出制御コマンドが払出開始指示コマンドであるか否かの確認を行う(ステップS754d)。払出開始指示コマンドであれば、賞球払出停止状態を解除する(ステップS754e)。
【0272】
図48は、ステップS751のスイッチ処理の一例を示すフローチャートである。スイッチ処理において、払出制御用CPU371は、賞球カウントスイッチ301Aがオン状態を示しているか否か確認する(ステップS751a)。オン状態を示していれば、払出制御用CPU371は、賞球カウントスイッチオンカウンタを+1する(ステップS751b)。賞球カウントスイッチオンカウンタは、賞球カウントスイッチ301Aのオン状態を検出した回数を計数するためのカウンタである。
【0273】
そして、賞球カウントスイッチオンカウンタの値をチェックし、その値が250になっていれば(ステップS751c)、賞球球詰まりフラグをセットする(ステップS751d)。つまり、賞球カウントスイッチ301Aのオン状態が長期間継続した場合に賞球球詰まりフラグがセットされる。
【0274】
また、賞球カウントスイッチオンカウンタの値が2になったときには(ステップS751e)、確実に賞球カウントスイッチ301Aがオンした判断し、賞球カウントスイッチオンフラグをセットする(ステップS751f)。
【0275】
ステップS751aにおいて賞球カウントスイッチ301Aがオン状態でないことが確認されると、払出制御用CPU371は、賞球カウントスイッチオンフラグをリセットするとともに(ステップS751h)、賞球カウントスイッチオンカウンタをクリアする(ステップS751i)。そして、球貸しカウントスイッチ301Bがオン状態を示しているか否か確認する(ステップS751j)。オン状態を示していれば、払出制御用CPU371は、球貸しカウントスイッチオンカウンタを+1する(ステップS751k)。球貸しカウントスイッチオンカウンタは、球貸しカウントスイッチ301Bのオン状態を検出した回数を計数するためのカウンタである。
【0276】
そして、球貸しカウントスイッチオンカウンタの値をチェックし、その値が250になっていれば(ステップS751l)、貸し球詰まりフラグをセットする(ステップS751m)。つまり、球貸しカウントスイッチ301Bのオン状態が長期間継続した場合に貸し球球詰まりフラグがセットされる。
【0277】
また、球貸しカウントスイッチオンカウンタの値が2になったときには(ステップS751n)、確実に球貸しカウントスイッチ301Bがオンした判断し、球貸しカウントスイッチオンフラグをセットする(ステップS751o)。
【0278】
ステップS751jにおいて球貸しカウントスイッチ301Bがオン状態でないことが確認されると、払出制御用CPU371は、球貸しカウントスイッチオンフラグをリセットするとともに(ステップS751p)球貸しカウントスイッチオンカウンタをクリアする(ステップS751q)。
【0279】
図49は、ステップS755のプリペイドカードユニット制御処理の一例を示すフローチャートである。プリペイドカードユニット制御処理において、払出制御用CPU371は、カードユニット制御用マイクロコンピュータより入力されるVL信号を検知したか否かを確認する(ステップS755a)。VL信号を検知していなければ、VL信号非検知カウンタを+1する(ステップS755b)。また、払出制御用CPU371は、VL信号非検知カウンタの値が125であるか否か確認する(ステップS755c)。VL信号非検知カウンタの値が125であれば、払出制御用CPU371は、発射制御基板91への発射制御信号出力を停止して、駆動モータ94を停止させる(ステップS755d)。また、VLオフ検出フラグをセットする(ステップS755e)。
【0280】
以上の処理によって、125回(2ms×125=250ms)継続してVL信号のオフが検出されたら、球発射禁止状態に設定される。
【0281】
ステップS755aにおいてVL信号を検知していれば、払出制御用CPU371は、VLオフ検出フラグをリセットするとともに(ステップS755f)、VL信号非検知カウンタをクリアする(ステップS755g)。そして、払出制御用CPU371は、発射制御信号出力を停止していれば(ステップS755h)、発射制御基板91への発射制御信号出力を開始して駆動モータ94を動作可能状態にする(ステップS755i)。
【0282】
図50は、ステップS756の球貸し制御処理の一例を示すフローチャートである。なお、この実施の形態では、連続的な払出数の最大値を貸し球の一単位(例えば25個)とするが、連続的な払出数の最大値は他の数であってもよい。
【0283】
球貸し制御処理において、払出制御用CPU371は、球貸し停止中であるか否かを確認する(ステップS501)。停止中であれば、球切れスイッチ187c,187dの状態を確認する(ステップS502)。それらがともに球切れでない状態を示していれば、球切れフラグをリセットして(ステップS503)、ステップS515に移行する。
【0284】
球貸し停止中でなければ、払出制御用CPU371は、貸し球払出中であるか否かの確認を行い(ステップS511)、貸し球払出中であれば、ステップS505の処理に移行する。なお、貸し球払出中であるか否かは、後述する球貸し処理中フラグの状態によって判断される。貸し球払出中でなければ、払出制御用CPU371は、カードユニット50から球貸し要求があったか否かを確認する(ステップS512)。要求があれば、球貸し処理中フラグをオンするとともに(ステップS513)、25(球貸し一単位数:ここでは100円分)をバックアップRAM領域の貸し球個数記憶に設定する(ステップS514)。そして、払出制御用CPU371は、EXS信号をオンする(ステップS515)。また、球貸しモータ289Bをオンする(ステップS516)。
【0285】
なお、球貸しモータ289Bをオンするのは、厳密には、カードユニット50が受付を認識したことを示すためにBRQ信号をOFFとしてからである。なお、球貸し処理中フラグはバックアップRAM領域に設定される。
【0286】
ステップS505では、球切れスイッチ187c,187dの状態を確認し、少なくとも一方が球切れ状態を示していたら、球貸し停止中を示す球切れフラグをセットするとともに(ステップS506)、球貸しモータ289Bをオフする(ステップS507)。球切れスイッチ187c,187dがともに球有りの状態を示していたら、ステップS518以降の球貸し中の処理に移行する。
【0287】
ステップS518において、払出制御用CPU371は、貸し球通過待ち時間中であるか否かの確認を行う(ステップS518)。貸し球通過待ち時間中でなければ、球貸し用センサ(球貸しモータ位置センサ)のチェックを行い(ステップS519)、また、後述する球貸しカウントスイッチチェック処理を行う(ステップS520)。
【0288】
なお、ステップS519の球貸し用センサのチェック処理では、球貸しモータ位置センサのオンとオフとがタイマ監視されるが、所定時間以上のオン状態またはオフ状態が継続したら、払出制御用CPU371は、球貸しモータ球噛みエラーが生じたと判断する。
【0289】
次いで、払出制御用CPU371は、球貸しモータ289Bの駆動を終了すべきか(一単位の払出動作が終了したか)否かの確認を行う(ステップS521)。具体的には、所定個数の払出に対応した回転が完了したか否かを確認する。所定個数の払出に対応した回転は、球貸しモータ位置センサの出力によって監視される。所定個数の払出に対応した回転が完了した場合には、払出制御用CPU371は、球貸しモータ289Bの駆動を停止し(ステップS522)、貸し球通過待ち時間の設定を行う(ステップS523)。
【0290】
ステップS518で貸し球通過待ち時間中であれば、払出制御用CPU371は、後述する球貸しカウントスイッチチェック処理を行うとともに(ステップS524)、貸し球通過待ち時間が終了したか否かの確認を行う(ステップS525)。貸し球通過待ち時間は、最後の払出球が球貸しモータ289Bによって払い出されてから球貸しカウントスイッチ301Bを通過するまでの時間である。
【0291】
貸し球通過待ち時間の終了を確認すると、一単位の貸し球は全て払い出された状態であるので、カードユニット50に対して次の球貸し要求の受付が可能になったことを示すためにEXS信号をオフにする(ステップS526)。また、球貸し処理中フラグをオフする(ステップS527)。なお、貸し玉通過待ち時間が経過するまでに最後の払出球が球貸しカウントスイッチ301Bを通過しなかった場合には、球貸し経路エラーとされる。
【0292】
なお、球貸し要求の受付を示すEXS信号をオフにした後、所定期間内に再び球貸し要求信号であるBRQ信号がオンしたら、球貸しモータ289Bをオフせずに球貸し処理を続行するようにしてもよい。すなわち、所定単位(この例では100円単位)毎に球貸し処理を行うのではなく、球貸し処理を連続して実行するように構成することもできる。
【0293】
貸し球個数記憶の内容は、遊技機の電源が断しても、所定期間電源基板910のバックアップ電源によって保存される。従って、所定期間中に電源が回復すると、払出制御用CPU371は、貸し球個数記憶の内容にもとづいて球貸し処理を継続することができる。
【0294】
図51は、ステップS520およびS524で実行される球貸しカウントスイッチチェック処理を示すフローチャートである。球貸しカウントスイッチチェック処理は、球貸しカウントスイッチ301Bの状態を監視して、貸し球個数記憶を減算する処理である。
【0295】
球貸しカウントスイッチチェック処理において、払出制御用CPU371は、まず、球貸しカウントスイッチON待ちフラグがセットされているか否か確認する(ステップS811)。球貸しカウントスイッチON待ちフラグがセットされていれば、球貸しカウントスイッチオンフラグがオン状態になるのを待つ(ステップS812)。なお、球貸しカウントスイッチオンフラグは、図48に示されたスイッチ処理におけるステップS751oでセットされる。球貸しカウントスイッチオンフラグがオン状態になる前にタイマT11がタイムアウトすると球貸し経路エラーフラグをセットする(ステップS817,S818)。球貸しカウントスイッチ301Bがオンすると、タイマT11を停止して(ステップS813)、球貸しカウントスイッチON待ちフラグをリセットする(ステップS814)。なお、タイマT11は、球貸しカウントスイッチ301Bが所定期間内にオンするか否かを確認するためのタイマである。
【0296】
球貸しカウントスイッチ301Bがオンした場合には、球貸しカウントスイッチ301Bがオフすることを確認するために、オフを待つ状態であることを示す球貸しカウントスイッチOFF待ちフラグをセットする(ステップS815)。
【0297】
従って、払出制御用CPU371は、球貸しカウントスイッチOFF待ちフラグがオンしていれば(ステップS821)、球貸しカウントスイッチオンフラグがオフするのを待つ(ステップS824)。球貸しカウントスイッチオンフラグがオフすると、球貸しカウントスイッチOFF待ちフラグをリセットする(ステップS825)。そして、1個の遊技球が払い出されたことが検出されたとして、一時計数カウンタを+1する(ステップS826)。また、球貸し個数信号を出力するための球貸し情報出力処理サブルーチンを起動する(ステップS827)。次いで、貸し球個数記憶を−1する(ステップS828)。
【0298】
ステップS821で、球貸しカウントスイッチOFF待ちフラグもオンしていないことを確認したら、タイマT11をスタートするとともに(ステップS822)、球貸しカウントスイッチON待ちフラグをセットする(ステップS823)。
【0299】
図52は、1個の遊技球の払出(貸出)が完了したときに起動される球貸し情報出力処理サブルーチン(ステップS827)の動作を示すフローチャートである。球貸し情報出力処理サブルーチンにおいて、払出制御用CPU371は、まず、Tfタイマが動作中か否か(球貸し個数信号がオン中か否か)確認する(ステップS781)。動作中であれば、タイムアウトしたか否か確認する(ステップS782)。タイムアウトしたら、球貸し個数信号をオフ状態(=0)にする(ステップS783)。
【0300】
Tfタイマが動作中でなければ、一時カウンタの値がN(この例では25)の倍数になっているか否か確認する(ステップS784)。一時カウンタの値は、1個の遊技球の払出が完了したときに+1される。また、Nは100円で貸し出される遊技球数である。一時カウンタの値がNの倍数になっている場合には、球貸し個数信号をオン状態(=1)にするとともに(ステップS785)、Tfタイマを起動する(ステップS786)。
【0301】
以上のような処理によって、100円分の球貸しが行われるときに、Tfタイマで作成される時間だけ球貸し個数信号がオンする。払出制御用CPU371からの球貸し個数信号は、図36に示された情報出力回路377において、増幅回路377aで反転された後、フォトカプラ377bに入力する。フォトカプラ377bにおける発光ダイオードは、払出制御用CPU371から「1」が出力されたときに導通して発光する。すると、フォトカプラ377bにおけるフォトトランジスタが導通する。フォトカプラ377b内部でフォトトランジスタには抵抗が接続されている。従って、ダイオードブリッジ377cにおけるフォトカプラ377bに接続された入力端子間に電位差が現れる。すると、ダイオードブリッジ377cにおける各ダイオードが導通状態になって、ダイオードブリッジ377cにおける出力端子間の電位が等しくなる。すなわち、出力端子間が接続された状態(短絡状態)になる。
【0302】
払出制御用CPU371から「0」が出力されているときには、ダイオードブリッジ377cにおける出力端子間が開放状態になる。ホールコンピュータ等の外部機器では、2つの端子間が接続状態にあるときには、球貸し個数信号がオンしていると判定する。よって、図37に示されたように球貸し個数信号が外部に出力されることになる。
【0303】
以上のように、この実施の形態では、遊技機の貸し球払出装置と賞球払出装置とが独立に構成された遊技機において、払出制御基板37に搭載された払出制御手段が球貸し個数信号を外部管理装置に出力するとともに、主基板31に搭載された遊技制御手段が賞球個数信号を外部管理装置に出力することを実現することができる。従って、外部管理装置に出力される情報処理の合理化を図ることができる。
【0304】
図53および図54は、ステップS758の賞球制御処理の一例を示すフローチャートである。なお、この例では、連続的な払出数の最大値を貸し球の一単位と同数(例えば25個)とするが、連続的な払出数の最大値は他の数であってもよい。
【0305】
賞球制御処理において、払出制御用CPU371は、既に賞球払出処理が開始されているか否か確認する(ステップS532)。賞球の払出中であれば図54に示す賞球中の処理に移行する。賞球の払出中であるか否かは、後述する賞球処理中フラグの状態によって判断される。
【0306】
賞球払出中でなければ、払出制御用CPU371は、総合個数記憶に格納されている賞球数(未払出の賞球数)が0でないか否か確認する(ステップS534)。総合個数記憶に格納されている賞球数が0でなければ、賞球制御用CPU371は、賞球処理中フラグをオンし(ステップS535)、総合個数記憶の値が25以上であるか否か確認する(ステップS536)。なお、賞球処理中フラグは、バックアップRAM領域に設定される。
【0307】
総合個数記憶に格納されている賞球数が25以上であると、払出制御用CPU371は、25個分の遊技球を払い出すまで賞球モータ289Aを回転させるように賞球モータ289Aに対して駆動信号を出力するために25個払出動作の設定を行う(ステップS537)。総合個数記憶に格納されている賞球数が25以上でなければ、払出制御用CPU371は、総合個数記憶に格納されている全ての遊技球を払い出すまで賞球モータ289Aを回転させるように駆動信号を出力するために、全個数払出動作の設定を行う(ステップS538)。次いで、賞球モータ289Aをオンする(ステップS538)。そして、図54に示す賞球制御処理における賞球払出中の処理に移行する。
【0308】
図54は、払出制御用CPU371による払出制御処理における賞球中の処理の一例を示すフローチャートである。賞球中の処理において、払出制御用CPU371は、賞球通過待ち時間中であるか否かの確認を行う(ステップS541)。賞球通過待ち時間中でなければ、賞球用センサ(賞球モータ位置センサ)のチェックを行い(ステップS542)、また、後述する賞球カウントスイッチチェック処理を行う(ステップS543)。
【0309】
なお、ステップS542の賞球用センサのチェック処理では、賞球モータ位置センサのオンとオフとがタイマ監視されるが、所定時間以上のオン状態またはオフ状態が継続したら、払出制御用CPU371は、賞球モータ球噛みエラーが生じたと判断する。
【0310】
そして、払出制御用CPU371は、賞球モータ289Aの駆動を終了すべきか(25個または25個未満の所定の個数の払出動作が終了したか)否かの確認を行う(ステップS544)。具体的には、所定個数の払出に対応した回転が完了したか否かを確認する。所定個数の払出に対応した回転は、賞球モータ位置センサの出力によって監視される。所定個数の払出に対応した回転が完了した場合には、払出制御用CPU371は、賞球モータ289Aの駆動を停止し(ステップS545)、賞球通過待ち時間の設定を行う(ステップS546)。賞球通過待ち時間は、最後の払出球が賞球モータ289Aによって払い出されてから賞球カウントスイッチ301Aを通過するまでの時間である。
【0311】
ステップS541において、賞球通過待ち時間中であれば、払出制御用CPU371は、後述する賞球カウントスイッチチェック処理を行い(ステップS547)、賞球通過待ち時間が終了したか否かの確認を行う(ステップS548)。賞球通過待ち時間が終了した時点は、ステップS537またはステップS538で設定された賞球が全て払い出された状態である。そこで、払出制御用CPU371は、賞球処理中フラグをオフする(ステップS549)。なお、賞球通過待ち時間が経過するまでに最後の払出球が賞球カウントスイッチ301Aを通過しなかった場合には、賞球経路エラーとされる。
【0312】
なお、この実施の形態では、貸し球払出装置と賞球払出装置とは独立して設けられているので、賞球払出処理と球貸し処理とを同時に実行可能であるが、球貸し処理を賞球処理よりも優先してもよい。すなわち、球貸し処理中では賞球処理の開始を待たせるようにしてもよい。また、賞球処理を球貸し処理よりも優先させてもよい。
【0313】
図55は、ステップS543およびS547で実行される賞球カウントスイッチチェック処理を示すフローチャートである。賞球カウントスイッチチェック処理は、賞球カウントスイッチ301Aの状態を監視して、総合個数記憶を減算する処理である。
【0314】
賞球カウントスイッチチェック処理において、払出制御用CPU371は、まず、賞球カウントスイッチON待ちフラグがセットされているか否か確認する(ステップS831)。賞球カウントスイッチON待ちフラグがセットされていれば、賞球カウントスイッチオンフラグがオン状態になるのを待つ(ステップS832)。なお、賞球カウントスイッチオンフラグは、図48に示されたスイッチ処理におけるステップS751fでセットされる。賞球カウントスイッチオンフラグがオン状態になる前にタイマT12がタイムアウトすると賞球経路エラーフラグをセットする(ステップS837,S838)。賞球カウントスイッチ301Aがオンすると、タイマT12を停止して(ステップS833)、賞球カウントスイッチON待ちフラグをリセットする(ステップS834)。タイマT12は、賞球カウントスイッチ301Aが所定期間内にオンするか否かを確認するためのタイマである。
【0315】
賞球カウントスイッチ301Aがオンした場合には、賞球カウントスイッチ301Aがオフすることを確認するために、オフを待つ状態であることを示す賞球カウントスイッチOFF待ちフラグをセットする(ステップS835)。
【0316】
従って、払出制御用CPU371は、賞球カウントスイッチOFF待ちフラグがオンしていれば(ステップS841)、賞球カウントスイッチオンフラグがオフするのを待つ(ステップS844)。賞球カウントスイッチオンフラグがオフすると、賞球カウントスイッチOFF待ちフラグをリセットする(ステップS845)。そして、総合個数記憶を−1する(ステップS848)。
【0317】
ステップS841で、賞球カウントスイッチOFF待ちフラグもオンしていないことを確認したら、タイマT12をスタートするとともに(ステップS842)、賞球カウントスイッチON待ちフラグをセットする(ステップS843)。
【0318】
総合個数記憶および貸し球個数記憶の内容は、それぞれ、遊技機の電源が断しても、所定期間電源基板910のバックアップ電源によって保存される。従って、所定期間中に電源が回復すると、払出制御用CPU371は、総合個数記憶および貸し球個数記憶の内容にもとづいて払出処理を継続することができる。
【0319】
なお、払出制御用CPU371は、主基板31から指示された賞球個数を賞球個数記憶で総数として管理したが、賞球数毎(例えば15個、10個、6個)に管理してもよい。例えば、賞球数毎に対応した個数カウンタを設け、払出個数指定コマンドを受信すると、そのコマンドで指定された個数に対応する個数カウンタを+1する。そして、個数カウンタに対応した賞球払出が行われると、その個数カウンタを−1する(この場合、払出制御処理にて減算処理を行うようにする)。その場合にも、各個数カウンタはバックアップRAM領域に形成される。よって、遊技機の電源が断しても、所定期間中に電源が回復すれば、払出制御用CPU371は、各個数カウンタの内容にもとづいて賞球払出処理を継続することができる。
【0320】
次に、エラー処理について説明する。図56は、エラーの種類とエラー表示用LED374(図10参照)の表示との関係を示す説明図である。また、図57および図58は、ステップS760のエラー処理の一例を示すフローチャートである。
【0321】
この例では、エラー処理において、払出制御用CPU371は、賞球経路エラーフラグがオンした場合に(ステップS601)、エラー表示用LED374に「0」を表示する(ステップS602)。また、賞球経路エラーフラグがオフした場合にエラー表示用LED374の表示「0」を消去する(ステップS603)。なお、賞球経路エラーフラグは、図55に示されたステップS838でセットされる。すなわち、賞球カウントスイッチ301Aがオンしなかったときにセットされる。
【0322】
球貸し経路エラーフラグがオンした場合には(ステップS604)、エラー表示用LED374に「1」を表示する(ステップS605)。また、球貸し経路エラーフラグがオフした場合にエラー表示用LED374の表示「1」を消去する(ステップS606)。なお、球貸し経路エラーフラグは、図51に示されたステップS818でセットされる。すなわち、球貸しカウントスイッチ301Bがオンしなかったときにセットされる。
【0323】
賞球詰まりフラグがオンした場合には(ステップS607)、エラー表示用LED374に「2」を表示する(ステップS608)。また、賞球詰まりフラグがオフした場合にエラー表示用LED374の表示「2」を消去する(ステップS609)。なお、賞球詰まりフラグは、図48に示されたステップS751dでセットされる。すなわち、賞球カウントスイッチ301Aがオフしなかったときにセットされる。
【0324】
貸し球詰まりフラグがオンした場合には(ステップS610)、エラー表示用LED374に「3」を表示する(ステップS611)。また、貸し球詰まりフラグがオフした場合にエラー表示用LED374の表示「3」を消去する(ステップS612)。なお、賞球詰まりフラグは、図48に示されたステップS751mでセットされる。すなわち、球貸しカウントスイッチ301Bがオフしなかったときにセットされる。
【0325】
賞球モータセンサ出力異常が検出された場合には(ステップS613)、エラー表示用LED374に「4」を表示する(ステップS614)。また、賞球モータセンサ出力異常が解除された場合にエラー表示用LED374の表示「4」を消去する(ステップS615)。なお、賞球モータセンサ出力異常は、図54に示されたステップS542で、賞球モータ位置センサのオンが所定期間以上継続したり、オフが所定期間以上継続した場合に検出される。
【0326】
VLオフ検出フラグがセットされた場合には(ステップS621)、エラー表示用LED374に「5」を表示する(ステップS622)。また、VLオフ検出フラグがッリセットされた場合にエラー表示用LED374の表示「5」を消去する(ステップS623)。なお、VLオフ検出フラグは、図49に示されたステップS755eでセットされる。
【0327】
なお、正規でないタイミングでカードユニット50との通信が実行されたときには(ステップS624)、プリペイドカードユニット通信エラーが発生したとして、エラー表示用LED374に「6」を表示する(ステップS625)。また、そのようなエラーが解消されたときに、エラー表示用LED374の表示「6」を消去する(ステップS626)。
【0328】
また、賞球停止状態になったときには(ステップS627)、エラー表示用LED374に「7」を表示する(ステップS628)。賞球停止状態が解除されたときには、エラー表示用LED374の表示「7」を消去する(ステップS629)。なお、賞球停止状態は、図47におけるステップS754eで賞球払出停止状態に設定された状態である。すなわち、遊技制御手段から払出停止を通知されたときである。ただし、遊技制御手段は、下皿満タンのときにも払出停止を通知するので、ステップS627において、球切れスイッチ187a,187bの状態も確認することが好ましい。
【0329】
球貸し停止状態になったときには(ステップS630)、エラー表示用LED374に「8」を表示する(ステップS631)。球貸し停止状態が解除されたときには、エラー表示用LED374の表示「8」を消去する(ステップS632)。なお、球貸し停止状態は、図50におけるステップS503で球切れフラグがセットされた後の状態である。
【0330】
そして、球貸しモータセンサ出力異常が検出された場合には(ステップS633)、エラー表示用LED374に「9」を表示する(ステップS634)。また、球貸しモータセンサ出力異常が解除された場合にエラー表示用LED374の表示「9」を消去する(ステップS635)。なお、球貸しモータセンサ出力異常は、図50に示されたステップS519で、球貸しモータ位置センサのオンが所定期間以上継続したり、オフが所定期間以上継続した場合に検出される。
【0331】
以上のように、この実施の形態では、賞球に関連したエラーと球貸しに関連したエラーとを識別してエラー表示用LED374に表示するようにしたため、貸し球払出装置の異常であるか賞球払出装置の異常であるか(例えば、「貸し球払出装置の球詰まり」や、「賞球払出装置の異常(例えば球切れ)による賞球払出停止」など)を報知することができる。従って、払出機構部に関する異常が発生した場合であっても、異常箇所や異常原因を迅速かつ的確に認識することができ、発生した異常に速やかに対処することができる。
【0332】
また、上述したように、賞球に関連したエラーと球貸しに関連したエラーとが、識別できるようにエラー表示用LED374に表示されるようにしたため、貸し球払出装置と賞球払出装置とが独立して設けられていても、それぞれに生じた異常を容易に認識することができる。
【0333】
図59は、電源基板910の電源監視回路からの電圧変化信号にもとづくNMIに応じて実行される停電発生NMI処理の一例を示すフローチャートである。なお、この実施の形態では、NMI割込番地は0066Hである。停電発生NMI処理において、払出制御用CPU371は、まず、割込禁止フラグの内容をパリティフラグに格納する(ステップS801)。次いで、割込禁止に設定する(ステップS802)。停電発生NMI処理では、本例では主基板31において実行された処理と同様に、RAM内容の保存を確実にするためのチェックサムの生成処理を行う。その処理中に他の割込処理が行われたのではチェックサムの生成処理が完了しないうちに払出制御用CPU371が動作し得ない電圧にまで低下してしまうことがことも考えられるので、まず、他の割込が生じないような設定がなされる。なお、停電発生NMI処理におけるステップS804〜S810は、電力供給停止時処理の一例である。
【0334】
なお、割込処理中では他の割込がかからないような仕様のCPUを用いている場合には、ステップS802の処理は不要である。
【0335】
次いで、払出制御用CPU371は、バックアップフラグが既にセットされているか否か確認する(ステップS803)。バックアップフラグが既にセットされていれば、以後の処理を行わない。バックアップフラグがセットされていなければ、以下の電力供給停止時処理を実行する。すなわち、ステップS804からステップS810の処理を実行する。
【0336】
まず、各レジスタの内容をバックアップRAM領域に格納する(ステップS804)。その後、バックアップフラグをセットする(ステップS805)。そして、バックアップRAM領域のバックアップチェックデータ領域に適当な初期値を設定し(ステップS806)、初期値およびバックアップRAM領域のデータについて順次排他的論理和をとったあと反転し(ステップS807)、最終的な演算値をバックアップパリティデータ領域に設定する(ステップS808)。また、RAMアクセス禁止状態にする(ステップS809)。電源電圧が低下していくときには、各種信号線のレベルが不安定になってRAM内容が化ける可能性があるが、このようにRAMアクセス禁止状態にしておけば、バックアップRAM内のデータが化けることはない。
【0337】
さらに、払出制御用CPU371は、全ての出力ポート(この実施の形態では、出力ポート372c,372g,372e、およびI/Oポート372fの出力ポート部分)に対してクリア信号を出力する。従って、全ての出力ポートは、クリア信号によりオフ状態とされる(ステップS810)。
【0338】
次いで、払出制御用CPU371は、ループ処理にはいる。すなわち、何らの処理もしない状態になる。従って、図35に示されたリセットIC976からのシステムリセット信号によって外部から動作禁止状態にされる前に、内部的に動作停止状態になる。よって、電源断時に確実に払出制御用CPU371は動作停止する。その結果、上述したRAMアクセス禁止の制御および動作停止制御によって、電源電圧が低下していくことに伴って生ずる可能性がある異常動作に起因するRAMの内容破壊等を確実に防止することができる。
【0339】
なお、この実施の形態では、停電発生NMI処理では最終部でプログラムをループ状態にしたが、ホールト(HALT)命令を発行するように構成してもよい。
【0340】
また、レジスタの内容をRAM領域に格納した後にセットされるバックアップフラグは、上述したように、電源投入時において復旧すべきバックアップデータがあるか否か(停電からの復旧か否か)を判断する際に使用される。また、ステップS801からS810の処理は、払出制御用CPU371がシステムリセット回路975からのシステムリセット信号を受ける前に完了する。換言すれば、システムリセット回路975からのシステムリセット信号を受ける前に完了するように、電圧監視回路の検出電圧の設定が行われている。
【0341】
この実施の形態では、電力供給停止時処理開始時に、バックアップフラグの確認が行われる。そして、バックアップフラグが既にセットされている場合には電力供給停止時処理を実行しない。上述したように、バックアップフラグは、必要なデータのバックアップが完了し、その後電力供給停止時処理が完了したことを示すフラグである。従って、例えば、リセット待ちのループ状態で何らかの原因で再度NMIが発生したとしても、電力供給停止時処理が重複して実行されてしまうようなことはない。
【0342】
ただし、割込処理中では他の割込がかからないような仕様のCPUを用いている場合には、ステップS803の判断は不要である。
【0343】
また、この実施の形態では、払出制御用CPU371は、マスク不能外部割込端子(NMI端子)を介して電源基板からのNMI割込信号(電源監視手段からのNMI割込信号)を検知したが、NMI割込信号をマスク可能割込割込端子(INT端子)に導入してもよい。その場合には、INT処理によって図59に示された停電発生NMI処理が実行される。また、入力ポートを介してNMI割込信号を検知してもよい。その場合には、払出制御用CPU371が実行するメイン処理において、入力ポートの監視が行われる。
【0344】
図60は、バックアップパリティデータ作成方法の一例を説明するための説明図である。ただし、図60に示す例では、簡単のために、バックアップデータRAM領域のデータのサイズを3バイトとする。電源電圧低下にもとづく停電発生処理において、図60に示すように、バックアップチェックデータ領域に、初期データ(この例では00H)が設定される。次に、「00H」と「F0H」の排他的論理和がとられ、その結果と「16H」の排他的論理和がとられる。さらに、その結果と「DFH」の排他的論理和がとられる。そして、その結果(この例では「39H」)を反転して得られた値(この例では「C6H」)がバックアップパリティデータ領域に設定される。
【0345】
電源が再投入されたときには、停電復旧処理においてパリティ診断が行われる。バックアップ領域の全データがそのまま保存されていれば、電源再投入時に、図60に示すようなデータがバックアップ領域に設定されている。
【0346】
ステップS704の処理において、払出制御用CPU371は、図59のステップS806およびステップS807にて実行された処理と同様の処理を行う。すなわち、バックアップチェックデータ領域に、初期データ(この例では00H)が設定され、「00H」と「F0H」の排他的論理和がとられ、その結果と「16H」の排他的論理和がとられる。さらに、その結果と「DFH」の排他的論理和がとられる。そして、その結果(この例では「39H」)を反転した最終演算結果を得る。バックアップ領域の全データがそのまま保存されていれば、最終的な演算結果は、「C6H」、すなわちバックアップチェックデータ領域に設定されているデータと一致する。バックアップRAM領域内のデータにビット誤りが生じていた場合には、最終的な演算結果は「C6H」にならない。
【0347】
よって、払出制御用CPU371は、最終的な演算結果とバックアップチェックデータ領域に設定されているデータとを比較して、一致すればパリティ診断正常とする。一致しなければ、パリティ診断異常とする。
【0348】
以上のように、この実施の形態では、払出制御手段には、遊技機の電源が断しても、所定期間電源バックアップされる記憶手段(この例ではバックアップRAM)が設けられ、電源投入時に、払出制御用CPU371(具体的には払出制御用CPU371が実行するプログラム)は、記憶手段がバックアップ状態にあればバックアップデータにもとづいて払出状態を回復させる払出状態復旧処理(ステップS706)を行うように構成される。
【0349】
以下、払出状態復旧処理について説明する。
図61は、図36のステップS706に示された払出状態復旧処理の一例を示すフローチャートである。この例では、払出制御用CPU371は、バックアップRAMに保存されていた値をレジスタに復元する(ステップS861)。そして、バックアップRAMに保存されていたデータにもとづいて停電時の払出状態を復旧するための処理を行う。例えば、賞球中処理中フラグのセット等を行う。
【0350】
例えば、電源復旧時に、バックアップRAM領域に、未払出賞球数もしくは未払出貸し球数、またはそれらの両方が保存されていた場合には、それらの保存数にもとづいて払出処理を再開する。
【0351】
払出状態を復帰させると、この実施の形態では、払出制御用CPU371は、前回の電源断時の割込許可/禁止状態を復帰させるために、バックアップRAMに保存されていたパリティフラグの値を確認する(ステップS862)。パリティフラグがクリアであれば、割込許可設定を行う(ステップS863)。一方、パリティフラグがオンであれば、そのまま(ステップS701aで設定された割込禁止状態のまま)払出状態復旧処理を終える。
【0352】
なお、ここでは、払出状態復旧処理が終了すると払出制御メイン処理にリターンするように払出状態復旧処理プログラムが構成されているが、電力供給停止時処理において保存されているスタックポインタが指すスタックエリア(バックアップRAM領域にある)に記憶されているアドレス(電源断時のNMI割込発生時に実行されていたアドレス)に戻るようにしてもよい。
【0353】
球貸し個数信号および賞球個数信号はターミナル基板160を介してホールコンピュータ等の外部機器に送信されるのであるが、上記の実施の形態では、球貸し個数信号は払出制御基板37からターミナル基板160に伝達され、賞球個数信号は主基板31からターミナル基板160に伝達される。基板間の配線は一般にコネクタで基板に接続されるが、ターミナル基板160への配線の出先が異なるので、特に、ターミナル基板160において、球貸し個数信号と賞球個数信号との結線を入れ違えてしまう可能性もある。
【0354】
そのような結線ミスを防止するには、球貸し個数信号と賞球個数信号との出先の基板を1つにすればよい。以下の実施の形態では、球貸し個数信号および賞球個数信号を払出制御基板37からターミナル基板160に配線することができる。
【0355】
図62は、球貸し個数信号と賞球個数信号とを出力する払出制御基板37およびそれに関連する構成要素を示すブロック図である。図62に示すように、この実施の形態では、払出制御基板37の情報出力回路377Aからターミナル基板160に賞球個数信号が出力される。
【0356】
図63は、情報出力回路377Aの一構成例を示すブロック図である。図に示すように、情報出力回路377Aには、球貸し個数信号を出力するための増幅回路377a、フォトカプラ377bおよびダイオードブリッジ377cに加えて、賞球個数信号を出力するための増幅回路377d、フォトカプラ377eおよびダイオードブリッジ377fが設けられている。
【0357】
以上説明したように、この実施の形態では、遊技機の貸し球払出装置と賞球払出装置とが独立に構成された遊技機において、払出制御基板37に搭載された払出制御手段が球貸し個数信号を外部管理装置に出力するとともに、主基板31に搭載された遊技制御手段が賞球個数信号を外部管理装置に出力することを実現することができる。従って、外部管理装置に出力される情報処理の合理化を図ることができる。
【0358】
その際に、信号の出力元は異なっているが、遊技機外部に信号を出力するために用いられる中継基板(ターミナル基板)は同じである。従って、球払出に関する情報を出力する電気部品制御手段が異なっていても中継基板は一つであることから、情報出力のためのコストが低減される。また、主基板31の電気部品制御手段(遊技制御手段)から賞球個数信号を外部出力するように構成しても、情報出力回路65において、その信号は片方向にしか信号を通さない不可逆性信号伝達手段を介して出力される。よって、主基板31に不正信号が入力されることは防止される。なお、払出制御基板37についても、球貸し個数信号は、情報出力回路377において、その信号は片方向にしか信号を通さない不可逆性信号伝達手段(例えばフォトカプラ)を介して出力される。よって、払出制御基板37に不正信号が入力されることは防止される。
【0359】
なお、上記の実施の形態では、電源監視回路は電源基板910に設けられたが、電源監視回路は主基板31や払出制御基板37などの電気部品制御基板に設けられていてもよい。なお、電源回路が搭載された電気部品制御基板が構成される場合には、電源基板には、電源監視回路は搭載されない。
【0360】
上記の各実施の形態のパチンコ遊技機1は、始動入賞にもとづいて可変表示部9に可変表示される特別図柄の停止図柄が所定の図柄の組み合わせになると所定の遊技価値が遊技者に付与可能になる第1種パチンコ遊技機であったが、始動入賞にもとづいて開放する電動役物の所定領域への入賞があると所定の遊技価値が遊技者に付与可能になる第2種パチンコ遊技機や、始動入賞にもとづいて可変表示される図柄の停止図柄が所定の図柄の組み合わせになると開放する所定の電動役物への入賞があると所定の権利が発生または継続する第3種パチンコ遊技機であっても、本発明を適用できる。
【0361】
さらに、パチンコ遊技機に限られず、スロット機等においても、何らかの動作をする電気部品が備えられている場合などには本発明を適用することができる。
【0362】
【発明の効果】
以上のように、本発明によれば、遊技機を、遊技者が所定の遊技を行うことが可能な遊技機であって、遊技に関わる払出条件の成立に基づいて遊技媒体の払出しを行う賞遊技媒体払出機構部と、貸出要求に基づいて遊技媒体の払出しを行う貸出遊技媒体払出機構部とを有し、遊技の進行を制御する遊技制御手段と、賞遊技媒体払出機構部と貸出遊技媒体払出機構部とを制御して、遊技媒体の払出しに関わる制御を行う払出制御手段とを備え、遊技制御手段は、遊技の進行における払出条件の成立に基づいて賞遊技媒体払出機構部から払い出される遊技媒体の払出数量に関する賞付与情報を出力可能であり、払出制御手段は、貸出要求信号に基づいて貸出遊技媒体払出機構部により払い出される遊技媒体の貸出数量に関する貸出情報を出力することが可能であることを特徴とするため、貸出遊技媒体払出機構部と賞遊技媒体払出機構部とが構成された遊技機において、例えば払出制御基板37に搭載された価値付与制御手段が貸出情報信号を出力するとともに、例えば主基板31に搭載された遊技制御手段が賞付与情報信号を出力することが実現できる。よって、外部装置にて貸出情報および賞付与情報を取得することができる。従って、外部管理装置に出力される情報処理の合理化を図ることができる。
【0363】
少なくとも遊技制御手段からは、情報出力のみが可能な不可逆性情報伝達手段により中継基板に向けてを賞付与情報が出力されると構成されている場合には、出力される不正信号に対する防止効果を発揮できる遊技機が得られる効果がある。
【0364】
賞遊技媒体払出機構部から払い出された遊技媒体を検出可能に配置された賞遊技媒体払出検出手段をさらに備え、遊技制御手段は、賞遊技媒体払出検出手段の検出出力に応じて遊技媒体の払出数を監視するとした場合には、遊技制御手段の側で適正な払出が行われていることを監視できる等の効果がある。
【0365】
遊技制御手段は、遊技価値の付与数量が所定値となる毎に賞付与情報を出力するとされた場合には、情報出力の効率化を図ることができる。
【0366】
払出制御手段からは、情報出力のみが可能な不可逆性情報伝達手段により中継基板に向けて貸出情報が出力されるとした場合には、遊技媒体貸出部分に対する不正信号の入力も効果的に防止される。
【0367】
払出制御手段が、貸出数量が所定の数量となる毎に貸出情報を出力するとした場合には、情報出力の効率化を図ることができる。
【0368】
賞付与情報と貸出情報とが、端子間の導通により外部出力され、遊技制御手段から出力される遊技機の制御に関わる情報については電圧レベルにより外部出力される構成とした場合には、外部の情報受信機器が情報を受信しやすいように、情報の種類毎に信号形態をまとめることができる。
【0369】
遊技制御手段からの賞付与情報と払出制御手段からの貸出情報とは、一の中継手段を介して外部に出力されるようにした場合には、簡単な構成で賞付与情報および貸出情報を外部に出力することができる。
【図面の簡単な説明】
【図1】パチンコ遊技機を正面からみた正面図である。
【図2】パチンコ遊技機の裏面に設けられている各基板を示す説明図である。
【図3】パチンコ遊技機の機構板を背面からみた背面図である。
【図4】賞球払出装置およびその上部の球通過経路の構成を示す構成図である。
【図5】賞球払出装置の分解斜視図である。
【図6】貸し球払出装置およびその上部の球通過経路の構成を示す構成図である。
【図7】賞球払出装置および貸し球払出装置の他の構成例を示す構成図である。
【図8】賞球払出装置および貸し球払出装置のさらに他の構成例を示す構成図である。
【図9】遊技制御基板(主基板)の回路構成を示すブロック図である。
【図10】払出制御基板および球払出装置の構成要素などの賞球に関連する構成要素を示すブロック図である。
【図11】電源監視および電源バックアップのためのCPU周りの一構成例を示すブロック図である。
【図12】電源基板の一構成例を示すブロック図である。
【図13】主基板における情報出力回路の構成を示すブロック図である。
【図14】主基板から情報端子基板またはターミナル基板を介して外部出力される各信号の出力タイミング例を示すタイミング図である。
【図15】主基板におけるCPUが実行するメイン処理の例を示すフローチャートである。
【図16】遊技状態復旧処理を実行するか否かの決定方法の例を示す説明図である。
【図17】初期設定処理の例を示すフローチャートである。
【図18】初期化処理の例を示すフローチャートである。
【図19】2msタイマ割込処理の例を示すフローチャートである。
【図20】遊技制御処理の例を示すフローチャートである。
【図21】払出制御コマンドの一構成例を示す説明図である。
【図22】制御信号とINT信号との関係を示すタイミング図である。
【図23】払出制御コマンドの内容の一例を示す説明図である。
【図24】スイッチ処理を示すフローチャートである。
【図25】入賞球信号処理を示すフローチャートである。
【図26】入賞球信号処理を示すフローチャートである。
【図27】入賞球信号処理を示すフローチャートである。
【図28】エラー表示処理を示すフローチャートである。
【図29】賞球個数信号出力処理を示すフローチャートである。
【図30】データ出力処理を示すフローチャートである。
【図31】データ出力処理を示すフローチャートである。
【図32】コマンド送信テーブルの構成を示す説明図である。
【図33】コマンド制御処理を示すフローチャートである。
【図34】コマンド送信処理を示すフローチャートである。
【図35】電源監視および電源バックアップのための払出制御用CPU周りの一構成例を示すブロック図である。
【図36】払出制御基板における情報出力回路の構成を示すブロック図である。
【図37】払出制御基板からターミナル基板を介して外部出力される球貸し個数信号の出力タイミング例を示すタイミング図である。
【図38】払出制御用CPUが実行するメイン処理の例を示すフローチャートである。
【図39】払出制御用CPUの初期設定処理の一例を示すフローチャートである。
【図40】払出制御用CPUの初期化処理の一例を示すフローチャートである。
【図41】払出制御用CPUのタイマ割込処理の例を示すフローチャートである。
【図42】払出制御手段におけるRAMの一構成例を示す説明図である。
【図43】受信バッファの一構成例を示す説明図である。
【図44】払出制御用CPUのコマンド受信処理の例を示すフローチャートである。
【図45】払出制御用CPUが実行する払出制御処理の例を示すフローチャートである。
【図46】コマンド解析実行処理の例を示すフローチャートである。
【図47】払出停止状態設定処理の例を示すフローチャートである。
【図48】スイッチ処理の例を示すフローチャートである。
【図49】プリペイドカードユニット制御処理の例を示すフローチャートである。
【図50】球貸し制御処理の例を示すフローチャートである。
【図51】球貸しカウントスイッチチェック処理の例を示すフローチャートである。
【図52】球貸し情報出力処理を示すフローチャートである。
【図53】賞球制御処理の例を示すフローチャートである。
【図54】賞球制御処理の例を示すフローチャートである。
【図55】賞球カウントスイッチチェック処理の例を示すフローチャートである。
【図56】エラーの種類とエラー表示用LEDの表示との関係を示す説明図である。
【図57】エラー処理の一例を示すフローチャートである。
【図58】エラー処理の一例を示すフローチャートである。
【図59】払出制御用CPUが実行する停電発生NMI処理の例を示すフローチャートである。
【図60】バックアップパリティデータ作成方法の例を説明するための説明図である。
【図61】払出制御用CPUが実行する払出状態復旧処理の例を示すフローチャートである。
【図62】他の構成による払出制御基板およびそれに関連する構成要素を示すブロック図である。
【図63】情報出力回路の他の構成例を示すブロック図である。
【符号の説明】
1 パチンコ遊技機
31 主基板(遊技制御手段含む)
37 払出制御基板(価値付与制御手段含む)
53 基本回路
56 CPU
97 球払出機構(賞球払出装置、球貸し払出装置含む)
371 払出制御用CPU
902 電源監視用IC
910 電源基板
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a gaming machine such as a pachinko gaming machine, a coin gaming machine, a slot machine, and the like in which a game is performed according to a player's operation, and in particular, a game is performed according to a player's operation in a gaming area of a gaming board. Related to gaming machines.
[0002]
[Prior art]
As a gaming machine, a game medium such as a game ball is launched into a game area by a launching device, and when a game medium wins a winning area such as a winning opening provided in the game area, the value of a predetermined number of prize balls and the like is increased. Some are paid out to people. The payout of the game medium is performed by a payout mechanism.
[0003]
The payout mechanism is generally controlled by prize ball control means mounted on a payout control board. Since the progress of the game is controlled by the game control means mounted on the main board, the number of game media to be paid out in accordance with the winning is determined by the game control means and transmitted to the payout control board.
[0004]
Further, the player borrows the game medium and plays a game using the borrowed game medium and the game medium paid out according to the winning. At this time, a request for lending a game medium from a player is once accepted by a lending request processing device such as a card unit, and the lending control means of the gaming machine receives a lending request from the player by communicating with the lending request processing device. The gaming machine pays out game media in response to a lending request from a player. Since the payout mechanism is controlled by the payout control means, the control of renting the game balls is also executed by the payout control means.
[0005]
A number of gaming machines are installed in a game store, but the number of gaming media paid out in response to lending requests from each gaming machine can be ascertained, and statistics on the number of gaming media paid out in accordance with prizes can be obtained. For example, a hall computer connected to each gaming machine via a communication path is installed. As described above, the number of game media paid out according to the winning is notified from the game control means to the payout control means, and the payout control means also performs ball lending control. Therefore, the prize awarding information (information on the number of game media paid out in accordance with the prize) and the lending information (information on the number of game media paid out in response to the lending request) to the hall computer are stored in the payout control means. Is output to the outside from the payout control board on which the prize control means is mounted. In many cases, the prize control means and the lending control means are constituted by integrated payout control means. Generally, the payout control means includes a payout control microcomputer.
[0006]
[Problems to be solved by the invention]
As described above, in the conventional gaming machine, the prize providing information output from the outside is once notified to the payout control means, and is output from the payout control means to the outside of the gaming machine. The number of game media paid out according to the winning is originally determined by the game control means. On the other hand, the number of game media to be paid out in response to the lending request is managed by the payout control means. Then, the payout control board must control to externally output the prize providing information originally managed by the game control means together with the loan information managed by itself. As such, it is not reasonable to supply information that is not managed by itself to an external management device (hall computer). In addition, the payout control means must externally output the number of game media paid out in accordance with a prize which has not been determined by itself, which imposes an extra burden.
[0007]
In order to output the prize-giving information and the lending information to the outside, it is necessary to install a board for relaying a signal inside the gaming machine, but such a board is not involved in the original game control. It is desirable not to cost. Further, when a signal line for externally outputting information from the game control means is provided, an unauthorized signal may be input via the signal line.
[0008]
Therefore, an object of the present invention is to provide a gaming machine that can streamline information processing output to an external management device and can output information related to awarding and lending to the outside of the gaming machine at low cost.
[0009]
[Means for Solving the Problems]
A gaming machine according to the present invention is a gaming machine in which a player can play a predetermined game, and a prize gaming medium payout mechanism (for example, a payout medium payout mechanism that pays out game media based on establishment of payout conditions related to the game). A prize ball payout device) and a lending game medium payout mechanism (for example, a ball lending device) for paying out game media based on a lending request, and a game control means (for example, A board 31), and a payout control unit (for example, a payout control unit 37) for controlling the prize game medium payout mechanism unit and the rental game medium payout mechanism unit to perform control relating to the payout of game media. The control means is capable of outputting prize awarding information relating to the payout amount (for example, the number of prize balls) of game media to be paid out from the prize game medium payout mechanism based on establishment of a payout condition in the progress of the game. , Lending Lending number of game media to be paid out by lending game media payout mechanism unit based on determined signal (e.g., a sphere rental number), characterized in that it is possible to output the rental information on.
[0010]
At least the game control means may output the prize-giving information to the relay board by the irreversible information transmission means capable of only outputting information.
[0011]
The game device further includes a prize game medium payout detecting means (for example, a prize ball motor position sensor) arranged so as to be able to detect the game medium paid out from the prize game medium payout mechanism. May be configured to be able to monitor the number of game media paid out in accordance with the detection output of.
[0012]
The game control means may output the prize awarding information every time the awarded amount of the game value reaches a predetermined value.
[0013]
The payout control means may output the lending information to the relay board by an irreversible information transmitting means capable of only outputting information.
[0014]
The payout control means may be configured to output the lending information every time the lending amount reaches a predetermined amount.
[0015]
The award providing information and the lending information may be externally output by conduction between terminals, and information relating to control of the gaming machine output from the game control means may be externally output by a voltage level.
[0016]
The award providing information from the game control means and the lending information from the payout control means may be output to the outside via one relay means.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
First, the overall configuration of a pachinko gaming machine, which is an example of a gaming machine, will be described. FIG. 1 is a front view of the pachinko gaming machine 1 as viewed from the front. Here, a pachinko gaming machine is shown as an example of a gaming machine, but the present invention is not limited to a pachinko gaming machine, and may be, for example, a coin gaming machine or a slot machine.
[0018]
As shown in FIG. 1, the pachinko gaming machine 1 has a glass door frame 2 formed in a frame shape. On the lower surface of the glass door frame 2 is a hit ball supply tray 3. Below the hitting ball supply tray 3, a surplus ball receiving tray 4 for storing stored balls overflowing from the hitting ball supply tray 3 and a hitting operation handle (operation knob) 5 for firing a hitting ball are provided. A game board 6 is detachably mounted behind the glass door frame 2. A game area 7 is provided on the front of the game board 6. Although not shown in FIG. 1, a frequency display LED, a ball lending switch, and a return switch for lending a ball via the card unit 50 are provided on the upper surface side of the hit ball supply tray 3.
[0019]
Near the center of the game area 7, a variable display device 8 including a variable display unit 9 for variably displaying a plurality of types of symbols and a variable display 10 using 7-segment LEDs is provided. In addition, a pass storage display (ordinary symbol storage display) 41 including four LEDs is provided below the variable display 10. In this embodiment, the variable display section 9 has three symbol display areas of “left”, “middle”, and “right”. On the side of the variable display device 8, a passing gate 11 for guiding a hit ball is provided. The hit ball that has passed through the passing gate 11 is guided to the starting winning opening 14 via the ball exit 13. In the passage between the passage gate 11 and the ball exit 13, there is a gate switch 12 for detecting a hit ball passing through the passage gate 11. The winning ball that has entered the starting winning port 14 is guided to the back of the game board 6 and detected by the starting port switch 17. In addition, a variable winning ball device 15 that performs opening and closing operations is provided below the starting winning port 14. The variable winning ball device 15 is opened by the solenoid 16.
[0020]
An opening / closing plate 20 that is opened by the solenoid 21 in a specific game state (big hit state) is provided below the variable winning ball device 15. In this embodiment, the opening and closing plate 20 serves as a means for opening and closing the special winning opening. A winning ball that has entered one (V zone) of the winning balls guided from the opening / closing plate 20 to the back of the game board 6 is detected by the V count switch 22. The winning ball from the opening / closing plate 20 is detected by the count switch 23. At the lower part of the variable display device 8, there is provided a starting prize storage display 18 having four display portions for displaying the number of winning balls entering the starting prize port 14. In this example, the start winning prize storage display 18 increases the number of lit display units by one each time there is a starting prize, with the upper limit being four. Then, each time the variable display of the variable display unit 9 is started, the number of the lit display units is reduced by one.
[0021]
The game board 6 is provided with a plurality of winning ports 19 and 24, and winning of the gaming balls to the respective winning ports 19 and 24 is detected by correspondingly provided winning port switches 19a and 24a. Decorative lamps 25 that blink during the game are provided around the left and right sides of the game area 7, and the lower part has an out opening 26 for absorbing a hit ball that has not won. In addition, two speakers 27 that emit sound effects are provided at upper left and right sides of the game area 7. A game effect LED 28a and game effect lamps 28b and 28c are provided on the outer periphery of the game area 7.
[0022]
In this example, a prize ball lamp 51 that is lit when a prize ball is paid out is provided near one of the speakers 27, and a ball out lamp 52 that is lit when the supply ball runs out is near the other speaker 27. Is provided. Further, FIG. 1 also shows a card unit 50 which is installed adjacent to the pachinko gaming table 1 and enables lending of a ball by inserting a prepaid card.
[0023]
The card unit 50 has a usable indicator lamp 151 for indicating whether or not the card is in a usable state. If there is a fraction (a number less than 100 yen) in the remaining amount information recorded in the card, the fraction is displayed on the hitting plate. 3, a fraction display switch 152 for displaying on a frequency display LED provided in the vicinity of 3, a connection board direction indicator 153 indicating which side of the pachinko gaming machine 1 the card unit 50 corresponds to, and the inside of the card unit 50. A card insertion indicator 154 indicating that a card has been inserted into the card, a card insertion slot 155 into which a card as a recording medium is inserted, and a mechanism of a card reader / writer provided on the back of the card insertion slot 155 are checked. A card unit lock 156 is provided for releasing the card unit 50 in some cases.
[0024]
The hit ball fired from the hitting ball launching device enters the game area 7 through the hitting rail, and then descends from the game area 7. When a hit ball is detected by the gate switch 12 through the passing gate 11, the display number of the variable display 10 is changed continuously. When a hit ball enters the start winning opening 14 and is detected by the start opening switch 17, the symbols in the variable display section 9 start rotating if the symbols can be changed. If it is not possible to start changing the symbol, the start winning memory is increased by one.
[0025]
The rotation of the image in the variable display unit 9 stops when a certain time has elapsed. If the combination of images at the time of stoppage is a combination of big hit symbols, the game shifts to a big hit game state. That is, the opening / closing plate 20 is opened until a predetermined time elapses or until a predetermined number (for example, 10) of hit balls is won. Then, when a hit ball wins in the specific winning area while the opening and closing plate 20 is opened and is detected by the V count switch 22, a continuation right is generated and the opening and closing plate 20 is opened again. Generation of the continuation right is permitted a predetermined number of times (for example, 15 rounds).
[0026]
If the combination of images in the variable display unit 9 at the time of stoppage is a combination of big hit symbols accompanied by a probability change, the probability of the next big hit increases. In other words, a high probability state, which is more advantageous for the player, is obtained. When the stop symbol on the variable display 10 is a predetermined symbol (hit symbol), the variable winning ball device 15 is opened for a predetermined time. Further, in the high probability state, the probability that the stop symbol on the variable display 10 hits the symbol is increased, and the opening time and the number of times the variable winning ball device 15 is opened are increased.
[0027]
Next, each board disposed on the back surface of the pachinko gaming machine 1 will be described.
As shown in FIG. 2, on the back surface of the pachinko gaming machine 1, a ball storage tank 38 is provided above the mechanism plate in the frame 2A, and above the pachinko gaming machine 1 with the pachinko gaming machine 1 installed on a gaming machine installation island. The game ball is supplied to the ball storage tank 38 from. The game balls in the ball storage tank 38 reach the ball payout mechanism (not shown) through the guiding gutter 39.
[0028]
On the back side of the gaming machine, a variable display control unit 29 for controlling the variable display section 9 and a game control board (main board) 31 on which a game control microcomputer and the like are mounted are installed. In addition, a payout control board 37 on which a payout control microcomputer for performing ball payout control is mounted, and a hitting ball launching device that launches a hitting ball into the game area 7 using the rotational force of a motor are provided. Further, a lamp control board 35 for sending signals to the decorative lamp 25, the game effect LED 28a, the game effect lamps 28b and 28c, the prize ball lamp 51 and the ball cut lamp 52, and voice control for controlling generation of voice from the speaker 27. A launch control board 91 for controlling the substrate 70 and the hit ball launching device is also provided. Note that an error display LED 374 is also mounted on the payout control board 37.
[0029]
Further, a power supply board 910 provided with a power supply circuit for generating DC30V, DC21V, DC12V and DC5V is provided, and prize grant information (in this example, prize ball number information) and lending information (in this example, A terminal board 160 having terminals for outputting various information such as ball lending number information to the outside of the gaming machine is provided. The terminal board 160 has at least an out-of-ball terminal for introducing the output of the out-of-ball detection switch 167, which will be described later, for external output, a prize ball terminal for externally outputting the award ball number signal, and a ball lending number signal. Ball lending terminals for externally outputting the data are provided. In the vicinity of the center, an information terminal board (external information output device) 34 having terminals for outputting various information from the main board 31 to the outside of the gaming machine is installed. In FIG. 2, signals from the lamp control board 35 and the sound control board 70 are supplied to the game effect LEDs 28a, game effect lamps 28b and 28c, the prize ball lamp 51, and the ball cut lamp 52 provided on the frame side. Illustrated is an electric relay board A77 and a balance display board 74 on which a frequency display LED and the like are mounted, but other relay boards are provided as necessary for signal relay.
[0030]
FIG. 3 is a rear view of the mechanical plate of the pachinko gaming machine 1 as viewed from the rear. The balls stored in the ball storage tank 38 pass through the guiding gutter 39 and reach the ball payout mechanism 97. The game balls paid out from the ball payout mechanism 97 are supplied to the hit ball supply tray 3 provided on the front surface of the pachinko gaming machine 1 through the communication port 45. On the side of the communication port 45, a surplus ball passage 46 communicating with the surplus ball tray 4 provided on the front face of the pachinko gaming machine 1 is formed. When a large number of prize balls are paid out based on the winning and the hitting ball supply tray 3 becomes full, and finally the game balls reach the contact port 45 and then the game balls are further paid out, the game balls pass through the surplus ball passage 46 and surplus. It is led to the ball tray 4. When the game balls are further paid out, the sensing lever 47 presses the full tank switch 48 and the full tank switch 48 is turned on. In that state, a prize ball payout device (not shown) in the ball payout mechanism 97 of The rotation of the stepping motor stops, the operation of the prize ball payout device stops, and the driving of the hit ball firing device 34 also stops.
[0031]
Next, the configuration of the intermediate base unit installed on the mechanism plate 36 will be described. The intermediate base unit is provided with a ball payout mechanism 97 and a ball passing path above it. In this embodiment, as will be described later, in the ball payout mechanism 97, a prize ball payout device and a ball rental payout device are provided independently. FIG. 4 is a configuration diagram showing a configuration of a prize ball payout device and a ball passing path above the device.
[0032]
In the upper part of the intermediate base unit, a passage body 184A serving as a prize ball path is provided. A winning ball payout device 97A is fixed to a lower portion of the passage body 184A. The passage body 184A has payout ball passages 186a and 186b that allow two rows of game balls, which are divided into four rows by the curve gutter 174 (see FIG. 3) and whose downflow direction is changed to the right and left, to flow down. On the upstream side of the payout ball passages 186a and 186b, ball cutout switches 187a and 187b are provided. The ball-out switches 187a and 187b detect the presence or absence of a game ball in the pay-out ball passages 186a and 186b. The rotation of the motor (not shown in FIG. 4) is stopped, and the prize ball payout is immobilized.
[0033]
The ball-out switches 187a and 187b are locked by locking pieces 188A at positions where it is possible to detect the presence of about 27 to 28 game balls in the payout ball paths 186a and 186b. That is, the ball out switches 187a and 187b are installed at positions where it can be confirmed that the maximum payout amount of one unit of the prize ball (15 in this embodiment) is secured.
[0034]
The central portion of the passage body 184A is formed in a shape that bends left and right so as to reduce the ball pressure of the game ball flowing down inside. The passage body 184A is fixed to the intermediate base unit, and the positioning of the passage body 184A can be performed by a locking projection 185A provided on the intermediate base unit.
[0035]
Below the passage body 184A, there is provided a ball stopping device 190A that supplies game balls to the prize ball dispensing device 97A and stops supplying game balls to the prize ball dispensing device 97A in the event of a failure or the like. The winning ball payout device 97A installed below the ball stopping device 190A is housed inside a rectangular parallelepiped case 198A. Protrusions are provided at four places on the left and right of the case 198A. The lower end of the case 198A is fitted into an elastic engagement piece provided at a lower portion of the intermediate base unit with each projection being related to a positioning projection provided on the intermediate base unit.
[0036]
FIG. 5 is an exploded perspective view of the prize ball payout device 97A. The configuration and operation of the winning ball payout device 97A will be described with reference to FIG. In the award ball payout device 97A in this embodiment, a stepping motor (award ball motor) 289A rotates a screw 288 to pay out pachinko balls one by one.
[0037]
As shown in FIG. 5, the prize ball payout device 97A has two cases 198a and 198b. Engagement protrusions 280 are provided at two positions on the left and right of each of the cases 198a and 198b, which are in contact with positioning protrusions provided above the installation position of the winning ball payout device 97A. Further, ball supply paths 281a and 281b are formed in the respective cases 198a and 198b. The ball supply paths 281a and 281b have curved surfaces 282a and 282b, and ball feeding horizontal paths 284a and 284b are formed below the ends of the curved surfaces 282a and 282b. Further, ball discharge paths 283a and 283b are formed at the ends of the ball feed horizontal paths 284a and 284b.
[0038]
The ball supply paths 281a and 281b, the ball feed horizontal paths 284a and 284b, and the ball discharge paths 283a and 283b are formed in front of partition walls 295a and 295b that partition the cases 198a and 198b forward and backward, respectively. Further, in front of the partition walls 295a and 295b, the ball pressure buffering member 285 is sandwiched between the cases 198a and 198b. The ball pressure buffering member 285 distributes the game balls supplied to the prize ball payout device 97A to the left and right sides and guides them to the ball supply paths 281a and 281b.
[0039]
Further, below the ball pressure buffering member 285, a winning ball motor position sensor including a light emitting element (LED) 286 and a light receiving element (not shown) is provided. The light emitting element 286 and the light receiving element are provided at a predetermined interval. Then, the tip of the screw 288 is inserted into the space. When the cases 198a and 198b are attached to each other, the ball pressure buffering member 285 is completely housed and fixed therein.
[0040]
A screw 288 that is rotated by the prize ball motor 289A is disposed on the ball feed horizontal paths 284a and 284b. The prize ball motor 289A is fixed to a motor fixing plate 290, and the motor fixing plate 290 is fitted in fixing grooves 291a and 291b formed behind the partition walls 295a and 295b. In this state, the motor shaft of the prize ball motor 289A projects forward of the partition walls 295a, 295b, and the screw 288 is fixed forward of the projection. A spiral projection 288a is provided on the outer periphery of the screw 288 for moving the game balls placed on the ball feed horizontal paths 284a and 284b forward by the rotation of the prize ball motor 289A.
[0041]
A recess is formed at the tip of the screw 288 so as to house the light emitting element 286, and two notches 292 are formed 180 degrees apart from each other on the outer periphery of the recess. Therefore, while the screw 288 makes one rotation, the light from the light emitting element 286 is detected twice by the light receiving element via the notch 292.
[0042]
That is, the prize ball motor position sensor including the light emitting element 286 and the light receiving element is for stopping the screw 288 at a fixed position and detecting that the prize ball payout operation has been performed. The wires from the light emitting element 286, the light receiving element, and the prize ball motor 289A are collectively pulled out to the outside through drawer holes formed below the rear portions of the cases 198a, 198b, and connected to the connector.
[0043]
When the prize ball motor 289A rotates while the game balls are placed on the ball feed horizontal paths 284a and 284b, the spiral balls 288a of the screw 288 cause the game balls to move forward on the ball feed horizontal paths 284a and 284b. Move. Then, finally, the ball falls from the end of the ball feed horizontal path 284a, 284b to the ball discharge path 283a, 283b. At this time, falling from the left and right ball feed horizontal paths 284a and 284b are performed alternately. That is, each time the screw 288 makes a half turn, one game ball falls from one side. Therefore, each time one game ball falls, light from the light emitting element 286 is detected by the light receiving element.
[0044]
As shown in FIG. 4, a winning ball count switch 301A using a proximity switch is provided below the winning ball payout device 97A. The payout control means can determine the number of paid out prize balls from the detection output of the prize ball count switch 301A.
[0045]
In this embodiment, a prize ball payout device 97A that pays out game balls by rotation of a stepping motor is used as a ball payout device that pays out game balls by driving an electric drive source. A ball payout device having a structure in which a game ball is sent out by a source may be used, or a payout device having a structure in which a stopper is removed by driving an electric drive source to pay out the game ball by its own weight may be used.
[0046]
FIG. 6 is a configuration diagram illustrating a configuration of a ball lending and dispensing device and a ball passing path above the device. A rental ball dispensing device 97B is fixed to a lower portion of a passage body 184C serving as a rental ball route. The passage body 184B has payout ball passages 186c and 186d through which two rows of game balls flow. On the upstream side of the dispensing ball passages 186c and 186d, ball disconnection switches 187c and 187d are provided. The out-of-ball switches 187c and 187d detect the presence or absence of game balls in the pay-out ball passages 186c and 186d. The rotation of the motor (not shown in FIG. 6) is stopped to pay out the rental ball.
[0047]
The ball cutout switches 187c and 187d are locked by locking pieces 188C at positions where it is possible to detect the presence of about 27 to 28 game balls in the payout ball paths 186c and 186d. That is, the ball out switches 187c and 187d are installed at positions where it is possible to confirm that the maximum payout amount of one unit of ball lending (25 in this embodiment) or more is secured.
[0048]
The central portion of the passage body 184C is formed in a shape curved left and right so as to reduce the ball pressure of the game ball flowing down inside. Although the passage body 184C is fixed to the intermediate base unit, the position of the passage body 184C can be adjusted by a locking projection 185C provided on the intermediate base unit. Note that the rental ball payout device 97C may be installed beside the prize ball payout device 97A, or may be installed so as to overlap the prize ball payout device 97A when the installation space is insufficient. .
[0049]
Below the passage body 184C, there is provided a ball stopping device 190C for supplying game balls to the rental ball dispensing device 97C and stopping the supply of game balls to the rental ball dispensing device 97C in the event of a failure or the like. The rental ball payout device 97C installed below the ball stopping device 190C is housed inside a rectangular parallelepiped case 198C.
[0050]
The configuration of the rental ball payout device 97C may be the same as the configuration of the prize ball payout device 97A shown in FIG. That is, a stepping motor (ball lending motor) 289C having the same configuration as the prize ball motor 289A rotates the screw 288 to pay out pachinko balls one by one. Further, the ball lending motor position sensor including the light emitting element 286 and the light receiving element is used for stopping the screw 288 at a fixed position and for detecting that the ball lending payout operation has been performed. A ball lending count switch 301B using a proximity switch is provided below the ball lending device 97C. The payout control means can determine the number of balls actually paid out from the detection output of the ball rental count switch 301B.
[0051]
The payout mechanism may be configured as shown in FIG. In the configuration example shown in FIG. 7, the distance between the out-of-ball switches 187c and 187d and the loaned ball payout device 97C is longer than the distance between the out-of-ball switches 187a and 187b and the prize ball payout device 97A. For example, the ball-out switches 187c and 187d are locked at a position where it is possible to detect that about 27 to 28 game balls exist in the payout-ball passages 186c and 186d. It is locked at a position where it can be detected that about 17 to 18 game balls exist in the payout ball paths 186a and 186b. In other words, the remaining number when a ball for a prize ball is detected is different from the remaining number when a ball for a prize ball is detected. Since the number of game balls in each unit is different, it is reasonable to configure the payout mechanism to make the remaining numbers different.
[0052]
The other configuration is the same as the configuration shown in FIGS. Further, the rental ball payout device 97C may be installed beside the prize ball payout device 97A, or may be installed so as to overlap the prize ball payout device 97A when the installation space is insufficient. .
[0053]
Further, the payout mechanism may be configured as shown in FIG. In the configuration example shown in FIG. 8, the ball passage on the upper side of the prize ball payout device 97A and the ball passage on the upper side of the rental ball payout device 97C are one. Therefore, the game ball flowing down in one line is divided into two lines in the payout mechanism. A ball out switch 187 is provided at a location before the ball is divided into two sections. In this case, the same detector detects a broken ball for award balls and a broken ball for lending. Therefore, the configuration and control for detecting a broken ball can be simplified.
[0054]
Note that the distance between the out-of-ball switch 187 and the lending ball payout device 97C is longer than the distance between the out-of-ball switch 187 and the prize ball payout device 97A. For example, the ball-out switch 187 can detect that about 27 to 28 game balls exist in the payout ball paths 186c and 186d, and about 17 to 18 game balls exist in the payout ball paths 186a and 186b. Is locked in such a position as to be able to detect the presence. The other configuration is the same as the configuration shown in FIGS.
[0055]
FIG. 9 is a block diagram illustrating an example of a circuit configuration of the main board 31. FIG. 9 also shows the payout control board 37, the lamp control board 35, the sound control board 70, the emission control board 91, and the display control board 80. On the main board 31, a basic circuit 53 for controlling the pachinko gaming machine 1 according to a program, a gate switch 12, a starting port switch 17, a V count switch 22, a count switch 23, winning port switches 19a and 24a, and a prize ball count switch 301A. And a solenoid circuit 59 that drives the solenoid 16 that opens and closes the variable winning ball device 15 and the solenoid 21 that opens and closes the opening and closing plate 20 according to instructions from the basic circuit 53. Have been.
[0056]
Also, according to the data provided from the basic circuit 53, jackpot information indicating occurrence of a jackpot, effective start information indicating the number of start winning balls used for starting image display of the variable display section 9, and indicating that a probability change has occurred. It includes an information output circuit 64 that outputs probability change information and the like to a host computer such as a hall management computer.
[0057]
The basic circuit 53 includes a ROM 54 that stores a game control program and the like, a RAM 55 that is an example of a storage unit used as a work memory, a CPU 56 that performs a control operation according to the program, and an I / O port unit 57. In this embodiment, the ROM 54 and the RAM 55 are built in the CPU 56. That is, the CPU 56 is a one-chip microcomputer. The one-chip microcomputer only needs to include at least the RAM 55, and the ROM 54 and the I / O port unit 57 may be externally or internally provided. The I / O port unit 57 is a terminal capable of inputting and outputting information in the microcomputer.
[0058]
Further, the main board 31 has a system reset circuit 65 for resetting the basic circuit 53 when the power is turned on, and decodes an address signal given from the basic circuit 53 to output any one of the I / O ports 57. An address decode circuit 67 for outputting a signal for selecting an / O port is provided. Note that there is also switch information input from the ball dispensing device 97 to the main board 31, but these are omitted in FIG.
[0059]
A hit ball launching device that hits and launches a game ball is driven by a drive motor 94 controlled by a circuit on a launch control board 91. Then, the driving force of the driving motor 94 is adjusted according to the operation amount of the operation knob 5. That is, the circuit on the launch control board 91 is controlled so that the hit ball is launched at a speed corresponding to the operation amount of the operation knob 5.
[0060]
In this embodiment, the lamp control means mounted on the lamp control board 35 controls the display of the start storage display 18, the gate passage storage display 41 and the decoration lamp 25 provided on the game board. At the same time, display control of the game effect lamps / LEDs 28a, 28b, 28c, the prize ball lamp 51 and the ball out lamp 52 provided on the frame side is performed. The display control of the variable display unit 9 for variably displaying special symbols and the variable display 10 for variably displaying ordinary symbols is performed by display control means mounted on the display control board 80.
[0061]
FIG. 10 is a block diagram showing components related to payout, such as components of the payout control board 37 and the ball payout device 97. As shown in FIG. 10, a detection signal from the full tank switch 48 is input to the I / O port 57 of the main board 31 via the relay board 71. The full tank switch 48 is a switch that detects whether the excess ball tray 4 is full. Further, the detection signals from the ball cut switches 187a, 187b or 187c, 187d are also input to the I / O port 57 of the main board 31 via the relay boards 72 and 71. Here, it is assumed that the payout mechanism has a configuration in which a winning ball payout mechanism as shown in FIG. 4 and a ball lending mechanism as shown in FIG. 6 are provided independently.
[0062]
The CPU 56 of the main board 31 instructs the dispensing prohibition when the detection signals from the ball out switches 187a and 187b indicate the ball out state or the detection signal from the full switch 48 indicates the full state. Is sent out. When receiving the payout control command instructing the payout prohibition, the payout control CPU 371 of the payout control board 37 stops the ball payout process.
[0063]
Further, a detection signal from the award ball count switch 301A is also input to the I / O port 57 of the main board 31 via the relay board 72 and the relay board 71. The prize ball count switch 301A is provided below the prize ball payout device 97A, and detects a prize ball payout ball actually paid out.
[0064]
When there is a prize, a payout control command indicating the number of prize balls is input to the payout control board 37 from the output ports (ports 0, 1) 570, 571 of the main board 31. The output port (output port 1) 571 outputs 8-bit data, and the output port 570 outputs a 1-bit strobe signal (INT signal). The payout control command indicating the number of winning balls is input to the I / O port 372a via the input buffer circuit 373A. The INT signal is input to the interrupt terminal of the payout control CPU 371 via the input buffer circuit 373B. The payout control CPU 371 inputs a payout control command via the I / O port 372a, and drives the ball payout device 97 in accordance with the payout control command to pay out award balls.
In this embodiment, the payout control CPU 371 is a one-chip microcomputer and has at least a RAM.
[0065]
On the main board 31, buffer circuits 620 and 68A are provided outside the output ports 570 and 571. As the buffer circuits 620 and 68A, for example, 74HC250 and 74HC14 which are general-purpose CMOS-ICs are used. According to such a configuration, a signal input from the outside to the inside of the main board 31 is blocked, so that a signal line to which a signal may be given from the payout control board 37 to the main board 31 is further reliably eliminated. be able to. Note that a noise filter may be provided on the output side of the buffer circuits 620 and 68A.
[0066]
The payout control CPU 371 outputs a ball lending number signal indicating the lending ball number to the terminal board 160 via the output port 372g and the information output circuit 377, and outputs a buzzer driving signal to the buzzer board 75. A buzzer is mounted on the buzzer board 75. Further, an error signal is output to the error display LED 374 via the output port 372e.
[0067]
Further, detection signals from the prize ball count switch 301A and the ball lending count switch 301B are input to the input port 372b of the payout control board 37 via the relay board 72. The ball lending count switch 301B is provided at the lower part of the ball lending device 97C, and detects a ball lending actually paid out. A drive signal from the payout control board 37 to the prize ball motor 289A and the ball lending motor 289B is transmitted to the prize ball motor 289A and the ball lending motor 289B via the output port 372c and the relay board 72.
[0068]
The card unit 50 has a card unit control microcomputer mounted thereon. In addition, the card unit 50 is provided with a fraction display switch 152, a connection stand direction display 153, a card insertion display lamp 154, and a card insertion slot 155 (see FIG. 1). The balance display board 74 is connected to a frequency display LED, a ball lending switch, and a return switch provided near the hit ball supply tray 3.
[0069]
A ball lending switch signal and a return switch signal are given from the balance display board 74 to the card unit 50 via the payout control board 37 in accordance with the operation of the player. A card balance display signal indicating the balance of the prepaid card and a ball lending permission display signal are given from the card unit 50 to the balance display board 74 via the payout control board 37. Between the card unit 50 and the payout control board 37, a connection signal (VL signal), a unit operation signal (BRDY signal), a ball lending request signal (BRQ signal), a ball lending completion signal (EXS signal) and a pachinko machine operation signal ( PRDY signal) is exchanged via the I / O port 372f.
[0070]
When the power of the pachinko gaming machine 1 is turned on, the payout control CPU 371 of the payout control board 37 outputs a PRDY signal to the card unit 50. The card unit control microcomputer outputs a VL signal. The payout control CPU 371 determines the connection state / non-connection state based on the input state of the VL signal. When the card is accepted in the card unit 50 and the ball lending switch is operated to input the ball lending switch signal, the microcomputer for controlling the card unit outputs a BRDY signal to the payout control board 37. When a predetermined delay time has elapsed from this point, the microcomputer for controlling the card unit outputs a BRQ signal to the payout control board 37. Then, the payout control CPU 371 of the payout control board 37 starts up the EXS signal to the card unit 50, and when detecting the fall of the BRQ signal from the card unit 50, drives the ball lending motor 289B to set a predetermined number of lending balls. Is paid out to the player. At this time, the distribution solenoid 310 is in a driving state. That is, the ball distribution member 311 is directed to the ball lending side. When the payout is completed, the payout control CPU 371 causes the EXS signal to the card unit 50 to fall. Thereafter, if the BRDY signal from the card unit 50 is not in the ON state, the winning ball payout control is executed.
[0071]
As described above, the signal from the card unit 50 is input to the payout control board 37 directly connected to the card unit 50. Accordingly, regarding the ball lending control, no signal is input from the card unit 50 to the main board 31, and there is no room for an illegal signal to be input from the card unit 50 side to the basic circuit 53 of the main board 31.
[0072]
Further, the card balance display signal indicating the balance of the prepaid card and the ball lending possible display signal are transmitted to the balance display board 74 without passing through the payout control CPU 371. The ball lending switch signal and the return switch signal sent from the balance display board 74 are also transmitted to the card unit 50 without passing through the payout control CPU 371.
[0073]
In this embodiment, the case where the card unit 50 is provided is described as an example. However, the present invention can be applied to a case where a game ball is lent according to the amount of money when a coin is inserted. Further, in this embodiment, a case where a game ball is lent is taken as an example, but the present invention can be applied to a case where points are added.
[0074]
In this embodiment, at least the RAM in the main board 31 and the payout control board 37 is backed up by a backup power supply. That is, even if the power supply to the gaming machine is stopped, the contents of the RAM are stored for a predetermined period. When detecting a drop in the power supply voltage, each CPU performs a predetermined process and then enters a power recovery wait state. When the power is turned on, if data is stored in the RAM, each CPU restores the state before the power was turned off based on the stored data.
[0075]
Further, as described above, in order to send a command to the payout control board 37, the display control board 80, the lamp control board 35, and the voice control board 70, an INT signal is output from the output port (output port 0) 570 of the main board 31. Output to each electric component control board. In this case, for example, the output port 570 has an 8-bit configuration, where bit 0 is an INT signal to the payout control board 37, bit 1 is an INT signal to the display control board 80, and bit 2 is an INT signal to the lamp control board 35. The signal, bit 3, is used for outputting the INT signal to the voice control board 70.
[0076]
FIG. 11 is a block diagram illustrating an example of a configuration around the CPU 56. As shown in FIG. 11, a voltage drop signal from the first power supply monitoring circuit (first power supply monitoring means) is connected to the non-maskable interrupt terminal (XNMI terminal) of the CPU 56. The first power supply monitoring circuit is a circuit that monitors the voltage of any one of various DC power supplies used by the gaming machine and detects a drop in the power supply voltage. In this embodiment, the power supply voltage of VSL is monitored, and when the voltage value becomes equal to or less than a predetermined value, a low-level voltage drop signal is generated. VSL is the largest DC voltage used in gaming machines, and is +30 V in this example. Therefore, the CPU 56 can confirm the occurrence of power interruption by the interrupt processing. In this embodiment, the first power supply monitoring circuit is mounted on a power supply board described later.
[0077]
FIG. 11 also shows a system reset circuit 65, but in this embodiment, the system reset circuit 65 also serves as a second power supply monitoring circuit (second power supply monitoring means). That is, the reset IC 651 sets the output to a low level for a predetermined time determined by the capacity of an external capacitor when the power is turned on, and sets the output to a high level after the predetermined time has elapsed. That is, the reset signal is raised to a high level to make the CPU 56 operable. The reset IC 651 monitors the power supply voltage of VSL, which is the same power supply voltage as the power supply voltage monitored by the first power supply monitoring circuit, and sets the voltage value to a predetermined value (the first power supply monitoring circuit outputs a voltage drop signal). When the voltage falls below the power supply voltage value), a low-level voltage drop signal is generated. Therefore, the CPU 56 performs a predetermined power supply stop processing in response to the voltage drop signal from the first power supply monitoring circuit, and then performs a system reset. In this embodiment, the reset signal and the voltage drop signal from the second power supply monitoring circuit are the same signal.
[0078]
As shown in FIG. 11, the reset signal from the reset IC 651 is input to the NAND circuit 947 and also to the clear terminal of the counter IC 941 via the inverting circuit (NOT circuit) 944. When the input to the clear terminal goes low, the counter IC 941 counts the clock signal from the oscillator 943. Then, the Q5 output of the counter IC 941 is input to the NAND circuit 947 via the NOT circuits 945 and 946. The Q6 output of the counter IC 941 is input to a clock terminal of a flip-flop (FF) 942. The D input of the flip-flop 942 is fixed at a high level, and the Q output is input to an OR circuit (OR circuit) 949. The output of the NAND circuit 947 is introduced to the other input of the OR circuit 949 via the NOT circuit 948. The output of the OR circuit 949 is connected to the reset terminal of the CPU 56. According to such a configuration, when the power is turned on, two reset signals (low level signals) are supplied to the reset terminal of the CPU 56, so that the CPU 56 reliably starts operating.
[0079]
Then, for example, the detection voltage of the first power supply monitoring circuit (the voltage at which a voltage drop signal is output) is set to +22 V, and the detection voltage of the second power supply monitoring circuit is set to +9 V. In such a configuration, since the first power supply monitoring circuit and the second power supply monitoring circuit monitor the voltage of the same power supply VSL, the timing at which the first voltage monitoring circuit outputs the voltage drop signal And the timing at which the second voltage monitoring circuit outputs the voltage drop signal can be reliably set to a desired predetermined period. The desired predetermined period is a period from when the power supply stop processing is started in response to the voltage drop signal from the first power supply monitoring circuit to when the power supply stop processing is surely completed.
[0080]
In this example, the first detection condition under which the first power supply monitoring means outputs a detection signal is that the +30 V power supply voltage has dropped to +22 V, and the second power supply monitoring means outputs the detection signal. The second detection condition becomes that the +30 V power supply voltage has dropped to +9 V. However, the voltage value used here is an example, and another value may be used.
[0081]
However, although the monitoring range is narrowed, it is also possible to use a + 5V power supply voltage as the monitoring voltage of the first voltage monitoring circuit and the second voltage monitoring circuit. Also in that case, the detection voltage of the first voltage monitoring circuit is set higher than the detection voltage of the second voltage monitoring circuit.
[0082]
While power is not supplied from the +5 V power supply, which is the driving power supply of the CPU 56 and the like, at least a part of the RAM is backed up by the backup power supply supplied from the power supply board, and the contents are retained even if the power supply to the gaming machine is cut off. You. When the + 5V power supply is restored, a reset signal is issued from the system reset circuit 65, and the CPU 56 returns to a normal operation state. At that time, since the necessary data is stored in the backup RAM, it is possible to return to the gaming state at the time of the occurrence of the power failure when recovering from a power failure or the like.
[0083]
Although FIG. 11 shows a configuration in which the reset signal (low-level signal) is applied twice to the reset terminal of the CPU 56 when the power is turned on, the reset is reliably released even if the reset signal rises only once. When a CPU is used, the circuit elements indicated by reference numerals 941 to 949 are unnecessary. In that case, the output of the reset IC 651 is directly connected to the reset terminal of the CPU 56.
[0084]
The CPU 56 used in this embodiment also has an I / O port (PIO) and a timer / counter circuit (CTC). The PIO has ports of 4 bits of PB0 to PB3 and 1 byte of PA0 to PA7. The ports PB0 to PB3 and PA0 to PA7 can be set for both input and output. However, in this embodiment, the built-in PIO is not used. In that case, for example, all the ports are set to the input mode, and all the ports are connected to the ground level. When the power is turned on, the PIO is automatically set to the input mode.
[0085]
FIG. 12 is a block diagram illustrating a configuration example of a power supply board 910 of a gaming machine. The power supply board 910 is installed independently of the electric component control boards such as the main board 31, the display control board 80, the audio control board 70, the lamp control board 35, and the payout control board 37, and controls each electric component control board in the gaming machine. Generates voltages used by mechanical components. In this example, AC24V, VSL (DC + 30V), DC + 21V, DC + 12V and DC + 5V are generated. Further, the capacitor 916 serving as a backup power supply is charged from DC + 5V, that is, a power supply line for driving an IC or the like on each substrate.
[0086]
Transformer 911 converts an AC voltage from an AC power supply to 24V. The AC 24 V voltage is output to connector 915. The rectifier circuit 912 generates a DC voltage of +30 V from AC 24 V and outputs the DC voltage to the DC-DC converter 913 and the connector 915. The DC-DC converter 913 generates + 22V, + 12V, and + 5V and outputs the generated voltage to the connector 915. The connector 915 is connected to, for example, a relay board, and power of a voltage required for each electrical component control board and mechanical components is supplied from the relay board. Note that a power switch 918 for stopping and starting power supply to the gaming machine is provided on the input side of the transformer 911.
[0087]
The + 5V line from DC-DC converter 913 branches to form a backup + 5V line. A large-capacity capacitor 916 is connected between the backup + 5V line and the ground level. The capacitor 916 is provided with a power so as to maintain a storage state in a backup RAM (power-backed-up RAM, that is, storage means that can be in a storage content storage state) of the electric component control board when power supply to the gaming machine is cut off. Supply backup power. Further, a diode 917 for preventing backflow is inserted between the + 5V line and the backup + 5V line.
[0088]
Note that a battery that can be charged from a + 5V power supply may be used as the backup power supply. In the case of using a battery, a rechargeable battery is used which runs out of capacity when power is not supplied from a + 5V power supply for a predetermined time.
[0089]
The power supply board 910 has a power supply monitoring IC 902 included in the first power supply monitoring circuit. The power supply monitoring IC 902 detects the occurrence of power interruption by introducing the VSL power supply voltage and monitoring the VSL power supply voltage. Specifically, when the VSL power supply voltage becomes equal to or lower than a predetermined value (+22 V in this example), a voltage drop signal is output assuming that power supply is cut off. The power supply voltage to be monitored is preferably higher than the power supply voltage (+5 V in this example) of the circuit element mounted on each electric component control board. In this example, VSL, which is a voltage immediately after conversion from AC to DC, is used. The voltage drop signal from the power supply monitoring IC 902 is supplied to the main board 31, the payout control board 37, and the like.
[0090]
The predetermined value for the power supply monitoring IC 902 to detect the power-off is lower than the normal voltage, but is a voltage at which the CPU on each electric component control board can operate for a while. The power supply monitoring IC 902 is configured to monitor a voltage higher than a voltage for driving a circuit element such as a CPU (+5 V in this example) and a voltage immediately after conversion from AC to DC. Therefore, the monitoring range can be extended for the voltage required by the CPU. Therefore, more precise monitoring can be performed. Further, when VSL (+30 V) is used as the monitoring voltage, since the voltage supplied to various switches of the gaming machine is +12 V, prevention of erroneous switch-on detection at the moment of a power interruption can be expected. That is, if the voltage of the +30 V power supply is monitored, it is possible to detect a decrease in the voltage of +12 V at a stage before +12 V generated after the generation of +30 V starts to fall. Therefore, when the voltage of the + 12V power supply decreases, the switch output comes to the on state. However, if the + 30V power supply voltage that drops earlier than the + 12V is monitored and the power cutoff is recognized, the power supply is turned on before the switch output turns on. It is possible to enter a state of waiting for restoration and to enter a state in which the switch output is not detected.
[0091]
Further, since the power supply monitoring IC 902 is mounted on the power supply board 910 separate from the electric component control board, the first power supply monitoring circuit can supply a voltage drop signal to the plurality of electric component control boards. Regardless of the number of electrical component control boards that require the voltage drop signal, it is sufficient that only one first power supply monitoring means is provided, so that each electrical component control means in each electrical component control board performs return control described later. Doing so does not add much to the cost of the gaming machine.
[0092]
In the configuration shown in FIG. 12, the detection output (voltage drop signal) of the power supply monitoring IC 902 is supplied to the respective electric component control boards (for example, the main board 31 and the payout control board 37) via the buffer circuits 918 and 919. However, for example, a configuration may be employed in which one detection output is transmitted to the relay board, and the same signal is distributed from the relay board to each electric component control board. Further, a buffer circuit may be provided according to the number of substrates requiring a voltage drop signal.
[0093]
FIG. 13 is a block diagram showing one configuration example of the information output circuit 64 on the main board 31 shown in FIG. In this example, the information output circuit 64 includes an amplifying circuit 64a for amplifying the starting port information signal output from the CPU 56 via the I / O port 57, an amplifying circuit 64b for amplifying the symbol determination number information 1 signal, and the jackpot information 1 Amplifying circuit 64c for amplifying the signal, amplifying circuit 64d for amplifying the probability variation information signal, amplifying circuit 64e for amplifying the two big hit information signals, amplifying circuit 64f for amplifying the two symbol confirmation frequency information signals, and amplifying the accessory frequency signal Includes an amplifier circuit 64g. The outputs of the amplifier circuits 64a to 64g are connected to the information terminal board 34.
[0094]
The symbol determination frequency information 2 signal is information relating to a normal symbol displayed on the variable display 10, and the accessory frequency signal is information indicating the number of times the variable winning ball device 15 is opened.
[0095]
Further, an amplifying circuit 64h for amplifying the award ball number signal, a photocoupler 642 which conducts by the output of the amplifying circuit 64h, and a diode for cutting off or short-circuiting the output terminals according to the output of the photocoupler 642. A bridge 643 is provided. The output of the diode bridge 643 is connected to the terminal board 160. The photocoupler 642 includes a light emitting diode and a phototransistor. In the photocoupler 642, a resistor is connected to one output of the phototransistor. Further, as the amplifier circuit 64h, an IC circuit or a transistor may be used. Further, the prize ball number information may be configured to be output at a voltage level, like the big hit information 1 signal and the like. Note that the amplifier circuit prevents the CPU 56 from malfunctioning due to an overcurrent.
[0096]
FIG. 14 is a timing chart showing an example of the output timing of each signal externally output from the main board 31 via the information terminal board 34 or the terminal board 160. In this example, as shown in FIG. 14A, the symbol determination frequency signal, the big hit information 1 signal, the big hit information 2 signal, and the probability variation information signal are output as negative logic signals. In this example, when the special symbol displayed on the variable display section 9 stops changing, the symbol determination frequency signal is set to low level for 0.5 seconds. Also, when 1.5 seconds have elapsed after the change of the special symbol has stopped, the big hit information 1 signal and the big hit information 2 signal are set to low level, and the big winning opening (in this embodiment, by opening the opening / closing plate 20). When 10.8 seconds have passed since the last closing, the big hit information 1 signal and the big hit information 2 signal are turned off (high level).
[0097]
At the time of the high probability, the big hit information 2 signal continues to be on even if the big hit game ends. In the high probability state, the probability fluctuation information signal is turned on. Note that the example shown in FIG. 14A is an example in which the probability variation state ends when a large hit is hit with a symbol other than the specific symbol (probable variation symbol) during the probability variation.
[0098]
In addition, as shown in FIG. 14B, the starting port information signal is also output as a signal of negative logic. In this example, when there is a start winning, the starting winning information signal is set to a low level for 0.5 seconds, and then set to a high level for 0.5 seconds. That is, “ON” is output for 0.5 seconds, and subsequently “OFF” is output for 0.5 seconds. In this embodiment, a prize ball number signal indicating the number of game balls paid out according to the winning is also output from the main board 31. Then, as shown in FIG. 14 (C), every time the number of payouts becomes ten, the award ball number signal is set to the low level for 0.1 second, and subsequently to the high level for 0.1 second. That is, "on" is output for 0.1 second for every 10 award balls, and subsequently "off" is output for 0.1 second. As described above, by securing the period in which the signal is on and the period in which the signal is off, even if the winning detection and the prize ball detection are continuous within the signal on period, the signal corresponding to the detection is obtained. Is surely output.
[0099]
Next, the operation of the gaming machine will be described.
FIG. 15 is a flowchart illustrating a main process executed by the CPU 56 on the main board 31. When the power to the gaming machine is turned on, in the main process, the CPU 56 first performs necessary initial settings (step S1).
[0100]
Then, it is checked whether or not data protection processing (for example, power failure occurrence NMI processing such as addition of parity data) of the backup RAM area has been performed when the power is turned off (step S2). In this embodiment, when an unexpected power failure occurs, a process for protecting data in the backup RAM area is performed. The case where such protection processing has been performed is regarded as backup. After confirming that there is no backup, the CPU 56 executes an initialization process (steps S2 and S3). In this embodiment, whether or not there is backup data in the backup RAM area is confirmed by the state of the backup flag set in the backup RAM area when the power is turned off. For example, if "55H" is set in the backup flag area, it means that there is a backup (on state), and if a value other than "55H" is set, it means that there is no backup (off state). “55H” set in the backup flag area is data set when the data protection processing of the backup RAM area is completed in the power failure occurrence NMI processing, and is a parity code based on the data of the backup RAM area.
[0101]
If there is backup data in the backup RAM area, the CPU 56 performs data check (for example, parity check) on the backup RAM area (step S4). If the power is restored after an unexpected power failure, the data in the backup RAM area should have been saved, and the check result becomes normal. If the check result is not normal, since the internal state cannot be returned to the state at the time of power-off, an initialization process executed at the time of power-on without power recovery is executed (steps S5 and S3).
[0102]
If the check result is normal, the CPU 56 performs a game state restoration process for returning the internal state to the state at the time of power off (step S6). As shown in FIG. 16, when the value of the backup flag is set to “55H” and the check result is normal, the game state restoration processing in step S6 is executed. Then, the saved value of the PC (program counter) stored in the backup RAM area is set in the PC, and the program returns to the address (step S7).
[0103]
When the execution of the normal initialization process (Step S3) is completed, the process shifts to a loop process in which the timer interrupt flag is monitored (Step S9) in the main process. In the loop, a display random number update process (step S8) is also executed.
[0104]
In this embodiment, after the presence or absence of backup data is confirmed in step S2, if backup data exists, the backup area is checked in step S4. Conversely, the backup area check result is After it is confirmed that the data is normal, the presence or absence of backup data may be confirmed. Alternatively, whether to execute the power failure recovery process may be determined by confirming whether there is backup data or checking the backup area.
[0105]
Further, for example, at the time of the parity check (step S4) when determining whether or not to execute the power failure recovery processing, that is, at the time of determining whether or not to restore the gaming state, a special process in the stored RAM data is performed. If it is confirmed that the gaming machine is in a game waiting state (a state in which no symbol is changing, no big hit game is in progress, and there is no start winning prize memory) by a flag or the like or the data of the number of start winning prizes. Alternatively, the initialization process may be performed without performing the game state restoration process.
[0106]
FIG. 17 is a flowchart showing the initial setting process in step S1. In the initial setting process, the CPU 56 first sets interrupt prohibition (step S1a). When the interrupt is set to be prohibited, the CPU 56 sets the interrupt mode to the interrupt mode 2 (step S1b), and sets a stack pointer designation address to the stack pointer (step S1c). Then, the CPU 56 initializes the built-in device register (step S1d). After initializing a built-in device (built-in peripheral circuit) CTC (counter / timer) and PIO (parallel input / output port) (step S1e), the RAM is set to an accessible state (step S1f).
[0107]
The CPU 56 used in this embodiment has the following three types of modes as maskable interrupt (INT) modes. When an interrupt that can be masked occurs, the CPU 56 automatically sets an interrupt disabled state and saves the contents of the program counter on the stack.
[0108]
Interrupt mode 0: The built-in device that has issued the interrupt request sends an RST instruction (1 byte) or a CALL instruction (3 bytes) onto the internal data bus of the CPU. Therefore, the CPU 56 executes the instruction at the address corresponding to the RST instruction or the address specified by the CALL instruction. Upon reset, the CPU 56 automatically enters the interrupt mode 0. Therefore, when it is desired to set the interrupt mode 1 or the interrupt mode 2, it is necessary to perform a process for setting the interrupt mode 1 or the interrupt mode 2 in the initial setting process.
[0109]
Interrupt mode 1: In this mode, when an interrupt is accepted, the operation always jumps to address 0038 (h).
[0110]
Interrupt mode 2: A mode in which the address synthesized from the value (1 byte) of the specific register (I register) of the CPU 56 and the interrupt vector (1 byte: least significant bit 0) output from the built-in device indicates an interrupt address. It is. That is, the interrupt address is an address indicated by 2 bytes in which the upper address is the value of the specific register and the lower address is the interrupt vector. Therefore, an interrupt process can be set at an arbitrary (although discrete) even address. Each built-in device has a function of transmitting an interrupt vector when making an interrupt request.
[0111]
Therefore, when the interrupt mode 2 is set, it is possible to easily process an interrupt request from each built-in device, and to set an interrupt process at an arbitrary position in a program. . Further, unlike the interrupt mode 1, it is easy to prepare an interrupt process for each interrupt occurrence factor. As described above, in this embodiment, the CPU 56 is set to the interrupt mode 2 in step S1b of the initial setting process.
[0112]
FIG. 18 is a flowchart showing a normal initialization process (step S3). As shown in FIG. 18, in the initialization process, the RAM is cleared (step S3a). Then, based on the address value of the work area initial setting table, a predetermined work area (for example, a normal symbol determination random number counter, a normal symbol determination buffer, a special symbol left middle right symbol buffer, a payout command storage pointer, etc.) is initialized. An initial value setting process for setting a value (step S3b) is performed. Then, the register of the CTC provided in the CPU 56 is set so that the timer is interrupted periodically every 2 ms (step S3c). That is, a value corresponding to 2 ms is set in a predetermined register (time constant register) as an initial value. Since the interrupt is prohibited (see FIG. 17) in the initial setting process (step S1), the interrupt is permitted before the initialization process is completed (step S3d).
[0113]
Therefore, in this embodiment, the built-in CTC of the CPU 56 is set to repeatedly generate a timer interrupt. In this embodiment, the repetition period is set to 2 ms. Then, as shown in FIG. 19, when a timer interrupt occurs, the CPU 56 sets a timer interrupt flag (step S12).
[0114]
When detecting that the timer interrupt flag is set in step S9, the CPU 56 resets the timer interrupt flag (step S10) and executes a game control process (step S11). According to the above control, in this embodiment, the game control process is started every 2 ms. In this embodiment, only the flag is set in the timer interruption processing, and the game control processing is executed in the main processing. However, the game control processing may be executed in the timer interruption processing.
[0115]
As described above, in this embodiment, the interrupt mode 2 is set in the CPU 56 having the built-in CTC and PIO in the initial setting process. Therefore, a periodic timer interrupt process using the built-in CTC can be easily realized. Further, the timer interrupt processing can be set at an arbitrary position on the program. Further, switch detection processing using the built-in PIO can be easily realized by interruption processing. As a result, effects such as simplification of the program configuration and reduction in the number of program development steps can be obtained.
[0116]
Further, in this embodiment, it is determined whether or not to restore the state at the time of power-off based on the presence or absence of backup data. Therefore, when the power is turned on, for example, when the power is restored after a power failure, it is possible to determine whether or not to restore the state at the time of the power failure according to the contents of the backup data storage area.
[0117]
Further, since it is determined whether or not the power is restored to the power-off state based on the state of the backup data, when the power is turned on at the time of power recovery after a power failure, the state of the contents of the backup data storage area is determined. Thus, it is possible to determine whether or not to restore the power-off state.
[0118]
FIG. 20 is a flowchart showing the game control process in step S11. In the game control process, first, the CPU 56 inputs the states of the gate sensor 12, the starting port sensor 17, the count sensor 23, and the winning port switches 19a and 24a via the switch circuit 58, and wins the winning port and the winning device. It is determined whether or not there is (switch processing: step S21).
[0119]
Next, various abnormality diagnosis processes are performed by the self-diagnosis function provided inside the pachinko gaming machine 1, and an alarm is issued if necessary according to the result (error process: step S22).
[0120]
Next, a process of updating each counter indicating a random number for determination, such as a random number for big hit determination, used for game control is performed (step S23). The CPU 56 further performs a process of updating a display random number such as a random number for determining the type of the stop symbol (step S24).
[0121]
Further, the CPU 56 performs a special symbol process (step S25). In the special symbol process control, a corresponding process is selected and executed according to a special symbol process flag for controlling the pachinko gaming machine 1 in a predetermined order according to a gaming state. Then, the value of the special symbol process flag is updated during each processing according to the gaming state. Further, a normal symbol process is performed (step S26). In the normal symbol process process, a corresponding process is selected and executed according to a normal symbol process flag for controlling the variable display 10 using the 7-segment LED in a predetermined order. Then, the value of the normal symbol process flag is updated during each processing according to the gaming state.
[0122]
Further, the CPU 56 performs a process of setting a control command sent to the payout control board 37 or the like in a predetermined area of the RAM 55 and sending the control command (command control process: step S27).
[0123]
Next, the CPU 56 performs a data output process of outputting data such as jackpot information, start information, and probability variation information supplied to the hall management computer (step S29).
[0124]
Further, the CPU 56 issues a drive command to the solenoid circuit 59 when a predetermined condition is satisfied (step S30). The solenoid circuit 59 drives the solenoids 16 and 21 according to the drive command, and brings the variable winning ball device 15 or the open / close plate 20 into an open state or a closed state.
[0125]
The CPU 56 also sets the number of prize balls based on the detection output of the switches 17, 23, 19a, and 24a for detecting winning in each winning opening (step S31). Specifically, a payout control command is output to the payout control board 37 in response to the winning detection. The payout control CPU 371 mounted on the payout control board 37 drives the winning ball payout device 97A according to the payout control command.
[0126]
As described above, the main process includes the process of determining whether or not to shift to the game control process, and the internal timer of the CPU 56 performs the timer control process based on the timer interrupt that is periodically generated. Since the flag for determining whether or not to shift is set, all of the game control processing is reliably executed. That is, until all of the game control processing is executed, it is not determined whether or not to shift to the next game control processing, so that it is guaranteed that all the processing during the game control processing is completed. ing.
[0127]
Here, the game control process executed by the CPU 56 of the main board 31 is executed according to the flag set in the timer interrupt process based on the timer interrupt generated by the internal timer of the CPU 56 periodically. A hardware circuit that periodically generates a signal (for example, every 2 ms) is provided, a signal from the circuit is introduced to an external interrupt terminal of the CPU 56, and it is determined whether or not to shift to the game control process based on the interrupt signal. May be set.
[0128]
Even in such a configuration, the flag is not determined until all the game control processes are executed, so that execution of all the processes in the game control process is guaranteed to be completed.
[0129]
FIG. 21 is an explanatory diagram showing an example of a command form of a payout control command sent from the main board 31 to the payout control board 37. In this embodiment, the payout control command has a 2-byte configuration, the first byte represents MODE (command classification), and the second byte represents EXT (command type). The command form shown in FIG. 21 is an example, and another command form may be used. The first bit (bit 7) of MODE data is always "1", and the first bit (bit 7) of EXT data is always "0".
[0130]
FIG. 22 is a timing chart showing the relationship between an 8-bit control signal (dispensing control signal in this case) and an INT signal (dispensing control signal INT in this case) that constitute a control command for each electric component control means. is there. As shown in FIG. 22, when a period indicated by A elapses after MODE or EXT data is output to an output port (port 1 in the case of a payout control signal), the CPU 56 outputs a signal indicating data output. A certain INT signal is turned on. When the period indicated by B elapses therefrom, the INT signal is turned off. Further, when there is data to be transmitted next, that is, after MODE data is transmitted, the data of the second byte is transmitted to the output port after a period indicated by C. Regarding the data of the second byte, the periods of A and B are the same as the case of the first byte.
[0131]
The period A is a period for the CPU 56 to prepare for sending a command, that is, a period required for processing to set a sending command in the buffer, and to stabilize data on a control signal line (a payout control signal line in the case of a payout control signal). It is a period for conversion. The period B is a period for stabilizing the INT signal. The period C is a period in which the electrical component control means (the payout control means in the case of the payout control signal) is set so that the data can be taken in reliably. In the period C, data on the signal line does not change. That is, the data output is maintained until the period C elapses.
[0132]
In this embodiment, the payout control command to the payout control board 37, the display control command to the display control board 80, the lamp control command to the lamp control board 35, and the voice control command to the voice control board 70 are the same routine. (Common module). Therefore, the period of C, that is, the period from the time when the INT signal for the first byte is turned off to the time when the transmission of the second byte data is started, is the reception processing time in the electric component control unit which takes the longest time for the command reception processing It is set to be longer than For example, when each of the CPUs in the payout control board 37, the display control board 80, the lamp control board 35, and the audio control board 70 is configured to receive a control command from the game control means by an interrupt having the highest priority. When the operation clock of the payout control CPU 371 in the payout control board 37 is the latest, the time is set to be longer than the reception processing time of the payout control CPU 371. If the number of clocks required for processing is different even if the operation clock of each CPU is the same, the setting is made to be longer than the reception processing time of the CPU requiring the largest number of clocks.
[0133]
Each electric component control unit detects that the INT signal has changed from the on state (high level) to the off state (low level), and starts a process of fetching 1-byte data by, for example, an interrupt process.
[0134]
Since the period of C is longer than the reception processing time of the electric component control means which takes the longest time for the command reception processing, even if the game control means controls the command transmission processing for each electric component control means by the common module, The electric component control means can reliably receive the control command from the game control means.
[0135]
FIG. 23 is an explanatory diagram showing an example of the content of the payout control command. In the example shown in FIG. 23, a command FF00 (H) of MODE = FF (H) and EXT = 00 (H) is a payout control command for specifying a payable state. The command FF01 (H) of MODE = FF (H) and EXT = 01 (H) is a payout control command for specifying a payout stop state. The command F0XX (H) of MODE = F0 (H) is a payout control command for specifying the number of winning balls. “XX” which is EXT indicates the number of payouts.
[0136]
The payout control means stops the prize ball payout and the ball lending when receiving the FF01 (H) payout control command from the game control means of the main board 31, and when receiving the FF00 (H) payout control command, receives the prize ball payout. And the ball can be lent. Further, when a payout control command specifying the number of winning balls is received, award ball payout control according to the number specified by the received command is performed.
[0137]
The payout control command is sent only once so that the payout control means can recognize it. Recognizable means that the INT signal is turned on in this example, and is transmitted only once so that it can be recognized. In this example, it means that the INT signal is sent to the first and second bytes of the payout control signal. Accordingly, the INT signal is turned on only once.
[0138]
FIG. 24 is a flowchart showing a portion of the switch process (step S21) in the game control process shown in FIG. 20, which is related to the winning ball control. In the switch process, the CPU 56 sets a ball-out state flag when the ball-out switch 187a, 187b detects a ball-out for a prize ball (steps S121, S122). When it is detected that the ball is not out of ball by the ball out switches 187a and 187b, the ball out state flag is reset (steps S121 and S123).
[0139]
Next, when the lower tray full is detected by the full tank switch 48, a full tank flag is set (steps S124 and S125). When it is detected that the lower tray is not full by the full switch 48, the full flag is reset (steps S124 and S126).
[0140]
Further, when it is detected that the count switch 23 is turned on, the 15 counter is incremented by 1 (steps S131 and S132), and when it is detected that one of the winning opening switches 19a and 24a is turned on, the 10 counter is incremented by 1 ( In steps S133 and S134), when it is detected that the starting port switch 17 has been turned on, the six counters are incremented by one (steps S135 and S136).
[0141]
In this embodiment, fifteen prize balls are paid out for a prize that has passed through the special winning opening, six prize balls are paid out for a prize that has passed through the starting winning opening 14, and the other winning openings 19 and 24 and the prize It is assumed that ten prize balls are paid out for a winning through the ball device. The 15 counter is a counter for counting the number of winnings to the special winning opening, the 10 counter is a counter for counting the number of winnings to the normal winning opening, and the 6 counter is a winning for the starting winning opening. This is a counter for counting the number.
[0142]
FIGS. 25 to 27 are flowcharts showing an example of the winning ball signal processing (step S31) in the game control processing shown in FIG. In this example, in the winning ball signal processing, the CPU 56 first checks whether or not the payout is stopped (step S201). The payout stop state is a state after a payout stop state designation command is sent to the payout control board 37. If it is not in the payout stop state, it is checked whether the above-mentioned ball out-of-ball state flag or the full tank flag is turned on (step S202).
[0143]
When either of them changes to the ON state, the command transmission table related to the payout stop state designation is set (step S203). The command transmission table will be described later in detail. In step S202, when one of the flags is already in the on state and the other flag is in the on state, the command transmission table is not set (step S203).
[0144]
If the payout is in the stopped state, it is checked whether both the out-of-ball state flag and the full state flag have been turned off (step S204). When both are turned off, a command transmission table relating to the payout stop release designation is set (step S205).
[0145]
Next, it is determined whether or not the timer T1 has timed out (step S211). The timer T1 is a timer for determining whether an unrecoverable error has occurred. If the accumulated number of errors exceeds a predetermined number at the time of timeout, an error that cannot be recovered is obtained. If the cumulative error count is equal to or less than the predetermined count, the operation is continued. If the timer T1 has not been set, or if the timer has not timed out, the process proceeds to step S221.
[0146]
If the timer T1 has timed out, the value of the winning ball error counter is checked (step S212). If the value of the winning ball error counter exceeds a predetermined value, an error state is entered (step S217). In the error state, the CPU 56 is stopped. For example, a loop state (jump to the same address) is set.
[0147]
If the value of the winning ball error counter does not exceed the predetermined number when the timer T1 times out, the winning ball error counter is initialized (step S213), and the timer T1 is started again (step S214).
[0148]
The value of the winning ball error counter is counted up when an error such as an excessive number of winning balls is detected. Therefore, if a prize ball excess error exceeding a predetermined number of times occurs within a predetermined time (within the count-up time of the timer T1), the state will not be canceled even if it is restarted by a 2 ms interrupt. In this way, if the system is configured not to be in the halt state immediately when an excessive prize ball error occurs but to be in the stop state when the prize ball excessive error occurs frequently, an error that occurs temporarily and naturally recovers may occur. Then, the gaming machine does not become inoperable. In addition, when an excessive prize ball error frequently occurs, an inspection or the like is often required. In such a case, the gaming machine can be made inoperable.
[0149]
Next, the CPU 56 performs control to set a payout control command relating to the number of winning balls according to the winning in the command transmission table. First, the values of the 15 counters are checked (step S221). As described above, the 15-counter is counted up when the game ball wins the big winning opening and the count switch 23 is turned on. If the value of the fifteen counter is not 0, the command transmission table for the fifteen prize balls number instruction is set (step S222). Further, the value of the 15 counter is decremented by 1 (step S223). Further, 15 is added to the payout command number cumulative value (step S224).
[0150]
If the value of the 15 counter is 0, the value of the 10 counter is checked (step S225). As described above, the ten counters are counted up when a game ball wins a winning opening and the winning opening switches 19a and 24a are turned on. If the value of the ten counter is not 0, the command transmission table for the ten winning ball number instructions is set (step S226). Further, the value of the ten counters is decremented by one (step S227). Further, 10 is added to the payout command number cumulative value (step S228).
[0151]
If the value of the ten counter is 0, the value of the six counter is checked (step S231). As described above, the six counters are counted up when the game ball wins the starting winning port and the starting port switch 17 is turned on. If the value of the six counter is not 0, the command transmission table for the six winning ball number instructions is set (step S232). Further, the value of the six counters is decremented by one (step S233). Further, 6 is added to the payout command number cumulative value (step S234).
[0152]
As described above, when the payout control command is to be output from the game control means to the payout control board 37, the command transmission table is set. Then, when the command transmission table is set, the award ball payout flag is turned on (step S235). If the award ball paying flag is on, the process shifts to step S241 (step S236).
[0153]
Next, the CPU 56 checks whether or not the error display flag is on (step S241). If it is on, the process moves to step S257. The error display flag will be described later. If the error display flag is not on, the process waits until the award ball count switch 301A is turned on (step S242). When detecting that the prize ball count switch 301A is turned on, the CPU waits for the prize ball count switch 301A to be turned off (step S242), and when it is turned off, decrements the payout command cumulative number by one (step S244). Further, the award ball number signal output subroutine is started (step S245). Then, the timer T2 is started (step S246).
[0154]
The paid prize balls pass through the prize ball count switch 301A one by one. As described above, by detecting the on / off state of the prize ball count switch 301A, the passage of the game ball is reliably detected. If the passing of the game balls is detected, it is determined that there is one prize ball, and the payout command cumulative number is decremented by one.
[0155]
If the cumulative value of the number of payout commands, which is added when the payout control command is transmitted and is set to −1 when the prize ball count switch 301A is turned on, does not become 0 when the timer T2 times out, an excess prize ball or insufficient prize ball occurs. It is determined that there is. Therefore, the timer T2 is started or restarted every time the output of the winning ball count switch 301A is turned off after the output is turned on.
[0156]
If the award ball count switch 301A is not turned on in step S242, it is checked whether or not the timer T2 is operating (step S247). If the timer T2 is operating, the CPU 56 checks whether the timer T2 has timed out (step S250). If the timeout has not occurred, the process ends.
[0157]
The value of the timer T2 (the time from the start to the time-out) is longer than the payout cycle (the period from when the prize ball count switch 301A is turned on to when it is turned on next time) when the payout is normally performed. It is set long. Therefore, when the payout is normally performed, the next award ball count switch 301A is turned on (step S242) before the timer T2 times out, except for the last payout. That is, when the payout is normally performed, the timer T2 times out only after the last payout is performed.
[0158]
In some cases, an interval time is provided between the prize ball payouts in the continuous payout (the prize ball payout for a certain prize and the prize ball payout for the next prize are performed consecutively). The value of T2 is set longer than the interval time. That is, when the continuous payout is performed, the time-out occurs only after the last payout is performed.
[0159]
When the timer T2 times out in step S250, the CPU 56 checks whether or not the payout command number accumulated value is 0 (step S251). When a corrected payout, which will be described later, is performed, it is confirmed whether or not the corrected number storage value is 0. The payout command cumulative value is incremented by the number of prize balls when a prize is awarded, and is decremented by -1 when the prize ball count switch 301A for detecting that there is a prize ball has been paid out. In this case, the value is 0. Therefore, if the value is 0, the prize ball payout flag is turned off and the process ends (step S252).
[0160]
If the payout command number accumulation value or the corrected number storage value is not 0 when the timer T2 times out, it means that there is an award ball excess or an award ball shortage. Therefore, when the payout command number accumulation value or the corrected number storage value is not 0, the CPU 56 checks whether the value is positive or negative (step S253). When the value is positive, that is, when it is determined that the payout is insufficient, the number to be corrected is set to the stored number of corrected numbers (step S255), and a command transmission table for the corrected number is set (step S256).
[0161]
FIG. 28 is a flowchart illustrating an example of the error display process. In the error display process, the CPU 56 first checks whether the timer T3 is operating (step S261). The timer T3 is a timer that is set when an error is detected, and displays an error until a timeout occurs. If the timer T3 is not operating, the error display flag is turned on (step S262), and an error display request is set (step S263). Then, the timer T3 is started (step S264). Further, the value of the winning ball error counter is incremented by 1 (step S265).
[0162]
The value of the winning ball error counter is checked in step S212, and if the value exceeds a predetermined value within a predetermined time, a complete error state is set in which automatic recovery is not performed. When the error display request is set, for example, control is performed so that an error is displayed on the variable display unit 9, or control is performed such that an error notification sound is generated from the speaker 27.
[0163]
Then, if the gaming state is the normal state (step S266), a loop state is entered. The normal state is a state other than the big hit gaming state and the state where the variable display is performed on the variable display unit 9.
[0164]
If the timer T3 is operating in step S261, the CPU 56 checks whether the timer T3 has timed out (step S270). If a timeout has occurred, the error display request is reset (step S271), and the error display flag is turned off (step S272). Further, the award ball payout flag is turned off (step S273). Therefore, the gaming machine returns to the state where the winning ball detection and the winning ball payout control can be performed again. When the error display flag is ON, the game progress is suspended.
[0165]
Regarding the error state of step S213 (the value of the prize ball error counter has exceeded a predetermined value within a predetermined period), for example, error display and error notification are performed, and control is performed so as to enter a loop state.
[0166]
FIG. 29 shows a prize ball number signal output processing subroutine activated when it is confirmed that one game ball has been paid out after the prize ball count switch 301A is turned on and then turned off (steps S242 to S243). It is a flowchart which shows (step S245).
[0167]
In the winning ball number output processing subroutine, the CPU 56 increments the value of the winning ball number counter by one (step S281). If the value of the prize ball number counter is a multiple of 10 (step S282), the prize ball number output request is turned on (step S283). Note that the prize ball number counter is simply incremented, and if the prize ball number counter is a 16-bit counter, the value returns to 0 after the value becomes FFFF (H).
[0168]
FIG. 30 and FIG. 31 are flowcharts showing processing relating to external output of each information of the data output processing in the game control processing shown in FIG. First, the timer used will be described.
[0169]
Ta: a timer for determining the ON period of the award ball number signal (see FIG. 14C).
Tb: a timer for determining the ON period of the symbol determination count signal (see FIG. 14A).
Tc: Timer for determining ON timing of big hit information 1 and 2 signals (see FIG. 14A).
Td: a timer that determines the off timing of the big hit information 1 and 2 signals (see FIG. 14A).
Te: a timer that determines the on-period of the starting port information signal (see FIG. 14B).
[0170]
In the data output process, the CPU 56 first checks whether or not the Ta timer is operating (whether or not the award ball number signal is on) (step S150). If it is operating, it is checked whether or not a timeout has occurred (step S151). When the timeout occurs, the award ball number signal is turned off (high level) (step S152).
[0171]
As shown in FIG. 13, the award ball number signal is logically inverted in the information output circuit 64, so that the ON state is actually output from the CPU 56 as "1". However, for the sake of simplicity, the description will be given here assuming that the award ball number signal is negative logic. This is the same for other signals.
[0172]
Next, the CPU 56 first checks whether or not the Tb timer is operating (whether or not the symbol determination number signal is on) (step S153). If it is operating, it is checked whether or not a timeout has occurred (step S154). When the timeout occurs, the symbol determination count signal is turned off (high level) (step S155). Further, it is determined whether or not the Tc timer is operating (step S156). If it is operating, it is checked whether or not a timeout has occurred (step S157). When the timeout occurs, the big hit information 1 signal and the big hit information 2 signal are turned on (low level) (steps S158 and S159).
[0173]
Further, it is confirmed whether or not the Td timer is operating (step S161). If it is operating, it is checked whether or not a timeout has occurred (step S162). After the timeout, the big hit information 1 signal is turned off (high level) (step S163). Here, when the big hit is due to the specific symbol causing the probability change state (step S164), the probability change information signal is turned on (low level) (step S543), otherwise, the big hit information 2 signal is turned off. (High level) (step S165). Then, it is confirmed whether or not the Te timer is operating (whether or not the start winning information signal is on) (step S166). If it is operating, it is checked whether or not a timeout has occurred (step S167). When the timeout occurs, the start port information signal is turned off (high level) (step S168).
[0174]
Next, if the prize ball number output request is on (step S171), the CPU 56 resets the prize ball number output request (step S172), and sets the prize ball number signal to an on (low level) state (step S172). S173). Further, the Ta timer is started (step S174). The prize ball number output request is set every time the prize ball payout reaches 10 in the prize ball signal processing (step S283).
[0175]
When the change of the special symbol in the variable display section 9 stops (step S175), the symbol determination number signal is turned on (step S176), and the Tb timer is started (step S177). Then, if the combination of the symbols at the time of stopping causes a big hit (step S178), the Tc timer is started (step S179). Further, when the big hit game state ends (step S180), the Td timer is started (step S181).
In addition, the stop of the change of the special symbol, the fixed symbol at the time of stop, and the end of the big hit game state are notified from the special symbol process process (step S25) in the game control process shown in FIG.
[0176]
Then, when there is a winning start (step S182), the CPU 56 turns on the starting port information signal (low level) (step S183) and starts the Te timer (step S184).
[0177]
By the above-described processing, the symbol determination frequency signal, the big hit information 1 and 2 signals, the probability variation information signal, the starting opening information signal, and the winning ball number signal are output as shown in the timing chart of FIG. In this embodiment, the prize ball number signal is output directly from the main board 31 on which the game control means is mounted every time ten prize balls are paid out.
[0178]
That is, when the prize ball is paid out, the prize ball number signal is turned on for the time created by the Ta timer. The award ball number signal from the CPU 56 is input to the photocoupler 642 after being inverted by the amplifier circuit 64h in the information output circuit 64 shown in FIG. The light emitting diode in the photocoupler 642 conducts and emits light when “1” is output from the CPU 56. Then, the phototransistor in the photocoupler 642 is turned on. A resistor is connected to the phototransistor inside the photocoupler 642. Accordingly, a potential difference appears between the input terminals of the diode bridge 643 connected to the photocoupler 642. Then, each diode in the diode bridge 643 becomes conductive, and the potential between the output terminals in the diode bridge 643 becomes equal. That is, the output terminals are connected (short-circuit state).
[0179]
When “0” is output from the CPU 56, the output terminals of the diode bridge 643 are open. In an external device such as a hall computer, when the two terminals are connected, it is determined that the winning ball number signal is on. Therefore, the prize ball number signal is output to the outside as shown in FIG.
[0180]
In this embodiment, as shown in FIG. 13, in the information output circuit 64 of the main board 31, the prize ball number signal is output in a form by connection of contacts by an amplifier circuit, a photocoupler and a diode bridge. Was. However, similarly to the signals to the information terminal board 34, the award ball number signal may be configured to be output in the form of a voltage level.
[0181]
FIG. 32A is an explanatory diagram illustrating a configuration example of the command transmission table described above. One command transmission table is composed of three bytes, and INT data is set in the first byte. In the command data 1 of the second byte, MODE data of the first byte of the payout control command is set. In the command data 2 of the third byte, EXT data of the second byte of the payout control command is set.
[0182]
Note that the EXT data itself may be set in the command data 2 area, but the command data 2 may be set with data for specifying the address of a table in which the EXT data is stored. . In this embodiment, if the bit 7 (work area reference bit) of the command data 2 is 0, it indicates that the EXT data itself is set in the command data 2. Such EXT data is data in which bit 7 is 0. If the work area reference bit is 1, it indicates that the other 7 bits are offsets for specifying the address of the table in which the EXT data is stored.
[0183]
In this embodiment, a plurality of command transmission tables are prepared, and a command transmission table to be used is specified by a pointer. Also, a plurality of command transmission tables are used as a ring buffer. Therefore, the CPU 56 sets the INT data, the command data 1 and the command data 2 in the command transmission table pointed by the write pointer in the winning ball signal processing. Then, the value of the write pointer is updated. Since one command transmission table has a 3-byte configuration, specifically, the write pointer value is incremented by +3.
[0184]
In the process shown in FIG. 26, only one command transmission table setting process for one payout control command is performed in one process. However, since a plurality of command transmission tables are provided, a plurality of command transmission table setting processes are performed. May be performed. For example, when a plurality of winnings are stored in the 15-counter, the 10-counter, and the 6-counter, a plurality of command transmission table setting processes may be performed in one winning ball signal process.
[0185]
Here, the payout control command will be described. However, when transmitting a display control command, a lamp control command, and a voice control command, INT data and command data are stored in a command transmission table as shown in FIG. 1 and command data 2 are set. At this time, the INT data, the command data 1 and the command data 2 are set in the command transmission table pointed to by the write pointer.
[0186]
FIG. 32 (B) is an explanatory diagram showing one configuration example of INT data. Bit 0 in the INT data indicates whether a payout control command should be sent to the payout control board 37 or not. If bit 0 is "1", it indicates that a payout control command should be sent. Therefore, the CPU 56 sets “01 (H)” in the INT data in the winning ball signal processing.
[0187]
Bits 1, 2, and 3 of the INT data are bits indicating whether or not to transmit a display control command, a lamp control command, and a voice control command, respectively. Then, the INT data, the command data 1 and the command data 2 are set in the command transmission table pointed to by the pointer by special symbol process processing or the like. When these commands are transmitted, the corresponding bit of the INT data is set to “1”, and MODE data and EXT data are set in the command data 1 and the command data 2.
[0188]
FIG. 33 is a flowchart showing a processing example of a command control process (step S27) in the game control process shown in FIG. The command control process is a process including a command output process and an INT signal output process. In the command control process, the CPU 56 first saves the address of the command transmission table (contents of the read pointer) on a stack or the like (step S401). Then, the INT data of the command transmission table pointed to by the read pointer is loaded into the argument 1 (step S402). Argument 1 is input information for a command transmission process described later. Further, the address indicating the command transmission table is incremented by 1 (step S403). Therefore, the address indicating the command transmission table matches the address of the command data 1.
[0189]
Therefore, the CPU 56 reads the command data 1 and sets it as the argument 2 (step S404). The argument 2 also becomes input information for a command transmission process described later. Then, a command transmission processing routine is called (step S405).
[0190]
FIG. 34 is a flowchart showing a command transmission routine. In the command transmission routine, the CPU 56 first sets the data set in the argument 1, ie, the INT data, in the work area determined as the comparison value (step S421). Next, the number of transmissions = 4 is set in the work area determined as the number of processes (step S422). Then, the address of port 1 (output port 571) for outputting the payout control signal is set to the IO address (step S423).
[0191]
Next, the CPU 56 shifts the comparison value one bit to the right (step S424). It is determined whether or not the carry bit has become 1 as a result of the shift processing (step S425). The fact that the carry bit has become 1 means that the rightmost bit in the INT data was “1”. In this embodiment, the shift processing is performed four times. For example, when it is specified that the payout control command should be transmitted, the carry bit becomes 1 in the first shift processing.
[0192]
When the carry bit becomes 1, the data set in the argument 2, in this case, the command data 1 (that is, MODE data) is output to the address set as the IO address (step S426). When the first shift processing is performed, the address of the port 1 (output port 571) is set in the IO address, so that the MODE data of the payout control command is output to the port 1 after all.
[0193]
Next, the CPU 56 adds 1 to the IO address (step S427) and subtracts 1 from the number of processes (step S428). If port 1 is indicated before the addition, the IO address is set to the address of port 2 (output port 572) by the addition processing for the IO address. Port 2 (output port 572) is a port for outputting a display control command. Then, the CPU 56 checks the value of the number of processes (step S429), and returns to step S424 if the value is not 0. The shift process is performed again in step S424.
[0194]
In the second shift processing, the value of bit 1 in the INT data is pushed out, and the carry flag becomes “1” or “0” according to the value of bit 1. Therefore, it is checked whether or not it is specified that the display control command should be sent. Similarly, in the third and fourth shift processes, it is checked whether it is specified that the ramp control command and the voice control command should be transmitted. As described above, when each shift process is performed, the IO address corresponding to the command (payout control command, display control command, lamp control command, voice control command) set by the shift process is set in the IO address. Have been. Therefore, when the carry flag becomes "1", a control command is transmitted to the corresponding output port (port 1 to port 4). That is, one common module can perform a process of transmitting a control command to each electric component control unit.
[0195]
In this way, since it is determined which control control unit should output the control command only by the shift process, the process of determining which control control unit should output the control command is simplified. Has been
[0196]
Next, the CPU 56 reads the contents of the argument 1 storing the INT data before the start of the shift processing (step S430), and outputs the read data to the port 0 (output port 570) (step S431). In the INT data, the bit corresponding to the output bit of the INT signal corresponding to the control command (dispensing control command, display control command, lamp control command, voice control command) output in the processing of steps S421 to S429 becomes “1”. Has become. Therefore, the INT signal corresponding to the control command (payout control command, display control command, lamp control command, voice control command) output to any of the ports 1 to 4 is turned on.
[0197]
Next, the CPU 56 sets a predetermined value in the weight counter (Step S432), and decrements by one until the value becomes 0 (Steps S433 and S434). This process is a process for setting the period B shown in FIG. When the value of the wait counter becomes 0, clear data (00) is set (step S435), and the data is output to port 0 (step S436). Therefore, the INT signal is turned off. Then, a predetermined value is set in the weight counter (step S432), and the value is decremented by 1 until the value becomes 0 (steps S438, S439). This process is a process for setting the period C shown in FIG.
[0198]
Therefore, the value set in the wait counter in step S437 is a value such that the period of C is a period sufficient for all the electric component control means that are the control command receiving targets to reliably perform the command receiving process. is there. Further, the value set in the weight counter is a value such that the period of C is longer than the time required for the processing of steps S421 to S429.
[0199]
As described above, the MODE data of the first byte of the control command is transmitted. Therefore, the CPU 56 adds 1 to the value indicating the command transmission table in step S406 shown in FIG. Therefore, the area of the command data 2 in the third byte is specified. The CPU 56 loads the content of the indicated command data 2 into the argument 2 (step S407). Further, it is determined whether the value of bit 7 (work area reference bit) of the command data 2 is “0” (step S409). If it is not 0, the start address of the command extension data address table is set in the pointer (step S409), and the address is calculated by adding the value of bit 6 to bit 0 of the command data 2 to the pointer (step S410). Then, the data of the area indicated by the address is loaded into the argument 2 (step S411).
[0200]
In the command extension data address table, EXT data that can be transmitted to the electric component control unit is sequentially set. Therefore, if the value of the work area reference bit is “1” by the above processing, the EXT data in the command extension data address table corresponding to the content of the command data 2 is loaded into the argument 2 and the work area reference bit If the value is “0”, the contents of the command data 2 are directly loaded into the argument 2. Even when EXT data is read from the command extension data address table, bit 7 of that data is “0”.
[0201]
Next, the CPU 56 calls a command transmission routine (step S412). Therefore, the EXT data is transmitted at the same timing as the transmission of the MODE data. Thereafter, the CPU 56 restores the address of the command transmission table (step S413), and updates the value of the read pointer pointing to the command transmission table (step S414). Since one command transmission table has a 3-byte configuration, specifically, the value of the read pointer is +3.
[0202]
As described above, the payout control command having the 2-byte structure is transmitted to the payout control board 37. Note that the command control processing shown in FIG. 33 is also used when transmitting other control commands (display control command, lamp control command, voice control command). When each electric component control means detects the falling of the INT signal, the control command fetching process is started. However, for any of the electric component control means, a new signal from the game control means is received before the fetching process is completed. Is not output to the signal line. That is, a reliable command receiving process is performed in each electric component control unit. In addition, each electric component control unit may start the process of capturing the control command at the rise of the INT signal. Further, the polarity of the INT signal may be reversed from that shown in FIG.
[0203]
Further, in this embodiment, a plurality of command transmission tables are used as a ring buffer, and in the command control process shown in FIG. 33, command output control is performed on the command transmission table pointed to by the read pointer, and command transmission is performed. In the process of setting data in the table, for example, the winning ball signal process shown in FIG. 25, the command setting process is performed on the command transmission table indicated by the write pointer. Therefore, even if a plurality of command transmission requests occur at the same time, the command output processing based on those requests is executed without any problem.
[0204]
Next, the operation of the payout control means will be described. FIG. 35 is a block diagram illustrating a configuration example around the payout control CPU 371. As shown in FIG. 35, a voltage drop signal from the first power supply monitoring circuit (first power supply monitoring means) is connected to the non-maskable interrupt terminal (XNMI terminal) of the payout control CPU 371 via the buffer circuit 960. Have been. The first power supply monitoring circuit is a circuit that monitors the voltage of any one of various DC power supplies used by the gaming machine and detects a drop in the power supply voltage. In this embodiment, the power supply voltage of VSL is monitored, and when the voltage value becomes equal to or less than a predetermined value, a low-level voltage drop signal is generated. VSL is the largest DC voltage used in gaming machines, and is +30 V in this example. Therefore, the payout control CPU 371 can confirm the occurrence of power interruption by the interrupt processing.
[0205]
The payout control CPU 371 used in this embodiment also has a built-in PIO and CTC, like the CPU 56 of the main board 31. However, in this embodiment, the built-in PIO is not used. In that case, for example, all the ports are set to the input mode, and all the ports are connected to the ground level.
[0206]
Similarly to the CPU 56 of the main board 31, the payout control CPU 371 can be set to any of the interrupt modes 0 to 2, and the CTC can operate in a timer mode or a counter mode as described below. is there. The CTC has four channels. Specifically, it has four timer counter registers CLK / TRG0 to 3 (counters for channels 0 to 3). The operation mode can be set for each channel.
[0207]
The value of each timer counter register CLK / TRG0-3 is counted down according to the clock signal input to the corresponding CLK / TRG terminal, and when the count value becomes 0, an interrupt can be generated. Therefore, each of the channels 0 to 3 of the CTC can be an interrupt generation unit. The priority of the channel 0 is the highest, and thereafter, the priority sequentially decreases. That is, when the count values of the plurality of timer counter registers CLK / TRG become 0 at the same time, the channel with the smaller number is given priority, and if those channels are set to generate an interrupt, the number will be changed. Interrupts from smaller channels are accepted first.
[0208]
In this embodiment, channel 3 of the built-in CTC is used in the timer mode, and channel 2 is used in the counter mode. Channel 3 is used as a timer interrupt source, and channel 2 is used for receiving a payout control command.
[0209]
Counter mode: When the rising or falling of the clock signal is input to the CLK / TRG terminal of the payout control CPU 371, the count value is decremented by one. If interrupt generation permission is set for the channel, an interrupt is generated when the count value becomes 0, and the counter is reloaded with the initial value. If the interrupt vector has been set, the interrupt vector is sent out on the internal data bus when the count value becomes zero.
[0210]
Timer mode: The count value is decremented by one based on a clock signal obtained by dividing the system clock (internal clock) by 1/16 or 1/256. If interrupt generation permission is set for the channel, an interrupt is generated when the count value becomes 0, and the counter is reloaded with the initial value. If the interrupt vector has been set, the interrupt vector is sent out on the internal data bus when the count value becomes zero.
[0211]
An INT signal (payout control signal INT) from the main board 31 is connected to the CLK / TRG2 terminal of the payout control CPU 371. When the clock signal is input to the CLK / TRG2 terminal, the value of the timer counter register CLK / TRG2 (CTC channel 2 counter) incorporated in the payout control CPU 371 is counted down. When the register value becomes 0, an interrupt occurs. Therefore, as shown in FIG. 32, if the initial value of the timer counter register CLK / TRG2 is set to “1”, the register value becomes 0 in response to the input of the INT signal and an interrupt occurs. Become.
[0212]
The payout control board 37 is also provided with a system reset circuit 975, but in this embodiment, the system reset circuit 975 also serves as a second power supply monitoring circuit (second power supply monitoring means). That is, the reset IC 976 sets the output to a low level for a predetermined time determined by the capacity of an external capacitor when the power is turned on, and sets the output to a high level after a predetermined time has elapsed. Further, the reset IC 976 monitors the power supply voltage of VSL, which is the power supply voltage equal to the power supply voltage monitored by the first power supply monitoring circuit mounted on the power supply board 910, and the voltage value falls below a predetermined value (for example, + 9V). Then, a low level voltage drop signal is generated. Therefore, when the power is turned off, the voltage drop signal from the reset IC 976 becomes low level, and the payout control CPU 371 is reset. As shown in FIG. 35, the voltage drop signal is the same output signal as the reset signal.
[0213]
The predetermined value for the reset IC 976 to detect the power-off is lower than the normal voltage, but is a voltage at which the payout control CPU 371 can operate for a while. Further, since the reset IC 976 is configured to monitor a voltage higher than the voltage (+5 V in this example) required by the payout control CPU 371, the monitoring range of the voltage required by the payout control CPU 371 is determined. Can be expanded. Therefore, more precise monitoring can be performed.
[0214]
While power is not supplied from the + 5V power supply, at least a part of the built-in RAM of the payout control CPU 371 is backed up by connecting a backup power supply supplied from a power supply board to a backup terminal, and power to the gaming machine is cut off. Even if the contents are preserved. Then, when the + 5V power supply is restored, a reset signal is issued from the system reset circuit 975, so that the payout control CPU 371 returns to the normal operation state. At that time, since necessary data has been backed up, it is possible to return to the gaming state at the time of the occurrence of the power failure when recovery from a power failure or the like.
[0215]
As described above, in this embodiment, the first power supply monitoring circuit mounted on the power supply board 910 monitors the highest voltage of the power supply VSL among the DC voltages used in the game machine, and When the voltage of the power supply falls below a predetermined value, a voltage drop signal (power-off detection signal) is generated. At the timing when the power-off detection signal is output, the IC drive voltage is still at a voltage value that can sufficiently drive various circuit elements. Therefore, the operation time for the payout control CPU 371 of the payout control board 37 operating at the IC drive voltage to perform the predetermined power supply stop processing is secured.
[0216]
Note that, also in this case, the first power supply monitoring circuit monitors the highest voltage of the power supply VSL among the DC voltages used in the gaming machine. The monitoring target voltage does not need to be the highest voltage of the power supply VSL as long as the operation time for the electric component control means operating at the voltage to perform the predetermined power supply stop processing is secured. That is, if at least the voltage higher than the IC drive voltage is monitored, the power-off detection signal can be generated at a timing such that the operation time for the electric component control means to perform the predetermined power supply stop processing is secured. it can.
[0217]
In this case, as described above, since the voltage to be monitored is +12 V supplied to various switches of the gaming machine such as the prize ball count switch 301A, it can be expected to prevent erroneous switch-on detection when the power is turned off. Preferably, it is a voltage. That is, it is preferable that a voltage drop can be detected before the + 12V power supply voltage which is a voltage (switch voltage) supplied to the switch starts to drop. Therefore, it is preferable to monitor at least a voltage higher than the switch voltage.
[0218]
In the configuration shown in FIG. 35, when the power is turned on, the system reset circuit 975 outputs a low level for a period determined by the capacity of the capacitor, and then outputs a high level. That is, the reset release timing is only once. However, as in the case of the main substrate 31 shown in FIG. 11, a circuit configuration in which a plurality of reset release timings occur may be used.
[0219]
FIG. 36 is a block diagram showing a configuration example of the information output circuit 377 mounted on the payout control board 37. In this example, the information output circuit 377 includes an amplifying circuit 377a for amplifying the ball lending number signal output from the payout control CPU 371 via the I / O port 372g, a photocoupler 377b that is turned on by the output of the amplifying circuit 377a, and It includes a diode bridge 377c for cutting off or short-circuiting between output terminals according to the output of the photocoupler 377b. The output of the diode bridge 377c is connected to the terminal board 160. Note that the photocoupler 377b includes a light emitting diode and a phototransistor. In the photocoupler 377b, a resistor is connected to one output of the phototransistor.
[0220]
FIG. 37 is a timing chart showing an example of the output timing of the ball lending number signal externally output from the payout control board 37 via the terminal board 160. In this example, as shown in FIG. 37, every time a ball lending operation for 100 yen (for example, 25 game balls) is performed, the ball lending number signal is set to the low level for 0.1 second.
[0221]
FIG. 38 is a flowchart showing the main processing of the payout control CPU 371. In the main process, the payout control CPU 371 first performs necessary initial settings (step S701).
[0222]
FIG. 39 is a flowchart showing the initial setting process in step S701. In the initial setting process, the payout control CPU 371 first sets interrupt prohibition (step S701a). Next, the payout control CPU 371 sets the interrupt mode to the interrupt mode 2 (step S701b), and sets a stack pointer designation address in the stack pointer (step S701c). Further, the payout control CPU 371 initializes the built-in device register (step S701d), initializes the CTC and PIO (step S701e), and then sets the RAM in an accessible state (step S701f).
[0223]
In this embodiment, one channel of the built-in CTC is used in the timer mode. Therefore, in the setting processing of the internal device register in step S701d and the processing in step S701e, the register setting for setting the channel to be used to the timer mode, the register setting for permitting the occurrence of the interrupt, and the interrupt vector are set. Is set. Then, the interruption by the channel is used as the timer interruption described above. If it is desired to generate a timer interrupt every 2 ms, for example, a value corresponding to 2 ms is set in a predetermined register (time constant register) as an initial value.
[0224]
The interrupt vector set for the channel set in the timer mode (channel 3 in this embodiment) corresponds to the start address of the timer interrupt processing. Specifically, the start address of the timer interrupt processing is specified by the value set in the I register and the interrupt vector. In the timer interrupt process, the timer interrupt flag is set, and when it is detected in the main process that the timer interrupt flag is set, the payout control process is executed. That is, in the timer interrupt process, a setting for executing the payout control process, which is an example of the electrical component control process, is performed.
[0225]
Another one of the built-in CTCs (channel 2 in this embodiment) is used as a channel for generating an interrupt for receiving a payout control command from the game control means, and the channel is set in a counter mode. Used in. Accordingly, in the setting processing of the internal device register in step S701d and the processing in step S701e, the register setting for setting the channel to be used to the counter mode, the register setting for permitting the occurrence of interrupt, and the interrupt vector are set. Is set.
[0226]
The interrupt vector set for the channel (channel 2) set to the counter mode corresponds to the start address of the command reception interrupt process described later. Specifically, the start address of the command reception interrupt processing is specified by the value set in the I register and the interrupt vector.
[0227]
In this embodiment, the interrupt mode 2 is also set in the payout control CPU 371. Therefore, it is possible to use the interrupt processing based on the count-up of the built-in CTC. Further, it is possible to set an interrupt processing start address according to the interrupt vector transmitted by the CTC.
[0228]
The interrupt based on the count up of the channel 2 (CH2) of the CTC is an interrupt that occurs when the value of the timer counter register CLK / TRG2 becomes “0”. Therefore, for example, in step S701e, the initial value “1” is set in the timer counter register CLK / TRG2 as the specific register. The interrupt based on the count-up of the channel 3 (CH3) of the CTC is an interrupt generated when the internal clock (system clock) of the CPU is counted down and the register value becomes "0". Used as an interrupt. Specifically, the register value of CH3 is subtracted in 1/256 cycle of the system clock. In step S701e, a value corresponding to 2 ms is set in the register of CH3 as an initial value. In this embodiment, the interrupt address for CH2 is 0074H, and the interrupt address for CH3 is 0076H.
[0229]
As described above, an interrupt based on the count-up of CH2 of the CTC has a higher priority than an interrupt based on the count-up of CH3. Therefore, when the count-up occurs at the same time, an interrupt based on the count-up of CH2, that is, an interrupt that triggers execution of a command reception interrupt process described later has priority.
[0230]
Then, the payout control CPU 371 checks whether backup data exists in the backup RAM area for payout control (step S702). That is, for example, similarly to the processing of the CPU 56 of the main board 31, it is confirmed whether or not the backup data exists by determining whether or not the backup flag set when the power is turned off is set. If the backup flag is set, it is determined that there is backup data. If it is determined that there is no backup data, it means that there were no unpaid game balls when the power was last turned off, and there is no need to return the internal state to the state when the power was turned off. Accordingly, the payout control CPU 371 executes an initialization process that is executed when the power is turned on, not when the power is restored (steps S702 and S703).
[0231]
If the backup data exists in the backup RAM area, the payout control CPU 371 performs data check (parity check in this example) of the backup RAM area (step S704). If the power is restored after an unexpected power failure, the data in the backup RAM area should have been saved, and the check result becomes normal. If the check result is not normal, since the internal state cannot be returned to the state at the time of power-off, the initialization processing executed at the time of power-on that is not at the time of power failure recovery is executed (steps S705 and S703).
[0232]
If the check result is normal, the payout control CPU 371 performs a payout state restoring process for returning the internal state to the power-off state (step S706). Then, the process returns to the address indicated by the PC (program counter) stored in the backup RAM area (step S707).
[0233]
After the execution of the normal initialization process (step S703), the main process executed by the payout control CPU 371 shifts to a loop process in which the monitoring of the timer interrupt flag is checked (step S708).
[0234]
In this embodiment, after the presence or absence of backup data is confirmed in step S702, if backup data exists, the backup area is checked in step S704. Conversely, the backup area check result is After it is confirmed that the data is normal, confirmation of the presence or absence of backup data may be performed. Further, it may be configured to determine whether or not to execute the power failure recovery process by confirming whether or not there is backup data or checking the backup area.
[0235]
Also, for example, at the time of a parity check (step S704) when determining whether or not to execute the power failure recovery processing, that is, when determining whether or not to restore the gaming state, the payout in the stored RAM data is performed. If it is confirmed from the game ball number data or the like that the gaming machine is in the payout standby state (not in the middle of payout), the initialization processing may be executed without performing the payout state restoration processing.
[0236]
In the normal initialization process, as shown in FIG. 40, a process of clearing the register and the RAM (step S901) is performed, and a predetermined initial value is set (step S902). Since the interrupt is prohibited in the initial setting process (step S701a), the interrupt is permitted before the initialization process is completed (step S903).
[0237]
In this embodiment, CH3 of CTC of the payout control CPU 371 is set to repeatedly generate a timer interrupt. Further, the repetition period is set to 2 ms. Then, as shown in FIG. 41, when a timer interrupt occurs, the payout control CPU 371 sets a timer interrupt flag (step S711). Although FIG. 41 also clearly indicates that the interruption is permitted (step S710), in the 2 ms timer interruption processing, the interruption is first set to the permitted state. That is, the interrupt is permitted during the 2 ms timer interrupt process.
[0238]
When detecting that the timer interrupt flag has been set in step S708, the payout control CPU 371 resets the timer interrupt flag (step S709) and executes a payout control process (step S710). According to the above control, in this embodiment, the payout control process is started every 2 ms. In this embodiment, only the flag is set in the timer interrupt processing, and the payout control processing is executed in the main processing. However, the payout control processing may be executed in the timer interrupt processing.
[0239]
When the power is turned on, the payout control CPU 371 can determine whether to perform the normal initial setting process or restore the payout state only by checking the data in the backup RAM area. That is, the payout process can be restarted for the unpaid game balls by a simple determination. Further, in this embodiment, as in the case of the game control on the main board 31, the storage of the stored content is ensured by the parity check code.
[0240]
FIG. 42 is an explanatory diagram showing an example of use of the RAM incorporated in the payout control CPU 371. In this example, a total number storage (for example, 2 bytes) and a rental ball number storage are formed in the backup RAM area. The total number storage stores the total number of winning ball payouts instructed from the main board 31 side. The loaned ball number storage stores the number of unpaid ball lendings.
[0241]
FIG. 43 is an explanatory diagram showing a configuration example of a reception buffer for storing a payout control command received from the main board 31. In this example, a ring buffer type receiving buffer capable of storing six payout control commands having a 2-byte configuration is used. Therefore, the reception buffer is constituted by a 12-byte area of the fixed command buffers 1 to 12. Then, a command reception number counter indicating in which area the received command is to be stored is used. The command reception number counter takes a value from 0 to 11.
[0242]
FIG. 44 is a flowchart showing the payout control command receiving process by the interrupt process. The INT signal for payout control from the main board 31 is input to the CLK / TRG2 terminal of the payout control CPU 371. Therefore, when the INT signal from the main board 31 is turned on, the value of the timer counter register CLK / TRG2, for which “1” has been set as the initial value, becomes 0, and the payout control CPU 371 is interrupted. Then, the receiving process of the payout control command shown in FIG. 44 is started. Note that the start address of the payout control command receiving process is an address determined by the interrupt vector output from the built-in CTC and the value set in the I register. When the value of the timer counter register CLK / TRG2 becomes 0, the value is automatically returned to the initial value ("1" in this example).
[0243]
In the receiving process of the payout control command, the payout control CPU 371 first saves each register on the stack (step S850). Note that when an interrupt occurs, the CPU 371 automatically sets the interrupt prohibition state. However, when a CPU that does not automatically enter the interrupt prohibition state is used, the interrupt prohibition is performed before execution of the processing in step S850. It is preferable to issue an instruction (DI instruction). Next, data is read from the input port 372a assigned to the input of the payout control command data (step S851). Then, it is confirmed whether or not this is the first byte of the payout control command having the 2-byte structure (step S852). Whether it is the first byte or not is confirmed by whether or not the first bit of the received command is “1”. The first bit should be “1” in the MODE byte (first byte) of the payout control command having a 2-byte configuration (see FIG. 21). Therefore, if the first bit is “1”, the payout control CPU 371 determines that a valid first byte has been received, and stores the received command in the confirmed command buffer indicated by the command reception number counter in the reception buffer area (step S853).
[0244]
If it is not the first byte of the payout control command, it is checked whether the first byte has already been received (step S854). Whether or not the data has already been received is confirmed based on whether or not valid data is set in the reception buffer (determination command buffer).
[0245]
If the first byte has already been received, it is checked whether the first bit of the received one byte is “0”. If the first bit is "0", it is determined that the valid second byte has been received, and the received command is stored in the fixed command buffer indicated by the command reception number counter +1 in the reception buffer area (step S855). The first bit should be “0” in the EXT byte (second byte) of the payout control command having the two-byte structure (see FIG. 21). If the confirmation result in step S854 indicates that the first byte has already been received, the process ends if the first bit of the data received as the second byte is not “0”.
[0246]
When the command data of the second byte is stored in step S855, 2 is added to the command reception number counter (step S856). Then, it is checked whether or not the command reception counter is 12 or more (step S857), and if it is 12, the command reception number counter is cleared (step S858). Thereafter, the saved register is restored (step S859), and interrupt permission is set (step S859).
[0247]
During the command reception interrupt processing, the interrupt is prohibited. As described above, since the interrupt is permitted during the 2 ms timer interrupt process, if a command reception interrupt occurs during the 2 ms timer interrupt, the command reception interrupt process is executed with priority. You. Also, even if a 2 ms timer interrupt occurs during the command reception interrupt process, the interrupt process is kept waiting. Thus, in this embodiment, the processing priority of the command reception processing from the main board 31 is high. Further, since no other interrupt processing is executed during the command reception processing, the maximum time required for the command reception processing is determined. It is difficult to estimate the longest time required for the command reception process if the configuration is such that another interrupt process can be executed during the command reception process. Since the longest time required for the command receiving process is determined, it is possible to accurately determine how long the period C (see FIG. 22) should be in the command sending process of the game control means.
[0248]
The payout control command has a 2-byte structure, and the first byte (MODE) and the second byte (EXT) can be immediately distinguished on the receiving side. That is, the receiving side can immediately detect whether the data as MODE or the data as EXT has been received by the first bit. Therefore, as described above, it can be easily determined whether or not appropriate data has been received.
[0249]
FIG. 45 is a flowchart showing the payout control processing in step S710. In the payout control processing, the payout control CPU 371 first determines whether or not the prize ball count switch 301A and the ball lending count switch 301B input to the input port 372b via the relay board 72 are turned on (switch processing: Step S751).
[0250]
Next, the payout control CPU 371 performs processing such as checking a signal input state from a sensor (for example, a motor position sensor for detecting the rotation speed of the ball lending motor 289B) to determine the state of the sensor (input determination). Processing: Step S752). The payout control CPU 371 further analyzes the received payout control command and executes processing according to the analysis result (command analysis execution processing: step S753).
[0251]
Next, the payout control CPU 371 sets the payout stop state if the payout stop instruction command is received from the main board 31, and cancels the payout stop state if the payout start instruction command is received (step S754). Further, a prepaid card unit control process is performed (step S755).
[0252]
Next, the payout control CPU 371 performs control of paying out the lent ball in response to the ball lending request (step S756). In addition, a ball lending motor that outputs a drive signal to the ball lending motor 289B in the dispensing mechanism portion of the lending ball dispensing device 97C via the output port 372c and the relay board 72 to rotate the ball lending motor 289B by a predetermined number of revolutions. A control process is performed (step S757).
[0253]
Further, the payout control CPU 371 performs a prize ball control process of paying out the prize balls of the number stored in the total number storage (step S758). Then, a drive signal is output to the prize ball motor 289A in the payout mechanism portion of the prize ball payout device 97A via the output port 372c and the relay board 72, and the prize corresponding to the number of revolutions set in the prize ball control processing in step S758. A prize ball motor control process for rotating the ball motor 289A is performed (step S759).
[0254]
In this embodiment, a stepping motor is used as the prize ball motor 289A and the ball lending motor 289B, and a 1-2-phase excitation method is used to control them. Therefore, specifically, in the ball lending motor control processing and the prize ball motor control processing, eight types of excitation pattern data are repeatedly output to the prize ball motor 289A and the ball lending motor 289B. In this embodiment, each excitation pattern data is output for 4 ms.
[0255]
Next, an error detection process is performed, and a predetermined display is performed on the error display LED 374 according to the result (error process: step S760). For example, the following ten types of errors are detected.
[0256]
Prize ball path error: when the prize ball payout operation is completed or when the prize ball motor 289A makes one rotation, the prize ball count switch 301A does not detect any passing of the game ball. “0” is displayed on the error display LED 374.
[0257]
Ball lending path error: when the ball lending payout operation is completed, or when the ball lending motor 289B makes one revolution, the ball lending count switch 301B does not detect any passage of the game ball. “1” is displayed on the error display LED 374.
[0258]
Prize ball count switch ball clogging error: when the prize ball count switch 301A detects ON for 0.5 seconds or more. “2” is displayed on the error display LED 374.
[0259]
Ball lending count switch ball clogging error: when the ball lending count switch 301B detects ON for 0.5 seconds or more. “3” is displayed on the error display LED 374.
[0260]
Prize ball motor ball biting error: when the prize ball motor 289A does not rotate normally. Specifically, when the prize ball motor position sensor has been on for a predetermined period or more, or has been off for a predetermined period or more. “4” is displayed on the error display LED 374. When a winning ball motor ball biting error occurs, the payout control CPU 371 outputs the reference excitation phase of 50 ms, and then outputs four kinds of excitation pattern data of the excitation pattern data of the 1-2 phase excitation. Reverse rotation and forward rotation of the prize ball motor 289A by outputting data every 8 ms are repeated.
[0261]
Prepaid card unit non-connection error: when VL signal off is detected. “5” is displayed on the error display LED 374.
[0262]
Prepaid card unit communication error: When it is detected that a signal is output from the prepaid card unit 50 at a timing other than the prescribed timing. “6” is displayed on the error display LED 374.
[0263]
Prize ball stop state: when a payout control command indicating stoppage of payout is received from the main board 31. “7” is displayed on the error display LED 374. When a payout control command indicating the start of payout is received from the main board 31, it returns from the payout stop state to the payable state after 2002 ms from that time.
[0264]
Ball lending stop state: When the ball out switches 187c and 187d detect the ball out. “8” is displayed on the error display LED 374.
[0265]
Ball lending motor ball biting error: When the ball lending motor 289B does not rotate normally. Specifically, when the ball lending motor position sensor has been on for a predetermined period or more, or has been off for a predetermined period or more. “9” is displayed on the error display LED 374. When a ball lending motor ball biting error occurs, the payout control CPU 371 outputs the reference excitation phase of 50 ms, and then outputs four types of excitation patterns of the excitation pattern data of the 1-2 phase excitation. The reverse and forward rotations of the ball lending motor 289B by outputting data every 8 ms are repeated.
[0266]
Further, the payout control CPU 371 performs a process of controlling an information signal output from an external connection terminal (not shown) (output process: step S761). As shown in FIG. 37, the information signal is a signal that is turned on for a predetermined time for each unit of payout of a lent ball (for example, 100 yen: 25 pieces), and subsequently outputs a signal that is turned off for a predetermined time.
[0267]
FIG. 46 is a flowchart illustrating an example of the command analysis execution process in step S753. In the command analysis execution processing, the payout control CPU 371 checks whether or not there is a received command in the confirmed command buffer area (step S753a). If there is a received command, whether or not the received payout control command is a payout number instruction command is confirmed (step S753b). When there are a plurality of received commands in the confirmed command buffer area, whether or not the received payout control command is the payout number instruction command is checked for the received command received first.
[0268]
If the received payout control command is the payout number instruction command, the number specified by the payout number instruction command is added to the total number storage (step S753c). That is, the payout control CPU 371 stores the number of prize balls included in the payout number instruction command sent from the CPU 56 of the main board 31 in the backup RAM area (total number storage).
[0269]
Note that the payout control CPU 371 performs a subtraction of the command reception number counter and a reception command shift process in the confirmed command buffer area, if necessary.
[0270]
FIG. 47 is a flowchart illustrating an example of the payout stop state setting process in step S754. In the payout stop state setting process, the payout control CPU 371 checks whether or not there is a received command in the confirmed command buffer area (step S754a). If there is a received command in the confirmed command buffer area, it is confirmed whether or not the received payout control command is a payout stop instruction command (step S754b). If it is a payout stop instruction command, the payout control CPU 371 sets the winning ball payout stop state (step S754c).
[0271]
If it is determined in step S754b that the received command is not a payout stop instruction command, it is checked whether the received payout control command is a payout start instruction command (step S754d). If the command is a payout start instruction command, the winning ball payout stop state is released (step S754e).
[0272]
FIG. 48 is a flowchart illustrating an example of the switch processing in step S751. In the switch processing, the payout control CPU 371 checks whether or not the winning ball count switch 301A indicates the ON state (step S751a). If it indicates the ON state, the payout control CPU 371 increments the winning ball count switch ON counter by one (step S751b). The winning ball count switch on counter is a counter for counting the number of times that the on state of the winning ball count switch 301A is detected.
[0273]
Then, the value of the winning ball count switch on counter is checked, and if the value is 250 (step S751c), the winning ball clogging flag is set (step S751d). That is, when the ON state of the prize ball count switch 301A continues for a long time, the prize ball clogging flag is set.
[0274]
When the value of the prize ball count switch on counter has become 2 (step S751e), it is determined that the prize ball count switch 301A has been reliably turned on, and the prize ball count switch on flag is set (step S751f).
[0275]
If it is confirmed in step S751a that the prize ball count switch 301A is not on, the payout control CPU 371 resets the prize ball count switch on flag (step S751h) and clears the prize ball count switch on counter (step S751h). Step S751i). Then, it is determined whether or not the ball lending count switch 301B indicates the ON state (step S751j). If it indicates the on state, the payout control CPU 371 increments the ball lending count switch on counter by one (step S751k). The ball lending count switch on counter is a counter for counting the number of times that the ball lending count switch 301B has been turned on.
[0276]
Then, the value of the ball lending count switch-on counter is checked, and if the value is 250 (step S751l), a lending ball clogging flag is set (step S751m). That is, when the ball lending count switch 301B has been on for a long period of time, the lending ball clogging flag is set.
[0277]
When the value of the ball lending count switch on counter becomes 2 (step S751n), it is determined that the ball lending count switch 301B has been turned on, and the ball lending count switch on flag is set (step S751o).
[0278]
If it is confirmed in step S751j that the ball lending count switch 301B is not on, the payout control CPU 371 resets the ball lending count switch on flag (step S751p) and clears the ball lending count switch on counter (step S751p). S751q).
[0279]
FIG. 49 is a flowchart showing an example of the prepaid card unit control processing in step S755. In the prepaid card unit control process, the payout control CPU 371 checks whether or not the VL signal input from the card unit control microcomputer has been detected (step S755a). If the VL signal has not been detected, the VL signal non-detection counter is incremented by 1 (step S755b). The payout control CPU 371 checks whether the value of the VL signal non-detection counter is 125 (step S755c). If the value of the VL signal non-detection counter is 125, the payout control CPU 371 stops outputting the firing control signal to the firing control board 91 and stops the drive motor 94 (step S755d). Further, a VL off detection flag is set (step S755e).
[0280]
According to the above processing, if the VL signal is detected to be off 125 times (2 ms × 125 = 250 ms) continuously, the state is set to the ball firing prohibited state.
[0281]
If the VL signal has been detected in step S755a, the payout control CPU 371 resets the VL off detection flag (step S755f) and clears the VL signal non-detection counter (step S755g). If the output of the firing control signal has been stopped (step S755h), the payout control CPU 371 starts outputting the firing control signal to the firing control board 91 to make the drive motor 94 operable (step S755i). .
[0282]
FIG. 50 is a flowchart illustrating an example of the ball lending control process in step S756. In this embodiment, the maximum value of the number of continuous payouts is set to one unit of the lending ball (for example, 25), but the maximum value of the number of continuous payouts may be another number.
[0283]
In the ball lending control process, the payout control CPU 371 checks whether or not the ball lending is stopped (step S501). If it is stopped, the state of the ball out switches 187c and 187d is confirmed (step S502). If both of them indicate that the ball is not out of ball, the out-of-ball flag is reset (step S503), and the process proceeds to step S515.
[0284]
If the ball lending is not stopped, the payout control CPU 371 checks whether or not the ball is being paid out (step S511), and if the ball is being paid out, the process proceeds to step S505. Whether or not the ball is being paid out is determined based on the state of a ball lending process flag described later. If the ball is not being paid out, the payout control CPU 371 checks whether or not a ball lending request has been issued from the card unit 50 (step S512). If there is a request, the ball lending process flag is turned on (step S513), and 25 (the number of ball lending units: 100 yen here) is set in the lending ball number storage in the backup RAM area (step S514). Then, the payout control CPU 371 turns on the EXS signal (step S515). Further, the ball lending motor 289B is turned on (step S516).
[0285]
Strictly, the ball lending motor 289B is turned on after the BRQ signal is turned off to indicate that the card unit 50 has recognized the reception. The ball lending process flag is set in the backup RAM area.
[0286]
In step S505, the state of the ball-out switches 187c and 187d is checked, and if at least one of them indicates a ball-out state, a ball-out flag indicating that ball lending is stopped is set (step S506), and the ball lending motor 289B is turned off. Turn off (step S507). If both of the ball out switches 187c and 187d indicate that there is a ball, the process proceeds to the ball lending process from step S518.
[0287]
In step S518, the payout control CPU 371 checks whether or not the rental ball passage waiting time is in progress (step S518). If it is not during the lending ball passage waiting time, a ball lending sensor (ball lending motor position sensor) is checked (step S519), and a ball lending count switch check process described later is performed (step S520).
[0288]
In the ball lending sensor check process in step S519, the ball lending motor position sensor is monitored by a timer for ON and OFF. If the ON state or the OFF state continues for a predetermined time or longer, the payout control CPU 371 sets the It is determined that a ball lending motor ball biting error has occurred.
[0289]
Next, the payout control CPU 371 checks whether the driving of the ball lending motor 289B should be terminated (whether one unit of the payout operation has been completed) (step S521). Specifically, it is confirmed whether or not the rotation corresponding to the predetermined number of payouts has been completed. The rotation corresponding to the predetermined number of payouts is monitored by the output of the ball lending motor position sensor. When the rotation corresponding to the predetermined number of payouts is completed, the payout control CPU 371 stops driving the ball lending motor 289B (step S522), and sets a lending ball passage waiting time (step S523).
[0290]
If it is during the waiting time for passing a ball in step S518, the payout control CPU 371 performs a ball lending count switch check process described later (step S524), and checks whether the waiting time for passing a lending ball has ended. (Step S525). The lending ball passage waiting time is the time from when the last payout ball is paid out by the ball lending motor 289B until it passes through the ball lending count switch 301B.
[0291]
When confirming the end of the waiting time for passing a lending ball, since all lending balls have been paid out, it is necessary to indicate to the card unit 50 that the next lending ball lending request can be accepted. The EXS signal is turned off (step S526). In addition, the ball lending processing flag is turned off (step S527). If the last payout ball has not passed through the ball lending count switch 301B before the lending ball passage waiting time has elapsed, a ball lending path error is determined.
[0292]
After turning off the EXS signal indicating reception of the ball lending request and then turning on the BRQ signal as the ball lending request signal again within a predetermined period, the ball lending process is continued without turning off the ball lending motor 289B. It may be. That is, instead of performing the ball lending process for each predetermined unit (100 yen unit in this example), the ball lending process may be performed continuously.
[0293]
The contents of the stored number of lent balls are stored by the backup power supply of the power supply board 910 for a predetermined period even if the power of the gaming machine is turned off. Therefore, when the power is restored during the predetermined period, the payout control CPU 371 can continue the ball lending process based on the content of the lending ball number storage.
[0294]
FIG. 51 is a flowchart showing the ball lending count switch check process executed in steps S520 and S524. The ball lending count switch check process is a process of monitoring the state of the ball lending count switch 301B and subtracting the lending ball number storage.
[0295]
In the ball lending count switch check process, the payout control CPU 371 first checks whether a ball lending count switch ON waiting flag is set (step S811). If the ball lending count switch ON waiting flag is set, the system waits until the ball lending count switch ON flag is turned on (step S812). The ball lending count switch-on flag is set in step S751o in the switch processing shown in FIG. If the timer T11 times out before the ball lending count switch on flag is turned on, the ball lending path error flag is set (steps S817 and S818). When the ball lending count switch 301B is turned on, the timer T11 is stopped (step S813), and the ball lending count switch ON waiting flag is reset (step S814). The timer T11 is a timer for checking whether the ball lending count switch 301B is turned on within a predetermined period.
[0296]
When the ball lending count switch 301B is turned on, a ball lending count switch OFF waiting flag indicating that the ball lending count switch 301B is in a state of waiting for being turned off is set to confirm that the ball lending count switch 301B is turned off (step S815). .
[0297]
Accordingly, if the ball lending count switch OFF waiting flag is on (step S821), the payout control CPU 371 waits for the ball lending count switch on flag to turn off (step S824). When the ball lending count switch ON flag is turned off, the ball lending count switch OFF waiting flag is reset (step S825). Then, it is determined that one game ball has been paid out, and the temporary counting counter is incremented by 1 (step S826). Also, a ball lending information output processing subroutine for outputting a ball lending number signal is started (step S827). Next, the stored number of lent balls is decremented by one (step S828).
[0298]
If it is confirmed in step S821 that the ball lending count switch OFF waiting flag is not turned on, the timer T11 is started (step S822), and the ball lending count switch ON waiting flag is set (step S823).
[0299]
FIG. 52 is a flowchart showing the operation of a ball lending information output processing subroutine (step S827) which is started when the payout (lending) of one game ball is completed. In the ball lending information output processing subroutine, the payout control CPU 371 first checks whether the Tf timer is operating (whether the ball lending number signal is on) (step S781). If it is operating, it is checked whether or not a timeout has occurred (step S782). When the timeout occurs, the ball lending number signal is turned off (= 0) (step S783).
[0300]
If the Tf timer is not operating, it is checked whether the value of the temporary counter is a multiple of N (25 in this example) (step S784). The value of the temporary counter is incremented by one when the payout of one game ball is completed. N is the number of game balls lent for 100 yen. If the value of the temporary counter is a multiple of N, the ball lending number signal is turned on (= 1) (step S785), and the Tf timer is started (step S786).
[0301]
By the above processing, when lending a ball for 100 yen is performed, the ball lending number signal is turned on for the time created by the Tf timer. The ball lending number signal from the payout control CPU 371 is inverted by the amplification circuit 377a in the information output circuit 377 shown in FIG. 36, and then input to the photocoupler 377b. The light emitting diode in the photocoupler 377b conducts and emits light when “1” is output from the payout control CPU 371. Then, the phototransistor in the photocoupler 377b is turned on. A resistor is connected to the phototransistor inside the photocoupler 377b. Therefore, a potential difference appears between the input terminals of the diode bridge 377c connected to the photocoupler 377b. Then, each diode in the diode bridge 377c becomes conductive, and the potential between the output terminals in the diode bridge 377c becomes equal. That is, the output terminals are connected (short-circuit state).
[0302]
When “0” is output from the payout control CPU 371, the output terminals of the diode bridge 377c are open. An external device such as a hall computer determines that the ball lending number signal is ON when the two terminals are in a connected state. Therefore, the ball lending number signal is output to the outside as shown in FIG.
[0303]
As described above, in this embodiment, in the gaming machine in which the rental ball payout device and the prize ball payout device of the gaming machine are independently configured, the payout control means mounted on the payout control board 37 uses the ball rental number signal. Is output to the external management device, and the game control means mounted on the main board 31 can output the prize ball number signal to the external management device. Therefore, the information processing output to the external management device can be rationalized.
[0304]
FIG. 53 and FIG. 54 are flowcharts showing an example of the winning ball control process in step S758. In this example, the maximum value of the number of continuous payouts is the same as one unit of the lending sphere (for example, 25), but the maximum value of the number of continuous payouts may be another number.
[0305]
In the prize ball control processing, the payout control CPU 371 checks whether or not the prize ball payout processing has already been started (step S532). If the prize ball is being paid out, the processing shifts to the processing during the prize ball shown in FIG. Whether or not a prize ball is being paid out is determined based on a state of a prize ball processing flag described later.
[0306]
If the prize balls are not being paid out, the payout control CPU 371 checks whether or not the number of prize balls (the number of unpaid prize balls) stored in the total number storage is not 0 (step S534). If the number of prize balls stored in the total number storage is not 0, the prize ball control CPU 371 turns on the prize ball processing flag (step S535), and determines whether the value of the total number storage is 25 or more. Confirm (step S536). The award ball processing flag is set in the backup RAM area.
[0307]
If the number of prize balls stored in the total number memory is 25 or more, the payout control CPU 371 instructs the prize ball motor 289A to rotate the prize ball motor 289A until paying out 25 game balls. The setting of a 25-piece payout operation is performed to output a drive signal (step S537). If the number of prize balls stored in the total number memory is not 25 or more, the payout control CPU 371 drives the prize ball motor 289A to rotate until all game balls stored in the total number memory are paid out. In order to output a signal, the setting of the total number payout operation is performed (step S538). Next, the prize ball motor 289A is turned on (step S538). Then, the flow shifts to a processing during payout of prize balls in a prize ball control processing shown in FIG.
[0308]
FIG. 54 is a flowchart illustrating an example of processing during a winning ball in the payout control processing by the payout control CPU 371. In the processing during the prize ball, the payout control CPU 371 checks whether or not the prize ball passage waiting time is in progress (step S541). If it is not during the prize ball passage waiting time, a prize ball sensor (prize ball motor position sensor) is checked (step S542), and a prize ball count switch check process described later is performed (step S543).
[0309]
In the check processing of the prize ball sensor in step S542, ON and OFF of the prize ball motor position sensor are monitored by a timer. If the ON state or the OFF state continues for a predetermined time or more, the payout control CPU 371 sets It is determined that a winning ball motor ball biting error has occurred.
[0310]
Then, the payout control CPU 371 checks whether the driving of the prize ball motor 289A is to be terminated (25 or a predetermined number of payout operations less than 25 are completed) (step S544). Specifically, it is confirmed whether or not the rotation corresponding to the predetermined number of payouts has been completed. The rotation corresponding to the predetermined number of payouts is monitored by the output of the winning ball motor position sensor. When the rotation corresponding to the predetermined number of payouts is completed, the payout control CPU 371 stops driving the prize ball motor 289A (step S545) and sets a prize ball passage waiting time (step S546). The prize ball passage waiting time is the time from when the last payout ball is paid out by the prize ball motor 289A to when it passes through the prize ball count switch 301A.
[0311]
If it is determined in step S541 that the award ball passage waiting time is in progress, the payout control CPU 371 performs an award ball count switch check process described later (step S547) and determines whether or not the award ball passage waiting time has ended. (Step S548). When the prize ball passing waiting time ends, all the prize balls set in step S537 or step S538 have been paid out. Therefore, the payout control CPU 371 turns off the award winning ball processing flag (step S549). If the last payout ball has not passed through the prize ball count switch 301A before the prize ball passage waiting time elapses, it is determined that a prize ball path error has occurred.
[0312]
In this embodiment, the loaned ball payout device and the prize ball payout device are provided independently, so that the prize ball payout process and the ball lending process can be executed at the same time. It may be given priority over ball processing. That is, during the ball lending process, the start of the prize ball process may be made to wait. Further, the award ball processing may be prioritized over the ball lending processing.
[0313]
FIG. 55 is a flowchart showing the prize ball count switch check processing executed in steps S543 and S547. The prize ball count switch check process is a process of monitoring the state of the prize ball count switch 301A and subtracting the total number storage.
[0314]
In the prize ball count switch check processing, the payout control CPU 371 first checks whether or not the prize ball count switch ON waiting flag is set (step S831). If the award ball count switch ON waiting flag is set, the CPU waits for the award ball count switch ON flag to be turned on (step S832). The prize ball count switch-on flag is set in step S751f in the switch processing shown in FIG. If the timer T12 times out before the winning ball count switch on flag is turned on, the winning ball path error flag is set (steps S837 and S838). When the award ball count switch 301A is turned on, the timer T12 is stopped (step S833), and the award ball count switch ON waiting flag is reset (step S834). The timer T12 is a timer for confirming whether or not the award ball count switch 301A is turned on within a predetermined period.
[0315]
When the prize ball count switch 301A is turned on, a prize ball count switch OFF wait flag is set to indicate that the prize ball count switch 301A is turned off, in order to confirm that the prize ball count switch 301A is turned off (step S835). .
[0316]
Therefore, if the prize ball count switch OFF waiting flag is on (step S841), the payout control CPU 371 waits for the prize ball count switch on flag to turn off (step S844). When the award ball count switch on flag is turned off, the award ball count switch OFF waiting flag is reset (step S845). Then, the total number storage is decremented by one (step S848).
[0317]
If it is confirmed in step S841 that the award ball count switch OFF wait flag is not turned on, the timer T12 is started (step S842), and the award ball count switch ON wait flag is set (step S843).
[0318]
The contents of the total number storage and the rental ball number storage are stored by the backup power supply of the power supply board 910 for a predetermined period even when the power of the gaming machine is turned off. Therefore, when the power is restored during the predetermined period, the payout control CPU 371 can continue the payout process based on the contents of the total number storage and the number of lent balls storage.
[0319]
Note that the payout control CPU 371 manages the number of prize balls instructed from the main board 31 as a total number in the prize ball number storage, but manages the number of prize balls for each (for example, 15, 10, or 6). Good. For example, a number counter corresponding to each award ball number is provided, and when a payout number designation command is received, the number counter corresponding to the number designated by the command is incremented by one. When the payout corresponding to the number counter is performed, the number counter is decremented by one (in this case, the subtraction processing is performed in the payout control processing). Also in this case, each number counter is formed in the backup RAM area. Therefore, even if the power of the gaming machine is turned off, if the power is restored during the predetermined period, the payout control CPU 371 can continue the prize ball payout process based on the content of each number counter.
[0320]
Next, error processing will be described. FIG. 56 is an explanatory diagram showing the relationship between the type of error and the display of the error display LED 374 (see FIG. 10). FIGS. 57 and 58 are flowcharts showing an example of the error processing in step S760.
[0321]
In this example, in the error processing, when the winning ball path error flag is turned on (step S601), the payout control CPU 371 displays “0” on the error display LED 374 (step S602). When the winning ball path error flag is turned off, the display “0” of the error display LED 374 is erased (step S603). The winning ball path error flag is set in step S838 shown in FIG. That is, it is set when the award ball count switch 301A is not turned on.
[0322]
When the ball lending route error flag is turned on (step S604), “1” is displayed on the error display LED 374 (step S605). Further, when the ball lending route error flag is turned off, the display “1” of the error display LED 374 is deleted (step S606). The ball lending path error flag is set in step S818 shown in FIG. That is, it is set when the ball lending count switch 301B is not turned on.
[0323]
When the prize ball clogging flag is turned on (step S607), “2” is displayed on the error display LED 374 (step S608). Further, when the award ball clogging flag is turned off, the display “2” of the error display LED 374 is deleted (step S609). The winning ball clogging flag is set in step S751d shown in FIG. That is, it is set when the award ball count switch 301A has not been turned off.
[0324]
When the lending ball jam flag is turned on (step S610), "3" is displayed on the error display LED 374 (step S611). Also, when the lending ball clogging flag is turned off, the display “3” of the error display LED 374 is deleted (step S612). The prize ball jam flag is set in step S751m shown in FIG. That is, it is set when the ball lending count switch 301B has not been turned off.
[0325]
If the award ball motor sensor output abnormality is detected (step S613), “4” is displayed on the error display LED 374 (step S614). When the output abnormality of the prize ball motor sensor is released, the display “4” of the error display LED 374 is deleted (step S615). The award ball motor sensor output abnormality is detected in step S542 shown in FIG. 54 when the award ball motor position sensor has been on for a predetermined period or more or has been off for a predetermined period or more.
[0326]
When the VL off detection flag is set (step S621), “5” is displayed on the error display LED 374 (step S622). When the VL off detection flag is reset, the display “5” of the error display LED 374 is erased (step S623). The VL off detection flag is set in step S755e shown in FIG.
[0327]
When communication with the card unit 50 is executed at an irregular timing (step S624), it is determined that a prepaid card unit communication error has occurred, and “6” is displayed on the error display LED 374 (step S625). Further, when such an error is eliminated, the display “6” of the error display LED 374 is deleted (step S626).
[0328]
When the winning ball is stopped (step S627), “7” is displayed on the error display LED 374 (step S628). When the winning ball stop state is released, the display “7” of the error display LED 374 is erased (step S629). The winning ball stop state is a state in which the winning ball payout stop state is set in step S754e in FIG. In other words, this is when the payout stop is notified from the game control means. However, since the game control means notifies the payout stop even when the lower plate is full, it is preferable to check the state of the ball out switches 187a and 187b in step S627.
[0329]
When the ball lending is stopped (step S630), “8” is displayed on the error display LED 374 (step S631). When the ball lending suspension state is released, the display “8” of the error display LED 374 is erased (step S632). The ball lending stop state is a state after the ball out flag is set in step S503 in FIG.
[0330]
Then, when a ball lending motor sensor output abnormality is detected (step S633), “9” is displayed on the error display LED 374 (step S634). Further, when the output abnormality of the ball lending motor sensor is released, the display “9” of the error display LED 374 is deleted (step S635). It should be noted that the ball lending motor sensor output abnormality is detected in step S519 shown in FIG. 50 when the ball lending motor position sensor has been on for more than a predetermined period or has been off for more than a predetermined period.
[0331]
As described above, in this embodiment, the error related to the prize ball and the error related to ball lending are identified and displayed on the error display LED 374. It can be notified whether the ball dispensing device is abnormal (for example, “ball clogging of rental ball dispensing device”, “prize ball dispensing stop due to abnormality (for example, out of ball) of winning ball dispensing device”). Therefore, even when an abnormality relating to the dispensing mechanism occurs, the abnormality location and the cause of the abnormality can be quickly and accurately recognized, and the generated abnormality can be promptly dealt with.
[0332]
In addition, as described above, the error related to the prize ball and the error related to the ball lending are displayed on the error display LED 374 so that they can be identified. Even if provided independently, it is possible to easily recognize the abnormality that has occurred in each.
[0333]
FIG. 59 is a flowchart illustrating an example of a power failure occurrence NMI process executed in response to an NMI based on a voltage change signal from a power supply monitoring circuit of a power supply board 910. In this embodiment, the NMI interrupt address is 0066H. In the power failure occurrence NMI process, the payout control CPU 371 first stores the contents of the interrupt prohibition flag in the parity flag (step S801). Next, interrupt prohibition is set (step S802). In the power failure occurrence NMI process, in this example, as in the process executed on the main board 31, a process of generating a checksum for ensuring the preservation of RAM contents is performed. If another interrupt process is performed during that process, the voltage may drop to a level at which the payout control CPU 371 cannot operate before the checksum generation process is completed. Are set so that other interrupts do not occur. Steps S804 to S810 in the power failure occurrence NMI process are an example of a power supply stop process.
[0334]
If a CPU having a specification that does not cause another interrupt during the interrupt process is used, the process of step S802 is unnecessary.
[0335]
Next, the payout control CPU 371 checks whether the backup flag has already been set (step S803). If the backup flag has already been set, no further processing is performed. If the backup flag is not set, the following power supply stop processing is executed. That is, the processing from step S804 to step S810 is executed.
[0336]
First, the contents of each register are stored in the backup RAM area (step S804). Thereafter, a backup flag is set (step S805). Then, an appropriate initial value is set in the backup check data area of the backup RAM area (step S806), exclusive OR is sequentially performed on the initial value and the data of the backup RAM area, and the result is inverted (step S807). The calculated value is set in the backup parity data area (step S808). In addition, the RAM access is prohibited (step S809). When the power supply voltage decreases, the levels of various signal lines may become unstable and the contents of the RAM may be corrupted. However, if the RAM access is prohibited in this manner, the data in the backup RAM may be corrupted. There is no.
[0337]
Furthermore, the payout control CPU 371 outputs a clear signal to all output ports (in this embodiment, output port portions of the output ports 372c, 372g, 372e, and the I / O port 372f). Therefore, all output ports are turned off by the clear signal (step S810).
[0338]
Next, the payout control CPU 371 enters a loop process. That is, no processing is performed. Therefore, before the operation is disabled from the outside by the system reset signal from the reset IC 976 shown in FIG. 35, the operation is internally stopped. Therefore, the operation of the payout control CPU 371 is reliably stopped when the power is turned off. As a result, by the above-described RAM access prohibition control and operation stop control, it is possible to reliably prevent the contents of the RAM from being destroyed due to an abnormal operation that may occur as the power supply voltage decreases. .
[0339]
In this embodiment, in the power failure occurrence NMI process, the program is set in a loop state at the last part, but a HALT instruction may be issued.
[0340]
As described above, the backup flag set after storing the contents of the register in the RAM area determines whether there is backup data to be restored at power-on (whether restoration from a power failure or not). Used when Further, the processing of steps S801 to S810 is completed before the payout control CPU 371 receives the system reset signal from the system reset circuit 975. In other words, the detection voltage of the voltage monitoring circuit is set so as to be completed before receiving the system reset signal from the system reset circuit 975.
[0341]
In this embodiment, the backup flag is confirmed at the time of starting the power supply stop processing. If the backup flag has already been set, the power supply stop processing is not executed. As described above, the backup flag is a flag indicating that the backup of necessary data has been completed and then the power supply stop processing has been completed. Therefore, for example, even if the NMI occurs again for some reason in the loop waiting for the reset, the power supply stop processing is not performed repeatedly.
[0342]
However, when a CPU having a specification that does not cause another interrupt during the interrupt processing is used, the determination in step S803 is unnecessary.
[0343]
Further, in this embodiment, the payout control CPU 371 detects the NMI interrupt signal from the power supply board (NMI interrupt signal from the power supply monitoring means) via the non-maskable external interrupt terminal (NMI terminal). , NMI interrupt signal may be introduced into a maskable interrupt interrupt terminal (INT terminal). In that case, the power failure occurrence NMI process shown in FIG. 59 is executed by the INT process. Further, an NMI interrupt signal may be detected through an input port. In that case, the input port is monitored in the main processing executed by the payout control CPU 371.
[0344]
FIG. 60 is an explanatory diagram for describing an example of a backup parity data creation method. However, in the example shown in FIG. 60, for simplicity, the data size of the backup data RAM area is 3 bytes. In the power failure generation process based on the power supply voltage drop, as shown in FIG. 60, initial data (00H in this example) is set in the backup check data area. Next, an exclusive OR of “00H” and “F0H” is obtained, and an exclusive OR of the result and “16H” is obtained. Further, an exclusive OR of the result and “DFH” is obtained. Then, a value (“C6H” in this example) obtained by inverting the result (“39H” in this example) is set in the backup parity data area.
[0345]
When the power is turned on again, the parity diagnosis is performed in the power failure recovery processing. If all the data in the backup area is stored as it is, the data as shown in FIG. 60 is set in the backup area when the power is turned on again.
[0346]
In the processing of step S704, the payout control CPU 371 performs the same processing as the processing executed in steps S806 and S807 in FIG. That is, initial data (00H in this example) is set in the backup check data area, an exclusive OR of “00H” and “F0H” is obtained, and an exclusive OR of “16H” and the result is obtained. . Further, an exclusive OR of the result and “DFH” is obtained. Then, a final calculation result obtained by inverting the result (“39H” in this example) is obtained. If all data in the backup area is stored as it is, the final calculation result matches “C6H”, that is, the data set in the backup check data area. If a bit error has occurred in the data in the backup RAM area, the final calculation result does not become “C6H”.
[0347]
Therefore, the payout control CPU 371 compares the final calculation result with the data set in the backup check data area, and if they match, determines that the parity diagnosis is normal. If they do not match, it is determined that the parity diagnosis is abnormal.
[0348]
As described above, in this embodiment, the payout control means is provided with the storage means (backup RAM in this example) which is backed up for a predetermined period even if the power of the gaming machine is turned off. The payout control CPU 371 (specifically, a program executed by the payout control CPU 371) performs payout state restoration processing (step S706) for restoring the payout state based on the backup data if the storage unit is in the backup state. Be composed.
[0349]
Hereinafter, the payout state restoration processing will be described.
FIG. 61 is a flowchart showing an example of the payout state restoration processing shown in step S706 of FIG. In this example, the payout control CPU 371 restores the value stored in the backup RAM to the register (step S861). Then, based on the data stored in the backup RAM, a process for recovering the payout state at the time of the power failure is performed. For example, a flag during processing of a prize ball is set.
[0350]
For example, if the number of unpaid prize balls and the number of unpaid lending balls or both of them are stored in the backup RAM area when the power is restored, the payout process is restarted based on the stored numbers.
[0351]
When the payout state is restored, in this embodiment, the payout control CPU 371 checks the value of the parity flag stored in the backup RAM in order to restore the interrupt permission / prohibition state at the time of the previous power-off. (Step S862). If the parity flag is clear, interrupt permission setting is performed (step S863). On the other hand, if the parity flag is on, the payout state restoring process is ended as it is (with the interrupt prohibition state set in step S701a).
[0352]
Here, the payout state recovery processing program is configured to return to the payout control main processing when the payout state recovery processing ends, but the stack area (pointed by the stack pointer stored in the power supply stop processing) It is also possible to return to the address stored in the backup RAM area (the address that was being executed when the NMI interrupt occurred when the power was turned off).
[0353]
The ball lending number signal and the prize ball number signal are transmitted to an external device such as a hall computer via the terminal board 160. In the above embodiment, the ball lending number signal is sent from the payout control board 37 to the terminal board 160. Is transmitted from the main board 31 to the terminal board 160. The wiring between the boards is generally connected to the board by a connector. However, since the destination of the wiring to the terminal board 160 is different, in particular, in the terminal board 160, the connection between the ball lending number signal and the prize ball number signal is interchanged. There is also a possibility.
[0354]
In order to prevent such a connection error, the number of balls to which the ball lending number signal and the prize ball number signal should be transmitted is reduced to one. In the following embodiment, the ball lending number signal and the prize ball number signal can be wired from the payout control board 37 to the terminal board 160.
[0355]
FIG. 62 is a block diagram illustrating a payout control board 37 that outputs a ball lending number signal and a prize ball number signal, and components related thereto. As shown in FIG. 62, in this embodiment, a prize ball number signal is output from the information output circuit 377A of the payout control board 37 to the terminal board 160.
[0356]
FIG. 63 is a block diagram illustrating a configuration example of the information output circuit 377A. As shown in the figure, the information output circuit 377A includes, in addition to an amplifier circuit 377a for outputting a ball lending number signal, a photocoupler 377b and a diode bridge 377c, an amplifier circuit 377d for outputting a prize ball number signal, A photocoupler 377e and a diode bridge 377f are provided.
[0357]
As described above, in this embodiment, in a gaming machine in which a rental ball payout device and a prize ball payout device of a gaming machine are configured independently, the payout control means mounted on the payout control board 37 has a ball rental number. A signal can be output to the external management device, and the game control means mounted on the main board 31 can output a prize ball number signal to the external management device. Therefore, the information processing output to the external management device can be rationalized.
[0358]
At that time, the signal output source is different, but the relay board (terminal board) used to output the signal to the outside of the gaming machine is the same. Therefore, even if the electric component control means for outputting information related to ball payout is different, the number of relay boards is one, so that the cost for information output is reduced. Also, even if the electric component control means (game control means) of the main board 31 is configured to externally output the prize ball number signal, the information output circuit 65 does not pass the signal in only one direction in the information output circuit 65. It is output via signal transmission means. Therefore, the input of the illegal signal to the main board 31 is prevented. Note that the payout control board 37 also outputs the ball lending number signal in the information output circuit 377 through an irreversible signal transmitting means (for example, a photocoupler) that passes the signal in only one direction. Therefore, input of an illegal signal to the payout control board 37 is prevented.
[0359]
In the above-described embodiment, the power supply monitoring circuit is provided on the power supply board 910, but the power supply monitoring circuit may be provided on an electric component control board such as the main board 31 or the payout control board 37. When the electric component control board on which the power supply circuit is mounted is configured, the power supply monitoring circuit is not mounted on the power supply board.
[0360]
In the pachinko gaming machine 1 of each of the above-described embodiments, a predetermined game value can be given to a player when a stop symbol of a special symbol variably displayed on the variable display portion 9 is a combination of a predetermined symbol based on a winning start. Was a first-class pachinko gaming machine, but a second-class pachinko gaming machine in which a predetermined gaming value can be given to a player when there is a prize in a predetermined area of an electric accessory that is opened based on a winning start. And a third-type pachinko gaming machine in which a predetermined right is generated or continued when there is a prize in a predetermined electric auditory product which is opened when a stop symbol of a symbol variably displayed based on a start winning prize is a predetermined combination of symbols. Even so, the present invention can be applied.
[0361]
Further, the present invention is not limited to the pachinko gaming machine, but may be applied to a slot machine or the like in a case where an electric component performing some operation is provided.
[0362]
【The invention's effect】
As described above, according to the present invention, a gaming machine is a gaming machine in which a player can play a predetermined game, and a game medium is paid out based on establishment of a payout condition related to the game. A game medium payout mechanism, a game control means for paying out game media based on a loan request, a game control means for controlling the progress of the game, a prize game medium payout mechanism, and a rental game medium. A payout control unit that controls the payout mechanism and controls the payout of the game medium, wherein the game control unit is paid out from the prize game medium payout mechanism based on establishment of a payout condition in the progress of the game. It is possible to output prize grant information on the payout amount of game media, and the payout control means outputs lending information on the lending amount of game media to be paid out by the lending game medium payout mechanism based on the lending request signal. In a gaming machine in which a lending game medium payout mechanism and a prize game medium payout mechanism are configured, for example, value providing control means mounted on a payout control board 37 is provided with lending information. In addition to outputting the signal, for example, the game control means mounted on the main board 31 can output the prize information signal. Therefore, the lending information and the prize grant information can be acquired by the external device. Therefore, the information processing output to the external management device can be rationalized.
[0363]
If at least the game control means is configured to output the prize-giving information toward the relay board by the irreversible information transmission means capable of only outputting information, the effect of preventing the output unauthorized signal is reduced. There is an effect that a gaming machine that can be used is obtained.
[0364]
The game device further includes a prize game medium payout detection unit arranged to detect the game medium paid out from the prize game medium payout mechanism unit, and the game control unit detects the game medium according to the detection output of the prize game medium payout detection unit. When the number of payouts is to be monitored, there is an effect that the game control means can monitor that an appropriate payout is being made.
[0365]
If it is determined that the game control means outputs the prize awarding information every time the awarded amount of the game value reaches a predetermined value, the efficiency of the information output can be improved.
[0366]
If the rent information is output from the payout control means to the relay board by the irreversible information transmission means capable of only outputting information, the input of an unauthorized signal to the game medium rent portion is also effectively prevented. You.
[0367]
If the payout control means outputs the lending information every time the lending amount reaches a predetermined amount, the information output can be made more efficient.
[0368]
When the award providing information and the lending information are externally output by conduction between the terminals, and the information relating to the control of the gaming machine output from the game control means is externally output by the voltage level, an external The signal form can be summarized for each type of information so that the information receiving device can easily receive the information.
[0369]
When the prize awarding information from the game control means and the lending information from the payout control means are output to the outside through one relay means, the award providing information and the lending information can be externally outputted with a simple configuration. Can be output to
[Brief description of the drawings]
FIG. 1 is a front view of a pachinko gaming machine viewed from the front.
FIG. 2 is an explanatory diagram showing each substrate provided on the back surface of the pachinko gaming machine.
FIG. 3 is a rear view of the mechanical plate of the pachinko gaming machine as viewed from the rear.
FIG. 4 is a configuration diagram showing a configuration of a prize ball payout device and a ball passing path above the device.
FIG. 5 is an exploded perspective view of the winning ball payout device.
FIG. 6 is a configuration diagram showing a configuration of a rental ball dispensing device and a ball passing path above the rental ball dispensing device.
FIG. 7 is a configuration diagram showing another configuration example of a prize ball payout device and a rental ball payout device.
FIG. 8 is a configuration diagram showing still another configuration example of the prize ball payout device and the rental ball payout device.
FIG. 9 is a block diagram showing a circuit configuration of a game control board (main board).
FIG. 10 is a block diagram showing components related to a prize ball, such as components of a payout control board and a ball payout device.
FIG. 11 is a block diagram illustrating a configuration example around a CPU for power supply monitoring and power supply backup.
FIG. 12 is a block diagram illustrating a configuration example of a power supply board.
FIG. 13 is a block diagram illustrating a configuration of an information output circuit on a main board.
FIG. 14 is a timing chart showing an example of the output timing of each signal externally output from the main board via the information terminal board or the terminal board.
FIG. 15 is a flowchart illustrating an example of a main process executed by a CPU on a main board.
FIG. 16 is an explanatory diagram showing an example of a method of determining whether or not to execute a game state restoration process.
FIG. 17 is a flowchart illustrating an example of an initial setting process.
FIG. 18 is a flowchart illustrating an example of an initialization process.
FIG. 19 is a flowchart illustrating an example of a 2 ms timer interrupt process.
FIG. 20 is a flowchart illustrating an example of a game control process.
FIG. 21 is an explanatory diagram showing a configuration example of a payout control command.
FIG. 22 is a timing chart showing a relationship between a control signal and an INT signal.
FIG. 23 is an explanatory diagram showing an example of the content of a payout control command.
FIG. 24 is a flowchart showing a switch process.
FIG. 25 is a flowchart showing winning ball signal processing.
FIG. 26 is a flowchart showing winning ball signal processing.
FIG. 27 is a flowchart showing winning ball signal processing.
FIG. 28 is a flowchart showing an error display process.
FIG. 29 is a flowchart showing a prize ball number signal output process.
FIG. 30 is a flowchart showing a data output process.
FIG. 31 is a flowchart showing a data output process.
FIG. 32 is an explanatory diagram showing a configuration of a command transmission table.
FIG. 33 is a flowchart showing a command control process.
FIG. 34 is a flowchart showing a command transmission process.
FIG. 35 is a block diagram showing an example of a configuration around a payout control CPU for power supply monitoring and power supply backup.
FIG. 36 is a block diagram showing a configuration of an information output circuit in the payout control board.
FIG. 37 is a timing chart showing an example of the output timing of a ball lending number signal externally output from the payout control board via the terminal board.
FIG. 38 is a flowchart illustrating an example of main processing executed by a payout control CPU.
FIG. 39 is a flowchart illustrating an example of an initial setting process of a payout control CPU;
FIG. 40 is a flowchart illustrating an example of initialization processing of a payout control CPU.
FIG. 41 is a flowchart illustrating an example of timer interrupt processing of a payout control CPU;
FIG. 42 is an explanatory diagram showing one configuration example of a RAM in the payout control means.
FIG. 43 is an explanatory diagram illustrating a configuration example of a reception buffer;
FIG. 44 is a flowchart illustrating an example of a command receiving process of the payout control CPU.
FIG. 45 is a flowchart illustrating an example of a payout control process executed by a payout control CPU.
FIG. 46 is a flowchart illustrating an example of a command analysis execution process.
FIG. 47 is a flowchart illustrating an example of a payout stop state setting process.
FIG. 48 is a flowchart illustrating an example of a switch process.
FIG. 49 is a flowchart showing an example of a prepaid card unit control process.
FIG. 50 is a flowchart illustrating an example of a ball lending control process.
FIG. 51 is a flowchart illustrating an example of a ball lending count switch check process.
FIG. 52 is a flowchart showing a ball lending information output process.
FIG. 53 is a flowchart illustrating an example of a prize ball control process.
FIG. 54 is a flowchart illustrating an example of a prize ball control process.
FIG. 55 is a flowchart showing an example of award ball count switch check processing.
FIG. 56 is an explanatory diagram showing the relationship between the type of error and the display of an error display LED.
FIG. 57 is a flowchart illustrating an example of an error process.
FIG. 58 is a flowchart illustrating an example of an error process.
FIG. 59 is a flowchart illustrating an example of a power failure occurrence NMI process executed by a payout control CPU;
FIG. 60 is an explanatory diagram for describing an example of a backup parity data creation method.
FIG. 61 is a flowchart illustrating an example of a payout state restoration process executed by a payout control CPU.
FIG. 62 is a block diagram showing a payout control board having another configuration and components related thereto.
FIG. 63 is a block diagram showing another configuration example of the information output circuit.
[Explanation of symbols]
1 Pachinko machine
31 main board (including game control means)
37 Payment control board (including value assignment control means)
53 Basic Circuit
56 CPU
97 Ball payout mechanism (including prize ball payout device and ball rental payout device)
371 Dispensing control CPU
902 Power supply monitoring IC
910 power supply board

Claims (5)

遊技者が所定の遊技を行うことが可能な遊技機であって、
入賞に基づいて遊技球の払出しを行う賞球払出機構部と、
貸出要求に基づいて遊技球の払出しを行う貸出機構部と、
前記賞球払出機構部から払い出された遊技球を検出可能に配置された賞球払出検出手段と、
前記賞球払出機構部と前記貸出機構部とを制御して、遊技球の払出しに関わる制御を行う払出制御手段と、
入賞に応じた払出指令個数を示す制御コマンドを前記払出制御手段に出力する遊技制御手段とを備え、
前記遊技制御手段は、入賞に基づいて前記賞球払出機構部から払い出された遊技球数を示す賞付与情報を、情報を遊技機外部に出力するための端子に出力可能であり、
前記払出制御手段は、前記払出指令個数を示す制御コマンドで指示された個数をRAMの領域に記憶された未払出の賞球数に加算し、連続的な賞球払出数の最大値を限度として前記領域に格納された個数の賞球を払い出し、貸出要求信号に基づいて前記貸出機構部により払い出された遊技球数を示す貸出情報を、情報を遊技機外部に出力するための端子に出力することが可能であり、
前記遊技制御手段は、前記賞球払出検出手段の検出出力により遊技球が該賞球払出検出手段を通過したことを検出すると、前記連続的な賞球払出間に設けられるインターバル時間よりも起動時からタイムアウトするまでの時間が長いタイマを起動し、該タイマにより、前記連続的な賞球払出における最後の払出遊技球を監視する
ことを特徴とする遊技機。
A gaming machine in which a player can perform a predetermined game,
A prize ball payout mechanism for paying out game balls based on winnings,
A lending mechanism unit for paying out game balls based on a lending request,
A prize ball payout detecting means arranged to detect a game ball paid out from the prize ball payout mechanism,
A payout control unit that controls the prize ball payout mechanism and the lending mechanism to perform control related to payout of game balls,
Game control means for outputting to the payout control means a control command indicating the number of payout instructions according to the winning,
The game control means can output prize grant information indicating the number of game balls paid out from the prize ball payout mechanism based on a prize to a terminal for outputting information to the outside of the gaming machine,
The payout control means adds the number designated by the control command indicating the number of payout instructions to the number of unpaid prize balls stored in the area of the RAM, and limits the maximum value of the number of continuous prize ball payouts to a limit. The number of prize balls stored in the area is paid out, and lending information indicating the number of gaming balls paid out by the lending mechanism unit based on the lending request signal is output to a terminal for outputting information to the outside of the gaming machine. could der be is,
When the game control means detects that a game ball has passed through the prize ball payout detecting means based on the detection output of the prize ball payout detecting means, the game control means is activated at an interval longer than the interval time provided between the continuous prize ball payouts. A game machine characterized by activating a timer having a long time until a timeout occurs, and monitoring the last payout game ball in the continuous prize ball payout by the timer .
少なくとも遊技制御手段からは、一方向にのみ情報を伝達可能な情報伝達手段により賞付与情報が出力される
請求項1記載の遊技機。
The gaming machine according to claim 1, wherein the award providing information is output from at least the game control means by an information transmission means capable of transmitting information in only one direction.
遊技制御手段は、賞球払出機構部から払い出された遊技球数が所定値となる毎に賞付与情報を出力する
請求項1または請求項記載の遊技機。
Game control means, according to claim 1 or claim 2 gaming machine according prize balls paid out mechanism game balls number paid out from the outputs of the award issuance information every a predetermined value.
払出制御手段からは、一方向にのみ情報を伝達可能な情報伝達手段により貸出情報が出力される
請求項1から請求項3のうちのいずれかに記載の遊技機。
The gaming machine according to any one of claims 1 to 3 , wherein the payout control means outputs the lending information by an information transmission means capable of transmitting information only in one direction.
払出制御手段は、貸出機構部により払い出された遊技球数が所定の数量となる毎に貸出情報を出力する
請求項1から請求項4のうちのいずれかに記載の遊技機。
The gaming machine according to any one of claims 1 to 4 , wherein the payout control means outputs the loan information every time the number of game balls paid out by the lending mechanism reaches a predetermined number.
JP2000131884A 2000-04-28 2000-04-28 Gaming machine Expired - Fee Related JP3602409B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000131884A JP3602409B2 (en) 2000-04-28 2000-04-28 Gaming machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000131884A JP3602409B2 (en) 2000-04-28 2000-04-28 Gaming machine

Publications (2)

Publication Number Publication Date
JP2001310043A JP2001310043A (en) 2001-11-06
JP3602409B2 true JP3602409B2 (en) 2004-12-15

Family

ID=18640693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000131884A Expired - Fee Related JP3602409B2 (en) 2000-04-28 2000-04-28 Gaming machine

Country Status (1)

Country Link
JP (1) JP3602409B2 (en)

Also Published As

Publication number Publication date
JP2001310043A (en) 2001-11-06

Similar Documents

Publication Publication Date Title
JP3621627B2 (en) Game machine
JP3773747B2 (en) Game machine
JP2001252451A (en) Game machine
JP3602409B2 (en) Gaming machine
JP2003225434A (en) Game machine
JP3546163B2 (en) Gaming machine
JP2001347013A (en) Game machine
JP3621628B2 (en) Game machine
JP4137346B2 (en) Game machine
JP4056683B2 (en) Game machine
JP2002011203A (en) Game machine
JP3462829B2 (en) Gaming machine
JP2001314611A (en) Game machine
JP2001310040A (en) Game machine
JP2001314567A (en) Game machine
JP2001310022A (en) Game machine
JP2001314566A (en) Game machine
JP2002000904A (en) Game machine
JP2002065964A (en) Game machine
JP2002315925A (en) Game machine
JP3999247B2 (en) Game machine
JP2002018056A (en) Game machine
JP2003164579A (en) Game machine
JP3999244B2 (en) Game machine
JP4065888B2 (en) Game machine

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040414

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: 20040914

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040922

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: 20071001

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101001

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101001

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101001

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101001

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111001

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111001

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121001

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121001

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121001

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131001

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees