JP4419000B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP4419000B2
JP4419000B2 JP2000236884A JP2000236884A JP4419000B2 JP 4419000 B2 JP4419000 B2 JP 4419000B2 JP 2000236884 A JP2000236884 A JP 2000236884A JP 2000236884 A JP2000236884 A JP 2000236884A JP 4419000 B2 JP4419000 B2 JP 4419000B2
Authority
JP
Japan
Prior art keywords
control unit
signal
power
power failure
gaming machine
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
JP2000236884A
Other languages
Japanese (ja)
Other versions
JP2002045478A (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 Shokai 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 JP2000236884A priority Critical patent/JP4419000B2/en
Publication of JP2002045478A publication Critical patent/JP2002045478A/en
Application granted granted Critical
Publication of JP4419000B2 publication Critical patent/JP4419000B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Pinball Game Machines (AREA)
  • Power Sources (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は外部電源から遊技機への通電が遮断された時に所要の情報を保存し、その保存した情報に基づいて通電回復後に中断された処理を再開する遊技機に関する。
【0002】
【従来の技術】
例えば、パチンコ機のように高度に電装化された遊技機には、遊技機に設けられた各種電装装置(パチンコ機の場合では、特別図柄を変動表示する図柄表示器、賞球を払出す賞球払出装置等)を制御する制御装置が備えられる。この制御装置は、遊技機に接続された外部電源から供給される電力により作動するため、突発的な停電や不意に電源オフがなされた場合(外部電源と遊技機との通電が遮断された場合)には、制御装置に電力が供給されなくなり、制御装置において行われている処理が中断されることとなる。このため、この種の遊技機においても停電等の通電遮断時に実行途中の処理に関する情報を一旦記憶装置に記憶し、通電回復後にこの記憶装置に記憶した情報に基づいて中断された処理を再開する機能(情報の保存機能)を備えることが望まれている。
そこで、遊技機に停電(外部電源と遊技機との通電遮断)を検知すると停電信号を出力する停電検出部を設け、その停電検出部から出力された停電信号を契機に制御装置が所要の情報を保存し(停電処理)、停電復帰後はその保存した情報に基づいて遊技を再開する(復電処理)ことができる遊技機の開発が検討されている。
【0003】
【発明が解決しようとする課題】
かかる遊技機においては、外部電源との通電遮断後に制御装置が停電処理を行う必要があるため、通電遮断後に制御装置に対して少なくとも停電処理が行われる間電力を供給するよう制御電源を構成する必要がある。その反面停電時に制御電源の保持能力を高めることは回路規模の増大につながりコスト等の観点からできるだけ小さくすることが好ましい。したがって、外部電源との通電が遮断されてから停電処理が完了するまでの時間はできるだけ短くすることが望まれている。
一方、遊技機が設置される遊技店には多くの電源設備が設置され、その影響で遊技機に瞬間的な通電遮断が生じる場合がある。このため、このような瞬間的な通電遮断により停電処理が開始されないためには、停電検出部は外部電源と遊技機との通電が遮断された状態が所定時間継続した場合に停電信号を出力するように構成する必要がある。
したがって、外部電源との通電が遮断されてから停電処理が完了するまでの時間を短くするためには、停電処理自体の時間を短くすることが要求されるが、高度に電装化された遊技機においては停電処理に要する時間を短くすることは困難であった。
【0004】
本発明は上述した実情に鑑みなされたものであり、その目的は、外部電源と遊技機との通電が遮断された後の制御装置の処理を適切化することで、停電処理を適正に行うことができる遊技機を提供する。
【0005】
【課題を解決するための手段及び効果】
上記課題を解決するため本願の遊技機は、外部電源と遊技機との通電が遮断された状態が第1所定時間継続したときにその旨を示す第1信号を出力する停電検出部を備えており、その停電検出部で停電が検出されたときに所要の情報を保存すると共に、通電回復後にその保存した情報に基づいて遊技を再開する制御部を備えている。この遊技機は、外部電源と遊技機との通電が遮断された状態が第1所定時間よりも短い第2所定時間継続したときに、前記制御部に向かって第2信号を出力する第2信号出力部がさらに設けられている。前記制御部は、外部電源からの通電が遮断されたときに、遊技処理を再開するための情報を保存する停電処理と、外部電源からの通電が再開されたときに、停電処理により保存した情報に基づいて遊技処理を再開させる復電処理と、遊技中に繰り返し実行されるループ処理と、ループ処理の実行を中断して定時期毎に実行されるタイマ割込み処理と、を実行するようプログラムされている。また、タイマ割込み処理には、遊技処理を実行するための複数の処理から構成され、その複数の処理の中には遊技処理の時間を管理するためのタイマ更新処理が含まれている。そして、前記制御部は、さらに、第2信号出力部から第2信号が出力されているか否かを監視し、第2信号を受信しているときに停電フラグを更新し、第2信号を受信していないときに停電フラグをクリアし、停電フラグが更新されて所定値となっているとタイマ更新処理を実行しない。
上記遊技機において、制御部は、第2信号出力部から出力される第2信号を受信すると、停電フラグを更新する。そして、停電フラグが更新されて所定値であると、タイマ更新処理を実行しない。したがって、第2信号を受信してから停電処理が実行されるまでの間に、タイマ更新処理が実行されない。このため、停電処理を適正に実行することができる。
【0006】
上記の遊技機においては、制御部が、遊技機の状態に応じてコマンドの作成及び送信を行う第1の制御装置と、その第1の制御装置から送信されたコマンドに基づいて所定の処理を行う第2の制御装置を有する場合がある。このような場合、前記第1の制御装置は、前記第2信号を受信する受信手段が設けられ、かつ、その受信手段に第2信号を受信してから通電が回復するまでの間、コマンドの作成及び/又は送信を行わないよう構成されていることが好ましい。
上記遊技機では、第2信号を受信してから通電が回復するまでの間は、第1の制御装置においてコマンドの作成及び/又は送信が行われない。このため、第1の制御装置から第2の制御装置へのコマンド送信処理中に第1信号が出力され、この送信処理が完了するまで停電処理が開始されなくて第1信号出力後の処理時間が長くなるという不具合を防止することができる。
なお、上述した遊技機において、第1の制御装置がコマンドの作成のみを行わないよう構成されている場合には、第2信号受信時に既に作成されているコマンドについては第2の制御装置に送信される場合が生じ得る。したがって、このような場合には、第2信号が出力されるタイミングをコマンドの送受信処理に要する時間を考慮して決定することで、第1信号が出力される時にコマンドが送信されていない状態とすることができる。これにより、第1の制御装置のコマンド送信処理が中断され、第2の制御装置においてコマンドの受信ミス等が生じることは無い。
【0007】
上記の遊技機においては、前記第1の制御装置は、さらに、その第1の制御装置に入力される入力情報を記憶可能な記憶装置が設けられるとともに、前記受信手段に第2信号を受信してから通電が回復するまでの間に受信する入力情報を記憶装置に格納し、その格納した入力情報を通電が回復するまでの間保持するように構成されていることが好ましい。
このような構成によれば、第2信号を受信してから通電が回復するまでの間に受信する入力情報が記憶装置に格納されて保持されるため、通電が回復した後はその保持した情報に基づいて遊技を再開することができる。
【0008】
また、同様に、本願の遊技機において、制御部が、遊技機の状態に応じてコマンドの作成及び送信を行う第1の制御装置と、その第1の制御装置から送信されたコマンドに基づいて所定の処理を行う第2の制御装置を有する場合は、前記第2の制御装置は、前記第2信号を受信する受信手段が設けられ、かつ、その受信手段に第2信号を受信してから通電が回復するまでの間、前記第1の制御装置から送信されたコマンドに基づいて新たな処理を行わないように構成されていることが好ましい。
上記遊技機では、第2信号を受信してから通電が回復するまでの間は、第2の制御装置は、第1の制御装置から送信されたコマンドに基づいて新たな処理が行われない。したがって、第2の制御装置が新たな処理を開始している最中に第1信号が出力され、この処理を完了するまで停電処理が開始されないという不具合を防止することができる。
ここで、上記「新たな処理」とは、第1の制御装置から送信されたコマンドを新たに解析することや、その解析結果に基づいて制御データ等を作成や、作成したデータを設定することをいい、第1の制御装置から送信されたコマンドの受信処理や、各種信号の入力処理は含まれない。
【0009】
また、前記第2の制御装置は、さらに、その第2の制御装置に入力される入力情報及び/又はコマンドを記憶可能な記憶装置が設けられるとともに、前記受信手段に第2信号を受信してから通電が回復するまでの間に受信する入力情報及び/又はコマンドを記憶装置に格納し、その格納した入力情報及び/又はコマンドを通電が回復するまでの間保持するように構成されていることを特徴とする。
このような構成によれば、第2信号を受信してから通電が回復するまでの間に受信する入力情報及びコマンドが記憶装置に格納されて保持されるため、通電が回復した後はその保持した情報に基づいて遊技を再開することができる。
【0010】
なお、上述した各遊技機においては、一つの停電検出部から両制御装置に第1信号を出力するようにすることが好ましい。このように構成すれば、両制御装置における停電処理を同期して開始することができる。
【0011】
また、上述した各遊技機においては、前記第1の制御装置を遊技機全体の制御を行う主制御装置とし、前記第2の制御装置をその主制御装置から出力されるコマンドに基づいて遊技者に遊技媒体を払出す払出装置の制御を行うサブ制御装置とすることが可能である。
このような構成によれば、遊技者に特典(遊技媒体の払出し)を行う払出装置が正しく(コマンドの取込みミス等を起こすことなく)制御(停電処理及び復帰処理)されるため、遊技者に損失(未払いの遊技媒体)を与えることが防止される。
【0012】
【発明の実施の形態】
本発明を第1種パチンコ機におけるメイン制御部(請求項にいう第1の制御装置に相当する。)及び払出装置を制御する賞球制御部(請求項にいう第2の制御装置に相当する。)における停電処理及び復帰処理に本発明を適用した一実施の形態について図1乃至図15を用いて説明する。ここで、図1は本実施の形態に係るパチンコ機の裏面側に配備される裏セット板11およびその付属物(払出装置30等)を示す背面図であり、図2は図1に示すパチンコ機の制御部の構成を示すブロック図であり、図3は電源部120の構成を説明するための図であり、図4は停電検出部130の構成を説明するための図であり、図5は停電検出部130から出力される停電予告信号と停電信号の出力タイミングを説明するためのタイムチャートであり、図6〜10はメイン制御部における処理のフローチャートであり、図11〜図15は賞球制御部における処理のフローチャートである。
【0013】
まず、パチンコ機10に設けられる払出装置30について説明する。
図1に示すように、払出装置30は、パチンコ機10の裏面側に取付けられた裏セット板11に配設される。この裏セット板11には、払出装置30の他に、パチンコ球を多数貯留するための球貯留タンク13、この球貯留タンク13に貯留されたパチンコ球を払出装置30に誘導する誘導レール14が設けられている。なお、上記誘導レール14は、図示していないが内外に2つの球通路が並列に形成されている。
【0014】
また、払出装置30は、図1に示すように、誘導レール14に連通する上部球誘導路31aと、この上部球誘導路31aの下流側開口部近くに設けられた回転球受け体34と、この回転球受け体34の下方に配置される二つの下部球誘導路31bとを有している。これら上部球誘導路31a、回転球受け体34および下部球誘導路31bも、誘導レール14が2列に形成されていることに応じて、それぞれ内外に1対相互に隣接して設けられている。
上記回転球受け体34は、一つのパチンコ球を一時的に受け得る凹部(球受け部)34aがいくつも形成され(図では6カ所)、この球受け部34aに上部球誘導路31aを通行してきたパチンコ球が一球ずつ受け入れられる。この回転球受け体34は、モータ25(図示せず:ただし、図2に表示)により回転駆動される。このため、モータ25が回転することによって、球受け部34aに受け入れられたパチンコ球を一球ずつ規則的に下部球誘導路31bに落入させることができる。なお、既に述べたように回転球受け体34は2列(内外)に形成されているため、内外それぞれの回転球受け体34からパチンコ球が下部誘導路31bに排出される。この内と外の2つの回転球受け体34からパチンコ球が排出されるタイミングは、両回転球受け体34よりパチンコ球が同時に排出されないように調整されている。すなわち、内と外に設けた回転球受け体34が所定の角度だけ位相がずれて設けられることで、パチンコ球の排出タイミングがずれるように構成されている。
回転球受け体34から排出されたパチンコ球が落入する下部球誘導路31bの上流側部分は、賞球用球誘導路32aと貸し球用球誘導路32bとの二つに分かれている。そして、回転球受け体34の回転方向に応じて球受け部34aから排出・落下するパチンコ球が賞球用球誘導路32aに落入するか或いは貸し球用球誘導路32bに落入するかが決定される。
【0015】
かかる構成の結果、球貯留タンク13に貯留するパチンコ球は、球貯留タンク13の底部から誘導レール14および上部球誘導路31aを通って回転球受け体34に至る。そして、モータ25が回転駆動されることによって回転球受け体34が回転し、その結果、パチンコ球は1球ずつ下部球誘導路31b(賞球用球誘導路32a又は貸し球用球誘導路32b)に送出(落入)される。すなわち、遊技者に賞球を払出すときは回転球受け体34が反時計回りに回転することで、回転球受け体34から排出されたパチンコ球は賞球用球誘導路32aに落入する。一方、パチンコ球を貸し球として払い出すときは回転球受け体34が時計回りに回転することで、回転球受け体34から排出されたパチンコ球は貸し球用球誘導路32bに落入する。そして、これら賞球用球誘導路32a、貸し球用誘導路32bに落入したパチンコ球は払出用球誘導路35に流れ、パチンコ機10の前面に設けられた図示しない上皿(又は下皿)に排出される。
【0016】
また、払出装置30には、上述した回転球受け体34に隣接してフォト検出器(フォトカプラ)より成る回転検出センサ29が備えられており、これによって回転球受け体34の回転を検出する。すなわち、回転球受け体34には回転球受け体34と一体となって回転する図示しない円盤状の位置検出板が付設されており、この位置検出板の周縁部には、上記複数の球受け部34aそれぞれに対応する複数のスリットが一定の間隔(角度)をあけて設けられている。また、上記回転検出センサ29は、位置検出板が回転する際において位置検出板のスリットの通過を検出し得る所定の位置に配設される。したがって、位置検出板のスリットの一つが回転検出センサ29の検出位置を通過する度に、回転検出センサ29がオンとなり、回転検出信号が後述する賞球制御部200に出力される。つまり、球受け部34aから一球のパチンコ球が排出され得る回転角度(即ち上記6カ所の球受け部34aを有する本実施形態に係る回転球受け体34では60度)の回転毎に一回の回転検出信号が賞球制御部200に出力される。なお、かかるフォト検出器の機構自体は従来のパチンコ機(例えば特開平9−155035号公報参照)に装備されるものと同様であればよく、本発明を特徴付けるものでもないのでこれ以上の詳細な説明は省略する。
【0017】
さらに、払出装置30の賞球用球誘導路32aには、当該誘導路を通行するパチンコ球を検出する賞球検出センサ27(典型的には近接スイッチ)が設けられている。この賞球検出センサ27は、内と外に2列に設けられた賞球用球誘導路32aのそれぞれに設けられている。そして、当該賞球用球誘導路32aをパチンコ球が通行した際に、賞球検出信号を後述するメイン制御部100及び賞球制御部200に出力する。
同様に、貸し球用球誘導路32bにも、当該誘導路を通行するパチンコ球を検出する貸し球検出センサ28(典型的には近接スイッチ)が設けられている。この貸し球検出センサ28も、内と外に2列に設けられた貸し球用球誘導路32bのそれぞれに設けられている。そして、貸し球用球誘導路32bをパチンコ球が通行した際に、貸し球検出信号を後述するメイン制御部100及び賞球制御部200に出力する。
なお、上述した球貯留タンク13には、球貯留タンクにパチンコ球が貯留されていない球切れ状態を検出するための球切れ検出センサが設けられている。また、払出装置30から払出されたパチンコ球を受ける受皿(パチンコ機10の前面に設けられた上皿、下皿)には、これらの受皿にパチンコ球が満タンに貯留されている満タン状態を検出するための球満タン検出センサが設けられている。
【0018】
次に、上述のように構成される払出装置30を制御する制御系の構成について、図2〜4を参照して説明する。
払出装置30を制御する制御系は、図2に示すように、パチンコ機10全体を制御するメイン制御部100と、メイン制御部100と電気的に接続された賞球制御部200により構成される。これらメイン制御部100及び賞球制御部200は電源部120と電気的に接続され、この電源部120からメイン制御部100及び賞球制御部200に電力が供給されるように構成されている。
【0019】
電源部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は通電遮断後の処理を行うことが可能となる。したがって、停電時にはコンデンサC1が制御部が停電処理を行う間、電圧を保持する機能を果たすこととなる。
さらに、定電圧回路IC1から出力される+5Vの信号は、並列に分離されてダイオードD5およびコンデンサC5を介して情報保存用出力端子VBBに接続される。そして、このコンデンサC5に備蓄した電力は、停電等の通電遮断時においてメイン制御部100及び賞球制御部200のRAM106、206に供給され、RAM106、206に記憶された情報が保持される。したがって、コンデンサC5が情報保存用の電源となる。
【0020】
停電検出部130は、図4に示すように、3端子レギュレータIC4(図3参照)から供給された電圧(+12V)を停電検出部130に設けられた各回路を動作させるための電圧に変換する電源回路300を有し、電源回路300で変圧された電圧はスタート回路302を介して比較回路304、ラッチ解除信号発生回路306、発振回路308、分周回路310、分周回路320、ラッチ回路312、遅延回路314に供給される。
スタート回路302は、電源投入時又は電源復旧時において、電源回路300で調整された電圧を各回路に供給するタイミングを制御するものであり、具体的には、まずラッチ回路312、遅延回路314に供給し、しかる後、発振回路308、分周回路310、分周回路320、比較回路304、ラッチ解除信号発生回路306の順に供給するように制御する。
また、比較回路304は、交流電源ACと接続されて交流電源ACの半波を検出する回路であり、交流電源ACの半波を検出している間クロック信号を分周回路310及び分周回路320に出力する。また、この比較回路304は、交流電源ACの半波を検出していない状態から交流電源ACの半波を検出した場合には、ラッチ解除信号発生回路306に信号を出力する。そして、このラッチ解除信号発生回路306は、比較回路304から出力された信号が入力すると、所定時間後にラッチ回路312のラッチ状態を解除するための信号をラッチ回路312に出力する。
また、分周回路310は、発振回路308で生成される50kHzの信号を分周する回路である。すなわち、比較回路304から出力されるクロック信号が入力される毎にリセットされ、比較回路304からクロック信号が入力されない状態(交流電源ACの波形が途絶えた状態)では発振回路308から出力される信号を分周し続け、8192分周したときにラッチ回路312に信号を出力する。このラッチ回路312は、分周回路310から出力された信号が入力すると、その信号を上述したラッチ解除信号が入力されるまでラッチ(ON)する。このため、ラッチ回路312がONされることで、トランジスタ316がONされ、同様に遅延回路314を介してトランジスタ318がONされる。したがって、トランジスタ316がONされるタイミングで停電信号が出力され、その停電信号が出力されてから所定時間遅れて電圧コントロール信号が出力されることとなる。この電圧コントロール信号は、電源部120の定電圧回路IC1、IC2、IC3に入力し、これらの定電圧回路IC1、IC2、IC3を制御する。すなわち、停電時には各制御部が確実にリセットされるよう電圧コントロール信号により定電圧回路IC1の出力を停止させるとともに、故障を誘発させないよう入力処理回路や出力処理回路に用いられる定電圧回路IC2、IC3の出力も同時にこの電圧コントロール信号により出力を停止するよう制御される。
また、分周回路320は、分周回路310と同様、発振回路308で生成される50kHzの信号を分周する回路であり、比較回路304から出力されるクロック信号が入力される毎にリセットされ、比較回路304からクロック信号が入力されない状態(交流電源ACの波形が途絶えた状態)では分周し続ける。そして、発振回路308で生成される信号を4096分周したときにトランジスタ322に信号を出力する。この信号によりトランジスタ322がONされると、停電予告信号が出力されることとなる。
【0021】
したがって、上述のように構成される停電検出部130は、図5に示す出力タイミングで停電予告信号及び停電信号を出力する。すなわち、図5(a)に示すように、交流電源ACの波形が途絶えた状態(比較回路304からクロック信号が出力されない状態)となると、その時から4096分周時に停電予告信号が出力(ON)される。そして、停電予告信号が出力されてからさらに4096分周されたとき(停電発生から8192分周されたとき)に停電信号が出力(ON)され、同時に停電予告信号はOFFされる。したがって、本パチンコ機10では、交流電源AC(外部電源)との通電が遮断されてから所定時間後(4096分周後)に停電予告信号が出力され、さらに所定時間経過後(4096分周後)に停電信号が出力されることとなる。
なお、図5(b)に示すように、停電予告信号が出力されてから所定時間(4096分周)経過する前に通電が回復した場合(交流電源ACの波形が比較回路304に入力される場合)には、比較回路304から信号が出力され分周回路310及び分周回路320がリセットされる。このため、停電信号は出力されず、また、出力されている停電予告信号もOFFされる。
【0022】
次に、上記停電予告信号及び停電信号が入力する制御部(メイン制御部100、賞球制御部200)の構成について説明する。
メイン制御部100は、本パチンコ機10の各装置(電装品)の動作を統括する制御装置であり、賞球制御部200の他に、遊技盤中央に配置された図柄表示器(図示せず)の図柄変動処理を行う図柄表示制御部、スピーカから効果音やBGMを発生させるための処理を行う音制御部、遊技盤の内外に装着されたランプの点灯駆動処理を行うランプ制御部等が電気的に接続されている。これら各制御部の機構は、従来のパチンコ機におけるものと同様であり、ここではその説明を省略する。
このメイン制御部100は、図2に示すように、CPU102と、CPU102とバス114を介して接続されるROM104、RAM106、入力処理回路108、通信制御回路112等を備えた1チップ化されたマイクロコンピュータである。
CPU102は、ROM104に格納されている遊技制御プログラムを実行してパチンコ機10を制御する。この遊技制御プログラムには、賞球制御部200等に送信する各種コマンドの作成や、その作成したコマンドを各制御部に送信するための制御プログラムが含まれる。RAM106には、各種データや入出力信号が格納される。
入力処理回路108は、各種入賞口に入賞したパチンコ球を検出する一般入賞口センサ54、特定入賞口センサ56等のセンサ(典型的には近接スイッチ)から出力された信号を受けて、メイン制御部100内で処理可能なデータ形式に変換する機能を有する。この入力処理回路108には、前述した停電検出部130から出力される停電予告信号や停電信号、払出装置30に設けた賞球検出センサ27、貸し球検出センサ28から出力される検出信号も入力するようになっている。通信制御回路112は、CPUの出力ポートのコマンド等を賞球制御部200等に送信するための回路(汎用ロジックIC、PIO、トランジスタアレイ等で構成される)である。
【0023】
賞球制御部200は、上述したメイン制御部100から送信されたコマンドに基づいて払出装置30の動作を制御する制御装置であり、基本的にはメイン制御部100と同様、CPU202と、CPU202とバス214を介して接続されるROM204、RAM206、入力処理回路210、通信制御回路208、出力処理回路212等を備えた1チップ化されたマイクロコンピュータである。
CPU202は、ROM204に格納されている制御プログラムに従って払出装置30の賞球制御等を行う。RAM206には、各種データや入出力信号が格納される。
入力処理回路210は、払出装置30に設けられた回転検出センサ29、貸し球検出センサ28、賞球検出センサ27から出力された検出信号を受信して、賞球制御部200内で処理可能なデータ形式に変換する機能を有する。また、この入力処理回路210にも、前述した停電検出部130から出力された停電予告信号や停電信号が入力するようになっている。
また、出力処理回路212は、モータ25を駆動するための駆動信号を出力する回路であり、通信制御回路208は、メイン制御部100から送信されたコマンドを受信するための回路である。
【0024】
次に、上述したように構成されるメイン制御部100及び賞球制御部200で行われる処理について説明する。最初にパチンコ機10への電源投入時(通電時を含む)における処理について説明する。
【0025】
(1)電源投入時の処理(メイン制御部)
電源投入されると、電源部120から上記各制御部100、200に通電が開始される。そして、各制御部100、200に印可される電圧が所定の電圧となると、各制御部100、200は次に説明する処理を開始する。まず、メイン制御部100の処理について、図6、図7に基づいて説明する。
なお、メイン制御部100においては、入賞口に入賞したパチンコ球を検出する入賞検出処理や、その入賞検出処理により検出した入賞に基づいて作成した賞球コマンドを賞球制御部200に送信するための賞球コマンド送信処理や、払出装置30から払出されたパチンコ球を検出する賞球検出処理等のようなコマンドや信号の入出力処理は、通常の処理とは別にメイン制御部100に設けたCTCカウンタによる所定周期(本実施の形態では、4ms)毎の割込み処理により行われる。そこで、まずはメイン制御部100における通常の処理について図6を参照して先に説明し、次いでCTCカウンタによる割込み処理(以下、単にCTC割込み処理という)について図7を参照して説明する。
【0026】
図6に示すように、メイン制御部100では、まず初期化処理が行われ(S01)、次いでRAM消去スイッチがON(出力)されたかどうかが判断される(S02)。ここで、RAM消去スイッチとは、電源遮断時において保存した情報を消去するために操作されるスイッチである。すなわち、保存した情報を利用して遊技を再開する必要がないとき(例えば、営業終了により電源OFFした翌日の営業開始時等)に操作されるスイッチであり、パチンコ機10への電源投入時に操作され、これによりメイン制御部100及び賞球制御部200に信号が出力される。したがって、ステップS02では、RAM消去スイッチを操作することにより出力された信号をメイン制御部100において受信されたか否かが判断される。
RAM消去スイッチが操作されていた場合〔ステップS02でYES〕にはステップS04に進み、RAM消去スイッチが操作されていない場合〔ステップS02でNOの場合〕には、次ぎにRAM106に異常があるかないかを判断する(S03)。すなわち、RAM106に保存した情報が何らかの原因で破壊されていた場合には、その情報を利用して処理を再開することができないので、まずRAM106の情報が利用できるか否かを判断する。具体的な方法としては、チェックサム値(RAM106の各レジスタの値を加算した加算値)が正常値と一致するか否かで判断する。RAM106に異常があった場合〔ステップS03でYESの場合〕にはステップS04に進み、RAM106に異常が無かった場合〔ステップS03でNOの場合〕には保存した情報に基づいて処理を再開する復電処理に移行する(S18)。なお、復電処理の内容については後で説明する。
ステップS04に進むと、メイン制御部100はRAM106に記憶した情報をクリアする(S04)。これらの処理が終了した後、メイン制御部100は以下に説明するメイン処理に移行する。
【0027】
メイン処理では、まず、停電予告信号がONされているか否かを判断する(S05)。具体的には、メイン制御部100の入力ポート(通常の受信ポート)に停電予告信号を受信しているか否かを判断する。停電予告信号を受信している場合〔ステップS05でYESの場合〕はステップS15に進む。
一方、停電予告信号を受信していない場合〔ステップS05でNOの場合〕はステップS06に進み、停電予告フラグをOFFする(S06)。停電予告フラグがOFFされると、次に、停電ステータスチェック処理が行われる(S07)。この停電ステータスチェック処理は、ステップS18の復電処理により復電ステータスフラグがONされたときにのみ行われる処理であるので、後で詳述する復電処理において説明する。
ステップS07が終了すると、次に、スイッチ入力取込処理が行われる(S09)。具体的には、後述するCTC割込み処理において入力ポートに取り込んだ入力情報(一般入賞口センサ54、特定入賞口センサ56、賞球検出センサ27等から出力された信号)を、RAM106の所定のレジスタに取り込む処理を行う。
ステップS09が終了すると、次に、出力データ作成処理を行う(S10)。この出力データ作成処理では、上述したステップ09のスイッチ入力取込処理により取り込まれた情報(一般入賞センサ54、特定入賞センサ56等から出力された検出信号)に基づいて遊技盤の前面に設けられた図示しない大入賞口等の電動役物を動作させるための出力データ(駆動データ)の作成を行う。この作成された出力データは、CTC割込み処理により各電装装置に出力される。
出力データ作成処理が終了すると、次にコマンド作成処理を行う(S11)。このコマンド作成処理では、上述したステップ09のスイッチ入力取込処理により取り込まれた情報(一般入賞センサ54、特定入賞センサ56、賞球検出センサ27等から出力された検出信号)や、ステップS08の賞球可能か否かの情報に基づいて、賞球制御部200、図柄制御部、音制御部、ランプ制御部等の各サブ制御部に送信するコマンドを作成する。例えば、賞球制御部200には賞球の払出を命じる賞球コマンドを作成し、図柄制御部に対しては特別図柄の変動を命じる図柄変動コマンドを作成し、音制御部には効果音の発音を命じる効果音コマンドを作成し、ランプ制御部にはランプ装飾を命じるランプ点灯コマンドを作成する。ステップS11で作成されたコマンドは、CTC割込み処理により各制御部に送信される。
コマンド作成処理が終了すると、次いで外部情報作成処理を行う(S12)。この外部情報作成処理では、大当り回数、確率変動中等のパチンコ機10の状態を外部コンピュータに報知するための情報作成を行う。この作成された情報も、CTC割込み処理によりメイン制御部100より出力される。
次ぎに、ステップS13に進み、初期値乱数の作成・更新やハズレ図柄の作成・更新を行う(S13)。最後に、球貯留タンク13の球切れ状態や、上皿・下皿の満タン状態等を遊技者やホール店員等に報知するため、図柄表示装置、ランプ、スピーカ等を駆動するエラー処理を行う(S14)。このステップS14のエラー処理が終わると、ステップS05の処理に戻ってステップS05からステップS14までの処理を繰り返すこととなる。
【0028】
一方、停電予告信号がONされている場合〔ステップS05でYESの場合〕は、まず停電予告フラグをONする(S15)。しかる後、上述したステップS09及びステップS14の処理と同様の処理であるスイッチ入力取込処理(S16)及びエラー処理(S17)のみを行う。そして、ステップS05の処理に戻ってステップS05からステップS17までの処理を繰り返すこととなる。
したがって、停電予告信号がONされるとステップS06〜ステップS08の処理(賞球が可能か否かを判断する処理)、及び、ステップS10〜ステップS13の処理(メイン制御部100から他の制御部等に出力される情報を作成する処理)が行われないこととなる。
【0029】
次ぎに、図7に基づいてCTC割込み処理について説明する。
CTC割込み処理では、図7に示すように、まずスイッチ入力処理が行われる(S19)。このスイッチ入力処理は、一般入賞口センサ54、特定入賞口センサ56、賞球検出センサ27等から出力された信号をメイン制御部100の入力ポートに取り込む処理である。この取り込まれた信号は、上述したステップS09、ステップS16のスイッチ入力取込処理によりRAM106の所定の領域に格納されることとなる。したがって、停電予告信号受信後においても、例えば発射済みのパチンコ球に関して一般入賞口センサ54等から出力されメイン制御部100に入力する入力情報(検出信号)があれば、この情報はRAM106の所定の領域に格納されることとなり、通電回復時にはこの情報をもとに遊技が再開される。
スイッチ入力処理が終わると、大当り乱数(大入賞口が開放される大当り状態となるか否かを抽選するための乱数)を更新する処理を行い(S20)、次いで出力データの出力処理を行う(S21)。出力データの出力処理では、上述したステップS10(図6参照)の処理で作成した出力データが電装装置(ソレノイド等)に出力される。
ステップS21が終了すると、次に停電予告フラグがONとなっているか否かが判断される(S22)。停電予告フラグがONとなっている場合〔ステップS22でYESの場合〕にはステップS24の処理に進み、停電予告フラグがOFFとなっている場合〔ステップS22でNOの場合〕にはタイマ更新処理が行われる(S23)。このタイマ更新処理では、メイン制御部100で行われる各処理に使用されるソフトタイマの更新が行われる。したがって、停電予告フラグがOFFとなっているときのみ、ソフトタイマが更新され新たな処理が行われることとなる。これらの処理が終了しステップS24に進むと、各制御部(賞球制御部200、図柄制御部等)にコマンドを送信するコマンド送信処理が行われる(S24)。このコマンド送信処理は、従来の遊技機におけるコマンド送信処理と同様に出力ポートに送信するコマンドを設定し、しかる後メイン制御部100からライト信号を出力することにより送信される。
【0030】
以上、説明したことから明らかなように、メイン制御部100は、CTC割込み処理により各種センサ等から出力された検出信号等を入力ポートに取り込む。この入力ポートに取り込まれた信号は、通常のメイン処理においてRAM106に格納され、この格納された情報に基づいて賞球制御部200に送信する賞球コマンドの作成等が行われる。そして、作成された賞球コマンド等は、CTC割込み処理において賞球制御部200に送信されることとなる。
また、メイン制御部100においては、停電予告フラグがONの状態(停電予告信号を受信している状態)では、他の制御部や外部機器に出力される情報(コマンド)の作成が行われない。したがって、停電予告フラグがONとなった後は、既に作成されているコマンドだけがCTC割込み処理によってメイン制御部100から出力されることとなる。
【0031】
(2)電源投入時の処理(賞球制御部)
次ぎに、賞球制御部200の動作について、図11〜13に基づいて説明する。なお、賞球制御部200においても、メイン制御部100と同様、通常の処理とは別に行われるCTCカウンタによる割込み処理によって払出装置30のモータ25を駆動するための駆動信号を出力する処理や、回転検出センサ29、賞球検出センサ27等のセンサから出力された検出信号を入力ポートに取り込む処理が行われ、また、メイン制御部100から出力されたライト信号(INT端子入力)による割込み処理によってコマンド受信処理が行われる。そこで、まずは賞球制御部200における通常の処理について図11を参照して先に説明し、次いでコマンド受信処理やCTCカウンタによる割込み処理について図12、図13を参照して説明する。
【0032】
図11に示すように、賞球制御部200においても、メイン制御部100と同様、まず初期化処理が行われ(S40)、次いでRAM消去スイッチがON(出力)されたかどうかが判断される(S41)。RAM消去スイッチがONされている場合〔ステップS41でYES〕にはステップS43に進み、RAM消去スイッチがONされていない場合〔ステップS41でNOの場合〕には、次ぎにRAM206に異常があるかないかを判断する(S42)。
そして、RAM206に異常があった場合〔ステップS42でYESの場合〕にはステップS43に進み、RAM206に異常が無かった場合〔ステップS42でNOの場合〕には保存した情報に基づいて処理を再開する復電処理に移行する(S53)。この賞球制御部200における復電処理については、メイン制御部100と同様に後で詳述する。
ステップS43で、賞球制御部200はRAM206に記憶した情報をクリアし(S43)、以下に説明するメイン処理に移行する。
【0033】
メイン処理では、まず、停電予告信号がONされているか否かを判断する(S44)。具体的には、賞球制御部200の入力ポート(通常の受信ポート)に停電予告信号を受信しているか否かで判断する。停電予告信号を受信している場合〔ステップS44でYESの場合〕はステップS50に進み、停電予告信号を受信していない場合〔ステップS44でNOの場合〕はステップS45に進んで、停電予告フラグをOFFする(S45)。
停電予告フラグをOFFすると、次に、スイッチ入力取込処理が行われる(S46)。具体的には、CTC割込み処理(図13のステップS56の処理)により入力ポート(通常の受信ポート)に取り込んだ入力情報(回転検出センサ29、貸球検出センサ28、賞球検出センサ27等から出力された信号)を、RAM206の所定のレジスタに取り込む処理を行う。
ステップS46が終了すると、メイン制御部100から送信されたコマンド(図12のコマンド受信処理で受信したコマンド)の解析処理を行う(S31)。すなわち、メイン制御部100から送信されたコマンドがどの種類のコマンド(例えば、賞球の開始を許可する賞球可コマンド、又は、球切れ・満タン等の原因により賞球を禁止する賞球不可コマンド、又は、所定の球数の払出を命じる賞球コマンド等)であるかを解析する。
このコマンド解析処理が終了すると、次に、モータ25を駆動するための駆動データの作成処理を行う(S48)。すなわち、ステップS47のコマンド解析処理により解析したコマンド(賞球コマンド)や、ステップS46で取り込んだ各種センサ27の情報(払出数に関する情報)に基づいて、適正なパチンコ球数を払出すようモータ25を駆動するための駆動データを作成する。
駆動データの作成処理が終了すると、次いで、エラー処理が行われる(S49)。このエラー処理は、何らかの異常(例えば、払出装置30から賞球を払出しすぎた場合等)がある場合に、その異常をホール店員等に知らせる処理である。このエラー処理が行われると、再びステップS44に戻って、S44からの処理を繰り返すこととなる。
【0034】
一方、停電予告信号を受信している場合〔ステップS44でYESの場合〕は、まず停電予告フラグをONする(S15)。しかる後、上述したステップS46及びステップS49の処理と同様の処理であるスイッチ入力取込処理(S51)及びエラー処理(S52)のみを行う。ステップS52が終了すると、ステップS44の処理に戻ってステップS44からの処理を繰り返すこととなる。
したがって、停電予告信号がONされると賞球制御部200ではステップS47、ステップS48の処理(コマンド解析処理、駆動データ作成処理)が行われないこととなる。
【0035】
次ぎに、図12に基づいてメイン制御部100から送信されたコマンドを受信するコマンド受信処理を説明し、図13に基づいてCTC割込み処理について説明する。
図12に示すコマンド受信処理では、まず賞球制御部200の入力ポートにメイン制御部100から送信されたコマンドを受信したか否か、すなわちメイン制御部100がコマンドを送信したか否かを確認する(S54)。具体的には、メイン制御部100が送信状態にあるか否かをメイン制御部100から出力されたセレクト信号により確認する。
メイン制御部100が送信状態である場合〔ステップS54でYESの場合〕には、入力ポートに受信しているコマンドをコマンドバッファに格納し(S55)、コマンド受信処理を終了する。一方、メイン制御部100が送信状態で無い場合〔ステップS54でNOの場合〕にはそのままコマンド受信処理を終了する。
また、図13に示すCTC割込処理では、まず、払出装置30に設けられた各種センサから出力された信号を入力ポートに取り込むスイッチ入力処理が行われる(S19)。具体的には、賞球検出センサ27、貸球検出センサ28、回転検出センサ29から出力された検出信号を入力ポートに取り込む処理が行われる。このスイッチ入力処理が終了すると、次に、上述した図11のステップS48で作成したモータ25を駆動するための払出モータ駆動データを出力する処理を行う(S57)。これにより、モータ25が駆動され、所定個数のパチンコ球が払出される。
【0036】
以上、説明したことから明らかなように、賞球制御部200では、メイン制御部100から出力されたライト信号による割込み処理(INT端子入力)により図12に示すコマンド受信処理を行い、その受信したコマンドは図11に示す通常の処理において解析され、駆動データが作成される。そして、この駆動データは、図13に示すCTC割込み処理によりモータ25に出力され払出装置30から所定個数のパチンコ球が払出される。
なお、停電予告信号を受信すると賞球制御部200では、各種センサ27、28、29から出力された検出信号の入力及びRAM206への取込や、メイン制御部100から送信されたコマンドの受信処理のみが行われ、その取り込んだ情報や受信したコマンドに基づいてはコマンド解析処理や駆動データ作成処理は行われない。ただし、停電予告信号を受信する前に作成されていた駆動データについては、停電予告信号受信後のCTC割込み処理によりモータ25の駆動制御が行われる。しかしながら、停電予告信号受信後であっても払出しが行われたパチンコ球に関する賞球検出センサ27若しくは貸球検出センサ28からの入力情報(検出信号)があれば、この情報はRAM106の所定の領域に格納されることとなり、通電回復時にはこの情報をもとに遊技が再開される。
【0037】
(3)電源遮断時の処理(メイン制御部、賞球制御部)
次に、停電や不意の電源OFFによりパチンコ機10への電源供給が遮断された時のパチンコ機10の動作をメイン制御部100、賞球制御部200の処理を中心に説明する。
外部電源からパチンコ機10への電源供給が遮断されると、まず、電源部120に設けた停電検出部130からメイン制御部100及び賞球制御部200に停電予告信号が出力される。停電検出部130から出力された停電予告信号は、メイン制御部100及び賞球制御部200の入力ポート(通常の受信ポート)に入力する。停電予告信号が各制御部100、200で受信されると、既に説明したようにメイン制御部100ではスイッチ入力取込処理(図6のステップS16)及びエラー処理(図6のステップS17)等のみが行われる。同様に、賞球制御部200においても、既に説明したように各種センサ27、28、29から出力された検出信号のRAM206への取込処理や、メイン制御部100から送信されたコマンドの受信処理のみが行われる。
そして、停電予告信号が出力されてから所定時間経過すると、停電検出部130から停電信号が出力される。この停電信号はメイン制御部100及び賞球制御部200のNMI端子(ノンマスカラブルインタラプト端子)で受信され、これにより各制御部100、200では以下に説明する停電処理が行われる。なお、AC交流電源との通電遮断から停電信号出力後の所定時間(停電処理を行うために必要となる時間)までのあいだメイン制御部100及び賞球制御部200に対して供給される電力は、既に述べたように電源部120のコンデンサC1に通電時に蓄えられた電力により賄われる。
【0038】
まず、停電信号を受信したメイン制御部100において行われる処理について図8に基づいて説明する。
図8に示すように、NMI端子に停電信号を受信したメイン制御部100は、まず、通電回復時に中断された処理を再開するためにCPU102のレジスタの情報及びスタックポインタの情報をRAM106の所定の領域に記憶する(S25)。そして、ワーク情報やこれらの情報が書き換えられないようRAM106へのアクセスを禁止する(S27)。これにより電源遮断時におけるメイン制御部100の処理が終了する。
なお、通電遮断時においては、RAM106に別途電源部120に設けた情報保存用電源(コンデンサC5により構成)から電力が供給され、RAM106に記憶した情報が所定時間保持される。
【0039】
また、図14に示すように、停電信号を受信した賞球制御部200も、メイン制御部100と同様、まず、通電回復時に中断された処理を再開するためにCPU202のレジスタの情報及びスタックポインタの情報をRAM106の所定の領域に記憶する(S58)。そして、ワーク情報やこれらの情報が書き換えられないようRAM206へのアクセスが禁止される(S60)。これにより電源遮断時における賞球制御部200の処理が終了する。
【0040】
上述したことから明らかなように、メイン制御部100は停電予告信号を受信すると、賞球制御部200や外部機器に出力される情報(コマンド)の作成が行われず、また、賞球制御部200ではモータ25の駆動データの作成等が行われない。したがって、停電信号を受信するときにはメイン制御部100及び賞球制御部200では他の処理が行われていないため、停電信号をNMI端子で受信して即座に停電信号受信後の処理を行うことができる。
また、停電信号受信後の処理も、例えば、コマンド送信中に停電した場合には少なくとも送信されているコマンドを受信するまで処理を行ったり、払出モータ25の駆動中の時では既に払出されたかもしれないパチンコ球の監視処理を行う等の必要がないため、復電処理に必要な情報をRAM106、206の所定の領域に保存して、RAM106、206へのアクセスを禁止するだけで良いので短時間に終了することができる。
【0041】
(4)通電回復時の処理(メイン制御部、賞球制御部)
次に、上述した電源遮断時における処理によりRAM106、206等に保存した情報を利用して処理を再開する際のメイン制御部100及び賞球制御部200の処理について、図9、図10、図15を参照して説明する。なお、本パチンコ機10において保存した情報を利用して電源遮断時の状態から遊技を再開する場合には、RAM消去スイッチを操作することなくパチンコ機10への電源投入を行う。
【0042】
まず、メイン制御部100における処理について説明する。メイン制御部100は、図6に示すように、電源供給が開始されるとまず初期化処理が行われ(S01)、次ぎにRAM消去スイッチがONされているか否か(S02)、RAM106に異常が発生しているか否かが判断される(S03)。しかる後、電源遮断時の状態から遊技を開始するための復電処理が開始される(S18)。このメイン制御部100における復電処理について図9に基づいて説明する。
図9に示すように、メイン制御部100は、まず電源遮断時の処理(図8に示すステップS25の処理)により保存したスタックポインタの情報をCPU102に復帰させる(S28)。次ぎに、ステップS28と同様、電源遮断時の処理(図8に示すステップS25の処理)により保存したレジスタの内容をCPU102の各レジスタに復帰させる(S29)。しかる後、復電ステータスフラグをONして(S30)、復電処理が終了する。
したがって、復電処理終了後はメイン制御部100のCPU102の状態とRAM106のワークエリアは、電源遮断時の状態に戻っているため電源遮断されたときからの処理を再開することができる。なお、図6に示すステップS05〜S14のいずれかの処理を再開したメイン制御部100では、賞球制御部200にコマンドを送信する前に、ステップS07の復電ステータスチェック処理が行われる(S07)。すなわち、復電ステータスフラグがONされているときは、CTC割込処理におけるコマンド送信処理(図7のステップS24の処理)が行われないようプログラムされているため、まずはステップS07の復電ステータスチェック処理が行われてから賞球制御部200にコマンドの送信が行われる。
【0043】
この復電ステータスチェック処理について、図10を参照して説明する。復電ステータスチェック処理では、まず、復電ステータスフラグがONされているか否かを判断する(S31)。復電ステータスフラグがONされていない場合〔ステップS31でNOの場合〕にはそのまま復電ステータスチェック処理を終了し、復電ステータスフラグがONされている場合〔ステップS31でYESの場合〕にはステップS32に進んで、球切れセンサ、満タンセンサの両者が共にOFFとなっているか否かを判断する(S32)。すなわち、球貯留タンク13が球切れ状態になっているか否か、及び、上皿や下皿が満タン状態になっているか否かを判断することで、払出装置30から賞球の払出が可能か否かを判断する。
そして、球切れセンサ及び満タンセンサが共にOFFとなっている場合〔ステップS32でYESの場合〕には、賞球可能な状態であるので賞球可コマンドをコマンド送信バッファに格納する(S35)。一方、球切れセンサ及び満タンセンサが共にOFFとなっていない場合〔ステップS32でNOの場合〕には、賞球不可能な状態であるので賞球不可コマンドをコマンド送信バッファに格納する(S33)。そして、これらステップS33又はステップS35の処理が終了すると、復電ステータスフラグがOFFされて(S34)、復電ステータスチェック処理が終了する。したがって、球切れ状態及び/又は満タン状態の場合には、賞球不可コマンドが賞球制御部200に送信されるため、払出装置30から賞球が払出されることは無い。
復電ステータスチェック処理が終了すると、復電フラグはOFFされているため、既に説明した通常処理と同様の処理がメイン制御部100で行われる。
【0044】
一方、賞球制御部200における復電処理は、メイン制御部100と略同様、図11に示すように、初期化処理が行われ(S40)、次いでRAM消去スイッチがONされたか否か(S41)、RAM206に異常があるか否かが判断される(S42)。しかる後、賞球制御部200は復電処理を開始する(S53)。
復電処理では、図15に示すように、電源遮断時の処理(図15のステップS58の処理)で記憶したスタックポインタを復帰させ(S61)、次いで電源遮断時の処理(図15のステップS58の処理)で記憶した全てのレジスタを回復し(S62)、復電処理を終了する。したがって、スタックポインタ及びレジスタの内容が電源遮断時の状態に回復され、賞球制御部200は電源遮断時からの処理が再開される。なお、賞球制御部200は、メイン制御部100から賞球可コマンドが送信されるまでは、モータ25を駆動するための駆動データを出力しないように構成されている。
【0045】
上述したことから明らかなように、本実施の形態に係るパチンコ機10では、停電信号が出力される前に停電予告信号が予め出力されるようになっているため、メイン制御部100及び賞球制御部200は予め停電信号の受信に備えて準備をすることができる。特に、本実施の形態では、停電予告信号受信後はメイン制御部100においては新たなコマンドの作成が行われず、また、賞球制御部200においては受信したコマンドの解析やモータ25を駆動するための駆動データの作成が行われない。このため、停電信号受信時においては、メイン制御部100がコマンド送信処理中であったり、賞球制御部200がモータ25を駆動する駆動データ出力処理中であることがなく、NMI端子で停電信号を受信して即座に停電処理を行うことができる。
また、予め各制御部100、200において停電信号の受信に備えて準備を行っているため、停電信号受信後の各制御部100、200が行う処理を短くすることができ、結果として通電遮断時から停電処理完了までの時間を短くすることができる。これにより、各制御部100、200に通電遮断後に電力を供給するバックアップ電源(コンデンサC1)の容量を小さくすることができる。
なお、本実施の形態に係るパチンコ機10では、復電時においてメイン制御部100が球切れ状態及び満タン状態でないことを確認してから賞球制御部200にコマンドが送信されるようになっている。したがって、賞球制御部200は賞球可能状態か否かが確認された後でのみ賞球が開始されるため、復電時において正常に賞球処理が行われる。
【0046】
以上、本発明の好適な一実施の形態について説明したが、本発明は上述した実施の形態に限られることなく、当業者の知識に基づいて種々の変更、改良を施した形態で実施することができる。
【0047】
例えば、上述した実施の形態においては、メイン制御部100及び賞球制御部200に本発明を適用した例であったが、当然のことながら本発明の技術は、他の制御部(特別図柄の変動表示する図柄表示器を制御する図柄制御部、効果音を発生するスピーカを制御する音制御部、効果光を発光するランプ制御部等)において停電処理を行う場合にも適用することができる。
【0048】
なお、上述した実施の形態は本発明をパチンコ機に適用した例であったが、本発明はこの他にも、例えば、アレンジホール機(一定数の鋼球を遊技盤上に射出して所定の当たり状態を成立させるもの)、スロットマシン、雀球遊技機、パチスロ機等の各種遊技機にも適用することができる。
【図面の簡単な説明】
【図1】 本実施の形態に係るパチンコ機の裏面側に配備される裏セット板11およびその付属物(払出装置30等)を示す背面図。
【図2】 図1に示すパチンコ機の制御部の構成を示すブロック図。
【図3】 電源部120の構成を説明するための図。
【図4】 停電検出部130の構成を説明するための図。
【図5】 停電検出部130から出力される停電予告信号と停電信号の出力タイミングを示すタイムチャート
【図6】 メイン制御部における処理を示すフローチャート。
【図7】 メイン制御部における処理を示すフローチャート。
【図8】 メイン制御部における処理を示すフローチャート。
【図9】 メイン制御部における処理を示すフローチャート。
【図10】 メイン制御部における処理を示すフローチャート。
【図11】 賞球制御部における処理を示すフローチャート。
【図12】 賞球制御部における処理を示すフローチャート。
【図13】 賞球制御部における処理を示すフローチャート。
【図14】 賞球制御部における処理を示すフローチャート。
【図15】 賞球制御部における処理を示すフローチャート。
【符号の説明】
10・・パチンコ機
27・・賞球検出センサ
29・・回転検出センサ
30・・払出装置
34・・回転球受け体
100・・メイン制御部
120・・電源部
130・・停電検出部
200・・賞球制御部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gaming machine that stores required information when energization from an external power source to a gaming machine is interrupted, and resumes the interrupted processing after the restoration of energization based on the stored information.
[0002]
[Prior art]
For example, for a highly-equipped gaming machine such as a pachinko machine, various electrical equipment provided in the gaming machine (in the case of a pachinko machine, a symbol display that variably displays a special symbol, a prize for awarding a prize ball) A control device for controlling a ball dispensing device or the like). This control device is operated by the power supplied from the external power supply connected to the gaming machine, so when sudden power failure or unexpected power off (when the external power supply and the gaming machine are cut off) ), Power is not supplied to the control device, and processing performed in the control device is interrupted. For this reason, even in this type of gaming machine, information related to the process being executed at the time of interruption of energization such as a power failure is temporarily stored in the storage device, and the interrupted process is resumed based on the information stored in this storage device after the power supply is restored. It is desired to have a function (information storage function).
Therefore, a power failure detection unit is provided that outputs a power failure signal when a power failure is detected in the gaming machine (interruption of power between the external power supply and the gaming machine), and the control device uses the power failure signal output from the power failure detection unit as a trigger. Development of a gaming machine that can save the game (power failure processing) and resume the game (power recovery processing) based on the saved information after the power failure is restored is under consideration.
[0003]
[Problems to be solved by the invention]
In such a gaming machine, since it is necessary for the control device to perform a power failure process after power-off with the external power supply, the control power supply is configured to supply power to the control device after power-off at least during power failure processing. There is a need. On the other hand, increasing the holding capacity of the control power supply during a power failure leads to an increase in circuit scale, and it is preferable to make it as small as possible from the viewpoint of cost and the like. Therefore, it is desired to shorten the time from when the power supply to the external power supply is interrupted until the power failure process is completed as short as possible.
On the other hand, a lot of power supply facilities are installed in a game store where a gaming machine is installed, and an instantaneous energization interruption may occur in the gaming machine due to the influence. For this reason, in order to prevent the power failure process from being started due to such an instantaneous power interruption, the power failure detection unit outputs a power failure signal when the external power source and the gaming machine are interrupted for a predetermined time. It is necessary to configure as follows.
Therefore, in order to shorten the time from when the power supply to the external power supply is cut off until the power failure processing is completed, it is required to shorten the time of the power failure processing itself. It was difficult to shorten the time required for power failure processing.
[0004]
The present invention has been made in view of the above circumstances, and its purpose is as follows. It is possible to properly handle power outages by optimizing the processing of the control device after the power supply between the external power supply and the gaming machine is cut off. Provide gaming machines.
[0005]
[Means and effects for solving the problems]
In order to solve the above-described problem, the gaming machine of the present application includes a power failure detection unit that outputs a first signal indicating that a state where the power supply between the external power source and the gaming machine is interrupted for a first predetermined time. In addition, when a power failure is detected by the power failure detection unit, a required information is stored, and a control unit that resumes the game based on the stored information after the energization recovery is provided. The gaming machine outputs a second signal to the control unit when the state where the external power supply and the gaming machine are cut off continues for a second predetermined time shorter than the first predetermined time. An output unit is further provided. The control unit includes a power failure process for storing information for resuming game processing when power from the external power source is cut off, and information stored by the power failure process when power from the external power source is resumed. Is programmed to execute a power recovery process that restarts the game process based on the game process, a loop process that is repeatedly executed during the game, and a timer interrupt process that is executed at regular intervals by interrupting the execution of the loop process. ing. The timer interrupt process includes a plurality of processes for executing a game process, and includes a timer update process for managing the game process time. The control unit further monitors whether the second signal is output from the second signal output unit, updates the power failure flag when receiving the second signal, and receives the second signal. When the power failure flag is cleared, the power failure flag Updated When the predetermined value is reached, the timer update process is not executed.
In the gaming machine, the control unit updates the power failure flag when receiving the second signal output from the second signal output unit. And the power outage flag Updated If it is the predetermined value, the timer update process is not executed. Therefore, the timer update process is not executed after the second signal is received and before the power failure process is executed. For this reason, a power failure process can be performed appropriately.
[0006]
The above gaming machine In the second control unit, the control unit creates and transmits a command according to the state of the gaming machine, and a second process performs a predetermined process based on the command transmitted from the first control device. There may be a control device. In such a case, the first control device Said second signal Receiving means is provided, and the receiving means Second signal It is preferable that a command is not created and / or transmitted from when the command is received until power is restored.
In the above gaming machine, Second signal No command is created and / or transmitted in the first control device from when the power is received until the power is restored. Therefore, during command transmission processing from the first control device to the second control device 1st signal Is output, and power failure processing is not started until this transmission processing is completed. 1st signal The problem that the processing time after output becomes long can be prevented.
In addition, The gaming machine mentioned above In the case where the first control device is configured not to create only a command, Second signal A command already created at the time of reception may be transmitted to the second control device. Therefore, in such a case, Second signal Is determined in consideration of the time required for command transmission / reception processing, 1st signal It is possible to make a state in which no command is transmitted when is output. As a result, the command transmission process of the first control device is interrupted, and a command reception error or the like does not occur in the second control device.
[0007]
The above gaming machine The first control device is further provided with a storage device capable of storing input information input to the first control device, and the receiving means includes Second signal It is preferable that input information received from when the power is received to when power is restored is stored in the storage device, and the stored input information is held until power is restored.
According to such a configuration, Second signal Since the input information received from when the power is received until the power is restored is stored and held in the storage device, the game can be resumed based on the retained information after the power is restored.
[0008]
Similarly, Game machine of this application In the first control device, the control unit creates and transmits a command according to the state of the gaming machine, and the second control performs a predetermined process based on the command transmitted from the first control device. In the case of having a device, the second control device Said second signal Receiving means is provided, and the receiving means Second signal It is preferable that a new process is not performed based on the command transmitted from the first control device until the energization is restored after the power is received.
In the above gaming machine, Second signal The second control device does not perform a new process based on the command transmitted from the first control device until the energization is recovered after receiving the signal. Therefore, while the second control device is starting a new process 1st signal Can be prevented, and the power failure process is not started until this process is completed.
Here, the above “new process” means that a command transmitted from the first control device is newly analyzed, and control data is created based on the analysis result. And set the created data In other words, it does not include a process for receiving a command transmitted from the first control device or a process for inputting various signals.
[0009]
In addition, the second control device is further provided with a storage device capable of storing input information and / or commands input to the second control device, and the receiving means includes Second signal The input information and / or command received from when the power is received until the power is restored is stored in the storage device, and the stored input information and / or command is held until the power is restored. It is characterized by being.
According to such a configuration, Second signal Since the input information and the command received from when the power is restored to when the power is restored are stored and stored in the storage device, the game can be resumed based on the retained information after the power is restored. it can.
[0010]
In addition, Each gaming machine mentioned above In a single power failure detection unit, both control devices 1st signal Is preferably output. If comprised in this way, the power failure process in both control apparatuses can be started synchronously.
[0011]
Also, Each gaming machine mentioned above The first control device is a main control device that controls the entire gaming machine, and the second control device is a payout that pays out game media to a player based on a command output from the main control device. It is possible to use a sub-control device that controls the device.
According to such a configuration, since the payout device for giving a privilege (payout of game media) to the player is correctly controlled (without causing a command take-in error, etc.) (power failure processing and return processing), Giving a loss (unpaid game media) is prevented.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
The present invention relates to a main control unit (corresponding to a first control device in claims) and a winning ball control unit (corresponding to a second control device in claims) in a first type pachinko machine. )), An embodiment in which the present invention is applied to the power failure process and the return process will be described with reference to FIGS. Here, FIG. 1 is a rear view showing a back set plate 11 and its accessories (dispensing device 30 and the like) arranged on the back side of the pachinko machine according to the present embodiment, and FIG. 2 is a pachinko shown in FIG. 3 is a block diagram showing the configuration of the control unit of the machine, FIG. 3 is a diagram for explaining the configuration of the power supply unit 120, FIG. 4 is a diagram for explaining the configuration of the power failure detection unit 130, FIG. FIG. 6 is a time chart for explaining the power failure warning signal output from the power failure detection unit 130 and the output timing of the power failure signal, FIGS. 6 to 10 are flowcharts of processing in the main control unit, and FIGS. It is a flowchart of the process in a ball | bowl control part.
[0013]
First, the dispensing device 30 provided in the pachinko machine 10 will be described.
As shown in FIG. 1, the payout device 30 is disposed on the back set plate 11 attached to the back side of the pachinko machine 10. In addition to the payout device 30, the back set plate 11 includes a ball storage tank 13 for storing a large number of pachinko balls, and a guide rail 14 for guiding the pachinko balls stored in the ball storage tank 13 to the payout device 30. Is provided. The guide rail 14 has two spherical passages formed in parallel inside and outside, although not shown.
[0014]
Further, 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 receiving body 34 provided near the downstream opening of the upper sphere guide path 31a, There are two lower sphere guide paths 31b arranged below the rotating 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 concave portions (ball receiving portions) 34a (six locations in the figure) that can temporarily receive one pachinko ball, and the upper ball guiding 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: shown in FIG. 2). 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. Since the rotating ball receivers 34 are formed in two rows (inside and outside) as already described, the pachinko balls are discharged from the inner and outer rotating ball receivers 34 to the lower guide path 31b. The timing at which pachinko balls are discharged from the two inner and outer rotating ball receivers 34 is adjusted so that the pachinko balls are not discharged from both rotating ball receivers 34 at the same time. That is, it is configured such that the discharge timing of the pachinko balls is shifted by providing the rotating ball receivers 34 provided inside and outside with a predetermined angle shifted from each other.
The upstream side portion of the lower ball guiding path 31b into which the pachinko balls discharged from the rotating ball receiving body 34 fall is divided into two, 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.
[0015]
As a result of this configuration, pachinko balls stored in the ball storage tank 13 reach the rotating ball receiver 34 from the bottom of the ball storage tank 13 through the guide rail 14 and the upper ball guide path 31a. 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 award ball guiding path 32a. . On the other hand, when paying out the pachinko balls 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. The pachinko balls dropped into the award ball guiding path 32a and the lending ball guiding path 32b flow into the payout ball guiding path 35, and an unillustrated upper plate (or lower plate) provided on the front surface of the pachinko machine 10 is used. ).
[0016]
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. That is, once for each rotation of the rotation angle at which one pachinko ball can be discharged from the ball receiving portion 34a (that is, 60 degrees in the rotating ball receiving body 34 according to the present embodiment having the six ball receiving portions 34a). The rotation detection signal is output to the winning ball control unit 200. The mechanism of the photo detector itself may be the same as that provided in a conventional pachinko machine (see, for example, Japanese Patent Laid-Open No. 9-1555035), and does not characterize the present invention. Description is omitted.
[0017]
Furthermore, a prize ball detecting path 27a (typically a proximity switch) for detecting a pachinko ball passing through the taxiway is provided in the prize ball guiding path 32a of the payout device 30. 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. When a pachinko ball passes through the prize ball guiding path 32a, a prize ball detection signal is output to the main control unit 100 and the prize ball control unit 200 described later.
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. When a pachinko ball passes through the lending ball guiding path 32b, a lending ball detection signal is output to the main control unit 100 and the prize ball control unit 200 described later.
Note that the above-described ball storage tank 13 is provided with a ball break detection sensor for detecting a ball break state in which no pachinko balls are stored in the ball storage tank. In addition, in the trays that receive the pachinko balls paid out from the dispensing device 30 (upper and lower plates provided on the front surface of the pachinko machine 10), the pachinko balls are fully stored in these trays. A full-ball detection sensor is provided for detecting
[0018]
Next, the configuration of a control system that controls the dispensing device 30 configured as described above will be described with reference to FIGS.
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.
[0019]
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 supply power having a voltage corresponding to each electrical component equipped in the pachinko machine 10, and a power failure and other reasons. When the energization from the external power source is interrupted by the power failure detection unit 130 that outputs a power failure warning signal and a power failure signal toward each control unit (main control unit 100, prize ball control unit 200, etc.) of the pachinko machine 10 Corresponding to a power failure detection unit and a power failure warning signal output unit as defined in the claims).
As shown in FIG. 3, the voltage transformer 140 includes rectifier circuits 142a and 142b that rectify the waveform of the AC 24V power supply, and smoothing circuits (diodes D1, D2, and D2) that smooth the pulsating waveform 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.
In such a voltage transformer 140, a signal of + 5V generated by the constant voltage circuit IC1 is supplied to the main controller 100 and the prize ball controller 200 at normal times. In addition, when the energization is cut off, such as a power failure, the power stored during energization of the capacitor C1 is supplied to the main control unit 100 and the prize ball control unit 200. It is possible to perform the process. Therefore, at the time of a power failure, the capacitor C1 functions to hold the voltage while the control unit performs the power failure process.
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 RAMs 106 and 206 of the main control unit 100 and the prize ball control unit 200 when the energization is interrupted such as a power failure, and the information stored in the RAMs 106 and 206 is held. Therefore, the capacitor C5 is a power source for storing information.
[0020]
As shown in FIG. 4, the power failure detection unit 130 converts the voltage (+12 V) supplied from the three-terminal regulator IC 4 (see FIG. 3) into a voltage for operating each circuit provided in the power failure detection unit 130. The voltage transformed by the power supply circuit 300 includes a comparison circuit 304, a latch release signal generation circuit 306, an oscillation circuit 308, a frequency division circuit 310, a frequency division circuit 320, and a latch circuit 312 via a start circuit 302. , And supplied to the delay circuit 314.
The start circuit 302 controls the timing at which the voltage adjusted by the power supply circuit 300 is supplied to each circuit when the power is turned on or when the power is restored. Specifically, the start circuit 302 first includes a latch circuit 312 and a delay circuit 314. Then, the oscillator circuit 308, the frequency divider circuit 310, the frequency divider circuit 320, the comparison circuit 304, and the latch release signal generation circuit 306 are controlled to be supplied in this order.
The comparison circuit 304 is a circuit that is connected to the AC power supply AC and detects a half wave of the AC power supply AC, and the clock signal is divided into the frequency dividing circuit 310 and the frequency dividing circuit while the half wave of the AC power supply AC is detected. To 320. In addition, the comparison circuit 304 outputs a signal to the latch release signal generation circuit 306 when it detects a half wave of the AC power supply AC from a state where the half wave of the AC power supply AC is not detected. When the signal output from the comparison circuit 304 is input, the latch release signal generation circuit 306 outputs a signal for releasing the latch state of the latch circuit 312 to the latch circuit 312 after a predetermined time.
The frequency dividing circuit 310 is a circuit that divides the 50 kHz signal generated by the oscillation circuit 308. That is, the signal is reset every time the clock signal output from the comparison circuit 304 is input, and the signal output from the oscillation circuit 308 in a state where the clock signal is not input from the comparison circuit 304 (a state where the waveform of the AC power supply AC is interrupted). The signal is output to the latch circuit 312 when the frequency is divided by 8192. When the signal output from the frequency dividing circuit 310 is input, the latch circuit 312 latches (ON) the signal until the above-described latch release signal is input. Therefore, when the latch circuit 312 is turned on, the transistor 316 is turned on, and similarly, the transistor 318 is turned on via the delay circuit 314. Therefore, a power failure signal is output at the timing when the transistor 316 is turned on, and the voltage control signal is output with a predetermined time delay after the power failure signal is output. This voltage control signal is input to the constant voltage circuits IC1, IC2, and IC3 of the power supply unit 120 and controls these constant voltage circuits IC1, IC2, and IC3. That is, the output of the constant voltage circuit IC1 is stopped by a voltage control signal so that each control unit is surely reset at the time of a power failure, and the constant voltage circuits IC2 and IC3 used in the input processing circuit and the output processing circuit so as not to induce a failure. At the same time, the output is controlled to be stopped by this voltage control signal.
Similarly to the frequency dividing circuit 310, the frequency dividing circuit 320 divides the 50 kHz signal generated by the oscillation circuit 308, and is reset every time the clock signal output from the comparison circuit 304 is input. In the state where the clock signal is not input from the comparison circuit 304 (the state where the waveform of the AC power supply AC is interrupted), the frequency division is continued. A signal is output to the transistor 322 when the signal generated by the oscillation circuit 308 is divided by 4096. When the transistor 322 is turned on by this signal, a power failure notice signal is output.
[0021]
Therefore, the power failure detection unit 130 configured as described above outputs a power failure warning signal and a power failure signal at the output timing shown in FIG. That is, as shown in FIG. 5A, when the waveform of the AC power supply AC is interrupted (a state where no clock signal is output from the comparison circuit 304), a power failure warning signal is output (ON) at the time of 4096 frequency division from that time. Is done. Then, the power failure signal is output (ON) when the frequency is further divided by 4096 after the power failure notification signal is output (when the frequency is divided by 8192 from the occurrence of the power failure), and the power failure notification signal is simultaneously turned OFF. Therefore, in this pachinko machine 10, a power failure warning signal is output after a predetermined time (after dividing 4096) after the energization with the AC power supply AC (external power supply) is cut off, and after a predetermined time has passed (after 4096 dividing). ) Will output a power failure signal.
As shown in FIG. 5B, when the energization is restored before a predetermined time (divided by 4096) has elapsed since the power failure warning signal was output (the waveform of the AC power supply AC is input to the comparison circuit 304). In the case), a signal is output from the comparison circuit 304, and the frequency divider 310 and the frequency divider 320 are reset. For this reason, a power failure signal is not output, and the output power failure warning signal is also turned off.
[0022]
Next, the configuration of the control unit (main control unit 100, prize ball control unit 200) to which the power failure notice signal and the power failure signal are input will be described.
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, a symbol display (not shown) arranged in the center of the game board. ) The symbol display control unit that performs symbol variation processing, the sound control unit that performs processing for generating sound effects and BGM from the speaker, the lamp control unit that performs lighting driving processing of the lamps mounted inside and outside the game board, etc. Electrically connected. The mechanism 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 connected to the CPU 102 via a bus 114, a RAM 106, an input processing circuit 108, a communication control circuit 112, and the like. It is a computer.
The CPU 102 controls the pachinko machine 10 by executing a game control program stored in the ROM 104. This game control program includes creation of various commands to be transmitted to the prize ball control unit 200 and the like, and a control program for transmitting the created commands to each control unit. The RAM 106 stores various data and input / output signals.
The input processing circuit 108 receives signals output from sensors (typically proximity switches) such as a general winning port sensor 54 and a specific winning port sensor 56 that detect pachinko balls that have won in various winning ports, and performs main control. It has a function of converting into a data format that can be processed in the unit 100. The input processing circuit 108 also receives a power failure warning signal and power failure signal output from the power failure detection unit 130 described above, and a detection signal output from the prize ball detection sensor 27 and the lending ball detection sensor 28 provided in the payout device 30. It is supposed to be. 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 the prize ball control unit 200 or the like.
[0023]
The prize ball control unit 200 is a control device that controls the operation of the payout device 30 based on the command transmitted from the main control unit 100 described above. Basically, as with the main control unit 100, the CPU 202, the CPU 202, The microcomputer includes a ROM 204, a RAM 206, an input processing circuit 210, a communication control circuit 208, an output processing circuit 212, and the like connected via a bus 214.
The CPU 202 performs prize ball control and the like of the payout device 30 according to a control program stored in the ROM 204. Various data and input / output signals are stored in the RAM 206.
The input processing circuit 210 can receive the detection signals output from the rotation detection sensor 29, the lending ball detection sensor 28, and the prize ball detection sensor 27 provided in the payout device 30 and process them in the prize ball control unit 200. Has a function to convert to a data format. The input processing circuit 210 also receives a power failure warning signal and a power failure signal output from the power failure detection unit 130 described above.
The output processing circuit 212 is a circuit that outputs a drive signal for driving the motor 25, and the communication control circuit 208 is a circuit for receiving a command transmitted from the main control unit 100.
[0024]
Next, processing performed by the main control unit 100 and the prize ball control unit 200 configured as described above will be described. First, processing when the pachinko machine 10 is powered on (including when energized) will be described.
[0025]
(1) Power-on processing (main control unit)
When the power is turned on, energization is started from the power supply unit 120 to the control units 100 and 200. And when the voltage applied to each control part 100 and 200 turns into a predetermined voltage, each control part 100 and 200 will start the process demonstrated below. First, the processing of the main control unit 100 will be described with reference to FIGS.
The main control unit 100 transmits a winning ball command generated based on a winning detection process for detecting a pachinko ball won in the winning opening and a winning ball detected by the winning detection process to the winning ball control unit 200. Command and signal input / output processing, such as a prize ball command transmission process and a prize ball detection process for detecting a pachinko ball paid out from the payout device 30, are provided in the main control unit 100 separately from the normal process. This is performed by interrupt processing at predetermined intervals (4 ms in the present embodiment) by the CTC counter. Therefore, first, normal processing in the main control unit 100 will be described first with reference to FIG. 6, and then interrupt processing by the CTC counter (hereinafter simply referred to as CTC interrupt processing) will be described with reference to FIG.
[0026]
As shown in FIG. 6, the main control unit 100 first performs initialization processing (S01), and then determines whether or not the RAM erase switch is turned on (output) (S02). Here, the RAM erase switch is a switch operated to erase stored information when the power is shut off. That is, it is a switch that is operated when it is not necessary to resume the game using the stored information (for example, when the business is turned off the next day after the power is turned off due to the end of business), and is operated when the power to the pachinko machine 10 is turned on. Thus, a signal is output to the main control unit 100 and the prize ball control unit 200. Therefore, in step S02, it is determined whether or not the main control unit 100 has received a signal output by operating the RAM erase switch.
If the RAM erase switch has been operated (YES in step S02), the process proceeds to step S04. If the RAM erase switch has not been operated (NO in step S02), then there is an abnormality in the RAM 106. Is determined (S03). In other words, if the information stored in the RAM 106 is destroyed for some reason, the process cannot be resumed using that information, so it is first determined whether the information in the RAM 106 can be used. As a specific method, the determination is made based on whether or not the checksum value (added value obtained by adding the values of the registers in the RAM 106) matches the normal value. If there is an abnormality in the RAM 106 (YES in step S03), the process proceeds to step S04. If there is no abnormality in the RAM 106 (NO in step S03), the process is resumed based on the stored information. The process proceeds to electric processing (S18). The contents of the power recovery process will be described later.
In step S04, the main control unit 100 clears the information stored in the RAM 106 (S04). After these processes are completed, the main control unit 100 shifts to a main process described below.
[0027]
In the main process, first, it is determined whether or not the power failure notice signal is ON (S05). Specifically, it is determined whether a power failure warning signal is received at the input port (normal reception port) of the main control unit 100. If a power failure notice signal has been received (YES in step S05), the process proceeds to step S15.
On the other hand, if the power failure notice signal has not been received (NO in step S05), the process proceeds to step S06, and the power failure notice flag is turned off (S06). When the power failure notice flag is turned off, a power failure status check process is performed (S07). The power failure status check process is performed only when the power recovery status flag is turned ON by the power recovery process in step S18, and will be described in the power recovery process described in detail later.
When step S07 ends, a switch input fetch process is performed (S09). Specifically, the input information (signals output from the general prize opening sensor 54, the specific prize opening sensor 56, the prize ball detection sensor 27, etc.) taken into the input port in the CTC interrupt processing described later is stored in a predetermined register of the RAM 106. Process to import to.
When step S09 ends, next, output data creation processing is performed (S10). In this output data creation process, it is provided on the front surface of the game board based on the information (detection signals output from the general winning sensor 54, the specific winning sensor 56, etc.) acquired by the switch input capturing process in step 09 described above. Output data (driving data) for operating an electric accessory such as a prize winning opening (not shown) is created. The created output data is output to each electrical device by CTC interrupt processing.
When the output data creation process is completed, a command creation process is performed (S11). In this command creation process, the information (detection signals output from the general winning sensor 54, the specific winning sensor 56, the winning ball detection sensor 27, etc.) acquired by the switch input capturing process in step 09 described above, or in step S08. Based on the information on whether or not the winning ball is possible, a command to be transmitted to each sub-control unit such as the winning ball control unit 200, the symbol control unit, the sound control unit, and the 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 sound generation is created, and a lamp lighting command for commanding lamp decoration is created in the lamp control unit. The command created in step S11 is transmitted to each control unit by CTC interrupt processing.
When the command creation processing is completed, external information creation processing is then performed (S12). In this external information creation process, information creation for notifying the external computer of the state of the pachinko machine 10 such as the number of jackpots and the probability fluctuation is performed. The created information is also output from the main control unit 100 by the CTC interrupt process.
Next, the process proceeds to step S13, where initial value random numbers are created / updated and lost symbols are created / updated (S13). Finally, error processing is performed to drive the symbol display device, lamps, speakers, etc. in order to notify the player, hall clerk, etc. of the ball storage tank 13 when it is out of ball or when the upper and lower plates are full. (S14). When the error process in step S14 is completed, the process returns to step S05 and the processes from step S05 to step S14 are repeated.
[0028]
On the other hand, when the power failure notice signal is turned on (in the case of YES at step S05), first, the power failure notice flag is turned on (S15). Thereafter, only the switch input fetch process (S16) and the error process (S17), which are the same processes as the processes of steps S09 and S14 described above, are performed. Then, returning to the process of step S05, the processes from step S05 to step S17 are repeated.
Therefore, when the power failure warning signal is turned on, the processing from step S06 to step S08 (processing to determine whether a winning ball is possible) and the processing from step S10 to step S13 (from the main control unit 100 to another control unit). The processing for creating the information to be output to, etc.) will not be performed.
[0029]
Next, the CTC interrupt process will be described with reference to FIG.
In the CTC interruption process, as shown in FIG. 7, a switch input process is first performed (S19). This switch input process is a process of taking the signals output from the general prize opening sensor 54, the specific prize opening sensor 56, the prize ball detection sensor 27, and the like into the input port of the main control unit 100. This captured signal is stored in a predetermined area of the RAM 106 by the switch input capturing process in steps S09 and S16 described above. Therefore, even after receiving the power failure warning signal, if there is input information (detection signal) that is output from the general winning port sensor 54 or the like and input to the main control unit 100 with respect to, for example, a fired pachinko ball, this information is stored in the RAM 106 according to a predetermined information. It is stored in the area, and the game is resumed based on this information when power is restored.
When the switch input process ends, a process for updating the jackpot random number (a random number for drawing whether or not the jackpot state is set to open the jackpot is opened) is performed (S20), and then an output data output process is performed (S20). S21). In the output data output process, the output data created in the process of step S10 (see FIG. 6) described above is output to the electrical equipment (solenoid or the like).
When step S21 ends, it is next determined whether or not the power failure notice flag is ON (S22). If the power failure notice flag is ON (YES in step S22), the process proceeds to step S24. If the power failure notice flag is OFF (NO in step S22), timer update processing is performed. Is performed (S23). In this timer update process, the soft timer used for each process performed in the main control unit 100 is updated. Therefore, only when the power failure notice flag is OFF, the soft timer is updated and new processing is performed. When these processes are completed and the process proceeds to step S24, a command transmission process for transmitting a command to each control unit (prize ball control unit 200, symbol control unit, etc.) is performed (S24). This command transmission process is transmitted by setting a command to be transmitted to the output port in the same manner as the command transmission process in the conventional gaming machine, and then outputting a write signal from the main control unit 100.
[0030]
As is apparent from the above description, the main control unit 100 takes in detection signals and the like output from various sensors and the like by the CTC interrupt processing into the input port. The signal taken into the input port is stored in the RAM 106 in a normal main process, and a prize ball command to be transmitted to the prize ball control unit 200 is created based on the stored information. Then, the created prize ball command and the like are transmitted to the prize ball control unit 200 in the CTC interruption process.
In addition, in the main control unit 100, information (commands) output to other control units and external devices is not created when the power failure notification flag is ON (when a power failure notification signal is received). . Therefore, after the power failure notice flag is turned ON, only commands that have already been created are output from the main control unit 100 by CTC interrupt processing.
[0031]
(2) Processing at power-on (prize ball control unit)
Next, the operation of the prize ball control unit 200 will be described with reference to FIGS. The prize ball control unit 200 also outputs a drive signal for driving the motor 25 of the payout device 30 by an interrupt process by a CTC counter, which is performed separately from the normal process, similarly to the main control unit 100, Processing for taking in detection signals output from sensors such as the rotation detection sensor 29 and the prize ball detection sensor 27 into the input port is performed, and also by interruption processing by a write signal (INT terminal input) output from the main control unit 100. Command reception processing is performed. Therefore, first, normal processing in the winning ball control unit 200 will be described first with reference to FIG. 11, and then command reception processing and interruption processing by the CTC counter will be described with reference to FIGS.
[0032]
As shown in FIG. 11, in the prize ball control unit 200 as well as the main control unit 100, an initialization process is first performed (S40), and then it is determined whether or not the RAM erase switch is turned on (output) (see FIG. 11). S41). If the RAM erase switch is turned on (YES in step S41), the process proceeds to step S43. If the RAM erase switch is not turned on (NO in step S41), there is next an abnormality in the RAM 206. Is determined (S42).
If there is an abnormality in the RAM 206 (YES in step S42), the process proceeds to step S43. If there is no abnormality in the RAM 206 (NO in step S42), the process is resumed based on the stored information. The process proceeds to the power recovery process (S53). The power recovery process in the prize ball control unit 200 will be described in detail later as in the main control unit 100.
In step S43, the prize ball control unit 200 clears the information stored in the RAM 206 (S43), and proceeds to a main process described below.
[0033]
In the main process, first, it is determined whether or not the power failure notice signal is ON (S44). Specifically, the determination is made based on whether or not a power failure warning signal is received at the input port (normal reception port) of the prize ball control unit 200. If a power failure notification signal is received (YES in step S44), the process proceeds to step S50. If a power failure notification signal is not received (NO in step S44), the process proceeds to step S45, and a power failure notification flag is displayed. Is turned off (S45).
When the power failure notice flag is turned OFF, a switch input taking process is performed (S46). Specifically, from the input information (rotation detection sensor 29, rent detection sensor 28, prize ball detection sensor 27, etc.) taken into the input port (normal reception port) by the CTC interruption processing (processing in step S56 in FIG. 13). The output signal) is taken into a predetermined register of the RAM 206.
When step S46 is completed, an analysis process of the command (command received in the command reception process of FIG. 12) transmitted from the main control unit 100 is performed (S31). That is, the command transmitted from the main control unit 100 is any type of command (for example, a winning ball permission command that allows the starting of a winning ball, or a winning ball that prohibits a winning ball due to a cause such as running out of a ball or full tank) A command, or a prize ball command or the like commanding the payout of a predetermined number of balls).
When this command analysis processing is completed, next, drive data creation processing for driving the motor 25 is performed (S48). In other words, the motor 25 pays out an appropriate number of pachinko balls based on the command (prize ball command) analyzed by the command analysis processing in step S47 and the information (information on the number of payouts) of the various sensors 27 taken in in step S46. Drive data for driving is created.
When the drive data creation process ends, an error process is then performed (S49). This error process is a process of notifying a hall clerk of an abnormality when there is some abnormality (for example, when a prize ball is paid out too much from the payout device 30). When this error process is performed, the process returns to step S44 again, and the processes from S44 are repeated.
[0034]
On the other hand, if a power failure notification signal is received (YES in step S44), the power failure notification flag is first turned ON (S15). Thereafter, only the switch input capturing process (S51) and the error process (S52), which are the same processes as the processes in steps S46 and S49 described above, are performed. When step S52 ends, the process returns to step S44 and the processes from step S44 are repeated.
Therefore, when the power failure warning signal is turned on, the prize ball control unit 200 does not perform the processing of step S47 and step S48 (command analysis processing and drive data creation processing).
[0035]
Next, a command reception process for receiving a command transmitted from the main control unit 100 will be described based on FIG. 12, and a CTC interrupt process will be described based on FIG.
In the command reception process shown in FIG. 12, first, it is confirmed whether or not the command transmitted from the main control unit 100 is received at the input port of the prize ball control unit 200, that is, whether or not the main control unit 100 has transmitted the command. (S54). Specifically, whether or not the main control unit 100 is in a transmission state is confirmed by a select signal output from the main control unit 100.
If the main control unit 100 is in the transmission state (YES in step S54), the command received at the input port is stored in the command buffer (S55), and the command reception process is terminated. On the other hand, if the main control unit 100 is not in the transmission state (NO in step S54), the command reception process is terminated as it is.
Further, in the CTC interruption process shown in FIG. 13, first, a switch input process is performed in which signals output from various sensors provided in the payout device 30 are taken into the input port (S19). Specifically, a process is performed in which detection signals output from the winning ball detection sensor 27, the rental ball detection sensor 28, and the rotation detection sensor 29 are taken into the input port. When this switch input process is completed, a process for outputting payout motor drive data for driving the motor 25 created in step S48 of FIG. 11 is performed (S57). Thereby, the motor 25 is driven and a predetermined number of pachinko balls are paid out.
[0036]
As is apparent from the above description, the winning ball control unit 200 performs the command reception process shown in FIG. 12 by the interrupt process (INT terminal input) based on the write signal output from the main control unit 100 and receives the received command. The command is analyzed in the normal processing shown in FIG. 11, and drive data is created. Then, this drive data is output to the motor 25 by the CTC interruption process shown in FIG. 13, and a predetermined number of pachinko balls are paid out from the payout device 30.
When the power failure warning signal is received, the prize ball control unit 200 receives detection signals output from the various sensors 27, 28, and 29, loads it into the RAM 206, and receives a command transmitted from the main control unit 100. The command analysis process and the drive data creation process are not performed based on the acquired information and the received command. However, for the drive data created before receiving the power failure notice signal, the drive control of the motor 25 is performed by the CTC interruption process after receiving the power failure notice signal. However, if there is input information (detection signal) from the winning ball detection sensor 27 or the rental ball detection sensor 28 regarding the pachinko ball that has been paid out even after the power failure warning signal is received, this information is stored in a predetermined area of the RAM 106. The game is resumed based on this information when power is restored.
[0037]
(3) Processing at power-off (main control unit, prize ball control unit)
Next, the operation of the pachinko machine 10 when the power supply to the pachinko machine 10 is cut off due to a power failure or unexpected power OFF will be described focusing on the processing of the main control unit 100 and the prize ball control unit 200.
When power supply from the external power source to the pachinko machine 10 is interrupted, first, a power failure warning signal is output from the power failure detection unit 130 provided in the power source unit 120 to the main control unit 100 and the prize ball control unit 200. The power failure warning signal output from the power failure detection unit 130 is input to input ports (normal reception ports) of the main control unit 100 and the prize ball control unit 200. When the power failure warning signal is received by each of the control units 100 and 200, as described above, the main control unit 100 performs only the switch input capturing process (step S16 in FIG. 6) and the error process (step S17 in FIG. 6). Is done. Similarly, in the prize ball control unit 200, as already described, the detection signal output from the various sensors 27, 28, and 29 is loaded into the RAM 206, and the command received from the main control unit 100 is received. Only done.
Then, when a predetermined time elapses after the power failure notice signal is output, the power failure detection unit 130 outputs a power failure signal. This power failure signal is received by the NMI terminal (non-massable interrupt terminal) of the main control unit 100 and the prize ball control unit 200, whereby each control unit 100, 200 performs the power failure process described below. Note that the power supplied to the main control unit 100 and the prize ball control unit 200 during a predetermined time after the power failure signal is output (time required for performing the power failure process) after the interruption of the power supply to the AC AC power supply is as follows. As described above, the capacitor C1 of the power supply unit 120 is covered by the electric power stored at the time of energization.
[0038]
First, the process performed in the main control part 100 which received the power failure signal is demonstrated based on FIG.
As shown in FIG. 8, the main control unit 100 that has received the power failure signal at the NMI terminal first stores the register information of the CPU 102 and the stack pointer information in the RAM 106 in order to resume the process interrupted when the power supply is restored. Store in the area (S25). Then, access to the RAM 106 is prohibited so that the work information and the information are not rewritten (S27). Thereby, the processing of the main control unit 100 at the time of power-off is completed.
Note that, when power is cut off, power is supplied to the RAM 106 from an information storage power supply (configured by the capacitor C5) provided in the power supply unit 120 separately, and the information stored in the RAM 106 is held for a predetermined time.
[0039]
Also, as shown in FIG. 14, the prize ball control unit 200 that has received the power failure signal, first, similar to the main control unit 100, first, the register information of the CPU 202 and the stack pointer are restarted in order to resume the processing interrupted when the power supply is restored. Is stored in a predetermined area of the RAM 106 (S58). Then, access to the RAM 206 is prohibited so that the work information and the information are not rewritten (S60). Thereby, the process of the prize ball control unit 200 at the time of power-off is completed.
[0040]
As is clear from the above, when the main control unit 100 receives the power failure notice signal, the information (command) output to the prize ball control unit 200 and the external device is not created, and the prize ball control unit 200 Then, the drive data of the motor 25 is not created. Therefore, when the power failure signal is received, no other processing is performed in the main control unit 100 and the prize ball control unit 200. Therefore, the power failure signal is received at the NMI terminal and the processing after the power failure signal is received can be performed immediately. it can.
In addition, for example, when a power failure occurs during command transmission, the processing after receiving the power failure signal is performed until at least the transmitted command is received, or when the dispensing motor 25 is being driven, it may have already been paid out. Since it is not necessary to perform monitoring processing of the pachinko balls that cannot be performed, it is only necessary to store information necessary for power recovery processing in a predetermined area of the RAMs 106 and 206 and prohibit access to the RAMs 106 and 206. Can be finished in time.
[0041]
(4) Processing when power is restored (main control unit, prize ball control unit)
Next, the processing of the main control unit 100 and the prize ball control unit 200 when the processing is restarted using the information stored in the RAM 106, 206, etc. by the processing at the time of power-off described above will be described with reference to FIGS. Explanation will be made with reference to FIG. When the game is resumed from the power-off state using the information stored in the pachinko machine 10, the power to the pachinko machine 10 is turned on without operating the RAM erase switch.
[0042]
First, processing in the main control unit 100 will be described. As shown in FIG. 6, when the power supply is started, the main control unit 100 first performs an initialization process (S01), and then determines whether or not the RAM erase switch is turned on (S02). Whether or not has occurred is determined (S03). Thereafter, power recovery processing for starting the game is started from the state when the power is shut off (S18). The power recovery process in the main control unit 100 will be described with reference to FIG.
As shown in FIG. 9, the main control unit 100 first returns the information of the stack pointer saved by the process at the time of power-off (the process of step S25 shown in FIG. 8) to the CPU 102 (S28). Next, as in step S28, the contents of the registers saved by the power-off process (step S25 shown in FIG. 8) are returned to the registers of the CPU 102 (S29). Thereafter, the power recovery status flag is turned on (S30), and the power recovery processing is completed.
Therefore, after the power recovery process is completed, since the state of the CPU 102 of the main control unit 100 and the work area of the RAM 106 have returned to the state at the time of power-off, the processing after the power-off can be resumed. In addition, in the main control unit 100 that has restarted one of the processes in steps S05 to S14 illustrated in FIG. 6, the power recovery status check process in step S07 is performed before the command is transmitted to the prize ball control unit 200 (S07). ). That is, when the power recovery status flag is ON, since the command transmission process (the process of step S24 in FIG. 7) in the CTC interrupt process is not performed, the power recovery status check in step S07 is performed first. After the processing is performed, a command is transmitted to the prize ball control unit 200.
[0043]
The power recovery status check process will be described with reference to FIG. In the power recovery status check process, first, it is determined whether or not the power recovery status flag is ON (S31). If the power recovery status flag is not turned on (NO in step S31), the power recovery status check process is terminated, and if the power recovery status flag is turned on (YES in step S31). Proceeding to step S32, it is determined whether both the ball break sensor and the full tank sensor are OFF (S32). That is, it is possible to pay out a prize ball from the payout device 30 by determining whether or not the ball storage tank 13 is out of ball and whether or not the upper plate and the lower plate are full. Determine whether or not.
If both the ball break sensor and the full sensor are OFF (YES in step S32), a winning ball possible command is stored in the command transmission buffer because a winning ball is possible (S35). On the other hand, if neither the ball break sensor nor the full sensor is OFF (NO in step S32), a prize ball impossible command is stored in the command transmission buffer because a prize ball is impossible (S33). . When the processing in step S33 or step S35 is completed, the power recovery status flag is turned off (S34), and the power recovery status check processing is completed. Therefore, when the ball is out and / or full, a prize ball disabling command is transmitted to the prize ball control unit 200, so that no prize ball is paid out from the payout device 30.
When the power recovery status check process ends, the power recovery flag is turned off, so that the main control unit 100 performs the same process as the normal process described above.
[0044]
On the other hand, in the power recovery process in the winning ball control unit 200, as in the main control unit 100, as shown in FIG. 11, an initialization process is performed (S40), and then the RAM erase switch is turned on (S41). It is determined whether there is an abnormality in the RAM 206 (S42). Thereafter, the winning ball control unit 200 starts power recovery processing (S53).
In the power recovery process, as shown in FIG. 15, the stack pointer stored in the process at the time of power shutdown (step S58 in FIG. 15) is restored (S61), and then the process at the time of power shutdown (step S58 in FIG. 15). All the registers stored in step (2) are restored (S62), and the power recovery process is terminated. Accordingly, the contents of the stack pointer and the register are restored to the state when the power is shut off, and the winning ball control unit 200 resumes the processing from the time when the power is shut off. The winning ball control unit 200 is configured not to output driving data for driving the motor 25 until a winning ball possible command is transmitted from the main control unit 100.
[0045]
As is clear from the above description, in the pachinko machine 10 according to the present embodiment, the power failure warning signal is output in advance before the power failure signal is output. The controller 200 can prepare in advance for the reception of the power failure signal. In particular, in the present embodiment, after receiving the power failure warning signal, the main control unit 100 does not create a new command, and the winning ball control unit 200 analyzes the received command and drives the motor 25. The drive data is not created. For this reason, when the power failure signal is received, the main control unit 100 is not in the process of transmitting a command, and the prize ball control unit 200 is not in the process of outputting the drive data for driving the motor 25. Can be processed immediately after receiving the power.
In addition, since the control units 100 and 200 are prepared in advance for receiving the power failure signal, the processing performed by the control units 100 and 200 after receiving the power failure signal can be shortened. The time from power failure processing to completion of power failure processing can be shortened. Thereby, the capacity | capacitance of the backup power supply (capacitor C1) which supplies electric power after interruption | blocking electricity supply to each control part 100,200 can be made small.
In the pachinko machine 10 according to the present embodiment, the command is transmitted to the winning ball control unit 200 after confirming that the main control unit 100 is not out of the ball and full in the power recovery. ing. Accordingly, the prize ball control unit 200 starts the prize ball only after confirming whether or not the prize ball is ready, so that the prize ball processing is normally performed at the time of power recovery.
[0046]
The preferred embodiment of the present invention has been described above, but the present invention is not limited to the above-described embodiment, and may be implemented in various modified and improved forms based on the knowledge of those skilled in the art. Can do.
[0047]
For example, in the above-described embodiment, the present invention is applied to the main control unit 100 and the prize ball control unit 200. However, it should be understood that the technology of the present invention can be applied to other control units (special symbols). The present invention can also be applied to a case where a power failure process is performed in a symbol control unit that controls a symbol display for variable display, a sound control unit that controls a speaker that generates sound effects, a lamp control unit that emits effect light, or the like.
[0048]
The embodiment described above is an example in which the present invention is applied to a pachinko machine. However, the present invention is not limited to this, for example, an arrangement hall machine (a predetermined number of steel balls are injected onto a game board to It can also be applied to various gaming machines such as slot machines, sparrow ball machines, and pachislot machines.
[Brief description of the drawings]
FIG. 1 is a rear view showing a back set plate 11 and its accessories (dispensing device 30 and the like) 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 a configuration of a power supply unit 120;
4 is a diagram for explaining the configuration of a power failure detection unit 130. FIG.
FIG. 5 is a time chart showing a power failure warning signal output from the power failure detection unit 130 and the output timing of the power failure signal.
FIG. 6 is a flowchart showing processing in the main control unit.
FIG. 7 is a flowchart showing processing in the main control unit.
FIG. 8 is a flowchart showing processing in the main control unit.
FIG. 9 is a flowchart showing processing in the main control unit.
FIG. 10 is a flowchart showing processing in the main control unit.
FIG. 11 is a flowchart showing processing in a prize ball control unit.
FIG. 12 is a flowchart showing processing in a prize ball control unit.
FIG. 13 is a flowchart showing processing in a prize ball control unit.
FIG. 14 is a flowchart showing processing in a prize ball control unit.
FIG. 15 is a flowchart showing processing in a prize ball control unit.
[Explanation of symbols]
10. Pachinko machine
27 .. Prize ball detection sensor
29..Rotation detection sensor
30 .. Dispensing device
34 .. Rotating ball receiver
100 .. Main control part
120 .. Power supply
130 .. Power failure detection part
200 ・ ・ Prize ball control unit

Claims (5)

外部電源と遊技機との通電が遮断された状態が第1所定時間継続したときにその旨を示す第1信号を出力する停電検出部を備えており、その停電検出部で停電が検出されたときに所要の情報を保存すると共に、通電回復後にその保存した情報に基づいて遊技を再開する制御部を備えている遊技機において、
外部電源と遊技機との通電が遮断された状態が第1所定時間よりも短い第2所定時間継続したときに、前記制御部に向かって第2信号を出力する第2信号出力部がさらに設けられており、
前記制御部は、
外部電源からの通電が遮断されたときに、遊技処理を再開するための情報を保存する停電処理と、
外部電源からの通電が再開されたときに、停電処理により保存した情報に基づいて遊技処理を再開させる復電処理と、
遊技中に繰り返し実行されるループ処理と、
ループ処理の実行を中断して定時期毎に実行されるタイマ割込み処理と、
を実行するようプログラムされており、
前記タイマ割込み処理は、遊技処理を実行するための複数の処理から構成され、その複数の処理の中には遊技処理の時間を管理するためのタイマ更新処理が含まれており、
前記制御部は、さらに、
第2信号出力部から第2信号が出力されているか否かを監視し、第2信号を受信しているときに停電フラグを更新し、第2信号を受信していないときに停電フラグをクリアし、
停電フラグが更新されて所定値となっているとタイマ更新処理を実行しないことを特徴とする遊技機。
A power failure detection unit is provided that outputs a first signal indicating that the power supply between the external power source and the gaming machine is interrupted for a first predetermined time, and a power failure is detected by the power failure detection unit. In a gaming machine having a control unit that saves the required information sometimes and resumes the game based on the saved information after energization recovery,
There is further provided a second signal output unit for outputting a second signal toward the control unit when the state where the external power source and the gaming machine are disconnected is continued for a second predetermined time shorter than the first predetermined time. And
The controller is
When power from the external power supply is cut off, a power outage process that stores information for restarting the game process,
When power from the external power supply is resumed, a power recovery process for resuming the game process based on the information stored by the power failure process,
Loop processing that is repeatedly executed during the game,
Timer interrupt processing that is executed at regular intervals by interrupting execution of loop processing,
Is programmed to run
The timer interrupt process is composed of a plurality of processes for executing a game process, and the plurality of processes includes a timer update process for managing the time of the game process,
The control unit further includes:
Monitors whether the second signal is output from the second signal output unit, updates the power failure flag when the second signal is received, and clears the power failure flag when the second signal is not received And
A gaming machine, wherein the timer update process is not executed when the power failure flag is updated to a predetermined value.
前記制御部は、遊技機の状態に応じてコマンドの作成及び送信を行う第1の制御装置と、その第1の制御装置から送信されたコマンドに基づいて所定の処理を行う第2の制御装置を有し、
前記第1の制御装置は、前記第2信号を受信する受信手段が設けられ、かつ、その受信手段に第2信号を受信してから通電が回復するまでの間、コマンドの作成及び/又は送信を行わないように構成されていることを特徴とする請求項1に記載の遊技機。
The control unit includes a first control device that creates and transmits a command according to the state of the gaming machine, and a second control device that performs a predetermined process based on the command transmitted from the first control device. Have
The first control device is provided with receiving means for receiving the second signal, and creates and / or transmits a command during a period from when the second signal is received by the receiving means until power is restored. The gaming machine according to claim 1, wherein the gaming machine is configured not to perform the game.
前記第1の制御装置は、さらに、その第1の制御装置に入力される入力情報を記憶可能な記憶装置が設けられるとともに、前記受信手段に第2信号を受信してから通電が回復するまでの間に受信する入力情報を該記憶装置に格納し、その格納した入力情報を通電が回復するまでの間保持するように構成されていることを特徴とする請求項2に記載の遊技機。  The first control device is further provided with a storage device capable of storing input information input to the first control device, and from when the second signal is received by the receiving means until the energization is restored. 3. The gaming machine according to claim 2, wherein input information received during the storage is stored in the storage device, and the stored input information is held until power is restored. 前記制御部は、遊技機の状態に応じてコマンドの作成及び送信を行う第1の制御装置と、その第1の制御装置から送信されたコマンドに基づいて所定の処理を行う第2の制御装置を有し、
前記第2の制御装置は、前記第2信号を受信する受信手段が設けられ、かつ、その受信手段に第2信号を受信してから通電が回復するまでの間、前記第1の制御装置から送信されたコマンドに基づいて新たな処理を行わないように構成されていることを特徴とする請求項1に記載の遊技機。
The control unit includes a first control device that creates and transmits a command according to the state of the gaming machine, and a second control device that performs a predetermined process based on the command transmitted from the first control device. Have
The second control device is provided with receiving means for receiving the second signal, and from the reception of the second signal to the receiving means until the energization is restored from the first control device. The gaming machine according to claim 1, wherein a new process is not performed based on the transmitted command.
前記第2の制御装置は、さらに、その第2の制御装置に入力される入力情報及び/又はコマンドを記憶可能な記憶装置が設けられるとともに、前記受信手段に第2信号を受信してから通電が回復するまでの間に受信する入力情報及び/又はコマンドを該記憶装置に格納し、その格納した入力情報及び/又はコマンドを通電が回復するまでの間保持するように構成されていることを特徴とする請求項4に記載の遊技機。  The second control device is further provided with a storage device capable of storing input information and / or commands input to the second control device, and energized after receiving the second signal in the receiving means. It is configured to store the input information and / or commands received until the power is restored in the storage device and hold the stored input information and / or commands until the power is restored. The gaming machine according to claim 4, wherein the gaming machine is characterized.
JP2000236884A 2000-08-04 2000-08-04 Game machine Expired - Fee Related JP4419000B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000236884A JP4419000B2 (en) 2000-08-04 2000-08-04 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000236884A JP4419000B2 (en) 2000-08-04 2000-08-04 Game machine

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2009021837A Division JP4748543B2 (en) 2009-02-02 2009-02-02 Game machine
JP2009211583A Division JP4748547B2 (en) 2009-09-14 2009-09-14 Game machine

Publications (2)

Publication Number Publication Date
JP2002045478A JP2002045478A (en) 2002-02-12
JP4419000B2 true JP4419000B2 (en) 2010-02-24

Family

ID=18728850

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000236884A Expired - Fee Related JP4419000B2 (en) 2000-08-04 2000-08-04 Game machine

Country Status (1)

Country Link
JP (1) JP4419000B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5044734B2 (en) * 2005-03-30 2012-10-10 株式会社大一商会 Game machine
JP5176113B2 (en) * 2008-07-29 2013-04-03 株式会社大都技研 Amusement stand
JP4645702B2 (en) * 2008-08-28 2011-03-09 株式会社三洋物産 Game machine
JP2008279301A (en) * 2008-08-28 2008-11-20 Sanyo Product Co Ltd Game machine
JP2010227619A (en) * 2010-07-12 2010-10-14 Sanyo Product Co Ltd Game machine

Also Published As

Publication number Publication date
JP2002045478A (en) 2002-02-12

Similar Documents

Publication Publication Date Title
JP4418999B2 (en) Game machine
JP2010012021A (en) Game machine
JP2010158575A (en) Game machine
JP4419000B2 (en) Game machine
JP2001204898A (en) Game machine
JP4632375B2 (en) Game machine
JP4748543B2 (en) Game machine
JP4748547B2 (en) Game machine
JP4008165B2 (en) Game machine
JP4191351B2 (en) Game machine
JP4249358B2 (en) Game machine
JP2001340603A (en) Game machine and information preserving method in interruption of electric energization
JP4023767B2 (en) Game machine
JP2001321544A (en) Game machine
JP4370448B2 (en) Game machine
JP4744591B2 (en) Game machine
JP2009061344A (en) Game machine
JP2009061348A (en) Game machine
JP2009061345A (en) Game machine
JP2009061347A (en) Game machine
JP5665934B2 (en) Game machine
JP4375512B2 (en) Game machine
JP3661765B2 (en) Game machine
JP5356295B2 (en) Game machine
JP3817639B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090202

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20090317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090331

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090714

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090914

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

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

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

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4419000

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20151211

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees