JP2964177B2 - Card-type gaming machine - Google Patents
Card-type gaming machineInfo
- Publication number
- JP2964177B2 JP2964177B2 JP14558191A JP14558191A JP2964177B2 JP 2964177 B2 JP2964177 B2 JP 2964177B2 JP 14558191 A JP14558191 A JP 14558191A JP 14558191 A JP14558191 A JP 14558191A JP 2964177 B2 JP2964177 B2 JP 2964177B2
- Authority
- JP
- Japan
- Prior art keywords
- discharge
- ball
- flag
- sensor
- routine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 claims description 78
- 238000007599 discharging Methods 0.000 claims description 58
- 238000006243 chemical reaction Methods 0.000 claims description 43
- 230000004044 response Effects 0.000 claims description 28
- 238000012546 transfer Methods 0.000 claims description 2
- 238000000034 method Methods 0.000 description 441
- 230000008569 process Effects 0.000 description 391
- 238000012545 processing Methods 0.000 description 241
- 230000008859 change Effects 0.000 description 85
- 230000006870 function Effects 0.000 description 56
- 238000012544 monitoring process Methods 0.000 description 56
- 238000003860 storage Methods 0.000 description 43
- 238000001514 detection method Methods 0.000 description 33
- 238000007726 management method Methods 0.000 description 27
- 230000000630 rising effect Effects 0.000 description 27
- 238000000605 extraction Methods 0.000 description 21
- 238000011084 recovery Methods 0.000 description 16
- 238000009434 installation Methods 0.000 description 13
- 230000005856 abnormality Effects 0.000 description 8
- 238000012790 confirmation Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000003780 insertion Methods 0.000 description 7
- 230000037431 insertion Effects 0.000 description 7
- 230000005764 inhibitory process Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 230000005284 excitation Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 230000002265 prevention Effects 0.000 description 3
- 238000000926 separation method Methods 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 230000000295 complement effect Effects 0.000 description 2
- 230000000881 depressing effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 238000004080 punching Methods 0.000 description 2
- 125000004079 stearyl group Chemical group [H]C([*])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])C([H])([H])[H] 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000994 depressogenic effect Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- QIQXTHQIDYTFRH-UHFFFAOYSA-N octadecanoic acid Chemical compound CCCCCCCCCCCCCCCCCC(O)=O QIQXTHQIDYTFRH-UHFFFAOYSA-N 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Landscapes
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
- Pinball Game Machines (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は所要の数の遊技球を排出
可能な球排出装置を有し、有価データが記憶されたカー
ドの有価データを読取可能であり且つ球排出装置と一対
一に対応して配設されるカードリーダに挿入されたカー
ドの有価データの範囲内において当該有価データを所定
の貸し球数に変換し上記球排出装置より排出された貸し
球を前面の供給皿に直接排出可能に構成されてなるカー
ド式遊技機に関する。 The present invention discharges a required number of game balls.
Car with a possible ball discharge device and stored valuable data
Can read the valuable data of the ball and paired with the ball discharge device
The card inserted into the card reader that is installed corresponding to
Within the range of valuable data
Lending converted into the number of lending balls and discharged from the ball discharging device
A car that can discharge balls directly to the supply tray on the front
Related to gaming machines.
【0002】[0002]
【従来の技術】近年、磁気カードを媒介として遊技を行
なうようにしたカード遊技機としてのカード式パチンコ
遊技システムが提唱されている。カード方式は、遊技客
が記憶媒体であるカードのみを持ち歩けばよく、落下し
易いパチンコ球を大量に持ち運ぶ手間を軽減することが
できるという利点がある。従来提案されているカード式
パチンコ遊技システムには、大きく分けると次の2つの
方式がある。第1の方式は、カードの発行に際して購入
金額に対応した持玉数データをカードに記憶し、この持
玉数データの範囲内でパチンコ遊技を行ない、遊技過程
において増減した持玉数データをカードに記憶するとい
うものである(特公昭47−42227号参照)。2. Description of the Related Art In recent years, a card-type pachinko game system has been proposed as a card game machine which performs a game using a magnetic card as a medium. The card method has the advantage that the player only needs to carry the card, which is a storage medium, and can reduce the burden of carrying a large number of pachinko balls that are easy to fall. Conventionally proposed card-type pachinko gaming systems are roughly divided into the following two types. The first method is to store the number-of-balls data corresponding to the purchase amount at the time of issuance of a card in a card, play a pachinko game within the range of the number-of-balls data, and store the number-of-balls data increased or decreased in the game process on the card. (See JP-B-47-42227).
【0003】カード方式の第2の方式は、カードの購入
の際にコード番号だけを記録したカードを発行し、持玉
数は集中管理装置に記憶し、カードをパチンコ機のカー
ド読取装置に挿入することによって記憶された持玉数を
呼び出して遊技を行なえるようにするものである(実公
昭61−32709号、特公昭51−17106号参
照)。しかしながら、従来のカード式遊技システムはい
ずれの方式にあっても、カードによる遊技が可能にされ
るのはカードを発行した遊技店のみであり、他の遊技店
で発行されたカードでは遊技が行なえないようになって
いた。また、発行されたカードが有効とされるのは発行
当日のみであった。そこで、他の遊技店で発行されたカ
ードでも使用でき、しかも有効期限の制約を受けずに使
用できるようにした共通プリペードカード方式の遊技シ
ステムも一部で実用化されている。[0003] In the second type of card system, when a card is purchased, a card in which only a code number is recorded is issued, the number of possessed balls is stored in a central control device, and the card is inserted into a card reader of a pachinko machine. By doing so, the stored number of balls can be called to play the game (see Japanese Utility Model Publication No. Sho 61-32709 and Japanese Patent Publication No. Sho 51-17106). However, in any of the conventional card-type gaming systems, the game using the card can be performed only at the game store that issued the card, and the card cannot be played with the card issued at another game store. Was not there. Also, the issued card was valid only on the day of issuance. Therefore, some common prepaid card-type gaming systems that can be used with cards issued by other gaming arcades and that can be used without being restricted by the expiration date have been put to practical use.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、このよ
うな共通プリペードカード方式を採用すると、遊技者に
とっては一旦カードを購入してカードを玉貸機に入れて
貸し玉に変換してからでないと遊技を開始できないた
め、従来に比べてカードを購入する行為が増えた分だけ
余計な手間がかかるという問題点があった。そこで、パ
チンコ遊技機とパチンコ遊技機との間に配置される玉貸
機にカードリーダを設け、パチンコ遊技機の操作パネル
に設けられたスイッチボタンからの指令によりカード残
金の一部を貸し玉に変換して、パチンコ遊技機に設けら
れた球排出装置を使って貸し玉を直接パチンコ遊技機の
供給皿に排出させるようにして玉貸し変換操作の煩わし
さを軽減するようにした玉貸し方式が提案されている。However, if such a common prepaid card system is adopted, a player must purchase a card once, insert the card into a ball lending machine and convert the card into a lending ball. However, there is a problem that extra work is required as the number of actions to purchase a card is increased compared to the related art. Therefore, a card reader is provided on the ball lending machine arranged between the pachinko gaming machines and the pachinko gaming machine, and a part of the card balance is given to the lending ball by a command from a switch button provided on the operation panel of the pachinko gaming machine. The ball lending system that converts and uses the ball discharging device provided in the pachinko gaming machine to discharge the lending ball directly to the supply tray of the pachinko gaming machine to reduce the burden of ball lending conversion operation Proposed.
【0005】しかしながら、この玉貸し方式にあって
は、遊技者の玉貸し変換操作の煩わしさは軽減できるも
のの、貸し玉を直接パチンコ遊技機の供給皿に排出させ
るようにしたために、遊技機に設けられた一つの球排出
装置により賞品球の排出と貸し玉の排出を行わなければ
ならず、賞品球及び貸し玉の排出の区別を明確にする必
要が生じると共に、賞品球の排出制御に加えて貸し玉の
排出制御も同じ排出制御回路で行わなければならないと
いう問題が生じてきた。その結果排出制御回路の負担が
大きくなるという問題点があることが明らかになった。[0005] However, in this ball lending method, although the trouble of the ball lending conversion operation of the player can be reduced, the lending ball is discharged directly to the supply plate of the pachinko game machine, so It is necessary to discharge the prize ball and the lending ball by one provided ball discharging device, and it becomes necessary to clarify the distinction between the prize ball and the lending ball discharge. There has been a problem that the emission control of lending balls must be performed by the same emission control circuit. As a result, it became clear that there was a problem that the load on the emission control circuit was increased.
【0006】この発明は上記のような背景の下になされ
たもので、その目的とするところは、カード式遊技機に
おいて遊技中における賞品球及び貸し玉の両排出制御を
同じ排出制御回路で行ったとしても、排出制御回路の制
御の負担が大きくならなくても済み、且つ、賞品球と貸
し玉の排出を明確に区別可能な制御方式を採用したカー
ド式遊技機を提供することにある。The present invention has been made in view of the above background, and an object of the present invention is to perform both discharge control of a prize ball and a lending ball during a game in a card-type game machine by the same discharge control circuit. It is an object of the present invention to provide a card-type gaming machine that does not require a large burden of control of the discharge control circuit and that employs a control method capable of clearly distinguishing the discharge of prize balls and loaned balls.
【0007】[0007]
【課題を解決するための手段】上記目的を達成するため
本発明は、所要の数の遊技球を排出可能な球排出装置
(170)を有し、有価データを読取可能であり且つ球
排出装置と一対一に対応して配設されるカードリーダ
(例えば、カードリーダ240)に挿入されたカードの
保有する有価データの範囲内において当該有価データを
所定の貸し球数に変換し上記球排出装置より貸し球を前
面の供給皿(120)に直接排出可能に構成されてなる
カード式遊技機において、遊技盤と一対一に構成される
遊技盤制御回路(例えば、遊技盤制御装置400)と、
上記球排出装置に関わる制御を行う排 出制御回路(例え
ば、排出制御装置600)と、少なくとも上記カードリ
ーダの制御を行う玉貸し制御回路(例えば、玉貸し制御
装置500)と、を別個に備え、上記遊技盤制御回路
は、少なくとも遊技盤に関わる制御を行うと共に、排出
すべき賞品球数データを記憶する手段(例えば、賞球数
記憶手段412)を有し、該記憶された賞品球数データ
を上記排出制御回路に対し送信する制御を行い、上記排
出制御回路は、少なくとも上記賞品球数データに対応し
て所定数の賞品球を上記球排出装置より排出させる制御
を行うと共に、上記有価データを所要数の貸し球に変換
する変換要求に起因する上記玉貸し制御回路からの球貸
要求信号(T)に基づいて、上記球排出装置より所要数
の貸し球を排出させる制御を行うように構成したもので
ある。 SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a ball discharging device capable of discharging a required number of game balls.
(170), valuable data can be read and a ball
Card reader arranged one-to-one with the ejection device
(Eg, card reader 240)
Within the range of valuable data held,
Converted to the predetermined number of balls to be rented, and the ball to be lent before the ball discharge device
It is configured so that it can be discharged directly to the surface supply tray (120).
In card-type gaming machines, it is configured one-to-one with a gaming board
A game board control circuit (for example, a game board control device 400);
Emissions control circuit performs control related to the sphere discharge device (eg
For example, the discharge control device 600)
Ball lending control circuit for controlling the lender (for example, ball lending control
Device 500) and the game board control circuit
Controls at least the game board and
Means for storing the prize ball number data (for example, the number of prize balls)
Storage means 412), and the stored prize ball number data
Is transmitted to the above-mentioned discharge control circuit.
The output control circuit corresponds to at least the prize ball number data.
Control to discharge a predetermined number of prize balls from the ball discharging device
And convert the valuable data into the required number of loaned balls
Ball lending from the ball lending control circuit caused by the conversion request
Based on the request signal (T), the required number from the ball discharging device
It is configured to perform control to discharge the rental ball of
is there.
【0008】[0008]
【作用】上記した手段によれば、排出すべき賞品球数デ
ータを記憶する手段を有する遊技盤制御回路により、少
なくとも遊技盤に関わる制御及び記憶された賞品球数デ
ータを排出制御回路に対し送信する制御が行われるため
に、遊技盤制御回路側で賞品球数データを記憶すること
になり、排出制御回路で賞品球数データを記憶する必要
がなくなり、その分排出制御回路の制御の負担が軽減さ
れる。また、排出制御回路が遊技盤制御回路から送信さ
れた賞品球数データに対応した所要数の賞品球を球排出
装置より排出させる制御及び有価データを所要数の貸し
球に変換する変換要求に起因する玉貸し制御回路からの
球貸要求信号に基づく所要数の貸し球を球排出装置より
排出させる制御が行われるので、排出制御回路は遊技盤
制御回路からのデータに基づいて賞品球の排出制御を行
い、玉貸し制御回路からの球要求信号に基づいて貸し玉
の排出制御を行うこととなり、賞品球と貸し玉の排出を
明確に区別することが可能になる。さらに、遊技盤制御
回路、排出制御回路及び球貸し制御回路を個別に構成し
たので、各々の回路自体を小さくするとができる。 According to the above-mentioned means, the number of prize balls to be discharged is determined.
A game board control circuit having means for storing data
The control of the game board and the stored prize ball count
Data is sent to the emission control circuit.
The prize ball count data on the game board control circuit side
And it is necessary to store the prize ball number data in the discharge control circuit.
And the burden of controlling the emission control circuit is reduced accordingly.
It is. In addition, the discharge control circuit is transmitted from the game board control circuit.
Eject the required number of prize balls according to the prize ball number data
Lending the required number of controls and valuable data to be discharged from the equipment
From the ball lending control circuit caused by the conversion request to convert to a sphere
The required number of lending balls based on the ball lending request signal from the ball discharge device
Since the discharge control is performed, the discharge control circuit
Controls prize ball ejection based on data from the control circuit.
Ball lending based on the ball request signal from the ball lending control circuit
Emission control of prize balls and lending balls.
It becomes possible to distinguish clearly. In addition, game board control
Circuit, emission control circuit and ball lending control circuit
Therefore, each circuit itself can be made smaller.
【0009】[0009]
【実施例】図1には、本発明に係るカード式遊技機の代
表例としてのカード式パチンコ遊 技機の一実施例が示さ
れている。この実施例では、パチンコ遊技機100が玉
貸機を兼用した構成にされており、各パチンコ遊技機1
00にはカードリーダが内蔵され、パチンコ遊技機10
0の前面枠101の下部に設けられた受け皿140の前
面左側には上記カードリーダに対応してカード挿排口2
11と、カードリーダが稼動中すなわちカード挿入可能
状態にあることを表示する有効表示ランプ230が設け
られている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a card-type gaming machine according to the present invention.
An embodiment of a card-type pachinko Yu skill machine as a table example is shown. In this embodiment, the pachinko gaming machine 100 is configured to also serve as a ball rental machine.
00 has a built-in card reader, pachinko gaming machine 10
The card insertion / ejection slot 2 corresponding to the card reader is provided on the left side of the front of the tray 140 provided below the front frame 101 of FIG.
11 and an effective display lamp 230 for displaying that the card reader is in operation, that is, in a card insertable state.
【0010】一方、パチンコ遊技機100の前面枠10
1に設けられている供給皿120の上面には、操作パネ
ル121が形成され、この操作パネル121上に上記カ
ード挿排口211に挿入されたカードの残高を表示する
残高表示器122と、貸し玉への変換の指令を与える変
換ボタン群123と、カードの排出(返却)を指令する
返却ボタン124と、上記変換ボタン群123が有効中
であることを表示する玉貸可能表示器126が設けられ
ている。この実施例では、特に限定されるわけではない
が、上記変換ボタン群123としてカード残高のうち1
00円分を貸し玉に変換する指令を与えるためのボタン
と、200円分を貸し玉に変換する指令を与えるための
ボタンと、300円分を貸し玉に変換する指令を与える
ためのボタンと、500円分を貸し玉に変換する指令を
与えるためのボタンとが設けられている。On the other hand, the front frame 10 of the pachinko gaming machine 100
An operation panel 121 is formed on the upper surface of the supply tray 120 provided on the card 1, and a balance display 122 for displaying the balance of the card inserted into the card insertion / ejection port 211 on the operation panel 121; A conversion button group 123 for giving a command to convert to a ball, a return button 124 for giving a card ejection (return) command, and a ball lending possible display 126 for displaying that the conversion button group 123 is active are provided. Have been. In this embodiment, although not particularly limited, the conversion button group 123 includes one of the card balances.
A button for giving a command to convert 00 yen to lending ball, a button for giving a command to convert 200 yen to lending ball, and a button for giving a command to convert 300 yen to lending ball , And a button for giving a command to convert 500 yen into a lending ball.
【0011】なお、112は賞品玉排出時に点灯される
賞品球排出表示ランプ、また113は貸し玉排出時に点
灯される貸し玉排出表示ランプ113、108はパチン
コ遊技機において打止状態が発生したときに点灯される
完了ランプ、140は上記供給皿120が満杯になった
ときに内部でオーバーフローした賞品球を貯留する受け
皿、142は供給皿120から流下される球を一個ずつ
遊技領域内に発射する打球発射装置の操作ダイヤルであ
る。パチンコ遊技盤前面の遊技領域の構成は従来のもの
と同様で、任意の構成をとり得る。Reference numeral 112 denotes a prize ball discharge display lamp which is lit when a prize ball is discharged. Reference numeral 113 denotes a lending ball discharge indicator lamp which is lit when a lending ball is discharged. When a hit state occurs in a pachinko game machine. A completion lamp 140 is lit, 140 is a receiving tray for storing prize balls overflowing inside when the supply tray 120 is full, and 142 is a ball that is launched one by one from the supply tray 120 into the game area. It is an operation dial of the hit ball launching device. The configuration of the game area on the front of the pachinko game board is the same as the conventional one, and can take any configuration.
【0012】この実施例では、変換ボタン群123のう
ち一つが押されると、上記カードリーダへのカードの挿
入を前提としてカードの有する金額の範囲内で、各ボタ
ンに相当する金額を貸し玉に変換する指令がパチンコ遊
技機100の裏面に設けられている球排出装置の制御装
置に対して送出するように構成されている。変換後のカ
ードの残り金額は、100円を1単位とする度数で残高
表示器122に表示されるようになっている。In this embodiment, when one of the conversion buttons 123 is pressed, an amount corresponding to each button is assigned to a lending ball within the range of the amount of money of the card, assuming that the card is inserted into the card reader. A command to convert is sent to a control device of a ball discharging device provided on the back of the pachinko gaming machine 100. The remaining amount of the converted card is displayed on the balance display 122 in a unit of 100 yen as one unit.
【0013】図2には上記パチンコ遊技機100の裏機
構の構成例が示されている。図2において、170は後
述の玉貸し制御装置500からの排出要求信号に基づい
て所定数の貸し玉を排出したりパチンコ遊技機からの要
求信号により賞品球を排出する球排出装置、151は排
出される前の球を貯留しておく貯留タンク、152は貯
留タンク151内の球を一列に整列させて上記球排出装
置170まで誘導する誘導樋で、この誘導樋152は特
に限定されないが、短時間に多量の玉を供給できるよう
に2条に形成されており、その途中には球の重なりを防
止する玉ならし153および待機球検出器160が設け
られている。FIG. 2 shows an example of the structure of the back mechanism of the pachinko gaming machine 100. In FIG. 2, 170 is the rear
A ball discharging device that discharges a predetermined number of lending balls based on the discharging request signal from the ball lending control device 500 described above or discharges a prize ball according to a request signal from a pachinko gaming machine. The storage tank 152 for storing is a guiding gutter that guides the balls in the storage tank 151 in a line and guides them to the ball discharging device 170. The guiding gutter 152 is not particularly limited, but a large number of balls can be collected in a short time. It is formed in two lines so that it can be supplied, and a ball leveling 153 and a standby ball detector 160 for preventing the balls from overlapping are provided in the middle.
【0014】また、球排出装置170の下方には、排出
された玉を遊技機前面の上記供給皿120の流出口12
9へ誘導する排出樋155と供給皿120からオーバー
フローした玉を下方の受け皿140へ誘導するオーバー
フロー樋156が連続して設けられているとともに、上
記排出樋155の途中から分岐された玉抜き樋157が
上記オーバーフロー樋156と平行して配設され、この
玉抜き樋157と排出樋155との分岐部には流路切換
え弁158が設けられている。159は遊技機の前面に
設けられた入賞口に流入した入賞球を一箇所に集合させ
る集合樋、180は集合樋159の下端に設けられた入
賞球分離検出装置、240は上記カード挿排口211に
対応してその後方に配設されたカードリーダである。Further, below the ball discharge device 170, the discharged balls are supplied to the outlet 12 of the supply tray 120 on the front of the gaming machine.
Discharge trough 155 to induce the 9 and over the feed tray 120
An overflow gutter 156 for guiding the flowed balls to the lower tray 140 is provided continuously, and a ball drain gutter 157 branched from the middle of the discharge gutter 155 is disposed in parallel with the overflow gutter 156. A flow path switching valve 158 is provided at a branch portion between the ball drop gutter 157 and the discharge gutter 155. 159 is a collecting gutter for collecting winning balls flowing into a winning opening provided on the front of the gaming machine at one place, 180 is a winning ball separation detecting device provided at the lower end of the collecting gutter 159, 240 is the card insertion / ejection port It is a card reader provided behind the corresponding 211.
【0015】図3には上記球排出装置170の一実施例
を示す。この球排出装置170は、貯留タンク151に
貯留された予備球を誘導する上記誘導樋152に連続す
るように構成された案内樋710を備えている。この案
内樋710は上記誘導樋152に対応して2条に形成さ
れており、各条の通路に対応して流下阻止手段としての
ストッパ745とその駆動用排出ソレノイド741とか
らなる排出手段740も2組設けられている。上記案内
樋710は、その機能から3つの部分からなり、上から
順にそれぞれ減圧部711、縁切り部712、排出部7
13とされている。FIG. 3 shows an embodiment of the ball discharging device 170. The ball discharge device 170 includes a guide gutter 710 that is configured to be continuous with the guide gutter 152 that guides the reserve sphere stored in the storage tank 151. The guide gutter 710 is formed in two lines corresponding to the guide gutters 152, and a discharge means 740 including a stopper 745 as a flow-down prevention means and a discharge solenoid 741 for driving the stopper 745 corresponding to the passage of each line. Two sets are provided. The guide gutter 710 is composed of three parts according to its function.
13 is set.
【0016】上記減圧部711は、貯留タンク151か
ら誘導樋152を介して送られてくる予備球の圧力を減
らすもので、同図に示すように、緩傾斜状態にUターン
された構造にされている。上記縁切り部712は、その
下の排出部713を通る球同士に間隔を開けさせて、下
方の排出手段740による球の流出を止め易くするため
のもので、前記減圧部711に連続する垂直通路部分7
21と後述の排出部713に通じる方向変換通路部分7
22とから構成されている。The pressure reducing section 711 reduces the pressure of the reserve sphere sent from the storage tank 151 via the guide gutter 152, and has a structure in which the U-turn is performed in a gentle inclination state as shown in FIG. ing. The edge cutting portion 712 is provided to make a space between the balls passing through the discharging portion 713 thereunder so as to easily prevent the balls from flowing out by the lower discharging means 740, and a vertical passage continuous to the pressure reducing portion 711. Part 7
21 and a direction changing passage portion 7 communicating with a discharge portion 713 described later.
22.
【0017】そして、垂直通路部分721の下端部に
は、球詰まり防止突部723が前方に突出して設けられ
ている。この球詰まり防止突部723によって、垂直通
路部分721に縦に並んで停止した球のうちの最も下の
球の中心位置がその上方の球の中心位置より常に前方に
位置せしめられるようになる。それによって、上方の球
の流下移動圧が最も下の球を常に前方に押圧するように
作用し、球詰まりが防止される。A ball clogging prevention projection 723 is provided at the lower end of the vertical passage portion 721 so as to protrude forward. By this ball clogging prevention projection 723, the center position of the lowest ball among the balls stopped vertically arranged in the vertical passage portion 721 is always positioned ahead of the center position of the ball above it. As a result, the downward moving pressure of the upper sphere acts so as to always press the lowest sphere forward, thereby preventing ball clogging.
【0018】各案内樋710の排出部713の途中に
は、流下する球を検出する非接触型の排出球検出センサ
730(排出センサ1,2)がそれぞれ設置されてい
る。また、各排出部713の途中、上記排出センサ73
0直後には上記排出手段740を構成するストッパ74
5が出没可能な切欠き703が設けられている。上記ス
トッパ745は、それぞれ支軸によって回動自在に支持
されているとともに、ストッパ745の一側部には、そ
れぞれ連結ピン746が突設され、これら連結ピン74
6と排出ソレノイド741の作動ロッド742の下端部
とが連結板747によりそれぞれ連結されている。In the middle of the discharge section 713 of each guide gutter 710, a non-contact discharge ball detection sensor 730 (discharge sensors 1 and 2) for detecting a flowing ball is provided. In the middle of each discharge unit 713, the discharge sensor 73 is used.
Immediately after 0, the stopper 74 constituting the discharging means 740 is used.
There is provided a notch 703 in which 5 can appear. Each of the stoppers 745 is rotatably supported by a support shaft , and a connecting pin 746 is provided on one side of the stopper 745 so as to project therefrom.
6 and the lower end of the operating rod 742 of the discharge solenoid 741 are connected by a connecting plate 747, respectively.
【0019】そして、排出ソレノイド741が消磁(オ
フ)状態にあるときには、作動ロッド742が下降して
ストッパ745の先端部が切欠き部703より案内樋7
10の排出部713中にそれぞれ入り込んで、排出部7
13中の遊技球の流下を阻止するようになっている。一
方、排出ソレノイド741が励磁(オン)されると、作
動ロッド742が上昇してストッパ745が上昇する方
向に回動されて排出部713の切欠き703中から脱し
て、排出部713中の球の流下阻止状態を解除させ、案
内樋710内の予備球を下方の排出樋155へ排出させ
るようになっている。When the discharge solenoid 741 is in the demagnetized (off) state, the operating rod 742 is lowered and the tip of the stopper 745 is cut from the notch 703 to the guide gutter 7.
10 into the discharge sections 713, respectively.
13 to prevent the game balls from flowing down. On the other hand, when the discharge solenoid 741 is excited (turned on), the operating rod 742 rises and the stopper 745 is rotated in the upward direction, comes out of the notch 703 of the discharge portion 713, and the ball in the discharge portion 713 Is released, and the spare ball in the guide gutter 710 is discharged to the lower discharge gutter 155.
【0020】このように上記実施例の球排出装置170
は、排出センサ730で流下する玉を一個ずつ検出しな
がら所定数に達した時点でストッパ745を作動させて
排出を停止させることができるため、上述したごとく排
出球数の異なる賞品球と貸し玉とを同一の球排出装置に
よって排出させることが可能となる。なお、図3におい
て、750はパチンコ遊技機100の前面枠101に設
けられた操作孔(図示省略)から球抜き棒が差し込まれ
たことを検出する球抜きセンサ750である。球抜きセ
ンサ750がオンされると、上記排出ソレノイド741
が連続して励磁されて案内樋710内の予備球を排出さ
せるとともに、排出樋155内の流路切換え弁158の
駆動手段(ソレノイド)を作動させ、排出された玉を球
抜き樋157を通して機外へ排出させるようになってい
る。As described above, the ball discharging device 170 of the above embodiment is used.
Since the discharge sensor 730 detects the flowing balls one by one and stops the discharge by operating the stopper 745 when the predetermined number is reached, the prize balls and the lending balls having different numbers of discharged balls as described above. Can be discharged by the same ball discharge device. In FIG. 3, reference numeral 750 denotes a ball removal sensor 750 for detecting that a ball removal rod has been inserted through an operation hole (not shown) provided in the front frame 101 of the pachinko gaming machine 100. When the ball removal sensor 750 is turned on, the discharge solenoid 741
Are continuously excited to discharge the spare ball in the guide gutter 710, and the driving means (solenoid) of the flow path switching valve 158 in the discharge gutter 155 is actuated so that the discharged ball is passed through the ball drain gutter 157. It is designed to be discharged outside.
【0021】上記球抜きセンサ750および排出ソレノ
イド741、排出センサ730は排出制御装置600
(図4参照)に電気的に接続されている。図4には、パ
チンコ遊技機100の制御系の一実施例が示されてい
る。この制御系は大きく分けると、主としてパチンコ遊
技機100の遊技盤に関する制御を司る遊技盤制御回路
としての遊技盤制御装置400と、カードリーダ等の制
御を司る玉貸し制御回路としての玉貸し制御装置500
と、上記球排出装置170の制御を司る排出制御回路と
しての排出制御装置600とにより構成されている。The ball removal sensor 750, the discharge solenoid 741, and the discharge sensor 730 are provided by the discharge control device 600.
(See FIG. 4). FIG. 4 shows an embodiment of a control system of the pachinko gaming machine 100. This control system can be roughly divided into a game board control circuit mainly controlling a game board of the pachinko gaming machine 100.
Board control device 400 as a game , and ball lending control device 500 as a ball lending control circuit for controlling a card reader or the like
A discharge control circuit for controlling the ball discharge device 170 ;
And a discharge control device 600.
【0022】上記制御装置のうち遊技盤制御装置400
は、パチンコ遊技機の遊技盤102に設けられている各
種入賞球検出器から検出信号を受けて役物の駆動信号を
形成したり、パチンコ遊技機の裏機構盤に設けられてい
る入賞球分離検出装置180内の検出器(セーフセン
サ)181からの信号を受けて入賞球分離用のセーフソ
レノイド182を作動させたり、スピーカ190に対す
る駆動信号を形成する。また、遊技盤制御装置400
は、遊技状態を監視してパチンコ店の管理装置700に
対してパチンコ機が稼働中であることや大当りの発生、
打止めの発生等の状態に関する情報を伝える機能を備え
ている。Of the above control devices, a game board control device 400
Receives a detection signal from various prize ball detectors provided on the game board 102 of the pachinko gaming machine to form a drive signal of the accessory, or forms a prize ball separation provided on the back mechanism board of the pachinko game machine. In response to a signal from a detector (safe sensor) 181 in the detection device 180, a safe solenoid 182 for separating a winning ball is activated, and a drive signal for the speaker 190 is formed. In addition, the game board control device 400
The pachinko machine is monitored for the pachinko parlor management device 700 by monitoring the gaming state,
It has a function to convey information on the state such as occurrence of hitting.
【0023】排出制御装置600は、上記玉貸し制御装
置500または遊技盤制御装置400からの排出指令信
号に基づいて上記球排出装置170内の2条の案内樋7
10の途中に設けられた一対のストッパ745を作動さ
せる排出ソレノイド741a,741bを励磁して、排
出センサ730a,730bの検出信号に基づいて各案
内樋710内の予備球を所定数だけ排出させるととも
に、球抜きスイッチ750からのオン信号に基づいて排
出ソレノイド741a,741bを励磁し、かつ流路切
換え弁158の駆動源を作動させて貯留タンク151お
よび誘導樋152内の予備球をすべて排出させたりす
る。The discharge control device 600 controls the two guide gutters 7 in the ball discharge device 170 based on a discharge command signal from the ball lending control device 500 or the game board control device 400.
Excitation solenoids 741a and 741b that actuate a pair of stoppers 745 provided in the middle of 10 are excited to discharge a predetermined number of spare balls in each guide gutter 710 based on the detection signals of the discharge sensors 730a and 730b. The exhaust solenoids 741a and 741b are excited based on the ON signal from the ball release switch 750, and the drive source of the flow path switching valve 158 is operated to discharge all the reserve balls in the storage tank 151 and the guide gutter 152. I do.
【0024】また、排出制御装置600は、パチンコ遊
技機100の基枠109に設けられた開閉スイッチ10
3(図1参照)やオーバーフロー樋156の途中に設け
られたオーバーフロー検出器104(図2参照)、誘導
樋152の途中に設けられた待機球検出器160からの
検出信号が入ってくると排出ソレノイド741a,74
1bの励磁を保留して球排出装置170による排出を中
止するとともに、排出時には排出指令信号の内容に応じ
て例えば賞品球排出表示ランプ112または貸し玉排出
表示ランプ113を点灯させたり、遊技盤制御装置40
0に対して賞品球もしくは貸し玉の排出音要求信号を送
出する。The discharge control device 600 is provided with an open / close switch 10 provided on a base frame 109 of the pachinko gaming machine 100.
3 (see FIG. 1), an overflow detector 104 (see FIG. 2) provided in the middle of the overflow gutter 156, and a detection signal from the standby ball detector 160 provided in the middle of the guide gutter 152 are discharged. Solenoids 741a, 74
In addition to suspending the excitation of 1b, the discharge by the ball discharge device 170 is stopped, and at the time of discharge, for example, the prize ball discharge display lamp 112 or the lending ball discharge display lamp 113 is turned on according to the contents of the discharge command signal, or the game board control. Device 40
For 0, a prize ball or lending ball ejection sound request signal is transmitted.
【0025】さらに、排出制御装置600は、補給セン
サ106やアウトセンサ107からの信号に基づいて、
完了ランプ108を点灯させたりパチンコ店の管理装置
700に対して補給要求信号Kや排出賞品球数信号I、
排出貸し玉数信号J(1パルスで例えば25個の排出玉
数を示す)、アウト球数信号L等をデータとして送信す
るように構成されている。Further, the discharge control device 600 receives a signal from the replenishment sensor 106 or the out sensor 107 and
The completion lamp 108 is turned on, and the replenishment request signal K and the discharged prize ball number signal I are transmitted to the pachinko parlor management device 700.
It is configured to transmit a discharged lending ball number signal J (the number of discharged balls is, for example, 25 in one pulse), an out-ball number signal L, and the like as data.
【0026】玉貸し制御装置500は、パチンコ遊技機
100内のカードリーダからの読取りデータを受けて残
高表示器122に対する表示駆動信号Xおよびカードリ
ーダが作動状態にあることを表示する有効表示ランプ2
30やパチンコ遊技機に設けられている玉貸し可能表示
器126に対する駆動信号を形成したり、カードリーダ
制御装置250に対する残高データ書換え信号q、パン
チ穴加工信号m、カード排出信号nを形成する。また、
玉貸し制御装置500は、玉貸し変換スイッチ(12
3)とカード返却スイッチ(124)のオン信号を受け
付けるとともに、排出制御装置600に対して玉貸し要
求信号Tを送ったり、カード管理会社の管理装置800
に対して1度(100円)分の貸し玉への変換が行なわ
れたことを知らせるカード決済信号jを送信する機能も
備えている。The ball lending control device 500 receives the read data from the card reader in the pachinko gaming machine 100 and displays a display drive signal X for the balance display 122 and an effective display lamp 2 for indicating that the card reader is in operation.
30 and pachinko machines equipped with ball lending display
It forms a drive signal for the card reader 126 , and forms a balance data rewrite signal q, a punching signal m, and a card ejection signal n for the card reader controller 250. Also,
The ball lending control device 500 includes a ball lending conversion switch (12
3) and the ON signal of the card return switch (124), and also sends a ball lending request signal T to the discharge control device 600 or the management device 800 of the card management company.
A function of transmitting a card payment signal j that indicates that conversion to a lending ball for once (100 yen) has been performed.
【0027】図5には上記遊技盤制御回路としての遊技
盤制御装置400の具体的構成例が示されている。すな
わち、この実施例の遊技盤制御装置400は、セーフセ
ンサ181からの検出信号に基づいて排出すべき賞品球
数を決定する賞球数確定手段410と、決定された賞球
データBおよびそのストローブ信号Cを排出制御装置6
00に対し出力する賞球データ送信手段420と、遊技
盤102からの信号に基づいて遊技に関する制御を行な
う遊技制御手段430と、入賞球分離用のセーフソレノ
イド182に対する駆動信号やパチンコ店の管理装置7
00に対する状態信号を形成する出力部440と、スピ
ーカ190を駆動するための音声出力手段部450とに
より構成されている。FIG. 5 shows a specific configuration example of a game board control device 400 as the game board control circuit . That is, the game board control device 400 according to this embodiment includes a prize ball number determining unit 410 that determines the number of prize balls to be discharged based on the detection signal from the safe sensor 181, the determined prize ball data B and its strobe. Discharge control device 6 for signal C
A prize ball data transmitting means 420 for outputting to the game machine 00, a game control means 430 for controlling a game based on a signal from the game board 102, a drive signal for a safe solenoid 182 for separating a prize ball, and a pachinko parlor management apparatus. 7
It comprises an output unit 440 for forming a status signal for 00 and an audio output unit 450 for driving the speaker 190.
【0028】上記賞球数確定手段410は、例えばセー
フセンサ181からの検出信号の立上りエッジを検出し
て入賞球検出信号を形成する入賞球検出手段411と、
一つの入賞球検出信号に対する賞品球数を記憶する賞球
数記憶手段412と、遊技盤の役物等に設けられ一般の
入賞球に対する賞球数と異なる賞球数を与える特定の入
賞領域へ入賞した遊技球の数を記憶する特定入賞数記憶
手段413とからなり、入賞球を検知するとそれぞれの
入賞球に対応して予め設定されたる賞球データを出力す
るように構成されている。The winning ball number determining means 410 detects a rising edge of a detection signal from the safe sensor 181 to form a winning ball detecting signal, for example, and a winning ball detecting means 411 ;
To a prize ball number storage means 412 for storing the number of prize balls for one prize ball detection signal, and to a specific prize area provided in a game board or the like and giving a prize ball number different from the number of prize balls for general prize balls. Specific winning number storage means 413 for storing the number of winning game balls is configured to output a predetermined prize ball data corresponding to each winning ball when the winning ball is detected.
【0029】セーフセンサ181は入賞球分離検出装置
180内に設けられ、排出制御装置600からの応答信
号(読込み確定信号)Hによってセーフソレノイド18
2の駆動信号が形成されて入賞球が一個ずつ分離されて
検出されるため、一般の入賞球はその発生に応じた数だ
け正確に排出指令信号が形成される。しかるに、特定入
賞球の検出信号は遊技盤制御装置400に連続して入っ
てくるので、この実施例では特定入賞球の検出数を記憶
する特定入賞数記憶手段413を設けている。そして、
この特定入賞数記憶手段413は、その読出し信号が排
出制御装置600からの応答信号Hを制御信号とするA
NDゲート421を介してフィードバックされることに
よって、入賞球一つに対する排出が終了するごとにその
記憶が一つ減算されるように構成されている。The safe sensor 181 is provided in the winning ball separation detecting device 180, and receives a response signal (read confirmation signal) H from the discharge control device 600 to output the safe solenoid 18.
Since two drive signals are formed and the winning balls are separated and detected one by one, the discharge command signal is formed exactly as many as the number of general winning balls according to the occurrence. However, since the detection signal of the specific winning ball is continuously input to the game board control device 400, in this embodiment, the specific winning number storage means 413 for storing the detected number of the specific winning ball is provided. And
This specific winning number storage means 413 uses the response signal H from the discharge control device 600 as a control signal when the readout signal is A
By feeding back the information through the ND gate 421, the memory is decremented by one every time the discharge of one winning ball is completed.
【0030】遊技制御手段430は、上記入賞球検出手
段411と同様な特定入賞球検出手段431と、遊技盤
に設けられているソレノイドやモータ等を駆動させる制
御信号や大当り信号Pを出力する信号形成手段432等
を備えている。図6には音声出力手段450の構成例を
示す。音声出力手段450には、遊技制御手段430か
らのソレノイドの駆動に伴う効果音のような遊技音の発
生を要求する遊技音要求信号Xと、排出制御装置600
からの賞球排出音要求信号Dおよび貸し玉排出音要求信
号Eとが入力されている。The game control means 430 includes a specific winning ball detecting means 431 similar to the winning ball detecting means 411, a control signal for driving a solenoid, a motor, and the like provided on the game board, and a signal for outputting a big hit signal P. It is provided with forming means 432 and the like. FIG. 6 shows a configuration example of the audio output unit 450. The sound output means 450 includes a game sound request signal X for requesting generation of a game sound such as a sound effect accompanying driving of the solenoid from the game control means 430, and a discharge control device 600.
From the player, and a lending ball discharge sound request signal E are input.
【0031】音声出力手段450内には、上記3種類の
要求信号に各々対応する音声の発生コードを記憶するR
OM(リードオンリメモリ)等からなる音声発生手段4
51,452,453と、これら音声発生手段から出力
された信号に基づいてスピーカ190を駆動する信号を
発生するサウンドジェネレータ457と、上記要求信号
のうちいずれを優先して対応する音声を発生させるか決
定する優先制御手段458とを備え、同時に複数の要求
信号が入ってきたときは最も優先度の高い音声発生手段
を選択して音声コードを出力させるように構成されてい
る。The voice output means 450 stores the voice generation codes corresponding to the three types of request signals, respectively.
Voice generating means 4 such as OM (Read Only Memory)
51, 452, 453, a sound generator 457 for generating a signal for driving the speaker 190 based on the signal output from these sound generating means, and which of the request signals should be given priority to generate the corresponding sound. And a priority control means 458 for determining, and when a plurality of request signals are received at the same time, a voice generating means having the highest priority is selected to output a voice code.
【0032】図7には排出制御回路としての排出制御装
置600の構成例を示す。この実施例の排出制御装置6
00は、マイクロコンピュータ等からなる制御部610
と、枠センサ103やオーバーフロー検出器104、待
機球検出器160からの信号に基づいて球排出装置17
0による排出が可能な状態にあるか否か示す排出イネー
ブル信号を形成して制御部610に供給する排出可能条
件確認手段620と、管理装置700に対して賞球排出
や玉貸し、補給等の排出状態を示すステータス信号を出
力する状態出力手段630と、アウトセンサ107から
の信号を計数して10球毎にアウト信号を管理装置70
0に対して供給するカウンタ640と、セグメント型の
貸し玉排出表示ランプ113や賞球排出表示ランプ11
2を駆動する表示駆動手段650等により構成されてい
る。FIG. 7 shows an example of the configuration of a discharge control device 600 as a discharge control circuit . Emission control device 6 of this embodiment
00 is a control unit 610 composed of a microcomputer or the like.
And the ball discharging device 17 based on signals from the frame sensor 103, the overflow detector 104, and the standby ball detector 160.
A discharge enable condition confirming means 620 which forms a discharge enable signal indicating whether or not discharge by 0 is possible and supplies it to the control unit 610, and prize ball discharge, ball lending, replenishment, etc. to the management device 700. A state output means 630 for outputting a status signal indicating a discharge state, and counting the signals from the out sensor 107 to output an out signal for every 10 balls.
A counter 640 for supplying 0, a segment type lending ball discharge indicator lamp 113 and a prize ball discharge indicator lamp 11
2 is constituted by a display driving means 650 for driving the driving device 2.
【0033】また、排出制御装置600は、各種センサ
や遊技盤制御装置400、玉貸し制御装置500からの
制御信号を受ける入力バッファBFFiや制御部610
からの制御信号を外部の制御装置へ出力する出力バッフ
ァBFFoおよび各種ソレノイドに対する駆動信号を形
成するドライバDRVを備えている。上記排出可能条件
確認手段620は各検出器103,104,160から
の検出信号の論理積をとるANDゲートG2を備え、す
べての検出器がオン状態にあるときにのみ排出可能を示
す排出イネーブル信号Aを制御部610へ与える。これ
によって、パチンコ遊技機の前面枠101が開いていた
り、オーバーフロー樋156内が賞品球で一杯になって
いたり、誘導樋152内に予備球が存在しないような、
排出を行なうのが望ましくない状況での排出動作が保留
されるようになる。The discharge control device 600 includes an input buffer BFFi that receives control signals from various sensors, the game board control device 400, and the ball lending control device 500, and a control unit 610.
And an output buffer BFFo for outputting a control signal from the controller to an external control device, and a driver DRV for forming drive signals for various solenoids. The dischargeable condition checking means 620 includes an AND gate G2 that calculates the logical product of the detection signals from the detectors 103, 104, and 160, and a discharge enable signal indicating that discharge is possible only when all the detectors are on. A is given to the control unit 610. As a result, the front frame 101 of the pachinko gaming machine is open, the overflow gutter 156 is full of prize balls, or there is no spare ball in the guide gutter 152.
The discharge operation in a situation where it is not desirable to discharge is suspended.
【0034】また、上記制御部610は、図8に示すよ
うに賞球排出制御部616と、貸し玉排出制御部617
と、玉抜き排出制御部618と停電制御部619とによ
り構成される。このうち、賞球排出制御部616は、遊
技盤制御装置400からの賞球データBとその取込みタ
イミングを示すデータストローブ信号Cを受けて賞品球
数を記憶し、排出センサ730からの検出信号に基づい
て実際の排出数を演算する賞球排出数記憶演算部661
と、演算された排出数に基づいて残りの排出数を判定し
排出ソレノイド741a,741bの駆動信号を形成す
る排出制御信号形成部662とより構成されている。The control unit 610 includes a prize ball discharge control unit 616 and a lending ball discharge control unit 617 as shown in FIG.
And a ball ejection control unit 618 and a power failure control unit 619. The prize ball discharge control unit 616 receives the prize ball data B from the game board control device 400 and the data strobe signal C indicating the timing of capturing the prize ball data B, stores the number of prize balls, and outputs the detection signal from the discharge sensor 730 Prize ball discharge count storage calculation unit 661 that calculates the actual discharge count based on the
And an emission control signal forming unit 662 that determines the remaining number of emissions based on the calculated number of emissions and forms a drive signal for the emission solenoids 741a and 741b.
【0035】排出制御信号形成部662は上記排出ソレ
ノイド741a,741bの駆動信号のほかに、賞球排
出終了信号Mと排出数が10個になったことを示す賞球
排出数信号Nと賞球排出中であることを示す状態信号R
を形成し、出力する。貸し玉排出制御部617は、貸し
玉への変換レートや一度に連続して貸し玉へ変換できる
金額の上限を記憶するデータ記憶部671と、玉貸し制
御装置500からの玉貸し要求信号Tに基づいて貸し玉
の排出を開始させ排出センサ730a,730bからの
検出信号に基づいて実際の排出数を演算する貸し玉排出
数記憶演算部672と、演算された排出数に基づいて残
りの排出数を判定し排出ソレノイド741の駆動信号を
形成する排出制御信号形成部673と、排出制御信号形
成部673からの排出数を示す信号とデータ記憶部67
1からの上限値とに基づいて貸し玉が上限に達したか判
定し、上限に達した場合にそれ以上の排出を禁止させる
貸し玉上限判定部674とにより構成されている。デー
タ記憶部671に記憶された変換レートは玉貸し要求信
号Tがハイレベルにされると貸し玉排出数記憶演算部6
72に供給され、これによって貸し玉の排出信号の形成
が開始されるようになっている。The discharge control signal forming section 662 includes a drive signal for the discharge solenoids 741a and 741b, a prize ball discharge end signal M, a prize ball discharge number signal N indicating that the discharge number has reached 10, and a prize ball. Status signal R indicating that discharging is in progress
Is formed and output. The lending ball discharge control unit 617 includes a data storage unit 671 that stores a conversion rate to lending balls and an upper limit of an amount that can be converted into lending balls continuously at one time, and a lending request signal T from the lending ball controller 500. The lending-ball discharge number storage operation unit 672 that starts the lending of the lending balls based on the detection signals from the discharge sensors 730a and 730b based on the detection signals from the discharge sensors 730a and 730b, and the remaining number of litters based on the calculated number of discharges Control signal forming unit 673 for determining a drive signal of the discharge solenoid 741 and a signal indicating the number of discharges from the discharge control signal forming unit 673 and the data storage unit 67
A lending ball upper limit determination unit 674 that determines whether the lending ball has reached the upper limit based on the upper limit value from 1 and prohibits further discharge when the upper limit is reached. When the ball lending request signal T is set to a high level, the conversion rate stored in the data storage unit 671 is the lending ball discharge number storage calculating unit 6
72, whereby the formation of a lending ball discharge signal is started.
【0036】排出制御信号形成部673は、賞球排出制
御部616が賞球排出制御中でないことを条件に貸し玉
排出可能を示す玉貸しレディ信号Uと貸し玉排出中を示
す信号Qおよび貸し玉排出終了を示す信号Oを形成し出
力する。玉抜き排出制御部618は、賞球排出制御部6
16および貸し玉排出制御部617が排出制御中でない
ことを条件に玉抜きセンサ750からのオン信号によっ
て起動され、排出ソレノイド741および流路切換弁1
58のソレノイドを駆動する信号と玉抜き排出中である
ことを示す信号pを出力する機能を備えている。The discharge control signal forming section 673 includes a ball lending ready signal U indicating that lending balls can be discharged, a signal Q indicating that lending balls are being discharged, and a lending, provided that the prize ball discharge control section 616 is not performing prize ball discharge control. A signal O indicating the end of ball discharge is formed and output. The ball ejection control unit 618 includes the prize ball discharge control unit 6.
16 and the lending ball discharge control section 617 are activated by an ON signal from the ball removal sensor 750 on condition that the discharge control is not being performed, and the discharge solenoid 741 and the flow path switching valve 1
It has a function of outputting a signal for driving the solenoid 58 and a signal p indicating that ball ejection is being performed.
【0037】停電制御部619は、図9に示すように、
交流電源の電源波形の波の数を数えて所定数以下になっ
たときに停電の発生を検出する停電検出手段691と、
電圧レベル検出手段等からの信号に基づいて電源電圧の
回復を検出する停電回復検出手段695と、賞球排出制
御部616および貸し玉排出制御部617からの状態信
号R,Qに基づいて進行中の排出の態様を記憶する排出
態様記憶手段692と、排出数信号a,bにより各排出
動作中における排出球数を保持する排出球数記憶手段6
93と、停電により中断された排出を停電回復時に途中
から続行させる排出続行制御手段694とから構成され
ている。As shown in FIG. 9, the power failure control unit 619
A power failure detection means 691 for detecting the occurrence of a power failure when the number of waves of the power supply waveform of the AC power supply becomes equal to or less than a predetermined number,
Power failure recovery detecting means 695 for detecting the recovery of the power supply voltage based on a signal from the voltage level detecting means and the like, and progressing based on status signals R and Q from the prize ball discharge control unit 616 and the lending ball discharge control unit 617. Discharge mode storage means 692 for storing the discharge mode of the discharge ball number, and discharge ball number storage means 6 for storing the discharge ball number during each discharge operation by the discharge number signals a and b.
93 and discharge continuation control means 694 for continuing the discharge interrupted by the power failure from the middle when the power failure is recovered.
【0038】上記排出態様記憶手段692および排出球
数記憶手段693は、例えば電池696によりバックア
ップされたRAM(ランダムアクセスメモリ)で構成さ
れており、停電検出手段691が停電の発生を検出する
とその時の排出態様と排出数を排出態様記憶手段692
および排出球数記憶手段693に保持させ、停電が回復
したときには排出続行制御手段694を起動させて賞球
排出制御部616または貸し玉排出制御部617のいず
れによる排出が中断されていたかを判定させ、その結果
に応じて排出球数記憶手段693に保持されていた球数
を賞球排出制御部616または貸し玉排出制御部617
に転送させて、停電発生時に中断された排出を続行させ
て残りの球数を排出させるようになっている。[0038] the discharge mode memory unit 692 and the discharge cell count storage unit 693, for example, cell 696 is composed of a backed-up RAM (random access memory), the time the power failure detection means 691 detects the occurrence of a power failure Discharge mode and discharge mode storage means 692
And when the power outage is restored, the discharge continuation control means 694 is activated to determine whether the discharge by the prize ball discharge control unit 616 or the lending ball discharge control unit 617 has been interrupted. According to the result, the number of balls held in the number-of-discharged-balls storage means 693 is stored in the prize-ball discharge control unit 616 or the lending-ball discharge control unit 617.
The remaining number of balls is discharged by continuing the discharge interrupted when a power failure occurs.
【0039】図10は玉貸し制御回路としての玉貸し制
御装置500の構成例を示す。この実施例の玉貸し制御
装置500は、シングルチップマイコン等からなる制御
部510と、この制御部510とカードリーダ制御装置
250との間のデータ送受信のインターフェースを行な
うトランシーバ502と、セグメント型表示器からなる
残高表示器の駆動信号を形成する表示駆動手段503
と、玉貸可能表示器126および玉貸有効表示ランプ2
30を駆動するドライブ回路DRV1,DRV2と、変
換ボタン群123を操作することによってオンされる変
換スイッチ123a,123b,123c,123dか
らの変換要求信号からノイズを除去して上記制御部51
0に入力するフィルタ504と、カード管理装置800
に対してカード決済信号jを供給するリレー505等に
よって構成されている。FIG. 10 shows a configuration example of a ball lending control device 500 as a ball lending control circuit . The ball lending control device 500 according to the present embodiment includes a control unit 510 including a single-chip microcomputer, a transceiver 502 for interfacing data transmission and reception between the control unit 510 and the card reader control device 250, and a segment type display. Display driving means 503 for forming a driving signal of a balance display comprising:
And ball lending possible display 126 and ball lending validity display lamp 2
The drive circuits DRV1 and DRV2 for driving the drive unit 30 and the conversion request signals from the conversion switches 123a, 123b, 123c and 123d that are turned on by operating the conversion button group 123 remove noise from the control unit 51.
Filter 504 for inputting to 0 and card management device 800
And a relay 505 for supplying a card settlement signal j to the relay device.
【0040】また、上記制御部510は、カードリーダ
制御装置250からのデータを読み込んだり、カードリ
ーダ制御装置250に対する書込データや制御信号、残
高表示器122に対する表示データを形成するカード制
御手段511と、上記排出制御装置600に対する玉貸
し要求信号Tを発生する玉貸要求制御手段512と、変
換スイッチ123a,123b,123c,123dか
らの変換要求信号が入ったときにいずれのスイッチがオ
ンされたか識別し、変換金額がカード残高の範囲内であ
る場合に玉貸要求制御手段512に対して玉貸し要求信
号Tの発生を許可する制御信号tを発生する玉貸回数制
御手段513とから構成されている。玉貸要求制御手段
512は、上記制御信号tおよび排出制御装置600か
らの玉貸し排出可能を示す玉貸イネーブル信号Uに基い
て排出制御装置600に対する玉貸し要求信号Tをアサ
ートするとともに、排出制御装置600からの払出完了
信号Vを受けて玉貸し要求信号Tをネゲートする。玉貸
し可能表示ランプ126を駆動するドライブ回路DRV
1は、上記玉貸し要求信号Tを受けてこれがネゲートさ
れている間だけ玉貸し可能表示器126を点灯させ、玉
貸し要求信号Tがアサートされている間は消灯させるよ
うになっている。The control unit 510 reads data from the card reader control unit 250, and writes card data and control signals to the card reader control unit 250 and forms display data for the balance display unit 122. And a ball lending request control means 512 for generating a ball lending request signal T to the discharge control device 600, and which switch is turned on when a conversion request signal from the conversion switches 123a, 123b, 123c, 123d is turned on. The ball lending frequency system that generates a control signal t that permits the ball lending request control means 512 to generate the ball lending request signal T when the conversion amount is within the range of the card balance.
And control means 513 . The ball lending request control unit 512 asserts the ball lending request signal T to the discharge control device 600 based on the control signal t and the ball lending enable signal U from the discharge control device 600 indicating that the ball lending can be discharged, and controls the discharge control. Upon receiving the payout completion signal V from the device 600, the ball lending request signal T is negated. Drive circuit DRV for driving ball lending possible display lamp 126
1 receives the ball lending request signal T and turns on the ball lending possible display 126 only while the ball lending request signal T is negated, and turns off the light while the ball lending request signal T is asserted.
【0041】図11には、上記玉貸し制御装置500の
カード制御手段511の具体的構成例を示す。すなわ
ち、このカード制御手段511は、カードリーダ制御装
置250から送られてくる読込みデータよりカードの残
高を抽出するカード残高読込み手段541と、読み込ま
れた残高データを記憶する残高記憶手段542と、排出
制御装置600からの貸し玉払出完了信号Vに基いて上
記残高記憶手段542の記憶内容を減算させる金額減算
手段544と、残高記憶手段542の金額が所定数にな
るごとにカードリーダ内のパンチ装置に対して穴開け指
令を与えるパンチ穴加工制御手段545と、上記残高記
憶手段542の金額がゼロになったか否か判定するカー
ド残高判定手段546と、この判定手段546からの金
額ゼロ信号uや返却ボタン124からのカード返却要求
信号等に基いてカードリーダの挿排出モータに対するカ
ード排出指令信号nや玉貸可能表示器126の制御信号
を形成するカード挿排出制御手段547と、貸し玉払出
完了信号Vに基いてプリペードカードが1度(100円
等)分使用されたことを、全カードの金額を管理するカ
ード管理装置800に知らせる決済信号jを形成する決
済情報形成手段548とを備えている。この決済信号j
は伝送ラインを介してカード管理会社のコンピュータに
伝送させるようにすることができる。FIG. 11 shows a specific example of the structure of the card control means 511 of the ball lending control device 500. That is, the card control unit 511 includes a card balance reading unit 541 for extracting a card balance from the read data sent from the card reader control device 250, a balance storage unit 542 for storing the read balance data, Amount subtraction means 544 for subtracting the storage content of the balance storage means 542 based on the lending ball payout completion signal V from the control device 600, and a punch device in the card reader every time the amount of the balance storage means 542 reaches a predetermined number. 545, a card balance determination unit 546 for determining whether or not the amount in the balance storage unit 542 has become zero, and a zero amount signal u from the determination unit 546. The card ejection finger for the insertion / ejection motor of the card reader based on the card return request signal from the return button 124, etc. The card insertion / ejection control means 547 that forms the signal n and the control signal of the ball lending display 126, and the fact that the prepaid card has been used once (eg, 100 yen) based on the lending ball payout completion signal V A payment information forming means 548 for forming a payment signal j for notifying the card management device 800 for managing the amount of the card. This settlement signal j
Can be transmitted to a computer of a card management company via a transmission line.
【0042】上記カード残高読込み手段541と、読み
込まれた残高データを記憶する残高記憶手段542と、
排出制御装置600からの貸し玉払出完了信号Vに基い
て上記残高記憶手段542の記憶内容を減算させる金額
減算手段544とによって、残高データ制御手段549
が構成されている。そして、上記残高記憶手段542の
内容は貸し玉払出完了ごとに更新され、その残高記憶手
段542の内容はパチンコ遊技機100に設けられた残
高表示器122に表示される。The card balance reading means 541, the balance storage means 542 for storing the read balance data,
The balance data control means 549 is provided by the money amount subtraction means 544 for subtracting the storage content of the balance storage means 542 based on the lending ball payout completion signal V from the discharge control device 600.
Is configured. Then, the contents of the balance storage means 542 are updated each time the loaned ball is paid out, and the contents of the balance storage means 542 are displayed on the balance display 122 provided in the pachinko gaming machine 100.
【0043】次に、上述した排出制御装置600によっ
て行なわれる貸し玉および賞品球の排出制御の手順を図
12乃至図50を参照して詳細に説明する。賞品球の排
出制御は、上記排出制御装置600の電源の投入と同時
に開始され電源が投入されている限り繰返しその処理が
行なわれる所謂バックグラウンド制御処理(図12)
と、上記電源が投入されたあとタイマ割込みにより所定
時間(例えば0.5msec)毎に、上記バックグラン
ド制御処理中に当該バックグランド制御処理を中断して
その処理が実行される割込処理(図13)の2つの制御
処理に大別されるものであり、これら2つの制御処理は
CPUからなる制御部610により実行される。Next, the procedure of controlling the discharge of the lending ball and the prize ball performed by the above-described discharge control device 600 will be described in detail with reference to FIGS. The discharge control of the prize ball is started at the same time as the power supply of the discharge control device 600 is turned on, and is repeatedly performed as long as the power is turned on, so-called background control processing (FIG. 12).
Interrupt processing in which the background control processing is interrupted during the background control processing and executed at predetermined time intervals (for example, 0.5 msec) by a timer interrupt after the power is turned on (FIG. 13) are roughly classified into two control processes, and these two control processes are executed by the control unit 610 including a CPU.
【0044】先ず、賞品球の排出制御のバックグランド
制御処理のメインルーチンについて図12を参照して説
明する。このメインルーチンは、前述したように排出制
御装置600の電源の投上後繰返し行なわれる。電源が
立上がると、先ず、ステップS1で「停電フラグ」が
「1」であるか否かが判定される。この「停電フラグ」
は後述の処理(図26)で停電が検出されたときに
「1」にされるものである。First, the main routine of the background control processing of the prize ball discharge control will be described with reference to FIG. This main routine is repeatedly performed after the power of the discharge control device 600 is turned on as described above. When the power is turned on, first, it is determined in step S1 whether or not the “power failure flag” is “1”. This "power failure flag"
Is set to "1" when a power failure is detected in the processing described later (FIG. 26).
【0045】このステップS1の判定結果が“No”の
ときにはステップS2に進み、“Yes”のときにはス
テップS13に進んでRAM内の参照エリアに用意され
た「処理ナンバー」を“5”に設定してからステップS
3へ進む。後で停電回復処理(ステップS15)を行な
わせるためである。ステップS2では、RAMのクリア
やフラグの設定、出力バッファのリセット等の初期設定
を行なう。続くステップS3では、後述の排出装置不正
監視処理(図27)を行なって不正排出が行なわれてい
ないことを確認してから、ステップS4に進み、上記処
理中で設定される排出不正フラグが「1」であるか否か
判定し、フラグが「1」のときはステップS14の不正
解除処理を行ない、フラグが「0」のときはステップS
5へ進む。ステップS5〜S9では上記処理ナンバー
(処理NO)を参照して、ナンバーがそれぞれ“5”ま
たは“4”、“3”、“2”、“1”であるか否かが判
定される。When the determination result of step S1 is "No", the process proceeds to step S2 , and when the determination result is "Yes", the process proceeds to step S2 .
Proceeding to step S13 , the "processing number" prepared in the reference area in the RAM is set to "5" and then step S13 is executed.
Proceed to 3. This is because the power failure recovery process (step S15) is performed later. In step S2, initial settings such as clearing the RAM, setting flags, and resetting the output buffer are performed. In the following step S3, after confirming that the illegal discharge is not performed by performing the discharge device illegal monitoring process (FIG. 27) described later, the process proceeds to step S4, and the discharge illegal flag set in the above process is set to " It is determined whether the flag is "1". If the flag is "1", the unauthorized release processing of step S14 is performed, and if the flag is "0", the step S14 is performed.
Go to 5. In steps S5 to S9, it is determined whether or not the number is "5" or "4", "3", "2", or "1" with reference to the processing number (processing NO).
【0046】この処理ナンバーは、その値が“5”のと
きに後述の停電回復処理(図50)を開始させ、その値
が“4”のときに後述の玉抜処理(図40〜42)を開
始させ、その値が“3”のときに後述の玉貸し排出処理
(図39)を開始させ、その値が“2”のときに後述の
賞球排出処理(図32)を開始させ、その値が“1”の
ときに後述の賞球開始処理(図29)を開始させるもの
である。そして、この処理ナンバーは各々対応する処理
が実行されたとき、その処理フローの中で他のナンバー
に変更もしくは“0”にリセットされるようになってい
る。When the value of this process number is "5", a power failure recovery process (FIG. 50) to be described later is started, and when the value is "4", a ball removal process (FIGS. 40 to 42) to be described later. When the value is “3”, the later-described ball lending discharge process (FIG. 39) is started, and when the value is “2”, the later-described prize ball discharge process (FIG. 32) is started. When the value is "1", a prize ball start process (FIG. 29) described later is started. When the corresponding process is executed, the process number is changed to another number or reset to "0" in the process flow.
【0047】一方、処理ナンバーが“0”のときはステ
ップS10へ進み、玉抜フラグが「1」であるか否か判
定し、フラグが「1」のときはステップS20で上記処
理ナンバーを“4”に設定する。再度メインルーチンが
実行されるときにステップS16の玉抜処理へ移行させ
るためである。またステップS10で、玉抜フラグが
「0」と判定したときはステップS11へ進む。ステッ
プS11では、玉貸し制御装置500から玉貸し要求信
号Vが入っているか否か調べ、信号が入っていれば玉貸
し開始処理(図38)を実行し、玉貸し要求信号がなけ
ればステップS12へ進む。ステップS12では、遊技
盤制御装置400から賞球排出要求(賞球データのスト
ローブ信号C)が入っているか否か調べ入っていればス
テップS22で処理ナンバーを“1”に設定する。再度
メインルーチンが実行されるときにステップS19の賞
球開始処理へ移行させるためである。また、ステップS
12で排出要求がなければ補給処理(図43)および情
報出力処理(図44)を実行した後、上記ステップS3
へ戻る。On the other hand, if the processing number is "0", the process proceeds to step S10, where it is determined whether or not the ball extraction flag is "1". Set to 4 ". This is because the process shifts to the ball removal processing in step S16 when the main routine is executed again. If it is determined in step S10 that the ball extraction flag is "0", the process proceeds to step S11. In step S11, it is checked whether or not a ball lending request signal V is received from the ball lending control device 500. If the signal is received, a ball lending start process (FIG. 38) is executed. If there is no ball lending request signal, step S12 is performed. Proceed to. In step S12, if it is checked whether or not a prize ball discharge request (strobe signal C of prize ball data) is received from the gaming board control device 400, the process number is set to "1" in step S22. This is because when the main routine is executed again, the process proceeds to the winning ball start process in step S19. Step S
If there is no ejection request in step 12, after the supply process (FIG. 43) and the information output process (FIG. 44) are executed, the above-described step S3
Return to
【0048】図13には、図12のメインルーチン(バ
ックグランド処理)に優先して排出制御装置600によ
って所定時間(例えば0.5msec)経過毎に行なわ
れるタイマ割込処理の手順が示されている。この割込処
理は各種入力信号の読込みのために行なわれるものであ
る。この割込処理が開始されると、先ず、各種タイマの
カウント値の更新が行なわれ(ステップS40)、次い
で玉貸しリクエスト検出処理(ステップS41)、賞球
データ検出処理(ステップS42)、枠センサの入力処
理(ステップS43)、排出センサ1の入力処理(ステ
ップS44)、排出センサ2の入力処理(ステップS4
6)、排出センサ1レベル入力処理(ステップS4
8)、排出センサ2レベル入力処理(ステップS5
0)、球抜センサの入力処理(ステップS52)、補給
センサの入力処理(ステップS54)、オーバーフロー
検出器入力処理(ステップS56)、待機球検出器の入
力処理(ステップS58)およびアウトセンサ入力処理
(ステップS60)が順次行なわれる。FIG. 13 shows a procedure of a timer interrupt process performed every time a predetermined time (for example, 0.5 msec) elapses by the discharge control device 600 prior to the main routine (background process) of FIG. I have. This interrupt processing is performed for reading various input signals. When the interrupt processing is started, first, the count values of various timers are updated (step S40), then a ball lending request detection processing (step S41), a prize ball data detection processing (step S42), a frame sensor Input processing (step S43), input processing of the discharge sensor 1 (step S44), input processing of the discharge sensor 2 (step S4).
6), discharge sensor 1 level input processing (step S4)
8), discharge sensor 2 level input processing (step S5)
0), input process of a ball sensor (step S52), input process of a replenishment sensor (step S54), input process of an overflow detector (step S56), input process of a standby ball detector (step S58), and out sensor input process (Step S60) is sequentially performed.
【0049】図14は、上記ステップS41にて行なわ
れる玉貸しリクエスト検出処理ルーチンのフローチャー
トである。この処理ルーチンでは、まずRAM内に用意
され図39の玉貸し排出処理ルーチン中で更新される連
続玉貸しカウンタの値が「5」であるか否か判定し(ス
テップS4102)、“No”であればステップS41
04へ進んで賞球排出中か否か調べ、賞球排出中なら玉
貸し要求フラグをリセットして処理を終了する(ステッ
プS4118)。また、賞球排出中でなければ次のステ
ップS4106で玉貸し排出中か否か判定し、玉貸し排
出中なら何もせずに処理を終了する。本実施例では、貸
し玉への1回の変換が200円とか300円等の単位に
設定されていたとしても排出ソレノイドに対しては10
0円単位で排出指令を出すようにしていることを考慮し
たためである。FIG. 14 is a flowchart of a ball lending request detection processing routine performed in step S41. In this processing routine, it is first determined whether or not the value of the continuous ball lending counter prepared in the RAM and updated in the ball lending discharge processing routine of FIG. 39 is "5" (step S4102). If there is, step S41
The process proceeds to step 04 to check whether or not a prize ball is being discharged. If the prize ball is being discharged, the ball lending request flag is reset and the process ends (step S4118). If a prize ball is not being discharged, it is determined in the next step S4106 whether or not a ball is being discharged. If a ball is being discharged, the process ends without doing anything. In this embodiment, even if one conversion to a lending ball is set to a unit such as 200 yen or 300 yen, 10 conversions are required for the discharge solenoid.
This is because a discharge command is issued in units of 0 yen.
【0050】上記ステップS4106で玉貸し排出中で
ないと判定すると、ステップS4108へ進み、玉貸し
要求信号Tがロウレベルにされているか判定し、“Ye
s”なら信号が連続して5m秒ロウレベルになっている
か調べる(ステップS4120)。連続して5m秒ロウ
レベルになっているのを確認して玉貸し要求信号がアサ
ートされたと判断することによってノイズによる誤動作
を防止するためである。そして、ステップS4120の
判定で“No”なら何もせずに、また“Yes”なら玉
貸し要求フラグをセットして処理を終了する(ステップ
S4122)。これによって、図12のメインルーチン
中のステップS11で“Yes”と判定されて、玉貸し
開始処理S21が開始される。さらに、ステップS41
08で“No”すなわち玉貸し要求信号Tがハイレベル
であると判定したときは、ステップS4110へ進ん
で、玉貸し要求信号Tが連続して5m秒間ハイレベル
(Hレベル)か否か判定する。そして、連続して5m秒
間ハイレベルであった場合には玉貸し要求がなくなった
と判断して、連続玉貸しカウンタをクリアして玉貸し要
求フラグをリセット、玉貸し可能を示すP台レディフラ
グを「0」にクリアして処理を終了する(ステップS4
124,S4126,S4128)。If it is determined in step S4106 that ball lending is not being discharged, the flow advances to step S4108 to determine whether the ball lending request signal T is at a low level.
If s ", it is checked whether the signal is continuously at the low level for 5 ms (step S4120). By confirming that the signal is continuously at the low level for 5 ms, it is determined that the ball lending request signal has been asserted, and noise is determined. Then, if the determination in step S4120 is "No", nothing is performed, and if "Yes", the ball lending request flag is set and the process is terminated (step S4122). 12, "Yes" is determined in step S11 in the main routine, and the ball lending start process S21 is started.
If “No” in 08, that is, it is determined that the ball lending request signal T is at the high level, the process advances to step S4110 to determine whether the ball lending request signal T is continuously at the high level (H level) for 5 ms. . If the high level is continuously attained for 5 msec, it is determined that there is no ball lending request, the continuous ball lending counter is cleared, the ball lending request flag is reset, and the P-unit ready flag indicating that ball lending is possible is set. Clear to "0" and end the processing (step S4
124, S4126, S4128).
【0051】一方、ステップS4102の判定で“Ye
s”であればステップS4112へ進んで玉貸し制御装
置500からの玉貸し要求信号Tがハイレベルか否か判
定する。ここで、玉貸し要求信号Tがロウレベル(Lレ
ベル)であれば、何もせずにそのままこのルーチンを終
了し、玉貸し要求信号Tがハイレベルであれば、ステッ
プS4114へ進み、玉貸し要求信号Tが連続して5m
秒間ハイレベルか否か判定する。そして、玉貸し要求信
号Tが連続して5m秒間ハイレベルであれば、玉貸し要
求信号Tがネゲートされたと判定して連続玉貸しカウン
タをクリアして処理を終了する(ステップS411
6)。一度に500円分を越える変換を回避するためで
ある。On the other hand, “Ye”
If s ", the flow advances to step S4112 to determine whether or not the ball lending request signal T from the ball lending control device 500 is at a high level. If the ball lending request signal T is at a low level (L level), If the ball lending request signal T is at a high level, the process proceeds to step S4114, and the ball lending request signal T is continuously 5 m.
It is determined whether the level is high for a second. If the ball lending request signal T is continuously at the high level for 5 msec, 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 S411).
6). This is to avoid conversion exceeding 500 yen at a time.
【0052】図15は、上記ステップS42にて行なわ
れる賞球データ検出処理ルーチンのフローチャートであ
る。この処理においては、まず玉貸し排出中か否か調べ
て(ステップS4202)、排出中でないときはステッ
プS4204へ進んで既に賞球排出処理に入っているか
否か判定して賞球排出中なら何もせずに処理を終了し、
賞球排出中でないときはステップS4206へ進んで遊
技盤制御装置400からのデータストローブ信号Cがロ
ウレベルにアサートされているか調べる。ここでデータ
ストローブ信号Cがロウレベルであると判定すると、ス
テップS4212へ移行して信号が連続して10m秒以
上ロウレベルにされているか判定し、“Yes”なら遊
技盤制御装置400からの賞球数データBを読み込んで
から、賞球要求フラグをセットして処理を終了する(ス
テップS4214,S4216)。これによって、図1
2のメインルーチン中のステップS12で“Yes”と
判定されて、処理ナンバーが“1”に設定され、しかる
後ステップS9で“Yes”と判定されて賞球開始処理
S19が開始される。FIG. 15 is a flowchart of a winning ball data detection processing routine performed in step S42. In this process, it is first checked whether or not the ball is being discharged (step S4202). If the ball is not being discharged, the process proceeds to step S4204 to determine whether or not the prize ball discharging process has already been started. End the process without doing
If the prize ball is not being discharged, the flow advances to step S4206 to check whether the data strobe signal C from the game board control device 400 has been asserted to a low level. If it is determined that the data strobe signal C is at the low level, the process proceeds to step S4212 to determine whether the signal is continuously at the low level for 10 ms or more. After reading the data B, the prize ball request flag is set and the process is terminated (steps S4214 and S4216). As a result, FIG.
In step S12 of the second main routine, "Yes" is determined, and the processing number is set to "1". Thereafter, "Yes" is determined in step S9, and the prize ball start processing S19 is started.
【0053】一方、上記ステップS4202で玉貸し排
出中であると判定すると、ステップS4208へ移行し
て上記ステップS4214,S4216でセットした賞
球数データおよび賞球要求フラグをリセットして処理を
終了する(ステップS4210)。賞球排出処理よりも
玉貸し排出処理を優先させるためである。ただし、玉貸
し排出処理が優先されるのは賞球数データおよび賞球要
求フラグがセットされただけの場合であり、一旦賞球排
出動作が開始された段階での賞球排出処理のリセットは
なされないように図14の玉貸リクエスト検出処理の中
で対処されている(ステップS4104,S4118参
照)。On the other hand, if it is determined in step S4202 that the ball is being lent and discharged, the flow shifts to step S4208 to reset the prize ball number data and the prize ball request flag set in steps S4214 and S4216, and terminate the process. (Step S4210). This is for giving priority to the ball lending discharge processing over the prize ball discharge processing. However, the ball lending discharge processing is prioritized only when the prize ball count data and the prize ball request flag are set, and once the prize ball discharge operation is started, the prize ball discharge processing is reset. This is dealt with in the ball lending request detection processing of FIG. 14 so as not to be performed (see steps S4104 and S4118).
【0054】図16は、上記ステップS43にて行なわ
れる枠センサ入力処理ルーチンのフローチャートであ
る。この枠センサ入力処理は、パチンコ遊技機に設けら
れた枠センサ103の信号を取り込んで、情報出力処理
S24においてホールの管理装置700に対して出力す
る信号を形成する遊技台情報出力処理フロー(図48)
中にて枠開放信号を形成する過程で用いられる枠開放フ
ラグおよび枠閉塞フラグを設定するための処理である。
このルーチンが開始されると、先ずステップS4300
で枠センサ103の出力信号がハイレベル(枠センサ出
力=“1”)であるか否かが判定される。FIG. 16 is a flowchart of the frame sensor input processing routine performed in step S43. This frame sensor input processing is a game console information output processing flow (FIG. 7) which takes in a signal of the frame sensor 103 provided in the pachinko gaming machine and forms a signal to be output to the hall management device 700 in the information output processing S24. 48)
This is a process for setting a frame opening flag and a frame closing flag used in the process of forming a frame opening signal inside.
When this routine is started, first, in step S4300
It is determined whether or not the output signal of the frame sensor 103 is at a high level (frame sensor output = "1").
【0055】今仮りにパチンコ遊技機の前面枠101が
閉じていたとする。すると、ステップS4300の判定
結果は“Yes”となり、ステップS4302へ進み枠
閉塞フラグが“1”か否か判定される。ここで、初期設
定では判定フラグがすべて“0”にセットされている
(図12のステップS2)ので、ステップS4302の
判定および次のステップS4304の判定(枠閉塞監視
フラグが“1”か否か)の結果は共に“No”となり、
枠閉塞監視フラグを“1”に設定し(ステップS430
6)、枠開放監視フラグを“0”に設定し(ステップS
4308)、更に枠閉塞タイマを所定値(100m秒)
にセットして(ステップS4310)、本ルーチンを終
了する。It is now assumed that the front frame 101 of the pachinko gaming machine is closed. Then, the determination result of step S4300 is “Yes”, and the process proceeds to step S4302 to determine whether the frame closing flag is “1”. Here, since the determination flags are all set to “0” in the initial setting (step S2 in FIG. 12), the determination in step S4302 and the determination in the next step S4304 (whether the frame closing monitoring flag is “1” or not) ) Are both "No",
The frame closing monitoring flag is set to "1" (step S430).
6), and set the frame opening monitoring flag to “0” (Step S)
4308) Further, the frame closing timer is set to a predetermined value (100 ms).
Is set (step S4310), and this routine ends.
【0056】そして、次のループが開始されたときに引
き続き枠センサがオンであると、前記ステップS430
0の判定結果が“Yes”、続くステップS4302の
判定結果が“No”、S4304の判定結果が“Ye
s”となってステップS4312が実行される。このス
テップS4312では、前記ステップS4310で起動
させた枠閉塞タイマがタイムアップしたか否か判定さ
れ、判定結果が“No”のときには、続くステップS4
314,S4316をスキップして本ルーチンを終了す
る。一方、前記ステップS4312の判定結果が“Ye
s”のときには、ステップS4314にて枠センサ閉塞
フラグを“1”に設定すると共に、次のステップS43
16にて、枠センサ開放フラグをリセット(“0”に設
定)して本ルーチンを終了する。If the frame sensor is still on when the next loop is started, step S430 is performed.
The determination result of step S4302 is “No”, and the determination result of step S4302 is “Yes”.
s "and the step S4312 is executed. In the step S4312, it is determined whether or not the time of the frame closing timer started in the step S4310 has expired.
This routine is ended by skipping 314 and S4316. On the other hand, if the result of the determination in step S4312 is “Ye
s ", the frame sensor closing flag is set to" 1 "in step S4314, and the next step S43
At 16, the frame sensor open flag is reset (set to "0"), and this routine ends.
【0057】一方、上記ステップS4300で“No”
すなわち枠センサ103がオフであると判定されると、
ステップS4318へ移行して、ステップS4302な
いしS4316と相補的なステップであるS4318な
いしS4332からなるルーチンを実行して、枠開放フ
ラグを“1”に、また枠閉塞フラグを“0”にそれぞれ
設定して本ルーチンを終了する。すなわち、まずステッ
プS4318(枠開放フラグが“1”か否か)および次
のステップS4320(枠開放監視フラグが“1”か否
か)の判定結果は共に“No”となり、ステップS43
22で枠開放監視フラグを“1”に設定してから、枠閉
塞監視フラグを“0”に設定し(ステップS432
4)、更に枠開放タイマを起動して(ステップS432
6)、本ルーチンを終了する。On the other hand, "No" in step S4300
That is, when it is determined that the frame sensor 103 is off,
The flow proceeds to step S4318 to execute a routine consisting of steps S4318 to S4332, which are steps complementary to steps S4302 to S4316, to set the frame opening flag to "1" and the frame closing flag to "0", respectively. To end this routine. In other words, first steps
The determination result is both "No" next flop S4318 (frame opening flag whether "1") and the next step S4320 (whether the frame opening monitor flag is "1" or), Step S43
After setting the frame opening monitoring flag to "1" at 22, the frame closing monitoring flag is set to "0" (step S432).
4) Then, a frame release timer is started (step S432).
6), end this routine.
【0058】そして、次のループが開始されたときに引
き続き枠センサがオフであると、前記ステップS430
0の判定結果が“No”、続くステップS4302の判
定結果が“No”、S4304の判定結果が“Yes”
となってステップS4328が実行される。このステッ
プS4328では、前記ステップS4326で起動させ
た枠閉塞タイマがタイムアップしたか否か判定され、判
定結果が“No”のときには、続くステップS433
0,S4332をスキップして本ルーチンを終了する。
一方、前記ステップS4328の判定結果が“Yes”
のときには、ステップS4330にて枠センサ開放フラ
グを“1”に設定すると共に、次のステップS4332
にて、枠センサ閉塞フラグをリセット(“0”に設定)
して本ルーチンを終了する。ただし、ステップS432
6で起動する枠開放タイマの設定時間は上記枠閉塞タイ
マ(ステップS4310)よりもずっと長い1000m
秒のような時間が選択されている。If the frame sensor is still off when the next loop is started, step S430 is performed.
The determination result of 0 is “No”, the determination result of subsequent step S4302 is “No”, and the determination result of S4304 is “Yes”.
And step S4328 is executed. In this step S4328, it is determined whether or not the time of the frame closing timer started in step S4326 has expired. If the determination result is “No”, the following step S433 is performed.
0, S4332 is skipped, and this routine ends.
On the other hand, the determination result of step S4328 is “Yes”
In step S4330, the frame sensor open flag is set to "1" in step S4330, and the next step S4332 is executed.
To reset the frame sensor block flag (set to "0")
Then, this routine ends. However, step S432
The setting time of the frame release timer started in step 6 is 1000 m, which is much longer than the frame close timer (step S4310).
A time like seconds is selected.
【0059】図17は、上記ステップS44にて行なわ
れる排出センサ1の入力処理ルーチンのフローチャート
である。このルーチンは排出センサ730aの状態を検
出するためのものであり、該センサは内側に賞品球が存
在しているときその出力信号がハイレベルとなり、賞品
球が流出して一時的に又は継続してセンサ内に存在しな
くなったときその出力信号がロウレベルとなるように構
成されている。従って本ルーチンではセンサ730aの
出力信号がロウレベルからハイレベルに立ち上がったと
きに後述の排出センサ1立上フラグを“1”に設定して
賞品球が該センサ内に達したことを記憶するようになっ
ている。一方、該センサ730a(以下、排出センサ1
と記す)の出力信号がハイレベルからロウレベルに立下
がったとき後述の排出センサ立下フラグを“1”に設定
して賞品球が該センサ内より脱したことを記憶するよう
になっている。FIG. 17 is a flowchart of the input processing routine of the discharge sensor 1 performed in step S44. This routine is for detecting the state of the discharge sensor 730a. When the prize ball is present inside the sensor, the output signal thereof becomes high level, and the prize ball flows out and temporarily or continuously. Therefore, the output signal becomes low level when it no longer exists in the sensor. Therefore, in this routine, when the output signal of the sensor 730a rises from the low level to the high level, a discharge sensor 1 start-up flag described later is set to "1" to store that the prize ball has reached the inside of the sensor. Has become. On the other hand, the sensor 730a (hereinafter, discharge sensor 1)
When the output signal falls from the high level to the low level, a discharge sensor fall flag described later is set to "1" to memorize that the prize ball has fallen out of the sensor.
【0060】本ルーチンが開始されると、先ずステップ
S4402にて該センサ1の出力信号がハイレベル(排
出センサ1出力=“1”)であるか否かが判定される。
今仮りに賞品球の排出が行われず1つの賞品球がセンサ
1内に留まっている状態を考える。このときステップS
4402の判定結果は“Yes”となってステップS4
404以降が実行される。ステップS4404では排出
1立上変化フラグが“1”であるか否かが、ステップS
4406では排出1立下変化フラグが“1”であるか否
かが、ステップS4408では排出1ロウレベルフラグ
が“1”であるか否かが、次いでステップS4410で
は排出1ハイレベルフラグが“1”であるか否かが夫々
判定される。ところでCPU610の初期化直後はすべ
てのフラグが“0”に設定されているため、ステップS
4404〜S4410の判定結果はすべて“No”とな
り、ステップS4412にて、今回ループで排出センサ
1の出力信号がハイレベルであったことを記憶すべく排
出1ハイレベルフラグを“1”に設定して本ルーチンを
終了する。When this routine is started, it is first determined in step S4402 whether the output signal of the sensor 1 is at a high level (the output of the discharge sensor 1 = "1").
It is now assumed that one prize ball remains in the sensor 1 without discharging the prize ball. At this time, step S
The result of the determination in 4402 is “Yes”, and the
Steps 404 and thereafter are executed. In step S4404, it is determined whether the discharge 1 startup change flag is “1” in step S4404.
At 4406, it is determined whether the discharge 1 fall change flag is "1", at step S4408, whether the discharge 1 low level flag is "1", and then, at step S4410, the discharge 1 high level flag is "1". Is determined respectively. By the way, immediately after the initialization of the CPU 610, all the flags are set to “0”.
The determination results in 4404 to S4410 are all “No”, and in step S4412, the discharge 1 high level flag is set to “1” to store that the output signal of the discharge sensor 1 was at the high level in the current loop. To end this routine.
【0061】以後のループでは、排出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 holds the high level state, step S44 is performed.
02, S4404, S4406, S4408, S441
0 will be repeatedly executed. After that, the discharge of the prize ball is started, and when the prize ball which has stayed in the sensor 1 until then moves outside of the discharge sensor 1 and comes out of the sensor 1, the output signal of the discharge sensor 1 falls to low level. The result of the determination in step S4402 is "No", and steps S4432 and thereafter are executed.
【0062】ステップS4432以降の処理が最初に行
なわれるときには、前記排出1ハイレベルフラグは
“1”、それ以外のフラグはすべて“0”であるため、
該ステップS4432の判定(排出1立下変化フラグが
“1”であるか)、次のステップS4434の判定(排
出1立上変化フラグが“1”であるか)の結果が共に
“No”、続くステップS4436(排出1ハイレベル
フラグが“1”であるか)の判定の結果が“Yes”と
なってステップS4438,S4440が実行される。
ステップS4438では、前回ループから今回ループ
にかけて排出センサ1の出力信号がハイレベルからロウ
レベルに変化した(立下がった)ことを記憶すべく、排
出1立下変化フラグを“1”に設定し、続くステップS
4440では、この時点まで“1”に設定されていた排
出1ハイレベルフラグをリセット(“0”に設定)し、
本ルーチンを終了する。When the processing after step S4432 is performed for the first time, the discharge 1 high level flag is "1" and the other flags are all "0".
The results of the determination in step S4432 (whether the discharge 1 fall change flag is “1”) and the next determination in step S4434 (whether the discharge 1 rise change flag is “1”) are both “No”, The result of the determination of the following step S4436 (whether the discharge 1 high level flag is "1") becomes "Yes" and steps S4438 and S4440 are executed.
In step S4438, the discharge 1 fall change flag is set to "1" in order to store that the output signal of the discharge sensor 1 has changed (falled) from the high level to the low level from the previous loop to the current loop. Step S
At 4440, the discharge 1 high level flag that has been set to "1" up to this point is reset (set to "0"), and
This routine ends.
【0063】更に次のループで引き続き排出センサ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)本ルーチンを
終了する。When the output signal of the discharge sensor 1 is continuously at the low level in the next loop, the discharge 1 fall change flag is set to "1" in step S4438 of the previous loop. Turns to “Yes”. Then, the subsequent step S4442
In steps S4448 to S4448, the discharge sensor 1 fall flag is set to "1" to store that the prize ball has escaped from the inside of the discharge sensor 1 (step S4442). Discharge sensor 1 indicating that there is a prize ball
The rise flag (set to “0” when this step is executed for the first time after initialization) is reset to “0” (step S4444), and then the discharge 1 fall change flag is set to “0”. to reset (step S4446), the output signal of the exhaust sensor 1 at the current loop is completed the discharge 1 the low-level flag is set to "1" (step S4448) and this routine in order to store it at a low level .
【0064】次回以降のループでも、排出センサ1の出
力信号がロウレベルであると、排出1立下変化フラグ、
排出1立上変化フラグ、排出1ハイレベルフラグは全て
“0”、排出1ロウレベルフラグが“1”となっている
ので、前記ステップS4402,S4432,S443
4,S4436及びステップS4450(排出1ロウレ
ベルフラグが“1”でいるか否かの判定)が繰返し実行
され(このとき該ステップS4450の判定結果は“Y
es”となる)、このとき排出センサ1立下フラグは
“1”、排出センサ1立上フラグは“0”に保持され
る。In the next and subsequent loops, if the output signal of the discharge sensor 1 is at the 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 (determination of whether or not the discharge 1 low level flag is "1") are repeatedly executed (at this time, the determination result of step S4450 is "Y
At this time, the discharge sensor 1 fall flag is held at "1" and the discharge sensor 1 rise flag is held at "0".
【0065】一方、排出センサ1の出力信号がハイレベ
ルからロウレベルに立下がった直後のループにおいて、
当該出力信号が再びハイレベルに立上がってしまった場
合(前回ループでステップS4438が実行されて排出
1立下変化フラグが“1”となり、且つ今回ループでセ
ンサ出力がハイレベルに立上がった場合)には、ステッ
プS4402の判定結果が“Yes”に転じ、更にステ
ップS4404の判定結果が“No”、ステップS44
06の判定結果が“Yes”と云う具合に判定され、ス
テップS4428にて前回ループから今回ループにかけ
て出力信号が立上がったことを記憶すべく排出1立上変
化フラグを“1”に設定すると共に、ステップS443
0にて前回ループ時に“1”に設定した排出1立下変化
フラグを“0”にリセットして本ルーチンを終了する。On the other hand, in a loop immediately after the output signal of the discharge sensor 1 falls from the high level to the low level,
When the output signal has risen to the high level again (when the step S4438 is executed in the previous loop, the discharge 1 fall change flag becomes “1”, and the sensor output rises to the high level in the current loop) In), the determination result of step S4402 changes to “Yes”, the determination result of step S4404 changes to “No”, and step S44
It is determined that the result of the determination in step 06 is "Yes". In step S4428, the discharge 1 rise change flag is set to "1" in order to store that the output signal has risen from the previous loop to the current loop. , Step S443
At 0, the discharge 1 fall change flag that was set to "1" during the previous loop is reset to "0", and this routine ends.
【0066】この結果、排出センサ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 time or more after the output signal of the discharge sensor 1 falls (at least during the time when the main interrupt processing is performed twice). (The prize ball is sensor 1
The processing is not performed, and when the output signal of the discharge sensor 1 generates noise and the signal falls instantaneously, the discharge 1 fall flag is erroneously set. It is not set to “1”.
【0067】次に、先の賞品球がセンサ1内より脱した
後、次の賞品球がセンサ1内に達した場合を考える。こ
のとき、ステップS4402の判定(センサ1の出力信
号がロウレベルであるか否かの判定)は“Yes”とな
り、前記ステップS4404の判定(排出1立上変化フ
ラグが“1”)が行なわれ、この場合判定結果は“N
o”となり、ステップS4406にて排出1立下変化フ
ラグが“1”であるか否かの判定が行われる。このとき
該ステップS4406の判定結果も“No”(前記ステ
ップS4446にて“0”に設定される)となってステ
ップS4408に進み、排出1ロウレベルフラグが
“1”であるか否かの判定が行なわれる。Next, consider a case where the next prize ball reaches the inside of the sensor 1 after the previous prize ball comes out of the sensor 1. At this time, the determination in step S4402 (determination whether or not the output signal of the sensor 1 is at the low level) is “Yes”, and the determination in step S4404 (the discharge 1 rise change flag is “1”) is performed. In this case, the determination result is “N
o, and it is determined in step S4406 whether the discharge 1 fall change flag is “1.” At this time, the determination result in step S4406 is also “No” (“0” in step S4446). Is set), the process proceeds to step S4408, and it is determined whether or not the discharge 1 low level flag is “1”.
【0068】この時点では排出1ロウレベルフラグは前
記ステップS4448にて“1”に設定されているので
ステップS4408の判定結果は“Yes”となり、ス
テップS4414に進んで、前回ループから今回ループ
にかけて排出センサ1の出力信号がロウレベルからハイ
レベルに変化した(立上った)ことを記憶すべく、排出
1立上変化フラグを“1”に設定し、続くステップS4
416で、この時点まで“1”に設定されていた排出1
ロウレベルフラグをリセット(“0”に設定)して、本
ルーチンを終了する。At this time, since the discharge 1 low level flag is set to "1" in step S4448, the determination result in step S4408 is "Yes", and the flow advances to step S4414 to execute the discharge sensor from the previous loop to the current loop. In order to memorize that the output signal of No. 1 has changed (rising) from the low level to the high level, the discharge 1 rising change flag is set to "1", and the following step S4
At 416, the discharge 1 that has been set to “1” up to this point
The low level flag is reset (set to "0"), and this routine ends.
【0069】更に次のループで引き続き排出センサ1の
出力信号がハイレベルのときには、前回ループのステッ
プS4414で排出1立上変化フラグが“1”に設定さ
れているので、前記ステップS4404の判定結果が
“Yes”に転じる。そして、続くステップS4418
〜S4424で、排出センサ1内に賞品球があることを
記憶すべく排出センサ1立上フラグを“1”に設定(ス
テップS4418)すると共に、その値が“1”のとき
センサ内より賞品球が脱したことを示す排出センサ1立
下フラグを“0”にリセットし(ステップS442
0)、続いて前記排出1立上変化フラグを“0”にリセ
ットする(ステップS4422)と共に、今回ループで
の排出センサ1の出力信号がハイレベルであることを記
憶すべく排出1ハイレベルフラグを“1”に設定して
(ステップS4424)本ルーチンを終了する。When the output signal of the discharge sensor 1 is continuously at the high level in the next loop, the discharge 1 rise change flag is set to "1" in step S4414 of the previous loop, so that the result of the determination in step S4404 is obtained. Turns to “Yes”. Then, the subsequent step S4418
In steps S4424 to S4424, the start-up flag of the discharge sensor 1 is set to "1" to store that there is a prize ball in the discharge sensor 1 (step S4418), and when the value is "1", the prize ball is output from the sensor. Is reset to "0" indicating that the sensor has come off (step S442).
0) Then, the discharge 1 rise change flag is reset to "0" (step S4422), and the discharge 1 high level flag is stored to store that the output signal of the discharge sensor 1 in this loop is at the high level. Is set to "1" (step S4424), and this routine ends.
【0070】その後、排出センサ1の出力信号がハイレ
ベルである限り、前記ステップS4402,S440
4,S4406,S4408,S4410が繰返し実行
されることになり、このとき、排出1立上フラグは
“1”、排出1立下フラグは“0”に保持される。一
方、排出センサ1の出力信号がロウレベルからハイレベ
ルに立上がった直後のループにおいて、該出力信号がロ
ウレベルに立下がってしまった場合(前回ループでステ
ップS4414が実行されて排出1立上変化フラグが
“1”となり、且つ今回ループの出力信号がロウレベル
の場合)には、ステップS4402の判定結果が“N
o”、ステップS4432の判定結果が“No”、ステ
ップS4434の判定結果が“Yes”と云う具合に判
定され、ステップS4452にて前回ループから今回ル
ープにかけて出力信号が立下がったことを記憶すべく排
出1立下変化フラグを“1”に設定すると共に、ステッ
プS4454にて前回ループ時に“1”に設定された排
出1立上変化フラグを“0”にリセットして本ルーチン
を終了する。Thereafter, as long as the output signal of the discharge sensor 1 is at the high level, steps S4402 and S440 are performed.
4, S4406, S4408, and S4410 are repeatedly executed. At this time, the discharge 1 rise flag is held at "1" and the discharge 1 fall flag is held at "0". On the other hand, in a loop immediately after the output signal of the discharge sensor 1 has risen from the low level to the high level, if the output signal has fallen to the low level (Step S4414 was executed in the previous loop and the discharge 1 rise change flag Becomes “1” and the output signal of the current loop is low level), the determination result of step S4402 is “N”.
o ", the determination result in step S4432 is" No ", and the determination result in step S4434 is" Yes ". In step S4452, the fact that the output signal has fallen from the previous loop to the current loop is stored. The discharge 1 fall change flag is set to "1", and in step S4454, the discharge 1 rise change flag that was set to "1" in the previous loop is reset to "0", and this routine ends.
【0071】以上のように、排出センサ1の出力信号が
立上がった後ハイレベルの状態が所定時間以上(少なく
とも本割込処理が2回行なわれる間)検知されない限
り、排出1立上フラグを“1”に設定する(排出センサ
1内に賞品球があることを示す)処理は行なわれないよ
うになっており、排出センサ1の出力信号にノイズが発
生した場合等に誤って排出1立上フラグが“1”に設定
されないようになっている。As described above, unless the output signal of the discharge sensor 1 rises and the high level state is detected for a predetermined time or more (at least during the time when the main interrupt process is performed twice), the discharge 1 rise flag is set. The process of setting to “1” (indicating that there is a prize ball in the discharge sensor 1) is not performed, and when the output signal of the discharge sensor 1 generates noise, the discharge 1 is erroneously set. The upper flag is not set to "1".
【0072】以上のルーチンを実行することによって、
排出センサ1の出力信号が立ち上がった後、所定期間以
上(少なくとも本割込処理が2回行なわれる間)その状
態が維持されたときにのみ排出センサ1立上フラグが
“1”に設定され、従って該立上フラグは賞品球が排出
センサ1内に達したことを示すようになる。反対に排出
センサ1の出力信号が立ち下がった後、所定期間以上
(少なくとも本割込処理が2回行なわれる間)その状態
が維持されたときにのみ排出センサ1立下フラグが
“1”に設定され、従って該立下フラグは賞品球が排出
センサ1内より脱したことを示すようになる。この排出
センサ1立上フラグ及び排出センサ1立下フラグは、バ
ックグランド処理(メインルーチン)の中の交互排出処
理、又は併用排出処理(後述の図35、図36)にて参
照される。By executing the above routine,
After the output signal of the discharge sensor 1 rises, the discharge sensor 1 start flag is set to “1” only when the state is maintained for a predetermined period or more (at least while the main interrupt process is performed twice), Therefore, the rising flag indicates that the prize ball has reached the inside of the discharge sensor 1. Conversely, after the output signal of the discharge sensor 1 has fallen, the discharge sensor 1 fall flag is set to "1" only when the state is maintained for a predetermined period or more (at least while the main interrupt process is performed twice). Thus, the fall flag indicates that the prize ball has fallen out of the discharge sensor 1. The discharge sensor 1 rise flag and the discharge sensor 1 fall flag are referred to in the alternate discharge process in the background process (main routine) or the combined discharge process (FIGS. 35 and 36 described later).
【0073】図18は割込処理(図17)の前記ステッ
プS46にて行なわれる排出センサ2の入力処理ルーチ
ンのフローチャートである。本ルーチンは排出センサ7
30bの状態を検出するためものであり、上述した排出
センサ1の入力処理ルーチンと同一の手順にて行なわれ
る。尚、本ルーチンでは、上述の排出センサ1の入力処
理と同様、該センサ730b(以下排出センサ2と記
す)の出力信号がロウレベルからハイレベルに立上がっ
たとき排出センサ2立上フラグを“1”に設定して賞品
球が該センサ内に達したことを記憶し、一方、ハイレベ
ルからロウレベルに立下がったとき排出センサ2立下フ
ラグを“1”に設定して賞品球が該センサ内より脱した
ことを記憶するようにしている。FIG. 18 is a flowchart of an input processing routine of the discharge sensor 2 performed in step S46 of the interrupt processing (FIG. 17). This routine uses the discharge sensor 7
This is for detecting the state of 30b, and is performed in the same procedure as the above-described input processing routine of the discharge sensor 1. In this routine, similarly to the input processing of the discharge sensor 1 described above, when the output signal of the sensor 730b (hereinafter referred to as the discharge sensor 2) rises from a low level to a high level, the discharge sensor 2 start flag is set to "1". Is set to "1" to memorize that the prize ball has reached the inside of the sensor. On the other hand, when the prize ball falls from the high level to the low level, the discharge sensor 2 fall flag is set to "1" and the prize ball is set in the sensor. I try to memorize that I have escaped.
【0074】具体的には、本ルーチンが開始されると、
先ずステップS4602にて該センサ2の出力信号がハ
イレベル(排出センサ2出力=“1”)であるか否かが
判定される。今仮りに賞品球の排出が行われず1つの賞
品球がセンサ2内に留まっている状態を考える。このと
きステップS4602の判定結果は“Yes”となって
ステップS4604以降が実行される。ステップS46
04では排出2立上変化フラグが“1”であるか否か
が、ステップS4606では排出2立下変化フラグが
“1”であるか否かが、ステップS4608では排出2
ロウレベルフラグが“1”であるか否かが、次いでステ
ップS4610では排出2ハイレベルフラグが“1”で
あるか否かが夫々判定される。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 (the output of the discharge sensor 2 = “1”). It is now assumed that one prize ball remains in the sensor 2 without discharging the prize ball. At this time, the determination result of step S4602 is “Yes”, and the steps from step S4604 are performed. Step S46
In step S4606, it is determined whether or not the discharge 2 rise change flag is "1" in step S4606, and whether or not the discharge 2 fall change flag is "1" in step S4608.
It is determined whether the low level flag is “1”, and then, in step S4610, whether the discharge 2 high level flag is “1”.
【0075】ところでCPU610の初期化直後はすべ
てのフラグが“0”に設定されているため、ステップS
4604〜S4610の判定結果はすべて“No”とな
り、ステップS4612にて、今回ループで排出センサ
2の出力信号がハイレベルであったことを記憶すべく排
出2ハイレベルフラグを“1”に設定して本ルーチンを
終了する。以後のループでは排出2ハイレベルフラグが
“1”に設定されているので、排出センサ2の出力信号
がハイレベルの状態を保持する限りステップS460
2,S4604,S4606,S4608,S4610
が繰返し実行されることになる。By the way, immediately after the initialization of the CPU 610, all the flags are set to "0".
All the determination results in 4604 to S4610 are “No”, and in step S4612, the discharge 2 high level flag is set to “1” to store that the output signal of the discharge sensor 2 was at the high level in the current loop. To end this routine. In the subsequent loop, since the discharge 2 high level flag is set to "1", as long as the output signal of the discharge sensor 2 keeps the state of the high level, step S460 is performed.
2, S4604, S4606, S4608, S4610
Is repeatedly executed.
【0076】その後、賞品球の排出が開始され、それま
でセンサ2内に留まっていた賞品球が排出センサ2内よ
り外側に移動してセンサ2内より脱すると、排出センサ
2の出力信号がロウレベルに立下り、前記ステップS4
602の判定結果が“No”となってステップS463
2以降が実行される。ステップS4632以降の処理が
最初に行なわれるときには、前記排出2ハイレベルフラ
グは“1”、それ以外のフラグはすべて“0”であるた
め、該ステップS4632の判定(排出2立下変化フラ
グが“1”であるか)、次のステップS4634の判定
(排出2立上変化フラグが“1”であるか)の結果が共
に“No”、続くステップS4636(排出2ハイレベ
ルフラグが“1”であるか)の判定の結果が“Yes”
となってステップS4638,S4640が実行され
る。Thereafter, the discharge of the prize ball is started, and when the prize ball which has stayed in the sensor 2 until then moves outside the discharge sensor 2 and comes out of the sensor 2, the output signal of the discharge sensor 2 becomes low level. Falling in step S4
The result of the determination in 602 is “No” and the step S463
2 and subsequent steps are executed. When the processing after step S4632 is performed for the first time, the discharge 2 high level flag is “1” and the other flags are all “0”. Therefore, the determination in step S4632 (the discharge 2 falling change flag is “ 1), the result of the determination in the next step S4634 (whether the discharge 2 rise change flag is “1”) is “No”, and the subsequent step S4636 (the discharge 2 high level flag is “1”). Is "Yes"
As a result, steps S4638 and S4640 are executed.
【0077】ステップS4638では、前回ループから
今回ループにかけて排出センサ2の出力信号がハイレベ
ルからロウレベルに変化した(立下がった)ことを記憶
すべく、排出2立下変化フラグを“1”に設定し、続く
ステップS4640では、この時点まで“1”に設定さ
れていた排出2ハイレベルフラグをリセット(“0”に
設定)し、本ルーチンを終了する。更に次のループで引
き続き排出センサ2の出力信号がロウレベルのときに
は、前回ループのステップS4638で排出2立下変化
フラグが“1”に設定されているので、前記ステップS
4632の判定結果が“Yes”に転じる。そして、続
くステップS4642〜S4648で、賞品球が排出セ
ンサ2内より脱したことを記憶すべく排出センサ2立下
フラグを“1”に設定(ステップS4642)すると共
に、その値が“1”のときセンサ2内に賞品球があるこ
とを示す排出センサ2立上フラグ(初期化後初めて本ス
テップが実行されるときは“0”に設定されている)を
“0”にリセットし(ステップS4644)、続いて前
記排出2立下変化フラグを“0”にリセットする(ステ
ップS4646)と共に、今回ループでの排出センサ2
の出力信号がロウレベルであることを記憶すべく排出2
ロ ウレベルフラグを“1”に設定して(ステップS46
48)本ルーチンを終了する。In step S4638, the discharge 2 fall change flag is set to "1" to store that the output signal of the discharge sensor 2 has changed (falled) from the high level to the low level from the previous loop to the current loop. Then, in the subsequent step S4640, the discharge 2 high level flag that has been set to “1” up to this point is reset (set to “0”), and this routine ends. In the next loop, when the output signal of the discharge sensor 2 is continuously at the low level, the discharge 2 fall change flag is set to "1" in step S4638 of the previous loop.
The result of the determination at 4632 turns to “Yes”. Then, in the following steps S4642 to S4648, the discharge sensor 2 fall flag is set to "1" in order to store that the prize ball has come out of the discharge sensor 2 (step S4642), and the value is set to "1". At this time, the discharge sensor 2 start flag indicating that there is a prize ball in the sensor 2 (set to “0” when this step is executed for the first time after initialization) is reset to “0” (step S4644). Then, the discharge 2 fall change flag is reset to "0" (step S4646), and the discharge sensor 2 in the current loop is reset.
Output 2 to memorize that the output signal of
B a c level flag is set to "1" (step S46
48) This routine ends.
【0078】次回以降のループでも、排出センサ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", the above steps S4602, S4632, and S463 are performed.
4, S4636 and step S4650 (determination of whether or not the discharge 2 low level flag is "1") are repeatedly executed (at this time, the determination result of step S4650 is "Y
At this time, the discharge sensor 2 fall flag is held at "1" and the discharge sensor 2 rise flag is held at "0".
【0079】一方、排出センサ2の出力信号がハイレベ
ルからロウレベルに立下がった直後のループにおいて、
当該出力信号が再びハイレベルに立上がってしまった場
合(前回ループでステップS4638が実行されて排出
2立下変化フラグが“1”となり、且つ今回ループでセ
ンサ出力がハイレベルに立上がった場合)には、ステッ
プS4602の判定結果が“Yes”に転じ、更にステ
ップS4604の判定結果が“No”、ステップS46
06の判定結果が“Yes”と云う具合に判定され、ス
テップS4628にて前回ループから今回ループにかけ
て出力信号が立上がったことを記憶すべく排出2立上変
化フラグを“1”に設定すると共に、ステップS463
0にて前回ループ時に“1”に設定した排出2立下変化
フラグを“0”にリセットして本ルーチンを終了する。On the other hand, in a loop immediately after the output signal of the discharge sensor 2 falls from the high level to the low level,
When the output signal rises to the high level again (when the step S4638 is executed in the previous loop, the discharge 2 fall change flag becomes “1”, and the sensor output rises to the high level in the current loop) ), The determination result of step S4602 changes to “Yes”, the determination result of step S4604 changes to “No”, and step S46
It is determined that the result of the determination in step 06 is "Yes". In step S4628, the discharge 2 rise change flag is set to "1" to store that the output signal has risen from the previous loop to the current loop. , Step S463
At 0, the discharge 2 fall change flag that was set to "1" in the previous loop is reset to "0", and this routine ends.
【0080】この結果、排出センサ2の出力信号が立下
がった後ロウレベルの状態が所定時間以上(少なくとも
本割込処理が2回行なわれる間)検知されない限り、排
出2立下フラグを“1”に設定する(賞品球がセンサ2
内より脱したことを示す)処理は行なわれないようにな
っており、排出センサ2の出力信号にノイズが発生し瞬
間的に信号が立下った場合等誤って排出2立下フラグが
“1”に設定されないようになっている。As a result, the discharge 2 fall flag is set to "1" unless the low level state is detected for a predetermined time or more (at least during the time when the main interrupt processing is performed twice) after the output signal of the discharge sensor 2 falls. (Prize ball is sensor 2
The processing is not performed, and noise is generated in the output signal of the discharge sensor 2 and the discharge 2 fall flag is erroneously set to "1", for example, when the signal falls instantaneously. "Is not set.
【0081】次に、先の賞品球がセンサ2内より脱した
後、次の賞品球がセンサ2内に達した場合を考える。こ
のとき、ステップS4602の判定(該センサ2の出力
信号がロウレベルであるか否かの判定)は“Yes”と
なり前記ステップS4604の判定(排出2立上変化フ
ラグが“1”か)が行なわれ、この場合判定結果は“N
o”となり、ステップS4606にて排出2立下変化フ
ラグが“1”であるか否かの判定が行われる。このとき
該ステップS4606の判定結果も“No”(前記ステ
ップS4646にて“0”に設定される)となってステ
ップS4608に進み、排出2ロウレベルフラグが
“1”であるか否かの判定が行なわれる。Next, consider a case where the next prize ball reaches the inside of the sensor 2 after the previous prize ball comes out of the sensor 2. At this time, the determination in step S4602 (determination whether or not the output signal of the sensor 2 is at a low level) is "Yes", and the determination in step S4604 (whether the discharge 2 startup change flag is "1") is performed. In this case, the determination result is “N
o, and it is determined in step S4606 whether the discharge 2 fall change flag is “1.” At this time, the determination result in step S4606 is also “No” (“0” in step S4646). Is set), the process proceeds to step S4608, and it is determined whether or not the discharge 2 low level flag is “1”.
【0082】この時点では排出2ロウレベルフラグは前
記ステップS4648にて“1”に設定されているので
ステップS4608の判定結果は“Yes”となり、ス
テップS4614に進んで、前回ループから今回ループ
にかけて排出センサ2の出力信号がロウレベルからハイ
レベルに変化した(立上った)ことを記憶すべく、排出
2立上変化フラグを“1”に設定し、続くステップS4
616で、この時点まで“1”に設定されていた排出2
ロウレベルフラグをリセット(“0”に設定)して、本
ルーチンを終了する。At this time, since the discharge 2 low level flag is set to "1" in step S4648, the determination result in step S4608 is "Yes", and the flow advances to step S4614 to execute the discharge sensor from the previous loop to the current loop. In order to memorize that the output signal of No. 2 has changed (rising) from the low level to the high level, the discharge 2 rising change flag is set to "1", and the following step S4
At 616, the discharge 2 that has been set to “1” up to this point
The low level flag is reset (set to "0"), and this routine ends.
【0083】更に次のループで引き続き排出センサ2の
出力信号がハイレベルのときには、前回ループのステッ
プS4614で排出2立上変化フラグが“1”に設定さ
れているので、前記ステップS4604の判定結果が
“Yes”に転じる。そして、続くステップS4618
〜S4624で、排出センサ2内に賞品球あることを記
憶すべく排出センサ2立上フラグを“1”に設定(ステ
ップS4618)すると共に、その値が“1”のときセ
ンサ内より賞品球が脱したことを示す排出センサ2立下
フラグを“0”にリセットし(ステップS4620)、
続いて前記排出2立上変化フラグを“0”にリセットす
る(ステップS4622)と共に、今回ループでの排出
センサ2の出力信号がハイレベルであることを記憶すべ
く排出2ハイレベルフラグを“1”に設定して(ステッ
プS4624)本ルーチンを終了する。When the output signal of the discharge sensor 2 continues to be at the high level in the next loop, the discharge 2 rise change flag is set to "1" in step S4614 of the previous loop. Turns to “Yes”. Then, the following step S4618
In steps S4624, the start-up flag of the discharge sensor 2 is set to "1" to store that there is a prize ball in the discharge sensor 2 (step S4618), and when the value is "1", the prize ball is The discharge sensor 2 fall flag indicating that the sensor has been removed is reset to "0" (step S4620),
Subsequently, the discharge 2 rise change flag is reset to "0" (step S4622), and the discharge 2 high level flag is set to "1" in order to store that the output signal of the discharge sensor 2 in this loop is at the high level. "(Step S4624) and terminates this routine.
【0084】その後、排出センサ2の出力信号がハイレ
ベルである限り、前記ステップS4602,S460
4,S4606,S4608,S4610が繰返し実行
されることになり、このとき、排出2立上フラグは
“1”、排出2立下フラグは“0”に保持される。一
方、排出センサ2の出力信号がロウレベルからハイレベ
ルに立上がった直後のループにおいて、該出力信号がロ
ウレベルに立下がってしまった場合(前回ループでステ
ップS4614が実行されて排出2立上変化フラグが
“1”となり、且つ今回ループの出力信号がロウレベル
の場合)には、ステップS4602の判定結果が“N
o”、ステップS4632の判定結果が“No”、ステ
ップS4634の判定結果が“Yes”と云う具合に判
定され、ステップS4652にて前回ループから今回ル
ープにかけて出力信号が立下がったことを記憶すべく排
出2立下変化フラグを“1”に設定すると共に、ステッ
プS4654にて前回ループ時に“1”に設定された排
出2立上変化フラグを“0”にリセットして本ルーチン
を終了する。Thereafter, as long as the output signal of the discharge sensor 2 is at the high level, the aforementioned steps S4602, S460
4, S4606, S4608, and S4610 are repeatedly executed. At this time, the discharge 2 rise flag is held at "1" and the discharge 2 fall flag is held at "0". On the other hand, in a 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 the low level (Step S4614 is executed in the previous loop and the discharge 2 rise change flag Is “1” and the output signal of the current loop is low level), the determination result of step S4602 is “N”.
o ", the determination result of step S4632 is" No ", and the determination result of step S4634 is" Yes ". In step S4652, the fact that the output signal has fallen from the previous loop to the current loop is stored. The discharge 2 fall change flag is set to "1", and in step S4654, the discharge 2 rise change flag set to "1" in the previous loop is reset to "0", and this routine ends.
【0085】以上のように、排出センサ2の出力信号が
立上がった後、ハイレベルの状態が所定時間以上(少な
くとも本割込処理が2回行なわれる間)検知されない限
り、排出2立上フラグを“1”に設定する(排出センサ
2内に賞品球があることを示す)処理は行なわれないよ
うになっており、排出センサ2の出力信号にノイズが発
生した場合等に誤って排出2立上フラグが“1”に設定
されないようになっている。As described above, after the output signal of the discharge sensor 2 rises, unless the high level state is detected for a predetermined time or more (at least during the time when the main interrupt process is performed twice), the discharge 2 rise flag is set. Is set to "1" (indicating that there is a prize ball in the discharge sensor 2), and when the output signal of the discharge sensor 2 generates noise, the discharge 2 is erroneously performed. The rise flag is not set to "1".
【0086】以上のルーチンを実行することによって、
排出センサ2の出力信号が立ち上がった後、所定期間以
上(少なくとも本割込処理が2回行なわれる間)その状
態が維持されたときにのみ排出センサ2立上フラグが
“1”に設定され、従って該立上フラグは賞品球が排出
センサ2内に達したことを示すようになる。反対に排出
センサ2の出力信号が立ち下がった後、所定期間以上
(少なくとも本割込処理が2回行なわれる間)その状態
が維持されたときにのみ排出センサ2立下フラグが
“1”に設定され、従って該立下フラグは賞品球が排出
センサ2内より脱したことを示すようになる。この排出
センサ2立上フラグ及び排出センサ2立下フラグは、バ
ックグランド処理(メインルーチン)の中の交互排出処
理、又は併用排出処理(後述の図35、図36)にて用
いられる。By executing the above routine,
After the output signal of the discharge sensor 2 rises, the discharge sensor 2 start flag is set to "1" only when the state is maintained for a predetermined period or more (at least while the main interrupt process is performed twice), Therefore, the rising flag indicates that the prize ball has reached the inside of the discharge sensor 2. Conversely, after the output signal of the discharge sensor 2 falls, the discharge sensor 2 fall flag is set to "1" only when the state is maintained for a predetermined period or more (at least while the main interrupt processing is performed twice). Therefore, the fall flag indicates that the prize ball has fallen out of the discharge sensor 2. The discharge sensor 2 rise flag and the discharge sensor 2 fall flag are used in the alternate discharge processing in the background processing (main routine) or the combined discharge processing (FIGS. 35 and 36 described later).
【0087】図19は割込処理(図13)のステップS
48にて行なわれる排出センサ1のレベル入力処理のル
ーチンを示すフローチャートである。このレベル入力処
理は、排出センサ1の出力信号がハイレベル(センサ1
が賞品球を検知している状態)である期間が所定期間以
上継続しているか否かを判断するためのルーチンであ
り、賞品球が無い状態から有る状態へ変化した後、第1
の所定期間(50msec)が経過したときに排出セン
サ1球有フラグを“1”に設定してこれを記憶してお
き、上記変化の後第2の所定期間(2sec)が経過し
たときに排出1エラー解除フラグを“1”に設定するこ
とによってこれを記憶しておくものである。これら2つ
のフラグは詳細は後述する排出装置不正監視処理(図2
8)、賞球開始処理(図29)、玉貸し開始処理(図3
8)、排出エラー回復処理(図37)にて用いられる。FIG. 19 shows the step S of the interrupt processing (FIG. 13).
48 is a flowchart showing a routine of a level input process of the discharge sensor performed at 48. In this level input processing, the output signal of the discharge sensor 1 is set to a high level (sensor 1
Is a state in which a prize ball is detected) is a routine for determining whether or not a period of time has continued for a predetermined period or more.
Is set to “1” when a predetermined period (50 msec) has elapsed and stored, and the discharge sensor 1 is discharged when a second predetermined period (2 sec) elapses after the above change. This is stored by setting the 1 error release flag to "1". These two flags are used in the discharge device fraud monitoring process (see FIG.
8), prize ball start processing (FIG. 29), ball lending start processing (FIG. 3)
8), used in the ejection error recovery process (FIG. 37).
【0088】本ルーチンが開始されると、ステップS7
200にて排出センサ1の出力信号がハイレベルである
(排出センサ1出力=“1”)か否かが判別される。こ
の判別結果が“No”、即ち出力信号がロウレベルであ
るときには、排出1球有監視フラグを“0”(ステップ
S7202)、前述した排出センサ1球有フラグを
“0”(ステップS7204)、排出1エラー監視フラ
グを“0”(ステップS7206)、前述した排出1エ
ラー解除フラグを“0”(ステップS7208)に夫々
設定して、本ルーチンを終了する。ここで排出1球有監
視フラグ及び排出1エラー監視フラグは共に、排出セン
サ1の出力信号がハイレベルであると判別されたループ
において、そのループがロウレベルからハイレベルへの
立上り直後のループであるか否かを判別する(後述のス
テップS7212及びステップS7224)ために用い
られるものである。When this routine is started, step S7
At 200, it is determined whether or not the output signal of the discharge sensor 1 is at a high level (output of the discharge sensor 1 = "1"). When the determination result is “No”, that is, when the output signal is at the low level, the discharge one ball presence monitoring flag is set to “0” (step S7202), the discharge sensor one ball presence flag is set to “0” (step S7204), and the discharge is performed. The 1 error monitoring flag is set to “0” (step S7206), and the above-described discharge 1 error release flag is set to “0” (step S7208), and the routine ends. Here, both the discharge 1 ball presence monitoring flag and the discharge 1 error monitoring flag are loops immediately after the output signal of the discharge sensor 1 is determined to be at the high level, and the loop is immediately after rising from the low level to the high level. This is used to determine whether or not (steps S7212 and S7224 described later).
【0089】その後、前記排出センサ1の出力信号がロ
ウレベルからハイレベルに変化すると、その直後のルー
プでは前記ステップS7200の判別結果が“Yes”
となり、続くステップS7210で排出センサ1球有フ
ラグが“1”であるか否かが、更に、続くステップS7
212で排出1球有監視フラグが“1”であるか否かが
判別される。この場合、判別結果は共に“No”とな
り、続くステップS7214で排出1球有監視フラグを
“1”に設定し、ステップS7216で排出1球有タイ
マを第1の所定期間(50msec)に設定してステッ
プS7222に進む。Thereafter, when the output signal of the discharge sensor 1 changes from the low level to the high level, in the loop immediately after that, the determination result of the step S7200 is "Yes".
In the following step S7210, it is further determined whether or not the discharge sensor 1 ball presence flag is “1”.
At 212, it is determined whether or not the one-ball discharge monitoring flag is "1". In this case, the determination results are both “No”, and in the subsequent step S7214, the discharge one ball presence monitoring flag is set to “1”, and in step S7216, the discharge one ball presence timer is set to the first predetermined period (50 msec). Then, the process proceeds to step S7222.
【0090】ステップS7222では排出1エラー解除
フラグが“1”であるか否かが判別される。この場合
(センサ1の出力信号がロウレベルからハイレベルに変
化した直後)判別結果は“No”となり、続くステップ
S7224にて排出1エラー監視フラグが“1”である
か否かが判別される。今回ループではこの判別結果も
“No”となるので、ステップS7226で排出1エラ
ー監視フラグを“1”に設定し、続くステップS722
8で排出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 the sensor 1 has changed from the low level to the high level), the determination result is “No”, and in a succeeding step S7224, it is determined whether or not the discharge 1 error monitoring flag is “1”. In the current loop, this determination result is also “No”, so the discharge 1 error monitoring flag is set to “1” in step S7226, and the subsequent step S722.
At 8, the discharge 1 error timer is set to the second predetermined period (2 sec).
Is set and the routine ends.
【0091】次のループで排出センサ1の出力信号が依
然ハイレベルを維持していると、前記ステップS720
0の判別結果が“Yes”、ステップS7210の判別
結果が“No”、ステップS7212の判別結果が“Y
es”となって、ステップS7218に進む。ステップ
S7218では前記ステップS7216でセットされた
球有タイマがタイムアップしたか否かが判別され、この
判別結果が“No”のとき(出力信号がハイレベルに変
化してから未だ第1の所定期間が経過していないとき)
には、続くステップS7220をスキップして、前記ス
テップS7222に進む。In the next loop, if the output signal of the discharge sensor 1 is still at the high level, the aforementioned step S720
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 ", the flow proceeds to step S7218. In step S7218, it is determined whether or not the timer with the ball set in step S7216 has timed out. When the determination result is" No "(the output signal When the first predetermined period has not yet elapsed since the change to
, Skips the following step S7222 and proceeds to step S7222.
【0092】今回ループでは、このステップS7222
の判別結果が“No”、続くステップS7224の判別
結果が“Yes”となって、ステップS7230に進
む。ステップS7230では前記ステップS7228で
セットされた排出1エラータイマがタイムアップしたか
否かが判別され、この判別結果が“No”のとき(出力
信号がハイレベルに変化してから、未だ第2の所定期間
が経過していないとき)には、続くステップS7232
をスキップして、本ルーチンを終了する。更に次回以降
のループにおいて、排出センサ1の出力信号がハイレベ
ルである限り、ステップS7200,S7210,S7
212,S7218及びステップS7222以降が繰返
し実行され、ステップS7218の判別結果が“No”
から“Yes”に転じたとき(上記第1の所定期間経過
直後)、ステップS7220にて前述した排出センサ1
球有フラグが“1”に設定され、以後ステップS720
0,S7210及びステップS7222以降が繰返し実
行されることになる。In this loop, this step S7222
Is "No", and the determination in step S7224 is "Yes", and the flow advances to step S7230. In step S7230, it is determined whether the discharge 1 error timer set in step S7228 has expired. If the determination result is "No" (the output signal has changed to a high level and the second If the predetermined period has not elapsed), the subsequent step S7322
Is skipped, and this routine ends. Further, in the next and subsequent loops, as long as the output signal of the discharge sensor 1 is at the high level, steps S7200, S7210, S7
212, S7218 and step S7222 and thereafter are repeatedly executed, and the determination result of step S7218 is “No”
Is changed to "Yes" (immediately after the elapse of the first predetermined period), in step S7220 the discharge sensor 1
The ball presence flag is set to "1", and thereafter, step S720
0, S7210 and step S7222 and thereafter are repeatedly executed.
【0093】又、ステップS7222以降の処理に関し
ても、排出センサ1の出力信号がハイレベルである限り
ステップS7222,S7224,S7230が繰返し
実行され、ステップS7230の判別結果が“No”か
ら“Yes”に転じたとき(上記第2の所定期間経過直
後)、ステップS7232にて前述した排出1エラー解
除フラグが“1”に設定され、以後ステップS720
0,S7210,S7222(排出1エラー解除フラグ
が“1”のときには、当然に、排出センサ1球有フラグ
は“1”となっている)が繰返し実行される。そして、
排出センサ1の出力信号が一度でもロウレベルに変化し
たときは、ステップS7202〜S7208にて各フラ
グが“0”にリセットされるため、その直後にハイレベ
ルに戻っても再びステップS7210以降の処理が初め
から開始されることになる。[0093] Also in 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 the high level, and the determination result of step S7230 changes from "No" to "Yes". When the state has been changed (immediately after the lapse of the second predetermined period), the above-described discharge 1 error release flag is set to "1" in step S7322, and thereafter, in step S720.
0, S7210, and S7222 (when the discharge 1 error release flag is "1", the discharge sensor 1 ball presence flag is naturally "1") is repeatedly executed. And
When the output signal of the discharge sensor 1 has once changed to the low level, the flags are reset to “0” in steps S7202 to S7208. Therefore, even if the flag returns to the high level immediately after that, the processing in step S7210 and thereafter is performed again. It will be started from the beginning.
【0094】図20は割込処理(図13)のステップS
50にて行なわれる排出センサ2のレベル入力処理のル
ーチンを示すフローチャートであり、本ルーチンは前述
の排出センサ1のレベル入力処理と同一の手順にて行な
われる。このレベル入力処理は、排出センサ2の出力信
号がハイレベル(センサ2が賞品球を検知している状
態)である期間が所定期間以上継続しているか否かを判
断するためのルーチンであり、賞品球が無い状態から有
る状態に変化した後、第1の所定期間(50msec)
が経過したときに排出センサ2球有フラグを“1”に設
定してこれを記憶しておき、上記変化の後第2の所定期
間(2sec)が経過したときに排出2エラー解除フラ
グを“1”に設定することによってこれを記憶しておく
ものである。これら2つのフラグも詳細は後述する賞球
開始処理(図29)、排出エラー回路処理(図37)等
にて用いられる。FIG. 20 shows the step S of the interrupt processing (FIG. 13).
5 is a flowchart showing a routine of a level input process of the discharge sensor 2 performed at 50. This routine is performed in the same procedure as the level input process of the discharge sensor 1 described above. This level input processing is a routine for determining whether or not a period in which the output signal of the discharge sensor 2 is at a high level (a state in which the sensor 2 is detecting a prize ball) has continued for a predetermined period or more. After changing from a state without a prize ball to a state with a prize ball, a first predetermined period (50 msec)
Is set to "1" when the time has elapsed, and this is stored. When the second predetermined period (2 sec) has elapsed after the above change, the emission 2 error release flag is set to "1". This is stored by setting it to 1 ". These two flags are also used in the prize ball start processing (FIG. 29), the ejection error circuit processing (FIG. 37), etc., which will be described later in detail.
【0095】本ルーチンが開始されると、先ずステップ
S7400にて排出センサ2の出力信号がハイレベルで
ある(排出センサ2出力=“1”)か否かが判別され
る。この判別結果が“No”、即ち出力信号がロウレベ
ルであるときには、排出2球有監視フラグを“0”(ス
テップS7402)、前述した排出センサ2球有フラグ
を“0”(ステップS7404)、排出2エラー監視フ
ラグを“0”(ステップS7406)、前述した排出2
エラー解除フラグを“0”(ステップS7408)に夫
々設定して、本ルーチンを終了する。ここで排出2球有
監視フラグ及び排出2エラー監視フラグは共に、排出セ
ンサ2の出力信号がハイレベルであると判別されたルー
プにおいて、そのループがロウレベルからハイレベルへ
の立上り直後のループであるか否かを判別する(後述の
ステップS7412及びステップS7424)ために用
いられるものである。When this routine is started, it is first determined in step S7400 whether or not the output signal of the discharge sensor 2 is at a high level (output of the discharge sensor 2 = "1"). When the result of this determination is “No”, that is, when the output signal is at a low level, the two-ball discharge flag is set to “0” (step S7402), the two-ball discharge sensor flag described above is set to “0” (step S7404), and the discharge is performed. 2 error monitoring flag is set to “0” (step S7406),
The error release flags are set to “0” (step S7408), respectively, and the routine ends. Here, both the discharge 2 ball presence monitoring flag and the discharge 2 error monitoring flag are loops immediately after the output signal of the discharge sensor 2 is determined to be at the high level, and the loop is immediately after rising from the low level to the high level. This is used to determine whether or not (Steps S7412 and S7424 described later).
【0096】その後、前記排出センサ2の出力信号がロ
ウレベルからハイレベルに変化すると、その直後のルー
プでは前記ステップS7400の判別結果が“Yes”
となり、続くステップS7410で排出センサ2球有フ
ラグが“1”であるか否かが、更に、続くステップS7
412で排出2球有監視フラグが“1”であるか否かが
判別される。この場合、判別結果は共に“No”とな
り、続くステップS7414で排出2球有監視フラグを
“1”に設定し、ステップS7416で排出2球有タイ
マを第1の所定期間(50msec)に設定してステッ
プS7422に進む。Thereafter, when the output signal of the discharge sensor 2 changes from the low level to the high level, in the loop immediately after that, the determination result of the step S7400 is "Yes".
Then, in a succeeding step S7410, it is further determined whether or not the discharge sensor 2 ball presence flag is “1” in a succeeding step S7.
At 412, it is determined whether or not the two-ball discharge monitoring flag is "1". In this case, the determination results are both "No", and in the following step S7414, the two-ball discharge monitoring flag is set to "1", and in step S7416, the two-ball discharge timer is set to the first predetermined period (50 msec). Then, the process proceeds to step S7422.
【0097】ステップS7422では排出2エラー解除
フラグが“1”であるか否かが判別される。この場合
(センサ2の出力信号がロウレベルからハイレベルに変
化した直後)判別結果は“No”となり、続くステップ
S7424にて排出2エラー監視フラグが“1”である
か否かが判別される。今回ループではこの判別結果も
“No”となるので、ステップS7426で排出2エラ
ー監視フラグを“1”に設定し、続くステップS742
8で排出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 the sensor 2 changes from the low level to the high level), the determination result is “No”, and in a succeeding step S7424, it is determined whether or not the discharge 2 error monitoring flag is “1”. In the current loop, this determination result is also “No”, so the emission 2 error monitoring flag is set to “1” in step S7426, and the subsequent step S742
At 8, the discharge 2 error timer is set to the second predetermined period (2 sec).
Is set and the routine ends.
【0098】次のループで排出センサ2の出力信号が依
然ハイレベルを維持していると、前記ステップS740
0の判別結果が“Yes”、ステップS7410の判別
結果が“No”、ステップS7412の判別結果が“Y
es”となって、ステップS7418に進む。ステップ
S7418では前記ステップS7416でセットされた
球有タィマがタイムアップしたか否かが判別され、この
判別結果が“No”のとき(出力信号がハイレベルに変
化してから未だ第1の所定期間が経過していないとき)
には、続くステップS7420をスキップして、前記ス
テップS7422に進む。In the next loop, if the output signal of the discharge sensor 2 is still at the high level, the aforementioned step S740 is executed.
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 ", the flow proceeds to step S7418. In step S7418, it is determined whether or not the ball timer set in step S7416 has timed out. If the determination result is" No "(the output signal is When the first predetermined period has not yet elapsed since the change to
, Skip the following step S7420 and proceed to step S7422.
【0099】今回ループでは、このステップS7422
の判別結果が“No”、続くステップS7424の判別
結果が“Yes”となって、ステップS7430に進
む。ステップS7430では前記ステップS7428で
セットされた排出2エラータイマがタイムアップしたか
否かが判別され、この判別結果が“No”のとき(出力
信号がハイレベルに変化してから、未だ第2の所定期間
が経過していないとき)には、続くステップS7432
をスキップして、本ルーチンを終了する。更に次回以降
のループにおいて、排出センサ2の出力信号がハイレベ
ルである限り、ステップS7400,S7410,S7
412,S7418及びステップS7422以降が繰返
し実行され、ステップS7418の判別結果が“No”
から“Yes”に転じたとき(上記第1の所定期間経過
直後)、ステップS7420にて前述した排出センサ2
球有フラグが“1”に設定され、以後ステップS740
0,S7410及びステップS7422以降が繰返し実
行されることになる。In the current loop, this step S7422
Is "No", and the determination in step S7424 is "Yes", and the flow advances to step S7430. In step S7430, it is determined whether or not the discharge 2 error timer set in step S7428 has timed out. If the predetermined period has not elapsed), the subsequent step S7432
Is skipped, and this routine ends. Further, in the next and subsequent loops, as long as the output signal of the discharge sensor 2 is at the high level, steps S7400, S7410, S7
412, S7418 and step S7422 and thereafter are repeatedly executed, and the determination result of step S7418 is “No”
Is changed to “Yes” (immediately after the elapse of the first predetermined period), in step S7420 the discharge sensor 2
The ball presence flag is set to "1", and thereafter, step S740
0, S7410 and step S7422 and subsequent steps are repeatedly executed.
【0100】又、ステップS7422以降の処理に関し
ても、排出センサ2の出力信号がハイレベルである限り
ステップS7422,S7424,S7430が繰返し
実行され、ステップS7430の判別結果が“No”か
ら“Yes”に転じたとき(上記第2の所定期間経過直
後)、ステップS7432にて前述した排出2エラー解
除フラグが“1”に設定され、以後ステップS740
0,S7410,S7422(排出2エラー解除フラグ
が“1”のときには、当然に、排出センサ2球有フラグ
は“1”となっている)が繰返し実行される。そして、
排出センサ2の出力信号が一度でもロウレベルに変化し
たときは、ステップS7402〜S7408にて各フラ
グが“0”にリセットされるため、その直後にハイレベ
ルに戻っても再びステップS7410以降の処理が初め
から開始されることになる。Also in the processing after step S7422, steps S7422, S7424, and S7430 are repeatedly executed as long as the output signal of the discharge sensor 2 is at the high level, and the determination result of step S7430 changes from "No" to "Yes". At the time of switching (immediately after the lapse of the second predetermined period), the above-described discharge 2 error release flag is set to “1” in step S7432, and thereafter, step S740 is performed.
0, S7410, and S7422 (when the discharge 2 error release flag is "1", the discharge sensor 2 ball presence flag is of course "1") is repeatedly executed. And
When the output signal of the discharge sensor 2 has once changed to the low level, the flags are reset to “0” in steps S7402 to S7408. Therefore, even if the flag returns to the high level immediately after that, the processing after step S7410 is performed again. It will be started from the beginning.
【0101】図21は、図13の割込処理のステップS
52にて行なわれる球抜センサ750の入力処理ルーチ
ンのフローチャートである。球抜センサ750は、前述
したように、遊技店の係員が球抜処理を開始するための
操作、即ち、パチンコ遊技機100前面に設けられた操
作孔(図示省略)に球抜き棒を挿入する操作が為された
ことを検知するためもので、球抜き棒の挿入を検知した
とき該センサ750の出力信号はハイレベルとなり、検
知していないときには出力信号がロウレベルに保持され
るように構成されている。ところで、本フローでは該セ
ンサ750からの出力信号がロウレベルからハイレベル
に変化したとき、後述する球抜フラグを“1”に設定し
て、遊技店の係員による球抜処理が行われたと判断する
ようになっている。そして、賞球排出制御装置は、この
“1”に設定された球抜フラグによって後述の球抜処理
(図40〜第42)を開始するようになっている(メイ
ンルーチンのステップS16)。FIG. 21 is a flowchart showing step S of the interrupt process shown in FIG.
It is a flowchart of the input processing routine of the ball removal sensor 750 performed in 52. Sphere disconnect sensor 750, as described above, an attendant of the gaming facility is operated for starting the sphere disconnect processing, i.e., provided on the pachinko machine 100 front Misao
This is for detecting that an operation of inserting a ball-extraction rod into a hole (not shown) is performed. When the insertion of the ball-extraction rod is detected, the output signal of the sensor 750 becomes a high level and is not detected. Sometimes, the output signal is held at a low level. By the way, in this flow, when the output signal from the sensor 750 changes from the low level to the high level, a ball pulling flag described later is set to “1”, and it is determined that the ball pulling process has been performed by a game store attendant. It has become. Then, the prize ball discharge control device starts the ball removal process (FIGS. 40 to 42) to be described later by the ball removal flag set to "1" (step S16 of the main routine).
【0102】本ルーチンが開始されると、先ずステップ
S5300にて前述した処理ナンバーが“0”であるか
否かが判別される。メインルーチン(図12)にて、賞
球(玉貸し)排出開始処理および賞球(玉貸し)排出処
理が行われているとき等処理ナンバーが“0”に設定さ
れていないときには(このとき上記ステップS5300
の判別結果は“No”)ステップS5303以降に進む
ことなく、球抜センサ変化フラグを“0”に設定し(ス
テップS5301)、球抜センサLレベルフラグを
“0”に設定して(ステップS5302)、本ルーチン
を終了する。ここで球抜センサ変化フラグは、今回ルー
プでセンサ750の出力信号がローレベル(L)からハ
イレベル(H)に変化した(このとき“1”に設定され
る)ことを記憶するためのフラグであり、球抜センサL
レベルフラグは今回ループでセンサの出力信号がローレ
ベル(L)であったことを記憶するためのフラグであ
る。When this routine is started, it is first determined in step S5300 whether or not the above-mentioned processing number is "0". In the main routine (FIG. 12), when the processing number is not set to “0”, such as when the prize ball (ball lending) discharge start processing and the prize ball (ball lending) discharge processing are performed (at this time, Step S5300
(No in step S5303), without going to step S5303 or later, 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 S5302). ), End this routine. Here, the ball-excluding 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 (set to “1” at this time). And the ball removal sensor L
The level flag is a flag for storing that the output signal of the sensor was low level (L) in the current loop.
【0103】上述のステップS5300の判別を行なう
ことによって、遊技店の係員が球抜操作を行った場合で
あっても、賞品球の排出処理等の実行時には、後述の球
抜処理(図40〜第42)が禁止されるようになる。今
仮りに、賞品球の排出処理等が行われていない場合(処
理NO=“0”)で、遊技機100の操作孔に球抜き棒
が差し込まれていない状態から、遊技店の係員によって
球抜き棒が差し込まれた状態に変化する場合を考える。
賞品球の排出処理が行われていないときには前記ステッ
プS5300の判別結果は“Yes”となり、続くステ
ップS5303にて球抜センサ変化フラグが“1”であ
るか否かが、さらにステップS5304にて球抜センサ
Lレベルフラグが“1”であるか否かが判別される。By performing the above-described determination in step S5300, even when the game shop staff performs the ball-pulling operation, the ball-pulling processing described later (FIGS. No. 42) is prohibited. Now, if the prize ball is not discharged (process NO = “0”), and the ball is not inserted into the operation hole of the gaming machine 100 , the ball at the game store is changed by a staff at the game store. Let us consider a case where the state changes to a state where the punching bar is inserted.
When the prize ball discharging process is not performed, the determination result of the above step S5300 is “Yes”, and in a succeeding step S5303, 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”.
【0104】ところで、前述したように、全ての判別フ
ラグは賞球排出制御装置600内の電源が投入された直
後メインルーチン(図12のステップS2)にて“0”
に設定され、又、初期化が行われた後であっても処理N
Oが“0”以外のときに前記ステップS5301,S5
302にて“0”に設定されるので、前記ステップS5
303、S5304の判別結果は共に“No”となりス
テップS5306で球抜センサの出力信号がLレベル
(球抜センサ出力=“0”)であるか否かが判別され
る。操作用孔261に球抜き棒が差し込まれていない状
態では該センサ750の出力信号はLレベルのままであ
り、従って該ステップS5306の判別結果は“Ye
s”となり、ステップS5308に進んで球抜センサL
レベルフラグを“1”に設定して本ルーチンを終了す
る。As described above, all the determination flags are set to "0" in the main routine (step S2 in FIG. 12) immediately after the power in the winning ball discharge control device 600 is turned on.
And the processing N even after the initialization is performed.
When O is other than "0", steps S5301, S5
Since it is set to “0” in 302, the above-described step S5
The determination results of 303 and S5304 are both "No", and it is determined in step S5306 whether or not the output signal of the ball-absorbing sensor is at the L level (ball-absorbing sensor output = "0"). In a state where the ball-pull-out bar is not inserted into the operation hole 261, the output signal of the sensor 750 remains at the L level, and the result of the determination in step S 5306 is “Ye”.
s ", the flow proceeds to step S5308, and the ball removal sensor L
The level flag is set to "1" and the routine ends.
【0105】その後のループで依然前記球抜センサの出
力信号がLレベルを保持しているときには、球抜センサ
Lレベルフラグが“1”に設定されているので、前記ス
テップS5304の判別結果が“Yes”となり続くス
テップS5310にて今回ループでの球抜センサの出力
信号がハイレベル(球抜センサ出力=“1”)であるか
否かが判別される。このとき(球抜センサの出力信号が
ロウレベルを保持)該判別結果は“No”となって、そ
のまま本ルーチンを終了する。従って、球抜センサの出
力信号がLレベルを保持する限り,ステップS530
0,S5303,S5304,S5310が繰返し実行
されることとなる。In the subsequent loop, if the output signal of the ball-extraction sensor still holds the L level, the ball-extraction sensor L level flag is set to “1”, and the result of the determination in step S5304 is “1”. In step S5310, it is determined whether or not the output signal of the ball-absorbing sensor in this loop is at a high level (ball-absorbing sensor output = "1"). At this time (the output signal of the ball-extraction sensor holds the low level), the determination result is “No”, and the routine ends as it is. Therefore, as long as the output signal of the ball-absence sensor holds the L level, step S530
0, S5303, S5304, and S5310 are repeatedly executed.
【0106】この状態から操作孔に球抜き棒が挿入され
球抜センサの出力信号がLレベルからHレベルに変化す
ると、前記ステップS5310の判別結果が“Yes”
となり、続くステップS5312にて今回ループで球抜
センサ750の出力信号がロウレベルからハイレベルと
なったことを記憶すべく、球抜センサ変化フラグを
“1”に設定し、次いでステップS5314にて球抜セ
ンサLレベルフラグを“0”にリセットして、本ルーチ
ンを終了する。前回ループに続いて今回ループでも出力
信号がHレベルのときには、直前のループの前記ステッ
プS5312の実行により球抜センサ変化フラグが
“1”に設定されたのでステップS5303の判別結果
が“Yes”となり、ステップS5316に進んで、今
回ループでの球抜センサの出力信号がハイレベル(球抜
センサ出力=“1”)であるか否かが判別される。この
判別結果が“Yes”即ち、前回ループに続いて今回ル
ープでも出力信号がハイレベルのときには、続くステッ
プS5318にて球抜フラグを“1”に設定し、更にス
テップS5320にて前記球抜センサ変化フラグを
“0”にリセットして本ルーチンを終了する。In this state, when the ball-pulling rod is inserted into the operation hole and the output signal of the ball-pulling sensor changes from L level to H level, the result of the determination in step S5310 is "Yes".
In a succeeding step S5312, a ball removal sensor change flag is set to “1” in order to store that the output signal of the ball removal sensor 750 has changed from a low level to a high level in this loop, and then the ball is removed in a step S5314. The sensor L level flag is reset to "0", and this routine ends. When the output signal is at the H level also in the current loop following the previous loop, the ball extraction sensor change flag is set to “1” by the execution of the step S5312 in the immediately preceding loop, so that the determination result in the step S5303 is “Yes”. Proceeding to step S5316, it is determined whether or not the output signal of the ball-absorbing sensor in this loop is at a high level (ball-absorbing sensor output = "1"). If the determination result is "Yes", that is, if the output signal is at the high level in the current loop following the previous loop, the ball removal flag is set to "1" in the subsequent step S5318, and the ball removal sensor is set in step S5320. The change flag is reset to “0”, and this routine ends.
【0107】その後のループで球抜センサの出力信号が
依然ハイレベルのときにはステップS5303の判別結
果が“No”に転じ(球抜センサ変化フラグは“0”に
リセットされている)、次いでステップS5304,ス
テップS5306の判別結果は共に“No”となって、
以後ステップS5303,S5304,S5306を繰
返し実行することとなる。一方、球抜センサの出力信号
がロウレベルからハイレベルに変化した直後(前記ステ
ップS5312,ステップS5314が実行された直
後)のループで、球抜センサの出力信号が再びロウレベ
ルに変化したときには、前記ステップS5316の判別
結果が“No”となり前記ステップS5318(球抜フ
ラグ=“1”)を実行することなく、ステップS532
2にて球抜センサLレベルフラグを“1”に設定した後
前記ステップS5320を実行して、本ルーチンを終了
する。In the subsequent loop, when the output signal of the ball-extraction sensor is still at the high level, the determination result in step S5303 changes to "No" (the ball-extraction sensor change flag is reset to "0"), and then in step S5304 , The determination result of step S5306 is both "No",
Thereafter, steps S5303, S5304, and S5306 are repeatedly executed. On the other hand, in a loop immediately after the output signal of the ball-extraction sensor changes from low level to high level (immediately after execution of steps S5312 and S5314), when the output signal of the ball-extraction sensor changes to low level again, The determination result in S5316 is "No", and the step S532 (ball extraction flag = "1") is not executed, and the step S532 is executed.
After setting the ball-extraction sensor L level flag to "1" in step 2, the above-mentioned step S5320 is executed, and this routine ends.
【0108】このように球抜センサの出力信号がロウレ
ベルからハイレベルに変化したときに、少なくとも2回
の処理ループが実行される間に亘って前記出力信号がH
レベルを保持したときにのみ、球抜フラグを“1”に設
定するようにしているのでノイズ等が発生した場合に球
抜フラグが誤って“1”に設定されることがない。図2
2は、図13に示す割込処理のステップS54にて行な
われる補給センサ106の入力処理のサブルーチンを示
すフローチャートである。前述したように補給センサ1
06は、貯留タンク151内の遊技球(予備球)の不足
状態を検知するものであり、貯留された予備球が該タン
ク151内の補給センサ106の設置位置まで溜ってい
るときにロウレベル、そうでないときにハイレベルの信
号を出力するように構成されている。As described above, when the output signal of the ball sensor changes from the low level to the high level, the output signal becomes H during at least two processing loops.
Only when the level is held, the ball-extraction flag is set to "1". Therefore, when noise or the like occurs, the ball-extraction flag is not erroneously set to "1". FIG.
2 is a flowchart showing a subroutine of input processing of the replenishment sensor 106 performed in step S54 of the interrupt processing shown in FIG. As described above, the replenishment sensor 1
06 serves to detect the insufficiency of the game balls in the storage tank 151 (spare bulb), pooled pre spheres said Tan
It is configured to output a low level signal when it is accumulated up to the position where the replenishment sensor 106 is installed in the housing 151 and a high level signal otherwise.
【0109】今仮りに、タンク151内のセンサ設置位
置まで予備球が充填されていない状態(不足状態)を考
える。この状態で賞球排出制御装置600に電源が投入
され、該ルーチンが開始されると、先ず、ステップS5
002にて該センサ106の出力信号がハイレベル(補
給センサ出力=“1”)であるか否かが判別される。こ
の場合、判別結果は“Yes”となってステップS50
04に進む。ところでCPU610の初期化直後はすべ
てのフラグが“0”に設定されているため、ステップS
5004〜S5010の判別結果はすべて“No”とな
り、ステップS5012にて、今回ループで補給センサ
の出力信号がハイレベルであったことを記憶すべく補給
Hレベルフラグを“1”に設定して本ルーチンを終了す
る。以後のループでは補給Hレベルフラグが“1”に設
定されているので、出力信号がハイレベルの状態が継続
する限りステップS5002,S5004,S500
6,S5008,S5010が繰返し実行されることに
なる。Now, let us consider a case where the spare sphere is not filled up to the sensor installation position in the tank 151 (insufficient state). In this state, when the power is turned on to the prize ball discharge control device 600 and the routine is started, first, in step S5
At 002, it is determined whether or not the output signal of the sensor 106 is at a high level (supply sensor output = "1"). In this case, the determination result is “Yes” and the process proceeds to step S50.
Go to 04. By the way, immediately after the initialization of the CPU 610, all the flags are set to “0”.
All the determination results in steps 5004 to S5010 are "No", and in step S5012, the supply H level flag is set to "1" to store that the output signal of the supply sensor was high level in the current loop. End the routine. Since the supply H level flag is set to "1" in the subsequent loop, steps S5002, S5004, and S500 are performed as long as the output signal remains at the high level.
6, S5008, and S5010 are repeatedly executed.
【0110】その後、遊技球(予備球)の補給によって
貯留タンク151内の補給センサ106の設置位置にま
で予備球が充填されると、補給センサ106の出力信号
がロウレベルに転じ、前記ステップS5002の判別結
果が“No”となってステップS5030以降に進む。
ステップS5030が最初に行なわれるときには、前記
補給Hレベルフラグは“1”、それ以外のフラグはすべ
て“0”であるため、該ステップS5030、次のステ
ップS5032の判別結果が共に“No”、続くステッ
プS5034が“Yes”となってステップS503
6,S5038が実行される。ステップS5036で
は、前回ループから今回ループにかけて補給センサ10
6の出力信号がハイレベルからロウレベルに変化した
(立下がった)ことを記憶すべく、補給立下変化フラグ
を“1”に設定し、続くステップS5038では、前回
ループで“1”に設定された補給Hレベルフラグをリセ
ット(“0”に設定)し、本ルーチンを終了する。After that, by replenishing game balls (spare balls)
When the spare sphere is filled to the position where the replenishment sensor 106 is installed in the storage tank 151 , the output signal of the replenishment sensor 106 changes to low level, the determination result in step S5002 becomes "No", and the process proceeds to step S5030 and thereafter. .
When the step S5030 is performed for the first time, the replenishment H level flag is "1" and all other flags are "0", so that the determination results in the step S5030 and the next step S5032 are both "No" and continue. Step S5034 becomes "Yes" and step S503 is performed.
6, S5038 is executed. In step S5036, the replenishment sensor 10
In order to store that the output signal of No. 6 has changed (falled) from the high level to the low level, the replenishment fall change flag is set to "1". In the subsequent step S5038, the flag is set to "1" in the previous loop. The supplied H level flag is reset (set to "0"), and this routine ends.
【0111】次回ループで引き続き補給センサ106の
出力信号がロウレベルのときには、前回ループのステッ
プS5036で補給立下変化フラグが“1”に設定され
ているので、ステップS5030の判別結果が“Ye
s”に転じる。そして、続くステップS5040〜S5
046で、貯留タンク151内の補給センサ106設置
位置まで予備球が充填されていることを記憶すべく補給
センサ立下フラグを“1”に設定(ステップS504
0)すると共に、その値が“1”のときセンサ106の
設置位置に賞品球が無いことを示す補給センサ立上フラ
グ(初期化後初めて本ステップが実行されるときは
“0”に設定されている)を“0”に設定し(ステップ
S5042)、続いて前記補給立下変化フラグを“0”
にリセットする(ステップS5044)と共に、今回ル
ープでの補給センサ106の出力信号がロウレベルであ
ることを記憶すべく補給Lレベルフラグを“1”に設定
して(ステップS5046)本ルーチンを終了する。When the output signal of the replenishment sensor 106 is continuously low in the next loop, since the replenishment fall change flag is set to "1" in step S5036 of the previous loop, the determination result of step S5030 is "Ye".
s ". Then, the following steps S5040 to S5
At 046, the replenishment sensor fall flag is set to “1” in order to memorize that the spare sphere is filled to the position where the replenishment sensor 106 in the storage tank 151 is set (step S504).
0) and a replenishment sensor start flag indicating that there is no prize ball at the installation position of the sensor 106 when the value is “1” (set to “0” when this step is executed for the first time after initialization). Is set to "0" (step S5042), and then the replenishment fall change flag is set to "0".
(Step S5044), the replenishment L level flag is set to "1" in order to store that the output signal of the replenishment sensor 106 in this loop is at the low level (step S5046), and this routine ends.
【0112】その後、補給センサ106の出力信号がロ
ウレベルである限り、前記ステップS5002,S50
30,S5032,S5034,S5048が繰返し実
行されることになり、このとき、補給センサ立下フラグ
は“1”、補給センサ立上フラグは“0”に保持され
る。一方、補給センサ106の出力信号がハイレベルか
らロウレベルに立ち下がった直後のループにおいて、当
該出力信号がハイレベルに立上がってしまった場合(前
回ループでステップS5036が実行されて補給立下変
化フラグが“1”となり、且つ今回ループでセンサ出力
がハイレベルの場合)には、ステップS5002の判別
結果が“Yes”、ステップS5004の判別結果が
“No”、ステップS5006の判別結果が“Yes”
と云う具合に判定され、ステップS5028にて前回ル
ープから今回ループにかけて出力信号が立上がったこと
を記憶すべく補給立上変化フラグを“1”に設定すると
共に、ステップS5029にて前回ループ時に“1”に
設定した補給立下変化フラグを“0”に戻して本ルーチ
ンを終了する。Thereafter, as long as the output signal of the replenishment sensor 106 is at the low level, steps S5002 and S50 are performed.
30, S5032, S5034, and S5048 are repeatedly executed. At this time, the replenishment sensor fall flag is held at "1" and the replenishment sensor rise flag is kept at "0". On the other hand, in a loop immediately after the output signal of the replenishment sensor 106 has fallen from the high level to the low level, if the output signal has risen to the high level (Step S5036 was executed in the previous loop and the replenishment fall change flag Is “1” and the sensor output is at the high level in the current loop), the determination result of step S5002 is “Yes”, the determination result of step S5004 is “No”, and the determination result of step S5006 is “Yes”.
In step S5028, the replenishment start-up change flag is set to "1" in order to store that the output signal has risen from the previous loop to the current loop. The supply fall change flag set to "1" is returned to "0", and this routine is ended.
【0113】この結果、補給センサ106の出力信号が
立下がった後ハイレベルの状態が所定時間以上(少なく
とも本割込処理が2回行なわれる間)検知されない限
り、補給立下フラグを“1”に設定する(貯留タンク1
51内のセンサ106設定位置まで予備球が充填されて
いることを示す)処理は行なわれないようになってお
り、補給センサの出力信号にノイズが発生した場合等に
対処できるようになっている。次に貯留タンク151内
のセンサ106設置位置まで予備球が充填されている状
態で賞球排出制御装置600に電源が投入され、本ルー
チンが開始される場合を考える。As a result, the supply fall flag is set to "1" unless a high level state is detected for a predetermined time or more after the output signal of the supply sensor 106 falls (at least during the time when the main interrupt process is performed twice). Set to ( storage tank 1
The processing is not performed, which indicates that the spare sphere has been filled up to the set position of the sensor 106 in 51 ), and it is possible to cope with a case where noise occurs in the output signal of the replenishment sensor. . Next, let us consider a case where the power is supplied to the prize ball discharge control device 600 in a state where the spare ball is filled up to the position where the sensor 106 is installed in the storage tank 151 , and this routine is started.
【0114】先ず、ステップS5002では該センサ1
06の出力信号がハイレベル(補給センサ出力=
“1”)であるか否かが判別されるが、この場合、判別
結果は“No”となりステップS5030に進む。CP
U610の初期化直後はすべてのフラグが“0”に設定
されているため、ステップS5030,S5032,S
5034,S5048の判別結果はすべて“No”とな
り、ステップS5054にて、今回ループで補給センサ
の出力信号がロウレベルであったことを記憶すべく補給
Lレベルフラグを“1”に設定して、本ルーチンを終了
する。以後のループでは補給Lレベルフラグが“1”に
設定されているので出力信号がロウレベルの状態が継続
する限りステップS5002,S5030,S503
2,S5034,S5048が繰返し実行されることに
なる。First, in step S5002, the sensor 1
06 output signal is high level (supply sensor output =
It is determined whether or not “1”). In this case, the determination result is “No” and the process proceeds to step S5030. CP
Immediately after the initialization of U610, since all the flags are set to "0", steps S5030, S5032,
The determination results of 5034 and S5048 are all “No”, and in step S5054, the supply L level flag is set to “1” to store that the output signal of the supply sensor is low level in the current loop, and End the routine. In the subsequent loop, since the supply L level flag is set to "1", steps S5002, S5030, and S503 are performed as long as the output signal remains at the low level.
2, S5034, and S5048 are repeatedly executed.
【0115】その後、賞品球の排出によってタンク15
1内の補給センサ106の設置位置に満たなくなると、
補給センサ106の出力信号がハイレベルとなり、前記
ステップS5002の判別結果が“Yes”となってス
テップS5004以降に進む。ステップS5004が最
初に行なわれるときには、前記補給Lレベルフラグは
“1”、それ以外のフラグはすべて“0”であるため、
ステップS5004、次のステップS5006の判別結
果が共に“No”、続くステップS5008が“Ye
s”となってステップS5014が実行される。このス
テップS5014では、前回ループから今回ループにか
けて補給センサ106の出力信号がロウレベルからハイ
レベルに変化した(立上った)ことを記憶すべく、補給
立上変化フラグを“1”に設定し、続くステップS50
16では、前回ループまでに前述のステップS5054
で“1”に設定されていた補給Lレベルフラグをリセッ
ト(“0”に設定)し、本ルーチンを終了する。Thereafter, the prize balls are discharged to the tank 15.
When the position of the replenishment sensor 106 in 1 is less than the installation position,
The output signal of the replenishment sensor 106 becomes high level, the determination result in step S5002 becomes "Yes", and the process proceeds to step S5004 and subsequent steps. When step S5004 is performed for the first time, the supply L level flag is "1" and the other flags are all "0".
The determination results of step S5004 and the next step S5006 are both “No”, and the subsequent step S5008 is “Ye”.
s ", and the step S5014 is executed. In the step S5014, the replenishment is performed in order to store that the output signal of the replenishment sensor 106 has changed (rising) from the low level to the high level from the previous loop to the current loop. The rising change flag is set to "1", and the subsequent step S50
In step S5054, the previous step S5054
Resets the supply L level flag set to "1" (sets to "0"), and terminates this routine.
【0116】次回ループで引き続き補給センサ106の
出力信号がハイレベルのときには、前回ループのステッ
プS5014で補給立上変化フラグが“1”に設定され
ているので前記ステップS5002の判別を行なった後
前記ステップS5004の判別結果が“Yes”に転じ
る。そして、続くステップS5018〜S5024で、
補給センサ106によって貯留タンク151内の補給セ
ンサ106設置位置に賞品球がなくなったことを記憶す
べく補給センサ立上フラグを“1”に設定(ステップS
5018)すると共に、その値が“1”のとき貯留タン
ク151内のセンサ設置位置に賞品球があることを示す
補給センサ立下フラグ(初期化初めて本ステップが実行
されるときは“0”に設定されている)を“0”に設定
し(ステップS5020)、続いて前記補給立上変化フ
ラグを“0”にリセットする(ステップS5022)と
共に、今回ループでの補給センサ106の出力信号がハ
イレベルであることを記憶すべく補給Hレベルフラグを
“1”に設定して(ステップS5024)本ルーチンを
終了する。When the output signal of the replenishment sensor 106 is continuously at the high level in the next loop, the replenishment start-up change flag is set to "1" in step S5014 of the previous loop. The determination result of step S5004 changes to "Yes". Then, in the following steps S5018 to S5024,
The replenishment sensor startup flag is set to “1” by the replenishment sensor 106 to store that the prize ball has disappeared at the location of the replenishment sensor 106 in the storage tank 151 (step S).
5018) and when the value is “1”, the storage tank
The replenishment sensor fall flag indicating that there is a prize ball at the sensor installation position in the step 151 (set to "0" when this step is executed for the first time of initialization) is set to "0" (step (S5020) Then, the replenishment start-up change flag is reset to "0" (step S5022), and the replenishment H level flag is set to "1" to store that the output signal of the replenishment sensor 106 in the current loop is at the high level. 1 "(step S5024), and this routine ends.
【0117】その後、補給センサ106の出力信号がハ
イレベルである限り、前記ステップS5002,S50
04,S5006,S5008,S5010が繰返し実
行されることになり、このとき、補給立上フラグは
“1”、補給立下フラグは“0”に保持される。一方、
補給センサ106の出力信号がロウレベルからハイレベ
ルに立上がった直後のループにおいて、該出力信号がロ
ウレベルに立下がってしまった場合(前回ループでステ
ップS5414が実行されて補給立上変化フラグが
“1”となり、且つ今回ループがロウレベルの場合)に
は、ステップS5002の判別結果が“No”、ステッ
プS5030の判別結果が“No”、ステップS503
2の判別結果が“Yes”と云う具合に判定され、ステ
ップS5050にて前回ループから今回ループにかけて
出力信号が立下がったことを記憶すべく補給立下変化フ
ラグを“1”に設定すると共に、ステップS5052に
て前回ループ時に“1”に設定した補給立上変化フラグ
を“0”に戻して本ルーチンを終了する。Thereafter, as long as the output signal of the replenishment sensor 106 is at the high level, steps S5002 and S50 are performed.
04, S5006, S5008, and S5010 are repeatedly executed. At this time, the supply start-up flag is held at "1" and the supply fall-down flag is held at "0". on the other hand,
In the loop immediately after the output signal of the replenishment sensor 106 has risen from the low level to the high level, if the output signal has fallen to the low level (Step S5414 was executed in the previous loop and the replenishment rise change flag is set to “1”). , And the current loop is at the low level), the determination result of step S5002 is “No”, the determination result of step S5030 is “No”, and step S503
In step S5050, the replenishment fall change flag is set to "1" in order to store that the output signal has fallen from the previous loop to the current loop. In step S5052, the replenishment start-up change flag that was set to "1" during the previous loop is returned to "0", and this routine ends.
【0118】以上のように、補給センサ106の出力信
号が立上がった後ハイレベルの状態が所定時間以上(少
なくとも本割込処理が2回行なわれる間)検知されない
限り、補給立上フラグを“1”に設定する(貯留タンク
151内のセンサ106設置位置に賞品球が無くなった
ことを示す)処理は行なわれないようになっており、補
給センサ106の出力信号にノイズが発生した場合等に
対処できるようになっている。このようにして“0”又
は“1”に設定される補給センサ立上フラグ及び補給セ
ンサ立下フラグはメイン処理ルーチン(図12)のステ
ップS23で実行される補給処理(図43)にて用いら
れる。As described above, unless the high level state is detected for a predetermined period of time after the output signal of the replenishment sensor 106 has risen for at least a predetermined time (at least during the time when the main interrupt process is performed twice), the replenishment start flag is set to “ Set to 1 "( storage tank
) Treatment is shown that the prize ball runs out sensor 106 installed position within 151 is adapted not performed, complement
It is possible to cope with a case where noise occurs in the output signal of the supply sensor 106 or the like. The replenishment sensor rising flag and the replenishment sensor falling flag set to “0” or “1” in this manner are used in the replenishment process (FIG. 43) executed in step S23 of the main processing routine (FIG. 12). Can be
【0119】図23は割込処理(図13)のステップS
56にて行なわれるオーバーフロー検出器104の入力
処理のサブルーチンを示すフローチャートである。オー
バーフロー検出器104は、メイン処理ルーチン(図1
2)のステップS19およびS21にて行なわれる処理
(図29および図38)等にて用いられるオーバーフロ
ー球無フラグの値を決定するための信号を出力するため
のもので、オーバーフロー樋156内の賞品球が一定レ
ベル以上に溜った状態のときにその出力信号がハイレベ
ル、一定レベル以下のときにロウレベルとなるように構
成されている。このルーチンが開始されると、先ずステ
ップS5400で検出器の出力がハイレベル(オーバー
フロー出力=“1”)であるか否かが判別される。FIG. 23 shows the step S of the interrupt processing (FIG. 13).
It is a flowchart which shows the subroutine of the input process of the overflow detector 104 performed in 56. The overflow detector 104 performs a main processing routine (FIG. 1).
This is for outputting a signal for determining the value of the overflow sphere absence flag used in the processing (FIGS. 29 and 38) performed in steps S19 and S21 of 2), and a prize in the overflow gutter 156. The output signal is at a high level when the sphere is accumulated above a certain level, and at a low level when the sphere is below a certain level. When this routine is started, first, in step S5400, it is determined whether or not the output of the detector is at a high level (overflow output = "1").
【0120】今仮りにオーバーフロー樋156内のオー
バーフロー検出器104の設置位置に賞品球が達してい
ない状態から、賞品球が排出されオーバーフロー樋15
6内の検出器104の位置に達した状態に変化した場合
を考える。賞品球が検出器の位置に達していない状態で
はステップS5400の判別結果が“No”となる。本
ルーチン開始初期には判別フラグはすべて“0”にリセ
ットされている(図12のステップS2)ので、続くス
テップS5402の判別(オーバーフロー球無フラグが
“1”か)、及びステップS5404の判別(オーバー
フロー球無監視フラグが“1”か)の結果は共に“N
o”となり、オーバーフロー球無監視フラグを“1”に
設定し(ステップS5406)、オーバーフロー球有監
視フラグを“0”に設定し(ステップS5408)、更
にオーバーフロー球無タイマを所定値(2sec)にセ
ットして(ステップS5410)本ルーチンを終了す
る。[0120] O in the overflow gutter 156 to now temporarily
The prize ball is discharged from the state where the prize ball has not reached the installation position of the bar flow detector 104 , and the overflow gutter 15
Consider the case where the change in the state reaching the position of the detector 104 in 6. If the prize ball has not reached the position of the detector, the determination result of step S5400 is “No”. Since the determination flags are all reset to “0” at the beginning of this routine (step S2 in FIG. 12), the determination in the following step S5402 (whether the overflow ball absence flag is “1”) and the determination in step S5404 ( If the overflow ball non-monitoring flag is “1”, the result is “N
o ", the overflow sphere no monitoring flag is set to" 1 "(step S5406), the overflow sphere presence monitoring flag is set to" 0 "(step S5408), and the overflow sphere no timer is set to a predetermined value (2 sec). This is set (step S5410), and this routine ends.
【0121】ここでオーバーフロー球無監視フラグは検
出器の位置に賞品球が達していない状態が2回以上続け
て検知されたか否かを判断(ステップS5404の制
御)するために用いられるフラグであり、一方、オーバ
ーフロー球有監視フラグは、検出器の位置に賞品球が達
した状態が2回以上続けて検知されたか否かを判断(ス
テップS5420の判断)するために用いられるフラグ
である。次のループで引き続き、賞品球が上記位置に達
していないと、前記ステップS5400,S5402の
判別結果が共に“No”、続く前記ステップS5404
の判別結果が“Yes”となってステップS5412が
実行される。Here, the overflow ball no-monitoring flag is a flag used to determine whether or not a state where the prize ball has not reached the position of the detector has been detected twice or more (control in step S5404). On the other hand, the overflow ball presence monitoring flag is a flag used to determine whether or not the state where the prize ball has reached the position of the detector is continuously detected two or more times (determination in step S5420). In the next loop, if the prize ball has not reached the above position, the determination results in steps S5400 and S5402 are both “No”, and the subsequent step S5404
Is "Yes", and step S5412 is executed.
【0122】このステップS5412では、前記球無タ
イマがタイムアップしたか否か、即ち、検出器の取付位
置に賞品球が達していないと初めて判別された後(前述
のステップS5406〜S5410実行後)所定時間
(2sec)経過したか否かが判別され、判別結果が
“No”のときには、続くステップS5414,S54
16をスキップして本ルーチンを終了する。一方、判別
結果が“Yes”のときには、ステップS5414に
て、賞品球が検出器の位置に達していないことを示すべ
くオーバーフロー球無フラグを“1”に設定すると共に
つぎのステップS5416にて、オーバーフロー球有フ
ラグ(このステップが初期化後初めて行なわれるときに
は初期値“0”に設定されている)をリセット(“0”
に設定)して本ルーチンを終了する。In step S5412, it is determined whether or not the ballless timer has timed out, that is, after it is first determined that the prize ball has not reached the detector mounting position (after execution of the above-described steps S5406 to S5410). It is determined whether or not a predetermined time (2 sec) has elapsed. If the determination result is “No”, the subsequent steps S5414 and S54
Step 16 is skipped and this routine ends. On the other hand, when the determination result is “Yes”, in step S5414, the overflow ball no flag is set to “1” to indicate that the prize ball has not reached the position of the detector, and in step S5416, Reset the overflow sphere flag (set to the initial value "0" when this step is performed for the first time after initialization) ("0").
Is set) and the routine ends.
【0123】以後のループで、検出器の位置に賞品球が
達していない限り、ステップS5400の判別結果が
“No”、ステップS5402の判別結果が“Yes”
となって、これらのステップが繰返し実行される。 次
にこの状態から排出された賞品球が溜ってて検出器10
4の位置まで達した場合を考える。このときステップS
5400の判別結果が“Yes”となり、続くステップ
S5418ではオーバーフロー球有フラグが“1”であ
るか否かが判別される。このオーバーフロー球有フラグ
は前回ループまでに“0”に設定されているので(前記
ステップS5416)この判別結果は“No”となる。
続くステップS5420ではオーバーフロー球有監視フ
ラグが“1”であるか否かの判別が行なわれるが、この
オーバーフロー球有監視フラグも前回ループまでに
“0”に設定(前記ステップS5408)されているの
でこの判別結果は“No”となり、オーバーフロー球有
監視フラグを“1”に設定すると共に(ステップS54
22)、前記オーバーフロー球無監視フラグを“0”に
設定し(ステップS5424)、更にオーバーフロー球
有タイマを所定値(2sec)にセットして(ステップ
S5426)本ルーチンを終了する。In the subsequent loop, unless the prize ball reaches the position of the detector, the determination result of step S5400 is “No”, and the determination result of step S5402 is “Yes”.
And these steps are repeatedly executed. Next, the prize balls discharged from this state accumulate and the detector 10
Let us consider the case where the position 4 is reached. At this time, step S
The determination result of 5400 is "Yes", and in a succeeding step S5418, it is determined whether or not the overflow ball presence flag is "1". Since the overflow sphere presence flag has been set to "0" by the previous loop (step S5416), the determination result is "No".
In the following step S5420, it is determined whether or not the overflow sphere monitoring flag is "1" . Since the overflow sphere monitoring flag has been set to "0" by the previous loop (step S5408). The result of this determination is "No", and the overflow sphere presence monitoring flag is set to "1" (step S54).
22) The overflow sphere no-monitoring flag is set to "0" (step S5424), and the overflow sphere existence timer is set to a predetermined value (2 sec) (step S5426), and this routine ends.
【0124】次のループで引き続き、賞品球が検出器1
04の位置まで達していると、前記ステップS5400
の判別結果が“Yes”、ステップS5418の判別結
果が“No”、続く前記ステップS5420の判別結果
が“Yes”となってステップS5428が実行され
る。このステップS5428では更に、前記球有タイマ
がタイムアップしたか否か、即ち、賞品球が上記位置に
達したと初めて判別された後(前述のステップS542
2〜S5426実行後)所定時間(2sec)経過した
か否かが判別され、判別結果が“No”のときには、続
くステップS5430,S5432をスキップして本ル
ーチンを終了する。一方、判別結果が“Yes”のとき
には、ステップS5430にて、賞品球が検出器の位置
まで達したことを示すべくオーバーフロー球有フラグを
“1”に設定すると共につぎのステップS5432に
て、オーバーフロー球無フラグをリセット(“0”に設
定)して本ルーチンを終了する。In the next loop, the prize ball is continuously detected by the detector 1.
04 has reached the position of step S5400.
Is "Yes", the determination result in step S5418 is "No", and the determination result in step S5420 is "Yes", and step S5428 is executed. In this step S5428, it is further determined whether or not the timer with the ball has timed out, that is, after it is first determined that the prize ball has reached the above-mentioned position (step S542 described above).
It is determined whether or not a predetermined time (2 seconds) has elapsed (after execution of steps S2426 to S5426). If the determination result is "No", the subsequent steps S5430 and S5432 are skipped, and this routine ends. On the other hand, when the determination result is “Yes”, in step S5430, the overflow ball presence flag is set to “1” to indicate that the prize ball has reached the position of the detector, and the overflow is determined in the next step S5432. The ball absence flag is reset (set to "0"), and this routine ends.
【0125】以後のループで、オーバーフロー樋156
内の検出器104の位置まで賞品球が達している限り、
ステップS5400の判別結果が“Yes”、ステップ
S5418の判別結果が“Yes”となって、これらの
ステップが繰返し実行される。以上のように、本入力処
理では、セーフセンサの場合と同様、出力信号がロウレ
ベルからハイレベル(又はハイレベルからロウレベル)
に変化した直後のループでは該ロウレベルからハイレベ
ルの変化(又はハイレベルからロウレベルの変化)を記
憶する(監視フラグを“1”とする)だけに止めてお
き、次回ループでも依然ハイレベル(又はロウレベル)
であって更に上記変化した時点より所定時間(2se
c)が経過した後に初めて本ルーチンの最終出力値であ
るオーバーフロー球有フラグを“1”(又はオーバーフ
ロー球無フラグを“1”)に変更するようにしている。
このような制御手順を採用することによって、ノイズ発
生等によりオーバーフローの出力信号レベルが瞬間的に
変化した場合であっても直ちにその変化を正規の変化と
判断することがなく、当該ノイズ発生等による誤作動を
防止することができるようになっている。In the subsequent loop, the overflow gutter 156
As long as the prize ball reaches the position of the detector 104 within
The result of the determination in step S5400 is "Yes" and the result of the determination in step S5418 is "Yes", and these steps are repeatedly executed. As described above, in the present input processing, as in the case of the safe sensor, the output signal is changed from low level to high level (or from high level to low level).
In the loop immediately after the change, the change from the low level to the high level (or the change from the high level to the low level) is only stored (the monitoring flag is set to “1”), and the high level (or Low level)
And a predetermined time (2 sec.)
Only after elapse of c), the overflow ball presence flag, which is the final output value of this routine, is changed to "1" (or the overflow ball absence flag is set to "1").
By adopting such a control procedure, even when the output signal level of the overflow instantaneously changes due to noise or the like, the change is not immediately determined to be a normal change, and the change due to the noise or the like is not performed. Malfunctions can be prevented.
【0126】図24は割込処理(図13)のステップS
58にて行なわれる待機球検出器160(以下、半端セ
ンサと記す)の入力処理のルーチンを示すフローチャー
トである。半端センサ160は、後述の賞球開始処理
(図29)にて用いられる半端球有フラグを設定するた
めの信号を出力するもので、誘導樋152内に賞品球が
十分貯留されているときに(予備球が2回分の賞球排出
個数以上貯留されているときに)その出力信号がハイレ
ベル、上記個数に満たず半端状態となっているときにロ
ウレベルとなるように構成されている。このルーチンが
開始されると、先ずステップS5200で待機球検出器
の出力がハイレベル(待機球検出器出力=“1”)であ
るか否かが判別される。FIG. 24 shows the step S of the interrupt processing (FIG. 13).
It is a flowchart which shows the routine of the input process of the waiting ball detector 160 (hereinafter, referred to as an odd sensor) performed at 58. The odd sensor 160 outputs a signal for setting an odd ball presence flag used in a prize ball start process (FIG. 29) described later, and when the prize ball is sufficiently stored in the guide gutter 152. The output signal is set to a high level (when the spare balls are stored more than the number of prize balls discharged for two times), and set to a low level when the number of the spare balls is less than the above number and is in an odd state. When this routine is started, first, in step S5200 , it is determined whether or not the output of the standby sphere detector is at a high level (standby sphere detector output = "1").
【0127】今仮りに誘導樋152の待機球検出器設置
位置まで予備球が貯留されていない状態から、予備球が
補給されて上記設置位置に達した場合を考える。予備球
が上記設置位置に達していない状態ではステップS52
00の判別結果は“No”となる。このとき判別フラグ
はすべて“0”にリセットされている(図12のステッ
プS2)ので、続くステップS5202の判別(半端球
無フラグが“1”か)、及びステップS5204の判別
(半端球無監視フラグが“1”か)の結果は共に“N
o”となり、半端球無監視フラグを“1”に設定し(ス
テップS5206)、半端球有監視フラグを“0”に設
定し(ステップS5208)、更に半端球無タイマを所
定値(2sec)にセットして(ステップS5210)
本ルーチンを終了する。Now, let us consider a case where a spare ball is supplied from the state where no spare ball is stored to the stand-by ball detector setting position of the guiding gutter 152 and reaches the above-described setting position. If the spare ball has not reached the installation position, step S52
The determination result of “ 00 ” is “No”. At this time, since the determination flags are all reset to "0" (step S2 in FIG. 12), the determination in the following step S5202 (whether the no- semisphere flag is "1") and the determination in step S5204 (no- semisphere no monitoring) Flag is “1”) are both “N”
o ", and sets the hemisphere no-monitoring flag to" 1 " .
( Step S5206 ), the odd-sphere presence monitoring flag is set to “0” ( step S5208 ), and the odd-sphere absence timer is set to a predetermined value (2 sec) ( step S5210 ).
This routine ends.
【0128】ここで半端球無監視フラグは予備球が上記
設置位置に達していない状態が検知されたか否かを判断
(ステップS5204)するために用いられるフラグで
あり、一方半端球有監視フラグは、予備球が上記設置位
置まで溜っている状態が2回続けて検知されたか否かを
判断(ステップS5220)するために用いられるフラ
グである。次のループで引き続き、予備球が上記設置位
置まで溜っていないと、前記ステップS5200,S5
202の判別結果が共に“No”、続く前記ステップS
5204の判別結果が“Yes”となってステップS5
212が実行される。Here, the hemisphere no-monitoring flag is a flag used to determine whether or not the state where the spare sphere has not reached the installation position is detected ( step S5204 ). This flag is used to determine whether or not the state where the reserve sphere has accumulated to the installation position is detected twice consecutively ( step S5220 ). In the next loop, if the reserve sphere is not accumulated up to the installation position, the above-mentioned steps S5200, S5
Both the determination results of step 202 are “No” and the following step S
The determination result of 5204 becomes “Yes”, and step S5
Step 212 is executed.
【0129】このステップS5212では更に、前記球
無タイマがタイムアップしたか否か、即ち、予備球が上
記設置位置まで溜っていないと初めて判別された後(前
述のステップS5206〜S5210実行後)所定時間
(2sec)経過したか否かが判別され、判別結果が
“No”のときには、続くステップS5214,S52
16をスキップして本ルーチンを終了する。一方、前記
ステップS5212の判別結果が“Yes”のときに
は、ステップS5214にて、予備球が誘導樋152の
センサ設置位置まで溜っていないことを示すべく半端球
無フラグを“1”に設定すると共に、次のステップS5
216にて、半端球有フラグ(このステップが初期化後
初めて行なわれるときには初期値“0”に設定されてい
る)をリセット(“0”に設定)して本ルーチンを終了
する。In this step S5212 , it is further determined whether or not the ballless timer has timed out, that is, after it is determined for the first time that the spare ball has not accumulated at the installation position (after execution of the above-described steps S5206 to S5210 ). It is determined whether or not the time (2 sec) has elapsed. If the determination result is “No”, the subsequent steps S5214 and S52
Step 16 is skipped and this routine ends. On the other hand,
If the determination result in step S5212 is “Yes”, in step S5214 , the odd ball no-flag is set to “1” to indicate that the spare ball has not accumulated to the sensor installation position of the guiding gutter 152, and the next step is performed. Step S5
At 216 , the odd-sphere presence flag (the initial value is set to "0" when this step is performed for the first time after initialization) is reset (set to "0"), and the routine ends.
【0130】以後のループで、予備球が上記設置位置ま
で溜らない限り、ステップS5200の判別結果が“N
o”、ステップS5202の判別結果が“Yes”とな
って、これらのステップが繰返し実行される。この状態
から貯留タンク151への遊技球の供給によって予備球
が誘導樋152の半端センサ160の設置位置まで溜る
とステップS5200の判別結果が“Yes”となる。
続くステップS5218で“1”であるか否かの判別が
なされる半端球有フラグはこの時点で未だ初期値“0”
に設定されているのでこの判別結果は“No”となり、
続くステップS5220の判別(半端球有監視フラグが
“1”か)の結果も、前述のステップS5208の実行
により“No”となり、ステップS5222に進む。In the subsequent loop, as long as the spare sphere does not accumulate at the above-mentioned installation position, the determination result of step S5200 is “N”.
o ", the result of the determination in step S5202 is" Yes ", and these steps are repeatedly executed. When the position is accumulated , the determination result of step S5200 becomes “Yes”.
In the following step S5218 , the odd-sphere presence flag for which it is determined whether or not the flag is "1" is still the initial value "0" at this time.
, The result of this determination is “No”,
The results of the determination of the next step S5220 (odd ball chromatic monitoring flag is either "1"), "No" next by the execution of the aforementioned step S5208, the process proceeds to step S5222.
【0131】ステップS5222では半端球有監視フラ
グを“1”に設定すると共にステップS5224で、前
記半端球無監視フラグを“0”に設定し、更に半端球有
タイマを所定値(2sec)にセットして(ステップS
5226)本ルーチンを終了する。次のループで引き続
き、予備球が半端センサの設置位置まで溜っていると、
前記ステップS5200の判別結果が“Yes”、ステ
ップS5218の判別結果が“No”、続く前記ステッ
プS5220の判別結果が“Yes”(前回ループのス
テップS5222で“1”に設定される)となってステ
ップS5228が実行される。[0131] Set to Step S5224 and sets, in step S5222 the odd ball chromatic monitor flag "1", the odd ball set to "0" no monitoring flag, further odd ball chromatic timer a predetermined value (a time of 2 sec) ( Step S
5226 ) This routine ends. In the next loop, if the reserve sphere continues to accumulate at the position of the odd sensor,
Question of the step S5200 is "Yes", stearyl
If the determination result in step S5218 is "No,"
The answer to the question of the flop S5220 is "Yes" (previous loop scan
Stearate is to be set to "1" in step S5222)
Step S5228 is executed.
【0132】このステップS5228では更に、前記球
有タイマがタイムアップしたか否か、即ち、予備球が上
記設置位置まで溜っていると初めて判別された後(前述
のステップS5222〜S5226実行後)所定時間
(2sec)経過したか否かが判別され、判別結果が
“No”のときには、続くステップS5230,S52
32をスキップして本ルーチンを終了する。一方、判別
結果が“Yes”のとき、即ち予備球がセンサ取付位置
まで溜った後前記所定時間が経過したときには、ステッ
プS5230にて、予備球が半端センサ160の設置位
置まで溜っていることを示すべく半端球有フラグを
“1”に設定すると共に、次のステップS5232に
て、半端球無フラグをリセット(“0”に設定)して本
ルーチンを終了する。In this step S5228 , it is further determined whether or not the ball- existing timer has timed out, that is, after it is determined for the first time that the spare ball has accumulated to the above-mentioned installation position (after execution of the above-described steps S5222 to S5226 ). It is determined whether or not the time (2 sec) has elapsed. If the determination result is “No”, the subsequent steps S5230 and S52
This routine is ended by skipping 32 . On the other hand, when the determination result is “Yes”, that is, when the predetermined time has elapsed after the spare ball has accumulated at the sensor mounting position, the step is performed.
In step S5230 , the odd ball presence flag is set to “1” to indicate that the spare ball has accumulated to the position where the odd sensor 160 is set, and in the next step S5232 , the odd ball absence flag is reset (“ (Set to "0"), and this routine ends.
【0133】以後のループで、誘導樋152内の半端セ
ンサ設置位置まで予備球が貯留されている限り、ステッ
プS5200の判別結果が“Yes”、ステップS52
18の判別結果が“Yes”となって、これらのステッ
プが繰返し実行される。以上のように、本入力処理で
は、半端センサ160の出力信号がロウレベルからハイ
レベル(又はハイレベルからロウレベル)に変化した直
後のループでは該ロウレベルからハイレベルの変化(又
はハイレベルからロウレベルの変化)を記憶する(監視
フラグを“1”とする)だけに止めておき、次回ループ
でも依然ハイレベル(又はロウレベル)であって且つ上
記変化した時点より所定時間(2sec)が経過した後
に初めて本ルーチンの最終出力値である半端球有フラグ
を“1”(又は半端球無フラグを“1”)に変更するよ
うにしている。このような制御手順を採用することによ
って、ノイズ発生等により半端センサの出力信号レベル
が瞬間的に変化した場合であっても直ちにその変化を正
規の変化と判断することがなく、当該ノイズ発生等によ
る誤作動を防止することができるようになっている。In the subsequent loop, as long as the spare ball is stored up to the position where the odd sensor is installed in the guiding gutter 152 , the step is continued.
The determination result of step S5200 is “Yes”, and step S52
The determination result at 18 is "Yes", and these steps are repeatedly executed. As described above, in this input processing, in the loop immediately after the output signal of the odd sensor 160 changes from the low level to the high level (or from the high level to the low level), the change from the low level to the high level (or the change from the high level to the low level) ) Is only stored (the monitoring flag is set to “1”), and the first time after the predetermined time (2 sec) has elapsed from the time when the change is still at the high level (or low level) in the next loop and the above change. The odd output flag, which is the final output value of the routine, is changed to "1" (or the odd output flag is set to "1"). By adopting such a control procedure, even when the output signal level of the odd sensor changes instantaneously due to noise or the like, the change is not immediately determined to be a normal change, and the noise occurrence or the like is not determined. Malfunction can be prevented.
【0134】図25は割込処理(図13)の前記ステッ
プS60にて行なわれるアウトセンサ107の出力信号
の入力処理ルーチンのフローチャートで、この処理によ
ってアウト玉数が計数される。本ルーチンが開始される
と、先ずステップS6002にてアウトセンサ変化フラ
グが“1”であるか否かが判定される。このフロー中に
おいて使用される全てのフラグは最初の初期化で“0”
にクリアされており、最初のアウト玉検出信号が入って
くるまでアウトセンサ変化フラグは“0”であるので、
ステップS6002ではまず“No”と判定される。す
ると、続いてステップS6004にてアウトロウレベル
フラグが“1”であるか否かが判定される。ここで、
“No”ならステップS6006でアウトセンサ107
の出力をみてロウレベルか否か判定し、ロウならアウト
ロウレベルフラグを“1”に設定し(ステップS600
8)、ハイなら何もせずにルーチンを終了する。FIG. 25 is a flowchart of the input signal input processing routine of the out sensor 107 performed in step S60 of the interrupt processing (FIG. 13), and the number of out balls is counted by this processing. When this routine is started, it is first determined in step S6002 whether or not the out-sensor change flag is “1”. All flags used in this flow are "0" at the first initialization.
Since the out sensor change flag is "0" until the first out ball detection signal is input,
In step S6002, “No” is determined first. Then, subsequently, in step S6004, it is determined whether or not the outlow level flag is “1”. here,
If “No”, in step S6006 the out sensor 107
, It is determined whether or not the output is low level. If the output is low, the out-low level flag is set to "1" (step S600).
8) If high, terminate the routine without doing anything.
【0135】このようにして一旦アウトロウレベルフラ
グが“1”に設定されると、次のルーチンではステップ
S6004で“Yes”と判定されてステップS601
0へ移行し、アウトセンサ107からの信号がハイレベ
ル(“1”)か否か判定する。ここで、アウトセンサ1
07からの信号がハイレベルであれば、アウトセンサ変
化フラグを“1”に設定し、アウトロウレベルフラグを
“0”にクリアして終了する(ステップS6012,S
6014)。Once the out-low level flag is set to "1" in this way, in the next routine, "Yes" is determined in step S6004, and step S601 is performed.
0, and determines whether or not the signal from the out sensor 107 is at a high level (“1”). Here, out sensor 1
If the signal from 07 is high level, the out sensor change flag is set to "1", the out low level flag is cleared to "0", and the processing is terminated (steps S6012, S6012).
6014).
【0136】次にルーチンが開始されると、ステップS
6002で“Yes”と判定されてステップS6016
へ進み、アウトロウレベルフラグが“0”か否か判定さ
れる。通常はアウトセンサ変化フラグが“1”のときは
アウトロウレベルフラグが“0”である(ステップS6
012とS6014参照)ので、“Yes”と判定され
てステップS6018へ進む。ステップS6018では
アウトセンサ107からの信号がハイレベル(“1”)
か否か判定する。ここで、アウトセンサ107からの信
号がハイレベルであれば、アウトセンサ変化フラグを
“0”にクリアし、アウトカウンタをインクリメント
(+1)して終了する(ステップS6020,S602
2)。その後、ステップS6002からS6004,S
6006と上記手順を繰り返してアウト玉数を計数して
行く。Next, when the routine is started, step S
It is determined “Yes” in 6002 and step S6016
Then, it is determined whether or not the out-low level flag is "0". Normally, when the out sensor change flag is "1", the out low level flag is "0" (step S6).
012 and S6014), so it is determined as “Yes” and the process proceeds to step S6018. In step S6018, the signal from the out sensor 107 is at a high level ("1").
Is determined. Here, if the signal from the out sensor 107 is at a high level, the out sensor change flag is cleared to “0”, the out counter is incremented (+1), and the process ends (steps S6020, S602).
2). After that, steps S6002 to S6004, S
The above procedure is repeated with 6006 to count the number of out balls.
【0137】上記ルーチンはタイマ割込みで0.5m秒
ごとに繰り返されるため、ステップS6010において
0.5m秒以下のノイズを拾ってアウトセンサ変化フラ
グが“1”に設定されたような場合には、ステップS6
018で“No”と判定されるため、ステップS602
4へ移行してアウトロウレベルフラグを“1”に設定し
て終了する。すなわち、上記ルーチンでは、アウトセン
サの立上りエッジのみで信号を計数のではなく、立上り
エッジを検出しかつハイレベルを確認して始めてアウト
玉数をインクリメントしている。そのため、ノイズをセ
ンサ出力として誤計数するのが防止される。しかも、上
記ステップS6024でアウトロウレベルフラグが
“1”に設定されると、次のルーチンのときにステップ
S6016で“No”と判定されて、アウトセンサ変化
フラグが“0”にクリアされる(ステップS6026)
ため、ノイズによるアウトセンサ変化フラグの設定もキ
ャンセルされる。Since the above-described routine is repeated every 0.5 ms by the timer interrupt, if noise of 0.5 ms or less is picked up and the out-sensor change flag is set to "1" in step S6010, Step S6
Since “No” is determined in 018, step S602
Then, the process proceeds to step S4, where the outlow level flag is set to "1" and the processing is terminated. That is, in the above routine, the number of out balls is incremented only after detecting the rising edge and confirming the high level, instead of counting the signal only at the rising edge of the out sensor. Therefore, erroneous counting of noise as a sensor output is prevented. Further, if the out-low level flag is set to "1" in step S6024, "No" is determined in step S6016 in the next routine, and the out-sensor change flag is cleared to "0" (step S6016). S6026)
Therefore, the setting of the out sensor change flag due to noise is also canceled.
【0138】図26には、上記割込み処理とは別に、交
流電源の電源波形の数を数えて所定数以下になったとき
に停電の発生を検出する停電検出手段691からの割込
み信号によって行なわれる停電割込み処理の具体的手順
の一例が示されている。この割込みルーチンでは、まず
排出処理中か否か調べて排出処理中でなければそのまま
何もせずに終了する(ステップS3002)。また、排
出処理中であれば2つの排出経路の各排出ソレノイド7
41a,741bをオフさせてから排出レジスタ1と2
(図31参照)の値をバックアップされたRAM内に記
憶させる(ステップS3004−S3010)。それか
ら、賞球排出中か玉貸し排出中か判定して(ステップS
3012)、賞球排出中なら未排出の賞球数データをR
AMに記憶し(ステップS3014)、玉貸し排出中な
ら未排出の貸し玉数データおよび中断する排出が玉貸し
排出であることをRAMに記憶する(ステップS301
4,S3018)。そして、最後にバックアップされた
RAM内のアドレスに割り付けられた停電フラグを
“1”に設定してルーチンを終了する(ステップS30
20)。上記割込み処理は極めて短時間に行なえるの
で、停電検出手段691からの割込み信号が入ってから
実際にパワーがなくなるまでの間に終了することができ
る。In FIG. 26, in addition to the above-described interrupt processing, the number of power supply waveforms of the AC power supply is counted, and when the number of power supply waveforms becomes equal to or less than a predetermined number, it is performed by an interrupt signal from a power failure detection means 691 for detecting occurrence of a power failure. An example of a specific procedure of the power failure interruption process is shown. In this interrupt routine, first, it is checked whether or not the discharging process is being performed. If the discharging process is not being performed, nothing is performed and the process ends (step S3002). If the discharge process is being performed, each discharge solenoid 7 of the two discharge paths is used.
After turning off 41a and 741b, discharge registers 1 and 2
The value of (see FIG. 31) is stored in the backed-up RAM (steps S3004-S3010). Then, it is determined whether the prize ball is being discharged or the ball is being discharged (step S).
3012) If the prize ball is being ejected, the number of prize balls not ejected is set to R
In the AM (step S3014), if the ball is being discharged, the number of undischarged lending balls and the fact that the discharge to be interrupted is the ball lending discharge are stored in the RAM (step S301).
4, S3018). Then, the power failure flag assigned to the last backed up address in the RAM is set to "1", and the routine ends (step S30).
20). Since the interruption process can be performed in a very short time, the interruption process can be completed after the interruption signal from the power failure detection means 691 is input and before the power is actually lost.
【0139】図27には、上記タイマ割込みおよび停電
割込み処理と平行して行なわれる図12のメイン処理フ
ロー中で実行される排出装置不正監視処理S3の具体的
手順の一例が示されている。この監視処理S3では、ま
ず2系統の排出系のうち一方の排出ソレノイド741a
がオンされているか調べ(ステップS1101)、“N
o”のときは排出センサ730aの検出信号が立ち上が
ったことを示す立上りフラグが「1」か否か判定し(ス
テップS1102)、“Yes”なら排出不正監視カウ
ンタ1をインクリメントする(ステップS1104)。
排出ソレノイドがオンされないにもかかわらず排出球が
あった場合にこれを不正排出として検出するためであ
る。FIG. 27 shows an example of a specific procedure of the discharge device illegality monitoring process S3 executed in the main process flow of FIG. 12 which is performed in parallel with the timer interrupt and the power failure interrupt process. In this monitoring process S3, first, one of the two discharge systems, the discharge solenoid 741a
Is turned on (step S1101), and "N
If "o", it is determined whether or not a rising flag indicating that the detection signal of the discharge sensor 730a has risen is "1" (step S1102). If "Yes", the discharge illegality monitoring counter 1 is incremented (step S1104).
This is because if there is a discharge ball even though the discharge solenoid is not turned on, this is detected as an illegal discharge.
【0140】上記ステップS1101で“Yes”すな
わち排出ソレノイドがオンされていると判定すると、ス
テップS1103へ進んで排出不正監視カウンタ1をク
リアする。排出ソレノイドがオンされないにもかかわら
ず排出球があって、上記ステップS1104で排出不正
監視カウンタ1をインクリメントした後は、排出センサ
1の立上りフラグを一旦「0」にクリアしてから上記排
出不正監視カウンタ1の値が「3」以上になったか否か
判定する(ステップS1105,S1106)。排出用
のストッパ745と排串センサ730とが離れた位置に
設けられているため、排出ソレノイドをオフさせても直
ちにセンサからの信号がなくなるわけでなく、少なくと
も排出センサから排出ソレノイドまでの間に存在可能な
予備球の数だけは検出信号が入ってくることを考慮した
ものである。従って、このしきい値「3」は、排出セン
サから排出ソレノイドまでの距離に応じて適宜変更され
るべき値である。If "Yes" in step S1101, that is, if it is determined that the discharge solenoid is on , the flow advances to step S1103 to clear the discharge illegality monitoring counter 1. Even if the discharge solenoid is not turned on, there is a discharge ball, and after incrementing the discharge irregularity monitoring counter 1 in step S1104, the rising flag of the discharge sensor 1 is once cleared to "0" and then the discharge irregularity monitor is performed. It is determined whether the value of the counter 1 has become “3” or more (steps S1105 and S1106). Since the discharge stopper 745 and the discharge sensor 730 are provided at separate positions, even if the discharge solenoid is turned off, the signal from the sensor does not disappear immediately, and at least between the discharge sensor and the discharge solenoid. Only the number of possible spare spheres is taken into consideration that a detection signal is input. Therefore, the threshold value "3" is a value that should be appropriately changed according to the distance from the discharge sensor to the discharge solenoid.
【0141】上記ステップS1106で、排出不正監視
カウンタ1の値が「3」以上になったと判定したときは
ステップS1113へ移行して流路切換弁158の駆動
用ソレノイド(以下、玉抜ソレノイドと称する)をオン
させる。これによって、排出ソレノイドが不正に作動し
たときは排出された玉が供給皿120でなく玉抜路を通
ってパチンコ遊技店の回収樋へ誘導され、不当な利益を
与えないようにすることができる。玉抜ソレノイドをオ
ンさせた後は、不正排出があったことを示す排出不正フ
ラグに「1」を立ててから貸し球排出表示ランプ113
および賞品球排出表示ランプ112を点滅させて不正状
態の発生を外部に表示させる(ステップS1114,S
1115,S1116)。If it is determined in step S1106 that the value of the discharge irregularity monitoring counter 1 has become "3" or more, the flow advances to step S1113 to drive the solenoid for driving the flow path switching valve 158 (hereinafter, referred to as a ball ejection solenoid). ) Is turned on. Thus, when the discharge solenoid is operated improperly, the discharged balls are guided not to the supply tray 120 but to the collection gutter of the pachinko game store through the ball extraction path, so that it is possible to prevent unfair profit. . After turning on the ball-pull solenoid, a lending-ball discharge indicator lamp 113 is set to “1” for an improper discharge flag indicating that there was improper discharge.
And the prize ball discharge display lamp 112 is blinked to display the occurrence of the unauthorized state to the outside (steps S1114 and S114).
1115, S1116).
【0142】上記ステップS1101で“No”と判定
されたときは、ステップS1104へ進み、他方の排出
系2について第1の排出系1に関する上記処理S110
1−S1106と同様の処理S1107−S1112を
実行し、排出不正監視カウンタ2の値が「3」以上にな
ったと判定したときはステップS1113へ移行して玉
抜ソレノイドをオンさせる。図29には、排出装置不正
解除処理S14の具体的手順の一例が示されている。図
13のメインフローのステップS1114で排出不正フ
ラグが「1」にされ、図12のフローのステップS4で
“Yes”と判定されると、図32の排出装置不正解除
処理S14が開始される。この排出装置不正解除処理S
14では、まずステップS1121とS1122で図1
9,図20のルーチン中で設定される排出経路1と2の
エラー解除フラグが「1」か否か判定し、いずれのフラ
グも「1」のときはステップS1123で上記排出不正
フラグを「0」にクリアしてから、玉抜ソレノイド15
8をオフする(ステップS1124)。それから、排出
不正を示す点滅状態の貸し玉排出表示ランプ113と賞
品球排出表示ランプ112を消灯させて排出装置不正解
除処理が終了する(ステップS1125,S1126)[0142] When it is determined "No" in step S1101, the process proceeds to step S1104, the processing for the first discharge system 1 for the other discharge system 2 S110
Steps S1107 to S1112 similar to 1-S1106 are executed, and if it is determined that the value of the discharge irregularity monitoring counter 2 is equal to or more than "3", the flow shifts to step S1113 to turn on the ball ejection solenoid. FIG. 29 shows an example of a specific procedure of the ejection device unauthorized release processing S14. In step S1114 of the main flow of FIG. 13, the discharge illegal flag is set to “1”, and when “Yes” is determined in step S4 of the flow of FIG. 12, the illegal discharge device release process S14 of FIG. 32 is started. This ejection device illegal release processing S
In FIG. 14, first in steps S1121 and S1122, FIG.
It is determined whether the error release flags of the discharge paths 1 and 2 set in the routine of FIG. 9 and FIG. 20 are “1”. ”, And then the ballless solenoid 15
8 is turned off (step S1124). Then, a blinking lending-ball discharge indicator lamp 113 indicating an illegal discharge and a prize
The product ball discharge display lamp 112 is turned off, and the discharge device illegal release process ends (steps S1125 and S1126).
【0143】図29は、前述した賞球排出制御装置のメ
インルーチン(図12)のステップS19で実行される
賞球開始処理のサブルーチンを示すフローチャートであ
る。このサブルーチンは、メインルーチン(図12)の
ステップS12で賞球要求を検出すると、処理ナンバー
が「1」にされ、ステップS9で“Yes”と判定され
ることによって開始される。このサブルーチンが開始さ
れると、まず前記図19および図20の排出センサレベ
ル入力処理ルーチンで設定される排出センサ1玉有フラ
グおよび排出センサ2玉有フラグと、図24の半端セン
サ入力処理ルーチンで設定される半端センサ玉有フラグ
さらに図23のオーバーフロー検出器入力処理ルーチン
で設定されるオーバーフロー玉無フラグを調べて(ステ
ップS81−S84)、いずれか一つのフラグでも
“0”になっている場合には排出可能フラグを“0”に
クリアして終了する(ステップS85)。一方、すべて
のフラグが“1”になっている場合には排出可能フラグ
を“1”にセットし(ステップS86)、図15の賞球
データ検出処理ルーチンで読み込んだ賞球データを排出
レジスタ0にセットする(ステップS87)。また、賞
品球排出表示ランプ112を点灯させ、賞球音要求フラ
グを“1”にセットしてから、次の図30に示す排出開
始処理ルーチンを実行した後、処理ナンバーを「2」に
して終了する(ステップS88−S91)。FIG. 29 is a flowchart showing a subroutine of the prize ball starting process executed in step S19 of the main routine (FIG. 12) of the above-mentioned prize ball discharge control device. This subroutine is started when a prize ball request is detected in step S12 of the main routine (FIG. 12), the processing number is set to "1", and "Yes" is determined in step S9. When this subroutine is started, first, a discharge sensor 1 ball presence flag and a discharge sensor 2 ball presence flag set in the discharge sensor level input processing routine of FIGS. 19 and 20, and an odd sensor input processing routine of FIG. The flag for the odd-end sensor ball to be set and the flag for no overflow ball set in the overflow detector input processing routine of FIG. 23 are checked (steps S81 to S84), and when any one flag is "0". , The discharge enable flag is cleared to "0", and the process is terminated (step S85). On the other hand, if all the flags are "1", the discharge enable flag is set to "1" (step S86), and the award ball data read in the award ball data detection processing routine of FIG. (Step S87). Also award
After the product ball discharge indicator lamp 112 is turned on and the prize ball sound request flag is set to "1", the discharge start processing routine shown in FIG. 30 is executed, the processing number is set to "2", and the processing is ended. (Steps S88-S91).
【0144】なお、上記ステップS89でセットされる
賞球音要求フラグは遊技盤制御装置400に対して出力
する賞球排出音発生要求信号Dを後述の音要求出力処理
(図49)でロウレベルにアサートさせるためのもので
ある。図30に示す排出開始処理ルーチンでは、1つの
入賞球(セーフ球)に対して1回行われる所定数の賞品
球の排出を行なうに当り、上記所定数(賞球設定数)の
賞品球を、2条に設けられた案内樋710(図3参照)
の一方から幾つ排出し、他方から幾つ排出するか等排出
の態様を予め決定すると共に、排出ソレノイド1及び/
又は排出ソレノイド2を励磁(ON)して上記態様に従
った賞品球の排出を開始させるものである。The prize ball sound request flag set in step S89 sets the prize ball discharge sound generation request signal D output to the game board control device 400 to a low level in a sound request output process (FIG. 49) described later. It is intended to be asserted. In the discharge start processing routine shown in FIG. 30, when discharging a predetermined number of prize balls performed once for one winning ball (safe ball), the predetermined number (prize ball set number) of the above-mentioned predetermined number of prize balls are used. , A guide gutter 710 provided in the two sections (see FIG. 3)
The discharge modes, such as how many are discharged from one side and how many are discharged from the other side, are determined in advance, and the discharge solenoids 1 and / or
Alternatively, the discharge solenoid 2 is excited (ON) to start discharging the prize ball according to the above-described embodiment.
【0145】本ルーチンが開始されると、先ず、ステッ
プS102にて、排出レジスタ0の値が「1」に設定さ
れているか否か判定される。排出レジスタ0の値が
「1」でないときは、ステップS104で排出レジスタ
0の値が「8」以下であるか否かが判定される。これら
ステップS102およびS104判定の結果、排出レジ
スタ0の値が「1」のときにはステップS106へ移行
して1個排出フラグを“1”に設定し、交互排出フラグ
を“0”にクリアして(ステップS108)から1個排
出タイマをセット(S110)してステップS118の
反転フラグの判定へ移行する。一方、前記ステップS1
04での判定の結果、排出レジスタ0の値が「8」以上
であると判定したときは、ステップS112へ移行して
1個排出フラグを“0”にクリアし、交互排出フラグを
“1”に設定(ステップS114)してからステップS
118の反転フラグの判定へ移行する。さらに、前記ス
テップS104での判定の結果、排出レジスタの値が
「8」以上であると判定したときには、ステップS12
4以降の処理を実行する。When this routine is started, first, in step S102, it is determined whether or not the value of the discharge register 0 is set to "1". If 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. As a result of the determination in steps S102 and S104, when the value of the discharge register 0 is "1", the process proceeds to step S106, where the single discharge flag is set to "1", and the alternate discharge flag is cleared to "0" ( One is discharged from step S108).
The output timer is set (S110), and the process proceeds to the determination of the inversion flag in step S118 . On the other hand, step S1
As a result of the determination in step 04, when it is determined that the value of the discharge register 0 is equal to or more than "8", the process proceeds to step S112, where the single discharge flag is cleared to "0" and the alternate discharge flag is set to "1". (Step S114) and then step S
The process proceeds to the determination of the inversion flag of 118. Further, as a result of the determination in step S104, the value of the discharge register
If it is determined that the value is “8” or more, the process proceeds to step S12.
4 and subsequent processes are executed.
【0146】ここで、交互排出フラグは、本ルーチンに
引き続いて行なわれる排出処理(図33)の賞品球排出
の態様を後述の2つの態様(排出ソレノイド1,2を交
互に作動させて賞品球を排出する交互排出処理または排
出ソレノイド1,2を同時に作動させて賞品球を排出す
る併用排出処理)から選択する際に用いられる判定フラ
グであり、交互排出フラグが“1”に設定されていると
きには交互排出処理(賞球設定数が1〜8のとき)が、
“0”に設定されているときには併用排出処理(賞球設
定数が9〜15)が夫々行なわれる。このように交互排
出フラグの値が“1”に設定されたのちにはステップS
118で反転フラグの判定が行なわれる。Here, the alternate discharge flag is used to determine whether the prize ball is discharged in the discharge process (FIG. 33) performed subsequently to the present routine in two forms (prize balls by alternately operating discharge solenoids 1 and 2). Discharge process or a combined discharge process of simultaneously discharging the prize balls by simultaneously operating the discharge solenoids 1 and 2), and the alternate discharge flag is set to "1". Sometimes alternate discharge processing (when the number of prize balls set is 1 to 8)
When it is set to “0”, the combined discharge processing (the number of set prize balls is 9 to 15) is performed. After the value of the alternate discharge flag is set to "1" in this manner, step S is executed.
At 118 , the inversion flag is determined.
【0147】この反転フラグは、賞品球の排出を交互排
出処理にて行うに際し、球排出装置170の第1の排出
ソレノイド1(741a)と第2の排出ソレノイド2
(741b)とを交互に作動させることにより2つの排
出経路を均等に使用して耐久性を向上させるために設け
られたもので、「反転フラグ」の値は、ソレノイドが1
回作動される毎すなわち1排出が終了する毎に“1”ま
たは“0”に反転される。この反転フラグの判定結果が
“Yes”のときには、ステップS120で排出ソレノ
イド1を励磁して、第1の案内樋からの排出を開始させ
てから、反転フラグを“0”に反転させる(ステップS
121)。また、前記ステップS118の判定結果が
“No”のときには、ステップS122で排出ソレノイ
ド2を励磁して第2の案内樋から賞品球の排出を開始さ
せてから、反転フラグを“1”に反転させる(ステップ
S123)。The reversal flag indicates that the first discharge solenoid 1 (741a) and the second discharge solenoid 2 of the ball discharge device 170 are used when the prize balls are discharged in the alternate discharge process.
(741b) and the two
This is provided to improve durability by using the outgoing route equally, and the value of the "reversal flag" is
It is inverted to "1" or "0" every time the operation is performed, that is, each time one discharge is completed. If the determination result of the inversion flag is “Yes”, the discharge solenoid 1 is excited in step S120 to start discharging from the first guide gutter , and then the inversion flag is inverted to “0” (step S120).
121). When the result of the determination in step S118 is "No", the discharge solenoid 2 is excited in step S122 to start discharging the prize ball from the second guide gutter , and then the reversal flag is reversed to "1". (Step S123).
【0148】一方、賞球排出数が9以上のとき(前記ス
テップS104の判定結果が“No”のとき)には、併
用排出処理を行なうべくステップS124へ進む。この
併用排出処理では、先ず、ステップS124にて後述す
る排出数分割処理(図31)を行なった後、1個排出フ
ラグおよび交互排出フラグを“0”に設定し(ステップ
S126,S128)、後述の併用排出処理にて用いら
れる排出1終了フラグ,排出2終了フラグの値を“0”
にリセットする(ステップS130,ステップS13
2)と共に排出ソレノイド1、排出ソレノイド2を共に
励磁して併用排出を開始させる(ステップS134,ス
テップS136)。しかる後、ステップS138で、後
述する賞球排出処理(図32)にて排出ウェイトタイマ
を起動するときに“1”に設定される排出ウェイトフラ
グを“0”にリセットする。On the other hand, when the number of prize balls discharged is 9 or more (when the result of the determination in step S104 is "No"), the flow proceeds to step S124 to perform the combined discharge processing. In this combined discharge processing, first, a discharge number dividing process (FIG. 31) described later is performed in step S124, and then a single discharge flag and an alternate discharge flag are set to "0" (steps S126 and S128). The value of the discharge 1 end flag and the value of the discharge 2 end flag used in the combined discharge process
(Step S130, Step S13)
At the same time, the discharge solenoid 1 and the discharge solenoid 2 are both excited to start the combined discharge (step S134, step S136). Thereafter, in step S138, the discharge weight flag set to "1" when the discharge weight timer is started in the prize ball discharge processing (FIG. 32) described later is reset to "0".
【0149】次のステップS140では、1個排出処
理、交互排出処理又は併用排出処理が終了したときにそ
の旨を示すべく“1”に設定される排出終了フラグが
“0”にリセットされ、続くステップS142では排出
監視タイマ(例えば3秒)をセットして終了する。この
排出監視タイマは、賞品球の排出が開始された時点よ
り、所定時間が経過するまでに後述の交互排出処理又は
併用排出処理によって排出すべき全ての賞品球の排出が
完了したか否かを監視するために設けられるものであ
る。図31は、上記排出開始処理(図30)のステップ
S124にて実行される排出数分割処理のサブルーチン
を示すフローチャートである。In the next step S140, when the one-piece discharge processing, the alternate discharge processing or the combined discharge processing is completed, the discharge end flag which is set to "1" to indicate that fact is reset to "0". In step S142, the discharge monitoring timer (for example, 3 seconds) is set, and the process ends. The discharge monitoring timer determines whether or not all the prize balls to be discharged by the alternate discharge process or the combined discharge process described below have been discharged from the time when the discharge of the prize balls is started until a predetermined time elapses. It is provided for monitoring. FIG. 31 is a flowchart showing a subroutine of the discharge number dividing process executed in step S124 of the discharge start process (FIG. 30).
【0150】このルーチンは球の排出が後述の併用排出
処理にて行われるとき(排出レジスタ0の値が9以上2
5以下のとき)になされる処理である。これは、併用排
出処理では排出ソレノイド1,2が1回の制御ループで
同時に作動されるため、予め前記排出レジスタ0に記憶
された値を2つに分けて排出レジスタ1と2に夫々設定
しておくものである。そしてこれら2つの排出レジスタ
1,2の値に応じて排出ソレノイド1,2が夫々独立し
て作動されるようになっている。本ルーチンが開始され
ると、ステップS151〜S175にて順次、排出レジ
スタの値が、「9」であるか否か(ステップS15
1)、「10」であるか否か(ステップS152)、
「11」であるか否か(ステップS153)、「12」
であるか否か(ステップS154)、そして以下同様に
して「25」までが判定される(ステップS175)。
「25」まで判定を行なうのは、玉貸し排出の際には一
回の排出要求に対して25個の玉が排出されるからであ
る。This routine is executed when the ball is ejected by the combined ejection process described later (when the value of the ejection register 0 is 9 or more and 2
5 or less). This is because in the combined discharge process, the discharge solenoids 1 and 2 are simultaneously operated in one control loop, so the value previously stored in the discharge register 0 is divided into two and set in the discharge registers 1 and 2 respectively. It is something to keep. The discharge solenoids 1 and 2 are independently operated in accordance with the values of these two discharge registers 1 and 2. When this routine is started, it is sequentially determined in steps S151 to S175 whether the value of the discharge register is "9" (step S15).
1), whether it is "10" (step S152),
Whether it is "11" (step S153), "12"
Is determined (step S154), and similarly, up to “25” is determined (step S175).
The reason why the determination is made up to "25" is that in the case of ball lending discharge, 25 balls are discharged for one discharge request.
【0151】前記ステップS151の判定結果が“Ye
s”のときにはステップS181にて排出レジスタ1の
値を「5」に設定すると共にステップS182にて排出
レジスタ2の値を「4」に設定して本ルーチンを終了す
る。以後、前記ステップS152の判定結果が“Ye
s”のときには排出レジスタ1,2の値を共に「5」に
設定し(ステップS183,ステップS184)、前記
ステップS153の判定結果が“Yes”のときには排
出レジスタ1の値を「6」に設定する(ステップS18
5)とともに排出レジスタ2の値を“5”に設定し(ス
テップS186)、前記ステップS154の判定結果が
“Yes”のときには排出レジスタ1,2の値を共に
「6」に設定する(ステップS187,ステップS18
8)。以下同様にして、排出レジスタ0の値が奇数のと
きには排出レジスタ1に排出レジスタ2よりも1つだけ
大きな値を設定し、排出レジスタ0の値が偶数のときに
は排出レジスタ1と排出レジスタ2に同じ値を設定す
る。If the result of the determination in step S151 is "Ye
If s ", 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. Thereafter, the determination result of step S152 is "Ye
s ", the values of the discharge registers 1 and 2 are both set to" 5 "(steps S183 and S184), and if the result of the determination in step S153 is" Yes ", the value of the discharge register 1 is set to" 6 ". Yes (Step S18)
5) the value of the discharge register 2 with set to "5" (step S186), the determination result in step S154 is when the "Yes" is set to both the value of the discharge registers 1 and 2 "6" (step S187 , Step S18
8). Similarly, when the value of the discharge register 0 is odd, the discharge register 1 is set to a value larger by one than the value of the discharge register 2, and when the value of the discharge register 0 is even, the same value is set for the discharge registers 1 and 2. Set the value.
【0152】図32は、前述した賞球排出制御装置側の
CPU610によって実行されるメインルーチン(図1
2)のステップS18において実行される賞球排出処理
のサブルーチンを示すフローチャートである。本ルーチ
ンはメインルーチン(図12)のステップS8におい
て、処理ナンバーが「2」と判定されたときに開始さ
れ、先ず、ステップS202にて排出ウェイトフラグが
“1”であるか否かが判別される。この排出ウェイトフ
ラグは、1つのセーフ球に対応した所定数(賞球排出
数)の賞品球の排出が終了して後述のウェィトタィマが
作動したときに(ステップS210)その値が“1”に
設定され、前述の排出開始処理(図30)のステップS
138にて“0”にリセットされるものである。従っ
て、1つのセーフ球に対応した所定数(賞球排出数)の
賞品球の排出が終了した後初めてステップS202の判
別結果が“Yes”となる。このステップS202の判
別結果が“No”であるうちは、ステップS204に進
んで、排出処理(図33)による賞品球の排出を行なっ
た後ステップS206に進む。このステップS206で
は、排出終了フラグが“1”であるか否かが判別され
る。この排出終了フラグは、1個排出(図34)、交互
排出処理(図35)又は併用排出処理(図36)によっ
て、1つの入賞球等に対応した所定数(賞球設定数)の
球の排出が完了したときにその値が“1”に設定される
ものである。従って、この判別結果が“No”のときに
は続くステップS208乃至ステップS216をスキッ
プして、本ルーチンを終了する。FIG. 32 shows a main routine (FIG. 1) executed by the CPU 610 of the prize ball discharge control device.
It is a flowchart which shows the subroutine of the prize ball discharge processing performed in step S18 of 2). This routine is started when the processing number is determined to be "2" in step S8 of the main routine (FIG. 12). First, in step S202, it is determined whether or not the discharge wait flag is "1". You. This discharge weight flag is set to "1" when a predetermined number (prize ball discharge number) of prize balls corresponding to one safe ball has been discharged and a wait timer described later is activated (step S210). Step S in the above-described discharge start process (FIG. 30)
It is reset to "0" at 138. Therefore, the determination result of step S202 becomes "Yes" only after the discharge of the predetermined number (prize ball discharge number) of prize balls corresponding to one safe ball is completed. While the determination result of step S202 is “No”, the process proceeds to step S204, and after the prize ball is discharged by the discharging process (FIG. 33), the process proceeds to step S206. In this step S206, it is determined whether or not the discharge end flag is "1". This discharge end flag indicates that a predetermined number (a set number of prize balls) of one prize ball or the like corresponding to one prize ball or the like is obtained by one discharge (FIG. 34), alternate discharge processing (FIG. 35), or combined discharge processing (FIG. 36). When the discharge is completed, the value is set to “1”. Therefore, when the result of this determination is “No”, the subsequent steps S208 to S216 are skipped, and this routine ends.
【0153】所定数の賞品球の排出が完了して、前記ス
テップS206の判別結果が“Yes”に転じたときに
は、排出ウェイトフラグを“1”に設定し(ステップS
208)、排出ウェイトタイマを所定時間(例えば40
0m秒)にセットし(ステップS210)、さらに賞球
排出表示ランプ112を消灯(OFF)した(ステップ
S212)後、読込み確定フラグを“1”に設定し、賞
球数データを賞球排出カウンタに加算して本ルーチンを
終了する(ステップS214,S216)。上記読込み
確定フラグおよび賞球排出力ウンタは、後述の賞球情報
出力処理(図47)において、パチンコ遊技機のデータ
をホールの管理装置700に知らせるときに使用され
る。When the predetermined number of prize balls have been discharged and the result of the determination in step S206 turns to "Yes", the discharge weight flag is set to "1" (step S20).
208), the discharge wait timer is set to a predetermined time (for example, 40
0 ms) (step S210), and further turns off (OFF) the prize ball discharge display lamp 112 (step S212), sets the reading confirmation flag to “1”, and sets the prize ball count data to the prize ball discharge counter. And the routine is terminated (steps S214 and S216). The read confirmation flag and the prize ball discharge power counter are used when notifying the data of the pachinko gaming machine to the hall management device 700 in the prize ball information output process (FIG. 47) described later.
【0154】上記ステップS206の判別結果が“Ye
s”に転じた後のループでは、ステップS208で排出
ウェイトフラグが“1”に設定されることにより、前記
ステップS202の判別結果が“Yes”に転じ、ステ
ップS218が実行される。このステップS218では
前記排出ウェイトタイマがタイムアップしたか否かが判
別され、判別結果が“No”、即ち所定数の賞品球の排
出が終了した後前記所定時間が未だ経過していないとき
にはそのまま本ルーチンを終了し、当該所定時間が経過
するまでステップS202及びステップS218のみを
繰返し実行する。そして、上記所定時間が経過してステ
ップS218の判別結果が“Yes”になると、ステッ
プS220に進んで処理ナンバーを“0”に設定して、
本ルーチンを終了する。If the result of the determination in step S206 is "Ye
In the loop after the transition to "s", the discharge wait flag is set to "1" in step S208, so that the result of the determination in step S202 changes to "Yes", and step S218 is executed. Then, it is determined whether or not the time of the discharge wait timer has expired. If the result of the determination is "No", that is, if the predetermined time has not yet elapsed after the discharge of the predetermined number of prize balls, this routine is terminated as it is. Then, only steps S202 and S218 are repeatedly executed until the predetermined time elapses, and when the predetermined time elapses and the determination result of step S218 becomes “Yes”, the process proceeds to step S220 and the processing number is set to “ Set to 0 ”
This routine ends.
【0155】図33は、上述した賞球排出処理(図3
2)のステップS204にて行われる排出処理のサブル
ーチンを示すフローチャートである。本ルーチンが開始
されると、先ず、ステップS222にて排出エラーフラ
グが“1”であるか否かが判別される。この排出エラー
フラグは排出開始処理の実行時(図33のステップS1
42)にセットされた排出監視タイマがタイムアップす
るまでに所定数の賞品球の排出が完了しないときに排出
制御系の異常を示すべくその値が“1”に設定される
(後述のステップS242にて“1”に設定される)も
のである。従って、このステップS222での判別結果
が“Yes”のときにはステップS252にて後述の排
出エラー回復処理(図37)を行なって本ルーチンを終
了する。FIG. 33 shows the prize ball discharging process (FIG. 3)
It is a flowchart which shows the subroutine of the discharge process performed in step S204 of 2). When this routine is started, it is first determined in step S222 whether or not the discharge error flag is "1". This discharge error flag is set when the discharge start process is executed (step S1 in FIG. 33).
42) to the set discharge monitor timer is set to the value "1" to indicate an abnormality in the exhaust control system when the discharge of the predetermined number of prize balls to until it <br/> to time up does not complete (Set to "1" in step S242 described later). Therefore, if the determination result in this step S222 is "Yes", in step S252, a later-described ejection error recovery process (FIG. 37) is performed, and this routine ends.
【0156】一方、ステップS222の判別結果が“N
o”のときにはステップS224に進み、排出終了フラ
グが“1”であるか否かが判別される。この排出終了フ
ラグは、前述したように、1個排出(図34)、交互排
出処理(図35)又は併用排出処理(図36)によっ
て、1つの入賞球等に対応した所定数(賞球設定数)の
球の排出が完了したときにその値が“1”に設定される
ものである。このステップS222の判別結果が“N
o”であるうちは、ステップS226に進み、排出開始
処理の実行時(図30のステップS142)にセットさ
れた排出監視タイマがタイムアップしたか否か判定す
る。そして、“No”ならステップS228,S230
へ進んで、前述の排出開始処理(図30)にて設定され
る1個排出フラグおよび交互排出フラグを調べて、1個
排出フラグが“1”のときにはステップS232の1個
排出処理(図34参照)を、また、交互排出フラグが
“1”のときにはステップS234(図35参照)を、
さらに交互排出フラグが“0”のときにはステップS2
36の併用排出処理(図36)を実行する。On the other hand, if the result of the determination in step S222 is "N
If "o", the process proceeds to step S224, where it is determined whether or not the discharge end flag is "1". This discharge end flag is, as described above, one discharge (FIG. 34) and an alternate discharge process (FIG. 35) or when a predetermined number (a set number of prize balls) of balls corresponding to one winning ball or the like has been discharged by the combined discharge processing (FIG. 36), the value is set to "1". The determination result of step S222 is "N
If it is “o”, the process proceeds to step S226, and it is determined whether or not the discharge monitoring timer set at the time of executing the discharge start process (step S142 in FIG. 30) has timed out. , S230
Then, the one-discharge flag and the alternate discharge flag set in the above-described discharge start process (FIG. 30) are checked. If the one-discharge flag is "1", the one-discharge process of step S232 (FIG. Step S234 (see FIG. 35) when the alternate discharge flag is “1”.
Further, when the alternate discharge flag is "0", step S2 is executed.
36 is executed (FIG. 36).
【0157】一方、上記ステップS226で排出監視タ
イマがタイムアップしたと、すなわち排出開始後一定時
間経過しても排出が終了しないと判定すると、排出異常
発生と判断して排出ソレノイド1と2をオフさせ(ステ
ップS238,S240)かつ排出エラーフラグを
“1”に設定(ステップS242)した後、処理ナンバ
ーに応じて賞球排出処理中なら賞品球排出表示ランプ1
12を、また玉貸し排出中なら玉貸し排出表示ランプ1
13をそれぞれ点滅状態にさせてエラー表示を行なって
終了する(ステップS244,S246,S248,S
250)。図34は、上述した排出処理(図33)のス
テップS232にて行われる1個排出処理のサブルーチ
ンを示すフローチャートである。On the other hand, if the discharge monitoring timer has timed out in step S226, that is, if it is determined that the discharge is not completed after a certain period of time from the start of discharge, it is determined that a discharge abnormality has occurred and the discharge solenoids 1 and 2 are turned off. (Steps S238 and S240) and the discharge error flag is set to "1" (step S242). If the prize ball is being discharged according to the processing number, the prize ball discharge display lamp 1
12 and, if the ball is being discharged, the ball rental discharge indicator lamp 1
13 are turned on and off, an error is displayed, and the process is terminated (steps S244, S246, S248, S
250). FIG. 34 is a flowchart showing a subroutine of the single-ejection process performed in step S232 of the above-described ejection process (FIG. 33).
【0158】この処理が開始されると、まず図30のス
テップS110でセットされる1個排出タイマがタイム
アップしたか否か判定し(ステップS262)、“N
o”なら何もせず、また“Yes”すなわち1個排出タ
イマに設定された時間が経過すると、ステップS264
へ移行して反転フラグが“1”か“0”か調べる。そし
て、反転フラグが“0”なら排出ソレノイド1をオフ
(ステップS266)、また反転フラグが“1”なら排
出ソレノイド2をオフ(ステップS268)して1個排
出を終了させてから、排出終了フラグを“1”に設定し
てルーチンを終了する(ステップS270)。When this process is started, it is first determined whether or not the one-discharge timer set in step S110 in FIG. 30 has expired (step S262).
If it is “o”, nothing is performed, and if “Yes”, that is, the time set in the single discharge timer elapses, step S264 is performed.
Then, it is determined whether the inversion flag is "1" or "0". If the reversal flag is "0", the discharge solenoid 1 is turned off (step S266). If the reversal flag is "1", the discharge solenoid 2 is turned off (step S268) to finish discharging one piece. Is set to "1", and the routine ends (step S270).
【0159】図35は上述した排出処理(図33)のス
テップS234にて行われる交互排出処理のサブルーチ
ンを示すフローチャートである。前述したように本ルー
チンは排出される賞品球の数(賞球設定数)が「8」以
下のときに行われる処理であり、本ルーチンでは上述し
た賞球排出装置170の排出ソレノイド1と2を交替に
使って賞品球を排出するものである。本ルーチンが開始
されると、先ずステップS272にて、反転フラグが
“0”か“1”か調べる。そして、反転フラグが“0”
のときはステップS274へ進んで、排出センサ1立上
りフラグが“1”であるか否かを判定する。この排出1
立上フラグは予備球が排出センサ1内より脱したときに
その値が“1”に設定されるものである。従って、この
判定結果が“No”なら何もせず、また“Yes”とな
ったときには排出レジスタ0の値(排出玉数)を1つだ
け減算してから上記排出センサ1立上りフラグをクリア
する(ステップS276,S278)。次に、上記排出
レジスタ0の値が「1」になったか否かすなわち予め設
定された数の玉を排出したか否か判定し(ステップS2
80)、排出レジスタ0の値が「1」になったなら排出
ソレノイド1をオフさせ、かつ排出終了フラグを“1”
にセットしてルーチンを終了する(ステップS282,
S284)。FIG. 35 is a flowchart showing a subroutine of the alternate discharge process performed in step S234 of the above-described discharge process (FIG. 33). As described above, this routine is a process performed when the number of prize balls to be discharged (the number of prize balls set) is equal to or less than "8". In this routine, the discharge solenoids 1 and 2 of the prize ball discharge device 170 described above are used. Is used to discharge the prize balls. When this routine is started, first, in step S272, it is checked whether the inversion flag is “0” or “1”. Then, the inversion flag is “0”
In step S274, the flow advances to step S274 to determine whether the discharge sensor 1 rising flag is "1". This discharge 1
The value of the rising flag is set to “1” when the spare ball comes out of the ejection sensor 1. Accordingly, if this determination result is “No”, nothing is performed, and if “Yes”, the value of the discharge register 0 (the number of discharged balls) is subtracted by one, and then the rising flag of the discharge sensor 1 is cleared ( Steps S276 and S278). Next, it is determined whether or not the value of the discharge register 0 has become "1", that is, whether or not a predetermined number of balls have been discharged (step S2).
80) When the value of the discharge register 0 becomes "1", the discharge solenoid 1 is turned off, and the discharge end flag is set to "1".
And the routine ends (step S282,
S284).
【0160】一方、前記ステップS272の判定結果が
“No”すなわち反転フラグが“1”のときにはステッ
プS286に進む。ステップS286では排出センサ2
立上りフラグが“1”であるか否かを判定する。この排
出2立上フラグは予備球が排出センサ2内より脱したと
きにその値が“1”に設定されるものである。従って、
この判定結果が“No”なら何もせず、また“Yes”
となったときには排出レジスタ0の値(排出玉数)を1
つだけ減算してから上記排出センサ2立上りフラグをク
リアする(ステップS288,S290)。次に、上記
排出レジスタ0の値が「1」になったか否かすなわち予
め設定された数の玉を排出したか否か判定し(ステップ
S292)、排出レジスタ0の値が「1」になったなら
排出ソレノイド2をオフさせてから、排出終了フラグを
“1”にセットしてルーチンを終了する(ステップS2
94,S284)。On the other hand, if the decision result in the step S272 is "No ", that is, if the inversion flag is "1", the flow advances to a step S286. In step S286, the discharge sensor 2
It is determined whether or not the rising flag is “1”. The value of the discharge 2 rise flag is set to “1” when the spare ball comes out of the discharge sensor 2. Therefore,
If this determination result is “No”, nothing is performed, and “Yes”
When it becomes, the value of the discharge register 0 (the number of discharged balls) becomes 1
After subtracting only one, the rising flag of the discharge sensor 2 is cleared (steps S288 and S290). Next, it is determined whether or not the value of the discharge register 0 has become "1", that is, whether or not a predetermined number of balls have been discharged (step S292), and the value of the discharge register 0 has become "1". Then, after turning off the discharge solenoid 2 , the discharge end flag is set to "1" and the routine is terminated (step S2).
94, S284).
【0161】このルーチンでは排出ソレノイド1または
2による排出を、排出レジスタ0の値が「1」になった
時点で終了させているのは、排出ソレノイドのオフタイ
ミングを調整するためである。つまり、本実施例では排
出センサの下流側にストッパが配置されているので、排
出レジスタ0の値が「0」になった時点で排出を終了さ
せると、実際には1つ余計に玉が排出されてしまうから
である。図36は上述した排出処理(図33)のステッ
プS236にて行われる併用排出処理のサブルーチンを
示すフローチャートである。前述したように本ルーチン
は排出される賞品球の数(賞球設定数)が「9」以上の
ときに行われる処理であり、本ルーチンでは上述した賞
球排出装置170の排出ソレノイド1と2を同時に作動
させて賞品球を排出するものである。In this routine, the reason why the discharge by the discharge solenoid 1 or 2 is terminated when the value of the discharge register 0 becomes "1" is to adjust the OFF timing of the discharge solenoid. That is, in the present embodiment, since the stopper is disposed on the downstream side of the discharge sensor, if the discharge is stopped when the value of the discharge register 0 becomes “0”, one more ball is actually discharged. It is because it is done. FIG. 36 is a flowchart showing a subroutine of the combined discharge process performed in step S236 of the above-described discharge process (FIG. 33). As described above, this routine is a process performed when the number of prize balls to be discharged (prize ball set number) is "9" or more. At the same time to discharge the prize balls.
【0162】本ルーチンが開始されると、先ず図30の
排出開始処理のステップS130でリセットされた排出
1終了フラグが“1”になったか否か判定する(ステッ
プS302)。排出開始直後は排出1終了フラグは
“0”であるため、“No”と判定されてステップS3
04へ進んで、排出センサ1立上りフラグが“1”であ
るか否かを判定する。この判定結果が“No”なら何も
せず、また“Yes”なら排出レジスタ1の値(排出玉
数)を1つだけ減算してから上記排出センサ1立上りフ
ラグをクリアする(ステップS306,S308)。次
に、上記排出レジスタ0の値が「1」になったか否かす
なわち予め設定された数の玉を排出したか否か判定し
(ステップS310)、排出レジスタ0の値が「1」に
なったなら排出ソレノイド1をオフさせ、かつ排出1終
了フラグを“1”にセットする(ステップS312,S
314)。When this routine is started, first, it is determined whether or not the discharge 1 end flag reset in step S130 of the discharge start processing in FIG. 30 has become "1" (step S302). Immediately after the discharge is started, the discharge 1 end flag is “0”, so that “No” is determined and step S3 is performed.
Proceeding to 04, it is determined whether or not the discharge sensor 1 rising flag is "1". If the determination result is “No”, nothing is performed, and if “Yes”, the value of the discharge register 1 (the number of discharged balls) is subtracted by one, and then the discharge sensor 1 rising flag is cleared (steps S306 and S308). . Next, it is determined whether or not the value of the discharge register 0 has become "1", that is, whether or not a predetermined number of balls have been discharged (step S310), and the value of the discharge register 0 has become "1". If so, the discharge solenoid 1 is turned off, and the discharge 1 end flag is set to "1" (steps S312 and S3).
314).
【0163】次に、ステップS316へ進み、図30の
排出開始処理のステップS132でリセットされた排出
2終了フラグが“1”になったか否か判定する。排出開
始直後は排出2終了フラグは“0”であるため、“N
o”と判定されてステップS318へ進んで、排出セン
サ2立上りフラグが“1”であるか否かを判定する。こ
の判定結果が“No”なら何もせず、また“Yes”な
ら上記排出センサ2立上りフラグをクリアしてから排出
レジスタ2の値(排出玉数)を1つだけ減算する(ステ
ップS320,S322)。次に、上記排出レジスタ2
の値が「1」になったか否かすなわち予め設定された数
の玉を排出したか否か判定し(ステップS324)、排
出レジスタ2の値が「1」になったなら排出ソレノイド
2をオフさせ、かつ排出2終了フラグを“1”にセット
する(ステップS326,S328)。それから排出1
終了フラグが“1”か否か判定し(ステップS33
0)、“Yes”なら次のステップS332で排出終了
フラグを“1”にセットしてルーチンを終了する。排出
系1の側が先に排出を終了した場合に、ステップS33
0−S332と進んで終了する。一方、排出系2の側が
先に排出を終了した場合には、ステップS330で“N
o”と判定され、その後再びこのルーチンが実行された
ときにステップS314で排出1終了フラグが“1”に
セットされてステップS316へ進み、ここで“Ye
s”と判定されてステップS332へジャンプし、排出
終了フラグを“1”にセットしてルーチンを終了する。
以上のように、賞球設定数が大きな値(9〜15)に設
定されているときに該設定数を分割して2つの排出レジ
スタ1,2にその値を記憶し、排出レジスタ1,2の値
に基づいて第1及び第2の排出ソレノイドを夫々独立し
て作動させることにより、多数の賞品球の排出が一層迅
速に行えるようになる。Next, the flow advances to step S316 to determine whether or not the discharge 2 end flag reset in step S132 of the discharge start processing in FIG. 30 has become "1". Immediately after the start of discharge, the discharge 2 end flag is “0”, so “N
o, the flow advances to step S318, and it is determined whether or not the rising flag of the discharge sensor 2 is "1." After the rising flag 2 is cleared, the value of the discharge register 2 (the number of discharged balls) is subtracted by one (steps S320 and S322).
Is determined to be "1", that is, whether or not a predetermined number of balls have been discharged (step S324). If the value of the discharge register 2 becomes "1", the discharge solenoid 2 is turned off. And the discharge 2 end flag is set to "1" (steps S326, S328). Then discharge 1
It is determined whether the end flag is "1" (step S33).
0), 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 has finished discharging first, step S33
The process proceeds to 0-S332 and ends. On the other hand, if the discharge system 2 side has finished discharging first, "N
o, and when this routine is executed again, the discharge 1 end flag is set to "1" in step S314, and the process proceeds to step S316, where "Ye" is set.
s ", the process jumps to step S332, sets the discharge end flag to" 1 ", and ends the routine.
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 value is stored in the two discharge registers 1 and 2, and the discharge registers 1 and 2 are stored. By operating the first and second discharge solenoids independently based on the value of, a large number of prize balls can be discharged more quickly.
【0164】図37は、上述した排出処理(図33)の
ステップS252にて行われる排出エラー回復処理のサ
ブルーチンを示すフローチャートである。このルーチン
が開始されると、まず図19の排出センサ1レベル入力
処理のステップS7232で設定される排出1エラー解
除フラグが“1”であるか否か、また図23の排出セン
サ2レベル入力処理のステップS7432で設定される
排出2エラー解除フラグが“1”であるか否かそれぞれ
判定する(ステップS342,S344)。そして、両
方の判定でともに“Yes”となると、ステップS34
6以下の処理を行なう。ステップS346−S352で
は、図29の賞球開始処理におけるステップS81−S
86と同様の手続に従って、図19および図20の排出
センサレベル入力処理ルーチンで設定される排出センサ
1玉有フラグおよび排出センサ2玉有フラグと、図24
の半端センサ入力処理ルーチンで設定される半端センサ
玉有フラグさらに図23のオーバーフロー検出器入力処
理ルーチンで設定されるオーバーフロー玉無フラグを調
べて、いずれか一つのフラグでも“0”になっている場
合には排出可能フラグを“0”にクリアして終了する
(ステップS354)。FIG. 37 is a flowchart showing a subroutine of the ejection error recovery process performed in step S252 of the above-described ejection process (FIG. 33). When this routine is started, first, it is determined whether or not the discharge 1 error release flag set in step S7322 of the discharge sensor 1 level input processing of FIG. 19 is “1”, and the discharge sensor 2 level input processing of FIG. It is determined whether or not the discharge 2 error release flag set in step S7432 is “1” (steps S342 and S344). If both the determinations are “Yes”, the process proceeds to step S34.
6 and below are performed. In steps S346-S352, steps S81-S in the winning ball start process of FIG.
In accordance with the same procedure as in the case of FIG. 86, the discharge sensor 1 ball present flag and the discharge sensor 2 ball present flag set in the discharge sensor level input processing routine of FIGS.
In addition, the odd sensor existence flag set in the odd sensor input processing routine of FIG. 23 and the overflow ball absence flag set in the overflow detector input processing routine of FIG. 23 are checked, and any one of the flags is "0". In this case, the dischargeable flag is cleared to "0" and the process is terminated (step S354).
【0165】一方、すべてのフラグが“1”になってい
る場合には排出可能フラグを“1”にセットし(ステッ
プS356)、次のステップS358で上記排出可能フ
ラグが“1”になっているか否か調べ、“1”ならステ
ップS360およびS362で排出レジスタ1と排出レ
ジスタ2の値がそれぞれ「1」を越えているか判定し、
排出レジスタ1の値が「1」以下のときは排出レジスタ
2の値を、また排出レジスタ2の値が「1」以下のとき
は排出レジスタ1の値を、さらに排出レジスタ1と排出
レジスタ2の値がともに「1」を越えているときは両方
の値を排出レジスタ0に設定する(ステップS364,
S366,S368)。それから、図30の排出開始処
理と同一の処理を行なう(ステップS378)。On the other hand, if all the flags are "1", the discharge enable flag is set to "1" (step S356), and in the next step S358, the discharge enable flag becomes "1". It is checked whether the value is “1”, and if it is “1”, it is determined in steps S360 and S362 whether the values of the discharge register 1 and the discharge register 2 respectively exceed “1”,
When the value of the discharge register 1 is "1" or less, the value of the discharge register 2 is used. When the value of the discharge register 2 is "1" or less, the value of the discharge register 1 is used. 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 of FIG. 30 is performed (step S378).
【0166】これによって、2つの排出系のうちいずれ
か一方が球詰りを起こして排出エラーを起こしたような
場合にも、排出レジスタに残っている未排出の玉数が改
めて排出レジスタ0に設定されて再度排出が開始される
ようになるため、正常な他方の排出系を使用した排出が
行なわれ、故障によるパチンコ遊技機の遊技中断を回避
することができる。なお、このルーチンでは上記排出開
始処理(ステップS378)に先立って、処理ナンバー
をチェックしてナンバーが「2」のときは賞球排出表示
ランプ112を、またナンバーが「3」のときは貸し玉
排出表示ランプ113をそれぞれ点灯されるようになっ
ている(ステップS370,S372,S374,S3
76)。さらに、上記排出開始処理(ステップS37
8)終了後には排出エラーフラグを“0”にクリアして
本ルーチンを終了する(ステップS380)。In this way, even when one of the two discharge systems is clogged with a ball and a discharge error occurs, the number of undischarged balls remaining in the discharge register is set again in the discharge register 0. Then, the discharge is started again, so that the discharge using the other normal discharge system is performed, and the interruption of the game of the pachinko gaming machine due to the failure can be avoided. In this routine, prior to the discharge start processing (step S378), the processing number is checked. The discharge indicator lamps 113 are turned on (steps S370, S372, S374, S3).
76). Further, the discharge start process (step S37)
8) After the end, the discharge error flag is cleared to "0", and this routine ends (step S380).
【0167】上記ステップS360で排出レジスタ1の
値が「1」以下のときはステップS364で排出レジス
タ2の値を排出レジスタ0に設定しているのは、排出レ
ジスタの値が「1」ということは排出終了を意味してお
り、それにもかかわらず本ルーチンのエラー回復処理に
入ってきたのは排出レジスタ2に未排出の玉数が残って
いると推定できるからである。同様に、ステップS36
2で排出レジスタ2の値が「1」以下のときはステップ
S366で排出レジスタ1の値を排出レジスタ0に設定
しているのは、排出レジスタ2に未排出の玉数が残って
いると推定できるからである。If the value of the discharge register 1 is equal to or less than "1" in step S360, the value of the discharge register 2 is set to the discharge register 0 in step S364 because the value of the discharge register is "1". Means that the ejection has been completed, and the reason why the error recovery processing of this routine is started is that it can be estimated that the number of undischarged balls remains in the ejection register 2. Similarly, step S36
If the value of the discharge register 2 is equal to or smaller than "1" in step S2, the value of the discharge register 1 is set in the discharge register 0 in step S366 because the number of undischarged balls remains in the discharge register 2. Because you can.
【0168】図38は、前述した排出制御装置のメイン
ルーチン(図12)のステップS21で実行される玉貸
開始処理のサブルーチンを示すフローチャートである。
このサブルーチンは、図14の玉貸しリクエスト検出処
理ルーチンのステップS4122で玉貸し要求フラグが
セットされ、メインルーチンのステップS11で“Ye
s”と判定されることによって開始される。このサブル
ーチンが開始されると、まず前記図19および図20の
排出センサレベル入力処理ルーチンで設定される排出セ
ンサ1玉有フラグおよび排出センサ2玉有フラグと、図
24の半端センサ入力処理ルーチンで設定される半端セ
ンサ玉有フラグさらに図23のオーバーフロー検出器入
力処理ルーチンで設定されるオーバーフロー玉無フラグ
を調べて(ステップS402−S408)、いずれか一
つのフラグでも“0”になっている場合には排出可能フ
ラグを“0”にクリアして終了する(ステップS41
0)。FIG. 38 is a flowchart showing a subroutine of the ball lending start process executed in step S21 of the main routine (FIG. 12) of the above-described discharge control device.
In this subroutine, a ball lending request flag is set in step S4122 of the ball lending request detection processing routine of FIG. 14, and "Ye" is set in step S11 of the main routine.
When this subroutine is started, first, the flag with one discharge sensor and the two balls with discharge sensor set in the discharge sensor level input processing routine of FIGS. A flag, an odd sensor ball presence flag set in the odd sensor input processing routine of FIG. 24, and an overflow ball absence flag set in the overflow detector input processing routine of FIG. 23 are checked (steps S402 to S408). If any one of the flags is "0", the dischargeable flag is cleared to "0" and the process is terminated (step S41).
0).
【0169】一方、すべてのフラグが“1”になってい
る場合には排出可能フラグを“1”にセットし(ステッ
プS412)、予めROM内に設定されている変換レー
ト(玉貸し数データ)を排出レジスタ0にセットする
(ステップS414)。また、貸玉排出表示ランプ11
3を点灯させ(ステップS416)、玉貸し音要求フラ
グおよびP台レディフラグを“1”にセット(ステップ
S418,S420)してから、賞球排出処理と共通の
排出開始処理ルーチン(図30参照)を実行して球排出
装置170による排出を開始させた後、処理ナンバーを
「3」にして終了する(ステップS422,S42
4)。玉貸し排出では玉貸し数データが例えば25個の
ような値(>8)に設定されるため、ステップS422
の排出開始処理ルーチンが実行される場合、2系統の排
出系を同時に使用した排出が開始される。On the other hand, if all the flags are "1", the discharge enable flag is set to "1" (step S412), and the conversion rate (ball lending number data) set in the ROM in advance is set. Is set in the discharge register 0 (step S414). In addition, the ball lending discharge display lamp 11
3 is turned on (step S416), the ball lending sound request flag and the P-unit ready flag are set to "1" (steps S418, S420), and then a discharge start processing routine common to the prize ball discharge processing (see FIG. 30). ) To start the discharge by the ball discharge device 170, then set the process number to “3” and end (steps S422 and S42).
4). In the ball lending discharge, the ball lending number data is set to a value (> 8), for example, 25 pieces, so that step S422 is performed.
Is executed, the discharge using two discharge systems simultaneously is started.
【0170】なお、上記ステップS418,S420で
セットされる玉貸し音要求フラグは遊技盤制御装置40
0に対して出力する貸玉排出音発生要求信号Eを後述の
音要求出力処理(図46)でロウレベルに、またP台レ
ディフラグは玉貸し制御装置500に対して出力する玉
貸レディ信号Uを後述の貸し玉情報出力処理(図45)
でロウレベルに、それぞれアサートさせるためのもので
ある。図39は、前述した排出制御装置側のCPU61
0によって実行されるメインルーチン(図12)のステ
ップS17において実行される玉貸排出処理のサブルー
チンを示すフローチャートである。It should be noted that the ball lending request flag set in steps S418 and S420 is
The ball lending sound generation request signal E output to 0 is set to a low level in a sound request output process (FIG. 46) described below, and the P-ready flag is set to a ball lending ready signal U output to the ball lending control device 500. Is a lending ball information output process described later (FIG. 45).
To assert the respective low level. FIG. 39 shows the CPU 61 of the discharge control device described above.
13 is a flowchart illustrating a subroutine of a ball lending discharging process executed in step S17 of the main routine (FIG. 12) executed by the routine 0.
【0171】本ルーチンは、上記サブルーチン(図3
8)のステップS424で処理ナンバーが“3”に設定
され、メインルーチン(図12)のステップS7におい
て、処理ナンバーが“3”と判定されたときに開始さ
れ、先ず、ステップS432にて排出ウェイトフラグが
“1”であるか否かが判別される。この排出ウェイトフ
ラグは、1つの玉貸し要求信号に対応した所定数の貸し
玉の排出が終了して後述のウェイトタイマが作動(ステ
ップS440)したときにその値が“1”に設定され、
前述の排出開始処理(図30)のステップS138にて
“0”にリセットされるものである。従って、1つの玉
貸し要求信号に対応した所定数貸し玉の排出が終了した
後に初めてステップS432の判別結果が“Yes”と
なる。このステップS432の判別結果が“No”であ
るうちは、ステップS434に進んで、賞球排出処理と
共通の排出処理(図33)による貸し玉の排出を行なっ
た後、ステップS436に進む。このステップS436
では、排出終了フラグが“1”であるか否かが判別され
る。この排出終了フラグは、上記排出処理ルーチン(図
33)中において行なわれる図36に示す併用排出処理
(1個排出および交互排出処理は、この貸し玉排出では
原則として行なわれない)によって、1つの玉貸し要求
信号に対応した所定数の球の排出が完了したときにその
値が“1”に設定されるものである。従って、この判別
結果が“No”のときには続くステップS438乃至ス
テップS446をスキップして、本ルーチンを終了す
る。This routine is based on the above subroutine (FIG. 3)
The process number is set to "3" in step S424 of 8), and the process is started when the process number is determined to be "3" in step S7 of the main routine (FIG. 12). It is determined whether the flag is “1”. This discharge weight flag is set to “1” when the discharge of a predetermined number of lending balls corresponding to one ball lending request signal is completed and a later-described wait timer is operated (step S440),
This is reset to "0" in step S138 of the above-described discharge start processing (FIG. 30). Therefore, the determination result of step S432 becomes "Yes" only after the discharge of the predetermined number of lending balls corresponding to one lending request signal is completed. As long as the determination result of step S432 is "No", the process proceeds to step S434, in which the loaned ball is discharged by the common prize ball discharging process (FIG. 33) and thereafter, the process proceeds to step S436. This step S436
Then, it is determined whether or not the discharge end flag is "1". This discharge end flag is set to one by the combined discharge processing shown in FIG. 36 (one discharge and alternate discharge processing is not performed in principle in this lending ball discharge) shown in FIG. 36 performed during the discharge processing routine (FIG. 33). When a predetermined number of balls corresponding to the ball lending request signal have been discharged, the value is set to "1". Therefore, when the determination result is “No”, the subsequent steps S438 to S446 are skipped, and the present routine ends.
【0172】所定数の賞品球の排出が完了して、前記ス
テップS436の判別結果が“Yes”に転じたときに
は、排出ウェイトフラグを“1”に設定し(ステップS
438)、排出ウェイトタイマを所定時間(例えば40
0m秒)にセットし(ステップS440)、さらに払出
終了フラグを“1”に設定した(ステップS442)
後、貸玉排出表示ランプ113を消灯(OFF)し、連
続玉貸しカウンタをインクリメントして本ルーチンを終
了する(ステップS444,S446)。上記払出終了
フラグは後述の貸し玉情報出力処理(図45)において
払出完了信号Vをロウレベルにするために参照され、ま
た、連続玉貸しカウンタは前述の玉貸リクエスト検出処
理(図14)のステップS4102において参照され、
連続して6回以上の変換すなわち600円分以上の玉貸
し排出が回避されるようになっている。When the predetermined number of prize balls have been discharged and the determination result of step S436 has turned to "Yes", the discharge weight flag is set to "1" (step S43).
438), the discharge wait timer is set to a predetermined time (for example, 40
0 msec) (step S440), and the payout end flag is set to "1" ( step S442 ).
Thereafter, the ball discharge indicator lamp 113 is turned off (OFF), the continuous ball lending counter is incremented, and the routine ends (steps S444 and S446). The payout end flag is referred to in order to set the payout completion signal V to a low level in a lending ball information output process (FIG. 45) described later. Referenced in S4102,
Six or more consecutive conversions, that is, ball lending discharges of 600 yen or more are avoided.
【0173】上記ステップS436の判別結果が“Ye
s”に転じた後のループでは、ステップS438で排出
ウェイトフラグが“1”に設定されることにより、前記
ステップS432の判別結果が“Yes”に転じ、ステ
ップS448が実行される。このステップS448では
前記排出ウェイトタイマがタイムアップしたか否かが判
別され、判別結果が“No”、即ち所定数の賞品球の排
出が終了した後前記所定時間が未だ経過していないとき
にはそのまま本ルーチンを終了し、当該所定時間が経過
するまでステップS432及びステップS448のみを
繰返し実行する。そして、上記所定時間が経過してステ
ップS448の判別結果が“Yes”になると、ステッ
プS450に進んで処理ナンバーを“0”に設定して、
本ルーチンを終了する。If the result of the determination in step S436 is "Ye
In the loop after the transition to "s", the discharge wait flag is set to "1" in step S438, so that the result of the determination in step S432 changes to "Yes", and step S448 is executed. Then, it is determined whether or not the time of the discharge wait timer has expired. If the result of the determination is "No", that is, if the predetermined time has not yet elapsed after the discharge of the predetermined number of prize balls, this routine is terminated as it is. Then, only steps S432 and S448 are repeatedly executed until the predetermined time elapses, and when the predetermined time elapses and the determination result of step S448 becomes “Yes”, the process proceeds to step S450 and the processing number is set to “ Set to 0 ”
This routine ends.
【0174】図40ないし図42は、前述した排出制御
装置側のCPU610によって実行されるメインルーチ
ン(図12)のステップS16において実行される玉抜
処理のサブルーチンを示すフローチャートである。この
球抜処理ルーチンは遊技店の係員によって球抜スイッチ
が押されたことが前述の球抜センサ入力処理(図21)
によって検知され、球抜フラグが“1”に設定されてメ
インルーチンのステップS10で“Yes”と判定さ
れ、ステップS20で処理ナンバーが“4”に変更さ
れ、さらにメインルーチンのステップS6において、処
理ナンバーが“4”と判定されたときに開始されるもの
である。FIGS. 40 to 42 are flow charts showing a subroutine of ball removal processing executed in step S16 of the main routine (FIG. 12) executed by the CPU 610 of the above-described discharge control device. In this ball-pulling processing routine, the ball-pulling sensor input processing (FIG. 21) is performed when the ball-pulling-out switch is pressed by a game store attendant.
The flag is set to "1", the answer is "Yes" in step S10 of the main routine, the process number is changed to "4" in step S20, and the process number is changed to "4" in step S6 of the main routine. This is started when the number is determined to be "4".
【0175】本ルーチンが開始されると、先ずステップ
S602において強制終了フラグが“1”であるか否か
が判定される。この強制終了フラグは、球抜スイッチが
2回押されたときに(本ルーチンの実行中に再度球抜ス
イッチが押され、後述のステップS616又はステップ
S626の判定結果が“Yes”となったとき)実行さ
れるステップS700〜S736の強制終了処理が実行
される直前のステップS696にてその値が“1”に設
定されるものである。したがって、該フラグがステップ
S696の実行によって一旦“1”に設定されると、そ
の後のループでは前記ステップS602の判定結果が
“Yes”となって、後述のステップS700以降の強
制終了処理のみが実行されることになる。When this routine is started, it is first determined in step S602 whether or not the forced end flag is "1". This forced termination flag is determined when the ball release switch is pressed twice (when the ball release switch is pressed again during execution of this routine, and the determination result in step S616 or step S626 described later is “Yes”). The value is set to "1" in step S696 immediately before the forced termination processing in steps S700 to S736 is executed. Therefore, once the flag is set to “1” by execution of step S696, in the subsequent loop, the determination result of step S602 becomes “Yes”, and only the forcible termination processing of step S700 and thereafter described below is executed. Will be done.
【0176】前記ステップS602の判定結果が“N
o”のときには、ステップS604で球抜実行フラグが
“1”であるか否かが、続くステップS606で球抜開
始フラグが“1”であるか否かが判定される。このうち
球抜開始フラグは、続くステップS608〜S612の
処理が一度でも行われたときにその旨を記憶すべくステ
ップS614にてその値が“1”に設定されるものであ
る。又、球抜実行フラグは後述のステップS620,S
622によって排出ソレノイド1,2の励磁が開始され
球抜処理が実行されたときにその旨を記憶すべくステッ
プS624にて“1”に設定されるものである。If the result of the determination in step S602 is "N
In the case of "o", it is determined in step S604 whether or not the ball removal execution flag is "1", and in the following step S606, whether or not the ball removal start flag is "1". The value of the flag is set to “1” in step S614 so as to store the fact that the processing of steps S608 to S612 has been performed even once, and the ball skipping execution flag will be described later. Steps S620 and S
When the excitation of the discharge solenoids 1 and 2 is started by 622 and the ball removal process is executed, it is set to "1" in step S624 to store the fact.
【0177】ここで、本球抜処理ルーチンが初めて行わ
れた場合を考える。この場合には前記ステップS60
4,S606の判定結果は共に“No”となってステッ
プS608に進み、1回目の球抜スイッチの押圧(球抜
処理を開始させるための押圧)によって“1”にセット
された球抜フラグを“0”にリセットする。次のステッ
プS609,S610では第1及び第2の排出手段によ
る球抜処理が終了したことを記憶するために用いられる
排出1終了フラグ,排出2終了フラグを“0”にリセッ
トしておく。これら排出1終了フラグ,排出2終了フラ
グは前述の併用排出処理にて用いられたものがそのまま
転用でき、2つのフラグは後述のステップS628,S
646等の判定に用いられる。更に次のステップS61
1では球抜開始タイマがセット/スタートされる。この
球抜開始タイマは、実際に排出ソレノイド1,2を励磁
(ON)する前に、球抜装置の切換弁158を予め切換
えておくのに十分な所定のアイドルタイムを設けるため
のものである。Here, consider the case where the main ball removal processing routine is performed for the first time. In this case, step S60
4, the determination results in S606 are both "No", and the process proceeds to step S608. Reset to "0". In the next steps S609 and S610, the discharge 1 end flag and the discharge 2 end flag used to store the fact that the ball discharging process by the first and second discharging means is completed are set to "0". Reset it. The discharge 1 end flag and the discharge 2 end flag used in the above-described combined discharge processing can be diverted as they are, and the two flags are determined in steps S628 and S628 described later.
646 and the like. Further next step S61
At 1, the ball start timer is set / started. This ball removal start timer is for providing a predetermined idle time sufficient to switch the switching valve 158 of the ball removal device in advance before the discharge solenoids 1 and 2 are actually excited (ON). .
【0178】次のステップS612では前記切換弁15
8を切換るべく球抜ソレノイドが励磁(ON)され、続
いて前記球抜開始フラグが“1”に設定される(ステッ
プS614)。続くステップS616では上記ステップ
S602〜S614の実行中に球抜フラグが再び“1”
に設定されたか否か、即ち再度球抜スイッチが押された
か否か(2度押されたか否か)が判定される。この判定
結果が“Yes”のときにはステップS692〜S69
8を実行した後、球抜処理を強制的に終了させるべくス
テップS700以降の強制終了処理に進む。In the next step S612, the switching valve 15
In step S614, the ball- extraction solenoid is excited (ON) so as to switch to No. 8 , and then the ball- extraction start flag is set to "1". In the following step S616, the ball-extraction flag is set to "1" again during the execution of steps S602 to S614.
, That is, whether or not the ball release switch has been pressed again (whether or not it has been pressed twice). If the result of this determination is "Yes", steps S692-S69
After the execution of step 8, the process proceeds to the forcible termination process after step S700 to forcibly terminate the ball removal process.
【0179】より具体的には先ずステップS692及び
ステップS694で、後述のステップS628〜S64
4の処理にて用いられる排出1球無フラグ及び後述のス
テップS646〜S662の処理にて用いられる排出2
球無フラグが夫々“0”にリセットされ、ステップS6
96で強制終了処理に移行したことを示すべく前記強制
終了フラグが“1”に設定され、更に強制終了処理に移
行した直後より所定時間経過したか否かを判定するため
に設けられた強制終了タイマをセットして、後述のステ
ップS700以降の強制終了処理を行う。More specifically, first, in steps S692 and S694, steps S628 to S64 described later are performed.
No discharge one-ball flag used in the processing of step 4 and discharge 2 used in the processing of steps S646 to S662 described later.
The no-ball flags are reset to "0", respectively, and step S6
At 96, the forced termination flag is set to "1" to indicate that the process has proceeded to the forced termination process, and a forced termination provided to determine whether a predetermined time has elapsed from immediately after the transition to the forced termination process. The timer is set, and a forced termination process from step S700 onward described below is performed.
【0180】一方、この判定結果が“No”のときに
は、前記ステップS611でスタートさせた球抜開始タ
イマがタイムアップしたか否かが判定される。未だ球抜
開始タイマがタイムアップしないときには(判定結果が
“No”)、以後の処理を行うことなくそのまま本ルー
チンを終了する。次回以降のループでは前記タイマがタ
イムアップするまでステップS602〜S606,S6
16,S618のみが繰返し実行されることになる。前
記タイマがタイムアップしてステップS618の判定結
果が“Yes”に転じると、ステップS620,S62
2において夫々排出ソレノイド1,2が励磁(ON)さ
れて賞品球の流出が開始され、前述の球抜実行フラグが
“1”に設定される(ステップS624)。On the other hand, if the result of this determination is "No", it is determined whether or not the ball-extraction start timer started in step S611 has timed out. If the ball start start timer has not yet timed out (the determination result is “No”), the routine ends without performing the subsequent processing. In the next and subsequent loops, steps S602 to S606 and S6 are performed until the timer expires.
16, only S618 is repeatedly executed. When the timer times out and the determination result of step S618 turns to “Yes”, steps S620, S62
In step 2, the discharge solenoids 1 and 2 are excited (ON), respectively, to start the flow of the prize ball, and the above-mentioned ball removal execution flag is set to "1" (step S624).
【0181】このように一旦排出ソレノイド1,2が励
磁(ON)されて球抜実行フラグが“1”に設定される
と、次回以降のループにおいて、前記ステップS604
の判定結果が“Yes”となり、ステップS606〜6
24の処理がスキップされることになる。次のステップ
S626では再び、球抜フラグが“1”であるか否か即
ち、球抜処理を強制的に終了させるべく球抜スイッチの
2回押しがなされたか否かの判定が再びなされる。この
判定結果が“Yes”のときは、ステップS684〜S
690を行った後、前記ステップS692〜S698、
更には後述のステップS700以降の強制終了処理に進
む。As described above, once the discharge solenoids 1 and 2 are excited (ON) and the ball removal execution flag is set to "1", in the next and subsequent loops, the aforementioned step S604 is performed.
Is "Yes", and steps S606 to S606
24 will be skipped. In the next step S626, it is again determined whether or not the ball removal flag is "1", that is, whether or not the ball removal switch has been pressed twice to forcibly end the ball removal process. If the result of this determination is “Yes”, then steps S684 to S684
690, the steps S692 to S698,
Further, the process proceeds to the forcible termination process after step S700 described later.
【0182】ステップS684〜S690の処理では、
先ず排出1終了フラグが“1”であるか否かが判定され
(ステップS684)、この判定結果が“Yes”、即
ちこの時点で球排出装置170の第1排出ソレノイド側
の賞品球の流出がすべて完了しているときには(該フラ
グは第1の排出ソレノイド側の賞品球の流出がすべて完
了したとき後述のステップS642でその値が“1”に
設定される)ステップS686に進んで排出ソレノイド
1を消磁(OFF)し、その後ステップS688に進
む。一方、判定結果が“No”のときはステップS68
6をスキップしてステップS688に進む。In the processing of steps S684 to S690,
First, it is determined whether or not the discharge 1 end flag is “1” (step S684), and the result of this determination is “Yes”, that is, at this time, the outflow of the prize ball on the first discharge solenoid side of the ball discharge device 170 is performed. If all of them have been completed (the flag is set to "1" in step S642 to be described later when the outflow of the prize ball on the first discharge solenoid side is completely completed), the flow proceeds to step S686 and the discharge solenoid 1 Is demagnetized (OFF), and then the process proceeds to step S688. On the other hand, when the determination result is “No”, the process proceeds to step S68.
Skip to step S688 and proceed to step S688.
【0183】ステップS688では更に排出2終了フラ
グが“1”であるか否かが判定され、この判定結果“Y
es”、即ちこの時点で球排出装置170の第2排出ソ
レノイド側の賞品球の流出がすべて完了しているときに
は(該フラグは第2排出ソレノイド側の賞品球の流出が
すべて完了したとき後述のステップS660でその値が
“1”に設定される)ステップS690に進んで排出ソ
レノイド2を消磁(OFF)し、その後ステップS69
2に進み、一方、判定結果が“No”のときはステップ
S690をスキップしてステップS692以降に進む。In step S688, it is further determined whether or not the discharge 2 end flag is "1".
es ", that is, when all the prize balls on the second discharge solenoid side of the ball discharge device 170 have been flown out at this time (the flag is set when the flow of all the prize balls on the second discharge solenoid side is completed). (The value is set to "1" in step S660.) The process proceeds to step S690 to demagnetize (OFF) the discharge solenoid 2 and then to step S69.
The process advances to step S692 while skipping step S690 if the determination result is "No".
【0184】この時点で2回目の球抜スイッチの押圧が
為されず、前記ステップS626の判定結果が“No”
となったときには、ステップS628にて排出1終了フ
ラグが“1”であるか否かが判定される。 この排出1
終了フラグは、本球抜処理が初めて実行されたときに前
述のステップS609にて“0”にリセットされるもの
であり、反対に球抜処理によって全ての賞品球が流出さ
れたときに後述のステップS642にて“1”に設定さ
れる。従って本球抜処理により球排出装置170の第1
排出ソレノイド側の賞品球の排出が未だ完了していない
ときには、該ステップS628の判定結果は“No”と
なって、ステップS630以降の処理が実行される。At this time, the second press of the ball release switch is not performed, and the result of the determination in step S626 is "No".
, It is determined in step S628 whether or not the discharge 1 end flag is "1". This discharge 1
The end flag is reset to “0” in the above-described step S609 when the main ball removal processing is executed for the first time. Conversely, when all the prize balls flow out by the ball removal processing, the end flag will be described later. It is set to "1" in step S642. Therefore, the first ball of the ball discharging device 170 is
When the discharge of the prize ball on the discharge solenoid side has not been completed yet, the determination result in step S628 is “No”, and the processing in step S630 and thereafter is executed.
【0185】先ず、ステップS630では排出1球無フ
ラグが“1”であるか否かが判定される。この排出1球
無フラグは、メインルーチンのステップS4又は球排出
装置170の第1排出ソレノイド側の球抜処理が完了し
たとき(ステップS644)に“0”にリセットされ、
本球抜処理によって賞品球が流出され第1の案内樋内
(排出センサ1内)に賞品球がなくなってセンサ出力が
“0”となったときにその値が“1”に設定されるもの
である。従って、球抜開始後から排出センサ1内に賞品
球がなくなるまではこの判定結果は“No”となって、
ステップS632にて排出センサ1の出力がロウレベル
(“0”)であるか否かが判定される。球抜処理が完了
せず未だ排出センサ1内に賞品球が残っているときには
この判定結果は“No”となり、そのままステップS6
46以降に進む。First, in step S630, it is determined whether or not the one-ball-discharge no-ball flag is "1". This no-one-ball-discharge flag is determined in step S4 of the main routine or in the ball discharge.
When the ball discharging process on the first discharge solenoid side of the device 170 is completed (step S644), the ball is reset to “0”,
When the prize ball flows out by the main ball removal process and the prize ball disappears in the first guide gutter (in the discharge sensor 1) and the sensor output becomes "0", the value is set to "1". It is. Therefore, this determination result is “No” until no prize ball is left in the discharge sensor 1 after the start of ball removal, and
In step S632, it is determined whether the output of the discharge sensor 1 is at a low level ("0"). If the prize ball still remains in the ejection sensor 1 without completing the ball removing process, the determination result is “No”, and the process proceeds to step S6.
Proceed to 46 and thereafter.
【0186】この状態から球抜処理によって第1の賞球
導出樋内(センサ1内)に賞品球がなくなると、ステッ
プS632の判定結果が“Yes”に転じ、上記排出1
球無フラグが“1”に設定され(ステップS634)、
次いでセンサ1内に賞品球がなくなった時点からの時間
経過を計測する排出1球無タイマがセットされて(ステ
ップS636)ステップS646以降に進む。その以降
のループでは前記ステップS630の判定結果は“Ye
s”に転じ、ステップS638にて再度排出センサ1の
出力レベルがロウレベル(“0”)であるか否かが判定
される。In this state, if there is no prize ball in the first winning ball derivation gutter (inside the sensor 1) by the ball removing process, the determination result in step S632 changes to "Yes", and the discharge 1
The ball absence flag is set to “1” (step S634),
Next, a timer for counting the time elapsed from the point when the prize ball is exhausted in the sensor 1 is set (Step S636), and the process proceeds to Step S646. In the subsequent loop, the result of the determination in step S630 is “Ye
s ", and in step S638, it is determined again whether the output level of the discharge sensor 1 is at the low level (" 0 ").
【0187】この判定結果が“Yes”即ち前回ループ
に引き続いて今回ループでも排出センサ1の出力レベル
がロウレベルに保持されていると判定されたときにはス
テップS640に進んで前記ステップS636でセット
された排出1球無タイマがタイムアップしたか否かが判
定される。この判定結果が“No”のとき、即ち第1の
案内樋内(排出センサ1内)に賞品球がないと判定され
てから未だ所定時間が経過していないときには、ステッ
プS642,S644をスキップして、ステップS64
6以降に進む。以後、上記所定時間が経過するまで、前
記ステップS630,S638の判定結果が共に“Ye
s”、ステップS640の判定結果が“No”という具
合に判定される。When the result of this determination is "Yes", that is, when it is determined that the output level of the discharge sensor 1 is maintained at the low level in the current loop following the previous loop, the flow proceeds to step S640, and the discharge set in step S636 is performed. It is determined whether or not the one-ball no-timer has timed out. When this determination result is “No”, that is, the first
If the predetermined time has not yet elapsed since it was determined that there was no prize ball in the guide gutter (in the discharge sensor 1), steps S642 and S644 are skipped and step S64 is performed.
Proceed to 6 and later. Thereafter, until the predetermined time elapses, the determination results in steps S630 and S638 are both “Ye”.
s ", and the determination result of step S640 is" No ".
【0188】排出センサ1の出力レベルがロウレベルを
保持したまま上記所定時間が経過すると、ステップS6
40の判定結果が“Yes”に転じて排出1終了フラグ
が“1”に設定され(ステップS642)、更に排出1
球無フラグが“0”にリセットされて(ステップS64
4)、ステップS646以降に進む。このように、一旦
排出1終了フラグが“1”に設定されると次回以降のル
ープにおいては前記ステップS628の判定結果が“Y
es”となり、前記ステップS630〜S644をスキ
ップして、直接ステップS646以降に進むこととな
る。When the above-mentioned predetermined time has elapsed while the output level of the discharge sensor 1 is maintained at the low level, the process proceeds to step S6.
The determination result of 40 changes to "Yes", the discharge 1 end flag is set to "1" (step S642), and further the discharge 1
The no-ball flag is reset to "0" (step S64)
4) The process proceeds to step S646 and subsequent steps. As described above, once the discharge 1 end flag is set to “1”, the determination result of step S628 is “Y” in the next and subsequent loops.
es ", skipping steps S630 to S644 and proceeding directly to step S646 and subsequent steps.
【0189】ところで、本ルーチンが開始され、一旦排
出センサ1の出力がロウレベル(このとき排出1球無フ
ラグが“1”)となった後、上記排出1球無タイマがタ
イムアップする前に再び排出センサ1の出力レベルがハ
イレベル(“1”)に変化すると、前記ステップS63
8の判定結果が“No”に転じ、前記排出1終了フラグ
を“1”に設定することなく(ステップS642をスキ
ップして)、前記ステップS644にて排出1球無フラ
グを“0”にリセットしてステップS646以降に進む
ようになっている。この結果1つの賞品球が排出センサ
1内を通過した後次の賞品球が該センサ1内に達するま
での間に生じる出力信号の立下りや該センサ1の出力信
号にノイズが発生したとき等、出力信号の波形が一時的
に立下った場合に誤って案内樋内の賞品球の流出が完了
したと判断することがない。By the way, after this routine is started and the output of the discharge sensor 1 once becomes a low level (at this time, the discharge one ball absence flag is "1"), before the discharge one ball absence timer times out, the discharge sensor 1 is restarted. When the output level of the discharge sensor 1 changes to a high level ("1"), step S63 is performed.
The determination result of No. 8 changes to "No", and the discharge 1 end 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 thereafter. As a result, when one prize ball passes through the discharge sensor 1 and falls until the next prize ball reaches the inside of the sensor 1, the output signal falls, or when noise is generated in the output signal of the sensor 1. When the waveform of the output signal temporarily falls, it is not erroneously determined that the flow of the prize ball in the guide gutter is completed.
【0190】次のステップS646では更に排出2終了
フラグが“1”であるか否かが判定される。この排出2
終了フラグは、本球抜処理が初めて実行されたときに前
述のステップS610にて“0”にリセットされるもの
であり、反対に球抜処理によって全ての賞品球が流出さ
れたときに後述のステップS660にて“1”に設定さ
れる。従って本球抜処理により賞球排出装置170の第
2排出ソレノイド側の賞品球の排出が未だ完了していな
いときには、該ステップS646の判定結果は“No”
となって、ステップS648以降の処理が実行される。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-described step S610 when the main ball removal processing is executed for the first time, and will be described later when all the prize balls have flowed out by the ball removal processing. It is set to “1” in step S660. Therefore, when the prize ball is not completely discharged from the second discharge solenoid side of the prize ball discharge device 170 by the main ball removal processing, the determination result in step S646 is “No”.
As a result, the processing from step S648 is executed.
【0191】先ず、ステップS648では排出2球無フ
ラグが“1”であるか否かが判定される。この排出2球
無フラグは、メインルーチンのステップS4又は球排出
装置170の第2排出ソレノイド側の球抜処理が完了し
たとき(ステップS662)に“0”にリセットされ、
本球抜処理によって賞品球が流出され第2の案内樋内
(排出センサ2内)に賞品球がなくなってセンサ出力が
“0”となったときにその値が“1”に設定されるもの
である。First, in step S648, it is determined whether the no-discharge two-ball flag is "1". This no-discharge 2-ball flag is set in step S4 of the main routine or in the ball discharge.
When the ball discharging process on the second discharge solenoid side of the device 170 is completed (step S662), the ball is reset to “0”,
When the prize ball flows out by the main ball removal processing and the prize ball disappears in the second guide gutter (in the discharge sensor 2) and the sensor output becomes "0", the value is set to "1". It is.
【0192】従って、球抜開始後から排出センサ2内に
賞品球がなくなるまではこの判定結果は“No”となっ
て、ステップS650にて排出センサ2の出力がロウレ
ベル(“0”)であるか否かが判定される。球抜処理が
完了せず未だ排出センサ2内に賞品球が残っているとき
にはこの判定結果は“No”となり、そのままステップ
S664以降に進む。この状態から球抜処理によって第
2の案内樋内(センサ2内)に賞品球がなくなると、ス
テップS650の判定結果が“Yes”に転じ、上記排
出2球無フラグが“1”に設定され(ステップS65
2)、次いでセンサ2内に賞品球がなくなった時点から
の時間経過を計測する排出2球無タイマがセットされて
(ステップS654)ステップS664以降に進む。Therefore, the determination result is "No" until the prize ball is exhausted from the discharge sensor 2 after the start of removing the ball, and the output of the discharge sensor 2 is at low level ("0") in step S650. Is determined. If the prize ball still remains in the ejection sensor 2 without completing the ball removal process, the determination result is “No”, and the process proceeds directly to step S664 and subsequent steps. The this state by the sphere disconnect process
When there is no prize ball in the guide gutter No. 2 (inside the sensor 2), the determination result in step S650 changes to "Yes", and the above-described two-ball discharge flag is set to "1" (step S65).
2) Next, a two-ball discharge no-timer for measuring the time elapsed from the point when there is no prize ball in the sensor 2 is set (step S654), and the process proceeds to step S664 and subsequent steps.
【0193】その以降のループでは前記ステップS64
8の判定結果は“Yes”に転じ、ステップS656に
て再度排出センサ2の出力レベルがロウレベル
(“0”)であるか否かが判定される。この判定結果が
“Yes”即ち前回ループに引き続いて今回ループでも
排出センサ2の出力レベルがロウレベルに保持されてい
ると判定されたときにはステップS658に進んで前記
ステップS654でセットされた排出2球無タイマがタ
イムアップしたか否かが判定される。この判定結果が
“No”のとき、即ち第2の案内樋内(排出センサ2
内)に賞品球がないと判定されてから未だ所定時間が経
過していないときには、ステップS660,S662を
スキップして、ステップS664以降に進む。In the subsequent loop, step S64
The determination result of No. 8 changes to "Yes", and it is determined again in step S656 whether the output level of the discharge sensor 2 is the low level ("0"). If this determination result is "Yes", that is, it is determined that the output level of the discharge sensor 2 is maintained at the low level in the current loop following the previous loop, the process proceeds to step S658, and the discharge two balls set in step S654 are not used. It is determined whether the timer has expired. When this determination result is “No”, that is, in the second guide gutter (discharge sensor 2
If the predetermined time has not yet elapsed since it was determined that there is no prize ball in (in), steps S660 and S662 are skipped and the process proceeds to step S664 and subsequent steps.
【0194】以後、上記所定時間が経過するまで、前記
ステップS648,S656の判定結果が共に“Ye
s”、ステップS658の判定結果が“No”という具
合に判定される。排出センサ2の出力レベルがロウレベ
ルを保持したまま上記所定時間が経過すると、ステップ
S658の判定結果が“Yes”に転じて排出2終了フ
ラグが“1”に設定され(ステップS660)、更に排
出2球無フラグが“0”にリセットされて(ステップS
662)、ステップS664以降に進む。このように、
一旦排出2終了フラグが“1”に設定されると次回以降
のループにおいては前記ステップS646の判定結果が
“Yes”となり、前記ステップS648〜S662を
スキップして、ステップS664以降に進むこととな
る。Thereafter, until the predetermined time elapses, the determination results in steps S648 and S656 are both "Ye".
s "and the result of the determination in step S658 is" No. "When the above-mentioned predetermined time has elapsed while the output level of the discharge sensor 2 is maintained at the low level, the result of the determination in step S658 changes to" Yes ". The discharge 2 end flag is set to “1” (step S660), and further, the discharge 2 no-ball flag is reset to “0” (step S660).
662), and proceeds to step S664 and subsequent steps. in this way,
Once the discharge 2 end flag is set to “1”, the determination result of step S646 is “Yes” in the next and subsequent loops, skipping steps S648 to S662, and proceeding to step S664 and subsequent steps. .
【0195】ところで、本ルーチンが開始され、一旦排
出センサ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 the output of the discharge sensor 2 once becomes low level (at this time, the discharge two ball absence flag is "1"), before the timer of the discharge two ball absence timer expires, it is re-started. When the output level of the discharge sensor 2 changes to a high level ("1"), step S65 is performed.
The determination result of No. 6 changes to "No", and the discharge two-ball no flag is reset to "0" in the step S662 without setting the discharge 2 end flag to "1" (skipping step S660). Then, the process proceeds to step S664 and subsequent steps. As a result, when one prize ball passes through the discharge sensor 2, the output signal falls during the time until the next prize ball reaches the sensor 2, or when noise is generated in the output signal of the sensor 2. In addition, when the waveform of the output signal temporarily falls, it is not erroneously determined that the flow of the prize ball in the guide gutter is completed.
【0196】上記ステップS646〜S662を実行し
た結果、球排出装置170の第2排出ソレノイド側の賞
品球の流出が完了したと判定された後は、ステップS6
46の判定結果が“Yes”に転じステップS664に
て第1排出ソレノイド側の賞品球の球抜が完了したか否
か(排出1終了フラグが“1”か)の判定が再度なされ
る。この判定結果が“No”のときには、そのまま今回
ループでの処理を終了して、次回ループへと移行する
(次回ループでは再びステップS628〜S644が実
行されることになる)。As a result of executing steps S646 to S662, after it is determined that the prize ball on the second discharge solenoid side of ball discharge device 170 has flowed out, step S6 is performed.
The determination result of 46 changes to "Yes", and in step S664, it is determined again whether or not the prize ball on the first discharge solenoid side has been completely removed (the discharge 1 end flag is "1"). When the result of this determination is “No”, the processing in the current loop is terminated as it is, and the process proceeds to the next loop (in the next loop, steps S628 to S644 are executed again).
【0197】一方、判定結果が“Yes”、即ちこの時
点で球排出装置170の第1、第2の排出ソレノイドに
よる球抜処理が共に完了したと判断されたときには、先
ず前記球抜実行フラグ及び球抜開始フラグを共に“0”
にリセットし(ステップS666,S668)、球抜処
理を終了させるべく排出ソレノイド1,2の消磁(OF
F)を行ない(ステップS674,S676)、更に球
抜ソレノイドの消磁(OFF)(ステップS678)を
行った後、処理NOを“0”にリセットして(ステップ
S680)、本ルーチンを終了する。On the other hand, if the result of the determination is "Yes", that is, if it is determined at this time that the ball discharge process by the first and second discharge solenoids of the ball discharge device 170 has been completed, first the ball discharge execution flag and Both the ball start flag is set to “0”
(Steps S666 and S668), and demagnetize (OF) the discharge solenoids 1 and 2 to end the ball removing process.
F) (steps S674 and S676), and further performs degaussing (OFF) of the ball-pulling solenoid (step S678), resets the process NO to "0" (step S680), and terminates this routine.
【0198】次に前記ステップS602,S616,S
626の何れかの判定結果が“Yes”のときに行われ
る強制終了処理(ステップS700以降の処理)につい
て説明する。この処理は、球抜スイッチが押されて一旦
球抜処理が開始された後、再び該スイッチが押されたと
き(2回押し)に実行されるものである。先ず、ステッ
プS700では、強制終了タイマがタイムアップしたか
否かが判定される。この強制終了タイマは2回目のスイ
ッチの押圧がなされたとき(ステップS616,S62
6判定結果が“No”となった直後に実行されるステッ
プS698)にカウントを開始するものである。この判
定結果が“No”、即ち2回目のスイッチ押圧から未だ
所定時間が経過していないときには、ステップS702
にて排出1終了フラグが“1”であるか否かが判定され
る。Next, steps S602, S616, S
The forced termination process (the process after step S700) performed when any one of the determination results of 626 is “Yes” will be described. This process is executed when the switch is depressed again (twice) after the depressing switch is pressed and the depressing process is started once. First, in step S700, it is determined whether the time of the forced termination timer has expired. The forced termination timer is activated when the switch is pressed for the second time (steps S616 and S62).
6. The counting is started in step S698) executed immediately after the result of the determination is "No". If this determination result is “No”, that is, if the predetermined time has not yet elapsed since the second switch pressing, step S702
It is determined whether or not the discharge 1 end flag is "1".
【0199】このステップS702の判定結果が“N
o”、即ち球抜処理が完了する前(前記フラグはその値
が“1”のとき球排出装置170の第1排出ソレノイド
側の球抜が完了したことを表わす)に強制終了処理が開
始されたときには、更にステップS704にて排出セン
サ1立上フラグが“1”であるか否かが判定される。こ
の判定結果が“Yes”のとき、即ち、強制終了処理が
一旦行われた後、新たに賞品球がセンサ1内に達したと
きには、この時点で排出ソレノイド1を消磁(OFF)
し(ステップS706)、次いで強制的に排出1終了フ
ラグを“1“に設定して(ステップS708)、ステッ
プS710に進み、一方、“No”のときには、前記ス
テップS706,S708をスキップして、ステップS
710に進む。When the result of the determination in step S702 is "N
o ", that is, before the ball removing process is completed (when the value of the flag is" 1 ", this indicates that ball removing on the first discharge solenoid side of the ball discharging device 170 has been completed), the forced termination process is started. In step S704, it is determined whether or not the discharge sensor 1 startup flag is “1.” When the determination result is “Yes,” that is, after the forced termination process is performed once, When a new prize ball reaches the inside of the sensor 1, the discharge solenoid 1 is demagnetized (OFF) at this time.
(Step S706), then, forcibly sets the discharge 1 end flag to "1" (Step S708), and proceeds to Step S710. On the other hand, when "No", skips Steps S706 and S708. Step S
Proceed to 710.
【0200】ステップS710では排出2終了フラグが
“1”であるか否かが判定される。このステップS71
0の判定結果が“No”、即ち球抜処理が完了する前
(前記フラグはその値が“1”のとき排出装置170の
第2排出ソレノイド側の球抜が完了したことを表わす)
に強制終了処理が開始されたときには、更にステップS
712にて排出センサ2立上フラグが“1”であるか否
かが判定される。この判定結果が“Yes”のとき、即
ち、強制終了処理が一旦行われた後、新たに賞品球がセ
ンサ2内に達したときには、この時点で排出ソレノイド
2を消磁(OFF)し(ステップS714)、次いで強
制的に排出2終了フラグを“1”に設定して(ステップ
S716)、本ルーチンを終了する。In step S710, it is determined whether or not the discharge 2 end flag is "1". This step S71
The determination result of 0 is "No", that is, before the ball removal process is completed (when the value is "1", the flag indicates that the ball removal on the second discharge solenoid side of the discharge device 170 is completed)
When the forced termination process is started at
At 712, it is determined whether the discharge sensor 2 start flag is "1". When the determination result is “Yes”, that is, when the prize ball newly reaches the inside of the sensor 2 after the forced termination process is performed once, the discharge solenoid 2 is demagnetized (OFF) at this time (step S714). Then, the discharge 2 end flag is forcibly set to "1" (step S716), and this routine ends.
【0201】一方、判定結果が“No”のときには、前
記ステップS714,S716をスキップして、本ルー
チンを終了する。このように強制終了処理(ステップS
700以降の処理)が開始された後所定時間が経過する
までに排出センサ2の出力信号の立上り(新たな賞品球
がセンサ内に達したこと)が検出されて一旦排出2終了
フラグが“1”に設定されると、次回以降のループでは
ステップS710の判定結果が“Yes”となって、更
に排出1終了フラグが“1”であるか否かが判定される
(ステップS718)。この判定結果が“No”、即ち
この時点で、賞球排出装置の第1排出センサ1が強制終
了処理開始後の新たな賞品球を検出していないときは、
そのまま本ルーチンを終了する。この場合次回以降のル
ープにおいてもステップS702〜S708の処理が引
き続き実行される。On the other hand, if the decision result is "No", the steps S714 and S716 are skipped, and this routine ends. Thus, the forced termination process (step S
The start of the output signal of the discharge sensor 2 (a new prize ball has reached the inside of the sensor) is detected until a predetermined time elapses after the start of the processing after 700, and the discharge 2 end flag is once set to "1". In the next and subsequent loops, the determination result of step S710 becomes "Yes", and it is further determined whether or not the discharge 1 end flag is "1" (step S718). If the determination result is “No”, that is, at this time, the first discharge sensor 1 of the prize ball discharge device has not detected a new prize ball after the start of the forced termination process,
This routine ends as it is. In this case, the processes of steps S702 to S708 are continuously performed in the next and subsequent loops.
【0202】一方、前記ステップ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 result of the determination in step S718 is "Yes", that is, after the forced termination process has been executed, both the first and second ejection sensors 1 and 2 of the prize ball ejection device will cause a new prize ball. When it is detected that the sensor has reached the inside of the sensors 1 and 2, the processing of step S724 and thereafter described later is performed.
In addition, while the processing of steps S702 to S718 is being executed, a predetermined time has elapsed and the forced termination timer times out, and the determination result of step S700 is “Yes”.
(At this time, the discharge 1 end flag and the discharge 2
One of the end flags is “0”), step S
In steps 720 and S722, the discharge solenoid 1 and the discharge solenoid 2 are forcibly demagnetized (OFF), respectively, and step S724 is performed.
Proceed to the following.
【0203】ステップS724では、前述の強制終了フ
ラグを“0”にリセットし、更にステップS726,S
728にて前記球抜実行フラグ及び球抜開始フラグを共
に“0”にリセットし、更に球抜ソレノイドの消磁(O
FF)を行なった後(ステップS734)、処理NOを
“0”にリセットして(ステップS736)、本ルーチ
ンを終了する。図43には、図12のメイン処理フロー
中のステップS23で行なわれる補給処理の具体的手順
の一例が示されている。At step S724, the above-mentioned forced termination flag is reset to "0".
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. FIG. 43 shows an example of a specific procedure of the replenishment process performed in step S23 in the main process flow of FIG.
【0204】この補給処理が開始されると、まず補給セ
ンサ106の検出信号を検出する補給センサ入力処理
(図22)中において設定される補給センサ立上りフラ
グを調べ(ステップS752)、“Yes”のときはス
テップS754へ進み、完了ランプ108を点灯させて
から、補給要求フラグを“1”にセット、補給センサ立
上りフラグを“0”にクリアして、このルーチンを終了
する(ステップS756,S758)。この補給フラグ
は、後述の遊技台情報出力処理(図48)において管理
装置700に対する補給信号Kをアサートさせるために
参照される。When the replenishment process is started, the replenishment sensor rising flag set during the replenishment sensor input process (FIG. 22) for detecting the detection signal of the replenishment sensor 106 is checked (step S752). In step S754, the completion lamp 108 is turned on, the replenishment request flag is set to "1", the replenishment sensor rising flag is cleared to "0", and the routine ends (steps S756 and S758). . The replenishment flag is referred to in order to assert a replenishment signal K to the management device 700 in the game console information output process (FIG. 48) described later.
【0205】一方、上記ステップS752で“No”と
判定されたときは、ステップS760へ移行して補給セ
ンサが立ち下がったことを示す立下りフラグが「1」か
否か判定し、“No”なら何もせずにまた“Yes”な
ら上記ステップS754で点灯させた完了ランプ108
を消灯させてから(ステップS762)、補給要求フラ
グおよび補給センサ立下りフラグをそれぞれ“0”にク
リアして、このルーチンを終了する(ステップS76
4,S766)。図44には、図12のメイン処理フロ
ー中のステップS24で行なわれる情報出力処理の具体
的内容が示されている。On the other hand, if "No" is determined in the step S752, the process proceeds to the step S760 to determine whether or not a falling flag indicating that the replenishment sensor has fallen is "1". If no, nothing is done, and if "Yes", the completion lamp 108 turned on in step S754.
Is turned off (step S762), the replenishment request flag and the replenishment sensor fall flag are cleared to "0", respectively, and this routine ends (step S76).
4, S766). FIG. 44 shows the specific contents of the information output process performed in step S24 in the main process flow of FIG.
【0206】図44に示されているように、この情報出
力処理は、玉貸し制御装置500に対する出力信号を形
成する貸し玉情報出力処理S800と、遊技盤制御装置
400に対する出力信号を形成する音要求出力処理S8
50と、ホールの管理装置700に対する出力信号を形
成する賞球情報出力処理S900、遊技台情報出力処理
S950およびエラー情報出力処理S990とからな
る。図45には、上記情報出力処理フロー中における貸
し玉情報出力処理S800の具体的手順の一例を示す。
このルーチンが開始されると、まずステップS802で
玉貸し要求フラグがセットされているか否か調べる。こ
の玉貸し要求フラグは、図14に示されている玉貸しリ
クエスト検出処理ルーチン中において、玉貸し制御装置
500からの玉貸し要求信号Tが連続して5m秒以上ロ
ウレベルになったことを検出したときにセットされるフ
ラグである(ステップS4122)。As shown in FIG. 44, this information output process includes a lending ball information output process S800 for forming an output signal to the ball lending control device 500 and a sound for forming an output signal to the game board control device 400. Request output processing S8
50, a prize ball information output process S900 for forming an output signal to the hall management device 700, a gaming table information output process S950, and an error information output process S990. FIG. 45 shows an example of a specific procedure of the lending ball information output processing S800 in the information output processing flow.
When this routine is started, it is checked in step S802 whether a ball lending request flag is set. The ball lending request flag detects that the ball lending request signal T from the ball lending control device 500 has continuously been at the low level for 5 ms or more during the ball lending request detection processing routine shown in FIG. The flag is set at the time (step S4122).
【0207】ステップS802での判定の結果、“Ye
s”すなわち玉貸し要求フラグがセットされているとき
はそのまま、また“No”すなわち玉貸し要求フラグが
リセットされているときはステップS804でP台レデ
ィフラグを“0”にクリアしてから、それぞれステップ
S806へ進む。上記P台レディフラグは後述のステッ
プS810で、玉貸しレディ信号Uをハイレベルまたは
ロウレベルに変化されるか決定する際に使用されるフラ
グで、前述した玉貸し開始処理ルーチン(図38)が実
行されて玉貸し排出が開始される際に、ステップS42
0でセットされる。As a result of the determination in step S802, "Ye
s ", that is, if the ball lending request flag is set, or" No ", that is, if the ball lending request flag is reset, the P-unit ready flag is cleared to" 0 "in step S804, and The process proceeds to step S806. The P-unit ready flag is a flag used in step S810 described later to determine whether the ball lending ready signal U is changed to a high level or a low level. When the ball leasing discharge is started by executing (FIG. 38), step S42 is performed.
Set to 0.
【0208】このステップS806では、玉貸し制御装
置500に対して出力される払出完了信号Vがロウレベ
ル(有効)かハイレベル(無効)か判定する。その結
果、ハイレベルであればステップS808へ進み、玉貸
し排出処理ルーチン(図38)で排出が終了したときに
セットされる払出終了フラグが“1”か否か判定する。
そして、“No”であればステップS810へ移行し
て、上記P台レディフラグが“1”か否か判定し、“N
o”なら玉貸しレディ信号Uをハイレベルにネゲート
し、“Yes”なら玉貸しレディ信号Uをロウレベルに
アサートして本ルーチンを終了する(ステップS81
2,S814)。In this step S806, it is determined whether the payout completion signal V output to the ball lending control device 500 is low level (valid) or high level (invalid). If the result is a high level , the flow advances to step S808 to determine whether or not the payout end flag set when the discharge is completed in the ball lending discharge processing routine (FIG. 38) is "1".
If "No", the process proceeds to step S810, where it is determined whether or not the P-unit ready flag is "1".
If "o", the ball lending ready signal U is negated to the high level, and if "Yes", the ball lending ready signal U is asserted to the low level, and the routine ends (step S81).
2, S814).
【0209】従って、玉貸しリクエスト検出処理(図1
4)で玉貸し制御装置500からの玉貸し要求信号Tが
検出されて玉貸し要求フラグがセットされると、メイン
ルーチンのステップS11で“Yes”と判定されて玉
貸し開始処理ルーチン(図38)が実行されて玉貸し排
出が開始されるとともにP台レディフラグが“1”にセ
ットされるため、本玉貸し情報出力処理ルーチンではス
テップS802からステップS806へジャンプし、ス
テップS806,S808でそれぞれ“No”と判定さ
れ、ステップS810では“Yes”と判定して玉貸し
レディ信号Uをロウレベルにアサートする。Accordingly, the ball lending request detection processing (FIG. 1)
In 4), 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. 38) ) Is executed to start the ball lending discharge and the P-unit ready flag is set to “1”. Therefore, in the ball lending information output processing routine, the process jumps from step S802 to step S806, and in steps S806 and S808, respectively. "No" is determined, and in step S810, "Yes" is determined, and the ball lending ready signal U is asserted to a low level.
【0210】そして、その後玉貸し排出が終了して玉貸
し排出処理ルーチン(図39)で払出終了フラグが
“1”にセットされると、本ルーチンのステップS80
8で“Yes”と判定されてステップS816へ移行
し、玉貸し制御装置500に対する払出完了信号Vおよ
びホールの管理装置700へ出力される排出貸し玉数信
号J(1パルスが最小変換単位の玉数を表す)をそれぞ
れロウレベルにアサートし、かつ払出完了タイマをセッ
ト(起動)させ、払出終了フラグを“0”にクリアして
から(ステップS816,S818,S820,S82
2)、上記ステップS810−S814と進んで引き続
き玉貸しレディ信号Uをロウレベルにアサートしてお
く。Then, when the ball lending discharge is completed and the payout end flag is set to "1" in the ball lending discharge processing routine (FIG. 39), step S80 of this routine is performed.
8, the flow advances to step S816, and the payout completion signal V to the ball lending control device 500 and the discharged lending ball number signal J output to the hall management device 700 (balls whose pulse is the minimum conversion unit) Are respectively asserted to a low level, the payout completion timer is set (activated), and the payout end flag is cleared to "0" (steps S816, S818, S820, S82).
2), the process proceeds to steps S810 to S814 to continuously assert the ball lending ready signal U to a low level.
【0211】次に、再び本ルーチンが実行されると、ス
テップS806で“Yes”すなわち払出完了信号Vが
ロウレベルと判定されてステップS824へ移行し、上
記ステップS820でセットされたタイマがタイムアッ
プしたか否か判定される。ここで、タイマがまだタイム
アップしていなければそのまま上記ステップS810へ
移行し、タイムアップしていれば上記払出完了信号Vお
よび排出貸し玉数信号Jをそれぞれハイレベルにネゲー
トしてから(ステップS826,S828)、ステップ
S810−S814と進んで引き続き玉貸しレディ信号
Uをロウレベルにアサートしておく。Next, when this routine is executed again, "Yes" is determined in step S806, that is, it is determined that the payout completion signal V is at a low level, and the flow shifts to step S824, where the timer set in step S820 times out. It is determined whether or not. Here, if the timer has not yet expired, the process directly proceeds to step S810. If the timer has expired, the payout completion signal V and the number of discharged lending balls signal J are negated to high level, respectively (step S826). , S828), and proceeds to steps S810-S814 to continuously assert the ball lending ready signal U to the low level.
【0212】上記処理によって上記払出完了信号Vがハ
イレベルにネゲートされると、玉貸し制御装置500が
それを検知して玉貸し要求信号をハイレベルにネゲート
してくるため、玉貸しリクエスト検出処理(図14)で
玉貸し要求信号Tがハイレベルに変化されたことが検出
されて玉貸し要求フラグがリセットされる。すると、再
び本ルーチンが実行されたときにステップS802で
“No”と判定されるため、ステップS804へ移行し
てP台レディフラグが“0”にクリアされる。また、払
出完了信号Vがハイレベルにネゲートされているため、
ステップS806では“No”と判定され、ステップS
808、S810と進み、ステップS810で“No”
すなわちP台レディフラグが“0”と判定される。その
結果、玉貸しレディ信号Uがハイレベルにネゲートされ
て終了する。When the payout completion signal V is negated to the high level by the above processing, the ball lending control device 500 detects this and negates the ball lending request signal to the high level. In FIG. 14, it is detected that the ball lending request signal T has changed to the high level, and the ball lending request flag is reset. Then, when this routine is executed again, “No” is determined in step S802, and the process proceeds to step S804 to clear the P-unit ready flag to “0”. Also, since the payout completion signal V is negated to a high level,
In step S806, “No” is determined, and step S806
The process proceeds to 808 and S810, and “No” in step S810
That is, the P-unit ready flag is determined to be “0”. As a result, the ball lending ready signal U is negated to the high level, and the processing ends.
【0213】図46には、上記情報出力処理フロー中に
おける音要求出力処理S850の具体的手順の一例を示
す。このルーチンが開始されると、まずステップS85
2で遊技盤制御装置400に対する貸し玉排出音発生要
求信号Eがロウレベルにアサートされているか調べ、ハ
イレベルであればステップS854へ進み玉貸音要求フ
ラグが“1”にされているか否か判定する。上記玉貸音
要求フラグは、前述した玉貸し開始処理ルーチン(図3
8)が実行されて貸し玉排出が開始される際に、ステッ
プS418でセットされるフラグである。FIG. 46 shows an example of a specific procedure of the sound request output processing S850 in the information output processing flow. When this routine is started, first, step S85
In step 2, it is checked whether or not the lending ball discharge sound generation request signal E to the game board control device 400 is asserted at a low level. I do. The ball lending sound request flag is set in the ball lending start processing routine (FIG. 3).
This flag is set in step S418 when lending is started by executing 8).
【0214】ステップS854で“Yes”と判定され
るとステップS856へ移行し、貸し玉排出音発生要求
信号Eをロウレベルにアサートしてから、玉貸音タイマ
をセットし、玉貸音要求フラグを“0”にクリアして本
ルーチンを終了する(ステップS858,S860)。
一方、ステップS854で“No”すなわち玉貸音要求
フラグが“0”と判定すると、ステップS872へ進
み、遊技盤制御装置400に対する賞球排出音発生要求
信号Dがロウレベルにアサートされているか調べ、ハイ
レベルであればステップS874へ進み賞球音要求フラ
グが“1”にされているか否か判定する。上記賞球音要
求フラグは、前述した賞球開始処理ルーチン(図32)
が実行されて賞球排出が開始される際に、ステップS8
9でセットされるフラグである。If "Yes" is determined in the step S854, the process shifts to a step S856 to assert the lending ball discharge sound generation request signal E to a low level, set a lending sound timer, and set a lending sound request flag. It is cleared to "0" and this routine ends (steps S858 and S860).
On the other hand, if "No" in step S854, that is, if the ball lending request flag is determined to be "0", the flow advances to step S872 to check whether or not the prize ball emission sound generation request signal D to the game board control device 400 is asserted to a low level. If the level is high, the flow advances to step S874 to determine whether or not the prize ball sound request flag is set to "1". The prize ball sound request flag is set in the prize ball start processing routine (FIG. 32).
Is executed to start prize ball discharge, step S8
9 is a flag set.
【0215】ステップS874で“Yes”と判定され
るとステップS876へ移行し、賞球排出音発生要求信
号Dをロウレベルにアサートしてから、賞球音タイマを
セットし、賞球音要求フラグを“0”にクリアして本ル
ーチンを終了する(ステップS878,S880)。そ
れから、再び本ルーチンが開始されたときに、ステップ
S852へ来ると、“Yes”すなわち貸し玉排出音発
生要求信号Eがロウレベルであると判定されてステップ
S862へ移行し、上記ステップS858でセットした
玉貸音タイマがタイムアップしたか否か判定する。そし
て、タイムアップしていなければそのままルーチンを終
了し、タイムアップしていれば貸し玉排出音発生要求信
号Eをハイレベルにネゲートしてルーチンを終了する
(ステップS864)。If "Yes" is determined in the step S874, the process shifts to a step S876 to assert the prize ball discharge sound generation request signal D to a low level, set a prize ball sound timer, and set a prize ball sound request flag. It is cleared to "0" and this routine ends (steps S878, S880). Then, when the present routine is started again, when the process proceeds to step S852, it is determined that “Yes”, that is, the lending ball discharge sound generation request signal E is at the low level, the process proceeds to step S862, and the process proceeds to step S858. It is determined whether or not the ball lending timer has timed out. If the time is not up, the routine is terminated as it is. If the time is up, the lending ball discharge sound generation request signal E is negated to a high level and the routine is terminated (step S864).
【0216】一方、ステップS876で賞球排出音発生
要求信号Dがロウレベルにアサートされてから、再び本
ルーチンが開始され、ステップS872へ来ると“Ye
s”すなわち賞球排出音発生要求信号Dがロウレベルで
あると判定されてステップS882へ移行し、上記ステ
ップS878でセットした賞球音タイマがタイムアップ
したか否か判定する。そして、タイムアップしていなけ
ればそのままルーチンを終了し、タイムアップしていれ
ば賞球排出音発生要求信号Dをハイレベルにネゲートし
てルーチンを終了する(ステップS884)。図50に
は、上記情報出力処理フロー中におけるホールの管理装
置700に対する上記賞球情報出力処理S900の具体
的手順の一例を示す。この賞球情報はホールの管理装置
700に対して出力される。On the other hand, after the prize ball discharge sound generation request signal D is asserted to a low level in step S876, the present routine is started again, and when the routine proceeds to step S872, “Ye
s ", that is, it is determined that the prize ball discharge sound generation request signal D is at the low level, and the flow shifts to step S882 to determine whether or not the prize ball sound timer set in step S878 has timed out. If not, the routine is terminated as it is, and if the time is up, the prize ball discharge sound generation request signal D is negated to the high level and the routine is terminated (step S884). 9 shows an example of a specific procedure of the award ball information output processing S900 for the hole management device 700. The award ball information is output to the hole management device 700.
【0217】このルーチンが開始されると、まずステッ
プS902で遊技盤制御装置400に対し出力される読
込み確定信号Hがロウレベルにアサートされているか調
べ、ハイレベルであればステップS904へ進み、読込
み確定フラグが“1”にされているか否か判定する。上
記読込み確定フラグは、前述した賞球排出処理ルーチン
(図32)が実行されて賞球排出が開始される際に、ス
テップS214でセットされるフラグである。ステップ
S904で“Yes”と判定されるとステップS906
へ移行し、読込み確定信号Hをロウレベルにアサートし
てから、読込み確定タイマをセットし、読込み確定フラ
グを“0”にクリアして本ルーチンを終了する(ステッ
プS908,S910)。When this routine is started, it is checked in step S902 whether the read determination signal H output to the game board control device 400 has been asserted to a low level. It is determined whether the flag has been set to "1". The read confirmation flag is a flag that is set in step S214 when the above-described prize ball discharge processing routine (FIG. 32) is executed to start prize ball discharge. If “Yes” is determined in step S904, step S906 is performed.
Then, the read determination signal H is asserted low, the read determination timer is set, the read determination flag is cleared to "0", and this routine is terminated (steps S908 and S910).
【0218】そして、読込み確定信号Hがロウレベルに
アサートされてから、再び本ルーチンが開始され、ステ
ップS902まで来ると“Yes”すなわち読込み確定
信号Hがロウレベルであると判定されて、ステップS9
12へ移行して上記ステップS908でセットした読込
み確定タイマがタイムアップしたか否か判定する。そし
て、タイムアップしていなければそのままルーチンを終
了し、タイムアップしていれば読込み確定信号Hをハイ
レベルにネゲートしてルーチンを終了する(ステップS
914)。After the read confirmation signal H is asserted to the low level, this routine is started again. When the routine reaches step S902, "Yes", that is, the read confirmation signal H is determined to be at the low level, and the process proceeds to step S9.
Then, the process proceeds to step S12, and it is determined whether the reading determination timer set in step S908 has timed out. If the time is not up, the routine is terminated as it is. If the time is up, the read confirmation signal H is negated to the high level and the routine is terminated (step S).
914).
【0219】一方、ステップS904で“No”すなわ
ち読込み確定フラグが“0”と判定すると、ステップS
920へ進み、遊技盤制御装置400に対する賞球数信
号I(1パルスで排出球10個を表す)がロウレベルに
アサートされているか調べ、ハイレベルであればステッ
プS922へ進み、賞球送信禁止フラグが“1”にされ
ているか否か判定する。上記賞球送信禁止フラグは、後
述のステップS932で賞球数信号Iがネゲートされた
ときに所定時間該信号の送信を禁止させるためにセット
されるフラグである。On the other hand, if "No" in step S904, that is, if the read confirmation flag is determined to be "0", then step S904 is executed.
In step 920, it is determined whether the prize ball number signal I (representing 10 ejected balls with one pulse) to the game board control device 400 is asserted to a low level. Is set to “1”. The award ball transmission prohibition flag is a flag that is set to prohibit transmission of the award ball number signal I for a predetermined time when the award ball number signal I is negated in step S932 described later.
【0220】ステップS922で“No”と判定される
とステップS924へ移行し、賞球排出力ウンタ(図3
2の賞球排出処理中のステップS216で排出終了時に
排出数(賞球数)分だけ1度に更新される)の値が10
個以上か否か判定して“No”すなわち9個以下ならそ
のままルーチンを終了し、10個以上なら賞球数信号I
をロウレベルにアサートしてから、賞球数タイマ1をセ
ットして本ルーチンを終了する(ステップS926,S
928)。排出球10個に対して所定のパルス幅の賞球
数信号Iを1パルス出力させるためである。If “No” is determined in the step S 922, the process shifts to a step S 924, and a prize ball discharging force counter (FIG. 3)
The value of the number of discharges (the number of prize balls) is updated once at the end of discharge in step S216 during the prize ball discharge process of No. 2 (10).
It is determined whether or not the number is equal to or more than "No", that is, if the number is equal to or less than 9, the routine is terminated.
Is asserted to a low level, the award ball count timer 1 is set, and this routine ends (steps S926 and S926).
928). This is for outputting one pulse of the prize ball number signal I having a predetermined pulse width to ten ejected balls.
【0221】それから、再び本ルーチンが開始されたと
きに、ステップS920で“Yes”すなわち賞球数信
号Iがロウレベルであると判定すると、ステップS93
0へ移行して上記ステップS928でセットした賞球数
タイマ1がタイムアップしたか否か判定する。そして、
タイムアップしていなければそのままルーチンを終了
し、タイムアップしていればステップS932で賞球数
信号Iをハイレベルにネゲートしてから、賞球排出力ウ
ンタの値を「10」だけ減算し(タイマ1の動作中にも
カウンタの値は更新されるため“0”にクリアすること
はできない)、また賞球送信禁止フラグを“1”にセッ
トし、賞球タイマ2を起動して本ルーチンを終了する
(ステップS934,S936,S938)。Then, when this routine is started again, if "Yes" in step S920, that is, if it is determined that the number-of-prize-balls signal I is at the low level, step S93 is performed.
Then, the process proceeds to step S928, and it is determined whether or not the prize ball count timer 1 set in step S928 has timed out. And
If the time is not up, the routine is terminated as it is. If the time is up, the prize ball number signal I is negated to a high level in step S932, and the value of the prize ball discharge power counter is subtracted by "10" ( Since the counter value is updated even during the operation of the timer 1, it cannot be cleared to "0"). Also, the award ball transmission prohibition flag is set to "1", the award ball timer 2 is started, and this routine is started. Is ended (steps S934, S936, S938).
【0222】このようにして、賞球送信禁止フラグが
“1”にセットされてから再び本ルーチンが開始される
と、ステップS922で“Yes”すなわち賞球送信禁
止フラグが“1”と判定されるため、ステップS940
へ移行して賞球数タイマ2がタイムアップしたか否か判
定する。そして、タイムアップしていなければそのまま
ルーチンを終了し、タイムアップしていれば賞球送信禁
止フラグを“0”にクリアしてルーチンを終了する(ス
テップS942)。これによって、賞球数10個毎に所
定のパルス幅(タイマ1の設定時間)の賞球数信号Iを
出力させることができ、また賞球数信号Iを1パルス出
力した後は一定時間信号の送信が禁止される。その結
果、多数のパチンコ遊技機からの賞球数信号を受信する
管理装置700が各パチンコ遊技機からの賞球数信号I
を確実に取り込むことができる。When the present routine is started again after the prize-ball transmission prohibition flag is set to "1", "Yes", that is, the prize-ball transmission prohibition flag is determined to be "1" in step S922. Therefore, step S940
Then, it is determined whether or not the award ball count timer 2 has timed out. If the time is not up, the routine is terminated as it is, and if the time is up, the award ball transmission prohibition flag is cleared to "0" and the routine is terminated (step S942). As a result, it is possible to output the prize ball number signal I having a predetermined pulse width (set time of the timer 1) every ten prize ball numbers. Transmission is prohibited. As a result, the management device 700 that receives the prize ball number signals from a large number of pachinko game machines causes the management apparatus 700 to receive the prize ball number signals I from each of the pachinko game machines.
Can be reliably captured.
【0223】図48には、上記情報出力処理(図44)
フロー中における上記遊技台情報出力処理S950の具
体的手順の一例を示す。この遊技台情報もホールの管理
装置700に対して出力される。このルーチンが開始さ
れると、まずステップS952で補給要求フラグが
“1”にされているか否か判定する。上記補給要求フラ
グは、前述した補給センサ入力処理ルーチン(図22)
によって補給センサ106の入力が検知され、メインル
ーチン中の補給処理(図43)が実行されることによ
り、ステップS756でセットされるフラグである。こ
のステップS952で“No”と判定されると次のステ
ップS953で補給要求信号Kをハイレベルにネゲート
し、“Yes”と判定されるとステップS954へ移行
して補給要求信号Kをロウレベルにアサートしてから、
ステップS956へ移行する。FIG. 48 shows the information output process (FIG. 44).
An example of a specific procedure of the gaming machine information output processing S950 in the flow is shown. This gaming table information is also output to the hall management device 700. When this routine is started, it is first determined in step S952 whether or not the supply request flag has been set to "1". The replenishment request flag is determined by the replenishment sensor input processing routine described above (FIG. 22).
When the input of the replenishment sensor 106 is detected by this and the replenishment process (FIG. 43) in the main routine is executed, the flag is set in step S756. If "No" is determined in step S952, the replenishment request signal K is negated to the high level in the next step S953, and if "Yes" is determined, the process proceeds to step S954 to assert the replenishment request signal K to the low level. after,
The process moves to step S956.
【0224】ステップS956では、枠センサ入力処理
ルーチン(図16)で枠センサ103からの信号の変化
を検知して設定される枠解放フラグを、また続くステッ
プS958では同じく枠センサ入力処理ルーチン(図1
6)で設定される枠閉塞フラグをそれぞれ調べて、枠解
放フラグが“1”なら枠解放信号をロウレベルにアサー
トし、枠閉塞フラグが“1”なら枠閉塞信号をハイレベ
ルにネゲートして(ステップS957,S959)か
ら、ステップS960へ移行する。ステップS960で
は、遊技盤制御装置400に対して出力されるアウト数
信号L(1パルスでアウト球10個を表す)がロウレベ
ルにアサートされているか調べ、ハイレベルであればス
テップS962へ進み、アウト送信禁止フラグが“1”
にされているか否か判定する。上記アウト送信禁止フラ
グは、後述のステップS972でアウト数信号Iがネゲ
ートされたときに所定時間該信号の送信を禁止させるた
めにセットされるフラグである。In step S956, the frame release flag set by detecting a change in the signal from the frame sensor 103 in the frame sensor input processing routine (FIG. 16), and in the subsequent step S958, the frame sensor input processing routine (FIG. 16) 1
A frame stoppage flag set by 6) Examine each asserts the frame release signal if the frame release flag is "1" to low level, negates the frame occlusion signal if the frame closure flag is "1" to the high level ( The process moves from step S957, S959) to step S960. In step S960, it is checked whether the number-of-outs signal L (one pulse represents ten out-balls) output to the game board control device 400 is asserted to a low level, and if it is at a high level, the process proceeds to step S962. Transmission prohibition flag is "1"
It is determined whether or not it has been set. The out transmission inhibition flag is a flag set to inhibit transmission of the out number signal I for a predetermined time when the out number signal I is negated in step S972 described later.
【0225】ステップS962で“No”と判定される
とステップS964へ移行し、アウトカウンタ(図25
のアウトセンサ入力処理ルーチン中のステップS602
2で1球毎に更新される)の値が10個以上か否か判定
して9個以下ならそのままルーチンを終了し、10個以
上ならアウト数信号Iをロウレベルにアサートしてか
ら、アウトタイマ1をセットして本ルーチンを終了する
(ステップS966,S968)。アウト球10個に対
して所定のパルス幅のアウト数信号Lを1パルス出力さ
せるためである。If "No" is determined in the step S962, the process shifts to the step S964, and the out counter (FIG. 25)
Step S602 in the out sensor input processing routine of
2 is updated for each ball). If the value is 10 or more, the routine is immediately terminated if the value is 9 or less. 1 is set, and this routine ends (steps S966 and S968). This is for outputting one out-number signal L having a predetermined pulse width to ten out-balls.
【0226】それから、再び本ルーチンが開始されたと
きに、ステップS960まで来ると“Yes”すなわち
アウト数信号Lがロウレベルであると判定され、ステッ
プS970へ移行して上記ステップS968でセットし
たアウトタイマ1がタイムアップしたか否か判定する。
そして、タイムアップしていなければそのままルーチン
を終了し、タイムアップしていればステップS972で
アウト数信号Lをハイレベルにネゲートしてから、アウ
トカウンタの値を「10」だけ減算し(タイマ1の動作
中にもカウンタの値は更新されるため“0”にクリアす
ることはできない)、またアウト送信禁止フラグを
“1”にセットし、アウトタイマ2を起動して本ルーチ
ンを終了する(ステップS974,S976,S97
8)。Then, when this routine is started again, when it reaches step S960, "Yes", that is, it is determined that the number-of-outs signal L is at the low level, and the flow shifts to step S970 to set the out-timer set in step S968. It is determined whether 1 has timed out.
If the time is not up, the routine is terminated as it is. If the time is up, the out number signal L is negated to a high level in step S972, and the value of the out counter is reduced by "10" (timer 1). The value of the counter is also updated during the operation (1), so that it cannot be cleared to "0"). Also, the out transmission inhibit flag is set to "1", the out timer 2 is started, and this routine is ended ( Steps S974, S976, S97
8).
【0227】このようにして、アウト送信禁止フラグが
“1”にセットされてから再び本ルーチンが開始される
と、ステップS962で“Yes”すなわちアウト送信
禁止フラグが“1”と判定されるため、ステップS98
0へ移行してアウトタイマ2がタイムアップしたか否か
判定する。そして、タイムアップしていなければそのま
まルーチンを終了し、タイムアップしていればアウト送
信禁止フラグを“0”にクリアしてルーチンを終了する
(ステップS982)。図49には、上記情報出力処理
(図44)フロー中における上記エラー情報出力処理S
990の具体的手順の一例を示す。このエラー情報もホ
ールの管理装置700に対して出力される。When the routine is started again after the out transmission inhibition flag is set to "1", "Yes", that is, the out transmission inhibition flag is determined to be "1" in step S962. , Step S98
0, and determines whether or not the time out of the out timer 2 has elapsed. If the time is not up, the routine is terminated as it is, and if the time is up, the out transmission inhibition flag is cleared to "0" and the routine is terminated (step S982). FIG. 49 shows the error information output process S in the information output process (FIG. 44) flow.
990 shows an example of a specific procedure. This error information is also output to the hall management device 700.
【0228】このルーチンが開始されると、まずステッ
プS992で排出エラーフラグが“1”になっているか
否か判定する。このステップS992で“No”と判定
されると次のステップS994で排出不正フラグが
“1”になっているか否か判定する。上記排出エラーフ
ラグは、前述した排出処理ルーチン(図33)におい
て、排出開始処理ルーチン(図30)のステップS14
2でセットされた排出監視タイマがカウントアップする
までに所定数の賞品球の排出が完了しないときに、ステ
ップS242にて排出制御系の異常を示すべくその値が
“1”に設定されるものである。この排出エラーフラグ
が“1”にされると前述の排出エラー回復処理(図3
7)が実行されると共に、本ルーチンのエラー情報出力
が行なわれる。一方、上記排出不正フラグは、前述した
排出装置不正監視処理ルーチン(図27)によって排出
ソレノイドがオフ状態であるにもかかわらず排出センサ
の入力が検知されることにより、ステップS1114で
セットされるフラグである。When this routine is started, it is first determined in step S992 whether or not the discharge error flag is "1". If “No” is determined in this step S992, it is determined in the next step S994 whether or not the discharge improper flag is “1”. The discharge error flag is determined in step S14 of the discharge start processing routine (FIG. 30) in the discharge processing routine (FIG. 33) described above.
When the set discharge monitoring timer 2 is not completed discharge of the predetermined number of prize balls before counting up, stearyl
In step S242, the value is set to "1" to indicate an abnormality of the emission control system. When the discharge error flag is set to "1", the above-described discharge error recovery processing (FIG.
7) is executed, and the error information of this routine is output. On the other hand, the above-described discharge improper flag is set in step S1114 by detecting the input of the discharge sensor in spite of the discharge solenoid being in the off state by the above-described discharge device improper monitoring process routine (FIG. 27). It is.
【0229】上記ステップS992またはS994のい
ずれの判定でも“No”と判定されると次のルーチン9
96でエラー信号をハイレベルにネゲートし、ステップ
S992またはS994のいずれかで“Yes”と判定
されるとステップS998へ移行してエラー信号をロウ
レベルにアサートして終了する。図50には、図12の
メイン処理フロー中のステップS15で行なわれる停電
回復処理の具体的手順の一例が示されている。この停電
回復処理は、前述の停電割込み処理(図26)によって
排出中データ(賞球排出数または貸し玉排出数)の退避
が行なわれ、最終ステップS3020で停電フラグが
“1”に設定されて終了した後、停電が回復してCPU
に電源が供給されてメインルーチンが開始されたとき
に、ステップS1で停電フラグが“1”と判定してステ
ップS13へ移行し、処理ナンバーを“5”に設定して
から、ステップS5へ移行したときに“Yes”と判定
されることで開始される。If the determination in step S992 or S994 is “No”, the next routine 9
In step 96, the error signal is negated to the high level. If "Yes" is determined in either step S992 or S994, the process proceeds to step S998 to assert the error signal to the low level and terminate. FIG. 50 shows an example of a specific procedure of the power failure recovery processing performed in step S15 in the main processing flow of FIG. In this power failure recovery processing, the data being discharged (the number of prize balls discharged or the number of lending balls discharged) is saved by the above-described power failure interruption processing (FIG. 26), and the power failure flag is set to “1” in the final step S3020. After the power is restored, the power
When the power is supplied to the power supply and the main routine is started, the power failure flag is determined to be "1" in step S1 and the process proceeds to step S13, the process number is set to "5", and then the process proceeds to step S5. It is started when it is determined as “Yes” when it is done.
【0230】ステップS1で停電フラグが“1”と判定
されてステップS13へ移行したときに直ちに本停電回
復処理を実行することをせずに、一旦処理ナンバーを
“5”設定して、ステップS5で“Yes”と判定され
ることで開始させているのは、ステップS3の排出装置
不正監視処理を先に実行させて排出不正がないことを確
認してから、停電によって中断された排出を再開させる
ためである。図50の停電回復処理が開始されると、ま
ず前記排出センサレベル入力処理ルーチン(図19およ
び図20)で設定される排出センサ1玉有フラグおよび
排出センサ2玉有フラグと、図27の半端センサ入力処
理ルーチンで設定される半端センサ玉有フラグ、さらに
図26のオーバーフロー検出器入力処理ルーチンで設定
されるオーバーフロー玉無フラグを調べて(ステップS
1002−S1008)、いずれか一つのフラグでも
“0”になっている場合には排出可能フラグを“0”に
クリアして終了する(ステップS1010)。When the power failure flag is determined to be "1" in step S1 and the process shifts to step S13, the power failure recovery process is not immediately executed, but the process number is set to "5" once, and the process proceeds to step S5. The reason why the determination is "Yes" is that the discharge device improper monitoring process in step S3 is executed first to confirm that there is no improper discharge, and then the discharge interrupted by the power failure is restarted. It is to make it. When the power failure recovery process of FIG. 50 is started, first, a discharge sensor 1 ball presence flag and a discharge sensor 2 ball presence flag set in the discharge sensor level input processing routine (FIGS. 19 and 20), An odd sensor presence flag set in the sensor input processing routine and an overflow absence flag set in the overflow detector input processing routine of FIG. 26 are checked (step S).
1002-S1008), if any one of the flags is "0", the dischargeable flag is cleared to "0" and the process is terminated (step S1010).
【0231】一方、すべてのフラグが“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 enable flag is set to "1" (step S1012), and then the value of the discharge register saved in the backup RAM or the interrupted state is set. The save data such as a flag indicating that the discharged discharge is a ball lending discharge is returned to the original register or flag (step S1014). In the next step S1016, it is determined whether or not the discharge enable flag is "1".
In S1020, it is determined whether the values of the discharge register 1 and the discharge register 2 each exceed “1”, and when the value of the discharge register 1 is “1” or less, the value of the discharge register 2 is
When the value of the discharge register 2 is "1" or less, the value of the discharge register 1 is further increased.
If both values exceed "1", both values are set in the discharge register 0 (steps S1022 and S102).
4, S1026).
【0232】それから、中断された排出が玉貸し排出で
あったか否か判定する(ステップS1028)。そし
て、“Yes”ならステップS1030以降の継続玉貸
し排出を行ない、“No”すなわち中断された排出が賞
球排出であった場合には、ステップS1042以降の継
続賞球排出を行なう。これによって、停電発生時に2つ
の排出系のうちいずれか一方に未排出の玉数が残ってい
た場合にも、未排出の玉数が改めて排出レジスタ0に設
定されて再度排出が開始されるようになるため、停電回
復後に速やかに未排出の玉を排出させることができる。Then, it is determined whether or not the interrupted discharge is a ball lending discharge (step S1028). If “Yes”, continuous ball lending discharge is performed after step S1030, and “No”, that is, the interrupted discharge is awarded.
If the ball has been discharged , the continuous prize ball discharge after step S1042 is performed. Thus, even if the number of undischarged balls remains in one of the two discharge systems when a power failure occurs, the number of undischarged balls is set again in the discharge register 0 and discharge is started again. Thus, the undischarged balls can be discharged immediately after the recovery from the power failure.
【0233】なお、上記ステップS1018で排出レジ
スタ1の値が「1」以下のときはステップS1022で
排出レジスタ2の値を排出レジスタ0に設定しているの
は、排出レジスタの値が「1」ということは排出終了を
意味しており、排出レジスタ2に未排出の玉数が残って
いると推定できるからである。同様に、ステップS10
20で排出レジスタ2の値が「1」以下のときはステッ
プS1024で排出レジスタ1の値を排出レジスタ0に
設定しているのは、排出レジスタ1に未排出の玉数が残
っていると推定できるからである。When the value of the discharge register 1 is equal to or less than "1" in step S1018, the value of the discharge register 2 is set in the discharge register 0 in step S1022 because the value of the discharge register is "1". This means that the discharge has been completed, and it can be estimated that the number of undischarged balls remains in the discharge register 2. Similarly, step S10
If the value of the discharge register 2 is equal to or less than “1” at 20, the value of the discharge register 1 is set to the discharge register 0 in step S1024, because the number of undischarged balls remains in the discharge register 1. Because you can.
【0234】上記継続玉貸し排出では、まず玉貸し音要
求フラグおよびP台レディフラグを“1”にセット(ス
テップS1030,S1032)して、貸し玉排出表示
ランプ113を点灯(ステップS1034)させてか
ら、図30に示されている排出開始処理と同一のルーチ
ンを実行して球排出装置170による排出を開始させる
(ステップS1036)。それから、玉貸し排出中であ
ったことの記憶を消去し、処理ナンバーを“3”に設定
(ステップS1038,S1040)した後、ステップ
S1050へ移行して停電フラグを“0”にクリアして
本ルーチンを終了する。処理ナンバーを“3”に設定す
るのは、上記ステップS1036で開始させた貸し玉排
出をメインルーチンの玉貸し排出処理S17で終了させ
るためである。In the continuous ball lending discharge, the ball lending sound request flag and the P-unit ready flag are set to "1" (steps S1030 and S1032), and the lending ball discharge display lamp 113 is turned on (step S1034). Then, the same routine as the discharge start processing shown in FIG. 30 is executed to start discharge by the ball discharge device 170 (step S1036). Then, the memory that the ball is being lent out is erased, the process number is set to “3” (steps S1038, S1040), and then the process proceeds to step S1050, where the power failure flag is cleared to “0” and the process is completed. End the routine. The processing number is set to “3” in order to end the lending ball discharge started in step S1036 in the ball lending discharge processing S17 of the main routine.
【0235】一方、ステップS1042以降の継続賞球
排出では、賞球排出表示ランプ112を点灯させてか
ら、図30に示されている排出開始処理と同一のルーチ
ンを実行して球排出装置170による排出を開始させる
(ステップS1044)。それから、賞球排出中であっ
たことの記憶を消去し、処理ナンバーを“2”に設定
(ステップS1046,S1048)した後、ステップ
S1050へ移行して停電フラグを“0”にクリアして
本ルーチンを終了する。処理ナンバーを“2”に設定す
るのは、上記ステップS1044で開始させた賞球排出
をメインルーチンの賞球排出処理S18で終了させるた
めである。On the other hand, in the continuous prize ball discharge after step S1042, the same routine as the discharge start processing shown in FIG. The discharge is started (step S1044). Then, the memory that the prize ball is being discharged is erased, the processing number is set to “2” (steps S1046, S1048), and then the process proceeds to step S1050, where the power failure flag is cleared to “0” and the process is ended. End the routine. The process number is set to "2" in order to end the prize ball discharge started in step S1044 in the prize ball discharge process S18 of the main routine.
【0236】次に、カードリーダ250に対する制御信
号や残高表示器122の駆動信号およびパチンコ遊技機
に設けられた玉貸し変換ボタン123からの信号によっ
て上記排出制御装置600に対する玉貸し要求信号等を
形成して出力する上記玉貸し制御装置500の制御手順
を図51ないし図60を参照して詳細に説明する。図5
1には、上記玉貸し制御装置のメインルーチンの概略が
示されている。このメインルーチンは、玉貸し制御装置
500の電源が投入されると繰返し実行される。電源が
立上がると、先ず、RAMのクリアやフラグの設定、出
力バッファのリセット等の初期設定を行なう(ステップ
S8002)。次のステップS8004では玉貸し可能
表示器126を一旦消灯状態にさせ、残高表示器122
には残高ゼロ(3桁表示の場合には“000”)の表示
を行なわせる駆動信号を形成し出力する(ステップS8
006)。[0236] Next, by a signal from the ball lending conversion button 123 provided on the drive signal and pachinko gaming machine control signals and the balance display 122 for the card reader 250
Te be described in detail with reference to FIG. 51 through FIG. 60 the control procedure of the ball lending controller 500 which forms and outputs a ball lending request signal or the like for the discharge control device 600. FIG.
1 shows an outline of a main routine of the ball lending control device. This main routine is repeatedly executed when the ball lending control device 500 is turned on. When the power is turned on, first, initial settings such as clearing of a RAM, setting of a flag, and resetting of an output buffer are performed (step S8002). In the next step S8004, the ball lending possible display 126 is turned off once, and the balance display 122
In step S8, a drive signal for displaying zero balance ("000" in the case of three-digit display) is formed and output.
006).
【0237】それから、次のステップへ進み、玉貸し処
理(ステップS8008)、返却処理(ステップS80
10)、ファンクション送受信処理(ステップS801
2)および決済信号出力処理(ステップS8014)の
4つの処理を、互いに並行して同時進行的に行なう。図
52および図53には、上記メインルーチン(図51)
のステップS8008で実行される玉貸し処理の具体的
手順の一例が示されている。Then, the process proceeds to the next step, where a ball lending process (step S8008) and a return process (step S80)
10), function transmission / reception processing (step S801)
The two processes of 2) and the settlement signal output process (step S8014) are performed concurrently and simultaneously. FIGS. 52 and 53 show the main routine (FIG. 51).
An example of a specific procedure of the ball lending process executed in step S8008 is shown.
【0238】この処理が開始されると、まず排出制御装
置600から送られてくる玉貸イネーブル信号Uを調べ
て信号が立ち下がったか否か判定する(ステップS81
02)。そして、“No”すなわち玉貸イネーブル信号
Uが立ち下がっていないときはステップS8104へ進
んで、玉貸イネーブル信号Uを調べて信号が立ち上がっ
たか否か判定する。玉貸イネーブル信号Uは玉貸し制御
装置500から排出制御装置600に対して玉貸要求信
号T(ロウレベル)を送ったことに対する応答として、
また排出制御装置600が貯留タンク151内の玉不足
または遊技盤の打止め状態が解除されたのを検知した場
合に、ロウレベルに変化される信号であり、システムの
電源が投入され排出制御装置600の制御が開始される
ときには、玉貸イネーブル信号Uがハイレベル状態にさ
れる。そのため、玉貸し制御装置500がステップS8
104でこの信号の立下がりを検知して“Yes”と判
定すると、ステップS8106へ移行してカードリーダ
制御装置250に対するカード受付可能を知らせるファ
ンクションコードの送信予約をした後、ステップS81
02へ戻る。When this processing is started, first, the ball lending enable signal U sent from the discharge control device 600 is checked to determine whether or not the signal has fallen (step S81).
02). If "No", that is, if the ball lending enable signal U has not fallen, the process proceeds to step S8104 to check the ball lending enable signal U to determine whether the signal has risen. The ball lending enable signal U is a response to the ball lending request signal T (low level) sent from the ball lending control device 500 to the emission control device 600,
When the discharge control device 600 detects that the number of balls in the storage tank 151 is short or the game board has been released from the stopped state, the signal is changed to a low level. Is started, the ball lending enable signal U is set to the high level state. Therefore, the ball lending control device 500 determines in step S8
If the fall of this signal is detected in 104 and the determination is "Yes", the flow proceeds to step S8106 to reserve a function code for notifying the card reader control device 250 that the card can be accepted, and then to step S81.
Return to 02.
【0239】次に、再びステップS8102−S810
4と進んでステップS8104で“No”と判定する
と、ステップS8108へ進み玉貸し可能表示器126
が点灯しているか調べる。この玉貸し可能表示器126
は、後述のファンクション送受信処理(図55,56)
において、カードリーダ制御装置250からカード金額
を受信したときに点灯されるランプである。従って、カ
ードリーダにカードが挿入される前は、ステップS81
08での判定は“No”となってステップS8102へ
戻って上記ステップを繰り返す。Next, steps S8102-S810 are performed again.
If the determination is "No" in step S8104, the flow advances to step S8108, and the ball lending available indicator 126 is displayed.
Check if is lit. This ball lending possible indicator 126
Is a function transmission / reception process described later (FIGS. 55 and 56).
Is a lamp that is turned on when a card amount is received from the card reader control device 250. Therefore, before the card is inserted into the card reader, step S81
The determination at 08 is "No" and the process returns to step S8102 to repeat the above steps.
【0240】そして、カードリーダにカードが挿入さ
れ、カードリーダ制御装置250からカード金額が送信
されて玉貸し可能表示器126が点灯されると、ステッ
プS8108での判定が“Yes”となってステップS
8110へ進む。ステップS8110では、上記玉貸イ
ネーブル信号Uがハイレベルであるか確認して“Ye
s”なら次のステップS8112へ移行し、“No”な
らステップS8102へ戻る。上述したように、玉貸イ
ネーブル信号Uは玉貸し制御装置500から排出制御装
置600に対して玉貸要求信号Tを送ったことに対する
応答としてロウレベルに変化される信号であり、玉貸イ
ネーブル信号Uがロウレベルであるのは既に玉貸し排出
処理が開始されていると考えられるからである。Then, when the card is inserted into the card reader, the card amount is transmitted from the card reader control device 250, and the ball lending possible display 126 is turned on, the judgment in step S8108 becomes "Yes" and the step S
Proceed to 8110. In step S8110, it is determined whether or not the ball lending enable signal U is at a high level.
If "s", the process proceeds to the next step S8112, and if "No", the process returns to step S8102.As described above, the ball lending enable signal U sends the ball lending request signal T from the ball lending control device 500 to the discharge control device 600. This signal is changed to low level in response to the transmission, and the ball lending enable signal U is at low level because it is considered that the ball lending discharge process has already been started.
【0241】一方、ステップS8102で玉貸イネーブ
ル信号Uの立下がりを検出すると、ステップS8103
へ移行して玉貸可能表示器126が点灯中か調べる。そ
して、点灯していればステップS8105へ進み、玉貸
可能表示器126を消灯させ磁気書込ファンクション送
信予約(ステップS8107)を行なってから、またス
テップS8103の判定で“No”の時はそのままステ
ップS8109へ進んで、カード受付不能を示す受付不
可ファンクションの送信予約を行なってステップS81
02へ戻る。排出制御装置600が貯留タンク151内
の玉不足または遊技盤の打止め状態が解除されたのを検
知した場合にも、玉貸イネーブル信号Uがロウレベルに
立ち下がるためである。On the other hand, if the fall of the ball lending enable signal U is detected in step S8102, the process proceeds to step S8103.
Then, it is determined whether or not the ball lending available indicator 126 is lit. If it is lit, the process proceeds to step S8105, the ball lending display 126 is turned off, and a magnetic write function transmission reservation is made (step S8107). Proceeding to S8109, make a transmission reservation for a non-reception function indicating that the card cannot be received, and execute step S81.
Return to 02. This is because the ball lending enable signal U falls to a low level even when the discharge control device 600 detects the shortage of balls in the storage tank 151 or the release of the stopped state of the game board.
【0242】上記ステップS8110で“Yes”すな
わち玉貸イネーブル信号Uがハイレベルであると確認す
ると、ステップS8112へ進み、残高記憶手段542
内のカード残高を調べて残高がゼロか否か判定する。こ
こで、“Yes”なら何もせずにステップS8102へ
戻り、“No”すなわち残高がゼロでないときはステッ
プS8116ないしS8122で変換ボタン群123の
いずれか一つがオンされているか調べる。そして、いず
れのボタンもオンされていないときにはステップS81
02へ戻って上記ステップを繰り返す。If "Yes" in step S8110, that is, it is confirmed that the ball lending enable signal U is at a high level, the flow advances to step S8112, where the balance storage means 542 is set.
The balance of the card in is checked to determine whether the balance is zero. If “Yes”, the process returns to step S8102 without doing anything. If “No”, that is, if the balance is not zero, it is checked in steps S8116 to S8122 whether any one of the conversion button groups 123 is turned on. If none of the buttons is turned on, step S81 is executed.
02 and the above steps are repeated.
【0243】一方、ステップS8122で100円分の
玉貸し変換ボタンがオンされたと判定したときはステッ
プS8136へ移行して後述の払出回数レジスタの値を
「1」にセットする。また、ステップS8116ないし
S8120で500円、300円または200円のいず
れかの変換ボタンがオンされたと判定すると、それぞれ
ステップS8124,S8126,S8128へ移行し
てオンされたボタンの変換要求金額とカードの残金とを
比較して、カードの金額の方が多いか否か判定する。そ
して、カードの金額の方が多いときにのみ、ステップS
8130,S8132,S8134へ移行して払出回数
を各々「5」,「3」または「2」にセットし、カード
の金額の方が少ないときにはステップS8102へ戻
る。従って、遊技者がカードの残金を間違えて残金より
も大きな変換ボタンを押してしまったとしても玉貸し排
出はなされず、再度別の変換ボタンを押すことで玉貸し
処理が実行されるようになる。On the other hand, if it is determined in step S8122 that the 100-yen ball lending conversion button has been turned on, the flow shifts to step S8136 to set the value of a payout number register described later to "1". If it is determined in steps S8116 to S8120 that any of the 500 yen, 300 yen, or 200 yen conversion button has been turned on, the process proceeds to steps S8124, S8126, and S8128, respectively, and the conversion request amount of the turned on button and the card By comparing with the balance, it is determined whether or not the amount of the card is larger. Then, only when the amount of the card is larger, the step S
The flow shifts to steps 8130, S832, and S8134 to set the number of payouts to "5", "3", or "2", respectively. If the amount of the card is smaller, the flow returns to step S8102. Therefore, even if the player mistakes the balance of the card and presses the conversion button larger than the balance, the ball lending and discharging is not performed, and the ball lending process is executed by pressing another conversion button again.
【0244】オンされた変換ボタンに応じて払出回数を
セットするのは、球排出装置170の一回の排出動作に
よって100円分の貸し玉を排出するようになっている
ためである。上記ステップS8130ないしS8136
で払出回数をセットした後は、ステップS8138へ進
み、玉貸し可能表示器126が消灯されているか否か調
べ、点灯中であれば、ステップS8140で玉貸し中フ
ラグを“1”にセットしてから図53のステップS81
42へ移行する。ただし、ステップS8138で玉貸し
可能表示器126が消灯されていると判定すると、図5
3のステップS8196へ移行して磁気書込ファンクシ
ョンとカード排出ファンクションの送信予約(ステップ
S8198)をし、玉貸中フラグをクリア(ステップS
8188)してから、最初のステップS8102へ戻
る。変換ボタンを押した後直ちに返却ボタンを押せば玉
貸し排出処理が開始されないようにするためである。図
56の返却処理では、玉貸し可能表示器126が点灯し
ているときに返却ボタンがオンされると、玉貸し可能表
示器126を消灯させてからカードをカードリーダより
排出させる指令を与えるようになっている。ステップS
8130ないしS8136でセットされた払出回数は、
再びカードが挿入され上記ステップへ移行してきたとき
に書き直される。The reason why the number of payouts is set in accordance with the turned-on conversion button is that the lending ball for 100 yen is discharged by one discharging operation of the ball discharging device 170. Steps S8130 to S8136
After the number of payouts is set in step S8138, the flow advances to step S8138 to check whether or not the ball lending possible indicator 126 is turned off. If the lending is possible, the ball lending flag is set to "1" in step S8140. From step S81 in FIG.
Move to 42. However, if it is determined in step S8138 that the ball lending possible display 126 is turned off,
The process proceeds to Step S8196 of Step 3 to make a transmission reservation of the magnetic writing function and the card ejection function (Step S8198), and clear the ball lending flag (Step S8).
8188), and then return to the first step S8102. This is so that if the return button is pressed immediately after the conversion button is pressed, the ball lending and discharging process is not started. In the return process of FIG. 56, if the return button is turned on while the ball lending possible display 126 is lit, a command to turn off the ball lending possible display 126 and then eject the card from the card reader is given. It has become. Step S
The number of payouts set in 8130 to S8136 is
It is rewritten when the card is inserted again and the process proceeds to the above steps.
【0245】図53のステップS8142へ移行した場
合には、排出制御装置600に対する玉貸要求信号Tを
ロウレベルにアサートしてから、玉貸イネーブル信号U
の応答待ちのPRQタイマ(3m秒)をセットする(ス
テップS8144)。それから、排出制御装置600か
らの玉貸イネーブル信号Uが立ち下がったか判定し、
“No”なら上記タイマがタイムアップしたか否か判定
する(ステップS8146,S8148)。ここで、P
RQタイマがタイムアップする前に玉貸イネーブル信号
Uが立ち下がると、玉貸し処理を保留すべくステップS
8192へジャンプして磁気書込ファンクションと受付
不可ファンクションの送信予約(ステップSS819
4)をしてから、ステップS8140でセットした玉貸
中フラグを“0”にクリア(ステップS8188)し、
最初のステップS8102へ戻る。排出制御装置600
では、玉貸要求信号Tが入ってから5m秒後に玉貸イネ
ーブル信号Uをロウレベルにアサートするようにしてい
るので、3m秒以内に玉貸イネーブル信号Uがロウレベ
ルに立ち下がるのは、排出制御装置600が貯留タンク
151内の玉不足または遊技盤の打止め状態が解除され
たのを検知した場合であると考えられるためである。上
記送信予約により図54のファンクション送受信処理が
実行される。ただし、この場合、磁気書込ファンクショ
ンコードとともにカードリーダに送られるカード残高デ
ータは読み込んだときのデータと同一である。When the flow proceeds to step S8142 in FIG. 53, the ball lending request signal T to the emission control device 600 is asserted to a low level, and then the ball lending enable signal U
A PRQ timer (3 ms) waiting for the response is set (step S8144). Then, it is determined whether the ball lending enable signal U from the emission control device 600 has fallen,
If “No”, it is determined whether or not the timer has expired (steps S8146, S8148). Where P
If the ball lending enable signal U falls before the RQ timer times out, step S is executed to suspend the ball lending process.
Jump to 8192 to reserve transmission of magnetic write function and unacceptable function (step SS819)
4) After that, the ball lending flag set in step S8140 is cleared to “0” (step S8188),
It returns to the first step S8102. Emission control device 600
Since the ball lending enable signal U is asserted to a low level 5 ms after the ball lending request signal T enters, the ball lending enable signal U falls to a low level within 3 msec. This is because 600 is considered to be a case where it is detected that the number of balls in the storage tank 151 is short or the hit state of the game board is released. The function transmission / reception processing of FIG. 54 is executed by the transmission reservation. However, in this case, the card balance data sent to the card reader together with the magnetic writing function code is the same as the data at the time of reading.
【0246】一方、ステップS8148で玉貸イネーブ
ル信号Uが立ち下がる前にPRQタイマがタイムアップ
したと判定すると、ステップS8150へ進み、玉貸し
排出処理に入ったことを知らしめるべく玉貸可能表示器
126を消灯する。それから、PRQタイマを例えば3
秒にセットする(ステップS8152)。上記タイマが
タイムアップしたか判定し、“No”なら上記玉貸イネ
ーブル信号Uがロウレベルになっているか否か判定する
(ステップS8154,S8156)。ここで、玉貸イ
ネーブル信号Uがロウレベルになる前にPRQタイマが
タイムアップすると、ステップS8196へジャンプし
て磁気書込ファンクションとカード排出ファンクション
の送信予約(ステップS8198)をしてから、ステッ
プS8140でセットした玉貸中フラグを“0”にクリ
ア(ステップS8188)し、最初のステップS810
2へ戻る。排出制御装置600は玉貸要求信号Tが入っ
てから5m秒後に玉貸イネーブル信号Uをロウレベルに
アサートするようになっているので、玉貸要求信号Tが
立ち下げてから3秒以上経過しても玉貸イネーブル信号
Uがロウレベルにならないのは、排出装置の側に異常が
あると考えられるためである。On the other hand, if it is determined in step S8148 that the PRQ timer has expired before the ball lending enable signal U falls, the flow advances to step S8150 to display a ball lending possible display to inform that ball lump discharging processing has started. 126 is turned off. Then, set the PRQ timer to 3
Seconds are set (step S8152). It is determined whether or not the timer has timed out, and if "No", it is determined whether or not the ball lending enable signal U is at a low level (steps S8154 and S8156). Here, if the PRQ timer times out before the ball lending enable signal U becomes low level, the process jumps to step S8196 to reserve the transmission of the magnetic writing function and the card ejection function (step S8198), and then in step S8140 The set ball lending flag is cleared to "0" (step S8188), and the first step S810 is executed.
Return to 2. The discharge control device 600 asserts the ball lending enable signal U to a low level 5 ms after the ball lending request signal T enters, so that 3 seconds or more have elapsed after the ball lending request signal T falls. The reason why the ball lending enable signal U does not become low level is that it is considered that there is an abnormality on the side of the discharging device.
【0247】ステップS8154でPRQタイマがタイ
ムアップする前に玉貸イネーブル信号Uがロウレベルに
なったと判定すると、ステップS8158へ進んで排出
タイマ(3秒)をセットする。それから、上記タイマが
タイムアップしたか判定し(ステップS8160)、
“No”ならステップS8162で返却ボタンがオンさ
れているか判定し、オンならステップS8130,S8
132,S8134でセットした払出回数を「1」に変
更(ステップS8164)してから、またオフならその
ままステップS8166へ移行して払出完了信号Vが立
ち上がったか否か判定する(ステップS8166)。通
常3秒あれば排出は終了するので、3秒経過しても払出
完了信号Vが立ち上がらないのは、排出装置の側に異常
があると考えられるためである。また、返却ボタンがオ
ンされている場合に払出回数を「1」に変更しているの
は、一旦変換ボタンを操作した後で誤操作に気がついた
り気が変わったような場合に返却ボタンを操作すれば途
中で玉貸し排出処理を中断させることができるようにす
るためである。ただし、既に処理が開始されているの
で、1回すなわち100円分の貸し玉の排出は実行され
るようにするため、払出回数を「0」でなく「1」に変
更するようにしている。If it is determined in step S8154 that the ball lending enable signal U has become low before the PRQ timer times out, the flow advances to step S8158 to set a discharge timer (3 seconds). Then, it is determined whether the timer has expired (step S8160),
If “No”, it is determined in step S8162 whether the return button is turned on. If it is on, steps S8130, S8
After changing the number of payouts set in steps 132 and S8134 to “1” (step S8164), if the number of payouts is off, the process directly proceeds to step S8166 to determine whether or not the payout completion signal V has risen (step S8166). Usually, the discharge is completed in 3 seconds, and the payout completion signal V does not rise even after 3 seconds, because it is considered that there is an abnormality in the discharge device. Also, the reason why the number of payouts is changed to “1” when the return button is turned on is that once the conversion button is operated, if the user notices an erroneous operation or changes his mind, the user can operate the return button. This is to allow the ball lending discharge process to be interrupted halfway. However, since the processing has already been started, the number of payouts is changed from "0" to "1" in order to discharge the lending ball for one time, that is, 100 yen.
【0248】払出完了信号Vが立ち上がる前に上記排出
タイマがタイムアップすると、ステップS8196へジ
ャンプして磁気書込ファンクションと受付不可ファンク
ションの送信予約(ステップS8198)をしてから、
ステップS8140でセットした玉貸中フラグを“0”
にクリア(ステップS8188)し、最初のステップS
8102へ戻る。上記排出タイマがタイムアップする前
に払出完了信号Vが立ち上がると、ステップS8168
へ進み、カード残高(度数)および払出回数を「1」だ
け減らし、カード管理装置800に対する決済信号j
(パルス)の出力カウンタを「1」だけ増加させる(ス
テップS8170,S8172)。それから、ステップ
S8174へ進んで払出回数が「0」になったか否か判
定し、“No”なら上記ステップS8158へ戻って上
記手順を繰り返し、“Yes”すなわち払出回数が
「0」のときはステップS8176へ移行する。ステッ
プS8176では玉貸要求信号Tをハイレベルにネゲー
トしてから、次のステップでPRQタイマを3秒にセッ
トする(ステップS8178)。If the discharge timer times out before the payout completion signal V rises, the flow jumps to step S8196 to reserve the transmission of the magnetic writing function and the unacceptable function (step S8198).
The ball lending flag set in step S8140 is set to “0”
Is cleared (step S8188), and the first step S
Return to 8102. If the payout completion signal V rises before the discharge timer times out, step S8168.
Then, the card balance (frequency) and the number of payouts are reduced by “1”, and the settlement signal j to the card management device 800 is set.
The (pulse) output counter is increased by "1" (steps S8170, S8172). Then, the process proceeds to step S8174 to determine whether or not the number of payouts has become “0”. If “No”, the process returns to step S8158 to repeat the above procedure. If “Yes”, that is, if the number of payouts is “0”, The process moves to S8176. In step S8176, the ball lending request signal T is negated to a high level, and then the PRQ timer is set to 3 seconds in the next step (step S8178).
【0249】それから、上記タイマがタイムアップした
か判定し、“No”なら上記玉貸イネーブル信号Uがハ
イレベルになっているか否か判定する(ステップS81
80,S8182)。ここで、玉貸イネーブル信号Uが
ロウレベルになる前にPRQタイマがタイムアップする
と、ステップS8196へジャンプして磁気書込ファン
クションとカード排出ファンクションの送信予約(ステ
ップS8198)をしてから、ステップS8140でセ
ットした玉貸中フラグを“0”にクリア(ステップS8
188)し、最初のステップS8102へ戻る。玉貸要
求信号Tを立ち上げてから3秒以上経過しても玉貸イネ
ーブル信号Uがハイレベルにならないのは、排出装置の
側に異常があると考えられるためである。Then, it is determined whether or not the timer has timed out, and if "No", it is determined whether or not the ball lending enable signal U is at a high level (step S81).
80, S8182). Here, if the PRQ timer times out before the ball lending enable signal U becomes low level, the process jumps to step S8196 to reserve the transmission of the magnetic writing function and the card ejection function (step S8198), and then in step S8140 Clears the set ball lending flag to “0” (step S8)
188), and returns to the first step S8102. The reason why the ball lending enable signal U does not become high even after 3 seconds or more has elapsed since the ball lending request signal T is activated is because it is considered that there is an abnormality in the discharging device.
【0250】ステップS8182でPRQタイマがタイ
ムアップする前に玉貸イネーブル信号Uがハイレベルに
なったと判定すると、ステップS8184へ進んでカー
ド残高が「0」か否か判定する。そして、カード残高が
「0」ならステップS8196へジャンプして磁気書込
ファンクションとカード排出ファンクションの送信予約
(ステップS8198)をしてから、ステップS814
0でセットした玉貸中フラグを“0”にクリア(ステッ
プS8188)し、最初のステップS8102へ戻る。
これによって、遊技中、カードをカードリーダ内に保持
させておいても、カード残高が「0」になると自動的に
カードがカードリーダより排出され、遊技者はカード残
高が「0」になったことを速やかに知ることができる。
また、磁気書込ファンクションの送信予約の際には、送
信バッファ内に書込みファンクションコードとともにカ
ード残高データをテキストとして入れておく。If it is determined in step S8182 that the ball lending enable signal U has gone high before the PRQ timer times out, the flow advances to step S8184 to determine whether or not the card balance is "0". If the card balance is "0", the flow jumps to step S8196 to make a transmission reservation for the magnetic writing function and the card ejection function (step S8198), and then to step S814.
The ball lending flag set at 0 is cleared to "0" (step S8188), and the process returns to the first step S8102.
Thereby, even if the card is held in the card reader during the game, when the card balance becomes "0", the card is automatically ejected from the card reader, and the player has the card balance "0". You can know that quickly.
When making a transmission reservation for the magnetic writing function, the card balance data is written as text along with the write function code in the transmission buffer.
【0251】一方、上記ステップS8184でカード残
高が「0」でないと判定すると、ステップS8186へ
進んで、玉貸排出処理が終了し次の玉貸し変換ボタンの
操作が可能であることを表示すべく玉貸可能表示器12
6を点灯させてからステップS8188へ進み、ステッ
プS8140でセットした玉貸中フラグをゼロにクリア
してから最初のステップS8102へ戻る。図54に
は、上記メインルーチン(図51)のステップS801
0で実行されるカードの返却処理の具体的手順の一例が
示されている。On the other hand, if it is determined in step S8184 that the card balance is not "0", the flow advances to step S8186 to display that the ball lending discharge processing is completed and the next ball lending conversion button can be operated. Ball lending possible display 12
After turning on 6, the flow advances to step S8188 to clear the ball lending flag set in step S8140 to zero, and then returns to the first step S8102. FIG. 54 shows a step S801 of the main routine (FIG. 51).
An example of a specific procedure of the card return process executed at 0 is shown.
【0252】この処理が開始されると、まず返却ボタン
124がオンされているか判定し(ステップS820
2)、“Yes”ならステップS8204へ進んで玉貸
可能表示器126が点灯されているか調べる。この玉貸
可能表示器126はカードがカードリーダに挿入され、
玉貸し変換ボタン123が有効な場合に点灯されるラン
プであり、ステップS8204で“Yes”すなわちラ
ンプ点灯と判定すると、ステップS8206へ進み、こ
の玉貸可能表示器126を消灯させてから、磁気書込フ
ァンクション送信予約およびカードの排出ファンクショ
ン送信予約を行なった後、上記ステップS8202へ戻
って次に返却ボタンがオンされるのを待つ(ステップS
8208,S8210)。このファンクションをカード
リーダが受信することによって、カードリーダ内からカ
ードが排出される。When this process is started, first, it is determined whether the return button 124 is turned on (step S820).
2) If "Yes", the flow advances to step S8204 to check whether or not the ball lending available indicator 126 is turned on. This ball lending possible display 126 has a card inserted into a card reader,
This lamp is turned on when the ball lending conversion button 123 is valid. If "Yes" in step S8204, that is, if it is determined that the lamp is turned on, the process advances to step S8206 to turn off the ball lending possible display 126 and then write the magnetic book. After making a reservation for transmission of the transfer function and a reservation for transmission of the discharge function of the card, the process returns to step S8202 and waits for the next return button to be turned on (step S820).
8208, S8210). When the card reader receives this function, the card is ejected from the card reader.
【0253】一方、玉貸可能表示器126が消灯されて
いるときに返却ボタンがオンされると、上記ステップS
8204からステップS8212へ移行して、玉貸処理
(図52)のステップS8140でセットされる玉貸中
フラグをチェックして玉貸処理中か否か判定する。そし
て、玉貸中でなければ何もせずステップS8202へ戻
る。玉貸可能表示器126が消灯されているのはカード
がカードリーダ内に無いということであるので、返却ボ
タンがオンされてもカードの返却をカードリーダに指令
する必要がないからである。On the other hand, if the return button is turned on when the ball lending possible display 126 is turned off, the above-described step S
The process moves from step 8204 to step S8212, and the ball lending flag set in step S8140 of the ball lending process (FIG. 52) is checked to determine whether the ball lending process is in progress. If no ball is being lent, the process returns to step S8202 without doing anything. The fact that the ball lending indicator 126 is turned off indicates that the card is not in the card reader, and therefore, it is not necessary to instruct the card reader to return the card even if the return button is turned on.
【0254】上記ステップS8212で“Yes”すな
わち玉貸中と判定すると、ステップS8214へ進ん
で、同じく玉貸フラグを調べて玉貸処理が終了したか判
定する。そして、この玉貸フラグが“0”になるまでこ
のステップを繰り返し、玉貸処理が終了した時点でステ
ップS8216へ移行して、カード残高が“0”か否か
判定する。ここで、カード残高が“0”でないときは上
記ステップS8206へ移行してこの玉貸可能表示器1
26を消灯させてから、磁気書込ファンクション送信予
約およびカードの排出ファンクション送信予約を行なっ
た後、上記ステップS8202へ戻って次に返却ボタン
がオンされるのを待つ(ステップS8208,S821
0)。If "Yes" in step S8212, that is, it is determined that a ball is being lent, the flow advances to step S8214 to check the ball lending flag and determine whether the ball lending process is completed. This step is repeated until the ball lending flag becomes "0". When the ball lending process is completed, the flow shifts to step S8216 to determine whether or not the card balance is "0". Here, if the card balance is not "0", the flow shifts to step S8206 to proceed to the ball lending possible display 1
After turning off the light 26, a magnetic writing function transmission reservation and a card ejection function transmission reservation are made, and the process returns to the step S8202 to wait for the next return button to be turned on (steps S8208, S821).
0).
【0255】ステップS8216でカード残高が“0”
と判定すると何もせずにステップS8202へ戻って次
の返却ボタンの操作を待つ。カード残高が“0”になる
と、前述した玉貸処理のステップS8196,S819
8(図53)で磁気書込ファンクションおよび排出ファ
ンクションの送信予約がなされ、それを受けてカードリ
ーダ内からカードが排出されるからである。図55およ
び図56には、上記メインルーチン(図51)のステッ
プS8012で実行されるカードリーダ制御装置250
との間のファンクション送受信処理の具体的手順の一例
が示されている。At step S8216, the card balance is “0”.
If no, the process returns to step S8202 and waits for the next return button operation. When the card balance becomes "0", steps S8196 and S819 of the ball lending process described above.
This is because the transmission reservation of the magnetic writing function and the ejection function is made in FIG. 8 (FIG. 53), and the card is ejected from the card reader in response to the reservation. FIGS. 55 and 56 show the card reader control device 250 executed in step S8012 of the main routine (FIG. 51).
5 shows an example of a specific procedure of the function transmission / reception process between.
【0256】なお、送受信されるファンクションは、フ
ァンクションコードの先頭にSTXコードがまた終端に
ETXコードが付加されたデータ形式で送信される。フ
ァンクションコード以外にも送受信される信号として、
ENQコード(送信の問合せ)とACKコード(肯定応
答)とがあるが、これらは先頭のSTXコードも終端の
ETXコードも付加せずにコード単独で送信される。こ
のファンクション送受信処理が開始されると、まずステ
ップS8300で上記玉貸処理(図52,53)または
カード返却処理(図54)によるファンクション送信予
約の設定がなされているか否か判定する。そして、送信
予約がなければステップS8350へ移行して、後述の
受信割込み処理(図60)で設定されるENQ受信フラ
グを調べて、カードリーダ制御装置250からENQ
(問合せコード)が入ってきているか判定する。The transmitted and received functions are transmitted in a data format in which an STX code is added to the head of the function code and an ETX code is added to the end. In addition to the function code,
There are an ENQ code (transmission inquiry) and an ACK code (acknowledgement), and these are transmitted alone without adding a head STX code or a tail ETX code. When the function transmitting and receiving process is started, the ball lending process at Step S8300 determines whether (Figure 52, 53) or sets of functions transmission reservation by card return processing (FIG. 54) have been made. If there is no transmission reservation, the flow shifts to step S8350 to check the ENQ reception flag set in the reception interrupt processing (FIG. 60) described later, and the card reader control device 250
(Inquiry code) is determined.
【0257】上記ステップS8300で“送信予約有”
と判定すると、ステップS8302へ移行して、再送信
回数を3回にセットしてからENQコードを送信バッフ
ァに書き込む(ステップS8304)。この送信バッフ
ァへの書込みによって送信割込みが発生して後述の送信
割込み処理が開始される。それから、ステップS830
6で応答タイマを10秒にセットした後、ステップS9
308でこの応答タイマがタイムアップしたか判定し、
“No”のときは受信割込み処理(図60)でセットさ
れるACK受信フラグをみてACK(応答コード)を受
信したか判定する(ステップS8310)。そして、A
CKを受信する前に応答タイマがタイムアップしたとき
は、ステップS8312へ移行してステップS8302
でセットした再送信回数を「1」だけ減算してから、再
送信回数が「0」になったか否か判定し(ステップS8
314)、「0」でないときは上記ステップS8304
へ戻ってENQコードの再送信を行なう。In step S8300, “transmission reserved”
If it is determined, the process proceeds to step S8302, where the number of retransmissions is set to three, and then the ENQ code is written to the transmission buffer (step S8304). The writing to the transmission buffer causes a transmission interrupt and starts a transmission interrupt process described later. Then, step S830
After setting the response timer to 10 seconds in step 6, the process proceeds to step S9
At 308, it is determined whether the response timer has expired,
If “No”, it is determined whether an ACK (response code) has been received by checking the ACK reception flag set in the reception interrupt processing (FIG. 60) (step S8310). And A
If the response timer times out before receiving the CK, the process shifts to step S8312 and proceeds to step S8302.
After subtracting “1” from the number of retransmissions set in step, it is determined whether the number of retransmissions has become “0” (step S8).
314) If not “0”, the above step S8304
Return to and retransmit the ENQ code.
【0258】一方、応答タイマがタイムアップする前に
ACKを受信したときは、ステップS8316へ進んで
ACK受信フラグを“0”にクリアし、かつ送信データ
の先頭を示すSTXコードを送信バッファに書き込む。
それから、ステップS8318で応答タイマを10秒に
セットした後、ステップS8320でこの応答タイマが
タイムアップしたか判定し、“No”のときは受信割込
み処理(図60)でセットされるENQ受信フラグをみ
てENQを受信したか判定する(ステップS832
2)。このENQはカードリーダ制御装置250から玉
貸し制御装置500に対して受信結果を送っても良いか
の問合せであるので、玉貸し制御装置500は、応答タ
イマがタイムアップする前にENQを受信したときはス
テップS8324へ進み、ENQ受信フラグを“0”に
クリアし、かつACKコードを送信バッファに書き込
む。ENQを受信する前に応答タイマがタイムアップし
たときは、テキスト送信に対する受信結果の応答がなか
ったことになるので、通信異常があったと判定してステ
ップS8340へ移行して通信異常を示すエラーコード
を表示データバッファへ書き込んで、ステップS834
4でそのコードを残高表示器122に表示させて制御動
作を停止する。On the other hand, if the ACK is received before the response timer expires, the flow advances to step S8316 to clear the ACK reception flag to "0" and write the STX code indicating the head of the transmission data in the transmission buffer. .
Then, after setting the response timer to 10 seconds in step S8318, it is determined in step S8320 whether the response timer has expired. If "No", the ENQ reception flag set in the reception interrupt process (FIG. 60) is set. To determine whether an ENQ has been received (step S832).
2). Since this ENQ is an inquiry as to whether the reception result may be sent from the card reader control device 250 to the ball lending control device 500, the ball lending control device 500 receives the ENQ before the response timer times out. In this case, the flow advances to step S8324 to clear the ENQ reception flag to "0" and write the ACK code into the transmission buffer. If the response timer times out before receiving the ENQ, it means that there was no response of the reception result to the text transmission, so it is determined that there was a communication error, and the flow shifts to step S8340 to show an error code indicating the communication error Is written to the display data buffer, and step S834 is executed.
In step 4, the code is displayed on the balance display 122, and the control operation is stopped.
【0259】ステップS8324でACKを送信した後
は、再び応答タイマを10秒にセット(ステップS83
26)した後、ステップS8328でこの応答タイマが
タイムアップしたか判定し、“No”のときは受信割込
み処理(図60)でセットされるFNC受信フラグをみ
て受信結果の内容を示すファンクションを受信したか判
定する(ステップS8330)。そして、ファンクショ
ンを受信する前に応答タイマがタイムアップしたとき
は、ACK送信に対する応答がなかったことになるの
で、通信異常があったと判定してステップS8340へ
移行して通信異常を示すエラーコードを表示データバッ
ファへ書き込んで、ステップS8344でそのコードを
残高表示器122に表示させて制御動作を停止する。After transmitting the ACK in step S8324, the response timer is set again to 10 seconds (step S833).
26) After that, in step S8328 , it is determined whether or not the response timer has expired . If “No”, a function indicating the contents of the reception result is received by checking the FNC reception flag set in the reception interrupt processing (FIG. 60). It is determined whether it has been performed (step S8330). If the response timer times out before receiving the function, it means that there is no response to the ACK transmission. Therefore, it is determined that there is a communication error, and the flow shifts to step S8340 to set an error code indicating the communication error. The code is written into the display data buffer, and the code is displayed on the balance display 122 in step S8344, and the control operation is stopped.
【0260】応答タイマがタイムアップする前にファン
クションを受信したときは、ステップS8332へ進ん
でFNC受信フラグを“0”にクリアした後、受信した
ファンクションの内容が、「再送要求」か、「異常終
了」か、「正常終了」かを判定する(ステップS833
4,S8336,S8338)。このうち異常終了は、
通信そのものには異常はなかったがカードリーダにおけ
る書込み不良等の異常があった場合に送られてくる。If the function is received before the response timer times out, the flow advances to step S8332 to clear the FNC reception flag to "0", and then the content of the received function is "retransmission request" or "abnormal". "End" or "normal end" (step S833).
4, S8336, S8338). Abnormal termination is
This message is sent when there is no abnormality in the communication itself but there is an abnormality such as writing failure in the card reader.
【0261】そこで、受信したファンクションが再送要
求であったときは上記ステップS8302へ戻って送信
のやりなおしを行ない、異常終了のときはステップS8
342へ移行してカードリーダ異常を示すエラーコード
を表示データバッファへ書き込んで、ステップS834
4でそのコードを残高表示器122に表示させて制御動
作を停止する。また、正常終了であれば、一連の送信処
理が終了したものとしてステップS8300へ戻り、次
の送信予約に対する処理を行ない、正常終了でないとき
はステップS8318へ戻って受信結果のファンクショ
ンコードの再受信を行なう。Therefore, if the received function is a retransmission request, the flow returns to step S8302 to perform transmission again, and if abnormal, the processing returns to step S8.
The process proceeds to 342, where an error code indicating a card reader error is written to the display data buffer, and step S834 is performed.
In step 4, the code is displayed on the balance display 122, and the control operation is stopped. If the transmission has been completed normally, the process returns to step S8300 assuming that a series of transmission processing has been completed, and performs processing for the next transmission reservation. If not, the process returns to step S8318 to re-receive the function code of the reception result. Do.
【0262】一方、ステップS8300で“送信予約な
し”と判定すると、図56のステップS8350へ移行
して、受信割込み処理(図60)でセットされるENQ
受信フラグをみて、カードリーダ制御装置250からの
ENQを受信したか判定する。そして、ENQを受信し
ていればステップS8352へ移行してENQ受信フラ
グをクリアしかつACKコードを送信バッファに書き込
んでから、応答タイマを10秒にセットする(ステップ
S8354)。この送信バッファへの書込みによって送
信割込みが発生して後述の送信割込み処理が開始され、
カードリーダ制御装置250へACKが送信される。そ
こで、ステップS8356でこの応答タイマがタイムア
ップしたか判定し、“No”のときは受信割込み処理
(図60)でセットされるFNC受信フラグをみて受信
結果の内容を示すファンクションを受信したか判定する
(ステップS8358)。そして、ファンクションを受
信する前に応答タイマがタイムアップしたときは、AC
K送信に対する応答がなかったことになるので、通信異
常があったと判定して図55のステップS8340へ移
行して通信異常を示すエラーコードを表示データバッフ
ァへ書き込んで、ステップS8344でそのコードを残
高表示器122に表示させて制御動作を停止する。On the other hand, if it is determined in step S8300 that “transmission is not reserved”, the flow shifts to step S8350 in FIG. 56 to set ENQ set in the reception interrupt process (FIG. 60).
By checking the reception flag, it is determined whether an ENQ from the card reader control device 250 has been received. If the ENQ has been received, the flow shifts to step S8352 to clear the ENQ reception flag and write the ACK code in the transmission buffer, and then sets the response timer to 10 seconds (step S8354). By writing to this transmission buffer, a transmission interrupt occurs and a transmission interrupt process described later is started,
ACK is transmitted to card reader control device 250. Therefore, in step S8356 , it is determined whether or not the response timer has expired , and if “No”, it is determined whether a function indicating the content of the reception result has been received by checking the FNC reception flag set in the reception interrupt processing (FIG. 60). (Step S8358). If the response timer times out before receiving the function,
Since there is no response to the K transmission, it is determined that there is a communication error, and the flow shifts to step S8340 in FIG. 55 to write an error code indicating the communication error into the display data buffer. The control operation is stopped by displaying on the display 122.
【0263】応答タイマがタイムアップする前にファン
クションを受信したときは、ステップS8360へ進ん
でFNC受信フラグを“0”にクリアした後、受信した
ファンクションとともに受信したカード残高が「0」か
否かを判定する(ステップS8362)。そして、判定
結果が“Yes”すなわちカード残高が「0」なら何も
せずにステップS8300へ戻って上記ルーチンを繰り
返す。一方、ステップS8362の判定結果が“No”
のときは、ステップS8364へ進んで玉貸可能表示器
126を点灯させ、受信バッファの内容(残高データ)
をカード残高記憶部へ書き込んで受信処理を終了する。If the function is received before the response timer expires, the flow advances to step S8360 to clear the FNC reception flag to "0", and then determine whether or not the received card balance together with the received function is "0". Is determined (step S8362). If the determination result is “Yes”, that is, if the card balance is “0”, the process returns to step S8300 without doing anything and repeats the above routine. On the other hand, the determination result of step S8362 is “No”
In step S8364, the flow advances to step S8364 to turn on the ball lending display 126, and the contents of the reception buffer (balance data)
Is written in the card balance storage unit, and the receiving process is terminated.
【0264】図57には、上記メインルーチン(図5
1)のステップS8014で実行される決済信号出力処
理の具体的手順の一例が示されている。この処理が開始
されると、まず図53の玉貸処理中のステップS817
2でカウントアップする決済信号数カウンタを調べて決
済信号数が“0”か否か判定する(ステップS840
2)。ここで“No”すなわち決済信号数が1以上であ
ると判定すると、ステップS8404へ進んでオン時間
タイマを200m秒に設定し、決済信号jをハイレベル
にアサートしてから、そのタイマがタイムアップするの
を待つ(ステップS8406,S8408)。それか
ら、ステップS8410へ移行してオフ時間タイマを2
00m秒に設定し、決済信号jをロウレベルにネゲート
してから、そのタイマがタイムアップするのを待つ(ス
テップS8412,S8414)。FIG. 57 shows the main routine (FIG. 5).
An example of a specific procedure of the settlement signal output process executed in step S8014 of 1) is shown. When this process is started, first, in step S817 during the ball lending process in FIG.
The payment signal number counter that counts up in step 2 is checked to determine whether the number of payment signals is "0" (step S840).
2). If “No”, that is, if it is determined that the number of payment signals is 1 or more, the process proceeds to step S8404, the on-time timer is set to 200 ms, the payment signal j is asserted to a high level, and then the timer expires. Then, the process waits ( steps S8406 and S8408 ). Then, the process proceeds to step S8410 to set the off-time timer to 2
The time is set to 00 msec, the settlement signal j is negated to the low level, and then the time until the timer expires is waited (steps S8412, S8414).
【0265】その後、ステップS8416で上記決済信
号数カウンタを「1」だけ減らしてステップS8402
へ戻り、決済信号数カウンタが「0」になるまで、決済
信号パルスを出力させる。これによって、パルス幅20
0m秒の決済信号jが出力される。また、パルスを
「2」以上出力させる場合にも、パルスとパルスの間隔
が200m秒に設定され、これを受信するカード管理装
置800が確実に決済信号パルスを計数することができ
る。図58には、上記メインルーチン(図51)とは別
個に玉貸制御装置500がタイマ割込みにより、例えば
1m秒ごとに実行するタイマ割込み処理の具体的手順の
一例が示されている。このタイマ割込み処理では、カー
ド残高記憶部から残高データを読み出して残高表示器1
22の表示信号を形成して出力し、カード残高を表示さ
せ(ステップS8502)、上記メインルーチン中で使
用されている各タイマを「−1」して終了する(ステッ
プS8504)。Then, in step S8416, the above-mentioned settlement signal number counter is decremented by "1", and step S8402 is performed.
Then, the settlement signal pulse is output until the settlement signal number counter becomes “0”. Thereby, the pulse width 20
A settlement signal j of 0 ms is output. Also, when outputting the pulse “2” or more, the interval between the pulses is set to 200 ms, and the card management device 800 that receives the pulse can reliably count the settlement signal pulse. FIG. 58 shows an example of a specific procedure of a timer interrupt process executed by the ball lending control device 500 by a timer interrupt, for example, every 1 millisecond, separately from the main routine (FIG. 51). In this timer interrupt process, the balance data is read from the card balance storage unit and
A display signal of No. 22 is formed and output, and the card balance is displayed (step S8502). Each timer used in the main routine is set to "-1" and the process is terminated (step S8504).
【0266】図59および図60には、上記メインルー
チン(図51)とは別個に玉貸制御装置500によって
実行される送信割込み処理および受信割込み処理の具体
的手順の一例が示されている。このうち、送信割込み
は、上記メインルーチンの玉貸処理(図53参照)やフ
ァンクション送受信処理(図55参照)中において、送
信バッファにENQコード,STXコードまたはACK
コードを書き込むことによって発生されるようになって
いる。この送信割込みが開始されると、ステップS86
02,S8604,S8606で、送信バッファに書き
込まれたコードがいずれのコードか判定する。ここで、
送信バッファに書き込まれたコードがENQ,ACKま
たはETX(テキストデータの終端を示すコード)のい
ずれかであればステップS8612へ移行して送信バッ
ファ内のコードを送信して割込みを終了する。FIGS. 59 and 60 show an example of a specific procedure of the transmission interruption process and the reception interruption process executed by the ball lending control device 500 separately from the main routine (FIG. 51). Among them, the transmission interrupt is transmitted to the transmission buffer during the ball lending process (see FIG. 53) or the function transmission / reception process (see FIG. 55) of the main routine by sending an ENQ code, STX code, or ACK to the transmission buffer.
It is generated by writing code. When this transmission interrupt is started, step S86
In steps 02, S8604, and S8606, it is determined which code is written in the transmission buffer. here,
If the code written in the transmission buffer is any of ENQ, ACK or ETX (code indicating the end of the text data), the flow advances to step S8612 to transmit the code in the transmission buffer and terminate the interrupt.
【0267】一方、上記判定ですべて“No”となると
送信バッファに入っているコードはSTXコード、ファ
ンクションコードまたはテキストデータであり、これら
は続きのコードがある。そこで、その場合にはステップ
S8608へ進んでそのコードを送信してから、送信バ
ッファのアドレスをインクリメントして次のバッファに
入っているコードを送信して終了する(ステップS86
10,S8612)。図60の受信割込みは、カードリ
ーダ制御装置250からの送信が入ってくることによっ
て発生する。この受信割込みが開始されると、ステップ
S8652,S8654で受信したコードがENQコー
ドまたはACKコードであるか判定する。そして、受信
したコードがENQコードであればステップS8656
へ移行してENQ受信フラグを“1”にセットし、AC
KコードであればステップS8658でACK受信フラ
グを“1”にセットして割込み処理を終了する。上記E
NQ受信フラグおよびACK受信フラグは、前記ファン
クション送受信処理フロー中で参照される。On the other hand, if all of the above determinations result in "No", the code in the transmission buffer is an STX code, a function code or text data, and there are subsequent codes. Therefore, in that case, the process proceeds to step S8608 to transmit the code, then increments the address of the transmission buffer, transmits the code stored in the next buffer, and ends (step S86).
10, S8612). The reception interrupt in FIG. 60 is generated when a transmission from the card reader control device 250 enters. When the reception interrupt is started, it is determined whether the code received in steps S8652 and S8654 is an ENQ code or an ACK code. Then, if the received code is an ENQ code, step S8656
And set the ENQ reception flag to “1”
If the code is a K code, the ACK reception flag is set to "1" in step S8658, and the interrupt processing ends. E above
The NQ reception flag and the ACK reception flag are referred to in the function transmission / reception processing flow.
【0268】一方、受信したコードがENQコードまた
はACKコードのいずれでもない場合には、ステップS
8660へ進んで受信したコードがETXコードか否か
判定し、“No”ならステップS8662へ進んで受信
したコードを受信バッファからメモリへセーブしてか
ら、受信バッファアドレスを更新し、終了する(ステッ
プS8664)。続きの受信コードが受信バッファに残
っていれば再び受信割込みがかかるので、上記ルーチン
を繰り返すことで受信コードがメモリにセーブされる。
そして、ステップS8660でETXコードを受信した
と判定すると、ステップS8666へ進んで受信したフ
ァンクションコードの長さが正常であったか調べる。こ
こで、“Yes”ならステップS8668へ進んでファ
ンクション受信フラグを“1”にセットして割込み処理
を終了し、“No”ならステップS8670へ移行して
再送要求ファンクション送信予約をして割込み処理を終
了する。If the received code is neither an ENQ code nor an ACK code,
Proceeding to 8660, it is determined whether or not the received code is an ETX code. If “No”, the process proceeds to step S8662, where the received code is saved from the receiving buffer to the memory, the receiving buffer address is updated, and the processing is terminated (step S8664). If a subsequent reception code remains in the reception buffer, a reception interruption is performed again. Therefore, the reception code is saved in the memory by repeating the above routine.
If it is determined in step S8660 that the ETX code has been received, the process advances to step S8666 to check whether the length of the received function code is normal. If "Yes", the flow advances to step S8668 to set the function reception flag to "1" to end the interrupt processing. If "No", the flow advances to step S8670 to make a retransmission request function transmission reservation and interrupt processing. finish.
【0269】次に、カード挿排口211にカードが挿入
され、パチンコ遊技機100に設けられた変換ボタン1
23が押されて玉貸し要求がなされた場合において、上
記玉貸し制御装置500と排出制御装置600との間で
送受信される信号の具体的なタイミングを図61を用い
て説明する。図には200円分の貸し玉への変換ボタン
が押された場合の信号タイミングが示されている。変換
ボタン123が押されると、玉貸し制御装置500がこ
れを検知して変換要求信号Y(パルス)を玉貸し制御装
置500へ送る(タイミングt1)。すると、玉貸し制
御装置500がこれを検知して、排出制御装置600に
対する玉貸し要求信号T(BRQ)をロウレベルにアサ
ートする(タイミングt2)。玉貸し要求信号T(BR
Q)を受信した排出制御装置600は、球排出装置17
0が排出可能な状態にあれば、排出ソレノイド741
a,741bの駆動信号および貸し玉排出表示ランプ1
13の駆動信号を出力すると共に、遊技盤制御装置40
0に対して貸し玉排出音要求信号E(パルス)を送信
し、かつ玉貸し制御装置500に対して供給される玉貸
しイネーブル信号U(PRQ)をロウレベルにアサート
する(タイミングt3)。Next, a card is inserted into the card insertion / ejection slot 211, and the conversion button 1 provided on the pachinko gaming machine 100 is set.
The specific timing of signals transmitted and received between the ball lending control device 500 and the emission control device 600 when the ball lending request is made by pressing 23 is described with reference to FIG. The figure shows the signal timing when the conversion button to the loaned ball for 200 yen is pressed. When the conversion button 123 is pressed, the ball lending control device 500 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 emission control device 600 to a low level (timing t2). Ball lending request signal T (BR
The ejection control device 600 having received Q) outputs the ball ejection device 17.
If 0 is in a dischargeable state, the discharge solenoid 741
a, 741b drive signal and lending ball discharge display lamp 1
13 and outputs the drive signal to the game board control device 40.
The ball lending sound request signal E (pulse) is transmitted to the ball lending control signal 0, and the ball lending enable signal U (PRQ) supplied to the ball lending control device 500 is asserted to a low level (timing t3).
【0270】そして、排出制御装置600は、排出セン
サ730a,730bから検出信号を監視して排出数が
25個(100円分)になった時点で排出ソレノイド7
41a,741bの駆動信号および貸し玉排出表示ラン
プ113の駆動信号をオフさせるとともに、玉貸し制御
装置500に対して払出完了信号V(パルス)を、また
ホールの管理装置700に対して決済信号Jを送信する
(タイミングt4)。玉貸し制御装置500は、払出完
了信号Vを受信するとカード残高の減算を行ない、残高
がゼロでなく所定数の排出も終わっていないと判断する
と、上記玉貸し要求信号Tをそのままロウレベルにアサ
ートさせておく(タイミングt5)。すると、排出制御
装置600は、再び排出ソレノイド741a,741b
の駆動信号および貸し玉排出表示ランプ113の駆動信
号を出力すると共に、遊技盤制御装置400に対して貸
し玉排出音要求信号E(パルス)を送信する(タイミン
グt6)。The discharge control device 600 monitors the detection signals from the discharge sensors 730a and 730b, and when the number of discharges reaches 25 (for 100 yen), the discharge solenoid 7
The drive signal for the ball-discharge indicator lamp 113 and the drive signal for the ball-discharge display lamp 113 are turned off, the payout completion signal V (pulse) is sent to the ball-lending control device 500, and the settlement signal J is sent to the hall management device 700. Is transmitted (timing t4). When receiving the payout completion signal V, the ball lending control device 500 subtracts the card balance, and when judging that the balance is not zero and the predetermined number of discharges has not been completed, the ball lending request signal T is asserted to a low level as it is. (Timing t5). Then, the discharge control device 600 again controls the discharge solenoids 741a and 741b.
And a drive signal for the lending ball discharge display lamp 113, and transmits a lending ball discharge sound request signal E (pulse) to the game board control device 400 (timing t6).
【0271】そして、排出数が25個(100円分)に
なった時点で排出ソレノイド741a,741bの駆動
信号および貸し玉排出表示ランプ113の駆動信号をオ
フさせるとともに、玉貸し制御装置500に対して払出
完了信号V(パルス)を、またホールの管理装置700
に対して決済信号Jを送信する(タイミングt7)。玉
貸し制御装置500は、所定数の排出が終わったと判断
すると、玉貸し要求信号Tをハイレベルにネゲートする
(タイミングt8)。すると、排出制御装置600は貸
し制御装置500に対して供給される玉貸しイネーブル
信号Uをハイレベルにネゲートして玉貸し排出処理を終
了する。When the number of discharges reaches 25 (equivalent to 100 yen), the drive signal of the discharge solenoids 741a and 741b and the drive signal of the lending ball discharge display lamp 113 are turned off. Payout completion signal V (pulse) and the hall management device 700
The settlement signal J is transmitted to the user (timing t7). When judging that the predetermined number of discharges has been completed, the ball lending control device 500 negates the ball lending request signal T to a high level (timing t8). Then, the discharge control device 600 negates the ball lending enable signal U supplied to the lending control device 500 to a high level, and ends the ball lending discharge process.
【0272】なお上記実施例では、貸し玉への変換ボタ
ン123や返却ボタン124、残高表示器122等が供
給皿120の上面の操作パネル121に設けられている
が、これらの位置は供給皿に限定されず、パチンコ遊技
機の前面の任意の位置に設けることができる。また、カ
ードリーダの位置も受け皿140の一側に限定されずパ
チンコ遊技機100の側部または上部に設けても良い
し、遊技機と一体でなく遊技機と遊技機との間に玉貸機
を配置し、その玉貸機に内蔵させておくようにしても良
い。In the above embodiment, the button 123 for converting to a loaned ball, the return button 124, the balance indicator 122, and the like are provided on the operation panel 121 on the upper surface of the supply tray 120. It is not limited, and can be provided at any position on the front of the pachinko gaming machine. Further, the position of the card reader is not limited to one side of the tray 140, and may be provided on the side or the upper part of the pachinko gaming machine 100. The ball rental machine is not integrated with the gaming machine but between the gaming machine and the gaming machine. May be arranged and incorporated in the ball lending machine.
【0273】[0273]
【発明の効果】以上説明したように本発明は、排出すべ
き賞品球数データを記憶する手段を有する遊技盤制御回
路により、少なくとも遊技盤に関わる制御および記憶さ
れた賞品球数データを排出制御回路に対し送信する制御
を行うようにしたので、遊技盤制御回路で賞品球数デー
タを記憶することになり、排出制御回路で賞品球数デー
タを記憶する必要がなくなり、その分排出制御回路の制
御負担が軽減されるという効果がある。また、排出制御
回路が遊技盤制御回路から送信された賞品球数データに
対応した所要数の賞品球を球排出装置より排出させる制
御及び有価データを所要数の貸し球に変換する変換要求
に起因する玉貸し制御回路からの球貸要求信号に基づく
所要数の貸し球を球排出装置より排出させる制御が行わ
れるので、排出制御回路は遊技盤制御回路からのデータ
に基づいて賞品球の排出制御を行い、玉貸し制御回路か
らの球要求信号に基づいて貸し玉の排出制御を行うこと
となり、賞品球と貸し玉の排出を明確に区別することが
可能になる。さらに、遊技盤制御回路、排出制御回路及
び球貸し制御回路を個別に構成したので、各々の回路自
体を小さくするとができる。 As described above, according to the present invention, the discharge
Game board control circuit having means for storing prize ball number data
Depending on the road, at least the control and memory
To send the prize ball count data to the emission control circuit
Prize ball count data in the game board control circuit.
Data will be stored in the discharge control circuit.
The need to memorize the data is eliminated,
This has the effect of reducing the burden. Also, emission control
The circuit uses the prize ball count data transmitted from the game board control circuit.
A system that discharges the required number of prize balls from the ball discharge device
Conversion request for converting control and valuable data into the required number of loaned balls
Based on the ball lending request signal from the ball lending control circuit caused by
Control to discharge the required number of rental balls from the ball discharge device is performed
Output control circuit, the data from the game board control circuit
Prize ball discharge control based on the ball lending control circuit
Control of lending balls based on their ball request signal
It is possible to clearly distinguish the emission of prize balls and lending balls
Will be possible. Furthermore, a game board control circuit, a discharge control circuit and
Since the ball lending control circuits are individually configured, each circuit
You can make your body smaller.
【図1】本発明に係るカード式遊技機としてのカード式
パチンコ遊技機の一実施例を示す斜視図である。FIG. 1 is a perspective view showing an embodiment of a card-type pachinko gaming machine as a card-type gaming machine according to the present invention.
【図2】パチンコ遊技機100の裏機構の構成例を示す
背面図である。FIG. 2 is a rear view showing a configuration example of a back mechanism of the pachinko gaming machine 100.
【図3】球排出装置170の一実施例を示す断面正面図
である。FIG. 3 is a cross-sectional front view showing one embodiment of a ball discharging device 170.
【図4】パチンコ遊技機100および玉貸し制御装置5
00の制御系の一実施例を示すブロック図である。FIG. 4 is a pachinko gaming machine 100 and a ball lending control device 5
FIG. 3 is a block diagram showing an example of a control system of the control system 00 .
【図5】遊技盤制御装置400の具体的構成例を示すブ
ロック図である。FIG. 5 is a block diagram showing a specific configuration example of a game board control device 400.
【図6】音声出力手段450の構成例を示すブロック図
である。FIG. 6 is a block diagram illustrating a configuration example of a sound output unit 450.
【図7】排出制御装置600の構成例を示すブロック図
である。FIG. 7 is a block diagram illustrating a configuration example of an emission control device 600.
【図8】排出制御装置600の制御部610の構成例を
示すブロック図である。FIG. 8 is a block diagram illustrating a configuration example of a control unit 610 of the discharge control device 600.
【図9】排出制御装置600の停電制御部619の構成
例を示すブロック図である。FIG. 9 is a block diagram illustrating a configuration example of a power failure control unit 619 of the emission control device 600.
【図10】玉貸し制御装置500の構成例を示すブロッ
ク図である。FIG. 10 is a block diagram illustrating a configuration example of a ball lending control device 500.
【図11】玉貸し制御装置500のカード制御手段51
1の具体的構成例を示すブロック図である。FIG. 11 shows a card control unit 51 of the ball lending control device 500.
1 is a block diagram illustrating a specific configuration example of FIG.
【図12】排出制御装置600によるのバックグランド
制御処理のメインルーチンの一例を示すフローチャート
である。FIG. 12 is a flowchart illustrating an example of a main routine of a background control process performed by the discharge control device 600.
【図13】排出制御装置600によって所定時間(例え
ば0.5msec)経過毎に行なわれるタイマ割込処理
の手順の一例を示すフローチャートである。FIG. 13 is a flowchart illustrating an example of a procedure of a timer interrupt process performed by the discharge control device 600 every time a predetermined time (for example, 0.5 msec) elapses.
【図14】玉貸しリクエスト検出処理ルーチンのフロー
チャートである。FIG. 14 is a flowchart of a ball lending request detection processing routine.
【図15】賞球データ検出処理ルーチンのフローチャー
トである。FIG. 15 is a flowchart of a winning ball data detection processing routine.
【図16】枠センサ入力処理ルーチンのフローチャート
である。FIG. 16 is a flowchart of a frame sensor input processing routine.
【図17】排出センサ1の入力処理ルーチンのフローチ
ャートである。FIG. 17 is a flowchart of an input processing routine of the discharge sensor 1.
【図18】排出センサ2の入力処理ルーチンのフローチ
ャートである。FIG. 18 is a flowchart of an input processing routine of the discharge sensor 2.
【図19】排出センサ1のレベル入力処理のルーチンを
示すフローチャートである。FIG. 19 is a flowchart showing a routine of a level input process of the discharge sensor 1.
【図20】排出センサ2のレベル入力処理のルーチンを
示すフローチャートである。FIG. 20 is a flowchart showing a routine of a level input process of the discharge sensor 2.
【図21】球抜センサ750の入力処理ルーチンのフロ
ーチャートである。FIG. 21 is a flowchart of an input processing routine of the ball-out sensor 750.
【図22】補給センサ106の入力処理のサブルーチン
を示すフローチャートである。FIG. 22 is a flowchart showing a subroutine of an input process of the supply sensor 106.
【図23】オーバーフロー検出器104の入力処理のサ
ブルーチンを示すフローチャートである。FIG. 23 is a flowchart showing a subroutine of input processing of the overflow detector 104.
【図24】待機球検出器160(半端センサ)の入力処
理のルーチンを示すフローチャートである。FIG. 24 is a flowchart illustrating a routine of an input process of a standby sphere detector 160 (irregular sensor).
【図25】アウトセンサ107の出力信号の入力処理ル
ーチンのフローチャートである。FIG. 25 is a flowchart of an output signal input processing routine of the out sensor 107.
【図26】停電割込み処理の具体的手順の一例を示すフ
ローチャートである。FIG. 26 is a flowchart illustrating an example of a specific procedure of a power failure interruption process.
【図27】図12のメイン処理フロー中で行なわれる排
出装置不正監視処理S3の具体的手順の一例を示すフロ
ーチャートである。FIG. 27 is a flowchart illustrating an example of a specific procedure of a discharge device improper monitoring process S3 performed in the main process flow of FIG . 12 ;
【図28】排出装置不正解除処理S14の具体的手順の
一例を示すフローチャートである。FIG. 28 is a flowchart illustrating an example of a specific procedure of a discharge device unauthorized release process S14.
【図29】賞球排出制御装置のメインルーチン(図1
2)のステップS19で実行される賞球開始処理のサブ
ルーチンを示すフローチャートである。29 is a main routine of the prize ball discharge control device ( FIG. 1)
It is a flowchart which shows the subroutine of the prize ball start process performed in step S19 of 2 ).
【図30】上記賞球開始処理(図29)のステップS9
0で実行される排出開始処理のサブルーチンを示すフロ
ーチャートである。FIG. 30: Step S9 of the prize ball start processing ( FIG. 29 )
9 is a flowchart illustrating a subroutine of a discharge start process executed at 0.
【図31】上記排出開始処理(図30)のステップS1
24にて実行される排出数分割処理のサブルーチンを示
すフローチャートである。FIG. 31: Step S1 of the discharge start processing ( FIG. 30 )
It is a flowchart which shows the subroutine of the discharge number division | segmentation process performed in 24.
【図32】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図12)のステップS18
において実行される賞球排出処理のサブルーチンを示す
フローチャートである。FIG. 32 is a step S18 of a main routine ( FIG. 12 ) executed by the CPU 610 of the winning ball discharge control device .
It is a flowchart which shows the subroutine of the prize ball discharge process performed in.
【図33】上記賞球排出処理(図32)のステップS2
04にて行われる排出処理のサブルーチンを示すフロー
チャートである。FIG. 33: Step S2 of the prize ball discharging process ( FIG. 32 )
9 is a flowchart illustrating a subroutine of a discharging process performed in a subroutine 04.
【図34】上記排出処理(図33)のステップS232
にて行われる1個排出処理のサブルーチンを示すフロー
チャートである。FIG. 34 is a step S232 of the discharge processing ( FIG. 33 ) .
3 is a flowchart showing a subroutine of one-piece discharging processing performed in FIG.
【図35】上記排出処理(図33)のステップS234
にて行われる交互排出処理のサブルーチンを示すフロー
チャートである。FIG. 35: Step S234 of the discharge processing ( FIG. 33 )
5 is a flowchart showing a subroutine of an alternate discharge process performed by the subroutine.
【図36】上記排出処理(図33)のステップS236
にて行われる併用排出処理のサブルーチンを示すフロー
チャートである。FIG. 36 is a step S236 of the discharge processing ( FIG. 33 );
6 is a flowchart showing a subroutine of a combined discharge process performed in step (a).
【図37】上記排出処理(図33)のステップS252
にて行われる排出エラー回復処理のサブルーチンを示す
フローチャートである。FIG. 37: Step S252 of the discharge processing ( FIG. 33 )
3 is a flowchart showing a subroutine of a discharge error recovery process performed in step (a).
【図38】賞球排出制御装置のメインルーチン(図1
2)のステップS21で実行される玉貸開始処理のサブ
ルーチンを示すフローチャートである。38 shows a main routine of the prize ball discharge control device ( FIG. 1)
It is a flowchart which shows the subroutine of the ball lending start process performed in step S21 of 2 ).
【図39】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図12)のステップS17
において実行される玉貸排出処理のサブルーチンを示す
フローチャートである。39 is a step S17 of a main routine ( FIG. 12 ) executed by the CPU 610 of the winning ball discharge control device .
It is a flowchart which shows the subroutine of the ball lending discharge process performed in.
【図40】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図12)のステップS16
において実行される玉抜処理のサブルーチンの一部を示
すフローチャートである。40 is a step S16 of a main routine ( FIG. 12 ) executed by the CPU 610 of the winning ball discharge control device .
5 is a flowchart showing a part of a subroutine of a ball-pulling-out process executed in FIG.
【図41】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図12)のステップS16
において実行される玉抜処理のサブルーチンの一部を示
すフローチャートである。41 is a step S16 of a main routine ( FIG. 12 ) executed by the CPU 610 of the winning ball discharge control device .
5 is a flowchart showing a part of a subroutine of a ball-pulling-out process executed in FIG.
【図42】賞球排出制御装置側のCPU610によって
実行されるメインルーチン(図12)のステップS16
において実行される玉抜処理のサブルーチンの一部を示
すフローチャートである。42 is a step S16 of a main routine ( FIG. 12 ) executed by the CPU 610 of the prize ball discharge control device .
5 is a flowchart showing a part of a subroutine of a ball-pulling-out process executed in FIG.
【図43】図12のメイン処理フロー中のステップS2
3で行なわれる補給処理の具体的手順の一例を示すフロ
ーチャートである。FIG. 43: Step S2 in the main processing flow of FIG .
6 is a flowchart illustrating an example of a specific procedure of a supply process performed in Step 3.
【図44】図12のメイン処理フロー中のステップS2
4で行なわれる情報出力処理の具体的内容を示すフロー
チャートである。44 is a step S2 in the main processing flow of FIG . 12 ;
6 is a flowchart showing specific contents of an information output process performed in Step 4.
【図45】上記情報出力処理フロー中における貸し玉情
報出力処理S800の具体的手順の一例を示すフローチ
ャートである。FIG. 45 is a flowchart showing an example of a specific procedure of a loaned ball information output process S800 in the information output process flow.
【図46】上記情報出力処理フロー中における音要求出
力処理S850の具体的手順の一例を示す。FIG. 46 shows an example of a specific procedure of a sound request output process S850 in the information output process flow.
【図47】上記情報出力処理フロー中におけるホールの
管理装置700に対する上記賞球情報出力処理S900
の具体的手順の一例を示すフローチャートである。FIG. 47 shows the prize ball information output processing S900 to the hole management device 700 in the information output processing flow.
5 is a flowchart showing an example of a specific procedure of FIG.
【図48】上記情報出力処理(図44)フロー中におけ
る上記遊技台情報出力処理S950の具体的手順の一例
を示すフローチャートである。FIG. 48 is a flowchart showing an example of a specific procedure of the gaming machine information output processing S950 in the information output processing ( FIG. 44 ) flow.
【図49】上記情報出力処理(図44)フロー中におけ
る上記エラー情報出力処理S990の具体的手順の一例
を示すフローチャートである。FIG. 49 is a flowchart showing an example of a specific procedure of the error information output processing S990 in the information output processing ( FIG. 44 ) flow.
【図50】図12のメイン処理フロー中のステップS1
5で行なわれる停電回復処理の具体的手順の一例を示す
フローチャートである。50 is a step S1 in the main processing flow of FIG. 12;
6 is a flowchart illustrating an example of a specific procedure of a power failure recovery process performed in Step 5;
【図51】玉貸し制御装置のメインルーチンの概略を示
すフローチャートである。FIG. 51 is a flowchart showing an outline of a main routine of the ball lending control device.
【図52】上記メインルーチン(図51)のステップS
8008で実行される玉貸処理の具体的手順の一部(前
半)を示すフローチャートである。FIG. 52: Step S of the main routine (FIG. 51)
It is a flowchart which shows a part (first half) of the specific procedure of the ball lending process performed by 8008.
【図53】上記メインルーチン(図51)のステップS
8008で実行される玉貸処理の具体的手順の一部(後
半)を示すフローチャートである。FIG. 53: Step S of the main routine (FIG. 51)
It is a flowchart which shows a part (2nd half) of the specific procedure of the ball lending process performed by 8008.
【図54】上記メインルーチン(図51)のステップS
8010で実行されるカードの返却処理の具体的手順の
一部を示すフローチャートである。FIG. 54: Step S of the main routine (FIG. 51)
It is a flowchart which shows a part of specific procedure of the card return process performed in 8010.
【図55】上記メインルーチン(図51)のステップS
8012で実行されるファンクション送受信処理の具体
的手順の一部(前半)を示すフローチャートである。FIG. 55: Step S of the main routine (FIG. 51)
It is a flowchart which shows a part (first half) of the specific procedure of the function transmission / reception process performed by 8012.
【図56】上記メインルーチン(図51)のステップS
8012で実行されるファンクション送受信処理の具体
的手順の一部(後半)を示すフローチャートである。FIG. 56: Step S of the main routine (FIG. 51)
It is a flowchart which shows a part (second half) of the specific procedure of the function transmission / reception process performed by 8012.
【図57】上記メインルーチン(図51)のステップS
8014で実行される決済信号出力処理の具体的手順の
一例を示すフローチャートである。FIG. 57: Step S of the main routine (FIG. 51)
It is a flowchart which shows an example of the specific procedure of the settlement signal output process performed in 8014.
【図58】図51のメインルーチン(バックグランド処
理)に優先して玉貸し制御装置500によって所定時間
(例えば1msec)経過毎に行なわれるタイマ割込処
理の手順を示すフローチャートである。58 is a flowchart showing a procedure of a timer interrupt process performed by the ball lending control device 500 every time a predetermined time (for example, 1 msec) elapses, prior to the main routine (background process) of FIG. 51.
【図59】図51のメインルーチン(バックグランド処
理)に優先して玉貸し制御装置500によって行なわれ
る送信割込処理の手順を示すフローチャートである。59 is a flowchart showing a procedure of a transmission interruption process performed by the ball lending control device 500 prior to the main routine (background process) of FIG. 51.
【図60】図51のメインルーチン(バックグランド処
理)に優先して玉貸し制御装置500によって行なわれ
る受信割込処理の手順を示すフローチャートである。60 is a flowchart showing a procedure of a reception interruption process performed by the ball lending control device 500 prior to the main routine (background process) of FIG. 51.
【図61】上記玉貸し制御装置500と排出制御装置6
00との間で送受信される信号の具体的なタイミングを
示すタイムチャートである。FIG. 61 shows the ball lending control device 500 and the discharge control device 6
9 is a time chart showing specific timings of signals transmitted and received between 00 and 00.
100 パチンコ遊技機120 供給皿 122 残高表示器 123 玉貸し変換ボタン 230 有効表示ランプ 400 遊技盤制御装置 500 玉貸し制御装置 600 排出制御装置 700 ホール管理装置 800 カード管理装置REFERENCE SIGNS LIST 100 pachinko gaming machine 120 supply tray 122 balance display 123 ball lending conversion button 230 valid display lamp 400 game board control device 500 ball lending control device 600 discharge control device 700 hall management device 800 card management device
Claims (1)
を有し、該排出装置と一対一に対応して配設され且つカ
ードの有価データを読み取り可能なカードリーダに挿入
されたカードの保有する有価データの範囲内において当
該有価データを所定の貸し球数に変換し上記球排出装置
より貸し球を前面の供給皿に直接排出可能に構成されて
なるカード式遊技機において、 遊技盤と一対一に構成される遊技盤制御回路と、 上記球排出装置に関わる制御を行う排出制御回路と、 少なくとも上記カードリーダの制御を行う玉貸し制御回
路と、 を別個に備え、 上記遊技盤制御回路は、少なくとも遊技盤に関わる制御
を行うと共に、排出すべき賞品球数データを記憶する手
段を有し、該記憶された賞品球数データを上記排出制御
回路に対し送信する制御を行い、 上記排出制御回路は、少なくとも上記賞品球数データに
対応して所定数の賞品球を上記球排出装置より排出させ
る制御を行うと共に、上記有価データを所要数の貸し球
に変換する変換要求に起因する上記玉貸し制御回路から
の球貸要求信号に基づいて、上記球排出装置より所要数
の貸し球を排出させる制御を行うように構成したことを
特徴とするカード式遊技機。 1. A ball discharging device capable of discharging a required number of game balls.
Which are disposed in one-to-one correspondence with the discharge device and
Card into a readable card reader
Within the range of valuable data held by the card
The valuable data is converted into a predetermined number of loaned balls, and the ball discharging device is used.
It is configured to be able to discharge more rental balls directly to the supply tray on the front
In a card-type gaming machine, a game board control circuit configured one-to-one with a game board , a discharge control circuit for controlling the ball discharging device, and a ball lending control circuit for controlling at least the card reader
And the road separately, and the game board control circuit controls at least the game board.
And store the data of the number of prize balls to be ejected.
A step of controlling the discharge of the stored prize ball number data.
Controls the transmission to the circuit, the emission control circuit, at least the prize ball number data
In response, a predetermined number of prize balls are discharged from the ball discharge device.
Control, and transfer the valuable data to the required number of loaned balls.
From the ball lending control circuit caused by the conversion request to convert to
The required number from the above-mentioned ball discharge device based on the ball lending request signal of
That it is configured to perform control to discharge the rental ball of
Characterized card-type gaming machine.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14558191A JP2964177B2 (en) | 1991-05-21 | 1991-05-21 | Card-type gaming machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14558191A JP2964177B2 (en) | 1991-05-21 | 1991-05-21 | Card-type gaming machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04343875A JPH04343875A (en) | 1992-11-30 |
| JP2964177B2 true JP2964177B2 (en) | 1999-10-18 |
Family
ID=15388403
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14558191A Expired - Fee Related JP2964177B2 (en) | 1991-05-21 | 1991-05-21 | Card-type gaming machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2964177B2 (en) |
-
1991
- 1991-05-21 JP JP14558191A patent/JP2964177B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04343875A (en) | 1992-11-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2954384B2 (en) | Gaming machine | |
| JPH05103866A (en) | Emission control system for game balls | |
| JP2954383B2 (en) | Gaming machine | |
| JP2964177B2 (en) | Card-type gaming machine | |
| JP7045493B2 (en) | Pachinko machine | |
| JP3663596B2 (en) | Card type pachinko game machine | |
| JP2888359B2 (en) | Gaming machine | |
| JP3624342B2 (en) | Card game machine | |
| JP3035793B2 (en) | Gaming machine | |
| JP2964178B2 (en) | Card-type gaming machine | |
| JPH10290874A (en) | Gaming machine | |
| JP3066472B2 (en) | Card-type gaming machine | |
| JPH10290873A (en) | Ball rental processing equipment | |
| JPH10272251A (en) | Ball rental processing equipment | |
| JP3066471B2 (en) | Gaming machine | |
| JP2000245928A (en) | Pachinko machine | |
| JP5260383B2 (en) | Automatic transaction equipment | |
| JP3066475B2 (en) | Card-type gaming machine | |
| JP7099171B2 (en) | Vehicle certification equipment | |
| JP3066474B2 (en) | Card-type gaming machine | |
| JP2001170348A (en) | Gaming machine | |
| JP3035795B2 (en) | Gaming equipment | |
| JP7052639B2 (en) | Vehicle certification equipment | |
| JP4497878B2 (en) | IC card type fare settlement device | |
| JP4126906B2 (en) | Coin return device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 8 Free format text: PAYMENT UNTIL: 20070813 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080813 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 9 Free format text: PAYMENT UNTIL: 20080813 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 10 Free format text: PAYMENT UNTIL: 20090813 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090813 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090813 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100813 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 11 Free format text: PAYMENT UNTIL: 20100813 |
|
| LAPS | Cancellation because of no payment of annual fees |