JP4493964B2 - Game machine - Google Patents
Game machine Download PDFInfo
- Publication number
- JP4493964B2 JP4493964B2 JP2003334349A JP2003334349A JP4493964B2 JP 4493964 B2 JP4493964 B2 JP 4493964B2 JP 2003334349 A JP2003334349 A JP 2003334349A JP 2003334349 A JP2003334349 A JP 2003334349A JP 4493964 B2 JP4493964 B2 JP 4493964B2
- Authority
- JP
- Japan
- Prior art keywords
- payout
- signal
- game
- ball
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Pinball Game Machines (AREA)
Description
本発明は、遊技媒体を用いて遊技者が所定の遊技を行うことが可能であり、遊技により払出条件が成立したことにもとづいて景品としての景品遊技媒体を払い出すパチンコ遊技機やスロット機等の遊技機に関する。 The present invention is a pachinko gaming machine, a slot machine, etc. that allows a player to 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 established by the game Related to the gaming machine.
遊技機として、遊技球などの遊技媒体を発射装置によって遊技領域に発射し、遊技領域に設けられている入賞口などの入賞領域に遊技媒体が入賞すると、所定個の賞球が遊技者に払い出されるものがある。さらに、表示状態が変化可能な可変表示部が設けられ、可変表示部の表示結果があらかじめ定められた特定表示態様となった場合に所定の遊技価値を遊技者に与えるように構成されたものがある。 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.
パチンコ遊技機では、特別図柄を表示する可変表示部の表示結果があらかじめ定められた特定表示態様の組合せとなることを、通常、「大当り」という。大当りが発生すると、例えば、大入賞口が所定回数開放して打球が入賞しやすい大当り遊技状態に移行する。 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 a 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 in which a hit ball is easy to win.
遊技機における遊技進行は、マイクロコンピュータ等による遊技制御手段によって制御される。賞球払出の制御を行う払出制御手段が、遊技制御手段が搭載されている主基板とは別の払出制御基板に搭載されている場合、遊技の進行は主基板に搭載された遊技制御手段によって制御されるので、入賞にもとづく賞球個数は遊技制御手段によって決定され、特許文献1に記載されているように、賞球個数を示す制御信号が単方向通信によって払出制御基板に送信される。そして、払出制御手段は、遊技制御手段からの制御信号にもとづいて、入賞にもとづく個数の賞球を払い出す処理を行う。また、例えば、特許文献2に記載されているように、遊技制御手段は、入賞球を保留する入賞球処理装置に設けられている入賞球検出スイッチが入賞球を検出したら、賞球個数を示す制御信号を払出制御手段に送信し、賞球個数を示す制御信号にもとづく賞球払出が完了したら、入賞球処理装置から入賞球を排出して、次の入賞球を検出可能にする。また、特許文献2に記載の遊技機では、遊技球の払い出しができなくなるような異常を検出した場合には、遊技球の払い出しを中断させる。そして、異常が解消したときに、リセットスイッチが押下されたことを条件に、RAMに記憶されている個数分の未払出分の遊技球の払い出しを再開する。
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 the winning is determined by the game control means, and as described in
特許文献2に記載の遊技機のように、入賞球検出スイッチが入賞球を検出したら遊技制御手段が賞球個数を示す制御信号を払出制御手段に送信し、賞球個数を示す制御信号にもとづく賞球払出が完了したら、入賞球処理装置から入賞球を排出して次の入賞球を検出可能にするように構成されている場合には、入賞が連続して発生するようなときに、入賞の発生に対して、遊技制御手段から払出制御手段への賞球個数を示す制御信号の伝達が遅れる。その結果、入賞の発生に対して、実際に賞球払出が開始される時点が遅くなる可能性がある。また、特許文献1に記載の遊技機では、賞球個数を示す制御信号が単方向通信によって払出制御基板に送信されることから、払出制御手段において信号の取りこぼしや誤認識が生じ、入賞にもとづく個数の賞球が正確に払い出されない可能性がある。
As in the gaming machine described in
また、特許文献1,2に記載されている遊技機では、遊技制御手段と払出制御手段との間の通信に関わるエラーを検出することができず、その結果、通信に関わるエラーを報知することもできない。さらに、エラーが生じているにもかかわらず賞球個数を示す制御信号が遊技制御手段から払出制御手段に送信されてしまう可能性があるという課題がある。
In addition, in the gaming machines described in
また、特許文献2に記載の遊技機のように、未払出分の遊技球の個数をRAMに記憶し、リセットスイッチが押下されたことを条件に払い出しを再開する構成にすると、異常が解消するまでの間に電源断が生じたとき、未払出分の遊技球の個数情報が消失し、本来遊技者に対して払い出されるべき遊技球数が少なくなってしまうおそれがある。
Further, as in the gaming machine described in
そこで、本発明は、遊技制御手段と払出制御手段とが別個に設けられている遊技機において、遊技制御手段から払出制御手段への賞球個数を示す制御信号の伝達の遅れや、送受信される信号の取りこぼしを防止し、さらに、遊技制御手段と払出制御手段との間の通信に関わるエラーの発生を認識してエラーの発生を報知することができ、エラー発生時に賞球個数を示す制御信号が遊技制御手段から払出制御手段に送信されることを防止し、また、遊技機に対する異常の発生中に電源断が生じても遊技者に不利益が与えられないようにすることができる遊技機を提供することを目的とする。 Accordingly, the present invention provides a game machine in which a game control means and a payout control means are provided separately, and delays in transmission of control signals indicating the number of prize balls from the game control means to the payout control means, and transmission / reception. A control signal that prevents the signal from being missed and that can recognize the occurrence of an error related to communication between the game control means and the payout control means and notify the occurrence of the error, and indicates the number of prize balls when the error occurs. Can be prevented from being transmitted from the game control means to the payout control means, and even if a power failure occurs during the occurrence of an abnormality in the gaming machine, the gaming machine can be provided with no disadvantage The purpose is to provide.
本発明による遊技機は、遊技媒体を用いて遊技者が所定の遊技を行うことが可能であり、遊技により払出条件が成立した(例えば遊技球が入賞領域に入賞した)ことにもとづいて景品として景品遊技媒体(例えば遊技球)を払い出す遊技機であって、遊技の進行を制御する遊技制御処理を実行する遊技制御手段(例えばCPU56等を含む遊技制御用マイクロコンピュータ)と、景品遊技媒体の払い出しを行う払出手段(例えば球払出装置97)と、払出手段を制御する払出制御処理を実行する払出制御手段(例えば払出制御用CPU371等を含む払出制御用マイクロコンピュータ)と、遊技制御手段と払出制御手段との間の信号の通信に関する異常を検出する通信異常検出手段(例えば、払出制御手段におけるステップS552,S553、ステップS564〜S566、ステップS815,S816を実行する部分)と、通信異常検出手段が異常を検出したとき、その旨を報知する通信異常報知手段(例えばエラー表示用LED374)とを備え、遊技制御手段が、払出条件の成立にもとづいて払い出すべき景品遊技媒体の数を特定可能な景品遊技媒体数データ(例えば、入賞に応じた賞球数が加算される総賞球数バッファ)を記憶するとともに、遊技機への電力供給が停止したときに記憶内容を少なくとも所定期間保存することが可能な遊技制御用記憶手段(例えばRAM55)と、遊技機への電力供給が開始され遊技制御処理が実行可能状態になったときに払出制御手段に対して接続確認信号を出力する接続確認信号出力手段(例えば、ステップS12の作業領域の設定で、接続確認信号に対応した出力ポートバッファの内容が、接続確認信号のオン状態に対応した値に設定され、ステップS31の賞球処理が実行されると、出力ポートバッファの内容が出力ポートに出力される。すなわち、遊技制御用マイクロコンピュータが、遊技機に対する電力供給が開始され遊技制御処理が実行可能状態になったときに接続確認信号を送信する処理を実行する部分に相当)と、景品遊技媒体数データにもとづいて、払出制御手段に対して景品遊技媒体の払出数を特定可能な払出指令信号(例えば賞球制御信号や賞球REQ信号)を所定の指令条件が成立しているとき(例えば賞球BUSY信号がオフ状態であるとき)を出力する払出指令信号出力手段(例えば遊技制御手段におけるステップS232の賞球送信処理を実行する部分)と、払出指令信号出力手段が払出指令信号を出力した後に所定の条件が成立すると景品遊技媒体数データから払出指令信号で特定される払出数に対応する値を減算する減算処理を行う景品遊技媒体数データ減算手段(例えば遊技制御手段におけるステップS233の賞球待ち処理2を実行する部分)とを含み、払出制御手段が、払出指令信号を入力したことを示す指令受付信号(例えば賞球BUSY信号)を出力する指令受付信号出力手段(例えば払出制御手段におけるステップS546を実行する部分)と、遊技制御手段における払出指令信号出力手段により出力された払出指令信号により特定される景品遊技媒体の払出数の景品遊技媒体を払出手段を制御して払い出させる払出処理を実行する景品遊技媒体払出制御手段(例えば払出制御手段におけるステップS766の賞球球貸し制御処理を実行する部分)と、接続確認信号が出力されていないときには景品遊技媒体払出制御手段による払出処理を禁止する払出処理禁止手段(例えば払出制御手段のうちステップS621を実行する部分、すなわち、接続確認信号がオフ状態になると主制御未接続エラーのエラービットがセットされ(ステップS816)、その結果、ステップS621からステップS631に移行させないようにする)とを含み、景品遊技媒体払出制御手段が、払出処理の実行中に接続確認信号の出力が停止したときに、当該実行中の払出処理にて払い出させる予定数の景品遊技媒体の払い出しが完了してから払出手段の制御を停止する払出停止手段(例えば、払出モータ停止待ち処理および払出通過待ち処理にて主制御未接続エラーの発生の有無を確認せず、払い出しが完了したあと払出手段の制御を停止するためにステップS656に示す処理を実行する部分)を有し、遊技制御手段における景品遊技媒体数データ減算手段は、指令受付信号出力手段により指令受付信号が出力されたときに、所定の条件が成立したとして減算処理を実行し、払出制御手段における指令受付信号出力手段は、景品遊技媒体払出制御手段が払出処理を実行しているときに指令受付信号の出力状態を維持し、払出指令信号で特定される払出数の景品遊技媒体が払い出されたときに指令受付信号の出力を停止し、遊技制御手段における払出指令信号出力手段は、指令受付信号の出力が停止されるまで払出指令信号の出力状態を維持し、景品遊技媒体数データ減算手段による減算処理の後に景品遊技媒体数データが未払出の景品遊技媒体があることを示すものであったときには、指令受付信号出力手段により指令受付信号の出力が停止されたときに次の払出指令信号を出力し、遊技制御手段が、払出指令信号が出力されていないときに指令受付信号が出力されたときに接続確認信号出力手段により接続確認信号の出力を停止する接続確認信号解除手段(例えばステップS241,S242を実行する部分)と、接続確認信号が出力されていないときに景品遊技媒体数データ減算手段による減算処理を禁止する減算禁止手段(例えば、賞球待ち処理1において、ステップS242で接続確認信号をオフ状態にする制御を行ったら、ステップS243でオン状態にする制御を実行するまで、減算処理が含まれる処理(具体的には賞球待ち処理2)に移行しないようにするステップS231を実行する部分)とを含み、通信異常検出手段が、接続確認信号の出力が停止したときに通信に関する異常を検出する(例えばステップS815,S816)ことを特徴とする。
The gaming machine according to the present invention allows a player to play a predetermined game using a game medium, and as a prize based on the fact that a payout condition is established by the game (for example, a game ball has won a winning area). A game machine for paying out a prize game medium (for example, a game ball), a game control means for executing a game control process for controlling the progress of the game (for example, a game control microcomputer including a CPU 56, etc.), and a prize game medium A payout means (for example, a ball payout device 97) for paying out, a payout control means (for example, a payout control microcomputer including a payout control CPU 371), a game control means, and a payout Communication abnormality detection means for detecting an abnormality related to signal communication with the control means (for example, steps S552 and S55 in the payout control means) , Steps S564 to S566, a portion for executing Steps S815 and S816), and a communication abnormality notification means (for example, an error display LED 374) for notifying the abnormality when the communication abnormality detection means detects an abnormality. The means stores prize game medium number data (for example, a total prize ball number buffer to which the number of prize balls corresponding to winnings is added) capable of specifying the number of prize game media to be paid out based on the establishment of the payout condition. At the same time, when the power supply to the gaming machine is stopped, a storage means (for example, the RAM 55) that can store the stored contents for at least a predetermined period , and the power supply to the gaming machine is started and the game control process is executed. connection confirming signal output means for outputting the connection confirmation signal to the payout control means when the enabled state (e.g., setting the work area in step S12 When the content of the output port buffer corresponding to the connection confirmation signal is set to a value corresponding to the ON state of the connection confirmation signal and the prize ball processing in step S31 is executed, the content of the output port buffer is output to the output port. That is, the game control microcomputer corresponds to a part that executes a process of transmitting a connection confirmation signal when power supply to the game machine is started and the game control process becomes executable), and the prize game When a predetermined command condition is established for a payout command signal (for example, a prize ball control signal or a prize ball REQ signal) that can specify the number of prize game media to be paid out to the payout control means based on the medium number data ( For example, a payout command signal output means for outputting a prize ball BUSY signal is in an off state (for example, the prize ball transmission process of step S232 in the game control means is executed) Performing a partial), the subtraction processing payout command signal output means for subtracting a value corresponding to the payout amount specified by the payout command signal from the prize game medium count data when a predetermined condition is satisfied after outputting a payout command signal and a prize game medium count data subtraction means (e.g. portions for performing the prize
請求項1記載の発明によれば、遊技制御手段における払出指令信号出力手段は、指令受付信号の出力が停止されるまで払出指令信号の出力状態を維持し、景品遊技媒体数データ減算手段による減算処理の後に景品遊技媒体数データが未払出の景品遊技媒体があることを示すものであったときには、指令受付信号出力手段により指令受付信号の出力が停止されたときに次の払出指令信号を出力するので、景品遊技媒体の払出数を特定可能な制御信号が確実に払出制御手段に伝達される。さらに、遊技制御手段は、払出指令信号が出力されていないときに指令受付信号が出力されたときに接続確認信号出力手段により接続確認信号の出力を停止する接続確認信号解除手段を含み、通信異常検出手段は、接続確認信号の出力が停止したときに通信に関する異常を検出するので、遊技制御手段と払出制御手段との間の通信に関わるエラーの発生を、通信異常報知手段により確実に報知することができる。また、景品遊技媒体払出制御手段は、払出処理の実行中に接続確認信号の出力が停止したときには、当該実行中の払出処理にて払い出させる予定数の景品遊技媒体の払い出しが完了してから払出手段の制御を停止するので、本来遊技者に対して払い出されるべき遊技媒体は、確実に遊技者に払い出され、遊技者に不利益が生じることはない。さらに、払出制御手段は、接続確認信号が出力されていないときには景品遊技媒体払出制御手段による払出処理を禁止する払出処理禁止手段を含んでいるので、接続確認信号が出力されていないときに払出処理が開始されないようにすることができ、異常発生時に払い出される景品遊技媒体の増加を防止することができる。また、通信に関する異常が発生しているとき(払出指令信号を出力していないにも関わらず指令受付信号が出力されたとき)には払出制御手段に対して払出指令信号を出力することはなく、また、景品遊技媒体数データについての減算処理を行うことはないので、異常が発生しているときには、払い出すべき遊技媒体数の減算が行われず、遊技者が不利益を被らないようにすることができる。 According to the first aspect of the present invention, the payout command signal output means in the game control means maintains the output state of the payout command signal until the output of the command acceptance signal is stopped, and the subtraction by the prize game medium number data subtracting means. After the processing, when the prize game medium number data indicates that there is an unpaid premium game medium, the next payout command signal is output when the command acceptance signal output is stopped by the command acceptance signal output means. to Runode, identifiable control signal payout Jing products game media is transmitted securely to the payout control means. Furthermore, the game control means includes a connection confirmation signal release means for stopping the output of the connection confirmation signal by the connection confirmation signal output means when the command acceptance signal is outputted when the payout command signal is not outputted , and the communication abnormality Since the detection means detects an abnormality related to communication when the output of the connection confirmation signal is stopped , the occurrence of an error related to communication between the game control means and the payout control means is reliably notified by the communication abnormality notification means. can do. Also, Jing products game medium payout control means, when the output of the connection confirmation signal during the payout process is stopped, payout of predetermined number of prize game media to paid out in the payout process in the execution is completed since stopping control of the dispensing means from the, game media to be paid out to the original player, certainly paid out to the player, it does not occur detrimental to Yu technique's. Furthermore, the payout control means, because it contains payout process prohibiting means for prohibiting the payout process according Sometimes prize game medium payout control means connection confirmation signal is not output, payout process when the connection confirmation signal is not output Can be prevented from starting, and an increase in premium game media paid out when an abnormality occurs can be prevented. Also, when an abnormality relating to communication occurs (when a command acceptance signal is output despite the fact that no payout command signal is output ), no payout command signal is output to the payout control means. In addition, since the subtraction process is not performed on the prize game medium number data, when the abnormality occurs, the subtraction of the number of game media to be paid out is not performed, so that the player is not disadvantaged. can do.
以下、本発明の一実施形態を図面を参照して説明する。
まず、遊技機の一例であるパチンコ遊技機の全体の構成について説明する。図1はパチンコ遊技機を正面からみた正面図である。なお、以下の実施の形態では、パチンコ遊技機を例に説明を行うが、本発明による遊技機はパチンコ遊技機に限られず、スロット機などの他の遊技機に適用することもできる。
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. 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 other gaming machines such as a slot machine.
パチンコ遊技機1は、縦長の方形状に形成された外枠(図示せず)と、外枠の内側に開閉可能に取り付けられた遊技枠とで構成される。また、パチンコ遊技機1は、遊技枠に開閉可能に設けられている額縁状に形成されたガラス扉枠2を有する。遊技枠は、外枠に対して開閉自在に設置される前面枠(図示せず)と、機構部品等が取り付けられる機構板と、それらに取り付けられる種々の部品(後述する遊技盤を除く。)とを含む構造体である。
The
図1に示すように、パチンコ遊技機1は、額縁状に形成されたガラス扉枠2を有する。ガラス扉枠2の下部表面には打球供給皿(上皿)3がある。打球供給皿3の下部には、打球供給皿3に収容しきれない遊技球を貯留する余剰球受皿4と遊技球を発射する打球操作ハンドル(操作ノブ)5が設けられている。ガラス扉枠2の背面には、遊技盤6が着脱可能に取り付けられている。なお、遊技盤6は、それを構成する板状体と、その板状体に取り付けられた種々の部品とを含む構造体である。また、遊技盤6の前面には遊技領域7が形成されている。
As shown in FIG. 1, the
遊技領域7の中央付近には、それぞれが識別情報としての図柄を可変表示する複数の可変表示部を含む可変表示装置(特別図柄表示装置)9が設けられている。可変表示装置9には、例えば「左」、「中」、「右」の3つの可変表示部(図柄表示エリア)がある。また、可変表示装置9には、始動入賞口14に入った有効入賞球数すなわち始動記憶数を表示する4つの特別図柄始動記憶表示エリア(始動記憶表示エリア)18が設けられている。有効始動入賞がある毎に、表示色が変化する(例えば青色表示から赤色表示に変化)始動記憶表示エリアを1増やす。そして、可変表示装置9の可変表示が開始される毎に、表示色が変化している始動記憶数表示エリアを1減らす(すなわち表示色をもとに戻す)。この例では、図柄表示エリアと始動記憶表示エリアとが区分けされて設けられているので、可変表示中も始動記憶数が表示された状態にすることができる。なお、始動記憶表示エリアを図柄表示エリアの一部に設けるようにしてもよい。また、可変表示中は始動記憶数の表示を中断するようにしてもよい。また、この例では、始動記憶表示エリアが可変表示装置9に設けられているが、始動記憶数を表示する表示器(特別図柄始動記憶表示器)を可変表示装置9とは別個に設けてもよい。
Near the center of the
可変表示装置9の下方には、始動入賞口14としての可変入賞球装置15が設けられている。始動入賞口14に入った入賞球は、遊技盤6の背面に導かれ、始動口スイッチ14aによって検出される。また、始動入賞口14の下部には開閉動作を行う可変入賞球装置15が設けられている。可変入賞球装置15は、ソレノイド16によって開状態とされる。
Below the
可変入賞球装置15の下部には、特定遊技状態(大当り状態)においてソレノイド21によって開状態とされる開閉板20が設けられている。開閉板20は大入賞口(可変入賞球装置)を開閉する手段である。開閉板20から遊技盤6の背面に導かれた入賞球のうち一方(V入賞領域:特別領域)に入った入賞球はVカウントスイッチ22で検出され、開閉板20からの入賞球はカウントスイッチ23で検出される。遊技盤6の背面には、大入賞口内の経路を切り換えるためのソレノイド21Aも設けられている。
An open /
ゲート32に遊技球が入賞しゲートスイッチ32aで検出されると、普通図柄表示器10の表示の可変表示が開始される。この実施の形態では、左右のランプ(点灯時に図柄が視認可能になる)が交互に点灯することによって可変表示が行われ、例えば、可変表示の終了時に右側のランプが点灯すれば当たりとなる。そして、普通図柄表示器10における停止図柄が所定の図柄(当り図柄)である場合に、可変入賞球装置15が所定回数、所定時間だけ開状態になる。普通図柄表示器10の近傍には、ゲート32に入った入賞球数を表示する4つのLEDによる表示部を有する普通図柄始動記憶表示器41が設けられている。ゲート32への入賞がある毎に、普通図柄始動記憶表示器41は点灯するLEDを1増やす。そして、普通図柄表示器10の可変表示が開始される毎に、点灯するLEDを1減らす。
When a game ball wins the
遊技盤6には、複数の入賞口29,30,33,39が設けられ、遊技球の入賞口29,30,33,39への入賞は、それぞれ入賞口スイッチ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
そして、この例では、左枠ランプ28bの近傍に、賞球払出中に点灯する賞球LED51が設けられ、天枠ランプ28aの近傍に、補給球が切れたときに点灯する球切れLED52が設けられている。上記のように、この実施の形態のパチンコ遊技機1には、発光体としてのランプやLEDが各所に設けられている。さらに、プリペイドカードが挿入されることによって球貸しを可能にするプリペイドカードユニット(以下、カードユニットという。)が、パチンコ遊技機1に隣接して設置される(図示せず)。
In this example, a prize ball LED 51 that is lit while paying out a prize ball is provided in the vicinity of the
カードユニットには、例えば、使用可能状態であるか否かを示す使用可表示ランプ、カードユニットがいずれの側のパチンコ遊技機1に対応しているのかを示す連結台方向表示器、カードユニット内にカードが投入されていることを示すカード投入表示ランプ、記録媒体としてのカードが挿入されるカード挿入口、およびカード挿入口の裏面に設けられているカードリーダライタの機構を点検する場合にカードユニットを解放するためのカードユニット錠が設けられている。
The card unit includes, for example, a use indicator lamp that indicates whether or not the card unit is in a usable state, a connection table direction indicator that indicates which side of the
打球発射装置から発射された遊技球は、打球レールを通って遊技領域7に入り、その後、遊技領域7を下りてくる。遊技球が始動入賞口14に入り始動口スイッチ14aで検出されると、図柄の可変表示を開始できる状態であれば、可変表示装置9において特別図柄が可変表示(変動)を始める。図柄の可変表示を開始できる状態でなければ、始動記憶数を1増やす。
The game balls launched from the hit ball launching device enter the
可変表示装置9における特別図柄の可変表示は、一定時間が経過したときに停止する。停止時の特別図柄の組み合わせが大当り図柄(特定表示結果)であると、大当り遊技状態に移行する。すなわち、開閉板20が、一定時間経過するまで、または、所定個数(例えば10個)の遊技球が入賞するまで開放する。そして、開閉板20の開放中に遊技球がV入賞領域に入賞しVカウントスイッチ22で検出されると、継続権が発生し開閉板20の開放が再度行われる。継続権の発生は、所定回数(例えば15ラウンド)許容される。
The variable display of the special symbol on the
停止時の可変表示装置9における特別図柄の組み合わせが確率変動を伴う大当り図柄(確変図柄)の組み合わせである場合には、次に大当りとなる確率が高くなる。すなわち、確変状態という遊技者にとってさらに有利な状態となる。
When the combination of special symbols in the
遊技球がゲート32に入賞すると、普通図柄表示器10において普通図柄が可変表示される状態になる。また、普通図柄表示器10における停止図柄が所定の図柄(当り図柄)である場合に、可変入賞球装置15が所定時間だけ開状態になる。さらに、確変状態では、普通図柄表示器10における停止図柄が当り図柄になる確率が高められるとともに、可変入賞球装置15の開放時間と開放回数が高められる。すなわち、可変入賞球装置15の開放時間と開放回数は、普通図柄の停止図柄が当り図柄であったり、特別図柄の停止図柄が確変図柄である場合等に高められ、遊技者にとって不利な状態から有利な状態に変化する。なお、開放回数が高められることは、閉状態から開状態になることも含む概念である。
When the game ball wins the
次に、パチンコ遊技機1の裏面の構造について図2を参照して説明する。図2は、遊技機を裏面から見た背面図である。
Next, the structure of the back surface of the
図2に示すように、遊技機裏面側では、可変表示装置9を制御する演出制御手段が搭載された演出制御基板80を含む可変表示制御ユニット49、遊技制御用マイクロコンピュータ等が搭載された遊技制御基板(主基板)31が設置されている。また、球払出制御を行う払出制御用マイクロコンピュータ等が搭載された払出制御基板37が設置されている。なお、演出制御手段は、遊技盤6に設けられている可変表示装置9、各種装飾LED、普通図柄始動記憶表示器41、装飾ランプ25、枠側に設けられている天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cを点灯制御するとともに、スピーカ27からの音発生を制御する。
As shown in FIG. 2, on the back side of the gaming machine, a game in which a variable
演出制御手段は、演出制御基板80に搭載されている1つの演出制御用マイクロコンピュータで実現されるが、遊技盤6に設けられている各種装飾LED、普通図柄始動記憶表示器41、装飾ランプ25、枠側に設けられている天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cを駆動するための駆動回路は、演出制御基板80と電気的に接続されているランプドライバ基板に搭載されている。また、スピーカ27を駆動する駆動回路等は、演出制御基板80と電気的に接続されている音声制御基板に搭載されている。
The effect control means is realized by one effect control microcomputer mounted on the
さらに、DC30V、DC21V、DC12VおよびDC5Vを作成する電源回路が搭載された電源基板910やタッチセンサ基板91が設けられている。電源基板910は、大部分が主基板31と重なっているが、主基板31に重なることなく外部から視認可能に露出した露出部分がある。この露出部分には、遊技機1における主基板31および各電気部品制御基板(演出制御基板80および払出制御基板37)や遊技機に設けられている各電気部品への電力供給を実行あるいは遮断するための電力供給許可手段としての電源スイッチと、主基板31および払出制御基板37に含まれる記憶内容保持手段(例えば、電力供給停止時にもその内容を保持可能なバックアップRAM)に記憶されたバックアップデータをクリアするための操作手段としてのクリアスイッチとが設けられている。さらに、露出部分における電源スイッチの内側(基板内部側)には、交換可能なヒューズが設けられている。
Further, a
なお、電気部品制御基板には、電気部品制御用マイクロコンピュータを含む電気部品制御手段が搭載されている。電気部品制御手段は、遊技制御手段からの指令信号(制御信号)に従って遊技機に設けられている電気部品(遊技用装置:球払出装置97、可変表示装置9、ランプやLEDなどの発光体等)を制御する。以下、主基板31を電気部品制御基板に含めて説明を行うことがある。その場合には、電気部品制御基板に搭載される電気部品制御手段は、遊技制御手段と、遊技制御手段からの指令信号に従って遊技機に設けられている電気部品を制御する手段とのそれぞれを指す。また、主基板31以外のマイクロコンピュータが搭載された基板をサブ基板ということがある。
An electrical component control means including an electrical component control microcomputer is mounted on the electrical component control board. The electrical component control means is an electrical component (game device: ball payout device 97,
遊技機裏面において、上方には、各種情報を遊技機外部に出力するための各端子を備えたターミナル基板160が設置されている。ターミナル基板160には、少なくとも、球切れ検出スイッチ167の出力を導入して外部出力するための球切れ用端子、賞球情報(賞球個数信号)を外部出力するための賞球用端子および球貸し情報(球貸し個数信号)を外部出力するための球貸し用端子が設けられている。また、中央付近には、主基板31からの各種情報を遊技機外部に出力するための各端子を備えた情報端子基板(情報出力基板)34が設置されている。
On the back side of the gaming machine, a
貯留タンク38に貯留された遊技球は誘導レール39を通り、カーブ樋を経て払出ケース40Aで覆われた球払出装置に至る。球払出装置の上部には、遊技媒体切れ検出手段としての球切れスイッチ187が設けられている。球切れスイッチ187が球切れを検出すると、球払出装置の払出動作が停止する。球切れスイッチ187は遊技球通路内の遊技球の有無を検出するスイッチであるが、貯留タンク38内の補給球の不足を検出する球切れ検出スイッチ167も誘導レール39における上流部分(貯留タンク38に近接する部分)に設けられている。球切れ検出スイッチ167が遊技球の不足を検知すると、遊技機設置島に設けられている補給機構から遊技機に対して遊技球の補給が行われる。
The game balls stored in the
入賞にもとづく景品としての遊技球や球貸し要求にもとづく遊技球が多数払い出されて打球供給皿3が満杯になると、遊技球は、余剰球通路を経て余剰球受皿4に導かれる。さらに遊技球が払い出されると、感知レバー(図示せず)が貯留状態検出手段としての満タンスイッチ(図示せず)を押圧して、貯留状態検出手段としての満タンスイッチがオンする。その状態では、球払出装置内の払出モータの回転が停止して球払出装置の動作が停止するとともに打球発射装置の駆動も停止する。
When a large number of game balls as prizes based on winning a prize and game balls based on a ball lending request are paid out and the hitting
図3は、払出ケース40Aで覆われた球払出装置97を示す正面図(図3(A))および断面図(図3(B))である。球払出装置97は、球切れスイッチ187と球払出装置97との間に設置されている通路体の下部に固定されている。通路体は、カーブ樋によって流下方向が左右方向に変換された2列の遊技球を流下させる球通路を有する。球通路の上流側には、球切れスイッチ187が設置されている。なお、実際には、それぞれの球通路に球切れスイッチが設置されている。球切れスイッチ187は、球通路内の遊技球の有無を検出するものであって、球切れスイッチ187が遊技球を検出しなくなると球払出装置97における払出モータ(図3において図示せず)の回転を停止して遊技球の払出が不動化される。
FIG. 3 is a front view (FIG. 3 (A)) and a cross-sectional view (FIG. 3 (B)) showing the ball dispensing device 97 covered with the dispensing
また、球切れスイッチ187は、球通路に27〜28個の遊技球が存在することを検出できるような位置に係止片によって係止されている。
The ball break
球払出装置97において、ステッピングモータによる払出モータ(図示せず)が例えばカムを回転させることによって、賞球または球貸し要求にもとづく遊技球を1個ずつ払い出す。また、球払出装置97の下方には、例えば近接スイッチによる払出個数カウントスイッチ301が設けられている。球払出装置97から1個の遊技球が落下する毎に、払出個数カウントスイッチ301がオンする。すなわち、払出個数カウントスイッチ301は、球払出装置97から実際に払い出された遊技球を検出する。従って、払出制御手段は、払出個数カウントスイッチ301の検出信号によって、実際に払い出された遊技球の数を計数することができる。この例では、払出個数カウントスイッチ301は、払い出された賞球および貸し球の両方を検出する。すなわち、賞球の払い出しと貸し球の払い出しが同一の検出手段によって検出される。よって、部品点数を減らすことができ、遊技機のコストを低減させることができる。ただし、賞球の払い出しと貸し球の払い出しとが別個の検出手段によって検出される構成としてもよい。
In the ball payout device 97, a payout motor (not shown) using a stepping motor rotates, for example, a cam, thereby paying out one winning ball or one game ball based on a ball lending request. Also, below the ball payout device 97, for example, a payout
この実施の形態では、球払出装置97は、賞球払出と球貸しとを共に行うように構成されている。しかし、賞球払出を行う球払出装置と球貸しを行う球払出装置が別個に設けられていてもよい。別個に設けられている場合には、賞球払出を行う球払出装置と球貸しを行う球払出装置とで払出手段が構成される。さらに、例えば、カムまたはスプロケットの回転方向を変えて賞球払出と球貸しとを分けるように構成されていてもよいし、本実施の形態において例示する球払出装置97(モータによってカムを回転させる構成)以外のどのような構造の球払出装置を用いても、本発明を適用することができる。 In this embodiment, the ball payout device 97 is configured to perform both prize ball payout and ball lending. However, a ball payout device for paying out a prize ball and a ball payout device for lending a ball may be provided separately. When separately provided, the payout means is composed of a ball payout device for paying out a prize ball and a ball payout device for lending a ball. Further, for example, the configuration may be such that the prize ball payout and the ball lending are separated by changing the rotation direction of the cam or sprocket, or the ball payout device 97 exemplified in the present embodiment (the cam is rotated by the motor). The present invention can be applied to any structure other than the structure).
図4は、主基板31における回路構成の一例を示すブロック図である。なお、図4には、払出制御基板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. 4 is a block diagram illustrating an example of a circuit configuration in the
なお、ゲートスイッチ32a、始動口スイッチ14a、Vカウントスイッチ22、カウントスイッチ23、入賞口スイッチ29a,30a,33a,39a等のスイッチは、センサと称されているものでもよい。すなわち、遊技球を検出できる遊技媒体検出手段(この例では遊技球検出手段)であれば、その名称を問わない。入賞検出を行う始動口スイッチ14a、Vカウントスイッチ22、カウントスイッチ23、および入賞口スイッチ29a,30a,33a,39aの各スイッチは、入賞検出手段でもある。なお、入賞検出手段は、複数の入賞口に別個に入賞したそれぞれの遊技球をまとめて検出するものであってもよい。また、ゲートスイッチ32aのような通過ゲートであっても、賞球の払い出しが行われるものであれば、通過ゲートへ遊技球が進入することが入賞になり、通過ゲートに設けられているスイッチ(例えばゲートスイッチ32a)が入賞検出手段になる。さらに、この実施の形態では、V入賞領域に入賞した遊技球はVカウントスイッチ22のみで検出されるので、大入賞口に入賞した遊技球数は、Vカウントスイッチ22による検出数とカウントスイッチ23による検出数との和になる。しかし、V入賞領域に入賞した遊技球が、Vカウントスイッチ22で検出されるとともにカウントスイッチ23でも検出されるようにしてもよい。その場合には、大入賞口に入賞した遊技球数は、カウントスイッチ23による検出数に相当する。
The
また、始動口スイッチ14a、カウントスイッチ23、および入賞口スイッチ29a,30a,33a,39aの各スイッチには、スイッチコモン電圧(例えば+12V)が供給されているが、主基板31には、スイッチコモン電圧を監視するスイッチコモン監視回路71が搭載されている。スイッチコモン監視回路71が、スイッチコモン電圧が所定値まで低下したことを検出すると、基本回路53に入力されるスイッチコモン監視信号をオフ状態にする。
A switch common voltage (for example, + 12V) is supplied to each of the
また、基本回路53から与えられるデータに従って、大当りの発生を示す大当り情報、可変表示装置9における図柄の可変表示開始に利用された始動入賞球の個数を示す有効始動情報、確率変動が生じたことを示す確変情報等の情報出力信号をホールコンピュータ等の外部装置に対して出力する情報出力回路64が搭載されている。
Further, according to the data given from the
遊技制御用マイクロコンピュータで実現される基本回路53は、ゲーム制御(遊技進行制御)用のプログラム等を記憶するROM54、ワークメモリとして使用される記憶手段(変動データを記憶する変動データ記憶手段)としてのRAM55、プログラムに従って制御動作を行うCPU56およびI/Oポート部57を含む。この実施の形態では、ROM54およびRAM55はCPU56に内蔵されている。すなわち、CPU56は、1チップマイクロコンピュータである。1チップマイクロコンピュータは、少なくともRAM55が内蔵されていればよく、ROM54およびI/Oポート部57は外付けであっても内蔵されていてもよい。なお、CPU56はROM54に格納されているプログラムに従って制御を実行するので、以下、CPU56が実行する(または、処理を行う)ということは、具体的には、CPU56がプログラムに従って制御を実行することである。このことは、主基板31以外の他の基板に搭載されているCPUについても同様である。また、遊技制御手段は、遊技制御用マイクロコンピュータで実現される基本回路53で実現されているが、主として、遊技制御用マイクロコンピュータにおけるプログラムに従って制御を実行するCPU56で実現される。
A
また、RAM55は、その一部または全部が電源基板910において作成されるバックアップ電源によってバックアップされている不揮発性記憶手段としてのバックアップRAMである。すなわち、遊技機に対する電力供給が停止しても、所定期間(バックアップ電源が電力供給不能になるまで)は、RAM55の一部または全部の内容は保存される。特に、少なくとも、遊技状態すなわち遊技制御手段の制御状態に応じたデータ(特別図柄プロセスフラグ等)と未払出賞球数を示すデータは、バックアップRAMに保存される。なお、遊技制御手段の制御状態に応じたデータとは、停電等が生じた後に復旧した場合に、そのデータにもとづいて、制御状態を停電等の発生前に復旧させるために必要なデータである。なお、この実施の形態では、RAM55の全部が、電源バックアップされているとする。
The RAM 55 is a backup RAM as a non-volatile storage means that is partially or entirely backed up by a backup power source created on the
CPU56のリセット端子には、電源基板910からのリセット信号が入力されるのであるが、電源基板910からのリセット信号は、主基板31において、遅延回路69で遅延される。なお、リセット信号は遊技制御用マイクロコンピュータに対する遊技制御用許容信号および払出制御用マイクロコンピュータに対する払出制御用許容信号として共用されるので、遅延回路69は、遊技制御用許容信号が遊技制御用マイクロコンピュータに入力されるタイミングを、払出制御用許容信号が払出制御用マイクロコンピュータに入力されるタイミングよりも、遅延回路69における遅延量で決まる特定期間遅延させることになる。また、電源基板910から出力される電源断信号が、基本回路53(具体的には入力ポート)に入力される。
The reset signal from the
遊技球を打撃して発射する打球発射装置は払出制御基板37上の回路によって制御される発射モータ94を含み、発射モータ94が回転することによって遊技球を遊技領域7に向けて発射する。発射モータ94を駆動するための駆動信号は、タッチセンサ基板91を介して発射モータ94に伝達される。そして、遊技者が操作ノブ(打球ハンドル)5に触れていることはタッチセンサで検出され、タッチセンサからの信号がタッチセンサ基板91に搭載されているタッチセンサ回路(遊技者が操作ノブ5に触れているか否かを検出するための検出回路等を含む回路)を介して払出制御基板37に伝達される。払出制御基板37上の回路は、タッチセンサ回路からの信号がオフ状態を示している場合には、発射モータ94の駆動を停止する。なお、操作ノブ5には、弾発力を調節するものであり、遊技者が接触する部分であるタッチリングが組み付けられている。タッチセンサ基板91は、遊技機において、タッチリングと払出制御基板37との間に配置され、かつ、タッチリングの近傍に配置されている。具体的には、タッチリングとタッチセンサ基板91との間の配線長は、タッチセンサ基板91と払出制御基板37との間の配線長よりも短い。
The hitting ball launching device for hitting and launching the game ball includes a
なお、この実施の形態では、演出制御基板80に搭載されている演出制御手段が、遊技盤6に設けられている普通図柄始動記憶表示器41および装飾ランプ25の表示制御を行うとともに、枠側に設けられている天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cの表示制御を行う。また、演出制御基板80に搭載されている演出制御手段は、特別図柄を可変表示する可変表示装置9および普通図柄を可変表示する普通図柄表示器10の表示制御も行う。
In this embodiment, the effect control means mounted on the
また、この実施の形態で用いられているCPU56は、ソフトウェアで割込禁止に設定できないマスク不能割込(NMI)を発生させるために使用されるマスク不能割込端子(NMI端子)と、CPU56の外部から割込(外部割込;ソフトウェアで割込禁止にできるマスク可能割込)を発生させるために使用される割込端子(INT端子)とを有する。しかし、この実施の形態では、マスク不能割込および外部割込を使用しない。そこで、NMI端子およびINT端子を、抵抗を介してVcc(+5V)にプルアップしておく。従って、NMI端子およびINT端子の入力レベルは常にハイレベルになり、端子オープン状態に場合に比べて、ノイズ等によってNMI端子およびINT端子の入力レベルが立ち下がって割込発生状態になる可能性が低減する。 Further, the CPU 56 used in this embodiment includes a non-maskable interrupt terminal (NMI terminal) used for generating a non-maskable interrupt (NMI) that cannot be set to interrupt prohibition by software, And an interrupt terminal (INT terminal) used to generate an external interrupt (external interrupt; maskable interrupt that can be disabled by software). However, this embodiment does not use non-maskable interrupts and external interrupts. Therefore, the NMI terminal and the INT terminal are pulled up to Vcc (+5 V) through resistors. Therefore, the input levels of the NMI terminal and the INT terminal are always high, and there is a possibility that the input level of the NMI terminal and the INT terminal falls due to noise or the like, and an interrupt is generated, as compared with the case where the terminal is open. Reduce.
図5は、払出制御基板37および球払出装置97などの払出に関連する構成要素を示すブロック図である。図5に示すように、払出制御基板37には、払出制御用CPU371を含む払出制御用マイクロコンピュータ(電気部品制御用マイクロコンピュータの一例)が搭載されている。この実施の形態では、払出制御用マイクロコンピュータは、1チップマイクロコンピュータであり、少なくともRAMが内蔵されている。また、RAMは、主基板31におけるRAM55と同様に、電源バックアップされている。払出制御用CPU371、RAM、払出制御用プログラムを格納したROM(図示せず)およびI/Oポート等は、払出制御手段を構成する。従って、払出制御手段は、払出制御用CPU371、RAM、ROMおよびI/Oポートを含む払出制御用マイクロコンピュータで実現されるが、主として、プログラムに従って制御を実行する払出制御用CPU371で実現される。
FIG. 5 is a block diagram showing components related to payout, such as the
満タンスイッチ48および払出個数カウントスイッチ301からの検出信号は、中継基板72を介して払出制御基板37のI/Oポート372fに入力される。また、球切れスイッチ187および払出モータ位置センサ295からの検出信号は、中継基板72を介して払出制御基板37のI/Oポート372eに入力される。払出モータ位置センサ295は、払出モータ289の回転位置を検出するための発光素子(LED)と受光素子とによるセンサであり、遊技球が詰まったこと、すなわちいわゆる球噛みを検出するために用いられる。払出制御基板37の払出制御用CPU371は、球切れスイッチ187からの検出信号が球切れ状態を示していたり、満タンスイッチ48からの検出信号が満タン状態を示していると、球払出処理を停止する。さらに、満タンスイッチ48からの検出信号が満タン状態を示していると、打球発射装置からの球発射を停止させる。
Detection signals from the
入賞があると、主基板31の出力回路67から、払出指令信号として、賞球の払出要求を行うための賞球REQ信号(賞球リクエスト信号)および払い出すべき賞球個数を示す賞球制御信号が出力(送信)される(オン状態になる)。賞球制御信号は、4ビットのデータ(2進4桁のデータ)によって構成され、4本の信号線によって出力される。なお、信号のオン状態すなわち出力状態は、信号が有意である状態であり、オン状態になることは、信号を受ける側に対してその信号にもとづく何らかの処理を開始することを指令することを意味する。例えば、賞球個数を示す賞球制御信号および賞球REQ信号がオン状態になるということは、払出制御手段に対して、賞球制御信号が示す払出数を認識するように指令することを意味する。また、信号を出力することによってオン状態とし、信号出力を停止することによってオフ状態としてもよい。あるいは、オン状態にするときにはオン状態に応じた信号を出力し、オフ状態にするときにはオフ状態に応じた信号を出力することによって、オン状態とオフ状態とを切り替えてもよい。賞球制御信号は、入力回路373Aを介してI/Oポート372eに入力される。払出制御用CPU371は、I/Oポート372eを介して賞球REQ信号および賞球制御信号が入力すると、賞球制御信号が示す個数の遊技球を払い出すために球払出装置97を駆動する制御を行う。なお、主基板31の出力回路67からは、主基板31が接続されていることを示す電源確認信号(接続確認信号)も出力される。また、賞球REQ信号および賞球制御信号は、払出数を指定する払出指令信号に相当する。
When there is a win, the
また、払出制御手段が払出指令信号を受け付けたときには主基板31に対して指令受付信号を送信する。指令受付信号は、払出制御基板37の出力ポート372bおよび出力回路373Bを介して主基板31に送信される。そして、主基板31において、入力回路68およびI/Oポート57を介してCPU56に入力される。なお、この実施の形態では、賞球BUSY信号がオン状態になることによって、指令受付信号が送信されたことになる。
Further, when the payout control means accepts a payout command signal, it sends a command acceptance signal to the
払出制御用CPU371は、出力ポート372bを介して、賞球払出数を示す賞球情報信号および貸し球数を示す球貸し個数信号をターミナル基板(枠用外部端子基板と盤用外部端子基板とを含む)160に出力する。なお、出力ポート372bの外側に、ドライバ回路が設置されているが、図5では記載省略されている。また、ターミナル基板160(枠用外部端子基板)には、ドア開放情報スイッチ161A,161Bが接続されている。
The
また、払出制御用CPU371は、出力ポート372cを介して、7セグメントLEDによるエラー表示用LED374にエラー信号を出力する。さらに、出力ポート372bを介して、点灯/消灯を指示するための信号を賞球LED51および球切れLED52に出力する。なお、払出制御基板37の入力ポート372fには、エラー状態を解除するためのエラー解除スイッチ375からの検出信号が入力される。エラー解除スイッチ375は、ソフトウェアリセットによってエラー状態を解除するために用いられる。
Also, the
さらに、払出制御基板37からの払出モータ289への駆動信号は、出力ポート372aおよび中継基板72を介して球払出装置97の払出機構部分における払出モータ289に伝えられる。なお、出力ポート372aの外側に、ドライバ回路(モータ駆動回路)が設置されているが、図5では記載省略されている。また、払出制御基板37からの発射モータ94への駆動信号は、出力ポート372aおよびタッチセンサ基板91を介して発射モータ94に伝えられる。
Further, a drive signal from the
遊技機に隣接して設置されているカードユニット50には、カードユニット制御用マイクロコンピュータが搭載されている。また、カードユニット50には、使用可表示ランプ151、連結台方向表示器153、カード投入表示ランプ154およびカード挿入口155が設けられている。インタフェース基板(中継基板)66には、打球供給皿3の近傍に設けられている度数表示LED60、球貸し可LED61、球貸しスイッチ62および返却スイッチ63が接続される。
A card unit control microcomputer is mounted on the
インタフェース基板66からカードユニット50には、遊技者の操作に応じて、球貸しスイッチ62が操作されたことを示す球貸しスイッチ信号および返却スイッチ63が操作されたことを示す返却スイッチ信号が与えられる。また、カードユニット50からインタフェース基板66には、プリペイドカードの残高を示すカード残高表示信号および球貸し可表示信号が与えられる。カードユニット50と払出制御基板37の間では、接続信号(VL信号)、ユニット操作信号(BRDY信号)、球貸し要求信号(BRQ信号)、球貸し完了信号(EXS信号)およびパチンコ機動作信号(PRDY信号)が入力ポート372fおよび出力ポート372dを介して送受信される。カードユニット50と払出制御基板37の間には、インタフェース基板66が介在している。よって、接続信号(VL信号)等の信号は、図5に示すように、インタフェース基板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 provided to the
パチンコ遊技機1の電源が投入されると、払出制御基板37の払出制御用CPU371は、カードユニット50にPRDY信号を出力する。また、カードユニット制御用マイクロコンピュータは、電源が投入されると、VL信号を出力する。払出制御用CPU371は、VL信号の入力状態によってカードユニット50の接続状態/未接続状態を判定する。カードユニット50においてカードが受け付けられ、球貸しスイッチが操作され球貸しスイッチ信号が入力されると、カードユニット制御用マイクロコンピュータは、払出制御基板37にBRDY信号を出力する。この時点から所定の遅延時間が経過すると、カードユニット制御用マイクロコンピュータは、払出制御基板37にBRQ信号を出力する。
When the power of the
そして、払出制御基板37の払出制御用CPU371は、カードユニット50に対するEXS信号を立ち上げ、カードユニット50からのBRQ信号の立ち下がりを検出すると、払出モータ289を駆動し、所定個の貸し球を遊技者に払い出す。そして、払出が完了したら、払出制御用CPU371は、カードユニット50に対するEXS信号を立ち下げる。その後、カードユニット50からのBRDY信号がオン状態でないことを条件に、遊技制御手段から払出指令信号を受けると賞球払出制御を実行する。なお、カードユニット50で用いられる電源電圧AC24Vは払出制御基板37から供給される。
Then, the
カードユニット50に対する電源基板910からの電力供給は、払出制御基板37およびインタフェース基板66を介して行われる。この例では、インタフェース基板66内に配されているカードユニット50に対するAC24Vの電源供給ラインに、カードユニット50を保護するためのヒューズが設けられ、カードユニット50に所定電圧以上の電圧が供給されることが防止される。
The power supply from the
なお、この実施の形態で用いられている払出制御用CPU371は、マスク不能割込(NMI)を発生させるために使用されるマスク不能割込端子(NMI端子)と、マスク可能割込を発生させるために使用される割込端子(INT端子)とを有する。しかし、この実施の形態では、マスク不能割込および外部割込を使用しない。そこで、NMI端子およびINT端子を、抵抗を介してVcc(+5V)にプルアップしておく。
The
また、この実施の形態では、カードユニット50が遊技機とは別体として遊技機に隣接して設置されている場合を例にするが、カードユニット50は遊技機と一体化されていてもよい。また、コイン投入に応じてその金額に応じた遊技球が貸し出されるような場合でも本発明を適用できる。
In this embodiment, the case where the
図6は、演出制御基板80、ランプドライバ基板35および音声制御基板70の回路構成例を示すブロック図である。なお、ランプドライバ基板35および音声制御基板70には、マイクロコンピュータは搭載されていない。演出制御基板80において、演出制御用マイクロコンピュータ(電気部品制御用マイクロコンピュータの一例)における演出制御用CPU101は、ROM(図示せず)に格納されたプログラムに従って動作し、主基板31からのストローブ信号(図柄制御INT信号)に応じて、入力ドライバ102および入力ポート103を介して図柄制御コマンドを受信する。また、演出制御用CPU101は、図柄制御コマンドにもとづいて、VDP(ビデオディスプレイプロセッサ)109に、LCDを用いた可変表示装置9の表示制御を行わせる。VDP109は、GCL(グラフィックコントローラLSI)と呼ばれることもある。
FIG. 6 is a block diagram illustrating a circuit configuration example of the
さらに、演出制御用CPU101は、出力ポート104および出力ドライバ110を介して音声制御基板70に対して音番号データを出力する。また、演出制御用CPU101に入出力するバス(アドレスバス、データバス、および書込/読出信号等の制御信号ラインを含む)はバスドライバ105を介してランプドライバ基板35まで延長されている。
Further, the
ランプドライバ基板35において、演出制御用CPU101に入出力するバスは、バスレシーバ351を介して出力ポート352および拡張ポート353に接続される。出力ポート352から出力される各ランプを駆動する信号は、ランプドライバ354で増幅され各ランプに供給される。また、出力ポート352から出力される各LEDを駆動する信号は、LED駆動回路355で増幅され各LEDに供給される。そして、演出用駆動手段61を駆動する信号は、駆動回路356で増幅され各ランプに供給される。
In the
この実施の形態では、遊技機に設けられているランプ・LEDおよび演出用駆動手段は、演出制御基板80に搭載されている演出用CPU101を含む演出制御手段によって制御される。また、可変表示装置9、普通図柄表示器10およびランプ・LED等を制御するためのデータがROMに格納されている。演出用CPU101は、ROMに格納されているデータにもとづいて可変表示装置9、普通図柄表示器10およびランプ・LED等を制御する。そして、ランプドライバ基板35に搭載されている出力ポート352および各駆動回路を介して、ランプ・LEDおよび演出用駆動手段が駆動される。従って、機種変更を行う際に、ランプドライバ基板35についてポート数を変更する等の設計変更を行う必要はあるが、演出制御基板80については、プログラムを格納するROMを交換するだけでよく回路の設計変更を行う必要はない。
In this embodiment, lamps / LEDs and effect driving means provided in the gaming machine are controlled by effect control means including
なお、演出制御基板80、ランプドライバ基板35および音声制御基板70は独立した基板であるが、それらは、例えば、遊技機裏面において、1つのボックスに収容された状態で設置される。また、拡張ポート353は、機種変更を行う場合に、ランプ・LED等の数が増加した場合を考慮して設置されるが、設置されていなくてもよい。演出用の可動部材等が存在しない場合には駆動回路356は設けられなくてもよいが、機種変更を行う場合に、演出用の可動部材等が設置された場合を考慮すると、演出用の可動部材等が存在しない場合にも設けられていることが好ましい。
Although the
音声制御基板70において、演出制御基板80からの音番号データは、入力ドライバ702を介して、例えばデジタルシグナルプロセッサによる音声合成用IC703に入力される。音声合成用IC703は、音番号データに応じたデータを音声データ基板70Aに搭載されている音声データROM704から読み出し、読み出したデータに応じた音声や効果音を発生し増幅回路705に出力する。増幅回路705は、音声合成用IC703の出力レベルを、ボリューム706で設定されている音量に応じたレベルに増幅した音声信号をスピーカ27に出力する。なお、この実施の形態では、音声データROM704が、音声制御基板70とは別の基板である音声データ基板70Aに搭載されているが、音声データROM704は、音声制御基板70に搭載されていてもよい。その場合には、音声データ基板70Aは不要である。
In the
音声データROM704に格納されている音番号データに応じたデータは、所定期間(例えば特別図柄の変動期間)における効果音または音声の出力態様を時系列的に示すデータの集まりである。音声合成用IC703は、音番号データを入力すると、音声データROM704内の対応するデータに従って音出力制御を行う。対応するデータに従った音出力制御は、次の音番号データを入力するまで継続される。そして、音声合成用IC703は、次の音番号データを入力すると、新た入力した音番号データに対応した音声データROM704内のデータに従って音出力制御を行う。
The data corresponding to the sound number data stored in the
この実施の形態では、スピーカ27から出力される音声や効果音は演出制御用CPU101を含む演出制御手段によって制御されるのであるが、演出制御手段は、音声制御基板70に音番号データを出力する。音声制御基板70において、音声データROM704には、遊技の進行に伴って出現しうる音声や効果音を実現するための多数のデータが格納され、それらのデータは音番号データに対応付けられている。従って、演出制御手段は、音番号データを出力するだけで音出力制御を実現することができる。なお、音番号データは例えば1バイトデータであり、シリアル信号線またはパラレル信号線によって音声制御基板70に転送される。
In this embodiment, the sound and sound output from the
次に、電源基板910の構成を図7のブロック図を参照して説明する。電源基板910には、遊技機内の各電気部品制御基板や機構部品への電力供給を実行または遮断するための電源スイッチ914が設けられている。なお、電源スイッチ914は、遊技機において、電源基板910の外に設けられていてもよい。電源スイッチ914が閉状態(オン状態)では、交流電源(AC24V)がトランス911の入力側(一次側)に印加される。トランス911は、交流電源(AC24V)と電源基板910の内部とを電気的に絶縁するためのものであるが、その出力電圧もAC24Vである。また、トランス911の入力側には、過電圧保護回路としてのバリスタ918が設置されている。
Next, the configuration of the
電源基板910は、電気部品制御基板(主基板31、払出制御基板37および演出制御基板80)と独立して設置され、遊技機内の各基板および機構部品が使用する電圧を生成する。この例では、AC24V、VSL(DC+30V)、VLP(DC+24V)、VDD(DC+12V)およびVCC(DC+5V)を生成する。また、バックアップ電源(VBB)すなわちバックアップRAMに記憶内容を保持させるための記憶保持手段となるコンデンサ916は、DC+5V(VCC)すなわち各基板上のIC等を駆動する電源のラインから充電される。また、+5Vラインとバックアップ+5V(VBB)ラインとの間に、逆流防止用のダイオード917が挿入される。なお、VSLは、整流平滑回路915において、整流素子でAC24Vを整流昇圧することによって生成される。VSLは、ソレノイド駆動電源となる。また、VLPは、ランプ点灯用の電圧であって、整流回路912において、整流素子でAC24Vを整流することによって生成される。
The
電源電圧生成手段としてのDC−DCコンバータ913は、1つまたは複数のレギュレータIC(図7では2つのレギュレータIC924A,924Bを示す。)を有し、VSLにもとづいてVDDおよびVCCを生成する。レギュレータIC(スイッチングレギュレータ)924A,924Bの入力側には、比較的大容量のコンデンサ923A,923Bが接続されている。従って、外部からの遊技機に対する電力供給が停止したときに、VSL、VDD、VCC等の直流電圧は、比較的緩やかに低下する。
The DC-
図7に示すように、トランス911から出力されたAC24Vは、そのままコネクタ922Bに供給される。また、VLPは、コネクタ922Cに供給される。VCC、VDDおよびVSLは、コネクタ922A,922B,922Cに供給される。
As shown in FIG. 7, AC24V output from the transformer 911 is supplied to the connector 922B as it is. The VLP is supplied to the connector 922C. VCC, VDD and VSL are supplied to
コネクタ922Aに接続されるケーブルは、主基板31に接続される。また、コネクタ922Bに接続されるケーブルは、払出制御基板37に接続される。従って、コネクタ922A,922Bには、VBBも供給されている。そして、コネクタ922Cに接続されるケーブルは、ランプドライバ基板36に接続される。なお、演出制御基板80には、ランプドライバ基板36を経由して各電圧が供給される。
The cable connected to the
また、電源基板910には、押しボタン構造のクリアスイッチ921が搭載されている。クリアスイッチ921が押下されるとローレベル(オン状態)のクリアスイッチ信号が出力され、コネクタ922A,922Bを介して主基板31および払出制御基板37に送信される。また、クリアスイッチ921が押下されていなければハイレベル(オフ状態)の信号が出力される。なお、クリアスイッチ921は、押しボタン構造以外の他の構成であってもよい。また、クリアスイッチ921は、遊技機において、電源基板910以外に設けられていてもよい。
In addition, a
さらに、電源基板910には、電気部品制御基板に搭載されているマイクロコンピュータに対するリセット信号を作成するとともに、電源断信号を出力する電源監視回路920と、電源監視回路920からのリセット信号を増幅してコネクタ922A,922B,922Cに出力するとともに、電源断信号を増幅してコネクタ922A,922Bに出力する出力ドライバ回路925が搭載されている。なお、演出制御用マイクロコンピュータに対するリセット信号は、ランプドライバ基板36を経由して演出制御基板80に伝達される。
Further, the
電源監視回路920は電源断信号を出力する電源監視手段とリセット信号を生成するリセット信号生成手段とを実現する回路であるが、電源監視回路920として、市販の停電監視リセットモジュールICを使用することができる。電源監視回路920は、遊技機において用いられる所定電圧(例えば+24V)が所定値(例えば+5V)以下になった期間が、あらかじめ決められている時間(例えば56ms)以上継続すると電源断信号を出力する。具体的には、電源断信号をオン状態(ローレベル)にする。また、電源監視回路920は、例えば、VCCが+4.5V以下になると、リセット信号をローレベルにすることが可能な状態になる。
The power
電源監視回路920は、遊技機に対する電力供給が停止する際には、電源断信号を出力(ローレベルにする)してから所定期間が経過したことを条件にリセット信号をローレベルにする。所定期間は、主基板31および払出制御基板37に搭載されているマイクロコンピュータが、後述する電源断処理を実行するのに十分な時間である。また、遊技機に対する電力供給が開始され、VCCが例えば+4.5Vを越えるとリセット信号をハイレベルにするのであるが、その場合に、電源断信号が出力されなくなってから(ハイレベルにしてから)所定期間が経過したことを条件にリセット信号をハイレベルにする。従って、リセット信号がハイレベルになったことに応じて各電気部品制御基板(主基板31を含む)に搭載されているマイクロコンピュータがプログラムに従って制御を開始するときに、電源断信号は必ずオフ状態になっている。
When the power supply to the gaming machine is stopped, the power
電源監視回路920からの電源断信号すなわち電源監視手段からの検出信号は、主基板31において、入力ポート572を介してCPU56に入力される。従って、CPU56は、入力ポート572の入力信号を監視することによって遊技機への電力供給の停止の発生を確認することができる。また、電源監視回路920からの電源断信号は、払出制御基板37において、入力ポート372gを介して払出制御用CPU371に入力される(図5参照)。従って、払出制御用CPU371は、入力ポート372gの入力信号を監視することによって遊技機への電力供給の停止の発生を確認することができる。
A power-off signal from the
なお、この実施の形態では、電源監視手段が所定電位の電源の出力を監視し、外部から遊技機に供給される電力の供給停止に関わる検出条件として、遊技機の外部からの電圧(この実施の形態ではAC24V)から作成された所定の直流電圧が所定値以下になったことを用いたが、検出条件は、それに限られず、外部のからの電力が途絶えたことを検出できるのであれば、他の条件を用いてもよい。例えば、交流波そのものを監視して交流波が途絶えたことを検出条件としてもよいし、交流波をディジタル化した信号を監視して、ディジタル信号が平坦になったことをもって交流波が途絶えたことを検出条件としてもよい。 In this embodiment, the power supply monitoring means monitors the output of the power supply of a predetermined potential, and the voltage from the outside of the gaming machine (this implementation) In this embodiment, it is used that the predetermined DC voltage created from AC24V) is lower than the predetermined value. However, the detection condition is not limited to this. Other conditions may be used. For example, the AC wave itself may be monitored and the AC wave may be detected as a detection condition, or the signal obtained by digitizing the AC wave may be monitored and the AC signal may be stopped when the digital signal becomes flat. May be used as a detection condition.
図8および図9は、遊技制御手段における出力ポートの割り当ての例を示す説明図である。図8に示すように、出力ポート0は払出制御基板37に送信される払出制御信号の出力ポートである。また、演出制御基板80に送信される図柄制御コマンドの8ビットのデータは出力ポート1から出力される。
8 and 9 are explanatory diagrams showing examples of output port assignment in the game control means. As shown in FIG. 8, the
また、出力ポート2から、大入賞口の開閉板2を開閉するためのソレノイド(大入賞口扉ソレノイド)21、大入賞口内の経路を切り換えるためのソレノイド(大入賞口内誘導板ソレノイド)21Aおよび可変入賞球装置15を開閉するためのソレノイド(普通電動役物ソレノイド)16に対する駆動信号が出力される。さらに、演出制御基板80に送信される図柄制御コマンドについての図柄制御INT信号(ストローブ信号)も出力される。図柄制御INT信号は、図柄制御コマンドの8ビットのデータを取り込むことを演出制御手段に指令するための信号である。
Further, from the
そして、出力ポート3,4から、情報出力回路64を介して情報端子板34やターミナル基板160に至る各種情報出力用信号すなわち制御に関わる情報の出力データが出力される。
Then, various information output signals from the
図10は、遊技制御手段におけるにおける入力ポートのビット割り当ての例を示す説明図である。図10に示すように、入力ポート0のビット0〜7には、それぞれ、Vカウントスイッチ22、カウントスイッチ23、ゲートスイッチ32a入賞口スイッチ33a、24a,29a,30a、始動口スイッチ14aの検出信号が入力される。また、入力ポート1のビット0〜3には、それぞれ、電源監視基板910からの電源断信号、電源基板910からのクリアスイッチ921の検出信号、払出制御基板37からの賞球BUSY信号、スイッチコモン監視信号が入力される。なお、各スイッチからの検出信号および賞球BUSY信号は、入力ドライバ回路58において論理反転されている。
FIG. 10 is an explanatory diagram showing an example of bit assignment of input ports in the game control means. As shown in FIG. 10, the detection signals of the
次に遊技機の動作について説明する。図11および図12は、主基板31における遊技制御手段が実行するメイン処理を示すフローチャートである。遊技機に対して電源が投入され、リセット信号が入力されるリセット端子の入力レベルがハイレベルになると、CPU56は、プログラムの内容が正当か否かを確認するための処理であるセキュリティチェック処理を実行した後、ステップS1以降のメイン処理を開始する。メイン処理において、CPU56は、まず、必要な初期設定を行う。
Next, the operation of the gaming machine will be described. 11 and 12 are flowcharts showing main processing executed by the game control means on the
初期設定処理において、CPU56は、まず、割込禁止に設定する(ステップS1)。次に、割込モードを割込モード2に設定し(ステップS2)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS3)。そして、内蔵デバイスレジスタの初期化を行う(ステップS4)。 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).
次いで、遊技の進行を制御する遊技装置制御処理(遊技制御処理)の開始タイミングをソフトウェアで遅らせるためのソフトウェア遅延処理を実行する。具体的には、まず、ウェイトカウンタ1に、初期化ウェイト回数指定値1をセットする(ステップS81)。また、ウェイトカウンタ2に、初期化ウェイト回数指定値2をセットする(ステップS82)。なお、ウェイトカウンタ1,2として、CPU56が内蔵する汎用のレジスタが用いられる。そして、ウェイトカウンタ2の値が0になるまでウェイトカウンタ2の値を1ずつ減算する(ステップS83,S84)。ウェイトカウンタ2の値が0になったらウェイトカウンタ1の値を1減算し(ステップS85)、ウェイトカウンタ1の値が0になっていなければ(ステップS86)、ステップS82に戻る。ウェイトカウンタ1の値が0になっていれば、ソフトウェア遅延処理を終了する。
Next, a software delay process for delaying the start timing of the game device control process (game control process) for controlling the progress of the game by software is executed. Specifically, first, the initialization wait
以上のようなソフトウェア遅延処理によって、ほぼ、[(初期化ウェイト回数指定値1)×(初期化ウェイト回数指定値2)×(ステップS83,S84の処理時間)]だけ、ソフトウェア遅延処理を実行しない場合に比べて、遊技制御処理の開始タイミングを遅延させることができる。換言すれば、所望の時間だけ遊技制御処理の開始タイミングを遅延させることができるように、初期化ウェイト回数指定値1,2の値が決定される。なお、初期化ウェイト回数指定値1,2の値は、ROM54に設定されている。また、ここで説明したソフトウェア遅延処理は一例であって、他の方法によってソフトウェア遅延処理を実現してもよい。また、CPU56は、ステップS81,S82でセットされるウェイトカウンタ1およびウェイトカウンタ2の値を入力する手段を備えていてもよい。ウェイトカウンタ1およびウェイトカウンタ2は、遅延時間の長さを定めるパラメータである。従って、ウェイトカウンタ1およびウェイトカウンタ2の値を入力する手段を備えていれば、遅延時間の設定に関する汎用性を向上させることができる。
By the software delay process as described above, the software delay process is not executed substantially by [(initialization wait number specification value 1) × (initialization wait number specification value 2) × (processing time of steps S83 and S84)]. Compared to the case, the start timing of the game control process can be delayed. In other words, the initialization weight count designation values 1 and 2 are determined so that the start timing of the game control process can be delayed by a desired time. Note that the values of the initialization wait times designation values 1 and 2 are set in the
ソフトウェア遅延処理を終了すると、内蔵デバイス(内蔵周辺回路)であるCTC(カウンタ/タイマ)およびPIO(パラレル入出力ポート)の初期化(ステップS5)を行った後、RAM55をアクセス可能状態に設定する(ステップS6)。 When the software delay processing ends, the CTC (counter / timer) and PIO (parallel input / output port), which are built-in devices (built-in peripheral circuits), are initialized (step S5), and then the RAM 55 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
割込モード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
次いで、CPU56は、入力ポート1を介して入力されるクリアスイッチ921の出力信号の状態を1回だけ確認する(ステップS7)。その確認においてオンを検出した場合には、CPU56は、通常の初期化処理を実行する(ステップS10〜ステップS15)。クリアスイッチ921がオンである場合(押下されている場合)には、ローレベルのクリアスイッチ信号が出力されている。なお、入力ポート1では、クリアスイッチ信号のオン状態はハイレベルである。また、例えば、遊技店員は、クリアスイッチ921をオン状態にしながら遊技機に対する電力供給を開始する(例えば電源スイッチ914をオンする)ことによって、容易に初期化処理を実行させることができる。すなわち、RAMクリア等を行うことができる。
Next, the CPU 56 confirms the state of the output signal of the
クリアスイッチ921がオンの状態でない場合には、遊技機への電力供給が停止したときにバックアップRAM領域のデータ保護処理(例えばパリティデータの付加等の電力供給停止時処理)が行われたか否か確認する(ステップS8)。この実施の形態では、電力供給の停止が生じた場合には、バックアップRAM領域のデータを保護するための処理が行われている。そのような保護処理が行われていたことを確認した場合には、CPU56はバックアップありと判定する。そのような保護処理が行われていないことを確認した場合には、CPU56は初期化処理を実行する。
If the
保護処理が行われていたか否かは、後述する電力供給停止時処理においてバックアップRAM領域に保存されるバックアップ監視タイマの値が、バックアップRAM領域のデータ保護処理を実行したことに応じた値(例えば2)になっているか否かによって確認される。なお、そのような確認の仕方は一例であって、例えば、電力供給停止時処理においてバックアップフラグ領域にデータ保護処理を実行したことを示すフラグをセットし、ステップS8において、そのフラグがセットされていることを確認したらバックアップありと判定してもよい。 Whether or not the protection process has been performed depends on the value of the backup monitoring timer stored in the backup RAM area in the power supply stop process described later according to the execution of the data protection process in the backup RAM area (for example, It is confirmed by whether or not 2). Note that such a confirmation method is merely an example. For example, a flag indicating that the data protection process has been executed is set in the backup flag area in the power supply stop process, and the flag is set in step S8. If it is confirmed that there is a backup, it may be determined that there is a backup.
バックアップありと判定したら、CPU56は、バックアップRAM領域のデータチェック(この例ではパリティチェック)を行う(ステップS9)。この実施の形態では、クリアデータ(00)をチェックサムデータエリアにセットし、チェックサム算出開始アドレスをポインタにセットする。また、チェックサムの対象となるデータ数に対応するチェックサム算出回数をセットする。そして、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する。演算結果をチェックサムデータエリアにストアするとともに、ポインタの値を1増やし、チェックサム算出回数の値を1減算する。以上の処理が、チェックサム算出回数の値が0になるまで繰り返される。チェックサム算出回数の値が0になったら、CPU56は、チェックサムデータエリアの内容の各ビットの値を反転し、反転後のデータをチェックサムとする。 If it is determined 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領域のデータが、電力供給停止時のデータとは異なっていることを意味する。そのような場合には、内部状態を電力供給停止時の状態に戻すことができないので、電力供給の停止からの復旧時でない電源投入時に実行される初期化処理(ステップS10〜S15の処理)を実行する。 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, the initialization process (the processes of steps S10 to S15) executed when the power is turned on, not when the power supply is stopped. Execute.
チェック結果が正常であれば、CPU56は、遊技制御手段の内部状態と表示制御手段等の電気部品制御手段の制御状態を電力供給停止時の状態に戻すための遊技状態復旧処理を行う。具体的には、ROM54に格納されているバックアップ時設定テーブルの先頭アドレスをポインタに設定し(ステップS91)、バックアップ時設定テーブルの内容を順次作業領域(RAM55内の領域)に設定する(ステップS92)。作業領域はバックアップ電源によって電源バックアップされている。バックアップ時設定テーブルには、作業領域のうち初期化してもよい領域についての初期化データが設定されている。ステップS91およびS92の処理によって、作業領域のうち初期化してはならない部分については、保存されていた内容がそのまま残る。初期化してはならない部分とは、例えば、電力供給停止前の遊技状態を示すデータ(特別図柄プロセスフラグなど)や未払出賞球数を示すデータが設定されている部分である。
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. Specifically, the start address of the backup setting table stored in the
また、CPU56は、ROM54に格納されているバックアップ時コマンド送信テーブルの先頭アドレスをポインタに設定し(ステップS93)、その内容に従ってサブ基板(払出制御基板37および演出制御基板80)に、電力供給が復旧した旨を示す制御コマンドが送信されるように制御する(ステップS94)。そして、ステップS15に移行する。
Further, the CPU 56 sets the start address of the backup command transmission table stored in the
初期化処理では、CPU56は、まず、RAMクリア処理を行う(ステップS10)。なお、RAM55の全領域を初期化せず、所定のデータ(例えば大当り判定用乱数を生成するためのカウンタのカウント値のデータ)をそのままにしてもよい。例えば、大当り判定用乱数を生成するためのカウンタのカウント値のデータをそのままにした場合には、不正な手段によって初期化処理が実行される状態になったとしても、大当り判定用乱数を生成するためのカウンタのカウント値が大当り判定値に一致するタイミングを狙うことは困難である。また、ROM54に格納されている初期化時設定テーブルの先頭アドレスをポインタに設定し(ステップS11)、初期化時設定テーブルの内容を順次作業領域に設定する(ステップS12)。ステップS11およびS12の処理によって、例えば、普通図柄判定用乱数カウンタ、普通図柄判定用バッファ、特別図柄左中右図柄バッファ、総賞球数格納バッファ、特別図柄プロセスフラグ、賞球中フラグ、球切れフラグ、払出停止フラグなど制御状態に応じて選択的に処理を行うためのフラグに初期値が設定される。
In the initialization process, the CPU 56 first performs a RAM clear process (step S10). The entire area of the RAM 55 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. Further, the start address of the initialization setting table stored in the
また、CPU56は、CPU56は、ROM54に格納されている初期化時コマンド送信テーブルの先頭アドレスをポインタに設定し(ステップS13)、その内容に従ってサブ基板を初期化するための初期化コマンドをサブ基板に送信する処理を実行する(ステップS14)。初期化コマンドとして、可変表示装置9に表示される初期図柄を示すコマンド等がある。
In addition, the CPU 56 sets the initial address of the initialization command transmission table stored in the
そして、ステップS15において、CPU56は、所定時間(例えば4ms)毎に定期的にタイマ割込がかかるようにCPU56に内蔵されているCTCのレジスタの設定を行なう。すなわち、初期値として例えば4msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。この実施の形態では、4ms毎に定期的にタイマ割込がかかるとする。 In step S15, the CPU 56 sets a CTC register built in the CPU 56 so that a timer interrupt is periodically generated every predetermined time (for example, 4 ms). That is, a value corresponding to, for example, 4 ms is set as an initial value in a predetermined register (time constant register). In this embodiment, it is assumed that a timer interrupt is periodically taken every 4 ms.
初期化処理の実行(ステップS10〜S15)が完了すると、CPU56は、表示用乱数更新処理(ステップS17)および初期値用乱数更新処理(ステップS18)を繰り返し実行する。CPU56は、表示用乱数更新処理および初期値用乱数更新処理が実行されるときには割込禁止状態にして(ステップS16)、表示用乱数更新処理および初期値用乱数更新処理の実行が終了すると割込許可状態にする(ステップS19)。なお、表示用乱数とは、可変表示装置9に表示される図柄を決定するための乱数であり、表示用乱数更新処理とは、表示用乱数を発生するためのカウンタのカウント値を更新する処理である。また、初期値用乱数更新処理とは、初期値用乱数を発生するためのカウンタのカウント値を更新する処理である。初期値用乱数とは、大当りとするか否かを決定するための乱数を発生するためのカウンタ(大当り決定用乱数発生カウンタ)等のカウント値の初期値を決定するための乱数である。後述する遊技制御処理(遊技制御用マイクロコンピュータが、遊技機に設けられている可変表示装置9、可変入賞球装置、球払出装置等の遊技用の装置を、自身で制御する処理、または他のマイクロコンピュータに制御させるために指令信号を送信する処理、遊技装置制御処理ともいう)において、大当り決定用乱数発生カウンタのカウント値が1周すると、そのカウンタに初期値が設定される。
When the execution of the initialization process (steps S10 to S15) is completed, the CPU 56 repeatedly executes the display random number update process (step S17) and the initial value random number update process (step S18). The CPU 56 disables the interrupt when the display random number update process and the initial value random number update process are executed (step S16), and interrupts when the display random number update process and the initial value random number update process are finished. The permission state is set (step S19). The display random number is a random number for determining a symbol displayed on the
なお、表示用乱数更新処理および初期値用乱数更新処理が実行されるときに割込禁止状態にされるのは、表示用乱数更新処理および初期値用乱数更新処理が後述するタイマ割込処理でも実行されることから、タイマ割込処理における処理と競合してしまうのを避けるためである。すなわち、ステップS17,S18の処理中にタイマ割込が発生してタイマ割込処理中で表示用乱数や初期値用乱数を発生するためのカウンタのカウント値を更新してしまったのでは、カウント値の連続性が損なわれる場合がある。しかし、ステップS17,S18の処理中では割込禁止状態にしておけば、そのような不都合が生ずることはない。 Note that when the display random number update process and the initial value random number update process are executed, the interrupt disabled state is caused by the timer interrupt process described later. This is to avoid conflict with the processing in the timer interrupt processing. That is, if a timer interrupt is generated during the processing of steps S17 and S18 and the count value of the counter for generating the display random number and the initial value random number is updated during the timer interrupt processing, The continuity of values may be impaired. However, such an inconvenience does not occur if the interrupt disabled state is set during the processes of steps S17 and S18.
図13は、遊技機に対して電力供給が開始されたとき、および電力供給が停止したときのマイクロコンピュータの動作の様子を示すタイミング図である。遊技機に対して電力供給が開始されDC+24V電源の電圧が所定値を越えると、電源断信号がオフ状態になる。また、VCCの値が所定値を越えるとリセット信号がハイレベルになる。なお、上述したように、電源監視回路920は、電源断信号をオフ状態にしてからリセット信号をハイレベルにする。リセット信号は、主基板31および払出制御基板37に入力され、ランプドライバ基板36を介して演出制御基板80に入力する。そして、払出制御基板37に搭載されている払出制御用CPU371および演出制御基板80に搭載されている演出制御用CPU101のリセット端子に入力される。払出制御用CPU371および演出制御用CPU101は、リセット信号がハイレベルになると動作可能状態になる。動作可能状態になると、まず、初期化処理を実行し、その後、演出制御処理や払出制御処理を開始する。
FIG. 13 is a timing chart showing the behavior of the microcomputer when power supply to the gaming machine is started and when power supply is stopped. When power supply to the gaming machine is started and the voltage of the DC + 24V power supply exceeds a predetermined value, the power-off signal is turned off. When the value of VCC exceeds a predetermined value, the reset signal becomes high level. As described above, the power
主基板31に入力されたリセット信号は、遅延回路69で遅延されてからCPU56のリセット端子に入力する。従って、CPU56が動作可能状態になる時点は、サブ基板のCPUが動作可能になる時点よりも遅い。また、CPU56は、動作可能状態になるとセキュリティチェックプログラムにもとづいてセキュリティチェック処理を実行する。そして、セキュリティチェック処理を終了すると、ソフトウェア遅延処理を実行した後、初期化処理および遊技制御処理を開始する、
The reset signal input to the
上述したように、CPU56は、初期化処理においてサブ基板のCPUに対してコマンド(指令信号)を送信する処理を行う。遅延回路69による遅延(ハードウェア回路による遅延)およびセキュリティチェック処理の実行によって、CPU56が初期化処理を開始する時点では、サブ基板のCPUが初期化処理を完了する時点よりも遅くなっている。すなわち、セキュリティチェック処理の実行時間はCPU56に供給されるクロック信号の周波数に応じて決まっているので、CPU56が初期化処理を開始する時点がサブ基板のCPUが初期化処理を完了する時点よりも遅くなるように、遅延回路69の遅延量が設定されている。 As described above, the CPU 56 performs a process of transmitting a command (command signal) to the CPU of the sub board in the initialization process. Due to the delay by the delay circuit 69 (delay by the hardware circuit) and the execution of the security check process, the time when the CPU 56 starts the initialization process is later than the time when the CPU of the sub-board completes the initialization process. That is, since the execution time of the security check process is determined according to the frequency of the clock signal supplied to the CPU 56, the time when the CPU 56 starts the initialization process is more than the time when the CPU of the sub-board completes the initialization process. The delay amount of the delay circuit 69 is set so as to be delayed.
また、この実施の形態では、CPU56が初期化処理を開始する前に、ソフトウェア遅延処理も実行される。従って、CPU56が初期化処理を開始する時点がサブ基板のCPUが初期化処理を完了する時点よりも遅くなることがより確実になる。また、例えば、サブ基板のCPUを動作の遅い安価なCPUに変更したような場合(すなわち、サブ基板のCPUが初期化処理を完了する時点が遅くなる場合)には、遅延回路69の遅延量を長くしないと、CPU56が初期化処理を開始する時点がサブ基板のCPUが初期化処理を完了する時点よりも早くなってしまうことも考えられる。しかし、この実施の形態のように、ソフトウェア遅延処理を実行するように構成しておけば、CPU56が初期化処理を開始する時点が、セキュリティチェック処理の実行時間と遅延回路69による遅延時間に対してさらにソフトウェア遅延処理による時間も加わった時間だけ遅延するので、サブ基板のCPUが初期化処理を完了する時点が遅くなっても、遅延回路69の構成を変更せずに、CPU56が初期化処理を開始する時点がサブ基板のCPUが初期化処理を完了する時点よりも早くなってしまうことを防止できる。 In this embodiment, software delay processing is also executed before the CPU 56 starts initialization processing. Therefore, it is more certain that the time when the CPU 56 starts the initialization process is later than the time when the CPU of the sub-board completes the initialization process. Further, for example, when the CPU of the sub board is changed to an inexpensive CPU having a slow operation (that is, when the CPU of the sub board completes the initialization process is delayed), the delay amount of the delay circuit 69 Otherwise, the time when the CPU 56 starts the initialization process may be earlier than the time when the CPU of the sub-board completes the initialization process. However, if it is configured to execute software delay processing as in this embodiment, the time when the CPU 56 starts initialization processing is relative to the execution time of the security check processing and the delay time by the delay circuit 69. Further, since the time of the software delay process is added, the CPU 56 delays the initialization process without changing the configuration of the delay circuit 69 even when the CPU of the sub-board completes the initialization process. It is possible to prevent the time at which the CPU starts from being earlier than the time at which the CPU of the sub-board completes the initialization process.
遊技機に対する電力供給が停止すると、DC+24V電源の電圧も徐々に低下するのであるが、電源監視回路920は、DC+24V電源の電圧が所定値を下回ると、電源断信号を出力する(ローレベルにする)。電源断信号は、主基板31および払出制御基板37に入力されている。主基板31に搭載されている遊技制御手段および払出制御基板37に搭載されている払出制御手段は、電源断信号が出力されたことに応じて、電力供給停止時処理(電源断時制御処理ともいう。)を実行する。そして、電源監視回路920は、VCCが所定値を下回ると、リセット信号をローレベルにする。主基板31に搭載されている遊技制御手段および払出制御基板37に搭載されている払出制御手段は、リセット信号がローレベルになったことに応じてシステムリセットされる。すなわち、CPU56および払出制御用CPU371は、動作しない状態になる。なお、電源監視回路920は、電源電圧が低下していくときに、電源断信号を出力した時点から、所定時間が経過すると、リセット信号をローレベルにする。
When the power supply to the gaming machine is stopped, the voltage of the DC + 24V power supply also gradually decreases. However, when the voltage of the DC + 24V power supply falls below a predetermined value, the power
次に、遊技制御処理について説明する。図14は、タイマ割込処理を示すフローチャートである。メイン処理に実行中に、具体的には、ステップS16〜S19のループ処理の実行中に、タイマ割込が発生すると、CPU56は、タイマ割込の発生に応じて起動されるタイマ割込処理において遊技制御処理を実行する。タイマ割込処理において、CPU56は、まず、電源断信号が出力されたか否か(オン状態になったか否か)を検出する電源断処理(電源断検出処理)を実行する(ステップS20)。次いで、スイッチ回路58を介して、ゲートスイッチ32a、始動口スイッチ14a、カウントスイッチ23および入賞口スイッチ29a,30a,33a,39a等のスイッチの検出信号を入力し、それらの状態判定を行う(スイッチ処理:ステップS21)。具体的には、各スイッチの検出信号を入力する入力ポートの状態がオン状態であれば、各スイッチに対応して設けられているスイッチタイマの値を+1する。また、スイッチコモン監視信号にもとづいて所定の報知処理を行う短絡報知処理を実行する(ステップS22)。
Next, the game control process will be described. FIG. 14 is a flowchart showing the timer interrupt process. When a timer interrupt occurs during execution of the main process, specifically, during execution of the loop process of steps S16 to S19, the CPU 56 performs a timer interrupt process that is started in response to the occurrence of the timer interrupt. A game control process is executed. In the timer interrupt process, the CPU 56 first executes a power-off process (power-off detection process) for detecting whether or not a power-off signal is output (whether the power-off signal is turned on) (step S20). Subsequently, detection signals of switches such as the
次に、遊技制御に用いられる大当り判定用の乱数等の各判定用乱数を生成するための各カウンタのカウント値を更新する処理を行う(ステップ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
次いで、CPU56は、特別図柄に関する図柄制御コマンドをRAM55の所定の領域に設定して図柄制御コマンドを送出する処理を行う(特別図柄コマンド制御処理:ステップS28)。また、普通図柄に関する図柄制御コマンドをRAM55の所定の領域に設定して図柄制御コマンドを送出する処理を行う(普通図柄コマンド制御処理:ステップS29)。 Next, the CPU 56 performs a process of setting a symbol control command related to the special symbol in a predetermined area of the RAM 55 and sending the symbol control command (special symbol command control process: step S28). Further, the symbol control command related to the normal symbol is set in a predetermined area of the RAM 55, and the symbol control command is transmitted (normal symbol command control processing: 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は、入賞口スイッチ29a,30a,33a,39a等の検出信号にもとづく賞球個数の設定などを行う賞球処理を実行する(ステップS31)。具体的には、入賞口スイッチ29a,30a,33a,39a等がオンしたことにもとづく入賞検出に応じて、払出制御基板37に賞球個数を示す賞球制御信号等の払出制御信号を出力する。払出制御基板37に搭載されている払出制御用CPU371は、賞球個数を示す賞球制御信号等の払出制御信号に応じて球払出装置97を駆動する。
Further, the CPU 56 executes prize ball processing for setting the number of prize balls based on the detection signals from the
そして、CPU56は、始動入賞記憶数の増減をチェックする記憶処理を実行する(ステップS32)。また、遊技機の制御状態を遊技機外部で確認できるようにするための試験信号を出力する処理である試験端子処理を実行する(ステップS33)。また、この実施の形態では、出力ポートの出力状態に対応したRAM領域(出力ポートバッファ)が設けられているのであるが、CPU56は、出力ポート3のRAM領域におけるソレノイドに関する内容(図8参照)を出力ポートに出力する(ステップS34:ソレノイド出力処理)。その後、割込許可状態に設定し(ステップS35)、処理を終了する。 And CPU56 performs the memory | storage process which checks the increase / decrease in the number-of-start winning memory | storage number (step S32). In addition, a test terminal process, which is a process for outputting a test signal for enabling the control state of the gaming machine to be confirmed outside the gaming machine, is executed (step S33). In this embodiment, a RAM area (output port buffer) corresponding to the output state of the output port is provided, but the CPU 56 relates to the solenoid in the RAM area of the output port 3 (see FIG. 8). Is output to the output port (step S34: solenoid output processing). Thereafter, the interrupt permission state is set (step S35), and the process is terminated.
以上の制御によって、この実施の形態では、遊技制御処理は定期的(例えば4ms毎)に起動されることになる。なお、この実施の形態では、タイマ割込処理で遊技制御処理が実行されているが、タイマ割込処理では例えば割込が発生したことを示すフラグのセットのみがなされ、遊技制御処理はメイン処理において実行されるようにしてもよい。また、ステップS21〜S34の処理(ステップS30およびS33を除く)が、遊技の進行を制御する遊技制御処理に相当する。 With the above control, in this embodiment, the game control process is started periodically (for example, every 4 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. Further, the processing of steps S21 to S34 (except for steps S30 and S33) corresponds to a game control process for controlling the progress of the game.
図15および図16は、ステップS20の電源断処理の一例を示すフローチャートである。電源断処理において、CPU56は、まず、電源断信号が出力されているか否か(オン状態になっているか否か)確認する(ステップS450)。オン状態でなければ、RAM55に形成されるバックアップ監視タイマの値を0クリアする(ステップS451)。オン状態であれば、RAM55に形成されるバックアップ監視タイマの値を1増やす(ステップS452)。そして、バックアップ監視タイマの値が判定値(例えば2)と一致すれば(ステップS453)、ステップS454以降の電力供給停止時処理すなわち電力の供給停止のための準備処理を実行する。つまり、遊技の進行を制御する状態から遊技状態を保存させるための電力供給停止時処理(電源断時制御処理)を実行する状態に移行する。 15 and 16 are flowcharts illustrating an example of the power-off process in step S20. In the power-off process, the CPU 56 first checks whether or not a power-off signal is output (whether it is in an on state) (step S450). If not on, the value of the backup monitoring timer formed in the RAM 55 is cleared to 0 (step S451). If it is on, the value of the backup monitoring timer formed in the RAM 55 is incremented by 1 (step S452). If the value of the backup monitoring timer matches the determination value (for example, 2) (step S453), the power supply stop processing after step S454, that is, the preparation processing for power supply stop is executed. That is, the state shifts from the state in which the progress of the game is controlled to the state in which the power supply stop process (the power-off control process) for saving the game state is executed.
バックアップ監視タイマと判定値とを用いることによって、判定値に相当する時間だけ電源断信号のオン状態が継続したら、電力供給停止時処理が開始される。すなわち、ノイズ等で一瞬電源断信号のオン状態が発生しても、誤って電力供給停止時処理が開始されるようなことはない。なお、RAM55に形成されるバックアップ監視タイマの値は、遊技機への電力供給が停止しても、所定期間はバックアップ電源によって保存される。従って、メイン処理におけるステップS8では、バックアップ監視タイマの値が判定値と同じ値になっていることによって、電力供給停止時処理の処理結果が保存されていることを確認できる。 By using the backup monitoring timer and the determination value, if the power-off signal is kept on for a time corresponding to the determination value, the power supply stop process is started. That is, even when the power-off signal is turned on for a moment due to noise or the like, the power supply stop process is not erroneously started. Note that the value of the backup monitoring timer formed in the RAM 55 is stored by the backup power source for a predetermined period even if the power supply to the gaming machine is stopped. Therefore, in step S8 in the main process, it is possible to confirm that the processing result of the power supply stop process is stored because the value of the backup monitoring timer is the same value as the determination value.
電力供給停止時処理において、CPU56は、パリティデータを作成する(ステップS454〜S463)。すなわち、まず、クリアデータ(00)をチェックサムデータエリアにセットし(ステップS454)、電力供給停止時でも内容が保存されるべきRAM領域の先頭アドレスに相当するチェックサム算出開始アドレスをポインタにセットする(ステップS455)。また、電力供給停止時でも内容が保存されるべきRAM領域の最終アドレスに相当するチェックサム算出回数をセットする(ステップS456)。 In the power supply stop process, the CPU 56 creates parity data (steps S454 to S463). That is, first, clear data (00) is set in the checksum data area (step S454), and the checksum calculation start address corresponding to the start address of the RAM area in which the contents are to be stored even when power supply is stopped is set in the pointer. (Step S455). Further, the number of checksum calculations corresponding to the final address of the RAM area where the contents are to be stored even when the power supply is stopped is set (step S456).
次いで、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する(ステップS457)。演算結果をチェックサムデータエリアにストアするとともに(ステップS458)、ポインタの値を1増やし(ステップS459)、チェックサム算出回数の値を1減算する(ステップS460)。そして、ステップS457〜S460の処理を、チェックサム算出回数の値が0になるまで繰り返す(ステップS461)。 Next, an 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 S457). The calculation result is stored in the checksum data area (step S458), the value of the pointer is incremented by 1 (step S459), and the value of the checksum calculation count is decremented by 1 (step S460). Then, the processes in steps S457 to S460 are repeated until the value of the checksum calculation count becomes 0 (step S461).
チェックサム算出回数の値が0になったら、CPU56は、チェックサムデータエリアの内容の各ビットの値を反転する(ステップS462)。そして、反転後のデータをチェックサムデータエリアにストアする(ステップS463)。このデータが、電源投入時にチェックされるパリティデータとなる。次いで、RAMアクセスレジスタにアクセス禁止値を設定する(ステップS471)。以後、内蔵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 S462). Then, the inverted data is stored in the checksum data area (step S463). 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 S471). Thereafter, the built-in RAM 55 cannot be accessed.
さらに、CPU56は、ROM54に格納されているポートクリア設定テーブルの先頭アドレスをポインタにセットする(ステップS472)。ポートクリア設定テーブルにおいて、先頭アドレスには処理数(クリアすべき出力ポートの数)が設定され、次いで、出力ポートのアドレスおよび出力値データ(クリアデータ:出力ポートの各ビットのオフ状態の値)が、処理数分の出力ポートについて順次設定されている。
Further, the CPU 56 sets the head address of the port clear setting table stored in the
CPU56は、ポインタが指すアドレスのデータ(すなわち処理数)をロードする(ステップS473)。また、ポインタの値を1増やし(ステップS474)、ポインタが指すアドレスのデータ(すなわち出力ポートのアドレス)をロードする(ステップS475)。さらに、ポインタの値を1増やし(ステップS476)、ポインタが指すアドレスのデータ(すなわち出力値データ)をロードする(ステップS477)。そして、出力値データを出力ポートに出力する(ステップS478)。その後、処理数を1減らし(ステップS479)、処理数が0でなければステップS474に戻る。処理数が0であれば、すなわち、クリアすべき出力ポートを全てクリアしたら、タイマ割込を停止し(ステップS481)、ループ処理に入る。 The CPU 56 loads data at the address pointed to by the pointer (that is, the number of processes) (step S473). Further, the value of the pointer is incremented by 1 (step S474), and the data at the address pointed to by the pointer (that is, the output port address) is loaded (step S475). Further, the value of the pointer is incremented by 1 (step S476), and the data of the address pointed to by the pointer (that is, output value data) is loaded (step S477). Then, the output value data is output to the output port (step S478). Thereafter, the number of processes is reduced by 1 (step S479), and if the number of processes is not 0, the process returns to step S474. If the number of processes is 0, that is, if all the output ports to be cleared are cleared, the timer interrupt is stopped (step S481) and the loop process is started.
ループ処理では、電源断信号がオフ状態になったか否かを監視する(ステップS482)。電源断信号がオフ状態になった場合には復帰アドレスとして、電源投入時実行アドレス(ステップS1のアドレス)を設定してリターン命令を実行する(ステップS483)。すなわち、メイン処理に戻る。具体的には、遊技機に設けられている遊技用の装置を制御(自身で制御することと、他のマイクロコンピュータに制御させるために指令信号を送信することの双方を含む概念)する状態に戻る。 In the loop processing, it is monitored whether or not the power-off signal is turned off (step S482). When the power-off signal is turned off, the execution address at power-on (address in step S1) is set as a return address and a return command is executed (step S483). That is, the process returns to the main process. Specifically, a state in which a gaming device provided in the gaming machine is controlled (a concept including both controlling by itself and sending a command signal to cause another microcomputer to control). Return.
以上の処理によって、電力供給が停止する場合には、ステップS454〜S481の電力供給停止時処理が実行され、電力供給停止時処理が実行されたことを示すデータ(バックアップあり指定値およびチェックサム)がバックアップRAMへストアされ、RAMアクセスが禁止状態にされ、出力ポートがクリアされ、かつ、遊技制御処理を実行するためのタイマ割込が禁止状態に設定される。 When the power supply is stopped by the above process, the power supply stop process in steps S454 to S481 is executed, and data indicating that the power supply stop process has been executed (specified value with backup and checksum) Is stored in the backup RAM, the RAM access is disabled, the output port is cleared, and the timer interrupt for executing the game control process is disabled.
この実施の形態では、RAM55の全領域がバックアップ電源によって電源バックアップ(遊技機への電力供給が停止しても所定期間はRAM55の内容が保存されこと)されている。従って、ステップS452〜S479の処理によって、バックアップ監視タイマの値とともに、電源断信号が出力されたときのRAM55の内容にもとづくチェックサムもRAM55に保存される。遊技機への電力供給が停止した後、所定期間内に電力供給が復旧したら、遊技制御手段は、上述したステップS91〜S94の処理によって、RAM55に保存されているデータ(電力供給が停止した直前の遊技制御手段による制御状態である遊技状態を示すデータ(例えば、プロセスフラグの状態、大当り中フラグの状態、確変フラグの状態、出力ポートの出力状態等)を含む)に従って、遊技状態を、電力供給が停止した直前の状態に戻すことができる。なお、電力供給停止の期間が所定期間を越えたらバックアップ監視タイマの値とチェックサムとが正規の値とは異なるはずであるから、その場合には、ステップS10〜S14の初期化処理が実行される。 In this embodiment, the entire area of the RAM 55 is backed up by a backup power source (the contents of the RAM 55 are preserved for a predetermined period even when power supply to the gaming machine is stopped). Therefore, the checksum based on the contents of the RAM 55 when the power-off signal is output is stored in the RAM 55 together with the value of the backup monitoring timer by the processing in steps S452 to S479. After the power supply to the gaming machine is stopped, when the power supply is restored within a predetermined period, the game control means performs data stored in the RAM 55 (immediately before the power supply is stopped) by the processing of steps S91 to S94 described above. In accordance with the data indicating the game state that is the control state by the game control means (for example, including the process flag state, the big hit flag state, the probability change flag state, the output port output state, etc.) It is possible to return to the state immediately before the supply is stopped. If the power supply stop period exceeds the predetermined period, the value of the backup monitoring timer and the checksum should be different from the regular values. In this case, the initialization process of steps S10 to S14 is executed. The
以上のように、電力供給停止時処理(電力の供給停止のための準備処理)によって、遊技状態を電力供給が停止した直前の状態に戻すためのデータが確実に変動データ記憶手段(この例ではRAM55の全領域)に保存される。よって、停電等による電源断が生じても、所定期間内に電源が復旧すれば、遊技状態を電力供給が停止した直前の状態に戻すことができる。なお、RAM55の全領域が電源バックアップされるのではなく、遊技状態を電力供給が停止した直前の状態に戻すためのデータを記憶する領域のみが電源バックアップされるようにしてもよい。 As described above, the power supply stop process (preparation process for stopping the power supply) ensures that the data for returning the gaming state to the state immediately before the power supply stopped is the fluctuation data storage means (in this example) Stored in the entire area of the RAM 55). Therefore, even if the power is cut off due to a power failure or the like, if the power is restored within a predetermined period, the gaming state can be returned to the state immediately before the power supply is stopped. The entire area of the RAM 55 may not be backed up by power, but only the area for storing data for returning the gaming state to the state immediately before the power supply is stopped may be backed up.
また、電源断信号がオフ状態になった場合には、ステップS1に戻る。その場合、電力供給停止時処理が実行されたことを示すデータが設定されているので、ステップS91〜S94の遊技状態復旧処理が実行される。よって、電力供給停止時処理を実行した後に電源監視手段からの検出信号がオフ状態になったときには、遊技の進行を制御する状態に戻る。従って、電源瞬断等が生じても、遊技制御処理が停止してしまうようなことはなく、自動的に、遊技制御処理が続行される。 If the power-off signal is turned off, the process returns to step S1. In this case, since data indicating that the power supply stop process has been executed is set, the game state recovery process of steps S91 to S94 is executed. Therefore, when the detection signal from the power supply monitoring unit is turned off after executing the power supply stop process, the process returns to the state of controlling the progress of the game. Therefore, even if a power interruption or the like occurs, the game control process does not stop, and the game control process is automatically continued.
なお、払出制御基板37に対して送信される接続確認信号は、出力ポートをクリアする処理によってオフ状態に設定される。また、ステップS92およびS12の作業領域の設定では、接続確認信号に対応した出力ポートバッファの内容が、接続確認信号のオン状態に対応した値に設定される。そして、ステップS31の賞球処理が実行されると、出力ポートバッファの内容が出力ポートに出力されるので、払出制御基板37への接続確認信号がオン状態になる。従って、接続確認信号は、主基板31の立ち上がり時に出力される(オン状態になる)ことになる。なお、電源瞬断等から復帰した場合も、接続確認信号が出力される。
The connection confirmation signal transmitted to the
次に、メイン処理におけるスイッチ処理(ステップS21)を説明する。この実施の形態では、入賞検出またはゲート通過に関わる各スイッチの検出信号のオン状態が所定時間継続すると、確かにスイッチがオンしたと判定されスイッチオンに対応した処理が開始される。図17は、スイッチ処理で使用されるRAM55に形成される各1バイトのバッファを示す説明図である。前回ポートバッファは、前回(例えば4ms前)のスイッチオン/オフの判定結果が格納されるバッファである。ポートバッファは、今回入力したポート0の内容が格納されるバッファである。スイッチオンバッファは、スイッチのオンが検出された場合に対応ビットが1に設定され、スイッチのオフが検出された場合に対応ビットが0に設定されるバッファである。
Next, 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 related to winning detection or gate passage continues for a predetermined time, it is determined that the switch is surely turned on, and processing corresponding to the switch on is started. FIG. 17 is an explanatory diagram showing each 1-byte buffer formed in the RAM 55 used in the switching process. The previous port buffer is a buffer in which the previous switch-on / off determination result (for example, 4 ms before) is stored. The port buffer is a buffer in which the contents of
図18は、遊技制御処理におけるステップS21のスイッチ処理の処理例を示すフローチャートである。スイッチ処理において、CPU56は、まず、入力ポート0(図10参照)に入力されているデータを入力し(ステップS101)、入力したデータをポートバッファにセットする(ステップS102)。次いで、RAM55に形成されるウェイトカウンタの初期値をセットし(ステップS103)、ウェイトカウンタの値が0になるまで、ウェイトカウンタの値を1ずつ減算する(ステップS104,S105)。 FIG. 18 is a flowchart illustrating a processing example of the switch processing in step S21 in the game control processing. In the switch process, the CPU 56 first inputs data input to the input port 0 (see FIG. 10) (step S101), and sets the input data in the port buffer (step S102). Next, the initial value of the weight counter formed in the RAM 55 is set (step S103), and the value of the weight counter is decremented by 1 until the value of the weight counter becomes 0 (steps S104 and S105).
ウェイトカウンタの値が0になると、再度、入力ポート0のデータを入力し(ステップS106)、入力したデータとポートバッファにセットされているデータとの間で、ビット毎に論理積をとる(ステップS107)。そして、論理積の演算結果を、ポートバッファにセットする(ステップS108)。ステップS103〜S108の処理によって、ほぼ[ウェイトカウンタの初期値×(ステップS14,S105の処理時間)]の時間間隔を置いて入力ポート0から入力した2回の入力データのうち、2回とも「1」になっているビットのみが、ポートバッファにおいて「1」になる。つまり、所定期間としての[ウェイトカウンタの初期値×(ステップS14,S105の処理時間)]だけスイッチの検出信号のオン状態が継続すると、ポートバッファにおける対応するビットが「1」になる。
When the value of the wait counter becomes 0, the data of the
さらに、CPU56は、前回ポートバッファにセットされているデータとポートバッファにセットされているデータとの間で、ビット毎に排他的論理和をとる(ステップS109)。排他的論理和の演算結果において、前回(例えば4ms前)のスイッチオン/オフの判定結果と、今回オンと判定されたスイッチオン/オフの判定結果とが異なっているスイッチに対応したビットが「1」になる。CPU56は、さらに、排他的論理和の演算結果と、ポートバッファにセットされているデータとの間で、ビット毎に論理積をとる(ステップS110)。この結果、前回のスイッチオン/オフの判定結果と今回オンと判定されたスイッチオン/オフの判定結果とが異なっているスイッチに対応したビット(排他的論理和演算結果による)のうち、今回オンと判定されたスイッチに対応したビット(論理積演算による)のみが「1」として残る。 Further, the CPU 56 performs exclusive OR for each bit between the data previously set in the port buffer and the data set in the port buffer (step S109). In the result of the exclusive OR operation, the bit corresponding to the switch for which the previous switch-on / off determination result (for example, 4 ms before) differs from the switch-on / off determination result determined to be on this time is “ 1 ”. The CPU 56 further performs a logical product for each bit between the operation result of the exclusive OR and the data set in the port buffer (step S110). As a result, of the bits corresponding to the switches for which the previous switch on / off determination result and the switch on / off determination result determined to be on this time are different (according to the exclusive OR operation result), the current on Only the bit corresponding to the switch determined to be (by AND operation) remains as “1”.
そして、CPU56は、ステップS110における論理積の演算結果をスイッチオンバッファにセットし(ステップS111)、ステップS108における演算結果がセットされているポートバッファの内容を前回ポートバッファにセットする(ステップS112)。 Then, the CPU 56 sets the operation result of the logical product in step S110 in the switch-on buffer (step S111), and sets the contents of the port buffer in which the operation result in step S108 is set in the previous port buffer (step S112). .
以上の処理によって、所定期間継続してオン状態であったスイッチのうち、前回(例えば4ms前)のスイッチオン/オフの判定結果がオフであったスイッチ、すなわち、オフ状態からオン状態に変化したスイッチに対応したビットが、スイッチオンバッファにおいて「1」になっている。 By the above processing, among the switches that have been on for a predetermined period of time, the switch on / off determination result of the previous time (for example, 4 ms ago) was off, that is, the switch changed from the off state to the on state. The bit corresponding to the switch is “1” in the switch-on buffer.
次に、主基板31と払出制御基板37との間で送受信される払出制御信号について説明する。図19は、遊技制御手段から払出制御手段に対して出力される制御信号および遊技制御手段に払出制御手段から入力される払出制御信号の内容の一例を示す説明図である。この実施の形態では、払出制御等に関する各種の制御を行うために、主基板31と払出制御基板37との間で複数種類の制御信号が送受信される。図19に示すように、接続確認信号は、主基板31の立ち上がり時(電力供給の開始後に遊技制御手段が遊技の進行を制御可能な状態となったとき)に立ち上がり(オン状態になり)、払出制御基板37に対して主基板31が立ち上がったことを通知するための信号(主基板31の接続確認信号)である。また、接続確認信号は、賞球払出が可能な状態であることを示す。すなわち、遊技制御手段は、接続確認信号をオフ状態にすることによって、払出制御手段に対して賞球払出を行わせないようにすることができる。なお、払出制御手段は、賞球払出中に接続確認信号がオフ状態になったことを検出した場合には、そのときに払い出すことが決まっている個数の賞球払出を完了させた時点で、賞球払出を行わない状態に移行する。
Next, payout control signals transmitted and received between the
賞球REQ信号は、賞球の払出要求時に出力状態(=オン状態)になる信号(すなわち賞球払出要求のトリガ信号)である。また、賞球REQ信号は、払出制御手段から賞球BUSY信号がオン状態になった後にオフ状態になると、停止状態(オフ状態)になる。賞球制御信号は、払出要求を行う遊技球の個数(1〜15個)を指定するために出力される信号(賞球個数コマンド)である。 The prize ball REQ signal is a signal that is in an output state (= ON state) when a prize ball payout request is made (that is, a trigger signal for a prize ball payout request). Further, the prize ball REQ signal is in a stopped state (off state) when the prize ball BUSY signal is turned off after the prize control unit turns on. The award ball control signal is a signal (award ball number command) output for designating the number (1 to 15) of game balls for which a payout request is made.
賞球BUSY信号は、払出制御手段が賞球REQ信号のオン状態および賞球制御信号が指定する賞球の個数を確認するとオン状態にし、賞球制御信号で指令された個数の賞球払出が完了するとオフ状態にする信号である。すなわち、賞球BUSY信号は、賞球REQ信号を受け付けたことを示す指令受付信号に相当するとともに、賞球払出が完了したことを示す払出完了信号に相当する。従って、賞球BUSY信号がオフである状態は、賞球個数コマンド受信待ちの状態に相当する。また、以下、賞球BUSY信号がオン状態からオフ状態に変化したことを、払出完了信号がオン状態になったということがある。 The prize ball BUSY signal is turned on when the dispensing control means confirms that the prize ball REQ signal is on and the number of prize balls specified by the prize ball control signal. This signal turns off when completed. That is, the prize ball BUSY signal corresponds to a command acceptance signal indicating that the prize ball REQ signal has been accepted, and also corresponds to a payout completion signal indicating completion of the prize ball payout. Therefore, the state in which the prize ball BUSY signal is OFF corresponds to a state of waiting for a prize ball number command reception. In addition, hereinafter, the change in the prize ball BUSY signal from the on state to the off state may mean that the payout completion signal has been turned on.
図20は、図19に示す各制御信号の送受信に用いられる信号線等を示すブロック図である。図20に示すように、接続確認信号、賞球REQ信号、および賞球制御信号は、CPU56によって出力回路67を介して出力され、入力回路373Aを介して払出制御用CPU371に入力される。また、賞球BUSY信号は、払出制御用CPU371によって出力回路373Bを介して出力され、入力回路68を介してCPU56に入力される。接続確認信号、賞球REQ信号、および賞球BUSY信号は、それぞれ1ビットのデータであり、1本の信号線によって送信される。従って、指令受付信号と払出完了信号とは、1本の信号線を共用することになる。賞球制御信号は、1個〜15個を指定するので、4ビットのデータで構成され4本の信号線によって送信される。
FIG. 20 is a block diagram showing signal lines and the like used for transmission / reception of each control signal shown in FIG. As shown in FIG. 20, the connection confirmation signal, the prize ball REQ signal, and the prize ball control signal are output by the CPU 56 via the
図21は、払出制御信号の出力の仕方の一例を示すタイミング図であり、図22は、図21における一部を拡大して示すタイミング図である。図21に示すように、入賞検出スイッチが遊技球の入賞を検出すると、遊技制御手段は、賞球REQ信号をオン状態にするとともに、賞球制御信号の出力状態を、入賞に応じて払い出される賞球数に応じた状態にする。なお、この実施の形態では、始動口スイッチ14aで遊技球が検出されると4個の賞球払出を行い、入賞口スイッチ33a,39a,29a,30aのいずれかで遊技球が検出されると7個の賞球払出を行い、Vカウントスイッチ22またはカウントスイッチ23で遊技球が検出されると15個の賞球払出を行う。また、上述したように、賞球制御信号は4ビットで構成されているので、8ビットで表現されている00(H)〜0F(H)の賞球個数コマンドのうち、下位の4ビットが賞球制御信号によって主基板31から払出制御基板37に伝達される。以下、「00(H)〜0F(H)の賞球制御信号」のように表現することがあるが、実際には、賞球制御信号は、8ビットで表現されている00(H)〜0F(H)のうちの下位の4ビットに相当する。
FIG. 21 is a timing chart showing an example of how to output the payout control signal, and FIG. 22 is a timing chart showing an enlarged part of FIG. As shown in FIG. 21, when the winning detection switch detects the winning of a game ball, the game control means turns on the winning ball REQ signal and pays out the output state of the winning ball control signal according to the winning. A state corresponding to the number of prize balls is set. In this embodiment, when a game ball is detected by the
払出制御手段は、図22に示す賞球BUSY信号オン待ち時間(A)の時間内で賞球REQ信号の受信を確認すると、賞球制御信号で指令された個数の遊技球の払い出しが完了するまで賞球BUSY信号のオン状態を継続し、払い出しが完了すると賞球BUSY信号をオフ状態にする。なお、賞球BUSY信号オン待ち時間(A)は、払出制御手段が、遊技制御手段が賞球REQ信号をオン状態にしてから賞球REQ信号の受信を確認するまでの時間である(例えばMAX2.783ms)。 When the payout control means confirms reception of the prize ball REQ signal within the time of the prize ball BUSY signal on waiting time (A) shown in FIG. 22, the payout of the number of game balls instructed by the prize ball control signal is completed. The prize ball BUSY signal is kept on until the prize ball BUSY signal is turned off. The award ball BUSY signal on waiting time (A) is the time from when the payout control means turns on the award ball REQ signal to confirm the receipt of the award ball REQ signal (for example, MAX2). .783 ms).
遊技制御手段は、賞球BUSY信号がオフ状態に変化したことを確認すると賞球REQ信号オフ待ち時間(C)の時間経過後に、賞球REQ信号をオフ状態にする。そのとき、賞球制御信号の出力状態をクリアしてオフ状態にする。すなわち、賞球制御信号が0個を示す状態(無効コマンドを出力する状態)にする。従って、賞球制御信号は、賞球REQ信号がオフ状態であるときには無効コマンド出力状態になっているので、払出制御手段において、ノイズ等によって賞球BUSY信号のオン状態が検出されたような場合でも、誤って賞球払出を実行してしまうようなことはない。また、遊技制御手段は、払出完了信号がオン状態になるまで賞球制御信号を出力し続けるので、払出制御手段に対して、確実に賞球払出個数を通知することができる。 When the game control means confirms that the prize ball BUSY signal has changed to the off state, the game control means turns off the prize ball REQ signal after the award ball REQ signal off waiting time (C) has elapsed. At that time, the output state of the prize ball control signal is cleared and turned off. That is, a state in which the prize ball control signal indicates 0 (a state in which an invalid command is output) is set. Accordingly, since the prize ball control signal is in an invalid command output state when the prize ball REQ signal is in the off state, when the on state of the prize ball BUSY signal is detected by noise or the like in the payout control means. However, there is no such thing as accidentally paying out a prize ball. Further, the game control means continues to output the prize ball control signal until the payout completion signal is turned on, so that it is possible to reliably notify the payout control means of the number of prize balls paid out.
なお、賞球REQ信号オフ待ち時間は、連続して賞球払出が実行される場合に、複数の賞球REQ信号のオン期間の間に間隔を設けるための時間である(例えばMAX49.391ms)。また、A,Cの時間は、CPU56および払出制御用CPU371に供給されるクロック信号の周波数が変わると異なる値になる。つまり、CPU56および払出制御用CPU371に供給されるクロック信号の周波数が変わると異なる値になる。
The award ball REQ signal off waiting time is a time for providing an interval between the on periods of a plurality of award ball REQ signals when the award ball payout is continuously executed (for example, MAX49.391 ms). . Further, the times A and C become different values when the frequency of the clock signal supplied to the CPU 56 and the
図21に示すように、賞球REQ信号がオン状態であるときに新たな入賞が検出されると、その入賞にもとづく賞球REQ信号のオンおよび賞球制御信号の出力は待たされる。具体的には、賞球REQ信号がオン状態であるときに新たな入賞が検出されると、その入賞にもとづいて払い出されるべき賞球数が、RAM55に形成される総賞球数格納バッファの内容に加算される。そして、遊技制御手段は、賞球REQ信号をオフ状態にしたときに、総賞球数格納バッファの内容が0でなければ、15を上限として、総賞球数格納バッファの内容が示す賞球数の賞球払出を指示するために、賞球REQ信号をオン状態にするとともに、賞球制御信号を出力する。 As shown in FIG. 21, when a new winning is detected when the winning ball REQ signal is on, the turning on of the winning ball REQ signal and the output of the winning ball control signal based on the winning are waited. Specifically, when a new winning is detected when the winning ball REQ signal is on, the number of winning balls to be paid out based on the winning is stored in the total winning ball number storage buffer formed in the RAM 55. Is added to the content. Then, when the game control means sets the prize ball REQ signal to the OFF state, if the content of the total prize ball number storage buffer is not 0, the prize ball indicated by the contents of the total prize ball number storage buffer with the upper limit being 15 In order to instruct the number of prize balls to be paid out, the prize ball REQ signal is turned on and a prize ball control signal is output.
図23に示すように、賞球REQ信号をオン状態にしていない(この状態を賞球払出待機中と呼ぶ。)にも関わらず、賞球BUSY信号がオン状態になったときには、遊技制御手段は、通信エラーが生じていることを払出制御手段に伝達するために、接続確認信号をオフ状態にする。接続確認信号をオフ状態にあるときには、入賞検出スイッチが遊技球の入賞を検出しても、賞球REQ信号をオン状態にしない。従って、その入賞にもとづいて払い出されるべき賞球数が総賞球数格納バッファの内容に加算されるだけで、賞球制御信号は出力されない。そして、賞球BUSY信号がオフ状態になったら、接続確認信号をオン状態にする。そのときに、総賞球数格納バッファの内容が0でなければ、15を上限として、総賞球数格納バッファの内容が示す賞球数の賞球払出を指示するために、賞球REQ信号をオン状態にするとともに、賞球制御信号を出力する。このような制御によって、遊技制御手段は、通信エラーが発生したことを払出制御手段に伝達できるとともに、通信エラー中に、賞球払出を指令するための賞球制御信号を送信してしまうことが防止される。なお、賞球払出待機中にも関わらず、賞球BUSY信号がオン状態になってしまうのは、払出制御用CPU371が、ノイズ等によって賞球REQ信号のオン状態を検出し、かつ、ノイズ等によって賞球制御信号が何らかの個数を指定している状態であると検出した場合である。
As shown in FIG. 23, when the prize ball BUSY signal is turned on despite the prize ball REQ signal is not turned on (this state is called waiting for prize ball payout), the game control means Turns off the connection confirmation signal in order to notify the payout control means that a communication error has occurred. When the connection confirmation signal is in the OFF state, even if the winning detection switch detects the winning of the game ball, the winning ball REQ signal is not turned ON. Therefore, the number of prize balls to be paid out based on the winning is simply added to the contents of the total prize ball number storage buffer, and no prize ball control signal is output. When the prize ball BUSY signal is turned off, the connection confirmation signal is turned on. At that time, if the content of the total prize ball number storage buffer is not 0, the prize ball REQ signal is used to instruct the payout of the number of prize balls indicated by the content of the total prize ball number storage buffer up to 15. Is turned on and a prize ball control signal is output. By such control, the game control means can transmit the occurrence of the communication error to the payout control means, and may transmit a prize ball control signal for instructing the prize ball payout during the communication error. Is prevented. Note that the prize ball BUSY signal is turned on in spite of waiting for a prize ball payout because the
図24は、ステップS31の賞球処理の一例を示すフローチャートである。賞球処理において、CPU56は、賞球個数加算処理(ステップS201)と賞球制御処理(ステップS202)とを実行する。そして、RAM55に形成されるポート0バッファの内容をポート0に出力する(ステップS203)。なお、ポート0バッファの内容は、賞球制御処理において更新される。
FIG. 24 is a flowchart showing an example of the prize ball processing in step S31. In the prize ball process, the CPU 56 executes a prize ball number addition process (step S201) and a prize ball control process (step S202). Then, the contents of the
賞球個数加算処理では、図25に示す賞球個数テーブルが使用される。賞球個数テーブルは、ROM54に設定されている。賞球個数テーブルの先頭アドレスには処理数(この例では「7」)が設定され、その後に、スイッチオンバッファの下位アドレス、入賞により賞球を払い出すことになる入賞口の各スイッチについてのスイッチ入力ビット判定値、賞球数が、入賞口の各スイッチのそれぞれに対応して順次設定されている。なお、スイッチ入力ビット判定値は、入力ポート0における各スイッチの検出信号が入力されるビットに対応した値である(図10参照)。また、スイッチオンバッファの上位アドレスは固定的な値(例えば7F(H))である。また、賞球個数テーブルにおいて、7つのスイッチオンバッファの下位アドレスのそれぞれには、同じデータが設定されている。
In the winning ball number adding process, a winning ball number table shown in FIG. 25 is used. The prize ball number table is set in the
図26は、賞球個数加算処理を示すフローチャートである。賞球個数加算処理において、CPU56は、賞球個数テーブルの先頭アドレスをポインタにセットする(ステップS211)。そして、ポインタが指すアドレスのデータ(この場合には処理数)をロードする(ステップS212)。次に、スイッチオンバッファの上位アドレス(8ビット)を2バイトのチェックポインタの上位1バイトにセットする(ステップS213)。 FIG. 26 is a flowchart showing the prize ball number adding process. In the winning ball number adding process, the CPU 56 sets the start address of the winning ball number table in the pointer (step S211). Then, the data at the address pointed to by the pointer (in this case, the number of processes) is loaded (step S212). Next, the upper address (8 bits) of the switch-on buffer is set in the upper 1 byte of the 2-byte check pointer (step S213).
そして、ポインタの値を1増やし(ステップS214)、ポインタが指す賞球個数テーブルのデータ(この場合にはスイッチオンバッファの下位アドレス)をチェックポインタの下位1バイトにセットした後(ステップS215)、ポインタの値を1増やす(ステップS216)。次いで、チェックポインタが指すアドレスのデータ、すなわちスイッチオンバッファの内容をレジスタにロードし(ステップS217)、ロードした内容と、ポインタが指す賞球個数テーブルのデータ(この場合にはスイッチ入力ビット判定値)との論理積をとる(ステップS218)。この結果、スイッチオンバッファの内容がロードされたレジスタには、検査対象としているスイッチの検出信号に対応したビット以外の7ビットが0になる。そして、ポインタの値を1増やす(ステップS219)。 Then, the value of the pointer is incremented by 1 (step S214), the prize ball number table data pointed to by the pointer (in this case, the lower address of the switch-on buffer) is set in the lower 1 byte of the check pointer (step S215), The pointer value is increased by 1 (step S216). Next, the address data pointed to by the check pointer, that is, the contents of the switch-on buffer is loaded into the register (step S217), and the loaded contents and the data of the prize ball number table pointed to by the pointer (in this case, the switch input bit judgment value) ) And the logical product (step S218). As a result, 7 bits other than the bit corresponding to the detection signal of the switch to be inspected become 0 in the register loaded with the contents of the switch-on buffer. Then, the pointer value is incremented by 1 (step S219).
ステップS218における演算結果が0でなれば、すなわち、検査対象のスイッチの検出信号がオン状態であれば、ポインタが指す賞球個数テーブルのデータ(この場合には賞球個数)を賞球加算値に設定し(ステップS220,S221)、賞球加算値を、RAM55に形成されている16ビットの総賞球数格納バッファの内容に加算する(ステップS222)。なお、総賞球数格納バッファは、バックアップRAMに形成されている。加算の結果、桁上げが発生した場合には、総賞球数格納バッファの内容を65535(=FFFF(H))に設定する(ステップS223,224)。また、「RAMに形成されている」とは、RAM内の領域であることを意味する。 If the calculation result in step S218 is 0, that is, if the detection signal of the switch to be inspected is on, the prize ball number table data pointed to by the pointer (in this case, the prize ball number) is used as the prize ball addition value. (Steps S220 and S221), and the prize ball addition value is added to the contents of the 16-bit total prize ball number storage buffer formed in the RAM 55 (step S222). The total winning ball number storage buffer is formed in the backup RAM. If a carry occurs as a result of the addition, the content of the total number of winning balls storage buffer is set to 65535 (= FFFF (H)) (steps S223 and 224). Further, “formed in RAM” means an area in the RAM.
ステップS225では処理数を1減らし、処理数が0であれば処理を終了し、処理数が0でなければステップS214に戻る(ステップS226)。また、ステップS220において、ステップS218における演算結果が0であること、すなわち、検査対象のスイッチの検出信号がオフ状態であることを確認したら、ステップS225に移行する。 In step S225, the number of processes is reduced by 1. If the number of processes is 0, the process ends. If the number of processes is not 0, the process returns to step S214 (step S226). In step S220, when it is confirmed that the calculation result in step S218 is 0, that is, the detection signal of the switch to be inspected is in the OFF state, the process proceeds to step S225.
図27は、ステップS201の賞球制御処理を示すフローチャートである。賞球制御処理では、CPU56は、賞球プロセスコードの値に応じて、ステップS231〜S234のいずれかの処理を実行する。 FIG. 27 is a flowchart showing the prize ball control process in step S201. In the prize ball control process, the CPU 56 executes any one of steps S231 to S234 according to the value of the prize ball process code.
図28は、賞球プロセスコードの値が0の場合に実行される賞球待ち処理1(ステップS231)を示すフローチャートである。CPU56は、賞球待ち処理1において、賞球BUSY信号がオン状態になっていないか否か確認する(ステップS241)。この段階では賞球BUSY信号はオン状態になっていないはずであるから、賞球BUSY信号がオン状態になっている場合には、賞球異常状態出力値(20(H))をポート0バッファにセットして処理を終了する(ステップS242)。なお、賞球異常状態出力値がポート0バッファにセットされると、ステップS203(図24参照)においてポート0バッファの内容がポート0に出力されることによって、賞球REQ信号、接続確認信号および賞球制御信号の全てがオフ状態になる(図8参照)。このような制御によって、図23に示されたように、賞球払出待機中に賞球BUSY信号がオン状態になったときには、接続確認信号がオフ状態になる。また、賞球BUSY信号がオフ状態になるまで賞球待ち処理2,3(ステップS233,S234)が実行される状態にはならないので、賞球制御信号は送信されない。すなわち、遊技制御手段は、賞球BUSY信号がオフ状態であることを条件に、賞球REQ信号および賞球制御信号をオン状態にすることができる。
FIG. 28 is a flowchart showing the prize waiting process 1 (step S231) executed when the value of the prize ball process code is zero. In the award
賞球BUSY信号がオフ状態であれば、賞球待機中出力値(30(H))をポート0バッファにセットする(ステップS243)。なお、賞球待機中出力値がポート0バッファにセットされると、ステップS203においてポート0バッファの内容がポート0に出力されることによって、賞球REQ信号がオフ状態になり、接続確認信号はオン状態になる(図8参照)。よって、接続確認信号がオフ状態であるときに賞球BUSY信号がオフ状態になったら接続確認信号はオン状態になる。また、賞球制御信号として無効コマンド(00(H))を出力する状態になる。次いで、賞球タイマが0であるか否か確認する(ステップS244)。賞球タイマが0でなければ、賞球タイマの値を1減らして(ステップS245)、処理を終了する。賞球タイマは賞球処理において必要となる時間を計測するためのタイマであるが、この段階で賞球タイマの値が0でないということは、前回の払出処理が完了した後、次に賞球REQ信号をオン状態にするまでの待ち時間(連続して賞球払出が実行される場合に複数の賞球REQ信号のオン期間の間に間隔を設けるための時間、図21に示す00(H)の賞球制御信号が出力されている期間)が終了していないことを意味する。なお、賞球タイマは、後述する賞球待ち処理3のステップS275でセットされる。また、ステップS243〜S245の処理は、ステップS234の賞球処理3の実行が完了して前回の払出処理が完了した後に、賞球REQ信号をオフ状態にするとともに、賞球制御信号として無効コマンド(00(H))を出力するための処理である。
If the prize ball BUSY signal is off, the prize ball waiting output value (30 (H)) is set in the
賞球タイマの値が0であれば、次いで、CPU56は、総賞球数格納バッファの内容を確認する(ステップS247)。その値が0であれば処理を終了し、0でなければ、賞球プロセスコードの値を1にした後(ステップS248)、処理を終了する。 If the value of the prize ball timer is 0, the CPU 56 then checks the contents of the total prize ball number storage buffer (step S247). If the value is 0, the process ends. If not, the value of the prize ball process code is set to 1 (step S248), and the process ends.
図29は、賞球プロセスコードの値が1の場合に実行される賞球送信処理(ステップS232)を示すフローチャートである。CPU56は、賞球送信処理において、総賞球数格納バッファの内容が賞球コマンド最大値(この例では「15」)よりも小さいか否か確認する(ステップS251)。総賞球数格納バッファの内容が賞球コマンド最大値以上であれば、賞球コマンド最大値を賞球個数バッファに設定する(ステップS252)。また、総賞球数格納バッファの内容が賞球コマンド最大値よりも小さい場合には、総賞球数格納バッファの内容を賞球個数バッファに設定する(ステップS253)。 FIG. 29 is a flowchart showing a prize ball transmission process (step S232) executed when the value of the prize ball process code is 1. In the prize ball transmission process, the CPU 56 checks whether or not the content of the total prize ball number storage buffer is smaller than the prize ball command maximum value (“15” in this example) (step S251). If the content of the total prize ball number storage buffer is equal to or greater than the prize ball command maximum value, the prize ball command maximum value is set in the prize ball number buffer (step S252). If the content of the total prize ball number storage buffer is smaller than the maximum value of the prize ball command, the content of the total prize ball number storage buffer is set in the prize ball number buffer (step S253).
その後、賞球REQ中出力値(10(H))を出力ポート0バッファにセットする(ステップS254)。なお、賞球REQ中出力値が出力ポート0バッファにセットされると、ステップS203において出力ポート0バッファの内容がポート0に出力されることによって、賞球REQ信号がオン状態になり、接続確認信号のオン状態が維持される(図8参照)。また、賞球個数バッファの内容を出力ポート0バッファの下位4ビットにセットする(ステップS255)。その後、賞球プロセスコードの値を2にして(ステップS256)、処理を終了する。
Thereafter, the output value (10 (H)) during the prize ball REQ is set in the
この実施の形態では、賞球コマンド最大値は「15」である。従って、最大で「15」の払出数を指定する賞球制御信号が払出制御基板37に送信される。
In this embodiment, the maximum value of the prize ball command is “15”. Accordingly, a prize ball control signal designating the maximum number of payouts of “15” is transmitted to the
図30は、賞球プロセスコードの値が2の場合に実行される賞球待ち処理2(ステップS233)を示すフローチャートである。CPU56は、賞球待ち処理2において、賞球REQがオン状態になったことに応じて払出制御手段が出力する(オン状態にする)賞球BUSY信号がオン状態になったか否か確認する(ステップS261)。オン状態にならないときには、賞球タイマにBUSY開始判定時間値(例えば2)をセットする(ステップS262)。BUSY開始判定時間値は、遊技制御手段が、その値が示す時間だけ賞球BUSY信号のオン状態が継続したら、確かに賞球BUSY信号が出力された(オンした)と確認するための値である。
FIG. 30 is a flowchart showing the winning ball waiting process 2 (step S233) executed when the value of the winning ball process code is 2. In the award
従って、CPU56は、賞球BUSY信号がオン状態になったら賞球タイマの値を確認し(ステップS263)、その値が0でなければ賞球タイマの値を1減らして(ステップS264)、処理を終了する。賞球タイマの値が0になったら、確かに賞球BUSY信号がオンしたとして、総賞球数格納バッファの内容から、賞球個数バッファの内容(払出制御手段に指令した賞球払出個数)を減算する(ステップS265)。そして、賞球プロセスコードの値を3にして(ステップS266)、処理を終了する。 Therefore, the CPU 56 checks the value of the prize ball timer when the prize ball BUSY signal is turned on (step S263). If the value is not 0, the CPU 56 decrements the value of the prize ball timer by 1 (step S264). Exit. When the value of the prize ball timer becomes 0, it is determined that the prize ball BUSY signal is turned on, and the contents of the prize ball number buffer (the number of prize balls paid out to the payout control means) are changed from the contents of the total prize ball number storage buffer. Is subtracted (step S265). Then, the value of the prize ball process code is set to 3 (step S266), and the process is terminated.
なお、図29に示した賞球送信処理および図30に示した賞球待ち処理2において、遊技制御手段は、賞球制御信号を送信した後所定期間内に払出制御手段からの賞球BUSY信号を受信しなかったときには、遊技の進行を停止するための制御を行うように構成されていてもよい。具体的には、図29に示した賞球送信処理において、CPU56は、賞球REQ信号をオン状態にした後に(ステップS255)、賞球BUSYオン監視値を監視タイマ(ここで、監視タイマは、通信異常の発生を検出するためのタイマであり、賞球BUSYオン監視値は、払出制御手段および通信線が正常である場合に賞球BUSY信号がオン状態になるまでの時間に余裕を持たせた時間に相当する値である)にセットする。そして、図30に示した賞球待ち処理2において、CPU56は、賞球BUSY信号がオン状態になったか否かを確認し(ステップS261)、オン状態にならないときには、監視タイマの値を1減算する。監視タイマの値が0になった場合には、CPU56は、払出制御手段との間の通信の異常が発生したとして、具体的には、賞球BUSY信号がオン状態にならなかったとして、遊技の進行を停止するための制御を行う。
In the prize ball transmission process shown in FIG. 29 and the prize
遊技制御手段は、遊技の進行を停止する前に、現在の制御状態、例えば出力ポートの出力状態をRAM55に保存した後、出力ポートの出力状態をクリアする。そして、払出制御手段との間の通信の異常が解消されるまで遊技の進行を停止する。すなわち、新たな事象(遊技球の入賞等)が生じても、それに応じた処理を行わず、例えば新たに生じた事象を記憶しておく。なお、遊技制御手段は、遊技の進行を停止する前に、可変表示装置9等を用いて通信異常の発生を報知するために通信エラー表示コマンドを演出制御基板80の演出制御手段に送信するように構成されていてもよい。遊技制御手段は、通信異常が解消されると、RAM55に保存されている制御状態にもとづいて出力ポートを復元することができる。
The game control means saves the current control state, for example, the output state of the output port, in the RAM 55 before stopping the progress of the game, and then clears the output state of the output port. Then, the progress of the game is stopped until the abnormality of communication with the payout control means is resolved. That is, even if a new event (game ball winning etc.) occurs, the corresponding process is not performed, and for example, a newly generated event is stored. Note that the game control means transmits a communication error display command to the effect control means of the
図31は、賞球プロセスコードの値が3の場合に実行される賞球待ち処理3(ステップS234)を示すフローチャートである。CPU56は、賞球待ち処理4において、賞球BUSY信号がオフ状態になった(払出完了信号がオン状態)か否か確認する(ステップS271)。賞球BUSY信号がオフ状態にならないときには、賞球タイマにBUSY終了判定時間値(例えば3)をセットする(ステップS272)。BUSY終了判定時間値は、図22に示すCの期間を作成するための値である。
FIG. 31 is a flowchart showing the winning ball waiting process 3 (step S234) executed when the value of the winning ball process code is 3. In the award
従って、CPU56は、賞球BUSY信号がオフ状態になったら賞球タイマの値を確認し(ステップS273)、その値が0でなければ賞球タイマの値を1減らして(ステップS274)、処理を終了する。賞球タイマの値が0になったら、すなわち図22に示すCの期間が終了したら、賞球REQ待ち時間を賞球タイマにセットする(ステップS275)。そして、賞球プロセスコードの値を0にして(ステップS276)、処理を終了する。上述したように、賞球REQ待ち時間は、次に賞球REQ信号をオン状態にするまでの待ち時間(連続して賞球払出が実行される場合に、複数の賞球REQ信号のオン期間の間に間隔を設けるための時間)である。 Therefore, the CPU 56 checks the value of the prize ball timer when the prize ball BUSY signal is turned off (step S273). If the value is not 0, the CPU 56 decrements the value of the prize ball timer by 1 (step S274). Exit. When the value of the prize ball timer becomes 0, that is, when the period C shown in FIG. 22 ends, the prize ball REQ waiting time is set in the prize ball timer (step S275). Then, the value of the prize ball process code is set to 0 (step S276), and the process is terminated. As described above, the award ball REQ waiting time is the waiting time until the next award ball REQ signal is turned on (when award ball payout is continuously executed, a plurality of award ball REQ signal on periods Is a time for providing an interval).
以上の処理によって、遊技制御手段は、払出条件の成立にもとづいて払い出される賞球としての遊技球の総数を特定可能に総賞球数格納バッファに記憶する。総賞球数格納バッファは、遊技機への電力供給が停止した場合に変動データ保存手段としてのバックアップ電源により記憶内容を少なくとも所定期間保存する景品遊技媒体数記憶手段に相当する。また、遊技制御手段は、総賞球数格納バッファに記憶されている賞球数にもとづいて払出制御手段に対して所定数の賞球の払出数を指定する払出指令信号を送信する。ここで、所定数は、総賞球数格納バッファに記憶されている賞球数が15個以上であれば15であり、15個未満であれば、総賞球数格納バッファに記憶されている賞球数である。そして、所定の条件が成立すると総賞球数格納バッファに記憶されている賞球数から払出指令信号で指定した払出数を減算する減算処理を行う。 By the above processing, the game control means stores the total number of game balls as prize balls to be paid out based on the establishment of the payout condition in the total prize ball number storage buffer so as to be specified. The total award ball number storage buffer corresponds to a prize game medium number storage means for storing stored contents for at least a predetermined period by a backup power source as a variable data storage means when power supply to the gaming machine is stopped. Further, the game control means transmits a payout command signal for designating a payout number of a predetermined number of prize balls to the payout control means based on the number of prize balls stored in the total prize ball number storage buffer. Here, the predetermined number is 15 if the number of prize balls stored in the total prize ball number storage buffer is 15 or more, and is stored in the total prize ball number storage buffer if it is less than 15. The number of prize balls. When a predetermined condition is satisfied, a subtraction process is performed for subtracting the number of payouts specified by the payout command signal from the number of prize balls stored in the total prize ball number storage buffer.
この実施の形態では、減算処理を実行するための所定の条件は、払出制御手段から指令受付信号を受信したとき、具体的には、賞球BUSY信号がオンしたときである。なお、賞球BUSY信号がオンしたときには、払出制御手段は、払出指令信号で指令された個数の賞球払出をまだ行っていない。賞球BUSY信号がオンしたときよりも後に(例えば、払出完了信号がオン状態になったとき、すなわち賞球制御信号で指令した個数の賞球払出が完了したときに)総賞球数格納バッファの減算処理を行うように構成すると、賞球払出中に不正に遊技機の電力供給を停止させた後に電力供給を復旧させるような不正行為によって、不正に多数の賞球払出が行われてしまう。例えば、払出指令信号で15個の賞球払出が指令された場合に、10個の賞球払出がなされた時点で、不正に遊技機の電力供給を停止させた後に電力供給を復旧させると、総賞球数格納バッファの内容はなんら減算されていないので、実際には10個の賞球払出はなされているにも関わらず、その10個の賞球払出はなされていないものとして、賞球制御を続行してしまう。 In this embodiment, the predetermined condition for executing the subtraction process is when a command acceptance signal is received from the payout control means, specifically when the prize ball BUSY signal is turned on. When the prize ball BUSY signal is turned on, the payout control means has not yet paid out the number of prize balls as instructed by the payout command signal. Total prize ball number storage buffer after the prize ball BUSY signal is turned on (for example, when the payout completion signal is turned on, that is, when the number of prize balls paid out in accordance with the prize ball control signal is completed) If it is configured to perform the subtraction process, a large number of prize balls are illegally discharged by an illegal act of restoring the power supply after illegally stopping the power supply of the gaming machine during the prize ball payout . For example, in the case where 15 prize ball payouts are instructed by a payout command signal, when 10 prize ball payouts are made, if power supply is restored after illegally stopping the power supply of the gaming machine, Since the contents of the total number of winning balls storage buffer are not subtracted at all, it is assumed that the ten winning balls are not paid out even though ten winning balls are actually paid out. Control will continue.
しかし、この実施の形態では、賞球BUSY信号がオンしたときに、すなわち、払出制御手段が払出指令信号を受け付けて指令受付信号を送信したときに総賞球数格納バッファの減算処理が実行されるので、上記の不正行為を防止することができる。 However, in this embodiment, when the winning ball BUSY signal is turned on, that is, when the payout control means accepts the payout command signal and transmits the command acceptance signal, the total winning ball number storage buffer subtraction process is executed. Therefore, the above fraud can be prevented.
なお、この実施の形態では、払出条件の成立にもとづいて払い出される景品遊技媒体の総数を特定可能に記憶する景品遊技媒体数記憶手段として、総数そのものを記憶する総賞球数格納バッファが例示されたが、景品遊技媒体の総数を特定可能に記憶する景品遊技媒体数記憶手段は、各入賞領域への入賞数を記憶したり、賞球数が同じである入賞領域毎の入賞数(例えば6個の賞球数に対応した入賞口14、10個の賞球数に対応した入賞口33,39,29,30、15個の賞球数に対応した大入賞口への入賞数であって、未だ賞球払出が終了していない入賞数)を記憶するものであってもよい。
In this embodiment, as the prize game medium number storage means for storing the total number of prize game media to be paid out based on the establishment of the payout condition, a total prize ball number storage buffer for storing the total number itself is exemplified. However, the prize game medium number storage means for storing the total number of prize game media in an identifiable manner stores the number of prizes received in each prize area, or the number of prizes for each prize area (for example, 6). The number of winning holes 14 corresponding to the number of winning balls, the number of winning
次に、払出制御手段(払出制御用CPU371およびROM,RAM等の周辺回路)の動作を説明する。図32は、払出制御手段における出力ポートの割り当ての例を示す説明図である。図32に示すように、出力ポート0は、ステッピングモータによる発射モータ94に供給される各相の信号と、ステッピングモータによる払出モータ289に供給される各相の信号とを出力するための出力ポートである。また、出力ポート1は、球切れLED52、賞球LED51および賞球BUSY信号と、遊技機外部に出力される賞球中信号、賞球情報、球貸し情報および遊技機エラー状態信号を出力するための出力ポートである。
Next, the operation of the payout control means (the
出力ポート2は、7セグメントLEDによるエラー表示LED374の各セグメント出力の出力ポートである。出力ポート3は、カードユニット50へのEXS信号およびPRDY信号を出力するための出力ポートである。
The
図33は、払出制御手段における入力ポートのビット割り当ての例を示す説明図である。図33に示すように、入力ポート0のビット0〜3には、4ビットの賞球制御信号が入力され、ビット4〜7には、それぞれ、主基板31からの接続確認信号、主基板31からの賞球REQ信号、球切れスイッチ187の検出信号、払出モータ位置センサ295の検出信号が入力される。また、入力ポート1のビット0〜3には、それぞれ、タッチセンサからのタッチセンサ信号(発射制御信号)、払出個数カウントスイッチ301の検出信号、エラー解除スイッチ375からの操作信号、満タンスイッチ48の検出信号が入力される。入力ポート1のビット4〜6には、それぞれ、カードユニット50からのVL信号、BRDY信号、BRQ信号が入力される。入力ポート2には、電源基板910からのクリアスイッチ921からの出力信号および電源断信号が入力される。
FIG. 33 is an explanatory diagram showing an example of bit assignment of input ports in the payout control means. As shown in FIG. 33, a 4-bit prize ball control signal is input to
図34は、遊技機の払出制御手段とカードユニット50との間の通信を説明するためのタイミング図である。払出制御手段は、遊技機への電力供給が開始され、払出動作が可能なときにはPRDY信号をオン状態にする。カードユニット50は、電力供給が開始されると、接続信号としてのVL信号をオン状態にする。カードユニット50においてカードが受け付けられ、球貸しスイッチが操作され球貸しスイッチ信号が入力されると、カードユニット50は、払出制御手段にBRDY信号を出力する。すなわち、BRDY信号をオン状態にする。この時点から所定の遅延時間が経過すると、カードユニット50は、払出制御手段にBRQ信号を出力する。すなわち、BRQ信号をオン状態にする。
FIG. 34 is a timing chart for explaining communication between the payout control means of the gaming machine and the
そして、払出制御手段は、カードユニット50に対するEXS信号をオン状態にし、カードユニット50からのBRQ信号の立ち下がり(オフ)を検出すると、払出モータ289を駆動し、所定個(例えば25個)の貸し球を遊技者に払い出す。そして、払出が完了したら、払出制御手段は、カードユニット50に対するEXS信号を立ち下げる。すなわちEXS信号をオフ状態にする。
Then, when the payout control means turns on the EXS signal for the
次に、払出制御手段の動作について説明する。図35は、払出制御手段が実行するメイン処理を示すフローチャートである。メイン処理では、払出制御用CPU371は、まず、必要な初期設定を行う。すなわち、払出制御用CPU371は、まず、割込禁止に設定する(ステップS701)。次に、割込モードを割込モード2に設定し(ステップS702)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS703)。また、払出制御用CPU371は、内蔵デバイスレジスタの初期化を行い(ステップS704)、CTCおよびPIOの初期化を行う(ステップS705)を行った後に、RAMをアクセス可能状態に設定する(ステップS706)。また、賞球未払出個数カウンタ初期値として0000(H)をセットする(ステップS707)。
Next, the operation of the payout control means will be described. FIG. 35 is a flowchart showing main processing executed by the payout control means. In the main process, the
この実施の形態では、内蔵CTCのうちの一つのチャネルがタイマモードで使用される。従って、ステップS704の内蔵デバイスレジスタの設定処理およびステップS705の処理において、使用するチャネルをタイマモードに設定するためのレジスタ設定、割込発生を許可するためのレジスタ設定および割込ベクタを設定するためのレジスタ設定が行われる。そして、そのチャネルによる割込がタイマ割込として用いられる。タイマ割込を例えば0.7ms毎に発生させたい場合は、初期値として0.7msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。 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 0.7 ms, a value corresponding to 0.7 ms is set in a predetermined register (time constant register) as an initial value.
なお、タイマモードに設定されたチャネル(この実施の形態ではチャネル3)に設定される割込ベクタは、タイマ割込処理の先頭アドレスに相当するものである。具体的は、Iレジスタに設定された値と割込ベクタとでタイマ割込処理の先頭アドレスが特定される。タイマ割込処理では、払出手段を制御する払出制御処理(少なくとも主基板からの賞球払出に関する指令信号に応じて球払出装置97を駆動する処理を含み、球貸し要求に応じて球払出装置97を駆動する処理が含まれていてもよい。)が実行される。
The interrupt vector set for the channel set to the timer mode (
この実施の形態では、払出制御用CPU371でも割込モード2が設定される。従って、内蔵CTCのカウントアップにもとづく割込処理を使用することができる。また、CTCが送出した割込ベクタに応じた割込処理開始アドレスを設定することができる。
In this embodiment, the
CTCのチャネル3(CH3)のカウントアップにもとづく割込は、CPUの内部クロック(システムクロック)をカウントダウンしてレジスタ値が「0」になったら発生する割込であり、タイマ割込として用いられる。具体的には、CPU371の動作クロックを分周したクロックがCTCに与えられ、クロックの入力によってレジスタの値が減算され、レジスタの値が0になるとタイマ割込が発生する。例えば、CH3のレジスタ値はシステムクロックの1/256周期で減算される。分周したクロックにもとづいて減算が行われるので、レジスタの初期値は大きくならない。
The interrupt based on CTC channel 3 (CH3) count-up is an interrupt generated when the CPU internal clock (system clock) is counted down and the register value becomes “0”, and is used as a timer interrupt. . Specifically, a clock obtained by dividing the operation clock of the
次いで、入力ポート2を介して入力されるクリアスイッチ921の出力信号の状態を1回だけ確認する(ステップS708)。その確認においてオンを検出した場合には、払出制御用CPU371は、初期化処理を実行する(ステップS712〜ステップS715)。クリアスイッチ921がオンの状態でない場合には、遊技機への電力供給が停止したときにバックアップRAM領域のデータ保護処理(例えばパリティデータの付加等の電力供給停止時処理)が行われたか否か確認する(ステップS709)。保護処理が行われていたか否かは、後述する電力供給停止時処理においてバックアップRAM領域に保存されるバックアップ監視タイマの値が、バックアップRAM領域のデータ保護処理を実行したことに応じた値(例えば10)になっているか否かによって確認される。なお、そのような確認の仕方は一例であって、例えば、電力供給停止時処理においてバックアップフラグ領域にデータ保護処理を実行したことを示すフラグをセットし、ステップS709において、そのフラグがセットされていることを確認したらバックアップありと判定してもよい。
Next, the state of the output signal of the
なお、遊技機に対して電力供給が開始されるとメイン処理が実行開始されるので、この実施の形態では、電力供給の開始時にクリアスイッチ921が押下されて検出信号(主基板31への検出信号と同じ信号)が出力されていれば直ちに初期化処理を実行するが、主基板31から接続確認信号を受信したときにクリアスイッチ921の状態を確認し、そのときにクリアスイッチ921が押下されていたら初期化処理を実行するようにしてもよい。そのように構成するには、ステップS708の処理の実行前に、接続確認信号の受信を所定時間(電力供給開始後に遊技制御手段が遊技制御処理を開始して接続確認信号を出力できるようになるまでの時間)待つ処理を挿入し、所定時間内に接続確認信号を受信したらステップS708の処理を実行し、所定時間内に接続確認信号を受信しなかったら、ステップS709の処理を実行するようにすればよい。
Since the main process is started when power supply to the gaming machine is started, in this embodiment, the
バックアップありと判定したら、払出制御用CPU371は、バックアップRAM領域のデータチェック(この例ではパリティチェック)を行う(ステップS710)。この実施の形態では、クリアデータ(00)をチェックサムデータエリアにセットし、チェックサム算出開始アドレスをポインタにセットする。また、チェックサムの対象となるデータ数に対応するチェックサム算出回数をセットする。そして、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する。演算結果をチェックサムデータエリアにストアするとともに、ポインタの値を1増やし、チェックサム算出回数の値を1減算する。以上の処理が、チェックサム算出回数の値が0になるまで繰り返される。チェックサム算出回数の値が0になったら、CPU56は、チェックサムデータエリアの内容の各ビットの値を反転し、反転後のデータをチェックサムとする。
If it is determined that there is a backup, the
電力供給停止時処理において、上記の処理と同様の処理によってチェックサムが算出され、チェックサムはバックアップRAM領域に保存されている。ステップS710では、算出したチェックサムと保存されているチェックサムとを比較する。不測の停電等の電力供給停止が生じた後に復旧した場合には、バックアップRAM領域のデータは保存されているはずであるから、チェック結果(比較結果)は正常(一致)になる。チェック結果が正常でないということは、バックアップRAM領域のデータが、電力供給停止時のデータとは異なっていることを意味する。そのような場合には、内部状態を電力供給停止時の状態に戻すことができないので、払出制御状態復旧処理を実行せず、初期化処理(ステップS712〜S715の処理)を実行する。 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 S710, 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 at the time of stopping the power supply, the payout control state restoration processing is not executed, and the initialization processing (steps S712 to S715) is executed.
チェック結果が正常であれば、払出制御用CPU371は、払出制御状態復旧処理を行う。具体的には、賞球未払出個数カウンタ初期値として、バックアップRAMに形成されている賞球未払出個数カウンタの値をセットする(ステップS711)。そして。ステップS712以降の処理を実行する。
If the check result is normal, the
初期化処理では、払出制御用CPU371は、まず、RAMクリア処理を行う(ステップS712)。また、RAM領域のフラグやカウンタなどに初期値を設定する(ステップS713)。ステップS713の処理には、賞球未払出個数カウンタ初期値を賞球未払出個数カウンタにセットする処理が含まれる。従って、払出制御状態復旧処理(ステップS711)が実行された場合には、バックアップRAMに保存されていた賞球未払出個数カウンタの値が、あらためて賞球未払出個数カウンタにセットされる。換言すれば、バックアップRAMに保存されていた賞球未払出個数カウンタの値がそのまま使用される。
In the initialization process, the
そして、定期的にタイマ割込がかかるように払出制御用CPU371に設けられているCTCのレジスタの設定を行う(ステップS714)。すなわち、初期値としてタイマ割込発生間隔に相当する値が所定のレジスタ(時間定数レジスタ)に設定される。そして、初期設定処理のステップS701において割込禁止とされているので、初期化処理を終える前に割込が許可される(ステップS715)。その後、タイマ割込の発生を監視するループ処理に入る。
Then, the CTC register provided in the
上記のように、この実施の形態では、払出制御用CPU371の内蔵CTCが繰り返しタイマ割込を発生するように設定される。そして、タイマ割込が発生すると、払出制御用CPU371は、タイマ割込処理においてタイマ割込フラグをセットする。メイン処理におけるループ処理では、タイマ割込フラグがセットされたことを検出すると、ステップS750以降の処理を実行する。
As described above, in this embodiment, the built-in CTC of the
ステップS750において、払出制御用CPU371は、電源断信号が出力された否かを監視する電源断処理を実行する。その後、ステップS751以降の払出制御処理を実行する。払出制御処理では、払出制御用CPU371は、まず、発射モータ94に対する励磁パターンの出力処理(発射モータφ1〜φ4のパターンの出力ポート0への出力)を行う(ステップS750)。なお、ステップS763の発射モータ制御処理において、励磁パターンがRAM領域である励磁パターンバッファに格納され、ステップS750では、払出制御用CPU371は、励磁パターンバッファの内容を出力ポート0の下位4ビットに出力する処理を行う。
In step S750, the
なお、電源断処理は、遊技制御手段が実行する電源断処理と同様の処理である(図15および図16参照)。すなわち、電源基板910からの電源断信号が、バックアップ監視タイマが計時する所定時間継続してオン状態であれば、電力供給停止時処理が実行される。電力供給停止時処理において、電力供給停止中でも保存したいRAMの領域についてチェックコード(具体的にはチェックサム)を計算し、チェックコードをバックアップRAM領域に保存するとともに、RAMアクセスを禁止し、出力ポートをクリアした後ループ処理に入る。ループ処理において電源断信号がオフ状態になったことを検出すると、払出制御手段の状態は、遊技制御手段が遊技制御処理を実行する状態に戻るのと同様、払出制御処理(少なくとも主基板からの賞球払出に関する指令信号に応じて球払出装置97を駆動する処理を含み、球貸し要求に応じて球払出装置97を駆動する処理が含まれていてもよい。)を実行する状態に戻る。具体的には、例えば、図35に示すメイン処理のステップS701に戻る。
The power-off process is a process similar to the power-off process executed by the game control means (see FIGS. 15 and 16). That is, if the power-off signal from the
次に、払出制御用CPU371は、RAMに形成されているスイッチカウンタの値に応じてタスク1〜タスク6のいずれかを実行する。タスク1では、スイッチチェック数に検出対象の入力数として3をセットし(ステップS781)、発射制御信号タイマのアドレスをポインタにセットする(ステップS782)。そして、スイッチチェック処理を実行する(ステップS761)。
Next, the
スイッチチェック処理は、入力ポート1のビット0,1,2の状態チェック、すなわち発射制御信号、払出個数カウントスイッチおよびエラー解除スイッチの検出信号の状態チェックを行う処理である。具体的には、それらのそれぞれに対応したスイッチタイマ(発射制御信号タイマ、払出個数カウントスイッチタイマ、エラー解除スイッチタイマ)がRAMに形成され、スイッチチェック処理において、それらがオン状態であることを検出したら対応するスイッチタイマの値を+1し、オフ状態であることを検出したら対応するスイッチタイマの値をクリアする。なお、タスク1では、スイッチチェック数に3がセットされるので、発射制御信号、払出個数カウントスイッチおよびエラー解除スイッチの検出信号の状態チェックが行われるが、他のタスクでは、それらのうちの1つまたは2つしか状態チェックしないことがある。また、スイッチタイマの値は、発射制御信号、払出個数カウントスイッチおよびエラー解除スイッチの検出信号の状態にもとづいて制御を行う処理(例えば、後述する発射モータ制御処理、賞球球貸し制御処理、エラー処理)において参照され、スイッチタイマの値があらかじめ決められている値に達していれば確かにオンになったと判定される。
The switch check process is a process for checking the states of the
また、払出制御用CPU371は、入力判定処理を行う(ステップS762)。入力判定処理は、入力ポート0のビット4〜6および入力ポート1のビット3〜6(図33参照)の状態を検出して検出結果をRAMの所定の1バイト(入力状態フラグと呼ぶ。)に反映する処理である。なお、払出制御処理において、入力ポート0のビット4〜6および入力ポート1のビット3〜6の状態にもとづいて制御を行う場合には、直接入力ポートの状態をチェックするのではなく、入力状態フラグの状態をチェックする。
Also, the
次に、払出制御用CPU371は、発射モータ制御処理を実行する(ステップS763)。発射モータ制御処理では、発射モータφ1〜φ4のパターンを励磁パターンバッファに格納する。また、発射モータ94を不能動化すべきときには、発射モータ94を回転させない発射モータφ1〜φ4のパターンを励磁パターンバッファに格納する。そして、ステップS790に移行する。
Next, the
タスク2では、払出制御用CPU371は、カードユニット50と通信を行うプリペイドカードユニット制御処理を実行する(ステップS764)。次いで、払出制御用CPU371は、主基板31の遊技制御手段と通信を行う主制御通信処理を実行する(ステップS765)。さらに、カードユニット50からの球貸し要求に応じて貸し球を払い出す制御を行い、また、主基板からの賞球制御信号が示す個数の賞球を払い出す制御を行う賞球球貸し制御処理を実行する(ステップS766)。そして、ステップS790に移行する。
In
タスク3では、払出制御用CPU371は、スイッチチェック数に検出対象の入力数として1をセットし(ステップS783)、発射制御信号タイマのアドレスをポインタにセットする(ステップS784)。そして、スイッチチェック処理を実行する(ステップS761)。従って、タスク3では、発射制御信号の状態チェックのみを実行する。次いで、発射モータ制御処理を実行する(ステップS763)。また、払出モータ制御処理を実行する(ステップS768)。払出モータ制御処理では、払出モータ289を駆動すべきときには、払出モータφ1〜φ4のパターンを出力ポート0に出力するための処理を行う。そして、払出制御用CPU371は、各種のエラーを検出するエラー処理を実行する(ステップS769)。また、遊技機外部に出力される賞球情報や球貸し情報を出力するための情報出力処理を実行する(ステップS770)。また、エラー処理の結果に応じてエラー表示LED374に所定の表示を行うとともに、賞球LED51および球切れLED52を点灯するための表示制御処理を実行する(ステップS771)。なお、払出制御用CPU371は、表示制御処理において、賞球REQ信号がオン状態であるときに、賞球LED51を点灯するための制御を行う。また、賞球REQ信号がオフ状態になったら、賞球LED51を消灯するための制御を行う。
In
また、この実施の形態では、出力ポートの出力状態に対応したRAM領域(出力ポート0バッファ、出力ポート1バッファ、出力ポート2バッファ)が設けられているのであるが、払出制御用CPU371は、出力ポート0バッファ、出力ポート1バッファおよび出力ポート2バッファの内容を出力ポートに出力する(ステップS772:出力処理)。ただし、出力ポート0の下位4ビット(発射モータφ1〜φ4)については、ステップS751で実行されているので、出力処理においては、出力ポート0の下位4ビットについての出力を行わない。出力ポート0バッファ、出力ポート1バッファおよび出力ポート2バッファは、払出モータ制御処理(ステップS768)、プリペイドカード制御処理(ステップS764)、主制御通信処理(ステップS765)、情報出力処理(ステップS770)および表示制御処理(ステップS771)で更新される。そして、ステップS790に移行する。
In this embodiment, a RAM area (
タスク4では、払出制御用CPU371は、スイッチチェック数に検出対象の入力数として2をセットし(ステップS785)、払出個数カウントスイッチタイマのアドレスをポインタにセットする(ステップS786)。そして、スイッチチェック処理を実行する(ステップS761)。従って、タスク4では、払出個数カウントスイッチ301とエラー解除スイッチ375の検出信号の状態チェックのみを実行する。次いで、入力判定処理を実行して(ステップS762)、ステップS790に移行する。
In
タスク5では、払出制御用CPU371は、スイッチチェック数に検出対象の入力数として1をセットし(ステップS787)、発射制御信号タイマのアドレスをポインタにセットする(ステップS788)。そして、スイッチチェック処理を実行する(ステップS761)。従って、タスク3では、発射制御信号の状態チェックのみを実行する。次いで、発射モータ制御処理を実行する(ステップS763)。また、プリペイドカードユニット制御処理を実行する(ステップS764)。次いで、払出制御用CPU371は、主制御通信処理を実行する(ステップS765)。さらに、賞球球貸し制御処理を実行する(ステップS766)。そして、ステップS790に移行する。
In
タスク6では、払出制御用CPU371は、払出モータ制御処理を実行する(ステップS768)。また、エラー処理を実行する(ステップS769)。さらに、情報出力処理を実行する(ステップS770)。また、表示制御処理を実行する(ステップS771)。さらに、出力処理を実行し(ステップS772)、ステップS790に移行する。
In
ステップS790では、タスクカウンタの値を+1した後、ステップS716に戻る。なお、タスクカウンタの値が6になったときには0に戻す。 In step S790, after the task counter value is incremented by 1, the process returns to step S716. When the value of the task counter reaches 6, it is reset to 0.
以上のように、この実施の形態では、タイマ割込が発生したときに、払出制御処理における全ての処理(スイッチチェック処理、入力判定処理、発射モータ制御処理、払出モータ制御処理、プリペイドカードユニット制御処理、主制御通信処理、賞球球貸し制御処理、エラー処理、表示制御処理、出力処理)を実行するのではなく、タイマ割込の発生したときのタスクカウンタの値に応じて、そのうちの一部のみを実行する。従って、タイマ割込の発生周期を比較的短くすることによって(例えば、0.7ms)、短周期で実行すべき処理(例えばステップS751の処理)については短周期で繰り返し実行することができるようになる。また、タイマ割込の周期内で払出制御処理における全ての処理を実行したのでは実行できない処理が発生してしまう可能性があるが、一部のみを実行することによって、実行できない処理が発生してしまうことを防止できる。 As described above, in this embodiment, when a timer interrupt occurs, all processes in the payout control process (switch check process, input determination process, firing motor control process, payout motor control process, prepaid card unit control) Process, main control communication process, prize ball lending control process, error process, display control process, output process), depending on the value of the task counter when the timer interrupt occurs Only the part is executed. Therefore, by making the timer interrupt generation period relatively short (for example, 0.7 ms), the process to be executed in a short period (for example, the process in step S751) can be repeatedly executed in a short period. Become. In addition, there is a possibility that processing that cannot be executed if all processing in the payout control processing is executed within the timer interruption period, but processing that cannot be executed occurs by executing only a part. Can be prevented.
図39は、ステップS763の発射モータ制御処理を示すフローチャートである。発射モータ制御処理において、払出制御用CPU371は、カードユニット50からのVL信号がオフ状態である場合(プリペイドカード未接続)、または満タンスイッチ48がオン状態である場合(下皿満タン)には、ステップS518に移行する(ステップS511,S513)。プリペイドカード未接続でなく、下皿満タンでもない場合にはステップS514に移行する。ステップS514では、払出制御用CPU371は、タッチセンサ信号(発射制御信号)がオン状態になっているか否か確認する。オン状態になっていればステップS515に移行し、オン状態になっていなければステップS518に移行する。
FIG. 39 is a flowchart showing the firing motor control process in step S763. In the firing motor control process, the
ステップS515では、払出制御用CPU371は、発射モータ励磁パターンカウンタを+1する。そして、ROMに格納されている発射モータ励磁パターンテーブルから、励磁パターンカウンタの値に応じたデータを読み出す(ステップS516)。さらに、読み出したデータを、発射モータ励磁パターンバッファにセットする(ステップS517)。上述したように、発射モータ励磁パターンバッファの内容は、ステップS750において出力ポートに出力される。なお、発射モータ励磁パターンテーブルには、発射モータ94を回転させるための各ステップの励磁パターン(発射モータφ1〜φ4)のデータが順次設定されている。
In step S515, the
ステップS518では、未回転データ(発射モータ94を回転させないための励磁パターン)を発射モータ励磁パターンバッファにセットする。
In step S518, non-rotation data (excitation pattern for preventing the firing
以上のように、プリペイドカード未接続または下皿満タンが生じているときに発射モータ94が不能動化されるので、それらが発生しているにも関わらず遊技が進行してしまうことはない。なお、さらに、主基板未接続エラーの通信エラー(接続確認信号のオフ状態)や、不正なタイミングで賞球REQ信号がオンまたはオフした賞球REQ信号エラーが発生した場合にも、発射モータ94を不能動化するようにして、遊技球の遊技領域7への発射ができない状態にしてもよい。
As described above, the firing
すなわち、払出制御手段が、遊技媒体を遊技領域に向けて発射する発射手段(例えば発射モータ94)を駆動するための駆動信号を出力する駆動信号出力制御処理を行う発射制御手段(例えば払出制御手段のうちステップS751,S763を実行する部分)を有するように構成されている場合に、接続確認信号がオフ状態になったときに発射制御手段の動作を停止させるように構成されていてもよい。そのように構成されていない場合には、通信エラーが生じていても遊技媒体を用いた遊技が続行されてしまうことになるが、発射制御手段の動作を停止させるように構成されている場合には、球払出装置97の動作を停止させることになるような通信エラーが生じているにもかかわらず遊技媒体を用いた遊技が続行されてしまうことが防止される。 That is, the discharge control means (for example, the payout control means) performs a drive signal output control process for outputting a drive signal for driving the launch means (for example, the launch motor 94) for launching the game medium toward the game area. In this case, the operation of the firing control unit may be stopped when the connection confirmation signal is turned off. If it is not configured as such, the game using the game medium will continue even if a communication error occurs, but if the operation of the launch control means is configured to stop This prevents the game using the game medium from being continued despite a communication error that would cause the ball payout device 97 to stop operating.
発射モータ94は、例えば、1ステップあたり1.3912ms(=0.6956×2ms)で回転する。また、払出モータ289は、1ステップあたり2.087ms(=0.6956×3ms)で回転する。タイマ割込の周期は、0.6956msである。すなわち、タイマ割込の周期は、発射モータ94に出力されるパルスの間隔(1.3912ms)と払出モータ289に出力されるパルスの間隔(2.087ms)との最大公約数に相当している。タイマ割込の周期をこのように設定すれば、タイマ割込の発生にもとづいて起動される払出制御処理を実行するときに、整数回に1回、発射モータ94にパルスを供給するタイミングおよび払出モータ289にパルスを供給するタイミングが到来するので、発射モータ94および払出モータ289の回転制御を正確に行うことができる。なお、図36〜図38に示されたように、発射モータ制御処理(ステップS763)は、6回のタイマ割込の発生に対して3回実行され(タスク1,3,5)、払出モータ制御処理(ステップS768)は、6回のタイマ割込の発生に対して2回実行される(タスク3,6)。
The firing
図40は、ステップS768の払出モータ制御処理を示すフローチャートである。払出モータ制御処理において、払出制御用CPU371は、払出モータ制御コードの値に応じて、ステップS521〜S526のいずれかの処理を実行する。
FIG. 40 is a flowchart showing the payout motor control process in step S768. In the payout motor control process, the
払出モータ制御コードの値が0の場合に実行される払出モータ通常処理(ステップS521)では、払出制御用CPU371は、ポインタを、ROMに格納されているテーブルの先頭アドレスにセットする。払出モータ通常処理設定テーブルには、球払出時の払出モータ289を回転させるための各ステップの励磁パターン(払出モータφ1〜φ4)のデータが順次設定されている払出モータ励磁パターンテーブルが格納されている。
In the payout motor normal process (step S521) executed when the value of the payout motor control code is 0, the
払出モータ制御コードの値が1の場合に実行される払出モータ起動準備処理(ステップS522)では、払出制御用CPU371は、出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に励磁パターンの初期値を設定する等の処理を行う。
In the payout motor start preparation process (step S522) executed when the value of the payout motor control code is 1, the
払出モータ制御コードの値が2の場合に実行される払出モータスローアップ処理(ステップS523)では、払出制御用CPU371は、払出モータ289を滑らかに回転開始させるために、定速処理の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔に近づくような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。読み出しに際して、ポインタが指すアドレスの払出モータ励磁パターンテーブルの内容を読み出すとともに、ポインタの値を+1する。
In the payout motor slow-up process (step S523) executed when the value of the payout motor control code is 2, the
払出モータ制御コードの値が3の場合に実行される払出モータ定速処理(ステップS524)では、払出制御用CPU371は、定期的に払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。
In the payout motor constant speed process (step S524) executed when the value of the payout motor control code is 3, the
払出モータ制御コードの値が4の場合に実行される払出モータブレーキ処理(ステップS525)では、払出制御用CPU371は、払出モータ289を滑らかに停止させるために、定速処理の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔から遠ざかるような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。
In the payout motor brake process (step S525) executed when the value of the payout motor control code is 4, the
払出モータ制御コードの値が5の場合に実行される球噛み時払出モータブレーキ処理(ステップS526)では、払出制御用CPU371は、球噛みを解除するための回転の場合に、払出モータ289を滑らかに停止させるために、球噛みを解除するための払出モータ289の回転の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔から遠ざかるような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。
In the ball biting payout motor brake process (step S526) executed when the value of the payout motor control code is 5, the
図41は、ステップS765の主制御通信処理を示すフローチャートである。主制御通信処理では、払出制御用CPU371は、主制御通信制御コードの値に応じて、ステップS531〜S533のいずれかの処理を実行する。
FIG. 41 is a flowchart showing the main control communication process in step S765. In the main control communication process, the
図42は、主制御通信通常処理において賞球制御信号を入力ポートを介して入力するための条件を示す説明図である。図42に示すように、RAMに形成されている1バイトのエラーフラグにおける主制御未接続エラー(接続確認信号のオフ)、賞球REQ信号エラー(賞球REQ信号が不正なタイミングでオンまたはオフ)のエラービットがセット状態ではなく、かつ、カードユニット50からのBRDY信号がオン状態ではない場合に、接続確認信号がオン状態であって、かつ、賞球REQ信号がオン状態になると、払出制御手段は、賞球制御信号を入力ポートを介して入力する。なお、エラービットとは、各種のエラーが発生したことが検出されたときにセットされるエラーフラグにおけるビットである。
FIG. 42 is an explanatory diagram showing conditions for inputting a prize ball control signal via the input port in the main control communication normal process. As shown in FIG. 42, the main control unconnected error (connection confirmation signal is turned off) in the 1-byte error flag formed in the RAM, the prize ball REQ signal error (the prize ball REQ signal is turned on or off at an incorrect timing) ) Is not in the set state and the BRDY signal from the
図43は、主制御通信制御コードの値が0の場合に実行される主制御通信通常処理(ステップS531)を示すフローチャートである。主制御通信通常処理において、払出制御用CPU371は、エラービット(主制御未接続エラービットまたは賞球REQ信号エラービット)がオンしている場合には、以降の処理を実行せずに処理を終了する(ステップS541)。ステップS541では、エラーフラグ中の2つのビットのうち1つでもセットされていたら、エラービットがセットされていると判断する。
FIG. 43 is a flowchart showing a main control communication normal process (step S531) executed when the value of the main control communication control code is zero. In the main control communication normal processing, when the error bit (main control unconnected error bit or prize ball REQ signal error bit) is on, the
また、払出制御用CPU371は、BRDY信号がオン状態であれば、以降の処理を実行せずに処理を終了する(ステップS542)。BRDY信号がオン状態であるということは、カードユニット50から球貸し要求が発生していることまたは球貸し処理中を意味する。すなわち、球貸し要求が発生しているときまたは球貸し処理中であるときには、主基板31の遊技制御手段との通信(賞球払出に関する通信)が進行しない。
If the BRDY signal is on, the
ステップS541〜S542の条件が成立せず、接続確認信号がオン状態である場合には、払出制御用CPU371は、賞球REQ信号がオン状態になっているか否か確認する(ステップS543,S544)。オン状態になっている場合には、賞球制御信号が示す賞球数を賞球未払出個数カウンタの内容にセットし(ステップS545)、賞球BUSY信号をオン状態にするための処理を行う(ステップS546)。具体的には、出力ポート1の出力状態に対応した出力ポート1バッファにおける賞球BUSY信号に対応したビットをオン状態に設定する。そして、主制御通信制御コードの値を1にして(ステップS548)、処理を終了する。
If the conditions of steps S541 to S542 are not satisfied and the connection confirmation signal is on, the
なお、払出制御手段は、ステップS545において賞球制御信号が賞球数として0個を示していたら、ステップS546の処理を実行しない。遊技制御手段は、賞球BUSY信号をオン状態にした場合に賞球数として0個を示す賞球制御信号を送信することはなく、また、賞球払出待機中において賞球制御信号が0個を示す状態(無効コマンドを出力する状態)にしているので、賞球REQ信号がオン状態であって賞球制御信号が0個を示す状態になっているということは、ノイズ等で基板間で賞球BUSY信号がオン状態になってしまったと考えられる。従って、そのような状況では、払出制御手段は、ステップS546の処理を実行しないことによって、賞球BUSY信号をオン状態にしないことが好ましい。 The payout control means does not execute the process of step S546 if the prize ball control signal indicates 0 as the number of prize balls in step S545. The game control means does not transmit a prize ball control signal indicating 0 as the number of prize balls when the prize ball BUSY signal is turned on. (Invalid command output state), the prize ball REQ signal is on and the prize ball control signal indicates zero. It is considered that the winning ball BUSY signal has been turned on. Therefore, in such a situation, it is preferable that the payout control means does not turn on the prize ball BUSY signal by not executing the process of step S546.
図44は、主制御通信制御コードの値が1の場合に実行される主制御通信中処理(ステップS532)を示すフローチャートである。主制御通信中処理において、払出制御用CPU371は、接続確認信号がオン状態であれば(ステップS551)、賞球REQ信号の状態を確認する(ステップS552)。賞球REQ信号がオフ状態になっていたら、エラーフラグのうち賞球REQ信号エラービットをセットする(ステップS553)。この段階で、直ちに賞球REQ信号がオフ状態になってしまうのはおかしいからである。
FIG. 44 is a flowchart showing main control communication processing (step S532) executed when the value of the main control communication control code is 1. In the main control communication process, the
次いで、払出制御用CPU371は、賞球動作中フラグがリセットされているか否か確認する(ステップS554)。賞球動作中フラグは、賞球球貸し制御処理において、賞球払出が完了したらリセットされる(ステップS655)。賞球動作中フラグがリセットされていなければ処理を終了する。賞球動作中フラグがリセットされていたら、賞球BUSY信号をオフ状態にするための処理を行う。具体的には、出力ポート1の出力状態に対応した出力ポート1バッファにおける賞球BUSY信号に対応したビットをオフ状態に設定する(ステップS556)。また、主制御通信制御タイマに賞球REQ信号オフ監視時間(この例では24)をセットする(ステップS557)。主制御通信制御タイマは、主基板31の遊技制御手段との通信に関わる時間の監視等に使用されるタイマであるが、この段階では、賞球REQ信号がオフ状態になることを監視するための賞球REQ信号オフ監視時間がセットされる。そして、主制御通信制御コードの値を2にして(ステップS558)、処理を終了する。
Next, the
図45は、主制御通信制御コードの値が2の場合に実行される主制御通信終了処理(ステップS533)を示すフローチャートである。主制御通信中処理において、払出制御用CPU371は、エラービット(主制御未接続エラービットまたは賞球REQ信号エラービット)がオンしている場合には、ステップS567に移行する(ステップS561)。また、接続確認信号がオフ状態である場合にもステップS567に移行する(ステップS562)。エラービットがともにオフ状態であって接続確認信号がオン状態である場合には、賞球REQ信号がオフ状態になったか否かを確認する(ステップS563)。オフ状態になったらステップS567に移行する。
FIG. 45 is a flowchart showing a main control communication end process (step S533) executed when the value of the main control communication control code is 2. In the main control communication process, when the error bit (main control unconnected error bit or prize ball REQ signal error bit) is on, the
賞球REQ信号がオフ状態になっていない場合には、主制御通信制御タイマの値を確認する(ステップS564)。主制御通信制御タイマの値が0になっていなければ主制御通信制御タイマの値を−1する(ステップS565)。主制御通信制御タイマの値が0になっていたら、監視時間内に賞球REQ信号がオフしなかったとして、エラーフラグのうち賞球REQ信号エラービットをセットし(ステップS566)、ステップS567に移行する。 If the prize ball REQ signal is not turned off, the value of the main control communication control timer is confirmed (step S564). If the value of the main control communication control timer is not 0, the value of the main control communication control timer is decremented by 1 (step S565). If the value of the main control communication control timer is 0, it is determined that the prize ball REQ signal has not been turned off within the monitoring time, and the prize ball REQ signal error bit is set in the error flag (step S566). Transition.
ステップS567では、主制御通信制御コードの値を0にして、処理を終了する。 In step S567, the value of the main control communication control code is set to 0, and the process ends.
図46は、ステップS766の賞球球貸し制御処理を示すフローチャートである。賞球球貸し制御処理において、払出制御用CPU371は、払出個数カウントスイッチ301の検出信号がオン状態になったことを確認したら(ステップS601)、球貸し中であれば球貸し未払出個数カウンタの値を1減らし(ステップS602,S604)、球貸し中でなければ賞球未払出個数カウンタの値を1減らす(ステップS602,S603)。その後、払出制御コードの値に応じてステップS610〜S612のいずれかの処理を実行する。
FIG. 46 is a flowchart showing the prize ball lending control processing in step S766. In the winning ball lending control process, the
図47は、払出制御コードが0の場合に実行される払出開始待ち処理(ステップS610)を示すフローチャートである。払出開始待ち処理において、払出制御用CPU371は、エラービットがセットされていたら、以降の処理を実行しない(ステップS621)。エラーフラグにおけるエラービットには、主基板未接続エラーのビットが含まれている。また、主基板未接続エラーは主基板31からの接続確認信号がオフ状態であるときにセットされる。従って、払出制御手段は、遊技機に対して電力供給が開始された後、接続確認信号がオン状態になったことを条件に、実質的な制御を開始する。
FIG. 47 is a flowchart showing the payout start waiting process (step S610) executed when the payout control code is 0. In the payout start waiting process, the
また、BRDY信号がオン状態でなければ、ステップS631以降の賞球払出のための処理を実行する。BRDY信号がオン状態であって、さらに、球貸し要求信号であるBRQ信号がオン状態になっていたら球貸し動作中フラグをセットする(ステップS623,S624)。そして、球貸し未払出個数カウンタに「25」をセットし(ステップS625)、払出モータ回転回数バッファに「25」をセットする(ステップS626)。 On the other hand, if the BRDY signal is not in the on state, processing for paying out a prize ball after step S631 is executed. If the BRDY signal is on and the BRQ signal, which is a ball lending request signal, is on, a ball lending operation flag is set (steps S623 and S624). Then, “25” is set in the unpaid ball lending number counter (step S625), and “25” is set in the payout motor rotation number buffer (step S626).
払出モータ回転回数バッファは、払出モータ制御処理(ステップS768)において参照される。すなわち、払出モータ制御処理では、払出モータ回転回数バッファにセットされた値に対応した回転数分だけ払出モータ289を回転させる制御が実行される。
The payout motor rotation frequency buffer is referred to in the payout motor control process (step S768). That is, in the payout motor control process, control is performed to rotate the
その後、払出制御用CPU371は、払出モータ制御処理で実行される処理を選択するための払出モータ制御コードに、払出モータ起動準備処理(ステップS522)に応じた値(具体的は「1」)をセットし(ステップS627)、払出制御コードの値を1にして(ステップS628)、処理を終了する。
Thereafter, the
ステップS631では、払出制御用CPU371は、賞球未払出個数カウンタの値が0であるか否かを確認する(ステップS631)。0であれば処理を終了する。賞球未払出個数カウンタには、主制御通信通常処理におけるステップS545において、すなわち、主基板31の遊技制御手段から賞球REQ信号を受けたときに、0でない値(賞球制御信号が示す数)がセットされている。賞球未払出個数カウンタの値が0でない場合には、払出モータ回転回数バッファに賞球未払出個数カウンタの値をセットする(ステップS633)。そして、賞球動作中フラグをセットし(ステップS635)、ステップS627に移行する。
In step S631, the
図48は、払出制御コードが1の場合に実行される払出モータ停止待ち処理(ステップS611)を示すフローチャートである。払出モータ停止待ち処理において、払出制御用CPU371は、払出動作が終了したか否か確認する(ステップS641)。払出制御用CPU371は、例えば、払出モータ制御処理における払出モータブレーキ処理(ステップS525)が終了するときにその旨のフラグをセットし、ステップS641においてそのフラグを確認することによって払出動作が終了したか否かを確認することができる。
FIG. 48 is a flowchart showing a payout motor stop waiting process (step S611) executed when the payout control code is 1. In the payout motor stop waiting process, the
払出動作が終了した場合には、払出制御用CPU371は、払出制御監視タイマに払出通過監視時間をセットする(ステップS642)。払出通過監視時間は、最後の払出球が払出モータ289によって払い出されてから払出個数カウントスイッチ301を通過するまでの時間に、余裕を持たせた時間である。そして、払出制御コードの値を2にして(ステップS643)、処理を終了する。
When the payout operation is completed, the
図49〜図51は、払出制御コードの値が2の場合に実行される払出通過待ち処理(ステップS612)を示すフローチャートである。払出通過待ち処理では、賞球払出が行われているときには、賞球未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。賞球未払出個数カウンタの値が0になっていない場合には、エラー状態でなければ、払出不足分の遊技球(賞球未払出個数カウンタの値が示す個数の遊技球)の再払出動作を、2回を上限として試みる。再払出動作において払出個数カウントスイッチ301によって遊技球が実際に払い出されたことが検出されたら正常に払出が完了したと判定される。なお、この実施の形態では、賞球REQ信号を受信したときに賞球未払出個数カウンタにセットされた個数の遊技球が払い出されるように払出モータ289を回転させたのであるから、賞球未払出個数カウンタの値が0になっていない場合には、正常に払出が完了していないことになる。
49 to 51 are flowcharts showing the payout passing waiting process (step S612) executed when the value of the payout control code is 2. In the payout passing waiting process, when the prize ball is being paid out, it is determined that the payout has been completed normally if the value of the prize ball unpaid number counter is 0. If the value of the award ball unpaid number counter is not 0, if there is no error state, the game balls for the shortage of payout (the number of game balls indicated by the value of the award ball unpaid number counter) are repaid. To the upper limit of 2 times. In the re-payout operation, when it is detected by the payout
また、球貸し払出が行われているときには、球貸し未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。球貸し未払出個数カウンタの値が0になっていない場合には、エラー状態でなければ、球貸し残数(球貸し未払出個数カウンタの値に相当)の再払出動作を試みる。なお、この実施の形態では、1回の球貸し払出動作で払い出される遊技球数は25個(固定値)であり、25個の遊技球が払い出されるように払出モータ289を回転させたのであるから、球貸し未払出個数カウンタの値が0になっていない場合には、正常に払出が完了していないことになる。
Further, when the ball lending is being paid out, it is determined that the payout has been completed normally if the value of the ball lending unpaid-out counter is 0. If the value of the unsold ball counter is not 0, if the error is not in an error state, an attempt is made to re-pay the remaining ball lending (corresponding to the unsold ball counter). In this embodiment, the number of game balls to be paid out in one ball lending and payout operation is 25 (fixed value), and the
払出通過待ち処理において、払出制御用CPU371は、まず、払出制御タイマの値を確認し、その値が0になっていればステップS653に移行する(ステップS650)。払出制御タイマの値が0でなければ、払出制御タイマの値を−1する(ステップS651)。そして、払出制御タイマの値が0になっていなければ(ステップS652)、すなわち払出制御タイマがタイムアウトしていなければ処理を終了する。なお、ステップS650の処理は、後述する遊技球払出のリトライ動作が開始されたときのことを考慮した処理である。後述するステップS807の処理が実行された場合には、ステップS650からS653に移行するルートを経てリトライ動作が開始される。
In the payout waiting process, the
払出制御タイマがタイムアウトしていれば(ステップS652)、球貸し払出処理(球貸し動作)を実行していたか否か確認する(ステップS653)。球貸し動作を実行していたか否かは、RAMに形成されている払出制御状態フラグにおける球貸し動作中ビットがセットされているか否かによって確認される。球貸し動作を実行していない場合、すなわち、賞球払出処理(賞球動作)を実行していた場合には、払出制御用CPU371は、賞球未払出個数カウンタの値を確認する(ステップS654)。賞球未払出個数カウンタの値が0になっている場合には、正常に賞球払出処理が完了したとして、払出制御状態フラグにおける再払出動作中1ビット、再払出動作中2ビット、賞球動作中フラグおよび球貸し動作中ビットをリセットし(ステップS655)、払出制御コードを0にして(ステップS656)、処理を終了する。
If the payout control timer has timed out (step S652), it is confirmed whether or not the ball lending payout process (ball lending operation) has been executed (step S653). Whether or not the ball lending operation has been executed is confirmed by whether or not the ball lending operation in progress flag in the payout control state flag formed in the RAM is set. When the ball lending operation is not executed, that is, when the prize ball payout process (prize ball operation) is executed, the
払出制御用CPU371は、賞球未払出個数カウンタの値が0になっていない場合には、エラーフラグ(具体的には、払出スイッチ異常エラー1ビット、払出スイッチ異常エラー2ビットおよび払出ケースエラービットのうちのいずれか1ビットまたは複数ビット)がセットされていないことを条件として(ステップS659)、また、主制御未接続エラービットがセットされていないことを条件として(ステップS660)、再払出動作を実行する。なお、払出スイッチ異常エラー1ビット、払出スイッチ異常エラー2ビットおよび払出ケースエラービットのうちのいずれか1ビットまたは複数ビットがセットされている場合には、再払出動作を実行しない。また、主制御未接続エラービットがセットされている場合にも、再払出動作を実行しない。
The
なお、ステップS660において主制御未接続エラービットがセットされていることを検出した場合には、賞球未払出個数カウンタの値をクリアして(ステップS661)、ステップS655に移行する。よって、主制御未接続エラービットがセットされている場合には、賞球未払出個数カウンタの値の0になっていなくても(払出不足があっても)、賞球動作中フラグがリセットされる。よって、主制御通信処理(図44参照)において、賞球BUSY信号がオフ状態にされる(ステップS556)。 If it is detected in step S660 that the main control unconnected error bit is set, the value of the award ball unpaid number counter is cleared (step S661), and the process proceeds to step S655. Therefore, when the main control unconnected error bit is set, the prize ball operating flag is reset even if the value of the prize ball unpaid number counter is not 0 (even if there is insufficient payout). The Therefore, in the main control communication process (see FIG. 44), the prize ball BUSY signal is turned off (step S556).
主制御未接続エラービットがセットされているということは、主基板31からの接続確認信号がオフ状態になっていることを意味する(後述するステップS815,S816参照)。ステップS610,S611,S612の処理を順次実行して賞球払出処理を実行し、かつ、接続確認信号がオフ状態になっているということは、例えば、基板間でのノイズ等のために賞球REQ信号がオン状態として検出され、かつ、ノイズ等のために賞球制御信号が何らかの個数を指定している状態であると検出されたことにより、ステップS545(図43参照)において賞球未払出個数カウンタに0でない値がセットされ賞球払出処理が開始された可能性が高い。すなわち、そのような状況でも、払出制御手段が賞球BUSY信号をオン状態にする(図43のステップS546参照)。一方、遊技制御手段は、賞球払出待機中において賞球BUSY信号がオン状態になったことに起因して接続確認信号をオフ状態にしている(図23参照)。従って、主制御未接続エラービットがセットされているということは、払出制御手段が誤って賞球払出処理を開始したことになるので、再払出動作を行うことは不要なことである。
The fact that the main control unconnected error bit is set means that the connection confirmation signal from the
再払出処理(再払出動作を行わせるための制御)を実行するために、払出制御用CPU371は、まず、再払出動作中2ビットがセットされているか否か確認する(ステップS662)。セットされていなければ、再払出動作中1ビットがセットされているか否か確認する(ステップS663)。再払出動作中1ビットもセットされていなければ、初回の再払出動作を実行するために、再払出動作中1ビットをセットし(ステップS665)、払出モータ回転回数バッファに賞球未払出数個数カウンタまたは球貸し未払出数個数カウンタの値をセットする(ステップS666)。払出モータ回転回数バッファは、払出モータ制御処理(ステップS768)において参照される。すなわち、払出モータ制御処理では、払出モータ回転回数バッファにセットされた値に対応した回転数分だけ払出モータ289を回転させる制御が実行される。なお、ステップS666において、球貸し未払出数個数カウンタの値も取り扱われるのは、球貸し払出処理における再払出処理でもステップS666が用いられるからである。すなわち、払出制御用CPU371は、ステップS666において、賞球払出処理における再払出処理では賞球未払出数個数カウンタの値をセットし、球貸し払出処理における再払出処理では球貸し未払出数個数カウンタの値をセットする。その後、払出制御コードを1にして(ステップS667)、処理を終了する。
In order to execute the re-payout process (control for performing the re-payout operation), the
ステップS663において、再払出動作中1ビットがセットされていることを確認したら、払出制御用CPU371は、2回目の再払出を実行するために、再払出動作中1ビットをリセットし(ステップS669)、再払出動作中2ビットをセットする(ステップS670)。そして、ステップS666に移行する。
In step S663, when it is confirmed that 1 bit is set during the re-payout operation, the
ステップS662において、再払出動作中2ビットがセットされていることを確認したら、払出制御用CPU371は、2回の再払出処理を実行しても払出不足分の遊技球が払い出されなかったとして、エラーフラグにおける払出ケースエラービットをセットする(ステップS672)。その際に、再払出動作中2ビットをリセットしておく(ステップS671)。そして、処理を終了する。
If it is confirmed in step S662 that 2 bits are set during the re-payout operation, the
以上のように、再払出処理(補正払出処理)において所定回(この例では2回)の再払出動作を行っても遊技球の払出不足が解消されない場合には、遊技球の払出動作不良として、払出個数カウントスイッチ未通過エラービット(払出ケースエラービット)がセットされる。 As described above, if the game ball payout shortage is not resolved even after performing the predetermined payout operation (two times in this example) in the repayout process (corrected payout process), the game ball payout operation is defective. The payout count switch non-passing error bit (payout case error bit) is set.
従って、この実施の形態では、払出制御手段における景品遊技媒体払出制御手段は、払出検出手段としての払出個数カウントスイッチ301からの検出信号にもとづいて、景品遊技媒体の払い出しが完了しなかったことを検出したときに、あらかじめ決められた所定回(この例では2回)を限度として、払出手段に不足分の景品遊技媒体の払い出しを行わせるように制御を行う。なお、この実施の形態では、景品遊技媒体を払い出すためのリトライ動作を2回行っても景品遊技媒体の払い出しが行われなかった場合には、払出ケースエラービットをセットしてエラー発生中状態になるが(ステップS672)、景品遊技媒体の払い出しが完了しなかったことを初めて検知したときに払出ケースエラービットをセットしてもよい。なお、「リトライ動作(あるいは「リトライ」、「リトライ動作処理」)」とは、所定数の遊技球の払い出しを行うための通常の払出処理を実行したのにもかかわらず、実際の払い出し数が少ない場合に実行させる動作であって、通常の払出処理とは別に、未払出の遊技球を払い出すために払出処理を再度実行させるための動作(すなわち再払出動作)を意味する。
Therefore, in this embodiment, the prize game medium payout control means in the payout control means confirms that the payout of the prize game medium has not been completed based on the detection signal from the payout
賞球球貸し制御処理において、払出動作(1回の賞球払出または1回の球貸し)を行うか否か判定するためにエラービットがチェックされるのは、図47に示された払出開始待ち処理においてのみである。図48に示された払出モータ停止待ち処理および図49等に示された払出通過待ち処理では、エラービットはチェックされない。なお、払出通過待ち処理におけるステップS658等でもエラービットがチェックされているが、そのチェックは再払出動作を行うか否かを判断するためであって、払出動作(1回の賞球払出または1回の球貸し)を開始するか否か判定するためではない。従って、ステップS626、S633またはステップS634の処理が行われて遊技球の払出処理が開始された後では、エラーが発生しても払出処理は中断されない。すなわち、エラーが発生すると、遊技球の払出処理は、切りのよい時点(1回の賞球払出または1回の球貸しが終了した時点)まで継続される。なお、ステップS621でチェックされるエラーフラグにおけるエラービットの中には、主基板31からの接続確認信号がオフ状態になったことを示すエラービットが含まれている。よって、接続確認信号がオフ状態になったときにも、遊技球の払出処理は、切りのよい時点で停止される。また、1回の賞球払出または1回の球貸しとは、賞球未払出個数カウンタまたは球貸し未払出個数カウンタに0でない値がセットされてから賞球未払出個数カウンタまたは球貸し未払出個数カウンタの値が0になるまでの遊技球払出処理を意味する。
In the winning ball lending control process, the error bit is checked to determine whether or not to perform a payout operation (one winning ball payout or one ball lending). The payout start shown in FIG. Only in the waiting process. In the payout motor stop waiting process shown in FIG. 48 and the payout passing wait process shown in FIG. 49 and the like, the error bit is not checked. Note that the error bit is also checked in step S658 and the like in the payout passing waiting process, but this check is for determining whether or not a re-payout operation is to be performed. This is not to determine whether or not to start the lending of the ball. Therefore, after the process of step S626, S633, or step S634 is performed and the game ball payout process is started, the payout process is not interrupted even if an error occurs. In other words, when an error occurs, the game ball payout process is continued until a point at which the game ball can be cut well (at the time when one prize ball payout or one ball lending ends). The error bits in the error flag checked in step S621 include an error bit indicating that the connection confirmation signal from the
接続確認信号がオフ状態になったとき、特許文献2に記載の遊技機と同様に、払い出しを中断し、エラー状態から回復したときに払い出しを再開する構成にすると、データ(未払出分の遊技媒体の個数情報)の管理が複雑になってしまうが、本発明では、予定数の景品遊技媒体の払い出しが完了して、切りのよい時点で払出処理を停止する。従って、そのようなデータを管理する必要がなく、制御を簡易化することができる。
When the connection confirmation signal is turned off, similarly to the gaming machine described in
ステップS653で球貸し払出処理(球貸し動作)を実行していたことを確認すると、払出制御用CPU371は、球貸し未払出個数カウンタの値が0になっているか否か確認する(ステップS657)。0になっていれば、正常に球貸し払出処理が完了したとしてステップS655に移行する。
Upon confirming that the ball lending / dispensing process (ball lending operation) has been executed in step S653, the
球貸し未払出個数カウンタの値が0になっていなければ、エラーフラグ(具体的には、払出スイッチ異常エラー1ビット、払出スイッチ異常エラー2ビットおよび払出ケースエラービットのうちのいずれか1ビットまたは複数ビット)がセットされていないことを条件として(ステップS675)、再払出処理を実行する。なお、エラーフラグがセットされている場合には、再払出処理を実行しない。
If the value of the ball lending unpaid number counter is not 0, an error flag (specifically, any one bit of the payout switch
再払出処理を実行するために、払出制御用CPU371は、まず、再払出動作中2ビットがセットされているか否か確認する(ステップS676)。セットされていなければ、再払出動作中1ビットがセットされているか否か確認する(ステップS677)。再払出動作中1ビットもセットされていなければ、初回の再払出動作を実行するために、再払出動作中1ビットをセットし(ステップS679)、ステップS666に移行する。
In order to execute the re-payout process, the pay-out
ステップS677において、再払出動作中1ビットがセットされていることを確認したら、払出制御用CPU371は、再払出動作を再度実行するための処理を行う。具体的には、再払出動作中1ビットをリセットする(ステップS681)。そして、再払出動作中2ビットをセットし(ステップS685)、ステップS666に移行する。
In step S677, when it is confirmed that 1 bit is set during the re-payout operation, the
ステップS676において、再払出動作中2ビットがセットされていることを確認したら、払出制御用CPU371は、再払出動作中2ビットをリセットし(ステップS686)、エラーフラグにおける払出ケースエラービットをセットする(ステップS688)。そして、処理を終了する。
In step S676, when it is confirmed that 2 bits during re-payout operation are set, the
以上のように、球貸し処理に係る再払出処理(補正払出処理)において連続して2回の再払出動作を行っても遊技球の払出不足が解消されないが場合には、遊技球の払出動作不良として、払出個数カウントスイッチ未通過エラービット(払出ケースエラービット)がセットされる。 As described above, in the case where the shortage of game balls is not solved even if two re-payout operations are continuously performed in the re-payout processing (corrected payout processing) related to the ball lending processing, As a failure, a payout count switch non-passing error bit (payout case error bit) is set.
図52は、払出モータ制御処理(ステップS768)において実行される球噛み検出処理を説明するためのタイミング図である。払出モータ制御処理における払出モータ定速処理(ステップS524)では、払出制御用CPU371は、払出モータ位置センサ295の検出信号を監視している。払出モータ位置センサ295の検出信号は、例えば、払出モータ289と連動して回転するカムが1回転する毎に2回オン状態になる。カムが1回転する毎に検出信号が2回出力されるようにするために、カムにおいて、払出モータ位置センサ295における発光部からの光を受ける部分における2箇所(軸に対して対称な位置)に反射体が設けられている。そして、払出モータ位置センサ295における受光部の出力を検出信号とする。
FIG. 52 is a timing chart for explaining the ball biting detection process executed in the payout motor control process (step S768). In the payout motor constant speed process (step S524) in the payout motor control process, the
従って、払出制御用CPU371は、払出モータ289に対して1/2回転以上のステップ数の励磁パターンを与えたにもかかわらず、払出モータ位置センサ295の検出信号がオン状態にならない場合には、実際には、カムの部分等にごみなどの異物が付着して遊技球が詰まった(球噛みが生じた)こと等に起因して払出モータ289が回転せず、その結果、カムが回転していないと判断することができる。
Therefore, even if the
この実施の形態では、払出モータ289は、16ステップ(1ステップあたり2.087ms)分の励磁パターンを受けると1回転して1個の遊技球を払い出す。そして、払出制御用CPU371は、例えば、図52に示すように、払出制御用CPU371は、払出モータ289に対して8ステップ分の励磁パターンを与える毎に払出モータ位置センサ295の検出信号を確認して、払出モータ289が回転しているか否か判定する。そして、5回連続して同一状態(払出モータ位置センサ295の検出信号がオフ状態が5回連続、またはオン状態が5回連続)であったら、球噛みが生じたとして、払出モータ制御処理において球噛み解除処理を実行する。
In this embodiment, when the
払出制御用CPU371は、球噛み解除処理において、図53に示すように、払出モータ289を高速回転させる処理と低速回転させる処理とを所定回(例えば9回)繰り返す。そして、払出モータ289に対して8ステップ分の励磁パターンを与える毎に払出モータ位置センサ295の検出信号を確認して、払出モータ289が回転しているか否か判定する。検出信号によって払出モータ289の回転が復旧したと判断される場合には、球噛み解除処理を終了して、通常の球払出処理に戻る。
As shown in FIG. 53, the
高速回転させる処理と低速回転させる処理とを所定回実行しても払出モータ位置センサ295の検出信号に変化が生じなかった場合には、エラーフラグのうち、球噛みエラービット(払出ケースエラービット)をセットする。なお、払出ケースエラービットがセットされている場合には、払出制御用CPU371は、払出モータ289を駆動しない。また、払出ケースエラービットがリセットされると(図55におけるステップS807参照)、払出制御用CPU371は、払出モータ289を駆動できる状態に戻る。
If there is no change in the detection signal of the payout
このように、払出制御手段は、払出手段の動作状態を監視する駆動状態監視手段と、駆動状態監視手段が払出手段の動作不良を検出したときに払出手段の駆動を停止させる駆動停止手段とを含む。 Thus, the payout control means includes a drive state monitoring means for monitoring the operating state of the payout means, and a drive stop means for stopping the driving of the payout means when the drive state monitoring means detects a malfunction of the payout means. Including.
次に、エラー処理について説明する。図54は、エラーの種類とエラー表示用LED374の表示との関係等を示す説明図である。図54に示すように、主基板31からの接続確認信号がオフ状態になった場合には、払出制御用CPU371は、主基板未接続エラーとして、エラー表示用LED374に「1」を表示する制御を行う。払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分において球詰まりが発生した場合には、払出スイッチ異常検知エラー1として、エラー表示用LED374に「2」を表示する制御を行う。なお、払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分において球詰まりが発生したことは、払出個数カウントスイッチ301の検出信号がオフ状態にならなかったことによって判定される。
Next, error processing will be described. FIG. 54 is an explanatory diagram showing the relationship between the type of error and the display of the
遊技球の払出動作中でないにも関わらず払出個数カウントスイッチ301の検出信号がオン状態になった場合には、払出スイッチ異常検知エラー2として、エラー表示用LED374に「3」を表示する制御を行う。払出モータ289の回転異常または遊技球が払い出されたにも関わらず払出個数カウントスイッチ301の検出信号がオン状態にならない場合には、払出ケースエラーとして、エラー表示用LED374に「4」を表示する制御を行う。払出個数カウントスイッチ301の検出信号がオン状態にならないことの具体的な検出方法は既に説明したとおりである。不正なタイミングで賞球REQ信号がオン状態になった場合、または不正なタイミングで賞球REQ信号がオフ状態になった場合には、賞球REQ信号エラーとして、エラー表示用LED374に「5」を表示する制御を行う。不正なタイミングで賞球REQ信号がオン状態またはオフ状態になったことの具体的な検出方法は既に説明したとおりである。
When the detection signal of the payout
また、下皿満タン状態すなわち満タンスイッチ48がオン状態になった場合には、満タンエラーとして、エラー表示用LED374に「6」を表示する制御を行う。補給球の不足状態すなわち球切れスイッチ187がオン状態になった場合には、球切れエラーとして、エラー表示用LED374に「7」を表示する制御を行う。
In addition, when the lower pan is full, that is, when the
さらに、カードユニット50からのVL信号がオフ状態になった場合には、プリペイドカードユニット未接続エラーとして、エラー表示用LED374に「8」を表示する制御を行う。不正なタイミングでカードユニット50と通信がなされた場合には、プリペイドカードユニット通信エラーとして、エラー表示用LED374に「9」を表示する制御を行う。なお、プリペイドカードユニット通信エラーは、プリペイドカードユニット制御処理(ステップS764)において検出される。
Further, when the VL signal from the
以上のエラーのうち、払出スイッチ異常検知エラー2、払出ケースエラーまたは賞球REQ信号エラーが発生した後、エラー解除スイッチ375が操作されエラー解除スイッチ375から操作信号が出力されたら(オン状態になったら)、払出制御手段は、エラーが発生する前の状態に復帰する。
Among the above errors, after a payout switch
図55は、ステップS769のエラー処理を示すフローチャートである。エラー処理において、払出制御用CPU371は、エラーフラグをチェックし、そのうちのセットされているビットが、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのみ(3つのうちのいずれかのビットのみ、もしくは3つのうちの2ビットのみ、またはそれら3ビットのみ)であるか否か確認する(ステップS801)。セットされているビットがそれらのみである場合には、エラー解除スイッチ375から操作信号がオン状態になったか否か確認する(ステップS802)。操作信号がオン状態になったら、エラー復帰時間をエラー復帰前タイマにセットする(ステップS803)。エラー復帰時間は、エラー解除スイッチ375が操作されてから、実際にエラー状態から通常状態に復帰するまでの時間である。
FIG. 55 is a flowchart showing the error processing in step S769. In the error processing, the
エラー解除スイッチ375から操作信号がオン状態でない場合には、エラー復帰前タイマの値を確認する(ステップS804)。エラー復帰前タイマの値が0であれば、すなわち、エラー復帰前タイマがセットされていなければ、ステップS808に移行する。エラー復帰前タイマがセットされていれば、エラー復帰前タイマの値を−1し(ステップS805)、エラー復帰前タイマの値が0になったら(ステップS806)、エラーフラグのうちの、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのビットをリセットし(ステップS807)、ステップS808に移行する。
If the operation signal from the
なお、ステップS807の処理が実行されるときに、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのビットのうちには、セット状態ではないエラービットがある場合もあるが、セット状態にないエラービットをリセットしても何ら問題はない。以上のように、この実施の形態では、払出スイッチ異常検知エラー2、払出ケースエラーまたは賞球REQ信号エラーのビットをセットする原因になったエラー(図54参照)が発生した場合には、エラー解除スイッチ375が押下されることによってエラー解除される。
When the processing of step S807 is executed, there may be an error bit that is not in the set state among the bits of the payout switch
ステップS807の処理が実行されて払出ケースエラービットがリセットされた場合には、払出制御コードが「2」(図49〜図51に示す払出通過待ち処理の実行に対応)であって、賞球未払出個数カウンタの値または球貸し未払出個数カウンタの値が0でないときには、遊技球払出のリトライ動作が開始される。つまり、次にステップS766の賞球球貸し制御処理が実行されるときにステップS612の払出通過待ち処理が実行されると、再び、再払出処理が行われる。例えば、賞球払出処理が行われていた場合には、賞球未払出個数カウンタの値が0でないときには、ステップS654からステップS659に移行し、ステップS659においてエラービットがリセット状態であることが確認されるので、ステップS662以降の再払出処理を開始するための処理が再度実行され、再払出処理が実行される。なお、エラー解除スイッチ375が押下されることによってリセットされた払出ケースエラービットに関して、そのビットがセットされたときには(ステップS672が実行されたとき)、払出制御タイマは既にタイムアップしている。従って、ステップS807の処理が実行されて払出ケースエラービットがリセットされた場合には、次に払出通過待ち処理が実行されるときには、ステップS652の判断において払出制御タイマ=0と判定される。従って、ステップS659においてエラービットがリセット状態であることが確認されると、主制御未接続エラービットがセットされてなければ、必ずステップS662が実行される。つまり、必ず、再払出処理が実行される。
When the process of step S807 is executed and the payout case error bit is reset, the payout control code is “2” (corresponding to the execution of the payout passing waiting process shown in FIGS. 49 to 51), and the prize ball When the value of the unpaid-out number counter or the value of the ball-lending unpaid-out number counter is not 0, a retry operation for game ball payout is started. That is, when the award ball lending control process of step S766 is executed next, when the payout passing waiting process of step S612 is executed, the repayment process is performed again. For example, if a prize ball payout process has been performed and the value of the prize ball unpaid number counter is not 0, the process proceeds from step S654 to step S659, and it is confirmed in step S659 that the error bit is in a reset state. Therefore, the process for starting the re-payout process after step S662 is executed again, and the re-payout process is executed. Regarding the payout case error bit reset by pressing the
以上のように、払出制御手段は、球払出装置97が遊技球の払い出しを行ったにもかかわらず遊技球の払出不足が検知されたときには遊技球を払い出すためのリトライ動作をあらかじめ決められた所定回(例えば2回、1回でもよい)を限度として球払出装置97に実行させる補正払出制御を行った後、未だ払出不足が解消されないことが検出されたときには(図50のステップS662以降を参照)、払い出しに関わる制御状態をエラー状態に移行させ、エラー状態においてエラー解除スイッチ375からエラー解除信号が出力されたことを条件に再度補正払出制御を行わせる補正払出制御再起動処理を実行する。
As described above, the payout control means determines in advance a retry operation for paying out a game ball when a shortage of the game ball is detected even though the ball payout device 97 pays out the game ball. When it is detected that the shortage of payout has not been resolved after performing the corrected payout control to be executed by the ball payout device 97 up to a predetermined time (for example, 2 times or 1 time) (after step S662 in FIG. 50). The control state related to the payout is shifted to the error state, and the correction payout control restarting process for executing the corrective payout control again on condition that the error release signal is output from the
さらに、エラー状態における再払出処理の実行中(具体的には払出ケースエラーをセットする前の再払出処理中およびエラー解除スイッチ375押下後の再払出処理中)でも、図46に示すステップS601〜S604の処理は実行されている。すなわち、払い出しに関わるエラーが生じているときでも、遊技球が払出個数カウントスイッチ301を通過すれば、賞球未払出個数カウンタや球貸し未払出個数カウンタの値が減算される。従って、エラー状態から復帰したときの賞球未払出個数カウンタや球貸し未払出個数カウンタの値は、実際に払い出された遊技球数を反映した値になっている。すなわち、払い出しに関わるエラーが発生しても、実際に払い出した遊技球数を正確に管理することができる。
Further, even during execution of the re-payout process in the error state (specifically, during the re-payout process before setting the payout case error and during the re-payout process after the
また、図49〜図51に示された払出通過待ち処理において、再払出処理が実行された結果、遊技球が払い出されたことが確認されたときでも、払出ケースエラーのビットはリセットされない。払出ケースエラーのビットがリセットされるのは、あくまでも、エラー解除スイッチ375が操作されたとき(具体的は、操作後エラー復帰時間が経過したとき)である(ステップS802,S807)。すなわち、遊技球が払出個数カウントスイッチ301を通過したこと等にもとづいて自動的に払出ケースエラー(払出不足エラー)の状態が解除されるということはなく、人為的な操作を経ないと払出ケースエラーは解除されない。従って、遊技店員等は、確実に払出不足が発生したことを認識することができる。
Further, in the payout passing waiting process shown in FIGS. 49 to 51, even when it is confirmed that the game ball has been paid out as a result of the re-payout process, the payout case error bit is not reset. The bit of the payout case error is reset only when the
エラー解除スイッチ375が操作されたことによってハードウェア的にリセット(払出制御用CPU371に対するリセット)がかかるように構成されている場合には、エラー解除スイッチ375が操作されたことによって例えば賞球未払出個数カウンタの値もクリアされてしまう。しかし、この実施の形態では、払出制御手段が、エラー解除スイッチ375が操作されたことによって再払出動作を再び行うように構成されているので、確実に払出処理が実行され、遊技者に不利益を与えないようにすることができる。
When the error cancel
ステップS808では、払出制御用CPU371は、満タンスイッチ48の検出信号を確認する。満タンスイッチ48の検出信号が出力されていれば(オン状態であれば)、エラーフラグのうちの満タンエラービットをセットする(ステップS809)。満タンスイッチ48の検出信号がオフ状態であれば、満タンエラービットをリセットする(ステップS810)。
In step S808, the
また、払出制御用CPU371は、球切れスイッチ187の検出信号を確認する(ステップS811)。球切れスイッチ187の検出信号が出力されていれば(オン状態であれば)、エラーフラグのうちの球切れエラービットをセットする(ステップS812)。球切れスイッチ187の検出信号がオフ状態であれば、球切れエラービットをリセットする(ステップS813)。なお、球切れエラービットをセットされているときには、ステップS771の表示制御処理において、出力ポート1バッファにおける球切れLED52に対応したビットを点灯状態に対応した値にする。
Also, the
さらに、払出制御用CPU371は、主基板31からの接続確認信号の状態を確認し(ステップS815)、接続確認信号が出力されていなければ(オフ状態であれば)、主基板未接続エラービットをセットする(ステップS816)。また、接続確認信号が出力されていれば(オン状態であれば)、主基板未接続エラービットをリセットする(ステップS817)。
Further, the
また、払出制御用CPU371は、各スイッチの検出信号の状態が設定される各スイッチタイマのうち払出個数カウントスイッチ301に対応したスイッチタイマの値を確認し、その値がスイッチオン最大時間(例えば「240」)を越えていたら(ステップS818)、エラーフラグのうち払出スイッチ異常検知エラー1のビットをセットする(ステップS819)。また、払出個数カウントスイッチ301に対応したスイッチタイマの値がスイッチオン最大時間以下であれば、払出スイッチ異常検知エラー1のビットをリセットする(ステップS820)。なお、各スイッチタイマの値は、ステップS761のスイッチチェック処理において、各スイッチの検出信号を入力する入力ポートの状態がスイッチオン状態であれば+1され、オフ状態であれば0クリアされる。従って、払出個数カウントスイッチ301に対応したスイッチタイマの値がスイッチオン最大時間を越えていたということは、スイッチオン最大時間を越えて払出個数カウントスイッチ301がオン状態になっていることを意味し、払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分で遊技球が詰まっていると判断される。
Further, the
また、払出制御用CPU371は、払出個数カウントスイッチ301に対応したスイッチタイマの値がスイッチオン判定値(例えば「2」)になった場合に(ステップS821)、球貸し動作中フラグおよび賞球動作中フラグがともにリセット状態であれば、払出動作中でないのに払出個数カウントスイッチ301を遊技球が通過したとして、エラーフラグのうち払出スイッチ異常検知エラー2のビットをセットする(ステップS822,S823)。また、球貸し動作中フラグまたは賞球動作中フラグがセットされていれば、払出スイッチ異常検知エラー2のビットをリセットする(ステップS824)。
Further, the
さらに、払出制御用CPU371は、カードユニット50からのVL信号の入力状態を確認し(ステップS825)、VL信号が入力されていなければ(オフ状態であれば)、エラーフラグのうちプリペイドカードユニット未接続エラービットをセットする(ステップS826)。また、VL信号が入力されていれば(オン状態であれば)、プリペイドカードユニット未接続エラービットをリセットする(ステップS827)。
Further, the
なお、ステップS771の表示制御処理では、エラーフラグ中のエラービットに応じた表示(数値表示)による報知をエラー表示用LED374によって行う。この実施の形態では、主基板31に搭載された遊技制御手段と払出制御基板37に搭載された払出制御手段とが賞球払出に関して双方向通信を行うのであるが、通信エラーをエラー表示用LED374によって報知することができる。
In the display control process of step S771, notification by display (numerical value display) corresponding to the error bit in the error flag is performed by the
また、通信エラーは、払出制御手段の側で検出されるので、上述したように遊技制御手段と払出制御手段とが賞球払出に関して双方向通信を行うようにしても、遊技制御手段の負担を増すことなく通信エラーを検出できる。 Further, since the communication error is detected on the payout control means side, even if the game control means and the payout control means perform two-way communication with respect to the prize ball payout as described above, the burden on the game control means is reduced. Communication errors can be detected without increasing.
なお、この実施の形態では、主基板未接続エラーは接続確認信号がオン状態になると自動的に解消されるが(ステップS815,S817参照)、さらにエラー解除スイッチ375が操作されたという条件を加えて、エラー状態が解消されるようにしてもよい。
In this embodiment, the main board unconnected error is automatically eliminated when the connection confirmation signal is turned on (see steps S815 and S817), but the condition that the error cancel
また、この実施の形態では、通信エラーが、カードユニット50との間の通信エラー(プリペイドカードユニット未接続エラーおよびプリペイドカードユニット通信エラー)やその他のエラーと区別可能に報知される(図54参照)。従って、遊技制御手段と払出制御手段との間の通信エラーが容易に特定される。 In this embodiment, a communication error is reported so as to be distinguishable from a communication error with the card unit 50 (a prepaid card unit unconnected error and a prepaid card unit communication error) and other errors (see FIG. 54). ). Therefore, a communication error between the game control unit and the payout control unit is easily identified.
なお、この実施の形態では、払い出しに関わるエラー(通信エラーを含む)が発生したことを、遊技機裏面に設置されている払出制御基板37に搭載されているエラー表示LED374によって報知するようにしたが、遊技機裏面の他の箇所(例えば球払出装置97等が集中配置された払出ユニット)に報知手段を搭載してもよい。さらに、遊技機の表側に設置されている表示器(例えば賞球LED51)によって報知するようにしてもよい。払出制御用CPU371は、表示制御処理において、賞球REQ信号がオン状態であるときに、賞球LED51を点灯するための制御を行い、賞球REQ信号がオフ状態になったら、賞球LED51を消灯するための制御を行うのであるが、払い出しに関わるエラーが発生した場合には、例えば、賞球LED51を点滅させることによって、払い出しに関わるエラーが発生したことを報知する。遊技機の表側に設置されている表示器によってエラー報知すれば、遊技店員等がより容易にエラーの発生を認識できる。また、エラー表示LED374による報知と遊技機の表側に設置されている表示器による報知とを併用してもよい。
In this embodiment, the
図57(A)は、払出ケースエラー(払出不足エラー)の発生の様子を示すタイミング図であり、図57(B)は、エラー解除スイッチ375の操作時の様子を示すタイミング図である。
FIG. 57 (A) is a timing chart showing a state of occurrence of a payout case error (payout shortage error), and FIG. 57 (B) is a timing chart showing a state when the
図57(A)に示すように、所定個の遊技球を払い出すために払出モータ289を回転させ、回転停止後、最後に払い出されたはずの遊技球が払出個数カウントスイッチ301を通過した後に(この例では402.087ms後に)、未払出の遊技球があるか否かが確認され(ステップS654の判定に相当)、未払出の遊技球があれば、再払出動作が実行される。図57(A)には、2回の再払出動作が実行された例が示されている。そして、2回の再払出動作が実行された場合に、払出ケースエラーと判定され(ステップS672の判定に相当)、ステップS771の表示制御処理によってエラー表示LED374に「4」が表示される(図54参照)。
As shown in FIG. 57 (A), the
また、図57(B)に示すように、エラー解除スイッチ375が操作されると、エラー解除時間の経過後に、再び、再払出動作が開始される。なお、図57(B)に示すように、再び再払出動作が開始されるときに、エラー表示LED374における「4」の表示が消去される。すなわち、エラー解除スイッチ375の操作後に補正払出制御が行われているときには払出不足のエラーを示す報知は行われていない。
As shown in FIG. 57B, when the
図58および図59は、表示制御処理(ステップS771)を示すフローチャートである。表示制御処理において、払出制御用CPU371は、RAMに形成されている1バイトの点滅タイマの値を1加算する(ステップS571)。そして、エラーフラグのうち球切れエラービットがセットされていたら(ステップS572)、出力ポート1バッファにおける球切れLED出力ビットをセットする(ステップS573)。球切れエラービットがセットされていなかったら、出力ポート1バッファにおける球切れLED出力ビットをリセットする(ステップS574)。なお、出力ポート1バッファの内容は、ステップS772の出力処理において出力ポート1に出力される。
58 and 59 are flowcharts showing the display control process (step S771). In the display control process, the
また、払出制御用CPU371は、主制御未接続エラービットがセットされていない場合には(ステップS575)、賞球払出中(払出制御状態フラグにおける賞球動作中フラグがセット)であれば(ステップS576)、出力ポート1バッファにおける賞球LED出力ビットをセットする(ステップS577)。賞球払出中でなければ、出力ポート1バッファにおける賞球LED出力ビットをリセットする(ステップS578)。
Further, when the main control unconnected error bit is not set (step S575), the
さらに、払出制御用CPU371は、エラーフラグにおいて、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラー(エラー解除スイッチ375によって解除可能エラー)の各ビット以外のビットがセットされている場合には、ステップS585に移行する。エラーフラグにおいてセットされているビットが払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのうちのいずれかまたは複数である場合に、点滅タイマのビット7が「1」であれば(ステップS580)、出力ポート1バッファにおける賞球LED出力ビットをセットする(ステップS581)。点滅タイマのビット7が「1」でなければ、出力ポート1バッファにおける賞球LED出力ビットをリセットする(ステップS582)。ステップS579〜S581の処理によって、人為的な操作によってエラー解除可能なエラーが発生しているときには、その旨が遊技者等から視認可能に報知される。この実施の形態では、賞球LED51の点滅によって報知される。従って、遊技者や遊技店員は、人為的な操作によってエラーを解除して遊技機を通常の状態に戻せるようなエラーが発生していることを容易に認識できる。
Further, the
また、払出制御用CPU371は、エラーフラグをロードし(ステップS585)、エラーフラグにおけるエラービットに応じたエラーコード(7SEG表示コード;図54参照)を決定し(ステップS586)、決定したエラーコードを、出力ポート2出力バッファにセットする(ステップS587)。
Further, the
図60は、情報出力処理(ステップS770)の賞球個数信号としての賞球情報(賞球信号)の出力に関わる部分を示すフローチャートである。賞球信号は、払出制御基板37からターミナル基板160を介して遊技機外部に出力される。
FIG. 60 is a flowchart showing a portion related to output of prize ball information (prize ball signal) as a prize ball number signal in the information output process (step S770). The prize ball signal is output from the
情報出力処理において、払出制御用CPU371は、信号出力タイマの値が0であるか否か確認する(ステップS831)。信号出力タイマは、1パルスの賞球信号のオン期間を設定するためのタイマである。すなわち、信号出力タイマの値が0でないということは、賞球信号が出力されている状態にあることを示している。信号出力タイマの値が0でない場合には、信号出力タイマの値を減算し(ステップS841)、信号出力タイマの値が0になったときには(ステップS842)、賞球信号をオフ状態にする(ステップS843)。
In the information output process, the
信号出力タイマの値が0である場合には、球貸し動作中フラグがセットされているか否か確認する(ステップS832)。球貸し動作中フラグがセットされていない場合には、払出個数カウントスイッチ301がオンすれば(遊技球が通過すれば)、賞球払出個数カウンタの値を+1する(ステップS833,S834)。賞球払出個数カウンタは、RAMに形成されているカウンタである。
If the value of the signal output timer is 0, it is confirmed whether or not the ball lending operation flag is set (step S832). When the ball lending operation flag is not set, if the payout
そして、賞球払出個数カウンタの値が10になったときには(ステップS835)、賞球払出個数カウンタの値をクリアし、賞球信号をオン状態にして(ステップS837)、信号出力タイマに、賞球信号のオン期間値を設定する(ステップS838)。以上の処理によって、賞球としての遊技球が10個払い出される毎に、1つの賞球信号が出力される。このように、払出制御手段は、払出個数カウントスイッチ301の検出信号にもとづいて所定数(この例では10個)の賞球としての遊技球が払い出されたことを検出すると、その個数を示す賞球信号を遊技機の外部に出力する。なお、この実施の形態では、所定数は10個であるが、所定数として他の数を用いてもよい。また、所定数は複数種類あってもよい。例えば、遊技制御手段から10個の賞球払出が指示され10個の遊技球の払出が完了すると第1の賞球信号を出力し、遊技制御手段から15個の賞球払出が指示され15個の遊技球の払出が完了すると第2の賞球信号を出力するような場合には、所定数は10および15である。
When the value of the prize ball payout number counter reaches 10 (step S835), the value of the prize ball payout quantity counter is cleared, the prize ball signal is turned on (step S837), and the signal output timer is set to the prize output timer. The on period value of the sphere signal is set (step S838). As a result of the above processing, one prize ball signal is output every time ten game balls as prize balls are paid out. As described above, when the payout control means detects that a predetermined number (10 in this example) of game balls have been paid out based on the detection signal of the
情報出力処理において、エラービットのチェックは実行されない。従って、遊技球の払い出しに関わるエラー状態であっても、払出個数カウントスイッチ301によって、賞球としての10個の遊技球が検出される毎に賞球信号が出力される。よって、払い出しに関わるエラーが発生しても、実際に払い出した遊技球数を遊技機の外部においても正確に管理することができる。また、エラー解除スイッチ375が操作されたことによってハードウェア的にリセット(払出制御用CPU371に対するリセット)がかかるように構成されている場合には、エラー解除スイッチ375が操作されたことによって賞球払出個数カウンタの値もクリアされてしまう。しかし、この実施の形態では、払出制御手段が、エラー解除スイッチ375が操作されたことによってエラーの解除が可能になるように構成され、エラーが解除されるときに賞球払出個数カウンタはクリアされないので、実際に払い出された遊技球が正確に賞球信号に反映される。さらに、払い出しに関わるエラー状態中でも、実際に払い出された遊技球数を遊技機の外部において把握できるので、払い出しに関わるエラーを発生させて不正に遊技球を払い出させるような不正行為が行われても、容易にそのことが検知される。
In the information output process, error bit checking is not executed. Therefore, even in an error state related to payout of game balls, a prize ball signal is output every
また、賞球払出個数カウンタは、球貸し動作中フラグがセットされていない状態で払出個数カウントスイッチ301が遊技球を検出したときに+1される。従って、賞球動作中フラグがセットされているとき(賞球払出中)だけでなく、賞球動作中フラグおよび球貸し動作中フラグがセットされていないとき(賞球払出も球貸しも行われていないとき)にも、払出個数カウントスイッチ301が遊技球を検出すれば+1される。つまり、賞球払出中でもなく球貸し中でもないときに払出個数カウントスイッチ301が遊技球を検出した場合には、賞球払出によって遊技球が払い出されたとみなし、遊技機外部(例えばホールコンピュータ)に出力される賞球信号に反映される。このように、実際に払い出された遊技球は、必ず、遊技機外部に出力される信号に反映されるので、例えば遊技店における払出数の集計結果に必ず反映される。なお、賞球払出中でもなく球貸し中でもないときに払出個数カウントスイッチ301が遊技球を検出した場合には、貸し球要求にもとづいて遊技球が払い出されたとみなしてもよい。
Also, the prize ball payout number counter is incremented by 1 when the payout
図61は、払出制御基板37からの試験信号の出力の一例を示すブロック図である。図61には、試験端子基板200と試験装置210も示されている。図61示すように、払出制御基板37において、払出個数カウントスイッチ301からの検出信号と、主基板31に出力される賞球BUSY信号とがそれぞれ分岐され、分岐されたそれぞれの信号が論理積回路(AND回路)376に入力される。従って、AND回路376は、賞球BUSY信号の出力中に払出個数カウントスイッチ301が遊技球の払い出しを検出した場合に、賞球の払い出しを検出したことを示す賞球カウント信号を出力することができる。
FIG. 61 is a block diagram showing an example of the output of a test signal from the
払出制御基板37において、賞球カウント信号は、払出制御基板37に設けられているコネクタ377に出力される。なお、コネクタ377には、賞球カウント信号以外の他の試験用の信号も出力される。また、コネクタ377は、試験に用いられる遊技機にのみ搭載される。すなわち、試験に用いられない遊技機は、配線パターンやスルーホールなどの試験信号出力用の経路を有しているが、コネクタ377は搭載されていない。よって、全ての払出制御基板37にコネクタ377を設ける必要がなく、遊技機の試験のために費やされるコストが低減される。また、全ての払出制御基板37に対してコネクタを半田付けなどによって取り付ける必要がないので、遊技機の試験を行うための作業効率が向上する。さらに、試験信号出力用の配線パターンやスルーホールは全ての遊技機に設けられているので、遊技店に設置されていたあとに検査を行う場合に、コネクタ377を取り付けて試験端子基板200を接続することは容易である。
In the
試験端子基板200は、払出制御基板37に搭載されているコネクタ377からの試験信号を入力するためのコネクタ202と、試験信号出力回路203と、試験装置210と接続するためのコネクタ204とを備えている。試験信号出力回路203は、コネクタ204に設けられている複数の試験端子から信号出力に用いる試験端子を選択するためのICやバッファ回路などを備えている。
The
試験装置210は、各種試験信号を収集する。試験時には、試験装置210に、例えばパーソナルコンピュータ等が接続される。従って、試験装置210に入力された各種試験用信号によるデータをパーソナルコンピュータで収集し、払い出された賞球の数などの試験に用いるための情報をパーソナルコンピュータの表示部に表示させたり、各種のデータの演算等を行うことができる。
The
球払出装置97は賞球払出と貸し球払出の双方を行うように構成され、払出個数カウントスイッチ301は、賞球払出による遊技球と貸し球払出による遊技球の双方を検出するのであるが、図61に示されたように、賞球動作中に出力される賞球BUSY信号がオン状態であるときに払出個数カウントスイッチ301の検出信号を通過させるAND回路376を設置することによって、払出制御用CPU371が関与することなく、試験信号としての賞球カウント信号を作成することができる。
The ball payout device 97 is configured to perform both prize ball payout and lending ball payout, and the payout
なお、上記の実施の形態では、遊技制御手段は、払出指令信号の送信に関連して(具体的には払出指令信号の送信に応じた賞球BUSY信号のオン)未払出景品遊技媒体数の減算処理(図30のステップS261,S263,S265参照)を行うので、停電等によって不測の電力供給停止が生じても遊技者に与えられる不利益を最小限に止めることができるとともに、不正行為を効果的に防止できる。つまり、未払出景品遊技媒体数が設定されている総賞球数格納バッファは遊技制御手段においてバックアップRAMに形成されているので、遊技機への電力供給が停止しても所定期間(バックアップ電源の持続時間)内ではその内容が保存され、電力供給が復旧したときに、保存されている総賞球数格納バッファの内容にもとづいて、遊技制御手段は、賞球処理を再開することができる。すなわち、保存されていた総賞球数格納バッファの内容が0でなければ払出制御手段に対して払出指令信号を出力することができる。 In the above-described embodiment, the game control means relates to the transmission of the payout command signal (specifically, the prize ball BUSY signal is turned on in response to the transmission of the payout command signal). Since the subtraction process (see steps S261, S263, and S265 in FIG. 30) is performed, even if an unexpected power supply stoppage occurs due to a power failure or the like, it is possible to minimize the disadvantage given to the player and to perform illegal acts. It can be effectively prevented. In other words, the total award ball number storage buffer in which the number of unpaid prize game media is set is formed in the backup RAM in the game control means, so even if the power supply to the gaming machine is stopped, a predetermined period (backup power supply The content is saved within the duration), and when the power supply is restored, the game control means can resume the winning ball processing based on the saved content of the total number of winning balls stored. That is, if the content of the stored total number of winning balls is not 0, a payout command signal can be output to the payout control means.
例えば、未払出景品遊技媒体数の減算処理を、払出完了信号の受信にもとづいて実行すると、払出制御手段が払出指令信号にもとづいて賞球払出を開始後払出完了信号を送信する前に、不正に電力供給停止状態にした後電力供給を復旧させる状態を作成したり、遊技制御手段を不正に一旦リセットするような行為がなされた場合には、減算処理がなされていない未払出景品遊技媒体数にもとづいて二重に賞球払出を実行してしまう。しかし、払出完了信号の受信にもとづいて未払出景品遊技媒体数の減算処理を実行すれば、そのような不正行為がなされても二重に賞球払出を実行してしまうことはない。 For example, if the subtraction process for the number of unpaid prize game media is executed based on the receipt of the payout completion signal, the payout control means starts illegal payout after sending a prize ball payout based on the payout command signal. The number of unpaid prize game media that have not been subtracted if an action is made to restore the power supply after the power supply is stopped or the game control means is illegally reset once. Based on this, the prize ball payout is executed twice. However, if the subtraction process for the number of unpaid prize game media is executed based on the receipt of the payout completion signal, the prize ball payout is not executed twice even if such an illegal act is performed.
さらに、上記の実施の形態では、払出個数カウントスイッチ301の出力は払出制御基板37のみに入力されている。従って、払出個数カウントスイッチ301の出力を主基板31と払出制御基板37との双方に供給する場合に比べて、回路構成が簡略化されコストを低減することができる。
Furthermore, in the above embodiment, the output of the payout
また、遊技制御手段は、電力供給開始時に、払出制御手段に対して、遊技機への電力供給が開始したことを示す制御信号(接続確認信号)を出力するように構成されているので、電力供給が開始して遊技制御手段の制御動作が開始したことを払出制御手段に認識させることができる。 In addition, the game control means is configured to output a control signal (connection confirmation signal) indicating that power supply to the gaming machine has started to the payout control means at the start of power supply. The payout control means can recognize that the supply has started and the control operation of the game control means has started.
なお、上記の実施の形態では、賞球REQ信号によって払出要求を行い、賞球制御信号によって払出数が指定されたが、賞球制御信号によって払出要求および払出数の指定を行うように構成してもよい。その場合、払出制御手段は、賞球制御信号が出力されているときは、同時に払出要求がなされていると判定すればよい。そのような構成によれば、賞球REQ信号を用いる必要はない。 In the above embodiment, the payout request is made by the prize ball REQ signal and the number of payouts is specified by the prize ball control signal. However, the payout request and the number of payouts are designated by the prize ball control signal. May be. In this case, the payout control means may determine that the payout request is made at the same time when the prize ball control signal is output. According to such a configuration, it is not necessary to use the prize ball REQ signal.
また、上記の実施の形態では、払出制御手段は、払出処理が完了したときに賞球BUSY信号をオン状態からオフ状態に切り替えているが、払出制御手段は、賞球BUSY信号をオン状態に切り替えてから所定時間後に賞球BUSY信号をオフ状態に切り替えるように制御してもよい。 In the above embodiment, the payout control means switches the prize ball BUSY signal from the on state to the off state when the payout process is completed, but the payout control means sets the prize ball BUSY signal to the on state. Control may be performed so that the award ball BUSY signal is switched to an OFF state after a predetermined time from switching.
また、上記の実施の形態では、払出制御手段は、払出モータ289が払出予定数分回転したことを検出したら賞球払出の終了と決定したが、払出モータ位置センサによる検出回数が払出予定数に達したら賞球払出の終了と決定してもよい。すなわち、払出制御手段は、払出手段の動作量(この例では、払出モータ289の回転量または払出モータ位置センサによる検出回数)を検出することによって払い出しが完了したか否かを判定するように構成されていてもよい。
In the above embodiment, the payout control means determines that the prize ball payout has ended when it detects that the
さらに、上記の実施の形態では、払出制御手段は、払出個数カウントスイッチ301の検出信号にもとづいて遊技球が払い出されたことを確認したが、払出モータ位置センサの出力信号にもとづいて遊技球が払い出されたことを確認するようにしてもよい。
Further, in the above embodiment, the payout control means confirms that the game ball has been paid out based on the detection signal of the
また、払出制御手段が、払出手段の駆動部(例えば払出モータ289、カム等)の動作量を検出し、その検出にもとづいて払い出しに関わる異常(払出ユニットエラー)が発生したか否かを判定するように構成されていてもよい。そのように構成すれば、払い出しに関わる異常を確実に検出することができる。
Also, the payout control means detects the operation amount of the drive means (for example,
また、上記の実施の形態では、球払出装置97は球貸しも賞球払出も実行可能な構成であったが、球貸しを行う機構と賞球払出を行う機構とが独立していても本発明を適用することができる。 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が開状態となって、そのことを検出するためのドア開放スイッチから検出信号が出力されているときなどにも払出禁止状態に設定されるようにしてもよい。
In the above-described embodiment, the payout is prohibited when the ball is out of the ball or the lower pan is full. However, when it is not preferable to perform another payout or when the payout cannot be performed, You may set it in a payout prohibition state. For example, the payout prohibition state may be set also when the
また、上述した各実施の形態では、記録媒体処理装置(カードユニット50)で使用される記録媒体が磁気カード(プリペイドカード)であったが、磁気カードに限られず、非接触型あるいは接触型のICカードであってもよい。また、記録媒体処理装置が識別符号にもとづいて記録情報を特定できる構成とされている場合には、記録媒体は、記録情報を特定可能な識別符号などの情報を少なくとも記録媒体処理装置が読み取り可能に記録できるようなものであってもよい。さらに、記録媒体は、例えばバーコードなどの所定の情報記録シンボル等が読み取り可能にプリントされたものであってもよい。また、記録媒体の形状は、カード状のものに限られず、例えば円盤形状や球状、あるいはチップ形状など、どのような形状とされていてもよい。 In each of the above-described embodiments, the recording medium used in the recording medium processing apparatus (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. An 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
本発明は、パチンコ遊技機などの遊技に適用可能であり、特に、遊技制御手段と払出制御手段とが別個に設けられている遊技機において、遊技制御手段から払出制御手段への賞球個数を示す制御信号の伝達の遅れを防止し、景品遊技媒体の未払出数を確実に管理し、さらに、遊技制御手段と払出制御手段との間の通信に関するエラーを遊技機外部で認識できるようにするために有用である。 The present invention can be applied to games such as pachinko machines, and in particular, in a gaming machine in which game control means and payout control means are provided separately, the number of prize balls from the game control means to the payout control means is determined. To prevent delays in the transmission of the control signal shown, to reliably manage the number of unpaid premium game media, and to recognize errors related to communication between the game control means and the payout control means outside the gaming machine Useful for.
1 パチンコ遊技機
31 遊技制御基板(主基板)
37 払出制御基板
50 プリペイドカードユニット(カードユニット)
56 CPU
66 インタフェース基板(中継基板)
80 演出制御基板
91 タッチセンサ基板
94 発射モータ
97 球払出装置
301 払出個数カウントスイッチ
371 払出制御用CPU
374 エラー表示用LED
375 エラー解除スイッチ
917 コンデンサ(バックアップ電源)
920 電源監視回路
1
37
56 CPU
66 Interface board (relay board)
80
374 LED for error display
375
920 Power supply monitoring circuit
Claims (1)
遊技の進行を制御する遊技制御処理を実行する遊技制御手段と、
景品遊技媒体の払い出しを行う払出手段と、
前記払出手段を制御する払出制御処理を実行する払出制御手段と、
前記遊技制御手段と前記払出制御手段との間の信号の通信に関する異常を検出する通信異常検出手段と、
前記通信異常検出手段が異常を検出したとき、その旨を報知する通信異常報知手段とを備え、
前記遊技制御手段は、
前記払出条件の成立にもとづいて払い出すべき景品遊技媒体の数を特定可能な景品遊技媒体数データを記憶するとともに、遊技機への電力供給が停止したときに記憶内容を少なくとも所定期間保存することが可能な遊技制御用記憶手段と、
遊技機への電力供給が開始され前記遊技制御処理が実行可能状態になったときに前記払出制御手段に対して接続確認信号を出力する接続確認信号出力手段と、
前記景品遊技媒体数データにもとづいて、前記払出制御手段に対して景品遊技媒体の払出数を特定可能な払出指令信号を出力する払出指令信号出力手段と、
前記払出指令信号出力手段が前記払出指令信号を出力した後に所定の条件が成立すると前記景品遊技媒体数データから前記払出指令信号で特定される払出数に対応する値を減算する減算処理を行う景品遊技媒体数データ減算手段とを含み、
前記払出制御手段は、
前記払出指令信号を入力したことを示す指令受付信号を出力する指令受付信号出力手段と、
前記遊技制御手段における前記払出指令信号出力手段により出力された前記払出指令信号により特定される景品遊技媒体の払出数の景品遊技媒体を前記払出手段を制御して払い出させる払出処理を実行する景品遊技媒体払出制御手段と、
前記接続確認信号が出力されていないときには前記景品遊技媒体払出制御手段による前記払出処理を禁止する払出処理禁止手段とを含み、
前記景品遊技媒体払出制御手段は、前記払出処理の実行中に前記接続確認信号の出力が停止したときに、当該実行中の前記払出処理にて払い出させる予定数の景品遊技媒体の払い出しが完了してから前記払出手段の制御を停止する払出停止手段を有し、
前記遊技制御手段における前記景品遊技媒体数データ減算手段は、前記指令受付信号出力手段により前記指令受付信号が出力されたときに、前記所定の条件が成立したとして前記減算処理を実行し、
前記払出制御手段における前記指令受付信号出力手段は、前記景品遊技媒体払出制御手段が前記払出処理を実行しているときに前記指令受付信号の出力状態を維持し、前記払出指令信号で特定される払出数の景品遊技媒体が払い出されたときに前記指令受付信号の出力を停止し、
前記遊技制御手段における前記払出指令信号出力手段は、前記指令受付信号の出力が停止されるまで前記払出指令信号の出力状態を維持し、前記景品遊技媒体数データ減算手段による前記減算処理の後に前記景品遊技媒体数データが未払出の景品遊技媒体があることを示すものであったときには、前記指令受付信号出力手段により前記指令受付信号の出力が停止されたときに次の払出指令信号を出力し、
前記遊技制御手段は、
前記払出指令信号が出力されていないときに前記指令受付信号が出力されたときに前記接続確認信号出力手段により前記接続確認信号の出力を停止する接続確認信号解除手段と、
該接続確認信号が出力されていないときに前記景品遊技媒体数データ減算手段による前記減算処理を禁止する減算禁止手段とを含み、
前記通信異常検出手段は、前記接続確認信号の出力が停止したときに通信に関する異常を検出する
ことを特徴とする遊技機。 A gaming machine in which a player 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 established by the game,
Game control means for executing a game control process for controlling the progress of the game;
And dispensing means pays out Jing products game media,
A payout control means for executing a payout control process for controlling the payout means;
A communication abnormality detecting means for detecting an abnormality relating to communication of signals between the game control means and the payout control means;
When the communication abnormality detection means detects an abnormality, the communication abnormality notification means for notifying that effect,
The game control means includes
Store the number of prize game media data that can specify the number of prize game media to be paid out based on the establishment of the payout condition, and save the stored contents for at least a predetermined period when the power supply to the gaming machine is stopped. Game control storage means capable of
A connection confirming signal output means for outputting the connection confirmation signal to the payout control means when the power supply to the gaming machine is started the game control process is ready to run,
Based on the prize game medium count data, a payout command signal output means for outputting an identifiable payout command signal to the payout amount of the prize game media to the payout control means,
Prize for performing a subtraction process of subtracting the value in which the payout command signal output means corresponding to the payout amount specified by the payout command signal from said prize game medium count data with a predetermined condition is satisfied after outputting the payout command signal and a game medium count data subtraction means,
The payout control means includes:
Command acceptance signal output means for outputting a command acceptance signal indicating that the dispensing command signal has been input ;
Prize executes a payout process for the prize game medium payout number paid out by controlling the dispensing means of the prize game media specified by the payout command signal output by the payout command signal output means in said game control means Game media payout control means;
A payout process prohibiting means for prohibiting the payout process by the prize game medium payout control means when the connection confirmation signal is not output ;
The prize game medium payout control means, when the output of the connection confirmation signal during execution of the payout process is stopped, the payout of predetermined number of prize game media to paid out by the payout process in the execution A payout stopping means for stopping control of the payout means after completion;
The prize game medium number data subtracting means in the game control means executes the subtraction process assuming that the predetermined condition is satisfied when the command acceptance signal is output by the command acceptance signal output means,
The command acceptance signal output means in the payout control means maintains the output state of the command acceptance signal when the prize game medium payout control means is executing the payout process, and is specified by the payout command signal. When the number of payout game media to be paid out has been paid out, the output of the command acceptance signal is stopped,
The payout command signal output means in the game control means maintains the output state of the payout command signal until the output of the command acceptance signal is stopped, and after the subtraction process by the prize game medium number data subtracting means, When the premium game medium number data indicates that there is an unpaid premium game medium, the next payout command signal is output when the output of the command acceptance signal is stopped by the command acceptance signal output means. ,
The game control means includes
A connection confirmation signal canceling means for stopping the output of the connection confirmation signal by the connection confirming signal output means when said command reception signal is output when the previous SL payout command signal is not output,
Subtraction prohibiting means for prohibiting the subtraction processing by the prize game medium number data subtracting means when the connection confirmation signal is not output ,
The gaming machine, wherein the communication abnormality detecting means detects an abnormality related to communication when the output of the connection confirmation signal is stopped .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003334349A JP4493964B2 (en) | 2003-09-25 | 2003-09-25 | Game machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003334349A JP4493964B2 (en) | 2003-09-25 | 2003-09-25 | Game machine |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005095437A JP2005095437A (en) | 2005-04-14 |
JP4493964B2 true JP4493964B2 (en) | 2010-06-30 |
Family
ID=34462061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003334349A Expired - Fee Related JP4493964B2 (en) | 2003-09-25 | 2003-09-25 | Game machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4493964B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001293216A (en) * | 2000-04-12 | 2001-10-23 | Sophia Co Ltd | Game machine |
JP2003190561A (en) * | 2001-12-28 | 2003-07-08 | Sankyo Kk | Game machine |
JP2003230720A (en) * | 2002-02-07 | 2003-08-19 | Sankyo Kk | Game machine |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3035381B2 (en) * | 1991-08-06 | 2000-04-24 | 株式会社ソフィア | Ball game machine |
JPH10303878A (en) * | 1997-04-23 | 1998-11-13 | L Ii Tec:Kk | Encipherment communication system for game machine |
-
2003
- 2003-09-25 JP JP2003334349A patent/JP4493964B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001293216A (en) * | 2000-04-12 | 2001-10-23 | Sophia Co Ltd | Game machine |
JP2003190561A (en) * | 2001-12-28 | 2003-07-08 | Sankyo Kk | Game machine |
JP2003230720A (en) * | 2002-02-07 | 2003-08-19 | Sankyo Kk | Game machine |
Also Published As
Publication number | Publication date |
---|---|
JP2005095437A (en) | 2005-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2005034537A (en) | Game machine | |
JP4493964B2 (en) | Game machine | |
JP4350455B2 (en) | Game machine | |
JP4493962B2 (en) | Game machine | |
JP4493963B2 (en) | Game machine | |
JP4447276B2 (en) | Game machine | |
JP4433376B2 (en) | Game machine | |
JP2005110793A (en) | Game machine | |
JP4454999B2 (en) | Game machine | |
JP4350457B2 (en) | Game machine | |
JP2005046359A (en) | Game machine | |
JP2005034396A (en) | Game machine | |
JP4322066B2 (en) | Game machine | |
JP4467928B2 (en) | Game machine | |
JP2005058521A (en) | Game machine | |
JP2005040478A (en) | Game machine | |
JP2005058520A (en) | Game machine | |
JP2005058665A (en) | Game machine | |
JP2005058446A (en) | Game machine | |
JP2005074160A (en) | Game machine | |
JP2005103097A (en) | Game machine | |
JP2005110728A (en) | Game machine | |
JP2005040361A (en) | Game machine | |
JP2005124658A (en) | Game machine | |
JP2005124913A (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20051207 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20060127 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060824 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091126 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091201 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100127 |
|
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: 20100330 |
|
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: 20100407 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130416 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130416 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130416 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140416 Year of fee payment: 4 |
|
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 |