Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2964178B2 - Card-type gaming machine - Google Patents
[go: Go Back, main page]

JP2964178B2 - Card-type gaming machine - Google Patents

Card-type gaming machine

Info

Publication number
JP2964178B2
JP2964178B2 JP14558291A JP14558291A JP2964178B2 JP 2964178 B2 JP2964178 B2 JP 2964178B2 JP 14558291 A JP14558291 A JP 14558291A JP 14558291 A JP14558291 A JP 14558291A JP 2964178 B2 JP2964178 B2 JP 2964178B2
Authority
JP
Japan
Prior art keywords
discharge
ball
flag
sensor
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP14558291A
Other languages
Japanese (ja)
Other versions
JPH04343876A (en
Inventor
吉平 新山
広司 伊東
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sofia Inc
Original Assignee
Sofia Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=15388427&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP2964178(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Sofia Inc filed Critical Sofia Inc
Priority to JP14558291A priority Critical patent/JP2964178B2/en
Publication of JPH04343876A publication Critical patent/JPH04343876A/en
Application granted granted Critical
Publication of JP2964178B2 publication Critical patent/JP2964178B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は入賞球を一個宛に検出可
能なセーフセンサと所要数の遊技球を排出可能な球排出
装置を有し、該球排出装置と一対一に対応して配設され
且つカードの記憶データを読み取り可能なカードリーダ
に挿入されたカードの有価データの範囲内において当該
有価データを所要数の貸し球に変換し上記球排出装置よ
り排出された貸し球を前面の供給皿に直接排出可能に構
成されてなるカード式遊技機に関する。
INDUSTRIAL APPLICABILITY The present invention can detect a winning ball to one destination
Safe sensor and ball discharge that can discharge the required number of game balls
Device, and is disposed in one-to-one correspondence with the ball discharging device.
Card reader that can read the stored data of the card
Within the range of valuable data of the card inserted in
Convert valuable data into the required number of loaned balls, and
The ball that has been discharged can be directly discharged to the supply tray on the front.
The present invention relates to a card-type gaming machine formed.

【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-type game machine in which a game is played through a magnetic card. 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, regardless of the type of the conventional card-type gaming system, a game using a card can be performed only in the game store that issued the card, and the game cannot be performed with a card issued in 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 in a ball lending machine arranged between pachinko gaming machines and a part of the remaining balance of the card is lending by a command from a switch button provided on an operation panel of the pachinko gaming machine. The ball lending method is to convert the lending ball directly to the supply tray of the pachinko gaming machine by using the ball discharging device provided in the pachinko gaming machine to reduce the burden of ball lending operation Proposed.

【0005】しかしながら、この玉貸し方式にあって
は、遊技者の玉貸し変換操作の煩わしさは軽減できるも
のの、貸し球を直接パチンコ遊技機の供給皿に排出させ
るようにしたために、遊技機に設けられた一つの球排出
装置により賞品球の排出と貸し球の排出を行わなければ
ならず、賞品球及び貸し球の排出の区別を明確にする必
要が生じると共に、賞品球の排出制御に加えて貸し球の
排出制御も同じ排出制御回路で行わなければならず、両
排出制御を正確に行わなければならないという問題が生
じてきた。
[0005] However, in this ball lending system, the trouble of the ball lending conversion operation of the player can be reduced.
However, let the rental ball be discharged directly into the pachinko machine supply tray.
One ball discharge machine provided in the gaming machine
The prize ball and lending ball must be discharged by the device.
It is necessary to clarify the distinction between the emission of prize balls and rental balls.
In addition to controlling the emission of prize balls,
Emission control must be performed by the same emission control circuit.
The problem is that emission control must be performed accurately.
I'm sorry.

【0006】そこで、上記問題点及び要求を解消するた
めに賞品球の排出に関わる制御の一部を遊技盤制御回路
に負担させて、入賞球に対する賞球制御信号を遊技盤制
御回路から排出制御回路に送信するように構成し、貸し
球の排出に関わる制御の一部を玉貸し制御回路に負担さ
せることにより、球貸要求信号を玉貸し制御回路から排
出制御回路へ送信する方式について検討した。しかし、
遊技盤制御回路と排出制御回路とを個別に分離構成する
と、回路自体 の互換性や汎用性が高まる反面、遊技店に
おける1日の営業時間において発生する遊技球の入賞回
数が3000回以上にも及ぶ場合もあり、且つ、遊技機
自体に有する各種の電気的駆動源からのノイズや内部に
多数流動している遊技球に帯電している静電気の発生
等、電子回路にとって悪条件の多いシステム動作中にお
いて、遊技盤制御回路から排出制御回路へ送信される賞
球制御信号が正確且つ確実に制御されなければならな
い。
Therefore, the above problems and demands have been solved.
A part of the control related to the discharge of prize balls
To control the prize ball control signal for the winning ball
Control circuit to send to the emission control circuit
Part of the control related to ball discharge is borne by the ball lending control circuit
The ball lending request signal from the ball lending control circuit.
The transmission method to the output control circuit was studied. But,
The game board control circuit and the discharge control circuit are separately configured separately
While the compatibility and versatility of the circuit itself increase,
Winning times of game balls generated during the business hours of the day
The number may be 3000 times or more, and gaming machines
Noise from various electric drive sources in the
Generation of static electricity charged on many flowing game balls
During operation of the system, which is often under adverse conditions for electronic circuits.
Award sent from the game board control circuit to the discharge control circuit.
The ball control signal must be controlled accurately and reliably
No.

【0007】この発明は上記のような背景の下になされ
たもので、その目的とするところは、カード式遊技機に
おいて遊技中における賞品球及び貸し玉の両排出制御を
同じ排出制御回路で行ったとしても、賞品球と貸し球の
区別を明確にすることができ、さらに、入賞球に対する
賞球制御信号を遊技盤制御回路から排出制御回路に送信
するように構成した場合において、排出制御回路側で賞
球制御信号の受信タイミングを正確に制御できるように
し、1日に数多く発生する賞品球の排出制御を正確且つ
確実に行えるような制御方式を採用したカード式遊技機
を提供することにある。
The present invention has been made in view of the above background, and an object of the present invention is to control the discharge of both a prize ball and a lending ball during a game in a card-type gaming machine.
Even if the same emission control circuit is used, the prize ball and the rental ball
The distinction can be clarified, and moreover,
Send prize ball control signal from game board control circuit to discharge control circuit
In the emission control circuit,
Accurate control of ball control signal reception timing
And the discharge control of prize balls which occur many times a day is accurate and
Card-type gaming machines that adopt a control method that can be performed reliably
Is to provide.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、入賞球を一個宛に検出可能なセーフセンサ(18
1)と所要数の遊技球を排出可能な球排出装置(17
0)とを有し、該球排出装置と一対一に対応して配設さ
れ且つカードの記憶データを読み取り可能なカードリー
ダ(例えば、カードリーダ240)に挿入されたカード
の保有する有価データの範囲内において当該遊有価デー
タを所要数の貸し球に変換し上記球排出装置より貸し球
を前面の供給皿(120)に直接排出可能に構成されて
なるカード式遊技機において、遊技盤と一対一に構成さ
れる遊技盤制御回路(例えば、遊技盤制御装置400)
と、上記球排出装置に関わる制御を行う排出制御回路
(例えば、排出制御装置600)と、少なくとも上記カ
ードリーダの制御を行う玉貸し制御回路(例えば、玉貸
し制御装置500)と、を別個に備え、上記遊技盤制御
回路は、少なくとも排出すべき賞品球数データを記憶す
る手段(例えば、賞球数記憶手段412)を備え、当該
遊技盤制御回路から上記排出制御回路に対して賞球制
信号が送信可能に構成されて成り、上記玉貸し制御回路
は、少なくとも上記有価データを所要数の貸し球に変換
する操作に基づく球貸変換要求信号(Y)に対応した球
貸要求信号(T)を起生し、該球貸要求信号を上記排出
制御回路へ送信可能な玉貸要求制御手段(512)を備
え、上記排出制御回路は、少なくとも上記賞球制御信号
に基づいて賞球排出数を記憶する賞球排出数記憶手段
(例えば、賞球排出数記憶演算部661)を具備し、上
記賞球制御信号には、上記賞球数データとしての賞球数
信号と該賞球数信号の取込に関わるタイミングを制御す
る同期信号(例えば、ストロープ信号)とが含まれるよ
うにし、上記セーフセンサによって入賞球検出信号が発
生した際には、上記遊技盤制御回路側から上記排出制御
回路の賞球排出数記憶手段へ同期信号に基づいて賞球数
信号を送信すると共に、上記球貸変換要求信号が発生し
た際には、上記玉貸し制御回路の玉貸要求制御手段から
上記排出制御回路側へ当該球貸要求信号を送信するよう
に構成したものである。
In order to achieve the above-mentioned object, a safe sensor (18) capable of detecting a winning ball to one piece is provided.
1) and a ball discharge device (17) capable of discharging a required number of game balls
0), and are disposed in one-to-one correspondence with the ball discharging device.
Card that can read the data stored on the card
Card (eg, card reader 240)
Within the scope of valuable data held by
Data into the required number of rental balls
Is configured so that it can be discharged directly to the front supply tray (120).
Card-type gaming machines
Game board control circuit (eg, game board control device 400)
And a discharge control circuit for controlling the above-mentioned ball discharge device
(For example, the discharge control device 600) and at least the
Ball rental control circuit that controls the reader (for example, ball rental
Control device 500) and the game board control
The circuit stores at least prize ball count data to be ejected.
(For example, award ball number storage means 412).
Award ball control with respect to the discharge control circuit from the game board control circuit
The signal is configured to be transmittable, and the ball lending control circuit is provided.
Converts at least the above valuable data into the required number of loaned balls
Ball corresponding to the ball rental conversion request signal (Y) based on the operation performed
A lending request signal (T) is generated, and the ball lending request signal is discharged as described above.
Equipped with ball lending request control means (512) that can be transmitted to the control circuit
The discharge control circuit includes at least the prize ball control signal.
Prize ball discharge number storage means for storing the prize ball discharge number based on the
(E.g., prize ball discharge number storage operation unit 661).
The award ball control signal includes the number of award balls as the above award ball number data.
Signal and the timing related to the acquisition of the prize ball number signal.
Synchronization signal (eg, a strobe signal)
The safe sensor generates a winning ball detection signal.
When it is generated, the discharge control is performed from the gaming board control circuit side.
Number of prize balls based on the synchronization signal to the prize ball discharge number storage means of the circuit
Signal and the ball lending conversion request signal is generated.
The ball lending request control means of the ball lending control circuit
The ball lending request signal is transmitted to the emission control circuit side.
It is what was constituted.

【0009】[0009]

【作用】上記した手段によれば、排出すべき賞品球数デ
ータを記憶する手段を備えた遊技盤制御回路により、排
出制御回路に対して賞球制御信号が送信されると共に、
玉貸し制御回路の玉貸要求制御手段により、有価データ
を所要数の貸し球に変換する操作に基づく球貸変換要求
信号に対応した球貸要求信号が起生されるので、排出制
御回路は、賞品球と貸し球の排出を明確に区別すること
ができる。また、賞球制御信号には、賞球数データとし
ての賞球数信号と該賞球数信号の取込に関わるタイミン
グを制御する同期信号とが含まれるようにされ、セーフ
センサにおいて入賞球検出信号が発生した際には、遊技
盤制御回路側から排出制御回路の賞球排出数記憶手段へ
同期信号に基づいて賞球数信号が送信され、球貸変換要
求信号が発生した際には、玉貸し制御回路の玉貸要求制
御手段から排出制御回路側へ当該球貸要求信号が送信さ
れるようにしたことにより、賞品球と貸し球の排出の区
別を明確にできるとともに、賞球数データの受信タイミ
ングを正確に制御できて、1日に数多く発生する賞品球
の排出を確実に行えることとなる。
According to the above-mentioned means, the number of prize balls to be discharged is determined.
The game board control circuit provided with means for storing data
The prize ball control signal is transmitted to the output control circuit,
Valuable data is obtained by the ball lending request control means of the ball lending control circuit.
Conversion request based on the operation of converting the required number of rental balls
Since a ball lending request signal corresponding to the signal is generated, the emission control
Your circuit must clearly distinguish between prize balls and loaned ball emissions
Can be. The prize ball control signal includes prize ball number data.
Prize ball number signals and timing related to the acquisition of the prize ball number signals
Synchronization signal to control the
When a winning ball detection signal is generated by the sensor,
From the board control circuit side to the prize ball discharge number storage means of the discharge control circuit
The prize ball number signal is transmitted based on the synchronization signal, and the ball rental conversion is required.
When a request signal is generated, the ball lending request system of the ball lending control circuit
The ball lending request signal is sent from the control means to the discharge control circuit side.
Prize balls and rental ball discharge areas
In addition to being able to clarify the difference, the timing of receiving prize ball data
Prize balls that can be controlled accurately and generate many times a day
Can be reliably discharged.

【0010】[0010]

【実施例】図1には、本発明に係るカード式遊技機の代
表例としてのカード式パチンコ遊技機の一実施例が示さ
れている。この実施例では、パチンコ遊技機100が玉
貸機を兼用した構成にされており、各パチンコ遊技機1
00にはカードリーダが内蔵され、パチンコ遊技機10
0の前面枠101の下部に設けられた受け皿140の前
面左側には上記カードリーダに対応してカード挿排口2
11と、カードリーダが稼動状態すなわちカード挿入可
能状態にあることを表示する有効表示ランプ230が設
けられている。一方、パチンコ遊技機100の前面枠1
01に設けられている供給皿120の上面には、操作パ
ネル121が形成され、この操作パネル121上に上記
カード挿排口211に挿入されたカードの残高を表示す
る残高表示器122と、玉貸しが可能であることを表示
する玉貸可能表示器126が設けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a card-type gaming machine according to the present invention.
One embodiment of a card-type pachinko gaming 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 an operating state, that is, in a state where a card can be inserted. On the other hand, the front frame 1 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 tray 01. The balance display 122 displays the balance of the card inserted into the card insertion / ejection port 211 on the operation panel 121; A ball lending indicator 126 is provided to indicate that lending is possible.

【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】この実施例では、上記カードリーダへカー
ドが挿入されると、カードの有する金額の範囲内で、所
定数の貸し玉を排出する指令がパチンコ遊技機100の
裏面に設けられている球排出装置の制御装置に対して送
出されるように構成されている。変換後のカードの残り
金額は、100円を1単位とする度数で残高表示器12
2に表示されるようになっている。図2には上記パチン
コ遊技機100の裏機構の構成例が示されている。図2
において、170は後述の玉貸し制御装置500からの
排出要求信号にづいて所定数の貸し玉を排出したりパ
チンコ遊技機からの要求信号により賞品球を排出する球
排出装置、151は排出される前の球を貯留しておく貯
留タンク、152は貯留タンク151内の球を一列に整
列させて上記球排出装置170まで誘導する誘導樋で、
この誘導樋152は特に限定されないが、短時間に多量
の玉を供給できるように2条に形成されており、その途
中には球の重なりを防止する玉ならし153および待機
球検出器160が設けられている。
In this embodiment, when a card is inserted into the card reader, a command to discharge a predetermined number of lending balls within a range of the amount of money of the card is provided on a back surface of the pachinko gaming machine 100. It is configured to be sent to the control device of the discharging device. The remaining amount of the converted card is expressed in units of 100 yen as one unit.
2 is displayed. FIG. 2 shows a configuration example of the back mechanism of the pachinko gaming machine 100. FIG.
In, 170 sphere discharge device for discharging the prize balls by request signal from the pachinko gaming machine or discharging the group Zui a predetermined number of rental balls to the discharge request signal from the ball lending controller 500 described later, 151 is discharged A storage tank 152 for storing the spheres before being stored, a guiding gutter for aligning the spheres in the storage tank 151 in a line and guiding the spheres to the sphere discharge device 170;
The guide gutter 152 is not particularly limited, but is formed into two strips so that a large amount of balls can be supplied in a short time, and a ball leveling 153 and a standby ball detector 160 for preventing the balls from overlapping each other are provided on the way. Is provided.

【0013】また、球排出装置170の下方には、排出
された玉を遊技機前面の上記供給皿120の流出口12
9へ誘導する排出樋155と供給皿120からオーバー
フローした玉を下方の受け皿140へ誘導するオーバー
フロー樋156が連続して設けられているとともに、上
記排出樋155の途中から分岐された玉抜き樋157が
上記オーバーフロー樋156と平行して配設され、この
玉抜き樋157と排出樋155との分岐部には流路切換
え弁158が設けられている。159は遊技機の前面に
設けられた入賞口に流入した入賞球を一箇所に集合させ
る集合樋、180は集合樋159の下端に設けられた入
賞球分離検出装置、240は上記カード挿排口211に
対応してその後方に配設されたカードリーダである。
[0013] In addition, 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 game 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 provided in parallel with the overflow gutter 156. In addition, 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.

【0014】図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.

【0015】上記減圧部711は、貯留タンク151か
ら誘導樋152を介して送られてくる予備球の圧力を減
らすもので、同図に示すように、緩傾斜状態にUターン
された構造にされている。上記縁切り部712は、その
下の排出部713を通る球同士に間隔を開けさせて、下
方の排出手段740による球の流出を止め易くするため
のもので、前記減圧部711に連続する垂直通路部分7
21と後述の排出部713に通じる方向変換通路部分7
22とから構成されている。そして、垂直通路部分72
1の下端部には、球詰まり防止突部723が前方に突出
して設けられている。この球詰まり防止突部723によ
って、垂直通路部分721に縦に並んで停止した球のう
ちの最も下の球の中心位置がその上方の球の中心位置よ
り常に前方に位置せしめられるようになる。それによっ
て、上方の球の流下移動圧が最も下の球を常に前方に押
圧するように作用し、球詰まりが防止される。
The decompression unit 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. And the vertical passage portion 72
A ball clogging prevention projection 723 is provided at the lower end of the projection 1 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.

【0016】各案内樋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.

【0017】そして、排出ソレノイド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 moved from the notch 703 to the guide trough
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 sphere in the guide gutter 710 is discharged to the lower discharge gutter 155.

【0018】このように上記実施例の球排出装置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 actuate the driving means (solenoid) of the flow path switching valve 158 in the discharge gutter 155 to discharge the discharged ball through the ball extraction gutter 157. It is designed to be discharged outside.

【0019】上記球抜きセンサ750および排出ソレノ
イド741、排出センサ730は排出制御装置600
(図4参照)に電気的に接続されている。図4には、パ
チンコ遊技機100の制御系の一実施例が示されてい
る。この制御系は大きく分けると、主としてパチンコ遊
技機100の遊技盤に関する制御を司る遊技盤制御回路
としての遊技盤制御装置400と、カードリーダ等の制
御を司る玉貸し制御回路としての玉貸し制御装置500
と、上記球排出装置170の制御を司る排出制御装置と
しての排出制御装置600とにより構成されている。
The ball release sensor 750, the discharge solenoid 741, and the discharge sensor 730 are connected to 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 device that controls the ball discharge device 170 ;
And a discharge control device 600.

【0020】上記制御装置のうち遊技盤制御装置400
は、パチンコ遊技機の遊技盤102に設けられている各
種入賞球検出器から検出信号を受けて役物の駆動信号を
形成したり、パチンコ遊技機の裏機構盤に設けられてい
る入賞球分離検出装置180内の検出器(セーフセン
サ)181からの信号を受けて入賞球分離用のセーフソ
レノイド182を作動させたり、スピーカ190に対す
る駆動信号を形成する。また、遊技盤制御装置400
は、遊技状態を監視してパチンコ店の管理装置700に
対してパチンコ機が稼働中であることや大当りの発生、
打止めの発生等の状態に関する情報を伝える機能を備え
ている。
A game board control device 400 of the above control devices
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.

【0021】排出制御装置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.

【0022】また、排出制御装置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.

【0023】さらに、排出制御装置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 number-of-discharged-balls signal J (one pulse indicates, for example, 25 discharged balls), an out-ball number signal L, and the like as data.

【0024】玉貸し制御装置500は、パチンコ遊技機
100内のカードリーダからの読取りデータを受けて残
高表示器122に対する表示駆動信号Xおよびカードリ
ーダが作動状態にあることを表示する有効表示ランプ2
30やパチンコ遊技機に設けられている玉貸し可能表示
器126に対する駆動信号を形成したり、カードリーダ
制御装置250に対する残高データ書換え信号q、パン
チ穴加工信号m、カード排出信号nを形成する。また、
玉貸し制御装置500は、カードリーダにカードが挿入
されたことを認知すると排出制御装置600に対して玉
貸し要求信号Tを送ったり、カード管理装置800に対
してカード残高の中から1度(100円)分の貸し玉の
への変換を行なう毎に1パルスのカード決済信号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 the operating state.
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,
When recognizing that a card has been inserted into the card reader, the ball lending control device 500 sends a ball lending request signal T to the ejection control device 600 or once from the card balance to the card management device 800 ( It also has a function of transmitting a one-pulse card settlement signal j each time conversion to lending balls for 100 yen) is performed.

【0025】図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.

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

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

【0028】図6には音声出力手段450の構成例を示
す。音声出力手段450には、遊技制御手段430から
のソレノイドの駆動に伴う効果音のような遊技音の発生
を要求する遊技音要求信号と、排出制御装置600か
らの賞球排出音要求信号Dおよび貸し玉排出音要求信号
Eが入力されている。
FIG. 6 shows a configuration example of the audio output means 450. The sound output means 450 includes a game sound request signal X requesting generation of a game sound such as a sound effect accompanying driving of the solenoid from the game control means 430, and a prize ball discharge sound request signal D from the discharge control device 600. And lending ball discharge sound request signal
E has been entered .

【0029】音声出力手段450内には、上記5種類の
要求信号に各々対応する音声の発生コードを記憶するR
OM(リードオンリメモリ)等からなる音声発生手段4
51,452,453と、これら音声発生手段から出力
された信号に基づいてスピーカ190を駆動する信号を
発生するサウンドジェネレータ457と、上記要求信号
のうちいずれを優先して対応する音声を発生させるか決
定する優先制御手段458とを備え、同時に複数の要求
信号が入ってきたときは最も優先度の高い音声発生手段
を選択して音声コードを出力させるように構成されてい
る。
The voice output means 450 stores the voice generation codes corresponding to the five 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 and a voice code is output.

【0030】図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 a configuration example 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.

【0031】また、排出制御装置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.

【0032】また、上記制御部610は、図8に示すよ
うに賞球排出制御部616と、貸し玉排出制御部617
と、玉抜き排出制御部618と停電制御部619とによ
り構成される。このうち、賞球排出制御部616は、遊
技盤制御装置400からの賞球データBとその取込みタ
イミングを示すデータストローブ信号Cを受けて賞品球
数を記憶し、排出センサ730からの検出信号に基づい
て実際の排出数を演算する賞球排出数記憶手段としての
賞球排出数記憶演算部661と、演算された排出数に基
づいて残りの排出数を判定し排出ソレノイド741a,
741bの駆動信号を形成する排出制御信号形成部66
2とより構成されている。
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 A prize ball discharge number storage unit 661 as a prize ball discharge number storage unit for calculating an actual discharge number based on the calculated discharge number; and a discharge solenoid 741a for determining the remaining discharge number based on the calculated discharge number.
Emission control signal forming unit 66 that forms the drive signal of the 741b
2 is comprised.

【0033】排出制御信号形成部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 continuously converted to lending balls at once, 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, 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.

【0034】排出制御信号形成部673は、賞球排出制
御部616が賞球排出制御中でないことを条件に貸し玉
排出可能を示す玉貸しレディ信号Uと貸し玉排出中を示
す信号Qおよび貸し玉排出終了を示す信号Oを形成し出
力する。玉抜き排出制御部618は、賞球排出制御部6
16および貸し玉排出制御部617が排出制御中でない
ことを条件に玉抜きセンサ750からのオン信号によっ
て起動され、排出ソレノイド741および流路切換弁1
58のソレノイドを駆動する信号と玉抜き排出中である
ことを示す信号pを出力する機能を備えている。
The discharge control signal forming section 673 has 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 unit 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.

【0035】停電制御部619は、図9に示すように、
交流電源の電源波形の波の数を数えて所定数以下になっ
たときに停電の発生を検出する停電検出手段691と、
電圧レベル検出手段等からの信号に基づいて電源電圧の
回復を検出する停電回復検出手段695と、賞球排出制
御部616および貸し玉排出制御部617からの状態信
号R,Qに基づいて進行中の排出の態様を記憶する排出
態様記憶手段692と、排出数信号a,bにより各排出
動作中における排出球数を保持する排出球数記憶手段6
93と、停電により中断された排出を停電回復時に途中
から続行させる排出続行制御手段694とから構成され
ている。
The power failure control unit 619, as shown in FIG.
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.

【0036】上記排出態様記憶手段692および排出球
数記憶手段693は、例えば電池696によりバックア
ップされたRAM(ランダムアクセスメモリ)で構成さ
れており、停電検出手段691が停電の発生を検出する
とその時の排出態様と排出数を排出態様記憶手段692
および排出球数記憶手段693に保持させ、停電が回復
したときには排出続行制御手段694を起動させて賞球
排出制御部616または貸し玉排出制御部617のいず
れによる排出が中断されていたかを判定させ、その結果
に応じて排出球数記憶手段693に保持されていた球数
を賞球排出制御部616または貸し玉排出制御部617
に転送させて、停電発生時に中断された排出を続行させ
て残りの球数を排出させるようになっている。
The discharge mode storage means 692 and the discharge ball count storage means 693 are constituted by, for example, a RAM (random access memory) backed up by a battery 696, and when 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.

【0037】図10は玉貸し制御回路としての玉貸し制
御装置500の構成例を示す。この実施例の玉貸し制御
装置500は、シングルチップマイコン等からなる制御
部510と、この制御部510とカードリーダ制御装置
250との間のデータ送受信のインターフェースを行な
うトランシーバ502と、セグメント型表示器からなる
残高表示器の駆動信号を形成する表示駆動手段503
と、玉貸可能表示器126および玉貸有効表示ランプ2
30を駆動するドライブ回路DRV1,DRV2と、一
連の処理で何円分の貸し玉を排出すべきか設定可能な玉
貸数設定スイッチ521a,521b,521c,52
1dの入力信号からノイズを除去して上記制御部510
に入力するフィルタ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 of this 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
Drive circuits DRV1 and DRV2 for driving 30 and ball lending number setting switches 521a, 521b, 521c, and 52 for setting how many lending balls to be discharged in a series of processing.
The control unit 510 removes noise from the 1d input signal.
, A relay 505 for supplying a card settlement signal j to the card management device 800, and the like.

【0038】また、上記制御部510は、カードリーダ
制御装置250からのデータを読み込んだり、カードリ
ーダ制御装置250に対する書込データや制御信号、残
高表示器122に対する表示データを形成するカード制
御手段511と、上記排出制御装置600に対する玉貸
し要求信号Tを発生する玉貸要求制御手段512と、玉
貸数設定スイッチ521a,521b,521c,52
1dのいずれのスイッチがオンされているか識別し、玉
貸要求制御手段512に対して設定された玉貸し排出の
回数を示す信号tを供給する玉貸回数制御手段513と
から構成されている。
The control unit 510 reads data from the card reader control unit 250, and writes data and control signals for the card reader control unit 250 and forms display data for the balance display unit 122. A ball lending request control means 512 for generating a ball lending request signal T to the discharge control device 600; and ball lending number setting switches 521a, 521b, 521c, 52.
1d, which is turned on, and a ball lending frequency control means 513 for supplying a signal t indicating the number of ball lending discharges set to the ball lending request control means 512.

【0039】玉貸要求制御手段512は、上記信号tお
よび排出制御装置600からの玉貸し排出可能を示す玉
貸イネーブル信号Uに基いて排出制御装置600に対す
る玉貸し要求信号Tをアサートするとともに、排出制御
装置600からの払出完了信号Vを受けて玉貸し要求信
号Tをネゲートする。具体的には上記設定玉貸数とカー
ドから読み取った残高データ(度数)とを比較するとと
もに、払出完了信号Vを計数して玉貸排出回数が、設定
玉貸数または残高データ(度数)のうち少ない方の数に
達した時点で玉貸し要求信号Tをネゲートするようにな
っている。玉貸可能表示器126を駆動するドライブ回
路DRV1は、上記玉貸し要求信号Tを受けてこれがネ
ゲートされている間だけ玉貸し可能表示ランプ126を
点灯させ、玉貸し要求信号Tがアサートされている間は
消灯させるようになっている。
The ball lending request control means 512 asserts a ball lending request signal T to the discharge controller 600 based on the signal t and the ball lending enable signal U from the discharge controller 600 indicating that the ball lending can be discharged. Upon receiving the payout completion signal V from the discharge control device 600, the ball lending request signal T is negated. Specifically, while comparing the set ball lending number with the balance data (frequency) read from the card, the payout completion signal V is counted, and the ball lending discharge frequency is set to the set ball lending number or the balance data (frequency). The ball lending request signal T is negated when the number of the smaller ones is reached. The drive circuit DRV1 that drives the ball lending display 126 receives the ball lending request signal T, turns on the ball lending display lamp 126 only while the ball lending request signal T is negated, and the ball lending request signal T is asserted. The lights are turned off during the interval.

【0040】図11には、上記玉貸し制御装置500の
カード制御手段511の具体的構成例を示す。すなわ
ち、このカード制御手段511は、カードリーダ制御装
置250から送られてくる読込みデータよりカードの残
高を抽出するカード残高読込み手段541と、読み込ま
れた残高データを記憶する残高記憶手段542と、排出
制御装置600からの貸し玉払出完了信号Vに基いて上
記残高記憶手段542の記憶内容を減算させる金額減算
手段544と、残高記憶手段542の金額が所定数にな
るごとにカードリーダ内のパンチ装置に対して穴開け指
令を与えるパンチ穴加工制御手段545と、上記残高記
憶手段542の金額がゼロになったか否か判定するカー
ド残高判定手段546と、この判定手段546からの金
額ゼロ信号uに基いてカードリーダの挿排出モータに対
するカード排出指令信号nや玉貸可能表示器126の制
御信号を形成するカード挿排出制御手段547と、貸し
玉払出完了信号Vに基いてプリペードカードが1度(1
00円等)分使用されたことを、全カードの金額を管理
するカード管理装置800に知らせる決済信号jを形成
する決済情報形成手段548とを備えている。この決済
信号jは伝送ラインを介してカード管理会社のコンピュ
ータに伝送させるようにすることができる。
FIG. 11 shows a specific configuration example 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. And a card balance determining means 546 for determining whether or not the amount stored in the balance storage means 542 has become zero. The amount zero signal u from the determining means 546 Based on this, the card ejection command signal n to the card ejection motor of the card reader and the control signal of the ball lending indicator 126 are formed. A card insertion and ejection output control means 547 for, prepaid card once based on the rental ball payout completion signal V (1
And payment information forming means 548 for generating a payment signal j for notifying the card management device 800 that manages the amount of all the cards that the card has been used. This settlement signal j can be transmitted to a computer of a card management company via a transmission line.

【0041】上記カード残高読込み手段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.

【0042】次に、上述した排出制御装置600によっ
て行なわれる貸し玉および賞品球の排出制御の手順を図
12乃至図50を参照して詳細に説明する。賞品球の排
出制御は、上記排出制御装置600の電源の投入と同時
に開始され電源が投入されている限り繰返しその処理が
行なわれる所謂バックグラウンド制御処理(図12)
と、上記電源が投入されたあとタイマ割込みにより所定
時間(例えば0.5msec)毎に、上記バックグラン
ド制御処理中に当該バックグランド制御処理を中断して
その処理が実行される割込処理(図13)の2つの制御
処理に大別されるものであり、これら2つの制御処理は
CPUからなる制御部610により実行される。
Next, the procedure of controlling the discharge of a lending ball and a 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 when the power of the discharge control device 600 is turned on, and the process is repeatedly performed as long as the power is turned on, so-called background control process (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 (see FIG. 13) are roughly classified into two control processes, and these two control processes are executed by the control unit 610 including a CPU.

【0043】先ず、賞品球の排出制御のバックグランド
制御処理のメインルーチンについて図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).

【0044】このステップ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 result of the determination in step S1 is "No", the operation proceeds to step S2 , and when the result is "Yes", the operation 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 illegal discharge has not been 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.
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).

【0045】この処理ナンバーは、その値が“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 described later (FIG. 50) is started. 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.

【0046】一方、処理ナンバーが“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 is performed.
Return to

【0047】図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 by the discharge control device 600 every time a predetermined time (for example, 0.5 msec) elapses, 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.

【0048】図14は、上記ステップS41にて行なわ
れる玉貸しリクエスト検出処理ルーチンのフローチャー
トである。この処理ルーチンでは、まずRAM内に用意
され図39の玉貸し排出処理ルーチン中で更新される連
続玉貸しカウンタの値が「5」であるか否か判定し(ス
テップS4102)、“No”であればステップS41
04へ進んで賞球排出中か否か調べ、賞球排出中なら玉
貸し要求フラグをリセットして処理を終了する(ステッ
プS4118)。また、賞球排出中でなければ次のステ
ップS4106で玉貸し排出中か否か判定し、玉貸し排
出中なら何もせずに処理を終了する。本実施例では、貸
し玉への1回の変換が200円とか300円等の単位に
設定されていたとしても排出ソレノイドに対しては10
0円単位で排出指令を出すようにしていることを考慮し
たためである。
FIG. 14 is a flowchart of the 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.

【0049】上記ステップ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 performed, the flow advances to step S4108 to determine whether the ball lending request signal T is at a low level.
s "If signal is continuously checked whether has become 5m sec low level by (step S4120). noise by ball lending request signal to confirm that the continuously has become 5m seconds low level is determined to have been asserted 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). In step S11 of the main routine of step 12, “Yes” is determined, and the ball lending start processing 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).

【0050】一方、ステップS4102の判定で“Ye
s”であればステップS4112へ進んで玉貸し制御装
置500からの玉貸し要求信号Tがハイレベルか否か判
定する。ここで、玉貸し要求信号Tがロウレベル(Lレ
ベル)であれば、何もせずにそのままこのルーチンを終
了し、玉貸し要求信号Tがハイレベルであれば、ステッ
プS4114へ進み、玉貸し要求信号Tが連続して5m
秒間ハイレベルか否か判定する。そして、玉貸し要求信
号Tが連続して5m秒間ハイレベルであれば、玉貸し要
求信号Tがネゲートされたと判定して連続玉貸しカウン
タをクリアして処理を終了する(ステップS411
6)。一度に500円分を越える変換を回避するためで
ある。
On the other hand, “Ye” is determined in step S4102.
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.

【0051】図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.

【0052】一方、上記ステップ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).

【0053】図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").

【0054】今仮りにパチンコ遊技機の前面枠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.

【0055】そして、次のループが開始されたときに引
き続き枠センサがオンであると、前記ステップ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.

【0056】一方、上記ステップ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.

【0057】そして、次のループが開始されたときに引
き続き枠センサがオフであると、前記ステップS430
0の判定結果が“No”、続くステップS4318の判
定結果が“No”、S4320の判定結果が“Yes”
となってステップS4328が実行される。このステッ
プS4328では、前記ステップS4326で起動させ
た枠開放タイマがタイムアップしたか否か判定され、判
定結果が“No”のときには、続くステップS433
0,S4332をスキップして本ルーチンを終了する。
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 S4318 is “No”, and the determination result of S4320 is “Yes”.
And step S4328 is executed. In this step S4328, it is determined whether or not the time of the frame release timer started in step S4326 has expired.
0, S4332 is skipped, and this routine ends.

【0058】一方、前記ステップS4328の判定結果
が“Yes”のときには、ステップS4330にて枠セ
ンサ開放フラグを“1”に設定すると共に、次のステッ
プS4332にて、枠センサ閉塞フラグをリセット
(“0”に設定)して本ルーチンを終了する。ただし、
ステップS4326で起動する枠開放タイマの設定時間
は上記枠閉塞タイマ(ステップS4310)よりもずっ
と長い1000m秒のような時間が選択されている。図
17は、上記ステップS44にて行なわれる排出センサ
1の入力処理ルーチンのフローチャートである。
On the other hand, if the decision result in the step S4328 is "Yes", the frame sensor opening flag is set to "1" in a step S4330, and the frame sensor closing flag is reset in a next step S4332 ("" (Set to "0"), and this routine ends. However,
As the set time of the frame opening timer started in step S4326, a time such as 1000 ms, which is much longer than that of the frame closing timer (step S4310), is selected. FIG. 17 is a flowchart of the input processing routine of the discharge sensor 1 performed in step S44.

【0059】このルーチンは排出センサ730aの状態
を検出するためのものであり、該センサは内側に賞品球
が存在しているときその出力信号がハイレベルとなり、
賞品球が流出して一時的に又は継続してセンサ内に存在
しなくなったときその出力信号がロウレベルとなるよう
に構成されている。従って本ルーチンではセンサ730
aの出力信号がロウレベルからハイレベルに立ち上がっ
たときに後述の排出センサ1立上フラグを“1”に設定
して賞品球が該センサ内に達したことを記憶するように
なっている。一方、該センサ730a(以下、排出セン
サ1と記す)の出力信号がハイレベルからロウレベルに
立下がったとき後述の排出センサ立下フラグを“1”に
設定して賞品球が該センサ内より脱したことを記憶する
ようになっている。
This routine is for detecting the state of the discharge sensor 730a. When the prize ball is present inside, the output signal of the sensor becomes high level.
The output signal becomes low level when the prize ball flows out and no longer exists in the sensor temporarily or continuously. Therefore, in this routine, the sensor 730 is used.
When the output signal “a” rises from a low level to a 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. On the other hand, when the output signal of the sensor 730a (hereinafter, referred to as the discharge sensor 1) falls from the high level to the low level, a discharge sensor fall flag described later is set to "1", and the prize ball is removed from the inside of the sensor. I remember what I did.

【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”に設定し、続くステップS4
440では、この時点まで“1”に設定されていた排出
1ハイレベルフラグをリセット(“0”に設定)し、本
ルーチンを終了する。
When the processing after step S4432 is performed for the first time, the discharge 1 high level flag is “1”, and all other flags are “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 S4
At 440, 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”. (Step S4446), and sets the discharge 1 low level flag to "1" in order to store that the output signal of the discharge sensor 1 in this loop is low level (step S4448), and terminates this routine.

【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 discharge sensor 1 startup flag is set to "1" to store that there is a prize ball in the discharge sensor 1 (step S4418). 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は割込処理(図20)の前記ステッ
プS46にて行なわれる排出センサ2の入力処理ルーチ
ンのフローチャートである。本ルーチンは排出センサ7
30bの状態を検出するためものであり、上述した排出
センサ1の入力処理ルーチンと同一の手順にて行なわれ
る。尚、本ルーチンでは、上述の排出センサ1の入力処
理と同様、該センサ730b(以下排出センサ2と記
す)の出力信号がロウレベルからハイレベルに立上がっ
たとき排出センサ2立上フラグを“1”に設定して賞品
球が該センサ内に達したことを記憶し、一方、ハイレベ
ルからロウレベルに立下がったとき排出センサ2立下フ
ラグを“1”に設定して賞品球が該センサ内より脱した
ことを記憶するようにしている。
FIG . 18 is a flowchart of the input processing routine of the discharge sensor 2 performed in step S46 of the interrupt processing (FIG. 20). 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
The low 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 a low level state is detected for a predetermined time or more after the output signal of the discharge sensor 2 falls for at least a predetermined time (at least while the main interrupt processing is performed twice). (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 is continuously 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. Changes 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立下フラグは、バ
ックグランド処理(メインルーチン)の中の交互排出処
理、又は併用排出処理(後述の図38、図39)にて用
いられる。
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. 38 and 39 described later).

【0087】図19は割込処理(図13)のステップS
48にて行なわれる排出センサ1のレベル入力処理のル
ーチンを示すフローチャートである。このレベル入力処
理は、排出センサ1の出力信号がハイレベル(センサ1
が賞品球を検知している状態)である期間が所定期間以
上継続しているか否かを判断するためのルーチンであ
り、賞品球が無い状態から有る状態へ変化した後、第1
の所定期間(50msec)が経過したときに排出セン
サ1球有フラグを“1”に設定してこれを記憶してお
き、上記変化の後第2の所定期間(2sec)が経過し
たときに排出1エラー解除フラグを“1”に設定するこ
とによってこれを記憶しておくものである。これら2つ
のフラグは詳細は後述する排出装置不正監視処理(図2
)、賞球開始処理(図29)、玉貸し開始処理(図3
)、排出エラー回復処理(図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)に夫々
設定して、本ルーチンを終了する。
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.

【0089】ここで排出1球有監視フラグ及び排出1エ
ラー監視フラグは共に、排出センサ1の出力信号がハイ
レベルであると判別されたループにおいて、そのループ
がロウレベルからハイレベルへの立上り直後のループで
あるか否かを判別する(後述のステップS7212及び
ステップS7224)ために用いられるものである。そ
の後、前記排出センサ1の出力信号がロウレベルからハ
イレベルに変化すると、その直後のループでは前記ステ
ップS7200の判別結果が“Yes”となり、続くス
テップS7210で排出センサ1球有フラグが“1”で
あるか否かが、更に、続くステップS7212で排出1
球有監視フラグが“1”であるか否かが判別される。こ
の場合、判別結果は共に“No”となり、続くステップ
S7214で排出1球有監視フラグを“1”に設定し、
ステップS7216で排出1球有タイマを第1の所定期
間(50msec)に設定してステップS7222に進
む。
Here, in the loop where the output signal of the discharge sensor 1 is determined to be at the high level, both the discharge 1 ball existence monitoring flag and the discharge 1 error monitoring flag are obtained immediately after the loop rises from the low level to the high level. This is used to determine whether or not the loop is a loop (steps S7212 and S7224 described later). 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 becomes “Yes”, and in the subsequent step S7210, the discharge sensor 1 ball presence flag is set to “1”. It is further determined in step S7212 whether or not discharge 1 exists.
It is determined whether or not the ball presence monitoring flag is “1”. In this case, the determination results are both “No”, and in a succeeding step S7214, the one-ball discharge monitoring flag is set to “1”.
In step S7216, the one-ball discharge timer is set to the first predetermined period (50 msec), and the flow advances 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 timer with the ball set in step S7416 has timed out. When the determination result is" No "(the output signal is high level). 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に電源が
投入され、該ルーチンが開始されると、先ず、ステップ
S5002にて該センサ106の出力信号がハイレベル
(補給センサ出力=“1”)であるか否かが判別され
る。この場合、判別結果は“Yes”となってステップ
S5004に進む。ところでCPU610の初期化直後
はすべてのフラグが“0”に設定されているため、ステ
ップS5004〜S5010の判別結果はすべて“N
o”となり、ステップS5012にて、今回ループで補
給センサの出力信号がハイレベルであったことを記憶す
べく補給Hレベルフラグを“1”に設定して本ルーチン
を終了する。以後のループでは補給Hレベルフラグが
“1”に設定されているので、出力信号がハイレベルの
状態が継続する限りステップS5002,S5004,
S5006,S5008,S5010が繰返し実行され
ることになる。
Suppose that the spare sphere is not filled up to the sensor installation position in the storage tank 151 (insufficient state).
think of. In this state, the power is turned on to the prize ball discharge control device 600, and when this routine is started, first, in step S5002, it is determined whether the output signal of the sensor 106 is at a high level (supply sensor output = "1"). It is determined whether or not it is. In this case, the determination result is “Yes” and the process proceeds to step S5004. By the way, immediately after the initialization of the CPU 610, all the flags are set to “0”, so that the determination results in steps S5004 to S5010 are all “N”.
o ", and in step S5012, the replenishment H level flag is set to" 1 "in order to store that the output signal of the replenishment sensor is at the high level in the current loop, and the routine ends. Since the replenishment H level flag is set to "1", steps S5002, S5004 and S5004 are performed as long as the output signal remains at the high level.
S5006, 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】その後、賞品球の排出によって貯留タンク
151内の補給センサ106の設置位置に満たなくなる
と、補給センサ106の出力信号がハイレベルとなり、
前記ステップS5002の判別結果が“Yes”となっ
てステップS5004以降に進む。ステップS5004
が最初に行なわれるときには、前記補給Lレベルフラグ
は“1”、それ以外のフラグはすべて“0”であるた
め、ステップS5004、次のステップS5006の判
別結果が共に“No”、続くステップS5008が“Y
es”となってステップS5014が実行される。この
ステップS5014では、前回ループから今回ループに
かけて補給センサ106の出力信号がロウレベルからハ
イレベルに変化した(立上った)ことを記憶すべく、補
給立上変化フラグを“1”に設定し、続くステップS5
016では、前回ループまでに前述のステップS505
4で“1”に設定されていた補給Lレベルフラグをリセ
ット(“0”に設定)し、本ルーチンを終了する。
Then, the prize balls are discharged to the storage tank.
When the position of the replenishment sensor 106 is less than the installation position in 151, the output signal of the replenishment sensor 106 becomes high level,
The result of the determination in step S5002 is "Yes", and the flow proceeds to step S5004. Step S5004
Is carried out for the first time, the replenishment L level flag is "1" and the other flags are all "0", so that the determination results in step S5004 and the next step S5006 are both "No", and the following step S5008 is executed. “Y
es ", 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 S5
In step 016, the above-described step S505 is performed before the previous loop.
The supply L level flag that was set to "1" in step 4 is reset (set to "0"), and this routine ends.

【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
内の検出器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 steps S5406 to S5410 described above). It is determined whether or not a predetermined time (2 seconds) 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 subsequent 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”に設
定し(ステップS5808)、更に半端球無タイマを所
定値(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 S5808), 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 seconds) 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 sphere is stored up to the position where the end sensor is installed in the guiding gutter 152, 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). 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 a distance from each other, 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 takes into account the fact that a detection signal will enter. 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 ejection solenoid, a lending ball discharge indicator lamp 113 is set to “1” for a discharge fraud flag indicating that illegal discharge has occurred.
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 turning on the product ball discharge indicator lamp 112 and setting the prize ball sound request flag to "1", the discharge start processing routine shown in FIG. 30 is executed, the process 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での判定の結果、排出レジスタ0の値が
「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 less than "8", the process proceeds to step S112, where the single discharge flag is cleared to "0", and the alternate discharge flag is set. Is set to “1” (step S114), and then step S114
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 0 becomes
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 to be discharged in the discharge process (FIG. 33) performed subsequently to this routine in two modes (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. The value of this discharge weight flag becomes “1” when a predetermined number (prize ball discharge number) of prize balls corresponding to one safe ball has been discharged and a later-described wait timer 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 determination result of step S206 turns to "Yes", the discharge weight flag is set to "1" (step S206).
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). Then, the reading confirmation flag is set to “1”, and the prize ball count data is set to the prize ball discharge counter. And the routine is terminated (steps S214 and S216). The read confirmation flag and the prize ball discharge 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を、また玉貸し排出中なら玉貸し排出表示をそれぞ
れ点滅状態にさせてエラー表示を行なって終了する(ス
テップS244,S246,S248,S250)。図
34は、上述した排出処理(図33)のステップS23
2にて行われる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
In step S244, S246, S248, and S250, when the ball lending is being discharged, the ball lending discharge display is made to blink, and an error is displayed. FIG. 34 shows step S23 of the above-described discharging process (FIG. 33).
3 is a flowchart illustrating a subroutine of a single-piece discharging process performed in Step 2.

【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 of 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". If you
After the discharge solenoid 2 is turned off, the discharge end flag is set to "1" and the routine ends (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 that 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 presence flag set in the odd sensor input processing routine and the overflow ball absence flag set in the overflow detector input processing routine in FIG. 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, so that the interruption of the game of the pachinko game machine due to the failure can be avoided. In this routine, prior to the discharge start processing (step S378), the processing number is checked. When the number is "2", the prize ball discharge display lamp 112 is displayed. When the number is "3", the lending ball is displayed. 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 showing a subroutine of a ball lending discharge 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 flowcharts showing a subroutine of the ball-pulling-out process executed in step S16 of the main routine (FIG. 12) executed by the CPU 610 of the 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
切り換えるべく球抜ソレノイドが励磁(ON)さ
れ、続いて前記球抜開始フラグが“1”に設定される
(ステップS614)。続くステップS616では上記
ステップS602〜S614の実行中に球抜フラグが再
び“1”に設定されたか否か、即ち再度球抜スイッチが
押されたか否か(2度押されたか否か)が判定される。
この判定結果が“Yes”のときにはステップS692
〜S698を実行した後、球抜処理を強制的に終了させ
るべくステップ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, it is determined whether or not the throw-out flag is set to "1" again during the execution of the above-described steps S602 to S614, that is, whether or not the throw-out switch has been pressed again (whether or not the push-out switch has been pressed twice). Is done.
If the result of this determination is “Yes”, step S692
After executing steps S698 to S698, the process proceeds to the forced ending process in step S700 and thereafter in order to forcibly end the ball removing 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, when the result of this determination is "No", it is determined whether or not the ball start 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 processing 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内)に賞品球がなくなると、ステップS
632の判定結果が“Yes”に転じ、上記排出1球無
フラグが“1”に設定され(ステップS634)、次い
でセンサ1内に賞品球がなくなった時点からの時間経過
を計測する排出1球無タイマがセットされて(ステップ
S636)ステップS646以降に進む。その以降のル
ープでは前記ステップS630の判定結果は“Yes”
に転じ、ステップS638にて再度排出センサ1の出力
レベルがロウレベル(“0”)であるか否かが判定され
る。
[0186] From this state, the first guidance is performed by the ball removal processing.
When there is no prize ball in the gutter (in the sensor 1), step S
The determination result of step 632 changes to “Yes”, the above-described one-ball-discharge-no-ball flag is set to “1” (step S634), and then the one-ball discharge which measures the time elapsed from the time when there is no prize ball in the sensor 1 The no-timer is set (step S636), and the process proceeds to step S646 and subsequent steps. In the subsequent loop, the determination result of step S630 is “Yes”
Then, 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, the determination results in steps S630 and S638 are both "Ye" until the predetermined time elapses.
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.
Then, the discharge 1 end flag is forcibly set to "1" (step S708), and the process proceeds to step S710. On the other hand, if "No", the steps S706 and S708 are skipped. Step S
Proceed to 710.

【0200】ステップS710では排出2終了フラグが
“1”であるか否かが判定される。このステップS71
0の判定結果が“No”、即ち球抜処理が完了する前
(前記フラグはその値が“1”のとき球排出装置170
の第2排出ソレノイド側の球抜が完了したことを表わ
す)に強制終了処理が開始されたときには、更にステッ
プS712にて排出センサ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
0 of determination result is "No", i.e. before the Tama抜process is completed (the flag is spherical discharge device when the value is "1" 170
(Indicating that the ball ejection on the second discharge solenoid side has been completed) is started), it is further determined in step S712 whether or not the discharge sensor 2 startup 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 discharge 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 has not elapsed, the routine is terminated. If the time has elapsed, the award ball count signal I is negated to a high level in step S932, and the value of the award ball discharge counter is decremented by "10" (timer The value of the counter is also updated during the operation of 1 and cannot be cleared to "0".) Also, the prize ball transmission prohibition flag is set to "1", the prize ball timer 2 is started, and this routine is executed. The process ends (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 this 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でアウト数信号Lがネゲ
ートされたときに所定時間該信号の送信を禁止させるた
めにセットされるフラグである。
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 L for a predetermined time when the out number signal L 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パルス出力さ
せるためである。それから、再び本ルーチンが開始され
たときに、ステップS960まで来ると“Yes”すな
わちアウト数信号Lがロウレベルであると判定され、ス
テップS970へ移行して上記ステップS968でセッ
トしたアウトタイマ1がタイムアップしたか否か判定す
る。そして、タイムアップしていなければそのままルー
チンを終了し、タイムアップしていればステップS97
2でアウト数信号Lをハイレベルにネゲートしてから、
アウトカウンタの値を「10」だけ減算し(タイマ1の
動作中にもカウンタの値は更新されるため“0”にクリ
アすることはできない)、またアウト送信禁止フラグを
“1”にセットし、アウトタイマ2を起動して本ルーチ
ンを終了する(ステップS974,S976,S97
8)。
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. 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 1 set in step S968. It is determined whether or not it is up. If the time is not up, the routine is terminated as it is, and if the time is up, step S97
After negating the out-number signal L to a high level at 2,
The value of the out counter is decremented by "10" (the value of the counter is updated even during the operation of the timer 1 and cannot be cleared to "0"), and the out transmission inhibit flag is set to "1". , The out timer 2 is activated, and this routine is terminated (steps S974, S976, S97)
8).

【0226】このようにして、アウト送信禁止フラグが
“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.

【0227】このルーチンが開始されると、まずステッ
プ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. 3)
7) is executed, and the error information of this routine is output. On the other hand, the above-mentioned discharge improper flag is set in step S1114 by detecting the input of the discharge sensor even though the discharge solenoid is in the off state by the above-described discharge device improper monitoring process routine (FIG. 27). It is.

【0228】上記ステップ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.

【0229】ステップ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 proceeds to step S13, the power failure recovery process is not immediately executed, but the process number is temporarily set to "5", 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).

【0230】一方、すべてのフラグが“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 and the interrupted state are set. The saved 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).

【0231】それから、中断された排出が玉貸し排出で
あったか否か判定する(ステップS1028)。そし
て、“Yes”ならステップS1030以降の継続玉貸
し排出を行ない、“No”すなわち中断された排出が
球排出であった場合には、ステップS1042以降の継
続賞球排出を行なう。これによって、停電発生時に2つ
の排出系のうちいずれか一方に未排出の玉数が残ってい
た場合にも、未排出の玉数が改めて排出レジスタ0に設
定されて再度排出が開始されるようになるため、停電回
復後に速やかに未排出の玉を排出させることができる。
なお、上記ステップS1018で排出レジスタ1の値が
「1」以下のときはステップS1022で排出レジスタ
2の値を排出レジスタ0に設定しているのは、排出レジ
スタの値が「1」ということは排出終了を意味してお
り、排出レジスタ2に未排出の玉数が残っていると推定
できるからである。同様に、ステップS1020で排出
レジスタ2の値が「1」以下のときはステップS102
4で排出レジスタ1の値を排出レジスタ0に設定してい
るのは、排出レジスタ1に未排出の玉数が残っていると
推定できるからである。
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.
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. This means that the value of the discharge register is "1". This means that the discharge has ended, and it can be estimated that the number of undischarged balls remains in the discharge register 2. Similarly, if the value of the discharge register 2 is equal to or less than “1” in step S1020, step S102
The reason why the value of the discharge register 1 is set in the discharge register 0 in step 4 is that it can be estimated that the number of undischarged balls remains in the discharge register 1.

【0232】上記継続玉貸し排出では、まず玉貸し音要
求フラグおよびP台レディフラグを“1”にセット(ス
テップS1030,S1032)して、貸し玉排出表示
ランプ113を点灯(ステップS1034)させてか
ら、図30に示されている排出開始処理と同一のルーチ
ンを実行して球排出装置170による排出を開始させる
(ステップS1036)。それから、玉貸し排出中であ
ったことの記憶を消去し、処理ナンバーを“3”に設定
(ステップS1038,S1040)した後、ステップ
S1050へ移行して停電フラグを“0”にクリアして
本ルーチンを終了する。処理ナンバーを“3”に設定す
るのは、上記ステップS1036で開始させた貸し玉排
出をメインルーチンの玉貸し排出処理S17で終了させ
るためである。
In the continuous ball lending discharge, first, 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 process 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.

【0233】一方、ステップS1042以降の継続賞球
排出では、賞球排出表示ランプ112を点灯させてか
ら、図30に示されている排出開始処理と同一のルーチ
ンを実行して球排出装置170による排出を開始させる
(ステップS1044)。それから、賞球排出中であっ
たことの記憶を消去し、処理ナンバーを“2”に設定
(ステップS1046,S1048)した後、ステップ
S1050へ移行して停電フラグを“0”にクリアして
本ルーチンを終了する。処理ナンバーを“2”に設定す
るのは、上記ステップS1044で開始させた賞球排出
をメインルーチンの賞球排出処理S18で終了させるた
めである。次に、カードリーダ250に対する制御信号
や残高表示器122の駆動信号およびパチンコ遊技機に
設けられた玉貸し変換ボタン123からの信号によって
上記排出制御装置600に対する玉貸し要求信号等を形
成して出力する上記玉貸し制御装置500の制御手順を
図51ないし図62を参照して詳細に説明する。
On the other hand, in the continuous prize ball discharge after step S1042, the prize ball discharge display lamp 112 is turned on, and then 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. Then, ball lending request signal for the control signal and the balance display 122 ball lending conversion button 123 thus <br/> the discharge control device 600 on the signal from that provided in the drive signal and the pachinko machines for the card reader 250 or the like The control procedure of the ball lending control device 500 for forming and outputting the above will be described in detail with reference to FIGS. 51 to 62.

【0234】図51には、上記玉貸し制御装置のメイン
ルーチンの概略が示されている。このメインルーチン
は、玉貸し制御装置500の電源が投入されると繰返し
実行される。電源が立上がると、先ず、RAMのクリア
やフラグの設定、出力バッファのリセット等の初期設定
を行なう(ステップS8002)。次のステップS80
04では玉貸し可能表示器126を一旦消灯状態にさ
せ、残高表示器122には残高ゼロ(3桁表示の場合に
は“000”)の表示を行なわせる駆動信号を形成し出
力する(ステップS8006)。それから、次のステッ
プへ進み、玉貸し処理(ステップS8008)、ファン
クション送受信処理(ステップS8012)および決済
信号出力処理(ステップS8014)の3つの処理を、
互いに並行して同時進行的に行なう。
FIG. 51 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). Next step S80
In step 04, the ball lending possible display 126 is temporarily turned off, and a drive signal for displaying the balance zero ("000" in the case of three-digit display) is formed and output on the balance display 122 (step S8006). ). Then, the process proceeds to the next step, in which three processes of a ball lending process (step S8008), a function transmission / reception process (step S8012), and a settlement signal output process (step S8014) are performed.
It is performed simultaneously and concurrently.

【0235】図52および図53には、上記メインルー
チン(図51)のステップS8008で実行される玉貸
し処理の具体的手順の一例が示されている。この処理が
開始されると、まず排出制御装置600から送られてく
る玉貸イネーブル信号Uを調べて信号が立ち下がったか
否か判定する(ステップS8102)。そして、“N
o”すなわち玉貸イネーブル信号Uが立ち下がっていな
いときはステップS8104へ進んで、玉貸イネーブル
信号Uを調べて信号が立ち上がったか否か判定する。玉
貸イネーブル信号Uは玉貸し制御装置500から排出制
御装置600に対して玉貸要求信号T(ロウレベル)を
送ったことに対する応答として、また排出制御装置60
0が貯留タンク151内の玉不足または遊技盤の打止め
状態が解除されたのを検知した場合に、ロウレベルに変
化される信号であり、システムの電源が投入され排出制
御装置600の制御が開始されるときには、玉貸イネー
ブル信号Uがハイレベル状態にされる。そのため、玉貸
し制御装置500がステップS8104でこの信号の立
下がりを検知して“Yes”と判定すると、ステップS
8106へ移行してカードリーダ制御装置250に対す
るカード受付可能を知らせるファンクションコードの送
信予約をした後、ステップS8102へ戻る。
FIGS. 52 and 53 show an example of a specific procedure of the ball lending process executed in step S8008 of the main routine (FIG. 51). 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 S8102). And "N
o ", that is, when the ball lending enable signal U has not fallen, the process proceeds to step S8104, and the ball lending enable signal U is examined to determine whether the signal has risen. In response to sending the ball lending request signal T (low level) to the emission control device 600,
0 is a signal that changes to a low level when it is detected that the shortage of balls in the storage tank 151 or the hitting state of the game board has been released, the system is turned on, and the control of the discharge control device 600 starts. When this is done, the ball lending enable signal U is set to the high level state. Therefore, if the ball lending control device 500 detects the falling of this signal in step S8104 and determines “Yes”, the process proceeds to step S8104.
The flow shifts to 8106, where a function code for notifying the card reader controller 250 that the card can be accepted is reserved for transmission, and the flow returns to step S8102.

【0236】次に、再びステップS8102−S810
4と進んでステップS8104で“No”と判定する
と、ステップS8108へ進み玉貸し可能表示器126
が点灯しているか調べる。この玉貸し可能表示器126
は、後述のファンクション送受信処理(図55,56)
において、カードリーダ制御装置250からカード金額
を受信したときに点灯されるランプである。従って、カ
ードリーダにカードが挿入される前は、ステップS81
08での判定は“No”となってステップS8102へ
戻って上記ステップを繰り返す。そして、カードリーダ
にカードが挿入され、カードリーダ制御装置250から
カード金額が送信されて玉貸し可能表示器126が点灯
されると、ステップS8108での判定が“Yes”と
なってステップS8110へ進む。ステップS8110
では、上記玉貸イネーブル信号Uがハイレベルであるか
確認して“Yes”なら次のステップS8112へ移行
し、“No”ならステップS8102へ戻る。上述した
ように、玉貸イネーブル信号Uは玉貸し制御装置500
から排出制御装置600に対して玉貸要求信号Tを送っ
たことに対する応答としてロウレベルに変化される信号
であり、玉貸イネーブル信号Uがロウレベルであるのは
既に玉貸し排出処理が開始されていると考えられるから
である。
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. 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 indicator 126 is turned on, the determination in step S8108 becomes "Yes" and the flow proceeds to step S8110. . Step S8110
Then, it is confirmed whether the ball lending enable signal U is at a high level, and if "Yes", the flow shifts to the next step S8112, and if "No", the flow returns to step S8102. As described above, the ball lending enable signal U is output from the ball lending control device 500.
Is a signal that is changed to a low level in response to sending the ball lending request signal T to the discharge control device 600 from the above, and the ball lending enable signal U is at a low level when the ball lending discharge processing has already been started. It is considered that.

【0237】一方、ステップS8102で玉貸イネーブ
ル信号Uの立下がりを検出すると、ステップS8103
へ移行して玉貸可能表示器126が点灯中か調べる。そ
して、点灯していればステップS8105へ進み、玉貸
可能表示器126を消灯させ磁気書込ファンクション送
信予約(ステップS8107)を行なってから、またス
テップS8103の判定で“No”の時はそのままステ
ップS8109へ進んで、カード受付不能を示す受付不
可ファンクションの送信予約を行なってステップS81
02へ戻る。排出制御装置600が貯留タンク151内
の玉不足または遊技盤の打止め状態が解除されたのを検
知した場合にも、玉貸イネーブル信号Uがロウレベルに
立ち下がるためである。上記ステップS8110で“Y
es”すなわち玉貸イネーブル信号Uがハイレベルであ
ると確認すると、ステップS8112へ進み、残高記憶
手段542内のカード残高を調べて残高がゼロか否か判
定する。ここで、“Yes”なら何もせずにステップS
8102へ戻り、“No”すなわち残高がゼロでないと
きはステップS8116ないしS8122で玉貸数設定
スイッチ521a−521dのいずれがオンされている
か調べる。そして、いずれのスイッチもオンされていな
いときにはステップS8102へ戻って上記ステップを
繰り返す。通常は必ずいずれかひとつのスイッチがオン
されている状態で電源が投入される。
On the other hand, if the fall of the ball lending enable signal U is detected in step S8102, 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. In step S8110, “Y
es ", that is, when it is confirmed that the ball lending enable signal U is at the high level, the flow advances to step S8112 to check the card balance in the balance storage means 542 to determine whether or not the balance is zero. Step S without doing
Returning to step 8102, if "No", that is, if the balance is not zero, it is checked in steps S8116 to S8122 which of the ball lending number setting switches 521a to 521d is turned on. If none of the switches is turned on, the process returns to step S8102 to repeat the above steps. Usually, the power is turned on while any one of the switches is turned on.

【0238】そして、ステップS8116で500円分
の玉貸数設定スイッチがオンされていると判定したとき
はステップS8124へ移行して、設定金額とカードの
残金とを比較して、カードの金額の方が多いか否か判定
する。そして、カードの金額の方が多いときにのみ、ス
テップS8130へ移行して払出回数レジスタを「5」
にセットし、カードの金額の方が少ないときにはステッ
プS8125へ進んで、カード残金が400円以上ある
か否か判定して“Yes”なら払出回数レジスタの値を
「4」にセットする(ステップS8131)。また、ス
テップS8125で“No”すなわちカード残金が40
0円未満であると判定されるかステップS8118で3
00円分の玉貸数設定スイッチがオンされていると判定
されると、ステップS8126へ移行してカードの残金
が300円以上か判定し、“Yes”ならステップS8
132へ移行して払出回数レジスタを「3」にセットす
る。さらに、ステップS8126で“No”すなわちカ
ード残金が300円未満であると判定されるかステップ
S8120で200円分の玉貸数設定スイッチがオンさ
れていると判定されると、ステップS8128へ移行し
てカードの残金が200円以上か判定し、“Yes”な
らステップS8134へ移行して払出回数レジスタを
「2」にセットする。同様にして、ステップS8128
で“No”すなわちカード残金が200円未満であると
判定されるかステップS8122で100円分の玉貸数
設定スイッチがオンされていると判定されると、ステッ
プS8136へ移行して払出回数レジスタを「1」にセ
ットする。
If it is determined in step S8116 that the switch for setting the number of lending balls for 500 yen has been turned on, the flow shifts to step S8124 to compare the set amount with the balance of the card, and It is determined whether there is more. Only when the amount of money on the card is larger, the flow shifts to step S8130 to set the payout number register to "5".
If the amount of the card is smaller, the flow advances to step S8125 to determine whether or not the balance of the card is 400 yen or more, and if "Yes", the value of the number-of-payouts register is set to "4" (step S8131). ). In step S8125, “No”, that is, the card balance is 40
It is determined whether it is less than 0 yen or 3 in step S8118.
If it is determined that the switch for setting the number of balls to be lent for 00 yen has been turned on, the flow shifts to step S8126 to determine whether or not the balance of the card is 300 yen or more.
The process proceeds to 132, where the number-of-payouts register is set to "3". Further, if “No” is determined in step S8126, that is, it is determined that the card balance is less than 300 yen, or if it is determined in step S8120 that the ball lending number setting switch for 200 yen is turned on, the process proceeds to step S8128. Then, it is determined whether or not the balance of the card is 200 yen or more. Similarly, step S8128
If "No" is determined in step S8122, that is, if the card balance is less than 200 yen or if the switch for setting the lending amount for 100 yen is turned on in step S8122, the flow advances to step S8136 to set the payout number register. Is set to “1”.

【0239】これによって、玉貸し制御装置500の玉
貸排出回数が「2」(200円分)以上に設定されてい
てカードリーダに挿入されたカードの残高がその設定金
額以下であった場合にも、カードの残金をすべて貸し玉
に変換させることができ、カードに端数が残ったまま使
用できなくなるのを防止することができる。上記ステッ
プS8130ないしS8136で払出回数をセットした
後は、図53のステップS8142へ移行する。図53
のステップS8142へ移行した場合には、排出制御装
置600に対する玉貸要求信号Tをロウレベルにアサー
トしてから、玉貸イネーブル信号Uの応答待ちのPRQ
タイマ(3m秒)をセットする(ステップS814
4)。それから、排出制御装置600からの玉貸イネー
ブル信号Uが立ち下がったか判定し、“No”なら上記
タイマがタイムアップしたか否か判定する(ステップS
8146,S8148)。ここで、PRQタイマがタイ
ムアップする前に玉貸イネーブル信号Uが立ち下がる
と、玉貸し処理を保留すべくステップS8192へジャ
ンプして磁気書込ファンクションと受付不可ファンクシ
ョンの送信予約(ステップSS8194)をしてから、
ステップS8140でセットした玉貸中フラグを“0”
にクリア(ステップS8188)し、最初のステップS
8102へ戻る。排出制御装置600では、玉貸要求信
号Tが入ってから5m秒後に玉貸イネーブル信号Uをロ
ウレベルにアサートするようにしているので、3m秒以
内に玉貸イネーブル信号Uがロウレベルに立ち下がるの
は、排出制御装置600が貯留タンク151内の玉不足
または遊技盤の打止め状態が解除されたのを検知した場
合であると考えられるためである。上記送信予約により
図54のファンクション送受信処理が実行される。ただ
し、この場合、磁気書込ファンクションコードとともに
カードリーダに送られるカード残高データは読み込んだ
ときのデータと同一である。
Thus, when the ball lending discharge number of the ball lending control device 500 is set to “2” (for 200 yen) or more and the balance of the card inserted into the card reader is less than the set amount. In addition, the remaining balance of the card can be converted into a lending ball, and it is possible to prevent the card from becoming unusable with a fraction remaining. After the number of payouts is set in steps S8130 to S8136, the flow shifts to step S8142 in FIG. FIG.
In step S8142, after the ball lending request signal T to the emission control device 600 is asserted to a low level, the PRQ waiting for a response from the ball lending enable signal U
Set the timer (3 ms) (step S814)
4). Then, it is determined whether the ball lending enable signal U from the discharge control device 600 has fallen, and if “No”, it is determined whether the timer has timed out (step S).
8146, S8148). If the ball lending enable signal U falls before the PRQ timer times out, the process jumps to step S8192 to suspend the ball lending process, and reserves the transmission of the magnetic writing function and the unacceptable function (step SS8194). after,
The ball lending flag set in step S8140 is set to “0”
Is cleared (step S8188), and the first step S
Return to 8102. 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 the ball lending enable signal U falls to a low level within 3 msec. This is because it is considered that this is the case where 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. 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.

【0240】一方、ステップ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.

【0241】ステップS8154でPRQタイマがタイ
ムアップする前に玉貸イネーブル信号Uがロウレベルに
なったと判定すると、ステップS8158へ進んで排出
タイマ(3秒)をセットする。それから、上記タイマが
タイムアップしたか判定し(ステップS8160)、
“No”ならステップS8166へ移行して払出完了信
号Vが立ち上がったか否か判定する(ステップS816
6)。払出完了信号Vが立ち上がる前に上記排出タイマ
がタイムアップすると、ステップS8196へジャンプ
して磁気書込ファンクションと受付不可ファンクション
の送信予約(ステップS8198)をしてから、ステッ
プS8140でセットした玉貸中フラグを“0”にクリ
ア(ステップS8188)し、最初のステップS810
2へ戻る。通常3秒あれば排出は終了するので、3秒経
過しても払出完了信号Vが立ち上がらないのは、排出装
置の側に異常があると考えられるためである。
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”, the flow shifts to step S8166 to determine whether or not the payout completion signal V has risen (step S816).
6). If the discharge timer times out before the payout completion signal V rises, the flow jumps to step S8196 to make a transmission reservation of the magnetic writing function and the unacceptable function (step S8198), and then lend the ball set in step S8140. The flag is cleared to "0" (step S8188), and the first step S810
Return to 2. 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.

【0242】上記排出タイマがタイムアップする前に払
出完了信号Vが立ち上がると、ステップS8168へ進
み、カード残高(度数)および払出回数を「1」だけ減
らし、カード管理装置800に対する決済信号j(パル
ス)の出力カウンタを「1」だけ増加させる(ステップ
S8170,S8172)。それから、ステップS81
74へ進んで払出回数が「0」になったか否か判定し、
“No”なら上記ステップS8158へ戻って上記手順
を繰り返し、“Yes”すなわち払出回数が「0」のと
きはステップS8176へ移行する。ステップS817
6では玉貸要求信号Tをハイレベルにネゲートしてか
ら、次のステップでPRQタイマを3秒にセットする
(ステップS8178)。
If the payout completion signal V rises before the expiration timer expires, the flow advances to step S8168 to reduce the card balance (frequency) and the number of payouts by "1", and to settle the settlement signal j (pulse) ) Is increased by "1" (steps S8170 and S8172). Then, step S81
Proceeding to 74, it is determined whether or not the number of payouts is “0”,
If “No”, the process returns to the step S8158 and repeats the above procedure. If “Yes”, that is, the number of payouts is “0”, the process shifts to the step S8176. Step S817
In step 6, the ball lending request signal T is negated to the high level, and the PRQ timer is set to 3 seconds in the next step (step S8178).

【0243】それから、上記タイマがタイムアップした
か判定し、“No”なら上記玉貸イネーブル信号Uがハ
イレベルになっているか否か判定する(ステップS81
80,S8182)。ここで、玉貸イネーブル信号Uが
ロウレベルになる前にPRQタイマがタイムアップする
と、ステップS8196へジャンプして磁気書込ファン
クションとカード排出ファンクションの送信予約(ステ
ップS8198)をして、最初のステップS8102へ
戻る。玉貸要求信号Tを立ち上げてから3秒以上経過し
ても玉貸イネーブル信号Uがハイレベルにならないの
は、排出装置の側に異常があると考えられるためであ
る。ステップS8182でPRQタイマがタイムアップ
する前に玉貸イネーブル信号Uがハイレベルになったと
判定した場合にもステップS8196へ移行して磁気書
込ファンクションとカード排出ファンクションの送信予
約(ステップS8198)をしてから、最初のステップ
S8102へ戻る。なお、磁気書込ファンクションの送
信予約の際には、送信バッファ内に書込みファンクショ
ンコードとともにカード残高データをテキストとして入
れておく。これによって、玉貸処理が終了すると変換金
額分が差し引かれたカード残高がカードに書き込まれて
からカードリーダよりカードが排出されるようになる。
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 make a transmission reservation of the magnetic writing function and the card ejection function (step S8198), and the first step S8102 Return to The reason why the ball lending enable signal U does not become high even after 3 seconds or more have elapsed since the ball lending request signal T is activated is because it is considered that there is an abnormality in the discharging device. If it is determined in step S8182 that the ball lending enable signal U has become high before the PRQ timer times out, the flow shifts to step S8196 to reserve transmission of the magnetic writing function and the card ejection function (step S8198). Then, the process returns to the first step S8102. When the transmission of the magnetic writing function is reserved, the card balance data is written in the transmission buffer as text along with the write function code. Thus, when the ball lending process is completed, the card balance from which the converted amount has been deducted is written on the card, and then the card is discharged from the card reader.

【0244】図54および図55には、上記メインルー
チン(図51)のステップS8012で実行されるカー
ドリーダ制御装置250との間のファンクション送受信
処理の具体的手順の一例が示されている。なお、送受信
されるファンクションは、ファンクションコードの先頭
にSTXコードがまた終端にETXコードが付加された
データ形式で送信される。ファンクションコード以外に
も送受信される信号として、ENQコード(送信の問合
せ)とACKコード(肯定応答)とがあるが、これらは
先頭のSTXコードも終端のETXコードも付加せずに
コード単独で送信される。このファンクション送受信処
理が開始されると、まずステップS8300で上記玉貸
処理(図52,53)によるファンクション送信予約の
設定がなされているか否か判定する。そして、送信予約
がなければステップS8350へ移行して、後述の受信
割込み処理(図59)で設定されるENQ受信フラグを
調べて、カードリーダ制御装置250からENQ(問合
せコード)が入ってきているか判定する。
FIGS. 54 and 55 show an example of a specific procedure of a function transmission / reception process with the card reader control device 250 executed in step S8012 of the main routine (FIG. 51). The transmitted and received functions are transmitted in a data format in which an STX code is added to the beginning of the function code and an ETX code is added to the end. In addition to the function code, there are ENQ code (transmission inquiry) and ACK code (acknowledgement) as signals to be transmitted and received, but these are transmitted alone without adding the first STX code and the last ETX code. Is done. When this function transmission / reception processing is started, first, in step S8300, a function transmission reservation is made by the ball lending processing (FIGS. 52 and 53).
It is determined whether the setting has 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. 59) described later, and whether an ENQ (inquiry code) has been input from the card reader control device 250. judge.

【0245】上記ステップS8300で“送信予約有”
と判定すると、ステップS8302へ移行して、再送信
回数を3回にセットしてからENQコードを送信バッフ
ァに書き込む(ステップS8304)。この送信バッフ
ァへの書込みによって送信割込みが発生して後述の送信
割込み処理が開始される。それから、ステップS830
6で応答タイマを10秒にセットした後、ステップS9
308でこの応答タイマがタイムアップしたか判定し、
“No”のときは受信割込み処理(図59)でセットさ
れるACK受信フラグをみてACK(応答コード)を受
信したか判定する(ステップS8310)。そして、A
CKを受信する前に応答タイマがタイムアップしたとき
は、ステップS8312へ移行してステップS8302
でセットした再送信回数を「1」だけ減算してから、再
送信回数が「0」になったか否か判定し(ステップS8
314)、「0」でないときは上記ステップS8304
へ戻ってENQコードの再送信を行なう。
At 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. 59) (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.

【0246】一方、応答タイマがタイムアップする前に
ACKを受信したときは、ステップS8316へ進んで
ACK受信フラグを“0”にクリアし、かつ送信データ
の先頭を示すSTXコードを送信バッファに書き込む。
それから、ステップS8318で応答タイマを10秒に
セットした後、ステップS8320でこの応答タイマが
タイムアップしたか判定し、“No”のときは受信割込
み処理(図59)でセットされる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. 59) 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.

【0247】ステップS8324でACKを送信した後
は、再び応答タイマを10秒にセット(ステップS83
26)した後、ステップS8328でこの応答タイマが
タイムアップしたか判定し、“No”のときは受信割込
み処理(図59)でセットされるFNC受信フラグをみ
て受信結果の内容を示すファンクションを受信したか判
定する(ステップS8330)。そして、ファンクショ
ンを受信する前に応答タイマがタイムアップしたとき
は、ACK送信に対する応答がなかったことになるの
で、通信異常があったと判定してステップS8340へ
移行して通信異常を示すエラーコードを表示データバッ
ファへ書き込んで、ステップS8344でそのコードを
残高表示器122に表示させて制御動作を停止する。応
答タイマがタイムアップする前にファンクションを受信
したときは、ステップS8332へ進んでFNC受信フ
ラグを“0”にクリアした後、受信したファンクション
の内容が、「再送要求」か、「異常終了」か、「正常終
了」かを判定する(ステップS8334,S8336,
S8338)。このうち異常終了は、通信そのものには
異常はなかったがカードリーダにおける書込み不良等の
異常があった場合に送られてくる。
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 , and 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. 59). 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. If the function is received before the response timer expires, the flow advances to step S8332 to clear the FNC reception flag to "0". Then, the content of the received function is "retransmission request" or "abnormal termination". , Is determined to be “normal end” (steps S8334, S8336,
S8338). Abnormal termination is sent when there is no abnormality in the communication itself but there is an abnormality such as writing failure in the card reader.

【0248】そこで、受信したファンクションが再送要
求であったときは上記ステップ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.

【0249】一方、ステップS8300で“送信予約な
し”と判定すると、図56のステップS8350へ移行
して、受信割込み処理(図59)でセットされるENQ
受信フラグをみて、カードリーダ制御装置250からの
ENQを受信したか判定する。そして、ENQを受信し
ていればステップS8352へ移行してENQ受信フラ
グをクリアしかつACKコードを送信バッファに書き込
んでから、応答タイマを10秒にセットする(ステップ
S8354)。この送信バッファへの書込みによって送
信割込みが発生して後述の送信割込み処理が開始され、
カードリーダ制御装置250へACKが送信される。そ
こで、ステップS8356でこの応答タイマがタイムア
ップしたか判定し、“No”のときは受信割込み処理
(図59)でセットされる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 processing (FIG. 59).
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, it is determined in step S8356 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. 59). (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.

【0250】応答タイマがタイムアップする前にファン
クションを受信したときは、ステップS8360へ進ん
でFNC受信フラグを“0”にクリアした後、受信した
ファンクションとともに受信したカード残高が“0”か
否かを判定する(ステップS8362)。そして、判定
結果が“Yes”すなわちカード残高が「0」なら何も
せずにステップS8300へ戻って上記ルーチンを繰り
返す。一方、ステップS8362の判定結果が“No”
のときは、ステップS8364へ進んで玉貸可能表示器
126を点灯させ、受信バッファの内容(残高データ)
をカード残高記憶部へ書き込んで受信処理を終了する。
図56には、上記メインルーチン(図51)のステップ
S8014で実行される決済信号出力処理の具体的手順
の一例が示されている。
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 card balance received 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.
FIG. 56 shows an example of a specific procedure of the settlement signal output process executed in step S8014 of the main routine (FIG. 51).

【0251】この処理が開始されると、まず図53の玉
貸処理中のステップS8172でカウントアップする決
済信号数カウンタを調べて決済信号数が“0”か否か判
定する(ステップS8402)。ここで“No”すなわ
ち決済信号数が1以上であると判定すると、ステップS
8404へ進んでオン時間タイマを200m秒に設定
し、決済信号jをハイレベルにアサートしてから、その
タイマがタイムアップするのを待つ(ステップS840
6,S8408)。それから、ステップS8410へ移
行してオフ時間タイマを200m秒に設定し、決済信号
jをロウレベルにネゲートしてから、そのタイマがタイ
ムアップするのを待つ(ステップS8412,S841
4)。その後、ステップS8416で上記決済信号数カ
ウンタを「1」だけ減らしてステップS8402へ戻
り、決済信号数カウンタが「0」になるまで、決済信号
パルスを出力させる。これによって、パルス幅200m
秒の決済信号jが出力される。また、パルスを「2」以
上出力させる場合にも、パルスとパルスの間隔が200
m秒に設定され、これを受信するカード管理装置800
が確実に決済信号パルスを計数することができる。
When this process is started, first, the number of payment signals is counted up in step S8172 in the ball lending process in FIG. 53, and it is determined whether or not the number of payment signals is “0” (step S8402). If "No", that is, if it is determined that the number of payment signals is one or more, step S
Proceeding to 8404, the on-time timer is set to 200 ms, the settlement signal j is asserted to a high level, and then the timer is awaited ( step S840).
6, S8408 ). Then, the process proceeds to step S8410 to set the off-time timer to 200 ms, negate the settlement signal j to low level, and waits for the timer to expire (steps S8412 and S841).
4). After that, in step S8416, the settlement signal number counter is decremented by "1" and the process returns to step S8402, and settlement signal pulses are output until the settlement signal number counter becomes "0". Thus, the pulse width is 200 m
A second settlement signal j is output. Also, when outputting a pulse of “2” or more, the interval between pulses is 200 times.
The card management device 800 is set to m seconds and receives this.
Can reliably count the settlement signal pulses.

【0252】図57には、上記メインルーチン(図5
1)とは別個に玉貸制御装置500がタイマ割込みによ
り、例えば1m秒ごとに実行するタイマ割込み処理の具
体的手順の一例が示されている。このタイマ割込み処理
では、カード残高記憶部から残高データを読み出して残
高表示器122の表示信号を形成して出力し、カード残
高を表示させ(ステップS8502)、上記メインルー
チン中で使用されている各タイマを「−1」して終了す
る(ステップS8504)。図58および図59には、
上記メインルーチン(図51)とは別個に玉貸制御装置
500によって実行される送信割込み処理および受信割
込み処理の具体的手順の一例が示されている。
FIG. 57 shows the main routine (FIG. 5).
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 msec separately from 1) is shown. In this timer interrupt processing, the balance data is read from the card balance storage unit, a display signal of the balance display unit 122 is formed and output, and the card balance is displayed (step S8502). The timer is set to "-1" and the process ends (step S8504). 58 and 59,
An example of a specific procedure of a transmission interruption process and a reception interruption process executed by the ball lending control device 500 separately from the main routine (FIG. 51) is shown.

【0253】このうち、送信割込みは、上記メインルー
チンの玉貸処理(図53参照)やファンクション送受信
処理(図55参照)中において、送信バッファにENQ
コード,STXコードまたはACKコードを書き込むこ
とによって発生されるようになっている。この送信割込
みが開始されると、ステップS8602,S8604,
S8606で、送信バッファに書き込まれたコードがい
ずれのコードか判定する。ここで、送信バッファに書き
込まれたコードがENQ,ACKまたはETX(テキス
トデータの終端を示すコード)のいずれかであればステ
ップS8612へ移行して送信バッファ内のコードを送
信して割込みを終了する。一方、上記判定ですべて“N
o”となると送信バッファに入っているコードはSTX
コード、ファンクションコードまたはテキストデータで
あり、これらは続きのコードがある。そこで、その場合
にはステップS8608へ進んでそのコードを送信して
から、送信バッファのアドレスをインクリメントして次
のバッファに入っているコードを送信して終了する(ス
テップS8610,S8612)。
Of these, the transmission interrupt is transmitted to the transmission buffer during the ball lending process (see FIG. 53) and the function transmission / reception process (see FIG. 55) of the main routine.
It is generated by writing a code, an STX code or an ACK code. When this transmission interrupt is started, steps S8602, S8604,
In step 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 text data), the flow shifts to step S8612 to transmit the code in the transmission buffer and terminate the interrupt. . On the other hand, all of the above determinations indicate “N
o ”, the code in the transmission buffer is STX
Codes, function codes, or text data, which have 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 in the next buffer, and ends (steps S8610 and S8612).

【0254】図59の受信割込みは、カードリーダ制御
装置250からの送信が入ってくることによって発生す
る。この受信割込みが開始されると、ステップS865
2,S8654で受信したコードがENQコードまたは
ACKコードであるか判定する。そして、受信したコー
ドがENQコードであればステップS8656へ移行し
てENQ受信フラグを“1”にセットし、ACKコード
であればステップS8658でACK受信フラグを
“1”にセットして割込み処理を終了する。上記ENQ
受信フラグおよびACK受信フラグは、前記ファンクシ
ョン送受信処理フロー中で参照される。
The reception interrupt shown in FIG. 59 is generated when a transmission from the card reader control device 250 enters. When the reception interrupt is started, step S865
2. It is determined whether the code received in S8654 is an ENQ code or an ACK code. If the received code is an ENQ code, the flow shifts to step S8656 to set the ENQ reception flag to "1"; if the code is an ACK code, the ACK reception flag is set to "1" in step S8658 and interrupt processing is performed. finish. ENQ above
The reception flag and the ACK reception flag are referred to in the function transmission / reception processing flow.

【0255】一方、受信したコードが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.

【0256】次に、カード挿排口211にカードが挿入
され、パチンコ遊技機100に設けられた変換ボタン1
23が押されて玉貸し要求がなされた場合において、上
記玉貸し制御装置500と排出制御装置600との間で
送受信される信号の具体的なタイミングを図60を用い
て説明する。図には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 slot 211 and the conversion button 1 provided on the pachinko gaming machine 100 is inserted.
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 will be 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).

【0257】そして、排出制御装置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).

【0258】そして、排出数が25個(100円分)に
なった時点で排出ソレノイド741a,741bの駆動
信号および貸し玉排出表示ランプ113の駆動信号をオ
フさせるとともに、玉貸し制御装置500に対して払出
完了信号V(パルス)を、またホールの管理装置700
に対して決済信号Jを送信する(タイミングt7)。玉
貸し制御装置500は、所定数の排出が終わったと判断
すると、玉貸し要求信号Tをハイレベルにネゲートする
(タイミングt8)。すると、排出制御装置600は貸
し制御装置500に対して供給される玉貸しイネーブル
信号Uをハイレベルにネゲートして玉貸し排出処理を終
了する。図61には、本発明の第2の実施例に係るパチ
ンコ遊技機の構成が示されている。以下、第1の実施例
のパチンコ遊技機と異なる点のみ説明する。
When the number of discharges reaches 25 (for 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. FIG. 61 shows the configuration of a pachinko gaming machine according to a second embodiment of the present invention. Hereinafter, only the differences from the pachinko gaming machine of the first embodiment will be described.

【0259】まず、構造的にこの実施例のパチンコ遊技
機が上記第1の実施例のパチンコ遊技機と異なる点は、
玉貸し制御装置500の玉貸数設定スイッチ521a−
521dの変わりに供給皿120の上面の操作パネル1
21に玉貸し変換ボタン123a−123dが設けられ
ている点である。制御系における相違は、玉貸し制御装
置500には玉貸数設定スイッチ521a−521dの
変わりに玉貸し変換ボタン123a−123d内のスイ
ッチの信号がフィルタ504を介して入力され、カード
残高が操作された変換ボタンに対応した金額よりも少な
いときは残金相当の貸し玉が、またカード残高が操作さ
れた変換ボタンに対応した金額よりも多いときは変換ボ
タン相当の貸し玉が排出されるようになっている点であ
る。
First, the point that the pachinko gaming machine of this embodiment is structurally different from the pachinko gaming machine of the first embodiment is as follows.
The ball lending number setting switch 521a of the ball lending control device 500
Operation panel 1 on the upper surface of supply tray 120 instead of 521d
21 is provided with ball lending conversion buttons 123a-123d. The difference in the control system is that, instead of the ball lending number setting switches 521a to 521d, a signal of a switch in the ball lending conversion buttons 123a to 123d is input to the ball lending control device 500 via the filter 504, and the card balance is operated. When the amount is less than the amount corresponding to the converted button, a lending ball corresponding to the balance is discharged, and when the card balance is larger than the amount corresponding to the operated conversion button, a lending ball corresponding to the conversion button is discharged. That is the point.

【0260】また、玉貸数設定スイッチ521a−52
1dの変わりに玉貸し変換ボタン123a−123dが
設けられたため、玉貸し制御フローのうち図52が若干
第1実施例のものと異なっている。すなわち、図62に
示すように、ステップS8116ないしS8122で変
換ボタン群123のいずれか一つがオンされているか調
べる。そして、ステップS8122で100円分の玉貸
し変換ボタンがオンされたと判定したときはステップS
8136へ移行して払出回数レジスタの値を「1」にセ
ットする。また、ステップS8116ないしS8120
で500円、300円または200円のいずれかの変換
ボタンがオンされたと判定すると、それぞれステップS
8124,S8126,S8128へ移行してオンされ
たボタンの変換要求金額とカードの残金とを比較して、
カードの金額の方が多いか否か判定する。そして、カー
ドの金額の方が多いときにのみ、ステップS8130,
S8132,S8134へ移行して払出回数を各々
「5」,「3」または「2」にセットし、カードの金額
の方が少ないときにはステップS8102へ戻る。従っ
て、遊技者がカードの残金を間違えて残金よりも大きな
変換ボタンを押してしまったとしても玉貸し排出はなさ
れず、再度別の変換ボタンを押すことで玉貸し処理が実
行されるようになる。
Also, the ball lending number setting switches 521a-52
Since the ball lending conversion buttons 123a to 123d are provided instead of 1d, FIG. 52 of the ball lending control flow is slightly different from that of the first embodiment. That is, as shown in FIG. 62, it is checked in step S8116 to S8122 whether any one of the conversion button groups 123 is turned on. If it is determined in step S8122 that the ball lending conversion button for 100 yen has been turned on, the process proceeds to step S812.
The flow shifts to 8136, where the value of the number-of-payouts register is set to "1". Also, steps S8116 to S8120
If it is determined that the conversion button of 500 yen, 300 yen, or 200 yen has been turned on in step S
8124, S8126, and S8128, the conversion request amount of the button turned on and the balance of the card are compared.
It is determined whether or not the amount of the card is larger. Then, only when the amount of money of the card is larger, step S8130,
The flow shifts to S8132, S8134, where the number of payouts is set to "5", "3" or "2", respectively. When 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.

【0261】オンされた変換ボタンに応じて払出回数を
セットするのは、球排出装置170の一回の排出動作に
よって100円分の貸し玉を排出するようになっている
ためである。上記ステップS8130ないしS8136
で払出回数をセットした後は、第1の実施例と同一のフ
ローチャートである図53のステップS8142へ移行
する。なお、上記実施例では、残高表示器122が供給
皿120の上面の操作パネル121に、またカードリー
ダが受け皿140の一側に設けられているが、これらは
パチンコ遊技機の前面の任意の位置に設けることができ
る。また、遊技機と一体でなく別個に設けるようにして
も良い。
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, the flow shifts to step S8142 in FIG. 53 which is the same flowchart as in the first embodiment. In the above-described embodiment, the balance indicator 122 is provided on the operation panel 121 on the upper surface of the supply tray 120, and the card reader is provided on one side of the tray 140, but these are located at arbitrary positions on the front of the pachinko gaming machine. Can be provided. Further, it may be provided separately from the gaming machine, instead of being integrated with the gaming machine.

【0262】[0262]

【発明の効果】以上説明したように本発明は、排出すべ
き賞品球数データを記憶する手段を備えた遊技盤制御回
路により、排出制御回路に対して賞球制御信号が送信さ
れると共に、玉貸し制御回路の玉貸要求制御手段によ
り、有価データを所要数の貸し球に変換する操作に基づ
く球貸変換要求信号に対応した球貸要求信号が起生され
るので、排出制御回路は、賞品球と貸し球の排出を明確
に区別することができる。また、賞球制御信号には、賞
球数データとしての賞球数信号と該賞球数信号の取込に
関わるタイミングを制御する同期信号とが含まれるよう
にされ、セーフセンサにおいて入賞球検出信号が発生し
た際には、遊技盤制御回路側から排出制御回路の賞球排
出数記憶手段へ同期信号に基づいて賞球数信号が送信さ
れるようにしたので、排出制御回路側で賞球制御信号の
受信タイミングを正確に制御でき、1日に数多く発生す
る賞品球の排出制御を正確且つ確実に行えるという効果
がある。さらに、遊技盤制御回路、排出制御回路及び玉
貸し制御回路を個別に構成したので、各々の回路自体を
小さくすることができ、経済的である。
As described above, according to the present invention, the discharge
Game board control circuit provided with means for storing the number data of prize balls
Path, a prize ball control signal is sent to the discharge control circuit.
The ball lending request control means of the ball lending control circuit.
And convert valuable data into the required number of loaned balls.
A ball lending request signal corresponding to the ball lending conversion request signal is generated.
Therefore, the emission control circuit clarifies the emission of prize balls and rental balls.
Can be distinguished. The prize ball control signal includes a prize
To capture the prize ball number signal and the prize ball number signal as ball number data
Synchronization signal to control the timing involved
And the safe sensor generates a winning ball detection signal.
The prize ball in the discharge control circuit from the gaming board control circuit side.
The prize ball number signal is transmitted to the number storage means based on the synchronization signal.
So that the emission control circuit side
Reception timing can be controlled accurately, and many occurrences occur in one day
Of controlling the discharge of prize balls accurately and reliably
There is. Further, a game board control circuit, a discharge control circuit, and a ball
Since the lending control circuits are individually configured, each circuit itself
It can be small and economical.

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

【図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
の具体的構成例を示すブロック図である。
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
)のステップ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
)のステップ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 .
9 is a flowchart showing a part (the first half) of a subroutine of the 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 .
9 is a flowchart showing a part (second half) of a subroutine of the ball-pulling-out process executed in step (a).

【図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
8012で実行されるファンクション送受信処理の具体
的手順の一部(前半)を示すフローチャートである。
FIG. 54: 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.

【図55】上記メインルーチン(図51)のステップS
8012で実行されるファンクション送受信処理の具体
的手順の一部(後半)を示すフローチャートである。
FIG. 55: 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.

【図56】上記メインルーチン(図51)のステップS
8014で実行される決済信号出力処理の具体的手順の
一例を示すフローチャートである。
FIG. 56: 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.

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

【図58】図51のメインルーチン(バックグランド処
理)に優先して玉貸し制御装置500によって行なわれ
る送信割込処理の手順を示すフローチャートである。
FIG. 58 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.

【図59】図51のメインルーチン(バックグランド処
理)に優先して玉貸し制御装置500によって行なわれ
る受信割込処理の手順を示すフローチャートである。
59 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.

【図60】上記玉貸し制御装置500と排出制御装置6
00との間で送受信される信号の具体的なタイミングを
示すタイムチャートである。
FIG. 60: 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.

【図61】本発明に係るカード式パチンコ遊技機の第2
の実施例を示す斜視図である。
FIG. 61 is a view showing a second example of the card-type pachinko gaming machine according to the present invention.
It is a perspective view which shows the Example of FIG.

【図62】第2の実施例のパチンコ遊技機における玉貸
し制御装置500による玉貸処理の具体的手順の一部を
示すフローチャートである。
FIG. 62 is a flowchart showing a part of a specific procedure of a ball lending process by the ball lending control device 500 in the pachinko gaming machine of the second embodiment.

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

100 パチンコ遊技機120 供給 皿 122 残高表示器 123 玉貸し変換ボタン 211 カード挿排口 230 有効表示ランプ 400 遊技盤制御装置 500 玉貸し制御装置 600 排出制御装置 700 ホール管理装置 800 カード管理装置REFERENCE SIGNS LIST 100 pachinko gaming machine 120 supply tray 122 balance display 123 ball lending conversion button 211 card insertion / ejection 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)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入賞球を一個宛に検出可能なセーフセン
サと所要数の遊技球を排出可能な球排出装置とを有し、
該球排出装置と一対一に対応して配設され且つカードの
記憶データを読み取り可能なカードリーダに挿入された
カードの保有する有価データの範囲内において当該有価
データを所要数の貸し球に変換し上記球排出装置より貸
し球を前面の供給皿に直接排出可能に構成されてなるカ
ード式遊技機において、 遊技盤と一対一に構成される遊技盤制御回路と、 上記球排出装置に関わる制御を行う排出制御回路と、 少なくとも上記カードリーダの制御を行う玉貸し制御回
路とを別個に備え、 上記遊技盤制御回路は、少なくとも排出すべき賞品球数
データを記憶する手段を備え、当該遊技盤制御回路から
上記排出制御回路に対して賞球制御信号が送信可能に構
成されて成り、 上記玉貸し制御回路は、少なくとも上記有価データを所
要数の貸し球に変換する操作に基づく球貸変換要求信号
に対応した球貸要求信号を起生し、該球貸要求信号を上
記排出制御回路へ送信可能な玉貸要求制御手段を備え、 上記排出制御回路は、少なくとも上記賞球制御信号に基
づいて賞球排出数を記憶する賞球排出数記憶手段を具備
し、 上記賞球制御信号には、上記賞球数データとしての賞球
数信号と該賞球数信号の取込に関わるタイミングを制御
する同期信号とが含まれるようにし、 上記セーフセンサによって入賞球検出信号が発生した際
には、上記遊技盤制御回路側から上記排出制御回路の賞
球排出数記憶手段へ同期信号に基づいて賞球数信号を送
信すると共に、上記球貸変換要求信号が発生した際に
は、上記玉貸し制御回路の玉貸要求制御手段から上記排
出制御回路側へ当該球貸要求信号を送信するように構成
したことを特徴とするカード式遊技機。
1. A safe sensor capable of detecting a prize ball to one destination.
Having a ball discharge device capable of discharging a required number of game balls,
The ball ejection device is disposed in one-to-one correspondence with the card ejection device.
Inserted into a card reader that can read stored data
Within the range of valuable data held by the card,
Convert the data into the required number of loaned balls
The nozzle is configured to be able to directly discharge the ball into the supply tray on the front.
In a game machine of the card type, 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.
Road, and the game board control circuit includes at least the number of prize balls to be discharged.
Means for storing data, from the game board control circuit
A prize ball control signal can be transmitted to the discharge control circuit.
Made is made by, the ball lending control circuit Tokoro at least the valuable data
Ball lending conversion request signal based on the operation of converting to the required number of lending balls
A ball lending request signal corresponding to
A ball lending request control means capable of transmitting the ball lending request to the discharge control circuit, wherein the discharge control circuit receives at least the prize ball control signal.
Prize ball discharge number storage means for storing the prize ball discharge number
And, in the prize ball control signals, prize balls as the prize counts data
Controls the timing related to capturing the number signal and the prize ball number signal
And a safe signal when a winning ball detection signal is generated by the safe sensor.
Award of the discharge control circuit from the gaming board control circuit side.
Sends the prize ball number signal to the ball discharge number storage means based on the synchronization signal
When the ball lending conversion request signal is generated,
Is discharged from the ball lending request control means of the ball lending control circuit.
Configuration to send the ball lending request signal to the exit control circuit side
A card-type gaming machine characterized by the following.
JP14558291A 1991-05-21 1991-05-21 Card-type gaming machine Expired - Fee Related JP2964178B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14558291A JP2964178B2 (en) 1991-05-21 1991-05-21 Card-type gaming machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14558291A JP2964178B2 (en) 1991-05-21 1991-05-21 Card-type gaming machine

Publications (2)

Publication Number Publication Date
JPH04343876A JPH04343876A (en) 1992-11-30
JP2964178B2 true JP2964178B2 (en) 1999-10-18

Family

ID=15388427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14558291A Expired - Fee Related JP2964178B2 (en) 1991-05-21 1991-05-21 Card-type gaming machine

Country Status (1)

Country Link
JP (1) JP2964178B2 (en)

Also Published As

Publication number Publication date
JPH04343876A (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
JP2964178B2 (en) Card-type gaming machine
JP2888359B2 (en) Gaming machine
JP3035793B2 (en) Gaming machine
JP2964177B2 (en) Card-type gaming machine
JP3624342B2 (en) Card game machine
JP3663596B2 (en) Card type pachinko game machine
JPH10290874A (en) Gaming machine
JPH10290873A (en) Ball rental processing equipment
JP3066472B2 (en) Card-type gaming machine
CN111327777A (en) Image forming apparatus and image forming apparatus system
JPH10272251A (en) Ball rental processing equipment
CN1956014B (en) Medal input device of game machine
JP2009140039A (en) Transaction processing equipment
JP2000245928A (en) Pachinko machine
JP7099171B2 (en) Vehicle certification equipment
JP3066475B2 (en) Card-type gaming machine
JP3066471B2 (en) Gaming machine
JP5260383B2 (en) Automatic transaction equipment
JP3066474B2 (en) Card-type gaming machine
JP2001170348A (en) Gaming machine
JP7052639B2 (en) Vehicle certification equipment
JP3035795B2 (en) Gaming equipment

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)

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

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