JP2005261776A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2005261776A
JP2005261776A JP2004081616A JP2004081616A JP2005261776A JP 2005261776 A JP2005261776 A JP 2005261776A JP 2004081616 A JP2004081616 A JP 2004081616A JP 2004081616 A JP2004081616 A JP 2004081616A JP 2005261776 A JP2005261776 A JP 2005261776A
Authority
JP
Japan
Prior art keywords
payout
game
signal
connection confirmation
payout control
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.)
Granted
Application number
JP2004081616A
Other languages
Japanese (ja)
Other versions
JP4271609B2 (en
Inventor
Shohachi Ugawa
詔八 鵜川
Masato Ando
正登 安藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sankyo Co Ltd
Original Assignee
Sankyo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP2004081616A priority Critical patent/JP4271609B2/en
Publication of JP2005261776A publication Critical patent/JP2005261776A/en
Application granted granted Critical
Publication of JP4271609B2 publication Critical patent/JP4271609B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To surely receive a control signal indicating the number of prize balls in a constitution quickly granting the prize balls at a low cost without being affected by characteristics of a microcomputer. <P>SOLUTION: When a power supply to the game machine is started, a putout control CPU becomes an operable state, after executing initialization, starts an putout control signal receiving processing, turns on a third connection confirming signal and executes a monitor processing monitoring first and second connection confirming signals from the main board. A CPU of the main board becomes an operable state, after executing the initialization, executes the monitor processing monitoring the third connection confirming signal, confirms the on state of the third connection confirming signal, and then turns on the first and the second connection confirming signals to start the game control processing. The putout control CPU confirms the on states of the first and the second connection confirming signals in the monitor processing and starts the putout control processing. The putout control processing starts almost simultaneously with the start of the game control processing. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

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

遊技機として、遊技球などの遊技媒体を発射装置によって遊技領域に発射し、遊技領域に設けられている入賞口などの入賞領域に遊技媒体が入賞すると、所定個の賞球が遊技者に払い出されるものがある。さらに、表示状態が変化可能な可変表示部が設けられ、可変表示部の表示結果があらかじめ定められた特定表示態様となった場合に所定の遊技価値を遊技者に与えるように構成されたものがある。   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 is won in 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. Or a condition that the conditions for paying out a prize ball are 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 the big hit occurs, for example, the big winning opening is opened a predetermined number of times, and the game shifts to a big hit gaming state where the hit ball is easy to win.

遊技機における遊技進行は、マイクロコンピュータ等による遊技制御手段によって制御される。賞球払出の制御を行う払出制御手段が、遊技制御手段が搭載されている主基板とは別の払出制御基板に搭載されている場合、遊技の進行は主基板に搭載された遊技制御手段によって制御されるので、入賞にもとづく賞球個数は遊技制御手段によって決定され、賞球個数を示す制御信号が払出制御基板に送信される。そして、払出制御手段は、遊技制御手段からの制御信号にもとづいて、入賞にもとづく個数の賞球を払い出す処理を行う。   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 a control signal indicating the number of winning balls is transmitted to the payout control board. Then, the payout control means performs a process of paying out the number of prize balls based on the winning based on the control signal from the game control means.

このような遊技機においては、特許文献1に記載されているように、賞球個数を示す制御信号が単方向通信によって主基板から払出制御基板に送信され、払出制御手段が、遊技制御手段からの制御信号にもとづいて、入賞にもとづく個数の賞球を払い出す処理を行うものがあった。   In such a gaming machine, as described in Patent Document 1, a control signal indicating the number of winning balls is transmitted from the main board to the payout control board by unidirectional communication, and the payout control means is sent from the game control means. In accordance with the control signal, there has been a process of paying out a number of prize balls based on winning.

また、特許文献1に記載されているように、払出制御手段によって払い出された賞球を検出する検出スイッチからの検出信号を遊技制御手段が受信することで、主基板が管理している未払出の賞球数を減算するものはあった。   In addition, as described in Patent Document 1, the game control unit receives a detection signal from a detection switch that detects a prize ball that has been paid out by the payout control unit. There was something that subtracted the number of winning balls.

さらに、特許文献2に記載されているように、主基板からの制御信号を払出制御基板などのサブ基板にて適正に受信することができるように、初期リセット回路と主基板との間に遅延回路を介在させ、主基板に搭載された遊技制御用マイクロコンピュータへのリセット信号の入力タイミングを、他の基板に搭載された電気部品制御用マイクロコンピュータにリセット信号が入力されるタイミングよりも遅らせるようにしているものがあった。   Further, as described in Patent Document 2, there is a delay between the initial reset circuit and the main board so that the control signal from the main board can be properly received by the sub-board such as the payout control board. By interposing a circuit, the input timing of the reset signal to the game control microcomputer mounted on the main board is delayed from the timing at which the reset signal is input to the electric component control microcomputer mounted on the other board. There was something to do.

特開2001−314610号公報JP 2001-314610 A 特開2001−300013号公報(段落0107〜0125、図12−図13)JP 2001-300013 A (paragraphs 0107 to 0125, FIGS. 12 to 13)

特許文献1に記載された遊技機では、賞球個数を示す制御信号を単方向通信によって送信するだけで賞球の払い出しを行うようにしているので、遊技球が入賞してから賞球が払い出されるまでの時間は短くなったが、遊技制御手段が未払出の賞球数を管理するためには、払い出された賞球を検出する検出スイッチからの検出信号を遊技制御手段に入力する必要が生じてしまう。このため、遊技機における信号配線が煩雑になるとともに、配線スペースを確保する必要が生じてコストアップを招いてしまうことがあるという課題があった。   In the gaming machine described in Patent Document 1, the winning ball is paid out only by transmitting a control signal indicating the number of winning balls by unidirectional communication. Therefore, after the gaming ball is won, the winning ball is paid out. However, in order for the game control means to manage the number of unpaid prize balls, it is necessary to input a detection signal from the detection switch for detecting the paid-out prize balls to the game control means. Will occur. For this reason, the signal wiring in the gaming machine becomes complicated, and there is a problem that it is necessary to secure a wiring space, which may increase the cost.

また、特許文献2に記載された遊技機では、単方向通信であっても主基板からの制御信号をサブ基板にて適正に受信することはできるが、初期リセット回路と主基板との間に遅延回路を設ける必要があったため、遅延回路が搭載される基板の実装面積が増大してしまうとともに、部品コストが増加してしまうという課題があった。   In addition, in the gaming machine described in Patent Document 2, a control signal from the main board can be properly received by the sub board even in unidirectional communication, but between the initial reset circuit and the main board. Since it was necessary to provide the delay circuit, there was a problem that the mounting area of the board on which the delay circuit was mounted increased and the component cost increased.

さらに、初期リセット回路と主基板との間に遅延回路を設ける際に、各電気部品制御用マイクロコンピュータの動作タイミングを加味して遅延時間を設定する必要があるため、電気部品制御用マイクロコンピュータの仕様が変更されたり、電気部品制御用マイクロコンピュータを別のタイプのものに交換されたりすると、遅延回路の回路構成を変更せざるを得ないという課題があった。   Furthermore, when providing a delay circuit between the initial reset circuit and the main board, it is necessary to set the delay time in consideration of the operation timing of each electric component control microcomputer. When the specifications are changed or the microcomputer for controlling the electric parts is replaced with another type, there is a problem that the circuit configuration of the delay circuit has to be changed.

そこで、本発明は、遊技制御手段と払出制御手段とが別個に設けられる遊技機において、入賞が発生したときに遊技媒体の付与を迅速に行うことができるとともに、遊技制御手段での未払出の遊技媒体数の管理を低コストで行うことができるとともに、基板の実装面積を広く確保することなく、低コストかつマイクロコンピュータの特性に左右されない構成で賞球個数を示す制御信号の受信を確実に行うことができる遊技機を提供することを目的とする。   Therefore, the present invention provides a game machine in which a game control means and a payout control means are provided separately, and can quickly give a game medium when a winning occurs, and the game control means has not paid out. The number of game media can be managed at low cost, and the control signal indicating the number of award balls is reliably received with a configuration that is low-cost and independent of the characteristics of the microcomputer without securing a large board mounting area. An object is to provide a gaming machine that can be used.

本発明による遊技機は、遊技媒体(例えばパチンコ球などの遊技球)を用いて遊技者が所定の遊技を行うことが可能であり、遊技により払出条件が成立した(例えば遊技球が入賞領域に入賞した)ことにもとづいて景品として景品遊技媒体を払い出す遊技機であって、遊技の進行を制御する遊技制御(例えばステップS20〜ステップS34の制御)を実行する遊技制御手段(例えばCPU56等)と、景品遊技媒体の払い出しを行う払出手段(例えば球払出装置97)と、払出手段の制御を含む払出制御(例えばステップS750〜S760の制御)を実行する払出制御手段(例えば払出制御用CPU371等)と、遊技制御手段と払出制御手段との間で伝送される信号の信号線を複数本まとめて接続する信号線接続手段(例えばコネクタ69Aおよびコネクタ376Aと備えたケーブル)とを備え、遊技制御手段は、払出条件の成立にもとづく払い出すべき景品遊技媒体の数を特定可能な景品遊技媒体数データを記憶する遊技制御用記憶手段(例えばRAM)と、景品遊技媒体数データにもとづいて、所定数の景品遊技媒体の払出数を指定する払出数信号(例えば賞球個数信号)を払出制御手段に対して送信する払出数信号送信手段(例えば遊技制御手段におけるステップS255,ステップS256,ステップS203の処理を実行する部分)と、払出数信号送信手段が払出数信号を送信したことに応じて、景品遊技媒体数データから払出数信号で指定した払出数に対応する値を減算する減算処理を行う景品遊技媒体数データ減算手段(例えば遊技制御手段におけるステップS257の処理を実行する部分)とを含み、払出制御手段は、遊技機への電力が供給されたことにもとづいて遊技制御手段からの制御信号を受け付ける制御信号受付制御(例えばステップS717)を開始したあとに、払出側接続確認信号(例えば第3接続確認信号)を遊技制御手段に対してオン状態とする払出側接続確認信号出力手段(例えば払出制御手段におけるステップS717,S718の処理を実行する部分)と、払出数信号送信手段により送信された払出数信号により指定された景品遊技媒体の払出数のうち未だ払い出されていない未払出の景品遊技媒体の数を示す未払出数データ(例えば賞球未払出個数カウンタが示す値)を含む払出制御によって変動する変動データを記憶する払出制御用記憶手段(例えば賞球未払出個数カウンタが設けられている領域を含む払出制御基板37が備えるRAM)と、払出制御用記憶手段に記憶されている未払出数データにもとづいて、払出手段を制御して景品遊技媒体を払い出させる払出処理を実行する景品遊技媒体払出制御手段(例えば払出制御手段におけるステップS756の処理を実行する部分)とを含み、遊技制御手段は、遊技機への電力が供給されたことにもとづいて遊技制御を実行可能な状態となったあと、払出側接続確認信号出力手段により払出側接続確認信号がオン状態とされたことが確認されたことを条件に(例えばステップS96のY)、遊技側接続確認信号(例えば第1接続確認信号と第2接続確認信号)を払出制御手段に対してオン状態とする遊技側接続確認信号出力手段(例えば遊技制御手段におけるステップS96,S97の処理を実行する部分)を含み、遊技側接続確認信号出力手段により遊技側接続確認信号をオン状態としたあとに、遊技制御の実行を開始し(例えば、割込許可状態として図14に示す遊技制御処理の実行を開始する)、払出数信号と、遊技側接続確認信号と、払出側接続確認信号とは、信号線接続手段によって接続される信号線によって伝送され(例えば図19参照)、払出制御手段は、払出側接続確認信号出力手段により払出側接続確認信号をオン状態としたあと(例えばステップS718)、あらかじめ定められた監視期間内に、遊技側接続確認信号出力手段により遊技側接続確認信号がオン状態とされたことが確認されたことを条件に(例えばステップS719のY)、払出制御の実行を開始する(例えば、ステップS720にて割込許可状態として図32に示す払出制御処理の実行を開始する)ことを特徴とする。   The gaming machine according to the present invention allows a player to play a predetermined game using a game medium (for example, a game ball such as a pachinko ball), and a payout condition is established by the game (for example, the game ball is placed in the winning area). A game machine that pays out a prize game medium as a prize based on the winning), and game control means (for example, CPU 56, etc.) that executes game control for controlling the progress of the game (for example, control in steps S20 to S34). A payout means (for example, a ball payout device 97) for paying out premium game media; and a payout control means (for example, a payout control CPU 371) for executing payout control (eg, control in steps S750 to S760) including control of the payout means ) And signal line connecting means (for example, a connector) for connecting together a plurality of signal lines of signals transmitted between the game control means and the payout control means 9A and a cable provided with a connector 376A), and the game control means stores game control storage means (stores data on the number of prize game media to be paid out based on the establishment of the payout condition). For example, a payout number signal transmitting means for transmitting a payout number signal (for example, a prize ball number signal) for designating a payout number of a predetermined number of prize game media to the payout control means based on the prize game medium number data. (For example, the portion of the game control means that executes the processing of Step S255, Step S256, and Step S203) A prize game medium number data subtraction means (for example, a step in the game control means) for performing a subtraction process for subtracting a value corresponding to the designated payout number. The payout control means starts control signal reception control (for example, step S717) for receiving a control signal from the game control means based on the supply of power to the gaming machine. After that, payout side connection confirmation signal output means for turning on the payout side connection confirmation signal (for example, third connection confirmation signal) with respect to the game control means (for example, processing of steps S717 and S718 in the payout control means is executed. Portion) and unpaid number data indicating the number of unpaid premium game media that have not been paid out of the number of payouts of premium game media specified by the payout number signal transmitted by the payout number signal transmission means (for example, Payout control storage means (for example, award ball unpaid-out count counter) that stores variation data that fluctuates according to payout control including the value of the award ball unpaid-out counter. On the basis of the unpaid number data stored in the payout control storage means and the payout control means to pay out the prize game medium. A prize game medium payout control means (for example, a portion of the payout control means for executing the process of step S756) for executing the payout process, and the game control means controls the game based on the supply of power to the gaming machine. On the condition that the payout side connection confirmation signal is turned on by the payout side connection confirmation signal output means (for example, Y in step S96). The game side connection confirmation signal output means (for example, the scan in the game control means) that turns on the signals (for example, the first connection confirmation signal and the second connection confirmation signal) to the payout control means. And after the game side connection confirmation signal output means turns on the game side connection confirmation signal by the game side connection confirmation signal output means, the execution of the game control is started (for example, an interrupt permitted state). As shown in FIG. 14, the payout number signal, the game side connection confirmation signal, and the payout side connection confirmation signal are transmitted by a signal line connected by the signal line connection means (for example, After the payout connection confirmation signal is turned on by the payout side connection confirmation signal output means (for example, step S718), the payout control means outputs the game side connection confirmation signal within a predetermined monitoring period. On the condition that the game side connection confirmation signal is confirmed to be turned on by the means (for example, Y in step S719), the execution of the payout control is started (for example, the Tsu as interrupt enable state at flops S720 starts execution of the payout control processing shown in FIG. 32) that is characterized.

払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段(例えば、払出制御手段におけるステップS815,S816の処理を実行する部分)と、払出側エラー状態設定手段によってエラー状態に移行されたときに、景品遊技媒体払出制御手段による払出処理の実行を停止する払出停止手段(例えば、払出制御手段におけるステップS621にてYと判定されるようにし新たな払出処理をが実行されないようにステップS816で主制御未接続エラービットをセットする処理を実行する部分)とを備えていてもよい。   The payout control means shifts the execution state of the payout control to an error state in response to the game side connection confirmation signal output from the game side connection confirmation signal output means being turned off after the execution of the payout control is started. The payout by the prize game medium payout control means when the payout side error state setting means (for example, the portion of the payout control means that executes the processing of steps S815 and S816) and the payout side error state setting means shifts to an error state. Dispensing stop means for stopping the execution of processing (for example, processing for setting the main control unconnected error bit in step S816 so that a new payout process is not executed so as to be determined as Y in step S621 in the payout control means) And a portion for executing the above.

払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段(例えば、払出制御手段におけるステップS815,S816の処理を実行する部分)と、払出数信号送信手段により送信された払出数信号を取り込む取込処理を実行する取込手段(例えば払出制御手段におけるステップS545にて賞球個数信号を受信する処理を実行する部分)と、取込手段によって取り込まれた払出数信号によって指定された景品遊技媒体の払出数を払出制御用記憶手段に記憶された未払出数データに加算する未払出数データ加算手段(例えば払出制御手段におけるステップS545にて賞球未払出個数カウンタに加算する処理を実行する部分)と、払出側エラー状態設定手段によってエラー状態に移行されたときに(例えばステップS543のN、ステップS815のY、ステップS816)、取込手段による取込処理の実行を停止する取込停止手段(例えば、払出制御手段におけるステップS543にてNと判定したときにステップS544以降の処理を実行することなくステップS816にてエラービットをセットし、その後はステップS541にでYと判定するようにする処理を実行する部分)とを備えていてもよい。   The payout control means shifts the execution state of the payout control to an error state in response to the game side connection confirmation signal output from the game side connection confirmation signal output means being turned off after the execution of the payout control is started. A payout-side error state setting means (for example, a portion of the payout control means that executes the processes of steps S815 and S816) and a take-in means for executing a take-in process for taking in the payout number signal transmitted by the payout number signal transmitting means ( For example, the portion for executing the process of receiving the award ball number signal in step S545 in the payout control means) and the payout control storage means for the number of prize game media specified by the payout number signal taken in by the take-in means Unpaid-out number data adding means for adding to the unpaid-out number data stored in (for example, the number of unpaid prize balls in step S545 in the payout control means) A portion that executes processing to be added to the counter) and when the payout side error state setting means shifts to an error state (for example, N in step S543, Y in step S815, step S816), Capture stop means (for example, when it is determined as N in step S543 in the payout control means, the error bit is set in step S816 without executing the processing from step S544 onward, and thereafter, step S541 is executed). And a portion for executing a process for determining Y in the above).

遊技制御手段は、遊技制御の実行を開始したあとに払出側接続確認信号出力手段からの払出側接続確認信号がオフ状態となったことに応じて、遊技制御の実行状態をエラー状態に移行させる遊技側エラー状態設定手段(例えば、遊技制御手段におけるステップS254,S274の処理を実行する部分)と、遊技側エラー状態設定手段によってエラー状態に移行されたときに、払出数信号送信手段による払出数信号の送信を停止する送信停止手段(例えば遊技制御手段におけるステップS204およびステップS205にてYと判定したときにステップS202の処理を行うことなく賞球処理を終了する処理を実行する部分)とを備えていてもよい。   The game control means shifts the execution state of the game control to the error state in response to the payout side connection confirmation signal output from the payout side connection confirmation signal output means being turned off after the execution of the game control is started. The number of payouts by the payout number signal transmission means when the game side error state setting means (for example, the portion of the game control means that executes the processing of steps S254 and S274) and the game side error state setting means shifts to an error state. Transmission stopping means for stopping signal transmission (for example, a part that executes the process of ending the award ball process without performing the process of step S202 when it is determined as Y in step S204 and step S205 in the game control means). You may have.

払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段(例えば、払出制御手段におけるステップS815,S816の処理を実行する部分)を含み、払出側接続確認信号出力手段は、払出側エラー状態設定手段によってエラー状態に移行されたときに、払出側接続確認信号をオフ状態とする構成(例えば、払出制御手段におけるステップS815にてYと判定されたときに第3接続確認信号をオフ状態とする処理を実行する部分)とされていてもよい。   The payout control means shifts the execution state of the payout control to an error state in response to the game side connection confirmation signal output from the game side connection confirmation signal output means being turned off after the execution of the payout control is started. When the payout side error confirmation setting means includes the payout side error state setting means (for example, the portion of the payout control means that executes the processing of steps S815 and S816), and the payout side error confirmation setting means outputs the error state In addition, the payout-side connection confirmation signal is turned off (for example, a part for executing processing for turning off the third connection confirmation signal when it is determined as Y in step S815 in the payout control means). May be.

景品遊技媒体の払い出しを検出し、払出検出信号を出力する払出検出手段(例えば払出個数カウントスイッチ301)を備え、払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段(例えば、払出制御手段におけるステップS815,S816の処理を実行する部分)と、払出検出手段が景品遊技媒体の払い出しを検出する毎に、払出制御用記憶手段に記憶された未払出数データを減算する未払出数データ減算手段(例えば、払出制御手段におけるステップS601〜S603の処理を実行する部分)とを含み、未払出数データ減算手段は、払出側エラー状態設定手段によってエラー状態に移行されていても、払出検出手段が景品遊技媒体の払い出しを検出する毎に前記未払出数データを減算する(例えば図41に示す賞球球貸し制御処理においてエラービットの状態を確認することなくステップS601〜S603の処理を行う)構成とされていてもよい。   A payout detection means (for example, a payout count switch 301) that detects payout of a prize game medium and outputs a payout detection signal is provided, and the payout control means outputs a game side connection confirmation signal output means after starting the execution of payout control. In response to the game side connection confirmation signal from the player being turned off, payout side error state setting means for shifting the execution state of the payout control to an error state (for example, executing the processing of steps S815 and S816 in the payout control means) Each time the payout detection means detects the payout of the prize game medium, and subtracts the unpaid number data subtraction means (for example, a step in the payout control means) that subtracts the unpaid number data stored in the payout control storage means. The portion for executing the processing of S601 to S603), and the unpaid-out number data subtracting means -Even if the state is shifted to the state, every time the payout detecting means detects the payout of the prize game medium, the unpaid number data is subtracted (for example, the status of the error bit is confirmed in the prize ball lending control processing shown in FIG. 41). (The processing of steps S601 to S603 is performed without the above).

景品遊技媒体の払い出しを検出し、払出検出信号を出力する払出検出手段(例えば払出個数カウントスイッチ301)を備え、払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段(例えば、払出制御手段におけるステップS815,S816の処理を実行する部分)と、払出検出手段が所定数の景品遊技媒体の払い出しを検出する毎に、景品遊技媒体信号を遊技機外部に向けて出力する景品遊技媒体信号出力手段(例えば、払出制御手段におけるステップS835,S837の処理を実行する部分)とを含み、景品遊技媒体信号出力手段は、払出側エラー状態設定手段によってエラー状態に移行されていても、払出検出手段が所定数の景品遊技媒体の払い出しを検出する毎に景品遊技媒体信号を出力する(例えば図50に示す情報出力処理においてエラービットの状態を確認することなく各処理を行う)構成とされていてもよい   A payout detection means (for example, a payout count switch 301) that detects payout of a prize game medium and outputs a payout detection signal is provided, and the payout control means outputs a game side connection confirmation signal output means after starting the execution of payout control. In response to the game side connection confirmation signal from the player being turned off, payout side error state setting means for shifting the execution state of the payout control to an error state (for example, the processing of steps S815 and S816 in the payout control means is executed. And a prize game medium signal output means (for example, a step in the payout control means) that outputs a prize game medium signal to the outside of the gaming machine each time the payout detection means detects payout of a predetermined number of prize game media. And the prize game medium signal output means is provided by the payout-side error state setting means. Even if the payout detection means detects the payout of a predetermined number of prize game media, it outputs a prize game medium signal (for example, confirms the state of an error bit in the information output process shown in FIG. 50). (Can perform each process without)

払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、前記払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段(例えば、払出制御手段におけるステップS815,S816の処理を実行する部分)と、払出側エラー状態設定手段によってエラー状態に移行されているときに、遊技側接続確認信号出力手段からの遊技側接続確認信号がオン状態となったことに応じて、エラー状態を解除するエラー状態解除手段(例えば、払出制御手段におけるステップS815,S817の処理を実行する部分)とを含む構成とされていてもよい。   The payout control means shifts the execution state of the payout control to an error state in response to the game side connection confirmation signal output from the game side connection confirmation signal output means being turned off after the execution of the payout control is started. A game-side connection confirmation signal is output when the payout-side error state setting means (for example, the portion of the payout control means that executes the processes of steps S815 and S816) and the payout-side error state setting means And an error state canceling means for canceling the error state in response to the game side connection confirmation signal from the means being turned on (for example, a part for executing the processing of steps S815 and S817 in the payout control means). It may be said.

貸出要求(例えば球貸し要求)による払出条件の成立にもとづいて貸し遊技媒体を払い出す遊技機であって、払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段(例えば、払出制御手段におけるステップS815,S816の処理を実行する部分)と、貸出要求による払出条件が成立したことにもとづいて、払出手段を制御して貸し遊技媒体を払い出させる払出処理を実行する貸し遊技媒体払出制御手段(例えば、払出制御手段におけるステップS625〜S627等の処理を実行する部分)とを含み、貸し遊技媒体払出制御手段は、貸出要求による払出条件の成立にもとづく払出側エラー状態設定手段によってエラー状態に移行されていても、払出処理を実行する(例えば、ステップS621にて主制御未接続エラーか否かの判定を行うことなく球貸し制御を行う)ように構成されていてもよい。   A gaming machine that pays out rental game media based on the establishment of a payout condition based on a loan request (for example, a ball rental request), and the payout control means starts from the game side connection confirmation signal output means after starting the execution of the payout control. In response to the game side connection confirmation signal being turned off, payout side error state setting means for shifting the execution state of the payout control to an error state (for example, the processing of steps S815 and S816 in the payout control means is executed) Part) and a lending game medium payout control means (for example, step S625 in the payout control means) for executing payout processing for controlling the payout means and paying out the loaned game media based on the fact that the payout condition by the loan request is satisfied. The portion for executing processing such as S627), and the rental game medium payout control means is based on the establishment of the payout condition by the loan request. Even when the error state is shifted to the error state setting means, the payout process is executed (for example, ball lending control is performed without determining whether or not there is a main control unconnected error in step S621). It may be configured.

請求項1記載の発明によれば、遊技制御手段が、払出条件の成立にもとづく払い出すべき景品遊技媒体の数を特定可能な景品遊技媒体数データを記憶する遊技制御用記憶手段と、景品遊技媒体数データにもとづいて、所定数の景品遊技媒体の払出数を指定する払出数信号を払出制御手段に対して送信する払出数信号送信手段と、払出数信号送信手段が払出数信号を送信したことに応じて、景品遊技媒体数データから払出数信号で指定した払出数に対応する値を減算する減算処理を行う景品遊技媒体数データ減算手段とを含み、払出制御手段が、遊技機への電力が供給されたことにもとづいて遊技制御手段からの制御信号を受け付ける制御信号受付制御を開始したあとに、払出側接続確認信号を遊技制御手段に対してオン状態とする払出側接続確認信号出力手段と、払出数信号送信手段により送信された払出数信号により指定された景品遊技媒体の払出数のうち未だ払い出されていない未払出の景品遊技媒体の数を示す未払出数データを含む払出制御によって変動する変動データを記憶する払出制御用記憶手段と、払出制御用記憶手段に記憶されている未払出数データにもとづいて、払出手段を制御して景品遊技媒体を払い出させる払出処理を実行する景品遊技媒体払出制御手段とを含み、遊技制御手段が、遊技機への電力が供給されたことにもとづいて遊技制御を実行可能な状態となったあと、払出側接続確認信号出力手段により払出側接続確認信号がオン状態とされたことが確認されたことを条件に、遊技側接続確認信号を払出制御手段に対してオン状態とする遊技側接続確認信号出力手段を含み、遊技側接続確認信号出力手段により遊技側接続確認信号をオン状態としたあとに、遊技制御の実行を開始し、払出数信号と、遊技側接続確認信号と、払出側接続確認信号とは、信号線接続手段によって接続される信号線によって伝送され、払出制御手段が、払出側接続確認信号出力手段により払出側接続確認信号をオン状態としたあと、あらかじめ定められた監視期間内に、遊技側接続確認信号出力手段により遊技側接続確認信号がオン状態とされたことが確認されたことを条件に、払出制御の実行を開始することを特徴とするので、払出条件が成立したときに景品遊技媒体の付与を迅速に行うことができるとともに、遊技制御手段での未払出の遊技媒体数の管理を低コストで行うことができる。さらに、基板の実装面積を広く確保することなく、低コストかつ遊技機で使用されるマイクロコンピュータの特性に左右されない構成で払出数信号を確実に受信することができるという効果を奏する。   According to the first aspect of the present invention, the game control means stores the game control storage means for storing the number of prize game media that can specify the number of prize game media to be paid out based on the establishment of the payout condition, and the prize game. Based on the medium number data, a payout number signal transmitting means for transmitting a payout number signal for designating the number of payouts of a predetermined number of prize game media to the payout control means, and the payout number signal transmitting means transmitted the payout number signal. Accordingly, a prize game medium number data subtracting means for performing a subtraction process for subtracting a value corresponding to the number of payouts specified by the payout number signal from the prize game medium number data, wherein the payout control means is connected to the gaming machine. A payout side connection for turning on the payout side connection confirmation signal with respect to the game control means after starting control signal acceptance control for accepting a control signal from the game control means based on the supply of power Unpaid number data indicating the number of unpaid premium game media that have not been paid out of the number of payouts of premium game media designated by the payout number signal transmitted by the approval signal output means and the payout number signal transmission means Based on the payout control storage means for storing the fluctuation data that fluctuates depending on the payout control including the unpaid number data stored in the payout control storage means, the payout means is controlled to pay out the premium game medium. A prize-side connection confirmation signal after the game control means has entered a state in which game control can be executed based on the supply of power to the gaming machine. On the condition that the payout side connection confirmation signal is turned on by the output means, the game side connection confirmation signal that turns the game side connection confirmation signal on to the payout control means is turned on. After the game side connection confirmation signal output means is turned on by the game side connection confirmation signal output means, the execution of the game control is started, the payout number signal, the game side connection confirmation signal, and the payout side connection confirmation. The signal is transmitted by the signal line connected by the signal line connection means, and the payout control means turns on the payout side connection confirmation signal by the payout side connection confirmation signal output means and then within a predetermined monitoring period. In addition, since the game side connection confirmation signal output means confirms that the game side connection confirmation signal is turned on, the execution of the payout control is started. Sometimes it is possible to quickly give away prize game media and to manage the number of game media that have not been paid out by the game control means at a low cost. Furthermore, it is possible to reliably receive the payout number signal at a low cost and with a configuration that does not depend on the characteristics of the microcomputer used in the gaming machine without securing a large board mounting area.

請求項2記載の発明では、払出制御手段が、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、払出側エラー状態設定手段によってエラー状態に移行されたときに、景品遊技媒体払出制御手段による払出処理の実行を停止する払出停止手段とを備えているので、遊技制御手段と払出制御手段との間の通信が正確に実行されないおそれがあるときに、払出処理を停止させることができる。   In the invention according to claim 2, the payout control means performs the payout control in response to the game side connection confirmation signal output from the game side connection confirmation signal output means being turned off after the execution of the payout control is started. A payout side error state setting means for shifting the execution state to an error state, and a payout stop means for stopping execution of the payout process by the prize game medium payout control means when the payout side error state setting means shifts to the error state. Therefore, the payout process can be stopped when there is a possibility that the communication between the game control means and the payout control means may not be accurately executed.

請求項3記載の発明では、払出制御手段が、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、払出数信号送信手段により送信された払出数信号を取り込む取込処理を実行する取込手段と、取込手段によって取り込まれた払出数信号によって指定された景品遊技媒体の払出数を払出制御用記憶手段に記憶された未払出数データに加算する未払出数データ加算手段と、払出側エラー状態設定手段によってエラー状態に移行されたときに、取込手段による取込処理の実行を停止する取込停止手段とを備えているので、遊技制御手段と払出制御手段との間の通信が正確に実行されないおそれがあるときに、払出数信号により特定される景品遊技媒体数を払出制御手段が誤認識してしまうことを防止することができ、遊技者に不利益を及ぼしてしまうことを回避することができる。   In the invention according to claim 3, the payout control means performs the payout control in response to the game side connection confirmation signal output from the game side connection confirmation signal output means being turned off after the execution of the payout control is started. The payout side error state setting means for shifting the execution state to the error state, the take-in means for executing the take-in process for taking in the pay-out number signal transmitted by the pay-out number signal transmitting means, and the number of payouts taken in by the take-in means When an unpaid number data adding means for adding the number of payouts of the premium game medium designated by the signal to the unpaid number data stored in the payout control storage means and the payout side error state setting means shifts to an error state In addition, there is a capture stop unit that stops the execution of the capture process by the capture unit, and therefore communication between the game control unit and the payout control unit may not be performed accurately. To come, the number of prize game media specified by the payout number signal can be prevented that the payout control means misrecognition can be avoided that would adversely detrimental to the player.

請求項4記載の発明では、遊技制御手段は、遊技制御の実行を開始したあとに払出側接続確認信号出力手段からの払出側接続確認信号がオフ状態となったことに応じて、遊技制御の実行状態をエラー状態に移行させる遊技側エラー状態設定手段と、遊技側エラー状態設定手段によってエラー状態に移行されたときに、払出数信号送信手段による払出数信号の送信を停止する送信停止手段とを備えているので、遊技制御手段と払出制御手段との間の通信が正確に実行されないおそれがあるときに、払出処理を停止させることができる。   In the invention according to claim 4, the game control means performs the game control in response to the payout side connection confirmation signal output means from the payout side connection confirmation signal output means being turned off after the execution of the game control is started. A game side error state setting means for shifting the execution state to an error state, and a transmission stop means for stopping transmission of the payout number signal by the payout number signal transmitting means when the game side error state setting means shifts to the error state; Therefore, the payout process can be stopped when there is a possibility that the communication between the game control means and the payout control means may not be accurately executed.

請求項5記載の発明では、払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段を含み、払出側接続確認信号出力手段は、払出側エラー状態設定手段によってエラー状態に移行されたときに、払出側接続確認信号をオフ状態とする構成とされているので、払出制御手段側がエラー状態に移行したことに応じて遊技制御手段側をエラー状態に移行させるようにすることができ、払出数信号により特定される景品遊技媒体数を払出制御手段が誤認識してしまうことを防止することができ、遊技制御手段と払出制御手段との未払出の景品遊技媒体数の認識が相違してしまうことを防止することができる。   In the invention according to claim 5, the payout control means performs the payout control in response to the game side connection confirmation signal output from the game side connection confirmation signal output means being turned off after the execution of the payout control is started. It includes a payout side error state setting means for shifting the execution state to an error state, and the payout side connection confirmation signal output means turns off the payout side connection confirmation signal when it is shifted to the error state by the payout side error state setting means. The game control means side can be shifted to an error state in response to the payout control means side shifting to an error state, and the number of prize game media specified by the payout number signal Can be prevented from being misrecognized by the payout control means, and the recognition of the number of unpaid premium game media between the game control means and the payout control means can be prevented from being different. It is possible.

請求項6記載の発明では、景品遊技媒体の払い出しを検出し、払出検出信号を出力する払出検出手段を備え、払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、払出検出手段が景品遊技媒体の払い出しを検出する毎に、払出制御用記憶手段に記憶された未払出数データを減算する未払出数データ減算手段とを含み、未払出数データ減算手段は、払出側エラー状態設定手段によってエラー状態に移行されていても、払出検出手段が景品遊技媒体の払い出しを検出する毎に前記未払出数データを減算する構成とされているので、エラー状態となっていても景品遊技媒体の未払出数を確実に管理することができる。   According to the sixth aspect of the present invention, there is provided a payout detecting means for detecting payout of the prize game medium and outputting a payout detection signal. The payout control means outputs the game side connection confirmation signal output means after starting the execution of the payout control. Each time the game side connection confirmation signal from the player turns off, the payout side error state setting means for shifting the execution state of the payout control to the error state, and the payout detection means detect the payout of the prize game medium. And an unpaid-out number data subtracting means for subtracting unpaid-out number data stored in the payout control storage means, and the unpaid-out number data subtracting means has been shifted to an error state by the payout-side error state setting means. However, since the payout detecting means subtracts the unpaid number data every time the payout of the prize game medium is detected, the payout of the prize game medium is not performed even in an error state. It is possible to reliably manage.

請求項7記載の発明では、景品遊技媒体の払い出しを検出し、払出検出信号を出力する払出検出手段を備え、払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、払出検出手段が所定数の景品遊技媒体の払い出しを検出する毎に、景品遊技媒体信号を遊技機外部に向けて出力する景品遊技媒体信号出力手段とを含み、景品遊技媒体信号出力手段は、払出側エラー状態設定手段によってエラー状態に移行されていても、払出検出手段が所定数の景品遊技媒体の払い出しを検出する毎に前記景品遊技媒体信号を出力する構成とされているので、エラー状態となっていても実際に払い出しが検出された景品遊技媒体の数を、賞球信号を入力可能な管理装置等により集計可能とすることができ、不正行為にもとづく遊技媒体の払い出しを察知可能とすることができる。   According to the seventh aspect of the present invention, there is provided payout detection means for detecting payout of the prize game medium and outputting a payout detection signal, and the payout control means is a game side connection confirmation signal output means after starting execution of the payout control. In response to the game side connection confirmation signal from the player being turned off, the payout side error state setting means for shifting the execution state of the payout control to the error state, and the payout detecting means pays out a predetermined number of prize game media. A prize game medium signal output means for outputting a prize game medium signal to the outside of the gaming machine each time it is detected, and the prize game medium signal output means is shifted to an error state by the payout side error state setting means. However, the payout detection means outputs the prize game medium signal every time it detects the payout of a predetermined number of prize game media. Out is the number of detected prize game media, winning balls signals can allow aggregation by fillable management device or the like, can allow perceive the payout of game media based on fraud.

請求項8記載の発明では、払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、払出側エラー状態設定手段によってエラー状態に移行されているときに、遊技側接続確認信号出力手段からの遊技側接続確認信号がオン状態となったことに応じて、エラー状態を解除するエラー状態解除手段とを含む構成とされているので、エラー状態が解消したときに、制御状態を自動的に復帰させることができる。   In the invention described in claim 8, the payout control means performs the payout control in response to the game side connection confirmation signal output from the game side connection confirmation signal output means being turned off after the execution of the payout control is started. The game-side connection confirmation signal from the game-side connection confirmation signal output means is in an ON state when the game-side connection confirmation signal output means is shifted to the error state by the payout-side error state setting means for shifting the execution state to the error state. Accordingly, the control state can be automatically restored when the error state is resolved because the error state canceling means for canceling the error state is included.

請求項9記載の発明では、貸出要求による払出条件の成立にもとづいて貸し遊技媒体を払い出す遊技機であって、払出制御手段は、払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、貸出要求による払出条件が成立したことにもとづいて、払出手段を制御して貸し遊技媒体を払い出させる払出処理を実行する貸し遊技媒体払出制御手段とを含み、貸し遊技媒体払出制御手段は、貸出要求による払出条件の成立にもとづく払出側エラー状態設定手段によってエラー状態に移行されていても、払出処理を実行する構成とされているので、遊技制御手段が関わらない遊技媒体の貸出に関わる制御を継続させることができ、遊技を円滑に進行させることができる。   According to the ninth aspect of the present invention, the gaming machine pays out the rented game medium based on the establishment of the payout condition by the loan request, and the payout control means outputs the game side connection confirmation signal after starting the execution of the payout control. Based on the fact that the payout side error state setting means for shifting the execution state of the payout control to the error state in response to the game side connection confirmation signal from the means being turned off, and that the payout condition by the lending request is satisfied A lending game medium payout control means for executing a payout process for controlling the payout means to pay out the rented game medium. Even if the setting means has shifted to an error state, the payout process is executed, so control related to gaming media lending that does not involve game control means. It can be continued, it is possible to smoothly proceed the game.

以下、本発明の一実施形態を図面を参照して説明する。
まず、遊技機の一例であるパチンコ遊技機の全体の構成について説明する。図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 pachinko gaming machine 1 includes an outer frame (not shown) formed in a vertically long rectangular shape, and a game frame attached to the inside of the outer frame so as to be opened and closed. Further, the pachinko gaming machine 1 has a glass door frame 2 formed in a frame shape that is provided in the game frame so as to be opened and closed. The game frame includes a front frame (not shown) installed to be openable and closable with respect to the outer frame, a mechanism plate to which mechanism parts and the like are attached, and various parts attached to them (excluding game boards described later). Is a structure including

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

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

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

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

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

遊技盤6には、複数の入賞口29,30,33,39が設けられ、遊技球の入賞口29,30,33,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 game board 6 is provided with a plurality of winning holes 29, 30, 33, 39, and winning of game balls to the winning holes 29, 30, 33, 39 is performed by winning hole switches 29a, 30a, 33a, 39a, respectively. Detected. Each winning opening 29, 30, 33, 39 constitutes a winning area provided in the game board 6 as an area for accepting game media and allowing winning. The start winning opening 14 and the big winning opening also constitute a winning area that accepts game media and allows winning. Decorative lamps 25 blinking and displayed during the game are provided around the left and right sides of the game area 7, and an outlet 26 for absorbing a game ball that has not won a prize is provided at the bottom. Two speakers 27 that emit sound effects are provided on the left and right upper portions outside the game area 7. On the outer periphery of the game area 7, a top frame lamp 28a, a left frame lamp 28b, and a right frame lamp 28c are provided. Further, a decoration LED is installed around each structure (such as a big prize opening) in the game area 7. The top frame lamp 28a, the left frame lamp 28b, the right frame lamp 28c, and the decorative LED are examples of a decorative light emitter provided in the gaming machine.

そして、この例では、左枠ランプ28bの近傍に、賞球払出中に点灯する賞球LED51が設けられ、天枠ランプ28aの近傍に、補給球が切れたときに点灯する球切れLED52が設けられている。上記のように、この実施の形態のパチンコ遊技機1には、発光体としてのランプやLEDが各所に設けられている。さらに、プリペイドカードが挿入されることによって球貸しを可能にするプリペイドカードユニット(以下、「カードユニット」という。)が、パチンコ遊技機1に隣接して設置される(図示せず)。   In this example, a prize ball LED 51 that is lit during award ball payout is provided in the vicinity of the left frame lamp 28b, and a ball break LED 52 that is lit when the supply ball is cut is provided in the vicinity of the top frame lamp 28a. It has been. As described above, the pachinko gaming machine 1 of this embodiment is provided with lamps and LEDs as light emitters in various places. Further, a prepaid card unit (hereinafter referred to as “card unit”) that enables lending of a ball by inserting a prepaid card is installed adjacent to the pachinko gaming machine 1 (not shown).

カードユニットには、例えば、使用可能状態であるか否かを示す使用可表示ランプ、カードユニットがいずれの側のパチンコ遊技機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 pachinko gaming machine 1 corresponds to the card unit, When checking the card insertion indicator lamp that indicates that a card has been inserted, the card insertion slot into which a card as a recording medium is inserted, and the card reader / writer mechanism provided on the back of the card insertion slot A card unit lock is provided to release the unit.

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

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

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

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

次に、パチンコ遊技機1の裏面の構造について図2を参照して説明する。図2は、遊技機を裏面から見た背面図である。   Next, the structure of the back surface of the pachinko gaming machine 1 will be described with reference to FIG. FIG. 2 is a rear view of the gaming machine as seen from the back side.

図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 display control unit 49 including an effect control board 80 on which an effect control means for controlling the variable display device 9 is mounted, a game control microcomputer, and the like are mounted. A control board (main board) 31 is installed. In addition, a payout control board 37 on which a payout control microcomputer that performs ball payout control is mounted is installed. The production control means includes a variable display device 9 provided on the game board 6, various decoration LEDs, a normal symbol start memory display 41, a decoration lamp 25, a top frame lamp 28a provided on the frame side, and a left frame. The lamp 28b and the right frame lamp 28c are controlled to be turned on, and sound generation from the speaker 27 is controlled.

演出制御手段は、演出制御基板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 effect control board 80, but various decoration LEDs, normal symbol start memory display 41, and decoration lamp 25 provided on the game board 6. The drive circuit for driving the top frame lamp 28a, the left frame lamp 28b and the right frame lamp 28c provided on the frame side is mounted on a lamp driver board electrically connected to the effect control board 80. Yes. The drive circuit for driving the speaker 27 is mounted on a sound control board that is electrically connected to the effect control board 80.

さらに、DC30V、DC21V、DC12VおよびDC5Vを作成する電源回路が搭載された電源基板910やタッチセンサ基板91が設けられている。電源基板910は、大部分が主基板31と重なっているが、主基板31に重なることなく外部から視認可能に露出した露出部分がある。この露出部分には、遊技機1における主基板31および各電気部品制御基板(演出制御基板80および払出制御基板37)や遊技機に設けられている各電気部品への電力供給を実行あるいは遮断するための電力供給許可手段としての電源スイッチと、主基板31および払出制御基板37に含まれる記憶内容保持手段(例えば、電力供給停止時にもその内容を保持可能なバックアップRAM)に記憶されたバックアップデータをクリアするための操作手段としてのクリアスイッチとが設けられている。さらに、露出部分における電源スイッチの内側(基板内部側)には、交換可能なヒューズが設けられている。   Further, a power supply substrate 910 and a touch sensor substrate 91 on which a power supply circuit for generating DC30V, DC21V, DC12V, and DC5V is mounted are provided. Most of the power supply substrate 910 overlaps with the main substrate 31, but there is an exposed portion that is exposed so as not to overlap with the main substrate 31. In the exposed portion, power supply to the main board 31 and each electric component control board (the effect control board 80 and the payout control board 37) in the gaming machine 1 and each electric component provided in the gaming machine is executed or cut off. Data stored in a power switch as a power supply permitting unit and a storage content holding unit included in the main board 31 and the payout control board 37 (for example, a backup RAM capable of holding the contents even when power supply is stopped) And a clear switch as an operation means for clearing. Furthermore, a replaceable fuse is provided inside the power switch at the exposed portion (inside the substrate).

なお、電気部品制御基板には、電気部品制御用マイクロコンピュータを含む電気部品制御手段が搭載されている。電気部品制御手段は、遊技制御手段からの指令信号(制御信号)に従って遊技機に設けられている電気部品(遊技用装置:球払出装置97、可変表示装置9、ランプやLEDなどの発光体、スピーカ27等)を制御する。以下、主基板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 provided in the gaming machine according to a command signal (control signal) from the game control means (game device: ball payout device 97, variable display device 9, light emitter such as a lamp or LED, The speaker 27 and the like are controlled. Hereinafter, description may be made by including the main board 31 in the electric component control board. In that case, the electric component control means mounted on the electric component control board indicates each of the game control means and the means for controlling the electric components provided in the gaming machine in accordance with a command signal from the game control means. . A substrate on which a microcomputer other than the main substrate 31 is mounted may be referred to as a sub-substrate.

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

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

入賞にもとづく景品としての遊技球や球貸し要求にもとづく遊技球が多数払い出されて打球供給皿3が満杯になると、遊技球は、余剰球通路を経て余剰球受皿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 ball supply tray 3 is full, the game balls are guided to the surplus ball receiving tray 4 through the surplus ball passage. When the game ball is further paid out, a sensing lever (not shown) presses a full tank switch (not shown) as a storage state detection means, and the full tank switch as a storage state detection means is turned on. In this state, the rotation of the payout motor in the ball payout device stops, the operation of the ball payout device stops, and the driving of the hitting ball launching device also stops.

なお、本例では、電源基板910や払出制御基板37などが遊技枠に設置され、主基板31などが遊技盤6に設置される。   In this example, the power supply board 910 and the payout control board 37 are installed in the game frame, and the main board 31 and the like are installed in the game board 6.

図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 case 40A. The ball payout device 97 is fixed to the lower part of the passage body installed between the ball break switch 187 and the ball payout device 97. The passage body has a ball passage for flowing down two rows of game balls whose flow-down direction is converted into the left-right direction by a curve saddle. A ball break switch 187 is installed on the upstream side of the ball passage. In practice, a ball break switch is installed in each ball passage. The ball break switch 187 detects the presence or absence of a game ball in the ball passage. When the ball break switch 187 stops detecting a game ball, the ball discharge device 97 has a payout motor (not shown in FIG. 3). Rotation is stopped and game ball payout is immobilized.

また、球切れスイッチ187は、球通路に27〜28個の遊技球が存在することを検出できるような位置に係止片によって係止されている。   The ball break switch 187 is locked by a locking piece at a position where it can be detected that 27 to 28 game balls are present in the ball path.

球払出装置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 number count switch 301 using a proximity switch is provided. Each time one game ball falls from the ball payout device 97, the payout number count switch 301 is turned on. That is, the payout number count switch 301 detects a game ball actually paid out from the ball payout device 97. Therefore, the payout control means can count the number of game balls actually paid out by the detection signal of the payout number count switch 301. In this example, the payout number count switch 301 detects both the paid-out prize balls and lending balls. That is, the payout of prize balls and the payout of lending balls are detected by the same detection means. Therefore, the number of parts can be reduced, and the cost of the gaming machine can be reduced. However, the payout of prize balls and the payout of rental balls may be detected by separate detection means.

この実施の形態では、球払出装置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 winning ball payout and the ball lending are separated by changing the rotation direction of the cam or the sprocket, or the ball paying 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からの信号を基本回路53に与える入力ドライバ回路58と、可変入賞球装置15を開閉するソレノイド16、開閉板20を開閉するソレノイド21および大入賞口内の経路を切り換えるためのソレノイド21Aを基本回路53からの指令に従って駆動するソレノイド回路59とが搭載されている。   FIG. 4 is a block diagram illustrating an example of a circuit configuration in the main board 31. FIG. 4 also shows a payout control board 37, an effect control board 80, and the like. The main board 31 includes a basic circuit (corresponding to a game control microcomputer: game control means) 53 for controlling the pachinko gaming machine 1 according to a program, a gate switch 32a, a start port switch 14a, a V count switch 22, and a count switch 23. , And an input driver circuit 58 for giving signals from the winning opening switches 29a, 30a, 33a, 39a to the basic circuit 53, a solenoid 16 for opening / closing the variable winning ball apparatus 15, a solenoid 21 for opening / closing the opening / closing plate 20, and the inside of the big winning opening And a solenoid circuit 59 for driving the solenoid 21A for switching the path according to a command from the basic circuit 53.

なお、ゲートスイッチ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 gate switch 32a, the start port switch 14a, the V count switch 22, the count switch 23, the winning port switches 29a, 30a, 33a, 39a, and other switches may be referred to as sensors. That is, the name of the game medium detection means (game ball detection means in this example) that can detect a game ball is not limited. Each of the start port switch 14a, the V count switch 22, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a for performing the winning detection is also a winning detection means. Note that the winning detection means may be configured to collectively detect the respective game balls that have been won separately at the plurality of winning openings. In addition, even if a passing gate such as the gate switch 32a is used, if a prize ball is to be paid out, a game ball entering the passing gate becomes a win, and a switch ( For example, the gate switch 32a) becomes a winning detection means. Further, in this embodiment, since the game balls won in the V winning area are detected only by the V count switch 22, the number of game balls won in the big winning opening is the number detected by the V count switch 22 and the count switch 23. It becomes the sum with the detection number by. However, the game ball that has won the V winning area may be detected by the V count switch 22 and also by the count switch 23. In this case, the number of game balls won in the big winning opening corresponds to the number detected by the count switch 23.

また、始動口スイッチ14a、カウントスイッチ23、および入賞口スイッチ29a,30a,33a,39aの各スイッチには、スイッチコモン電圧(例えば+12V)が供給されているが、主基板31には、スイッチコモン電圧を監視するスイッチコモン監視回路71が搭載されている。スイッチコモン監視回路71が、スイッチコモン電圧が所定値まで低下したことを検出すると、基本回路53に入力されるスイッチコモン監視信号をオフ状態にする。   A switch common voltage (for example, + 12V) is supplied to each of the start port switch 14a, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a. A switch common monitoring circuit 71 for monitoring the voltage is mounted. When the switch common monitoring circuit 71 detects that the switch common voltage has dropped to a predetermined value, the switch common monitoring signal input to the basic circuit 53 is turned off.

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

遊技制御用マイクロコンピュータで実現される基本回路53は、ゲーム制御(遊技制御)用のプログラム等を記憶するROM54、ワークメモリとして使用される記憶手段(変動データを記憶する変動データ記憶手段)としてのRAM55、プログラムに従って制御動作を行うCPU56およびI/Oポート部57を含む。この実施の形態では、ROM54およびRAM55はCPU56に内蔵されている。すなわち、CPU56は、1チップマイクロコンピュータである。1チップマイクロコンピュータは、少なくともRAM55が内蔵されていればよく、ROM54およびI/Oポート部57は外付けであっても内蔵されていてもよい。なお、CPU56はROM54に格納されているプログラムに従って制御を実行するので、以下、CPU56が実行する(または、処理を行う)ということは、具体的には、CPU56がプログラムに従って制御を実行することである。このことは、主基板31以外の他の基板に搭載されているCPUについても同様である。また、遊技制御手段は、遊技制御用マイクロコンピュータで実現される基本回路53で実現されているが、主として、遊技制御用マイクロコンピュータにおけるプログラムに従って制御を実行するCPU56で実現される。   A basic circuit 53 realized by a game control microcomputer includes a ROM 54 for storing a game control (game control) program and the like, and storage means used as a work memory (variable data storage means for storing variable data). A RAM 55, a CPU 56 that performs control operations according to a program, and an I / O port unit 57 are included. In this embodiment, the ROM 54 and the RAM 55 are built in the CPU 56. That is, the CPU 56 is a one-chip microcomputer. The one-chip microcomputer only needs to have at least the RAM 55 built in, and the ROM 54 and the I / O port unit 57 may be externally attached or built in. Since the CPU 56 executes control according to the program stored in the ROM 54, the CPU 56 executes (or performs processing) hereinafter, specifically, the CPU 56 executes control according to the program. is there. The same applies to CPUs mounted on substrates other than the main substrate 31. The game control means is realized by a basic circuit 53 realized by a game control microcomputer, but is mainly realized by a CPU 56 that executes control according to a program in the game control microcomputer.

また、RAM55は、その一部が電源基板910において作成されるバックアップ電源によってバックアップされている不揮発性記憶手段としてのバックアップRAMである。すなわち、遊技機に対する電力供給が停止しても、所定期間(バックアップ電源が電力供給不能になるまで)は、RAM55の一部の内容は保存される。この例では、少なくとも、遊技状態すなわち遊技制御手段の制御状態に応じたデータ(特別図柄プロセスフラグ等)は、バックアップRAM領域(RAM55における電源バックアップされている領域:遊技制御バックアップ用記憶手段の一例)に保存される。遊技制御手段の制御状態に応じたデータとは、停電等が生じた後に復旧した場合に、そのデータにもとづいて、制御状態を停電等の発生前に復旧させるために必要なデータである。また、この例では、未払出賞球数を示すデータは、非バックアップRAM領域(RAM55における電源バックアップされていない領域:遊技制御用記憶手段の一例)に保存される。なお、未払出賞球数を示すデータがバックアップRAMに保存されるようにしてもよい。   The RAM 55 is a backup RAM as a non-volatile storage means that is partly backed up by a backup power source created on the power supply substrate 910. In other words, even if the power supply to the gaming machine is stopped, a part of the contents of the RAM 55 is stored for a predetermined period (until the power supply of the backup power supply is disabled). In this example, at least data corresponding to the game state, that is, the control state of the game control means (special symbol process flag, etc.) is stored in the backup RAM area (area where power is backed up in the RAM 55: an example of storage means for game control backup). Saved in. The data corresponding to the control state of the game control means is data necessary for restoring the control state before the occurrence of a power failure or the like based on the data when the power is restored after a power failure or the like. In this example, the data indicating the number of unpaid winning balls is stored in a non-backup RAM area (an area in the RAM 55 where power is not backed up: an example of a game control storage means). Note that data indicating the number of unpaid prize balls may be stored in the backup RAM.

また、払出制御基板37から出力されるリセット確認信号と、電源断確認信号と、クリア信号とが、基本回路53(具体的には入力ポート)に入力される。この例では、CPU56のリセット端子は使用されない。   In addition, a reset confirmation signal, a power-off confirmation signal, and a clear signal output from the payout control board 37 are input to the basic circuit 53 (specifically, an input port). In this example, the reset terminal of the CPU 56 is not used.

遊技球を打撃して発射する打球発射装置は払出制御基板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 launch motor 94 controlled by a circuit on the payout control board 37, and the game ball is launched toward the game area 7 by the rotation of the launch motor 94. A drive signal for driving the firing motor 94 is transmitted to the firing motor 94 via the touch sensor substrate 91. The touch sensor detects that the player is touching the operation knob (hitting ball handle) 5 and a signal from the touch sensor is mounted on the touch sensor substrate 91 (the player touches the operation knob 5). Is transmitted to the payout control board 37 via a circuit including a detection circuit for detecting whether or not it is touched. The circuit on the payout control board 37 stops the driving of the firing motor 94 when the signal from the touch sensor circuit indicates an off state. Note that the operation knob 5 is provided with a touch ring that adjusts the resilience and is a part that the player contacts. In the gaming machine, the touch sensor substrate 91 is disposed between the touch ring and the payout control substrate 37, and is disposed in the vicinity of the touch ring. Specifically, the wiring length between the touch ring and the touch sensor substrate 91 is shorter than the wiring length between the touch sensor substrate 91 and the payout control substrate 37.

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

また、この実施の形態で用いられているCPU56は、ソフトウェアで割込禁止に設定できないマスク不能割込(NMI)を発生させるために使用されるマスク不能割込端子(NMI端子)と、CPU56の外部から割込(外部割込;ソフトウェアで割込禁止にできるマスク可能割込)を発生させるために使用される割込端子(INT端子)とを有する。しかし、この実施の形態では、マスク不能割込および外部割込を使用しない。そこで、NMI端子およびINT端子を、抵抗を介してVcc(+5V)にプルアップしておく。従って、NMI端子およびINT端子の入力レベルは常にハイレベルになり、端子オープン状態に場合に比べて、ノイズ等によってNMI端子およびINT端子の入力レベルが立ち下がって割込発生状態になる可能性が低減する。   In addition, 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 for generating 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 at a high level, 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 terminal open state. Reduce.

また、この例では、CPU56によって点灯/消灯制御がなされるエラー表示用ランプ44が備えられている。エラー表示用ランプ44は、例えば、遊技機前面側の遊技者や遊技店員から目視可能な位置に設置される。エラー表示用ランプ44は、払出制御基板37からの第1接続確認信号または第2接続確認信号の何れかがオフ状態になったときに点灯状態とされ、第1接続確認信号および第2接続確認信号がともにオン状態であるときは消灯状態とされる。すなわち、エラー表示用ランプ44は、遊技制御手段と払出制御手段との間の信号の通信に関する異常が検出されたことを遊技店員等に報知するための通信異常報知手段の一例である。なお、通信異常報知手段は、LEDなどの他の発光体であっても、音声により異常を報知する音声出力装置であっても、異常を報知するための文字や図形などを表示するための表示装置であってもよい。   In this example, an error display lamp 44 that is controlled to be turned on / off by the CPU 56 is provided. The error display lamp 44 is installed, for example, at a position where it can be seen by a player or a game store clerk on the front side of the gaming machine. The error display lamp 44 is turned on when either the first connection confirmation signal or the second connection confirmation signal from the payout control board 37 is turned off, and the first connection confirmation signal and the second connection confirmation signal are displayed. When both signals are on, the light is turned off. That is, the error display lamp 44 is an example of a communication abnormality notifying means for notifying a game store clerk or the like that an abnormality relating to communication of signals between the game control means and the payout control means has been detected. Note that the communication abnormality notifying means is a display for displaying characters or figures for notifying abnormality even if it is another light emitter such as an LED or a sound output device for notifying abnormality by sound. It may be a device.

図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 payout control board 37 and the ball payout device 97. As shown in FIG. 5, the payout control board 37 is equipped with a payout control microcomputer (an example of an electric component control microcomputer) including a payout control CPU 371. In this embodiment, the payout control microcomputer is a one-chip microcomputer and has at least a built-in RAM. Further, the RAM is backed up in the same manner as the RAM 55 in the main board 31. The payout control CPU 371, the RAM, the ROM (not shown) storing the payout control program, the I / O port, etc. constitute payout control means. Accordingly, the payout control means is realized by a payout control CPU 371, a payout control microcomputer including a RAM, a ROM, and an I / O port, but is mainly realized by a payout control CPU 371 that executes control according to a program.

満タンスイッチ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 full tank switch 48 and the payout number count switch 301 are input to the I / O port 372 f of the payout control board 37 via the relay board 72. Detection signals from the ball break switch 187 and the payout motor position sensor 295 are input to the I / O port 372e of the payout control board 37 via the relay board 72. The payout motor position sensor 295 is a sensor composed of a light emitting element (LED) and a light receiving element for detecting the rotational position of the payout motor 289, and is used for detecting that the game ball is clogged, that is, so-called ball biting. . The payout control CPU 371 of the payout control board 37 performs a ball payout process when the detection signal from the ball shortage switch 187 indicates a ball full state or when the detection signal from the full tank switch 48 indicates a full tank state. Stop. Furthermore, when the detection signal from the full tank switch 48 indicates a full tank state, the ball launching from the ball striking device is stopped.

入賞によって払い出すべき賞球が発生すると、主基板31の出力回路67から、払出制御信号として、賞球の払出要求を行うための賞球REQ信号(賞球リクエスト信号)および払い出すべき賞球個数を示す賞球個数信号が出力される(オン状態になる)。賞球個数信号は、4ビットのデータ(2進4桁のデータ)によって構成され、4本の信号線によって出力される。なお、信号のオン状態すなわち出力状態は、信号が有意である状態であり、オン状態になることは、信号を受ける側に対してその信号にもとづく何らかの処理を開始することを指令することを意味する。例えば、賞球REQ信号がオン状態になるということは、払出制御手段に対して、賞球個数信号が示す払出数を認識するように指令することを意味する。賞球REQ信号および賞球個数信号は、入力回路373Aを介してI/Oポート372eに入力される。払出制御用CPU371は、I/Oポート372eを介して賞球REQ信号および賞球個数信号が入力されると、賞球個数信号が示す個数の遊技球を払い出すために球払出装置97を駆動する制御を行う。なお、主基板31の出力回路67からは、主基板31が接続されていることを示す2つの電源確認信号(第1接続確認信号、第2接続確認信号)も出力される。   When a prize ball to be paid out is generated by winning, a prize ball REQ signal (prize ball request signal) for making a prize ball payout request and a prize ball to be paid out as a payout control signal from the output circuit 67 of the main board 31. A prize ball number signal indicating the number is output (turned on). The award ball number signal is composed of 4-bit data (binary 4-digit data) and is output by four signal lines. Note that the ON state of the signal, that is, the output state is a state where the signal is significant, and turning ON means that the signal receiving side is instructed to start some processing based on the signal. To do. For example, turning on the prize ball REQ signal means instructing the payout control means to recognize the payout number indicated by the prize ball number signal. The prize ball REQ signal and the prize ball number signal are input to the I / O port 372e via the input circuit 373A. When the winning ball REQ signal and the winning ball number signal are input via the I / O port 372e, the payout control CPU 371 drives the ball paying device 97 to pay out the number of game balls indicated by the winning ball number signal. Control. The output circuit 67 of the main board 31 also outputs two power supply confirmation signals (a first connection confirmation signal and a second connection confirmation signal) indicating that the main board 31 is connected.

払出制御手段は、電源基板910からの電源断信号の入力に応じて、主基板31に対して電源断確認信号を出力する。また、払出制御手段は、電源基板910に搭載されているクリアスイッチ921からのクリアスイッチ信号の入力に応じて、主基板31に対してクリア信号の出力を開始し、クリア信号をオン状態とする。電源断確認信号とクリア信号とは、払出制御基板37の出力ポート372bおよび出力回路373Bを介して主基板31に出力される。そして、主基板31において、入力回路68およびI/Oポート57を介してCPU56に入力される。   The payout control means outputs a power-off confirmation signal to the main board 31 in response to the input of the power-off signal from the power board 910. Also, the payout control means starts outputting the clear signal to the main board 31 in response to the input of the clear switch signal from the clear switch 921 mounted on the power supply board 910, and turns on the clear signal. . The power-off confirmation signal and the clear signal are output to the main board 31 via the output port 372b of the payout control board 37 and the output circuit 373B. Then, in the main board 31, the data is input to the CPU 56 via the input circuit 68 and the I / O port 57.

払出制御用CPU371は、出力ポート372bを介して、賞球払出数を示す賞球情報信号および貸し球数を示す球貸し個数信号をターミナル基板(枠用外部端子基板と盤用外部端子基板とを含む)160に出力する。なお、出力ポート372bの外側に、ドライバ回路が設置されているが、図5では記載省略されている。また、ターミナル基板160(枠用外部端子基板)には、ドア開放情報スイッチ161A,161Bが接続されている。   The payout control CPU 371 receives a prize ball information signal indicating the number of prize balls to be paid out and a ball lending number signal indicating the number of balls to be rented via the output port 372b as a terminal board (the frame external terminal board and the board external terminal board). Output) 160. A driver circuit is provided outside the output port 372b, but is not shown in FIG. Further, door opening information switches 161A and 161B are connected to the terminal board 160 (frame external terminal board).

また、払出制御用CPU371は、出力ポート372cを介して、7セグメントLEDによるエラー表示用LED374にエラー信号を出力する。さらに、出力ポート372bを介して、点灯/消灯を指示するための信号を賞球LED51および球切れLED52に出力する。なお、払出制御基板37の入力ポート372fには、エラー状態を解除するためのエラー解除スイッチ375からの検出信号が入力される。エラー解除スイッチ375は、ソフトウェアリセットによってエラー状態を解除するために用いられる。   Further, the payout control CPU 371 outputs an error signal to the error display LED 374 using a 7-segment LED via the output port 372c. Further, a signal for instructing lighting / extinguishing is output to the winning ball LED 51 and the ball running out LED 52 via the output port 372b. A detection signal from an error release switch 375 for releasing the error state is input to the input port 372f of the payout control board 37. The error cancel switch 375 is used to cancel the error state by software reset.

さらに、払出制御基板37からの払出モータ289への駆動信号は、出力ポート372aおよび中継基板72を介して球払出装置97の払出機構部分における払出モータ289に伝えられる。なお、出力ポート372aの外側に、ドライバ回路(モータ駆動回路)が設置されているが、図5では記載省略されている。また、払出制御基板37からの発射モータ94への駆動信号は、出力ポート372aおよびタッチセンサ基板91を介して発射モータ94に伝えられる。   Further, a drive signal from the payout control board 37 to the payout motor 289 is transmitted to the payout motor 289 in the payout mechanism portion of the ball payout device 97 via the output port 372a and the relay board 72. A driver circuit (motor drive circuit) is installed outside the output port 372a, but is not shown in FIG. A drive signal from the payout control board 37 to the firing motor 94 is transmitted to the firing motor 94 via the output port 372 a and the touch sensor board 91.

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

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

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

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

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

なお、この実施の形態で用いられている払出制御用CPU371は、マスク不能割込(NMI)を発生させるために使用されるマスク不能割込端子(NMI端子)と、マスク可能割込を発生させるために使用される割込端子(INT端子)とを有する。しかし、この実施の形態では、マスク不能割込および外部割込を使用しない。そこで、NMI端子およびINT端子を、抵抗を介してVcc(+5V)にプルアップしておく。   The payout control CPU 371 used in this embodiment generates a non-maskable interrupt terminal (NMI terminal) used for generating a non-maskable interrupt (NMI) and a maskable interrupt. And an interrupt terminal (INT terminal) used for the purpose. 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.

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

図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 effect control board 80, the lamp driver board 35, and the sound control board 70. The lamp driver board 35 and the sound control board 70 are not equipped with a microcomputer. In the effect control board 80, the effect control CPU 101 in the effect control microcomputer (an example of the electric component control microcomputer) operates in accordance with a program stored in a ROM (not shown), and a strobe signal from the main board 31. In response to (symbol control INT signal), a symbol control command is received via the input driver 102 and the input port 103. Further, the effect control CPU 101 causes the VDP (video display processor) 109 to perform display control of the variable display device 9 using the LCD, based on the symbol control command. The VDP 109 is sometimes called a GCL (graphic controller LSI).

さらに、演出制御用CPU101は、出力ポート104および出力ドライバ110を介して音声制御基板70に対して音番号データを出力する。また、演出制御用CPU101に入出力するバス(アドレスバス、データバス、および書込/読出信号等の制御信号ラインを含む)はバスドライバ105を介してランプドライバ基板35まで延長されている。   Further, the production control CPU 101 outputs sound number data to the sound control board 70 via the output port 104 and the output driver 110. A bus (including an address bus, a data bus, and a control signal line such as a write / read signal) that is input / output to / from the effect control CPU 101 is extended to the lamp driver board 35 via the bus driver 105.

ランプドライバ基板35において、演出制御用CPU101に入出力するバスは、バスレシーバ351を介して出力ポート352および拡張ポート353に接続される。出力ポート352から出力される各ランプを駆動する信号は、ランプドライバ354で増幅され各ランプに供給される。また、出力ポート352から出力される各LEDを駆動する信号は、LED駆動回路355で増幅され各LEDに供給される。   In the lamp driver board 35, a bus that is input to and output from the effect control CPU 101 is connected to the output port 352 and the expansion port 353 via the bus receiver 351. A signal for driving each lamp output from the output port 352 is amplified by a lamp driver 354 and supplied to each lamp. A signal for driving each LED output from the output port 352 is amplified by the LED drive circuit 355 and supplied to each LED.

この実施の形態では、遊技機に設けられているランプ・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 effect CPU 101 mounted on effect control board 80. Further, data for controlling the variable display device 9, the normal symbol display 10, the lamp / LED, and the like are stored in the ROM. The effect CPU 101 controls the variable display device 9, the normal symbol display 10, the lamp / LED, and the like based on the data stored in the ROM. Then, the lamp / LED and the effect driving means are driven via the output port 352 and each drive circuit mounted on the lamp driver board 35. Therefore, when changing the model, it is necessary to make a design change such as changing the number of ports for the lamp driver board 35, but for the production control board 80, it is only necessary to replace the ROM storing the program. There is no need to make design changes.

音声制御基板70において、演出制御基板80からの音番号データは、入力ドライバ702を介して、例えばデジタルシグナルプロセッサによる音声合成用IC703に入力される。音声合成用IC703は、音番号データに応じたデータを音声データ基板70Aに搭載されている音声データROM704から読み出し、読み出したデータに応じた音声や効果音を発生し増幅回路705に出力する。増幅回路705は、音声合成用IC703の出力レベルを、ボリューム706で設定されている音量に応じたレベルに増幅した音声信号をスピーカ27に出力する。   In the voice control board 70, the sound number data from the effect control board 80 is input to the voice synthesis IC 703 by a digital signal processor, for example, via the input driver 702. The voice synthesis IC 703 reads data corresponding to the sound number data from the voice data ROM 704 mounted on the voice data board 70 </ b> A, generates voice and sound effects corresponding to the read data, and outputs them to the amplifier circuit 705. The amplification circuit 705 outputs an audio signal obtained by amplifying the output level of the speech synthesis IC 703 to a level corresponding to the volume set by the volume 706 to the speaker 27.

音声データROM704に格納されている音番号データに応じたデータは、所定期間(例えば特別図柄の変動期間)における効果音または音声の出力態様を時系列的に示すデータの集まりである。音声合成用IC703は、音番号データを入力すると、音声データROM704内の対応するデータに従って音出力制御を行う。対応するデータに従った音出力制御は、次の音番号データを入力するまで継続される。そして、音声合成用IC703は、次の音番号データを入力すると、新た入力した音番号データに対応した音声データROM704内のデータに従って音出力制御を行う。   The data corresponding to the sound number data stored in the sound data ROM 704 is a collection of data indicating the sound effect or sound output mode in a time series in a predetermined period (for example, a special symbol fluctuation period). When the voice number IC 703 receives the sound number data, the voice synthesis IC 703 performs sound output control according to the corresponding data in the voice data ROM 704. The sound output control according to the corresponding data is continued until the next sound number data is input. When the next sound number data is input, the speech synthesis IC 703 performs sound output control according to the data in the sound data ROM 704 corresponding to the newly input sound number data.

この実施の形態では、スピーカ27から出力される音声や効果音は演出制御用CPU101を含む演出制御手段によって制御されるのであるが、演出制御手段は、音声制御基板70に音番号データを出力する。音声制御基板70において、音声データROM704には、遊技の進行に伴って出現しうる音声や効果音を実現するための多数のデータが格納され、それらのデータは音番号データに対応付けられている。従って、演出制御手段は、音番号データを出力するだけで音出力制御を実現することができる。なお、音番号データは例えば1バイトデータであり、シリアル信号線またはパラレル信号線によって音声制御基板70に転送される。   In this embodiment, the sound and sound output from the speaker 27 are controlled by the effect control means including the effect control CPU 101, but the effect control means outputs the sound number data to the sound control board 70. . In the voice control board 70, the voice data ROM 704 stores a large amount of data for realizing voice and sound effects that can appear as the game progresses, and these data are associated with the sound number data. . Therefore, the production control means can realize sound output control only by outputting the sound number data. Note that the sound number data is, for example, 1-byte data and is transferred to the sound control board 70 via a serial signal line or a parallel signal line.

次に、電源基板910の構成を図7のブロック図を参照して説明する。電源基板910には、遊技機内の各電気部品制御基板や機構部品への電力供給を実行または遮断するための電源スイッチ914が設けられている。なお、電源スイッチ914は、遊技機において、電源基板910の外に設けられていてもよい。電源スイッチ914が閉状態(オン状態)では、交流電源(AC24V)がトランス911の入力側(一次側)に印加される。トランス911は、交流電源(AC24V)と電源基板910の内部とを電気的に絶縁するためのものであるが、その出力電圧もAC24Vである。また、トランス911の入力側には、過電圧保護回路としてのバリスタ918が設置されている。   Next, the configuration of the power supply substrate 910 will be described with reference to the block diagram of FIG. The power supply board 910 is provided with a power switch 914 for executing or shutting off power supply to each electrical component control board and mechanism component in the gaming machine. Note that the power switch 914 may be provided outside the power supply board 910 in the gaming machine. When the power switch 914 is in a closed state (on state), an AC power supply (AC 24 V) is applied to the input side (primary side) of the transformer 911. The transformer 911 is for electrically insulating the AC power supply (AC24V) and the inside of the power supply board 910, and its output voltage is also AC24V. A varistor 918 as an overvoltage protection circuit is installed on the input side of the transformer 911.

電源基板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 power supply board 910 is installed independently of the electrical component control board (the main board 31, the payout control board 37, and the effect control board 80), and generates a voltage used by each board and mechanism component in the gaming machine. In this example, AC24V, VSL (DC + 30V), VLP (DC + 24V), VDD (DC + 12V) and VCC (DC + 5V) are generated. Further, a capacitor 916 serving as a storage holding means for holding the stored contents in the backup power supply (VBB), that is, the backup RAM, is charged from DC + 5V (VCC), that is, a power supply line for driving an IC or the like on each substrate. Further, a backflow prevention diode 917 is inserted between the +5 V line and the backup +5 V (VBB) line. Note that VSL is generated by rectifying and boosting AC 24 V with a rectifying element in the rectifying and smoothing circuit 915. VSL is a solenoid driving power source. VLP is a lamp lighting voltage, and is generated by rectifying AC24V with a rectifier element in the rectifier circuit 912.

電源電圧生成手段としてのDC−DCコンバータ913は、1つまたは複数のレギュレータIC(図7では2つのレギュレータIC924A,924Bを示す。)を有し、VSLにもとづいてVDDおよびVCCを生成する。レギュレータIC(スイッチングレギュレータ)924A,924Bの入力側には、比較的大容量のコンデンサ923A,923Bが接続されている。従って、外部からの遊技機に対する電力供給が停止したときに、VSL、VDD、VCC等の直流電圧は、比較的緩やかに低下する。   The DC-DC converter 913 serving as a power supply voltage generation unit has one or a plurality of regulator ICs (two regulator ICs 924A and 924B are shown in FIG. 7), and generates VDD and VCC based on VSL. Relatively large capacitors 923A and 923B are connected to the input sides of the regulator ICs (switching regulators) 924A and 924B. Accordingly, when the power supply to the gaming machine from the outside is stopped, the DC voltages such as VSL, VDD, VCC, etc., decrease relatively slowly.

図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 connectors 922A, 922B and 922C.

コネクタ922Aに接続されるケーブルは、主基板31に接続される。また、コネクタ922Bに接続されるケーブルは、払出制御基板37に接続される。従って、コネクタ922A,922Bには、VBBも供給されている。そして、コネクタ922Cに接続されるケーブルは、ランプドライバ基板35に接続される。なお、演出制御基板80には、ランプドライバ基板35を経由して各電圧が供給される。   The cable connected to the connector 922A is connected to the main board 31. The cable connected to the connector 922B is connected to the payout control board 37. Therefore, VBB is also supplied to the connectors 922A and 922B. The cable connected to the connector 922C is connected to the lamp driver board 35. Each voltage is supplied to the effect control board 80 via the lamp driver board 35.

また、電源基板910には、押しボタン構造のクリアスイッチ921が搭載されている。クリアスイッチ921が押下されるとローレベル(オン状態)のクリアスイッチ信号が出力され、コネクタ922Bを介して払出制御基板37に送信される。また、クリアスイッチ921が押下されていなければハイレベル(オフ状態)の信号が出力される。なお、クリアスイッチ921は、押しボタン構造以外の他の構成であってもよい。また、クリアスイッチ921は、遊技機において、例えば払出制御基板37などの電源基板910以外の基板やその他の場所に設けられていてもよい。   In addition, a clear switch 921 having a push button structure is mounted on the power supply board 910. When the clear switch 921 is pressed, a low level (on state) clear switch signal is output and transmitted to the payout control board 37 via the connector 922B. If the clear switch 921 is not pressed, a high level (off state) signal is output. The clear switch 921 may have a configuration other than the push button structure. Further, the clear switch 921 may be provided in a board other than the power supply board 910 such as the payout control board 37 or other places in the gaming machine.

さらに、電源基板910には、払出制御基板37などのサブ基板に搭載されている払出制御用マイクロコンピュータなどのマイクロコンピュータに対するリセット信号を作成するとともに、電源断信号を出力する電源監視回路920と、電源監視回路920からのリセット信号を増幅してコネクタ922B,922Cに出力するとともに、電源断信号を増幅してコネクタ922Bに出力する出力ドライバ回路925が搭載されている。なお、演出制御用マイクロコンピュータに対するリセット信号は、ランプドライバ基板35を経由して演出制御基板80に伝達される。   Further, the power supply board 910 generates a reset signal for a microcomputer such as a payout control microcomputer mounted on a sub-board such as the payout control board 37, and outputs a power cut-off signal. An output driver circuit 925 that amplifies the reset signal from the power supply monitoring circuit 920 and outputs it to the connectors 922B and 922C, and amplifies the power-off signal and outputs it to the connector 922B is mounted. The reset signal for the effect control microcomputer is transmitted to the effect control board 80 via the lamp driver board 35.

電源監視回路920は電源断信号を出力する電源監視手段とリセット信号を生成するリセット信号生成手段とを実現する回路であるが、電源監視回路920として、市販の停電監視リセットモジュールICを使用することができる。電源監視回路920は、遊技機において用いられる所定電圧(例えば+24V)が所定値(例えば+17V)以下になった期間が、あらかじめ決められている時間(例えば56ms)以上継続すると電源断信号を出力する。具体的には、電源断信号をオン状態(ローレベル)にする。また、電源監視回路920は、例えば、VCCが+4.5V以下になると、リセット信号をローレベルにすることが可能な状態になる。   The power supply monitoring circuit 920 is a circuit that realizes power supply monitoring means for outputting a power-off signal and reset signal generation means for generating a reset signal. As the power supply monitoring circuit 920, a commercially available power failure monitoring reset module IC should be used. Can do. The power supply monitoring circuit 920 outputs a power-off signal when a period during which a predetermined voltage (for example, + 24V) used in the gaming machine becomes equal to or lower than a predetermined value (for example, + 17V) continues for a predetermined time (for example, 56 ms). . Specifically, the power-off signal is turned on (low level). Further, the power supply monitoring circuit 920 enters a state in which the reset signal can be set to a low level when, for example, VCC becomes +4.5 V or less.

電源監視回路920は、遊技機に対する電力供給が停止する際には、電源断信号を出力(ローレベルにする)してから所定期間が経過したときに、リセット信号をローレベルにすることになる。この所定期間は、主基板31および払出制御基板37に搭載されているマイクロコンピュータが、後述する電源断処理を実行するのに十分な時間である。また、遊技機に対する電力供給が開始され、VCCが例えば+4.5Vを越えるとリセット信号をハイレベルにするのであるが、その場合に、電源断信号が出力されなくなってから(ハイレベルにしてから)所定期間が経過したことを条件にリセット信号をハイレベルにする。従って、リセット信号がハイレベルになったことに応じて各電気部品制御基板(主基板31を含む)に搭載されているマイクロコンピュータがプログラムに従って制御操作を開始するときに、電源断信号は必ずオフ状態になっている。   When the power supply to the gaming machine is stopped, the power supply monitoring circuit 920 sets the reset signal to a low level when a predetermined period has elapsed since the power-off signal was output (set to a low level). . This predetermined period is sufficient time for the microcomputer mounted on the main board 31 and the payout control board 37 to execute a power-off process described later. In addition, when the power supply to the gaming machine is started and Vcc exceeds +4.5 V, for example, the reset signal is set to high level. ) The reset signal is set to high level on condition that a predetermined period has elapsed. Therefore, when the microcomputer mounted on each electrical component control board (including the main board 31) starts the control operation according to the program in response to the reset signal becoming high level, the power-off signal is always turned off. It is in a state.

電源監視回路920からのリセット信号は、払出制御基板37に搭載されている払出制御用CPU371のリセット端子に入力される(図5参照)。従って、払出制御用CPU371は、リセット端子の入力状態を監視することによって、払出制御動作の実行状態とするタイミングおよび払出制御動作の停止状態とするタイミングを確認することができる。   The reset signal from the power supply monitoring circuit 920 is input to the reset terminal of the payout control CPU 371 mounted on the payout control board 37 (see FIG. 5). Therefore, the payout control CPU 371 can check the timing of setting the payout control operation execution state and the timing of the payout control operation stop state by monitoring the input state of the reset terminal.

なお、電源監視回路920からのリセット信号の入力に応じて払出制御基板37から出力されるリセット確認信号は、主基板31において、入力ポート57を介してCPU56に入力される。従って、CPU56は、入力ポート57の入力信号を監視することによって、遊技制御動作の実行状態とするタイミングおよび遊技制御動作の停止状態とするタイミングを確認することができる。   The reset confirmation signal output from the payout control board 37 in response to the input of the reset signal from the power supply monitoring circuit 920 is input to the CPU 56 via the input port 57 in the main board 31. Therefore, the CPU 56 can confirm the timing for setting the game control operation to be executed and the timing for setting the game control operation to be stopped by monitoring the input signal of the input port 57.

電源監視回路920からの電源断信号は、払出制御基板37において、入力ポート372gを介して払出制御用CPU371に入力される(図5参照)。従って、払出制御用CPU371は、入力ポート372gの入力信号を監視することによって遊技機への電力供給の停止の発生を確認することができる。   The power-off signal from the power monitoring circuit 920 is input to the payout control CPU 371 via the input port 372g in the payout control board 37 (see FIG. 5). Therefore, the payout control CPU 371 can confirm the occurrence of the stop of the power supply to the gaming machine by monitoring the input signal of the input port 372g.

なお、電源監視回路920からの電源断信号の入力に応じて払出制御基板37から出力される電源断確認信号は、主基板31において、入力ポート57を介してCPU56に入力される。従って、CPU56は、入力ポート57の入力信号を監視することによって遊技機への電力供給の停止の発生を確認することができる。   Note that the power-off confirmation signal output from the payout control board 37 in response to the input of the power-off signal from the power supply monitoring circuit 920 is input to the CPU 56 via the input port 57 in the main board 31. Therefore, the CPU 56 can confirm the occurrence of the stop of the power supply to the gaming machine by monitoring the input signal of the input port 57.

なお、この実施の形態では、電源監視手段が所定電位の電源の出力を監視し、外部から遊技機に供給される電力の供給停止に関わる検出条件として、遊技機の外部からの電圧(この実施の形態では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) is used as a detection condition related to the stop of the supply of power supplied to the gaming machine from the outside. However, the detection condition is not limited to this, and other conditions can be used as long as it is possible to detect that power from the outside has been cut off. These 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および図9において、「論理」が「1」で「状態」が「オン」は、信号がハイレベルのときにオン状態であることを意味し、「論理」が「0」で「状態」が「オン」は、信号がローレベルのときにオン状態であることを意味する。図8に示すように、出力ポート0は払出制御基板37に送信される払出制御信号の出力ポートである。また、演出制御基板80に送信される図柄制御コマンドの8ビットのデータは出力ポート1から出力される。   8 and 9 are explanatory diagrams showing examples of output port assignment in the game control means. 8 and 9, “logic” is “1” and “state” is “on” means that the signal is on when the signal is at a high level, and “logic” is “0”. The “state” of “on” means that the signal is on when the signal is at a low level. As shown in FIG. 8, the output port 0 is an output port for a payout control signal transmitted to the payout control board 37. Further, 8-bit data of the symbol control command transmitted to the effect control board 80 is output from the output port 1.

また、出力ポート2から、大入賞口の開閉板2を開閉するためのソレノイド(大入賞口扉ソレノイド)21、大入賞口内の経路を切り換えるためのソレノイド(大入賞口内誘導板ソレノイド)21Aおよび可変入賞球装置15を開閉するためのソレノイド(普通電動役物ソレノイド)16に対する駆動信号が出力される。さらに、演出制御基板80に送信される図柄制御コマンドについての図柄制御INT信号(ストローブ信号)も出力される。図柄制御INT信号は、図柄制御コマンドの8ビットのデータを取り込むことを演出制御手段に指令するための信号である。   Further, from the output port 2, a solenoid (large winning opening door solenoid) 21 for opening and closing the opening / closing plate 2 of the large winning opening, a solenoid (large winning opening guide plate solenoid) 21A for switching the path in the large winning opening and a variable A drive signal for a solenoid (normal electric accessory solenoid) 16 for opening and closing the winning ball apparatus 15 is output. Further, a symbol control INT signal (strobe signal) for the symbol control command transmitted to the effect control board 80 is also output. The symbol control INT signal is a signal for instructing the effect control means to capture 8-bit data of the symbol control command.

そして、出力ポート3,4から、情報出力回路64を介して情報端子板34やターミナル基板160に至る各種情報出力用信号すなわち制御に関わる情報の出力データが出力される。   Then, various information output signals from the output ports 3 and 4 to the information terminal board 34 and the terminal board 160 through the information output circuit 64, that is, output data of information related to control are output.

図10は、遊技制御手段におけるにおける入力ポートのビット割り当ての例を示す説明図である。図10に示すように、入力ポート0のビット0〜7には、それぞれ、Vカウントスイッチ22、カウントスイッチ23、ゲートスイッチ32a、入賞口スイッチ33a、39a,29a,30a、始動口スイッチ14aの検出信号が入力される。また、入力ポート1のビット0〜2,4には、それぞれ、払出制御基板37からの電源断確認信号、クリア信号、リセット確認信号、第3接続確認信号が入力され、入力ポート1のビット3には、スイッチコモン監視信号が入力される。なお、各スイッチからの検出信号は、入力ドライバ回路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, bits 0 to 7 of the input port 0 are detected by the V count switch 22, the count switch 23, the gate switch 32a, the winning port switches 33a, 39a, 29a and 30a, and the start port switch 14a, respectively. A signal is input. In addition, the power-off confirmation signal, the clear signal, the reset confirmation signal, and the third connection confirmation signal from the payout control board 37 are input to bits 0 to 2 and 4 of the input port 1, respectively. Is supplied with a switch common monitoring signal. The detection signal from each switch is logically inverted in the input driver circuit 58.

次に遊技機の動作について説明する。図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 main board 31. When the gaming machine is turned on and the input level of the reset terminal to which a reset signal is input becomes high, the CPU 56 performs a security check process that is a process for confirming whether the contents of the program are valid. After execution, the main processing after step S1 is started. In the main process, the CPU 56 first performs necessary initial settings.

初期設定処理において、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).

次いで、CPU56は、内蔵デバイス(内蔵周辺回路)であるCTC(カウンタ/タイマ)およびPIO(パラレル入出力ポート)の初期化(ステップS5)を行った後、RAM55をアクセス可能状態に設定する(ステップS6)。   Next, the CPU 56 initializes the CTC (counter / timer) and PIO (parallel input / output port), which are built-in devices (built-in peripheral circuits) (step S5), and then sets the RAM 55 to an accessible state (step S5). 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は、自動的に割込禁止状態に設定するとともに、プログラムカウンタの内容をスタックにセーブする。   In the CPU 56 used in this embodiment, the following three types of modes are prepared 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 issued the interrupt request sends an RST instruction (1 byte) or a CALL instruction (3 bytes) onto the internal data bus of the CPU. Therefore, the CPU 56 executes the instruction at the address corresponding to the RST instruction or the address specified by the CALL instruction. At reset, the CPU 56 automatically enters interrupt mode 0. Therefore, when setting to interrupt mode 1 or interrupt mode 2, it is necessary to perform processing for setting to interrupt mode 1 or interrupt mode 2 in the initial setting process.

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

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

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

次いで、CPU56は、入力ポート1を介して入力されるクリア信号の状態を1回だけ確認する(ステップS7)。その確認においてオンを検出した場合には、CPU56は、通常の初期化処理を実行する(ステップS10〜ステップS15)。クリアスイッチ921からのクリアスイッチ信号がオン状態である場合(クリアスイッチ921が押下されている場合)および、オン状態からオフ状態となったあと(クリアスイッチ921の押下を終えたあと)の所定期間は、払出制御基板37からローレベルのクリア信号が出力されている。なお、入力ポート1では、クリアスイッチ信号のオン状態はハイレベルである。   Next, the CPU 56 confirms the state of the clear signal input via the input port 1 only once (step S7). When the on-state is detected in the confirmation, the CPU 56 executes a normal initialization process (steps S10 to S15). A predetermined period after the clear switch signal from the clear switch 921 is in the on state (when the clear switch 921 is pressed) and after the switch from the on state to the off state (after the press of the clear switch 921 is finished) The low level clear signal is output from the payout control board 37. Note that in the input port 1, the clear switch signal is in the high level.

例えば、遊技店員は、クリアスイッチ921をオン状態にしながら遊技機に対する電力供給を開始する(例えば電源スイッチ914をオンする)ことによって、クリアスイッチ信号およびクリア信号をオン状態とすることができ、容易に初期化処理を実行させることができる。すなわち、RAMクリア等を行うことができる。   For example, the game store clerk can turn on the clear switch signal and the clear signal by starting power supply to the gaming machine (for example, turning on the power switch 914) while the clear switch 921 is turned on. Can execute initialization processing. That is, RAM clear or the like can be performed.

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

保護処理が行われていたか否かは、後述する電力供給停止時処理においてバックアップ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 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 becomes 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 outage 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 process of steps S10 to S15) executed when the power is turned on, not when the power supply is stopped 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 ROM 54 is set as a pointer (step S91), and the contents of the backup setting table are sequentially set in the work area (area in the RAM 55) (step S92). ). The work area is backed up by a backup power source. In the backup setting table, initialization data for an area that may be initialized in the work area is set. As a result of the processing in steps S91 and S92, the saved contents of the work area that should not be initialized remain. The portion that should not be initialized is, for example, a portion in which data (such as a special symbol process flag) indicating a gaming state before stopping power supply is set.

また、CPU56は、ROM54に格納されているバックアップ時コマンド送信テーブルの先頭アドレスをポインタに設定し(ステップS93)、その内容に従ってサブ基板(払出制御基板37および演出制御基板80)に、電力供給が復旧した旨を示す制御コマンド(復旧コマンド)が送信されるように制御する(ステップS94)。そして、ステップS15に移行する。   Further, the CPU 56 sets the start address of the backup command transmission table stored in the ROM 54 as a pointer (step S93), and power is supplied to the sub-boards (the payout control board 37 and the effect control board 80) according to the contents. Control is performed such that a control command (recovery command) indicating the recovery is transmitted (step S94). Then, the process proceeds to step S15.

初期化処理では、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 an unauthorized means. Therefore, it is difficult to aim at a timing at which the count value of the counter for matching the jackpot determination value. Further, the start address of the initialization setting table stored in the ROM 54 is set as a pointer (step S11), and the contents of the initialization setting table are sequentially set in the work area (step S12). Through the processing of steps S11 and S12, for example, a normal symbol determination random number counter, a normal symbol determination buffer, a special symbol left middle right symbol buffer, a total prize ball number storage buffer, a special symbol process flag, an award ball flag, a ball break An initial value is set to a flag for selectively performing processing according to the control state, such as a flag or a payout stop flag.

また、CPU56は、ROM54に格納されている初期化時コマンド送信テーブルの先頭アドレスをポインタに設定し(ステップS13)、その内容に従ってサブ基板を初期化するための初期化コマンドをサブ基板に送信する処理を実行する(ステップS14)。初期化コマンドとして、可変表示装置9に表示される初期図柄を示すコマンド等がある。   Further, the CPU 56 sets the head address of the initialization command transmission table stored in the ROM 54 as a pointer (step S13), and transmits an initialization command for initializing the sub board according to the contents to the sub board. Processing is executed (step S14). Examples of the initialization command include a command indicating an initial symbol displayed on the variable display device 9.

そして、ステップS15において、CPU56は、所定時間(例えば4ms)毎に定期的にタイマ割込がかかるようにCPU56に内蔵されているCTCのレジスタの設定を行なう(ステップS15)。すなわち、初期値として例えば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) (step S15). 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は、遊技制御が実行可能な制御状態となり、払出制御基板37からの第3接続確認信号の状態を繰り返し監視する(ステップS96)。そして、第3接続確認信号がオン状態となったことを確認すると、CPU56は、第1接続確認信号および第2接続確認信号をオン状態とする(ステップS97)。なお、ステップS96およびステップS97が実行されるときは、割込禁止状態とし、ステップS96およびステップS97の処理中に後述するタイマ割込処理が実行されないように制御される。そして、CPU56は、ステップS97が終了すると、割込許可状態にする(ステップS98)。ステップS98にて割込許可状態とすることで、遊技制御の実行を開始する。すなわち、定期的に実行される遊技制御処理の実行を許容する制御状態とする。   When the execution of the initialization process (steps S10 to S15) is completed, the CPU 56 enters a control state in which game control can be executed, and repeatedly monitors the state of the third connection confirmation signal from the payout control board 37 (step S96). Then, when confirming that the third connection confirmation signal is turned on, the CPU 56 turns on the first connection confirmation signal and the second connection confirmation signal (step S97). When step S96 and step S97 are executed, the interrupt is prohibited, and control is performed so that a timer interrupt process, which will be described later, is not executed during the processes of step S96 and step S97. And CPU56 will be in an interruption permission state, after step S97 is complete | finished (step S98). Execution of game control is started by setting the interrupt permitted state in step S98. In other words, the control state allows the execution of the periodically executed game control process.

第1接続確認信号および第2接続確認信号をオン状態とすると、CPU56は、割込許可状態として、後述するタイマ割込処理の実行を許容する。すなわち、遊技制御の実行を開始する。なお、ステップS96の監視処理を開始したときから所定期間が経過しても第3接続確認信号がオン状態とならない場合には、例えば、エラー状態とし、例えばランプや表示などによってエラー報知を行うようにすればよい。   When the first connection confirmation signal and the second connection confirmation signal are turned on, the CPU 56 allows execution of a timer interrupt process described later as an interrupt permission state. That is, execution of game control is started. If the third connection confirmation signal does not turn on even after a predetermined period has elapsed since the start of the monitoring process in step S96, for example, an error state is set, and error notification is performed by, for example, a lamp or a display. You can do it.

次いで、CPU56は、表示用乱数更新処理(ステップS17)および初期値用乱数更新処理(ステップS18)を繰り返し実行する。CPU56は、表示用乱数更新処理および初期値用乱数更新処理が実行されるときには割込禁止状態にして(ステップS16)、表示用乱数更新処理および初期値用乱数更新処理の実行が終了すると割込許可状態にする(ステップS19)。なお、表示用乱数とは、可変表示装置9に表示される図柄を決定するための乱数であり、表示用乱数更新処理とは、表示用乱数を発生するためのカウンタのカウント値を更新する処理である。また、初期値用乱数更新処理とは、初期値用乱数を発生するためのカウンタのカウント値を更新する処理である。初期値用乱数とは、大当りとするか否かを決定するための乱数を発生するためのカウンタ(大当り決定用乱数発生カウンタ)等のカウント値の初期値を決定するための乱数である。後述する遊技制御処理(遊技制御用マイクロコンピュータが、遊技機に設けられている可変表示装置9、可変入賞球装置15、球払出装置97等の遊技用の装置を、自身で制御する処理、または他のマイクロコンピュータに制御させるために指令信号を送信する処理、遊技装置制御処理ともいう)において、大当り決定用乱数発生カウンタのカウント値が1周すると、そのカウンタに初期値が設定される。   Next, 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 permitted state is set (step S19). The display random number is a random number for determining a symbol displayed on the variable display device 9, and the display random number update process is a process for updating the count value of the counter for generating the display random number. It is. The initial value random number update process is a process for updating the count value of the counter for generating the initial value random number. The initial value random number is a random number for determining an initial value of a count value such as a counter for generating a random number for determining whether or not to make a big hit (a big hit determination random number generation counter). A game control process described later (a process in which a game control microcomputer controls itself a game device such as a variable display device 9, a variable winning ball device 15, a ball payout device 97 provided in the game machine, or In a process of transmitting a command signal for causing another microcomputer to control, also referred to as a gaming machine control process), when the count value of the jackpot determination random number generation counter makes one round, an initial value is set in the counter.

なお、表示用乱数更新処理および初期値用乱数更新処理が実行されるときに割込禁止状態にされるのは、表示用乱数更新処理および初期値用乱数更新処理が後述するタイマ割込処理でも実行されることから、タイマ割込処理における処理と競合してしまうのを避けるためである。すなわち、ステップ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 set even when the display random number update process and the initial value random number update process are performed 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は、電源断信号をオフ状態にしてからリセット信号をハイレベルのオフ状態にする。リセット信号は、払出制御基板37に入力され、ランプドライバ基板35を介して演出制御基板80に入力する。そして、払出制御基板37に搭載されている払出制御用CPU371および演出制御基板80に搭載されている演出制御用CPU101のリセット端子に入力される。払出制御用CPU371および演出制御用CPU101は、リセット信号がハイレベルになると動作可能状態になる。払出制御用CPU371は、動作可能状態になると、まず、初期化処理を実行したあと、リセット確認信号をハイレベルのオフ状態とし、払出制御信号受付処理を開始するとともに、第3接続確認信号をオン状態とし、その後、主基板31からの第1接続確認信号および第2接続確認信号の入力状態を監視する監視処理を行う。また、演出制御用CPU101は、まず、初期化処理を実行し、その後、演出制御処理を開始する。   FIG. 13 is a timing diagram showing how the microcomputer operates 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. Note that, as described above, the power monitoring circuit 920 sets the reset signal to a high level off state after turning off the power off signal. The reset signal is input to the payout control board 37 and input to the effect control board 80 via the lamp driver board 35. Then, it is input to the reset terminal of the payout control CPU 371 mounted on the payout control board 37 and the effect control CPU 101 mounted on the effect control board 80. The payout control CPU 371 and the effect control CPU 101 become operable when the reset signal becomes high level. When the payout control CPU 371 enters an operable state, it first performs initialization processing, then sets the reset confirmation signal to a high level off state, starts payout control signal acceptance processing, and turns on the third connection confirmation signal. After that, a monitoring process for monitoring the input states of the first connection confirmation signal and the second connection confirmation signal from the main board 31 is performed. The effect control CPU 101 first executes an initialization process, and then starts the effect control process.

払出制御用CPU371からのリセット確認信号は、主基板31に入力される。主基板31は、リセット確認信号がハイレベルのオフ状態になったことに応じて動作可能状態になる。従って、CPU56が動作可能状態になる時点は、サブ基板のCPUが動作可能になる時点よりも遅い。また、CPU56は、動作可能状態になるとセキュリティチェックプログラムにもとづいてセキュリティチェック処理を実行する。そして、セキュリティチェック処理を終了すると、初期化処理を実行したあと、払出制御基板37からの第3接続確認信号の入力状態を監視する監視処理を行う。そして、CPU56は、第3接続確認信号がオン状態となったことを確認すると、第1接続確認信号および第2接続確認信号をオン状態とし、その後に遊技制御処理を開始する。   A reset confirmation signal from the payout control CPU 371 is input to the main board 31. The main board 31 becomes operable in response to the reset confirmation signal being turned off at a high level. Therefore, the time when the CPU 56 becomes operable is later than the time when the CPU of the sub-board becomes operable. When the CPU 56 becomes operable, the CPU 56 executes security check processing based on the security check program. When the security check process is completed, an initialization process is executed, and then a monitoring process for monitoring the input state of the third connection confirmation signal from the payout control board 37 is performed. Then, when confirming that the third connection confirmation signal is turned on, the CPU 56 turns on the first connection confirmation signal and the second connection confirmation signal, and then starts the game control process.

一方、払出制御用CPU371は、監視処理において、第1接続確認信号および第2接続確認信号がオン状態となったことを確認すると、払出制御処理を開始する。従って、CPU56が遊技制御処理を開始するのとほぼ同時に、払出制御用CPU371が払出制御処理を開始する。   On the other hand, when the payout control CPU 371 confirms that the first connection confirmation signal and the second connection confirmation signal are turned on in the monitoring process, the payout control CPU 371 starts the payout control process. Accordingly, almost simultaneously with the start of the game control process by the CPU 56, the payout control CPU 371 starts the payout control process.

上述したように、CPU56は、初期化処理においてサブ基板のCPUに対してコマンド(指令信号)を送信する処理を行う。リセット信号がオフ状態となってからリセット確認信号がオフ状態となるまでの時間差によって、CPU56が初期化処理を開始する時点では、サブ基板のCPUが初期化処理を完了する時点よりも遅くなっている。すなわち、払出制御用CPU371が、初期化処理を終了したあとにリセット確認信号をオフ状態とし、CPU56が初期化処理を開始する時点ではサブ基板のCPUは初期化処理を完了している。   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 time difference between when the reset signal is turned off and when the reset confirmation signal is turned off, 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. Yes. That is, the payout control CPU 371 turns off the reset confirmation signal after completing the initialization process, and when the CPU 56 starts the initialization process, the CPU of the sub board has completed the initialization process.

また、この実施の形態では、CPU56が初期化処理を開始する前に、セキュリティチェックプログラムにもとづくセキュリティチェック処理が実行される。従って、CPU56が初期化処理を開始する時点が、サブ基板のCPUが全て初期化処理を完了する時点よりも遅くなることがより確実になる。従って、遊技機の電力供給が開始されたときに、サブ基板のCPUが、CPU56からの制御コマンドをより確実に受信することができるようになる。   In this embodiment, the security check process based on the security check program is executed before the CPU 56 starts the initialization process. Therefore, it is more certain that the time point when the CPU 56 starts the initialization process is later than the time point when all the CPUs of the sub-boards complete the initialization process. Therefore, when the power supply of the gaming machine is started, the CPU of the sub board can receive the control command from the CPU 56 more reliably.

遊技機に対する電力供給が停止すると、DC+24V電源の電圧も徐々に低下するのであるが、電源監視回路920は、DC+24V電源の電圧が所定値を下回ると、電源断信号を出力する(ローレベルにする)。電源断信号は、払出制御基板37に入力されている。払出制御基板37に搭載されている払出制御手段は、電源断信号が入力したことに応じて電源断確認信号を出力し、その後所定期間が経過するまで賞球払出指定の払出制御信号(賞球REQ信号と賞球個数信号)の入力状態を監視したあと、電力供給停止時処理(電源断時制御処理ともいう。)を実行する。   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 supply monitoring circuit 920 outputs a power-off signal (set to a low level). ). The power-off signal is input to the payout control board 37. The payout control means mounted on the payout control board 37 outputs a power-off confirmation signal in response to the input of the power-off signal, and thereafter a payout control signal (award ball) for designating a prize ball until a predetermined period elapses. After monitoring the input state of the REQ signal and prize ball number signal, a power supply stop process (also referred to as a power-off control process) is executed.

払出制御基板37からの電源断確認信号は、主基板31に入力されている。主基板31に搭載されている遊技制御手段は、電源断確認信号が出力されたことに応じて、電力供給停止時処理(電源断時制御処理ともいう。)を実行する。   A power-off confirmation signal from the payout control board 37 is input to the main board 31. The game control means mounted on the main board 31 executes a power supply stop process (also referred to as a power-off control process) in response to the power-off confirmation signal being output.

そして、電源監視回路920は、VCCが所定値を下回ると、リセット信号をローレベルにする。払出制御基板37に搭載されている払出制御手段は、リセット信号がローレベルになったことに応じて、リセット確認信号をローレベルにし、その後にシステムリセットされる。すなわち、払出制御用CPU371は、動作しない状態になる。なお、電源監視回路920は、電源電圧が低下していくときに、電源断信号を出力した時点から、所定時間が経過すると、リセット信号をローレベルにする。   The power supply monitoring circuit 920 sets the reset signal to a low level when VCC falls below a predetermined value. The payout control means mounted on the payout control board 37 sets the reset confirmation signal to low level in response to the reset signal becoming low level, and then the system is reset. That is, the payout control CPU 371 is not operated. Note that the power supply monitoring circuit 920 sets the reset signal to a low level when a predetermined time elapses from the time when the power supply cutoff signal is output when the power supply voltage decreases.

また、主基板31に搭載されている遊技制御手段は、リセット確認信号がローレベルになったことに応じてシステムリセットされる。すなわち、CPU56は、動作しない状態になる。   Further, the game control means mounted on the main board 31 is system-reset in response to the reset confirmation signal becoming low level. That is, the CPU 56 enters a state where it does not operate.

次に、遊技制御処理について説明する。図14は、タイマ割込処理を示すフローチャートである。メイン処理に実行中に、具体的には、ステップS16〜S19のループ処理の実行中に、タイマ割込が発生すると、CPU56は、タイマ割込の発生に応じて起動されるタイマ割込処理において遊技制御処理を実行する。タイマ割込処理において、CPU56は、まず、電源断確認信号が出力されたか否か(オン状態になったか否か)を検出する電源断処理(電源断検出処理)を実行する(ステップS20)。   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 the execution of the loop process of steps S16 to S19, the CPU 56 performs a timer interrupt process that is activated 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 confirmation signal is output (whether the power-off confirmation signal is turned on) (step S20).

次いで、CPU56は、スイッチ回路58を介して、ゲートスイッチ32a、始動口スイッチ14a、カウントスイッチ23および入賞口スイッチ29a,30a,33a,39a等のスイッチの検出信号を入力し、それらの状態判定を行う(スイッチ処理:ステップS21)。具体的には、各スイッチの検出信号を入力する入力ポートの状態がオン状態であれば、各スイッチに対応して設けられているスイッチタイマの値を+1する。   Next, the CPU 56 inputs detection signals of switches such as the gate switch 32a, the start port switch 14a, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a via the switch circuit 58, and determines their state. Performed (switch processing: step S21). Specifically, if the state of the input port for inputting the detection signal of each switch is ON, the value of the switch timer provided corresponding to each switch is incremented by one.

この実施の形態では、スイッチ処理(ステップS21)にて入賞検出またはゲート通過に関わる各スイッチの検出信号のオン状態が確認された継続時間(具体的には4ms毎の確認回数)が設定され、所定時間継続すると、確かにスイッチがオンしたと判定されスイッチオンに対応した処理が開始される。   In this embodiment, the continuation time (specifically, the number of confirmations every 4 ms) in which the ON state of the detection signal of each switch related to winning detection or gate passing is confirmed in the switch processing (step S21) is set. If it continues for a predetermined period of time, it is determined that the switch has been turned on, and processing corresponding to the switch on is started.

また、スイッチコモン監視信号にもとづいて所定の報知処理を行う短絡報知処理を実行する(ステップS22)。   Moreover, the short circuit alerting | reporting process which performs a predetermined alerting | reporting process based on a switch common monitoring signal is performed (step S22).

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

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

次いで、CPU56は、特別図柄に関する図柄制御コマンドをRAM55の所定の領域に設定して図柄制御コマンドを送出する処理を行う(特別図柄コマンド制御処理:ステップS28)。また、普通図柄に関する図柄制御コマンドをRAM55の所定の領域に設定して図柄制御コマンドを送出する処理を行う(普通図柄コマンド制御処理:ステップS29)。   Next, the CPU 56 performs a process of setting 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, starting 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 prize opening switches 29a, 30a, 33a, 39a, etc. (step S31). Specifically, a payout control signal such as a prize ball number signal indicating the number of prize balls is output to the payout control board 37 in response to winning detection based on the fact that the prize opening switches 29a, 30a, 33a, 39a, etc. are turned on. . The payout control CPU 371 mounted on the payout control board 37 drives the ball payout device 97 in accordance with a payout control signal such as a prize ball number signal indicating the number of prize balls.

そして、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 confirmation 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 process after step S454, that is, the preparation process for stopping the power supply is executed. That is, the state shifts from a state in which the progress of the game is controlled to a state in which a power supply stop process (a power-off control process) for saving the game state is executed.

この例では、図示はしないが、電力供給停止時処理にて、例えば、スタックポインタの値をRAMの電源バックアップ領域におけるスタックポインタ退避バッファに退避する処理など、遊技制御状態を復旧させるために必要なデータをRAM55の電源バックアップ領域に保存させるためのデータ退避処理が実行される。   In this example, although not shown, it is necessary for restoring the game control state, for example, processing for saving the value of the stack pointer to the stack pointer saving buffer in the power backup area of the RAM in the power supply stop processing. A data saving process for saving the data in the power backup area of the RAM 55 is executed.

バックアップ監視タイマと判定値とを用いることによって、判定値に相当する時間だけ電源断確認信号のオン状態が継続したら、電力供給停止時処理が開始される。すなわち、ノイズ等で一瞬電源断確認信号のオン状態が発生しても、誤って電力供給停止時処理が開始されるようなことはない。なお、RAM55に形成されるバックアップ監視タイマの値は、遊技機への電力供給が停止しても、所定期間はバックアップ電源によって保存される。従って、メイン処理におけるステップS8では、バックアップ監視タイマの値が判定値と同じ値になっていることによって、電力供給停止時処理の処理結果が保存されていることを確認できる。   By using the backup monitoring timer and the determination value, when the power-off confirmation signal is kept on for a time corresponding to the determination value, the power supply stop process is started. That is, even if the power-off confirmation 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 when power supply to the gaming machine is stopped. Therefore, in step S8 in the main process, it can be confirmed that the process result of the power supply stop process is stored because the value of the backup monitoring timer is the same 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 pointer value is incremented by 1 (step S459), and the checksum calculation count value 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 ROM 54 as a pointer (step S472). In the port clear setting table, the number of processes (the number of output ports to be cleared) is set to the head address, and then the output port address and output value data (clear data: the value of the off state of each bit of the output port) However, the number of output ports corresponding to the number of processes is sequentially set.

CPU56は、ポインタが指すアドレスのデータ(すなわち処理数)をロードする(ステップS473)。また、ポインタの値を1増やし(ステップS474)、ポインタが指すアドレスのデータ(すなわち出力ポートのアドレス)をロードする(ステップS475)。さらに、ポインタの値を1増やし(ステップS476)、ポインタが指すアドレスのデータ(すなわち出力値データ)をロードする(ステップS477)。そして、出力値データを出力ポートに出力する(ステップS478)。その後、処理数を1減らし(ステップS479)、処理数が0でなければ(ステップS480のN)、ステップS474に戻る。処理数が0であれば(ステップS480のY)、すなわち、クリアすべき出力ポートを全てクリアしたら、タイマ割込を停止し(ステップ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 of the address pointed to by the pointer (that is, the address of the output port) 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). If the number of processes is not 0 (N in step S480), the process returns to step S474. If the number of processes is 0 (Y in step S480), that is, if all output ports to be cleared are cleared, the timer interrupt is stopped (step S481), and the loop process is entered.

ループ処理では、電源断確認信号がオフ状態になったか否かを監視する(ステップS482)。電源断確認信号がオフ状態になった場合には復帰アドレスとして、電源投入時実行アドレス(ステップS1のアドレス)を設定してリターン命令を実行する(ステップS483)。すなわち、メイン処理に戻る。具体的には、遊技機に設けられている遊技用の装置を制御(自身で制御することと、他のマイクロコンピュータに制御させるために指令信号を送信することの双方を含む概念)する状態に戻る。   In the loop processing, it is monitored whether or not the power-off confirmation signal is turned off (step S482). When the power-off confirmation signal is turned off, an 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 (concept including both controlling by itself and transmitting a command signal to cause another microcomputer to control). Return.

また、ループ処理では、リセット確認信号がローレベルのオン状態となったか否かを監視する(ステップS484)。リセット確認信号がオン状態になった場合には、払出制御用CPU371がシステムリセット状態となる(システムリセットされる)。すなわち、払出制御用CPU371は、始動の状態である動作停止状態に戻される(ステップS485)。この例では、払出制御用CPU371が、その駆動電圧(例えば4V)よりも高い電圧が未だ供給されているときに積極的に動作停止状態となるように、リセット信号をオン状態とするための検出電圧の電圧レベルが設定される。   Further, in the loop processing, it is monitored whether or not the reset confirmation signal is in a low level ON state (step S484). When the reset confirmation signal is turned on, the payout control CPU 371 enters a system reset state (system reset). That is, the payout control CPU 371 is returned to the operation stop state, which is the start state (step S485). In this example, detection for turning on the reset signal so that the payout control CPU 371 is actively stopped when a voltage higher than its drive voltage (for example, 4 V) is still supplied. The voltage level of the voltage is set.

以上の処理によって、電力供給が停止する場合には、ステップ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〜S480の処理によって、バックアップ監視タイマの値とともに、電源断確認信号が出力されたときのRAM55の内容にもとづくチェックサムもRAM55のバックアップ領域に保存される。遊技機への電力供給が停止した後、所定期間内に電力供給が復旧したら、遊技制御手段は、上述したステップS91〜S94の処理によって、RAM55に保存されているデータ(電力供給が停止した直前の遊技制御手段による制御状態である遊技状態を示すデータ(例えば、プロセスフラグの状態、大当り中フラグの状態、確変フラグの状態、出力ポートの出力状態等)を含む)に従って、遊技状態を、電力供給が停止した直前の状態に戻すことができる。なお、電力供給停止の期間が所定期間を越えたらバックアップ監視タイマの値とチェックサムとが正規の値とは異なるはずであるから、その場合には、ステップS10〜S14の初期化処理が実行される。   In this embodiment, a part 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 the power supply to the gaming machine is stopped). In this example, the checksum based on the contents of the RAM 55 when the power-off confirmation signal is output is stored in the backup area of the RAM 55 together with the value of the backup monitoring timer by the processing of steps S452 to S480. After the power supply to the gaming machine is stopped, if 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の一部の領域)に保存される。よって、停電等による電源断が生じても、所定期間内に電源が復旧すれば、遊技状態を電力供給が停止した直前の状態に戻すことができる。   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 a part of the RAM 55). Therefore, even if a power failure occurs 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.

また、電源断確認信号がオフ状態になった場合には、ステップS1に戻る。その場合、電力供給停止時処理が実行されたことを示すデータが設定されているので、ステップS91〜S94の遊技状態復旧処理が実行される。よって、電力供給停止時処理を実行した後に払出制御基板37からの電源断確認信号がオフ状態になったときには、遊技の進行を制御する状態に戻る。従って、電源瞬断等が生じても、遊技制御処理が停止してしまうようなことはなく、自動的に、遊技制御処理が続行される。   If the power-off confirmation 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 power-off confirmation signal from the payout control board 37 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に対して送信される第1接続確認信号および第2接続確認信号は、出力ポートをクリアする処理によってオフ状態に設定される。また、ステップ82およびS12の作業領域の設定では、第1接続確認信号と第2接続確認信号に対応したそれぞれの出力ポートバッファの内容が、第1接続確認信号と第2接続確認信号それぞれのオン状態に対応した値に設定される。そして、ステップS31の賞球処理が実行されると、出力ポートバッファの内容が出力ポートに出力されるので、払出制御基板37への第1接続確認信号および第2接続確認信号がオン状態になる。従って、第1接続確認信号および第2接続確認信号は、主基板31の立ち上がり時に出力される(オン状態になる)ことになる。なお、電源瞬断等から復帰した場合も、第1接続確認信号および第2接続確認信号が出力される。   The first connection confirmation signal and the second connection confirmation signal transmitted to the payout control board 37 are set to an off state by the process of clearing the output port. In the setting of the work area in steps 82 and S12, the contents of the respective output port buffers corresponding to the first connection confirmation signal and the second connection confirmation signal indicate that the first connection confirmation signal and the second connection confirmation signal are on. Set to a value corresponding to the state. When the prize ball processing in step S31 is executed, the contents of the output port buffer are output to the output port, so that the first connection confirmation signal and the second connection confirmation signal to the payout control board 37 are turned on. . Therefore, the first connection confirmation signal and the second connection confirmation signal are output (turned on) when the main board 31 rises. Note that the first connection confirmation signal and the second connection confirmation signal are also output when the power supply is recovered from an instantaneous power interruption or the like.

次に、主基板31と払出制御基板37との間で送受信される払出制御信号について説明する。図17は、遊技制御手段から払出制御手段に対して出力される制御信号および遊技制御手段に払出制御手段から入力される払出制御信号の内容の一例を示す説明図である。この実施の形態では、払出制御等に関する各種の制御を行うために、主基板31と払出制御基板37との間で複数種類の制御信号が送受信される。図17に示すように、第1接続確認信号および第2接続確認信号は、主基板31の立ち上がり時(遊技制御手段が遊技制御処理の実行可能状態となったとき)に出力され、払出制御基板37に対して主基板31が立ち上がったことを通知するための信号である。また、第1接続確認信号および第2接続確認信号は、詳細は後述するが、主基板31が払出制御信号を正常に送信可能な状態であることを示す信号でもある。   Next, payout control signals transmitted and received between the main board 31 and the payout control board 37 will be described. FIG. 17 is an explanatory diagram showing an example of the contents of a control signal output from the game control means to the payout control means and a payout control signal input from the payout control means to the game control means. In this embodiment, a plurality of types of control signals are transmitted and received between the main board 31 and the payout control board 37 in order to perform various controls relating to payout control and the like. As shown in FIG. 17, the first connection confirmation signal and the second connection confirmation signal are output when the main board 31 rises (when the game control means is ready to execute the game control process), and the payout control board. 37 is a signal for notifying that the main board 31 has been raised. The first connection confirmation signal and the second connection confirmation signal are signals indicating that the main board 31 is in a state in which the payout control signal can be normally transmitted, as will be described in detail later.

賞球REQ信号は、賞球の払出要求時に出力状態(=オン状態)になる信号(すなわち賞球払出要求のトリガ信号)である。また、賞球REQ信号は、所定期間が経過すると、停止状態(オフ状態)になる。賞球個数信号は、払出要求を行う遊技球の個数(0〜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). In addition, the prize ball REQ signal is in a stopped state (off state) when a predetermined period has elapsed. The award ball number signal is a signal (prize ball number command) output for designating the number of game balls (0 to 15) for which a payout request is made.

電源断確認信号は、払出制御手段が電源監視回路920からの電源断信号のオン状態を確認するとオン状態とされ、電源断信号のオフ状態を確認するとオフ状態にされる信号である。すなわち、電源断信号の受信状態を主基板31に通知するための信号として用いられる。   The power-off confirmation signal is a signal that is turned on when the dispensing control means confirms the on-state of the power-off signal from the power monitoring circuit 920, and is turned off when the off-state of the power-off signal is confirmed. That is, it is used as a signal for notifying the main board 31 of the reception state of the power-off signal.

クリア信号は、払出制御手段がクリアスイッチ921からのクリアスイッチ信号のオン状態を確認するとオン状態とされ、クリアスイッチ信号がオフ状態となってから所定期間(クリア信号出力延長期間:図36参照)が経過したことを確認するとオフ状態にされる信号である。すなわち、クリアスイッチ信号の受信状態(ここでは受信の有無ではなく、受信中または受信終了から所定期間内であるか否かの状態を意味する)を主基板31に通知するための信号として用いられる。   The clear signal is turned on when the payout control means confirms the on state of the clear switch signal from the clear switch 921, and a predetermined period after the clear switch signal is turned off (clear signal output extension period: see FIG. 36). It is a signal that is turned off when it is confirmed that elapses. That is, it is used as a signal for notifying the main board 31 of the reception state of the clear switch signal (in this case, not the presence / absence of reception, but the state during reception or within a predetermined period from the end of reception). .

リセット確認信号は、払出制御手段が、電源監視回路920からのリセット信号がオフ状態からオン状態となったことにもとづいて、オフ状態からオン状態として遊技制御手段の遊技制御動作の停止を指示するための信号である。また、リセット確認信号は、払出制御手段が、電源監視回路920からのリセット信号がオン状態からオフ状態となったことにもとづいて、オン状態からオフ状態として遊技制御手段の遊技制御動作の開始を指示するための信号である。すなわち、制御動作の停止/開始指示を主基板31に通知するための信号として用いられる。   The reset confirmation signal instructs the payout control means to stop the game control operation of the game control means from the off state to the on state based on the fact that the reset signal from the power supply monitoring circuit 920 has changed from the off state to the on state. It is a signal for. In addition, the reset confirmation signal indicates that the payout control means starts the game control operation of the game control means from the on state to the off state based on the fact that the reset signal from the power supply monitoring circuit 920 has changed from the on state to the off state. It is a signal for instructing. That is, it is used as a signal for notifying the main board 31 of a stop / start instruction for the control operation.

第3接続確認信号は、払出制御基板37の立ち上がり時(払出制御手段が払出制御処理の実行可能状態となったとき)に出力され、主基板31に対して払出制御基板37が立ち上がったことを通知するための信号である。すなわち、第3接続確認信号は、主基板31に対して、払出制御基板37に電力が供給されて当該払出制御基板37に搭載されている払出制御用CPU371が払出制御信号を正常に受信可能な状態であることを通知するための信号である。   The third connection confirmation signal is output when the payout control board 37 rises (when the payout control unit enters a state in which the payout control process can be executed), and indicates that the payout control board 37 has risen with respect to the main board 31. This is a signal for notification. In other words, the third connection confirmation signal is supplied to the payout control board 37 with respect to the main board 31 and the payout control CPU 371 mounted on the payout control board 37 can normally receive the payout control signal. It is a signal for notifying that it is in a state.

図18は、図17に示す各制御信号の送受信に用いられる信号線等を示すブロック図である。図18に示すように、第1接続確認信号、賞球REQ信号、賞球個数信号、および第2接続確認信号は、CPU56によって出力回路67を介して出力され、入力回路373Aを介して払出制御用CPU371に入力される。また、電源断確認信号、クリア信号、リセット確認信号、および第3接続確認信号は、払出制御用CPU371によって出力回路373Bを介して出力され、入力回路68を介してCPU56に入力される。第1接続確認信号、第2接続確認信号、賞球REQ信号、電源断確認信号、クリア信号、リセット確認信号、および第3接続確認信号は、それぞれ1ビットのデータであり、1本の信号線によって送信される。賞球個数信号は、0個〜15個を指定するので、4ビットのデータで構成され4本の信号線によって送信される。   FIG. 18 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. 18, the first connection confirmation signal, the prize ball REQ signal, the prize ball number signal, and the second connection confirmation signal are output by the CPU 56 via the output circuit 67 and are paid out via the input circuit 373A. Is input to the CPU 371. Further, the power-off confirmation signal, the clear signal, the reset confirmation signal, and the third connection confirmation signal are output by the payout control CPU 371 via the output circuit 373B and input to the CPU 56 via the input circuit 68. The first connection confirmation signal, the second connection confirmation signal, the prize ball REQ signal, the power-off confirmation signal, the clear signal, the reset confirmation signal, and the third connection confirmation signal are each 1-bit data, and one signal line Sent by. The award ball number signal designates 0 to 15, and is composed of 4-bit data and transmitted through four signal lines.

図19は、主基板31から払出制御基板37に対して送信される払出制御信号(第1接続確認信号、賞球REQ信号、賞球個数信号、および第2接続確認信号)と、払出制御基板37から主基板31に対して送信される第3接続確認信号とを伝送する信号線の接続状態の例を示す説明図である。   FIG. 19 shows a payout control signal (first connection confirmation signal, prize ball REQ signal, prize ball number signal, and second connection confirmation signal) transmitted from the main board 31 to the payout control board 37, and a payout control board. It is explanatory drawing which shows the example of the connection state of the signal wire | line which transmits the 3rd connection confirmation signal transmitted with respect to the main board | substrate 31 from 37. FIG.

図19に示すように、CPU56によって出力回路67を介して出力された払出制御信号は、主基板31に搭載されているコネクタ69Bと、コネクタ69Bに接続されるコネクタ69Aとを介して払出制御基板37側に伝送される。払出制御基板37側に伝送された払出制御信号は、コネクタ376Aと、コネクタ376Aに接続される払出制御基板37に搭載されたコネクタ376Bとを介して入力回路373Aに入力される。そして、払出制御信号が入力回路373Aを介して払出制御用CPU371に入力される。   As shown in FIG. 19, the payout control signal output by the CPU 56 through the output circuit 67 is sent out via the connector 69B mounted on the main board 31 and the connector 69A connected to the connector 69B. 37 is transmitted. The payout control signal transmitted to the payout control board 37 side is input to the input circuit 373A via the connector 376A and the connector 376B mounted on the payout control board 37 connected to the connector 376A. Then, a payout control signal is input to the payout control CPU 371 via the input circuit 373A.

すなわち、払出制御信号は、主基板31に接続されるコネクタ69Aと、払出制御基板37に接続されるコネクタ376Aと、コネクタ69Aとコネクタ376Aとの間で信号を伝送する信号線とを備えたケーブル(信号線接続手段)によって伝送される。本例では、このケーブルが備える複数本の信号線によって各払出制御信号が伝達される。   That is, the payout control signal is a cable provided with a connector 69A connected to the main board 31, a connector 376A connected to the payout control board 37, and a signal line for transmitting a signal between the connector 69A and the connector 376A. (Signal line connecting means). In this example, each payout control signal is transmitted by a plurality of signal lines provided in the cable.

また、払出制御用CPU371によって出力回路373Bを介して出力された第3接続確認信号は、払出制御基板37に搭載されているコネクタ376Bと、コネクタ376Bに接続されるコネクタ376Aとを介して主基板31側に伝送される。主基板31側に伝送された第3接続確認信号は、コネクタ69Aと、コネクタ69Aに接続される主基板31に搭載されたコネクタ69Bとを介して入力回路68に入力される。そして、第3接続確認信号が入力回路68を介してCPU56に入力される。   The third connection confirmation signal output by the payout control CPU 371 via the output circuit 373B is sent to the main board via the connector 376B mounted on the payout control board 37 and the connector 376A connected to the connector 376B. It is transmitted to the 31 side. The third connection confirmation signal transmitted to the main board 31 side is input to the input circuit 68 via the connector 69A and the connector 69B mounted on the main board 31 connected to the connector 69A. Then, the third connection confirmation signal is input to the CPU 56 via the input circuit 68.

すなわち、第3接続確認信号は、払出制御信号と同じく、主基板31に接続されるコネクタ69Aと、払出制御基板37に接続されるコネクタ376Aと、コネクタ69Aとコネクタ376Aとの間で信号を伝送する信号線とを備えたケーブル(信号線接続手段)によって伝送される。本例では、このケーブルが備える複数本の信号線の一つによって第3接続確認信号が伝達される。   That is, the third connection confirmation signal transmits a signal between the connector 69A connected to the main board 31, the connector 376A connected to the payout control board 37, and the connector 69A and the connector 376A, like the payout control signal. Is transmitted by a cable (signal line connecting means) having a signal line. In this example, the third connection confirmation signal is transmitted by one of the plurality of signal lines provided in the cable.

コネクタ69Aおよびコネクタ376Aは、ぞれそれ、主基板31からの払出制御信号と第3接続確認信号とを払出制御基板37に伝送するための複数のピンを備えている。この例では、コネクタ69Aおよびコネクタ376Aは、それぞれ、少なくとも、第1接続確認信号、賞球REQ信号、第2接続確認信号、および第3接続確認信号用のピンをそれぞれ1個、賞球個数信号用のピンを4個有している。すなわち、コネクタ69Aおよびコネクタ376Aは、それぞれ、払出制御信号と第3接続確認信号とが割り当てられる8個のピンを少なくとも有している。   Each of the connector 69A and the connector 376A includes a plurality of pins for transmitting a payout control signal from the main board 31 and a third connection confirmation signal to the payout control board 37. In this example, the connector 69A and the connector 376A each have at least one pin for a first connection confirmation signal, a prize ball REQ signal, a second connection confirmation signal, and a third connection confirmation signal, respectively, and a prize ball number signal. It has 4 pins for use. That is, the connector 69A and the connector 376A each have at least eight pins to which the payout control signal and the third connection confirmation signal are assigned.

また、この例では、コネクタ69Aとコネクタ376Aそれぞれが備える複数のピンには、第1接続確認信号の伝送に用いられるピンと第2接続確認信号の伝送に用いられるピンとの間に、賞球REQ信号と賞球個数信号の伝送に用いられる5個のピンが位置するように、払出制御信号が割り当てられる。   In this example, the plurality of pins provided in the connector 69A and the connector 376A include a prize ball REQ signal between a pin used for transmitting the first connection confirmation signal and a pin used for transmitting the second connection confirmation signal. The payout control signal is assigned so that five pins used for the transmission of the award ball number signal are located.

すなわち、コネクタ69Aとコネクタ376Aそれぞれが備える複数のピンの配列は、複数段に配列されているもの等どのような配列とされているものであってもよいが、少なくとも、第1接続確認信号用のピン第2接続確認信号用のピンとの間に、他の払出制御信号用のピンが位置するように各信号がピンに割り当てられた配列とされる。   That is, the arrangement of the plurality of pins provided in each of the connector 69A and the connector 376A may be any arrangement such as that arranged in a plurality of stages, but at least for the first connection confirmation signal. Each of the signals is assigned to the pin so that another payout control signal pin is located between the pin and the second connection confirmation signal pin.

上記のように、第1接続確認信号用のピンと第2接続確認信号用のピンとの間に、賞球REQ信号用のピンと賞球個数信号用のピンとが配されるように、コネクタ69A,376Aが備えるピンに信号を割り当てる構成としたので、賞球REQ信号用のピンや賞球個数信号用のピンの接続状態に異常が発生しているときは、第1接続確認信号用のピンまたは第2接続確認信号用のピンのうちの少なくとも何れか一方の接続状態に異常が発生することとなるので、通信に関する異常を正確に検出することができる。従って、第1接続確認信号および第2接続確認信号の状態を監視するだけで、賞球REQ信号や賞球個数信号が正常に伝達され得る状態であるか否かを正確に把握することができ、賞球REQ信号や賞球個数信号の取りこぼしを防止することができるため、遊技制御手段での未払出の賞球数の管理をより確実に行うことができる。   As described above, the connectors 69A and 376A are arranged so that the prize ball REQ signal pin and the prize ball number signal pin are arranged between the first connection confirmation signal pin and the second connection confirmation signal pin. Since the signal is assigned to the pins included in the pin, if there is an abnormality in the connection state of the pin for the prize ball REQ signal or the pin for the prize ball number signal, the pin for the first connection confirmation signal or the Since an abnormality occurs in the connection state of at least one of the two connection confirmation signal pins, an abnormality relating to communication can be accurately detected. Therefore, only by monitoring the states of the first connection confirmation signal and the second connection confirmation signal, it is possible to accurately grasp whether the winning ball REQ signal or the winning ball number signal can be normally transmitted. Since it is possible to prevent the prize ball REQ signal and the prize ball number signal from being missed, it is possible to more reliably manage the number of unpaid prize balls in the game control means.

図20は、払出制御信号の出力の仕方の一例を示すタイミング図であり、図21は、図20における一部を拡大して示すタイミング図である。図20に示すように、入賞検出スイッチが遊技球の入賞を検出すると、遊技制御手段は、賞球個数信号の出力状態を入賞に応じて払い出される賞球数に応じた状態にするとともに、賞球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. 20 is a timing chart showing an example of how to output the payout control signal, and FIG. 21 is a timing chart showing a part of FIG. 20 in an enlarged manner. As shown in FIG. 20, when the winning detection switch detects the winning of a game ball, the game control means changes the output state of the winning ball number signal to a state corresponding to the number of winning balls to be paid out in accordance with the winning, The sphere REQ signal is turned on. In this embodiment, when a game ball is detected by the start port switch 14a, four prize balls are paid out, and when a game ball is detected by any one of the prize port switches 33a, 39a, 29a, 30a. Seven prize balls are paid out. When a game ball is detected by the V count switch 22 or the count switch 23, 15 prize balls are paid out. Further, as described above, the prize ball number signal is composed of 4 bits, so the lower 4 bits of the prize ball number commands of 00 (H) to 0F (H) expressed in 8 bits are The signal is transmitted from the main board 31 to the payout control board 37 by the award ball number signal. Hereinafter, it may be expressed as “00 (H) to 0F (H) prize ball number signal”, but in reality, the prize ball number signal is represented by 8 bits. This corresponds to the lower 4 bits of 0F (H).

払出制御手段は、賞球REQ信号の受信を確認すると、賞球個数信号の受信状態を確認し、賞球個数信号が示す賞球数を賞球未払出個数カウンタに加算する。   When the payout control means confirms the reception of the prize ball REQ signal, the payout control means confirms the reception state of the prize ball number signal, and adds the prize ball number indicated by the prize ball number signal to the prize ball unpaid number counter.

遊技制御手段は、賞球REQ信号をオン状態としたときから賞球REQ信号オフ待ち時間が経過すると、賞球REQ信号をオフ状態にするとともに、賞球個数信号の出力状態をクリアしてオフ状態にする。すなわち、賞球個数信号が0個を示す状態(無効コマンドを出力する状態)にする。従って、賞球個数信号は、賞球REQ信号がオン状態であるときには無効コマンド出力状態になっているので、払出制御手段において、ノイズ等によって賞球REQ信号のオン状態が検出されたような場合でも、誤って賞球払出を実行してしまうようなことはない。なお、賞球REQ信号オフ待ち時間は、払出制御基板37側で賞球REQ信号の受信を確実に認識できる時間としてあらかじめ定められた賞球REQ信号のオン状態を継続する時間である。また、賞球REQ信号オフ待ち時間は、CPU56および払出制御用CPU371に供給されるクロック信号の周波数が変わると異なる値になる。つまり、CPU56および払出制御用CPU371に供給されるクロック信号の周波数が変わると異なる値になる。   The game control means turns off the prize ball REQ signal and clears the output state of the prize ball number signal when the prize ball REQ signal off waiting time elapses after the prize ball REQ signal is turned on. Put it in a state. That is, a state in which the prize ball number signal indicates 0 (a state in which an invalid command is output) is set. Accordingly, since the prize ball number signal is in an invalid command output state when the prize ball REQ signal is in an on state, the on-state of the prize ball REQ 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. The award ball REQ signal off waiting time is a time period during which the award ball REQ signal is turned on in advance, which is predetermined as a time during which the payout control board 37 can reliably recognize reception of the award ball REQ signal. Further, the waiting time for the prize ball REQ signal is different when the frequency of the clock signal supplied to the CPU 56 and the payout control CPU 371 is changed. That is, when the frequency of the clock signal supplied to the CPU 56 and the payout control CPU 371 changes, the value becomes different.

図20に示すように、賞球REQ信号がオン状態であるときに新たな入賞が検出されると、その入賞にもとづく賞球REQ信号のオンおよび賞球個数信号の出力は待たされる。具体的には、賞球REQ信号がオン状態であるときに新たな入賞が検出されると、その入賞にもとづいて払い出されるべき賞球数が、RAM55に形成される総賞球数バッファの内容に加算される。そして、遊技制御手段は、賞球REQ信号をオフ状態にしたときに、総賞球数バッファの内容が0でなければ、15を上限として、総賞球数バッファの内容が示す賞球数の賞球払出を指示するために、賞球REQ信号をオン状態にするとともに、賞球個数信号を出力する。   As shown in FIG. 20, when a new winning is detected when the winning ball REQ signal is in the on state, the turning on of the winning ball REQ signal and the output of the winning ball number 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 the content of the total winning ball buffer formed in the RAM 55. Is added to Then, when the game control means turns off the prize ball REQ signal, if the content of the total prize ball number buffer is not 0, the game control means sets the number of prize balls indicated by the content of the total prize ball number buffer to 15 as the upper limit. In order to instruct a prize ball payout, the prize ball REQ signal is turned on and a prize ball number signal is output.

図22は、払出制御信号の出力の仕方の一例を示すタイミング図である。第1接続確認信号または第2接続確認信号の何れか一方がオフ状態となっているときは、遊技制御手段は、賞球REQ信号および賞球個数信号を送信しない賞球制御信号送信禁止状態となる。賞球制御信号送信禁止状態では、遊技制御手段は、図22に示すように、入賞が発生したとしても、賞球REQ信号の出力は行わない。よって、払出制御手段が賞球個数信号を取り込む処理は実行されない。その後に第1接続確認信号と第2接続確認信号とがともにオン状態となると、賞球制御信号送信禁止状態が解除され、遊技制御手段は、賞球個数信号を出力するとともに、賞球REQ信号をオン状態にする。   FIG. 22 is a timing chart showing an example of how to output the payout control signal. When either the first connection confirmation signal or the second connection confirmation signal is in the OFF state, the game control means is in a prize ball control signal transmission prohibited state in which the prize ball REQ signal and the prize ball number signal are not transmitted. Become. In the prize ball control signal transmission prohibited state, the game control means does not output a prize ball REQ signal even if a prize is generated, as shown in FIG. Therefore, the process in which the payout control means captures the winning ball number signal is not executed. Thereafter, when both the first connection confirmation signal and the second connection confirmation signal are turned on, the prize ball control signal transmission prohibition state is canceled, and the game control means outputs a prize ball number signal and a prize ball REQ signal. Turn on the.

上記のように、第1接続確認信号または第2接続確認信号の何れか一方がオフ状態となっているときは、賞球制御信号の伝送状態に異常が発生しているとして、遊技制御手段が賞球REQ信号を送信しない構成としているので、賞球制御信号が正常に伝送されないおそれがあるときの払出制御手段による賞球個数信号の取り込みを禁止することができ、賞球個数信号により特定される賞球数を払出制御手段が誤認識してしまうことを防止することができ、遊技者に不利益を及ぼしてしまうことを回避することができる。   As described above, when either the first connection confirmation signal or the second connection confirmation signal is in the OFF state, the game control means determines that an abnormality has occurred in the transmission state of the prize ball control signal. Since the prize ball REQ signal is not transmitted, it is possible to inhibit the prize ball number signal from being taken in by the payout control means when there is a possibility that the prize ball control signal may not be normally transmitted. It is possible to prevent the payout control means from erroneously recognizing the number of winning balls, and to avoid adversely affecting the player.

図23は、ステップS31の賞球処理の一例を示すフローチャートである。賞球処理において、CPU56は、賞球個数加算処理(ステップS201)を実行したあと、払出信号停止フラグの状態を確認する(ステップS204)。払出信号停止フラグがオフ状態であれば、すなわち賞球制御信号送信禁止状態でなければ、ステップS202に移行する。   FIG. 23 is a flowchart showing an example of the prize ball processing in step S31. In the prize ball process, the CPU 56 executes the prize ball number addition process (step S201) and then checks the state of the payout signal stop flag (step S204). If the payout signal stop flag is off, that is, if the prize ball control signal transmission is not prohibited, the process proceeds to step S202.

払出信号停止フラグがオン状態であれば、すなわち賞球制御信号送信禁止状態であれば、CPU56は、第1接続確認信号および第2接続確認信号の入力状態を確認する(ステップS205)。   If the payout signal stop flag is on, that is, if the prize ball control signal transmission is prohibited, the CPU 56 checks the input states of the first connection confirmation signal and the second connection confirmation signal (step S205).

第1接続確認信号および第2接続確認信号が共にオン状態であれば(ステップS205のN)、CPU56は、払出信号停止フラグをオフ状態とし(ステップS206)、エラー表示用ランプ44を消灯状態としたあと(ステップS207)、ステップS202に移行する。すなわち、第1接続確認信号および第2接続確認信号が共にオンの状態に復帰していたら、賞球制御信号送信禁止状態を解除するための処理を行う。   If both the first connection confirmation signal and the second connection confirmation signal are on (N in step S205), the CPU 56 turns off the payout signal stop flag (step S206), and turns off the error display lamp 44. (Step S207), the process proceeds to step S202. That is, if both the first connection confirmation signal and the second connection confirmation signal are returned to the on state, processing for canceling the prize ball control signal transmission prohibited state is performed.

第1接続確認信号と第2接続確認信号とのうち何れかがオフ状態であれば(ステップS205のY)、ステップS202に移行することなく、処理を終了する。すなわち、第1接続確認信号および第2接続確認信号が共にオンの状態に復帰していなければ、賞球制御信号送信禁止状態を維持したまま処理を終了する。   If either the first connection confirmation signal or the second connection confirmation signal is in the off state (Y in step S205), the process is terminated without proceeding to step S202. That is, if both the first connection confirmation signal and the second connection confirmation signal are not returned to the on state, the process is terminated while the prize ball control signal transmission prohibited state is maintained.

次いで、CPU56は、ステップS202にて、賞球制御処理を実行する。そして、RAM55に形成されるポート0バッファの内容をポート0に出力する(ステップS203)。なお、ポート0バッファの内容は、賞球制御処理において更新される。   Next, in step S202, the CPU 56 executes a prize ball control process. Then, the contents of the port 0 buffer formed in the RAM 55 are output to port 0 (step S203). The contents of the port 0 buffer are updated in the prize ball control process.

賞球個数加算処理では、CPU56は、検査対象の入賞検出スイッチの検出信号がオン状態であれば、そのスイッチに対応した賞球個数を賞球加算値に設定し、賞球加算値を、RAM55に形成されている16ビットの総賞球数格納バッファの内容に加算する。なお、総賞球数格納バッファは、バックアップRAMに形成されている。なお、「RAMに形成されている」とは、RAM内の領域であることを意味する。   In the prize ball number adding process, if the detection signal of the winning detection switch to be inspected is in the ON state, the CPU 56 sets the prize ball number corresponding to the switch as the prize ball addition value, and the prize ball addition value is stored in the RAM 55. Is added to the contents of the 16-bit total award ball number storage buffer. The total winning ball number storage buffer is formed in the backup RAM. Note that “formed in the RAM” means an area in the RAM.

図24は、ステップS202の賞球制御処理を示すフローチャートである。賞球制御処理では、CPU56は、賞球プロセスコードの値に応じて、ステップS231〜S233のいずれかの処理を実行する。   FIG. 24 is a flowchart showing the prize ball control process in step S202. In the prize ball control process, the CPU 56 executes any one of steps S231 to S233 according to the value of the prize ball process code.

図25は、賞球プロセスコードの値が0の場合に実行される賞球待ち処理1(ステップS231)を示すフローチャートである。CPU56は、賞球待ち処理1において、賞球待機中出力値(20(H))をポート0バッファにセットする(ステップS241)。なお、賞球待機中出力値がポート0バッファにセットされると、ステップS203においてポート0バッファの内容がポート0に出力されることによって、賞球REQ信号がオフ状態にる(図8参照)。また、賞球個数信号が無効コマンド(00(H))を出力する状態になる。   FIG. 25 is a flowchart showing the winning ball waiting process 1 (step S231) executed when the value of the winning ball process code is zero. In the award ball waiting process 1, the CPU 56 sets the award ball waiting output value (20 (H)) in the port 0 buffer (step S241). When the prize ball waiting output value is set in the port 0 buffer, the prize ball REQ signal is turned off by outputting the contents of the port 0 buffer to port 0 in step S203 (see FIG. 8). . In addition, the award ball number signal enters an invalid command (00 (H)) output state.

次いで、CPU56は、賞球タイマが0であるか否か確認する(ステップS242)。賞球タイマが0でなければ、賞球タイマの値を1減らして(ステップS243)、処理を終了する。賞球タイマは賞球処理において必要となる時間を計測するためのタイマであるが、この段階で賞球タイマの値が0でないということは、前回の払出処理が完了した後、次に賞球REQ信号をオン状態にするまでの待ち時間(連続して賞球払出が実行される場合に複数の賞球REQ信号のオン期間の間に間隔を設けるための時間、図20に示す00(H)の賞球個数信号が出力されている期間(例えばMAX49.391ms))が終了していないことを意味する。なお、賞球タイマは、後述する賞球待ち処理2のステップS263でセットされる。また、ステップS241〜S243の処理は、ステップS234の賞球待ち処理2の実行が完了して前回の賞球制御処理が完了した後に、賞球REQ信号をオフ状態にするとともに、賞球個数信号として無効コマンド(00(H))を出力するための処理である。   Next, the CPU 56 checks whether or not the prize ball timer is 0 (step S242). If the prize ball timer is not 0, the value of the prize ball timer is decreased by 1 (step S243), and the process is terminated. The prize ball timer is a timer for measuring the time required for prize ball processing. At this stage, if the value of the prize ball timer is not 0, the next prize ball after the previous payout process is completed. Waiting time until the REQ signal is turned on (time for providing an interval between ON periods of a plurality of prize ball REQ signals when prize ball payout is continuously executed, 00 (H ) During which the award ball number signal is output (for example, MAX49.391 ms)) is not completed. The prize ball timer is set in step S263 of the prize ball waiting process 2 described later. In addition, after the execution of the award ball waiting process 2 in step S234 is completed and the previous award ball control process is completed, the processes of steps S241 to S243 are performed with the award ball REQ signal turned off and the award ball number signal. As an invalid command (00 (H)).

賞球タイマの値が0であれば、次いで、CPU56は、総賞球数格納バッファの内容を確認する(ステップS244)。その値が0であれば処理を終了し、0でなければ、賞球プロセスコードの値を1にした後(ステップS245)、処理を終了する。   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 S244). If the value is 0, the process ends. If not, the value of the prize ball process code is set to 1 (step S245), and the process ends.

図26は、賞球プロセスコードの値が1の場合に実行される賞球送信処理(ステップS232)を示すフローチャートである。CPU56は、賞球送信処理において、総賞球数格納バッファの内容が賞球コマンド最大値(この例では「15」)よりも小さいか否か確認する(ステップS251)。総賞球数格納バッファの内容が賞球コマンド最大値以上であれば、賞球コマンド最大値を賞球個数バッファに設定する(ステップS252)。また、総賞球数格納バッファの内容が賞球コマンド最大値よりも小さい場合には、総賞球数格納バッファの内容を賞球個数バッファに設定する(ステップS253)。   FIG. 26 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).

賞球個数バッファの設定を行うと、CPU56は、第1接続確認信号および第2接続確認信号の入力状態を確認する(ステップS254)。   When the winning ball number buffer is set, the CPU 56 checks the input states of the first connection confirmation signal and the second connection confirmation signal (step S254).

第1接続確認信号および第2接続確認信号が共にオン状態であれば(ステップS254のN)、賞球REQ中出力値(81(H))を出力ポート0バッファにセットする(ステップS255)。なお、賞球REQ中出力値が出力ポート0バッファにセットされると、ステップS203において出力ポート0バッファの内容がポート0に出力されることによって、賞球REQ信号がオン状態になる(図8参照)。また、賞球個数バッファの内容を出力ポート0バッファのビット1〜4にセットする(ステップS256)。   If both the first connection confirmation signal and the second connection confirmation signal are on (N in step S254), the output value (81 (H)) in the prize ball REQ is set in the output port 0 buffer (step S255). When the output value in the prize ball REQ is set in the output port 0 buffer, the contents of the output port 0 buffer are outputted to the port 0 in step S203, so that the prize ball REQ signal is turned on (FIG. 8). reference). Further, the contents of the winning ball number buffer are set in bits 1 to 4 of the output port 0 buffer (step S256).

この実施の形態では、賞球コマンド最大値は「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 payout control board 37.

第1接続確認信号と第2接続確認信号とのうち何れかがオフ状態であれば(ステップS254のY)、ステップS255に移行することなく、エラー表示用ランプ44を点灯状態としたあと(ステップS271)、払出信号停止フラグをオン状態とする(ステップS274)。すなわち、賞球制御信号送信禁止状態となる。この例では、払出信号停止フラグをオン状態となっている賞球制御信号送信禁止状態では、賞球制御処理(ステップS202)とその後のポート0バッファの内容の出力処理(ステップS203)の実行が禁止され、賞球制御信号の送信が行われない状態となる。なお、遊技制御処理(図14参照)における賞球処理における賞球個数加算処理(ステップS201)とその他の処理は禁止されることなく処理が継続される。   If one of the first connection confirmation signal and the second connection confirmation signal is in an off state (Y in step S254), the error display lamp 44 is turned on without proceeding to step S255 (step S255). S271), the payout signal stop flag is turned on (step S274). That is, the winning ball control signal transmission is prohibited. In this example, in the prize ball control signal transmission prohibited state in which the payout signal stop flag is on, the prize ball control process (step S202) and the subsequent output process of the contents of the port 0 buffer (step S203) are executed. It is prohibited and no prize ball control signal is transmitted. The prize ball number addition process (step S201) and other processes in the prize ball process in the game control process (see FIG. 14) are continued without being prohibited.

賞球制御信号を送信すると、CPU56は、総賞球数格納バッファの内容から、賞球個数バッファの内容(払出制御手段に指令した賞球払出個数)を減算する(ステップS257)。そして、賞球タイマにREQ終了判定時間値(例えば3)をセットする(ステップS258)。REQ終了判定時間値は、図21に示す賞球REQ信号オフ待ち時間を作成するための値である。その後、賞球プロセスコードの値を2にして(ステップS259)、処理を終了する。   When the prize ball control signal is transmitted, the CPU 56 subtracts the contents of the prize ball number buffer (the number of prize balls paid out to the payout control means) from the contents of the total prize ball number storage buffer (step S257). Then, a REQ end determination time value (for example, 3) is set in the prize ball timer (step S258). The REQ end determination time value is a value for creating the award ball REQ signal off waiting time shown in FIG. Thereafter, the value of the prize ball process code is set to 2 (step S259), and the process is terminated.

なお、この例では、賞球制御信号を送信したあとにステップS257の減算処理を行うが、具体的には、ステップS255およびステップS256で賞球REQ中出力値と賞球個数バッファの内容とが出力ポート0バッファにセットされたあと、ステップS203にて出力ポート0バッファの内容がポート0に出力される前に行われる。ただし、ステップS255およびステップS256で賞球REQ中出力値と賞球個数バッファの内容とが出力ポート0バッファにセットされ、その後にステップS203において出力ポート0バッファの内容がポート0に出力されて、賞球REQ信号が実際にオン状態となったあとに、総賞球数格納バッファの内容から賞球個数バッファの内容を減算する減算処理を行うようにしてもよい。   In this example, after the prize ball control signal is transmitted, the subtraction process in step S257 is performed. Specifically, in step S255 and step S256, the output value in the prize ball REQ and the content of the prize ball number buffer are obtained. After being set in the output port 0 buffer, this is performed before the contents of the output port 0 buffer are output to port 0 in step S203. However, in step S255 and step S256, the output value in the prize ball REQ and the contents of the prize ball number buffer are set in the output port 0 buffer, and then in step S203, the contents of the output port 0 buffer are output to port 0. Subtraction processing for subtracting the contents of the prize ball number buffer from the contents of the total prize ball number storage buffer may be performed after the prize ball REQ signal is actually turned on.

図27は、賞球プロセスコードの値が2の場合に実行される賞球待ち処理2(ステップS233)を示すフローチャートである。CPU56は、賞球待ち処理2において、賞球タイマの値を確認し(ステップS261)、その値が0でなければ賞球タイマの値を1減らして(ステップS262)、処理を終了する。賞球タイマの値が0になったら、すなわち図21に示す賞球REQ信号オフ待ち時間が経過したら、賞球REQ待ち時間を賞球タイマにセットする(ステップS263)。そして、賞球プロセスコードの値を0にして(ステップS264)、処理を終了する。上述したように、賞球REQ待ち時間は、次に賞球REQ信号をオン状態にするまでの待ち時間(連続して賞球払出が実行される場合に、複数の賞球REQ信号のオン期間の間に間隔を設けるための時間)である。   FIG. 27 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 ball waiting process 2, the CPU 56 confirms the value of the award ball timer (step S261). If the value is not 0, the value of the award ball timer is decreased by 1 (step S262), and the process is terminated. When the value of the prize ball timer becomes 0, that is, when the prize ball REQ signal OFF waiting time shown in FIG. 21 has elapsed, the prize ball REQ waiting time is set in the prize ball timer (step S263). Then, the value of the prize ball process code is set to 0 (step S264), 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 performed, the on periods of a plurality of award ball REQ signals are Is a time for providing an interval).

以上の処理によって、遊技制御手段は、払出条件の成立にもとづいて払い出される賞球としての遊技球の総数を特定可能に総賞球数格納バッファに記憶する。また、遊技制御手段は、総賞球数格納バッファに記憶されている賞球数にもとづいて払出制御手段に対して所定数の賞球の払出数を指定する払出指令信号を送信する。ここで、所定数は、総賞球数格納バッファに記憶されている賞球数が15個以上であれば15であり、15個未満であれば、総賞球数格納バッファに記憶されている賞球数である。そして、賞球払出を指定する賞球制御信号を送信したときに、総賞球数格納バッファに記憶されている賞球数から払出指令信号で指定した払出数を減算する減算処理を行う。   Through 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. 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. Then, when a prize ball control signal designating the prize ball payout is transmitted, a subtraction process is performed to subtract the number of payouts designated by the payout command signal from the number of prize balls stored in the total prize ball number storage buffer.

上記のように、第1接続確認信号および第2接続確認信号の入力状態を確認することにより、正常に伝送される状態であるときに限って賞球制御信号を送信し、賞球制御信号を送信したことに応じて総賞球数格納バッファに記憶されている賞球数から払出個数信号で指定した払出数を減算する構成とされているので、遊技制御手段での未払出の賞球数の管理を確実に行うことができる。すなわち、通信に関する異常が生じているときは賞球制御信号が送信されないので、遊技制御手段での未払出の賞球数の管理が確実なものとなる。   As described above, by confirming the input state of the first connection confirmation signal and the second connection confirmation signal, the prize ball control signal is transmitted only when the transmission is normally performed, and the prize ball control signal is Since the number of payouts specified by the payout number signal is subtracted from the number of prize balls stored in the total prize ball number storage buffer in response to the transmission, the number of prize balls not paid out by the game control means Can be reliably managed. That is, when an abnormality relating to communication occurs, the prize ball control signal is not transmitted, so that the management of the number of unpaid prize balls by the game control means is ensured.

なお、この実施の形態では、払出条件の成立にもとづいて払い出される景品遊技媒体の総数を特定可能に記憶する景品遊技媒体数記憶手段として、総数そのものを記憶する総賞球数格納バッファが例示されたが、景品遊技媒体の総数を特定可能に記憶する景品遊技媒体数記憶手段は、各入賞領域への入賞数を記憶したり、賞球数が同じである入賞領域毎の入賞数(例えば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 in accordance with 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 the 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 holes 33, 39, 29, 30 corresponding to the number of 10 winning balls, and the number of winning prizes corresponding to the number of 15 winning balls, , The number of winning prizes for which the winning ball payout has not ended yet) may be stored.

次に、払出制御手段(払出制御用CPU371およびROM,RAM等の周辺回路)の動作を説明する。図28は、払出制御手段における出力ポートの割り当ての例を示す説明図である。図28に示すように、出力ポート0は、ステッピングモータによる発射モータ94に供給される各相の信号と、ステッピングモータによる払出モータ289に供給される各相の信号とを出力するための出力ポートである。また、出力ポート1は、球切れLED52、賞球LED51、電源断確認信号、第3接続確認信号、リセット確認信号、およびクリア信号を出力するための出力ポートである。出力ポート2は、7セグメントLEDによるエラー表示LED374の各セグメント出力の出力ポートである。出力ポート3は、遊技機外部に出力される賞球中信号、賞球情報、球貸し情報および遊技機エラー状態信号を出力するための出力ポートである。   Next, the operation of the payout control means (the payout control CPU 371 and peripheral circuits such as ROM and RAM) will be described. FIG. 28 is an explanatory diagram showing an example of output port assignment in the payout control means. As shown in FIG. 28, the output port 0 is an output port for outputting each phase signal supplied to the firing motor 94 by the stepping motor and each phase signal supplied to the payout motor 289 by the stepping motor. It is. The output port 1 is an output port for outputting a ball break LED 52, a prize ball LED 51, a power cut confirmation signal, a third connection confirmation signal, a reset confirmation signal, and a clear signal. The output port 2 is an output port of each segment output of the error display LED 374 by 7 segment LED. The output port 3 is an output port for outputting an award ball signal, award ball information, ball lending information, and a gaming machine error status signal output to the outside of the gaming machine.

なお、払出制御基板37には、図28には示されていないが、カードユニット50へのEXS信号およびPRDY信号を出力するための出力ポート4も設けられている。   Although not shown in FIG. 28, the payout control board 37 is also provided with an output port 4 for outputting an EXS signal and a PRDY signal to the card unit 50.

図29は、払出制御手段における入力ポートのビット割り当ての例を示す説明図である。図29に示すように、入力ポート0のビット0には主基板31からの第1接続確認信号が入力され、ビット1〜3には主基板31からの4ビットの賞球個数信号が入力され、ビット5,7には、それぞれ、主基板31からの賞球REQ信号と、主基板31からの第2接続確認信号が入力される。また、入力ポート1のビット0〜3には、それぞれ、タッチセンサからのタッチセンサ信号(発射制御信号)、払出個数カウントスイッチ301の検出信号、エラー解除スイッチ375からの操作信号、満タンスイッチ48の検出信号が入力される。入力ポート1のビット4〜6には、それぞれ、カードユニット50からのVL信号、BRDY信号、BRQ信号が入力される。入力ポート2には、電源基板910からのクリアスイッチ921の出力信号(クリアスイッチ信号)、および電源断信号、球切れスイッチ187の検出信号、払出モータ位置センサ295の検出信号が入力される。   FIG. 29 is an explanatory diagram showing an example of bit assignment of input ports in the payout control means. As shown in FIG. 29, the first connection confirmation signal from the main board 31 is input to bit 0 of the input port 0, and the 4-bit prize ball number signal from the main board 31 is input to bits 1 to 3. Bits 5 and 7 receive a prize ball REQ signal from the main board 31 and a second connection confirmation signal from the main board 31, respectively. Bits 0 to 3 of the input port 1 respectively include a touch sensor signal (launch control signal) from the touch sensor, a detection signal from the payout count switch 301, an operation signal from the error release switch 375, and a full switch 48. The detection signal is input. The VL signal, the BRDY signal, and the BRQ signal from the card unit 50 are input to bits 4 to 6 of the input port 1, respectively. To the input port 2, an output signal (clear switch signal) of the clear switch 921 from the power supply substrate 910, a power-off signal, a detection signal of the ball break switch 187, and a detection signal of the payout motor position sensor 295 are input.

図30は、遊技機の払出制御手段とカードユニット50との間の通信を説明するためのタイミング図である。払出制御手段は、遊技機への電力供給が開始され、払出動作が可能なときにはPRDY信号をオン状態にする。カードユニット50は、電力供給が開始されると、接続信号としてのVL信号をオン状態にする。カードユニット50においてカードが受け付けられ、球貸しスイッチが操作され球貸しスイッチ信号が入力されると、カードユニット50は、払出制御手段にBRDY信号を出力する。すなわち、BRDY信号をオン状態にする。この時点から所定の遅延時間が経過すると、カードユニット50は、払出制御手段にBRQ信号を出力する。すなわち、BRQ信号をオン状態にする。   FIG. 30 is a timing chart for explaining the communication between the payout control means of the gaming machine and the card unit 50. The payout control means turns on the PRDY signal when power supply to the gaming machine is started and a payout operation is possible. When the power supply is started, the card unit 50 turns on the VL signal as a connection signal. When a card is received in the card unit 50, the ball lending switch is operated and a ball lending switch signal is input, the card unit 50 outputs a BRDY signal to the payout control means. That is, the BRDY signal is turned on. When a predetermined delay time elapses from this point, the card unit 50 outputs a BRQ signal to the payout control means. That is, the BRQ signal is turned on.

そして、払出制御手段は、カードユニット50に対するEXS信号をオン状態にし、カードユニット50からのBRQ信号の立ち下がり(オフ)を検出すると、払出モータ289を駆動し、所定個(例えば25個)の貸し球を遊技者に払い出す。そして、払出が完了したら、払出制御手段は、カードユニット50に対するEXS信号を立ち下げる。すなわちEXS信号をオフ状態にする。   Then, when the payout control means turns on the EXS signal for the card unit 50 and detects the falling (off) of the BRQ signal from the card unit 50, the payout motor 289 is driven to drive a predetermined number (for example, 25). Pay out the rental balls to the player. Then, when the payout is completed, the payout control means causes the EXS signal to the card unit 50 to fall. That is, the EXS signal is turned off.

次に、払出制御手段の動作について説明する。図31は、払出制御手段が実行するメイン処理を示すフローチャートである。メイン処理では、払出制御用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. 31 is a flowchart showing main processing executed by the payout control means. In the main process, the payout control CPU 371 first performs necessary initial settings. That is, the payout control CPU 371 first sets the interruption prohibition (step S701). Next, the interrupt mode is set to interrupt mode 2 (step S702), and a stack pointer designation address is set to the stack pointer (step S703). The payout control CPU 371 initializes the built-in device register (step S704), initializes the CTC and PIO (step S705), and then sets the RAM in an accessible state (step S706). . Further, 0000 (H) is set as an initial value of the award ball unpaid number counter (step S707).

この実施の形態では、内蔵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 as an initial value in a predetermined register (time constant register).

なお、タイマモードに設定されたチャネル(この実施の形態ではチャネル3)に設定される割込ベクタは、タイマ割込処理の先頭アドレスに相当するものである。具体的は、Iレジスタに設定された値と割込ベクタとでタイマ割込処理の先頭アドレスが特定される。タイマ割込処理では、払出手段を制御する払出制御処理(少なくとも主基板からの賞球払出に関する指令信号に応じて球払出装置97を駆動する処理を含み、球貸し要求に応じて球払出装置97を駆動する処理が含まれていてもよい。)が実行される。   The interrupt vector set for the channel set to the timer mode (channel 3 in this embodiment) corresponds to the start address of the timer interrupt process. Specifically, the start address of the timer interrupt process is specified by the value set in the I register and the interrupt vector. In the timer interruption process, a payout control process for controlling the payout means (including at least a process of driving the ball payout device 97 in response to a command signal related to award ball payout from the main board, and a ball payout device 97 in response to a ball lending request. A process for driving the program may be included.

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

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

次いで、入力ポート2を介して入力されるクリアスイッチ921からのクリアスイッチ信号の状態を1回だけ確認する(ステップS708)。その確認においてオンを検出した場合には、払出制御用CPU371は、クリア信号を出力ポート1にセットして主基板31に対してクリア信号を出力する(ステップS712)。すなわち、クリア信号をオン状態とする。そして、初期化処理を実行する(ステップS713〜ステップS716)。なお、ステップS712でクリア信号がオン状態とされた場合には、その後にクリアスイッチ921からのクリアスイッチ信号がオフ状態となったあと所定期間(クリア信号出力延長期間:図36(B)参照)が経過するまで、クリア信号のオン状態が継続される。   Next, the state of the clear switch signal from the clear switch 921 input via the input port 2 is confirmed only once (step S708). When ON is detected in the confirmation, the payout control CPU 371 sets a clear signal to the output port 1 and outputs a clear signal to the main board 31 (step S712). That is, the clear signal is turned on. Then, initialization processing is executed (steps S713 to S716). When the clear signal is turned on in step S712, the clear switch signal from the clear switch 921 is turned off thereafter for a predetermined period (clear signal output extension period: see FIG. 36B). Until the time elapses, the ON state of the clear signal is continued.

クリアスイッチ921からのクリアスイッチ信号がオン状態でない場合には、遊技機への電力供給が停止したときにバックアップRAM領域のデータ保護処理(例えばパリティデータの付加等の電力供給停止時処理)が行われたか否か確認する(ステップS709)。保護処理が行われていたか否かは、後述する電力供給停止時処理においてバックアップRAM領域に保存されるバックアップ監視タイマの値が、バックアップRAM領域のデータ保護処理を実行したことに応じた値(例えば10)になっているか否かによって確認される。なお、そのような確認の仕方は一例であって、例えば、電力供給停止時処理においてバックアップフラグ領域にデータ保護処理を実行したことを示すフラグをセットし、ステップS709において、そのフラグがセットされていることを確認したらバックアップありと判定してもよい。   When the clear switch signal from the clear switch 921 is not in the on state, the data protection processing of the backup RAM area (for example, power supply stop processing such as addition of parity data) is performed when power supply to the gaming machine is stopped. It is confirmed whether it has been received (step S709). 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 10). Note that such a confirmation method is merely an example. For example, a flag indicating that the data protection processing has been executed is set in the backup flag area in the power supply stop processing, and the flag is set in step S709. If it is confirmed that there is a backup, it may be determined that there is a backup.

バックアップありと判定したら、払出制御用CPU371は、バックアップRAM領域のデータチェック(この例ではパリティチェック)を行う(ステップS710)。この実施の形態では、クリアデータ(00)をチェックサムデータエリアにセットし、チェックサム算出開始アドレスをポインタにセットする。また、チェックサムの対象となるデータ数に対応するチェックサム算出回数をセットする。そして、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する。演算結果をチェックサムデータエリアにストアするとともに、ポインタの値を1増やし、チェックサム算出回数の値を1減算する。以上の処理が、チェックサム算出回数の値が0になるまで繰り返される。チェックサム算出回数の値が0になったら、CPU56は、チェックサムデータエリアの内容の各ビットの値を反転し、反転後のデータをチェックサムとする。   If it is determined that there is a backup, the payout control CPU 371 performs a data check (parity check in this example) in the backup RAM area (step S710). 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 becomes 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.

後述する電力供給停止時処理において、上記の処理と同様の処理(図34に示す処理)によってチェックサムが算出され、チェックサムはバックアップRAM領域に保存されている。ステップS710では、算出したチェックサムと保存されているチェックサムとを比較する。不測の停電等の電力供給停止が生じた後に復旧した場合には、バックアップRAM領域のデータは保存されているはずであるから、チェック結果(比較結果)は正常(一致)になる。チェック結果が正常でないということは、バックアップRAM領域のデータが、電力供給停止時のデータとは異なっていることを意味する。そのような場合には、内部状態を電力供給停止時の状態に戻すことができないので、払出制御状態復旧処理を実行せず、クリア信号をオン状態とするとともに(ステップS712)、初期化処理(ステップS713〜S716の処理)を実行する。   In the power supply stop process described later, the checksum is calculated by the same process (the process shown in FIG. 34) as the above process, 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 outage 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 payout control state restoration process is not executed, the clear signal is turned on (step S712), and the initialization process ( Steps S713 to S716) are executed.

チェック結果が正常であれば、払出制御用CPU371は、払出制御状態復旧処理を行う。具体的には、賞球未払出個数カウンタ初期値として、バックアップRAMに形成されている賞球未払出個数カウンタの値をセットする(ステップS711)。そして、ステップS714以降の処理を実行する。   If the check result is normal, the payout control CPU 371 performs payout control state recovery processing. Specifically, the value of the award ball unpaid number counter formed in the backup RAM is set as the initial value of the award ball unpaid number counter (step S711). And the process after step S714 is performed.

初期化処理では、払出制御用CPU371は、まず、RAMクリア処理を行う(ステップS713)。また、RAM領域のフラグやカウンタなどに初期値を設定する(ステップS714)。ステップS714の処理には、賞球未払出個数カウンタ初期値を賞球未払出個数カウンタにセットする処理が含まれる。従って、払出制御状態復旧処理(ステップS711)が実行された場合には、バックアップRAMに保存されていた賞球未払出個数カウンタの値が、あらためて賞球未払出個数カウンタにセットされる。換言すれば、バックアップRAMに保存されていた賞球未払出個数カウンタの値がそのまま使用される。   In the initialization process, the payout control CPU 371 first performs a RAM clear process (step S713). Also, initial values are set in the flags and counters of the RAM area (step S714). The process of step S714 includes a process of setting the initial value of the award ball unpaid number counter in the award ball unpaid number counter. Therefore, when the payout control state recovery process (step S711) is executed, the value of the unsold prize ball number counter stored in the backup RAM is set again in the unsold prize ball number counter. In other words, the value of the award ball unpaid number counter stored in the backup RAM is used as it is.

そして、定期的にタイマ割込がかかるように払出制御用CPU371に設けられているCTCのレジスタの設定を行う(ステップS715)。すなわち、初期値としてタイマ割込発生間隔に相当する値が所定のレジスタ(時間定数レジスタ)に設定される。   Then, the CTC register provided in the payout control CPU 371 is set so that a timer interruption is periodically performed (step S715). That is, a value corresponding to the timer interrupt generation interval is set as an initial value in a predetermined register (time constant register).

さらに、初期化処理を終了すると、払出制御用CPU371は、リセット確認信号をオン状態からオフ状態に切り替え、主基板31に遊技制御動作の開始指示を行う(ステップS716)。   Further, when the initialization process is finished, the payout control CPU 371 switches the reset confirmation signal from the on state to the off state, and instructs the main board 31 to start the game control operation (step S716).

次いで、払出制御用CPU371は、払出制御信号受付処理を開始する(ステップS717)。すなわち、遊技制御手段からの払出制御信号を受信可能な制御状態とする。なお、払出制御処理は未だ開始されていないため、払出制御信号受付処理にて払出制御信号を受信した場合には、受信した払出制御信号の内容を示す情報が払出制御基板37が備えるRAMに保持されるだけで、受信した払出制御信号に応じた処理は払出制御処理が開始したあとに実行される。   Next, the payout control CPU 371 starts payout control signal reception processing (step S717). That is, the control state is such that the payout control signal from the game control means can be received. Since the payout control process has not yet started, when a payout control signal is received in the payout control signal reception process, information indicating the content of the received payout control signal is stored in the RAM provided in the payout control board 37. The processing according to the received payout control signal is executed after the payout control process is started.

そして、払出制御用CPU371は、払出制御処理の実行可能状態となったとして、第3接続確認信号をオン状態としたあと(ステップS718)、第1接続確認信号および第2接続確認信号の入力状態を監視する監視処理を行う(ステップS719)。   Then, the payout control CPU 371 sets the third connection confirmation signal to the on state (step S718), assuming that the payout control process can be executed, and then inputs the first connection confirmation signal and the second connection confirmation signal. A monitoring process for monitoring is performed (step S719).

なお、第1接続確認信号および第2接続確認信号の入力状態を監視する監視処理は、上記のように第3接続確認信号をオン状態としたあとに開始するようにしてもよいし、第3接続確認信号をオン状態とする前に開始してもよい。   The monitoring process for monitoring the input states of the first connection confirmation signal and the second connection confirmation signal may be started after the third connection confirmation signal is turned on as described above. It may be started before the connection confirmation signal is turned on.

ステップS719の監視処理にて、第1接続確認信号および第2接続確認信号がオン状態であることを所定の監視期間が経過する前に確認すると、払出制御用CPU371は、払出制御の実行を開始する。すなわち、初期設定処理のステップS701において割込禁止とされているため、払出制御処理の実行を許容するために、割込を許可する(ステップS720)。その後、タイマ割込の発生を監視するループ処理に入る。   When the monitoring process in step S719 confirms that the first connection confirmation signal and the second connection confirmation signal are in the ON state before the predetermined monitoring period elapses, the payout control CPU 371 starts executing the payout control. To do. That is, since interruption is prohibited in step S701 of the initial setting process, interruption is permitted in order to allow execution of the payout control process (step S720). Thereafter, a loop process for monitoring the occurrence of a timer interrupt is entered.

なお、図31には明示していないが、本例では、第3接続確認信号をオン状態としたあと、第1接続確認信号および第2接続確認信号がオン状態となることなく、あらかじめ定められた監視期間が経過すると、払出制御用CPU371は、主制御未接続エラーであるとして、例えばその旨をランプなどの報知手段により遊技店員等に対して報知するとともに、第3接続確認信号をオフ状態として、制御処理を終了する。   Although not explicitly shown in FIG. 31, in this example, after the third connection confirmation signal is turned on, the first connection confirmation signal and the second connection confirmation signal are not turned on and are determined in advance. When the monitoring period elapses, the payout control CPU 371 determines that it is a main control non-connection error, for example, notifies the game store clerk or the like by a notification means such as a lamp, and turns off the third connection confirmation signal. Then, the control process is terminated.

上記のように、この実施の形態では、払出制御用CPU371の内蔵CTCが繰り返しタイマ割込を発生するように設定される。そして、タイマ割込が発生すると、払出制御用CPU371は、タイマ割込処理を実行する。   As described above, in this embodiment, the built-in CTC of the payout control CPU 371 is set to repeatedly generate a timer interrupt. When a timer interrupt occurs, the payout control CPU 371 executes a timer interrupt process.

図32は、払出制御手段が実行するタイマ割込処理の例を示すフローチャートである。タイマ割込処理にて、払出制御用CPU371は、電源断信号が出力された否かを監視する電源断処理を実行する(ステップS749)。その後、ステップS750以降の払出制御処理を実行する。払出制御処理では、払出制御用CPU371は、まず、発射モータ94に対する励磁パターンの出力処理(発射モータφ1〜φ4のパターンの出力ポート0への出力)を行う(ステップS750)。なお、ステップS752の発射モータ制御処理において、励磁パターンがRAM領域である励磁パターンバッファに格納され、ステップS750では、払出制御用CPU371は、励磁パターンバッファの内容を出力ポート0の下位4ビットに出力する処理を行う。   FIG. 32 is a flowchart showing an example of timer interrupt processing executed by the payout control means. In the timer interrupt process, the payout control CPU 371 executes a power-off process for monitoring whether or not a power-off signal is output (step S749). Thereafter, a payout control process after step S750 is executed. In the payout control process, the payout control CPU 371 first performs an excitation pattern output process for the firing motor 94 (output of the patterns of the firing motors φ1 to φ4 to the output port 0) (step S750). In the firing motor control process in step S752, the excitation pattern is stored in the excitation pattern buffer that is the RAM area. In step S750, the payout control CPU 371 outputs the contents of the excitation pattern buffer to the lower 4 bits of the output port 0. Perform the process.

次に、払出制御用CPU371は、入力判定処理を行う(ステップS751)。入力判定処理は、入力ポート0のビット0,4,7、入力ポート1のビット3〜6、および入力ポート2のビット2(図29参照)の状態を検出して検出結果をRAMの所定の1バイト(入力状態フラグと呼ぶ。)に反映する処理である。なお、払出制御処理において、各入力ポートにおける上記の各ビットの状態にもとづいて制御を行う場合には、直接入力ポートの状態をチェックするのではなく、入力状態フラグの状態をチェックする。   Next, the payout control CPU 371 performs input determination processing (step S751). The input determination process detects the states of bits 0, 4, and 7 of the input port 0, bits 3 to 6 of the input port 1, and bit 2 (see FIG. 29) of the input port 2, and the detection result is stored in a predetermined RAM This process is reflected in one byte (referred to as an input state flag). In the payout control process, when control is performed based on the state of each bit in each input port, the state of the input state flag is checked instead of directly checking the state of the input port.

次に、払出制御用CPU371は、発射モータ制御処理を実行する(ステップS752)。発射モータ制御処理では、発射モータφ1〜φ4のパターンを励磁パターンバッファに格納する。また、発射モータ94を不能動化すべきときには、発射モータ94を回転させない発射モータφ1〜φ4のパターンを励磁パターンバッファに格納する。また、払出制御用CPU371は、払出モータ制御処理を実行する(ステップS753)。払出モータ制御処理では、払出モータ289を駆動すべきときには、払出モータφ1〜φ4のパターンを出力ポート0に出力するための処理を行う。   Next, the payout control CPU 371 executes a firing motor control process (step S752). In the firing motor control process, the patterns of the firing motors φ1 to φ4 are stored in the excitation pattern buffer. When the firing motor 94 should be disabled, the patterns of the firing motors φ1 to φ4 that do not rotate the firing motor 94 are stored in the excitation pattern buffer. Also, the payout control CPU 371 executes a payout motor control process (step S753). In the payout motor control process, when the payout motor 289 is to be driven, a process for outputting the patterns of the payout motors φ1 to φ4 to the output port 0 is performed.

また、払出制御用CPU371は、カードユニット50と通信を行うプリペイドカードユニット制御処理を実行する(ステップS754)。次いで、払出制御用CPU371は、主基板31の遊技制御手段と通信を行う主制御通信処理を実行する(ステップS755)。さらに、カードユニット50からの球貸し要求に応じて貸し球を払い出す制御を行い、また、主基板からの賞球個数信号が示す個数の賞球を払い出す制御を行う賞球球貸し制御処理を実行する(ステップS756)。   Also, the payout control CPU 371 executes a prepaid card unit control process for communicating with the card unit 50 (step S754). Next, the payout control CPU 371 executes main control communication processing for communicating with the game control means of the main board 31 (step S755). Further, a prize ball lending control process for performing a control for paying out a lending ball in response to a ball lending request from the card unit 50 and performing a control for paying out the number of award balls indicated by a prize ball number signal from the main board. Is executed (step S756).

そして、払出制御用CPU371は、各種のエラーを検出するエラー処理を実行する(ステップS757)。また、遊技機外部に出力される賞球情報や球貸し情報を出力するための情報出力処理を実行する(ステップS758)。また、エラー処理の結果に応じてエラー表示LED374に所定の表示を行うとともに、賞球LED51および球切れLED52を点灯するための表示制御処理を実行する(ステップS759)。なお、払出制御用CPU371は、表示制御処理において、賞球REQ信号がオン状態であるときに、賞球LED51を点灯するための制御を行う。また、賞球REQ信号がオフ状態になったら、賞球LED51を消灯するための制御を行う。   Then, the payout control CPU 371 executes error processing for detecting various errors (step S757). Further, an information output process for outputting prize ball information and ball lending information output to the outside of the gaming machine is executed (step S758). Further, a predetermined display is performed on the error display LED 374 according to the result of the error processing, and a display control process for lighting the prize ball LED 51 and the ball out LED 52 is executed (step S759). In the display control process, the payout control CPU 371 performs control for lighting the prize ball LED 51 when the prize ball REQ signal is on. Further, when the prize ball REQ signal is turned off, control for turning off the prize ball LED 51 is performed.

また、この実施の形態では、出力ポートの出力状態に対応したRAM領域(出力ポート0バッファ〜出力ポート3バッファ)が設けられているのであるが、払出制御用CPU371は、出力ポート0バッファ〜出力ポート3バッファの内容を出力ポートに出力する(ステップS760:出力処理)。ただし、出力ポート0の下位4ビット(発射モータφ1〜φ4)については、ステップS750で実行されているので、出力処理においては、出力ポート0の下位4ビットについての出力を行わない。出力ポート0バッファ〜出力ポート3バッファは、払出モータ制御処理(ステップS753)、プリペイドカード制御処理(ステップS754)、主制御通信処理(ステップS755)、情報出力処理(ステップS758)および表示制御処理(ステップS759)で更新される。   In this embodiment, a RAM area (output port 0 buffer to output port 3 buffer) corresponding to the output state of the output port is provided. However, the payout control CPU 371 is configured to output the output port 0 buffer to output. The contents of the port 3 buffer are output to the output port (step S760: output processing). However, since the lower 4 bits (fire motors φ1 to φ4) of output port 0 are executed in step S750, the output of the lower 4 bits of output port 0 is not performed in the output process. The output port 0 buffer to output port 3 buffer are a payout motor control process (step S753), a prepaid card control process (step S754), a main control communication process (step S755), an information output process (step S758), and a display control process ( Updated in step S759).

図33〜図35は、ステップS749の電源断処理の一例を示すフローチャートである。電源断処理において、払出制御用CPU371は、まず、電源断信号が出力されているか否か(オン状態になっているか否か)確認する(ステップS901)。オン状態でなければ、払出制御基板37が備えるRAMに形成されるバックアップ監視タイマの値を0クリアする(ステップS902)。オン状態であれば、払出制御基板37が備えるRAMに形成されるバックアップ監視タイマの値を1増やす(ステップS903)。そして、バックアップ監視タイマの値が判定値(例えば2)と一致すれば(ステップS904)、ステップS905以降の電力供給停止時処理すなわち電力の供給停止のための準備処理を実行する。つまり、払出制御を実行する状態から払出制御の制御状態を保存させるための電力供給停止時処理(電源断時制御処理)を実行する状態に移行する。   33 to 35 are flowcharts illustrating an example of the power-off process in step S749. In the power-off process, the payout control CPU 371 first checks whether or not a power-off signal is output (whether or not it is in an on state) (step S901). If not in the ON state, the value of the backup monitoring timer formed in the RAM provided in the payout control board 37 is cleared to 0 (step S902). If it is in the ON state, the value of the backup monitoring timer formed in the RAM provided in the payout control board 37 is increased by 1 (step S903). If the value of the backup monitoring timer matches the determination value (for example, 2) (step S904), the power supply stop process after step S905, that is, the preparation process for stopping the power supply is executed. That is, the process shifts from a state in which the payout control is executed to a state in which a power supply stop process (a power-off control process) for saving the payout control state is executed.

バックアップ監視タイマと判定値とを用いることによって、判定値に相当する時間だけ電源断信号のオン状態が継続したら、電力供給停止時処理が開始される。すなわち、ノイズ等で一瞬電源断信号のオン状態が発生しても、誤って電力供給停止時処理が開始されるようなことはない。なお、払出制御基板37が備えるRAMに形成されるバックアップ監視タイマの値は、遊技機への電力供給が停止しても、所定期間はバックアップ電源によって保存される。従って、メイン処理におけるステップS709では、バックアップ監視タイマの値が判定値と同じ値になっていることによって、電力供給停止時処理の処理結果が保存されていることを確認できる。   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 if 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 provided in the payout control board 37 is stored by the backup power source for a predetermined period even when the power supply to the gaming machine is stopped. Therefore, in step S709 in the main process, it can be confirmed that the process result of the power supply stop process is stored because the value of the backup monitoring timer is the same as the determination value.

この例では、図示はしないが、電力供給停止時処理にて、例えば、スタックポインタの値を払出制御基板37が備えるRAMの電源バックアップ領域におけるスタックポインタ退避バッファに退避する処理など、払出制御状態を復旧させるために必要なデータをRAMの電源バックアップ領域に保存させるためのデータ退避処理が実行される。   In this example, although not shown, in the power supply stop process, for example, the payout control state such as the process of saving the value of the stack pointer to the stack pointer save buffer in the RAM power backup area provided in the payout control board 37 is changed. Data saving processing for saving data necessary for recovery in the power backup area of the RAM is executed.

電力供給停止時処理において、払出制御用CPU371は、電源断確認信号を出力する(オン状態とする)とともに(ステップS905)、電力供給停止時処理待機時間を待機時間タイマに設定し(ステップS906)、遊技制御手段からの賞球制御信号を所定期間(電力供給停止時処理待機時間)受付ける待機時間中賞球受付処理を行う(ステップS907〜S910)。なお、待機時間タイマは、払出制御基板37が備えるRAMに格納されている。   In the power supply stop process, the payout control CPU 371 outputs a power-off confirmation signal (turns on) (step S905) and sets the power supply stop process standby time to the standby time timer (step S906). Then, a prize ball receiving process is performed during a standby time for receiving a prize ball control signal from the game control means for a predetermined period (process standby time when power supply is stopped) (steps S907 to S910). The standby time timer is stored in a RAM provided in the payout control board 37.

電力供給停止時処理待機時間は、電源断確認信号を出力してから、電源断確認信号の入力に応じた主基板31での電力供給停止時処理が開始されるまでの期間としてあらかじめ定められた時間である。なお、電力供給停止時処理待機時間は、少なくとも、待機時間中賞球受付処理が終了する前に主基板31での電力供給停止時処理が開始されるような時間が定められる。この時間は、例えば、払出制御手段が電源断確認信号を出力してから、遊技制御手段にて電力供給停止時処理が開始されるまでの期間を実際に計測することで定めるようにすればよい。   The processing standby time at the time of power supply stop is determined in advance as a period from when the power-off confirmation signal is output until the processing at the time of power supply stop at the main board 31 is started according to the input of the power-off confirmation signal. It's time. The power supply stop process standby time is determined at least so that the power supply stop process on the main board 31 is started before the award ball acceptance process during the standby time is completed. This time may be determined, for example, by actually measuring the period from when the payout control means outputs the power-off confirmation signal until the game control means starts the process of stopping power supply. .

待機時間中賞球受付処理にて、払出制御用CPU371は、賞球REQ信号がオン状態であれば(ステップS907)、賞球個数信号が示す個数を賞球未払出個数カウンタに加算する(ステップS908)。次いで、払出制御用CPU371は、待機時間タイマを1減算し(ステップS909)、待機時間タイマが0でなければステップS907の処理に戻る(ステップS910)。すなわち、電力供給停止時処理待機時間が経過するまで、待機時間中賞球受付処理を実行し、賞球REQ信号の受信状態の監視および未払出個数カウンタの更新を行う。   In the award ball acceptance process during the waiting time, if the prize ball REQ signal is on (step S907), the payout control CPU 371 adds the number indicated by the prize ball number signal to the prize ball unpaid number counter (step S907). S908). Next, the payout control CPU 371 subtracts 1 from the standby time timer (step S909), and if the standby time timer is not 0, returns to the process of step S907 (step S910). That is, the prize ball acceptance process is executed during the standby time until the process standby time at the time of stopping power supply elapses, the reception state of the prize ball REQ signal is monitored, and the unpaid-out number counter is updated.

そして、待機時間タイマが0であれば(ステップS910のY)、待機時間中賞球受付処理を終了し、ステップS911の処理に移行する。   If the waiting time timer is 0 (Y in step S910), the award ball acceptance process during the waiting time is terminated, and the process proceeds to step S911.

なお、待機時間中賞球受付処理では、例えばステップS910にてNと判定したあとに所定の遅延期間を設けるなどして、待機時間中賞球受付処理のループ期間(周期)が、賞球REQ信号のオン期間(賞球REQ信号出力時間)よりも確実に長くなるように設定される。すなわち、待機時間中賞球受付処理では、処理内で同一の賞球制御コマンドが重複して受信されないように処理される。   In the waiting ball prize ball receiving process, for example, a predetermined delay period is provided after determining N in step S910, so that the loop period (cycle) of the waiting ball prize ball receiving process is the prize ball REQ. It is set to be surely longer than the signal ON period (prize ball REQ signal output time). That is, in the award ball acceptance process during the waiting time, the same award ball control command is processed so that it is not received repeatedly within the process.

上記のように、待機時間中賞球受付処理にて遅延期間を設けた場合には、待機時間タイマに設定される時間は、遅延期間を加味した電力供給停止時処理待機時間となる。すなわち、待機時間タイマに設定される時間と電力供給停止時処理待機時間とは一致せず、待機時間中賞球受付処理におけるループ処理の予定回数と1回あたりの遅延期間との積を、待機時間タイマに設定される時間に加算した時間が電力供給停止時処理待機時間となる。   As described above, when a delay period is provided in the award ball acceptance process during the standby time, the time set in the standby time timer is a power supply stop process standby time that takes into account the delay period. In other words, the time set in the standby time timer does not coincide with the processing standby time when the power supply is stopped, and the product of the scheduled number of loop processing and the delay period per time in the waiting ball reception processing during the standby time The time added to the time set in the time timer is the processing standby time when the power supply is stopped.

待機時間中賞球受付処理を終了すると、払出制御用CPU371は、パリティデータを作成する(ステップS911〜S920)。すなわち、まず、クリアデータ(00)をチェックサムデータエリアにセットし(ステップS911)、電力供給停止時でも内容が保存されるべきRAM領域の先頭アドレスに相当するチェックサム算出開始アドレスをポインタにセットする(ステップS912)。また、電力供給停止時でも内容が保存されるべきRAM領域の最終アドレスに相当するチェックサム算出回数をセットする(ステップS913)。   When the award ball acceptance process during the waiting time is completed, the payout control CPU 371 creates parity data (steps S911 to S920). That is, first, clear data (00) is set in the checksum data area (step S911), and the checksum calculation start address corresponding to the start address of the RAM area where the contents are to be stored even when power supply is stopped is set as a pointer. (Step S912). Also, 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 S913).

次いで、チェックサムデータエリアの内容とポインタが指すRAM領域の内容との排他的論理和を演算する(ステップS914)。演算結果をチェックサムデータエリアにストアするとともに(ステップS915)、ポインタの値を1増やし(ステップS916)、チェックサム算出回数の値を1減算する(ステップS917)。そして、ステップS914〜S917の処理を、チェックサム算出回数の値が0になるまで繰り返す(ステップS918)。   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 S914). The calculation result is stored in the checksum data area (step S915), the pointer value is incremented by 1 (step S916), and the value of the checksum calculation count is decremented by 1 (step S917). Then, the processes in steps S914 to S917 are repeated until the value of the checksum calculation count becomes 0 (step S918).

チェックサム算出回数の値が0になったら、払出制御用CPU371は、チェックサムデータエリアの内容の各ビットの値を反転する(ステップS919)。そして、反転後のデータをチェックサムデータエリアにストアする(ステップS920)。このデータが、電源投入時にチェックされるパリティデータとなる。次いで、RAMアクセスレジスタにアクセス禁止値を設定する(ステップS921)。以後、内蔵RAM55のアクセスができなくなる。   When the value of the checksum calculation count becomes 0, the payout control CPU 371 inverts the value of each bit of the contents of the checksum data area (step S919). Then, the inverted data is stored in the checksum data area (step S920). 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 S921). Thereafter, the built-in RAM 55 cannot be accessed.

さらに、払出制御用CPU371は、ROM54に格納されているポートクリア設定テーブルの先頭アドレスをポインタにセットする(ステップS922)。ポートクリア設定テーブルにおいて、先頭アドレスには処理数(クリアすべき出力ポートの数)が設定され、次いで、出力ポートのアドレスおよび出力値データ(クリアデータ:出力ポートの各ビットのオフ状態の値)が、処理数分の出力ポートについて順次設定されている。   Further, the payout control CPU 371 sets the start address of the port clear setting table stored in the ROM 54 as a pointer (step S922). In the port clear setting table, the number of processes (the number of output ports to be cleared) is set to the head address, and then the output port address and output value data (clear data: the value of the off state of each bit of the output port) However, the number of output ports corresponding to the number of processes is sequentially set.

払出制御用CPU371は、ポインタが指すアドレスのデータ(すなわち処理数)をロードする(ステップS923)。また、ポインタの値を1増やし(ステップS924)、ポインタが指すアドレスのデータ(すなわち出力ポートのアドレス)をロードする(ステップS925)。さらに、ポインタの値を1増やし(ステップS926)、ポインタが指すアドレスのデータ(すなわち出力値データ)をロードする(ステップS927)。そして、出力値データを出力ポートに出力する(ステップS928)。その後、処理数を1減らし(ステップS929)、処理数が0でなければステップS924に戻る(ステップS930)。処理数が0であれば(ステップS930のY)、すなわち、クリアすべき出力ポートを全てクリアしたら、タイマ割込を停止し(ステップS931)、ループ処理に入る。   The payout control CPU 371 loads data at the address pointed to by the pointer (that is, the number of processes) (step S923). Further, the value of the pointer is incremented by 1 (step S924), and the data of the address pointed to by the pointer (that is, the output port address) is loaded (step S925). Further, the value of the pointer is incremented by 1 (step S926), and the data of the address pointed to by the pointer (that is, output value data) is loaded (step S927). Then, the output value data is output to the output port (step S928). Thereafter, the number of processes is reduced by 1 (step S929), and if the number of processes is not 0, the process returns to step S924 (step S930). If the number of processes is 0 (Y in step S930), that is, if all output ports to be cleared are cleared, the timer interrupt is stopped (step S931) and the loop process is started.

なお、本例では、少なくとも、電源断確認信号やリセット確認信号の出力に用いられる出力ポートは、クリアすべき出力ポートに含まれないものとし、上記のステップS922〜ステップS930の処理にてクリアされない。すなわち、ポートクリア設定テーブルには、電源断確認信号やリセット確認信号の出力に用いられる出力ポートのアドレスは設定されていない。   In this example, it is assumed that at least an output port used for outputting a power-off confirmation signal or a reset confirmation signal is not included in the output ports to be cleared, and is not cleared in the processing of steps S922 to S930. . That is, in the port clear setting table, the address of the output port used for outputting the power-off confirmation signal and the reset confirmation signal is not set.

ループ処理では、電源断信号がオフ状態になったか否かを監視する(ステップS932)。電源断信号がオフ状態になった場合には、電源断確認信号の出力を停止する(オフ状態とする)とともに(ステップS933)、復帰アドレスとして、電源投入時実行アドレス(ステップS701のアドレス)を設定してリターン命令を実行する(ステップS934)。すなわち、メイン処理に戻る。具体的には、遊技機に設けられている遊技用の装置(球払出装置97など)を制御する状態に戻る。   In the loop processing, it is monitored whether or not the power-off signal is turned off (step S932). When the power-off signal is turned off, output of the power-off confirmation signal is stopped (turned off) (step S933), and the power-on execution address (address of step S701) is used as the return address. Set and execute a return instruction (step S934). That is, the process returns to the main process. Specifically, the state returns to a state in which a gaming device (such as a ball payout device 97) provided in the gaming machine is controlled.

また、ループ処理では、リセット信号がローレベルのオン状態となったか否かを監視する(ステップS935)。リセット信号がオン状態になった場合には、リセット確認信号をオフ状態からオン状態に切り替える(ステップS936)。そして、払出制御用CPU371がシステムリセット状態となる(システムリセットされる)。すなわち、払出制御用CPU371は、始動の状態である動作停止状態に戻される(ステップS937)。この例では、払出制御用CPU371が、その駆動電圧(例えば4V)よりも高い電圧が未だ供給されているときに積極的に動作停止状態となるように、リセット信号をオン状態とするための検出電圧の電圧レベルが設定される。   In the loop processing, it is monitored whether or not the reset signal is in a low level on state (step S935). When the reset signal is turned on, the reset confirmation signal is switched from the off state to the on state (step S936). Then, the payout control CPU 371 enters a system reset state (system reset). That is, the payout control CPU 371 is returned to the operation stop state that is the start state (step S937). In this example, detection for turning on the reset signal so that the payout control CPU 371 is actively stopped when a voltage higher than its drive voltage (for example, 4 V) is still supplied. The voltage level of the voltage is set.

以上の処理によって、電力供給が停止する場合には、電源断確認信号を出力する処理と、待機時間中賞球受付処理と、ステップS911〜S931の電力供給停止時処理とが実行され、電力供給停止時処理が実行されたことを示すデータ(バックアップあり指定値およびチェックサム)がバックアップRAMへストアされ、RAMアクセスが禁止状態にされ、出力ポートがクリアされ、かつ、払出制御処理を実行するためのタイマ割込が禁止状態に設定される。   When the power supply is stopped by the above process, the process of outputting the power-off confirmation signal, the award ball acceptance process during the standby time, and the power supply stop time process of steps S911 to S931 are executed. Data indicating that processing at the time of stoppage (specified value with backup and checksum) is stored in the backup RAM, RAM access is disabled, the output port is cleared, and the payout control processing is executed The timer interrupt is disabled.

この実施の形態では、払出制御基板37が備えるRAMの全領域がバックアップ電源によって電源バックアップ(遊技機への電力供給が停止しても所定期間はRAMの内容が保存されること)されている。従って、ステップS905〜S931の処理によって、バックアップ監視タイマの値とともに、電源断信号が出力されたときのRAMの内容にもとづくチェックサムもRAMに保存される。遊技機への電力供給が停止した後、所定期間内に電力供給が復旧したら、払出制御手段は、上述したステップS711の処理によって、RAMに保存されているデータ(電力供給が停止した直前の払出制御手段による制御状態である払出状態を示すデータ(例えば、賞球未払出個数カウンタの値等)を含む)に従って、払出状態を、電力供給が停止した直前の状態に戻すことができる。なお、電力供給停止の期間が所定期間を越えたらバックアップ監視タイマの値とチェックサムとが正規の値とは異なるはずであるから、その場合には、ステップS712〜S714の初期化処理が実行される。   In this embodiment, the entire RAM area of the payout control board 37 is backed up by a backup power source (the contents of the RAM are preserved for a predetermined period even when power supply to the gaming machine is stopped). Accordingly, by the processing in steps S905 to S931, the checksum based on the contents of the RAM when the power-off signal is output is also stored in the RAM together with the value of the backup monitoring timer. When the power supply is restored within a predetermined period after the power supply to the gaming machine is stopped, the payout control means performs the data stored in the RAM (the payout immediately before the power supply is stopped) by the process of step S711 described above. The payout state can be returned to the state immediately before the power supply is stopped according to the data indicating the payout state which is the control state by the control means (for example, including the value of the award ball non-payout number counter). 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 in steps S712 to S714 is executed. The

以上のように、電力供給停止時処理(電力の供給停止のための準備処理)によって、払出制御状態を電力供給が停止した直前の状態に戻すためのデータが確実に変動データ記憶手段(この例では払出制御基板37が備えるRAMの全領域)に保存される。よって、停電等による電源断が生じても、所定期間内に電源が復旧すれば、払出制御状態を電力供給が停止した直前の状態に戻すことができる。なお、払出制御基板37が備えるRAMの全領域が電源バックアップされるのではなく、払出制御状態を電力供給が停止した直前の状態に戻すためのデータを記憶する領域のみが電源バックアップされるようにしてもよい。   As described above, the data for returning the payout control state to the state immediately before the power supply is stopped by the power supply stop process (preparation process for power supply stop) is reliably changed data storage means (this example Then, it is stored in the entire RAM area of the payout control board 37. 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 payout control state can be returned to the state immediately before the power supply is stopped. It should be noted that the entire RAM area of the payout control board 37 is not backed up by power, but only the area for storing data for returning the payout control state to the state immediately before the power supply is stopped is backed up by power. May be.

また、上述したように、電源断信号がオフ状態になった場合には、電源断確認信号をオフ状態とする。よって、主基板31に対して遊技状態復旧処理の実行を指示することができる。   Further, as described above, when the power-off signal is turned off, the power-off confirmation signal is turned off. Therefore, it is possible to instruct the main board 31 to execute the game state restoration process.

また、電源断信号がオフ状態になった場合には、ステップS701に戻る。その場合、電力供給停止時処理が実行されたことを示すデータが設定されているので、ステップS711の払出制御状態復旧処理が実行される。よって、電力供給停止時処理を実行した後に電源監視手段からの検出信号がオフ状態になったときには、払出制御処理(少なくとも主基板31からの賞球払出に関する指令信号に応じて球払出装置97を駆動する処理を含み、球貸し要求に応じて球払出装置97を駆動する処理が含まれていてもよい。)を実行する状態に戻る。従って、電源瞬断等が生じても、払出制御処理が停止してしまうようなことはなく、自動的に、払出制御処理が続行される。   If the power-off signal is turned off, the process returns to step S701. In this case, since data indicating that the power supply stop process has been executed is set, the payout control state recovery process in step S711 is executed. Therefore, when the detection signal from the power supply monitoring unit is turned off after executing the power supply stop process, the payout control process (at least in response to the command signal related to the prize ball payout from the main board 31) Including a process of driving, and may include a process of driving the ball dispensing device 97 in response to a ball lending request. Therefore, even if a power interruption or the like occurs, the payout control process does not stop, and the payout control process is automatically continued.

さらに、上述したように、リセット信号がオン状態になった場合には、リセット確認信号をオン状態とする。よって、主基板31に対して遊技制御動作の停止を指示することができる。   Further, as described above, when the reset signal is turned on, the reset confirmation signal is turned on. Therefore, it is possible to instruct the main board 31 to stop the game control operation.

図36(A)は、電源断信号および電源断確認信号の出力タイミングの例を示すタイミング図である。この例では、図36(A)に示すように、電源電圧が低下し、監視電圧(VLP+24V)が所定電圧(例えば+17V)まで低下すると、電源監視回路920がローレベルの電源断信号を払出制御基板37に対して出力する。電源監視回路920からの電源断信号を受信すると、払出制御用CPU371は、ローレベルの電源断確認信号を主基板31に対して出力し、その後の待機時間(待機時間中賞球受付処理を実行する期間)が経過すると、電力供給停止時処理(ステップS911〜ステップS931)を実行する。   FIG. 36A is a timing diagram illustrating an example of output timings of the power-off signal and the power-off confirmation signal. In this example, as shown in FIG. 36 (A), when the power supply voltage decreases and the monitoring voltage (VLP + 24V) decreases to a predetermined voltage (for example, + 17V), the power supply monitoring circuit 920 issues a low-level power-off signal. Output to the substrate 37. Upon receipt of the power-off signal from the power supply monitoring circuit 920, the payout control CPU 371 outputs a low-level power-off confirmation signal to the main board 31 and executes a waiting time thereafter (award ball acceptance processing during the waiting time). When the period of time elapses, the power supply stop process (steps S911 to S931) is executed.

払出制御用CPU371からの電源断確認信号を受信すると、CPU56は、電力供給停止時処理(ステップS454〜ステップS481)を実行する。   When the power-off confirmation signal is received from the payout control CPU 371, the CPU 56 executes power supply stop processing (steps S454 to S481).

なお、待機時間は、CPU56が電力供給停止時処理を開始したあとに経過するので、払出制御用CPU371は、CPU56が電力供給停止時処理を開始したあとに、電力供給停止時処理を開始する。従って、払出制御用CPU371が電力供給停止時処理を開始したあとに、CPU56によって賞球制御信号が出力されることがないため、賞球制御信号の取りこぼしを防止することができる。   Since the waiting time elapses after the CPU 56 starts the power supply stop process, the payout control CPU 371 starts the power supply stop process after the CPU 56 starts the power supply stop process. Therefore, since the prize ball control signal is not output by the CPU 56 after the payout control CPU 371 starts the power supply stop process, it is possible to prevent the prize ball control signal from being missed.

さらに電源電圧が低下し、払出制御用CPU371およびCPU56での電力供給停止時処理が完了したあと、電源監視回路920によって監視されているVCCが+4.5V以下になると、リセット信号がローレベルにされ、払出制御用CPU371およびCPUにローレベルのリセット信号が入力されて動作停止状態となる。   When the power supply voltage is further reduced and the power supply monitoring circuit 920 completes the power supply stop processing in the payout control CPUs 371 and 56, and the VCC monitored by the power supply monitoring circuit 920 becomes +4.5 V or less, the reset signal is set to the low level. The low-level reset signal is input to the payout control CPU 371 and the CPU, and the operation is stopped.

図36(B)は、クリアスイッチ信号およびクリア信号の出力タイミングの例を示すタイミング図である。この例では、図36(B)に示すように、例えば遊技店員等によってクリアスイッチ921が押下されながら電源が投入されると、電源供給開始後直ちにクリアスイッチ信号がオン状態となる。次いで、クリアスイッチ信号がオン状態とされているときに、メイン処理(図31参照)でのクリアスイッチ信号の確認処理(ステップS708)の実行タイミングが到来すると、払出制御用CPU371は、クリアスイッチ信号がオン状態であることを確認し、主基板31へのローレベルのクリア信号の出力を開始し(ステップS712)、初期化処理を実行する(ステップS713〜ステップS716)。   FIG. 36B is a timing diagram illustrating an example of output timings of the clear switch signal and the clear signal. In this example, as shown in FIG. 36B, when the power is turned on while the clear switch 921 is pressed by a game clerk or the like, for example, the clear switch signal is turned on immediately after the power supply is started. Next, when the clear switch signal is turned on and the execution timing of the clear switch signal confirmation process (step S708) in the main process (see FIG. 31) comes, the payout control CPU 371 displays the clear switch signal. Is turned on, output of a low-level clear signal to the main board 31 is started (step S712), and initialization processing is executed (steps S713 to S716).

払出制御用CPU371からのクリア信号がオン状態とされているときに、メイン処理(図12参照)でのクリア信号の確認処理(ステップS7)の実行タイミングが到来すると、CPU56は、クリア信号がオン状態であることを確認し、初期化処理を実行する(ステップS10〜ステップS14)。   When the clear signal from the payout control CPU 371 is in the ON state, when the execution timing of the clear signal confirmation process (step S7) in the main process (see FIG. 12) comes, the CPU 56 turns on the clear signal. After confirming that it is in a state, initialization processing is executed (steps S10 to S14).

クリア信号は、クリアスイッチ921の押下が終了されてクリアスイッチ信号がオフ状態とされたあとも所定期間(クリア信号出力延長期間)が経過するまではオン状態が維持される。クリア信号出力延長期間は、ステップS708の処理が実行されてからステップS7の処理が実行されるまでの期間(例えば実測により測定すればよい)よりも長い期間に設定される。   The clear signal remains on until a predetermined period (clear signal output extension period) elapses after the clear switch 921 is completely pressed and the clear switch signal is turned off. The clear signal output extension period is set to a period longer than the period (for example, it may be measured by actual measurement) from the execution of the process of step S708 to the execution of the process of step S7.

従って、クリアスイッチ921を操作する遊技店員などは、少なくともクリアスイッチ信号の確認処理(ステップS708)の実行タイミングまでクリアスイッチ921の押下操作を継続していればよく、クリア信号の確認処理(ステップS7)の実行タイミングまで押下操作を継続する必要はない。クリアスイッチ信号の確認処理(ステップS708)の実行タイミング経過後すぐにクリアスイッチ信号がオフ状態となっても、クリア信号の確認処理(ステップS7)の実行タイミングまではクリア信号がオン状態となっているため、主基板31においても確実に初期化処理が実行されるからである。よって、簡単なハード構成で、クリアスイッチ921の長押し操作を必要とすることなく、主基板31と払出制御基板37とに初期化処理を実行させることができる。   Accordingly, a game clerk or the like who operates the clear switch 921 only needs to continue pressing the clear switch 921 at least until the execution timing of the clear switch signal confirmation process (step S708), and the clear signal confirmation process (step S7). It is not necessary to continue the pressing operation until the execution timing of). Even if the clear switch signal is turned off immediately after the execution timing of the clear switch signal confirmation process (step S708), the clear signal remains on until the execution timing of the clear signal confirmation process (step S7). This is because the initialization process is also reliably performed on the main board 31. Thus, the initialization process can be executed by the main board 31 and the payout control board 37 with a simple hardware configuration without requiring the long pressing operation of the clear switch 921.

なお、従来のクリアスイッチから複数の基板に向けて操作信号を出力する遊技機において、操作信号を伝送する信号線の長さが異なる場合に、遅延回路を介在させることによって、信号の到達時期を一致させるようにすることが考えられるが、そのような構成とした場合には、最も到達が遅いものに合わせて遅延時間を設定することになるため、クリアスイッチの長押し操作が必要となってしまう。本例の遊技機では、上記の課題も解決されている。   Note that in game machines that output operation signals from a conventional clear switch to a plurality of boards, when the lengths of the signal lines for transmitting the operation signals are different, the delay of the signal arrival time is determined by interposing a delay circuit. Although it is conceivable to match, in such a configuration, the delay time is set according to the slowest arrival, so it is necessary to press and hold the clear switch for a long time. End up. In the gaming machine of this example, the above problem is also solved.

図37は、ステップS755の主制御通信処理を示すフローチャートである。主制御通信処理では、払出制御用CPU371は、主制御通信制御コードの値に応じて、ステップS531〜S532のいずれかの処理を実行する。   FIG. 37 is a flowchart showing the main control communication process of step S755. In the main control communication process, the payout control CPU 371 executes any one of steps S531 to S532 according to the value of the main control communication control code.

図38は、主制御通信通常処理において賞球個数信号を入力ポートを介して入力するための条件を示す説明図である。図38に示すように、RAMに形成されている1バイトのエラーフラグにおける主制御未接続エラー(第1接続確認信号または第2接続確認信号のオフ)、賞球REQ信号エラー(賞球REQ信号が不正なタイミングでオンまたはオフ)のエラービットがセット状態ではなく、かつ、カードユニット50からのBRDY信号がオン状態ではない場合に、第1接続確認信号および第2接続確認信号がともにオン状態であって、かつ、賞球REQ信号がオン状態になると、払出制御手段は、賞球個数信号を入力ポートを介して入力する。なお、エラービットとは、各種のエラーが発生したことが検出されたときにセットされるエラーフラグにおけるビットである。   FIG. 38 is an explanatory diagram showing conditions for inputting the award ball number signal through the input port in the main control communication normal process. As shown in FIG. 38, the main control non-connection error (OFF of the first connection confirmation signal or the second connection confirmation signal) in the 1-byte error flag formed in the RAM, the prize ball REQ signal error (prize ball REQ signal) Is turned on or off at incorrect timing) and the first connection confirmation signal and the second connection confirmation signal are both on when the error bit is not set and the BRDY signal from the card unit 50 is not on. When the prize ball REQ signal is turned on, the payout control means inputs the prize ball number signal via the input port. The error bit is a bit in an error flag that is set when it is detected that various errors have occurred.

図39は、主制御通信制御コードの値が0の場合に実行される主制御通信通常処理(ステップS531)を示すフローチャートである。主制御通信通常処理において、払出制御用CPU371は、エラービット(主制御未接続エラービットまたは賞球REQ信号エラービット)がオンしている場合には、以降の処理を実行せずに処理を終了する(ステップS541)。ステップS541では、エラーフラグ中の2つのビットのうち1つでもセットされていたら、エラービットがセットされていると判断する。   FIG. 39 is a flowchart showing main control communication normal processing (step S531) executed when the value of the main control communication control code is 0. 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 payout control CPU 371 ends the processing without executing the subsequent processing. (Step S541). In step S541, if any one of the two bits in the error flag is set, it is determined that the error bit is set.

また、払出制御用CPU371は、BRDY信号がオン状態であれば、以降の処理を実行せずに処理を終了する(ステップS542)。BRDY信号がオン状態であるということは、カードユニット50から球貸し要求が発生していることを意味する。すなわち、球貸し要求が発生しているときには、主基板31の遊技制御手段との通信(賞球払出に関する通信)が進行しない。   If the BRDY signal is on, the payout control CPU 371 ends the process without executing the subsequent processes (step S542). That the BRDY signal is on means that a ball lending request is generated from the card unit 50. That is, when a ball lending request is generated, communication with the game control means of the main board 31 (communication relating to prize ball payout) does not proceed.

ステップS541〜S542の条件が成立せず、第1接続確認信号と第2接続確認信号が共にオン状態である場合には、払出制御用CPU371は、賞球REQ信号がオン状態になっているか否か確認する(ステップS543,S544)。なお、第1接続確認信号と第2接続確認信号が共にオン状態であるということは、電力供給がなされ遊技制御手段において遊技の進行を制御可能な状態であることを意味し、第1接続確認信号と第2接続確認信号の何れかがオフ状態であるということは、電力供給が停止され遊技制御手段において遊技の進行が不能な状態、あるいは信号接続状態の不良などによって主基板31と払出制御基板37との間で信号の伝達が正常にできない状態であることを意味する。   When the conditions of steps S541 to S542 are not satisfied and both the first connection confirmation signal and the second connection confirmation signal are in the on state, the payout control CPU 371 determines whether or not the prize ball REQ signal is in the on state. (Steps S543, S544). The fact that both the first connection confirmation signal and the second connection confirmation signal are in the on state means that power is supplied and the game control means can control the progress of the game. The fact that either the signal or the second connection confirmation signal is in the off state means that the main board 31 and the payout control due to the state where the power supply is stopped and the game control means cannot advance the game, or the signal connection state is defective. This means that the signal cannot be normally transmitted to the substrate 37.

賞球REQ信号がオン状態になっている場合には、払出制御用CPU371は、賞球個数信号が示す賞球数を賞球未払出個数カウンタの内容に加算するとともに(ステップS545)、主制御通信制御タイマに賞球REQ信号オフ監視時間(賞球REQ信号のオン状態が継続され得る最長の期間であってあらかじめ定められている期間:例えばここでは「24」)をセットする処理を行う(ステップS547)。主制御通信制御タイマは、主基板31の遊技制御手段との通信に関わる時間の監視等に使用されるタイマであるが、この段階では、賞球REQ信号をオフするタイミングを監視するための賞球REQ信号オフ監視時間がセットされる。そして、主制御通信制御コードの値を1にして(ステップS548)、処理を終了する。なお、賞球未払出個数カウンタは、不揮発性(この例では電源バックアップされている)のRAM領域に形成されている。   If the prize ball REQ signal is on, the payout control CPU 371 adds the prize ball number indicated by the prize ball number signal to the content of the prize ball unpaid number counter (step S545) and main control. Processing for setting a prize ball REQ signal off monitoring time (a longest period during which the prize ball REQ signal can be kept on for a predetermined period: for example, “24” here) to the communication control timer is performed ( Step S547). The main control communication control timer is a timer used for monitoring the time related to communication with the game control means of the main board 31. At this stage, the main control communication control timer is a prize for monitoring the timing for turning off the prize ball REQ signal. The sphere REQ signal off monitoring time is set. Then, the value of the main control communication control code is set to 1 (step S548), and the process ends. The prize ball unpaid-out number counter is formed in a non-volatile (power-backed up in this example) RAM area.

図40は、主制御通信制御コードの値が1の場合に実行される主制御通信終了処理(ステップS532)を示すフローチャートである。主制御通信中処理において、払出制御用CPU371は、エラービット(主制御未接続エラービットまたは賞球REQ信号エラービット)がオンしている場合には、ステップS567に移行する(ステップS561)。また、第1接続確認信号または第2接続確認信号がオフ状態である場合にもステップS567に移行する(ステップS562)。エラービットがともにオフ状態であって第1および第2接続確認信号が共にオン状態である場合には、賞球REQ信号がオフ状態になったか否かを確認する(ステップS563)。オフ状態になったら、ステップS567に移行する。   FIG. 40 is a flowchart showing main control communication end processing (step S532) executed when the value of the main control communication control code is 1. 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 payout control CPU 371 proceeds to step S567 (step S561). Moreover, also when the 1st connection confirmation signal or the 2nd connection confirmation signal is an OFF state, it transfers to step S567 (step S562). If both error bits are off and the first and second connection confirmation signals are both on, it is confirmed whether or not the prize ball REQ signal is off (step S563). If it is turned off, the process proceeds to step S567.

賞球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, the prize ball REQ signal error bit is set in the error flag, assuming that the prize ball REQ signal is not turned off within the monitoring time (step S566), and the process goes to step S567. Transition.

ステップS567では、主制御通信制御コードの値を0にして、処理を終了する。   In step S567, the value of the main control communication control code is set to 0, and the process ends.

図41は、ステップS756の賞球球貸し制御処理を示すフローチャートである。賞球球貸し制御処理において、払出制御用CPU371は、払出個数カウントスイッチ301の検出信号がオン状態になったことを確認したら(ステップS601)、球貸し中であれば球貸し未払出個数カウンタの値を1減らし(ステップS602,S604)、球貸し中でなければ賞球未払出個数カウンタの値を1減らす(ステップS602,S603)。次に、RAMに形成されている払出制御状態フラグの払出球検知ビットをセットする(ステップS605)。払出球検知ビットは、払出通過待ち処理において、1回の賞球払出処理(最大15個)または1回の球貸し処理において(25個の払出)、払出モータ289を駆動したにもかかわらず遊技球が1個も払出個数カウントスイッチ301を通過しなかったことを検知するために用いられる。その後、払出制御コードの値に応じてステップS610〜S612のいずれかの処理を実行する。   FIG. 41 is a flowchart showing the winning ball lending control process in step S756. In the winning ball lending control process, the payout control CPU 371 confirms that the detection signal of the payout number count switch 301 is turned on (step S601). The value is decremented by 1 (steps S602 and S604), and if the ball is not being lent, the value of the unpaid prize ball counter is decremented by 1 (steps S602 and S603). Next, the payout ball detection bit of the payout control state flag formed in the RAM is set (step S605). The payout ball detection bit is a game regardless of whether the payout motor 289 is driven during one award ball payout process (maximum 15 balls) or one ball lending process (25 payouts) in the payout passing waiting process. This is used to detect that no sphere has passed through the payout number counting switch 301. Thereafter, one of steps S610 to S612 is executed according to the value of the payout control code.

賞球球貸し制御処理において、払出個数カウントスイッチ301の検出信号の確認や未払出個数カウンタの減算処理を行うときには、エラービットのチェックは実行されない。従って、遊技球の払い出しに関わるエラー状態であっても、払出個数カウントスイッチ301によって遊技球の払い出しが検出される毎に、払い出された遊技球が貸し球であれば球貸し未払出個数カウンタの値を1減算し、賞球であれば賞球未払出個数カウンタの値を1減算する処理を実行する。よって、払い出しに関わるエラーが発生しても、未払出の遊技球数を正確に管理することができる。   In the winning ball lending control process, when checking the detection signal of the payout number count switch 301 or subtracting the unpaid number counter, the error bit check is not executed. Therefore, even if an error state relating to payout of game balls is detected, every time a payout of game balls is detected by the payout count switch 301, if the payout game balls are loaned balls, a ball rental unpaid number counter 1 is subtracted, and if it is a prize ball, a process of subtracting 1 from the prize ball unpaid number counter value is executed. Therefore, even if an error related to payout occurs, the number of unpaid game balls can be managed accurately.

図42は、払出制御コードが0の場合に実行される払出開始待ち処理(ステップS610)を示すフローチャートである。払出開始待ち処理において、払出制御用CPU371は、エラービットがセットされていたら、以降の処理を実行しない(ステップS621)。エラーフラグにおけるエラービットには、主制御未接続エラーのビットが含まれている。また、主制御未接続エラーは主基板31からの接続確認信号がオフ状態であるときにセットされる。従って、払出制御手段は、遊技機に対して電力供給が開始された後、接続確認信号がオン状態になったことを条件に、実質的な制御を開始する。接続確認信号がオン状態であるということは、電力供給がなされ遊技制御手段において遊技の進行を制御可能な状態であるので、遊技の進行に応じた賞球の払出制御が実行可能であることを意味する。一方、接続確認信号がオフ状態であるということは、電力供給が停止され遊技制御手段において遊技の進行が不能な状態であるので、遊技の進行に応じた賞球の払出制御が実行不可能であることを意味する。   FIG. 42 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 payout control CPU 371 does not execute the subsequent processes if the error bit is set (step S621). The error bit in the error flag includes a main control unconnected error bit. The main control non-connection error is set when the connection confirmation signal from the main board 31 is in the off state. Accordingly, the payout control means starts substantial control on condition that the connection confirmation signal is turned on after power supply to the gaming machine is started. The fact that the connection confirmation signal is on means that power is supplied and the game control means can control the progress of the game, so that the payout control of the prize ball according to the progress of the game can be executed. means. On the other hand, the fact that the connection confirmation signal is in the off state means that the power supply is stopped and the game control means cannot advance the game, so that the award ball payout control according to the progress of the game cannot be executed. It means that there is.

また、BRDY信号がオン状態でなければ、ステップS631以降の賞球払出のための処理を実行する。BRDY信号がオン状態であって、さらに、球貸し要求信号であるBRQ信号がオン状態になっていたら球貸し動作中フラグをセットする(ステップS623,S624)。そして、球貸し未払出個数カウンタに「25」をセットし(ステップS625)、払出モータ回転回数バッファに「25」をセットする(ステップS626)。   On the other hand, if the BRDY signal is not in the ON state, the process 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).

払出モータ回転回数バッファは、払出モータ制御処理(ステップS753)において参照される。すなわち、払出モータ制御処理では、払出モータ回転回数バッファにセットされた値に対応した回転数分だけ払出モータ289を回転させる制御が実行される。   The payout motor rotation frequency buffer is referred to in the payout motor control process (step S753). That is, in the payout motor control process, control is performed to rotate the payout motor 289 by the number of rotations corresponding to the value set in the payout motor rotation frequency buffer.

その後、払出制御用CPU371は、払出モータ制御処理で実行される処理を選択するための払出モータ制御コードに、払出モータ起動準備処理(ステップS522)に応じた値(具体的は「1」)をセットし(ステップS627)、払出制御コードの値を1にして(ステップS628)、処理を終了する。   Thereafter, the payout control CPU 371 sets a value (specifically “1”) corresponding to the payout motor activation preparation process (step S522) to the payout motor control code for selecting the process executed in the payout motor control process. It is set (step S627), the value of the payout control code is set to 1 (step S628), and the process is terminated.

ステップS631では、払出制御用CPU371は、賞球未払出個数カウンタの値が0であるか否かを確認する(ステップS631)。0であれば処理を終了する。賞球未払出個数カウンタには、主制御通信通常処理におけるステップS546において、すなわち、主基板31の遊技制御手段から賞球REQ信号を受けたときに、0でない値(賞球個数信号が示す数)が加算されている。賞球未払出個数カウンタの値が0でない場合には、15以上であるか否か確認する(ステップS632)。15未満であれば、払出モータ回転回数バッファに賞球未払出個数カウンタの値をセットし(ステップS633)、15以上であれば、払出モータ回転回数バッファに「15」をセットする。そして、賞球動作中フラグをセットし(ステップS635)、ステップS627に移行する。   In step S631, the payout control CPU 371 checks whether or not the value of the award ball non-payout counter is 0 (step S631). If 0, the process ends. The award ball unpaid-out number counter has a non-zero value (the number indicated by the award ball number signal) when the prize ball REQ signal is received from the game control means of the main board 31 in step S546 in the main control communication normal process. ) Is added. If the value of the award ball unpaid number counter is not 0, it is confirmed whether it is 15 or more (step S632). If it is less than 15, the value of the award ball unpaid number counter is set in the payout motor rotation count buffer (step S633), and if it is 15 or more, “15” is set in the payout motor rotation count buffer. Then, a winning ball moving flag is set (step S635), and the process proceeds to step S627.

図43は、払出制御コードが1の場合に実行される払出モータ停止待ち処理(ステップS611)を示すフローチャートである。払出モータ停止待ち処理において、払出制御用CPU371は、払出動作が終了したか否か確認する(ステップS641)。払出制御用CPU371は、例えば、払出モータ制御処理における払出モータブレーキ処理(ステップS525)が終了するときにその旨のフラグをセットし、ステップS641においてそのフラグを確認することによって払出動作が終了したか否かを確認することができる。   FIG. 43 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 payout control CPU 371 checks whether or not the payout operation is completed (step S641). For example, the payout control CPU 371 sets a flag to that effect when the payout motor brake process (step S525) in the payout motor control process ends, and whether the payout operation is completed by checking the flag in step S641. You can check whether or not.

払出動作が終了した場合には、払出制御用CPU371は、払出制御監視タイマに払出通過監視時間をセットする(ステップS642)。払出通過監視時間は、最後の払出球が払出モータ289によって払い出されてから払出個数カウントスイッチ301を通過するまでの時間に、余裕を持たせた時間である。そして、払出制御コードの値を2にして(ステップS643)、処理を終了する。   When the payout operation is completed, the payout control CPU 371 sets the payout passing monitoring time in the payout control monitoring timer (step S642). The payout passing monitoring time is a time that has a margin in the time from when the last payout ball is paid out by the payout motor 289 until it passes through the payout number count switch 301. Then, the value of the payout control code is set to 2 (step S643), and the process ends.

図44〜図46は、払出制御コードの値が2の場合に実行される払出通過待ち処理(ステップS612)を示すフローチャートである。払出通過待ち処理では、賞球払出が行われているときには、賞球未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。賞球未払出個数カウンタの値が0になっていない場合には、エラー状態でなければ、1個の遊技球の再払出動作を、2回を上限として試みる。再払出動作において払出個数カウントスイッチ301によって遊技球が実際に払い出されたことが検出されたら正常に払出が完了したと判定される。なお、この実施の形態では、1回の賞球払出動作で払い出される遊技球数は最大15個であり、また、賞球払出中に賞球個数信号を受信したら賞球未払出個数カウンタの値が増加するので、正常に払出が完了した場合でも、賞球未払出個数カウンタの値が0になっていないことがある。   44 to 46 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 a 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 zero. If the value of the award ball unpaid-out counter is not 0, if it is not in an error state, a re-payout operation of one game ball is tried up to 2 times. In the re-payout operation, when it is detected by the payout number count switch 301 that the game ball is actually paid out, it is determined that the payout has been completed normally. In this embodiment, the maximum number of game balls to be paid out in one prize ball payout operation is 15, and if the prize ball number signal is received during the prize ball payout, the value of the prize ball unpaid number counter is received. Therefore, even when the payout is completed normally, the value of the award ball non-payout number counter may not be 0.

また、球貸し払出が行われているときには、球貸し未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。球貸し未払出個数カウンタの値が0になっていない場合には、エラー状態でなければ、1個の遊技球または球貸し残数(球貸し未払出個数カウンタの値に相当)の再払出動作を試みる。なお、この実施の形態では、1回の球貸し払出動作で払い出される遊技球数は25個(固定値)であり、25個の遊技球が払い出されるように払出モータ289を回転させたのであるから、球貸し未払出個数カウンタの値が0になっていない場合には、正常に払出が完了していないことになる。   In addition, when the ball lending is being paid out, it is determined that the payout has been completed normally if the value of the unlending ball lending number counter is 0. If the value of the ball lending unpaid number counter is not 0, and if it is not in an error state, a re-payout operation of one game ball or the remaining number of ball lending (corresponding to the value of the ball lending unpaid number counter) Try. 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 payout motor 289 is rotated so that 25 game balls are paid out. Therefore, when the value of the unpaid ball lending counter is not 0, the payout has not been completed normally.

払出通過待ち処理において、払出制御用CPU371は、まず、払出制御タイマの値を確認し、その値が0になっていればステップS653に移行する(ステップS650)。払出制御タイマの値が0でなければ、払出制御タイマの値を−1する(ステップS651)。そして、払出制御タイマの値が0になっていなければ(ステップS652)、すなわち払出制御タイマがタイムアウトしていなければ処理を終了する。なお、ステップS650の処理は、後述する遊技球払出のリトライ動作が開始されたときのことを考慮した処理である。後述するステップS807の処理が実行された場合には、ステップS650からS653に移行するルートを経てリトライ動作が開始される。   In the payout waiting process, the payout control CPU 371 first checks the value of the payout control timer, and if the value is 0, the process proceeds to step S653 (step S650). If the value of the payout control timer is not 0, the value of the payout control timer is decremented by 1 (step S651). If the value of the payout control timer is not 0 (step S652), that is, if the payout control timer has not timed out, the process is terminated. Note that the process of step S650 is a process that takes into account when a game ball payout retry operation to be described later is started. When the process of step S807 described later is executed, a retry operation is started through a route that moves from step S650 to S653.

払出制御タイマがタイムアウトしていれば(ステップS652)、球貸し払出処理(球貸し動作)を実行していたか否か確認する(ステップS653)。球貸し動作を実行していたか否かは、RAMに形成されている払出制御状態フラグにおける球貸し動作中ビットがセットされているか否かによって確認される。球貸し動作を実行していない場合、すなわち、賞球払出処理(賞球動作)を実行していた場合には、払出制御用CPU371は、賞球未払出個数カウンタの値を確認する(ステップS654)。賞球未払出個数カウンタの値が0になっている場合には、正常に賞球払出処理が完了したとして、払出制御状態フラグにおける払出球検知ビット、再払出動作中1ビット、再払出動作中2ビット、賞球動作中フラグおよび球貸し動作中ビットをリセットし(ステップS655)、払出制御コードを0にして(ステップS656)、処理を終了する、なお、払出球検知ビットは、払出個数カウントスイッチ301がオンしたときにセットされるビットであり、払出動作中に払出個数カウントスイッチ301が少なくとも1個の遊技球を検出したことを示すビットである。また、再払出動作中1ビットおよび再払出動作中2ビットは、2回の再払出動作からなる再払出処理を実行する際に用いられる制御ビットである。   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 set 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 payout control CPU 371 checks the value of the award ball unpaid number counter (step S654). ). When the value of the winning ball unpaid number counter is 0, it is determined that the winning ball payout processing has been completed normally, and the payout ball detection bit in the payout control state flag, 1 bit during re-payout operation, and during re-payout operation 2 bits, the winning ball operating flag and the ball lending operating bit are reset (step S655), the payout control code is set to 0 (step S656), and the processing is terminated. This bit is set when the switch 301 is turned on, and indicates that the payout number counting switch 301 has detected at least one game ball during the payout operation. Further, 1 bit during the re-payout operation and 2 bits during the re-payout operation are control bits used when executing a re-payout process including two re-payout operations.

払出制御用CPU371は、賞球未払出個数カウンタの値が0になっていない場合には、エラーフラグ(具体的には、払出スイッチ異常エラー1ビット、払出スイッチ異常エラー2ビットおよび払出ケースエラービットのうちのいずれか1ビットまたは複数ビット)がセットされていないことを条件として(ステップS658)、また、払出球検知ビットがセットされていないことを条件として(ステップS661)、再払出動作を実行する。なお、エラーフラグがセットされている場合には、再払出動作を実行しない。   The payout control CPU 371 determines that an error flag (specifically, a payout switch error error 1 bit, a payout switch error error 2 bit, and a payout case error bit when the value of the award ball unpaid number counter is not 0. (One or a plurality of bits) is not set (step S658), and if the payout ball detection bit is not set (step S661), the re-payout operation is executed. To do. If the error flag is set, the re-payout operation is not executed.

上述したように、この実施の形態では、正常に払出が完了した場合でも、賞球未払出個数カウンタの値が0になっていないことがある。そこで、払出球検知ビットがセットされていれば、すなわち払出個数カウントスイッチ301が賞球払出処理中に少なくとも1個の遊技球の払出を検出していたら、正常に賞球払出処理が完了したとして、ステップS655に移行する。なお、例えば、1回の賞球払出処理で15個の遊技球を払い出すべきところ、実際には14個の遊技球しか払い出されなかった場合(払出個数カウントスイッチ301が14個の遊技球しか検出しなかった場合)にも、払出球検知ビットがセットされるので正常に賞球払出処理が完了したとみなされるが、その場合には、賞球未払出個数カウンタの値は14しか減算されていないはずであり、不足分は次回の賞球払出処理で払い出されるので、遊技者に不利益を与えることはない。   As described above, in this embodiment, even when the payout is normally completed, the value of the award ball non-payout number counter may not be 0. Therefore, if the payout ball detection bit is set, that is, if the payout number count switch 301 detects the payout of at least one game ball during the prize ball payout process, it is assumed that the prize ball payout process is normally completed. The process proceeds to step S655. In addition, for example, when 15 game balls should be paid out in one prize ball payout process, when only 14 game balls are actually paid out (the payout number count switch 301 has 14 game balls). In the case where it is detected only), the payout ball detection bit is set, so that it is considered that the award ball payout processing is normally completed. It should not have been done, and the shortage will be paid out in the next prize ball payout process, so there will be no disadvantage to the player.

再払出処理を実行するために、払出制御用CPU371は、まず、再払出動作中2ビットがセットされているか否か確認する(ステップS662)。セットされていなければ、再払出動作中1ビットがセットされているか否か確認する(ステップS663)。再払出動作中1ビットもセットされていなければ、初回の再払出動作を実行するために、再払出動作個数として1をセットし(ステップS664)、再払出動作中1ビットをセットし(ステップS665)、払出モータ回転回数バッファに再払出動作個数または球貸し未払出数個数カウンタの値をセットする(ステップS666)。払出モータ回転回数バッファは、払出モータ制御処理(ステップS753)において参照される。すなわち、払出モータ制御処理では、払出モータ回転回数バッファにセットされた値に対応した回転数分だけ払出モータ289を回転させる制御が実行される。なお、ステップS666において、球貸し未払出数個数カウンタの値も取り扱われるのは、球貸し払出処理における再払出処理でもステップS666が用いられるからである。すなわち、払出制御用CPU371は、ステップS666において、賞球払出処理における再払出処理では再払出動作個数をセットし、球貸し払出処理における再払出処理では球貸し未払出数個数カウンタの値をセットする。その後、払出制御コードを1にして(ステップS667)、処理を終了する。   In order to execute the re-payout process, the pay-out control CPU 371 first checks whether or not 2 bits during re-payout operation are set (step S662). If not set, it is confirmed whether or not 1 bit is set during the re-payout operation (step S663). If 1 bit is not set during the re-payout operation, 1 is set as the number of re-payout operations to execute the first re-payout operation (step S664), and 1 bit is set during the re-payout operation (step S665). ) The value of the re-payout operation number or ball lending unpaid-out number counter is set in the payout motor rotation number buffer (step S666). The payout motor rotation frequency buffer is referred to in the payout motor control process (step S753). That is, in the payout motor control process, control is performed to rotate the payout motor 289 by the number of rotations corresponding to the value set in the payout motor rotation frequency buffer. In step S666, the value of the unpaid ball lending number counter is also handled because step S666 is also used in the re-payout process in the ball lending payout process. That is, in step S666, the payout control CPU 371 sets the re-payout operation number in the re-payout process in the prize ball payout process, and sets the value of the ball lending unpaid-out number counter in the re-payout process in the ball lending payout process. . Thereafter, the payout control code is set to 1 (step S667), and the process is terminated.

ステップS663において、再払出動作中1ビットがセットされていることを確認したら、払出制御用CPU371は、2回目の再払出を実行するために、再払出動作個数として1をセットし(ステップS668)、再払出動作中1ビットをリセットし(ステップS669)、再払出動作中2ビットをセットする(ステップS670)。そして、ステップS666に移行する。   When it is confirmed in step S663 that 1 bit is being set during the re-payout operation, the payout control CPU 371 sets 1 as the re-payout operation number in order to execute the second re-payout (step S668). Then, 1 bit is reset during the re-payout operation (step S669), and 2 bits are set during the re-payout operation (step S670). Then, control goes to a step S666.

ステップS662において、再払出動作中2ビットがセットされていることを確認したら、払出制御用CPU371は、2回の再払出処理を実行しても遊技球が払い出されなかった(払出個数カウントスイッチ301が遊技球を検出しなかった)として、エラーフラグにおける払出ケースエラービットをセットする(ステップS672)。その際に、再払出動作中2ビットをリセットしておく(ステップS671)。そして、処理を終了する。   When it is confirmed in step S662 that 2 bits are set during the re-payout operation, the payout control CPU 371 does not pay out the game ball even if the re-payout process is executed twice (payout number count switch). 301 does not detect a game ball), the payout case error bit in the error flag is set (step S672). At that time, 2 bits during the re-payout operation are reset (step S671). Then, the process ends.

以上のように、再払出処理(補正払出処理)において2回の再払出動作を行っても遊技球が1個も払い出されない場合には、遊技球の払出動作不良として、払出個数カウントスイッチ未通過エラービット(払出ケースエラービット)がセットされる。   As described above, if no game balls are paid out even if two re-payout operations are performed in the re-payout process (corrected payout process), the payout number count switch has not been set as a game ball payout operation failure. A passing error bit (payout case error bit) is set.

従って、この実施の形態では、払出制御手段における景品遊技媒体払出制御手段は、払出検出手段としての払出個数カウントスイッチ301からの検出信号にもとづいて、景品遊技媒体の払い出しが行われなかったことを検出したときに、あらかじめ決められた所定回(この例では2回)を限度として、払出手段に1個の景品遊技媒体の払い出しを行わせるように制御を行う。なお、この実施の形態では、景品遊技媒体を払い出すためのリトライ動作を2回行っても景品遊技媒体の払い出しが行われなかった場合には、払出ケースエラービットをセットしてエラー発生中状態になるが(ステップS672)、景品遊技媒体の払い出しが行われなかったことを初めて検知したときに払出ケースエラービットをセットしてもよい。なお、「リトライ動作(あるいは「リトライ」、「リトライ動作処理」)」とは、所定数の遊技球の払い出しを行うための通常の払出処理を実行したのにもかかわらず、実際の払い出し数が少ない場合に実行させる動作であって、通常の払出処理とは別に、未払出の遊技球を払い出すために払出処理を再度実行させるための動作を意味する。   Therefore, in this embodiment, the prize game medium payout control means in the payout control means indicates that the prize game medium has not been paid out based on the detection signal from the payout number count switch 301 as the payout detection means. When it is detected, control is performed so that the payout means pays out one prize game medium up to a predetermined number of times (in this example, twice) as a limit. In this embodiment, if the prize game medium is not paid out even if the retry operation for paying out the prize game medium is performed twice, the payout case error bit is set and an error is being generated. (Step S672), the payout case error bit may be set when it is first detected that the premium game medium has not been paid out. The “retry operation (or“ retry ”,“ retry operation processing ”)” means that the actual payout number is the same as the normal payout process for executing the payout of a predetermined number of game balls. This is an operation to be executed when the number is small, and means an operation for executing the payout process again in order to pay out an unpaid game ball separately from the normal payout process.

賞球球貸し制御処理において、払出動作(1回の賞球払出または1回の球貸し)を行うか否か判定するためにエラービットがチェックされるのは、図42に示された払出開始待ち処理においてのみである。図43に示された払出モータ停止待ち処理および図44等に示された払出通過待ち処理では、エラービットはチェックされない。なお、払出通過待ち処理におけるステップS658等でもエラービットがチェックされているが、そのチェックは再払出動作を行うか否かを判断するためであって、払出動作(1回の賞球払出または1回の球貸し)を開始するか否か判定するためではない。従って、ステップS626、S633またはステップS634の処理が行われて遊技球の払出処理が開始された後では、エラーが発生しても払出処理は中断されない。すなわち、エラーが発生すると、遊技球の払出処理は、切りのよい時点(1回の賞球払出または1回の球貸しが終了した時点)まで継続される。なお、ステップS621でチェックされるエラーフラグにおけるエラービットの中には、主基板31からの接続確認信号がオフ状態になったことを示すエラービットが含まれている。よって、接続確認信号がオフ状態になったときにも、遊技球の払出処理は、切りのよい時点で停止される。   In the prize ball lending control process, the error bit is checked to determine whether or not to perform a payout operation (one prize 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. 43 and the payout passing wait process shown in FIG. 44 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 to perform a payout operation again, and is a payout operation (single prize ball payout or 1 This is not to determine whether or not to start ball lending. 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 main board 31 has been turned off. Therefore, even when the connection confirmation signal is turned off, the game ball payout process is stopped at a time when it is best to turn it off.

ステップS653で球貸し払出処理(球貸し動作)を実行していたことを確認すると、払出制御用CPU371は、球貸し未払出個数カウンタの値が0になっているか否か確認する(ステップS657)。0になっていれば、正常に球貸し払出処理が完了したとしてステップS655に移行する。   Upon confirming that the ball lending / dispensing process (ball lending operation) has been executed in step S653, the payout control CPU 371 confirms whether or not the value of the unlapped ball lending number counter is 0 (step S657). . If it is 0, it is determined that the ball lending / dispensing process is normally completed, and the process proceeds to step S655.

球貸し未払出個数カウンタの値が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 abnormal error 1 bit, the payout switch abnormal error 2 bit, and the payout case error bit) On the condition that (multiple bits) is not set (step S675), the re-payout process is executed. If the error flag is set, the re-payout process is not executed.

再払出処理を実行するために、払出制御用CPU371は、まず、再払出動作中2ビットがセットされているか否か確認する(ステップS676)。セットされていなければ、再払出動作中1ビットがセットされているか否か確認する(ステップS677)。再払出動作中1ビットもセットされていなければ、初回の再払出動作を実行するために、再払出動作個数として1をセットし(ステップS678)、再払出動作中1ビットをセットし(ステップS679)、さらに払出球検知ビットをリセットした後(ステップS680)、ステップS666に移行する。   In order to execute the re-payout process, the pay-out control CPU 371 first checks whether or not 2 bits during re-payout operation are set (step S676). If not set, it is confirmed whether or not 1 bit is set during the re-payout operation (step S677). If 1 bit is not set during re-payout operation, 1 is set as the number of re-payout operations to execute the first re-payout operation (step S678), and 1 bit is set during re-payout operation (step S679). ) After further resetting the payout ball detection bit (step S680), the process proceeds to step S666.

ステップS677において、再払出動作中1ビットがセットされていることを確認したら、払出制御用CPU371は、再払出動作を再度実行するための処理を行う。具体的には、再払出動作中1ビットをリセットする(ステップS681)。そして、払出球検知ビットがセットされていたら、すなわち、最初の再払出動作で遊技球が払い出されていたら、ステップS683に移行する。払出球検知ビットがセットされていなかったら、2回目の再払出動作を実行するためにステップS684に移行する。   In step S677, when it is confirmed that 1 bit is set during the re-payout operation, the payout control CPU 371 performs a process for re-executing the re-payout operation. Specifically, 1 bit is reset during the re-payout operation (step S681). If the payout ball detection bit is set, that is, if the game ball is paid out in the first re-payout operation, the process proceeds to step S683. If the payout ball detection bit is not set, the process proceeds to step S684 to execute the second re-payout operation.

ステップS683では払出球検知ビットをリセットし、その後、ステップS666に移行する。従って、この場合には、再払出動作中1ビットがセットされたままになっているので、再度、初回(最初)の再払出動作が行われる。ステップS684では、再払出動作個数として1をセットし(ステップS684)、再払出動作中2ビットをセットし(ステップS685)、ステップS666に移行する。   In step S683, the payout ball detection bit is reset, and then the process proceeds to step S666. Therefore, in this case, since 1 bit remains set during the re-payout operation, the first (first) re-payout operation is performed again. In step S684, 1 is set as the number of re-payout operations (step S684), 2 bits during re-payout operation are set (step S685), and the process proceeds to step S666.

ステップS676において、再払出動作中2ビットがセットされていることを確認したら、払出制御用CPU371は、再払出動作中2ビットをリセットし(ステップS686)、払出球検知ビットがセットされていたら、すなわち、再払出動作で遊技球が払い出されていたらステップS683に移行して残りの未払出を分を解消することを試みる。払出球検知ビットがセットされていなかったら、2回の再払出処理を実行しても遊技球が払い出されなかった(払出個数カウントスイッチ301が遊技球を検出しなかった)として、エラーフラグにおける払出ケースエラービットをセットする(ステップS688)。そして、処理を終了する。   In step S676, when it is confirmed that the 2 bits during re-payout operation are set, the payout control CPU 371 resets 2 bits during the re-payout operation (step S686), and if the payout ball detection bit is set, That is, if the game ball is paid out by the re-payout operation, the process proceeds to step S683 to try to eliminate the remaining unpaid out. If the payout ball detection bit is not set, it is determined that the game ball has not been paid out even if the re-payout process is executed twice (the payout number count switch 301 has not detected a game ball). A payout case error bit is set (step S688). Then, the process ends.

以上のように、球貸し処理に係る再払出処理(補正払出処理)において連続して2回の再払出動作を行っても遊技球が1個も払い出されない場合には、遊技球の払出動作不良として、払出個数カウントスイッチ未通過エラービット(払出ケースエラービット)がセットされる。   As described above, if one game ball is not paid out even if two re-payout operations are continuously performed in the re-payout process (corrected payout process) related to the ball lending process, a game ball payout operation is performed. As a failure, a payout count switch non-passing error bit (payout case error bit) is set.

次に、エラー処理について説明する。図47は、エラーの種類とエラー表示用LED374の表示との関係等を示す説明図である。図47に示すように、主基板31からの第1接続確認信号または第2接続確認信号がオフ状態になった場合には、払出制御用CPU371は、主制御未接続エラーとして、エラー表示用LED374に「1」を表示する制御を行う。従って、本例では、第1接続確認信号または第2接続確認信号がオフ状態となると、エラー表示用LED374に「1」が表示されることになる。   Next, error processing will be described. FIG. 47 is an explanatory diagram showing the relationship between the type of error and the display of the LED 374 for error display. As shown in FIG. 47, when the first connection confirmation signal or the second connection confirmation signal from the main board 31 is turned off, the payout control CPU 371 indicates an error display LED 374 as a main control non-connection error. Control is performed to display “1”. Therefore, in this example, when the first connection confirmation signal or the second connection confirmation signal is turned off, “1” is displayed on the error display LED 374.

払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分において球詰まりが発生した場合には、払出スイッチ異常検知エラー1として、エラー表示用LED374に「2」を表示する制御を行う。なお、払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分において球詰まりが発生したことは、払出個数カウントスイッチ301の検出信号がオフ状態にならなかったことによって判定される。   When the disconnection of the payout count switch 301 or a ball clogging occurs at the payout count switch 301, the error display LED 374 is controlled to display “2” as the payout switch abnormality detection error 1. The disconnection of the payout number count switch 301 or the occurrence of ball clogging in the payout number count switch 301 is determined by the detection signal of the payout number count switch 301 not being turned off.

遊技球の払出動作中でないにも関わらず払出個数カウントスイッチ301の検出信号がオン状態になった場合には、払出スイッチ異常検知エラー2として、エラー表示用LED374に「3」を表示する制御を行う。払出モータ289の回転異常または遊技球が払い出されたにも関わらず払出個数カウントスイッチ301の検出信号がオン状態にならない場合には、払出ケースエラーとして、エラー表示用LED374に「4」を表示する制御を行う。払出個数カウントスイッチ301の検出信号がオン状態にならないことの具体的な検出方法は既に説明したとおりである。不正なタイミングで賞球REQ信号がオン状態になった場合、または不正なタイミングで賞球REQ信号がオフ状態になった場合には、賞球REQ信号エラーとして、エラー表示用LED374に「5」を表示する制御を行う。不正なタイミングで賞球REQ信号がオン状態またはオフ状態になったことの具体的な検出方法は既に説明したとおりである。   When the detection signal of the payout number count switch 301 is turned on even though the game ball is not paying out, a control for displaying “3” on the error display LED 374 as a payout switch abnormality detection error 2 is performed. Do. If the detection signal of the payout count switch 301 does not turn on despite the rotation abnormality of the payout motor 289 or the game ball being paid out, “4” is displayed on the error display LED 374 as a payout case error. Control. The specific method for detecting that the detection signal of the payout number count switch 301 is not turned on is as described above. When the prize ball REQ signal is turned on at an improper timing or when the prize ball REQ signal is turned off at an improper timing, “5” is displayed in the error display LED 374 as a prize ball REQ signal error. Control to display. A specific method for detecting that the prize ball REQ signal is turned on or off at an incorrect timing is as described above.

また、下皿満タン状態すなわち満タンスイッチ48がオン状態になった場合には、満タンエラーとして、エラー表示用LED374に「6」を表示する制御を行う。補給球の不足状態すなわち球切れスイッチ187がオン状態になった場合には、球切れエラーとして、エラー表示用LED374に「7」を表示する制御を行う。   In addition, when the lower pan is full, that is, when the full switch 48 is turned on, control is performed to display “6” on the error display LED 374 as a full error. When the supply ball is insufficient, that is, when the ball break switch 187 is turned on, control is performed to display “7” on the error display LED 374 as a ball break error.

さらに、カードユニット50からのVL信号がオフ状態になった場合には、プリペイドカードユニット未接続エラーとして、エラー表示用LED374に「8」を表示する制御を行う。不正なタイミングでカードユニット50と通信がなされた場合には、プリペイドカードユニット通信エラーとして、エラー表示用LED374に「9」を表示する制御を行う。なお、プリペイドカードユニット通信エラーは、プリペイドカードユニット制御処理(ステップS754)において検出される。   Further, when the VL signal from the card unit 50 is turned off, control is performed to display “8” on the error display LED 374 as a prepaid card unit unconnected error. When communication with the card unit 50 is performed at an improper timing, control is performed to display “9” on the error display LED 374 as a prepaid card unit communication error. The prepaid card unit communication error is detected in the prepaid card unit control process (step S754).

以上のエラーのうち、払出スイッチ異常検知エラー2、払出ケースエラーまたは賞球REQ信号エラーが発生した後、エラー解除スイッチ375が操作されエラー解除スイッチ375から操作信号が出力されたら(オン状態になったら)、払出制御手段は、エラーが発生する前の状態に復帰する。   Among the above errors, after the occurrence of a payout switch abnormality detection error 2, a payout case error or a prize ball REQ signal error, the error release switch 375 is operated and an operation signal is output from the error release switch 375 (becomes turned on). The payout control means returns to the state before the error occurred.

図48は、ステップS757のエラー処理を示すフローチャートである。エラー処理において、払出制御用CPU371は、エラーフラグをチェックし、そのうちのセットされているビットが、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのみ(3つのうちのいずれかのビットのみ、もしくは3つのうちの2ビットのみ、またはそれら3ビットのみ)であるか否か確認する(ステップS801)。セットされているビットがそれらのみである場合には、エラー解除スイッチ375から操作信号がオン状態になったか否か確認する(ステップS802)。操作信号がオン状態になったら、エラー復帰時間をエラー復帰前タイマにセットする(ステップS803)。エラー復帰時間は、エラー解除スイッチ375が操作されてから、実際にエラー状態から通常状態に復帰するまでの時間である。   FIG. 48 is a flowchart showing the error processing in step S757. In the error processing, the payout control CPU 371 checks the error flag, and the set bits are only payout switch abnormality detection error 2, payout case error and prize ball REQ signal error (any one of the three). It is confirmed whether it is only a bit, or only two bits out of three, or only these three bits (step S801). If only those bits are set, it is confirmed whether or not the operation signal is turned on from the error release switch 375 (step S802). When the operation signal is turned on, the error recovery time is set in the pre-error recovery timer (step S803). The error recovery time is the time from when the error release switch 375 is operated until the actual return from the error state to the normal state.

エラー解除スイッチ375から操作信号がオン状態でない場合には、エラー復帰前タイマの値を確認する(ステップS804)。エラー復帰前タイマの値が0であれば、すなわち、エラー復帰前タイマがセットされていなければ、ステップS808に移行する。エラー復帰前タイマがセットされていれば、エラー復帰前タイマの値を−1し(ステップS805)、エラー復帰前タイマの値が0になったら(ステップS806)、エラーフラグのうちの、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのビットをリセットし(ステップS807)、ステップS808に移行する。   If the operation signal from the error release switch 375 is not on, the value of the timer before error recovery is confirmed (step S804). If the value of the timer before error recovery is 0, that is, if the timer before error recovery is not set, the process proceeds to step S808. If the pre-error recovery timer is set, the value of the pre-error recovery timer is decremented by -1 (step S805). If the pre-error recovery timer value becomes 0 (step S806), the payout switch of the error flag is set. The bits of the abnormality detection error 2, the payout case error and the prize ball REQ signal error are reset (step S807), and the process proceeds to step S808.

なお、ステップS807の処理が実行されるときに、払出スイッチ異常検知エラー2、払出ケースエラーおよび賞球REQ信号エラーのビットのうちには、セット状態ではないエラービットがある場合もあるが、セット状態にないエラービットをリセットしても何ら問題はない。以上のように、この実施の形態では、払出スイッチ異常検知エラー2、払出ケースエラーまたは賞球REQ信号エラーのビットをセットする原因になったエラー(図47参照)が発生した場合には、エラー解除スイッチ375が押下されることによってエラー解除される。   When the processing of step S807 is executed, there may be an error bit that is not set among the bits of the payout switch abnormality detection error 2, the payout case error, and the prize ball REQ signal error. There is no problem resetting error bits that are not in the state. As described above, in this embodiment, when an error (see FIG. 47) that causes the setting of the payout switch abnormality detection error 2, the payout case error, or the winning ball REQ signal error bit occurs, an error occurs. The error is released when the release switch 375 is pressed.

ステップS807の処理が実行されて払出ケースエラービットがリセットされた場合には、払出制御コードが「2」(図44〜図46に示す払出通過待ち処理の実行に対応)であって、賞球未払出個数カウンタの値または球貸し未払出個数カウンタの値が0でないときには、遊技球払出のリトライ動作が開始される。つまり、次にステップS756の賞球球貸し制御処理が実行されるときにステップS612の払出通過待ち処理が実行されると、再び、再払出処理が行われる。例えば、賞球払出処理が行われていた場合には、賞球未払出個数カウンタの値が0でないときには、ステップS654からステップS659に移行し、ステップS659においてエラービットがリセット状態であることが確認されるので、ステップS662以降の再払出処理を開始するための処理が再度実行され、再払出処理が実行される。なお、エラー解除スイッチ375が押下されることによってリセットされた払出ケースエラービットに関して、そのビットがセットされたときには(ステップS672が実行されたとき)、払出制御タイマは既にタイムアップしている。従って、ステップS807の処理が実行されて払出ケースエラービットがリセットされた場合には、次に払出通過待ち処理が実行されるときには、ステップS652の判断において払出制御タイマ=0と判定される。また、払出ケースエラービットがセットされたときには払出球検知ビットは0である(ステップS661の判断で払出球検知ビットは0でないとステップS672が実行されないので)。従って、ステップ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. 44 to 46), 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 S756 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 error release switch 375, when the bit is set (when step S672 is executed), the payout control timer has already expired. Therefore, when the process in step S807 is executed and the payout case error bit is reset, the payout control timer = 0 is determined in the determination in step S652 when the payout passage waiting process is executed next. Further, when the payout case error bit is set, the payout ball detection bit is 0 (since step S672 is not executed unless the payout ball detection bit is 0 according to the determination in step S661). Therefore, step S662 is always executed whenever it is confirmed in step S659 that the error bit is in the reset state. That is, the re-payout process is always executed.

以上のように、払出制御手段は、球払出装置97が遊技球の払い出しを行ったにもかかわらず払出個数カウントスイッチ301が1個も遊技球を検出しなかったときには遊技球を払い出すためのリトライ動作をあらかじめ決められた所定回(例えば2回)を限度として球払出装置97に実行させる補正払出制御を行った後、払出個数カウントスイッチ301が1個も遊技球を検出しなかったことが検出されたときには(図45のステップS661以降を参照)、払い出しに関わる制御状態をエラー状態に移行させ、エラー状態においてエラー解除スイッチ375からエラー解除信号が出力されたことを条件に再度補正払出制御を行わせる補正払出制御再起動処理を実行する。   As described above, the payout control means is used to pay out a game ball when the payout number count switch 301 detects no game ball even though the ball payout device 97 pays out a game ball. After performing the correct payout control for causing the ball payout device 97 to execute the retry operation for a predetermined number of times (for example, twice) as a limit, the payout number count switch 301 has detected no game balls. When it is detected (see step S661 and after in FIG. 45), the control state related to the payout is shifted to an error state, and corrected payout control is performed again on condition that an error release signal is output from the error release switch 375 in the error state. A correction payout control restart process for executing

さらに、エラー状態における再払出処理の実行中(具体的には払出ケースエラーをセットする前の再払出処理中およびエラー解除スイッチ375押下後の再払出処理中)でも、図41に示すステップS601〜S604の処理は実行されている。すなわち、払い出しに関わるエラーが生じているときでも、遊技球が払出個数カウントスイッチ301を通過すれば、賞球未払出個数カウンタや球貸し未払出個数カウンタの値が減算される。従って、エラー状態から復帰したときの賞球未払出個数カウンタや球貸し未払出個数カウンタの値は、実際に払い出された遊技球数を反映した値になっている。すなわち、払い出しに関わるエラーが発生しても、実際に払い出した遊技球数を正確に管理することができる。   Further, even during re-payout processing in an error state (specifically, during re-payout processing before setting a payout case error and during re-payout processing after the error release switch 375 is pressed), steps S601 to S601 shown in FIG. The process of S604 is being executed. That is, even when an error relating to payout occurs, if the game ball passes the payout number count switch 301, the value of the award ball unpaid number counter or the ball lending unpaid number counter is subtracted. Therefore, the value of the award ball unpaid number counter or the ball lending unpaid number counter when returning from the error state is a value reflecting the number of game balls actually paid out. That is, even if an error related to payout occurs, the number of game balls actually paid out can be accurately managed.

また、図44〜図46に示された払出通過待ち処理において、再払出処理が実行された結果、遊技球が払い出されたことが確認されたときでも、払出ケースエラーのビットはリセットされない。払出ケースエラーのビットがリセットされるのは、あくまでも、エラー解除スイッチ375が操作されたとき(具体的は、操作後エラー復帰時間が経過したとき)である(ステップS802,S807)。すなわち、遊技球が払出個数カウントスイッチ301を通過したこと等にもとづいて自動的に払出ケースエラー(払出不足エラー)の状態が解除されるということはなく、人為的な操作を経ないと払出ケースエラーは解除されない。従って、遊技店員等は、確実に払出不足が発生したことを認識することができる。   Also, in the payout passing waiting process shown in FIGS. 44 to 46, 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 error release switch 375 is operated (specifically, when an error return time after operation has elapsed) (steps S802 and S807). That is, the state of the payout case error (payout shortage error) is not automatically canceled based on the fact that the game ball has passed the payout number count switch 301, etc. The error is not cleared. Therefore, the game store clerk and the like can surely recognize that a shortage of payout has occurred.

エラー解除スイッチ375が操作されたことによってハードウェア的にリセット(払出制御用CPU371に対するリセット)がかかるように構成されている場合には、エラー解除スイッチ375が操作されたことによって例えば賞球未払出個数カウンタの値もクリアされてしまう。しかし、この実施の形態では、払出制御手段が、エラー解除スイッチ375が操作されたことによって再払出動作を再び行うように構成されているので、確実に払出処理が実行され、遊技者に不利益を与えないようにすることができる。   When the error cancel switch 375 is operated so as to be reset in hardware (reset to the payout control CPU 371), the error cancel switch 375 is operated, for example, a prize ball has not been paid out. The value of the number counter is also cleared. However, in this embodiment, since the payout control means is configured to perform the re-payout operation again by operating the error release switch 375, the payout process is executed reliably, which is disadvantageous to the player. Can not be given.

ステップS808では、払出制御用CPU371は、満タンスイッチ48の検出信号を確認する。満タンスイッチ48の検出信号が出力されていれば(オン状態であれば)、エラーフラグのうちの満タンエラービットをセットする(ステップS809)。満タンスイッチ48の検出信号がオフ状態であれば、満タンエラービットをリセットする(ステップS810)。   In step S808, the payout control CPU 371 checks the detection signal of the full tank switch 48. If the detection signal of the full tank switch 48 is output (if it is in the ON state), the full tank error bit in the error flag is set (step S809). If the detection signal of the full tank switch 48 is in the OFF state, the full tank error bit is reset (step S810).

また、払出制御用CPU371は、球切れスイッチ187の検出信号を確認する(ステップS811)。球切れスイッチ187の検出信号が出力されていれば(オン状態であれば)、エラーフラグのうちの球切れエラービットをセットする(ステップS812)。球切れスイッチ187の検出信号がオフ状態であれば、球切れエラービットをリセットする(ステップS813)。なお、球切れエラービットをセットされているときには、ステップS759の表示制御処理において、出力ポート1バッファにおける球切れLED52に対応したビットを点灯状態に対応した値にする。   Also, the payout control CPU 371 checks the detection signal of the ball break switch 187 (step S811). If the detection signal of the ball break switch 187 is output (if it is on), the ball break error bit in the error flag is set (step S812). If the detection signal of the ball break switch 187 is OFF, the ball break error bit is reset (step S813). When the ball break error bit is set, the bit corresponding to the ball break LED 52 in the output port 1 buffer is set to a value corresponding to the lighting state in the display control process of step S759.

さらに、払出制御用CPU371は、主基板31からの第1接続確認信号および第2接続確認信号の状態を確認し(ステップS815)、第1接続確認信号または第2接続確認信号の何れか一方が出力されていなければ(オフ状態であれば)、主制御未接続エラービットをセットする(ステップS816)。また、第1接続確認信号および第2接続確認信号が共に出力されていれば(オン状態であれば)、主制御未接続エラービットをリセットする(ステップS817)。   Further, the payout control CPU 371 confirms the states of the first connection confirmation signal and the second connection confirmation signal from the main board 31 (step S815), and either the first connection confirmation signal or the second connection confirmation signal is detected. If it is not output (if it is off), the main control unconnected error bit is set (step S816). Also, if both the first connection confirmation signal and the second connection confirmation signal are output (if they are in the ON state), the main control unconnected error bit is reset (step S817).

また、払出制御用CPU371は、各スイッチの検出信号の状態が設定される各スイッチタイマのうち払出個数カウントスイッチ301に対応したスイッチタイマの値を確認し、その値がスイッチオン最大時間(例えば「240」)を越えていたら(ステップS818)、エラーフラグのうち払出スイッチ異常検知エラー1のビットをセットする(ステップS819)。また、払出個数カウントスイッチ301に対応したスイッチタイマの値がスイッチオン最大時間以下であれば、払出スイッチ異常検知エラー1のビットをリセットする(ステップS820)。なお、各スイッチタイマの値は、ステップS751の入力判定処理において、各スイッチの検出信号を入力する入力ポートの状態がスイッチオン状態であれば+1され、オフ状態であれば0クリアされる。従って、払出個数カウントスイッチ301に対応したスイッチタイマの値がスイッチオン最大時間を越えていたということは、スイッチオン最大時間を越えて払出個数カウントスイッチ301がオン状態になっていることを意味し、払出個数カウントスイッチ301の断線または払出個数カウントスイッチ301の部分で遊技球が詰まっていると判断される。   Further, the payout control CPU 371 checks the value of the switch timer corresponding to the payout number count switch 301 among the switch timers in which the state of the detection signal of each switch is set, and the value is the switch on maximum time (for example, “ 240 ") (step S818), the bit of the payout switch abnormality detection error 1 is set in the error flag (step S819). If the value of the switch timer corresponding to the payout number count switch 301 is less than the switch-on maximum time, the bit of the payout switch abnormality detection error 1 is reset (step S820). Note that the value of each switch timer is incremented by 1 when the state of the input port to which the detection signal of each switch is input is switched on in the input determination process of step S751, and cleared by 0 when it is off. Accordingly, the fact that the value of the switch timer corresponding to the payout number count switch 301 exceeds the switch on maximum time means that the payout number count switch 301 is in the on state exceeding the switch on maximum time. Then, it is determined that the game ball is clogged at the disconnection of the payout number count switch 301 or at the portion of the payout number count switch 301.

また、払出制御用CPU371は、払出個数カウントスイッチ301に対応したスイッチタイマの値がスイッチオン判定値(例えば「2」)になった場合に(ステップS821)、球貸し動作中フラグおよび賞球動作中フラグがともにリセット状態であれば、払出動作中でないのに払出個数カウントスイッチ301を遊技球が通過したとして、エラーフラグのうち払出スイッチ異常検知エラー2のビットをセットする(ステップS822,S823)。また、球貸し動作中フラグまたは賞球動作中フラグがセットされていれば、払出スイッチ異常検知エラー2のビットをリセットする(ステップS824)。   Further, the payout control CPU 371, when the value of the switch timer corresponding to the payout number count switch 301 becomes a switch-on determination value (eg, “2”) (step S821), the ball lending operation flag and the winning ball operation If both the middle flags are in the reset state, the game ball has passed through the payout number count switch 301 even though the payout operation is not in progress, and the bit of the payout switch abnormality detection error 2 in the error flag is set (steps S822 and S823). . If the ball lending operation flag or the winning ball operation flag is set, the bit of the payout switch abnormality detection error 2 is reset (step S824).

さらに、払出制御用CPU371は、カードユニット50からのVL信号の入力状態を確認し(ステップS825)、VL信号が入力されていなければ(オフ状態であれば)、エラーフラグのうちプリペイドカードユニット未接続エラービットをセットする(ステップS826)。また、VL信号が入力されていれば(オン状態であれば)、プリペイドカードユニット未接続エラービットをリセットする(ステップS827)。   Further, the payout control CPU 371 checks the input state of the VL signal from the card unit 50 (step S825). If the VL signal is not input (if it is in the OFF state), the prepaid card unit not yet out of the error flags is displayed. A connection error bit is set (step S826). If the VL signal is input (if it is on), the prepaid card unit unconnected error bit is reset (step S827).

なお、ステップS759の表示制御処理では、エラーフラグ中のエラービットに応じた表示(数値表示)による報知をエラー表示用LED374によって行う。この実施の形態では、主基板31に搭載された遊技制御手段と払出制御基板37に搭載された払出制御手段とが賞球払出に関して双方向通信を行うのであるが、通信エラーをエラー表示用LED374によって報知することができる。   In the display control process in step S759, notification by display (numerical value display) corresponding to the error bit in the error flag is performed by the error display LED 374. In this embodiment, the game control means mounted on the main board 31 and the payout control means mounted on the payout control board 37 perform bi-directional communication with respect to prize ball payout, but a communication error is indicated by an error display LED 374. Can be notified.

また、通信エラーは、払出制御手段の側で検出されるので、遊技制御手段と払出制御手段とが賞球払出に関して双方向通信を行うようにしても、遊技制御手段の負担を増すことなく通信エラーを検出できる。   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 bi-directional communication with respect to the prize ball payout, the communication without increasing the burden on the game control means. Can detect errors.

なお、この実施の形態では、主制御未接続エラーは接続確認信号がオン状態になると自動的に解消されるが(ステップS815,S817参照)、さらにエラー解除スイッチ375が操作されたという条件を加えて、エラー状態が解消されるようにしてもよい。   In this embodiment, the main control unconnected error is automatically cleared when the connection confirmation signal is turned on (see steps S815 and S817), but additionally, a condition that the error release switch 375 is operated is added. Thus, the error state may be eliminated.

また、この実施の形態では、通信エラーが、カードユニット50との間の通信エラー(プリペイドカードユニット未接続エラーおよびプリペイドカードユニット通信エラー)やその他のエラーと区別可能に報知される(図47参照)。従って、遊技制御手段と払出制御手段との間の通信エラーが容易に特定される。   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. 47). ). 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 error display LED 374 mounted on the payout control board 37 installed on the back side of the gaming machine is informed that an error relating to the payout has occurred. You may mount an alerting | reporting means in other locations (For example, the payout unit in which the ball payout apparatus 97 etc. were concentratedly arranged). Furthermore, you may make it alert | report by the indicator (for example, prize ball LED51) installed in the front side of the gaming machine. In the display control process, the payout control CPU 371 performs control for turning on the prize ball LED 51 when the prize ball REQ signal is on. When the prize ball REQ signal is off, the prize ball LED 51 is displayed. Control for turning off the light is performed. When an error relating to payout occurs, for example, the prize ball LED 51 is blinked to notify that an error related to payout has occurred. If an error is notified by a display device installed on the front side of the gaming machine, the game shop clerk can more easily recognize the occurrence of the error. Moreover, you may use together the alerting | reporting by error display LED374, and the alerting | reporting by the indicator installed in the front side of the gaming machine.

図50は、情報出力処理(ステップS770)の賞球個数信号としての賞球情報(賞球信号)の出力に関わる部分を示すフローチャートである。賞球信号は、払出制御基板37からターミナル基板160を介して遊技機外部に出力される。   FIG. 50 is a flowchart showing a portion related to the 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 payout control board 37 to the outside of the gaming machine via the terminal board 160.

情報出力処理において、払出制御用CPU371は、信号出力タイマの値が0であるか否か確認する(ステップS831)。信号出力タイマは、1パルスの賞球信号のオン期間を設定するためのタイマである。すなわち、信号出力タイマの値が0でないということは、賞球信号が出力されている状態にあることを示している。信号出力タイマの値が0でない場合には、信号出力タイマの値を減算し(ステップS841)、信号出力タイマの値が0になったときには(ステップS842)、賞球信号をオフ状態にする(ステップS843)。   In the information output process, the payout control CPU 371 checks whether or not the value of the signal output timer is 0 (step S831). The signal output timer is a timer for setting an ON period of one pulse prize ball signal. That is, that the value of the signal output timer is not 0 indicates that a prize ball signal is being output. When the value of the signal output timer is not 0, the value of the signal output timer is subtracted (step S841). When the value of the signal output timer becomes 0 (step S842), the prize ball signal is turned off (step S842). Step S843).

信号出力タイマの値が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 number count switch 301 is turned on (if the game ball passes), the value of the prize ball payout number counter is incremented by 1 (steps S833 and S834). The prize ball payout number counter is a counter formed in the RAM.

そして、賞球払出個数カウンタの値が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 payout count switch 301, the payout control means indicates the number. The prize ball signal is output to the outside of the gaming machine. In this embodiment, the predetermined number is 10. However, other numbers may be used as the predetermined number. Further, there may be a plurality of predetermined numbers. For example, when 10 game balls are instructed to be paid out and 10 game balls have been paid out, a first prize ball signal is output, and 15 game balls are instructed from the game control means. The predetermined number is 10 and 15 when the second prize ball signal is output when the game balls are paid out.

情報出力処理において、エラービットのチェックは実行されない。従って、遊技球の払い出しに関わるエラー状態であっても、払出個数カウントスイッチ301によって、賞球としての10個の遊技球が検出される毎に賞球信号(景品遊技媒体信号)が出力される。よって、払い出しに関わるエラーが発生しても、実際に払い出した遊技球数を遊技機の外部においても正確に管理することができる。すなわち、払い出しに関わるエラーが発生している状態であっても、実際に払い出しが検出された景品遊技媒体の数を、賞球信号を入力可能な管理装置等により集計可能とすることができ、不正行為にもとづく遊技媒体の払い出しを察知可能とすることができる。   In the information output process, error bit checking is not executed. Accordingly, even in an error state related to payout of game balls, a payout ball signal (prize game medium signal) is output every time ten game balls are detected by the payout number count switch 301 as prize balls. . Therefore, even if an error related to payout occurs, the number of game balls actually paid out can be accurately managed outside the gaming machine. In other words, even if an error related to payout has occurred, the number of prize game media in which payout is actually detected can be tabulated by a management device or the like that can input a prize ball signal, It is possible to detect the payout of game media based on cheating.

また、エラー解除スイッチ375が操作されたことによってハードウェア的にリセット(払出制御用CPU371に対するリセット)がかかるように構成されている場合には、エラー解除スイッチ375が操作されたことによって賞球払出個数カウンタの値もクリアされてしまう。しかし、この実施の形態では、払出制御手段が、エラー解除スイッチ375が操作されたことによってエラーの解除が可能になるように構成され、エラーが解除されるときに賞球払出個数カウンタはクリアされないので、実際に払い出された遊技球が正確に賞球信号に反映される。さらに、払い出しに関わるエラー状態中でも、実際に払い出された遊技球数を遊技機の外部において把握できるので、払い出しに関わるエラーを発生させて不正に遊技球を払い出させるような不正行為が行われても、容易にそのことが検知される。   In addition, when the error cancel switch 375 is operated and the hardware is reset (reset to the payout control CPU 371), the payout of the winning ball is performed by operating the error cancel switch 375. The value of the number counter is also cleared. However, in this embodiment, the payout control means is configured such that the error can be released by operating the error release switch 375, and the winning ball payout number counter is not cleared when the error is released. Therefore, the game ball actually paid out is accurately reflected in the prize ball signal. In addition, even in an error state related to payout, the number of game balls actually paid out can be ascertained outside the gaming machine, so that an illegal act that causes an error related to payout and illegally pays out game balls is performed. This is easily detected.

また、賞球払出個数カウンタは、球貸し動作中フラグがセットされていない状態で払出個数カウントスイッチ301が遊技球を検出したときに+1される。従って、賞球動作中フラグがセットされているとき(賞球払出中)だけでなく、賞球動作中フラグおよび球貸し動作中フラグがセットされていないとき(賞球払出も球貸しも行われていないとき)にも、払出個数カウントスイッチ301が遊技球を検出すれば+1される。つまり、賞球払出中でもなく球貸し中でもないときに払出個数カウントスイッチ301が遊技球を検出した場合には、賞球払出によって遊技球が払い出されたとみなし、遊技機外部(例えばホールコンピュータ)に出力される賞球信号に反映される。このように、実際に払い出された遊技球は、必ず、遊技機外部に出力される信号に反映されるので、例えば遊技店における払出数の集計結果に必ず反映される。なお、賞球払出中でもなく球貸し中でもないときに払出個数カウントスイッチ301が遊技球を検出した場合には、貸し球要求にもとづいて遊技球が払い出されたとみなしてもよい。   Also, the prize ball payout number counter is incremented by 1 when the payout number count switch 301 detects a game ball in a state where the ball lending operation flag is not set. Therefore, not only when the winning ball operating flag is set (pending a winning ball), but also when the winning ball operating flag or the lending ball operating flag is not set (both winning or paying a ball) When the payout number count switch 301 detects a game ball, the value is incremented by one. In other words, when the payout number counting switch 301 detects a game ball when it is neither paying out a ball nor lending a ball, it is considered that a game ball has been paid out by paying out a prize ball, and is outside the gaming machine (for example, a hall computer). It is reflected in the output prize ball signal. In this way, the game balls actually paid out are always reflected in the signal output to the outside of the gaming machine, and are therefore always reflected in the total result of the number of payouts at the game store, for example. Note that when the payout number count switch 301 detects a game ball when it is neither paying out a prize ball nor lending a ball, it may be considered that a game ball has been paid out based on a lending ball request.

以上に説明したように、遊技制御手段が、入賞にもとづいて払い出すべき賞球数を指定する賞球個数信号を送信し、賞球個数信号を送信したことに応じて賞球個数信号で指定した賞球数を総賞球数格納バッファから減算し、払出制御手段が、遊技機への電力が供給されたことにもとづいて払出制御信号受付処理を開始したあとに第3接続確認信号をオン状態とし、賞球個数信号により指定された賞球数のうち未払出数を賞球未払出個数カウンタに記憶し、賞球未払出個数カウンタに記憶されている未払出数にもとづいて、球払出装置97を制御して賞球を払い出し、遊技制御手段が、遊技機への電力が供給されたことにもとづいて遊技制御を実行可能な状態となったあと、第3接続確認信号がオン状態とされたことが確認されたことを条件に、第1および第2接続確認信号をオン状態としたあと遊技制御の実行を開始し、賞球個数信号と、第1および第2接続確認信号と、第3接続確認信号とが同一のコネクタ(図19参照)によって遊技制御手段と払出制御手段とで接続される信号線によって伝送され、払出制御手段が第3接続確認信号をオン状態としたあと、あらかじめ定められた監視期間内に、第1および第2接続確認信号がオン状態とされたことが確認されたことを条件に、払出制御の実行を開始する構成としたので、払出条件が成立したときに景品遊技媒体の付与を迅速に行うことができるとともに、遊技制御手段での未払出の遊技媒体数の管理を、基板の実装面積を広く確保することなく、低コストかつ遊技機で使用されるマイクロコンピュータの特性に左右されない構成で確実に行うことができる。   As described above, the game control means transmits a prize ball number signal that designates the number of prize balls to be paid out based on a winning, and is designated by the prize ball number signal in response to the transmission of the prize ball number signal. The number of winning balls is subtracted from the total number of winning balls storage buffer, and the payout control means turns on the third connection confirmation signal after starting payout control signal acceptance processing based on the supply of power to the gaming machine. State, the number of unpaid out of the number of prize balls specified by the prize ball number signal is stored in the prize ball unpaid number counter, and the ball is paid out based on the number of unpaid numbers stored in the prize ball unpaid number counter. The device 97 is controlled to pay out a prize ball, and after the game control means becomes able to execute the game control based on the supply of power to the gaming machine, the third connection confirmation signal is turned on. On the condition that it was confirmed that The game control is started after the first and second connection confirmation signals are turned on, and the prize ball number signal, the first and second connection confirmation signals, and the third connection confirmation signal are the same connector (see FIG. 19), the first control signal is transmitted by the signal line connected between the game control means and the payout control means, and the payout control means turns on the third connection confirmation signal and then the first and Since the execution of the payout control is started on the condition that it has been confirmed that the second connection confirmation signal is turned on, the prize game medium can be quickly applied when the payout condition is satisfied. In addition, the management of the number of unpaid game media by the game control means is not affected by the characteristics of the microcomputer used in the game machine at a low cost without securing a large board mounting area. It can be reliably performed in the adult.

すなわち、上述した実施の形態では、払出個数検出スイッチ301からの検出信号を遊技制御手段に入力することなく、遊技制御手段にて未払出の賞球個数の管理を行う構成としているので、遊技機における信号配線を簡略化することができ、配線スペースを確保する必要をなくすことができるため、基板の実装面積を広く確保することなく、低コストで遊技制御手段と払出制御手段とで未払出の賞球個数の管理を行うことができる。また、遊技制御手段と払出制御手段とで互いに接続確認信号を送受することで電源投入時の制御の開始時期を調整する構成としているため、遅延回路を設けることなく払出制御信号の取りこぼしを防止することができ、マイクロコンピュータの特性に左右されない構成で、遊技制御手段での未払出の遊技媒体数の管理を確実に行うことができる。   That is, in the embodiment described above, the game control means manages the number of unpaid prize balls without inputting the detection signal from the payout quantity detection switch 301 to the game control means. Signal wiring can be simplified, and it is possible to eliminate the need to secure wiring space. Therefore, the game control means and the payout control means are not paid out at low cost without securing a large board mounting area. The number of prize balls can be managed. Also, since the game control means and the payout control means are configured to adjust the control start timing when the power is turned on by sending and receiving connection confirmation signals to each other, it is possible to prevent the payout control signal from being missed without providing a delay circuit. It is possible to reliably manage the number of unpaid game media in the game control means with a configuration that does not depend on the characteristics of the microcomputer.

また、上述した実施の形態では、払出制御手段からの第3接続確認信号がオン状態となったあとでなければ遊技制御手段での遊技制御処理の実行が開始されないので、コネクタ不良などによって払出制御信号が正常に伝送されない状態であるときに遊技制御手段によって払出制御信号が送信されることが防止され、遊技制御手段からの払出制御信号を払出制御手段が受信できないという事態を防止することができる。   In the above-described embodiment, the game control process is not started in the game control means until the third connection confirmation signal from the payout control means is turned on. It is possible to prevent the payout control signal from being transmitted by the game control means when the signal is not normally transmitted, and to prevent the payout control means from receiving the payout control signal from the game control means. .

また、上述した実施の形態では、遊技制御手段からの第1および第2接続確認信号がオン状態となったあとでなければ払出制御手段での払出制御処理の実行が開始されないので、コネクタ不良などによって異常なコマンドが入力したことにって払出制御手段が誤動作を行ってしまうという事態を防止することができる。   In the embodiment described above, since the execution of the payout control process in the payout control means is not started until after the first and second connection confirmation signals from the game control means are turned on, the connector failure etc. Thus, it is possible to prevent a situation in which the payout control unit malfunctions due to an abnormal command being input.

また、上述したように、払出制御手段が遊技制御手段との通信の接続状態の異常を検出したときは(ステップS815のY)、払出制御手段が払出処理を停止する(ステップS621でYと判定されるので、払出処理は開始されなくなる)ように構成されているので、遊技制御手段と払出制御手段との間の接続状態に異常が発生しているときの払出処理を規制することができる。なお、遊技制御手段との通信の接続状態の異常を検出したときに、実行中の払出処理を直ちに停止するようにしてもよい。   Further, as described above, when the payout control means detects an abnormality in the connection state of communication with the game control means (Y in step S815), the payout control means stops payout processing (determined as Y in step S621). Therefore, the payout process is not started), so that the payout process when an abnormality occurs in the connection state between the game control means and the payout control means can be restricted. Note that the payout process being executed may be immediately stopped when an abnormality in the connection state of communication with the game control means is detected.

また、上述したように、払出制御手段が、第1接続確認信号または第2接続確認信号がオフ状態となったことを通信に関する異常として検出し、第1接続確認信号または第2接続確認信号がオフ状態となったときは、賞球制御信号の受信を拒否する賞球制御信号受付拒否状態とする構成としたので、遊技制御手段での未払出の賞球個数の管理を確実に行うことができる。また、通信に関する異常が生じていないときに限って賞球制御信号を受信する(賞球個数信号の取り込みを含む概念である)構成としているので、賞球個数信号により特定される賞球個数を払出制御手段が誤認識してしまうことを防止することができ、遊技者に不利益を及ぼしてしまうことを回避することができる。   In addition, as described above, the payout control unit detects that the first connection confirmation signal or the second connection confirmation signal has been turned off as an abnormality related to communication, and the first connection confirmation signal or the second connection confirmation signal is detected. When the player enters the off state, the configuration is such that the prize ball control signal reception refusal state in which the reception of the prize ball control signal is refused. it can. In addition, the configuration is such that the prize ball control signal is received only when no abnormality relating to communication has occurred (this is a concept including taking in the prize ball number signal). It is possible to prevent the payout control means from erroneously recognizing, and to avoid adversely affecting the player.

例えば、通信に関する異常が生じている場合には、15個の賞球払出を示す賞球個数信号を遊技制御手段が出力しているにもかかわらず、7個の賞球払出を示す賞球個数信号が入力していると払出制御手段にて誤認識してしまうおそれがあり、そのような誤認識がなされると遊技者に不利益を及ぼすことになってしまう。これに対し、上述した実施の形態では、通信に関する異常が生じていないときに限って賞球制御信号を受信する構成としているので、上記のように誤認識されてしまうことを防止することができ、遊技者に不利益を及ぼしてしまうことを回避することができるのである。   For example, when an abnormality relating to communication has occurred, the number of prize balls indicating 7 prize ball payouts, even though the game control means outputs a prize ball number signal indicating 15 prize ball payouts. If a signal is input, the payout control means may misrecognize. If such a misrecognition is made, the player will be disadvantaged. On the other hand, in the above-described embodiment, the prize ball control signal is received only when there is no abnormality related to communication, so that it is possible to prevent erroneous recognition as described above. It is possible to avoid adversely affecting the player.

なお、上述した実施の形態では、払出制御手段が、第1接続確認信号または第2接続確認信号がオフ状態となったとき(ステップS543のN)に、通信に関する異常が発生したとして、賞球REQ信号の状態の確認(ステップS544)や賞球個数信号が示す賞球個数を加算する処理(ステップS545)を行わない賞球制御信号非受付状態とする構成としていたが、第1接続確認信号または第2接続確認信号がオフ状態となったときに、第1接続確認信号および第2接続確認信号の入力状態を監視する待機ループに移行する構成としてもよい。この場合、ステップS543にてNと判定された場合に第1接続確認信号および第2接続確認信号の入力状態を監視する待機ループに移行し、第1接続確認信号および第2接続確認信号がオン状態となったことを確認したときに、待機ループを脱して賞球制御信号非受付状態を解除し、ステップS543の処理に戻って、賞球REQ信号の状態の確認(ステップS544)や賞球個数信号が示す賞球個数を加算する処理(ステップS545)を再開するようにすればよい。このように構成した場合についても、通信に関する異常が解消したときに、制御状態を自動的に復帰させることができる。   In the above-described embodiment, the payout control means determines that a communication abnormality has occurred when the first connection confirmation signal or the second connection confirmation signal is turned off (N in step S543). The first connection confirmation signal has been configured such that the confirmation of the state of the REQ signal (step S544) and the process of adding the number of prize balls indicated by the prize ball number signal (step S545) are not accepted. Alternatively, when the second connection confirmation signal is turned off, a transition may be made to a standby loop that monitors the input states of the first connection confirmation signal and the second connection confirmation signal. In this case, when it is determined as N in step S543, the process proceeds to a standby loop for monitoring the input states of the first connection confirmation signal and the second connection confirmation signal, and the first connection confirmation signal and the second connection confirmation signal are turned on. When it is confirmed that the state has been reached, the standby loop is exited to release the prize ball control signal non-acceptance state, and the process returns to step S543 to confirm the prize ball REQ signal status (step S544) and the prize ball. The process of adding the number of winning balls indicated by the number signal (step S545) may be resumed. Also in the case of such a configuration, the control state can be automatically restored when the communication abnormality is resolved.

また、上述した実施の形態では、賞球制御信号を送信したことに応じて未払出の賞球個数の減算処理を行う遊技制御手段が、第3接続確認信号がオフ状態となったことを通信に関する異常として検出し、第3接続確認信号がオフ状態となったときは、賞球制御信号の送信を禁止する賞球制御信号送信禁止状態とする構成としたので、入賞が発生したときに賞球の払い出しを迅速に行うことができるとともに、遊技制御手段と払出制御手段とで未払出の賞球個数の認識が相違してしまうことを防止することができる。また、通信に関する異常が生じていないときに限って賞球制御信号を送信する構成としているので、賞球制御信号により特定される賞球個数を払出制御手段が誤認識してしまうことを防止することができ、遊技制御手段と払出制御手段とで未払出の賞球個数の認識が相違してしまうことをより確実に防止することができる。   In the above-described embodiment, the game control means for subtracting the number of unpaid prize balls in response to the transmission of the prize ball control signal communicates that the third connection confirmation signal has been turned off. When the third connection confirmation signal is turned off, the prize ball control signal transmission prohibited state is set to prohibit the transmission of the prize ball control signal. It is possible to quickly pay out the balls, and it is possible to prevent the game control means and the payout control means from recognizing the difference in the number of award balls that have not been paid out. In addition, since the prize ball control signal is transmitted only when there is no abnormality related to communication, the payout control means prevents erroneous recognition of the number of prize balls specified by the prize ball control signal. It is possible to more reliably prevent the recognition of the number of unpaid prize balls between the game control means and the payout control means.

また、上述した実施の形態では、遊技制御手段が、第1接続確認信号または第2接続確認信号がオフ状態となったことを通信に関する異常として検出し、第1接続確認信号または第2接続確認信号がオフ状態となったときは、賞球制御処理(ステップS202)とそのあとのポート0バッファの内容の出力処理(ステップS203)の実行を禁止する賞球制御信号送信禁止状態とし、賞球制御信号送信禁止状態中に第1接続確認信号と第2接続確認信号の入力状態を監視し、第1接続確認信号および第2接続確認信号がともにオン状態となったことを確認したことに応じて、賞球制御信号送信禁止状態を解除し、賞球制御処理等を再開する構成とされているので、通信に関する異常が解消したときに、制御状態を自動的に復帰させることができる。   In the above-described embodiment, the game control means detects that the first connection confirmation signal or the second connection confirmation signal has been turned off as an abnormality related to communication, and the first connection confirmation signal or the second connection confirmation. When the signal is turned off, a prize ball control signal transmission prohibition state prohibiting execution of the prize ball control process (step S202) and the subsequent output process of the contents of the port 0 buffer (step S203) is set. In response to confirming that both the first connection confirmation signal and the second connection confirmation signal are turned on by monitoring the input states of the first connection confirmation signal and the second connection confirmation signal during the control signal transmission prohibited state. Since the configuration is such that the prize ball control signal transmission prohibition state is canceled and the prize ball control processing is resumed, the control state can be automatically restored when the communication abnormality is resolved. That.

なお、上述した実施の形態では、遊技制御手段からの接続確認信号がオフ状態となったら払出制御手段にて払出制御信号の受信処理を停止し、払出制御手段からの接続確認信号がオフ状態となったら遊技制御手段にて払出制御信号の送信処理を停止する構成とされていたが、さらに、監視している接続確認信号がオフ状態となったときに、自己が出力している接続確認信号をオフ状態とするようにしてもよい。このように構成すれば、一方の接続確認信号が異常状態となったときに、払出制御信号の送信処理と受信処理とを共に停止状態とすることができ、賞球個数信号などの払出制御信号の取りこぼしや、異常な信号の入力による払出制御手段での誤動作を防止することができる。   In the embodiment described above, when the connection confirmation signal from the game control means is turned off, the payout control means stops receiving the payout control signal, and the connection confirmation signal from the payout control means is turned off. The game control means is configured to stop the payout control signal transmission process, but when the monitored connection confirmation signal is turned off, the connection confirmation signal output by itself May be turned off. With this configuration, when one of the connection confirmation signals is in an abnormal state, both the payout control signal transmission process and the reception process can be stopped, and the payout control signal such as a prize ball number signal can be set. Can be prevented, and malfunctions in the payout control means due to the input of an abnormal signal can be prevented.

例えば、払出制御手段が、遊技制御手段からの第1または第2接続確認信号がオフ状態となったことに応じて、第3接続確認信号をオフ状態とするようにすればよい。具体的には、払出制御手段が、ステップS815にてYと判定したときに、第3接続確認信号をオフ状態とする処理を実行するようにすればよい。このように構成すれば、例えば、払出制御手段側にて通信異常を検出してエラー状態に移行したときに、遊技制御手段側をもエラー状態に移行させることができ、遊技制御手段と払出制御手段との未払出の景品遊技媒体数の認識が相違してしまうことをより確実に防止することができる。   For example, the payout control means may turn off the third connection confirmation signal in response to the first or second connection confirmation signal from the game control means being turned off. Specifically, when the payout control unit determines Y in step S815, the process of turning off the third connection confirmation signal may be executed. If constituted in this way, for example, when a communication abnormality is detected on the payout control means side and the error control state is shifted, the game control means side can also be shifted to the error state. It is possible to more reliably prevent the recognition of the number of unpaid premium game media with the means.

また、上述した実施の形態では、払出制御手段が、払出制御を開始したあとに第1または第2接続確認信号がオフ状態となったことに応じて、払出制御の制御状態をエラー状態(主制御未接続エラー)に移行させ、エラー状態であるときに、第1または第2接続確認信号がオン状態となったことに応じて、エラー状態を解除する構成とされているので、エラー状態が解消したときに、制御状態を自動的に復帰させることができる。   In the above-described embodiment, the payout control unit sets the payout control state to the error state (mainly in response to the first or second connection confirmation signal being turned off after the payout control is started. Control unconnected error), and when it is in an error state, it is configured to cancel the error state in response to the first or second connection confirmation signal being turned on. When it is resolved, the control state can be automatically restored.

なお、上述した実施の形態では、エラー状態(主制御未接続エラー)となったときは、賞球の払出制御も球貸し制御もともに停止する構成としていたが、エラー状態となったときであっても球貸し制御は続行する構成としてもよい。この場合、例えば、払出開始待ち処理(図42参照)にて、ステップS621では主制御未接続エラーか否かの確認を行わず、ステップS631の前に主制御未接続エラーか否かの確認を行い、エラー状態であれば賞球制御を行わない構成とすればよい。このように、エラー状態であっても、貸出要求による払出条件の成立にもとづく貸し球の払出処理を実行する構成とした場合には、遊技制御手段が関わらない遊技媒体の貸出に関わる制御を継続させることができ、遊技を円滑に進行させることができる。   In the embodiment described above, when an error state (main control unconnected error) occurs, both the award ball payout control and the ball lending control are stopped, but this is when the error state occurs. However, the ball lending control may be continued. In this case, for example, in the payout start waiting process (see FIG. 42), in step S621, whether or not there is a main control unconnected error is not confirmed, and whether or not a main control unconnected error is confirmed before step S631. If there is an error state, the prize ball control may not be performed. In this way, even if it is in an error state, when it is configured to execute the lending ball payout process based on the establishment of the payout condition by the lending request, the control related to the lending of the game medium that does not involve the game control means is continued. And the game can proceed smoothly.

なお、上述した実施の形態では、遊技制御手段が2つの接続確認信号を出力し、払出制御手段が1つの接続確認信号を出力する構成としていたが、遊技制御手段と払出制御手段とによって出力される接続確認信号の数は、それぞれ、1つであっても2つであっても3つ以上であってもよい。   In the above-described embodiment, the game control means outputs two connection confirmation signals and the payout control means outputs one connection confirmation signal. However, the game control means and the payout control means output the connection control signals. The number of connection confirmation signals may be one, two, or three or more.

この場合、上述した図19に示す例のように、コネクタ69Aとコネクタ376Aそれぞれが備える複数のピンにて、接続確認信号の伝送に用いられるピンのうちの2つのピンの間に、賞球REQ信号と賞球個数信号の伝送に用いられる5個のピンが位置するように各信号が割り当てられていることが望ましい。   In this case, as shown in the example shown in FIG. 19 described above, a plurality of pins provided in the connector 69A and the connector 376A each have a prize ball REQ between two pins used for transmitting the connection confirmation signal. It is desirable that each signal is assigned so that five pins used for transmission of the signal and the number-of-award ball number signal are located.

具体的には、例えば図51に示すように、遊技制御手段が1つの接続確認信号(第1接続確認信号)を出力し、払出制御手段が2つの接続確認信号(第3接続確認信号、第4接続確認信号)を出力する構成とする場合には、第3接続確認信号の伝送に用いられるピンと第4接続確認信号の伝送に用いられるピンの間に、賞球REQ信号と賞球個数信号の伝送に用いられる5個のピンが位置するように各信号が割り当てられるようにすればよい。   Specifically, for example, as shown in FIG. 51, the game control means outputs one connection confirmation signal (first connection confirmation signal), and the payout control means outputs two connection confirmation signals (third connection confirmation signal, first connection confirmation signal, 4 connection confirmation signal), a prize ball REQ signal and a prize ball number signal are provided between a pin used for transmission of the third connection confirmation signal and a pin used for transmission of the fourth connection confirmation signal. Each signal may be assigned such that five pins used for transmission of the signal are located.

また、例えば図52に示すように、遊技制御手段が1つの接続確認信号(第1接続確認信号)を出力し、払出制御手段が1つの接続確認信号(第3接続確認信号)を出力する構成とする場合には、第1接続確認信号の伝送に用いられるピンと第3接続確認信号の伝送に用いられるピンの間に、賞球REQ信号と賞球個数信号の伝送に用いられる5個のピンが位置するように各信号が割り当てられるようにすればよい。このように、伝送方向が異なる2つの接続確認信号の伝送に用いられるピンで賞球REQ信号と賞球個数信号の伝送に用いられる5個のピンを挟む構成とした場合であっても、いずれかの接続確認信号に異常が発生したら払出に関わる通信制御が停止するため、伝送方向が同じ2つの接続確認信号の伝送に用いられるピンで賞球REQ信号と賞球個数信号の伝送に用いられる5個のピンを挟む構成とした場合と同様の効果を得ることができる。   For example, as shown in FIG. 52, the game control means outputs one connection confirmation signal (first connection confirmation signal), and the payout control means outputs one connection confirmation signal (third connection confirmation signal). In this case, five pins used for the transmission of the prize ball REQ signal and the prize ball number signal between the pin used for transmission of the first connection confirmation signal and the pin used for transmission of the third connection confirmation signal. Each signal may be assigned so that is located. As described above, even if the configuration is such that the five pins used for transmitting the prize ball REQ signal and the prize ball number signal are sandwiched by the pins used for transmission of two connection confirmation signals having different transmission directions, If an abnormality occurs in the connection confirmation signal, the communication control relating to payout is stopped, so that the pin used for transmitting two connection confirmation signals with the same transmission direction is used for transmitting the prize ball REQ signal and the prize ball number signal. The same effect can be obtained as when five pins are sandwiched.

また、上述した実施の形態では、通信異常検出手段が異常を検出(監視対象の接続確認信号のオフ状態を検出)したとき、その旨を報知(例えばランプを点灯状態とすることで報知する)する通信異常報知手段(例えばエラー表示用ランプ44)を備えているので、賞球制御信号の送信処理が禁止されている状態であることを遊技店員等に認識させることができる。   Further, in the above-described embodiment, when the communication abnormality detecting means detects an abnormality (detects an off state of the connection confirmation signal to be monitored), this is notified (for example, notification is made by turning on the lamp). Since the communication abnormality notification means (for example, the error display lamp 44) is provided, it is possible to make the game store clerk recognize that the prize ball control signal transmission process is prohibited.

また、上述した実施の形態では、通信異常検出手段が異常を検出したとき、その旨を報知(例えば「1」の表示:図47参照)する通信異常報知手段(エラー報知用LED374)を備えているので、賞球制御信号の受信処理が停止されている状態であることを遊技店員等に認識させることができる。   Further, in the above-described embodiment, when the communication abnormality detecting means detects an abnormality, the communication abnormality notifying means (error notification LED 374) for notifying (for example, displaying “1”: see FIG. 47) is provided. Therefore, it is possible to make the game store clerk recognize that the receiving process of the prize ball control signal is stopped.

また、上述した実施の形態では、払出制御手段が、クリアスイッチ921からのクリアスイッチ信号(操作信号)の入力を確認したときに、電源バックアップされているRAMに保持されていた記憶内容を初期化する初期化処理を実行するとともに、クリアスイッチ信号の入力を確認したことを示すクリア信号を遊技制御手段に出力し、払出制御手段が、払出制御手段からのクリア信号の入力を確認したときに、RAM55のバックアップ領域に保持されていた記憶内容を初期化する初期化処理を実行するように構成したので、記憶媒体のバックアップ領域に保持されている情報(バックアップ情報)のクリア機能(初期化処理を実行する機能)を簡素なハード構成で実現することができ、複数の基板のバックアップ情報を簡単な操作で確実にクリアすることができる。   In the above-described embodiment, when the payout control unit confirms the input of the clear switch signal (operation signal) from the clear switch 921, the stored contents held in the RAM that is backed up by the power supply are initialized. When executing the initialization process and outputting a clear signal indicating that the input of the clear switch signal is confirmed to the game control means, and when the payout control means confirms the input of the clear signal from the payout control means, Since the initialization process for initializing the storage contents held in the backup area of the RAM 55 is executed, the function for clearing the information (backup information) held in the backup area of the storage medium (the initialization process is performed) (Function to be executed) can be realized with a simple hardware configuration, and backup information for multiple boards can be assured with simple operations. It can be cleared.

また、上記の実施の形態では、払出制御手段が、遊技機への電力供給が復旧した場合に、RAMに保存されていたチェックデータによってRAMの記憶内容が正当であるか否かを判定する処理を実行し、当該記憶内容が正当でないと判定したときは、クリア信号を遊技制御手段に出力するとともに、初期化処理を実行するように構成されているので、払出制御基板37が備えるRAMに保存されていた記憶内容が正当でない場合に、遊技制御手段と払出制御手段の双方に初期化処理とを実行させることができ、払出制御基板37が備えるRAMだけでなく主基板31が備えるRAM55の記憶内容も容易にクリアすることができる。   In the above embodiment, the payout control means determines whether the stored contents of the RAM are valid based on the check data stored in the RAM when the power supply to the gaming machine is restored. Is executed, and when it is determined that the stored contents are not valid, a clear signal is output to the game control means and an initialization process is executed, so that it is stored in the RAM provided in the payout control board 37. If the stored contents are not valid, both the game control means and the payout control means can execute initialization processing, and the RAM 55 provided in the main board 31 as well as the RAM provided in the payout control board 37 can be stored. The contents can be cleared easily.

また、上記の実施の形態では、払出制御手段が、遊技機への電力供給が復旧した場合に、RAMに実行確認情報(保護処理が行われていたことを示すバックアップ監視タイマの値)が保存されているか否かを判定する処理を実行し、実行確認情報が保存されていないと判定したときは、クリア信号を遊技制御手段に出力するとともに、初期化処理を実行するように構成されているので、払出制御基板37が備えるRAMに実行確認情報が保存されていない場合に、遊技制御手段と払出制御手段の双方に初期化処理とを実行させることができ、払出制御基板37が備えるRAMだけでなく主基板31が備えるRAM55の記憶内容も容易にクリアすることができる。   In the above embodiment, the payout control means stores the execution confirmation information (the value of the backup monitoring timer indicating that the protection process has been performed) in the RAM when the power supply to the gaming machine is restored. Is executed, and when it is determined that the execution confirmation information is not stored, a clear signal is output to the game control means and an initialization process is executed. Therefore, when the execution confirmation information is not stored in the RAM provided in the payout control board 37, both the game control means and the payout control means can execute the initialization process, and only the RAM provided in the payout control board 37. In addition, the stored contents of the RAM 55 provided in the main board 31 can be easily cleared.

また、上記の実施の形態では、クリアスイッチ921が、操作に応じて遊技機に対する電力供給を行うための電源スイッチ924が搭載された電源基板910に搭載されているので、クリアスイッチ921の操作にもとづいて出力される信号(クリアスイッチ信号、クリア信号)の配線構成を簡略化することができ、信号線の配線を短くすることができる。このため、ノイズの影響を受けにくくすることができるとともに、コストを削減することができる。さらに、クリアスイッチ921と電源スイッチ924が同じ基板に搭載され、クリアスイッチ921と電源スイッチ924とを近くに配置することができるので、初期化処理を実行させるための操作が容易となる。   In the above embodiment, the clear switch 921 is mounted on the power supply board 910 on which the power switch 924 for supplying power to the gaming machine according to the operation is mounted. It is possible to simplify the wiring configuration of signals (clear switch signal, clear signal) output based on the original, and to shorten the wiring of signal lines. For this reason, it is possible to reduce the influence of noise and to reduce the cost. Furthermore, since the clear switch 921 and the power switch 924 are mounted on the same board and the clear switch 921 and the power switch 924 can be arranged close to each other, an operation for executing the initialization process is facilitated.

また、上記の実施の形態では、払出制御手段が、電源監視手段からの電源断信号(電圧低下検出信号)を受信したときに、遊技制御手段に電源断確認信号(電圧低下検出確認信号)を送信するとともに、払出制御を実行する状態(払出制御処理を実行している状態)から払出制御の実行状態を保存するための払出制御側電力供給停止時処理(ステップS906〜ステップS931)を実行する状態に移行し、遊技制御手段が、払出制御手段からの電源断確認信号を受信したときに、遊技の進行を制御する状態(遊技制御処理を実行している状態)から遊技の進行状態を保存するための遊技制御側電力供給停止時処理(ステップS454〜ステップS481)を実行する状態に移行し、払出制御手段が、払出制御側電力供給停止時処理の実行中であっても、賞球制御信号によって指定された賞球の払出数を賞球未払出個数カウンタに加算する(ステップS906〜ステップS910)ように構成したので、バックアップ機能を簡素なハード構成で実現することができるとともに、払出数データの取りこぼしによる遊技者の不利益を防止することができる。   In the above embodiment, when the payout control means receives the power-off signal (voltage drop detection signal) from the power supply monitoring means, the power-off confirmation signal (voltage drop detection confirmation signal) is sent to the game control means. The payout control side power supply stop processing (steps S906 to S931) for saving the payout control execution state from the state where the payout control is executed (the state where the payout control process is executed) is executed. When the game control means receives a power-off confirmation signal from the payout control means, the game progress state is saved from the state that controls the progress of the game (the state in which the game control process is executed). The game control side power supply stop process (steps S454 to S481) for executing the process is executed, and the payout control means is executing the payout control side power supply stop process. Even in such a case, since the number of prize balls paid out designated by the prize ball control signal is added to the prize ball unpaid number counter (steps S906 to S910), the backup function is realized with a simple hardware configuration. In addition, it is possible to prevent the disadvantage of the player due to the missing out amount data.

また、上記の実施の形態では、電源監視回路920からの電源断信号は払出制御基板37のみに入力されている。従って、電源監視回路920からの電源断信号を主基板31と払出制御基板37との双方に供給する場合に比べて、主基板31と払出制御基板37とにバックアップ機能を持たせるための回路構成が簡略化されコストを低減することができる。   In the above embodiment, the power-off signal from the power supply monitoring circuit 920 is input only to the payout control board 37. Therefore, a circuit configuration for providing a backup function for the main board 31 and the payout control board 37 as compared with the case where the power cut-off signal from the power supply monitoring circuit 920 is supplied to both the main board 31 and the payout control board 37. Can be simplified and the cost can be reduced.

また、上記の実施の形態では、電源監視回路920が、払出制御基板37や主基板31とは別個の電源基板910に搭載されているので、電源電圧の電力の低下にもとづく検出信号の配線構成を簡略化することができるとともに、配線を短くすることができるので、ノイズの影響を受けにくくすることができる。   In the above embodiment, since the power supply monitoring circuit 920 is mounted on the power supply board 910 separate from the payout control board 37 and the main board 31, the detection signal wiring configuration based on the power supply voltage drop is provided. Since the wiring can be shortened, the influence of noise can be reduced.

また、上記の実施の形態では、払出制御用CPU371が、払出制御処理における所定箇所に配置された払出制御側電力供給確認処理(電源断処理におけるステップS901)によって入力ポートの入力状態を定期的に確認し、入力ポートに電源監視回路920からの電源断信号が入力されたことに応じて払出制御側電力供給停止時処理を実行し、払出制御側電力供給停止時処理を実行した後、入力ポートの入力状態を確認する処理(電源断処理におけるステップS932)を繰り返し実行し、入力ポートに入力される電源断信号が解除されたときには、払出制御処理を実行する状態に戻るように構成されているので、電源瞬断等が生じた場合に、電力供給が復旧すれば自動的に元の制御状態に復帰することができる。   In the above embodiment, the payout control CPU 371 periodically changes the input state of the input port by the payout control side power supply confirmation process (step S901 in the power shutoff process) arranged at a predetermined location in the payout control process. After confirming and executing the payout control side power supply stop process in response to the input of the power cut-off signal from the power supply monitoring circuit 920 to the input port, executing the payout control side power supply stop process, the input port The process of confirming the input state (step S932 in the power-off process) is repeatedly executed, and when the power-off signal input to the input port is released, the process returns to the state of executing the payout control process. Therefore, in the event of a momentary power interruption or the like, if the power supply is restored, the original control state can be automatically restored.

また、上記の実施の形態では、CPU56が、遊技制御処理における所定箇所に配置された遊技制御側電力供給確認処理(電源断処理におけるステップS450)によって入力ポートの入力状態を定期的に確認し、入力ポートに払出制御手段からの電源断確認信号が入力されたことに応じて遊技制御側電力供給停止時処理を実行し、遊技制御側電力供給停止時処理を実行した後、入力ポートの入力状態を確認する処理(電源断処理におけるステップS482)を繰り返し実行し、入力ポートに入力される電源断確認信号が解除されたときには、遊技制御処理を実行する状態に戻るように構成されているので、電源瞬断等が生じた場合に、電力供給が復旧すれば自動的に元の制御状態に復帰することができる。   In the above embodiment, the CPU 56 periodically checks the input state of the input port by the game control side power supply confirmation process (step S450 in the power-off process) arranged at a predetermined location in the game control process. The game control side power supply stop process is executed in response to the power-off confirmation signal from the payout control means being input to the input port, and after the game control side power supply stop process is executed, the input state of the input port Is repeatedly executed (step S482 in the power-off process), and when the power-off confirmation signal input to the input port is canceled, the game control process is returned to the state. When power supply is interrupted, the original control state can be automatically restored if the power supply is restored.

また、上述したように、払出制御手段が、電源監視手段からの電源断信号(電圧低下検出信号)を受信したときに、遊技制御手段に電源断確認信号(電圧低下検出確認信号)を送信するとともに、払出制御を実行する状態(払出制御処理を実行している状態)から払出制御の実行状態を保存するための払出制御側電力供給停止時処理(ステップS906〜ステップS931)を実行する状態に移行し、遊技制御手段が、払出制御手段からの電源断確認信号を受信したときに、遊技の進行を制御する状態(遊技制御処理を実行している状態)から遊技の進行状態を保存するための遊技制御側電力供給停止時処理(ステップS454〜ステップS481)を実行する状態に移行し、払出制御手段が、払出制御側電力供給停止時処理の実行中であっても、賞球制御信号によって指定された賞球の払出数を賞球未払出個数カウンタに加算する(ステップS906〜ステップS910)ように構成したので、バックアップ機能を簡素なハード構成で実現することができるとともに、払出数データの取りこぼしによる遊技者の不利益を防止することができる。   Further, as described above, when the payout control means receives a power-off signal (voltage drop detection signal) from the power supply monitoring means, it transmits a power-off confirmation signal (voltage drop detection confirmation signal) to the game control means. At the same time, the payout control side power supply stop process (steps S906 to S931) for saving the payout control execution state is executed from the state where the payout control is executed (state where the payout control process is executed). When the game control means receives the power-off confirmation signal from the payout control means, the game progress state is saved from the state in which the game progress is controlled (the state in which the game control process is executed). The game control side power supply stop process (steps S454 to S481) is executed, and the payout control means is executing the payout control side power supply stop process. In addition, since the configuration is such that the number of paid-out prize balls designated by the prize-ball control signal is added to the number-of-paid-out paid counter (steps S906 to S910), the backup function can be realized with a simple hardware configuration. In addition, it is possible to prevent the player from being disadvantaged due to the loss of the payout amount data.

また、上記の実施の形態では、賞球REQ信号によって払出要求を行い、賞球個数信号によって払出数が指定されたが、賞球個数信号によって払出要求および払出数の指定を行うように構成してもよい。その場合、払出制御手段は、賞球個数信号が出力されているときは、同時に払出要求がなされていると判定すればよい。そのような構成によれば、賞球REQ信号を用いる必要はない。   In the above embodiment, the payout request is made by the prize ball REQ signal and the payout number is specified by the prize ball number signal. However, the payout request and the payout number are designated by the prize ball number signal. May be. In this case, the payout control means may determine that a payout request is made at the same time when the prize ball number signal is output. According to such a configuration, it is not necessary to use the prize ball REQ signal.

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

さらに、上記の実施の形態では、払出制御手段は、払出個数カウントスイッチ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 payout count switch 301, but the game ball is based on the output signal of the payout motor position sensor. You may make it confirm that was paid out.

また、払出制御手段が、払出手段の駆動部(例えば払出モータ289、カム等)の動作量を検出し、その検出にもとづいて払い出しに関わる異常(払出ユニットエラー)が発生したか否かを判定するように構成されていてもよい。そのように構成すれば、払い出しに関わる異常を確実に検出することができる。   Also, the payout control means detects the operation amount of the drive means (for example, payout motor 289, cam, etc.) of the payout means, and determines whether or not an abnormality related to payout (payout unit error) has occurred based on the detected amount. It may be configured to. With such a configuration, it is possible to reliably detect an abnormality relating to payout.

また、上記の実施の形態では、球払出装置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 glass door frame 2 is in an open state and a detection signal is output from a door opening switch for detecting this.

また、上述した各実施の形態では、記録媒体処理装置(カードユニット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 variable display unit 9 based on the start winning is a combination of the predetermined symbols. It was a first type pachinko game machine that can be used, but if there is a prize in a predetermined area of an electric game that is released based on a start prize, a second type pachinko game that can give a predetermined game value to a player 3rd type pachinko game where a predetermined right is generated or continued when there is a prize for a predetermined electric game that is released when the stop symbol of the pattern variably displayed based on the machine or the start winning combination becomes a combination of the predetermined pattern The present invention can be applied even to a machine. Furthermore, the present invention is not limited to a pachinko gaming machine in which the game medium is a game ball, and the present invention is also provided in the case where the game medium is a slot machine such as a coin (medal) or the like and is provided with an electrical component for paying out the game medium. Can be applied.

また、上述した実施の形態においては、各種の信号のやりとりに関し、送信/受信や出力/入力という異なる表現を用いているが、送信と出力あるいは受信と入力は、ほぼ同じ意味で用いており、これらの表現は相互に入替可能であることは言うまでもない。なお、制御コマンドなどの多くの意味を持つ信号のやりとりについて送信/受信とするとともに、オン/オフの切り換えによって情報を伝達するための信号のやりとりについて出力/入力として、送信/受信と出力/入力とを使い分けしている場合もある。この場合においても、それらの表現は相互に入替可能である。   In the above-described embodiments, different expressions such as transmission / reception and output / input are used for the exchange of various signals, but transmission and output or reception and input are used in substantially the same meaning. It goes without saying that these expressions are interchangeable. In addition, the transmission / reception of signals having many meanings such as control commands is made transmission / reception, and the transmission / reception and output / input are made of transmission / reception of signals for transmitting information by switching on / off. There are also cases where they are used properly. Even in this case, these expressions are interchangeable.

また、上述した実施の形態において、信号のオン/オフ状態は、ハイレベル状態/ローレベル状態であってもよく、逆に、ローレベル状態/ハイレベル状態であってもよい。   In the above-described embodiment, the on / off state of the signal may be a high level state / low level state, and conversely, may be a low level state / high level state.

なお、上述した実施の形態には、以下に示す(1)〜(5)の遊技機の構成も示されている。
(1)遊技制御手段は、遊技側接続確認信号出力手段により遊技側接続確認信号をオン状態としたあとに、払出数信号送信手段による払出数信号の送信制御を行う遊技機。このように構成されているので、払出数信号の取りこぼしが発生してしまうことを防止することができる。
In the embodiment described above, the configurations of the gaming machines (1) to (5) shown below are also shown.
(1) A gaming machine in which the game control means performs transmission control of the payout number signal by the payout number signal transmission means after the game side connection confirmation signal output means turns on the game side connection confirmation signal. With this configuration, it is possible to prevent the payout number signal from being missed.

(2)信号線接続手段によって接続される信号線によって伝送される信号には、払出数信号と、遊技側接続確認信号と、払出側接続確認信号と、が含まれ、払出側接続確認信号出力手段は、遊技機への電力が供給されたことにもとづいて払出制御を実行可能な状態となったあとは、払出側接続確認信号のオン状態を維持する遊技機。このように構成されているので、信号線接続手段による信号の接続が確立されたときに、直ちに遊技制御手段を立ち上がらせることができる。   (2) The signal transmitted by the signal line connected by the signal line connection means includes a payout number signal, a game side connection confirmation signal, and a payout side connection confirmation signal, and outputs a payout side connection confirmation signal. The means is a gaming machine that maintains the on-state of the payout side connection confirmation signal after the payout control can be executed based on the supply of power to the gaming machine. Since it is configured in this way, the game control means can be immediately started up when the signal connection by the signal line connection means is established.

(3)払出制御手段が、払出制御を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、払出制御の制御状態をエラー状態に移行させる払出側エラー状態設定手段と、払出側エラー状態設定手段によりエラー状態に移行したときに、その旨を報知する払出側エラー報知手段(例えばエラー表示用LED374)とを含み、遊技制御手段が、遊技制御を開始したあとに払出側接続確認信号出力手段からの払出側接続確認信号がオフ状態となったことに応じて、遊技制御の制御状態をエラー状態に移行させる遊技側エラー状態設定手段と、遊技側エラー状態設定手段によりエラー状態に移行したときに、その旨を報知する遊技側エラー報知手段(例えばエラー表示用ランプ44)とを含む遊技機。このように、遊技制御手段側と払出制御手段側とで別個の報知手段によってエラーを報知する構成としているので、エラー発生の原因を容易に把握することができる。   (3) The payout control means shifts the payout control state to an error state in response to the game side connection confirmation signal output from the game side connection confirmation signal output means being turned off after the payout control is started. A payout-side error state setting means, and a payout-side error notification means (for example, an error display LED 374) for notifying that when the payout-side error state setting means shifts to an error state. A game-side error state setting means for shifting the control state of the game control to an error state in response to the payout-side connection confirmation signal output from the payout-side connection confirmation signal output means being turned off after starting the game control; And a game-side error notification means (for example, an error display lamp 44) for notifying that when the game-side error state setting means shifts to an error state. . As described above, since the error is notified by the separate notification means on the game control means side and the payout control means side, the cause of the error occurrence can be easily grasped.

(4)遊技側接続確認信号は、第1接続確認信号と、第2接続確認信号とで構成され、前記第1接続確認信号と前記第2接続確認信号との何れかがオフ状態であるときは前記遊技側接続確認信号がオフ状態であることを意味するとともに、前記第1接続確認信号および前記第2接続確認信号が共にオン状態であるときは前記遊技側接続確認信号がオン状態であることを意味し、信号線接続手段は、遊技制御手段と払出制御手段とに信号線を接続するための複数のピンを有するコネクタを備え、前記コネクタが有する複数のピンは、前記第1接続確認信号の伝送に用いられるピンと前記第2接続確認信号の伝送に用いられるピンとの間に、払出数信号の伝送に用いられるピンが位置するように、伝送する各信号が割り当てられることを特徴とする遊技機(図19参照、)。このように構成すれば、通信に関する異常を正確に検出することができ、遊技制御手段での未払出の景品遊技媒体数の管理をより確実に行うことができる。   (4) When the game side connection confirmation signal is composed of a first connection confirmation signal and a second connection confirmation signal, and either the first connection confirmation signal or the second connection confirmation signal is in an off state. Means that the game side connection confirmation signal is in an off state, and when both the first connection confirmation signal and the second connection confirmation signal are in an on state, the game side connection confirmation signal is in an on state. The signal line connecting means includes a connector having a plurality of pins for connecting the signal line to the game control means and the payout control means, and the plurality of pins of the connector includes the first connection confirmation Each signal to be transmitted is assigned such that a pin used for transmission of a payout number signal is located between a pin used for signal transmission and a pin used for transmission of the second connection confirmation signal. Gaming machine (see FIG. 19). If comprised in this way, the abnormality regarding communication can be detected correctly, and management of the number of unpaid prize game media in a game control means can be performed more reliably.

(5)払出側接続確認信号は、第3接続確認信号と、第4接続確認信号とで構成され、前記第3接続確認信号と前記第4接続確認信号との何れかがオフ状態であるときは前記払出側接続確認信号がオフ状態であることを意味するとともに、前記第3接続確認信号および前記第4接続確認信号が共にオン状態であるときは前記払出側接続確認信号がオン状態であることを意味し、信号線接続手段は、遊技制御手段と払出制御手段とに信号線を接続するための複数のピンを有するコネクタを備え、前記コネクタが有する複数のピンは、前記第3接続確認信号の伝送に用いられるピンと前記第4接続確認信号の伝送に用いられるピンとの間に、払出数信号の伝送に用いられるピンが位置するように、伝送する各信号が割り当てられることを特徴とする遊技機(図51参照)。このように構成すれば、通信に関する異常を正確に検出することができ、遊技制御手段での未払出の景品遊技媒体数の管理をより確実に行うことができる。   (5) The payout side connection confirmation signal is composed of a third connection confirmation signal and a fourth connection confirmation signal, and when either the third connection confirmation signal or the fourth connection confirmation signal is in an OFF state. Means that the payout side connection confirmation signal is in an off state, and when both the third connection confirmation signal and the fourth connection confirmation signal are in an on state, the payout side connection confirmation signal is in an on state. The signal line connecting means includes a connector having a plurality of pins for connecting the signal line to the game control means and the payout control means, and the plurality of pins of the connector includes the third connection confirmation Each signal to be transmitted is assigned such that a pin used for transmission of a payout number signal is located between a pin used for signal transmission and a pin used for transmission of the fourth connection confirmation signal. Gaming machine (see FIG. 51). If comprised in this way, the abnormality regarding communication can be detected correctly, and management of the number of unpaid prize game media in a game control means can be performed more reliably.

本発明は、パチンコ遊技機などの遊技に適用可能であり、特に、遊技制御手段と払出制御手段とが別個に設けられる遊技機において、入賞が発生したときに遊技媒体の付与を迅速に行い、遊技制御手段での未払出の遊技媒体数の管理を、基板の実装面積を広く確保することなく、低コストかつマイクロコンピュータの特性に左右されない構成で確実に行うために有用である。   The present invention is applicable to a game such as a pachinko gaming machine, and in particular, in a gaming machine in which a game control means and a payout control means are provided separately, when a winning occurs, a game medium is quickly given, This is useful for reliably managing the number of unpaid game media in the game control means with a low cost and a configuration that does not depend on the characteristics of the microcomputer without securing a large board mounting area.

パチンコ遊技機を正面からみた正面図である。It is the front view which looked at the pachinko game machine from the front. 遊技機を裏面から見た背面図である。It is the rear view which looked at the gaming machine from the back. 球払出装置を示す正面図および断面図である。It is the front view and sectional drawing which show a ball dispensing apparatus. 遊技制御基板(主基板)の回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of a game control board (main board). 払出制御基板の回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of a payout control board. 演出制御基板、ランプドライバ基板および音声制御基板の構成例を示すブロック図である。It is a block diagram showing a configuration example of an effect control board, a lamp driver board and a sound control board. 電源基板の構成例を示すブロック図である。It is a block diagram which shows the structural example of a power supply board. 遊技制御手段における出力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the example of bit allocation of the output port in a game control means. 遊技制御手段における出力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the example of bit allocation of the output port in a game control means. 遊技制御手段における入力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the bit allocation example of the input port in a game control means. 主基板におけるCPUが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which CPU in a main board | substrate performs. 主基板におけるCPUが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which CPU in a main board | substrate performs. 遊技機に対して電力供給が開始されたとき、および電力供給が停止したときのマイクロコンピュータの動作の様子を示すタイミング図である。FIG. 6 is a timing chart showing how the microcomputer operates when power supply to the gaming machine is started and when power supply is stopped. タイマ割込処理を示すフローチャートである。It is a flowchart which shows a timer interruption process. 電源断処理を示すフローチャートである。It is a flowchart which shows a power-off process. 電源断処理を示すフローチャートである。It is a flowchart which shows a power-off process. 制御信号の内容の一例を示す説明図である。It is explanatory drawing which shows an example of the content of a control signal. 制御信号の送受信に用いられる信号線等を示すブロック図である。It is a block diagram which shows the signal wire | line etc. which are used for transmission / reception of a control signal. 制御信号の送受信に用いられる信号線の基板間の接続状態を示すブロック図である。It is a block diagram which shows the connection state between the boards of the signal wire | line used for transmission / reception of a control signal. 払出制御信号の出力の仕方の一例を示すタイミング図である。It is a timing diagram which shows an example of how to output a payout control signal. 図20における一部を拡大して示すタイミング図である。It is a timing diagram which expands and shows a part in FIG. 接続確認信号の出力状態による払出許可/禁止状態の変化の例を示すタイミング図である。It is a timing chart showing an example of change of the payment permission / prohibition state depending on the output state of the connection confirmation signal. 賞球処理を示すフローチャートである。It is a flowchart which shows a prize ball process. 賞球制御処理を示すフローチャートである。It is a flowchart which shows a prize ball control process. 賞球待ち処理1を示すフローチャートである。It is a flowchart which shows prize ball waiting processing 1. 賞球送信処理を示すフローチャートである。It is a flowchart which shows a prize ball transmission process. 賞球待ち処理2を示すフローチャートである。It is a flowchart which shows the winning ball waiting process 2. FIG. 払出制御手段における出力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the bit allocation example of the output port in a payout control means. 払出制御手段における入力ポートのビット割り当て例を示す説明図である。It is explanatory drawing which shows the example of bit allocation of the input port in a payout control means. プリペイドカードユニットと遊技機との間の通信を説明するためのタイミング図である。It is a timing diagram for demonstrating communication between a prepaid card unit and a game machine. 払出制御用CPUが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which CPU for payout control performs. 払出制御用CPUが実行するタイマ割込処理を示すフローチャートである。It is a flowchart which shows the timer interruption process which CPU for payout control performs. 払出制御用CPUが実行する 電源断処理を示すフローチャートである。It is a flowchart which shows the power-off process which CPU for payout control performs. 払出制御用CPUが実行する電源断処理を示すフローチャートである。It is a flowchart which shows the power-off process which CPU for payout control performs. 払出制御用CPUが実行する電源断処理を示すフローチャートである。It is a flowchart which shows the power-off process which CPU for payout control performs. 電源断信号と電源断確認信号の出力タイミングおよびクリアスイッチ信号とクリア信号の出力タイミングの例を示すタイミング図である。It is a timing chart showing an example of output timing of a power-off signal and a power-off confirmation signal, and output timing of a clear switch signal and a clear signal. 主制御通信処理を示すフローチャートである。It is a flowchart which shows main control communication processing. 主制御通信通常処理において賞球個数信号を入力ポートを介して入力するための条件を示す説明図である。It is explanatory drawing which shows the conditions for inputting a prize ball number signal via an input port in main control communication normal processing. 主制御通信通常処理を示すフローチャートである。It is a flowchart which shows main control communication normal processing. 主制御通信終了処理を示すフローチャートである。It is a flowchart which shows a main control communication end process. 賞球球貸し制御処理を示すフローチャートである。It is a flowchart which shows a prize ball lending control process. 払出開始待ち処理を示すフローチャートである。It is a flowchart which shows the payout start waiting process. 払出モータ停止待ち処理を示すフローチャートである。It is a flowchart which shows a payout motor stop waiting process. 払出通過待ち処理を示すフローチャートである。It is a flowchart which shows payout passage waiting processing. 払出通過待ち処理を示すフローチャートである。It is a flowchart which shows payout passage waiting processing. 払出通過待ち処理を示すフローチャートである。It is a flowchart which shows payout passage waiting processing. エラーの種類とエラー表示用LEDの表示との関係等を示す説明図である。It is explanatory drawing which shows the relationship between the kind of error, and the display of LED for an error display. エラー処理を示すフローチャートである。It is a flowchart which shows an error process. エラー処理を示すフローチャートである。It is a flowchart which shows an error process. 情報出力処理の賞球信号の出力に関わる部分を示すフローチャートである。It is a flowchart which shows the part in connection with the output of the prize ball signal of an information output process. 制御信号の送受信に用いられる信号線の基板間の接続状態の他の例を示すブロック図である。It is a block diagram which shows the other example of the connection state between the boards of the signal wire | line used for transmission / reception of a control signal. 制御信号の送受信に用いられる信号線の基板間の接続状態のさらに他の例を示すブロック図である。It is a block diagram which shows the further another example of the connection state between the boards of the signal wire | line used for transmission / reception of a control signal.

符号の説明Explanation of symbols

1 パチンコ遊技機
31 遊技制御基板(主基板)
37 払出制御基板
56 CPU
69A,376A コネクタ(ケーブル用)
69B コネクタ(主基板搭載用)
371 払出制御用CPU
376B コネクタ(払出制御基板搭載用)
1 Pachinko machine 31 Game control board (main board)
37 Dispensing control board 56 CPU
69A, 376A connector (for cable)
69B connector (for main board mounting)
371 CPU for payout control
376B connector (for loading control board)

Claims (9)

遊技媒体を用いて遊技者が所定の遊技を行うことが可能であり、遊技により払出条件が成立したことにもとづいて景品として景品遊技媒体を払い出す遊技機であって、
遊技の進行を制御する遊技制御を実行する遊技制御手段と、
前記景品遊技媒体の払い出しを行う払出手段と、
前記払出手段の制御を含む払出制御を実行する払出制御手段と、
前記遊技制御手段と前記払出制御手段との間で伝送される信号の信号線を複数本まとめて接続する信号線接続手段とを備え、
前記遊技制御手段は、
前記払出条件の成立にもとづく払い出すべき景品遊技媒体の数を特定可能な景品遊技媒体数データを記憶する遊技制御用記憶手段と、
前記景品遊技媒体数データにもとづいて、所定数の景品遊技媒体の払出数を指定する払出数信号を前記払出制御手段に対して送信する払出数信号送信手段と、
前記払出数信号送信手段が払出数信号を送信したことに応じて、前記景品遊技媒体数データから前記払出数信号で指定した払出数に対応する値を減算する減算処理を行う景品遊技媒体数データ減算手段とを含み、
前記払出制御手段は、
遊技機への電力が供給されたことにもとづいて前記遊技制御手段からの制御信号を受け付ける制御信号受付制御を開始したあとに、払出側接続確認信号を前記遊技制御手段に対してオン状態とする払出側接続確認信号出力手段と、
前記払出数信号送信手段により送信された払出数信号により指定された景品遊技媒体の払出数のうち未だ払い出されていない未払出の景品遊技媒体の数を示す未払出数データを含む前記払出制御によって変動する変動データを記憶する払出制御用記憶手段と、
前記払出制御用記憶手段に記憶されている前記未払出数データにもとづいて、前記払出手段を制御して景品遊技媒体を払い出させる払出処理を実行する景品遊技媒体払出制御手段とを含み、
前記遊技制御手段は、
遊技機への電力が供給されたことにもとづいて遊技制御を実行可能な状態となったあと、前記払出側接続確認信号出力手段により払出側接続確認信号がオン状態とされたことが確認されたことを条件に、遊技側接続確認信号を前記払出制御手段に対してオン状態とする遊技側接続確認信号出力手段を含み、
前記遊技側接続確認信号出力手段により遊技側接続確認信号をオン状態としたあとに、遊技制御の実行を開始し、
前記払出数信号と、前記遊技側接続確認信号と、前記払出側接続確認信号とは、前記信号線接続手段によって接続される信号線によって伝送され、
前記払出制御手段は、前記払出側接続確認信号出力手段により払出側接続確認信号をオン状態としたあと、あらかじめ定められた監視期間内に、前記遊技側接続確認信号出力手段により遊技側接続確認信号がオン状態とされたことが確認されたことを条件に、払出制御の実行を開始する
ことを特徴とする遊技機。
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 game control for controlling the progress of the game;
A payout means for paying out the prize game medium;
Payout control means for executing payout control including control of the payout means;
Signal line connecting means for connecting together a plurality of signal lines of signals transmitted between the game control means and the payout control means;
The game control means includes
Game control storage means for storing premium game medium number data capable of specifying the number of premium game media to be paid out based on establishment of the payout condition;
Based on the prize game medium number data, a payout number signal transmitting means for transmitting a payout number signal designating a payout number of a predetermined number of prize game media to the payout control means;
The prize game medium number data for performing a subtraction process for subtracting a value corresponding to the number of payouts designated by the payout number signal from the prize game medium number data in response to the payout number signal transmitting means transmitting the payout number signal. Subtracting means,
The payout control means includes
After starting control signal reception control for receiving a control signal from the game control means based on the supply of power to the gaming machine, the payout side connection confirmation signal is turned on with respect to the game control means. A delivery side connection confirmation signal output means;
The payout control including unpaid number data indicating the number of unpaid premium game media that have not been paid out of the payout number of premium game media specified by the payout number signal transmitted by the payout number signal transmission means Payout control storage means for storing fluctuation data that fluctuates according to
A prize game medium payout control means for executing a payout process for controlling the payout means and paying out a prize game medium based on the unpaid number data stored in the payout control storage means;
The game control means includes
Based on the supply of power to the gaming machine, after the game control can be executed, it has been confirmed that the payout side connection confirmation signal is turned on by the payout side connection confirmation signal output means. On the condition, including a game side connection confirmation signal output means for turning on the game side connection confirmation signal with respect to the payout control means,
After turning on the game side connection confirmation signal by the game side connection confirmation signal output means, start execution of the game control,
The payout number signal, the game side connection confirmation signal, and the payout side connection confirmation signal are transmitted by a signal line connected by the signal line connection means,
The payout control means turns on the payout side connection confirmation signal by the payout side connection confirmation signal output means and then turns the game side connection confirmation signal output means into the game side connection confirmation signal within a predetermined monitoring period. A game machine characterized in that execution of payout control is started on the condition that it has been confirmed that is turned on.
払出制御手段は、
払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、前記払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、
前記払出側エラー状態設定手段によってエラー状態に移行されたときに、景品遊技媒体払出制御手段による払出処理の実行を停止する払出停止手段とを備えた
請求項1記載の遊技機。
Withdrawal control means
A payout-side error state in which the execution state of the payout control is shifted to an error state in response to the game-side connection confirmation signal output from the game-side connection confirmation signal output means being turned off after execution of the payout control is started. Setting means;
The gaming machine according to claim 1, further comprising payout stopping means for stopping execution of the payout processing by the prize game medium payout control means when the payout side error state setting means shifts to an error state.
払出制御手段は、
払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、前記払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、
払出数信号送信手段により送信された払出数信号を取り込む取込処理を実行する取込手段と、
前記取込手段によって取り込まれた払出数信号によって指定された景品遊技媒体の払出数を払出制御用記憶手段に記憶された未払出数データに加算する未払出数データ加算手段と、
前記払出側エラー状態設定手段によってエラー状態に移行されたときに、前記取込手段による取込処理の実行を停止する取込停止手段とを備えた
請求項1または請求項2記載の遊技機。
Withdrawal control means
A payout-side error state in which the execution state of the payout control is shifted to an error state in response to the game-side connection confirmation signal output from the game-side connection confirmation signal output means being turned off after execution of the payout control is started. Setting means;
A take-in means for executing a take-in process for taking in the pay-out number signal transmitted by the pay-out number signal transmitting means;
Unpaid number data adding means for adding the number of payouts of the premium game medium designated by the payout number signal fetched by the fetching means to the unpaid number data stored in the payout control storage means;
The gaming machine according to claim 1, further comprising an acquisition stop unit that stops execution of an acquisition process by the acquisition unit when the payout side error state setting unit shifts to an error state.
遊技制御手段は、
遊技制御の実行を開始したあとに払出側接続確認信号出力手段からの払出側接続確認信号がオフ状態となったことに応じて、前記遊技制御の実行状態をエラー状態に移行させる遊技側エラー状態設定手段と、
前記遊技側エラー状態設定手段によってエラー状態に移行されたときに、払出数信号送信手段による払出数信号の送信を停止する送信停止手段とを備えた
請求項1から請求項3のうちいずれかに記載の遊技機。
The game control means
A game-side error state that shifts the execution state of the game control to an error state in response to the payout-side connection confirmation signal output means from the payout-side connection confirmation signal output means being turned off after the execution of the game control is started. Setting means;
The transmission stop means for stopping transmission of the payout number signal by the payout number signal transmission means when the game side error state setting means shifts to an error state. The gaming machine described.
払出制御手段は、
払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、前記払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段を含み、
払出側接続確認信号出力手段は、前記払出側エラー状態設定手段によってエラー状態に移行されたときに、払出側接続確認信号をオフ状態とする
請求項1から請求項4のうちいずれかに記載の遊技機。
Withdrawal control means
A payout-side error state in which the execution state of the payout control is shifted to an error state in response to the game-side connection confirmation signal output from the game-side connection confirmation signal output means being turned off after execution of the payout control is started. Including setting means,
The payout-side connection confirmation signal output means turns off the payout-side connection confirmation signal when the payout-side error state setting means shifts to an error state. Gaming machine.
景品遊技媒体の払い出しを検出し、払出検出信号を出力する払出検出手段を備え、
払出制御手段は、
払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、前記払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、
前記払出検出手段が景品遊技媒体の払い出しを検出する毎に、払出制御用記憶手段に記憶された未払出数データを減算する未払出数データ減算手段とを含み、
前記未払出数データ減算手段は、前記払出側エラー状態設定手段によってエラー状態に移行されていても、前記払出検出手段が景品遊技媒体の払い出しを検出する毎に前記未払出数データを減算する
請求項1から請求項5のうちいずれかに記載の遊技機。
A payout detecting means for detecting payout of a prize game medium and outputting a payout detection signal;
Withdrawal control means
A payout-side error state in which the execution state of the payout control is shifted to an error state in response to the game-side connection confirmation signal output from the game-side connection confirmation signal output means being turned off after execution of the payout control is started. Setting means;
An unpaid-out number data subtracting means for subtracting unpaid-out number data stored in the payout control storage means each time the payout detecting means detects a payout of a prize game medium;
The unpaid-out number data subtracting means subtracts the unpaid-out number data every time the payout detecting means detects the payout of the prize game medium even when the payout-side error state setting means has shifted to an error state. The gaming machine according to any one of claims 1 to 5.
景品遊技媒体の払い出しを検出し、払出検出信号を出力する払出検出手段を備え、
払出制御手段は、
払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、前記払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、
前記払出検出手段が所定数の景品遊技媒体の払い出しを検出する毎に、景品遊技媒体信号を遊技機外部に向けて出力する景品遊技媒体信号出力手段とを含み、
前記景品遊技媒体信号出力手段は、前記払出側エラー状態設定手段によってエラー状態に移行されていても、前記払出検出手段が所定数の景品遊技媒体の払い出しを検出する毎に前記景品遊技媒体信号を出力する
請求項1から請求項6のうちいずれかに記載の遊技機。
A payout detecting means for detecting payout of a prize game medium and outputting a payout detection signal;
Withdrawal control means
A payout-side error state in which the execution state of the payout control is shifted to an error state in response to the game-side connection confirmation signal output from the game-side connection confirmation signal output means being turned off after execution of the payout control is started. Setting means;
A prize game medium signal output means for outputting a prize game medium signal to the outside of the gaming machine each time the payout detection means detects a payout of a predetermined number of prize game media;
The prize game medium signal output means outputs the prize game medium signal each time the payout detection means detects the payout of a predetermined number of prize game media, even if the payout error state setting means has shifted to an error state. The game machine according to any one of claims 1 to 6.
払出制御手段は、
払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、前記払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、
前記払出側エラー状態設定手段によってエラー状態に移行されているときに、前記遊技側接続確認信号出力手段からの遊技側接続確認信号がオン状態となったことに応じて、前記エラー状態を解除するエラー状態解除手段とを含む
請求項1から請求項7のうちいずれかに記載の遊技機。
Withdrawal control means
A payout-side error state in which the execution state of the payout control is shifted to an error state in response to the game-side connection confirmation signal output from the game-side connection confirmation signal output means being turned off after execution of the payout control is started. Setting means;
The error state is canceled when the game side connection confirmation signal output means from the game side connection confirmation signal output means is turned on when the payout side error state setting means has shifted to the error state. The game machine according to any one of claims 1 to 7, further comprising an error state canceling unit.
貸出要求による払出条件の成立にもとづいて貸し遊技媒体を払い出す遊技機であって、
払出制御手段は、
払出制御の実行を開始したあとに遊技側接続確認信号出力手段からの遊技側接続確認信号がオフ状態となったことに応じて、前記払出制御の実行状態をエラー状態に移行させる払出側エラー状態設定手段と、
前記貸出要求による払出条件が成立したことにもとづいて、払出手段を制御して貸し遊技媒体を払い出させる払出処理を実行する貸し遊技媒体払出制御手段とを含み、
前記貸し遊技媒体払出制御手段は、前記払出側エラー状態設定手段によってエラー状態に移行されていても、前記貸出要求による払出条件の成立にもとづく払出処理を実行する
請求項1から請求項8のうちのいずれかに記載の遊技機。
A gaming machine that pays out rental game media based on the establishment of a payment condition according to a loan request,
Withdrawal control means
A payout-side error state in which the execution state of the payout control is shifted to an error state in response to the game-side connection confirmation signal output from the game-side connection confirmation signal output means being turned off after execution of the payout control is started. Setting means;
A rental game medium payout control means for executing a payout process for controlling the payout means and paying out the loaned game medium based on the fact that the payout condition by the loan request is satisfied;
The lending game medium payout control means executes a payout process based on establishment of a payout condition by the lending request even if the payout side error state setting means has shifted to an error state. A gaming machine according to any one of the above.
JP2004081616A 2004-03-19 2004-03-19 Game machine Expired - Fee Related JP4271609B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004081616A JP4271609B2 (en) 2004-03-19 2004-03-19 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004081616A JP4271609B2 (en) 2004-03-19 2004-03-19 Game machine

Publications (2)

Publication Number Publication Date
JP2005261776A true JP2005261776A (en) 2005-09-29
JP4271609B2 JP4271609B2 (en) 2009-06-03

Family

ID=35086908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004081616A Expired - Fee Related JP4271609B2 (en) 2004-03-19 2004-03-19 Game machine

Country Status (1)

Country Link
JP (1) JP4271609B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013081513A (en) * 2011-10-06 2013-05-09 Sophia Co Ltd Game machine
JP2013081510A (en) * 2011-10-06 2013-05-09 Sophia Co Ltd Game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013081513A (en) * 2011-10-06 2013-05-09 Sophia Co Ltd Game machine
JP2013081510A (en) * 2011-10-06 2013-05-09 Sophia Co Ltd Game machine

Also Published As

Publication number Publication date
JP4271609B2 (en) 2009-06-03

Similar Documents

Publication Publication Date Title
JP4350555B2 (en) Game machine
JP4350557B2 (en) Game machine
JP4554249B2 (en) Game machine
JP4302041B2 (en) Game machine
JP4271609B2 (en) Game machine
JP4494035B2 (en) Game machine
JP4322771B2 (en) Game machine
JP4494039B2 (en) Game machine
JP4361388B2 (en) Game machine
JP4489562B2 (en) Game machine
JP4554240B2 (en) Game machine
JP2005261768A (en) Game machine
JP4397321B2 (en) Game machine
JP4322773B2 (en) Game machine
JP4322197B2 (en) Game machine
JP4372652B2 (en) Game machine
JP4226501B2 (en) Game machine
JP2005198717A (en) Game machine
JP2006129954A (en) Game machine
JP2005137616A (en) Game machine
JP2005261774A (en) Game machine
JP2005058529A (en) Game machine
JP2005137602A (en) Game machine
JP2005137614A (en) Game machine
JP2005137615A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050725

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

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080812

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090115

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

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

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

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130306

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130306

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140306

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees