JP3035796B2 - Gaming equipment - Google Patents

Gaming equipment

Info

Publication number
JP3035796B2
JP3035796B2 JP3181838A JP18183891A JP3035796B2 JP 3035796 B2 JP3035796 B2 JP 3035796B2 JP 3181838 A JP3181838 A JP 3181838A JP 18183891 A JP18183891 A JP 18183891A JP 3035796 B2 JP3035796 B2 JP 3035796B2
Authority
JP
Japan
Prior art keywords
ball
discharge
lending
ball lending
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
JP3181838A
Other languages
Japanese (ja)
Other versions
JPH053959A (en
Inventor
吉平 新山
広司 伊東
Original Assignee
株式会社ソフィア
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社ソフィア filed Critical 株式会社ソフィア
Priority to JP3181838A priority Critical patent/JP3035796B2/en
Publication of JPH053959A publication Critical patent/JPH053959A/en
Application granted granted Critical
Publication of JP3035796B2 publication Critical patent/JP3035796B2/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]

【産業上の利用分野】本発明は、挿入されたカードに記
憶されている有価データの範囲内で、遊技者の玉貸要求
に基づく所要の玉貸し処理を行う玉貸ユニットと、該玉
貸しユニットから送信される玉貸要求指令に基づいて、
球排出装置を作動して玉貸しのための遊技球の排出制御
を行わせる貸し玉排出制御部を有する排出制御回路を
備した遊技機と、を備えた遊技装置に関する。
The present invention relates to a ball lending unit for performing a required ball lending process based on a ball lending request of a player within a range of valuable data stored in an inserted card, and the ball lending unit .
Based on the ball lending request command sent from the lending unit ,
Ingredients emission control circuit having a rental ball discharging control unit to perform the discharge control of the game ball for ball lending by operating the ball discharging unit
And a game machine provided with the game machine .

【0002】[0002]

【従来の技術】近年、磁気カードを媒介として遊技を行
なうようにした遊技装置としてのカード式のパチンコ遊
技システムが提唱されている。カード方式は、遊技者が
記憶媒体であるカードのみを持ち歩けばよく、落下し易
いパチンコ球を大量に持ち運ぶ手間を軽減することがで
きるという利点がある。従来提案されているカード式パ
チンコ遊技機のシステムには、大きく分けると次の2つ
の方式がある。第1の方式は、カードの発行に際して購
入金額に対応した持玉数データをカードに記憶し、この
持玉数データの範囲内でパチンコ遊技を行ない、遊技過
程において増減した持玉数データをカードに記憶すると
いうものである(特公昭47−42227号参照)。カ
ード方式の第2の方式は、カードの購入の際にコード番
号だけを記録したカードを発行し、持玉数は集中管理装
置に記憶し、カードをパチンコ機のカード読取装置に挿
入することによって記憶された持玉数を呼び出して遊技
を行なえるようにするものである(実公昭61−327
09号、特公昭51−17106号参照)。
2. Description of the Related Art In recent years, a card-type pachinko game system has been proposed as a game device that performs a game through a magnetic card. The card method has the advantage that the player only has to carry the card that is the storage medium, and can reduce the trouble of carrying a large number of pachinko balls that are easy to fall. Conventionally proposed card-type pachinko gaming machine systems are broadly divided into the following two systems. In the first method, when issuing a card, the number of balls held corresponding to the purchase amount is stored in the card, a pachinko game is performed within the range of the number of balls held, and the number of balls held is increased or decreased in the game process. (See JP-B-47-42227). The second method of the card system is to issue a card in which only the code number is recorded at the time of purchase of the card, store the number of balls held in a central management device, and insert the card into a card reader of a pachinko machine. The stored number of balls is called so that the player can play the game.
09, JP-B-51-17106).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
カード式遊技機のシステムはいずれの方式にあっても、
カードによる遊技が可能にされるのはカードを発行した
遊技店内のみであり、他の遊技店で発行されたカードで
は遊技が行なえないようになっていた。また、発行され
たカードが有効とされるのは発行当日のみであった。そ
こで、共通のプリペードカードシステムの提案がなされ
ている。これは、当店・当日のみしか使用できないとい
う問題点を解消し、且つ、遊技機と遊技機との間に設置
される遊技機とは別体の玉貸機にカードリーダを設け、
遊技機の操作パネルに設けられたスイッチボタンからの
指令によりカードの残金の一部を貸し玉に変換して、遊
技機に設けられている球排出機構を利用して、玉貸し分
の遊技球を排出させそれを直接供給皿に案内するので、
手が汚れず、玉を床にこぼすこ ともなく、遊技に集中で
きるという利点がある。
[SUMMARY OF THE INVENTION However, even a system of conventional card type gaming machine be in any manner,
A game using a card can be performed only in a game store that issued the card, and a card issued in another game store cannot play the game. The issued card was valid only on the day of issuance. Therefore, a proposal for a common prepaid card system was made.
ing. This means that it can only be used at our shop and the day
To solve the problem, and installed between gaming machines
A card reader is provided on a ball rental machine separate from the gaming machine that is
From the switch button provided on the operation panel of the gaming machine
A part of the balance of the card is converted into a lending ball by the
Using the ball discharge mechanism provided in the machine, lend the ball
Discharge the game ball and guide it directly to the supply tray,
Hands are not dirty, without a Kobosuko the ball on the floor, with focus on the game
There is an advantage that can be.

【0004】このように、メリットのある提案である
が、玉貸機には、独自の球排出機構を備えておらず、遊
技機側の球排出機構(従来は賞球排出のみを行うもの)
を使用して貸し玉を排出するので、貸し玉排出の確実性
および貸し玉数の正確性が要求されるが、未だ、充分な
対策がなされていない。特に、貸し玉は金銭を必要とす
ることから、遊技者にとっては貸し玉が正確であるとい
うことが重要であり、遊技店にとっても貸し玉が正確で
ないと遊技者との間のトラブルにもなりかねないのであ
る。
[0004] As described above, this is an advantageous proposal.
However, ball rental machines do not have their own ball discharging mechanism,
Ball ejection mechanism on the technical machine side (conventionally only prize ball ejection)
Is used to discharge lending balls, so lending ball discharge certainty
And the accuracy of the number of lending balls is required, but still not enough
No measures have been taken. In particular, lending balls need money
That the lending ball is accurate for the player.
It is important that lending balls are accurate for
If not, it could be a trouble with the player
You.

【0005】この発明は、上記背景に鑑み提案されたも
ので、その目的とするところは、遊技者の玉貸要求に基
づく所要の玉貸処理を行う玉貸しユニットから送信され
る所要の信号を遊技機側で確認できて、遊技機側ではそ
の信号に対応して玉貸しを行い、遊技機における球排出
機構の玉貸しに対する確実性および正確性を担保できる
排出制御が可能な遊技装置を提供することにある。
[0005] The present invention has been proposed in view of the above background, and an object thereof is to provide a required signal transmitted from a ball lending unit for performing a required ball lending process based on a ball lending request of a player. It can be confirmed by the gaming machine side, in the gaming machine side performs ball lending in response to the signal, providing a game device capable of emission control that can ensure the reliability and accuracy against ball lending sphere ejection mechanism in the gaming machine Is to do.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明は、挿入されたカードに記憶されて
いる有価データの範囲内で、遊技者の玉貸要求に基づく
所要の玉貸処理を行う玉貸しユニット(例えば、玉貸機
200)と、該玉貸しユニットから送信される玉貸要求
指令に基づいて、球排出装置(170)を作動して玉貸
しのための遊技球の排出制御を行わせる貸し玉排出制御
部(例えば、貸し玉排出制御手段670)を有する排出
制御回路(例えば、排出制御装置600)を具備した
技機(例えば、パチンコ遊技機100)と、を備えた遊
技装置(例えば、カード式パチンコ遊技機)において
上記貸し玉排出制御部は、上記遊技機において玉貸し排
出が可能な状態であることを知らせる玉貸し可能信号
(RDY)を上記玉貸しユニット側に出力し、当該玉貸
し可能信号および玉貸しユニット側からの上記玉貸要求
制御信号が能動化状態にあることを条件に、遊技者の玉
貸要求に基づく予め設定された所要数の貸し玉を所定の
最小変換単位分(例えば100円分)に対応する玉数に
区切って繰り返し排出するよう上記球排出装置を制御す
るとともに、当該区切られた所定の最小変換単位分に対
応する玉数が排出する毎に、当該排出の終了を知らせる
排出終了信号(EXS)を上記玉貸しユニット側に送信
し、上記玉貸要求制御信号が非能動化状態に移行したこ
とを条件に、上記所要数の貸し玉を所定の最小変換単位
分に対応する玉数毎に区切って繰り返して排出する制御
を完了させるように構成して成り、所定のタイマ手段の
計測する所定時間内に上記排出制御回路の貸し玉排出制
御部から出力されるべき所定の制御信号が検出されない
場合には、異常状態と判定する(例えば、排出開始時間
監視手段518、排出時間監視手段519)ようにした
ものである。請求項2は、上記所定の制御信号は上記排
出終了信号であるとしたものである
In order to achieve the above object, according to the present invention , a required ball based on a ball lending request of a player within a range of valuable data stored in an inserted card is provided. A ball lending unit (for example, ball lending machine 200) for performing lending processing, and a ball lending device (170) is operated based on a ball lending request command transmitted from the ball lending unit to play a ball for lending. Machine (for example, a pachinko gaming machine) equipped with a discharge control circuit (for example, a discharge control device 600) having a lending ball discharge control unit (for example, a lending ball discharge control means 670) for performing discharge control of the game machine. Yu with the 100), the
In trick device (e.g., card-type pachinko machine),
The lending ball discharge control unit outputs a ball lending enable signal (RDY) to the ball lending unit to inform that the ball lending discharge is possible in the gaming machine, and the ball lending enable signal and the ball lending unit. Under the condition that the ball lending request control signal from the player is in the activated state, a predetermined required number of lending balls based on the ball lending request of the player for a predetermined minimum conversion unit (for example, 100 yen) The ball discharge device is controlled so as to discharge repeatedly in the number of balls corresponding to the number of balls, and each time the number of balls corresponding to the predetermined minimum conversion unit is discharged, the discharge end indicating the end of the discharge. A signal (EXS) is transmitted to the ball lending unit side, and the ball lending request control signal shifts to a deactivated state, and the required number of lending balls are balls corresponding to a predetermined minimum conversion unit. Every number It become configured to complete the control of discharging repeatedly separated, the predetermined timer means
Lending ball discharge system of the above discharge control circuit within a predetermined time to measure
Predetermined control signal to be output from control unit is not detected
In this case, it is determined that the state is abnormal (for example, the discharge start time
Monitoring means 518, discharge time monitoring means 519) . Claim 2 provides that the predetermined control signal is the output signal.
It is assumed that the signal is an exit end signal .

【0007】[0007]

【作用】上記した手段によれば、上記貸し玉排出制御部
により、上記遊技機における玉貸し排出が可能な状態に
あることを知らせる玉貸し可能信号が上記玉貸しユニッ
ト側に出力され、当該玉貸し可能信号および玉貸しユニ
ット側からの上記玉貸要求制御信号が能動化状態にある
ことを条件に、遊技者の玉貸要求に基づく予め設定され
た所要数の貸し玉を所定の最小変換単位分に対応する玉
数に区切って繰り返し排出する制御が行われるととも
に、当該区切られた所定の最小変換単位分に対応する玉
数が排出される毎に、当該排出の終了を知らせる排出終
了信号が上記玉貸しユニット側に送信されるので、玉貸
しユニット側では遊技機における玉貸し排出が可能な状
態にあることを認識してから上記玉貸要求制御信号を能
動化することになり、遊技機側で玉貸し排出の準備が整
わないうちに上記玉貸要求制御信号を能動化することは
ない。また、貸し玉排出制御部は玉貸し可能信号および
玉貸しユニット側からの上記玉貸要求制御信号が能動化
状態にあることを条件に、遊技者の玉貸要求に基づく予
め設定された所要数の貸し玉を所定の最小変換単位分に
対応する玉数に区切って繰り返し排出する制御を行うと
ともに、当該区切られた所定の最小変換単位分に対応す
る玉数が排出される毎に、当該排出の終了を知らせる排
出終了信号を上記玉貸しユニット側に送信するので、貸
し玉排出制御部は自分自身が出力した玉貸し可能信号お
よび玉貸しユニット側からの能動化された玉貸要求制御
信号を確 認して、遊技者の玉貸要求に基づく予め設定さ
れた所要数の貸し玉を所定の最小変換単位分に対応する
玉数に区切って繰り返し排出する制御を行うとこが可能
となる。そして当該区切られた所定の最小変換単位分に
対応する玉数が排出される毎に、当該排出の終了を知ら
せる排出終了信号を上記玉貸しユニット側に送信するの
で、玉貸しユニット側では所定の最小変換単位分に対応
する玉数に区切って排出される毎に、当該単位排出の終
了を確認でき、その受信回数を計数することで所定数の
貸し玉の排出完了を判定することができる。
According to the above means, the rental ball discharge control unit is provided.
In this way, the above-mentioned gaming machines are ready for ball lending discharge
The ball lending possible signal that informs you that there is
The ball lending available signal and ball lending unit
The ball lending request control signal from the unit is in the activated state.
On the condition that it is set in advance based on the player's ball lending request
The required number of lending balls is the ball corresponding to the predetermined minimum conversion unit.
With the control to discharge repeatedly by dividing into numbers,
The ball corresponding to the predetermined minimum conversion unit
Each time a number is discharged, a discharge
Is sent to the ball lending unit, the ball lending unit
On the unit side, it is possible to rent out balls from gaming machines
State that the ball lending request control signal
The machine is ready to lend and discharge balls.
Activating the ball lending request control signal before you know
Absent. In addition, the lending ball discharge control unit outputs a lending possible signal and
The ball lending request control signal from the ball lending unit is activated.
Condition based on the player's ball lending request,
The required number of lending balls to the specified minimum conversion unit
If you perform control to discharge repeatedly by dividing into the corresponding number of balls,
Both correspond to the predetermined minimum conversion unit
Each time a number of balls are discharged, a discharge
Since the exit end signal is sent to the ball lending unit,
The ball discharge control unit outputs the ball lending possible signal and the
Ball lending request control from the ball lending unit side
Signal to verify, preliminarily set of which is based on the player of the ball lending request
The required number of lending balls corresponds to the predetermined minimum conversion unit
It is possible to control to discharge repeatedly by dividing the number of balls
Becomes Then, the divided minimum conversion unit
Each time the corresponding number of balls is discharged, the end of the discharge is notified.
Sending the discharge end signal to the ball lending unit
In the ball lending unit, it corresponds to the predetermined minimum conversion unit
Each time a ball is discharged in segments, the end of the unit discharge
Can be confirmed, and by counting the number of receptions,
It is possible to determine whether or not the lending ball has been discharged.

【0008】さらに、上記した玉貸要求制御信号が非能
動化状態に移行したことを条件に、貸し玉排出制御部に
より上記所要数の貸し玉を所定の最小変換単位分に対応
する玉数毎に区切って繰り返して排出する制御が完了さ
れるので、貸し玉排出制御部は、玉貸要求制御信号が非
能動化状態に移行したことを確認して、上記所要数の貸
し玉を所定の最小変換単位分に対応する玉数毎に区切っ
て繰り返して排出する制御を完了することとなり、玉貸
しの排出制御がより確実になり、排出される貸し玉数の
正確性もより向上する。さらに、例えば玉貸要求信号に
基づいて計測を開始するような所定のタイマ手段の計測
する所定時間内に上記排出制御回路の貸し玉排出制御部
から出力されるべき所定の制御信号が検出されない場合
には、異常状態と判定するようにしたので、所定の最小
単位毎に異常状態の有無を判定できるため、玉貸し排出
制御がより確実に行なわれるようになる。
Further, on condition that the above-mentioned ball lending request control signal shifts to the inactive state, the lending ball discharge control unit causes the required number of lending balls to be reduced by the number of balls corresponding to a predetermined minimum conversion unit. Since the control of repeatedly discharging the ball is completed, the lending ball discharge control unit confirms that the ball lending request control signal has shifted to the inactive state, and reduces the required number of lending balls to a predetermined minimum. This completes the control of repeatedly discharging the number of balls corresponding to the number of balls corresponding to the conversion unit, so that the control of discharging the lending of balls becomes more reliable, and the accuracy of the number of lending balls to be discharged is further improved. Furthermore, for example, in the ball lending request signal
Measurement of predetermined timer means that starts measurement based on
Lending ball discharge control unit of the discharge control circuit within a predetermined time
When a predetermined control signal to be output from the controller is not detected
Is determined to be in an abnormal state.
Since it is possible to determine the presence or absence of abnormal conditions for each unit, ball lending discharge
Control is performed more reliably.

【0009】[0009]

【実施例】図1には、本発明に係る遊技装置としてのカ
ード式パチンコ遊技機の一実施例が示されている。この
実施例では、パチンコ遊技機100と玉貸しユニットと
しての玉貸機200とが対をなすように構成されてお
り、各玉貸機200にはカードリーダが内蔵され、玉貸
機200の前面パネルには上記カードリーダに対応して
カード挿排口211と、挿入されたカードの残高を表示
する挿入残高表示器220、玉貸機が作動状態にあるこ
とを表示する有効表示ランプ230が設けられている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows one embodiment of a card-type pachinko machine as a game apparatus according to the present invention is shown. In this embodiment, the pachinko gaming machine 100 and the ball lending machine 200 as a ball lending unit are configured to form a pair, and each ball lending machine 200 has a built-in card reader. The panel is provided with a card slot 211 corresponding to the card reader, an inserted balance display 220 for displaying the balance of the inserted card, and an effective display lamp 230 for displaying that the ball lending machine is in operation. Have been.

【0010】一方、パチンコ遊技機100の前面枠に設
けられている供給皿120の上面には、操作パネル12
1が形成され、この操作パネル121上に上記カード挿
排口211に挿入されたカードの残高を表示する残高表
示器122と、貸し玉への変換の指令を与える変換ボタ
ン123と、カードの排出(返却)を指令する返却ボタ
ン124と、上記変換ボタン123が有効中であること
を表示する玉貸し可能表示ランプ126が設けられてい
る。
On the other hand, an operation panel 12 is provided on an upper surface of a supply tray 120 provided on a front frame of the pachinko gaming machine 100.
1, a balance display 122 for displaying the balance of the card inserted into the card insertion / ejection slot 211 on the operation panel 121, a conversion button 123 for giving a command to convert to a lending ball, and a card ejection A return button 124 for instructing (return) and a ball lending possible display lamp 126 for indicating that the conversion button 123 is active are provided.

【0011】なお、112は賞品玉排出時に点灯される
賞品球排出表示ランプ、また113は貸し玉排出時に点
灯される貸し玉排出表示ランプ、108はパチンコ遊技
機において打止状態が発生したときに点灯される完了ラ
ンプ、141は上記供給皿120が満杯になったときに
内部でオーバーフローした賞品球を貯留する受け皿、1
42は供給皿120から流下される球を一個ずつ遊技領
域内に発射する打球発射装置の操作ダイヤルである。パ
チンコ遊技盤前面の遊技領域の構成は従来のものと同様
で、任意の構成をとり得る。
Reference numeral 112 denotes a prize ball discharge indicator 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, and 108 denotes a hit state in a pachinko game machine. A completion lamp 141 that is turned on is a tray for storing a prize ball that has overflowed inside when the supply tray 120 is full.
Reference numeral 42 denotes an operation dial of a hitting ball firing device that fires balls flowing down from the supply tray 120 one by one into the game area. The configuration of the game area on the front of the pachinko game board is the same as the conventional one, and can take any configuration.

【0012】この実施例では、変換ボタン123が押さ
れると、上記球貸機200のカードリーダへのカードの
挿入を前提としてカードの有する金額の範囲内で、予め
設定された金額(例えば300円分)を貸し玉に変換す
る指令がパチンコ遊技機100の裏面に設けられている
球排出装置の制御装置に対して送出するように構成され
ている。変換後のカードの残り金額は、100円を1単
位とする度数で残高表示器122に表示されるようにな
っている。
In this embodiment, when the conversion button 123 is pressed, a predetermined amount (for example, 300 yen) is set within the range of the amount of money of the card provided that the card is inserted into the card reader of the ball lending machine 200. A command to convert the minute into a lending ball is sent to a control device of a ball discharging device provided on the back of the pachinko gaming machine 100. The remaining amount of the converted card is displayed on the balance display 122 in a unit of 100 yen as one unit.

【0013】図2には本発明を適用したパチンコ遊技機
100の裏機構の一実施例が示されている。図2におい
て、170は賞品球を排出する球排出装置、600は入
賞検出器等からの信号に基づいて上記球排出装置170
を制御して所定数の賞品球を排出させる排出制御装置、
151は排出される前の球を貯留しておく貯留タンク、
152は貯留タンク151内の球を一列に整列させて上
記球排出装置170まで誘導する誘導樋である。この
導樋152は特に限定されないが、短時間に多量の玉を
供給できるように2条に形成されており、その途中には
球の重なりを防止する玉ならし153および待機球検出
器160が設けられている。
FIG. 2 shows an embodiment of the back mechanism of the pachinko gaming machine 100 to which the present invention is applied. In FIG. 2, reference numeral 170 denotes a ball discharge device for discharging a prize ball, and 600 denotes the ball discharge device 170 based on a signal from a winning detector or the like.
Discharge control device for controlling the discharge of a predetermined number of prize balls,
151 is a storage tank for storing balls before being discharged,
Reference numeral 152 denotes a guiding gutter that aligns the balls in the storage tank 151 in a line and guides the balls to the ball discharging device 170. This invitation
The 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 stand-by ball detector 160 for preventing the balls from overlapping are provided in the middle thereof. Have been.

【0014】また、球排出装置170の下方には、排出
された玉を遊技機前面の上記供給皿120の流出口12
9へ誘導する排出樋155と供給皿120からオーバー
フローした玉を下方の受け皿141へ誘導するオーバー
フロー樋156が連続して設けられているとともに、上
記排出樋155の途中から分岐された玉抜き樋157が
上記オーバーフロー樋156と平行して配設され、この
玉抜き樋157と排出樋155との分岐部には流路切換
え弁158が設けられている。159は遊技機の前面に
設けられた入賞口に流入した入賞球を一箇所に集合させ
る集合樋、180は集合樋159の下端に設けられ集合
された入賞球を1個ずつ分離して検出器で検出する入賞
球分離検出装置、400は遊技部に設けられた入賞検出
器からの信号に基づいて役物や表示ランプを駆動する遊
技盤制御装置である。
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 141 is provided continuously, and a ball drain gutter 157 branched from the middle of the discharge gutter 155 is disposed in parallel with the overflow gutter 156. A flow path switching valve 158 is provided at a branch portion between the ball drop gutter 157 and the discharge gutter 155. Reference numeral 159 denotes a collecting gutter for collecting the winning balls flowing into a winning port provided on the front of the gaming machine at one place. A prize ball separation detecting device 400 is a gaming board control device that drives a character or a display lamp based on a signal from a prize detector provided in the game section.

【0015】上記遊技盤制御装置400と排出制御装置
600とは、光ファイバによって接続される。特に限定
されるものでないがこの実施例では、遊技盤制御装置4
00と排出制御装置600から引き出された光ファイバ
191,192の一端が中継基板195に接続されてお
り、中継基板195を介して遊技盤制御装置400と排
出制御装置600とが通信可能に結合されている。な
お、この実施例では、入賞球分離検出装置180として
集合樋159で集合された入賞球の流下経路に臨むスト
ッパ182とそれを駆動するソレノイド(以下、セーフ
ソレノイドと称する)183とからなり検出器(セーフ
センサと称する)181で入賞球を1つ検出する毎にス
トッパ182をソレノイド183で駆動して入賞球を1
つ流下させるするように構成した電気式のものを用いて
いるが、先端にストッパを、また後端に錘を有するシー
ソー式の球鞘とマイクロスイッチとから構成されたメカ
式のものを用い、入賞球数は排出制御装置600内に電
気的に記憶させるようにしても良い。
The game board control device 400 and the discharge control device 600 are connected by an optical fiber. Although not particularly limited, in this embodiment, the game board control device 4
00 and one ends of the optical fibers 191 and 192 drawn from the discharge control device 600 are connected to the relay board 195. The game board control device 400 and the discharge control device 600 are communicably connected via the relay substrate 195. ing. In this embodiment, as the prize ball separation detecting device 180, a detector 182 which faces a flow path of the prize balls gathered by the collecting gutter 159 and a solenoid (hereinafter, referred to as a safe solenoid) 183 for driving the stopper 182 are used. Each time one winning ball is detected by the 181 (a safe sensor), the stopper 182 is driven by the solenoid 183 to reduce the winning ball by one.
Although an electric type that is configured to flow down is used, a stopper is provided at the tip, and a mechanical type configured from a seesaw type ball sheath having a weight at the rear end and a micro switch, The number of winning balls may be electrically stored in the discharge control device 600.

【0016】図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 spare ball 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.

【0017】上記減圧部711は、貯留タンク151か
ら誘導樋152を介して送られてくる予備球の圧力を減
らすもので、同図に示すように、緩傾斜状態にUターン
された構造にされている。上記縁切り部712は、その
下の排出部713を通る球同士に間隔を開けさせて、下
方の排出手段740による球の流出を止め易くするため
のもので、前記減圧部711に連続する垂直通路部分7
21と後述の排出部713に通じる方向変換通路部分7
22とから構成されている。
The pressure reducing section 711 reduces the pressure of the reserve sphere sent from the storage tank 151 via the guide gutter 152, and has a structure in which the U-turn is performed in a gentle inclination state as shown in FIG. ing. The edge cutting portion 712 is provided to make a space between the balls passing through the discharging portion 713 thereunder so as to make it easy to prevent the balls from flowing out by the discharging means 740 below, and a vertical passage continuing to the pressure reducing portion 711. Part 7
21 and a direction change passage portion 7 communicating with a discharge portion 713 described later.
22.

【0018】そして、垂直通路部分721の下端部に
は、球詰まり防止突部723が前方に突出して設けられ
ている。この球詰まり防止突部723によって、垂直通
路部分721に縦に並んで停止した球のうちの最も下の
球の中心位置がその上方の球の中心位置より常に前方に
位置せしめられるようになる。それによって、上方の球
の流下移動圧が最も下の球を常に前方に押圧するように
作用し、球詰まりが防止される。各案内樋710の排出
部713の途中には、流下する球を検出する非接触型の
排出球検出センサ730(排出センサ1,2)がそれぞ
れ設置されている。
At the lower end of the vertical passage portion 721, a ball clogging prevention projection 723 is provided to protrude forward. By the ball clogging prevention protrusion 723, the center position of the lowest ball among the balls vertically stopped 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 clogging of the sphere. In the middle of the discharge part 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 installed.

【0019】また、各排出部713の途中、上記排出セ
ンサ730直後には上記排出手段740を構成するスト
ッパ745が出没可能な切欠き703が設けられてい
る。上記ストッパ745は、それぞれ支軸746によっ
て回動自在に支持されているとともに、ストッパ745
の一側部には、それぞれ連結ピンが突設され、この連結
ピンと排出ソレノイド741の作動ロッド742の下端
部とが連結板747によりそれぞれ連結されている。
A notch 703 in which a stopper 745 constituting the discharging means 740 can be protruded and retracted in the middle of each discharging section 713 and immediately after the discharging sensor 730 is provided. The stoppers 745 are rotatably supported by support shafts 746 , respectively.
One The sides are respectively connecting pin projecting, this coupling of
The pin and the lower end of the operating rod 742 of the discharge solenoid 741 are connected by a connecting plate 747, respectively.

【0020】そして、排出ソレノイド741が消磁(オ
フ)状態にあるときには、作動ロッド742が下降して
ストッパ745の先端部が切欠き部703より案内樋7
10の排出部713中にそれぞれ入り込んで、排出部7
13中の遊技球の流下を阻止するようになっている。一
方、排出ソレノイド741が励磁(オン)されると、作
動ロッド742が上昇してストッパ745が上昇する方
向に回動されて排出部713の切欠き703中から脱し
て、排出部713中の球の流下阻止状態を解除させ、案
内樋710内の予備球を下方の排出樋155へ排出させ
るようになっている。
When the discharge solenoid 741 is in a 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 gutter 7.
10 into the discharge sections 713, respectively.
13 to prevent the game balls from flowing down . On the other hand, when the discharge solenoid 741 is excited (turned on), the operating rod 742 rises and the stopper 745 is rotated in the upward direction, comes out of the notch 703 of the discharge portion 713, and the ball in the discharge portion 713 Is released, and the spare ball in the guide gutter 710 is discharged to the lower discharge gutter 155.

【0021】このように上記実施例の球排出装置170
は、排出センサ730で流下する玉を一個ずつ検出しな
がら所定数に達した時点でストッパ745を作動させて
排出を停止させることができるため、上述したごとく排
出球数の異なる賞品球と貸し玉とを同一の球排出装置に
よって排出させることが可能となる。なお、図3におい
て、750はパチンコ遊技機100の前面枠に設けられ
た操作孔(図示省略)から球抜き棒が差し込まれたこと
を検出する球抜きセンサ750である。球抜きセンサ7
50がオンされると、上記排出ソレノイド741が連続
して励磁されて案内樋710内の予備球を排出させると
ともに、排出樋155内の切換え弁158の駆動手段
(ソレノイド)を作動させ、排出された玉を球抜き樋1
57を通して機外へ排出させるようになっている。
As described above, the ball discharge 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 of the pachinko gaming machine 100. Ball removal sensor 7
When 50 is turned on, the discharge solenoid 741 is continuously excited to discharge the spare sphere in the guide gutter 710 and to operate the driving means (solenoid) of the switching valve 158 in the discharge gutter 155 to discharge. Take ball and gutter 1
It is designed to be discharged out of the machine through 57.

【0022】上記球抜きセンサ750および排出ソレノ
イド741、排出センサ730は排出制御装置600に
電気的に接続されている。図4には、パチンコ遊技機1
00の制御系の一実施例が示されている。この制御系は
大きく分けると、主としてパチンコ遊技機100の遊技
盤に関する制御を司る遊技盤制御回路としての遊技盤制
御装置400と、カードリーダ等の制御を司る玉貸し制
御回路としての玉貸し制御装置500と、上記球排出装
置170の制御を司る排出制御回路としての排出制御装
置600とにより構成されている。
The ball removal sensor 750, the discharge solenoid 741, and the discharge sensor 730 are electrically connected to the discharge control device 600. FIG. 4 shows the pachinko gaming machine 1
One embodiment of the control system 00 is shown. This control system can be roughly divided into a game board control circuit as a game board control circuit for controlling mainly the game board of the pachinko gaming machine 100.
Ball rental system that controls the control device 400 and a card reader etc.
A ball lending control device 500 as a control circuit and a discharge control device as a discharge control circuit for controlling the ball discharging device 170.
And the device 600 .

【0023】上記制御装置のうち遊技盤制御装置400
は、パチンコ遊技機の遊技盤102に設けられている各
種入賞球検出器から検出信号を受けて役物の駆動信号を
形成したり、パチンコ遊技機の裏機構盤に設けられてい
る入賞球分離検出装置180内の検出器(セーフセン
サ)181からの信号を受けて入賞球分離用のセーフソ
レノイド182を作動させたり、スピーカ190に対す
る駆動信号を形成する。また、遊技盤制御装置400
は、遊技状態を監視してパチンコ店の管理装置に対して
パチンコ機が稼働中であることや大当りの発生、打止め
の発生等の状態に関する情報を伝える機能を備えてい
る。
Of the above control devices, a game board control device 400
Receives a detection signal from various prize ball detectors provided on the game board 102 of the pachinko gaming machine to form a drive signal of the accessory, or forms a prize ball separation provided on the back mechanism board of the pachinko game machine. In response to a signal from a detector (safe sensor) 181 in the detection device 180, a safe solenoid 182 for winning prize ball separation is operated or a drive signal for the speaker 190 is formed. In addition, the game board control device 400
Has a function of monitoring the gaming state and transmitting information about the state of the pachinko machine being operated, occurrence of a big hit, occurrence of a hit, etc. to the management apparatus of the pachinko parlor.

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

【0025】また、排出制御装置600は、誘導樋15
2の途中に設けられた待機球検出器160からの検出信
号が入ってくると排出ソレノイド741a,741bの
励磁を保留して球排出装置170による排出を中止する
とともに、排出時には排出指令信号の内容に応じて例え
ば賞品球排出表示ランプ112または貸し玉排出表示ラ
ンプ113を点灯させたり、遊技盤制御装置400に対
して賞品球もしくは貸し玉の排出音要求信号を送出す
る。
Further, the discharge control device 600 includes the guide gutter 15
When a detection signal from the stand-by ball detector 160 provided in the middle of Step 2 comes in, the excitation of the discharge solenoids 741a and 741b is suspended and the discharge by the ball discharge device 170 is stopped. For example, the prize ball discharge display lamp 112 or the lending ball discharge display lamp 113 is turned on, or a prize ball or lending ball discharge sound request signal is transmitted to the game board control device 400.

【0026】玉貸し制御装置500は、玉貸機200
のカードリーダからの読取りデータを受けて挿入残高表
示器220に対する駆動信号や残高表示器122に対す
る表示駆動信号およびカードリーダが作動状態にあるこ
とを表示する有効表示ランプ230やパチンコ遊技機に
設けられている玉貸し可能表示ランプ126に対する駆
動信号を形成したり、カードリーダ制御装置250に対
する残高データ書換え信号q、パンチ穴加工信号m、カ
ード排出信号nを形成する。また、玉貸し制御装置50
0は、玉貸し変換スイッチ(123)とカード返却スイ
ッチ(124)のオン信号を受け付けるとともに、排出
制御装置600に対して玉貸し要求信号BRQを送った
り、カード管理会社の管理装置800に対して1度(1
00円)分の貸し玉への変換が行なわれたことを知らせ
るカード決済信号jを送信する機能も備えている。
The ball lending control device 500 receives the read data from the card reader in the ball lending machine 200, and operates the drive signal for the inserted balance display 220, the display drive signal for the balance display 122, and the card reader. A driving signal for the valid display lamp 230 for displaying the information and the ball lending possible display lamp 126 provided in the pachinko gaming machine, a balance data rewriting signal q for the card reader control device 250, a punch hole processing signal m, a card Form an ejection signal n. In addition, the ball lending control device 50
0 accepts an ON signal of the ball lending conversion switch (123) and the card return switch (124), sends a ball lending request signal BRQ to the discharge control device 600, and sends a ball lending request signal BRQ to the card management company management device 800. Once (1
It also has a function of transmitting a card payment signal j indicating that the conversion into a lending ball for ¥ 00 has been made.

【0027】図5には上記遊技盤制御装置400の構成
例が示されている。すなわち、この実施例の遊技盤制御
装置400は、排出制御装置600との間の信号の送受
信を行なう光通信手段410と、遊技盤102の賞球別
入賞検出器からの検出信号を計数し保持する2つの入賞
記憶手段411,412と、各入賞記憶手段411,4
12に対応した賞球数を記憶する賞球数記憶手段430
と、上記入賞記憶手段411,412の記憶内容に基づ
いて排出すべき賞品球数を決定する賞球数制御手段42
と、遊技盤102からの信号に基づいて役物のソレノ
イドやモータ、表示ランプを駆動したり大当りの発生を
検出して役物や変動入賞装置等を所定の手順に従って駆
動制御したり、スピーカ190を駆動するなど遊技に関
する制御を行なう遊技制御手段450と、遊技盤102
からの信号を受けたり遊技盤上の表示ランプやモータ、
ソレノイド等の、スピーカ等の駆動信号を形成する信号
入出力手段460とにより構成されている。
FIG. 5 shows a configuration example of the game board control device 400. That is, the gaming board control device 400 of this embodiment counts and holds the optical communication means 410 for transmitting and receiving signals to and from the discharge control device 600 and the detection signal from the prize ball-specific prize detector of the gaming board 102. Two winning prizes
Storage means 411 , 412 and each winning storage means 411 , 4
Winning balls count storage unit 430 for storing the prize number balls corresponding to 12
Prize ball number control means 42 for determining the number of prize balls to be discharged based on the contents stored in the prize storage means 411 , 412.
0 , based on a signal from the game board 102, to drive a solenoid, a motor, or a display lamp of an accessory, or to detect occurrence of a big hit to drive and control an accessory or a variable winning device according to a predetermined procedure; A game control means 450 for controlling the game such as driving the game 190;
Receiving signals from the player, display lamps and motors on the game board,
A signal input / output means 460 for generating a drive signal for a speaker or the like, such as a solenoid, is configured.

【0028】この実施例の遊技盤制御装置400には、
一般の入賞口とは異なる数の賞品球が設定されている入
賞口に入賞した球を検出する賞球別入賞検出器490が
遊技盤102に2種類設けられた場合にも対応できるよ
うに、2つの入賞記憶手段411,412が設けられて
おり、賞品球数の異なる入賞口ごとに入賞数を計数する
ようにしている。入賞検出信号は賞品球排出の有無にか
かわらず遊技盤制御装置400に連続して入ってくるの
で、入賞球の数を記憶する入賞記憶手段が必要とされ
る。
The game board control device 400 of this embodiment includes:
In order to be able to cope with a case where two types of prize ball-specific prize detectors 490 are provided on the gaming board 102 for detecting a prize ball that has won a prize ball in which a different number of prize balls are set than a general prize hole, Two winning storage units 411 and 412 are provided, and the number of winnings is counted for each winning opening having a different number of prize balls. The prize detection signal continuously enters the gaming board control device 400 regardless of the presence or absence of the prize ball discharge. Therefore, a prize storage means for storing the number of prize balls is required.

【0029】一方、上記賞球数制御手段420は、光通
信手段410からの信号により排出制御装置600から
賞球数データの要求があったことを知ると、上記入賞記
憶手 段411,412の記憶内容に基づいて賞球数記憶
手段430から排出すべき賞品球数を読み出して決定
し、決定された賞球数データGを光通信手段410に渡
して排出制御装置600に対し賞球数データを送信させ
る。これとともに、賞球数制御手段420は、賞球数デ
ータを一回送信すると入賞記憶手段411または412
の記憶内容を「1」だけ減らす機能を備えている。
On the other hand, the prize balls speed control unit 420 knows that there has been a request for prize balls number data from the emission control device 600 by a signal from the optical communication unit 410, the winning Stories
憶手 stage determined by reading the prize number balls to be discharged from the prize balls number storage unit 430 on the basis of the stored contents of 411 and 412, the discharge control device by passing the determined winning balls count data G to the optical communication unit 410 The prize ball number data is transmitted to 600. At the same time, when the prize ball number control means 420 transmits the prize ball number data once, the winning storage means 411 or 412
Is provided with a function of reducing the stored content of "1" by "1".

【0030】図6には上記遊技盤制御装置400を汎用
のICを使って構成する場合の実施例が示されている。
すなわち、遊技盤制御装置400はマイクロプロセッサ
CPUと、読出し専用メモリROMと、随時読出し書込
み可能なメモリRAMと、シリアル通信用のシリアルイ
ンタフェースSIFと、ゲートアレイからなる入出力バ
ッファBFFと、遊技盤上の表示器やソレノイドの駆動
信号を形成するドライバDRV、賞球別入賞検出器の信
号からノイズを除去して入力するフィルタFLT、各種
効果音を形成するサウンドジェネレータSDGと、サウ
ンドジェネレータSDGの出力を増幅してスピーカ19
0を駆動するアンプAMPとから構成される。
FIG. 6 shows an embodiment in which the game board control device 400 is configured using a general-purpose IC.
That is, the game board control device 400 includes a microprocessor CPU, a read-only memory ROM, a memory RAM readable and writable at any time, a serial interface SIF for serial communication, an input / output buffer BFF including a gate array, and a game board. A driver DRV for forming a drive signal of a display or a solenoid of the present invention, a filter FLT for removing noise from a signal of a prize ball-specific prize detector and inputting the signal, a sound generator SDG for forming various sound effects, and an output of the sound generator SDG. Amplify and speaker 19
And an amplifier AMP for driving 0.

【0031】図5に示されている構成手段のうち、光通
信手段410はシリアルインタフェースSIFによっ
て、入賞記憶手段411,412はRAMによって、ま
た、賞球数記憶手段430はROMによって、賞球数制
御手段440と遊技制御手段450はCPUおよびその
動作プログラムを記憶するROMによって、さらに信号
入出力手段460はドライバDRV、フィルタFLT、
サウンドジェネレータSDGおよびアンプAMPによっ
て、それぞれ構成することができる。なお、RSTは上
記CPUのリセット信号を形成する外付けのリセット回
路、PTRはシリアルインタフェースSIFからの送信
信号(電気信号)を光信号に変換したり、排出制御装置
600からの受信した光信号を電気信号に変換してシリ
アルインタフェースSIFに渡す光トランシーバ/レシ
ーバである。
Of the constituent means shown in FIG. 5, the optical communication means 410 is constituted by a serial interface SIF, the winning storage means 411, 412 is constituted by a RAM, the prize ball storage means 430 is constituted by a ROM, and the number of prize balls is constituted by a ROM. The control means 440 and the game control means 450 are constituted by a CPU and a ROM storing an operation program thereof, and the signal input / output means 460 is constituted by a driver DRV, a filter FLT,
Each can be configured by a sound generator SDG and an amplifier AMP. Note that RST is an external reset circuit for forming a reset signal of the CPU, and PTR is to convert a transmission signal (electric signal) from the serial interface SIF into an optical signal or to convert an optical signal received from the emission control device 600. An optical transceiver / receiver that converts the signal into an electric signal and passes it to the serial interface SIF.

【0032】図7には排出制御装置600の構成例を示
す。この実施例の排出制御装置600は、遊技盤制御装
置400との間の信号の送受信を行なう光通信手段61
0と、セーフセンサ181からの検出信号に基づいて上
記遊技盤制御装置400に対して賞球数データの要求信
号Pを形成する賞球数要求手段620と、賞球数要求に
対して応答がなかった場合に再送要求を行なう再送制御
手段630と、排出すべき賞品球の数を確定する賞球数
確定手段640と、遊技盤制御装置400から賞球数デ
ータOが送信されてこなかった場合の賞球数を与える基
本賞球数設定手段642と、排出ソレノイド741a,
741bを駆動して賞品球の排出や球抜を行なう排出制
御手段650と、玉貸し制御装置500からの玉貸し要
求信号BRQに基づいて玉貸し排出数を演算し排出制御
手段610に知らせる貸し玉排出制御手段670と、賞
品球や貸し玉の排出時に上記光通信手段610に対して
各々の排出音の要求送信を行なうように指示する音要求
発生手段680と、停電時のデータセーブおよびデータ
復帰を行なう停電制御手段690とにより構成されてい
る。
FIG. 7 shows a configuration example of the discharge control device 600. The discharge control device 600 according to this embodiment includes an optical communication unit 61 that transmits and receives signals to and from the game board control device 400.
0, a prize ball number requesting unit 620 for forming a request signal P of prize ball number data to the gaming board control device 400 based on the detection signal from the safe sensor 181, Retransmission control means 630 for making a retransmission request when there is no prize ball, prize ball number determination means 640 for determining the number of prize balls to be ejected, and when prize ball number data O is not transmitted from the game board control device 400 The basic prize ball number setting means 642 for giving the number of prize balls, and the discharge solenoid 741a,
A discharge control means 650 for driving the prize ball 741b to discharge or remove a prize ball; Discharge control means 670, sound request generation means 680 for instructing the optical communication means 610 to transmit a request for each discharge sound when a prize ball or a lending ball is discharged, data saving and data recovery at the time of power failure And a power failure control means 690 for performing the following.

【0033】上記光通信手段610は、遊技盤制御装置
400における光通信手段410と同様シリアルインタ
フェースと光トランシーバ/レシーバとにより構成され
る。排出制御手段650は、賞球排出が終了するごとに
入賞球分離検出装置180内の分離用ソレノイド182
を駆動したり、待機球検出器がオンしていることを条件
に賞球数データO(基本賞球数Q)および排出センサ7
30a,730bからの検出信号に基づいて排出ソレノ
イド741a,741bを駆動して賞品球の排出を行な
ったり、賞品球の排出駆動の際に賞球排出表示器112
を点灯させたり、球抜スイッチ750からのオン信号に
よって賞球排出樋の途中に設けられた流路切り換え弁
(球抜ソレノイド)を切換かつ排出ソレノイド741
a,741bを駆動して貯留タンク151内の予備球を
すべて排出させる制御を行なう。
The optical communication means 610 comprises a serial interface and an optical transceiver / receiver, similar to the optical communication means 410 in the game board control device 400. The discharge control means 650 sets each time the prize ball discharge ends.
Separating solenoid 182 in winning ball separation detecting device 180
, And the prize ball number data O (basic prize ball number Q) and the ejection sensor 7 on condition that the standby ball detector is turned on.
The discharge solenoids 741a, 741b are driven based on the detection signals from the detection balls 30a, 730b to discharge a prize ball, or the prize ball discharge indicator 112 is displayed when the discharge drive of the prize ball is performed.
Is turned on, and a flow path switching valve (ball ejection solenoid) provided in the middle of the prize ball discharge gutter is switched by a turn-on signal from a ball ejection switch 750, and a discharge solenoid 741 is provided.
a, 741b are driven to discharge all the reserve spheres in the storage tank 151.

【0034】また、排出制御手段650は、誘導樋15
2の途中に設けられた待機球検出器160からの検出信
号が入ってくると排出ソレノイド741a,741bの
励磁を保留して球排出装置170による排出を中止する
とともに、排出時には排出指令信号の内容に応じて例え
ば賞品球排出表示ランプ112または貸し玉排出表示ラ
ンプ113を点灯させたり、遊技盤制御装置400に対
して賞品球もしくは貸し玉の排出音要求信号を送出す
る。
The discharge control means 650 is connected to the guiding gutter 15.
When a detection signal from the stand-by ball detector 160 provided in the middle of Step 2 comes in, the excitation of the discharge solenoids 741a and 741b is suspended and the discharge by the ball discharge device 170 is stopped. For example, the prize ball discharge display lamp 112 or the lending ball discharge display lamp 113 is turned on, or a prize ball or lending ball discharge sound request signal is transmitted to the game board control device 400.

【0035】また、上記再送制御手段630は、賞球数
要求時に起動され、所定時間を計時する受信タイマ63
2と、この受信タイマ632がタイムアップする前に賞
球数データを受信しなかった場合に上記賞球数要求手段
620に対して再度要求を行なうよう指令する再送要求
制御手段634と、この再送要求を最高何回まで繰り返
すか設定する再送要求回数設定手段636とから構成さ
れている。上記再送要求制御手段634は、再送要求回
数を計数しそれが設定された回数に達すると、上記基本
賞球数設定手段642から基本賞球数Qを賞球数確定手
段640へ供給するように指令する。上記賞球数要求手
段620は、セーフセンサ181からの検出信号が入っ
てくると賞球数データの要求を行なうようになってい
る。
The retransmission control means 630 is activated when the number of winning balls is requested, and the reception timer 63 counts a predetermined time.
2, retransmission request control means 634 for instructing the prize ball number requesting means 620 to make another request when the prize ball number data is not received before the reception timer 632 times out, and And retransmission request frequency setting means 636 for setting how many times the request is repeated. The retransmission request control means 634 counts the number of retransmission requests, and when the number reaches the set number, supplies the basic prize ball number Q from the basic prize ball number setting means 642 to the prize ball number determination means 640. Command. The prize ball number requesting means 620 requests prize ball number data when a detection signal from the safe sensor 181 is received.

【0036】貸し玉排出制御手段670は、貸し玉への
変換レート(100円分の貸し玉数)を記憶する玉貸数
設定手段(例えばROM)671と、玉貸し制御装置5
00からの玉貸し要求信号BRQおよびカード有無信号
CONと賞球数要求手段620からの賞球排出中を示す
信号Yとに基づいて玉貸排出制御を開始すべきか判定す
る玉貸開始判定手段672と、この玉貸開始判定手段6
72からの玉貸開始要求信号aに基づいて貸し玉の排出
数を上記玉貸数設定手段671より読み出して上記排出
制御手段650に渡す貸し玉排出数決定手段673と、
玉貸し制御装置500に対して玉貸し排出が可能な状態
にあることを知らせる玉貸し可能信号RDYや1回(1
00円分)の貸し玉の排出が終了したことを知らせる貸
し玉排出終了信号EXS、賞球数要求手段620に対し
て貸し玉排出制御中であることを知らせる信号xを形成
する排出制御信号形成部674等から構成されている。
賞球数要求手段620は、セーフセンサ181から入賞
検出信号が入力されても玉貸し排出中であれば、賞球排
出の開始を遅らせる。
The lending ball discharge control means 670 includes a lending number setting means (for example, ROM) 671 for storing a conversion rate to lending balls (the number of lending balls for 100 yen), and a lending control device 5.
Ball lending request signal BRQ and card presence / absence signal from 00
Ball lending start determining means 672 for determining whether ball lending discharge control should be started based on CON and signal Y indicating that award balls are being discharged from prize ball number requesting means 620, and ball lending start determining means 6
A lending ball discharge number determining unit 673 which reads out the lending number of lending balls from the lending ball number setting unit 671 based on the lending ball start request signal a from 72 and transfers the number of lending balls to the discharge control unit 650;
A ball lending enable signal RDY that informs the ball lending control device 500 that the ball lending discharge is in a possible state or a one-time (1
A discharge control signal for forming a lending ball discharge end signal EXS for notifying that the discharge of lending balls (for 00 yen) has ended, and a signal x for notifying the prize ball number requesting means 620 that the lending ball discharge control is being performed. It comprises a part 674 and the like.
The prize ball number requesting unit 620 delays the start of the prize ball discharge if the ball is being discharged even if the prize detection signal is input from the safe sensor 181.

【0037】停電制御手段690は、例えば交流電源の
電源波形の波の数を数えて所定数以下になったときに停
電の発生を検出すると、排出制御手段650内の排出数
を例えば電池によりバックアップされたRAMもしくは
EPROM等の記憶手段693にセーブし、電圧レベル
検出手段等からの信号に基づいて電源電圧の回復を検出
すると、記憶手段693にセーブされていた排出球数を
排出制御手段650内の排出レジスタに復帰させて、停
電により中断された排出を停電回復時に途中から続行さ
せて、残りの球を排出させるように構成されている。
When the power failure control means 690 detects the occurrence of a power failure when the number of waves of the power supply waveform of the AC power supply falls below a predetermined number, for example, the number of discharges in the discharge control means 650 is backed up by, for example, a battery. When the recovery of the power supply voltage is detected based on a signal from the voltage level detecting means or the like, the number of ejected balls saved in the storing means 693 is saved in the storing means 693 such as RAM or EPROM.
It is configured to return to the discharge register in the discharge control means 650, to continue the discharge interrupted by the power failure from the middle when the power failure is recovered, and to discharge the remaining balls.

【0038】図8には上記排出制御装置600を汎用の
ICを使って構成する場合の実施例が示されている。す
なわち、排出制御装置600は、読出し専用メモリRO
Mおよび随時読出し書込み可能なメモリRAM、シリア
ル通信用のシリアルインタフェースを内蔵したシングル
チップマイコンCPUと、排出制御装置600との間の
送受信信号を光信号と電気信号に変換する光トランシー
バ/レシーバPTRと、遊技盤前面の入賞表示器や遊技
盤裏面のソレノイドの駆動信号を形成するドライバDR
V、球排出装置や入賞球分離検出装置内の検出器の信号
からノイズを除去して上記CPUに入力するフィルタF
LTと、玉貸し制御装置500との間の送受信信号の変
換を行なうフォトカプラPC1−PC4とから構成され
る。また、玉貸し制御装置500との間の送受信用信号
線上には、信号線の断線を検出するための回線モニタラ
ンプLED1−LED4が介装されている。
FIG. 8 shows an embodiment in which the discharge control device 600 is configured using a general-purpose IC. That is, the discharge control device 600 controls the read-only memory RO
A single-chip microcomputer CPU having a built-in M and a memory RAM that can be read and written at any time, a serial interface for serial communication, and an optical transceiver / receiver PTR that converts a transmission / reception signal between the emission control device 600 into an optical signal and an electric signal. , A driver DR for generating a drive signal for a winning indicator on the front of the game board or a solenoid on the back of the game board
V, a filter F which removes noise from the signal of the detector in the ball discharging device or the winning ball separation detecting device and inputs the signal to the CPU.
It is composed of LT and photocouplers PC1 to PC4 that convert transmission / reception signals between the ball lending control device 500. Line monitor lamps LED1 to LED4 for detecting disconnection of the signal line are provided on the signal line for transmission and reception with the ball lending control device 500.

【0039】図9は玉貸し制御装置500の構成例を示
す。この実施例の玉貸し制御装置500は、シングルチ
ップマイコン等からなる制御部510と、この制御部5
10とカードリーダ制御装置250との間のデータ送受
信のインターフェースを行なうトランシーバ502と、
セグメント型表示器からなる残高表示器122および挿
入残高表示器220の駆動信号を形成する表示駆動手段
503aおよび503bと、玉貸可能表示ランプ126
および玉貸有効表示ランプ230を駆動するドライブ回
路507b,507aと、返却ボタン124および変換
ボタン123からの信号を受けて上記制御部510に入
力するバッファ504a,504bと、カード管理装置
800に対してカード決済信号jを供給するリレー50
5と、上記変換スイッチ123の一回の操作に対する排
出回数(100円分を最小排出単位とする)を設定する
玉貸し数設定手段506等によって構成されている。
FIG. 9 shows a configuration example of the ball lending control device 500. The ball lending control device 500 of this embodiment includes a control unit 510 including a single-chip microcomputer and the like.
Transceiver 502 for interfacing data transmission and reception between device 10 and card reader control device 250;
Display driving means 503a and 503b for forming drive signals for the balance display 122 and the inserted balance display 220, each of which is a segment type display;
And drive times to drive the ball lending valid display lamp 230
Routes 507b and 507a , buffers 504a and 504b for receiving signals from the return button 124 and the conversion button 123 and inputting them to the control unit 510 , and a relay 50 for supplying a card settlement signal j to the card management device 800.
5 and a ball lending number setting means 506 for setting the number of discharges for one operation of the conversion switch 123 (100 yen as a minimum discharge unit).

【0040】また、上記制御部510は、カードリーダ
制御装置250からのデータを読み込んでカードの残高
データを判定しカードがカードリーダ内に存在すること
を示すカード有無信号CONを出力したり挿入残高表示
器220に対する表示データを形成するカード残高判定
手段511と、玉貸し排出があったときにカード残高を
減算して残高表示器220に対する表示データを形成し
たりカードリーダ制御装置250に対する書込データや
指令を形成するカード残高減算手段512と、返却ボタ
ン124がオンされたりカード残高が「0」になったり
排出エラーがあったときにカードリーダ制御装置250
に対しカード返却指令を与えるカード返却要求手段51
3と、排出制御装置600からの玉貸し排出終了信号E
XSに基づいて1単位分の玉貸しがあったことをカード
管理装置装置800に知らせるためのカード使用情報出
力手段514と、変換ボタン123からの変換要求信号
が入ったときにカード残高や玉貸し可能信号RDY等に
基づいて玉貸しが可能か否か判定する玉貸可能判定手段
515と、玉貸し数設定手段506の設定数と排出終了
信号EXSに基づいて残りの玉貸し排出回数を決定する
玉貸し回数制御手段516と、玉貸可能判定手段515
からの玉貸し要求信号の発生を許可する制御信号と玉貸
し回数制御手段516からの信号に基づいて上記排出制
御装置600に対する玉貸し要求信号BRQを発生する
玉貸要求信号形成手段517等から構成されている。
The control unit 510 reads the data from the card reader control unit 250 to determine the balance data of the card, outputs a card presence / absence signal CON indicating that the card is present in the card reader, and outputs the inserted balance. Card balance determination means 511 for forming display data for the display 220; and card balance subtraction when ball lending is performed to form display data for the balance display 220 or write data for the card reader control device 250. And a card balance subtracting means 512 for forming a command and a card reader controller 250 when the return button 124 is turned on, the card balance becomes "0", or a discharge error occurs.
Return request means 51 for giving a card return command to
3 and a ball lending discharge end signal E from the discharge control device 600
A card use information output unit 514 for notifying the card management device 800 that one unit of a ball has been lent based on the XS, and a card balance and a ball lending when a conversion request signal from the conversion button 123 is input. A ball lending possibility determining unit 515 that determines whether ball lending is possible based on the possible signal RDY and the like, and the remaining ball lending discharge number is determined based on the number set by the ball lending number setting unit 506 and the discharge end signal EXS. Ball lending frequency control means 516 and ball lending possibility determination means 515
Control signal for permitting the generation of ball lending request signal from the ball lending
Generating a ball lending request signal BRQ for the emission control device 600 based on a signal from the count control means 516
It comprises a ball lending request signal forming means 517 and the like.

【0041】また、この実施例では、上記玉貸し要求信
号BRQに基づいて計測を開始するタイマ手段を有し、
上記玉貸し要求信号BRQと玉貸し排出終了信号EXS
とから、玉貸し要求送信後所定時間内に排出が開始され
なかったり玉貸し排出開始後所定時間内に一連の玉貸し
排出が終了しなかった場合に、排出エラーと判定して上
記カード返却要求手段513に対してカード返却指令を
与える排出開始時間監視手段518および排出時間監視
手段519が設けられている。さらに、玉貸し可能判定
手段515は、上記カード残高判定手段511からの信
号および排出制御装置600からの玉貸し可能信号RD
Yに基づいてドライブ回路507bを駆動して、上記玉
貸し変換ボタン124が有効である間だけ玉貸し可能表
示ランプ126を点灯させ、玉貸し排出が実行されてい
る間は玉貸し可能表示ランプ126を消灯させるように
なっている。なお、上記玉貸し数設定手段506はRO
Mのような記憶手段もしくはスライドスイッチのような
設定器によって構成することができる。
In this embodiment, the ball lending request signal
A timer means for starting measurement based on the signal BRQ,
The ball lending request signal BRQ and the ball lending discharge end signal EXS
From the above, if the discharge does not start within a predetermined time after the ball lending request is transmitted or if the ball lending discharge is not completed within a predetermined time after the ball lending discharge is started, it is determined that a discharge error has occurred and the card return request is made. A discharge start time monitoring means 518 and a discharge time monitoring means 519 for giving a card return command to the means 513 are provided. Further, the ball lending possibility determining means 515 includes a signal from the card balance determining means 511 and a ball lending possible signal RD from the discharge control device 600.
The drive circuit 507b is driven based on Y to turn on the ball lending possible display lamp 126 only while the ball lending conversion button 124 is valid, and while the ball lending discharge is being performed, the ball lending possible display lamp 126 Is turned off. In addition, the ball lending number setting means 506 is RO
It can be constituted by a storage means such as M or a setting device such as a slide switch.

【0042】図10には上記玉貸し制御装置500を汎
用のICを使って構成する場合の実施例が示されてい
る。すなわち、玉貸し制御装置500は、読出し専用メ
モリROMおよび随時読出し書込み可能なメモリRA
M、シリアル通信用のシリアルインタフェースSIFを
内蔵したシングルチップマイコンCPUと、カードリー
ダ制御装置250との間のシリアル通信を行なうトラン
シーバTRSと、セグメント型残高表示器122(挿入
残高表示器220)の駆動信号を形成するフォトカプラ
型ドライバDRV11,DRV12(DRV13,DR
V14)と、玉貸し変換スイッチからの信号をCPUに
入力するためのフォトカプラPC21、玉貸し可能表示
器126の駆動信号を形成するフォトカプラ型ドライバ
DRV21と、排出制御装置600との間の送受信信号
の変換を行なうフォトカプラPC11−PC14と、玉
貸し数設定用スイッチ列SW−ARYと、カード管理装
置800に対してカード決済信号jを供給するリレーR
LY等から構成される。また、排出制御装置600との
間の送受信用信号線上には、信号線の断線を検出するた
めの回線モニタランプLED11−LED14が介装さ
れている。
FIG. 10 shows an embodiment in which the ball lending control device 500 is configured using a general-purpose IC. That is, the ball lending control device 500 includes a read-only memory ROM and a read-write memory RA as needed.
M, a single-chip microcomputer CPU having a built-in serial interface SIF for serial communication, a transceiver TRS for performing serial communication with the card reader control device 250, and driving of the segment type balance display 122 (insertion balance display 220). Photocoupler type drivers DRV11, DRV12 (DRV13, DRV13) for forming signals
V14), transmission / reception between the photocoupler PC21 for inputting a signal from the ball rental conversion switch to the CPU, a photocoupler driver DRV21 for forming a drive signal for the ball lending possible display 126, and the discharge control device 600 Photocouplers PC11-PC14 for signal conversion, ball lending number setting switch array SW-ARY, and relay R for supplying card settlement signal j to card management device 800
LY and the like. Line monitor lamps LED11-LED14 for detecting disconnection of the signal line are interposed on the signal line for transmission and reception with the discharge control device 600.

【0043】次に、上述した遊技盤制御装置400によ
って行なわれる遊技盤全体の制御手順の一例を図11を
参照して詳細に説明する。この制御フローは、遊技盤制
御装置400の電源が投入されたあとタイマ割込みによ
り所定時間(例えば2msec)毎に実行される。この
割込み処理が開始されると、先ず、遊技盤102に設け
られている賞球別入賞検出器490その他各種スイッチ
(センサを含む)からの信号を読み込むスイッチ入力処
理を行なう(ステップS80)。次に、リセット回路R
STからのパワーオンリセット信号をチェックして電源
が投入されたか判定する(ステップS81)。そして、
電源が投入されたと判定すると、RAMや入出力ポート
の初期化を行なって割込み処理を終了する(ステップS
82)。
Next, an example of a control procedure of the entire game board performed by the game board control device 400 will be described in detail with reference to FIG. This control flow is executed every predetermined time (for example, 2 msec) by a timer interrupt after the power of the game board control device 400 is turned on. When the interrupt process is started, first, a switch input process of reading signals from a prize ball-specific prize detector 490 provided on the game board 102 and other various switches (including sensors) is performed (step S80). Next, the reset circuit R
The power-on reset signal from the ST is checked to determine whether the power has been turned on (step S81). And
If it is determined that the power has been turned on, the RAM and the input / output ports are initialized, and the interrupt processing ends (step S).
82).

【0044】一方、ステップS81で“No”すなわち
電源投入済みであると判定すると、ステップS83へ移
行して、賞球別入賞検出器490の検出信号の計数や排
出制御装置600からの賞球数データ要求に対して応答
する賞球処理(図12参照)を行なってから、遊技機内
の各種スイッチやセンサの信号に基づいて不正がなされ
ていないか調べる不正検出処理(ステップS84)を実
行した後、この不正検出処理中で設定されるフラグをチ
ェックして不正があったか否か判定する(ステップS8
5)。
On the other hand, if "No" in step S81, that is, it is determined that the power has been turned on, the process proceeds to step S83 to count the detection signal of the prize-ball-specific prize detector 490 and to determine the number of prize balls from the discharge control device 600. After performing the prize ball processing (see FIG. 12) in response to the data request, and after executing fraud detection processing (step S84) for checking whether or not fraud has been performed based on signals from various switches and sensors in the gaming machine. By checking the flag set during the fraud detection processing, it is determined whether or not fraud has occurred (step S8).
5).

【0045】ステップS85で不正が検出されると、ス
テップS86で遊技機に設けられている表示器を点滅さ
せたり、スピーカ190を駆動して警報を発するなどの
不正動作処理を実行する。ステップS85で不正なしと
判定すると、ステップS87へ移行して遊技盤102に
設けられている役物を駆動したり表示器を点灯、消灯し
たり、スピーカにより効果音を発生させるために出力ポ
ートを設定するゲーム処理を行なってから、その出力ポ
ートの状態を出力させる出力処理(ステップS88)
行なう。
If a fraud is detected in step S85, fraudulent operation processing such as blinking a display provided in the gaming machine or driving a speaker 190 to issue an alarm is executed in step S86. If it is determined in step S85 that there is no fraud, the process proceeds to step S87 to drive an accessory provided on the game board 102, turn on / off the display, and set an output port for generating a sound effect by a speaker. After performing the game process to be set, an output process (step S88) for outputting the state of the output port is performed.

【0046】しかるのち、ステップS89で排出制御装
置600から玉貸音要求信号を受信しているか判定し、
受信していればスピーカー190に対する玉貸排出音の
出力処理を行なう(ステップS90)。また、受信して
いなければ次のステップS91で排出制御装置600か
ら賞球音要求信号を受信しているか判定し、受信してい
ればそのまま割込み処理を終了し、受信していれば、
球排出音の出力処理を行なって当該割込み処理を終了す
る(ステップS92)。
Thereafter, in step S89, it is determined whether or not a ball lending request signal has been received from the discharge control device 600.
If it has been received, the process of outputting the ball lending discharge sound to the speaker 190 is performed (step S90). Also receive
If not, in the next step S91 the discharge control device 600
Judge whether a prize ball sound request signal is received, and
If so, the interruption process is terminated, and if received, the prize ball output sound is output and the interruption process is terminated (step S92).

【0047】図12には、上記各種処理のうち賞球処理
の制御手順の一例が示されている。この賞球処理では、
先ずステップS801,S803で遊技盤102に設け
られている2つの賞球別入賞検出器490(以下、賞球
判別SW1,SW2と記す)がそれぞれオンされたか判
定する。この実施例では、賞球判別SW1は1つの入賞
球に対して7個の賞品球を与える入賞口に設けられ、賞
球判別SW2は1つの入賞球に対して10個の賞品球を
与える入賞口に設けられているものとする。
FIG. 12 shows an example of a control procedure of the prize ball processing among the various processings. In this prize ball processing,
First, in steps S801 and S803, it is determined whether or not two prize-ball-specific prize detectors 490 (hereinafter, referred to as prize-ball discriminating switches SW1 and SW2) provided on the game board 102 are turned on. In this embodiment, the prize ball discriminating switch SW1 is provided in a prize port for giving seven prize balls to one winning ball, and the prize ball discriminating SW2 is provided for giving 10 prize balls to one winning ball. It shall be provided in the mouth.

【0048】上記ステップS801またはS803で賞
球判別SW1またはSW2がオンされたと判定すると、
ステップS805またはS807へ移行して7個賞球の
入賞記憶または10個賞球の入賞記憶をそれぞれ「1」
だけ増加させる。それから、ステップS809へ進ん
で、シリアルインタフェースSIF内のフラグを調べ
て、排出制御装置600から賞球数データの要求が入っ
ているか判定し、データの要求がなければステップS8
27を経て終了する。
If it is determined in step S801 or S803 that the winning ball determination SW1 or SW2 has been turned on,
The process proceeds to step S805 or S807, and the winning memory of the seven prize balls or the winning memory of the ten prize balls is “1”, respectively.
Just increase. Then, the program proceeds to step S809, checks the flag in the serial interface SIF, it determines whether contains the request for the prize balls number data from the emission control device 600, step S8 if there is no data request
After 27, the processing ends.

【0049】一方、ステップS809で“Yes”すな
わち賞球数データの要求があると判定すると、ステップ
S811へ移行して上記ステップS805で加算される
7個賞球の入賞記憶が「0」か否か調べ、「1」以上な
ステップS817で送信バッファに賞球数データとし
て「7個排出」を設定し、7個賞球フラグを“1”に
ットして(ステップS819)からステップS825へ
移行して上記送信バッファに設定された賞球数データを
シリアルインタフェースSIF内のレジスタに書き込ん
で終了する。
On the other hand, if "Yes" in step S809, that is, it is determined that there is a request for prize ball number data, the flow shifts to step S811 to determine whether or not the winning memory of the seven prize balls added in step S805 is "0". or examined, "1" is set to "7 discharged" as above if winning balls number of data in the transmission buffer in step S817, cell to "1" seven award balls flag
(Step S819), the process proceeds to Step S825, and the award ball number data set in the transmission buffer is written to the register in the serial interface SIF, and the processing is terminated.

【0050】また、上記ステップS811で7個賞球の
入賞記憶が「0」と判定すると、ステップS813へ進
み、上記ステップS807で加算される10個賞球の入
賞記憶が「0」か否か調べる。そして、「1」以上なら
ステップS821で送信バッファに賞球数データとして
「10個排出」を設定し、10個賞球フラグを“1”に
セットして(ステップS823)上記10個賞球の入賞
記憶を「1」だけ減算してからステップS825へ移行
して上記送信バッファに設定された賞球数データをシリ
アルインタフェースSIF内のレジスタに書き込んで終
了する。
If it is determined in step S811 that the winning memory of the seven prize balls is "0", the flow advances to step S813 to determine whether the winning memory of the ten prize balls added in step S807 is "0". Find out. If it is equal to or more than "1", "10 discharge" is set in the transmission buffer as prize ball number data in step S821, and the 10 prize ball flag is set to "1".
And set (step S823) winning storage above SL 10 prize balls "1" only shifts from subtracting to step S825 prize counts data set in the transmission buffer in a register in the serial interface SIF Write and exit.

