JP4370448B2 - Game machine - Google Patents
Game machine Download PDFInfo
- Publication number
- JP4370448B2 JP4370448B2 JP2001044781A JP2001044781A JP4370448B2 JP 4370448 B2 JP4370448 B2 JP 4370448B2 JP 2001044781 A JP2001044781 A JP 2001044781A JP 2001044781 A JP2001044781 A JP 2001044781A JP 4370448 B2 JP4370448 B2 JP 4370448B2
- Authority
- JP
- Japan
- Prior art keywords
- state
- control unit
- ball
- power
- command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Pinball Game Machines (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、電力供給が遮断された時の遊技機の状態を保存し、電力供給が回復した時にその保存した状態から遊技を再開可能とした遊技機に関し、詳しくは、遊技機の状態が正しく反映された再開処理を行うための技術に関する。
【0002】
【従来の技術】
例えば、パチンコ機のように高度に電装化された遊技機では、遊技機の所定部位に遊技機の状態を検出する検出装置が設けられ、この検出装置で検出される遊技機の状態に応じて制御装置が遊技制御を行う。このような遊技機では、通常、処理能力の問題等から、制御装置は検出装置から出力される検出信号の状態変化のみを検出するように構成されている。すなわち、制御装置は、検出信号の状態が変化しない場合には検出前の状態を維持するように制御を行い、検出信号の状態が変化した場合にその状態変化に応じた制御を行っている。
【0003】
【発明が解決しようとする課題】
ところで、近年、上述した遊技機においては、停電等による電力供給の遮断によって遊技者に不利益が生じないよう、遊技機に停電時の遊技を再開する機能を持たせることが望まれている。このため、電力供給の遮断時に遊技機の状態を保存し、電力供給の回復時にその保存した状態を用いて遊技を再開可能とする遊技機の開発が行われている。
かかる遊技機においては、電力供給が遮断された時に保存した状態を用いて電力供給が回復した後の遊技処理を開始する。このため、電力供給が遮断されている間に遊技機の状態が変化した場合には、電力供給が回復した時に利用する遊技機の状態(保存した遊技機の状態)が実際の遊技機の状態と相違することとなる。したがって、このような場合には、遊技機の動作(制御装置による制御)が実際の遊技機の状態からずれることとなる。また、電力供給が回復することで遊技機の処理が再開されると、検出装置による遊技機の状態の検出も再開されることとなるが、前述したように制御装置は検出装置から出力される検出信号の状態変化のみを検出可能となっている。このため、電力供給が遮断されている間に状態が変化してしまった場合には、遊技機の正しい状態を検出することはできない(電力供給回復後は検出信号の状態が変化してしまった後のため)。
【0004】
本発明は上述した実情に鑑みてなされたものであり、その目的は、電力供給が遮断されている間に遊技機の状態が変化した場合においても、電力供給回復時に遊技機の状態を正しく反映した処理を行うことができる遊技機を提供する。
【0005】
【課題を解決するための手段、作用及び効果】
上記課題を解決するために請求項1に記載の遊技機は、メイン制御部と、サブ制御部と、停電検出部と、状態検出部とを備える。状態検出部は、遊技機の状態を検出して検出信号をメイン制御部に出力し、停電検出部は、遊技機への電力供給の遮断を検出して停電信号をメイン制御部に出力し、メイン制御部は、遊技情報を記憶するRAMと、RAMに記憶された遊技情報に基づいて遊技処理を実行するCPUと、を備えている。前記CPUは、電源投入時に遊技機が初期化する初期化処理と、その初期化処理後に周期的に繰り返し実行するメイン処理と、停電信号の受信により停電処理を実行するようにプログラムされている。前記メイン処理では、前記状態検出部から出力される検出信号の状態の変化を検出して、その変化の状態に応じた所定のコマンドを作成してサブ制御部に送信する。前記停電処理では、前記停電検出部から出力される停電信号を受信したときにRAMの遊技情報を保存し、電力供給の回復時には、停電処理で保存したRAMの遊技情報に基づいて中断された処理を再開する。サブ制御部は、前記メイン制御部のCPUから送信されるコマンドに基づいて所定の処理を行う。
そして、前記状態検出部で検出される状態は、電力供給が遮断されている間に変化する可能性のある球切れ又は満タン状態であって、前記メイン制御部のCPUは、電力供給の回復後に実行する前記メイン処理では、状態検出部から出力される検出信号の状態が変化したか否かに関わらず、その検出信号の状態に応じてコマンドを作成してサブ制御部に送信する。
上記遊技機では、電力供給の回復時には、状態検出部から出力される検出信号の状態変化の有無に関わらず、確認手段によって強制的に検出信号の状態が確認され、確認された状態に応じたコマンドがサブ制御部に送信される。したがって、サブ制御部の処理は、電力供給の回復時に状態検出部から出力される検出信号の状態に応じた処理となる。このため、上記遊技機では、電力供給が遮断されている間に遊技機の状態が変化してしまった場合でも、遊技機の状態を正しく反映した処理が行われる。
【0006】
上述した遊技機においては、前記状態検出部より出力される検出信号の状態は検出された遊技機の状態に応じて2つの状態に変化し、前記メイン制御部のRAMに記憶される遊技情報には、状態検出部で検出された遊技機の状態を示す制御フラグが含まれており、その制御フラグは検出された遊技機の状態に応じて2つの状態に切替えられ、前記メイン処理では、前記状態検出部から出力される検出信号の状態の変化を検出して、その変化の状態に応じて制御フラグの状態を変更し、制御フラグの状態が変更された場合に制御フラグの状態に基づいて所定のコマンドを作成してサブ制御部に送信し、前記メイン制御部のCPUは、電力供給の回復後に実行する前記メイン処理では、前記制御フラグを検出信号に基づく状態と一致しないリセット状態に設定する第1ステップと、前記状態検出部から出力される検出信号の状態を確認する第2ステップと、を実行するようにプログラムされており、前記メイン制御部のCPUは、電力供給の回復後に実行する前記メイン処理では、前記制御フラグをリセット状態に設定することで、状態検出部から出力される検出信号の状態に応じて制御フラグの状態が変更されるようにし、その変更された制御フラグの状態に基づいてコマンドをサブ制御部に送信するものであってもよい(請求項2)。
【0008】
【発明の実施の形態】
上述した請求項に記載の発明は、下記に記載の形態で好適に実施することができる。
(形態1) 請求項1又は2に記載の遊技機において、前記遊技情報には、停電信号受信時においてサブ制御部に未送信となっている未送信コマンドが含まれており、前記メイン制御部には、さらに、電力供給の回復時において、その未送信コマンドをサブ制御部に送信する未送信コマンド送信手段が設けられており、その未送信コマンド送信手段によるコマンドの送信が、前記確認手段の確認結果に基づくコマンドの送信の前に行われる。
このような形態によれば、停電信号受信時(電力供給の遮断時)にサブ制御部に未送信となっているコマンドが保存され、この未送信コマンドが電力供給の回復時にサブ制御部に送信される。したがって、送信される予定のコマンドが送信されないことによる遊技者の不利益が防止される。
また、未送信コマンドを電力供給回復後に送信するように構成した場合は、送信される未送信コマンド(電力供給の遮断前に作成されたコマンド)によって実際の遊技機の状態とズレが生じる場合もある。しかしながら、上記遊技機では、確認手段による確認結果に基づくコマンド送信が未送信コマンドの送信後に行われるため、実際の遊技機の状態とサブ制御部の処理内容を一致させることができる。
【0009】
【実施例】
以下、本発明をパチンコ機における球貯留タンク(請求項にいう賞品遊技媒体貯留部に相当)内に設置された球切れスイッチ(請求項にいう状態検出部に相当)を用いた状態検出と、下皿(請求項にいう余剰遊技媒体貯留部に相当)内に設置された満タンスイッチ(請求項にいう状態検出部に相当)を用いた状態検出に適用した一実施例について図面を参照して説明する。まず、球貯留タンク13及び下皿を含んで構成されるパチンコ機10の払出機構について図1を参照して説明する。図1は、本実施例に係るパチンコ機の裏面側に配備される裏セット板11を示す背面図である。図1に示すように、裏セット板11には、その上方から球貯留タンク13、誘導レール14、払出装置30、払出用球誘導路35等が設けられており、これらによってパチンコ機10の払出機構が構成されている。
球貯留タンク13は、遊技ホール内に設けられた島設備から供給されるパチンコ球を一時的に貯留するタンクである。この球貯留タンク13は、上方が開口した箱体であり、島設備から供給されるパチンコ球は球貯留タンク13の上方開口部からタンク内に供給される。また、球貯留タンク13の底面には、誘導レール14の一端が接続されており、球貯留タンク13内に貯留するパチンコ球を誘導レール14内に送出すようになっている。さらに、球貯留タンク13の底面には、球切れスイッチ54(図示省略;ただし図2に図示)が配設されており、この球切れスイッチ54によって球貯留タンク13内にパチンコ球が貯留されているのか否か(貯留状態)の検出を行う。具体的には、球貯留タンク13内にパチンコ球が無い状態では球切れスイッチ54がONされ、球貯留タンク13にパチンコ球が貯留されている状態では球切れスイッチ54がOFFとなる。この球切れスイッチ54から出力される信号は、後述するメイン制御部100で受信される。
誘導レール14は、一端を球貯留タンク13の底面に接続され、他端を払出装置30に接続される。したがって、払出装置30でパチンコ球が払出されると、払出された数だけ球貯留タンク13内のパチンコ球が誘導レール14内に落入し、誘導レール14を通って払出装置30に供給される。なお、誘導レール14は、図示していないが内外に2つの球通路が並列に形成されている。
【0010】
払出装置30は、図1に示すように、誘導レール14に連通する上部球誘導路31aと、この上部球誘導路31aの下流側開口部近くに設けられた回転球受け体34と、この回転球受け体34の下方に配置される2つの下部球誘導路31bとを有している。これら上部球誘導路31a、回転球受け体34および下部球誘導路31bも、誘導レール14が2列に形成されていることに応じて、それぞれ内外に1対相互に隣接して設けられている。
上記回転球受け体34は、一つのパチンコ球を一時的に受け得る凹部(球受け部)34aがいくつも形成され(図では6ヶ所)、この球受け部34aに上部球誘導路31aを通行してきたパチンコ球が一球ずつ受け入れられる。この回転球受け体34は、モータ25(図示せず)により回転駆動される。このため、モータ25が回転することによって、球受け部34aに受け入れられたパチンコ球を一球ずつ規則的に下部球誘導路31bに落入させることができる。なお、既に述べたように回転球受け体34は2列(内外)に形成されているため、内外それぞれの回転球受け体34からパチンコ球が下部球誘導路31bに排出される。
この下部球誘導路31bの上流側部分は、賞球用球誘導路32aと貸し球用球誘導路32bとの二つに分かれている。そして、回転球受け体34の回転方向に応じて球受け部34aから排出・落下するパチンコ球が賞球用球誘導路32aに落入するか或いは貸し球用球誘導路32bに落入するかが決定される。
賞球用球誘導路32aには、当該誘導路を通行するパチンコ球を検出する賞球検出センサ27(典型的には近接スイッチ)が設けられている。この賞球検出センサ27は、内と外に2列に設けられた賞球用球誘導路32aのそれぞれに設けられている。同様に、貸し球用球誘導路32bにも、当該誘導路を通行するパチンコ球を検出する貸し球検出センサ28(典型的には近接スイッチ)が設けられている。この貸し球検出センサ28も、内と外に2列に設けられた貸し球用球誘導路32bのそれぞれに設けられている。なお、これら賞球検出センサ27、貸し球検出センサ28から出力される検出信号は、後述する賞球制御部200に向かって出力される。
【0011】
また、払出装置30には、上述した回転球受け体34に隣接してフォト検出器(フォトカプラ)より成る回転検出センサ29が備えられており、これによって回転球受け体34の回転を検出する。すなわち、回転球受け体34には回転球受け体34と一体となって回転する図示しない円盤状の位置検出板が付設されており、この位置検出板の周縁部には、上記複数の球受け部34aそれぞれに対応する複数のスリットが一定の間隔(角度)をあけて設けられている。また、上記回転検出センサ29は、位置検出板が回転する際において位置検出板のスリットの通過を検出し得る所定の位置に配設される。したがって、位置検出板のスリットの一つが回転検出センサ29の検出位置を通過する度に、回転検出センサ29がオンとなり、回転検出信号が後述する賞球制御部200に出力される。なお、かかるフォト検出器の機構自体は従来のパチンコ機(例えば特開平9?155035号公報参照)に装備されるものと同様であればよく、本発明を特徴付けるものでもないのでこれ以上の詳細な説明は省略する。
【0012】
上述した払出装置30の下部球誘導路31bの下流には払出用球誘導路35の上流側が接続され、この払出用球誘導路35の下流側には、払出装置30から払出されたパチンコ球の受皿である上皿(図示省略)及び下皿(図示省略)が設けられている。上皿は球発射装置(図示省略)に供給するパチンコ球を貯留する受皿であり、下皿は上皿に貯留されるパチンコ球が満タンとなったときに払出装置30から払出されるパチンコ球を受ける受皿である。この下皿には満タンスイッチ56(図2に図示)が設けられており、下皿に貯留されるパチンコ球の貯留状態を検出する。この満タンスイッチ56は、下皿に貯留されるパチンコ球が満タンとなるとONされ、下皿に貯留されるパチンコ球が満タンでないときにOFFされる。この満タンスイッチ56から出力される信号も、後述するメイン制御部100で受信される。
【0013】
上述したことから明らかなように、パチンコ機10の払出機構では、球貯留タンク13に貯留されるパチンコ球は、球貯留タンク13の底部から誘導レール14および上部球誘導路31aを通って回転球受け体34に至る。そして、モータ25が回転駆動されることによって回転球受け体34が回転し、その結果、パチンコ球は1球ずつ下部球誘導路31b(賞球用球誘導路32a又は貸し球用球誘導路32b)に送出(落入)される。すなわち、遊技者に賞球を払い出すときは回転球受け体34が反時計回りに回転することで、回転球受け体34から排出されたパチンコ球は賞球用球誘導路32aに落入する。一方、パチンコ球を貸し球として払い出すときは回転球受け体34が時計回りに回転することで、回転球受け体34から排出されたパチンコ球は貸し球用球誘導路32bに落入する。そして、これら賞球用球誘導路32a、貸し球用球誘導路32bに落入したパチンコ球は払出用球誘導路35に流れ、パチンコ機10の前面に設けられた上皿又は下皿に排出される。
【0014】
次に、上述のように構成される払出装置30を制御する制御系の構成について、図2、図3を参照して説明する。図2は図1に示すパチンコ機の制御部の構成を示すブロック図であり、図3は電源部120の構成を説明するための図面である。払出装置30を制御する制御系は、図2に示すように、パチンコ機10全体を制御するメイン制御部100と、メイン制御部100と電気的に接続された賞球制御部200により構成される。これらメイン制御部100及び賞球制御部200は電源部120と電気的に接続され、この電源部120からメイン制御部100及び賞球制御部200に電力が供給されるように構成されている。
電源部120は、外部電源から供給されるAC24V電源をパチンコ機10に装備された各電装品それぞれに応じた電圧の直流供給電源に整流・平滑化する電圧変圧部140と、停電その他の理由によって外部電源からの通電が遮断されたときに本パチンコ機10の各制御部(メイン制御部100、賞球制御部200等)に向けて停電信号を出力する停電検出部130とを備える。
電圧変圧部140は、図3に示すようにAC24V電源の波形を整流する整流回路142a、142bと、整流回路142a、142bにより整流された脈流波系を平滑化する平滑回路ダイオードD1、D2、D3、D4とコンデンサC1、C2、C3、C4で構成)と、平滑回路により平滑化された波形を定電圧化する定電圧回路IC1、IC2、IC3とで構成される。
この電圧変圧部140は、通常時には、定電圧回路IC1により生成される+5Vの信号がメイン制御部100及び賞球制御部200に対して供給する。また、停電等の電力供給の遮断時(以下、単に電源遮断時という)においては、コンデンサC1に通電中に備蓄した電力を、メイン制御部100及び賞球制御部200に対して供給し、これにより各制御部100、200は電源遮断時の処理を実行することが可能となる。
さらに、定電圧回路IC1から出力される+5Vの信号は、並列に分離されてダイオードD5及びコンデンサC5を介して情報保存用出力端子VBBに接続される。そして、このコンデンサC5に備蓄された電力は、停電等の電源遮断時においてメイン制御部100及び賞球制御部200のRAMに供給され、RAMに記憶された情報が保持される。
【0015】
メイン制御部100は、本パチンコ機10の各装置(電装品)の動作を統括する制御装置であり、賞球制御部200の他に、図柄表示器(遊技盤中央に配置)の図柄変動処理を行う表示制御部、スピーカから効果音やBGMを発生させるための処理を行う音制御部、遊技盤の内外に装着されたランプの点灯駆動処理を行うランプ制御部等が電気的に接続されている。これら各制御部の構成は、従来のパチンコ機におけるものと同様であり、ここではその説明を省略する。
メイン制御部100は、図2に示すように、CPU102と、このCPU102とバス114を介して接続されるROM104、RAM106、入力処理回路108、通信制御回路112等を有する。
CPU102は、ROM104に格納されている遊技制御プログラムを実行してパチンコ機10を制御する。この遊技制御プログラムには、後述する満タン・球切れチェック処理等を行うためのプログラムや、各種コマンドの作成・作成したコマンドの送信を行うための制御プログラム等が含まれる。RAM106には、各種データ〔例えば、遊技機の状態(満タン状態,球切れ状態,復電状態等)を示すフラグ〕や入出力信号が格納される。
入力処理回路108は、上述した球切れスイッチ54、満タンスイッチ56等の各種センサから出力された信号を受けて、メイン制御部100内で処理可能なデータ形式に変換する機能を有する。通信制御回路112は、CPUの出力ポートのコマンド等を賞球制御部200等の各種制御部に送信するための回路(汎用ロジックIC、PIO、トランジスタアレイ等で構成される)である。
【0016】
賞球制御部200は、上述したメイン制御部100から送信されるコマンドに基づいて払出装置30の動作を制御する。すなわち、賞球制御部200も、CPU、ROM、RAM等を備え、ROMに格納された制御プログラムに従い、メイン制御部100から送信されたコマンドを解析して払出装置30の動作を制御する。例えば、球切れ状態及び/又は満タン状態を表す賞球不可コマンドを受信すると、賞球制御部200はメイン制御部100から賞球可コマンドを受信するまでモータ25の駆動を停止する。また、所定数の賞球を払出すコマンドを受信した場合には、回転検出センサ29から出力される回転検出信号に基づいて回転球受け体34を所定の回転角だけ回転させる。この際、回転球受け体34から賞球用球誘導路32aに送出されたパチンコ球を賞球検出センサ27によって検出することで、賞球制御部200が実際に払出されたパチンコ球の数をカウントする。そして、払出されたパチンコ球の数が不足する場合には、払出されたパチンコ球が正しい数となるように、さらにモータ25を回転駆動するように構成されている。なお、賞球制御部200の構成及びその処理等は、従来公知のパチンコ機と同様であり、本発明を特に特徴付けるものではないため、これ以上の詳細な説明は省略する。
【0017】
次に、上記メイン制御部100によって実行される処理について図4乃至図6を参照して説明する。ここで、本実施例のメイン制御部100は、停電検出部130から出力される停電検出信号を受信すると、受信時に実行している遊技処理の内容を保存し、電力供給の回復(以下、電源復帰という)後にその保存した情報に基づいて電源遮断により中断された処理を再開する。そこで、以下の説明では、まず、メイン制御部100の通常時の遊技処理について説明し、次いで、停電検出信号受信時の処理(電源遮断時の処理)を説明し、最後に、電源復帰後の復帰処理について説明する。
なお、メイン制御部100では、通常時の遊技処理であるメイン処理(図4のステップS10〜ステップS18)に移行すると、このメイン処理とは別にCTCカウンタによる所定周期(本実施例では、4ms)毎の割り込み処理が開始される。そして、このCTCカウンタによる割り込み処理によって、入賞口に入賞したパチンコ球を検出する入賞検出処理や、その入賞検出処理により検出した入賞等に基づいて作成されコマンドバッファに格納されたコマンドを賞球制御部200に送信するためのコマンド送信処理等が行われる。これらCTCカウンタの割り込みによって実行される処理の具体的な内容は、従来公知のパチンコ機で行われる処理と同様であり、特に本発明を特徴付けるものではないので、ここではその詳細な説明を省略する。
【0018】
(1)電源投入時の処理
電源投入されると、電源部120からメイン制御部100に通電が開始され、メイン制御部100に印可される電圧が所定の電圧となると図4に示す処理を開始する。
図4に示すように、メイン制御部100では、まず初期化処理が行われ(S02)、ついでRAM消去スイッチがON(出力)されたかどうかを判断する(S04)。このRAM消去スイッチとは、電源遮断時において保存した情報を消去するために操作されるスイッチである。すなわち、電源遮断時に保存した情報を利用して遊技を再開する必要がないとき(例えば、営業終了により電源OFFした翌日の営業開始時等)に操作されるスイッチであり、パチンコ機10への電源投入時に操作され、メイン制御部100にRAM消去信号を出力する。したがって、ステップS04では、RAM消去スイッチを操作することで出力されたRAM消去信号を受信したかどうかを判断する。
RAM消去スイッチが操作されていた場合〔ステップS04でYESの場合〕にはステップS06に進み、RAM消去スイッチが操作されていない場合〔ステップS04でNOの場合〕には、次にRAM106に異常があるかないかを判断する(S06)。すなわち、RAM106に保存した情報が何らかの原因で破壊されている場合には、その情報を利用して処理を再開することができないので、まずRAM106の情報が利用できるか否かを判断する。具体的な方法としては、チェックサム値(RAM106の各レジスタの値を所定の手順で加算した加算値)が正常値と一致するか否かで判断する。
RAM106に異常があった場合〔ステップS06でYESの場合〕にはステップS08に進んでRAM106に記憶した情報をクリアし、RAM106に異常が無かった場合〔ステップS06でNOの場合〕には保存した情報に基づいて処理を再開する復電処理(詳しい内容は後述する)に移行する(S20)。これによりメイン制御部100は、以下に説明するメイン処理に移行する。
【0019】
メイン処理に移行すると、まず、球貯留タンク13が球切れ状態となっているか否か及び下皿が満タン状態となっているか否かの判断を行う(S10)。この満タン・球切れチェック処理について、図7に示すフローチャートに基づいて詳述する。
まず、満タン・球切れチェック処理では、今回の処理が電源復帰時(以下、復電時という)の処理か否か(電源復帰後に行われる最初の処理か否か)を判断する(S40)。具体的には、復電時賞球制御フラグの値により判定する。すなわち、本実施例においては、復電時か否かを示す復電時賞球制御フラグが設けられ、この復電時賞球制御フラグは通常の遊技中は‘0’となり、復電時には‘FFH’となるようにプログラムされている。したがって、ステップS40では、この復電時賞球制御フラグの値によって復電時の処理か否かを判定する。なお、この復電時賞球制御フラグの値は、復電時においてステップS40の判定が行われた直後にクリアされ(FFH→0)、次回の処理においてはステップS40の判定が必ずNOとなるようにプログラムされている。
復電時と判断された場合〔ステップS40でYESの場合〕には、満タン・球切れエラーフラグを、復電時賞球制御フラグの値と同じ‘FFH’に設定する(S42)。この満タン・球切れエラーフラグは、満タン状態及び/又は球切れ状態か否かを示すフラグであり、満タン状態及び/又は球切れ状態のときに‘1’となり、満タン状態でも球切れ状態でもないときに‘0’となる。したがって、復電時の最初の満タン・球切れチェック処理においては、ステップS42によって満タン・球切れエラーフラグは強制的にどちらでもない状態(リセットされた状態)となっている。
次に、満タンスイッチ56及び球切れスイッチ54から出力される検出信号の状態をRAM106の所定のアドレスに格納する(S44)。例えば、下皿が満タンとなっている場合には、満タンスイッチ56から出力される検出信号がONされているためRAM106の所定のアドレスに‘1’を格納する。逆に、下皿が満タンとなっていない場合には、満タンスイッチ56から出力される検出信号はONされていないためRAM106の所定のアドレスに‘0’を格納する。このような処理を、球切れスイッチ54についても行う。
上述のように満タンスイッチ56及び球切れスイッチ54から出力される検出信号の状態を格納すると、次に、その格納した検出信号の状態から入力レベルデータを作成する(S46)。すなわち、格納した値が全て‘0’であれば入力レベルデータは‘0’とされ、格納した値のうち一つでも‘1’があれば入力レベルデータは‘1’とされる。
【0020】
一方、復電時ではないと判断された場合、つまり通常遊技中の場合〔ステップS40でNOの場合〕には、まず満タンスイッチ56及び球切れスイッチ54から出力される検出信号の状態が変化したか否かを判断する(S66)。具体的には、前回周期における検出信号の状態と今回周期における検出信号の状態とが異なるか否か、すなわち‘0’→‘1’(又は‘1’→‘0’)となっているかで判断する。
そして、満タンスイッチ56及び球切れスイッチ54から出力される検出信号の状態が変化している場合〔ステップS66でYESの場合〕には、入力レベルデータを書き換え(S68)、変化がなかった場合〔ステップS66でNOの場合〕にはステップS48に進む。例えば、前回周期の入力レベルデータが‘0’である状態で変化があった場合には、入力レベルデータを‘0’→‘1’とし、変化が無かった場合には、入力レベルデータは書換えられずに同一の値で維持される。
【0021】
ステップS48に進むと、比較値を‘0’に設定する(S48)。そして、上述したステップS46又はステップS68で作成された入力レベルデータが、比較値‘0’と一致するか否かを判断する(S50)。入力レベルデータが比較値と一致しない場合、つまり入力レベルデータが‘0’でない場合〔ステップS50でNOの場合〕には比較値を‘1’に設定し(S52)、入力レベルデータが比較値と一致する場合、つまり入力レベルデータが‘0’である場合〔ステップS50でYESの場合〕には、そのままステップS54に進む。
【0022】
ステップS54に進むと、メイン制御部100は満タン・球切れエラーフラグが比較値と一致するか否かを判断する(S54)。すなわち、前回周期の遊技機の状態を示す満タン・球切れエラーフラグと、今回周期の処理で作成された入力レベルデータとが一致するか否かを判断する。そして、満タン・球切れエラーフラグが比較値と一致する場合〔ステップS54でYESの場合〕には、そのまま満タン・球切れチェック処理を終了し、満タン・球切れエラーフラグが比較値と一致しない場合〔ステップS54でNOの場合〕にはステップS56〜S64までの処理を行う。したがって、本実施例のパチンコ機10においては、前回周期の遊技機の状態と入力レベルデータ(今回周期の遊技機の状態)が一致する場合はステップS56〜S64の処理が行われず、前回周期の遊技機の状態と入力レベルデータが不一致のときに限りステップS56〜S64の処理が行われる。なお、本実施例においては、復電時において満タン・球切れエラーフラグに‘FFH’が設定されるため、ステップS54の判定は必ずNOとなり、ステップS56〜S64の処理が行われることとなる。
ステップS56に進むと、満タン・球切れエラーフラグを比較値に設定する(S56)。したがって、満タン・球切れエラーフラグの値が、入力レベルデータ(今回周期の遊技機の状態)に応じた値に設定されることとなる。
次に、賞球制御部200に送信するコマンドとして賞球可コマンドを作成する(S58)。そして、満タン・球切れエラーフラグが‘0’かどうかを判断する(S60)。満タン・球切れエラーフラグが‘0’でない場合〔ステップS60でNOの場合〕には、賞球制御部200に送信されるコマンドが賞球不可コマンドに上書きされ(S62)、満タン・球切れエラーフラグが‘0’の場合〔ステップS60でYESの場合〕には、そのままステップS64に進む。ステップS64では、ステップS58又はステップS62で作成したコマンド(賞球可コマンド又は賞球不可コマンド)をコマンドバッファに格納する処理が行われる(S64)。このコマンドバッファに格納されたコマンドは、前述したCTC割り込み処理により賞球制御部200に送信されることとなる。
以上の説明から明らかなように、復電時においては、必ずステップS56〜S64の処理が行われることで、賞球可コマンド又は賞球不可コマンドが作成され賞球制御部200に送信されることとなる。また、通常時においては、検出信号の状態が変化しない限り(前回周期と今回周期の状態が変化しない限り)、ステップS56〜S64の処理が行われず、賞球可コマンド又は賞球不可コマンドは賞球制御部200に送信されないこととなる。
【0023】
上述した満タン・球切れチェック処理が終了すると、図4に戻って出力データ作成処理を行う(S12)。この出力データ作成処理では、パチンコ機に装備された各種センサ(一般入賞センサ、特定入賞センサ、始動口センサ等)から出力された入賞検出信号に基づいて遊技盤前面に設けられた図示しない大入賞口等の電動役物を動作させるための出力データ(駆動データ)の作成を行う。この出力データは、前述したCTC割込み処理により各電装装置に出力される。
出力データ作成処理が終了すると、次いでコマンド作成処理を行う(S14)。コマンド作成処理では、パチンコ機に装備された各種センサ(一般入賞センサ、特定入賞センサ、始動口センサ等)から出力された検出信号に基づいて、賞球制御部200、図柄制御部、音制御部、ランプ制御部等のサブ制御部に送信するコマンドを作成する。例えば、賞球制御部200には賞球の払出を命じる賞球コマンドを作成し、図柄制御部に対しては特別図柄の変動を命じる図柄変動コマンドを作成し、音制御部には効果音の発生を命じる効果音コマンドを作成し、ランプ制御部にはランプ装飾を命じるランプ点灯コマンドを作成する。ステップS14で作成されたコマンドは、同じくCTC割込み処理により各制御部に送信される。
コマンド作成処理が終了すると、次いで外部情報作成処理を行う(S16)。この外部情報作成処理では、大当り回数や確率変動中、球切れ報知等を遊技者、ホール店員等に報知するために報知装置(図柄表示装置、ランプ、スピーカ、外部コンピュータ等)に出力する情報の作成を行う。この作成された情報も、CTC割込み処理によりメイン制御部100より出力される。
次ぎに、ステップS18では乱数更新処理を行う。この乱数更新処理では、初期値乱数の作成・更新やハズレ図柄の作成・更新を行う。このステップS18の処理が終わると、ステップS10の処理に戻ってステップS10からステップS18までの処理を繰り返す。
【0024】
(2)電源遮断時の処理
次に、電源遮断時の処理を図5に示すフローチャートに基づいて説明する。メイン制御部100における電源遮断時の処理(いわゆる、停電処理)は、停電検出部130から出力された停電信号を契機に開始される。すなわち、外部電源からパチンコ機10への電力供給が遮断されると、停電検出部130からメイン制御部100に向かって停電信号が出力される。停電検出部130から出力された停電信号は、メイン制御部100のNMI端子(ノンマスカラブルインタラプト端子)に入力し、メイン制御部100では停電処理が即座に開始される。
【0025】
この停電処理では、まず、停電信号受信時に実行している処理の場所を特定するための情報(プログラム番号)を、RAM106のスタック領域に格納する(S22)。次いで、現在のスタックポインタの値(すなわち、S22で格納された情報のアドレス)をRAM106の作業領域に記憶する(S24)。したがって、後述する復電処理においては、ステップS24で記憶したスタックポインタの値によってステップS22で格納した情報(プログラム番号)が読み出され、その読み出されたプログラム番号から処理が再開されることとなる。
このような処理が完了すると、メイン制御部100は、次いでチェックサム値を算出し(S26)、その算出したチェックサム値をRAM106の所定のアドレスに記憶する(S28)。最後にRAM106へのアクセスを禁止して停電処理を終了する(S30)。
なお、電源遮断後においては、電源部120に設けた情報保存用電源(コンデンサC5)からRAM106に電力が供給され、RAM106に記憶した情報が所定時間保持される。
【0026】
(3)復電時の処理
次に、上述した電源遮断時の処理によりRAM106等に保存した情報を用いて遮断された処理を再開する際のメイン制御部100の処理について、図4及び図6に示すフローチャートを参照して説明する。
メイン制御部100は、図4に示すように、電源供給が開始されるとまず初期化処理を行い(S02)、次ぎにRAM消去スイッチがONされているか否かを判断する(S04)。ここで、前述した‘(1)電源投入時の処理’の説明から明らかなように、本実施例に係るパチンコ機10において、‘(2)電源遮断時の処理‘によって保存した情報を用いて電源遮断時の状態から遊技を再開する場合には、RAM消去スイッチを操作することなくパチンコ機10への電源投入を行う。したがって、ステップS04の判定は必ずNOとなり、ステップS06に進み、RAM106に異常が発生しているか否かが判断される(S06)。そして、RAM106に異常が発生していない場合に、電源遮断時の状態から遊技を開始するための復電処理が開始される(S20)。この復電処理を、図6のフローチャートを参照して説明する。
図6に示すように、メイン制御部100は、まずスタックポインタを復帰させる(S32)。具体的には、電源遮断時の処理(図5に示すステップS24の処理)によりRAM106の所定の領域に記憶したスタックポインタを元の領域に復帰させる。そして、電源遮断時の処理(図5に示すステップS22の処理)により記憶した全てのレジスタの内容を復帰する(S34)。したがって、スタックポインタ、レジスタ及びコマンドバッファ等の状態が電源遮断時の状態に回復され、メイン制御部100は電源遮断時(停電信号受信時)からの処理を再開する。
【0027】
上述の説明から明らかなように、本実施例に係るパチンコ機10では、電源遮断前に作成されコマンドバッファに格納されたコマンドや遊技機の状態を示すフラグ等の情報は復電時まで保存されることとなる。したがって、満タン・玉切れエラーフラグの状態や、コマンドバッファに格納されている賞球可コマンド又は賞球不可コマンド(未送信のコマンド)は、電源遮断されている間も保存され、電源復帰後の処理に用いられる。すなわち、電源遮断時の状態が電源復帰後まで維持されることとなる。
ここで、パチンコ機10では、電源遮断時に球切れ状態となっていても、電源遮断されている間に島設備から貯留球タンク13にパチンコ球が補充されて球切れ状態が解消される場合があり、また、電源遮断時に満タン状態となっていても、電源遮断されている間に遊技者によって下皿のパチンコ球が抜かれて満タン状態が解消される場合もある。かかる場合、電源遮断時のパチンコ機10の状態(満タン・球切れエラー状態)と復電時のパチンコ機10の状態(正常な状態)が異なることとなる。
しかしながら、本実施例のパチンコ機10では、復電時において球切れスイッチ54と満タンスイッチ56の状態を強制的に確認して入力レベルデータを作成し、この入力レベルデータに基づいて賞球可コマンド又は賞球不可コマンドのいずれかを作成する。したがって、賞球制御部200には、必ず復電時の状態を正しく反映したコマンドが送信されることとなり、電源遮断時の状態と復電時の状態が相違することによる不具合を解消することができる。
【0028】
また、球切れスイッチ54、満タンスイッチ56の状態の強制的な確認を復電処理終了後の最初の満タン・球切れチェック処理で行うことで、コマンドバッファの未送信コマンド(賞球不可コマンド等も含まれる)を保存しつつ、復電時にパチンコ機10の状態を正確に反映した制御を行うことができる。すなわち、本実施例では、復電処理後の最初の満タン・球切れチェック処理において球切れスイッチ54と満タンスイッチ56の状態を確認することで、コマンドバッファの最後に復電時の正しい状態が反映されたコマンドが格納されるためである。
【0029】
上述した満タン・球切れチェック処理に関するパチンコ機10の動作の具体例を図8、図9を用いて説明する。
図8に示す例は、通常の遊技中(図4に示すメイン処理中)に球切れ状態が検出されてメイン制御部100が賞球不可コマンドを作成し、その作成したコマンドをコマンドバッファに格納した状態で停電が生じ、かつ、停電中に球切れ状態が解消された場合である。図8(a)は従来のパチンコ機の動作を示し、図8(b)は本実施例に係るパチンコ機10の動作を示している。
従来のパチンコ機でも、電源遮断時の処理が行われることで、メイン制御部100のコマンドバッファ内に格納されている賞球不可コマンドは、電源が遮断されている間保存される。そして、図8(a)に示すように、電源復帰後のCTC割り込み処理により賞球制御部に送信される。したがって、電源が遮断されている間に球切れ状態が解消された場合にも、電源復帰後にメイン制御部100から賞球不可コマンドが賞球制御部200に送信される。このため、賞球制御部200は、賞球可コマンドを受信するまで払出装置30の駆動を停止する。ここで、満タン・球切れチェック処理では、球切れスイッチ52から出力される検出信号の状態が変化した場合に限り入力レベルデータが書き換えられ、賞球可コマンド又は賞球不可コマンドが作成される。したがって、復電時には球切れスイッチ54の状態は変化した後なので、球切れ状態が解消されたことをメイン制御部100が認識することはなく、賞球可コマンドが作成されることはない。このため、賞球制御部200は払出装置30の駆動を停止し続けることになる。
一方、本実施例に係るパチンコ機10では、図8(b)に示すように、通電が開始されると復電処理(図4に示すS20)が行われ、その後、メイン処理(図4のS10〜S18)の中断された位置(プログラム番号)から処理が開始される。そして、メイン処理移行後の最初の満タン・球切れチェック処理において、球切れスイッチ54・満タンスイッチ56から出力される検出信号の状態が強制的に確認され入力レベルデータが作成される(図7のS44、S46)。また、満タン・球切れエラーフラグが強制的に‘FFH’に設定され(図7のS42)、入力レベルデータと満タン・球切れエラーフラグの値が不一致となるため、図7のS54の処理は必ずNOとなる。したがって、復電時の満タンスイッチ54・球切れスイッチ56の状態に応じたコマンド、すなわち、賞球可コマンドが作成されコマンドバッファに格納される(S58,S64)。したがって、その後の所定のタイミングで実行されるCTC割り込み処理により、まず停電前に作成した賞球不可コマンドが賞球制御部200に送信され、しかる後、賞球可コマンドが賞球制御部200に送信される。これにより、賞球制御部200は、復電時のパチンコ機10の正しい状態を反映した制御を行うこととなる。
【0030】
次に、図9に示す例について説明する。図9に示す例は、通常の遊技中に球切れ状態が検出され、メイン制御部100が賞球不可コマンドを作成し、そのコマンドを賞球制御部200に送信した後で停電が生じ、かつ、停電中に球切れ状態が解消された場合である。図9(a)は従来のパチンコ機の動作を示し、図9(b)は本実施例に係るパチンコ機10の動作を示している。
従来のパチンコ機でも、電源遮断時の処理が行われ、電源遮断時の遊技機の状態が復電時まで維持される。すなわち、電源が遮断されている間に球切れ状態が解消された場合であっても、満タン・球切れエラーフラグがONとなった状態で処理が再開される。また、球切れスイッチ56の状態は変化しないため、メイン制御部100は球切れ状態が解消されたことを認識することができない。したがって、賞球制御部200は払出装置30の駆動を停止し続けることになる。
一方、本実施例に係るパチンコ機では、通電が開始されると復電処理が行われ、その後メイン処理に移行する。メイン処理移行後、最初の満タン・球切れチェック処理では、図9(b)に示すように、球切れスイッチ54・満タンスイッチ56から出力される検出信号の状態が強制的に確認されてコマンド(すなわち、賞球可コマンド)が作成され、その作成されたコマンドがコマンドバッファに格納される。したがって、その後の所定のタイミングで実行されるCTC割り込み処理により、賞球可コマンドが賞球制御部200に送信される。これにより、賞球制御部200は、復電時のパチンコ機10の正確な状態を反映した制御を行うこととなる。
【0031】
以上、本発明の一実施例について詳細に説明したが、これは例示に過ぎず、本発明は当業者の知識に基づいて種々の変更、改良を施した形態で実施することができる。
例えば、上述した実施例では、球切れスイッチ・満タンスイッチの検出処理に本発明を適用した例であったが、本発明はこのような検出装置に限られず、電源が遮断されている間に状態変化する可能性のある状態に関して検出を行う検出装置であればどのようなものにも適用することが可能である。
また、復電時における球切れスイッチ・満タンスイッチの状態を検出する手順や、検出した状態に基づくコマンドの作成手順等は、本実施例に限られず種々の形態を採ることができる。例えば、本実施例では、復電時において満タン・球切れエラーフラグに‘FFH’を設定することで、復電時の賞球可コマンド(又は賞球不可コマンド)を作成するプログラムと、通常時の賞球可コマンド(又は賞球不可コマンド)を作成するプログラムを共通化した(具体的には、図7のS54〜S64までの処理)。しかしながら、本発明はこのような例に限られず、復電時のコマンド作成プログラムを図7のステップS46の後に設け、通常時のコマンド作成プログラムと別にしても良い。
また、上述した実施例では、電源遮断時と復電時の状態が一致する場合においても、賞球可コマンド(又は賞球不可コマンド)を賞球制御部に送信するようにしたが、このような例に限られず、電源遮断時と復電時が一致する場合には、コマンドを送信しないような形態とすることもできる。
さらに、上述した実施例はパチンコ機に本発明を適用した例であったが、本発明はパチンコ機のみに限られず、例えば、雀球遊技機、スロットマシーン等のその他の遊技機に適用することもできる。
【図面の簡単な説明】
【図1】 本実施例に係るパチンコ機の裏面側に配備される裏セット板を示す背面図。
【図2】 図1に示すパチンコ機の制御部の構成を示すブロック図。
【図3】 電源部120の構成を説明するための図面。
【図4】 メイン制御部における電源投入時の処理を示すフローチャート。
【図5】 メイン制御部における電源遮断時の処理を示すフローチャート。
【図6】 メイン制御部における復電時の処理を示すフローチャート。
【図7】 満タン・球切れチェック処理を示すフローチャート。
【図8】 本実施例に係るパチンコ機の動作の一例を示すタイムチャート。
【図9】 本実施例に係るパチンコ機の動作の他の一例を示すタイムチャート。
【符号の説明】
10・・パチンコ機
13・・球貯留タンク
14・・誘導レール
30・・払出装置
54・・球切れスイッチ
56・・満タンスイッチ
100・・メイン制御部
130・・停電検出部
200・・賞球制御部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gaming machine that saves the state of the gaming machine when the power supply is cut off and that can resume the game from the saved state when the power supply is restored. The present invention relates to a technique for performing a reflected restart process.
[0002]
[Prior art]
For example, in a highly-equipped gaming machine such as a pachinko machine, a detection device that detects the state of the gaming machine is provided at a predetermined part of the gaming machine, and according to the state of the gaming machine detected by this detection device The control device performs game control. In such a gaming machine, normally, the control device is configured to detect only a change in the state of the detection signal output from the detection device due to a problem in processing capability. That is, the control device performs control to maintain the state before detection when the state of the detection signal does not change, and performs control according to the state change when the state of the detection signal changes.
[0003]
[Problems to be solved by the invention]
Incidentally, in recent years, in the above-described gaming machine, it is desired that the gaming machine has a function of resuming a game at the time of a power failure so as not to cause a disadvantage to the player due to interruption of power supply due to a power failure or the like. For this reason, a gaming machine has been developed in which the state of the gaming machine is saved when the power supply is cut off, and the game can be resumed using the saved state when the power supply is restored.
In such a gaming machine, the gaming process after the power supply is restored is started using the state saved when the power supply is cut off. Therefore, if the state of the gaming machine changes while the power supply is cut off, the state of the gaming machine used when the power supply is restored (the state of the stored gaming machine) is the actual state of the gaming machine It will be different. Therefore, in such a case, the operation of the gaming machine (control by the control device) deviates from the actual state of the gaming machine. Further, when the processing of the gaming machine is resumed due to the restoration of the power supply, the detection of the state of the gaming machine by the detection device is also resumed, but as described above, the control device is output from the detection device. Only a change in the state of the detection signal can be detected. For this reason, if the state changes while the power supply is cut off, the correct state of the gaming machine cannot be detected (the state of the detection signal has changed after the power supply is restored). For later).
[0004]
The present invention has been made in view of the above circumstances, and its purpose is to correctly reflect the state of the gaming machine when the power supply is restored even when the state of the gaming machine changes while the power supply is cut off. A gaming machine capable of performing the above processing is provided.
[0005]
[Means, actions and effects for solving the problems]
In order to solve the above problem, a gaming machine according to claim 1 includes a main control unit, a sub-control unit, a power failure detection unit, and a state detection unit. The state detection unit detects the state of the gaming machine and outputs a detection signal to the main control unit, and the power failure detection unit detects interruption of power supply to the gaming machine and outputs a power failure signal to the main control unit, The main control unitA RAM that stores game information and a CPU that executes game processing based on the game information stored in the RAM are provided. The CPU is programmed to execute an initialization process that the gaming machine initializes when the power is turned on, a main process that is repeatedly executed periodically after the initialization process, and a power failure process by receiving a power failure signal. In the main process,The state of the detection signal output from the state detection unitDetecting changes and responding to the state of the changeCreate a predetermined command and send it to the sub-control unitTo do. In the power outage process,When a power failure signal output from the power failure detection unit is receivedRAMSave game informationAndWhen power supply is restoredOf RAM saved during power failure processingResume processing suspended based on game informationTo do.The sub control unit is the main control unit.CPUA predetermined process is performed based on the command transmitted from.
The state detected by the state detection unit may change while the power supply is cut off.Ball out or fullThe main control unitCPUThe recovery of power supplyIn the main processing to be executed later, a command is created according to the state of the detection signal regardless of whether or not the state of the detection signal output from the state detection unit has changed.Send to sub-control unitThe
In the above gaming machine, when the power supply is restored, the state of the detection signal is forcibly confirmed by the confirmation means regardless of whether or not the state of the detection signal output from the state detection unit is changed, and according to the confirmed state A command is transmitted to the sub-control unit. Therefore, the processing of the sub-control unit is processing according to the state of the detection signal output from the state detection unit when power supply is restored. Therefore, in the gaming machine, even when the state of the gaming machine changes while the power supply is cut off, processing that correctly reflects the state of the gaming machine is performed.
[0006]
In the gaming machine described above, it is output from the state detection unit.The state of the detection signal changes into two states according to the detected state of the gaming machine, and the game information stored in the RAM of the main control unit indicates the state of the gaming machine detected by the state detecting unit. A control flag is included, and the control flag is switched to two states according to the detected state of the gaming machine. In the main process, a change in the state of the detection signal output from the state detection unit is detected. Then, the state of the control flag is changed according to the state of the change, and when the state of the control flag is changed, a predetermined command is created based on the state of the control flag and transmitted to the sub-control unit, In the main process executed after the power supply is restored, the CPU of the main control unit outputs a first step for setting the control flag to a reset state that does not match the state based on the detection signal, and output from the state detection unit A second step of confirming a state of the detection signal to be executed, and the CPU of the main control unit sets the control flag to a reset state in the main process executed after the power supply is restored. By setting, the state of the control flag is changed according to the state of the detection signal output from the state detection unit, and the command is transmitted to the sub-control unit based on the changed state of the control flag May be(Claim 2).
[0008]
DETAILED DESCRIPTION OF THE INVENTION
The invention described in the above-mentioned claims can be suitably implemented in the forms described below.
(Mode 1) In the gaming machine according to claim 1 or 2, the game information includes an untransmitted command that has not been transmitted to the sub-control unit when a power failure signal is received, and the main control unit Is further provided with an untransmitted command transmitting means for transmitting the untransmitted command to the sub-control unit when the power supply is restored, and the transmission of the command by the untransmitted command transmitting means is performed by the confirmation means. Performed before sending a command based on the confirmation result.
According to such a configuration, a command that has not been transmitted to the sub-control unit is stored when a power failure signal is received (when power supply is cut off), and this untransmitted command is transmitted to the sub-control unit when power supply is restored. Is done. Therefore, the disadvantage of the player due to the fact that the command scheduled to be transmitted is not transmitted is prevented.
In addition, when configured to transmit an untransmitted command after power supply recovery, there may be a case where the actual state of the gaming machine is shifted due to the transmitted untransmitted command (command created before the power supply is cut off). is there. However, in the gaming machine, command transmission based on the confirmation result by the confirmation unit is performed after transmission of the unsent command, so that the actual gaming machine state and the processing content of the sub-control unit can be matched.
[0009]
【Example】
Hereinafter, the present invention is a state detection using a ball break switch (corresponding to the state detection unit in the claim) installed in the ball storage tank (corresponding to the prize game medium storage unit in the claim) in the pachinko machine, With reference to the drawings, one embodiment is applied to state detection using a full tank switch (corresponding to the state detection unit in the claim) installed in the lower plate (equivalent to the surplus game medium storage unit in the claim). I will explain. First, the payout mechanism of the
The
The
[0010]
As shown in FIG. 1, the
The
The upstream portion of the lower
A prize ball detection sensor 27 (typically a proximity switch) for detecting a pachinko ball passing through the guidance path is provided in the prize
[0011]
Further, the dispensing
[0012]
The upstream side of the payout ball guide
[0013]
As is clear from the above, in the payout mechanism of the
[0014]
Next, the configuration of a control system that controls the dispensing
The
As shown in FIG. 3, the
The
Further, the + 5V signal output from the constant voltage circuit IC1 is separated in parallel and connected to the information storage output terminal VBB via the diode D5 and the capacitor C5. Then, the power stored in the capacitor C5 is supplied to the RAM of the main control unit 100 and the prize
[0015]
The main control unit 100 is a control device that controls the operation of each device (electrical component) of the
As shown in FIG. 2, the main control unit 100 includes a
The
The
[0016]
The prize
[0017]
Next, processing executed by the main control unit 100 will be described with reference to FIGS. Here, when receiving the power failure detection signal output from the power
When the main control unit 100 shifts to a main process (step S10 to step S18 in FIG. 4) which is a normal game process, a predetermined cycle (4 ms in this embodiment) by a CTC counter is provided separately from the main process. Each interrupt process is started. Then, through the interruption process by the CTC counter, a prize detection process for detecting a pachinko ball that has won a prize opening, a command created based on a prize detected by the prize detection process, etc., and stored in the command buffer is controlled by a prize ball. A command transmission process for transmitting to the
[0018]
(1) Processing at power-on
When the power is turned on, energization is started from the
As shown in FIG. 4, the main control unit 100 first performs initialization processing (S02), and then determines whether or not the RAM erase switch is turned on (output) (S04). The RAM erase switch is a switch operated to erase stored information when the power is shut off. In other words, it is a switch that is operated when it is not necessary to resume the game using the information stored when the power is shut down (for example, when the business is turned off the next day after the power is turned off, etc.), and the power to the
If the RAM erase switch has been operated (YES in step S04), the process proceeds to step S06. If the RAM erase switch has not been operated (NO in step S04), then the
If there is an abnormality in the RAM 106 (YES in step S06), the process proceeds to step S08 to clear the information stored in the
[0019]
When the process proceeds to the main process, first, it is determined whether or not the
First, in the full / ball-out check process, it is determined whether or not the current process is a process when power is restored (hereinafter referred to as power recovery) (whether or not the first process is performed after power is restored) (S40). . Specifically, the determination is based on the value of the power ball award control flag. That is, in this embodiment, a power-reward prize ball control flag indicating whether or not power is restored is provided. This power-reward prize ball control flag is set to “0” during normal game, and “ It is programmed to be FFH ′. Therefore, in step S40, it is determined whether or not the process is for power recovery based on the value of the power ball award control flag. Note that the value of the prize ball control flag at the time of power recovery is cleared immediately after the determination at step S40 is performed at the time of power recovery (FFH → 0), and the determination at step S40 is always NO in the next processing. Is programmed to do so.
If it is determined that power is restored (YES in step S40), the full tank / out of ball error flag is set to 'FFH', which is the same as the value of the award ball control flag during power recovery (S42). The full tank / out-of-ball error flag is a flag indicating whether the tank is full and / or out of ball, and becomes “1” when the tank is full and / or out of ball. It is “0” when it is not in a cut state. Accordingly, in the first full / ball-out check process at the time of power recovery, the full tank / ball-out error flag is forcibly set to neither state (reset state) by step S42.
Next, the states of the detection signals output from the
When the state of the detection signal output from the
[0020]
On the other hand, when it is determined that it is not at the time of power recovery, that is, in the case of a normal game (NO in step S40), the state of the detection signal output from the
If the state of the detection signal output from the
[0021]
In step S48, the comparison value is set to '0' (S48). Then, it is determined whether or not the input level data created in step S46 or step S68 described above matches the comparison value “0” (S50). If the input level data does not match the comparison value, that is, if the input level data is not “0” (NO in step S50), the comparison value is set to “1” (S52), and the input level data is the comparison value. , That is, if the input level data is “0” (YES in step S50), the process proceeds to step S54 as it is.
[0022]
In step S54, the main control unit 100 determines whether or not the full / out of ball error flag matches the comparison value (S54). That is, it is determined whether or not the full tank / out of ball error flag indicating the state of the gaming machine of the previous cycle matches the input level data created by the processing of the current cycle. If the full tank / out of ball error flag matches the comparison value (YES in step S54), the full tank / out of ball check process is terminated, and the full tank / out of ball error flag is set to the comparison value. If they do not match (NO in step S54), the processing from step S56 to S64 is performed. Therefore, in the
In step S56, a full tank / out of ball error flag is set as a comparison value (S56). Therefore, the value of the full / out-of-ball error flag is set to a value corresponding to the input level data (the state of the gaming machine in the current cycle).
Next, a winning ball enable command is created as a command to be transmitted to the winning ball control unit 200 (S58). Then, it is determined whether or not the full tank / out of ball error flag is "0" (S60). If the full tank / out of ball error flag is not “0” (NO in step S60), the command sent to the award
As is clear from the above description, at the time of power recovery, the processing of steps S56 to S64 is always performed, so that a winning ball possible command or a winning ball impossible command is created and transmitted to the winning
[0023]
When the above-described full tank / out of ball check process is completed, the process returns to FIG. 4 and the output data creation process is performed (S12). In this output data creation process, a grand prize (not shown) provided on the front of the game board based on a winning detection signal output from various sensors (general winning sensor, specific winning sensor, starter sensor, etc.) equipped in the pachinko machine. Output data (driving data) for operating an electric accessory such as a mouth is created. This output data is output to each electrical equipment by the CTC interrupt processing described above.
When the output data creation process is completed, a command creation process is then performed (S14). In the command creation process, based on detection signals output from various sensors (general winning sensor, specific winning sensor, starting port sensor, etc.) equipped in the pachinko machine, the winning
When the command creation processing is completed, external information creation processing is then performed (S16). In this external information creation process, information on the information to be output to a notification device (symbol display device, lamp, speaker, external computer, etc.) in order to notify the player, hall clerk, etc. of a ball hit notification, etc. during a big hit count or probability change. Create. The created information is also output from the main control unit 100 by the CTC interrupt process.
Next, in step S18, random number update processing is performed. In this random number update process, initial value random numbers are created / updated and lost symbols are created / updated. When the process of step S18 ends, the process returns to step S10 and the processes from step S10 to step S18 are repeated.
[0024]
(2) Processing at power-off
Next, the processing at the time of power-off will be described based on the flowchart shown in FIG. The process (so-called power outage process) at the time of power shutoff in the main control unit 100 is started in response to the power outage signal output from the power
[0025]
In this power failure process, first, information (program number) for specifying the location of the process being executed when the power failure signal is received is stored in the stack area of the RAM 106 (S22). Next, the current stack pointer value (that is, the address of the information stored in S22) is stored in the work area of the RAM 106 (S24). Therefore, in the power recovery process described later, the information (program number) stored in step S22 is read based on the value of the stack pointer stored in step S24, and the process is restarted from the read program number. Become.
When such processing is completed, the main control unit 100 then calculates a checksum value (S26), and stores the calculated checksum value at a predetermined address in the RAM 106 (S28). Finally, the access to the
After the power is shut off, power is supplied to the
[0026]
(3) Processing at power recovery
Next, the processing of the main control unit 100 when resuming the processing that has been shut down using the information stored in the
As shown in FIG. 4, when the power supply is started, the main control unit 100 first performs initialization processing (S02), and then determines whether or not the RAM erase switch is turned on (S04). Here, as is clear from the description of “(1) Power-on process” described above, in the
As shown in FIG. 6, the main control unit 100 first restores the stack pointer (S32). Specifically, the stack pointer stored in a predetermined area of the
[0027]
As is clear from the above description, in the
Here, in the
However, in the
[0028]
In addition, by performing the forcible confirmation of the state of the ball
[0029]
A specific example of the operation of the
In the example shown in FIG. 8, during the normal game (during the main process shown in FIG. 4), a ball-out condition is detected, the main control unit 100 creates a winning ball impossible command, and stores the created command in the command buffer. This is a case where a power failure occurs in the state where the ball is out and the out-of-ball state is resolved during the power failure. FIG. 8A shows the operation of the conventional pachinko machine, and FIG. 8B shows the operation of the
Even in the conventional pachinko machine, the process at the time of power-off is performed, so that the winning ball impossible command stored in the command buffer of the main control unit 100 is saved while the power is cut off. And as shown to Fig.8 (a), it transmits to a prize ball control part by the CTC interruption process after a power supply return. Therefore, even when the ball-out condition is resolved while the power is shut off, the main ball control unit 100 transmits a no-success ball command to the prize
On the other hand, in the
[0030]
Next, the example shown in FIG. 9 will be described. In the example shown in FIG. 9, a power failure occurs after a ball-out condition is detected during a normal game, the main control unit 100 creates a prize ball impossible command, and transmits the command to the prize
Even in a conventional pachinko machine, processing at the time of power-off is performed, and the state of the gaming machine at the time of power-off is maintained until power is restored. That is, even when the ball-out condition is canceled while the power is shut off, the process is resumed with the full-tan / ball-out error flag turned ON. In addition, since the state of the ball break
On the other hand, in the pachinko machine according to the present embodiment, when energization is started, power recovery processing is performed, and then the main processing is performed. In the first full tank / out of ball check process after the transition to the main process, the state of the detection signal output from the out of ball switch 54 /
[0031]
As mentioned above, although one Example of this invention was described in detail, this is only an illustration and this invention can be implemented with the form which gave various change and improvement based on the knowledge of those skilled in the art.
For example, in the above-described embodiments, the present invention is applied to the detection processing of the ball break switch and the full switch, but the present invention is not limited to such a detection device, and while the power is shut off. The present invention can be applied to any detection device that detects a state that may change state.
In addition, the procedure for detecting the state of the ball-out switch / full switch at the time of power recovery, the procedure for creating a command based on the detected state, etc. are not limited to this embodiment, and various forms can be adopted. For example, in this embodiment, a program for creating a winning ball possible command (or a winning ball impossible command) at the time of power recovery by setting 'FFH' to a full tank / out of ball error flag at the time of power recovery, A program for creating a command for allowing a winning ball (or a command for disallowing a winning ball) was made common (specifically, processing from S54 to S64 in FIG. 7). However, the present invention is not limited to such an example, and a command creation program at the time of power recovery may be provided after step S46 in FIG.
In the above-described embodiment, even when the power-off state and the power recovery state match, the winning ball possible command (or winning ball impossible command) is transmitted to the winning ball control unit. However, the present invention is not limited to this example, and it may be configured such that the command is not transmitted when the power-off time and the power recovery time coincide.
Furthermore, although the above-described embodiment is an example in which the present invention is applied to a pachinko machine, the present invention is not limited to a pachinko machine, and may be applied to other game machines such as a sparrow ball game machine and a slot machine, for example. You can also.
[Brief description of the drawings]
FIG. 1 is a rear view showing a back set plate arranged on the back side of a pachinko machine according to the present embodiment.
FIG. 2 is a block diagram showing a configuration of a control unit of the pachinko machine shown in FIG.
FIG. 3 is a diagram for explaining the configuration of a
FIG. 4 is a flowchart showing processing at power-on in the main control unit.
FIG. 5 is a flowchart showing processing at the time of power shutdown in the main control unit.
FIG. 6 is a flowchart showing processing at the time of power recovery in the main control unit.
FIG. 7 is a flowchart showing a full tank / out of ball check process.
FIG. 8 is a time chart showing an example of the operation of the pachinko machine according to the present embodiment.
FIG. 9 is a time chart showing another example of the operation of the pachinko machine according to the embodiment.
[Explanation of symbols]
10. Pachinko machine
13. Ball storage tank
14. ・ Guiding rail
30 .. Dispensing device
54..Ball break switch
56 ... Full switch
100 .. Main control part
130 .. Power failure detection part
200 ・ ・ Prize ball control unit
Claims (2)
状態検出部は、遊技機の状態を検出して検出信号をメイン制御部に出力し、
停電検出部は、遊技機への電力供給の遮断を検出して停電信号をメイン制御部に出力し、
メイン制御部は、
遊技情報を記憶するRAMと、
RAMに記憶された遊技情報に基づいて遊技処理を実行するCPUと、を備えており、
前記CPUは、電源投入時に遊技機が初期化する初期化処理と、その初期化処理後に周期的に繰り返し実行するメイン処理と、停電信号の受信により停電処理を実行するようにプログラムされており、
前記メイン処理では、前記状態検出部から出力される検出信号の状態の変化を検出して、その変化の状態に応じた所定のコマンドを作成してサブ制御部に送信し、
前記停電処理では、前記停電検出部から出力される停電信号を受信したときにRAMの遊技情報を保存し、
電力供給の回復時には、停電処理で保存したRAMの遊技情報に基づいて中断された処理を再開し、
サブ制御部は、前記メイン制御部のCPUから送信されるコマンドに基づいて所定の処理を行う遊技機において、
前記状態検出部で検出される状態は、電力供給が遮断されている間に変化する可能性のある球切れ又は満タン状態であって、
前記メイン制御部のCPUは、電力供給の回復後に実行する前記メイン処理では、状態検出部から出力される検出信号の状態が変化したか否かに関わらず、その検出信号の状態に応じてコマンドを作成してサブ制御部に送信することを特徴とする遊技機。A main control unit, a sub-control unit, a power failure detection unit, and a state detection unit;
The state detection unit detects the state of the gaming machine and outputs a detection signal to the main control unit,
The power failure detection unit detects the interruption of power supply to the gaming machine and outputs a power failure signal to the main control unit.
The main control unit
RAM for storing game information;
A CPU for executing a game process based on the game information stored in the RAM,
The CPU is programmed to execute an initialization process that the gaming machine initializes when the power is turned on, a main process that is periodically repeated after the initialization process, and a power failure process by receiving a power failure signal.
In the main processing, a change in the state of the detection signal output from the state detection unit is detected , a predetermined command corresponding to the state of the change is created and transmitted to the sub-control unit ,
In the power outage process, when the power outage signal output from the power outage detection unit is received, the RAM game information is stored ,
When power supply is restored, the suspended processing is resumed based on the game information stored in the RAM during power failure processing .
The sub-control unit is a gaming machine that performs a predetermined process based on a command transmitted from the CPU of the main control unit.
The state detected by the state detection unit is a ball break or full state that may change while the power supply is shut off,
The CPU of the main control unit performs a command according to the state of the detection signal in the main process executed after power supply is restored , regardless of whether or not the state of the detection signal output from the state detection unit has changed. by creating a game machine characterized by a Turkey be transmitted to the sub-controller.
前記メイン制御部のRAMに記憶される遊技情報には、状態検出部で検出された遊技機の状態を示す制御フラグが含まれており、その制御フラグは検出された遊技機の状態に応じて2つの状態に切替えられ、 The game information stored in the RAM of the main control unit includes a control flag indicating the state of the gaming machine detected by the state detection unit, and the control flag is in accordance with the detected state of the gaming machine. Switched to two states,
前記メイン処理では、前記状態検出部から出力される検出信号の状態の変化を検出して、その変化の状態に応じて制御フラグの状態を変更し、制御フラグの状態が変更された場合に制御フラグの状態に基づいて所定のコマンドを作成してサブ制御部に送信し、 In the main process, a change in the state of the detection signal output from the state detection unit is detected, the state of the control flag is changed according to the state of the change, and control is performed when the state of the control flag is changed. Create a predetermined command based on the state of the flag and send it to the sub-control unit,
前記メイン制御部のCPUは、電力供給の回復後に実行する前記メイン処理では、前記制御フラグを検出信号に基づく状態と一致しないリセット状態に設定する第1ステップと、 The CPU of the main control unit sets the control flag to a reset state that does not coincide with a state based on a detection signal in the main process executed after power supply is restored;
前記状態検出部から出力される検出信号の状態を確認する第2ステップと、を実行するようにプログラムされており、 A second step of confirming a state of a detection signal output from the state detection unit, and is programmed to execute,
前記メイン制御部のCPUは、電力供給の回復後に実行する前記メイン処理では、前記制御フラグをリセット状態に設定することで、状態検出部から出力される検出信号の状態に応じて制御フラグの状態が変更されるようにし、その変更された制御フラグの状態に基づいてコマンドをサブ制御部に送信することを特徴とする請求項1に記載の遊技機。 In the main process executed after the power supply is restored, the CPU of the main control unit sets the control flag to a reset state, so that the state of the control flag according to the state of the detection signal output from the state detection unit 2. The gaming machine according to claim 1, wherein a command is transmitted to the sub-control unit based on the changed state of the control flag.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001044781A JP4370448B2 (en) | 2001-02-21 | 2001-02-21 | Game machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001044781A JP4370448B2 (en) | 2001-02-21 | 2001-02-21 | Game machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002239099A JP2002239099A (en) | 2002-08-27 |
| JP4370448B2 true JP4370448B2 (en) | 2009-11-25 |
Family
ID=18906711
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001044781A Expired - Fee Related JP4370448B2 (en) | 2001-02-21 | 2001-02-21 | Game machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4370448B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4539106B2 (en) * | 2004-02-12 | 2010-09-08 | 株式会社三洋物産 | Game machine |
| JP4780595B2 (en) * | 2008-08-08 | 2011-09-28 | 株式会社大一商会 | Game machine |
| JP5244621B2 (en) * | 2009-01-06 | 2013-07-24 | 株式会社三共 | Game machine |
| JP5754748B2 (en) * | 2013-04-05 | 2015-07-29 | 株式会社三共 | Game machine |
| JP2024145389A (en) * | 2023-03-31 | 2024-10-15 | 株式会社三洋物産 | Gaming Machines |
-
2001
- 2001-02-21 JP JP2001044781A patent/JP4370448B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002239099A (en) | 2002-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3654101B2 (en) | Game machine | |
| JP4418999B2 (en) | Game machine | |
| JP2001112940A (en) | Game machine | |
| JP4370448B2 (en) | Game machine | |
| JP3811794B2 (en) | Game machine | |
| JP2001252402A (en) | Game control power system device | |
| JP2001340603A (en) | Information storage method when power is cut off in gaming machines and gaming machines | |
| JP4756164B2 (en) | Game machine | |
| JP2001321544A (en) | Gaming machine | |
| JP4419000B2 (en) | Game machine | |
| JP4452906B2 (en) | Game machine | |
| JP2008086789A (en) | Game machine | |
| JP4756168B2 (en) | Game machine | |
| JP2001314614A (en) | Game machine | |
| JP4748543B2 (en) | Game machine | |
| JP4254940B2 (en) | Game machine | |
| JP4748547B2 (en) | Game machine | |
| JP3816474B2 (en) | Game machine | |
| JP4375512B2 (en) | Game machine | |
| JP3759136B2 (en) | Game machine | |
| JP4590576B2 (en) | Game machine | |
| JP3747402B2 (en) | Prize ball payout control device | |
| JP4399538B2 (en) | Game machine | |
| JP4254939B2 (en) | Game machine | |
| JP3816473B2 (en) | Game machine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060530 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090311 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090317 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090518 |
|
| 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: 20090728 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090818 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120911 Year of fee payment: 3 |
|
| 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: 20120911 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150911 Year of fee payment: 6 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |