JPH04327873A - Card type pinball machine game system - Google Patents

Card type pinball machine game system

Info

Publication number
JPH04327873A
JPH04327873A JP12525291A JP12525291A JPH04327873A JP H04327873 A JPH04327873 A JP H04327873A JP 12525291 A JP12525291 A JP 12525291A JP 12525291 A JP12525291 A JP 12525291A JP H04327873 A JPH04327873 A JP H04327873A
Authority
JP
Japan
Prior art keywords
ball
flag
discharge
sensor
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP12525291A
Other languages
Japanese (ja)
Other versions
JP2954383B2 (en
Inventor
Kichihei Niiyama
新山 吉平
Koji Ito
伊東 広司
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.)
Sophia Co Ltd
Original Assignee
Sophia 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=14905517&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH04327873(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Sophia Co Ltd filed Critical Sophia Co Ltd
Priority to JP12525291A priority Critical patent/JP2954383B2/en
Publication of JPH04327873A publication Critical patent/JPH04327873A/en
Application granted granted Critical
Publication of JP2954383B2 publication Critical patent/JP2954383B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To supply balls without running short thereof by converting a part of money amount data in a card to the number-of-balls data to make control of automatically additionally supplying game balls corresponding to the number- of-balls data after the decrease of the game balls on a supply tray is detected by a ball detecting means. CONSTITUTION:In a card type pinball machine game system provided with a pair of a pinball game machine 100 and ball lending machine 200 enclosing therein a card reader provided with a card inserting port 211, while a first ball detector 131 for detecting the presence of a ball is provided on the downstream end of a supply tray 120 a second ball detector 132 as a ball reserve detector is provided near an outflow port 129 on the upstream side of the supply tray 120. When the ball detector 131 detects the ball shortage, a signal for requiring conversion to ball lending is sent to the ball lending machine 200. Also, even if the first ball detector 131 detects the ball shortage, the signal for requiring the conversion to the ball lending can not be generated when the second ball detector 132 detects the presence of the balls.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は遊技機の制御技術さらに
はカード式パチンコ遊技システムにおけるカード残金の
貸し玉への変換制御方式に適用して有効な技術に関し、
例えばパチンコ遊技機の賞球排出装置を用いて貸し玉を
排出する方式のシステムにおける玉貸し制御に利用して
効果的な技術に関する。
[Field of Industrial Application] The present invention relates to a control technology for gaming machines, and a technology that is effective when applied to a control system for converting card balances into rental balls in a card-type pachinko gaming system.
For example, the present invention relates to a technique that can be effectively used for ball rental control in a system that discharges rented balls using a prize ball ejecting device of a pachinko game machine.

【0002】0002

【従来の技術】近年、磁気カードを媒介として遊技を行
なうようにしたカード式のパチンコ遊技システムが提唱
されている。カード方式は、遊技客が記憶媒体であるカ
ードのみを持ち歩けばよく、落下し易いパチンコ球を大
量に持ち運ぶ手間を軽減することができるという利点が
ある。従来提案されているカード式パチンコ遊技システ
ムには、大きく分けると次の2つの方式がある。第1の
方式は、カードの発行に際して購入金額に対応した持玉
数データをカードに記憶し、この持玉数データの範囲内
でパチンコ遊技を行ない、遊技過程において増減した持
玉数データをカードに記憶するというものである(特公
昭47−42227号参照)。カード方式の第2の方式
は、カードの購入の際にコード番号だけを記録したカー
ドを発行し、持玉数は集中管理装置に記憶し、カードを
パチンコ機のカード読取装置に挿入することによって記
憶された持玉数を呼び出して遊技を行なえるようにする
ものである(実公昭61−32709号、特公昭51−
17106号参照)。しかしながら、従来のカード式遊
技システムはいずれの方式にあっても、カードによる遊
技が可能にされるのはカードを発行した遊技店内のみで
あり、他の遊技店で発行されたカードでは遊技が行なえ
ないようになっていた。また、発行されたカードが有効
とされるのは発行当日のみであった。そこで、他の遊技
店で発行されたカードでも使用でき、しかも有効期限の
制約を受けずに使用できるようにした共通プリペードカ
ード方式の遊技システムも一部で実用化されている。
2. Description of the Related Art In recent years, card-type pachinko game systems have been proposed in which games are played using magnetic cards. The card system has the advantage that the player only has to carry the card, which is a storage medium, and can reduce the effort of carrying a large number of pachinko balls that are prone to falling. Card-based pachinko gaming systems that have been proposed in the past can be roughly divided into the following two systems. In the first method, when a card is issued, data on the number of balls held corresponding to the purchase price is stored on the card, pachinko is played within the range of this data on the number of balls held, and data on the number of balls held that increases or decreases during the playing process is stored on the card. (See Japanese Patent Publication No. 47-42227). The second card method is to issue a card with only a code number recorded at the time of card purchase, store the number of balls held in a central management device, and insert the card into the card reading device of the pachinko machine. This allows you to play a game by calling up the stored number of balls you have (Utility Model Publication No. 32709, 1983, Special Publication No. 51-1982).
17106). However, regardless of the type of conventional card-based gaming system, games with cards are only possible within the gaming arcade where the card was issued, and games cannot be played with cards issued at other gaming arcades. It turned out that there was no such thing. Additionally, issued cards were only valid on the day of issue. Therefore, gaming systems based on common prepaid cards have been put into practical use in some areas, allowing cards issued by other gaming parlors to be used without restrictions on expiration dates.

【0003】0003

【発明が解決しようとする課題】しかしながら、このよ
うな共通プリペードカード方式を採用すると、遊技者に
とっては一旦カードを購入してカードを玉貸機にいれて
貸し玉に変換してからでないと遊技を開始できないため
、従来に比べてカードを購入する行為が増えた分だけ余
計な手間がかかるという問題点があった。そこで、パチ
ンコ遊技機とパチンコ遊技機との間に配置される玉貸機
にカードリーダを設け、パチンコ遊技機の操作パネルに
設けられたスイッチボタンからの指令によりカードの残
金の一部を貸し玉に変換して、パチンコ遊技機に設けら
れた賞品球排出装置を使って貸し玉を直接パチンコ遊技
機の供給皿に排出させるようにして遊技者の煩わしさを
軽減するようにした玉貸し方式が提案されている。しか
しながら、この玉貸し方式にあっては、遊技中に供給皿
上の玉がなくなると、再度カードを玉貸し機に挿入して
変換ボタンを操作しなくてはならないため、追加変換が
面倒であるとともに、いわゆる大当り発生時に玉切れを
起こすと、権利が消滅することがあるという問題点があ
ることが明らかになった。
[Problem to be Solved by the Invention] However, if such a common prepaid card system is adopted, the player must first purchase a card, put the card into a ball rental machine, and convert it into a rental ball before playing the game. Since the card cannot be started, there is a problem in that it requires extra effort as the number of card purchases has increased compared to the past. Therefore, a card reader is installed in the ball lending machine placed between the pachinko gaming machines, and a part of the remaining balance on the card is transferred to the ball lending machine based on a command from a switch button provided on the operation panel of the pachinko gaming machine. A ball lending system that reduces the inconvenience to players by using a prize ball discharging device installed in the pachinko machine to eject the rented balls directly into the supply tray of the pachinko machine has been developed. Proposed. However, with this ball lending system, if the balls on the supply tray run out during a game, the player must insert the card into the ball lending machine again and operate the conversion button, making additional conversions cumbersome. At the same time, it has become clear that there is a problem in that if the ball runs out when a so-called jackpot occurs, the rights may be lost.

【0004】この発明は上記のような背景の下になされ
たもので、その目的とするところは、カード式遊技シス
テムにおいてカード購入から遊技開始までに必要な手順
および遊技中における貸し玉への追加変換の際の遊技者
の手順を簡略化して遊技の煩わしさを少なくできるとと
もに、大当り発生時の玉切れによる権利消滅を防止でき
るような玉貸し方式を提供することにある。またその場
合に、大当り発生時や供給皿に玉がある状態での自動追
加変換機能を制限して、自動追加変換機能の採用に伴う
不具合(ボタンの誤操作、玉詰まり、大当り時の玉抜き
の際の誤信号)を回避できるようにする。
The present invention was made against the above-mentioned background, and its purpose is to solve the necessary steps from purchasing a card to starting a game in a card-based gaming system and adding balls to rental balls during a game. To provide a ball lending system which can reduce the troublesomeness of a game by simplifying a player's procedure at the time of conversion, and can prevent the extinguishment of rights due to running out of balls when a jackpot occurs. In that case, the automatic additional conversion function is restricted when a jackpot occurs or there are balls in the supply tray, and problems associated with the adoption of the automatic additional conversion function (incorrect button operation, ball jamming, ball removal when a jackpot is hit) can be avoided. (false signals) can be avoided.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
、供給皿から打球発射部までの誘導路の途中に玉検出器
を配置するとともに、遊技機の制御装置には上記検出器
により玉不足を検出した場合に玉貸機に対して貸し玉へ
の変換要求信号を送信する自動追加変換機能を設けるよ
うに構成したものである。また、供給皿の上流側にも第
2の玉検出器を設けて、上記玉不足検出器により玉不足
を検出したとしても第2の検出器が玉の存在を検出して
いるときは上記貸し玉への変換要求信号を発生させない
ようにするとともに、いわゆる大当りのような遊技状態
が発生したときには上記自動追加変換機能を無効にさせ
るようにする。
[Means for Solving the Problems] In order to achieve the above object, a ball detector is disposed in the middle of the guide path from the supply tray to the batted ball launcher, and the control device of the gaming machine is equipped with a ball detector that detects the lack of balls. This system is configured to provide an automatic additional conversion function that sends a conversion request signal to the ball rental machine to the ball rental machine when the ball rental machine detects this. In addition, a second ball detector is provided on the upstream side of the supply tray, and even if the ball shortage detector detects a ball shortage, when the second detector detects the presence of balls, the above-mentioned rental A conversion request signal to balls is not generated, and the automatic additional conversion function is disabled when a game state such as a so-called jackpot occurs.

【0006】[0006]

【作用】上記した手段によれば、供給皿から打球発射部
までの誘導路の途中に玉がなくなると自動的に玉貸機に
対して貸し玉への変換要求信号が送信されるため、遊技
者はいちいち変換ボタンを押す必要がなくなり、遊技の
煩わしさを少なくするとともに、大当り発生時に玉切れ
を起こしてもすぐに貸玉が追加され、権利消滅を防止す
ることができる。また、供給皿の上流側にも第2の玉検
出器を設けているため、供給皿の途中で玉詰まりが生じ
たり遊技中に誤って変換ボタンを押してしまったような
場合には玉貸機に対して貸し玉への変換要求信号が送信
されることがない。さらに、大当りのような遊技状態が
発生したときには上記自動追加変換機能が無効にされる
ため、多量の賞品玉が発生して供給皿の玉抜きを行なっ
た際に玉不足検出信号が発生しても変換要求信号が送信
されることがなく、自動追加変換機能の採用に伴う不具
合を回避することができる。
[Operation] According to the above-described means, when there are no balls on the guide path from the supply tray to the ball launcher, a signal requesting conversion to rental balls is automatically sent to the ball lending machine. Players do not need to press the conversion button every time, which reduces the troublesomeness of the game, and even if balls run out when a jackpot occurs, additional balls are added immediately to prevent rights from extinguishing. In addition, a second ball detector is installed on the upstream side of the supply tray, so if a ball jams in the middle of the supply tray or if you accidentally press the conversion button during play, the ball lending machine A conversion request signal to a rental ball is never sent to the player. Furthermore, when a gaming state such as a jackpot occurs, the automatic addition conversion function is disabled, so when a large number of prize balls are generated and the balls are removed from the supply tray, a ball shortage detection signal is generated. Also, no conversion request signal is sent, and problems associated with the adoption of the automatic additional conversion function can be avoided.

【0007】[0007]

【実施例】本発明に係るカード式パチンコ遊技システム
の一実施例が示されている。この実施例では、パチンコ
遊技機100と玉貸機200とが対をなすように構成さ
れており、各玉貸機200にはカードリーダが内蔵され
、玉貸機200の前面パネル210には上記カードリー
ダに対応してカード挿排口211と、挿入されたカード
の残高を表示する挿入残高表示器220、玉貸機が作動
状態にあることを表示する有効表示ランプ230が設け
られている。一方、パチンコ機100には、前面パネル
110に設けられている供給皿120の上面に、操作パ
ネル121が形成され、この操作パネル121上に上記
玉貸機200に挿入されたカードの残高を表示する残高
表示器122と、上記玉貸機200に対し、貸し玉(遊
技球)への変換の指令を与える変換ボタン123と、カ
ードの排出(返却)を指令する返却ボタン124と、上
記変換ボタン123により変換された貸し玉数を表示す
る玉数表示器125が設けられている。
[Embodiment] An embodiment of the card-type pachinko game system according to the present invention is shown. In this embodiment, a pachinko gaming machine 100 and a ball lending machine 200 are configured to form a pair, each ball lending machine 200 has a built-in card reader, and the front panel 210 of the ball lending machine 200 has the above-mentioned A card insertion/ejection opening 211, an insertion balance display 220 for displaying the balance of the inserted card, and a valid indicator lamp 230 for displaying that the ball lending machine is in operation are provided corresponding to the card reader. On the other hand, in the pachinko machine 100, an operation panel 121 is formed on the upper surface of a supply tray 120 provided on a front panel 110, and the balance of the card inserted into the ball lending machine 200 is displayed on this operation panel 121. a balance display 122 for displaying a card, a conversion button 123 for instructing the ball rental machine 200 to convert the ball into a rental ball (gaming ball), a return button 124 for instructing the ejection (return) of a card, and the conversion button A ball number display 125 for displaying the number of rented balls converted by 123 is provided.

【0008】また、上記操作パネル121には、上記変
換ボタン123が有効中であることを表示する玉貸し可
能表示ランプ126と、遊技機の制御装置が後述する自
動変換モードによる制御を行なうように指令を与えるモ
ード切換えボタン127が設けられている。さらに、パ
チンコ遊技機100の供給皿120の流下端部には玉の
有無を検出する第1の玉検出器(玉不足検出器)131
が、また供給皿120の上流側の流出口129の近傍に
は第2の玉検出器(玉保有検出器)132がそれぞれ設
けられており、第1の玉検出器131と第2の玉検出器
132がともにオフ状態にあるときは供給皿120内に
玉がないと判定し、第1の玉検出器131のみがオフし
ているときは供給皿120内で玉詰まりを起こしている
と判定できるようになっている。
[0008] The operation panel 121 also includes a ball rental available display lamp 126 that indicates that the conversion button 123 is activated, and a ball rental display lamp 126 that allows the control device of the gaming machine to perform control in an automatic conversion mode that will be described later. A mode switching button 127 for issuing commands is provided. Furthermore, a first ball detector (ball shortage detector) 131 is provided at the downstream end of the supply tray 120 of the pachinko game machine 100 to detect the presence or absence of balls.
However, second ball detectors (ball possession detectors) 132 are provided near the outlet 129 on the upstream side of the supply tray 120, and the first ball detector 131 and the second ball detector When both the detectors 132 are off, it is determined that there are no balls in the supply tray 120, and when only the first ball detector 131 is off, it is determined that balls are clogged in the supply tray 120. It is now possible to do so.

【0009】なお、111は上記モード切換えボタン1
27による自動変換モードにあることを示すモード表示
器、112は賞品球の排出時に点灯される賞品球排出表
示ランプ、113は玉貸機200からの信号による貸し
玉の排出時に点灯される貸し玉排出表示ランプ、141
は上記供給皿120が満杯になったときに内部でオーバ
ーフローした賞品球を貯留する受け皿、142は供給皿
120から流下される球を一個ずつ遊技領域内に発射す
る打球発射装置の操作ダイヤルである。パチンコ遊技盤
前面の遊技領域の構成は従来のものと同様で、任意の構
成をとり得る。この実施例では、上記玉貸機200の前
面の挿入表示器220にはカード挿入時のカードの残高
が表示され、かつ上記玉貸機200からパチンコ遊技機
前面の残高表示器122を直接駆動することが可能な駆
動信号が出力されるようになっている。また、変換ボタ
ン123が押されると、上記カードリーダへのカードの
挿入を前提として、200円等の単位でカードの残金を
貸し玉に変換する指令が玉貸機200に与えられ、玉貸
機200がカードの有する金額の範囲内で100円等の
単位でパチンコ遊技機100の裏面に設けられている球
排出装置の制御装置に対して排出要求信号(200円の
ときは2個)を送出するように構成されている。変換後
のカードの残り金額は、100円を1単位とする度数で
残高表示器122に表示(挿入残高表示器220には変
換前の金額が表示)されるとともに、変換された貸し玉
の個数は玉数表示器125に表示されるようになってい
る。
Note that 111 is the mode switching button 1 mentioned above.
27, a mode indicator indicating that the automatic conversion mode is in effect; 112, a prize ball discharge indicator lamp that is lit when a prize ball is discharged; and 113, a rented ball that is lit when a rented ball is discharged according to a signal from the ball rental machine 200. Emission indicator lamp, 141
142 is an operation dial for a ball launcher that fires the balls falling from the supply tray 120 one by one into the game area. . The configuration of the game area on the front of the pachinko game board is similar to that of the conventional one, and can have any configuration. In this embodiment, the insertion display 220 on the front of the ball lending machine 200 displays the balance of the card at the time of card insertion, and the ball lending machine 200 directly drives the balance display 122 on the front of the pachinko gaming machine. A drive signal that can be used is output. When the conversion button 123 is pressed, a command is given to the ball lending machine 200 to convert the balance of the card into rental balls in units of 200 yen, etc., assuming that the card is inserted into the card reader. 200 sends an ejection request signal (two balls if the amount is 200 yen) to the control device of the ball ejecting device provided on the back of the pachinko game machine 100 in increments of 100 yen, etc. within the amount of money held by the card. is configured to do so. The remaining amount of the card after conversion is displayed on the balance display 122 in units of 100 yen (the amount before conversion is displayed on the inserted balance display 220), and the number of rental balls that have been converted is displayed. is displayed on the ball number display 125.

【0010】図2には上記パチンコ遊技機100の裏機
構の構成例が示されている。図2において、170は上
記玉貸機200からの排出要求信号に基づいて所定数の
貸し玉を排出したりパチンコ遊技機からの要求信号によ
り賞品球を排出する球排出装置、151は排出される前
の球を貯留しておく貯留タンク、152は貯留タンク1
51内の球を一列に整列させて上記球排出装置170ま
で誘導する誘導路で、この誘導路152は特に限定され
ないが、短時間に多量の玉を供給できるように2条に形
成されており、その途中には球の重なりを防止する玉な
らし153および待機球検出器160が設けられている
。また、球排出装置170の下方には、排出された玉を
遊技機前面の上記供給皿120の流出口129へ誘導す
る排出樋155と供給皿120からオーバフローした玉
を下方の受け皿141へ誘導するオーバーフロー樋15
6が連続して設けられているとともに、上記排出樋15
5の途中から分岐された玉抜き樋157が上記オーバー
フロー樋156と平行して配設され、この玉抜き樋15
7と排出樋155との分岐部には流路切換え弁158が
設けられている。159は遊技機の前面に設けられた入
賞口に流入した入賞球を一箇所に集合させる集合樋、1
80は集合樋159の下端に設けられた入賞球分離検出
装置である。
FIG. 2 shows an example of the structure of the back mechanism of the pachinko game machine 100. In FIG. 2, 170 is a ball discharging device that discharges a predetermined number of rented balls based on a discharge request signal from the ball rental machine 200 or a prize ball according to a request signal from a pachinko game machine, and 151 is a ball discharging device for discharging prize balls. The storage tank that stores the previous ball, 152 is storage tank 1
This guideway 152 is a guideway for aligning the balls in a line and guiding them to the ball ejecting device 170. Although not particularly limited, the guideway 152 is formed into two strips so that a large amount of balls can be supplied in a short time. , a ball leveler 153 and a standby ball detector 160 are provided in the middle to prevent balls from overlapping. Further, below the ball ejecting device 170, there is a discharge gutter 155 that guides the discharged balls to the outlet 129 of the supply tray 120 on the front of the gaming machine, and a discharge gutter 155 that guides the balls overflowing from the supply tray 120 to the receiving tray 141 below. Overflow gutter 15
6 are continuously provided, and the discharge gutter 15
A ball removal gutter 157 branched from the middle of the ball hole 5 is arranged parallel to the overflow gutter 156, and this ball removal gutter 15
7 and the discharge gutter 155 is provided with a flow path switching valve 158. 159 is a collection gutter that collects winning balls that have flowed into the winning opening provided at the front of the gaming machine in one place; 1
80 is a winning ball separation detection device provided at the lower end of the collection gutter 159.

【0011】図3には上記球排出装置170の一実施例
を示す。この球排出装置170は、貯留タンク151に
貯留された予備球を誘導する上記誘導樋152に連続す
るように構成された案内樋710を備えている。この案
内樋710は上記誘導樋152に対応して2条に形成さ
れており、各条の通路に対応して流下阻止手段としての
ストッパ745とその駆動用排出ソレノイド741とか
らなる排出手段740も2組設けられている。上記案内
樋710は、その機能から3つの部分からなり、上から
順にそれぞれ減圧部711、縁切り部712、排出部7
13とされている。上記減圧部711は、貯留タンク1
51から誘導樋152を介して送られてくる予備球の圧
力を減らすもので、同図に示すように、緩傾斜状態にU
ターンされた構造にされている。上記縁切り部712は
、その下の排出部713を通る球同士に間隔を開けさせ
て、下方の排出手段740による球の流出を止め易くす
るためのもので、前記減圧部711に連続する垂直通路
部分721と後述の排出部713に通じる方向変換通路
部分722とから構成されている。そして、垂直通路部
分721の下端部には、球詰まり防止突部723が前方
に突出して設けられている。この球詰まり防止突部72
3によって、垂直通路部分721に縦に並んで停止した
球のうちの最も下の球の中心位置がその上方の球の中心
位置より常に前方に位置せしめられるようになる。それ
によって、上方の球の流下移動圧が最も下の球を常に前
方に押圧するように作用し、球詰まりが防止される。
FIG. 3 shows an embodiment of the ball ejecting device 170. This ball discharge device 170 includes a guide gutter 710 configured to be continuous with the guide gutter 152 that guides the spare balls stored in the storage tank 151. This guide gutter 710 is formed into two channels corresponding to the guide gutter 152, and a discharge means 740 consisting of a stopper 745 as a flow prevention means and a discharge solenoid 741 for driving the stopper 745 is also provided corresponding to each channel. There are two sets. The guide trough 710 consists of three parts depending on its function, from the top to the bottom: a pressure reducing part 711, an edge cutting part 712, and a discharge part 7.
It is said to be 13. The pressure reducing section 711 includes the storage tank 1
This is to reduce the pressure of the spare balls sent from 51 through the guide trough 152.
It has a turned structure. The edge cutting part 712 is for creating a space between the balls passing through the discharge part 713 below and making it easier to stop the balls from flowing out by the discharge means 740 below. It is composed of a portion 721 and a direction changing passage portion 722 communicating with a discharge portion 713, which will be described later. A ball jam prevention protrusion 723 is provided at the lower end of the vertical passage portion 721 to protrude forward. This ball jam prevention protrusion 72
3, the center position of the lowest ball among the balls vertically lined up and stopped in the vertical passage portion 721 is always located in front of the center position of the ball above it. As a result, the downward movement pressure of the upper balls always acts to press the lowermost ball forward, thereby preventing the balls from clogging.

【0012】各案内樋710の排出部713の途中には
、流下する球を検出する非接触型の排出球検出センサ7
30(排出センサ1,2)がそれぞれ設置されている。 また、各排出部713の途中、上記排出センサ730直
後には上記排出手段740を構成するストッパ745が
出没可能な切欠き703が設けられている。上記ストッ
パ745は、それぞれ支軸705によって回動自在に支
持されているとともに、ストッパ745の一側部には、
それぞれ連結ピン746が突設され、これら連結ピン7
46と排出ソレノイド741の作動ロッド742の下端
部とが連結板747によりそれぞれ連結されている。そ
して、排出ソレノイド741が消磁(オフ)状態にある
ときには、作動ロッド742が下降してストッパ745
の先端部が切欠き部703より案内樋710の排出部7
13中にそれぞれ入り込んで、排出部713中の遊技球
を流下を阻止するようになっている。一方、排出ソレノ
イド741が励磁(オン)されると、作動ロッド742
が上昇してストッパ745が上昇する方向に回動されて
排出部713の切欠き703中から脱して、排出部71
3中の球の流下阻止状態を解除させ、案内樋710内の
予備球を下方の排出樋155へ排出させるようになって
いる。このように上記実施例の球排出装置170は、排
出センサ730で流下する玉を一個ずつ検出しながら所
定数に達した時点でストッパ745を作動させて排出を
停止させることができるため、上述したごとく排出球数
の異なる賞品球と貸し玉とを同一の球排出装置によって
排出させることが可能となる。
A non-contact discharge ball detection sensor 7 is installed in the middle of the discharge section 713 of each guide trough 710 to detect falling balls.
30 (emission sensors 1 and 2) are installed respectively. In addition, a notch 703 is provided in the middle of each discharge portion 713, immediately after the discharge sensor 730, through which a stopper 745 constituting the discharge means 740 can be inserted. Each of the stoppers 745 is rotatably supported by a support shaft 705, and on one side of the stopper 745,
Connecting pins 746 are provided respectively, and these connecting pins 7
46 and the lower end of the operating rod 742 of the discharge solenoid 741 are connected by a connecting plate 747, respectively. When the discharge solenoid 741 is in the demagnetized (off) state, the operating rod 742 is lowered and the stopper 745
The distal end of the notch 703 is connected to the discharge part 7 of the guide trough 710.
13 respectively to prevent the game balls in the discharge section 713 from flowing down. On the other hand, when the discharge solenoid 741 is energized (turned on), the operating rod 742
is raised, the stopper 745 is rotated in the upward direction, and comes out of the notch 703 of the discharge part 713.
3 is released from the state of preventing the balls from flowing down, and the spare balls in the guide gutter 710 are discharged to the discharge gutter 155 below. In this way, the ball ejecting device 170 of the above embodiment can detect the balls flowing down one by one with the ejection sensor 730 and actuate the stopper 745 to stop the ejection when a predetermined number is reached. It becomes possible to eject prize balls and rental balls, which have different numbers of ejected balls, by the same ball ejecting device.

【0013】なお、図3において、750はパチンコ遊
技機100の前面枠101に設けられた操作孔(図示省
略)から球抜き棒が差し込まれたことを検出する球抜き
センサ750である。球抜きセンサ750がオンされる
と、上記排出ソレノイド741が連続して励磁されて案
内樋710内の予備球を排出させるとともに、排出樋1
55内の切換え弁158の駆動手段(ソレノイド)を作
動させ、排出された玉を球抜き樋157を通して機外へ
排出させるようになっている。上記球抜きセンサ750
および排出ソレノイド741、排出センサ730は排出
制御装置600(図4参照)に電気的に接続されている
In FIG. 3, reference numeral 750 denotes a ball removal sensor 750 that detects that a ball removal rod is inserted through an operation hole (not shown) provided in the front frame 101 of the pachinko game machine 100. When the ball removal sensor 750 is turned on, the discharge solenoid 741 is continuously energized to discharge the spare ball from the guide gutter 710, and the discharge gutter 1
The driving means (solenoid) of the switching valve 158 in the ball 55 is operated to discharge the ejected balls to the outside of the machine through the ball removal gutter 157. The above ball removal sensor 750
The discharge solenoid 741 and the discharge sensor 730 are electrically connected to the discharge control device 600 (see FIG. 4).

【0014】図4には、パチンコ遊技機100および玉
貸機200の制御系の一実施例が示されている。この制
御系は大きく分けると、主としてパチンコ遊技機100
の遊技盤に関する制御を司る遊技盤制御装置400と、
玉貸機200におけるカードリーダ等の制御を司る玉貸
し制御装置500と、上記球排出装置170の制御を司
る排出制御装置600とにより構成されている。上記制
御装置のうち遊技盤制御装置400は、パチンコ遊技機
の遊技盤102に設けられている各種入賞球検出器から
検出信号を受けて役物の駆動信号を形成したり、パチン
コ遊技機の裏機構盤に設けられている入賞球分離検出装
置180内の検出器(セーフセンサ)181からの信号
を受けて入賞球分離用のセーフソレノイド182を作動
させたり、スピーカ190に対する駆動信号を形成する
。また、遊技盤制御装置400は、遊技状態を監視して
パチンコ店の管理装置700に対してパチンコ機が稼働
中であることや大当りの発生、打止めの発生等の状態に
関する情報を伝えるとともに、後述の信号加工装置90
0に対しても大当りの発生を知らせる機能を備えている
FIG. 4 shows an embodiment of a control system for the pachinko game machine 100 and the ball rental machine 200. Broadly speaking, this control system is mainly used for pachinko gaming machines 100.
a game board control device 400 that controls the game board;
It is composed of a ball lending control device 500 that controls the card reader and the like in the ball lending machine 200, and a discharge control device 600 that controls the ball discharging device 170. Among the control devices described above, the game board control device 400 receives detection signals from various winning ball detectors provided on the game board 102 of the pachinko game machine and forms a driving signal for the accessory, In response to a signal from a detector (safe sensor) 181 in a winning ball separation detection device 180 provided on the mechanism panel, it operates a safe solenoid 182 for separating winning balls and forms a drive signal for a speaker 190. In addition, the gaming board control device 400 monitors the gaming status and notifies the pachinko parlor management device 700 of information regarding the status of the pachinko machine, such as whether it is in operation, the occurrence of a jackpot, or the occurrence of a stoppage. Signal processing device 90 described below
It also has a function that notifies you of the occurrence of a jackpot even for 0.

【0015】排出制御装置600は、上記玉貸し制御装
置500または遊技盤制御装置400からの排出指令信
号に基づいて上記球排出装置170内の2条の案内樋7
10の途中に設けられた一対のストッパ745を作動さ
せる排出ソレノイド741a,741bを励磁して、排
出センサ730a,730bの検出信号に基づいて各案
内樋710内の予備球を所定数だけ排出させるとともに
、球抜きスイッチ750からのオン信号に基づいて排出
ソレノイド741a,741bを励磁し、かつ流路切換
え弁158の駆動源を作動させて貯留タンク151およ
び誘導樋152内の予備球をすべて排出させたりする。 また、排出制御装置600は、パチンコ遊技機100の
基枠109に設けられた開閉スイッチ103(図1参照
)やオーバーフロー樋156の途中に設けられたオーバ
ーフロー検出器104(図2参照)、誘導樋152の途
中に設けられた待機球検出器160からの検出信号が入
ってくると排出ソレノイド741a,741bの励磁を
保留して球排出装置170による排出を中止するととも
に、排出時には排出指令信号の内容に応じて例えば賞品
球排出表示ランプ112または貸し玉排出表示ランプ1
13を点灯させたり、遊技盤制御装置400に対して賞
品球もしくは貸し玉の排出音要求信号を送出する。
The discharge control device 600 controls the two guide troughs 7 in the ball discharge device 170 based on the discharge command signal from the ball rental control device 500 or the game board control device 400.
By energizing discharge solenoids 741a and 741b that actuate a pair of stoppers 745 provided in the middle of each guide gutter 710, a predetermined number of spare balls are discharged from each guide gutter 710 based on detection signals from discharge sensors 730a and 730b. Based on the ON signal from the bulb removal switch 750, the discharge solenoids 741a and 741b are excited, and the drive source of the flow path switching valve 158 is activated to discharge all the spare bulbs in the storage tank 151 and the guide gutter 152. do. The discharge control device 600 also includes an on/off switch 103 (see FIG. 1) provided on the base frame 109 of the pachinko game machine 100, an overflow detector 104 (see FIG. 2) provided in the middle of the overflow gutter 156, and an induction gutter. When a detection signal is received from the standby bulb detector 160 installed in the middle of the ball discharger 152, the excitation of the discharge solenoids 741a and 741b is suspended to stop the discharge by the ball discharger 170, and at the time of discharge, the content of the discharge command signal is Depending on the situation, for example, the prize ball discharge indicator lamp 112 or the rental ball discharge indicator lamp 1.
13, or sends a signal requesting the ejection sound of a prize ball or a rented ball to the game board control device 400.

【0016】さらに、排出制御装置600は、補給セン
サ106やアウトセンサ107からの信号に基づいて、
完了ランプ108を点灯させたりパチンコ店の管理装置
700に対して補給要求信号Kや排出賞品球数信号I、
排出貸し玉数信号J(1パルスで例えば25個の排出玉
数を示す)、アウト球数信号L等をデータとして送信す
るように構成されている。玉貸し制御装置500は、玉
貸機200内のカードリーダ250からの読取りデータ
を受けて挿入残高表示器220に対する駆動信号および
玉貸機が作動状態にあることを表示する有効表示ランプ
230やパチンコ遊技機に設けられている残高表示器1
22および玉貸し可能表示ランプ126に対する駆動信
号を形成したり、上記カードリーダ250に対する残高
データ書換え信号q、パンチ穴加工信号m、カード排出
信号nを形成する。また、玉貸し制御装置500は、玉
貸し変換スイッチとカード返却スイッチのオン信号を受
け付ける端子を有するとともに、カード管理会社の管理
装置800に対して1度(100円)分の貸し玉への変
換が行なわれたことを知らせるカード決済信号jを送信
する機能およびその出力端子も備えている。
Furthermore, the discharge control device 600, based on signals from the replenishment sensor 106 and the out sensor 107,
A completion lamp 108 is lit, a replenishment request signal K and a discharge prize ball count signal I are sent to the management device 700 of the pachinko parlor.
It is configured to transmit an ejected ball number signal J (one pulse indicates the number of ejected balls, for example, 25), an out ball number signal L, etc. as data. The ball lending control device 500 receives read data from the card reader 250 in the ball lending machine 200 and sends a driving signal to the inserted balance display 220 and an activation indicator lamp 230 and a pachinko machine that display that the ball lending machine is in an operating state. Balance display device 1 provided in the gaming machine
22 and the ball rental available display lamp 126, and also forms a balance data rewriting signal q, a punch hole processing signal m, and a card ejection signal n to the card reader 250. In addition, the ball rental control device 500 has a terminal that accepts the ON signal of the ball rental conversion switch and the card return switch, and also converts the card management company's management device 800 into a one-time (100 yen) worth of rental balls. It also has a function to transmit a card payment signal j to notify that a transaction has been made, and an output terminal thereof.

【0017】この実施例では、玉貸し制御装置500か
ら出力されるパチンコ遊技機の残高表示器122に対す
るセグメント駆動信号Xを入力信号とする信号加工装置
900が設けられている。この信号加工装置900には
、パチンコ遊技機100に設けられている上記残高表示
器122、変換ボタン123、返却ボタン124、自動
変換モード切換えボタン127、供給皿の玉検出器13
1,132、モード表示器111、玉数表示器125が
接続されており、セグメント駆動信号Xに基づいて残高
表示器122の駆動信号を形成したり、玉貸し制御装置
500に対して変換要求信号(玉貸し信号)Yやカード
返却要求信号Zを送るとともに、自動変換モード制御を
行なったり、遊技盤制御装置400からの大当り信号に
基づいて自動変換モード制御を解除したり、供給皿の玉
検出器131,132からの信号に基づいて自動変換モ
ード制御を制限する機能を備えている。
In this embodiment, a signal processing device 900 is provided which receives as an input signal a segment drive signal X outputted from the ball lending control device 500 to the balance display 122 of the pachinko game machine. This signal processing device 900 includes the balance display 122, a conversion button 123, a return button 124, an automatic conversion mode switching button 127, and a ball detector 13 in the supply tray, which are provided in the pachinko game machine 100.
1,132, the mode display 111 and the number of balls display 125 are connected, and it forms a drive signal for the balance display 122 based on the segment drive signal X, and sends a conversion request signal to the ball lending control device 500. In addition to sending (ball lending signal) Y and card return request signal Z, automatic conversion mode control is performed, automatic conversion mode control is canceled based on the jackpot signal from the game board control device 400, and balls on the supply tray are detected. It has a function of limiting automatic conversion mode control based on signals from the converters 131 and 132.

【0018】また、信号加工装置900はセグメント表
示駆動信号Xに基づいてカードの残高を判定してカード
の挿入、排出を推定し、遊技盤制御装置400に対して
カード挿入音とカード排出音の発生要求信号F,Gを送
ったり、パチンコ店の管理装置700に対して当該パチ
ンコ遊技機が遊技中であることを示すステータス信号S
を送ったりする機能も備えている。
Further, the signal processing device 900 determines the balance of the card based on the segment display drive signal It sends generation request signals F and G, and sends a status signal S to the management device 700 of the pachinko parlor indicating that the pachinko game machine is currently playing.
It also has the ability to send .

【0019】図5には上記遊技盤制御装置400の具体
的構成例が示されている。すなわち、この実施例の遊技
盤制御装置400は、セーフセンサ181からの検出信
号に基づいて排出すべき賞品球数を決定する賞球数確定
手段410と、決定された賞球データBおよびそのスト
ローブ信号Cを排出制御装置600に対し出力する賞球
データ送信手段420と、遊技盤102からの信号に基
づいて遊技に関する制御を行なう遊技制御手段430と
、入賞球分離用のセーフソレノイド182に対する駆動
信号やパチンコ店の管理装置700に対する状態信号を
形成する出力部440と、スピーカ190を駆動するた
めの音声出力手段部450とにより構成されている。
FIG. 5 shows a specific example of the configuration of the game board control device 400. That is, the game board control device 400 of this embodiment includes a prize ball number determining means 410 that determines the number of prize balls to be ejected based on the detection signal from the safe sensor 181, and the determined prize ball data B and its strobe. Driving signals for the prize ball data transmitting means 420 that outputs the signal C to the discharge control device 600, the game control means 430 that controls the game based on the signal from the game board 102, and the safe solenoid 182 for separating winning balls. The output section 440 generates a status signal to the management device 700 of the pachinko parlor and the audio output means section 450 that drives the speaker 190.

【0020】上記賞球数確定手段410は、例えばセー
フセンサ181からの検出信号の立上りエッジを検出し
て入賞球検出信号を形成する信号検出手段411と、一
つの入賞球検出信号に対する賞品球数を記憶する賞球数
記憶手段412と、遊技盤の役物等に設けられ一般の入
賞球に対する賞球数と異なる賞球数を与える特定の入賞
領域へ入賞した遊技球の数を記憶する特定入賞数記憶手
段413とからなり、入賞球を検知するとそれぞれの入
賞球に対応して予め設定されたる賞球データを出力する
ように構成されている。セーフセンサ181は入賞球分
離検出装置180内に設けられ、排出制御装置600か
らの応答信号(読込み確定信号)Hによってセーフソレ
ノイド182の駆動信号が形成されて入賞球が一個ずつ
分離されて検出されるため、一般の入賞球はその発生に
応じた数だけ正確に排出指令信号が形成される。
The prize ball number determining means 410 includes, for example, a signal detecting means 411 that detects the rising edge of the detection signal from the safe sensor 181 to form a winning ball detection signal, and a signal detecting means 411 that forms a winning ball detection signal by detecting the rising edge of the detection signal from the safe sensor 181, and determining the number of prize balls for one winning ball detection signal. a prize ball number storage means 412 for storing the number of prize balls, and a special ball storage means 412 for storing the number of game balls that have won a prize in a specific winning area, which is provided on an accessory of the game board and gives a prize ball number different from the number of prize balls for general winning balls. It consists of a winning number storage means 413, and is configured to output prize ball data set in advance corresponding to each winning ball when a winning ball is detected. The safe sensor 181 is provided in the winning ball separation detection device 180, and a drive signal for the safe solenoid 182 is formed in response to a response signal (reading confirmation signal) H from the discharge control device 600, and the winning balls are separated and detected one by one. Therefore, the ejection command signal is accurately formed for the number of ordinary winning balls according to the number of winning balls.

【0021】しかるに、特定入賞球の検出信号は遊技盤
制御装置400に連続して入ってくるので、この実施例
では特定入賞球の検出数を記憶する特定入賞数記憶手段
413を設けている。そして、この特定入賞数記憶手段
413は、その読出し信号が排出制御装置600からの
応答信号Hを制御信号とするANDゲート421を介し
てフィードバックされることによって、入賞球一つに対
する排出が終了するごとにその記憶が一つ減算されるよ
うに構成されている。遊技制御手段430は、上記入賞
球検出手段411と同様な特定入賞球検出手段431と
、遊技盤に設けられているソレノイドやモータ等を駆動
させる制御信号や大当り信号Pを出力する信号形成手段
432等を備えている。
However, since the detection signals of specific winning balls are continuously input to the game board control device 400, this embodiment is provided with a specific winning number storage means 413 for storing the detected number of specific winning balls. Then, this specific winning number storage means 413 finishes discharging one winning ball by feeding back the read signal through an AND gate 421 which uses the response signal H from the discharging control device 600 as a control signal. The memory is decremented by one each time. The game control means 430 includes a specific winning ball detecting means 431 similar to the above winning ball detecting means 411, and a signal forming means 432 that outputs a jackpot signal P and a control signal for driving a solenoid, a motor, etc. provided on the game board. etc.

【0022】図6には音声出力手段450の構成例を示
す。音声出力手段450には、遊技制御手段430から
のソレノイドの駆動に伴う効果音のような遊技音の発生
を要求する遊技音要求信号xと、排出制御装置600か
らの賞球排出音要求信号Dおよび貸し玉排出音要求信号
Eと、信号加工装置900からのカード挿入音要求信号
Fおよびカード排出音要求信号Gとが入力されている。 音声出力手段450内には、上記5種類の要求信号に各
々対応する音声の発生コードを記憶するROM(リード
オンリメモリ)等からなる音声発生手段451,452
,453,454,455と、これら音声発生手段から
出力された信号に基づいてスピーカ190を駆動する信
号を発生するサウンドジェネレータ457と、上記要求
信号のうちいずれを優先して対応する音声を発生させる
か決定する優先制御手段458とを備え、同時に複数の
要求信号が入ってきたときは最も優先度の高い音声発生
手段を選択して音声コードを出力させるように構成され
ている。
FIG. 6 shows an example of the configuration of the audio output means 450. The audio output means 450 receives a game sound request signal x from the game control means 430 requesting generation of a game sound such as a sound effect accompanying the drive of a solenoid, and a prize ball ejection sound request signal D from the ejection control device 600. A rental ball ejection sound request signal E, a card insertion sound request signal F and a card ejection sound request signal G from the signal processing device 900 are input. The audio output unit 450 includes audio generation units 451 and 452, each of which is a ROM (read only memory) or the like that stores audio generation codes corresponding to each of the five types of request signals.
, 453, 454, 455, a sound generator 457 that generates a signal for driving the speaker 190 based on the signals output from these sound generating means, and a sound generator 457 that gives priority to any one of the above request signals and generates the corresponding sound. The voice generation means 458 is configured to select the voice generation means with the highest priority and output the voice code when a plurality of request signals are received at the same time.

【0023】図7には排出制御装置600の構成例を示
す。この実施例の排出制御装置600は、マイクロコン
ピュータ等からなる制御部610と、枠センサ103や
オーバーフロー検出器104、待機球検出器160から
の信号に基づいて球排出装置170による排出が可能な
状態にあるか否か示す排出イネーブル信号を形成して制
御部610に供給する排出可能条件確認手段620と、
管理装置700に対して賞球排出や玉貸し、補給等の排
出状態を示すステータス信号を出力する状態出力手段6
30と、アウトセンサ107からの信号を計数して10
球毎にアウト信号を管理装置700に対して供給するカ
ウンタ640と、セグメント型の貸し玉排出表示ランプ
113や賞球排出表示ランプ112を駆動する表示駆動
手段650等により構成されている。
FIG. 7 shows an example of the configuration of the emission control device 600. The discharge control device 600 of this embodiment is in a state where the ball discharge device 170 can discharge the ball based on signals from the control unit 610 including a microcomputer, the frame sensor 103, the overflow detector 104, and the standby ball detector 160. an ejection enable condition confirmation means 620 that forms an ejection enable signal indicating whether or not the ejection enable condition exists and supplies the ejection enable signal to the control unit 610;
Status output means 6 for outputting a status signal indicating the discharge status such as prize ball discharge, ball lending, replenishment, etc. to the management device 700
30, and by counting the signal from the out sensor 107, it is 10.
It is comprised of a counter 640 that supplies an out signal to the management device 700 for each ball, and a display drive means 650 that drives the segment-type rental ball discharge display lamp 113 and prize ball discharge display lamp 112, and the like.

【0024】また、排出制御装置600は、各種センサ
や遊技盤制御装置400、玉貸し制御装置500からの
制御信号を受ける入力バッファBFFiや制御部610
からの制御信号を外部の制御装置へ出力する出力バッフ
ァBFFoおよび各種ソレノイドに対する駆動信号を形
成するドライバDRVを備えている。上記排出可能条件
確認手段620は各検出器103,104,160から
の検出信号の論理積をとるANDゲートG2を備え、す
べての検出器がオン状態にあるときにのみ排出可能を示
す排出イネーブル信号Aを制御部610へ与える。これ
によって、パチンコ遊技機の前面枠101が開いていた
り、オーバーフロー樋156内が賞品球で一杯になって
いたり、誘導樋152内に予備球が存在しないような、
排出を行なうのが望ましくない状況での排出動作が保留
されるようになる。
The discharge control device 600 also includes an input buffer BFFi and a control unit 610 that receive control signals from various sensors, the game board control device 400, and the ball lending control device 500.
The output buffer BFFo outputs control signals from the controller to an external control device, and a driver DRV generates drive signals for various solenoids. The ejection enable condition confirmation means 620 includes an AND gate G2 that takes the logical product of the detection signals from the respective detectors 103, 104, and 160, and generates an ejection enable signal indicating that ejection is possible only when all the detectors are in the on state. A is given to the control unit 610. As a result, when the front frame 101 of the pachinko machine is open, the overflow gutter 156 is full of prize balls, or there are no spare balls in the guide gutter 152,
Ejection operation is suspended in situations where it is undesirable to perform ejection.

【0025】また、上記制御部610は、図8に示すよ
うに賞球排出制御部616と、貸し玉排出制御部617
と、玉抜き排出制御部618と停電制御部619とによ
り構成される。このうち、賞球排出制御部616は、遊
技盤制御装置400からの賞球データBとその取込みタ
イミングを示すデータストローブ信号Cを受けて賞品球
数を記憶し、排出センサ730からの検出信号に基づい
て実際の排出数を演算する賞球排出数記憶演算部661
と、演算された排出数に基づいて残りの排出数を判定し
排出ソレノイド741a,741bの駆動信号を形成す
る排出制御信号形成部662とより構成されている。排
出制御信号形成部662は上記排出ソレノイド741a
,741bの駆動信号のほかに、賞球排出終了信号Mと
排出数が10個になったことを示す賞球排出数信号Nと
賞球排出中であることを示す状態信号Rを形成し、出力
する。
The control section 610 also includes a prize ball discharge control section 616 and a rental ball discharge control section 617, as shown in FIG.
, a ball removal control section 618 and a power outage control section 619. Of these, the prize ball ejection control section 616 receives the prize ball data B from the game board control device 400 and the data strobe signal C indicating the timing of taking in the prize ball data, stores the number of prize balls, and uses the detection signal from the ejection sensor 730 to store the number of prize balls. Prize ball discharge number storage calculation unit 661 that calculates the actual discharge number based on
and a discharge control signal forming section 662 that determines the remaining number of discharges based on the calculated number of discharges and forms a drive signal for the discharge solenoids 741a and 741b. The discharge control signal forming section 662 is connected to the discharge solenoid 741a.
, 741b, generates a prize ball discharge end signal M, a prize ball discharge number signal N indicating that the number of discharged balls has reached 10, and a status signal R indicating that the prize balls are being discharged, Output.

【0026】貸し玉排出制御部617は、貸し玉への変
換レートや一度に連続して貸し玉へ変換できる金額の上
限を記憶するデータ記憶部671と、玉貸し制御装置5
00からの玉貸し要求信号Tに基づいて貸し玉の排出を
開始させ排出センサ730a,730bからの検出信号
に基づいて実際の排出数を演算する貸し玉排出数記憶演
算部672と、演算された排出数に基づいて残りの排出
数を判定し排出ソレノイド741の駆動信号を形成する
排出制御信号形成部673と、排出制御信号形成部67
3からの排出数を示す信号とデータ記憶部671からの
上限値とに基づいて貸し玉が上限に達したか判定し、上
限に達した場合にそれ以上の排出を禁止させる貸し玉上
限判定部674とにより構成されている。データ記憶部
671に記憶された変換レートは玉貸し要求信号Tがハ
イレベルにされると貸し玉排出数記憶演算部672に供
給され、これによって貸し玉の排出信号の形成が開始さ
れるようになっている。
The ball rental control unit 617 includes a data storage unit 671 that stores the conversion rate to rental balls and the upper limit of the amount that can be continuously converted into rental balls at one time, and the ball rental control device 5.
A rental ball discharge number storage calculation unit 672 that starts discharging rental balls based on the ball rental request signal T from 00 and calculates the actual number of discharged balls based on detection signals from the discharge sensors 730a and 730b; A discharge control signal forming section 673 that determines the remaining number of discharges based on the number of discharges and forms a drive signal for the discharge solenoid 741, and a discharge control signal forming section 67.
A ball rental upper limit determination unit that determines whether the number of rental balls has reached the upper limit based on the signal indicating the number of discharges from 3 and the upper limit value from the data storage unit 671, and prohibits further discharge when the upper limit is reached. 674. The conversion rate stored in the data storage unit 671 is supplied to the rental ball discharge number storage calculation unit 672 when the ball rental request signal T is set to a high level, so that the formation of the rental ball discharge signal is started. It has become.

【0027】排出制御信号形成部673は、賞球排出制
御部616が賞球排出制御中でないことを条件に貸し玉
排出可能を示す玉貸しレディ信号Uと貸し玉排出中を示
す信号Qおよび貸し玉排出終了を示す信号Oを形成し出
力する。玉抜き排出制御部618は、賞球排出制御部6
16および貸し玉排出制御部617が排出制御中でない
ことを条件に玉抜きセンサ75からのオン信号によって
起動され、排出ソレノイド741および流路切換弁15
8のソレノイドを駆動する信号と玉抜き排出中であるこ
とを示す信号pを出力する機能を備えている。停電制御
部619は、図9に示すように、交流電源の電源波形の
波の数を数えて所定数以下になったときに停電の発生を
検出する停電検出手段691と、電圧レベル検出手段等
からの信号に基づいて電源電圧の回復を検出する停電回
復検出手段695と、賞球排出制御部616および貸し
玉排出制御部617からの状態信号R,Qに基づいて進
行中の排出の態様を記憶する排出態様記憶手段692と
、排出数信号a,bにより各排出動作中における排出球
数を保持する排出球数記憶手段693と、停電により中
断された排出を停電回復時に途中から続行させる排出続
行制御手段694とから構成されている。
The discharge control signal forming unit 673 generates a ball rental ready signal U indicating that rental balls can be discharged, a signal Q indicating that rental balls are being discharged, and a signal Q indicating that rental balls are being discharged, provided that the prize ball discharge control unit 616 is not in the process of controlling prize ball discharge. A signal O indicating the end of ball ejection is generated and output. The ball ejection control section 618 is the prize ball ejection control section 6
16 and rental ball discharge control section 617 are activated by an on signal from ball removal sensor 75 on the condition that discharge control is not in progress, and discharge solenoid 741 and flow path switching valve 15
It has a function of outputting a signal to drive the solenoid No. 8 and a signal p indicating that the balls are being discharged. As shown in FIG. 9, the power outage control unit 619 includes a power outage detection means 691 that counts the number of waves in the power waveform of the AC power source and detects the occurrence of a power outage when the number becomes equal to or less than a predetermined number, a voltage level detection means, etc. A power failure recovery detection means 695 detects the recovery of the power supply voltage based on a signal from ejection mode storage means 692 for storing ejection mode storage means 692 for storing the number of ejected balls during each ejection operation based on ejection number signals a and b; and a continuation control means 694.

【0028】上記排出態様記憶手段692および排出球
数記憶手段693は、例えば電池696によりバックア
ップされたRAM(ランダムアクセスメモリ)で構成さ
れており、停電判定手段691が停電の発生を検出する
とその時の排出態様と排出数を排出態様記憶手段692
および排出球数記憶手段693に保持させ、停電が回復
したときには排出続行制御手段694を起動させて賞球
排出制御部616または貸し玉排出制御部617のいず
れによる排出が中断されていたかを判定させ、その結果
に応じて排出球数記憶手段693に保持されていた球数
を賞球排出制御部616または貸し玉排出制御部617
に転送させて、停電発生時に中断された排出を続行させ
て残りの球数を排出させるようになっている。
The discharge mode storage means 692 and the discharged ball number storage means 693 are constituted by, for example, a RAM (random access memory) backed up by a battery 696, and when the power failure determination means 691 detects the occurrence of a power failure, the current The discharge mode and the number of discharges are stored in the discharge mode storage means 692.
and stored in the ejected ball number storage means 693, and when the power outage is restored, the ejection continuation control means 694 is activated to determine which of the prize ball ejection control section 616 or the rental ball ejection control section 617 has interrupted ejection. In accordance with the result, the number of balls held in the number of ejected balls storage means 693 is stored in the prize ball ejection control section 616 or the rental ball ejection control section 617.
The system is designed to continue discharging the balls that was interrupted when a power outage occurs and eject the remaining number of balls.

【0029】図10は玉貸し制御装置500の構成例を
示す。この実施例の玉貸し制御装置500は、カードリ
ーダ250からの読込みデータを受信したりカードリー
ダ250に対する制御信号を形成する制御部510と、
上記信号加工装置900からの貸し玉への変換要求信号
Yに基づいて上記排出制御装置600に対する玉貸し要
求信号Tを発生する玉貸し要求制御部520と、セグメ
ント型表示器からなる残高表示器220や122の駆動
信号を形成する表示駆動手段530と、玉貸し可能表示
ランプ126および玉貸し機有効表示ランプ230を駆
動するドライブ回路DRV1,DRV2等によって構成
されている。
FIG. 10 shows an example of the configuration of the ball lending control device 500. The ball lending control device 500 of this embodiment includes a control section 510 that receives read data from the card reader 250 and forms a control signal for the card reader 250;
A ball lending request control unit 520 that generates a ball lending request signal T to the emission control device 600 based on the ball lending request signal Y from the signal processing device 900, and a balance display 220 consisting of a segment type display. and 122, and drive circuits DRV1, DRV2, etc. that drive the ball lending available indicator lamp 126 and the ball lending machine valid indicator lamp 230.

【0030】上記玉貸し要求制御部520は、玉貸し排
出数すなわち信号加工装置900からの一つの要求信号
に対して何円分の貸し玉を排出すべきか設定可能な玉貸
数設定手段521と、信号加工装置900から貸し玉変
換要求信号Yが入ったときに上記玉貸数設定手段521
に設定されている玉数に対応した信号tを発生する変換
制御手段522と、上記信号tおよび玉貸し排出可能を
示す玉貸イネーブル信号Uに基いて排出制御装置600
に対する玉貸し要求信号Tをアサートし排出制御装置6
00からの払出完了信号Vを受けて玉貸し要求信号Tを
ネゲートする玉貸し要求信号形成手段523とからなる
。玉貸し可能表示ランプ126を駆動するドライブ回路
DRV1は、上記玉貸し要求信号Tを受けてこれがネゲ
ートされている間だけ玉貸し可能表示ランプ126を点
灯させ、玉貸し要求信号Tがアサートされている間は消
灯させるようになっている。
The ball rental request control section 520 includes a ball rental number setting means 521 that can set the number of balls to be discharged, that is, how many yen worth of rental balls should be discharged in response to one request signal from the signal processing device 900. , when the ball rental conversion request signal Y is input from the signal processing device 900, the ball rental number setting means 521
a conversion control means 522 that generates a signal t corresponding to the number of balls set in , and a discharge control device 600 based on the signal t and a ball rental enable signal U indicating that ball rental and discharge is possible.
The discharge control device 6 asserts the ball lending request signal T to
The ball lending request signal forming means 523 receives the payout completion signal V from 00 and negates the ball lending request signal T. The drive circuit DRV1 that drives the ball lending available display lamp 126 receives the ball lending request signal T and lights the ball lending available display lamp 126 only while this is negated, and the ball lending request signal T is asserted. The lights are turned off during this period.

【0031】図11には、上記玉貸し制御装置500の
制御部510の具体的構成例を示す。すなわち、この制
御部510はカードリーダ250から送られてくる読込
みデータよりカードの残高を抽出するカード残高読込み
手段511と、読み込まれた残高データを記憶する第1
の残高記憶手段512および第2の残高記憶手段513
と、排出制御装置600からの貸し玉払出完了信号Vに
基いて上記残高記憶手段512の記憶内容を減算させる
金額減算手段514と、残高記憶手段512の金額が所
定数になるごとにカードリーダ250内のパンチ装置に
対して穴開け指令を与えるパンチ穴加工制御手段515
と、残高記憶手段512の金額がゼロになったか否か判
定するカード残高判定手段516と、この判定手段51
6から金額ゼロ信号uや信号加工装置900からのカー
ド返却要求信号Z等に基いてカードリーダ250の挿排
出モータに対するカード排出指令信号nを形成するカー
ド挿排出制御手段517と、貸し玉払出完了信号Vに基
いてプリペードカードが1度(100円等)分使用され
たことを、全カードの金額を管理するカード管理装置8
00に知らせる決済信号jを形成する決済情報形成手段
518とを備えている。この決済信号jは伝送ラインを
介してカード管理会社のコンピュータに伝送させるよう
にすることができる。
FIG. 11 shows a specific example of the configuration of the control section 510 of the ball lending control device 500. That is, this control section 510 includes a card balance reading means 511 that extracts the card balance from the read data sent from the card reader 250, and a first card balance reading means 511 that stores the read balance data.
balance storage means 512 and second balance storage means 513
, an amount subtraction means 514 that subtracts the stored contents of the balance storage means 512 based on the ball rental completion signal V from the discharge control device 600, and a card reader 250 each time the amount of money stored in the balance storage means 512 reaches a predetermined number. Punching hole processing control means 515 for giving a hole punching command to the punching device in the
, a card balance determination means 516 for determining whether the amount in the balance storage means 512 has become zero, and this determination means 51
6 to the card insertion/ejection control means 517 which forms a card ejection command signal n to the insertion/ejection motor of the card reader 250 based on the zero amount signal u, the card return request signal Z from the signal processing device 900, etc.; A card management device 8 that manages the amounts of all cards, indicating that the prepaid card has been used once (100 yen, etc.) based on the signal V.
00 is provided. This payment signal j can be transmitted to the card management company's computer via a transmission line.

【0032】上記第2残高記憶手段513には、カード
挿入時および貸し玉変換要求時に第1の残高記憶手段5
12の内容(カード残高)がコピーされる。一方、第1
の残高記憶手段512の内容は排出完了ごとに更新され
る。そして、2つの記憶手段の内容は玉貸機200とパ
チンコ遊技機100にそれぞれ設けられた挿入残高表示
器220と残高表示器122に各々表示される。これに
よって、2つの表示器の金額の差を読み取ることにより
変換ボタン123の操作による貸し玉への変換金額を知
ることができる。
The second balance storage means 513 stores the first balance storage means 5 when the card is inserted and when a rental ball conversion request is made.
The contents of 12 (card balance) are copied. On the other hand, the first
The contents of the balance storage means 512 are updated every time discharge is completed. The contents of the two storage means are displayed on the inserted balance display 220 and the balance display 122 provided in the ball lending machine 200 and the pachinko gaming machine 100, respectively. Thereby, by reading the difference between the amounts on the two displays, it is possible to know the amount of money converted into rental balls by operating the conversion button 123.

【0033】図12は、上記信号加工装置900の構成
例を示す。信号加工装置900は、上記玉貸し制御装置
500からの残高表示駆動信号Xを受けてパチンコ遊技
機に設けられている具体的な残高表示器122(セグメ
ント型に限定されない)や玉数表示器125に対する表
示駆動信号および遊技盤制御装置400に対するカード
挿入,排出音要求信号F,Gを形成するカード情報制御
手段910と、パチンコ遊技機に設けられた変換ボタン
123からの指令および玉不足検出器131等からの信
号に基いて玉なし状態を判定した場合に、玉貸し制御装
置500に対する玉貸し変換要求信号Yを形成する玉貸
し要求制御手段930と、パチンコ遊技機に設けられた
返却ボタン124からの指令およびパチンコ店の管理装
置700からの打止め指令等に基いてカード返却要求信
号Zを形成する返却信号形成手段940とから構成され
ている。
FIG. 12 shows an example of the configuration of the signal processing device 900. The signal processing device 900 receives the balance display drive signal X from the ball lending control device 500 and displays a specific balance display 122 (not limited to the segment type) and ball number display 125 provided in the pachinko game machine. a card information control means 910 that forms display drive signals for and card insertion and discharge sound request signals F and G for the game board control device 400, commands from a conversion button 123 provided on the pachinko game machine, and a ball shortage detector 131. from the ball rental request control means 930 that forms a ball rental conversion request signal Y to the ball rental control device 500 when the ball-out state is determined based on the signal from the pachinko machine, and the return button 124 provided in the pachinko game machine. and a return signal forming means 940 that forms a card return request signal Z based on a command from the management device 700 of the pachinko parlor and a stop command from the management device 700 of the pachinko parlor.

【0034】図13には、上記カード情報制御手段91
0の具体的構成例が示されている。カード情報制御手段
910は、玉貸し制御装置500からの残高表示駆動信
号Xを受けて表示内容を保持する表示内容読取手段91
1と、読み取った表示内容から残高がゼロか否か判定し
て残高ゼロの場合には玉貸し要求制御手段930に対し
て残高がゼロになったことを示す信号rをまた残高がゼ
ロでないときは遊技中であることを示す信号Sを管理装
置700へ供給する残高判定手段912と、上記信号r
とSを入力信号として残高が“ゼロ”から“有”に変化
したときは玉貸機200にカードが挿入されたと判定、
また残高が“ゼロ”に変化したときは玉貸機200から
カードが排出されると判定して対応する信号を出力する
カード挿入排出判定手段913と、この判定手段からの
判定結果に基いてカード挿入音またはカード排出音の要
求信号F,Gを形成して遊技盤制御装置400へ送出す
る音声出力要求手段914と、パチンコ遊技機に設けら
れている残高表示器122に適した数値表示データを記
憶し表示内容読取手段911により読み取った表示内容
から残高データを出力する数値表示データ記憶手段91
5と、貸し玉への変換レートを記憶する変換レート記憶
手段916と、この変換レートに基いて変換した玉数デ
ータを出力する表示データ変換手段917と、残高表示
器122や玉数表示器125がドットマトリックス型表
示器で構成されているような場合に、残高と玉数以外の
例えばメッセージのような表示データを記憶するメッセ
ージ記憶手段918と、残高表示器122と玉数表示器
125に表示すべきデータを決定し表示駆動信号を形成
する表示駆動手段921および922とを備えている。
FIG. 13 shows the card information control means 91.
0 is shown. The card information control means 910 includes a display content reading means 91 that receives the balance display drive signal X from the ball lending control device 500 and holds the display content.
1, it is determined whether the balance is zero based on the read display content, and if the balance is zero, a signal r indicating that the balance has become zero is sent to the ball lending request control means 930, and if the balance is not zero, is a balance determining means 912 that supplies a signal S indicating that a game is in progress to the management device 700;
and S as input signals, and when the balance changes from "zero" to "available", it is determined that the card has been inserted into the ball lending machine 200,
Further, when the balance changes to "zero", it is determined that the card is ejected from the ball lending machine 200, and a card insertion/ejection determination means 913 outputs a corresponding signal. Audio output request means 914 forms request signals F and G for insertion sound or card ejection sound and sends them to the gaming board control device 400, and numerical display data suitable for the balance display 122 provided in the pachinko gaming machine are provided. Numerical display data storage means 91 for outputting balance data from display contents stored and read by display content reading means 911
5, a conversion rate storage means 916 that stores the conversion rate for rental balls, a display data conversion means 917 that outputs ball number data converted based on this conversion rate, and a balance display 122 and a ball number display 125. is configured with a dot matrix type display, message storage means 918 stores display data such as a message other than the balance and number of balls, and the balance display 122 and the number of balls display 125 display the display data. Display driving means 921 and 922 are provided for determining data to be displayed and forming a display driving signal.

【0035】図14には玉貸し要求制御手段930の具
体的構成例が示されている。すなわち、玉貸し要求制御
手段930は、変換ボタン123からの信号を検出する
変換操作検出手段931と、玉不足検出器131からの
信号を検出する玉不足検出手段932と、自動変換モー
ド切換えボタン127からの信号を検出する自動変換モ
ード切換え検出手段933と、玉保有検出器132から
の信号を検出する玉保有検出手段934と、遊技盤制御
装置400からの大当り信号を検出する大当り信号検出
手段935と、変換操作検出手段931により変換ボタ
ン123からの信号が検出されたときに玉貸し制御装置
500に対する玉貸し変換要求信号Yを発生する玉貸し
要求信号発生手段936と、自動変換モード表示ランプ
111を点灯させる信号を形成する表示駆動手段937
と、自動変換モード切換え検出手段933により上記切
換えボタン127の操作が検出されたときに自動変換モ
ードに入ったことを記憶し、かつ玉不足検出器131か
らの信号が検出されたときに上記玉貸し要求信号発生手
段936を起動させて玉貸し変換要求信号Yを発生させ
るとともに表示駆動手段937を作動させてランプ11
1を点灯させる自動変換モード制御手段938と、残高
情報制御手段910から残高ゼロ信号が入ってきたとき
および玉保有検出信号が入っている状態で大当り信号が
検出されたときに上記自動変換モード制御手段938に
設定された自動変換モードを解除させるとともに、玉保
有検出信号が入っている状態で玉不足検出信号が入って
きたとしても玉貸し変換要求信号Yを発生させないよう
に禁止する変換禁止/解除手段939とを備えている。
FIG. 14 shows a specific configuration example of the ball lending request control means 930. That is, the ball lending request control means 930 includes a conversion operation detection means 931 that detects a signal from the conversion button 123, a ball shortage detection means 932 that detects a signal from the ball shortage detector 131, and an automatic conversion mode switching button 127. automatic conversion mode switching detection means 933 that detects a signal from the ball possession detector 132, ball possession detection means 934 that detects a signal from the ball possession detector 132, and jackpot signal detection means 935 that detects a jackpot signal from the game board control device 400. , a ball rental request signal generating means 936 that generates a ball rental conversion request signal Y to the ball rental control device 500 when a signal from the conversion button 123 is detected by the conversion operation detection means 931; and an automatic conversion mode display lamp 111. Display driving means 937 that forms a signal to light up the
When the automatic conversion mode switching detection means 933 detects the operation of the switching button 127, the automatic conversion mode is memorized, and when the signal from the ball shortage detector 131 is detected, the automatic conversion mode is switched on. The lending request signal generating means 936 is activated to generate the ball lending conversion request signal Y, and the display driving means 937 is activated to display the lamp 11.
The automatic conversion mode control means 938 lights up 1, and the automatic conversion mode control is performed when a zero balance signal is received from the balance information control means 910 or when a jackpot signal is detected with the ball possession detection signal being input. Conversion prohibition that cancels the automatic conversion mode set in the means 938 and prohibits the generation of the ball rental conversion request signal Y even if the ball shortage detection signal is input while the ball possession detection signal is input. and release means 939.

【0036】次に、上述した排出制御装置600によっ
て行なわれる貸し玉および賞品球の排出制御の手順を図
15乃至図53を参照して詳細に説明する。賞品球の排
出制御は、上記排出制御装置600の電源の投入と同時
に開始され電源が投入されている限り繰返しその処理が
行なわれる所謂バックグラウンド制御処理(図15)と
、上記電源が投入されたあとタイマ割込みにより所定時
間(例えば0.5msec)毎に、上記バックグランド
制御処理中に当該バックグランド制御処理を中断してそ
の処理が実行される割込処理(図16)の2つの制御処
理に大別されるものであり、これら2つの制御処理はC
PUからなる制御部610により実行される。
Next, the procedure for controlling the discharge of rental balls and prize balls performed by the above-described discharge control device 600 will be explained in detail with reference to FIGS. 15 to 53. The ejection control of the prize balls includes a so-called background control process (FIG. 15) in which the ejection control device 600 is started at the same time as the power is turned on and the process is repeated as long as the power is turned on (FIG. 15); There are also two control processes: an interrupt process (Figure 16) in which the background control process is interrupted and executed every predetermined time (for example, 0.5 msec) by a timer interrupt. These two control processes are classified into C
This is executed by a control unit 610 consisting of a PU.

【0037】先ず、賞品球の排出制御のバックグランド
制御処理のメインルーチンについて図15を参照して説
明する。このメインルーチンは、前述したように排出制
御装置600の電源の投入後、繰返し行なわれる。
First, the main routine of the background control process for controlling the ejection of prize balls will be explained with reference to FIG. This main routine is repeatedly performed after the emission control device 600 is powered on as described above.

【0038】電源が立上がると、先ず、ステップS1で
「停電フラグ」が「1」であるか否かが判定される。こ
の「停電フラグ」は後述の処理(図29)で停電が検出
されたときに「1」にされるものである。このステップ
S1の判定結果が“No”のときにはステップ2に進み
、“Yes”のときにはステップ13に進んでRAM内
の参照エリアに用意された「処理ナンバー」を“5”に
設定してからステップS3へ進む。後で停電回復処理(
ステップS15)を行なわせるためである。ステップS
2では、RAMのクリアやフラグの設定、出力バッファ
のリセット等の初期設定を行なう。
When the power is turned on, first, in step S1, it is determined whether or not the "power outage flag" is "1". This "power outage flag" is set to "1" when a power outage is detected in the process described later (FIG. 29). If the determination result in step S1 is "No", proceed to step 2; if "Yes", proceed to step 13, set the "processing number" prepared in the reference area in the RAM to "5", and then step Proceed to S3. Later, power outage recovery processing (
This is to cause step S15) to be performed. Step S
In step 2, initial settings such as clearing the RAM, setting flags, and resetting the output buffer are performed.

【0039】続くステップS3では、後述の排出装置不
正監視処理(図30)を行なって不正排出が行なわれて
いないことを確認してから、ステップS4に進み、上記
処理中で設定される排出不正フラグが「1」であるか否
か判定し、フラグが「1」のときはステップS13の不
正解除処理を行ない、フラグが「0」のときはステップ
S5へ進む。ステップS5〜S9では上記処理ナンバー
(処理NO)を参照して、ナンバーがそれぞれ“5”ま
たは“4”、“3”、“2”、“1”であるか否かが判
定される。この処理ナンバーは、その値が“5”のとき
に後述の停電回復処理(図53)を開始させ、その値が
“4”のときに後述の玉抜処理(図43〜45)を開始
させ、その値が“3”のときに後述の玉貸し排出処理(
図42)を開始させ、その値が“2”のときに後述の賞
球排出処理(図35)を開始させ、その値が“1”のと
きに後述の賞球開始処理(図32)を開始させるもので
ある。そして、この処理ナンバーは各々対応する処理が
実行されたとき、その処理フローの中で他のナンバーに
変更もしくは“0”にリセットされるようになっている
In the subsequent step S3, a discharge device fraud monitoring process (FIG. 30), which will be described later, is performed to confirm that no unauthorized discharge is being performed. It is determined whether the flag is "1" or not, and when the flag is "1", the illegal cancellation process of step S13 is performed, and when the flag is "0", the process proceeds to step S5. In steps S5 to S9, it is determined with reference to the processing number (processing NO) whether the number is "5", "4", "3", "2", or "1", respectively. This process number starts the power failure recovery process (Figure 53) described later when its value is "5", and starts the ball removal process (Figures 43 to 45) described later when its value is "4". , when the value is "3", the ball lending process (described below) is performed (
42), and when the value is "2", the prize ball discharge process (FIG. 35) described later is started, and when the value is "1", the prize ball start process (FIG. 32) described later is started. It is something that gets you started. When each corresponding process is executed, this process number is changed to another number or reset to "0" in the process flow.

【0040】一方、処理ナンバーが“0”のときはステ
ップS10へ進み、玉抜フラグが「1」であるか否か判
定し、フラグが「1」のときはステップS20で上記処
理ナンバーを“4”に設定する。再度メインルーチンが
実行されるときにステップS16の玉抜処理へ移行させ
るためである。またステップS10で、玉抜フラグが「
0」と判定したときはステップS11へ進む。ステップ
S11では、玉貸し制御装置500から玉貸し要求信号
Vが入っているか否か調べ、信号が入っていれば玉貸し
開始処理(図41)を実行し、玉貸し要求信号がなけれ
ばステップS12へ進む。ステップS12では、遊技盤
制御装置400から賞球排出要求(賞球データのストロ
ーブ信号C)が入っているか否か調べ入っていればステ
ップS22で処理ナンバーを“1”に設定する。再度メ
インルーチンが実行されるときにステップS19の賞球
開始処理へ移行させるためである。また、ステップS1
2で排出要求がなければ補給処理(図46)および情報
出力処理(図47)を実行した後、上記ステップS3へ
戻る。
On the other hand, when the processing number is "0", the process proceeds to step S10, and it is determined whether or not the ball removal flag is "1", and when the flag is "1", the processing number is set to "1" in step S20. Set to 4”. This is to cause the process to proceed to the ball removal process in step S16 when the main routine is executed again. Also, in step S10, the ball removal flag is set to “
0'', the process advances to step S11. In step S11, it is checked whether or not there is a ball lending request signal V from the ball lending control device 500, and if the signal is present, the ball lending start process (FIG. 41) is executed, and if there is no ball lending request signal, step S12 Proceed to. In step S12, it is checked whether a prize ball discharge request (strobe signal C of prize ball data) has been received from the game board control device 400. If yes, the processing number is set to "1" in step S22. This is to cause the process to proceed to the prize ball start process of step S19 when the main routine is executed again. Also, step S1
If there is no discharge request in step 2, the replenishment process (FIG. 46) and the information output process (FIG. 47) are executed, and then the process returns to step S3.

【0041】図16には、図15のメインルーチン(バ
ックグランド処理)に優先して排出制御装置600によ
って所定時間(例えば0.5msec)経過毎に行なわ
れるタイマ割込処理の手順が示されている。この割込処
理は各種入力信号の読込みのために行なわれるものであ
る。 この割込処理が開始されると、先ず、各種タイマのカウ
ント値の更新が行なわれ(ステップS40)、次いで玉
貸しリクエスト検出処理(ステップS41)、賞球デー
タ検出処理(ステップS42)、枠センサの入力処理(
ステップS43)、排出センサ1の入力処理(ステップ
S44)、排出センサ2の入力処理(ステップS46)
、排出センサ1レベル入力処理(ステップS48)、排
出センサ2レベル入力処理(ステップS50)、球抜セ
ンサの入力処理(ステップS52)、補給センサの入力
処理(ステップS54)、オーバーフロー検出器入力処
理(ステップS56)、待機球検出器の入力処理(ステ
ップS58)およびアウトセンサ入力処理(ステップS
60)が順次行なわれる。
FIG. 16 shows the procedure of timer interrupt processing, which is performed by the emission control device 600 every predetermined period of time (for example, 0.5 msec) in priority to the main routine (background processing) of FIG. 15. There is. This interrupt processing is performed for reading various input signals. When this interrupt processing is started, first, the count values of various timers are updated (step S40), then ball lending request detection processing (step S41), prize ball data detection processing (step S42), frame sensor input processing (
Step S43), Input processing for the discharge sensor 1 (Step S44), Input processing for the discharge sensor 2 (Step S46)
, discharge sensor 1 level input process (step S48), discharge sensor 2 level input process (step S50), bulb removal sensor input process (step S52), replenishment sensor input process (step S54), overflow detector input process ( Step S56), waiting ball detector input processing (Step S58) and out sensor input processing (Step S
60) are performed sequentially.

【0042】図17は、上記ステップS41にて行なわ
れる玉貸しリクエスト検出処理ルーチンのフローチャー
トである。この処理ルーチンでは、まずRAM内に用意
され図42の玉貸し排出処理ルーチン中で更新される連
続玉貸しカウンタの値が「5」であるか否か判定し(ス
テップS4102)、“No”であればステップS41
04へ進んで賞球排出中か否か調べ、賞球排出中なら玉
貸し要求フラグをリセットして処理を終了する(ステッ
プS4118)。また、賞球排出中でなければ次のステ
ップS4106で玉貸し排出中か否か判定し、玉貸し排
出中なら何もせずに処理を終了する。本実施例では、貸
し玉への1回の変換が200円とか300円等の単位に
設定されていたとしても排出ソレノイドに対しては10
0円単位で排出指令を出すようにしていることを考慮し
たためである。
FIG. 17 is a flowchart of the ball lending request detection processing routine carried out in step S41. In this processing routine, it is first determined whether the value of the continuous ball lending counter prepared in the RAM and updated in the ball lending discharge processing routine of FIG. 42 is "5" (step S4102), and if "No" is determined. If so, step S41
The process advances to S4118 to check whether or not the prize balls are being ejected, and if the prize balls are being ejected, the ball lending request flag is reset and the process ends (step S4118). Moreover, if the prize ball is not being discharged, it is determined in the next step S4106 whether or not the ball rental is being discharged, and if the ball rental is being discharged, the process is ended without doing anything. In this embodiment, even if one conversion to rental balls is set to units such as 200 yen or 300 yen, the ejection solenoid is converted to 100 yen.
This was done in consideration of the fact that emission orders are issued in units of 0 yen.

【0043】上記ステップS4106で玉貸し排出中で
ないと判定すると、ステップS4108へ進み、玉貸し
要求信号Tがロウレベルにされているか判定し、“Ye
s”なら信号が連続して5m秒ロウレベルになっている
か調べる(ステップS4120)。連続して5m秒ロウ
レベルになっているのを確認して玉貸し要求信号がアサ
ートされた判断することによってノイズによる誤動作を
防止するためである。そして、ステップS4120の判
定で“No”なら何もせずに、また“Yes”なら玉貸
し要求フラグをセットして処理を終了する(ステップS
4122)。これによって、図15のメインルーチン中
のステップS11で“Yes”と判定されて、玉貸し開
始処理S21が開始される。さらに、ステップS410
8で“No”すなわち玉貸し要求信号Tがハイレベルで
あると判定したときは、ステップS4110へ進んで、
玉貸し要求信号Tが連続して5m秒間ハイレベル(Hレ
ベル)か否か判定する。そして、連続して5m秒間ハイ
レベルであった場合には玉貸し要求がなくなったと判断
して、連続玉貸しカウンタをクリアして玉貸し要求フラ
グをリセット、玉貸し可能を示すP台レディフラグを「
0」にクリアして処理を終了する(ステップS4124
,S4126,S4128)。
If it is determined in the above step S4106 that the ball lending is not being discharged, the process advances to step S4108, where it is determined whether the ball lending request signal T is set to a low level, and "Ye" is determined.
If the signal is "low level" for 5 msec consecutively (step S4120), it is determined that the ball lending request signal has been asserted by confirming that the signal has been low level for 5 msec consecutively. This is to prevent malfunctions.If the determination in step S4120 is "No", nothing is done, and if the determination is "Yes", the ball lending request flag is set and the process ends (step S4120).
4122). As a result, "Yes" is determined in step S11 in the main routine of FIG. 15, and ball lending start processing S21 is started. Furthermore, step S410
If it is determined in step S4110 that the ball lending request signal T is at a high level, the process advances to step S4110.
It is determined whether the ball lending request signal T is at a high level (H level) for 5 m seconds continuously. If it remains at a high level for 5 m seconds continuously, it is determined that there is no longer a ball lending request, clears the continuous ball lending counter, resets the ball lending request flag, and sets the P stand ready flag indicating that ball lending is possible. "
0” and terminates the process (step S4124
, S4126, S4128).

【0044】一方、ステップS4102の判定で“Ye
s”であればステップS4112へ進んで玉貸し制御装
置500からの玉貸し要求信号Tがハイレベルか否か判
定する。ここで、玉貸し要求信号Tがロウレベル(Lレ
ベル)であれば、何もせずにそのままこのルーチンを終
了し、玉貸し要求信号Tがハイレベルであれば、ステッ
プS4114へ進み、玉貸し要求信号Tが連続して5m
秒間ハイレベルか否か判定する。そして、玉貸し要求信
号Tが連続して5m秒間ハイレベルであれば、玉貸し要
求信号Tがネゲートされたと判定して連続玉貸しカウン
タをクリアして処理を終了する(ステップS4116)
。一度に500円分を越える変換を回避するためである
On the other hand, the determination in step S4102 is “Yes.
s'', the process advances to step S4112 and it is determined whether the ball lending request signal T from the ball lending control device 500 is at a high level.Here, if the ball lending request signal T is at a low level (L level), If this routine is ended without any change and the ball lending request signal T is at a high level, the process advances to step S4114, and the ball lending request signal T is continuously output for 5 m.
Determine whether the level is high for a second. If the ball lending request signal T is at a high level for 5 m seconds continuously, it is determined that the ball lending request signal T has been negated, the continuous ball lending counter is cleared, and the process ends (step S4116).
. This is to avoid converting more than 500 yen at a time.

【0045】図18は、上記ステップS42にて行なわ
れる賞球データ検出処理ルーチンのフローチャートであ
る。この処理においては、まず玉貸し排出中か否か調べ
て(ステップS4202)、排出中でないときはステッ
プS4204へ進んで既に賞球排出処理に入っているか
否か判定して賞球排出中なら何もせずに処理を終了し、
賞球排出中でないときはステップS4206へ進んで遊
技盤制御装置400からのデータストローブ信号Cがロ
ウレベルにアサートされているか調べる。ここでデータ
ストローブ信号Cがロウレベルであると判定すると、ス
テップS4212へ移行して信号が連続して10m秒以
上ロウレベルにされているか判定し、“Yes”なら遊
技盤制御装置400からの賞球数データBを読み込んで
から、賞球要求フラグをセットして処理を終了する(ス
テップS4214,S4216)。これによって、図1
5のメインルーチン中のステップS12で“Yes”と
判定されて、処理ナンバーが“1”に設定され、しかる
後ステップS9で“Yes”と判定されて賞球開始処理
S19が開始される。
FIG. 18 is a flowchart of the prize ball data detection processing routine carried out in step S42. In this process, it is first checked whether or not balls are being ejected (step S4202), and if they are not being ejected, the process advances to step S4204 to determine whether or not the prize ball ejecting process has already begun. Finish the process without doing anything,
If the prize balls are not being ejected, the process advances to step S4206 to check whether the data strobe signal C from the game board control device 400 is asserted to a low level. If it is determined that the data strobe signal C is at a low level, the process moves to step S4212, where it is determined whether the signal has been at a low level for 10 msec or more continuously, and if "Yes", the number of prize balls from the game board control device 400 is determined. After reading the data B, the prize ball request flag is set and the process ends (steps S4214, S4216). By this, Figure 1
In step S12 of the main routine No. 5, the determination is "Yes", and the processing number is set to "1", and then, in step S9, the determination is "Yes", and the prize ball start process S19 is started.

【0046】一方、上記ステップS4202で玉貸し排
出中であると判定すると、ステップS4208へ移行し
て上記ステップS4214,S4216でセットした賞
球数データおよび賞球要求フラグをリセットして処理を
終了する(ステップS4210)。賞球排出処理よりも
玉貸し排出処理を優先させるためである。ただし、玉貸
し排出処理が優先されるのは賞球数データおよび賞球要
求フラグがセットされただけの場合であり、一旦賞球排
出動作が開始された段階での賞球排出処理のリセットは
なされないように図17の玉貸リクエスト検出処理の中
で対処されている(ステップS4104,S4118参
照)。
On the other hand, if it is determined in step S4202 that the ball is being rented out, the process moves to step S4208, resets the prize ball number data and the prize ball request flag set in steps S4214 and S4216, and ends the process. (Step S4210). This is to give priority to ball lending processing over prize ball discharging processing. However, the ball lending process is given priority only when the prize ball number data and the prize ball request flag are set, and once the prize ball ejecting operation has started, the prize ball ejecting process cannot be reset. To prevent this from happening, measures are taken in the ball lending request detection process in FIG. 17 (see steps S4104 and S4118).

【0047】図19は、上記ステップS43にて行なわ
れる枠センサ入力処理ルーチンのフローチャートである
。この枠センサ入力処理は、パチンコ遊技機に設けられ
た枠センサ103の信号を取り込んで、情報出力処理S
24においてホールの管理装置700に対して出力する
信号を形成する遊技台情報出力処理フロー(図51)中
にて枠開放信号を形成する過程で用いられる枠開放フラ
グおよび枠閉塞フラグを設定するための処理である。 このルーチンが開始されると、先ずステップS4300
で枠センサ103の出力信号がハイレベル(枠センサ出
力=“1”)であるか否かが判定される。今仮りにパチ
ンコ遊技機の前面枠101が閉じていたとする。すると
、ステップS4300の判定結果は“Yes”となり、
ステップS4302へ進み枠閉塞フラグが“1”か否か
判定される。ここで、初期設定では判定フラグがすべて
“0”にセットされている(図15のステップS2)の
で、ステップS4302の判定および次のステップS4
304の判定(枠閉塞監視フラグが“1”か否か)の結
果は共に“No”となり、枠閉塞監視フラグを“1”に
設定し(ステップS4306)、枠開放監視フラグを“
0”に設定し(ステップS4308)、更に枠閉塞タイ
マを所定値(100m秒)にセットして(ステップS4
310)、本ルーチンを終了する。
FIG. 19 is a flowchart of the frame sensor input processing routine carried out in step S43. This frame sensor input processing takes in the signal of the frame sensor 103 provided in the pachinko game machine and performs the information output processing S.
In order to set the frame open flag and frame blockage flag used in the process of forming the frame open signal in the game machine information output processing flow (FIG. 51) that forms the signal output to the hall management device 700 in step 24. This is the process. When this routine is started, first step S4300
It is determined whether the output signal of the frame sensor 103 is at a high level (frame sensor output=“1”). Assume now that the front frame 101 of the pachinko game machine is closed. Then, the determination result in step S4300 becomes "Yes",
Proceeding to step S4302, it is determined whether the frame blockage flag is "1". Here, in the initial setting, all the determination flags are set to "0" (step S2 in FIG. 15), so the determination in step S4302 and the next step S4
The results of the determination in step S4304 (whether the frame blockage monitoring flag is "1" or not) are both "No", the frame blockage monitoring flag is set to "1" (step S4306), and the frame opening monitoring flag is set to "1".
0'' (step S4308), and further sets the frame occlusion timer to a predetermined value (100 msec) (step S4308).
310), this routine ends.

【0048】そして、次のループが開始されたときに引
き続き枠センサがオンであると、前記ステップS430
0の判定結果が“Yes”、続くステップS4302の
判定結果が“No”、S4304の判定結果が“Yes
”となってステップS4312が実行される。このステ
ップS4312では、前記ステップS4310で起動さ
せた枠閉塞タイマがタイムアップしたか否か判定され、
判定結果が“No”のときには、続くステップS431
4,S4316をスキップして本ルーチンを終了する。 一方、前記ステップS4312の判定結果が“Yes”
のときには、ステップS4314にて枠センサ閉塞フラ
グを“1”に設定すると共に、次のステップS4316
にて、枠センサ開放フラグをリセット(“0”に設定)
して本ルーチンを終了する。
[0048] Then, when the next loop is started, if the frame sensor is still on, step S430 is executed.
The determination result of step S4302 is “No,” and the determination result of step S4304 is “Yes.”
” and step S4312 is executed. In this step S4312, it is determined whether or not the frame closure timer started in step S4310 has timed up.
When the determination result is "No", the following step S431
4. Skip S4316 and end this routine. On the other hand, the determination result in step S4312 is “Yes”.
In this case, the frame sensor blockage flag is set to "1" in step S4314, and the frame sensor blockage flag is set to "1" in step S4316.
, reset the frame sensor open flag (set to “0”)
to end this routine.

【0049】一方、上記ステップS4300で“No”
すなわち枠センサ103がオフであると判定されると、
ステップS4318へ移行して、ステップS4302な
いしS4316と相補的なステップであるS4318な
いしS4332からなるルーチンを実行して、枠開放フ
ラグを“1”に、また枠閉塞フラグを“0”にそれぞれ
設定して本ルーチンを終了する。すなわち、まずステッ
プS4302(枠開放フラグが“1”か否か)および次
のステップS4304(枠開放監視フラグが“1”か否
か)の判定結果は共に“No”となり、ステップS43
22で枠開放監視フラグを“1”に設定してから、枠閉
塞監視フラグを“0”に設定し(ステップS4324)
、更に枠閉塞タイマを起動して(ステップS4326)
、本ルーチンを終了する。そして、次のループが開始さ
れたときに引き続き枠センサがオフであると、前記ステ
ップS4300の判定結果が“No”、続くステップS
4302の判定結果が“No”、S4304の判定結果
が“Yes”となってステップS4328が実行される
。このステップS4328では、前記ステップS432
6で起動させた枠閉塞タイマがタイムアップしたか否か
判定され、判定結果が“No”のときには、続くステッ
プS4330,S4332をスキップして本ルーチンを
終了する。
On the other hand, “No” in the above step S4300
That is, when it is determined that the frame sensor 103 is off,
Proceeding to step S4318, a routine consisting of steps S4318 to S4332, which are complementary steps to steps S4302 to S4316, is executed to set the frame open flag to "1" and the frame blockage flag to "0". to end this routine. That is, first, the determination results of step S4302 (whether or not the frame opening flag is "1") and the next step S4304 (whether or not the frame opening monitoring flag is "1") are both "No", and step S43
The frame open monitoring flag is set to "1" in step S4322, and the frame blockage monitoring flag is set to "0" (step S4324).
, further starts the frame blockage timer (step S4326).
, this routine ends. Then, if the frame sensor is still off when the next loop is started, the determination result in step S4300 is "No", and the subsequent step S4300 is "No".
The determination result in step S4302 is "No", the determination result in S4304 is "Yes", and step S4328 is executed. In this step S4328, the step S432
It is determined whether the frame closing timer activated in step 6 has timed up, and if the determination result is "No", the following steps S4330 and S4332 are skipped and this routine is ended.

【0050】一方、前記ステップS4328の判定結果
が“Yes”のときには、ステップS4330にて枠セ
ンサ開放フラグを“1”に設定すると共に、次のステッ
プS4332にて、枠センサ閉塞フラグをリセット(“
0”に設定)して本ルーチンを終了する。ただし、ステ
ップS4326で起動する枠開放タイマの設定時間は上
記枠閉塞タイマ(ステップS4310)よりもずっと長
い1000m秒のような時間が選択されている。
On the other hand, if the determination result in step S4328 is "Yes", the frame sensor open flag is set to "1" in step S4330, and the frame sensor closed flag is reset ("
0") and ends this routine. However, the setting time of the frame opening timer started in step S4326 is selected to be 1000 msec, which is much longer than the frame closing timer (step S4310). .

【0051】図20は、上記ステップS44にて行なわ
れる排出センサ1の入力処理ルーチンのフローチャート
である。このルーチンは排出センサ730aの状態を検
出するためのものであり、該センサは内側に賞品球が存
在しているときその出力信号がハイレベルとなり、賞品
球が流出して一時的に又は継続してセンサ内に存在しな
くなったときその出力信号がロウレベルとなるように構
成されている。従って本ルーチンではセンサ730aの
出力信号がロウレベルからハイレベルに立ち上がったと
きに後述の排出センサ1立上フラグを“1”に設定して
賞品球が該センサ内に達したことを記憶するようになっ
ている。一方、該センサ730a(以下、排出センサ1
と記す)の出力信号がハイレベルからロウレベルに立下
がったとき後述の排出センサ立下フラグを“1”に設定
して賞品球が該センサ内より脱したことを記憶するよう
になっている。
FIG. 20 is a flowchart of the input processing routine for the exhaust sensor 1 carried out in step S44. This routine is for detecting the state of the ejection sensor 730a, and when there is a prize ball inside the sensor, its output signal becomes high level, and the prize ball flows out temporarily or continuously. The output signal is configured to be at a low level when the sensor no longer exists in the sensor. Therefore, in this routine, when the output signal of the sensor 730a rises from a low level to a high level, the ejection sensor 1 rising flag, which will be described later, is set to "1" to remember that the prize ball has reached the sensor. It has become. On the other hand, the sensor 730a (hereinafter, discharge sensor 1
When the output signal (denoted as ) falls from a high level to a low level, a discharge sensor fall flag, which will be described later, is set to "1" to remember that the prize ball has escaped from within the sensor.

【0052】本ルーチンが開始されると、先ずステップ
S4402にて該センサ1の出力信号がハイレベル(排
出センサ1出力=“1”)であるか否かが判定される。 今仮りに賞品球の排出が行われず1つの賞品球がセンサ
1内に留まっている状態を考える。このときステップS
4402の判定結果は“Yes”となってステップS4
404以降が実行される。
When this routine is started, first, in step S4402, it is determined whether the output signal of the sensor 1 is at a high level (emission sensor 1 output="1"). Let us now consider a situation in which one prize ball remains within the sensor 1 without being ejected. At this time, step S
The determination result of 4402 is “Yes” and the process proceeds to step S4.
404 and subsequent steps are executed.

【0053】ステップS4404では排出1立上変化フ
ラグが“1”であるか否かが、ステップS4406では
排出1立下変化フラグが“1”であるか否かが、ステッ
プS4408では排出1ロウレベルフラグが“1”であ
るか否かが、次いでステップS4410では排出1ハイ
レベルフラグが“1”であるか否かが夫々判定される。 ところでCPU610の初期化直後はすべてのフラグが
“0”に設定されているため、ステップS4404〜S
4410の判定結果はすべて“No”となり、ステップ
S4412にて、今回ループで排出センサ1の出力信号
がハイレベルであったことを記憶すべく排出1ハイレベ
ルフラグを“1”に設定して本ルーチンを終了する。
In step S4404, it is determined whether the discharge 1 rise change flag is "1", in step S4406 it is determined whether the discharge 1 fall change flag is "1", and in step S4408, the discharge 1 low level flag is determined It is then determined in step S4410 whether or not the discharge 1 high level flag is "1". By the way, immediately after the CPU 610 is initialized, all flags are set to "0", so steps S4404 to S4404 are set to "0".
All the determination results in step S4410 are "No", and in step S4412, the discharge 1 high level flag is set to "1" to remember that the output signal of discharge sensor 1 was high level in this loop. End the routine.

【0054】以後のループでは、排出1ハイレベルフラ
グが“1”に設定されているので、排出センサ1の出力
信号がハイレベルの状態を保持する限りステップS44
02,S4404,S4406,S4408,S441
0が繰返し実行されることになる。その後、賞品球の排
出が開始され、それまでセンサ1内に留まっていた賞品
球が排出センサ1内より外側に移動してセンサ1内より
脱すると、排出センサ1の出力信号がロウレベルに立下
り、前記ステップS4402の判定結果が“No”とな
ってステップS4432以降が実行される。
In the subsequent loop, since the discharge 1 high level flag is set to "1", as long as the output signal of the discharge sensor 1 maintains the high level state, step S44 is performed.
02, S4404, S4406, S4408, S441
0 will be executed repeatedly. After that, the ejection of the prize ball is started, and when the prize ball that had been staying in the sensor 1 moves outward from the inside of the ejection sensor 1 and escapes from the sensor 1, the output signal of the ejection sensor 1 falls to a low level. , the determination result in step S4402 is "No" and steps S4432 and subsequent steps are executed.

【0055】ステップS4432以降の処理が最初に行
なわれるときには、前記排出1ハイレベルフラグは“1
”、それ以外のフラグはすべて“0”であるため、該ス
テップS4432の判定(排出1立下変化フラグが“1
”であるか)、次のステップS4434の判定(排出1
立上変化フラグが“1”であるか)の結果が共に“No
”、続くステップS4436(排出1ハイレベルフラグ
が“1”であるか)の判定の結果が“Yes”となって
ステップS4438,S4440が実行される。 ステップS4438では、前回ループから今回ループに
かけて排出センサ1の出力信号がハイレベルからロウレ
ベルに変化した(立下がった)ことを記憶すべく、排出
1立下変化フラグを“1”に設定し、続くステップS4
440では、この時点まで“1”に設定されていた排出
1ハイレベルフラグをリセット(“0”に設定)し、本
ルーチンを終了する。
When the processing after step S4432 is performed for the first time, the discharge 1 high level flag is set to "1".
”, and all other flags are “0”, so the judgment in step S4432 (if the discharge 1 fall change flag is “1”)
”), the next step S4434 determines (discharge 1
Whether the rising change flag is “1”), both results are “No”.
", the result of the determination in step S4436 (whether the discharge 1 high level flag is "1") is "Yes", and steps S4438 and S4440 are executed. In step S4438, the discharge from the previous loop to the current loop is In order to memorize that the output signal of the sensor 1 changes from high level to low level (falls), the discharge 1 falling change flag is set to "1", followed by step S4.
At 440, the discharge 1 high level flag, which had been set to "1" up to this point, is reset (set to "0"), and this routine ends.

【0056】更に次のループで引き続き排出センサ1の
出力信号がロウレベルのときには、前回ループのステッ
プS4438で排出1立下変化フラグが“1”に設定さ
れているので、前記ステップS4432の判定結果が“
Yes”に転じる。そして、続くステップS4442〜
S4448で、賞品球が排出センサ1内より脱したこと
を記憶すべく排出センサ1立下フラグを“1”に設定(
ステップS4442)すると共に、その値が“1”のと
きセンサ1内に賞品球があることを示す排出センサ1立
上フラグ(初期化後初めて本ステップが実行されるとき
は“0”に設定されている)を“0”にリセットし(ス
テップS4444)、続いて前記排出1立下変化フラグ
を“0”にリセットする(ステップS4446)と共に
、今回ループでの排出センサ1の出力信号がロウレベル
であることを記憶すべく排出1ハイレベルフラグを“1
”に設定して(ステップS4448)本ルーチンを終了
する。
Furthermore, when the output signal of the discharge sensor 1 is still at a low level in the next loop, since the discharge 1 fall change flag was set to "1" in step S4438 of the previous loop, the determination result in step S4432 is “
"Yes".Then, the next step S4442~
In S4448, the ejection sensor 1 fall flag is set to "1" to remember that the prize ball has escaped from the ejection sensor 1 (
Step S4442), and when the value is "1", the ejection sensor 1 start-up flag indicates that there is a prize ball in sensor 1 (when this step is executed for the first time after initialization, it is set to "0"). ) is reset to "0" (step S4444), and then the discharge 1 fall change flag is reset to "0" (step S4446), and the output signal of discharge sensor 1 in this loop is at low level. Set the emission 1 high level flag to “1” to remember something.
” (step S4448) and ends this routine.

【0057】次回以降のループでも、排出センサ1の出
力信号がロウレベルであると、排出1立下変化フラグ、
排出1立上変化フラグ、排出1ハイレベルフラグは全て
“0”、排出1ロウレベルフラグが“1”となっている
ので、前記ステップS4402,S4432,S443
4,S4436及びステップS4450(排出1ロウレ
ベルフラグが“1”でいるか否かの判定)が繰返し実行
され(このとき該ステップS4450の判定結果は“Y
es”となる)、このとき排出センサ1立下フラグは“
1”、排出センサ1立上フラグは“0”に保持される。
In the subsequent loops as well, if the output signal of the discharge sensor 1 is at a low level, the discharge 1 fall change flag,
Since the discharge 1 rise change flag and the discharge 1 high level flag are all "0" and the discharge 1 low level flag is "1", steps S4402, S4432, and S443 are performed.
4, S4436 and step S4450 (determining whether the discharge 1 low level flag is "1") are repeatedly executed (at this time, the determination result of step S4450 is "Y").
es”), at this time, the discharge sensor 1 fall flag is “
1”, and the discharge sensor 1 startup flag is held at “0”.

【0058】一方、排出センサ1の出力信号がハイレベ
ルからロウレベルに立下がった直後のループにおいて、
当該出力信号が再びハイレベルに立上がってしまった場
合(前回ループでステップS4438が実行されて排出
1立下変化フラグが“1”となり、且つ今回ループでセ
ンサ出力がハイレベルに立上がった場合)には、ステッ
プS4402の判定結果が“Yes”に転じ、更にステ
ップS4404の判定結果が“No”、ステップS44
06の判定結果が“Yes”と云う具合に判定され、ス
テップS4428にて前回ループから今回ループにかけ
て出力信号が立上がったことを記憶すべく排出1立上変
化フラグを“1”に設定すると共に、ステップS443
0にて前回ループ時に“1”に設定した排出1立下変化
フラグを“0”にリセットして本ルーチンを終了する。
On the other hand, in the loop immediately after the output signal of the discharge sensor 1 falls from high level to low level,
If the output signal rises to a high level again (step S4438 was executed in the previous loop and the discharge 1 fall change flag became "1", and the sensor output rose to a high level in the current loop) ), the determination result of step S4402 changes to "Yes", and furthermore, the determination result of step S4404 changes to "No", and step S44
06 is determined as "Yes", and in step S4428, the discharge 1 rise change flag is set to "1" to remember that the output signal rose from the previous loop to the current loop. , step S443
0, the discharge 1 fall change flag, which was set to "1" in the previous loop, is reset to "0" and this routine ends.

【0059】この結果、排出センサ1の出力信号が立下
がった後ロウレベルの状態が所定時間以上(少なくとも
本割込処理が2回行なわれる間)検知されない限り、排
出1立下フラグを“1”に設定する(賞品球がセンサ1
内より脱したことを示す)処理は行なわれないようにな
っており、排出センサ1の出力信号にノイズが発生し瞬
間的に信号が立下がってた場合等に誤って排出1立下フ
ラグが“1”に設定されないようになっている。
As a result, the discharge 1 fall flag is set to "1" unless a low level state is detected for a predetermined period of time or longer (while this interrupt processing is performed at least twice) after the output signal of the discharge sensor 1 falls. (Prize ball is sensor 1
Processing (indicating that the discharge has occurred from the inside) is not performed, and if noise occurs in the output signal of discharge sensor 1 and the signal falls momentarily, the discharge 1 falling flag may be set by mistake. It is designed not to be set to “1”.

【0060】次に、先の賞品球がセンサ1内より脱した
後、次の賞品球がセンサ1内に達した場合を考える。こ
のとき、ステップS4402の判定(センサ1の出力信
号がロウレベルであるか否かの判定)は“Yes”とな
り、前記ステップS4404の判定(排出1立上変化フ
ラグが“1”)が行なわれ、この場合判定結果は“No
”となり、ステップS4406にて排出1立下変化フラ
グが“1”であるか否かの判定が行われる。このとき該
ステップS4406の判定結果も“No”(前記ステッ
プS4446にて“0”に設定される)となってステッ
プS4408に進み、排出1ロウレベルフラグが“1”
であるか否かの判定が行なわれる。
Next, consider the case where after the previous prize ball escapes from inside the sensor 1, the next prize ball reaches inside the sensor 1. At this time, the determination in step S4402 (determination as to whether the output signal of sensor 1 is at a low level) is "Yes", and the determination in step S4404 (the discharge 1 rise change flag is "1") is performed. In this case, the judgment result is “No.
”, and it is determined in step S4406 whether or not the discharge 1 fall change flag is “1”.At this time, the determination result in step S4406 is also “No” (it is set to “0” in step S4446). ), the process advances to step S4408, and the discharge 1 low level flag is set to "1".
A determination is made as to whether or not this is the case.

【0061】この時点では排出1ロウレベルフラグは前
記ステップS4448にて“1”に設定されているので
ステップS4408の判定結果は“Yes”となり、ス
テップS4414に進んで、前回ループから今回ループ
にかけて排出センサ1の出力信号がロウレベルからハイ
レベルに変化した(立上った)ことを記憶すべく、排出
1立上変化フラグを“1”に設定し、続くステップS4
416で、この時点まで“1”に設定されていた排出1
ロウレベルフラグをリセット(“0”に設定)して、本
ルーチンを終了する。
At this point, the discharge 1 low level flag has been set to "1" in step S4448, so the determination result in step S4408 is "Yes", and the process advances to step S4414, where the discharge sensor is set from the previous loop to the current loop. In order to remember that the output signal of No. 1 has changed from a low level to a high level (has risen), the ejection 1 rise change flag is set to "1", followed by step S4.
At 416, Emission 1, which had been set to “1” up until this point,
The low level flag is reset (set to "0") and this routine ends.

【0062】更に次のループで引き続き排出センサ1の
出力信号がハイレベルのときには、前回ループのステッ
プS4414で排出1立上変化フラグが“1”に設定さ
れているので、前記ステップS4404の判定結果が“
Yes”に転じる。そして、続くステップS4418〜
S4424で、排出センサ1内に賞品球あることを記憶
すべく排出センサ1立上フラグを“1”に設定(ステッ
プS4418)すると共に、その値が“1”のときセン
サ内より賞品球が脱したことを示す排出センサ1立下フ
ラグを“0”にリセットし(ステップS4420)、続
いて前記排出1立上変化フラグを“0”にリセットする
(ステップS4422)と共に、今回ループでの排出セ
ンサ1の出力信号がハイレベルであることを記憶すべく
排出1ハイレベルフラグを“1”に設定して(ステップ
S4424)本ルーチンを終了する。
Furthermore, when the output signal of the discharge sensor 1 is still at a high level in the next loop, since the discharge 1 rise change flag was set to "1" in step S4414 of the previous loop, the determination result of step S4404 is but"
"Yes".Then, the next step S4418~
In S4424, the discharge sensor 1 startup flag is set to "1" to remember that there is a prize ball in the discharge sensor 1 (step S4418), and when the value is "1", the prize ball is released from the sensor. The discharge sensor 1 fall flag indicating that the discharge sensor 1 has changed is reset to "0" (step S4420), and the discharge sensor 1 rise change flag is then reset to "0" (step S4422). The discharge 1 high level flag is set to "1" to remember that the output signal of No. 1 is at a high level (step S4424), and this routine ends.

【0063】その後、排出センサ1の出力信号がハイレ
ベルである限り、前記ステップS4402,S4404
,S4406,S4408,S4410が繰返し実行さ
れることになり、このとき、排出1立上フラグは“1”
、排出1立下フラグは“0”に保持される。
Thereafter, as long as the output signal of the discharge sensor 1 is at a high level, steps S4402 and S4404 are performed.
, S4406, S4408, and S4410 are executed repeatedly, and at this time, the discharge 1 startup flag is set to "1".
, the discharge 1 falling flag is held at "0".

【0064】一方、排出センサ1の出力信号がロウレベ
ルからハイレベルに立上がった直後のループにおいて、
該出力信号がロウレベルに立下がってしまった場合(前
回ループでステップS4414が実行されて排出1立上
変化フラグが“1”となり、且つ今回ループの出力信号
がロウレベルの場合)には、ステップS4402の判定
結果が“No”、ステップS4432の判定結果が“N
o”、ステップS4434の判定結果が“Yes”と云
う具合に判定され、ステップS4452にて前回ループ
から今回ループにかけて出力信号が立下がったことを記
憶すべく排出1立下変化フラグを“1”に設定すると共
に、ステップS4454にて前回ループ時に“1”に設
定された排出1立上変化フラグを“0”にリセットして
本ルーチンを終了する。以上説明したように、排出セン
サ1の出力信号が立上がった後、ハイレベルの状態が所
定時間以上(少なくとも本割込処理が2回行なわれる間
)検知されない限り、排出1立上フラグを“1”に設定
する(排出センサ1内に賞品球があることを示す)処理
は行なわれないようになっており、排出センサ1の出力
信号にノイズが発生した場合等に誤って排出1立上フラ
グが“1”に設定されないようになっている。
On the other hand, in the loop immediately after the output signal of the discharge sensor 1 rises from the low level to the high level,
If the output signal has fallen to a low level (step S4414 was executed in the previous loop and the discharge 1 rise change flag became "1", and the output signal of the current loop is at a low level), step S4402 is executed. The determination result of step S4432 is "No", and the determination result of step S4432 is "N".
o", the determination result in step S4434 is "Yes", and in step S4452, the discharge 1 fall change flag is set to "1" to remember that the output signal fell from the previous loop to the current loop. At the same time, in step S4454, the discharge 1 rise change flag, which was set to "1" during the previous loop, is reset to "0" and this routine ends.As explained above, the output of the discharge sensor 1 After the signal rises, unless a high-level state is detected for a predetermined period of time or longer (at least while this interrupt processing is performed twice), the discharge 1 rise flag is set to "1" (the discharge sensor 1 is Processing (indicating that there is a prize ball) is not performed, so that the ejection 1 start-up flag is not set to "1" by mistake when noise occurs in the output signal of ejection sensor 1. ing.

【0065】以上のルーチンを実行することによって、
排出センサ1の出力信号が立ち上がった後、所定期間以
上(少なくとも割込処理が2回行なわれる間)その状態
が維持されたときにのみ排出センサ1立上フラグが“1
”に設定され、従って該立上フラグは賞品球が排出セン
サ1内に達したことを示すようになる。反対に排出セン
サ1の出力信号が立ち下がった後、所定期間以上(少な
くとも割込処理が2回行なわれる間)その状態が維持さ
れたときにのみ排出センサ1立下フラグが“1”に設定
され、従って該立下フラグは賞品球が排出センサ1内よ
り脱したことを示すようになる。この排出センサ1立上
フラグ及び排出センサ1立下フラグは、バックグランド
処理(メインルーチン)の中の交互排出処理、又は併用
排出処理(後述の図38、図39)にて参照される。
By executing the above routine,
After the output signal of the discharge sensor 1 rises, the discharge sensor 1 rise flag becomes "1" only when that state is maintained for a predetermined period or longer (while the interrupt processing is performed at least twice).
”, and therefore, the rise flag indicates that the prize ball has reached the ejection sensor 1. Conversely, after the output signal of the ejection sensor 1 falls, the rise flag is set to is carried out twice), the ejection sensor 1 fall flag is set to "1" only when this state is maintained, and therefore the ejection sensor 1 fall flag indicates that the prize ball has escaped from the ejection sensor 1. The discharge sensor 1 rise flag and discharge sensor 1 fall flag are referenced in the alternate discharge process or combined discharge process (see FIGS. 38 and 39 described later) in the background process (main routine). Ru.

【0066】図21は割込処理(図16)の前記ステッ
プS46にて行なわれる排出センサ2の入力処理ルーチ
ンのフローチャートである。本ルーチンは排出センサ7
30bの状態を検出するためものであり、上述した排出
センサ1の入力処理ルーチンと同一の手順にて行なわれ
る。尚、本ルーチンでは、上述の排出センサ1の入力処
理と同様、該センサ730b(以下排出センサ2と記す
)の出力信号がロウレベルからハイレベルに立上がった
とき排出センサ2立上フラグを“1”に設定して賞品球
が該センサ内に達したことを記憶し、一方、ハイレベル
からロウレベルに立下がったとき排出センサ2立下フラ
グを“1”に設定して賞品球が該センサ内より脱したこ
とを記憶するようにしている。
FIG. 21 is a flowchart of the input processing routine for the discharge sensor 2 carried out in step S46 of the interrupt processing (FIG. 16). This routine
This is to detect the state of the discharge sensor 30b, and is performed in the same procedure as the input processing routine of the discharge sensor 1 described above. In this routine, similarly to the input processing of the exhaust sensor 1 described above, when the output signal of the sensor 730b (hereinafter referred to as the exhaust sensor 2) rises from the low level to the high level, the exhaust sensor 2 rise flag is set to "1". ” to memorize that the prize ball has reached the sensor, and on the other hand, set the ejection sensor 2 falling flag to “1” when the prize ball reaches the sensor when it falls from the high level to the low level. I try to remember things that I escaped more easily.

【0067】具体的には、本ルーチンが開始されると、
先ずステップS4602にて該センサ2の出力信号がハ
イレベル(排出センサ2出力=“1”)であるか否かが
判定される。今仮りに賞品球の排出が行われず1つの賞
品球がセンサ2内に留まっている状態を考える。このと
きステップS4602の判定結果は“Yes”となって
ステップS4604以降が実行される。
Specifically, when this routine is started,
First, in step S4602, it is determined whether the output signal of the sensor 2 is at a high level (emission sensor 2 output = "1"). Let us now consider a situation in which one prize ball remains within the sensor 2 without being ejected. At this time, the determination result in step S4602 becomes "Yes" and steps S4604 and subsequent steps are executed.

【0068】ステップS4604では排出2立上変化フ
ラグが“1”であるか否かが、またステップS4606
では排出2立下変化フラグが“1”であるか否かが、ス
テップS4608では排出2ロウレベルフラグが“1”
であるか否かが、次いでステップS4610では排出2
ハイレベルフラグが“1”であるか否かが夫々判定され
る。
In step S4604, whether the discharge 2 rise change flag is "1" or not is determined in step S4606.
In step S4608, the discharge 2 low level flag is determined to be "1".
Then, in step S4610, the discharge 2
It is determined whether the high level flag is "1" or not.

【0069】ところでCPU610の初期化直後はすべ
てのフラグが“0”に設定されているため、ステップS
4604〜S4610の判定結果はすべて“No”とな
り、ステップS4612にて、今回ループで排出センサ
2の出力信号がハイレベルであったことを記憶すべく排
出2ハイレベルフラグを“1”に設定して本ルーチンを
終了する。以後のループでは排出2ハイレベルフラグが
“1”に設定されているので、排出センサ2の出力信号
がハイレベルの状態を保持する限りステップS4602
,S4604,S4606,S4608,S4610が
繰返し実行されることになる。その後、賞品球の排出が
開始され、それまでセンサ2内に留まっていた賞品球が
排出センサ2内より外側に移動してセンサ2内より脱す
ると、排出センサ2の出力信号がロウレベルに立下り、
前記ステップS4602の判定結果が“No”となって
ステップS4632以降が実行される。
By the way, immediately after the CPU 610 is initialized, all flags are set to "0", so step S
All the determination results from 4604 to S4610 are "No", and in step S4612, the discharge 2 high level flag is set to "1" to remember that the output signal of the discharge sensor 2 was high level in this loop. This routine ends. In the subsequent loop, the discharge 2 high level flag is set to "1", so as long as the output signal of the discharge sensor 2 remains high level, step S4602
, S4604, S4606, S4608, and S4610 are repeatedly executed. After that, the ejection of the prize ball starts, and when the prize ball that had been staying in the sensor 2 moves to the outside and escapes from the sensor 2, the output signal of the ejection sensor 2 falls to a low level. ,
The determination result in step S4602 is "No" and steps S4632 and subsequent steps are executed.

【0070】ステップS4632以降の処理が最初に行
なわれるときには、前記排出2ハイレベルフラグは“1
”、それ以外のフラグはすべて“0”であるため、該ス
テップS4632の判定(排出2立下変化フラグが“1
”であるか)および次のステップS4634の判定(排
出2立上変化フラグが“1”であるか)の結果が、共に
“No”、続くステップS4636(排出2ハイレベル
フラグが“1”であるか)の判定の結果が“Yes”と
なってステップS4638,S4640が実行される。 ステップS4638では、前回ループから今回ループに
かけて排出センサ2の出力信号がハイレベルからロウレ
ベルに変化した(立下がった)ことを記憶すべく、排出
2立下変化フラグを“1”に設定し、続くステップS4
640では、この時点まで“1”に設定されていた排出
2ハイレベルフラグをリセット(“0”に設定)し、本
ルーチンを終了する。
When the processing after step S4632 is performed for the first time, the discharge 2 high level flag is set to "1".
”, and all other flags are “0”, so the determination in step S4632 (emission 2 falling change flag is “1”)
”) and the next step S4634 (whether the discharge 2 rise change flag is “1”) are both “No”, and the following step S4636 (the discharge 2 high level flag is “1”?) is “No”. The result of the determination is "Yes" and steps S4638 and S4640 are executed. In step S4638, the output signal of the discharge sensor 2 has changed from high level to low level (falling) from the previous loop to the current loop. In order to remember this, the discharge 2 fall change flag is set to "1", and the subsequent step S4
At 640, the discharge 2 high level flag, which had been set to "1" up to this point, is reset (set to "0"), and this routine ends.

【0071】更に次のループで引き続き排出センサ2の
出力信号がロウレベルのときには、前回ループのステッ
プS4638で排出2立下変化フラグが“1”に設定さ
れているので、前記ステップS4632の判定結果が“
Yes”に転じる。そして、続くステップS4642〜
S4648で、賞品球が排出センサ2内より脱したこと
を記憶すべく排出センサ2立下フラグを“1”に設定(
ステップS4642)すると共に、その値が“1”のと
きセンサ2内に賞品球があることを示す排出センサ2立
上フラグ(初期化後初めて本ステップが実行されるとき
は“0”に設定されている)を“0”にリセットし(ス
テップS4644)、続いて前記排出2立下変化フラグ
を“0”にリセットする(ステップS4646)と共に
、今回ループでの排出センサ2の出力信号がロウレベル
であることを記憶すべく排出2ハイレベルフラグを“1
”に設定して(ステップS4648)本ルーチンを終了
する。
Furthermore, when the output signal of the discharge sensor 2 is still at a low level in the next loop, the discharge 2 fall change flag was set to "1" in step S4638 of the previous loop, so the determination result in step S4632 is “
"Yes".Then, the next step S4642~
In S4648, the ejection sensor 2 fall flag is set to "1" to remember that the prize ball has escaped from the ejection sensor 2 (
Step S4642), and when the value is "1", the discharge sensor 2 start-up flag indicates that there is a prize ball in the sensor 2 (when this step is executed for the first time after initialization, it is set to "0"). ) is reset to "0" (step S4644), and then the discharge 2 falling change flag is reset to "0" (step S4646), and the output signal of the discharge sensor 2 in this loop is at low level. Set the emission 2 high level flag to “1” to remember something.
” (step S4648) and ends this routine.

【0072】次回以降のループでも、排出センサ2の出
力信号がロウレベルであると、排出2立下変化フラグ、
排出2立上変化フラグ、排出2ハイレベルフラグは全て
“0”、排出2ロウレベルフラグが“1”となっている
ので、前記ステップS4602,S4632,S463
4,S4636及びステップS4650(排出2ロウレ
ベルフラグが“1”でいるか否かの判定)が繰返し実行
され(このとき該ステップS4650の判定結果は“Y
es”となる)、このとき排出センサ2立下フラグは“
1”、排出センサ2立上フラグは“0”に保持される。
In the next and subsequent loops, if the output signal of the discharge sensor 2 is at a low level, the discharge 2 fall change flag,
Since the discharge 2 rise change flag and the discharge 2 high level flag are all "0" and the discharge 2 low level flag is "1", steps S4602, S4632, and S463 are performed.
4, S4636 and step S4650 (determining whether the discharge 2 low level flag is "1") are repeatedly executed (at this time, the determination result of step S4650 is "Y").
es”), at this time, the discharge sensor 2 fall flag is “
1", and the discharge sensor 2 startup flag is held at "0".

【0073】一方、排出センサ2の出力信号がハイレベ
ルからロウレベルに立下がった直後のループにおいて、
当該出力信号が再びハイレベルに立上がってしまった場
合(前回ループでステップS4638が実行されて排出
2立下変化フラグが“1”となり、且つ今回ループでセ
ンサ出力がハイレベルに立上がった場合)には、ステッ
プS4602の判定結果が“Yes”に転じ、更にステ
ップS4604の判定結果が“No”、ステップS46
06の判定結果が“Yes”と云う具合に判定され、ス
テップS4628にて前回ループから今回ループにかけ
て出力信号が立上がったことを記憶すべく排出2立上変
化フラグを“1”に設定すると共に、ステップS463
0にて前回ループ時に“1”に設定した排出2立下変化
フラグを“0”にリセットして本ルーチンを終了する。 この結果、排出センサ2の出力信号が立下がった後ロウ
レベルの状態が所定時間以上(少なくとも本割込処理が
2回行なわれる間)検知されない限り、排出2立下フラ
グを“1”に設定する(賞品球がセンサ2内より脱した
ことを示す)処理は行なわれないようになっており、排
出センサ2の出力信号にノイズが発生し瞬間的に信号が
立下った場合等誤って排出2立下フラグが“1”に設定
されないようになっている。
On the other hand, in the loop immediately after the output signal of the discharge sensor 2 falls from high level to low level,
If the output signal rises to a high level again (step S4638 was executed in the previous loop and the discharge 2 fall change flag became "1", and the sensor output rose to a high level in the current loop) ), the determination result in step S4602 changes to "Yes", and furthermore, the determination result in step S4604 changes to "No", and step S46
06 is determined as "Yes", and in step S4628, the discharge 2 rise change flag is set to "1" to remember that the output signal rose from the previous loop to the current loop. , step S463
0, the discharge 2 fall change flag, which was set to "1" in the previous loop, is reset to "0" and this routine ends. As a result, the discharge 2 fall flag is set to "1" unless a low level state is detected for a predetermined period of time or longer (at least while this interrupt processing is performed twice) after the output signal of the discharge sensor 2 falls. The process (indicating that the prize ball has escaped from inside the sensor 2) is not performed, so if noise occurs in the output signal of the ejection sensor 2 and the signal drops momentarily, the ejection 2 The falling flag is not set to "1".

【0074】次に、先の賞品球がセンサ2内より脱した
後、次の賞品球がセンサ2内に達した場合を考える。こ
のとき、ステップS4602の判定(該センサ2の出力
信号がロウレベルであるか否かの判定)は“Yes”と
なり前記ステップS4604の判定(排出2立上変化フ
ラグが“1”か)が行なわれ、この場合判定結果は“N
o”となり、ステップS4606にて排出2立下変化フ
ラグが“1”であるか否かの判定が行われる。このとき
該ステップS4606の判定結果も“No”(前記ステ
ップS4646にて“0”に設定される)となってステ
ップS4608に進み、排出2ロウレベルフラグが“1
”であるか否かの判定が行なわれる。この時点では排出
2ロウレベルフラグは前記ステップS4648にて“1
”に設定されているのでステップS4608の判定結果
は“Yes”となり、ステップS4614に進んで、前
回ループから今回ループにかけて排出センサ2の出力信
号がロウレベルからハイレベルに変化した(立上った)
ことを記憶すべく、排出2立上変化フラグを“1”に設
定し、続くステップS4616で、この時点まで“1”
に設定されていた排出2ロウレベルフラグをリセット(
“0”に設定)して、本ルーチンを終了する。
Next, consider the case where after the previous prize ball escapes from inside the sensor 2, the next prize ball reaches inside the sensor 2. At this time, the determination in step S4602 (determination as to whether the output signal of the sensor 2 is at a low level) is "Yes", and the determination in step S4604 (as to whether the discharge 2 rise change flag is "1") is performed. , in this case the judgment result is “N
o", and it is determined in step S4606 whether or not the discharge 2 falling change flag is "1". At this time, the determination result in step S4606 is also "No"("0" in step S4646). ), the process advances to step S4608, and the discharge 2 low level flag is set to "1".
”. At this point, the discharge 2 low level flag is set to “1” in step S4648.
”, the determination result in step S4608 is “Yes”, and the process advances to step S4614, where the output signal of the discharge sensor 2 changes from low level to high level (rises) from the previous loop to the current loop.
In order to remember this, the discharge 2 rise change flag is set to "1", and in the subsequent step S4616, the discharge 2 rise change flag is set to "1" until this point.
Reset the discharge 2 low level flag that was set to (
(set to “0”) and end this routine.

【0075】更に次のループで引き続き排出センサ2の
出力信号がハイレベルのときには、前回ループのステッ
プS4614で排出2立上変化フラグが“1”に設定さ
れているので、前記ステップS4604の判定結果が“
Yes”に転じる。そして、続くステップS4618〜
S4624で、排出センサ2内に賞品球あることを記憶
すべく排出センサ2立上フラグを“1”に設定(ステッ
プS4618)すると共に、その値が“1”のときセン
サ内より賞品球が脱したことを示す排出センサ2立下フ
ラグを“0”にリセットし(ステップS4620)、続
いて前記排出2立上変化フラグを“0”にリセットする
(ステップS4622)と共に、今回ループでの排出セ
ンサ2の出力信号がハイレベルであることを記憶すべく
排出2ハイレベルフラグを“1”に設定して(ステップ
S4624)本ルーチンを終了する。その後、排出セン
サ2の出力信号がハイレベルである限り、前記ステップ
S4602,S4604,S4606,S4608,S
4610が繰返し実行されることになり、このとき、排
出2立上フラグは“1”、排出2立下フラグは“0”に
保持される。
Furthermore, when the output signal of the discharge sensor 2 is still at a high level in the next loop, since the discharge 2 rise change flag was set to "1" in step S4614 of the previous loop, the determination result of step S4604 is but"
"Yes".Then, the next step S4618~
In S4624, the ejection sensor 2 startup flag is set to "1" to remember that there is a prize ball in the ejection sensor 2 (step S4618), and when the value is "1", the prize ball is ejected from the sensor. The discharge sensor 2 fall flag indicating that the discharge sensor 2 has changed is reset to "0" (step S4620), and the discharge sensor 2 rise change flag is then reset to "0" (step S4622). The discharge 2 high level flag is set to "1" to remember that the output signal of No. 2 is at a high level (step S4624), and this routine ends. Thereafter, as long as the output signal of the discharge sensor 2 is at a high level, steps S4602, S4604, S4606, S4608, S
4610 is repeatedly executed, and at this time, the discharge 2 rise flag is held at "1" and the discharge 2 fall flag is held at "0".

【0076】一方、排出センサ2の出力信号がロウレベ
ルからハイレベルに立上がった直後のループにおいて、
該出力信号がロウレベルに立下がってしまった場合(前
回ループでステップS4614が実行されて排出2立上
変化フラグが“1”となり、且つ今回ループの出力信号
がロウレベルの場合)には、ステップS4602の判定
結果が“No”、ステップS4632の判定結果が“N
o”、ステップS4634の判定結果が“Yes”と云
う具合に判定され、ステップS4652にて前回ループ
から今回ループにかけて出力信号が立下がったことを記
憶すべく排出2立下変化フラグを“1”に設定すると共
に、ステップS4654にて前回ループ時に“1”に設
定された排出2立上変化フラグを“0”にリセットして
本ルーチンを終了する。
On the other hand, in the loop immediately after the output signal of the discharge sensor 2 rises from the low level to the high level,
If the output signal falls to a low level (step S4614 was executed in the previous loop and the discharge 2 rising change flag became "1", and the output signal of the current loop was at a low level), the process proceeds to step S4602. The determination result of step S4632 is “No”, and the determination result of step S4632 is “N”.
o”, the determination result in step S4634 is “Yes”, and in step S4652, the discharge 2 fall change flag is set to “1” to remember that the output signal fell from the previous loop to the current loop. At the same time, in step S4654, the discharge 2 rise change flag, which was set to "1" in the previous loop, is reset to "0", and this routine ends.

【0077】以上のように、排出センサ2の出力信号が
立上がった後、ハイレベルの状態が所定時間以上(少な
くとも本割込処理が2回行なわれる間)検知されない限
り、排出2立上フラグを“1”に設定する(排出センサ
2内に賞品球があることを示す)処理は行なわれないよ
うになっており、排出センサ2の出力信号にノイズが発
生した場合等に誤って排出2立上フラグが“1”に設定
されないようになっている。以上のルーチンを実行する
ことによって、排出センサ2の出力信号が立ち上がった
後、所定期間以上(少なくとも割込処理が2回行なわれ
る間)その状態が維持されたときにのみ排出センサ2立
上フラグが“1”に設定され、従って該立上フラグは賞
品球が排出センサ2内に達したことを示すようになる。 反対に排出センサ2の出力信号が立ち下がった後、所定
期間以上(少なくとも割込処理が2回行なわれる間)そ
の状態が維持されたときにのみ排出センサ2立下フラグ
が“1”に設定され、従って該立下フラグは賞品球が排
出センサ2内より脱したことを示すようになる。この排
出センサ2立上フラグ及び排出センサ2立下フラグは、
バックグランド処理(メインルーチン)の中の交互排出
処理、又は併用排出処理(後述の図38、図39)にて
用いられる。
As described above, after the output signal of the discharge sensor 2 rises, unless a high level state is detected for a predetermined period of time or longer (while this interrupt processing is performed at least twice), the discharge 2 rise flag is The process of setting the prize ball to "1" (indicating that there is a prize ball in the ejection sensor 2) is not performed, and if noise occurs in the output signal of the ejection sensor 2, the ejection 2 The start-up flag is not set to "1". By executing the above routine, after the output signal of the exhaust sensor 2 rises, the exhaust sensor 2 rise flag is set only when that state is maintained for a predetermined period or longer (while the interrupt processing is performed at least twice). is set to "1", so that the rise flag indicates that the prize ball has reached the ejection sensor 2. On the contrary, after the output signal of the discharge sensor 2 falls, the discharge sensor 2 fall flag is set to "1" only when that state is maintained for a predetermined period or longer (while the interrupt processing is performed at least twice). Therefore, the fall flag indicates that the prize ball has escaped from the ejection sensor 2. The discharge sensor 2 rising flag and the discharge sensor 2 falling flag are
It is used in alternate discharge processing or combined discharge processing (described later in FIGS. 38 and 39) in the background process (main routine).

【0078】図22は割込処理(図16)のステップS
48にて行なわれる排出センサ1のレベル入力処理のル
ーチンを示すフローチャートである。このレベル入力処
理は、排出センサ1の出力信号がハイレベル(センサ1
が賞品球を検知している状態)である期間が所定期間以
上継続しているか否かを判断するためのルーチンであり
、賞品球が無い状態から有る状態へ変化した後、第1の
所定期間(50msec)が経過したときに排出センサ
1球有フラグを“1”に設定してこれを記憶しておき、
上記変化の後第2の所定期間(2sec)が経過したと
きに排出1エラー解除フラグを“1”に設定することに
よってこれを記憶しておくものである。これら2つのフ
ラグは詳細は後述する排出装置不正解除処理(図31)
、賞球開始処理(図32)、玉貸し開始処理(図41)
、排出エラー回復処理(図40)にて用いられる。
FIG. 22 shows step S of interrupt processing (FIG. 16).
48 is a flowchart showing a routine for level input processing of the discharge sensor 1 performed in step 48. In this level input process, the output signal of the discharge sensor 1 is at a high level (sensor 1
This is a routine for determining whether a period in which the player is detecting a prize ball continues for a predetermined period or longer, and after the state changes from the state where there is no prize ball to the state where there is a prize ball, the first predetermined period (50 msec), set the discharge sensor 1 bulb presence flag to "1" and memorize this,
This is stored by setting the discharge 1 error release flag to "1" when a second predetermined period (2 seconds) has elapsed after the above change. These two flags are used in the ejection device unauthorized release process (Figure 31), which will be described in detail later.
, prize ball start processing (Figure 32), ball lending start process (Figure 41)
, used in the discharge error recovery process (FIG. 40).

【0079】本ルーチンが開始されると、ステップS7
200にて排出センサ1の出力信号がハイレベルである
(排出センサ1出力=“1”)か否かが判別される。こ
の判別結果が“No”、即ち出力信号がロウレベルであ
るときには、排出1球有監視フラグを“0”(ステップ
S7202)、前述した排出センサ1球有フラグを“0
”(ステップS7204)、排出1エラー監視フラグを
“0”(ステップS7206)、前述した排出1エラー
解除フラグを“0”(ステップS7208)に夫々設定
して、本ルーチンを終了する。ここで排出1球有監視フ
ラグ及び排出1エラー監視フラグは共に、排出センサ1
の出力信号がハイレベルであると判別されたループにお
いて、そのループがロウレベルからハイレベルへの立上
り直後のループであるか否かを判別する(後述のステッ
プS7212及びステップS7224)ために用いられ
るものである。
[0079] When this routine is started, step S7
At step 200, it is determined whether the output signal of the discharge sensor 1 is at a high level (discharge sensor 1 output = "1"). When the determination result is "No", that is, the output signal is at a low level, the discharge one ball presence monitoring flag is set to "0" (step S7202), and the above-mentioned discharge sensor one ball presence flag is set to "0".
” (step S7204), the discharge 1 error monitoring flag is set to “0” (step S7206), and the aforementioned discharge 1 error cancellation flag is set to “0” (step S7208), and this routine ends. The 1 ball presence monitoring flag and the discharge 1 error monitoring flag are both discharge sensor 1.
In a loop whose output signal is determined to be at a high level, this is used to determine whether or not the loop is a loop immediately after rising from a low level to a high level (steps S7212 and S7224 described later). It is.

【0080】その後、前記排出センサ1の出力信号がロ
ウレベルからハイレベルに変化すると、その直後のルー
プでは前記ステップS7200の判別結果が“Yes”
となり、続くステップS7210で排出センサ1球有フ
ラグが“1”であるか否かが、更に、続くステップS7
212で排出1球有監視フラグが“1”であるか否かが
判別される。この場合、判別結果は共に“No”となり
、続くステップS7214で排出1球有監視フラグを“
1”に設定し、ステップS7216で排出1球有タイマ
を第1の所定期間(50msec)に設定してステップ
S7222に進む。
After that, when the output signal of the discharge sensor 1 changes from low level to high level, the determination result of step S7200 becomes "Yes" in the loop immediately after that.
Then, in the subsequent step S7210, it is determined whether the discharge sensor 1 bulb presence flag is "1" or not.
At step 212, it is determined whether or not the discharge one ball presence monitoring flag is "1". In this case, the determination results are both "No", and in the following step S7214, the one discharged ball presence monitoring flag is set to "
1'', and in step S7216, the ejected one-ball timer is set to the first predetermined period (50 msec), and the process advances to step S7222.

【0081】ステップS7222では排出1エラー解除
フラグが“1”であるか否かが判別される。この場合(
センサ1の出力信号がロウレベルからハイレベルに変化
した直後)判別結果は“No”となり、続くステップS
7224にて排出1エラー監視フラグが“1”であるか
否かが判別される。今回ループではこの判別結果も“N
o”となるので、ステップS7226で排出1エラー監
視フラグを“1”に設定し、続くステップS7228で
排出1エラータイマを第2の所定期間(2sec)に設
定して本ルーチンを終了する。
In step S7222, it is determined whether the discharge 1 error release flag is "1". in this case(
Immediately after the output signal of sensor 1 changes from low level to high level) the determination result is "No", and the following step S
At 7224, it is determined whether the discharge 1 error monitoring flag is "1". In this loop, this discrimination result is also “N”
o", the discharge 1 error monitoring flag is set to "1" in step S7226, and the discharge 1 error timer is set to a second predetermined period (2 sec) in the subsequent step S7228, and this routine ends.

【0082】次のループで排出センサ1の出力信号が依
然ハイレベルを維持していると、前記ステップS720
0の判別結果が“Yes”、ステップS7210の判別
結果が“No”、ステップS7212の判別結果が“Y
es”となって、ステップS7218に進む。ステップ
S7218では前記ステップS7216でセットされた
球有タイマがタイムアップしたか否かが判別され、この
判別結果が“No”のとき(出力信号がハイレベルに変
化してから未だ第1の所定期間が経過していないとき)
には、続くステップS7220をスキップして、前記ス
テップS7222に進む。今回ループでは、このステッ
プS7222の判別結果が“No”、続くステップS7
224の判別結果が“Yes”となって、ステップS7
230に進む。ステップS7230では前記ステップS
7228でセットされた排出1エラータイマがタイムア
ップしたか否かが判別され、この判別結果が“No”の
とき(出力信号がハイレベルに変化してから、未だ第2
の所定期間が経過していないとき)には、続くステップ
S7232をスキップして、本ルーチンを終了する。
[0082] If the output signal of the discharge sensor 1 is still maintained at a high level in the next loop, step S720 is performed.
The determination result of 0 is "Yes", the determination result of step S7210 is "No", and the determination result of step S7212 is "Y".
es", and the process proceeds to step S7218. In step S7218, it is determined whether or not the ball presence timer set in step S7216 has timed up. If the result of this determination is "No" (the output signal is at a high level) (When the first predetermined period has not yet passed since the change to
If so, skip the following step S7220 and proceed to step S7222. In this loop, the determination result of this step S7222 is "No", and the following step S7
The determination result of 224 is “Yes”, and the process proceeds to step S7.
Proceed to 230. In step S7230, the step S
It is determined whether or not the discharge 1 error timer set in 7228 has timed up, and if the determination result is "No" (after the output signal changes to high level, the second
(when the predetermined period of time has not elapsed), the following step S7232 is skipped and this routine is ended.

【0083】更に次回以降のループにおいて、排出セン
サ1の出力信号がハイレベルである限り、ステップS7
200,S7210,S7212,S7218及びステ
ップS7222以降が繰返し実行され、ステップS72
18の判別結果が“No”から“Yes”に転じたとき
(上記第1の所定期間経過直後)、ステップS7220
にて前述した排出センサ1球有フラグが“1”に設定さ
れ、以後ステップS7200,S7210及びステップ
S7222以降が繰返し実行されることになる。
Furthermore, in the next and subsequent loops, as long as the output signal of the discharge sensor 1 is at a high level, step S7 is executed.
200, S7210, S7212, S7218 and steps S7222 and subsequent steps are repeatedly executed, and step S72
When the determination result of No. 18 changes from “No” to “Yes” (immediately after the first predetermined period has elapsed), step S7220
In step S7200, step S7210, step S7222 and subsequent steps are repeatedly executed.

【0084】又、ステップS7222以降の処理に関し
ても、排出センサ1の出力信号がハイレベルである限り
ステップS7222,S7224,S7230が繰返し
実行され、ステップS7230の判別結果が“No”か
ら“Yes”に転じたとき(上記第2の所定期間経過直
後)、ステップS7232にて前述した排出1エラー解
除フラグが“1”に設定され、以後ステップS7200
,S7210,S7222(排出1エラー解除フラグが
“1”のときには、当然に、排出センサ1球有フラグは
“1”となっている)が繰返し実行される。そして、排
出センサ1の出力信号が一度でもロウレベルに変化した
ときは、ステップS7202〜S7208にて各フラグ
が“0”にリセットされるため、その直後にハイレベル
に戻っても再びステップS7210以降の処理が初めか
ら開始されることになる。
Regarding the processing after step S7222, steps S7222, S7224, and S7230 are repeatedly executed as long as the output signal of the discharge sensor 1 is at a high level, and the determination result in step S7230 changes from "No" to "Yes". When the change occurs (immediately after the second predetermined period has elapsed), the discharge 1 error cancellation flag described above is set to "1" in step S7232, and thereafter in step S7200.
, S7210, and S7222 (when the discharge 1 error release flag is "1", naturally the discharge sensor 1 ball presence flag is "1") are repeatedly executed. When the output signal of the discharge sensor 1 changes to low level even once, each flag is reset to "0" in steps S7202 to S7208. Processing will start from the beginning.

【0085】図23は割込処理(図16)のステップS
50にて行なわれる排出センサ2のレベル入力処理のル
ーチンを示すフローチャートであり、本ルーチンは前述
の排出センサ1のレベル入力処理と同一の手順にて行な
われる。このレベル入力処理は、排出センサ2の出力信
号がハイレベル(センサ2が賞品球を検知している状態
)である期間が所定期間以上継続しているか否かを判断
するためのルーチンであり、賞品球が無い状態から有る
状態に変化した後、第1の所定期間(50msec)が
経過したときに排出センサ2球有フラグを“1”に設定
してこれを記憶しておき、上記変化の後第2の所定期間
(2sec)が経過したときに排出2エラー解除フラグ
を“1”に設定することによってこれを記憶しておくも
のである。これら2つのフラグも詳細は後述する賞球開
始処理(図32)、排出エラー回復処理(図40)等に
て用いられる。
FIG. 23 shows step S of interrupt processing (FIG. 16).
50 is a flowchart showing a routine of level input processing for the exhaust sensor 2 performed in step 50, and this routine is performed in the same procedure as the level input processing for the exhaust sensor 1 described above. This level input processing is a routine for determining whether the period in which the output signal of the discharge sensor 2 is at a high level (the state in which the sensor 2 is detecting the prize ball) continues for a predetermined period or more, After the state changes from the state where there is no prize ball to the state where there is a prize ball, when the first predetermined period (50 msec) has elapsed, the discharge sensor 2 ball presence flag is set to "1" and this is stored, and the above change is performed. This is stored by setting the discharge 2 error release flag to "1" when the second predetermined period (2 seconds) has elapsed. These two flags are also used in prize ball start processing (FIG. 32), discharge error recovery processing (FIG. 40), etc., which will be described in detail later.

【0086】本ルーチンが開始されると、先ずステップ
S7400にて排出センサ2の出力信号がハイレベルで
ある(排出センサ2出力=“1”)か否かが判別される
。この判別結果が“No”、即ち出力信号がロウレベル
であるときには、排出2球有監視フラグを“0”(ステ
ップS7402)、前述した排出センサ2球有フラグを
“0”(ステップS7404)、排出2エラー監視フラ
グを“0”(ステップS7406)、前述した排出2エ
ラー解除フラグを“0”(ステップS7408)に夫々
設定して、本ルーチンを終了する。
When this routine is started, first, in step S7400, it is determined whether the output signal of the exhaust sensor 2 is at a high level (the output of the exhaust sensor 2 = "1"). When the determination result is "No", that is, the output signal is at a low level, the ejected 2-ball presence monitoring flag is set to "0" (step S7402), the above-mentioned ejection sensor 2-ball presence flag is set to "0" (step S7404), and the ejected 2-ball presence monitoring flag is set to "0" (step S7404). 2 error monitoring flag is set to "0" (step S7406), and the above-mentioned discharge 2 error cancellation flag is set to "0" (step S7408), and this routine ends.

【0087】ここで排出2球有監視フラグ及び排出2エ
ラー監視フラグは共に、排出センサ2の出力信号がハイ
レベルであると判別されたループにおいて、そのループ
がロウレベルからハイレベルへの立上り直後のループで
あるか否かを判別する(後述のステップS7412及び
ステップS7424)ために用いられるものである。そ
の後、前記排出センサ2の出力信号がロウレベルからハ
イレベルに変化すると、その直後のループでは前記ステ
ップS7400の判別結果が“Yes”となり、続くス
テップS7410で排出センサ2球有フラグが“1”で
あるか否かが、更に、続くステップS7412で排出2
球有監視フラグが“1”であるか否かが判別される。こ
の場合、判別結果は共に“No”となり、続くステップ
S7414で排出2球有監視フラグを“1”に設定し、
ステップS7416で排出2球有タイマを第1の所定期
間(50msec)に設定してステップS7422に進
む。
Here, both the ejection 2 bulb presence monitoring flag and the ejection 2 error monitoring flag are set when the output signal of the ejection sensor 2 is determined to be at a high level, immediately after the loop rises from a low level to a high level. This is used to determine whether it is a loop (steps S7412 and S7424, which will be described later). Thereafter, when the output signal of the discharge sensor 2 changes from low level to high level, in the loop immediately after that, the determination result in step S7400 becomes "Yes", and in the subsequent step S7410, the discharge sensor 2 ball presence flag is set to "1". Further, in the following step S7412, whether or not there is a discharge 2
It is determined whether the ball presence monitoring flag is "1". In this case, the determination results are both "No", and in the subsequent step S7414, the two discharged balls presence monitoring flag is set to "1",
In step S7416, the timer with two ejected balls is set to the first predetermined period (50 msec), and the process advances to step S7422.

【0088】ステップS7422では排出2エラー解除
フラグが“1”であるか否かが判別される。この場合(
センサ2の出力信号がロウレベルからハイレベルに変化
した直後)判別結果は“No”となり、続くステップS
7424にて排出2エラー監視フラグが“1”であるか
否かが判別される。今回ループではこの判別結果も“N
o”となるので、ステップS7426で排出2エラー監
視フラグを“1”に設定し、続くステップS7428で
排出2エラータイマを第2の所定期間(2sec)に設
定して本ルーチンを終了する。
In step S7422, it is determined whether the discharge 2 error release flag is "1". in this case(
Immediately after the output signal of sensor 2 changes from low level to high level) the determination result is "No" and the following step S
At 7424, it is determined whether the discharge 2 error monitoring flag is "1". In this loop, this discrimination result is also “N”
o'', the discharge 2 error monitoring flag is set to "1" in step S7426, and the discharge 2 error timer is set to a second predetermined period (2 sec) in the subsequent step S7428, and this routine ends.

【0089】次のループで排出センサ2の出力信号が依
然ハイレベルを維持していると、前記ステップS740
0の判別結果が“Yes”、ステップS7410の判別
結果が“No”、ステップS7412の判別結果が“Y
es”となって、ステップS7418に進む。ステップ
S7418では前記ステップS7416でセットされた
球有タイマがタイムアップしたか否かが判別され、この
判別結果が“No”のとき(出力信号がハイレベルに変
化してから未だ第1の所定期間が経過していないとき)
には、続くステップS7420をスキップして、前記ス
テップS7422に進む。今回ループでは、このステッ
プS7422の判別結果が“No”、続くステップS7
424の判別結果が“Yes”となって、ステップS7
430に進む。ステップS7430では前記ステップS
7428でセットされた排出2エラータイマがタイムア
ップしたか否かが判別され、この判別結果が“No”の
とき(出力信号がハイレベルに変化してから、未だ第2
の所定期間が経過していないとき)には、続くステップ
S7432をスキップして、本ルーチンを終了する。
[0089] If the output signal of the discharge sensor 2 is still maintained at a high level in the next loop, step S740 is performed.
The determination result of 0 is "Yes", the determination result of step S7410 is "No", and the determination result of step S7412 is "Y".
es" and the process proceeds to step S7418. In step S7418, it is determined whether or not the ball presence timer set in step S7416 has timed up. If the result of this determination is "No" (the output signal is at a high level) (When the first predetermined period has not yet passed since the change to
If so, skip the subsequent step S7420 and proceed to step S7422. In this loop, the determination result of this step S7422 is "No", and the following step S7
The determination result of 424 is "Yes", and the process proceeds to step S7.
Proceed to 430. In step S7430, the step S
It is determined whether or not the discharge 2 error timer set in 7428 has timed up, and if the determination result is "No" (after the output signal changes to high level, the second
(when the predetermined period of time has not elapsed), the following step S7432 is skipped and this routine is ended.

【0090】更に次回以降のループにおいて、排出セン
サ2の出力信号がハイレベルである限り、ステップS7
400,S7410,S7412,S7418及びステ
ップS7422以降が繰返し実行され、ステップS74
18の判別結果が“No”から“Yes”に転じたとき
(上記第1の所定期間経過直後)、ステップS7420
にて前述した排出センサ2球有フラグが“1”に設定さ
れ、以後ステップS7400,S7410及びステップ
S7422以降が繰返し実行されることになる。又、ス
テップS7422以降の処理に関しても、排出センサ2
の出力信号がハイレベルである限りステップS7422
,S7424,S7430が繰返し実行され、ステップ
S7430の判別結果が“No”から“Yes”に転じ
たとき(上記第2の所定期間経過直後)、ステップS7
432にて前述した排出2エラー解除フラグが“1”に
設定され、以後ステップS7400,S7410,S7
422(排出2エラー解除フラグが“1”のときには、
当然に、排出センサ2球有フラグは“1”となっている
)が繰返し実行される。そして、排出センサ2の出力信
号が一度でもロウレベルに変化したときは、ステップS
7402〜S7408にて各フラグが“0”にリセット
されるため、その直後にハイレベルに戻っても再びステ
ップS7410以降の処理が初めから開始されることに
なる。
Furthermore, in the next and subsequent loops, as long as the output signal of the discharge sensor 2 is at a high level, step S7 is performed.
400, S7410, S7412, S7418 and steps S7422 and subsequent steps are repeatedly executed, and step S74
When the determination result of No. 18 changes from “No” to “Yes” (immediately after the first predetermined period has elapsed), step S7420
In step S7400, step S7410, step S7422 and subsequent steps are repeatedly executed. Also, regarding the processing after step S7422, the discharge sensor 2
As long as the output signal of is high level, step S7422
, S7424, and S7430 are repeatedly executed, and when the determination result in step S7430 changes from "No" to "Yes" (immediately after the second predetermined period has elapsed), step S7
In step 432, the discharge 2 error cancellation flag described above is set to "1", and thereafter steps S7400, S7410, and S7
422 (When the discharge 2 error release flag is “1”,
Naturally, the discharge sensor 2-ball presence flag is "1") is repeatedly executed. When the output signal of the discharge sensor 2 changes to low level even once, step S
Since each flag is reset to "0" in steps 7402 to S7408, even if it returns to a high level immediately thereafter, the processing from step S7410 onwards will be restarted from the beginning.

【0091】図24は、図16の割込処理のステップS
52にて行なわれる球抜センサ750の入力処理ルーチ
ンのフローチャートである。球抜センサ750は、前述
したように、遊技店の係員が球抜処理を開始するための
操作、即ち、パチンコ遊技機10前面に設けられた操作
用孔に球抜き棒(図示省略)を挿入する操作が為された
ことを検知するためもので、球抜き棒の挿入を検知した
とき該センサ750の出力信号はハイレベルとなり、検
知していないときには出力信号がロウレベルに保持され
るように構成されている。
FIG. 24 shows step S of the interrupt processing in FIG.
52 is a flowchart of the input processing routine of the ball removal sensor 750 performed in step 52. As mentioned above, the ball removal sensor 750 is operated by an operator at the game parlor to start the ball removal process, that is, insert a ball removal stick (not shown) into the operation hole provided on the front surface of the pachinko game machine 10. The output signal of the sensor 750 is configured to be at a high level when the insertion of the ball extraction rod is detected, and to be held at a low level when the insertion of the ball extraction rod is not detected. has been done.

【0092】ところで、本フローでは該センサ750か
らの出力信号がロウレベルからハイレベルに変化したと
き、後述する球抜フラグを“1”に設定して、遊技店の
係員による球抜処理が行われたと判断するようになって
いる。そして、賞球排出制御装置は、この“1”に設定
された球抜フラグによって後述の球抜処理(図43〜図
45)を開始するようになっている(メインルーチンの
ステップS16)。本ルーチンが開始されると、先ずス
テップS5300にて前述した処理ナンバーが“0”で
あるか否かが判別される。メインルーチン(図15)に
て、賞球(玉貸し)排出開始処理および賞球(玉貸し)
排出処理が行われているとき等処理ナンバーが“0”に
設定されていないときには(このとき上記ステップS5
300の判別結果は“No”)ステップS5303以降
に進むことなく、球抜センサ変化フラグを“0”に設定
し(ステップS5301)、球抜センサLレベルフラグ
を“0”に設定して(ステップS5302)、本ルーチ
ンを終了する。ここで球抜センサ変化フラグは、今回ル
ープでセンサ750の出力信号がローレベル(L)から
ハイレベル(H)に変化した(このとき“1”に設定さ
れる)ことを記憶するためのフラグであり、球抜センサ
Lレベルフラグは今回ループでセンサの出力信号がロー
レベル(L)であったことを記憶するためのフラグであ
る。
By the way, in this flow, when the output signal from the sensor 750 changes from low level to high level, the ball removal flag, which will be described later, is set to "1", and the ball removal process is performed by the staff at the game parlor. It has come to be determined that Then, the prize ball discharge control device starts a ball withdrawal process (FIGS. 43 to 45), which will be described later, with the ball withdrawal flag set to "1" (step S16 of the main routine). When this routine is started, first, in step S5300, it is determined whether or not the above-mentioned processing number is "0". In the main routine (Figure 15), the prize ball (ball rental) discharge start process and the prize ball (ball rental)
When the processing number is not set to "0", such as when the discharge processing is being performed (at this time, the above step S5
The determination result of 300 is "No") Without proceeding to step S5303 and subsequent steps, the ball removal sensor change flag is set to "0" (step S5301), and the ball removal sensor L level flag is set to "0" (step S5301). S5302), this routine ends. Here, the ball removal sensor change flag is a flag for storing that the output signal of the sensor 750 has changed from low level (L) to high level (H) in this loop (at this time, it is set to "1"). The ball removal sensor L level flag is a flag for storing that the output signal of the sensor was low level (L) in the current loop.

【0093】上述のステップS5300の判別を行なう
ことによって、遊技店の係員が球抜操作を行った場合で
あっても、賞品球の排出処理等の実行時には、後述の球
抜処理(図43〜図45)が禁止されるようになる。今
仮りに、賞品球の排出処理等が行われていない場合(処
理NO=“0”)で、遊技機10の操作用孔に球抜き棒
が差し込まれていない状態から、遊技店の係員によって
球抜き棒が差し込まれた状態に変化する場合を考える。 賞品球の排出処理が行われていないときには前記ステッ
プS5300の判別結果は“Yes”となり、続くステ
ップS5303にて球抜センサ変化フラグが“1”であ
るか否かが、さらにステップS5304にて球抜センサ
Lレベルフラグが“1”であるか否かが判別される。
By making the determination in step S5300 described above, even if the game parlor staff performs the ball extraction operation, when executing the prize ball ejection process, etc., the ball extraction process (see FIGS. 43 to 43) described below is performed. Figure 45) is now prohibited. Suppose now that the prize balls have not been ejected (processing NO = “0”), and the ball ejecting rod is not inserted into the operating hole of the gaming machine 10, a staff member at the gaming parlor Consider the case where the state changes to the state where the ball extraction rod is inserted. If the prize ball has not been ejected, the determination result in step S5300 is "Yes", and in step S5303 it is determined whether the ball removal sensor change flag is "1", and in step S5304 it is determined whether or not the ball removal sensor change flag is "1". It is determined whether or not the removal sensor L level flag is "1".

【0094】ところで、前述したように、全ての判別フ
ラグは賞球排出制御装置600内の電源が投入された直
後メインルーチン(図15のステップS2)にて“0”
に設定され、又、初期化が行われた後であっても処理N
Oが“0”以外のときに前記ステップS5301,S5
302にて“0”に設定されるので、前記ステップS5
303、S5304の判別結果は共に“No”となりス
テップS5306で球抜センサの出力信号がLレベル(
球抜センサ出力=“0”)であるか否かが判別される。 操作用孔261に球抜き棒が差し込まれていない状態で
は該センサ750の出力信号はLレベルのままであり、
従って該ステップS5306の判別結果は“Yes”と
なり、ステップS5308に進んで球抜センサLレベル
フラグを“1”に設定して本ルーチンを終了する。
By the way, as mentioned above, all the discrimination flags are set to "0" in the main routine (step S2 in FIG. 15) immediately after the power in the prize ball discharge control device 600 is turned on.
Even after initialization is performed, processing N
When O is other than "0", the steps S5301 and S5
Since it is set to "0" in step S302, the step S5
The determination results in steps 303 and S5304 are both "No", and in step S5306, the output signal of the ball removal sensor is set to L level (
It is determined whether or not the ball removal sensor output is "0". When the ball extraction rod is not inserted into the operation hole 261, the output signal of the sensor 750 remains at L level,
Therefore, the determination result in step S5306 is "Yes", and the process proceeds to step S5308, where the ball removal sensor L level flag is set to "1" and this routine is ended.

【0095】その後のループで依然前記球抜センサの出
力信号がLレベルを保持しているときには、球抜センサ
Lレベルフラグが“1”に設定されているので、前記ス
テップS5304の判別結果が“Yes”となり続くス
テップS5310にて今回ループでの球抜センサの出力
信号がハイレベル(球抜センサ出力=“1”)であるか
否かが判別される。このとき(球抜センサの出力信号が
ロウレベルを保持)該判別結果は“No”となって、そ
のまま本ルーチンを終了する。従って、球抜センサの出
力信号がLレベルを保持する限り,ステップS5300
,S5303,S5304,S5310が繰返し実行さ
れることとなる。この状態から操作用孔に球抜き棒が挿
入され球抜センサの出力信号がLレベルからHレベルに
変化すると、前記ステップS5310の判別結果が“Y
es”となり、続くステップS5312にて今回ループ
で球抜センサ750の出力信号がロウレベルからハイレ
ベルとなったことを記憶すべく、球抜センサ変化フラグ
を“1”に設定し、次いでステップS5314にて球抜
センサLレベルフラグを“0”にリセットして、本ルー
チンを終了する。
When the output signal of the ball removal sensor is still at the L level in the subsequent loop, the ball removal sensor L level flag is set to "1", so the determination result in step S5304 is "1". In the subsequent step S5310, it is determined whether the output signal of the ball removal sensor in the current loop is at a high level (ball removal sensor output = "1"). At this time (the output signal of the ball removal sensor remains at a low level), the determination result becomes "No" and the present routine is immediately terminated. Therefore, as long as the output signal of the ball removal sensor maintains the L level, step S5300
, S5303, S5304, and S5310 are repeatedly executed. From this state, when the ball removal rod is inserted into the operating hole and the output signal of the ball removal sensor changes from L level to H level, the determination result in step S5310 is "Y".
es", and in the subsequent step S5312, the ball removal sensor change flag is set to "1" in order to remember that the output signal of the ball removal sensor 750 went from low level to high level in this loop, and then in step S5314. The ball removal sensor L level flag is reset to "0", and this routine ends.

【0096】前回ループに続いて今回ループでも出力信
号がHレベルのときには、直前のループの前記ステップ
S5312の実行により球抜センサ変化フラグが“1”
に設定されたのでステップS5303の判別結果が“Y
es”となり、ステップS5316に進んで、今回ルー
プでの球抜センサの出力信号がハイレベル(球抜センサ
出力=“1”)であるか否かが判別される。この判別結
果が“Yes”即ち、前回ループに続いて今回ループで
も出力信号がハイレベルのときには、続くステップS5
318にて球抜フラグを“1”に設定し、更にステップ
S5320にて前記球抜センサ変化フラグを“0”にリ
セットして本ルーチンを終了する。その後のループで球
抜センサの出力信号が依然ハイレベルのときにはステッ
プS5303の判別結果が“No”に転じ(球抜センサ
変化フラグは“0”にリセットされている)、次いでス
テップS5304,ステップS5306の判別結果は共
に“No”となって、以後ステップS5303,S53
04,S5306を繰返し実行することとなる。
When the output signal is at the H level in the current loop following the previous loop, the ball removal sensor change flag is set to "1" by executing step S5312 in the previous loop.
is set, the determination result in step S5303 is “Y”.
es", the process advances to step S5316, and it is determined whether the output signal of the ball removal sensor in this loop is at a high level (ball removal sensor output = "1"). This determination result is "Yes". That is, when the output signal is at a high level in the current loop as well as in the previous loop, the subsequent step S5
In step S5320, the ball removal flag is set to "1", and in step S5320, the ball removal sensor change flag is reset to "0", and this routine ends. In the subsequent loop, if the output signal of the ball removal sensor is still at a high level, the determination result in step S5303 changes to "No" (the ball removal sensor change flag has been reset to "0"), and then steps S5304 and S5306 Both of the determination results are "No", and thereafter steps S5303 and S53 are performed.
04, S5306 will be repeatedly executed.

【0097】一方、球抜センサの出力信号がロウレベル
からハイレベルに変化した直後(前記ステップS531
2,ステップS5314が実行された直後)のループで
、球抜センサの出力信号が再びロウレベルに変化したと
きには、前記ステップS5316の判別結果が“No”
となり前記ステップS5318(球抜フラグ=“1”)
を実行することなく、ステップS5322にて球抜セン
サLレベルフラグを“1”に設定した後前記ステップS
5320を実行して、本ルーチンを終了する。 このように球抜センサの出力信号がロウレベルからハイ
レベルに変化したときに、少なくとも2回の処理ループ
が実行される間に亘って前記出力信号がHレベルを保持
したときにのみ、球抜フラグを“1”に設定するように
しているのでノイズ等が発生した場合に球抜フラグが誤
って“1”に設定されることがない。
On the other hand, immediately after the output signal of the ball removal sensor changes from low level to high level (step S531
2. Immediately after step S5314 is executed), when the output signal of the ball removal sensor changes to low level again, the determination result of step S5316 is "No".
Then, step S5318 (ball removal flag = “1”)
After setting the ball removal sensor L level flag to "1" in step S5322 without executing step S
5320 is executed to end this routine. In this way, when the output signal of the ball removal sensor changes from low level to high level, the ball removal flag is set only when the output signal maintains the H level while at least two processing loops are executed. Since this is set to "1", the ball-out flag will not be erroneously set to "1" when noise or the like occurs.

【0098】図25は、図16に示す割込処理のステッ
プS54にて行なわれる補給センサ106の入力処理の
サブルーチンを示すフローチャートである。前述したよ
うに補給センサ106は、貯留タンク201内の遊技球
(予備球)の不足状態を検知するものであり、貯留され
た予備球が該タンク201内の補給センサ106の設置
位置まで溜っているときにロウレベル、そうでないとき
にハイレベルの信号を出力するように構成されている。 今仮りに、タンク201内のセンサ設置位置まで予備球
が充填されていない状態(不足状態)を考える。この状
態で賞球排出制御装置600に電源が投入され、該ルー
チンが開始されると、先ず、ステップS5002にて該
センサ106の出力信号がハイレベル(補給センサ出力
=“1”)であるか否かが判別される。この場合、判別
結果は“Yes”となってステップS5004に進む。
FIG. 25 is a flowchart showing a subroutine of input processing for the replenishment sensor 106 performed in step S54 of the interrupt processing shown in FIG. As mentioned above, the replenishment sensor 106 detects the shortage of game balls (spare balls) in the storage tank 201, and the stored spare balls accumulate up to the installation position of the replenishment sensor 106 in the tank 201. The configuration is such that it outputs a low level signal when it is present, and a high level signal when it is not. Let us now consider a situation in which the tank 201 is not filled with spare balls up to the sensor installation position (insufficient state). When the power is turned on to the prize ball ejection control device 600 in this state and the routine is started, first, in step S5002, the output signal of the sensor 106 is at a high level (replenishment sensor output = "1"). It is determined whether or not. In this case, the determination result is "Yes" and the process advances to step S5004.

【0099】ところでCPU610の初期化直後はすべ
てのフラグが“0”に設定されているため、ステップS
5004〜S5010の判別結果はすべて“No”とな
り、ステップS5012にて、今回ループで補給センサ
の出力信号がハイレベルであったことを記憶すべく補給
Hレベルフラグを“1”に設定して本ルーチンを終了す
る。以後のループでは補給Hレベルフラグが“1”に設
定されているので、出力信号がハイレベルの状態が継続
する限りステップS5002,S5004,S5006
,S5008,S5010が繰返し実行されることにな
る。
By the way, immediately after the CPU 610 is initialized, all flags are set to "0", so step S
The determination results in steps 5004 to S5010 are all "No", and in step S5012, the replenishment H level flag is set to "1" to remember that the output signal of the replenishment sensor was high level in this loop, and the main process is started. End the routine. Since the replenishment H level flag is set to "1" in the subsequent loop, steps S5002, S5004, and S5006 are performed as long as the output signal remains at a high level.
, S5008, and S5010 are repeatedly executed.

【0100】その後、遊技球(予備球)の補給によって
貯留タンク201内の補給センサ106の設置位置にま
で予備球が充填されると、補給センサ106の出力信号
がロウレベルに転じ、前記ステップS5002の判別結
果が“No”となってステップS5030以降に進む。 ステップS5030が最初に行なわれるときには、前記
補給Hレベルフラグは“1”、それ以外のフラグはすべ
て“0”であるため、該ステップS5030、次のステ
ップS5032の判別結果が共に“No”、続くステッ
プS5034が“Yes”となってステップS5036
,S5038が実行される。
[0100] Thereafter, when the game balls (spare balls) are replenished to the position where the replenishment sensor 106 is installed in the storage tank 201, the output signal of the replenishment sensor 106 changes to low level, and the step S5002 is completed. The determination result becomes "No" and the process advances to step S5030 and subsequent steps. When step S5030 is performed for the first time, the replenishment H level flag is "1" and all other flags are "0", so the determination results of step S5030 and the next step S5032 are both "No" and continue. Step S5034 becomes “Yes” and step S5036
, S5038 are executed.

【0101】ステップS5036では、前回ループから
今回ループにかけて補給センサ106の出力信号がハイ
レベルからロウレベルに変化した(立下がった)ことを
記憶すべく、補給立下変化フラグを“1”に設定し、続
くステップS5038では、前回ループで“1”に設定
された補給Hレベルフラグをリセット(“0”に設定)
し、本ルーチンを終了する。
[0101] In step S5036, a replenishment fall change flag is set to "1" to remember that the output signal of the replenishment sensor 106 changed from high level to low level (falling) from the previous loop to the current loop. , In the following step S5038, the replenishment H level flag that was set to "1" in the previous loop is reset (set to "0").
Then, this routine ends.

【0102】次回ループで引き続き補給センサ106の
出力信号がロウレベルのときには、前回ループのステッ
プS5036で補給立下変化フラグが“1”に設定され
ているので、ステップS5030の判別結果が“Yes
”に転じる。そして、続くステップS5040〜S50
46で、貯留タンク201内の補給センサ106設置位
置まで予備球が充填されていることを記憶すべく補給セ
ンサ立下フラグを“1”に設定(ステップS5040)
すると共に、その値が“1”のときセンサ106の設置
位置に賞品球が無いことを示す補給センサ立上フラグ(
初期化後初めて本ステップが実行されるときは“0”に
設定されている)を“0”に設定し(ステップS504
2)、続いて前記補給立下変化フラグを“0”にリセッ
トする(ステップS5044)と共に、今回ループでの
補給センサ106の出力信号がロウレベルであることを
記憶すべく補給Lレベルフラグを“1”に設定して(ス
テップS5046)本ルーチンを終了する。
When the output signal of the replenishment sensor 106 is still at a low level in the next loop, the determination result in step S5030 is "Yes" because the replenishment fall change flag was set to "1" in step S5036 of the previous loop.
”.Then, the subsequent steps S5040 to S50
In step S5040, the replenishment sensor falling flag is set to "1" to remember that the reserve bulb is filled up to the installation position of the replenishment sensor 106 in the storage tank 201 (step S5040).
At the same time, when the value is "1", a replenishment sensor start-up flag (
When this step is executed for the first time after initialization, it is set to "0") to "0" (step S504).
2) Then, the replenishment fall change flag is reset to "0" (step S5044), and the replenishment L level flag is set to "1" to remember that the output signal of the replenishment sensor 106 in this loop is low level. ” (step S5046) and ends this routine.

【0103】その後、補給センサ106の出力信号がロ
ウレベルである限り、前記ステップS5002,S50
30,S5032,S5034,S5048が繰返し実
行されることになり、このとき、補給センサ立下フラグ
は“1”、補給センサ立上フラグは“0”に保持される
Thereafter, as long as the output signal of the replenishment sensor 106 is at a low level, steps S5002 and S50 are performed.
30, S5032, S5034, and S5048 are repeatedly executed, and at this time, the replenishment sensor fall flag is held at "1" and the replenishment sensor rise flag is held at "0".

【0104】一方、補給センサ106の出力信号がハイ
レベルからロウレベルに立ち下がった直後のループにお
いて、当該出力信号がハイレベルに立上がってしまった
場合(前回ループでステップS5036が実行されて補
給立下変化フラグが“1”となり、且つ今回ループでセ
ンサ出力がハイレベルの場合)には、ステップS500
2の判別結果が“Yes”、ステップS5004の判別
結果が“No”、ステップS5006の判別結果が“Y
es”と云う具合に判定され、ステップS5028にて
前回ループから今回ループにかけて出力信号が立上がっ
たことを記憶すべく補給立上変化フラグを“1”に設定
すると共に、ステップS5029にて前回ループ時に“
1”に設定した補給立下変化フラグを“0”に戻して本
ルーチンを終了する。
On the other hand, if in the loop immediately after the output signal of the replenishment sensor 106 falls from high level to low level, the output signal rises to high level (step S5036 was executed in the previous loop and replenishment was started). If the lower change flag becomes "1" and the sensor output is at a high level in this loop), step S500 is performed.
The determination result in step S5004 is “No,” and the determination result in step S5006 is “Y.”
In step S5028, the replenishment rise change flag is set to "1" to remember that the output signal rose from the previous loop to the current loop, and in step S5029, the output signal rises in the previous loop. Sometimes “
The replenishment fall change flag set to "1" is returned to "0" and this routine ends.

【0105】この結果、補給センサ106の出力信号が
立下がった後ハイレベルの状態が所定時間以上(少なく
とも本割込処理が2回行なわれる間)検知されない限り
、補給立下フラグを“1”に設定する(貯留タンク20
1内のセンサ106設定位置まで予備球が充填されてい
ることを示す)処理は行なわれないようになっており、
補給センサの出力信号にノイズが発生した場合等に対処
できるようになっている。
As a result, unless a high level state is detected for a predetermined period of time or longer after the output signal of the replenishment sensor 106 falls (at least while this interrupt processing is performed twice), the replenishment fall flag is set to "1". (storage tank 20
The process (indicating that the spare bulbs are filled up to the sensor 106 set position in 1) is not performed.
It is possible to deal with cases where noise occurs in the output signal of the replenishment sensor.

【0106】次に貯留タンク201内のセンサ106設
置位置まで予備球が充填されている状態で賞球排出制御
装置600に電源が投入され、本ルーチンが開始される
場合を考える。先ず、ステップS5002では該センサ
106の出力信号がハイレベル(補給センサ出力=“1
”)であるか否かが判別されるが、この場合、判別結果
は“No”となりステップS5030に進む。
[0106] Next, let us consider a case where the prize ball discharge control device 600 is powered on and this routine is started in a state where the storage tank 201 is filled with spare balls up to the sensor 106 installation position. First, in step S5002, the output signal of the sensor 106 is at a high level (replenishment sensor output = "1").
”), but in this case, the determination result is “No” and the process advances to step S5030.

【0107】CPU610の初期化直後はすべてのフラ
グが“0”に設定されているため、ステップS5030
,S5032,S5034,S5048の判別結果はす
べて“No”となり、ステップS5054にて、今回ル
ープで補給センサの出力信号がロウレベルであったこと
を記憶すべく補給Lレベルフラグを“1”に設定して、
本ルーチンを終了する。以後のループでは補給Lレベル
フラグが“1”に設定されているので出力信号がロウレ
ベルの状態が継続する限りステップS5002,S50
30,S5032,S5034,S5048が繰返し実
行されることになる。その後、賞品球の排出によってタ
ンク201内の予備補給センサ106の設置位置に満た
なくなると、補給センサ106の出力信号がハイレベル
となり、前記ステップS5002の判別結果が“Yes
”となってステップS5004以降に進む。
Immediately after the CPU 610 is initialized, all flags are set to "0", so step S5030
, S5032, S5034, and S5048 are all "No", and in step S5054, the replenishment L level flag is set to "1" to remember that the output signal of the replenishment sensor was low level in this loop. hand,
This routine ends. In the subsequent loop, the replenishment L level flag is set to "1", so as long as the output signal remains low level, steps S5002 and S50 are performed.
30, S5032, S5034, and S5048 are repeatedly executed. Thereafter, when the installation position of the preliminary replenishment sensor 106 in the tank 201 is insufficient due to the ejection of the prize balls, the output signal of the replenishment sensor 106 becomes high level, and the determination result in step S5002 becomes "Yes".
” and the process advances to step S5004 and subsequent steps.

【0108】ステップS5004が最初に行なわれると
きには、前記補給Lレベルフラグは“1”、それ以外の
フラグはすべて“0”であるため、ステップS5004
、次のステップS5006の判別結果が共に“No”、
続くステップS5008が“Yes”となってステップ
S5014が実行される。このステップS5014では
、前回ループから今回ループにかけて補給センサ106
の出力信号がロウレベルからハイレベルに変化した(立
上った)ことを記憶すべく、補給立上変化フラグを“1
”に設定し、続くステップS5016では、前回ループ
までに前述のステップS5054で“1”に設定されて
いた補給Lレベルフラグをリセット(“0”に設定)し
、本ルーチンを終了する。
When step S5004 is performed for the first time, the supply L level flag is "1" and all other flags are "0", so step S5004 is
, the determination results in the next step S5006 are both "No",
Subsequent step S5008 becomes "Yes", and step S5014 is executed. In this step S5014, the replenishment sensor 106 is
To remember that the output signal has changed from low level to high level (rise), set the supply rise change flag to “1”.
", and in the subsequent step S5016, the replenishment L level flag, which had been set to "1" in step S5054 before the previous loop, is reset (set to "0"), and this routine ends.

【0109】次回ループで引き続き補給センサ106の
出力信号がハイレベルのときには、前回ループのステッ
プS5014で補給立上変化フラグが“1”に設定され
ているので前記ステップS5002の判別を行なった後
前記ステップS5004の判別結果が“Yes”に転じ
る。そして、続くステップS5018〜S5024で、
補給センサ106によって貯留タンク201内の補給セ
ンサ106設置位置に賞品球がなくなったことを記憶す
べく補給センサ立上フラグを“1”に設定(ステップS
5018)すると共に、その値が“1”のとき貯留タン
ク201内のセンサ設置位置に賞品球があることを示す
補給センサ立下フラグ(初期化初めて本ステップが実行
されるときは“0”に設定されている)を“0”に設定
し(ステップS5020)、続いて前記補給立上変化フ
ラグを“0”にリセットする(ステップS5022)と
共に、今回ループでの補給センサ106の出力信号がハ
イレベルであることを記憶すべく補給Hレベルフラグを
“1”に設定して(ステップS5024)本ルーチンを
終了する。
When the output signal of the replenishment sensor 106 is still at a high level in the next loop, the replenishment rise change flag was set to "1" in step S5014 of the previous loop, so after the determination in step S5002 is performed, the The determination result in step S5004 changes to "Yes". Then, in the following steps S5018 to S5024,
The replenishment sensor startup flag is set to "1" to record that the replenishment sensor 106 has lost the prize ball at the installation position of the replenishment sensor 106 in the storage tank 201 (step S
5018), and when the value is "1", a replenishment sensor fall flag indicating that there is a prize ball at the sensor installation position in the storage tank 201 (when this step is executed for the first time during initialization, it is set to "0"). ) is set to "0" (step S5020), and then the replenishment start-up change flag is reset to "0" (step S5022), and the output signal of the replenishment sensor 106 in this loop is set to high. The replenishment H level flag is set to "1" to memorize this level (step S5024), and this routine ends.

【0110】その後、補給センサ106の出力信号がハ
イレベルである限り、前記ステップS5002,S50
04,S5006,S5008,S5010が繰返し実
行されることになり、このとき、補給立上フラグは“1
”、補給立下フラグは“0”に保持される。一方、補給
センサ106の出力信号がロウレベルからハイレベルに
立上がった直後のループにおいて、該出力信号がロウレ
ベルに立下がってしまった場合(前回ループでステップ
S5414が実行されて補給立上変化フラグが“1”と
なり、且つ今回ループがロウレベルの場合)には、ステ
ップS5002の判別結果が“No”、ステップS50
30の判別結果が“No”、ステップS5032の判別
結果が“Yes”と云う具合に判定され、ステップS5
050にて前回ループから今回ループにかけて出力信号
が立下がったことを記憶すべく補給立下変化フラグを“
1”に設定すると共に、ステップS5052にて前回ル
ープ時に“1”に設定した補給立上変化フラグを“0”
に戻して本ルーチンを終了する。
Thereafter, as long as the output signal of the replenishment sensor 106 is at a high level, steps S5002 and S50 are performed.
04, S5006, S5008, and S5010 will be executed repeatedly, and at this time, the replenishment start-up flag will be “1”.
", the replenishment fall flag is held at "0". On the other hand, if the output signal of the replenishment sensor 106 falls to a low level in the loop immediately after it rises from a low level to a high level ( If step S5414 was executed in the previous loop and the replenishment rise change flag became "1" and the current loop is at low level), the determination result in step S5002 is "No" and step S50
The determination result of step S5030 is "No" and the determination result of step S5032 is "Yes".
At 050, the replenishment fall change flag is set to "
At the same time, in step S5052, the replenishment start-up change flag, which was set to "1" during the previous loop, is set to "0".
to end this routine.

【0111】以上のように、補給センサ106の出力信
号が立上がった後ハイレベルの状態が所定時間以上(少
なくとも本割込処理が2回行なわれる間)検知されない
限り、補給立上フラグを“1”に設定する(貯留タンク
201内のセンサ106設置位置に賞品球が無くなった
ことを示す)処理は行なわれないようになっており、補
給センサの出力信号にノイズが発生した場合等に対処で
きるようになっている。このようにして“0”又は“1
”に設定される補給センサ立上フラグ及び補給センサ立
下フラグはメイン処理ルーチン(図15)のステップS
23で実行される補給処理(図46)にて用いられる。
As described above, after the output signal of the replenishment sensor 106 rises, unless a high level state is detected for a predetermined period of time or longer (while this interrupt processing is performed at least twice), the replenishment rise flag is set to "1" (indicating that there is no prize ball at the sensor 106 installation position in the storage tank 201) is not performed, and this is done in case noise occurs in the output signal of the replenishment sensor. It is now possible to do so. In this way, “0” or “1”
The replenishment sensor rise flag and replenishment sensor fall flag that are set to
It is used in the replenishment process (FIG. 46) executed in 23.

【0112】図26は割込処理(図16)のステップS
56にて行なわれるオーバーフロー検出器104の入力
処理のサブルーチンを示すフローチャートである。オー
バーフロー検出器104は、メイン処理ルーチン(図1
5)のステップS19およびS21にて行なわれる処理
(図32および図41)等にて用いられるオーバーフロ
ー球無フラグの値を決定するための信号を出力するため
のもので、オーバーフロー樋156内の賞品球が一定レ
ベル以上に溜った状態のときにその出力信号がハイレベ
ル、一定レベル以下のときにロウレベルとなるように構
成されている。
FIG. 26 shows step S of interrupt processing (FIG. 16).
56 is a flowchart showing a subroutine of input processing of the overflow detector 104 performed in step 56. The overflow detector 104 performs the main processing routine (FIG.
This is for outputting a signal for determining the value of the no overflow ball flag used in the processes performed in steps S19 and S21 (FIGS. 32 and 41) of 5), and the prize in the overflow gutter 156. The output signal is configured to be high level when the balls are accumulated above a certain level, and to be low level when the balls are accumulated below the certain level.

【0113】このルーチンが開始されると、先ずステッ
プS5400で検出器の出力がハイレベル(オーバーフ
ロー出力=“1”)であるか否かが判別される。今仮り
に球導出樋750内のオーバーフロー検出器の設置位置
に賞品球が達していない状態から、賞品球が排出され球
導出樋750内の検出器104の位置に達した状態に変
化した場合を考える。
[0113] When this routine is started, first, in step S5400, it is determined whether the output of the detector is at a high level (overflow output = "1"). Suppose now that the state changes from the state in which the prize ball has not reached the installation position of the overflow detector in the ball deriving gutter 750 to the state in which the prize ball has been ejected and has reached the position of the detector 104 in the ball deriving gutter 750. think.

【0114】賞品球が検出器の位置に達していない状態
ではステップS5400の判別結果が“No”となる。 本ルーチン開始初期には判別フラグはすべて“0”にリ
セットされている(図15のステップS2)ので、続く
ステップS5402の判別(オーバーフロー球無フラグ
が“1”か)、及びステップS5404の判別(オーバ
ーフロー球無監視フラグが“1”か)の結果は共に“N
o”となり、オーバーフロー球無監視フラグを“1”に
設定し(ステップS5406)、オーバーフロー球有監
視フラグを“0”に設定し(ステップS5408)、更
にオーバーフロー球無タイマを所定値(2sec)にセ
ットして(ステップS5410)本ルーチンを終了する
。 ここでオーバーフロー球無監視フラグは検出器の位置に
賞品球が達していない状態が2回以上続けて検知された
か否かを判断(ステップS5404の制御)するために
用いられるフラグであり、一方、オーバーフロー球有監
視フラグは、検出器の位置に賞品球が達した状態が2回
以上続けて検知されたか否かを判断(ステップS542
0の判断)するために用いられるフラグである。
[0114] In a state where the prize ball has not reached the position of the detector, the determination result in step S5400 becomes "No". At the beginning of this routine, all the determination flags are reset to "0" (step S2 in FIG. 15), so the determination in the subsequent step S5402 (whether the no overflow ball flag is "1") and the determination in step S5404 ( Whether the overflow ball unmonitored flag is “1”), the results are both “N”
o", the overflow ball non-monitoring flag is set to "1" (step S5406), the overflow ball presence monitoring flag is set to "0" (step S5408), and the overflow ball non-monitoring timer is set to a predetermined value (2 seconds). The overflow ball non-monitoring flag is set (step S5410) and the routine is terminated.Here, the overflow ball non-monitoring flag is determined by determining whether or not the state in which the prize ball has not reached the detector position is detected two or more times in a row (step S5404). On the other hand, the overflow ball presence monitoring flag is used to determine whether or not the prize ball reaching the detector position is detected two or more times in a row (step S542).
This is a flag used to make a judgment of 0).

【0115】次のループで引き続き、賞品球が上記位置
に達していないと、前記ステップS5400,S540
2の判別結果が共に“No”、続く前記ステップS54
04の判別結果が“Yes”となってステップS541
2が実行される。このステップS5412では、前記球
無タイマがタイムアップしたか否か、即ち、検出器の取
付位置に賞品球が達していないと初めて判別された後(
前述のステップS5406〜S5410実行後)所定時
間(2sec)経過したか否かが判別され、判別結果が
“No”のときには、続くステップS5414,S54
16をスキップして本ルーチンを終了する。一方、判別
結果が“Yes”のときには、ステップS5414にて
、賞品球が検出器の位置に達していないことを示すべく
オーバーフロー球無フラグを“1”に設定すると共につ
ぎのステップS5416にて、オーバーフロー球有フラ
グ(このステップが初期化後初めて行なわれるときには
初期値“0”に設定されている)をリセット(“0”に
設定)して本ルーチンを終了する。
[0115] Continuing in the next loop, if the prize ball has not reached the above position, steps S5400 and S540 are performed.
If the determination results of 2 are both "No", the subsequent step S54
The determination result of 04 is “Yes” and the process proceeds to step S541.
2 is executed. In this step S5412, after it is determined for the first time whether the no-ball timer has timed up, that is, the prize ball has not reached the mounting position of the detector (
After executing steps S5406 to S5410 described above), it is determined whether a predetermined period of time (2 seconds) has elapsed, and if the determination result is "No", subsequent steps S5414 and S54 are performed.
Skip step 16 and end this routine. On the other hand, when the determination result is "Yes", in step S5414, the no overflow ball flag is set to "1" to indicate that the prize ball has not reached the position of the detector, and in the next step S5416, The overflow ball presence flag (which is set to an initial value of "0" when this step is performed for the first time after initialization) is reset (set to "0") and this routine ends.

【0116】以後のループで、検出器の位置に賞品球が
達していない限り、ステップS5400の判別結果が“
No”、ステップS5402の判別結果が“Yes”と
なって、これらのステップが繰返し実行される。  次
にこの状態から排出された賞品球が溜ってて検出器10
4の位置まで達した場合を考える。このときステップS
5400の判別結果が“Yes”となり、続くステップ
S5418ではオーバーフロー球有フラグが“1”であ
るか否かが判別される。このオーバーフロー球有フラグ
は前回ループまでに“0”に設定されているので(前記
ステップS5416)この判別結果は“No”となる。 続くステップS5420ではオーバーフロー球有監視フ
ラグが“1”かの結果が行なわれるが、このオーバーフ
ロー球有監視フラグも前回ループまでに“0”に設定(
前記ステップS5408)されているのでこの判別結果
は“No”となり、オーバーフロー球有監視フラグを“
1”に設定すると共に(ステップS5422)、前記オ
ーバーフロー球無監視フラグを“0”に設定し(ステッ
プS5424)、更にオーバーフロー球有タイマを所定
値(2sec)にセットして(ステップS5426)本
ルーチンを終了する。
[0116] In the subsequent loop, unless the prize ball has reached the position of the detector, the determination result in step S5400 is "
"No", the determination result in step S5402 becomes "Yes", and these steps are repeatedly executed. Next, from this state, the ejected prize balls are accumulated and sent to the detector 10.
Let's consider the case where it reaches position 4. At this time, step S
The determination result in step S5400 is "Yes", and in the following step S5418, it is determined whether or not the overflow ball presence flag is "1". Since this overflow ball presence flag was set to "0" by the previous loop (step S5416), the result of this determination is "No". In the following step S5420, it is determined whether the overflow ball presence monitoring flag is "1", but this overflow ball presence monitoring flag was also set to "0" by the previous loop (
Since the above step S5408) has been carried out, the result of this determination is "No" and the overflow ball presence monitoring flag is set to "
1" (step S5422), the overflow ball non-monitoring flag is set to "0" (step S5424), and the overflow ball presence timer is set to a predetermined value (2 sec) (step S5426). This routine end.

【0117】次のループで引き続き、賞品球が検出器1
04の位置まで達していると、前記ステップS5400
の判別結果が“Yes”、ステップS5418の判別結
果が“No”、続く前記ステップS5420の判別結果
が“Yes”となってステップS5428が実行される
。このステップS5428では更に、前記球有タイマが
タイムアップしたか否か、即ち、賞品球が上記位置に達
したと初めて判別された後(前述のステップS5422
〜S5426実行後)所定時間(2sec)経過したか
否かが判別され、判別結果が“No”のときには、続く
ステップS5430,S5432をスキップして本ルー
チンを終了する。一方、判別結果が“Yes”のときに
は、ステップS5430にて、賞品球が検出器の位置ま
で達したことを示すべくオーバーフロー球有フラグを“
1”に設定すると共につぎのステップS5432にて、
オーバーフロー球無フラグをリセット(“0”に設定)
して本ルーチンを終了する。
[0117] Continuing in the next loop, the prize ball is placed on detector 1.
When the position reaches position 04, step S5400 is executed.
The determination result in step S5418 is "No", the determination result in step S5420 is "Yes", and step S5428 is executed. This step S5428 further determines whether or not the ball presence timer has timed up, that is, after it is determined for the first time that the prize ball has reached the above position (in step S5422 described above).
- After execution of S5426) It is determined whether a predetermined time (2 sec) has elapsed, and if the determination result is "No", the following steps S5430 and S5432 are skipped and this routine is ended. On the other hand, when the determination result is "Yes", in step S5430, the overflow ball presence flag is set to indicate that the prize ball has reached the detector position.
1” and in the next step S5432,
Reset the no overflow ball flag (set to “0”)
to end this routine.

【0118】以後のループで、オーバーフロー樋156
内の検出器104の位置まで賞品球が達している限り、
ステップS5400の判別結果が“Yes”、ステップ
S5418の判別結果が“Yes”となって、これらの
ステップが繰返し実行される。以上のように、本入力処
理では、セーフセンサの場合と同様、出力信号がロウレ
ベルからハイレベル(又はハイレベルからロウレベル)
に変化した直後のループでは該ロウレベルからハイレベ
ルの変化(又はハイレベルからロウレベルの変化)を記
憶する(監視フラグを“1”とする)だけに止めておき
、次回ループでも依然ハイレベル(又はロウレベル)で
あって更に上記変化した時点より所定時間(2sec)
が経過した後に初めて本ルーチンの最終出力値であるオ
ーバーフロー球有フラグを“1”(又はオーバーフロー
球無フラグを“1”)に変更するようにしている。この
ような制御手順を採用することによって、ノイズ発生等
によりオーバーフローの出力信号レベルが瞬間的に変化
した場合であっても直ちにその変化を正規の変化と判断
することがなく、当該ノイズ発生等による誤作動を防止
することができるようになっている。
[0118] In the subsequent loop, the overflow gutter 156
As long as the prize ball reaches the position of the detector 104 in
The determination result in step S5400 is "Yes", the determination result in step S5418 is "Yes", and these steps are repeatedly executed. As described above, in this input processing, the output signal changes from low level to high level (or from high level to low level), as in the case of the safe sensor.
In the loop immediately after the change from low level to high level (or change from high level to low level), the change from low level to high level (or change from high level to low level) is only stored (the monitoring flag is set to "1"), and the next loop will still have high level (or change from high level to low level). low level) and further for a predetermined period of time (2 seconds) from the time of the above change.
The overflow ball presence flag, which is the final output value of this routine, is changed to "1" (or the overflow ball no flag to "1") only after the period of time has elapsed. By adopting such a control procedure, even if the overflow output signal level changes instantaneously due to noise generation, the change will not be immediately judged as a normal change, and the change will not be immediately judged as a normal change. It is possible to prevent malfunctions.

【0119】図27は割込処理(図16)のステップS
58にて行なわれる待機球検出器160(以下、半端セ
ンサと記す)の入力処理のルーチンを示すフローチャー
トである。半端センサ160は、後述の賞球開始処理(
図32)にて用いられる半端球有フラグを設定するため
の信号を出力するもので、誘導樋152内に賞品球が十
分貯留されているときに(予備球が2回分の賞球排出個
数以上貯留されているときに)その出力信号がハイレベ
ル、上記個数に満たず半端状態となっているときにロウ
レベルとなるように構成されている。このルーチンが開
始されると、先ずステップS5200で待機球検出器の
出力がハイレベル(待機球検出器出力=“1”)である
か否かが判別される。
FIG. 27 shows step S of interrupt processing (FIG. 16).
58 is a flowchart showing the input processing routine of the standby ball detector 160 (hereinafter referred to as an odd sensor) performed in step 58. The half-end sensor 160 performs a prize ball start process (described later).
This outputs a signal to set the half-ball presence flag used in Figure 32), and when there are enough prize balls stored in the guide gutter 152 (the number of spare balls exceeds the number of prize balls discharged twice). The output signal is configured to be high level (when stored) and to be low level when the number is less than the above number and is in an irregular state. When this routine is started, first, in step S5200, it is determined whether the output of the waiting ball detector is at a high level (standby ball detector output = "1").

【0120】今仮りに誘導樋152の待機球検出器設置
位置まで予備球が貯留されていない状態から、予備球が
補給されて上記設置位置に達した場合を考える。予備球
が上記設置位置に達していない状態ではステップS52
00の判別結果は“No”となる。このとき判別フラグ
はすべて“0”にリセットされている(図15のステッ
プS2)ので、続くステップS5202の判別(半端球
無フラグが“1”か)、及びステップS5204の判別
(半端球無監視フラグが“1”か)の結果は共に“No
”となり、半端球無監視フラグを“1”に設定し(ステ
ップS5206)、半端球有監視フラグを“0”に設定
し(ステップS5208)、更に半端球無タイマを所定
値(2sec)にセットして(ステップS5210)本
ルーチンを終了する。
Let us now consider a case where, from a state where no spare balls are stored up to the standby ball detector installation position in the guide gutter 152, the spare balls are replenished and reach the installation position. If the spare ball has not reached the above installation position, step S52
The determination result of 00 is "No". At this time, all the determination flags have been reset to "0" (step S2 in FIG. 15), so the determination in the subsequent step S5202 (whether the no hemispherical flag is "1") and the determination in step S5204 (no hemispherical monitoring) is necessary. Whether the flag is “1”), both results are “No”.
”, the hemispherical non-monitoring flag is set to “1” (step S5206), the hemispherical presence monitoring flag is set to “0” (step S5208), and the hemispherical non-monitoring timer is set to a predetermined value (2 sec). Then (step S5210) this routine ends.

【0121】ここで半端球無監視フラグは予備球が上記
設置位置に達していない状態が検知されたか否かを判断
(ステップS5204)するために用いられるフラグで
あり、一方半端球有監視フラグは、予備球が上記設置位
置まで溜っている状態が2回続けて検知されたか否かを
判断(ステップS5220)するために用いられるフラ
グである。
[0121] Here, the half-end ball non-monitoring flag is a flag used to judge whether or not a state in which the spare ball has not reached the above-mentioned installation position is detected (step S5204), while the half-end ball presence monitoring flag , is a flag used to determine whether or not a state in which spare balls have accumulated up to the above-mentioned installation position has been detected twice in a row (step S5220).

【0122】次のループで引き続き、予備球が上記設置
位置まで溜っていないと、前記ステップS5200,S
5202の判別結果が共に“No”、続く前記ステップ
S5204の判別結果が“Yes”となってステップS
5212が実行される。このステップS5212では更
に、前記球無タイマがタイムアップしたか否か、即ち、
予備球が上記設置位置まにで溜っていないと初めて判別
された後(前述のステップS5206〜S5210実行
後)所定時間(2sec)経過したか否かが判別され、
判別結果が“No”のときには、続くステップS521
4,S5216をスキップして本ルーチンを終了する。 一方、前記ステップS5212の判別結果が“Yes”
のときには、ステップS5214にて、予備球が誘導樋
152のセンサ設置位置まで溜っていないことを示すべ
く半端球無フラグを“1”に設定すると共に、次のステ
ップS5216にて、半端球有フラグ(このステップが
初期化後初めて行なわれるときには初期値“0”に設定
されている)をリセット(“0”に設定)して本ルーチ
ンを終了する。
[0122] Continuing in the next loop, if the spare balls have not accumulated to the above installation position, steps S5200 and S
Both the determination results in step S5202 are "No", and the determination result in the subsequent step S5204 is "Yes", and the process proceeds to step S.
5212 is executed. In this step S5212, it is further determined whether or not the no-ball timer has timed up, that is,
After it is determined for the first time that the spare balls are not accumulated at the installation position (after executing steps S5206 to S5210 described above), it is determined whether a predetermined period of time (2 seconds) has elapsed;
When the determination result is "No", the following step S521
4. Skip S5216 and end this routine. On the other hand, the determination result in step S5212 is “Yes”.
In this case, in step S5214, the no half-ball flag is set to "1" to indicate that the spare balls have not accumulated up to the sensor installation position of the guide gutter 152, and in the next step S5216, the half-ball presence flag is set to "1". (When this step is performed for the first time after initialization, the initial value is set to "0") is reset (set to "0") and this routine ends.

【0123】以後のループで、予備球が上記設置位置ま
で溜らない限り、ステップS5200の判別結果が“N
o”、ステップS5202の判別結果が“Yes”とな
って、これらのステップが繰返し実行される。この状態
から貯留タンク151への遊技球の供給によって予備球
が誘導樋152の半端センサ160の設置位置まで溜る
とステップS5200の判別結果が“Yes”となる。 続くステップS5218で“1”であるか否かの判別が
なされる半端球有フラグはこの時点で未だ初期値“0”
に設定されているのでこの判別結果は“No”となり、
続くステップS5220の判別(半端球有監視フラグが
“1”か)の結果も、前述のステップS5208の実行
により“No”となり、ステップS5222に進む。
[0123] In the subsequent loop, unless the spare balls are accumulated up to the above installation position, the determination result in step S5200 is "N".
o", the determination result in step S5202 becomes "Yes", and these steps are repeatedly executed. From this state, by supplying game balls to the storage tank 151, the spare balls are installed at the half-end sensor 160 of the guide gutter 152. When it reaches the position, the determination result in step S5200 becomes "Yes".The half-sphere existence flag, which is determined to be "1" in the subsequent step S5218, still has the initial value "0" at this point.
Since it is set to , this determination result is “No”,
The result of the determination in the subsequent step S5220 (whether the half-sphere presence monitoring flag is "1") also becomes "No" by executing the above-described step S5208, and the process proceeds to step S5222.

【0124】ステップS5222では半端球有監視フラ
グを“1”に設定すると共にステップS5224で、前
記半端球無監視フラグを“0”に設定し、更に半端球有
タイマを所定値(2sec)にセットして(ステップS
5226)本ルーチンを終了する。次のループで引き続
き、予備球が半端センサの設置位置まで溜っていると、
前記ステップS5200の判別結果が“Yes”、ステ
ップS5218の判別結果が“No”、続く前記ステッ
プS5220の判別結果が“Yes”(前回ループのス
テップS5222で“1”に設定される)となってステ
ップS5228が実行される。
In step S5222, the hemispherical presence monitoring flag is set to "1", and in step S5224, the hemispherical non-monitoring flag is set to "0", and the hemispherical presence timer is set to a predetermined value (2 sec). (Step S
5226) End this routine. In the next loop, when the spare balls are accumulated up to the half-end sensor installation position,
The determination result in step S5200 is "Yes", the determination result in step S5218 is "No", and the determination result in subsequent step S5220 is "Yes" (set to "1" in step S5222 of the previous loop). Step S5228 is executed.

【0125】このステップS5228では更に、前記球
有タイマがタイムアップしたか否か、即ち、予備球が上
記設置位置まで溜っていると初めて判別された後(前述
のステップS5222〜S5226実行後)所定時間(
2sec)経過したか否かが判別され、判別結果が“N
o”のときには、続くステップS5230,S5232
をスキップして本ルーチンを終了する。一方、判別結果
が“Yes”のとき、即ち予備球がセンサ取付位置まで
溜った後前記所定時間が経過したときには、ステップS
5230にて、予備球が半端センサ221の設置位置ま
で溜っていることを示すべく半端球有フラグを“1”に
設定すると共に、次のステップS5232にて、半端球
無フラグをリセット(“0”に設定)して本ルーチンを
終了する。以後のループで、誘導樋152内の半端セン
サ設置位置まで予備球が貯留されている限り、ステップ
S5200の判別結果が“Yes”、ステップS521
8の判別結果が“Yes”となって、これらのステップ
が繰返し実行される。
[0125] In this step S5228, a predetermined determination is made as to whether or not the ball presence timer has timed out, that is, after it is determined for the first time that the spare balls have accumulated up to the above installation position (after executing steps S5222 to S5226 described above). time(
2 sec) has elapsed, and the determination result is “N
o”, the following steps S5230 and S5232
Skip and end this routine. On the other hand, when the determination result is "Yes", that is, when the predetermined time has elapsed after the spare balls have accumulated up to the sensor mounting position, step S
In step S5230, the half-end ball present flag is set to "1" to indicate that the spare balls have accumulated up to the installation position of the half-end sensor 221, and in the next step S5232, the half-end ball absent flag is reset ("0"). ”) and end this routine. In subsequent loops, as long as the spare balls are stored up to the halfway sensor installation position in the guide gutter 152, the determination result in step S5200 is "Yes", and step S521
The determination result of step 8 becomes "Yes", and these steps are repeatedly executed.

【0126】以上のように、本入力処理では、半端セン
サ221の出力信号がロウレベルからハイレベル(又は
ハイレベルからロウレベル)に変化した直後のループで
は、該ロウレベルからハイレベルの変化(又はハイレベ
ルからロウレベルの変化)を記憶する(監視フラグを“
1”とする)だけに止めておき、次回ループでも依然ハ
イレベル(又はロウレベル)であって且つ上記変化した
時点より所定時間(2sec)が経過した後に初めて本
ルーチンの最終出力値である半端球有フラグを“1”(
又は半端球無フラグを“1”)に変更するようにしてい
る。このような制御手順を採用することによって、ノイ
ズ発生等により半端センサの出力信号レベルが瞬間的に
変化した場合であっても直ちにその変化を正規の変化と
判断することがなく、当該ノイズ発生等による誤作動を
防止することができるようになっている。
As described above, in this input processing, in the loop immediately after the output signal of the half-end sensor 221 changes from low level to high level (or from high level to low level), the output signal changes from the low level to high level (or from high level to high level). (change in low level from
1”), and the final output value of this routine is the hemisphere, which is still at high level (or low level) in the next loop and only after a predetermined time (2 seconds) has elapsed from the time of the above change. Set the presence flag to “1” (
Alternatively, the no-hemispherical flag is changed to "1"). By adopting such a control procedure, even if the output signal level of an odd sensor changes instantaneously due to noise occurrence, the change will not be immediately judged as a normal change, and the noise occurrence etc. It is possible to prevent malfunction due to

【0127】図28は割込処理(図16)の前記ステッ
プS60にて行なわれるアウトセンサ107の出力信号
の入力処理ルーチンのフローチャートで、この処理によ
ってアウト玉数が計数される。本ルーチンが開始される
と、先ずステップS6002にてアウトセンサ変化フラ
グが“1”であるか否かが判定される。このフロー中に
おいて使用される全てのフラグは最初の初期化で“0”
にクリアされており、最初のアウト玉検出信号が入って
くるまでアウトセンサ変化フラグは“0”であるので、
ステップS6002ではまず“No”と判定される。す
ると、続いてステップS6004にてアウトロウレベル
フラグが“1”であるか否かが判定される。ここで、“
No”ならステップS6006でアウトセンサ107の
出力をみてロウレベルか否か判定し、ロウならアウトロ
ウレベルフラグを“1”に設定し(ステップS6008
)、ハイなら何もせずにルーチンを終了する。このよう
にして一旦アウトロウレベルフラグが“1”に設定され
ると、次のルーチンではステップS6004で“Yes
”と判定されてステップS6010へ移行し、アウトセ
ンサ107からの信号がハイレベル(“1”)か否か判
定する。ここで、アウトセンサ107からの信号がハイ
レベルであれば、アウトセンサ変化フラグを“1”に設
定し、アウトロウレベルフラグを“0”にクリアして終
了する(ステップS6012,S6014)。
FIG. 28 is a flowchart of a processing routine for inputting the output signal of the out sensor 107 performed in step S60 of the interrupt processing (FIG. 16), and the number of out balls is counted by this processing. When this routine is started, first in step S6002 it is determined whether the out-sensor change flag is "1". All flags used during this flow are “0” at first initialization.
The out sensor change flag is “0” until the first out ball detection signal is received.
First, in step S6002, the determination is "No". Then, in step S6004, it is determined whether the outlaw level flag is "1". here,"
If "No", the output of the out sensor 107 is checked in step S6006 to determine whether it is low level or not, and if it is low, the out low level flag is set to "1" (step S6008
), if high, exit the routine without doing anything. Once the outlaw level flag is set to "1" in this way, in the next routine the answer is "Yes" in step S6004.
”, the process moves to step S6010, and it is determined whether the signal from the out sensor 107 is at a high level (“1”).Here, if the signal from the out sensor 107 is at a high level, the out sensor has changed. The flag is set to "1", the outlaw level flag is cleared to "0", and the process ends (steps S6012, S6014).

【0128】次にルーチンが開始されると、ステップS
6002で“Yes”と判定されてステップS6016
へ進み、アウトロウレベルフラグが“0”か否か判定さ
れる。通常はアウトセンサ変化フラグが“1”のときは
アウトロウレベルフラグが“0”である(ステップS6
012とS6014参照)ので、“Yes”と判定され
てステップS6018へ進む。ステップS6018では
アウトセンサ107からの信号がハイレベル(“1”)
か否か判定する。ここで、アウトセンサ107からの信
号がハイレベルであれば、アウトセンサ変化フラグを“
0”にクリアし、アウトカウンタをインクリメント(+
1)して終了する(ステップS6020,S6022)
。その後、ステップS6002からS6004,S60
06と上記手順を繰り返してアウト玉数を計数して行く
Next, when the routine is started, step S
If the determination in step S6002 is “Yes”, the process proceeds to step S6016.
Then, it is determined whether the outlaw level flag is "0" or not. Normally, when the out sensor change flag is "1", the out low level flag is "0" (step S6
012 and S6014), the determination is "Yes" and the process advances to step S6018. In step S6018, the signal from the out sensor 107 is at a high level (“1”)
Determine whether or not. Here, if the signal from the out sensor 107 is high level, the out sensor change flag is set to “
0" and increment the out counter (+
1) and end (steps S6020, S6022)
. After that, steps S6002 to S6004, S60
06 and the above steps are repeated to count the number of out balls.

【0129】上記ルーチンはタイマ割込みで0.5m秒
ごとに繰り返されるため、ステップS6010において
0.5m秒以下のノイズを拾ってアウトセンサ変化フラ
グが“1”に設定されたような場合には、ステップS6
018で“No”と判定されるため、ステップS602
4へ移行してアウトロウレベルフラグを“1”に設定し
て終了する。すなわち、上記ルーチンでは、アウトセン
サの立上りエッジのみで信号を計数のではなく、立上り
エッジを検出しかつハイレベルを確認して始めてアウト
玉数をインクリメントしている。
[0129] Since the above routine is repeated every 0.5 msec by a timer interrupt, if noise of 0.5 msec or less is picked up in step S6010 and the out-sensor change flag is set to "1", Step S6
Since the determination in 018 is “No”, step S602
4, the outlaw level flag is set to "1", and the process ends. That is, in the above routine, the number of out balls is not counted only by the rising edge of the out sensor, but the number of out balls is incremented only after the rising edge is detected and the high level is confirmed.

【0130】そのため、ノイズをセンサ出力として誤計
数するのが防止される。しかも、上記ステップS602
4でアウトロウレベルフラグが“1”に設定されると、
次のルーチンのときにステップS6016で“No”と
判定されて、アウトセンサ変化フラグが“0”にクリア
される(ステップS6026)ため、ノイズによるアウ
トセンサ変化フラグの設定もキャンセルされる。図29
には、上記割込み処理とは別に、交流電源の電源波形の
数を数えて所定数以下になったときに停電の発生を検出
する停電検出手段691からの割込み信号によって行な
われる停電割込み処理の具体的手順の一例が示されてい
る。
[0130] This prevents noise from being erroneously counted as a sensor output. Moreover, the above step S602
When the outlaw level flag is set to “1” in 4,
In the next routine, the determination in step S6016 is "No" and the out-sensor change flag is cleared to "0" (step S6026), so the setting of the out-sensor change flag due to noise is also canceled. Figure 29
In addition to the above-mentioned interrupt processing, there is also a specific example of a power outage interrupt processing performed by an interrupt signal from a power outage detection means 691 that counts the number of power waveforms of an AC power source and detects the occurrence of a power outage when the number becomes less than or equal to a predetermined number. An example of a typical procedure is shown.

【0131】この割込みルーチンでは、まず排出処理中
か否か調べて排出処理中でなければそのまま何もせずに
終了する(ステップS3002)。また、排出処理中で
あれば2つの排出経路の各排出ソレノイド741a,7
41bをオフさせてから排出レジスタ1と2(図34参
照)の値をバックアップされたRAM内に記憶させる(
ステップS3004−S3010)。それから、賞球排
出中か玉貸し排出中か判定して(ステップS3012)
、賞球排出中なら未排出の賞球数データをRAMに記憶
し(ステップS3014)、玉貸し排出中なら未排出の
貸し玉数データおよび中断する排出が玉貸し排出である
ことをRAMに記憶する(ステップS3014,S30
18)。そして、最後にバックアップされたRAM内の
アドレスに割り付けられた停電フラグを“1”に設定し
てルーチンを終了する(ステップS3020)。上記割
込み処理は極めて短時間に行なえるので、停電検出手段
691からの割込み信号が入ってから実際にパワーがな
くなるまでの間に終了することができる。
[0131] In this interrupt routine, it is first checked whether or not the discharge process is in progress, and if the discharge process is not in progress, the process ends without doing anything (step S3002). In addition, if the discharge process is in progress, each discharge solenoid 741a, 7 of the two discharge routes
41b and then store the values of ejection registers 1 and 2 (see Figure 34) in the backed up RAM (
Steps S3004-S3010). Then, it is determined whether the prize ball is being ejected or the ball rental ball is being ejected (step S3012).
If the prize ball is being discharged, the data on the number of undischarged prize balls is stored in the RAM (step S3014), and if the ball rental ball is being discharged, the data on the number of undischarged rental balls and the fact that the interrupted discharge is the ball rental discharge are stored in the RAM. (Steps S3014, S30
18). Then, the power outage flag assigned to the last backed up address in the RAM is set to "1" and the routine ends (step S3020). Since the above-mentioned interrupt processing can be performed in an extremely short time, it can be completed between the time when the interrupt signal from the power failure detection means 691 is received and the time when the power is actually lost.

【0132】図30には、上記タイマ割込みおよび停電
割込み処理と平行して行なわれる図15のメイン処理フ
ロー中で実行される排出装置不正監視処理S3の具体的
手順の一例が示されている。この監視処理S3では、ま
ず2系統の排出系のうち一方の排出ソレノイド741a
がオンされているか調べ(ステップS1101)、“N
o”のときは排出センサ730aの検出信号が立ち上が
ったことを示す立上りフラグが「1」か否か判定し(ス
テップS1102)、“Yes”なら排出不正監視カウ
ンタ1をインクリメントする(ステップS1104)。 排出ソレノイドがオンされないにもかかわらず排出球が
あった場合にこれを不正排出として検出するためである
FIG. 30 shows an example of a specific procedure of the discharge device fraud monitoring process S3 executed in the main process flow of FIG. 15, which is performed in parallel with the timer interrupt and power outage interrupt processes. In this monitoring process S3, first, one discharge solenoid 741a of the two discharge systems is
is turned on (step S1101), and “N
o", it is determined whether the rising flag indicating that the detection signal of the discharge sensor 730a has risen is "1" (step S1102), and if "Yes", the discharge fraud monitoring counter 1 is incremented (step S1104). This is to detect the presence of an ejection bulb as illegal ejection even though the ejection solenoid is not turned on.

【0133】上記ステップS1101で“Yes”すな
わち排出ソレノイドがオフされていると判定すると、ス
テップS1103へ進んで排出不正監視カウンタ1をク
リアする。排出ソレノイドがオンされないにもかかわら
ず排出球があって、上記ステップS1104で排出不正
監視カウンタ1をインクリメントした後は、排出センサ
1の立上りフラグを一旦「0」にクリアしてから上記排
出不正監視カウンタ1の値が「3」以上になったか否か
判定する(ステップS1105,S1106)。排出用
のストッパ745と排出センサ730とが離れた位置に
設けられているため、排出ソレノイドをオフさせても直
ちにセンサからの信号がなくなるわけでなく、少なくと
も排出センサから排出ソレノイドまでの間に存在可能な
予備球の数だけは検出信号が入ってくることを考慮した
ものである。従って、このしきい値「3」は、排出セン
サから排出ソレノイドまでの距離に応じて適宜変更され
るべき値である。
[0133] If "Yes" is determined in step S1101, that is, the discharge solenoid is turned off, the process proceeds to step S1103, where the discharge fraud monitoring counter 1 is cleared. If there is an ejection bulb even though the ejection solenoid is not turned on, and after incrementing the emission irregularity monitoring counter 1 in step S1104, the rising flag of the emission sensor 1 is once cleared to "0", and then the above-mentioned emission irregularity monitoring is performed. It is determined whether the value of counter 1 has become "3" or more (steps S1105, S1106). Since the discharge stopper 745 and the discharge sensor 730 are provided at a separate position, even if the discharge solenoid is turned off, the signal from the sensor does not immediately disappear, but at least the signal from the sensor is present between the discharge sensor and the discharge solenoid. The number of possible spare balls is determined by taking into consideration the incoming detection signal. Therefore, this threshold value "3" is a value that should be changed as appropriate depending on the distance from the discharge sensor to the discharge solenoid.

【0134】上記ステップS1106で、排出不正監視
カウンタ1の値が「3」以上になったと判定したときは
ステップS1113へ移行して流路切換弁158の駆動
用ソレノイド(以下、玉抜ソレノイドと称する)をオン
させる。これによって、排出ソレノイドが不正に作動し
たときは排出された玉が供給皿121でなく玉抜路を通
ってパチンコ遊技店の回収樋へ誘導され、不当な利益を
与えないようにすることができる。玉抜ソレノイドをオ
ンさせた後は、不正排出があったことを示す排出不正フ
ラグに「1」を立ててから玉貸し排出表示ランプ113
および賞球玉貸し排出表示ランプ112を点滅させて不
正状態の発生を外部に表示させる(ステップS1114
,S1115,S1116)。上記ステップS1101
で“No”と判定されたときは、ステップS1104へ
進み、他方の排出系2について第1の排出系1に関する
上記処理S1101−S1106と同様の処理S110
7−S1112を実行し、排出不正監視カウンタ2の値
が「3」以上になったと判定したときはステップS11
13へ移行して玉抜ソレノイドをオンさせる。
[0134] If it is determined in step S1106 that the value of the discharge fraud monitoring counter 1 has become ``3'' or more, the process moves to step S1113, and the solenoid for driving the flow path switching valve 158 (hereinafter referred to as the ball removal solenoid) is activated. ) is turned on. As a result, when the discharge solenoid is erroneously operated, the discharged balls are guided to the collection gutter of the pachinko game parlor through the ball extraction path instead of through the supply tray 121, and it is possible to prevent unfair profits from being given. . After turning on the ball ejection solenoid, set "1" to the illegal ejection flag indicating that there has been an illegal ejection, and then turn on the ball lending ejection display lamp 113.
and causes the prize ball rental display lamp 112 to blink to externally indicate the occurrence of an illegal state (step S1114).
, S1115, S1116). Above step S1101
If the determination is "No" in step S1104, the process S110 is performed for the other discharge system 2, which is similar to the processes S1101 to S1106 described above regarding the first discharge system 1.
7-S1112 is executed, and when it is determined that the value of the discharge fraud monitoring counter 2 has become "3" or more, step S11 is executed.
Move to step 13 and turn on the ball removal solenoid.

【0135】図31には排出装置不正解除処理S14の
具体的手順の一例が示されている。図16のメインフロ
ーのステップS1114で排出不正フラグが「1」にさ
れ、図15のフローのステップS4で“Yes”と判定
されると、図32の排出装置不正解除処理S14が開始
される。この排出装置不正解除処理S14では、まずス
テップS1121とS1122で図22,図23のルー
チン中で設定される排出経路1と2のエラー解除フラグ
が「1」か否か判定し、いずれのフラグも「1」のとき
はステップS1123で上記排出不正フラグを「0」に
クリアしてから、玉抜ソレノイド158をオフする(ス
テップS1124)。それから、排出不正を示す点滅状
態の貸し玉排出表示ランプ113と賞球排出表示ランプ
112を消灯させて排出装置不正解除処理が終了する(
ステップS1125,S1126)。
[0135] FIG. 31 shows an example of a specific procedure of the ejection device unauthorized release process S14. If the discharge fraud flag is set to "1" in step S1114 of the main flow of FIG. 16 and "Yes" is determined in step S4 of the flow of FIG. 15, the discharge device fraud cancellation process S14 of FIG. 32 is started. In this ejecting device unauthorized release processing S14, first, in steps S1121 and S1122, it is determined whether the error release flags for ejection routes 1 and 2 set in the routines of FIGS. 22 and 23 are "1", and both flags are When it is "1", the discharge irregularity flag is cleared to "0" in step S1123, and then the ball removal solenoid 158 is turned off (step S1124). Then, the rental ball ejection display lamp 113 and the prize ball ejection display lamp 112, which are in a blinking state indicating an illegal ejection, are turned off, and the ejection device illegal release process is completed (
Steps S1125, S1126).

【0136】図32は、前述した賞球排出制御装置のメ
インルーチン(図15)のステップS19で実行される
賞球開始処理のサブルーチンを示すフローチャートであ
る。このサブルーチンは、メインルーチン(図15)の
ステップS12で賞球要求を検出すると、処理ナンバー
が「1」にされ、ステップS9で“Yes”と判定され
ることによって開始される。
FIG. 32 is a flowchart showing a subroutine of the prize ball start process executed in step S19 of the main routine (FIG. 15) of the prize ball discharge control device described above. This subroutine is started when a prize ball request is detected in step S12 of the main routine (FIG. 15), the processing number is set to "1", and a determination of "Yes" is made in step S9.

【0137】このサブルーチンが開始されると、まず前
記図22および図23の排出センサレベル入力処理ルー
チンで設定される排出センサ1玉有フラグおよび排出セ
ンサ2玉有フラグと、図27の半端センサ入力処理ルー
チンで設定される半端センサ玉有フラグさらに図26の
オーバーフロー検出器入力処理ルーチンで設定されるオ
ーバーフロー玉有フラグを調べて(ステップS81−S
84)、いずれか一つのフラグでも“0”になっている
場合には排出可能フラグを“0”にクリアして終了する
(ステップS85)。一方、すべてのフラグが“1”に
なっている場合には排出可能フラグを“1”にセットし
(ステップS86)、図18の賞球データ検出処理ルー
チンで読み込んだ賞球データを排出レジスタ0にセット
する(ステップS87)。また、賞球排出表示ランプ1
12を点灯させ、賞球音要求フラグを“1”にセットし
てから、次の図33に示す排出開始処理ルーチンを実行
した後、処理ナンバーを「2」にして終了する(ステッ
プS88−S91)。なお、上記ステップS89でセッ
トされる賞球音要求フラグは遊技盤制御装置400に対
して出力する賞球排出音発生要求信号Dを後述の音要求
出力処理(図49)でロウレベルにアサートさせるため
のものである。
When this subroutine is started, first, the discharge sensor 1 flag and the discharge sensor 2 flag set in the discharge sensor level input processing routine shown in FIGS. 22 and 23, and the partial sensor input shown in FIG. Check the incomplete sensor ball presence flag set in the processing routine and the overflow sensor ball presence flag set in the overflow detector input processing routine of FIG. 26 (steps S81-S
84), if any one flag is "0", the discharge possible flag is cleared to "0" and the process ends (step S85). On the other hand, if all the flags are "1", the discharge possible flag is set to "1" (step S86), and the prize ball data read in the prize ball data detection processing routine of FIG. 18 is stored in the discharge register 0. (step S87). In addition, the prize ball discharge indicator lamp 1
12 is turned on, the prize ball sound request flag is set to "1", and then the ejection start processing routine shown in FIG. ). The prize ball sound request flag set in step S89 is used to assert the prize ball ejection sound generation request signal D output to the game board control device 400 to a low level in the sound request output process (FIG. 49) described later. belongs to.

【0138】図33に示す排出開始処理ルーチンでは、
1つの入賞球(セーフ球)に対して1回行われる所定数
の賞品球の排出を行なうに当り、上記所定数(賞球設定
数)の賞品球を、2条に設けられた賞球導出樋710(
図3参照)の一方から幾つ排出し、他方から幾つ排出す
るか等排出の態様を予め決定すると共に、排出ソレノイ
ド1及び/又は排出ソレノイド2を励磁(ON)して上
記態様に従った賞品球の排出を開始させるものである。 本ルーチンが開始されると、先ず、ステップS102に
て、排出レジスタ0の値が「1」に設定されているか否
か判定される。排出レジスタ0の値が「1」でないとき
は、ステップS104で排出レジスタ0の値が「8」以
下であるか否かが判定される。
In the discharge start processing routine shown in FIG.
When discharging a predetermined number of prize balls for one winning ball (safe ball), the above-mentioned predetermined number (set number of prize balls) is transferred to the prize ball derivation provided in Article 2. Gutter 710 (
(See Figure 3), the mode of ejection is determined in advance, such as how many balls are ejected from one side and how many are ejected from the other, and the ejection solenoid 1 and/or the ejection solenoid 2 are energized (ON) to produce prize balls according to the above-mentioned form. This is to start the discharge of. When this routine is started, first, in step S102, it is determined whether the value of discharge register 0 is set to "1". When the value of the discharge register 0 is not "1", it is determined in step S104 whether the value of the discharge register 0 is "8" or less.

【0139】これらステップS102およびS104判
定の結果、排出レジスタ0の値が「1」のときにはステ
ップS106へ移行して1個排出フラグを“1”に設定
し、交互排出フラグを“0”にクリアして(ステップS
108,S110)から1個排出タイマをセットしてス
テップS116の反転フラグの判定へ移行する。一方、
前記ステップS104での判定の結果、排出レジスタ0
の値が「8」以上であると判定したときは、ステップS
112へ移行して1個排出フラグを“0”にクリアし、
交互排出フラグを“1”に設定(ステップS114)し
てからステップS118の反転フラグの判定へ移行する
。さらに、前記ステップS104での判定の結果、排出
レジスタ0の値が「8」以下であると判定したのときに
は、ステップS124以降の処理を実行する。
As a result of these judgments in steps S102 and S104, if the value of the discharge register 0 is "1", the process moves to step S106, where the single discharge flag is set to "1" and the alternate discharge flag is cleared to "0". (Step S
108, S110), a one-piece ejection timer is set, and the process moves to step S116, where the reversal flag is determined. on the other hand,
As a result of the determination in step S104, the discharge register 0
When it is determined that the value of is "8" or more, step S
Move to 112 and clear the one piece discharge flag to “0”,
After setting the alternate discharge flag to "1" (step S114), the process moves to step S118 to determine the reversal flag. Further, as a result of the determination in step S104, if it is determined that the value of the discharge register 0 is "8" or less, the processes from step S124 onwards are executed.

【0140】ここで、交互排出フラグは、本ルーチンに
引き続いて行なわれる排出処理(図36)の賞品球排出
の態様を後述の2つの態様(排出ソレノイド1,2を交
互に作動させて賞品球を排出する交互排出処理または排
出ソレノイド1,2を同時に作動させて賞品球を排出す
る併用排出処理)から選択する際に用いられる判定フラ
グであり、交互排出フラグが“1”に設定されていると
きには交互排出処理(賞球設定数が1〜8のとき)が、
“0”に設定されているときには併用排出処理(賞球設
定数が9〜15)が夫々行なわれる。
[0140] Here, the alternate discharge flag specifies the mode of prize ball discharge in the discharge process (FIG. 36) that is performed following this routine. This is a determination flag used when selecting from an alternate discharge process in which prize balls are discharged or a combined discharge process in which discharge solenoids 1 and 2 are activated simultaneously to discharge prize balls, and the alternate discharge flag is set to "1". Sometimes, the alternate ejection process (when the number of prize balls set is 1 to 8) is
When it is set to "0", the combined discharge process (the set number of prize balls is 9 to 15) is performed.

【0141】このように交互排出フラグの値が“1”に
設定されたのちにはステップS116で反転フラグの判
定が行なわれる。この反転フラグは、賞品球の排出を交
互排出処理にて行うに際し、球排出装置170の第1の
排出ソレノイド1(741a)と第2の排出ソレノイド
2(741b)とを交互に作動させることにより2つ上
の排出経路を均等に使用して耐久性を向上させるために
設けられたもので、「反転フラグ」の値は、ソレノイド
が1回作動される毎すなわち1排出が終了する毎に“1
”または“0”に反転される。
After the value of the alternate discharge flag is set to "1" in this manner, the reversal flag is determined in step S116. This reversal flag is set by alternately operating the first ejection solenoid 1 (741a) and the second ejection solenoid 2 (741b) of the ball ejection device 170 when ejecting prize balls in an alternate ejection process. This is provided to improve durability by using the two higher discharge paths equally, and the value of the "reversal flag" changes every time the solenoid is activated, that is, every time one discharge is completed. 1
” or inverted to “0”.

【0142】この反転フラグの判定結果が“Yes”の
ときには、ステップS120で排出ソレノイド1を励磁
して、第1の賞球導出樋からの排出を開始させてから、
反転フラグを“0”に反転させる(ステップS121)
。また、前記ステップS118の判定結果が“No”の
ときには、ステップS122で排出ソレノイド2を励磁
して第2の賞球導出樋から賞品球の排出を開始させてか
ら、反転フラグを“1”に反転させる(ステップS12
3)。
[0142] When the determination result of this reversal flag is "Yes", the discharge solenoid 1 is energized in step S120 to start discharging from the first prize ball deriving gutter, and then,
Invert the inversion flag to “0” (step S121)
. Further, when the determination result in step S118 is "No", the discharge solenoid 2 is excited in step S122 to start discharging the prize ball from the second prize ball derivation gutter, and then the reversal flag is set to "1". Invert (step S12)
3).

【0143】一方、賞球排出数が9以上のとき(前記ス
テップS104の判定結果が“No”のとき)には、併
用排出処理を行なうべくステップS124へ進む。この
併用排出処理では、先ず、ステップS124にて後述す
る排出数分割処理(図34)を行なった後、1個排出フ
ラグおよび交互排出フラグを“0”に設定し(ステップ
S126,S128)、後述の併用排出処理にて用いら
れる排出1終了フラグ,排出2終了フラグの値を“0”
にリセットする(ステップS130,ステップS132
)と共に排出ソレノイド1、排出ソレノイド2を共に励
磁して併用排出を開始させる(ステップS134,ステ
ップS136)。しかる後、ステップS138で、後述
する賞球排出処理(図35)にて排出ウェイトタイマを
起動するときに“1”に設定される排出ウェイトフラグ
を“0”にリセットする。
On the other hand, when the number of prize balls discharged is 9 or more (when the determination result in step S104 is "No"), the process advances to step S124 to perform a combined discharge process. In this combined discharge process, first, in step S124, a discharge number division process (FIG. 34), which will be described later, is performed, and then the one-piece discharge flag and the alternate discharge flag are set to "0" (steps S126, S128), which will be described later. Set the values of the discharge 1 end flag and discharge 2 end flag used in the combined discharge process to “0”.
(Step S130, Step S132
), the discharge solenoid 1 and the discharge solenoid 2 are both excited to start combined discharge (steps S134 and S136). Thereafter, in step S138, the discharge weight flag, which is set to "1" when starting the discharge weight timer in the prize ball discharge process (FIG. 35) to be described later, is reset to "0".

【0144】次のステップS140では、1個排出処理
、交互排出処理又は併用排出処理が終了したときにその
旨を示すべく“1”に設定される排出終了フラグが“0
”にリセットされ、続くステップS142では排出監視
タイマ(例えば3秒)をセットして終了する。この排出
監視タイマは、賞品球の排出が開始された時点より、所
定時間が経過するまでに後述の交互排出処理又は併用排
出処理によって排出すべき全ての賞品球の排出が完了し
たか否かを監視するために設けられるものである。
[0144] In the next step S140, the discharge end flag, which is set to "1" to indicate when the single discharge process, alternate discharge process, or combined discharge process is completed, is set to "0".
”, and in the subsequent step S142, a discharge monitoring timer (for example, 3 seconds) is set and the process ends. This is provided to monitor whether or not all the prize balls to be ejected through the alternate ejection process or the combined ejection process have been completely ejected.

【0145】図34は、上記排出開始処理(図33)の
ステップS124にて実行される排出数分割処理のサブ
ルーチンを示すフローチャートである。このルーチンは
球の排出が後述の併用排出処理にて行われるとき(排出
レジスタ0の値が9以上25以下のとき)になされる処
理である。これは、併用排出処理では排出ソレノイド1
,2が1回の制御ループで同時に作動されるため、予め
前記排出レジスタ0に記憶された値を2つに分けて排出
レジスタ1と2に夫々設定しておくものである。そして
これら2つの排出レジスタ1,2の値に応じて排出ソレ
ノイド1,2が夫々独立して作動されるようになってい
る。
FIG. 34 is a flowchart showing a subroutine of the discharge number division process executed in step S124 of the discharge start process (FIG. 33). This routine is a process that is performed when the ball is ejected in the combined ejection process described later (when the value of the ejection register 0 is 9 or more and 25 or less). This is the discharge solenoid 1 in combined discharge processing.
, 2 are operated simultaneously in one control loop, the value stored in the discharge register 0 is divided into two parts and set in the discharge registers 1 and 2, respectively. The discharge solenoids 1 and 2 are operated independently according to the values of these two discharge registers 1 and 2, respectively.

【0146】本ルーチンが開始されると、ステップS1
51〜S175にて順次、排出レジスタの値が、「9」
であるか否か(ステップS151)、「10」であるか
否か(ステップS152)、「11」であるか否か(ス
テップS153)、「12」であるか否か(ステップS
154)、そして以下同様にして「25」までが判定さ
れる(ステップS175)。「25」まで判定を行なう
のは、玉貸し排出の際には一回の排出要求に対して25
個の玉が排出されるからである。前記ステップS151
の判定結果が“Yes”のときにはステップS181に
て排出レジスタ1の値を「5」に設定すると共にステッ
プS182にて排出レジスタ2の値を「4」に設定して
本ルーチンを終了する。
[0146] When this routine is started, step S1
In steps 51 to S175, the value of the discharge register is set to "9" in sequence.
(Step S151), “10” (Step S152), “11” (Step S153), and “12” (Step S152).
154), and thereafter, up to "25" are determined in the same manner (step S175). The reason why the judgment is made up to ``25'' is that when discharging balls for rent, 25 is determined for one discharge request.
This is because individual balls are ejected. Said step S151
If the result of the determination is "Yes", the value of the discharge register 1 is set to "5" in step S181, and the value of the discharge register 2 is set to "4" in step S182, and this routine ends.

【0147】以後、前記ステップS152の判定結果が
“Yes”のときには排出レジスタ1,2の値を共に「
5」に設定し(ステップS183,ステップS184)
、前記ステップS153の判定結果が“Yes”のとき
には排出レジスタ1の値を「6」に設定する(ステップ
S185)とともに排出レジスタ2の値を“5”に設定
し(ステップS186)、前記ステップS154の判定
結果が“Yes”のときには排出レジスタ1,2の値を
共に「6」に設定し(ステップS187,ステップS1
88)。以下同様にして、排出レジスタ0の値が奇数の
ときには排出レジスタ1に排出レジスタ2よりも1つだ
け大きな値を設定し、排出レジスタ0の値が偶数のとき
には排出レジスタ1と排出レジスタ2に同じ値を設定す
る。
[0147] Thereafter, when the judgment result in step S152 is "Yes", the values of discharge registers 1 and 2 are both set to "
5” (step S183, step S184)
When the determination result in step S153 is "Yes", the value of discharge register 1 is set to "6" (step S185), and the value of discharge register 2 is set to "5" (step S186), and the value of discharge register 2 is set to "5" (step S186), and the value of discharge register 2 is set to "5" (step S186). When the determination result is "Yes", the values of discharge registers 1 and 2 are both set to "6" (step S187, step S1
88). Similarly, if the value of discharge register 0 is an odd number, set the value in discharge register 1 to one value larger than discharge register 2, and if the value of discharge register 0 is an even number, set the same value to discharge register 1 and discharge register 2. Set the value.

【0148】図35は、前述した賞球排出制御装置側の
CPU610によって実行されるメインルーチン(図1
5)のステップS18において実行される賞球排出処理
のサブルーチンを示すフローチャートである。本ルーチ
ンはメインルーチン(図15)のステップS8において
、処理ナンバーが「2」と判定されたときに開始され、
先ず、ステップS202にて排出ウェイトフラグが“1
”であるか否かが判別される。この排出ウェイトフラグ
は、1つのセーフ球に対応した所定数(賞球排出数)の
賞品球の排出が終了して後述のウェイトタイマが作動し
たときに(ステップS210)その値が“1”に設定さ
れ、前述の排出開始処理(図33)のステップS138
にて“0”にリセットされるものである。従って、1つ
のセーフ球に対応した所定数(賞球排出数)の賞品球の
排出が終了した後初めてステップS202の判別結果が
“Yes”となる。このステップS202の判別結果が
“No”であるうちは、ステップS204に進んで、排
出処理(図36)による賞品球の排出を行なった後ステ
ップS206に進む。このステップS206では、排出
終了フラグが“1”であるか否かが判別される。この排
出終了フラグは、1個排出(図37)、交互排出処理(
図38)又は併用排出処理(図39)によって、1つの
入賞球等に対応した所定数(賞球設定数)の球の排出が
完了したときにその値が“1”に設定されるものである
。従って、この判別結果が“No”のときには続くステ
ップS208乃至ステップS216をスキップして、本
ルーチンを終了する。
FIG. 35 shows the main routine (FIG. 1) executed by the CPU 610 of the prize ball discharge control device described above.
It is a flowchart which shows the subroutine of the prize ball discharge process performed in step S18 of 5). This routine is started when the processing number is determined to be "2" in step S8 of the main routine (FIG. 15),
First, in step S202, the discharge weight flag is set to "1".
”.This ejection weight flag is set when a predetermined number of prize balls corresponding to one safe ball (number of prize balls ejected) has been ejected and the weight timer described below is activated. (Step S210) The value is set to "1", and step S138 of the above-mentioned discharge start process (FIG. 33)
It is reset to "0" at Therefore, the determination result in step S202 becomes "Yes" only after a predetermined number (number of prize balls ejected) corresponding to one safe ball has been ejected. As long as the determination result in step S202 is "No", the process proceeds to step S204, where the prize ball is ejected by the ejection process (FIG. 36), and then the process proceeds to step S206. In this step S206, it is determined whether the discharge end flag is "1". This discharge completion flag indicates single discharge (Figure 37), alternate discharge processing (
The value is set to "1" when a predetermined number (set number of prize balls) corresponding to one prize ball, etc. has been discharged by the combined discharge process (Figure 38) or the combined discharge process (Figure 39). be. Therefore, when the result of this determination is "No", the following steps S208 to S216 are skipped, and this routine is ended.

【0149】所定数の賞品球の排出が完了して、前記ス
テップS206の判別結果が“Yes”に転じたときに
は、排出ウェイトフラグを“1”に設定し(ステップS
208)、排出ウェイトタイマを所定時間(例えば40
0m秒)にセットし(ステップS210)、さらに賞球
排出表示ランプ112を消灯(OFF)した(ステップ
S212)後、読込み確定フラグを“1”に設定し、賞
球数データを賞球排出カウンタに加算して本ルーチンを
終了する(ステップS214,S216)。上記読込み
確定フラグおよび賞球排出カウンタは、後述の賞球情報
出力処理(図50)において、パチンコ遊技機のデータ
をホールの管理装置700に知らせるときに使用される
。 上記ステップS206の判別結果が“Yes”に転じた
後のループでは、ステップS208で排出ウェイトフラ
グが“1”に設定されることにより、前記ステップS2
02の判別結果が“Yes”に転じ、ステップS218
が実行される。このステップS218では前記排出ウェ
イトタイマがタイムアップしたか否かが判別され、判別
結果が“No”、即ち所定数の賞品球の排出が終了した
後前記所定時間が未だ経過していないときにはそのまま
本ルーチンを終了し、当該所定時間が経過するまでステ
ップS202及びステップS218のみを繰返し実行す
る。そして、上記所定時間が経過してステップS218
の判別結果が“Yes”になると、ステップS220に
進んで処理ナンバーを“0”に設定して、本ルーチンを
終了する。
[0149] When the ejection of a predetermined number of prize balls is completed and the determination result in step S206 changes to "Yes", the ejection weight flag is set to "1" (step S206).
208), the discharge wait timer is set to a predetermined time (for example, 40
0 msec) (step S210), and after turning off the prize ball ejection display lamp 112 (off step S212), the reading confirmation flag is set to "1" and the prize ball number data is stored in the prize ball ejection counter. , and then ends this routine (steps S214, S216). The reading confirmation flag and the prize ball discharge counter are used when informing the pachinko game machine data to the hall management device 700 in the prize ball information output process (FIG. 50), which will be described later. In the loop after the determination result in step S206 changes to "Yes", the discharge weight flag is set to "1" in step S208, so that the discharge weight flag in step S206 is set to "1".
The determination result of 02 changes to “Yes” and the process proceeds to step S218.
is executed. In this step S218, it is determined whether or not the ejection wait timer has timed up. If the determination result is "No", that is, the predetermined time has not yet elapsed after the ejection of a predetermined number of prize balls has been completed, the main game is continued. The routine is ended, and only steps S202 and S218 are repeatedly executed until the predetermined time period has elapsed. Then, after the predetermined time has elapsed, step S218
If the determination result becomes "Yes", the process advances to step S220, the processing number is set to "0", and this routine ends.

【0150】図36は、上述した賞球排出処理(図35
)のステップS204にて行われる排出処理のサブルー
チンを示すフローチャートである。本ルーチンが開始さ
れると、先ず、ステップS222にて排出エラーフラグ
が“1”であるか否かが判別される。この排出エラーフ
ラグは排出開始処理の実行時(図33のステップS14
2)にセットされた排出監視タイマがカウントアップす
るまでに所定数の賞品球の排出が完了しないときに排出
制御系の異常を示すべくその値が“1”に設定される(
後述のステップS230にて“1”に設定される)もの
である。従って、このステップS222での判別結果が
“Yes”のときにはステップS252にて後述の排出
エラー回復処理(図40)を行なって本ルーチンを終了
する。
FIG. 36 shows the above-mentioned prize ball ejection process (FIG. 35).
) is a flowchart showing a subroutine of the discharge process performed in step S204. When this routine is started, first, in step S222, it is determined whether or not the discharge error flag is "1". This discharge error flag is set when the discharge start process is executed (step S14 in FIG. 33).
2) When the ejection of a predetermined number of prize balls is not completed by the time the ejection monitoring timer set in 2) counts up, the value is set to "1" to indicate an abnormality in the ejection control system (
(set to "1" in step S230, which will be described later). Therefore, when the determination result in step S222 is "Yes", a discharge error recovery process (FIG. 40) to be described later is performed in step S252, and this routine is ended.

【0151】一方、ステップS222の判別結果が“N
o”のときにはステップS224に進み、排出終了フラ
グが“1”であるか否かが判別される。この排出終了フ
ラグは、前述したように、1個排出(図37)、交互排
出処理(図38)又は併用排出処理(図39)によって
、1つの入賞球等に対応した所定数(賞球設定数)の球
の排出が完了したときにその値が“1”に設定されるも
のである。このステップS222の判別結果が“No”
であるうちは、ステップS226に進み、排出開始処理
の実行時(図33のステップS142)にセットされた
排出監視タイマがタイムアップしたか否か判定する。そ
して、“No”ならステップS228,S230へ進ん
で、前述の排出開始処理(図33)にて設定される1個
排出フラグおよび交互排出フラグを調べて、1個排出フ
ラグが“1”のときにはステップS232の1個排出処
理(図37参照)を、また、交互排出フラグが“1”の
ときにはステップS234(図38参照)を、さらに交
互排出フラグが“0”のときにはステップS236の併
用排出処理(図39)を実行する。
On the other hand, the determination result in step S222 is “N
o", the process advances to step S224, and it is determined whether or not the discharge end flag is "1". As described above, this discharge end flag is used for single discharge (FIG. 37), alternate discharge processing (FIG. 38) or the combined discharge process (Fig. 39), the value is set to "1" when the discharge of a predetermined number (set number of prize balls) corresponding to one winning ball, etc. is completed. .The determination result of this step S222 is “No”.
If so, the process advances to step S226, and it is determined whether the discharge monitoring timer set at the time of execution of the discharge start process (step S142 in FIG. 33) has timed up. If "No", the process advances to steps S228 and S230, and the one-piece discharge flag and the alternate discharge flag set in the above-mentioned discharge start process (FIG. 33) are checked, and if the one-piece discharge flag is "1", The single discharge process of step S232 (see FIG. 37) is performed, and when the alternate discharge flag is "1", step S234 (see FIG. 38) is executed, and when the alternate discharge flag is "0", the combined discharge process of step S236 is performed. (Figure 39) is executed.

【0152】一方、上記ステップS226で排出監視タ
イマがタイムアップしたと、すなわち排出開始後一定時
間経過しても排出が終了しないと判定すると、排出異常
発生と判断して排出ソレノイド1と2をオフさせ(ステ
ップS238,S240)かつ排出エラーフラグを“1
”に設定(ステップS242)した後、処理ナンバーに
応じて賞球排出処理中なら賞球排出表示ランプ112を
、また玉貸し排出中なら玉貸し排出表示をそれぞれ点滅
状態にさせてエラー表示を行なって終了する(ステップ
S244,S246,S248,S250)。
On the other hand, if it is determined in step S226 that the discharge monitoring timer times up, that is, if it is determined that the discharge does not end even after a certain period of time has passed after the start of discharge, it is determined that a discharge abnormality has occurred and discharge solenoids 1 and 2 are turned off. (steps S238, S240) and set the discharge error flag to "1".
” (step S242), the prize ball discharge display lamp 112 is made to blink if the prize ball discharge process is in progress, and the ball loan discharge display is blinked if the ball loan is being discharged, to display an error. The process ends (steps S244, S246, S248, S250).

【0153】図37は、上述した排出処理(図36)の
ステップS232にて行われる1個排出処理のサブルー
チンを示すフローチャートである。この処理が開始され
ると、まず図33のステップS110でセットされる1
個排出タイマがタイムアップしたか否か判定し(ステッ
プS262)、“No”なら何もせず、また“Yes”
すなわち1個排出タイマに設定された時間が経過すると
、ステップS264へ移行して反転フラグが“1”か“
0”か調べる。そして、反転フラグが“0”なら排出ソ
レノイド1をオフ(ステップS266)、また反転フラ
グが“1”なら排出ソレノイド2をオフ(ステップS2
68)して1個排出を終了させてから、排出終了フラグ
を“1”に設定してルーチンを終了する(ステップS2
70)。
FIG. 37 is a flowchart showing a subroutine of the one-piece ejection process performed in step S232 of the above-described ejection process (FIG. 36). When this process is started, 1 is first set in step S110 in FIG.
It is determined whether the piece discharge timer has timed up (step S262), and if "No", nothing is done, or "Yes"
That is, when the time set in the one-piece discharge timer has elapsed, the process moves to step S264 and it is determined whether the reversal flag is "1" or not.
If the reversal flag is "0", discharge solenoid 1 is turned off (step S266), and if the reversal flag is "1", discharge solenoid 2 is turned off (step S26).
68) to finish discharging one piece, and then setting the discharging end flag to "1" and ending the routine (step S2
70).

【0154】図38は上述した排出処理(図36)のス
テップS234にて行われる交互排出処理のサブルーチ
ンを示すフローチャートである。前述したように本ルー
チンは排出される賞品球の数(賞球設定数)が「8」以
下のときに行われる処理であり、本ルーチンでは上述し
た賞球排出装置170の排出ソレノイド1と2を交替に
使って賞品球を排出するものである。本ルーチンが開始
されると、先ずステップS272にて、反転フラグが“
0”か“1”か調べる。そして、反転フラグが“0”の
ときはステップS274へ進んで、排出センサ1立上り
フラグが“1”であるか否かを判定する。この排出1立
上フラグは予備球が排出センサ1内より脱したときにそ
の値が“1”に設定されるものである。従って、この判
定結果が“No”なら何もせず、また“Yes”となっ
たときには排出レジスタ0の値(排出玉数)を1つだけ
減算してから上記排出センサ1立上りフラグをクリアす
る(ステップS276,S278)。次に、上記排出レ
ジスタ0の値が「1」になったか否かすなわち予め設定
された数の玉を排出したか否か判定し(ステップS28
0)、排出レジスタ0の値が「1」になったなら排出ソ
レノイド1をオフさせ、かつ排出終了フラグを“1”に
セットしてルーチンを終了する(ステップS282,S
284)。
FIG. 38 is a flowchart showing a subroutine of the alternate discharge process performed in step S234 of the above-described discharge process (FIG. 36). As mentioned above, this routine is a process that is performed when the number of prize balls to be ejected (prize ball setting number) is "8" or less, and in this routine, the ejection solenoids 1 and 2 of the above-mentioned prize ball ejecting device 170 are activated. The prize balls are ejected by taking turns using the balls. When this routine starts, first, in step S272, the inversion flag is set to “
0" or "1". Then, when the reversal flag is "0", the process advances to step S274, and it is determined whether the discharge sensor 1 rise flag is "1".This discharge 1 rise flag is set to "1" when the spare ball escapes from inside the ejection sensor 1. Therefore, if the judgment result is "No", nothing will be done, and if it is "Yes", the ejection will be performed. After decrementing the value of register 0 (number of balls ejected) by one, the ejection sensor 1 rising flag is cleared (steps S276, S278).Next, it is determined whether the value of ejection register 0 has become "1" or not. In other words, it is determined whether a preset number of balls have been ejected (step S28).
0), when the value of the discharge register 0 becomes "1", the discharge solenoid 1 is turned off, the discharge end flag is set to "1", and the routine ends (steps S282 and S282).
284).

【0155】一方、前記ステップS272の判定結果が
“No”すせわち反転フラグが“1”のときにはステッ
プS286に進む。ステップS286では排出センサ2
立上りフラグが“1”であるか否かを判定する。この排
出2立上フラグは予備球が排出センサ2内より脱したと
きにその値が“1”に設定されるものである。従って、
この判定結果が“No”なら何もせず、また“Yes”
となったときには排出レジスタ0の値(排出玉数)を1
つだけ減算してから上記排出センサ2立上りフラグをク
リアする(ステップS288,S290)。次に、上記
排出レジスタ0の値が「1」になったか否かすなわち予
め設定された数の玉を排出したか否か判定し(ステップ
S292)、排出レジスタ0の値が「1」になったなら
排出ソレノイド1をオフさせてから、排出終了フラグを
“1”にセットしてルーチンを終了する(ステップS2
94,S284)。このルーチンでは排出ソレノイド1
または2による排出を、排出レジスタ0の値が「1」に
なった時点で終了させているのは、排出ソレノイドのオ
フタイミングを調整するためである。つまり、本実施例
では排出センサの下流側にストッパが配置されているの
で、排出レジスタ0の値が「0」になった時点で排出を
終了させると、実際には1つ余計に玉が排出されてしま
うからである。
On the other hand, if the determination result in step S272 is "No", that is, the inversion flag is "1", the process advances to step S286. In step S286, the discharge sensor 2
It is determined whether the rising flag is "1". The value of this ejection 2 rising flag is set to "1" when the spare ball escapes from the ejection sensor 2. Therefore,
If this judgment result is “No”, do nothing, and “Yes”
When this happens, the value of the discharge register 0 (number of balls discharged) is set to 1.
After subtracting by one, the discharge sensor 2 rise flag is cleared (steps S288, S290). Next, it is determined whether the value of the ejection register 0 has become "1", that is, whether or not a preset number of balls have been ejected (step S292), and the value of the ejection register 0 has become "1". Then, after turning off the discharge solenoid 1, the discharge end flag is set to "1" and the routine is terminated (step S2).
94, S284). In this routine, discharge solenoid 1
The reason why the discharge according to or 2 is ended when the value of the discharge register 0 becomes "1" is to adjust the off timing of the discharge solenoid. In other words, in this embodiment, since the stopper is placed downstream of the ejection sensor, if ejection ends when the value of ejection register 0 reaches "0", one extra ball will actually be ejected. This is because it will be done.

【0156】図39は上述した排出処理(図36)のス
テップS236にて行われる併用排出処理のサブルーチ
ンを示すフローチャートである。前述したように本ルー
チンは排出される賞品球の数(賞球設定数)が「9」以
上のときに行われる処理であり、本ルーチンでは上述し
た賞球排出装置170の排出ソレノイド1と2を同時に
作動させて賞品球を排出するものである。本ルーチンが
開始されると、先ず図33の排出開始処理のステップS
130でリセットされた排出1終了フラグが“1”にな
ったか否か判定する(ステップS302)。排出開始直
後は排出1終了フラグは“0”であるため、“No”と
判定されてステップS304へ進んで、排出センサ1立
上りフラグが“1”であるか否かを判定する。この判定
結果が“No”なら何もせず、また“Yes”なら排出
レジスタ1の値(排出玉数)を1つだけ減算してから上
記排出センサ1立上りフラグをクリアする(ステップS
306,S308)。次に、上記排出レジスタ0の値が
「1」になったか否かすなわち予め設定された数の玉を
排出したか否か判定し(ステップS310)、排出レジ
スタ0の値が「1」になったなら排出ソレノイド1をオ
フさせ、かつ排出1終了フラグを“1”にセットする(
ステップS312,S314)。
FIG. 39 is a flowchart showing a subroutine of the combined discharge process performed in step S236 of the above-described discharge process (FIG. 36). As mentioned above, this routine is a process that is performed when the number of prize balls to be ejected (prize ball setting number) is "9" or more, and in this routine, the ejection solenoids 1 and 2 of the above-mentioned prize ball ejecting device 170 are activated. The prize balls are ejected by simultaneously operating the balls. When this routine is started, first, step S of the discharge start process in FIG.
It is determined whether the discharge 1 end flag reset in step 130 has become "1" (step S302). Immediately after the discharge starts, the discharge 1 end flag is "0", so the determination is "No" and the process proceeds to step S304, where it is determined whether the discharge sensor 1 rise flag is "1". If the judgment result is "No", nothing is done, and if "Yes", the value of the discharge register 1 (the number of balls discharged) is subtracted by one, and then the discharge sensor 1 rising flag is cleared (step S
306, S308). Next, it is determined whether the value of the ejection register 0 has become "1", that is, whether or not a preset number of balls have been ejected (step S310), and the value of the ejection register 0 has become "1". If so, turn off the discharge solenoid 1 and set the discharge 1 end flag to "1" (
Steps S312, S314).

【0157】次に、ステップS316へ進み、図33の
排出開始処理のステップS132でリセットされた排出
2終了フラグが“1”になったか否か判定する。排出開
始直後は排出2終了フラグは“0”であるため、“No
”と判定されてステップS318へ進んで、排出センサ
2立上りフラグが“1”であるか否かを判定する。この
判定結果が“No”なら何もせず、また“Yes”なら
上記排出センサ2立上りフラグをクリアしてから排出レ
ジスタ2の値(排出玉数)を1つだけ減算する(ステッ
プS320,S322)。次に、上記排出レジスタ2の
値が「1」になったか否かすなわち予め設定された数の
玉を排出したか否か判定し(ステップS324)、排出
レジスタ2の値が「1」になったなら排出ソレノイド2
をオフさせ、かつ排出2終了フラグを“1”にセットす
る(ステップS326,S328)。それから排出1終
了フラグが“1”か否か判定し(ステップS330)、
“Yes”なら次のステップS332で排出終了フラグ
を“1”にセットしてルーチンを終了する。排出系1の
側が先に排出を終了した場合に、ステップS330−S
332と進んで終了する。
Next, the process advances to step S316, and it is determined whether or not the discharge 2 end flag reset in step S132 of the discharge start process in FIG. 33 has become "1". Immediately after the start of discharge, the discharge 2 end flag is “0”, so “No.
”, the process proceeds to step S318, and it is determined whether or not the discharge sensor 2 rise flag is "1". If the determination result is "No", nothing is done, and if the determination result is "Yes", the discharge sensor 2 is After clearing the rising flag, the value of the discharge register 2 (the number of balls to be discharged) is subtracted by one (steps S320, S322).Next, it is determined whether the value of the discharge register 2 has become "1" or not. It is determined whether or not the set number of balls have been ejected (step S324), and if the value of the ejection register 2 becomes "1", the ejection solenoid 2 is activated.
is turned off, and the discharge 2 end flag is set to "1" (steps S326, S328). Then, it is determined whether the discharge 1 end flag is “1” (step S330),
If "Yes", the discharge end flag is set to "1" in the next step S332, and the routine ends. If the discharge system 1 side finishes discharging first, step S330-S
332 and ends.

【0158】一方、排出系2の側が先に排出を終了した
場合には、ステップS330で“No”と判定され、そ
の後再びこのルーチンが実行されたときにステップS3
14で排出1終了フラグが“1”にセットされてステッ
プS316へ進み、ここで“Yes”と判定されてステ
ップS332へジャンプし、排出終了フラグを“1”に
セットしてルーチンを終了する。以上のように、賞球設
定数が大きな値(9〜15)に設定されているときに該
設定数を分割して2つの排出レジスタ1,2にその値を
記憶し、排出レジスタ1,2の値に基づいて第1及び第
2の排出ソレノイドを夫々独立して作動させることによ
り、多数の賞品球の排出が一層迅速に行えるようになる
On the other hand, if the discharge system 2 side finishes discharging first, the determination in step S330 is "No", and then when this routine is executed again, the process returns to step S3.
At step S14, the discharge 1 end flag is set to "1" and the process proceeds to step S316, where the determination is "Yes" and the process jumps to step S332, where the discharge end flag is set to "1" and the routine ends. As described above, when the set number of prize balls is set to a large value (9 to 15), the set number is divided and the values are stored in the two ejection registers 1 and 2. By operating the first and second ejection solenoids independently based on the value of , ejection of a large number of prize balls can be performed more quickly.

【0159】図40は、上述した排出処理(図36)の
ステップS252にて行われる排出エラー回復処理のサ
ブルーチンを示すフローチャートである。このルーチン
が開始されると、まず図22の排出センサ1レベル入力
処理のステップS4832で設定される排出1エラー解
除フラグが“1”であるか否か、また図23の排出セン
サ2レベル入力処理のステップS5032で設定される
排出2エラー解除フラグが“1”であるか否かそれぞれ
判定する(ステップS342,S344)。そして、両
方の判定でともに“Yes”となると、ステップS34
6以下の処理を行なう。ステップS346−S352で
は、図32の賞球開始処理におけるステップS81−S
86と同様の手続に従って、図22および図23の排出
センサレベル入力処理ルーチンで設定される排出センサ
1玉有フラグおよび排出センサ2玉有フラグと、図27
の半端センサ入力処理ルーチンで設定される半端センサ
玉有フラグさらに図26のオーバーフロー検出器入力処
理ルーチンで設定されるオーバーフロー玉有フラグを調
べて、いずれか一つのフラグでも“0”になっている場
合には排出可能フラグを“0”にクリアして終了する(
ステップS354)。
FIG. 40 is a flowchart showing a subroutine of the ejection error recovery process performed in step S252 of the above-mentioned ejection process (FIG. 36). When this routine is started, it is first determined whether the discharge 1 error release flag set in step S4832 of the discharge sensor 1 level input process in FIG. 22 is "1", and whether or not the discharge sensor 2 level input process in FIG. It is determined whether the discharge 2 error release flag set in step S5032 is "1" (steps S342, S344). If both determinations result in "Yes", step S34
6 or below. In steps S346-S352, steps S81-S in the prize ball start process of FIG.
86, the discharge sensor 1 flag and the discharge sensor 2 flag set in the discharge sensor level input processing routine of FIGS. 22 and 23, and the discharge sensor 2 flag set in FIG.
Checking the odd sensor error flag set in the odd sensor input processing routine in Figure 26 and the overflow error flag set in the overflow detector input processing routine in Figure 26, any one of the flags is "0". If so, clear the ejectable flag to “0” and exit (
Step S354).

【0160】一方、すべてのフラグが“1”になってい
る場合には排出可能フラグを“1”にセットし(ステッ
プS356)、次のステップS358で上記排出可能フ
ラグが“1”になっているか否か調べ、“1”ならステ
ップS360およびS362で排出レジスタ1と排出レ
ジスタ2の値がそれぞれ「1」を越えているか判定し、
排出レジスタ1の値が「1」以下のときは排出レジスタ
2の値を、また排出レジスタ2の値が「1」以下のとき
は排出レジスタ1の値を、さらに排出レジスタ1と排出
レジスタ2の値がともに「1」を越えているときは両方
の値を排出レジスタ0に設定する(ステップS364,
S366,S368)。それから、図33の排出開始処
理と同一の処理を行なう(ステップS378)。これに
よって、2つの排出系のうちいずれか一方が球詰りを起
こして排出エラーを起こしたような場合にも、排出レジ
スタに残っている未排出の玉数が改めて排出レジスタ0
に設定されて再度排出が開始されるようになるため、正
常な他方の排出系を使用した排出が行なわれ、故障によ
るパチンコ遊技機の遊技中断を回避することができる。
On the other hand, if all the flags are set to "1", the ejectable flag is set to "1" (step S356), and in the next step S358, the ejectable flag is set to "1". If it is "1", it is determined in steps S360 and S362 whether the values of discharge register 1 and discharge register 2 each exceed "1",
When the value of ejection register 1 is "1" or less, the value of ejection register 2 is used, and when the value of ejection register 2 is "1" or less, the value of ejection register 1 is used, and the value of ejection register 1 and ejection register 2 is If both values exceed "1", both values are set in the discharge register 0 (step S364,
S366, S368). Then, the same process as the discharge start process in FIG. 33 is performed (step S378). As a result, even if one of the two ejection systems becomes clogged with balls and causes an ejection error, the number of unejected balls remaining in the ejection register will be reset to 0 in the ejection register.
Since the setting is set to 1 and the discharge is started again, the discharge is performed using the other normal discharge system, and it is possible to avoid interrupting the game of the pachinko game machine due to a malfunction.

【0161】なお、このルーチンでは上記排出開始処理
(ステップS378)に先立って、処理ナンバーをチェ
ックしてナンバーが「2」のときは賞球排出表示ランプ
112を、またナンバーが「3」のときは貸玉排出表示
ランプ113をそれぞれ点灯されるようになっている(
ステップS370,S372,S374,S376)。 さらに、上記排出開始処理(ステップS378)終了後
には排出エラーフラグを“0”にクリアして本ルーチン
を終了する(ステップS380)。上記ステップS36
0で排出レジスタ1の値が「1」以下のときはステップ
S364で排出レジスタ2の値を排出レジスタ0に設定
しているのは、排出レジスタの値が「1」ということは
排出終了を意味しており、それにもかかわらず本ルーチ
ンのエラー回復処理に入ってきたのは排出レジスタ2に
未排出の玉数が残っていると推定できるからである。同
様に、ステップS362で排出レジスタ2の値が「1」
以下のときはステップS366で排出レジスタ1の値を
排出レジスタ0に設定しているのは、排出レジスタ2に
未排出の玉数が残っていると推定できるからである。
[0161] In this routine, prior to the above-mentioned discharge start processing (step S378), the processing number is checked, and if the number is "2", the prize ball discharge display lamp 112 is turned on, and if the number is "3", the prize ball discharge display lamp 112 is turned on. The ball rental indicator lamp 113 is lit respectively (
Steps S370, S372, S374, S376). Further, after the discharge start process (step S378) is completed, the discharge error flag is cleared to "0" and this routine is ended (step S380). Above step S36
0 and the value of the discharge register 1 is less than "1", the value of the discharge register 2 is set to the discharge register 0 in step S364.The reason why the value of the discharge register is "1" means that the discharge has ended. Despite this, the error recovery process of this routine is entered because it can be estimated that the number of balls that have not been ejected remains in the ejection register 2. Similarly, in step S362, the value of the discharge register 2 is "1".
In the following cases, the value of the discharge register 1 is set to the discharge register 0 in step S366 because it can be estimated that the number of undischarged balls remains in the discharge register 2.

【0162】図41は、前述した排出制御装置のメイン
ルーチン(図15)のステップS21で実行される玉貸
開始処理のサブルーチンを示すフローチャートである。 このサブルーチンは、図17の玉貸しリクエスト検出処
理ルーチンのステップS4122で玉貸し要求フラグが
セットされ、メインルーチンのステップS11で“Ye
s”と判定されることによって開始される。このサブル
ーチンが開始されると、まず前記図22および図23の
排出センサレベル入力処理ルーチンで設定される排出セ
ンサ1玉有フラグおよび排出センサ2玉有フラグと、図
27の半端センサ入力処理ルーチンで設定される半端セ
ンサ玉有フラグさらに図26のオーバーフロー検出器入
力処理ルーチンで設定されるオーバーフロー玉有フラグ
を調べて(ステップS402−S408)、いずれか一
つのフラグでも“0”になっている場合には排出可能フ
ラグを“0”にクリアして終了する(ステップS410
)。
FIG. 41 is a flowchart showing the subroutine of the ball lending start process executed in step S21 of the main routine (FIG. 15) of the discharge control device described above. In this subroutine, the ball lending request flag is set in step S4122 of the ball lending request detection processing routine in FIG.
When this subroutine is started, first the discharge sensor 1 flag and the discharge sensor 2 flag set in the discharge sensor level input processing routine of FIGS. 22 and 23 are set. The flag, the odd sensor error flag set in the odd sensor input processing routine of FIG. 27, and the overflow error flag set in the overflow detector input processing routine of FIG. 26 are checked (steps S402-S408), and either If even one flag is “0”, the discharge possible flag is cleared to “0” and the process ends (step S410).
).

【0163】一方、すべてのフラグが“1”になってい
る場合には排出可能フラグを“1”にセットし(ステッ
プS412)、予めROM内に設定されている変換レー
ト(玉貸し数データ)を排出レジスタ0にセットする(
ステップS414)。また、貸玉排出表示ランプ113
を点灯させ(ステップS416)、玉貸し音要求フラグ
およびP台レディフラグを“1”にセット(ステップS
418,S420)してから、賞球排出処理と共通の排
出開始処理ルーチン(図33参照)を実行して球排出装
置170による排出を開始させた後、処理ナンバーを「
3」にして終了する(ステップS422,S424)。 玉貸し排出では玉貸し数データが例えば25個のような
値(>8)に設定されるため、ステップS422の排出
開始処理ルーチンが実行される場合、2系統の排出系を
同時に使用した排出が開始される。
On the other hand, if all the flags are set to "1", the discharge possible flag is set to "1" (step S412), and the conversion rate (ball rental number data) set in advance in the ROM is set. Set to discharge register 0 (
Step S414). In addition, the ball rental indicator lamp 113
is turned on (step S416), and the ball rental sound request flag and the P unit ready flag are set to "1" (step S416).
418, S420), executes the discharge start processing routine (see FIG. 33) common to the prize ball discharge process to start discharge by the ball discharge device 170, and then sets the process number to "
3'' and ends (steps S422, S424). In ball rental discharge, the ball rental number data is set to a value such as 25 (>8), so when the discharge start processing routine of step S422 is executed, discharge using two discharge systems simultaneously is not possible. will be started.

【0164】なお、上記ステップS418,S420で
セットされる玉貸し音要求フラグは遊技盤制御装置40
0に対して出力する貸玉排出音発生要求信号Eを後述の
音要求出力処理(図49)でロウレベルに、またP台レ
ディフラグは玉貸し制御装置500に対して出力する玉
貸レディ信号Uを後述の貸し玉情報出力処理(図48)
でロウレベルに、それぞれアサートさせるためのもので
ある。
[0164] Note that the ball rental sound request flag set in steps S418 and S420 is set by the game board control device 40.
The ball rental sound generation request signal E output for the ball rental controller 500 is set to low level in the sound request output process (FIG. 49) described later, and the P machine ready flag is set to the ball rental ready signal U output to the ball rental control device 500. The ball rental information output process (Figure 48) will be described later.
This is for asserting each at low level.

【0165】図42は、前述した排出制御装置側のCP
U610によって実行されるメインルーチン(図15)
のステップS17において実行される玉貸排出処理のサ
ブルーチンを示すフローチャートである。本ルーチンは
、上記サブルーチン(図41)のステップS424で処
理ナンバーが“3”に設定され、メインルーチン(図1
5)のステップS7において、処理ナンバーが“3”と
判定されたときに開始され、先ず、ステップS432に
て排出ウェイトフラグが“1”であるか否かが判別され
る。この排出ウェイトフラグは、1つの玉貸し要求信号
に対応した所定数の貸し玉の排出が終了して後述のウェ
イトタイマが作動(ステップS440)したときにその
値が“1”に設定され、前述の排出開始処理(図33)
のステップS138にて“0”にリセットされるもので
ある。従って、1つの玉貸し要求信号に対応した所定数
貸し玉の排出が終了した後に初めてステップS432の
判別結果が“Yes”となる。このステップS432の
判別結果が“No”であるうちは、ステップS434に
進んで、賞球排出処理と共通の排出処理(図36)によ
る貸し玉の排出を行なった後、ステップS436に進む
。このステップS436では、排出終了フラグが“1”
であるか否かが判別される。この排出終了フラグは、上
記排出処理ルーチン(図36)中において行なわれる図
39に示す併用排出処理(1個排出および交互排出処理
は、この貸し玉排出では原則として行なわれない)によ
って、1つの玉貸し要求信号に対応した所定数の球の排
出が完了したときにその値が“1”に設定されるもので
ある。従って、この判別結果が“No”のときには続く
ステップS438乃至ステップS446をスキップして
、本ルーチンを終了する。
FIG. 42 shows the CP on the emission control device side described above.
Main routine executed by U610 (Figure 15)
It is a flowchart which shows the subroutine of the ball rental discharge process performed in step S17 of. In this routine, the processing number is set to "3" in step S424 of the above subroutine (FIG. 41), and the main routine (FIG. 1
The process starts when the process number is determined to be "3" in step S7 of 5), and first, in step S432, it is determined whether or not the discharge weight flag is "1". The value of this discharge weight flag is set to "1" when the discharge of a predetermined number of rented balls corresponding to one ball rental request signal is completed and the wait timer described below is activated (step S440), and the value is set to "1", Discharge start process (Figure 33)
It is reset to "0" in step S138. Therefore, the determination result in step S432 becomes "Yes" only after a predetermined number of rental balls corresponding to one ball rental request signal have been discharged. As long as the determination result in step S432 is "No", the process proceeds to step S434, where the rented balls are ejected by the ejecting process (FIG. 36) that is common to the prize ball ejecting process, and then the process proceeds to step S436. In this step S436, the discharge end flag is set to "1".
It is determined whether or not. This discharge end flag is set by the combined discharge process shown in FIG. 39 (single-piece discharge and alternate discharge processes are not performed in this rented ball discharge) performed in the above-mentioned discharge process routine (FIG. 36). The value is set to "1" when the ejection of a predetermined number of balls corresponding to the ball lending request signal is completed. Therefore, when the result of this determination is "No", the following steps S438 to S446 are skipped, and this routine is ended.

【0166】所定数の賞品球の排出が完了して、前記ス
テップS436の判別結果が“Yes”に転じたときに
は、排出ウェイトフラグを“1”に設定し(ステップS
438)、排出ウェイトタイマを所定時間(例えば40
0m秒)にセットし(ステップS440)、さらに払出
終了フラグを“1”に設定した(ステップS212)後
、貸玉排出表示ランプ113を消灯(OFF)し、連続
玉貸しカウンタをインクリメントして本ルーチンを終了
する(ステップS444,S446)。上記払出終了フ
ラグは後述の貸し玉情報出力処理(図48)において払
出完了信号Vをロウレベルにするために参照され、また
、連続玉貸しカウンタは前述の玉貸リクエスト検出処理
(図17)のステップS4102において参照され、連
続して6回以上の変換すなわち600円分以上の玉貸し
排出が回避されるようになっている。
[0166] When the ejection of a predetermined number of prize balls is completed and the determination result in step S436 changes to "Yes", the ejection weight flag is set to "1" (step S436).
438), the ejection wait timer is set to a predetermined time (for example, 40
After setting the payout end flag to "1" (step S212), the ball rental display lamp 113 is turned off (OFF), the continuous ball rental counter is incremented, and the payout end flag is set to "1" (step S212). The routine ends (steps S444, S446). The payout end flag is referred to in order to set the payout completion signal V to low level in the ball lending information output process (FIG. 48) described later, and the continuous ball lending counter is used in the step of the ball lending request detection process (FIG. 17) described above. It is referred to in S4102, and six or more consecutive conversions, that is, ball lending of more than 600 yen is avoided.

【0167】上記ステップS436の判別結果が“Ye
s”に転じた後のループでは、ステップS438で排出
ウェイトフラグが“1”に設定されることにより、前記
ステップS432の判別結果が“Yes”に転じ、ステ
ップS448が実行される。このステップS448では
前記排出ウェイトタイマがタイムアップしたか否かが判
別され、判別結果が“No”、即ち所定数の賞品球の排
出が終了した後前記所定時間が未だ経過していないとき
にはそのまま本ルーチンを終了し、当該所定時間が経過
するまでステップS432及びステップS448のみを
繰返し実行する。そして、上記所定時間が経過してステ
ップS448の判別結果が“Yes”になると、ステッ
プS450に進んで処理ナンバーを“0”に設定して、
本ルーチンを終了する。
[0167] The determination result in step S436 is "Yes".
In the loop after changing to "S", the discharge weight flag is set to "1" in step S438, so that the determination result in step S432 changes to "Yes", and step S448 is executed.This step S448 Then, it is determined whether the ejection weight timer has timed up or not, and if the determination result is "No", that is, the predetermined time has not yet elapsed after the ejection of a predetermined number of prize balls has been completed, this routine is directly terminated. Then, only steps S432 and S448 are repeatedly executed until the predetermined time has elapsed. When the predetermined time has elapsed and the determination result in step S448 becomes "Yes", the process proceeds to step S450 and the processing number is set to " Set it to 0” and
This routine ends.

【0168】図43ないし図45は、前述した排出制御
装置側のCPU610によって実行されるメインルーチ
ン(図15)のステップS16において実行される玉抜
処理のサブルーチンを示すフローチャートである。この
球抜処理ルーチンは遊技店の係員によって球抜スイッチ
が押されたことが前述の球抜センサ入力処理(図24)
によって検知され、球抜フラグが“1”に設定されてメ
インルーチンのステップS10で“Yes”と判定され
、ステップS20で処理ナンバーが“4”に変更され、
さらにメインルーチンのステップS6において、処理ナ
ンバーが“4”と判定されたときに開始されるものであ
る。
FIGS. 43 to 45 are flowcharts showing the subroutine of the ball removal process executed in step S16 of the main routine (FIG. 15) executed by the CPU 610 on the side of the emission control device described above. This ball removal processing routine is based on the aforementioned ball removal sensor input processing (Fig. 24), which indicates that the ball removal switch has been pressed by the staff at the game parlor.
is detected, the ball removal flag is set to "1", it is determined as "Yes" in step S10 of the main routine, the processing number is changed to "4" in step S20,
Further, in step S6 of the main routine, the process is started when the process number is determined to be "4".

【0169】本ルーチンが開始されると、先ずステップ
S602において強制終了フラグが“1”であるか否か
が判定される。この強制終了フラグは、球抜スイッチが
2回押されたときに(本ルーチンの実行中に再度球抜ス
イッチが押され、後述のステップS616又はステップ
S626の判定結果が“Yes”となったとき)実行さ
れるステップS700〜S736の強制終了処理が実行
される直前のステップS696にてその値が“1”に設
定されるものである。したがって、該フラグがステップ
S696の実行によって一旦“1”に設定されると、そ
の後のループでは前記ステップS602の判定結果が“
Yes”となって、後述のステップS700以降の強制
終了処理のみが実行されることになる。前記ステップS
602の判定結果が“No”のときには、ステップS6
04で球抜実行フラグが“1”であるか否かが、続くス
テップS606で球抜開始フラグが“1”であるか否か
が判定される。このうち球抜開始フラグは、続くステッ
プS608〜S612の処理が一度でも行われたときに
その旨を記憶すべくステップS614にてその値が“1
”に設定されるものである。又、球抜実行フラグは後述
のステップS620,S622によって排出ソレノイド
1,2の励磁が開始され球抜処理が実行されたときにそ
の旨を記憶すべくステップS624にて“1”に設定さ
れるものである。
When this routine is started, first in step S602 it is determined whether the forced termination flag is "1". This forced termination flag is activated when the ball removal switch is pressed twice (when the ball removal switch is pressed again during the execution of this routine and the determination result in step S616 or step S626 described later becomes "Yes"). ) The value is set to "1" in step S696 immediately before the forced termination process of steps S700 to S736 is executed. Therefore, once the flag is set to "1" by executing step S696, the determination result of step S602 is set to "1" in the subsequent loop.
"Yes," and only the forced termination processing from step S700 onward, which will be described later, will be executed.
When the determination result in 602 is “No”, step S6
In step S606, it is determined whether the ball removal execution flag is "1" or not, and in the subsequent step S606, it is determined whether the ball removal start flag is "1". Among these, the value of the ball removal start flag is set to "1" in step S614 in order to memorize the fact that when the subsequent steps S608 to S612 have been performed even once.
In addition, the ball removal execution flag is set in step S624 to store this fact when the excitation of the discharge solenoids 1 and 2 is started in steps S620 and S622, which will be described later, and the ball removal process is executed. This is set to "1" at

【0170】ここで、本球抜処理ルーチンが初めて行わ
れた場合を考える。この場合には前記ステップS604
,S606の判定結果は共に“No”となってステップ
S608に進み、1回目の球抜スイッチの押圧(球抜処
理を開始させるための押圧)によって“1”にセットさ
れた球抜フラグを“0”にリセットする。次のステップ
S609,S610では第1及び第2の賞球排出装置に
よる球抜処理が終了したことを記憶するために用いられ
る排出1終了フラグ,排出2終了フラグを“0”にリセ
ットしておく。これら排出1終了フラグ,排出2終了フ
ラグは前述の併用排出処理にて用いられたものがそのま
ま転用でき、2つのフラグは後述のステップS628,
S646等の判定に用いられる。更に次のステップS6
11では球抜開始タイマがセット/スタートされる。こ
の球抜開始タイマは、実際に排出ソレノイド1,2を励
磁(ON)する前に、球抜装置の切換ゲート762を予
め切換えておくのに十分な所定のアイドルタイムを設け
るためのものである。
[0170] Let us now consider the case where the main ball removal processing routine is performed for the first time. In this case, the step S604
, S606 are both "No", and the process advances to step S608, where the ball removal flag set to "1" by the first press of the ball removal switch (press to start the ball removal process) is set to " Reset to 0”. In the next steps S609 and S610, the discharge 1 end flag and the discharge 2 end flag, which are used to remember that the ball extraction process by the first and second prize ball discharge devices has ended, are reset to "0". . These discharge 1 end flag and discharge 2 end flag used in the above-mentioned combined discharge process can be used as they are, and these two flags can be used in step S628, which will be described later.
It is used for determinations such as S646. Further next step S6
At step 11, a ball removal start timer is set/started. This ball removal start timer is used to provide a predetermined idle time sufficient to switch the switching gate 762 of the ball removal device in advance before actually energizing (ON) the discharge solenoids 1 and 2. .

【0171】次のステップS612では前記切換ゲート
762を切換るべく球抜ソレノイド761が励磁(ON
)され、続いて前記球抜開始フラグが“1”に設定され
る(ステップS614)。続くステップS616では上
記ステップS602〜S614の実行中に球抜フラグが
再び“1”に設定されたか否か、即ち再度球抜スイッチ
が押されたか否か(2度押されたか否か)が判定される
。この判定結果が“Yes”のときにはステップS69
2〜S698を実行した後、球抜処理を強制的に終了さ
せるべくステップS700以降の強制終了処理に進む。
In the next step S612, the bulb removal solenoid 761 is energized (ON) to switch the switching gate 762.
), and then the ball removal start flag is set to "1" (step S614). In the subsequent step S616, it is determined whether the ball removal flag was set to "1" again during the execution of steps S602 to S614, that is, whether the ball removal switch was pressed again (whether it was pressed twice). be done. If this determination result is "Yes", step S69
After executing Steps 2 to S698, the process proceeds to forced termination processing starting from step S700 in order to forcibly terminate the ball extraction process.

【0172】より具体的には先ずステップS692及び
ステップS694で、後述のステップS628〜S64
4の処理にて用いられる排出1球無フラグ及び後述のス
テップS646〜S662の処理にて用いられる排出2
球無フラグが夫々“0”にリセットされ、ステップS6
96で強制終了処理に移行したことを示すべく前記強制
終了フラグが“1”に設定され、更に強制終了処理に移
行した直後より所定時間経過したか否かを判定するため
に設けられた強制終了タイマをセットして、後述のステ
ップS700以降の強制終了処理を行う。
More specifically, first, step S692 and step S694, and then steps S628 to S64, which will be described later.
Discharge 1 ball no flag used in the process of step 4 and discharge 2 used in the process of steps S646 to S662 described later.
The no-ball flags are each reset to "0", and step S6
In step 96, the forced termination flag is set to "1" to indicate that the process has shifted to the forced termination process, and the forced termination flag is set to "1" to indicate that the forced termination process has proceeded, and the forced termination flag is further provided to determine whether a predetermined period of time has elapsed since immediately after the transition to the forced termination process. A timer is set, and forced termination processing from step S700, which will be described later, is performed.

【0173】一方、この判定結果が“No”のときには
、前記ステップS611でスタートさせた球抜開始タイ
マがタイムアップしたか否かが判定される。未だ球抜開
始タイマがタイムアップしないときには(判定結果が“
No”)、以後の処理を行うことなくそのまま本ルーチ
ンを終了する。次回以降のループでは前記タイマがタイ
ムアップするまでステップS602〜S606,S61
6,S618のみが繰返し実行されることになる。前記
タイマがタイムアップしてステップS618の判定結果
が“Yes”に転じると、ステップS620,S622
において夫々排出ソレノイド1,2が励磁(ON)され
て賞品球の流出が開始され、前述の球抜実行フラグが“
1”に設定される(ステップS624)。
On the other hand, when the result of this determination is "No", it is determined whether the ball removal start timer started in step S611 has timed out. If the ball removal start timer has not expired yet (the judgment result is “
No"), this routine ends without performing any further processing. In the next and subsequent loops, steps S602 to S606 and S61 are executed until the timer times up.
6, only S618 will be repeatedly executed. When the timer times out and the determination result in step S618 changes to "Yes", steps S620 and S622
At this point, the ejection solenoids 1 and 2 are energized (ON) and the prize ball begins to flow out, and the above-mentioned ball extraction execution flag is set to "
1'' (step S624).

【0174】このように一旦排出ソレノイド1,2が励
磁(ON)されて球抜実行フラグが“1”に設定される
と、次回以降のループにおいて、前記ステップS604
の判定結果が“Yes”となり、ステップS606〜6
24の処理がスキップされることになる。次のステップ
S626では再び、球抜フラグが“1”であるか否か即
ち、球抜処理を強制的に終了させるべく球抜スイッチの
2回押しがなされたか否かの判定が再びなされる。この
判定結果が“Yes”のときは、ステップS684〜S
690を行った後、前記ステップS692〜S698、
更には後述のステップS700以降の強制終了処理に進
む。
[0174] Once the discharge solenoids 1 and 2 are energized (ON) and the bulb removal execution flag is set to "1", in the next and subsequent loops, step S604 is performed.
The determination result is "Yes", and steps S606-6
24 processes will be skipped. In the next step S626, it is again determined whether the ball removal flag is "1", that is, whether the ball removal switch has been pressed twice to forcibly end the ball removal process. When this determination result is "Yes", steps S684 to S684
After performing step S690, the steps S692 to S698,
Furthermore, the process proceeds to forced termination processing starting from step S700, which will be described later.

【0175】ステップS684〜S690の処理では、
先ず排出1終了フラグが“1”であるか否かが判定され
(ステップS684)、この判定結果が“Yes”、即
ちこの時点で賞球排出装置170の第1排出ソレノイド
側の賞品球の流出がすべて完了しているときには(該フ
ラグは第1の排出ソレノイド側の賞品球の流出がすべて
完了したとき後述のステップS642でその値が“1”
に設定される)ステップS686に進んで排出ソレノイ
ド1を消磁(OFF)し、その後ステップS688に進
む。一方、判定結果が“No”のときはステップS68
6をスキップしてステップS688に進む。
[0175] In the processing of steps S684 to S690,
First, it is determined whether or not the ejection 1 end flag is "1" (step S684), and the result of this judgment is "Yes", that is, at this point, the prize ball flows out from the first ejection solenoid side of the prize ball ejecting device 170. When all of the prize balls have been completely discharged from the first discharge solenoid side, the value of this flag is set to "1" in step S642, which will be described later.
In step S686, the discharge solenoid 1 is demagnetized (OFF), and then in step S688. On the other hand, if the determination result is "No", step S68
6 and proceeds to step S688.

【0176】ステップS688では更に排出2終了フラ
グが“1”であるか否かが判定され、この判定結果“Y
es”、即ちこの時点で賞球排出装置の第2排出ソレノ
イド側の賞品球の流出がすべて完了しているときには(
該フラグは第2排出ソレノイド側の賞品球の流出がすべ
て完了したとき後述のステップS660でその値が“1
”に設定される)ステップS690に進んで排出ソレノ
イド2を消磁(OFF)し、その後ステップS692に
進み、一方、判定結果が“No”のときはステップS6
90をスキップしてステップS692以降に進む。 この時点で2回目の球抜スイッチの押圧が為されず、前
記ステップS626の判定結果が“No”となったとき
には、ステップS628にて排出1終了フラグが“1”
であるか否かが判定される。この排出1終了フラグは、
本球抜処理が初めて実行されたときに前述のステップS
609にて“0”にリセットされるものであり、反対に
球抜処理によって全ての賞品球が流出されたときに後述
のステップS642にて“1”に設定される。
[0176] In step S688, it is further determined whether or not the discharge 2 end flag is "1", and the determination result is "Y".
es'', that is, at this point, when all the prize balls have been discharged from the second discharge solenoid side of the prize ball discharge device (
The value of this flag is set to "1" in step S660, which will be described later, when all the prize balls on the second discharge solenoid side have been completely discharged.
”), the process proceeds to step S690, where the discharge solenoid 2 is demagnetized (OFF), and then the process proceeds to step S692; on the other hand, when the determination result is “No”, the process proceeds to step S690.
90 is skipped and the process proceeds to step S692 and subsequent steps. If the second ball ejection switch is not pressed at this point and the determination result in step S626 is "No", the ejection 1 end flag is set to "1" in step S628.
It is determined whether or not. This discharge 1 end flag is
When the main ball extraction process is executed for the first time, the above-mentioned step S
It is reset to "0" in step S609, and is set to "1" in step S642, which will be described later, when all the prize balls are drained by the ball removal process.

【0177】従って本球抜処理により賞球排出装置17
0の第1排出ソレノイド側の賞品球の排出が未だ完了し
ていないときには、該ステップS628の判定結果は“
No”となって、ステップS630以降の処理が実行さ
れる。先ず、ステップS630では排出1球無フラグが
“1”であるか否かが判定される。この排出1球無フラ
グは、メインルーチンのステップS4又は賞球排出装置
の第1排出ソレノイド側の球抜処理が完了したとき(ス
テップS644)に“0”にリセットされ、本球抜処理
によって賞品球が流出され第1の賞球導出樋内(排出セ
ンサ1内)に賞品球がなくなってセンサ出力が“0”と
なったときにその値が“1”に設定されるものである。 従って、球抜開始後から排出センサ1内に賞品球がなく
なるまではこの判定結果は“No”となって、ステップ
S632にて排出センサ1の出力がロウレベル(“0”
)であるか否かが判定される。球抜処理が完了せず未だ
排出センサ1内に賞品球が残っているときにはこの判定
結果は“No”となり、そのままステップS646以降
に進む。
[0177] Therefore, the prize ball ejecting device 17 is
If the ejection of the prize ball from the first ejection solenoid side of No. 0 is not completed yet, the determination result of step S628 is “
No”, and the processes from step S630 onwards are executed. First, in step S630, it is determined whether the ejected 1 ball no flag is “1”. In step S4 or when the ball extraction process on the first ejection solenoid side of the prize ball ejection device is completed (step S644), it is reset to "0", and the prize ball is flowed out by the main ball extraction process and the first prize ball is derived. When there are no prize balls in the gutter (inside the discharge sensor 1) and the sensor output becomes "0", the value is set to "1". Until there are no more prize balls, this determination result will be "No" and the output of the discharge sensor 1 will be at a low level ("0") in step S632.
). If the ball removal process is not completed and the prize ball still remains in the discharge sensor 1, the determination result becomes "No" and the process directly proceeds to step S646 and subsequent steps.

【0178】この状態から球抜処理によって第1の賞球
導出樋内(センサ1内)に賞品球がなくなると、ステッ
プS632の判定結果が“Yes”に転じ、上記排出1
球無フラグが“1”に設定され(ステップS634)、
次いでセンサ1内に賞品球がなくなった時点からの時間
経過を計測する排出1球無タイマがセットされて(ステ
ップS636)ステップS646以降に進む。その以降
のループでは前記ステップS630の判定結果は“Ye
s”に転じ、ステップS638にて再度排出センサ1の
出力レベルがロウレベル(“0”)であるか否かが判定
される。
[0178] From this state, when the prize ball disappears in the first prize ball deriving gutter (inside sensor 1) by the ball extraction process, the determination result in step S632 changes to "Yes", and the above-mentioned discharge 1
The no-ball flag is set to “1” (step S634),
Next, an ejected one-ball no-ball timer is set to measure the passage of time from the time when no prize balls are left in the sensor 1 (step S636), and the process proceeds to steps S646 and thereafter. In the subsequent loop, the determination result in step S630 is “Ye”.
Then, in step S638, it is determined again whether the output level of the discharge sensor 1 is a low level ("0").

【0179】この判定結果が“Yes”即ち前回ループ
に引き続いて今回ループでも排出センサ1の出力レベル
がロウレベルに保持されていると判定されたときにはス
テップS640に進んで前記ステップS636でセット
された排出1球無タイマがタイムアップしたか否かが判
定される。この判定結果が“No”のとき、即ち第1の
賞球導出樋内(排出センサ1内)に賞品球がないと判定
されてから未だ所定時間が経過していないときには、ス
テップS642,S644をスキップして、ステップS
646以降に進む。
[0179] If the result of this determination is "Yes", that is, it is determined that the output level of the discharge sensor 1 is maintained at a low level in the current loop following the previous loop, the process advances to step S640 and the discharge level set in step S636 is It is determined whether or not the one-ball no-ball timer has timed out. If this determination result is "No", that is, if the predetermined time has not yet passed since it was determined that there is no prize ball in the first prize ball derivation gutter (inside the discharge sensor 1), steps S642 and S644 are performed. Skip to step S
Proceed to 646 onwards.

【0180】以後、上記所定時間が経過するまで、前記
ステップS630,S638の判定結果が共に“Yes
”、ステップS640の判定結果が“No”という具合
に判定される。排出センサ1の出力レベルがロウレベル
を保持したまま上記所定時間が経過すると、ステップS
640の判定結果が“Yes”に転じて排出1終了フラ
グが“1”に設定され(ステップS642)、更に排出
1球無フラグが“0”にリセットされて(ステップS6
44)、ステップS646以降に進む。このように、一
旦排出1終了フラグが“1”に設定されると次回以降の
ループにおいては前記ステップS628の判定結果が“
Yes”となり、前記ステップS630〜S644をス
キップして、直接ステップS646以降に進むこととな
る。
[0180] Thereafter, until the predetermined time elapses, the determination results of steps S630 and S638 are both "Yes".
”, the determination result in step S640 is “No”. When the predetermined period of time has elapsed while the output level of the discharge sensor 1 is maintained at the low level, the determination result in step S640 is “No”.
The determination result of step 640 changes to "Yes", and the discharge 1 end flag is set to "1" (step S642), and the discharge 1 ball no flag is reset to "0" (step S6).
44), the process proceeds to step S646 and subsequent steps. In this way, once the discharge 1 end flag is set to "1", the determination result of step S628 will be "1" in the next and subsequent loops.
Yes”, the process skips steps S630 to S644 and directly proceeds to steps S646 and subsequent steps.

【0181】ところで、本ルーチンが開始され、一旦排
出センサ1の出力がロウレベル(このとき排出1球無フ
ラグが“1”)となった後、上記排出1球無タイマがタ
イムアップする前に再び排出センサ1の出力レベルがハ
イレベル(“1”)に変化すると、前記ステップS63
8の判定結果が“No”に転じ、前記排出1終了フラグ
を“1”に設定することなく(ステップS642をスキ
ップして)、前記ステップS644にて排出1球無フラ
グを“0”にリセットしてステップS646以降に進む
ようになっている。この結果1つの賞品球が排出センサ
1内を通過した後次の賞品球が該センサ1内に達するま
での間に生じる出力信号の立下りや該センサ1の出力信
号にノイズが発生したとき等、出力信号の波形が一時的
に立下った場合に誤って賞球導出樋内の賞品球の流出が
完了したと判断することがない。
[0181] By the way, after this routine is started and the output of the ejection sensor 1 becomes low level (at this time, the ejected 1 ball no flag is "1"), the ejection 1 ball no timer times out again. When the output level of the discharge sensor 1 changes to a high level (“1”), the step S63
8 turns to "No", and the discharge 1 ball no flag is reset to "0" in step S644 without setting the discharge 1 end flag to "1" (skipping step S642). Then, the process proceeds to step S646 and subsequent steps. As a result, the fall of the output signal that occurs after one prize ball passes through the ejection sensor 1 until the next prize ball reaches the sensor 1, or noise occurs in the output signal of the sensor 1, etc. Therefore, when the waveform of the output signal temporarily falls, it is not erroneously determined that the outflow of the prize balls in the prize ball guiding gutter has been completed.

【0182】次のステップS646では更に排出2終了
フラグが“1”であるか否かが判定される。この排出2
終了フラグは、本球抜処理が初めて実行されたときに前
述のステップS610にて“0”にリセットされるもの
であり、反対に球抜処理によって全ての賞品球が流出さ
れたときに後述のステップS660にて“1”に設定さ
れる。従って本球抜処理により賞球排出装置170の第
2排出ソレノイド側の賞品球の排出が未だ完了していな
いときには、該ステップS646の判定結果は“No”
となって、ステップS648以降の処理が実行される。
[0182] In the next step S646, it is further determined whether or not the discharge 2 end flag is "1". This discharge 2
The end flag is reset to "0" in the above-mentioned step S610 when the main ball extraction process is executed for the first time, and conversely, when all the prize balls have been drained by the ball extraction process, it is reset to "0" as described below. It is set to "1" in step S660. Therefore, if the ejection of the prize ball from the second ejection solenoid side of the prize ball ejecting device 170 has not yet been completed due to the main ball extraction process, the determination result of step S646 is "No".
Then, the processing from step S648 onwards is executed.

【0183】先ず、ステップS648では排出2球無フ
ラグが“1”であるか否かが判定される。この排出2球
無フラグは、メインルーチンのステップS4又は賞球排
出装置の第2排出ソレノイド側の球抜処理が完了したと
き(ステップS662)に“0”にリセットされ、本球
抜処理によって賞品球が流出され第2の賞球導出樋内(
排出センサ2内)に賞品球がなくなってセンサ出力が“
0”となったときにその値が“1”に設定されるもので
ある。従って、球抜開始後から排出センサ2内に賞品球
がなくなるまではこの判定結果は“No”となって、ス
テップS650にて排出センサ2の出力がロウレベル(
“0”)であるか否かが判定される。球抜処理が完了せ
ず未だ排出センサ2内に賞品球が残っているときにはこ
の判定結果は“No”となり、そのままステップS66
4以降に進む。この状態から球抜処理によって第2の賞
球導出樋内(センサ2内)に賞品球がなくなると、ステ
ップS650の判定結果が“Yes”に転じ、上記排出
2球無フラグが“1”に設定され(ステップS652)
、次いでセンサ2内に賞品球がなくなった時点からの時
間経過を計測する排出2球無タイマがセットされて(ス
テップS654)ステップS664以降に進む。
[0183] First, in step S648, it is determined whether or not the two-ball no-ejected ball flag is "1". This flag with no ejected 2 balls is reset to "0" at step S4 of the main routine or when the ball removal process on the second ejection solenoid side of the prize ball ejection device is completed (step S662), and the prize is awarded by the main ball removal process. The ball flows out and enters the second prize ball guiding gutter (
There is no prize ball in the ejection sensor 2) and the sensor output is “
0", the value is set to "1". Therefore, from the start of ball removal until there are no prize balls in the ejection sensor 2, the determination result will be "No". In step S650, the output of the discharge sensor 2 is at a low level (
“0”) is determined. If the ball removal process is not completed and the prize ball still remains in the discharge sensor 2, the determination result becomes "No" and the process continues at step S66.
Proceed to step 4 onwards. In this state, when there are no prize balls in the second prize ball deriving gutter (inside sensor 2) by the ball extraction process, the determination result in step S650 changes to "Yes" and the two-ball no-ejected flag becomes "1". is set (step S652)
Next, a timer for measuring the elapsed time from the time when no prize balls are left in the sensor 2 is set (step S654), and the process proceeds to steps S664 and thereafter.

【0184】その以降のループでは前記ステップS64
8の判定結果は“Yes”に転じ、ステップS656に
て再度排出センサ2の出力レベルがロウレベル(“0”
)であるか否かが判定される。この判定結果が“Yes
”即ち前回ループに引き続いて今回ループでも排出セン
サ2の出力レベルがロウレベルに保持されていると判定
されたときにはステップS658に進んで前記ステップ
S654でセットされた排出2球無タイマがタイムアッ
プしたか否かが判定される。この判定結果が“No”の
とき、即ち第2の賞球導出樋内(排出センサ2内)に賞
品球がないと判定されてから未だ所定時間が経過してい
ないときには、ステップS660,S662をスキップ
して、ステップS664以降に進む。
[0184] In the subsequent loop, step S64 is performed.
The determination result in step S656 changes to "Yes", and the output level of the discharge sensor 2 becomes low level ("0") again in step S656.
) is determined. This judgment result is “Yes”
``In other words, when it is determined that the output level of the ejection sensor 2 is maintained at a low level in the current loop following the previous loop, the process advances to step S658 to determine whether the ejected 2-ball non-timer set in step S654 has timed out. If the result of this determination is "No", that is, the predetermined time has not yet passed since it was determined that there is no prize ball in the second prize ball derivation gutter (inside the discharge sensor 2). Sometimes, steps S660 and S662 are skipped and the process proceeds to steps S664 and subsequent steps.

【0185】以後、上記所定時間が経過するまで、前記
ステップS648,S656の判定結果が共に“Yes
”、ステップS658の判定結果が“No”という具合
に判定される。排出センサ2の出力レベルがロウレベル
を保持したまま上記所定時間が経過すると、ステップS
658の判定結果が“Yes”に転じて排出2終了フラ
グが“1”に設定され(ステップS660)、更に排出
2球無フラグが“0”にリセットされて(ステップS6
62)、ステップS664以降に進む。このように、一
旦排出2終了フラグが“1”に設定されると次回以降の
ループにおいては前記ステップS646の判定結果が“
Yes”となり、前記ステップS648〜S662をス
キップして、ステップS664以降に進むこととなる。
[0185] Thereafter, until the predetermined time elapses, the determination results of steps S648 and S656 are both "Yes".
”, the determination result in step S658 is “No”. When the predetermined time elapses while the output level of the discharge sensor 2 is maintained at the low level, the determination result in step S658 is determined as “No”.
The determination result of step 658 changes to "Yes", and the ejection 2 end flag is set to "1" (step S660), and the ejection 2 ball no flag is reset to "0" (step S6
62), the process proceeds to step S664 and subsequent steps. In this way, once the discharge 2 end flag is set to "1", in the next and subsequent loops, the determination result of step S646 will be "1".
Yes”, the process skips steps S648 to S662 and proceeds to step S664.

【0186】ところで、本ルーチンが開始され、一旦排
出センサ2の出力がロウレベル(このとき排出2球無フ
ラグが“1”)となった後、上記排出2球無タイマがタ
イムアップする前に再び排出センサ2の出力レベルがハ
イレベル(“1”)に変化すると、前記ステップS65
6の判定結果が“No”に転じ、前記排出2終了フラグ
を“1”に設定することなく(ステップS660をスキ
ップして)、前記ステップS662にて排出2球無フラ
グを“0”にリセットしてステップS664以降に進む
ようになっている。この結果1つの賞品球が排出センサ
2内を通過した後次の賞品球が該センサ2内に達するま
での間に生じる出力信号の立下りや該センサ2の出力信
号にノイズが発生したとき等、出力信号の波形が一時的
に立下った場合に誤って賞球導出樋内の賞品球の流出が
完了したと判断することがない。
By the way, after this routine is started and once the output of the ejection sensor 2 becomes low level (at this time, the 2-ball no-ejected ball flag is "1"), the output of the ejected 2-ball no-ball flag is set to "1" again. When the output level of the discharge sensor 2 changes to a high level (“1”), the step S65
If the determination result in step 6 turns to "No", the discharge 2 ball no flag is reset to "0" in step S662 without setting the discharge 2 end flag to "1" (skipping step S660). The process then proceeds to step S664 and subsequent steps. As a result, the fall of the output signal that occurs after one prize ball passes through the ejection sensor 2 until the next prize ball reaches the sensor 2, or noise occurs in the output signal of the sensor 2, etc. Therefore, when the waveform of the output signal temporarily falls, it is not erroneously determined that the outflow of the prize balls in the prize ball guiding gutter has been completed.

【0187】上記ステップS646〜S662を実行し
た結果、賞球排出装置の第2排出ソレノイド側の賞品球
の流出が完了したと判定された後は、ステップS646
の判定結果が“Yes”に転じステップS664にて第
1排出ソレノイド側の賞品球の球抜が完了したか否か(
排出1終了フラグが“1”か)の判定が再度なされる。 この判定結果が“No”のときには、そのまま今回ルー
プでの処理を終了して、次回ループへと移行する(次回
ループでは再びステップS628〜S644が実行され
ることになる)。
[0187] As a result of executing steps S646 to S662, after it is determined that the outflow of the prize ball from the second discharge solenoid side of the prize ball discharge device is completed, step S646 is executed.
The determination result changes to "Yes" and in step S664, it is determined whether or not the ball removal of the prize ball on the first ejection solenoid side is completed (
The determination as to whether the discharge 1 end flag is "1" is made again. If the result of this determination is "No", the process in the current loop is immediately terminated, and the process proceeds to the next loop (steps S628 to S644 will be executed again in the next loop).

【0188】一方、判定結果が“Yes”、即ちこの時
点で賞球排出装置の第1、第2の排出ソレノイドによる
球抜処理が共に完了したと判断されたときには、先ず前
記球抜実行フラグ及び球抜開始フラグを共に“0”にリ
セットし(ステップS666,S668)、球抜処理を
終了させるべく排出ソレノイド1,2の消磁(OFF)
を行ない(ステップS674,S676)、更に球抜ソ
レノイドの消磁(OFF)(ステップS678)を行っ
た後、処理NOを“0”にリセットして(ステップS6
80)、本ルーチンを終了する。
On the other hand, when the determination result is "Yes", that is, it is determined that the ball extraction process by the first and second discharge solenoids of the prize ball discharge device are both completed at this point, the ball extraction execution flag and the ball extraction execution flag are first set. Both the ball removal start flags are reset to "0" (steps S666 and S668), and the discharge solenoids 1 and 2 are demagnetized (OFF) to end the ball removal process.
(Steps S674, S676), and further demagnetizes (OFF) the bulb removal solenoid (Step S678), and then resets the process NO to "0" (Step S6).
80), this routine ends.

【0189】次に前記ステップS602,S616,S
626の何れかの判定結果が“Yes”のときに行われ
る強制終了処理(ステップS700以降の処理)につい
て説明する。この処理は、球抜スイッチが押されて一旦
球抜処理が開始された後、再び該スイッチが押されたと
き(2回押し)に実行されるものである。先ず、ステッ
プS700では、強制終了タイマがタイムアップしたか
否かが判定される。この強制終了タイマは2回目のスイ
ッチの押圧がなされたとき(ステップS616,S62
6判定結果が“No”となった直後に実行されるステッ
プS698)にカウントを開始するものである。この判
定結果が“No”、即ち2回目のスイッチ押圧から未だ
所定時間が経過していないときには、ステップS702
にて排出1終了フラグが“1”であるか否かが判定され
る。
Next, the steps S602, S616, S
The forced termination process (processing after step S700) that is performed when any of the determination results in step S726 is "Yes" will be described. This process is executed when the ball removal switch is pressed and the ball removal process is once started, and then the switch is pressed again (push twice). First, in step S700, it is determined whether the forced termination timer has timed out. This forced termination timer starts when the switch is pressed for the second time (steps S616 and S62).
Counting is started at step S698), which is executed immediately after the 6 determination result becomes "No". If the determination result is "No", that is, the predetermined time has not yet passed since the second switch press, step S702
It is determined whether the discharge 1 end flag is "1" or not.

【0190】このステップS702の判定結果が“No
”、即ち球抜処理が完了する前(前記フラグはその値が
“1”のとき賞球排出装置の第1排出ソレノイド側の球
抜が完了したことを表わす)に強制終了処理が開始され
たときには、更にステップS704にて排出センサ1立
上フラグが“1”であるか否かが判定される。この判定
結果が“Yes”のとき、即ち、強制終了処理が一旦行
われた後、新たに賞品球がセンサ1内に達したときには
、この時点で排出ソレノイド1を消磁(OFF)し(ス
テップS706)、次いで強制的に排出1終了フラグを
“1”に設定して(ステップS708)、ステップS7
10に進み、一方、“No”のときには、前記ステップ
S706,S708をスキップして、ステップS710
に進む。
[0190] The determination result of this step S702 is “No”.
”, that is, the forced termination process was started before the ball extraction process was completed (when the value of the flag is “1”, it indicates that the ball extraction on the first ejection solenoid side of the prize ball ejection device was completed). In some cases, it is further determined in step S704 whether or not the discharge sensor 1 start-up flag is "1".If the result of this determination is "Yes", that is, after the forced termination process has been performed, a new When the prize ball reaches inside the sensor 1, the ejection solenoid 1 is demagnetized (OFF) at this point (step S706), and then the ejection 1 end flag is forcibly set to "1" (step S708). Step S7
On the other hand, if the answer is "No", steps S706 and S708 are skipped and the process proceeds to step S710.
Proceed to.

【0191】ステップS710では排出2終了フラグが
“1”であるか否かが判定される。このステップS71
0の判定結果が“No”、即ち球抜処理が完了する前(
前記フラグはその値が“1”のとき賞球排出装置の第2
排出ソレノイド側の球抜が完了したことを表わす)に強
制終了処理が開始されたときには、更にステップS71
2にて排出センサ2立上フラグが“1”であるか否かが
判定される。この判定結果が“Yes”のとき、即ち、
強制終了処理が一旦行われた後、新たに賞品球がセンサ
2内に達したときには、この時点で排出ソレノイド2を
消磁(OFF)し(ステップS714)、次いで強制的
に排出2終了フラグを“1”に設定して(ステップS7
16)、本ルーチンを終了する。
[0191] In step S710, it is determined whether the discharge 2 end flag is "1". This step S71
If the judgment result of 0 is “No”, that is, before the ball extraction process is completed (
When the value of the flag is “1”, the second flag of the prize ball ejecting device
When the forced termination process is started (indicating that the bulb removal on the discharge solenoid side has been completed), step S71 is further performed.
At step 2, it is determined whether or not the discharge sensor 2 startup flag is "1". When this judgment result is “Yes”, that is,
After the forced termination process is once performed, when a new prize ball reaches the sensor 2, the discharge solenoid 2 is demagnetized (OFF) at this point (step S714), and then the discharge 2 end flag is forcibly set to " 1” (step S7).
16) End this routine.

【0192】一方、判定結果が“No”のときには、前
記ステップS714,S716をスキップして、本ルー
チンを終了する。このように強制終了処理(ステップS
700以降の処理)が開始された後所定時間が経過する
までに排出センサ2の出力信号の立上り(新たな賞品球
がセンサ内に達したこと)が検出されて一旦排出2終了
フラグが“1”に設定されると、次回以降のループでは
ステップS710の判定結果が“Yes”となって、更
に排出1終了フラグが“1”であるか否かが判定される
(ステップS718)。この判定結果が“No”、即ち
この時点で、賞球排出装置の第1排出センサ1が強制終
了処理開始後の新たな賞品球を検出していないときは、
そのまま本ルーチンを終了する。この場合次回以降のル
ープにおいてもステップS702〜S708の処理が引
き続き実行される。
On the other hand, if the determination result is "No", steps S714 and S716 are skipped, and this routine is ended. In this way, the forced termination process (step S
The rise of the output signal of the ejection sensor 2 (that a new prize ball has reached the sensor) is detected before a predetermined time elapses after the process (processing after 700) is started, and the ejection 2 end flag is set to "1". ”, in the next and subsequent loops, the determination result in step S710 becomes “Yes”, and it is further determined whether or not the discharge 1 end flag is “1” (step S718). If this determination result is "No", that is, at this point, the first ejection sensor 1 of the prize ball ejecting device has not detected a new prize ball after the start of the forced termination process,
This routine ends immediately. In this case, the processes of steps S702 to S708 will continue to be executed in subsequent loops.

【0193】一方、前記ステップS718の判定結果が
“Yes”、即ち、強制終了処理が実行された後、賞球
排出装置の第1,第2の排出センサ1,2が共に新たな
賞品球が該センサ1,2内に達したことを検知したとき
には後述のステップS724以降の処理が行われる。 又、上記ステップS702〜S718の処理を実行して
いるうちに所定時間が経過して強制終了タイマがタイム
アップして、ステップS700の判定結果が“Yes”
に転じると(このとき前記排出1終了フラグ及び排出2
終了フラグの何れか一方が“0”である)、ステップS
720,S722で夫々排出ソレノイド1、排出ソレノ
イド2を強制的に消磁(OFF)してステップS724
以降に進む。
On the other hand, if the determination result in step S718 is "Yes", that is, after the forced termination process is executed, both the first and second ejection sensors 1 and 2 of the prize ball ejecting device detect the new prize balls. When it is detected that the light has reached the inside of the sensors 1 and 2, the processes from step S724 to be described later are performed. Also, while the processes in steps S702 to S718 are being executed, a predetermined period of time passes and the forced termination timer times out, and the determination result in step S700 is "Yes".
(At this time, the discharge 1 end flag and discharge 2
Either one of the end flags is “0”), step S
In steps 720 and S722, discharge solenoid 1 and discharge solenoid 2 are forcibly demagnetized (OFF), respectively, and step S724
Proceed to the following.

【0194】ステップS724では、前述の強制終了フ
ラグを“0”にリセットし、更にステップS726,S
728にて前記球抜実行フラグ及び球抜開始フラグを共
に“0”にリセットし、更に球抜ソレノイドの消磁(O
FF)を行なった後(ステップS734)、処理NOを
“0”にリセットして(ステップS736)、本ルーチ
ンを終了する。
[0194] In step S724, the foregoing forced termination flag is reset to "0", and further steps S726 and S
At 728, both the ball removal execution flag and the ball removal start flag are reset to "0", and the ball removal solenoid is demagnetized (O
FF) (step S734), the process NO is reset to "0" (step S736), and this routine ends.

【0195】図46には、図15のメイン処理フロー中
のステップS23で行なわれる補給処理の具体的手順の
一例が示されている。この補給処理が開始されると、ま
ず補給センサ106の検出信号を検出するの補給センサ
入力処理(図25)中において設定される補給センサ立
上りフラグを調べ(ステップS752)、“Yes”の
ときはステップS754へ進み、完了ランプ108を点
灯させてから、補給要求フラグを“1”にセット、補給
センサ立上りフラグを“0”にクリアして、このルーチ
ンを終了する(ステップS756,S758)。この補
給フラグは、後述の遊技台情報出力処理(図51)にお
いて管理装置700に対する補給信号Kをアサートさせ
るために参照される。
FIG. 46 shows an example of a specific procedure of the replenishment process performed in step S23 in the main process flow of FIG. 15. When this replenishment process is started, first, the replenishment sensor rising flag set during the replenishment sensor input process (FIG. 25) for detecting the detection signal of the replenishment sensor 106 is checked (step S752), and if "Yes" Proceeding to step S754, the completion lamp 108 is turned on, the replenishment request flag is set to "1", the replenishment sensor rise flag is cleared to "0", and this routine ends (steps S756, S758). This replenishment flag is referred to in order to assert a replenishment signal K to the management device 700 in a game machine information output process (FIG. 51) to be described later.

【0196】一方、上記ステップS752で“No”と
判定されたときは、ステップS760へ移行して補給セ
ンサが立ち下がったことを示す立下りフラグが「1」か
否か判定し、“No”なら何もせずにまた“Yes”な
ら上記ステップS754で点灯させた完了ランプ108
を消灯させてから(ステップS762)、補給要求フラ
グおよび補給センサ立下りフラグをそれぞれ“0”にク
リアして、このルーチンを終了する(ステップS764
,S766)。
On the other hand, if the determination in step S752 is "No", the process proceeds to step S760, where it is determined whether the falling flag indicating that the replenishment sensor has fallen is "1", and the determination is "No". If so, do nothing and if the answer is "Yes", the completion lamp 108 turned on in step S754 above.
After turning off the light (step S762), the replenishment request flag and the replenishment sensor fall flag are cleared to "0", and this routine ends (step S764).
, S766).

【0197】図47には、図15のメイン処理フロー中
のステップS24で行なわれる情報出力処理の具体的内
容が示されている。図47に示されているように、この
情報出力処理は、玉貸し制御装置500に対する出力信
号を形成する貸し玉情報出力処理S800と、遊技盤制
御装置400に対する出力信号を形成する音要求出力処
理S850と、ホールの管理装置700に対する出力信
号を形成する賞球情報出力処理S900、遊技台情報出
力処理S950およびエラー情報出力処理S990とか
らなる。
FIG. 47 shows the specific contents of the information output process performed in step S24 in the main process flow of FIG. 15. As shown in FIG. 47, this information output process includes a ball rental information output process S800 that forms an output signal to the ball rental control device 500, and a sound request output process that forms an output signal to the game board control device 400. S850, prize ball information output processing S900 for forming an output signal to the hall management device 700, gaming machine information output processing S950, and error information output processing S990.

【0198】図48には、上記情報出力処理フロー中に
おける貸し玉情報出力処理S800の具体的手順の一例
を示す。このルーチンが開始されると、まずステップS
802で玉貸し要求フラグがセットされているか否か調
べる。この玉貸し要求フラグは、図17に示されている
玉貸しリクエスト検出処理ルーチン中において、玉貸し
制御装置500からの玉貸し要求信号Tが連続して5m
秒以上ロウレベルになったことを検出したときにセット
されるフラグである(ステップS4122)。
FIG. 48 shows an example of a specific procedure of the ball rental information output process S800 in the above information output process flow. When this routine starts, first step S
At 802, it is checked whether the ball lending request flag is set. This ball lending request flag indicates that during the ball lending request detection processing routine shown in FIG.
This is a flag that is set when it is detected that the signal has been at a low level for more than a second (step S4122).

【0199】ステップS802での判定の結果、“Ye
s”すなわち玉貸し要求フラグがセットされているとき
はそのまま、また“No”すなわち玉貸し要求フラグが
リセットされているときはステップS804でP台レデ
ィフラグを“0”にクリアしてから、それぞれステップ
S806へ進む。上記P台レディフラグは後述のステッ
プS810で、玉貸しレディ信号Uをハイレベルまたは
ロウレベルに変化されるか決定する際に使用されるフラ
グで、前述した玉貸し開始処理ルーチン(図41)が実
行されて玉貸し排出が開始される際に、ステップS42
0でセットされる。
[0199] As a result of the determination in step S802, “Ye
If "s", that is, the ball lending request flag is set, leave it as is, or if "No", that is, the ball lending request flag is reset, clear the P machine ready flag to "0" in step S804, and then Proceed to step S806.The above-mentioned P unit ready flag is a flag used to determine whether the ball lending ready signal U is changed to a high level or a low level in step S810, which will be described later. When step S41) is executed and ball rental discharge is started, step S42
Set to 0.

【0200】このステップS806では、玉貸し制御装
置500に対して出力される払出完了信号Vがロウレベ
ル(有効)かハイレベル(無効)か判定する。その結果
、ハイレベルであであればステップS808へ進み、玉
貸し排出処理ルーチン(図42)で排出が終了したとき
にセットされる払出終了フラグが“1”か否か判定する
。そして、“No”であればステップS810へ移行し
て、上記P台レディフラグが“1”か否か判定し、“N
o”なら玉貸しレディ信号Uをハイレベルにネゲートし
、“Yes”なら玉貸しレディ信号Uをロウレベルにア
サートして本ルーチンを終了する(ステップS812,
S814)。従って、玉貸しリクエスト検出処理(図1
7)で玉貸し制御装置500からの玉貸し要求信号Tが
検出されて玉貸し要求フラグがセットされると、メイン
ルーチンのステップS11で“Yes”と判定されて玉
貸し開始処理ルーチン(図41)が実行されて玉貸し排
出が開始されるとともにP台レディフラグが“1”にセ
ットされるため、本玉貸し情報出力処理ルーチンではス
テップS802からステップS806へジャンプし、ス
テップS806,S808でそれぞれ“No”と判定さ
れ、ステップS810では“Yes”と判定して玉貸し
レディ信号Uをロウレベルにアサートする。
[0200] In this step S806, it is determined whether the payout completion signal V output to the ball lending control device 500 is at a low level (valid) or a high level (invalid). If the result is a high level, the process advances to step S808, and it is determined whether or not the payout end flag, which is set when the ball lending and discharging process routine (FIG. 42) ends, is "1". If "No", the process moves to step S810, where it is determined whether or not the P ready flag is "1", and "N
o”, the ball lending ready signal U is negated to high level, and if “Yes”, the ball lending ready signal U is asserted to low level, and this routine ends (step S812,
S814). Therefore, the ball lending request detection process (Figure 1
7), when the ball lending request signal T from the ball lending control device 500 is detected and the ball lending request flag is set, "Yes" is determined in step S11 of the main routine, and the ball lending start processing routine (Fig. 41 ) is executed and ball rental discharge is started and the P machine ready flag is set to "1", so the main ball rental information output processing routine jumps from step S802 to step S806, and in steps S806 and S808, respectively. The determination is "No", and in step S810, the determination is "Yes" and the ball lending ready signal U is asserted to a low level.

【0201】そして、その後玉貸し排出が終了して玉貸
し排出処理ルーチン(図42)で払出終了フラグが“1
”にセットされると、本ルーチンのステップS808で
“Yes”と判定されてステップS816へ移行し、玉
貸し制御装置500に対する払出完了信号Vおよびホー
ルの管理装置700へ出力される排出貸し玉数信号J(
1パルスが最小変換単位の玉数を表す)をそれぞれロウ
レベルにアサートし、かつ払出完了タイマをセット(起
動)させ、払出終了フラグを“0”にクリアしてから(
ステップS816,S818,S820,S822)、
上記ステップS810−S814と進んで引き続き玉貸
しレディ信号Uをロウレベルにアサートしておく。
[0201] After that, the ball lending and discharging is completed and the payout end flag is set to "1" in the ball lending and discharging processing routine (FIG. 42).
”, it is determined “Yes” in step S808 of this routine and the process moves to step S816, where the payout completion signal V to the ball rental control device 500 and the number of discharged rental balls are output to the hall management device 700. Signal J (
One pulse represents the number of balls in the minimum conversion unit) are asserted to low level, the payout completion timer is set (activated), the payout completion flag is cleared to "0", and then (
Steps S816, S818, S820, S822),
Proceeding to steps S810 to S814, the ball lending ready signal U is subsequently asserted to a low level.

【0202】次に、再び本ルーチンが実行されると、ス
テップS806で“Yes”すなわち払出完了信号Vが
ロウレベルと判定されてステップS824へ移行し、上
記ステップS820でセットされたタイマがタイムアッ
プしたか否か判定される。ここで、タイマがまだタイム
アップしていなければそのまま上記ステップS810へ
移行し、タイムアップしていれば上記払出完了信号Vお
よび排出貸し玉数信号Jをそれぞれハイレベルにネゲー
トしてから(ステップS826,S828)、ステップ
S810−S814と進んで引き続き玉貸しレディ信号
Uをロウレベルにアサートしておく。上記処理によって
上記払出完了信号Vがハイレベルにネゲートされると、
玉貸し制御装置500がそれを検知して玉貸し要求信号
をハイレベルにネゲートしてくるため、玉貸しリクエス
ト検出処理(図17)で玉貸し要求信号Tがハイレベル
に変化されたことが検出されて玉貸し要求フラグがリセ
ットされる。すると、再び本ルーチンが実行されたとき
にステップS802で“No”と判定されるため、ステ
ップS804へ移行してP台レディフラグが“0”にク
リアされる。また、払出完了信号Vがハイレベルにネゲ
ートされているため、ステップS806では“No”と
判定され、ステップS808、S810と進み、ステッ
プS810で“No”すなわちP台レディフラグが“0
”と判定される。その結果、玉貸しレディ信号Uがハイ
レベルにネゲートされて終了する。
Next, when this routine is executed again, it is determined in step S806 as "Yes", that is, the payout completion signal V is at a low level, and the process moves to step S824, and the timer set in step S820 has timed out. It is determined whether or not. Here, if the timer has not yet timed out, the process directly proceeds to step S810, and if the timer has timed up, the payout completion signal V and the number of balls to be discharged signal J are each negated to a high level (step S826). , S828) and steps S810 to S814, and the ball lending ready signal U is continuously asserted to a low level. When the payout completion signal V is negated to high level by the above processing,
Since the ball lending control device 500 detects this and negates the ball lending request signal to a high level, the ball lending request detection process (FIG. 17) detects that the ball lending request signal T has changed to a high level. and the ball lending request flag is reset. Then, when this routine is executed again, the determination in step S802 is "No", so the process moves to step S804 and the P ready flag is cleared to "0". Further, since the payout completion signal V is negated to a high level, the determination in step S806 is "No", and the process proceeds to steps S808 and S810, and in step S810, "No" is determined, that is, the P machine ready flag is "0".
As a result, the ball lending ready signal U is negated to a high level and the process ends.

【0203】図49には、上記情報出力処理フロー中に
おける音要求出力処理S850の具体的手順の一例を示
す。このルーチンが開始されると、まずステップS85
2で遊技盤制御装置400に対する貸し玉排出音発生要
求信号Eがロウレベルにアサートされているか調べ、ハ
イレベルであればステップS854へ進み玉貸音要求フ
ラグが“1”にされているか否か判定する。上記玉貸音
要求フラグは、前述した玉貸し開始処理ルーチン(図4
1)が実行されて貸し玉排出が開始される際に、ステッ
プS418でセットされるフラグである。
FIG. 49 shows an example of a specific procedure of the sound request output process S850 in the above information output process flow. When this routine is started, first step S85
In step S854, it is checked whether the ball rental sound generation request signal E to the game board control device 400 is asserted to a low level, and if it is high, the process advances to step S854 and it is determined whether the ball rental sound request flag is set to "1". do. The above-mentioned ball lending request flag is set to the ball lending start processing routine (Fig. 4) described above.
This flag is set in step S418 when step 1) is executed and rental ball discharge is started.

【0204】ステップS854で“Yes”と判定され
るとステップS856へ移行し、貸し玉排出音発生要求
信号Eをロウレベルにアサートしてから、玉貸音タイマ
をセットし、玉貸音要求フラグを“0”にクリアして本
ルーチンを終了する(ステップS858,S860)。 一方、ステップS854で“No”すなわち玉貸音要求
フラグが“0”と判定すると、ステップS872へ進み
、遊技盤制御装置400に対する賞球排出音発生要求信
号Dがロウレベルにアサートされているか調べ、ハイレ
ベルであればステップS874へ進み賞球音要求フラグ
が“1”にされているか否か判定する。上記賞球音要求
フラグは、前述した賞球開始処理ルーチン(図32)が
実行されて賞球排出が開始される際に、ステップS89
でセットされるフラグである。
[0204] If it is determined as "Yes" in step S854, the process moves to step S856, where the ball rental sound generation request signal E is asserted to low level, the ball rental sound timer is set, and the ball rental sound request flag is set. It is cleared to "0" and this routine ends (steps S858, S860). On the other hand, if it is determined in step S854 that it is "No", that is, the ball rental sound request flag is "0", the process advances to step S872, and it is checked whether the prize ball discharge sound generation request signal D to the game board control device 400 is asserted to a low level; If the level is high, the process advances to step S874 and it is determined whether the prize ball sound request flag is set to "1". The above-mentioned prize ball sound request flag is set in step S89 when the aforementioned prize ball start processing routine (FIG. 32) is executed and prize ball discharge is started.
This is a flag set by .

【0205】ステップS874で“Yes”と判定され
るとステップS876へ移行し、賞球排出音発生要求信
号Dをロウレベルにアサートしてから、賞球音タイマを
セットし、賞球音要求フラグを“0”にクリアして本ル
ーチンを終了する(ステップS878,S880)。そ
れから、再び本ルーチンが開始されたときに、ステップ
S852へ来ると、“Yes”すなわち貸し玉排出音発
生要求信号Eがロウレベルであると判定されてステップ
S862へ移行し、上記ステップS858でセットした
玉貸音タイマがタイムアップしたか否か判定する。そし
て、タイムアップしていなければそのままルーチンを終
了し、タイムアップしていれば貸し玉排出音発生要求信
号Eをハイレベルにネゲートしてルーチンを終了する(
ステップS864)。
If the determination in step S874 is "Yes", the process moves to step S876, where the prize ball ejection sound generation request signal D is asserted to low level, the prize ball sound timer is set, and the prize ball sound request flag is set. It is cleared to "0" and this routine ends (steps S878, S880). Then, when this routine is started again, when it comes to step S852, it is determined to be "Yes", that is, the rented ball ejection sound generation request signal E is at a low level, and the process moves to step S862, where the signal set in step S858 is determined to be low. Determine whether or not the ball rental sound timer has timed up. Then, if the time is not up, the routine is terminated, and if the time is up, the rental ball discharge sound generation request signal E is negated to a high level and the routine is terminated (
Step S864).

【0206】一方、ステップS876で賞球排出音発生
要求信号Dがロウレベルにアサートされてから、再び本
ルーチンが開始され、ステップS872へ来ると“Ye
s”すなわち賞球排出音発生要求信号Dがロウレベルで
あると判定されてステップS882へ移行し、上記ステ
ップS878でセットした賞球音タイマがタイムアップ
したか否か判定する。そして、タイムアップしていなけ
ればそのままルーチンを終了し、タイムアップしていれ
ば賞球排出音発生要求信号Dをハイレベルにネゲートし
てルーチンを終了する(ステップS884)。
On the other hand, after the award ball ejection sound generation request signal D is asserted to a low level in step S876, this routine is started again, and when step S872 is reached, "Ye" is output.
s'', that is, the prize ball ejection sound generation request signal D is determined to be at a low level, the process moves to step S882, and it is determined whether or not the prize ball sound timer set in step S878 has timed up. If not, the routine ends, and if the time is up, the prize ball ejection sound generation request signal D is negated to a high level and the routine ends (step S884).

【0207】図50には、上記情報出力処理フロー中に
おけるホールの管理装置700に対する上記賞球情報出
力処理S900の具体的手順の一例を示す。この賞球情
報はホールの管理装置700に対して出力される。この
ルーチンが開始されると、まずステップS902で遊技
盤制御装置400に対し出力される読込み確定信号Hが
ロウレベルにアサートされているか調べ、ハイレベルで
あればステップS904へ進み、読込み確定フラグが“
1”にされているか否か判定する。上記読込み確定フラ
グは、前述した賞球排出処理ルーチン(図35)が実行
されて賞球排出が開始される際に、ステップS214で
セットされるフラグである。
FIG. 50 shows an example of a specific procedure of the prize ball information output process S900 to the hole management device 700 in the information output process flow. This prize ball information is output to the hole management device 700. When this routine is started, first in step S902 it is checked whether the read confirmation signal H output to the game board control device 400 is asserted to a low level. If it is high, the process advances to step S904, and the read confirmation flag is set to "
1". The reading confirmation flag is a flag that is set in step S214 when the aforementioned prize ball discharge processing routine (FIG. 35) is executed and prize ball discharge is started. be.

【0208】ステップS904で“Yes”と判定され
るとステップS906へ移行し、読込み確定信号Hをロ
ウレベルにアサートしてから、読込み確定タイマをセッ
トし、読込み確定フラグを“0”にクリアして本ルーチ
ンを終了する(ステップS908,S910)。そして
、読込み確定信号Hがロウレベルにアサートされてから
、再び本ルーチンが開始され、ステップS902まで来
ると“Yes”すなわち読込み確定信号Hがロウレベル
であると判定されて、ステップS912へ移行して上記
ステップS908でセットした読込み確定タイマがタイ
ムアップしたか否か判定する。そして、タイムアップし
ていなければそのままルーチンを終了し、タイムアップ
していれば読込み確定信号Hをハイレベルにネゲートし
てルーチンを終了する(ステップS914)。
If "Yes" is determined in step S904, the process moves to step S906, where the read confirmation signal H is asserted to low level, the read confirmation timer is set, and the read confirmation flag is cleared to "0". This routine ends (steps S908, S910). Then, after the read confirmation signal H is asserted to low level, this routine is started again, and when it reaches step S902, it is determined "Yes", that is, the read confirmation signal H is low level, and the process moves to step S912, and the above-mentioned It is determined whether the read confirmation timer set in step S908 has timed up. Then, if the time has not expired, the routine is terminated, and if the time has expired, the read confirmation signal H is negated to a high level and the routine is terminated (step S914).

【0209】一方、ステップS904で“No”すなわ
ち読込み確定フラグが“0”と判定すると、ステップS
920へ進み、遊技盤制御装置400に対する賞球数信
号I(1パルスで排出球10個を表す)がロウレベルに
アサートされているか調べ、ハイレベルであればステッ
プS922へ進み、賞球送信禁止フラグが“1”にされ
ているか否か判定する。上記賞球送信禁止フラグは、後
述のステップS932で賞球数信号Iがネゲートされた
ときに所定時間該信号の送信を禁止させるためにセット
されるフラグである。
On the other hand, if it is determined "No" in step S904, that is, the read confirmation flag is "0", step
The process proceeds to step S920, and it is checked whether the prize ball number signal I (one pulse represents 10 ejected balls) to the game board control device 400 is asserted to a low level, and if the level is high, the process proceeds to step S922, where the prize ball transmission prohibition flag is set. is set to "1". The prize ball transmission prohibition flag is a flag that is set to prohibit transmission of the signal for a predetermined period of time when the prize ball number signal I is negated in step S932, which will be described later.

【0210】ステップS922で“No”と判定される
とステップS924へ移行し、賞球排出カウンタ(図3
5の賞球排出処理中のステップS216で排出終了時に
排出数(賞球数)分だけ1度に更新される)の値が10
個以上か否か判定して“No”すなわち9個以下ならそ
のままルーチンを終了し、10個以上なら賞球数信号I
をロウレベルにアサートしてから、賞球数タイマ1をセ
ットして本ルーチンを終了する(ステップS926,S
928)。排出球10個に対して所定のパルス幅の賞球
数信号Iを1パルス出力させるためである。それから、
再び本ルーチンが開始されたときに、ステップS920
で“Yes”すなわち賞球数信号Iがロウレベルである
と判定すると、ステップS930へ移行して上記ステッ
プS928でセットした賞球数タイマ1がタイムアップ
したか否か判定する。そして、タイムアップしていなけ
ればそのままルーチンを終了し、タイムアップしていれ
ばステップS932で賞球数信号Iをハイレベルにネゲ
ートしてから、賞球排出カウンタの値を「10」だけ減
算し(タイマ1の動作中にもカウンタの値は更新される
ため“0”にクリアすることはできない)、また賞球送
信禁止フラグを“1”にセットし、賞球タイマ2を起動
して本ルーチンを終了する(ステップS934,S93
6,S938)。
[0210] If the determination in step S922 is "No", the process moves to step S924, and the prize ball ejection counter (Fig. 3
In step S216 during the prize ball discharge process in step 5, when the discharge is completed, the value of 10 is updated by the number of discharged balls (number of prize balls) at once.
If the number is 9 or less, the routine is terminated, and if the number is 10 or more, the prize number signal I
is asserted to a low level, then the prize pitch count timer 1 is set and this routine ends (steps S926 and S926).
928). This is to output one pulse of the prize ball number signal I having a predetermined pulse width for 10 ejected balls. after that,
When this routine is started again, step S920
If "Yes" is determined, that is, the prize ball number signal I is at a low level, the process moves to step S930, and it is determined whether or not the prize ball number timer 1 set in step S928 has timed up. If the time is not up, the routine is immediately terminated; if the time is up, the prize ball count signal I is negated to a high level in step S932, and the value of the prize ball discharge counter is subtracted by "10". (The value of the counter is updated even while timer 1 is operating, so it cannot be cleared to "0".) Also, set the prize ball transmission prohibition flag to "1", start prize ball timer 2, and start the real timer. End the routine (steps S934, S93
6, S938).

【0211】このようにして、賞球送信禁止フラグが“
1”にセットされてから再び本ルーチンが開始されると
、ステップS922で“Yes”すなわち賞球送信禁止
フラグが“1”と判定されるため、ステップS940へ
移行して賞球数タイマ2がタイムアップしたか否か判定
する。そして、タイムアップしていなければそのままル
ーチンを終了し、タイムアップしていれば賞球送信禁止
フラグを“0”にクリアしてルーチンを終了する(ステ
ップS942)。これによって、賞球数10個毎に所定
のパルス幅(タイマ1の設定時間)の賞球数信号Iを出
力させることができ、また賞球数信号Iを1パルス出力
した後は一定時間信号の送信が禁止される。その結果、
多数のパチンコ遊技機からの賞球数信号を受信する管理
装置700が各パチンコ遊技機からの賞球数信号Iを確
実に取り込むことができる。
[0211] In this way, the prize ball transmission prohibition flag is set to “
When this routine is restarted after being set to 1, the determination in step S922 is "Yes", that is, the prize ball transmission prohibition flag is determined to be "1", so the process moves to step S940 and the prize ball count timer 2 is It is determined whether or not the time is up. If the time is not up, the routine is immediately terminated. If the time is up, the prize ball transmission prohibition flag is cleared to "0" and the routine is terminated (step S942). By doing this, it is possible to output the prize ball number signal I with a predetermined pulse width (timer 1 setting time) every 10 prize balls, and after outputting one pulse of the prize ball number signal I, the number of prize balls signal I is output for a certain period of time. The transmission of signals is prohibited.As a result,
A management device 700 that receives prize ball number signals from a large number of pachinko gaming machines can reliably take in the prize ball number signal I from each pachinko gaming machine.

【0212】図51には、上記情報出力処理(図47)
フロー中における上記遊技台情報出力処理S950の具
体的手順の一例を示す。この遊技台情報もホールの管理
装置700に対して出力される。このルーチンが開始さ
れると、まずステップS952で補給要求フラグが“1
”にされているか否か判定する。上記補給要求フラグは
、前述した補給センサ入力処理ルーチン(図25)によ
って補給センサ106の入力が検知され、メインルーチ
ン中の補給処理(図46)が実行されることにより、ス
テップS756でセットされるフラグである。このステ
ップS952で“No”と判定されると次のステップS
953で補給要求信号Kをハイレベルにネゲートし、“
Yes”と判定されるとステップS954へ移行して補
給要求信号Kをロウレベルにアサートしてから、読込み
確定タイマをセットしてから、ステップS956へ移行
する。
FIG. 51 shows the above information output processing (FIG. 47).
An example of a specific procedure of the game machine information output process S950 in the flow is shown. This game machine information is also output to the hall management device 700. When this routine is started, the replenishment request flag is set to "1" in step S952.
The replenishment request flag is set when the input of the replenishment sensor 106 is detected by the replenishment sensor input processing routine (FIG. 25) described above, and the replenishment processing (FIG. 46) in the main routine is executed. This is the flag that is set in step S756 by the
At 953, the replenishment request signal K is negated to high level, and “
If the determination is ``Yes'', the process moves to step S954, where the replenishment request signal K is asserted to low level, a read confirmation timer is set, and then the process moves to step S956.

【0213】ステップS956では、枠センサ入力処理
ルーチン(図19)で枠センサ103からの信号の変化
を検知して設定される枠解放フラグを、また続くステッ
プS958では同じく枠センサ入力処理ルーチン(図1
9)で設定される枠閉塞フラグをそれぞれ調べて、枠解
放フラグが“1”なら枠解放信号をロウレベルにアサー
トし、枠解放フラグが“1”なら枠閉塞信号をハイレベ
ルにネゲートして(ステップS957,S959)から
、ステップS960へ移行する。
In step S956, the frame release flag that is set by detecting a change in the signal from the frame sensor 103 in the frame sensor input processing routine (FIG. 19) is set, and in the subsequent step S958, the frame release flag is set in the frame sensor input processing routine (FIG. 1
Check each frame blockage flag set in step 9), and if the frame release flag is "1", assert the frame release signal to low level, and if the frame release flag is "1", negate the frame blockage signal to high level ( Steps S957, S959) move to step S960.

【0214】ステップS960では、遊技盤制御装置4
00に対して出力されるアウト数信号L(1パルスでア
ウト球10個を表す)がロウレベルにアサートされてい
るか調べ、ハイレベルであればステップS962へ進み
、アウト送信禁止フラグが“1”にされているか否か判
定する。上記アウト送信禁止フラグは、後述のステップ
S972でアウト数信号Lがネゲートされたときに所定
時間該信号の送信を禁止させるためにセットされるフラ
グである。
[0214] In step S960, the game board control device 4
It is checked whether the out number signal L (one pulse represents 10 out balls) output for 00 is asserted to low level, and if it is high level, the process advances to step S962, and the out transmission prohibition flag is set to "1". Determine whether or not. The out transmission prohibition flag is a flag that is set to prohibit transmission of the signal for a predetermined period of time when the out number signal L is negated in step S972, which will be described later.

【0215】ステップS962で“No”と判定される
とステップS964へ移行し、アウトカウンタ(図28
のアウトセンサ入力処理ルーチン中のステップS602
2で1球毎に更新される)の値が10個以上か否か判定
して9個以下ならそのままルーチンを終了し、10個以
上ならアウト数信号Lをロウレベルにアサートしてから
、アウトタイマ1をセットして本ルーチンを終了する(
ステップS966,S968)。アウト球10個に対し
て所定のパルス幅のアウト数信号Lを1パルス出力させ
るためである。それから、再び本ルーチンが開始された
ときに、ステップS960まで来ると“Yes”すなわ
ちアウト数信号Lがロウレベルであると判定され、ステ
ップS970へ移行して上記ステップS968でセット
したアウトタイマ1がタイムアップしたか否か判定する
。そして、タイムアップしていなければそのままルーチ
ンを終了し、タイムアップしていればステップS972
でアウト数信号Lをハイレベルにネゲートしてから、ア
ウトカウンタの値を「10」だけ減算し(タイマ1の動
作中にもカウンタの値は更新されるため“0”にクリア
することはできない)、またアウト送信禁止フラグを“
1”にセットし、アウトタイマ2を起動して本ルーチン
を終了する(ステップS974,S976,S978)
[0215] If the determination in step S962 is "No", the process moves to step S964, and the out counter (FIG. 28
Step S602 in the out-sensor input processing routine of
2 (updated every pitch) is 10 or more, and if it is 9 or less, the routine ends as is, and if it is 10 or more, the out number signal L is asserted to low level, and then the out timer is set. Set 1 and end this routine (
Steps S966, S968). This is to output one pulse of the out number signal L having a predetermined pulse width for 10 out balls. Then, when this routine is started again, when it reaches step S960, it is determined "Yes", that is, the out number signal L is at a low level, and the process moves to step S970, where the out timer 1 set in step S968 Determine whether it has been uploaded. Then, if the time is not up, the routine ends, and if the time is up, step S972 is executed.
After negating the out number signal L to high level, subtract "10" from the out counter value (the counter value is updated even while timer 1 is operating, so it cannot be cleared to "0". ), and also set the out send prohibition flag “
1”, starts out timer 2, and ends this routine (steps S974, S976, S978).
.

【0216】このようにして、アウト送信禁止フラグが
“1”にセットされてから再び本ルーチンが開始される
と、ステップS962で“Yes”すなわちアウト送信
禁止フラグが“1”と判定されるため、ステップS98
0へ移行してアウトタイマ2がタイムアップしたか否か
判定する。そして、タイムアップしていなければそのま
まルーチンを終了し、タイムアップしていればアウト送
信禁止フラグを“0”にクリアしてルーチンを終了する
(ステップS982)。
[0216] When this routine is started again after the out transmission prohibition flag is set to "1" in this way, it is determined as "Yes" in step S962, that is, the out transmission prohibition flag is determined to be "1". , step S98
0, and it is determined whether or not out timer 2 has timed up. If the time has not expired, the routine is immediately terminated; if the time has expired, the out transmission prohibition flag is cleared to "0" and the routine is terminated (step S982).

【0217】図52には、上記情報出力処理(図47)
フロー中における上記エラー情報出力処理S990の具
体的手順の一例を示す。このエラー情報もホールの管理
装置700に対して出力される。このルーチンが開始さ
れると、まずステップS992で排出エラーフラグが“
1”になっているか否か判定する。このステップS99
2で“No”と判定されると次のステップS994で排
出不正フラグが“1”になっているか否か判定する。 上記排出エラーフラグは、前述した排出処理ルーチン(
図36)において、排出開始処理ルーチン(図33)の
ステップS142でセットされた排出監視タイマがカウ
ントアップするまでに所定数の賞品球の排出が完了しな
いときに、ステップS230にて排出制御系の異常を示
すべくその値が“1”に設定されるものである。この排
出エラーフラグが“1”にされると前述の排出エラー回
復処理(図40)が実行されると共に、本ルーチンのエ
ラー情報出力が行なわれる。
FIG. 52 shows the above information output processing (FIG. 47).
An example of a specific procedure of the error information output process S990 in the flow is shown. This error information is also output to the hall management device 700. When this routine starts, first in step S992 the discharge error flag is set to “
1". This step S99
If the determination in step S994 is "No", it is determined in step S994 whether or not the discharge irregularity flag is set to "1". The above discharge error flag is used in the discharge processing routine (
In FIG. 36), if the ejection of a predetermined number of prize balls is not completed by the time the ejection monitoring timer set in step S142 of the ejection start processing routine (FIG. 33) counts up, the ejection control system is activated in step S230. The value is set to "1" to indicate an abnormality. When this ejection error flag is set to "1", the above-mentioned ejection error recovery process (FIG. 40) is executed, and error information of this routine is output.

【0218】一方、上記排出不正フラグは、前述した排
出装置不正監視処理ルーチン(図30)によって排出ソ
レノイドがオフ状態であるにもかかわらず排出センサの
入力が検知されることにより、ステップS114でセッ
トされるフラグである。上記ステップS992またはS
994のいずれの判定でも“No”と判定されると次の
ルーチン996でエラー信号をハイレベルにネゲートし
、ステップS992またはS994のいずれかで“Ye
s”と判定されるとステップS998へ移行してエラー
信号をロウレベルにアサートして終了する。
[0218] On the other hand, the above-mentioned discharge fraud flag is set in step S114 by detecting the input of the discharge sensor even though the discharge solenoid is in the OFF state by the discharge device fraud monitoring processing routine (FIG. 30) described above. This is the flag to be used. Above step S992 or S
If it is determined as "No" in any of the determinations in step S994, the error signal is negated to a high level in the next routine 996, and "Yes" is determined in either step S992 or S994.
If it is determined that "s", the process moves to step S998, asserts the error signal to low level, and ends the process.

【0219】図53には、図15のメイン処理フロー中
のステップS15で行なわれる停電回復処理の具体的手
順の一例が示されている。この停電回復処理は、前述の
停電割込み処理(図29)によって排出中データ(賞球
排出数または貸し玉排出数)の退避が行なわれ、最終ス
テップS3020で停電フラグが“1”に設定されて終
了した後、停電が回復してCPUに電源が供給されてメ
インルーチンが開始されたときに、ステップS1で停電
フラグが“1”と判定してステップS13へ移行し、処
理ナンバーを“5”に設定してから、ステップS5へ移
行したときに“Yes”と判定されることで開始される
FIG. 53 shows an example of a specific procedure of the power failure recovery process performed in step S15 in the main process flow of FIG. 15. In this power outage recovery process, the data being ejected (the number of prize balls ejected or the number of rental balls ejected) is saved by the above-mentioned power outage interrupt process (FIG. 29), and the power outage flag is set to "1" in the final step S3020. After the power outage is restored and power is supplied to the CPU and the main routine is started, the power outage flag is determined to be "1" in step S1, the process moves to step S13, and the processing number is set to "5". The process starts when a determination of "Yes" is made when the process moves to step S5.

【0220】ステップS1で停電フラグが“1”と判定
されてステップS13へ移行したときに直ちに本停電回
復処理を実行することをせずに、一旦処理ナンバーを“
5”設定して、ステップS5で“Yes”と判定される
ことで開始させているのは、ステップS3の排出装置不
正監視処理を先に実行させて排出不正がないことを確認
してから、停電によって中断された排出を再開させるた
めである。図53の停電回復処理が開始されると、まず
前記排出センサレベル入力処理ルーチン(図22および
図23)で設定される排出センサ1玉有フラグおよび排
出センサ2玉有フラグと、図27の半端センサ入力処理
ルーチンで設定される半端センサ玉有フラグ、さらに図
26のオーバーフロー検出器入力処理ルーチンで設定さ
れるオーバーフロー玉有フラグを調べて(ステップS1
002−S1008)、いずれか一つのフラグでも“0
”になっている場合には排出可能フラグを“0”にクリ
アして終了する(ステップS1010)。
[0220] When the power outage flag is determined to be "1" in step S1 and the process moves to step S13, the main power outage recovery process is not executed immediately, but the process number is set to "1".
5" and the determination is "Yes" in step S5, the process is started by first executing the discharge device fraud monitoring process in step S3 to confirm that there is no discharge fraud. This is to restart the discharge that was interrupted due to a power outage.When the power outage recovery process shown in FIG. Then, check the discharge sensor 2 ball presence flag, the half sensor ball presence flag set in the half sensor input processing routine of FIG. 27, and the overflow sensor ball presence flag set in the overflow detector input processing routine of FIG. 26 (step S1
002-S1008), any one flag is “0”.
”, the discharge enable flag is cleared to “0” and the process ends (step S1010).

【0221】一方、すべてのフラグが“1”になってい
る場合には排出可能フラグを“1”にセット(ステップ
S1012)してから、バックアップRAMに退避され
ていた排出レジスタの値や中断された排出が玉貸し排出
であることを示すフラグ等のセーブデータを元のレジス
タやフラグに復帰させる(ステップS1014)。次の
ステップS1016では上記排出可能フラグが“1”に
なっているか否か調べ、“1”ならステップS1018
およびS1020で排出レジスタ1と排出レジスタ2の
値がそれぞれ「1」を越えているか判定し、排出レジス
タ1の値が「1」以下のときは排出レジスタ2の値を、
また排出レジスタ2の値が「1」以下のときは排出レジ
スタ1の値を、さらに排出レジスタ1と排出レジスタ2
の値がともに「1」を越えているときは両方の値を排出
レジスタ0に設定する(ステップS1022,S102
4,S1026)。
On the other hand, if all the flags are set to "1", the discharge possible flag is set to "1" (step S1012), and then the value of the discharge register saved in the backup RAM and the interrupted Save data such as a flag indicating that the discharge is a ball rental discharge is restored to the original register and flag (step S1014). In the next step S1016, it is checked whether the discharge possible flag is set to "1", and if it is "1", step S1018
And in S1020, it is determined whether the values of discharge register 1 and discharge register 2 each exceed "1", and if the value of discharge register 1 is "1" or less, the value of discharge register 2 is changed to
In addition, when the value of discharge register 2 is less than "1", the value of discharge register 1 is added to discharge register 1 and discharge register 2.
When both values exceed "1", both values are set in the discharge register 0 (steps S1022, S102
4, S1026).

【0222】それから、中断された排出が玉貸し排出で
あったか否か判定する(ステップS1028)。そして
、“Yes”ならステップS1030以降の継続玉貸し
排出を行ない、“No”すなわち中断された排出が玉貸
し排出であった場合には、ステップS1042以降の継
続賞球排出を行なう。これによって、停電発生時に2つ
の排出系のうちいずれか一方に未排出の玉数が残ってい
た場合にも、未排出の玉数が改めて排出レジスタ0に設
定されて再度排出が開始されるようになるため、停電回
復後に速やかに未排出の玉を排出させることができる。 なお、上記ステップS1018で排出レジスタ1の値が
「1」以下のときはステップS1022で排出レジスタ
2の値を排出レジスタ0に設定しているのは、排出レジ
スタの値が「1」ということは排出終了を意味しており
、排出レジスタ2に未排出の玉数が残っていると推定で
きるからである。同様に、ステップS1020で排出レ
ジスタ2の値が「1」以下のときはステップS1024
で排出レジスタ1の値を排出レジスタ0に設定している
のは、排出レジスタ1に未排出の玉数が残っていると推
定できるからである。
[0222] Then, it is determined whether or not the interrupted discharge was a ball rental discharge (step S1028). Then, if "Yes", continuous ball lending discharge is performed after step S1030, and if "No", that is, the interrupted discharge is ball lending discharge, continuous prize ball discharge is performed after step S1042. As a result, even if the number of balls that have not been ejected remains in either of the two ejection systems when a power outage occurs, the number of balls that have not been ejected will be set to ejection register 0 again and ejection will start again. Therefore, the balls that have not been ejected can be ejected immediately after the power is restored. Note that when the value of the discharge register 1 is "1" or less in step S1018, the value of the discharge register 2 is set to the discharge register 0 in step S1022. This does not mean that the value of the discharge register is "1". This is because it means that the ejection has ended, and it can be estimated that the number of balls that have not been ejected remains in the ejection register 2. Similarly, if the value of the discharge register 2 is "1" or less in step S1020, step S1024
The reason why the value of the ejection register 1 is set to ejection register 0 is because it can be estimated that the number of unejected balls remains in the ejection register 1.

【0223】上記継続玉貸し排出では、まず玉貸し音要
求フラグおよびP台レディフラグを“1”にセット(ス
テップS1030,S1032)して、貸し玉排出表示
ランプ113を点灯(ステップS1034)させてから
、図33に示されている排出開始処理と同一のルーチン
を実行して球排出装置170による排出を開始させる(
ステップS1036)。それから、玉貸し排出中であっ
たことの記憶を消去し、処理ナンバーを“3”に設定(
ステップS1038,S1040)した後、ステップS
1050へ移行して停電フラグを“0”にクリアして本
ルーチンを終了する。処理ナンバーを“3”に設定する
のは、上記ステップS1036で開始させた貸し玉排出
をメインルーチンの玉貸し排出処理S17で終了させる
ためである。
[0223] In the above-mentioned continuous ball rental discharge, first, the ball rental sound request flag and the P machine ready flag are set to "1" (steps S1030, S1032), and the ball rental display lamp 113 is turned on (step S1034). Then, the same routine as the discharge start process shown in FIG. 33 is executed to start discharge by the ball discharge device 170 (
Step S1036). Then, erase the memory that the ball was being discharged and set the processing number to "3" (
After steps S1038 and S1040), step S
The process moves to 1050, the power outage flag is cleared to "0", and this routine ends. The reason why the processing number is set to "3" is to end the rental ball discharge process started in step S1036 in the ball rental discharge process S17 of the main routine.

【0224】一方、ステップS1042以降の継続賞球
排出では、賞球排出表示ランプ112を点灯させてから
、図33に示されている排出開始処理と同一のルーチン
を実行して球排出装置170による排出を開始させる(
ステップS1044)。それから、賞球排出中であった
ことの記憶を消去し、処理ナンバーを“2”に設定(ス
テップS1046,S1048)した後、ステップS1
050へ移行して停電フラグを“0”にクリアして本ル
ーチンを終了する。処理ナンバーを“2”に設定するの
は、上記ステップS1044で開始させた賞球排出をメ
インルーチンの賞球排出処理S18で終了させるためで
ある。次に、カードリーダ250に対する制御信号や残
高表示器122の駆動信号およびパチンコ遊技機に設け
られた玉貸し変換ボタン123からの信号によっ上記排
出制御装置600対する玉貸し要求信号等を形成して出
力する上記玉貸し制御装置500の制御手順を図54乃
至図65を参照して詳細に説明する。
On the other hand, in the continuous prize ball ejection after step S1042, after lighting the prize ball ejection display lamp 112, the same routine as the ejection start process shown in FIG. Start draining (
Step S1044). Then, after erasing the memory that the prize ball was being ejected and setting the processing number to "2" (steps S1046, S1048), step S1
The process moves to 050, the power failure flag is cleared to "0", and this routine ends. The reason why the processing number is set to "2" is to end the prize ball discharge started in step S1044 in the prize ball discharge process S18 of the main routine. Next, a ball lending request signal, etc. to the discharge control device 600 is formed using a control signal for the card reader 250, a drive signal for the balance display 122, and a signal from the ball lending conversion button 123 provided on the pachinko gaming machine. The control procedure of the ball lending control device 500 to output will be explained in detail with reference to FIGS. 54 to 65.

【0225】図54には、上記玉貸し制御装置のメイン
ルーチンの概略が示されている。このメインルーチンは
、玉貸し制御装置500の電源が投入されると繰返し実
行される。電源が立上がると、先ず、RAMのクリアや
フラグの設定、出力バッファのリセット等の初期設定を
行なう(ステップS8002)。次のステップS800
4では、カードインフラグが“1”か“0”か判定する
。このカードインフラグは、後述のカード挿入処理S8
008の中で“1”にセットされ、カード返却処理S8
024の中で“0”にクリアされるフラグで、このフラ
グが“1”にされているということはカードリーダの中
にカードが取り込まれていることを意味する。上記ステ
ップS8004で、“No”すなわちカードインフラグ
が“0”と判定されたときは、ステップS8006へ進
んでカードリーダ250からの信号を調べてカードが挿
入されたか否か判定する。ここで“No”ならそのまま
、また“Yes”なら図55ののカード挿入処理(ステ
ップS8008)を実行してから、ステップS8010
へ移行して表示処理(図59参照)および情報送信処理
(図60参照)を実行する(ステップS8012)。
FIG. 54 shows an outline of the main routine of the ball lending control device. This main routine is repeatedly executed when the ball lending control device 500 is powered on. When the power is turned on, first, initial settings such as clearing the RAM, setting flags, and resetting the output buffer are performed (step S8002). Next step S800
In step 4, it is determined whether the card in flag is "1" or "0". This card in flag is set in card insertion process S8, which will be described later.
It is set to “1” in 008, and the card return process S8
This flag is cleared to "0" in 024, and the fact that this flag is set to "1" means that the card is loaded into the card reader. If the determination in step S8004 is "No", that is, the card in flag is "0", the process advances to step S8006, and the signal from the card reader 250 is checked to determine whether a card has been inserted. If “No” here, leave it as is, or if “Yes”, execute the card insertion process (step S8008) in FIG. 55, and then proceed to step S8010.
The display processing (see FIG. 59) and the information transmission processing (see FIG. 60) are executed (step S8012).

【0226】それから、ステップS8004へ戻り再び
カードインフラグが“1”か“0”か判定する。上記ス
テップS8008のカード挿入処理を実行してからこの
ステップS8004へ戻ってくると、カードインフラグ
が“1”にされているため“Yes”と判定してステッ
プS8014へ移行し、玉貸要求フラグが“1”か否か
判定する。この玉貸要求フラグは、上記ステップS80
18で玉貸SW立上フラグが“1”と判定されたときに
実行される上記玉貸要求開始処理S8020の中で“1
”にセットされる。玉貸要求フラグが“1”のときは、
ステップS8020で後述の玉貸要求処理(図57)が
実行されるとともに、情報送信処理(図60)で玉貸要
求信号Tのアサートが行なわれる。一方、ステップS8
014で“No”と判定されると、ステップS8016
へ進み、カード返却フラグが“1”か否か判定する。こ
のカード返却フラグは、パチンコ遊技機に設けられた返
却ボタン124がオンされたことを検出する後述の返却
SW入力処理(図62参照)もしくは上記カード挿入処
理の中でカード残高がゼロの場合等に“1”にセットさ
れる。このカード返却フラグが“1”のときは、ステッ
プS8022でカード返却処理(図58)が実行される
[0226] Then, the process returns to step S8004 and it is again determined whether the card in flag is "1" or "0". When returning to this step S8004 after executing the card insertion process in step S8008, the card in flag is set to "1", so it is determined as "Yes" and the process moves to step S8014, and the ball lending request flag is It is determined whether or not is "1". This ball lending request flag is set in step S80 above.
In the ball lending request start process S8020 executed when the ball lending SW startup flag is determined to be "1" in step 18, "1" is set.
”.When the ball lending request flag is “1”,
At step S8020, a ball lending request process (FIG. 57) to be described later is executed, and at the same time, a ball lending request signal T is asserted in an information transmission process (FIG. 60). On the other hand, step S8
If the determination in step S8014 is “No”, step S8016
It is determined whether the card return flag is "1" or not. This card return flag is set when the card balance is zero during the return SW input process described later (see FIG. 62) that detects that the return button 124 provided on the pachinko machine is turned on or during the card insertion process described above. is set to “1”. When this card return flag is "1", card return processing (FIG. 58) is executed in step S8022.

【0227】上記ステップS8016で“No”すなわ
ちカード返却フラグが“0”と判定されると、ステップ
S8018へ進み、玉貸SW立上フラグが“1”か否か
判定する。この玉貸SW立上フラグは、パチンコ遊技機
に設けられた玉貸し変換ボタン123がオンされたこと
を検出する後述の玉貸SW入力処理(図61参照)の中
で“1”にセットされる。玉貸SW立上フラグが“1”
のときは、ステップS8024で玉貸要求開始処理(図
56)が実行される。なお、上記各フラグの判定結果の
いかんにかかわらず、表示処理(ステップS8010)
および情報送信処理(ステップS8012)は、メイン
ルーチンの繰返しの際に毎回実行されるようになってい
る。
[0227] If it is determined in step S8016 that the card return flag is "0", the process proceeds to step S8018, and it is determined whether or not the ball lending SW startup flag is "1". This ball rental SW startup flag is set to "1" during the ball rental SW input process (see FIG. 61), which will be described later, to detect that the ball rental conversion button 123 provided on the pachinko machine is turned on. Ru. Ball lending SW startup flag is “1”
In this case, ball lending request start processing (FIG. 56) is executed in step S8024. Note that regardless of the determination result of each of the above flags, the display process (step S8010)
The information transmission process (step S8012) is executed every time the main routine is repeated.

【0228】図55には、上記メインルーチン(図54
)のステップS8008で実行されるカード挿入処理の
具体的手順の一例が示されている。この処理が開始され
ると、まずカードリーダ250から送られてきたデータ
のうちカード残高を読み込んで、カード残高がゼロか否
か判定する(ステップS8102,S8104)。そし
て、カード残高がゼロでないときはステップS8106
へすすんで、読み込んだカード残高データをRAM内の
挿入残高記憶部と現残高記憶部とにそれぞれ書き込んで
(ステップS8106,S8108)から、カードイン
フラグを“1”にセットして終了する(ステップS81
10)。一方、上記ステップS8104で“Yes”す
なわちカード残高がゼロであると判定すると、ステップ
S8112へ移行してカード返却フラグを“1”にセッ
トしてからステップS8110でカードインフラグを“
1”にセットして終了する。カードインフラグとカード
返却フラグが“1”にセットされると、メインルーチン
に戻ったときにステップS8004−S8016−S8
022と進んで後述のカード返却処理(図58)が実行
されてカードリーダ250に対してカード排出指令が与
えられる。
FIG. 55 shows the main routine (FIG. 54).
) shows an example of a specific procedure of the card insertion process executed in step S8008. When this process is started, the card balance is first read from the data sent from the card reader 250, and it is determined whether the card balance is zero (steps S8102, S8104). Then, if the card balance is not zero, step S8106
Then, the read card balance data is written to the inserted balance storage section and the current balance storage section in the RAM (steps S8106 and S8108), and then the card in flag is set to "1" and the process ends (step S81
10). On the other hand, if it is determined in step S8104 that the card balance is zero, the process moves to step S8112, where the card return flag is set to "1", and the card return flag is set to "1" in step S8110.
When the card in flag and card return flag are set to "1", steps S8004-S8016-S8 are executed when returning to the main routine.
022, a card return process (FIG. 58) to be described later is executed, and a card ejection command is given to the card reader 250.

【0229】図56には、上記メインルーチン(図54
)のステップS8024で実行される玉貸要求開始処理
の具体的手順の一例が示されている。この処理が開始さ
れると、まず予め設定器等により設定されている玉貸度
数(変換ボタンの一回の操作に対する排出回数)をRA
M内にセットする(ステップS8202)。続いて、残
高記憶値を挿入残高記憶部へ書き込んだ後、玉貸し要求
フラグを“1”にセットする(ステップS8204,S
8206)。残高記憶値を挿入残高記憶部へ書き込むの
は、玉貸機の残高表示器220に変換ボタンの操作前の
カード残高を表示させ、パチンコ遊技機の残高表示器1
22には変換後のカード残高を表示させるためである。 外部(実施例では信号加工装置900)へは残高記憶値
が出力されるようになっている。上記ステップS820
6で玉貸し要求フラグを“1”にセットした後は、玉貸
し変換ボタン123がオンされたことを検出する後述の
玉貸SW入力処理(図61参照)の中で“1”にセット
された玉貸SW立上フラグを“0”にクリアし、玉貸し
要求タイマ(例えば3秒)を起動させて終了する(ステ
ップS8208,S8210)。
FIG. 56 shows the main routine (FIG. 54).
) An example of a specific procedure of the ball lending request start process executed in step S8024 is shown. When this process starts, first, the number of ball rentals (the number of times the ball is discharged for one operation of the conversion button) set in advance by a setting device etc. is RA.
Set within M (step S8202). Subsequently, after writing the balance storage value into the insertion balance storage section, the ball lending request flag is set to "1" (steps S8204 and S8204).
8206). To write the balance memory value into the insertion balance memory section, the balance display 220 of the ball lending machine displays the card balance before the conversion button is operated, and the balance display 1 of the pachinko machine
This is to display the card balance after conversion at 22. The balance storage value is output to the outside (signal processing device 900 in the embodiment). Above step S820
After the ball lending request flag is set to "1" in step 6, it is set to "1" in the later-described ball lending SW input process (see FIG. 61) that detects that the ball lending conversion button 123 is turned on. The ball lending SW startup flag is cleared to "0", a ball lending request timer (for example, 3 seconds) is started, and the process ends (steps S8208, S8210).

【0230】図57には、上記メインルーチン(図54
)のステップS8020で実行される玉貸要求処理の具
体的手順の一例が示されている。この玉貸要求処理は、
前述した玉貸要求開始処理(図56)によって玉貸要求
フラグが“1”にセットされ、メインルーチンのステッ
プS8014で“Yes”と判定されることで開始され
る。この処理が開始されると、まず玉貸しフラグが“1
”か否か判定する(ステップS8302)。すべてのフ
ラグは、電源投入時に初期設定(ステップS8002)
で“0”にクリアされているので、最初にこの玉貸要求
処理が実行されたときにはこのステップS8302で“
No”と判定されてステップS8304へ進み、後述の
玉貸レディ受信処理(図65)で玉貸イネーブル信号U
を検出したときにセットされるP台レディ立下フラグが
“1”か否か判定する。ここでP台レディ立下フラグが
“0”であればステップS8306へ移行して、前記玉
貸要求開始処理(図56)のステップS8210でセッ
トされた玉貸要求タイマがタイムアップしたか否か判定
する。玉貸要求信号Tがアサートされてから、所定時間
(3秒)内に玉貸イネーブル信号Uが戻ってこない場合
に玉貸要求をキャンセルさせるためである。すなわち、
ステップS8306で玉貸要求タイマがタイムアップし
ていないと判定するとメインルーチンへ戻り、上記ステ
ップS8302−S8304−S8306を繰り返す。 そして、P台レディ立下フラグが“1”になる前に玉貸
要求タイマがタイムアップすると、ステップS8308
へ移行して玉貸数をリセットし、玉貸要求フラグを“0
”にクリア、カード返却フラグを“1”にセットして終
了する(ステップS8310,S8312)。
FIG. 57 shows the above main routine (FIG. 54).
) An example of a specific procedure of the ball loan request process executed in step S8020 is shown. This ball lending request process is
The ball lending request flag is set to "1" by the above-described ball lending request start process (FIG. 56), and the process is started when it is determined "Yes" in step S8014 of the main routine. When this process starts, first the ball lending flag is set to “1”.
” (step S8302). All flags are initialized when the power is turned on (step S8002).
Since it is cleared to "0" in step S8302, when this ball lending request process is executed for the first time, "
No”, the process advances to step S8304, and the ball lending enable signal U is received in the ball lending ready reception process (FIG. 65), which will be described later.
It is determined whether or not the P unit ready fall flag, which is set when detecting , is "1". Here, if the P unit ready falling flag is "0", the process moves to step S8306 and checks whether the ball lending request timer set in step S8210 of the ball lending request start process (FIG. 56) has timed up. judge. This is to cancel the ball lending request if the ball lending enable signal U does not return within a predetermined time (3 seconds) after the ball lending request signal T is asserted. That is,
If it is determined in step S8306 that the ball lending request timer has not timed up, the process returns to the main routine and repeats steps S8302-S8304-S8306. Then, if the ball lending request timer times out before the P stand ready falling flag becomes "1", step S8308
, reset the ball lending number and set the ball lending request flag to “0”.
”, the card return flag is set to “1”, and the process ends (steps S8310, S8312).

【0231】カードインフラグとカード返却フラグが“
1”にセットされると、カードインフラグがすでに“1
”であるため、メインルーチンに戻ったときにステップ
S8004−S8016−S8022と進んで、後述の
カード返却処理(図58)が実行されてカードリーダ2
50に対してカード排出指令が与えられる。一方、玉貸
要求タイマがタイムアップする前に、ステップS830
4でP台レディ立下フラグが“1”になったと判定する
と、上記玉貸フラグを“1”にセットし、P台レディ立
下フラグを“0”にクリアして終了する(ステップS8
314,S8316)。
[0231] The card in flag and card return flag are “
If set to 1, the card in flag is already set to 1.
”, when returning to the main routine, the process proceeds to steps S8004-S8016-S8022, and the card return process (FIG. 58) described later is executed, and the card reader 2
A card ejection command is given to 50. On the other hand, before the ball lending request timer times out, step S830
When it is determined that the P machine ready fall flag has become "1" in step S8, the ball lending flag is set to "1", the P machine ready fall flag is cleared to "0", and the process ends (step S8
314, S8316).

【0232】上記ステップS8314で玉貸フラグが“
1”にセットされると、再度当該玉貸要求処理が開始さ
れたときに、ステップS8302で“Yes”と判定さ
れてステップS8320へ移行し、後述の払出完了信号
受信処理(図64)で設定される払出完了立上フラグが
“1”になっているか否か判定する。ここで“No”な
らそのまま処理を終了し、“Yes”となった時点でス
テップS8322へ進み、払出完了立上フラグを“0”
にクリアし、上記残高記憶値を排出の最小単位相当する
金額分だけ減算する(ステップS8324)。そして、
次のステップS8326で残高記憶値が「0」になった
か否か判定し、「0」になったときはステップS832
8へ移行してカード返却フラグを“1”にセットしてか
ら、玉貸数をリセットして、上記玉貸フラグおよび玉貸
要求フラグを“0”にクリアして終了する(ステップS
8330,S8332,S8334)。
[0232] In the above step S8314, the ball lending flag is set to “
1", when the ball lending request process is started again, it is determined as "Yes" in step S8302 and the process moves to step S8320, and is set in the payout completion signal reception process (FIG. 64), which will be described later. It is determined whether the payout completion start-up flag is set to "1" or not. If "No" is determined, the process is immediately terminated, and when the result is "Yes", the process proceeds to step S8322, and the payout completion start-up flag is set to "1". “0”
is cleared, and the balance memory value is subtracted by the amount corresponding to the minimum unit of discharge (step S8324). and,
In the next step S8326, it is determined whether the balance memory value has become "0", and if it has become "0", step S832
8, sets the card return flag to "1", resets the number of balls rented, clears the ball lending flag and ball lending request flag to "0", and ends (step S
8330, S8332, S8334).

【0233】これによって、玉貸し変換ボタン123の
一回の操作による変換分(例えば300円)よりもカー
ド残高が少ない場合(例えば100円)にも玉貸し要求
が可能となり、残高が「0」になった時点で玉貸要求処
理が終了し、玉貸数も「0」にされる(ステップS83
30)ので、後の処理で何ら不都合を生じさせないで済
む。
[0233] As a result, even if the card balance is less (for example, 100 yen) than the amount converted by one operation of the ball lending conversion button 123 (for example, 300 yen), a ball lending request can be made, and the balance becomes "0". When the ball lending request process ends, the ball lending number is also set to "0" (step S83).
30), there is no need to cause any inconvenience in subsequent processing.

【0234】一方、ステップS8326で“残高有り”
と判定すると、ステップS8336へ進み玉貸数を変換
レート分だけ減算してから、カード返却フラグが“1”
になっているか否か判定する(ステップS8338)。 そして、カード返却フラグが“1”になっていれば、ス
テップS8330へ移行して玉貸要求処理が終了される
。これは、玉貸し排出中においても返却ボタン124を
押すことによって玉貸し排出を終了させることができる
ようにするためである。これによって、玉貸し変換ボタ
ン123の一回の操作による変換分(例えば300円)
のうち、200円分の貸し玉の排出が終了した時点で返
却ボタン124を押すと、100円分は変換せずに排出
が終了されることになる。上記ステップS8338で“
No”すなわちカード返却フラグが“0”であると判定
すると、ステップS8340へ進んで、玉貸数が「0」
になったか判定し、「0」であればステップS8332
へ移行して玉貸フラグおよび玉貸要求フラグを“0”に
クリアして終了する。
[0234] On the other hand, in step S8326, “there is a balance”
If it is determined that this is the case, the process advances to step S8336, where the number of borrowed balls is subtracted by the conversion rate, and the card return flag is set to "1".
It is determined whether or not (step S8338). If the card return flag is "1", the process moves to step S8330 and the ball lending request process is ended. This is to make it possible to end ball lending and discharging by pressing the return button 124 even during ball lending and discharging. As a result, the amount converted by one operation of the ball rental conversion button 123 (for example, 300 yen)
If the return button 124 is pressed when the ejection of 200 yen worth of rented balls is completed, the ejection of 100 yen worth of balls will be completed without being converted. In step S8338 above, “
If it is determined that the card return flag is "No", that is, the card return flag is "0", the process advances to step S8340, and the number of balls lent is "0".
If it is "0", step S8332
, the ball lending flag and the ball lending request flag are cleared to "0" and the process ends.

【0235】図58には、上記メインルーチン(図54
)のステップS8024で実行されるカード返却処理の
具体的手順の一例が示されている。この処理が開始され
ると、まずカードリーダ250に対して現残高記憶部に
記憶されているカードの最終残高を送ってカード残高の
書換え指令を与えるとともに、残高の目安を表すパンチ
穴の加工指令を与える(ステップS8402,S840
4)。次に、RAM内の挿入残高記憶部および残高記憶
部の値をクリアし(ステップS8406,S8408)
、カードリーダに対してカード排出指令を与えてから(
ステップS8410)、カードインフラグおよびカード
返却フラグを“0”にクリアしてカード返却処理を終了
する(ステップS8412,S8414)。
FIG. 58 shows the main routine (FIG. 54).
) shows an example of a specific procedure of the card return process executed in step S8024. When this process is started, first, the final balance of the card stored in the current balance storage unit is sent to the card reader 250 to give a command to rewrite the card balance, and a command is given to punch holes representing the approximate balance. (steps S8402, S840
4). Next, the values of the inserted balance storage section and the balance storage section in the RAM are cleared (steps S8406 and S8408).
, after giving the card ejection command to the card reader (
Step S8410), the card in flag and the card return flag are cleared to "0", and the card return process is ended (steps S8412, S8414).

【0236】図59には、上記メインルーチン(図54
)のステップS8010で実行される表示処理の具体的
手順の一例が示されている。この処理が開始されると、
まずカード挿入処理(図55)のステップS8110で
セットされるカードインフラグが“1”になっているか
調べ(ステップS8422)、“No”ならステップS
8424へ進み、玉貸機200の有効表示ランプ230
を点灯させ、パチンコ遊技機に設けられている玉貸し可
能ランプ126を消灯させる(ステップS8426)。 それから、挿入残高記憶部のデータを読み出して玉貸機
200に設けられている残高表示器220およびパチン
コ遊技機に設けられている残高表示器122にカードの
残高(上記有効表示ランプ230が点灯されるときはと
もに「0」)を表示させる(ステップS8428,S8
430)。
FIG. 59 shows the main routine (FIG. 54).
) shows an example of a specific procedure of the display process executed in step S8010. Once this process starts,
First, it is checked whether the card in flag set in step S8110 of the card insertion process (FIG. 55) is "1" (step S8422), and if "No", step S
Proceed to 8424 and turn on the valid indicator lamp 230 of the ball lending machine 200.
is turned on, and the ball rental available lamp 126 provided in the pachinko game machine is turned off (step S8426). Then, the data in the inserted balance storage section is read out and the balance display 220 provided in the ball lending machine 200 and the balance display 122 provided in the pachinko game machine display the card balance (the validity indicator lamp 230 is lit). 0) is displayed (steps S8428, S8
430).

【0237】一方、上記ステップS8322で“Yes
”と判定されると、ステップS8332へ移行して、玉
貸機200の有効表示ランプ230を消灯させてから、
玉貸度数が「0」か否か判定する(ステップS8434
)。ここで、玉貸度数が「0」になっていなければ上記
ステップS8426へ進んで玉貸し有効表示ランプ12
6を消灯させてから、また玉貸度数が「0」になってい
ればステップS8436へ進んで玉貸し有効表示ランプ
126を点灯させてから、上記ステップS8428,S
8430を実行して残高表示器220にカードの挿入時
の残高を表示させるとともに、残高記憶部のデータを読
み出してパチンコ遊技機に設けられている残高表示器1
22にカードの現在の残高を表示させて処理を終了する
。従って、上記処理により玉貸機200の有効表示ラン
プ230が消灯され、パチンコ遊技機の玉貸し表示ラン
プ126が点灯されていると、玉貸機内に有効なカード
が挿入されている状態にあることが分かる。
[0237] On the other hand, "Yes" in step S8322 above.
”, the process moves to step S8332, where the valid indicator lamp 230 of the ball rental machine 200 is turned off, and then
Determine whether the ball rental frequency is “0” (step S8434
). Here, if the ball rental frequency is not "0", the process advances to step S8426 and the ball rental valid display lamp 12
6 is turned off, and if the ball lending frequency is "0", the process advances to step S8436, where the ball lending valid display lamp 126 is turned on, and then steps S8428 and S are turned on.
8430 to display the balance at the time of insertion of the card on the balance display 220, read the data in the balance storage section, and display the balance display 1 provided in the pachinko gaming machine.
22 displays the current balance of the card, and the process ends. Therefore, if the valid display lamp 230 of the ball lending machine 200 is turned off by the above process and the ball lending display lamp 126 of the pachinko game machine is lit, it means that a valid card is inserted into the ball lending machine. I understand.

【0238】図60には、上記メインルーチン(図54
)のステップS8012で実行される情報送信処理の具
体的手順の一例が示されている。この処理が開始される
と、まず図56の玉貸要求開始処理ルーチンのステップ
S8206でセットされる玉貸要求フラグが“1”にな
っているか調べ(ステップS8452)、“No”なら
排出制御装置600に対する玉貸要求信号Tをハイレベ
ルにネゲート、また“Yes”なら玉貸要求信号Tをロ
ウレベルにアサートする(ステップS8454,S84
56)。それから、ステップS8458へ進み、決済フ
ラグをチェックする。すべてのフラグは初期設定で“0
”にクリアされているため、最初は“No”と判定して
ステップS8460へ進んで、払出完了立下フラグが“
1”になっているか調べる。そして、“1”でないとき
は処理を終了し、“1”と判定するとステップS846
2へ移行して決済フラグを“1”にセットしてから、決
済タイマをセットし、カードの管理装置800に対する
決済情報信号jをロウレベルにアサートし、払出完了立
下フラグを“0”にクリアして終了する(ステップS8
464,S8466,S8468)。
FIG. 60 shows the above main routine (FIG. 54).
) shows an example of a specific procedure of the information transmission process executed in step S8012. When this process is started, it is first checked whether the ball lending request flag set in step S8206 of the ball lending request start processing routine in FIG. 56 is "1" (step S8452), and if "No", the emission control device The ball lending request signal T for 600 is negated to high level, and if "Yes", the ball lending request signal T is asserted to low level (steps S8454, S84
56). Then, the process advances to step S8458 and the payment flag is checked. All flags are set to “0” by default.
”, the initial determination is “No” and the process proceeds to step S8460, where the payout completion fall flag is set to “
It is checked whether it is "1". If it is not "1", the process is terminated, and if it is determined to be "1", step S846
2, set the payment flag to "1", set the payment timer, assert the payment information signal j to the card management device 800 to low level, and clear the payout completion falling flag to "0". and ends (step S8
464, S8466, S8468).

【0239】上記ステップS8462で決済フラグが“
1”にセットされてから再度この情報送信処理が開始さ
れると、ステップS8458で“Yes”と判定されて
ステップS8470へ移行し、上記ステップS8464
でセットされた決済タイマがタイムアップしたか判定す
る。そして、決済タイマがタイムアップするまで、上記
ルーチンを繰返し、決済タイマがタイムアップした時点
でステップS8472へ移行して、決済情報信号jをロ
ウレベルにネゲートしてから、決済フラグを“0”にク
リアして終了する(ステップS8474)。上記決済タ
イマは例えば50m秒のような時間に設定されており、
払出完了立下フラグが“1”にされたときに、50m秒
のパルス幅を有する決済情報信号jが形成されてカード
管理装置800に送信される。カード管理装置800は
この信号を受けることによってカード残高の中から貸し
玉に変換された金額を知ることができる。
[0239] In the above step S8462, the payment flag is set to “
When this information transmission process is started again after being set to ``1'', it is determined as ``Yes'' in step S8458, and the process moves to step S8470, and the above-mentioned step S8464 is
Determine whether the payment timer set in has timed out. Then, the above routine is repeated until the payment timer times out. When the payment timer times out, the process moves to step S8472, negates the payment information signal j to low level, and then clears the payment flag to "0". The process ends (step S8474). The above payment timer is set to a time such as 50ms,
When the payout completion fall flag is set to "1", a payment information signal j having a pulse width of 50 msec is generated and transmitted to the card management device 800. By receiving this signal, the card management device 800 can know the amount of money converted into rented balls from the card balance.

【0240】図61には、図54のメインルーチン(バ
ックグランド処理)に優先して玉貸し制御装置500に
よって所定時間(例えば0.5msec)経過毎に行な
われるタイマ割込処理の手順が示されている。このタイ
マ割込処理は、専ら玉貸し制御装置500に対する入力
信号の検出を行なうために定期的に実行される。この割
込み処理が開始されると、まず割込みタイマを更新(ス
テップS8502)してから、玉貸SW入力処理S85
04、返却SW入力処理S8506、払出完了信号受信
処理S8508、玉貸イネーブル受信処理S8510を
実行する。
FIG. 61 shows the procedure of timer interrupt processing which is carried out by the ball rental control device 500 every predetermined period of time (for example, 0.5 msec) in priority to the main routine (background processing) of FIG. 54. ing. This timer interrupt processing is periodically executed exclusively to detect input signals to the ball lending control device 500. When this interrupt process is started, the interrupt timer is first updated (step S8502), and then the ball lending SW input process S85
04, return SW input processing S8506, payout completion signal reception processing S8508, and ball lending enable reception processing S8510 are executed.

【0241】図62は割込処理(図61)の前記ステッ
プS8504にて行なわれる玉貸SW入力処理ルーチン
のフローチャートで、パチンコ遊技機に設けられた変換
ボタン123がオンされるとこれを検知して信号加工装
置900が送ってくる変換要求信号Yを玉貸し制御装置
500が読み込んで、前記メインルーチンにおいて玉貸
要求開始処理への移行条件としてステップS8018で
参照される玉貸SW立上フラグをセットするために実行
されるものである。本ルーチンが開始されると、先ずス
テップS8602,S8604にて上記カードインフラ
グと玉貸要求フラグをチェックして、カードインフラグ
が“0”になっているときや玉貸要求フラグが“1”に
なっているときは何もせずにルーチンを終了する。これ
によって、玉貸機にまだカードが挿入されていない状態
や既に玉貸要求処理に入っている状態での変換スイッチ
入力信号の読込みが回避される。
FIG. 62 is a flowchart of the ball lending SW input processing routine carried out in step S8504 of the interrupt processing (FIG. 61). When the conversion button 123 provided on the pachinko game machine is turned on, this is detected. The ball lending control device 500 reads the conversion request signal Y sent by the signal processing device 900, and sets the ball lending SW startup flag referred to in step S8018 as a transition condition to the ball lending request start process in the main routine. It is executed to set the When this routine is started, first, in steps S8602 and S8604, the card in flag and the ball loan request flag are checked, and if the card in flag is "0" or the ball loan request flag is "1", the card in flag and the ball loan request flag are checked. , the routine ends without doing anything. This prevents the conversion switch input signal from being read in a state where no card has been inserted into the ball lending machine or in a state where the ball lending request process has already started.

【0242】ステップS8602,S8604でともに
“Yes”すなわちカードインフラグが“1”でかつ玉
貸要求フラグが“0”になっていると、ステップS86
06へ進みカード返却フラグが“0”になっているか調
べる。ここで“Yes”と判定すると、ステップS86
08へ進んで玉貸変化フラグが“1”であるか否かが判
定される。玉貸変化フラグおよびつぎにでてくる玉貸ロ
ウレベルフラグはこのサブルーチンの中においてのみ使
用されるフラグであり、その他のフラグと同様に初期設
定で“0”にクリアされており、最初の信号が入ってく
るまで玉貸変化フラグは“0”であるので、ステップS
8608ではまず“No”と判定される。すると、続い
てステップS8610にて玉貸ロウレベルフラグが“1
”であるか否かが判定される。ここで、“No”ならス
テップS8612で玉貸し変換ボタン123からの信号
をみてスイッチがオンされているか否か判定し、オフな
ら上記玉貸ロウレベルフラグを“1”に設定し(ステッ
プS8614)、オンなら何もせずにルーチンを終了す
る。このようにして一旦玉貸ロウレベルフラグが“1”
に設定されると、次のルーチンではステップS8610
で“Yes”と判定されてステップS8616へ移行し
、玉貸し変換ボタンからの信号をみてスイッチがオンか
否か判定する。ここで、玉貸し変換スイッチがオンであ
ると判定すると、玉貸変化フラグを“1”に設定し、玉
貸ロウレベルフラグを“0”にクリアして終了する(ス
テップS8618,S8620)。
[0242] If "Yes" in both steps S8602 and S8604, that is, the card in flag is "1" and the ball lending request flag is "0", the process proceeds to step S86.
Proceed to step 06 and check whether the card return flag is "0". If the determination is "Yes" here, step S86
The process proceeds to step 08, where it is determined whether the ball lending change flag is "1" or not. The ball lending change flag and the next ball lending low level flag are used only in this subroutine, and like other flags, they are cleared to "0" by default, and the first signal is Since the ball lending change flag is "0" until the ball is entered, step S
At 8608, the determination is "No". Then, in step S8610, the ball lending low level flag is set to "1".
”.Here, if “No”, the signal from the ball lending conversion button 123 is checked in step S8612 to determine whether the switch is on, and if it is off, the above ball lending low level flag is set. Set it to "1" (step S8614), and if it is on, end the routine without doing anything.In this way, once the ball lending low level flag is set to "1".
If set to , the next routine will proceed to step S8610.
If the answer is "Yes", the process moves to step S8616, and the signal from the ball rental conversion button is checked to determine whether the switch is on. Here, if it is determined that the ball lending conversion switch is on, the ball lending change flag is set to "1", the ball lending low level flag is cleared to "0", and the process ends (steps S8618, S8620).

【0243】次にこのルーチンが開始されると、ステッ
プS8608で“Yes”と判定されてステップS86
22へ進み、玉貸し変換スイッチ(123)がオンか否
か判定される。通常は玉貸変化フラグが“1”のときは
玉貸し変換スイッチがオンである(ステップS8616
とS8618参照)ので、“Yes”と判定されてステ
ップS8624へ進む。ステップS8624では玉貸S
W立上フラグを“1”にセットし、次に玉貸変化フラグ
を“0”にクリアして終了する(ステップS8626)
。ただし、玉貸変化フラグが“1”であるにもかかわら
ずステップS8622で玉貸し変換スイッチガオフと判
定すると、ステップS8628で玉貸ロウレベルフラグ
を“1”にセットしなおす。ステップS8616でノイ
ズを拾って玉貸変化フラグが“1”にセットされてしま
った場合に、これをキャンセルできるようにするためで
ある。上記ステップS8626で玉貸変化フラグを“0
”にクリアしてから再び本サブルーチンが実行されると
、ステップS8608で“No”と判定されるため、ス
テップS8610へ進み、玉貸ロウレベルフラグが“1
”であるか否かが判定される。一旦玉貸し変換スイッチ
の信号の立上りを検出してからこのステップにくると、
ここで“No”と判定されるので、ステップS8612
へ進んで玉貸し変換スイッチがオフされているか否か判
定し、上記玉貸ロウレベルフラグを“1”に設定し(ス
テップS8614)、オンなら何もせずにルーチンを終
了する。上記ルーチンを繰り返しているうちに玉貸し変
換スイッチがオフになると、ステップS8612で“Y
es”と判定されので、上記玉貸ロウレベルフラグを“
1”に設定して終了する(ステップS8614)。
[0243] Next, when this routine is started, a determination of "Yes" is made in step S8608, and the process proceeds to step S86.
22, it is determined whether or not the ball rental conversion switch (123) is on. Normally, when the ball lending change flag is "1", the ball lending conversion switch is on (step S8616).
(see S8618), the determination is "Yes" and the process advances to step S8624. In step S8624, ball rental S
The W start flag is set to "1", and then the ball lending change flag is cleared to "0" and the process ends (step S8626).
. However, if it is determined in step S8622 that the ball lending conversion switch is off even though the ball lending change flag is "1", the ball lending low level flag is reset to "1" in step S8628. This is to make it possible to cancel when the ball lending change flag is set to "1" due to noise picked up in step S8616. In step S8626 above, the ball lending change flag is set to “0”.
When this subroutine is executed again after clearing the flag to "1," the determination in step S8608 is "No," so the process advances to step S8610, where the ball lending low level flag is set to "1."
” is determined. Once the rising edge of the ball rental conversion switch signal is detected and this step is reached,
Since the determination is “No” here, step S8612
It is determined whether the ball lending conversion switch is off or not, and the ball lending low level flag is set to "1" (step S8614), and if it is on, the routine is ended without doing anything. If the ball rental conversion switch turns off while repeating the above routine, “Y” is displayed in step S8612.
es", so the above ball lending low level flag is set to "
1” and ends (step S8614).

【0244】なお、上記ルーチンを繰り返している間に
他の処理(図55のカード挿入処理)においてカード返
却フラグが“1”にセットされると、ステップS860
6で“No”と判定されて、玉貸変化フラグが直ちに“
0”にクリアされる(ステップS8630)。これによ
って、一旦ステップS8618で玉貸変化フラグが“1
”にセットされても、次のタイマ割込みでこのルーチン
が実行されるまでにカード返却フラグが“1”になって
いると、ステップS8624での玉貸SW立上フラグの
セットが行なわれないようになる。その結果、カード返
却処理が実行されたにもかかわらず玉貸SW立上フラグ
がセットされるような事態を回避することができる。
Note that if the card return flag is set to "1" in another process (card insertion process in FIG. 55) while repeating the above routine, step S860
6 is determined as “No”, and the ball lending change flag is immediately changed to “
0" (step S8630). As a result, the ball lending change flag is temporarily set to "1" in step S8618.
”, if the card return flag is set to “1” by the time this routine is executed by the next timer interrupt, the ball lending SW startup flag will not be set in step S8624. As a result, it is possible to avoid a situation where the ball lending SW startup flag is set even though the card return process has been executed.

【0245】図63には割込処理(図61)の前記ステ
ップS8506にて行なわれる返却SW入力処理ルーチ
ンのフローチャートが示されている。このルーチンは、
パチンコ遊技機に設けられた返却ボタン124がオンさ
れると、これを検知して信号加工装置900が送ってく
る返却要求信号Zを玉貸し制御装置500が読み込んで
、前記メインルーチンにおいて玉貸要求開始処理への移
行条件としてステップS8016で参照されるカード返
却フラグをセットするために実行されるものである。 このルーチン(ステップS8702−S8730)は、
上記玉貸SW入力処理ルーチン(図62)とほとんど同
一の手順に従って行なわれるようになっており、その詳
細な説明は省略する。異なる点は玉貸SW入力処理ルー
チンのステップS8604で行なわれる玉貸要求フラグ
の判定がない点のみである。玉貸要求フラグの判定がな
いのは、玉貸し変換ボタン123をオンさせたとしても
直ちに返却ボタン124をオンさせれば玉貸しをキャン
セルできるようにするためである。なお、返却変化フラ
グおよび返却ロウレベルフラグはこのサブルーチンの中
においてのみ使用されるフラグである。
FIG. 63 shows a flowchart of the return SW input processing routine performed in step S8506 of the interrupt processing (FIG. 61). This routine is
When the return button 124 provided on the pachinko game machine is turned on, the ball lending control device 500 reads the return request signal Z sent by the signal processing device 900 upon detecting this, and requests the ball lending in the main routine. This is executed to set the card return flag referred to in step S8016 as a transition condition to the start process. This routine (steps S8702-S8730)
The procedure is almost the same as the ball lending SW input processing routine (FIG. 62), and detailed explanation thereof will be omitted. The only difference is that the ball lending request flag is not determined in step S8604 of the ball lending SW input processing routine. The reason why there is no determination of the ball lending request flag is so that even if the ball lending conversion button 123 is turned on, the ball lending can be canceled by immediately turning on the return button 124. Note that the return change flag and return low level flag are flags used only in this subroutine.

【0246】図64は、図61に示す割込処理のステッ
プS8508にて行なわれる払出完了信号受信処理のサ
ブルーチンを示すフローチャートである。前述したよう
に払出完了信号Vは、パチンコ遊技機側の排出制御装置
600から例えば100円分の貸し玉の排出終了ごとに
送られてくる信号であり、払出完了信号受信処理S85
08はこの信号を玉貸し制御装置500内に読み込むた
めの処理である。このサブルーチン(ステップS880
2−S8854)は、図25に示されている排出制御装
置による補給センサ入力処理ルーチンと同一の手順に従
って実行されるようになっており、その詳細な説明は省
略する。
FIG. 64 is a flowchart showing the subroutine of the payout completion signal reception process performed in step S8508 of the interrupt process shown in FIG. As mentioned above, the payout completion signal V is a signal sent from the discharge control device 600 on the pachinko gaming machine side every time, for example, 100 yen worth of rented balls is finished being discharged, and the payout completion signal V is a signal sent from the discharge control device 600 on the pachinko gaming machine side, for example, every time the rental balls worth 100 yen are finished being discharged.
08 is a process for reading this signal into the ball lending control device 500. This subroutine (step S880
2-S8854) is executed according to the same procedure as the replenishment sensor input processing routine by the emission control device shown in FIG. 25, and detailed explanation thereof will be omitted.

【0247】図65は、図61に示す割込処理のステッ
プS8510にて行なわれる玉貸イネーブル信号Uを読
み込むための玉貸イネーブル受信処理のサブルーチンを
示すフローチャートである。玉貸イネーブル信号Uは、
前述したようにパチンコ遊技機側の排出制御装置600
に対して図60の情報出力処理によって玉貸要求信号T
を送った場合に、排出制御装置600の側で排出の条件
が整ったときに返送されてくる信号である。本ルーチン
が開始されると、先ずステップS8902にて上記P台
変化フラグをチェックして、P台変化フラグが“1”で
あるか否かが判定される。P台変化フラグおよびつぎに
でてくるP台ハイレベルフラグはこのサブルーチンの中
においてのみ使用されるフラグであり、その他のフラグ
と同様に初期設定で“0”にクリアされており、最初の
信号が入ってくるまでP台変化フラグは“0”であるの
で、ステップS8902ではまず“No”と判定される
。すると、続いてステップS8904にてP台ハイレベ
ルフラグが“1”であるか否かが判定される。ここで、
“No”ならステップS8906で玉貸イネーブル信号
Uがハイレベル(無効)か否か判定し、ハイレベルなら
上記P台ハイレベルフラグを“1”に設定し(ステップ
S8908)、ロウレベル(有効)なら何もせずにルー
チンを終了する。
FIG. 65 is a flowchart showing a subroutine of the ball lending enable reception process for reading the ball lending enable signal U performed in step S8510 of the interrupt processing shown in FIG. The ball lending enable signal U is
As mentioned above, the emission control device 600 on the pachinko gaming machine side
The ball lending request signal T is generated by the information output process shown in FIG.
This is a signal that is returned when discharge conditions are met on the discharge control device 600 side. When this routine is started, first, in step S8902, the P unit change flag is checked to determine whether the P unit change flag is "1". The P unit change flag and the next P unit high level flag are used only in this subroutine, and like other flags, they are cleared to “0” by default, and when the first signal Since the P unit change flag is "0" until the P level change flag is entered, the determination in step S8902 is first "No". Then, in step S8904, it is determined whether the P level high level flag is "1". here,
If "No", it is determined in step S8906 whether the ball lending enable signal U is at a high level (invalid) or not, and if it is high level, the P level high level flag is set to "1" (step S8908), and if it is low level (valid). Exit the routine without doing anything.

【0248】このようにして一旦P台ハイレベルフラグ
が“1”に設定されると、次のルーチンではステップS
8904で“Yes”と判定されてステップS8910
へ移行し、玉貸イネーブル信号Uがロウレベルか否か判
定し、ロウレベルであると判定すると、P台変化フラグ
を“1”に設定し、P台ハイレベルフラグを“0”にク
リアして終了する(ステップS8912,S8914)
[0248] Once the P level high level flag is set to "1" in this way, in the next routine step S
If “Yes” is determined in step S8904, the process proceeds to step S8910.
, it is determined whether the ball lending enable signal U is at low level or not, and if it is determined to be low level, the P machine change flag is set to "1", the P machine high level flag is cleared to "0", and the process ends. (Steps S8912, S8914)
.

【0249】次にこのルーチンが開始されると、ステッ
プS8902で“Yes”と判定されてステップS89
16へ進み、玉貸イネーブル信号Uがロウレベルか否か
判定される。通常はP台変化フラグが“1”のときは玉
貸イネーブル信号Uがロウレベルである(ステップS8
910とS8912参照)ので、“Yes”と判定され
てステップS8918へ進む。ステップS8918では
P台レディ立下フラグを“1”にセットし、次にP台変
化フラグを“0”にクリアして終了する(ステップS8
920)。ただし、P台変化フラグが“1”であるにも
かかわらずステップS8916で玉貸イネーブル信号U
がハイレベルと判定すると、ステップS8922でP台
ハイレベルフラグを“1”にセットしなおす。ステップ
S8910でノイズを拾ってP台変化フラグが“1”に
セットされてしまった場合に、これをキャンセルできる
ようにするためである。
[0249] Next, when this routine is started, a determination of "Yes" is made in step S8902, and the process proceeds to step S89.
The process advances to step 16, where it is determined whether or not the ball lending enable signal U is at a low level. Normally, when the P unit change flag is "1", the ball lending enable signal U is at a low level (step S8
910 and S8912), the determination is "Yes" and the process advances to step S8918. In step S8918, the P unit ready fall flag is set to "1", and then the P unit change flag is cleared to "0", and the process ends (step S8918).
920). However, even though the P unit change flag is "1", the ball lending enable signal U is set in step S8916.
If it is determined that is at a high level, the P level high level flag is reset to "1" in step S8922. This is to make it possible to cancel when the P unit change flag is set to "1" due to noise being picked up in step S8910.

【0250】上記ステップS8920でP台変化フラグ
を“0”にクリアしてから再び本サブルーチンが実行さ
れると、ステップS8902で“No”と判定されるた
め、ステップS8904へ進み、P台ハイレベルフラグ
が“1”であるか否かが判定される。一旦玉貸イネーブ
ル信号Uのロウレベルを検出してからこのステップにく
ると、ここで“No”と判定されるので、ステップS8
906へ進んで玉貸イネーブル信号Uがハイレベルか否
か判定し、“Yes”ならP台ハイレベルフラグを“1
”に設定し(ステップS8908)、ロウレベルなら何
もせずにルーチンを終了する。上記ルーチンを繰り返し
ているうちに玉貸イネーブル信号Uがハイレベルになる
と、ステップS8906で“Yes”と判定されので、
上記P台ハイレベルフラグを“1”に設定して終了する
(ステップS8908)。
[0250] When this subroutine is executed again after clearing the P unit change flag to "0" in step S8920, the determination in step S8902 is "No", so the process advances to step S8904, and the P unit high level is cleared. It is determined whether the flag is "1" or not. Once this step is reached after detecting the low level of the ball lending enable signal U, the determination is "No", so step S8
Proceeding to 906, it is determined whether the ball lending enable signal U is at high level or not, and if "Yes", the P unit high level flag is set to "1".
” (step S8908), and if the level is low, the routine ends without doing anything. If the ball lending enable signal U becomes high level while repeating the above routine, it is determined as “Yes” in step S8906, so
The P level high level flag is set to "1" and the process ends (step S8908).

【0251】次に、パチンコ遊技機に設けられた玉貸し
変換ボタン123や返却ボタン124、モード切換ボタ
ン127、玉不足検出器131、玉保有検出器132か
らの信号によって上記玉貸し制御装置500に対する要
求信号を形成したり、玉貸し制御装置500からの信号
に基づいて残高表示器122や玉数表示器125、モー
ド表示器111の駆動信号等を形成して出力する信号加
工装置900の制御手順を図66乃至図80を参照して
詳細に説明する。
Next, the ball rental control device 500 is controlled by signals from the ball rental conversion button 123, the return button 124, the mode switching button 127, the ball shortage detector 131, and the ball possession detector 132 provided on the pachinko game machine. Control procedure for the signal processing device 900 that forms a request signal and forms and outputs drive signals for the balance display 122, number of balls display 125, mode display 111, etc. based on signals from the ball lending control device 500. will be described in detail with reference to FIGS. 66 to 80.

【0252】図66には、上記信号加工装置900のメ
インルーチンの概略が示されている。このメインルーチ
ンは、信号加工装置900の電源が投入されると繰返し
実行される。電源が立上がると、先ず、RAMのクリア
やフラグの設定、出力バッファのリセット等の初期設定
を行なう(ステップS8002)。続いて返却要求処理
S9004、変換要求処理S9006、表示処理S90
08、音声要求処理S9010、信号送信処理S901
2を繰返し実行する。
FIG. 66 shows an outline of the main routine of the signal processing device 900. This main routine is repeatedly executed when the signal processing device 900 is powered on. When the power is turned on, first, initial settings such as clearing the RAM, setting flags, and resetting the output buffer are performed (step S8002). Next, return request processing S9004, conversion request processing S9006, display processing S90
08, voice request processing S9010, signal transmission processing S901
Repeat step 2.

【0253】図67には、上記メインルーチン(図66
)のステップS9004で実行される返却要求処理の具
体的手順の一例が示されている。この処理が開始される
と、まずステップS9102で返却フラグが“1”にな
っているか調べる。この返却フラグは、パチンコ遊技機
に設けられた返却ボタン124が押されたときまたは打
止めが発生したときにセットされ、これに基づいて後述
の信号送信処理S9012で返却要求信号Zをロウレベ
ルにアサートさせるために使用されるフラグである。 上記ステップS9102で“No”すなわち返却フラグ
が“0”と判定されると、ステップS9104へ進み、
返却SW立上フラグが“1”になっているか調べる。こ
の返却SW立上フラグは、後述の返却SW入力処理(図
74)によって返却ボタン124が押されたことが検出
されたときに“1”にセットされる。ここで、返却SW
立上フラグが“1”になっていると、ステップS910
6へ移行して返却フラグを“1”にセットしてから、返
却タイマ(例えば10m秒)を起動し、上記返却SW立
上フラグを“0”にクリアして処理を終了する(ステッ
プS9108,S9110)。
FIG. 67 shows the main routine (FIG. 66).
) shows an example of a specific procedure of the return request process executed in step S9004. When this process is started, first, in step S9102, it is checked whether the return flag is set to "1". This return flag is set when the return button 124 provided on the pachinko game machine is pressed or when a stop occurs, and based on this, a return request signal Z is asserted to a low level in signal transmission processing S9012, which will be described later. This is a flag used to If it is determined “No” in step S9102, that is, the return flag is “0”, the process advances to step S9104,
Check whether the return SW startup flag is set to "1". This return SW startup flag is set to "1" when it is detected that the return button 124 has been pressed by return SW input processing (FIG. 74), which will be described later. Here, return SW
If the startup flag is “1”, step S910
6 and sets the return flag to "1", starts a return timer (for example, 10 msec), clears the return SW startup flag to "0", and ends the process (step S9108, S9110).

【0254】一方、上記ステップS9104で“No”
すなわち返却SW立上フラグが“0”と判定すると、ス
テップS9112へ進み、打止フラグが“1”になって
いるか調べる。この打止フラグは後述の打止信号入力処
理(図78)によってパチンコ遊技機において打止が発
生したことを受信したときに“1”にセットされる。こ
こで、打止フラグが“1”になっていると、ステップS
9114へ移行して、残高ゼロフラグが“1”になって
いるか調べる。この残高ゼロフラグは後述の残高表示駆
動信号入力処理(図80)によって、カードの残高デー
タが「0」になったと判定されたときに“1”にセット
される。ステップS9114で“Yes”すなわち残高
ゼロフラグが“1”になっていると判定すると、何もせ
ずにルーチンを終了する。カードの残高データが「0」
になると、前述したように玉貸し制御装置500が自己
の判断でカードリーダ250に対してカード排出指令を
発する(図57参照)ため、信号加工装置900の側か
ら返却要求信号Zを送る必要がないからである。
[0254] On the other hand, "No" in step S9104 above.
That is, if it is determined that the return SW start flag is "0", the process advances to step S9112, and it is checked whether the stop flag is "1". This stop flag is set to "1" when it is received that a stop has occurred in the pachinko game machine through a stop signal input process (FIG. 78) to be described later. Here, if the stop flag is "1", step S
The process moves to 9114 to check whether the balance zero flag is set to "1". This balance zero flag is set to "1" when it is determined that the balance data of the card has become "0" by the balance display drive signal input process (FIG. 80), which will be described later. If "Yes" is determined in step S9114, that is, the balance zero flag is "1", the routine is ended without doing anything. Card balance data is “0”
Then, as described above, the ball lending control device 500 issues a card ejection command to the card reader 250 at its own discretion (see FIG. 57), so it is necessary to send the return request signal Z from the signal processing device 900. That's because there isn't.

【0255】上記ステップS9114で“No”と判定
すると、ステップS9116へ進んで、返却フラグを“
1”にセットしてから、返却タイマ(例えば10m秒)
を起動してルーチンを終了する(ステップS9118)
。打止が発生すれば通常同一遊技者が当該パチンコ遊技
機での遊技を継続できないので、玉貸機内にカードを保
有させておく理由がないからである。むしろ、本ルーチ
ンによって打止めが発生したときに返却フラグを“1”
にセットさせ、これに基づいて後述の信号送信処理(図
71のステップS9274,S9276)でカード返却
要求信号Zをロウレベルにアサートさせることで、玉貸
機よりカードを排出させることができるため、遊技者が
打止発生時にカードを玉貸機内に忘れたまま遊技機を離
れてしまうようなことを未然防止できる。
[0255] If the determination in step S9114 is "No", the process advances to step S9116 and the return flag is set to "
1", then set the return timer (e.g. 10ms)
and ends the routine (step S9118).
. This is because if the pachinko machine is discontinued, the same player cannot continue playing the pachinko game machine, so there is no reason to keep the card in the ball lending machine. Rather, this routine sets the return flag to “1” when termination occurs.
By setting the card return request signal Z to a low level in the signal transmission process (steps S9274 and S9276 in FIG. 71) to be described later based on this, the card can be ejected from the ball lending machine. To prevent a player from leaving a game machine while forgetting a card in a ball lending machine when a stop occurs.

【0256】図68には、上記メインルーチン(図66
)のステップS9006で実行される変換要求処理の具
体的手順の一例が示されている。この処理が開始される
と、まずステップS9152で変換フラグが“1”にな
っているか調べる。この変換フラグは、パチンコ遊技機
に設けられた変換ボタン123が押されたときまたは自
動変換モードで供給皿上の玉がなくなったときにセット
され、これに基づいて後述の信号送信処理S9012で
変換要求信号Yをロウレベルにアサートさせるために使
用されるフラグである。
FIG. 68 shows the main routine (FIG. 66).
) shows an example of a specific procedure of the conversion request process executed in step S9006. When this process is started, first, in step S9152, it is checked whether the conversion flag is set to "1". This conversion flag is set when the conversion button 123 provided on the pachinko game machine is pressed or when there are no balls on the supply tray in automatic conversion mode, and based on this, conversion is performed in signal transmission processing S9012 described later. This flag is used to assert the request signal Y to low level.

【0257】上記ステップS9152で“No”すなわ
ち変換フラグが“0”と判定されると、ステップS91
54へ進み、変換SW立上フラグが“1”になっている
か調べる。この変換SW立上フラグは、後述の変換SW
入力処理(図73)によって変換ボタン123が押され
たことが検出されたときに“1”にセットされる。この
ステップS9154で、変換SW立上フラグが“1”に
なっていると、ステップS9156へ移行して保有フラ
グが“1”になっているかチェックする。この保有フラ
グは、後述の玉保有SW入力処理(図77)によって供
給皿の上流側に設けられている玉保有検出器132の信
号がオンになっているのを検出しているときに“1”に
セットされる。ステップS9156で“No”すなわち
保有フラグが“0”と判定すると、ステップS9158
へ進み、変換フラグを“1”にセットしてから、変換タ
イマ(例えば1秒)を起動し、上記変換SW立上フラグ
を“0”にクリアして処理を終了する(ステップS91
60,S9162)。
[0257] If it is determined "No" in step S9152, that is, the conversion flag is "0", step S91
The process advances to step 54, and it is checked whether the conversion SW start-up flag is set to "1". This conversion SW startup flag is set to the conversion SW startup flag described later.
It is set to "1" when it is detected through input processing (FIG. 73) that the conversion button 123 has been pressed. If the conversion SW startup flag is set to "1" in step S9154, the process moves to step S9156, and it is checked whether the holding flag is set to "1". This holding flag is set to "1" when it is detected that the signal of the ball holding detector 132 provided on the upstream side of the supply tray is turned on by the ball holding SW input processing (FIG. 77) described later. ” is set. If it is determined “No” in step S9156, that is, the possession flag is “0”, step S9158
Step S91 sets the conversion flag to "1", starts a conversion timer (for example, 1 second), clears the conversion SW startup flag to "0", and ends the process (step S91).
60, S9162).

【0258】また、上記ステップS9160で“Yes
”すなわち保有フラグが“1”と判定すると、ステップ
S9162へジャンプして上記変換SW立上フラグを“
0”にクリアして処理を終了する。通常、パチンコ遊技
機の供給皿の上に十分に玉が存在するのに変換ボタンが
押されるはずはないからである。むしろ、玉保有検出器
132がオンしているときは上記のように変換SW立上
フラグをクリアすることにより、遊技中に誤って変換ボ
タンに触ってしまった場合にも貸し玉排出が行なわれな
いようにすることができる。一方、上記ステップS91
54で“No”すなわち変換SW立上フラグが“0”と
判定すると、ステップS9164へ進み、自動変換フラ
グが“1”になっているか調べる。この自動変換フラグ
は後述の自動変換信号入力処理(図75)によってパチ
ンコ遊技機に設けられた自動変換モード切換ボタンがオ
ンされたのを検出したときに“1”にセットされる。 このステップS9164で、自動変換フラグが“1”に
なっていると、ステップS9166へ移行して、残高ゼ
ロフラグが“1”になっているか調べる。残高ゼロフラ
グは前述したようにカードの残高データが「0」になっ
たときに“1”にセットされる。ステップS9166で
“Yes”すなわち残高ゼロフラグが“1”になってい
ると判定すると、ステップS9168へ移行して自動変
換フラグを“0”にクリアしてルーチンを終了する。カ
ードの残高データが「0」である場合には、変換すべき
金額がないので、変換要求信号Yを送る必要がないから
である。また、自動変換フラグを“0”にクリアして自
動変換モードをキャンセルすることで、次の遊技者が自
動変換を望まないにもかかわらず、自動変換されてしま
う不具合を回避することができる。
[0258] Also, if "Yes" is selected in step S9160 above,
” That is, if it is determined that the holding flag is “1”, the process jumps to step S9162 and the conversion SW startup flag is set as “
This is because the conversion button would not normally be pressed even though there are enough balls on the supply tray of the pachinko machine. Rather, the ball possession detector 132 By clearing the conversion SW start-up flag as described above when it is on, it is possible to prevent rental balls from being ejected even if the conversion button is accidentally touched during a game. On the other hand, the above step S91
If the determination in step S9164 is "No", that is, the conversion SW start-up flag is "0", the process advances to step S9164, and it is checked whether the automatic conversion flag is "1". This automatic conversion flag is set to "1" when it is detected that the automatic conversion mode switching button provided on the pachinko game machine is turned on by automatic conversion signal input processing (FIG. 75) to be described later. If the automatic conversion flag is set to "1" in step S9164, the process moves to step S9166 to check whether the balance zero flag is set to "1". As described above, the zero balance flag is set to "1" when the balance data of the card becomes "0". If it is determined in step S9166 that it is "Yes", that is, that the balance zero flag is "1", the process moves to step S9168, the automatic conversion flag is cleared to "0", and the routine ends. This is because if the balance data of the card is "0", there is no amount to be converted, so there is no need to send the conversion request signal Y. Further, by clearing the automatic conversion flag to "0" and canceling the automatic conversion mode, it is possible to avoid a problem in which the next player is automatically converted even though he does not desire automatic conversion.

【0259】上記ステップS9166で“No”すなわ
ち残高有りと判定すると、ステップS9170へ進んで
、大当りフラグが“1”になっているかチェックする。 この大当りフラグは後述の大当り信号入力処理(図76
)によってパチンコ遊技機において大当りが発生したこ
とを受信したときに“1”にセットされる。このステッ
プS9170で、大当りフラグが“1”になっていると
ステップS9172へ移行して、保有フラグが“1”に
なっているかチェックする。そして、保有フラグが“1
”と判定すると、ステップS9168へ移行して自動変
換フラグを“0”にクリアしてルーチンを終了する。通
常、大当りが発生しかつ供給皿に十分に玉があれば変換
ボタンを押すはずなく、押されたとすれば誤って触れた
ためと考えられるからである。
[0259] If it is determined in step S9166 that there is a balance, the process advances to step S9170, and it is checked whether the jackpot flag is set to "1". This jackpot flag is used in the jackpot signal input process (Fig. 76), which will be described later.
) is set to "1" when it is received that a jackpot has occurred in the pachinko game machine. In this step S9170, if the jackpot flag is set to "1", the process moves to step S9172, and it is checked whether the possession flag is set to "1". Then, the holding flag is “1”
”, the process moves to step S9168, where the automatic conversion flag is cleared to “0” and the routine ends.Normally, if a jackpot occurs and there are enough balls in the supply tray, there is no way to press the conversion button. This is because if it was pressed, it would be because it was touched by mistake.

【0260】上記ステップS9170で“No”すなわ
ち大当りフラグが“0”と判定、またはステップS91
72で“No”すなわち保有フラグが“0”と判定する
と、ステップS9174へ進んで玉不足フラグが“1”
になっているかチェックする。この玉不足フラグは、後
述の玉不足SW入力処理(図79)によって供給皿の下
流側に設けられている玉不足検出器131の信号がオン
になっているのを検出しているときに“1”にセットさ
れる。ステップS9174で“No”すなわち玉不足フ
ラグが“0”と判定すると、ステップS9176へ進み
、保有フラグが“1”になっているかチェックする。 そして、“No”すなわち保有フラグが“0”と判定す
ると、ステップS9178へ進み、変換フラグを“1”
にセットしてから、変換タイマ(例えば15m秒)を起
動してルーチンを終了する(ステップS9180)。一
方、ステップS9176で“Yes”すなわち保有フラ
グが“0”と判定すると、ステップS9178およびS
9180をスキップして終了する。玉不足フラグと保有
フラグがともに“1”の状態が発生するのは下流側の玉
不足検出器131がオフで、上流側の玉保有検出器13
2がオンしているときであり、これはすなわち供給皿が
玉詰まりを起こしているからである。上記フローに従え
ば、供給皿が玉詰まりを起こしたときに変換フラグが“
1”にセットされて変換要求信号Yが玉貸し制御装置5
00に対して出力されるのを回避することができる。
[0260] If it is determined "No" in step S9170, that is, the jackpot flag is "0", or in step S91
If it is determined in step S9172 that "No", that is, the possession flag is "0", the process advances to step S9174, and the ball shortage flag is "1".
Check if it is. This ball shortage flag is set when it is detected that the signal of the ball shortage detector 131 provided on the downstream side of the supply tray is turned on by the ball shortage SW input process (FIG. 79), which will be described later. Set to 1”. If it is determined in step S9174 that "No", that is, the ball shortage flag is "0", the process advances to step S9176, and it is checked whether the possession flag is "1". If it is determined "No", that is, the holding flag is "0", the process advances to step S9178, and the conversion flag is set to "1".
Then, a conversion timer (for example, 15 msec) is started and the routine is ended (step S9180). On the other hand, if it is determined "Yes" in step S9176, that is, the possession flag is "0", step S9178 and S
Skip 9180 and end. The state where both the ball shortage flag and the possession flag are "1" occurs when the ball shortage detector 131 on the downstream side is off and the ball possession detector 13 on the upstream side is off.
2 is on, and this is because the supply tray is clogged. If you follow the above flow, the conversion flag will be set to “
1” and the conversion request signal Y is sent to the ball lending control device 5.
00 can be avoided.

【0261】図69には、上記メインルーチン(図66
)のステップS9008で実行される表示処理の具体的
手順の一例が示されている。この処理が開始されると、
まずステップS9202で残高ゼロフラグが“1”にな
っているか調べる。この残高ゼロフラグは後述の残高表
示駆動信号入力処理(図80)によって、カードの残高
データが「0」になったと判定されたときに“1”にセ
ットされる。この残高ゼロフラグが“0”すなわち残高
データが「0」でないときには、ステップS9204へ
進んでその残高データに対応した金額をパチンコ遊技機
に設けられた残高表示器122に度数(100で割った
値)で表示させるための表示駆動信号を形成する。 次に、上記残高データに変換レートを掛けて玉数データ
を算出して(ステップS9206)から、その玉数デー
タをパチンコ遊技機に設けられた玉数表示器125に表
示させるための表示駆動信号を形成(ステップS920
8)し、ステップS9212へ進む。
FIG. 69 shows the above main routine (FIG. 66).
) shows an example of a specific procedure of the display process executed in step S9008. Once this process starts,
First, in step S9202, it is checked whether the zero balance flag is set to "1". This balance zero flag is set to "1" when it is determined that the balance data of the card has become "0" by the balance display drive signal input process (FIG. 80), which will be described later. If the balance zero flag is "0", that is, the balance data is not "0", the process advances to step S9204, and the amount corresponding to the balance data is displayed as a frequency (value divided by 100) on the balance display 122 provided in the pachinko gaming machine. A display drive signal for display is formed. Next, the balance data is multiplied by the conversion rate to calculate the number of balls data (step S9206), and then a display drive signal is sent to display the number of balls data on the number of balls display 125 provided in the pachinko machine. (step S920
8) and proceeds to step S9212.

【0262】一方、上記ステップS9202で残高ゼロ
フラグが“1”すなわち残高データが「0」であると判
定すると、ステップS9210へ移行して、上記残高表
示器122および玉数表示器125に予め記憶しておい
た遊技方法等のメッセージを表示させるための表示駆動
信号を形成し、ステップS9212へ進む。ステップS
9212では、自動変換フラグを調べて、“1”のとき
は自動変換モード表示器111を点灯させ、“0”のと
きは自動変換モード表示器111を消灯させてルーチン
を終了する(ステップS9214,S9216)。
[0262] On the other hand, if it is determined in step S9202 that the balance zero flag is "1", that is, the balance data is "0", the process moves to step S9210, and the balance data is stored in advance in the balance display 122 and ball number display 125. A display drive signal for displaying a message about the game method, etc. that has been set is generated, and the process advances to step S9212. Step S
In step S9212, the automatic conversion flag is checked, and if it is "1", the automatic conversion mode indicator 111 is turned on, and if it is "0", the automatic conversion mode indicator 111 is turned off, and the routine ends (step S9214, S9216).

【0263】図70には、上記メインルーチン(図66
)のステップS9010で実行される音声要求処理の具
体的手順の一例を示す。このルーチンが開始されると、
まずステップS9222で遊技盤制御装置400に対す
るカード排出音発生要求信号Gがロウレベルにアサート
されているか調べ、ハイレベルであればステップS92
24へ進みカード排出フラグが“1”にされているか否
か判定する。上記カード排出フラグは、後述の残高表示
駆動信号入力処理ルーチン(図80)においてカードの
残高データが「0」になったと判定されたときに“1”
にセットされるフラグである。ステップS9224で“
Yes”と判定されるとステップS9226へ移行し、
カード排出音発生要求信号Gをロウレベルにアサートし
てから、カード音タイマをセットし、カード排出フラグ
を“0”にクリアして本ルーチンを終了する(ステップ
S9228,S9230)。
FIG. 70 shows the above main routine (FIG. 66).
) An example of a specific procedure of the voice request process executed in step S9010 is shown. When this routine starts,
First, in step S9222, it is checked whether the card ejection sound generation request signal G to the game board control device 400 is asserted to low level, and if it is high level, step S922
The process advances to step 24 and it is determined whether the card ejection flag is set to "1". The card discharge flag is set to "1" when it is determined that the balance data of the card has become "0" in the balance display drive signal input processing routine (FIG. 80), which will be described later.
This is a flag set to . In step S9224 “
If the determination is “Yes”, the process moves to step S9226,
After asserting the card ejection sound generation request signal G to low level, the card sound timer is set, the card ejection flag is cleared to "0", and this routine ends (steps S9228, S9230).

【0264】一方、ステップS9224で“No”すな
わちカード排出フラグが“0”と判定すると、ステップ
9242へ進み、遊技盤制御装置400に対するカード
挿入音発生要求信号Fがロウレベルにアサートされてい
るか調べ、ハイレベルであればステップ9244へ進み
カード挿入フラグが“1”にされているか否か判定する
。上記カード挿入フラグは、後述の残高表示駆動信号入
力処理ルーチン(図80)においてカードの残高データ
が「0」から有に変わったと判定されたときに“1”に
セットされるフラグである。ステップ9244で“Ye
s”と判定されるとステップ9246へ移行し、カード
挿入音発生要求信号Fをロウレベルにアサートしてから
、カード音タイマをセットし、カード挿入フラグを“0
”にクリアして本ルーチンを終了する(ステップ924
8,S9250)。
On the other hand, if the determination in step S9224 is "No", that is, the card ejection flag is "0", the process proceeds to step 9242, and checks whether the card insertion sound generation request signal F to the game board control device 400 is asserted to a low level. If the level is high, the process advances to step 9244 and it is determined whether the card insertion flag is set to "1". The card insertion flag is a flag that is set to "1" when it is determined in the balance display drive signal input processing routine (FIG. 80), which will be described later, that the balance data of the card has changed from "0" to present. “Yes” in step 9244.
s", the process moves to step 9246, where the card insertion sound generation request signal F is asserted to low level, the card sound timer is set, and the card insertion flag is set to "0.
” and ends this routine (step 924
8, S9250).

【0265】それから、再び本ルーチンが開始されたと
きに、ステップS9222で“Yes”すなわちカード
排出音発生要求信号Gがロウレベルであると判定すると
、ステップS9232へ移行して上記ステップS922
8でセットしたカード音タイマがタイムアップしたか否
か判定する。そして、タイムアップしていなければその
ままルーチンを終了し、タイムアップしていればカード
排出音発生要求信号Gをハイレベルにネゲートしてルー
チンを終了する(ステップS9234)。これによって
、所定のパルス幅(カード音タイマの設定時間)のパル
ス信号を出力させることができる。一方、ステップ92
46でカード挿入音発生要求信号Fがロウレベルにアサ
ートされてから、再び本ルーチンが開始され、ステップ
9242で“Yes”すなわちカード挿入音発生要求信
号Fがロウレベルであると判定すると、ステップS92
52へ移行して上記ステップ9248でセットしたカー
ド音タイマがタイムアップしたか否か判定する。そして
、タイムアップしていなければそのままルーチンを終了
し、タイムアップしていればカード挿入音発生要求信号
Fをハイレベルにネゲートしてルーチンを終了する(ス
テップS9254)。
[0265] Then, when this routine is started again, if it is determined in step S9222 that it is "Yes", that is, that the card ejection sound generation request signal G is at a low level, the process moves to step S9232 and the step S922 described above is performed.
It is determined whether the card sound timer set in step 8 has timed up. Then, if the time has not expired, the routine ends, and if the time has elapsed, the card ejection sound generation request signal G is negated to a high level and the routine ends (step S9234). As a result, a pulse signal having a predetermined pulse width (the set time of the card sound timer) can be output. On the other hand, step 92
After the card insertion sound generation request signal F is asserted to a low level in step S9246, this routine is started again.
52, it is determined whether the card sound timer set in step 9248 has timed up. Then, if the time has not expired, the routine is terminated, and if the time has expired, the card insertion sound generation request signal F is negated to a high level and the routine is terminated (step S9254).

【0266】図71には、上記メインルーチン(図66
)のステップS9012で実行される信号送信処理の具
体的手順の一例が示されている。この処理が開始される
と、まずステップS9262で変換フラグが“1”にな
っているか調べる。この変換フラグは、前述の変換要求
処理ルーチン(図68)で、パチンコ遊技機に設けられ
た変換ボタン123が押されたときまたは自動変換モー
ドにおいて供給皿上の玉がなくなったときにセットされ
るフラグである。上記ステップS9262で“No”す
なわち変換フラグが“0”と判定されると、ステップS
9264へ進んで変換要求信号Yをハイレベル(無効)
にネゲートする。また、ステップS9262で“Yes
”すなわち変換フラグが“1”と判定されると、ステッ
プS9266へ移行して上記変換要求処理ルーチン(図
68)のステップS9160またはS9180でセット
された変換タイマ(1秒)がタイムアップしたか判定す
る。ここで、タイムアップしていなけばステップS92
68へ進んで、変換要求信号Yをロウレベル(有効)に
アサートする。そして、メインルーチンを繰り返してい
る間に上記変換タイマがタイムアップすると、ステップ
S9266からS9270へ移行して変換要求信号Yを
ハイレベルにネゲートしてから、変換フラグを“0”に
クリアする(ステップS9272)。これによって、所
定のパルス幅(1秒)の変換要求信号Yが遊技盤制御装
置400に対して出力される。
FIG. 71 shows the above main routine (FIG. 66).
) shows an example of a specific procedure of the signal transmission process executed in step S9012. When this process is started, first, in step S9262, it is checked whether the conversion flag is set to "1". This conversion flag is set in the aforementioned conversion request processing routine (FIG. 68) when the conversion button 123 provided on the pachinko game machine is pressed or when the balls on the supply tray run out in the automatic conversion mode. It's a flag. If it is determined “No” in step S9262, that is, the conversion flag is “0”, step S
Proceed to 9264 and set conversion request signal Y to high level (invalid)
to negate. Also, in step S9262, “Yes” is selected.
”In other words, if the conversion flag is determined to be “1”, the process moves to step S9266, and it is determined whether the conversion timer (1 second) set in step S9160 or S9180 of the conversion request processing routine (FIG. 68) has timed up. Here, if the time is not up, step S92
Proceeding to step 68, the conversion request signal Y is asserted to low level (valid). When the conversion timer times out while repeating the main routine, the process moves from step S9266 to S9270, negates the conversion request signal Y to high level, and then clears the conversion flag to "0" (step S9270). S9272). As a result, a conversion request signal Y with a predetermined pulse width (1 second) is output to the game board control device 400.

【0267】続くステップS9274では、返却フラグ
が“1”になっているか調べる。この返却フラグは、前
述の返却要求処理ルーチン(図67)で、パチンコ遊技
機に設けられた返却ボタン124が押されたときまたは
パチンコ遊技機において打止めが発生したときにセット
されるフラグである。上記ステップS9274で“No
”すなわち返却フラグが“0”と判定されると、ステッ
プS9276へ進んで返却要求信号Zをハイレベル(無
効)にネゲートする。また、ステップS9274で“Y
es”すなわち返却フラグが“1”と判定されると、ス
テップS9278へ移行して上記返却要求処理ルーチン
(図67)のステップS9108またはS9118でセ
ットされた返却タイマ(10m秒)がタイムアップした
か判定する。ここで、タイムアップしていなけばステッ
プS9280へ進んで、返却要求信号Zをロウレベル(
有効)にアサートする。そして、メインルーチンを繰り
返している間に上記返却タイマがタイムアップすると、
ステップS9274からS9282へ移行して返却要求
信号Zをハイレベルにネゲートしてから、返却フラグを
“0”にクリアする(ステップS9284)。これによ
って、所定のパルス幅(10m秒)の返却要求信号Zが
遊技盤制御装置400に対して出力される。
[0267] In the following step S9274, it is checked whether the return flag is set to "1". This return flag is a flag that is set when the return button 124 provided on the pachinko game machine is pressed or when a stop occurs in the pachinko game machine in the above-mentioned return request processing routine (FIG. 67). . “No” in step S9274 above.
” In other words, if the return flag is determined to be “0”, the process advances to step S9276 and the return request signal Z is negated to high level (invalid).
es", that is, the return flag is determined to be "1", the process moves to step S9278 and checks whether the return timer (10 msec) set in step S9108 or S9118 of the return request processing routine (FIG. 67) has timed up. Here, if the time is not up, the process advances to step S9280 and the return request signal Z is set to low level (
valid). Then, when the above return timer times out while repeating the main routine,
After moving from step S9274 to S9282 and negating the return request signal Z to a high level, the return flag is cleared to "0" (step S9284). As a result, a return request signal Z with a predetermined pulse width (10 msec) is output to the game board control device 400.

【0268】続くステップS9286では、残高フラグ
が“1”になっているか調べる。この残高フラグは、こ
の残高ゼロフラグは後述の残高表示駆動信号入力処理(
図80)によって、カードの残高データが「0」になっ
たと判定されたときに“1”にセットされる。上記ステ
ップS9286で“No”すなわち残高有りと判定され
ると、ステップS9288へ進んでホールの管理装置7
00に対して出力される遊技中信号Sをロウレベル(有
効)にアサートする。また、ステップS9286で“Y
es”すなわちカード残高が「0」と判定されると、ス
テップS9290へ移行して玉不足フラグが“1”にな
っているかチェックする。この玉不足フラグは、後述の
玉不足SW入力処理(図76)によって供給皿の下流側
に設けられている玉不足検出器131の信号がオフにな
っているのを検出しているときに“1”にセットされる
。ステップS9290で“No”すなわち玉不足フラグ
が“0”と判定すると、ステップS9288へ移行して
遊技中信号Sをロウレベル(有効)にアサートする。従
って、カード残高が「0」になっても玉不足検出器13
1がオンすなわち供給皿上にまだ遊技球が残っている間
は、遊技中信号Sがロウレベル(有効)にアサートされ
る。
[0268] In the following step S9286, it is checked whether the balance flag is "1". This balance flag, this balance zero flag, the balance display drive signal input process (described later).
80), it is set to "1" when it is determined that the balance data of the card has become "0". If it is determined in step S9286 that there is a balance, the process advances to step S9288, and the hall management device 7
The game in-game signal S output for 00 is asserted to low level (valid). Also, in step S9286, “Y
If it is determined that the card balance is "0", that is, the card balance is "0", the process moves to step S9290 and it is checked whether the ball shortage flag is "1". This ball shortage flag is set when it is detected that the signal of the ball shortage detector 131 provided on the downstream side of the supply tray is turned off by the ball shortage SW input process (FIG. 76), which will be described later. Set to 1”. If it is determined in step S9290 that it is "No", that is, the ball shortage flag is determined to be "0", the process moves to step S9288, and the gaming signal S is asserted to a low level (valid). Therefore, even if the card balance becomes "0", the ball shortage detector 13
1 is on, that is, while there are still game balls remaining on the supply tray, the game signal S is asserted to a low level (valid).

【0269】一方、上記ステップS9290で“Yes
”すなわち玉不足フラグが“1”と判定すると、ステッ
プS9292へ移行して保有フラグが“0”になってい
るかチェックする。保有フラグは、後述の玉保有SW入
力処理(図77)によって供給皿の上流側に設けられて
いる玉保有検出器132の信号がオンになっているのを
検出しているときに“1”にセットされる。ステップS
9292で、保有フラグが“1”と判定すると、ステッ
プS9288へ移行して遊技中信号Sをロウレベル(有
効)にアサートする。玉不足フラグが“1”すなわち玉
不足検出器131がオフしていても玉保有検出器132
がオンしていれば供給皿上にまだ遊技球が残っていると
考えられるからである。これに対し、カード残高が「0
」となり、供給皿上にも玉がなくなると、玉不足検出器
131および玉保有検出器132がオフするので、上記
ステップS9286、S9290およびS9292でそ
れぞれ“Yes”と判定されてステップS9294へ進
んで、遊技中信号Sをハイレベル(無効)にネゲートし
て本ルーチンを終了する。
[0269] On the other hand, "Yes" in step S9290 above.
"In other words, if it is determined that the ball shortage flag is "1", the process moves to step S9292 to check whether the possession flag is "0".The possession flag is determined by the ball possession SW input process (FIG. 77) described later. It is set to "1" when it is detected that the signal of the ball possession detector 132 provided on the upstream side of the ball holding detector 132 is turned on.Step S
If the holding flag is determined to be "1" in step S9292, the process moves to step S9288 and the gaming signal S is asserted to a low level (valid). Even if the ball shortage flag is "1", that is, the ball shortage detector 131 is off, the ball possession detector 132
This is because if it is on, it is considered that there are still game balls left on the supply tray. In contrast, the card balance is “0”.
”, and when there are no more balls on the supply tray, the ball shortage detector 131 and the ball possession detector 132 are turned off. Therefore, the determination in steps S9286, S9290, and S9292 is "Yes", and the process proceeds to step S9294. , the game signal S is negated to a high level (invalid), and this routine ends.

【0270】図72には、図66のメインルーチン(バ
ックグランド処理)に優先して上記信号加工装置900
によって所定時間(例えば0.5msec)経過毎に行
なわれるタイマ割込処理の手順が示されている。このタ
イマ割込処理は、専ら信号加工装置900に対する入力
信号の検出を行なうために定期的に実行される。この割
込み処理が開始されると、まず割込みタイマを更新(ス
テップS9302)してから、変換SW入力処理S93
04、返却SW入力処理S9306、自動変換切換SW
入力処理S9308、玉不足SW入力処理S9310、
玉保有SW入力処理S9312、打止信号受信処理S9
314、大当り信号受信処理S9316および残高表示
駆動信号受信処理S9318を順次実行する。上記受信
信号のうち打止信号と大当り信号は遊技盤制御装置40
0から、また残高表示駆動信号は変換し制御装置500
から送られてくる。
FIG. 72 shows the signal processing device 900 in priority to the main routine (background processing) in FIG. 66.
shows the procedure of timer interrupt processing that is performed every predetermined time (for example, 0.5 msec). This timer interrupt processing is periodically executed exclusively for detecting input signals to the signal processing device 900. When this interrupt processing is started, the interrupt timer is first updated (step S9302), and then the conversion SW input processing S93
04, Return SW input processing S9306, Automatic conversion switching SW
Input processing S9308, ball shortage SW input processing S9310,
Ball possession SW input processing S9312, stop signal reception processing S9
314, jackpot signal reception processing S9316 and balance display drive signal reception processing S9318 are sequentially executed. Among the above received signals, the stop signal and the jackpot signal are sent to the game board control device 40.
0, the balance display drive signal is converted and the control device 500
It is sent from.

【0271】図73は上記割込処理(図72)のステッ
プS9304にて行なわれる変換SW入力処理ルーチン
のフローチャートで、この処理によってパチンコ遊技機
に設けられた変換ボタン123がオンされたことが検知
され、変換SW立上フラグをセットするために実行され
るものである。変換SW立上フラグは前記変換要求処理
(図68)において変換フラグを設定する移行条件とし
てステップS9154で参照され、変換フラグがセット
されるとは前記信号送信処理(図71)において変換要
求信号Yがアサートされるようになっている。本ルーチ
ンが開始されると、先ずステップS9402にて変換変
化フラグが“1”であるか否かが判定される。この変換
変化フラグおよびつぎにでてくる変換ロウレベルフラグ
はこのサブルーチンの中においてのみ使用されるフラグ
であり、その他のフラグと同様に初期設定で“0”にク
リアされており、最初の信号が入ってくるまで変換変化
フラグは“0”であるので、ステップS9402ではま
ず“No”と判定される。すると、続いてステップS9
404にて変換ロウレベルフラグが“1”であるか否か
が判定される。ここで、“No”ならステップS940
6で玉貸し変換ボタン123からの信号をみてスイッチ
がオンされているか否か判定し、オフなら上記変換ロウ
レベルフラグを“1”に設定し(ステップS9408)
、オンなら何もせずにルーチンを終了する。
FIG. 73 is a flowchart of the conversion SW input processing routine performed in step S9304 of the above-mentioned interrupt processing (FIG. 72). Through this processing, it is detected that the conversion button 123 provided on the pachinko game machine has been turned on. This is executed to set the conversion SW startup flag. The conversion SW start-up flag is referred to in step S9154 as a transition condition for setting the conversion flag in the conversion request process (FIG. 68), and setting the conversion flag means that the conversion SW start-up flag is set by the conversion request signal Y in the signal transmission process (FIG. 71). is now asserted. When this routine is started, first in step S9402 it is determined whether the conversion change flag is "1". This conversion change flag and the next conversion low level flag are used only in this subroutine, and like other flags, they are cleared to "0" by default, and when the first signal is input Since the conversion change flag is "0" until this point is reached, "No" is first determined in step S9402. Then, step S9 follows.
At 404, it is determined whether the conversion low level flag is "1". Here, if “No”, step S940
At step S9408, the signal from the ball lending conversion button 123 is checked to determine whether the switch is on or not, and if it is off, the conversion low level flag is set to "1" (step S9408).
, if on, exits the routine without doing anything.

【0272】このようにして一旦変換ロウレベルフラグ
が“1”に設定されると、次のルーチンではステップS
9404で“Yes”と判定されてステップS9410
へ移行し、変換スイッチがオンか否か判定する。ここで
、変換スイッチがオンであると判定すると、変換変化フ
ラグを“1”に設定し、変換ロウレベルフラグを“0”
にクリアして終了する(ステップS9412,S941
4)。次にこのルーチンが開始されると、ステップS9
402で“Yes”と判定されてステップS9416へ
進み、変換スイッチがオンか否か判定される。通常は変
換変化フラグが“1”のときは変換スイッチがオンであ
る(ステップS9410とS9412参照)ので、“Y
es”と判定されてステップS9418へ進む。ステッ
プS9418では変換SW立上フラグを“1”にセット
し、次に変換変化フラグを“0”にクリアして終了する
(ステップS9420)。ただし、変換変化フラグが“
1”であるにもかかわらずステップS9416で変換ス
イッチオフと判定すると、ステップS9422で変換ロ
ウレベルフラグを“1”にセットしなおす。ステップS
9410でノイズを拾って変換変化フラグが“1”にセ
ットされてしまった場合に、これをキャンセルできるよ
うにするためである。
[0272] Once the conversion low level flag is set to "1" in this way, in the next routine step S
If “Yes” is determined in step S9404, the process proceeds to step S9410.
, and determines whether the conversion switch is on. Here, if it is determined that the conversion switch is on, the conversion change flag is set to "1" and the conversion low level flag is set to "0".
is cleared and ends (steps S9412, S941
4). Next, when this routine is started, step S9
If "Yes" is determined in 402, the process advances to step S9416, where it is determined whether the conversion switch is on. Normally, when the conversion change flag is “1”, the conversion switch is on (see steps S9410 and S9412), so “Y
es" and the process proceeds to step S9418. In step S9418, the conversion SW startup flag is set to "1", and then the conversion change flag is cleared to "0" and the process ends (step S9420). The change flag is “
If it is determined in step S9416 that the conversion switch is off even though the flag is "1", the conversion low level flag is reset to "1" in step S9422.Step S
This is to make it possible to cancel when the conversion change flag is set to "1" due to noise picked up at 9410.

【0273】上記ステップS9420で変換変化フラグ
を“0”にクリアしてから再び本サブルーチンが実行さ
れると、ステップS9402で“No”と判定されるた
め、ステップS9404へ進み、変換ロウレベルフラグ
が“1”であるか否かが判定される。一旦変換スイッチ
の信号の立上りを検出してからこのステップにくると、
ここで“No”と判定されるので、ステップS9406
へ進んで変換スイッチがオフされているか否か判定し、
上記変換ロウレベルフラグを“1”に設定し(ステップ
S9408)、オンなら何もせずにルーチンを終了する
。上記ルーチンを繰り返しているうちに変換スイッチが
オフになると、ステップS9406で“Yes”と判定
されので、上記変換ロウレベルフラグを“1”に設定し
て終了する(ステップS9408)。
When this subroutine is executed again after clearing the conversion change flag to "0" in step S9420, the determination in step S9402 is "No", so the process advances to step S9404, and the conversion low level flag is set to "0". 1” is determined. Once you come to this step after detecting the rising edge of the conversion switch signal,
Since the determination is “No” here, step S9406
Go to and determine whether the conversion switch is turned off,
The conversion low level flag is set to "1" (step S9408), and if it is on, the routine ends without doing anything. If the conversion switch is turned off while repeating the above routine, the determination in step S9406 is "Yes", so the conversion low level flag is set to "1" and the process ends (step S9408).

【0274】図74は上記割込処理(図72)のステッ
プS9306にて行なわれる返却SW入力処理ルーチン
のフローチャートで、この処理によってパチンコ遊技機
に設けられた返却ボタン124がオンされたことが検知
され、返却SW立上フラグをセットするために実行され
るものである。返却SW立上フラグは前記返却要求処理
(図67)において返却フラグを設定する移行条件とし
てステップS9104で参照され、返却フラグがセット
されるとは前記信号送信処理(図71)において返却要
求信号Zがアサートされるようになっている。返却SW
入力処理ルーチンは、図73に示されている変換SW入
力処理ルーチンとほぼ同一の手順に従って実行される。 すなわち、本ルーチンが開始されると、先ずステップS
9452にて返却変化フラグが“1”であるか否かが判
定される。この返却変化フラグおよびつぎにでてくる返
却ロウレベルフラグはこのサブルーチンの中においての
み使用されるフラグであり、その他のフラグと同様に初
期設定で“0”にクリアされており、最初の信号が入っ
てくるまで返却変化フラグは“0”であるので、ステッ
プS9452ではまず“No”と判定される。すると、
続いてステップS9454にて返却ロウレベルフラグが
“1”であるか否かが判定される。ここで、“No”な
らステップS9456で玉貸し返却ボタン124からの
信号をみてスイッチがオンされているか否か判定し、オ
フなら上記返却ロウレベルフラグを“1”に設定し(ス
テップS9458)、オンなら何もせずにルーチンを終
了する。
FIG. 74 is a flowchart of the return SW input processing routine performed in step S9306 of the above-mentioned interrupt processing (FIG. 72). Through this processing, it is detected that the return button 124 provided on the pachinko game machine has been turned on. This is executed to set the return SW startup flag. The return SW startup flag is referred to in step S9104 as a transition condition for setting the return flag in the return request process (FIG. 67), and setting the return flag means that the return request signal Z is set in the signal transmission process (FIG. 71). is now asserted. Return SW
The input processing routine is executed according to almost the same procedure as the conversion SW input processing routine shown in FIG. That is, when this routine is started, first step S
At 9452, it is determined whether the return change flag is "1". This return change flag and the next return low level flag are used only in this subroutine, and like other flags, they are cleared to "0" by default, and when the first signal is input Since the return change flag is "0" until the time comes, the determination in step S9452 is "No". Then,
Subsequently, in step S9454, it is determined whether the return low level flag is "1". Here, if "No", the signal from the ball lending and return button 124 is checked in step S9456 to determine whether the switch is on, and if it is off, the return low level flag is set to "1" (step S9458), and the switch is turned on. Then exit the routine without doing anything.

【0275】このようにして一旦返却ロウレベルフラグ
が“1”に設定されると、次のルーチンではステップS
9454で“Yes”と判定されてステップS9460
へ移行し、返却スイッチがオンか否か判定する。ここで
、返却スイッチがオンであると判定すると、返却変化フ
ラグを“1”に設定し、返却ロウレベルフラグを“0”
にクリアして終了する(ステップS9462,S946
4)。次にこのルーチンが開始されると、ステップS9
452で“Yes”と判定されてステップS9466へ
進み、返却スイッチがオンか否か判定される。通常は返
却変化フラグが“1”のときは返却スイッチがオンであ
る(ステップS9460とS9462参照)ので、“Y
es”と判定されてステップS9468へ進む。ステッ
プS9468では返却SW立上フラグを“1”にセット
し、次に返却変化フラグを“0”にクリアして終了する
(ステップS9470)。ただし、返却変化フラグが“
1”であるにもかかわらずステップS9466で返却ス
イッチオフと判定すると、ステップS9472で返却ロ
ウレベルフラグを“1”にセットしなおす。ステップS
9460でノイズを拾って返却変化フラグが“1”にセ
ットされてしまった場合に、これをキャンセルできるよ
うにするためである。
[0275] Once the return low level flag is set to "1" in this way, in the next routine step S
If “Yes” is determined in step S9454, the process proceeds to step S9460.
, and determines whether the return switch is on. Here, if it is determined that the return switch is on, the return change flag is set to "1" and the return low level flag is set to "0".
is cleared and ends (steps S9462, S946
4). Next, when this routine is started, step S9
If the result in step S452 is "Yes," the process advances to step S9466, where it is determined whether the return switch is on. Normally, when the return change flag is "1", the return switch is on (see steps S9460 and S9462), so "Y
es" and proceeds to step S9468. In step S9468, the return SW startup flag is set to "1", and then the return change flag is cleared to "0" and the process ends (step S9470). The change flag is “
If the return switch is determined to be off in step S9466 even though the flag is "1", the return low level flag is reset to "1" in step S9472.Step S
This is to make it possible to cancel when the return change flag is set to "1" due to noise picked up at 9460.

【0276】上記ステップS9470で返却変化フラグ
を“0”にクリアしてから再び本サブルーチンが実行さ
れると、ステップS9452で“No”と判定されるた
め、ステップS9454へ進み、返却ロウレベルフラグ
が“1”であるか否かが判定される。一旦返却スイッチ
の信号の立上りを検出してからこのステップにくると、
ここで“No”と判定されるので、ステップS9456
へ進んで返却スイッチがオフされているか否か判定し、
上記返却ロウレベルフラグを“1”に設定し(ステップ
S9458)、オンなら何もせずにルーチンを終了する
。上記ルーチンを繰り返しているうちに返却スイッチが
オフになると、ステップS9456で“Yes”と判定
されので、上記返却ロウレベルフラグを“1”に設定し
て終了する(ステップS9458)。
When this subroutine is executed again after clearing the return change flag to "0" in step S9470, the determination in step S9452 is "No", so the process advances to step S9454, and the return low level flag is set to "0". 1” is determined. Once you come to this step after detecting the rising edge of the return switch signal,
Since the determination is "No" here, step S9456
Proceed to and determine whether the return switch is turned off.
The return low level flag is set to "1" (step S9458), and if it is on, the routine ends without doing anything. If the return switch is turned off while repeating the above routine, the determination in step S9456 is "Yes", so the return low level flag is set to "1" and the process ends (step S9458).

【0277】図75は、図72に示す割込処理のステッ
プS9308にて行なわれる自動変換切換スイッチ(1
27)の入力処理のサブルーチンを示すフローチャート
である。前述したように自動変換切換スイッチ(127
)は、供給皿121上に玉がなくなったときにカードの
残金を自動的に貸し玉に変換させるための変換要求信号
Yを発生させるという信号加工装置900の機能の一つ
である自動変換制御モードを有効にしたり、キャンセル
したりするために用意されたスイッチである。このルー
チンが開始されると、先ず、ステップS9502にて自
動変換切換スイッチ(127)がオンすなわちスイッチ
の出力信号がハイレベルであるか否かが判定される。
FIG. 75 shows the automatic conversion changeover switch (1) performed in step S9308 of the interrupt processing shown in FIG.
27) is a flowchart showing a subroutine of input processing. As mentioned above, the automatic conversion changeover switch (127
) is an automatic conversion control function that is one of the functions of the signal processing device 900 that generates a conversion request signal Y for automatically converting the balance of the card into rental balls when there are no balls on the supply tray 121. This is a switch provided to enable or cancel the mode. When this routine is started, first, in step S9502, it is determined whether the automatic conversion changeover switch (127) is on, that is, whether the output signal of the switch is at a high level.

【0278】ところで、自動変換切換スイッチは切換ボ
タン127が押されていないとオンされないので、オフ
のときはステップS9502で“No”と判定されてス
テップS9504以降へ移行して、自動立下変化フラグ
、自動立上変化フラグ、自動ハイレベルフラグおよび自
動ロウレベルフラグが“1”か否か判定される(ステッ
プS9504〜S9510)。電源投入直後は、すべて
のフラグは“0”に設定されているため、最初にこのル
ーチンを開始したときにはステップS9504〜S95
10の判定結果はすべて“No”となり、ステップS9
512にて、今回のループで自動変換切換スイッチがオ
フすなわち出力信号がロウレベルであったことを記憶す
べく自動ロウレベルフラグを“1”に設定して本ルーチ
ンを終了する。以後のループでは自動ロウレベルフラグ
が“1”に設定されているので、自動変換切換スイッチ
のオフの状態が継続する限りステップS9502,S9
504,S9506,S9508,S9510が繰返し
実行されることになる。
[0278] By the way, the automatic conversion changeover switch will not be turned on unless the changeover button 127 is pressed, so if it is off, a determination of "No" is made in step S9502, and the process moves to steps S9504 and subsequent steps to set the automatic fall change flag. , an automatic rise change flag, an automatic high level flag, and an automatic low level flag are determined to be "1" (steps S9504 to S9510). Immediately after the power is turned on, all flags are set to "0", so when this routine is first started, steps S9504 to S95 are executed.
10 determination results are all "No", and step S9
At step 512, the automatic low level flag is set to "1" to remember that the automatic conversion changeover switch was off in this loop, that is, the output signal was at low level, and the routine ends. Since the automatic low level flag is set to "1" in the subsequent loop, steps S9502 and S9 are performed as long as the automatic conversion switch remains in the OFF state.
504, S9506, S9508, and S9510 are repeatedly executed.

【0279】その後、遊技者によって自動変換切換ボタ
ン127が押されスイッチがオンされると、自動変換切
換スイッチの出力信号がロウレベルに転じ、前記ステッ
プS9502の判定結果が“Yes”となってステップ
S9530に進む。ステップS9530では自動立上変
化フラグが“1”か否か判定される。しかして、ステッ
プS9530が最初に行なわれるときには、前記自動ロ
ウレベルフラグ以外のフラグはすべて“0”であるため
、該ステップS9530の判定結果が“No”となって
ステップS9532以降へ進み、自動立下変化フラグお
よび自動ロウレベルフラグが“1”か否か判定される(
ステップS9532,S9534)。そして、ステップ
S9532の判定結果が“No”、続くステップS95
34が“Yes”となってステップS9536,S95
38が実行される。ステップS9536では、前回のル
ープから今回のループにかけて自動変換切換スイッチが
オフからオンすなわち出力信号がハイレベルからロウレ
ベルに変化した(立上がった)ことを記憶すべく、自動
立上変化フラグを“1”に設定し、続くステップS95
38では、前回のループで“1”に設定された自動ロウ
レベルフラグをリセット(“0”に設定)し、本ルーチ
ンを終了する。
[0279] Thereafter, when the automatic conversion changeover button 127 is pressed by the player and the switch is turned on, the output signal of the automatic conversion changeover switch changes to a low level, and the determination result in step S9502 becomes "Yes", and the process proceeds to step S9530. Proceed to. In step S9530, it is determined whether the automatic startup change flag is "1". However, when step S9530 is performed for the first time, all flags other than the automatic low level flag are "0", so the determination result in step S9530 is "No", and the process proceeds to step S9532 and subsequent steps, and the automatic low level flag is set to "0". It is determined whether the change flag and automatic low level flag are “1” (
Steps S9532, S9534). Then, if the determination result in step S9532 is "No", the subsequent step S95
34 becomes “Yes” and steps S9536 and S95
38 is executed. In step S9536, the automatic rise change flag is set to "1" to remember that the automatic conversion switch was turned on from off, that is, the output signal changed from high level to low level (rise) from the previous loop to the current loop. ”, followed by step S95.
At step 38, the automatic low level flag that was set to "1" in the previous loop is reset (set to "0"), and this routine ends.

【0280】次回のループで引き続き自動変換切換スイ
ッチの出力信号がロウレベルのときには、前回のループ
のステップS9536で自動立上変化フラグが“1”に
設定されているので、ステップS9530の判定結果が
“Yes”に転じる。そして、続くステップS9540
〜S9544で、自動変換切換スイッチがオンされてい
ることを記憶すべく自動変換立下フラグを“0”に設定
(ステップS9540)すると共に、上記ステップS9
536で“1”に設定した自動立上変化フラグを“0”
にリセットし(ステップS9542)、続いて自動ハイ
レベルフラグを“1”に設定して(ステップS9544
)から、ステップS9546へ進み、自動変換フラグが
“1”か否か判定する。ここで“Yes”なら該自動変
換フラグを“0”にリセットし、“No”なら“1”に
、“Yes”なら“0”に設定して本ルーチンを終了す
る(ステップS9548,S9550)。これは、自動
変換切換ボタン127が押される度に自動変換モードと
そのキャンセルを交互に行なえるようにするためである
[0280] When the output signal of the automatic conversion changeover switch is still at the low level in the next loop, the automatic start-up change flag was set to "1" in step S9536 of the previous loop, so the determination result in step S9530 is " “Yes”. Then, the following step S9540
~ In S9544, the automatic conversion fall flag is set to "0" (step S9540) to remember that the automatic conversion changeover switch is turned on, and at the same time, in step S9
The automatic start-up change flag set to “1” in 536 is set to “0”.
(step S9542), and then sets the automatic high level flag to "1" (step S9544).
), the process advances to step S9546, and it is determined whether the automatic conversion flag is "1". If "Yes" here, the automatic conversion flag is reset to "0", if "No" it is set to "1", and if "Yes" it is set to "0", and this routine ends (steps S9548, S9550). This is so that the automatic conversion mode and its cancellation can be alternately performed each time the automatic conversion switching button 127 is pressed.

【0281】このようにして、自動変換切換スイッチの
出力信号が立上がった後ハイレベルの状態が所定時間以
上(少なくとも本割込処理が2回行なわれる間)検知さ
れない限り、自動ハイレベルフラグおよび自動変換フラ
グを設定する処理は行なわれないようになっており、自
動変換切換スイッチの出力信号にノイズが発生した場合
等に対処できるようになっている。
[0281] In this way, unless a high level state is detected for a predetermined period of time or longer after the output signal of the automatic conversion changeover switch rises (at least while this interrupt processing is performed twice), the automatic high level flag and The process of setting the automatic conversion flag is not performed, so that it is possible to deal with cases such as noise occurring in the output signal of the automatic conversion changeover switch.

【0282】次に再び本ルーチンが実行されたとき、自
動変換切換スイッチがオンすなわち出力信号がハイレベ
ルであると、前記ステップS9502,S9530,S
9532,S9534と進み、ステップS9534での
判定結果が“No”に代わり、ステップS9552へ移
行し、自動ハイレベルフラグが“1”か否か判定される
。そして、このステップS9552で“Yes”と判定
され、その後、自動変換切換スイッチがオンすなわち出
力信号がハイレベルである限り、前記ステップS950
2,S9530,S9532,S9534,S9552
が繰返し実行される。一方、自動変換切換スイッチがオ
ンからオフすなわち出力信号がハイレベルからロウレベ
ルに立ち下がった直後のループにおいては、ステップS
9502の判定結果が“Yes”から“No”に代わり
、次のステップS9504の判定結果が“No”、続い
てステップS9506の判定結果が“Yes”という具
合に進行してステップS9514へ進む。そして、ステ
ップS9514では前回のループから今回のループにか
けて出力信号が立下がったことを記憶すべく立下変化フ
ラグを“1”に設定するとともに、次のステップS95
16にて前回のループ時に“1”に設定した自動ハイレ
ベルフラグを“0”に戻して本ルーチンを終了する。
Next, when this routine is executed again, if the automatic conversion switch is on, that is, the output signal is at a high level, steps S9502, S9530, and S
9532 and S9534, the determination result in step S9534 is changed to "No", and the process moves to step S9552, where it is determined whether the automatic high level flag is "1". Then, as long as the determination in step S9552 is "Yes" and the automatic conversion switch is on, that is, the output signal is at a high level, the step S9550 is
2, S9530, S9532, S9534, S9552
is executed repeatedly. On the other hand, in the loop immediately after the automatic conversion switch changes from on to off, that is, the output signal falls from high level to low level, step S
The determination result at step S9502 changes from "Yes" to "No," the determination result at the next step S9504 becomes "No," and then the determination result at step S9506 becomes "Yes," and so on, and the process advances to step S9514. Then, in step S9514, a falling change flag is set to "1" to remember that the output signal fell from the previous loop to the current loop, and in the next step S95
At step 16, the automatic high level flag that was set to "1" during the previous loop is returned to "0", and this routine ends.

【0283】その後、再びこのルーチンが開始されたと
きに引き続き自動変換切換スイッチがオフになっている
と、ステップS9502からS9504へ進んだときに
“Yes”と判定されてステップS9518へ進み、自
動立下フラグを“1”にセットしてから、自動立下変化
フラグを“0”にリセット、そして自動ロウレベルフラ
グを“1”にセットして本ルーチンを終了する(ステッ
プS9520,S9522)。このようにして、自動変
換切換スイッチの出力信号が立下がった後ロウレベルの
状態が所定時間以上(少なくとも本割込処理が2回行な
われる間)検知されない限り、自動ロウレベルフラグを
“1”に設定する処理は行なわれないようになっており
、自動変換切換スイッチの出力信号にノイズが発生した
場合等に対処できるようになっている。
[0283] Thereafter, when this routine is started again, if the automatic conversion switch is still off, the process proceeds from step S9502 to S9504, and the determination is "Yes", and the process proceeds to step S9518, in which the automatic conversion switch is turned off. After setting the lower flag to "1", the automatic fall change flag is reset to "0", and the automatic low level flag is set to "1", and this routine ends (steps S9520, S9522). In this way, the automatic low level flag is set to "1" unless a low level state is detected for a predetermined period of time or longer (at least while this interrupt processing is performed twice) after the output signal of the automatic conversion changeover switch falls. This processing is not performed, so that it is possible to deal with cases such as when noise occurs in the output signal of the automatic conversion changeover switch.

【0284】次に再び本ルーチンが実行されたとき、自
動変換切換スイッチがオンすなわち出力信号がハイレベ
ルであると、前記ステップS9502,S9504,S
9506,S9508と進み、ステップS9508での
判定結果が“No”に代わり、ステップS9510へ移
行し、自動ロウレベルフラグが“1”か否か判定される
。そして、このステップS9552で“Yes”と判定
され、その後、自動変換切換スイッチがオフすなわち出
力信号がロウレベルである限り、前記ステップS950
2,S9504,S9506,S9508,S9510
が繰返し実行される。
[0284] Next, when this routine is executed again, if the automatic conversion switch is on, that is, the output signal is at a high level, steps S9502, S9504, and S
9506 and S9508, the determination result in step S9508 is changed to "No", and the process moves to step S9510, where it is determined whether the automatic low level flag is "1". Then, as long as "Yes" is determined in this step S9552, and the automatic conversion changeover switch is turned off, that is, the output signal is at a low level, the step S9550
2, S9504, S9506, S9508, S9510
is executed repeatedly.

【0285】次に自動変換切換スイッチがオフされてい
るときにノイズによってオン信号を拾ってしまった場合
を考える。先ず、ステップS9502では該自動変換切
換スイッチの出力信号がハイレベルと判定され、ステッ
プS9530に進む。その後、ステップS9532,S
9534,S9536,S9538と進んで自動立上変
化フラグを“1”に設定し、自動ロウレベルフラグを“
0”にリットして本ルーチンを終了する。そして、次の
ループで自動変換切換スイッチの出力が本来のロウレベ
ルであることを検知すると、ステップS9502からS
9504,S9506と進み、ここで自動立上変化フラ
グが“1”に設定されているので“Yes”と判定して
ステップS9524へ進み、自動立下変化フラグを“1
”にセットし、自動立上変化フラグを“0”にリセット
してルーチンを終了する。そして、再び本ルーチンが開
始されたときに自動変換切換スイッチの出力が本来のロ
ウレベルであれば、ステップS9502からS9504
と進み、ここで自動立上変化フラグがすでに“0”にさ
れた(ステップS9524)ので“Yes”と判定して
ステップS9518へ進み、自動立下フラグを“1”に
セットしてから、自動立下変化フラグを“0”にリセッ
ト、そして自動ロウレベルフラグを“1”にセットして
本ルーチンを終了する(ステップS9520,S952
2)。その後自動変換切換スイッチがオフすなわち出力
信号がロウレベルである限り、前記ステップS9502
,S9504,S9506,S9508,S9510が
繰返し実行される。その結果、自動変換切換スイッチが
オフのときに出力信号にノイズが発生した場合には、自
動ハイレベルフラグを“1”にセットさせないので、自
動変換フラグがノイズで“1”にされるのを防止するこ
とができるようになる。
Next, consider the case where the on signal is picked up by noise while the automatic conversion changeover switch is off. First, in step S9502, the output signal of the automatic conversion changeover switch is determined to be high level, and the process advances to step S9530. After that, steps S9532, S
9534, S9536, and S9538, set the automatic rise change flag to "1", and set the automatic low level flag to "1".
0" and ends this routine. Then, in the next loop, when it is detected that the output of the automatic conversion changeover switch is at the original low level, steps S9502 to S9502
The process proceeds to step S9504 and S9506, and since the automatic rise change flag is set to "1", it is determined as "Yes" and the process proceeds to step S9524, where the automatic fall change flag is set to "1".
”, the automatic start-up change flag is reset to “0”, and the routine ends. Then, when the routine starts again, if the output of the automatic conversion changeover switch is at the original low level, step S9502 From S9504
The automatic start-up change flag has already been set to "0" (step S9524), so the determination is "Yes" and the process advances to step S9518, where the automatic fall flag is set to "1" and the automatic start-up change flag is set to "1". The fall change flag is reset to "0", the automatic low level flag is set to "1", and this routine ends (steps S9520, S952).
2). Thereafter, as long as the automatic conversion switch is off, that is, the output signal is at a low level, step S9502
, S9504, S9506, S9508, and S9510 are repeatedly executed. As a result, if noise occurs in the output signal when the automatic conversion selector switch is off, the automatic high level flag will not be set to "1", so the automatic conversion flag will not be set to "1" due to noise. It will be possible to prevent this.

【0286】次に自動変換切換スイッチがオンされてい
るときにノイズによってオフ信号を拾ってしまった場合
を考える。この場合すでにステップS9530−S95
48で自動変換立下フラグが“0”、自動立上変化フラ
グが“0”、自動ハイレベルフラグが“1”、自動変換
フラグが“1”に設定されているとする。この状態でノ
イズによってステップS9502で自動変換切換スイッ
チの出力信号がハイレベルと判定すると、ステップS9
502からS9504,S9506,S9508と進み
、ここでは自動ハイレベルフラグがすでに“1”に設定
されている(ステップS9544)ので“Yes”と判
定してステップS9514へ進み、自動立下変化フラグ
を“1”にセットし、自動ハイレベルフラグを“0”に
リセットしてルーチンを終了する。
Next, consider a case where an off signal is picked up due to noise while the automatic conversion switch is on. In this case, steps S9530-S95 have already been performed.
48, the automatic conversion fall flag is set to "0", the automatic rise change flag is set to "0", the automatic high level flag is set to "1", and the automatic conversion flag is set to "1". In this state, if the output signal of the automatic conversion switch is determined to be high level in step S9502 due to noise, step S9
The process proceeds from step S9502 to S9504, S9506, and S9508. Here, since the automatic high level flag has already been set to "1" (step S9544), it is determined as "Yes" and the process advances to step S9514, where the automatic fall change flag is set to "1". 1", the automatic high level flag is reset to "0", and the routine ends.

【0287】そして、再び本ルーチンが開始されたとき
に自動変換切換スイッチの出力が本来のハイレベルであ
れば、ステップS9502からS9530と進み、ここ
で“No”と判定して自動立上変化フラグがすでに“0
”にされている(ステップS9542)ので“Yes”
と判定してステップS9532へ進み、自動立下変化フ
ラグが“1”か否か判定する。しかして、自動立下変化
フラグがすでに“0”にされている(ステップS951
4)のでステップS9556へ移行して自動立上フラグ
を“1”にセットしてから、自動立下変化フラグを“0
”にリセット本ルーチンを終了する(ステップS955
8)。その後自動変換切換スイッチがオフすなわち出力
信号がロウレベルである限り、前記ステップS9502
,S9530,S9532,S9534,S9552が
繰返し実行される。その結果、自動変換切換スイッチが
オンのときに出力信号にノイズが発生した場合には、自
動ロウレベルフラグを“1”にセットさせないので、自
動変換フラグがノイズで“0”にされるのを防止するこ
とができるようになる。
[0287] Then, when this routine is started again, if the output of the automatic conversion changeover switch is at the original high level, the process advances from step S9502 to S9530, where it is determined "No" and the automatic start-up change flag is set. is already “0”
” (step S9542), so “Yes”
After determining this, the process proceeds to step S9532, where it is determined whether the automatic fall change flag is "1". Therefore, the automatic fall change flag has already been set to "0" (step S951).
4) Therefore, proceed to step S9556, set the automatic start flag to "1", and then set the automatic fall change flag to "0".
” to end this routine (step S955
8). Thereafter, as long as the automatic conversion switch is off, that is, the output signal is at a low level, step S9502
, S9530, S9532, S9534, and S9552 are repeatedly executed. As a result, if noise occurs in the output signal when the automatic conversion switch is on, the automatic low level flag will not be set to "1", thereby preventing the automatic conversion flag from being set to "0" due to noise. You will be able to do this.

【0288】図76は割込処理(図72)のステップS
9310にて行なわれる玉不足検出器131の入力処理
のルーチンを示すフローチャートである。玉不足検出器
131は、パチンコ遊技機の供給皿121の下流側に配
置され、供給皿上の遊技球の有無を検出するために設け
られているスイッチで、玉を検出していると検出器はオ
フとなり玉がなくなると検出器はオンとなって出力がハ
イレベルとなるように構成されている。このルーチンが
開始されると、先ずステップS9600で玉不足検出器
131の出力信号を調べて検出器がオンしているか否か
が判定される。
FIG. 76 shows step S of interrupt processing (FIG. 72)
93 is a flowchart showing the input processing routine of the ball shortage detector 131 performed in step 9310. The ball shortage detector 131 is a switch that is placed downstream of the supply tray 121 of the pachinko game machine and is provided to detect the presence or absence of game balls on the supply tray. is turned off, and when there are no more balls, the detector is turned on and the output becomes high level. When this routine is started, first, in step S9600, the output signal of the ball shortage detector 131 is checked to determine whether or not the detector is on.

【0289】パチンコ遊技機の供給皿121の上に遊技
球が存在しなくなった場合もしくは遊技球が供給皿の中
で球詰りを起こして遊技球が玉不足検出器の設置位置に
達していない場合には、ステップS9600の判定結果
は“Yes”となり、ステップS9602へ移行して玉
不足フラグが“1”になっているかチェックする。すべ
のフラグは初期設定で“0”にリセットされている(図
66のステップS9002)ので、ステップS9602
の判定は“No”となり、ステップS9604へ移行し
て玉不足監視フラグが“1”か否か判定する。ここで“
No”と判定すると、ステップS9606へ移行して玉
不足監視フラグを“1”に設定し、玉有監視フラグを“
0”に設定し(ステップS9608)、更に玉不足タイ
マを所定値(100m秒)にセットして(ステップS9
610)、本ルーチンを終了する。ここで玉不足監視フ
ラグは遊技球が供給皿121上にあるか否かを判断(ス
テップS9604)するために用いられるフラグである
。一方、玉有監視フラグは、遊技球が玉不足検出器13
1の設置位置まで溜っている状態が連続して検知された
か否かを判断(ステップS9620)するために用いら
れるフラグである。
[0289] When there are no more game balls on the supply tray 121 of the pachinko game machine, or when the game balls are jammed in the supply tray and the game balls have not reached the installation position of the ball shortage detector. In this case, the determination result in step S9600 is "Yes", and the process moves to step S9602 to check whether the ball shortage flag is "1". Since all flags are reset to "0" in the initial setting (step S9002 in FIG. 66), step S9602
The determination is "No", and the process moves to step S9604, where it is determined whether the ball shortage monitoring flag is "1". here"
If the determination is "No", the process moves to step S9606, the ball shortage monitoring flag is set to "1", and the ball availability monitoring flag is set to "1".
0'' (step S9608), and further sets the ball shortage timer to a predetermined value (100 msec) (step S9
610), this routine ends. Here, the ball shortage monitoring flag is a flag used to determine whether or not game balls are on the supply tray 121 (step S9604). On the other hand, the ball monitoring flag indicates that the game balls are detected by the ball shortage detector 13.
This flag is used to determine whether or not a state in which the number of installation positions has been accumulated up to the first installation position has been continuously detected (step S9620).

【0290】次のループで引き続き、遊技球が供給皿上
に存在していないと、前記ステップS9600,S96
02の判定結果が共に“Yes”、続く前記ステップS
9604の判定結果が“No”となってステップS96
12へ移行する。このステップS9612では上記ステ
ップS9610でセットした玉不足タイマがタイムアッ
プしたか否か判定し、判定結果が“No”のときには、
続くステップS9614,S9616をスキップして本
ルーチンを終了する。一方、前記ステップS9612の
判定結果が“Yes”のときには、ステップS9614
にて、遊技球が供給皿上にないことを示すべく玉不足フ
ラグを“1”に設定すると共に、次のステップS961
6にて、玉有フラグ(このステップが初期化後初めて行
なわれるときには初期値“0”に設定されている)をリ
セット(“0”に設定)して本ルーチンを終了する。以
後のループで、遊技球が上記検出器設置位置まで溜らな
い限り、ステップS9600およびステップS9602
の判定結果が“Yes”となって、これらのステップが
繰返し実行される。
[0290] Continuing in the next loop, if no game balls are present on the supply tray, steps S9600 and S96 are performed.
If the determination results of 02 are both "Yes", the subsequent step S
The determination result of 9604 is “No” and the process proceeds to step S96.
Move to 12. In step S9612, it is determined whether the ball shortage timer set in step S9610 has timed up, and if the determination result is "No",
This routine is ended by skipping the following steps S9614 and S9616. On the other hand, if the determination result in step S9612 is "Yes", step S9614
In step S961, the ball shortage flag is set to "1" to indicate that there are no game balls on the supply tray.
At step 6, the Tamari flag (which is set to the initial value "0" when this step is performed for the first time after initialization) is reset (set to "0") and this routine ends. In the subsequent loop, unless the game balls accumulate up to the detector installation position, step S9600 and step S9602
The determination result becomes "Yes" and these steps are repeatedly executed.

【0291】この状態から供給皿121上に遊技球が投
入され、もしくは球詰りが解消されると、玉不足検出器
131がオフとなりステップS9600の判定結果が“
No”となってステップS9618へ移行する。ステッ
プS9618では玉有フラグが“1”であるか否かの判
定がなされる。玉有フラグは上記ステップS9616で
“0”に設定されているので、この判定結果は“No”
となり、ステップS9620で玉有監視フラグが“1”
か否かの判定がなされる。玉有監視フラグは前述のステ
ップS9608で“0”に設定されているため、ステッ
プS9120の判定結果は“No”となり、ステップS
9622に進む。
[0291] From this state, when game balls are placed on the supply tray 121 or the ball clogging is cleared, the ball shortage detector 131 is turned off and the determination result in step S9600 is "
No” and the process moves to step S9618. In step S9618, it is determined whether or not the ball flag is “1”. Since the ball flag is set to “0” in step S9616, This judgment result is “No”
Therefore, in step S9620, the Tamari monitoring flag is set to “1”.
A determination is made whether or not. Since the Tamari monitoring flag was set to "0" in step S9608 described above, the determination result in step S9120 is "No" and step S9608 is set to "0".
Proceed to 9622.

【0292】ステップS9622では玉有監視フラグを
“1”に設定すると共にステップS9624で、前記玉
不足監視フラグを“0”に設定し、更に玉有タイマを所
定値(100m秒)にセットして(ステップS9626
)本ルーチンを終了する。次のループで引き続き、遊技
球が玉不足検出器の設置位置まで溜っていると、前記ス
テップS9600の判定結果およびステップS9618
の判定結果が“No”、続く前記ステップS9620の
判定結果が“Yes”(前回ループのステップS962
2で“1”に設定されているため)となってステップS
9628へ移行する。
[0292] In step S9622, the ball count monitoring flag is set to "1", and in step S9624, the ball shortage monitoring flag is set to "0", and the ball count timer is set to a predetermined value (100 msec). (Step S9626
) End this routine. In the next loop, if the game balls have accumulated to the installation position of the ball shortage detector, the determination result of step S9600 and step S9618
The determination result of step S9620 is "No", and the determination result of the subsequent step S9620 is "Yes" (step S962 of the previous loop).
2 is set to “1”), and step S
Move to 9628.

【0293】このステップS9628では上記ステップ
S9624でセットした玉不足タイマがタイムアップし
たか否か判定し、判定結果が“No”のときには、続く
ステップS9630,S9632をスキップして本ルー
チンを終了する。一方、前記ステップS9628の判定
結果が“Yes”のときには、ステップS9630にて
、遊技球が供給皿上にあることを示すべく玉有フラグを
“1”に設定すると共に、次のステップS9632にて
、玉不足フラグをリセット(“0”に設定)して本ルー
チンを終了する。以後のループでは、供給皿上に遊技球
が玉不足検出器の設置位置まで貯留されている限り、ス
テップS9600の判定結果が“No”、ステップS9
618の判定結果が“Yes”となって、これらのステ
ップが繰返し実行される。
[0293] In step S9628, it is determined whether or not the ball shortage timer set in step S9624 has timed up. If the determination result is "No", the following steps S9630 and S9632 are skipped and this routine is ended. On the other hand, when the determination result in step S9628 is "Yes", in step S9630 the ball flag is set to "1" to indicate that the game ball is on the supply tray, and in the next step S9632 , reset the ball shortage flag (set it to "0") and end this routine. In the subsequent loop, as long as the game balls are stored on the supply tray up to the installation position of the ball shortage detector, the determination result in step S9600 is "No" and step S9
The determination result at step 618 is "Yes", and these steps are repeatedly executed.

【0294】以上のように、本入力処理では、玉不足検
出器131の出力信号がロウレベルからハイレベル(又
はハイレベルからロウレベル)に変化した直後のループ
では該ロウレベルからハイレベルの変化(又はハイレベ
ルからロウレベルの変化)を記憶する(監視フラグを“
1”とする)だけに止めておき、次回ループでも依然ハ
イレベル(又はロウレベル)であって且つ上記変化した
時点より所定時間が経過した後に初めて本ルーチンの最
終出力値である玉有フラグを“1”(又は玉不足フラグ
を“1”)に変更するようにしている。このような制御
手順を採用することによって、ノイズ発生等により玉不
足検出器の出力信号レベルが瞬間的に変化した場合であ
っても直ちにその変化を正規の変化と判断することがな
く、当該ノイズ発生等による誤作動を防止することがで
きるようになっている。
As described above, in this input processing, in the loop immediately after the output signal of the ball shortage detector 131 changes from low level to high level (or from high level to low level), the change from low level to high level (or high level) is performed. change from level to low level) (changes from low level to
The Tamaari flag, which is the final output value of this routine, is set only after the flag is still at a high level (or low level) in the next loop and a predetermined period of time has elapsed since the above change. 1" (or the ball shortage flag to "1").By adopting this control procedure, if the output signal level of the ball shortage detector changes momentarily due to noise, etc. Even if the change occurs, the change is not immediately determined to be a normal change, and malfunctions due to the occurrence of such noise can be prevented.

【0295】図77は割込処理(図72)のステップS
9312にて行なわれる玉保有検出器132の入力処理
のルーチンを示すフローチャートである。玉保有検出器
132は、パチンコ遊技機の供給皿121の上流側に配
置され、供給皿上に遊技球が充分に存在しているかを検
出するために設けられているスイッチで、玉を検出して
いると検出器はオンとなり、玉を検出しなくなると検出
器はオフとなって出力がロウレベルとなるように構成さ
れている。このルーチンが開始されると、先ずステップ
S9700で玉保有検出器132の出力信号を調べて検
出器がオンしているか否かが判定される。
FIG. 77 shows step S of interrupt processing (FIG. 72).
93 is a flowchart showing the input processing routine of the ball possession detector 132 performed in step 9312. The ball possession detector 132 is a switch that is placed upstream of the supply tray 121 of the pachinko game machine and is provided to detect whether there are enough game balls on the supply tray. When the ball is detected, the detector is turned on, and when the ball is no longer detected, the detector is turned off and the output becomes low level. When this routine is started, first, in step S9700, the output signal of the ball possession detector 132 is checked to determine whether or not the detector is on.

【0296】パチンコ遊技機の供給皿121の上流の玉
出口120の近傍まで充分に遊技球が存在している場合
には、ステップS9700の判定結果は“Yes”とな
り、ステップS9702へ移行して保有フラグが“1”
になっているかチェックする。すべのフラグは初期設定
で“0”にリセットされている(図66のステップS9
002)ので、ステップS9702の判定は“No”と
なり、ステップS9704ステップへ移行して玉保有監
視フラグが“1”か否か判定する。ここで“No”と判
定すると、ステップS9706へ移行して玉保有監視フ
ラグを“1”に設定し、玉無監視フラグを“0”に設定
し(ステップS9708)、更に玉保有タイマを所定値
(500m秒)にセットして(ステップS9710)、
本ルーチンを終了する。
[0296] If there are enough game balls in the vicinity of the ball outlet 120 upstream of the supply tray 121 of the pachinko game machine, the determination result in step S9700 is "Yes", and the process moves to step S9702 to hold the balls. Flag is “1”
Check if it is. All flags are reset to "0" by default (step S9 in FIG. 66).
002), the determination in step S9702 is "No", and the process proceeds to step S9704, where it is determined whether the ball possession monitoring flag is "1". If the determination is "No" here, the process moves to step S9706, the ball possession monitoring flag is set to "1", the ball non-monitoring flag is set to "0" (step S9708), and the ball possession timer is set to a predetermined value. (500 msec) (step S9710),
This routine ends.

【0297】ここで玉保有監視フラグは遊技球が供給皿
121の上流まで溜まっているか否かを判断(ステップ
S9704)するために用いられるフラグである。一方
、玉無監視フラグは、遊技球が玉保有検出器132の設
置位置まで溜っていない状態が連続して検知されたか否
かを判断(ステップS9720)するために用いられる
フラグである。次のループで引き続き、遊技球が供給皿
の上流まで溜まっていると、前記ステップS9700,
S9702の判定結果が共に“Yes”、続く前記ステ
ップS9704の判定結果が“No”となってステップ
S9712へ移行する。
[0297] Here, the ball possession monitoring flag is a flag used to judge whether or not game balls are accumulated upstream of the supply tray 121 (step S9704). On the other hand, the no-ball monitoring flag is a flag used to determine whether a state in which the game balls have not accumulated to the installation position of the ball possession detector 132 has been continuously detected (step S9720). In the next loop, if the game balls have accumulated up to the upstream side of the supply tray, step S9700,
The determination result in S9702 is both "Yes", and the determination result in the subsequent step S9704 is "No", and the process moves to step S9712.

【0298】このステップS9712では上記ステップ
S9710でセットした玉保有タイマがタイムアップし
たか否か判定し、判定結果が“No”のときには、続く
ステップS9714,S9716をスキップして本ルー
チンを終了する。一方、前記ステップS9712の判定
結果が“Yes”のときには、ステップS9714にて
、遊技球が供給皿の上流まで溜まっていることを示すべ
く保有フラグを“1”に設定すると共に、次のステップ
S9716にて、玉無フラグ(このステップが初期化後
初めて行なわれるときには初期値“0”に設定されてい
る)をリセット(“0”に設定)して本ルーチンを終了
する。以後のループで、遊技球が上記検出器設置位置ま
で溜まっている限り、ステップS9700の判定結果お
よびステップS9702の判定結果が“Yes”となっ
て、これらのステップが繰返し実行される。
[0298] In step S9712, it is determined whether the ball possession timer set in step S9710 has timed up, and if the determination result is "No", the following steps S9714 and S9716 are skipped and this routine is ended. On the other hand, when the determination result in step S9712 is "Yes", in step S9714, the possession flag is set to "1" to indicate that the game balls have accumulated upstream of the supply tray, and the next step S9716 At , the no-balls flag (which is set to an initial value of "0" when this step is performed for the first time after initialization) is reset (set to "0"), and this routine ends. In the subsequent loop, as long as the game balls have accumulated up to the detector installation position, the determination result of step S9700 and the determination result of step S9702 become "Yes", and these steps are repeatedly executed.

【0299】この状態から供給皿121上に遊技球が減
少すると玉保有検出器132がオフとなり、ステップS
9700の判定結果が“No”となってステップS97
18へ移行する。ステップS9718では玉無フラグが
“1”であるか否かの判定がなされる。玉無フラグは上
記ステップS9716で“0”に設定されているので、
この判定結果は“No”となり、ステップS9720で
玉無監視フラグが“1”か否かの判定がなされる。玉無
監視フラグは前述のステップS9708で“0”に設定
されているため、ステップS9120の判定結果は“N
o”となり、ステップS9722に進む。
[0299] When the number of game balls decreases on the supply tray 121 from this state, the ball possession detector 132 turns off, and the process proceeds to step S.
The determination result of 9700 is “No” and the process proceeds to step S97.
Move to 18. In step S9718, it is determined whether the ballless flag is "1". Since the ballless flag is set to "0" in step S9716 above,
The result of this determination is "No", and it is determined in step S9720 whether or not the no-ball monitoring flag is "1". Since the ballless monitoring flag was set to "0" in step S9708 described above, the determination result in step S9120 is "N".
o'', and the process advances to step S9722.

【0300】ステップS9722では玉無監視フラグを
“1”に設定すると共にステップS9724で、前記玉
保有監視フラグを“0”に設定し、更に玉無タイマを所
定値(500m秒)にセットして(ステップS9726
)本ルーチンを終了する。次のループで引き続き、遊技
球が玉保有検出器の設置位置まで溜まっていないと、前
記ステップS9700の判定結果およびステップS97
18の判定結果が“No”、続く前記ステップS972
0の判定結果が“Yes”(前回ループのステップS9
722で“1”に設定されているため)となってステッ
プS9728へ移行する。
[0300] In step S9722, the ball-free monitoring flag is set to "1", and in step S9724, the ball possession monitoring flag is set to "0", and the ball-free timer is set to a predetermined value (500 msec). (Step S9726
) End this routine. Continuing in the next loop, if the game balls have not accumulated to the installation position of the ball possession detector, the judgment result of step S9700 and step S97
If the determination result of step 18 is “No”, the subsequent step S972
The determination result of 0 is “Yes” (step S9 of the previous loop).
722) and the process moves to step S9728.

【0301】このステップS9728では上記ステップ
S9724でセットした玉保有タイマがタイムアップし
たか否か判定し、判定結果が“No”のときには、続く
ステップS9730,S9732をスキップして本ルー
チンを終了する。一方、前記ステップS9728の判定
結果が“Yes”のときには、ステップS9730にて
、遊技球が供給皿の上流まではないことを示すべく玉無
フラグを“1”に設定すると共に、次のステップS97
32にて、保有フラグをリセット(“0”に設定)して
本ルーチンを終了する。以後のループでは、供給皿上に
遊技球が玉保有検出器の設置位置までたまらない限り、
ステップS9700の判定結果が“No”、ステップS
9718の判定結果が“Yes”となって、これらのス
テップが繰返し実行される。
[0301] In this step S9728, it is determined whether or not the ball possession timer set in the above step S9724 has timed out. If the determination result is "No", the following steps S9730 and S9732 are skipped and this routine is ended. On the other hand, when the determination result in step S9728 is "Yes", in step S9730, the no-ball flag is set to "1" to indicate that the game ball is not upstream of the supply tray, and at the same time, in the next step S97
At step 32, the holding flag is reset (set to "0") and this routine ends. In subsequent loops, unless the game balls accumulate on the supply tray to the installation position of the ball possession detector,
If the determination result in step S9700 is “No”, step S
The determination result of 9718 becomes "Yes", and these steps are repeatedly executed.

【0302】以上のように、本入力処理では、玉保有検
出器132の出力信号がロウレベルからハイレベル(又
はハイレベルからロウレベル)に変化した直後のループ
では該ロウレベルからハイレベルの変化(又はハイレベ
ルからロウレベルの変化)を記憶する(監視フラグを“
1”とする)だけに止めておき、次回ループでも依然ハ
イレベル(又はロウレベル)であって且つ上記変化した
時点より所定時間が経過した後に初めて本ルーチンの最
終出力値である玉無フラグを“1”(又は保有フラグを
“1”)に変更するようにしている。このような制御手
順を採用することによって、ノイズ発生等により玉保有
検出器の出力信号レベルが瞬間的に変化した場合であっ
ても直ちにその変化を正規の変化と判断することがなく
、当該ノイズ発生等による誤作動を防止することができ
るようになっている。
As described above, in this input processing, in the loop immediately after the output signal of the ball possession detector 132 changes from low level to high level (or from high level to low level), the change from the low level to high level (or high level) is performed. change from level to low level) (changes from low level to
The final output value of this routine, the ballless flag, is set to "1"), and the flag is still at a high level (or low level) in the next loop, and only after a predetermined period of time has elapsed since the above-mentioned change. 1" (or the possession flag to "1"). By adopting this control procedure, even if the output signal level of the ball possession detector changes momentarily due to noise, etc. Even if there is a change, the change is not immediately judged as a normal change, and malfunctions due to the occurrence of such noise can be prevented.

【0303】図78は割込処理(図72)のステップS
9314にて行なわれる打止信号Wの入力処理のルーチ
ンを示すフローチャートである。打止信号Wは、パチン
コ遊技機において打止状態が発生したときに、ホールの
管理装置700から送られてくる信号である。このルー
チンが開始されると、先ずステップS9800で打止信
号Wを調べてハイレベルかロウレベルか判定される。
FIG. 78 shows step S of interrupt processing (FIG. 72).
93 is a flowchart showing a routine for input processing of a stop signal W performed in step 9314; FIG. The stop signal W is a signal sent from the hall management device 700 when a stop state occurs in the pachinko game machine. When this routine is started, first, in step S9800, the stop signal W is checked to determine whether it is at a high level or a low level.

【0304】パチンコ遊技機で打止が発生していないと
きには打止信号Wがハイレベルにネゲートされているた
め、ステップS9800の判定結果は“No”となり、
ステップS9802へ移行して解放フラグが“1”にな
っているかチェックする。すべのフラグは初期設定で“
0”にリセットされている(図66のステップS900
2)ので、ステップS9802の判定は“No”となり
、ステップS9804へ移行して解放監視フラグが“1
”か否か判定する。ここで“No”と判定すると、ステ
ップS9806へ移行して解放監視フラグを“1”に設
定し、打止監視フラグを“0”に設定し(ステップS9
808)、更に解放タイマを所定値(50m秒)にセッ
トして(ステップS9810)、本ルーチンを終了する
。ここで解放監視フラグはパチンコ遊技機が解放すなわ
ち遊技可能な状態にあるか否かを判断(ステップS98
04)するために用いられるフラグである。一方、打止
監視フラグは、パチンコ遊技機が打止すなわち遊技不能
状態にあるか否かを判断(ステップS9820)するた
めに用いられるフラグである。
[0304] When a stop has not occurred in the pachinko game machine, the stop signal W is negated to a high level, so the determination result in step S9800 is "No".
Proceeding to step S9802, it is checked whether the release flag is set to "1". All flags are set to “
0” (step S900 in FIG. 66).
2), the determination in step S9802 is “No”, and the process moves to step S9804 where the release monitoring flag is set to “1”.
”. If the determination is “No” here, the process moves to step S9806, where the release monitoring flag is set to “1” and the discontinuation monitoring flag is set to “0” (step S9806).
808), and further sets a release timer to a predetermined value (50 msec) (step S9810), and ends this routine. Here, the release monitoring flag determines whether the pachinko game machine is released, that is, in a state where it can be played (step S98).
04). On the other hand, the discontinuation monitoring flag is a flag used to determine whether the pachinko game machine is discontinued, that is, in a non-playable state (step S9820).

【0305】次のループが開始されたとき、引き続きパ
チンコ遊技機が解放状態にあると、前記ステップS98
00,S9802の判定結果が共に“No”、続く前記
ステップS9804の判定結果が“No”となってステ
ップS9812へ移行する。このステップS9812で
は上記ステップS9810でセットした解放タイマがタ
イムアップしたか否か判定し、判定結果が“No”のと
きには、続くステップS9814,S9816をスキッ
プして本ルーチンを終了する。一方、前記ステップS9
812の判定結果が“Yes”のときには、ステップS
9814にて、パチンコ遊技機が解放状態にあることを
示すべく解放フラグを“1”に設定すると共に、次のス
テップS9816にて、打止フラグ(このステップが初
期化後初めて行なわれるときには初期値“0”に設定さ
れている)をリセット(“0”に設定)して本ルーチン
を終了する。
[0305] When the next loop is started, if the pachinko game machine is still in the released state, step S98 is executed.
00, the determination result of S9802 is "No", and the determination result of the subsequent step S9804 is "No", and the process moves to step S9812. In step S9812, it is determined whether the release timer set in step S9810 has timed up, and if the determination result is "No", the following steps S9814 and S9816 are skipped and this routine is ended. On the other hand, the step S9
When the determination result in 812 is “Yes”, step S
At step S9814, the release flag is set to "1" to indicate that the pachinko game machine is in the release state, and at the next step S9816, the stop flag (if this step is performed for the first time after initialization, the initial value is set). (set to "0") is reset (set to "0") and this routine ends.

【0306】以後のループで、パチンコ遊技機が打止状
態にならない限り、ステップS9800の判定結果が“
No”、ステップS9802の判定結果が“Yes”と
なって、これらのステップが繰返し実行される。一方、
パチンコ遊技機において打止が発生すると、打止信号が
ロウレベルとなりステップS9800の判定結果が“Y
es”となってステップS9818へ移行する。ステッ
プS9818では打止フラグが“1”であるか否かの判
定がなされる。打止フラグは上記ステップS9816で
“0”に設定されているので、この判定結果は“No”
となり、ステップS9820で打止監視フラグが“1”
か否かの判定がなされる。打止監視フラグは前述のステ
ップS9808で“0”に設定されているため、ステッ
プS9120の判定結果は“No”となり、ステップS
9822に進む。
[0306] In the subsequent loop, unless the pachinko game machine enters the stopped state, the determination result of step S9800 will be "
The determination result in step S9802 is “No”, and the determination result in step S9802 is “Yes”, and these steps are repeatedly executed.
When a stop occurs in the pachinko game machine, the stop signal becomes low level and the determination result in step S9800 is "Y".
es" and the process moves to step S9818. In step S9818, it is determined whether the abort flag is "1". Since the abort flag was set to "0" in step S9816, This judgment result is “No”
Therefore, the discontinuation monitoring flag is set to "1" in step S9820.
A determination is made whether or not. Since the discontinuation monitoring flag was set to "0" in step S9808 described above, the determination result in step S9120 is "No" and step S9808 is set to "0".
Proceed to 9822.

【0307】ステップS9822では打止監視フラグを
“1”に設定すると共にステップS9824で、前記解
放監視フラグを“0”に設定し、更に打止タイマを所定
値(50m秒)にセットして(ステップS9826)本
ルーチンを終了する。次のループで引き続き、打止信号
がロウレベルになっていると、前記ステップS9800
の判定結果が“Yes”、ステップS9818の判定結
果が“No”、続く前記ステップS9820の判定結果
が“Yes”(前回ループのステップS9822で“1
”に設定されているため)となってステップS9828
へ移行する。
[0307] In step S9822, the discontinuation monitoring flag is set to "1", and in step S9824, the release monitoring flag is set to "0", and furthermore, the discontinuation timer is set to a predetermined value (50 msec). Step S9826) This routine ends. If the stop signal continues to be at a low level in the next loop, step S9800
The determination result in step S9818 is "No", and the determination result in step S9820 is "Yes"("1" in step S9822 of the previous loop).
”) and step S9828
Move to.

【0308】このステップS9828では上記ステップ
S9824でセットした解放タイマがタイムアップした
か否か判定し、判定結果が“No”のときには、続くス
テップS9830,S9832をスキップして本ルーチ
ンを終了する。一方、前記ステップS9828の判定結
果が“Yes”のときには、ステップS9830にて、
パチンコ遊技機において打止が発生したことを示すべく
打止フラグを“1”に設定すると共に、次のステップS
9832にて、解放フラグをリセット(“0”に設定)
して本ルーチンを終了する。以後のループでは、打止信
号がロウレベルになっている限り、ステップS9800
およびステップS9818の判定結果がともに“Yes
”となって、これらのステップが繰返し実行される。
[0308] In this step S9828, it is determined whether or not the release timer set in the above step S9824 has timed up. If the determination result is "No", the following steps S9830 and S9832 are skipped and this routine is ended. On the other hand, when the determination result in step S9828 is "Yes", in step S9830,
A stop flag is set to "1" to indicate that a stop has occurred in the pachinko game machine, and the next step S
At 9832, reset the release flag (set it to “0”)
to end this routine. In subsequent loops, as long as the abort signal is at low level, step S9800 is executed.
and the determination results in step S9818 are both “Yes”.
” and these steps are repeated.

【0309】以上のように、本入力処理では、打止信号
の出力信号がロウレベルからハイレベル(又はハイレベ
ルからロウレベル)に変化した直後のループでは該ロウ
レベルからハイレベルの変化(又はハイレベルからロウ
レベルの変化)を記憶する(監視フラグを“1”とする
)だけに止めておき、次回ループでも依然ハイレベル(
又はロウレベル)であって且つ上記変化した時点より所
定時間が経過した後に初めて本ルーチンの最終出力値で
ある打止フラグを“1”(又は解放フラグを“1”)に
変更するようにしている。このような制御手順を採用す
ることによって、ノイズ発生等により打止信号のレベル
が瞬間的に変化した場合であっても直ちにその変化を正
規の変化と判断することがなく、当該ノイズ発生等によ
る誤作動を防止することができるようになっている。
As described above, in this input processing, in the loop immediately after the output signal of the stop signal changes from low level to high level (or from high level to low level), the change from low level to high level (or from high level to high level) is performed. Changes in the low level) are only memorized (the monitoring flag is set to "1"), and the next loop will still have the high level (changes in the low level).
or low level), and only after a predetermined time has elapsed from the time of the above change, the abort flag, which is the final output value of this routine, is changed to "1" (or the release flag is changed to "1"). . By adopting such a control procedure, even if the level of the stop signal changes instantaneously due to the occurrence of noise, the change will not be immediately judged as a normal change, and the change will not be immediately judged as a normal change. It is possible to prevent malfunctions.

【0310】図79は割込処理(図72)のステップS
9316にて行なわれる大当り信号Pの入力処理のルー
チンを示すフローチャートである。大当り信号Pは、パ
チンコ遊技機において大当り状態が発生したときに、遊
技盤制御装置400から送られてくる信号である。この
ルーチンが開始されると、先ずステップS9900で大
当り信号Pを調べてハイレベルかロウレベルか判定され
る。
FIG. 79 shows step S of interrupt processing (FIG. 72).
93 is a flowchart showing a routine for input processing of the jackpot signal P performed in step 9316. The jackpot signal P is a signal sent from the game board control device 400 when a jackpot state occurs in the pachinko game machine. When this routine is started, first, in step S9900, the jackpot signal P is checked to determine whether it is high level or low level.

【0311】パチンコ遊技機で大当りが発生していない
ときには大当り信号Pがハイレベルにネゲートされてい
るため、ステップS9900の判定結果は“No”とな
り、ステップS9902へ移行して通常フラグが“1”
になっているかチェックする。すべのフラグは初期設定
で“0”にリセットされている(図66のステップS9
002)ので、ステップS9902の判定は“No”と
なり、ステップS9904へ移行して通常監視フラグが
“1”か否か判定する。ここで“No”と判定すると、
ステップS9906へ移行して通常監視フラグを“1”
に設定し、大当り監視フラグを“0”に設定し(ステッ
プS9908)、更に通常タイマを所定値(50m秒)
にセットして(ステップS9910)、本ルーチンを終
了する。
[0311] When a jackpot has not occurred in the pachinko game machine, the jackpot signal P is negated to a high level, so the determination result in step S9900 is "No", and the process moves to step S9902, where the normal flag is set to "1".
Check if it is. All flags are reset to "0" by default (step S9 in FIG. 66).
002), the determination in step S9902 is "No", and the process moves to step S9904, where it is determined whether the normal monitoring flag is "1". If the judgment is “No” here,
Proceed to step S9906 and set the normal monitoring flag to “1”
, the jackpot monitoring flag is set to "0" (step S9908), and the normal timer is set to a predetermined value (50 msec).
(step S9910), and ends this routine.

【0312】ここで通常監視フラグはパチンコ遊技機が
通常遊技状態にあるか否かを判断(ステップS9904
)するために用いられるフラグである。一方、大当り監
視フラグは、パチンコ遊技機が大当り状態にあるか否か
を判断(ステップS9920)するために用いられるフ
ラグである。次のループが開始されたとき、引き続きパ
チンコ遊技機が通常遊技状態にあると、前記ステップS
9900,S9902の判定結果が共に“No”、続く
前記ステップS9904の判定結果が“No”となって
ステップS9912へ移行する。
[0312] Here, the normal monitoring flag determines whether or not the pachinko gaming machine is in the normal gaming state (step S9904).
) is the flag used to do this. On the other hand, the jackpot monitoring flag is a flag used to determine whether the pachinko game machine is in a jackpot state (step S9920). When the next loop is started, if the pachinko game machine is still in the normal gaming state, the step S
The determination results of both S9900 and S9902 are "No", and the determination result of the subsequent step S9904 is "No", and the process moves to step S9912.

【0313】このステップS9912では上記ステップ
S9910でセットした通常タイマがタイムアップした
か否か判定し、判定結果が“No”のときには、続くス
テップS9914,S9916をスキップして本ルーチ
ンを終了する。一方、前記ステップS9912の判定結
果が“Yes”のときには、ステップS9914にて、
パチンコ遊技機が通常遊技状態にあることを示すべく通
常フラグを“1”に設定すると共に、次のステップS9
916にて、大当りフラグ(このステップが初期化後初
めて行なわれるときには初期値“0”に設定されている
)をリセット(“0”に設定)して本ルーチンを終了す
る。以後のループで、パチンコ遊技機が大当り状態にな
らない限り、ステップS9900の判定結果が“No”
、ステップS9902の判定結果が“Yes”となって
、これらのステップが繰返し実行される。
[0313] In step S9912, it is determined whether or not the normal timer set in step S9910 has timed up. If the determination result is "No", subsequent steps S9914 and S9916 are skipped and this routine is ended. On the other hand, when the determination result in step S9912 is "Yes", in step S9914,
The normal flag is set to "1" to indicate that the pachinko gaming machine is in the normal gaming state, and the next step S9
In step 916, the jackpot flag (which is set to an initial value of "0" when this step is performed for the first time after initialization) is reset (set to "0") and this routine ends. In the subsequent loop, unless the pachinko machine enters a jackpot state, the determination result in step S9900 is "No".
, the determination result in step S9902 becomes "Yes", and these steps are repeatedly executed.

【0314】一方、パチンコ遊技機において大当りが発
生すると、大当り信号がロウレベルとなりステップS9
900の判定結果が“Yes”となってステップS99
18へ移行する。ステップS9918では大当りフラグ
が“1”であるか否かの判定がなされる。大当りフラグ
は上記ステップS9916で“0”に設定されているの
で、この判定結果は“No”となり、ステップS992
0で大当り監視フラグが“1”か否かの判定がなされる
。大当り監視フラグは前述のステップS9908で“0
”に設定されているため、ステップS9120の判定結
果は“No”となり、ステップS9922に進む。
On the other hand, when a jackpot occurs in the pachinko game machine, the jackpot signal becomes low level and step S9
The determination result of 900 is "Yes" and the process proceeds to step S99.
Move to 18. In step S9918, it is determined whether the jackpot flag is "1". Since the jackpot flag was set to "0" in step S9916, this determination result is "No" and step S992
0, it is determined whether the jackpot monitoring flag is "1" or not. The jackpot monitoring flag is set to “0” in step S9908 mentioned above.
”, the determination result in step S9120 is “No” and the process advances to step S9922.

【0315】ステップS9922では大当り監視フラグ
を“1”に設定すると共にステップS9924で、前記
通常監視フラグを“0”に設定し、更に大当りタイマを
所定値(50m秒)にセットして(ステップS9926
)本ルーチンを終了する。次のループで引き続き、大当
り信号がロウレベルになっていると、前記ステップS9
900の判定結果が“Yes”、ステップS9918の
判定結果が“No”、続く前記ステップS9920の判
定結果が“Yes”(前回ループのステップS9922
で“1”に設定されているため)となってステップS9
928へ移行する。
[0315] In step S9922, the jackpot monitoring flag is set to "1", and in step S9924, the normal monitoring flag is set to "0", and furthermore, the jackpot timer is set to a predetermined value (50 msec) (step S9926).
) End this routine. If the jackpot signal continues to be at a low level in the next loop, step S9
The determination result of step S900 is "Yes", the determination result of step S9918 is "No", and the determination result of the subsequent step S9920 is "Yes" (step S9922 of the previous loop).
is set to "1"), and the process proceeds to step S9.
Transition to 928.

【0316】このステップS9928では上記ステップ
S9924でセットした通常タイマがタイムアップした
か否か判定し、判定結果が“No”のときには、続くス
テップS9930,S9932をスキップして本ルーチ
ンを終了する。一方、前記ステップS9928の判定結
果が“Yes”のときには、ステップS9930にて、
パチンコ遊技機において大当りが発生したことを示すべ
く大当りフラグを“1”に設定すると共に、次のステッ
プS9932にて、通常フラグをリセット(“0”に設
定)して本ルーチンを終了する。以後のループでは、大
当り信号がロウレベルになっている限り、ステップS9
900およびステップS9918の判定結果がともに“
Yes”となって、これらのステップが繰返し実行され
る。
[0316] In this step S9928, it is determined whether or not the normal timer set in the above step S9924 has timed out. If the determination result is "No", the following steps S9930 and S9932 are skipped and this routine is ended. On the other hand, when the determination result in step S9928 is "Yes", in step S9930,
A jackpot flag is set to "1" to indicate that a jackpot has occurred in the pachinko game machine, and at the next step S9932, the normal flag is reset (set to "0"), and this routine ends. In the subsequent loop, as long as the jackpot signal is at low level, step S9
900 and step S9918 are both "
“Yes” and these steps are repeated.

【0317】以上のように、本入力処理では、大当り信
号の出力信号がロウレベルからハイレベル(又はハイレ
ベルからロウレベル)に変化した直後のループでは該ロ
ウレベルからハイレベルの変化(又はハイレベルからロ
ウレベルの変化)を記憶する(監視フラグを“1”とす
る)だけに止めておき、次回ループでも依然ハイレベル
(又はロウレベル)であって且つ上記変化した時点より
所定時間が経過した後に初めて本ルーチンの最終出力値
である大当りフラグを“1”(又は通常フラグを“1”
)に変更するようにしている。このような制御手順を採
用することによって、ノイズ発生等により大当り信号の
レベルが瞬間的に変化した場合であっても直ちにその変
化を正規の変化と判断することがなく、当該ノイズ発生
等による誤作動を防止することができるようになってい
る。
As described above, in this input processing, in the loop immediately after the output signal of the jackpot signal changes from low level to high level (or from high level to low level), the output signal changes from low level to high level (or from high level to low level). This routine is only executed after a certain amount of time has elapsed from the time of the above change, and the level is still high (or low) in the next loop. The final output value of the jackpot flag is set to “1” (or the normal flag is set to “1”)
). By adopting such a control procedure, even if the level of the jackpot signal changes instantaneously due to noise generation, the change will not be immediately judged as a normal change, and errors caused by the noise generation etc. will be avoided. It is possible to prevent the operation.

【0318】図80は割込処理(図72)のステップS
9318にて行なわれる残高表示駆動信号Xの入力処理
のルーチンを示すフローチャートである。残高表示駆動
信号Xは、玉貸し制御装置500から送られてくるセグ
メント型表示器の駆動信号である。
FIG. 80 shows step S of interrupt processing (FIG. 72)
93 is a flowchart showing a routine for input processing of balance display drive signal X performed in step 9318. The balance display drive signal X is a drive signal for the segment type display sent from the ball lending control device 500.

【0319】このルーチンが開始されると、先ずステッ
プS9950で残高駆動信号Xを読み込んで、次にその
信号から表示データ(数値)に変換する(ステップS9
952)。それから、その数値が「0」か否か判定し(
ステップS9954)、“No”ならステップS995
6へ進んで、前回のルーチンで読み込んで保持している
カードの残高データを調べて残高が「0」か否か判定す
る。このデータエリアは初期設定により「0」にされる
ため、最初にゼロでない残高データ(>0)を読み込ん
でステップS9956へ移行してきたときは“Yes”
と判定され、ステップS9958へ移行し、カード挿入
フラグを“1”にセットする。残高データが「0」の時
に読込み数値が「0」でなくなったということ(ステッ
プS9954,S9956)は、有効カードがカードリ
ーダ250に挿入されたと推定できるためである。 このカード挿入フラグは図70の音要求処理ルーチンで
参照され、“1”になったときにカード挿入音発生要求
信号が遊技盤制御装置400に対して出力される。ステ
ップS9958でカード挿入フラグを“1”にセットし
た後は、ステップS9960で残高ゼロフラグを“0”
にリセットする。残高ゼロフラグは“1”のときに残高
データが「0」であることを示すためのフラグであり、
次のステップS9962で読込み数値(≠0)を残高デ
ータエリアに書き込むので、その前に残高フラグを“0
”にして残高データが「0」でないことを表しておくた
めである。
When this routine is started, the balance driving signal X is first read in step S9950, and then the signal is converted into display data (numeric value) (step S9
952). Then, determine whether that number is "0" or not (
Step S9954), if “No”, step S995
Proceeding to step 6, the balance data of the card read and held in the previous routine is checked to determine whether the balance is "0". This data area is set to "0" by default, so when non-zero balance data (>0) is read for the first time and the process moves to step S9956, "Yes" is selected.
If so, the process moves to step S9958, and the card insertion flag is set to "1". The fact that the read numerical value is no longer "0" when the balance data is "0" (steps S9954, S9956) is because it can be assumed that a valid card has been inserted into the card reader 250. This card insertion flag is referred to in the sound request processing routine of FIG. 70, and when it becomes "1", a card insertion sound generation request signal is output to the game board control device 400. After setting the card insertion flag to "1" in step S9958, the zero balance flag is set to "0" in step S9960.
Reset to . The zero balance flag is a flag that indicates that the balance data is “0” when it is “1”.
In the next step S9962, the read numerical value (≠0) is written to the balance data area, so before that, the balance flag is set to “0”.
” to indicate that the balance data is not “0”.

【0320】一方、上記ステップS9956で“Yes
”すなわち残高データが「0」でないと判定したときも
、ステップS9962で読込み数値(≠0)を残高デー
タエリアに書き込んでこのルーチンを終了する。残高デ
ータが「0」でないときにも残高データを書き直すのは
、玉貸し変換要求に対する排出がなされると、玉貸し制
御装置500が残高データを変換分だけ減算した表示駆
動信号を出力してくるからである。一方、上記ステップ
S9954で“Yes”すなわち読込み数値が「0」で
あると判定すると、ステップS9964へ移行して残高
データが「0」か否か判定する。ここで“Yes”すな
わち残高データが「0」と判定すると、何もせずにルー
チンを終了し、“No”すなわち残高データが「0」で
ないと判定すると、ステップS9966へ移行してカー
ド排出フラグを“1”にセットする。残高データが「0
」でない時に読込み数値が「0」になったということ(
ステップS9954,S9964)は、カードがカード
リーダ250から排出されたと推定できるためである。 このカード排出フラグは図70の音要求処理ルーチンで
参照され、“1”になったときにカード排出音発生要求
信号が遊技盤制御装置400に対して出力される。 ステップS9966でカード排出フラグを“1”にセッ
トした後は、ステップS9968で残高ゼロフラグを“
1”にリセットする。残高ゼロフラグは“1”のときに
残高データが「0」であることを示すためのフラグであ
り、次のステップS9962で読込み数値(=0)を残
高データエリアに書き込むので、その前に残高フラグを
“1”にして残高データが「0」であることを表してお
くためである。次のステップS9962で読込み数値(
=0)を残高データエリアに書き込むと、このルーチン
を終了する。
[0320] On the other hand, in step S9956 above, “Yes” is determined.
”In other words, even when it is determined that the balance data is not “0”, the read numerical value (≠0) is written in the balance data area in step S9962, and this routine is ended. The reason why the balance data is rewritten even when the balance data is not "0" is that when the discharge in response to the ball lending conversion request is made, the ball lending control device 500 outputs a display drive signal that subtracts the balance data by the amount of conversion. It is from. On the other hand, if it is determined in step S9954 that the read value is "0", the process moves to step S9964 and it is determined whether the balance data is "0". If "Yes" here, that is, the balance data is "0", the routine ends without doing anything; if "No", that is, the balance data is not "0", the process moves to step S9966 and the card discharge flag is set. Set to “1”. Balance data is “0”
”, the read value became “0” (
This is because it can be assumed that the card has been ejected from the card reader 250 in steps S9954 and S9964). This card ejection flag is referred to in the sound request processing routine of FIG. 70, and when it becomes "1", a card ejection sound generation request signal is output to the game board control device 400. After setting the card discharge flag to “1” in step S9966, the zero balance flag is set to “1” in step S9968.
The zero balance flag is a flag that indicates that the balance data is "0" when it is "1", and the read numerical value (=0) is written to the balance data area in the next step S9962. This is to set the balance flag to "1" before that to indicate that the balance data is "0". In the next step S9962, the read numerical value (
=0) in the balance data area, this routine ends.

【0321】次に、玉貸機200にカードが挿入され、
パチンコ遊技機100に設けられた変換ボタン123が
押されて玉貸し要求がなされた場合において、上記玉貸
し制御装置500と排出制御装置600との間で送受信
される信号の具体的なタイミングを図81を用いて説明
する。変換ボタン123が押されると、信号加工装置9
00がこれを検知して変換要求信号Y(パルス)を玉貸
し制御装置500へ送る(タイミングt1)。すると、
玉貸し制御装置500がこれを検知して、排出制御装置
600に対する玉貸し要求信号T(BRQ)をロウレベ
ルにアサートする(タイミングt2)。玉貸し要求信号
T(BRQ)を受信した排出制御装置600は、球排出
装置170が排出可能な状態にあれば、排出ソレノイド
741a,741bの駆動信号および貸し玉排出表示ラ
ンプ113の駆動信号を出力すると共に、遊技盤制御装
置400に対して貸し玉排出音要求信号E(パルス)を
送信し、かつ玉貸し制御装置500に対して供給される
玉貸しイネーブル信号U(PRQ)をロウレベルにアサ
ートする(タイミングt3)。
[0321] Next, the card is inserted into the ball lending machine 200,
The figure shows the specific timing of the signals transmitted and received between the ball lending control device 500 and the discharge control device 600 when the conversion button 123 provided on the pachinko game machine 100 is pressed and a ball lending request is made. This will be explained using 81. When the conversion button 123 is pressed, the signal processing device 9
00 detects this and sends a conversion request signal Y (pulse) to the ball lending control device 500 (timing t1). Then,
The ball lending control device 500 detects this and asserts the ball lending request signal T (BRQ) to the discharge control device 600 to a low level (timing t2). The discharge control device 600 that has received the ball lending request signal T (BRQ) outputs a drive signal for the discharge solenoids 741a and 741b and a drive signal for the ball rental display lamp 113 if the ball discharge device 170 is in a state where it can be discharged. At the same time, it transmits a ball rental sound request signal E (pulse) to the game board control device 400, and asserts the ball rental enable signal U (PRQ) supplied to the ball rental control device 500 to a low level. (timing t3).

【0322】そして、排出制御装置600は、排出セン
サ730a,730bから検出信号を監視して排出数が
25個(100円分)になった時点で排出ソレノイド7
41a,741bの駆動信号および貸し玉排出表示ラン
プ113の駆動信号をオフさせるとともに、玉貸し制御
装置500に対して払出完了信号V(パルス)を、また
ホールの管理装置700に対して25個の貸し玉の排出
を示す排出貸し玉数信号Jを送信する(タイミングt4
)。玉貸し制御装置500は、払出完了信号Vを受信す
るとカード残高の減算を行ない、残高がゼロでなく所定
数の排出も終わっていないと判断すると、上記玉貸し要
求信号Tをそのままロウレベルにアサートさせておく(
タイミングt5)。すると、排出制御装置600は、再
び排出ソレノイド741a,741bの駆動信号および
貸し玉排出表示ランプ113の駆動信号を出力すると共
に、遊技盤制御装置400に対して貸し玉排出音要求信
号E(パルス)を送信する(タイミングt6)。
Then, the discharge control device 600 monitors the detection signals from the discharge sensors 730a and 730b, and when the number of discharges reaches 25 (worth 100 yen), the discharge solenoid 7 is activated.
41a, 741b and the drive signal of the rental ball discharge indicator lamp 113 are turned off, and a payout completion signal V (pulse) is sent to the ball rental control device 500, and 25 signals are sent to the hall management device 700. Transmits the discharged rental ball number signal J indicating the discharge of rental balls (timing t4
). When the ball lending control device 500 receives the payout completion signal V, it subtracts the card balance, and if it determines that the balance is not zero and the predetermined number of balls have not been discharged, it asserts the ball lending request signal T to a low level as it is. Keep it (
timing t5). Then, the discharge control device 600 again outputs a drive signal for the discharge solenoids 741a and 741b and a drive signal for the rental ball discharge display lamp 113, and also outputs a rental ball discharge sound request signal E (pulse) to the game board control device 400. (timing t6).

【0323】そして、排出数が25個(100円分)に
なった時点で排出ソレノイド741a,741bの駆動
信号および貸し玉排出表示ランプ113の駆動信号をオ
フさせるとともに、玉貸し制御装置500に対して払出
完了信号V(パルス)を、またホールの管理装置700
に対して排出貸し玉数信号Jを送信する(タイミングt
7)。玉貸し制御装置500は、残高がゼロになるか所
定数の排出が終わったと判断すると、玉貸し要求信号T
をハイレベルにネゲートする(タイミングt8)。する
と、排出制御装置600は玉貸し制御装置500に対し
て供給される玉貸しイネーブル信号Uをハイレベルにネ
ゲートして玉貸し排出処理を終了する。自動変換モード
に設定された信号加工装置900が、玉不足検出器13
1および玉保有検出器132からの信号に基づいて自ら
の判断で変換要求信号Yを玉貸し制御装置500へ送っ
た場合にも、同様な信号のやり取りが行なわれる。
[0323] Then, when the number of balls to be discharged reaches 25 (worth 100 yen), the drive signals for the discharge solenoids 741a and 741b and the drive signal for the ball rental display lamp 113 are turned off, and the ball rental control device 500 is The payout completion signal V (pulse) is sent to the hall management device 700.
transmits the discharged ball rental number signal J to (timing t
7). When the ball lending control device 500 determines that the balance becomes zero or that a predetermined number of balls have been discharged, the ball lending control device 500 issues a ball lending request signal T.
is negated to a high level (timing t8). Then, the discharge control device 600 negates the ball rental enable signal U supplied to the ball rental control device 500 to a high level, and ends the ball rental discharge process. The signal processing device 900 set to automatic conversion mode detects the ball shortage detector 13.
Similar signal exchange occurs when the player sends the conversion request signal Y to the ball lending control device 500 based on signals from the player 1 and the ball possession detector 132.

【0324】なお上記実施例では、供給皿から打球発射
部までの誘導路の途中に設けられた玉検出器から信号に
基づいて玉不足を検出した場合に玉貸機に対して貸し玉
への変換要求信号を送信する自動追加変換機能とその制
限機能を信号加工装置900に設けているが、上記玉検
出器(131,132)からの信号を排出制御装置60
0に入れ、上記自動追加変換機能とその制限機能を排出
制御装置600に持たせておくようにすることも可能で
ある。また上記実施例では、貸し玉への変換ボタン12
3や返却ボタン124、残高表示器122等が供給皿1
21の上面に設けられているが、これらの位置は供給皿
に限定されず、パチンコ遊技機の前面の任意の位置に設
けることができる。
[0324] In the above embodiment, when a ball shortage is detected based on the signal from the ball detector installed in the middle of the guide path from the supply tray to the batted ball ejecting section, the ball rental machine sends the ball to the rental ball. The signal processing device 900 is provided with an automatic additional conversion function for transmitting a conversion request signal and its restriction function.
0, so that the emission control device 600 has the automatic additional conversion function and its restriction function. In addition, in the above embodiment, the conversion button 12 to rental balls
3, return button 124, balance display 122, etc. are the supply tray 1.
However, these positions are not limited to the supply tray, and can be provided at any position on the front surface of the pachinko game machine.

【0325】0325]

【発明の効果】以上説明したように本発明は、供給皿か
ら打球発射部までの誘導路の途中に玉検出器を配置する
とともに、制御装置には上記検出器により玉不足を検出
した場合に玉貸機に対して貸し玉への変換要求信号を送
信する自動追加変換機能を設けるように構成したので、
供給皿から打球発射部までの誘導路の途中に玉がなくな
ると自動的に玉貸機に対して貸し玉への変換要求信号が
送信されるため、遊技者はいちいち変換ボタンを押す必
要がなくなり、遊技の煩わしさを少なくすることができ
るという効果がある。また、供給皿の上流側にも第2の
玉検出器を設けて、上記玉不足検出器により玉不足を検
出したとしても第2の検出器が玉の存在を検出している
ときは上記貸し玉への変換要求信号を発生させないよう
にしたので、供給皿の途中で玉詰まりが生じたり遊技中
に誤って変換ボタンを押してしまったような場合には玉
貸機に対して貸し玉への変換要求信号が送信されること
がない。さらに、大当りのような遊技状態が発生したと
きには上記自動追加変換機能が無効にさせるようにした
ので、多量の賞品玉が発生して供給皿の玉抜きを行なっ
た際に玉不足検出信号が発生しても変換要求信号が送信
されることがなく、自動追加変換機能の採用に伴う不具
合を回避することができるという効果がある。
Effects of the Invention As explained above, the present invention includes a ball detector disposed in the middle of the guide path from the supply tray to the batted ball launcher, and a control device that detects a lack of balls by the detector. Since the system is configured to have an automatic additional conversion function that sends a conversion request signal to the ball rental machine to the ball rental machine,
When there are no balls on the guide path from the supply tray to the ball launcher, a signal is automatically sent to the ball rental machine to request conversion to rental balls, eliminating the need for players to press the conversion button each time. This has the effect of making the game less troublesome. In addition, a second ball detector is provided on the upstream side of the supply tray, and even if the ball shortage detector detects a ball shortage, when the second detector detects the presence of balls, the above-mentioned rental Since the signal to request conversion to balls is not generated, if a ball jams in the middle of the supply tray or if the conversion button is pressed by mistake during a game, the ball lending machine will send a request signal to the rental ball. No conversion request signal is sent. Furthermore, when a gaming state such as a jackpot occurs, the automatic addition conversion function is disabled, so when a large number of prize balls are generated and the balls are removed from the supply tray, a ball shortage detection signal is generated. Even if the automatic additional conversion function is adopted, no conversion request signal is transmitted, and problems associated with the adoption of the automatic additional conversion function can be avoided.

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

【図1】本発明に係るカード式パチンコ遊技システムの
一実施例を示す斜視図である。
FIG. 1 is a perspective view showing an embodiment of a card-type pachinko gaming system according to the present invention.

【図2】パチンコ遊技機100の裏機構の構成例を示す
背面図である。
FIG. 2 is a rear view showing an example of the configuration of the back mechanism of the pachinko gaming machine 100.

【図3】球排出装置170の一実施例を示す断面正面図
である。
FIG. 3 is a cross-sectional front view showing one embodiment of a ball ejecting device 170.

【図4】パチンコ遊技機100および玉貸機200の制
御系の一実施例を示すブロック図である。
FIG. 4 is a block diagram showing an embodiment of the control system of the pachinko gaming machine 100 and the ball rental machine 200.

【図5】遊技盤制御装置400の具体的構成例を示すブ
ロック図である。
FIG. 5 is a block diagram showing a specific example of the configuration of a game board control device 400.

【図6】音声出力手段450の構成例を示すブロック図
である。
FIG. 6 is a block diagram showing a configuration example of audio output means 450.

【図7】排出制御装置600の構成例を示すブロック図
である。
FIG. 7 is a block diagram showing a configuration example of an emission control device 600.

【図8】排出制御装置600の制御部610の構成例を
示すブロック図である。
FIG. 8 is a block diagram showing a configuration example of a control section 610 of the emission control device 600.

【図9】排出制御装置600の停電制御部619の構成
例を示すブロック図である。
FIG. 9 is a block diagram showing a configuration example of a power outage control section 619 of the emission control device 600.

【図10】玉貸し制御装置500の構成例を示すブロッ
ク図である。
FIG. 10 is a block diagram showing a configuration example of a ball lending control device 500.

【図11】玉貸し制御装置500の制御部510の具体
的構成例を示すブロック図である。
FIG. 11 is a block diagram showing a specific configuration example of a control unit 510 of the ball lending control device 500.

【図12】信号加工装置900の構成例を示すブロック
図である。
FIG. 12 is a block diagram showing a configuration example of a signal processing device 900.

【図13】カード情報制御手段910の具体的構成例を
示すブロック図である。
FIG. 13 is a block diagram showing a specific configuration example of card information control means 910.

【図14】玉貸し要求制御手段930の具体的構成例を
示すブロック図である。
FIG. 14 is a block diagram showing a specific configuration example of ball lending request control means 930.

【図15】排出制御装置600によるのバックグランド
制御処理のメインルーチンの一例を示すフローチャート
である。
FIG. 15 is a flowchart showing an example of a main routine of background control processing by the emission control device 600.

【図16】排出制御装置600によって所定時間(例え
ば0.5msec)経過毎に行なわれるタイマ割込処理
の手順の一例を示すフローチャートである。
FIG. 16 is a flowchart showing an example of a timer interrupt processing procedure performed by the emission control device 600 every predetermined period of time (for example, 0.5 msec).

【図17】玉貸しリクエスト検出処理ルーチンのフロー
チャートである。
FIG. 17 is a flowchart of a ball lending request detection processing routine.

【図18】賞球データ検出処理ルーチンのフローチャー
トである。
FIG. 18 is a flowchart of a prize ball data detection processing routine.

【図19】枠センサ入力処理ルーチンのフローチャート
である。
FIG. 19 is a flowchart of a frame sensor input processing routine.

【図20】排出センサ1の入力処理ルーチンのフローチ
ャートである。
FIG. 20 is a flowchart of an input processing routine for the discharge sensor 1.

【図21】排出センサ2の入力処理ルーチンのフローチ
ャートである。
FIG. 21 is a flowchart of an input processing routine for the discharge sensor 2.

【図22】排出センサ1のレベル入力処理のルーチンを
示すフローチャートである。
FIG. 22 is a flowchart showing a routine for level input processing of the discharge sensor 1.

【図23】排出センサ2のレベル入力処理のルーチンを
示すフローチャートである。
FIG. 23 is a flowchart showing a routine for level input processing of the discharge sensor 2;

【図24】球抜センサ750の入力処理ルーチンのフロ
ーチャートである。
FIG. 24 is a flowchart of an input processing routine of the ball removal sensor 750.

【図25】補給センサ106の入力処理のサブルーチン
を示すフローチャートである。
FIG. 25 is a flowchart showing a subroutine of input processing of the replenishment sensor 106.

【図26】オーバーフロー検出器104の入力処理のサ
ブルーチンを示すフローチャートである。
FIG. 26 is a flowchart showing a subroutine of input processing of the overflow detector 104.

【図27】待機球検出器160(半端センサ)の入力処
理のルーチンを示すフローチャートである。
FIG. 27 is a flowchart showing an input processing routine of the standby ball detector 160 (half-shot sensor).

【図28】アウトセンサ107の出力信号の入力処理ル
ーチンのフローチャートである。
FIG. 28 is a flowchart of an input processing routine for the output signal of the out sensor 107.

【図29】停電割込み処理の具体的手順の一例を示すフ
ローチャートである。
FIG. 29 is a flowchart illustrating an example of a specific procedure of power failure interrupt processing.

【図30】図15のメイン処理フロー中で行なわれる排
出装置不正監視処理S3の具体的手順の一例を示すフロ
ーチャートである。
FIG. 30 is a flowchart showing an example of a specific procedure of the discharge device fraud monitoring process S3 performed in the main process flow of FIG. 15;

【図31】排出装置不正解除処理S14の具体的手順の
一例を示すフローチャートである。
FIG. 31 is a flowchart showing an example of a specific procedure of the ejection device unauthorized release process S14.

【図32】賞球排出制御装置のメインルーチン(図15
)のステップS19で実行される賞球開始処理のサブル
ーチンを示すフローチャートである。
[Figure 32] Main routine of prize ball discharge control device (Figure 15)
) is a flowchart showing a subroutine of the prize ball start process executed in step S19.

【図33】上記賞球開始処理(図32)のステップS9
0で実行される排出開始処理のサブルーチンを示すフロ
ーチャートである。
[FIG. 33] Step S9 of the prize ball start process (FIG. 32)
3 is a flowchart showing a subroutine of a discharge start process executed in step 0.

【図34】上記排出開始処理(図33)のステップS1
24にて実行される排出数分割処理のサブルーチンを示
すフローチャートである。
FIG. 34: Step S1 of the discharge start process (FIG. 33)
24 is a flowchart showing a subroutine of the discharge number division process executed in step 24.

【図35】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図15)のステップS18
において実行される賞球排出処理のサブルーチンを示す
フローチャートである。
[Fig. 35] Step S18 of the main routine (Fig. 15) executed by the CPU 610 on the prize ball discharge control device side
It is a flowchart which shows the subroutine of the prize ball discharge process performed in .

【図36】上記賞球排出処理(図35)のステップS2
04にて行われる排出処理のサブルーチンを示すフロー
チャートである。
[Figure 36] Step S2 of the prize ball ejection process (Figure 35)
3 is a flowchart showing a subroutine of discharge processing performed in step 04.

【図37】上記排出処理(図36)のステップS232
にて行われる1個排出処理のサブルーチンを示すフロー
チャートである。
FIG. 37: Step S232 of the discharge process (FIG. 36)
3 is a flowchart showing a subroutine of one-piece discharge processing performed in FIG.

【図38】上記排出処理(図36)のステップS234
にて行われる交互排出処理のサブルーチンを示すフロー
チャートである。
FIG. 38: Step S234 of the discharge process (FIG. 36)
3 is a flowchart showing a subroutine of alternate discharge processing performed in FIG.

【図39】上記排出処理(図36)のステップS236
にて行われる併用排出処理のサブルーチンを示すフロー
チャートである。
FIG. 39: Step S236 of the discharge process (FIG. 36)
3 is a flowchart showing a subroutine of a combined discharge process performed in FIG.

【図40】上記排出処理(図36)のステップS252
にて行われる排出エラー回復処理のサブルーチンを示す
フローチャートである。
FIG. 40: Step S252 of the discharge process (FIG. 36)
3 is a flowchart showing a subroutine of ejection error recovery processing performed in FIG.

【図41】賞球排出制御装置のメインルーチン(図15
)のステップS21で実行される玉貸開始処理のサブル
ーチンを示すフローチャートである。
[Figure 41] Main routine of prize ball discharge control device (Figure 15)
) is a flowchart showing a subroutine of ball lending start processing executed in step S21.

【図42】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図15)のステップS17
において実行される玉貸排出処理のサブルーチンを示す
フローチャートである。
FIG. 42 Step S17 of the main routine (FIG. 15) executed by the CPU 610 on the prize ball discharge control device side
It is a flowchart which shows the subroutine of the ball loan discharge process performed in .

【図43】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図15)のステップS16
において実行される玉抜処理のサブルーチンの一部を示
すフローチャートである。
FIG. 43 Step S16 of the main routine (FIG. 15) executed by the CPU 610 on the prize ball discharge control device side
It is a flowchart which shows a part of subroutine of the ball removal process performed in .

【図44】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図15)のステップS16
において実行される玉抜処理のサブルーチンの一部を示
すフローチャートである。
FIG. 44 Step S16 of the main routine (FIG. 15) executed by the CPU 610 on the prize ball discharge control device side
It is a flowchart which shows a part of subroutine of the ball removal process performed in .

【図45】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図15)のステップS16
において実行される玉抜処理のサブルーチンの一部を示
すフローチャートである。
FIG. 45 Step S16 of the main routine (FIG. 15) executed by the CPU 610 on the prize ball discharge control device side
It is a flowchart which shows a part of subroutine of the ball removal process performed in .

【図46】図15のメイン処理フロー中のステップS2
3で行なわれる補給処理の具体的手順の一例を示すフロ
ーチャートである。
FIG. 46: Step S2 in the main processing flow of FIG. 15
3 is a flowchart showing an example of a specific procedure of replenishment processing performed in step 3;

【図47】図15のメイン処理フロー中のステップS2
4で行なわれる情報出力処理の具体的内容を示すフロー
チャートである。
FIG. 47: Step S2 in the main processing flow of FIG. 15
4 is a flowchart showing specific details of the information output processing performed in step 4. FIG.

【図48】上記情報出力処理フロー中における貸し玉情
報出力処理S800の具体的手順の一例を示すフローチ
ャートである。
FIG. 48 is a flowchart showing an example of a specific procedure of ball rental information output processing S800 in the above information output processing flow.

【図49】上記情報出力処理フロー中における音要求出
力処理S850の具体的手順の一例を示す。
FIG. 49 shows an example of a specific procedure of sound request output processing S850 in the above information output processing flow.

【図50】上記情報出力処理フロー中におけるホールの
管理装置700に対する上記賞球情報出力処理S900
の具体的手順の一例を示すフローチャートである。
FIG. 50: The prize ball information output process S900 to the hall management device 700 during the information output process flow.
2 is a flowchart showing an example of a specific procedure.

【図51】上記情報出力処理(図47)フロー中におけ
る上記遊技台情報出力処理S950の具体的手順の一例
を示すフローチャートである。
FIG. 51 is a flowchart showing an example of a specific procedure of the game machine information output process S950 in the flow of the information output process (FIG. 47).

【図52】上記情報出力処理(図47)フロー中におけ
る上記エラー情報出力処理S990の具体的手順の一例
を示すフローチャートである。
FIG. 52 is a flowchart showing an example of a specific procedure of the error information output process S990 in the flow of the information output process (FIG. 47).

【図53】図15のメイン処理フロー中のステップS1
5で行なわれる停電回復処理の具体的手順の一例を示す
フローチャートである。
[Fig. 53] Step S1 in the main processing flow of Fig. 15
5 is a flowchart showing an example of a specific procedure of the power failure recovery process performed in step 5.

【図54】玉貸し制御装置のメインルーチンの概略を示
すフローチャートである。を示すフローチャートである
FIG. 54 is a flowchart showing an outline of the main routine of the ball lending control device. It is a flowchart which shows.

【図55】上記メインルーチン(図54)のステップS
8008で実行されるカード挿入処理の具体的手順の一
例を示すフローチャートである。
[Figure 55] Step S of the above main routine (Figure 54)
80 is a flowchart illustrating an example of a specific procedure of card insertion processing executed in step 8008. FIG.

【図56】上記メインルーチン(図54)のステップS
8020で実行される玉貸要求処理の具体的手順の一例
を示すフローチャートである。
[Figure 56] Step S of the above main routine (Figure 54)
It is a flowchart which shows an example of the specific procedure of the ball lending request process performed in 8020.

【図57】図57には、上記メインルーチン(図54)
のステップS8020で実行される玉貸要求処理の具体
的手順の一例を示すフローチャートである。
[Fig. 57] Fig. 57 shows the above main routine (Fig. 54).
It is a flowchart which shows an example of the specific procedure of the ball lending request process performed in step S8020.

【図58】上記メインルーチン(図54)のステップS
8024で実行されるカード返却処理の具体的手順の一
例を示すフローチャートである。
[Figure 58] Step S of the above main routine (Figure 54)
80 is a flowchart showing an example of a specific procedure of card return processing executed in step 8024.

【図59】上記メインルーチン(図54)のステップS
8010で実行される表示処理の具体的手順の一例を示
すフローチャートである。
[Figure 59] Step S of the above main routine (Figure 54)
80 is a flowchart illustrating an example of a specific procedure of display processing executed in step 8010.

【図60】上記メインルーチン(図54)のステップS
8012で実行される情報送信処理の具体的手順の一例
を示すフローチャートである。
[Fig. 60] Step S of the above main routine (Fig. 54)
80 is a flowchart illustrating an example of a specific procedure of information transmission processing executed in step 8012.

【図61】図54のメインルーチン(バックグランド処
理)に優先して玉貸し制御装置500によって所定時間
(例えば0.5msec)経過毎に行なわれるタイマ割
込処理の手順を示すフローチャートである。
61 is a flowchart showing the procedure of timer interrupt processing performed by the ball lending control device 500 every predetermined period of time (for example, 0.5 msec) in priority to the main routine (background processing) of FIG. 54; FIG.

【図62】割込処理(図61)の前記ステップS850
4にて行なわれる玉貸SW入力処理ルーチンを示すフロ
ーチャートである。
FIG. 62: Step S850 of interrupt processing (FIG. 61)
4 is a flowchart showing a ball lending SW input processing routine performed in step 4.

【図63】割込処理(図61)の前記ステップS850
6にて行なわれる返却SW入力処理ルーチンを示すフロ
ーチャートである。
FIG. 63: Step S850 of interrupt processing (FIG. 61)
6 is a flowchart showing a return SW input processing routine performed in step 6.

【図64】割込処理(図61)の前記ステップS850
8にて行なわれる排出完了信号受信処理ルーチンを示す
フローチャートである。
FIG. 64: Step S850 of interrupt processing (FIG. 61)
8 is a flowchart showing a discharge completion signal reception processing routine performed in step 8.

【図65】図61に示す割込処理のステップS8510
にて行なわれる玉貸イネーブル信号Uを読み込むための
玉貸イネーブル受信処理のサブルーチンを示すフローチ
ャートである。
FIG. 65: Step S8510 of interrupt processing shown in FIG. 61.
12 is a flowchart showing a subroutine of a ball lending enable reception process for reading a ball lending enable signal U, which is carried out in FIG.

【図66】上記信号加工装置900のメインルーチンの
概略を示すフローチャートである。
FIG. 66 is a flowchart showing an outline of the main routine of the signal processing device 900.

【図67】上記メインルーチン(図66)のステップS
9004で実行される返却要求処理の具体的手順の一例
を示すフローチャートである。
[Figure 67] Step S of the above main routine (Figure 66)
9 is a flowchart illustrating an example of a specific procedure of return request processing executed in step 9004;

【図68】上記メインルーチン(図66)のステップS
9006で実行される変換要求処理の具体的手順の一例
を示すフローチャートである。
[Figure 68] Step S of the above main routine (Figure 66)
9 is a flowchart illustrating an example of a specific procedure of conversion request processing executed in step 9006;

【図69】上記メインルーチン(図66)のステップS
9008で実行される表示処理の具体的手順の一例を示
すフローチャートである。
[Figure 69] Step S of the above main routine (Figure 66)
9 is a flowchart illustrating an example of a specific procedure of display processing executed in step 9008;

【図70】上記メインルーチン(図66)のステップS
9010で実行される音声要求処理の具体的手順の一例
を示すフローチャートである。
[Figure 70] Step S of the above main routine (Figure 66)
9 is a flowchart illustrating an example of a specific procedure of voice request processing executed in step 9010;

【図71】上記メインルーチン(図66)のステップS
9012で実行される信号送信処理の具体的手順の一例
を示すフローチャートである。
[Figure 71] Step S of the above main routine (Figure 66)
9 is a flowchart illustrating an example of a specific procedure of signal transmission processing executed in step 9012;

【図72】図66のメインルーチン(バックグランド処
理)に優先して上記信号加工装置900によって所定時
間(例えば0.5msec)経過毎に行なわれるタイマ
割込処理の手順を示すフローチャートである。
72 is a flowchart showing the procedure of timer interrupt processing performed by the signal processing device 900 every predetermined period of time (for example, 0.5 msec) in priority to the main routine (background processing) of FIG. 66; FIG.

【図73】上記割込処理(図72)のステップS930
4にて行なわれる変換SW入力処理ルーチンを示すフロ
ーチャートである。
FIG. 73: Step S930 of the above interrupt processing (FIG. 72)
4 is a flowchart showing a conversion SW input processing routine performed in step 4.

【図74】上記割込処理(図72)のステップS930
6にて行なわれる返却SW入力処理ルーチンを示すフロ
ーチャートである。
[FIG. 74] Step S930 of the above interrupt processing (FIG. 72)
6 is a flowchart showing a return SW input processing routine performed in step 6.

【図75】図72に示す割込処理のステップS9308
にて行なわれる自動変換切換スイッチ(127)の入力
処理のサブルーチンを示すフローチャートである。
75] Step S9308 of interrupt processing shown in FIG. 72
12 is a flowchart showing a subroutine of the input processing of the automatic conversion changeover switch (127) performed in FIG.

【図76】割込処理(図72)のステップS9310に
て行なわれる玉不足検出器131の入力処理のルーチン
を示すフローチャートである。
FIG. 76 is a flowchart showing the input processing routine of the ball shortage detector 131 performed in step S9310 of the interrupt processing (FIG. 72).

【図77】割込処理(図72)のステップS9312に
て行なわれる玉保有検出器132の入力処理のルーチン
を示すフローチャートである。
FIG. 77 is a flowchart showing the input processing routine of the ball possession detector 132 performed in step S9312 of the interrupt processing (FIG. 72).

【図78】割込処理(図72)のステップS9314に
て行なわれる打止信号Wの入力処理のルーチンを示すフ
ローチャートである。
FIG. 78 is a flowchart showing a routine of input processing of a stop signal W performed in step S9314 of the interrupt processing (FIG. 72).

【図79】割込処理(図72)のステップS9316に
て行なわれる大当り信号Pの入力処理のルーチンを示す
フローチャートである。
FIG. 79 is a flowchart showing a routine for input processing of the jackpot signal P performed in step S9316 of the interrupt processing (FIG. 72).

【図80】割込処理(図72)のステップS9318に
て行なわれる残高表示駆動信号Xの入力処理のルーチン
を示すフローチャートである。
FIG. 80 is a flowchart showing a routine for input processing of balance display drive signal X performed in step S9318 of interrupt processing (FIG. 72).

【図81】上記玉貸し制御装置500と排出制御装置6
00との間で送受信される信号の具体的なタイミングを
示すタイムチャートである。
[Fig. 81] The ball rental control device 500 and the discharge control device 6
FIG.

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

100  パチンコ遊技機 121  供給皿 122  残高表示器 123  玉貸し変換ボタン 124  返却ボタン 125  玉数表示器 131  玉不足検出器 132  玉保有検出器 200  玉貸し機 211  カード挿排口 220  挿入残高表示器 230  有効表示ランプ 400  遊技盤制御装置 500  玉貸し制御装置 600  排出制御装置 700  ホール管理装置 800  カード管理装置 900  信号加工装置 100 Pachinko machine 121 Supply tray 122 Balance display 123 Ball rental conversion button 124 Return button 125 Ball number indicator 131 Ball shortage detector 132 Ball possession detector 200 Ball rental machine 211 Card insertion/ejection port 220 Insert balance display 230 Valid indicator lamp 400 Game board control device 500 Ball rental control device 600 Emission control device 700 Hall management device 800 Card management device 900 Signal processing equipment

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  任意の数の遊技球を排出可能な球排出
装置を備えたパチンコ遊技機と、カードリーダを内蔵し
、上記パチンコ遊技機と一対一で対応された玉貸機とか
らなり、上記パチンコ遊技機もしくは玉貸機に設けられ
た変換指令手段からの信号に基づいて上記カードリーダ
に挿入されたカードの金額データを玉数データに変換し
てその玉数データに応じた数の遊技球を上記球排出装置
よりパチンコ遊技機の供給皿に直接排出可能に構成され
てなるカード式パチンコ遊技システムにおいて、上記供
給皿には1または2以上の遊技球検出手段を設けるとと
もに、上記検出手段からの信号に基づいて供給皿上の遊
技球が減少したことを認知して上記カードの金額データ
の一部を玉数データに変換してその玉数データに応じた
数の遊技球を上記球排出装置より排出させる自動追加変
換機能を有する制御手段を設けてなることを特徴とする
カード式パチンコ遊技システム。
[Claim 1] Consisting of a pachinko game machine equipped with a ball ejecting device capable of ejecting an arbitrary number of game balls, and a ball lending machine that has a built-in card reader and is in one-to-one correspondence with the pachinko game machine, The amount data of the card inserted into the card reader is converted into ball number data based on a signal from the conversion command means provided in the pachinko game machine or ball rental machine, and the number of games corresponding to the ball number data is played. In a card-type pachinko gaming system configured to be able to directly discharge balls from the ball ejecting device to a supply tray of a pachinko game machine, the supply tray is provided with one or more game ball detection means, and the detection means is provided with one or more game ball detection means. It recognizes that the number of game balls on the supply tray has decreased based on the signal from the card, converts a part of the amount data of the card into number data, and distributes the number of game balls according to the number of balls data to the above ball. A card-type pachinko game system characterized by being provided with a control means having an automatic additional conversion function for ejecting the card from the ejecting device.
【請求項2】  上記遊技球検出手段からの信号もしく
は遊技の制御装置からの状態信号に基づいて、所定の条
件の下では上記制御手段による自動追加変換機能を制限
もしくは解除するように構成してなることを特徴とする
請求項1記載のカード式パチンコ遊技システム。
2. The automatic additional conversion function by the control means is configured to be restricted or canceled under predetermined conditions based on a signal from the game ball detection means or a status signal from a game control device. The card-type pachinko game system according to claim 1, characterized in that:
【請求項3】  上記制御手段による自動追加変換機能
の有効/無効を外部より指定するための指示手段を備え
てなることを特徴とする請求項2記載のカード式パチン
コ遊技システム。
3. The card-type pachinko game system according to claim 2, further comprising instruction means for externally specifying whether or not the automatic addition/conversion function by the control means is enabled/disabled.
JP12525291A 1991-04-26 1991-04-26 Gaming machine Expired - Lifetime JP2954383B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12525291A JP2954383B2 (en) 1991-04-26 1991-04-26 Gaming machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12525291A JP2954383B2 (en) 1991-04-26 1991-04-26 Gaming machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP11684798A Division JPH10290873A (en) 1998-04-27 1998-04-27 Ball rent processing device

Publications (2)

Publication Number Publication Date
JPH04327873A true JPH04327873A (en) 1992-11-17
JP2954383B2 JP2954383B2 (en) 1999-09-27

Family

ID=14905517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12525291A Expired - Lifetime JP2954383B2 (en) 1991-04-26 1991-04-26 Gaming machine

Country Status (1)

Country Link
JP (1) JP2954383B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07185118A (en) * 1993-12-28 1995-07-25 Oizumi Corp Lending machine with counting function and game table equipped with the same
JP2001129161A (en) * 1999-11-09 2001-05-15 Daiman:Kk Game machine
JP2010201230A (en) * 2010-06-22 2010-09-16 Sankyo Co Ltd Game machine
JP2010201231A (en) * 2010-06-22 2010-09-16 Sankyo Co Ltd Game machine
US8241132B2 (en) 2008-01-29 2012-08-14 Aristocrat Technologies Australia Pty Limited Gaming system and a method of managing usage of gaming machines

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07185118A (en) * 1993-12-28 1995-07-25 Oizumi Corp Lending machine with counting function and game table equipped with the same
JP2001129161A (en) * 1999-11-09 2001-05-15 Daiman:Kk Game machine
US8241132B2 (en) 2008-01-29 2012-08-14 Aristocrat Technologies Australia Pty Limited Gaming system and a method of managing usage of gaming machines
JP2010201230A (en) * 2010-06-22 2010-09-16 Sankyo Co Ltd Game machine
JP2010201231A (en) * 2010-06-22 2010-09-16 Sankyo Co Ltd Game machine

Also Published As

Publication number Publication date
JP2954383B2 (en) 1999-09-27

Similar Documents

Publication Publication Date Title
JP2954384B2 (en) Gaming machine
JP7045495B2 (en) Pachinko machine
JP2021112621A (en) Game machine
JPH04327873A (en) Card type pinball machine game system
JPH05103866A (en) Discharge control method for game ball
JP2021112619A (en) Game machine
JP3624342B2 (en) Card game machine
JPH04343877A (en) Card type pachinko game machine
JPH10290874A (en) Game machine
JPH10290873A (en) Ball rent processing device
JP3663596B2 (en) Card type pachinko game machine
JPH04343876A (en) Card type pachinko game machine
JPH04343875A (en) Card type pachinko game machine
JPH10272251A (en) Ball lending processor
JPH04357980A (en) Discharge control system in card type pinball game system
JP7098015B2 (en) Pachinko machine
JP7092605B2 (en) Pachinko machine
JP6999494B2 (en) Pachinko machine
JP6999497B2 (en) Pachinko machine
JP2021112618A (en) Game machine
JP6821500B2 (en) Game machine
JP6821501B2 (en) Game machine
JP6794060B2 (en) Game machine
JP7092600B2 (en) Pachinko machine
JP7092603B2 (en) Pachinko machine