【0051】さらに、上記ステップS811,S813
のいずれの判定でも“Yes”のときはステップS81
5で送信バッファに賞球数データとして「15個排出」
を設定してからステップS825へ移行して上記送信バ
ッファに設定された賞球数データをシリアルインタフェ
ースSIF内のレジスタに書き込んで終了する。
Further, the above steps S811, S813
Is " Yes " in any of the determinations in step S81.
5 "Eject 15" as award ball number data in the transmission buffer
Then, the process proceeds to step S825 , in which the award ball number data set in the transmission buffer is written into a register in the serial interface SIF, and the processing is terminated.

【0052】それから、再びこのサブルーチンに来たと
きにステップS827で賞球数データの送信が終了した
か判定し、“Yes”ならステップS819でセットさ
れる7個賞球フラグが“1”にされているか判定する
(ステップS829)。ここで、7個賞球フラグが
“1”なら7個賞球の入賞記憶を「1」だけ減算してか
ら7個賞球フラグを“0”にクリアする(ステップS8
31,S833)。また、上記ステップS829で“N
o”と判定されると、ステップS835へ移行してステ
ップS823でセットされる10個賞球フラグが“1”
にされているか判定する。ここで、10個賞球フラグが
“1”なら10個賞球の入賞記憶を「1」だけ減算して
から10個賞球フラグを“0”にクリアして終了する
(ステップS837,S839)。
Then, when it comes to this subroutine again
In step S827, it is determined whether the transmission of the award ball count data has been completed. If "Yes", it is determined whether the seven award ball flags set in step S819 are set to "1" (step S829). Here, if the seven prize balls flag is "1", the winning memory of the seven prize balls is subtracted by "1", and then the seven prize balls flag is cleared to "0" (step S8).
31, S833). Also, in step S829, “N
If it is determined to be "o", the process proceeds to step S835, and the ten prize balls flag set in step S823 is set to "1".
Is determined. Here, if the 10 prize balls flag is "1", the winning memory of the 10 prize balls is subtracted by "1", then the 10 prize balls flag is cleared to "0" and the processing is ended (steps S837, S839). .

【0053】上記のようにこの実施例では、賞球数設定
(ステップS817,S821)後に各賞球フラグを
“1”にセットし、賞球数記憶を減算(ステップS83
1,S837)したのちに各賞球フラグをクリアしてい
るのは、賞球数設定(ステップS817,S821)後
に直ちに各賞球数記憶を減算したのでは送信エラーによ
って実際に賞球数データが送信されなかった場合にも賞
球数記憶が減算されてしまうので、その不都合を回避す
るためである。
As described above, in this embodiment, after setting the number of prize balls (steps S817 and S821), each prize ball flag is set to "1", and the memory of the number of prize balls is subtracted (step S83).
The reason why each prize ball flag is cleared after (1, S837) is that if each prize ball number storage is subtracted immediately after the prize ball number setting (steps S817 and S821), the prize ball number data is actually lost due to a transmission error. This is to avoid the inconvenience because the prize ball number memory is decremented even if is not transmitted.

【0054】次に、カードリーダ250に対する制御信
号や残高表示器122の駆動信号およびパチンコ遊技機
に設けられた玉貸し変換ボタン123からの信号によっ
て上記排出制御装置600に対する玉貸し要求信号等を
形成して出力する上記玉貸し制御装置500の制御手順
を図13ないし図22を参照して詳細に説明する。図1
3には、上記玉貸し制御装置のメインルーチンの概略が
示されている。このメインルーチンは、玉貸し制御装置
500の電源が投入されると繰返し実行される。
Next, a control signal to the card reader 250, a drive signal of the balance display 122, and a signal from the ball lending conversion button 123 provided on the pachinko game machine are transmitted.
The control procedure of the ball lending control device 500 that forms and outputs a ball lending request signal and the like to the discharge control device 600 will be described in detail with reference to FIGS. FIG.
3 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.

【0055】電源が立上がると、先ず、RAMのクリア
やフラグの設定、出力バッファのリセット等の初期設定
を行なう(ステップS8002)。次のステップS80
04では玉貸し可能表示器126を一旦消灯状態にさ
せ、残高表示器122には残高ゼロ(3桁表示の場合に
は“000”)の表示を行なわせる駆動信号を形成し出
力する(ステップS8006)。
When the power supply is turned on, first, initial settings such as clearing the RAM, setting flags, resetting the output buffer, and the like 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). ).

【0056】それから、次のステップへ進み、玉貸し処
理(ステップS8008)、返却処理(ステップS80
10)、ファンクション送受信処理(ステップS801
2)および決済信号出力処理(ステップS8014)の
4つの処理を、互いに並行して同時進行的に行なう。図
14および図15には、上記メインルーチン(図13)
のステップS8008で実行される玉貸し処理の具体的
手順の一例が示されている。
Then, the process proceeds to the next step, where a ball lending process (step S8008) and a return process (step S80)
10), function transmission / reception processing (step S801)
The two processes of 2) and the settlement signal output process (step S8014) are performed concurrently and simultaneously. FIGS. 14 and 15 show the main routine (FIG. 13).
An example of a specific procedure of the ball lending process executed in step S8008 is shown.

【0057】この処理が開始されると、まず排出制御装
置600から送られてくる玉貸可能信号RDYを調べて
信号が立ち下がったか否か判定する(ステップS810
2)。そして、“No”すなわち玉貸可能信号RDYが
立ち下がっていないときはステップS8104へ進ん
で、玉貸可能信号RDYを調べて信号が立ち上がったか
否か判定する。玉貸可能信号RDYは排出制御装置60
0が貯留タンク151内の玉不足または遊技盤の打止め
状態を検知した場合に、ロウレベルに変化される信号で
あり、システムの電源が投入され排出制御装置600の
制御が開始されるときには、玉貸可能信号RDYがハイ
レベル状態にされる。そのため、玉貸し制御装置500
がステップS8104でこの信号の立上りを検知して
“Yes”と判定すると、ステップS8106へ移行し
てカードリーダ制御装置250に対するカード受付可能
を知らせるファンクションコードの送信予約をした後、
ステップS8102へ戻る。
When this process is started, first, the ball lending enable signal RDY sent from the discharge control device 600 is checked to determine whether or not the signal has fallen (step S810).
2). If "No", that is, if the ball lending enable signal RDY has not fallen, the process proceeds to step S8104, and the ball lending enable signal RDY is checked to determine whether the signal has risen. The ball lending enable signal RDY is output from the discharge control device 60.
0 is a signal that is changed to a low level when the shortage of balls in the storage tank 151 or the hit state of the game board is detected. When the system is powered on and the control of the discharge control device 600 is started, The lendable signal RDY is set to the high level state. Therefore, the ball lending control device 500
If the rising edge of this signal is detected in step S8104 and the determination is "Yes", the flow advances to step S8106 to reserve a function code for notifying the card reader control device 250 that the card can be accepted.
It returns to step S8102.

【0058】次に、再びステップS8102−S810
4と進んでステップS8104で“No”と判定する
と、ステップS8108へ進み玉貸し可能表示器126
(玉貸し可能表示ランプ126と同義、以下同様)が点
灯しているか調べる。この玉貸し可能表示器126は、
後述のファンクション送受信処理(図17,18)にお
いて、カードリーダ制御装置250からカード金額を受
信したときに点灯されるランプである。従って、カード
リーダにカードが挿入される前は、ステップS8108
での判定は“No”となってステップS8102へ戻っ
て上記ステップを繰り返す。
Next, steps S8102-S810 are performed again.
If the determination is "No" in step S8104, the flow advances to step S8108, and the ball lending available indicator 126 is displayed.
(Synonymous with the ball lending possible display lamp 126; the same applies hereinafter) is checked. This ball lending possible display 126,
This lamp is turned on when a card amount is received from the card reader control device 250 in a function transmission / reception process (FIGS. 17 and 18) described later. Therefore, before the card is inserted into the card reader, step S8108
Is "No" and returns to step S8102 to repeat the above steps.

【0059】そして、カードリーダにカードが挿入さ
れ、カードリーダ制御装置250からカード金額が送信
されて玉貸し可能表示器126が点灯されると、ステッ
プS8108での判定が“Yes”となってステップS
8110へ進む。ステップS8110では、上記玉貸可
能信号RDYがハイレベルであるか確認して“Yes”
なら次のステップS8112へ移行し、“No”ならス
テップS8102へ戻る。
When the card is inserted into the card reader, the card amount is transmitted from the card reader control device 250, and the lending possible indicator 126 is turned on, the determination in step S8108 becomes "Yes" and the step S
Proceed to 8110. In step S8110, it is determined whether the ball lending enable signal RDY is at a high level and “Yes”
If it is, the process shifts to the next step S8112, and if "No", the process returns to step S8102.

【0060】一方、ステップS8102で玉貸可能信号
RDYの立下がりを検出すると、ステップS8103へ
移行して玉貸可能表示器126が点灯中か調べる。そし
て、点灯していればステップS8105へ進み、玉貸可
能表示器126を消灯させ磁気書込ファンクション送信
予約(ステップS8107)を行なってから、またステ
ップS8103の判定で“No”の時はそのままステッ
プS8109へ進んで、カード受付不能を示す受付不可
ファンクションの送信予約を行なってステップS810
2へ戻る。排出制御装置600が貯留タンク151内の
玉不足または遊技盤の打止め状態を検知した場合に、玉
貸可能信号RDYがロウレベルに立ち下がるためであ
る。
On the other hand, if the fall of the ball lending possible signal RDY is detected in step S8102, the flow shifts to step S8103 to check whether the ball lending possible display 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 S810.
Return to 2. This is because the ball lending enable signal RDY falls to a low level when the discharge control device 600 detects a shortage of balls in the storage tank 151 or a hit state of the game board.

【0061】上記ステップS8110で“Yes”すな
わち玉貸可能信号RDYがハイレベルであると確認する
と、ステップS8112へ進み、変換スイッチからの信
号を見て玉貸し変換ボタン123がオンされているか否
か判定する。ここで、“Yes”ならステップS811
4へ移行してカードの残金が、玉貸し数設定器506に
設定された玉貸し数に相当する金額よりも多いか否か判
定する。そして、カードの金額の方が多いときは、ステ
ップS8116へ移行して払出回数レジスタに設定玉貸
し数をセットし、カードの金額の方が少ないときにはス
テップS8118へ進んで、払出回数レジスタにカード
残金をセットしてから、図15のステップS8130へ
移行する。
If "Yes" in step S8110, that is, if it is confirmed that the ball lending enable signal RDY is at a high level, the flow advances to step S8112 to check whether or not the ball lending conversion button 123 is turned on based on the signal from the conversion switch. judge. Here, if “Yes”, the process proceeds to step S811.
The process proceeds to 4 to determine whether or not the balance of the card is greater than the amount corresponding to the number of ball lending set in the ball lending number setting device 506. If the amount of the card is larger, the flow advances to step S8116 to set the number of balls to be set in the number-of-payouts register. Then, the flow shifts to step S8130 in FIG.

【0062】また、ステップS8112で“No”すな
わち玉貸し変換ボタン123がオフであると判定される
と、ステップS8120へ移行して返却スイッチからの
信号を見て返却ボタン124がオンされているかか否か
判定する。ここで、“Yes”ならステップS8122
へ移行して玉貸可能表示器126を消灯させ、磁気書込
ファンクションの送信予約を行なってから(ステップS
8124)、ステップS8126へ進んで、カードリー
ダからカードを排出させる排出ファンクションの送信予
約を行なってステップS8102へ戻る。一方、上記ス
テップS8120で返却ボタン124がオフされている
と判定すると、何もせずにステップS8102へ戻る。
If "No" in step S8112, that is, it is determined that the ball lending conversion button 123 is off, the process advances to step S8120 to check whether the return button 124 is on by watching the signal from the return switch . Determine whether or not. Here, if “Yes”, the process proceeds to step S8122.
And the ball lending possible indicator 126 is turned off, and the transmission of the magnetic writing function is reserved (step S
8124), the flow advances to step S8126 to reserve transmission of an ejection function for ejecting the card from the card reader, and returns to step S8102. On the other hand, if it is determined in step S8120 that the return button 124 has been turned off, the process returns to step S8102 without doing anything.

【0063】図15のステップS8130へ移行して来
ると、まず玉貸し可能表示器126を消灯させてから、
排出制御装置600に対する玉貸要求信号BRQをロウ
レベルにアサートして、排出終了信号EXSの応答待ち
のEXSタイマ(10秒)をセットする(ステップS8
132,S8134)。それから、EXSタイマがゼロ
になったか判定し、“No”なら排出制御装置600か
らの排出終了信号EXSが立ち下がったか判定する(ス
テップS8136,S8138)。そして、“Yes
なら上記EXSタイマが10m秒経過したか否か判定す
る(ステップS8140)。ここで、排出終了信号EX
Sが立ち下がる前にEXSタイマがタイムアップしたと
判定すると、ステップS8172へ進み、磁気書込ファ
ンクションの送信予約を行なってから、カード排出ファ
ンクションの送信予約を行なってステップS8102へ
戻る(ステップS8174)。排出制御装置600に対
する玉貸要求を行なってから10秒経過しても排出終了
信号が帰って来ないのは異常が発生しているためと考え
られるからである。
When the process proceeds to step S8130 in FIG. 15, the ball lending possible display 126 is first turned off, and then
Assert the ball lending request signal BRQ to the discharge control device 600 to a low level, and set an EXS timer (10 seconds) waiting for a response to the discharge end signal EXS (step S8).
132, S8134). Then, it is determined whether the EXS timer has reached zero, and if "No", it is determined whether the discharge end signal EXS from the discharge control device 600 has fallen (steps S8136, S8138). And " Yes "
If it is, it is determined whether or not the EXS timer has passed 10 ms (step S8140). Here, the discharge end signal EX
If it is determined that the EXS timer has expired before S falls, the flow advances to step S8172 to make a transmission reservation for the magnetic writing function, make a transmission reservation for the card ejection function, and return to step S8102 (step S8174). . The reason why the discharge end signal does not return even if 10 seconds have passed since the ball lending request was made to the discharge control device 600 is because an abnormality has occurred.

【0064】一方、EXSタイマがタイムアップする前
に排出終了信号EXSが立ち下がりかつEXSタイマが
10m秒経過していると、次のステップS8142へ移
行して再びEXSタイマを10秒にセットする。それか
ら、EXSタイマがゼロになったか判定し、“No”な
ら排出制御装置600からの排出終了信号EXSが立ち
上がったか判定する(ステップS8144,S814
6)。そして、“Yes”なら上記EXSタイマが20
0m秒経過したか否か判定する(ステップS814
8)。ここで、排出終了信号EXSが立ち上がる前にE
XSタイマ(10秒)がタイムアップしたと判定する
と、ステップS8172へ進み、磁気書込ファンクショ
ンの送信予約を行なってから、カード排出ファンクショ
ンの送信予約を行なってステップS8102へ戻る(ス
テップS8174)。排出制御装置600からの排出終
了信号EXSは、球排出装置170の構造からロウレベ
ルに立ち下がってから平均で約1秒経過すると立ち上が
ることが分かっているので、排出終了信号EXSがロウ
レベルに立ち下がってから10秒経過してもハイレベル
に立ち上がらないのは異常が発生しているためと考えら
れるからである。
On the other hand, if the discharge end signal EXS falls before the EXS timer times out and the EXS timer has passed 10 ms, the flow shifts to the next step S8142 to set the EXS timer again to 10 seconds. Then, it is determined whether the EXS timer has reached zero, and if “No”, it is determined whether the discharge end signal EXS from the discharge control device 600 has risen (steps S8144, S814).
6). If “ Yes ”, the EXS timer is set to 20
It is determined whether 0 ms has elapsed (step S814)
8). Here, E is set before the discharge end signal EXS rises.
If it is determined that the XS timer (10 seconds) has expired, the flow advances to step S8172 to make a transmission reservation for the magnetic writing function, make a transmission reservation for the card ejection function, and return to step S8102 (step S8174). Since it is known that the discharge end signal EXS from the discharge control device 600 rises about 1 second on average after falling to the low level due to the structure of the ball discharge device 170, the discharge end signal EXS falls to the low level. The reason why the signal does not rise to the high level even after 10 seconds has elapsed is considered to be that an abnormality has occurred.

【0065】EXSタイマがタイムアップする前に排出
終了信号EXSが立ち上がりかつEXSタイマが200
m秒(この時間内排出が終了するはずはないため)経過
していると、次のステップS8150へ移行してタイマ
を75m秒にセットする。それから、そのタイマがゼロ
になったか判定し(ステップS8152)、タイムアッ
プすると次のステップS8154へ移行して再びタイマ
を250m秒にセットする。
Before the EXS timer times out, the discharge end signal EXS rises and the EXS timer
If m seconds have elapsed (because the discharge is not completed within this time), the process moves to the next step S8150 and the timer is set to 75 ms. Then, it is determined whether the timer has reached zero (step S8152), and when the time is up, the process moves to the next step S8154 and the timer is set again to 250 ms.

【0066】次のステップS8158では、カード残高
(度数)を「1」だけ減らしてから、カード管理装置8
00に対する決済信号j(パルス)の出力カウンタを
「1」だけ増加させる(ステップS8160)。それか
ら、ステップS8162へ進んで払出回数を「1」だけ
減算したのち、払出回数が「0」になったか否か判定し
(ステップS8164)、“No”なら上記ステップS
8158でセットしたタイマ(250m秒)がタイムア
ップしたか判定し(ステップS8170)、タイムアッ
プした時点で上記ステップS8134へ戻って上記手順
を繰り返して再度EXSタイマをセットして排出制御装
置600から応答(EXS信号)を待つ。これによっ
て、1回の玉貸要求があると、玉貸し設定数(上記では
「3」)分だけ排出を繰り返すまで玉貸要求信号BRQ
が続けてロウレベルにアサートされるようになる。
In the next step S8158, after reducing the card balance (frequency) by “1”, the card management device 8
The output counter of the settlement signal j (pulse) for 00 is incremented by “1” (step S8160). Then, the process proceeds to step S8162, and after the number of payouts is subtracted by “1”, it is determined whether or not the number of payouts is “0” (step S8164).
It is determined whether the timer (250 ms) set in 8158 has expired (step S8170). When the time has elapsed, the process returns to step S8134, repeats the above procedure, sets the EXS timer again, and responds from the discharge control device 600. (EXS signal). Thus, if there is one ball lending request, the ball lending request signal BRQ is repeated until the discharge is repeated for the set number of ball lending ("3" in the above).
Will be asserted to the low level continuously.

【0067】一方、ステップS8164で“Yes”す
なわち払出回数が「0」のときはステップS8165へ
移行して玉貸要求信号BRQをハイレベルにネゲートす
る。これによって、最後に排出終了信号EXSが立ち上
がってから75m秒経過してから玉貸要求信号BRQが
ハイレベルに変化されるようになる。それから、(ステ
ップS8166へ進んでカード残高がゼロになったか否
か判定し、ゼロのときはステップS8172へ移行して
磁気書込ファンクションとカード排出ファンクションの
送信予約(ステップS8174)をしてから、最初のス
テップS8102へ戻る。これによって、遊技中、カー
ドをカードリーダ内に保持させておいても、カード残高
が「0」になると自動的にカードがカードリーダより排
出され、遊技者はカード残高が「0」になったことを速
やかに知ることができる。また、磁気書込ファンクショ
ンの送信予約の際には、送信バッファ内に書込みファン
クションコードとともにカード残高データをテキストと
して入れておく。
On the other hand, if "Yes" in step S8164, that is, if the number of payouts is "0", the flow shifts to step S8165 to negate the ball lending request signal BRQ to a high level. As a result, the ball lending request signal BRQ is changed to the high level after 75 m seconds have elapsed since the last time the discharge end signal EXS has risen. Then, the flow advances to step S8166 to determine whether or not the card balance has become zero. If the balance has become zero, the flow shifts to step S8172 to execute the magnetic writing function and the card discharging function.
After making a transmission reservation (step S8174), the process returns to the first step S8102. Thereby, even if the card is held in the card reader during the game, when the card balance becomes "0", the card is automatically ejected from the card reader, and the card balance becomes "0" for the player. You can know that quickly. When making a transmission reservation for the magnetic writing function, the card balance data is written as text along with the write function code in the transmission buffer.

【0068】一方、上記ステップS8166でカード残
高が「0」でないと判定すると、ステップS8168へ
進んで、玉貸排出処理が終了し次の玉貸し変換ボタンの
操作が可能であることを表示すべく玉貸可能表示器12
6を点灯させてから最初のステップS8102へ戻る。
図16には、上記メインルーチン(図13)のステップ
S8010で実行されるカードの返却処理の具体的手順
の一例が示されている。
On the other hand, if it is determined in step S8166 that the card balance is not "0", the flow advances to step S8168 to display that the ball lending discharge processing is completed and the next ball lending conversion button can be operated. Ball lending possible display 12
6 is turned on, and the process returns to the first step S8102.
FIG. 16 shows an example of a specific procedure of the card return process executed in step S8010 of the main routine (FIG. 13).

【0069】この処理が開始されると、まず返却ボタン
124がオンされているか判定し(ステップS820
2)、“Yes”ならステップS8204へ進んで玉貸
可能表示器126が点灯されているか調べる。この玉貸
可能表示器126はカードがカードリーダに挿入され、
玉貸し変換ボタン123が有効な場合に点灯されるラン
プであり、ステップS8204で“Yes”すなわちラ
ンプ点灯と判定すると、ステップS8206へ進み、こ
の玉貸可能表示器126を消灯させてから、磁気書込フ
ァンクション送信予約およびカードの排出ファンクショ
ン送信予約を行い(ステップS8208,S821
0)、有効表示ランプ230を消灯して挿入残高表示器
220(3桁表示)に「000」を表示させ(ステップ
S8212,S8214)た後、上記ステップS820
2へ戻って次に返却ボタンがオンされるのを待つ。この
ファンクションをカードリーダが受信することによっ
て、カードリーダ内からカードが排出される。しかる
後、有効表示ランプ230を消灯させ、挿入残高表示器
220の表示(3けた)を「000」に変更する(ステ
ップS8212,S8214)。
When this process is started, it is first determined whether or not the return button 124 has been turned on (step S820).
2) If "Yes", the flow advances to step S8204 to check whether or not the ball lending available indicator 126 is turned on. This ball lending possible display 126 has a card inserted into a card reader,
This lamp is turned on when the ball lending conversion button 123 is valid. If "Yes" in step S8204, that is, if it is determined that the lamp is turned on, the process advances to step S8206 to turn off the ball lending possible display 126 and then write the magnetic book. Function transmission reservation and card ejection function
Make a transmission reservation (steps S8208, S821).
0), the effective indicator lamp 230 is turned off and the inserted balance indicator is displayed.
Display “000” on 220 (three digits display) (Step
After steps S8212 and S8214) , step S820 is performed.
Return to Step 2 and wait until the return button is turned on . When the card reader receives this function, the card is ejected from the card reader. Thereafter, the validity indicator lamp 230 is turned off, and the display (three digits) of the inserted balance indicator 220 is changed to "000" (steps S8212 and S8214).

【0070】一方、玉貸可能表示器126が消灯されて
いるときに返却ボタンがオンされると、上記ステップS
8204からステップS8216へ移行して、玉貸処理
(図14)のステップS8132でアサートされる玉貸
要求信号BRQをチェックして玉貸処理中か否か判定す
る。そして、玉貸中でなければ何もせずステップS82
02へ戻る。玉貸可能表示器126が消灯されているの
は玉貸し処理中もしくはカードがカードリーダ内に存在
しないということであるので、返却ボタンがオンされて
もカードの返却をカードリーダに指令する必要がないか
らである。
On the other hand, if the return button is turned on when the ball lending possible display 126 is turned off, the above-described step S
The process proceeds from step 8204 to step S8216, and the ball lending asserted in step S8132 of the ball lending process (FIG. 14)
The request signal BRQ is checked to determine whether the ball lending process is in progress. If no ball is being lent, nothing is done and step S82 is performed.
Return to 02. Since the ball lending possible display 126 is turned off during ball lending processing or when the card is not present in the card reader, it is necessary to instruct the card reader to return the card even if the return button is turned on. Because there is no.

【0071】上記ステップS8216で“Yes”すな
わち玉貸中と判定すると、ステップS8218へ進ん
で、同じく玉貸要求信号BRQを調べて玉貸処理が終了
したか判定する。そして、この玉貸要求信号BRQがハ
イレベルになるまでこのステップを繰り返し、玉貸処理
が終了した時点でステップS8220へ移行して、カー
ド残高が“0”か否か判定する。ここで、カード残高が
“0”でないときは上記ステップS8206へ移行して
この玉貸可能表示器126を消灯させてから、磁気書込
ファンクション送信予約およびカードの排出ファンクシ
ョン送信予約等を行なった後、上記ステップS8202
へ戻って次に返却ボタンがオンされるのを待つ。
If "Yes" in step S8216, that is, it is determined that the ball is being lent, the flow advances to step S8218 to check the ball lending request signal BRQ to determine whether the ball lending process is completed. Then, this ball lending request signal BRQ is
This step is repeated till the level becomes lower, and when the ball lending process ends, the process shifts to step S8220 to determine whether or not the card balance is “0”. If the card balance is not "0", the process proceeds to step S8206, the ball lending display 126 is turned off, and a magnetic writing function transmission reservation and a card ejection function transmission reservation are made. , The above step S8202
And wait until the return button is turned on.

【0072】ステップS8220でカード残高が“0”
と判定すると何もせずにステップS8202へ戻って次
の返却ボタンの操作を待つ。カード残高が“0”になる
と、前述した玉貸処理のステップS8172,S817
4(図15)で磁気書込ファンクションおよび排出ファ
ンクションの送信予約がなされ、それを受けてカードリ
ーダ内からカードが排出されるからである。
At step S8220, the card balance is "0"
If no, the process returns to step S8202 and waits for the next return button operation. When the card balance becomes "0", steps S8172 and S817 of the ball lending process described above.
This is because the reservation for transmission of the magnetic writing function and the ejection function is made in FIG.

【0073】図17および図18には、上記メインルー
チン(図13)のステップS8012で実行されるカー
ドリーダ制御装置250との間のファンクション送受信
処理の具体的手順の一例が示されている。なお、送受信
されるファンクションは、ファンクションコードの先頭
にSTXコードがまた終端にETXコードが付加された
データ形式で送信される。ファンクションコード以外に
も送受信される信号として、ENQコード(送信の問合
せ)とACKコード(肯定応答)とがあるが、これらは
先頭のSTXコードも終端のETXコードも付加せずに
コード単独で送信される。
FIGS. 17 and 18 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. 13). The transmitted and received functions are transmitted in a data format in which an STX code is added at the beginning of the function code and an ETX code is added at 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. Is done.

【0074】このファンクション送受信処理が開始され
ると、まずステップS8300で上記玉貸処理(図1
4,15)またはカード返却処理(図16)によるファ
ンクション送信予約が設定がなされているか否か判定す
る。そして、送信予約がなければステップS8350へ
移行して、後述の受信割込み処理(図22)で設定され
るENQ受信フラグを調べて、カードリーダ制御装置2
50からENQ(問合せコード)が入ってきているか判
定する。
When this function transmission / reception processing is started, first, in step S8300, the ball lending processing (FIG. 1)
4, 15) or whether a function transmission reservation has been set by the card return process (FIG. 16). If there is no transmission reservation, the flow advances to step S8350 to check the ENQ reception flag set in the reception interrupt process (FIG. 22) described later, and to check the card reader control device 2
It is determined from step 50 whether an ENQ (inquiry code) has entered.

【0075】上記ステップS8300で“送信予約有”
と判定すると、ステップS8302へ移行して、再送信
回数を3回にセットしてからENQコードを送信する
(ステップS8304)。この送信によって送信割込み
が発生して後述の送信割込み処理が開始される。それか
ら、ステップS8306で応答タイマを10秒にセット
した後、ステップS9308でこの応答タイマがタイム
アップしたか判定し、“No”のときは受信割込み処理
(図22)でセットされるACK受信フラグをみてAC
K(応答コード)を受信したか判定する(ステップS8
310)。そして、ACKを受信する前に応答タイマが
タイムアップしたときは、ステップS8312へ移行し
てステップS8302でセットした再送信回数を「1」
だけ減算してから、再送信回数が「0」になったか否か
判定し(ステップS8314)、「0」でないときは上
記ステップS8304へ戻ってENQコードの再送信を
行なう。
At step S8300, “transmission reserved”
If it is determined that, the process proceeds to step S8302, the number of retransmissions is set to three, and then the ENQ code is transmitted (step S8304). This transmission causes a transmission interrupt and starts a transmission interrupt process described later. Then, after setting the response timer to 10 seconds in step S8306, it is determined in step S9308 whether or not the response timer has timed out. See AC
It is determined whether K (response code) has been received (step S8)
310). If the response timer times out before receiving the ACK, the process moves to step S8312 and sets the number of retransmissions set in step S8302 to “1”.
Then, it is determined whether the number of retransmissions has become “0” (step S8314). If not, the process returns to step S8304 to retransmit the ENQ code.

【0076】一方、応答タイマがタイムアップする前に
ACKを受信したときは、ステップS8316へ進んで
ACK受信フラグを“0”にクリアし、かつ送信データ
の先頭を示すSTXコードを送信する。この送信によっ
て送信割込みが発生して後述の送信割込み処理が開始さ
れ、ファンクションコードやデータが送信される。ま
た、ステップS8318で応答タイマを10秒にセット
した後、ステップS8320でこの応答タイマがタイム
アップしたか判定し、“No”のときは受信割込み処理
(図22)でセットされるENQ受信フラグをみてEN
Qを受信したか判定する(ステップS8322)。この
ENQはカードリーダ制御装置250から玉貸し制御装
置500に対して受信結果を送っても良いかの問合せで
あるので、玉貸し制御装置500は、応答タイマがタイ
ムアップする前にENQを受信したときはステップS8
324へ進み、ENQ受信フラグを“0”にクリアし、
かつACKコードを送信する。ENQを受信する前に応
答タイマがタイムアップしたときは、テキスト送信に対
する受信結果の応答がなかったことになるので、通信異
常があったと判定してステップS8340へ移行して通
信異常を示すエラーコードを表示データバッファへ書き
込んで、ステップS8344でそのコードを残高表示器
122に表示させて制御動作を停止する。
On the other hand, if the ACK is received before the response timer times out, the flow advances to step S8316 to clear the ACK reception flag to "0" and transmit the STX code indicating the head of the transmission data. By this transmission, a transmission interrupt occurs, and a transmission interrupt process described later is started, and a function code and data are transmitted. 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. 22) is set. Look EN
It is determined whether Q has been received (step S8322). 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. When step S8
Proceed to 324, clear the ENQ reception flag to “0”,
And transmits an ACK code. If the response timer times out before receiving the ENQ, it means that there is no response of the reception result to the text transmission. Therefore, it is determined that there is a communication error, and the flow shifts to step S8340 to show an error code indicating the communication error 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.

【0077】ステップS8324でACKを送信した後
は、再び応答タイマを10秒にセット(ステップS83
26)した後、ステップS9328でこの応答タイマが
タイムアップしたか判定し、“No”のときは受信割込
み処理(図22)でセットされるFNC受信フラグをみ
て受信結果の内容を示すファンクションを受信したか判
定する(ステップS8330)。そして、ファンクショ
ンを受信する前に応答タイマがタイムアップしたとき
は、ACK送信に対する応答がなかったことになるの
で、通信異常があったと判定してステップS8340へ
移行して通信異常を示すエラーコードを表示データバッ
ファへ書き込んで、ステップS8344でそのコードを
残高表示器122に表示させて制御動作を停止する。
After transmitting the ACK in step S8324, the response timer is set again to 10 seconds (step S833).
26) After that, it is determined whether or not the response timer has expired in step S9328, 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. 22). 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.

【0078】応答タイマがタイムアップする前にファン
クションを受信したときは、ステップS8332へ進ん
でFNC受信フラグを“0”にクリアした後、受信した
ファンクションの内容が、「再送要求」か、「異常終
了」か、「正常終了」かを判定する(ステップS833
4,S8336,S8338)。このうち異常終了は、
通信そのものには異常はなかったがカードリーダにおけ
る書込み不良等の異常があった場合に送られてくる。
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". "End" or "normal end" (step S833)
4, S8336, S8338). Abnormal termination is
This message is sent when there is no abnormality in the communication itself but there is an abnormality such as writing failure in the card reader.

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

【0080】一方、ステップS8300で“送信予約な
し”と判定すると、図18のステップS8350へ移行
して、受信割込み処理(図22)でセットされるENQ
受信フラグをみて、カードリーダ制御装置250からの
ENQを受信したか判定する。そして、ENQを受信し
ていればステップS8351へ移行して、このENQ受
信フラグをリセットしてからステップS8352へ進
み、ACKコードを送信した後、応答タイマを10秒に
セットする(ステップS8354)。このACKの送信
によって送信割込みが発生して後述の送信割込み処理が
開始され、カードリーダ制御装置250へACKが送信
される。そこで、ステップS8356でこの応答タイマ
がタイムアップしたか判定し、“No”のときは受信割
込み処理(図22)でセットされるFNC受信フラグを
みて受信結果の内容を示すファンクションを受信したか
判定する(ステップS8358)。そして、ファンクシ
ョンを受信する前に応答タイマがタイムアップしたとき
は、ACK送信に対する応答がなかったことになるの
で、通信異常があったと判定して図17のステップS8
340へ移行して通信異常を示すエラーコードを表示デ
ータバッファへ書き込んで、ステツプS8344でその
コードを残高表示器122に表示させて制御動作を停止
する。
On the other hand, if it is determined in step S8300 that "no transmission reservation exists", the flow shifts to step S8350 in FIG. 18 to set ENQ set in the reception interrupt process (FIG. 22).
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 S8351 to reset the ENQ reception flag, and then advances to step S8352 . After transmitting the ACK code, the response timer is set to 10 seconds (step S8354). Send this ACK
As a result, a transmission interrupt occurs, a transmission interrupt process described later is started, and an ACK is transmitted to the card reader control device 250. Therefore, it is determined in step S8356 whether the response timer has expired. 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. 22). (Step S8358). Then, if the response timer times out before receiving the function, it means that there is no response to the ACK transmission, so that it is determined that there is a communication abnormality, and step S8 in FIG. 17 is performed.
The flow shifts to 340, where an error code indicating a communication error is written in the display data buffer, and the code is displayed on the balance display 122 in step S8344, and the control operation is stopped.

【0081】応答タイマがタイムアップする前にファン
クションを受信したときは、ステップS8360へ進ん
でFNC受信フラグを“0”にクリアした後、受信した
ファンクションがカードデータ送信ファンクションか否
かを判定する(ステップS8361)。そして、判定結
果が“No”なら何もせずにステップS8300へ戻
り、“Yes”ならステップS8362へ移行してカー
ド残高が「0」か否か判定する。そして、カード残高が
「0」でなければステップS8364へ進んで玉貸可能
表示器126を点灯させ、受信バッファの内容(残高デ
ータ)をカード残高記憶部へ書き込む(ステップS83
66)。それから、有効表示ランプ230を点灯させ、
受信したカード残高を挿入残高記憶部に格納しかつそれ
を挿入残高表示器220に表示させて受信処理を終了す
る(ステップS8368,S8370)。一方、ステッ
プS8362の判定結果が“Yes”すなわちカード残
高が「0」のときは、ステップS8372へ移行してカ
ードリーダに対するカード排出ファンクション予約を行
なって処理を終了する。
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 the received function is a card data transmission function (step S8360). Step S8361). If the determination result is “No”, the process returns to step S8300 without doing anything. If “Yes”, the process proceeds to step S8362 to determine whether the card balance is “0”. If the card balance is not "0", the flow advances to step S8364 to turn on the ball lending display 126, and the contents of the reception buffer (balance data) are written into the card balance storage unit (step S83).
66). Then, turn on the valid display lamp 230,
The received card balance is stored in the inserted balance storage unit and is displayed on the inserted balance display unit 220, and the receiving process is terminated (steps S8368, S8370). On the other hand, if the decision result in the step S8362 is "Yes", that is, if the card balance is "0", the flow shifts to a step S8372 to make a card ejection function reservation for the card reader and terminate the processing.

【0082】図19には、上記メインルーチン(図1
3)のステップS8014で実行される決済信号出力処
の具体的手順の一例が示されている。この処理が開始
されると、まず図15の玉貸処理中のステップS816
でカウントアップする決済信号数カウンタを調べて決
済信号数が“0”か否か判定する(ステップS840
2)。ここで“No”すなわち決済信号数が1以上であ
ると判定すると、ステップS8404へ進んでオン時間
タイマを200m秒に設定し、決済信号jをハイレベル
にアサートしてから、そのタイマがタイムアップするの
を待つ(ステップS8406,S8408)。それか
ら、ステップS8410へ移行してオフ時間タイマを2
00m秒に設定し、決済信号jをロウレベルにネゲート
してから、そのタイマがタイムアップするのを待つ(ス
テップS8412,S8414)。
FIG. 19 shows the main routine (FIG. 1)
Settlement signal output processing executed in step S8014 of 3)
An example of the specific procedure of the management is shown. When this processing is started, first, in step S816 during the ball lending processing in FIG.
The payment signal number counter that counts up with 0 is checked to determine whether the payment signal number is "0" (step S840).
2). If “No”, that is, if it is determined that the number of payment signals is 1 or more, the process proceeds to step S8404, the on-time timer is set to 200 ms, the payment signal j is asserted to a high level, and then the timer expires. Then, the process waits (steps S8406 and S8408) . Then, the process proceeds to step S8410 to set the off-time timer to 2
The time is set to 00 msec, the settlement signal j is negated to the low level, and then the time until the timer expires is waited (steps S8412, S8414).

【0083】その後、ステップS8416で上記決済信
号数カウンタを「1」だけ減らしてステップS8402
へ戻り、決済信号数カウンタが「0」になるまで、決済
信号パルスを出力させる。これによって、パルス幅20
0m秒の決済信号jが出力される。また、パルスを
「2」以上出力させる場合にも、パルスとパルスの間隔
が200m秒に設定され、これを受信するカード管理装
置800が確実に決済信号パルスを計数することができ
る。
Thereafter, in step S8416, the settlement signal number counter is decremented by "1", and step S8402 is performed.
Then, the settlement signal pulse is output until the settlement signal number counter becomes “0”. Thereby, the pulse width 20
A settlement signal j of 0 ms is output. Also, when outputting the pulse “2” or more, the interval between the pulses is set to 200 ms, and the card management device 800 that receives the pulse can reliably count the settlement signal pulse.

【0084】図20には、上記メインルーチン(図1
3)とは別個に玉貸制御装置500がタイマ割込みによ
り、例えば1m秒ごとに実行するタイマ割込み処理の具
体的手順の一例が示されている。このタイマ割込み処理
では、カード残高記憶部から残高データを読み出して残
高表示器122の表示信号を形成して出力し、カード残
高を表示させ(ステップS8502)、上記メインルー
チン中で使用されている各タイマを「−1」して終了す
る(ステップS8504)。
FIG. 20 shows the main routine (FIG. 1)
A specific 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 3) 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).

【0085】図21および図22には、上記メインルー
チン(図13)とは別個に玉貸制御装置500によって
実行される送信割込み処理および受信割込み処理の具体
的手順の一例が示されている。このうち、送信割込み
は、上記メインルーチンの玉貸処理(図15参照)やフ
ァンクション送受信処理(図17参照)中において、E
NQコード,STXコードまたはACKコードを送信す
ることによって発生されるようになっている。この送信
割込みが開始されると、ステップS8602,S860
4,S8606で、送信バッファを見て送信されたコー
ドがいずれのコードか判定する。ここで、送信されたコ
ードがENQ,ACKまたはETX(テキストデータの
終端を示すコード)のいずれかであれば何もせずに割込
みを終了する。
FIGS. 21 and 22 show an example of a specific procedure of the transmission interruption process and the reception interruption process executed by the ball lending control device 500 separately from the main routine (FIG. 13). Among them, the transmission interrupt is generated during the ball lending process (see FIG. 15) and the function transmission / reception process (see FIG. 17) of the main routine.
It is generated by transmitting an NQ code, STX code or ACK code. When this transmission interrupt is started, steps S8602 and S860 are executed.
In S4606, the transmission buffer is checked to determine which code was transmitted. Here, if the transmitted code is any one of ENQ, ACK, and ETX (a code indicating the end of text data), the interrupt is terminated without doing anything.

【0086】一方、上記判定ですべて“No”となると
送信バッファに入っていたコードはSTXコード、ファ
ンクションコードまたはテキストデータであり、これら
には続きのコードがある。そこで、その場合にはステッ
プS8608へ進んでメモリの送信データエリア内の次
の8ビットのコードを送信バッファへ転送してから、メ
モリの送信データエリアのアドレスをインクリメントし
て、送信バッファに入っているコードを送信して終了す
る(ステップS8610,S8612)。この送信によ
って再び送信割込みが発生するので、送信したコードが
上記ENQ,ACKまたはETX以外のときは続きのコ
ードがあるので、ステップS8608でメモリの送信デ
ータエリア内の次の8ビットのコードを送信バッファへ
転送してから、メモリの送信データエリアのアドレスを
インクリメントして送信バッファに入っているコードを
送信する手順を繰り返しすべてのコードを送信する。
On the other hand, if all of the above determinations result in "No", the code in the transmission buffer is an STX code, a function code, or text data, and these include the following codes. Therefore, in that case, the process proceeds to step S8608 to transfer the next 8-bit code in the transmission data area of the memory to the transmission buffer, then increments the address of the transmission data area of the memory, and enters the transmission buffer. The code is transmitted and the process ends (steps S8610 and S8612). Since this transmission causes a transmission interrupt again, if the transmitted code is other than the above ENQ, ACK or ETX, there is a subsequent code, so in step S8608 the next 8-bit code in the transmission data area of the memory is transmitted. After transferring to the buffer, the procedure of transmitting the code stored in the transmission buffer by incrementing the address of the transmission data area of the memory and transmitting all the codes is repeated.

【0087】図22の受信割込みは、カードリーダ制御
装置250からの送信が入ってくることによって発生す
る。この受信割込みが開始されると、ステップS865
2,S8654で受信したコードがENQコードまたは
ACKコードであるか判定する。そして、受信したコー
ドがENQコードであればステップS8656へ移行し
てENQ受信フラグを“1”にセットし、ACKコード
であればステップS8658でACK受信フラグを
“1”にセットして割込み処理を終了する。上記ENQ
受信フラグおよびACK受信フラグは、前記ファンクシ
ョン送受信処理フロー中で参照される。
The reception interrupt shown in FIG. 22 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 advances to step S8656 to set an ENQ reception flag to "1". finish. ENQ above
The reception flag and the ACK reception flag are referred to in the function transmission / reception processing flow.

【0088】一方、受信したコードがENQコードまた
はACKコードのいずれでもない場合には、ステップS
8660へ進んで受信したコードを受信バッファからメ
モリへセーブしてから、受信バッファアドレスを更新す
る(ステップS8662)。続きの受信コードが受信バ
ッファに残っていれば再び受信割込みがかかるので、上
記ルーチンを繰り返すことで受信コードがすべてメモリ
にセーブされる。次に、受信したコードがETXコード
か否か判定し(ステップS8664)、“No”なら何
もせずに本ルーチンを終了する。一方、ステップS86
64でETXコードを受信したと判定すると、ステップ
S8666へ進んで受信したファンクションコードの長
さが正常であったか調べる。ここで、“Yes”ならス
テップS8668へ進んでファンクション受信フラグを
“1”にセットして割込み処理を終了し、“No”なら
ステップS8670へ移行して再送要求ファンクション
送信予約をして割込み処理を終了する。
On the other hand, if the received code is neither the ENQ code nor the ACK code, step S
Proceeding to 8660, the received code is saved from the reception buffer to the memory, and then the reception buffer address is updated (step S8662). If the subsequent reception code remains in the reception buffer, the reception interrupt is again activated. Therefore, by repeating the above routine, all the reception codes are saved in the memory. Next, it is determined whether or not the received code is an ETX code (step S8664), and if “No”, this routine is terminated without doing anything. On the other hand, step S86
If it is determined in step 64 that the ETX code has been received, the flow 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 shifts to step S8670 to make a retransmission request function transmission reservation and interrupt processing. finish.

【0089】次に、上述した排出制御装置600によっ
て行なわれる賞品球および貸し玉の排出制御の手順を図
23ないし図49を参照して詳細に説明する。図23に
は、上記排出制御装置600が実行するメインルーチン
の全体が示されている。このメインルーチンは、上記排
出制御装置600の電源の投入と同時に開始され電源が
投入されている限り繰返しその処理が行なわれる。電源
が立上がると、先ず、ステップS1でRAMのクリアや
フラグの設定、出力バッファのリセット等の初期設定を
行なう。
Next, the procedure of controlling the discharge of prize balls and loaned balls performed by the above-described discharge control device 600 will be described in detail with reference to FIGS. FIG. 23 shows the entire main routine executed by the discharge control device 600. This main routine is started at the same time when the power of the discharge control device 600 is turned on, and is repeatedly executed as long as the power is turned on. When the power is turned on, first, in step S1, initial settings such as clearing a RAM, setting a flag, and resetting an output buffer are performed.

【0090】続くステップS2では、タイマの更新や各
種センサからの検出信号、入力信号の読込みを行なう
ックグランド処理を行なってから、ステップS3に進
み、後述のBRQ信号読込み処理(図31)中でセット
される玉貸し要求信号BRQの立下りフラグが「1」で
あるか否か判定し、フラグが「1」のときはステップS
10の貸玉処理を行ない、フラグが「0」のときはステ
ップS4へ進む。ステップS4では、後述のセーフ玉排
出処理(図41)中で起動される排出ウェイトタイマが
動作中であるか否かが判定される。
In the subsequent step S2, a timer for updating a timer and reading detection signals and input signals from various sensors is executed.
After performing the background processing, the process proceeds to step S3, where it is determined whether or not the falling flag of the ball lending request signal BRQ set in the BRQ signal reading processing (FIG. 31) described later is "1". If "1", step S
10 ball lending processing is performed, and if the flag is "0", the flow proceeds to step S4. In step S4, it is determined whether or not a discharge wait timer started during a safe ball discharge process (FIG. 41) described later is operating.

【0091】ここで、“No”なら次のステップS5の
玉抜処理(図33−34)を行なってから、また“Ye
s”ならステップS5をスキップしてステップS6へ移
行する。ステップS6では、セーフセンサ181からの
検出信号の入力処理を行なう図28のセーフセンサ読込
み処理フロー中において設定されるセーフセンサ検出フ
ラグを調べて該フラグが“1”ならステップS7で払出
処理(図35)を実行してから、またセーフセンサ検出
フラグが“0”なら、ステップS7をスキップしてステ
ップS8,S9へ移行する。
Here, if "No", the ball removal processing (FIG. 33-34) of the next step S5 is performed, and then "Ye
If s ", the process skips step S5 and proceeds to step S6. In step S6, a safe sensor detection flag set in the safe sensor reading process flow of FIG. 28 for inputting a detection signal from the safe sensor 181 is checked. If the flag is "1", the payout process (FIG. 35) is executed in step S7, and if the safe sensor detection flag is "0", step S7 is skipped and the process proceeds to steps S8 and S9.

【0092】ステップS8,S9では、排出系1と2の
排出カウンタをそれぞれチェックして、いずれのカウン
タの値も「11」以下の時は上記ステップS2へ戻って
上記手続きを繰り返す。一方、ステップS8,S9でい
ずれかのカウンタの値が「11」以上と判定した時は排
出異常と判断してステップS11へ移行し、玉抜きソレ
ノイドをオンさせ、セーフランプを点灯、さらに玉貸可
能信号RDYをロウレベル(無効状態)に変化させて終
了する。玉抜きソレノイドがオンされることにより、余
分に払いだされた玉は遊技機前面の受け皿でなく玉抜き
樋157を通って遊技機の背部に回取され、故障等によ
る遊技店の不利益を回避することができる。
In steps S8 and S9, the discharge counters of the discharge systems 1 and 2 are checked, and if the value of each counter is equal to or less than "11", the flow returns to step S2 to repeat the above procedure. On the other hand, when it is determined in step S8 or S9 that the value of any one of the counters is equal to or greater than "11", it is determined that the discharge is abnormal and the process proceeds to step S11, the ball-pulling solenoid is turned on, the safe lamp is turned on, and the ball rental is further performed. The enable signal RDY is changed to a low level (invalid state), and the process ends. When the ball-pulling solenoid is turned on, the ball that has been dispensed extra is ball-pulling instead of the tray on the front of the gaming machine.
It is routed to the back of the gaming machine through the gutter 157 , so that a disadvantage of the game store due to a failure or the like can be avoided.

【0093】なお、ステップS8,S9で排出カウンタ
の値が「11」以上か否か判定することで排出異常を判
断しているのは、この実施例では、所定の排出数よりも
5個以上多く排出されたときに異常と判定するようにし
ているためである。なお、排出カウンタとして4ビット
のカウンタを使用し予め排出数をセットして排出玉検出
毎にカウントダウンさせるようした場合、上位から2ビ
ット目を監視するようにすれば、カウンタの値が「1
1」以上になったか否かをソフトウェア的に容易に知る
ことができる。
The reason why the discharge abnormality is determined by determining whether or not the value of the discharge counter is equal to or more than "11" in steps S8 and S9 is that in this embodiment, the discharge number is five or more than the predetermined discharge number. This is because it is determined that an abnormality occurs when a large amount is discharged. When a 4-bit counter is used as the discharge counter and the discharge number is set in advance and the countdown is performed each time a discharged ball is detected, if the second bit from the upper bit is monitored, the value of the counter becomes “1”.
It is possible to easily determine whether or not "1" or more has been achieved by software.

【0094】図24には、図23のメインルーチンのス
テップS1で実行される初期化処理の手順が示されてい
る。この処理が開始されると、まず割込み処理時の退避
領域を指定するスタックポインタの設定を行なう(ステ
ップS101)。次に、システムクロックを分周してタ
イマのクロックを発生する可変分周器の分周率を1/4
に設定し、タイマを起動させる(ステップS103,S
105)。これによって、例えばタイマとして8ビット
のカウンタを使用し、システムクロックとして500k
Hzの周波数のクロックを用いたとすると、タイマカウ
ンタは125kHzのクロックでカウントアップされ、
タイマからは2.048m秒ごとにオーバーフロー(桁
上げ)信号が出力されるようになる。なお、上記タイマ
のオーバーフロー(桁上げ)信号があるとそれを保持す
るフラグ(INT RQF)が設けられており、このフ
ラグは、CPUがその状態を読み出すことによりクリア
されるように構成されている。
FIG. 24 shows the procedure of the initialization process executed in step S1 of the main routine of FIG. When this processing is started, first, a stack pointer for designating a save area at the time of interrupt processing is set (step S101). Next, the frequency division ratio of the variable frequency divider which divides the system clock to generate the timer clock is set to 1/4.
And start the timer (steps S103 and S103).
105). Thus, for example, an 8-bit counter is used as a timer, and 500 k is used as a system clock.
If a clock with a frequency of Hz is used, the timer counter counts up with a clock of 125 kHz,
An overflow (carry) signal is output from the timer every 2.048 ms. In addition, a flag (INT RQF) for holding the overflow (carry) signal of the timer, if any, is provided, and this flag is configured to be cleared when the CPU reads the state. .

【0095】上記タイマ起動後は、ステップS107で
I/Oポートの初期化を行なって、排出制御装置600
から玉貸制御装置500へ供給する玉貸可能信号RDY
や排出終了信号EXS等の状態(初期レベル)を設定す
る。ちなみに、玉貸可能信号RDYの初期状態はロウレ
ベルで、排出終了信号EXSの初期状態はハイレベルで
ある。次に、ステップS109でソフトタイマを2秒
(カウント値「976」)に設定してから、上記ハード
タイマからのオーバーフロー(桁上げ)信号を保持する
フラグ(INT RQF)が“1”になるのを待ち(ス
テップS111)、“1”になるとステップS109で
設定したソフトタイマを「1」だけ減らす(ステップS
113)。そして、次のステップS115で上記ソフト
タイマの値が「0」になったか判定し、“No”なら上
記ステップS111へ戻ってタイマのカウントダウンを
繰り返し行なう。電源投入後、システムの動作が安定化
するのを待つためである。
After the timer is started, the I / O port is initialized in step S107, and the discharge control device 600
Lending enable signal RDY supplied from the server to the ball lending control device 500
(Initial level) such as the discharge end signal EXS and the like. Incidentally, the initial state of the ball lending enable signal RDY is at a low level, and the initial state of the discharge end signal EXS is at a high level. Next, after setting the soft timer to 2 seconds (count value "976") in step S109, the flag (INT RQF) holding the overflow (carry) signal from the hard timer becomes "1". (Step S111), and when it becomes "1", the soft timer set in step S109 is reduced by "1" (step S111).
113). Then, in the next step S115, it is determined whether or not the value of the soft timer has become “0”. If “No”, the process returns to the step S111 to repeat the countdown of the timer. This is to wait for the operation of the system to stabilize after the power is turned on.

【0096】その後、ステップS115でソフトタイマ
(2秒)のカウント値が「0」になったと判定すると、
ステップS117,S119へ移行して不正監視用玉数
設定処理として2つの排出系1と2の排出カウンタにそ
れぞれ「16」(4ビットカウンタでは「0」)を設定
してから、玉貸可能信号RDYをハイレベルにアサート
して(ステップS121)、当該初期化処理を終了す
る。このカウンタは図23のステップS8、S9でチェ
ックされ、排出要求がないのにもかかわらず5個以上の
排出球があったときに異常(不正排出)と判断される。
図25には、図23のメインルーチンや後述の各種処理
中で実行されるバックグランド処理の内容が、また図2
6−図34にはその具体的手順が示されている。この処
理はタイマの更新や各種センサからの検出信号、各種入
力信号の読込みのために行なわれるものである。
Thereafter, if it is determined in step S115 that the count value of the soft timer (2 seconds) has become "0",
The process proceeds to steps S117 and S119 to set "16"("0" in the case of the 4-bit counter) to each of the discharge counters of the two discharge systems 1 and 2 as a fraud monitoring ball number setting process, and then a ball lending enable signal. RDY is asserted to a high level (step S121), and the initialization processing ends. This counter is checked in steps S8 and S9 in FIG. 23, and it is determined that there is an abnormality (illegal ejection) when there are five or more ejected balls even though there is no ejection request.
FIG. 25 shows the contents of the main routine of FIG. 23 and the background processing executed during various processes described later.
6-FIG. 34 shows the specific procedure. This processing is performed for updating a timer, reading detection signals from various sensors, and reading various input signals.

【0097】このバックグランド処理が開始されると、
先ず、1m秒待ち処理(ステップS21)を行なってか
ら、タイマ0とタイマ1(いずれもソフトタイマ)のカ
ウント値の更新(ステップS22,S23)を行なう。
それから、セーフセンサの読込み処理(ステップS2
4)および排出センサ1の読込み処理(ステップS2
5)、排出センサ2の読込み処理(ステップS26)、
球抜センサの読込み処理(ステップS27)を行ない、
続いて玉貸し制御装置500からの玉貸し要求信号BR
Qの入力処理(ステップS28)およびカード有無信号
CONの入力処理(ステップS29)を行なう。
When this background processing is started,
First, after waiting for 1 ms (step S21), the count values of timers 0 and 1 (both are soft timers) are updated (steps S22 and S23).
Then, the safe sensor reading process (step S2
4) and reading processing of the discharge sensor 1 (step S2)
5), reading processing of the discharge sensor 2 (step S26),
The reading process (step S27) of the ball extraction sensor is performed,
Subsequently, a ball lending request signal BR from the ball lending control device 500
Q input processing (step S28) and card presence / absence signal CON input processing (step S29) are performed.

【0098】図26は、上記ステップS21にて行なわ
れる1m秒待ち処理ルーチンのフローチャートである。
このサブルーチンが開始されると、先ずバッファもしく
はメモリにセーブされたタイマ用の8ビットカウンタ
(2.048m秒)の前回カウント値を読み出してから
(ステップS201)、現在のカウント値を読み込むと
ともにそれをバッファもしくはメモリにセーブする(ス
テップS203)。次に、読み込んだ現在のカウント値
と、前回のカウント値とを比較して最上位ビットb7が
変化したか判定し(ステップS205)、“Yes”な
ら処理を終了し、“No”ならステップS201へ戻っ
て再びセーブしたタイマの前回カウント値と現在のカウ
ント値を読み込んで最上位ビットb7の比較を繰り返
す。この8ビットのタイマカウンタは前述したように1
25kHzのクロックでカウントアップされるので、最
上位ビットb7が変化したときに1m秒(正確には1.
024m秒)経過したことになる。
FIG. 26 is a flowchart of a 1-msec wait processing routine performed in step S21.
When this subroutine is started, first, the previous count value of the timer 8-bit counter (2.048 ms) saved in the buffer or the memory is read out (step S201), and the current count value is read out and read. The data is saved in a buffer or a memory (step S203). Next, the read current count value is compared with the previous count value to determine whether or not the most significant bit b7 has changed (step S205). If “Yes”, the process ends; if “No”, the process ends. Then, the previous count value and the current count value of the saved timer are read again, and the comparison of the most significant bit b7 is repeated. This 8-bit timer counter is 1 as described above.
Since the count is incremented by a clock of 25 kHz, when the most significant bit b7 changes, 1 ms (precisely, 1.
024 ms).

【0099】図27は、上記ステップS22にて行なわ
れるタイマ0の更新処理ルーチンのフローチャートであ
る。この実施例ではタイマ0として4ビットのカウンタ
を3本用意してあり、そのうち一つを上記1m秒待ち処
理終了毎に更新する1mSカウンタとして使用し、他の
一つはこの1mSカウンタがオーバーフローする毎に更
新する16mSカウンタとして使用し、残りの一つはこ
の16mSカウンタがオーバーフローする毎に更新する
256mSカウンタとして使用するようにしている。
FIG. 27 is a flowchart of a routine for updating timer 0 performed in step S22. In this embodiment, three 4-bit counters are prepared as timer 0, one of which is used as a 1 mS counter which is updated every time the 1 msec wait processing is completed, and the other one overflows the 1 mS counter. The counter is used as a 16 mS counter which is updated every time, and the remaining one is used as a 256 mS counter which is updated every time the 16 mS counter overflows.

【0100】このサブルーチンが開始されると、まず1
mSカウンタをデクリメント(−1)してから(ステッ
プS211)、この1mSカウンタが桁下げすなわちオ
ール0からオール1に変化したか判定し(ステップS2
12)、桁下げがなければそのままこの処理を終了す
る。一方、1mSカウンタが桁下げがあると予め用意さ
れた1mSフラグに“1”をセットしてから(ステップ
S213)、16mSカウンタをデクリメントする(ス
テップS214)。それから、この16mSカウンタが
桁下げすなわちオール0からオール1に変化したか判定
し(ステップS215)、桁下げがなければそのままこ
の処理を終了する。
When this subroutine is started, first, 1
After decrementing (-1) the mS counter (step S211), it is determined whether the 1 mS counter has carried down, that is, changed from all 0 to all 1 (step S2).
12) If there is no carry down, this process is terminated. On the other hand, if the 1 mS counter carries a digit, "1" is set to a 1 mS flag prepared in advance (step S213), and then the 16 mS counter is decremented (step S214). Then, it is determined whether the 16 mS counter has carried down, that is, changed from all 0s to all 1s (step S215), and if there is no carry down, the process is terminated as it is.

【0101】さらに、ステップS215で桁下げ有りと
判定すると、予め用意された16mSフラグに“1”を
セットしてから(ステップS216)、256mSカウ
ンタをデクリメントする(ステップS217)。それか
ら、この256mSカウンタが桁下げを起こしたか判定
し(ステップS218)、桁下げがなければそのままこ
の処理を終了し、桁下げがあると予め用意された256
mSフラグに“1”をセットして処理を終了する(ステ
ップS219)。従って、例えば10m秒の経過待ちを
したい場合には、上記1mSカウンタに「1010」を
設定してからバックグランド処理でタイマを更新させ、
1mSフラグを監視して“1”に変化するのを待てば良
い。
If it is determined in step S215 that there is a carry-down, "1" is set in a 16 mS flag prepared in advance (step S216), and the 256 mS counter is decremented (step S217). Then, it is determined whether the 256 mS counter has caused a carry (step S218). If there is no carry, the process is terminated as it is.
“1” is set to the mS flag, and the process ends (step S219). Therefore, for example, if it is desired to wait for the elapse of 10 ms, the timer is updated in the background process after setting “1010” in the 1 mS counter,
What is necessary is to monitor the 1 mS flag and wait until it changes to “1”.

【0102】なお、図25のステップS23におけるタ
イマ1の更新処理は、図27のタイマ0の更新処理と全
く同じであるので図示および説明を省略する。2つのソ
フトタイマを用意しているのは同一処理内で2つの時間
を計測したい場合があるからである。同様にして同一処
理内で3つの時間を計測したい場合には、上記タイマを
もう一つ追加してやれば良い。図28は、図23のステ
ップS24にて行なわれるセーフセンサの読込み処理ル
ーチンのフローチャートである。
The updating process of the timer 1 in step S23 in FIG. 25 is exactly the same as the updating process of the timer 0 in FIG. Two soft timers are provided because sometimes it is desired to measure two times in the same process. Similarly, when it is desired to measure three times in the same processing, another timer may be added. FIG. 28 is a flowchart of a safe sensor reading process routine performed in step S24 of FIG.

【0103】このサブルーチンが開始されると、先ずス
テップS221でセーフセンサの状態を入力ポートより
読み込んでから、一旦セーフセンサフラグを“1”にセ
ットする(ステップS223)。次に、ステップS22
1で読み込んだ状態からセーフセンサ181がオンして
いるか判定し(ステップS225)、“Yes”ならそ
のまま処理を終了し、“No”ならセーフセンサフラグ
を“0”にクリアして処理を終了する(ステップS22
7)。図29は、図23のステップS25にて行なわれ
る排出センサ1の読込み処理ルーチンのフローチャート
である。
When this subroutine is started, first, in step S221, the state of the safe sensor is read from the input port, and then the safe sensor flag is temporarily set to "1" (step S223). Next, step S22
It is determined whether the safe sensor 181 is turned on from the state read in step 1 (step S225). If "Yes", the process is terminated as it is. If "No", the safe sensor flag is cleared to "0" and the process is terminated. (Step S22
7). FIG. 29 is a flowchart of a reading process routine of the discharge sensor 1 performed in step S25 of FIG.

【0104】このサブルーチンは排出センサ730aの
状態を検出するためのものであり、図25のバックグラ
ンド処理により約1m秒毎に繰り返し実行される。な
お、排出センサは内側に球が存在しているときにその出
力信号がロウレベルとなり、球が流出して一時的に又は
継続してセンサ内に存在しなくなったときその出力信号
がハイレベルとなるように構成されている。従って本ル
ーチンではセンサ730aの出力信号がロウレベルから
ハイレベルに変化したときに後述の排出フラグを“1”
に設定して球が排出されたことを記憶するようになって
いる。一方、該センサ730a(以下、排出センサ1と
記す)の出力信号がハイレベルからロウレベルに変化し
たとき排出フラグを“0”に設定して球が待機状態にあ
ることを記憶するようになっている。
This subroutine is for detecting the state of the discharge sensor 730a, and is repeatedly executed about every 1 msec by the background processing of FIG. The output signal of the discharge sensor becomes low level when a ball is present inside, and the output signal becomes high level when the ball flows out and temporarily or continuously stops being present in the sensor. It is configured as follows. Therefore, in this routine, when the output signal of the sensor 730a changes from low level to high level, the discharge flag described later is set to "1".
To remember that the ball has been ejected. On the other hand, when the output signal of the sensor 730a (hereinafter, referred to as the discharge sensor 1) changes from the high level to the low level, the discharge flag is set to "0" and the fact that the ball is in the standby state is stored. I have.

【0105】本ルーチンが開始されると、先ず該排出セ
ンサ1の出力信号の状態を入力ポートより、また前回の
排出センサ1の出力信号の状態をバッファ(もしくはメ
モリ)より読み込む(ステップS232,S234)。
そして、ステップS236で両方の信号状態を比較す
る。今仮りに球の排出が行われ、1つの球がセンサ1内
から脱した場合を考える。このとき排出センサ1の出力
信号はロウレベルからハイレベルに変化する。そのた
め、ステップS236の判定結果は“Yes”(変化有
り)となってステップS238以降が実行される。
When this routine is started, first, the state of the output signal of the discharge sensor 1 is read from the input port, and the state of the output signal of the previous discharge sensor 1 is read from the buffer (or memory) (steps S232 and S234). ).
Then, in step S236, both signal states are compared. Now, let us consider a case where a sphere is ejected and one sphere comes out of the sensor 1. At this time, the output signal of the discharge sensor 1 changes from a low level to a high level. Therefore, the result of the determination in step S236 is "Yes" (changed), and step S238 and subsequent steps are executed.

【0106】ステップS238では、前回のセンサ状態
を廃棄して今回のセンサ状態をバッファに記憶してか
ら、上記タイマ0または1をチャタリング除去タイマと
して使用し、これを1m秒に設定する(ステップS24
0)。次に、ステップS232の読込み状態から該排出
センサ1の出力信号がロウレベルか否か判定する(ステ
ップS242)。ここでは、“No”と判定されるため
上記チャタリング除去タイマを4m秒に設定しなおす
(ステップS244)。それから、排出フラグを“0”
に設定する(ステップS246)。次に、ステップS2
62へ移行して上記排出フラグを調べて排出があったか
否か判定する。ここではまだ“No”と判定されるため
ステップS264をスキップして一旦終了する。
In step S238, the previous sensor state is discarded, the current sensor state is stored in the buffer, and the above timer 0 or 1 is used as a chattering removal timer, and this is set to 1 ms (step S24).
0). Next, it is determined whether or not the output signal of the discharge sensor 1 is at a low level from the reading state of step S232 (step S242). Here, since it is determined as “No”, the chattering elimination timer is reset to 4 ms (step S244). Then, set the discharge flag to “0”
Is set to (step S246). Next, step S2
The routine proceeds to step 62, where the discharge flag is checked to determine whether or not discharge has occurred. Here, since it is still determined to be “No”, step S264 is skipped and the process is temporarily terminated.

【0107】つぎに、再びバックグランド処理に入り1
m秒待ちしてから本ルーチンが実行されると、排出セン
サ1の出力信号がハイレベルの状態を保持する限りステ
ップS236で“No”すなわち変化無しと判定され
て、ステップS248へ進み、上記ステップS244
(またはS240)で設定したチャタリング除去タイマ
をデクリメント(−1)してから、該タイマがタイムア
ップしたか判定する(ステップS250)。ここでは、
タイマが4m秒に設定されているので、まず“No”と
判定されるため、ステップS246へ移行して排出フラ
グを“0”に設定し、ステップS262へ移行して“N
o”と判定されてステップS264をスキップして終了
することになる。
Next, background processing is started again.
If this routine is executed after waiting for m seconds, as long as the output signal of the discharge sensor 1 keeps the state of the high level, "No" is determined in step S236, that is, there is no change, and the process proceeds to step S248. S244
After decrementing (-1) the chattering elimination timer set in (or S240), it is determined whether the timer has timed out (step S250). here,
Since the timer is set to 4 ms, the determination is “No” first, so the flow shifts to step S246 to set the discharge flag to “0”, and shifts to step S262 to “N”
o "is determined, and step S264 is skipped and the process ends.

【0108】その後、上記手順を繰り返しているうち
に、ステップS250でチャタリング除去タイマがタイ
ムアップしたと判定されると、ステップS252へ移行
して、ステップS232で読み込んだセンサ状態がロウ
レベルか否か判定する。ここではセンサがハイレベルの
場合を考えているので、“No”と判定されてステップ
S254へ進んでチャタリング除去後のレベル(バッフ
ァに記憶されており、初期設定でロウレベルにされてい
る)がロウレベルか否か判定する。そして、“Yes”
と判定されてステップS256へ進んでチャタリング除
去後のレベルをハイレベルに設定してから、排出フラグ
を“1”にセット(ステップS258)し、上記ステッ
プS262へ進む。すると、ステップS262では
“1”にセットされた排出フラグを見て、排出があった
と判定してステップS264へ進み、排出カウンタを
「1」だけ減算して本ルーチンを終了する。
Thereafter, if it is determined in step S250 that the chattering elimination timer has timed out while repeating the above procedure, the flow shifts to step S252 to determine whether or not the sensor state read in step S232 is low. I do. Here, since the case where the sensor is at the high level is considered, “No” is determined, and the process proceeds to step S254, where the level after chattering removal (stored in the buffer and set to the low level by default) is set to the low level. Is determined. And “Yes”
Then, the process proceeds to step S256 to set the level after chattering removal to the high level, then sets the discharge flag to “1” (step S258), and proceeds to step S262. Then, in step S262, the discharge flag set to "1" is checked, and it is determined that there is discharge, the process proceeds to step S264, the discharge counter is decremented by "1", and this routine ends.

【0109】上記の場合、チャタリング除去タイマがタ
イムアップする前に、排出センサ1の出力状態がハイレ
ベルからロウレベルに変化してしまうと、ステップS2
36で変化有りと判定してステップS238へ移行する
ため、排出センサ1が4m秒以下のチャタリングノイズ
もしくは電気的なノイズを拾っても排出カウンタの減算
は行なわれない。次に、排出センサ1の出力信号がハイ
レベルからロウレベルに立下がった場合を考える。この
場合も上記と同様にステップS236で状態変化有りと
判定されてステップS238へ移行する。ただし、今度
はステップS242で“Yes”と判定されるため、ス
テップS244,S246をスキップして一旦終了す
る。
In the above case, if the output state of the discharge sensor 1 changes from the high level to the low level before the chattering elimination timer times out, step S2 is performed.
Since it is determined in step 36 that there is a change and the process proceeds to step S238, even if the discharge sensor 1 picks up chattering noise or electric noise of 4 ms or less, the discharge counter is not subtracted. Next, consider a case where the output signal of the discharge sensor 1 has fallen from a high level to a low level. Also in this case, similarly to the above, it is determined that there is a state change in step S236, and the process proceeds to step S238. However, this time is determined to be “Yes” in step S242, so steps S244 and S246 are skipped and the processing is temporarily terminated.

【0110】そして、再び本ルーチンが実行されたとき
にステップS236からS248へ進んでチャタリング
除去タイマをデクリメント(−1)してから、該タイマ
がタイムアップしたか判定する(ステップS250)。
ここでは、タイマが1m秒に設定されているので、直ち
に“Yes”と判定されるため、ステップS252へ進
んで排出センサ1の状態がロウレベルか否か判定する。
そして、“Yes”と判定されてステップS260へ移
行してチャタリング除去後のレベルをロウレベルに設定
してから、ステップS246で排出フラグを“0”に設
定し、ステップS262へ移行して“No”と判定され
てステップS264をスキップして終了することにな
る。なお、図25のステップS26における排出センサ
2の読込み処理ルーチンは、図29の排出センサ1の読
込み処理ルーチンと全く同じであるので図示および説明
を省略する。
Then, when this routine is executed again, the flow advances from step S236 to S248 to decrement (-1) the chattering elimination timer, and then determine whether the timer has timed out (step S250).
Here, since the timer is set to 1 ms, it is immediately determined to be “Yes”, so the process proceeds to step S252 to determine whether the state of the discharge sensor 1 is at the low level.
Then, the determination is “Yes” and the process proceeds to step S260 to set the level after chattering removal to the low level. Then, the discharge flag is set to “0” in step S246, and the process proceeds to step S262 to “No”. Is determined, and step S264 is skipped and the process ends. The reading process routine of the ejection sensor 2 in step S26 of FIG. 25 is exactly the same as the reading process routine of the ejection sensor 1 of FIG.

【0111】図30は、図25のステップS27にて行
なわれる玉抜きセンサの読込み処理ルーチンのフローチ
ャートである。このサブルーチンは玉抜きスイッチ75
0の状態を検出するためのものであり、図25のバック
グランド処理により約1m秒毎に繰り返し実行される。
なお、玉抜きスイッチは玉抜き棒によりオンされている
ときにその出力信号がロウレベルとなり、オフされてい
るときはその出力信号がハイレベルとなるように構成さ
れている。従って本ルーチンでは玉抜きスイッチ750
の出力信号がハイレベルからロウレベルに立ち下ったと
きに後述の立下りエッジ検出フラグを“1”に設定して
球抜きスイッチ750がオンされたことを記憶するよう
になっている。
[0111] Figure 30 is a flowchart of read processing routine of ball ejecting sensor performed at step S27 of FIG. 25. This subroutine is a ball removal switch 75
This is for detecting the state of 0, and is repeatedly executed about every 1 ms by the background processing of FIG.
It is to be noted that the ball removal switch is configured so that its output signal becomes low level when it is turned on by the ball removal bar, and its output signal becomes high level when it is off. Therefore, in the present routine, the ball removal switch 750
When the output signal falls from the high level to the low level, a falling edge detection flag described later is set to “1”.
It is stored that the ball release switch 750 is turned on.

【0112】本ルーチンが開始されると、先ず該玉抜き
スイッチの出力信号の状態を入力ポートより読み込む
(ステップS302)。そして、次のステップS304
で読み込まれた信号状態がハイレベルか否か判定する。
玉抜きスイッチ750がオンされる前は出力信号はハイ
レベルであるため、ステップS304の判定結果は“Y
es”となってステップS306へ移行する。ステップ
S306では、前回のスイッチ状態をバッファより読み
出してハイレベルであったか判定する。ここで、“Ye
s”すなわち玉抜きスイッチの出力信号の状態が2回続
けてハイレベルであったならチャタリング除去後のレベ
ルをハイレベルとしてから、前回のセンサ状態を廃棄し
て今回センサ状態をハイレベルとしてバッファに記憶す
る(ステップS308,S310)。一方、ステップS
306で、“No”と判定されるとステップS308を
スキップしてステップS310へ移行し、今回センサ状
態をハイレベルとしてバッファに記憶して一旦本ルーチ
ンを終了する。
When this routine is started, first, the state of the output signal of the ball removal switch is read from the input port (step S302). Then, the next step S304
It is determined whether or not the signal state read in is at a high level.
Since the output signal is at a high level before the ball removal switch 750 is turned on, the determination result of step S304 is “Y
es ", the process proceeds to step S306. In step S306, the previous switch state is read from the buffer to determine whether or not the switch state was at the high level.
s ", that is, if the state of the output signal of the ball removal switch is a high level for two consecutive times, the level after chattering is removed is set to the high level, the previous sensor state is discarded, and the current sensor state is set to the high level and stored in the buffer. It is stored (steps S308 and S310).
If "No" is determined in step 306, step S308 is skipped and the process proceeds to step S310, where the current sensor state is set to the high level and stored in the buffer, and the present routine is terminated.

【0113】つぎに、再びバックグランド処理に入り1
m秒待ちしてから本ルーチンが実行されると、玉抜きス
イッチの出力信号がハイレベルの状態を保持する限りス
テップS304からステップS306,S310と進
み、これを繰り返す。その後、上記手順を繰り返してい
るうちに、玉抜きスイッチ750がオンされると、ステ
ップS304で“No”と判定されてステップS312
へ進んで、前回のスイッチ状態をバッファより読み出し
ロウレベルであったか判定する。ここで、“No”と
判定されるとステップS320へ移行し、前回のセンサ
状態を廃棄して今回センサ状態をロウレベルとしてバッ
ファに記憶して一旦本ルーチンを終了する。一方、ステ
ップS312で、“Yes”すなわち玉抜きスイッチの
出力信号の状態が2回続けてロウレベルであったならス
テップS314へすすんで前回のチャタリング除去後の
レベルがロウレベルか否か判定し、“No”すなわち前
回のチャタリング除去後のレベルがハイレベルであった
ときはステップS316へ移行して立下りエッジ検出フ
ラグを“1”にセットし、チャタリング除去後のレベル
をロウレベルとして終了する(ステップS318)。こ
のように上記ルーチンでは、玉抜きスイッチの出力状態
が2回続けてハイレベルまたはロウレベルであると判定
すると、その出力状態を確定状態として記憶するため、
球抜きスイッチ750が1m秒以下のチャタリングノイ
ズもしくは電気的なノイズを拾っても誤って立下りエッ
ジ検出フラグを“1”にセットすることはない。
Next, background processing is started again.
When this routine is executed after waiting for m seconds, the process proceeds from step S304 to steps S306 and S310 as long as the output signal of the ball removal switch maintains a high level state, and this is repeated. Thereafter, if the ball removal switch 750 is turned on while repeating the above procedure, “No” is determined in the step S304, and the step S312 is performed.
Then, the previous switch state is read from the buffer, and it is determined whether the previous switch state is at the low level . If the determination is "No", the process proceeds to step S320, where the previous sensor state is discarded, the current sensor state is stored as a low level in the buffer, and the present routine is ended once. On the other hand, in step S312, if "Yes", that is, the state of the output signal of the ball removal switch is low level twice consecutively, the process proceeds to step S314 to determine whether or not the level after the previous chattering removal is low level. That is, if the level after the previous chattering elimination is the high level, the flow shifts to step S316 to set the falling edge detection flag to "1", and the level after the chattering elimination is set to the low level, and the processing ends (step S318). . As described above, in the above routine, if it is determined that the output state of the ball removal switch is at the high level or the low level twice consecutively, the output state is stored as the final state .
Even if the ball removal switch 750 picks up chattering noise or electric noise of 1 ms or less, the falling edge detection flag is not set to “1” by mistake.

【0114】図31は、図25のステップS28にて行
なわれる玉貸要求信号BRQの入力(読込み)処理ルー
チンのフローチャートである。このサブルーチンは玉貸
要求信号BRQの状態を検出するためのものであり、図
25のバックグランド処理により約1m秒毎に繰り返し
実行される。なお、玉貸要求信号BRQはそのレベルが
ロウレベルのときに有効状態を示し、ハイレベルのとき
は無効状態を示すようにされている。従って本ルーチン
では玉貸要求信号BRQがハイレベルからロウレベルに
立ち下ったときに後述の立下りエッジ検出フラグを
“1”に設定して玉貸要求信号BRQがロウレベルにア
サートされたことを記憶するようになっている。
[0114] Figure 31 is a flow chart of the input (read) process routine of the ball lending request signal BRQ performed in step S28 in FIG. 25. This subroutine is for detecting the state of the ball lending request signal BRQ, and is repeatedly executed about every 1 msec by the background processing of FIG. It should be noted that the ball lending request signal BRQ indicates a valid state when the level is low, and indicates an invalid state when the level is high. Therefore, in this routine, when the ball lending request signal BRQ falls from the high level to the low level, a falling edge detection flag described later is set to "1" to store that the ball lending request signal BRQ is asserted to the low level. It has become.

【0115】本ルーチンが開始されると、先ず該玉貸要
求信号BRQの状態を入力ポートより読み込む(ステッ
プS332)。そして、次のステップS334で読み込
まれた信号状態がハイレベルか否か判定する。玉貸要求
信号BRQがアサートされる前はレベルがハイレベルで
あるため、ステップS334の判定結果は“Yes”と
なってステップS336へ移行する。ステップS336
では、前回の玉貸要求信号BRQの状態をバッファより
読み出してハイレベルであったか判定する。ここで、
“Yes”すなわち玉貸要求信号の状態が2回続けてハ
イレベルであったならノイズ除去後のレベルをハイレベ
ルとしてから、前回の信号レベル状態を廃棄して今回信
号レベル状態をハイレベルとしてバッファに記憶する
(ステップS338,S340)。一方、ステップS3
36で、“No”と判定されるとステップS338をス
キップしてステップS340へ移行し、今回信号レベル
状態をハイレベルとしてバッファに記憶して一旦本ルー
チンを終了する。
When this routine is started, first, the state of the ball lending request signal BRQ is read from the input port (step S332). Then, it is determined whether or not the signal state read in the next step S334 is at a high level. Before the ball lending request signal BRQ is asserted, the level is at the high level, so the result of the determination in step S334 is “Yes”, and the flow proceeds to step S336. Step S336
Then, the state of the previous ball lending request signal BRQ is read from the buffer and it is determined whether or not it is at the high level. here,
If "Yes", that is, if the state of the ball lending request signal is the high level twice consecutively, the level after noise removal is set to the high level, the previous signal level state is discarded, and the current signal level state is set to the high level. (Steps S338 and S340). On the other hand, step S3
If it is determined to be "No" at step 36, step S338 is skipped, and the routine goes to step S340, where the current signal level state is stored in the buffer as the high level, and this routine is ended once.

【0116】つぎに、再びバックグランド処理に入り1
m秒待ちしてから本ルーチンが実行されると、玉貸要求
信号BRQの出力信号がハイレベルの状態を保持する限
りステップS334からステップS336,S340と
進み、これを繰り返す。その後、上記手順を繰り返して
いるうちに、玉貸要求信号BRQがロウレベルにアサー
トされると、ステップS334で“No”と判定されて
ステップS342へ進んで、前回のスイッチ状態をバッ
ファより読み出してロウレベルであったか判定する。こ
こで、“No”と判定されるとステップS350へ移行
し、前回の信号レベル状態を廃棄して今回信号レベル状
態をロウレベルとしてバッファに記憶して一旦本ルーチ
ンを終了する。一方、ステップS342で、“Yes”
すなわち玉貸要求信号の出力信号の状態が2回続けてロ
ウレベルであったならステップS344へすすんで前回
のノイズ除去後のレベルがロウレベルか否か判定し、
“No”すなわち前回のノイズ除去後のレベルがハイレ
ベルであったときはステップS346へ移行して立下り
エッジ検出フラグを“1”にセットし、ノイズ除去後の
レベルをロウレベルとして終了する(ステップS34
8)。このように上記ルーチンでは、玉貸要求信号BR
Qの出力レベルが2回続けてハイレベルまたはロウレベ
ルであると判定すると、その出力状態を確定状態として
記憶するため、玉貸要求信号BRQに1m秒以下のノイ
ズがのっても誤って立下りエッジ検出フラグを“1”に
セットすることはない。
Next, background processing is started again.
When this routine is executed after waiting for m seconds, the process proceeds from step S334 to steps S336 and S340 as long as the output signal of the ball lending request signal BRQ holds the high level state, and this is repeated. Then, while you are Repeat steps, the ball lending request signal BRQ is asserted to the low level, proceed it is determined "No" at step S334 to step S342, the previous switch state is read out from the buffer the low level Is determined. If the determination is "No", the process proceeds to step S350, the previous signal level state is discarded, the current signal level state is stored as a low level in the buffer, and the present routine is ended once. On the other hand, in step S342, “Yes”
That is, if the state of the output signal of the ball lending request signal is low level for two consecutive times, the process proceeds to step S344 to determine whether the level after the previous noise removal is low level,
If “No”, that is, if the level after the previous noise removal is the high level, the process proceeds to step S346, where the falling edge detection flag is set to “1”, and the level after the noise removal is set to the low level, and the process is terminated (step S346). S34
8). Thus, in the above routine, the ball lending request signal BR
If the output level of Q is determined to be the high level or the low level twice consecutively, the output state is stored as a fixed state, so that even if noise for less than 1 ms is present in the ball lending request signal BRQ, it falls erroneously. The edge detection flag is not set to "1".

【0117】図32は、図25ステップS29にて行
なわれるカード有無信号CONの入力(読込み)処理ル
ーチンのフローチャートである。このサブルーチンはカ
ード有無信号CONの状態を検出するためのものであ
り、図25のバックグランド処理により約1m秒毎に繰
り返し実行される。なお、カード有無信号CONはその
レベルがハイレベルのときに有効状態(カードが挿入さ
れている状態)を示し、ロウレベルのときは無効状態
(カード無しの状態)を示すようにされている。
FIG. 32 is a flowchart of a card presence / absence signal CON input (read) processing routine performed in step S29 of FIG. This subroutine is for detecting the state of the card presence / absence signal CON, and is repeatedly executed about every 1 ms by the background processing of FIG. The card presence / absence signal CON indicates a valid state (a state in which a card is inserted) when the level is high, and indicates an invalid state (a state without a card) when the level is low.

【0118】本ルーチンが開始されると、先ず該カード
有無信号CONの状態を入力ポートより読み込む(ステ
ップS362)。そして、次のステップS364で読み
込まれた信号状態がハイレベルか否か判定する。カード
有無信号CONがアサートされる前はレベルがハイレベ
ルであるため、ステップS364の判定結果は“Ye
s”となってステップS366へ移行する。ステップS
366では、前回のカード有無信号CONの状態をバッ
ファより読み出してハイレベルであったか判定する。こ
こで、“Yes”すなわちカード有無信号CONの状態
が2回続けてハイレベルであったならノイズ除去後のレ
ベルをハイレベルとしてから、前回の信号レベル状態を
廃棄して今回信号レベル状態をハイレベルとしてバッフ
ァに記憶する(ステップS368,S370)。一方、
ステップS366で、“No”と判定されるとステップ
S368をスキップしてステップS370へ移行し、今
回信号レベル状態をハイレベルとしてバッファに記憶し
て一旦本ルーチンを終了する。
When this routine is started, first, the state of the card presence / absence signal CON is read from the input port (step S362). Then, it is determined whether the signal state read in the next step S364 is at a high level. Before the card presence / absence signal CON is asserted, the level is at the high level, and the result of the determination in step S364 is “Ye
s ", and the routine goes to Step S366. Step S
At 366, the previous state of the card presence / absence signal CON is read from the buffer and it is determined whether or not the signal is at the high level. Here, if "Yes", that is, the state of the card presence / absence signal CON is a high level twice consecutively, the level after noise removal is set to the high level, and the previous signal level state is discarded to set the current signal level state to high. The level is stored in the buffer (steps S368 and S370). on the other hand,
If "No" is determined in the step S366, the step S368 is skipped, the process proceeds to the step S370, the current signal level state is stored as a high level in the buffer, and the present routine is ended once.

【0119】つぎに、再びバックグランド処理に入り1
m秒待ちしてから本ルーチンが実行されると、カード有
無信号CONの出力信号がハイレベルの状態を保持する
限りステップS364からステップS366,S370
と進み、これを繰り返す。その後、上記手順を繰り返し
ているうちに、カード有無信号CONがロウレベルにア
サートされると、ステップS364で“No”と判定さ
れてステップS372へ進んで、前回のスイッチ状態を
バッファより読み出してロウレベルであったか判定す
る。ここで、“No”と判定されるとステップS380
へ移行し、前回の信号レベル状態を廃棄して今回信号レ
ベル状態をロウレベルとしてバッファに記憶して一旦本
ルーチンを終了する。一方、ステップS372で、“Y
es”すなわちカード有無信号CONの状態が2回続け
てロウレベルであったならステップS374へすすんで
前回のノイズ除去後のレベルがロウレベルか否か判定
し、“No”すなわち前回のノイズ除去後のレベルがハ
イレベルであったときはステップS376へ移行して、
ノイズ除去後のレベルをロウレベルとして終了する。
Next, the background processing is started again.
When this routine is executed after waiting for m seconds, steps S364 to S366 and S370 are performed as long as the output signal of the card presence / absence signal CON maintains the high level state.
And repeat this. Then, while you are Repeat steps, the card presence signal CON is asserted to the low level, it is determined as "No" at step S364 proceeds to a step S372, the previous switch state at a low level on reading from the buffer Determine if there is. Here, if “No” is determined, step S380 is performed.
Then, the previous signal level state is discarded, the current signal level state is stored as a low level in the buffer, and this routine is ended once. On the other hand, in step S372, “Y
es ", that is, if the state of the card presence / absence signal CON is a low level twice consecutively, the process proceeds to step S374 to determine whether or not the level after the previous noise removal is the low level, and" No ", that is, the level after the previous noise removal. Is high level, the process proceeds to step S376,
The level after the noise removal is set to the low level, and the process ends.

【0120】このように上記ルーチンでは、カード有無
信号CONの出力レベルが2回続けてハイレベルまたは
ロウレベルであると判定すると、その出力状態を確定状
態として記憶するため、カード有無信号CONに1m秒
以下のノイズがのっても誤って確定レベルを“H”また
は“L”にセットすることはない。なお、カード有無信
号CONは、状態を示す信号であって、上記球貸要求信
号BRQのような要求もしくは応答信号でないので、立
上りエッジや立下りエッジを検出してフラグを立てる必
要がない。
As described above, in the above routine, if it is determined that the output level of the card presence / absence signal CON is at the high level or the low level twice consecutively, the output state is stored as a fixed state. Even if the following noise occurs, the determined level is not erroneously set to "H" or "L". Note that the card presence / absence signal CON is a signal indicating a state and is not a request or response signal like the ball lending request signal BRQ, so that it is not necessary to detect a rising edge or a falling edge and set a flag.

【0121】図33および図34は、排出制御装置60
0によって実行されるメインルーチン(図23)のステ
ップS5において実行される玉抜処理のサブルーチンを
示すフローチャートである。この球抜処理ルーチンは遊
技店の係員によって球抜スイッチが押されたことがバッ
クグランド処理の中の球抜センサ読込み処理(図30)
によって検知され、球抜センサの立下りエッジ検出フラ
グが“1”に設定されたときにメインルーチン(図2
3)のステップS5で実行されるものである。
FIG. 33 and FIG.
FIG. 24 is a flowchart showing a subroutine of the ball-pulling-out process executed in step S5 of the main routine (FIG. 23) executed by No. 0. In this ball-pulling processing routine, the ball-pulling sensor reading processing in the background processing is performed when the ball-pulling-out switch is pressed by the game store staff (FIG. 30).
The main routine (FIG. 2) is executed when the falling edge detection flag of the ball extraction sensor is set to "1".
This is executed in step S5 of 3).

【0122】本ルーチンが開始されると、先ずステップ
S402において球抜センサの立下りエッジ検出フラグ
が“1”であるか否かが判定される。ステップS402
の判定結果が“No”のときは何もせずに次の処理に移
行し、“Yes”のときはステップS404へ進み、上
記球抜センサの立下りエッジ検出フラグを“0”にクリ
アしてから、球抜ソレノイドを励磁(ON)する(ステ
ップS406)。すると、切換ゲート158(流路切換
弁158と同義、以下同様)が切り換えられて、球排出
装置から排出された球は球抜き樋157を通って遊技盤
背部に回収されるようになる。
When this routine is started, first, in step S402, it is determined whether or not the falling edge detection flag of the ball drop sensor is "1". Step S402
When the determination result is "No", the process proceeds to the next process without doing anything. When the determination result is "Yes", the process proceeds to step S404 to clear the falling edge detection flag of the ball-extraction sensor to "0". Then, the ball-extraction solenoid is excited (ON) (step S406). Then, the switching gate 158 (flow path switching)
(Same as the valve 158, the same applies hereinafter) is switched, and the ball discharged from the ball discharging device passes through the ball drain gutter 157 and is collected on the back of the game board.

【0123】続くステップS408では、タイマ0を1
秒に設定してから、バックグランド処理を行なう(ステ
ップS410)。バックグランド処理によってステップ
S408で設定されたタイマ0の更新が1m秒毎に行な
われる。そこで、次のステップS412で上記タイマ0
がタイムアップしたか判定し、“No”ならステップS
410へ戻ってタイマ0の更新を繰り返すことで、1秒
が経過するのを待つ。ステップS406で作動させた球
抜ソレノイドにより切換ゲート158が完全に切り換え
られるのを待つためである。
In the following step S408, the timer 0 is set to 1
After setting to seconds, background processing is performed (step S410). The timer 0 set in step S408 is updated every 1 ms by the background process. Therefore, in the next step S412, the timer 0
Is timed up, and if “No”, step S
By returning to 410 and repeating the update of the timer 0, it waits for one second to elapse. This is to wait for the switching gate 158 to be completely switched by the ball-pull solenoid operated in step S406.

【0124】球抜ソレノイド作動後、1秒が経過したと
きにステップS414へ進み、排出センサ1が待機球の
存在を検出しているか判定し、“Yes”ならステップ
S418へジャンプし、“No”ならステップS416
へ進んで排出センサ2が待機球の存在を検出しているか
判定する。そして、“Yes”なら次のステップS41
8進み、“No”なら後述のステップS468へジャン
プする。すなわち、排出センサ1または2のいずれかが
待機球の存在を検出していると排出ソレノイド1および
2を励磁させて球抜き排出を開始させ、排出センサ1お
よび2の両方が待機球を検出していないと球抜きソレノ
イドを消磁させて球抜き排出を終了させるようになって
いる。
When one second elapses after the operation of the ball ejection solenoid, the flow advances to step S414, and it is determined whether or not the discharge sensor 1 detects the presence of a standby ball. If "Yes", the flow jumps to step S418, and "No" If so, step S416
Then, it is determined whether or not the discharge sensor 2 detects the presence of the waiting ball. If “Yes”, the next step S41
Then, if "No", the process jumps to step S468 described later. That is, if either of the ejection sensors 1 or 2 detects the presence of a waiting ball, the ejection solenoids 1 and 2 are excited to start ball ejection, and both the ejection sensors 1 and 2 detect the waiting ball. If not, the ball-pulling solenoid is demagnetized to terminate ball-pulling discharge.

【0125】ステップS418で排出ソレノイド1およ
び2を励磁させた後は、ステップS420へ進み、バッ
クグランド処理を行なう。再度球抜きセンサの状態を読
み込んでチェックするためである。ステップS420の
バックグランド処理が終わると、ステップS422へ進
み、球抜センサの立下りエッジ検出フラグが“1”であ
るか否かが判定され、“1”なら図34のステップS4
40へ移行して、球抜き終了処理を行なう。玉抜き動作
中に再度球抜きスイッチ750をオンさせると球抜き動
作を停止できるようにするためである。
After the discharge solenoids 1 and 2 have been excited in step S418, the flow advances to step S420 to perform background processing. This is for reading and checking the state of the ball removal sensor again. When the background processing of step S420 ends, the process proceeds to step S422, step S4 of the sphere falling edge detection flag of disconnect sensor is determined whether or not "1", "1" if 34
The process proceeds to 40 to perform a ball-pulling end process. This is because if the ball removal switch 750 is turned on again during the ball removal operation, the ball removal operation can be stopped.

【0126】ステップS422で“No”すなわち最初
に球抜きスイッチ750がオンされて球抜き処理が開始
され、その後球抜きスイッチ750がオンされていない
ときは、ステップS424に進み、排出センサ1が待機
球の存在を検出しているか判定し、“Yes”なら上記
ステップS420へ戻り、“No”ならステップS42
6へ進んで排出センサ2が待機球の存在を検出している
か判定する。そして、ここで“Yes”なら上記ステッ
プS420へ戻り、“No”なら次のステップS428
進む。すなわち、排出センサ1または2のいずれかが待
機球の存在を検出している限り、排出ソレノイド1およ
び2を励磁させて球抜き排出を継続させ、排出センサ1
および2の両方が待機球を検出しなくなると、ステップ
S428へ進みタイマ0を1秒に設定する。
If "No" in step S422, that is, the ball release switch 750 is first turned on to start the ball release process, and if the ball release switch 750 is not turned on thereafter, the process proceeds to step S424, and the discharge sensor 1 waits. It is determined whether the presence of a sphere has been detected. If “Yes”, the process returns to step S420. If “No”, the process returns to step S42.
The process proceeds to 6 to determine whether the ejection sensor 2 has detected the presence of a waiting ball. If “Yes” here, the process returns to the above step S420, and if “No”, the next step S428
move on. That is, as long as either the discharge sensor 1 or 2 detects the presence of the standby ball, the discharge solenoids 1 and 2 are excited to continue the ball discharge , and the discharge sensor 1
When both of them do not detect the waiting ball, the process proceeds to step S428, and the timer 0 is set to one second .

【0127】それから、ステップS430へ進んでバッ
クグランド処理を行ない、ステップS428で設定され
たタイマ0の更新させてから、ステップS432に進
み、排出センサ1が待機球の存在を検出しているか判定
し、“Yes”なら上記ステップS420へ戻り、“N
o”ならステップS434へ進んで排出センサ2が待機
球の存在を検出しているか判定する。そして、ここで
“Yes”なら上記ステップS420へ戻り、“No”
なら次のステップS436進む。すなわち、排出センサ
1または2のいずれかが待機球の存在を検出している限
、排出ソレノイド1および2を励磁させて球抜き排出
を継続させ、排出センサ1および2の両方が待機球を検
出しなくなると、ステップS436へ進みステップS4
28で設定されたタイマ0がタイムアップしたか判定
し、“No”なら上記ステップS430へ戻り、“Ye
s”なら次のステップS438へ進んで、排出ソレノイ
ド1および2を消磁させる。貯留タンク151および
導樋152内の球が完全になくなるまで排出ソレノイド
1および2を作動させておくためである。
Then, the process proceeds to step S430 to perform background processing. After the timer 0 set in step S428 is updated, the process proceeds to step S432, where it is determined whether the discharge sensor 1 has detected the presence of a waiting ball. , “Yes”, the flow returns to step S420, and “N
If “o”, the process proceeds to step S434 to determine whether the ejection sensor 2 has detected the presence of the waiting ball, and if “Yes”, the process returns to step S420 and “No”.
If so, the process proceeds to the next step S436. In other words, as long as either the ejection sensor 1 or 2 detects the presence of the waiting ball,
Then , the ejection solenoids 1 and 2 are excited to continue the ball ejection , and when both of the ejection sensors 1 and 2 do not detect the standby ball, the process proceeds to step S436 and proceeds to step S4.
It is determined whether or not the timer 0 set in step 28 has timed out. If “No”, the process returns to step S430 and “Ye
s "If the process proceeds to the next step S438, thereby demagnetizing the discharge solenoid 1 and 2. storage tank 151 and induction
This is because the discharge solenoids 1 and 2 are operated until the ball in the gutter 152 completely disappears.

【0128】通常、貯留タンク151および誘導樋15
内の球抜きを行なう場合、予備球が少なくなるに従っ
て流下する球と球の間隔が広くなって、最後の数個の球
は時々球止まりを起こしながら流下することがあるの
で、それが完全に排出される必要がある。ステップS4
38で排出ソレノイド1および2を消磁させた後は、図
34のステップS468へジャンプして球抜きソレノイ
ドをオフさせて流路切り換え弁158を元に戻してか
ら、排出系1と2の各排出カウンタに不正監視用玉数と
して「16」(4ビットカウンタでは「0」)を設定し
て当該ルーチンを終了する(ステップS470,S47
2)。
Usually, the storage tank 151 and the guide gutter 15
When removing the ball in 2 , the distance between the falling ball and the ball increases as the spare ball decreases, and the last few balls sometimes fall while stopping at the ball. Must be exhausted. Step S4
After demagnetizing the discharge solenoids 1 and 2 in step 38, the flow jumps to step S468 in FIG. 34 to turn off the ball-pulling solenoid and return the flow path switching valve 158 to the original position. The counter is set to "16"("0" for a 4-bit counter) as the number of illegal monitoring balls, and the routine ends (steps S470 and S47).
2).

【0129】一方、球抜き動作の途中で球抜きスイッチ
750のオンを検知してステップS422からS440
へ移行したときは、球抜センサの立下りエッジ検出フラ
グを“0”にクリアしてから、排出系1と2の各排出カ
ウンタに「1」をセットする。そして、次のステップS
444でタイマ0を1秒に設定してからバックグランド
処理(ステップS446)を行ない、ステップS444
で設定されたタイマ0を更新させてから、ステップS4
48に進み、排出カウンタ1が「0」になっているか判
定する。ここで“Yes”なら次のステップS450で
排出ソレノイド1を消磁させ、“No”ならステップS
450をスキップしてステップS452で排出カウンタ
2が「0」になっているか判定する。ここで“Yes”
なら次のステップS454で排出ソレノイド2を消磁さ
せ、“No”ならステップS454をスキップして上記
ステップS444で設定したタイマ0がタイムアップし
たか判定する(ステップS456)。そして、ここで
“No”なら上記ステップS446へ戻り、“Yes”
なら次のステップS458へ進む。すなわち、排出カウ
ンタ1および2の両方が「0」にならなくてもタイマ0
がタイムアップすると、次のステップS458へ進ん
で、排出ソレノイド1および2を消磁させる。
On the other hand, it is detected that the ball release switch 750 is turned on during the ball release operation, and the steps S422 to S440 are executed.
When the process shifts to, the falling edge detection flag of the ball removal sensor is cleared to “0”, and then “1” is set to each of the discharge counters of the discharge systems 1 and 2. Then, the next step S
After setting the timer 0 to 1 second in 444, the background process (step S446) is performed, and the process proceeds to step S444.
After the timer 0 set in step S4 is updated, step S4
Proceeding to 48, it is determined whether or not the discharge counter 1 is "0". If "Yes" here, the discharge solenoid 1 is demagnetized in the next step S450, and if "No", the step S450 is executed.
It is determined whether the discharge counter 2 is "0" in step S452 by skipping 450. Here "Yes"
If so, the discharge solenoid 2 is demagnetized in the next step S454, and if "No", the step S454 is skipped and it is determined whether or not the timer 0 set in the step S444 has timed out (step S456). If “No” here, the process returns to step S446, and “Yes”
If so, the process proceeds to the next step S458. That is, even if both the discharge counters 1 and 2 do not become “0”, the timer 0
When the time is up, the flow advances to the next step S458 to demagnetize the discharge solenoids 1 and 2.

【0130】上記ステップS442で排出系1と2の各
排出カウンタに「1」をセットしているのは、流下する
球に対して排出ソレノイド1と2を消磁させるタイミン
グを合わせるためである。ステップS458で排出ソレ
ノイド1と2を消磁させた後は、ステップS460へ移
行して、再びタイマ0を3秒に設定してから、バックグ
ランド処理を行なう(ステップS462)。バックグラ
ンド処理によってステップS460で設定されたタイマ
0の更新が1m秒毎に行なわれる。そこで、次のステッ
プS464で上記タイマ0がタイムアップしたか判定
し、“No”ならステップS462へ戻ってタイマ0の
更新を繰り返すことで、3秒が経過するのを待つ。そし
て、3秒経過した時点で球抜きソレノイドをオフさせ
て、切換ゲート158を元の状態に切り換え、球排出装
置170から排出された球が供給皿の方へ誘導されるよ
うにする。球排出装置170から切換ゲート158まで
の距離を考慮したもので、これによって球排出装置17
0から排出された球が切換ゲート158に達する前に、
ゲートが切り換えられるのを防止することができる。
The reason why "1" is set in each of the discharge counters of the discharge systems 1 and 2 in step S442 is to match the timing of demagnetizing the discharge solenoids 1 and 2 with respect to the flowing ball. After demagnetizing the discharge solenoids 1 and 2 in step S458, the process proceeds to step S460, where the timer 0 is set to 3 seconds again, and the background process is performed (step S462). The timer 0 set in step S460 is updated every 1 ms by the background process. Then, in the next step S464, it is determined whether or not the timer 0 has timed out. If “No”, the process returns to the step S462 to repeat the updating of the timer 0, and waits for three seconds to elapse. Then, at the time when three seconds have elapsed, the ball removing solenoid is turned off, the switching gate 158 is switched to the original state, and the balls discharged from the ball discharging device 170 are guided toward the supply tray. The distance from the ball discharge device 170 to the switching gate 158 is taken into consideration, and the ball discharge device 17
Before the ball ejected from 0 reaches the switching gate 158,
The switching of the gate can be prevented.

【0131】続くステップS470,S472では、排
出系1と2の各排出カウンタに不正監視用玉数として
「16」(4ビットカウンタでは「0」)を設定して当
該ルーチンを終了する。このカウンタは図23のステッ
プS8、S9でチェックされ、排出要求がないのにもか
かわらず5個以上の排出球があったときに異常(不正排
出)と判断される。図35は、排出制御装置600によ
って実行されるメインルーチン(図23)のステップS
7において実行される払出処理のサブルーチンを示すフ
ローチャートで、このフローによって賞品球の排出が行
なわれる。このルーチンでは、まずステップS501で
排出条件の判定処理(図36)を行なってから、次のス
テップS502でその結果を見て排出可能か不能か判定
する。そして、排出不能なら何もせずに本ルーチンを終
了する。
In subsequent steps S470 and S472, "16"("0" in the case of a 4-bit counter) is set as the number of illegal monitoring balls in the respective discharge counters of the discharge systems 1 and 2, and the routine ends. This counter is checked in steps S8 and S9 in FIG. 23, and when there are five or more ejected balls even though there is no ejection request, it is determined to be abnormal (illegal ejection). FIG. 35 shows step S of the main routine (FIG. 23) executed by the discharge control device 600.
7 is a flowchart showing a subroutine of a payout process executed in Step 7, and a prize ball is discharged by this flow. In this routine, first, a discharge condition determination process (FIG. 36) is performed in step S501, and in the next step S502, it is determined whether discharge is possible or not by checking the result. If the discharge is not possible, this routine is terminated without doing anything.

【0132】また、排出可能であれば、賞球数設定処理
(ステップS503)、賞球数要求処理(ステップS5
04)および賞球排出処理(ステップS505)を順次
行なってからステップS506で処理が正常に終了した
か判定し、“No”なら上記ステップS503へ戻って
上記処理を繰り返し、“Yes”なら次のステップへ進
み、セーフ玉排出処理(ステップS507)および賞球
排出終了処理(ステップS508)を順次行なった後、
ステップS509でセーフ玉が排出されたか判定し、
“Yes”なら遊技盤制御装置400に対する賞球排出
終了送信(ステップS510)を行なってから、また
“No”ならステップS510をスキップして、本ルー
チンを終了する。
If it is possible to discharge, the prize ball number setting process (step S503) and the prize ball number request process (step S5)
04) and the prize ball discharging process (step S505) are sequentially performed, and it is determined whether the process has been completed normally in step S506. If “No”, the process returns to step S503 to repeat the above process. If “Yes”, the next process is performed. After proceeding to the step, the safe ball discharging process (step S507) and the prize ball discharging end process (step S508) are sequentially performed.
In step S509, it is determined whether the safe ball has been discharged,
If “Yes”, a prize ball discharge end transmission to the gaming board control device 400 is transmitted (step S510), and if “No”, step S510 is skipped and the routine ends.

【0133】図36には、図35のステップS501に
て行なわれる排出条件判定処理ルーチンのフローチャー
トが示されている。このルーチンでは、まずステップS
5011で後述のセーフ玉排出処理ルーチン(図41)
のステップS5708で設定される排出ウェイトタイマ
が起動中か否か判定し、“Yes”ならステップS50
19で排出可能を示すフラグを“0”にクリアして本ル
ーチンを終了する。また、“No”なら、ステップS5
012でタイマ0を50m秒に設定してから、バックグ
ランド処理(ステップS5013)を行なってステップ
S5012で設定されたタイマ0を更新する。次のステ
ップS5014では、セーフセンサ読込み処理(図2
8)によってセットされるセーフセンサフラグを調べて
“1”ならステップS5015,5016で排出センサ
1および2の出力レベルがロウレベル(玉有り)か否か
判定する。そして、いずれのセンサも出力がロウレベル
ならステップS5017へ進んで、上記ステップS50
12で設定したタイマ0がタイムアップしたか判定し、
“No”ならステップS5013へ戻ってタイマ0の更
新を繰り返すことで、50m秒が経過するのを待つ。そ
して、タイマ0がタイムアップした時点でステップS5
018へ進み、排出可能フラグを“1”にセットして本
ルーチンを終了する。一方、上記ステップS5014,
S5015,S5016でセーフセンサフラグが“0”
または排出センサ1または2のいずれかの出力がハイレ
ベルと判定すると、ステツプS5019へ移行して、
出可能を示すフラグを“0”にセットして本ルーチンを
終了する。この排出可能フラグは、上述したように図3
5の払出処理ルーチンのステップS502で参照され
る。
FIG. 36 is a flowchart of the discharge condition determination processing routine performed in step S501 of FIG. In this routine, first, step S
At 5011, a safe ball discharge processing routine described later (FIG. 41)
It is determined whether or not the discharge wait timer set in step S5708 is running, and if “Yes”, the process proceeds to step S50.
At 19, the flag indicating that discharge is possible is cleared to "0", and this routine ends. If “No”, step S5
After setting the timer 0 to 50 ms in 012, the background processing (step S5013) is performed to update the timer 0 set in step S5012. In the next step S5014, the safe sensor reading process (FIG. 2)
The safe sensor flag set in step 8) is checked, and if it is "1", it is determined in steps S5015 and S5016 whether or not the output level of the discharge sensors 1 and 2 is low (there is a ball) . If the output of each sensor is low level, the process proceeds to step S5017, and the process proceeds to step S5017.
It is determined whether the timer 0 set in step 12 has timed out,
If “No”, the process returns to step S5013 to repeat the update of timer 0, and waits for 50 ms to elapse. Then, when the time of the timer 0 has expired, step S5
The process proceeds to 018, where the discharge enable flag is set to “1”, and this routine ends. On the other hand, in step S5014,
In steps S5015 and S5016, the safe sensor flag is set to “0”
Or one of the outputs of the exhaust sensor 1 or 2 is Haile
If it is determined that the signal is a bell , the flow shifts to step S5019 to discharge.
The flag indicating possible output is set to "0" , and this routine ends. As described above, the discharge enable flag is set in FIG.
5 is referred to in step S502 of the payout processing routine.

【0134】図37には、図35のステップS503に
て行なわれる賞球数要求処理ルーチンのフローチャート
が示されている。本ルーチンが開始されると、まずステ
ップS5031で再送信回数を「3」に設定してから、
タイマ1(またはタイマ0)を1秒に設定する(ステッ
プS5032)。それから、遊技盤制御装置400に対
する賞球数要求コマンドを送信バッファに書き込んで送
信(ステップS5033)させた後、上記ステップS5
032で設定したタイマ1がタイムアップしたか判定す
る(ステップS5034)。ここで“No”ならステッ
プS5035へ進んで遊技盤制御装置400からデータ
(賞球数)を受信したか否か判定する。そして、データ
を受信していればステップS5036へ進み、受信した
賞球数データをポートよりバッファに読み込んでから、
パリティエラーがなかったかチェックして本ルーチンを
終了する(ステップS5037)。
FIG. 37 shows a flowchart of the winning ball number request processing routine performed in step S503 of FIG. When this routine is started, first, the number of retransmissions is set to “3” in step S5031, and then
Timer 1 (or timer 0) is set to one second (step S5032). Then, a command for requesting the number of prize balls for the game board control device 400 is written in the transmission buffer and transmitted (step S5033), and thereafter, the above-mentioned step S5 is executed.
It is determined whether or not the timer 1 set at 032 has timed out (step S5034). If “No” here, the process proceeds to a step S5035 to determine whether or not data (the number of prize balls) has been received from the game board control device 400. If the data has been received, the process proceeds to step S5036, where the received prize ball number data is read from the port into the buffer,
It is checked whether or not there is a parity error, and this routine ends (step S5037).

【0135】一方、上記ステップS5035でデータを
受信する前にステップS5034でタイマ1がタイムア
ップしたと判定すると、ステップS5038へ移行して
再送信回数を「1」だけ減算してから、ステップS50
39で再送信回数が「0」になったか判定し、“No”
なら上記ステップS5032へ戻ってタイマ1を再設定
して再び賞球数要求コマンドの送信を行なう。この送信
処理を3回繰り返してもデータを受信しなかったとき
は、ステップS5039からS5040へ進んで賞球数
を基本賞球数である「15」に設定して本ルーチンを終
了する。これによって、送信ミスにより正しい賞球数デ
ータが得られない場合でも暫定賞球数により処理が進行
し、遊技の中断や遊技進行の遅滞を回避することができ
る。
On the other hand, if it is determined in step S5034 that the timer 1 has expired before data is received in step S5035, the flow advances to step S5038 to reduce the number of retransmissions by "1", and then to step S5035.
At 39, it is determined whether the number of retransmissions has become “0”, and “No”
If so, the flow returns to step S5032 to reset the timer 1 and transmit the award ball number request command again. If data has not been received even after repeating this transmission process three times, the process advances from step S5039 to S5040 to set the number of prize balls to the basic prize ball number "15", and terminates this routine. As a result, even if correct award ball number data cannot be obtained due to a transmission error, the processing proceeds with the provisional award ball number, and interruption of the game or delay of the game progress can be avoided.

【0136】図38には、図35のステップS504に
て行なわれる賞球数設定処理ルーチンのフローチャート
が示されている。本ルーチンが開始されると、まずステ
ップS5401で排出カウンタ1および2を一旦「0」
にセットしてから、上記ルーチンで受信した賞球数デー
タが「9」以上か判定する(ステップS5402)。こ
こで、賞球数データが「9」以上ならステップS540
3へ進んで、排出カウンタ1(排出1カウンタと同義、
以下同様)に、賞球数が奇数のときは(賞球数+1)の
2分の1よりも「1」だけ少ない数を、また賞球数が偶
数のときは賞球数の2分の1をセットする。また、排出
カウンタ2(排出2カウンタと同義、以下同様)には、
賞球数が奇数のときは(賞球数+1)の2分の1の数
を、また賞球数が偶数のときは賞球数の2分の1をセッ
(ステップS5404)してから、排出ソレノイド1
と2を励磁させる(ステップS5405)。これによっ
て、排出すべき賞品球を2つの排出系にほぼ均等に割り
振って排出させることができる。
FIG. 38 shows a flowchart of the prize ball number setting processing routine performed in step S504 of FIG. When this routine is started, first, in step S5401, the discharge counters 1 and 2 are temporarily set to "0".
Then, it is determined whether or not the award ball count data received in the above routine is "9" or more (step S5402). Here, if the prize ball number data is “9” or more, step S540
3 to discharge counter 1 (synonymous with discharge 1 counter,
Similarly, if the number of award balls is odd, the number of award balls + 1
The number that is less than half by “1” and the number of prize balls is even
In the case of a number, one half of the number of prize balls is set. Also discharge
Counter 2 (synonymous with discharge 2 counter, hereinafter the same)
When the number of prize balls is odd, one half of (number of prize balls + 1)
If the number of prize balls is even, set one-half of the number of prize balls.
Theft from (step S5404), and the discharge solenoid 1
And 2 are excited (step S5405). As a result, the prize balls to be discharged can be distributed almost equally to the two discharge systems and discharged.

【0137】一方、ステップS5402の判別結果が
“No”すなわち賞球数データが「8」以下のときには
ステップS5406へ移行して、片側排出フラグを反転
させてから、この片側排出フラグが“1”であるか否か
判定する(ステップS5407)。この片側排出フラグ
は、賞品球を排出系1または排出系2のいずれの側から
排出させるか指示するためのもので、片側排出フラグが
“1”のときはステップS5408へ進んで賞球数を排
出カウンタ1のみに設定して、排出ソレノイド1を励磁
させて本ルーチンを終了する(ステップS5409)。
On the other hand, if the decision result in the step S5402 is “No”, that is, if the award ball number data is “8” or less , the process shifts to a step S5406 to invert the one-side discharge flag, and then set the one-side discharge flag to “1”. It is determined whether or not (step S5407). This one-sided discharge flag is for instructing which side of the discharge system 1 or the discharge system 2 to discharge the prize ball. When the one-sided discharge flag is "1", the flow proceeds to step S5408 to reduce the number of prize balls. Only the discharge counter 1 is set, the discharge solenoid 1 is excited, and this routine ends (step S5409).

【0138】上記ステップS5407で“No”すなわ
ち片側排出フラグが“0”と判定したときはステップS
5410へ進んで、賞球数を排出カウンタ2のみに設定
して、排出ソレノイド2を励磁させて本ルーチンを終了
する(ステップS5411)。以上のように、本サブル
ーチンでは、賞球設定数が大きな値(9〜15)に設定
されているときに該設定数を分割して2つの排出レジス
タ1,2にその値を設定しているので、この排出レジス
タ1,2の値に基づいて次の賞球排出処理(図39)に
より第1及び第2の排出ソレノイドを夫々独立してオフ
させることにより、所定数の賞品球の排出を一層迅速に
行える。
If "No" in step S5407, that is, if the one-sided discharge flag is determined to be "0", step S5407 is executed.
The routine proceeds to 5410, where the number of award balls is set only in the discharge counter 2, the discharge solenoid 2 is excited, and this routine ends (step S5411). As described above, in the present subroutine, when the set number of award balls is set to a large value (9 to 15), the set number is divided and the value is set in the two discharge registers 1 and 2. Therefore, the first and second discharge solenoids are independently turned off in the next prize ball discharge process (FIG. 39) based on the values of the discharge registers 1 and 2 to discharge a predetermined number of prize balls. Can be done more quickly.

【0139】図39は、図35の払出処理ルーチンのス
テップS505において実行される賞球排出処理のサブ
ルーチンを示すフローチャートである。この賞球排出処
理ルーチンは上記賞球数設定処理(図38)によって排
出賞球数の設定に引き続いて実行される。本ルーチンが
開始されると、先ずステップS5502において賞球排
出表示器112(セーフランプ)を点灯させてから、ス
テップS5504へ進み、タイマ0を35m秒に設定し
てから、バックグランド処理を行なう(ステップS55
06)。バックグランド処理によってステップS550
4で設定されたタイマ0の更新が1m秒毎に行なわれ
る。そこで、次のステップS5508で上記タイマ0が
タイムアップしたか判定し、“No”ならステップS5
506へ戻ってタイマ0の更新を繰り返すことで、35
m秒が経過するのを待つ。ステップS5502で点灯さ
せた賞球排出表示器112が完全に明るくなるのを待つ
ためである。
FIG. 39 is a flow chart showing a subroutine of the prize ball discharge processing executed in step S505 of the payout processing routine of FIG. This prize ball discharge processing routine is executed following the setting of the number of prize balls to be discharged by the above-mentioned prize ball number setting processing (FIG. 38). When this routine is started, first, the prize ball discharge indicator 112 (safe lamp) is turned on in step S5502, and the process proceeds to step S5504, where the timer 0 is set to 35 ms, and the background process is performed ( Step S55
06). Step S550 by background processing
The update of the timer 0 set in step 4 is performed every 1 ms. Then, in the next step S5508, it is determined whether or not the timer 0 has timed out.
By returning to 506 and repeating the update of timer 0, 35
Wait for m seconds to elapse. This is to wait until the prize ball discharge indicator 112 turned on in step S5502 becomes completely bright.

【0140】賞球排出表示ランプ112点灯後、35m
秒が経過したときにステップS5510へ進み、タイマ
0を3秒に設定してから、バックグランド処理を行ない
タイマ0を更新する(ステップS5512)。次に、排
出系1について賞球排出終了判定処理(図40参照)を
行なってから当該処理内で設定される排出終了フラグを
調べて、排出系1の賞球排出が終了したか判定する(ス
テップS5514,S5516)cそして、“Yes”
ならステップS5518へ進んで排出ソレノイド1をオ
フさせ、“No”ならステップS5518をスキップし
てステップS5520へ移行して排出系2について賞球
排出終了判定処理(図40参照)を行なってから当該処
理内で設定される排出終了フラグを調べて、排出系2の
賞球排出が終了したか判定する(ステップS552
2)。
35m after the prize ball discharge display lamp 112 is turned on
When the second has elapsed, the process proceeds to step S5510, where the timer 0 is set to 3 seconds, the background process is performed, and the timer 0 is updated (step S5512). Next, after performing the prize ball discharge end determination process (see FIG. 40) for the discharge system 1, the discharge end flag set in the process is checked to determine whether the prize ball discharge of the discharge system 1 has ended ( Steps S5514 and S5516) c and “Yes”
If it is, the process proceeds to step S5518 to turn off the discharge solenoid 1, and if "No", the process skips step S5518 and proceeds to step S5520 to perform the prize ball discharge end determination process (see FIG. 40) for the discharge system 2 and then perform the process. By checking the discharge end flag set in step S552, it is determined whether the discharge system 2 has finished discharging the prize balls (step S552).
2).

【0141】ここで、“Yes”ならステップS552
4へ進んで排出ソレノイド2をオフさせ、“No”なら
ステップS5524をスキップしてステップS5530
へ移行して、上記ステップS5510で設定したタイマ
0がタイムアップしたか判定し、“No”なら上記ステ
ップS5512へ戻って上記手順を繰り返す。また、ス
テップS5524で排出ソレノイド2をオフさせた後に
はもう一度排出系1の排出終了フラグを調べて賞球排出
が終了したか判定し、終了していれば正常終了フラグを
“1”にセットして該サブルーチンを終了する(ステッ
プS5526,S5528)。
Here, if "Yes", the process proceeds to a step S552.
4, the discharge solenoid 2 is turned off. If “No”, the step S5524 is skipped and the step S5530 is skipped.
Then, it is determined whether or not the timer 0 set in step S5510 has timed out. If “No”, the process returns to step S5512 to repeat the above procedure. After the discharge solenoid 2 is turned off in step S5524, the discharge end flag of the discharge system 1 is checked again to determine whether or not the prize ball discharge has been completed. If the discharge end has been completed, the normal end flag is set to "1". To end the subroutine (steps S5526 and S5528).

【0142】すなわち、排出系1または2のカウンタを
調べていずれかが「0」になっていると排出ソレノイド
1または2を消磁させてその系の賞球排出を停止させ、
排出系1および2の両方のカウンタが「0」になると両
方のソレノイドを消磁させて賞球排出を終了させるよう
になっている。ステップS5526で排出系1の賞球排
出が終了していないと判定したときは、ステップS55
30へ進み、上記ステップS5510で設定したタイマ
0がタイムアップしたか判定し、“No”なら上記ステ
ップS5512へ戻って上記手順を繰り返す。そして、
排出系1または2のいずれかもしくは両方とも排出が終
了する前にタイマ0がタイムアップすると、ステップS
5532へ進んで排出ソレノイド1と2を一旦オフさせ
る。実施例の球排出装置によれば、3秒もあれば15個
の賞品球でも充分に排出されるからである。
That is, the counter of the discharge system 1 or 2 is checked, and if either of them is "0", the discharge solenoid 1 or 2 is demagnetized to stop the prize ball discharge of the system.
When both counters of the discharge systems 1 and 2 become "0", both solenoids are demagnetized to terminate the prize ball discharge. If it is determined in step S5526 that the discharge system 1 has not completed the prize ball discharge, the process proceeds to step S55.
Proceeding to 30, it is determined whether or not the timer 0 set in step S5510 has timed out. If “No”, the process returns to step S5512 to repeat the above procedure. And
If the timer 0 times out before the discharge of one or both of the discharge systems 1 and 2 ends, step S
The routine proceeds to 5532, where the discharge solenoids 1 and 2 are once turned off. This is because, according to the ball discharging device of the embodiment, even in 15 seconds, 15 prize balls are sufficiently discharged in 3 seconds.

【0143】ステップS5532で排出ソレノイド1と
2をオフさせた後は、ステップS5534へ進み、排出
系1と2の排出カウンタをそれぞれ「1」だけ減算して
から排出系1について賞球排出終了判定処理(図40参
照)を行ない賞球排出が終了したか判定する(ステップ
S5536,S5538)。さらに、ステップS554
0,S5542で排出系2についても賞球排出終了判定
処理(図40参照)を行ない賞球排出が終了したか判定
する。そして、両方の系の排出が終了していれば排出終
了とみなしてステップS5528へ移行し、正常終了フ
ラグを“1”にセットして該サブルーチンを終了する。
賞品球が連続して排出される場合、2つの排出球を1つ
として検出してしまったり、誘導路内での球止まりで排
出時間が通常よりも長くなることがあり、1回の排出で
1個くらい排出数が少なくなっても賞球排出が連続する
場合に全体の処理が遅滞なく進行できるようにするため
である。
After the discharge solenoids 1 and 2 are turned off in step S5532, the flow advances to step S5534 to decrement the discharge counters of the discharge systems 1 and 2 by "1", respectively, and then determine the prize ball discharge end for the discharge system 1. The process (see FIG. 40) is performed to determine whether the prize ball discharge is completed (steps S5536 and S5538). Further, step S554
At 0, S5542, the discharge system 2 is also subjected to prize ball discharge end determination processing (see FIG. 40) to determine whether prize ball discharge is completed. If the discharge of both systems has been completed, it is considered that the discharge has been completed, and the flow shifts to step S5528 to set the normal end flag to "1" and terminate the subroutine.
When prize balls are continuously discharged, two discharge balls may be detected as one, or the discharge time may be longer than usual due to the ball stopping in the taxiway. This is to allow the entire process to proceed without delay when the prize ball discharge continues even if the number of discharges decreases by about one.

【0144】ただし、ステップS5534で排出系1と
2の排出カウンタをそれぞれ「1」だけ減算しても排出
系1または2のいずれか一方の系について賞球排出が終
了していないとステップS5538,S5542で判定
されると、ステップS5544へ移行して、再びタイマ
0を3秒に設定する。それから、バックグランド処理を
行ないタイマ0を更新(ステップS5546)した後、
ステップS5548に進み、排出センサ1が待機球の存
在を検出しているか判定し、“Yes”ならステップS
5550へ進んで排出センサ2が待機球の存在を検出し
ているか判定する。そして、ここでも“Yes”なら次
のステップS5552へ進み、ステップS5544で設
定されたタイマ0がタイムアップしたか判定し、“N
o”なら上記ステップS5546へ戻って上記手順を繰
り返し、“Yes”なら排出異常と判断して次のステッ
プS5554へ進み、正常終了フラグを“0”にクリア
して終了する。排出センサ1と2が待機球の存在を検出
しているにもかかわらず3秒以内に賞球排出が終了しな
いのは排出ソレノイド等に故障があるためと考えられる
からである。
However, even if the discharge counters of the discharge systems 1 and 2 are respectively decremented by “1” in step S5534, if the prize ball discharge has not been completed for one of the discharge systems 1 and 2, the process proceeds to step S5538. If it is determined in step S5542, the process advances to step S5544 to set the timer 0 to 3 seconds again. Then, after performing background processing and updating timer 0 (step S5546),
Proceeding to step S5548, it is determined whether or not the ejection sensor 1 has detected the presence of a standby ball.
Proceeding to 5550, it is determined whether or not the discharge sensor 2 has detected the presence of a waiting ball. If “Yes” here, the process advances to the next step S5552 to determine whether or not the timer 0 set in step S5544 has timed out.
If "o", the flow returns to step S5546 to repeat the above procedure. If "Yes", it is determined that the discharge is abnormal, and the flow advances to the next step S5554, where the normal end flag is cleared to "0" and the process is terminated. The reason why is that the discharge of the prize ball is not completed within 3 seconds despite the detection of the existence of the standby ball is considered to be due to a failure in the discharge solenoid or the like.

【0145】一方、上記ステップS5548またはS5
550で排出センサ1または2のいずれかが待機球なし
と判定したときは、ステップS5544へ戻って、再び
タイマ0を3秒に設定し直してから、上記手順を繰り返
す。これによって、貯留タンク151が玉切れを起こし
たような場合には、上記処理を繰り返している間に球の
補給がなされるので補給させた時点で排出センサ1およ
び2が待機球有りと検出してステップS5554へ移行
し、正常終了フラグを“0”にクリアして終了する。そ
の後、図35のステップS506で上記正常終了フラグ
をチェックしてステップS503へ戻り、賞球数要求処
理からやり直すことによって中断された賞球排出を再実
行することができる。
On the other hand, step S5548 or S5
If it is determined at 550 that either the ejection sensor 1 or 2 has no waiting ball, the process returns to step S5544, resets the timer 0 to 3 seconds again, and repeats the above procedure. Accordingly, in the case where the storage tank 151 is broken, the balls are replenished while the above processing is repeated. At the time of replenishment, the discharge sensors 1 and 2 detect that there is a standby ball. Te proceeds to step S5554, and exit cleared to "0" the successful completion flag. Thereafter, the normal end flag is checked in step S506 in FIG. 35, the process returns to step S503 , and the interrupted prize ball discharge can be executed again by restarting from the award ball number request process.

【0146】図40は、上述した賞球排出処理(図3
9)のステップS5514、S5520、S5536お
よびS5540にて行われる賞球排出終了判定処理のサ
ブルーチンを示すフローチャートである。この判定処理
は、先ずステップS5572で排出カウンタの値が
「0」か否か判定し、“No”ならカウント値が「1
2」以上か判定する(ステップS5574)。そして、
カウント値が「0」又は「12」以上のときはステップ
S5576へ移行して排出終了フラグを“1”にセット
して終了する。また、ステップS5572およびS55
74のいずれの判定も“No”のときは、ステップS5
578へ進んで排出終了フラグを“0”にクリアして終
了する。カウント値が「12」以上でも排出終了と判定
しているのは、上記排出カウンタが4ビットのダウンカ
ウンタであって「0」の次は「15」,「14」,・・
と減少して行くので、予定よりも4個位多く排出された
としても誤差範囲とみなして制御を継続させ、賞球排出
数の誤りで遊技が中断されないようにするためである。
FIG. 40 shows the prize ball discharging process described above (FIG. 3).
It is a flowchart which shows the subroutine of the prize ball discharge completion determination processing performed in step S5514, S5520, S5536, and S5540 of 9). In this determination process, first, in step S5572, it is determined whether the value of the discharge counter is “0”, and if “No”, the count value is “1”.
2 ”or more is determined (step S5574). And
If the count value is equal to or larger than "0" or "12", the flow shifts to step S5576 to set the discharge end flag to "1" and end the process. Steps S5572 and S55
If any of the determinations of No. 74 is “No”, step S5
Proceeding to 578, the discharge end flag is cleared to "0" and the process ends. Even if the count value is "12" or more, it is determined that the discharge is completed because the discharge counter is a 4-bit down counter, and "0" is followed by "15", "14",.
Therefore, even if four or more balls are ejected more than expected, it is regarded as an error range and the control is continued , so that the game is not interrupted due to an error in the number of award balls ejected.

【0147】図41には、図35のステップS507に
て行なわれるセーフ球排出処理ルーチンのフローチャー
トが示されている。本ルーチンが開始されると、まずス
テップS5702で排出カウンタ1および2に不正監視
用玉数として「16」(4ビットカウンタでは「0」)
を設定する。この玉数は不正監視処理(図23のステッ
プS8、S9)において監視され、球排出要求がないに
もかかわらず5個以上の排出球があったときに異常(不
正排出)と判断して、例えば球抜きソレノイドを励磁さ
せて排出された球を供給皿でなく遊技盤背部に回収する
のに使用される。
FIG. 41 is a flowchart of a safe ball discharging process routine performed in step S507 of FIG. When this routine starts, first, in step S5702, the discharge counters 1 and 2 set the number of illegal monitoring balls to "16"("0" for a 4-bit counter).
Set. The number of balls is monitored in the fraud monitoring process (steps S8 and S9 in FIG. 23), and when there is no ball discharge request and there are five or more discharged balls, it is determined that the ball is abnormal (illegal discharge). For example, it is used to excite a ball-pulling solenoid to collect the discharged ball on the back of the game board instead of the supply tray.

【0148】続いて、上記賞球排出処理ルーチン(図3
9)のステップS5502で点灯させたセーフランプを
消灯させてから、入賞球分離検出装置180内のセーフ
ソレノイド183を励磁させる(ステップS5704,
S5706)。すると、入賞球の流下経路に突出された
ストッパ182が後退させられ、入賞球が流下する。次
に、タイマ0を排出ウェイトタイマとして使用し、これ
を400m秒に設定(ステップS5708)、またタイ
マ1を200m秒に設定する(ステップS5710)し
てから、セーフセンサ玉無し確認処理(図42参照)を
行ない、セーフセンサ181内から入賞球が流出したか
確認する(ステップS5712)。上記排出ウェイトタ
イマは、前述したように排出条件判定処理(図36)中
のステップS5011で参照され、次の賞品球払出処理
に移るのを留保させる。また、上記セーフセンサ玉無し
確認処理はバックグランド処理を5回続けて行なって、
すなわち1m秒ごとに5回センサ等の読込み処理を行な
ってセーフセンサの状態を調べ、5回ともセーフセンサ
フラグが“0”の時に入賞球の玉無しフラグを“1”に
セットするものである。
Subsequently, the prize ball discharge processing routine (FIG. 3)
After turning off the safe lamp turned on in step S5502 of step 9), the safe solenoid 183 in the winning ball separation detecting device 180 is excited (step S5704).
S5706). Then, the stopper 182 protruding in the flow path of the winning ball is retracted, and the winning ball flows down. Then, using the timer 0 as a discharge wait timer, set it to 400m sec (step S5708), also Thailand
After setting m1 to 200 msec (step S5710), a safe sensor ball absence confirmation process (see FIG. 42) is performed to confirm whether or not a winning ball has flowed out of the safe sensor 181 (step S5712). The discharge wait timer is referred to in step S5011 in the discharge condition determination process (FIG. 36) as described above, and reserves the transition to the next prize ball payout process. In addition, the above-described safe sensor ball absence confirmation processing is performed by performing the background processing five times in a row.
That is, the state of the safe sensor is checked by performing the reading process of the sensor and the like five times every 1 ms, and the ballless flag of the winning ball is set to "1" when the safe sensor flag is "0" for all five times.

【0149】図41のセーフ球排出処理ルーチンでは、
上記セーフセンサ玉無し確認処理実行後に、上記玉無し
フラグが“1”か否か判定し、“Yes”すなわちセー
フセンサ181内から入賞球が流出したと判定した場合
には本ルーチンを終了する(ステップS5714)。一
方、ステップS5714で“No”と判定したときはス
テップS5716へ進み、上記ステップS5710で設
定したタイマ1(200m秒)がタイムアップしたか判
定する。タイマ0と1の更新は、セーフセンサ玉無し確
認処理(図42参照)内のバックグランド処理によって
行なわれる。ここで、“No”ならステップS5712
へ戻って上記手順を繰り返す。そして、玉無しフラグが
“1”になる前にタイマ1がタイムアップすると、ステ
ップS5718へ移行してセーフランプ(賞球排出表示
器112)を点灯させてから、球抜きソレノイドを励磁
させる(ステップS5720)。球抜きソレノイドが励
磁されると流路切換え弁158が切り換えられて、球排
出装置170より排出された球は供給皿に排出されず遊
技盤背部に回収されるようになる。通常、セーフソレノ
イドをオンさせてから200m秒もたてば入賞球はセン
サ内から流出するので、200m秒たっても玉無しフラ
グが“1”にならないのは、入賞球が玉詰まりを起こし
ていると考えられるので、この玉詰まりを入賞球の発生
と勘違いして次の賞球排出処理に移行して余分な賞品球
が遊技者に与えられるのを防止するためである。
In the safe ball discharging process routine shown in FIG.
After the execution of the safe sensor ball absence confirmation processing, it is determined whether or not the ball absence flag is “1”. If “Yes”, that is, if it is determined that the winning ball has flowed out of the safe sensor 181, the present routine is ended (step S5714). ). On the other hand, if “No” is determined in step S5714, the process advances to step S5716 to determine whether the timer 1 (200 msec) set in step S5710 has expired. The timers 0 and 1 are updated by a background process in the safe sensor ball absence confirmation process (see FIG. 42). Here, if “No”, the process proceeds to step S5712.
Return to and repeat the above procedure. If the timer 1 times out before the ball absence flag becomes “1”, the flow proceeds to step S5718 to light the safe lamp (prize ball discharge indicator 112) and then to excite the ball-pulling solenoid (step S5720). ). When the ball removing solenoid is excited, the flow path switching valve 158 is switched, so that the balls discharged from the ball discharging device 170 are collected on the back of the game board without being discharged to the supply tray. Normally, the winning ball flows out of the sensor within 200 ms after the safe solenoid is turned on. Therefore, the ball absence flag does not become "1" even after 200 ms because the winning ball is clogged. Since it is conceivable, this misunderstanding is assumed to be the occurrence of a prize ball, and the process proceeds to the next prize ball discharge processing to prevent an extra prize ball from being given to the player.

【0150】上記ステップS5720で球抜きソレノイ
ドを励磁させた後は、ステップS5722へ移行して、
上記玉無しフラグが“1”になるまで、すなわち入賞球
がセーフセンサから流出したのを確認するまで上記セー
フセンサ玉無し確認処理(図42)を繰り返し実行する
(ステップS5724)。そして、上記手順を繰り返し
ているうちに玉無しフラグが“1”になったなら、タイ
マ1を900m秒に設定してから、バックグランド処理
を行なってタイマを更新し、該タイマがタイムアツプし
た時点で本ルーチンを終了する(ステップS5726,
S5728,S5730)。
After the ball-pulling solenoid is excited in step S5720, the flow advances to step S5722 to
The above-mentioned safe sensor no-ball confirmation process (FIG. 42) is repeatedly executed until the ball-absence flag becomes "1", that is, until it is confirmed that the winning ball has flowed out of the safe sensor (step S5724). Then, if the ballless flag becomes “1” while repeating the above procedure, the timer 1 is set to 900 ms, the background processing is performed, and the timer is updated. This routine ends (step S5726,
S5728, S5730).

【0151】上記セーフ玉排出処理ルーチン中で行なわ
れる上記セーフセンサ玉無し確認処理は、図42に示す
ごとく、バックグランド処理(ステップS5752,S
5756,S5760,S5764,S5768)でセ
ーフセンサの読込みを行ない、次にセーフセンサフラグ
をチェック(ステップS5754,S5758,S57
62,S5766,S5770)してセーフセンサ18
1が入賞球を検出しているかを5回繰り返し、1度でも
フラグが“1”すなわち入賞球を検出していると、玉無
しフラグを“0”にクリア(ステップS5774)し、
5回ともセーフセンサフラグが“0”の時に入賞球の玉
無しフラグを“1”にセットする(ステップS577
2)。
As shown in FIG. 42, the above-described safe sensor ball absence confirmation processing performed in the safe ball discharge processing routine is a background processing (steps S5752 and S5752).
In steps 5756, S5760, S5764, and S5768, the safe sensor is read, and then the safe sensor flag is checked (steps S5754, S5758, and S57).
62, S5766, S5770) and the safe sensor 18
It repeats five times whether or not 1 has detected a winning ball, and once the flag is "1", that is, if a winning ball has been detected, the ballless flag is cleared to "0" (step S5774), and
When the safe sensor flag is "0" for all five times, the ballless flag of the winning ball is set to "1" (step S577).
2).

【0152】図43には、図35のステップS508に
て行なわれる賞球排出終了処理ルーチンのフローチャー
トが示されている。本ルーチンでは、まずタイマ1(タ
イマ0)を100m秒に設定(ステップS582)して
から、図41のセーフ玉排出処理ルーチン中でオンさせ
たセーフソレノイド、セーフランプおよび球抜きソレノ
イドをオフさせて終了する(ステップS584,S58
6,S588)。
FIG. 43 shows a flowchart of the prize ball discharge termination processing routine performed in step S508 in FIG. In this routine, first, the timer 1 (timer 0) is set to 100 ms (step S582), and then the safe solenoid, the safe lamp, and the ball-pulling solenoid that are turned on in the safe ball discharging process routine of FIG. 41 are turned off. End (Steps S584 and S58)
6, S588).

【0153】図44は、前述した賞球排出制御装置のメ
インルーチン(図23)のステップS10で実行される
貸玉処理の手順を示すフローチャートで、このフローは
図31の球貸し要求信号BRQの読込み処理によって信
号の立下りエッジが検出されることにより開始され、所
定数の貸し球の排出が行なわれる。このルーチンでは、
まずステップS151で貸出条件の判定処理(図45)
を行なってから、次のステップS152でその結果を見
て貸出可能か不能か判定する。そして、貸出不能ならス
テップS158へ移行して球貸し要求信号BRQがロウ
レベルか否か判定し、“Yes”なら何もせずに本ルー
チンを終了する。既に開始されている貸出処理が終了す
るのを待つためである。また、ステップS158で“N
o”すなわち球貸し要求信号BRQがハイレベルである
と判定すると、ステップS159へ移行して、図31の
球貸し要求信号BRQの読込み処理によってセットされ
たBRQ信号の立下りエッジ検出フラグを“0”にクリ
アして本ルーチンを終了する。BRQ信号は一度立ち下
がると排出制御装置600による球貸し排出が終了した
ことを受けないとハイレベルに変化しない信号であるの
で、一旦本貸出処理ルーチンに入って排出が終了する前
に球貸し要求信号BRQがロウレベルに変化したのが検
出されたなら、それは前回の立下り検出が誤りだからで
ある。
FIG. 44 is executed in step S10 of the main routine (FIG. 23) of the award ball discharge control device described above.
A flow chart showing a procedure of a rental ball process, this flow is started by the falling edge of the signal by the reading processing of the sphere rental request signal BRQ in FIG. 31 is detected, the discharge of a predetermined number of rental spheres are performed. In this routine,
First, in step S151, a loan condition determination process (FIG. 45)
Is performed, and in the next step S152, it is determined whether lending is possible or impossible by checking the result. If lending is not possible, the process proceeds to step S158 to determine whether or not the ball lending request signal BRQ is at a low level. If "Yes", the routine ends without doing anything. This is to wait for the already started lending process to end. Also, in step S158, "N
o ", that is, when it is determined that the ball lending request signal BRQ is at the high level, the flow shifts to step S159 to set the falling edge detection flag of the BRQ signal set by the reading processing of the ball lending request signal BRQ of FIG. The BRQ signal is a signal that does not change to a high level once the falling has been completed, unless it receives the end of the ball lending discharge by the discharge control device 600. If it is detected that the ball lending request signal BRQ has changed to the low level before the entry and the discharge is completed, it is because the previous fall detection is erroneous.

【0154】また、貸出可能であれば、貸出玉数設定処
(ステップS153)を行なってから、ステップS1
54で球貸し要求信号BRQがロウレベルか否か判定
し、“No”すなわち球貸し要求信号BRQがハイレベ
ルであると判定すると、ステップS159へ移行して、
BRQ信号の立下りエッジ検出フラグを“0”にクリア
して本ルーチンを終了する。一方、ステップS154で
“Yes”すなわち球貸し要求信号BRQがロウレベル
であると判定すると、ステップS155へ進んで、貸出
排出処理を行なってからステップS156で処理が正常
に終了したか判定し、“Yes”なら次のステップへ進
み、貸出排出終了処理(ステップS157)を行なっ
て、本ルーチンを終了する。
If lending is possible, a lending ball number setting process
After performing the sense (step S153), step S1
At 54, it is determined whether or not the ball lending request signal BRQ is at a low level, and if "No", that is, it is determined that the ball lending request signal BRQ is at a high level, the process proceeds to step S159,
The falling edge detection flag of the BRQ signal is cleared to "0", and this routine ends. On the other hand, if "Yes" is determined in step S154, that is, if the ball lending request signal BRQ is at the low level, the process proceeds to step S155, in which the lending and discharging process is performed, and it is determined whether the process is normally completed in step S156. If "", the process proceeds to the next step, performs a lending discharge end process (step S157), and ends the present routine.

【0155】上記ステップS156で“No”すなわち
異常終了と判定すると、ステップS160へ移行して、
玉抜きソレノイドをオンさせ、セーフランプを点灯、さ
らに玉貸可能信号RDYをロウレベル(無効状態)に変
化させて終了する。玉抜きソレノイドがオンされること
により、余分に払いだされた玉は遊技機前面の受け皿で
なく玉抜き樋157を通って遊技機の背部に回収され、
故障等による遊技店の不利益を回避することができる。
図45には、図44のステップS151にて行なわれる
貸出条件判定処理ルーチンのフローチャートが示されて
いる。
If “No” is determined in the step S156, that is, if the process is abnormally terminated, the process proceeds to a step S160.
The ball-pulling solenoid is turned on, the safe lamp is turned on, and the ball lending enable signal RDY is changed to a low level (invalid state), and the process ends. By turning on the ball-pulling solenoid, the extra balls are collected at the back of the game machine through the ball- drawing gutter 157 instead of through the tray at the front of the game machine,
It is possible to avoid a disadvantage of the game store due to a failure or the like.
FIG. 45 shows a flowchart of the lending condition determination processing routine performed in step S151 of FIG.

【0156】このルーチンでは、まずステップS151
1で球貸し制御装置500からのカード有無信号CON
がハイレベルか否か調べ、“No”ならステップS15
19へ移行して貸出可能を示すフラグを“0”にクリア
して本ルーチンを終了する。また、カード有無信号CO
NがハイレベルならステップS1512へ進んで、後述
の貸出終了処理ルーチン(図49)のステップS657
1で設定される排出ウェイトタイマが起動中か否か判定
し、“Yes”ならステップS1519で貸出可能を示
すフラグを“0”にクリアして本ルーチンを終了する。
既に開始されている貸出排出処理が終了するのを待つた
めである。
In this routine, first, at step S151
1. Card presence / absence signal CON from ball lending control device 500
Is high or not, and if "No", step S15
The process proceeds to 19, where the flag indicating that lending is possible is cleared to "0", and this routine ends. Also, the card presence signal CO
If N is at the high level, the process proceeds to step S1512, and step S657 of a lending end processing routine (FIG. 49) described later.
It is determined whether or not the discharge wait timer set in 1 is being activated. If “Yes”, the flag indicating that lending is possible is cleared to “0” in step S1519, and this routine ends.
This is to wait for the already started lending and discharging process to end.

【0157】一方、ステップS1512で“No”と判
定すると、ステップS1513へ進み、タイマ0を50
m秒に設定してから、バックグランド処理(ステップS
1514)を行なってステップS1513で設定された
タイマ0を更新する。次のステップS1515,S15
16では、排出センサ読込み処理(図29)によってセ
ットされる排出センサ1および2の出力レベルを調べて
出力がロウレベル(玉有り)か否か判定する。そして、
いずれの排出センサも出力がロウレベルならステップS
1517へ進んで、上記ステップS1512で設定した
タイマ0がタイムアップしたか判定し、“No”ならス
テップS1514へ戻ってタイマ0の更新を繰り返すこ
とで、50m秒が経過するのを待つ。そして、タイマ0
がタイムアップした時点でステップS1518へ進み、
貸出可能フラグを“1”にセットして本ルーチンを終了
する。また、上記ステップS1515,S1516で排
出センサ1または2のいずれかの出力がハイレベルと判
定すると、ステップS1519へ移行して、貸出可能を
示すフラグを“0”にセットして本ルーチンを終了す
る。この貸出可能フラグは、上述したように図44の貸
出処理ルーチンのステップS152で参照される。
On the other hand, if “No” is determined in the step S1512, the process proceeds to a step S1513, and the timer 0 is reset by 50.
m seconds, then the background processing (step S
1514) to update the timer 0 set in step S1513. Next steps S1515 and S15
In step 16 , the output levels of the discharge sensors 1 and 2 set by the discharge sensor reading process (FIG. 29) are checked to determine whether the output is at a low level (there is a ball). And
If the output of each of the discharge sensors is low, step S
Proceeding to 1517, it is determined whether or not the timer 0 set in step S1512 has timed out. If “No”, the process returns to step S1514 to repeat updating of the timer 0, and waits for 50 ms to elapse. And timer 0
When the time is up, the process proceeds to step S1518,
The lending possible flag is set to "1", and this routine ends. If it is determined in steps S1515 and S1516 that the output of one of the discharge sensors 1 and 2 is at the high level , the flow shifts to step S1519 to determine that lending is possible.
The flag is set to "0" and the routine ends. This lending possible flag is referred to in step S152 of the lending process routine of FIG. 44 as described above.

【0158】図46には、図44の貸玉処理ルーチンの
ステップS153にて行なわれる貸出玉数設定処理ルー
チンのフローチャートが示されている。本ルーチンが開
始されると、まずステップS1531で貸出玉数を一旦
「25」に設定してから、ステップS1532へ進み、
上記貸出玉数に基づいて、排出カウンタ1に、貸出玉数
が奇数のときは(貸出玉数+1)の2分の1よりも
「1」だけ少ない数を、また貸出玉数が偶数のときは貸
出玉数の2分の1の数セットする。また、排出カウンタ
2には、貸出玉数が奇数のときは(貸出玉数+1)の2
分の1を、また貸出玉数が偶数のときは貸出玉数の2分
の1をセット(ステップS1533)してから、排出ソ
レノイド1と2を励磁させる(ステップS1534)。
これによって、排出すべき貸し玉を2つの排出系にほぼ
均等に割り振って排出させることができる。
FIG. 46 shows a flowchart of a lending ball number setting processing routine performed in step S153 of the lending ball processing routine of FIG. When this routine is started, first, the number of lent balls is temporarily set to “25” in step S1531, and then the process proceeds to step S1532.
Based on the number of borrowed balls, the number of borrowed balls is displayed in the discharge counter 1.
Is odd, more than half of (number of borrowed balls + 1)
If the number of borrowed balls is even, rent
One half of the number of balls will be set. Also a discharge counter
If the number of borrowed balls is an odd number, 2 is (2)
One-half, and if the number of borrowed balls is even, 2 minutes of borrowed balls
Is set ( step S1533), and then the discharge solenoids 1 and 2 are excited (step S1534).
As a result, the lending ball to be discharged can be distributed almost equally to the two discharge systems and discharged.

【0159】図47は、図44の貸玉処理ルーチンのス
テップS155において実行される貸出排出処理のサブ
ルーチンを示すフローチャートである。この貸出排出処
理ルーチンは、前述した賞球排出処理(図39)とほぼ
同一の手順であり、上記貸出玉数設定処理(図46)に
よって排出数が設定されてから実行される。
FIG. 47 is a flowchart showing a subroutine of lending and discharging processing executed in step S155 of the ball lending processing routine of FIG. This lending discharge processing routine has almost the same procedure as the award ball discharging processing (FIG. 39) described above, and is executed after the number of discharges is set by the lending ball number setting processing (FIG. 46).

【0160】本ルーチンが開始されると、先ずステップ
S6502において貸玉排出表示器113(貸玉排出表
示ランプ113と同義、以下同様)を点灯させ、玉貸し
制御装置500に対する排出終了信号EXSをロウレベ
ルにアサートした後、ステップS6504へ進み、タイ
マ0を35m秒に設定してから、バックグランド処理を
行なう(ステップS6506)。バックグランド処理に
よってステップS6504で設定されたタイマ0の更新
が1m秒毎に行なわれる。そこで、次のステップS65
08で上記タイマ0がタイムアップしたか判定し、“N
o”ならステップS6506へ戻ってタイマ0の更新を
繰り返すことで、35m秒が経過するのを待つ。ステッ
プS6502で点灯させた貸玉排出表示器113が完全
に明るくなるのを待つためである。
When this routine is started, first, in step S6502, the ball lending discharge display 113 (ball lending discharge table) is displayed.
Indicator lamp 113, the same applies hereinafter), and the discharge end signal EXS for the ball lending control device 500 is asserted to a low level. Then, the process proceeds to step S6504, the timer 0 is set to 35 msec, and the background process is performed. Performed (step S6506). The timer 0 set in step S6504 is updated every 1 ms by the background process. Therefore, the next step S65
At 08, it is determined whether or not the timer 0 has timed out.
If "o", the flow returns to step S6506 to repeat the updating of the timer 0, and waits for 35 ms to elapse. This is to wait until the ball-discharge indicator 113 turned on in step S6502 becomes completely bright.

【0161】貸玉排出表示器点灯後、35m秒が経過し
たときにステップS6510へ進み、タイマ0を3秒に
設定してから、バックグランド処理を行ないタイマ0を
更新する(ステップS6512)。次に、排出系1につ
いて貸出排出終了判定処理(図48参照)を行なってか
ら当該処理内で設定される排出終了フラグを調べて、排
出系1の貸出排出が終了したか判定する(ステップS6
514,S6516)。そして、“Yes”ならステッ
プS6518へ進んで排出ソレノイド1をオフさせ、
“No”ならステップS6518をスキップしてステッ
プS6520へ移行して排出系2について貸出排出終了
判定処理(図48参照)を行なってから当該処理内で設
定される排出終了フラグを調べて、排出系2の貸出排出
が終了したか判定する(ステップS6522)。
After 35 msec has elapsed after the ball discharge indicator is turned on, the flow advances to step S6510 to set timer 0 to 3 seconds, and then perform background processing to update timer 0 (step S6512). Next, after performing the lending / discharging end determination processing (see FIG. 48) for the discharging system 1, the discharging end flag set in the processing is checked to determine whether the lending / discharging of the discharging system 1 has been completed (step S6).
514, S6516). If “Yes”, the flow advances to step S6518 to turn off the discharge solenoid 1, and
If “No”, the process skips step S6518 and proceeds to step S6520 to perform the lending / discharge end determination process (see FIG. 48) for the emission system 2 and then check the emission end flag set in the process to check the emission system. It is determined whether the lending and discharging of No. 2 has been completed (step S6522).

【0162】ここで、“Yes”ならステップS652
4へ進んで排出ソレノイド2をオフさせ、“No”なら
ステップS6524をスキップしてステップS6530
へ移行して、上記ステップS6510で設定したタイマ
0がタイムアップしたか判定し、“No”なら上記ステ
ップS6512へ戻って上記手順を繰り返す。また、ス
テップS6524で排出ソレノイド2をオフさせた後に
はもう一度排出系1の排出終了フラグを調べて貸出排出
が終了したか判定し、終了していれば正常終了フラグを
“1”にセットして該サブルーチンを終了する(ステッ
プS6526,S6528)。
Here, if "Yes", the process proceeds to a step S652.
4, the discharge solenoid 2 is turned off, and if "No", the step S6524 is skipped and the step S6530 is performed.
Then, it is determined whether or not the timer 0 set in step S6510 has timed out. If “No”, the process returns to step S6512 to repeat the above procedure. After turning off the discharge solenoid 2 in step S6524, the discharge end flag of the discharge system 1 is checked again to determine whether or not the loan discharge has been completed. If the discharge has been completed, the normal end flag is set to "1". The subroutine ends (Steps S6526, S6528).

【0163】すなわち、排出系1または2のカウンタを
調べていずれかが「0」になっていると排出ソレノイド
1または2を消磁させてその系の貸出排出を停止させ、
排出系1および2の両方のカウンタが「0」になると両
方のソレノイドを消磁させて貸出排出を終了させるよう
になっている。ステップS6526で排出系1の貸出排
出が終了していないと判定したときは、ステップS65
30へ進み、上記ステップS6510で設定したタイマ
0がタイムアップしたか判定し、“No”なら上記ステ
ップS6512へ戻って上記手順を繰り返す。そして、
排出系1または2のいずれかもしくは両方とも排出が終
了する前にタイマ0がタイムアップすると、ステップS
6532へ進んで排出ソレノイド1と2を一旦オフさせ
る。実施例の球排出装置によれば、3秒もあれば25個
の貸玉でも充分に排出できるからである。
That is, the counter of the discharge system 1 or 2 is checked, and if either of them is "0", the discharge solenoid 1 or 2 is demagnetized to stop lending discharge of the system.
When both the counters of the discharge systems 1 and 2 become "0", both solenoids are demagnetized to terminate the lending discharge. When it is determined in step S6526 that the lending and discharging of the discharge system 1 has not been completed, step S65 is performed.
Proceeding to 30, it is determined whether or not the timer 0 set in step S6510 has timed out. If “No”, the process returns to step S6512 to repeat the above procedure. And
If the timer 0 times out before the discharge of one or both of the discharge systems 1 and 2 ends, step S
Proceeding to 6532, the discharge solenoids 1 and 2 are once turned off. This is because according to the ball discharging device of the embodiment, even if it is 3 seconds, even 25 lending balls can be sufficiently discharged.

【0164】ステップS6532で排出ソレノイド1と
2をオフさせた後は、ステップS6534へ進み、排出
系1と2の排出カウンタをそれぞれ「1」だけ減算して
から排出系1について貸出排出終了判定処理(図48参
照)を行ない貸出排出が終了したか判定する(ステップ
S6536,S6538)。さらに、ステップS654
0,S6542で排出系2についても貸出排出終了判定
処理(図48参照)を行ない貸出排出が終了したか判定
する。そして、両方の系の排出が終了していれば貸出終
了とみなしてステップS6528へ移行し、正常終了フ
ラグを“1”にセットして該サブルーチンを終了する。
賞球排出処理と同様に、貸し玉が連続して排出される場
合、2つの排出球を1つとして検出してしまったり、誘
導路内での球止まりで排出時間が通常よりも長くなるこ
とがあり、1回の排出で1個くらい排出数が少なくなっ
ても貸出排出が連続する場合に全体の処理が遅滞なく進
行できるようにするためである。
After the discharge solenoids 1 and 2 are turned off in step S 6532, the flow advances to step S 6534, in which the discharge counters of the discharge systems 1 and 2 are respectively decremented by “1”, and then the loan discharge end determination processing for the discharge system 1 is performed. (See FIG. 48) to determine whether the lending and discharging has been completed (steps S6536 and S6538). Further, step S654
At 0, S6542, the lending / discharging end determination process (see FIG. 48) is also performed for the discharge system 2 to determine whether or not the lending / discharging has ended. If the discharge of both systems has been completed, it is determined that the lending has been completed, and the flow shifts to step S6528 to set the normal end flag to "1" and terminate the subroutine.
As in the case of the prize ball discharge processing, when the lending ball is continuously discharged, two discharge balls are detected as one or the discharge time becomes longer than usual due to the ball stopping in the taxiway. This is because the entire process can proceed without delay when lending and discharging are continued even if the number of discharges is reduced by about 1 per discharge.

【0165】ただし、ステップS6534で排出系1と
2の排出カウンタをそれぞれ「1」だけ減算しても排出
系1または2のいずれか一方の系について貸出排出が終
了していないとステップS6538,S6542で判定
されると、ステップS6544へ移行して、再びタイマ
0を3秒に設定する。それから、バックグランド処理を
行ないタイマ0を更新(ステップS6546)した後、
ステップS6548に進み、排出センサ1が待機球の存
在を検出しているか判定し、“Yes”ならステップS
6550へ進んで排出センサ2が待機球の存在を検出し
ているか判定する。そして、ここでも“Yes”なら次
のステップS6552へ進み、ステップS6544で設
定されたタイマ0がタイムアップしたか判定し、“N
o”なら上記ステップS6546へ戻って上記手順を繰
り返し、“Yes”なら排出異常と判断して次のステッ
プS6554へ進み、正常終了フラグを“0”にクリア
して終了する。排出センサ1と2が待機球の存在を検出
しているにもかかわらず3秒以内に貸出排出が終了しな
いのは排出ソレノイド等に故障があるためと考えられる
からである。
However, even if the discharge counters of the discharge systems 1 and 2 are decremented by “1” in step S 6534, if the loan discharge has not been completed for either the discharge system 1 or 2, steps S 6538 and S 6542. When the determination is made in step S6554, the flow shifts to step S6544 to set the timer 0 again to 3 seconds. Then, after performing background processing and updating timer 0 (step S6546),
Proceeding to step S6548, it is determined whether the ejection sensor 1 has detected the presence of a waiting ball.
Proceeding to 6550, it is determined whether or not the discharge sensor 2 has detected the presence of a waiting ball. If “Yes” here, the process advances to the next step S6552 to determine whether or not the timer 0 set in step S6544 has timed out.
If "o", the flow returns to step S6546 to repeat the above procedure. If "Yes", it is determined that the discharge is abnormal, and the flow advances to next step S6554, where the normal end flag is cleared to "0" and the process is terminated. Does not finish lending and discharging within 3 seconds even though it detects the presence of a waiting ball, because it is considered that there is a failure in the discharging solenoid or the like.

【0166】一方、上記ステップS6548またはS6
550で排出センサ1または2のいずれかが待機球なし
と判定したときは、ステップS6544へ戻って、再び
タイマ0を3秒に設定し直してから、上記手順を繰り返
す。これによって、貯留タンク151が玉切れを起こし
たような場合には、上記処理を繰り返している間に球の
補給がなされるので補給させた時点で排出センサ1およ
び2が待機球有りと判定してステップS6554へ移行
し、正常終了フラグを“0”にクリアして終了する。た
だし、賞球排出(図39)の場合と異なり、その後、図
44のステップS156で上記正常終了フラグをチェッ
クして“No”すなわち異常と判定するとステップS1
60へ移行し、球抜きソレノイドをオン、セーフランプ
を点灯、玉貸し可能信号RDYをロウレベルにネゲート
して貸出排出処理を中断する。
On the other hand, step S6548 or S6
If it is determined at 550 that either the ejection sensor 1 or 2 has no waiting ball, the process returns to step S6544, resets the timer 0 to 3 seconds again, and repeats the above procedure. Accordingly, in the case where the storage tank 151 is broken, the balls are replenished while the above processing is repeated, and at the time of replenishment, the discharge sensors 1 and 2 determine that there is a standby ball. Then, the flow shifts to step S6554, clears the normal end flag to "0" and ends. However, unlike the case of prize ball discharge (FIG. 39), after that, the normal end flag is checked in step S156 of FIG. 44, and if "No", that is, it is determined to be abnormal, step S1 is performed.
The process proceeds to 60, where the ball-pulling solenoid is turned on, the safe lamp is turned on, the ball lending enable signal RDY is negated to a low level, and the lending and discharging process is interrupted.

【0167】図48は、上述した貸出排出処理(図4
7)のステップS6514、S6520、S6536お
よびS6540にて行われる貸出排出終了判定処理のサ
ブルーチンを示すフローチャートである。この判定処理
は、先ずステップS6562で排出カウンタの値が
「0」か否か判定し、“No”ならカウント値が「1
4」以上か判定する(ステップS6564)。そして、
カウント値が「0」又は「14」以上のときはステップ
S6566へ移行して貸出終了フラグを“1”にセット
して終了する。また、ステップS6562およびS65
64のいずれの判定も“No”のときは、ステップS6
568へ進んで排出終了フラグを“0”にクリアして終
了する。
FIG. 48 shows the above-described lending and discharging process (FIG. 4).
It is a flowchart which shows the subroutine of lending discharge completion determination processing performed in step S6514, S6520, S6536, and S6540 of 7) . In this determination processing, first, in step S6562, it is determined whether the value of the discharge counter is “0”, and if “No”, the count value is “1”.
4 "or more (step S6564). And
If the count value is equal to or greater than "0" or "14", the flow shifts to step S6566, where the lending end flag is set to "1" and the processing ends. Steps S6562 and S65
If all the judgments of No. 64 are “No”, step S6
Proceeding to 568, the discharge end flag is cleared to "0" and the process ends.

【0168】カウント値が「14」以上でも貸出終了と
判定しているのは、上記排出カウンタが4ビットのダウ
ンカウンタであって「0」の次は「15」,「14」,
・・と減少して行くので、予定よりも2個位多く排出さ
れたとしても誤差範囲とみなして制御を継続させ、排出
数の僅かな誤りで制御が中断されないようにするためで
ある。ただし、賞球排出の場合と異なり、玉貸し数の誤
りは遊技店の利害に密接するので、誤差範囲とみなす玉
数を賞球排出終了判定(図40)の場合よりも少なく見
積もっている。
Even if the count value is "14" or more, it is determined that the lending is completed because the discharge counter is a 4-bit down counter, and after "0", "15", "14",
The control is continued assuming that an error range is reached even if two or more discharges are performed more than expected, so that the control is not interrupted by a slight error in the number of discharges. However, unlike the case of prize ball discharge, an error in the number of balls lent is closely related to the interests of the game store, so the number of balls to be regarded as an error range is estimated to be smaller than in the case of the prize ball discharge determination (FIG. 40).

【0169】図49には、図44の貸玉処理フローのス
テップS157にて行なわれる貸出排出終了処理ルーチ
ンのフローチャートが示されている。本ルーチンは、図
47の貸出排出処理で正常終了フラグが“1”にセット
された場合に実行される。本ルーチンが開始されると、
次の貸出処理が開始されないようにするため(図45参
照)、まずステップ6571でタイマ0をウェイトタイ
マとして使用し、これを400m秒に設定してから、タ
イマ1を100m秒に設定する(ステップ6572)。
それから、玉貸し制御装置500に対する排出終了信号
EXSをハイレベルに変化(ステップ6573)させた
後、バックグランド処理を行なって各タイマを更新させ
てから上記ステップ6572で設定したタイマ1がタイ
ムアップしたか判定する(ステップ6574,S657
5)。ここで“No”ならステップ6576へ進んで玉
貸し制御装置500からの玉貸し要求信号BRQがハイ
レベルに変化したか判定し、“No”なら上記ステップ
S6574へ戻って上記手順を繰り返し、玉貸し要求信
号BRQがハイレベルに変化するのを待つ。排出終了信
号EXSをハイレベルに変化させてから100m秒以内
に玉貸し要求信号BRQがハイレベルに変化したなら、
ステップS6577へ進んで上記タイマ1を調べて50
m秒は経過しているか判定する。そして、50m秒経過
していればステップ6578へ進み、玉貸し要求信号B
RQの立下り検出フラグを“0”にクリアする。
FIG. 49 is a flowchart of a lending and discharging end processing routine executed in step S157 of the lending processing flow of FIG. This routine is executed when the normal end flag is set to “1” in the lending and discharging process of FIG. When this routine starts,
To prevent the next lending process from being started (see FIG. 45), first, in step 6571, timer 0 is used as a wait timer, and this is set to 400 ms, and then timer 1 is set to 100 ms (step 6572).
Then, after changing the discharge end signal EXS to the ball lending control device 500 to a high level (step 6573), the background processing is performed to update each timer, and then the timer 1 set in the above step 6572 times out. (Step 6574, S657
5). If “No” here, the flow advances to step 6576 to determine whether or not the ball lending request signal BRQ from the ball lending control device 500 has changed to a high level. If “No”, the flow returns to step S6574 to repeat the above procedure and lend the ball. Wait for the request signal BRQ to change to the high level. If the ball lending request signal BRQ changes to a high level within 100 ms after changing the discharge end signal EXS to a high level,
Proceeding to step S6577, the timer 1 is checked and 50
It is determined whether m seconds have elapsed. If 50 ms has elapsed, the flow advances to step 6578, and the ball lending request signal B
The RQ falling detection flag is cleared to "0".

【0170】それから、ステップS6579へ移行して
タイマ1を250m秒に設定し直してから、バックグラ
ンド処理を行なってタイマを更新させてから上記ステッ
プ6579で設定したタイマ1がタイムアップしたか判
定する(ステップ6580,S6581)。ここで“N
o”ならステップ6582へ進んで玉貸し制御装置50
0からの玉貸し要求信号BRQがロウレベルに変化した
か判定し、“No”なら上記ステップS6580へ戻っ
て上記手順を繰り返し、玉貸し要求信号BRQがロウレ
ベルに変化するのを待つ。そして、250m秒以内に玉
貸し要求信号BRQがロウレベルに変化するか、玉貸し
要求信号BRQがロウレベルに変化する前にタイマ1が
タイムアップしたなら本ルーチンを終了する(ステップ
6587,S6582)
Then, the flow shifts to step S6579, where the timer 1 is reset to 250 msec, background processing is performed to update the timer, and it is determined whether or not the timer 1 set in step 6579 has timed out. (Steps 6580 and S6581). Where "N
If "o", the flow advances to step 6582 to advance the ball lending control device 50.
It is determined whether the ball lending request signal BRQ from 0 has changed to a low level. If “No”, the process returns to the step S6580 to repeat the above procedure, and waits for the ball lending request signal BRQ to change to a low level. If the ball lending request signal BRQ changes to the low level within 250 msec, or if the timer 1 times out before the ball lending request signal BRQ changes to the low level, the present routine is terminated (step
6587, S6582) .

【0171】一方、上記ステップ6575で玉貸し要求
信号BRQがハイレベルに変化する前にステップ657
2で設定したタイマ1がタイムアップしたと判定する
と、ステップ6585へ移行し、球抜きソレノイドをオ
ン、セーフランプを点灯、玉貸し可能信号RDYをロウ
レベルにネゲートして貸出排出処理を中止する。所定時
間内に玉貸し制御装置500から応答信号が戻ってこな
いのは通信ラインの切断等重大な故障が発生したと考え
られるからである。
On the other hand, before the ball lending request signal BRQ changes to the high level in step 6575, step 657 is performed.
If it is determined that the timer 1 set in step 2 has timed out, the flow shifts to step 6585 to turn on the ball-pull solenoid, turn on the safe lamp, negate the ball lending enable signal RDY to a low level, and stop the lending discharge processing. The reason why the response signal does not return from the ball lending control device 500 within the predetermined time is because it is considered that a serious failure such as disconnection of the communication line has occurred.

【0172】次に、カードリーダにカードが挿入され、
パチンコ遊技機100に設けられた変換ボタン123が
押されて玉貸し要求がなされた場合において、上記玉貸
し制御装置500と排出制御装置600との間で送受信
される信号の具体的なタイミングを図50を用いて説明
する。なお、同図には変換ボタン123の1回の操作に
対し300円分の貸し玉を排出するように玉貸し数が設
定されている場合の信号タイミングが示されている。遊
技機の電源が投入されると、排出制御装置600から玉
貸し制御装置500へ供給される玉貸し可能信号RDY
がハイレベルに変化される(タイミングt1)。一方、
カードリーダにカードが挿入されると、玉貸し制御装置
500がこれを検知して、排出制御装置600に対する
カード有無信号CONをハイレベルにアサートする(タ
イミングt2)。
Next, the card is inserted into the card reader,
FIG. 9 shows the specific timing of signals transmitted and received between the ball lending control device 500 and the discharge control device 600 when the ball lending request is made by pressing the conversion button 123 provided on the pachinko gaming machine 100. The description will be made using 50. The figure shows the signal timing when the lending number is set so that the lending ball for 300 yen is discharged for one operation of the conversion button 123. When the power of the gaming machine is turned on, a ball lending enable signal RDY supplied from the discharge control device 600 to the ball lending control device 500
Is changed to the high level (timing t1). on the other hand,
When a card is inserted into the card reader, the ball lending control device 500 detects this, and asserts the card presence / absence signal CON to the ejection control device 600 to a high level (timing t2).

【0173】その後、変換ボタン123が押されると、
玉貸し制御装置500は上記玉貸し可能信号RDYがハ
イレベルに変化されていることを確認して玉貸し要求信
号BRQをロウレベルに変化させる(タイミングt
3)。玉貸し要求信号BRQを受信した排出制御装置6
00は、自らが出力している玉貸し可能信号RDYがハ
イレベルで、かつ玉貸し制御装置500からのカード有
無信号CONがハイレベルであることを条件に、排出終
了信号EXSをロウレベルに変化させ排出ソレノイド7
41a,741bを駆動して貸し玉の排出を開始する
(タイミングt4)。
After that, when the conversion button 123 is pressed,
The ball lending control device 500 confirms that the ball lending enable signal RDY has changed to a high level, and changes the ball lending request signal BRQ to a low level (timing t).
3). Emission control device 6 that has received the ball lending request signal BRQ
00 changes the discharge end signal EXS to low level on condition that the ball lending enable signal RDY output by itself is at high level and the card presence / absence signal CON from the ball lending control device 500 is at high level. Discharge solenoid 7
41a and 741b are driven to start lending out the ball (timing t4).

【0174】そして、排出制御装置600は、排出セン
サ730a,730bの検出信号を監視して排出数が2
5個(100円分)になった時点で排出ソレノイド74
1a,741bの駆動を停止させるとともに、玉貸し制
御装置500に対する排出終了信号EXSをハイレベル
に変化させる(タイミングt5)。玉貸し制御装置50
0は、排出終了信号EXSの立上りを検知しても玉貸し
排出回数が設定された回数(3回)に達していないとき
は玉貸し要求信号BRQをそのままロウレベルにアサー
トさせておく。すると、排出制御装置600は排出終了
信号EXS立ち上げ後100m秒経過した時点(タイミ
ングt6,t9,t12)で、玉貸し要求信号BRQの
レベルを調べてそれがロウレベルであると、玉貸要求継
続と判断して排出終了信号EXSをロウレベルに変化さ
せ、貸し玉の排出を開始する(タイミングt7,t1
0)。3回目に玉貸し要求信号BRQのレベルを調べた
時(タイミングt12)に、ハイレベルであると貸し玉
の排出排出処理を終了する。
Then, the discharge control device 600 monitors the detection signals of the discharge sensors 730a and 730b, and the discharge number is 2
Discharge solenoid 74 when 5 pieces (100 yen)
The driving of 1a and 741b is stopped, and the discharge end signal EXS to the ball lending control device 500 is changed to a high level (timing t5). Ball lending control device 50
0 indicates that the ball lending request signal BRQ is asserted to a low level as it is when the number of ball lending discharges does not reach the set number (three times) even when the rising of the discharge end signal EXS is detected. Then, the discharge control device 600 checks the level of the ball lending request signal BRQ at a point of time 100 ms after the rise of the discharge end signal EXS (timing t6, t9, t12), and if it is at the low level, continues the ball lending request. And the discharge end signal EXS is changed to the low level to start discharging the lending ball (at timings t7 and t1).
0). When the level of the ball lending request signal BRQ is checked for the third time (timing t12), if the level is high, the lending ball discharge / discharge processing ends.

【0175】ただし、玉貸し制御装置500は、玉貸し
要求信号BRQをロウレベルにアサート(タイミングt
3)してから10秒経過しても排出終了信号EXSがロ
ウレベルに変化しなかったり、排出終了信号EXSがロ
ウレベルに変化(タイミングt4,t7,t10)して
から10秒経過しても排出終了信号EXSがハイレベル
に変化しなかった場合(T1>10S,T2>10S)
には、カードリーダにカード排出指令を送って玉貸し制
御を中断する(図15のステップS8134,S814
2参照)。一方、排出制御装置600は、最後の排出終
了信号EXSをハイレベルに変化(タイミングt11)
させてから100m秒経過しても玉貸し要求信号BRQ
がハイレベルに変化しなかった場合(T3>100m
秒)には、異常発生(正常なら75m秒で変化する)と
判断して球抜きソレノイドをオン、セーフランプを点
灯、玉貸し可能信号RDYをロウレベルにネゲートして
貸し玉の排出処理を中止する(図49のステップS65
72,S6575参照)。
However, ball lending control device 500 asserts ball lending request signal BRQ to low level (at timing t).
3) The discharge end signal EXS does not change to the low level even if 10 seconds have elapsed after the discharge, or the discharge end even if 10 seconds have elapsed since the discharge end signal EXS changes to the low level (timing t4, t7, t10). When the signal EXS does not change to the high level (T1> 10S, T2> 10S)
, The card lending command is sent to the card reader to interrupt the ball lending control (steps S8134 and S814 in FIG. 15).
2). On the other hand, the discharge control device 600 changes the last discharge end signal EXS to a high level (timing t11).
Ball lending request signal BRQ even after 100 msec has passed
Does not change to the high level (T3> 100 m
In the second), it is determined that an abnormality has occurred (if it is normal, it changes in 75 ms), the ball-pulling solenoid is turned on, the safe lamp is turned on, the ball lending enable signal RDY is negated to a low level, and the lending ball discharging process is stopped. (Step S65 in FIG. 49)
72, S6575).

【0176】さらに、上記実施例の排出制御装置600
の制御フローではBRQ立下りフラグが“1”になって
いる間は貸玉処理を繰り返すようになっており(図23
のステップS3参照)、玉貸し制御装置500はBRQ
立下りフラグは設定された玉貸し数の回数だけ貸玉排出
を繰り返すまで玉貸し要求信号BRQをロウレベルにア
サートしている(図15のステップS8164,S81
70参照)ので、貸玉排出処理に入ってから遊技盤制御
装置400から賞球排出要求が送られてきても貸玉排出
処理が優先的に実行される。また、排出制御装置600
は玉貸し要求信号BRQの立上りを検知した後、所定時
間(例えば250m秒)経過してから次の処理に移行す
るようになっている(図49ステップS6579−S6
582参照)。
Further, the discharge control device 600 of the above embodiment is used.
In the control flow shown in FIG. 23, the ball-lending process is repeated while the BRQ falling flag is "1" (FIG. 23).
Step S3), the ball lending control device 500 sets the BRQ
The falling flag asserts the ball lending request signal BRQ to a low level until the ball lending is repeated the set number of ball lending times (steps S8164 and S81 in FIG. 15).
70), even if a prize ball discharge request is sent from the game board control device 400 after the ball lending discharging process is started, the ball lending discharging process is executed with priority. Also, the emission control device 600
After detecting the rising of the ball lending request signal BRQ, the process proceeds to the next process after a predetermined time (for example, 250 msec) has elapsed (steps S6579 to S6 in FIG. 49).
582).

【0177】また、玉貸し制御装置500は貸玉排出処
理に入ると玉貸し数の回数だけ貸玉排出を実行するま
で、図15のステップS8164,S8170,S81
30のループを繰り返し、図14のステップS8112
を通過しないので、玉貸し要求信号BRQをロウレベル
にアサートした後に変換ボタン123が押されてもこれ
を検知しないため、この間の変換スイッチのオンは無効
とされる。図51には本発明の第2の実施例が示されて
いる。この実施例は、球貸機200に表示切換えボタン
240を設けたものである。この表示切換えボタン24
0を押すと、パチンコ遊技機100の操作パネル121
に設けられている残高表示器122の表示態様が変更さ
れるようになっている。具体的には、それまでカードの
残高を100円分を1単位とする度数で表示していたも
のが、100円以下の端数を表示するようになる。これ
によって、例えばパチンコ遊技店が完全にカード化さ
れ、遊技用のカードを使ってタバコや清涼飲料水の自動
販売器等で交換できるようにされ、カードの残高に10
0円以下の端数が生じるようになった場合にも遊技者が
カード残高の端数を知ることができるようになる。
When the ball lending control device 500 enters the ball lending process, it executes steps S8164, S8170, and S81 in FIG.
The loop of 30 is repeated, and step S8112 of FIG.
, The conversion button 123 is not detected even if the conversion button 123 is pressed after the ball lending request signal BRQ is asserted to a low level, so that the ON of the conversion switch during this period is invalidated. FIG. 51 shows a second embodiment of the present invention. In this embodiment, the ball rental machine 200 is provided with a display switching button 240. This display switching button 24
When 0 is pressed, the operation panel 121 of the pachinko gaming machine 100 is pressed.
The display mode of the balance display unit 122 provided in is changed. More specifically, the balance of the card, which has been displayed in units of 100 yen, is now displayed as a fraction of 100 yen or less. As a result, for example, a pachinko game store is completely converted into a card, and can be exchanged with a vending machine such as a cigarette or a soft drink using a game card.
Even when a fraction of 0 yen or less occurs, the player can know the fraction of the card balance.

【0178】上記表示切換えボタン240を押すと、パ
チンコ遊技機100の操作パネル121に設けられてい
る残高表示器122の表示態様を変更させる代わりに、
球貸機200に設けられている挿入残高表示器220の
表示態様を変更させるようにしてもよい。また、表示切
換えボタン240を球貸機200に設ける代わりに、パ
チンコ遊技機の操作パネル121に設けても良い。な
お、上記実施例では、入賞球分離検出装置180内のセ
ーフセンサ181の検出信号を排出制御装置600に入
力して、排出制御装置600が入賞球を検出すると遊技
盤制御装置400に対して賞球数データの要求を行なっ
て受信した賞球数データに基づいて賞品球の排出を行な
うようにしているが、この発明はそれに限定されず、例
えばセーフセンサ181の検出信号を遊技盤制御装置4
00に入力して、遊技盤制御装置400が入賞球を検出
すると排出制御装置600に対して賞球数データを送信
し、賞品球の排出を行なわせるようにすることも可能で
ある。
When the display switch button 240 is pressed, instead of changing the display mode of the balance display 122 provided on the operation panel 121 of the pachinko gaming machine 100,
The display mode of the inserted balance display 220 provided in the ball lending machine 200 may be changed. Further, instead of providing the display switching button 240 on the ball rental machine 200, it may be provided on the operation panel 121 of the pachinko gaming machine. In the above embodiment, the detection signal of the safe sensor 181 in the prize ball separation detecting device 180 is input to the discharge control device 600, and when the discharge control device 600 detects a prize ball, the game board control device 400 receives a prize. The prize balls are discharged based on the prize ball number data received by requesting the ball number data. However, the present invention is not limited to this. For example, the detection signal of the safe sensor 181 is transmitted to the game board control device 4.
When the game board control device 400 detects a winning ball by inputting to 00, it is also possible to transmit prize ball number data to the discharge control device 600 to discharge a prize ball.

【0179】さらに上記実施例では、貸し玉への変換ボ
タン123や返却ボタン124、残高表示器122等が
供給皿120の上面の操作パネル121に設けられてい
るが、これらの位置は供給皿に限定されず、パチンコ遊
技機の前面の任意の位置あるいは球貸機200の前面に
設けることができる。また、実施例では遊技機と遊技機
との間に配置された玉貸機にカードリーダが内蔵されて
いるが、カードリーダはパチンコ遊技機100の受け皿
141の一側等に配設して遊技機に内蔵させておくよう
に構成しても良い。
Further, in the above-described embodiment, the conversion button 123 for a loaned ball, the return button 124, the balance indicator 122, and the like are provided on the operation panel 121 on the upper surface of the supply tray 120. The present invention is not limited thereto, and may be provided at any position on the front of the pachinko gaming machine or on the front of the ball rental machine 200. Further, in the embodiment, the card reader is built in the ball lending machine arranged between the gaming machines, but the card reader is disposed on one side of the tray 141 of the pachinko gaming machine 100 and the game is performed. You may comprise so that it may be built in a machine.

【0180】[0180]

【発明の効果】以上説明したように、この発明は、挿入
されたカードに記憶されている有価データの範囲内で、
遊技者の玉貸要求に基づく所要の玉貸処理を行う玉貸し
ユニットと、該玉貸しユニットから送信される玉貸要求
制御信号に基づいて、球排出装置を作動して玉貸しのた
めの遊技球の排出制御を行う貸し玉排出制御部を有する
排出制御回路を具備した遊技機と、を備えた遊技装置に
おいて、上記貸し玉排出制御部は、上記遊技機において
玉貸し排出が可能な状態にあることを知らせる玉貸し可
能信号を上記玉貸しユニット側に出力し、当該玉貸し可
能信号および玉貸しユニット側からの上記玉貸要求制御
信号が能動化状態にあることを条件に、遊技者の玉貸要
求に基づく予め設定された所要数の貸し玉を所定の最小
変換単位分に対応する玉数に区切って繰り返し排出する
よう上記球排出装置を制御するとともに、当該区切られ
た所定の最小変換単位分に対応する玉数が排出する毎
に、当該排出の終了を知らせる排出終了信号を上記玉貸
しユニット側に送信し、上記玉貸要求制御信号が非能動
化状態に移行したことを条件に、上記所要数の貸し玉を
所定の最小変換単位分に対応する玉数毎に区切って繰り
返して排出する制御を完了させるように構成して成り
所定のタイマ手段の計測する所定時間内に上記排出制御
回路の貸し玉排出制御部から出力されるべき所定の制御
信号が検出されない場合には、異常状態と判定するよう
したので、玉貸しユニット側では遊技機における玉貸
し排出が可能な状態にあることを認識してから上記玉貸
要求制御信号を能動化することになり、遊技機側で玉貸
し排出の準備が整わないうちに上記玉貸要求制御信号を
能動化することはない。
As described above, according to the present invention, within the range of valuable data stored in the inserted card,
A ball lending unit which performs the required ball lending process based on the target lens rental request of the player, based on the target lens rental request control signal transmitted from 該玉rental units, gaming for ball lending by operating the ball discharging unit a gaming machine provided with the discharge control circuit having a rental ball discharge control unit which performs discharge control of the sphere, the gaming machine having a
In addition, the lending ball discharge control unit outputs to the ball lending unit a ball lending enable signal that informs that the ball lending discharge is possible in the gaming machine, the ball lending enable signal and the ball lending unit On the condition that the ball lending request control signal from the side is in the activated state, the required number of lending balls set in advance based on the ball lending request of the player to the number of balls corresponding to the predetermined minimum conversion unit The ball discharging device is controlled so as to repeatedly discharge the ball, and each time the number of balls corresponding to the predetermined minimum conversion unit is discharged, the ball lending unit sends a discharge end signal notifying the end of the discharge. Side, and on condition that the ball lending request control signal has shifted to the deactivated state, the required number of lending balls are repeatedly discharged in a divided number of balls corresponding to a predetermined minimum conversion unit. control Become configured so as to be completed,
The discharge control is performed within a predetermined time measured by a predetermined timer means.
Predetermined control to be output from the lending ball discharge control unit of the circuit
If no signal is detected, it is determined to be abnormal.
Since the, in the ball lending unit side will be activated the ball lending request control signal from the recognition that it is in a state capable ball lending discharged in the gaming machine, preparation of ball lending discharged gaming machine side Is not activated before the ball lending request control signal is activated.

【0181】また、貸し玉排出制御部は自分自身が出力
した玉貸し可能信号および玉貸しユニット側からの能動
化された玉貸要求制御信号を確認して、遊技者の玉貸要
求に基づく予め設定された所要数の貸し玉を所定の最小
変換単位分に対応する玉数に区切って繰り返し排出制御
を行うことが可能となり、当該区切られた所定の最小変
換単位分に対応する玉数が排出される毎に、当該排出の
終了を知らせる排出終了信号を上記玉貸しユニット側に
送信するので、玉貸しユニット側では所定の最小変換単
位分に対応する玉数に区切って排出される毎に、当該排
出の終了を確認でき、その受信回数を計数することで所
定数の貸し玉の排出完了を判定することができることと
なる。さらに、貸し玉排出制御部は、玉貸要求制御信号
が非能動化状態に移行したことを確認して、上記所要数
の貸し玉を所定の最小変換単位分に対応する玉数毎に区
切って繰り返して排出する制御を完了するので、玉貸し
の排出制御がより正確且つ確実になり、排出される貸し
玉数の正確性もより向上する。さらに、例えば玉貸要求
信号に基づいて計測を開始するような所定のタイマ手段
の計測する所定時間内に上記排出制御回路の貸し玉排出
制御部から出力されるべき所定の制御信号が検出されな
い場合には、異常状態と判定するようにしたので、所定
の最小単位毎に異常状態の有無を判定できるため、玉貸
し排出制御がより確実に行なわれるようになる。従っ
て、遊技者に対しては貸し玉の正確性および確実性が保
証されて、遊技装置に対する安心感を与えることができ
る。また、貸し玉の正確性および確実性が保証されるこ
とにより、貸し玉が正確でないなどという遊技者との間
のトラブルに発展するおそれを回避できるので、遊技店
にとっても安心できる遊技装置を提供することができ
る。
The lending ball discharge control unit checks the ball lending enable signal output by itself and the activated ball lending request control signal from the ball lending unit, and determines in advance based on the ball lending request of the player. It is possible to repeatedly perform the discharge control by dividing the set required number of lending balls into the number of balls corresponding to the predetermined minimum conversion unit, and discharge the number of balls corresponding to the predetermined minimum conversion unit. Each time the ball is sent, the ball lending unit sends a discharge end signal notifying the end of the discharge to the ball lending unit, so that the ball lending unit is divided into a number of balls corresponding to a predetermined minimum conversion unit and discharged. The end of the discharge can be confirmed, and the completion of discharge of a predetermined number of loaned balls can be determined by counting the number of receptions. Furthermore, the lending ball discharge control unit confirms that the ball lending request control signal has shifted to the deactivated state, and divides the required number of lending balls into balls corresponding to a predetermined minimum conversion unit. Since the control of repeatedly discharging the ball is completed, the control of discharging the ball lending becomes more accurate and reliable, and the accuracy of the number of lending balls to be discharged is further improved. Furthermore, for example, ball lending request
Predetermined timer means for starting measurement based on a signal
Lending ball discharge of the above discharge control circuit within a predetermined time measured by
A predetermined control signal to be output from the control unit is not detected.
Is determined to be abnormal,
Can determine the presence or absence of an abnormal condition for each minimum unit.
The discharge control is performed more reliably. Therefore, the accuracy and certainty of the loaned ball are guaranteed for the player , and a sense of security for the gaming device can be given. Further, by accuracy and reliability of rental balls is ensured, it is possible to avoid the risk of developing the trouble between the player that such rental ball is not correct, provides a game device capable of safe for game arcade can do.

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

【図1】本発明に係る遊技機としてのカード式パチンコ
遊技機の構成例を示す斜視図である。
FIG. 1 is a card-type pachinko machine as a gaming machine according to the present invention.
It is a perspective view showing the example of composition of a game machine .

【図2】本発明に係るパチンコ遊技機の裏機構の構成例
を示す背面図である。
FIG. 2 is a rear view showing a configuration example of a back mechanism of the pachinko gaming machine according to the present invention.

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

【図4】パチンコ遊技機100および玉貸しユニットと
しての玉貸機200の制御系の一実施例を示すブロック
図である。
FIG. 4 shows a pachinko gaming machine 100 and a ball lending unit.
FIG. 2 is a block diagram showing an embodiment of a control system of the ball lending machine 200 according to the present invention.

【図5】遊技盤制御回路としての遊技盤制御装置400
の一構成例を示すブロック図である。
FIG. 5 is a game board control device 400 as a game board control circuit .
FIG. 3 is a block diagram showing an example of the configuration of FIG.

【図6】遊技盤制御装置400の具体的構成例を示すシ
ステム構成図である。
6 is a system configuration diagram showing a specific configuration example of a game board control device 400. FIG.

【図7】排出制御回路としての排出制御装置600の一
構成例を示すブロック図である。
FIG. 7 is a block diagram illustrating a configuration example of a discharge control device 600 as a discharge control circuit .

【図8】排出制御装置600の具体的構成例を示すシス
テム構成図である。
FIG. 8 is a system configuration diagram showing a specific configuration example of an emission control device 600.

【図9】玉貸制御回路としての玉貸制御装置500の一
構成例を示すブロック図である。
FIG. 9 is a block diagram illustrating a configuration example of a ball lending control device 500 as a ball lending control circuit .

【図10】玉貸制御装置500の具体的構成例を示すシ
ステム構成図である。
10 is a system configuration diagram illustrating a specific configuration example of a ball lending control device 500. FIG.

【図11】遊技盤制御装置400によって行なわれる遊
技盤全体の制御手順の一例を示すフローチャートであ
る。
11 is a flowchart illustrating an example of a control procedure of the entire game board performed by the game board control device 400. FIG.

【図12】図11のフロー中における賞球処理の制御手
順の一例を示すフローチャートである。
12 is a flowchart illustrating an example of a control procedure of a prize ball process in the flow of FIG. 11;

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

【図14】上記メインルーチン(図13)のステップS
8008で実行される玉貸処理の具体的手順の一部(前
半)を示すフローチャートである。
FIG. 14: Step S of the main routine (FIG. 13)
It is a flowchart which shows a part (first half) of the specific procedure of the ball lending process performed by 8008.

【図15】上記メインルーチン(図13)のステップS
8008で実行される玉貸処理の具体的手順の一部(後
半)を示すフローチャートである。
FIG. 15: Step S of the main routine (FIG. 13)
It is a flowchart which shows a part (2nd half) of the specific procedure of the ball lending process performed by 8008.

【図16】上記メインルーチン(図13)のステップS
8010で実行されるカードの返却処理の具体的手順の
一部を示すフローチャートである。
FIG. 16: Step S of the main routine (FIG. 13)
It is a flowchart which shows a part of specific procedure of the card return process performed in 8010.

【図17】上記メインルーチン(図13)のステップS
8012で実行されるファンクション送受信処理の具体
的手順の一部(前半)を示すフローチャートである。
FIG. 17: Step S of the main routine (FIG. 13)
It is a flowchart which shows a part (first half) of the specific procedure of the function transmission / reception process performed by 8012.

【図18】上記メインルーチン(図13)のステップS
8012で実行されるファンクション送受信処理の具体
的手順の一部(後半)を示すフローチャートである。
FIG. 18 is a step S of the main routine (FIG. 13).
It is a flowchart which shows a part (second half) of the specific procedure of the function transmission / reception process performed by 8012.

【図19】上記メインルーチン(図13)のステップS
8014で実行される決済信号出力処理の具体的手順の
一例を示すフローチャートである。
FIG. 19 is a step S of the main routine (FIG. 13).
It is a flowchart which shows an example of the specific procedure of the settlement signal output process performed in 8014.

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

【図21】図13のメインルーチンに優先して玉貸し制
御装置500によって行なわれる送信割込処理の手順を
示すフローチャートである。
FIG. 21 is a flowchart illustrating a procedure of a transmission interruption process performed by the ball lending control device 500 prior to the main routine of FIG. 13;

【図22】図13のメインルーチンに優先して玉貸し制
御装置500によって行なわれる受信割込処理の手順を
示すフローチャートである。
FIG. 22 is a flowchart showing a procedure of a reception interruption process performed by the ball lending control device 500 prior to the main routine of FIG. 13;

【図23】排出制御装置600による排出制御処理のメ
インルーチンの一例を示すフローチャートである。
FIG. 23 is a flowchart illustrating an example of a main routine of a discharge control process performed by the discharge control device 600.

【図24】上記メインルーチン(図23)のステップS
1で実行される初期化処理の具体的手順の一例を示すフ
ローチャートである。
FIG. 24: Step S of the main routine (FIG. 23)
3 is a flowchart illustrating an example of a specific procedure of an initialization process executed in Step 1.

【図25】上記メインルーチン(図23)のステップS
2で実行されるバックグランド処理の具体的手順の一例
を示すフローチャートである。
FIG. 25: Step S of the main routine (FIG. 23)
6 is a flowchart illustrating an example of a specific procedure of a background process executed in Step 2.

【図26】上記バックグランド処理(図25)のステッ
プS21で実行される1m秒待ち処理の手順の一例を示
すフローチャートである。
FIG. 26 is a flowchart illustrating an example of a procedure of a 1-msec waiting process executed in step S21 of the background process (FIG. 25).

【図27】上記バックグランド処理(図25)のステッ
プS22で実行されるタイマ更新処理の手順の一例を示
すフローチャートである。
FIG. 27 is a flowchart illustrating an example of a procedure of a timer update process executed in step S22 of the background process (FIG. 25).

【図28】上記バックグランド処理(図25)のステッ
プS24で実行されるセーフセンサの読込み処理ルーチ
ンのフローチャートである。
FIG. 28 is a flowchart of a safe sensor reading process routine executed in step S24 of the background process (FIG. 25).

【図29】上記バックグランド処理(図25)のステッ
プS25で実行される排出センサの読込み処理ルーチン
のフローチャートである。
FIG. 29 is a flowchart of a reading process routine of the discharge sensor executed in step S25 of the background process (FIG. 25).

【図30】上記バックグランド処理(図25)のステッ
プS27で実行される球抜センサ750の読込み処理ル
ーチンのフローチャートである。
FIG. 30 is a flowchart of a reading process routine of the ball-out sensor 750 executed in step S27 of the background process (FIG. 25).

【図31】上記バックグランド処理(図25)のステッ
プS28で実行される玉貸要求信号の入力処理のルーチ
ンを示すフローチャートである。
FIG. 31 is a flowchart showing a routine of a ball lending request signal input process executed in step S of the background process (FIG. 25).

【図32】上記バックグランド処理(図25)のステッ
プS29で実行されるカード有無信号の入力処理のルー
チンを示すフローチャートである。
FIG. 32 is a flowchart showing a routine of a card presence / absence signal input process executed in step S29 of the background process (FIG. 25).

【図33】上記メインルーチン(図23)のステップS
5で実行される球抜き処理(前半)の具体的手順の一例
を示すフローチャートである。
FIG. 33: Step S of the main routine (FIG. 23)
9 is a flowchart illustrating an example of a specific procedure of a ball removing process (first half) executed in Step 5;

【図34】上記メインルーチン(図23)のステップS
5で実行される球抜き処理(後半)の具体的手順の一例
を示すフローチャートである。
FIG. 34: Step S of the main routine (FIG. 23)
12 is a flowchart illustrating an example of a specific procedure of a ball removing process (second half) executed in Step 5;

【図35】上記メインルーチン(図23)のステップS
7で実行される払出処理の手順の一例を示すフローチャ
ートである。
FIG. 35: Step S of the main routine (FIG. 23)
It is a flowchart which shows an example of the procedure of the payout process performed in FIG.

【図36】上記払出処理(図35)のステップS501
で実行される排出条件判定処理のサブルーチンを示すフ
ローチャートである。
FIG. 36: Step S501 of the payout process (FIG. 35)
6 is a flowchart showing a subroutine of a discharge condition determination process executed by the subroutine.

【図37】上記払出処理(図35)のステップS503
で実行される賞球数要求処理のサブルーチンを示すフロ
ーチャートである。
FIG. 37: Step S503 of the payout process (FIG. 35)
It is a flowchart which shows the subroutine of the award ball number request | requirement process performed by.

【図38】上記払出処理(図35)のステップS504
で実行される賞球数設定処理のサブルーチンを示すフロ
ーチャートである。
FIG. 38: Step S504 of the payout process (FIG. 35)
It is a flowchart which shows the subroutine of the prize ball number setting process performed by.

【図39】上記払出処理(図35)のステップS505
にて行われる賞球排出処理のサブルーチンを示すフロー
チャートである。
FIG. 39: Step S505 of the payout process (FIG. 35)
It is a flowchart which shows the subroutine of the prize ball discharge processing performed in.

【図40】上記賞球排出処理(図39)にて行われる賞
球排出終了判定処理のサブルーチンを示すフローチャー
トである。
40 is a flowchart showing a subroutine of a prize ball discharge end determination process performed in the prize ball discharge process (FIG. 39).

【図41】上記払出処理(図35)のステップS507
で実行されるセーフ玉排出処理のサブルーチンを示すフ
ローチャートである。
FIG. 41: Step S507 of the payout process (FIG. 35)
It is a flowchart which shows the subroutine of the safe ball discharge processing performed by (1).

【図42】上記セーフ玉排出処理(図41)にて行われ
るセーフセンサ玉無し確認処理のサブルーチンを示すフ
ローチャートである。
FIG. 42 is a flowchart showing a subroutine of safe sensor ball absence confirmation processing performed in the safe ball discharge processing (FIG. 41).

【図43】上記払出処理(図35)のステップS508
で実行される賞球排出終了処理のサブルーチンを示すフ
ローチャートである。
FIG. 43: Step S508 of the payout process (FIG. 35)
It is a flowchart which shows the subroutine of the prize ball discharge end process performed by.

【図44】上記メインルーチン(図23)のステップS
10で実行される貸玉処理のサブルーチンの一部を示す
フローチャートである。
FIG. 44: Step S of the main routine (FIG. 23)
It is a flowchart which shows a part of subroutine of the ball-lending process performed in FIG.

【図45】上記貸玉処理(図44)のステップS151
にて実行される貸出条件判定処理のサブルーチンを示す
フローチャートである。
FIG. 45: Step S151 in the ball-lending process (FIG. 44)
It is a flowchart which shows the subroutine of the lending condition determination process performed by.

【図46】上記貸玉処理(図44)のステップS153
にて実行される貸出玉数設定処理のサブルーチンを示す
フローチャートである。
FIG. 46: Step S153 in the ball-lending process (FIG. 44)
It is a flowchart which shows the subroutine of the lending ball number setting process performed by.

【図47】上記貸玉処理(図44)のステップS155
にて実行される貸出排出処理のサブルーチンを示すフロ
ーチャートである。
FIG. 47: Step S155 of the ball-lending process (FIG. 44)
It is a flowchart which shows the subroutine of the lending discharge process performed in.

【図48】上記貸出排出処理(図47)にて実行される
貸出排出終了判定処理のサブルーチンを示すフローチャ
ートである。
FIG. 48 is a flowchart showing a subroutine of a lending discharge end determination process executed in the lending discharge process (FIG. 47).

【図49】上記貸玉処理(図44)のステップS157
にて実行される貸出排出終了処理のサブルーチンを示す
フローチャートである。
FIG. 49: Step S157 of the above ball-lending process (FIG. 44)
It is a flowchart which shows the subroutine of the lending discharge | emission completion process performed by.

【図50】上記玉貸し制御装置500と排出制御装置6
00との間で送受信される信号の具体的なタイミングを
示すタイムチャートである。
FIG. 50: the ball lending control device 500 and the discharge control device 6
6 is a time chart showing specific timings of signals transmitted and received between 00 and 00.

【図51】本発明に係る遊技機としてのカード式パチン
コ遊技機の第2の実施例を示す斜視図である。
FIG. 51: Card-type snap as a gaming machine according to the present invention
It is a perspective view which shows the 2nd Example of a game machine .

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

100 パチンコ遊技機120 供給皿 122 残高表示器 123 玉貸し変換ボタン 170 球排出装置 180 入賞球分離検出装置 200 玉貸し機 211 カード挿排口 220 挿入残高表示器 230 有効表示ランプ 400 遊技盤制御回路としての遊技盤制御装置 500 玉貸し制御回路としての玉貸し制御装置 600 排出制御回路としての排出制御装置 100 Pachinko gaming machine 120 Supply tray 122 Balance display 123 Ball lending conversion button 170 Ball ejection device 180 Winning ball separation detection device 200 Ball lending machine 211 Card insertion / ejection port 220 Insertion balance display 230 Effective display lamp 400 As a game board control circuit Game board control device 500 ball lending control device 600 as a ball lending control circuit 600 discharge control device as a discharge control circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) A63F 7/02 G07F 7/08 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) A63F 7/02 G07F 7/08

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 挿入されたカードに記憶されている有価
データの範囲内で、遊技者の玉貸要求に基づく所要の玉
貸処理を行う玉貸しユニットと、該玉貸しユニットから
送信される玉貸要求制御信号に基づいて、球排出装置を
作動して玉貸しのための遊技球の排出制御を行う貸し玉
排出制御部を有する排出制御回路を具備した遊技機と、
を備えた遊技装置において、 上記貸し玉排出制御部は、 上記遊技機において玉貸し排出が可能な状態にあること
を知らせる玉貸し可能信号を上記玉貸しユニット側に出
力し、当該玉貸し可能信号および玉貸しユニット側から
の上記玉貸要求制御信号が能動化状態にあることを条件
に、遊技者の玉貸要求に基づく予め設定された所要数の
貸し玉を所定の最小変換単位分に対応する玉数に区切っ
て繰り返し排出するよう上記球排出装置を制御するとと
もに、当該区切られた所定の最小変換単位分に対応する
玉数が排出する毎に、当該排出の終了を知らせる排出終
了信号を上記玉貸しユニット側に送信し、 上記玉貸要求制御信号が非能動化状態に移行したことを
条件に、上記所要数の貸し玉を所定の最小変換単位分に
対応する玉数毎に区切って繰り返して排出する制御を完
了させるように構成して成り所定のタイマ手段の計測する所定時間内に上記排出制御
回路の貸し玉排出制御部から出力されるべき所定の制御
信号が検出されない場合には、異常状態と判定するよう
にした ことを特徴とする遊技装置。
1. A ball lending unit for performing a required ball lending process based on a ball lending request of a player within a range of valuable data stored in an inserted card, and a ball transmitted from the ball lending unit. Based on the lending request control signal, a gaming machine equipped with a discharge control circuit having a lending ball discharge control unit that operates a ball discharging device to control the discharge of game balls for ball lending ,
In the gaming device provided with, the lending ball discharge control unit, to output a ball lending possible signal to the ball lending unit that informs that the ball lending discharge is possible in the gaming machine, the ball lending possible signal And, provided that the ball lending request control signal from the ball lending unit is in the activated state, the predetermined required number of lending balls based on the ball lending request of the player corresponds to a predetermined minimum conversion unit. While controlling the ball discharge device so as to repeatedly discharge the ball divided into the number of balls to be performed, every time the number of balls corresponding to the divided predetermined minimum conversion unit is discharged, a discharge end signal notifying the end of the discharge is generated. Transmitted to the ball lending unit side, on condition that the ball lending request control signal has shifted to the deactivated state, the required number of lending balls is divided into balls corresponding to a predetermined minimum conversion unit. Repetition Become configured to complete the control for discharging return, the discharge control within a predetermined time to measure the predetermined timer means
Predetermined control to be output from the lending ball discharge control unit of the circuit
If no signal is detected, it is determined to be abnormal.
Gaming apparatus being characterized in that the.
【請求項2】 上記所定の制御信号は上記排出終了信号
であることを特徴とする請求項1記載の遊技装置
2. The discharge control system according to claim 1, wherein the predetermined control signal is a discharge end signal.
Gaming apparatus of claim 1, wherein a is.
JP3181838A 1991-06-25 1991-06-25 Gaming equipment Expired - Fee Related JP3035796B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3181838A JP3035796B2 (en) 1991-06-25 1991-06-25 Gaming equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3181838A JP3035796B2 (en) 1991-06-25 1991-06-25 Gaming equipment

Publications (2)

Publication Number Publication Date
JPH053959A JPH053959A (en) 1993-01-14
JP3035796B2 true JP3035796B2 (en) 2000-04-24

Family

ID=16107700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3181838A Expired - Fee Related JP3035796B2 (en) 1991-06-25 1991-06-25 Gaming equipment

Country Status (1)

Country Link
JP (1) JP3035796B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3547664B2 (en) * 1999-10-01 2004-07-28 株式会社ソフィア Gaming machine
JP2006238968A (en) * 2005-02-28 2006-09-14 Nippon Leisure Card-System Co Ltd Game system and game medium dispensing processor

Also Published As

Publication number Publication date
JPH053959A (en) 1993-01-14

Similar Documents

Publication Publication Date Title
JP2000288229A (en) Card-type game machine
JPH11221353A (en) Electronic game machine
JP3035796B2 (en) Gaming equipment
JP3035795B2 (en) Gaming equipment
JP3066475B2 (en) Card-type gaming machine
JP3066474B2 (en) Card-type gaming machine
JP3274476B2 (en) Card type pachinko game machine
JP2001170348A (en) Game machine
JP2000325639A (en) Card type game machine
JP3163485B2 (en) Card-type gaming machine
JP2000288232A (en) Card-type game machine
JPH08182815A (en) Pinball game machine
JP3415555B6 (en) Card game machine
JP2000271337A (en) Card type game machine
JP2002113252A (en) Card type pachinko game device
JP2001087472A (en) Game machine
JP3326564B2 (en) Card-type pachinko machine
JP3982709B2 (en) Card type pachinko game machine
JP2000225266A (en) Pachinko machine
JPH0515647A (en) Transmitting/receiving system in pinball game machine
JP2002113214A (en) Card type pachinko game apparatus
JP2002320758A (en) Card type pachinko game device
JP5417570B2 (en) Game ball rental system, card unit, payout control device, and game machine
JP3982712B2 (en) Card type pachinko game machine
JP3982710B2 (en) Card type pachinko game machine

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080225

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees