JP5987925B2 - Game machine - Google Patents
Game machine Download PDFInfo
- Publication number
- JP5987925B2 JP5987925B2 JP2015009139A JP2015009139A JP5987925B2 JP 5987925 B2 JP5987925 B2 JP 5987925B2 JP 2015009139 A JP2015009139 A JP 2015009139A JP 2015009139 A JP2015009139 A JP 2015009139A JP 5987925 B2 JP5987925 B2 JP 5987925B2
- Authority
- JP
- Japan
- Prior art keywords
- prize ball
- control board
- initialization
- command
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Pinball Game Machines (AREA)
Description
本発明は、パチンコ機やスロットマシンに代表される遊技機に関するものである。 The present invention relates to gaming machines represented by pachinko machines and slot machines.
パチンコ機等の遊技機の遊技の制御は、主に主制御基板により行われる。この主制御基板には、賞球や貸し球の払い出し制御を行う払出制御基板や、効果音の出力制御を行う効果音制御基板、図柄の変動表示等の表示制御を行う表示用制御基板などが接続されている。これら各制御基板の制御は、主制御基板から各制御基板へ一方向に送信されるコマンド等により行われる。 Game control of a gaming machine such as a pachinko machine is mainly performed by a main control board. The main control board includes a payout control board that performs payout control of prize balls and rental balls, a sound effect control board that performs output control of sound effects, and a display control board that performs display control such as symbol variation display. It is connected. Control of each of these control board is performed by a command or the like transmitted from the main control board in one direction to the control board.
このような遊技機においては、停電の発生等によって遊技機の電源が突然切断された場合への対応が必要である。In such a gaming machine, it is necessary to cope with the case where the power source of the gaming machine is suddenly cut off due to the occurrence of a power failure or the like.
本発明は上記例示した事情等を鑑みてなされたものであり、停電に対応することができる遊技機を提供することを目的としている。 The present invention has been made in view of the above-described circumstances and the like, and an object thereof is to provide a gaming machine that can cope with a power failure .
この目的を達成するために請求項1記載の遊技機は、遊技の制御を行う主制御手段と、その主制御手段から送信されるコマンドに基づいて所定の制御を行う従制御手段とを備えており、前記主制御手段は、遊技機の電源断中においても記憶内容を保持し続けるようバックアップ電源手段に接続される記憶手段と、遊技機の電源投入後に前記記憶手段の記憶内容を使用して遊技を実行する遊技実行手段と、遊技機の電源投入後に前記記憶手段の記憶内容を初期化する初期化手段と、前記遊技実行手段による遊技の実行と前記初期化手段による初期化とを切替可能な切替手段と、前記初期化手段による初期化が行われる場合に、前記従制御手段に主初期化時コマンドを送信する主初期化時コマンド送信手段とを備え、前記初期化手段と前記主初期化時コマンド送信手段とは、一のCPUが含み、前記従制御手段は、遊技機の電源投入後に従制御手段が有する従側記憶手段を初期化する従側初期化手段と、前記主制御手段が送信する主初期化時コマンドを受信した場合に、主初期化時コマンド受信時処理を実行する手段とを備え、その主初期化時コマンド受信時処理は、前記従側初期化手段による前記従側記憶手段の初期化処理を含んで構成されており、前記主制御手段は、更に、前記主初期化時コマンド送信手段により前記従制御手段へ主初期化時コマンドを送信した場合に、前記従側初期化手段による前記従側記憶手段の初期化処理を完了するための時間をウエイトするウエイト手段を備えている。
In order to achieve this object, the gaming machine according to
本発明の遊技機によれば、停電に対応することができる。 According to the gaming machine of the present invention, it is possible to cope with a power failure.
以下、本発明の好ましい実施例について、添付図面を参照して説明する。本実施例では、遊技機の一例として弾球遊技機の一種であるパチンコ機、特に、第1種パチンコ遊技機を用いて説明する。なお、本発明を第3種パチンコ遊技機や、コイン遊技機、スロットマシン等の他の遊技機に用いることは、当然に可能である。 Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. In this embodiment, a pachinko machine that is a kind of a ball game machine, in particular, a first type pachinko game machine will be described as an example of the game machine. Of course, the present invention can be used for other gaming machines such as a third-class pachinko gaming machine, a coin gaming machine, and a slot machine.
図1は、本実施例のパチンコ機Pの遊技盤の正面図である。遊技盤1の周囲には、球が入賞することにより5個から15個の球が払い出される複数の入賞口2が設けられている。また、遊技盤1の中央には、複数種類の識別情報としての図柄などを表示する液晶(LCD)ディスプレイ3が設けられている。このLCDディスプレイ3の表示画面は横方向に3分割されており、3分割された各表示領域において、それぞれ右から左へ横方向にスクロールしながら図柄の変動表示が行われる。
FIG. 1 is a front view of a game board of a pachinko machine P according to the present embodiment. Around the
LCDディスプレイ3の下方には、図柄作動口(第1種始動口)4が設けられ、球がこの図柄作動口4を通過することにより、前記したLCDディスプレイ3の変動表示が開始される。図柄作動口4の下方には、特定入賞口(大入賞口)5が設けられている。この特定入賞口5は、LCDディスプレイ3の変動後の表示結果が予め定められた図柄の組み合わせの1つと一致する場合に、大当たりとなって、球が入賞しやすいように所定時間(例えば、30秒経過するまで、あるいは、球が10個入賞するまで)開放される。
Below the
この特定入賞口5内には、Vゾーン5aが設けられており、特定入賞口5の開放中に、球がVゾーン5a内を通過すると、継続権が成立して、特定入賞口5の閉鎖後、再度、その特定入賞口5が所定時間(又は、特定入賞口5に球が所定個数入賞するまで)開放される。この特定入賞口5の開閉動作は、最高で16回(16ラウンド)繰り返し可能にされており、開閉動作の行われ得る状態が、いわゆる所定の遊技価値の付与された状態(特別遊技状態)である。
A V
図2は、パチンコ機Pの電気的構成を示したブロック図であり、特に、パチンコ機Pの遊技内容の制御を行う主制御基板Cと、有価物体としての賞球や貸し球の払出制御を行う払出制御基板Hとの電気的構成を示したブロック図である。 FIG. 2 is a block diagram showing the electrical configuration of the pachinko machine P. In particular, the main control board C that controls the game contents of the pachinko machine P, and the payout control of prize balls and rental balls as valuable objects. It is the block diagram which showed the electrical structure with the payout control board | substrate H to perform.
パチンコ機Pの主制御基板Cは、演算装置であるMPU11と、そのMPU11により実行される各種の制御プログラムや固定値データ等を記憶したROM12と、ワークメモリ等として使用されるRAM13とを備えている。図3から図6のフローチャートに示すプログラムは、制御プログラムの一部としてROM12内に記憶されている。またRAM13には、賞球バッファ13aと、賞球ポインタ13bと、残賞球数カウンタ13cと、不足賞球チェック済フラグ13dと、不足賞球チェックカウンタ13eと、バックアップエリア13fとが設けられると共に、バックアップ用のコンデンサ(電池)13xが接続されてバックアップ可能に構成されている。よって、RAM13の各値は、パチンコ機Pの電源が切断された場合にも保持(バックアップ)される。
The main control board C of the pachinko machine P includes an
賞球バッファ13aは、遊技領域1へ打ち込まれた球が普通入賞口2等へ入賞した場合に、払い出される賞球数を記憶するバッファである。払い出される賞球数は入賞した球毎に賞球バッファ13aへ記憶されるので、賞球バッファ13aは複数バイトで構成されている。賞球バッファ13aに記憶された賞球数のデータは、賞球コマンドとして払出制御基板Hへ送信されると、賞球バッファ13aから消去される。具体的には、0番目の賞球バッファ13aに記憶される賞球数を払出制御基板Hへ送信した後、1番目以降の賞球バッファ13aの値を小さいアドレス側へ順に1バイトずつシフトすることにより、0番目の賞球バッファ13aの値が消去される。
The winning ball buffer 13a is a buffer for storing the number of winning balls to be paid out when a ball that has been driven into the
ここで、賞球コマンドとは、払い出される賞球数を払出制御基板Hへ指示するためのコマンドであり、2バイトで構成されている。賞球コマンドの1バイト目のデータは、そのコマンドが賞球コマンドであることを示すためのデータ(例えば「A0H」)とされており、また、2バイト目のデータは払い出される賞球数を示すデータとされている。1回の入賞に対する最大の賞球数は15球であるので、その最大賞球数に対応した「01H」〜「0FH」の15種類のデータが賞球コマンドの2バイト目のデータとされている。 Here, the prize ball command is a command for instructing the payout control board H of the number of prize balls to be paid out, and is composed of 2 bytes. The first byte data of the prize ball command is data (for example, “A0H”) indicating that the command is a prize ball command, and the second byte data indicates the number of prize balls to be paid out. The data is shown. Since the maximum number of winning balls for one winning is 15 balls, 15 types of data “01H” to “0FH” corresponding to the maximum number of winning balls are used as the second byte data of the winning ball command. Yes.
なお、賞球コマンドを1バイトで構成するようにしても良い。前記した通り、1回の入賞に対する最大の賞球数は15球であるので、賞球コマンドを1バイトで構成する場合には、その最大賞球数に対応した「01H」〜「0FH」の15種類のデータを賞球コマンドとする。即ち、1バイトで構成されるコマンドの上位4ビットが「0」の場合に賞球コマンドとするのである。 The prize ball command may be composed of 1 byte. As described above, since the maximum number of winning balls for one winning is 15 balls, when the winning ball command is composed of 1 byte, “01H” to “0FH” corresponding to the maximum winning ball number. Fifteen types of data are used as prize ball commands. In other words, when the upper 4 bits of a command composed of 1 byte are “0”, a winning ball command is set.
賞球ポインタ13bは、賞球数を記憶させる賞球バッファ13aの位置を示すポインタであり、払い出される賞球数は、賞球ポインタ13bの値番目の賞球バッファ13aへ記憶される。この賞球ポインタ13bの値は、賞球バッファ13aへ賞球数を書き込むことにより「1」加算され、逆に、0番目の賞球バッファ13aの値が払出制御基板Hへ送信されることにより「1」減算される。 The prize ball pointer 13b is a pointer indicating the position of the prize ball buffer 13a for storing the number of prize balls, and the number of prize balls to be paid out is stored in the value-th prize ball buffer 13a of the prize ball pointer 13b. The value of the prize ball pointer 13b is incremented by "1" by writing the number of prize balls in the prize ball buffer 13a, and conversely, the value of the 0th prize ball buffer 13a is transmitted to the payout control board H. “1” is subtracted.
残賞球数カウンタ13cは、未払いの賞球数を記憶するカウンタであり、払出制御基板Hによって払い出される賞球数を主制御基板Cで管理するためのカウンタである。残賞球数カウンタ13cの値は、主制御基板Cが払出制御基板Hへ賞球の払い出しを指示する毎に、その指示した数が加算され、逆に、払出制御基板Hによって賞球の払い出しが行われて、その払い出された賞球を賞球カウントスイッチ22が検出する毎に「1」ずつ減算される。この残賞球数カウンタ13cの値は、後述する不足賞球コマンドの2バイト目のデータとしても使用される。
The remaining prize ball number counter 13c is a counter for storing the number of unpaid prize balls, and is a counter for managing the number of prize balls to be paid out by the payout control board H on the main control board C. Each time the main control board C instructs the payout control board H to pay out the prize ball, the value of the remaining prize ball counter 13c is incremented, and conversely, the payout control board H pays out the prize ball. Each time the award
不足賞球チェック済フラグ13dは、払出制御基板Hによって払い出される賞球が本来払い出されるべき賞球数に対して不足するという「不足賞球」の発生時に、その不足賞球が、停電の発生等により電源が断されその電源が再入されたために生じたものであるのか否かを示すためのフラグである。 The shortage prize ball checked flag 13d indicates that the shortage prize ball is generated when a power outage occurs when an "shortage prize ball" occurs in which the prize balls to be paid out by the payout control board H are insufficient with respect to the number of prize balls to be paid out. This is a flag for indicating whether or not the power is turned off and the power is turned on again.
パチンコ機Pの電源が切断されるタイミングによっては、払出制御基板Hの残賞球数カウンタ33aの値が主制御基板Cの残賞球数カウンタ13cの値より小さくなった状態でバックアップされる場合がある。例えば、主制御基板Cから賞球コマンドが送信され、主制御基板Cの残賞球数カウンタ13cの値が更新された後であって、払出制御基板Hの残賞球数カウンタ33aの値の更新前に、払出制御基板Hの制御が電源断に起因して停止すると、払出制御基板Hの残賞球数カウンタ33aの値は主制御基板Cの残賞球数カウンタ13cの値より小さくなった状態でバックアップされる。かかる場合に、停電等が解消して電源が再入されると、払出制御基板Hは、自己の残賞球数カウンタ33aに記憶される数の賞球を払い出すが、その数は主制御基板Cの残賞球数カウンタ13cで記憶する値に対して不足したものとなる。 Depending on the timing at which the power of the pachinko machine P is turned off, backup is performed in a state where the value of the remaining winning ball counter 33a of the payout control board H is smaller than the value of the remaining winning ball counter 13c of the main control board C. There is. For example, after the prize ball command is transmitted from the main control board C and the value of the remaining prize ball number counter 13c of the main control board C is updated, the value of the remaining prize ball number counter 33a of the payout control board H is updated. If the control of the payout control board H is stopped due to power interruption before the update, the value of the remaining prize ball number counter 33a of the payout control board H becomes smaller than the value of the remaining prize ball number counter 13c of the main control board C. Is backed up. In such a case, when the power failure is resolved and the power is turned on again, the payout control board H pays out the number of prize balls stored in its own remaining prize ball number counter 33a. The value stored in the remaining ball counter 13c of the substrate C is insufficient.
この場合の不足賞球は、電源断のタイミング等によって生じるものであり、パチンコ機Pの故障など(例えば、賞球払出用モータ21の故障により賞球の払い出しができない場合のような機械的な故障など)に起因して生じるものではない。よって、電源の再入後における遊技を円滑に進めるために、不足賞球チェック済フラグ13dを設けて、不足賞球が電源再入後1回目に発生したものであるか否かを示し、電源の再入に起因して生じる不足賞球により、賞球アンダーエラーを発生させないようにしている。 The shortage balls in this case are generated due to the timing of power-off, etc., such as a failure of the pachinko machine P (for example, a case where a prize ball cannot be paid out due to a failure of the prize ball payout motor 21). It is not caused by a malfunction. Therefore, in order to smoothly advance the game after the power is turned on again, the insufficient prize ball checked flag 13d is provided to indicate whether or not the insufficient prize ball is generated for the first time after the power is turned on again. In this way, a shortage ball due to the re-entry of the ball is prevented from causing a prize ball under error.
この不足賞球チェック済フラグ13dがオフされている場合には、電源の再入後における1回目の不足賞球のチェック中であることを示しており、逆に、オンされている場合には該チェックが既に終了していることを示している。よって、不足賞球チェック済フラグ13dは、電源再入時の立ち上げ処理において(図4参照)、残賞球数カウンタ13cの値が「0」でない場合にはオフされ(S26)、「0」である場合にオンされる(S28)。残賞球数カウンタ13cの値が「0」である場合には、電源再入後における1回目の不足賞球のチェックは既に終了しているのと同じだからである。また、立ち上げ処理において主制御基板Cが初期化される場合は(S16)、その初期化処理において不足賞球チェック済フラグ13dはオンされる。残賞球数カウンタ13cの値が「0」クリアされるので、この場合も同様に、電源再入後における1回目の不足賞球のチェックは既に終了しているのと同じだからである。 When the deficient ball checked flag 13d is turned off, it indicates that the first deficient ball is being checked after the power is turned on again. This indicates that the check has already been completed. Therefore, the shortage ball checked flag 13d is turned off when the value of the remaining ball number counter 13c is not “0” in the start-up process when the power is turned on again (see FIG. 4) (S26). "Is turned on (S28). This is because, when the value of the remaining prize ball counter 13c is “0”, the first shortage prize ball check after power-on is the same as having already been completed. When the main control board C is initialized in the start-up process (S16), the insufficient prize ball checked flag 13d is turned on in the initialization process. This is because the value of the remaining winning ball counter 13c is cleared to “0”, and in this case as well, the first shortage winning ball check after power-on is the same as having already been completed.
不足賞球チェック済フラグ13dがオフの状態で不足賞球が生じた場合には、賞球アンダーエラーを発生させず、その不足賞球数を払出制御基板Hへ報せるべく、不足賞球コマンドが主制御基板Cから払出制御基板Hへ送信される(図6のS65)。逆に、不足賞球チェック済フラグ13dがオンの状態で、不足賞球が生じた場合には、賞球アンダーエラーを発生させる(図6のS67)。電源の再入による不足賞球の発生ではないからである。 If a shortage ball is generated with the shortage ball checked flag 13d off, a shortage ball command is issued to report the shortage ball number to the payout control board H without generating a shortage ball under error. Is transmitted from the main control board C to the payout control board H (S65 in FIG. 6). On the contrary, when a shortage prize ball is generated with the shortage prize ball checked flag 13d turned on, a prize ball under error is generated (S67 in FIG. 6). This is because there is no shortage of prize balls due to power re-entry.
ここで、不足賞球コマンドとは、電源の再入時において払出制御基板Hにより払い出される賞球数が不足する場合に、その不足分を報せるべく、主制御基板Cから払出制御基板Hへ送信されるコマンドである。不足賞球コマンドは、2バイトで構成されている。1バイト目のデータは、そのコマンドが不足賞球コマンドであることを示すためのデータ(例えば「A2H」)とされており、また、2バイト目のデータは不足賞球数を示すデータとされている。具体的には、この2バイト目のデータとして、残賞球数カウンタ13cの値がセットされる。払出制御基板Hは、この不足賞球コマンドを受信すると、2バイト目のデータを読み出して、これを残賞球数カウンタ33aに書き込む(図7のS78)。これにより、払出制御基板Hによって、不足賞球の払い出しが行われる。 Here, the shortage prize ball command is a command from the main control board C to the payout control board H in order to report the shortage when the number of prize balls to be paid out by the payout control board H is insufficient when the power is turned on again. The command to be sent. The insufficient prize ball command is composed of 2 bytes. The first byte data is data (for example, “A2H”) indicating that the command is an insufficient prize ball command, and the second byte data is data indicating the number of insufficient prize balls. ing. Specifically, the value of the remaining winning ball number counter 13c is set as the second byte data. When the payout control board H receives the insufficient prize ball command, it reads out the second byte data and writes it in the remaining prize ball number counter 33a (S78 in FIG. 7). Thereby, the payout control board H pays out the award winning ball.
不足賞球チェックカウンタ13eは、不足賞球があるか否かの判断タイミングを決定するカウンタである。不足賞球チェックカウンタ13eには、本実施例では5秒分に相当する値が初期値として設定され、図6の賞球検出処理(S50)において、賞球の払い出しが検出されず且つ残賞球数カウンタ13cの値が「0」でない場合に「1」ずつ減算される。この減算の結果、不足賞球チェックカウンタ13eの値が「0」となるタイミングで、不足賞球があるか否かが判断される。具体的には、不足賞球チェックカウンタ13eの値が「0」となるタイミングで、残賞球数カウンタ13cの値が「0」でなければ、主制御基板Cから指示したにも拘わらず、何らかの理由で払い出されない未払いの賞球(不足賞球)があるものと判断される。前述した通り、その際に、不足賞球チェック済フラグ13dがオフであれば、不足賞球コマンドが主制御基板Cから払出制御基板Hへ送信され(図6のS65)、一方、不足賞球チェック済フラグ13dがオンであれば、賞球アンダーエラー処理が行われる(図6のS67)。 The insufficient prize ball check counter 13e is a counter that determines the determination timing of whether or not there is an insufficient prize ball. In the present embodiment, a value corresponding to 5 seconds is set as an initial value in the shortage prize ball check counter 13e, and in the prize ball detection process (S50) of FIG. When the value of the ball counter 13c is not “0”, “1” is subtracted. As a result of this subtraction, it is determined whether or not there is an insufficient prize ball at the timing when the value of the insufficient prize ball check counter 13e becomes “0”. Specifically, if the value of the remaining prize ball counter 13c is not “0” at the timing when the value of the insufficient prize ball check counter 13e becomes “0”, the command is issued from the main control board C. It is determined that there are unpaid prize balls (shortage prize balls) that are not paid out for some reason. As described above, if the shortage prize ball checked flag 13d is off at this time, a shortage prize ball command is transmitted from the main control board C to the payout control board H (S65 in FIG. 6). If the checked flag 13d is on, a prize ball under error process is performed (S67 in FIG. 6).
なお、不足賞球チェックカウンタ13eの値は、賞球コマンドを送信する毎に(図5のS46)、或いは、賞球の払い出しが検出される毎に(図6のS52)、それぞれ初期化される。また、不足賞球チェック済フラグ13dがオフされる場合や(図4のS27)、賞球の払い出しが不可能な状態となった場合にも(図6のS60)、それぞれ初期化される。 The value of the shortage prize ball check counter 13e is initialized each time a prize ball command is transmitted (S46 in FIG. 5) or each time a prize ball is paid out (S52 in FIG. 6). The Also, when the insufficient prize ball checked flag 13d is turned off (S27 in FIG. 4), or when it becomes impossible to pay out a prize ball (S60 in FIG. 6), each is initialized.
バックアップエリア13fは、停電などの発生により電源が切断された場合、電源の再入時に、パチンコ機Pの状態を電源切断前の状態に復帰させるため、電源切断時(停電発生時を含む。以下、同様)のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアである。このバックアップエリア13fへの書き込みは、NMI割込処理(図3参照)によって電源切断時に実行され、逆にバックアップエリア13fに書き込まれた各値の復帰は、電源入時(停電解消による電源入を含む。以下、同様)の初期化処理において実行される(図4のS21,S22参照)。 When the power is cut off due to the occurrence of a power failure or the like, the backup area 13f returns the pachinko machine P to the state before the power is turned off when the power is turned on again. This is an area for storing stack pointers, values of registers, I / O, and the like. The writing to the backup area 13f is executed when the power is turned off by the NMI interrupt process (see FIG. 3). Conversely, the restoration of each value written to the backup area 13f is performed when the power is turned on (the power is turned on by eliminating the power failure). The same is performed in the initialization process (see S21 and S22 in FIG. 4).
これらMPU11、ROM12、RAM13は、アドレスバス及びデータバスで構成されるバスライン14を介して相互に接続されている。バスライン14は、また、入出力ポート15にも接続されている。入出力ポート15は、入力および出力が固定的なバッファ(インバータゲート)16,37を介して払出制御基板Hと接続されるほか、複数の普通入賞スイッチ17と、第1種始動口スイッチ18と、Vカウントスイッチ19と、10カウントスイッチ20と、賞球カウントスイッチ22と、クリアスイッチ23と、他の入出力装置25と、それぞれ接続されている。
The
普通入賞スイッチ17は、遊技領域1内の複数の普通入賞口2へ入賞した球をそれぞれ検出するためのスイッチであり、各普通入賞口2の入口近傍に設けられている。第1種始動口スイッチ18は、図柄作動口(第1種始動口)4を通過した球を検出するためのスイッチであり、図柄作動口4の近傍に設けられている。普通入賞スイッチ17のいずれか又は第1種始動口スイッチ18によって球が検出されると、払出制御基板Hによって6個の賞球が払い出される。
The
Vカウントスイッチ19は、特定入賞口5内のVゾーン5aへ入賞した球を検出するためのスイッチであり、また、10カウントスイッチ20は、特定入賞口5内のVゾーン5a以外へ入賞した球を検出するためのスイッチである。Vカウントスイッチ19又は10カウントスイッチ20により球が検出されると、払出制御基板Hによって15個の賞球が払い出される。
The V count switch 19 is a switch for detecting a ball won in the
賞球カウントスイッチ22は、賞球払出用モータ21によって払い出された賞球を検出するためのスイッチであり、賞球払出用モータ21と共に賞球払出ユニットSに搭載されている。賞球払出用モータ21は賞球を払い出すためのモータであり、賞球払出用モータ21の駆動は、払出制御基板Hによって制御される。
The prize
クリアスイッチ23は、主制御基板Cおよび払出制御基板Hの各RAM13,33にバックアップされるデータをクリアするためのスイッチであり、押しボタンタイプのスイッチで構成されている。このクリアスイッチ23が押下された状態でパチンコ機Pの電源が投入されると(停電解消による電源入を含む)、主制御基板Cおよび払出制御基板Hによって、RAM13,33のデータがそれぞれクリアされる(図4のS13:Yes,S16、図8のS83:Yes,S86参照)。
The
前記した通り主制御基板Cは、入力および出力が固定的なバッファ(インバータゲート)16,37を介して、払出制御基板Hと接続されている。このため主制御基板Cと払出制御基板Hとの間における賞球コマンド等の送受信は、主制御基板Cから払出制御基板Hへの一方向にのみ行われ、払出制御基板Hから主制御基板Cへ行うことはできない。なお、主制御基板Cと払出制御基板Hとは、8本のデータ線と1本のストローブ線とにより接続されており、ストローブ線のデータがアクティブになった時に、8本のデータ線上に出力されているデータが主制御基板Cから払出制御基板Hへコマンドとして送信される。 As described above, the main control board C is connected to the payout control board H via the buffers (inverter gates) 16 and 37 whose inputs and outputs are fixed. Therefore, transmission / reception of a prize ball command or the like between the main control board C and the payout control board H is performed only in one direction from the main control board C to the payout control board H, and the payout control board H to the main control board C. Can not be done. The main control board C and the payout control board H are connected by eight data lines and one strobe line, and when the data on the strobe line becomes active, the data is output onto the eight data lines. The transmitted data is transmitted from the main control board C to the payout control board H as a command.
払出制御基板Hは賞球や貸し球の払出制御を行うものであり、演算装置であるMPU31と、そのMPU31により実行される制御プログラムや固定値データ等を記憶したROM32と、ワークメモリ等として使用されるRAM33とを備えている。図3及び図7から図9に示すフローチャートのプログラムは、制御プログラムの一部としてROM32内に記憶されている。
The payout control board H performs payout control of prize balls and lending balls, and is used as an
払出制御基板HのRAM33には、残賞球数カウンタ33aと、初期化フラグ33bと、賞球払出許可フラグ33cと、バックアップエリア33dとが設けられると共に、バックアップ用のコンデンサ(電池)33xが接続されてバックアップ可能に構成されている。よって、RAM33の各値は、パチンコ機Pの電源が切断された場合にも保持(バックアップ)されるのである。
The
残賞球数カウンタ33aは、前述した主制御基板Cの残賞球数カウンタ13cと同様に、未払いの賞球数を記憶するカウンタである。残賞球数カウンタ33aの値は、賞球コマンドによって主制御基板Cから払出制御基板Hへ賞球の払い出しが指示される毎に、その指示された賞球数が加算される。逆に、賞球カウントスイッチ22が払い出された賞球を検出する毎に「1」ずつ減算される。払出制御基板Hは、この残賞球数カウンタ33aの値が「0」になるまで、賞球払出用モータ21を動作させて賞球の払い出しを行うが、前記した通り、この残賞球数カウンタ33aの値はコンデンサ33xによってバックアップされるので、賞球の払い出し途中でパチンコ機Pの電源が切断された場合にも、そのパチンコ機Pの電源を再投入することにより、払出制御基板Hは、残りの賞球(未払い分の賞球)を正確に払い出すことができる。
The remaining prize ball number counter 33a is a counter that stores the number of unpaid prize balls in the same manner as the remaining prize ball number counter 13c of the main control board C described above. The value of the remaining prize ball number counter 33a is incremented every time the prize ball is instructed from the main control board C to the payout control board H by the prize ball command. On the contrary, every time the prize
初期化フラグ33bは、払出制御基板Hが、主制御基板Cから送信される初期化コマンドを受信した場合にオンされるフラグである。初期化コマンドは、主制御基板Cの立ち上げ処理においてバックアップデータがクリアされた場合に送信されるコマンドであり(図4のS18参照)、払出制御基板Hに対して初期化の指示と賞球の払出許可とを与えるコマンドである。払出制御基板Hは、この初期化コマンドを受信すると、初期化フラグ33bをオンし、払出制御基板Hにおいても既に初期化処理(S85)が終了していれば、初期化フラグ33bをオフした後に(S90)、処理を各処理へ移行して、賞球の払い出しの可能な状態とする。一方、払出制御基板Hにおいてデータのバックアップが有効に行われている状態で初期化コマンドを受信した場合には、主制御基板Cに合わせて初期化処理(S97)を実行した後、各処理へ移行して、賞球の払い出しの可能な状態とする。なお、この場合、一旦オンされた初期化フラグ33bは、S97の初期化処理によってオフされる。
The
賞球払出許可フラグ33cは、払出制御基板Hが、主制御基板Cから送信される賞球払出許可コマンドを受信した場合にオンされるフラグであり、賞球の払い出しの許可を指示するためのフラグである。払出制御基板Hは、賞球払出許可コマンドを受信すると、賞球の払出許可を記憶するべく賞球払出許可フラグ33cをオンする(S74)。賞球払出許可フラグ33cがオンされると、払出制御基板Hは立ち上げ処理を終了して、その賞球払出許可フラグ33cをオフした後に(S90,S98)、処理を各処理へ移行して、賞球の払い出しの可能な状態とする。 The prize ball payout permission flag 33c is a flag that is turned on when the payout control board H receives a prize ball payout permission command transmitted from the main control board C, and is used to instruct permission for payout of prize balls. Flag. Upon receiving the prize ball payout permission command, the payout control board H turns on the prize ball payout permission flag 33c so as to store the prize ball payout permission (S74). When the prize ball payout permission flag 33c is turned on, the payout control board H ends the start-up process, and after turning off the prize ball payout permission flag 33c (S90, S98), the process proceeds to each process. The award ball can be paid out.
ここで、賞球払出許可コマンドとは、バックアップが有効である場合の主制御基板Cの立ち上げ処理の最後に、主制御基板Cから払出制御基板Hへ送信されるコマンドであり、1バイトで構成されている(例えば「A1H」)。この賞球払出許可コマンドにより、立ち上げ処理終了後の払出制御基板Hに対して、賞球の払い出しの許可が指示される。 Here, the prize ball payout permission command is a command transmitted from the main control board C to the payout control board H at the end of the startup process of the main control board C when the backup is valid, and is 1 byte. Configured (for example, “A1H”). This prize ball payout permission command instructs the payout control board H after the start-up process to be permitted to pay out prize balls.
なお、賞球払出許可コマンドを別個に設けることなく、パチンコ機Pの状態を示す1乃至2以上のコマンドで代用するようにしても良い。この場合、該コマンドにより、パチンコ機Pの状態が払出制御基板Hへ報されるので、払出制御基板Hでは、残賞球数カウンタ33aの値が「0」でない場合に、報されたパチンコ機Pの状態が賞球の払い出しが可能な状態であれば賞球の払い出しを行い、逆に、賞球の払い出しが不可能であれば賞球の払い出しを待機する。 Note that one or two or more commands indicating the state of the pachinko machine P may be used instead of separately providing a prize ball payout permission command. In this case, since the state of the pachinko machine P is reported to the payout control board H by the command, in the payout control board H, when the value of the remaining winning ball counter 33a is not “0”, the reported pachinko machine is reported. If the state of P is a state in which the prize ball can be paid out, the prize ball is paid out. Conversely, if the prize ball cannot be paid out, the system waits for the prize ball to be paid out.
バックアップエリア33dは、前述した主制御基板Cのバックアップエリア13fと同様に、停電などの発生により電源が切断された場合、電源の再入時に、パチンコ機Pの状態を電源切断前の状態に復帰させるため、電源切断時(停電発生時を含む。以下、同様)のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアである。このバックアップエリア33dへの書き込みは、NMI割込処理(図3参照)によって電源切断時に実行され、逆にバックアップエリア33dに書き込まれた各値の復帰は、電源入時(停電解消による電源入を含む。以下、同様)の初期化処理において実行される(図8のS92,S93参照)。 Similarly to the backup area 13f of the main control board C described above, when the power is cut off due to a power failure or the like, the backup area 33d returns the state of the pachinko machine P to the state before the power is turned off when the power is turned on again. Therefore, it is an area for storing a stack pointer at the time of power-off (including when a power failure occurs, the same applies hereinafter), values of registers, I / O, and the like. The writing to the backup area 33d is executed when the power is turned off by the NMI interrupt process (see FIG. 3). Conversely, each value written to the backup area 33d is restored when the power is turned on (the power is turned on by eliminating the power failure). The same is performed in the initialization process (see S92 and S93 in FIG. 8).
これらMPU31、ROM32及びRAM33は、アドレスバス及びデータバスで構成されるバスライン35により互いに接続されている。バスライン35は、また、入出力ポート36にも接続されている。入出力ポート36は、前述した入力および出力が固定的なバッファ(インバータゲート)16,37を介して主制御基板Cと接続されるほか、賞球払出ユニットSの賞球払出用モータ21および賞球カウントスイッチ22と、クリアスイッチ23と、他の入出力装置40とにそれぞれ接続されている。
The
次に、図3から図9に示すフローチャートを参照して、主制御基板C及び払出制御基板Hで行われる各処理について説明する。図3は、停電の発生等によるパチンコ機Pの電源断時に、主制御基板C及び払出制御基板Hで、それぞれ別々に実行されるNMI割込処理のフローチャートである。このNMI割込処理により、停電の発生等による電源断時の主制御基板C及び払出制御基板Hの状態がそれぞれのバックアップエリア13f,33dに記憶される。なお、NMI割込処理は、主制御基板CのROM12と払出制御基板HのROM32とに、それぞれ別々に搭載される処理であるが、フローチャートの表記上、同様に表すことができるので、図3にまとめて図示している。
Next, each process performed in the main control board C and the payout control board H will be described with reference to the flowcharts shown in FIGS. FIG. 3 is a flowchart of the NMI interrupt process executed separately on the main control board C and the payout control board H when the power of the pachinko machine P is cut off due to the occurrence of a power failure or the like. By this NMI interruption processing, the states of the main control board C and the payout control board H when the power is cut off due to the occurrence of a power failure or the like are stored in the respective backup areas 13f and 33d. Note that the NMI interrupt process is a process that is separately mounted on the
停電の発生等によりパチンコ機Pの電源が断されると、図示しない停電信号が主制御基板C及び払出制御基板HのMPU11,31のNMI(Non Maskable Interrupt)端子へそれぞれ出力される。各MPU11,31は、NMI端子に停電信号が入力されると、それぞれ実行中の制御を中断して、図3のNMI割込処理を開始する。停電信号が出力された後所定時間は、主制御基板C及び払出制御基板Hの処理が実行可能に電力供給されており、この所定時間内に、図3のNMI割込処理が実行される。
When the power of the pachinko machine P is cut off due to the occurrence of a power failure, a power failure signal (not shown) is output to the NMI (Non Maskable Interrupt) terminals of the
NMI割込処理では、まず、スタックポインタの値をバックアップエリア13f,33dへ書き込み(S1)、更に、各レジスタおよびI/O等の値をバックアップエリア13f,33dへ書き込んで(S2)、停電の発生等による電源断時の状態を記憶する。その後、主制御基板C及び払出制御基板Hに応じてそれぞれ異なるその他停電処理を実行し(S3)、その後は、電源が完全に断して処理が実行できなくなるまで、処理をループする。 In the NMI interrupt processing, first, the stack pointer value is written to the backup areas 13f and 33d (S1), and further, the values of each register and I / O are written to the backup areas 13f and 33d (S2). The state at the time of power-off due to occurrence or the like is stored. Thereafter, another power failure process that differs depending on the main control board C and the payout control board H is executed (S3), and then the process is looped until the power supply is completely cut off and the process cannot be executed.
図4は、パチンコ機Pの電源入時に主制御基板Cで実行される立ち上げ処理のフローチャートである。この処理では、バックアップが有効であれば、バックアップエリア13fに記憶された各データを元の状態に戻し、遊技の制御を電源が断される前の状態から続行する。一方、バックアップが有効でなかったり、或いは、バックアップが有効であっても電源入時にクリアスイッチ23が押下された場合には、初期化処理を実行する。
FIG. 4 is a flowchart of start-up processing executed on the main control board C when the pachinko machine P is turned on. In this process, if the backup is valid, each data stored in the backup area 13f is returned to the original state, and the game control is continued from the state before the power is turned off. On the other hand, if the backup is not valid, or if the
まず、割込を禁止し(S11)、次に、本来のスタック領域にスタックされているデータを壊さないために、仮のスタックポインタを設定する(S12)。クリアスイッチ23がオンされているか否かを確認し(S13)、オンされていれば(S13:Yes)、処理をS15へ移行して初期化処理を実行する。クリアスイッチ23がオンされていなければ(S13:No)、バックアップが有効であるか否かを確認する(S14)。この確認は、RAM13の所定のエリアに書き込まれたキーワードが正しく記憶されているか否かにより判断する。キーワードが正しく記憶されていればバックアップは有効であり、逆に、キーワードが正しくなければバックアップデータは破壊されているので、そのバックアップは有効ではない。バックアップが有効であれば(S14:Yes)、処理をS21へ移行して、主制御基板Cの各状態を電源の断前の状態に復帰させる。一方、バックアップが有効でなければ(S14:No)、処理をS15へ移行して初期化処理を実行する。
First, interrupts are prohibited (S11), and then a temporary stack pointer is set so as not to destroy the data stacked in the original stack area (S12). It is confirmed whether or not the
S15の処理からの初期化処理では、まず、正規のスタックポインタを設定し、スタックの内容を整えた後(S15)、RAMクリア及び初期化処理を実行して(S16)、RAM13及びI/O等の各値を初期化する。このとき、不足賞球チェック済フラグ13dはオンされる。
In the initialization process from the process of S15, first, a normal stack pointer is set, the contents of the stack are adjusted (S15), the RAM clearing and initialization process is executed (S16), the
その後、割込を許可し(S17)、その割込を使って初期化コマンドを払出制御基板Hへ送信して(S18)、主制御基板Cで初期化処理が実行されたことを払出制御基板Hへ報せる。払出制御基板Hは、主制御基板Cに比べて処理が軽いので、主制御基板Cより先に立ち上げ処理が終了する。よって、払出制御基板Hは、主制御基板Cから送信される初期化コマンドを確実に受信することができる。主制御基板Cは、初期化コマンドの送信後、その初期化コマンドを受信した払出制御基板Hが初期化処理を完了するために充分な時間をウエイトするためにウエイト処理を実行して(S19)、次の処理への移行を所定時間待機する。ウエイト処理の実行後は、払出制御基板Hも確実に立ち上がっているので、処理をS20の各処理へ移行して、遊技の制御を開始する。 Thereafter, the interruption is permitted (S17), an initialization command is transmitted to the payout control board H using the interrupt (S18), and the payout control board indicates that the initialization process has been executed on the main control board C. Tell H. Since the payout control board H is lighter in processing than the main control board C, the start-up process ends before the main control board C. Therefore, the payout control board H can reliably receive the initialization command transmitted from the main control board C. After transmitting the initialization command, the main control board C executes a wait process so that the payout control board H that has received the initialization command waits for a sufficient time to complete the initialization process (S19). , And wait for a predetermined time to shift to the next processing. After the execution of the wait process, the payout control board H has also risen reliably, so the process shifts to each process of S20 and game control is started.
S21からの復帰処理では、まず、バックアップエリア13fへ退避した各レジスタやI/O等のデータをそのバックアップエリア13fから読み出して、これら各データを元のレジスタやI/O等へ書き込む(S21)。更に、バックアップエリア13fからスタックポインタの値を読み出して、これをスタックポインタへ書き込み、電源断前(停電前)の状態、即ちNMI割込発生前の状態に戻す(S22)。その後、割込を許可し(S23)、その許可した割込を使って、賞球払出許可コマンドを払出制御基板Hへ送信する(S24)。払出制御基板Hは、この賞球払出許可コマンドを受信することにより、賞球の払い出しが可能になる。 In the return processing from S21, first, data such as each register and I / O saved in the backup area 13f is read from the backup area 13f, and these data are written to the original register and I / O (S21). . Further, the value of the stack pointer is read from the backup area 13f and written to the stack pointer to return to the state before the power interruption (before the power failure), that is, the state before the occurrence of the NMI interrupt (S22). Thereafter, an interrupt is permitted (S23), and a prize ball payout permission command is transmitted to the payout control board H using the permitted interrupt (S24). When the payout control board H receives the prize ball payout permission command, the payout ball can be paid out.
次に、残賞球数カウンタ13cの値を調べ(S25)、その値が「0」でなければ(S25:No)、立ち上げ処理の後に、払出制御基板Hによって、電源の断前に未払いとなっていた賞球の払い出しが行われるので、かかる場合には、不足賞球チェック済フラグ13dをオフして(S26)、払い出される賞球数に不足分があるか否かをチェックすると共に、そのチェックの判定時間(判定タイミング)を設定するべく、不足賞球チェックカウンタ13eに初期値である5秒分の値をセットする(S27)。 Next, the value of the remaining prize ball counter 13c is checked (S25). If the value is not "0" (S25: No), after the start-up process, the payout control board H causes the unpaid before the power is turned off. In this case, the deficient ball check completed flag 13d is turned off (S26), and it is checked whether or not there is a deficiency in the number of award balls to be paid out. In order to set the determination time (determination timing) for the check, the initial value of 5 seconds is set in the shortage prize ball check counter 13e (S27).
一方、残賞球数カウンタ13cが「0」であれば(S25:Yes)、電源の断前に未払いとなっていた賞球は無く、立ち上げ処理の後に賞球の払い出しが行われることはない。よって、かかる場合には、電源の再入による不足賞球の発生はないので、不足賞球チェック済フラグ13dをオンする(S28)。その後、NMI割込をリターンし、処理を電源断前に実行していたところへ戻して、制御を電源断前の状態から続行する。 On the other hand, if the remaining prize ball counter 13c is “0” (S25: Yes), there is no prize ball that has not been paid before the power is turned off, and the prize ball is paid out after the start-up process. Absent. Therefore, in such a case, since there is no occurrence of insufficient prize balls due to re-entry of the power, the insufficient prize ball checked flag 13d is turned on (S28). Thereafter, the NMI interrupt is returned, the processing is returned to the place where it was executed before the power was turned off, and the control is continued from the state before the power was turned off.
図5は、主制御基板Cの各処理(S20)の中で実行される賞球処理のフローチャートである。賞球処理は、普通入賞口2や第1種始動口4或いは大入賞口5へ入賞した打球を検出する入賞検出処理と(S30)、賞球コマンドを払出制御基板Hへ送信する賞球コマンド送信処理と(S40)、払出制御基板Hによって払い出された賞球を検出する賞球検出処理(S50)との3つの処理によって構成されている。
FIG. 5 is a flowchart of the prize ball process executed in each process (S20) of the main control board C. The winning ball process includes a winning detection process for detecting a hit ball that has won the
入賞検出処理(S30)では、まず、いずれかの普通入賞スイッチ17又は第1種始動口スイッチ18により、球が検出された否かを確認する(S31)。いずれかのスイッチ17,18によって球が検出された場合には(S31:Yes)、6個の賞球を払い出すために、賞球ポインタ13bの値番目の賞球バッファ13aへ「6」を書き込み(S32)、賞球ポインタ13bの値を「1」加算する(S33)。一方、いずれのスイッチ17,18によっても球が検出されない場合には(S31:No)、S32およびS33の処理をスキップして、S34の処理へ移行する。
In the winning detection process (S30), first, it is confirmed whether or not a ball is detected by any of the normal winning
S34の処理では、Vカウントスイッチ19又は10カウントスイッチ20により球が検出された否かを確認する(S34)。いずれかのスイッチ19,20によって球が検出された場合には(S34:Yes)、15個の賞球を払い出すために、賞球ポインタ13bの値番目の賞球バッファ13aへ「15」を書き込み(S35)、賞球ポインタ13bの値を「1」加算する(S36)。一方、いずれのスイッチ19,20によっても球が検出されない場合には(S34:No)、S35およびS36の処理をスキップして、入賞検出処理(S30)を終了し、S40の賞球コマンド送信処理へ移行する。 In the process of S34, it is confirmed whether or not a sphere is detected by the V count switch 19 or the 10 count switch 20 (S34). When a ball is detected by any of the switches 19 and 20 (S34: Yes), “15” is set to the value-th prize ball buffer 13a of the prize ball pointer 13b in order to pay out 15 prize balls. Write (S35), and add "1" to the value of the prize ball pointer 13b (S36). On the other hand, if a ball is not detected by any of the switches 19 and 20 (S34: No), the process of S35 and S36 is skipped, the winning detection process (S30) is terminated, and a prize ball command transmission process of S40 is performed. Migrate to
賞球コマンド送信処理(S40)では、まず、賞球ポインタ13bの値が「0」であるか否かを調べる(S41)。賞球ポインタ13bの値が「0」でなければ(S41:No)、払い出すべき賞球数のデータが賞球バッファ13aに記憶されているということなので、0番目の賞球バッファ13aの値を賞球コマンドの2バイト目のデータとしてセットし、その賞球コマンドを払出制御基板Hへ送信する(S42)。 In the prize ball command transmission process (S40), it is first checked whether or not the value of the prize ball pointer 13b is "0" (S41). If the value of the prize ball pointer 13b is not “0” (S41: No), it means that the prize ball data to be paid out is stored in the prize ball buffer 13a, and therefore the value of the 0th prize ball buffer 13a. Is set as the second byte data of the prize ball command, and the prize ball command is transmitted to the payout control board H (S42).
賞球コマンドの送信後は、その賞球コマンドによって送信した賞球数データである、0番目の賞球バッファ13aの値を残賞球数カウンタ13cへ加算する(S43)。そして、1番目以降の賞球バッファ13aの値を小さいアドレス側へ順に1バイトずつシフトして(S44)、賞球バッファ13aの値を更新すると共に、送信した0番目の賞球バッファ13aの値を消去し、更に、賞球ポインタ13bの値を「1」減算すると共に(S45)、不足賞球があるか否かの判断タイミングを決定する不足賞球チェックカウンタ13eに初期値である5秒分の値をセットして(S46)、その判断タイミングを初期化する。 After the prize ball command is transmitted, the value of the 0th prize ball buffer 13a, which is the prize ball number data transmitted by the prize ball command, is added to the remaining prize ball counter 13c (S43). Then, the value of the first and subsequent prize ball buffers 13a is shifted one byte at a time toward the smaller address side (S44), the value of the prize ball buffer 13a is updated, and the value of the transmitted 0th prize ball buffer 13a is updated. Is further subtracted from the value of the prize ball pointer 13b by “1” (S45), and an initial value is set to 5 seconds which is an initial value for the insufficient prize ball check counter 13e that determines the timing for determining whether or not there is an insufficient prize ball. The minute value is set (S46), and the determination timing is initialized.
一方、S41の処理において、賞球ポインタ13bの値が「0」であれば(S41:Yes)、払い出すべき賞球数のデータは賞球バッファ13aに記憶されていないので、S42〜S46の各処理をスキップして、賞球コマンド送信処理(S40)を終了し、S50の賞球検出処理へ移行する。 On the other hand, if the value of the prize ball pointer 13b is “0” in the process of S41 (S41: Yes), the data of the number of prize balls to be paid out is not stored in the prize ball buffer 13a. Each process is skipped, the prize ball command transmission process (S40) is terminated, and the process proceeds to a prize ball detection process of S50.
図6は、賞球検出処理(S50)のフローチャートである。賞球検出処理では、払出制御基板Hによって払い出された賞球が検出されると共に、その検出結果に基づいて、賞球オーバーエラー処理(S57)や、賞球アンダーエラー処理(S67)、或いは、不足賞球コマンドの送信処理(S65)が実行される。 FIG. 6 is a flowchart of the winning ball detection process (S50). In the prize ball detection process, a prize ball paid out by the payout control board H is detected, and on the basis of the detection result, a prize ball over error process (S57), a prize ball under error process (S67), or Then, a shortage ball command transmission process (S65) is executed.
賞球検出処理(S50)では、まず、賞球カウントスイッチ22がオンされたか否かを判断する(S51)。賞球カウントスイッチ22のオンが検出された場合には(S51:Yes)、賞球が1個払い出されたということなので、不足賞球があるか否かの判断タイミングを決定する不足賞球チェックカウンタ13eに初期値である5秒分の値をセットして(S52)、その判断タイミングを初期化する。
In the prize ball detection process (S50), it is first determined whether or not the prize
残賞球数カウンタ13cの値を確認し(S53)、その値が「0」でなければ(S53:No)、払い出された賞球に対応して残賞球数カウンタ13cの値を「1」減算する(S54)。減算の結果、残賞球数カウンタ13cの値が「0」となれば(S55:Yes)、電源再入時における不足賞球のチェックは終了となるので、不足賞球チェック済フラグ13dをオンして(S56)、この賞球検出処理を終了する。S54の処理による減算の結果、残賞球数カウンタ13cの値が「0」でなければ(S55:No)、不足賞球チェック済フラグ13dをオンすることなく、S56の処理をスキップして、この賞球検出処理を終了する。なお、一旦オンされた不足賞球チェック済フラグ13dは、図4のS26の処理が実行されるまでオフされることはない。 The value of the remaining prize ball counter 13c is confirmed (S53), and if the value is not "0" (S53: No), the value of the remaining prize ball counter 13c is set to " 1 "is subtracted (S54). As a result of the subtraction, if the value of the remaining prize ball counter 13c becomes “0” (S55: Yes), the check for insufficient prize balls at the time of re-turning on the power is completed, so the insufficient prize ball checked flag 13d is turned on In step S56, the prize ball detection process is terminated. If the value of the remaining winning ball counter 13c is not “0” as a result of the subtraction in S54 (S55: No), the processing of S56 is skipped without turning on the insufficient winning ball checked flag 13d, This prize ball detection process is terminated. Note that the insufficient prize ball checked flag 13d once turned on is not turned off until the processing of S26 in FIG. 4 is executed.
一方、賞球カウントスイッチ22のオンが検出されたにも拘わらず(S51:Yes)、残賞球数カウンタ13cの値が「0」であれば(S53:Yes)、本来払い出すべき賞球数を超えて賞球の払い出しが行われたということであるので、その場合には、賞球オーバーエラー処理を実行して(S57)、この賞球検出処理を終了する。
On the other hand, if the prize
S51の処理において、賞球カウントスイッチ22のオンが検出されない場合には(S51:No)、賞球は払い出されていない。よって、かかる場合には、不足賞球があるか否かをチェックするため、以降のS58〜S67の各処理を実行する。まず、残賞球数カウンタ13cの値を調べ(S58)、その値が「0」であれば(S58:Yes)、未払いの賞球はない。故に、不足賞球のチェックは不要であるので、この賞球検出処理を終了する。なお、残賞球数カウンタ13cの値が「0」である場合には、不足賞球チェック済フラグ13dは必ずオンになっている(S56,図4のS28)。
In the process of S51, when the turn-on of the prize
一方、残賞球数カウンタ13cの値が「0」でなければ(S58:No)、パチンコ機Pが賞球の払い出しの可能な状態であるか否かを調べる(S59)。パチンコ機Pが賞球の払い出しの不可能な状態であれば(S59:No)、不足賞球があるか否かの判断タイミングを初期化するため、不足賞球チェックカウンタ13eに初期値である5秒分の値をセットし(S60)、この賞球検出処理を終了する。これにより、賞球の払い出しが可能となる時点を基準にして、不足賞球があるか否かの判断タイミングを設定することができるので、かかる判断を適切に行うことが可能となる。なお、賞球の払い出しが不可能な状態である場合としては、払い出される賞球を貯留する貯留タンク(図示せず)に、所定量に満たない賞球しか貯留されていない空切れ状態や、賞球が払い出される上皿および下皿が共に満タンである状態などが例示される。 On the other hand, if the value of the remaining prize ball counter 13c is not “0” (S58: No), it is checked whether or not the pachinko machine P is in a state in which a prize ball can be paid out (S59). If the pachinko machine P is in a state where it is impossible to pay out the prize balls (S59: No), the initial value is set in the missing prize ball check counter 13e in order to initialize the determination timing of whether or not there are missing prize balls. The value for 5 seconds is set (S60), and this prize ball detection process is terminated. As a result, it is possible to set a determination timing as to whether or not there is a short prize ball on the basis of a time point at which a prize ball can be paid out, so that such a determination can be made appropriately. In addition, as a case where the prize balls cannot be paid out, the storage tank (not shown) for storing the prize balls to be paid out is an empty state in which only prize balls less than a predetermined amount are stored, Examples include a state where both the upper and lower dishes from which the prize balls are paid out are full.
残賞球数カウンタ13cの値が「0」でなく(S58:No)、パチンコ機Pが賞球の払い出しの可能な状態であれば(S59:Yes)、不足賞球チェックカウンタ13eの値を調べる(S61)。不足賞球チェックカウンタ13eの値が「0」でなければ(S61:No)、その値を「1」減算し(S62)、減算の結果、その値が「0」となれば(S63:Yes)、不足賞球があるか否かの判断タイミングの到来である。この処理は、残賞球数カウンタ13cの値が「0」ではない(S58:No)という条件のもとに行われているので、不足賞球があるということである。 If the value of the remaining prize ball counter 13c is not “0” (S58: No) and the pachinko machine P is in a state where the prize ball can be paid out (S59: Yes), the value of the insufficient prize ball check counter 13e is set. Check (S61). If the value of the insufficient prize ball check counter 13e is not “0” (S61: No), “1” is subtracted from the value (S62). If the value is “0” as a result of the subtraction (S63: Yes). ), The timing for determining whether or not there is a missing prize ball. Since this process is performed under the condition that the value of the remaining prize ball counter 13c is not “0” (S58: No), there is an insufficient prize ball.
かかる場合には、不足賞球チェック済フラグ13dを調べ(S64)、そのフラグ13dがオフであれば(S64:No)、電源入後1回目の不足賞球の発生である。よって、この場合は、通常の賞球アンダーエラーの場合と異なり、停電等の発生タイミングによって、電源断前に主制御基板Cから送信された賞球コマンドが払出制御基板Hによって正常に受信されなかったり、或いは、受信されてはいるものの、受信した値を払出制御基板Hの残賞球数カウンタ33aへ加算する前に電源が断され払出制御基板Hの制御が停止したこと等が想定される。即ち、かかる不足賞球の発生は、賞球払出用モータ21の異常などのパチンコ機Pの故障に起因するものではなく、電源断のタイミングによるものである。よって、この場合には、遊技の円滑な進行を優先するべく、不足分の賞球数を記憶している残賞球数カウンタ13cの値を2バイト目のデータとしてセットして、不足賞球コマンドを払出制御基板Hへ送信する(S65)。この不足賞球コマンドにより、不足賞球の発生とその数を払出制御基板Hへ報せて、払出制御基板Hにより不足賞球の払い出しを行わせるのである。不足賞球コマンドの送信後は、電源再入後1回目の不足賞球のチェックが終了したことを記憶するべく、不足賞球チェック済フラグ13dをオンして(S66)、この賞球検出処理を終了する。
In such a case, the missing prize ball checked flag 13d is checked (S64). If the flag 13d is off (S64: No), the first missing prize ball is generated after the power is turned on. Therefore, in this case, unlike the case of a normal prize ball under error, the prize ball command transmitted from the main control board C before the power cut-off is not normally received by the payout control board H due to the occurrence timing of a power failure or the like. Although it has been received, it is assumed that the power supply was turned off and the control of the payout control board H was stopped before the received value was added to the remaining prize ball counter 33a of the payout control board H. . That is, the occurrence of the shortage prize ball is not caused by a failure of the pachinko machine P such as an abnormality of the prize
一方、S64の処理において、不足賞球チェック済フラグ13dがオンされていれば(S64:Yes)、電源再入後1回目の不足賞球の発生ではない。即ち、今回の不足賞球の発生は、電源断のタイミングによるものではなく、パチンコ機Pの故障などに起因するものであることが想定される。よって、かかる場合には、賞球アンダーエラー処理を実行して(S67)、この賞球検出処理を終了する。 On the other hand, in the process of S64, if the insufficient prize ball checked flag 13d is turned on (S64: Yes), it is not the first occurrence of the insufficient prize ball after the power is turned on again. That is, it is assumed that the occurrence of the insufficient prize ball this time is not caused by the power-off timing but is caused by the failure of the pachinko machine P or the like. Therefore, in such a case, a prize ball under error process is executed (S67), and this prize ball detection process is terminated.
なお、S61の処理において、不足賞球チェックカウンタ13eの値が「0」であったり(S61:Yes)、或いは、その不足賞球チェックカウンタ13eの値が「0」でなく(S61:No)、且つ、「1」減算後の不足賞球チェックカウンタ13eの値も「0」でない場合には(S63:No)、不足賞球があるか否かの判断タイミングの到来ではないので、これらの場合には、S64〜S67の各処理をスキップして、賞球検出処理を終了する。 In the process of S61, the value of the insufficient prize ball check counter 13e is “0” (S61: Yes), or the value of the insufficient prize ball check counter 13e is not “0” (S61: No). If the value of the insufficient prize ball check counter 13e after subtraction of “1” is not “0” (S63: No), it is not the timing for determining whether or not there is an insufficient prize ball. In this case, each process of S64 to S67 is skipped, and the winning ball detection process is ended.
次に、図7から図9を参照して、払出制御基板Hで行われる各処理について説明する。図7は、払出制御基板Hの割込処理で実行されるコマンド受信処理のフローチャートである。主制御基板Cから送信されたコマンドを払出制御基板Hが受信すると、その度に割り込みが発生し、このコマンド受信処理が実行される。 Next, each process performed on the payout control board H will be described with reference to FIGS. FIG. 7 is a flowchart of command reception processing executed in the interruption processing of the payout control board H. When the payout control board H receives a command transmitted from the main control board C, an interrupt is generated each time, and this command reception process is executed.
コマンド受信処理では、まず、受信したコマンドが初期化コマンドであるか否かを判断する(S71)。そのコマンドが初期化コマンドであれば(S71:Yes)、その初期化コマンドの受信を記憶するべく、初期化フラグ33bをオンして(S72)、このコマンド受信処理を終了する。一方、受信したコマンドが初期化コマンドでなければ(S71:No)、そのコマンドが賞球払出許可コマンドであるか否かを判断する(S73)。受信したコマンドが賞球払出許可コマンドであれば(S73:Yes)、賞球払出許可コマンドの受信を記憶するべく、賞球払出許可フラグ33cをオンして(S74)、このコマンド受信処理を終了する。
In the command reception process, first, it is determined whether or not the received command is an initialization command (S71). If the command is an initialization command (S71: Yes), the
また、受信したコマンドが、初期化コマンドでも賞球払出許可コマンドでもなければ(S71:No,S73:No)、そのコマンドが賞球コマンドであるか否かを判断する(S75)。受信したコマンドが賞球コマンドであれば(S75:Yes)、その賞球コマンドの2バイト目のデータとして指示される賞球数を残賞球数カウンタ33aへ加算し(S76)、このコマンド受信処理を終了する。一方、受信したコマンドが賞球コマンドでもなければ(S75:No)、そのコマンドが不足賞球コマンドであるか否かを判断する(S77)。受信したコマンドが不足賞球コマンドであれば(S77:Yes)、その不足賞球コマンドの2バイト目のデータとして指示される値を残賞球数カウンタ33aへ書き込み(S78)、残賞球数カウンタ33aの値を主制御基板Cの残賞球数カウンタ13cの値と一致させる。これにより、不足賞球コマンドで指示された不足賞球の払い出しが払出制御基板Hによって行われる。 If the received command is neither an initialization command nor a prize ball payout permission command (S71: No, S73: No), it is determined whether or not the command is a prize ball command (S75). If the received command is a prize ball command (S75: Yes), the number of prize balls designated as the second byte data of the prize ball command is added to the remaining prize ball number counter 33a (S76). The process ends. On the other hand, if the received command is not a prize ball command (S75: No), it is determined whether or not the command is an insufficient prize ball command (S77). If the received command is a shortage ball command (S77: Yes), the value indicated as the second byte data of the shortage ball command is written to the remaining ball number counter 33a (S78), and the number of remaining balls The value of the counter 33a is made to coincide with the value of the remaining prize ball number counter 13c of the main control board C. Accordingly, the payout control board H performs payout of the shortage prize ball designated by the shortage prize ball command.
なお、受信したコマンドが上記コマンドのいずれもでなければ(S77:No)、その受信したコマンドに応じた処理を実行して(S79)、このコマンド受信処理を終了する。 If the received command is none of the above commands (S77: No), the process according to the received command is executed (S79), and the command receiving process is terminated.
図8は、パチンコ機Pの電源入時に払出制御基板Hで実行される立ち上げ処理のフローチャートである。この処理では、バックアップが有効であれば、バックアップエリア33dに記憶された各データを元の状態に戻し、賞球の払出制御を電源が断される前の状態から続行する。一方、バックアップが有効でなかったり、或いは、バックアップが有効であっても電源入時にクリアスイッチ23が押下された場合には、初期化処理を実行する。
FIG. 8 is a flowchart of start-up processing executed by the payout control board H when the pachinko machine P is turned on. In this process, if the backup is valid, each data stored in the backup area 33d is returned to the original state, and the prize ball payout control is continued from the state before the power is turned off. On the other hand, if the backup is not valid, or if the
まず、割込を禁止し(S81)、次に、本来のスタック領域にスタックされているデータを壊さないために、仮のスタックポインタを設定する(S82)。クリアスイッチ23がオンされているか否かを確認し(S83)、オンされていれば(S83:Yes)、処理をS85へ移行して初期化処理を実行する。クリアスイッチ23がオンされていなければ(S83:No)、バックアップが有効であるか否かを確認する(S84)。この確認は、RAM33の所定のエリアに書き込まれたキーワードが正しく記憶されているか否かにより判断する。キーワードが正しく記憶されていればバックアップは有効であり、逆に、キーワードが正しくなければバックアップデータは破壊されているので、そのバックアップは有効ではない。バックアップが有効であれば(S84:Yes)、処理をS92へ移行して、主制御基板Cの各状態を電源の断前の状態に復帰させる。一方、バックアップが有効でなければ(S84:No)、処理をS85へ移行して初期化処理を実行する。
First, interrupts are prohibited (S81), and then a temporary stack pointer is set so as not to destroy the data stacked in the original stack area (S82). It is confirmed whether or not the
S85の処理からの初期化処理では、まず、正規のスタックポインタを設定し、スタックの内容を整えた後(S85)、RAMクリア及び初期化処理を実行して(S86)、RAM33及びI/O等の各値を初期化する。その後、割込を許可して(S87)、前述した図7のコマンド受信処理を実行可能とする。割込の許可後は、主制御基板Cからの賞球の払出許可をウエイトするべく、初期化フラグ33b又は賞球払出許可フラグ33cのいずれかがオンされるまで処理をループする(S88:No,S89:No)。初期化フラグ33b又は賞球払出許可フラグ33cのいずれかがオンされれば(S88:Yes又はS89:Yes)、主制御基板Cから賞球の払出許可が出されたということである。よって、かかる場合には、次の電源断に備えて、初期化フラグ33b及び賞球払出許可フラグ33cを共にオフした後(S90)、払出制御基板Hのメイン処理となる各処理を実行する(S91)。図9の賞球払出処理は、この各処理(S91)の中で実行されるので、払出制御基板Hによる賞球の払い出しは、初期化フラグ33bまたは賞球払出許可フラグ33cのいずれかがオンされるまで待機されることになる。
In the initialization process from the process of S85, first, a normal stack pointer is set, the contents of the stack are arranged (S85), RAM clearing and initialization process are executed (S86), and the
なお、主制御基板Cから送信される初期化コマンドを受信して初期化フラグ33bがオンされた場合であっても(S88:Yes)、処理をS90へ移行するので、RAMクリア及び初期化処理(S86)を重複して実行することがない。
Even when the initialization command transmitted from the main control board C is received and the
S92からの復帰処理では、まず、バックアップエリア33dへ退避した各レジスタやI/O等のデータをそのバックアップエリア33dから読み出して、これら各データを元のレジスタやI/O等へ書き込む(S92)。更に、バックアップエリア33dからスタックポインタの値を読み出して、これをスタックポインタへ書き込み、電源断前(停電前)の状態、即ちNMI割込発生前の状態に戻す(S93)。その後、割込を許可して(S94)、図7のコマンド受信処理を実行可能とする。割込の許可後は、主制御基板Cからの賞球の払出許可をウエイトするべく、初期化フラグ33b又は賞球払出許可フラグ33cのいずれかがオンされるまで処理をループする(S95:No,S96:No)。
In the return processing from S92, first, data such as each register and I / O saved in the backup area 33d is read from the backup area 33d, and these data are written to the original register and I / O (S92). . Further, the value of the stack pointer is read from the backup area 33d and written to the stack pointer to return to the state before the power interruption (before the power failure), that is, the state before the occurrence of the NMI interrupt (S93). Thereafter, the interrupt is permitted (S94), and the command reception process of FIG. 7 can be executed. After permitting the interrupt, the process loops until either the
賞球払出許可フラグ33cがオンされれば(S95:Yes)、主制御基板Cから賞球の払出許可が出されたということである。よって、かかる場合には、次の電源断に備えて、賞球払出許可フラグ33cをオフした後(S98)、NMI割込をリターンし、処理を電源断前に実行していたところへ戻して、制御を電源断前の状態から続行する。これにより賞球の払い出しが可能となる。 If the prize ball payout permission flag 33c is turned on (S95: Yes), it means that a prize ball payout permission has been issued from the main control board C. Therefore, in such a case, in preparation for the next power-off, the prize ball payout permission flag 33c is turned off (S98), the NMI interrupt is returned, and the process is returned to the place where it was executed before the power-off. Continue control from the state before the power was turned off. This makes it possible to pay out the winning ball.
一方、初期化フラグ33bがオンされれば(S95:No,S96:Yes)、主制御基板Cから初期化コマンドが送信されたということである。よって、かかる場合には、RAMクリア及び初期化処理を実行して(S97)、払出制御基板Hを初期化した後、払出制御基板Hのメイン処理となる各処理を実行する(S91)。図9の賞球払出処理は、この各処理(S91)の中で実行されるので、払出制御基板Hによる賞球の払い出しは、初期化フラグ33bがオンされるまで待機されることになる。
On the other hand, if the
なお、図4で説明した通り、主制御基板Cは、初期化コマンドの送信後、ウエイト処理(S19)を実行しその後の処理の実行を所定時間待機するので、払出制御基板HによるRAMクリア及び初期化処理(S97)の実行中に、主制御基板Cから新たなコマンドが送信されることはない。よって、払出制御基板Hは、かかる場合にも遊技の払出制御を正常に行うことができるのである。 As described with reference to FIG. 4, the main control board C executes the wait process (S19) after transmitting the initialization command, and waits for the execution of the subsequent process for a predetermined time. During execution of the initialization process (S97), no new command is transmitted from the main control board C. Therefore, the payout control board H can normally perform the payout control of the game even in such a case.
図9は、払出制御基板Hの各処理(S91)の中で実行される賞球払出処理のフローチャートである。この賞球払出処理により、賞球の払い出しと、払い出された賞球の検出とが行われる。賞球払出処理では、まず、残賞球数カウンタ33aの値を調べ(S101)、その値が「0」でなければ(S101:No)、未払いの賞球が残っているので、賞球払出用モータ21を駆動して賞球を1個払い出す(S102)。一方、残賞球数カウンタ33aの値が「0」であれば(S101:Yes)、未払いの賞球は残っていないので、S102の賞球の払い出し処理をスキップする。
FIG. 9 is a flowchart of the prize ball payout process executed in each process (S91) of the payout control board H. With the prize ball payout process, the prize balls are paid out and the prize balls that have been paid out are detected. In the prize ball payout process, first, the value of the remaining prize ball number counter 33a is checked (S101). If the value is not "0" (S101: No), an unpaid prize ball remains, so a prize ball is paid out. The
S103の処理において、賞球カウントスイッチ22のオンが検出されれば(S103:Yes)、賞球の払い出しが行われたということである。よって、かかる場合には、残賞球数カウンタ33aの値を確認し(S104)、その値が「0」でなければ(S104:No)、払い出された賞球に対応して残賞球数カウンタ33aの値を「1」減算し(S105)、この賞球払出処理を終了する。一方、賞球カウントスイッチ22のオンが検出されない場合や(S103:No)、賞球カウントスイッチ22のオンが検出されても(S103:Yes)、残賞球数カウンタ33aの値が「0」であれば(S104:Yes)、S105の処理をスキップして、この賞球払出処理を終了する。
If it is detected in the process of S103 that the prize
以上説明したように、本実施例のパチンコ機Pによれば、賞球の払出残数を記憶する主制御基板Cおよび払出制御基板Hの残賞球数カウンタ13c,33aの値は、バックアップ用のコンデンサ13x,33xによって、それぞれパチンコ機Pの電源が切断された後も保持される。よって、停電などの発生によってパチンコ機Pの電源が突然切断された場合にも、未払いの賞球数を記憶して、パチンコ機Pの電源が再投入された後に、それらを確実に払い出すことができる。
As described above, according to the pachinko machine P of the present embodiment, the values of the remaining award ball counters 13c and 33a of the main control board C and the payout control board H that store the award ball payout remaining numbers are used for backup. The
しかも、かかる未払い分の賞球の払い出しは、主制御基板Cから払出制御基板Hへ初期化コマンド又は賞球払出許可コマンドのいずれかが送信された後に行われる。よって、主制御基板Cと払出制御基板Hとの立ち上げ処理に要する時間が異なっても、払出制御基板Hによって行われる賞球の払い出しを、主制御基板C及び払出制御基板Hの双方で確実に検出することができる。 Moreover, the payout of unpaid prize balls is performed after either the initialization command or the prize ball payout permission command is transmitted from the main control board C to the payout control board H. Therefore, even if the time required for the start-up processing of the main control board C and the payout control board H is different, the payout of the prize balls performed by the payout control board H is surely performed on both the main control board C and the payout control board H. Can be detected.
また、パチンコ機Pの電源が切断されるタイミングによっては、その電源の再入後に不足賞球が生じる場合があるが、電源断のタイミング等によって生じる不足賞球については、賞球アンダーエラーを発生させることなく、主制御基板Cから払出制御基板Hへ不足賞球コマンドを送信して、払出制御基板Hに、その不足賞球の払い出しを行わせている。よって、電源再入後における不足賞球の発生を補って、遊技を円滑に進めることができるという効果がある。 In addition, depending on the timing when the power of the pachinko machine P is turned off, there may be insufficient prize balls after the power is turned on again. Instead, the short control ball command is transmitted from the main control board C to the payout control board H, and the payout control board H pays out the short prize ball. Therefore, there is an effect that the game can be smoothly advanced by compensating for the occurrence of insufficient prize balls after the power is turned on again.
以上、実施例に基づき本発明を説明したが、本発明は上記実施例に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変形が可能であることは容易に推察できるものである。 The present invention has been described based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various improvements and modifications can be easily made without departing from the spirit of the present invention. It can be guessed.
例えば、上記実施例では、電源の再入後に不足賞球が生じた場合、賞球アンダーエラーを発生させることなく、必ず、不足賞球コマンドを送信した。しかし、これに代えて、電源の再入後における不足賞球の発生時に、残賞球数カウンタ13cの値を調べ、その値に応じて、不足賞球コマンドを送信するか、或いは、賞球アンダーエラーを発生させるかを決定するようにしても良い。即ち、電源断のタイミングによって生じる不足賞球は、主制御基板Cから送信された賞球コマンドを払出制御基板Hが受信できなかったり、或いは、受信できたとしても払出制御基板Hの残賞球数カウンタ33aへの加算前に電源断によって制御が停止した場合である。よって、電源断のタイミングによって生じる不足賞球の賞球数は、1の賞球コマンドで指示される賞球数の単位となる。従って、電源の再入時において不足賞球が生じた場合の主制御基板Cの残賞球数カウンタ13cの値が、賞球コマンドで指示される数であれば、賞球アンダーエラーを発生させることなく、主制御基板Cから払出制御基板Hへ不足賞球コマンドを送信し、逆に、その残賞球数カウンタ13cの値が賞球コマンドで指示される数でなければ、電源の再入時における不足賞球の発生であっても、賞球アンダーエラーを発生させるのである。 For example, in the above-described embodiment, when a shortage ball is generated after the power is turned on again, the shortage ball command is always transmitted without generating a win ball under error. However, instead of this, when an insufficient prize ball is generated after the power is turned on again, the value of the remaining prize ball number counter 13c is checked, and an insufficient prize ball command is transmitted according to the value or a prize ball is received. It may be determined whether to generate an under error. That is, the shortage prize ball generated due to the power-off timing cannot be received by the payout control board H or received even if the payout control board H receives the prize ball command transmitted from the main control board C. This is a case where the control is stopped due to power interruption before addition to the number counter 33a. Therefore, the number of shortage prize balls generated due to the power-off timing is a unit of the number of prize balls designated by one prize ball command. Accordingly, if the value of the remaining prize ball counter 13c of the main control board C when a shortage prize ball occurs when the power is turned on again is the number indicated by the prize ball command, a prize ball under error is generated. Without sending the shortage prize ball command from the main control board C to the payout control board H, if the value of the remaining prize ball counter 13c is not the number indicated by the prize ball command, the power is turned on again. Even if insufficient prize balls are generated at the time, a prize ball under error is generated.
具体的には、本実施例のパチンコ機Pでは、賞球コマンドで指示される賞球数は「6」又は「15」であるので、電源の再入後に不足賞球が発生した場合、残賞球数カウンタ13cの値を調べて、その値が「6」又は「15」のいずれかであれば不足賞球コマンドを送信し、逆に、「6」又は「15」のいずれでもなければ賞球アンダーエラーを発生させる。また、賞球コマンドで指示される賞球数の最大値は「15」であるので、電源の再入後に不足賞球が発生した場合、残賞球数カウンタ13cの値を調べて、その値が「16」以上であれば賞球アンダーエラーを発生させるようにしても良い。 Specifically, in the pachinko machine P according to the present embodiment, the number of prize balls designated by the prize ball command is “6” or “15”. The value of the prize ball number counter 13c is checked, and if the value is either “6” or “15”, a shortage prize ball command is transmitted, and conversely, if it is neither “6” nor “15”. Generates a baseball under error. Further, since the maximum value of the number of prize balls designated by the prize ball command is “15”, when an insufficient prize ball occurs after the power is turned on again, the value of the remaining prize ball number counter 13c is checked and the value is obtained. If the value is “16” or more, a prize ball under error may be generated.
RAM13,33は、いずれも不揮発性のメモリであるスタティックRAMにより構成され、電源の断時には、これらのRAM13,33に、バックアップ用のコンデンサ13x,33xによってバックアップ電圧を供給し、RAM13,33の各内容を保持(バックアップ)するように構成した。しかし、これに代えて、RAM13,33をEEPROMやフラッシュメモリなどのバックアップ電圧を加えなくても内容を保持できるメモリによって構成し、バックアップ用のコンデンサ13x,33xを除くようにしても良い。かかる場合には、RAM13,33自体が、バックアップ手段又は主バックアップ手段を兼用する。
Each of the
本発明を上記実施例とは異なるタイプのパチンコ機等に実施しても良い。例えば、一度大当たりすると、それを含めて複数回(例えば2回、3回)大当たり状態が発生するまで、大当たり期待値が高められるようなパチンコ機(通称、2回権利物、3回権利物と称される)として実施しても良い。また、大当たり図柄が表示された後に、所定の領域に球を入賞させることを必要条件として特別遊技状態となるパチンコ機として実施しても良い。更に、パチンコ機以外にも、アレパチ、雀球、スロットマシン、いわゆるパチンコ機とスロットマシンとが融合した遊技機などの各種遊技機として実施するようにしても良い。 You may implement this invention in the pachinko machine etc. of a different type from the said Example. For example, once a big hit, a pachinko machine that raises the expected value of the big hit until a big hit state occurs (for example, two times or three times) including that (for example, a two-time right item, a three-time right item) May also be implemented. Moreover, after the jackpot symbol is displayed, it may be implemented as a pachinko machine that enters a special game state under the condition that a ball is awarded in a predetermined area. Further, in addition to the pachinko machine, the game machine may be implemented as various game machines such as an alepatchi, a sparrow ball, a slot machine, a game machine in which a so-called pachinko machine and a slot machine are integrated.
なお、スロットマシンは、例えばコインを投入して図柄有効ラインを決定させた状態で操作レバーを操作することにより図柄が変動され、ストップボタンを操作することにより図柄が停止されて確定される周知のものである。従って、スロットマシンの基本概念としては、「複数の識別情報からなる識別情報列を変動表示した後に識別情報を確定表示する可変表示手段を備え、始動用操作手段(例えば操作レバー)の操作に起因して識別情報の変動が開始され、停止用操作手段(例えばストップボタン)の操作に起因して、或いは、所定時間経過することにより、識別情報の変動が停止され、その停止時の確定識別情報が特定識別情報であることを必要条件として、遊技者に有利な特別遊技状態を発生させる特別遊技状態発生手段とを備えたスロットマシン」となり、この場合、遊技媒体はコイン、メダル等が代表例として挙げられる。 In the slot machine, for example, a symbol is changed by operating a control lever in a state where a symbol effective line is determined by inserting coins, and a symbol is stopped and confirmed by operating a stop button. Is. Therefore, the basic concept of the slot machine is that it is provided with variable display means for confirming and displaying the identification information after variably displaying the identification information string composed of a plurality of identification information, and resulting from the operation of the starting operation means (for example, the operation lever). Then, the change of the identification information is started, and the change of the identification information is stopped due to the operation of the operation means for stop (for example, the stop button) or after the lapse of a predetermined time, and the fixed identification information at the time of the stop Is a slot machine provided with special game state generating means for generating a special game state advantageous to the player on the condition that the specific identification information is a necessary condition. In this case, coins, medals, etc. are representative examples of game media As mentioned.
また、パチンコ機とスロットマシンとが融合した遊技機の具体例としては、複数の図柄からなる図柄列を変動表示した後に図柄を確定表示する可変表示手段を備えており、球打出用のハンドルを備えていないものが挙げられる。この場合、所定の操作(ボタン操作)に基づく所定量の球の投入の後、例えば操作レバーの操作に起因して図柄の変動が開始され、例えばストップボタンの操作に起因して、或いは、所定時間経過することにより、図柄の変動が停止され、その停止時の確定図柄がいわゆる大当たり図柄であることを必要条件として遊技者に有利な大当たり状態が発生させられ、遊技者には、下部の受皿に多量の球が払い出されるものである。 In addition, as a specific example of a gaming machine in which a pachinko machine and a slot machine are integrated, a variable display means for displaying a symbol after a symbol string composed of a plurality of symbols is displayed, and a handle for launching a ball is provided. What is not provided. In this case, after throwing a predetermined amount of spheres based on a predetermined operation (button operation), for example, the change of the symbol is started due to the operation of the operation lever, for example, due to the operation of the stop button, or With the passage of time, the fluctuation of the symbol is stopped, and a jackpot state advantageous to the player is generated on the condition that the confirmed symbol at the time of stoppage is a so-called jackpot symbol. A lot of balls are paid out.
以下に本発明の変形例を示す。請求項1記載の遊技機において、前記不足分通知手段は、電源入時における前記主残数記憶手段に記憶される数の有価物体が前記払出制御手段により払い出されない場合であって、その不足分の有価物体数を記憶する前記主残数記憶手段の値が前記主制御手段から払出制御手段へ指示される有価物体数の1の単位に相当する場合に(或いは、指示される1単位の有価物体数の最大値以下である場合に)、その不足分の有価物体数を前記払出制御手段へ報せるものであることを特徴とする遊技機1。
The modification of this invention is shown below. 2. The gaming machine according to
請求項1記載の遊技機において、前記不足分通知手段は、電源入時における前記主残数記憶手段に記憶される数の有価物体が前記払出制御手段により払い出されない場合に、その不足分の有価物体数を前記払出制御手段へ報せるものであることを特徴とする遊技機2。電源入時の払い出しに限り不足分通知手段を作動させるので、即ち、停電の発生等による停電処理の実行により、払出制御手段で記憶する有価物体の払出残数が、主制御手段で記憶する有価物体の払出残数より小さくなった場合に限り、不足分通知手段を作動させるので、その不足分の通知を、電源断とは無関係に生じる他のエラーと区別して行うことができる。
2. The gaming machine according to
請求項1記載の遊技機において、前記主制御手段は、電源入時における前記主残数記憶手段に記憶される有価物体の払出残数が0である場合には、前記不足分通知手段の作動を禁止する作動禁止手段を備えていることを特徴とする遊技機3。作動禁止手段としては、上記実施例において「不足賞球チェック済フラグ13d」が例示され、該フラグ13dがオンである場合に、不足分通知手段の作動(即ち、不足賞球コマンドの送信)が禁止される。よって、停電の発生等による停電処理の実行により、払出制御手段で記憶する有価物体の払出残数が、主制御手段で記憶する有価物体の払出残数より小さくなった場合に限り、不足分通知手段を作動させることができる。従って、払い出すべき有価物体数の不足分の通知を、電源断とは無関係に生じる他のエラーと区別して行うことができる。
2. The gaming machine according to
請求項1記載の遊技機において、前記主制御手段は、前記不足分通知手段の作動を電源入後1回以内に制限する作動制限手段を備えていることを特徴とする遊技機4。作動制限手段としては、上記実施例において「不足賞球チェック済フラグ13d」が例示され、該フラグ13dがオンである場合に、不足分通知手段の作動(即ち、不足賞球コマンドの送信)がそれ以上行われないように制限される。従って、停電の発生等による電源断の後、電源が再入された場合、不足分通知手段は最高1回作動するだけであるので、払い出すべき有価物体数の不足分の通知を、電源断とは無関係に生じる他のエラーと区別して行うことができる。
2. The gaming machine according to
請求項1記載の遊技機または遊技機1から4のいずれかにおいて、前記払出制御手段は、前記不足分通知手段により払い出すべき有価物体数の不足分の通知を受けた場合には、前記残数記憶手段の値をその不足分の値に書き換える残数書換手段を備えていることを特徴とする遊技機5。遊技機の何らかの装置異常等(払出モータの異常等)により有価物体の払い出しが行われない場合にも、主制御手段と払出制御手段とでそれぞれ記憶する有価物体の払出残数を、不足分通知手段により電源入時に一致させることができる。
2. The gaming machine according to
請求項1記載の遊技機または遊技機1から5のいずれかにおいて、前記不足分通知手段は、前記主残数記憶手段に記憶される有価物体の払出残数が0でない場合であって前記払出制御手段による有価物体の払い出しが所定時間以上行われない場合に、払い出されるべき不足分の有価物体数をその払出制御手段へ通知するものであることを特徴とする遊技機6。
2. The gaming machine according to
遊技機6において、前記不足分通知手段は、前記払出制御手段により有価物体の払い出しが行われた場合に、前記所定時間の計時を初期化するものであることを特徴とする遊技機7。不足分の有価物体数の通知は、最後の有価物体の払い出し後所定時間以上経過した場合に行われる。よって、有価物体の払出残数が多く、払い出しが長時間に亘って行われる場合であっても、有価物体の払い出しが継続されている限り、不足分の有価物体数の通知を行うことはない。即ち、不足分の有価物体数の通知を適切なタイミングで行うことができる。 In the gaming machine 6, the shortage notifying means initializes the counting of the predetermined time when a valuable object is paid out by the payout control means. The notification of the shortage of valuable objects is performed when a predetermined time or more has elapsed after the last valuable object is paid out. Therefore, even if there are a large number of valuable objects to be paid out and the payout is performed over a long period of time, the shortage of valuable objects will not be notified as long as the valuable objects are being paid out. . That is, notification of the shortage of valuable objects can be performed at an appropriate timing.
遊技機6または7において、前記払出制御手段が有価物体の払い出しを行い得ない状態である場合、前記不足分通知手段は、前記不足分の通知を待機するものであることを特徴とする遊技機8。払出制御手段が有価物体の払い出しを行い得ない状態としては、払い出される有価物体を貯留する貯留タンクの有価物体の貯留量が所定量に満たず空切れ状態となっている場合などが例示される。 In the gaming machine 6 or 7, when the payout control means cannot pay out the valuable object, the shortage notifying means waits for the shortage notice. 8. Examples of the state in which the payout control unit cannot pay out the valuable object include a case where the storage amount of the valuable object in the storage tank that stores the valuable object to be paid out is less than a predetermined amount and is in an empty state. .
遊技機8において、前記不足分通知手段は、前記払出制御手段による有価物体の払い出しの行われ得ない状態が解消した場合に(或いは、前記払出制御手段による有価物体の払い出しの行われ得ない状態となった場合に)、前記所定時間の計時を初期化するものであることを特徴とする遊技機9。払出制御手段による有価物体の払い出しが可能となってから、その払い出しが所定時間以上行われない場合に、不足分の有価物体数の通知が行われる。よって、かかる場合にも、不足分の有価物体数の通知を適切なタイミングで行うことができる。
In the
請求項1記載の遊技機または遊技機1から9のいずれかにおいて、前記主制御手段と払出制御手段との送受信を、その主制御手段から払出制御手段への一方向にのみ可能とする一方向手段を備えていることを特徴とする遊技機10。
10. A game machine according to
請求項1記載の遊技機または遊技機1から10のいずれかにおいて、前記遊技機はパチンコ機であることを特徴とする遊技機11。中でも、パチンコ機の基本構成としては操作ハンドルを備え、その操作ハンドルの操作に応じて球を所定の遊技領域へ発射し、球が遊技領域内の所定の位置に配設された作動口に入賞(又は作動口を通過)することを必要条件として、表示装置において変動表示されている識別情報が所定時間後に確定停止されるものが挙げられる。また、特別遊技状態の発生時には、遊技領域内の所定の位置に配設された可変入賞装置(特定入賞口)が所定の態様で開放されて球を入賞可能とし、その入賞個数に応じた有価価値(景品球のみならず、磁気カードへ書き込まれるデータ等も含む)が付与されるものが挙げられる。
The
請求項1記載の遊技機または遊技機1から10のいずれかにおいて、前記遊技機はスロットマシンであることを特徴とする遊技機12。中でも、スロットマシンの基本構成としては、「複数の識別情報からなる識別情報列を変動表示した後に識別情報を確定表示する可変表示手段を備え、始動用操作手段(例えば操作レバー)の操作に起因して、或いは、所定時間経過することにより、識別情報の変動が停止され、その停止時の確定識別情報が特定識別情報であることを必要条件として、遊技者に有利な特別遊技状態を発生させる特別遊技状態発生手段とを備えた遊技機」となる。この場合、遊技媒体はコイン、メダル等が代表例として挙げられる。
The gaming machine according to
請求項1記載の遊技機又は遊技機1から10のいずれかにおいて、前記遊技機はパチンコ機とスロットマシンとを融合させたものであることを特徴とする遊技機13。中でも、融合させた遊技機の基本構成としては、「複数の識別情報からなる識別情報列を変動表示した後に識別情報を確定表示する可変表示手段を備え、始動用操作手段(例えば操作レバー)の操作に起因して識別情報の変動が開始され、停止用操作手段(例えばストップボタン)の操作に起因して、或いは、所定時間経過することにより、識別情報の変動が停止され、その停止時の確定識別情報が特定識別情報であることを必要条件として、遊技者に有利な特別遊技状態を発生させる特別遊技状態発生手段とを備え、遊技媒体として球を使用すると共に、前記識別情報の変動開始に際しては所定数の球を必要とし、特別遊技状態の発生に際しては多くの球が払い出されるように構成されている遊技機」となる。
The gaming machine according to
13 主制御基板のRAM(記憶手段)
13x 主制御基板のバックアップ用コンデンサ(バックアップ電源手段)
33 払出制御基板のRAM(従側記憶手段)
C 主制御基板(主制御手段)
H 払出制御基板(従制御手段)
P パチンコ機(遊技機)
S13 切替手段
S16 初期化手段
S18 主初期化時コマンド送信手段
S19 ウエイト手段
S21,S22 遊技実行手段
S86,S97 従側初期化手段
13 RAM of main control board (storage means)
13x main control board backup capacitor (backup power supply means)
33 RAM of payout control board (secondary storage means)
C Main control board (Main control means)
H payout control board (slave controller)
P Pachinko machine (game machine)
S13 Switching means
S16 Initializing means
S18 Command transmission means at main initialization
S19 Weight means
S21, S22 Game execution means
S86, S97 Slave side initialization means
Claims (1)
前記主制御手段は、
遊技機の電源断中においても記憶内容を保持し続けるようバックアップ電源手段に接続される記憶手段と、
遊技機の電源投入後に前記記憶手段の記憶内容を使用して遊技を実行する遊技実行手段と、
遊技機の電源投入後に前記記憶手段の記憶内容を初期化する初期化手段と、
前記遊技実行手段による遊技の実行と前記初期化手段による初期化とを切替可能な切替手段と、
前記初期化手段による初期化が行われる場合に、前記従制御手段に主初期化時コマンドを送信する主初期化時コマンド送信手段とを備え、
前記初期化手段と前記主初期化時コマンド送信手段とは、一のCPUが含み、
前記従制御手段は、
遊技機の電源投入後に従制御手段が有する従側記憶手段を初期化する従側初期化手段と、
前記主制御手段が送信する主初期化時コマンドを受信した場合に、主初期化時コマンド受信時処理を実行する手段とを備え、
その主初期化時コマンド受信時処理は、前記従側初期化手段による前記従側記憶手段の初期化処理を含んで構成されており、
前記主制御手段は、更に、前記主初期化時コマンド送信手段により前記従制御手段へ主初期化時コマンドを送信した場合に、前記従側初期化手段による前記従側記憶手段の初期化処理を完了するための時間をウエイトするウエイト手段を備えていることを特徴とする遊技機。
In a gaming machine comprising main control means for controlling a game and slave control means for performing predetermined control based on a command transmitted from the main control means,
The main control means includes
Storage means connected to the backup power supply means so as to keep the stored contents even during the power-off of the gaming machine;
A game execution means for executing a game using the stored contents of the storage means after powering on the gaming machine;
Initialization means for initializing the storage contents of the storage means after powering on the gaming machine;
Switching means capable of switching between execution of the game by the game execution means and initialization by the initialization means;
When initialization by the initialization means is performed, the main initialization time command transmission means for transmitting a main initialization time command to the slave control means,
The initialization unit and the main initialization time command transmission unit include a single CPU,
The slave control means includes
Slave initialization means for initializing slave storage means included in the slave control means after powering on the gaming machine;
Means for executing a main initialization time command reception process when receiving a main initialization time command transmitted by the main control means;
The main initialization command reception process includes an initialization process of the slave storage means by the slave initialization means,
The main control means further performs initialization processing of the slave storage means by the slave initialization means when the master initialization command is transmitted to the slave control means by the master initialization command transmission means. A gaming machine comprising weight means for waiting for completion time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015009139A JP5987925B2 (en) | 2015-01-21 | 2015-01-21 | Game machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015009139A JP5987925B2 (en) | 2015-01-21 | 2015-01-21 | Game machine |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013147553A Division JP2013240627A (en) | 2013-07-16 | 2013-07-16 | Game machine |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016105123A Division JP6187637B2 (en) | 2016-05-26 | 2016-05-26 | Game machine |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015096225A JP2015096225A (en) | 2015-05-21 |
JP5987925B2 true JP5987925B2 (en) | 2016-09-07 |
Family
ID=53373816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015009139A Expired - Fee Related JP5987925B2 (en) | 2015-01-21 | 2015-01-21 | Game machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5987925B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3664893B2 (en) * | 1998-10-02 | 2005-06-29 | 株式会社三共 | Game machine |
JP2000262698A (en) * | 1999-03-12 | 2000-09-26 | Sophia Co Ltd | Game machine |
-
2015
- 2015-01-21 JP JP2015009139A patent/JP5987925B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2015096225A (en) | 2015-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5083385B2 (en) | Game machine | |
JP5170220B2 (en) | Game machine | |
JP4321642B2 (en) | Game machine | |
JP2002119710A (en) | Game machine | |
JP6187637B2 (en) | Game machine | |
JP4023322B2 (en) | Game machine | |
JP5987925B2 (en) | Game machine | |
JP4479859B2 (en) | Game machine | |
JP5585568B2 (en) | Game machine | |
JP4792630B2 (en) | Game machine | |
JP4135710B2 (en) | Game machine | |
JP4103380B2 (en) | Game machine | |
JP2010259840A (en) | Game machine | |
JP4174966B2 (en) | Game machine | |
JP2012148163A (en) | Game machine | |
JP4492685B2 (en) | Slot machine | |
JP2013240627A (en) | Game machine | |
JP2005087768A5 (en) | ||
JP4479858B2 (en) | Game machine | |
JP4631895B2 (en) | Game machine | |
JP5093305B2 (en) | Game machine | |
JP4665958B2 (en) | Game machine | |
JP2002126288A5 (en) | ||
JP4379514B2 (en) | Game machine | |
JP4428438B2 (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150220 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160329 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160526 |
|
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: 20160712 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160725 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5987925 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |