JP4772878B2 - Game machine - Google Patents

Game machine Download PDF

Info

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

Links

Images

Description

本発明は、遊技媒体を用いて所定の遊技を行うことが可能であり、遊技により払出条件が成立したことにもとづいて景品としての景品遊技媒体を払い出すパチンコ遊技機やスロット機等の遊技機に関する。   The present invention is capable of playing a predetermined game using a game medium, and a game machine such as a pachinko game machine or a slot machine that pays out a prize game medium as a prize based on the fact that a payout condition is established by the game. About.

遊技機として、遊技球などの遊技媒体を発射装置によって遊技領域に発射し、遊技領域に設けられている入賞口などの入賞領域に遊技媒体が入賞すると、所定個の賞球が遊技者に払い出されるものがある。さらに、表示状態が変化可能な可変表示部が設けられ、可変表示部の表示結果があらかじめ定められた特定表示態様となった場合に所定の遊技価値を遊技者に与えるように構成されたものがある。   As a gaming machine, a game medium such as a game ball is launched into a game area by a launching device, and when a game medium wins a prize area such as a prize opening provided in the game area, a predetermined number of prize balls are paid out to the player. There is something to be done. Furthermore, there is provided a variable display unit capable of changing the display state, and configured to give a predetermined game value to the player when the display result of the variable display unit is in a predetermined specific display mode. is there.

なお、遊技価値とは、遊技機の遊技領域に設けられた可変入賞球装置の状態が打球が入賞しやすい遊技者にとって有利な状態になることや、遊技者にとって有利な状態となるための権利を発生させたりすることや、賞球払出の条件が成立しやすくなる状態になることである。   Note that the game value is the right that the state of the variable winning ball device provided in the gaming area of the gaming machine is advantageous for a player who is likely to win a ball, or the advantageous state for a player. In other words, or a condition for winning a prize ball is easily established.

パチンコ遊技機では、特別図柄を表示する可変表示部の表示結果があらかじめ定められた特定表示態様の組合せとなることを、通常、「大当り」という。大当りが発生すると、例えば、大入賞口が所定回数開放して打球が入賞しやすい大当り遊技状態に移行する。そして、各開放期間において、所定個(例えば10個)の大入賞口への入賞があると大入賞口は閉成する。そして、大入賞口の開放回数は、所定回数(例えば16ラウンド)に固定されている。なお、各開放について開放時間(例えば29.5秒)が決められ、入賞数が所定個に達しなくても開放時間が経過すると大入賞口は閉成する。また、大入賞口が閉成した時点で所定の条件(例えば、大入賞口内に設けられているVゾーンへの入賞)が成立していない場合には、大当り遊技状態は終了する。   In a pachinko gaming machine, a combination of a predetermined display mode with a display result of a variable display unit that displays a special symbol is usually referred to as “big hit”. When the big hit occurs, for example, the big winning opening is opened a predetermined number of times, and the game shifts to a big hit gaming state where the hit ball is easy to win. And in each open period, if there is a prize for a predetermined number (for example, 10) of the big prize opening, the big prize opening is closed. And the number of times the special winning opening is opened is fixed to a predetermined number (for example, 16 rounds). An opening time (for example, 29.5 seconds) is determined for each opening, and even if the number of winnings does not reach a predetermined number, the big winning opening is closed when the opening time elapses. Further, when a predetermined condition (for example, winning in the V zone provided in the big prize opening) is not established at the time when the big prize opening is closed, the big hit gaming state is ended.

また、可変表示装置において最終停止図柄(例えば左右中図柄のうち中図柄)となる図柄以外の図柄が、所定時間継続して、特定表示態様と一致している状態で停止、揺動、拡大縮小もしくは変形している状態、または、複数の図柄が同一図柄で同期して変動したり、表示図柄の位置が入れ替わっていたりして、最終結果が表示される前で大当り発生の可能性が継続している状態(以下、これらの状態をリーチ状態という。)において行われる演出をリーチ演出という。また、リーチ演出を含む可変表示をリーチ可変表示という。リーチ状態において、変動パターンを通常状態における変動パターンとは異なるパターンにすることによって、遊技の興趣が高められている。そして、可変表示装置に可変表示される図柄の表示結果がリーチ状態となる条件を満たさない場合には「はずれ」となり、可変表示状態は終了する。遊技者は、大当りをいかにして発生させるかを楽しみつつ遊技を行う。   In addition, in the variable display device, the symbols other than the symbol that becomes the final stop symbol (for example, the middle symbol of the left and right middle symbols) are stopped, swung, and enlarged / reduced in a state in which the symbols continuously match the specific display mode for a predetermined time. Or, the possibility of big hits continues before the final result is displayed due to the deformed state, multiple symbols changing synchronously with the same symbol, or the position of the display symbol changing. An effect that is performed in a state where these are in progress (hereinafter, these states are referred to as reach states) is referred to as reach effect. A variable display including a reach effect is referred to as a reach variable display. In the reach state, the interest of the game is enhanced by making the variation pattern different from the variation pattern in the normal state. Then, when the display result of the symbols variably displayed on the variable display device does not satisfy the condition for reaching the reach state, the state is “missed” and the variable display state is terminated. A player plays a game while enjoying how to generate a big hit.

遊技機における遊技進行はマイクロコンピュータ等による遊技制御手段によって制御される。賞球払出の制御を行う払出制御手段が、遊技制御手段が搭載されている主基板とは別の払出制御基板に搭載されている場合、遊技の進行は主基板に搭載された遊技制御手段によって制御されるので、入賞にもとづく賞球個数は、遊技制御手段によって決定され、払出制御基板に送信される。一方、遊技媒体の貸し出しは、遊技の進行とは無関係であるから、一般に、遊技制御手段を介さず払出制御手段によって制御される。   The game progress in the gaming machine is controlled by game control means such as a microcomputer. When the payout control means for controlling the prize ball payout is mounted on a payout control board different from the main board on which the game control means is mounted, the progress of the game is performed by the game control means mounted on the main board. Since it is controlled, the number of winning balls based on winning is determined by the game control means and transmitted to the payout control board. On the other hand, the rental of game media is irrelevant to the progress of the game, and is generally controlled by the payout control means without going through the game control means.

以上のように、遊技機には、遊技制御手段の他にも制御手段が搭載されている。そして、遊技の進行を制御する遊技制御手段は、遊技状況に応じて動作指示等を示す制御信号を、主基板以外の他の制御基板に搭載された各制御手段に送信する。以下、遊技制御手段その他の制御手段を電気部品制御手段といい、電気部品制御手段が搭載された基板を電気部品制御基板ということがある。   As described above, the gaming machine is equipped with control means in addition to the game control means. The game control means for controlling the progress of the game transmits a control signal indicating an operation instruction or the like according to the game situation to each control means mounted on another control board other than the main board. Hereinafter, the game control means and other control means may be referred to as electrical component control means, and the board on which the electrical component control means is mounted may be referred to as an electrical component control board.

以上のように、入賞にもとづく賞球個数は、遊技制御手段によって決定され、賞球個数を示す制御信号などが払出制御手段に送信される。そして、払出制御手段は、遊技制御手段からの制御信号にもとづいて、入賞にもとづく個数の賞球を払い出す処理を行う。   As described above, the number of winning balls based on winning is determined by the game control means, and a control signal indicating the number of winning balls is transmitted to the payout control means. Then, the payout control means performs a process of paying out the number of prize balls based on the winning based on the control signal from the game control means.

しかし、遊技制御手段と払出制御手段との間でやりとりされる賞球個数を示す制御信号の通信は、払い出しの完了に関わらずに実行されていたため、信号の取りこぼしや誤認識により入賞にもとづく個数の賞球が正確に払い出されないおそれがある。従って、遊技者が得た遊技価値が消滅してしまうという問題が生ずるおそれがあることになる。   However, since the communication of the control signal indicating the number of prize balls exchanged between the game control means and the payout control means was executed regardless of the completion of the payout, the number based on winning due to the signal being missed or misrecognized. May not be paid out correctly. Therefore, there is a risk that the game value obtained by the player will be lost.

そこで、本発明は、遊技媒体の払い出しが正確に実行される通信態様で制御信号の送受を行うことができる遊技機を提供することを目的とする。   Accordingly, an object of the present invention is to provide a gaming machine capable of transmitting and receiving control signals in a communication mode in which game media is paid out accurately.

本発明による遊技機は、遊技媒体を用いて所定の遊技を行うことが可能であり、遊技領域における入賞領域に遊技媒体が入賞したことにもとづいて景品としての景品遊技媒体を払い出すことが可能であり、各々を識別可能な複数種類の識別情報を可変表示する可変表示部を備え、可変表示部における識別情報の表示結果があらかじめ定められた特定表示結果となったときに、遊技者にとって有利な特定遊技状態に制御する遊技機であって、制御を行う際に発生する変動データを記憶する変動データ記憶手段を有し、遊技の進行を制御する遊技制御手段(例えば、CPU56を含む遊技制御手段、図43に示す遊技制御手段561)と、遊技機への電力供給が停止していても変動データ記憶手段の記憶内容を所定期間保持させることが可能な記憶内容保持手段と、所定電源電圧の電圧低下を検出して、電源断の発生を検出したときに検出信号を出力する電源監視手段と、操作に応じて操作信号を出力する操作手段と、景品遊技媒体の払い出しを行う払出手段(例えば球払出装置97、図43に示す払出手段97a)と、払出手段を制御する払出制御手段(例えば、払出制御用CPU371を含む払出制御手段、図43に示す払出制御手段371a)と、入賞領域に遊技媒体が入賞したことを検出して入賞検出信号を出力する入賞検出手段と、払出手段により払い出された景品遊技媒体を検出して払出検出信号を出力する遊技媒体検出(例えば払出カウントスイッチ301、図43に示す遊技媒体検出手段501)手段とを備え、遊技制御手段は、電源監視手段からの検出信号の入力に応じて、変動データ記憶手段の記憶内容を保存するための電力供給停止時処理を実行し、電力供給が開始されたときに、操作手段からの操作信号が入力されていない場合には、変動データ記憶手段の記憶内容が保存されていたときに変動データ記憶手段に保存されていた記憶内容にもとづいて制御状態を電力供給停止時処理を開始したときの状態に復旧させる状態復帰制御を実行し、操作手段からの操作信号が入力されている場合には、変動データ記憶手段の記憶内容を初期化し、所定の処理を繰り返し実行するメイン処理と、所定時間毎に発生するタイマ割込に応じてメイン処理を中断して起動される割込処理とを実行し、割込処理において、特定遊技状態とするか否かを決定するための特定遊技状態決定用数値を更新する特定遊技状態決定用数値更新処理と、特定遊技状態決定用数値の更新の初期値として初期値用数値を設定する初期値設定処理とを実行し、メイン処理において、所定の処理として、初期値用数値を更新する初期値用数値更新処理を実行し、メイン処理における初期値用数値更新処理を開始する前にタイマ割込による割込処理を禁止した状態に設定し、初期値用数値更新処理の完了後にタイマ割込による割込処理を許可した状態に設定し、入賞検出手段が入賞検出信号を出力したことにもとづいて払出制御手段に対して景品遊技媒体の払出数を特定可能な払出指令信号(例えば払出個数信号およびREQ信号、図43に示す払出指令信号)出力し、払出制御手段は、払出指令信号にもとづいて払出手段を制御して景品遊技媒体の払出処理(例えば図36および図37に示す賞球制御処理、図43に示すステップS757aの払出処理)を実行し、遊技媒体検出手段からの払出検出信号は、払出制御手段に入力され、払出制御手段は、遊技媒体検出手段からの払出検出信号の入力状態を監視して払出指令信号で特定された払出数の景品遊技媒体が払い出されたか否かを判定(例えばステップS547)する払出数判定手段(例えば、払出制御用CPU371を含む払出制御手段、図43に示す払出数判定手段371b)と、払出数判定手段により払出指令信号で特定された払出数の景品遊技媒体が払い出されたと判定された場合に払出処理が完了したことを示す払出完了信号(例えばBUSY信号をハイレベルからローレベルに立ち下げることで出力される賞球払出完了信号)を遊技制御手段に対して出力する払出完了信号出力手段(例えば、払出制御用CPU371を含む払出制御手段、図43に示す払出完了信号送信手段371c)とを含み、遊技制御手段は、操作手段からの操作信号が入力されているか否かを、入賞検出手段から出力される入賞検出信号が有効と判定される入賞検出判定期間よりも短い検出判定期間で判定することを特徴とする。 The gaming machine according to the present invention can play a predetermined game using a game medium, and can pay out a prize game medium as a prize based on the winning of the game medium in a prize area in the game area. And a variable display unit that variably displays a plurality of types of identification information that can be distinguished from each other, and is advantageous to the player when the display result of the identification information in the variable display unit is a predetermined specific display result. A game machine that controls to a specific gaming state, having a variation data storage unit that stores variation data generated when the control is performed, and a game control unit that controls the progress of the game (for example, a game control including a CPU 56) means, and game control means 561) shown in FIG. 43, which can power supply to the gaming machine to the stored contents of the variation data storage means be stopped is maintained for a predetermined period of time serial The content holding unit, by detecting a voltage drop of a predetermined power supply voltage, and a power supply monitoring means for outputting a detection signal upon detecting the occurrence of power failure, an operation means for outputting an operation signal in accordance with the operation, the prize game A payout means (for example, a ball payout device 97, a payout means 97a shown in FIG. 43) for paying out the medium, a payout control means (for example, a payout control means including a payout control CPU 371), a payout shown in FIG. A control means 371a), a winning detection means for detecting that a game medium has been won in the winning area and outputting a winning detection signal; and detecting a prize game medium paid out by the paying means and outputting a payout detection signal. game medium detection (e.g. payout count switch 301, game medium detecting unit 501 shown in FIG. 43) and means, the game control means, the input of the detection signal from the power supply monitoring means Then, when the power supply stop process for saving the storage contents of the fluctuation data storage means is executed and the operation signal from the operation means is not input when the power supply is started, the fluctuation data Execute state return control to restore the control state to the state when the power supply stop process was started based on the storage content stored in the fluctuation data storage unit when the storage content of the storage unit was stored, When an operation signal is input from the operation means, the main contents of the variable data storage means are initialized, a predetermined process is repeatedly executed, and a timer interrupt generated every predetermined time is selected. A specific game state determination for executing an interrupt process activated by interrupting the process and updating a specific game state determination value for determining whether or not to enter a specific game state in the interrupt process Numerical value updating process and an initial value setting process for setting an initial value numerical value as an initial value for updating the specific gaming state determining numerical value, and updating the initial value numerical value as a predetermined process in the main process Execute the initial value update process, set the interrupt processing by the timer interrupt to be disabled before starting the initial value update process in the main process, and set the timer interrupt after the initial value update process is completed. A payout command signal (for example, the number of payouts) that can specify the number of payouts of the prize game medium to the payout control means based on the fact that the payout detection means outputs a winning detection signal. signals and REQ signal, and outputs a payout command signal) shown in FIG. 43, the payout control means payout process of prize game medium by controlling the dispensing means based on the payout command signal (e.g. FIG. 36 and Prize balls control process shown in 37, then executes a payout process) in step S757a shown in FIG. 43, payout detection signal from the game medium detection means is input to the payout control means, the payout control means, the game medium detection means The number-of-payout determination signal (for example, CPU 371 for payout control) is determined by monitoring the input state of the payout detection signal and determining whether or not the prize game medium having the number of payouts specified by the payout command signal has been paid out (eg, step S547). The payout control means includes the payout number determination means 371b) shown in FIG. 43, and the payout processing is completed when it is determined by the payout number determination means that the number of payout game media specified by the payout command signal has been paid out. A payout completion signal (for example, a prize ball payout completion signal output by lowering the BUSY signal from a high level to a low level) indicating to the game control means Forces payout completion signal output unit (e.g., dispensing control means including a dispensing control CPU 371, a payout completion signal transmitter 371c shown in FIG. 43) and a gaming control means is inputted operation signal from the operation means It is characterized by determining whether there is a detection determination period shorter than the winning detection determination period in which the winning detection signal output from the winning detection means is determined to be valid .

請求項1記載の発明によれば、遊技制御手段が、払出条件の成立にもとづいて払出制御手段に対して景品遊技媒体の払出数を特定可能な払出指令信号出力し、払出制御手段が、払出指令信号にもとづいて払出手段を制御して景品遊技媒体の払出処理を実行し、遊技媒体検出手段からの払出検出信号は、払出制御手段に入力され、払出制御手段が、遊技媒体検出手段からの払出検出信号の入力状態を監視して払出指令信号で特定された払出数の景品遊技媒体が払い出されたか否かを判定する払出数判定手段と、払出数判定手段により払出指令信号で特定された払出数の景品遊技媒体が払い出されたと判定された場合に払出処理が完了したことを示す払出完了信号を遊技制御手段に対して出力する払出完了信号出力手段とを含ことを特徴とするので、遊技制御手段と払出制御手段との間の払出数に関わる認識誤差が生じる可能性が低減されるという効果を有する。 According to the first aspect of the invention, the game control means, and outputting a possible payout command signal specifying the payout of the prize game media against payout control means based on the satisfied payout condition, payout control means, Based on the payout command signal, the payout means is controlled to execute payout processing of the prize game medium. The payout detection signal from the game medium detection means is input to the payout control means, and the payout control means is sent from the game medium detection means. The payout detection signal is used to monitor the input state of the payout detection signal to determine whether or not the number of payout game media specified by the payout command signal has been paid out, and the payout command signal is specified by the payout number determination means. characterized in including that a payout completion signal output means for outputting a payout completion signal indicating that the payout process is completed with respect to the game control means if has been paid out number of the prize game media is determined to have been paid out Toss Because, an effect that possibility of recognition errors may occur related to the payout between game control means and the dispensing control means is reduced.

パチンコ遊技機を正面からみた正面図である。It is the front view which looked at the pachinko game machine from the front. ガラス扉枠を取り外した状態での遊技盤の前面を示す正面図である。It is a front view which shows the front surface of the game board in the state which removed the glass door frame. 遊技機を裏面から見た背面図である。It is the rear view which looked at the gaming machine from the back. 各種部材が取り付けられた機構板を遊技機背面側から見た背面図である。It is the rear view which looked at the mechanism board to which various members were attached from the game machine back side. 球払出装置の構成例を示す分解斜視図である。It is a disassembled perspective view which shows the structural example of a ball dispensing apparatus. 遊技盤に設置されている電源基板の露出部分を示す正面図である。It is a front view which shows the exposed part of the power supply board installed in the game board. 遊技制御基板(主基板)の回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of a game control board (main board). 払出制御基板の回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of a payout control board. 電源基板の回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of a power supply board. CPU周りの一構成例を示すブロック図である。It is a block diagram which shows the example of 1 structure around CPU. 主基板におけるCPUが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which CPU in a main board | substrate performs. バックアップフラグと遊技状態復旧処理を実行するか否かとの関係の一例を示す説明図である。It is explanatory drawing which shows an example of the relationship between a backup flag and whether to perform a game state restoration process. 遊技状態復旧処理を示すフローチャートである。It is a flowchart which shows a game state restoration process. 2msタイマ割込処理を示すフローチャートである。It is a flowchart which shows a 2 ms timer interruption process. マスク不能割込処理(電力供給停止時処理)を示すフローチャートである。It is a flowchart which shows an unmaskable interruption process (process at the time of an electric power supply stop). マスク不能割込処理(電力供給停止時処理)を示すフローチャートである。It is a flowchart which shows an unmaskable interruption process (process at the time of an electric power supply stop). 遊技機への電力供給停止時の電源低下やNMI信号の様子を示すタイミング図である。It is a timing diagram which shows the mode of the power supply fall and NMI signal at the time of the electric power supply stop to a game machine. RAMにおけるスイッチタイマの形成例を示す説明図である。It is explanatory drawing which shows the example of formation of the switch timer in RAM. スイッチ処理の一例を示すフローチャートである。It is a flowchart which shows an example of a switch process. スイッチチェック処理の一例を示すフローチャートである。It is a flowchart which shows an example of a switch check process. 賞球処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball process. 賞球処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball process. スイッチオンチェック処理を示すフローチャートである。It is a flowchart which shows a switch-on check process. 入力判定値テーブルの構成例を示す説明図である。It is explanatory drawing which shows the structural example of an input determination value table. 制御信号の内容の一例を示す説明図である。It is explanatory drawing which shows an example of the content of a control signal. 制御信号の送受信に用いられる信号線等を示すブロック図である。It is a block diagram which shows the signal wire | line etc. which are used for transmission / reception of a control signal. 賞球払出完了確認処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball payout completion confirmation process. 払出制御基板におけるCPUが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which CPU in a payout control board performs. 2msタイマ割込処理を示すフローチャートである。It is a flowchart which shows a 2 ms timer interruption process. 払出制御手段におけるRAMの一構成例を示す説明図である。It is explanatory drawing which shows the example of 1 structure of RAM in the payout control means. スイッチ処理の例を示すフローチャートである。It is a flowchart which shows the example of a switch process. 払出禁止状態設定処理の例を示すフローチャートである。It is a flowchart which shows the example of a payment prohibition state setting process. プリペイドカードユニット制御処理の例を示すフローチャートである。It is a flowchart which shows the example of a prepaid card unit control process. 球貸し制御処理の例を示すフローチャートである。It is a flowchart which shows the example of a ball lending control process. 球貸し制御処理の例を示すフローチャートである。It is a flowchart which shows the example of a ball lending control process. 賞球制御処理の例を示すフローチャートである。It is a flowchart which shows the example of a prize ball control process. 賞球制御処理の例を示すフローチャートである。It is a flowchart which shows the example of a prize ball control process. 制御信号の出力状態の例を示すタイミングチャートである。It is a timing chart which shows the example of the output state of a control signal. 制御信号の出力状態の例を示すタイミングチャートである。It is a timing chart which shows the example of the output state of a control signal. 制御信号の出力状態の例を示すタイミングチャートである。It is a timing chart which shows the example of the output state of a control signal. 制御信号の出力状態の例を示すタイミングチャートである。It is a timing chart which shows the example of the output state of a control signal. エラーの種類とエラー表示用LEDの表示との関係等を示す説明図である。It is explanatory drawing which shows the relationship between the kind of error, and the display of LED for an error display. 遊技機の構成を示すブロック図である。It is a block diagram which shows the structure of a gaming machine.

以下、本発明の一実施形態を図面を参照して説明する。
まず、遊技機の一例であるパチンコ遊技機の全体の構成について説明する。図1はパチンコ遊技機を正面からみた正面図、図2は遊技盤の前面を示す正面図である。なお、以下の実施の形態では、パチンコ遊技機を例に説明を行うが、本発明による遊技機はパチンコ遊技機に限られず、例えば画像式の遊技機やスロット機に適用することもできる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
First, the overall configuration of a pachinko gaming machine that is an example of a gaming machine will be described. FIG. 1 is a front view of a pachinko gaming machine as viewed from the front, and FIG. 2 is a front view showing the front of the game board. In the following embodiments, a pachinko gaming machine will be described as an example. However, the gaming machine according to the present invention is not limited to a pachinko gaming machine, and can be applied to, for example, an image-type gaming machine or a slot machine.

パチンコ遊技機1は、縦長の方形状に形成された外枠(図示せず)と、外枠の内側に開閉可能に取り付けられた遊技枠とで構成される。また、パチンコ遊技機1は、遊技枠に開閉可能に設けられている額縁状に形成されたガラス扉枠2を有する。遊技枠は、外枠に対して開閉自在に設置される前面枠(図示せず)と、機構部品等が取り付けられる機構板と、それらに取り付けられる種々の部品(後述する遊技盤を除く。)とを含む構造体である。   The pachinko gaming machine 1 includes an outer frame (not shown) formed in a vertically long rectangular shape, and a game frame attached to the inside of the outer frame so as to be opened and closed. Further, the pachinko gaming machine 1 has a glass door frame 2 formed in a frame shape that is provided in the game frame so as to be opened and closed. The game frame includes a front frame (not shown) installed to be openable and closable with respect to the outer frame, a mechanism plate to which mechanism parts and the like are attached, and various parts attached to them (excluding game boards described later). Is a structure including

図1に示すように、パチンコ遊技機1は、額縁状に形成されたガラス扉枠2を有する。ガラス扉枠2の下部表面には打球供給皿(上皿)3がある。打球供給皿3の下部には、打球供給皿3に収容しきれない遊技球を貯留する余剰球受皿4と遊技球を発射する打球操作ハンドル(操作ノブ)5が設けられている。ガラス扉枠2の背面には、遊技盤6が着脱可能に取り付けられている。なお、遊技盤6は、それを構成する板状体と、その板状体に取り付けられた種々の部品とを含む構造体である。また、遊技盤6の前面には遊技領域7が形成されている。   As shown in FIG. 1, the pachinko gaming machine 1 has a glass door frame 2 formed in a frame shape. On the lower surface of the glass door frame 2 is a hitting ball supply tray (upper plate) 3. Under the hitting ball supply tray 3, an extra ball receiving tray 4 for storing game balls that cannot be accommodated in the hit ball supply tray 3 and a hitting operation handle (operation knob) 5 for launching the game balls are provided. A game board 6 is detachably attached to the back surface of the glass door frame 2. The game board 6 is a structure including a plate-like body constituting the game board 6 and various components attached to the plate-like body. A game area 7 is formed on the front surface of the game board 6.

遊技領域7の中央付近には、それぞれが識別情報としての図柄を可変表示する複数の可変表示部を含む可変表示装置(特別図柄表示装置)9が設けられている。可変表示装置9には、例えば「左」、「中」、「右」の3つの可変表示部(図柄表示エリア)がある。また、可変表示装置9には、始動入賞口14に入った有効入賞球数すなわち始動記憶数を表示する4つの特別図柄始動記憶表示エリア(始動記憶表示エリア)18が設けられている。有効始動入賞がある毎に、表示色を変化させる(例えば青色表示から赤色表示に変化させる)始動記憶表示エリアを1増やす。そして、可変表示装置9の可変表示が開始される毎に、表示色が変化している始動記憶数表示エリアを1減らす(すなわち表示色をもとに戻す)。この例では、図柄表示エリアと始動記憶表示エリアとが区分けされて設けられているので、可変表示中も始動記憶数が表示された状態とすることができる。なお、始動記憶表示エリアを図柄表示エリアの一部に設けるようにしてもよく、この場合には、可変表示中は始動記憶数の表示を中断するようにすればよい。また、この例では、始動記憶表示エリアを可変表示装置9に設けるようにしているが、始動記憶数を表示する表示器(特別図柄始動記憶表示器)を可変表示装置9とは別個に設けるようにしてもよい。   Near the center of the game area 7, there is provided a variable display device (special symbol display device) 9 including a plurality of variable display portions each variably displaying a symbol as identification information. The variable display device 9 has, for example, three variable display portions (symbol display areas) of “left”, “middle”, and “right”. In addition, the variable display device 9 is provided with four special symbol start memory display areas (start memory display areas) 18 for displaying the number of effective winning balls that have entered the start winning opening 14, that is, the start memory number. Every time there is a valid start prize, the start storage display area is changed by one (for example, the display color is changed from blue display to red display). Each time the variable display of the variable display device 9 is started, the start memory number display area where the display color is changed is reduced by 1 (that is, the display color is returned to the original). In this example, the symbol display area and the start memory display area are provided separately, so that the start memory number can be displayed even during variable display. The start memory display area may be provided in a part of the symbol display area. In this case, the start memory number display may be interrupted during variable display. In this example, the start memory display area is provided in the variable display device 9, but a display (special symbol start memory display) for displaying the start memory number is provided separately from the variable display device 9. It may be.

可変表示装置9の下方には、始動入賞口14としての可変入賞球装置15が設けられている。始動入賞口14に入った入賞球は、遊技盤6の背面に導かれ、始動口スイッチ14aによって検出される。また、始動入賞口14の下部には開閉動作を行う可変入賞球装置15が設けられている。可変入賞球装置15は、ソレノイド16によって開状態とされる。   Below the variable display device 9, a variable winning ball device 15 is provided as a start winning port 14. The winning ball that has entered the start winning opening 14 is guided to the back of the game board 6 and detected by the start opening switch 14a. A variable winning ball device 15 that opens and closes is provided below the start winning opening 14. The variable winning ball device 15 is opened by a solenoid 16.

可変入賞球装置15の下部には、特定遊技状態(大当り状態)においてソレノイド21によって開状態とされる開閉板20が設けられている。開閉板20は大入賞口を開閉する手段である。開閉板20から遊技盤6の背面に導かれた入賞球のうち一方(V入賞領域)に入った入賞球はV入賞スイッチ22で検出され、開閉板20からの入賞球はカウントスイッチ23で検出される。遊技盤6の背面には、大入賞口内の経路を切り換えるためのソレノイド21Aも設けられている。   An open / close plate 20 that is opened by a solenoid 21 in a specific gaming state (big hit state) is provided below the variable winning ball device 15. The opening / closing plate 20 is a means for opening and closing the special winning opening. Of the winning balls guided from the opening / closing plate 20 to the back of the game board 6, the winning ball entering one (V winning area) is detected by the V winning switch 22, and the winning ball from the opening / closing plate 20 is detected by the count switch 23. Is done. On the back of the game board 6, a solenoid 21A for switching the route in the special winning opening is also provided.

ゲート32に遊技球が入賞しゲートスイッチ32aで検出されると、普通図柄表示器10の表示の可変表示が開始される。この実施の形態では、左右のランプ(点灯時に図柄が視認可能になる)が交互に点灯することによって可変表示が行われ、例えば、可変表示の終了時に右側のランプが点灯すれば当たりとなる。そして、普通図柄表示器10における停止図柄が所定の図柄(当り図柄)である場合に、可変入賞球装置15が所定回数、所定時間だけ開状態になる。普通図柄表示器10の近傍には、ゲート32に入った入賞球数を表示する4つのLEDによる表示部を有する普通図柄始動記憶表示器41が設けられている。ゲート32への入賞がある毎に、普通図柄始動記憶表示器41は点灯するLEDを1増やす。そして、普通図柄表示器10の可変表示が開始される毎に、点灯するLEDを1減らす。   When a game ball wins the gate 32 and is detected by the gate switch 32a, the variable display of the normal symbol display 10 is started. In this embodiment, variable display is performed by alternately lighting the left and right lamps (a symbol can be visually recognized when the lamp is lit). For example, if the right lamp is lit when the variable display ends, it is a win. When the stop symbol on the normal symbol display 10 is a predetermined symbol (winning symbol), the variable winning ball device 15 is opened for a predetermined number of times. In the vicinity of the normal symbol display 10, a normal symbol start memory display 41 having a display unit with four LEDs for displaying the number of winning balls entered into the gate 32 is provided. Each time there is a prize at the gate 32, the normal symbol start memory display 41 increases the number of LEDs to be turned on by one. Each time the variable display on the normal symbol display 10 is started, the number of LEDs to be lit is reduced by one.

遊技盤6には、複数の入賞口29,30,33,39が設けられ、遊技球の入賞口29,30,33への入賞は、それぞれ入賞口スイッチ29a,30a,33a,39aによって検出される。各入賞口29,30,33,39は、遊技媒体を受け入れて入賞を許容する領域として遊技盤6に設けられる入賞領域を構成している。なお、遊技媒体を受け入れて入賞を許容する始動入賞口14や、大入賞口も、入賞領域を構成する。遊技領域7の左右周辺には、遊技中に点滅表示される装飾ランプ25が設けられ、下部には、入賞しなかった遊技球を吸収するアウト口26がある。また、遊技領域7の外側の左右上部には、効果音を発する2つのスピーカ27が設けられている。遊技領域7の外周には、天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cが設けられている。さらに、遊技領域7における各構造物(大入賞口等)の周囲には装飾LEDが設置されている。天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cおよび装飾用LEDは、遊技機に設けられている装飾発光体の一例である。   The gaming board 6 is provided with a plurality of winning holes 29, 30, 33, 39, and winning of the game balls to the winning holes 29, 30, 33 is detected by winning hole switches 29a, 30a, 33a, 39a, respectively. The Each winning opening 29, 30, 33, 39 constitutes a winning area provided in the game board 6 as an area for accepting game media and allowing winning. The start winning port 14 that accepts game media and allows winnings, and the big winning port also constitute a winning area. Around the left and right of the game area 7, there are provided decorative lamps 25 blinking and displayed during the game, and at the lower part there is an outlet 26 for absorbing a game ball that has not won a prize. Two speakers 27 that emit sound effects are provided on the left and right upper portions outside the game area 7. A top frame lamp 28a, a left frame lamp 28b, and a right frame lamp 28c are provided on the outer periphery of the game area 7. Further, a decoration LED is installed around each structure (such as a big prize opening) in the game area 7. The top frame lamp 28a, the left frame lamp 28b, the right frame lamp 28c, and the decorative LED are examples of a decorative light emitter provided in the gaming machine.

そして、この例では、左枠ランプ28bの近傍に、賞球残数があるときに点灯する賞球ランプ51が設けられ、天枠ランプ28aの近傍に、補給球が切れたときに点灯する球切れランプ52が設けられている。上記のように、この実施の形態のパチンコ遊技機1には、発光体としてのランプやLEDが各所に設けられている。さらに、図1には、パチンコ遊技機1に隣接して設置され、プリペイドカードが挿入されることによって球貸しを可能にするカードユニット50も示されている。   In this example, a prize ball lamp 51 that is turned on when there is a remaining number of prize balls is provided in the vicinity of the left frame lamp 28b, and a ball that is turned on in the vicinity of the top frame lamp 28a when the supply ball is cut. A cut lamp 52 is provided. As described above, the pachinko gaming machine 1 of this embodiment is provided with lamps and LEDs as light emitters in various places. Further, FIG. 1 also shows a card unit 50 that is installed adjacent to the pachinko gaming machine 1 and enables lending of a ball by inserting a prepaid card.

カードユニット50には、使用可能状態であるか否かを示す使用可表示ランプ151、カードユニット50がいずれの側のパチンコ遊技機1に対応しているのかを示す連結台方向表示器153、カードユニット50内にカードが投入されていることを示すカード投入表示ランプ154、記録媒体としてのカードが挿入されるカード挿入口155、およびカード挿入口155の裏面に設けられているカードリーダライタの機構を点検する場合にカードユニット50を解放するためのカードユニット錠156が設けられている。   The card unit 50 includes a use indicator lamp 151 that indicates whether or not the card unit 50 is in a usable state, a connection table direction indicator 153 that indicates which side of the pachinko gaming machine 1 corresponds to the card unit 50, a card A card insertion indicator lamp 154 indicating that a card is inserted into the unit 50, a card insertion slot 155 into which a card as a recording medium is inserted, and a card reader / writer mechanism provided on the back surface of the card insertion slot 155 A card unit lock 156 is provided for releasing the card unit 50 when checking the card.

打球発射装置から発射された遊技球は、打球レールを通って遊技領域7に入り、その後、遊技領域7を下りてくる。遊技球が始動入賞口14に入り始動口スイッチ14aで検出されると、図柄の可変表示を開始できる状態であれば、可変表示装置9において特別図柄が可変表示(変動)を始める。図柄の可変表示を開始できる状態でなければ、始動記憶数を1増やす。   The game balls launched from the hit ball launching device enter the game area 7 through the hit ball rail, and then descend the game area 7. When the game ball enters the start winning port 14 and is detected by the start port switch 14a, the special symbol starts variable display (variation) on the variable display device 9 if the variable display of the symbol can be started. If the variable display of the symbol cannot be started, the start memory number is increased by one.

可変表示装置9における特別図柄の可変表示は、一定時間が経過したときに停止する。停止時の特別図柄の組み合わせが大当り図柄(特定表示結果)であると、大当り遊技状態に移行する。すなわち、開閉板20が、一定時間経過するまで、または、所定個数(例えば10個)の遊技球が入賞するまで開放する。そして、開閉板20の開放中に遊技球がV入賞領域に入賞しV入賞スイッチ22で検出されると、継続権が発生し開閉板20の開放が再度行われる。継続権の発生は、所定回数(例えば15ラウンド)許容される。   The variable display of the special symbol on the variable display device 9 stops when a certain time has elapsed. If the combination of special symbols at the time of stoppage is a jackpot symbol (specific display result), the game shifts to a jackpot gaming state. That is, the opening / closing plate 20 is opened until a predetermined time elapses or a predetermined number (for example, 10) of game balls wins. When the game ball wins the V winning area while the opening / closing plate 20 is opened and is detected by the V winning switch 22, a continuation right is generated and the opening / closing plate 20 is opened again. The generation of the continuation right is allowed a predetermined number of times (for example, 15 rounds).

停止時の可変表示装置9における特別図柄の組み合わせが確率変動を伴う大当り図柄(確変図柄)の組み合わせである場合には、次に大当りとなる確率が高くなる。すなわち、確変状態という遊技者にとってさらに有利な状態となる。   When the combination of special symbols in the variable display device 9 at the time of stopping is a combination of jackpot symbols (probability variation symbols) with probability fluctuations, the probability of the next jackpot increases. That is, it becomes a more advantageous state for the player in the probability variation state.

遊技球がゲート32に入賞すると、普通図柄表示器10において普通図柄が可変表示される状態になる。また、普通図柄表示器10における停止図柄が所定の図柄(当り図柄)である場合に、可変入賞球装置15が所定時間だけ開状態になる。さらに、確変状態では、普通図柄表示器10における停止図柄が当り図柄になる確率が高められるとともに、可変入賞球装置15の開放時間と開放回数が高められる。すなわち、可変入賞球装置15の開放時間と開放回数は、普通図柄の停止図柄が当り図柄であったり、特別図柄の停止図柄が確変図柄である場合等に高められ、遊技者にとって不利な状態から有利な状態に変化する。なお、開放回数が高められることは、閉状態から開状態になることも含む概念である。   When the game ball wins the gate 32, the normal symbol display unit 10 is in a state where the normal symbol is variably displayed. Further, when the stop symbol on the normal symbol display 10 is a predetermined symbol (winning symbol), the variable winning ball device 15 is opened for a predetermined time. Further, in the probability variation state, the probability that the stop symbol in the normal symbol display 10 becomes a winning symbol is increased, and the opening time and the number of times of opening of the variable winning ball device 15 are increased. That is, the opening time and the number of times of opening of the variable winning ball device 15 can be increased when the stop symbol of the normal symbol is a winning symbol or the stop symbol of the special symbol is a probabilistic symbol. Change to an advantageous state. It should be noted that increasing the number of times of opening is a concept including changing from a closed state to an open state.

次に、パチンコ遊技機1の裏面の構造について図3および図4を参照して説明する。図3は、遊技機を裏面から見た背面図である。図4は、各種部材が取り付けられた機構板を遊技機背面側から見た背面図である。   Next, the structure of the back surface of the pachinko gaming machine 1 will be described with reference to FIG. 3 and FIG. FIG. 3 is a rear view of the gaming machine as seen from the back side. FIG. 4 is a rear view of the mechanism plate to which various members are attached as viewed from the back side of the gaming machine.

図3に示すように、遊技機裏面側では、可変表示装置9を制御する図柄制御基板80を含む可変表示制御ユニット49、遊技制御用マイクロコンピュータ等が搭載された遊技制御基板(主基板)31が設置されている。また、球払出制御を行う払出制御用マイクロコンピュータ等が搭載された払出制御基板37が設置されている。さらに、遊技盤6に設けられている各種装飾LED、普通図柄始動記憶表示器41、装飾ランプ25、枠側に設けられている天枠ランプ28a、左枠ランプ28b、右枠ランプ28c、賞球ランプ51および球切れランプ52を点灯制御するランプ制御手段が搭載されたランプ制御基板35、スピーカ27からの音発生を制御する音制御手段が搭載された音制御基板70も設けられている。また、また、DC30V、DC21V、DC12VおよびDC5Vを作成する電源回路が搭載された電源基板910や発射制御基板91が設けられている。   As shown in FIG. 3, on the back side of the gaming machine, a game control board (main board) 31 on which a variable display control unit 49 including a symbol control board 80 for controlling the variable display device 9, a game control microcomputer, and the like are mounted. Is installed. In addition, a payout control board 37 on which a payout control microcomputer for performing ball payout control is mounted is installed. Furthermore, various decoration LEDs provided on the game board 6, normal symbol start memory display 41, decoration lamp 25, top frame lamp 28a provided on the frame side, left frame lamp 28b, right frame lamp 28c, prize ball There are also provided a lamp control board 35 on which lamp control means for controlling the lighting of the lamp 51 and the bulb break lamp 52 and a sound control board 70 on which sound control means for controlling sound generation from the speaker 27 are mounted. In addition, a power supply board 910 and a launch control board 91 on which a power supply circuit for generating DC30V, DC21V, DC12V and DC5V is mounted are provided.

遊技機裏面において、上方には、各種情報を遊技機外部に出力するための各端子を備えたターミナル基板160が設置されている。ターミナル基板160には、少なくとも、球切れ検出スイッチの出力を導入して外部出力するための球切れ用端子、賞球個数信号を外部出力するための賞球用端子および球貸し個数信号を外部出力するための球貸し用端子が設けられている。また、中央付近には、主基板31からの各種情報を遊技機外部に出力するための各端子を備えた情報端子基板(情報出力基板)34が設置されている。   On the back side of the gaming machine, a terminal board 160 provided with terminals for outputting various information to the outside of the gaming machine is installed above. The terminal board 160 has at least a ball break terminal for introducing and outputting an output of the ball break detection switch, an award ball terminal for outputting the award ball number signal to the outside, and a ball lending number signal externally output. A ball lending terminal is provided. In addition, an information terminal board (information output board) 34 provided with terminals for outputting various information from the main board 31 to the outside of the gaming machine is installed near the center.

貯留タンク38に貯留された遊技球は誘導レール39を通り、図4に示されるように、カーブ樋186を経て賞球ケース40Aで覆われた球払出装置に至る。球払出装置の上部には、遊技媒体切れ検出手段としての球切れスイッチ187が設けられている。球切れスイッチ187が球切れを検出すると、球払出装置の払出動作が停止する。球切れスイッチ187は遊技球通路内の遊技球の有無を検出するスイッチであるが、貯留タンク38内の補給球の不足を検出する球切れ検出スイッチ167も誘導レール39における上流部分(貯留タンク38に近接する部分)に設けられている。球切れ検出スイッチ167が遊技球の不足を検知すると、遊技機設置島に設けられている補給機構から遊技機に対して遊技球の補給が行われる。   The game balls stored in the storage tank 38 pass through the guide rail 39 and, as shown in FIG. 4, reach the ball payout device covered with the prize ball case 40A through the curve rod 186. A ball break switch 187 as a game medium break detection means is provided on the upper part of the ball payout device. When the ball break switch 187 detects a ball break, the dispensing operation of the ball dispensing device stops. The ball break switch 187 is a switch for detecting the presence or absence of a game ball in the game ball passage. In the vicinity of the head). When the ball break detection switch 167 detects the shortage of game balls, the game machine is replenished to the game machine from the supply mechanism provided on the gaming machine installation island.

入賞にもとづく景品としての遊技球や球貸し要求にもとづく遊技球が多数払い出されて打球供給皿3が満杯になり、ついには遊技球が連絡口45に到達した後さらに遊技球が払い出されると、遊技球は、余剰球通路46を経て余剰球受皿4に導かれる。さらに遊技球が払い出されると、感知レバー47が貯留状態検出手段としての満タンスイッチ48を押圧して、貯留状態検出手段としての満タンスイッチ48がオンする。その状態では、球払出装置内の払出モータの回転が停止して球払出装置の動作が停止するとともに発射装置の駆動も停止する。   A large number of game balls as prizes based on winning prizes and game balls based on ball lending requests are paid out and the hitting ball supply tray 3 becomes full, and finally game balls are paid out after the game balls reach the contact port 45. The game ball is guided to the surplus ball receiving tray 4 through the surplus ball passage 46. Further, when the game ball is paid out, the sensing lever 47 presses the full tank switch 48 as the storage state detection means, and the full tank switch 48 as the storage state detection means is turned on. In this state, the rotation of the payout motor in the ball payout device stops, the operation of the ball payout device stops, and the drive of the launching device also stops.

図4に示すように、球払出装置の側方には、カーブ樋186から遊技機下部の排出口192に至る球抜き通路191が形成されている。球抜き通路191の上部には球抜きレバー193が設けられ、球抜きレバー193が遊技店員等によって操作されると、誘導レール39から球抜き通路191への遊技球通路が形成され、貯留タンク38内に貯留されている遊技球は、排出口192から遊技機外に排出される。   As shown in FIG. 4, a ball removal passage 191 is formed on the side of the ball payout device from the curve rod 186 to the discharge port 192 at the lower part of the gaming machine. A ball removal lever 193 is provided above the ball removal passage 191. When the ball removal lever 193 is operated by a game clerk or the like, a game ball passage from the guide rail 39 to the ball removal passage 191 is formed, and the storage tank 38 is provided. The game balls stored inside are discharged from the discharge port 192 to the outside of the gaming machine.

図5は、球払出装置97の構成例を示す分解斜視図である。この例では、賞球ケース40Aとしての3つのケース140,141,142の内部に球払出装置97が形成されている。ケース140,141の上部には、球切れスイッチ187の下部の球通路と連通する穴170,171が設けられ、遊技球は、穴170,171から球払出装置97に流入する。   FIG. 5 is an exploded perspective view showing a configuration example of the ball dispensing device 97. In this example, a ball payout device 97 is formed inside three cases 140, 141, 142 as the prize ball case 40A. The upper portions of the cases 140 and 141 are provided with holes 170 and 171 communicating with the lower ball passage of the ball break switch 187, and the game balls flow into the ball dispensing device 97 through the holes 170 and 171.

球払出装置97は駆動源となる払出モータ(例えばステッピングモータ)289を含む。払出モータ289の回転力は、払出モータ289の回転軸に嵌合しているギア290に伝えられ、さらに、ギア290と噛み合うギア291に伝えられる。ギア291の中心軸には、凹部を有するスプロケット292が嵌合している。穴170,171から流入した遊技球は、スプロケット292の凹部によって、スプロケット292の下方の球通路293に1個ずつ落下させられる。   The ball payout device 97 includes a payout motor (for example, a stepping motor) 289 serving as a drive source. The rotational force of the payout motor 289 is transmitted to the gear 290 fitted to the rotation shaft of the payout motor 289, and further transmitted to the gear 291 that meshes with the gear 290. A sprocket 292 having a recess is fitted to the central axis of the gear 291. The game balls that have flowed in from the holes 170 and 171 are dropped one by one into the ball passage 293 below the sprocket 292 by the recess of the sprocket 292.

この実施の形態では、賞球払出時にも球貸し時にも球通路293が共通に用いられる。従って、賞球払出時にも球貸し時にも球通路293を遊技球が流下する。なお、払出モータ289は、払出制御基板37に搭載されている払出制御用CPUによって制御される。また、払出制御用CPUは、主基板31に搭載されている遊技制御用のCPUからの指令に応じて払出モータ289を制御する。   In this embodiment, the ball passage 293 is commonly used both when paying out a prize ball and lending a ball. Accordingly, the game ball flows down through the ball passage 293 both when the prize ball is paid out and when the ball is lent. The payout motor 289 is controlled by a payout control CPU mounted on the payout control board 37. Further, the payout control CPU controls the payout motor 289 in accordance with a command from the game control CPU mounted on the main board 31.

遊技球の流下路の下方には球払出装置によって払い出された遊技球を検出する払出センサ(払出カウントスイッチ)301が設けられている。払出カウントスイッチ301は、賞球として払い出された遊技球と、貸し球として払い出された遊技球とをともに検出する。すなわち、本例では、払い出された賞球の検出と、払い出された貸し球の検出とが、共通の払出センサによって行われている。払出カウントスイッチ301の検出信号は、払出制御基板37の払出制御用CPUに入力される。払出制御用CPUは、それらの検出信号にもとづいて、実際に払い出された遊技球の個数を計数する。なお、この実施の形態では、払出カウントスイッチ301の検出信号は、主基板31のCPUには入力されない。払出カウントスイッチ301に対する電源基板910からの電力供給は、払出制御基板37を介してなされる。また、払出センサは、複数設けられていてもよい。   A payout sensor (payout count switch) 301 for detecting a game ball paid out by the ball payout device is provided below the flow path of the game balls. The payout count switch 301 detects both game balls paid out as prize balls and game balls paid out as rental balls. That is, in this example, the paid-out prize balls and the paid-out lending balls are detected by a common payout sensor. The detection signal of the payout count switch 301 is input to the payout control CPU of the payout control board 37. The payout control CPU counts the number of game balls actually paid out based on these detection signals. In this embodiment, the detection signal of the payout count switch 301 is not input to the CPU of the main board 31. Power is supplied from the power supply board 910 to the payout count switch 301 via the payout control board 37. A plurality of payout sensors may be provided.

なお、ギア291の周辺部には、払出モータ位置センサを形成する突起部295が形成されている。突起部295は、ギア291の回転すなわち払出モータ289の回転に伴って発光体(図示せず)からの光を、払出モータ位置センサの受光部(図示せず)に対して透過させたり遮蔽したりする。払出制御用CPUは、受光部からの検出信号によって払出モータ289の位置を認識することができる。   A protrusion 295 that forms a payout motor position sensor is formed on the periphery of the gear 291. The protrusion 295 transmits or blocks light from the light emitter (not shown) to the light receiving part (not shown) of the payout motor position sensor as the gear 291 rotates, that is, the payout motor 289 rotates. Or The payout control CPU can recognize the position of the payout motor 289 from the detection signal from the light receiving unit.

また、球払出装置は、賞球払出と球貸しとを共に行うように構成されていてもよいが、賞球払出を行う球払出装置と球貸しを行う球払出装置が別個に設けられていてもよい。さらに、例えばスプロケットの回転方向を変えて賞球払出と球貸しとを分けるように構成されていてもよいし、本実施の形態において例示する球払出装置97以外のどのような構造の球払出装置を用いても、本発明を適用することができる。   Further, the ball payout device may be configured to perform both the prize ball payout and the ball lending, but the ball payout device that performs the prize ball payout and the ball payout device that performs the ball lending are provided separately. Also good. Further, for example, the sprocket rotation direction may be changed to separate the award ball payout and the ball lending, or the ball payout device having any structure other than the ball payout device 97 illustrated in the present embodiment. Even if is used, the present invention can be applied.

図6は、遊技盤6に設置されている電源基板910の露出部分を示す正面図である。図6に示すように、電源基板910は、大部分が主基板31と重なっているが、主基板31に重なることなく外部から視認可能に露出した露出部分がある。この露出部分には、遊技機1の各電気部品制御基板や各電気部品への電力供給を実行あるいは遮断するための電力供給許可手段としての電源スイッチ914と、主基板31に含まれる記憶内容保持手段(例えば、電力供給停止時にもその内容を保持可能なバックアップRAM)に記憶されたバックアップデータをクリアするための操作手段としてのクリアスイッチ921とが設けられている。このように、電源スイッチ914とクリアスイッチ921とが近くに配置されているので、電源スイッチ914によって遊技機に電力を供給開始するのに関連したクリアスイッチ921の操作が容易になる。   FIG. 6 is a front view showing an exposed portion of the power supply board 910 installed on the game board 6. As shown in FIG. 6, most of the power supply substrate 910 overlaps with the main substrate 31, but there is an exposed portion that is exposed to the outside without overlapping with the main substrate 31. The exposed portion includes a power switch 914 as a power supply permission means for executing or shutting off power supply to each electrical component control board and each electrical component of the gaming machine 1, and storage contents stored in the main board 31. A clear switch 921 is provided as an operation means for clearing backup data stored in a means (for example, a backup RAM capable of retaining the contents even when power supply is stopped). In this manner, since the power switch 914 and the clear switch 921 are arranged close to each other, the operation of the clear switch 921 related to starting to supply power to the gaming machine by the power switch 914 is facilitated.

図7は、主基板31における回路構成の一例を示すブロック図である。なお、図7には、払出制御基板37および演出制御基板80も示されている。主基板31には、プログラムに従ってパチンコ遊技機1を制御する基本回路53と、ゲートスイッチ32a、始動口スイッチ14a、V入賞スイッチ22、カウントスイッチ23、入賞口スイッチ29a,30a,33a,39aおよびクリアスイッチ921からの信号を基本回路53に与えるスイッチ回路58と、可変入賞球装置15を開閉するソレノイド16、開閉板20を開閉するソレノイド21および大入賞口内の経路を切り換えるためのソレノイド21Aを基本回路53からの指令に従って駆動するソレノイド回路59とが搭載されている。   FIG. 7 is a block diagram illustrating an example of a circuit configuration in the main board 31. FIG. 7 also shows the payout control board 37 and the effect control board 80. On the main board 31, a basic circuit 53 for controlling the pachinko gaming machine 1 according to a program, a gate switch 32a, a start port switch 14a, a V winning switch 22, a count switch 23, winning port switches 29a, 30a, 33a, 39a and a clear A basic circuit includes a switch circuit 58 that supplies a signal from the switch 921 to the basic circuit 53, a solenoid 16 that opens and closes the variable winning ball apparatus 15, a solenoid 21 that opens and closes the opening and closing plate 20, and a solenoid 21A that switches a path in the special winning opening. A solenoid circuit 59 that is driven in accordance with a command from 53 is mounted.

なお、図7には示されていないが、カウントスイッチ短絡信号もスイッチ回路58を介して基本回路53に伝達される。また、ゲートスイッチ32a、始動口スイッチ14a、V入賞スイッチ22、カウントスイッチ23、入賞口スイッチ29a,30a,33a,39a等のスイッチは、センサと称されているものでもよい。すなわち、遊技球を検出できる手段であれば、その名称を問わない。特に、入賞検出を行う始動口スイッチ14a、カウントスイッチ23、および入賞口スイッチ29a,30a,33a,39aの各スイッチは、入賞検出手段でもある。なお、入賞検出手段は、複数の入賞口に別個に入賞したそれぞれの遊技球をまとめて検出するものであってもよい。また、ゲートスイッチ32aのような通過ゲートであっても、賞球の払い出しが行われるものであれば、通過ゲートへ遊技球が進入することが入賞となり、通過ゲートに設けられているスイッチ(例えばゲートスイッチ32a)が入賞検出手段となる。   Although not shown in FIG. 7, the count switch short-circuit signal is also transmitted to the basic circuit 53 via the switch circuit 58. Further, the gate switch 32a, the start port switch 14a, the V winning switch 22, the count switch 23, the winning port switches 29a, 30a, 33a, 39a, and other switches may be referred to as sensors. That is, the name is not limited as long as it is a means capable of detecting a game ball. In particular, each of the start port switch 14a, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a that perform winning detection is also a winning detection means. Note that the winning detection means may be configured to collectively detect the respective game balls that have won separately a plurality of winning openings. In addition, even if a passing gate such as the gate switch 32a is used, if a prize ball is paid out, a game ball entering the passing gate becomes a win, and a switch (for example, a switch provided in the passing gate) The gate switch 32a) becomes a winning detection means.

また、基本回路53から与えられるデータに従って、大当りの発生を示す大当り情報、可変表示装置9における図柄の可変表示開始に利用された始動入賞球の個数を示す有効始動情報、確率変動が生じたことを示す確変情報等の情報出力信号をホールコンピュータ等の外部装置に対して出力する情報出力回路64が搭載されている。   Further, according to the data given from the basic circuit 53, the jackpot information indicating the occurrence of the jackpot, the effective starting information indicating the number of starting winning balls used for starting the variable display of the symbols in the variable display device 9, the probability variation has occurred. An information output circuit 64 for outputting an information output signal such as probability variation information indicating the above to an external device such as a hall computer is mounted.

基本回路53は、ゲーム制御用のプログラム等を記憶するROM54、ワークメモリとして使用される記憶手段(変動データを記憶する手段)としてのRAM55、プログラムに従って制御動作を行うCPU56およびI/Oポート部57を含む。この実施の形態では、ROM54,RAM55はCPU56に内蔵されている。すなわち、CPU56は、1チップマイクロコンピュータである。なお、1チップマイクロコンピュータは、少なくともRAM55が内蔵されていればよく、ROM54およびI/Oポート部57は外付けであっても内蔵されていてもよい。   The basic circuit 53 includes a ROM 54 for storing a game control program and the like, a RAM 55 as storage means (means for storing variation data) used as a work memory, a CPU 56 for performing control operations according to the program, and an I / O port unit 57. including. In this embodiment, the ROM 54 and RAM 55 are built in the CPU 56. That is, the CPU 56 is a one-chip microcomputer. The one-chip microcomputer only needs to incorporate at least the RAM 55, and the ROM 54 and the I / O port unit 57 may be externally attached or built-in.

また、RAM(CPU内蔵RAMであってもよい。)55は、その一部または全部が電源基板910において作成されるバックアップ電源によってバックアップされているバックアップRAMである。すなわち、遊技機に対する電力供給が停止しても、所定期間は、RAM55の一部または全部の内容は保存される。   A RAM 55 (may be a CPU built-in RAM) 55 is a backup RAM that is partially or entirely backed up by a backup power source created in the power supply substrate 910. That is, even if the power supply to the gaming machine is stopped, a part or all of the contents of the RAM 55 is saved for a predetermined period.

遊技球を打撃して発射する打球発射装置は発射制御基板91上の回路によって制御される駆動モータ94で駆動される。そして、駆動モータ94の駆動力は、操作ノブ5の操作量に従って調整される。すなわち、発射制御基板91上の回路によって、操作ノブ5の操作量に応じた速度で遊技球が発射されるように制御される。   A ball hitting device for hitting and launching a game ball is driven by a drive motor 94 controlled by a circuit on the launch control board 91. Then, the driving force of the drive motor 94 is adjusted according to the operation amount of the operation knob 5. That is, the circuit on the launch control board 91 is controlled so that the game ball is launched at a speed corresponding to the operation amount of the operation knob 5.

なお、この実施の形態では、演出制御基板80に搭載されている演出制御手段が、遊技盤に設けられている普通図柄始動記憶表示器41および装飾ランプ25の表示制御を行うとともに、枠側に設けられている天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cの表示制御を行う。また、演出制御基板80に搭載されている演出制御手段は、特別図柄を可変表示する可変表示装置9および普通図柄を可変表示する普通図柄表示器10の表示制御も行う。   In this embodiment, the effect control means mounted on the effect control board 80 controls the display of the normal symbol start memory display 41 and the decoration lamp 25 provided on the game board, and on the frame side. Display control of the provided top frame lamp 28a, left frame lamp 28b, and right frame lamp 28c is performed. The effect control means mounted on the effect control board 80 also performs display control of the variable display device 9 that variably displays special symbols and the normal symbol display 10 that variably displays normal symbols.

図8は、払出制御基板37および球払出装置97の構成要素などの払出に関連する構成要素を示すブロック図である。図8に示すように、満タンスイッチ48からの検出信号は、中継基板72を介して払出制御基板37のI/Oポート372bに入力される。また、球切れスイッチ187からの検出信号も、中継基板72を介して払出制御基板37のI/Oポート372bに入力される。   FIG. 8 is a block diagram showing components related to payout, such as components of the payout control board 37 and the ball payout device 97. As shown in FIG. 8, the detection signal from the full switch 48 is input to the I / O port 372 b of the payout control board 37 via the relay board 72. The detection signal from the ball break switch 187 is also input to the I / O port 372 b of the payout control board 37 via the relay board 72.

払出制御基板37の払出制御用CPU371は、球切れスイッチ187からの検出信号が球切れ状態を示しているか、または、満タンスイッチ48からの検出信号が満タン状態を示していると、球払出処理を停止する。   The payout control CPU 371 of the payout control board 37 pays off the ball when the detection signal from the ball break switch 187 indicates a ball shortage state or when the detection signal from the full tank switch 48 indicates a full tank state. Stop processing.

入賞があると、主基板31の出力回路67から、賞球の払出要求を行うためのREQ信号(賞球リクエスト信号)および払い出すべき賞球個数を示す払出個数信号が出力される。払出個数信号は、4ビットのデータによって構成され、4本の信号線によって出力される。払出個数信号は、入力回路373Aを介してI/Oポート372aに入力される。払出制御用CPU371は、I/Oポート372aからREQ信号および払出個数信号が入力すると、払出個数信号が示す個数の遊技球を払い出すために球払出装置97を駆動する制御を行う。なお、主基板31の出力回路67からは、電源確認信号も出力される。また、払出制御基板37にて賞球の払出処理を実行しているときには、主基板31には、払出制御基板37の出力回路373Bを介して出力された払出処理中であることを示すBUSY信号(賞球払出中信号)が入力される。各信号の出力形態などについては、あとで詳しく説明する。なお、この実施の形態では、払出制御用CPU371は、1チップマイクロコンピュータであり、少なくともRAMが内蔵されている。   When there is a win, the output circuit 67 of the main board 31 outputs a REQ signal (prize ball request signal) for making a payout request for a prize ball and a payout number signal indicating the number of prize balls to be paid out. The payout number signal is composed of 4-bit data and is output by four signal lines. The payout number signal is input to the I / O port 372a via the input circuit 373A. When a REQ signal and a payout number signal are input from the I / O port 372a, the payout control CPU 371 performs control for driving the ball payout device 97 to pay out the number of game balls indicated by the payout number signal. A power supply confirmation signal is also output from the output circuit 67 of the main board 31. In addition, when the payout control board 37 is executing the payout process of the winning ball, the main board 31 outputs a BUSY signal indicating that the payout process is being output via the output circuit 373B of the payout control board 37. (Prize ball paying out signal) is input. The output form of each signal will be described in detail later. In this embodiment, the payout control CPU 371 is a one-chip microcomputer and incorporates at least a RAM.

払出制御用CPU371は、出力ポート372cを介して、払い出した賞球数を示す賞球払出個数信号と払い出した貸し球数を示す球貸し個数信号とをターミナル基板(枠用外部端子基板と盤用外部端子基板とを含む)160に出力する。なお、ターミナル基板160(枠用外部端子基板)には、ドア開放情報スイッチ161が接続されている。また、出力ポート372dを介して、エラー表示用LED374にエラー信号を出力する。さらに、出力ポート372fを介して、ランプの点灯/消灯を指示するための信号を賞球ランプ51および球切れランプ52に出力する。なお、払出制御基板37の入力ポート372dには、エラー状態を解除するためのエラー解除スイッチ375からの検出信号が入力される。エラー解除スイッチ375は、ソフトウェアリセットによってエラー状態を解除するために用いられる。   The payout control CPU 371 receives, via the output port 372c, a prize ball payout number signal indicating the number of payout balls and a ball lending number signal indicating the number of payout balls, for the terminal board (frame external terminal board and board). Including the external terminal board). A door opening information switch 161 is connected to the terminal board 160 (frame external terminal board). In addition, an error signal is output to the error display LED 374 via the output port 372d. Further, a signal for instructing lighting / extinguishing of the lamp is output to the winning ball lamp 51 and the ball-out lamp 52 via the output port 372f. A detection signal from the error release switch 375 for releasing the error state is input to the input port 372d of the payout control board 37. The error cancel switch 375 is used to cancel the error state by software reset.

さらに、払出制御基板37の入力ポート372bには、中継基板72を介して、払出カウントスイッチ301、および払出モータ289の回転位置を検出するための払出モータ位置センサからの検出信号が入力される。払出カウントスイッチ301は、球払出装置97の払出機構部分に設けられ、実際に払い出された遊技球(賞球および貸し球)を検出する。払出制御基板37からの払出モータ289への駆動信号は、出力ポート372cおよび中継基板72を介して球払出装置97の払出機構部分における払出モータ289に伝えられる。   Further, a detection signal from the payout motor position sensor for detecting the rotational position of the payout count switch 301 and the payout motor 289 is input to the input port 372 b of the payout control board 37 via the relay board 72. The payout count switch 301 is provided in the payout mechanism portion of the ball payout device 97, and detects the game balls (prize balls and rental balls) actually paid out. A drive signal from the payout control board 37 to the payout motor 289 is transmitted to the payout motor 289 in the payout mechanism portion of the ball payout device 97 via the output port 372c and the relay board 72.

カードユニット50には、カードユニット制御用マイクロコンピュータが搭載されている。また、カードユニット50には、使用可表示ランプ151、連結台方向表示器153、カード投入表示ランプ154およびカード挿入口155が設けられている(図1参照)。インタフェース基板66には、打球供給皿3の近傍に設けられている度数表示LED60、球貸し可LED61、球貸しスイッチ62および返却スイッチ63が接続される。   The card unit 50 is equipped with a card unit control microcomputer. In addition, the card unit 50 is provided with a usable display lamp 151, a connecting table direction indicator 153, a card insertion display lamp 154, and a card insertion slot 155 (see FIG. 1). The interface board 66 is connected to a frequency display LED 60, a ball lending LED 61, a ball lending switch 62 and a return switch 63 provided in the vicinity of the hitting ball supply tray 3.

インタフェース基板66からカードユニット50には、遊技者の操作に応じて、球貸しスイッチ62が操作されたことを示す球貸しスイッチ信号および返却スイッチ63が操作されたことを示す返却スイッチ信号が与えられる。また、カードユニット50からインタフェース基板66には、プリペイドカードの残高を示すカード残高表示信号および球貸し可表示信号が与えられる。カードユニット50と払出制御基板37の間では、接続信号(VL信号)、ユニット操作信号(BRDY信号)、球貸し要求信号(BRQ信号)、球貸し完了信号(EXS信号)およびパチンコ機動作信号(PRDY信号)が入力ポート372bおよび出力ポート372eを介してやりとりされる。カードユニット50と払出制御基板37の間には、インタフェース基板66が介在している。よって、接続信号(VL信号)等の信号は、図8に示すように、インタフェース基板66を介してカードユニット50と払出制御基板37の間でやりとりされることになる。   A card lending switch signal indicating that the ball lending switch 62 has been operated and a return switch signal indicating that the return switch 63 has been operated are given to the card unit 50 from the interface board 66 in accordance with the player's operation. . Further, a card balance display signal indicating a prepaid card balance and a ball lending display signal are given from the card unit 50 to the interface board 66. Between the card unit 50 and the payout control board 37, a connection signal (VL signal), a unit operation signal (BRDY signal), a ball lending request signal (BRQ signal), a ball lending completion signal (EXS signal) and a pachinko machine operation signal ( PRDY signal) is exchanged via the input port 372b and the output port 372e. An interface board 66 is interposed between the card unit 50 and the payout control board 37. Therefore, a signal such as a connection signal (VL signal) is exchanged between the card unit 50 and the payout control board 37 via the interface board 66 as shown in FIG.

パチンコ遊技機1の電源が投入されると、払出制御基板37の払出制御用CPU371は、カードユニット50にPRDY信号を出力する。また、カードユニット制御用マイクロコンピュータは、VL信号を出力する。払出制御用CPU371は、VL信号の入力状態により接続状態/未接続状態を判定する。カードユニット50においてカードが受け付けられ、球貸しスイッチが操作され球貸しスイッチ信号が入力されると、カードユニット制御用マイクロコンピュータは、払出制御基板37にBRDY信号を出力する。この時点から所定の遅延時間が経過すると、カードユニット制御用マイクロコンピュータは、払出制御基板37にBRQ信号を出力する。   When the power of the pachinko gaming machine 1 is turned on, the payout control CPU 371 of the payout control board 37 outputs a PRDY signal to the card unit 50. The card unit control microcomputer outputs a VL signal. The payout control CPU 371 determines the connected / unconnected state based on the input state of the VL signal. When a card is received in the card unit 50, the ball lending switch is operated and a ball lending switch signal is input, the card unit control microcomputer outputs a BRDY signal to the payout control board 37. When a predetermined delay time elapses from this point, the card unit control microcomputer outputs a BRQ signal to the payout control board 37.

そして、払出制御基板37の払出制御用CPU371は、カードユニット50に対するEXS信号を立ち上げ、カードユニット50からのBRQ信号の立ち下がりを検出すると、払出モータ289を駆動し、所定個の貸し球を遊技者に払い出す。そして、払出が完了したら、払出制御用CPU371は、カードユニット50に対するEXS信号を立ち下げる。その後、カードユニット50からのBRDY信号がオン状態でなければ、賞球払出制御を実行する。なお、カードユニット50で用いられる電源電圧AC24Vは払出制御基板37から供給される。   Then, the payout control CPU 371 of the payout control board 37 raises the EXS signal to the card unit 50, and when detecting the fall of the BRQ signal from the card unit 50, drives the payout motor 289 to draw a predetermined number of rental balls. Pay to the player. When the payout is completed, the payout control CPU 371 causes the EXS signal to the card unit 50 to fall. Thereafter, if the BRDY signal from the card unit 50 is not on, prize ball payout control is executed. The power supply voltage AC24V used in the card unit 50 is supplied from the payout control board 37.

カードユニット50に対する電源基板910からの電力供給は、払出制御基板37およびインタフェース基板66を介して行われる。この例では、インタフェース基板66内に配されているカードユニット50に対するAC24Vの電源供給ラインに、カードユニット50を保護するためのヒューズが設けられており、カードユニット50に所定電圧以上の電圧が供給されないようにしている。   The power supply from the power supply board 910 to the card unit 50 is performed via the payout control board 37 and the interface board 66. In this example, a fuse for protecting the card unit 50 is provided in the AC 24V power supply line for the card unit 50 arranged in the interface board 66, and a voltage higher than a predetermined voltage is supplied to the card unit 50. I'm trying not to be.

なお、この実施の形態では、カードユニット50が遊技機とは別体として遊技機に隣接して設置されている場合を例にするが、カードユニット50は遊技機と一体化されていてもよい。また、コイン投入に応じてその金額に応じた遊技球が貸し出されるような場合でも本発明を適用できる。   In this embodiment, the case where the card unit 50 is installed adjacent to the gaming machine as a separate body from the gaming machine is taken as an example, but the card unit 50 may be integrated with the gaming machine. . Further, the present invention can be applied even in the case where game balls corresponding to the amount of money are lent out in accordance with coin insertion.

図9は、電源基板910の一構成例を示すブロック図である。電源基板910は、主基板31、演出制御基板80および払出制御基板37等の電気部品制御基板と独立して設置され、遊技機内の各電気部品制御基板および機構部品が使用する電圧を生成する。この例では、AC24V、VSL(DC+30V)、DC+21V、DC+12VおよびDC+5Vを生成する。また、バックアップ電源すなわち記憶保持手段となるコンデンサ916は、DC+5Vすなわち各基板上のIC等を駆動する電源のラインから充電される。なお、VSLは、整流回路912において、整流素子でAC24Vを整流昇圧することによって生成される。VSLは、ソレノイド駆動電源となる。   FIG. 9 is a block diagram illustrating a configuration example of the power supply substrate 910. The power supply board 910 is installed independently of the electric component control boards such as the main board 31, the effect control board 80, and the payout control board 37, and generates voltages used by the electric component control boards and the mechanical parts in the gaming machine. In this example, AC24V, VSL (DC + 30V), DC + 21V, DC + 12V, and DC + 5V are generated. Further, a capacitor 916 serving as a backup power source, that is, a memory holding means, is charged from a line of power source for driving DC + 5V, that is, an IC on each substrate. Note that VSL is generated by rectifying and boosting AC24V with a rectifier element in the rectifier circuit 912. VSL is a solenoid driving power source.

電源基板910には、遊技機内の各電気部品制御基板や機構部品への電力供給を実行または遮断するための電源スイッチ914が設けられている。トランス911は、交流電源からの交流電圧を24Vに変換する。AC24V電圧は、コネクタ915に出力される。また、整流回路912は、AC24Vから+30Vの直流電圧を生成し、DC−DCコンバータ913およびコネクタ915に出力する。DC−DCコンバータ913は、1つまたは複数のコンバータIC920(図9では1つのみを示す。)を有し、VSLにもとづいて+21V、+12Vおよび+5Vを生成してコネクタ915に出力する。コンバータIC920の入力側には、比較的大容量のコンデンサ923が接続されている。従って、外部からの遊技機に対する電力供給が停止したときに、+30V、+12V、+5V等の直流電圧は、比較的緩やかに低下する。また、コネクタ915の入力側にも、比較的大容量のコンデンサ924が接続されている。従って、コネクタ915に出力される+30Vの直流電圧は、他の直流電圧よりもさらに緩やかに低下する。コネクタ915は例えば中継基板に接続され、中継基板から各電気部品制御基板および機構部品に必要な電圧の電力が供給される。   The power supply board 910 is provided with a power switch 914 for executing or shutting off power supply to each electrical component control board and mechanism component in the gaming machine. The transformer 911 converts AC voltage from the AC power source into 24V. The AC 24V voltage is output to the connector 915. The rectifier circuit 912 also generates a DC voltage of +30 V from AC 24 V and outputs it to the DC-DC converter 913 and the connector 915. The DC-DC converter 913 has one or a plurality of converter ICs 920 (only one is shown in FIG. 9), generates + 21V, + 12V, and + 5V based on VSL and outputs the generated voltages to the connector 915. A relatively large capacitor 923 is connected to the input side of the converter IC 920. Accordingly, when the power supply to the gaming machine from the outside is stopped, the DC voltage such as + 30V, + 12V, + 5V, etc., decreases relatively slowly. A relatively large capacitor 924 is also connected to the input side of the connector 915. Therefore, the + 30V DC voltage output to the connector 915 is more gradually reduced than the other DC voltages. The connector 915 is connected to, for example, a relay board, and power of a voltage necessary for each electric component control board and the mechanism component is supplied from the relay board.

ただし、電源基板910に各電気部品制御基板に至る各コネクタを設け、電源基板910から、中継基板を介さずにそれぞれの基板に至る各電圧を供給するようにしてもよい。また、図9には1つのコネクタ915が代表して示されているが、コネクタは、各電気部品制御基板対応に設けられている。   However, each connector reaching each electric component control board may be provided on the power supply board 910 to supply each voltage from the power supply board 910 to each board without going through the relay board. FIG. 9 shows one connector 915 as a representative, but the connector is provided for each electrical component control board.

DC−DCコンバータ913からの+5Vラインは分岐してバックアップ+5Vラインを形成する。バックアップ+5Vラインとグラウンドレベルとの間には大容量のコンデンサ916が接続されている。コンデンサ916は、遊技機に対する電力供給が停止したときの電気部品制御基板のバックアップRAM(電源バックアップされているRAMすなわち電力供給停止時にも記憶内容保持状態となりうるバックアップ記憶手段)に対して記憶状態を保持できるように電力を供給するバックアップ電源となる。また、+5Vラインとバックアップ+5Vラインとの間に、逆流防止用のダイオード917が挿入される。なお、この実施の形態では、バックアップ用の+5Vは、主基板31に供給される。   The + 5V line from the DC-DC converter 913 branches to form a backup + 5V line. A large-capacitance capacitor 916 is connected between the backup + 5V line and the ground level. The capacitor 916 has a storage state with respect to the backup RAM of the electrical component control board when the power supply to the gaming machine is stopped (a RAM that is backed up by power, that is, a backup storage unit that can be in a storage content holding state even when the power supply is stopped) It becomes a backup power supply that supplies power so that it can be maintained. Further, a backflow preventing diode 917 is inserted between the + 5V line and the backup + 5V line. In this embodiment, + 5V for backup is supplied to the main board 31.

なお、バックアップ電源として、+5V電源から充電可能な電池を用いてもよい。電池を用いる場合には、+5V電源から電力供給されない状態が所定時間継続すると容量がなくなるような充電池が用いられる。また、上記のコンデンサ923,924の代わりに、+30V電源から充電可能な電池を用いてもよい。コンデンサ923の代わりに電池を用いる場合には、後述する払出確認期間以上の期間、払出カウントスイッチ301に電力を供給可能な充電池が用いられる。なお、上記の電池は、充電機能を有するものでなくてもよく、例えばニッカド電池、アルカリ電池、マンガン電池などの電池を用いることもできる。   A battery that can be charged from a + 5V power supply may be used as the backup power supply. In the case of using a battery, a rechargeable battery is used in which the capacity disappears when a state in which no power is supplied from the +5 V power source continues for a predetermined time. Instead of the capacitors 923 and 924, a battery that can be charged from a + 30V power source may be used. When a battery is used instead of the capacitor 923, a rechargeable battery that can supply power to the payout count switch 301 is used for a period longer than the payout confirmation period described later. In addition, said battery does not need to have a charging function, For example, batteries, such as a nickel cadmium battery, an alkaline battery, and a manganese battery, can also be used.

図9に示すように、電源基板910には、押しボタン構造のクリアスイッチ921が搭載されている。クリアスイッチ921が押下されるとローレベル(オン状態)のクリアスイッチ信号が出力され、コネクタ915を介して主基板31に送信される。また、クリアスイッチ921が押下されていなければハイレベル(オフ状態)の信号が出力される。なお、この実施の形態では、オン状態のクリア信号が出力される場合が、操作手段としてのクリアスイッチ921から操作信号が出力される状態である。なお、クリアスイッチ921が、押しボタン構造以外の他の構成とされていてもよい。   As shown in FIG. 9, a pushbutton structured clear switch 921 is mounted on the power supply board 910. When the clear switch 921 is pressed, a low level (on state) clear switch signal is output and transmitted to the main board 31 via the connector 915. If the clear switch 921 is not pressed, a high level (off state) signal is output. In this embodiment, when the clear signal in the on state is output, the operation signal is output from the clear switch 921 as the operation means. Note that the clear switch 921 may have a configuration other than the push button structure.

この実施の形態では、クリアスイッチ921が電源基板910に搭載されているので、遊技盤6の入れ替え等の場合に入れ替え後の遊技盤6に対して電源基板910をそのまま使用しても、入れ替え後の遊技盤6において、そのままで遊技状態復旧処理等を実行することができる。すなわち、電源基板910の使い回しを行うことができる。なお、電源基板910ではなく、例えばスイッチ基板などの他の基板にクリアスイッチ921が搭載される構成としてもよい。   In this embodiment, since the clear switch 921 is mounted on the power supply board 910, even if the power board 910 is used as it is for the replaced game board 6 in the case of replacement of the game board 6 or the like, In the game board 6, the game state restoration process or the like can be executed as it is. That is, the power supply board 910 can be reused. Note that the clear switch 921 may be mounted not on the power supply board 910 but on another board such as a switch board.

図10は、主基板31におけるCPU56周りの一構成例を示すブロック図である。図10に示すように、主基板31には、電源監視回路としての電源監視用IC902が搭載されている。電源監視用IC902は、電源基板910からのVSL電圧を導入し、VSL電圧を監視することによって遊技機への電力供給停止の発生を検出する。具体的には、VSL電圧が所定値(この例では+22V)以下になったら、電力供給の停止が生ずるとして電源断信号を出力する(具体的にはローレベルにする。)。なお、監視対象の電源電圧は、各電気部品制御基板に搭載されている回路素子の電源電圧(この例では+5V)よりも高い電圧であることが好ましい。この例では、交流から直流に変換された直後の電圧であるVSLが用いられている。   FIG. 10 is a block diagram illustrating a configuration example around the CPU 56 in the main board 31. As shown in FIG. 10, a power monitoring IC 902 as a power monitoring circuit is mounted on the main board 31. The power monitoring IC 902 detects the occurrence of power supply stoppage to the gaming machine by introducing the VSL voltage from the power supply board 910 and monitoring the VSL voltage. Specifically, when the VSL voltage becomes equal to or lower than a predetermined value (+22 V in this example), a power-off signal is output (specifically, it is set to the low level) because the power supply is stopped. The power supply voltage to be monitored is preferably higher than the power supply voltage (+5 V in this example) of the circuit element mounted on each electric component control board. In this example, VSL, which is a voltage immediately after being converted from AC to DC, is used.

電源監視用IC902からの電源断信号は、CPU56のマスク不能割込端子(XNMI端子)に入力される。上述したように、電源監視回路は、遊技機が使用する各種直流電源のうちのいずれかの電源の電圧を監視して電源電圧低下を検出する回路である。この実施の形態では、VSLの電源電圧を監視して電圧値が所定値以下になるとローレベルの電源断信号を発生する。VSLは、遊技機における直流電圧のうちで最大のものであり、この例では+30Vである。従って、CPU56は、割込処理によって電源断の発生を確認することができる。   A power-off signal from the power monitoring IC 902 is input to the non-maskable interrupt terminal (XNMI terminal) of the CPU 56. As described above, the power supply monitoring circuit is a circuit that detects a power supply voltage drop by monitoring the voltage of any of the various DC power supplies used by the gaming machine. In this embodiment, the power supply voltage of VSL is monitored, and when the voltage value falls below a predetermined value, a low-level power cut-off signal is generated. VSL is the largest DC voltage in the gaming machine, and is +30 V in this example. Therefore, the CPU 56 can confirm the occurrence of power interruption by the interrupt process.

電源監視用IC902が電力供給の停止を検知するための所定値は、通常時の電圧より低いが、各電気部品制御基板上のCPUが暫くの間動作しうる程度の電圧である。また、電源監視用IC902が、CPU等の回路素子を駆動するための電圧(この例では+5V)よりも高く、また、交流から直流に変換された直後の電圧を監視するように構成されているので、CPUが必要とする電圧に対して監視範囲を広げることができる。従って、より精密な監視を行うことができる。   The predetermined value for the power monitoring IC 902 to detect the stop of power supply is lower than the normal voltage, but is a voltage that allows the CPU on each electrical component control board to operate for a while. Further, the power monitoring IC 902 is configured to monitor a voltage that is higher than a voltage for driving a circuit element such as a CPU (+5 V in this example) and immediately after being converted from AC to DC. Therefore, the monitoring range can be expanded for the voltage required by the CPU. Therefore, more precise monitoring can be performed.

さらに、監視電圧としてVSL(+30V)を用いる場合には、遊技機の各種スイッチに供給される電圧が+12Vであることから、電源瞬断時のスイッチオン誤検出の防止も期待できる。すなわち、+30V電源の電圧を監視すると、+30V作成の以降に作られる+12Vが落ち始める以前の段階でそれの低下を検出できる。+12V電源の電圧が低下するとスイッチ出力がオン状態を呈するようになるが、+12Vより早く低下する+30V電源電圧を監視して電力供給の停止を認識すれば、スイッチ出力がオン状態を呈する前に電源復旧待ちの状態に入ってスイッチ出力を検出しない状態となることができる。   Furthermore, when VSL (+ 30V) is used as the monitoring voltage, the voltage supplied to the various switches of the gaming machine is + 12V, so that it can be expected to prevent erroneous switch-on detection at the time of instantaneous power interruption. In other words, when the voltage of the + 30V power supply is monitored, it is possible to detect a decrease in the level before + 12V created after the creation of + 30V starts to drop. When the voltage of the + 12V power supply decreases, the switch output becomes on. However, if the + 30V power supply voltage, which decreases faster than + 12V, is monitored and the stop of the power supply is recognized, the power supply is turned on before the switch output shows the on state. It is possible to enter a state of waiting for recovery and not detect switch output.

また、この実施の形態では、図10に示すように、システムリセット回路65が主基板31に搭載されている。システムリセット回路65からのリセット信号は、CPU56のリセット端子(リセット信号入力部)に入力される。   In this embodiment, a system reset circuit 65 is mounted on the main board 31 as shown in FIG. A reset signal from the system reset circuit 65 is input to a reset terminal (reset signal input unit) of the CPU 56.

システムリセット回路65におけるリセットIC651は、電源投入時に、外付けのコンデンサの容量で決まる所定時間だけ出力をローレベルにし、所定時間が経過すると出力をハイレベルにする。すなわち、リセット信号をハイレベルに立ち上げてCPU56を動作可能状態にする。また、リセットIC651は、電源監視回路が監視する電源電圧と等しい電源電圧であるVSLの電源電圧を監視して電圧値が所定値(電源監視回路が電源断信号を出力する電源電圧値よりも低い値)以下になると出力をローレベルにする。従って、CPU56は、電源監視回路からの電源断信号に応じて所定の電力供給停止時処理を行った後、システムリセットされる(すなわち、システムの最初の状態に戻される)。   The reset IC 651 in the system reset circuit 65 sets the output to the low level for a predetermined time determined by the capacity of the external capacitor when the power is turned on, and sets the output to the high level when the predetermined time elapses. That is, the reset signal is raised to a high level to make the CPU 56 operable. The reset IC 651 monitors the power supply voltage of VSL, which is the same as the power supply voltage monitored by the power supply monitoring circuit, and the voltage value is lower than a predetermined value (the power supply voltage value at which the power supply monitoring circuit outputs a power-off signal). When the value is less than or equal to, the output is set to low level. Therefore, the CPU 56 performs a predetermined power supply stop process in response to a power-off signal from the power supply monitoring circuit, and then resets the system (that is, returns to the initial state of the system).

図10に示すように、リセットIC651からのリセット信号は、NAND回路947に入力されるとともに、反転回路(NOT回路)944を介してカウンタIC941のクリア端子に入力される。カウンタIC941は、クリア端子への入力がローレベルになると、発振器943からのクロック信号をカウントする。そして、カウンタIC941のQ5出力がNOT回路945,946を介してNAND回路947に入力される。また、カウンタIC941のQ6出力は、フリップフロップ(FF)942のクロック端子に入力される。フリップフロップ942のD入力はハイレベルに固定され、Q出力は論理和回路(OR回路)949に入力される。OR回路949の他方の入力には、NAND回路947の出力がNOT回路948を介して導入される。そして、OR回路949の出力がCPU56のリセット端子に接続されている。このような構成によれば、電源投入時に、CPU56のリセット端子に2回のリセット信号(ローレベル信号)が与えられるので、CPU56は、確実に動作を開始する。   As shown in FIG. 10, the reset signal from the reset IC 651 is input to the NAND circuit 947 and also input to the clear terminal of the counter IC 941 via the inverting circuit (NOT circuit) 944. The counter IC 941 counts the clock signal from the oscillator 943 when the input to the clear terminal becomes low level. The Q5 output of the counter IC 941 is input to the NAND circuit 947 via the NOT circuits 945 and 946. The Q6 output of the counter IC 941 is input to the clock terminal of the flip-flop (FF) 942. The D input of the flip-flop 942 is fixed at a high level, and the Q output is input to an OR circuit (OR circuit) 949. The output of the NAND circuit 947 is introduced into the other input of the OR circuit 949 via the NOT circuit 948. The output of the OR circuit 949 is connected to the reset terminal of the CPU 56. According to such a configuration, since the reset signal (low level signal) is given twice to the reset terminal of the CPU 56 when the power is turned on, the CPU 56 surely starts operation.

そして、例えば、電源監視回路(電源監視用IC902)の検出電圧(電源断信号を出力することになる電圧)を+22Vとし、リセット信号をローレベルにするための検出電圧を+9Vとする。そのように構成した場合には、電源監視回路とシステムリセット回路65とが、同一の電源VSLの電圧を監視するので、電圧監視回路が電源断信号を出力するタイミングとシステムリセット回路65がシステムリセット信号を出力するタイミングの差を所望の所定期間に確実に設定することができる。所望の所定期間とは、電源監視回路からの電源断信号に応じて電力供給停止時処理を開始してから電力供給停止時処理が確実に完了するまでの期間である。なお、電源監視回路とシステムリセット回路65とが監視する電源の電圧は異なっていてもよい。   For example, the detection voltage of the power supply monitoring circuit (power supply monitoring IC 902) (the voltage at which the power-off signal is output) is set to + 22V, and the detection voltage for setting the reset signal to low level is set to + 9V. In such a configuration, since the power supply monitoring circuit and the system reset circuit 65 monitor the voltage of the same power supply VSL, the timing at which the voltage monitoring circuit outputs a power-off signal and the system reset circuit 65 reset the system. It is possible to reliably set the difference in timing for outputting the signal within a desired predetermined period. The desired predetermined period is a period from the start of the power supply stop process in response to the power-off signal from the power supply monitoring circuit until the completion of the power supply stop process. The power supply voltage monitored by the power supply monitoring circuit and the system reset circuit 65 may be different.

CPU56等の駆動電源である+5V電源から電力が供給されていない間、RAM55の少なくとも一部は、電源基板910から供給されるバックアップ電源によってバックアップされ、遊技機に対する電力供給が停止しても内容は保存される。そして、+5V電源が復旧すると、システムリセット回路65からリセット信号が発せられるので、CPU56は、通常の動作状態に復帰する。そのとき、必要なデータがバックアップRAMに保存されているので、停電等からの復旧時に停電等の発生時の遊技状態に復旧させることができる。   While power is not supplied from the + 5V power source that is the driving power source of the CPU 56 or the like, at least a part of the RAM 55 is backed up by the backup power source supplied from the power supply board 910, and the content remains even if power supply to the gaming machine is stopped. Saved. When the +5 V power supply is restored, a reset signal is issued from the system reset circuit 65, so that the CPU 56 returns to a normal operation state. At that time, since necessary data is stored in the backup RAM, it is possible to restore the gaming state at the time of occurrence of a power failure or the like at the time of recovery from the power failure or the like.

なお、図10に示す構成では、電源投入時にCPU56のリセット端子に2回のリセット信号(ローレベル信号)が与えられるが、リセット信号の立ち上がりタイミングが1回しかなくても確実にリセット解除されるCPUを使用する場合には、符号941〜949で示された回路素子は不要である。その場合、リセットIC651の出力がそのままCPU56のリセット端子に接続される。   In the configuration shown in FIG. 10, two reset signals (low level signals) are given to the reset terminal of the CPU 56 when the power is turned on, but the reset is reliably released even if the reset signal rises only once. When the CPU is used, the circuit elements denoted by reference numerals 941 to 949 are not necessary. In that case, the output of the reset IC 651 is directly connected to the reset terminal of the CPU 56.

次に遊技機の動作について説明する。図11は、主基板31における遊技制御手段(CPU56およびROM,RAM等の周辺回路)が実行するメイン処理を示すフローチャートである。遊技機に対して電源が投入され、リセット端子の入力レベルがハイレベルになると、CPU56は、ステップS1以降のメイン処理を開始する。メイン処理において、CPU56は、まず、必要な初期設定を行う。   Next, the operation of the gaming machine will be described. FIG. 11 is a flowchart showing the main processing executed by the game control means (CPU 56 and peripheral circuits such as ROM and RAM) on the main board 31. When power is turned on to the gaming machine and the input level of the reset terminal becomes high level, the CPU 56 starts main processing after step S1. In the main process, the CPU 56 first performs necessary initial settings.

初期設定処理において、CPU56は、まず、割込禁止に設定する(ステップS1)。次に、割込モードを割込モード2に設定し(ステップS2)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS3)。そして、内蔵デバイスレジスタの初期化を行う(ステップS4)。また、内蔵デバイス(内蔵周辺回路)であるCTC(カウンタ/タイマ)およびPIO(パラレル入出力ポート)の初期化(ステップS5)を行った後、RAMをアクセス可能状態に設定する(ステップS6)。   In the initial setting process, the CPU 56 first sets the interrupt prohibition (step S1). Next, the interrupt mode is set to interrupt mode 2 (step S2), and a stack pointer designation address is set to the stack pointer (step S3). Then, the built-in device register is initialized (step S4). Further, after initialization (step S5) of CTC (counter / timer) and PIO (parallel input / output port) which are built-in devices (built-in peripheral circuits), the RAM is set in an accessible state (step S6).

この実施の形態で用いられるCPU56は、I/Oポート(PIO)およびタイマ/カウンタ回路(CTC)も内蔵している。また、CTCは、2本の外部クロック/タイマトリガ入力CLK/TRG2,3と2本のタイマ出力ZC/TO0,1を備えている。   The CPU 56 used in this embodiment also incorporates an I / O port (PIO) and a timer / counter circuit (CTC). The CTC also includes two external clock / timer trigger inputs CLK / TRG2, 3 and two timer outputs ZC / TO0,1.

この実施の形態で用いられているCPU56には、マスク可能な割込のモードとして以下の3種類のモードが用意されている。なお、マスク可能な割込が発生すると、CPU56は、自動的に割込禁止状態に設定するとともに、プログラムカウンタの内容をスタックにセーブする。   The CPU 56 used in this embodiment is provided with the following three modes as maskable interrupt modes. When a maskable interrupt occurs, the CPU 56 automatically sets the interrupt disabled state and saves the contents of the program counter in the stack.

割込モード0:割込要求を行った内蔵デバイスがRST命令(1バイト)またはCALL命令(3バイト)をCPUの内部データバス上に送出する。よって、CPU56は、RST命令に対応したアドレスまたはCALL命令で指定されるアドレスの命令を実行する。リセット時に、CPU56は自動的に割込モード0になる。よって、割込モード1または割込モード2に設定したい場合には、初期設定処理において、割込モード1または割込モード2に設定するための処理を行う必要がある。   Interrupt mode 0: The built-in device that has issued the interrupt request sends an RST instruction (1 byte) or a CALL instruction (3 bytes) onto the internal data bus of the CPU. Therefore, the CPU 56 executes the instruction at the address corresponding to the RST instruction or the address specified by the CALL instruction. At reset, the CPU 56 automatically enters interrupt mode 0. Therefore, when setting to interrupt mode 1 or interrupt mode 2, it is necessary to perform a process for setting to interrupt mode 1 or interrupt mode 2 in the initial setting process.

割込モード1:割込が受け付けられると、常に0038(h)番地に飛ぶモードである。   Interrupt mode 1: In this mode, when an interrupt is accepted, the mode always jumps to address 0038 (h).

割込モード2:CPU56の特定レジスタ(Iレジスタ)の値(1バイト)と内蔵デバイスが出力する割込ベクタ(1バイト:最下位ビット0)から合成されるアドレスが、割込番地を示すモードである。すなわち、割込番地は、上位アドレスが特定レジスタの値とされ下位アドレスが割込ベクタとされた2バイトで示されるアドレスである。従って、任意の(飛び飛びではあるが)偶数番地に割込処理を設置することができる。各内蔵デバイスは割込要求を行うときに割込ベクタを送出する機能を有している。   Interrupt mode 2: A mode in which the address synthesized from the value (1 byte) of the specific register (I register) of the CPU 56 and the interrupt vector (1 byte: least significant bit 0) output by the built-in device indicates the interrupt address It is. That is, the interrupt address is an address indicated by 2 bytes in which the upper address is the value of the specific register and the lower address is the interrupt vector. Therefore, an interrupt process can be set at an arbitrary address (although it is skipped). Each built-in device has a function of sending an interrupt vector when making an interrupt request.

よって、割込モード2に設定されると、各内蔵デバイスからの割込要求を容易に処理することが可能になり、また、プログラムにおける任意の位置に割込処理を設置することが可能になる。さらに、割込モード1とは異なり、割込発生要因毎のそれぞれの割込処理を用意しておくことも容易である。上述したように、この実施の形態では、初期設定処理のステップS2において、CPU56は割込モード2に設定される。   Therefore, when the interrupt mode 2 is set, it is possible to easily process an interrupt request from each built-in device, and it is possible to install an interrupt process at an arbitrary position in the program. . Furthermore, unlike interrupt mode 1, it is also easy to prepare each interrupt process for each interrupt generation factor. As described above, in this embodiment, the CPU 56 is set to the interrupt mode 2 in step S2 of the initial setting process.

次いで、CPU56は、入力ポート1を介して入力されるクリアスイッチ921の出力信号の状態を1回だけ確認する(ステップS7)。その確認においてオンを検出した場合には、CPU56は、通常の初期化処理を実行する(ステップS11〜ステップS15)。クリアスイッチ921がオンである場合(押下されている場合)には、ローレベルのクリアスイッチ信号が出力されている。なお、入力ポート1では、クリアスイッチ信号のオン状態はハイレベルである。また、例えば、遊技店員は、クリアスイッチ921をオン状態にしながら遊技機に対する電力供給を開始する(例えば電源スイッチ914をオンする)ことによって、容易に初期化処理を実行させることができる。すなわち、RAMクリア等を行うことができる。   Next, the CPU 56 confirms the state of the output signal of the clear switch 921 input via the input port 1 only once (step S7). When the on-state is detected in the confirmation, the CPU 56 executes normal initialization processing (steps S11 to S15). When the clear switch 921 is on (when pressed), a low-level clear switch signal is output. In the input port 1, the clear switch signal is on at a high level. Further, for example, the game clerk can easily execute the initialization process by starting the power supply to the gaming machine (for example, turning on the power switch 914) while turning the clear switch 921 on. That is, RAM clear or the like can be performed.

クリアスイッチ921がオンの状態でない場合には、遊技機への電力供給が停止したときにバックアップRAM領域のデータ保護処理(例えばパリティデータの付加等の電力供給停止時処理)が行われたか否か確認する(ステップS8)。この実施の形態では、電力供給の停止が生じた場合には、バックアップRAM領域のデータを保護するための処理が行われている。そのような保護処理が行われていた場合をバックアップありとする。そのような保護処理が行われていないことを確認したら、CPU56は初期化処理を実行する。   If the clear switch 921 is not in the on state, whether or not data protection processing of the backup RAM area (for example, power supply stop processing such as addition of parity data) has been performed when power supply to the gaming machine is stopped Confirm (step S8). In this embodiment, when power supply is stopped, a process for protecting data in the backup RAM area is performed. When such protection processing is performed, it is assumed that there is a backup. When it is confirmed that such protection processing is not performed, the CPU 56 executes initialization processing.

この実施の形態では、バックアップRAM領域にバックアップデータがあるか否かは、電力供給停止時処理においてバックアップRAM領域に設定されるバックアップフラグの状態によって確認される。この例では、図12に示すように、バックアップフラグ領域に「55H」が設定されていればバックアップあり(オン状態)を意味し、「55H」以外の値が設定されていればバックアップなし(オフ状態)を意味する。   In this embodiment, whether or not there is backup data in the backup RAM area is confirmed by the state of the backup flag set in the backup RAM area in the power supply stop process. In this example, as shown in FIG. 12, if “55H” is set in the backup flag area, it means that there is a backup (ON state), and if a value other than “55H” is set, there is no backup (OFF). State).

バックアップありを確認したら、CPU56は、バックアップRAM領域のデータチェック(この例ではパリティチェック)を行う(ステップS9)。この実施の形態では、クリアデータ(00)をチェックサムデータエリアにセットし、チェックサム算出開始アドレスをポインタにセットする。また、チェックサムの対象となるデータ数に対応するチェックサム算出回数をセットする。そして、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する。演算結果をチェックサムデータエリアにストアするとともに、ポインタの値を1増やし、チェックサム算出回数の値を1減算する。以上の処理が、チェックサム算出回数の値が0になるまで繰り返される。チェックサム算出回数の値が0になったら、CPU56は、チェックサムデータエリアの内容の各ビットの値を反転し、反転後のデータをチェックサムとする。   After confirming that there is a backup, the CPU 56 performs a data check of the backup RAM area (parity check in this example) (step S9). In this embodiment, clear data (00) is set in the checksum data area, and the checksum calculation start address is set in the pointer. Also, the number of checksum calculations corresponding to the number of data to be checksum is set. Then, the exclusive OR of the contents of the checksum data area and the contents of the RAM area pointed to by the pointer is calculated. The calculation result is stored in the checksum data area, the pointer value is incremented by 1, and the checksum calculation count value is decremented by 1. The above processing is repeated until the value of the checksum calculation count becomes zero. When the value of the checksum calculation count reaches 0, the CPU 56 inverts the value of each bit of the contents of the checksum data area and uses the inverted data as the checksum.

電力供給停止時処理において、上記の処理と同様の処理によってチェックサムが算出され、チェックサムはバックアップRAM領域に保存されている。ステップS9では、算出したチェックサムと保存されているチェックサムとを比較する。不測の停電等の電力供給停止が生じた後に復旧した場合には、バックアップRAM領域のデータは保存されているはずであるから、チェック結果(比較結果)は正常(一致)になる。チェック結果が正常でないということは、バックアップRAM領域のデータが、電力供給停止時のデータとは異なっていることを意味する。そのような場合には、内部状態を電力供給停止時の状態に戻すことができないので、電力供給の停止からの復旧時でない電源投入時に実行される初期化処理を実行する。   In the power supply stop process, a checksum is calculated by the same process as described above, and the checksum is stored in the backup RAM area. In step S9, the calculated checksum is compared with the stored checksum. When the power supply is stopped after an unexpected power failure or the like, the data in the backup RAM area should be saved, so the check result (comparison result) is normal (matched). That the check result is not normal means that the data in the backup RAM area is different from the data when the power supply is stopped. In such a case, since the internal state cannot be returned to the state when the power supply is stopped, an initialization process that is executed when the power is turned on is not performed when the power supply is stopped.

チェック結果が正常であれば、CPU56は、遊技制御手段の内部状態と表示制御手段等の電気部品制御手段の制御状態を電力供給停止時の状態に戻すための遊技状態復旧処理を行う(ステップS10)。そして、バックアップRAM領域に保存されていたPC(プログラムカウンタ)の退避値がPCに設定され、そのアドレスに復帰する。   If the check result is normal, the CPU 56 performs a game state restoration process for returning the internal state of the game control means and the control state of the electric component control means such as the display control means to the state when the power supply is stopped (step S10). ). Then, the saved value of the PC (program counter) stored in the backup RAM area is set in the PC, and the address is restored.

このように、バックアップフラグの状態によって「バックアップあり」が確認されなかった場合には、後述する遊技状態復旧処理を行うことなく後述する初期化処理を行うようにしているので、バックアップデータが存在しないのにもかかわらず遊技状態復旧処理が実行されてしまうことを防止することができ、初期化処理によって制御状態を初期状態に戻すことが可能になる。   As described above, when “backup exists” is not confirmed according to the status of the backup flag, the initialization process described later is performed without performing the gaming state recovery process described later, and therefore there is no backup data. However, it is possible to prevent the gaming state restoration process from being executed, and the control state can be returned to the initial state by the initialization process.

また、チェックデータを用いたチェック結果が正常でなかった場合には、後述する遊技状態復旧処理を行うことなく後述する初期化処理を行うようにしているので、電力供給停止時とは異なる内容となってしまっているバックアップデータにもとづいて遊技状態復旧処理が実行されてしまうことを防止することができ、初期化処理によって制御状態を初期状態に戻すことが可能になる。   In addition, when the check result using the check data is not normal, the initialization process described later is performed without performing the gaming state recovery process described later, so that the contents differ from those at the time of stopping the power supply. It is possible to prevent the gaming state recovery process from being executed based on the backup data that has been made, and the control state can be returned to the initial state by the initialization process.

CPU56は、バックアップフラグとチェックサム等のチェックデータとを用いてバックアップRAM領域のデータが保存されているか否かを確認する。すなわち、電力供給が復帰した場合には、電力供給が停止する前の制御状態に復旧させるか否かを決定するための複数の復旧条件(この例ではバックアップフラグが正常に保存されていたこととチェックサムが正常であったこと)がすべて成立した場合に、変動データ記憶手段に保存されていた記憶内容にもとづいて制御状態を復旧させる復旧処理を実行し、複数の復旧条件のうち少なくとも1つの条件が不成立であった場合に変動データ記憶手段の記憶内容を初期化する初期化処理を実行可能である。複数の復旧条件を用いることによって、遊技状態を電力供給停止時の状態に正確に戻すことができる。すなわち、バックアップRAM領域のデータにもとづく状態復旧処理の確実性が向上する。なお、操作手段から操作信号が出力された場合には、複数の復旧条件に関わらず初期化処理を実行する(ステップS7)。なお、この実施の形態では、バックアップフラグとチェックデータとの双方を用いてバックアップRAM領域のデータが保存されているか否かを確認しているが、いずれか一方のみを用いてもよい。すなわち、バックアップフラグとチェックデータとのいずれかを、状態復旧処理を実行するための契機としてもよい。   The CPU 56 uses the backup flag and check data such as a checksum to check whether data in the backup RAM area is stored. That is, when the power supply is restored, a plurality of recovery conditions for determining whether or not to restore the control state before the power supply is stopped (in this example, the backup flag was normally stored) When all of the checksums are normal), a recovery process for recovering the control state based on the stored contents stored in the variable data storage means is executed, and at least one of the plurality of recovery conditions When the condition is not satisfied, an initialization process for initializing the storage contents of the variation data storage means can be executed. By using a plurality of recovery conditions, the gaming state can be accurately returned to the state when the power supply is stopped. That is, the certainty of the state restoration process based on the data in the backup RAM area is improved. If an operation signal is output from the operation means, initialization processing is executed regardless of a plurality of recovery conditions (step S7). In this embodiment, it is confirmed whether or not the data in the backup RAM area is stored by using both the backup flag and the check data, but only one of them may be used. That is, either the backup flag or the check data may be used as an opportunity for executing the state recovery process.

初期化処理では、CPU56は、まず、RAMクリア処理を行う(ステップS11)。なお、RAMの全領域を初期化せず、所定のデータ(例えば大当り判定用乱数を生成するためのカウンタのカウント値のデータ)をそのままにしてもよい。例えば、大当り判定用乱数を生成するためのカウンタのカウント値のデータをそのままにした場合には、不正な手段によって初期化処理が実行される状態になったとしても、大当り判定用乱数を生成するためのカウンタのカウント値が大当り判定値に一致するタイミングを狙うことは困難である。また、所定の作業領域(例えば、普通図柄判定用乱数カウンタ、普通図柄判定用バッファ、特別図柄左中右図柄バッファ、総賞球数格納バッファ、特別図柄プロセスフラグ、賞球中フラグ、球切れフラグ、払出停止フラグなど制御状態に応じて選択的に処理を行うためのフラグ)に初期値を設定する作業領域設定処理を行う(ステップS12)。   In the initialization process, the CPU 56 first performs a RAM clear process (step S11). Note that the entire area of the RAM may not be initialized, and predetermined data (for example, count value data of a counter for generating a big hit determination random number) may be left as it is. For example, if the count value data of the counter for generating the big hit determination random number is left as it is, the big hit determination random number is generated even if the initialization process is executed by unauthorized means. Therefore, it is difficult to aim at the timing at which the count value of the counter matches the jackpot determination value. In addition, a predetermined work area (for example, a normal symbol determination random number counter, a normal symbol determination buffer, a special symbol left middle right symbol buffer, a total winning ball number storage buffer, a special symbol process flag, a winning ball flag, a ball running flag Then, a work area setting process for setting an initial value to a flag for selectively performing processing according to the control state such as a payout stop flag is performed (step S12).

また、CPU56は、演出制御基板80を初期化するための初期化コマンドを演出制御基板80に送信する処理を実行する(ステップS14)。初期化コマンドとして、可変表示装置9に表示される初期図柄を示すコマンド等がある。   Further, the CPU 56 executes a process of transmitting an initialization command for initializing the effect control board 80 to the effect control board 80 (step S14). Examples of the initialization command include a command indicating an initial symbol displayed on the variable display device 9.

そして、2ms毎に定期的にタイマ割込がかかるようにCPU56に設けられているCTCのレジスタの設定が行われる(ステップS15)。すなわち、初期値として2msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。   Then, a CTC register set in the CPU 56 is set so that a timer interrupt is periodically generated every 2 ms (step S15). That is, a value corresponding to 2 ms is set in a predetermined register (time constant register) as an initial value.

初期化処理の実行(ステップS11〜S15)が完了すると、メイン処理で、表示用乱数更新処理(ステップS17)および初期値用乱数更新処理(ステップS18)が繰り返し実行される。表示用乱数更新処理および初期値用乱数更新処理が実行されるときには割込禁止状態とされ(ステップS16)、表示用乱数更新処理および初期値用乱数更新処理の実行が終了すると割込許可状態とされる(ステップS19)。表示用乱数とは、可変表示装置9に表示される図柄を決定するための乱数であり、表示用乱数更新処理とは、表示用乱数を発生するためのカウンタのカウント値を更新する処理である。また、初期値用乱数更新処理とは、初期値用乱数を発生するためのカウンタのカウント値を更新する処理である。初期値用乱数とは、大当りとするか否かを決定するための乱数を発生するためのカウンタ(大当り決定用乱数発生カウンタ)等のカウント値の初期値を決定するための乱数である。後述する遊技制御処理において、大当り決定用乱数発生カウンタのカウント値が1周すると、そのカウンタに初期値が設定される。   When the execution of the initialization process (steps S11 to S15) is completed, the display random number update process (step S17) and the initial value random number update process (step S18) are repeatedly executed in the main process. When the display random number update process and the initial value random number update process are executed, the interrupt disabled state is set (step S16). When the display random number update process and the initial value random number update process are finished, the interrupt enabled state is set. (Step S19). The display random number is a random number for determining a symbol displayed on the variable display device 9, and the display random number update process is a process for updating the count value of the counter for generating the display random number. . The initial value random number update process is a process for updating the count value of the counter for generating the initial value random number. The initial value random number is a random number for determining an initial value of a count value such as a counter for generating a random number for determining whether or not to make a big hit (a big hit determination random number generation counter). In a game control process described later, when the count value of the jackpot determination random number generation counter makes one round, an initial value is set in the counter.

なお、表示用乱数更新処理が実行されるときには割込禁止状態とされるのは、表示用乱数更新処理が後述するタイマ割込処理でも実行されることから、タイマ割込処理における処理と競合してしまうのを避けるためである。すなわち、ステップS17の処理中にタイマ割込が発生してタイマ割込処理中で表示用乱数を発生するためのカウンタのカウント値を更新してしまったのでは、カウント値の連続性が損なわれる場合がある。しかし、ステップS17の処理中では割込禁止状態にしておけば、そのような不都合が生ずることはない。   Note that when the display random number update process is executed, the interrupt is prohibited. The display random number update process is also executed in the timer interrupt process described later, and thus conflicts with the process in the timer interrupt process. This is to avoid that. That is, if the timer interrupt is generated during the process of step S17 and the counter value for generating the display random number is updated during the timer interrupt process, the continuity of the count value is impaired. There is a case. However, such an inconvenience does not occur if the interrupt is prohibited during the process of step S17.

図13は、遊技状態復旧処理の一例を示すフローチャートである。遊技状態復旧処理において、CPU56は、まず、スタックポインタの復帰処理を行う(ステップS80)。スタックポインタの値は、後で詳述する電力供給停止時処理において、所定のRAMエリア(電源バックアップされている作業領域におけるスタックポインタ退避バッファ)に退避している。よって、ステップS81では、そのRAMエリアの値をスタックポインタに設定することによって復帰させる。なお、復帰されたスタックポインタが指す領域(すなわちスタック領域)には、電力供給が停止したときのレジスタ値やプログラムカウンタ(PC)の値が退避している。   FIG. 13 is a flowchart illustrating an example of the game state restoration process. In the game state restoration process, the CPU 56 first performs a stack pointer restoration process (step S80). The value of the stack pointer is saved in a predetermined RAM area (stack pointer save buffer in the work area backed up by power) in the power supply stop process described in detail later. Therefore, in step S81, the RAM area value is set in the stack pointer to return. Note that the register value and the value of the program counter (PC) when the power supply is stopped are saved in the area pointed to by the restored stack pointer (that is, the stack area).

次いで、CPU56は、電力供給が停止したときの可変表示装置9における特別図柄の表示状態に応じて、その表示状態を復旧させるための演出制御コマンドを送信する(ステップS84)。   Next, the CPU 56 transmits an effect control command for restoring the display state according to the display state of the special symbol in the variable display device 9 when the power supply is stopped (step S84).

その後、CPU56は、バックアップフラグをクリアする(ステップS88)すなわち、前回の電力供給停止時に所定の記憶保護処理が実行されたことを示すフラグをリセットする。よって、制御状態の復旧後に不必要な情報が残存しないようにすることができる。また、スタック領域から各種レジスタの退避値を読み出して、各種レジスタ(IXレジスタ、HLレジスタ、DEレジスタ、BCレジスタ)に設定する(ステップS89)。すなわち、レジスタ復元処理を行う。なお、各レジスタが復元させる毎に、スタックポインタの値が減らされる。すなわち、スタックポインタの値が、スタック領域の1つ前のアドレスを指すように更新される。そして、パリティフラグがオンしていない場合には割込許可状態にする(ステップS90,S91)。最後に、AFレジスタ(アキュミュレータとフラグのレジスタ)をスタック領域から復元する(ステップS92)。   Thereafter, the CPU 56 clears the backup flag (step S88), that is, resets a flag indicating that a predetermined storage protection process has been executed when the previous power supply was stopped. Therefore, unnecessary information can be prevented from remaining after the control state is restored. Also, the saved values of various registers are read from the stack area and set in various registers (IX register, HL register, DE register, BC register) (step S89). That is, register restoration processing is performed. Each time each register is restored, the value of the stack pointer is decreased. In other words, the value of the stack pointer is updated to point to the previous address in the stack area. If the parity flag is not turned on, an interrupt permission state is set (steps S90 and S91). Finally, the AF register (accumulator and flag register) is restored from the stack area (step S92).

そして、RET命令が実行される。RET命令が実行されるときには、CPU56は、スタックポインタが指す領域に格納されているデータをプログラムカウンタに設定することによってプログラムのリターン動作を実現する。ただし、ここでのリターン先は、遊技状態復旧処理をコールした部分ではない。なぜなら、ステップS81においてスタックポインタの復帰処理がなされ、ステップS89でレジスタの復元処理が終了した後では、スタック領域を指すスタックポインタは、NMIによる電力供給停止時処理が開始されたときに実行されていたプログラムのアドレスが退避している領域を指している。すなわち、復帰されたスタックポインタが指すスタック領域に格納されているリターンアドレスは、プログラムにおける前回の電力供給停止時にNMIが発生したアドレスである。従って、ステップS92の次のRET命令によって、電力供給停止時にNMIが発生したアドレスにリターンする。すなわち、この実施の形態では、スタック領域に退避されていたアドレスデータ(プログラムアドレスデータ)にもとづいて復旧制御が実行されている。   Then, the RET instruction is executed. When the RET instruction is executed, the CPU 56 realizes a program return operation by setting the data stored in the area pointed to by the stack pointer in the program counter. However, the return destination here is not the part that called the game state restoration process. This is because the stack pointer restoration process is performed in step S81, and after the register restoration process is completed in step S89, the stack pointer indicating the stack area is executed when the power supply stop process by the NMI is started. Indicates the area where the program address is saved. That is, the return address stored in the stack area pointed to by the returned stack pointer is the address where the NMI occurred when the power supply was last stopped in the program. Therefore, the next RET command in step S92 returns to the address where the NMI occurred when the power supply was stopped. That is, in this embodiment, recovery control is executed based on the address data (program address data) saved in the stack area.

タイマ割込が発生すると、CPU56は、レジスタの退避処理(ステップS20)を行った後、図14に示すステップS21〜S32の遊技制御処理を実行する。遊技制御処理において、CPU56は、まず、スイッチ回路58を介して、ゲートスイッチ32a、始動口スイッチ14a、カウントスイッチ23および入賞口スイッチ29a,30a,33a,39a等のスイッチの検出信号を入力し、それらの状態判定を行う(スイッチ処理:ステップS21)。   When the timer interrupt occurs, the CPU 56 performs the register saving process (step S20), and then executes the game control process of steps S21 to S32 shown in FIG. In the game control process, the CPU 56 first inputs detection signals of switches such as the gate switch 32a, the start port switch 14a, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a through the switch circuit 58. These state determinations are performed (switch processing: step S21).

次いで、パチンコ遊技機1の内部に備えられている自己診断機能によって種々の異常診断処理が行われ、その結果に応じて必要ならば警報が発せられる(エラー処理:ステップS22)。   Next, various abnormality diagnosis processes are performed by the self-diagnosis function provided in the pachinko gaming machine 1, and an alarm is issued if necessary according to the result (error process: step S22).

次に、遊技制御に用いられる大当り判定用の乱数等の各判定用乱数を生成するための各カウンタのカウント値を更新する処理を行う(ステップS23)。CPU56は、さらに、表示用乱数および初期値用乱数を生成するためのカウンタのカウント値を更新する処理を行う(ステップS24,S25)。   Next, a process of updating the count value of each counter for generating each determination random number such as a big hit determination random number used for game control is performed (step S23). The CPU 56 further performs a process of updating the count value of the counter for generating the display random number and the initial value random number (steps S24 and S25).

さらに、CPU56は、特別図柄プロセス処理を行う(ステップS26)。特別図柄プロセス制御では、遊技状態に応じてパチンコ遊技機1を所定の順序で制御するための特別図柄プロセスフラグに従って該当する処理が選び出されて実行される。そして、特別図柄プロセスフラグの値は、遊技状態に応じて各処理中に更新される。また、普通図柄プロセス処理を行う(ステップS27)。普通図柄プロセス処理では、普通図柄表示器10の表示状態を所定の順序で制御するための普通図柄プロセスフラグに従って該当する処理が選び出されて実行される。そして、普通図柄プロセスフラグの値は、遊技状態に応じて各処理中に更新される。   Further, the CPU 56 performs special symbol process processing (step S26). In the special symbol process control, corresponding processing is selected and executed according to a special symbol process flag for controlling the pachinko gaming machine 1 in a predetermined order according to the gaming state. The value of the special symbol process flag is updated during each process according to the gaming state. Further, normal symbol process processing is performed (step S27). In the normal symbol process, the corresponding process is selected and executed according to the normal symbol process flag for controlling the display state of the normal symbol display 10 in a predetermined order. The value of the normal symbol process flag is updated during each process according to the gaming state.

次いで、CPU56は、特別図柄に関する演出制御コマンドをRAM55の所定の領域に設定して演出制御コマンドを送出する処理を行う(特別図柄コマンド制御処理:ステップS28)。また、普通図柄に関する演出制御コマンドをRAM55の所定の領域に設定して演出制御コマンドを送出する処理を行う(普通図柄コマンド制御処理:ステップS29)。   Next, the CPU 56 performs a process of setting an effect control command related to the special symbol in a predetermined area of the RAM 55 and sending the effect control command (special symbol command control process: step S28). Further, a process for setting the effect control command related to the normal symbol in a predetermined area of the RAM 55 and sending the effect control command is performed (normal symbol command control process: step S29).

さらに、CPU56は、例えばホール管理用コンピュータに供給される大当り情報、始動情報、確率変動情報などのデータを出力する情報出力処理を行う(ステップS30)。   Further, the CPU 56 performs information output processing for outputting data such as jackpot information, start information, probability variation information supplied to the hall management computer, for example (step S30).

また、CPU56は、所定の条件が成立したときにソレノイド回路59に駆動指令を行う(ステップS31)。可変入賞球装置15または開閉板20を開状態または閉状態としたり、大入賞口内の遊技球通路を切り替えたりするために、ソレノイド回路59は、駆動指令に応じてソレノイド16,21,21Aを駆動する。   Further, the CPU 56 issues a drive command to the solenoid circuit 59 when a predetermined condition is satisfied (step S31). The solenoid circuit 59 drives the solenoids 16, 21, and 21A in response to a drive command in order to open or close the variable winning ball device 15 or the opening / closing plate 20, or to switch the game ball passage in the special winning opening. To do.

そして、CPU56は、入賞口スイッチ29a,30a,33a,39aの検出信号にもとづく賞球個数の設定などを行う賞球処理を実行する(ステップS32)。具体的には、入賞口スイッチ29a,30a,33a,39aがオンしたことにもとづく入賞検出に応じて、払出制御基板37に賞球個数を示す払出個数信号等の制御信号を出力する。払出制御基板37に搭載されている払出制御用CPU371は、賞球個数を示す払出個数信号等の制御信号に応じて球払出装置97を駆動する。その後、レジスタの内容を復帰させ(ステップS33)、割込許可状態に設定する(ステップS34)。   Then, the CPU 56 executes a prize ball process for setting the number of prize balls based on the detection signals from the winning opening switches 29a, 30a, 33a, 39a (step S32). Specifically, a control signal such as a payout number signal indicating the number of winning balls is output to the payout control board 37 in response to detection of winning based on the winning opening switch 29a, 30a, 33a, 39a being turned on. The payout control CPU 371 mounted on the payout control board 37 drives the ball payout device 97 according to a control signal such as a payout number signal indicating the number of prize balls. Thereafter, the contents of the register are restored (step S33), and the interrupt permission state is set (step S34).

以上の制御によって、この実施の形態では、遊技制御処理は2ms毎に起動されることになる。なお、この実施の形態では、タイマ割込処理で遊技制御処理が実行されているが、タイマ割込処理では例えば割込が発生したことを示すフラグのセットのみがなされ、遊技制御処理はメイン処理において実行されるようにしてもよい。   With the above control, in this embodiment, the game control process is started every 2 ms. In this embodiment, the game control process is executed by the timer interrupt process. However, in the timer interrupt process, for example, only a flag indicating that an interrupt has occurred is set, and the game control process is performed by the main process. May be executed.

図15および図16は、電源基板910からの電源断信号に応じて実行されるマスク不能割込処理(電力供給停止時処理)の処理例を示すフローチャートである。なお、マスク不能割込処理とは、割込禁止がかけられない処理を意味する。マスク不能割込が発生すると、CPU56に内蔵されている割込制御機構は、マスク不能割込発生時に実行されていたプログラムのアドレス(具体的には実行完了後の次のアドレス)を、スタックポインタが指すスタック領域に退避させるとともに、スタックポインタの値を増やす。すなわち、スタックポインタの値がスタック領域の次のアドレスを指すように更新する。   FIG. 15 and FIG. 16 are flowcharts showing a processing example of a non-maskable interrupt process (power supply stop process) executed in response to the power-off signal from the power supply board 910. The non-maskable interrupt process means a process that cannot be prohibited from being interrupted. When a non-maskable interrupt occurs, the interrupt control mechanism built in the CPU 56 sets the address of the program executed when the non-maskable interrupt occurs (specifically, the next address after completion of execution) as a stack pointer. Is saved in the stack area pointed to by and the value of the stack pointer is increased. That is, the stack pointer value is updated to point to the next address in the stack area.

電力供給停止時処理において、CPU56は、AFレジスタ(アキュミュレータとフラグのレジスタ)を所定のバックアップRAM領域に退避する(ステップS451)。また、割込フラグをパリティフラグにコピーする(ステップS452)。パリティフラグはバックアップRAM領域に形成されている。また、BCレジスタ、DEレジスタ、HLレジスタ、IXレジスタおよびスタックポインタをバックアップRAM領域に退避する(ステップS454〜S458)。なお、電源復旧時には、退避された内容にもとづいてレジスタ内容が復元され、パリティフラグの内容に応じて、割込許可状態/禁止状態の内部設定がなされる。   In the power supply stop process, the CPU 56 saves the AF register (accumulator and flag register) in a predetermined backup RAM area (step S451). Further, the interrupt flag is copied to the parity flag (step S452). The parity flag is formed in the backup RAM area. Also, the BC register, DE register, HL register, IX register, and stack pointer are saved in the backup RAM area (steps S454 to S458). When the power is restored, the register contents are restored based on the saved contents, and the interrupt permission / prohibition state is internally set according to the contents of the parity flag.

次いで、CPU56は、クリアデータ(00)を適当なレジスタにセットし(ステップS459)、処理数(この例では「7」)を別のレジスタにセットする(ステップS460)。また、出力ポート0のアドレスをIOポインタに設定する(ステップS461)。IOポインタとして、さらに別のレジスタが用いられる。   Next, the CPU 56 sets clear data (00) in an appropriate register (step S459), and sets the number of processes (in this example, “7”) in another register (step S460). Further, the address of the output port 0 is set in the IO pointer (step S461). Another register is used as the IO pointer.

そして、IOポインタが指すアドレスにクリアデータをセットするとともに(ステップS462)、IOポインタの値を1増やし(ステップS463)、処理数の値を1減算する(ステップS464)。ステップS462〜S464の処理が、処理数の値が0になるまで繰り返される(ステップS465)。その結果、全ての出力ポート0〜6にクリアデータが設定される。この例では、「1」がオン状態であり、クリアデータである「00」が各出力ポートにセットされるので、全ての出力ポートがオフ状態になる。   Then, clear data is set at the address indicated by the IO pointer (step S462), the value of the IO pointer is incremented by 1 (step S463), and the value of the processing number is subtracted by 1 (step S464). The processes of steps S462 to S464 are repeated until the value of the number of processes becomes 0 (step S465). As a result, clear data is set for all output ports 0-6. In this example, “1” is in the on state and “00”, which is the clear data, is set in each output port, so all the output ports are in the off state.

上記のように、各出力ポートがオフ状態になるので、保存される遊技状態と整合しない状況が発生することは確実に防止される。つまり、パチンコ遊技機のように可変入賞球装置を有している遊技機において、実装の関係上、可変入賞球装置における可変入賞口の位置と入賞を検出する入賞口スイッチの設置位置とを、ある程度離さざるを得ない。出力ポート、特に可変入賞球装置を開放状態にするための信号が出力される出力ポートを直ちにオフ状態にしないと、電力供給停止時に、可変入賞口に入賞したにもかかわらず、電力供給停止時処理の実行が開始されて入賞口スイッチの検出がなされない状況が起こりうる。その場合、可変入賞口に入賞があったことは保存されない。すなわち、実際に生じている遊技状態(入賞があったこと)と保存される遊技状態とが整合しない。しかし、この実施の形態では、出力ポートがクリアされて可変入賞球装置が閉じられるので、保存される遊技状態と整合しない状況が発生することは確実に防止される。   As described above, since each output port is turned off, it is reliably prevented that a situation inconsistent with the saved gaming state occurs. In other words, in a gaming machine having a variable winning ball device such as a pachinko gaming machine, the position of the variable winning hole in the variable winning ball device and the installation position of the winning port switch for detecting a winning are determined due to mounting. It must be separated to some extent. If the output port, in particular the output port that outputs the signal for opening the variable winning ball device, is not turned off immediately, the power supply will stop when the power supply is stopped, even though the variable prize opening has been won. There may be a situation in which the execution of the process is started and the winning opening switch is not detected. In that case, it is not stored that there was a winning in the variable winning opening. In other words, the gaming state that is actually occurring (the winning has been) does not match the saved gaming state. However, in this embodiment, since the output port is cleared and the variable winning ball device is closed, it is reliably prevented that a situation inconsistent with the saved gaming state occurs.

また、電気部品の駆動が不能になる状態になる前に実行される電力供給停止時処理の際に、出力ポートをクリアすることができるので、電気部品の駆動が不能になる状態となる前に遊技制御手段によって制御される各電気部品を、適切な動作停止状態にすることができる。例えば、開放中の大入賞口を閉成させ、また開放中の可変入賞球装置15を閉成させるなど、電気部品についての作動を停止させたあとに電気部品の駆動が不能になる状態とすることができる。従って、適切な停止状態で電力供給の復旧を待つことが可能になる。   In addition, since the output port can be cleared in the process of stopping power supply that is executed before the electric component can be driven, before the electric component can be driven. Each electric component controlled by the game control means can be put into an appropriate operation stop state. For example, the operation of the electrical component is stopped after the operation of the electrical component is stopped, such as closing the open large winning opening and closing the open variable winning ball device 15. be able to. Therefore, it is possible to wait for the power supply to be restored in an appropriate stop state.

さらに、電力供給停止時処理の際に、各電気部品を動作停止状態にするので、各電気部品を駆動するために電力が費やされることがなくなり、また、出力ポートからの信号出力に用いられる電流が遮断されるので、微量ではあるが電力消費を抑えることができる。   Further, since the electric components are stopped during the power supply stop process, power is not consumed to drive the electric components, and the current used for signal output from the output port Is cut off, so that power consumption can be suppressed although it is in a small amount.

全ての出力ポートをオフ状態とすると(ステップS465)、CPU56は、バックアップあり指定値(この例では「55H」)をバックアップフラグにストアする(ステップS487)。バックアップフラグはバックアップRAM領域に形成されている。次いで、パリティデータを作成する(ステップS488〜S497)。すなわち、まず、クリアデータ(00)をチェックサムデータエリアにセットし(ステップS488)、チェックサム算出開始アドレスをポインタにセットする(ステップS489)。また、チェックサム算出回数をセットする(ステップS490)。   When all the output ports are turned off (step S465), the CPU 56 stores the backup specified value (“55H” in this example) in the backup flag (step S487). The backup flag is formed in the backup RAM area. Next, parity data is created (steps S488 to S497). That is, first, the clear data (00) is set in the checksum data area (step S488), and the checksum calculation start address is set in the pointer (step S489). Also, the number of checksum calculations is set (step S490).

そして、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する(ステップS491)。演算結果をチェックサムデータエリアにストアするとともに(ステップS492)、ポインタの値を1増やし(ステップS493)、チェックサム算出回数の値を1減算する(ステップS494)。ステップS491〜S494の処理が、チェックサム算出回数の値が0になるまで繰り返される(ステップS495)。   Then, the exclusive OR of the contents of the checksum data area and the contents of the RAM area pointed to by the pointer is calculated (step S491). The calculation result is stored in the checksum data area (step S492), the pointer value is incremented by 1 (step S493), and the value of the checksum calculation count is decremented by 1 (step S494). The processes in steps S491 to S494 are repeated until the value of the checksum calculation count becomes 0 (step S495).

チェックサム算出回数の値が0になったら、CPU56は、チェックサムデータエリアの内容の各ビットの値を反転する(ステップS496)。そして、反転後のデータをチェックサムデータエリアにストアする(ステップS497)。このデータが、電源投入時にチェックされるパリティデータとなる。次いで、RAMアクセスレジスタにアクセス禁止値を設定する(ステップS498)。以後、内蔵RAM55のアクセスができなくなる。   When the value of the checksum calculation count becomes 0, the CPU 56 inverts the value of each bit of the contents of the checksum data area (step S496). Then, the inverted data is stored in the checksum data area (step S497). This data becomes parity data to be checked when the power is turned on. Next, an access prohibition value is set in the RAM access register (step S498). Thereafter, the built-in RAM 55 cannot be accessed.

そして、RAMアクセスレジスタにアクセス禁止値を設定すると、CPU56は、待機状態(ループ状態)に入る。従って、システムリセットされるまで、何もしない状態になる。   When the access prohibition value is set in the RAM access register, the CPU 56 enters a standby state (loop state). Therefore, nothing is done until the system is reset.

この実施の形態では、遊技制御処理において用いられるデータが格納されるRAM領域は全て電源バックアップされている。従って、その内容が正しく保存されているか否かを示すチェックサムの生成処理、およびその内容を書き換えないようにするためのRAMアクセス防止処理が、遊技状態を保存するための処理に相当する。   In this embodiment, all RAM areas in which data used in the game control process are stored are backed up. Therefore, the checksum generation process indicating whether or not the contents are correctly stored and the RAM access prevention process for preventing the contents from being rewritten correspond to the process for storing the gaming state.

なお、この実施の形態では、NMIに応じて電力供給停止時処理が実行されたが、電源断信号をCPU56のマスク可能端子に接続し、マスク可能割込処理によって電力供給停止時処理を実行してもよい。また、電源断信号を入力ポートに入力し、入力ポートのチェック結果に応じて電力供給停止時処理を実行してもよい。   In this embodiment, the power supply stop process is executed according to the NMI. However, the power supply stop signal is connected to the maskable terminal of the CPU 56 and the power supply stop process is executed by the maskable interrupt process. May be. Alternatively, a power-off signal may be input to the input port and the power supply stop process may be executed according to the input port check result.

また、この実施の形態では、電源断信号に応じて起動される処理の最初にレジスタの保存処理が行われたが、スイッチ検出処理の実行後に、すなわち、バックアップフラグの設定とチェックサムの算出の処理の前にレジスタ保存処理を行うことができる。その場合には、レジスタ保存処理、バックアップフラグ設定処理、チェックサム算出処理および出力ポートのオフ設定処理を電力供給停止時処理と見なすことができる。さらに、幾つかのレジスタを使用する場合であっても、使用しないレジスタについては、バックアップフラグの設定とチェックサムの算出の処理の前にレジスタ保存処理を行うことができる。   In this embodiment, the register saving process is performed at the beginning of the process activated in response to the power-off signal. However, after the switch detection process is executed, that is, the backup flag is set and the checksum is calculated. Register saving processing can be performed before processing. In this case, the register saving process, the backup flag setting process, the checksum calculation process, and the output port off setting process can be regarded as a power supply stop process. Further, even if some registers are used, register saving processing can be performed on the unused registers before setting the backup flag and calculating the checksum.

図17は、遊技機への電力供給停止時の電源電圧低下やNMI信号(=電源断信号:電力供給停止時信号)の様子を示すタイミング図である。遊技機に対する電力供給が停止すると、最も高い直流電源電圧であるVSLのうちの監視電圧(電源監視用IC902に入力される電圧)の電圧値は徐々に低下する。そして、この例では、+22Vにまで低下すると、主基板31に搭載されている電源監視用IC902から電源断信号が出力される(ローレベルになる)。   FIG. 17 is a timing diagram showing the state of the power supply voltage drop and the NMI signal (= power supply cut-off signal: power supply stop signal) when power supply to the gaming machine is stopped. When the power supply to the gaming machine is stopped, the voltage value of the monitoring voltage (the voltage input to the power supply monitoring IC 902) in the VSL that is the highest DC power supply voltage gradually decreases. In this example, when the voltage drops to +22 V, a power cut-off signal is output from the power monitoring IC 902 mounted on the main board 31 (becomes a low level).

電源断信号は、CPU56のNMI端子に入力される。CPU56は、NMI処理によって、所定の電力供給停止時処理を実行する。   The power-off signal is input to the NMI terminal of the CPU 56. The CPU 56 executes a predetermined power supply stop process by the NMI process.

VSLの電圧値がさらに低下して所定値(この例では+9V)にまで低下すると、主基板31に搭載されているシステムリセット回路65の出力がローレベルになり、CPU56がシステムリセット状態になる。なお、CPU56は、システムリセット状態とされる前に、電力供給停止時処理を完了している。   When the voltage value of VSL further decreases to a predetermined value (+9 V in this example), the output of the system reset circuit 65 mounted on the main board 31 becomes low level, and the CPU 56 enters a system reset state. Note that the CPU 56 has completed the power supply stop process before entering the system reset state.

VSLの電圧値がさらに低下してVcc(各種回路を駆動するための+5V)を生成することが可能な電圧を下回ると、各基板において各回路が動作できない状態となる。しかし、少なくとも主基板31では、電力供給停止時処理が実行され、CPU56がシステムリセット状態とされている。   When the voltage value of VSL is further decreased to be lower than a voltage capable of generating Vcc (+5 V for driving various circuits), each circuit cannot be operated on each substrate. However, at least the main board 31 executes the power supply stop process, and the CPU 56 is in a system reset state.

以上のように、この実施の形態では、電源監視回路は、遊技機で使用される直流電圧のうちで最も高い電源VSLの電圧を監視して、その電源の電圧が所定値を下回ったら電圧低下信号(電源断検出信号)を発生する。図17に示すように、電源断信号が出力されるタイミングでは、IC駆動電圧は、まだ各種回路素子を十分駆動できる電圧値になっている。従って、IC駆動電圧で動作する主基板31のCPU56が所定の電力供給停止時処理を行うための動作時間が確保されている。   As described above, in this embodiment, the power supply monitoring circuit monitors the voltage of the highest power supply VSL among the DC voltages used in the gaming machine, and the voltage drops when the voltage of the power supply falls below a predetermined value. Generates a signal (power failure detection signal). As shown in FIG. 17, at the timing when the power-off signal is output, the IC drive voltage is still a voltage value that can sufficiently drive various circuit elements. Therefore, an operation time is ensured for the CPU 56 of the main board 31 operating with the IC drive voltage to perform a predetermined power supply stop process.

なお、ここでは、電源監視回路は、遊技機で使用される直流電圧のうちで最も高い電源VSLから分岐された電圧を監視したが、電源断信号を発生するタイミングが、IC駆動電圧で動作する電気部品制御手段が所定の電力供給停止時処理を行うための動作時間が確保されるようなタイミングであれば、監視対象電圧は、最も高い電源VSLの電圧でなくてもよい。すなわち、少なくともICやソレノイドの駆動電圧よりも高い電圧を監視すれば、電気部品制御手段が所定の電力供給停止時処理を行うための動作時間が確保されるようなタイミングで電源断信号を発生することができる。この例では、ソレノイド等の駆動電圧として電源VSLから分岐された電圧が用いられるが、監視対象電圧が供給されるラインとは異なり、ソレノイド等に駆動電圧を供給するラインに大容量のコンデンサ924が接続されているので、ソレノイド等に対する駆動電圧の供給を継続することができる所定期間が確保されているタイミングで電源断信号を発生することができる。   Here, the power supply monitoring circuit monitors the voltage branched from the highest power supply VSL among the DC voltages used in the gaming machine, but the timing of generating the power-off signal operates with the IC drive voltage. The monitoring target voltage may not be the highest voltage of the power supply VSL as long as the operation time for the electrical component control means to perform the predetermined power supply stop process is ensured. In other words, if at least a voltage higher than the driving voltage of the IC or solenoid is monitored, the power-off signal is generated at such a timing that the operation time for the electric component control means to perform the predetermined power supply stop process is secured. be able to. In this example, a voltage branched from the power source VSL is used as a drive voltage for a solenoid or the like. Unlike a line to which a monitoring target voltage is supplied, a large-capacitance capacitor 924 is provided on a line for supplying a drive voltage to a solenoid or the like. Since it is connected, the power-off signal can be generated at a timing when a predetermined period during which the supply of the drive voltage to the solenoid or the like can be continued is secured.

最も高い電源VSL以外の電圧を監視対象電圧とする場合、上述したように、監視対象電圧は、電力供給停止時のスイッチオン誤検出の防止も期待できる電圧であることが好ましい。すなわち、遊技機の各種スイッチに供給される電圧(スイッチ電圧:例えば払出カウントスイッチ301の駆動電圧)が+12Vであることから、+12V電源電圧が落ち始める以前の段階で、電圧低下を検出できることが好ましい。よって、少なくともスイッチ電圧よりも高い電圧を監視することが好ましい。   When a voltage other than the highest power supply VSL is used as the monitoring target voltage, as described above, the monitoring target voltage is preferably a voltage that can be expected to prevent erroneous switch-on detection when power supply is stopped. That is, since the voltage supplied to the various switches of the gaming machine (switch voltage: for example, the drive voltage of the payout count switch 301) is + 12V, it is preferable that the voltage drop can be detected before the + 12V power supply voltage starts to drop. . Therefore, it is preferable to monitor a voltage higher than at least the switch voltage.

次に、メイン処理におけるスイッチ処理(ステップS21)の具体例を説明する。この実施の形態では、各スイッチの検出信号のオン状態が所定時間継続すると、確かにスイッチがオンしたと判定されスイッチオンに対応した処理が開始される。所定時間を計測するために、スイッチタイマが用いられる。スイッチタイマは、バックアップRAM領域に形成された1バイトのカウンタであり、検出信号がオン状態を示している場合に2ms毎に+1される。図18に示すように、スイッチタイマは検出信号の数Nだけ設けられている。また、RAM55において、各スイッチタイマのアドレスは、入力ポートのビット配列順と同じ順序で並んでいる。   Next, a specific example of the switch process (step S21) in the main process will be described. In this embodiment, when the ON state of the detection signal of each switch continues for a predetermined time, it is determined that the switch has been turned ON, and processing corresponding to the switch ON is started. A switch timer is used to measure the predetermined time. The switch timer is a 1-byte counter formed in the backup RAM area, and is incremented by 1 every 2 ms when the detection signal indicates an ON state. As shown in FIG. 18, the switch timers are provided by the number N of detection signals. In the RAM 55, the addresses of the switch timers are arranged in the same order as the bit arrangement order of the input ports.

図19は、遊技制御処理におけるステップS21のスイッチ処理の処理例を示すフローチャートである。なお、スイッチ処理は、図14に示すように遊技制御処理において最初に実行される。スイッチ処理において、CPU56は、まず、入力ポート0に入力されているデータを入力する(ステップS101)。次いで、処理数として「8」を設定し(ステップS102)、入賞口スイッチ33aのためのスイッチタイマのアドレスをポインタにセットする(ステップS103)。そして、スイッチチェック処理サブルーチンをコールする(ステップS104)。   FIG. 19 is a flowchart illustrating a processing example of the switch processing in step S21 in the game control processing. The switch process is first executed in the game control process as shown in FIG. In the switch process, the CPU 56 first inputs data input to the input port 0 (step S101). Next, “8” is set as the number of processes (step S102), and the address of the switch timer for the winning opening switch 33a is set in the pointer (step S103). Then, a switch check processing subroutine is called (step S104).

図20は、スイッチチェック処理サブルーチンを示すフローチャートである。スイッチチェック処理サブルーチンにおいて、CPU56は、ポート入力データ、この場合には入力ポート0からの入力データを「比較値」として設定する(ステップS121)。また、クリアデータ(00)をセットする(ステップS122)。そして、ポインタ(スイッチタイマのアドレスが設定されている)が指すスイッチタイマをロードするとともに(ステップS123)、比較値を右(上位ビットから下位ビットへの方向)にシフトする(ステップS124)。比較値には入力ポート0のデータ設定されている。そして、この場合には、入賞口スイッチ33aの検出信号がキャリーフラグに押し出される。   FIG. 20 is a flowchart showing a switch check processing subroutine. In the switch check processing subroutine, the CPU 56 sets port input data, in this case, input data from the input port 0, as a “comparison value” (step S121). Further, clear data (00) is set (step S122). Then, the switch timer pointed to by the pointer (switch timer address is set) is loaded (step S123), and the comparison value is shifted to the right (from the upper bit to the lower bit) (step S124). Data of input port 0 is set as the comparison value. In this case, the detection signal of the winning opening switch 33a is pushed out to the carry flag.

キャリーフラグの値が「1」であれば(ステップS125)、すなわち入賞口スイッチ33aの検出信号がオン状態であれば、スイッチタイマの値を1加算する(ステップS127)。加算後の値が0でなければ加算値をスイッチタイマに戻す(ステップS128,S129)。加算後の値が0になった場合には加算値をスイッチタイマに戻さない。すなわち、スイッチタイマの値が既に最大値(255)に達している場合には、それよりも値を増やさない。   If the value of the carry flag is “1” (step S125), that is, if the detection signal of the winning opening switch 33a is on, the switch timer value is incremented by 1 (step S127). If the value after addition is not 0, the addition value is returned to the switch timer (steps S128 and S129). When the value after addition becomes 0, the addition value is not returned to the switch timer. That is, when the value of the switch timer has already reached the maximum value (255), the value is not increased further.

キャリーフラグの値が「0」であれば、すなわち入賞口スイッチ33aの検出信号がオフ状態であれば、スイッチタイマにクリアデータをセットする(ステップS126)。すなわち、スイッチがオフ状態であれば、スイッチタイマの値が0に戻る。   If the value of the carry flag is “0”, that is, if the detection signal of the winning opening switch 33a is in the OFF state, clear data is set in the switch timer (step S126). That is, if the switch is off, the value of the switch timer returns to zero.

その後、CPU56は、ポインタ(スイッチタイマのアドレス)を1加算するとともに(ステップS130)、処理数を1減算する(ステップS131)。処理数が0になっていなければステップS122に戻る。そして、ステップS122〜S132の処理が繰り返される。   Thereafter, the CPU 56 adds 1 to the pointer (switch timer address) (step S130) and subtracts 1 from the number of processes (step S131). If the number of processes is not 0, the process returns to step S122. Then, the processes of steps S122 to S132 are repeated.

ステップS122〜S132の処理は、処理数分すなわち8回繰り返され、その間に、入力ポート0の8ビットに入力されるスイッチの検出信号について、順次、オン状態かオフ状態か否かのチェック処理が行われ、オン状態であれば、対応するスイッチタイマの値が1増やされる。   The processes in steps S122 to S132 are repeated for the number of processes, that is, eight times, and during that time, the detection signal of the switch input to the 8 bits of the input port 0 is sequentially checked to determine whether it is on or off. If it is ON, the value of the corresponding switch timer is incremented by one.

CPU56は、スイッチ処理のステップS105において、入力ポート1に入力されているデータを入力する。次いで、処理数として「4」を設定し(ステップS106)、カウントスイッチ23のためのスイッチタイマのアドレスをポインタにセットする(ステップS107)。そして、スイッチチェック処理サブルーチンをコールする(ステップS108)。   The CPU 56 inputs the data input to the input port 1 in step S105 of the switch process. Next, “4” is set as the processing number (step S106), and the address of the switch timer for the count switch 23 is set in the pointer (step S107). Then, a switch check processing subroutine is called (step S108).

スイッチチェック処理サブルーチンでは、上述した処理が実行されるので、ステップS122〜S132の処理が、処理数分すなわち4回繰り返され、その間に、入力ポート1の4ビットに入力されるスイッチの検出信号について、順次、オン状態かオフ状態か否かのチェック処理が行われ、オン状態であれば、対応するスイッチタイマの値が1増やされる。   In the switch check processing subroutine, since the above-described processing is executed, the processing in steps S122 to S132 is repeated for the number of processing, that is, four times, and the detection signal of the switch input to the 4 bits of the input port 1 during that time. Then, a check process is sequentially performed to determine whether the state is on or off. If the state is on, the value of the corresponding switch timer is incremented by one.

なお、この実施の形態では、遊技制御処理が2ms毎に起動されるので、スイッチ処理も2msに1回実行される。従って、スイッチタイマは、2ms毎に+1される。   In this embodiment, since the game control process is started every 2 ms, the switch process is also executed once every 2 ms. Therefore, the switch timer is incremented by 1 every 2 ms.

図21、図22は、遊技制御処理におけるステップS32の賞球処理の一例を示すフローチャートである。この実施の形態では、賞球処理では、賞球払出の対象となる入賞口スイッチ33a,39a,29a,30a、カウントスイッチ23および始動口スイッチ14aが確実にオンしたか否か判定されるとともに、オンしたら賞球払出要求を行うためのREQ信号(賞球リクエスト信号)および賞球個数を示す払出個数信号が払出制御基板37に出力されるように制御する等の処理が行われる。   FIG. 21 and FIG. 22 are flowcharts showing an example of the prize ball process in step S32 in the game control process. In this embodiment, in the prize ball processing, it is determined whether or not the prize opening switches 33a, 39a, 29a, 30a, the count switch 23, and the start opening switch 14a to be paid out are surely turned on. When turned on, processing such as control is performed so that a REQ signal (prize ball request signal) for making a prize ball payout request and a payout number signal indicating the number of prize balls are output to the payout control board 37.

賞球処理において、CPU56は、入力判定値テーブルのオフセットとして「0」を設定し(ステップS169)、スイッチタイマのアドレスのオフセットとして「0」を設定する(ステップS170)。入力判定値テーブルのオフセット「0」は、入力判定値テーブルの最初のデータを使用することを意味する。スイッチタイマのアドレスのオフセット「0」は、この例では入賞口スイッチ33aに対応したスイッチタイマが指定されることを意味する。また、繰り返し数として「4」をセットする(ステップS171)。そして、スイッチオンチェックルーチンがコールされる(ステップS172)。   In the prize ball processing, the CPU 56 sets “0” as the offset of the input determination value table (step S169), and sets “0” as the offset of the address of the switch timer (step S170). The offset “0” in the input determination value table means that the first data in the input determination value table is used. In this example, the offset “0” of the address of the switch timer means that the switch timer corresponding to the winning opening switch 33a is designated. Also, “4” is set as the number of repetitions (step S171). Then, a switch-on check routine is called (step S172).

入力判定値テーブルとは、各スイッチについて、連続何回のオンが検出されたら確かにスイッチがオンしたと判定するための判定値が設定されているROM領域である。入力判定値テーブルの構成例は図24に示されている。図24に示すように、入力判定値テーブルには、上から順に、すなわちアドレス値が小さい領域から順に、「2」、「250」、「1」の判定値が設定されている。また、スイッチオンチェックルーチンでは、入力判定値テーブルの先頭アドレスとオフセット値とで決まるアドレスに設定されている判定値と、スイッチタイマの先頭アドレスとオフセット値とで決まるスイッチタイマの値とが比較され、一致した場合には、例えばスイッチオンフラグがセットされる。   The input determination value table is a ROM area in which a determination value for determining that the switch has been turned on when it is detected how many times it is continuously turned on is set for each switch. A configuration example of the input determination value table is shown in FIG. As shown in FIG. 24, determination values “2”, “250”, and “1” are set in the input determination value table in order from the top, that is, in order from the area with the smallest address value. In the switch-on check routine, the judgment value set at the address determined by the head address and the offset value in the input judgment value table is compared with the value of the switch timer determined by the head address and the offset value of the switch timer. If they match, for example, a switch-on flag is set.

スイッチオンチェックルーチンの一例が図23に示されている。スイッチオンチェックルーチンにおいて、CPU56は、入力判定値テーブル(図24参照)の先頭アドレスを設定する(ステップS281)。そして、そのアドレスにオフセットを加算し(ステップS282)、加算後のアドレスからスイッチオン判定値をロードする(ステップS283)。   An example of a switch-on check routine is shown in FIG. In the switch-on check routine, the CPU 56 sets the head address of the input determination value table (see FIG. 24) (step S281). Then, an offset is added to the address (step S282), and a switch-on determination value is loaded from the address after the addition (step S283).

次いで、CPU56は、スイッチタイマの先頭アドレスを設定し(ステップS284)、そのアドレスにオフセットを加算し(ステップS285)、加算後のアドレスからスイッチタイマの値をロードする(ステップS286)。各スイッチタイマは、入力ポートのビット順と同順に並んでいるので、スイッチに対応したスイッチタイマの値がロードされる。   Next, the CPU 56 sets the start address of the switch timer (step S284), adds an offset to the address (step S285), and loads the value of the switch timer from the address after the addition (step S286). Since each switch timer is arranged in the same order as the bit order of the input port, the value of the switch timer corresponding to the switch is loaded.

そして、CPU56は、ロードしたスイッチタイマの値とスイッチオン判定値とを比較する(ステップS287)。それらが一致すれば、スイッチオンフラグをセットする(ステップ228)。   Then, the CPU 56 compares the loaded switch timer value with the switch-on determination value (step S287). If they match, a switch-on flag is set (step 228).

この場合には、スイッチオンチェックルーチンにおいて、入賞口スイッチ33aに対応するスイッチタイマの値がスイッチオン判定値「2」に一致していればスイッチオンフラグがセットされる(ステップS173)。そして、スイッチチェックオンルーチンは、スイッチタイマのアドレスのオフセットが更新されつつ(ステップS178)、最初に設定された繰り返し数分だけ実行されるので(ステップS176,S177)、結局、入賞口スイッチ33a,39a,29a,30aについて、対応するスイッチタイマの値がスイッチオン判定値「2」と比較されることになる。   In this case, in the switch-on check routine, the switch-on flag is set if the value of the switch timer corresponding to the winning opening switch 33a matches the switch-on determination value “2” (step S173). Then, the switch check-on routine is executed for the number of repetitions initially set (step S176, S177) while the offset of the switch timer address is updated (step S178). For 39a, 29a, 30a, the corresponding switch timer value is compared with the switch-on determination value “2”.

スイッチオンフラグがセットされたら、総賞球数格納バッファの格納値(未払出数データ)に10を加算する(ステップS175)。総賞球数格納バッファは、払出制御手段に対して指示した賞球個数の累積値(ただし、払い出しがなされると減算される)が格納されるバッファであり、バックアップRAMに形成されている。   When the switch-on flag is set, 10 is added to the stored value (unpaid-out number data) of the total winning ball number storage buffer (step S175). The total winning ball number storage buffer is a buffer for storing a cumulative value of the number of winning balls instructed to the payout control means (however, subtracted when paying out), and is formed in the backup RAM.

次に、CPU56は、入力判定値テーブルのオフセットとして「0」を設定し(ステップS179)、スイッチタイマのアドレスのオフセットとして「5」を設定する(ステップS180)。入力判定値テーブルのオフセット「0」は、入力判定値テーブルの最初のデータを使用することを意味する。また、各スイッチタイマは、入力ポートのビット順と同順に並んでいるので、スイッチタイマのアドレスのオフセット「5」は始動口スイッチ14aに対応したスイッチタイマが指定されることを意味する。そして、スイッチオンチェックルーチンがコールされる(ステップS181)。   Next, the CPU 56 sets “0” as the offset of the input determination value table (step S179), and sets “5” as the offset of the switch timer address (step S180). The offset “0” in the input determination value table means that the first data in the input determination value table is used. Further, since the switch timers are arranged in the same order as the bit order of the input ports, the offset “5” of the switch timer address means that the switch timer corresponding to the start port switch 14a is designated. Then, a switch-on check routine is called (step S181).

スイッチオンチェックルーチンにおいて、始動口スイッチ14aに対応するスイッチタイマの値がスイッチオン判定値「2」に一致していればスイッチオンフラグがセットされる(ステップS182)。スイッチオンフラグがセットされたら、総賞球数格納バッファの格納値に5を加算する(ステップS184)。   In the switch-on check routine, if the value of the switch timer corresponding to the start port switch 14a matches the switch-on determination value “2”, the switch-on flag is set (step S182). When the switch-on flag is set, 5 is added to the stored value of the total winning ball number storage buffer (step S184).

次いで、CPU56は、入力判定値テーブルのオフセットとして「0」を設定し(ステップS185)、スイッチタイマのアドレスのオフセットとして「6」を設定する(ステップS186)。入力判定値テーブルのオフセット「0」は、入力判定値テーブルの最初のデータを使用することを意味する。また、各スイッチタイマは、入力ポートのビット順と同順に並んでいるので、スイッチタイマのアドレスのオフセット「6」はカウントスイッチ23に対応したスイッチタイマが指定されることを意味する。そして、スイッチオンチェックルーチンがコールされる(ステップS187)。   Next, the CPU 56 sets “0” as the offset of the input determination value table (step S185), and sets “6” as the offset of the switch timer address (step S186). The offset “0” in the input determination value table means that the first data in the input determination value table is used. Since the switch timers are arranged in the same order as the bit order of the input ports, the offset “6” of the switch timer address means that the switch timer corresponding to the count switch 23 is designated. Then, a switch-on check routine is called (step S187).

スイッチオンチェックルーチンにおいて、カウントスイッチ23に対応するスイッチタイマの値がスイッチオン判定値「2」に一致していればスイッチオンフラグがセットされる(ステップS188)。スイッチオンフラグがセットされたら、総賞球数格納バッファの格納値に15を加算する(ステップS190)。   In the switch-on check routine, if the value of the switch timer corresponding to the count switch 23 matches the switch-on determination value “2”, the switch-on flag is set (step S188). When the switch-on flag is set, 15 is added to the stored value of the total winning ball number storage buffer (step S190).

そして、CPU56は、REQ信号がローレベル(オン状態)であれば(ステップS191)、球払出装置97から実際に払い出された賞球個数を監視して総賞球数格納バッファの格納値を減算する賞球払出完了確認処理を行う(ステップS192)。   If the REQ signal is at a low level (ON state) (step S191), the CPU 56 monitors the number of prize balls actually paid out from the ball payout device 97 and stores the value stored in the total prize ball number storage buffer. A prize ball payout completion confirmation process to be subtracted is performed (step S192).

また、REQ信号がハイレベル(オフ状態)であれば(ステップS191)、総賞球数格納バッファの内容が0でない場合、すなわち、賞球残がある場合には(ステップS193)、CPU56は、REQ信号をローレベルとして払出要求信号を出力するとともに、払出個数信号を出力する処理を行う(ステップS194,S195)。なお、この例では、払出個数信号は、1個〜15個までのいずれかの個数を示す。この例では、ステップS195にて、総賞球数格納バッファの内容が15個未満であればその数を示す払出個数信号が出力され、15個以上であれば15個を示す払出個数信号が出力される。そして、ステップS195にて出力状態とした払出個数信号が示す個数(すなわち、払出制御基板37に対して払い出しを要求した個数)を要求個数バッファに記憶する(ステップS196)。要求個数バッファは、例えばRAM55の電源バックアップされた領域に設けられ、払出制御基板37に対して払い出しを要求している賞球の個数が記憶される記憶領域である。   If the REQ signal is at a high level (off state) (step S191), if the total prize ball number storage buffer is not 0, that is, if there is a prize ball remaining (step S193), the CPU 56 The payout request signal is output with the REQ signal at a low level, and the payout number signal is output (steps S194 and S195). In this example, the payout number signal indicates any number from 1 to 15. In this example, in step S195, if the content of the total prize ball number storage buffer is less than 15, a payout number signal indicating the number is output, and if it is 15 or more, a payout number signal indicating 15 is output. Is done. Then, the number indicated by the number-of-payout signal set in the output state in step S195 (that is, the number requested to be paid out to the payout control board 37) is stored in the requested number buffer (step S196). The requested number buffer is a storage area that is provided, for example, in an area where the power of the RAM 55 is backed up, and stores the number of prize balls requested to be paid out to the payout control board 37.

図25は、遊技制御手段から払出制御手段に対して出力される制御信号および遊技制御手段に払出制御手段から入力される制御信号の内容の一例を示す説明図である。この実施の形態では、払出制御等に関する各種の制御を行うために、主基板31と払出制御基板37との間で複数種類の制御信号がやりとりされる。図25に示すように、電源確認信号は、主基板31の立ち上がり時にハイレベルの出力状態とされ(例えば、初期化処理や遊技状態復旧処理にて出力状態とされる)、払出制御基板37に対して主基板31が立ち上がったことを通知するための信号である。また、電源確認信号は、電源断検出時にローレベルの出力状態とされ、払出制御基板37に対して主基板31で電源断検出がなされたことを通知するための信号としても用いられる。REQ信号(賞球リクエスト信号)は、賞球の払出要求時にローレベルの出力状態とされ、賞球の払出処理の実行を要求するための信号(払出要求信号:賞球払出要求のトリガ信号としての役割を有する。)として用いられる。また、REQ信号は、払出制御基板37からの払出完了通知の受付時にハイレベルの出力状態とされ、払出完了通知を受け付けたことを通知するための信号(払出完了受付信号)としても用いられる。払出個数信号は、払出要求を行う遊技球の個数(1〜15個)を指定するために出力される信号である。なお、この実施の形態では、上記の払出要求信号および払出個数信号(払出指令信号の一例)は、信号レベルの変化などによって特定の情報を伝達するワンショットの信号ではなく、払出制御基板37からの後述する賞球払出完了信号を受信するまで継続的に出力状態を維持し、その信号レベルによって特定の情報を伝達する信号である。BUSY信号は、主基板31が払出制御基板37での動作状態を確認するために用いられる信号である。このBUSY信号は、賞球の払出処理の開始時にハイレベルの出力状態とされ、賞球の払出処理中であることを通知するための信号(賞球払出中信号)として用いられる。また、BUSY信号は、賞球の払出処理が完了したときにローレベルの出力状態とされ、主基板31からの要求に応じた数の賞球の払出処理が完了したことを通知するための信号(賞球払出完了信号)としても用いられる。なお、各制御信号は、出力状態と停止状態とが識別可能な構成とされていればよく、上記の論理の正負が逆であってもよい。   FIG. 25 is an explanatory diagram showing an example of the contents of a control signal output from the game control means to the payout control means and a control signal input from the payout control means to the game control means. In this embodiment, a plurality of types of control signals are exchanged between the main board 31 and the payout control board 37 in order to perform various controls relating to the payout control and the like. As shown in FIG. 25, the power supply confirmation signal is set to a high level output state when the main board 31 rises (for example, the output state is set in the initialization process or the game state restoration process), and is sent to the payout control board 37. It is a signal for notifying that the main board 31 has risen. Further, the power confirmation signal is set to the low level output state when the power interruption is detected, and is also used as a signal for notifying the dispensing control board 37 that the main board 31 has detected the power interruption. The REQ signal (prize ball request signal) is set to a low-level output state at the time of a prize ball payout request, and is a signal (payout request signal: trigger signal for a prize ball payout request) for requesting execution of a prize ball payout process. It is used as In addition, the REQ signal is set to a high level output state when a payout completion notice is received from the payout control board 37, and is also used as a signal (payout completion acceptance signal) for notifying that a payout completion notice has been accepted. The payout number signal is a signal that is output to designate the number of game balls (1 to 15) that make a payout request. In this embodiment, the payout request signal and the payout quantity signal (an example of the payout command signal) are not a one-shot signal that transmits specific information by a change in signal level, but from the payout control board 37. The output state is continuously maintained until a prize ball payout completion signal, which will be described later, is received, and specific information is transmitted according to the signal level. The BUSY signal is a signal used by the main board 31 to confirm the operation state on the payout control board 37. This BUSY signal is set to a high level output state at the start of the prize ball payout process, and is used as a signal for notifying that the prize ball payout process is in progress (a prize ball payout signal). The BUSY signal is a low-level output state when the prize ball payout process is completed, and is a signal for notifying that the number of prize balls payout process according to the request from the main board 31 has been completed. Also used as (Prize ball payout completion signal). Each control signal only needs to have a configuration in which the output state and the stop state can be distinguished, and the above logic may be reversed.

図26は、図25に示す各制御信号の送受信に用いられる信号線を示すブロック図である。図26に示すように、電源確認信号、REQ信号、および払出個数信号は、CPU56によって出力回路67を介して出力され、入力回路373Aを介して払出制御用CPU371に入力される。また、BUSY信号は、払出制御用CPU371によって出力回路373Bを介して出力され、入力回路68を介してCPU56に入力される。電源確認信号、REQ信号、およびBUSY信号は、それぞれ1ビットのデータとされ、1本の信号線によって送信される。払出個数信号は、本例では1個〜15個を指定するので、4ビットのデータとされ4本の信号線によって送信される。   FIG. 26 is a block diagram showing signal lines used for transmission / reception of each control signal shown in FIG. As shown in FIG. 26, the power confirmation signal, the REQ signal, and the payout number signal are output by the CPU 56 via the output circuit 67 and input to the payout control CPU 371 via the input circuit 373A. The BUSY signal is output via the output circuit 373B by the payout control CPU 371 and input to the CPU 56 via the input circuit 68. The power supply confirmation signal, the REQ signal, and the BUSY signal are each set as 1-bit data and are transmitted through one signal line. In the present example, 1 to 15 payout number signals are designated, so that the number of payout number signals is 4-bit data and is transmitted through four signal lines.

図27は、賞球払出完了確認処理の一例を示すフローチャートである。賞球払出完了確認処理において、CPU56は、まず、賞球払出完了信号を受信したか否かを確認する(ステップS381)。具体的には、BUSY信号がハイレベルからローレベルに立ち下げられたか否かを確認する。賞球払出完了信号を受信した場合には、CPU56は、総賞球数格納バッファの格納値および要求個数バッファの格納値をロードし(ステップS382)、総賞球数格納バッファの格納値から要求個数バッファの格納値を減算する(ステップS383)。すなわち、総賞球数格納バッファの格納値から払い出しが完了した賞球の個数を減算する。そして、要求個数バッファの格納値をクリア(例えば初期値として「0」を格納)する(ステップS384)。   FIG. 27 is a flowchart illustrating an example of a prize ball payout completion confirmation process. In the prize ball payout completion confirmation process, the CPU 56 first checks whether or not a prize ball payout completion signal has been received (step S381). Specifically, it is confirmed whether or not the BUSY signal is lowered from the high level to the low level. When receiving the winning ball payout completion signal, the CPU 56 loads the stored value of the total winning ball number storage buffer and the stored value of the requested number buffer (step S382), and requests from the stored value of the total winning ball number storage buffer. The stored value in the number buffer is subtracted (step S383). That is, the number of prize balls that have been paid out is subtracted from the stored value in the total prize ball number storage buffer. Then, the stored value in the request number buffer is cleared (for example, “0” is stored as the initial value) (step S384).

そして、CPU56は、REQ信号の出力をハイレベルのオフ状態として払出完了受付信号を出力するとともに(ステップS385)、払出個数信号の出力をローレベルの停止状態とする(ステップS386)。   Then, the CPU 56 sets the output of the REQ signal to a high level off state and outputs a payout completion acceptance signal (step S385), and sets the payout number signal output to a low level stop state (step S386).

次に、払出制御手段の動作について説明する。
図28は、払出制御手段(払出制御用CPU371およびROM,RAM等の周辺回路)のメイン処理を示すフローチャートである。メイン処理では、払出制御用CPU371は、まず、必要な初期設定を行う。すなわち、払出制御用CPU371は、まず、割込禁止に設定する(ステップS701)。次に、割込モードを割込モード2に設定し(ステップS702)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS703)。また、払出制御用CPU371は、内蔵デバイスレジスタの初期化を行い(ステップS704)、CTCおよびPIOの初期化(ステップS705)を行った後に、RAMをアクセス可能状態に設定する(ステップS706)。
Next, the operation of the payout control means will be described.
FIG. 28 is a flowchart showing the main processing of the payout control means (the payout control CPU 371 and peripheral circuits such as ROM and RAM). In the main process, the payout control CPU 371 first performs necessary initial settings. That is, the payout control CPU 371 first sets the interruption prohibition (step S701). Next, the interrupt mode is set to interrupt mode 2 (step S702), and a stack pointer designation address is set to the stack pointer (step S703). The payout control CPU 371 initializes the built-in device register (step S704), initializes the CTC and PIO (step S705), and then sets the RAM in an accessible state (step S706).

この実施の形態では、内蔵CTCのうちの一つのチャネルがタイマモードで使用される。従って、ステップS704の内蔵デバイスレジスタの設定処理およびステップS705の処理において、使用するチャネルをタイマモードに設定するためのレジスタ設定、割込発生を許可するためのレジスタ設定および割込ベクタを設定するためのレジスタ設定が行われる。そして、そのチャネルによる割込がタイマ割込として用いられる。タイマ割込を例えば2ms毎に発生させたい場合は、初期値として2msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。   In this embodiment, one channel of the built-in CTC is used in the timer mode. Accordingly, in the built-in device register setting process in step S704 and the process in step S705, register setting for setting the channel to be used to timer mode, register setting for permitting interrupt generation, and setting an interrupt vector. The register is set. The interrupt by the channel is used as a timer interrupt. For example, when it is desired to generate a timer interrupt every 2 ms, a value corresponding to 2 ms is set as an initial value in a predetermined register (time constant register).

なお、タイマモードに設定されたチャネル(この実施の形態ではチャネル3)に設定される割込ベクタは、タイマ割込処理の先頭アドレスに相当するものである。具体的は、Iレジスタに設定された値と割込ベクタとでタイマ割込処理の先頭アドレスが特定される。タイマ割込処理では、払出制御処理が実行される。   The interrupt vector set for the channel set to the timer mode (channel 3 in this embodiment) corresponds to the start address of the timer interrupt process. Specifically, the start address of the timer interrupt process is specified by the value set in the I register and the interrupt vector. In the timer interrupt process, a payout control process is executed.

この実施の形態では、払出制御用CPU371でも割込モード2が設定される。従って、内蔵CTCのカウントアップにもとづく割込処理を使用することができる。また、CTCが送出した割込ベクタに応じた割込処理開始アドレスを設定することができる。   In this embodiment, the interruption mode 2 is also set in the payout control CPU 371. Therefore, an interrupt process based on counting up the built-in CTC can be used. Also, an interrupt processing start address can be set according to the interrupt vector sent by the CTC.

CTCのチャネル3(CH3)のカウントアップにもとづく割込は、CPUの内部クロック(システムクロック)をカウントダウンしてレジスタ値が「0」になったら発生する割込であり、後述する2msタイマ割込として用いられる。具体的には、CPU371の動作クロックを分周したクロックがCTCに与えられ、クロックの入力によってレジスタの値が減算され、レジスタの値が0になるとタイマ割込が発生する。例えば、CH3のレジスタ値はシステムクロックの1/256周期で減算される。分周したクロックにもとづいて減算が行われるので、レジスタの初期値は大きくならない。ステップS705において、CH3のレジスタには、初期値として2msに相当する値が設定される。   The interrupt based on the count-up of CTC channel 3 (CH3) is an interrupt that occurs when the internal clock (system clock) of the CPU is counted down and the register value becomes “0”. Used as Specifically, a clock obtained by dividing the operation clock of the CPU 371 is given to the CTC, the register value is subtracted by the input of the clock, and when the register value becomes 0, a timer interrupt occurs. For example, the register value of CH3 is subtracted at 1/256 period of the system clock. Since the subtraction is performed based on the divided clock, the initial value of the register does not increase. In step S705, the CH3 register is set to a value corresponding to 2 ms as an initial value.

次いで、払出制御用CPU371は、通常の初期化処理を実行する(ステップS711〜ステップS713)。初期化処理では、払出制御用CPU371は、まず、RAMクリア処理を行う(ステップS711)。また、RAM領域のフラグやカウンタなどに初期値を設定する。そして、2ms毎に定期的にタイマ割込がかかるように払出制御用CPU371に設けられているCTCのレジスタの設定が行われる(ステップS712)。すなわち、初期値として2msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。そして、初期設定処理のステップS701において割込禁止とされているので、初期化処理を終える前に割込が許可される(ステップS713)。   Next, the payout control CPU 371 executes normal initialization processing (steps S711 to S713). In the initialization process, the payout control CPU 371 first performs a RAM clear process (step S711). In addition, initial values are set in flags and counters in the RAM area. Then, the CTC register provided in the payout control CPU 371 is set so that a timer interrupt is periodically generated every 2 ms (step S712). That is, a value corresponding to 2 ms is set in a predetermined register (time constant register) as an initial value. Since the interruption is prohibited in step S701 of the initial setting process, the interruption is permitted before the initialization process is finished (step S713).

この実施の形態では、払出制御用CPU371の内蔵CTCが繰り返しタイマ割込を発生するように設定される。この実施の形態では、繰り返し周期は2msに設定される。そして、タイマ割込が発生すると、図29に示すように、タイマ割込があったことを示すタイマ割込フラグがセットされる(ステップS792)。そして、メイン処理において、タイマ割込フラグがセットされたことが検出されたら(ステップS751)、タイマ割込フラグがリセットされるとともに(ステップS752)、払出制御処理(ステップS752〜S760)が実行される。   In this embodiment, the built-in CTC of the payout control CPU 371 is set to repeatedly generate a timer interrupt. In this embodiment, the repetition period is set to 2 ms. When a timer interrupt occurs, a timer interrupt flag indicating that a timer interrupt has occurred is set as shown in FIG. 29 (step S792). If it is detected in the main process that the timer interrupt flag is set (step S751), the timer interrupt flag is reset (step S752), and the payout control process (steps S752 to S760) is executed. The

なお、タイマ割込では、図29に示すように、最初に割込許可状態に設定される(ステップS791)。よって、タイマ割込処理中では割込許可状態になり、INT信号の入力にもとづく払出制御コマンド受信処理を優先して実行することができる。   In the timer interrupt, as shown in FIG. 29, the interrupt permission state is first set (step S791). Therefore, the interrupt is permitted during the timer interrupt process, and the payout control command receiving process based on the input of the INT signal can be preferentially executed.

払出制御処理において、払出制御用CPU371は、まず、入力ポート372bに入力される払出カウントスイッチ301等のスイッチがオンしたか否かを判定する(スイッチ処理:ステップS753)。   In the payout control process, the payout control CPU 371 first determines whether or not a switch such as the payout count switch 301 input to the input port 372b is turned on (switch process: step S753).

次に、払出制御用CPU371は、球切れスイッチ187または満タンスイッチ48がオンしていたら払出禁止状態に設定し、球切れスイッチ187および満タンスイッチ48がオフして払出禁止条件が不成立となったら払出禁止状態の解除を行う(払出禁止状態設定処理:ステップS754)。なお、球切れスイッチ187のオン/オフに応じて球切れランプ52の点灯/消灯を行う。そして、プリペイドカードユニット制御処理を行う(ステップS755)。   Next, the payout control CPU 371 sets the payout prohibition state if the ball break switch 187 or the full tank switch 48 is on, and the ball break switch 187 and the full tank switch 48 are turned off so that the payout prohibition condition is not satisfied. Then, the payout prohibition state is canceled (payout prohibition state setting process: step S754). Note that the ball-out lamp 52 is turned on / off in response to turning on / off of the ball-out switch 187. Then, a prepaid card unit control process is performed (step S755).

次いで、払出制御用CPU371は、球貸し要求に応じて貸し球を払い出す制御を行う(ステップS756)。   Next, the payout control CPU 371 performs control for paying out the rental balls in response to the ball rental request (step S756).

さらに、払出制御用CPU371は、主基板からの払出個数信号が示す個数の賞球を払い出す賞球制御処理を行う(ステップS757)。そして、出力ポート372cおよび中継基板72を介して球払出装置97の払出機構部分における払出モータ289に対して駆動信号を出力し、所定の回転数分払出モータ289を回転させる払出モータ制御処理を行う(ステップS758)。   Further, the payout control CPU 371 performs a prize ball control process for paying out the number of prize balls indicated by the payout quantity signal from the main board (step S757). Then, a drive signal is output to the payout motor 289 in the payout mechanism portion of the ball payout device 97 via the output port 372c and the relay board 72, and a payout motor control process for rotating the payout motor 289 by a predetermined number of rotations is performed. (Step S758).

なお、この実施の形態では、払出モータ289としてステッピングモータが用いられ、それらを制御するために1−2相励磁方式が用いられる。従って、具体的には、払出モータ制御処理において、8種類の励磁パターンデータが繰り返し払出モータ289に出力される。また、この実施の形態では、各励磁パターンデータが4msずつ出力される。   In this embodiment, a stepping motor is used as the payout motor 289, and a 1-2 phase excitation method is used to control them. Therefore, specifically, eight types of excitation pattern data are repeatedly output to the payout motor 289 in the payout motor control process. In this embodiment, each excitation pattern data is output by 4 ms.

次いで、エラー検出処理が行われ、その結果に応じてエラー表示LED374に所定の表示を行う(エラー処理:ステップS759)。また、遊技機外部に出力される球貸し個数信号を出力する処理等を行う(出力処理:ステップS760)。   Next, error detection processing is performed, and predetermined display is performed on the error display LED 374 according to the result (error processing: step S759). In addition, processing for outputting a ball lending number signal output to the outside of the gaming machine is performed (output processing: step S760).

図30は、払出制御用CPU371が内蔵するRAMの使用例を示す説明図である。この例では、RAM領域に、総合個数記憶(例えば2バイト)と貸し球個数記憶とがそれぞれ形成されている。総合個数記憶は、主基板31の側から指示された賞球払出個数のうち未払出の賞球個数を記憶するものである。貸し球個数記憶は、未払出の球貸し個数を記憶するものである。なお、RAM領域には、上記の遊技球の個数に関する情報を記憶する領域に限られず、例えば、後述する払出停止中フラグ、払出経路エラーフラグなどのエラー状態を示すフラグなどの各種のフラグを記憶する領域や、受信コマンドバッファなどの各種のバッファなどを記憶する領域なども形成されている。   FIG. 30 is an explanatory diagram showing a usage example of the RAM built in the payout control CPU 371. In this example, a total number memory (for example, 2 bytes) and a lending ball number memory are formed in the RAM area. The total number storage stores the number of prize balls that have not been paid out of the number of prize balls that have been instructed from the main board 31 side. The rented ball number storage stores the number of balls that have not been paid out. The RAM area is not limited to an area for storing information related to the number of game balls described above. For example, various flags such as a flag indicating an error state such as a payout stop flag and a payout path error flag described later are stored. And an area for storing various buffers such as a reception command buffer.

そして、払出制御用CPU371は、例えば、賞球制御処理(ステップS757)において、遊技制御手段から賞球個数を示す賞球個数信号を受信すると、指示された個数分だけ総合個数記憶に内容を増加する。また、球貸し制御処理(ステップS756)において、カードユニット50から球貸し要求の信号を受信する毎に1単位(例えば25個)の個数分だけ貸し球個数記憶に内容を増加する。さらに、払出制御用CPU371は、賞球制御処理において払出カウントスイッチ301が1個の賞球払出を検出すると総合個数記憶の値を1減らし、球貸し制御処理において払出カウントスイッチ301が1個の貸し球払出を検出すると貸し球個数記憶の値を1減らす。従って、未払出の賞球個数と貸し球個数がRAM領域に記憶されることになる。   Then, when the payout control CPU 371 receives, for example, a prize ball number signal indicating the number of prize balls from the game control means in the prize ball control process (step S757), the content is increased in the total number memory by the designated number. To do. In addition, in the ball lending control process (step S756), every time a ball lending request signal is received from the card unit 50, the content is increased in the lending ball number storage by the number of one unit (for example, 25). Further, when the payout count switch 301 detects one prize ball payout in the prize ball control process, the payout control CPU 371 decrements the value of the total number memory by 1, and in the ball lending control process, the payout count switch 301 lends one. When the ball payout is detected, the value of the lending ball number memory is decreased by one. Therefore, the number of unpaid prize balls and the number of lent balls are stored in the RAM area.

図31は、ステップS753のスイッチ処理の一例を示すフローチャートである。スイッチ処理において、払出制御用CPU371は、払出カウントスイッチ301がオン状態を示しているか否か確認する(ステップS753a)。オン状態を示していれば、払出制御用CPU371は、払出カウントスイッチオンカウンタを+1する(ステップS753b)。払出カウントスイッチオンカウンタは、払出カウントスイッチ301のオン状態を検出した回数を計数するためのカウンタである。   FIG. 31 is a flowchart illustrating an example of the switch processing in step S753. In the switch process, the payout control CPU 371 checks whether or not the payout count switch 301 indicates an on state (step S753a). If the ON state is indicated, the payout control CPU 371 increments the payout count switch ON counter by 1 (step S753b). The payout count switch on counter is a counter for counting the number of times that the on state of the payout count switch 301 is detected.

そして、払出カウントスイッチオンカウンタの値をチェックし(ステップS753c)、その値が2になっていれば、1個の遊技球の払出が行われたと判断する。次いで、払出制御用CPU371は、払い出された1個の遊技球が賞球であるのか貸し球であるのかを確認する。本例では、後述する球貸し処理中フラグがオンであるか否か確認し(ステップS753d)、オンであれば1個の貸し球の払出が行われたと判断し、オンでなければ1個の賞球の払出が行われたと判断する。1個の貸し球の払出が行われたと判断した場合には、払出制御用CPU371は、貸し球未払出個数カウンタ(貸し球個数記憶に格納されている貸し球数)を−1する(ステップS753e)。一方、1個の賞球の払出が行われたと判断した場合には、払出制御用CPU371は、賞球未払出個数カウンタ(総合個数記憶に格納されている賞球個数)を−1する(ステップS753f)。なお、ステップS753dにて賞球処理中フラグを確認し、球貸しか賞球払出かを識別するようにしてもよい。   Then, the value of the payout count switch on counter is checked (step S753c). If the value is 2, it is determined that one game ball has been paid out. Next, the payout control CPU 371 checks whether one game ball that has been paid out is a prize ball or a lending ball. In this example, it is confirmed whether or not a ball lending process flag, which will be described later, is on (step S753d). If it is on, it is determined that one lending ball has been paid out. It is determined that a prize ball has been paid out. When it is determined that one lending ball has been paid out, the payout control CPU 371 decrements the lending ball unpaid-out number counter (the number of lending balls stored in the lending ball number storage) (step S753e). ). On the other hand, when it is determined that one prize ball has been paid out, the payout control CPU 371 decrements the prize ball non-payout number counter (the number of prize balls stored in the total number memory) by -1 (step). S753f). In step S753d, the award ball processing flag may be confirmed to identify whether a ball rental or a prize ball is paid out.

また、1個の貸し球の払出が行われたと判断した場合には、払出制御用CPU371は、貸し球情報カウンタの値を+1する(ステップS753g)。そして、貸し球情報カウンタの値が25以上であれば(ステップS753h)、貸し球情報出力カウンタの値を+1するとともに(ステップS753i)、貸し球情報カウンタの値を−25する(ステップS753j)。なお、貸し球情報出力カウンタの値は、図28に示された払出制御処理における出力処理(ステップS760)で参照され、その値が1以上であれば、球貸し個数信号として1パルスが出力される。よって、この実施の形態では、25個の遊技球が貸し球として払い出される度に、1つの球貸し個数信号が遊技機外部に出力される。   When it is determined that one lending ball has been paid out, the payout control CPU 371 increments the value of the lending ball information counter by 1 (step S753g). If the value of the lending ball information counter is 25 or more (step S753h), the value of the lending ball information output counter is incremented by 1 (step S753i), and the value of the lending ball information counter is decremented by -25 (step S753j). The value of the lending ball information output counter is referred to in the output process (step S760) in the payout control process shown in FIG. 28. If the value is 1 or more, 1 pulse is output as the lending number signal. The Therefore, in this embodiment, every time 25 game balls are paid out as rental balls, one ball rental number signal is output to the outside of the gaming machine.

1個の賞球の払出が行われたと判断した場合には、払出制御用CPU371は、賞球情報カウンタの値を+1する(ステップS753k)。そして、賞球情報カウンタの値が10以上であれば(ステップS753l)、賞球情報出力カウンタの値を+1するとともに(ステップS753m)、賞球情報カウンタの値を−10する(ステップS753n)。なお、賞球情報出力カウンタの値は、図28に示された払出制御処理における出力処理(ステップS760)で参照され、その値が1以上であれば、賞球払出個数信号として1パルスが出力される。よって、この実施の形態では、10個の遊技球が賞球として払い出される度に、1つの賞球払出個数信号が遊技機外部に出力される。   If it is determined that one prize ball has been paid out, the payout control CPU 371 increments the value of the prize ball information counter by 1 (step S753k). If the value of the prize ball information counter is 10 or more (step S7531), the value of the prize ball information output counter is incremented by 1 (step S753m), and the value of the prize ball information counter is incremented by -10 (step S753n). The value of the prize ball information output counter is referred to in the output process (step S760) in the payout control process shown in FIG. 28. If the value is 1 or more, one pulse is output as the prize ball payout number signal. Is done. Therefore, in this embodiment, every time 10 game balls are paid out as prize balls, one prize ball payout quantity signal is output to the outside of the gaming machine.

ステップS753aにおいて払出カウントスイッチ301がオン状態でないことが確認されると、払出制御用CPU371は、払出カウントスイッチオンカウンタをクリアする(ステップS753o)。   When it is confirmed in step S753a that the payout count switch 301 is not in the on state, the payout control CPU 371 clears the payout count switch on counter (step S753o).

図32は、ステップS754の払出禁止状態設定処理の一例を示すフローチャートである。払出禁止状態設定処理において、払出制御用CPU371は、満タンスイッチ48がオン状態を示しているか否か確認する(ステップS754a)。オン状態を示していれば、払出制御用CPU371は、満タンスイッチオンカウンタを+1する(ステップS754b)。満タンスイッチオンカウンタは、満タンスイッチ48のオン状態を検出した回数を計数するためのカウンタである。   FIG. 32 is a flowchart illustrating an example of the payout prohibition state setting process in step S754. In the payout prohibition state setting process, the payout control CPU 371 checks whether or not the full switch 48 indicates the on state (step S754a). If the on state is indicated, the payout control CPU 371 increments the full switch on counter by 1 (step S754b). The full tank switch on counter is a counter for counting the number of times that the on state of the full tank switch 48 is detected.

そして、満タンスイッチオンカウンタの値をチェックし(ステップS754c)、その値が50になっていれば、下皿満タン状態になったと判断する。下皿満タン状態になったと判断した場合には、払出制御用CPU371は、払出禁止状態に設定する(ステップS754d)。   Then, the value of the full tank switch-on counter is checked (step S754c). If the value is 50, it is determined that the lower pan is full. If it is determined that the lower pan is full, the payout control CPU 371 sets the payout prohibited state (step S754d).

ステップS754aにおいて満タンスイッチ48がオン状態でないことが確認されると、払出制御用CPU371は、満タンスイッチオンカウンタをクリアする(ステップS754e)。   When it is confirmed in step S754a that the full tank switch 48 is not on, the payout control CPU 371 clears the full tank switch on counter (step S754e).

次いで、払出制御用CPU371は、球切れスイッチ187がオン状態を示しているか否か確認する(ステップS754f)。オン状態を示していれば、払出制御用CPU371は、球切れスイッチオンカウンタを+1する(ステップS754i)。球切れスイッチオンカウンタは、球切れスイッチ187のオン状態を検出した回数を計数するためのカウンタである。   Next, the payout control CPU 371 checks whether or not the ball break switch 187 indicates an on state (step S754f). If the on state is indicated, the payout control CPU 371 increments the ball break switch on counter by 1 (step S754i). The out-of-ball switch on counter is a counter for counting the number of times the on-state of the out-of-ball switch 187 is detected.

そして、球切れスイッチオンカウンタの値をチェックし(ステップS754j)、その値が250になっていれば、球切れ状態になったと判断する。球切れ状態になったと判断した場合には、払出制御用CPU371は、払出禁止状態に設定する(ステップS754k)。   Then, the value of the ball break switch-on counter is checked (step S754j). If the value is 250, it is determined that the ball has run out. If it is determined that the ball is out of play, the payout control CPU 371 sets the payout prohibited state (step S754k).

ステップS754fにおいて球切れスイッチ187がオン状態でないことが確認されると、払出制御用CPU371は、球切れスイッチオンカウンタをクリアし(ステップS754g)、払出禁止状態とされている場合には払出禁止状態を解除する(ステップS754h)。従って、払出禁止状態とされているときに、満タンスイッチ48も球切れスイッチ187もオン状態でないことが確認されると、払出禁止状態が解除される。   If it is confirmed in step S754f that the ball break switch 187 is not in the on state, the payout control CPU 371 clears the ball break switch on counter (step S754g), and if it is in the payout prohibition state, the payout prohibition state. Is released (step S754h). Accordingly, when it is confirmed that neither the full tank switch 48 nor the ball break switch 187 is in the on state when the payout prohibition state is set, the payout prohibition state is canceled.

なお、払出禁止状態に設定するときには、例えば払出モータ289の駆動が停止されるとともに払出停止中であることを示す内部フラグ(払出停止中フラグ)がセットされる。また、払出禁止状態を解除するときには、払出モータ289の駆動が再開されるとともに、払出停止中フラグがリセットされる。すなわち、ステップS754dおよびステップS754kでは、払い出しが禁止された状態であることを示すデータ(セットされた払出停止中フラグ)を所定の記憶領域に記憶する処理が実行されており、ステップS754hでは、払い出しが許可された状態であることを示すデータ(リセットされた払出停止中フラグ)を所定の記憶領域に記憶する処理が実行されている。   When setting the payout prohibited state, for example, the driving of the payout motor 289 is stopped and an internal flag (payout stop flag) indicating that payout is stopped is set. Further, when releasing the payout prohibition state, the drive of the payout motor 289 is resumed and the payout stop flag is reset. That is, in steps S754d and S754k, a process of storing data indicating that the payout is prohibited (set payout stop flag) in a predetermined storage area is executed. In step S754h, a payout is performed. Is stored in a predetermined storage area, indicating that the data is in a permitted state (reset payout suspension flag).

払出停止中フラグは、例えばRAM領域に格納されている。払出停止中フラグは、例えばD0〜D7の各ビットから成る1バイト構成とされる。この場合、例えば、D0が「1」であれば払出禁止状態が設定されている状態を示し、D1が「1」であれば払出禁止状態が解除されている状態を示すようにすればよい。また、D2は、例えば、払出禁止状態が解除されたあとの復帰待ち状態であることを示すために用いられる。なお、D3〜D7は、未使用領域とされる。   The payout suspension flag is stored, for example, in the RAM area. The payout suspension flag has a 1-byte structure composed of bits D0 to D7, for example. In this case, for example, if D0 is “1”, it indicates a state in which the payout prohibition state is set, and if D1 is “1”, it indicates a state in which the payout prohibition state is cancelled. D2 is used, for example, to indicate a return waiting state after the payout prohibition state is canceled. D3 to D7 are unused areas.

ここで、図32の処理における払出停止中フラグの状態を具体的に説明する。ステップS754dおよびステップS754kの処理では、払出制御用CPU371は、払出停止中フラグのD0を「0」とするとともに、D1を「1」とする。また、ステップS754hの処理では、払出制御用CPU371は、払出停止中フラグのD0を「1」にするとともにD1を「0」とし、D2を「1」とする。なお、払出制御用CPU371は、D2を「1」とした場合には、所定期間(例えば1[s])経過後にD2を「0」にする。この実施の形態では、払出停止中フラグは、D0が「0」であり、かつD1が「1」の状態であるときに、払出禁止状態であることを示す。また、D0が「1」であり、かつD1が「0」の状態であるときに、払出許可状態(払出禁止状態状態が解除されている状態)であることを示す。なお、払出停止中フラグは、1バイト構成以外の他の構成であってもよく、各ビットを他の態様で使用するようにしてもよい(例えば、D0のみを用いるようにして、D0が「0」であれば払出禁止状態を示し、D0が「1」であれば払出許可状態を示すようにしてもよい)。   Here, the state of the payout suspension flag in the processing of FIG. 32 will be specifically described. In the processing of steps S754d and S754k, the payout control CPU 371 sets the payout stop flag D0 to “0” and sets D1 to “1”. In the process of step S754h, the payout control CPU 371 sets the payout stop flag D0 to “1”, sets D1 to “0”, and sets D2 to “1”. The payout control CPU 371 sets D2 to “0” after a predetermined period (for example, 1 [s]) when D2 is set to “1”. In this embodiment, the payout suspension flag indicates that payout is prohibited when D0 is “0” and D1 is “1”. Further, when D0 is “1” and D1 is “0”, it indicates that the payout is permitted (the state where the payout prohibition state is released). The payout suspension flag may have a configuration other than the 1-byte configuration, and each bit may be used in another manner (for example, only D0 is used and D0 is set to “ If it is “0”, it indicates a payout prohibition state, and if D0 is “1”, it indicates a payout permission state).

払出禁止状態に設定された場合に、直ちに払出モータ289を停止してもよいが、そのように制御するのではなく、切りのよいところで払出モータ289を停止するようにしてもよい。例えば、遊技球の払出を主基板31あるいはカードユニット50からの要求単位(例えば5個、10個、15個、25個のいずれか)で実行し、一単位の払出が完了した時点で払出モータ289を停止するとともに、内部状態を払出禁止状態に設定するようにしてもよい。上述したように、球切れスイッチ187は、払出球通路に27〜28個程度の遊技球が存在することを検出できるような位置に設置されているので、主基板31の遊技制御手段が球切れを検出しても、その時点から少なくとも25個の払出は可能である。従って、一単位の払出が完了した時点で払出禁止状態にしても問題は生じない。また、一単位の区切りで払出禁止状態とすれば、払出再開時の制御が容易になる。   When the payout prohibition state is set, the payout motor 289 may be stopped immediately. However, the payout motor 289 may be stopped at a place where the cut is good instead of being controlled as such. For example, the payout of the game ball is executed in a requested unit from the main board 31 or the card unit 50 (for example, any one of 5, 10, 15, or 25), and when the payout of one unit is completed, the payout motor While 289 is stopped, the internal state may be set to the payout prohibited state. As described above, the ball break switch 187 is installed at a position where it is possible to detect the presence of about 27 to 28 game balls in the payout ball passage. Even if detected, at least 25 payouts are possible from that point. Accordingly, there is no problem even if the payout is prohibited when the payout of one unit is completed. Further, if the payout is prohibited in units of one unit, it becomes easy to control when payout is resumed.

図33は、ステップS755のプリペイドカードユニット制御処理の一例を示すフローチャートである。プリペイドカードユニット制御処理において、払出制御用CPU371は、カードユニット制御用マイクロコンピュータより入力されるVL信号を検知したか否かを確認する(ステップS755a)。VL信号を検知していなければ、VL信号非検知カウンタを+1する(ステップS755b)。また、払出制御用CPU371は、VL信号非検知カウンタの値がこの実施の形態では125であるか否か確認する(ステップS755c)。VL信号非検知カウンタの値が125であれば、払出制御用CPU371は、発射制御基板91への発射制御信号出力を停止して、駆動モータ94を停止させる(ステップS755d)。   FIG. 33 is a flowchart showing an example of the prepaid card unit control process in step S755. In the prepaid card unit control process, the payout control CPU 371 checks whether or not a VL signal input from the card unit control microcomputer has been detected (step S755a). If the VL signal is not detected, the VL signal non-detection counter is incremented by 1 (step S755b). Also, the payout control CPU 371 checks whether or not the value of the VL signal non-detection counter is 125 in this embodiment (step S755c). If the value of the VL signal non-detection counter is 125, the payout control CPU 371 stops the emission control signal output to the emission control board 91 and stops the drive motor 94 (step S755d).

以上の処理によって、125回(2ms×125=250ms)継続してVL信号のオフが検出されたら、球発射禁止状態に設定される。   If the VL signal is detected to be off 125 times (2 ms × 125 = 250 ms) continuously by the above processing, the ball firing prohibited state is set.

ステップS755aにおいてVL信号を検知していれば、払出制御用CPU371は、VL信号非検知カウンタをクリアする(ステップS755e)。そして、払出制御用CPU371は、発射制御信号出力を停止していれば(ステップS755f)、発射制御基板91への発射制御信号出力を開始して駆動モータ94を動作可能状態にする(ステップS755g)。   If the VL signal is detected in step S755a, the payout control CPU 371 clears the VL signal non-detection counter (step S755e). If the discharge control CPU 371 stops outputting the firing control signal (step S755f), the payout control CPU 371 starts outputting the firing control signal to the firing control board 91 to enable the drive motor 94 (step S755g). .

図34および図35は、ステップS756の球貸し制御処理の一例を示すフローチャートである。なお、この実施の形態では、連続的な払出数の最大値を貸し球の一単位(例えば25個)とするが、連続的な払出数の最大値は他の数であってもよい。   34 and 35 are flowcharts showing an example of the ball lending control process in step S756. In this embodiment, the maximum value of the continuous payout number is set as one unit (for example, 25) of the lending ball, but the maximum value of the continuous payout number may be another number.

球貸し制御処理において、払出制御用CPU371は、球貸し停止中であるか否かを確認する(ステップS510)。停止中であれば、処理を終了する。なお、球貸し停止中であるか否かは、図32に示された払出禁止状態設定処理などにおいて設定される払出停止中フラグがオンしているか否かによって確認される。   In the ball lending control process, the payout control CPU 371 checks whether or not the ball lending is stopped (step S510). If it is stopped, the process is terminated. Note that whether or not the ball lending is stopped is confirmed by whether or not the payout suspension flag set in the payout prohibition state setting process or the like shown in FIG. 32 is turned on.

球貸し停止中でなければ、払出制御用CPU371は、貸し球払出中であるか否かの確認を行い(ステップS511)、貸し球払出中であれば図35に示す球貸し中の処理に移行する。なお、貸し球払出中であるか否かは、後述する球貸し処理中フラグの状態によって判断される。貸し球払出中でなければ、賞球の払出中であるか否か確認する(ステップS512)。賞球の払出中であるか否は、後述する賞球処理中フラグの状態によって判断される。   If the ball lending is not stopped, the payout control CPU 371 checks whether or not the lending ball is being paid out (step S511). If the ball lending is being paid out, the process proceeds to the ball lending process shown in FIG. To do. Whether or not the lending ball is being paid out is determined by the state of a ball lending process flag which will be described later. If the rental ball is not being paid out, it is confirmed whether or not the prize ball is being paid out (step S512). Whether or not a prize ball is being paid out is determined based on a state of a prize ball processing flag to be described later.

貸し球払出中でも賞球払出中でもなければ、払出制御用CPU371は、カードユニット50から球貸し要求があったか否かを確認する(ステップS513)。要求があれば、球貸し処理中フラグをオンするとともに(ステップS514)、25(球貸し一単位数:ここでは100円分)をRAM領域の貸し球個数記憶に設定する(ステップS515)。そして、払出制御用CPU371は、EXS信号をオンする(ステップS516)。さらに、払出制御用CPU371は、25個の遊技球を払い出すためのモータ回転時間を設定するか、または、モータ回転時間に応じた数の出力パルス数を決定する。そして、払出モータ289をオンして(ステップS518)、図35に示す球貸し中の処理に移行する。   If neither the lending ball payout nor the prize ball payout, the payout control CPU 371 checks whether or not a ball lending request has been received from the card unit 50 (step S513). If requested, the ball lending process flag is turned on (step S514), and 25 (number of ball lending units: 100 yen here) is set in the lending ball number storage in the RAM area (step S515). Then, the payout control CPU 371 turns on the EXS signal (step S516). Further, the payout control CPU 371 sets a motor rotation time for paying out 25 game balls, or determines the number of output pulses corresponding to the motor rotation time. Then, the payout motor 289 is turned on (step S518), and the process proceeds to the ball lending process shown in FIG.

なお、払出モータ289をオンするのは、厳密には、カードユニット50が受付を認識したことを示すためにBRQ信号をオフ状態にしてからである。また、球貸し処理中フラグはRAM領域に設定される。   Strictly speaking, the payout motor 289 is turned on after the BRQ signal is turned off to indicate that the card unit 50 has recognized acceptance. In addition, the ball lending process flag is set in the RAM area.

図35は、払出制御用CPU371による払出制御処理における球貸し中の処理を示すフローチャートである。球貸し処理では、払出モータ289がオンしていなければオンする。なお、この実施の形態では、ステップS752のスイッチ処理で、払出カウントスイッチ301の検出信号などによる貸し球の払出がなされたか否かの確認を行うので、球貸し制御処理では貸し球個数記憶の減算などは行われない。   FIG. 35 is a flowchart showing a ball lending process in the payout control process by the payout control CPU 371. In the ball lending process, if the payout motor 289 is not turned on, it is turned on. In this embodiment, in the switch processing of step S752, it is confirmed whether or not the lending ball has been paid out by the detection signal of the payout count switch 301, etc., so that the lending ball number storage subtraction is performed in the ball lending control processing. Is not done.

球貸し制御処理において、払出制御用CPU371は、貸し球通過待ち時間中であるか否かの確認を行う(ステップS519)。貸し球通過待ち時間中でなければ、貸し球の払出を行い(ステップS520)、払出モータ289の駆動を終了すべきか(一単位の払出動作が終了したか)否かの確認を行う(ステップS521)。具体的には、所定個数の払出に対応した回転が完了したか否かを確認する。所定個数の払出に対応した回転が完了した場合には、払出制御用CPU371は、払出モータ289の駆動を停止し(ステップS522)、貸し球通過待ち時間の設定を行う(ステップS523)。   In the ball lending control process, the payout control CPU 371 checks whether or not it is during the lending ball passage waiting time (step S519). If it is not during the lending ball passage waiting time, the lending ball is paid out (step S520), and it is confirmed whether or not the driving of the payout motor 289 should be finished (whether the payout operation of one unit has been finished) (step S521). ). Specifically, it is confirmed whether or not the rotation corresponding to the predetermined number of payouts has been completed. When the rotation corresponding to the predetermined number of payouts is completed, the payout control CPU 371 stops driving the payout motor 289 (step S522) and sets the lending ball passage waiting time (step S523).

ステップS519で貸し球通過待ち時間中であれば、払出制御用CPU371は、貸し球通過待ち時間が終了したか否かの確認を行う(ステップS524)。貸し球通過待ち時間は、最後の払出球が払出モータ289によって払い出されてから払出カウントスイッチ301を通過するまでの時間である。貸し球通過待ち時間の終了を確認すると、一単位の貸し球は全て払い出された状態であるので、カードユニット50に対して次の球貸し要求の受付が可能になったことを示すためにEXS信号をオフにする(ステップS525)。また、球貸し処理中フラグをオフする(ステップS527)。なお、貸し球通過待ち時間が経過するまでに最後の払出球が払出カウントスイッチ301を通過しなかった場合には、払出経路エラーとされる。また、この実施の形態では、賞球も球貸しも同じ払出装置で行われる。   If it is during the lending ball passage waiting time in step S519, the payout control CPU 371 checks whether or not the lending ball passage waiting time has ended (step S524). The lending ball passage waiting time is the time from when the last payout ball is paid out by the payout motor 289 until it passes through the payout count switch 301. When confirming the end of the lending ball passage waiting time, all lending balls of one unit have been paid out, so that the card unit 50 can accept the next lending request. The EXS signal is turned off (step S525). Also, the ball lending process flag is turned off (step S527). If the last payout ball does not pass the payout count switch 301 before the lending ball passage waiting time elapses, a payout path error is determined. In this embodiment, the winning ball and the lending are performed by the same payout device.

なお、球貸し要求の受付を示すEXS信号をオフにした後、所定期間内に再び球貸し要求信号であるBRQ信号がオンしたら、払出モータをオフせずに球貸し処理を続行するようにしてもよい。すなわち、所定単位(この例では100円単位)毎に球貸し処理を行うのではなく、球貸し処理を連続して実行するように構成することもできる。   After turning off the EXS signal indicating acceptance of a ball lending request, if the BRQ signal, which is a ball lending request signal, is turned on again within a predetermined period, the ball lending process is continued without turning off the payout motor. Also good. That is, instead of performing the ball lending process for each predetermined unit (100 yen unit in this example), the ball lending process may be executed continuously.

図36および図37は、ステップS757の賞球制御処理の一例を示すフローチャートである。賞球制御処理において、払出制御用CPU371は、まず、賞球停止中であるか否かを確認する(ステップS530)。停止中であれば、処理を終了する。なお、賞球停止中であるか否かは、図32に示された払出禁止状態設定処理などにおいて設定される払出停止中フラグがオンしているか否かによって確認される。   FIG. 36 and FIG. 37 are flowcharts showing an example of the prize ball control process in step S757. In the winning ball control process, the payout control CPU 371 first checks whether or not the winning ball is stopped (step S530). If it is stopped, the process is terminated. Whether or not the prize ball is stopped is confirmed by whether or not the payout stop flag set in the payout prohibition state setting process or the like shown in FIG. 32 is turned on.

賞球停止中でなければ、払出制御用CPU371は、貸し球払出中であるか否かの確認を行い(ステップS531)、貸し球払出中であれば処理を終了する。なお、貸し球払出中であるか否かは、球貸し処理中フラグの状態によって判断される。貸し球払出中でなければ、既に賞球払出処理が開始されているか否か、すなわち賞球中であるか否か確認する(ステップS532)。賞球中であれば図37に示す賞球中の処理に移行する。なお、賞球中であるか否かは、後述する賞球処理中フラグの状態によって判断される。   If the winning ball is not stopped, the payout control CPU 371 checks whether or not the lending ball is being paid out (step S531), and if the lending ball is being paid out, the processing is terminated. Whether or not the lending ball is being paid out is determined based on the state of the lending ball processing flag. If the lending ball is not being paid out, it is confirmed whether or not the winning ball payout process has already been started, that is, whether or not the winning ball is being drawn (step S532). If it is during the winning ball, the process proceeds to the processing during the winning ball shown in FIG. Whether or not a prize ball is in progress is determined by the state of a prize ball processing flag to be described later.

賞球払出中でなければ、払出制御用CPU371は、REQ信号が入力されているか否か確認する(ステップS534)。REQ信号が入力されていれば、払出制御用CPU371は、主基板31から賞球払出要求がなされているものと判定し、賞球処理中フラグをオンする(ステップS535)。なお、賞球処理中フラグは、RAM領域に設定される。   If the winning ball is not being paid out, the payout control CPU 371 checks whether or not the REQ signal is input (step S534). If the REQ signal is input, the payout control CPU 371 determines that a prize ball payout request has been made from the main board 31, and turns on the prize ball processing flag (step S535). The prize ball processing flag is set in the RAM area.

次いで、払出制御用CPU371は、主基板31からの払出個数信号が示す個数(例えば5個、10個、15個)を未払出の賞球個数として総合個数記憶に設定する(ステップS536)。また、払出制御用CPU371は、払出個数信号が示す個数分(例えば5個分、10個分、15個分)の遊技球を払い出すまで払出モータ289を回転させるように払出モータ289に対して駆動信号を出力するために、払出個数信号が示す個数分の払出動作の設定を行う(ステップS537)。具体的には、払出個数信号が示す個数分の遊技球を払い出すためのモータ回転時間を設定したり、モータ回転時間に応じた数の出力パルス数を決定する。そして、払出制御用CPU371は、賞球の払出動作の実行中であることを主基板31に通知するためのBUSY信号(賞球払出中信号)を出力状態とする。また、払出制御用CPU371は、払出モータ289をオンする(ステップS539)。そして、図37に示す賞球制御処理における賞球払出中の処理に移行する。   Next, the payout control CPU 371 sets the number (for example, 5, 10, 15) indicated by the payout number signal from the main board 31 as the number of unpaid award balls in the total number memory (step S536). In addition, the payout control CPU 371 instructs the payout motor 289 to rotate the payout motor 289 until paying out the number of game balls indicated by the payout quantity signal (for example, 5 pieces, 10 pieces, and 15 pieces). In order to output a drive signal, the number of payout operations indicated by the payout number signal is set (step S537). Specifically, the motor rotation time for paying out the number of game balls indicated by the payout number signal is set, or the number of output pulses corresponding to the motor rotation time is determined. Then, the payout control CPU 371 outputs a BUSY signal (prize ball paying out signal) for notifying the main board 31 that the prize ball payout operation is being executed. Also, the payout control CPU 371 turns on the payout motor 289 (step S539). Then, the process proceeds to a process during payout of prize balls in the prize ball control process shown in FIG.

図37は、払出制御用CPU371による払出制御処理における賞球中の処理の一例を示すフローチャートである。賞球制御処理では、払出モータ289がオンしていなければオンする。   FIG. 37 is a flowchart showing an example of a process during a prize ball in the payout control process by the payout control CPU 371. In the winning ball control process, if the payout motor 289 is not turned on, it is turned on.

賞球中の処理において、払出制御用CPU371は、賞球通過待ち時間中であるか否かの確認を行う(ステップS540)。賞球通過待ち時間中でなければ、賞球払出を行い(ステップS541)、払出モータ289の駆動を終了すべきか(払出個数信号が示す個数の払出動作が終了したか)否かの確認を行う(ステップS542)。具体的には、所定個数の払出に対応した回転が完了したか否かを確認する。所定個数の払出に対応した回転が完了した場合には、払出制御用CPU371は、払出モータ289の駆動を停止し(ステップS543)、賞球通過待ち時間の設定を行う(ステップS545)。賞球通過待ち時間は、最後の払出球が払出モータ289によって払い出されてから払出カウントスイッチ301を通過するまでの時間である。   In the processing during the winning ball, the payout control CPU 371 checks whether or not it is during the waiting time for winning ball passing (step S540). If it is not during the award ball passing waiting time, a prize ball is paid out (step S541), and it is confirmed whether or not the driving of the payout motor 289 should be finished (whether the number of payout operations indicated by the number-of-payout signal has been finished). (Step S542). Specifically, it is confirmed whether or not the rotation corresponding to the predetermined number of payouts has been completed. When the rotation corresponding to the predetermined number of payouts is completed, the payout control CPU 371 stops driving the payout motor 289 (step S543) and sets the award ball passage waiting time (step S545). The award ball waiting time is the time from when the last payout ball is paid out by the payout motor 289 until it passes through the payout count switch 301.

ステップS540にて賞球通過待ち時間中であれば、払出制御用CPU371は、賞球通過待ち時間が終了したか否かの確認を行う(ステップS546)。賞球通過待ち時間が終了した時点は、ステップS536で設定された払出動作によって払い出された賞球が全て払出カウントスイッチ301で検出された状態である。本例では、賞球通過待ち時間が終了していれば、払出制御用CPU371は、主基板31から払出要求があった個数の賞球の払い出しが完了したか否かを確認するために、総合個数記憶の記憶内容が0となっているか否かを確認する(ステップS547)。総合個数記憶の記憶内容が0でなければ、払出制御用CPU371は、主基板31からの払出個数信号が示す個数分の遊技球が完全には払い出されていないと判定し、所定の補正個数の遊技球を払い出すまで払出モータ289を回転させるように払出モータ289に対して駆動信号を出力するために、本例では1個分の払出動作の設定を行う(ステップS548)。そして、ステップS538以降の処理を実行する。   If it is during the prize ball passage waiting time in step S540, the payout control CPU 371 checks whether or not the prize ball passage waiting time has ended (step S546). When the winning ball passing waiting time ends, all the winning balls paid out by the payout operation set in step S536 are detected by the payout count switch 301. In this example, if the waiting time for award ball passing has ended, the payout control CPU 371 confirms whether or not the payout of the number of prize balls requested for payout from the main board 31 has been completed. It is confirmed whether or not the storage content of the number storage is 0 (step S547). If the storage content of the total number storage is not 0, the payout control CPU 371 determines that the number of game balls indicated by the payout number signal from the main board 31 has not been completely paid out, and the predetermined correction number In order to output a drive signal to the payout motor 289 so as to rotate the payout motor 289 until the game ball is paid out, one payout operation is set in this example (step S548). And the process after step S538 is performed.

上記のように、本例では、ステップS547にて総合個数記憶の記憶内容が0となっていなければ、補正個数として1個の遊技球を払い出す処理(補正処理)を実行する。つまり、総合個数記憶の記憶内容が0となっていることがステップS547にて確認されるまで、1個ずつ遊技球が払い出されることになる。ただし、この実施の形態では、図36および図37には示されていないが、補正処理によって遊技球を所定個数(例えば3個)払い出す処理を行ったのにもかかわらず、ステップS547での確認で総合個数記憶の記憶内容が0となっていることが確認されない場合には、払出経路エラーとされる。   As described above, in this example, if the stored content of the total number storage is not 0 in step S547, a process of paying out one game ball as the correction number (correction process) is executed. That is, game balls are paid out one by one until it is confirmed in step S547 that the stored contents of the total number storage are zero. However, in this embodiment, although not shown in FIG. 36 and FIG. 37, in spite of the processing for paying out a predetermined number (for example, 3) of game balls by the correction processing, If it is not confirmed by confirmation that the stored contents of the total number storage is 0, a payout path error is assumed.

ステップS547にて総合個数記憶の記憶内容が0であることが確認されると、払出制御用CPU371は、主基板31からの払出個数信号が示す個数の賞球の払出が完了したものと判定し、BUSY信号を停止状態として(ステップS549)、賞球処理中フラグをオフする(ステップS550)。   When it is confirmed in step S547 that the storage content of the total number storage is 0, the payout control CPU 371 determines that the payout of the number of prize balls indicated by the payout number signal from the main board 31 has been completed. The BUSY signal is stopped (step S549), and the prize ball processing flag is turned off (step S550).

なお、この実施の形態では、ステップS511、ステップS531の判断によって球貸しが賞球処理よりも優先されることになるが、賞球処理が球貸しに優先するようにしてもよい。   In this embodiment, the ball lending is prioritized over the winning ball processing according to the determinations in steps S511 and S531, but the winning ball processing may be prioritized over the ball lending.

なお、上記の実施の形態では、変動データ記憶手段としてRAMを用いた場合を示したが、変動データ記憶手段として、電気的に書き換えが可能な記憶手段であればRAM以外のものを用いてもよい。   In the above embodiment, the RAM is used as the fluctuation data storage means. However, as the fluctuation data storage means, a storage means other than the RAM may be used as long as it is an electrically rewritable storage means. Good.

さらに、上記の実施の形態では、電源監視手段と、システムリセットのための信号を発生する回路とが主基板31に設けられていたが、それらの一方または両方が電源基板910に設けられていてもよい。   Further, in the above embodiment, the power supply monitoring means and the circuit for generating a signal for system reset are provided on the main board 31, but one or both of them are provided on the power supply board 910. Also good.

次に、主基板31と払出制御基板37との間で送受される制御信号の出力状態について説明する。図38は、制御信号の出力状態の例を示すタイミングチャートである。ここでは、入賞を検出するスイッチ(例えば、入賞口スイッチ33a,39a,29a,30a、始動口スイッチ14a、カウントスイッチ23)にて、5個の入賞が検出されたあと15個の入賞が検出された場合について説明する。   Next, the output state of control signals transmitted and received between the main board 31 and the payout control board 37 will be described. FIG. 38 is a timing chart showing an example of the output state of the control signal. Here, 15 winnings are detected after 5 winnings are detected by the switches for detecting winnings (for example, winning port switches 33a, 39a, 29a, 30a, start port switch 14a, count switch 23). The case will be described.

図38に示すように、5個の入賞が検出されると、CPU56によって、REQ信号がローレベルのオン状態とされるとともに、5個を示す払出個数信号がハイレベルのオン状態とされる。払出制御用CPU371は、REQ信号を受信すると、払出個数信号にもとづいて総合個数記憶に5個を設定し、賞球の払出中であることを示すBUSY信号を出力状態とするとともに、払出モータを駆動して払出個数信号が示す5個の賞球の払出処理を実行する。払出カウントスイッチ301からの検出信号にもとづいて5個分の賞球が払い出されたことを確認すると、払出制御用CPU371は、BUSY信号をローレベルに立ち下げて賞球払出完了信号を出力する。CPU56は、賞球払出完了信号の受信によって払出処理が完了したことを確認し、REQ信号をハイレベルに立ち上げて払出完了受付信号を出力するとともに、払出個数信号をオフ状態とする。   As shown in FIG. 38, when five winnings are detected, the CPU 56 sets the REQ signal to the low level on state and sets the payout number signal indicating five to the high level on state. Upon receiving the REQ signal, the payout control CPU 371 sets 5 in the total number memory based on the payout number signal, sets the BUSY signal indicating that a prize ball is being paid out, and outputs the payout motor. The payout processing of five prize balls indicated by the payout number signal is driven. Upon confirming that five prize balls have been paid out based on the detection signal from the payout count switch 301, the payout control CPU 371 lowers the BUSY signal to a low level and outputs a prize ball payout completion signal. . The CPU 56 confirms that the payout process has been completed by receiving the prize ball payout completion signal, raises the REQ signal to a high level, outputs a payout completion acceptance signal, and turns off the payout number signal.

5個の入賞にもとづく払出処理が完了したことを確認すると、CPU56は、REQ信号をオン状態とするとともに、15個を示す払出個数信号をオン状態とする。払出制御用CPU371は、REQ信号を受信すると、払出個数信号にもとづいて総合個数記憶に15個を設定し、賞球の払出中であることを示すBUSY信号を出力状態とするとともに、払出モータを駆動して払出個数信号が示す15個の賞球の払出処理を実行する。払出カウントスイッチ301からの検出信号にもとづいて15個分の賞球が払い出されたことを確認すると、払出制御用CPU371は、BUSY信号をローレベルに立ち下げて賞球払出完了信号を出力する。CPU56は、賞球払出完了信号の受信によって払出処理が完了したことを確認し、REQ信号をハイレベルに立ち上げて払出完了受付信号を出力するとともに、払出個数信号をオフ状態とする。   When it is confirmed that the payout process based on the five winnings is completed, the CPU 56 turns on the REQ signal and turns on the payout number signal indicating fifteen. Upon receiving the REQ signal, the payout control CPU 371 sets 15 in the total number memory based on the payout number signal, sets the BUSY signal indicating that a prize ball is being paid out, and outputs the payout motor. It drives to execute the payout processing of 15 prize balls indicated by the payout number signal. Upon confirming that 15 prize balls have been paid out based on the detection signal from the payout count switch 301, the payout control CPU 371 lowers the BUSY signal to a low level and outputs a prize ball payout completion signal. . The CPU 56 confirms that the payout process has been completed by receiving the prize ball payout completion signal, raises the REQ signal to a high level, outputs a payout completion acceptance signal, and turns off the payout number signal.

本例では、図38に示すように、15個の入賞にもとづく払出処理は、5個の入賞にもとづく払出処理が終了するまで待ち状態となっている。すなわち、本例では、連続して複数の入賞が発生した場合には、CPU56は、先の入賞にもとづく賞球の払い出しが賞球払出完了信号の受信によって確認されるまで、後の入賞にもとづく賞球の払出要求を待つようにしている。   In this example, as shown in FIG. 38, the payout process based on 15 winnings is in a waiting state until the payout process based on 5 winnings is completed. In other words, in this example, when a plurality of winnings are continuously generated, the CPU 56 is based on the subsequent winning until the paying of the winning ball based on the previous winning is confirmed by the reception of the winning ball payout completion signal. It waits for a prize ball payout request.

図39は、球貸し処理の実行中に賞球の払出要求があった場合における制御信号の出力状態の例を示すタイミングチャートである。図39に示すように、15個の入賞が検出されると、CPU56によって、REQ信号がローレベルのオン状態とされるとともに、15個を示す払出個数信号がハイレベルのオン状態とされる。払出制御用CPU371は、REQ信号が出力されていても、球貸し処理の実行中であるので賞球の払出要求は受け付けず(具体的には、上述したステップS531の判断によってステップS534の処理がなされない)、球貸し処理が終了するまでBUSY信号を出力状態とはしない。そして、球貸し処理が終了すると、払出制御用CPU371は、払出個数信号にもとづいて総合個数記憶に15個を設定し、BUSY信号を出力状態とするとともに、払出モータ289を駆動して払出個数信号が示す15個の賞球の払出処理を実行する。払出カウントスイッチ301からの検出信号にもとづいて15個分の賞球が払い出されたことを確認すると、払出制御用CPU371は、BUSY信号をローレベルに立ち下げて賞球払出完了信号を出力する。CPU56は、賞球払出完了信号の受信によって払出処理が完了したことを確認し、REQ信号をハイレベルに立ち上げて払出完了受付信号を出力するとともに、払出個数信号をオフ状態とする。   FIG. 39 is a timing chart showing an example of the output state of the control signal when there is a prize ball payout request during execution of the ball lending process. As shown in FIG. 39, when 15 winnings are detected, the CPU 56 sets the REQ signal to the low level on state and sets the payout number signal indicating 15 to the high level on state. Even if the REQ signal is output, the payout control CPU 371 does not accept the award ball payout request because the ball lending process is being executed (specifically, the process in step S534 is performed according to the determination in step S531 described above). The BUSY signal is not output until the ball lending process is completed. When the ball lending process is completed, the payout control CPU 371 sets 15 in the total number memory based on the payout number signal, sets the BUSY signal to the output state, and drives the payout motor 289 to output the payout number signal. The payout process of 15 prize balls shown in FIG. Upon confirming that 15 prize balls have been paid out based on the detection signal from the payout count switch 301, the payout control CPU 371 lowers the BUSY signal to a low level and outputs a prize ball payout completion signal. . The CPU 56 confirms that the payout process has been completed by receiving the prize ball payout completion signal, raises the REQ signal to a high level, outputs a payout completion acceptance signal, and turns off the payout number signal.

上記のように、本例では、球貸し処理の実行中に賞球の払出要求があった場合には、払出制御用CPU371は、球貸し処理を終了したあと払出要求を受け付けるようにしている。   As described above, in this example, when there is a prize ball payout request during execution of the ball lending process, the payout control CPU 371 accepts the payout request after the ball lending process is completed.

図40は、払出制御基板37にて、主基板31から要求された個数の賞球を払い出すための払出モータ289の動作を終了したのにもかかわらず、主基板31から要求された個数の賞球の払い出しを払出カウントスイッチ301が検出していない場合(総合個数記憶が0でない場合)における制御信号の出力状態の例を示すタイミングチャートである。図40に示すように、15個の入賞が検出されると、CPU56によって、REQ信号がローレベルのオン状態とされるとともに、15個を示す払出個数信号がハイレベルのオン状態とされる。払出制御用CPU371は、REQ信号を受信すると、払出個数信号にもとづいて総合個数記憶に15個を設定し、BUSY信号を出力状態とするとともに、払出個数信号が示す15個の賞球を払い出すために払出モータ289を駆動する。15個分の賞球を払い出すための払出モータ289の駆動が終了すると、払出制御用CPU371は、払出カウントスイッチ301からの検出信号にもとづいて15個分の賞球が払い出されたか否かを確認する(総合個数記憶が0であるか否かを確認する)。ここでは、図40に示すように、払出制御用CPU371は、14個分の賞球の払い出しを確認しているが、未だ15個の払い出しの確認はなされていない状態にある。   FIG. 40 shows that the number of requested balls from the main board 31 is ended in the dispensing control board 37 even though the operation of the dispensing motor 289 for dispensing the required number of prize balls from the main board 31 is completed. It is a timing chart which shows the example of the output state of a control signal in case the payout count switch 301 has not detected the payout of the winning ball (when the total number memory is not 0). As shown in FIG. 40, when 15 winnings are detected, the CPU 56 turns on the REQ signal at the low level and turns on the payout number signal indicating 15 at the high level. Upon receipt of the REQ signal, the payout control CPU 371 sets 15 in the total number memory based on the payout number signal, sets the BUSY signal to the output state, and pays out 15 prize balls indicated by the payout number signal. Therefore, the payout motor 289 is driven. When driving of the payout motor 289 for paying out 15 prize balls is completed, the payout control CPU 371 determines whether or not 15 prize balls have been paid out based on the detection signal from the payout count switch 301. (Confirm whether or not the total number storage is 0). Here, as shown in FIG. 40, the payout control CPU 371 has confirmed the payout of 14 prize balls, but has not yet confirmed the payout of 15 prize balls.

ところが、払出カウントスイッチ301からの検出信号によっては15個分の賞球が払い出されたことが確認されない場合(賞球通過待ち時間が終了しても総合個数記憶が0にならない場合:ステップS547参照)には、払出制御用CPU371は、補正処理として1個の賞球を払い出すために払出モータ289を駆動する(ステップS548参照)。この1個の払い出しにもとづく払出カウントスイッチ301からの検出信号によって15個分の賞球が払い出されたことを確認した場合(総合個数記憶が0となった場合)には、払出制御用CPU371は、BUSY信号をローレベルに立ち下げて賞球払出完了信号を出力する。CPU56は、賞球払出完了信号の受信によって払出処理が完了したことを確認し、REQ信号をハイレベルに立ち上げて払出完了受付信号を出力するとともに、払出個数信号をオフ状態とする。   However, when it is not confirmed by the detection signal from the payout count switch 301 that 15 prize balls have been paid out (when the total number memory does not become 0 even after the prize ball passing waiting time is finished: step S547). For reference), the payout control CPU 371 drives the payout motor 289 to pay out one prize ball as a correction process (see step S548). When it is confirmed by the detection signal from the payout count switch 301 based on this one payout that 15 prize balls have been paid out (when the total number memory becomes 0), the payout control CPU 371. Lowers the BUSY signal to a low level and outputs a winning ball payout completion signal. The CPU 56 confirms that the payout process has been completed by receiving the prize ball payout completion signal, raises the REQ signal to a high level, outputs a payout completion acceptance signal, and turns off the payout number signal.

上記のように、本例では、払出制御基板37にて、主基板31から要求された個数の賞球を払い出すための払出モータ289の動作を終了したのにもかかわらず、主基板31から要求された個数の賞球の払い出しを払出カウントスイッチ301が検出していない場合には、適正な個数の賞球が払い出されるように、1個の遊技球を追加して払い出す補正処理が実行される。なお、1個の遊技球を追加して払い出しても認識のずれが解消されない場合には、1個の遊技球を追加して払い出す補正処理がさらに行われる。また、所定個(例えば3個)の遊技球が補正処理によって払い出されたのにもかかわらず、主基板31から要求された個数の賞球の払い出しが、払出カウントスイッチ301によって検出されない場合には、払出経路エラーとされる。   As described above, in the present example, the payout control board 37 starts from the main board 31 despite the operation of the payout motor 289 for paying out the required number of prize balls from the main board 31. When the payout count switch 301 has not detected payout of the requested number of prize balls, a correction process for adding one game ball and paying out is executed so that an appropriate number of prize balls is paid out. Is done. If the discrepancy in recognition is not resolved even if one game ball is added and paid out, a correction process for adding and paying out one game ball is further performed. Further, when a predetermined number (for example, three) of game balls are paid out by the correction process, the payout count switch 301 does not detect the payout of the required number of prize balls from the main board 31. Is a payout route error.

なお、上記のような認識のずれが発生する要因としては、例えば払出モータ289の異常、払出カウントスイッチ301の異常、あるいは払出制御基板37の異常などが考えられる。   Note that the cause of the above-described recognition shift may be, for example, an abnormality in the payout motor 289, an abnormality in the payout count switch 301, or an abnormality in the payout control board 37.

図41は、賞球の払出中に電源断が発生した場合における制御信号の出力状態の例を示すタイミングチャートである。図41に示すように、15個の入賞が検出されると、CPU56によって、REQ信号がローレベルのオン状態とされるとともに、15個を示す払出個数信号がハイレベルのオン状態とされる。払出制御用CPU371は、REQ信号を受信すると、払出個数信号にもとづいて総合個数記憶に15個を設定し、BUSY信号を出力状態とするとともに、払出個数信号が示す15個の賞球を払い出すために払出モータ289を駆動する。電源断を検出すると、CPU56は、電源確認信号をオフする処理を実行する。なお、このとき、CPU56は、払出個数信号も停止状態とする。   FIG. 41 is a timing chart showing an example of the output state of the control signal when the power interruption occurs during the payout of the prize ball. As shown in FIG. 41, when 15 winnings are detected, the CPU 56 sets the REQ signal to the low level on state and sets the payout number signal indicating 15 to the high level on state. Upon receipt of the REQ signal, the payout control CPU 371 sets 15 in the total number memory based on the payout number signal, sets the BUSY signal to the output state, and pays out 15 prize balls indicated by the payout number signal. Therefore, the payout motor 289 is driven. When detecting power-off, the CPU 56 executes a process of turning off the power confirmation signal. At this time, the CPU 56 also stops the payout number signal.

賞球を払い出すための払出処理中に電源確認信号がオフしたことを確認すると、払出制御用CPU371は、BUSY信号を停止状態とするとともに、払出モータ289の駆動を強制的に停止させる処理を実行する。   When it is confirmed that the power supply confirmation signal is turned off during the payout process for paying out the prize ball, the payout control CPU 371 performs a process of stopping the BUSY signal and forcibly stopping the drive of the payout motor 289. Execute.

上記のように、本例では、賞球の払出処理の実行中に電源断が発生した場合には、賞球の払出処理を強制的に終了させる。   As described above, in this example, when a power failure occurs during execution of a prize ball payout process, the prize ball payout process is forcibly terminated.

次に、エラー処理について説明する。図42は、エラーの種類とエラー表示用LED374(図8参照)の表示との関係等を示す説明図である。この実施の形態では、図42に示す各エラーが発生すると、本例では、払出停止中フラグがセットされ、払出禁止状態に設定される。この例では、球切れスイッチ187がオン状態となったときに球切れエラーが発生したと判定され、満タンスイッチ48がオン状態となったときに下皿満タンエラーが発生したと判定される。   Next, error processing will be described. FIG. 42 is an explanatory diagram showing the relationship between the type of error and the display of the error display LED 374 (see FIG. 8). In this embodiment, when each error shown in FIG. 42 occurs, in this example, the payout stop flag is set and the payout prohibited state is set. In this example, it is determined that a ball shortage error has occurred when the ball shortage switch 187 is turned on, and it is determined that a lower pan full tank error has occurred when the full tank switch 48 is on.

また、モータセンサ出力異常が検出された場合にはユニット内球噛みエラーが発生したと判定され、払出装置97が搭載された払出ユニットにて異常が生じた場合には払出ユニットエラーが発生したと判定される。なお、モータセンサ出力異常は、例えば球貸し制御処理や賞球制御処理において、モータ位置センサのオンが所定期間以上継続したり、オフが所定期間以上継続した場合に検出される。この場合、スプロケット292に遊技球や異物等が挟まっていることが考えられる。また、払出ユニットでの異常としては、払出カウントスイッチ301の異常などが該当する。払出ユニットエラーには、払出経路エラーが含まれる。   Further, it is determined that an in-unit ball biting error has occurred when a motor sensor output abnormality is detected, and a dispensing unit error has occurred when an abnormality has occurred in the dispensing unit in which the dispensing device 97 is mounted. Determined. The motor sensor output abnormality is detected when the motor position sensor is turned on for a predetermined period or longer or is turned off for a predetermined period or longer in, for example, ball lending control processing or prize ball control processing. In this case, it is considered that a game ball, a foreign object, or the like is sandwiched between the sprockets 292. An abnormality in the payout unit corresponds to an abnormality in the payout count switch 301 or the like. The payout unit error includes a payout path error.

さらに、VLオフ検出フラグがセットされた場合にはプリペイドカードユニット未接続エラーが発生したと判定され、正規でないタイミングでカードユニット50との通信が実行されたときにはプリペイドカードユニット通信エラーが発生したと判定される。なお、VLオフ検出フラグは、図33に示されたステップS755dでセットされる。   Further, when the VL-off detection flag is set, it is determined that a prepaid card unit unconnected error has occurred, and a prepaid card unit communication error has occurred when communication with the card unit 50 is executed at an irregular timing. Determined. The VL off detection flag is set in step S755d shown in FIG.

この例では、ステップS759のエラー処理において、球切れエラーが発生したと判定された場合には、払出制御用CPU371は、エラー表示用LED374に「0」を表示する。また、下皿満タンエラーが発生したと判定された場合にはエラー表示用LED374に「1」を表示し、ユニット内球噛みエラーが発生したと判定された場合にはエラー表示用LED374に「2」を表示し、払出ユニットエラーが発生したと判定された場合にはエラー表示用LED374に「3」を表示し、プリペイドカードユニット未接続エラーが発生したと判定された場合にはエラー表示用LED374に「4」を表示し、プリペイドカードユニット通信エラーが発生したと判定された場合にはエラー表示用LED374に「5」を表示する。   In this example, if it is determined in the error process of step S759 that a ball break error has occurred, the payout control CPU 371 displays “0” on the error display LED 374. Further, when it is determined that a lower pan full error has occurred, “1” is displayed on the error display LED 374, and when it is determined that an in-unit ball biting error has occurred, “2” is displayed on the error display LED 374. ”Is displayed,“ 3 ”is displayed on the error display LED 374 when it is determined that a payout unit error has occurred, and the error display LED 374 when it is determined that a prepaid card unit unconnected error has occurred. “4” is displayed, and if it is determined that a prepaid card unit communication error has occurred, “5” is displayed on the error display LED 374.

なお、本例では、ユニット内球噛みエラーが発生した場合には、異常を解除したあと、エラー解除スイッチ375が押下されると、払出停止中フラグがリセットされるとともにエラー表示用LED374の表示が消去されて、エラー状態が解消される。また、払出ユニットエラーが発生した場合にも、エラー解除スイッチ375が押下されると、払出停止中フラグがリセットされるとともにエラー表示用LED374の表示が消去されて、エラー状態が解消される。   In this example, when an in-unit ball biting error occurs, when the error release switch 375 is pressed after the abnormality is released, the payout stop flag is reset and the error display LED 374 is displayed. It is erased and the error condition is cleared. Even when a payout unit error occurs, if the error release switch 375 is pressed, the payout stop flag is reset and the display of the error display LED 374 is erased, and the error state is resolved.

図43は、上述した本例の遊技機における特徴部分の構成を示すブロック図である。図43に示すように、本例の遊技機は、遊技媒体を用いて所定の遊技を行うことが可能であり、遊技により払出条件が成立したことにもとづいて景品としての景品遊技媒体を払い出す遊技機であって、遊技の進行を制御する遊技制御手段561と、景品遊技媒体の払い出しを行う払出手段97aと、払出手段97aを制御する払出制御手段371aと、払出手段97aにより払い出された景品遊技媒体を検出する遊技媒体検出手段501とを備え、遊技制御手段561は、払出条件の成立にもとづいて払出制御手段371aに対して景品遊技媒体の払出数を指定する払出指令信号を継続的に出力し、払出制御手段371aは、払出指令信号にもとづいて払出手段97aを制御して景品遊技媒体の払出処理(ステップS757の払出処理)を実行し、遊技媒体検出手段501からの検出信号は、払出制御手段371aに入力され、払出制御手段371aは、遊技媒体検出手段501からの検出信号の入力状態を監視して払出指令信号により指定された払出数の景品遊技媒体が払い出されたか否かを判定する払出数判定手段371bと、払出数判定手段371bにより払出指令信号により指定された払出数の景品遊技媒体が払い出されたと判定された場合に払出処理が完了したことを示す払出完了信号を遊技制御手段561に対して出力する払出完了信号送信手段371cとを含み、遊技制御手段561は、払出完了信号を受信したことにもとづいて継続的に出力されている払出指令信号の出力を停止する払出指令信号停止手段562を含むことを特徴とする。   FIG. 43 is a block diagram showing a configuration of a characteristic portion in the gaming machine of the present example described above. As shown in FIG. 43, the gaming machine of this example can play a predetermined game using a game medium, and pays out a prize game medium as a prize based on the fact that a payout condition is satisfied by the game. A gaming machine, which is paid out by a game control means 561 for controlling the progress of the game, a payout means 97a for paying out premium game media, a payout control means 371a for controlling the payout means 97a, and a payout means 97a. Game medium detecting means 501 for detecting a prize game medium, and the game control means 561 continuously issues a payout command signal for designating a payout number of the prize game medium to the payout control means 371a based on the establishment of the payout condition. The payout control means 371a controls the payout means 97a based on the payout command signal to execute the payout process of the prize game medium (the payout process in step S757). The detection signal from the game medium detection means 501 is input to the payout control means 371a, and the payout control means 371a monitors the input state of the detection signal from the game medium detection means 501 and is designated by the payout command signal. The number-of-payout determination means 371b for determining whether or not the number-of-payout prize game medium has been paid out, and the number-of-payout prize determining means 371b determine that the quantity of the prize game medium designated by the payout command signal has been paid out. A payout completion signal transmitting means 371c for outputting a payout completion signal indicating that the payout process has been completed to the game control means 561. The game control means 561 continues based on the receipt of the payout completion signal. The payout command signal stop means 562 for stopping the output of the payout command signal that is output in an automatic manner is included.

以上説明したように、遊技制御手段が、払出条件の成立にもとづいて景品遊技媒体の払出数を示す払出個数信号と払出要求を行うためのREQ信号とを出力する構成としたので、払出制御手段は、REQ信号にもとづいて払出処理を開始し、払出個数信号が示す個数の賞球を払い出すことができる。   As described above, the game control means is configured to output the payout number signal indicating the payout number of the premium game medium and the REQ signal for making a payout request based on the establishment of the payout condition. Can start payout processing based on the REQ signal and pay out the number of prize balls indicated by the payout number signal.

また、上述したように、払出制御手段が、払出カウントスイッチ301からの検出信号の入力状態を監視して払出個数信号が示す個数の賞球が払い出されたかを確認し、払出個数信号が示す個数の賞球が払い出されたことが確認された場合に、賞球払出完了信号を出力する構成としているので、遊技制御手段側で賞球が正確に払い出されたことを認識することができ、遊技制御手段と払出制御手段との間の払出個数に関わる認識誤差が生じる可能性が低減される。このように、賞球の払い出しが正確に実行される通信態様で制御信号の送受が行われているので、遊技者が得た遊技価値を消滅させてしまうことを防止することができる。   Further, as described above, the payout control means monitors the input state of the detection signal from the payout count switch 301 to confirm whether or not the number of prize balls indicated by the payout number signal has been paid out, and the payout number signal indicates Since it is configured to output a prize ball payout completion signal when it is confirmed that the number of prize balls has been paid out, the game control means can recognize that the prize ball has been paid out correctly. This can reduce the possibility of a recognition error relating to the number of payouts between the game control means and the payout control means. As described above, since the control signal is transmitted and received in a communication mode in which the payout of the prize ball is accurately executed, it is possible to prevent the game value obtained by the player from being lost.

払い出しが終了したか否かに関わらず、REQ信号を出力の開始から所定期間が経過したときに停止するようにすると、払い出しが終了していないのにREQ信号が停止されるという弊害が生じることが考えられるが、上述した実施の形態では、払出個数信号が示す個数の賞球が払い出されたことが賞球払出完了信号により確認された場合にREQ信号を停止するようにしているので、そのような弊害はない。   Regardless of whether or not the payout has ended, if the REQ signal is stopped when a predetermined period has elapsed from the start of output, the REQ signal may be stopped even if the payout has not ended. However, in the above-described embodiment, the REQ signal is stopped when the prize ball payout completion signal confirms that the number of prize balls indicated by the payout quantity signal has been paid out. There is no such evil.

また、上述したように、払出制御手段が、払出個数信号が示す個数の賞球を払い出すための払出動作を終了したあと総合個数記憶の記憶内容を確認し、払い出すべき賞球個数が残存している場合には、1個分の賞球を払い出すための補正払出動作を行う構成(図40参照)としているので、払出制御手段において認識に食い違いが生じている場合に補正払出動作を実行することができ、払出個数信号が示す個数の賞球を確実に払い出すことができる。このように、賞球の払い出しが正確に実行される通信態様で制御信号の送受が行われているので、遊技者が得た遊技価値を消滅させてしまうことを防止することができる。なお、補正動作によって払い出される遊技球の数は、例えば総合個数記憶に設定されている個数など、1個でなくてもよい。   Further, as described above, after the payout control means finishes the payout operation for paying out the number of prize balls indicated by the payout quantity signal, the storage content of the total number memory is confirmed, and the number of prize balls to be paid out remains. In such a case, since the correction payout operation for paying out one prize ball is performed (see FIG. 40), the correction payout operation is performed when there is a discrepancy in recognition in the payout control means. The number of prize balls indicated by the payout quantity signal can be reliably paid out. As described above, since the control signal is transmitted and received in a communication mode in which the payout of the prize ball is accurately executed, it is possible to prevent the game value obtained by the player from being lost. Note that the number of game balls to be paid out by the correction operation may not be one, such as the number set in the total number memory.

上述した実施の形態では、総合個数記憶の記憶内容に応じて払出制御手段が補正払出動作を行う構成としているので、遊技制御手段が払出残数を管理して払出制御手段に対して不足分の払出個数を示す制御信号を新たに送信する必要がない。よって、遊技制御手段の制御負担が軽減される。また、払出制御手段が自己が管理している情報(総合個数記憶の記憶内容)にもとづいて補正払出動作を実行する構成としているので、払出制御手段で独自に払出個数の管理を行うようにすることができる。   In the embodiment described above, the payout control means performs the corrected payout operation in accordance with the stored contents of the total number storage, so that the game control means manages the remaining payout and manages the shortage with respect to the payout control means. There is no need to newly transmit a control signal indicating the number of payouts. Therefore, the control burden on the game control means is reduced. Further, since the payout control means is configured to execute the corrected payout operation based on the information managed by itself (stored contents of the total number memory), the payout control means independently manages the payout quantity. be able to.

また、上述したように、1個分の賞球を払い出すための補正払出動作は、総合個数記憶の記憶内容が0にならなければ、繰り返し実行されるように構成されているので、払出個数信号が示す個数の賞球をより確実に払い出すことができる。   Further, as described above, the corrected payout operation for paying out one prize ball is configured to be repeatedly executed unless the stored content of the total number memory becomes 0. The number of prize balls indicated by the signal can be paid out more reliably.

また、上述したように、1個分の賞球を払い出すための補正払出動作を所定回数(例えば3回)繰り返し実行しても総合個数記憶の記憶内容が0にならない場合には、エラー状態が発生したとする構成としているので、払出個数信号が示す個数の賞球が正確に払い出されない状態となっていることを遊技者や遊技店員に認識させることができるようになる。なお、上記のエラー状態が発生した場合には、払出停止中フラグがセットされ、払出禁止状態とされる。従って、払出個数信号が示す個数の賞球が正確に払い出されない状態となっているときに払出処理が継続して行われてしまうことを防止することができる。エラー状態と判定される繰り返し回数は、例えば払出個数信号が示す払出数と同じ数の回数(例えば15個払い出しの場合は15回)など、何回であってもよい。   In addition, as described above, if the stored contents of the total number memory does not become 0 even when the corrected payout operation for paying out one prize ball is repeatedly executed a predetermined number of times (for example, 3 times), an error state occurs. Therefore, the player or game clerk can recognize that the number of prize balls indicated by the payout number signal is not paid out correctly. When the above error state occurs, the payout stop flag is set and the payout prohibition state is set. Therefore, it is possible to prevent the payout process from being continuously performed when the number of award balls indicated by the payout quantity signal is not accurately paid out. The number of repetitions determined as an error state may be any number of times, for example, the same number of times as the number of payouts indicated by the payout number signal (for example, 15 times for 15 payouts).

また、上述したように、払出制御手段が、払出個数信号が示す個数の賞球の払出処理が終了したことを示す制御信号(BUSY信号の立ち下げによる賞球払出完了信号)を遊技制御手段に対して出力する構成としたので、払出制御手段の払出処理が終了したことを遊技制御手段が認識することができる。   Further, as described above, the payout control means sends to the game control means a control signal indicating that the payout processing of the number of prize balls indicated by the number-of-payout signal has been completed (a prize ball payout completion signal due to the fall of the BUSY signal). The game control means can recognize that the payout process of the payout control means has been completed.

また、上述したように、払出制御手段が、REQ信号にもとづく払出処理の実行中であることを示す制御信号(BUSY信号)を遊技制御手段に対して出力するように構成されているので、払出処理の実行中であることを遊技制御手段に認識させることができる。   Further, as described above, the payout control means is configured to output to the game control means a control signal (BUSY signal) indicating that the payout process based on the REQ signal is being executed. The game control means can recognize that the process is being executed.

また、上述したように、遊技制御手段が、電源監視手段(電源監視用IC902)からの電源断信号の入力に応じて、電源断が発生(具体的には電源監視用IC902の検出条件が成立)したことを示す制御信号(電源確認信号)を出力(電源確認信号をオフ状態とする)する構成とされているので、電源断が発生したことを払出制御手段に認識させることができる。   Further, as described above, the game control means generates a power interruption in response to the input of the power interruption signal from the power monitoring means (power monitoring IC 902) (specifically, the detection condition of the power monitoring IC 902 is satisfied). The control signal (power supply confirmation signal) indicating that the power supply has been turned off is output (the power supply confirmation signal is turned off), so that the payout control means can recognize that a power supply interruption has occurred.

また、上述したように、電源監視手段(電源監視用IC902)を主基板31に搭載する構成としたので、電源断信号が入力されるCPU56の近くに電源監視手段を設置することができ、電力供給の停止を遊技制御手段に迅速に認識させることができるようになる。   As described above, since the power supply monitoring means (power supply monitoring IC 902) is mounted on the main board 31, the power supply monitoring means can be installed near the CPU 56 to which the power-off signal is input. The game control means can quickly recognize the supply stop.

また、上述したように、遊技制御手段が、電力供給開始時に、払出制御手段に対して、遊技機への電力供給が開始したことを示す制御信号(電源確認信号)を出力(電源確認信号をオン状態とする)するように構成されているので、電力供給が開始したことを払出制御手段に認識させることができる。   Further, as described above, the game control means outputs a control signal (power supply confirmation signal) indicating that power supply to the gaming machine has started to the payout control means when the power supply is started (power supply confirmation signal is output). The payout control means can recognize that the power supply has started.

また、上述したように、エラー解除スイッチ375が操作されたことにもとづいて払出禁止状態が解除されるので、容易に払出禁止状態を解除して払出処理を能動化させることができる。   Further, as described above, since the payout prohibition state is canceled based on the operation of the error cancel switch 375, it is possible to easily cancel the payout prohibition state and activate the payout process.

また、上述した実施の形態では、払出装置97が、貸し球も賞球も払い出す構成とされているので、部品点数を削減することができる。   In the above-described embodiment, the payout device 97 is configured to pay out the lending balls and the winning balls, so that the number of parts can be reduced.

また、上述した実施の形態では、払い出された遊技球が貸し球であるのか賞球であるのかを識別して払出残数を更新する構成としているので、貸し球と賞球とを識別して払出残数を管理することができる。また、払い出された遊技球が貸し球であるのか賞球であるのかを確認し、払い出された貸し球数と、払い出された賞球数とを別個に外部に出力する構成としているので、外部にて、払い出された貸し球数と賞球数とを区別して把握することができる。   In the above-described embodiment, the payout game ball is identified as a rental ball or a prize ball and the remaining payout is updated. Therefore, the rental ball and the prize ball are identified. Can manage the remaining payout. In addition, it is configured to check whether the paid-out game balls are rental balls or prize balls, and to output the number of paid-out rental balls and the number of paid-out prize balls separately to the outside. Therefore, it is possible to distinguish and grasp the number of lending balls paid out and the number of winning balls from the outside.

また、上述した実施の形態では、払出完了信号と払出処理中信号とがともにBUSY信号により構成され、BUSY信号の出力態様を異ならせることによって払出完了信号と払出処理中信号とが識別されるように構成されているので、遊技制御手段と払出制御手段との間の信号線を削減することができる。   In the above-described embodiment, the payout completion signal and the payout processing signal are both constituted by the BUSY signal, and the payout completion signal and the payout processing signal are identified by changing the output mode of the BUSY signal. Thus, the signal line between the game control means and the payout control means can be reduced.

なお、上述した実施の形態では、払出制御手段が、遊技球の払い出しを禁止する禁止条件が成立(例えば、球切れ、下皿満タンなど)した場合には、遊技媒体の払出処理を禁止する払出禁止状態に設定する処理(例えば払出停止中フラグのセット)を行う構成としていたが、払出禁止状態に設定するだけでなく、払出禁止条件が成立したことを示す制御信号(払出禁止信号)を遊技制御手段に対して出力するようにしてもよい。このように構成すれば、払出禁止状態であることを遊技制御手段に認識させることができる。   In the embodiment described above, the payout control means prohibits the game medium payout process when a prohibition condition for prohibiting the payout of the game ball is satisfied (for example, a ball is out of play, the lower plate is full). Although the processing for setting the payout prohibition state (for example, setting of the payout suspension flag) is performed, not only the payout prohibition state is set, but also a control signal (payout prohibition signal) indicating that the payout prohibition condition is satisfied. You may make it output with respect to a game control means. If comprised in this way, it can make a game control means recognize that it is a payment prohibition state.

また、上述した実施の形態では、払出制御基板37に設けられているRAMに電源バックアップされた領域がないものとしていたが、主基板31と同様に一部または全部が電源バックアップされていてもよい。   In the above-described embodiment, the RAM provided on the payout control board 37 is assumed to have no power-backed-up area. However, a part or all of the power may be backed up like the main board 31. .

また、上述した実施の形態では、払出カウントスイッチ301の検出信号が払出制御基板37に入力されるようにしていたが、払出カウントスイッチ301の検出信号を主基板31に入力するようにして、検出があったことを示す制御信号が主基板31から払出制御基板37に出力されるようにしてもよい。   Further, in the above-described embodiment, the detection signal of the payout count switch 301 is input to the payout control board 37. However, the detection signal of the payout count switch 301 is input to the main board 31 to detect it. A control signal indicating that there is a problem may be output from the main board 31 to the payout control board 37.

また、上述した実施の形態では、REQ信号によって払出要求を行い、払出個数信号によって払出数を指定する構成としていたが、払出個数信号によって払出要求および払出数の指定を行うように構成してもよい。この場合、払出制御手段にて、払出個数信号が払出数を指定する信号が出力されているときは、同時に払出要求がなされているものと判定するようにすればよい。このように構成すれば、REQ信号を用いる必要がなくなり、信号線を削減することができる。   In the above-described embodiment, the payout request is made by the REQ signal and the payout number is designated by the payout number signal. However, the payout request and the payout number may be designated by the payout number signal. Good. In this case, the payout control means may determine that a payout request is made at the same time when the payout number signal outputs a signal designating the payout number. With this configuration, it is not necessary to use the REQ signal, and signal lines can be reduced.

また、上述した実施の形態では、賞球の払出処理中にBUSY信号が出力される構成としていたが、貸し球の払出処理中にもBUSY信号を出力するようにしてもよい。このように構成すれば、遊技制御手段が球貸し処理中であることを認識することができる。従って、遊技制御手段は、BUSY信号の出力状態にもとづいて、球貸し処理が所定期間以上継続して実行されていると認識したような場合に、エラーが発生したと判定することができる。   In the above-described embodiment, the BUSY signal is output during the award ball payout process. However, the BUSY signal may be output during the lending ball payout process. If comprised in this way, it can recognize that the game control means is in the ball lending process. Therefore, the game control means can determine that an error has occurred when it is recognized that the ball lending process is continuously executed for a predetermined period or longer based on the output state of the BUSY signal.

また、上述した実施の形態では、払出制御手段は、払出モータ289が払出予定数分回転したことを検出したら賞球払出の終了と決定したが、払出モータ位置センサによる検出回数が払出予定数に達したら賞球払出の終了と決定してもよい。すなわち、払出制御手段は、払出手段の動作量(この例では、払出モータ289の回転量または払出モータ位置センサによる検出回数)を検出することによって払い出しが完了したか否かを判定するように構成されていてもよい。   In the above-described embodiment, the payout control means determines that the prize ball payout is ended when it detects that the payout motor 289 has rotated by the planned payout number. However, the number of detections by the payout motor position sensor becomes the expected payout number. If it reaches, it may be determined that the prize ball payout has ended. That is, the payout control means is configured to determine whether or not the payout has been completed by detecting the operation amount of the payout means (in this example, the rotation amount of the payout motor 289 or the number of detections by the payout motor position sensor). May be.

また、上述した実施の形態では特に言及していないが、払出制御手段が、払出手段の駆動部(例えば払出モータ289、ギア291、スプロケット292等)の動作量を検出し、その検出にもとづいて払い出しに関わる異常(払出ユニットエラー)が発生したか否かを判定するように構成されていてもよい。このように構成すれば、払い出しに関わる異常を確実に検出することができる。   Although not particularly mentioned in the above-described embodiment, the payout control means detects the operation amount of the drive means (for example, the payout motor 289, the gear 291 and the sprocket 292) of the payout means, and based on the detection. It may be configured to determine whether or not an abnormality (payout unit error) related to payout has occurred. If comprised in this way, the abnormality which concerns on payout can be detected reliably.

また、上記の実施の形態では、球払出装置97が賞球も貸し球も払い出していた。しかし、賞球払出球を行う払出装置と球貸しを行う払出装置とを別個に設けてもよい。また、上記の実施の形態では、球払出装置97は球貸しも賞球払出も実行可能な構成であったが、球貸しを行う機構と賞球払出を行う機構とが独立していても本発明を適用することができる。   Further, in the above embodiment, the ball payout device 97 pays out winning balls and rental balls. However, a payout device for paying out a winning ball and a payout device for lending a ball may be provided separately. In the above embodiment, the ball payout device 97 is configured to execute both ball lending and prize ball payout. However, even if the mechanism for lending the ball and the mechanism for paying the prize ball are independent, The invention can be applied.

また、上述した実施の形態では、球切れ状態や下皿満タン状態である場合などに払出禁止状態とすることについて説明したが、他の払い出しを行うことが好ましくない場合や払い出しを行うことができない場合にも払出禁止状態に設定する構成とされている。例えば、ガラス扉枠2が開状態となっておりドア開放スイッチ161から検出信号が出力されているときなどの場合にも、上記の実施の形態では払出禁止状態に設定される。   Further, in the above-described embodiment, it has been described that the payout prohibition state is set when the ball is out of play or the lower pan is full. However, when it is not preferable to perform other payouts or payouts may be performed. Even when it is impossible, the payout prohibition state is set. For example, when the glass door frame 2 is in an open state and a detection signal is output from the door opening switch 161, the payout prohibited state is set in the above embodiment.

また、上述した各実施の形態では、記録媒体処理装置(プリペイドカードユニット50)で使用される記録媒体が磁気カード(プリペイドカード)であったが、磁気カードに限られず、非接触型あるいは接触型のICカードであってもよい。また、記録媒体処理装置が識別符号にもとづいて記録情報を特定できる構成とされている場合には、記録媒体は、記録情報を特定可能な識別符号などの情報を少なくとも記録媒体処理装置が読み取り可能に記録できるようなものであってもよい。さらに、記録媒体は、例えばバーコードなどの所定の情報記録シンボル等が読み取り可能にプリントされたものであってもよい。また、記録媒体の形状は、カード状のものに限られず、例えば円盤形状や球状、あるいはチップ形状など、どのような形状とされていてもよい。   In each of the above-described embodiments, the recording medium used in the recording medium processing apparatus (prepaid card unit 50) is a magnetic card (prepaid card). However, the recording medium is not limited to a magnetic card, and is a non-contact type or a contact type. The IC card may be used. In addition, when the recording medium processing device is configured to be able to identify the recording information based on the identification code, the recording medium can be read at least by the recording medium processing device such as an identification code that can identify the recording information It may be something that can be recorded on. Further, the recording medium may be a medium on which a predetermined information recording symbol such as a barcode is printed so as to be readable. The shape of the recording medium is not limited to a card shape, and may be any shape such as a disk shape, a spherical shape, or a chip shape.

上記の各実施の形態のパチンコ遊技機は、主として、始動入賞にもとづいて可変表示部9に可変表示される特別図柄の停止図柄が所定の図柄の組み合わせになると所定の遊技価値が遊技者に付与可能になる第1種パチンコ遊技機であったが、始動入賞にもとづいて開放する電動役物の所定領域への入賞があると所定の遊技価値が遊技者に付与可能になる第2種パチンコ遊技機や、始動入賞にもとづいて可変表示される図柄の停止図柄が所定の図柄の組み合わせになると開放する所定の電動役物への入賞があると所定の権利が発生または継続する第3種パチンコ遊技機であっても、本発明を適用できる。   The pachinko gaming machine of each of the above embodiments mainly gives a player a predetermined game value when the stop symbol of the special symbol variably displayed on the variable display unit 9 based on the start winning is a combination of the predetermined symbols. It was a first type pachinko game machine that can be used, but if there is a prize in a predetermined area of an electric game that is released based on a start prize, a second type pachinko game that can give a predetermined game value to a player 3rd type pachinko game where a predetermined right is generated or continued when there is a prize for a predetermined electric game that is released when the stop symbol of the pattern variably displayed based on the machine or the start winning combination becomes a combination of the predetermined pattern The present invention can be applied even to a machine.

さらに、遊技媒体が遊技球であるパチンコ遊技機に限られず、スロット機等においても、遊技媒体の払い出しを行う電気部品が備えられている場合には本発明を適用することができる。   Furthermore, the present invention can be applied to a slot machine or the like provided with an electrical component for paying out the game medium, not limited to a pachinko game machine in which the game medium is a game ball.

また、払出手段が、景品遊技媒体と貸出要求にもとづいて遊技者に貸し出す貸出遊技媒体の払い出しとを実行可能であり、遊技媒体検出手段が、払出手段により払い出された景品遊技媒体と貸遊技媒体とを検出するように構成されている場合には、部品点数を削減することができる。   In addition, the payout means can execute the payout of the premium game medium and the rental game medium to be lent to the player based on the loan request. When it is configured to detect a medium, the number of parts can be reduced.

払出種類判定手段による判定により遊技媒体検出手段からの検出信号が景品遊技媒体の検出によるものか貸遊技媒体の検出によるものかを特定し、払い出された景品遊技媒体数を示す景品遊技媒体数信号または払い出された貸遊技媒体数を示す貸遊技媒体数信号を遊技機の外部に出力するための外部情報信号出力処理を実行する構成とされている場合には、外部にて、払い出された遊技媒体が景品遊技媒体であるのか貸遊技媒体であるのかを確実に区別することができる。   The number of prize game media that indicates whether the detection signal from the game medium detection means is based on detection of a prize game medium or a rental game medium based on the determination by the payout type determination means, and indicates the number of prize game media paid out When the external information signal output process is performed to output a signal or a gaming medium number signal indicating the number of gaming media that has been paid out to the outside of the gaming machine, It is possible to reliably distinguish whether the played game medium is a prize game medium or a rental game medium.

払出制御手段が、払出指令信号にもとづく景品遊技媒体の払出処理の実行中であることを示す払出処理中信号を遊技制御手段に対して出力するように構成されている場合には、払出処理の実行中であることが遊技制御手段に認識されるようにすることができる。   If the payout control means is configured to output to the game control means a payout processing signal indicating that a prize game medium payout process is being executed based on the payout command signal, The game control means can recognize that the game is being executed.

払出完了信号と払出処理中信号は同一の信号の出力態様の変化によって払出完了信号と払出処理中信号とが識別されるように構成されている場合には、遊技制御手段と払出制御手段との間の信号線を削減することができる。   When the payout completion signal and the payout processing signal are configured so that the payout completion signal and the payout processing signal are identified by a change in the output form of the same signal, the game control means and the payout control means The signal line between them can be reduced.

払出制御手段が、払出手段の駆動部の動作量を検出する動作量検出手段の検出にもとづいて払出処理の終了を判定するように構成されている場合には、払出制御手段が払出手段による払出動作の終了を確実に認識することができる。   When the payout control means is configured to determine the end of the payout process based on the detection of the operation amount detecting means for detecting the operation amount of the drive unit of the payout means, the payout control means performs the payout by the payout means. It is possible to reliably recognize the end of the operation.

遊技機で用いられる所定の電源の状態を監視して、遊技機への電力の供給停止にかかわる検出条件の成立にもとづいて検出信号を出力する電源監視手段を備え、遊技制御手段が、電源監視手段からの検出信号の入力に応じて、検出条件が成立したことを示す供給停止検出信号を払出制御手段に対して出力するように構成されている場合には、遊技機への電力の供給停止にかかわる検出条件が成立したことを払出制御手段が把握することができる。   Power supply monitoring means for monitoring the state of a predetermined power source used in the gaming machine and outputting a detection signal based on the establishment of a detection condition relating to the stoppage of power supply to the gaming machine, and the game control means includes power supply monitoring When the supply stop detection signal indicating that the detection condition is satisfied is output to the payout control means in response to the input of the detection signal from the means, the supply of power to the gaming machine is stopped. The payout control means can grasp that the detection condition related to is established.

電源監視手段が、遊技制御手段が設けられる遊技制御基板に搭載されるように構成され、電源監視手段の検出信号が用いられる基板に搭載されている場合には、遊技制御手段が電力供給の停止を迅速に認識することができるようになる。   When the power supply monitoring means is configured to be mounted on a game control board provided with the game control means, and the power supply monitoring means is mounted on a board on which the detection signal of the power supply monitoring means is used, the game control means stops power supply. Can be recognized quickly.

遊技制御手段が、電力供給開始時に、払出制御手段に対して、遊技制御手段の制御動作が開始したことを示す電力供給開始信号を出力するように構成されている場合には、遊技制御手段の制御動作が開始したことを払出制御手段に認識させることができる。   When the game control means is configured to output a power supply start signal indicating that the control operation of the game control means has started to the payout control means at the start of power supply, the game control means The payout control means can recognize that the control operation has started.

払出制御手段が、景品遊技媒体の払い出しを禁止する禁止条件の成立にもとづいて、景品遊技媒体の払出処理を禁止する払出禁止状態に設定する処理を行うとともに、払出禁止状態に設定した原因となった禁止条件が特定の禁止条件であったときには、所定の操作手段が操作されたことにもとづいて、払出禁止状態を解除するように構成されている場合には、速やかに払出禁止状態を解除することができる。   Based on the establishment of the prohibition condition for prohibiting the payout of the prize game medium, the payout control means performs a process for setting the payout prohibition state for prohibiting the payout process of the prize game medium, and causes the setting of the payout prohibition state. When the prohibition condition is a specific prohibition condition, the withdrawal prohibition state is immediately released if the withdrawal prohibition state is canceled based on the operation of a predetermined operation means. be able to.

1 パチンコ遊技機
31 遊技制御基板(主基板)
37 払出制御基板
56 CPU
65 システムリセット回路(電源監視手段)
97 球払出装置
371 払出制御用CPU
902 電源監視用IC(電源監視手段)
1 Pachinko machine 31 Game control board (main board)
37 Dispensing control board 56 CPU
65 System reset circuit (power supply monitoring means)
97 Ball dispenser 371 Dispensing control CPU
902 IC for power monitoring (power monitoring means)

Claims (1)

遊技媒体を用いて所定の遊技を行うことが可能であり、遊技領域における入賞領域に遊技媒体が入賞したことにもとづいて景品としての景品遊技媒体を払い出すことが可能であり、各々を識別可能な複数種類の識別情報を可変表示する可変表示部を備え、前記可変表示部における識別情報の表示結果があらかじめ定められた特定表示結果となったときに、遊技者にとって有利な特定遊技状態に制御する遊技機であって、
制御を行う際に発生する変動データを記憶する変動データ記憶手段を有し、遊技の進行を制御する遊技制御手段と、
遊技機への電力供給が停止していても前記変動データ記憶手段の記憶内容を所定期間保持させることが可能な記憶内容保持手段と、
所定電源電圧の電圧低下を検出して、電源断の発生を検出したときに検出信号を出力する電源監視手段と、
操作に応じて操作信号を出力する操作手段と、
品遊技媒体の払い出しを行う払出手段と、
前記払出手段を制御する払出制御手段と、
前記入賞領域に遊技媒体が入賞したことを検出して入賞検出信号を出力する入賞検出手段と、
前記払出手段により払い出された景品遊技媒体を検出して払出検出信号を出力する遊技媒体検出手段とを備え、
前記遊技制御手段は、
前記電源監視手段からの前記検出信号の入力に応じて、前記変動データ記憶手段の記憶内容を保存するための電力供給停止時処理を実行し、
電力供給が開始されたときに、前記操作手段からの前記操作信号が入力されていない場合には、前記変動データ記憶手段の記憶内容が保存されていたときに前記変動データ記憶手段に保存されていた記憶内容にもとづいて制御状態を前記電力供給停止時処理を開始したときの状態に復旧させる状態復帰制御を実行し、前記操作手段からの前記操作信号が入力されている場合には、前記変動データ記憶手段の記憶内容を初期化し、
所定の処理を繰り返し実行するメイン処理と、所定時間毎に発生するタイマ割込に応じて前記メイン処理を中断して起動される割込処理とを実行し、
前記割込処理において、前記特定遊技状態とするか否かを決定するための特定遊技状態決定用数値を更新する特定遊技状態決定用数値更新処理と、前記特定遊技状態決定用数値の更新の初期値として初期値用数値を設定する初期値設定処理とを実行し、
前記メイン処理において、前記所定の処理として、前記初期値用数値を更新する初期値用数値更新処理を実行し、
前記メイン処理における前記初期値用数値更新処理を開始する前に前記タイマ割込による前記割込処理を禁止した状態に設定し、前記初期値用数値更新処理の完了後に前記タイマ割込による前記割込処理を許可した状態に設定し、
前記入賞検出手段が前記入賞検出信号を出力したことにもとづいて前記払出制御手段に対して景品遊技媒体の払出数を特定可能な払出指令信号出力し、
前記払出制御手段は、前記払出指令信号にもとづいて前記払出手段を制御して景品遊技媒体の払出処理を実行し、
前記遊技媒体検出手段からの前記払出検出信号は、前記払出制御手段に入力され、
前記払出制御手段は、
前記遊技媒体検出手段からの前記払出検出信号の入力状態を監視して前記払出指令信号で特定された払出数の景品遊技媒体が払い出されたか否かを判定する払出数判定手段と、
前記払出数判定手段により前記払出指令信号で特定された払出数の景品遊技媒体が払い出されたと判定された場合に払出処理が完了したことを示す払出完了信号を遊技制御手段に対して出力する払出完了信号出力手段とを含み、
前記遊技制御手段は、前記操作手段からの前記操作信号が入力されているか否かを、前記入賞検出手段から出力される前記入賞検出信号が有効と判定される入賞検出判定期間よりも短い検出判定期間で判定する
ことを特徴とする遊技機。
It is possible to play a predetermined game using game media, and it is possible to pay out premium game media as prizes based on the winning of game media in the prize area in the game area , and each can be identified A variable display unit that variably displays a plurality of types of identification information, and when the display result of the identification information on the variable display unit is a predetermined specific display result, control to a specific gaming state advantageous to the player A gaming machine that
Game control means for controlling the progress of the game, having fluctuation data storage means for storing fluctuation data generated when performing the control,
Storage content holding means capable of holding the storage content of the variation data storage means for a predetermined period even when power supply to the gaming machine is stopped;
Power supply monitoring means for detecting a voltage drop of a predetermined power supply voltage and outputting a detection signal when the occurrence of power supply interruption is detected;
An operation means for outputting an operation signal in response to an operation;
And dispensing means pays out Jing products game media,
A payout control means for controlling the payout means;
Winning detection means for detecting that a game medium has won in the winning area and outputting a winning detection signal;
A game medium detecting means for detecting a prize game medium paid out by the payout means and outputting a payout detection signal ;
The game control means includes
In response to an input of the detection signal from the power supply monitoring unit, a power supply stop process for saving the storage content of the variation data storage unit is executed.
If the operation signal from the operation means is not input when power supply is started, the stored contents of the variable data storage means are stored in the variable data storage means when stored. When the operation signal from the operation means is input, the state return control is executed to restore the control state to the state when the power supply stop process is started based on the stored contents. Initialize the storage contents of the data storage means,
A main process that repeatedly executes a predetermined process, and an interrupt process that is started by interrupting the main process according to a timer interrupt that occurs every predetermined time,
In the interrupt process, a specific gaming state determination numerical value update process for updating a specific gaming state determination numerical value for determining whether or not to enter the specific gaming state, and an initial update of the specific gaming state determination numerical value Execute the initial value setting process to set the numerical value for the initial value as the value,
In the main process, as the predetermined process, an initial value numerical value update process for updating the initial value numerical value is executed,
Before starting the initial value updating process in the main process, the interrupt processing by the timer interrupt is set to a prohibited state, and after the initial value updating process, the interrupt by the timer interrupt is completed. Set the status to allow
Based on the fact that the winning detection means has output the winning detection signal, the payout control means outputs a payout command signal that can specify the payout number of the prize game medium,
The payout control means controls the payout means based on the payout command signal to execute a payout process of the prize game medium,
The payout detection signal from the game medium detection means is input to the payout control means,
The payout control means includes
A payout number determination means for monitoring an input state of the payout detection signal from the game medium detection means and determining whether or not a prize game medium of the payout number specified by the payout command signal has been paid out;
Outputs a payout completion signal indicating that the payout process is completed when the prize game medium payout number specified in the payout command signal is determined to have been paid out by the payout amount determination means to the player control means A payout completion signal output means,
The game control means detects whether or not the operation signal from the operation means is input, and the detection determination is shorter than a winning detection determination period in which the winning detection signal output from the winning detection means is determined to be valid. A gaming machine that is characterized by a period .
JP2009002677A 2009-01-08 2009-01-08 Game machine Expired - Fee Related JP4772878B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009002677A JP4772878B2 (en) 2009-01-08 2009-01-08 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009002677A JP4772878B2 (en) 2009-01-08 2009-01-08 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002027389A Division JP4290372B2 (en) 2002-02-04 2002-02-04 Game machine

Publications (3)

Publication Number Publication Date
JP2009066460A JP2009066460A (en) 2009-04-02
JP2009066460A5 JP2009066460A5 (en) 2010-11-11
JP4772878B2 true JP4772878B2 (en) 2011-09-14

Family

ID=40603292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009002677A Expired - Fee Related JP4772878B2 (en) 2009-01-08 2009-01-08 Game machine

Country Status (1)

Country Link
JP (1) JP4772878B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016185393A (en) * 2016-07-01 2016-10-27 株式会社ソフイア Game machine

Also Published As

Publication number Publication date
JP2009066460A (en) 2009-04-02

Similar Documents

Publication Publication Date Title
JP3866146B2 (en) Game machine
JP3660312B2 (en) Game machine
JP3647752B2 (en) Game machine
JP2003320131A (en) Game machine
JP2002355432A (en) Game machine
JP4290372B2 (en) Game machine
JP3660313B2 (en) Game machine
JP4393751B2 (en) Game machine
JP3772069B2 (en) Game machine
JP4772878B2 (en) Game machine
JP3727522B2 (en) Game machine
JP3893400B2 (en) Game machine
JP3737426B2 (en) Game machine
JP3857131B2 (en) Game machine
JP3689049B2 (en) Game machine
JP3676290B2 (en) Game machine
JP3699041B2 (en) Game machine
JP3737424B2 (en) Game machine
JP2003225433A (en) Game machine
JP3708481B2 (en) Game machine
JP3857133B2 (en) Game machine
JP3588026B2 (en) Gaming machine
JP4166803B2 (en) Game machine
JP2003220244A (en) Game machine
JP3640634B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100928

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

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

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

Free format text: PAYMENT UNTIL: 20140701

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4772878

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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