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

JP4370448B2 - Game machine - Google Patents

Game machine Download PDF

Info

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
Application number
JP2001044781A
Other languages
Japanese (ja)
Other versions
JP2002239099A (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.)
Daiichi Co Ltd
Original Assignee
Daiichi Shokai 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 Daiichi Shokai Co Ltd filed Critical Daiichi Shokai Co Ltd
Priority to JP2001044781A priority Critical patent/JP4370448B2/en
Publication of JP2002239099A publication Critical patent/JP2002239099A/en
Application granted granted Critical
Publication of JP4370448B2 publication Critical patent/JP4370448B2/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】
【課題を解決するための手段、作用及び効果】
上記課題を解決するために請求項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 pachinko machine 10 including the ball storage tank 13 and the lower plate will be described with reference to FIG. FIG. 1 is a rear view showing a back set plate 11 provided on the back side of the pachinko machine according to the present embodiment. As shown in FIG. 1, the back set plate 11 is provided with a ball storage tank 13, a guide rail 14, a payout device 30, a payout ball guide path 35, and the like from above, whereby the payout of the pachinko machine 10 is performed. The mechanism is configured.
The ball storage tank 13 is a tank that temporarily stores pachinko balls supplied from an island facility provided in the game hall. The sphere storage tank 13 is a box that opens upward, and the pachinko balls supplied from the island facility are supplied into the tank from the upper opening of the sphere storage tank 13. In addition, one end of the guide rail 14 is connected to the bottom surface of the ball storage tank 13 so that pachinko balls stored in the ball storage tank 13 are sent into the guide rail 14. Further, a ball break switch 54 (not shown; however, shown in FIG. 2) is disposed on the bottom surface of the ball storage tank 13, and pachinko balls are stored in the ball storage tank 13 by the ball break switch 54. Whether or not it is present (storage state) is detected. Specifically, the ball break switch 54 is turned on when there is no pachinko ball in the ball storage tank 13, and the ball break switch 54 is turned off when the pachinko ball is stored in the ball storage tank 13. A signal output from the ball break switch 54 is received by the main control unit 100 described later.
The guide rail 14 has one end connected to the bottom surface of the ball storage tank 13 and the other end connected to the dispensing device 30. Therefore, when the pachinko balls are paid out by the payout device 30, the number of the pachinko balls in the ball storage tank 13 falls into the guide rail 14 and is supplied to the payout device 30 through the guide rail 14. . In addition, although not shown, the guide rail 14 has two spherical passages formed in parallel inside and outside.
[0010]
As shown in FIG. 1, the payout device 30 includes an upper sphere guide path 31a communicating with the guide rail 14, a rotating sphere receiver 34 provided near the downstream opening of the upper sphere guide path 31a, and the rotation It has two lower sphere guide paths 31b arranged below the ball receiver 34. The upper sphere guide path 31a, the rotating sphere receiving body 34, and the lower sphere guide path 31b are also provided adjacent to each other in pairs in and out, according to the fact that the guide rails 14 are formed in two rows. .
The rotating ball receiver 34 is formed with a number of recesses (ball receiving portions) 34a (six locations in the figure) that can temporarily receive one pachinko ball, and the upper ball guide path 31a passes through the ball receiving portion 34a. Pachinko balls that have been received are accepted one by one. The rotating ball receiver 34 is rotationally driven by a motor 25 (not shown). For this reason, when the motor 25 rotates, the pachinko balls received by the ball receiving portion 34a can be regularly dropped into the lower ball guide path 31b one by one. As already described, since the rotating ball receivers 34 are formed in two rows (inside and outside), the pachinko balls are discharged from the inner and outer rotating ball receivers 34 to the lower ball guiding path 31b.
The upstream portion of the lower ball guiding path 31b is divided into two parts, a winning ball guiding path 32a and a lending ball guiding path 32b. Whether the pachinko ball discharged / dropped from the ball receiving portion 34a according to the rotation direction of the rotating ball receiving body 34 falls into the winning ball guiding path 32a or into the lending ball guiding path 32b. Is determined.
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 ball guiding path 32a. The prize ball detection sensor 27 is provided in each of the ball guidance paths 32a for prize balls provided in two rows inside and outside. Similarly, a lending ball detection sensor 28 (typically a proximity switch) that detects a pachinko ball passing through the lancing path is also provided in the lending ball guiding path 32b. This lending ball detection sensor 28 is also provided in each of lending ball ball guiding paths 32b provided in two rows inside and outside. The detection signals output from the prize ball detection sensor 27 and the lending ball detection sensor 28 are output toward the prize ball control unit 200 described later.
[0011]
Further, the dispensing device 30 is provided with a rotation detection sensor 29 including a photo detector (photo coupler) adjacent to the above-described rotating ball receiver 34, thereby detecting the rotation of the rotating ball receiver 34. . That is, the rotating ball receiver 34 is provided with a disk-shaped position detection plate (not shown) that rotates integrally with the rotating ball receiver 34, and the plurality of ball receivers are provided at the periphery of the position detection plate. A plurality of slits corresponding to each of the portions 34a are provided at a constant interval (angle). The rotation detection sensor 29 is disposed at a predetermined position where the passage of the slit of the position detection plate can be detected when the position detection plate rotates. Therefore, every time one of the slits of the position detection plate passes the detection position of the rotation detection sensor 29, the rotation detection sensor 29 is turned on, and a rotation detection signal is output to the prize ball control unit 200 described later. The photo detector mechanism itself may be the same as that provided in a conventional pachinko machine (see, for example, Japanese Patent Application Laid-Open No. 9-1555035), and does not characterize the present invention. Description is omitted.
[0012]
The upstream side of the payout ball guide path 35 is connected to the downstream side of the lower ball guide path 31b of the payout device 30 described above. An upper plate (not shown) and a lower plate (not shown), which are trays, are provided. The upper plate is a tray for storing pachinko balls to be supplied to a ball launcher (not shown), and the lower plate is a pachinko ball to be paid out from the payout device 30 when the pachinko balls stored in the upper plate are full. It is a saucer to receive. The lower pan is provided with a full tank switch 56 (shown in FIG. 2), and detects the storage state of pachinko balls stored in the lower plate. The full tank switch 56 is turned on when the pachinko ball stored in the lower plate is full, and is turned off when the pachinko ball stored in the lower plate is not full. A signal output from the full tank switch 56 is also received by the main control unit 100 described later.
[0013]
As is clear from the above, in the payout mechanism of the pachinko machine 10, the pachinko balls stored in the ball storage tank 13 are rotated from the bottom of the ball storage tank 13 through the guide rail 14 and the upper ball guide path 31a. The receiver 34 is reached. When the motor 25 is driven to rotate, the rotating ball receiver 34 rotates. As a result, the pachinko balls are one ball at a time in the lower ball guiding path 31b (the winning ball guiding path 32a or the lending ball guiding path 32b). ). That is, when paying out a prize ball to the player, the rotating ball receiver 34 rotates counterclockwise, so that the pachinko balls discharged from the rotating ball receiver 34 fall into the winning ball guiding path 32a. . On the other hand, when the pachinko balls are paid out as rental balls, the rotating ball receiver 34 rotates clockwise, so that the pachinko balls discharged from the rotating ball receiver 34 fall into the rental ball guiding path 32b. Then, the pachinko balls that have fallen into the award ball guiding path 32a and the lending ball guiding path 32b flow into the payout ball guiding path 35 and are discharged to the upper plate or the lower plate provided on the front surface of the pachinko machine 10. Is done.
[0014]
Next, the configuration of a control system that controls the dispensing device 30 configured as described above will be described with reference to FIGS. 2 and 3. FIG. 2 is a block diagram showing the configuration of the control unit of the pachinko machine shown in FIG. 1, and FIG. 3 is a diagram for explaining the configuration of the power supply unit 120. As shown in FIG. 2, the control system that controls the payout device 30 includes a main control unit 100 that controls the entire pachinko machine 10 and a prize ball control unit 200 that is electrically connected to the main control unit 100. . The main control unit 100 and the prize ball control unit 200 are electrically connected to the power source unit 120, and are configured to supply power from the power source unit 120 to the main control unit 100 and the prize ball control unit 200.
The power supply unit 120 includes a voltage transformer 140 that rectifies and smoothes the AC 24V power supplied from the external power source into a DC power supply of a voltage corresponding to each electrical component equipped in the pachinko machine 10, and a power failure and other reasons. And a power failure detection unit 130 that outputs a power failure signal toward each control unit (main control unit 100, prize ball control unit 200, etc.) of the pachinko machine 10 when energization from the external power supply is interrupted.
As shown in FIG. 3, the voltage transformer 140 includes rectifier circuits 142a and 142b that rectify the waveform of the AC 24V power source, and smoothing circuit diodes D1 and D2 that smooth the pulsating wave system rectified by the rectifier circuits 142a and 142b. D3 and D4 and capacitors C1, C2, C3, and C4) and constant voltage circuits IC1, IC2, and IC3 that make the waveform smoothed by the smoothing circuit constant.
The voltage transformer 140 normally supplies a +5 V signal generated by the constant voltage circuit IC1 to the main controller 100 and the prize ball controller 200. In addition, when power supply such as a power failure is cut off (hereinafter simply referred to as power supply cut-off), the power stored during energization of the capacitor C1 is supplied to the main control unit 100 and the prize ball control unit 200. Thus, the control units 100 and 200 can execute processing at the time of power-off.
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 ball control unit 200 when the power is cut off such as a power failure, and the information stored in the RAM is held.
[0015]
The main control unit 100 is a control device that controls the operation of each device (electrical component) of the pachinko machine 10, and in addition to the prize ball control unit 200, the symbol change processing of the symbol display (arranged in the center of the game board). A display control unit that performs sound processing, a sound control unit that performs processing for generating sound effects and BGM from a speaker, a lamp control unit that performs lighting driving processing of lamps mounted inside and outside the game board, and the like are electrically connected. Yes. The configuration of each control unit is the same as that in a conventional pachinko machine, and the description thereof is omitted here.
As shown in FIG. 2, the main control unit 100 includes a CPU 102, a ROM 104, a RAM 106, an input processing circuit 108, a communication control circuit 112, and the like connected to the CPU 102 via a bus 114.
The CPU 102 controls the pachinko machine 10 by executing a game control program stored in the ROM 104. The game control program includes a program for performing a full tank / out of ball check process, which will be described later, a control program for creating various commands and transmitting the created commands, and the like. The RAM 106 stores various data [for example, flags indicating the state of the gaming machine (full tank state, out of ball state, power recovery state, etc.)] and input / output signals.
The input processing circuit 108 has a function of receiving signals output from various sensors such as the above-described ball break switch 54 and full tank switch 56 and converting the signals into a data format that can be processed in the main control unit 100. The communication control circuit 112 is a circuit (consisting of a general-purpose logic IC, PIO, transistor array, etc.) for transmitting a command or the like of an output port of the CPU to various control units such as the prize ball control unit 200.
[0016]
The prize ball control unit 200 controls the operation of the payout device 30 based on the command transmitted from the main control unit 100 described above. That is, the prize ball control unit 200 also includes a CPU, a ROM, a RAM, and the like, and controls the operation of the payout device 30 by analyzing a command transmitted from the main control unit 100 according to a control program stored in the ROM. For example, when a prize ball disabling command indicating a ball out condition and / or a full tank condition is received, the prize ball control unit 200 stops driving the motor 25 until a prize ball accept command is received from the main control unit 100. When a command for paying out a predetermined number of prize balls is received, the rotating ball receiver 34 is rotated by a predetermined rotation angle based on the rotation detection signal output from the rotation detection sensor 29. At this time, the number of pachinko balls actually paid out by the prize ball control unit 200 is determined by detecting the pachinko balls sent from the rotating ball receiver 34 to the ball guiding path 32a for the prize balls by the prize ball detection sensor 27. Count. When the number of paid-out pachinko balls is insufficient, the motor 25 is further driven to rotate so that the paid-out number of pachinko balls becomes the correct number. Note that the configuration and processing of the prize ball control unit 200 are the same as those of a conventionally known pachinko machine, and do not particularly characterize the present invention.
[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 failure detection unit 130, the main control unit 100 according to the present embodiment stores the contents of the game process executed at the time of reception and restores the power supply (hereinafter referred to as the power source). After that, the process interrupted by the power shutdown is resumed based on the stored information. Therefore, in the following description, first, the game process at normal time of the main control unit 100 will be described, then, the process at the time of power failure detection signal reception (process at power-off) will be described, and finally, after the power is restored The return process will be described.
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 unit 200 is performed. The specific contents of the processing executed by the interruption of the CTC counter are the same as the processing performed in a conventionally known pachinko machine, and do not particularly characterize the present invention, so the detailed description thereof is omitted here. .
[0018]
(1) Processing at power-on
When the power is turned on, energization is started from the power supply unit 120 to the main control unit 100, and when the voltage applied to the main control unit 100 reaches a predetermined voltage, the process shown in FIG. 4 is started.
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 pachinko machine 10 The RAM erase signal is output to the main control unit 100 when operated. Accordingly, in step S04, it is determined whether the RAM erase signal output by operating the RAM erase switch has been received.
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 RAM 106 has an abnormality. It is determined whether or not there is (S06). That is, if the information stored in the RAM 106 is destroyed for some reason, the process cannot be resumed using the information, so it is first determined whether the information in the RAM 106 can be used. As a specific method, determination is made based on whether or not the checksum value (added value obtained by adding the values of the registers of the RAM 106 in a predetermined procedure) matches the normal value.
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 RAM 106, and if there is no abnormality in the RAM 106 (NO in step S06), the information is saved. The process proceeds to a power recovery process (details will be described later) for restarting the process based on the information (S20). Thereby, the main control unit 100 shifts to a main process described below.
[0019]
When the process proceeds to the main process, first, it is determined whether or not the ball storage tank 13 is out of ball and whether or not the lower plate is full (S10). The full tank / out of ball check process will be described in detail based on the flowchart shown in FIG.
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 full switch 56 and the ball break switch 54 are stored at a predetermined address in the RAM 106 (S44). For example, when the lower pan is full, the detection signal output from the full switch 56 is turned on, so “1” is stored at a predetermined address in the RAM 106. On the contrary, when the lower pan is not full, the detection signal output from the full switch 56 is not turned ON, so “0” is stored in a predetermined address of the RAM 106. Such processing is also performed for the ball break switch 54.
When the state of the detection signal output from the full switch 56 and the ball break switch 54 is stored as described above, input level data is created from the stored state of the detection signal (S46). That is, if all the stored values are “0”, the input level data is “0”, and if one of the stored values is “1”, the input level data is “1”.
[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 full tank switch 56 and the ball break switch 54 changes first. It is determined whether or not it has been done (S66). Specifically, whether the state of the detection signal in the previous cycle is different from the state of the detection signal in the current cycle, that is, whether “0” → “1” (or “1” → “0”). to decide.
If the state of the detection signal output from the full switch 56 and the ball break switch 54 has changed (in the case of YES in step S66), the input level data is rewritten (S68), and there is no change. If [NO in step S66], the process proceeds to step S48. For example, if there was a change when the input level data in the previous cycle was “0”, the input level data was changed from “0” to “1”. If there was no change, the input level data was rewritten. Without being maintained at the same value.
[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 pachinko machine 10 according to the present embodiment, when the state of the gaming machine in the previous cycle and the input level data (the state of the gaming machine in the current cycle) coincide with each other, the processing of steps S56 to S64 is not performed. Only when the state of the gaming machine and the input level data do not match, the processing of steps S56 to S64 is performed. In this embodiment, since the full tank / out-of-ball error flag is set to “FFH” at the time of power recovery, the determination in step S54 is always NO, and the processing in steps S56 to S64 is performed. .
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 ball control unit 200 is overwritten with the no-in-a-ball command (S62). If the cut error flag is “0” [YES in step S60], the process proceeds to step S64 as it is. In step S64, a process of storing the command created in step S58 or step S62 (a winning ball possible command or a winning ball impossible command) in a command buffer is performed (S64). The command stored in the command buffer is transmitted to the winning ball control unit 200 by the CTC interruption process described above.
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 ball control unit 200. It becomes. In normal times, as long as the state of the detection signal does not change (unless the state of the previous cycle and the current cycle changes), the processing of steps S56 to S64 is not performed, and a winning ball possible command or a winning ball impossible command is a prize. It is not transmitted to the sphere control unit 200.
[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 ball control unit 200, the symbol control unit, the sound control unit A command to be transmitted to a sub-control unit such as a lamp control unit is created. For example, a prize ball command for instructing the prize ball to be paid out is created in the prize ball control unit 200, a symbol variation command for instructing a variation in a special symbol is created in the symbol control unit, and a sound effect is transmitted to the sound control unit. A sound effect command for commanding generation is created, and a lamp lighting command for commanding lamp decoration is created in the lamp control unit. The command created in step S14 is similarly transmitted to each control unit by CTC interrupt processing.
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 outage detection unit 130. That is, when power supply from the external power source to the pachinko machine 10 is interrupted, a power failure signal is output from the power failure detection unit 130 toward the main control unit 100. The power failure signal output from the power failure detection unit 130 is input to the NMI terminal (non-massable interrupt terminal) of the main control unit 100, and the main control unit 100 immediately starts the power failure process.
[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 RAM 106 is prohibited and the power failure process is terminated (S30).
After the power is shut off, power is supplied to the RAM 106 from the information storage power supply (capacitor C5) provided in the power supply unit 120, and the information stored in the RAM 106 is held for a predetermined time.
[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 RAM 106 or the like by the processing at the time of power shutdown described above will be described with reference to the flowcharts shown in FIGS. 4 and 6. To do.
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 pachinko machine 10 according to the present embodiment, the information stored by “(2) Power-off process” is used. When the game is resumed from the power-off state, the power to the pachinko machine 10 is turned on without operating the RAM erase switch. Therefore, the determination in step S04 is always NO, and the process proceeds to step S06 to determine whether or not an abnormality has occurred in the RAM 106 (S06). Then, when no abnormality has occurred in the RAM 106, a power recovery process for starting the game from the state when the power is shut off is started (S20). This power recovery process will be described with reference to the flowchart of FIG.
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 RAM 106 is restored to the original area by the process at the time of power-off (the process of step S24 shown in FIG. 5). Then, the contents of all the registers stored by the process at the time of power shutdown (the process of step S22 shown in FIG. 5) are restored (S34). Therefore, the state of the stack pointer, register, command buffer, and the like is restored to the state when the power is shut off, and the main control unit 100 resumes the process from the time when the power is shut off (when the power failure signal is received).
[0027]
As is clear from the above description, in the pachinko machine 10 according to the present embodiment, information such as a command created before power-off and stored in the command buffer and a flag indicating the state of the gaming machine is stored until power is restored. The Rukoto. Therefore, the status of the full / out-of-ball error flag, the winning ball possible command or the winning ball impossible command (unsent command) stored in the command buffer are saved while the power is shut off, and after the power is restored Used for processing. That is, the state when the power is shut off is maintained until the power is restored.
Here, in the pachinko machine 10, even when the ball is out of power when the power is shut off, there is a case where the pachinko ball is replenished from the island facility to the storage ball tank 13 while the power is shut off and the ball out of ball state is resolved. In addition, even when the power is shut off, the player may remove the pachinko ball from the lower plate while the power is shut off, and the full state may be resolved. In such a case, the state of the pachinko machine 10 when the power is shut down (full tank / out of ball error state) and the state of the pachinko machine 10 when the power is restored (normal state) will be different.
However, in the pachinko machine 10 of the present embodiment, when the power is restored, the states of the ball break switch 54 and the full tank switch 56 are forcibly confirmed to create input level data, and a winning ball is allowed based on the input level data. Create either a command or a command that disables a prize ball. Therefore, a command that correctly reflects the state at the time of power recovery is always transmitted to the prize ball control unit 200, and the problem caused by the difference between the state at power-off and the state at power recovery can be solved. it can.
[0028]
In addition, by performing the forcible confirmation of the state of the ball full switch 54 and the full tank switch 56 in the first full tank / full ball check process after the completion of the power recovery process, a command buffer unsent command And the like, the control of the pachinko machine 10 can be accurately reflected at the time of power recovery. That is, in this embodiment, the state of the ball full switch 54 and the full tank switch 56 is confirmed in the first full tank / ball full check process after the power recovery process. This is because a command reflecting the above is stored.
[0029]
A specific example of the operation of the pachinko machine 10 relating to the above-described full tank / out of ball check process will be described with reference to FIGS.
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 pachinko machine 10 according to the present embodiment.
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 ball control unit 200 after the power is restored. For this reason, the prize ball control unit 200 stops driving the payout device 30 until a prize ball enabling command is received. Here, in the full / ball-out check process, the input level data is rewritten only when the state of the detection signal output from the ball-out switch 52 changes, and a winning ball possible command or a winning ball impossible command is created. . Therefore, since the state of the ball-out switch 54 has changed after power recovery, the main control unit 100 does not recognize that the ball-out state has been resolved, and no winning ball command is created. For this reason, the prize ball control unit 200 continues to stop driving the payout device 30.
On the other hand, in the pachinko machine 10 according to the present embodiment, as shown in FIG. 8 (b), when energization is started, a power recovery process (S20 shown in FIG. 4) is performed, and then the main process (in FIG. 4). Processing is started from the position (program number) where S10 to S18) was interrupted. Then, in the first full / ball-out check process after the transition to the main process, the state of the detection signal output from the ball-out switch 54 / full tank switch 56 is forcibly confirmed and input level data is created (FIG. 7 S44, S46). In addition, the full tank / out of ball error flag is forcibly set to “FFH” (S42 in FIG. 7), and the input level data and the full tank / out of ball error flag value do not match. The process is always NO. Therefore, a command corresponding to the state of the full switch 54 and the ball-out switch 56 at the time of power recovery, that is, a winning ball possible command is created and stored in the command buffer (S58, S64). Therefore, by a CTC interruption process executed at a predetermined timing thereafter, a winning ball impossible command created before the power failure is first transmitted to the winning ball control unit 200, and then the winning ball enable command is sent to the winning ball control unit 200. Sent. Thereby, the prize ball control unit 200 performs control reflecting the correct state of the pachinko machine 10 at the time of power recovery.
[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 ball control unit 200. This is the case when the ball-out condition is resolved during a power failure. FIG. 9A shows the operation of the conventional pachinko machine, and FIG. 9B shows the operation of the pachinko machine 10 according to the present embodiment.
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 switch 56 does not change, the main control unit 100 cannot recognize that the ball break state has been eliminated. Therefore, the winning ball control unit 200 continues to stop driving the payout device 30.
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 / full tank switch 56 is forcibly confirmed as shown in FIG. A command (that is, a winning ball possible command) is created, and the created command is stored in the command buffer. Accordingly, a winning ball enable command is transmitted to the winning ball control unit 200 by a CTC interruption process executed at a predetermined timing thereafter. Thereby, the winning ball control unit 200 performs control reflecting the accurate state of the pachinko machine 10 at the time of power recovery.
[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 power supply unit 120;
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.
前記状態検出部より出力される検出信号の状態は検出された遊技機の状態に応じて2つの状態に変化し、  The state of the detection signal output from the state detection unit changes into two states according to the detected state of the gaming machine,
前記メイン制御部の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.
JP2001044781A 2001-02-21 2001-02-21 Game machine Expired - Fee Related JP4370448B2 (en)

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)

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

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