JP2002018059A - Game machine - Google Patents

Game machine

Info

Publication number
JP2002018059A
JP2002018059A JP2000207294A JP2000207294A JP2002018059A JP 2002018059 A JP2002018059 A JP 2002018059A JP 2000207294 A JP2000207294 A JP 2000207294A JP 2000207294 A JP2000207294 A JP 2000207294A JP 2002018059 A JP2002018059 A JP 2002018059A
Authority
JP
Japan
Prior art keywords
ball
payout
game
command
prize
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.)
Withdrawn
Application number
JP2000207294A
Other languages
Japanese (ja)
Inventor
Shohachi Ugawa
詔八 鵜川
Masanori Kinoshita
真紀 木下
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 JP2000207294A priority Critical patent/JP2002018059A/en
Publication of JP2002018059A publication Critical patent/JP2002018059A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a game machine capable of executing suitable payoff control responding to the shortage of game balls. SOLUTION: This game machine is provided with a prize ball payoff device for paying off game balls, plural payoff ball passages for supplying the game balls to a prize ball payoff device, and a ball out switch capable of detecting the shortage of game balls in each of plural payoff ball passages. A payoff control CPU for controlling the prize ball payoff device starts the prize ball payoff control for 25 balls if the number of prize balls stored in a total number storage is 25 or larger when the shortage of game balls is detected in some payoff ball passage at the start of paying off the game balls, and starts the prize ball payoff control for the number corresponding to the total number if the number of prize balls stored in the total number storage is under the present number.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、遊技者の操作に応
じて遊技が行われるパチンコ遊技機、コイン遊技機、ス
ロット機等の遊技機に関し、特に、遊技盤における遊技
領域において遊技者の操作に応じて遊技が行われる遊技
機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a game machine such as a pachinko game machine, a coin game machine, a slot machine, etc., in which a game is played in accordance with a player's operation. A gaming machine in which a game is played in accordance with a game machine.

【0002】[0002]

【従来の技術】遊技機として、遊技球などの遊技媒体を
発射装置によって遊技領域に発射し、遊技領域に設けら
れている入賞口などの入賞領域に遊技媒体が入賞する
と、所定個の賞球等の価値が遊技者に払い出されるもの
がある。遊技媒体の払出しは払出機構によって行われ
る。
2. Description of the Related Art As a gaming machine, a game medium such as a game ball is launched into a game area by a launching device, and when a game medium wins a winning area such as a winning opening provided in the game area, a predetermined number of prize balls are obtained. Some values are paid out to players. The payout of the game medium is performed by a payout mechanism.

【0003】払出機構は、一般に、払出制御基板に搭載
された賞球制御手段によって制御される。遊技の進行は
主基板に搭載された遊技制御手段によって制御されるの
で、入賞にもとづく賞球個数は、遊技制御手段によって
決定され、払出制御基板に送信される。
The payout mechanism is generally controlled by prize ball control means mounted on a payout control board. Since the progress of the game is controlled by the game control means mounted on the main board, the number of winning balls based on the winning is determined by the game control means and transmitted to the payout control board.

【0004】また、遊技者は、遊技媒体を借り出し、借
り出した遊技媒体および入賞に応じて払い出された遊技
媒体を用いて遊技を行う。その際、遊技者からの遊技媒
体貸し要求はカードユニット等の貸出要求処理装置で一
旦受け付けられ、遊技機の貸出制御手段は貸出要求処理
装置と通信することによって遊技者からの貸出要求を受
け付ける。遊技機は、遊技者からの貸出要求に応じて遊
技媒体を貸し出すのであるが、賞球制御手段と貸出制御
手段とは一体化された払出制御手段で構成されているこ
とが多い。また、一般に、払出制御手段は払出制御マイ
クロコンピュータを含む構成とされる。
[0004] Further, a player borrows a game medium and plays a game using the borrowed game medium and the game medium paid out according to a prize. At that time, a request for lending a game medium from a player is once received by a lending request processing device such as a card unit, and the lending control means of the gaming machine receives a lending request from the player by communicating with the lending request processing device. A gaming machine lends a game medium in response to a lending request from a player. In many cases, the prize ball control means and the lending control means are constituted by an integrated payout control means. Generally, the payout control means includes a payout control microcomputer.

【0005】[0005]

【発明が解決しようとする課題】しかし、遊技媒体が欠
乏したことが検出されると、入賞領域に遊技媒体が入賞
した場合であっても払出制御手段による払出処理が実行
されない。従って、たとえ他に払出可能な遊技媒体が貯
留されている場合であっても払出処理が実行されず、適
切な遊技媒体の払出制御を行うことができないおそれが
あるという課題があった。
However, when it is detected that the game medium is in shortage, the payout processing by the payout control means is not executed even if the game medium wins in the winning area. Therefore, even if other payable game media are stored, the payout process is not performed, and there is a problem that appropriate payout control of the game media may not be performed.

【0006】そこで、本発明は、遊技媒体の欠乏状態に
応じた適切な払出制御を実行することが可能な遊技機を
提供することを目的とする。
Accordingly, an object of the present invention is to provide a gaming machine capable of executing appropriate payout control in accordance with a state of lack of gaming media.

【0007】[0007]

【課題を解決するための手段】本発明による遊技機は、
遊技者が所定の遊技を行うことが可能な遊技機であっ
て、遊技媒体の払出を行う払出手段(例えば、賞球払出
装置97A、貸し球払出装置97C)と、払出手段に遊
技媒体を供給するための複数の供給経路(例えば、払出
球通路186a,186b,186c)と、複数の供給
経路それぞれにおける遊技媒体の欠乏を検出することが
可能な遊技媒体欠乏検出手段(例えば、球切れスイッチ
187a,187b,187c)とを備え、払出手段
は、払出動作を開始する以前の段階(例えば、賞球モー
タ289Aの駆動が開始される前の段階)で、複数の供
給経路のうち、一部の供給経路において遊技媒体の欠乏
が検出された場合であっても、他の供給経路に遊技媒体
が存在する場合には、払出動作を行うことが可能なこと
を特徴とするものである。
A gaming machine according to the present invention comprises:
A game machine in which a player can play a predetermined game, and a payout means (for example, a prize ball payout device 97A, a loan ball payout device 97C) for paying out game media, and a game medium is supplied to the payout means. A plurality of supply paths (for example, payout ball passages 186a, 186b, 186c) and game medium deficiency detection means (for example, a ball-out switch 187a) capable of detecting a lack of game medium in each of the plurality of supply paths. , 187b, 187c), and at the stage before the start of the payout operation (for example, at the stage before the driving of the prize ball motor 289A is started), the payout means includes a part of the plurality of supply paths. Even when a shortage of the game medium is detected in the supply path, the payout operation can be performed when the game medium exists in another supply path. .

【0008】払出手段は、払出動作を開始する以前の段
階で、複数の供給経路の全てにおいて遊技媒体の欠乏が
検出された場合には、払出動作を行わないことを特徴と
するようにしてもよい。
[0008] The payout means may not perform the payout operation when the shortage of the game media is detected in all of the plurality of supply paths before the start of the payout operation. Good.

【0009】払出手段の1回の払出動作としての予定動
作期間(例えば、所定個数(例えば25個)の遊技球を
払出すための賞球モータ289Aの駆動期間)および1
回の払出動作により払出す予定払出数(例えば、25
個、6個、10個、15個などの払出予定数)をあらか
じめ設定可能であり、払出手段は、一部の供給経路で遊
技媒体の欠乏が検出されたあとに遊技媒体の払出を行っ
た場合であって、予定動作期間内に払い出された遊技媒
体の払出数が予定払出数に満たない場合には、予定動作
期間経過後(例えば、賞球払出装置97Aのモータの駆
動終了後)に予定払出数の未払出分を払い出す(例え
ば、補正動作によって払い出す)払出動作を行うことが
可能なことを特徴とするものであってもよい。
A scheduled operation period (for example, a driving period of the prize ball motor 289A for paying out a predetermined number (for example, 25) of game balls) as one payout operation of the payout means;
Scheduled payout number (for example, 25
, 6, 10, 15 or the like) can be set in advance, and the payout unit pays out the game medium after the shortage of the game medium is detected in some supply paths. In this case, if the number of game media paid out during the scheduled operation period is less than the planned number of payouts, after the scheduled operation period elapses (for example, after driving of the motor of the prize ball payout device 97A ends). A payout operation of paying out the unpaid amount of the planned payout number (for example, paying out by a correction operation) may be performed.

【0010】複数の供給経路は、遊技の進行に応じて払
い出される遊技媒体を払出手段に供給するための複数の
賞遊技媒体供給経路(例えば、払出球通路186aと払
出球通路186b)を含むことを特徴とするようにして
もよい。
[0010] The plurality of supply paths include a plurality of prize game medium supply paths (for example, a payout ball path 186a and a payout ball path 186b) for supplying game media to be paid out in accordance with the progress of the game to the payout means. May be characterized.

【0011】遊技者の所定の遊技結果にもとづく入賞を
検出する入賞検出手段(例えば、始動口スイッチ17)
と、遊技の進行を制御する遊技制御手段(例えば、CP
U56)と、払出手段を制御して遊技媒体の払出に関わ
る制御を行う払出制御手段(例えば、払出制御用CPU
371)とを備え、遊技制御手段は、払出停止中であっ
ても、入賞検出手段からの入賞検出に応じて払出数を特
定するための制御信号(例えば、賞球個数指定の払出制
御コマンド)を払出制御手段に出力することが可能なこ
とを特徴とするようにしてもよい。
A prize detecting means for detecting a prize based on a predetermined game result of the player (for example, a starting port switch 17)
And game control means for controlling the progress of the game (for example, CP
U56) and payout control means (for example, a payout control CPU for controlling the payout means to perform control relating to the payout of the game medium).
371), and the game control means controls the control signal (for example, a payout control command for specifying the number of prize balls) for specifying the number of payouts in accordance with the winning detection from the prize detecting means even when the payout is stopped. May be output to the payout control means.

【0012】払出制御手段は、払出停止中であっても、
遊技制御手段が出力した制御信号を取得することが可能
なことを特徴とするようにしてもよい。
[0012] The dispensing control means, even when dispensing is stopped,
The control signal output by the game control means may be acquired.

【0013】払出手段として、遊技の進行に応じた遊技
媒体の払出を行う賞遊技媒体払出機構部(例えば、賞球
払出装置97A)と、貸出要求に応じた遊技媒体の払出
を行う貸出遊技媒体払出機構部(例えば、貸し球払出装
置97C)とを有し、供給経路として、遊技の進行に応
じて払い出される遊技媒体を賞遊技媒体払出機構部に供
給する賞供給経路(例えば、払出球通路186a、払出
球通路186b)と、貸出要求に応じて払い出される遊
技媒体を貸出遊技媒体払出機構部に供給する貸出供給経
路(例えば、払出球通路186c)とを備え、遊技媒体
欠乏検出手段は、賞供給経路と貸出供給経路のそれぞれ
に対応して設けられることを特徴とするようにしてもよ
い。
As payout means, a prize game medium payout mechanism (for example, a prize ball payout device 97A) for paying out game media in accordance with the progress of the game, and a lending game medium for paying out game media in accordance with a lending request. A payout mechanism (for example, a rental ball payout device 97C), and as a supply path, a prize supply path (for example, a payout ball passage) for supplying game media to be paid out in accordance with the progress of the game to the prize game medium payout mechanism. 186a, payout ball passage 186b), and a lending supply path (for example, a payout ball passage 186c) for supplying a game medium to be paid out in response to a lending request to a lending game medium payout mechanism section, It may be provided that it is provided corresponding to each of the prize supply path and the lending supply path.

【0014】賞遊技媒体払出機構部は、貸出供給経路に
おいて遊技媒体の欠乏が検出された場合であっても、遊
技の進行に応じて払い出される遊技媒体の払出を行うこ
とが可能なことを特徴とするようにしてもよい。
[0014] The prize game medium payout mechanism is capable of paying out the game medium paid out in accordance with the progress of the game even when the shortage of the game medium is detected in the lending supply path. You may make it.

【0015】[0015]

【発明の実施の形態】以下、本発明の一実施形態を図面
を参照して説明する。まず、遊技機の一例であるパチン
コ遊技機の全体の構成について説明する。図1はパチン
コ遊技機1を正面からみた正面図である。なお、ここで
は、遊技機の一例としてパチンコ遊技機を示すが、本発
明はパチンコ遊技機に限られず、例えばコイン遊技機や
スロット機等であってもよい。
An embodiment of the present invention will be described below with reference to the drawings. First, the overall configuration of a pachinko gaming machine, which is an example of a gaming machine, will be described. FIG. 1 is a front view of the pachinko gaming machine 1 as viewed from the front. Here, a pachinko gaming machine is shown as an example of a gaming machine, but the present invention is not limited to a pachinko gaming machine, and may be, for example, a coin gaming machine or a slot machine.

【0016】図1に示すように、パチンコ遊技機1は、
額縁状に形成されたガラス扉枠2を有する。ガラス扉枠
2の下部表面には打球供給皿3がある。打球供給皿3の
下部には、打球供給皿3からあふれた貯留球を貯留する
余剰球受皿4と打球を発射する打球操作ハンドル(操作
ノブ)5が設けられている。ガラス扉枠2の後方には、
遊技盤6が着脱可能に取り付けられている。また、遊技
盤6の前面には遊技領域7が設けられている。なお、図
1には現れないが、打球供給皿3の上面側には、カード
ユニット50を介した球貸しのための度数表示LED、
球貸しスイッチおよび返却スイッチが設けられている。
As shown in FIG. 1, the pachinko gaming machine 1 comprises:
It has a glass door frame 2 formed in a frame shape. On the lower surface of the glass door frame 2, there is a hit ball supply tray 3. Below the hitting ball supply tray 3, a surplus ball receiving tray 4 for storing storage balls overflowing from the hitting ball supply tray 3 and a hitting operation handle (operation knob) 5 for firing a hitting ball are provided. Behind the glass door frame 2,
The game board 6 is detachably attached. A game area 7 is provided on the front of the game board 6. Although not shown in FIG. 1, a frequency display LED for lending a ball via the card unit 50 is provided on the upper surface side of the hit ball supply tray 3.
A ball lending switch and a return switch are provided.

【0017】遊技領域7の中央付近には、複数種類の図
柄を可変表示するための可変表示部9と7セグメントL
EDによる可変表示器10とを含む可変表示装置8が設
けられている。また、可変表示器10の下部には、4個
のLEDからなる通過記憶表示器(普通図柄用記憶表示
器)41が設けられている。この実施の形態では、可変
表示部9には、「左」、「中」、「右」の3つの図柄表
示エリアがある。可変表示装置8の側部には、打球を導
く通過ゲート11が設けられている。通過ゲート11を
通過した打球は、球出口13を経て始動入賞口14の方
に導かれる。通過ゲート11と球出口13との間の通路
には、通過ゲート11を通過した打球を検出するゲート
スイッチ12がある。また、始動入賞口14に入った入
賞球は、遊技盤6の背面に導かれ、始動口スイッチ17
によって検出される。また、始動入賞口14の下部には
開閉動作を行う可変入賞球装置15が設けられている。
可変入賞球装置15は、ソレノイド16によって開状態
とされる。
In the vicinity of the center of the game area 7, a variable display section 9 for variably displaying a plurality of types of symbols and a 7-segment L
A variable display device 8 including a variable display 10 using an ED is provided. In addition, a pass storage display (ordinary symbol storage display) 41 including four LEDs is provided below the variable display 10. In this embodiment, the variable display section 9 has three symbol display areas of “left”, “middle”, and “right”. On the side of the variable display device 8, a passing gate 11 for guiding a hit ball is provided. The hit ball that has passed through the passing gate 11 is guided to the starting winning opening 14 via the ball exit 13. In the passage between the passage gate 11 and the ball exit 13, there is a gate switch 12 for detecting a hit ball passing through the passage gate 11. The winning ball that has entered the starting winning port 14 is guided to the back of the game board 6 and is turned on by the starting port switch 17.
Is detected by In addition, a variable winning ball device 15 that performs opening and closing operations is provided below the starting winning port 14.
The variable winning ball device 15 is opened by the solenoid 16.

【0018】可変入賞球装置15の下部には、特定遊技
状態(大当り状態)においてソレノイド21によって開
状態とされる開閉板20が設けられている。この実施の
形態では、開閉板20が大入賞口を開閉する手段とな
る。開閉板20から遊技盤6の背面に導かれた入賞球の
うち一方(Vゾーン)に入った入賞球はVカウントスイ
ッチ22で検出される。また、開閉板20からの入賞球
はカウントスイッチ23で検出される。可変表示装置8
の下部には、始動入賞口14に入った入賞球数を表示す
る4個の表示部を有する始動入賞記憶表示器18が設け
られている。この例では、4個を上限として、始動入賞
がある毎に、始動入賞記憶表示器18は点灯している表
示部を1つずつ増やす。そして、可変表示部9の可変表
示が開始される毎に、点灯している表示部を1つ減ら
す。
Below the variable winning ball device 15, there is provided an opening / closing plate 20 which is opened by a solenoid 21 in a specific game state (big hit state). In this embodiment, the opening and closing plate 20 serves as a means for opening and closing the special winning opening. The winning ball that enters one (V zone) of the winning balls guided from the opening / closing plate 20 to the back of the game board 6 is detected by the V count switch 22. The winning ball from the opening / closing plate 20 is detected by the count switch 23. Variable display device 8
A start winning prize storage display 18 having four display sections for displaying the number of winning balls entering the starting winning prize port 14 is provided below. In this example, the start winning prize storage display 18 increases the number of lit display units by one each time there is a starting prize, with the upper limit being four. Then, each time the variable display of the variable display unit 9 is started, the number of the lit display units is reduced by one.

【0019】遊技盤6には、複数の入賞口19,24が
設けられ、遊技球のそれぞれの入賞口19,24への入
賞は、対応して設けられている入賞口スイッチ19a,
24aによって検出される。遊技領域7の左右周辺に
は、遊技中に点滅表示される装飾ランプ25が設けら
れ、下部には、入賞しなかった打球を吸収するアウト口
26がある。また、遊技領域7の外側の左右上部には、
効果音を発する2つのスピーカ27が設けられている。
遊技領域7の外周には、遊技効果LED28aおよび遊
技効果ランプ28b,28cが設けられている。
The gaming board 6 is provided with a plurality of winning ports 19 and 24, and the winning of the game balls to the respective winning ports 19 and 24 is determined by correspondingly provided winning port switches 19a and 19a.
24a. At the left and right sides of the game area 7, there are provided decorative lamps 25 which are displayed blinking during the game, and at the lower part there is an out port 26 for absorbing hit balls which have not won. Also, on the upper left and right sides outside the game area 7,
Two speakers 27 that emit sound effects are provided.
A game effect LED 28a and game effect lamps 28b and 28c are provided on the outer periphery of the game area 7.

【0020】そして、この例では、一方のスピーカ27
の近傍に、景品球払出時に点灯する賞球ランプ51が設
けられ、他方のスピーカ27の近傍に、補給球が切れた
ときに点灯する球切れランプ52が設けられている。さ
らに、図1には、パチンコ遊技台1に隣接して設置さ
れ、プリペイドカードが挿入されることによって球貸し
を可能にするカードユニット50も示されている。
In this example, one of the speakers 27
Is provided with a prize ball lamp 51 which is lit when a premium ball is paid out, and a ball out lamp 52 which is lit up when the supply ball is out is provided near the other speaker 27. Further, FIG. 1 also shows a card unit 50 which is installed adjacent to the pachinko gaming table 1 and enables lending of a ball by inserting a prepaid card.

【0021】カードユニット50には、使用可能状態で
あるか否かを示す使用可表示ランプ151、カード内に
記録された残額情報に端数(100円未満の数)が存在
する場合にその端数を打球供給皿3の近傍に設けられる
度数表示LEDに表示させるための端数表示スイッチ1
52、カードユニット50がいずれの側のパチンコ遊技
機1に対応しているのかを示す連結台方向表示器15
3、カードユニット50内にカードが投入されているこ
とを示すカード投入表示ランプ154、記録媒体として
のカードが挿入されるカード挿入口155、およびカー
ド挿入口155の裏面に設けられているカードリーダラ
イタの機構を点検する場合にカードユニット50を解放
するためのカードユニット錠156が設けられている。
The card unit 50 has a usable indicator lamp 151 for indicating whether or not the card is usable. If there is a fraction (a number less than 100 yen) in the balance information recorded in the card, the fraction is displayed. Fraction display switch 1 for displaying on a frequency display LED provided near hit ball supply tray 3
52, a connecting stand direction indicator 15 indicating which side of the pachinko gaming machine 1 the card unit 50 corresponds to
3. Card insertion indicator 154 indicating that a card has been inserted into card unit 50, card insertion slot 155 into which a card as a recording medium is inserted, and a card reader provided on the back of card insertion slot 155 A card unit lock 156 is provided to release the card unit 50 when checking the mechanism of the writer.

【0022】打球発射装置から発射された打球は、打球
レールを通って遊技領域7に入り、その後、遊技領域7
を下りてくる。打球が通過ゲート11を通ってゲートス
イッチ12で検出されると、可変表示器10の表示数字
が連続的に変化する状態になる。また、打球が始動入賞
口14に入り始動口スイッチ17で検出されると、図柄
の変動を開始できる状態であれば、可変表示部9内の図
柄が回転を始める。図柄の変動を開始できる状態でなけ
れば、始動入賞記憶を1増やす。
The hit ball fired from the hitting ball launching device enters the game area 7 through the hitting rail, and thereafter, the game area 7
Come down. When a hit ball is detected by the gate switch 12 through the passage gate 11, the display number of the variable display 10 is changed continuously. Further, when a hit ball enters the starting winning opening 14 and is detected by the starting opening switch 17, the symbol in the variable display section 9 starts rotating if the symbol can be changed. If it is not possible to start changing the symbol, the start winning memory is increased by one.

【0023】可変表示部9内の画像の回転は、一定時間
が経過したときに停止する。停止時の画像の組み合わせ
が大当り図柄の組み合わせであると、大当り遊技状態に
移行する。すなわち、開閉板20が、一定時間経過する
まで、または、所定個数(例えば10個)の打球が入賞
するまで開放する。そして、開閉板20の開放中に打球
が特定入賞領域に入賞しVカウントスイッチ22で検出
されると、継続権が発生し開閉板20の開放が再度行わ
れる。継続権の発生は、所定回数(例えば15ラウン
ド)許容される。
The rotation of the image in the variable display section 9 stops when a certain time has elapsed. If the combination of images at the time of stop is a combination of big hit symbols, the game shifts to a big hit game state. That is, the opening / closing plate 20 is opened until a predetermined time elapses or until a predetermined number (for example, 10) of hit balls is won. Then, when a hit ball wins in the specific winning area while the opening and closing plate 20 is opened and is detected by the V count switch 22, a continuation right is generated and the opening and closing plate 20 is opened again. Generation of the continuation right is permitted a predetermined number of times (for example, 15 rounds).

【0024】停止時の可変表示部9内の画像の組み合わ
せが確率変動を伴う大当り図柄の組み合わせである場合
には、次に大当りとなる確率が高くなる。すなわち、高
確率状態という遊技者にとってさらに有利な状態とな
る。また、可変表示器10における停止図柄が所定の図
柄(当り図柄)である場合に、可変入賞球装置15が所
定時間だけ開状態になる。さらに、高確率状態では、可
変表示器10における停止図柄が当り図柄になる確率が
高められるとともに、可変入賞球装置15の開放時間と
開放回数が高められる。
If the combination of images in the variable display section 9 at the time of stoppage is a combination of big hit symbols accompanied by a probability change, the probability of the next big hit increases. That is, a high probability state, which is more advantageous for the player, is obtained. Also, when the stop symbol on the variable display 10 is a predetermined symbol (hit symbol), the variable winning ball device 15 is opened for a predetermined time. Further, in the high probability state, the probability that the stop symbol on the variable display 10 hits the symbol is increased, and the opening time and the number of times the variable winning ball device 15 is opened are increased.

【0025】次に、パチンコ遊技機1の裏面に配置され
ている各基板について説明する。図2に示すように、パ
チンコ遊技機1の裏面では、枠体2A内の機構板の上部
に球貯留タンク38が設けられ、パチンコ遊技機1が遊
技機設置島に設置された状態でその上方から遊技球が球
貯留タンク38に供給される。球貯留タンク38内の遊
技球は、誘導樋39を通って球払出機構(図示せず)に
至る。
Next, each board disposed on the back of the pachinko gaming machine 1 will be described. As shown in FIG. 2, on the back surface of the pachinko gaming machine 1, a ball storage tank 38 is provided above the mechanism plate in the frame 2A, and above the pachinko gaming machine 1 installed on the gaming machine installation island. The game ball is supplied to the ball storage tank 38 from. The game balls in the ball storage tank 38 pass through a guiding gutter 39 to reach a ball payout mechanism (not shown).

【0026】遊技機裏面側では、可変表示部9を制御す
る可変表示制御ユニット29、遊技制御用マイクロコン
ピュータ等が搭載された遊技制御基板(主基板)31が
設置されている。また、球払出制御を行う払出制御用マ
イクロコンピュータ等が搭載された払出制御基板37、
およびモータの回転力を利用して打球を遊技領域7に発
射する打球発射装置が設置されている。さらに、装飾ラ
ンプ25、遊技効果LED28a、遊技効果ランプ28
b,28c、賞球ランプ51および球切れランプ52に
信号を送るためのランプ制御基板35、スピーカ27か
らの音声発生を制御するための音声制御基板70および
打球発射装置を制御するための発射制御基板91も設け
られている。なお、払出制御基板37には、エラー表示
用LED374も搭載されている。
On the back side of the gaming machine, a variable display control unit 29 for controlling the variable display section 9 and a game control board (main board) 31 on which a game control microcomputer and the like are mounted are installed. A payout control board 37 on which a payout control microcomputer or the like for performing ball payout control is mounted;
And a hit ball launching device that launches a hit ball into the game area 7 using the rotational force of a motor. Furthermore, the decoration lamp 25, the game effect LED 28a, the game effect lamp 28
b, 28c, a lamp control board 35 for sending signals to the prize ball lamp 51 and the ball out lamp 52, a voice control board 70 for controlling the generation of voice from the speaker 27, and a launch control for controlling the hit ball launching device. A substrate 91 is also provided. Note that an error display LED 374 is also mounted on the payout control board 37.

【0027】さらに、DC30V、DC21V、DC1
2VおよびDC5Vを作成する電源回路が搭載された電
源基板910が設けられ、上方には、各種情報を遊技機
外部に出力するための各端子を備えたターミナル基板1
60が設置されている。ターミナル基板160には、少
なくとも、後述する球切れ検出スイッチ167の出力を
導入して外部出力するための球切れ用端子、賞球個数信
号を外部出力するための賞球用端子および球貸し個数信
号を外部出力するための球貸し用端子が設けられてい
る。また、中央付近には、主基板31からの各種情報を
遊技機外部に出力するための各端子を備えた情報端子盤
(外部情報出力装置)34が設置されている。なお、図
2には、ランプ制御基板35および音声制御基板70か
らの信号を、枠側に設けられている遊技効果LED28
a、遊技効果ランプ28b,28c、賞球ランプ51お
よび球切れランプ52に供給するための電飾中継基板A
77および度数表示LED等を搭載した残高表示基板7
4が示されているが、信号中継の必要に応じて他の中継
基板も設けられる。
Further, DC30V, DC21V, DC1
A power supply board 910 on which a power supply circuit for generating 2V and 5V DC is mounted is provided, and a terminal board 1 provided with terminals for outputting various information to the outside of the gaming machine is provided above.
60 are installed. The terminal board 160 has at least a ball-cutting terminal for introducing and outputting the output of a ball-out detection switch 167 described later, a prize-ball terminal for externally outputting a prize-ball number signal, and a ball lending number signal. Ball lending terminals for external output. In the vicinity of the center, an information terminal board (external information output device) 34 having terminals for outputting various information from the main board 31 to the outside of the gaming machine is installed. In FIG. 2, signals from the lamp control board 35 and the sound control board 70 are transmitted to the game effect LEDs 28 provided on the frame side.
a, an illuminated relay board A for supplying to the game effect lamps 28b and 28c, the prize ball lamp 51 and the ball cut lamp 52
77 and balance display board 7 equipped with frequency display LED and the like
Although 4 is shown, other relay boards may be provided as needed for signal relay.

【0028】また、図3はパチンコ遊技機1の機構板を
背面からみた背面図である。球貯留タンク38に貯留さ
れた玉は誘導樋39を通り、球払出機構97に至る。球
払出機構97から払い出された遊技球は、連絡口45を
通ってパチンコ遊技機1の前面に設けられている打球供
給皿3に供給される。連絡口45の側方には、パチンコ
遊技機1の前面に設けられている余剰玉受皿4に連通す
る余剰玉通路46が形成されている。入賞にもとづく景
品球が多数払い出されて打球供給皿3が満杯になり、つ
いには遊技球が連絡口45に到達した後さらに遊技球が
払い出されると遊技球は、余剰玉通路46を経て余剰玉
受皿4に導かれる。さらに遊技球が払い出されると、感
知レバー47が満タンスイッチ48を押圧して満タンス
イッチ48がオンする。その状態では、球払出機構97
内の賞球払出装置(図示せず)のステッピングモータの
回転が停止して賞球払出装置の動作が停止するとともに
打球発射装置34の駆動も停止する。
FIG. 3 is a rear view of the mechanical plate of the pachinko gaming machine 1 as viewed from the rear. The balls stored in the ball storage tank 38 pass through the guiding gutter 39 and reach the ball payout mechanism 97. The game balls paid out from the ball payout mechanism 97 are supplied to the hit ball supply tray 3 provided on the front surface of the pachinko gaming machine 1 through the communication port 45. On the side of the communication port 45, an excess ball passage 46 communicating with the excess ball tray 4 provided on the front of the pachinko gaming machine 1 is formed. When a large number of prize balls are paid out based on the winning and the hitting ball supply tray 3 becomes full, and finally, after the game balls reach the contact port 45, further game balls are paid out, the game balls surplus through the surplus ball passage 46. It is led to the ball tray 4. When the game balls are further paid out, the sensing lever 47 presses the full tank switch 48 and the full tank switch 48 is turned on. In that state, the ball payout mechanism 97
The rotation of the stepping motor of the prize ball dispensing device (not shown) stops, the operation of the prize ball dispensing device stops, and the driving of the hit ball firing device 34 also stops.

【0029】次に、機構板36に設置されている中間ベ
ースユニットの構成について説明する。中間ベースユニ
ットには、球払出機構97およびその上部の球通過経路
が設けられる。この実施の形態では、球払出機構97に
おいて、賞球払出装置と球貸し払出装置とが独立して設
けられている。図4は、賞球払出装置およびその上部の
球通過経路の構成を示す構成図である。
Next, the structure of the intermediate base unit installed on the mechanism plate 36 will be described. The intermediate base unit is provided with a ball payout mechanism 97 and a ball passing path above it. In this embodiment, in the ball payout mechanism 97, the prize ball payout device and the ball rental payout device are provided independently. FIG. 4 is a configuration diagram showing a configuration of a prize ball payout device and a ball passing path above the device.

【0030】中間ベースユニットの上部では、賞球経路
となる通路体184Aが設置されている。そして、通路
体184Aの下部に賞球払出装置97Aが固定されてい
る。通路体184Aは、カーブ樋174(図3参照)に
よって流下方向を左右方向に変換された2列の遊技球を
流下させる払出球通路186a,186bを有する。す
なわち、本例では、2条の賞球払出経路(払出球通路1
86a,186b)が設けられた構成としている。な
お、3条以上の賞球払出経路を設ける構成としてもよ
い。
At the upper part of the intermediate base unit, a passage body 184A serving as a prize ball path is provided. A winning ball payout device 97A is fixed to a lower portion of the passage body 184A. The passage body 184A has payout ball passages 186a and 186b through which two rows of game balls whose flow direction has been changed left and right by the curve gutter 174 (see FIG. 3) flow down. That is, in this example, the two prize ball payout routes (payout ball passage 1)
86a, 186b) are provided. In addition, it is good also as a structure provided with three or more prize ball payout paths.

【0031】払出球通路186a,186bの上流側に
は、球切れスイッチ187a,187bが設置されてい
る。球切れスイッチ187a,187bは、払出球通路
186a,186b内の遊技球の有無を検出するもので
あって、例えば球切れスイッチ187aおよび球切れス
イッチ187bの両方が遊技球を検出しなくなると賞球
払出装置97Aにおける賞球モータ(図4において図示
せず)の回転を停止して賞球払出が不動化される。な
お、球切れスイッチ187aまたは球切れスイッチ18
7bのうちの何れか一方が遊技球を検出しなくなったこ
とを条件として、賞球モータの回転を停止するようにし
てもよい。
On the upstream side of the dispensing ball passages 186a and 186b, ball disconnection switches 187a and 187b are provided. The out-of-ball switches 187a and 187b detect the presence or absence of a game ball in the payout ball passages 186a and 186b. For example, when both the out-of-ball switch 187a and the out-of-ball switch 187b no longer detect a game ball, a prize ball. The rotation of the prize ball motor (not shown in FIG. 4) in the payout device 97A is stopped, and the prize ball payout is immobilized. Note that the ball out switch 187a or the ball out switch 18
The rotation of the prize ball motor may be stopped on condition that any one of 7b does not detect the game ball.

【0032】なお、球切れスイッチ187a,187b
は、払出球通路186a,186bに27〜28個程度
の遊技球が存在することを検出できるような位置に係止
片188A,188Bによって係止されている。すなわ
ち、球切れスイッチ187a,187bは、賞球の一単
位の最大払出量(この実施の形態では15個)以上が確
保されていることが確認できるような位置に設置されて
いる。
The ball out switches 187a, 187b
Are locked by locking pieces 188A and 188B at positions where about 27 to 28 game balls can be detected in the payout ball paths 186a and 186b. That is, the ball out switches 187a and 187b are installed at positions where it can be confirmed that the maximum payout amount of one unit of the prize ball (15 in this embodiment) is secured.

【0033】通路体184Aの中央部は、内部を流下す
る遊技球の球圧を弱めるように、左右に湾曲する形状に
形成されている。通路体184Aは中間ベースユニット
に固定されるが、中間ベースユニットに設けられている
係止突片185Aによって通路体184Aの位置合わせ
を行えるようになっている。
The central portion of the passage body 184A is formed in a shape curved right and left so as to reduce the ball pressure of the game ball flowing down inside. Although the passage body 184A is fixed to the intermediate base unit, the positioning of the passage body 184A can be performed by a locking projection 185A provided on the intermediate base unit.

【0034】通路体184Aの下方には、賞球払出装置
97Aに遊技球を供給するとともに故障時等には賞球払
出装置97Aへの遊技球の供給を停止する球止め装置1
90Aが設けられている。球止め装置190Aの下方に
設置される賞球払出装置97Aは、直方体状のケース1
98Aの内部に収納されている。ケース198Aの左右
4箇所には突部が設けられている。各突部が中間ベース
ユニットに設けられている位置決め突片に係った状態
で、中間ベースユニットの下部に設けられている弾性係
合片にケース198Aの下端がはめ込まれる。
Below the passage body 184A, the ball stopping device 1 that supplies game balls to the prize ball dispensing device 97A and stops the supply of game balls to the prize ball dispensing device 97A in the event of a failure or the like.
90A is provided. The prize ball dispensing device 97A installed below the ball stopping device 190A has a rectangular parallelepiped case 1.
98A. Protrusions are provided at four places on the left and right of the case 198A. The lower end of the case 198A is fitted into an elastic engagement piece provided at a lower portion of the intermediate base unit with each projection being related to a positioning projection provided on the intermediate base unit.

【0035】図5は賞球払出装置97Aの分解斜視図で
ある。賞球払出装置97Aの構成および作用について図
5を参照して説明する。この実施形態における賞球払出
装置97Aは、ステッピングモータ(賞球モータ)28
9Aがスクリュー288を回転させることによりパチン
コ玉を1個ずつ払い出す。
FIG. 5 is an exploded perspective view of the prize ball payout device 97A. The configuration and operation of the winning ball payout device 97A will be described with reference to FIG. The prize ball payout device 97A in this embodiment includes a stepping motor (prize ball motor) 28.
9A rotates the screw 288 to pay out pachinko balls one by one.

【0036】図5に示すように、賞球払出装置97A
は、2つのケース198a,198bを有する。それぞ
れのケース198a,198bの左右2箇所に、賞球払
出装置97Aの設置位置上部に設けられた位置決め突片
に当接される係合突部280が設けられている。また、
それぞれのケース198a,198bには、球供給路2
81a,281bが形成されている。球供給路281
a,281bは湾曲面282a,282bを有し、湾曲
面282a,282bの終端の下方には、球送り水平路
284a,284bが形成されている。さらに、球送り
水平路284a,284bの終端に球排出路283a,
283bが形成されている。
As shown in FIG. 5, the prize ball payout device 97A
Has two cases 198a and 198b. Engagement protrusions 280 are provided at two positions on the left and right of each of the cases 198a and 198b, which are in contact with positioning protrusions provided above the installation position of the winning ball payout device 97A. Also,
In each case 198a, 198b, the ball supply path 2
81a and 281b are formed. Ball supply path 281
a, 281b have curved surfaces 282a, 282b, and ball feed horizontal paths 284a, 284b are formed below the ends of the curved surfaces 282a, 282b. Further, the ball discharge horizontal path 284a, 284b at the end of the ball discharge path 283a,
283b are formed.

【0037】球供給路281a,281b、球送り水平
路284a,284b、球排出路283a,283b
は、ケース198a,198bをそれぞれ前後に区画す
る区画壁295a,295bの前方に形成されている。
また、区画壁295a,295bの前方において、球圧
緩衝部材285がケース198a,198b間に挟み込
まれる。球圧緩衝部材285は、賞球払出装置97Aに
供給される遊技球を左右側方に振り分けて球供給路28
1a,281bに誘導する。
The ball supply paths 281a and 281b, the ball feed horizontal paths 284a and 284b, and the ball discharge paths 283a and 283b.
Are formed in front of partition walls 295a and 295b that partition the cases 198a and 198b forward and backward, respectively.
Further, in front of the partition walls 295a and 295b, the ball pressure buffering member 285 is sandwiched between the cases 198a and 198b. The ball pressure buffering member 285 distributes the game balls supplied to the prize ball payout device 97A to the left and right sides, and
1a and 281b.

【0038】また、球圧緩衝部材285の下部には、発
光素子(LED)286と受光素子(図示せず)とによ
る賞球モータ位置センサが設けられている。発光素子2
86と受光素子とは、所定の間隔をあけて設けられてい
る。そして、この間隔内に、スクリュー288の先端が
挿入されるようになっている。なお、球圧緩衝部材28
5は、ケース198a,198bが張り合わされたとき
に、完全にその内部に収納固定される。
Further, below the ball pressure buffering member 285, a winning ball motor position sensor including a light emitting element (LED) 286 and a light receiving element (not shown) is provided. Light emitting element 2
86 and the light receiving element are provided at a predetermined interval. The distal end of the screw 288 is inserted into the space. The ball pressure buffer member 28
When the cases 198a and 198b are attached to each other, the case 5 is completely stored and fixed therein.

【0039】球送り水平路284a,284bには、賞
球モータ289Aによって回転させられるスクリュー2
88が配置されている。賞球モータ289Aはモータ固
定板290に固定され、モータ固定板290は、区画壁
295a,295bの後方に形成される固定溝291
a,291bにはめ込まれる。その状態で払出モータ2
89のモータ軸が区画壁295a,295bの前方に突
出するので、その突出の前方にスクリュー288が固定
される。スクリュー288の外周には、賞球モータ28
9Aの回転によって球送り水平路284a,284bに
載置された遊技球を前方に移動させるための螺旋突起2
88aが設けられている。
The ball feed horizontal paths 284a and 284b have a screw 2 rotated by a prize ball motor 289A.
88 are arranged. The prize ball motor 289A is fixed to a motor fixing plate 290, and the motor fixing plate 290 is fixed to a fixing groove 291 formed behind the partition walls 295a and 295b.
a, 291b. Payout motor 2 in that state
Since the motor shaft 89 protrudes forward of the partition walls 295a and 295b, the screw 288 is fixed in front of the protruding walls. On the outer periphery of the screw 288, a prize ball motor 28
The spiral projection 2 for moving the game balls placed on the ball feed horizontal paths 284a and 284b forward by the rotation of 9A.
88a are provided.

【0040】そして、スクリュー288の先端には、発
光素子286を収納するように凹部が形成され、その凹
部の外周には、2つの切欠部292が互いに180度離
れて形成されている。従って、スクリュー288が1回
転する間に、発光素子286からの光は、切欠部292
を介して受光素子で2回検出される。
A recess is formed at the tip of the screw 288 so as to house the light emitting element 286, and two notches 292 are formed 180 degrees apart from each other on the outer periphery of the recess. Therefore, while the screw 288 makes one rotation, the light from the light emitting element 286 is
Is detected twice by the light receiving element via the.

【0041】つまり、発光素子286と受光素子とによ
る賞球モータ位置センサは、スクリュー288を定位置
で停止するためのものであり、かつ、賞球払出動作が行
われた旨を検出するものである。なお、発光素子28
6、受光素子および賞球モータ289Aからの配線は、
まとめられてケース198a,198bの後部下方に形
成された引出穴から外部に引き出されコネクタに結線さ
れる。
That is, the prize ball motor position sensor including the light emitting element 286 and the light receiving element is for stopping the screw 288 at a fixed position and detecting that the prize ball payout operation has been performed. is there. The light emitting element 28
6. The wiring from the light receiving element and the prize ball motor 289A
They are put together and pulled out to the outside through drawer holes formed below the rear part of the case 198a, 198b and connected to the connector.

【0042】遊技球が球送り水平路284a,284b
に載置された状態において、賞球モータ289Aが回転
すると、スクリュー288の螺旋突起288aによっ
て、遊技球は、球送り水平路284a,284b上を前
方に向かって移動する。そして、遂には、球送り水平路
284a,284bの終端から球排出路283a,28
3bに落下する。このとき、左右の球送り水平路284
a,284bからの落下は交互に行われる。すなわち、
スクリュー288が半回転する毎に一方から1個の遊技
球が落下する。従って、1個の遊技球が落下する毎に、
発光素子286からの光が受光素子によって検出され
る。
When the game ball is a ball feeding horizontal path 284a, 284b
When the prize ball motor 289A rotates in the state of being placed on the game ball, the game ball moves forward on the ball feed horizontal paths 284a and 284b by the spiral projection 288a of the screw 288. And finally, the ball discharge horizontal paths 284a, 284b from the end of the ball discharge path 283a, 28
3b. At this time, left and right ball feed horizontal paths 284
a, 284b fall alternately. That is,
Each time the screw 288 makes a half turn, one game ball falls from one side. Therefore, every time one game ball falls,
Light from the light emitting element 286 is detected by the light receiving element.

【0043】図4に示すように、賞球払出装置97Aの
下方には、近接スイッチによる賞球カウントスイッチ3
01Aが設けられている。払出制御手段は、賞球カウン
トスイッチ301Aの検出出力から、払い出された賞球
数を把握することができる。
As shown in FIG. 4, below the prize ball payout device 97A, a prize ball count switch 3 by a proximity switch is provided.
01A is provided. The payout control means can determine the number of paid out prize balls from the detection output of the prize ball count switch 301A.

【0044】なお、この実施の形態では、電気的駆動源
の駆動によって遊技球を払い出す球払出装置として、ス
テッピングモータの回転によって遊技球が払い出される
賞球払出装置97Aを用いることにするが、その他の駆
動源によって遊技球を送り出す構造の球払出装置を用い
てもよいし、電気的駆動源の駆動によってストッパを外
し遊技球の自重によって払出しがなされる構造の払出装
置を用いてもよい。
In this embodiment, a prize ball payout device 97A in which game balls are paid out by rotation of a stepping motor is used as a ball payout device for paying out game balls by driving an electric drive source. A ball payout device having a structure in which game balls are sent out by another drive source may be used, or a payout device having a structure in which a stopper is removed by driving an electric drive source and payout is performed by the weight of the game balls may be used.

【0045】図6は、球貸し払出装置およびその上部の
球通過経路の構成を示す構成図である。貸し球経路とな
る通路体184Cの下部に貸し球払出装置97Bが固定
されている。通路体184Bは、1列の遊技球を流下さ
せる払出球通路186cを有する。払出球通路186c
の上流側には、球切れスイッチ187cが設置されてい
る。球切れスイッチ187cは、払出球通路186c内
の遊技球の有無を検出するものであり、球切れスイッチ
187cが遊技球を検出しなくなると貸し球払出装置9
7Bにおける球貸しソレノイド(図6において図示せ
ず)の駆動を停止して貸し球の払出が不動化される。
FIG. 6 is a configuration diagram showing the configuration of a ball lending and dispensing device and a ball passing path above the device. A rental ball dispensing device 97B is fixed to a lower portion of a passage body 184C serving as a rental ball route. The passage body 184B has a payout ball passage 186c for letting one row of game balls flow down. Dispensing ball passage 186c
A switch 187c for breaking a ball is installed upstream of the switch. The ball out switch 187c detects the presence or absence of a game ball in the payout ball passage 186c, and when the ball out switch 187c no longer detects the game ball, the lending ball payout device 9
The driving of the ball lending solenoid (not shown in FIG. 6) in 7B is stopped, and the payout of the lending ball is immobilized.

【0046】なお、球切れスイッチ187cは、払出球
通路186cに27〜28個程度の遊技球が存在するこ
とを検出できるような位置に係止片188Cによって係
止されている。すなわち、球切れスイッチ187cは、
球貸しの一単位の最大払出量(この実施の形態では25
個)以上が確保されていることが確認できるような位置
に設置されている。
The ball cutout switch 187c is locked by a locking piece 188C at a position where it can be detected that about 27 to 28 game balls exist in the payout ball passage 186c. That is, the ball out switch 187c is
Maximum payout amount of one unit of ball lending (25 in this embodiment)
) Is installed at a position where it can be confirmed that the above is secured.

【0047】通路体184Cの中央部は、内部を流下す
る遊技球の球圧を弱めるように、左右に湾曲する形状に
形成されている。通路体184Cは中間ベースユニット
に固定されるが、中間ベースユニットに設けられている
係止突片185Cによって通路体184Cの位置合わせ
を行うことも可能である。なお、貸し球払出装置97C
は、賞球払出装置97Aの横に設置されていても、賞球
払出装置97Aの下あるいは上に設置されていてもよい
し、設置スペースが不足する場合には、賞球払出装置9
7Aに重ねられるように設置されていてもよい。
The central portion of the passage body 184C is formed in a shape curved right and left so as to reduce the ball pressure of the game ball flowing down inside. Although the passage body 184C is fixed to the intermediate base unit, the positioning of the passage body 184C can be performed by a locking projection 185C provided on the intermediate base unit. The rental ball dispensing device 97C
May be installed beside the prize ball dispensing device 97A, or may be installed below or above the prize ball dispensing device 97A. If the installation space is insufficient, the prize ball dispensing device 9 may be installed.
It may be installed so as to be overlaid on 7A.

【0048】通路体184Cの下方には、貸し球払出装
置97Cに遊技球を供給するとともに故障時等には貸し
球払出装置97Cへの遊技球の供給を停止する球止め装
置190Cが設けられている。球止め装置190Cの下
方に設置される貸し球払出装置97Cは、直方体状のケ
ース198Cの内部に収納されている。
Below the passage body 184C, there is provided a ball stopping device 190C for supplying game balls to the rental ball dispensing device 97C and stopping the supply of game balls to the rental ball dispensing device 97C in the event of a failure or the like. I have. The rental ball dispensing device 97C installed below the ball stopping device 190C is housed inside a rectangular parallelepiped case 198C.

【0049】図7および図8は、機構板36の下部ベー
スユニットに設置されている貸し球払出装置97Cの構
成を示す断面図である。図7は貸し球が停留している状
態を示し、図8は停留されていた貸し球が開放された状
態を示す。貸し球払出装置97Cは、取付ベース116
に集約して形成される。従って、貸し球払出装置97C
は、容易に機構板36の下部ベースユニットに取り付け
られる。また、取付ベース116の周囲には補強リブ1
17が形成され、全体の剛性が強化されている。取付ベ
ース116の下部側方から中央を経由して上部側方にか
け、屈曲する貸し球流下路120が形成されている。そ
して、貸し球流下路120の屈曲部よりやや下方に貸し
球通過部122が係止爪123によって固定されてい
る。貸し球通過部122は、その前方部に遊技球が通過
する通過穴が形成されている。
FIGS. 7 and 8 are cross-sectional views showing the configuration of a rental ball dispensing device 97C installed in the lower base unit of the mechanism plate 36. FIG. 7 shows a state where the lending ball is stationary, and FIG. 8 shows a state where the lending ball which has been stationary is released. The rental ball dispensing device 97C includes a mounting base 116.
Are formed collectively. Therefore, the rental ball dispensing device 97C
Is easily attached to the lower base unit of the mechanism plate 36. The reinforcing rib 1 is provided around the mounting base 116.
17 are formed to enhance the overall rigidity. A lending ball flow path 120 is formed that bends from the lower side of the mounting base 116 to the upper side via the center and to the upper side. Further, the lending ball passage portion 122 is fixed slightly below the bent portion of the lending ball flow path 120 by a locking claw 123. The lending ball passing portion 122 has a through hole formed in a front portion thereof through which a game ball passes.

【0050】また、貸し球通過部122の通過穴を挟む
ように第1球係止部材124と第2球係止部材130と
が、それぞれ支軸125,131を中心にして揺動自在
に支えられている。第1球係止部材124の後端は、リ
ンク杆126を介して球貸しソレノイド127のプラン
ジャ128に連結されている。球貸しソレノイド127
は、取付ベース116から突出している係止爪によって
着脱自在に装着される。また、プランジャ128の周囲
にはスプリング129が設けられプランジャ128を下
方に向けて常に付勢している。
Further, the first ball locking member 124 and the second ball locking member 130 are supported so as to be swingable about the support shafts 125 and 131 so as to sandwich the passage hole of the lending ball passing portion 122 therebetween. Have been. The rear end of the first ball locking member 124 is connected to a plunger 128 of a ball lending solenoid 127 via a link rod 126. Ball rental solenoid 127
Is detachably mounted by a locking claw projecting from the mounting base 116. A spring 129 is provided around the plunger 128, and constantly biases the plunger 128 downward.

【0051】第1球係止部材124の先端側の上部には
球止部124aが形成され、その下部に第2球係止部材
130と係合する係合片124bが形成されている。第
2球係止部材130の前方上部には球止部130aが形
成され、その中ほどに係合片124bに係合する係合凹
部130bが形成されている。
A ball retaining portion 124a is formed on the upper end of the first ball locking member 124 on the distal end side, and an engagement piece 124b for engaging with the second ball locking member 130 is formed on the lower portion. A ball stopper 130a is formed in the upper front part of the second ball locking member 130, and an engagement recess 130b that engages with the engagement piece 124b is formed in the middle thereof.

【0052】次に、図7および図8を参照して貸し球払
出装置97Cの動作を説明する。球貸しソレノイド12
7がオフである通常の状態では、図7に示すように、第
1球係止部124の球止部124aは貸し球流下路12
0内に進入せず、第2球係止部130の球止部130a
が、貸し球流下路120における貸し球通過部122の
下方に突出した状態になっている。そのような状態で貸
出要求がなされて貸し球が流下路120に流入すると、
先頭の貸し球P1は、貸し球通過部122に形成されて
いる通過穴に入った状態で球止部130aによって停留
される。
Next, the operation of the rental ball payout apparatus 97C will be described with reference to FIGS. Ball rental solenoid 12
In the normal state in which the ball 7 is off, as shown in FIG. 7, the ball stopping portion 124a of the first ball locking portion 124 is
0, the ball catching portion 130a of the second ball locking portion 130
Are projected below the rental ball passage portion 122 in the rental ball flow path 120. When a lending request is made in such a state and the lending ball flows into the downflow path 120,
The head lending ball P1 is stopped by the ball stopping portion 130a in a state of entering a through hole formed in the lending ball passing portion 122.

【0053】なお、先頭の入賞球P1が球止部130a
で停留しているときに後続の遊技球が流入すると全ての
遊技球の球圧が球止部130aにかかるが、その荷重
は、球止部130aのほぼ真下に位置する支軸131で
受け止められる。よって、係合凹部130bと係合片1
24bとの係合による第1球係止部材124への負荷が
減少する。これによって、プランジャ128がスプリン
グ129の付勢力に抗して上昇することがない。すなわ
ち、多数の入賞球の荷重によって第1球係止部材124
および第2球係止部130が規定外の動きをすることは
なく、確実に貸し球は1個ずつ処理される。
The top winning ball P1 is the ball stopping portion 130a.
When a subsequent game ball flows in while the ball is stopped, the ball pressure of all the game balls is applied to the ball stopper 130a, but the load is received by the support shaft 131 located almost directly below the ball stopper 130a. . Therefore, the engagement recess 130b and the engagement piece 1
The load on first ball locking member 124 due to engagement with 24b is reduced. This prevents the plunger 128 from rising against the urging force of the spring 129. That is, the first ball locking member 124 is formed by the load of a large number of winning balls.
In addition, the second ball locking portion 130 does not move outside the specified range, and the rental balls are surely processed one by one.

【0054】遊技球が貸し球通過部122に形成されて
いる通過穴に入った状態で球止部130aによって停留
されると、払出制御用CPU371から球貸しソレノイ
ド127に駆動信号が送られて球貸しソレノイド127
を所定時間オンする。球貸しソレノイド127がオンす
ると、図8に示すように、球止部124aが貸し球流下
路120内に進入する。よって、次の入賞球P2の貸し
球通過部122の通過穴への進入が阻止されるととも
に、球止部130aが貸し球流下路120から退避す
る。従って、先頭の貸し球P1が開放されて流下する。
そして、所定時間が経過して球貸しソレノイド127が
オフすると、図7に示された状態に戻り、次の貸し球の
払出動作が行われる。なお、貸し球払出装置97Cの下
方に設けられている球貸しカウントスイッチ301B
(図7および図8において図示せず)によって開放され
た貸し球が検知されると、球貸しカウントスイッチ30
1Bは、貸し球を1個払出したことを通知するために、
払出制御基板37の入力ポート372bに検出信号を送
る。
When the game ball enters the passage hole formed in the lending ball passage portion 122 and is stopped by the ball stopping portion 130a, a drive signal is sent from the payout control CPU 371 to the ball lending solenoid 127, so that the ball lending solenoid 127 is driven. Lending solenoid 127
Is turned on for a predetermined time. When the ball lending solenoid 127 is turned on, as shown in FIG. 8, the ball stopping portion 124a enters the lending ball downflow path 120. Therefore, the next winning ball P2 is prevented from entering the passage hole of the lending ball passage portion 122, and the ball stopping portion 130a retreats from the lending ball flow path 120. Therefore, the leading lending ball P1 is released and flows down.
Then, when the ball lending solenoid 127 is turned off after a lapse of a predetermined time, the state returns to the state shown in FIG. 7, and the next lending ball payout operation is performed. Note that a ball lending count switch 301B provided below the lending ball dispensing device 97C.
(Not shown in FIGS. 7 and 8), when the released ball is detected, the ball rental count switch 30
In order to notify that 1B has paid out one rental ball,
A detection signal is sent to the input port 372b of the payout control board 37.

【0055】以上のように、貸し球払出装置97Cは、
貸し球を一時停留して1個ずつ払い出すが、停留期間を
短く設定すれば素早く排出することが可能となる。な
お、貸し球払出装置97Cを賞球払出装置97Aと同様
に払出モータの回転により払出を行う構成としてもよ
く、逆に、賞球払出装置97Aを貸し球払出装置97C
と同様に払出ソレノイドの駆動により払出を行う構成と
してもよい。
As described above, the rental ball dispensing device 97C
The rental balls are temporarily stopped and paid out one by one, but if the stop period is set short, it becomes possible to discharge the balls quickly. Note that the rental ball dispensing device 97C may be configured to perform dispensing by rotation of a dispensing motor similarly to the prize ball dispensing device 97A, and conversely, the prize ball dispensing device 97A may be replaced by the rental ball dispensing device 97C.
In the same manner as described above, the payout may be performed by driving the payout solenoid.

【0056】払出機構を図9に示すように構成すること
もできる。図9に示す構成例では、球切れスイッチ18
7cと貸し球払出装置97Cとの間の距離は、球切れス
イッチ187a,187bと賞球払出装置97Aとの間
の距離よりも長い。そして、例えば、球切れスイッチ1
87cは、払出球通路186cに27〜28個程度の遊
技球が存在することを検出できるような位置に係止さ
れ、球切れスイッチ187a,187bは、払出球通路
186a,186bに17〜18個程度の遊技球が存在
することを検出できるような位置に係止される。すなわ
ち、賞球用の球切れが検知されるときの残り数と、球貸
し用の球切れが検知されるときの残り数とは異なってい
る。それぞれの一単位の遊技球数は異なっているので、
それぞれの残り数を異ならせるように払出機構を構成す
ることは合理的である。さらに、貸し球払出装置97C
は、賞球払出装置97Aの下に位置するように設置され
ている。
The payout mechanism may be configured as shown in FIG. In the configuration example shown in FIG.
The distance between 7c and the lending ball payout device 97C is longer than the distance between the ball out switches 187a and 187b and the prize ball payout device 97A. And, for example, the ball out switch 1
87c is locked at a position where it is possible to detect the presence of about 27 to 28 game balls in the payout ball passage 186c, and the ball out switches 187a and 187b are used to switch 17 to 18 game balls in the payout ball passages 186a and 186b. It is locked at a position where it can be detected that there are some game balls. In other words, the remaining number when the running out of balls for the prize ball is detected is different from the remaining number when the running out of balls for the ball lending is detected. Since the number of game balls in each unit is different,
It is reasonable to configure the payout mechanism to make the remaining numbers different. Further, a rental ball dispensing device 97C
Is installed below the prize ball payout device 97A.

【0057】なお、その他の構成は、図4および図6に
示された構成と同じである。また、貸し球払出装置97
Cは、賞球払出装置97Aの横や上に設置されていても
よいし、設置スペースが不足する場合には、賞球払出装
置97Aに重ねられるように設置されていてもよい。
The other structure is the same as the structure shown in FIGS. In addition, the rental ball dispensing device 97
C may be installed beside or above the prize ball dispensing device 97A, or may be installed so as to overlap the prize ball dispensing device 97A when the installation space is insufficient.

【0058】図10は、主基板31における回路構成の
一例を示すブロック図である。なお、図10には、払出
制御基板37、ランプ制御基板35、音制御基板70、
発射制御基板91および表示制御基板80も示されてい
る。主基板31には、プログラムに従ってパチンコ遊技
機1を制御する基本回路53と、ゲートスイッチ12、
始動口スイッチ17、Vカウントスイッチ22、カウン
トスイッチ23、入賞口スイッチ19a,24a、およ
び賞球カウントスイッチ301Aからの信号を基本回路
53に与えるスイッチ回路58と、可変入賞球装置15
を開閉するソレノイド16および開閉板20を開閉する
ソレノイド21等を基本回路53からの指令に従って駆
動するソレノイド回路59とが搭載されている。
FIG. 10 is a block diagram showing an example of the circuit configuration of the main board 31. In FIG. 10, the payout control board 37, the lamp control board 35, the sound control board 70,
A launch control board 91 and a display control board 80 are also shown. On the main board 31, a basic circuit 53 for controlling the pachinko gaming machine 1 according to a program, a gate switch 12,
A switch circuit 58 that supplies signals from the starting port switch 17, the V count switch 22, the count switch 23, the winning port switches 19a and 24a, and the prize ball count switch 301A to the basic circuit 53;
And a solenoid circuit 59 that drives a solenoid 21 that opens and closes the opening and closing plate 20 according to a command from the basic circuit 53.

【0059】また、基本回路53から与えられるデータ
に従って、大当りの発生を示す大当り情報、可変表示部
9の画像表示開始に利用された始動入賞球の個数を示す
有効始動情報、確率変動が生じたことを示す確変情報等
をホール管理コンピュータ等のホストコンピュータに対
して出力する情報出力回路64を含む。
Further, according to the data supplied from the basic circuit 53, jackpot information indicating occurrence of a jackpot, effective start information indicating the number of start winning balls used to start image display on the variable display section 9, and probability fluctuation have occurred. And an information output circuit 64 that outputs probability change information or the like indicating the fact to a host computer such as a hall management computer.

【0060】基本回路53は、ゲーム制御用のプログラ
ム等を記憶するROM54、ワークメモリとして使用さ
れる記憶手段の一例であるRAM55、プログラムに従
って制御動作を行うCPU56およびI/Oポート部5
7を含む。この実施の形態では、ROM54,RAM5
5はCPU56に内蔵されている。すなわち、CPU5
6は、1チップマイクロコンピュータである。なお、1
チップマイクロコンピュータは、少なくともRAM55
が内蔵されていればよく、ROM54およびI/Oポー
ト部57は外付けであっても内蔵されていてもよい。ま
た、I/Oポート部57は、マイクロコンピュータにお
ける情報入出力可能な端子である。
The basic circuit 53 includes a ROM 54 for storing a game control program and the like, a RAM 55 as an example of a storage means used as a work memory, a CPU 56 for performing a control operation according to the program, and an I / O port unit 5.
7 inclusive. In this embodiment, the ROM 54 and the RAM 5
5 is built in the CPU 56. That is, the CPU 5
Reference numeral 6 denotes a one-chip microcomputer. In addition, 1
The chip microcomputer has at least the RAM 55
And the ROM 54 and the I / O port unit 57 may be external or internal. The I / O port unit 57 is a terminal capable of inputting and outputting information in the microcomputer.

【0061】さらに、主基板31には、電源投入時に基
本回路53をリセットするためのシステムリセット回路
65と、基本回路53から与えられるアドレス信号をデ
コードしてI/Oポート部57のうちのいずれかのI/
Oポートを選択するための信号を出力するアドレスデコ
ード回路67とが設けられている。なお、球払出装置9
7から主基板31に入力されるスイッチ情報もあるが、
図10ではそれらは省略されている。
The main board 31 has a system reset circuit 65 for resetting the basic circuit 53 when the power is turned on, and an I / O port unit 57 which decodes an address signal supplied from the basic circuit 53 and decodes the address signal. I /
An address decode circuit 67 for outputting a signal for selecting the O port is provided. Note that the ball payout device 9
There is also switch information input to the main board 31 from 7,
In FIG. 10, they are omitted.

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

【0063】なお、この実施の形態では、ランプ制御基
板35に搭載されているランプ制御手段が、遊技盤に設
けられている始動記憶表示器18、ゲート通過記憶表示
器41および装飾ランプ25の表示制御を行うととも
に、枠側に設けられている遊技効果ランプ・LED28
a,28b,28c、賞球ランプ51および球切れラン
プ52の表示制御を行う。また、特別図柄を可変表示す
る可変表示部9および普通図柄を可変表示する可変表示
器10の表示制御は、表示制御基板80に搭載されてい
る表示制御手段によって行われる。
In this embodiment, the lamp control means mounted on the lamp control board 35 is used to display the start memory display 18, the gate passage memory display 41 and the decoration lamp 25 provided on the game board. Controls the game and the game effect lamp / LED 28 provided on the frame side.
a, 28b, and 28c, display control of the award ball lamp 51, and the ball out lamp 52 are performed. The display control of the variable display unit 9 for variably displaying special symbols and the variable display 10 for variably displaying ordinary symbols is performed by display control means mounted on the display control board 80.

【0064】図11は、主基板31およびランプ制御基
板35における信号送受信部分を示すブロック図であ
る。この実施の形態では、遊技領域7の外側に設けられ
ている遊技効果LED28a、遊技効果ランプ28b,
28cと遊技盤に設けられている装飾ランプ25の点灯
/消灯と、賞球ランプ51および球切れランプ52の点
灯/消灯とを示すランプ制御コマンドが主基板31から
ランプ制御基板35に出力される。また、始動記憶表示
器18およびゲート通過記憶表示器41の点灯個数を示
すランプ制御コマンドも主基板31からランプ制御基板
35に出力される。
FIG. 11 is a block diagram showing a signal transmitting / receiving portion of the main board 31 and the lamp control board 35. In this embodiment, a game effect LED 28a, a game effect lamp 28b,
A lamp control command indicating turning on / off of the decorative lamp 25 provided on the game board and the turning on / off of the prize ball lamp 51 and the ball out lamp 52 is output from the main board 31 to the lamp control board 35. . Further, a lamp control command indicating the number of lighting of the start storage display 18 and the gate passage storage display 41 is also output from the main board 31 to the lamp control board 35.

【0065】図11に示すように、ランプ制御に関する
ランプ制御コマンドは、基本回路53におけるI/Oポ
ート部57の出力ポート(出力ポート0,3)570,
573から出力される。出力ポート(出力ポート3)5
73は8ビットのデータを出力し、出力ポート570は
1ビットのINT信号を出力する。ランプ制御基板35
において、主基板31からの制御コマンドは、入力バッ
ファ回路355A,355Bを介してランプ制御用CP
U351に入力する。なお、ランプ制御用CPU351
がI/Oポートを内蔵していない場合には、入力バッフ
ァ回路355A,355Bとランプ制御用CPU351
との間に、I/Oポートが設けられる。
As shown in FIG. 11, the lamp control command related to the lamp control is output from the output ports (output ports 0 and 3) 570 of the I / O port unit 57 in the basic circuit 53.
573. Output port (output port 3) 5
73 outputs 8-bit data, and output port 570 outputs a 1-bit INT signal. Lamp control board 35
, The control command from the main board 31 is transmitted through the input buffer circuits 355A and 355B to the lamp control CP.
Input to U351. The lamp control CPU 351
Does not have an I / O port, the input buffer circuits 355A and 355B and the lamp control CPU 351
And an I / O port is provided.

【0066】ランプ制御基板35において、ランプ制御
用CPU351は、各制御コマンドに応じて定義されて
いる遊技効果LED28a、遊技効果ランプ28b,2
8c、装飾ランプ25の点灯/消灯パターンに従って、
遊技効果LED28a、遊技効果ランプ28b,28
c、装飾ランプ25に対して点灯/消灯信号を出力す
る。点灯/消灯信号は、遊技効果LED28a、遊技効
果ランプ28b,28c、装飾ランプ25に出力され
る。なお、点灯/消灯パターンは、ランプ制御用CPU
351の内蔵ROMまたは外付けROMに記憶されてい
る。
In the lamp control board 35, the CPU 351 for lamp control includes a game effect LED 28a, a game effect lamp 28b, and a game effect lamp 28b, which are defined according to each control command.
8c, according to the lighting / extinguishing pattern of the decorative lamp 25,
Game effect LED 28a, game effect lamps 28b, 28
c, output a light-on / light-off signal to the decorative lamp 25; The ON / OFF signal is output to the game effect LED 28a, the game effect lamps 28b and 28c, and the decoration lamp 25. It should be noted that the lighting / extinguishing pattern is determined by the lamp control CPU
351 is stored in an internal ROM or an external ROM.

【0067】主基板31において、CPU56は、RA
M55の記憶内容に未払出の賞球残数があるときに賞球
ランプ51の点灯を指示する制御コマンドを出力し、前
述した遊技盤裏面の払出球通路186a,186bの上
流に設置されている球切れスイッチ187a,187b
(図4参照)が遊技球を検出しなくなると、球切れラン
プ52の点灯や点滅を指示する制御コマンドを出力す
る。すなわち、本例では球切れスイッチ187aおよび
球切れスイッチ187bが遊技球を検出しなくなると、
球切れランプ52の点灯を指示する制御コマンドを出力
する。また、一方の球切れスイッチ187aが遊技球を
検出しなくなると、球切れランプ52を所定期間ごとに
2回連続して点滅させることを指示する制御コマンドを
出力する。また、他方の球切れスイッチ187bのうち
の何れか一方が遊技球を検出しなくなると、球切れラン
プ52の点滅を指示する制御コマンドを出力する。
On the main board 31, the CPU 56
When there is an unpaid prize ball remaining number in the memory contents of M55, the control command for instructing lighting of the prize ball lamp 51 is output, and the control command is provided upstream of the payout ball passages 186a, 186b on the back of the game board. Ball switch 187a, 187b
When the game ball is no longer detected (see FIG. 4), a control command for instructing lighting or blinking of the ball out lamp 52 is output. That is, in this example, when the ball out switch 187a and the ball out switch 187b no longer detect a game ball,
A control command for instructing lighting of the out-of-ball lamp 52 is output. When one of the ball-out switches 187a no longer detects a game ball, the control command is output to instruct the ball-out lamp 52 to blink continuously twice every predetermined period. When one of the other ball out switches 187b no longer detects a game ball, a control command for instructing the ball out lamp 52 to blink is output.

【0068】ランプ制御基板35において、各制御コマ
ンドは、入力バッファ回路355A,355Bを介して
ランプ制御用CPU351に入力する。ランプ制御用C
PU351は、それらの制御コマンドに応じて、賞球ラ
ンプ51を点灯/消灯する。同様に、ランプ制御用CP
U351は、それらの制御コマンドに応じて、球切れラ
ンプ52を点灯、点滅(例えば、所定期間ごとに2回連
続して点滅する場合などの各種点滅態様を含む)、ある
いは消灯する。なお、点灯、点滅、あるいは消灯パター
ンは、ランプ制御用CPU351の内蔵ROMまたは外
付けROMに記憶されている。さらに、ランプ制御用C
PU351は、制御コマンドに応じて始動記憶表示器1
8およびゲート通過記憶表示器41に対して点灯/消灯
信号を出力する。
In the lamp control board 35, each control command is input to the lamp control CPU 351 via the input buffer circuits 355A and 355B. Lamp control C
The PU 351 turns on / off the award ball lamp 51 according to the control commands. Similarly, lamp control CP
In response to the control commands, the U 351 turns on, blinks (including various blinking modes such as blinking twice in succession every predetermined period), or turns off the lamp. The lighting, blinking, or light-off pattern is stored in a built-in ROM or an external ROM of the lamp control CPU 351. Further, the lamp control C
The PU 351 starts the start storage display 1 in response to the control command.
8 and an on / off signal to the gate passage storage display 41.

【0069】入力バッファ回路355A,355Bとし
て、例えば、汎用のCMOS−ICである74HC54
0,74HC14が用いられる。入力バッファ回路35
5A,355Bは、主基板31からランプ制御基板35
へ向かう方向にのみ信号を通過させることができる。従
って、ランプ制御基板35側から主基板31側に信号が
伝わる余地はない。たとえ、ランプ制御基板35内の回
路に不正改造が加えられても、不正改造によって出力さ
れる信号がメイン基板31側に伝わることはない。な
お、入力バッファ回路355A,355Bの入力側にノ
イズフィルタを設けてもよい。
As the input buffer circuits 355A and 355B, for example, a 74HC54 which is a general-purpose CMOS-IC
0,74HC14 is used. Input buffer circuit 35
5A and 355B are connected to the lamp control board 35 from the main board 31.
The signal can be passed only in the direction toward. Therefore, there is no room for a signal to be transmitted from the lamp control board 35 side to the main board 31 side. For example, even if a circuit in the lamp control board 35 is tampered with, a signal output by the tampering is not transmitted to the main board 31 side. Note that a noise filter may be provided on the input side of the input buffer circuits 355A and 355B.

【0070】また、主基板31において、出力ポート5
70,573の外側にバッファ回路620,63Aが設
けられている。バッファ回路620,63Aとして、例
えば、汎用のCMOS−ICである74HC250,7
4HC14が用いられる。このような構成によれば、外
部から主基板31の内部に入力される信号が阻止される
ので、ランプ制御基板70から主基板31に信号が与え
られる可能性がある信号ラインをさらに確実になくすこ
とができる。なお、バッファ回路620,63Aの出力
側にノイズフィルタを設けてもよい。
In the main board 31, the output port 5
Buffer circuits 620 and 63A are provided outside 70 and 573. As the buffer circuits 620 and 63A, for example, 74HC250 and 7HC which are general-purpose CMOS-ICs
4HC14 is used. According to such a configuration, since a signal input from the outside to the inside of the main board 31 is blocked, a signal line to which a signal may be supplied from the lamp control board 70 to the main board 31 is more reliably eliminated. be able to. Note that a noise filter may be provided on the output side of the buffer circuits 620 and 63A.

【0071】なお、本例では、球切れランプ52は、各
種の態様で点滅する表示態様をとる構成としているが、
例えばエラー表示ランプ(なお、エラー表示ランプは、
表示原因に応じて、例えば払出制御基板37などの各電
気部品制御手段によって制御される)を遊技盤の前面あ
るいは裏面に設けるなどして他表示手段が各種の態様で
点滅(7セグメントLEDによるエラー表示ランプの場
合は、表示する数字などが点灯や点滅)する表示態様を
とる構成としてもよい。この場合、例えば以下のように
表示することが考えられる。例えば、何らかのエラーが
発生した場合に所定のランプが点灯し、払出停止中とな
ったときにはそのランプが点滅するもの。また、1つの
エラーが発生した場合に所定のランプが点灯し、複数の
エラーが発生した場合にはそのランプが点滅するもの。
また、賞球払出機構において球噛みエラーが発生した場
合に所定のランプが点滅し、球貸し機構において球噛み
エラーが発生した場合にはそのランプが所定期間ごとに
2回点滅する態様で点滅し、賞球払出機構および球貸し
機構においてともに球噛みエラーが発生した場合にはそ
のランプが点灯するもの。また、両方の払出球通路18
6a,186bにおいて球切れが発生した場合(球切れ
スイッチ187aおよび球切れスイッチ187bが遊技
球を検出しなくなったとき)に所定のランプ(例えば、
球切れランプ52)が点灯し、一方の払出球通路186
aまたは186bにおいて球切れが発生した場合にはそ
のランプが点滅し、払出球通路186cにおいて球貸し
用の遊技球の球切れが発生した場合には所定期間ごとに
2回連続してそのランプが点滅するもの。また、賞球モ
ータ289Aが動作しているにもかかわらず賞球カウン
トスイッチ301Aの検出出力がない場合(例えば、賞
球経路エラー)に所定のランプ点滅し、賞球モータ28
9Aが動作していないにもかかわらず賞球カウントスイ
ッチ301Aの検出出力があった場合(不正払出検出の
場合)には所定期間ごとに2回連続してそのランプが点
滅し、賞球カウントスイッチ301Aが検出出力するた
めの線路が断線短絡した場合にそのランプが点灯するも
の(なお、貸し球払出に関しても同様の構成とすること
ができる)。また、遊技球の払出不足を検出した場合に
所定のランプが点灯し、遊技球の払出超過(例えば、賞
球過多エラー)を検出した場合にそのランプが点滅する
もの。さらに、後述するプリペイドカードユニット未接
続エラーが発生したときに所定のランプが点灯し、後述
するプリペイドカードユニット通信エラーが発生したと
きにそのランプが点滅するもの。なお、上述した点灯や
点滅などの原因および態様は一例である。
In the present example, the out-of-ball lamp 52 has a display mode in which it flashes in various modes.
For example, an error indicator lamp (the error indicator lamp
Depending on the display cause, for example, each electronic component control means such as the payout control board 37 is provided on the front or back surface of the game board, and other display means blink in various modes (errors caused by the 7-segment LED). In the case of a display lamp, a configuration may be adopted in which a display mode in which a displayed number or the like is turned on or blinks). In this case, for example, the display may be as follows. For example, a predetermined lamp is turned on when an error occurs, and the lamp flashes when the dispensing is stopped. Further, a predetermined lamp is turned on when one error occurs, and the lamp blinks when a plurality of errors occur.
Further, when a ball biting error occurs in the prize ball payout mechanism, a predetermined lamp flashes, and when a ball biting error occurs in the ball lending mechanism, the lamp flashes twice in a predetermined period. When a ball biting error occurs in both the prize ball payout mechanism and the ball lending mechanism, the corresponding lamp is turned on. Also, both payout ball paths 18
A predetermined lamp (for example, when the ball-out switch 187a and the ball-out switch 187b no longer detect the game ball) when the ball has run out at 6a and 186b.
The ball out lamp 52) lights up, and one of the payout ball paths 186 is turned on.
If the ball has run out at a or 186b, the lamp blinks, and if the ball for game lending has run out at the payout ball passage 186c, the lamp is flashed twice in succession every predetermined period. Things that flash. Further, when there is no detection output of the prize ball count switch 301A even though the prize ball motor 289A is operating (for example, a prize ball path error), a predetermined lamp blinks and the prize ball motor 28
If there is a detection output of the prize ball count switch 301A even though the 9A is not operating (in the case of illegal payout detection), the lamp blinks twice in succession every predetermined period and the prize ball count switch When the line for detecting and outputting the signal 301A is short-circuited and short-circuited, the lamp is turned on (the same configuration can be applied to the rental ball payout). In addition, a predetermined lamp is turned on when detecting an insufficient payout of the game ball, and the lamp flashes when detecting an excessive payout of the game ball (for example, an excessive prize ball error). Further, a predetermined lamp is turned on when a prepaid card unit unconnection error described later occurs, and the lamp blinks when a prepaid card unit communication error described later occurs. Note that the causes and modes such as the lighting and blinking described above are examples.

【0072】図12は、払出制御基板37および球払出
装置97の構成要素などの払出に関連する構成要素を示
すブロック図である。図12に示すように、満タンスイ
ッチ48からの検出信号は、中継基板71を介して主基
板31のI/Oポート57に入力される。満タンスイッ
チ48は、余剰球受皿4の満タンを検出するスイッチで
ある。また、球切れスイッチ187a,187bおよび
球切れスイッチ187cからの検出信号も、中継基板7
2および中継基板71を介して主基板31のI/Oポー
ト57に入力される。なお、ここでは、払出機構の構成
は、図4に示されたような賞球払出機構と図6に示され
たような球貸し機構とが独立して設けられている構成で
あり、さらに図4に示されたような賞球払出機構が2条
の払出経路を有している構成であるものとする。
FIG. 12 is a block diagram showing components related to payout, such as components of the payout control board 37 and the ball payout device 97. As shown in FIG. 12, the detection signal from the full tank switch 48 is input to the I / O port 57 of the main board 31 via the relay board 71. The full tank switch 48 is a switch that detects whether the excess ball tray 4 is full. The detection signals from the ball cut switches 187a and 187b and the ball cut switch 187c are also transmitted to the relay board 7
2 and to the I / O port 57 of the main board 31 via the relay board 71. Here, the payout mechanism has a configuration in which a prize ball payout mechanism as shown in FIG. 4 and a ball lending mechanism as shown in FIG. 6 are provided independently. It is assumed that the winning ball payout mechanism as shown in FIG. 4 has two payout paths.

【0073】主基板31のCPU56は、球切れスイッ
チ187aまたは187bの何れかからの検出信号が球
切れ状態を示している場合、球切れスイッチ187aお
よび187bからの検出信号が球切れ状態を示している
場合、球切れスイッチ187cからの検出信号が球切れ
状態を示している場合、満タンスイッチ48からの検出
信号が満タン状態を示している場合のそれぞれについ
て、払出禁止などを指示するために払出制御コマンドを
送出する。このような払出制御コマンドを受信すると、
払出制御基板37の払出制御用CPU371は、球払出
処理を停止するなどの受信した払出制御コマンドに応じ
た処理を行う。なお、各スイッチの状態に応じた指示が
同一の指示となる場合(例えば、払出球通路186aお
よび186bの両方で球切れが発生したときまたは満タ
ン検出したときに、ともに払出停止を指示する場合)に
は、同一の払出制御コマンドを送出するようにしてもよ
い。
The CPU 56 of the main board 31 determines that the detection signal from one of the ball-out switches 187a and 187b indicates that the ball is out, and that the detection signal from the ball-out switch 187a or 187b indicates that the ball is out. In order to instruct payout prohibition, etc., in each of the cases where the detection signal from the out-of-ball switch 187c indicates the out-of-ball state, and the detection signal from the full switch 48 indicates the full state. Send out the payout control command. When such a payout control command is received,
The payout control CPU 371 of the payout control board 37 performs processing according to the received payout control command such as stopping the ball payout processing. In addition, when the instruction according to the state of each switch is the same instruction (for example, when the ball is run out in both the payout ball passages 186a and 186b or when the full state is detected, the stoppage of the both is instructed) ), The same payout control command may be sent.

【0074】この実施の形態では、球切れスイッチ18
7a,187bの検出信号が主基板31のみに入力さ
れ、払出制御基板37に必要な払出制御コマンドが送信
されるようにしているが、払出制御基板37のみに入力
されるようにしてもよく、主基板31および払出制御基
板37の両方に入力されるようにしてもよい。また、こ
の実施の形態では、球切れスイッチ187cの検出信号
についても主基板31のみに入力され、払出制御基板3
7に必要な払出制御コマンドが送信されるようにしてい
るが、払出制御基板37のみに入力されるようにして
も、主基板31および払出制御基板37の両方に入力さ
れるようにしてもよい。
In this embodiment, the ball out switch 18
Although the detection signals of 7a and 187b are input only to the main board 31 and the necessary payout control commands are transmitted to the payout control board 37, they may be input only to the payout control board 37. The information may be input to both the main board 31 and the payout control board 37. Further, in this embodiment, the detection signal of the ball out switch 187c is also input to only the main board 31, and the payout control board 3
7, the payout control command required is transmitted. However, the payout control command may be input only to the payout control board 37, or may be input to both the main board 31 and the payout control board 37. .

【0075】さらに、賞球カウントスイッチ301Aか
らの検出信号も、中継基板72および中継基板71を介
して主基板31のI/Oポート57に入力される。賞球
カウントスイッチ301Aは、賞球払出装置97Aの下
部に設けられ、実際に払い出された賞球払出球を検出す
る。
Further, the detection signal from the award ball count switch 301A is also input to the I / O port 57 of the main board 31 via the relay board 72 and the relay board 71. The prize ball count switch 301A is provided below the prize ball payout device 97A, and detects a prize ball payout ball actually paid out.

【0076】入賞があると、払出制御基板37には、主
基板31の出力ポート(ポート0,1)570,571
から賞球個数を示す払出制御コマンドが入力される。出
力ポート(出力ポート1)571は8ビットのデータを
出力し、出力ポート570は1ビットのストローブ信号
(INT信号)を出力する。賞球個数を示す払出制御コ
マンドは、入力バッファ回路373Aを介してI/Oポ
ート372aに入力される。INT信号は、入力バッフ
ァ回路373Bを介して払出制御用CPU371の割込
端子に入力されている。払出制御用CPU371は、I
/Oポート372aを介して払出制御コマンドを入力
し、払出制御コマンドに応じて球払出装置97を駆動し
て賞球払出を行う。なお、この実施の形態では、払出制
御用CPU371は、1チップマイクロコンピュータで
あり、少なくともRAMが内蔵されている。
When there is a prize, the payout control board 37 has output ports (ports 0, 1) 570, 571 of the main board 31.
, A payout control command indicating the number of winning balls is input. The output port (output port 1) 571 outputs 8-bit data, and the output port 570 outputs a 1-bit strobe signal (INT signal). The payout control command indicating the number of winning balls is input to the I / O port 372a via the input buffer circuit 373A. The INT signal is input to the interrupt terminal of the payout control CPU 371 via the input buffer circuit 373B. The payout control CPU 371
A payout control command is input via the / O port 372a, and the ball payout device 97 is driven in accordance with the payout control command to perform award ball payout. In this embodiment, the payout control CPU 371 is a one-chip microcomputer and has at least a RAM.

【0077】また、主基板31において、出力ポート5
70,571の外側にバッファ回路620,68Aが設
けられている。バッファ回路620,68Aとして、例
えば、汎用のCMOS−ICである74HC250,7
4HC14が用いられる。このような構成によれば、外
部から主基板31の内部に入力される信号が阻止される
ので、払出制御基板37から主基板31に信号が与えら
れる可能性がある信号ラインをさらに確実になくすこと
ができる。なお、バッファ回路620,68Aの出力側
にノイズフィルタを設けてもよい。
In the main board 31, the output port 5
Buffer circuits 620 and 68A are provided outside 70 and 571. As the buffer circuits 620 and 68A, for example, 74HC250 and 7HC which are general-purpose CMOS-ICs
4HC14 is used. According to such a configuration, since a signal inputted from the outside to the inside of the main board 31 is blocked, a signal line to which a signal may be given from the payout control board 37 to the main board 31 is further reliably eliminated. be able to. Note that a noise filter may be provided on the output side of the buffer circuits 620 and 68A.

【0078】払出制御用CPU371は、出力ポート3
72gおよび情報出力回路377を介して、貸し球数を
示す球貸し個数信号をターミナル基板160に出力し、
ブザー駆動信号をブザー基板75に出力する。ブザー基
板75にはブザーが搭載されている。さらに、出力ポー
ト372eを介して、エラー表示用LED374にエラ
ー信号を出力する。
The payout control CPU 371 is connected to the output port 3
A ball lending number signal indicating the lending ball number is output to the terminal board 160 via the 72g and the information output circuit 377,
The buzzer drive signal is output to the buzzer board 75. A buzzer is mounted on the buzzer board 75. Further, an error signal is output to the error display LED 374 via the output port 372e.

【0079】さらに、払出制御基板37の入力ポート3
72bには、中継基板72を介して、賞球カウントスイ
ッチ301Aおよび球貸しカウントスイッチ301Bか
らの検出信号が入力される。球貸しカウントスイッチ3
01Bは、貸し球払出装置97Cの下部に設けられ、実
際に払い出された貸し球を検出する。払出制御基板37
からの賞球モータ289Aへの駆動信号は、出力ポート
372cおよび中継基板72を介して賞球モータ289
Aに伝えられる。また、払出制御基板37からの球貸し
ソレノイド127への駆動信号は、出力ポート372c
および中継基板72を介して球貸しソレノイド127に
伝えられる。
Further, the input port 3 of the payout control board 37
Detection signals from the winning ball count switch 301A and the ball lending count switch 301B are input to the relay board 72b via the relay board 72. Ball rental count switch 3
01B is provided at the lower part of the loaned ball payout device 97C, and detects the actually paid out loaned ball. Dispensing control board 37
The drive signal to the prize ball motor 289A is output from the prize ball motor 289A via the output port 372c and the relay board 72.
A is told. The drive signal from the payout control board 37 to the ball rental solenoid 127 is output from the output port 372c.
The signal is transmitted to the ball lending solenoid 127 via the relay board 72.

【0080】カードユニット50には、カードユニット
制御用マイクロコンピュータが搭載されている。また、
カードユニット50には、端数表示スイッチ152、連
結台方向表示器153、カード投入表示ランプ154お
よびカード挿入口155が設けられている(図1参
照)。残高表示基板74には、打球供給皿3の近傍に設
けられている度数表示LED、球貸しスイッチおよび返
却スイッチが接続される。
The card unit 50 has a microcomputer for controlling the card unit. Also,
The card unit 50 is provided with a fraction display switch 152, a connection board direction indicator 153, a card insertion indicator lamp 154, and a card insertion slot 155 (see FIG. 1). The balance display board 74 is connected to a frequency display LED, a ball lending switch, and a return switch provided near the hit ball supply tray 3.

【0081】残高表示基板74からカードユニット50
には、遊技者の操作に応じて、球貸しスイッチ信号およ
び返却スイッチ信号が払出制御基板37を介して与えら
れる。また、カードユニット50から残高表示基板74
には、プリペイドカードの残高を示すカード残高表示信
号および球貸し可表示信号が払出制御基板37を介して
与えられる。カードユニット50と払出制御基板37の
間では、接続信号(VL信号)、ユニット操作信号(B
RDY信号)、球貸し要求信号(BRQ信号)、球貸し
完了信号(EXS信号)およびパチンコ機動作信号(P
RDY信号)がI/Oポート372fを介してやりとり
される。
From the balance display board 74 to the card unit 50
In response to the operation of the player, a ball lending switch signal and a return switch signal are given via the payout control board 37. In addition, the balance display board 74 is provided from the card unit 50.
, A card balance display signal indicating the balance of the prepaid card and a ball lending possible display signal are given via the payout control board 37. Between the card unit 50 and the payout control board 37, a connection signal (VL signal) and a unit operation signal (B
RDY signal), ball lending request signal (BRQ signal), ball lending completion signal (EXS signal) and pachinko machine operation signal (P
RDY signal) is exchanged via the I / O port 372f.

【0082】パチンコ遊技機1の電源が投入されると、
払出制御基板37の払出制御用CPU371は、カード
ユニット50にPRDY信号を出力する。また、カード
ユニット制御用マイクロコンピュータは、VL信号を出
力する。払出制御用CPU371は、VL信号の入力状
態により接続状態/未接続状態を判定する。カードユニ
ット50においてカードが受け付けられ、球貸しスイッ
チが操作され球貸しスイッチ信号が入力されると、カー
ドユニット制御用マイクロコンピュータは、払出制御基
板37にBRDY信号を出力する。この時点から所定の
遅延時間が経過すると、カードユニット制御用マイクロ
コンピュータは、払出制御基板37にBRQ信号を出力
する。そして、払出制御基板37の払出制御用CPU3
71は、カードユニット50に対するEXS信号を立ち
上げ、カードユニット50からのBRQ信号の立ち下が
りを検出すると、払出モータ289を駆動し、所定個の
貸し球を遊技者に払い出す。このとき、振分用ソレノイ
ド310は駆動状態とされている。すなわち、球振分部
材311を球貸し側に向ける。そして、払出が完了した
ら、払出制御用CPU371は、カードユニット50に
対するEXS信号を立ち下げる。その後、カードユニッ
ト50からのBRDY信号がオン状態でなければ、賞球
払出制御を実行する。
When the power of the pachinko gaming machine 1 is turned on,
The payout control CPU 371 of the payout control board 37 outputs a PRDY signal to the card unit 50. The card unit control microcomputer outputs a VL signal. The payout control CPU 371 determines the connection state / non-connection state based on the input state of the VL signal. When the card is accepted in the card unit 50 and the ball lending switch is operated to input a ball lending switch signal, the microcomputer for controlling the card unit outputs a BRDY signal to the payout control board 37. When a predetermined delay time has elapsed from this point, the microcomputer for controlling the card unit outputs a BRQ signal to the payout control board 37. The payout control CPU 3 of the payout control board 37
When the EXS signal to the card unit 50 rises and the fall of the BRQ signal from the card unit 50 is detected, the payout motor 289 drives the payout motor 289 to pay out a predetermined number of loaned balls to the player. At this time, the distribution solenoid 310 is in a driving state. That is, the ball distribution member 311 is directed to the ball lending side. When the payout is completed, the payout control CPU 371 causes the EXS signal to the card unit 50 to fall. Thereafter, if the BRDY signal from the card unit 50 is not in the ON state, the winning ball payout control is executed.

【0083】以上のように、カードユニット50からの
信号は、カードユニット50に直接接続されている払出
制御基板37に入力される構成になっている。従って、
球貸し制御に関して、カードユニット50から主基板3
1に信号が入力されることはなく、主基板31の基本回
路53にカードユニット50の側から不正に信号が入力
される余地はない。
As described above, the signal from the card unit 50 is input to the payout control board 37 directly connected to the card unit 50. Therefore,
Regarding ball lending control, the card unit 50 sends the main board 3
No signal is input to 1, and there is no room for a signal to be incorrectly input from the card unit 50 side to the basic circuit 53 of the main board 31.

【0084】また、プリペイドカードの残高を示すカー
ド残高表示信号および球貸し可表示信号は、払出制御用
CPU371を介さずに残高表示基板74に伝達され
る。残高表示基板74から送出される球貸しスイッチ信
号および返却スイッチ信号も、払出制御用CPU371
を介さずにカードユニット50に伝達される。
The card balance display signal indicating the balance of the prepaid card and the ball lending permission display signal are transmitted to the balance display board 74 without passing through the payout control CPU 371. The ball lending switch signal and the return switch signal sent from the balance display board 74 are also transmitted to the payout control CPU 371.
Is transmitted to the card unit 50 without going through.

【0085】なお、この実施の形態ではカードユニット
50が設けられている場合を例にするが、コイン投入に
応じてその金額に応じた遊技球を貸し出す場合にも本発
明を適用できる。また、この実施の形態では遊技球を貸
し出す場合を例にしているが、得点が加算されるもので
あっても本発明を適用できる。
In this embodiment, the case where the card unit 50 is provided is described as an example. However, the present invention can be applied to a case where a game ball is lent according to the amount of money when a coin is inserted. Further, in this embodiment, a case where a game ball is lent is taken as an example, but the present invention can be applied to a case where points are added.

【0086】この実施の形態では、少なくとも主基板3
1および払出制御基板37におけるRAMは、バックア
ップ電源でバックアップされている。すなわち、遊技機
に対する電力供給が停止しても、所定期間はRAMの内
容が保存される。そして、各CPUは、電源電圧の低下
を検出すると、所定の処理を行った後に電源復旧待ちの
状態になる。また、電源投入時に、各CPUは、RAM
にデータが保存されている場合には、保存データにもと
づいて電源断前の状態を復元する。
In this embodiment, at least the main substrate 3
1 and the RAM in the payout control board 37 are backed up by a backup power supply. That is, even if the power supply to the gaming machine is stopped, the contents of the RAM are stored for a predetermined period. When detecting a drop in the power supply voltage, each CPU performs a predetermined process, and then enters a power recovery wait state. When the power is turned on, each CPU
If the data is stored in the memory, the state before the power is turned off is restored based on the stored data.

【0087】また、上述したように、払出制御基板3
7、表示制御基板80、ランプ制御基板35および音声
制御基板70にコマンドを送出するために、主基板31
の出力ポート(出力ポート0)570からINT信号が
各電気部品制御基板に出力される。この場合、例えば、
出力ポート570は8ビット構成であって、ビット0が
払出制御基板37へのINT信号、ビット1が表示制御
基板80へのINT信号、ビット2がランプ制御基板3
5へのINT信号、ビット3が音声制御基板70へのI
NT信号の出力用に用いられる。
As described above, the payout control board 3
7. The main board 31 for sending commands to the display control board 80, the lamp control board 35, and the voice control board 70
An INT signal is output from each output port (output port 0) 570 to each electric component control board. In this case, for example,
The output port 570 has an 8-bit configuration, where bit 0 is an INT signal to the payout control board 37, bit 1 is an INT signal to the display control board 80, and bit 2 is a lamp control board 3
The INT signal to bit 5, bit 3 is the I signal to voice control board 70
Used for outputting the NT signal.

【0088】図13は、CPU56周りの一構成例を示
すブロック図である。図13に示すように、第1の電源
監視回路(第1の電源監視手段)からの電圧低下信号
が、CPU56のマスク不能割込端子(XNMI端子)
に接続されている。第1の電源監視回路は、遊技機が使
用する各種直流電源のうちのいずれかの電源の電圧を監
視して電源電圧低下を検出する回路である。この実施の
形態では、VSLの電源電圧を監視して電圧値が所定値以
下になるとローレベルの電圧低下信号を発生する。VSL
は、遊技機で使用される直流電圧のうちで最大のもので
あり、この例では+30Vである。従って、CPU56
は、割込処理によって電源断の発生を確認することがで
きる。なお、この実施の形態では、第1の電源監視回路
は、後述する電源基板に搭載されている。
FIG. 13 is a block diagram showing an example of a configuration around the CPU 56. As shown in FIG. As shown in FIG. 13, the voltage drop signal from the first power supply monitoring circuit (first power supply monitoring means) is output to the non-maskable interrupt terminal (XNMI terminal) of the CPU 56.
It is connected to the. The first power supply monitoring circuit is a circuit that monitors a voltage of any one of various DC power supplies used by the gaming machine and detects a power supply voltage drop. In this embodiment, the power supply voltage of VSL is monitored, and when the voltage value becomes equal to or less than a predetermined value, a low-level voltage drop signal is generated. VSL
Is the largest DC voltage used in gaming machines, and is +30 V in this example. Therefore, the CPU 56
Can confirm the occurrence of power interruption by interrupt processing. In this embodiment, the first power supply monitoring circuit is mounted on a power supply board described later.

【0089】図13には、システムリセット回路65も
示されているが、この実施の形態では、システムリセッ
ト回路65は、第2の電源監視回路(第2の電源監視手
段)も兼ねている。すなわち、リセットIC651は、
電源投入時に、外付けのコンデンサの容量で決まる所定
時間だけ出力をローレベルとし、所定時間が経過すると
出力をハイレベルにする。すなわち、リセット信号をハ
イレベルに立ち上げてCPU56を動作可能状態にす
る。また、リセットIC651は、第1の電源監視回路
が監視する電源電圧と等しい電源電圧であるVSLの電源
電圧を監視して電圧値が所定値(第1の電源監視回路が
電圧低下信号を出力する電源電圧値よりも低い値)以下
になるとローレベルの電圧低下信号を発生する。従っ
て、CPU56は、第1の電源監視回路からの電圧低下
信号に応じて所定の電力供給停止時処理を行った後、シ
ステムリセットされる。なお、この実施の形態では、リ
セット信号と第2の電源監視回路からの電圧低下信号と
は同一の信号である。
FIG. 13 also shows the system reset circuit 65. In this embodiment, the system reset circuit 65 also serves as a second power supply monitoring circuit (second power supply monitoring means). That is, the reset IC 651
When the power is turned on, the output is set to the low level for a predetermined time determined by the capacity of the external capacitor, and the output is set to the high level after the predetermined time has elapsed. That is, the reset signal is raised to a high level to make the CPU 56 operable. The reset IC 651 monitors the power supply voltage of VSL, which is the same power supply voltage as the power supply voltage monitored by the first power supply monitoring circuit, and sets the voltage value to a predetermined value (the first power supply monitoring circuit outputs a voltage drop signal). When the voltage falls below the power supply voltage value), a low-level voltage drop signal is generated. Accordingly, the CPU 56 performs a predetermined power supply stop processing in response to the voltage drop signal from the first power supply monitoring circuit, and then performs a system reset. In this embodiment, the reset signal and the voltage drop signal from the second power supply monitoring circuit are the same signal.

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

【0091】そして、例えば、第1の電源監視回路の検
出電圧(電圧低下信号を出力することになる電圧)を+
22Vとし、第2の電源監視回路の検出電圧を+9Vと
する。そのように構成した場合には、第1の電源監視回
路と第2の電源監視回路とは、同一の電源VSLの電圧を
監視するので、第1の電圧監視回路が電圧低下信号を出
力するタイミングと第2の電圧監視回路が電圧低下信号
を出力するタイミングの差を所望の所定期間に確実に設
定することができる。所望の所定期間とは、第1の電源
監視回路からの電圧低下信号に応じて電力供給停止時処
理を開始してから電力供給停止時処理が確実に完了する
までの期間である。
Then, for example, the detection voltage of the first power supply monitoring circuit (the voltage at which the voltage drop signal is output) is set to +
22 V, and the detection voltage of the second power supply monitoring circuit is +9 V. In such a configuration, since the first power supply monitoring circuit and the second power supply monitoring circuit monitor the voltage of the same power supply VSL, the timing at which the first voltage monitoring circuit outputs the voltage drop signal The difference between the timings at which the second voltage monitoring circuit and the second voltage monitoring circuit output the voltage drop signal can be reliably set to a desired predetermined period. The desired predetermined period is a period from the start of the power supply stop processing in response to the voltage drop signal from the first power supply monitoring circuit until the power supply stop processing is completely completed.

【0092】この例では、第1の電源監視手段が検出信
号を出力することになる第1検出条件は+30V電源電
圧が+22Vにまで低下したことであり、第2の電源監
視手段が検出信号を出力することになる第2検出条件は
+30V電源電圧が+9Vにまで低下したことになる。
ただし、ここで用いられている電圧値は一例であって、
他の値を用いてもよい。
In this example, the first detection condition that the first power supply monitoring means outputs a detection signal is that the +30 V power supply voltage has dropped to +22 V, and the second power supply monitoring means outputs the detection signal. The second detection condition to be output is that the +30 V power supply voltage has dropped to +9 V.
However, the voltage value used here is an example,
Other values may be used.

【0093】ただし、監視範囲が狭まるが、第1の電圧
監視回路および第2の電圧監視回路の監視電圧として+
5V電源電圧を用いることも可能である。その場合に
も、第1の電圧監視回路の検出電圧は、第2の電圧監視
回路の検出電圧よりも高く設定される。
However, although the monitoring range is narrowed, the monitoring voltage of the first voltage monitoring circuit and the second voltage monitoring circuit is +
It is also possible to use a 5V power supply voltage. Also in that case, the detection voltage of the first voltage monitoring circuit is set higher than the detection voltage of the second voltage monitoring circuit.

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

【0095】なお、図13では、電源投入時にCPU5
6のリセット端子に2回のリセット信号(ローレベル信
号)が与えられる構成が示されたが、リセット信号の立
ち上がりタイミングが1回しかなくても確実にリセット
解除されるCPUを使用する場合には、符号941〜9
49で示された回路素子は不要である。その場合、リセ
ットIC651の出力がそのままCPU56のリセット
端子に接続される。
In FIG. 13, when the power is turned on, the CPU 5
6 shows a configuration in which a reset signal (low-level signal) is applied twice to the reset terminal. However, in the case of using a CPU in which reset is surely released even if the reset signal rises only once, , Reference numerals 941 to 9
The circuit element indicated by 49 is unnecessary. In that case, the output of the reset IC 651 is directly connected to the reset terminal of the CPU 56.

【0096】この実施の形態で用いられるCPU56
は、I/Oポート(PIO)およびタイマ/カウンタ回
路(CTC)も内蔵している。PIOは、PB0〜PB
3の4ビットおよびPA0〜PA7の1バイトのポート
を有する。PB0〜PB3およびPA0〜PA7のポー
トは、入力/出力いずれにも設定できる。ただし、この
実施の形態では内蔵PIOを使用しない。その場合に
は、例えば、全ポートを入力モードとして、全ポートを
グラウンドレベルに接続する。なお、電源投入時に、P
IOは自動的に入力モードに設定される。
CPU 56 used in this embodiment
Incorporates an I / O port (PIO) and a timer / counter circuit (CTC). PIO is PB0-PB
It has a port of 3 4 bits and 1 byte of PA0 to PA7. The ports PB0 to PB3 and PA0 to PA7 can be set for both input and output. However, in this embodiment, no built-in PIO is used. In that case, for example, all ports are set to the input mode, and all ports are connected to the ground level. When power is turned on, P
IO is automatically set to input mode.

【0097】図14は、遊技機の電源基板910の一構
成例を示すブロック図である。電源基板910は、主基
板31、表示制御基板80、音声制御基板70、ランプ
制御基板35および払出制御基板37等の電気部品制御
基板と独立して設置され、遊技機内の各電気部品制御基
板および機構部品が使用する電圧を生成する。この例で
は、AC24V、VSL(DC+30V)、DC+21
V、DC+12VおよびDC+5Vを生成する。また、
バックアップ電源となるコンデンサ916は、DC+5
Vすなわち各基板上のIC等を駆動する電源のラインか
ら充電される。
FIG. 14 is a block diagram showing a configuration example of a power supply board 910 of a gaming machine. The power supply board 910 is installed independently of the electric component control boards such as the main board 31, the display control board 80, the audio control board 70, the lamp control board 35, and the payout control board 37, and each of the electric component control boards in the gaming machine and Generates voltages used by mechanical components. In this example, AC24V, VSL (DC + 30V), DC + 21
V, + 12V DC and + 5V DC. Also,
The capacitor 916 serving as a backup power supply is DC + 5
V, that is, charged from a power supply line for driving an IC or the like on each substrate.

【0098】トランス911は、交流電源からの交流電
圧を24Vに変換する。AC24V電圧は、コネクタ9
15に出力される。また、整流回路912は、AC24
Vから+30Vの直流電圧を生成し、DC−DCコンバ
ータ913およびコネクタ915に出力する。DC−D
Cコンバータ913は、+22V、+12Vおよび+5
Vを生成してコネクタ915に出力する。コネクタ91
5は例えば中継基板に接続され、中継基板から各電気部
品制御基板および機構部品に必要な電圧の電力が供給さ
れる。なお、トランス911の入力側には、遊技機に対
する電源供給を停止したり開始させたりするための電源
スイッチ918が設置されている。
Transformer 911 converts an AC voltage from an AC power supply to 24V. AC 24V voltage is applied to connector 9
15 is output. Further, the rectifier circuit 912 includes an AC24
A DC voltage of +30 V is generated from V and output to the DC-DC converter 913 and the connector 915. DC-D
The C converter 913 has + 22V, + 12V and + 5V.
V is generated and output to the connector 915. Connector 91
5 is connected to, for example, a relay board, from which electric power of a voltage required for each electric component control board and mechanism components is supplied. A power switch 918 for stopping and starting power supply to the gaming machine is provided on the input side of the transformer 911.

【0099】DC−DCコンバータ913からの+5V
ラインは分岐してバックアップ+5Vラインを形成す
る。バックアップ+5Vラインとグラウンドレベルとの
間には大容量のコンデンサ916が接続されている。コ
ンデンサ916は、遊技機に対する電力供給が遮断され
たときの電気部品制御基板のバックアップRAM(電源
バックアップされているRAMすなわち記憶内容保持状
態となりうる記憶手段)に対して記憶状態を保持できる
ように電力を供給するバックアップ電源となる。また、
+5Vラインとバックアップ+5Vラインとの間に、逆
流防止用のダイオード917が挿入される。
+5 V from DC-DC converter 913
The line branches to form a backup + 5V line. A large-capacity capacitor 916 is connected between the backup + 5V line and the ground level. The capacitor 916 is provided with an electric power so as to be able to hold a storage state in a backup RAM (power-backed-up RAM, that is, storage means that can be in a storage state) when the power supply to the gaming machine is cut off. Backup power supply. Also,
A diode 917 for preventing backflow is inserted between the + 5V line and the backup + 5V line.

【0100】なお、バックアップ電源として、+5V電
源から充電可能な電池を用いてもよい。電池を用いる場
合には、+5V電源から電力供給されない状態が所定時
間継続すると容量がなくなるような充電池が用いられ
る。
Note that a battery that can be charged from a +5 V power supply may be used as a backup power supply. In the case of using a battery, a rechargeable battery is used which runs out of capacity when power is not supplied from a + 5V power supply for a predetermined time.

【0101】また、電源基板910には、上述した第1
の電源監視回路を構成する電源監視用IC902が搭載
されている。電源監視用IC902は、VSL電源電圧を
導入し、VSL電源電圧を監視することによって電源断の
発生を検出する。具体的には、VSL電源電圧が所定値
(この例では+22V)以下になったら、電源断が生ず
るとして電圧低下信号を出力する。なお、監視対象の電
源電圧は、各電気部品制御基板に搭載されている回路素
子の電源電圧(この例では+5V)よりも高い電圧であ
ることが好ましい。この例では、交流から直流に変換さ
れた直後の電圧であるVSLが用いられている。電源監視
用IC902からの電圧低下信号は、主基板31や払出
制御基板37等に供給される。
The power supply board 910 has the first
The power supply monitoring IC 902 constituting the power supply monitoring circuit of FIG. The power supply monitoring IC 902 detects the occurrence of power interruption by introducing the VSL power supply voltage and monitoring the VSL power supply voltage. Specifically, when the VSL power supply voltage becomes equal to or lower than a predetermined value (+22 V in this example), a voltage drop signal is output assuming that power supply is cut off. The power supply voltage to be monitored is preferably higher than the power supply voltage (+5 V in this example) of the circuit element mounted on each electric component control board. In this example, VSL, which is a voltage immediately after conversion from AC to DC, is used. The voltage drop signal from the power supply monitoring IC 902 is supplied to the main board 31, the payout control board 37, and the like.

【0102】電源監視用IC902が電源断を検知する
ための所定値は、通常時の電圧より低いが、各電気部品
制御基板上のCPUが暫くの間動作しうる程度の電圧で
ある。また、電源監視用IC902が、CPU等の回路
素子を駆動するための電圧(この例では+5V)よりも
高く、また、交流から直流に変換された直後の電圧を監
視するように構成されているので、CPUが必要とする
電圧に対して監視範囲を広げることができる。従って、
より精密な監視を行うことができる。さらに、監視電圧
としてVSL(+30V)を用いる場合には、遊技機の各
種スイッチに供給される電圧が+12Vであることか
ら、電源瞬断時のスイッチオン誤検出の防止も期待でき
る。すなわち、+30V電源の電圧を監視すると、+3
0V作成の以降に作られる+12Vが落ち始める以前の
段階でそれの低下を検出できる。よって、+12V電源
の電圧が低下するとスイッチ出力がオン状態を呈するよ
うになるが、+12Vより早く低下する+30V電源電
圧を監視して電源断を認識すれば、スイッチ出力がオン
状態を呈する前に電源復旧待ちの状態に入ってスイッチ
出力を検出しない状態となることができる。
The predetermined value for the power-supply monitoring IC 902 to detect the power-off is lower than the normal voltage, but is a voltage at which the CPU on each electric component control board can operate for a while. Further, the power supply monitoring IC 902 is configured to monitor a voltage higher than a voltage for driving a circuit element such as a CPU (+5 V in this example) and a voltage immediately after conversion from AC to DC. Therefore, the monitoring range can be extended for the voltage required by the CPU. Therefore,
More precise monitoring can be performed. Furthermore, when VSL (+30 V) is used as the monitoring voltage, since the voltage supplied to the various switches of the gaming machine is +12 V, prevention of erroneous switch-on detection upon momentary power interruption can be expected. That is, when monitoring the voltage of the + 30V power supply,
The drop can be detected at a stage before + 12V generated after the generation of 0V starts to fall. Therefore, when the voltage of the + 12V power supply decreases, the switch output comes to the on state. However, if the + 30V power supply voltage that drops faster than + 12V is monitored and the power cutoff is recognized, the power supply is turned on before the switch output turns on. It is possible to enter a state of waiting for restoration and to enter a state where the switch output is not detected.

【0103】また、電源監視用IC902は、電気部品
制御基板とは別個の電源基板910に搭載されているの
で、第1の電源監視回路から複数の電気部品制御基板に
電圧低下信号を供給することができる。電圧低下信号を
必要とする電気部品制御基板が幾つあっても第1の電源
監視手段は1つ設けられていればよいので、各電気部品
制御基板における各電気部品制御手段が後述する復帰制
御を行っても、遊技機のコストはさほど上昇しない。
Since the power supply monitoring IC 902 is mounted on the power supply board 910 separate from the electric component control board, the first power supply monitoring circuit supplies a voltage drop signal to the plurality of electric component control boards. Can be. Regardless of how many electrical component control boards require a voltage drop signal, it is sufficient that only one first power supply monitoring unit is provided. Doing so does not add much to the cost of the gaming machine.

【0104】なお、図14に示された構成では、電源監
視用IC902の検出出力(電圧低下信号)は、バッフ
ァ回路918,919を介してそれぞれの電気部品制御
基板(例えば主基板31と払出制御基板37)に伝達さ
れるが、例えば、1つの検出出力を中継基板に伝達し、
中継基板から各電気部品制御基板に同じ信号を分配する
構成でもよい。また、電圧低下信号を必要とする基板数
に応じたバッファ回路を設けてもよい。
In the configuration shown in FIG. 14, the detection output (voltage drop signal) of the power supply monitoring IC 902 is supplied to the respective electric component control boards (for example, the main board 31 and the payout control) via the buffer circuits 918 and 919. Transmitted to the board 37). For example, one detection output is transmitted to the relay board,
The same signal may be distributed from the relay board to each electric component control board. Further, a buffer circuit may be provided according to the number of substrates requiring a voltage drop signal.

【0105】次に遊技機の動作について説明する。図1
5は、主基板31におけるCPU56が実行するメイン
処理を示すフローチャートである。遊技機に対する電源
が投入されると、メイン処理において、CPU56は、
まず、必要な初期設定を行う(ステップS1)。
Next, the operation of the gaming machine will be described. Figure 1
5 is a flowchart showing the main processing executed by the CPU 56 on the main board 31. When the power to the gaming machine is turned on, in the main process, the CPU 56
First, necessary initial settings are performed (step S1).

【0106】そして、電源断時にバックアップRAM領
域のデータ保護処理(例えばパリティデータの付加等の
停電発生NMI処理)が行われたか否か確認する(ステ
ップS2)。この実施の形態では、不測の電源断が生じ
た場合には、バックアップRAM領域のデータを保護す
るための処理が行われている。そのような保護処理が行
われていた場合をバックアップありとする。バックアッ
プなしを確認したら、CPU56は初期化処理を実行す
る(ステップS2,S3)。なお、この実施の形態で
は、バックアップRAM領域にバックアップデータがあ
るか否かは、電源断時にバックアップRAM領域に設定
されるバックアップフラグの状態によって確認される。
例えば、バックアップフラグ領域に「55H」が設定さ
れていればバックアップあり(オン状態)を意味し、
「55H」以外の値が設定されていればバックアップな
し(オフ状態)を意味する。バックアップフラグ領域に
設定されている「55H」は、停電発生NMI処理にお
いてバックアップRAM領域のデータ保護処理が完了し
たときに設定されたデータであり、バックアップRAM
領域のデータにもとづくパリティコードである。
Then, it is confirmed whether or not the data protection processing of the backup RAM area (for example, the power failure occurrence NMI processing such as the addition of parity data) has been performed when the power is turned off (step S2). In this embodiment, when an unexpected power failure occurs, a process for protecting data in the backup RAM area is performed. The case where such protection processing has been performed is regarded as backup. After confirming that there is no backup, the CPU 56 executes an initialization process (steps S2 and S3). In this embodiment, whether or not there is backup data in the backup RAM area is confirmed by the state of the backup flag set in the backup RAM area when the power is turned off.
For example, if "55H" is set in the backup flag area, it means that there is a backup (on state),
If a value other than “55H” is set, it means that there is no backup (off state). “55H” set in the backup flag area is data set when the data protection processing of the backup RAM area is completed in the power failure occurrence NMI processing.
This is a parity code based on the data of the area.

【0107】バックアップRAM領域にバックアップデ
ータがある場合には、CPU56は、バックアップRA
M領域のデータチェック(例えばパリティチェック)を
行う(ステップS4)。不測の電源断が生じた後に復旧
した場合には、バックアップRAM領域のデータは保存
されていたはずであるから、チェック結果は正常にな
る。チェック結果が正常でない場合には、内部状態を電
源断時の状態に戻すことができないので、停電復旧時で
ない電源投入時に実行される初期化処理を実行する(ス
テップS5,S3)。
If the backup data exists in the backup RAM area, the CPU 56
A data check (for example, a parity check) of the M area is performed (step S4). If the power is restored after an unexpected power failure, the data in the backup RAM area should have been saved, and the check result becomes normal. If the check result is not normal, since the internal state cannot be returned to the state at the time of power-off, the initialization processing executed at the time of power-on, not at the time of restoration from power failure, is executed (steps S5 and S3).

【0108】チェック結果が正常であれば、CPU56
は、内部状態を電源断時の状態に戻すための遊技状態復
旧処理を行う(ステップS6)。図16に示すように、
バックアップフラグの値が「55H」に設定され、か
つ、チェック結果が正常である場合に、ステップS6の
遊技状態復旧処理が実行される。そして、バックアップ
RAM領域に保存されていたPC(プログラムカウン
タ)の退避値がPCに設定され、そのアドレスに復帰す
る(ステップS7)。
If the check result is normal, the CPU 56
Performs a game state restoring process for returning the internal state to the state when the power is turned off (step S6). As shown in FIG.
When the value of the backup flag is set to “55H” and the check result is normal, the game state restoring process of step S6 is executed. Then, the saved value of the PC (program counter) stored in the backup RAM area is set in the PC, and the program returns to the address (step S7).

【0109】通常の初期化処理の実行(ステップS3)
が完了すると、メイン処理で、タイマ割込フラグの監視
(ステップS9)の確認が行われるループ処理に移行す
る。なお、ループ内では、表示用乱数更新処理(ステッ
プS8)も実行される。
Execution of normal initialization processing (step S3)
Is completed, the process shifts to a loop process in which the monitoring of the timer interrupt flag (step S9) is confirmed in the main process. In the loop, a display random number update process (step S8) is also performed.

【0110】なお、この実施の形態では、ステップS2
でバックアップデータの有無が確認された後、バックア
ップデータが存在する場合にステップS4でバックアッ
プ領域のチェックが行われたが、逆に、バックアップ領
域のチェック結果が正常であったことが確認された後、
バックアップデータの有無の確認を行うようにしてもよ
い。また、バックアップデータの有無の確認、またはバ
ックアップ領域のチェックの何れか一方の確認を行うこ
とによって、停電復旧処理を実行するか否かを判定して
もよい。
In this embodiment, step S2
The backup area is checked in step S4 after the backup data is checked in step S4 if the backup data exists. However, after the backup area check result is confirmed to be normal in step S4. ,
The presence or absence of backup data may be confirmed. Alternatively, whether to execute the power failure recovery process may be determined by confirming whether there is backup data or checking the backup area.

【0111】また、例えば停電復旧処理を実行するか否
か判断する場合のパリティチェック(ステップS4)の
際に、すなわち、遊技状態を復旧するか否か判断する際
に、保存されていたRAMデータにおける特別プロセス
フラグ等や始動入賞記憶数データによって、遊技機が遊
技待機状態(図柄変動中でなく、大当り遊技中でなく、
確変中でなく、また、始動入賞記憶がない状態)である
ことが確認されたら、遊技状態復旧処理を行わずに初期
化処理を実行するようにしてもよい。
Further, for example, at the time of the parity check (step S4) when determining whether or not to execute the power failure recovery processing, that is, when determining whether or not to recover the gaming state, the RAM data stored at the time of the parity check is determined. According to the special process flag etc. and the start winning prize storage data, the gaming machine is in the game standby state (the symbol is not fluctuating,
If it is confirmed that the game is not being changed reliably and that there is no start winning memory, the initialization process may be executed without performing the game state restoration process.

【0112】図17は、ステップS1の初期設定処理を
示すフローチャートである。初期設定処理において、C
PU56は、まず、割込禁止に設定する(ステップS1
a)。割込禁止に設定すると、CPU56は、割込モー
ドを割込モード2に設定し(ステップS1b)、スタッ
クポインタにスタックポインタ指定アドレスを設定する
(ステップS1c)。そして、CPU56は、内蔵デバ
イスレジスタの初期化を行う(ステップS1d)。ま
た、内蔵デバイス(内蔵周辺回路)であるCTC(カウ
ンタ/タイマ)およびPIO(パラレル入出力ポート)
の初期化(ステップS1e)を行った後、RAMをアク
セス可能状態に設定する(ステップS1f)。
FIG. 17 is a flowchart showing the initial setting process in step S1. In the initial setting process, C
The PU 56 first sets interrupt prohibition (step S1).
a). When the interrupt is set to be prohibited, the CPU 56 sets the interrupt mode to the interrupt mode 2 (step S1b), and sets the stack pointer designated address to the stack pointer (step S1c). Then, the CPU 56 initializes the built-in device register (step S1d). In addition, CTC (counter / timer) and PIO (parallel input / output port) which are built-in devices (built-in peripheral circuits)
Is initialized (step S1e), and the RAM is set in an accessible state (step S1f).

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

【0114】割込モード0:割込要求を行った内蔵デバ
イスがRST命令(1バイト)またはCALL命令(3
バイト)をCPUの内部データバス上に送出する。よっ
て、CPU56は、RST命令に対応したアドレスまた
はCALL命令で指定されるアドレスの命令を実行す
る。リセット時に、CPU56は自動的に割込モード0
になる。よって、割込モード1または割込モード2に設
定したい場合には、初期設定処理において、割込モード
1または割込モード2に設定するための処理を行う必要
がある。
Interrupt mode 0: The built-in device which has issued the interrupt request receives an RST instruction (1 byte) or a CALL instruction (3 bytes).
Byte) on 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. Upon reset, CPU 56 automatically switches to interrupt mode 0
become. Therefore, when it is desired to set the mode to the interrupt mode 1 or the interrupt mode 2, it is necessary to perform a process for setting the mode to the interrupt mode 1 or the interrupt mode 2 in the initial setting process.

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

【0116】割込モード2:CPU56の特定レジスタ
(Iレジスタ)の値(1バイト)と内蔵デバイスが出力
する割込ベクタ(1バイト:最下位ビット0)から合成
されるアドレスが、割込番地を示すモードである。すな
わち、割込番地は、上位アドレスが特定レジスタの値と
され下位アドレスが割込ベクタとされた2バイトで示さ
れるアドレスである。従って、任意の(飛び飛びではあ
るが)偶数番地に割込処理を設置することができる。各
内蔵デバイスは割込要求を行うときに割込ベクタを送出
する機能を有している。
Interrupt mode 2: 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 is the interrupt address. Mode. 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 (albeit skipped) even address. Each built-in device has a function of sending an interrupt vector when making an interrupt request.

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

【0118】図18は、通常の初期化処理(ステップS
3)の処理を示すフローチャートである。図18に示す
ように、初期化処理では、RAMのクリア処理が行われ
る(ステップS3a)。次いで、作業領域初期設定テー
ブルのアドレス値にもとづいて、所定の作業領域(例え
ば、普通図柄判定用乱数カウンタ、普通図柄判定用バッ
ファ、特別図柄左中右図柄バッファ、払出コマンド格納
ポインタなど)に初期値を設定する初期値設定処理(ス
テップS3b)が行われる。そして、2ms毎に定期的
にタイマ割込がかかるようにCPU56に設けられてい
るCTCのレジスタの設定が行われる(ステップS3
c)。すなわち、初期値として2msに相当する値が所
定のレジスタ(時間定数レジスタ)に設定される。そし
て、初期設定処理(ステップS1)において割込禁止
(図17参照)とされているので、初期化処理を終える
前に割込が許可される(ステップS3d)。
FIG. 18 shows a normal initialization process (step S
It is a flowchart which shows the process of 3). As shown in FIG. 18, in the initialization processing, the RAM is cleared (step S3a). Then, based on the address value of the work area initial setting table, a predetermined work area (for example, a normal symbol determination random number counter, a normal symbol determination buffer, a special symbol left middle right symbol buffer, a payout command storage pointer, etc.) is initialized. An initial value setting process for setting a value (step S3b) is performed. Then, the register of the CTC provided in the CPU 56 is set so that the timer is interrupted periodically every 2 ms (step S3).
c). That is, a value corresponding to 2 ms is set in a predetermined register (time constant register) as an initial value. Since the interrupt is prohibited (see FIG. 17) in the initial setting process (step S1), the interrupt is permitted before the initialization process is completed (step S3d).

【0119】従って、この実施の形態では、CPU56
の内蔵CTCが繰り返しタイマ割込を発生するように設
定される。この実施の形態では、繰り返し周期は2ms
に設定される。そして、図19に示すように、タイマ割
込が発生すると、CPU56は、タイマ割込フラグをセ
ットする(ステップS12)。
Therefore, in this embodiment, the CPU 56
Is set to repeatedly generate a timer interrupt. In this embodiment, the repetition period is 2 ms
Is set to Then, as shown in FIG. 19, when a timer interrupt occurs, the CPU 56 sets a timer interrupt flag (step S12).

【0120】CPU56は、ステップS9において、タ
イマ割込フラグがセットされたことを検出すると、タイ
マ割込フラグをリセットするとともに(ステップS1
0)、遊技制御処理を実行する(ステップS11)。以
上の制御によって、この実施の形態では、遊技制御処理
は2ms毎に起動されることになる。なお、この実施の
形態では、タイマ割込処理ではフラグセットのみがなさ
れ、遊技制御処理はメイン処理において実行されるが、
タイマ割込処理で遊技制御処理を実行してもよい。
When detecting that the timer interrupt flag has been set in step S9, the CPU 56 resets the timer interrupt flag (step S1).
0), a game control process is executed (step S11). According to the above control, in this embodiment, the game control process is started every 2 ms. In this embodiment, only the flag is set in the timer interrupt process, and the game control process is executed in the main process.
The game control process may be executed by a timer interrupt process.

【0121】以上に説明したように、この実施の形態で
は、CTCやPIOを内蔵するCPU56に対して、初
期設定処理で割込モード2が設定される。従って、内蔵
CTCを用いた定期的なタイマ割込処理を容易に実現で
きる。また、タイマ割込処理をプログラム上の任意の位
置に設置できる。また、内蔵PIOを用いたスイッチ検
出処理等を容易に割込処理で実現できる。その結果、プ
ログラム構成が簡略化され、プログラム開発工数が低減
する等の効果を得ることができる。
As described above, in this embodiment, the interrupt mode 2 is set in the CPU 56 having a built-in CTC or PIO in the initial setting process. Accordingly, a periodic timer interrupt process using the built-in CTC can be easily realized. Further, the timer interrupt processing can be set at an arbitrary position on the program. Further, switch detection processing using the built-in PIO can be easily realized by interruption processing. As a result, effects such as simplification of the program configuration and reduction in the number of program development steps can be obtained.

【0122】また、この実施の形態では、バックアップ
データの有無により電源断時の状態に復旧するか否かの
判断を行う。従って、停電後の電源復旧時などにおいて
電源投入された時に、バックアップデータ記憶領域の内
容に応じて電源断時の状態に復旧させるか否かの判断を
行うことができる。
Further, in this embodiment, it is determined whether or not the power supply is restored to the state at the time of power failure based on the presence or absence of backup data. Therefore, when the power is turned on, for example, when the power is restored after a power failure, it is possible to determine whether or not to restore the state at the time of the power failure according to the contents of the backup data storage area.

【0123】さらに、バックアップデータの状態によっ
て電源断時の状態に復旧するか否かの判断が行われるの
で、停電後の電源復旧時などにおいて電源投入されたと
きに、バックアップデータ記憶領域の内容の状態に応じ
て電源断時の状態に復旧させるか否かの判断を行うこと
ができる。
Further, it is determined whether or not the power is restored to the power-off state according to the state of the backup data. Therefore, when the power is turned on when the power is restored after a power failure, the contents of the backup data storage area are restored. It is possible to determine whether to restore the power-off state according to the state.

【0124】図20は、ステップS11の遊技制御処理
を示すフローチャートである。遊技制御処理において、
CPU56は、まず、スイッチ回路58を介して、ゲー
トセンサ12、始動口センサ17、カウントセンサ23
および入賞口スイッチ19a,24aの状態を入力し、
各入賞口や入賞装置に対する入賞があったか否か判定す
る(スイッチ処理:ステップS21)。
FIG. 20 is a flowchart showing the game control processing in step S11. In the game control process,
The CPU 56 firstly receives the gate sensor 12, the starting port sensor 17, and the count sensor 23 through the switch circuit 58.
And the state of the winning opening switches 19a and 24a,
It is determined whether or not there is a prize for each winning port or prize device (switch processing: step S21).

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

【0126】次に、遊技制御に用いられる大当り判定用
の乱数等の各判定用乱数を示す各カウンタを更新する処
理を行う(ステップS23)。CPU56は、さらに、
停止図柄の種類を決定する乱数等の表示用乱数を更新す
る処理を行う(ステップS24)。
Next, a process of updating each counter indicating a random number for determination such as a random number for big hit determination used in game control is performed (step S23). The CPU 56 further includes:
A process for updating a display random number such as a random number for determining the type of stop symbol is performed (step S24).

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

【0128】また、CPU56は、払出制御基板37等
に送出される制御コマンドをRAM55の所定の領域に
設定して制御コマンドを送出する処理を行う(コマンド
制御処理:ステップS27)。
The CPU 56 sets a control command sent to the payout control board 37 or the like in a predetermined area of the RAM 55 and sends the control command (command control processing: step S27).

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

【0130】また、CPU56は、所定の条件が成立し
たときにソレノイド回路59に駆動指令を行う(ステッ
プS30)。ソレノイド回路59は、駆動指令に応じて
ソレノイド16,21を駆動し、可変入賞球装置15ま
たは開閉板20を開状態または閉状態とする。
The CPU 56 issues a drive command to the solenoid circuit 59 when a predetermined condition is satisfied (step S30). The solenoid circuit 59 drives the solenoids 16 and 21 in response to the drive command, and brings the variable winning ball device 15 or the open / close plate 20 into an open state or a closed state.

【0131】また、CPU56は、各入賞口への入賞を
検出するためのスイッチ17,23,19a,24aの
検出出力にもとづく賞球数の設定などを行う(ステップ
S31)。具体的には、入賞検出に応じて払出制御基板
37に払出制御コマンドを出力する。払出制御基板37
に搭載されている払出制御用CPU371は、払出制御
コマンドに応じて賞球払出装置97Aを駆動する。
Further, the CPU 56 sets the number of prize balls based on the detection output of the switches 17, 23, 19a, 24a for detecting a winning in each winning opening (step S31). Specifically, a payout control command is output to the payout control board 37 in response to the winning detection. Dispensing control board 37
The payout control CPU 371 mounted on the CPU drives the prize ball payout device 97A according to the payout control command.

【0132】以上のように、メイン処理には遊技制御処
理に移行すべきか否かを判定する処理が含まれ、CPU
56の内部タイマが定期的に発生するタイマ割込にもと
づくタイマ割込処理で遊技制御処理に移行すべきか否か
を判定するためのフラグがセットされるので、遊技制御
処理の全てが確実に実行される。つまり、遊技制御処理
の全てが実行されるまでは、次回の遊技制御処理に移行
すべきか否かの判定が行われないので、遊技制御処理中
の全ての各処理が実行完了することは保証されている。
As described above, the main process includes the process of determining whether or not to shift to the game control process.
Since a flag is set to determine whether or not to shift to the game control process in the timer interrupt process based on the timer interrupt that is periodically generated by the 56 internal timers, all the game control processes are reliably executed. Is done. In other words, until all of the game control processes have been executed, it is not determined whether or not to shift to the next game control process, so it is guaranteed that all processes in the game control process will be completed. ing.

【0133】なお、ここでは、主基板31のCPU56
が実行する遊技制御処理は、CPU56の内部タイマが
定期的に発生するタイマ割込にもとづくタイマ割込処理
でセットされるフラグに応じて実行されたが、定期的に
(例えば2ms毎)信号を発生するハードウェア回路を
設け、その回路からの信号をCPU56の外部割込端子
に導入し、割込信号によって遊技制御処理に移行すべき
か否かを判定するためのフラグをセットするようにして
もよい。
Here, the CPU 56 of the main board 31
Is executed in response to a flag set in a timer interrupt process based on a timer interrupt that is periodically generated by an internal timer of the CPU 56, but the signal is periodically (for example, every 2 ms). A hardware circuit which generates the signal may be provided, a signal from the circuit may be introduced to an external interrupt terminal of the CPU 56, and a flag for determining whether or not to shift to the game control process based on the interrupt signal may be set. Good.

【0134】そのように構成した場合にも、遊技制御処
理の全てが実行されるまでは、フラグの判定が行われな
いので、遊技制御処理中の全ての各処理が実行完了する
ことが保証される。
Even in such a configuration, the flag is not determined until all the game control processes have been executed, so that execution of all the processes in the game control process is guaranteed to be completed. You.

【0135】図21は、主基板31から払出制御基板3
7に送出される払出制御コマンドのコマンド形態の一例
を示す説明図である。この実施の形態では、払出制御コ
マンドは2バイト構成であり、1バイト目はMODE
(コマンドの分類)を表し、2バイト目はEXT(コマ
ンドの種類)を表す。なお、図21に示されたコマンド
形態は一例であって他のコマンド形態を用いてもよい。
MODEデータの先頭ビット(ビット7)は必ず「1」
とされ、EXTデータの先頭ビット(ビット7)は必ず
「0」とされる。
FIG. 21 shows the main board 31 and the payout control board 3.
FIG. 9 is an explanatory diagram showing an example of a command form of a payout control command sent to the control unit 7; In this embodiment, the payout control command has a 2-byte configuration, and the first byte is MODE.
(Command classification), and the second byte indicates EXT (command type). The command form shown in FIG. 21 is an example, and another command form may be used.
The first bit (bit 7) of MODE data is always "1"
And the first bit (bit 7) of the EXT data is always "0".

【0136】図22は、各電気部品制御手段に対する制
御コマンドを構成する8ビットの制御信号(この場合に
は払出制御信号)とINT信号(この場合には払出制御
信号INT)との関係を示すタイミング図である。図2
2に示すように、MODEまたはEXTのデータが出力
ポート(払出制御信号の場合にはポート1)に出力され
てから、Aで示される期間が経過すると、CPU56
は、データ出力を示す信号であるINT信号をオン状態
にする。また、そこからBで示される期間が経過すると
INT信号をオフ状態にする。さらに、次に送出すべき
データがある場合には、すなわち、MODEデータ送出
後では、Cで示される期間をおいてから2バイト目のデ
ータを出力ポートに送出する。2バイト目のデータに関
して、A,Bの期間は、1バイト目の場合と同様であ
る。
FIG. 22 shows the relationship between an 8-bit control signal (in this case, a payout control signal) and an INT signal (in this case, a payout control signal INT) which constitute a control command for each electric component control means. It is a timing chart. FIG.
As shown in FIG. 2, when the period indicated by A elapses after the MODE or EXT data is output to the output port (port 1 in the case of the payout control signal), the CPU 56
Turns on an INT signal which is a signal indicating data output. When the period indicated by B has elapsed therefrom, the INT signal is turned off. Further, when there is data to be transmitted next, that is, after the MODE data is transmitted, the data of the second byte is transmitted to the output port after a period indicated by C. Regarding the data of the second byte, the periods of A and B are the same as the case of the first byte.

【0137】Aの期間は、CPU56が、コマンドの送
出準備の期間すなわちバッファに送出コマンドを設定す
る処理に要する期間であるとともに、制御信号線(払出
制御信号の場合には払出制御信号線)におけるデータの
安定化のための期間である。また、Bの期間は、INT
信号安定化のための期間である。そして、Cの期間は、
電気部品制御手段(払出制御信号の場合には払出制御手
段)が確実にデータを取り込めるように設定されている
期間である。Cの期間では、信号線上のデータは変化し
ない。すなわち、Cの期間が経過するまでデータ出力が
維持される。
The period A is a period for the CPU 56 to prepare for sending a command, that is, a period required for processing for setting a send command in the buffer, and also to a control signal line (a payout control signal line in the case of a payout control signal). This is the period for data stabilization. The period of B is INT
This is a period for signal stabilization. And the period of C is
This is a period in which the electric component control means (the payout control means in the case of the payout control signal) is set so as to be able to reliably take in data. In the period C, the data on the signal line does not change. That is, the data output is maintained until the period C elapses.

【0138】この実施の形態では、払出制御基板37へ
の払出制御コマンド、表示制御基板80への表示制御コ
マンド、ランプ制御基板35へのランプ制御コマンドお
よび音声制御基板70への音声制御コマンドは、同一の
ルーチン(共通モジュール)を用いて送出される。そこ
で、Cの期間すなわち1バイト目に関するINT信号が
オフ状態になってから2バイト目のデータが送出開始さ
れるまでの期間は、コマンド受信処理に最も時間がかか
る電気部品制御手段における受信処理時間よりも長くな
るように設定される。
In this embodiment, a payout control command to the payout control board 37, a display control command to the display control board 80, a lamp control command to the lamp control board 35, and a voice control command to the voice control board 70 are: It is sent using the same routine (common module). Therefore, the period of C, that is, the period from when the INT signal relating to the first byte is turned off to when the transmission of the second byte data is started, is the reception processing time in the electric component control means which takes the longest time for the command reception processing It is set to be longer than

【0139】なお、各電気部品制御手段は、INT信号
がオン状態(ハイレベル)からオフ状態(ローレベル)
になったことを検知して、例えば割込処理によって1バ
イトのデータの取り込み処理を開始する。
Each electric component control means changes the state of the INT signal from the on state (high level) to the off state (low level).
Is detected, the process of capturing 1-byte data is started by, for example, an interrupt process.

【0140】Cの期間が、コマンド受信処理に最も時間
がかかる電気部品制御手段における受信処理時間よりも
長いので、遊技制御手段が、各電気部品制御手段に対す
るコマンド送出処理を共通モジュールで制御しても、い
ずれの電気部品制御手段でも遊技制御手段からの制御コ
マンドを確実に受信することができる。
Since the period of C is longer than the reception processing time of the electric component control means which takes the longest time for the command reception processing, the game control means controls the command transmission processing for each electric component control means by the common module. Also, any of the electric component control means can reliably receive the control command from the game control means.

【0141】図23は、払出制御コマンドの内容の一例
を示す説明図である。図23に示された例において、M
ODE=FF(H),EXT=00(H)のコマンドF
F00(H)は、払出球通路186aまたは186bの
何れか一方が球切れ状態となったことを示す払出制御コ
マンドである。MODE=FF(H),EXT=01
(H)のコマンドFF01(H)は、払出球通路186
aおよび186bの両方が球切れ状態となったことにも
とづき、賞球の払出停止状態を指定する払出制御コマン
ドである。MODE=FF(H),EXT=02(H)
のコマンドFF02(H)は、賞球の払出可能状態を指
定(払出完了の非確認の指定を含む)する払出制御コマ
ンドである。MODE=FF(H),EXT=03
(H)のコマンドFF03(H)は、下皿満タンを検出
したことにもとづき、賞球および貸し球の払出停止状態
を指定する払出制御コマンドである。MODE=FF
(H),EXT=04(H)のコマンドFF04(H)
は、払出球通路186cが球切れ状態となったことにも
とづき、貸し球の払出停止状態を指定する払出制御コマ
ンドである。MODE=FF(H),EXT=05
(H)のコマンドFF05(H)は、貸し球の払出可能
状態を指定する払出制御コマンドである。また、MOD
E=F0(H)のコマンドF0XX(H)は、賞球個数
を指定する払出制御コマンドである。EXTである「X
X」が払出個数を示す。
FIG. 23 is an explanatory diagram showing an example of the contents of the payout control command. In the example shown in FIG.
Command F of ODE = FF (H) and EXT = 00 (H)
F00 (H) is a payout control command indicating that one of the payout ball passages 186a and 186b has become out of ball. MODE = FF (H), EXT = 01
The command FF01 (H) of (H) is a payout ball passage 186.
This is a payout control command for designating a state of stopping payout of award balls based on the fact that both a and 186b have become out of ball. MODE = FF (H), EXT = 02 (H)
The command FF02 (H) is a payout control command for designating a payable state of award balls (including designation of non-confirmation of payout completion). MODE = FF (H), EXT = 03
The command FF03 (H) of (H) is a payout control command for designating the stoppage state of payout of prize balls and loaned balls based on detecting that the lower plate is full. MODE = FF
(H), command FF04 (H) with EXT = 04 (H)
Is a payout control command for designating a rental ball payout stop state based on the ball-out state of the payout ball passage 186c. MODE = FF (H), EXT = 05
The command FF05 (H) of (H) is a payout control command for specifying a payable state of a lent ball. Also, MOD
The command F0XX (H) of E = F0 (H) is a payout control command for specifying the number of winning balls. EXT "X
“X” indicates the number of payouts.

【0142】払出制御手段は、主基板31の遊技制御手
段からFF00(H)の払出制御コマンドを受信する
と、払出球経路186aまたは払出球経路186bのう
ちの片側が球切れであることを認識することができ、そ
の様な状況に応じた払出制御(例えば、片側の遊技球が
欠乏していることによる球圧の低下によって払出処理が
不安定になることに対応して、賞球モータ289Aの回
転速度を遅くしてゆっくり払出すように制御すること
や、予定動作期間の賞球モータ289Aの回転終了後に
払出予定数の賞球が全て払い出されたか否か確認し、払
出残数があれば払出すように制御することなど)が可能
となる。また、主基板31の遊技制御手段からFF01
(H)の払出制御コマンドを受信すると賞球を停止する
状態となり、FF02(H)の払出制御コマンドを受信
すると賞球払出ができる状態になる。また、主基板31
の遊技制御手段からFF03(H)の払出制御コマンド
を受信すると賞球および球貸しを停止する状態となり、
FF04(H)の払出制御コマンドを受信すると球貸し
を停止する状態となり、FF05(H)の払出制御コマ
ンドを受信すると球貸しができる状態になる。さらに、
賞球個数を指定する払出制御コマンドを受信すると、受
信したコマンドで指定された個数に応じた賞球払出制御
を行う。
When the payout control means receives the payout control command of FF00 (H) from the game control means of the main board 31, it recognizes that one of the payout ball path 186a and the payout ball path 186b is out of ball. Payout control according to such a situation (for example, in response to the unstable payout process due to a decrease in ball pressure due to a lack of one game ball, the prize ball motor 289A It is controlled to make the payout slow by slowing down the rotation speed, or it is checked whether or not all the prize balls of the planned payout number have been paid out after the rotation of the prize ball motor 289A in the scheduled operation period. Control such as paying out). Also, the game control means of the main board 31
When the payout control command of (H) is received, the winning ball is stopped, and when the payout control command of FF02 (H) is received, the winning ball can be paid out. In addition, the main substrate 31
When the payout control command of FF03 (H) is received from the game control means, the award ball and the ball lending are stopped,
When the payout control command of FF04 (H) is received, ball lending is stopped, and when the payout control command of FF05 (H) is received, ball lending is enabled. further,
Upon receiving the payout control command for specifying the number of winning balls, the control unit performs payout ball payout control in accordance with the number specified by the received command.

【0143】この実施の形態では、球切れスイッチ18
7aまたは球切れスイッチ187bのうちの何れか一方
で遊技球を検出しなくなると、払出完了の確認をするこ
とを指定する払出制御コマンドを出力するようにしてい
るが、何れか一方の経路で球切れとなっている旨を通知
する払出制御コマンドを出力するようにして、その通知
の対応(例えば、払出完了確認、払出速度の減速、払出
停止など)は払出制御基板37側で判断するようにして
もよい。また、例えば賞球払出装置を払出球通路186
a,186b毎に設ける構成とした場合など、球切れが
発生した経路に応じた制御を行うことが可能な場合に
は、何れの払出球通路186a,186bが球切れとな
ったのか(球切れスイッチ187aまたは球切れスイッ
チ187bのうちのどちらが遊技球を検出しなくなった
のか)を、払出制御コマンドを用いて払出制御基板37
側に通知するようにしてもよい。
In this embodiment, the ball out switch 18
When the game ball is no longer detected by one of the ball out switch 7a and the ball out switch 187b, a payout control command designating confirmation of payout completion is output. A payout control command for notifying that the machine has run out is output, and the corresponding response (for example, confirmation of payout completion, reduction of the payout speed, stoppage of payout, etc.) is determined on the payout control board 37 side. You may. Further, for example, the prize ball payout device is connected to the payout ball passage 186.
When it is possible to perform control according to the path in which the ball has run out, for example, in the case of a configuration provided for each of the a and 186b, which of the payout ball passages 186a and 186b has run out of the ball (ball run out) Which of the switch 187a or the ball out switch 187b no longer detects the game ball) is determined by using the payout control command.
The notification may be sent to the side.

【0144】なお、払出制御コマンドは、払出制御手段
が認識可能に1回だけ送出される。認識可能とは、この
例では、INT信号がオン状態になることであり、認識
可能に1回だけ送出されるとは、この例では、払出制御
信号の1バイト目および2バイト目のそれぞれに応じて
INT信号が1回だけオン状態になることである。
Note that the payout control command is sent only once so that the payout control means can recognize it. Recognizable means that the INT signal is in the ON state in this example, and is transmitted only once so that it can be recognized. In this example, the INT signal is sent to the first and second bytes of the payout control signal. Accordingly, the INT signal is turned on only once.

【0145】図24は、ランプ制御コマンドの内容の一
例を示す説明図である。ランプ制御コマンドもMODE
とEXTの2バイト構成である。図24に示す例におい
て、コマンド8000(H)〜8022(H)、810
0(H)〜8122(H)は、可変表示部9における特
別図柄の変動パターンに対応したランプ・LED表示制
御パターンを指定するランプ制御コマンドである。ま
た、コマンドA0XX(X=4ビットの任意の値)は、
特別図柄の可変表示の停止時のランプ・LED表示制御
パターンを指示するランプ制御コマンドである。コマン
ドBXXXは、大当り遊技開始から大当り遊技終了まで
の間のランプ・LED表示制御パターンや、大当り遊技
終了から大当り遊技開始までの間のランプ・LED表示
制御パターンを指示するランプ制御コマンドである。コ
マンドBXXXは、そして、コマンドC000は、客待
ちデモンストレーション時のランプ・LED表示制御パ
ターンを指示するランプ制御コマンドである。
FIG. 24 is an explanatory diagram showing an example of the contents of the lamp control command. Lamp control command is also MODE
And EXT. In the example shown in FIG. 24, commands 8000 (H) to 8022 (H), 810
0 (H) to 8122 (H) are lamp control commands for designating a lamp / LED display control pattern corresponding to a special symbol variation pattern on the variable display unit 9. The command A0XX (X = any value of 4 bits) is
This is a lamp control command for instructing a lamp / LED display control pattern when stopping the variable display of a special symbol. The command BXXX is a lamp control command for instructing a lamp / LED display control pattern from the start of the big hit game to the end of the big hit game or a lamp / LED display control pattern from the end of the big hit game to the start of the big hit game. Command BXXX and command C000 are lamp control commands for instructing a lamp / LED display control pattern during a customer waiting demonstration.

【0146】なお、コマンド8XXX、AXXX、BX
XXおよびCXXXは、遊技進行状況に応じて遊技制御
手段から送出されるランプ制御コマンドである。ランプ
制御手段は、主基板31の遊技制御手段から上述したラ
ンプ制御コマンドを受信すると図24に示された内容に
応じてランプ・LEDの表示状態を変更する。
The commands 8XXX, AXXX, BX
XX and CXXX are ramp control commands sent from the game control means according to the progress of the game. Upon receiving the above-described lamp control command from the game control means on the main board 31, the lamp control means changes the display state of the lamp / LED according to the contents shown in FIG.

【0147】コマンドE0XXは、始動記憶表示器18
の点灯個数を示すランプ制御コマンドである。例えば、
ランプ制御手段は、始動記憶表示器18における「X
X」で指定される個数の表示器を点灯状態とする。ま
た、コマンドE1XXは、ゲート通過記憶表示器41の
点灯個数を示すランプ制御コマンドである。例えば、ラ
ンプ制御手段は、ゲート通過記憶表示器41における
「XX」で指定される個数の表示器を点灯状態とする。
すなわち、それらのコマンドは、保留個数という情報を
報知するために設けられている発光体の制御を指示する
コマンドである。なお、始動記憶表示器18およびゲー
ト通過記憶表示器41の点灯個数に関するコマンドが点
灯個数の増減を示すように構成されていてもよい。
The command E0XX is the start storage display 18
Is a lamp control command indicating the number of lights. For example,
The lamp control means operates the "X
The number of indicators specified by "X" is turned on. The command E1XX is a lamp control command indicating the number of lighting of the gate passage storage display 41. For example, the lamp control means turns on the number of indicators designated by “XX” in the gate passage storage indicator 41.
That is, these commands are commands for instructing control of the light emitter provided for notifying the information of the number of held units. In addition, the command regarding the lighting number of the start storage display 18 and the gate passage storage display 41 may be configured to indicate the increase or decrease of the lighting number.

【0148】コマンドE200およびE201は、賞球
ランプ51の表示状態に関するランプ制御コマンドであ
る。ランプ制御手段は、主基板31の遊技制御手段から
「E201」のランプ制御コマンドを受信すると賞球ラ
ンプ51の表示状態を賞球残がある場合としてあらかじ
め定められた表示状態とし、「E200」のランプ制御
コマンドを受信すると賞球ランプ51の表示状態を賞球
残がない場合としてあらかじめ定められた表示状態とす
る。すなわち、コマンドE200およびE201は、未
賞球の遊技球があることを遊技者等に報知するために設
けられている発光体を制御することを示すコマンドであ
る。
Commands E200 and E201 are lamp control commands related to the display state of the award ball lamp 51. Upon receiving the lamp control command “E201” from the game control means on the main board 31, the lamp control means sets the display state of the prize ball lamp 51 to a predetermined display state in which there is a prize ball remaining, and sets the display state of “E200”. When the lamp control command is received, the display state of the prize ball lamp 51 is set to a predetermined display state where there is no prize ball remaining. That is, the commands E200 and E201 are commands indicating that a light emitting body provided for notifying a player or the like that there is a game ball of a non-winning ball is controlled.

【0149】コマンドE300、E301、E302、
およびE303は、球切れランプ52の表示状態に関す
るランプ制御コマンドである。ランプ制御手段は、主基
板31の遊技制御手段から「E300」のランプ制御コ
マンドを受信すると球切れランプ52の表示状態を球あ
り中の表示状態(例えば、消灯状態)とし、「E30
1」のランプ制御コマンドを受信すると球切れランプ5
2の表示状態を払出球経路186aおよび払出球経路1
86bの両方の貯留球がともに球切れ中であることを示
す球切れ中の表示状態(例えば、点灯状態)とする。ま
た、主基板31の遊技制御手段から「E302」のラン
プ制御コマンドを受信すると球切れランプ52の表示状
態を払出球経路186bの貯留球が球切れ中であること
を示す表示状態(例えば、点滅状態)とし、「E30
3」のランプ制御コマンドを受信すると球切れランプ5
2の表示状態を払出球経路186aの貯留球が球切れ中
であることを示す表示状態(例えば、一定間隔ごとに2
回点滅する状態)とする。すなわち、コマンドE300
〜E303は、補給球が切れていることを遊技者や遊技
店員に報知するために設けられている発光体を制御する
ことを示すコマンドである。なお、球切れランプ52の
表示状態は、上述したように、消灯、点灯、点滅、一定
間隔ごとに2回点滅などの各種表示状態を用いてそれぞ
れの状態を区別できるようにしている。
Commands E300, E301, E302,
And E303 are lamp control commands relating to the display state of the ball out lamp 52. Upon receiving the lamp control command of “E300” from the game control means of the main board 31, the lamp control means changes the display state of the out-of-ball lamp 52 to a display state in which there is a ball (for example, a light-off state), and “E30
When the lamp control command of "1" is received,
The display state 2 is the payout ball path 186a and the payout ball path 1
A display state (for example, a lighting state) indicating that both the stored balls 86b are out of the ball indicates that the ball is out of the ball. Further, when a lamp control command of “E302” is received from the game control means of the main board 31, the display state of the ball out lamp 52 is changed to a display state (for example, blinking) indicating that the stored ball in the payout ball path 186b is out of ball. State) and “E30
When the lamp control command of "3" is received,
The display state of 2 indicates that the stored ball of the payout ball path 186a is running out of balls (for example, 2 at regular intervals).
Flashes twice). That is, the command E300
E303 to E303 are commands indicating that a light emitter provided for notifying a player or a game clerk that the supply ball has run out is controlled. As described above, the display state of the out-of-ball lamp 52 can be distinguished using various display states such as turning off, lighting, blinking, and blinking twice at regular intervals, as described above.

【0150】コマンドE400は、遊技機の電源投入
時、または特定遊技状態(高確率状態や時短状態、この
例では高確率状態)から通常状態(低確率状態や非時短
状態、この例では低確率状態)に移行したときのランプ
・LED表示制御パターンを指示するランプ制御コマン
ドである。コマンドE401は、通常状態(低確率状態
や非時短状態、この例では低確率状態)から特定遊技状
態(高確率状態や時短状態、この例では高確率状態)に
移行したときのランプ・LED表示制御パターンを指示
するランプ制御コマンドである。コマンドE402は、
大当り遊技中に発生したエラーが解除されたときのラン
プ・LED表示制御パターンを指示するランプ制御コマ
ンドである。そして、コマンドE403は、カウントス
イッチ23のエラーが発生したときのランプ・LED表
示制御パターンを指示するランプ制御コマンドである。
すなわち、それらのコマンドは、発光体によって遊技状
態を報知することを指示するコマンドである。この実施
の形態では、ランプ制御手段は、遊技状態を報知するこ
とを指示するコマンドを受信すると、装飾ランプ25、
遊技効果LED28aおよび遊技効果ランプ28b,2
8cのうちの一部または全部を用いて、遊技状態を報知
するための点灯/消灯制御を行う。なお、装飾ランプ2
5、遊技効果LED28aおよび遊技効果ランプ28
b,28cは、それぞれ、複数の発光体の集まりで構成
されていてもよく、その場合、装飾ランプ25、遊技効
果LED28aおよび遊技効果ランプ28b,28cの
うちの一部を用いて遊技状態を報知するということは、
例えば、装飾ランプ25を構成する複数の発光体のうち
の一部を用いてもよいということも意味する。
The command E400 is issued when the power of the gaming machine is turned on, or from a specific game state (high-probability state or time-saving state, in this example, high-probability state) to a normal state (low-probability state or non-time-saving state, in this example, low-probability state). This is a lamp control command for instructing a lamp / LED display control pattern at the time of transition to (state). The command E401 is a lamp / LED display at the time of transition from a normal state (low-probability state or non-time-saving state, in this example, low-probability state) to a specific game state (high-probability state or time-saving state, in this example, high-probability state). This is a lamp control command for instructing a control pattern. Command E402 is
This is a lamp control command for instructing a lamp / LED display control pattern when an error generated during the big hit game is released. The command E403 is a lamp control command for instructing a lamp / LED display control pattern when an error occurs in the count switch 23.
That is, those commands are commands instructing that the gaming state is notified by the light emitting body. In this embodiment, when the lamp control means receives a command instructing to notify the gaming state, the decoration lamp 25,
Game effect LED 28a and game effect lamp 28b, 2
Lighting / extinguishing control for notifying the gaming state is performed using a part or all of 8c. Decorative lamp 2
5. Game effect LED 28a and game effect lamp 28
Each of b and 28c may be constituted by a group of a plurality of light emitters. In this case, the gaming state is notified by using a part of the decorative lamp 25, the game effect LED 28a, and the game effect lamps 28b and 28c. To do is to
For example, it also means that a part of the plurality of light emitters constituting the decorative lamp 25 may be used.

【0151】図25は、図20に示された遊技制御処理
におけるスイッチ処理(ステップS21)の賞球制御に
関連する部分を示すフローチャートである。スイッチ処
理において、CPU56は、球切れスイッチ187aに
よって賞球用の球切れを検出すると、球切れスイッチ1
87bによって賞球用の球切れが検出されない場合には
片側球切れ状態フラグをセットし(ステップS121,
S122,S124)、球切れスイッチ187bによっ
ても賞球用の球切れが検出された場合には両側球切れ状
態フラグをセットする(ステップS121,S122,
S125)。一方、CPU56は、球切れスイッチ18
7aによって賞球用の球切れが検出されなければ、球切
れスイッチ187bによって賞球用の球切れが検出され
た場合には片側球切れ状態フラグをセットし(ステップ
S121,S123,S124)、球切れスイッチ18
7bによっても賞球用の球切れが検出されない場合には
片側球切れ状態フラグおよび両側球切れ状態フラグをリ
セットする(ステップS121,S123,S12
6)。すなわち、本例では、左右2条の払出球通路18
6a,186bのうちの何れかについて貯留されている
遊技球が不足すると、片側球切れ状態フラグがセットさ
れる。また、2条の払出球通路186a,186bの両
方について貯留されている遊技球が不足すると、両側球
切れ状態フラグがセットされる。さらに、2条の払出球
通路186a,186bの両方について所定個以上の遊
技球が貯留されていることが検出された場合に、片側球
切れ状態フラグおよび両側球切れ状態フラグがリセット
される。
FIG. 25 is a flowchart showing a portion related to the winning ball control of the switch process (step S21) in the game control process shown in FIG. In the switch processing, when the CPU 56 detects a ball cut for a prize ball by the ball cut switch 187a, the CPU 56 switches the ball cut switch 1
If the ball cut for the prize ball is not detected by 87b, the one-side ball cut state flag is set (step S121,
S122, S124), when the ball cut for the prize ball is also detected by the ball cut switch 187b, the both-side ball cut state flag is set (steps S121, S122, S122).
S125). On the other hand, the CPU 56
If the ball cut for prize ball is not detected by 7a, if the ball cut for prize ball is detected by the ball cut switch 187b, the one-side ball cut state flag is set (steps S121, S123, S124), and the ball is cut. Switch 18
If the ball for a prize ball is not detected even by 7b, the one-side ball-cut state flag and the both-side ball-cut state flag are reset (steps S121, S123, S12).
6). That is, in this example, the left and right two payout ball paths 18
When the game balls stored in any one of 6a and 186b are insufficient, the one-side ball out state flag is set. Further, if the number of the game balls stored in both of the two payout ball passages 186a and 186b is insufficient, the both-side ball out state flag is set. Further, when it is detected that a predetermined number or more of game balls are stored in both of the two payout ball passages 186a and 186b, the one-side ball out state flag and the both-side ball out state flag are reset.

【0152】なお、例えば賞球払出装置を払出球通路1
86a,186b毎に設ける構成とした場合など、球切
れが発生した経路に応じた制御を行うことが可能な構成
とする場合には、何れの払出球通路186a,186b
が球切れとなったのか(球切れスイッチ187aまたは
球切れスイッチ187bのうちのどちらが遊技球を検出
しなくなったのか)が識別可能となるようなフラグを用
いるようにしてもよい。すなわち、払出球経路186a
のみが球切れ状態となった場合には(ステップS122
のN)左側球切れフラグをセットするようにし、払出球
経路186bのみが球切れ状態となった場合には(ステ
ップS123のY)右側球切れフラグをセットするよう
にしておけばよい。
It is to be noted that, for example, the prize ball payout device is connected to the payout ball passage 1
In a configuration in which control can be performed according to the path in which the ball has run out, such as a configuration provided for each of the 86a and 186b, any of the payout ball paths 186a and 186b
A flag may be used so that it is possible to identify whether the ball has run out (whether the ball-break switch 187a or the ball-break switch 187b no longer detects the game ball). That is, the payout ball route 186a
If only the ball is out of ball (step S122)
N) The left-side out-of-ball flag is set, and if only the payout ball path 186b is out-of-sphere (Y in step S123), the right-side out-of-ball flag may be set.

【0153】次に、球切れスイッチ187cによって球
貸し用の球切れを検出すると、貸出球切れ状態フラグを
セットする(ステップS127,S128)。また、球
切れスイッチ187cによって球貸し用の球切れでない
ことを検出すると貸出球切れ状態フラグをリセットする
(ステップS127,S129)。
Next, when the out-of-ball switch for use of the ball is detected by the out-of-ball switch 187c, the out-of-lending-ball state flag is set (steps S127 and S128). When it is detected that the ball is not out of ball for lending by the ball out switch 187c, the out-of-lending-ball state flag is reset (steps S127 and S129).

【0154】次いで、満タンスイッチ48によって下皿
満タンを検出すると満タンフラグをセットする(ステッ
プS130,S131)。また、満タンスイッチ48に
よって下皿満タンでないことを検出すると満タンフラグ
をリセットする(ステップS130,S132)。
Next, when the lower tray full is detected by the full tank switch 48, a full flag is set (steps S130, S131). When it is detected by the full switch 48 that the lower tray is not full, the full flag is reset (steps S130 and S132).

【0155】さらに、カウントスイッチ23がオンした
ことを検出すると、15個カウンタを+1し(ステップ
S133,S134)、入賞口スイッチ19a,24a
のいずれかがオンしたことを検出すると、10個カウン
タを+1し(ステップS135,S136)、始動口ス
イッチ17がオンしたことを検出すると6個カウンタを
+1する(ステップS137,S138)。
Further, when it is detected that the count switch 23 is turned on, the 15 counter is incremented by 1 (steps S133, S134), and the winning opening switches 19a, 24a are set.
Is detected, the ten counters are incremented by one (steps S135 and S136), and when the start port switch 17 is detected to be on, the six counters are incremented by one (steps S137 and S138).

【0156】なお、この実施の形態では、大入賞口を経
た入賞については15個の賞球を払出し、始動入賞口1
4を経た入賞については6個の賞球を払出し、その他の
入賞口19,24および入賞球装置を経た入賞について
は10個の賞球を払い出すとする。15個カウンタは大
入賞口への入賞数を計数するためのカウンタであり、1
0個カウンタは普通入賞口への入賞数を計数するための
カウンタであり、6個カウンタは始動入賞口への入賞数
を計数するためのカウンタである。
In this embodiment, fifteen prize balls are paid out for a prize that has passed through the grand prize port, and the starting prize port 1 is set.
It is assumed that six prize balls are paid out for the prize after 4 and 10 prize balls are paid out for the prize through the other prize ports 19 and 24 and the prize ball device. The 15 counter is a counter for counting the number of winnings to the special winning opening.
The zero counter is a counter for counting the number of winnings to the normal winning opening, and the six counter is a counter for counting the number of winnings to the starting winning opening.

【0157】図26〜図30は、図20に示された遊技
制御処理における入賞球信号処理(ステップS31)の
一例を示すフローチャートである。この例では、入賞球
信号処理において、CPU56は、賞球払出停止状態で
あるか否か確認する(ステップS201)。賞球払出停
止状態は、払出制御基板37に対して賞球払出停止状態
指定または払出停止状態指定のコマンドを送出した後の
状態である。また、CPU56は、球貸し停止状態であ
るか否か確認する(ステップS202またはステップS
207)。球貸し停止状態は、払出制御基板37に対し
て球貸し停止状態指定または払出停止状態指定のコマン
ドを送出した後の状態である。
FIGS. 26 to 30 are flowcharts showing an example of the winning ball signal processing (step S31) in the game control processing shown in FIG. In this example, in the winning ball signal processing, the CPU 56 checks whether or not the winning ball payout is stopped (step S201). The prize ball payout stop state is a state after a command to specify the prize ball payout stop state designation or the payout stop state designation is sent to the payout control board 37. The CPU 56 checks whether or not the ball lending is stopped (step S202 or step S202).
207). The ball lending stop state is a state after the ball lending stop state designation command or the payout stop state designation command is sent to the payout control board 37.

【0158】賞球払出停止状態および球貸し停止状態で
ある場合(ステップS201,S202)は、CPU5
6は、上述した両側球切れ状態フラグ、片側球切れ状態
フラグ、貸出球切れ状態フラグおよび満タンフラグがオ
フであるか否かを確認する(ステップS203)。全て
オフであれば、CPU56は、賞球払出可能状態指定お
よび球貸し可能状態指定に関するコマンド送信テーブル
の設定を行う(ステップS204)。オフでなければ、
図28に示す処理に移行する。コマンド送信テーブルに
ついては後で詳しく説明する。なお、一部の障害の解消
にもとづく一部のコマンド送信テーブルの設定を行うよ
うにしてもよい。例えば、ステップS203において、
満タンフラグ、両側球切れフラグ、および片側球切れフ
ラグのオフが確認されたときには賞球払出可能状態指定
に関するコマンド送信テーブルの設定を行い、貸出球切
れ状態フラグおよび満タンフラグのオフが確認されたと
きには球貸し可能状態指定に関するコマンド送信テーブ
ルの設定を行うようにしてもよい。
If the winning ball payout suspension state and the ball lending suspension state are present (steps S201, S202), the CPU 5
No. 6 confirms whether the above-mentioned both-side out-of-ball state flag, the one-side out-of-ball state flag, the out-of-lending state flag, and the full tank flag are off (step S203). If all of them are off, the CPU 56 sets a command transmission table relating to award ball payout possible state designation and ball lending possible state designation (step S204). If not off,
The process moves to the process shown in FIG. The command transmission table will be described later in detail. Note that some command transmission tables may be set based on the elimination of some failures. For example, in step S203,
When it is confirmed that the full ball flag, both-side ball out flag, and one-side ball out flag are off, the command transmission table regarding the prize ball dispensable state designation is set, and when the off-lending ball state flag and the full tank flag are confirmed off, You may make it set the command transmission table regarding the ball lending possible state designation.

【0159】賞球払出停止状態であるが球貸し停止状態
でない場合には、CPU56は、上述した両側球切れ状
態フラグがオフとなっているか確認する(ステップS2
01,S202,S205)。両側球切れ状態フラグが
オフとなっていれば、CPU56は、賞球払出可能状態
指定に関するコマンド送信テーブルの設定を行う(ステ
ップS206)。なお、ステップS205において片側
球切れ状態フラグがオフとなっているかをも確認するの
が好ましい。
If the prize ball payout is stopped but the ball lending is not stopped, the CPU 56 checks whether or not the above-mentioned both-ball-out state flag is off (step S2).
01, S202, S205). If the both-side ball out state flag is off, the CPU 56 sets a command transmission table relating to the award ball payout possible state designation (step S206). In addition, it is preferable to confirm whether the one-sided ball out state flag is turned off in step S205.

【0160】賞球払出停止状態でも球貸し停止状態でも
ない場合には、CPU56は、払出完了確認可能状態と
なっているか確認し、払出完了確認可能状態であれば片
側球切れ状態フラグがオフとなっているか確認する(ス
テップS201,S207,S208,S209)。払
出完了確認可能状態は、払出制御基板37に対して上述
した払出完了確認可能状態指定のコマンドを送信したあ
との状態である。片側球切れ状態フラグがオフとなって
いれば、CPU56は、賞球払出可能状態指定(本例で
は、払出完了確認が不要であることの指定を含む)に関
するコマンド送信テーブルの設定を行う(ステップS2
06)。片側球切れ状態フラグがオフとなっていなけれ
ば、あるいはステップS208にて払出完了確認可能状
態でなければ、図27に示す処理に移行する。
If neither the prize ball payout stop state nor the ball lending stop state is present, the CPU 56 checks whether or not the payout completion check is possible. If the payout completion check is possible, the one-side ball out state flag is turned off. It is confirmed whether or not it is set (steps S201, S207, S208, S209). The payout completion confirmable state is a state after the above-described payout completion confirmable state designation command is transmitted to the payout control board 37. If the one-side ball shortage state flag is off, the CPU 56 sets the command transmission table relating to the award ball payout possible state designation (in this example, the designation that the payout completion confirmation is unnecessary) (step S1). S2
06). If the one-side ball-out state flag is not turned off, or if the payout completion confirmation is not possible in step S208, the processing shifts to the processing shown in FIG.

【0161】賞球払出停止状態でないが球貸し停止状態
である場合には、CPU56は、貸出球切れ状態フラグ
がオフとなっているか確認する(ステップS201,S
207,S210)。貸出球切れ状態フラグがオフとな
っていれば、CPU56は、球貸し可能状態指定に関す
るコマンド送信テーブルの設定を行う(ステップS21
1)。貸出球切れ状態フラグがオフとなっていなけれ
ば、上述したステップS208の処理に移行する。
If it is not in the award ball payout stop state but in the ball lending stop state, the CPU 56 checks whether the lending ball out-of-ball state flag is off (steps S201 and S201).
207, S210). If the out-of-lending-ball state flag is turned off, the CPU 56 sets a command transmission table related to the specification of the lending-sphere available state (step S21).
1). If the out-of-lending-ball state flag is not turned off, the process proceeds to the above-described step S208.

【0162】図27に示す処理において、CPU56
は、満タンフラグがオンしたことを確認すると、払出停
止状態指定に関するコマンド送信テーブルの設定を行う
(ステップS212a,S212b)。また、CPU5
6は、両側球切れ状態フラグがオンしたことを確認する
と賞球払出停止状態指定に関するコマンド送信テーブル
の設定を行い(ステップS213a,S213b)、片
側球切れ状態フラグがオンしたことを確認すると払出完
了確認可能状態指定に関するコマンド送信テーブルの設
定を行い(ステップS214a,S214b)、貸出球
切れ状態フラグがオンしたことを確認すると球貸し停止
状態指定に関するコマンド送信テーブルの設定を行う
(ステップS215a,S215b)。どのフラグもオ
ンしておらずコマンド送信テーブルの設定を行わない場
合には、図28に示す処理に移行する。
In the processing shown in FIG.
Confirms that the full tank flag is turned on, sets the command transmission table related to the payout stop state designation (steps S212a and S212b). CPU5
6 confirms that the both-side out-of-ball state flag has been turned on, sets a command transmission table relating to designation of a winning ball payout stop state (steps S213a and S213b), and confirms that the one-side out-of-ball state flag has been turned on. The command transmission table relating to the specification of the checkable state is set (steps S214a and S214b), and if it is confirmed that the out-of-lending ball state flag has been turned on, the command transmission table relating to the specification of the ball lending stop state is set (steps S215a and S215b). . If none of the flags are turned on and the command transmission table is not set, the processing shifts to the processing shown in FIG.

【0163】なお、図27では、全てのフラグについて
確認する構成としたが、すでに設定されている状態にか
かわるフラグについては確認しないようにしてもよい。
例えば、上述したステップS205を経由して図27の
処理がされる場合には、すでに賞球払出停止状態が設定
されていることから、両側球切れ状態フラグの状態は確
認しないようにする。
In FIG. 27, all the flags are checked. However, the flags related to the already set state may not be checked.
For example, when the processing of FIG. 27 is performed via the above-described step S205, since the winning ball payout stop state has already been set, the state of the both-side ball out state flag is not checked.

【0164】図28に示す処理において、タイマT1が
タイムアウトしたか否か確認する(ステップS21
6)。タイマT1は、復帰不能なエラーとなったか否か
を判定するためのタイマである。タイムアウト時に累積
エラー回数が所定回数を越えていたら復帰不能なエラー
となる。累積エラー回数が所定回数以下であれば、動作
は継続される。タイマT1がかかっていない場合、また
はかかっていてもタイムアウトしていない場合にはステ
ップS221に移行する。
In the process shown in FIG. 28, it is determined whether or not the timer T1 has timed out (step S21).
6). The timer T1 is a timer for determining whether or not an unrecoverable error has occurred. If the accumulated number of errors exceeds a predetermined number at the time of timeout, an error that cannot be recovered is obtained. If the cumulative error count is equal to or less than the predetermined count, the operation is continued. If the timer T1 has not been set, or if the timer has not timed out, the process proceeds to step S221.

【0165】タイマT1がタイムアウトしていた場合に
は、賞球エラーカウンタの値をチェックする(ステップ
S217)。賞球エラーカウンタの値が所定値を越えて
いた場合には、エラー状態に入る(ステップS22
0)。エラー状態では、CPU56は停止状態になる。
例えば、ループ状態(同一番地にジャンプ)とされる。
If the timer T1 has timed out, the value of the winning ball error counter is checked (step S217). If the value of the winning ball error counter exceeds a predetermined value, an error state is entered (step S22).
0). In the error state, the CPU 56 is stopped.
For example, a loop state (jump to the same address) is set.

【0166】タイマT1がタイムアウトしたときに賞球
エラーカウンタの値が所定回を越えていなければ、賞球
エラーカウンタは初期化され(ステップS218)、再
度タイマT1がスタートされる(ステップS219)。
If the value of the winning ball error counter does not exceed the predetermined number when the timer T1 times out, the winning ball error counter is initialized (step S218), and the timer T1 is started again (step S219).

【0167】賞球エラーカウンタの値は、賞球個数の過
多等のエラーが検出されるとカウントアップされる。従
って、所定時間内に(タイマT1のカウントアップ時間
内に)所定回数を越える賞球過多エラーが生ずると、2
ms割込で再起動されても解除されない状態になる。こ
のように、賞球過多エラーが生じたときに直ちにホール
ト状態とならず、頻繁に賞球過多エラーが生じた場合に
停止状態となるように構成すると、一時的に生じ自然復
旧するようなエラーでは遊技機は動作不能状態にならな
い。また、頻繁に賞球過多エラーが生ずる場合には点検
等を要することが多いので、そのような場合には遊技機
が動作不能状態になるようにすることができる。
The value of the winning ball error counter is counted up when an error such as an excessive number of winning balls is detected. Therefore, if a prize ball excess error exceeding a predetermined number occurs within a predetermined time (within the count-up time of the timer T1), 2
Even if it is restarted by the ms interrupt, it will not be released. In this way, if the system is configured not to be in the halt state immediately when the excess prize ball error occurs but to be in the stop state when the prize ball excess error occurs frequently, an error that occurs temporarily and naturally recovers may occur. Then, the gaming machine does not become inoperable. In addition, when the prize ball excess error frequently occurs, an inspection or the like is often required. In such a case, the gaming machine can be made inoperable.

【0168】次いで、CPU56は、入賞に応じた賞球
個数に関する払出制御コマンドをコマンド送信テーブル
に設定する制御を行う。まず、15個カウンタの値をチ
ェックする(ステップS221)。上述したように、1
5個カウンタは、遊技球が大入賞口に入賞してカウント
スイッチ23がオンするとカウントアップされる。15
個カウンタの値が0でない場合には、15個の賞球個数
指示に関するコマンド送信テーブルの設定を行う(ステ
ップS222)。また、15個カウンタの値を−1する
(ステップS223)。さらに、払出指令個数累積値に
15を加算する(ステップS224)。
Next, the CPU 56 controls to set a payout control command relating to the number of winning balls according to the winning in the command transmission table. First, the values of the 15 counters are checked (step S221). As mentioned above, 1
The five counters are counted up when the game ball wins the big winning opening and the count switch 23 is turned on. Fifteen
If the value of the number counter is not 0, a command transmission table relating to the fifteen winning ball number instructions is set (step S222). Further, the value of the 15 counters is decremented by one (step S223). Further, 15 is added to the payout command number cumulative value (step S224).

【0169】15個カウンタの値が0であれば、10個
カウンタの値をチェックする(ステップS225)。上
述したように、10個カウンタは、遊技球が入賞口に入
賞して入賞口スイッチ19a,24aがオンするとカウ
ントアップされる。10個カウンタの値が0でない場合
には、10個の賞球個数指示に関するコマンド送信テー
ブルの設定を行う(ステップS226)。また、10個
カウンタの値を−1する(ステップS227)。さら
に、払出指令個数累積値に10を加算する(ステップS
228)。
If the value of the 15 counter is 0, the value of the 10 counter is checked (step S225). As described above, the ten counters are counted up when a game ball wins a winning opening and the winning opening switches 19a and 24a are turned on. If the value of the ten counter is not 0, the command transmission table for the ten winning ball number instructions is set (step S226). Further, the value of the ten counters is decremented by one (step S227). Further, 10 is added to the cumulative number of payout commands (step S).
228).

【0170】10個カウンタの値が0であれば、6個カ
ウンタの値をチェックする(ステップS231)。上述
したように、6個カウンタは、遊技球が始動入賞口に入
賞して始動口スイッチ17がオンするとカウントアップ
される。6個カウンタの値が0でない場合には、6個の
賞球個数指示に関するコマンド送信テーブルの設定を行
う(ステップS232)。また、6個カウンタの値を−
1する(ステップS233)。さらに、払出指令個数累
積値に6を加算する(ステップS234)。
If the value of the ten counter is 0, the value of the six counter is checked (step S231). As described above, the six counters are counted up when the game ball wins the starting winning port and the starting port switch 17 is turned on. If the value of the six counter is not 0, the command transmission table for the six winning ball number instructions is set (step S232). Also, the value of the six counters is-
1 (step S233). Further, 6 is added to the payout command number cumulative value (step S234).

【0171】以上にようにして、遊技制御手段から払出
制御基板37に払出制御コマンドを出力しようとすると
きに、コマンド送信テーブルの設定が行われる。そし
て、コマンド送信テーブルの設定が行われたときには、
賞球払出中フラグをオンする(ステップS235)。ま
た、賞球払出中フラグをオンしているときには、ステッ
プS241に移行する(ステップS236)。
As described above, when the payout control command is to be output from the game control means to the payout control board 37, the command transmission table is set. When the command transmission table is set,
The award ball paying flag is turned on (step S235). If the award ball paying flag is on, the process shifts to step S241 (step S236).

【0172】次いで、CPU56は、エラー表示フラグ
がオンしているか否か確認する(ステップS241)。
オンしていれば、ステップS257に移行する。なお、
エラー表示フラグについては後で説明する。エラー表示
フラグがオンしていなければ、賞球カウントスイッチ3
01Aがオンするのを待つ(ステップS242)。賞球
カウントスイッチ301Aのオンを検出すると、賞球カ
ウントスイッチ301Aのオフを待ち(ステップS24
2)、オフしたら払出指令累積個数を−1する(ステッ
プS244)。また、賞球個数信号出力処理サブルーチ
ンを起動する(ステップS245)。そして、タイマT
2を起動する(ステップS246)。
Next, the CPU 56 checks whether or not the error display flag is turned on (step S241).
If it is on, the process moves to step S257. In addition,
The error display flag will be described later. If the error display flag is not turned on, the prize ball count switch 3
Wait for 01A to turn on (step S242). When detecting that the prize ball count switch 301A is turned on, it waits for the prize ball count switch 301A to be turned off (step S24).
2) When turned off, the payout command cumulative number is decremented by one (step S244). Also, the award ball number signal output processing subroutine is started (step S245). And the timer T
2 is started (step S246).

【0173】払い出された賞球は1個ずつ賞球カウント
スイッチ301Aを通過するが、以上のように、賞球カ
ウントスイッチ301Aのオンおよびオフを検出するこ
とによって遊技球の通過が確実に検出される。そして、
遊技球の通過が検出された場合には、1個の賞球があっ
たとして、払出指令累積個数が−1される。
The paid prize balls pass through the prize ball count switch 301A one by one. As described above, by detecting the on / off state of the prize ball count switch 301A, the passage of the game ball is reliably detected. Is done. And
When the passage of the game ball is detected, it is determined that there is one prize ball, and the payout command cumulative number is decremented by one.

【0174】なお、払出制御コマンド送出時に加算され
賞球カウントスイッチ301Aがオンすると−1される
払出指令個数累積値が、タイマT2のタイムアウト時に
0になっていないと、賞球過多または賞球不足が生じて
いると判定される。従って、タイマT2は、賞球カウン
トスイッチ301Aの出力がオンした後オフする度に起
動または再スタートされる。
If the cumulative value of the number of payout commands, which is added when the payout control command is transmitted and is decremented by one when the prize ball count switch 301A is turned on, does not become 0 when the timer T2 times out, the prize ball is too large or the prize ball is insufficient. Is determined to have occurred. Therefore, the timer T2 is started or restarted every time the output of the prize ball count switch 301A is turned off after being turned on.

【0175】ステップS242において賞球カウントス
イッチ301Aがオンしていなければ、タイマT2が動
作中か否か確認する(ステップS247)。タイマT2
が動作中であれば、CPU56は、タイマT2がタイム
アウトしたか否か確認する(ステップS250)。タイ
ムアウトしていなければ処理を終了する。
If the award ball count switch 301A is not turned on in step S242, it is checked whether or not the timer T2 is operating (step S247). Timer T2
Is operating, the CPU 56 checks whether or not the timer T2 has timed out (step S250). If the timeout has not occurred, the process ends.

【0176】タイマT2の値(起動時からタイムアウト
するまでの時間)は、正常に払出が行われている場合に
は払出周期(賞球カウントスイッチ301Aがオンして
から次にオンするまでの期間)よりも長く設定されてい
る。従って、正常に払出が行われているときには、最後
の払出を除いて、タイマT2がタイムアウトするよりも
前に、次の賞球カウントスイッチ301Aのオン(ステ
ップS242)が発生する。すなわち、正常に払出が行
われているときには、タイマT2は、最後の払出が行わ
れた後に初めてタイムアウトする。
The value of the timer T2 (the time from the start to the time-out) is a payout cycle (a period from when the prize ball count switch 301A is turned on to when it is turned on next time) when payout is normally performed. ) Is set longer. Therefore, when the payout is normally performed, the next winning ball count switch 301A is turned on (step S242) before the timer T2 times out, except for the last payout. That is, when the payout is normally performed, the timer T2 times out only after the last payout is performed.

【0177】なお、連続払出(ある入賞に対する賞球払
出と次の入賞に対する賞球払出とが連続して行われるこ
と)における賞球払出間にインターバル時間が設けられ
る場合もあるが、その場合には、タイマT2の値は、イ
ンターバル時間よりも長く設定される。すなわち、連続
払出が行われるときには、やはり、最後の払出が行われ
た後に初めてタイムアウトする。
In some cases, an interval time is provided between the prize ball payouts in continuous payout (the prize ball payout for a certain prize and the prize ball payout for the next prize are performed consecutively). Is that the value of the timer T2 is set longer than the interval time. That is, when the continuous payout is performed, the time-out occurs only after the last payout is performed.

【0178】ステップS250において、タイマT2が
タイムアウトすると、CPU56は、払出指令個数累積
値が0になっているか否か確認する(ステップS25
1)。後述する補正払出が行われたときには、補正個数
記憶値が0になっているか否か確認する。払出指令個数
累積値は、入賞があったときに賞球数分だけ加算され賞
球があったことを検出する賞球カウントスイッチ301
Aのオンによって−1されているので、正常に払出が完
了した場合には値は0である。従って、値が0である場
合には、賞球払出フラグをオフして処理を終了する(ス
テップS252)。
When the timer T2 times out in step S250, the CPU 56 checks whether or not the cumulative number of payout commands is 0 (step S25).
1). When a corrected payout, which will be described later, is performed, it is checked whether or not the stored value of the corrected number is 0. The payout command number cumulative value is added by the number of prize balls when a prize is won, and the prize ball count switch 301 for detecting that there is a prize ball.
Since the value is decremented by 1 when A is turned on, the value is 0 when the payout is completed normally. Therefore, if the value is 0, the prize ball payout flag is turned off and the process ends (step S252).

【0179】タイマT2がタイムアウトしたときに払出
指令個数累積値または補正個数記憶値が0になっていな
い場合には、賞球過多または賞球不足が生じている。そ
こで、払出指令個数累積値または補正個数記憶値が0に
なっていなかった場合には、CPU56は、値の正負を
チェックする(ステップS253)。値が正である場
合、すなわち払出不足と判断される場合には、補正すべ
き個数補正個数記憶値に設定するとともに(ステップS
255)、補正個数に関するコマンド送信テーブルをセ
ットする(ステップS256)。
If the cumulative number of payout commands or the stored value of the number of corrections is not 0 when the timer T2 times out, there is an excess of prize balls or a shortage of prize balls. Therefore, when the payout command number accumulation value or the corrected number storage value is not 0, the CPU 56 checks whether the value is positive or negative (step S253). When the value is positive, that is, when it is determined that the payout is insufficient, the number to be corrected is set to the stored value of the corrected number (step S
255), a command transmission table relating to the number of corrections is set (step S256).

【0180】なお、この実施の形態では、払出球経路1
86aまたは払出球経路186bの何れかが球切れ状態
であるときに払出処理が実行された場合には、詳細は後
述するが、払出制御基板37側で払出不足か否かが判定
されて補正動作がなされるため、ステップS256の補
正個数に関するコマンド送信テーブルをセットする処理
は不要である。なお、払出球経路186aまたは払出球
経路186bの何れかが球切れ状態であるときであって
も、払出制御基板37側の判定を行うことなく、上述の
ように主基板31側で判定して補正個数に関するコマン
ド送信テーブルをセットするようにしてもよい。
In the present embodiment, the payout ball route 1
If the payout process is executed while either the ball 86a or the payout ball path 186b is out of the ball, the payout control board 37 determines whether or not the payout is insufficient, and performs a correction operation. Therefore, the process of setting the command transmission table relating to the number of corrections in step S256 is unnecessary. Even when either the payout ball path 186a or the payout ball path 186b is out of ball, the determination is made on the main board 31 side as described above without performing the determination on the payout control board 37 side. A command transmission table for the number of corrections may be set.

【0181】図31は、エラー表示処理の一例を示すフ
ローチャートである。エラー表示処理において、CPU
56は、まず、タイマT3が動作中であるかどうか確認
する(ステップS261)。タイマT3はエラー検出時
にセットされるタイマであり、タイムアウトするまでエ
ラー表示が行われる。タイマT3が動作中でなければ、
エラー表示フラグをオンし(ステップS262)、エラ
ー表示要求をセットする(ステップS263)。そし
て、タイマT3を起動する(ステップS264)。ま
た、賞球エラーカウンタの値を+1する(ステップS2
65)。
FIG. 31 is a flowchart showing an example of the error display process. In the error display process, the CPU
56 first checks whether the timer T3 is operating (step S261). The timer T3 is a timer that is set when an error is detected, and displays an error until a timeout occurs. If timer T3 is not running,
The error display flag is turned on (step S262), and an error display request is set (step S263). Then, the timer T3 is started (step S264). Further, the value of the winning ball error counter is incremented by 1 (step S2).
65).

【0182】賞球エラーカウンタの値は、ステップS2
12でチェックされ、所定時間内にその値が所定値を越
えると自動復旧しない完全エラー状態とされる。なお、
エラー表示要求がセットされると、例えば、可変表示部
9にエラー表示がなされるように制御されたり、スピー
カ27からエラー報知音が発生されるように制御された
りする。
The value of the winning ball error counter is determined in step S2.
A check is made at step 12, and if the value exceeds a predetermined value within a predetermined time, a complete error state is set in which automatic recovery is not performed. In addition,
When the error display request is set, for example, control is performed so that an error is displayed on the variable display unit 9, or control is performed so that an error notification sound is generated from the speaker 27.

【0183】そして、遊技状態が通常状態であるならば
(ステップS266)、ループ状態になる。通常状態と
は、大当り遊技状態および可変表示部9に可変表示がな
されている状態以外の状態である。
Then, if the game state is the normal state (step S266), a loop state is set. The normal state is a state other than the big hit gaming state and the state where the variable display is performed on the variable display unit 9.

【0184】ステップS261においてタイマT3が動
作中である場合には、CPU56は、タイマT3がタイ
ムアウトしているか否か確認する(ステップS27
0)。タイムアウトした場合には、エラー表示要求をリ
セットするとともに(ステップS271)、エラー表示
中フラグをオフする(ステップS272)。また、賞球
払出フラグをオフする(ステップS273)。よって、
遊技機は、再度入賞球検出と賞球払出制御を行える状態
に復帰する。なお、エラー表示フラグがオンしていると
きには、遊技進行は中断されている。
If the timer T3 is operating in step S261, the CPU 56 checks whether or not the timer T3 has timed out (step S27).
0). If a timeout has occurred, the error display request is reset (step S271), and the error display flag is turned off (step S272). Further, the award ball payout flag is turned off (step S273). Therefore,
The gaming machine returns to a state where the winning ball detection and the winning ball payout control can be performed again. When the error display flag is on, the game progress is interrupted.

【0185】ステップS213のエラー状態(所定期間
内に賞球エラーカウンタの値が所定値を越えた)につい
ては、例えば、エラー表示やエラー報知が行われるとと
もに、ループ状態になるように制御される。
In the error state of step S213 (the value of the winning ball error counter has exceeded a predetermined value within a predetermined period), for example, error display and error notification are performed, and control is performed so as to enter a loop state. .

【0186】図32は、賞球カウントスイッチ301A
がオンしてからオフし、1個の遊技球が払い出されたこ
とが確認された場合(ステップS242〜S243)に
起動される賞球個数信号出力処理サブルーチン(ステッ
プS245)を示すフローチャートである。
FIG. 32 shows a prize ball count switch 301A.
Is a flowchart showing a prize ball number signal output processing subroutine (step S245) activated when it is confirmed that one game ball has been paid out (steps S242 to S243). .

【0187】賞球個数出力処理サブルーチンでは、CP
U56は、賞球個数カウンタの値を+1する(ステップ
S281)。そして、賞球個数カウンタの値が10の倍
数になっていれば(ステップS282)、賞球個数出力
要求をオンする(ステップS283)。なお、賞球個数
カウンタが単にアップカウントされるだけのものであ
り、賞球個数カウンタが16ビットカウンタであれば、
その値がFFFF(H)になった後0に戻る。
In the prize ball number output processing subroutine, the CP
U56 increments the value of the winning ball number counter by +1 (step S281). If the value of the prize ball number counter is a multiple of 10 (step S282), the request for prize ball number output is turned on (step S283). Note that the prize ball number counter is simply incremented, and if the prize ball number counter is a 16-bit counter,
After the value becomes FFFF (H), it returns to 0.

【0188】図33(A)は、上述したコマンド送信テ
ーブルの一構成例を示す説明図である。1つのコマンド
送信テーブルは3バイトで構成され、1バイト目にはI
NTデータが設定される。また、2バイト目のコマンド
データ1には、払出制御コマンドの1バイト目のMOD
Eデータが設定される。そして、3バイト目のコマンド
データ2には、払出制御コマンドの2バイト目のEXT
データが設定される。
FIG. 33A is an explanatory diagram showing an example of the configuration of the command transmission table described above. One command transmission table is composed of 3 bytes.
NT data is set. The command data 1 in the second byte includes the MOD in the first byte of the payout control command.
E data is set. The command data 2 of the third byte includes EXT of the second byte of the payout control command.
The data is set.

【0189】なお、EXTデータそのものがコマンドデ
ータ2の領域に設定されてもよいが、コマンドデータ2
には、EXTデータが格納されているテーブルのアドレ
スを指定するためのデータが設定されるようにしてもよ
い。この実施の形態では、コマンドデータ2のビット7
(ワークエリア参照ビット)が0あれば、コマンドデー
タ2にEXTデータそのものが設定されていることを示
す。なお、そのようなEXTデータはビット7が0であ
るデータである。また、ワークエリア参照ビットが1あ
れば、他の7ビットが、EXTデータが格納されている
テーブルのアドレスを指定するためのオフセットである
ことを示す。
Although the EXT data itself may be set in the command data 2 area, the command data 2
May be set to data for specifying an address of a table in which EXT data is stored. In this embodiment, bit 7 of command data 2
If (work area reference bit) is 0, it indicates that the EXT data itself is set in the command data 2. Such EXT data is data in which bit 7 is 0. If the work area reference bit is 1, the other 7 bits indicate an offset for specifying an address of a table in which EXT data is stored.

【0190】この実施の形態では複数のコマンド送信テ
ーブルが用意され、使用すべきコマンド送信テーブルは
ポインタで指定される。また、複数のコマンド送信テー
ブルはリングバッファとして使用される。従って、CP
U56は、入賞球信号処理において、書込ポインタが指
しているコマンド送信テーブルに、INTデータ、コマ
ンドデータ1およびコマンドデータ2を設定する。そし
て、書込ポインタの値を更新する。1つのコマンド送信
テーブルは3バイト構成であるから、具体的には、書込
ポインタ値は+3される。
In this embodiment, a plurality of command transmission tables are prepared, and the command transmission table to be used is designated by a pointer. Also, a plurality of command transmission tables are used as a ring buffer. Therefore, CP
U56 sets the INT data, the command data 1 and the command data 2 in the command transmission table pointed to by the write pointer in the winning ball signal processing. Then, the value of the write pointer is updated. Since one command transmission table has a 3-byte configuration, specifically, the write pointer value is +3.

【0191】なお、複数のコマンド送信テーブルが設け
られているので、1回の処理について、1つの払出制御
コマンドに関するコマンド送信テーブル設定処理を行う
ことも、複数のコマンド送信テーブル設定処理を行うこ
ともできる。例えば、複数の入賞が15個カウンタ、1
0個カウンタおよび6個カウンタに記憶されている場合
に、1回の入賞球信号処理で、複数のコマンド送信テー
ブル設定処理を行ってもよい。
Since a plurality of command transmission tables are provided, it is possible to perform a command transmission table setting process for one payout control command or a plurality of command transmission table setting processes for one process. it can. For example, a plurality of winning prize counters,
When stored in the zero counter and the six counter, a plurality of command transmission table setting processes may be performed in one winning ball signal process.

【0192】また、ここでは、払出制御コマンドについ
て説明するが、表示制御コマンド、ランプ制御コマンド
および音声制御コマンドを送出するときにも、図33
(A)に示すようなコマンド送信テーブルに、INTデ
ータ、コマンドデータ1およびコマンドデータ2が設定
される。その際にも、書込ポインタが指しているコマン
ド送信テーブルに、INTデータ、コマンドデータ1お
よびコマンドデータ2が設定される。
Although the payout control command will be described here, the display control command, the lamp control command, and the voice control command are also transmitted when the display control command, the lamp control command, and the voice control command are transmitted.
INT data, command data 1 and command data 2 are set in a command transmission table as shown in FIG. At that time, the INT data, the command data 1 and the command data 2 are set in the command transmission table pointed to by the write pointer.

【0193】図33(B)INTデータの一構成例を示
す説明図である。INTデータにおけるビット0は、払
出制御基板37に払出制御コマンドを送出すべきか否か
を示す。ビット0が「1」であるならば、払出制御コマ
ンドを送出すべきことを示す。従って、CPU56は、
入賞球信号処理において、INTデータに「01
(H)」を設定する。
FIG. 33B is an explanatory diagram showing an example of the configuration of INT data. Bit 0 in the INT data indicates whether or not a payout control command should be sent to the payout control board 37. If bit 0 is "1", it indicates that a payout control command should be sent. Therefore, the CPU 56
In the winning ball signal processing, "01" is added to the INT data.
(H) ”is set.

【0194】なお、INTデータのビット1,2,3
は、それぞれ、表示制御コマンド、ランプ制御コマン
ド、音声制御コマンドを送出すべきか否かを示すビット
であり、CPU56は、それらのコマンドを送出すべき
タイミングになったら、特別図柄プロセス処理等で、ポ
インタが指しているコマンド送信テーブルに、INTデ
ータ、コマンドデータ1およびコマンドデータ2を設定
する。それらのコマンドを送出するときには、INTデ
ータの該当ビットが「1」に設定され、コマンドデータ
1およびコマンドデータ2にMODEデータおよびEX
Tデータが設定される。
The bits 1, 2, 3 of the INT data
Are bits indicating whether or not to transmit a display control command, a lamp control command, and a voice control command, respectively. When it is time to transmit those commands, the CPU 56 performs special symbol process processing or the like. The INT data, command data 1 and command data 2 are set in the command transmission table indicated by the pointer. When these commands are transmitted, the corresponding bit of the INT data is set to "1", and MODE data and EX data are added to command data 1 and command data 2.
T data is set.

【0195】図34は、図20に示された遊技制御処理
におけるコマンド制御処理(ステップS27)の処理例
を示すフローチャートである。コマンド制御処理は、コ
マンド出力処理とINT信号出力処理とを含む処理であ
る。コマンド制御処理において、CPU56は、まず、
コマンド送信テーブルのアドレス(読出ポインタの内
容)をスタック等に退避する(ステップS401)。そ
して、読出ポインタが指していたコマンド送信テーブル
のINTデータを引数1にロードする(ステップS40
2)。引数1は、後述するコマンド送信処理に対する入
力情報になる。また、コマンド送信テーブルを指すアド
レスを+1する(ステップS403)。従って、コマン
ド送信テーブルを指すアドレスは、コマンドデータ1の
アドレスに一致する。
FIG. 34 is a flowchart showing an example of the command control process (step S27) in the game control process shown in FIG. The command control process is a process including a command output process and an INT signal output process. In the command control process, the CPU 56 first
The address (contents of the read pointer) of the command transmission table is saved in a stack or the like (step S401). Then, the INT data of the command transmission table pointed to by the read pointer is loaded into the argument 1 (step S40).
2). Argument 1 is input information for a command transmission process described later. Further, the address indicating the command transmission table is incremented by 1 (step S403). Therefore, the address indicating the command transmission table matches the address of the command data 1.

【0196】そこで、CPU56は、コマンドデータ1
を読み出して引数2に設定する(ステップS404)。
引数2も、後述するコマンド送信処理に対する入力情報
になる。そして、コマンド送信処理ルーチンをコールす
る(ステップS405)。
Therefore, the CPU 56 sets the command data 1
Is read and set as argument 2 (step S404).
The argument 2 also becomes input information for a command transmission process described later. Then, a command transmission processing routine is called (step S405).

【0197】図35は、コマンド送信ルーチンを示すフ
ローチャートである。コマンド送信ルーチンにおいて、
CPU56は、まず、引数1に設定されているデータす
なわちINTデータを、比較値として決められているワ
ークエリアに設定する(ステップS421)。次いで、
送信回数=4を、処理数として決められているワークエ
リアに設定する(ステップS422)。そして、払出制
御信号を出力するためのポート1(出力ポート571)
のアドレスをIOアドレスにセットする(ステップS4
23)。
FIG. 35 is a flowchart showing a command transmission routine. In the command transmission routine,
First, the CPU 56 sets the data set in the argument 1, that is, the INT data, in the work area determined as the comparison value (step S421). Then
The number of transmissions = 4 is set in the work area determined as the number of processes (step S422). Then, port 1 for outputting the payout control signal (output port 571)
Is set to the IO address (step S4).
23).

【0198】次に、CPU56は、比較値を1ビット右
にシフトする(ステップS424)。シフト処理の結
果、キャリービットが1になったか否か確認する(ステ
ップS425)。キャリービットが1になったというこ
とは、INTデータにおける最も右側のビットが「1」
であったことを意味する。この実施の形態では4回のシ
フト処理が行われるのであるが、例えば、払出制御コマ
ンドを送出すべきことが指定されているときには、最初
のシフト処理でキャリービットが1になる。
Next, the CPU 56 shifts the comparison value one bit to the right (step S424). It is determined whether the carry bit has become 1 as a result of the shift processing (step S425). The fact that the carry bit has become 1 means that the rightmost bit in the INT data is “1”.
It means that it was. In this embodiment, four shift processes are performed. For example, when it is specified that a payout control command should be sent, the carry bit becomes 1 in the first shift process.

【0199】キャリービットが1になった場合には、引
数2に設定されているデータ、この場合にはコマンドデ
ータ1(すなわちMODEデータ)を、IOアドレスと
して設定されているアドレスに出力する(ステップS4
26)。最初のシフト処理が行われたときにはIOアド
レスにポート1(出力ポート571)のアドレスが設定
されているので、結局、払出制御コマンドのMODEデ
ータがポート1に出力される。
When the carry bit becomes 1, the data set in the argument 2, in this case, the command data 1 (ie, MODE data) is output to the address set as the IO address (step S4
26). When the first shift processing is performed, since the address of port 1 (output port 571) is set in the IO address, MODE data of the payout control command is output to port 1 after all.

【0200】次いで、CPU56は、IOアドレスを1
加算するとともに(ステップS427)、処理数を1減
算する(ステップS428)。加算前にポート1を示し
ていた場合には、IOアドレスに対する加算処理によっ
て、IOアドレスにはポート2(出力ポート572)の
アドレスが設定される。ポート2(出力ポート572)
は、表示制御コマンドを出力するためのポートである。
そして、CPU56は、処理数の値を確認し(ステップ
S429)、値が0になっていなければ、ステップS4
24に戻る。ステップS424で再度シフト処理が行わ
れる。
Next, the CPU 56 sets the IO address to 1
While adding (step S427), the number of processes is decremented by 1 (step S428). If port 1 is indicated before the addition, the address of port 2 (output port 572) is set as the IO address by the addition processing for the IO address. Port 2 (output port 572)
Is a port for outputting a display control command.
Then, the CPU 56 checks the value of the number of processes (step S429), and if the value is not 0, the process proceeds to step S4.
Return to 24. In step S424, the shift process is performed again.

【0201】2回目のシフト処理ではINTデータにお
けるビット1の値が押し出され、ビット1の値に応じて
キャリーフラグが「1」または「0」になる。従って、
表示制御コマンドを送出すべきことが指定されているか
否かのチェックが行われる。同様に、3回目および4回
目のシフト処理によって、ランプ制御コマンドおよび音
声制御コマンドを送出すべきことが指定されているか否
かのチェックが行われる。このように、それぞれのシフ
ト処理が行われるときに、IOアドレスには、シフト処
理によってチェックされるコマンド(払出制御コマン
ド、表示制御コマンド、ランプ制御コマンド、音声制御
コマンド)に対応したIOアドレスが設定されている。
よって、キャリーフラグが「1」になったときには、対
応する出力ポート(ポート1〜ポート4)に制御コマン
ドが送出される。すなわち、1つの共通モジュールで、
各電気部品制御手段に対する制御コマンドの送出処理を
行うことができる。
In the second shift processing, the value of bit 1 in the INT data is pushed out, and the carry flag becomes "1" or "0" according to the value of bit 1. Therefore,
A check is made as to whether it is specified that a display control command should be sent. Similarly, in the third and fourth shift processes, it is checked whether or not it is specified that the ramp control command and the voice control command should be transmitted. As described above, when each shift process is performed, the IO address corresponding to the command (payout control command, display control command, lamp control command, voice control command) set by the shift process is set in the IO address. Have been.
Therefore, when the carry flag becomes "1", a control command is sent to the corresponding output port (port 1 to port 4). That is, with one common module,
Transmission processing of a control command to each electric component control means can be performed.

【0202】また、このように、シフト処理のみによっ
てどの電気部品制御手段に対して制御コマンドを出力す
べきかが判定されるので、いずれの電気部品制御手段に
対して制御コマンドを出力すべきか判定する処理が簡略
化されている。
As described above, since it is determined which control means to output a control command to by only the shift processing, it is determined which control means to output a control command to. Processing has been simplified.

【0203】次に、CPU56は、シフト処理開始前の
INTデータが格納されている引数1の内容を読み出し
(ステップS430)、読み出したデータをポート0
(出力ポート570)に出力する(ステップS43
1)。INTデータでは、ステップS421〜S429
の処理で出力された制御コマンド(払出制御コマンド、
表示制御コマンド、ランプ制御コマンド、音声制御コマ
ンド)に応じたINT信号の出力ビットに対応したビッ
トが「1」になっている。従って、ポート1〜ポート4
のいずれかに出力された制御コマンド(払出制御コマン
ド、表示制御コマンド、ランプ制御コマンド、音声制御
コマンド)に対応したINT信号がオン状態になる。
Next, the CPU 56 reads the contents of the argument 1 storing the INT data before the start of the shift processing (step S430), and transfers the read data to the port 0.
(Output port 570) (step S43).
1). For the INT data, steps S421 to S429
Control commands (payout control commands,
The bit corresponding to the output bit of the INT signal according to the display control command, the lamp control command, and the voice control command is “1”. Therefore, port 1 to port 4
The INT signal corresponding to the control command (payout control command, display control command, lamp control command, voice control command) output to any of the above is turned on.

【0204】次いで、CPU56は、ウェイトカウンタ
に所定値を設定し(ステップS432)、その値が0に
なるまで1ずつ減算する(ステップS433,S43
4)。この処理は、図22に示されたBの期間を設定す
るための処理である。ウェイトカウンタの値が0になる
と、クリアデータ(00)を設定して(ステップS43
5)、そのデータをポート0に出力する(ステップS4
36)。よって、INT信号はオフ状態になる。そし
て、ウェイトカウンタに所定値を設定し(ステップS4
32)、その値が0になるまで1ずつ減算する(ステッ
プS438,S439)。この処理は、図22に示され
たCの期間を設定するための処理である。
Next, the CPU 56 sets a predetermined value in the weight counter (step S432), and decrements by one until the value becomes 0 (steps S433 and S43).
4). This process is a process for setting the period B shown in FIG. When the value of the wait counter becomes 0, clear data (00) is set (step S43).
5), and outputs the data to port 0 (step S4)
36). Therefore, the INT signal is turned off. Then, a predetermined value is set in the weight counter (step S4).
32), and decrement by 1 until the value becomes 0 (steps S438 and S439). This process is a process for setting the period C shown in FIG.

【0205】従って、ステップS437でウェイトカウ
ンタに設定される値は、Cの期間が、制御コマンド受信
対象となる全ての電気部品制御手段が確実にコマンド受
信処理を行うのに十分な期間になるような値である。ま
た、ウェイトカウンタに設定される値は、Cの期間が、
ステップS421〜S429の処理に要する時間よりも
長くなるような値である。
Therefore, the value set in the wait counter in step S437 is such that the period of C is a period sufficient for all the electric component control means to receive the control command to reliably execute the command receiving process. Value. The value set in the wait counter is such that the period of C is
This value is longer than the time required for the processing in steps S421 to S429.

【0206】以上のようにして、制御コマンドの1バイ
ト目のMODEデータが送出される。そこで、CPU5
6は、図34に示すステップS406で、コマンド送信
テーブルを指す値を1加算する。従って、3バイト目の
コマンドデータ2の領域が指定される。CPU56は、
指し示されたコマンドデータ2の内容を引数2にロード
する(ステップS407)。また、コマンドデータ2の
ビット7(ワークエリア参照ビット)の値が「0」であ
るか否か確認する(ステップS409)。0でなけれ
ば、コマンド拡張データアドレステーブルの先頭アドレ
スをポインタにセットし(ステップS409)、そのポ
インタにコマンドデータ2のビット6〜ビット0の値を
加算してアドレスを算出する(ステップS410)。そ
して、そのアドレスが指すエリアのデータを引数2にロ
ードする(ステップS411)。
As described above, the MODE data of the first byte of the control command is transmitted. Therefore, CPU5
No. 6 adds 1 to the value indicating the command transmission table in step S406 shown in FIG. Therefore, the area of the command data 2 in the third byte is specified. The CPU 56
The contents of the indicated command data 2 are loaded into the argument 2 (step S407). Also, it is checked whether the value of bit 7 (work area reference bit) of the command data 2 is “0” (step S409). If it is not 0, the start address of the command extension data address table is set in the pointer (step S409), and the address is calculated by adding the value of bit 6 to bit 0 of the command data 2 to the pointer (step S410). Then, the data of the area indicated by the address is loaded into the argument 2 (step S411).

【0207】コマンド拡張データアドレステーブルに
は、電気部品制御手段に送出されうるEXTデータが順
次設定されている。よって、以上の処理によって、ワー
クエリア参照ビットの値が「1」であれば、コマンドデ
ータ2の内容に応じたコマンド拡張データアドレステー
ブル内のEXTデータが引数2にロードされ、ワークエ
リア参照ビットの値が「0」であれば、コマンドデータ
2の内容がそのまま引数2にロードされる。なお、コマ
ンド拡張データアドレステーブルからEXTデータが読
み出される場合でも、そのデータのビット7は「0」で
ある。
In the command extension data address table, EXT data that can be transmitted to the electric component control means is sequentially set. Therefore, if the value of the work area reference bit is “1” by the above processing, the EXT data in the command extension data address table corresponding to the content of the command data 2 is loaded into the argument 2 and the work area reference bit is set. If the value is “0”, the content of the command data 2 is loaded as it is into the argument 2. Even when EXT data is read from the command extension data address table, bit 7 of that data is “0”.

【0208】次に、CPU56は、コマンド送信ルーチ
ンをコールする(ステップS412)。従って、MOD
Eデータの送出の場合と同様のタイミングでEXTデー
タが送出される。その後、CPU56は、コマンド送信
テーブルのアドレスを復帰し(ステップS413)、コ
マンド送信テーブルを指す読出ポインタの値を更新する
(ステップS414)。1つのコマンド送信テーブルは
3バイト構成であるから、具体的には、読出ポインタの
値は+3される。
Next, the CPU 56 calls a command transmission routine (step S412). Therefore, MOD
The EXT data is transmitted at the same timing as the transmission of the E data. Thereafter, the CPU 56 restores the address of the command transmission table (step S413), and updates the value of the read pointer pointing to the command transmission table (step S414). Since one command transmission table has a 3-byte configuration, specifically, the value of the read pointer is +3.

【0209】以上のようにして、2バイト構成の払出制
御コマンドが払出制御基板37に送出される。なお、図
34に示されたコマンド制御処理は、他の制御コマンド
(表示制御コマンド、ランプ制御コマンド、音声制御コ
マンド)を送出する際にも用いられる。各電気部品制御
手段ではINT信号の立ち下がりを検出すると制御コマ
ンドの取り込み処理を開始するのであるが、いずれの電
気部品制御手段についても、取り込み処理が完了する前
に遊技制御手段からの新たな信号が信号線に出力される
ことはない。すなわち、各電気部品制御手段において、
確実なコマンド受信処理が行われる。なお、各電気部品
制御手段は、INT信号の立ち上がりで制御コマンドの
取り込み処理を開始してもよい。また、INT信号の極
性を図22に示された場合と逆にしてもよい。
As described above, the payout control command having the 2-byte structure is transmitted to the payout control board 37. The command control process shown in FIG. 34 is also used when transmitting other control commands (display control command, lamp control command, voice control command). When each electric component control means detects the falling of the INT signal, the control command fetch process is started. However, before any of the electric component control means completes the fetch process, a new signal from the game control means is received. Is not output to the signal line. That is, in each electric component control means,
Reliable command reception processing is performed. Note that each electric component control unit may start the process of capturing a control command at the rising edge of the INT signal. Also, the polarity of the INT signal may be reversed from that shown in FIG.

【0210】また、この実施の形態では、複数のコマン
ド送信テーブルがリングバッファとして用いられ、図3
4に示すコマンド制御処理では、読出ポインタが指して
いるコマンド送信テーブルを対象としてコマンド出力制
御が行われ、コマンド送信テーブルにデータを設定する
処理、例えば、図26などに示す入賞球信号処理では、
書込ポインタが指すコマンド送信テーブルを対象として
コマンド設定処理が行われる。従って、同時に複数のコ
マンド送出要求が発生しても、それらの要求にもとづく
コマンド出力処理は問題なく実行される。
Also, in this embodiment, a plurality of command transmission tables are used as ring buffers,
In the command control process shown in FIG. 4, command output control is performed for the command transmission table pointed to by the read pointer, and in the process of setting data in the command transmission table, for example, in the winning sphere signal process shown in FIG.
The command setting process is performed on the command transmission table indicated by the write pointer. Therefore, even if a plurality of command transmission requests occur at the same time, the command output process based on those requests is executed without any problem.

【0211】さらに、この実施の形態では、賞球や球貸
しの払出停止状態となっているか否かにかかわらず、入
賞球信号処理(図29参照)によりコマンド送信テーブ
ルに賞球個数指定に関するデータが設定され、図34に
示すコマンド制御処理によりコマンド送信テーブルを対
象としてコマンド出力制御が行われる。従って、賞球や
球貸しの払出停止状態となっている場合であっても、賞
球個数指定に関する払出制御コマンドが確実に出力され
る。
Further, in this embodiment, regardless of whether or not the payout of prize balls or ball lending is stopped, data relating to the designation of the number of prize balls in the command transmission table by the prize ball signal processing (see FIG. 29). Is set, and the command output control is performed for the command transmission table by the command control process shown in FIG. Therefore, even when the payout of prize balls or ball lending is stopped, the payout control command relating to the designation of the number of prize balls is reliably output.

【0212】次に、払出制御手段の動作について説明す
る。図36は、払出制御用CPU371周りの一構成例
を示すブロック図である。図36に示すように、第1の
電源監視回路(第1の電源監視手段)からの電圧低下信
号が、バッファ回路960を介して払出制御用CPU3
71のマスク不能割込端子(XNMI端子)に接続され
ている。第1の電源監視回路は、遊技機が使用する各種
直流電源のうちのいずれかの電源の電圧を監視して電源
電圧低下を検出する回路である。この実施の形態では、
VSLの電源電圧を監視して電圧値が所定値以下になると
ローレベルの電圧低下信号を発生する。VSLは、遊技機
で使用される直流電圧のうちで最大のものであり、この
例では+30Vである。従って、払出制御用CPU37
1は、割込処理によって電源断の発生を確認することが
できる。
Next, the operation of the payout control means will be described. FIG. 36 is a block diagram illustrating a configuration example around the payout control CPU 371. As shown in FIG. 36, the voltage drop signal from the first power supply monitoring circuit (first power supply monitoring means) is sent to the payout control CPU 3 via the buffer circuit 960.
It is connected to a non-maskable interrupt terminal 71 (XNMI terminal). The first power supply monitoring circuit is a circuit that monitors a voltage of any one of various DC power supplies used by the gaming machine and detects a power supply voltage drop. In this embodiment,
The power supply voltage of VSL is monitored, and when the voltage value falls below a predetermined value, a low-level voltage drop signal is generated. VSL is the largest DC voltage used in gaming machines, and is +30 V in this example. Therefore, the payout control CPU 37
1 can confirm the occurrence of power interruption by interrupt processing.

【0213】この実施の形態で用いられる払出制御用C
PU371も、主基板31のCPU56と同様に、PI
OおよびCTCを内蔵している。ただし、この実施の形
態では内蔵PIOを使用しない。その場合には、例え
ば、全ポートを入力モードとして、全ポートをグラウン
ドレベルに接続する。
Payout control C used in this embodiment
The PU 371 also has a PI like the CPU 56 of the main board 31.
O and CTC are built in. However, in this embodiment, no built-in PIO is used. In that case, for example, all ports are set to the input mode, and all ports are connected to the ground level.

【0214】また、主基板31のCPU56と同様に、
払出制御用CPU371も、割込モード0〜2のいずれ
かに設定可能であり、CTCは、以下に説明するような
タイマモードまたはカウンタモードで動作可能である。
また、CTCは4つのチャネルを有している。具体的に
は、4個のタイマカウンタレジスタCLK/TRG0〜
3(チャネル0〜3のカウンタ)を有する。動作モード
は、チャネル毎に設定可能である。
Further, similarly to the CPU 56 of the main board 31,
The payout control CPU 371 can also be set to any of the interrupt modes 0 to 2, and the CTC can operate in a timer mode or a counter mode as described below.
Also, CTC has four channels. Specifically, four timer counter registers CLK / TRG0 to
3 (counters for channels 0 to 3). The operation mode can be set for each channel.

【0215】各タイマカウンタレジスタCLK/TRG
0〜3の値は、対応するCLK/TRG端子に入力され
るクロック信号に応じてカウントダウンされ、カウント
値が0になると割込を発生することができる。従って、
CTCのチャネル0〜3は、それぞれ割込発生部となる
ことができる。チャネル0の優先順位が最も高く、以
下、順次優先順位が下がる。すなわち、複数のタイマカ
ウンタレジスタCLK/TRGのカウント値が同時に0
になった場合には、番号が小さいチャネルが優先され、
それらのチャネルが割込を発生するように設定されてい
れば、番号が小さいチャネルからの割込が先に受け付け
られる。
Each timer counter register CLK / TRG
The values of 0 to 3 are counted down according to the clock signal input to the corresponding CLK / TRG terminal, and when the count value becomes 0, an interrupt can be generated. Therefore,
Each of the channels 0 to 3 of the CTC can be an interrupt generation unit. The priority of the channel 0 is the highest, and then the priority sequentially decreases. That is, the count values of the plurality of timer counter registers CLK / TRG are simultaneously set to 0.
, The channel with the lower number has priority,
If those channels are set to generate an interrupt, an interrupt from a channel with a lower number is accepted first.

【0216】この実施の形態では、内蔵CTCのチャネ
ル3がタイマモードで使用され、チャネル2がカウンタ
モードで使用される。また、チャネル3はタイマ割込の
発生源として使用され、チャネル2は払出制御コマンド
受信用として使用される。
In this embodiment, channel 3 of the built-in CTC is used in the timer mode, and channel 2 is used in the counter mode. Channel 3 is used as a timer interrupt source, and channel 2 is used for receiving a payout control command.

【0217】カウンタモード:払出制御用CPU371
のCLK/TRG端子にクロック信号の立上がりまたは
立下がりが入力されるとカウント値を−1する。そのチ
ャネルに対して割込発生許可が設定されている場合に
は、カウント値が0になると割込を発生するとともに、
初期値をカウンタに再ロードする。また、割込ベクタの
設定がなされていれば、カウント値が0になったとき
に、内部データバス上に割込ベクタを送出する。
Counter mode: payout control CPU 371
When the rising or falling edge of the clock signal is input to the CLK / TRG terminal, the count value is decremented by one. If interrupt generation permission is set for the channel, an interrupt is generated when the count value reaches 0,
Reload the initial value into the counter. If the interrupt vector has been set, the interrupt vector is sent out on the internal data bus when the count value becomes zero.

【0218】タイマモード:システムクロック(内部ク
ロック)を1/16分周または1/256分周したクロ
ック信号にもとづいてカウント値を−1する。そのチャ
ネルに対して割込発生許可が設定されている場合には、
カウント値が0になると割込を発生するとともに、初期
値をカウンタに再ロードする。また、割込ベクタの設定
がなされていれば、カウント値が0になったときに、内
部データバス上に割込ベクタを送出する。
Timer mode: The count value is decremented by one based on a clock signal obtained by dividing the system clock (internal clock) by 1/16 or 1/256. If interrupt generation permission is set for that channel,
When the count value becomes 0, an interrupt is generated, and the initial value is reloaded into the counter. If the interrupt vector has been set, the interrupt vector is sent out on the internal data bus when the count value becomes zero.

【0219】払出制御用CPU371のCLK/TRG
2端子には、主基板31からのINT信号(払出制御信
号INT)が接続されている。CLK/TRG2端子に
クロック信号が入力されると、払出制御用CPU371
に内蔵されているタイマカウンタレジスタCLK/TR
G2(CTCのチャネル2のカウンタ)の値がダウンカ
ウントされる。そして、レジスタ値が0になると割込が
発生する。従って、図33に示すように、タイマカウン
タレジスタCLK/TRG2の初期値を「1」に設定し
ておけば、INT信号の入力に応じてレジスタ値が0に
なって割込が発生することになる。
CLK / TRG of payout control CPU 371
An INT signal (payout control signal INT) from the main board 31 is connected to the two terminals. When a clock signal is input to the CLK / TRG2 terminal, the payout control CPU 371
Timer / counter register CLK / TR built in
The value of G2 (CTC channel 2 counter) is down-counted. When the register value becomes 0, an interrupt occurs. Therefore, as shown in FIG. 33, if the initial value of the timer counter register CLK / TRG2 is set to “1”, the register value becomes 0 in response to the input of the INT signal and an interrupt occurs. Become.

【0220】払出制御基板37には、システムリセット
回路975も搭載されているが、この実施の形態では、
システムリセット回路975は、第2の電源監視回路
(第2の電源監視手段)も兼ねている。すなわち、リセ
ットIC976は、電源投入時に、外付けのコンデンサ
に容量で決まる所定時間だけ出力をローレベルとし、所
定時間が経過すると出力をハイレベルにする。また、リ
セットIC976は、電源基板910に搭載されている
第1の電源監視回路が監視する電源電圧と等しい電源電
圧であるVSLの電源電圧を監視して電圧値が所定値(例
えば+9V)以下になるとローレベルの電圧低下信号を
発生する。従って、電源断時には、リセットIC976
からの電圧低下信号がローレベルになることによって払
出制御用CPU371がシステムリセットされる。な
お、図36に示すように、電圧低下信号はリセット信号
と同じ出力信号である。
The payout control board 37 is also equipped with a system reset circuit 975. In this embodiment,
The system reset circuit 975 also functions as a second power supply monitoring circuit (second power supply monitoring unit). That is, when the power is turned on, the reset IC 976 sets the output to a low level for a predetermined time determined by the capacity of an external capacitor, and sets the output to a high level after the predetermined time has elapsed. The reset IC 976 monitors the power supply voltage of VSL, which is the same as the power supply voltage monitored by the first power supply monitoring circuit mounted on the power supply board 910, and the voltage value becomes equal to or less than a predetermined value (for example, +9 V). Then, a low level voltage drop signal is generated. Therefore, when the power is turned off, the reset IC 976
When the voltage drop signal from the CPU goes low, the payout control CPU 371 is reset. Note that, as shown in FIG. 36, the voltage drop signal is the same output signal as the reset signal.

【0221】リセットIC976が電源断を検知するた
めの所定値は、通常時の電圧より低いが、払出制御用C
PU371が暫くの間動作しうる程度の電圧である。ま
た、リセットIC976が、払出制御用CPU371が
必要とする電圧(この例では+5V)よりも高い電圧を
監視するように構成されているので、払出制御用CPU
371が必要とする電圧に対して監視範囲を広げること
ができる。従って、より精密な監視を行うことができ
る。
The predetermined value for the reset IC 976 to detect the power-off is lower than the normal voltage, but the payout control C
This is a voltage at which the PU 371 can operate for a while. Further, since the reset IC 976 is configured to monitor a voltage higher than the voltage (+5 V in this example) required by the payout control CPU 371, the payout control CPU 371
The monitoring range can be extended for the voltage required by the 371. Therefore, more precise monitoring can be performed.

【0222】+5V電源から電力が供給されていない
間、払出制御用CPU371の内蔵RAMの少なくとも
一部は、電源基板から供給されるバックアップ電源がバ
ックアップ端子に接続されることによってバックアップ
され、遊技機に対する電源が断しても内容は保存され
る。そして、+5V電源が復旧すると、システムリセッ
ト回路975からリセット信号が発せられるので、払出
制御用CPU371は、通常の動作状態に復帰する。そ
のとき、必要なデータがバックアップされているので、
停電等からの復旧時には停電発生時の遊技状態に復帰す
ることができる。
While power is not supplied from the + 5V power supply, at least a part of the built-in RAM of the payout control CPU 371 is backed up by connecting the backup power supply supplied from the power supply board to the backup terminal. The contents are saved even if the power is turned off. Then, when the + 5V power supply is restored, a reset signal is issued from the system reset circuit 975, so that the payout control CPU 371 returns to the normal operation state. At that time, since the necessary data has been backed up,
Upon recovery from a power failure or the like, it is possible to return to the gaming state at the time of the power failure.

【0223】以上のように、この実施の形態では、電源
基板910に搭載されている第1の電源監視回路が、遊
技機で使用される直流電圧のうちで最も高い電源VSLの
電圧を監視して、その電源の電圧が所定値を下回ったら
電圧低下信号(電源断検出信号)を発生する。電源断検
出信号が出力されるタイミングでは、IC駆動電圧は、
まだ各種回路素子を十分駆動できる電圧値になってい
る。従って、IC駆動電圧で動作する払出制御基板37
の払出制御用CPU371が所定の電力供給停止時処理
を行うための動作時間が確保されている。
As described above, in this embodiment, the first power supply monitoring circuit mounted on the power supply board 910 monitors the highest voltage of the power supply VSL among the DC voltages used in the gaming machine. Then, when the voltage of the power supply falls below a predetermined value, a voltage drop signal (power-off detection signal) is generated. At the timing when the power-off detection signal is output, the IC drive voltage is
The voltage value is still enough to drive various circuit elements. Therefore, the payout control board 37 operated by the IC drive voltage
The operation time for the payout control CPU 371 to perform the predetermined power supply stop processing is secured.

【0224】なお、ここでも、第1の電源監視回路は、
遊技機で使用される直流電圧のうちで最も高い電源VSL
の電圧を監視することになるが、電源断検出信号を発生
するタイミングが、IC駆動電圧で動作する電気部品制
御手段が所定の電力供給停止時処理を行うための動作時
間が確保されるようなタイミングであれば、監視対象電
圧は、最も高い電源VSLの電圧でなくてもよい。すなわ
ち、少なくともIC駆動電圧よりも高い電圧を監視すれ
ば、電気部品制御手段が所定の電力供給停止時処理を行
うための動作時間が確保されるようなタイミングで電源
断検出信号を発生することができる。
Note that, also in this case, the first power supply monitoring circuit
Highest power supply VSL among DC voltages used in gaming machines
The power supply cutoff detection signal is generated at a timing such that the operation time for the electric component control means operating at the IC drive voltage to perform a predetermined power supply stop processing is secured. If it is timing, the monitoring target voltage need not be the highest voltage of the power supply VSL. That is, if at least the voltage higher than the IC drive voltage is monitored, the power-off detection signal can be generated at a timing such that the operation time for the electric component control means to perform the predetermined power supply stop processing is secured. it can.

【0225】その場合、上述したように、監視対象電圧
は、賞球カウントスイッチ301A等の遊技機の各種ス
イッチに供給される電圧が+12Vであることから、電
源断時のスイッチオン誤検出の防止も期待できる電圧で
あることが好ましい。すなわち、スイッチに供給される
電圧(スイッチ電圧)である+12V電源電圧が落ち始
める以前の段階で、電圧低下を検出できることが好まし
い。よって、少なくともスイッチ電圧よりも高い電圧を
監視することが好ましい。
In this case, as described above, since the voltage supplied to the various switches of the gaming machine such as the prize ball count switch 301A is +12 V, the monitoring target voltage is prevented from being erroneously detected when the power is turned off. Is also a voltage that can be expected. That is, it is preferable that the voltage drop can be detected before the + 12V power supply voltage, which is the voltage (switch voltage) supplied to the switch, starts to drop. Therefore, it is preferable to monitor at least a voltage higher than the switch voltage.

【0226】なお、図36に示された構成では、システ
ムリセット回路975は、電源投入時に、コンデンサの
容量で決まる期間のローレベルを出力し、その後ハイレ
ベルを出力する。すなわち、リセット解除タイミングは
1回だけである。しかし、図13に示された主基板31
の場合と同様に、複数回のリセット解除タイミングが発
生するような回路構成を用いてもよい。
In the configuration shown in FIG. 36, when power is turned on, system reset circuit 975 outputs a low level for a period determined by the capacitance of a capacitor, and then outputs a high level. That is, the reset release timing is only once. However, the main substrate 31 shown in FIG.
As in the case of the above, a circuit configuration that generates a plurality of reset release timings may be used.

【0227】図37は、払出制御用CPU371のメイ
ン処理を示すフローチャートである。メイン処理では、
払出制御用CPU371は、まず、必要な初期設定を行
う(ステップS701)。
FIG. 37 is a flowchart showing the main processing of the payout control CPU 371. In the main processing,
The payout control CPU 371 first performs necessary initial settings (step S701).

【0228】図38は、ステップS701の初期設定処
理を示すフローチャートである。初期設定処理におい
て、払出制御用CPU371は、まず、割込禁止に設定
する(ステップS701a)。次に、払出制御用CPU
371は、割込モードを割込モード2に設定し(ステッ
プS701b)、スタックポインタにスタックポインタ
指定アドレスを設定する(ステップS701c)。ま
た、払出制御用CPU371は、内蔵デバイスレジスタ
の初期化を行い(ステップS701d)、CTCおよび
PIOの初期化(ステップS701e)を行った後に、
RAMをアクセス可能状態に設定する(ステップS70
1f)。
FIG. 38 is a flowchart showing the initial setting process in step S701. In the initial setting process, the payout control CPU 371 first sets interrupt prohibition (step S701a). Next, the payout control CPU
The control unit 371 sets the interrupt mode to the interrupt mode 2 (step S701b), and sets a stack pointer designation address in the stack pointer (step S701c). Further, the payout control CPU 371 initializes the built-in device register (step S701d), and after initializing CTC and PIO (step S701e),
The RAM is set in an accessible state (step S70)
1f).

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

【0230】なお、タイマモードに設定されたチャネル
(この実施の形態ではチャネル3)に設定される割込ベ
クタは、タイマ割込処理の先頭番地に相当するものであ
る。具体的は、Iレジスタに設定された値と割込ベクタ
とでタイマ割込処理の先頭番地が特定される。タイマ割
込処理ではタイマ割込フラグがセットされ、メイン処理
でタイマ割込フラグがセットされていることが検知され
ると、払出制御処理が実行される。すなわち、タイマ割
込処理では、電気部品制御処理の一例である払出制御処
理を実行するための設定がなされる。
The interrupt vector set for the channel set in the timer mode (channel 3 in this embodiment) corresponds to the start address of the timer interrupt processing. Specifically, the start address of the timer interrupt processing is specified by the value set in the I register and the interrupt vector. In the timer interrupt process, the timer interrupt flag is set, and when it is detected in the main process that the timer interrupt flag is set, the payout control process is executed. That is, in the timer interrupt process, a setting for executing the payout control process, which is an example of the electrical component control process, is performed.

【0231】また、内蔵CTCのうちの他の一つのチャ
ネル(この実施の形態ではチャネル2)が、遊技制御手
段からの払出制御コマンド受信のための割込発生用のチ
ャネルとして用いられ、そのチャネルがカウンタモード
で使用される。従って、ステップS701dの内蔵デバ
イスレジスタの設定処理およびステップS701eの処
理において、使用するチャネルをカウンタモードに設定
するためのレジスタ設定、割込発生を許可するためのレ
ジスタ設定および割込ベクタを設定するためのレジスタ
設定が行われる。
Another channel of the built-in CTC (channel 2 in this embodiment) is used as a channel for generating an interrupt for receiving a payout control command from the game control means. Is used in the counter mode. Therefore, in the internal device register setting process of step S701d and the process of step S701e, the register setting for setting the channel to be used to the counter mode, the register setting for permitting the occurrence of interrupt, and the interrupt vector are set. Is set.

【0232】カウンタモードに設定されたチャネル(チ
ャネル2)に設定される割込ベクタは、後述するコマン
ド受信割込処理の先頭番地に相当するものである。具体
的は、Iレジスタに設定された値と割込ベクタとでコマ
ンド受信割込処理の先頭番地が特定される。
The interrupt vector set for the channel (channel 2) set to the counter mode corresponds to the start address of the command reception interrupt process described later. Specifically, the start address of the command reception interrupt processing is specified by the value set in the I register and the interrupt vector.

【0233】この実施の形態では、払出制御用CPU3
71でも割込モード2が設定される。従って、内蔵CT
Cのカウントアップにもとづく割込処理を使用すること
ができる。また、CTCが送出した割込ベクタに応じた
割込処理開始番地を設定することができる。
In the present embodiment, the payout control CPU 3
At 71, the interrupt mode 2 is set. Therefore, the built-in CT
An interrupt process based on the count-up of C can be used. Further, it is possible to set an interrupt processing start address according to the interrupt vector transmitted by the CTC.

【0234】CTCのチャネル2(CH2)のカウント
アップにもとづく割込は、上述したタイマカウンタレジ
スタCLK/TRG2の値が「0」になったときに発生
する割込である。従って、例えばステップS701eに
おいて、特定レジスタとしてのタイマカウンタレジスタ
CLK/TRG2に初期値「1」が設定される。また、
CTCのチャネル3(CH3)のカウントアップにもと
づく割込は、CPUの内部クロック(システムクロッ
ク)をカウントダウンしてレジスタ値が「0」になった
ら発生する割込であり、後述する2msタイマ割込とし
て用いられる。具体的には、CH3のレジスタ値はシス
テムクロックの1/256周期で減算される。ステップ
S701eにおいて、CH3のレジスタには、初期値と
して2msに相当する値が設定される。なお、この実施
の形態では、CH2に関する割込番地は0074Hであ
り、CH3に関する割込番地は0076Hである。
The interrupt based on the count up of the channel 2 (CH2) of the CTC is an interrupt generated when the value of the timer counter register CLK / TRG2 becomes "0". Therefore, for example, in step S701e, the initial value “1” is set in the timer counter register CLK / TRG2 as the specific register. Also,
The interrupt based on the count up of the channel 3 (CH3) of the CTC is an interrupt generated when the register value becomes “0” after counting down the internal clock (system clock) of the CPU, and a 2 ms timer interrupt described later. Used as Specifically, the register value of CH3 is subtracted in 1/256 cycle of the system clock. In step S701e, a value corresponding to 2 ms is set as an initial value in the register of CH3. In this embodiment, the interrupt address for CH2 is 0074H, and the interrupt address for CH3 is 0076H.

【0235】上述したように、CTCのCH2のカウン
トアップにもとづく割込は、CH3のカウントアップに
もとづく割込よりも優先順位が高い。従って、同時にカ
ウントアップが生じた場合に、CH2のカウントアップ
にもとづく割込、すなわち、後述するコマンド受信割込
処理の実行契機となる割込の方が優先される。
As described above, the interrupt based on the count-up of CH2 of CTC has a higher priority than the interrupt based on the count-up of CH3. Therefore, when the count-up occurs at the same time, an interrupt based on the count-up of CH2, that is, an interrupt that triggers execution of a command reception interrupt process described later has priority.

【0236】そして、払出制御用CPU371は、払出
制御用のバックアップRAM領域にバックアップデータ
が存在しているか否かの確認を行う(ステップS70
2)。すなわち、例えば、主基板31のCPU56の処
理と同様に、電源断時にセットされるバックアップフラ
グがセット状態になっているか否かによって、バックア
ップデータが存在しているか否か確認する。バックアッ
プフラグがセット状態になっている場合には、バックア
ップデータありと判断する。バックアップデータなしと
判断された場合には、前回の電源オフ時に未払出の遊技
球がなかったことになり、内部状態を電源断時の状態に
戻す必要がない。従って、払出制御用CPU371は、
停電復旧時でない電源投入時に実行される初期化処理を
実行する(ステップS702,S703)。
The payout control CPU 371 checks whether backup data exists in the payout control backup RAM area (step S70).
2). That is, for example, similarly to the processing of the CPU 56 of the main board 31, it is determined whether or not backup data exists by determining whether or not a backup flag that is set when the power is turned off is in a set state. If the backup flag is set, it is determined that there is backup data. If it is determined that there is no backup data, it means that there was no unpaid game ball when the power was last turned off, and there is no need to return the internal state to the state when the power was turned off. Accordingly, the payout control CPU 371
An initialization process that is performed when the power is turned on, not when the power is restored, is executed (steps S702 and S703).

【0237】バックアップRAM領域にバックアップデ
ータが存在している場合には、払出制御用CPU371
は、バックアップRAM領域のデータチェック(この例
ではパリティチェック)を行う(ステップS704)。
不測の電源断が生じた後に復旧した場合には、バックア
ップRAM領域のデータは保存されていたはずであるか
ら、チェック結果は正常になる。チェック結果が正常で
ない場合には、内部状態を電源断時の状態に戻すことが
できないので、停電復旧時でない電源投入時に実行され
る初期化処理を実行する(ステップS705,S70
3)。
If the backup data exists in the backup RAM area, the payout control CPU 371
Performs a data check (parity check in this example) of the backup RAM area (step S704).
If the power is restored after an unexpected power failure, the data in the backup RAM area should have been saved, and the check result becomes normal. If the check result is not normal, since the internal state cannot be returned to the state at the time of power failure, the initialization processing executed at the time of power-on without power recovery is executed (steps S705 and S70).
3).

【0238】チェック結果が正常であれば、払出制御用
CPU371は、内部状態を電源断時の状態に戻すため
の払出状態復旧処理を行う(ステップS706)。そし
て、バックアップRAM領域に保存されていたPC(プ
ログラムカウンタ)の指すアドレスに復帰する(ステッ
プS707)。
If the check result is normal, the payout control CPU 371 performs a payout state restoring process for returning the internal state to the state at the time of power-off (step S706). Then, the process returns to the address indicated by the PC (program counter) stored in the backup RAM area (step S707).

【0239】通常の初期化処理の実行(ステップS70
3)を終えると、払出制御用CPU371により実行さ
れるメイン処理は、タイマ割込フラグの監視(ステップ
S708)の確認が行われるループ処理に移行する。
Execution of normal initialization processing (step S70)
After 3), the main process executed by the payout control CPU 371 shifts to a loop process in which the timer interrupt flag is monitored (step S708).

【0240】なお、この実施の形態では、ステップS7
02でバックアップデータの有無が確認された後、バッ
クアップデータが存在する場合にステップS704でバ
ックアップ領域のチェックが行われたが、逆に、バック
アップ領域のチェック結果が正常であったことが確認さ
れた後に、バックアップデータの有無の確認が行われる
ようにしてもよい。また、バックアップデータの有無の
確認、またはバックアップ領域のチェックの何れか一方
を確認することによって、停電復旧処理を実行するか否
かを判断するように構成してもよい。
Note that in this embodiment, step S7
02, the presence or absence of backup data is checked, and if backup data exists, the backup area is checked in step S704. Conversely, it is confirmed that the backup area check result is normal. The confirmation of the presence or absence of the backup data may be performed later. Further, it may be configured to determine whether or not to execute the power failure recovery process by confirming whether or not there is backup data or checking the backup area.

【0241】また、例えば停電復旧処理を実行するか否
か判断する場合のパリティチェック(ステップS70
4)の際などに、すなわち、遊技状態を復旧するか否か
判断する際に、保存されていたRAMデータにおける払
出遊技球数データ等によって、遊技機が払出待機状態
(払出途中でない状態)であることが確認されたら、払
出状態復旧処理を行わずに初期化処理を実行するように
してもよい。
Also, for example, a parity check for determining whether or not to execute the power failure recovery processing (step S70)
In the case of 4) or the like, that is, when it is determined whether or not the gaming state is to be restored, the gaming machine is in the standby state for payout (not in the middle of payout) due to the number of payout game balls in the stored RAM data. If it is confirmed that there is, the initialization processing may be executed without performing the payout state restoration processing.

【0242】通常の初期化処理では、図39に示すよう
に、レジスタおよびRAMのクリア処理(ステップS9
01)が行われ、所定の初期値の設定が行われる(ステ
ップS902)。そして、初期設定処理(ステップS7
01a)において割込禁止とされているので、初期化処
理を終える前に割込が許可される(ステップS90
3)。
In the normal initialization process, as shown in FIG. 39, the register and RAM are cleared (step S9).
01) is performed, and a predetermined initial value is set (step S902). Then, the initial setting process (step S7)
01a), the interrupt is prohibited, so the interrupt is permitted before the initialization process is completed (step S90).
3).

【0243】この実施の形態では、払出制御用CPU3
71のCTCのCH3が繰り返しタイマ割込を発生する
ように設定される。また、繰り返し周期は2msに設定
される。そして、図40に示すように、タイマ割込が発
生すると、払出制御用CPU371は、タイマ割込フラ
グをセットする(ステップS712)。なお、図40に
は割込を許可することも明示されているが(ステップS
711)、2msタイマ割込処理では、最初に割込許可
状態に設定される。すなわち、2msタイマ割込処理中
には割込許可状態になっている。
In this embodiment, the payout control CPU 3
CH3 71 is set to repeatedly generate a timer interrupt. The repetition period is set to 2 ms. Then, as shown in FIG. 40, when a timer interrupt occurs, the payout control CPU 371 sets a timer interrupt flag (step S712). Although FIG. 40 clearly indicates that the interrupt is permitted (step S
711) In the 2 ms timer interrupt processing, first, the interrupt permission state is set. That is, the interrupt is permitted during the 2 ms timer interrupt process.

【0244】払出制御用CPU371は、ステップS7
08において、タイマ割込フラグがセットされたことを
検出すると、タイマ割込フラグをリセットするとともに
(ステップS709)、払出制御処理を実行する(ステ
ップS710)。以上の制御によって、この実施の形態
では、払出制御処理は2ms毎に起動されることにな
る。なお、この実施の形態では、タイマ割込処理ではフ
ラグセットのみがなされ、払出制御処理はメイン処理に
おいて実行されるが、タイマ割込処理で払出制御処理を
実行してもよい。
The payout control CPU 371 determines in step S7
If it is detected at 08 that the timer interrupt flag has been set, the timer interrupt flag is reset (step S709), and a payout control process is executed (step S710). According to the above control, in this embodiment, the payout control process is started every 2 ms. In this embodiment, only the flag is set in the timer interrupt processing, and the payout control processing is executed in the main processing. However, the payout control processing may be executed in the timer interrupt processing.

【0245】払出制御用CPU371は、電源投入時
に、バックアップRAM領域のデータを確認するだけ
で、通常の初期設定処理を行うのか払出中の状態を復元
するのか決定できる。すなわち、簡単な判断によって、
未払出の遊技球について払出処理再開を行うことができ
る。さらに、この実施の形態では、主基板31における
遊技制御と同様に、パリティチェックコードによって記
憶内容保存の確実化が図られている。
At the time of power-on, the payout control CPU 371 can determine whether to execute the normal initialization processing or to restore the payout state only by checking the data in the backup RAM area. That is, with a simple judgment,
The payout process can be restarted for unpaid game balls. Further, in this embodiment, as in the case of the game control on the main board 31, the storage contents are reliably stored by the parity check code.

【0246】図41は、払出制御用CPU371が内蔵
するRAMの使用例を示す説明図である。この例では、
バックアップRAM領域に、総合個数記憶(例えば2バ
イト)と貸し球個数記憶とがそれぞれ形成されている。
総合個数記憶は、主基板31の側から指示された賞球払
出個数の総数を記憶するものである。貸し球個数記憶
は、未払出の球貸し個数を記憶するものである。なお、
賞球払出個数の総数でなく、主基板31の側から指示さ
れた賞球払出個数の所定単位数毎(例えば、6個、10
個、15個)に区分けして記憶するようにしてもよい。
FIG. 41 is an explanatory diagram showing an example of use of the RAM incorporated in the payout control CPU 371. In this example,
In the backup RAM area, a total number storage (for example, 2 bytes) and a rental ball number storage are respectively formed.
The total number storage stores the total number of awarded ball payouts instructed from the main board 31 side. The rental ball number storage stores the number of unpaid ball rentals. In addition,
Instead of the total number of awarded ball payouts, a predetermined number of awarded ball payouts instructed from the main board 31 (for example, 6, 10
, And 15).

【0247】また、図41に示すように、この例では、
払出制御用CPU371が内蔵するRAMのバックアッ
プRAM領域に、払出残数記憶が形成されている。払出
残数記憶は、1回の払出動作で払い出される遊技媒体の
個数(払出予定数)のうち、未だ払い出されていない遊
技媒体の個数を記憶するものである。
As shown in FIG. 41, in this example,
In the backup RAM area of the RAM incorporated in the payout control CPU 371, the remaining payout number storage is formed. The remaining payout number storage stores the number of game media that have not been paid out among the number of game media to be paid out in one payout operation (planned payout number).

【0248】図42は、主基板31から受信した払出制
御コマンドを格納するための受信バッファの一構成例を
示す説明図である。この例では、2バイト構成の払出制
御コマンドを6個格納可能なリングバッファ形式の受信
バッファが用いられる。従って、受信バッファは、確定
コマンドバッファ1〜12の12バイトの領域で構成さ
れる。そして、受信したコマンドをどの領域に格納する
のかを示すコマンド受信個数カウンタが用いられる。コ
マンド受信個数カウンタは、0〜11の値をとる。
FIG. 42 is an explanatory diagram showing an example of the configuration of a receiving buffer for storing the payout control command received from the main board 31. In this example, a ring buffer type receiving buffer capable of storing six payout control commands having a 2-byte configuration is used. Therefore, the reception buffer is constituted by a 12-byte area of the fixed command buffers 1 to 12. Then, a command reception number counter indicating in which area the received command is stored is used. The command reception number counter takes a value from 0 to 11.

【0249】図43は、割込処理による払出制御コマン
ド受信処理を示すフローチャートである。主基板31か
らの払出制御用のINT信号は払出制御用CPU371
のCLK/TRG2端子に入力されている。よって、主
基板31からのINT信号がオン状態になると、初期値
として「1」が設定されていたタイマカウンタレジスタ
CLK/TRG2の値が0になって払出制御用CPU3
71において割込がかかる。そして、図43に示す払出
制御コマンドの受信処理が開始される。なお、払出制御
コマンド受信処理の開始番地は、内蔵CTCから出力さ
れる割込ベクタとIレジスタに設定された値とで決定さ
れる番地である。また、タイマカウンタレジスタCLK
/TRG2の値が0になると、その値は自動的に初期値
(この例では「1」)に戻される。
FIG. 43 is a flowchart showing a payout control command receiving process by the interrupt process. An INT signal for payout control from the main board 31 is supplied to a payout control CPU 371.
Are input to the CLK / TRG2 terminal. Therefore, when the INT signal from the main board 31 is turned on, the value of the timer counter register CLK / TRG2, which has been set to “1” as the initial value, becomes 0, and the payout control CPU 3
At 71, an interrupt occurs. Then, the receiving process of the payout control command shown in FIG. 43 is started. The start address of the payout control command receiving process is an address determined by the interrupt vector output from the built-in CTC and the value set in the I register. Also, the timer counter register CLK
When the value of / TRG2 becomes 0, that value is automatically returned to the initial value ("1" in this example).

【0250】払出制御コマンドの受信処理において、払
出制御用CPU371は、まず、各レジスタをスタック
に退避する(ステップS850)。なお、割込が発生す
るとCPU371は自動的に割込禁止状態に設定する
が、自動的に割込禁止状態にならないCPUを用いてい
る場合には、ステップS850の処理の実行前に割込禁
止命令(DI命令)を発行することが好ましい。次い
で、払出制御コマンドデータの入力に割り当てられてい
る入力ポート372aからデータを読み込む(ステップ
S851)。そして、2バイト構成の払出制御コマンド
のうちの1バイト目であるか否か確認する(ステップS
852)。1バイト目であるか否かは、受信したコマン
ドの先頭ビットが「1」であるか否かによって確認され
る。先頭ビットが「1」であるのは、2バイト構成であ
る払出制御コマンドのうちのMODEバイト(1バイト
目)のはずである(図21参照)。そこで、払出制御用
CPU371は、先頭ビットが「1」であれば、有効な
1バイト目を受信したとして、受信したコマンドを受信
バッファ領域におけるコマンド受信個数カウンタが示す
確定コマンドバッファに格納する(ステップS85
3)。
In the processing of receiving the payout control command, the payout control CPU 371 first saves each register in the stack (step S850). Note that when an interrupt occurs, the CPU 371 automatically sets the interrupt prohibition state. However, when a CPU that does not automatically enter the interrupt prohibition state is used, the interrupt prohibition is performed before the execution of the process of step S850. It is preferable to issue an instruction (DI instruction). Next, data is read from the input port 372a assigned to the input of the payout control command data (step S851). Then, it is confirmed whether or not this is the first byte of the payout control command having the 2-byte structure (step S).
852). Whether it is the first byte or not is confirmed by whether or not the first bit of the received command is “1”. The first bit should be “1” in the MODE byte (first byte) of the payout control command having a 2-byte configuration (see FIG. 21). Therefore, if the first bit is “1”, the payout control CPU 371 determines that the valid first byte has been received, and stores the received command in the confirmed command buffer indicated by the command reception number counter in the reception buffer area (step S85
3).

【0251】払出制御コマンドのうちの1バイト目でな
ければ、1バイト目を既に受信したか否か確認する(ス
テップS854)。既に受信したか否かは、受信バッフ
ァ(確定コマンドバッファ)に有効なデータが設定され
ているか否かによって確認される。
If it is not the first byte of the payout control command, it is confirmed whether or not the first byte has already been received (step S854). Whether or not the data has already been received is confirmed based on whether or not valid data is set in the reception buffer (fixed command buffer).

【0252】1バイト目を既に受信している場合には、
受信した1バイトのうちの先頭ビットが「0」であるか
否か確認する。そして、先頭ビットが「0」であれば、
有効な2バイト目を受信したとして、受信したコマンド
を、受信バッファ領域におけるコマンド受信個数カウン
タ+1が示す確定コマンドバッファに格納する(ステッ
プS855)。先頭ビットが「0」であるのは、2バイ
ト構成である払出制御コマンドのうちのEXTバイト
(2バイト目)のはずである(図21参照)。なお、ス
テップS854における確認結果が1バイト目を既に受
信したである場合には、2バイト目として受信したデー
タのうちの先頭ビットが「0」でなければ処理を終了す
る。
If the first byte has already been received,
It is checked whether the first bit of the received 1 byte is “0”. And if the first bit is “0”,
Assuming that the valid second byte has been received, the received command is stored in the fixed command buffer indicated by the command reception number counter +1 in the reception buffer area (step S855). The first bit should be “0” in the EXT byte (second byte) of the payout control command having the two-byte structure (see FIG. 21). If it is determined in step S854 that the first byte has already been received, the process ends if the first bit of the data received as the second byte is not “0”.

【0253】ステップS855において、2バイト目の
コマンドデータを格納すると、コマンド受信個数カウン
タに2を加算する(ステップS856)。そして、コマ
ンド受信カウンタが12以上であるか否か確認し(ステ
ップS857)、12以上であればコマンド受信個数カ
ウンタをクリアする(ステップS858)。その後、退
避されていたレジスタを復帰し(ステップS859)、
割込許可に設定する(ステップS859)。
In step S855, when the command data of the second byte is stored, 2 is added to the command reception number counter (step S856). Then, it is checked whether or not the command reception counter is 12 or more (step S857), and if it is 12, the command reception number counter is cleared (step S858). After that, the saved register is restored (step S859),
Interrupt permission is set (step S859).

【0254】コマンド受信割込処理中は割込禁止状態に
なっている。上述したように、2msタイマ割込処理中
は割込許可状態になっているので、2msタイマ割込中
にコマンド受信割込が発生した場合には、コマンド受信
割込処理が優先して実行される。また、コマンド受信割
込処理中に2msタイマ割込が発生しても、その割込処
理は待たされる。このように、この実施の形態では、主
基板31からのコマンド受信処理の処理優先度が高くな
っている。また、コマンド受信処理中には他の割込処理
が実行されないので、コマンド受信処理に要する最長時
間は決まる。コマンド受信処理中に他の割込処理が実行
可能であるように構成したのでは、コマンド受信処理に
要する最長の時間を見積もることは困難である。コマン
ド受信処理に要する最長時間が決まるので、遊技制御手
段のコマンド送出処理におけるCの期間(図22参照)
をどの程度にすればよいのかを正確に判断することがで
きる。
During the command reception interruption processing, the interruption is prohibited. As described above, the interrupt is permitted during the 2 ms timer interrupt process. Therefore, if a command reception interrupt occurs during the 2 ms timer interrupt, the command reception interrupt process is executed with priority. You. Further, even if a 2 ms timer interrupt occurs during the command reception interrupt process, the interrupt process is kept waiting. As described above, in this embodiment, the processing priority of the command reception processing from the main board 31 is high. Further, since no other interrupt processing is executed during the command reception processing, the maximum time required for the command reception processing is determined. It is difficult to estimate the longest time required for the command receiving process if the configuration is such that another interrupt process can be executed during the command receiving process. Since the maximum time required for the command receiving process is determined, a period C in the command sending process of the game control means (see FIG. 22).
Can be accurately determined.

【0255】また、賞球や貸し球の払出停止状態である
か否かを確認することなくコマンド受信割込処理が実行
されるため、払出停止などの状態であっても、主基板3
1より入力した払出制御コマンドが確実に受信され、受
信バッファ領域におけるコマンド受信個数カウンタにも
とづく所定の確定コマンドバッファに確実に格納され
る。従って、払出制御用CPU371は、払出停止など
の状態であっても、入力した例えば賞球個数指定に関す
る払出制御コマンドを確実に記憶するように制御するこ
とができ、図45に示す後述する処理によって払出制御
コマンドに示されている払出個数をバックアップRAM
領域(総合個数記憶)に加算する処理を確実に実行する
ことが可能となる。
Further, since the command reception interrupt processing is executed without confirming whether or not the prize ball or the loaned ball is in the state of stopping the payout, the main board 3 may be stopped even in the state of the stoppage of the payout or the like.
The payout control command input from 1 is reliably received and securely stored in a predetermined fixed command buffer based on the command reception number counter in the reception buffer area. Therefore, the payout control CPU 371 can control to reliably store the payout control command relating to the designation of the number of winning balls, for example, even in the state of stoppage of payout. The number of payouts indicated in the payout control command is stored in the backup RAM.
Processing to add to the area (total number storage) can be executed reliably.

【0256】また、払出制御コマンドは2バイト構成で
あって、1バイト目(MODE)と2バイト目(EX
T)とは、受信側で直ちに区別可能に構成されている。
すなわち、先頭ビットによって、MODEとしてのデー
タを受信したのかEXTとしてのデータを受信したのか
を、受信側において直ちに検出できる。よって、上述し
たように、適正なデータを受信したのか否かを容易に判
定することができる。
The payout control command has a 2-byte structure, and includes a first byte (MODE) and a second byte (EX).
T) is configured to be immediately distinguishable on the receiving side.
In other words, the receiving side can immediately detect whether the data as MODE or the data as EXT has been received by the first bit. Therefore, as described above, it can be easily determined whether or not appropriate data has been received.

【0257】図44は、ステップS710の払出制御処
理を示すフローチャートである。払出制御処理におい
て、払出制御用CPU371は、まず、中継基板72を
介して入力ポート372bに入力される賞球カウントス
イッチ301A、球貸しカウントスイッチ301Bがオ
ンしたか否かを判定する(スイッチ処理:ステップS7
51)。
FIG. 44 is a flowchart showing the payout control processing in step S710. In the payout control processing, the payout control CPU 371 first determines whether or not the prize ball count switch 301A and the ball lending count switch 301B input to the input port 372b via the relay board 72 are turned on (switch processing: Step S7
51).

【0258】次に、払出制御用CPU371は、センサ
(例えば、賞球モータ289Aの回転数を検出するモー
タ位置センサ)からの信号入力状態を確認してセンサの
状態を判定する等の処理を行う(入力判定処理:ステッ
プS752)。払出制御用CPU371は、さらに、受
信した払出制御コマンドを解析し、解析結果に応じた処
理を実行する(コマンド解析実行処理:ステップS75
3)。
Next, the payout control CPU 371 performs processing such as checking a signal input state from a sensor (for example, a motor position sensor for detecting the number of revolutions of the prize ball motor 289A) to determine the state of the sensor. (Input determination processing: Step S752). The payout control CPU 371 further analyzes the received payout control command and executes processing according to the analysis result (command analysis execution processing: step S75).
3).

【0259】次いで、払出制御用CPU371は、主基
板31から払出停止指示コマンドを受信していたら払出
停止状態に設定し、払出開始指示コマンドを受信してい
たら払出停止状態の解除を行う(ステップS754)。
また、プリペイドカードユニット制御処理を行う(ステ
ップS755)。
Next, the payout control CPU 371 sets the payout stop state if the payout stop command is received from the main board 31, and releases the payout stop state if the payout start instruction command is received (step S754). ).
Further, a prepaid card unit control process is performed (step S755).

【0260】次いで、払出制御用CPU371は、球貸
し要求に応じて貸し球を払い出す制御を行う(ステップ
S756)。また、出力ポート372cおよび中継基板
72を介して貸し球払出装置97Cの払出機構部分にお
ける球貸しソレノイド127に対して駆動信号を出力
し、所定の個数分球貸しソレノイド127を駆動(オン
/オフ)させる球貸しソレノイド制御処理を行う(ステ
ップS757)。
Next, the payout control CPU 371 performs control to pay out the lent ball in response to the ball lending request (step S756). Further, a drive signal is output to the ball lending solenoid 127 in the payout mechanism portion of the ball lending device 97C via the output port 372c and the relay board 72, and the ball lending solenoid 127 is driven by a predetermined number (on / off). A ball lending solenoid control process is performed (step S757).

【0261】さらに、払出制御用CPU371は、総合
個数記憶に格納された個数の賞球を払い出す賞球制御処
理を行う(ステップS758)。そして、出力ポート3
72cおよび中継基板72を介して賞球払出装置97A
の払出機構部分における賞球モータ289Aに対して駆
動信号を出力し、ステップS758の賞球制御処理で設
定された回転数分賞球モータ289Aを回転させる賞球
モータ制御処理を行う(ステップS759)。
Furthermore, the payout control CPU 371 performs a prize ball control process of paying out the prize balls of the number stored in the total number storage (step S758). And output port 3
Prize ball payout device 97A via the relay board 72c and the relay board 72
A drive signal is output to the prize ball motor 289A in the payout mechanism portion of the prize ball motor 289A, and the prize ball motor control processing for rotating the prize ball motor 289A by the number of revolutions set in the prize ball control processing in step S758 is performed (step S759) .

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

【0263】次いで、エラー検出処理が行われ、その結
果に応じてエラー表示LED374に所定の表示を行う
(エラー処理:ステップS760)。検出されるエラー
として、例えば、次の10種類がある。
Next, error detection processing is performed, and a predetermined display is made on the error display LED 374 according to the result (error processing: step S760). For example, the following ten types of errors are detected.

【0264】賞球経路エラー:賞球払出動作終了したと
き、または賞球モータ289Aが1回転したときに賞球
カウントスイッチ301Aが1個も遊技球の通過を検出
しなかったとき。エラー表示LED374に「0」が表
示される。
Prize ball path error: When the prize ball payout operation is completed, or when the prize ball motor 289A makes one rotation, the prize ball count switch 301A does not detect any passage of the game ball. “0” is displayed on the error display LED 374.

【0265】球貸し経路エラー:球貸しの払出動作終了
したとき、または球貸しソレノイド127が所定回数オ
ンしたときに球貸しカウントスイッチ301Bが1個も
遊技球の通過を検出しなかったとき。エラー表示LED
374に「1」が表示される。
Ball lending path error: When the ball lending payout operation is completed, or when the ball lending solenoid 127 is turned on a predetermined number of times, no ball lending count switch 301B detects passage of a game ball. Error display LED
“1” is displayed at 374.

【0266】賞球カウントスイッチ球詰まりエラー:賞
球カウントスイッチ301Aが0.5秒以上オンを検出
したとき。エラー表示LED374に「2」が表示され
る。
Prize ball count switch ball clogging error: when the prize ball count switch 301A detects ON for 0.5 seconds or more. “2” is displayed on the error display LED 374.

【0267】球貸しカウントスイッチ球詰まりエラー:
球貸しカウントスイッチ301Bが0.5秒以上オンを
検出したとき。エラー表示LED374に「3」が表示
される。
Ball lending count switch Ball clogging error:
When the ball lending count switch 301B detects ON for 0.5 seconds or more. “3” is displayed on the error display LED 374.

【0268】賞球モータ球噛みエラー:賞球モータ28
9Aが正常に回転しないとき。具体的には、賞球モータ
位置センサのオンが所定期間以上継続したり、オフが所
定期間以上継続した場合。エラー表示LED374に
「4」が表示される。なお、賞球モータ球噛みエラーが
生じた場合には、払出制御用CPU371は、50ms
の基準励磁相の出力を行った後、1−2相励磁の励磁パ
ターンデータのうちの4種類の励磁パターンデータを8
ms毎に出力することによる賞球モータ289Aの逆回
転と正回転を繰り返す。
Prize ball motor ball biting error: Prize ball motor 28
When 9A does not rotate normally. Specifically, when the award ball motor position sensor has been on for a predetermined period or more, or has been off for a predetermined period or more. “4” is displayed on the error display LED 374. When a prize ball motor ball biting error occurs, the payout control CPU 371 sets the time to 50 ms.
After the reference excitation phase is output, four types of excitation pattern data of the excitation pattern data of the 1-2 phase excitation are
The reverse rotation and the forward rotation of the prize ball motor 289A by outputting every ms are repeated.

【0269】プリペイドカードユニット未接続エラー:
VL信号のオフが検出されたとき。エラー表示LED3
74に「5」が表示される。
Prepaid card unit not connected error:
When the off of the VL signal is detected. Error display LED3
“5” is displayed at 74.

【0270】プリペイドカードユニット通信エラー:規
定のタイミング以外でプリペイドカードユニット50か
ら信号出力されたことを検出したとき。エラー表示LE
D374に「6」が表示される。
Prepaid card unit communication error: When it is detected that a signal is output from the prepaid card unit 50 at a timing other than the prescribed timing. Error display LE
“6” is displayed in D374.

【0271】賞球停止状態:主基板31から賞球の払出
停止を示す払出制御コマンドを受信したとき。エラー表
示LED374に「7」が表示される。なお、主基板3
1から賞球の払出開始を示す払出制御コマンドを受信し
たときには、その時点から2002ms後に、払出停止
状態から払出可能状態に復帰する。
Prize ball stop state: When a payout control command indicating stop of payout of award balls is received from the main board 31. “7” is displayed on the error display LED 374. The main substrate 3
When the payout control command indicating the start of payout of the prize ball is received from 1, the state returns from the payout stop state to the payable state after 2002 ms from that time.

【0272】球貸し停止状態:球切れスイッチ187c
が球切れ検出したとき。エラー表示LED374に
「8」が表示される。
Ball lending stop state: Ball out switch 187c
Is detected when the ball has run out. “8” is displayed on the error display LED 374.

【0273】さらに、払出制御用CPU371は、外部
接続端子(図示せず)から出力する情報信号を制御する
処理を行う(出力処理:ステップS761)。なお、情
報信号は、貸し球の払出一単位(例えば100円分:2
5個)ごとに所定時間オンとなり、続いて所定時間オフ
を出力する信号である。
Further, the payout control CPU 371 performs processing for controlling an information signal output from an external connection terminal (not shown) (output processing: step S761). In addition, the information signal is one unit of the payout of the rental ball (for example, for 100 yen: 2
5) for a predetermined period of time, and subsequently output a predetermined time off.

【0274】図45は、ステップS753のコマンド解
析実行処理の一例を示すフローチャートである。コマン
ド解析実行処理において、払出制御用CPU371は、
確定コマンドバッファ領域中に受信コマンドがあるか否
かの確認を行う(ステップS753a)。受信コマンド
があれば、受信した払出制御コマンドが払出個数指示コ
マンドであるか否かの確認を行う(ステップS753
b)。なお、確定コマンドバッファ領域中に複数の受信
コマンドがある場合には、受信した払出制御コマンドが
払出個数指示コマンドであるか否かの確認は、最も前に
受信された受信された受信コマンドについて行われる。
FIG. 45 is a flowchart showing an example of the command analysis execution processing in step S753. In the command analysis execution processing, the payout control CPU 371
It is checked whether there is a received command in the confirmed command buffer area (step S753a). If there is a received command, it is checked whether the received payout control command is a payout number instruction command (step S753).
b). If there are a plurality of received commands in the confirmed command buffer area, whether or not the received payout control command is the payout number instruction command is checked for the earliest received received command. Will be

【0275】受信した払出制御コマンドが払出個数指示
コマンドであれば、払出個数指示コマンドで指示された
個数を総合個数記憶に加算する(ステップS753
c)。すなわち、払出制御用CPU371は、主基板3
1のCPU56から送られた払出個数指示コマンドに含
まれる賞球数をバックアップRAM領域(総合個数記
憶)に記憶する。
If the received payout control command is the payout number instruction command, the number specified by the payout number instruction command is added to the total number storage (step S753).
c). That is, the payout control CPU 371 is connected to the main board 3
The number of prize balls included in the number-of-payouts instruction command sent from the first CPU 56 is stored in the backup RAM area (total number storage).

【0276】なお、払出制御用CPU371は、必要な
らば、コマンド受信個数カウンタの減算や確定コマンド
バッファ領域における受信コマンドシフト処理を行う。
[0276] The payout control CPU 371 performs a command decrement of the command reception number counter and a reception command shift process in the confirmed command buffer area, if necessary.

【0277】図46は、ステップS754の払出停止状
態設定処理の一例を示すフローチャートである。払出停
止状態設定処理において、払出制御用CPU371は、
確定コマンドバッファ領域中に受信コマンドがあるか否
かの確認を行う(ステップS754a)。確定コマンド
バッファ領域中に受信コマンドがあれば、受信した払出
制御コマンドが払出停止指示コマンドであるか否かの確
認を行う(ステップS754b)。払出停止指示コマン
ドであれば、払出制御用CPU371は、賞球および貸
し球について払出停止状態に設定する(ステップS75
4c)。
FIG. 46 is a flowchart showing an example of the payout stop state setting process in step S754. In the payout stop state setting process, the payout control CPU 371
It is checked whether there is a received command in the confirmed command buffer area (step S754a). If there is a received command in the confirmed command buffer area, it is checked whether or not the received payout control command is a payout stop instruction command (step S754b). If the command is the payout stop instruction command, the payout control CPU 371 sets the payout stop state for the prize ball and the loaned ball (step S75).
4c).

【0278】ステップS754bで受信コマンドが払出
停止指示コマンドでないことを確認すると、払出制御用
CPU371は、受信した払出制御コマンドが賞球払出
停止指示コマンドであるか否かの確認を行う(ステップ
S754d)。賞球払出停止指示コマンドであれば、賞
球払出停止状態に設定する(ステップS754e)。賞
球払出停止指示コマンドでもなければ、受信した払出制
御コマンドが払出完了確認指示コマンドであるか否かの
確認を行う(ステップS754f)。払出完了確認指示
コマンドであれば、1回の払出動作によって払い出され
る賞球個数の払出が完了したか否かの確認が可能な状態
となるための設定を行う(ステップS754g)。払出
完了確認指示コマンドでもなければ、受信した払出制御
コマンドが球貸し停止指示コマンドであるか否かの確認
を行う(ステップS754h)。球貸し停止指示コマン
ドであれば、球貸し停止状態に設定する(ステップS7
54i)。
If it is determined in step S754b that the received command is not a payout stop instruction command, the payout control CPU 371 checks whether the received payout control command is a prize ball payout stop instruction command (step S754d). . If it is a prize ball payout stop instruction command, it is set to a prize ball payout stop state (step S754e). If it is not the award ball payout stop instruction command, it is checked whether the received payout control command is a payout completion confirmation instruction command (step S754f). If it is a payout completion confirmation instruction command, a setting is made so that it is possible to check whether or not the payout of the number of prize balls paid out by one payout operation has been completed (step S754g). If it is not a payout completion confirmation command, it is checked whether the received payout control command is a ball lending stop command (step S754h). If the command is a ball lending stop instruction command, a ball lending stop state is set (step S7).
54i).

【0279】ステップS754hにて受信した払出制御
コマンドが球貸し停止指定コマンドでないことを確認す
ると、払出制御用CPU371は、受信した払出制御コ
マンドが賞球払出可能指定コマンドであるか否かの確認
を行う(ステップS754j)。賞球払出可能指定コマ
ンドであれば、賞球払出停止状態(あるいは、払出完了
確認可能状態)を解除する(ステップS754k)。賞
球払出可能指定コマンドでなければ、受信した払出制御
コマンドが球貸し可能指定コマンドであるか否かの確認
を行う(ステップS754l)。球貸し可能指定コマン
ドであれば、球貸し停止状態を解除する(ステップS7
54m)。
When confirming that the received payout control command is not a ball lending stop designation command in step S754h, the payout control CPU 371 checks whether the received payout control command is a prize ball payout possible designation command. (Step S754j). If the command is a prize ball payout designation command, the prize ball payout stop state (or the payout completion confirmation possible state) is released (step S754k). If the command is not a prize ball payout designation command, it is checked whether or not the received payout control command is a ball lending possible designation command (step S754l). If the command is a ball lending possible designation command, the ball lending suspension state is released (step S7).
54m).

【0280】図47は、ステップS751のスイッチ処
理の一例を示すフローチャートである。スイッチ処理に
おいて、払出制御用CPU371は、賞球カウントスイ
ッチ301Aがオン状態を示しているか否か確認する
(ステップS751a)。オン状態を示していれば、払
出制御用CPU371は、賞球カウントスイッチオンカ
ウンタを+1する(ステップS751b)。賞球カウン
トスイッチオンカウンタは、賞球カウントスイッチ30
1Aのオン状態を検出した回数を計数するためのカウン
タである。
FIG. 47 is a flowchart showing an example of the switch processing in step S751. In the switch processing, the payout control CPU 371 checks whether or not the award ball count switch 301A indicates the ON state (step S751a). If it indicates the ON state, the payout control CPU 371 increments the winning ball count switch ON counter by one (step S751b). The prize ball count switch on counter includes the prize ball count switch 30.
This is a counter for counting the number of times the 1A ON state is detected.

【0281】そして、賞球カウントスイッチオンカウン
タの値をチェックし、その値が250になっていれば
(ステップS751c)、賞球球詰まりフラグをセット
する(ステップS751d)。つまり、賞球カウントス
イッチ301Aのオン状態が長期間継続した場合に賞球
球詰まりフラグがセットされる。
Then, the value of the winning ball count switch on counter is checked, and if the value is 250 (step S751c), a winning ball clogging flag is set (step S751d). That is, when the ON state of the prize ball count switch 301A continues for a long time, the prize ball clogging flag is set.

【0282】また、賞球カウントスイッチオンカウンタ
の値が2になったときには(ステップS751e)、確
実に賞球カウントスイッチ301Aがオンした判断し、
賞球カウントスイッチオンフラグをセットする(ステッ
プS751f)。
When the value of the prize ball count switch on counter has reached 2 (step S751e), it is determined that the prize ball count switch 301A has been turned on without fail.
The award ball count switch on flag is set (step S751f).

【0283】ステップS751aにおいて賞球カウント
スイッチ301Aがオン状態でないことが確認される
と、払出制御用CPU371は、賞球カウントスイッチ
オンフラグをリセットするとともに(ステップS751
h)、賞球カウントスイッチオンカウンタをクリアする
(ステップS751i)。そして、球貸しカウントスイ
ッチ301Bがオン状態を示しているか否か確認する
(ステップS751j)。オン状態を示していれば、払
出制御用CPU371は、球貸しカウントスイッチオン
カウンタを+1する(ステップS751k)。球貸しカ
ウントスイッチオンカウンタは、球貸しカウントスイッ
チ301Bのオン状態を検出した回数を計数するための
カウンタである。
If it is determined in step S751a that the prize ball count switch 301A is not on, the payout control CPU 371 resets the prize ball count switch on flag (step S751).
h), the award ball count switch on counter is cleared (step S751i). Then, it is determined whether or not the ball lending count switch 301B indicates the ON state (step S751j). If the ON state is indicated, the payout control CPU 371 increments the ball lending count switch ON counter by one (step S751k). The ball lending count switch on counter is a counter for counting the number of times that the ball lending count switch 301B has been turned on.

【0284】そして、球貸しカウントスイッチオンカウ
ンタの値をチェックし、その値が250になっていれば
(ステップS751l)、貸し球詰まりフラグをセット
する(ステップS751m)。つまり、球貸しカウント
スイッチ301Bのオン状態が長期間継続した場合に貸
し球球詰まりフラグがセットされる。
Then, the value of the ball lending count switch on counter is checked, and if the value is 250 (step S7511), a lending ball clogging flag is set (step S751m). That is, when the ball lending count switch 301B has been on for a long period of time, the lending ball clogging flag is set.

【0285】また、球貸しカウントスイッチオンカウン
タの値が2になったときには(ステップS751n)、
確実に球貸しカウントスイッチ301Bがオンした判断
し、球貸しカウントスイッチオンフラグをセットする
(ステップS751o)。
When the value of the ball lending count switch-on counter has become 2 (step S751n),
It is determined that the ball lending count switch 301B has been turned on, and the ball lending count switch on flag is set (step S751o).

【0286】ステップS751jにおいて球貸しカウン
トスイッチ301Bがオン状態でないことが確認される
と、払出制御用CPU371は、球貸しカウントスイッ
チオンフラグをリセットするとともに(ステップS75
1p)球貸しカウントスイッチオンカウンタをクリアす
る(ステップS751q)。
If it is determined in step S751j that the ball lending count switch 301B is not on, the payout control CPU 371 resets the ball lending count switch on flag (step S75).
1p) The ball lending count switch on counter is cleared (step S751q).

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

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

【0289】ステップS755aにおいてVL信号を検
知していれば、払出制御用CPU371は、VLオフ検
出フラグをリセットするとともに(ステップS755
f)、VL信号非検知カウンタをクリアする(ステップ
S755g)。そして、払出制御用CPU371は、発
射制御信号出力を停止していれば(ステップS755
h)、発射制御基板91への発射制御信号出力を開始し
て駆動モータ94を動作可能状態にする(ステップS7
55i)。
If the VL signal has been detected in step S755a, the payout control CPU 371 resets the VL off detection flag (step S755).
f), the VL signal non-detection counter is cleared (step S755g). Then, the payout control CPU 371 stops outputting the firing control signal (step S755).
h), output of a firing control signal to the firing control board 91 is started, and the drive motor 94 is made operable (step S7).
55i).

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

【0291】球貸し制御処理において、払出制御用CP
U371は、球貸し停止中であるか否かを確認する(ス
テップS501)。なお、球貸し停止中であるか否か
は、ステップS754cまたはステップS754iで設
定される球貸し禁止フラグによって確認される。
In the ball lending control process, the payout control CP
U371 confirms whether or not the ball lending is suspended (step S501). Whether or not the ball lending is stopped is confirmed by the ball lending prohibition flag set in step S754c or step S754i.

【0292】球貸し停止中でなければ、払出制御用CP
U371は、貸し球払出中であるか否かの確認を行い
(ステップS511)、貸し球払出中であれば、ステッ
プS518の処理に移行する。なお、貸し球払出中であ
るか否かは、後述する球貸し処理中フラグの状態によっ
て判断される。貸し球払出中でなければ、払出制御用C
PU371は、カードユニット50から球貸し要求があ
ったか否かを確認する(ステップS512)。要求があ
れば、球貸し処理中フラグをオンするとともに(ステッ
プS513)、25(球貸し一単位数:ここでは100
円分)をバックアップRAM領域の貸し球個数記憶に設
定する(ステップS514)。そして、払出制御用CP
U371は、EXS信号をオンする(ステップS51
5)。また、球貸ソレノイド127の駆動を開始する
(ステップS516)。
If the ball lending is not stopped, the payout control CP
The U371 checks whether or not the loaned ball is being paid out (step S511). If the ball is being paid out, the process shifts to step S518. Whether or not the ball is being paid out is determined based on the state of a ball lending process flag described later. If the ball is not being paid out, the payout control C
The PU 371 confirms whether or not there has been a ball lending request from the card unit 50 (Step S512). If there is a request, the ball lending process flag is turned on (step S513), and 25 (the number of ball lending units: 100 in this case)
Is set as the number of lent balls in the backup RAM area (step S514). And the payout control CP
The U371 turns on the EXS signal (step S51).
5). Further, driving of the ball rental solenoid 127 is started (step S516).

【0293】なお、球貸ソレノイド127の駆動を開始
するのは、厳密には、カードユニット50が受付を認識
したことを示すためにBRQ信号をOFFとしてからで
ある。なお、球貸し禁止フラグおよび球貸し処理中フラ
グはバックアップRAM領域に設定される。
Strictly speaking, the driving of the ball rental solenoid 127 is started after the BRQ signal is turned off to indicate that the card unit 50 has recognized the reception. The ball lending prohibition flag and the ball lending processing flag are set in the backup RAM area.

【0294】ステップS518において、払出制御用C
PU371は、貸し球通過待ち時間中であるか否かの確
認を行う(ステップS518)。貸し球通過待ち時間中
でなければ、後述する球貸しカウントスイッチチェック
処理を行う(ステップS520)。
At step S518, the payout control C
The PU 371 confirms whether or not it is during the rental ball passage waiting time (step S518). If it is not during the lending ball passage waiting time, a ball lending count switch check process described later is performed (step S520).

【0295】次いで、払出制御用CPU371は、球貸
しソレノイド127の駆動を終了すべきか(一単位の払
出動作が終了したか)否かの確認を行う(ステップS5
21)。具体的には、所定個数の払出に対応したオン/
オフ動作が完了したか否かを確認する。所定個数の払出
に対応したオン/オフ動作が完了した場合には、払出制
御用CPU371は、球貸しソレノイド127の駆動を
停止し(ステップS522)、貸し球通過待ち時間の設
定を行う(ステップS523)。
Next, the payout control CPU 371 checks whether or not the driving of the ball lending solenoid 127 should be ended (whether one unit of the payout operation has ended) (step S5).
21). Specifically, on / off corresponding to a predetermined number of payouts
Check whether the OFF operation has been completed. When the on / off operation corresponding to the predetermined number of payouts is completed, the payout control CPU 371 stops driving the ball lending solenoid 127 (step S522) and sets a lending ball passage waiting time (step S523). ).

【0296】ステップS518で貸し球通過待ち時間中
であれば、払出制御用CPU371は、後述する球貸し
カウントスイッチチェック処理を行うとともに(ステッ
プS524)、貸し球通過待ち時間が終了したか否かの
確認を行う(ステップS525)。貸し球通過待ち時間
は、最後の払出球が球貸しソレノイド127によって払
い出されてから球貸しカウントスイッチ301Bを通過
するまでの時間である。
If it is during the waiting time for passing a ball in step S518, the payout control CPU 371 performs a ball lending count switch check process to be described later (step S524), and determines whether the waiting time for passing a ball has been completed. Confirmation is performed (step S525). The lending ball passage waiting time is the time from when the last payout ball is paid out by the ball lending solenoid 127 to when it passes through the ball lending count switch 301B.

【0297】貸し球通過待ち時間の終了を確認すると、
一単位の貸し球は全て払い出された状態であるので、カ
ードユニット50に対して次の球貸し要求の受付が可能
になったことを示すためにEXS信号をオフにする(ス
テップS526)。また、球貸し処理中フラグをオフす
る(ステップS527)。なお、貸し球通過待ち時間が
経過するまでに最後の払出球が球貸しカウントスイッチ
301Bを通過しなかった場合には、球貸し経路エラー
とされる。
When confirming the end of the waiting time for passing the rental ball,
Since all the lending balls have been paid out, the EXS signal is turned off to indicate to the card unit 50 that the next ball lending request can be accepted (step S526). The ball lending processing flag is turned off (step S527). If the last payout ball has not passed through the ball lending count switch 301B before the passage of the ball lending wait time, a ball lending path error is determined.

【0298】なお、球貸し要求の受付を示すEXS信号
をオフにした後、所定期間内に再び球貸し要求信号であ
るBRQ信号がオンしたら、球貸しソレノイド127を
オフせずに球貸し処理を続行するようにしてもよい。す
なわち、所定単位(この例では100円単位)毎に球貸
し処理を行うのではなく、球貸し処理を連続して実行す
るように構成することもできる。
After the EXS signal indicating the acceptance of the ball lending request is turned off and the BRQ signal which is the ball lending request signal is turned on again within a predetermined period, the ball lending process is performed without turning off the ball lending solenoid 127. You may make it continue. That is, instead of performing the ball lending process for each predetermined unit (in this example, 100 yen unit), the ball lending process may be performed continuously.

【0299】貸し球個数記憶の内容は、遊技機の電源が
断しても、所定期間電源基板910のバックアップ電源
によって保存される。従って、所定期間中に電源が回復
すると、払出制御用CPU371は、貸し球個数記憶の
内容にもとづいて球貸し処理を継続することができる。
[0299] The contents of the stored number of lent balls are retained by the backup power supply of the power supply board 910 for a predetermined period even if the power of the gaming machine is turned off. Therefore, when the power is restored during the predetermined period, the payout control CPU 371 can continue the ball lending process based on the contents of the lending ball number storage.

【0300】図50は、ステップS520およびS52
4で実行される球貸しカウントスイッチチェック処理を
示すフローチャートである。球貸しカウントスイッチチ
ェック処理は、球貸しカウントスイッチ301Bの状態
を監視して、貸し球個数記憶を減算する処理である。
FIG. 50 shows steps S520 and S52.
9 is a flowchart showing a ball lending count switch check process executed in Step 4. The ball lending count switch check process is a process of monitoring the state of the ball lending count switch 301B and subtracting the lending ball number storage.

【0301】球貸しカウントスイッチチェック処理にお
いて、払出制御用CPU371は、まず、球貸しカウン
トスイッチON待ちフラグがセットされているか否か確
認する(ステップS811)。球貸しカウントスイッチ
ON待ちフラグがセットされていれば、球貸しカウント
スイッチオンフラグがオン状態になるのを待つ(ステッ
プS812)。なお、球貸しカウントスイッチオンフラ
グは、図44に示されたスイッチ処理におけるステップ
S751oでセットされる。球貸しカウントスイッチオ
ンフラグがオン状態になる前にタイマT11がタイムア
ウトすると球貸し経路エラーフラグをセットする(ステ
ップS817,S818)。球貸しカウントスイッチ3
01Bがオンすると、タイマT11を停止して(ステッ
プS813)、球貸しカウントスイッチON待ちフラグ
をリセットする(ステップS814)。なお、タイマT
11は、球貸しカウントスイッチ301Bが所定期間内
にオンするか否かを確認するためのタイマである。
In the ball lending count switch check processing, the payout control CPU 371 first checks whether or not the ball lending count switch ON waiting flag is set (step S811). If the ball lending count switch ON waiting flag is set, the system waits until the ball lending count switch ON flag is turned on (step S812). The ball lending count switch-on flag is set in step S751o in the switch processing shown in FIG. If the timer T11 times out before the ball lending count switch on flag is turned on, the ball lending path error flag is set (steps S817 and S818). Ball rental count switch 3
When 01B is turned on, the timer T11 is stopped (step S813), and the ball lending count switch ON waiting flag is reset (step S814). Note that the timer T
Reference numeral 11 denotes a timer for checking whether or not the ball lending count switch 301B is turned on within a predetermined period.

【0302】球貸しカウントスイッチ301Bがオンし
た場合には、球貸しカウントスイッチ301Bがオフす
ることを確認するために、オフを待つ状態であることを
示す球貸しカウントスイッチOFF待ちフラグをセット
する(ステップS815)。
When the ball lending count switch 301B is turned on, a ball lending count switch OFF wait flag indicating that the ball lending count switch 301B is in the off state is set to confirm that the ball lending count switch 301B is turned off ( Step S815).

【0303】従って、払出制御用CPU371は、球貸
しカウントスイッチOFF待ちフラグがオンしていれば
(ステップS821)、球貸しカウントスイッチオンフ
ラグがオフするのを待つ(ステップS824)。球貸し
カウントスイッチオンフラグがオフすると、球貸しカウ
ントスイッチOFF待ちフラグをリセットする(ステッ
プS825)。そして、1個の遊技球が払い出されたこ
とが検出されたとして、一時計数カウンタを+1する
(ステップS826)。次いで、貸し球個数記憶を−1
する(ステップS828)。
Therefore, if the ball lending count switch OFF waiting flag is on (step S821), the payout control CPU 371 waits for the ball lending count switch on flag to turn off (step S824). When the ball lending count switch on flag is turned off, the ball lending count switch OFF waiting flag is reset (step S825). Then, it is determined that one game ball has been paid out, and the temporary counting counter is incremented by 1 (step S826). Next, the rental ball number memory is reduced by -1.
(Step S828).

【0304】ステップS821で、球貸しカウントスイ
ッチOFF待ちフラグもオンしていないことを確認した
ら、タイマT11をスタートするとともに(ステップS
822)、球貸しカウントスイッチON待ちフラグをセ
ットする(ステップS823)。
If it is confirmed in step S821 that the ball lending count switch OFF wait flag is not on, the timer T11 is started (step S821).
822), a ball lending count switch ON waiting flag is set (step S823).

【0305】図51および図52は、ステップS758
の賞球制御処理の一例を示すフローチャートである。な
お、この例では、連続的な払出数の最大値を貸し球の一
単位と同数(例えば25個)とするが、連続的な払出数
の最大値は他の数であってもよい。
FIGS. 51 and 52 show steps S758 and S758.
It is a flowchart which shows an example of the award ball control processing. In this example, the maximum value of the number of continuous payouts is the same as one unit of the lending ball (for example, 25), but the maximum value of the number of continuous payouts may be another number.

【0306】賞球制御処理において、払出制御用CPU
371は、貸し球払出中であるか否か確認する(ステッ
プS531)。貸し球払出中であるか否かは、球貸し処
理中フラグの状態によって判断される。貸し球払出中で
なければ賞球の払出中であるか否か確認し(ステップS
532)、賞球の払出中であれば図52に示す賞球中の
処理に移行する。賞球の払出中であるか否かは、後述す
る賞球処理中フラグの状態によって判断される。
In the prize ball control processing, the payout control CPU
The 371 checks whether or not the rental ball is being paid out (step S531). Whether or not the ball is being paid out is determined based on the state of the ball lending process flag. If the ball is not being paid out, it is confirmed whether or not the prize ball is being paid out (step S).
532) If the prize ball is being paid out, the processing shifts to the processing during the prize ball shown in FIG. Whether or not a prize ball is being paid out is determined by a state of a prize ball processing flag described later.

【0307】貸し球払出中でも賞球払出中でもなけれ
ば、払出制御用CPU371は、払出停止中であるか否
かを確認する(ステップS532a)。払出し停止状態
であれば以後の処理を行わない。すなわち、賞球の払出
処理が開始される前の段階で、払出球経路186aおよ
び186b両方が球切れ状態となったとき、または下皿
満タンとなったときには、賞球の払出処理を開始しな
い。一方、賞球の払出処理が開始される前の段階で、払
出球経路186aまたは186bの何れかが球切れ状態
となったときであっても、他の条件が満たされていれば
賞球の払出処理が開始される。なお、払出停止中か否か
は、ステップS754cまたはステップS754eで設
定される賞球払出禁止フラグによって確認される。
[0307] If neither the loaned ball is being paid out nor the prize ball is being paid out, the payout control CPU 371 checks whether or not the payout is stopped (step S532a). If the payout is stopped, the subsequent processing is not performed. In other words, when both the payout ball paths 186a and 186b are out of the ball or the lower plate is full before the start of the award ball payout process, the award ball payout process is not started. . On the other hand, at the stage before the prize ball payout process is started, even if either the payout ball path 186a or 186b is out of the ball, if other conditions are satisfied, the prize ball will be deleted. The payout process is started. Whether or not the payout is stopped is confirmed by the winning ball payout prohibition flag set in step S754c or step S754e.

【0308】払出し停止状態でなければ、払出制御用C
PU371は、カードユニット50からの球貸し準備要
求があるか否か確認する(ステップS533)。球貸し
準備要求があるか否かは、カードユニット50から入力
されるBRDY信号のオン(要求あり)またはオフ(要
求なし)を確認することによって行われる。
If the dispensing is not stopped, the dispensing control C
The PU 371 checks whether there is a ball lending preparation request from the card unit 50 (Step S533). Whether or not there is a ball lending preparation request is performed by confirming whether the BRDY signal input from the card unit 50 is on (requested) or off (no request).

【0309】カードユニット50からの球貸し準備要求
がなければ、払出制御用CPU371は、総合個数記憶
に格納されている賞球数(未払出の賞球数)が0でない
か否か確認する(ステップS534)。総合個数記憶に
格納されている賞球数が0でなければ、賞球制御用CP
U371は、賞球処理中フラグをオンし(ステップS5
35)、総合個数記憶の値が25以上であるか否か確認
する(ステップS536)。なお、賞球払出禁止フラグ
および賞球処理中フラグは、バックアップRAM領域に
設定される。
If there is no ball lending preparation request from the card unit 50, the payout control CPU 371 checks whether or not the number of awarded balls (the number of unpaid awarded balls) stored in the total number memory is not zero (see FIG. 13). Step S534). If the number of award balls stored in the total number memory is not 0, the award ball control CP
U371 turns on the award ball processing flag (step S5).
35) It is checked whether or not the value of the total number storage is 25 or more (step S536). The prize ball payout prohibition flag and the prize ball processing flag are set in the backup RAM area.

【0310】総合個数記憶に格納されている賞球数が2
5以上であると、払出制御用CPU371は、25個分
の遊技球を払い出すまで賞球モータ289Aを回転させ
るように賞球モータ289Aに対して駆動信号を出力す
るために25個払出動作の設定を行う(ステップS53
7)。総合個数記憶に格納されている賞球数が25以上
でなければ、払出制御用CPU371は、総合個数記憶
に格納されている全ての遊技球を払い出すまで賞球モー
タ289Aを回転させるように駆動信号を出力するため
に、全個数払出動作の設定を行う(ステップS53
8)。
The number of award balls stored in the total number storage is 2
If the number is 5 or more, the payout control CPU 371 performs the 25 payout operation to output a drive signal to the prize ball motor 289A so as to rotate the prize ball motor 289A until 25 game balls are paid out. Make settings (step S53)
7). If the number of prize balls stored in the total number storage is not 25 or more, the payout control CPU 371 drives the prize ball motor 289A to rotate until all game balls stored in the total number storage are paid out. In order to output a signal, the setting of the total number payout operation is performed (step S53).
8).

【0311】すなわち、この実施の形態では、払出制御
用CPU371が、ステップS537またはステップS
538において、遊技球の払出予定数(例えば25個)
を払い出すまで賞球モータ289Aを回転させるため
に、賞球モータ289Aに動作させる期間である予定動
作期間を設定する。なお、例えば払出球経路186aま
たは186bの何れかが球切れ状態となっているときに
は、賞球モータ289Aの回転速度が通常の速度よりも
遅くなるように駆動制御を行うようにし、賞球モータ2
89Aの予定動作期間を通常よりも長く設定するように
してもよい。具体的には、例えばステップS759の賞
球モータ制御処理において所定のフラグ(例えば、ステ
ップS754gでセットされる払出確認フラグ)がセッ
トされていれば、例えば8ms(通常時の4msよりも
遅い値)ずつ各励磁パターンデータが繰り返し賞球モー
タ289Aに出力されるように制御するなどのようにし
て、その遅延させる速度に応じて適当な賞球モータ28
9Aの予定動作期間を定めるようにすればよい。
That is, in this embodiment, the payout control CPU 371 executes the processing in step S537 or step S537.
At 538, the number of game balls to be paid out (for example, 25)
In order to rotate the prize ball motor 289A until the prize ball is paid out, a scheduled operation period which is a period during which the prize ball motor 289A operates is set. For example, when either the payout ball path 186a or 186b is out of the ball, drive control is performed so that the rotation speed of the prize ball motor 289A becomes lower than the normal speed, and the prize ball motor 2
The scheduled operation period of 89A may be set longer than usual. Specifically, for example, if a predetermined flag (for example, a payout confirmation flag set in step S754g) is set in the prize ball motor control processing in step S759, for example, 8 ms (a value slower than 4 ms in normal time) By controlling each excitation pattern data to be repeatedly output to the prize ball motor 289A at a time, an appropriate prize ball motor 28
What is necessary is just to determine the scheduled operation period of 9A.

【0312】また、この実施の形態では、払出個数の上
限値を25個として払出を行っているが、払出制御コマ
ンドに示された賞球個数別に払出を行う構成としてもよ
い。この場合、例えば払出制御基板37側で主基板31
側から通知された払出制御コマンドに示される払出個数
別に払出個数を記憶しておくようにし、払出制御用CP
U371が記憶されている払出個数のうちの払出を実行
する個数を上限値として払出動作の設定を行うようにす
ればよい。例えば、払出制御基板37側で賞球個数10
個、15個がそれぞれ1つずつ記憶されている場合であ
って、このうちの10個の払出を行う場合には、払出制
御用CPU371は、10個分の遊技球を払い出すまで
賞球モータ289Aを回転させるように賞球モータ28
9Aに対して駆動信号を出力するために、10個払出動
作の設定を行う。
In this embodiment, the payout is performed with the upper limit of the number of payouts set to 25. However, the payout may be performed for each prize ball number indicated in the payout control command. In this case, for example, the main board 31 on the payout control board 37 side
The payout number is stored for each payout number indicated in the payout control command notified from the side, and the payout control CP
The payout operation may be set with the upper limit value of the payout number stored in U371 as the upper limit value. For example, the prize ball number 10 on the payout control board 37 side.
And 15 are stored one by one, and when paying out 10 of the payouts, the payout control CPU 371 controls the prize ball motor until paying out 10 game balls. 289A to rotate the prize ball motor 28
In order to output a drive signal to 9A, the setting of the ten payout operation is performed.

【0313】次いで、払出制御用CPU371は、払出
球経路186aまたは186bの何れか一方が球切れ状
態となっているか否か確認する(ステップS539)。
払出球経路186aまたは186bの何れか一方が球切
れ状態となっているか否かは、この実施の形態ではステ
ップS754gでセットされる払出確認フラグによって
確認される。払出球経路186aまたは186bの何れ
か一方が球切れ状態であれば、払出制御用CPU371
は、払出確認実行フラグをオンし(ステップS54
0)、バックアップRAM領域の払出残数記憶に賞球の
払出予定数を格納する(ステップS541)。すなわ
ち、ステップS536の判断において、総合個数記憶に
格納されている賞球数が25以上であった場合には、バ
ックアップRAM領域の払出残数記憶に25が格納され
る。一方、ステップS536の判断において、総合個数
記憶に格納されている賞球数が25以上でなかった場合
には、バックアップRAM領域の払出残数記憶に全個数
に相当する値が格納される。
Next, the payout control CPU 371 checks whether or not one of the payout ball paths 186a and 186b is out of the ball (step S539).
In this embodiment, whether or not one of the payout ball paths 186a and 186b is out of ball is confirmed by a payout confirmation flag set in step S754g. If either one of the payout ball paths 186a and 186b is in the ball out condition, the payout control CPU 371
Turns on the payout confirmation execution flag (step S54).
0), the expected payout number of prize balls is stored in the remaining payout number storage in the backup RAM area (step S541). That is, if the number of prize balls stored in the total number storage is 25 or more in the determination in step S536, 25 is stored in the remaining payout number storage in the backup RAM area. On the other hand, if it is determined in step S536 that the number of award balls stored in the total number storage is not 25 or more, a value corresponding to the total number is stored in the remaining payout number storage in the backup RAM area.

【0314】ステップS539の判断において払出球経
路186aまたは186bの何れか一方が球切れ状態と
なっていなければ、あるいはステップS541にてバッ
クアップRAM領域の払出残数記憶に賞球の払出予定数
が格納されると、払出制御用CPU371は、賞球モー
タ289Aをオンする(ステップS542)。そして、
図52に示す賞球制御処理における賞球払出中の処理に
移行する。
If it is determined in step S539 that one of the payout ball paths 186a and 186b is not out of the ball, or in step S541, the expected payout number of prize balls is stored in the remaining payout number storage in the backup RAM area. Then, the payout control CPU 371 turns on the prize ball motor 289A (step S542). And
The processing shifts to the processing for paying out prize balls in the prize ball control processing shown in FIG. 52.

【0315】図52は、払出制御用CPU371による
払出制御処理における賞球中の処理の一例を示すフロー
チャートである。賞球中の処理において、払出制御用C
PU371は、賞球払出禁止フラグによって払出停止中
であるか否かの確認を行う(ステップS543)。払出
停止中であれば、賞球モータ289Aをオフし、賞球処
理中フラグをオフする(ステップS544,S54
5)。すなわち、払出球経路186aおよび186b両
方が球切れ状態となったとき、または下皿満タンとなっ
たときには、即時に払出を停止する。払出停止中でなけ
れば、払出制御用CPU371は、賞球通過待ち時間中
であるか否かの確認を行う(ステップS546)。
FIG. 52 is a flowchart showing an example of processing during a winning ball in the payout control processing by the payout control CPU 371. In the processing during the prize ball, the payout control C
The PU 371 checks whether or not the payout is stopped based on the winning ball payout prohibition flag (step S543). If the payout is stopped, the award ball motor 289A is turned off, and the award ball processing flag is turned off (steps S544 and S54).
5). That is, when both the payout ball paths 186a and 186b are out of the ball or when the lower plate is full, the payout is immediately stopped. If the payout is not stopped, the payout control CPU 371 checks whether or not the award ball passing waiting time is in progress (step S546).

【0316】賞球通過待ち時間中でなければ、払出制御
用CPU371は、賞球用センサ(賞球モータ位置セン
サ)のチェックを行い(ステップS549)、また、後
述する賞球カウントスイッチチェック処理を行う(ステ
ップS550)。
If it is not during the waiting time for passing the prize ball, the payout control CPU 371 checks the prize ball sensor (prize ball motor position sensor) (step S549), and executes a prize ball count switch check process described later. Perform (Step S550).

【0317】そして、払出制御用CPU371は、賞球
モータ289Aの駆動を終了すべきか(25個または2
5個未満の所定の個数の払出動作が終了したか)否かの
確認を行う(ステップS551)。具体的には、所定個
数の払出に対応した回転が完了したか否かを確認する。
所定個数の払出に対応した回転は、賞球モータ位置セン
サの出力によって監視される。所定個数の払出に対応し
た回転が完了(予定動作期間の終了)した場合には、払
出制御用CPU371は、賞球モータ289Aの駆動を
停止し(ステップS552)、賞球通過待ち時間の設定
を行う(ステップS553)。賞球通過待ち時間は、最
後の払出球が賞球モータ289Aによって払い出されて
から賞球カウントスイッチ301Aを通過するまでの時
間である。
Then, the payout control CPU 371 determines whether driving of the prize ball motor 289A should be terminated (25 or 2).
It is confirmed whether or not a predetermined number of payout operations of less than 5 have been completed (step S551). Specifically, it is confirmed whether or not the rotation corresponding to the predetermined number of payouts has been completed.
The rotation corresponding to the predetermined number of payouts is monitored by the output of the prize ball motor position sensor. When the rotation corresponding to the predetermined number of payouts is completed (end of the scheduled operation period), the payout control CPU 371 stops driving the prize ball motor 289A (step S552), and sets the prize ball passage waiting time. Performed (step S553). The prize ball passage waiting time is the time from when the last payout ball is paid out by the prize ball motor 289A to when it passes through the prize ball count switch 301A.

【0318】ステップS543において、賞球通過待ち
時間中であれば、払出制御用CPU371は、後述する
賞球カウントスイッチチェック処理を行い(ステップS
554)、賞球通過待ち時間が終了したか否かの確認を
行う(ステップS555)。賞球通過待ち時間が終了し
た時点は、ステップS537またはステップS538で
設定された賞球が全て払い出された状態である。なお、
賞球通過待ち時間が経過するまでに最後の払出球が賞球
カウントスイッチ301Aを通過しなかった場合には、
賞球経路エラーとされる。
If it is determined in step S543 that the award ball passage waiting time is in progress, the payout control CPU 371 performs an award ball count switch check process described later (step S543).
554), it is determined whether or not the waiting time for passing the prize ball has ended (step S555). When the prize ball passage waiting time ends, all the prize balls set in step S537 or step S538 have been paid out. In addition,
If the last payout ball has not passed through the prize ball count switch 301A before the prize ball passage waiting time has elapsed,
Prize ball path error.

【0319】賞球通過待ち時間が終了すると、本例では
払出確認実行フラグがセットされているか否か確認する
(ステップS557)。払出確認実行フラグがセットさ
れていれば、払出制御用CPU371は、バックアップ
RAM領域の払出残数記憶の格納値が0であるか否か確
認する(ステップS558)。払出残数記憶の格納値が
0でなければ、未払出の賞球が残っているため、残りの
賞球を払い出すための補正動作を実行する。なお、遊技
球の供給が不安定になっていることが有り得るので、通
常時よりも遅い回転速度で賞球モータ289Aを駆動さ
せて補正動作を実行するようにしてもよい。補正動作に
おいて、払出制御用CPU371は、賞球モータ289
Aに対して駆動信号を出力することで、払出残数記憶の
格納値に相当する個数(払出残数)の遊技球を払い出す
まで賞球モータ289Aを回転させるように、払出残数
の払出動作の設定を行う(ステップS560)。そし
て、払出制御用CPU371は、払出制御用CPU37
1は、賞球モータ289Aをオンする(ステップS56
1)。従って、未払出の賞球について上述した払出処理
が再度行われる。
When the waiting time for passing the prize ball ends, it is checked in this example whether or not the payout check execution flag is set (step S557). If the payout check execution flag is set, the payout control CPU 371 checks whether or not the stored value of the remaining payout number storage in the backup RAM area is 0 (step S558). If the stored value of the remaining payout number storage is not 0, there remains unpaid prize balls, and a correction operation for paying out the remaining prize balls is executed. Since the supply of the game balls may be unstable, the correction operation may be executed by driving the prize ball motor 289A at a rotation speed lower than usual. In the correction operation, the payout control CPU 371 controls the prize ball motor 289
By outputting a drive signal to A, the remaining payout number is paid out so that the prize ball motor 289A is rotated until the number of game balls corresponding to the stored value of the remaining payout number storage (payout number) is paid out. The operation is set (step S560). The payout control CPU 371 is connected to the payout control CPU 37.
1 turns on the prize ball motor 289A (step S56).
1). Therefore, the payout process described above is performed again for the unpaid prize balls.

【0320】なお、払出球経路186aまたは186b
の何れか一方が球切れ状態となった場合であっても、主
基板31から払出制御コマンドが送出されない構成とす
る場合には、ステップS557の判断は不要である。こ
の場合、払出制御基板37は、球切れ状態か否かとは関
係なく、予定動作期間経過後に予定払出数を全て払い出
したか否か判定し、払出残数がある場合に補正動作を実
行するようにすればよい。
The payout ball route 186a or 186b
Even if either one of them is out of the ball, if the payout control command is not sent from the main board 31, the determination in step S557 is unnecessary. In this case, the payout control board 37 determines whether or not all the expected payouts have been paid out after the elapse of the scheduled operation period, regardless of whether the ball is out of ball or not, and executes a correction operation when there is a remaining payout number. do it.

【0321】ステップS557で払出確認実行フラグが
セットされていなければ、払出制御用CPU371は、
補正動作を実行する必要がないため、賞球処理中フラグ
をオフする(ステップS562)。またステップS55
8で払出残数記憶の格納値が0でなければ、払出制御用
CPU371は、払出予定数の全ての賞球が払い出され
ているため、払出確認実行フラグをオフし(ステップS
559)、賞球処理中フラグをオフする(ステップS5
62)。
If the payout confirmation execution flag has not been set in step S557, the payout control CPU 371 sets
Since it is not necessary to execute the correction operation, the award ball processing flag is turned off (step S562). Step S55
If the stored value of the remaining payout number storage is not 0 at 8, the payout control CPU 371 turns off the payout confirmation execution flag because all the prize balls of the expected payout number have been paid out (Step S).
559), and turns off the prize ball processing flag (step S5).
62).

【0322】このように、この実施の形態では、賞球の
払出動作が開始される前の段階で払出球経路186aま
たは186bの何れか一方が球切れ状態となっている場
合(払出確認実行フラグがセットされている場合)に
は、払出予定数の賞球の全てが払い出されるまで補正動
作が繰り返し実行される。従って、賞球の払出動作が開
始される前の段階で払出球経路186aまたは186b
の何れか一方が球切れ状態となっている場合であって
も、常に切りよく賞球が払い出される。
As described above, in the present embodiment, when one of the payout ball paths 186a and 186b is out of the ball before the start of the prize ball payout operation (payout confirmation execution flag). Is set), the correction operation is repeatedly executed until all of the expected payout balls are paid out. Therefore, the payout ball path 186a or 186b before the start of the prize ball payout operation.
Even if any one of them is out of the ball, the prize ball is always paid out sharply.

【0323】なお、この実施の形態では、ステップS5
31の判断によって球貸しが賞球処理よりも優先される
ことになるが、賞球処理が球貸しに優先するようにして
もよい。また、球貸し中には賞球処理が待たされるが、
貸し球払出装置と賞球払出装置とは独立して設けられて
いるので、球貸し処理と賞球処理とが同時に実行可能で
あるように制御してもよい。
Note that, in this embodiment, step S5
According to the judgment of 31, the ball lending is given priority over the prize ball processing, but the prize ball processing may be given priority over the ball lending. Also, while the ball is lent, the prize ball processing is awaited,
Since the loaned ball payout device and the prize ball payout device are provided independently of each other, control may be performed so that the ball lending process and the prize ball process can be executed simultaneously.

【0324】以上説明したように、賞球の払出処理が開
始される前の段階で払出球経路186aまたは186b
の何れか一方が球切れ状態となった場合に、払出予定数
の払出動作終了後に払出が完了したか否か確認し、完了
していない場合に補正動作を行う構成としたことで、一
方の経路が球切れ状態であることによる賞球モータ28
9Aに対する球圧の低下などによって払出不足(賞球モ
ータ289Aの駆動期間に応じた個数の遊技球が払い出
されないことによる払出不足)が発生したときであって
も、補正動作によって確実に全ての払出予定数の遊技球
を払出すことができる。従って、一方の経路が球切れ状
態となっていても、適切な払出処理を実行することがで
き、遊技媒体の欠乏状態に応じた適切な払出制御を実行
することができる。
As described above, the payout ball path 186a or 186b before the start of the prize ball payout process.
In the case where any one of the balls has run out of balls, it is checked whether or not the payout is completed after the payout operation of the expected number of payouts is completed, and if not completed, the correction operation is performed. Prize ball motor 28 due to the path being out of ball
Even when a shortage of payouts due to a decrease in ball pressure for 9A or the like (insufficient payout due to the number of game balls not being paid out according to the drive period of the prize ball motor 289A) occurs, all the corrections are reliably performed by the correction operation. A predetermined number of game balls can be paid out. Therefore, even if one of the routes is out of ball, an appropriate payout process can be executed, and an appropriate payout control can be executed in accordance with a lack state of the game medium.

【0325】また、上述したように、賞球払出中であっ
ても払出停止中か否か確認する構成としたことで、払出
球経路186aおよび186b両方が球切れ状態となっ
たときには即時に払出処理を停止することができる。従
って、遊技の状況に応じた適切な制御を行うことが可能
となる。
Further, as described above, even when a prize ball is being paid out, it is configured to check whether or not the payout is stopped, so that when both the payout ball paths 186a and 186b are out of the ball, the payout is immediately performed. Processing can be stopped. Therefore, it is possible to perform appropriate control according to the game situation.

【0326】さらに、上述したように、賞球の球切れが
検出された場合と貸し球の球切れが検出された場合とで
異なる払出制御コマンドを用いて情報伝達を行い、払出
球経路186cが球切れ状態となったか否かとは無関係
に賞球の払出を行う構成としているので、貸し球の欠乏
によって賞球の払出が停止されてしまうことを防止する
ことができる。従って、遊技の状況に応じた適切な制御
を行うことが可能となる。
Further, as described above, information is transmitted by using different payout control commands depending on whether a prize ball is out of ball or not and a loaned ball is detected, and the payout ball path 186c is changed. Since the payout of prize balls is performed irrespective of whether or not the ball has run out, it is possible to prevent the payout of prize balls from being stopped due to a shortage of lending balls. Therefore, it is possible to perform appropriate control according to the game situation.

【0327】なお、上述した実施の形態では、賞球の払
出処理が開始される前の段階で払出球経路186aまた
は186bの何れか一方が球切れ状態となった場合に
は、払出予定数の払出動作終了後に払出が完了したか否
か確認して、完了していない場合に補正動作を行う構成
としていたが、例えば賞球の払出を実行しないように構
成してもよく、また通常の払出を継続して行うようにし
てもよい。賞球の払出を実行しない構成とする場合に
は、賞球の払出処理が開始される前の段階で、払出球経
路186aまたは186bの何れかが球切れ状態となっ
ているとき(球切れスイッチ187aまたは球切れスイ
ッチ187bの何れかが賞球の欠乏を検知していると
き)に、例えば上述した払出球経路186aおよび18
6bの両方が球切れ状態となったときの処理と同様の処
理を行うようにすればよい(この場合、払出球経路18
6aおよび186bの両方が球切れ状態となったときに
は何らの処理も行われない)。通常の払出を継続して行
う構成とする場合には、払出球経路186aまたは18
6bの何れかが球切れ状態となっているときであって
も、何らの処理も行わない(すなわち、払出制御コマン
ドの出力などの処理が行われない)ようにすればよい。
In the above-described embodiment, if one of the payout ball paths 186a and 186b is out of the ball at a stage before the payout ball payout process is started, the expected payout number is reduced. It has been configured to check whether or not the payout is completed after the payout operation is completed, and to perform the correction operation when the payout is not completed.However, for example, it may be configured not to perform the payout of the prize ball, or the normal payout may be performed. May be performed continuously. When the payout ball payout is not executed, when any of the payout ball paths 186a and 186b is in a ball-out state before the prize-ball payout process is started (a ball-out switch). 187a or the ball out switch 187b detects the lack of the prize ball), for example, the payout ball paths 186a and 186 described above.
6b may be performed in the same manner as when the ball is out of ball (in this case, the payout ball route 18).
No processing is performed when both 6a and 186b are out of ball.) In the case where the normal payout is continuously performed, the payout ball path 186a or 18
Even when any one of the balls 6b is out of ball, no processing may be performed (that is, processing such as output of the payout control command is not performed).

【0328】また、上述した実施の形態では、払出予定
数の払出動作終了後に未払出しの遊技球があると判断し
た場合には、全ての払出予定数の遊技球が払い出される
まで補正動作を繰返し行う構成としていたが、例えば補
正動作の繰返し数の上限を定めるようにしてもよい。こ
の場合、所定の繰返し数の補正動作が終了したにもかか
わらず未払出しの遊技球がある場合には、例えばエラー
表示をするなどの処理を行うようにすればよい。
In the above-described embodiment, when it is determined that there are unpaid game balls after the expected number of payouts is completed, the correction operation is repeated until all the expected number of game balls are paid out. Although the configuration has been described, the upper limit of the number of repetitions of the correction operation may be determined, for example. In this case, if there is a game ball that has not been paid out even after the correction operation of the predetermined number of repetitions has been completed, processing such as displaying an error may be performed.

【0329】また、上述した実施の形態では、払出球経
路186aおよび186b両方が球切れ状態となったと
きには即時に払出処理を停止する構成としていたが、払
出予定数の払出を行ったあとに停止させるようにしても
よい。この場合、ステップS543の確認を行わない構
成とすればよい。
In the above-described embodiment, the payout process is immediately stopped when both the payout ball paths 186a and 186b are out of the ball. However, the stop is performed after the payout of the expected payout number is performed. You may make it do. In this case, the configuration may be such that the confirmation in step S543 is not performed.

【0330】図53は、ステップS550およびS55
4で実行される賞球カウントスイッチチェック処理の例
を示すフローチャートである。賞球カウントスイッチチ
ェック処理は、賞球カウントスイッチ301Aの状態を
監視して、総合個数記憶を減算する処理である。
FIG. 53 shows steps S550 and S55.
13 is a flowchart illustrating an example of a prize ball count switch check process executed in Step 4. The prize ball count switch check process is a process of monitoring the state of the prize ball count switch 301A and subtracting the total number storage.

【0331】賞球カウントスイッチチェック処理におい
て、払出制御用CPU371は、まず、賞球カウントス
イッチON待ちフラグがセットされているか否か確認す
る(ステップS831)。賞球カウントスイッチON待
ちフラグがセットされていれば、賞球カウントスイッチ
オンフラグがオン状態になるのを待つ(ステップS83
2)。なお、賞球カウントスイッチオンフラグは、図4
7に示されたスイッチ処理におけるステップS751f
でセットされる。賞球カウントスイッチオンフラグがオ
ン状態になる前にタイマT12がタイムアウトすると賞
球経路エラーフラグをセットする(ステップS837,
S838)。賞球カウントスイッチ301Aがオンする
と、タイマT12を停止して(ステップS833)、賞
球カウントスイッチON待ちフラグをリセットする(ス
テップS834)。タイマT12は、賞球カウントスイ
ッチ301Aが所定期間内にオンするか否かを確認する
ためのタイマである。
In the award ball count switch check processing, the payout control CPU 371 first checks whether or not the award ball count switch ON waiting flag is set (step S831). If the award ball count switch ON waiting flag is set, it waits until the award ball count switch ON flag is turned on (step S83).
2). Note that the prize ball count switch-on flag is
Step S751f in the switch processing shown in FIG.
Set by If the timer T12 times out before the winning ball count switch on flag is turned on, the winning ball path error flag is set (step S837,
S838). When the award ball count switch 301A is turned on, the timer T12 is stopped (step S833), and the award ball count switch ON waiting flag is reset (step S834). The timer T12 is a timer for confirming whether or not the award ball count switch 301A is turned on within a predetermined period.

【0332】賞球カウントスイッチ301Aがオンした
場合には、賞球カウントスイッチ301Aがオフするこ
とを確認するために、オフを待つ状態であることを示す
賞球カウントスイッチOFF待ちフラグをセットする
(ステップS835)。
When the prize ball count switch 301A is turned on, a prize ball count switch OFF wait flag is set to indicate that the prize ball count switch 301A is turned off in order to confirm that the prize ball count switch 301A is turned off. Step S835).

【0333】従って、払出制御用CPU371は、賞球
カウントスイッチOFF待ちフラグがオンしていれば
(ステップS841)、賞球カウントスイッチオンフラ
グがオフするのを待つ(ステップS844)。賞球カウ
ントスイッチオンフラグがオフすると、賞球カウントス
イッチOFF待ちフラグをリセットする(ステップS8
45)。そして、払出残数記憶を−1するとともに(ス
テップS846)、総合個数記憶を−1する(ステップ
S848)。
Therefore, if the prize ball count switch OFF waiting flag is on (step S841), the payout control CPU 371 waits for the prize ball count switch on flag to turn off (step S844). When the award ball count switch on flag is turned off, the award ball count switch OFF waiting flag is reset (step S8).
45). Then, while the remaining payout number storage is decremented by one (step S846), the total number storage is decremented by one (step S848).

【0334】ステップS841で、賞球カウントスイッ
チOFF待ちフラグもオンしていないことを確認した
ら、タイマT12をスタートするとともに(ステップS
842)、賞球カウントスイッチON待ちフラグをセッ
トする(ステップS843)。
If it is confirmed in step S841 that the award ball count switch OFF wait flag is not on, the timer T12 is started (step S841).
842), the award ball count switch ON waiting flag is set (step S843).

【0335】払出残数記憶、総合個数記憶および貸し球
個数記憶の内容は、それぞれ、遊技機の電源が断して
も、所定期間電源基板910のバックアップ電源によっ
て保存される。従って、所定期間中に電源が回復する
と、払出制御用CPU371は、払出残数記憶、総合個
数記憶および貸し球個数記憶の内容にもとづいて払出処
理を継続することができる。
[0335] The contents of the remaining payout number storage, the total number storage, and the number of lent balls storage are each stored by the backup power supply of the power supply board 910 for a predetermined period even if the power supply of the gaming machine is turned off. Therefore, when the power supply is restored during the predetermined period, the payout control CPU 371 can continue the payout process based on the contents of the remaining payout number storage, the total number storage, and the loaned ball number storage.

【0336】なお、払出制御用CPU371は、主基板
31から指示された賞球個数を賞球個数記憶で総数とし
て管理したが、賞球数毎(例えば15個、10個、6
個)に管理してもよい。例えば、賞球数毎に対応した個
数カウンタを設け、払出個数指定コマンドを受信する
と、そのコマンドで指定された個数に対応する個数カウ
ンタを+1する。そして、個数カウンタに対応した賞球
払出が行われると、その個数カウンタを−1する(この
場合、払出制御処理にて減算処理を行うようにする)。
その場合にも、各個数カウンタはバックアップRAM領
域に形成される。よって、遊技機の電源が断しても、所
定期間中に電源が回復すれば、払出制御用CPU371
は、各個数カウンタの内容にもとづいて賞球払出処理を
継続することができる。
The payout control CPU 371 manages the number of prize balls instructed from the main board 31 as a total number in the prize ball number storage, but for each prize ball number (for example, 15, 10 or 6).
). For example, a number counter corresponding to each prize ball number is provided, and when a payout number designation command is received, the number counter corresponding to the number designated by the command is incremented by one. When the prize ball payout corresponding to the number counter is performed, the number counter is decremented by one (in this case, the subtraction processing is performed in the payout control processing).
Also in this case, each number counter is formed in the backup RAM area. Therefore, even if the power of the gaming machine is turned off, if the power is restored during the predetermined period, the payout control CPU 371
Can continue the award ball payout process based on the content of each number counter.

【0337】次に、エラー処理について説明する。図5
4は、エラーの種類とエラー表示用LED374(図1
2参照)の表示との関係を示す説明図である。また、図
55および図56は、ステップS760のエラー処理の
一例を示すフローチャートである。
Next, error processing will be described. FIG.
4 indicates an error type and an error display LED 374 (FIG. 1).
FIG. 2 is an explanatory diagram showing a relationship with the display of FIG. FIGS. 55 and 56 are flowcharts showing an example of the error processing in step S760.

【0338】この例では、エラー処理において、払出制
御用CPU371は、賞球経路エラーフラグがオンした
場合に(ステップS601)、エラー表示用LED37
4に「0」を表示する(ステップS602)。また、賞
球経路エラーフラグがオフした場合にエラー表示用LE
D374の表示「0」を消去する(ステップS60
3)。なお、賞球経路エラーフラグは、図53に示され
たステップS838でセットされる。すなわち、賞球カ
ウントスイッチ301Aがオンしなかったときにセット
される。
In this example, in the error processing, the payout control CPU 371 turns on the error display LED 37 when the winning ball path error flag is turned on (step S601).
4 is displayed as "0" (step S602). When the prize ball path error flag is turned off, the error display LE is displayed.
The display “0” of D374 is deleted (step S60).
3). The winning ball path error flag is set in step S838 shown in FIG. That is, it is set when the award ball count switch 301A is not turned on.

【0339】球貸し経路エラーフラグがオンした場合に
は(ステップS604)、エラー表示用LED374に
「1」を表示する(ステップS605)。また、球貸し
経路エラーフラグがオフした場合にエラー表示用LED
374の表示「1」を消去する(ステップS606)。
なお、球貸し経路エラーフラグは、図50に示されたス
テップS818でセットされる。すなわち、球貸しカウ
ントスイッチ301Bがオンしなかったときにセットさ
れる。
When the ball lending route error flag is turned on (step S604), "1" is displayed on the error display LED 374 (step S605). Also, when the ball lending path error flag is turned off, an error display LED
The display “1” of 374 is deleted (step S606).
The ball lending path error flag is set in step S818 shown in FIG. That is, it is set when the ball lending count switch 301B is not turned on.

【0340】賞球詰まりフラグがオンした場合には(ス
テップS607)、エラー表示用LED374に「2」
を表示する(ステップS608)。また、賞球詰まりフ
ラグがオフした場合にエラー表示用LED374の表示
「2」を消去する(ステップS609)。なお、賞球詰
まりフラグは、図47に示されたステップS751dで
セットされる。すなわち、賞球カウントスイッチ301
Aがオフしなかったときにセットされる。
If the award ball clogging flag is turned on (step S607), “2” is displayed on the error display LED 374.
Is displayed (step S608). Further, when the award ball clogging flag is turned off, the display “2” of the error display LED 374 is erased (step S609). The prize ball jam flag is set in step S751d shown in FIG. That is, the prize ball count switch 301
Set when A did not turn off.

【0341】貸し球詰まりフラグがオンした場合には
(ステップS610)、エラー表示用LED374に
「3」を表示する(ステップS611)。また、貸し球
詰まりフラグがオフした場合にエラー表示用LED37
4の表示「3」を消去する(ステップS612)。な
お、賞球詰まりフラグは、図47に示されたステップS
751mでセットされる。すなわち、球貸しカウントス
イッチ301Bがオフしなかったときにセットされる。
When the lending ball clogging flag is turned on (step S610), "3" is displayed on the error display LED 374 (step S611). Further, when the lending ball jam flag is turned off, an error display LED 37 is displayed.
The display “3” of 4 is deleted (step S612). The award ball clogging flag is determined in step S shown in FIG.
It is set at 751 m. That is, it is set when the ball lending count switch 301B has not been turned off.

【0342】賞球モータセンサ出力異常が検出された場
合には(ステップS613)、エラー表示用LED37
4に「4」を表示する(ステップS614)。また、賞
球モータセンサ出力異常が解除された場合にエラー表示
用LED374の表示「4」を消去する(ステップS6
15)。なお、賞球モータセンサ出力異常は、賞球モー
タ位置センサのオンが所定期間以上継続したり、オフが
所定期間以上継続した場合に検出される。
[0342] When an award ball motor sensor output abnormality is detected (step S613), the error display LED 37
“4” is displayed in 4 (step S614). When the output abnormality of the prize ball motor sensor is released, the display “4” of the error display LED 374 is deleted (step S6).
15). Note that an abnormal output of the prize ball motor sensor is detected when the prize ball motor position sensor has been on for a predetermined period or more or has been off for a predetermined period or more.

【0343】VLオフ検出フラグがセットされた場合に
は(ステップS621)、エラー表示用LED374に
「5」を表示する(ステップS622)。また、VLオ
フ検出フラグがッリセットされた場合にエラー表示用L
ED374の表示「5」を消去する(ステップS62
3)。なお、VLオフ検出フラグは、図48に示された
ステップS755eでセットされる。
If the VL off detection flag is set (step S621), “5” is displayed on the error display LED 374 (step S622). When the VL off detection flag is reset, an error display L is displayed.
The display “5” of the ED 374 is deleted (step S62).
3). The VL off detection flag is set in step S755e shown in FIG.

【0344】なお、正規でないタイミングでカードユニ
ット50との通信が実行されたときには(ステップS6
24)、プリペイドカードユニット通信エラーが発生し
たとして、エラー表示用LED374に「6」を表示す
る(ステップS625)。また、そのようなエラーが解
消されたときに、エラー表示用LED374の表示
「6」を消去する(ステップS626)。
When the communication with the card unit 50 is executed at an irregular timing (step S6).
24) Assuming that a prepaid card unit communication error has occurred, "6" is displayed on the error display LED 374 (step S625). Further, when such an error is resolved, the display “6” of the error display LED 374 is deleted (step S626).

【0345】また、賞球停止状態になったときには(ス
テップS627)、エラー表示用LED374に「7」
を表示する(ステップS628)。賞球停止状態が解除
されたときには、エラー表示用LED374の表示
「7」を消去する(ステップS629)。なお、賞球停
止状態は、図46におけるステップS754cまたはス
テップS754eで賞球払出停止状態に設定された状態
である。すなわち、遊技制御手段から賞球の払出停止を
通知されたときである。ただし、ステップS754cの
場合には、下皿満タンのときの通知を含むので、ステッ
プS627において、球切れスイッチ187a,187
bの状態も確認することが好ましい。
When the winning ball is stopped (step S627), "7" is displayed on the error display LED 374.
Is displayed (step S628). When the winning ball stop state is released, the display “7” of the error display LED 374 is erased (step S629). The winning ball stop state is a state where the winning ball payout stop state is set in step S754c or step S754e in FIG. That is, when the game control unit is notified of stopping the payout of the prize ball. However, in the case of step S754c, since a notification when the lower plate is full is included, in step S627, the ball out switches 187a and 187 are set.
It is preferable to confirm the state of b.

【0346】そして、球貸し停止状態になったときには
(ステップS630)、エラー表示用LED374に
「8」を表示する(ステップS631)。球貸し停止状
態が解除されたときには、エラー表示用LED374の
表示「8」を消去する(ステップS632)。なお、球
貸し停止状態は、図46におけるステップS754cま
たはステップS754iで球貸し禁止フラグがセットさ
れた後の状態である。
When the ball lending is stopped (step S630), “8” is displayed on the error display LED 374 (step S631). When the ball lending suspension state is released, the display “8” of the error display LED 374 is erased (step S632). The ball lending suspension state is a state after the ball lending prohibition flag is set in step S754c or step S754i in FIG.

【0347】以上のように、この実施の形態では、賞球
に関連したエラーと球貸しに関連したエラーとが、識別
できるようにエラー表示用LED374に表示される。
よって、貸し球払出装置と賞球払出装置とが独立して設
けられていても、それぞれに生じた異常を容易に認識す
ることができる。
As described above, in this embodiment, the error related to the prize ball and the error related to lending the ball are displayed on the error display LED 374 so that they can be identified.
Therefore, even if the rental ball payout device and the prize ball payout device are provided independently, it is possible to easily recognize the abnormality that has occurred in each of them.

【0348】図57は、電源基板910の電源監視回路
からの電圧変化信号にもとづくNMIに応じて実行され
る停電発生NMI処理の一例を示すフローチャートであ
る。なお、この実施の形態では、NMI割込番地は00
66Hである。停電発生NMI処理において、払出制御
用CPU371は、まず、割込禁止フラグの内容をパリ
ティフラグに格納する(ステップS801)。次いで、
割込禁止に設定する(ステップS802)。停電発生N
MI処理では、本例では主基板31において実行された
処理と同様に、RAM内容の保存を確実にするためのチ
ェックサムの生成処理を行う。その処理中に他の割込処
理が行われたのではチェックサムの生成処理が完了しな
いうちに払出制御用CPU371が動作し得ない電圧に
まで低下してしまうことがことも考えられるので、ま
ず、他の割込が生じないような設定がなされる。なお、
停電発生NMI処理におけるステップS804〜S81
0は、電力供給停止時処理の一例である。
FIG. 57 is a flowchart showing an example of the power failure occurrence NMI process executed in response to the NMI based on the voltage change signal from the power supply monitoring circuit of the power supply board 910. In this embodiment, the NMI interrupt address is 00
66H. In the power failure occurrence NMI process, the payout control CPU 371 first stores the contents of the interrupt prohibition flag in the parity flag (step S801). Then
The interrupt is prohibited (step S802). Power failure occurred N
In the MI process, in this example, as in the process executed on the main board 31, a process of generating a checksum for ensuring the storage of the RAM content is performed. If another interrupt process is performed during that process, the voltage may drop to a level at which the payout control CPU 371 cannot operate before the checksum generation process is completed. Are set so that other interrupts do not occur. In addition,
Steps S804 to S81 in the power failure occurrence NMI process
0 is an example of the power supply stop processing.

【0349】なお、割込処理中では他の割込がかからな
いような仕様のCPUを用いている場合には、ステップ
S802の処理は不要である。
If a CPU having a specification that does not cause another interrupt during the interrupt processing is used, the processing in step S802 is unnecessary.

【0350】次いで、払出制御用CPU371は、バッ
クアップフラグが既にセットされているか否か確認する
(ステップS803)。バックアップフラグが既にセッ
トされていれば、以後の処理を行わない。バックアップ
フラグがセットされていなければ、以下の電力供給停止
時処理を実行する。すなわち、ステップS804からス
テップS810の処理を実行する。
Next, the payout control CPU 371 checks whether or not the backup flag has already been set (step S803). If the backup flag has already been set, no further processing is performed. If the backup flag is not set, the following power supply stop processing is executed. That is, the processing from step S804 to step S810 is executed.

【0351】まず、各レジスタの内容をバックアップR
AM領域に格納する(ステップS804)。その後、バ
ックアップフラグをセットする(ステップS805)。
そして、バックアップRAM領域のバックアップチェッ
クデータ領域に適当な初期値を設定し(ステップS80
6)、初期値およびバックアップRAM領域のデータに
ついて順次排他的論理和をとったあと反転し(ステップ
S807)、最終的な演算値をバックアップパリティデ
ータ領域に設定する(ステップS808)。また、RA
Mアクセス禁止状態にする(ステップS809)。電源
電圧が低下していくときには、各種信号線のレベルが不
安定になってRAM内容が化ける可能性があるが、この
ようにRAMアクセス禁止状態にしておけば、バックア
ップRAM内のデータが化けることはない。
First, the contents of each register are backed up by R
It is stored in the AM area (step S804). After that, a backup flag is set (step S805).
Then, an appropriate initial value is set in the backup check data area of the backup RAM area (step S80).
6) The exclusive OR is sequentially calculated for the initial value and the data in the backup RAM area and then inverted (step S807), and the final operation value is set in the backup parity data area (step S808). Also, RA
The M access is prohibited (step S809). When the power supply voltage decreases, the levels of various signal lines may become unstable and the contents of the RAM may be corrupted. However, if the RAM access is prohibited in this manner, the data in the backup RAM may be corrupted. There is no.

【0352】さらに、払出制御用CPU371は、全て
の出力ポート(この実施の形態では、出力ポート372
c,372g,372e、およびI/Oポート372f
の出力ポート部分)に対してクリア信号を出力する。従
って、全ての出力ポートは、クリア信号によりオフ状態
とされる(ステップS810)。
Further, the payout control CPU 371 has all output ports (in this embodiment, output ports 372
c, 372g, 372e, and I / O port 372f
Output port). Therefore, all output ports are turned off by the clear signal (step S810).

【0353】次いで、払出制御用CPU371は、ルー
プ処理にはいる。すなわち、何らの処理もしない状態に
なる。従って、図36に示されたリセットIC976か
らのシステムリセット信号によって外部から動作禁止状
態にされる前に、内部的に動作停止状態になる。よっ
て、電源断時に確実に払出制御用CPU371は動作停
止する。その結果、上述したRAMアクセス禁止の制御
および動作停止制御によって、電源電圧が低下していく
ことに伴って生ずる可能性がある異常動作に起因するR
AMの内容破壊等を確実に防止することができる。
Next, the payout control CPU 371 enters a loop process. That is, no processing is performed. Therefore, before the operation is disabled from the outside by the system reset signal from the reset IC 976 shown in FIG. 36, the operation is internally stopped. Therefore, the operation of the payout control CPU 371 is reliably stopped when the power is turned off. As a result, due to the above-described RAM access prohibition control and the operation stop control, the value of R due to the abnormal operation that may occur as the power supply voltage decreases.
Destruction of the contents of the AM can be reliably prevented.

【0354】なお、この実施の形態では、停電発生NM
I処理では最終部でプログラムをループ状態にしたが、
ホールト(HALT)命令を発行するように構成しても
よい。
In this embodiment, the power failure occurrence NM
In I processing, the program was looped in the last part,
It may be configured to issue a HALT instruction.

【0355】また、レジスタの内容をRAM領域に格納
した後にセットされるバックアップフラグは、上述した
ように、電源投入時において復旧すべきバックアップデ
ータがあるか否か(停電からの復旧か否か)を判断する
際に使用される。また、ステップS801からS810
の処理は、払出制御用CPU371がシステムリセット
回路975からのシステムリセット信号を受ける前に完
了する。換言すれば、システムリセット回路975から
のシステムリセット信号を受ける前に完了するように、
電圧監視回路の検出電圧の設定が行われている。
The backup flag set after the contents of the register are stored in the RAM area is, as described above, whether or not there is backup data to be restored when the power is turned on (whether or not to recover from a power failure). Used to judge. Also, steps S801 to S810
Is completed before the payout control CPU 371 receives the system reset signal from the system reset circuit 975. In other words, to complete before receiving the system reset signal from the system reset circuit 975,
The detection voltage of the voltage monitoring circuit is set.

【0356】この実施の形態では、電力供給停止時処理
開始時に、バックアップフラグの確認が行われる。そし
て、バックアップフラグが既にセットされている場合に
は電力供給停止時処理を実行しない。上述したように、
バックアップフラグは、必要なデータのバックアップが
完了し、その後電力供給停止時処理が完了したことを示
すフラグである。従って、例えば、リセット待ちのルー
プ状態で何らかの原因で再度NMIが発生したとして
も、電力供給停止時処理が重複して実行されてしまうよ
うなことはない。
In this embodiment, the backup flag is checked at the start of the power supply stop processing. If the backup flag has already been set, the power supply stop processing is not executed. As mentioned above,
The backup flag is a flag indicating that the backup of necessary data has been completed and then the power supply stop processing has been completed. Therefore, for example, even if the NMI occurs again for some reason in the reset waiting loop state, the power supply stop processing will not be executed repeatedly.

【0357】ただし、割込処理中では他の割込がかから
ないような仕様のCPUを用いている場合には、ステッ
プS803の判断は不要である。
However, in the case where a CPU having a specification that does not cause another interrupt during the interrupt processing is used, the determination in step S803 is unnecessary.

【0358】また、この実施の形態では、払出制御用C
PU371は、マスク不能外部割込端子(NMI端子)
を介して電源基板からのNMI割込信号(電源監視手段
からのNMI割込信号)を検知したが、NMI割込信号
をマスク可能割込割込端子(INT端子)に導入しても
よい。その場合には、INT処理によって図57に示さ
れた停電発生NMI処理が実行される。また、入力ポー
トを介してNMI割込信号を検知してもよい。その場合
には、払出制御用CPU371が実行するメイン処理に
おいて、入力ポートの監視が行われる。
Also, in this embodiment, the payout control C
PU 371 is a non-maskable external interrupt terminal (NMI terminal)
, The NMI interrupt signal from the power supply board (NMI interrupt signal from the power supply monitoring means) is detected, but the NMI interrupt signal may be introduced to a maskable interrupt interrupt terminal (INT terminal). In that case, the power failure occurrence NMI process shown in FIG. 57 is executed by the INT process. Further, an NMI interrupt signal may be detected through an input port. In that case, the input port is monitored in the main process executed by the payout control CPU 371.

【0359】図58は、バックアップパリティデータ作
成方法の一例を説明するための説明図である。ただし、
図58に示す例では、簡単のために、バックアップデー
タRAM領域のデータのサイズを3バイトとする。電源
電圧低下にもとづく停電発生処理において、図58に示
すように、バックアップチェックデータ領域に、初期デ
ータ(この例では00H)が設定される。次に、「00
H」と「F0H」の排他的論理和がとられ、その結果と
「16H」の排他的論理和がとられる。さらに、その結
果と「DFH」の排他的論理和がとられる。そして、そ
の結果(この例では「39H」)を反転して得られた値
(この例では「C6H」)がバックアップパリティデー
タ領域に設定される。
FIG. 58 is an explanatory diagram for describing an example of a backup parity data creating method. However,
In the example shown in FIG. 58, the size of the data in the backup data RAM area is 3 bytes for simplicity. In the power failure generation process based on the power supply voltage drop, as shown in FIG. 58, initial data (00H in this example) is set in the backup check data area. Next, "00
The exclusive OR of “H” and “F0H” is calculated, and the result is exclusive ORed with “16H”. Further, an exclusive OR of the result and “DFH” is obtained. Then, a value (“C6H” in this example) obtained by inverting the result (“39H” in this example) is set in the backup parity data area.

【0360】電源が再投入されたときには、停電復旧処
理においてパリティ診断が行われる。バックアップ領域
の全データがそのまま保存されていれば、電源再投入時
に、図58に示すようなデータがバックアップ領域に設
定されている。
When the power is turned on again, parity diagnosis is performed in the power failure recovery processing. If all data in the backup area is stored as it is, the data as shown in FIG. 58 is set in the backup area when the power is turned on again.

【0361】ステップS704の処理において、払出制
御用CPU371は、図57のステップS806および
ステップS807にて実行された処理と同様の処理を行
う。すなわち、バックアップチェックデータ領域に、初
期データ(この例では00H)が設定され、「00H」
と「F0H」の排他的論理和がとられ、その結果と「1
6H」の排他的論理和がとられる。さらに、その結果と
「DFH」の排他的論理和がとられる。そして、その結
果(この例では「39H」)を反転した最終演算結果を
得る。バックアップ領域の全データがそのまま保存され
ていれば、最終的な演算結果は、「C6H」、すなわち
バックアップチェックデータ領域に設定されているデー
タと一致する。バックアップRAM領域内のデータにビ
ット誤りが生じていた場合には、最終的な演算結果は
「C6H」にならない。
In the processing of step S704, the payout control CPU 371 performs the same processing as the processing executed in steps S806 and S807 in FIG. That is, initial data (00H in this example) is set in the backup check data area, and "00H"
And "F0H" are exclusive ORed, and the result is "1"
6H "is exclusive-ORed. Further, an exclusive OR of the result and “DFH” is obtained. Then, a final operation result obtained by inverting the result (“39H” in this example) is obtained. If all data in the backup area is stored as it is, the final calculation result matches "C6H", that is, the data set in the backup check data area. If a bit error has occurred in the data in the backup RAM area, the final operation result does not become “C6H”.

【0362】よって、払出制御用CPU371は、最終
的な演算結果とバックアップチェックデータ領域に設定
されているデータとを比較して、一致すればパリティ診
断正常とする。一致しなければ、パリティ診断異常とす
る。
Therefore, the payout control CPU 371 compares the final calculation result with the data set in the backup check data area, and if they match, determines that the parity diagnosis is normal. If they do not match, it is determined that the parity diagnosis is abnormal.

【0363】以上のように、この実施の形態では、払出
制御手段には、遊技機の電源が断しても、所定期間電源
バックアップされる記憶手段(この例ではバックアップ
RAM)が設けられ、電源投入時に、払出制御用CPU
371(具体的には払出制御用CPU371が実行する
プログラム)は、記憶手段がバックアップ状態にあれば
バックアップデータにもとづいて払出状態を回復させる
払出状態復旧処理(ステップS706)を行うように構
成される。
As described above, in this embodiment, the payout control means is provided with the storage means (backup RAM in this example) which is backed up for a predetermined period even if the power of the gaming machine is turned off. At the time of insertion, payout control CPU
371 (specifically, a program executed by the payout control CPU 371) is configured to perform a payout state restoration process (step S706) for restoring the payout state based on the backup data if the storage unit is in the backup state. .

【0364】以下、払出状態復旧処理について説明す
る。図59は、図37のステップS706に示された払
出状態復旧処理の一例を示すフローチャートである。こ
の例では、払出制御用CPU371は、バックアップR
AMに保存されていた値をレジスタに復元する(ステッ
プS861)。そして、バックアップRAMに保存され
ていたデータにもとづいて停電時の払出状態を復旧する
ための処理を行う。例えば、賞球中処理中フラグのセッ
ト等を行う。
Hereinafter, the payout state restoration processing will be described. FIG. 59 is a flowchart showing an example of the payout state restoration processing shown in step S706 of FIG. In this example, the payout control CPU 371 sets the backup R
The value stored in the AM is restored to the register (step S861). Then, based on the data stored in the backup RAM, a process for recovering the payout state at the time of the power failure is performed. For example, a flag during processing of a prize ball is set.

【0365】例えば、電源復旧時に、バックアップRA
M領域に、未払出賞球数もしくは未払出貸し球数、また
はそれらの両方が保存されていた場合には、それらの保
存数にもとづいて払出処理を再開する。
For example, when the power is restored, the backup RA
If the number of unpaid prize balls or the number of unpaid lending balls or both of them are stored in the M area, the payout process is restarted based on the stored numbers.

【0366】払出状態を復帰させると、この実施の形態
では、払出制御用CPU371は、前回の電源断時の割
込許可/禁止状態を復帰させるために、バックアップR
AMに保存されていたパリティフラグの値を確認する
(ステップS862)。パリティフラグがクリアであれ
ば、割込許可設定を行う(ステップS863)。一方、
パリティフラグがオンであれば、そのまま(ステップS
701aで設定された割込禁止状態のまま)払出状態復
旧処理を終える。
When the payout state is restored, in this embodiment, the payout control CPU 371 returns to the backup R in order to restore the interrupt permission / prohibition state at the time of the previous power-off.
The value of the parity flag stored in the AM is checked (step S862). If the parity flag is clear, interrupt permission setting is performed (step S863). on the other hand,
If the parity flag is on, the process proceeds to step S
The payout state restoring process is terminated (with the interrupt prohibited state set in 701a).

【0367】なお、ここでは、払出状態復旧処理が終了
すると払出制御メイン処理にリターンするように払出状
態復旧処理プログラムが構成されているが、電力供給停
止時処理において保存されているスタックポインタが指
すスタックエリア(バックアップRAM領域にある)に
記憶されているアドレス(電源断時のNMI割込発生時
に実行されていたアドレス)に戻るようにしてもよい。
Here, the payout state restoring processing program is configured to return to the payout control main processing when the payout state restoring processing is completed, but the stack pointer stored in the power supply stop processing points out. It is also possible to return to the address stored in the stack area (in the backup RAM area) (the address that was being executed when the NMI interrupt occurred when the power was turned off).

【0368】このように、上記の実施の形態では、貸し
球払出装置と賞球払出装置とが独立して設けられている
遊技機において、賞球残数(未払出賞球数)と貸し球残
数(未払出貸し球数)とを記憶する領域が、それぞれコ
ンデンサ等で電源バックアップされている。従って、不
足の電源断等が生じても、所定期間は記憶内容が保存さ
れる。そして、電源復旧時に、バックアップRAM領域
に、未払出賞球数もしくは未払出貸し球数、またはそれ
らの両方が保存されていた場合には、それらの保存数に
もとづいて払出処理を再開する。従って、遊技者に不利
益を与えないようにすることができる。
As described above, in the above-described embodiment, in the gaming machine in which the loaned ball payout device and the prize ball payout device are provided independently, the remaining prize balls (the number of unpaid prize balls) and the loaned balls are provided. An area for storing the remaining number (the number of unpaid lending balls) is backed up by a capacitor or the like. Therefore, even if a shortage of power supply or the like occurs, the stored contents are preserved for a predetermined period. Then, when the power is restored, if the number of unpaid prize balls or the number of unpaid lending balls or both of them are stored in the backup RAM area, the payout process is restarted based on the stored numbers. Therefore, it is possible to prevent the player from being disadvantaged.

【0369】以上説明したように、賞球の払出処理が開
始される前の段階で払出球経路186aまたは186b
の何れか一方が球切れ状態となった場合に、払出予定数
の払出動作終了後に払出が完了したか否か確認し、完了
していない場合に補正動作を行う構成としたことで、一
方の経路が球切れ状態であることによる賞球モータ28
9Aに対する球圧の低下などによって払出不足(賞球モ
ータ289Aの駆動期間に応じた個数の遊技球が払い出
されないことによる払出不足)が発生したときであって
も、補正動作によって確実に全ての払出予定数の遊技球
を払出すことができる。従って、一方の経路が球切れ状
態となっていても、適切な払出処理を実行することがで
き、遊技媒体の欠乏状態に応じた適切な払出制御を実行
することができる。
As described above, the payout ball route 186a or 186b before the start of the prize ball payout process.
In the case where any one of the balls has run out of balls, it is checked whether or not the payout is completed after the payout operation of the expected number of payouts is completed, and if not completed, the correction operation is performed. Prize ball motor 28 due to the path being out of ball
Even when a shortage of payouts due to a decrease in ball pressure for 9A or the like (insufficient payout due to the number of game balls not being paid out according to the drive period of the prize ball motor 289A) occurs, all the corrections are reliably performed by the correction operation. A predetermined number of game balls can be paid out. Therefore, even if one of the routes is out of ball, an appropriate payout process can be executed, and an appropriate payout control can be executed in accordance with a lack state of the game medium.

【0370】また、上述したように賞球払出中であって
も払出停止中か否か確認する構成としたことで、払出球
経路186aおよび186b両方が球切れ状態となった
ときには即時に払出処理を停止することができる。従っ
て、遊技の状況に応じた適切な制御を行うことが可能と
なる。
Also, as described above, even if a prize ball is being paid out, it is configured to check whether or not the payout is stopped, so that when both the payout ball paths 186a and 186b are out of the ball, the payout processing is immediately performed. Can be stopped. Therefore, it is possible to perform appropriate control according to the game situation.

【0371】また、上述したように、払出球経路186
cが球切れ状態となったか否かとは無関係に賞球の払出
を行う構成としているので、貸し球の欠乏によって賞球
の払出が停止されてしまうことを防止することができ
る。従って、遊技の状況に応じた適切な制御を行うこと
が可能となる。
Also, as described above, the payout ball route 186
Since the payout of prize balls is performed irrespective of whether or not c has run out of balls, it is possible to prevent the payout of prize balls from being stopped due to a shortage of lending balls. Therefore, it is possible to perform appropriate control according to the game situation.

【0372】なお、上記の実施の形態では、主として賞
球の払出における処理について説明したが、貸し球の払
出経路を複数設ける構成として、貸し球の払出処理にお
いても同様の処理を行うように構成してもよい。
In the above embodiment, the processing in paying out prize balls has been mainly described. However, a configuration in which a plurality of payout paths of loaned balls are provided, and the same processing is performed in the payout processing of loaned balls. May be.

【0373】また、上記の実施の形態では、払出制御手
段における払出制御用CPU371が賞球払出装置97
Aおよび貸し球払出装置97Cを制御する構成としてい
たが、賞球払出装置97Aを制御する手段と、貸し球払
出装置97Cを制御する手段とを別の制御手段としても
よい。この場合、例えば払出制御用CPU371が賞球
払出装置97Aの制御を行い、貸し球払出装置97Cの
制御を行う球貸し制御手段を設けるようにすればよい。
このように賞球に関わる部分と球貸しに関わる部分とを
分離した構成とすれば、例えば現金機と呼ばれる球貸し
機構および球貸し制御手段が搭載されていない遊技機で
あっても、別個に構成されている球貸しに関わる部分を
取り去るだけで適用することが可能となる。
In the above-described embodiment, the payout control CPU 371 in the payout control means uses the prize ball payout device 97.
A and the rental ball dispensing device 97C are configured to be controlled. However, a unit that controls the prize ball dispensing device 97A and a unit that controls the rental ball dispensing device 97C may be different control units. In this case, for example, the payout control CPU 371 controls the prize ball payout device 97A, and a ball lending control unit that controls the lending ball payout device 97C may be provided.
If the configuration relating to the prize ball and the configuration relating to the ball lending are separated as described above, for example, even if the gaming machine is not equipped with a ball lending mechanism called a cash machine and a ball lending control means, it is separately required. It can be applied simply by removing the part related to ball lending that has been configured.

【0374】また、上記の実施の形態では、電源監視回
路は電源基板910に設けられたが、電源監視回路は主
基板31や払出制御基板37などの電気部品制御基板に
設けられていてもよい。なお、電源回路が搭載された電
気部品制御基板が構成される場合には、電源基板には、
電源監視回路は搭載されない。
Although the power supply monitoring circuit is provided on the power supply board 910 in the above embodiment, the power supply monitoring circuit may be provided on the electric component control boards such as the main board 31 and the dispensing control board 37. . When an electric component control board on which a power supply circuit is mounted is configured, the power supply board includes
No power monitoring circuit is installed.

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

【0376】さらに、パチンコ遊技機に限られず、スロ
ット機等においても、遊技媒体の払出制御が行われる場
合などには本発明を適用することができる。
The present invention is not limited to the pachinko gaming machine, but can be applied to a slot machine or the like in a case where the payout control of the game medium is performed.

【0377】[0377]

【発明の効果】以上のように、本発明によれば、遊技機
を、遊技者が所定の遊技を行うことが可能な遊技機であ
って、遊技媒体の払出を行う払出手段と、払出手段に遊
技媒体を供給するための複数の供給経路と、複数の供給
経路それぞれにおける遊技媒体の欠乏を検出することが
可能な遊技媒体欠乏検出手段とを備え、払出手段は、払
出動作を開始する以前の段階で、複数の供給経路のう
ち、一部の供給経路において遊技媒体の欠乏が検出され
た場合であっても、他の供給経路に遊技媒体が存在する
場合には、払出動作を行うことが可能なことを特徴とす
るものであるため、一部の供給経路で遊技媒体の欠乏状
態であっても、他の供給経路に存在する遊技媒体を用い
て、払出処理を実行することができる。従って、一部の
供給経路で遊技媒体の欠乏状態であっても適切な払出処
理を行うことができ、遊技媒体の欠乏状態に応じた適切
な払出制御を実行することができる。
As described above, according to the present invention, the gaming machine is a gaming machine in which a player can play a predetermined game, and the payout means for paying out game media, and the payout means A plurality of supply paths for supplying the game medium to the game medium, and a game medium deficiency detection means capable of detecting a deficiency of the game medium in each of the plurality of supply paths, and the payout means is provided before starting the payout operation. In the step, even if the shortage of the game medium is detected in some of the plurality of supply paths, the payout operation is performed when the game medium is present in the other supply paths. It is possible to execute the payout process using the game media existing in other supply paths even if the supply medium is in a shortage state in some supply paths. . Therefore, it is possible to perform an appropriate payout process even when the game medium is in a shortage state in a part of the supply path, and to execute appropriate payout control according to the game medium insufficiency state.

【0378】払出手段が、払出動作を開始する以前の段
階で、複数の供給経路の全てにおいて遊技媒体の欠乏が
検出された場合には、払出動作を行わないことを特徴と
するとした場合には、払出可能な遊技媒体が不足してい
るのにもかかわらず払出処理を実行してしまうことを防
止することができるため、遊技媒体の欠乏状態に応じた
適切な払出制御を実行することができる。
In the case where the payout means does not perform the payout operation when the shortage of the game medium is detected in all of the plurality of supply paths before the start of the payout operation, Since it is possible to prevent the payout process from being executed despite the shortage of payable game media, it is possible to execute appropriate payout control according to the state of lack of game media. .

【0379】払出手段の1回の払出動作としての予定動
作期間および1回の払出動作により払出す予定払出数を
あらかじめ設定可能であり、払出手段が、一部の供給経
路で遊技媒体の欠乏が検出されたあとに遊技媒体の払出
を行った場合であって、予定動作期間内に払い出された
遊技媒体の払出数が予定払出数に満たない場合には、予
定動作期間経過後に予定払出数の未払出分を払い出す払
出動作を行うことが可能なことを特徴とするとした場合
には、例えば補正動作などによって未払出分の遊技媒体
を払出すことができるため、切り良く払出すことが可能
となる。
[0379] The scheduled operation period as one payout operation of the payout means and the planned number of payouts to be paid out by one payout operation can be set in advance, and when the payout means runs out of game media in some supply paths. When the payout of the game medium is performed after the detection, and the number of game media paid out during the scheduled operation period is less than the planned number of payouts, the planned number of payouts after the scheduled operation period elapses In the case where the payout operation of paying out the unpaid portion of the game can be performed, the unpaid game media can be paid out by, for example, a correction operation. It becomes possible.

【0380】複数の供給経路に、遊技の進行に応じて払
い出される遊技媒体を払出手段に供給するための複数の
賞遊技媒体供給経路を含むことを特徴とする場合には、
例えば賞球などの遊技の進行に応じて払い出される遊技
媒体を供給するための供給経路の一部で遊技媒体の欠乏
状態であっても、遊技の進行に応じて払い出される遊技
媒体を供給するための他の供給経路に存在する遊技媒体
を用いて、賞球などの払出処理を実行することができ
る。従って、効率的な賞球などの払出制御が可能とな
り、遊技媒体の欠乏状態に応じた適切な払出制御を実行
することができる。
In the case where the plurality of supply paths include a plurality of prize game medium supply paths for supplying game medium to be paid out in accordance with the progress of the game to the payout means,
For example, to supply a game medium to be paid out in accordance with the progress of the game even if a part of the supply path for supplying the game medium to be paid out according to the progress of the game such as a prize ball is in a shortage state of the game medium. Payout processing such as award balls can be executed using game media existing in other supply paths. Accordingly, payout control such as an award ball can be efficiently performed, and appropriate payout control according to a lack state of the game medium can be executed.

【0381】遊技者の所定の遊技結果にもとづく入賞を
検出する入賞検出手段と、遊技の進行を制御する遊技制
御手段と、払出手段を制御して遊技媒体の払出に関わる
制御を行う払出制御手段とを備え、遊技制御手段が、払
出停止中であっても、入賞検出手段からの入賞検出に応
じて払出数を特定するための制御信号を払出制御手段に
出力することが可能なことを特徴とする場合には、払出
停止中の入賞に応じた払出数を特定する制御信号を確実
に出力することができるため、遊技者の利益を保護する
ことができる。
[0381] A prize detecting means for detecting a prize based on a predetermined game result of the player, a game control means for controlling the progress of the game, and a payout control means for controlling the payout means so as to control the payout of the game medium. The game control means can output a control signal for specifying the number of payouts to the payout control means in accordance with the winning detection from the prize detection means even when the payout is stopped. In this case, since the control signal for specifying the number of payouts corresponding to the winning while the payout is stopped can be reliably output, the profit of the player can be protected.

【0382】払出制御手段が、払出停止中であっても、
遊技制御手段が出力した制御信号を取得することが可能
なことを特徴とする場合には、払出停止中に入力した制
御信号を確実に取得することができるため、入賞に応じ
た払出数を確実に把握することができ、遊技者の利益を
保護することができる。
[0382] Even if the payout control means is in the stoppage of payout,
In the case where the control signal output by the game control means can be obtained, the control signal input during the stoppage of the payout can be reliably obtained. To protect the interests of the player.

【0383】払出手段として、遊技の進行に応じた遊技
媒体の払出を行う賞遊技媒体払出機構部と、貸出要求に
応じた遊技媒体の払出を行う貸出遊技媒体払出機構部と
を有し、供給経路として、遊技の進行に応じて払い出さ
れる遊技媒体を賞遊技媒体払出機構部に供給する賞供給
経路と、貸出要求に応じて払い出される遊技媒体を貸出
遊技媒体払出機構部に供給する貸出供給経路とを備え、
遊技媒体欠乏検出手段が、賞供給経路と貸出供給経路の
それぞれに対応して設けられることを特徴とする場合に
は、遊技の進行に応じて払い出される遊技媒体の欠乏
と、貸出要求に応じて払い出される遊技媒体の欠乏とを
区別して把握することができるため、遊技媒体の欠乏状
態に応じた適切な払出制御を実行することができる。
The payout means includes a prize game medium payout mechanism for paying out game media in accordance with the progress of the game, and a rental game medium payout mechanism for paying out game media in response to a loan request. As a route, a prize supply path for supplying game media paid out in accordance with the progress of the game to the prize game medium payout mechanism, and a lending supply path for supplying game media paid out in response to a lending request to the lending game medium payout mechanism. With
When the game medium deficiency detecting means is provided corresponding to each of the prize supply path and the lending supply path, the lack of the game medium paid out in accordance with the progress of the game and the lending request Since it is possible to distinguish and recognize the lack of the game medium to be paid out, it is possible to execute appropriate payout control according to the state of the lack of the game medium.

【0384】賞遊技媒体払出機構部は、貸出供給経路に
おいて遊技媒体の欠乏が検出された場合であっても、遊
技の進行に応じて払い出される遊技媒体の払出を行うこ
とが可能なことを特徴とする場合には、貸出要求に応じ
て払い出される遊技媒体が欠乏していても、遊技の進行
に応じて払い出される遊技媒体が確保されている場合に
は、遊技の進行に応じて払い出される遊技媒体の払出し
を実行することができるため、遊技媒体の欠乏状態に応
じた適切な払出制御を実行することができる。
[0384] The prize game medium payout mechanism is capable of paying out the game medium paid out in accordance with the progress of the game, even when the shortage of the game medium is detected in the lending supply path. If the game media paid out in response to the lending request is insufficient, but the game media paid out in accordance with the progress of the game is secured, the game paid out in accordance with the progress of the game Since the payout of the medium can be executed, it is possible to execute appropriate payout control according to the shortage state of the game medium.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 パチンコ遊技機を正面からみた正面図であ
る。
FIG. 1 is a front view of a pachinko gaming machine viewed from the front.

【図2】 パチンコ遊技機の裏面に設けられている各基
板を示す説明図である。
FIG. 2 is an explanatory view showing each substrate provided on the back surface of the pachinko gaming machine.

【図3】 パチンコ遊技機の機構板を背面からみた背面
図である。
FIG. 3 is a rear view of the mechanical plate of the pachinko gaming machine as viewed from the rear.

【図4】 賞球払出装置およびその上部の球通過経路の
構成を示す構成図である。
FIG. 4 is a configuration diagram showing a configuration of a prize ball payout device and a ball passing path above the device.

【図5】 賞球払出装置の分解斜視図である。FIG. 5 is an exploded perspective view of the prize ball payout device.

【図6】 貸し球払出装置およびその上部の球通過経路
の構成を示す構成図である。
FIG. 6 is a configuration diagram showing a configuration of a rental ball dispensing device and a ball passage path above the device.

【図7】 貸し球払出装置の貸し球が停留している状態
を示す断面図である。
FIG. 7 is a cross-sectional view illustrating a state in which a rental ball of the rental ball payout device is stationary.

【図8】 貸し球払出装置の停留されていた貸し球が開
放された状態を示す断面図である。
FIG. 8 is a cross-sectional view showing a state in which the lent ball that has been stopped in the lent ball dispensing device is released.

【図9】 賞球払出装置および貸し球払出装置の他の構
成例を示す構成図である。
FIG. 9 is a configuration diagram showing another configuration example of a prize ball payout device and a rental ball payout device.

【図10】 遊技制御基板(主基板)の回路構成を示す
ブロック図である。
FIG. 10 is a block diagram showing a circuit configuration of a game control board (main board).

【図11】 ランプ制御基板内の回路構成を示すブロッ
ク図である。
FIG. 11 is a block diagram showing a circuit configuration in a lamp control board.

【図12】 払出制御基板および球払出装置の構成要素
などの賞球に関連する構成要素を示すブロック図であ
る。
FIG. 12 is a block diagram showing components related to a prize ball, such as components of a payout control board and a ball payout device.

【図13】 電源監視および電源バックアップのための
CPU周りの一構成例を示すブロック図である。
FIG. 13 is a block diagram illustrating a configuration example around a CPU for power supply monitoring and power supply backup.

【図14】 電源基板の一構成例を示すブロック図であ
る。
FIG. 14 is a block diagram illustrating a configuration example of a power supply board.

【図15】 主基板におけるCPUが実行するメイン処
理の例を示すフローチャートである。
FIG. 15 is a flowchart illustrating an example of a main process executed by a CPU on a main board.

【図16】 遊技状態復旧処理を実行するか否かの決定
方法の例を示す説明図である。
FIG. 16 is an explanatory diagram showing an example of a method for determining whether or not to execute a game state restoration process.

【図17】 初期設定処理の例を示すフローチャートで
ある。
FIG. 17 is a flowchart illustrating an example of an initial setting process.

【図18】 初期化処理の例を示すフローチャートであ
る。
FIG. 18 is a flowchart illustrating an example of an initialization process.

【図19】 2msタイマ割込処理の例を示すフローチ
ャートである。
FIG. 19 is a flowchart illustrating an example of a 2 ms timer interrupt process.

【図20】 遊技制御処理の例を示すフローチャートで
ある。
FIG. 20 is a flowchart illustrating an example of a game control process.

【図21】 払出制御コマンドの一構成例を示す説明図
である。
FIG. 21 is an explanatory diagram showing a configuration example of a payout control command.

【図22】 制御信号とINT信号との関係を示すタイ
ミング図である。
FIG. 22 is a timing chart showing a relationship between a control signal and an INT signal.

【図23】 払出制御コマンドの内容の一例を示す説明
図である。
FIG. 23 is an explanatory diagram showing an example of the content of a payout control command.

【図24】 ランプ制御コマンドの内容の一例を示す説
明図である。
FIG. 24 is an explanatory diagram showing an example of the contents of a lamp control command.

【図25】 スイッチ処理を示すフローチャートであ
る。
FIG. 25 is a flowchart showing a switch process.

【図26】 入賞球信号処理を示すフローチャートであ
る。
FIG. 26 is a flowchart showing winning ball signal processing.

【図27】 入賞球信号処理を示すフローチャートであ
る。
FIG. 27 is a flowchart showing winning ball signal processing.

【図28】 入賞球信号処理を示すフローチャートであ
る。
FIG. 28 is a flowchart showing winning ball signal processing.

【図29】 入賞球信号処理を示すフローチャートであ
る。
FIG. 29 is a flowchart showing winning ball signal processing.

【図30】 入賞球信号処理を示すフローチャートであ
る。
FIG. 30 is a flowchart showing winning ball signal processing.

【図31】 エラー表示処理を示すフローチャートであ
る。
FIG. 31 is a flowchart showing an error display process.

【図32】 賞球個数信号出力処理を示すフローチャー
トである。
FIG. 32 is a flowchart showing a prize ball number signal output process.

【図33】 コマンド送信テーブルの構成を示す説明図
である。
FIG. 33 is an explanatory diagram showing a configuration of a command transmission table.

【図34】 コマンド制御処理を示すフローチャートで
ある。
FIG. 34 is a flowchart showing a command control process.

【図35】 コマンド送信処理を示すフローチャートで
ある。
FIG. 35 is a flowchart showing a command transmission process.

【図36】 電源監視および電源バックアップのための
払出制御用CPU周りの一構成例を示すブロック図であ
る。
FIG. 36 is a block diagram illustrating a configuration example around a payout control CPU for power supply monitoring and power supply backup.

【図37】 払出制御用CPUが実行するメイン処理の
例を示すフローチャートである。
FIG. 37 is a flowchart illustrating an example of main processing executed by a payout control CPU.

【図38】 払出制御用CPUの初期設定処理の一例を
示すフローチャートである。
FIG. 38 is a flowchart illustrating an example of an initial setting process of a payout control CPU.

【図39】 払出制御用CPUの初期化処理の一例を示
すフローチャートである。
FIG. 39 is a flowchart illustrating an example of initialization processing of a payout control CPU.

【図40】 払出制御用CPUのタイマ割込処理の例を
示すフローチャートである。
FIG. 40 is a flowchart illustrating an example of a timer interrupt process of a payout control CPU.

【図41】 払出制御手段におけるRAMの一構成例を
示す説明図である。
FIG. 41 is an explanatory diagram showing one configuration example of a RAM in the payout control means.

【図42】 受信バッファの一構成例を示す説明図であ
る。
FIG. 42 is an explanatory diagram illustrating a configuration example of a reception buffer.

【図43】 払出制御用CPUのコマンド受信処理の例
を示すフローチャートである。
FIG. 43 is a flowchart illustrating an example of a command receiving process of the payout control CPU.

【図44】 払出制御用CPUが実行する払出制御処理
の例を示すフローチャートである。
FIG. 44 is a flowchart illustrating an example of payout control processing executed by a payout control CPU.

【図45】 コマンド解析実行処理の例を示すフローチ
ャートである。
FIG. 45 is a flowchart illustrating an example of a command analysis execution process.

【図46】 払出停止状態設定処理の例を示すフローチ
ャートである。
FIG. 46 is a flowchart illustrating an example of a payout stop state setting process.

【図47】 スイッチ処理の例を示すフローチャートで
ある。
FIG. 47 is a flowchart illustrating an example of a switch process.

【図48】 プリペイドカードユニット制御処理の例を
示すフローチャートである。
FIG. 48 is a flowchart showing an example of a prepaid card unit control process.

【図49】 球貸し制御処理の例を示すフローチャート
である。
FIG. 49 is a flowchart illustrating an example of a ball lending control process.

【図50】 球貸しカウントスイッチチェック処理の例
を示すフローチャートである。
FIG. 50 is a flowchart showing an example of a ball lending count switch check process.

【図51】 賞球制御処理の例を示すフローチャートで
ある。
FIG. 51 is a flowchart illustrating an example of a winning ball control process.

【図52】 賞球制御処理の例を示すフローチャートで
ある。
FIG. 52 is a flowchart illustrating an example of a winning ball control process.

【図53】 賞球カウントスイッチチェック処理の例を
示すフローチャートである。
FIG. 53 is a flowchart illustrating an example of a winning ball count switch check process.

【図54】 エラーの種類とエラー表示用LEDの表示
との関係を示す説明図である。
FIG. 54 is an explanatory diagram showing the relationship between the type of error and the display of an error display LED.

【図55】 エラー処理の一例を示すフローチャートで
ある。
FIG. 55 is a flowchart illustrating an example of an error process.

【図56】 エラー処理の一例を示すフローチャートで
ある。
FIG. 56 is a flowchart illustrating an example of error processing.

【図57】 払出制御用CPUが実行する停電発生NM
I処理の例を示すフローチャートである。
FIG. 57 is a power outage occurrence NM executed by a payout control CPU.
It is a flowchart which shows the example of I processing.

【図58】 バックアップパリティデータ作成方法の例
を説明するための説明図である。
FIG. 58 is an explanatory diagram for describing an example of a backup parity data creating method.

【図59】 払出制御用CPUが実行する払出状態復旧
処理の例を示すフローチャートである。
FIG. 59 is a flowchart illustrating an example of a payout state restoration process executed by a payout control CPU.

【符号の説明】[Explanation of symbols]

1 パチンコ遊技機 31 主基板 37 払出制御基板 53 基本回路 56 CPU 97A 賞球払出装置 97C 貸し球払出装置 186a,186b 払出球経路(賞球用) 186c 払出球経路(貸し球用) 187a,187b 球切れスイッチ(賞球用) 187c 球切れスイッチ(貸し球用) 371 払出制御用CPU 902 電源監視用IC 910 電源基板 1 Pachinko gaming machine 31 Main board 37 Payout control board 53 Basic circuit 56 CPU 97A Prize ball payout apparatus 97C Lending ball payout apparatus 186a, 186b Payout ball path (for prize ball) 186c Payout ball path (for rental ball) 187a, 187b Ball Out switch (for prize ball) 187c Out of ball switch (for rental ball) 371 Dispensing control CPU 902 Power monitoring IC 910 Power board

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 遊技者が所定の遊技を行うことが可能な
遊技機であって、 遊技媒体の払出を行う払出手段と、前記払出手段に遊技
媒体を供給するための複数の供給経路と、前記複数の供
給経路それぞれにおける遊技媒体の欠乏を検出すること
が可能な遊技媒体欠乏検出手段とを備え、 前記払出手段は、払出動作を開始する以前の段階で、前
記複数の供給経路のうち、一部の供給経路において遊技
媒体の欠乏が検出された場合であっても、他の供給経路
に遊技媒体が存在する場合には、払出動作を行うことが
可能なことを特徴とする遊技機。
1. A gaming machine in which a player can play a predetermined game, comprising: a payout unit for paying out a game medium; a plurality of supply paths for supplying a game medium to the payout unit; Game medium deficiency detection means capable of detecting a deficiency of game media in each of the plurality of supply paths, wherein the payout means is a stage before starting a payout operation, of the plurality of supply paths, A gaming machine characterized in that a payout operation can be performed even when a shortage of a game medium is detected in a part of a supply path and a game medium exists in another supply path.
【請求項2】 払出手段は、払出動作を開始する以前の
段階で、複数の供給経路の全てにおいて遊技媒体の欠乏
が検出された場合には、払出動作を行わないことを特徴
とする請求項1記載の遊技機。
2. The payout means does not perform the payout operation when the shortage of the game medium is detected in all of the plurality of supply paths at a stage before the start of the payout operation. 1. The gaming machine according to 1.
【請求項3】 払出手段の1回の払出動作としての予定
動作期間および1回の払出動作により払出す予定払出数
をあらかじめ設定可能であり、 払出手段は、一部の供給経路で遊技媒体の欠乏が検出さ
れたあとに遊技媒体の払出を行った場合であって、前記
予定動作期間内に払い出された遊技媒体の払出数が前記
予定払出数に満たない場合には、前記予定動作期間経過
後に予定払出数の未払出分を払い出す払出動作を行うこ
とが可能なことを特徴とする請求項1または請求項2記
載の遊技機。
3. A scheduled operation period as one payout operation of the payout means and a scheduled payout number to be paid out by one payout operation can be set in advance. In the case where the payout of the game medium is performed after the deficiency is detected, and the number of payouts of the game medium paid out within the scheduled operation period is less than the planned payout number, the scheduled operation period 3. The gaming machine according to claim 1, wherein a payout operation of paying out an unpaid amount of the expected payout number after the lapse of time has been performed.
【請求項4】 複数の供給経路は、遊技の進行に応じて
払い出される遊技媒体を払出手段に供給するための複数
の賞遊技媒体供給経路を含むことを特徴とする請求項1
ないし請求項3記載の遊技機。
4. The plurality of supply paths include a plurality of prize game medium supply paths for supplying game medium to be paid out in accordance with the progress of the game to payout means.
A gaming machine according to claim 3.
【請求項5】 遊技者の所定の遊技結果にもとづく入賞
を検出する入賞検出手段と、遊技の進行を制御する遊技
制御手段と、払出手段を制御して遊技媒体の払出に関わ
る制御を行う払出制御手段とを備え、 前記遊技制御手段は、払出停止中であっても、前記入賞
検出手段からの入賞検出に応じて払出数を特定するため
の制御信号を前記払出制御手段に出力することが可能な
ことを特徴とする請求項1ないし請求項4記載の遊技
機。
5. A prize detecting means for detecting a prize based on a predetermined game result of the player, a game control means for controlling a progress of the game, and a payout for controlling a payout means to control a payout of a game medium. The game control means may output a control signal to the payout control means for specifying the number of payouts in accordance with the winning detection from the prize detection means, even when the payout is stopped. The gaming machine according to claim 1, wherein the gaming machine is enabled.
【請求項6】 払出制御手段は、払出停止中であって
も、遊技制御手段が出力した制御信号を取得することが
可能なことを特徴とする請求項5記載の遊技機。
6. The gaming machine according to claim 5, wherein the payout control means can acquire the control signal output by the game control means even when the payout is stopped.
【請求項7】 払出手段として、遊技の進行に応じた遊
技媒体の払出を行う賞遊技媒体払出機構部と、貸出要求
に応じた遊技媒体の払出を行う貸出遊技媒体払出機構部
とを有し、 供給経路として、遊技の進行に応じて払い出される遊技
媒体を前記賞遊技媒体払出機構部に供給する賞供給経路
と、貸出要求に応じて払い出される遊技媒体を前記貸出
遊技媒体払出機構部に供給する貸出供給経路とを備え、 遊技媒体欠乏検出手段は、前記賞供給経路と貸出供給経
路のそれぞれに対応して設けられることを特徴とする請
求項1ないし請求項6記載の遊技機。
7. A payout means comprising: a prize game medium payout mechanism for paying out game media in accordance with the progress of the game; and a lending game medium payout mechanism for paying out game media in accordance with a lending request. As a supply path, a prize supply path for supplying game media to be paid out in accordance with the progress of the game to the prize game medium payout mechanism, and a game medium to be paid out in response to a lending request to the rent game medium payout mechanism. 7. The gaming machine according to claim 1, further comprising: a lending supply path, wherein the game medium shortage detection unit is provided corresponding to each of the prize supply path and the lending supply path.
【請求項8】 賞遊技媒体払出機構部は、貸出供給経路
において遊技媒体の欠乏が検出された場合であっても、
遊技の進行に応じて払い出される遊技媒体の払出を行う
ことが可能なことを特徴とする請求項7記載の遊技機。
8. The prize game medium payout mechanism, even if a shortage of game media is detected in the lending supply path,
The gaming machine according to claim 7, wherein a payout of a game medium paid out according to a progress of the game can be performed.
JP2000207294A 2000-07-07 2000-07-07 Game machine Withdrawn JP2002018059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000207294A JP2002018059A (en) 2000-07-07 2000-07-07 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000207294A JP2002018059A (en) 2000-07-07 2000-07-07 Game machine

Publications (1)

Publication Number Publication Date
JP2002018059A true JP2002018059A (en) 2002-01-22

Family

ID=18704073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000207294A Withdrawn JP2002018059A (en) 2000-07-07 2000-07-07 Game machine

Country Status (1)

Country Link
JP (1) JP2002018059A (en)

Similar Documents

Publication Publication Date Title
JP2001310039A (en) Game machine
JP2001252451A (en) Game machine
JP3773747B2 (en) Game machine
JP3558942B2 (en) Gaming machine
JP2001187251A (en) Game machine
JP2002095806A (en) Game machine
JP2001347013A (en) Game machine
JP2002011203A (en) Game machine
JP4056683B2 (en) Game machine
JP2002119734A (en) Game machine
JP2002058835A (en) Game machine
JP4137346B2 (en) Game machine
JP2002018056A (en) Game machine
JP2002018059A (en) Game machine
JP3462829B2 (en) Gaming machine
JP2002000904A (en) Game machine
JP2002000863A (en) Game machine
JP2001224809A (en) Game machine
JP2001314611A (en) Game machine
JP2001314567A (en) Game machine
JP2001310022A (en) Game machine
JP2001310040A (en) Game machine
JP2002078942A (en) Game machine
JP2001314566A (en) Game machine
JP3602409B2 (en) Gaming machine

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20051201

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060120

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20060922