JPH06142328A - Ball discharge control device for pinball machine - Google Patents

Ball discharge control device for pinball machine

Info

Publication number
JPH06142328A
JPH06142328A JP4327640A JP32764092A JPH06142328A JP H06142328 A JPH06142328 A JP H06142328A JP 4327640 A JP4327640 A JP 4327640A JP 32764092 A JP32764092 A JP 32764092A JP H06142328 A JPH06142328 A JP H06142328A
Authority
JP
Japan
Prior art keywords
ball
payout
value
signal
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4327640A
Other languages
Japanese (ja)
Other versions
JP3256299B2 (en
Inventor
Shigeru Ichihara
茂 市原
Wataru Horii
渉 堀井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daiichi Shokai Co Ltd
Original Assignee
Daiichi Shokai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daiichi Shokai Co Ltd filed Critical Daiichi Shokai Co Ltd
Priority to JP32764092A priority Critical patent/JP3256299B2/en
Publication of JPH06142328A publication Critical patent/JPH06142328A/en
Application granted granted Critical
Publication of JP3256299B2 publication Critical patent/JP3256299B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To control the whole pinball machine reasonably and quickly by providing a control device which operates a ball discharge device to discharge a specified number of balls in response to the input detection of a prize ball discharge detecting switch. CONSTITUTION:To a microcomputer 4, a ball detecting switch SW1, ball detecting switch SW2 and ball removing operation detecting switch SW3 are connected by a switch detecting part 33. Also, a prize ball discharge detecting switch SW5 and a detecting switch SW4 for detecting prize ball being full in the tank connected by a switch detecting part 34, and a ball discharge device 20 is connected by a ball discharge control circuit 29. When an actuating signal of the prize ball discharge detecting switch SW5 is input in a control board 44 which controls respective prize devices, etc., on the game panel surface, a discharge signal 1 and discharge signal 2 are transmitted to the frame control board while synchronizing with the signal. The frame control board controls the ball discharge device 20 in response to the discharge signals, and discharges prize balls.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、パチンコ機における球
の払い出し制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ball payout control device for a pachinko machine.

【0002】[0002]

【従来の技術】遊技盤面において発生する遊技球の入賞
検出と、遊技球の入賞検出に対する各別の異なる球数の
賞品球の払い出しは、通常1つの制御装置によって行っ
ている。また、遊技場内に設置されたパチンコ球の循環
装置よりパチンコ球がパチンコ機本体に供給される一
方、金銭と同様の有価価値を有するプリペイドカードと
よばれるカードを購入し、該カードをカード読取り装置
に挿入して該カードに記憶されている金額情報を所定の
パチンコ機の貸球数に変換し、パチンコ機本体よりパチ
ンコ球を貸出す型式のカード式パチンコ機が知られてい
る。
2. Description of the Related Art Usually, one control device is used to detect the winning of a game ball generated on a game board surface and to pay out the prize balls having different numbers of balls for the winning detection of the game ball. Also, while the pachinko balls are supplied to the main body of the pachinko machine from the pachinko ball circulation device installed in the game arcade, while purchasing a card called a prepaid card that has the same valuable value as money, the card reading device There is known a card-type pachinko machine of a type in which the amount information stored in the card is converted into the number of lent balls of a predetermined pachinko machine and the pachinko machine body is lent from the main body of the pachinko machine.

【0003】パチンコ機本体よりパチンコ球を貸出す型
式のカード式パチンコ機において、遊技盤面において発
生する遊技球の入賞検出に対する各別の異なる球数の賞
品球の払い出しと、パチンコ機本体よりパチンコ球を貸
出しとを兼ねる球払い出し装置が望まれるが、これを1
つの制御装置で行う場合に、払い出し動作処理の時間が
かかると、払い出し動作処理以外の処理に影響が及ん
で、パチンコ機全体の制御が複雑となり時間がかかり問
題がある。
In a card type pachinko machine of a type in which pachinko balls are lent out from the pachinko machine body, payout of prize balls with different numbers of different balls for detection of winning of the game balls generated on the game board surface, and pachinko balls from the pachinko machine body It is desirable to have a ball payout device that doubles as a rental.
When the payout operation process takes time when performed by one control device, the processes other than the payout operation process are affected, and the control of the entire pachinko machine becomes complicated and time-consuming.

【0004】[0004]

【発明が解決しようとする課題】本発明の目的は、パチ
ンコ機本体よりパチンコ球を貸出す型式のカード式パチ
ンコ機に適用できて、遊技盤面において発生する遊技球
の入賞検出に対する各別の異なる球数の賞品球の払い出
しとパチンコ機本体よりの球貸しを兼ね、パチンコ機全
体の制御を合理的にかつ迅速に行うことが可能となるパ
チンコ機における球の払い出し制御装置を提供すること
にある。
The object of the present invention can be applied to a card type pachinko machine of a type in which a pachinko ball is lent from the main body of the pachinko machine, and is different for each winning detection of the game ball generated on the game board surface. It is to provide a ball payout control device for a pachinko machine that can reasonably and swiftly control the entire pachinko machine, while both paying out prize balls for the number of balls and lending the balls from the pachinko machine body. .

【0005】[0005]

【課題を解決するための手段】本発明のパチンコ機にお
ける払い出し制御装置は、上記課題を解決するために、
遊技盤に配設された各別の入賞球検出スイッチによる入
賞球検出に対応する賞品球の払い出し条件成立に対応し
て出力される第1の払い出し制御信号と、前記第1の払
い出し制御信号に対応して各別の異なる球数の賞品球を
払い出すための払い出し球数として出力される第2の払
い出し制御信号と、前記第1及び第2の払い出し信号を
受け、パチンコ機本体枠側において、賞品球払い出し検
出スイッチの入力検出に応じて所定個数の球の払い出し
を行う球排出装置を作動させる制御手段とよりなること
を特徴とする。
In order to solve the above-mentioned problems, a payout control device for a pachinko machine according to the present invention comprises:
The first payout control signal and the first payout control signal, which are output in response to satisfaction of the payout conditions of the prize balls corresponding to the detection of the prize balls by the different prize ball detection switches arranged on the game board. Correspondingly, the second payout control signal output as the number of payout balls for paying out different different number of prize balls and the first and second payout signals are received, and the pachinko machine body frame side And a control means for activating a ball discharging device that pays out a predetermined number of balls in response to the input detection of the prize ball payout detection switch.

【0006】また、前記制御手段に、カード処理情報処
理手段を接続し、該カード処理情報処理手段よりの入力
信号に応じて前記球排出装置を作動して所定の貸球払い
出し動作を行う貸球処理手段を設けた。
Further, a card processing information processing means is connected to the control means, and the ball discharging device is operated in response to an input signal from the card processing information processing means to perform a predetermined ball rental payout operation. A processing means was provided.

【0007】さらに、前記第1の払い出し制御信号は、
入賞球検出後の出力時間を制限した。
Further, the first payout control signal is
The output time after winning ball detection is limited.

【0008】さらにまた、前記制御手段は、前記賞品球
払い出し検出スイッチの入力検出から開始され、前記第
2の払い出し制御信号の検出及び前記球排出装置の作動
制御を完了するまでの払い出し動作時間を一定時間以内
とした。
Further, the control means starts a payout operation time from the detection of the input of the prize ball payout detection switch to the detection of the second payout control signal and the completion of the operation control of the ball discharge device. Within a fixed time.

【0009】また、前記第2の制御手段が、前記第2の
払い出し信号の検出回数を予め定められた賞品球の最大
払い出し個数より減算し、前記球排出装置の払い出し個
数として設定するようにした。
Further, the second control means subtracts the number of detections of the second payout signal from a predetermined maximum payout number of prize balls and sets it as the payout number of the ball ejecting device. .

【0010】さらにまた、前記第2の制御手段が、前記
第2の払い出し信号の検出動作を2回行って前記第2の
払い出し信号の有無を判定するようにした。
Furthermore, the second control means performs the detection operation of the second payout signal twice to determine the presence or absence of the second payout signal.

【0011】[0011]

【作用】制御手段は、遊技盤に配設された各別の入賞球
検出スイッチによる入賞球検出に対応する賞品球の払い
出し条件成立を第1の払い出し制御信号と、第1の払い
出し制御信号に対応して各別の異なる球数の賞品球を払
い出すための払い出し球数を第2の払い出し制御信号を
受け、パチンコ機本体枠側において、賞品球払い出し検
出スイッチの入力検出に応じて所定個数の球の払い出し
を行う球排出装置を作動させる。
The control means uses the first payout control signal and the first payout control signal to indicate that the payout condition of the prize balls corresponding to the detection of the prize balls by the different prize ball detection switches arranged on the game board is satisfied. In response to the second payout control signal, the number of payout balls for paying out different prize balls of different numbers is received, and a predetermined number is detected according to the input detection of the prize ball payout detection switch on the pachinko machine body frame side. The ball discharge device that dispenses the ball is activated.

【0012】また、制御装置にカード処理情報処理手段
を接続し、カード処理情報処理手段よりの入力信号に応
じて制御装置は、貸球処理手段を介して球排出装置を作
動し、所定の貸球払い出し動作を行う。
Further, the card processing information processing means is connected to the control device, and the control device operates the ball discharging device via the ball lending processing means in response to an input signal from the card processing information processing means to make a predetermined lending. Perform a ball payout operation.

【0013】さらに、第1の払い出し制御信号は、入賞
球検出後の出力時間を制限する。
Further, the first payout control signal limits the output time after the winning ball is detected.

【0014】さらにまた、一定時間以内に制御手段は、
賞品球払い出し検出スイッチの入力検出から、第2の払
い出し制御信号の検出及び球排出装置の作動制御を完了
までの払い出し動作を完了する。
Furthermore, the control means within a fixed time
The payout operation from the detection of the input of the prize ball payout detection switch to the detection of the second payout control signal and the operation control of the ball discharge device is completed.

【0015】また、制御手段は、第2の払い出し信号の
検出回数を予め定められた賞品球の最大払い出し個数よ
り減算し、球排出装置の払い出し個数として設定する。
Further, the control means subtracts the number of detections of the second payout signal from the predetermined maximum payout number of the prize balls, and sets it as the payout number of the ball discharging device.

【0016】さらにまた、制御手段は、第2の払い出し
信号の検出動作を2回行って第2の払い出し信号の有無
を判定する。
Furthermore, the control means determines the presence or absence of the second payout signal by performing the detection operation of the second payout signal twice.

【0017】[0017]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】図2は、本発明の実施例におけるカード式
パチンコ機の裏面図である。該カード式パチンコ機は、
パチンコ機本体1とパチンコ機本体1の側方に配備され
るカードユニット2からなる。パチンコ機本体1の上部
には、球タンク40が配設され、該球タンク40には、
図示しない遊技場内に設置されたパチンコ球の循環装置
よりパチンコ球が供給される。球タンク40の底部に
は、球タンク40内の球の重みでオンとなる球検出スイ
ッチSW1が配備され、球検出スイッチSW1は、球タ
ンク40内のパチンコ球が少量となるとオフとなる。ま
た、球タンク40には、静電防止器41が配設され、球
検出スイッチSW1の誤動作を防止している。
FIG. 2 is a rear view of the card type pachinko machine according to the embodiment of the present invention. The card type pachinko machine
It is composed of a pachinko machine body 1 and a card unit 2 arranged on the side of the pachinko machine body 1. A ball tank 40 is disposed above the pachinko machine body 1, and the ball tank 40 includes
Pachinko balls are supplied from a pachinko ball circulating device installed in a game hall (not shown). A sphere detection switch SW1 that is turned on by the weight of the sphere in the sphere tank 40 is provided at the bottom of the sphere tank 40, and the sphere detection switch SW1 turns off when the number of pachinko balls in the sphere tank 40 becomes small. Further, the ball tank 40 is provided with an antistatic device 41 to prevent malfunction of the ball detection switch SW1.

【0019】球タンク40には、内外に2条の球通路が
設けられたタンクレール42が基枠11の側端に向けて
傾斜がかけられて連結され、球タンク40に投入された
パチンコ球は、2条の球通路内に誘導されタンクレール
42の傾斜に沿って移動する。タンクレール42の中途
には、タンクレール42を移動するパチンコ球をならす
球ならし振り子43が設けられている。
A pachinko ball inserted into the ball tank 40 is connected to the ball tank 40 by a tank rail 42 provided with two ball passages inside and outside, which is inclined toward the side end of the base frame 11. Is guided in the two ball passages and moves along the inclination of the tank rail 42. In the middle of the tank rail 42, a ball leveling pendulum 43 for smoothing a pachinko ball moving on the tank rail 42 is provided.

【0020】タンクレール42の内外の2条の球通路の
途中には各々通過する球の有無を検出する球検出スイッ
チSW2が配備され、球検出スイッチSW2は賞品球が
ない場合にオフとなる。また、基枠11の略中間の側方
寄りには球排出装置20が設けられ、タンクレール42
の傾斜方向の先端が下方に向けて屈曲されて球排出装置
20に連結されている。2条の球通路内に誘導されタン
クレール42の傾斜に沿って移動したパチンコ球は、球
排出装置20内に設けられる2つの通路に入って保持さ
れ、球排出装置20の作動により所定数のパチンコ球が
賞品球あるいは球貸要求に対する貸球または球抜き操作
による排出球として下方に解放される。
A ball detection switch SW2 for detecting the presence or absence of a ball passing therethrough is provided in the middle of the two ball passages inside and outside the tank rail 42, and the ball detection switch SW2 is turned off when there is no prize ball. Further, a ball discharging device 20 is provided on the side of the base frame 11 at a substantially middle position, and the tank rail 42 is provided.
The tip of the inclined direction is bent downward and is connected to the ball discharging device 20. The pachinko balls guided in the two ball passages and moved along the inclination of the tank rail 42 are held in two passages provided in the ball discharging device 20, and a predetermined number of the pachinko balls are operated by the operation of the ball discharging device 20. Pachinko balls are released downwards as prize balls, balls for requesting a ball to be loaned, or balls discharged by a ball removing operation.

【0021】球排出装置20の下方には、パチンコ機本
体1の表側に配設された遊技盤方向よりピン等を差し込
むことによって操作される玉抜き操作検出スイッチSW
3が配備される。また、玉抜き操作検出スイッチSW3
の下方には、玉抜き操作時に励磁される玉抜きソレノイ
ドSOL2によって回動される図示しない玉抜き放出弁
が取付けられ、さらに玉抜き放出弁の下方には、賞品球
あるいは球貸要求に対するパチンコ球が上皿に対して払
い出される図示しない払い出し経路と、玉抜きされたパ
チンコ球が排出される球排出路が設けられ、玉抜き放出
弁は玉抜き操作を行うことによって励磁される玉抜きソ
レノイドSOL2により球排出路側に回動して、球排出
装置20の作動により解放されたパチンコ球を球排出路
に排出する。玉抜き操作が行われていない場合には、球
排出装置20の作動により解放されたパチンコ球は、払
い出し経路に排出される。また、球排出装置20の下方
には球排出装置20やカードユニット2との入出力制御
等を行う枠制御基板21が配設されている。
Below the ball discharge device 20, a ball punching operation detection switch SW operated by inserting a pin or the like from the game board direction provided on the front side of the pachinko machine body 1.
3 will be deployed. In addition, the punching operation detection switch SW3
A ball discharge valve (not shown) that is rotated by a ball discharge solenoid SOL2 that is excited during a ball cutting operation is attached to the lower part of the table, and below the ball discharge valve is a prize ball or a pachinko ball for a ball lending request. A payout path (not shown) through which the ball is discharged to the upper plate and a ball discharge path through which the punched pachinko balls are discharged are provided, and the punching release valve is a punching solenoid SOL2 that is excited by performing a punching operation. Thus, the pachinko ball released by the operation of the ball discharging device 20 is rotated to the ball discharging path side and discharged to the ball discharging path. When the ball removing operation is not performed, the pachinko balls released by the operation of the ball discharging device 20 are discharged to the payout path. A frame control board 21 that controls input / output with the ball discharging device 20 and the card unit 2 is disposed below the ball discharging device 20.

【0022】基枠11の中央には遊技盤面に配備される
各入賞装置等を制御する制御基板44や入賞したパチン
コ球が誘導される図示しない球誘導路が内部に形成され
ている基板収納ボックス45が配置されている。
In the center of the base frame 11, a control board 44 for controlling each of the winning devices and the like arranged on the game board surface, and a board storage box in which a ball guiding path (not shown) for guiding a winning pachinko ball is formed. 45 are arranged.

【0023】基板収納ボックス45の上面の下方には、
遊技盤面に配設された図柄表示装置等の停止図柄におけ
る遊技者に利益を付与する図柄の発生確率を複数段階に
切替えるために操作される確率モード設定キースイッチ
51が設けられ、確率モード設定スイッチ51の側方に
は、確率モード設定スイッチ51による発生確率の設定
状態を表示する3個の設定表示LED52が配設されて
いる。
Below the upper surface of the substrate storage box 45,
A probability mode setting key switch 51 is provided, which is operated to switch the probability of occurrence of a symbol that gives a profit to the player in a stopped symbol such as a symbol display device arranged on the game board surface, and a probability mode setting switch. On the side of 51, three setting display LEDs 52 for displaying the setting state of the occurrence probability by the probability mode setting switch 51 are arranged.

【0024】球排出装置20の払い出し経路は基板収納
ボックス45の外形に沿うように形成されており、払い
出し経路は、中途において2方に分岐し、一方は上皿に
連通され、他方は下方に延在して下皿口46に連通さ
れ、下皿口46に至る経路の側方に賞品球経路満タン検
出スイッチSW4が配設され、賞品球経路満タン検出ス
イッチSW4は、下皿口46に至る経路内にパチンコ球
が満タンとなるとオンされる。
The payout path of the ball discharging device 20 is formed so as to follow the outer shape of the substrate storage box 45. The payout path is branched into two in the middle, one is communicated with the upper plate and the other is downward. The prize ball path full tank detection switch SW4 is disposed on the side of the path extending to and communicates with the lower tray opening 46, and the prize ball path full tank detection switch SW4 is connected to the lower tray opening 46. It is turned on when the pachinko ball becomes full in the route leading to.

【0025】下皿口46の一側寄りには、カード式パチ
ンコ機1の異常状態やカード式パチンコ機1に対する不
正行為が検出された場合に出力された信号を制御する防
犯制御基板47が配設されている。
A crime prevention control board 47 for controlling a signal output when an abnormal state of the card type pachinko machine 1 or a fraudulent act on the card type pachinko machine 1 is detected is arranged near one side of the lower tray opening 46. It is set up.

【0026】また、球排出装置20の下方の基枠11の
内縁には、球切りモータM1と球切りモータM1によっ
て回転駆動される球切りカム49と球切りカム49に入
った遊技球によって作動状態となる賞品球払出し検出ス
イッチSW5とからなる払い出し検出機構60が配設さ
れている。
Also, on the inner edge of the base frame 11 below the ball discharging device 20, a ball cutting motor M1 and a ball cutting cam 49 which is rotationally driven by the ball cutting motor M1 and a game ball entered in the ball cutting cam 49 are operated. A payout detection mechanism 60 including a prize ball payout detection switch SW5 in a state is provided.

【0027】また、パチンコ機本体左側下方には、発射
モータM2が配置され、発射モータM2の下方には、発
射装置制御基板48が配設されている。また、パチンコ
機本体2裏面の下方カードユニット2寄りには、カード
ユニット2よりの信号の入出力を行うインターフェース
基板50が配備されている。
A firing motor M2 is disposed below the left side of the pachinko machine body, and a launcher control board 48 is disposed below the firing motor M2. An interface board 50 for inputting and outputting signals from the card unit 2 is provided near the lower card unit 2 on the back surface of the pachinko machine body 2.

【0028】さらに、パチンコ機本体2裏面上方の球タ
ンク40側方には、遊技場内の集中管理装置に該カード
パチンコ機1の各情報を出力する外部接続端子53乃至
58の各々が設けられている。
Further, on the side of the ball tank 40 above the back surface of the main body of the pachinko machine 2, there are provided external connection terminals 53 to 58 for outputting respective information of the card pachinko machine 1 to a centralized control device in a game arcade. There is.

【0029】また、カードユニット2は、パチンコ機本
体2に対してコネクタにより電気的に接続される。カー
ドユニット2は、カードユニット係止部材59,59に
よりパチンコ機本体2の基枠11の一側面に係止され
る。
The card unit 2 is electrically connected to the pachinko machine body 2 by a connector. The card unit 2 is locked to one side surface of the base frame 11 of the pachinko machine body 2 by the card unit locking members 59, 59.

【0030】球排出装置20は、図3及び図4に示され
るように、球排出装置20のケース78に、パチンコ球
の通過が可能な程度にパチンコ球の外径に比べて僅かに
大きく内径を形成された2つの通路61と通路62が縦
方向に穿設され、各々の通路61,62の下部には、球
を送り出すスプロケット64,65が各々の通路61,
62に対して直交する同軸63上に回転自在に設けら
れ、かつ該軸63に固着され、軸63はケース78に支
持されている。
As shown in FIGS. 3 and 4, the ball discharging device 20 has a case 78 of the ball discharging device 20 that is slightly larger than the outer diameter of the pachinko ball so that the pachinko ball can pass therethrough. Two passages 61 and 62 are formed in the longitudinal direction, and sprockets 64 and 65 for sending out balls are provided at the lower portions of the passages 61 and 62, respectively.
A shaft 63 is rotatably provided on a coaxial shaft 63 orthogonal to the shaft 62, and is fixed to the shaft 63. The shaft 63 is supported by a case 78.

【0031】スプロケット64,65の外周縁は、パチ
ンコ球の外周に沿うように複数の球体係合部66,67
がそれぞれ形成され、スプロケット64の球体係合部6
6の間には一定のピッチで突部68がそれぞれ形成さ
れ、スプロケット65の球体係合部67の間には一定の
ピッチで突部69がそれぞれ形成され、スプロケット6
4の突部68とスプロケット65の突部69とは半ピッ
チずらして配置されており、スプロケット64とスプロ
ケット65は同一の形状とされている。そして、突部6
8の一部が、通路61に対して突出され、通路61内に
送り込まれたパチンコ球を保持することにより整列した
状態に収納する。また、突部69の一部が、通路62に
対して突出され、通路62内に送り込まれたパチンコ球
を保持することにより整列した状態に収納する。
The outer peripheral edges of the sprockets 64 and 65 are provided with a plurality of ball engaging portions 66 and 67 along the outer circumference of the pachinko ball.
Are formed respectively, and the spherical engagement portion 6 of the sprocket 64 is formed.
The protrusions 68 are formed with a constant pitch between the sprocket 6 and the protrusions 69 are formed with a constant pitch between the spherical engagement portions 67 of the sprocket 65.
The protrusion 68 of No. 4 and the protrusion 69 of the sprocket 65 are arranged so as to be shifted by a half pitch, and the sprocket 64 and the sprocket 65 have the same shape. And the protrusion 6
A part of 8 is projected with respect to the passage 61, and holds the pachinko balls fed into the passage 61 to be stored in an aligned state. Further, a part of the protrusion 69 is projected to the passage 62, and the pachinko balls fed into the passage 62 are held to be arranged in an aligned state.

【0032】さらに、スプロケット64の通路61に突
出される突部68の径方向に対向する突部72に対して
上方より当接して、スプロケット64の回転方向に対し
て抑止するフック70が回動可能に設けられ、また、ス
プロケット65の通路62に突出される突部69の径方
向に対向する突部73に対して上方より当接して、スプ
ロケット65の回転方向に対して抑止するフック71が
回動可能に設けられ、それぞれパチンコ球の重さによっ
てスプロケット64,65が回転することを防止してい
る。
Further, the hook 70 which comes into contact with the protruding portion 72 of the sprocket 64 protruding in the passage 61 in the radial direction and which is opposed to the radial direction from above is restrained in the rotating direction of the sprocket 64. A hook 71 that is provided so as to be capable of contacting the projection 73 that protrudes into the passage 62 of the sprocket 65 and that is opposed to the radial direction of the projection 69 that is opposed to the projection 73 and that suppresses the rotation of the sprocket 65 in the rotation direction. It is rotatably provided and prevents the sprockets 64 and 65 from rotating due to the weight of the pachinko balls.

【0033】また、突部68の一部が突出されている位
置より上方の通路61には、通路61内の球を検出する
球検出センサー22が配備され、突部68の一部が突出
されている位置より下方の通路61には、スプロケット
64の回転によって解放されたパチンコ球を検出する排
出球センサー24が配備されている。また同じく、突部
69の一部が突出されている位置より上方の通路62に
は、通路62内の球を検出する球検出センサー23が配
備され、突部69の一部が突出されている位置より下方
の通路62には、スプロケット65の回転によって解放
されたパチンコ球を検出する排出球センサー25が配備
されている。
A sphere detection sensor 22 for detecting a sphere in the passage 61 is provided in the passage 61 above the position where a portion of the protrusion 68 is projected, and a portion of the protrusion 68 is projected. A discharge ball sensor 24 for detecting a pachinko ball released by the rotation of the sprocket 64 is provided in the passage 61 below the position where the sprocket 64 rotates. Similarly, a ball detection sensor 23 for detecting a ball in the passage 62 is provided in the passage 62 above the position where a portion of the protrusion 69 is projected, and a portion of the protrusion 69 is projected. The passage 62 below the position is provided with a discharge ball sensor 25 for detecting a pachinko ball released by the rotation of the sprocket 65.

【0034】フック70及びフック71は、図示されて
いないフックソレノイドの励磁により同時に回動され、
突部68及び突部69への抑止を解除し、スプロケット
64及びスプロケット65がパチンコ球の自重により回
転して球の排出を行う。また、フックソレノイドの励磁
解除によりフック70及びフック71が同時に回動復帰
して突部72及び突部73への抑止を再び行うようにな
っている。
The hook 70 and the hook 71 are simultaneously rotated by the excitation of a hook solenoid (not shown),
The restraint on the projections 68 and 69 is released, and the sprockets 64 and 65 rotate by the weight of the pachinko ball to eject the ball. In addition, the deenergization of the hook solenoid causes the hook 70 and the hook 71 to simultaneously return to rotate to again restrain the protrusion 72 and the protrusion 73.

【0035】球排出装置20の球排出動作は、スプロケ
ット64あるいはスプロケット65の半ピッチに相当す
るパルスを1ステップとしてフックソレノイドを励磁し
てフック70及び71を退却させると、スプロケット6
4とスプロケット65が半ピッチに応じた角度だけ同時
に回転し、通路61および通路62内のパチンコ球がそ
れぞれ球体係合部66,67に係合しながら下方に送ら
れていき、スプロケット64とスプロケット65が半ピ
ッチずれているために、通路61および通路62のいず
れか一方のパチンコ球が1個排出される。この後、フッ
クソレノイドを励磁解除してフック70及びフック71
を同時に回動復帰し、突部72及び突部73への抑止を
再び行う。
In the ball discharging operation of the ball discharging device 20, when the hook solenoid is excited to retract the hooks 70 and 71 with a pulse corresponding to a half pitch of the sprocket 64 or the sprocket 65 as one step, the sprocket 6 is moved.
4 and the sprocket 65 simultaneously rotate by an angle corresponding to a half pitch, and the pachinko balls in the passage 61 and the passage 62 are sent downward while engaging with the spherical engaging portions 66 and 67, respectively. One pachinko ball in one of the passage 61 and the passage 62 is discharged because 65 is displaced by a half pitch. After this, the hook solenoid is de-energized to release the hook 70 and the hook 71.
Are simultaneously rotated and returned, and the protrusions 72 and 73 are restrained again.

【0036】さらに、スプロケット64あるいはスプロ
ケット65の半ピッチに相当するパルスを1ステップと
してフックソレノイドを励磁してフック70及び71を
退却させると、先にパチンコ球が排出された通路に対す
るもう一方の通路内のパチンコ球が1個排出される。即
ち、スプロケット64及びスプロケット65による球排
出動作の繰り返しにより、通路61内のパチンコ球及び
通路62内のパチンコ球が1個ずつ交互に排出される。
Further, when the hook solenoid is excited by retracting the hooks 70 and 71 with a pulse corresponding to a half pitch of the sprocket 64 or the sprocket 65 as one step, the other path to the path from which the pachinko ball was ejected earlier. One pachinko ball inside is ejected. That is, by repeating the ball discharging operation by the sprocket 64 and the sprocket 65, the pachinko balls in the passage 61 and the pachinko balls in the passage 62 are alternately discharged one by one.

【0037】払出し検出機構60は、図5に示されるよ
うに、遊技盤において入賞した遊技球は、図示されない
遊技盤裏面に設けられた誘導路によって球切りカム49
に誘導されて1個ずつ入る。球切りカム49上に入った
遊技球は、球切りカム49の回転と共に回転移動する。
球切りカム49に入った遊技球の公転軌跡位置には、球
切りカム49上の遊技球によって作動する従動部材74
が回動自在に設けられ、従動部材74の一側には連結杆
75の一端が連結され、連結杆75の他端には回動自在
に設けられた連結板76の一端が連結され、連結板76
の側方には、賞品球払出し検出スイッチSW5が配設さ
れている。賞品球払出し検出スイッチSW5は、球切り
カム49に遊技球が入っていない場合には、バネ77に
よって連結板76の他側が賞品球払出し検出スイッチS
W5側に付勢されてオン状態となっているが、球切りカ
ム49に遊技球が入って回転動作によって従動部材74
を回動し、従動部材74の回動によって直動する連結杆
75を介して連結板76が回動すると、連結板76の他
側が賞品球払出し検出スイッチSW5より離間してオフ
状態となり、作動状態となる。なお、球切りカム49に
入った遊技球は、賞品球払出し検出スイッチSW5を作
動させた後、遊技盤側に落下してパチンコ機本体1内に
回収される。
As shown in FIG. 5, in the payout detecting mechanism 60, the game balls won in the game board are ball cutting cams 49 by a guide path provided on the back surface of the game board (not shown).
It is guided by and enters one by one. The game ball entered on the ball cutting cam 49 rotates and moves with the rotation of the ball cutting cam 49.
At the position of the orbit of the game ball that has entered the ball cutting cam 49, a driven member 74 that is operated by the game ball on the ball cutting cam 49.
Is rotatably provided, one end of a connecting rod 75 is connected to one side of the driven member 74, and one end of a rotatably provided connecting plate 76 is connected to the other end of the connecting rod 75. Board 76
A prize ball payout detection switch SW5 is disposed on the side of. The prize ball payout detection switch SW5 is a prize ball payout detection switch S on the other side of the connecting plate 76 by the spring 77 when the game ball is not contained in the ball cutting cam 49.
It is energized to the W5 side and is in the ON state, but the game ball enters the ball cutting cam 49 and the driven member 74 is rotated by the rotating operation.
When the connecting plate 76 is rotated via the connecting rod 75 which is rotated by the rotation of the driven member 74, the other side of the connecting plate 76 is separated from the prize ball payout detection switch SW5 to be in the OFF state, and the operation is performed. It becomes a state. The game ball that has entered the ball-cutting cam 49, after actuating the prize ball payout detection switch SW5, falls to the game board side and is collected in the pachinko machine body 1.

【0038】賞品球払出し検出スイッチSW5の作動信
号は、枠制御基板21に入力され、さらに、遊技盤面の
各入賞装置等を制御する制御基板44に入力される。制
御基板44は、賞品球払出し検出スイッチSW5の作動
信号が入力されると、この信号と同期して枠制御基板2
1に払出し信号1と払出し信号2を送出する。枠制御基
板21は、払出し信号1及び2が入力されると、送られ
た払出し信号に応じて球排出装置20を制御して賞品球
の払出しを行う。
The operation signal of the prize ball payout detection switch SW5 is inputted to the frame control board 21, and further inputted to the control board 44 for controlling each winning device and the like on the game board surface. When the operation signal of the prize ball payout detection switch SW5 is input to the control board 44, the frame control board 2 is synchronized with this signal.
The payout signal 1 and the payout signal 2 are sent to 1. When the payout signals 1 and 2 are input, the frame control board 21 controls the ball discharging device 20 according to the sent payout signals to pay the prize balls.

【0039】図1は、本発明の実施例におけるカード式
パチンコ機の要部ブロック図である。パチンコ機本体1
側の制御部は、球排出装置20の駆動制御プログラムや
遊技盤に配設された各入賞装置等の制御を行う制御基板
44との信号入力制御プログラムやカードユニット2と
の入出力制御プログラムや玉抜き動作プログラム等を格
納したROM31と、データの一時記憶に使用されるR
AM32及びROM31に格納された制御プログラムに
従ってパチンコ機本体1の各部を駆動制御するCPU3
0とを一体に実装してなるマイクロコンピユータ4によ
り構成される。
FIG. 1 is a block diagram of an essential part of a card type pachinko machine according to an embodiment of the present invention. Pachinko machine body 1
The control unit on the side is a drive control program of the ball discharging device 20, a signal input control program with the control board 44 for controlling each winning device arranged on the game board, an input / output control program with the card unit 2, and the like. ROM 31 that stores a ball-punching operation program and R used for temporary storage of data
A CPU 3 that drives and controls each unit of the pachinko machine body 1 according to a control program stored in the AM 32 and the ROM 31.
It is composed of a micro computer 4 in which 0 and 0 are integrally mounted.

【0040】マイクロコンピユータ4には、球検出スイ
ッチSW1,球検出スイッチSW2および玉抜き操作検
出スイッチSW3の各々がスイッチ検出部33を介して
接続され、また、賞品球払い出し検出スイッチSW5と
賞品球満タン検出スイッチSW4とがスイッチ検出部3
4を介して接続され、球排出制御回路29を介して球排
出装置20が接続されている。
Each of the ball detection switch SW1, the ball detection switch SW2, and the ball-pulling operation detection switch SW3 is connected to the microcomputer 4 through the switch detection unit 33, and the prize ball payout detection switch SW5 and the prize ball fullness are detected. The tongue detection switch SW4 is the switch detection unit 3
4 and the ball discharging device 20 is connected via a ball discharging control circuit 29.

【0041】また、カードユニット2がカードユニット
インターフェイス50に接続されているが、図示を省略
している。カードユニットインターフェイス50には、
パチンコ機本体1の前面中央に設けられた図示せぬ球貸
スイッチと返却スイッチが接続されている。カードユニ
ットインターフェイス50は、球貸信号制御回路35を
介してマイクロコンピユータ4に接続され、球貸スイッ
チの入力信号をマイクロコンピユータ4に対して入力す
る。
Although the card unit 2 is connected to the card unit interface 50, the illustration is omitted. The card unit interface 50 has
A ball lending switch (not shown) and a return switch, which are provided in the center of the front surface of the pachinko machine body 1, are connected. The card unit interface 50 is connected to the microcomputer 4 via the ball lending signal control circuit 35, and inputs the input signal of the ball lending switch to the microcomputer 4.

【0042】さらに、マイクロコンピユータ4には、払
出し信号制御回路37,マイクロコンピユータ4の処理
周期を規定するクロック回路27,マイクロコンピユー
タ4の処理暴走時に作動してリセットを行うウォッチド
ッグタイマリセット回路28の各々が接続され、またさ
らに、球切りモータM1がモータ駆動回路38を介して
接続され、発射モータM2がモータ駆動回路39を介し
て接続され、玉抜きソレノイドSOL1がソレノイド駆
動回路36を介して接続されている。
Further, the microcomputer 4 includes a payout signal control circuit 37, a clock circuit 27 for defining the processing cycle of the microcomputer 4, and a watchdog timer reset circuit 28 for operating and resetting when the processing of the microcomputer 4 goes out of control. Further, each of them is connected, and further, the ball cutting motor M1 is connected via a motor drive circuit 38, the firing motor M2 is connected via a motor drive circuit 39, and the punching solenoid SOL1 is connected via a solenoid drive circuit 36. Has been done.

【0043】図6は、遊技盤に配設される各入賞装置等
の制御を行う制御基板44の制御部とパチンコ機本体1
側の制御部を示すブロック図であり、各入賞装置等の制
御を行う制御部は、各入賞装置等の駆動プログラムを格
納したROM6とデータの一時記憶に使用されるRAM
7及びROM6に格納された制御プログラムに従って各
入賞装置等の遊技盤に配備された盤面部品各部を駆動制
御するCPU5により構成される。
FIG. 6 is a pachinko machine body 1 and a control unit of a control board 44 for controlling each winning device and the like arranged on the game board.
It is a block diagram showing a control unit on the side, a control unit for controlling each winning device, a ROM6 storing a driving program of each winning device and a RAM used for temporary storage of data
7 and a CPU 5 for driving and controlling each part of the board surface parts arranged on the game board such as each winning device according to the control program stored in the ROM 6.

【0044】CPU5に対して、遊技盤に配設された各
別の入賞口の種類別に対応して配備された入賞球検出ス
イッチSW6と入賞検出スイッチSW7及びパチンコ機
本体1側の払出し信号制御回路37の各々がスイッチ検
出部8を介して接続されている。なお、入賞球検出スイ
ッチSW6は、15個払出しの入賞口に対応するものと
し、入賞検出スイッチSW7は、7個払出しの入賞口に
対応するものとする。また、CPU5には払い出し信号
駆動部9が接続され、さらに払出し信号駆動部9はパチ
ンコ機本体1側の払出し信号制御回路37に接続されて
いる。
With respect to the CPU 5, the winning ball detection switch SW6, the winning detection switch SW7, and the payout signal control circuit on the pachinko machine body 1 side, which are arranged corresponding to the respective different kinds of winning openings arranged on the game board. Each of 37 is connected via the switch detection unit 8. The winning ball detection switch SW6 corresponds to a winning opening for paying out 15 pieces, and the winning detection switch SW7 corresponds to a winning opening for paying out 7 pieces. Further, a payout signal drive unit 9 is connected to the CPU 5, and the payout signal drive unit 9 is further connected to a payout signal control circuit 37 on the pachinko machine body 1 side.

【0045】CPU5は、入賞球検出スイッチSW6及
びSW7の入力を検出すると、払出し信号駆動部9を介
して払出し信号1を出力すると共に、入賞球検出スイッ
チSW6よりの入賞検出の場合には、払い出す球数15
個に対応して払出し信号2を出力せず、また、入賞球検
出スイッチSW7よりの入賞検出の場合には、払い出す
球数7個に対応する払出し信号2を出力する。
When the CPU 5 detects the input of the winning ball detection switches SW6 and SW7, it outputs the payout signal 1 through the payout signal drive unit 9 and, in the case of winning detection from the winning ball detection switch SW6, pays out. 15 balls
The payout signal 2 is not output corresponding to the number of balls, and in the case of winning detection by the winning ball detection switch SW7, the payout signal 2 corresponding to the number of 7 balls to be paid out is output.

【0046】遊技盤面において、入賞口に遊技球が入賞
すると、入賞球検出スイッチSW6またはSW7により
入賞が検出され、CPU5によって一時記憶される。一
方、入賞口に落入した遊技球は、前述したように、遊技
盤裏面に設けられた誘導路によって球切りカム49に誘
導されて1個ずつ入り、賞品球払出し検出スイッチSW
5によって検出される。賞品球払出し検出スイッチSW
5の作動信号は、スイッチ検出部34を介してマイクロ
コンピユータ4に入力され、さらに、払い出し制御回路
37及びスイッチ検出部8を介してCPU5に入力され
る。
When a game ball is won in the winning opening on the game board surface, the winning is detected by the winning ball detection switch SW6 or SW7 and temporarily stored by the CPU 5. On the other hand, as described above, the game balls that have fallen into the winning opening are guided by the ball cutting cam 49 by the guide path provided on the back surface of the game board to enter one by one, and the prize ball payout detection switch SW
Detected by 5. Prize ball payout detection switch SW
The operation signal of 5 is input to the microcomputer 4 via the switch detection unit 34, and further input to the CPU 5 via the payout control circuit 37 and the switch detection unit 8.

【0047】CPU5は、賞品球払出し検出信号が入力
されると、この信号と同期してマイクロコンピユータ4
に払出し信号1と払出し信号2を送出する。マイクロコ
ンピユータ4は、払出し信号1及び2が入力されると、
送られた払出し信号に応じて球排出装置20を制御して
賞品球の払出しを行う。
When the prize ball payout detection signal is input, the CPU 5 synchronizes with this signal and the microcomputer 4 is started.
The payout signal 1 and the payout signal 2 are sent to. When the payout signals 1 and 2 are input to the microcomputer 4,
The ball discharging device 20 is controlled according to the sent-out signal, and the prize balls are paid out.

【0048】以下、本発明のパチンコ機における球の払
い出し制御装置の球の払い出し処理をパチンコ機本体1
側におけるマイクロコンピユータ4の処理、即ち、RO
M31に格納された制御プログラムによるCPU30の
動作処理について図9乃至図24を参照して説明する。
Hereinafter, the ball payout process of the ball payout control device in the pachinko machine of the present invention will be described with reference to the pachinko machine body 1.
Processing of the microcomputer 4 on the side, that is, RO
The operation processing of the CPU 30 by the control program stored in M31 will be described with reference to FIGS. 9 to 24.

【0049】図9は、CPU30によるメインルーチン
処理を概略で示したフローチャートであり、CPU30
は、球排出装置20の払出し動作に関するステップs1
の処理及び球排出装置20の球切れ異常検出に関するス
テップs2の処理を毎回の処理周期において実行し、次
に、メイン処理フラグF1の現在値に応じて、遊技盤面
に配備された各入賞装置等の駆動制御や入賞検出を行う
制御基板44との払出し信号1及び払出し信号2と賞品
球払出し信号の通信に関するステップs4の処理(以
下、メイン通信処理という)、タンクレール42に配設
された球検出スイッチSW2と賞品球排出経路に配設さ
れた賞品球経路満タン検出スイッチSW4の状態検出に
関するステップs6の処理、賞品球の払出し個数の設定
に関するステップs8の処理、カードユニット2との通
信に関するステップs10の処理、玉抜き操作検出スイ
ッチSW3の入力検出に起因する玉抜き動作に関するス
テップs14の処理及びステップs17のその他処理を
順次実行する。
FIG. 9 is a flow chart outlining the main routine processing performed by the CPU 30.
Is a step s1 regarding the payout operation of the ball discharging device 20.
Processing and the processing of step s2 relating to detection of a ball out abnormality of the ball discharging device 20 are executed in each processing cycle, and then, according to the current value of the main processing flag F1, each winning device or the like arranged on the game board surface. Of the payout signal 1 and the payout signal 2 and the prize ball payout signal with the control board 44 which controls the drive of the game and the prize detection (hereinafter referred to as the main communication process), the ball provided on the tank rail 42. Regarding the detection switch SW2 and the process of step s6 regarding the state detection of the prize ball route full tank detection switch SW4 arranged in the prize ball discharge route, the process of step s8 regarding the setting of the number of dispensed prize balls, and the communication with the card unit 2. Processing of step s10, processing of step s14 relating to the ball-punching operation resulting from the input detection of the ball-punching operation detection switch SW3 Sequentially performs other processing in fine steps s17.

【0050】なお、CPU30は、ステップs17のそ
の他処理において、カードユニット2との通信時に異常
発生した場合の異常時の処理、賞品球排出における異常
発生時の処理、球切りモータM1の駆動制御処理、発射
モータM2の駆動制御処理及び払出し時のLED表示等
の駆動処理を行うが、本発明に直接関係しないものなの
で省略する。
In the other processing of step s17, the CPU 30 performs processing when an abnormality occurs during communication with the card unit 2, processing when an abnormality occurs during prize ball discharge, drive control processing of the ball cutting motor M1. The drive control processing of the firing motor M2 and the drive processing such as LED display at the time of payout are performed, but the description thereof is omitted because it is not directly related to the present invention.

【0051】ステップs6の球払出し禁止及び賞品球切
れ検出に関する処理は、球検出スイッチSW2の入力が
オフとなった場合に、球切れと判定して球切れフラグに
1がセットされ、球検出スイッチSW2の入力がオンと
なった場合に、球有りと判定して球切れフラグが0クリ
アされ、賞品球経路満タン検出スイッチSW4の入力が
オンである場合に、払出し禁止フラグに1がセットさ
れ、賞品球経路満タン検出スイッチSW4の入力がオフ
である場合に、払出し禁止フラグが0クリアされる。
When the input of the ball detection switch SW2 is turned off, the process related to the prohibition of the ball payout and the detection of the prize ball in step s6 is judged as the ball is out and the ball out flag is set to 1 and the ball detection switch is set. When the input of SW2 is turned on, it is determined that there is a ball, the out-of-ball flag is cleared to 0, and when the input of the prize ball route full tank detection switch SW4 is turned on, the payout prohibition flag is set to 1. The payout prohibition flag is cleared to 0 when the input of the prize ball route full tank detection switch SW4 is off.

【0052】また、ステップs10のカードユニット通
信処理については、本発明の要旨に関連がうすいので簡
単に説明することにする。CPU30は、カードユニッ
ト2に異常がないこと、CPU30がメイン通信処理の
実行中でないこと、球排出装置20が払出し中でないこ
と及び賞品球払い出し検出スイッチSW5がオンでない
ことを判定すると、払出し禁止となっていないこと、球
切れでないこと及び球排出装置20が球切れでないこと
を判定してカードユニット2よりの入力信号が検出され
た場合に、貸球フラグe2に1をセットする。また、こ
れらの条件が成立しない場合には、貸球フラグe2には
1はセットされない。
The card unit communication processing in step s10 will be briefly described because it is not related to the gist of the present invention. If the CPU 30 determines that the card unit 2 has no abnormality, that the CPU 30 is not executing the main communication process, that the ball discharging device 20 is not paying out, and that the prize ball payout detection switch SW5 is not on, then the payout is prohibited. When the input signal from the card unit 2 is detected by determining that the ball is not out, the ball discharging device 20 is not out of the ball, 1 is set to the ball rental flag e2. If these conditions are not satisfied, 1 is not set in the ball rental flag e2.

【0053】さらに、ステップs14の玉抜き処理につ
いても、本発明の要旨に関連がうすいので簡単に説明す
ることにする。CPU30は、球排出装置20が払出し
中でないこと、ステップs12の貸球処理中でないこ
と、賞品球払い出し検出スイッチSW5がオンでないこ
と、ステップs4のメイン通信処理の実行中でないこ
と、ステップs8の賞品球の払出し処理中でないこと、
ステップs10のカードユニット通信処理中でないこと
を判定し、以上の条件が成立した場合に、玉抜き操作検
出スイッチSW3のオンを検出した場合に、玉抜きフラ
グfnに1をセットして、玉抜きを行う。これらの条件
が成立しない場合には、玉抜きフラグfnには、1はセ
ットされない。
Further, the ball drop processing in step s14 will be briefly described because it is not related to the gist of the present invention. The CPU 30 determines that the ball discharging device 20 is not paying out, that the ball renting process of step s12 is not in progress, that the prize ball payout detection switch SW5 is not on, that the main communication process of step s4 is not being executed, and the prize of step s8. The ball is not being paid out,
When it is determined that the card unit communication process in step s10 is not being performed, and when the above conditions are satisfied and the turning-on operation detection switch SW3 is detected to be ON, 1 is set to the cutting-out flag fn, and the cutting-out flag fn is set. I do. If these conditions are not satisfied, 1 is not set in the ball drop flag fn.

【0054】CPU30は、メインルーチンにおいて
は、ステップs1、ステップs2の実行後、メイン処理
フラグF1の値を順次判定し(ステップs3)、メイン
処理フラグF1の現在値に応じて、メイン処理フラグF
1の値が0である場合に、メイン通信処理を実行し(ス
テップs4)、メイン処理フラグF1の値が1である場
合に、球払出し禁止及び賞品球切れ検出処理を実行し
(ステップs6)、メイン処理フラグF1の値が2であ
る場合に、賞品球の払出し個数設定に関する処理を実行
し(ステップs8)、メイン処理フラグF1の値が3で
ある場合に、カードユニット通信処理を実行し(ステッ
プs10)、メイン処理フラグF1の値が4である場合
に、貸球処理を実行し(ステップs12)、メイン処理
フラグF1の値が5である場合に、玉抜き処理を実行し
(ステップs14)、これら各処理の実行後に、メイン
処理フラグF1の値を1つインクリメントし(ステップ
s15)、その周期処理を終了する。メイン処理フラグ
F1の値は、メインルーチンを1回実行するごとに1つ
更新されていくため、ステップs4,ステップs6,ス
テップs8,ステップs10,ステップs12,ステッ
プs14の処理が処理周期毎に順に実行されることとな
り、メイン処理フラグF1の値が6に達すると、ステッ
プs1乃至ステップs2の処理と、ステップs3,ステ
ップs5,ステップs7,ステップs9,ステップs1
1の判別処理後、ステップs13の判別結果が偽となっ
て、ステップs16のその他処理の実行後に、メイン処
理フラグF1が0セットされ(ステップs17)、次周
期のメインルーチンにおいて、再びステップs4のメイ
ン通信処理が実行される。
In the main routine, after executing steps s1 and s2, the CPU 30 sequentially determines the value of the main processing flag F1 (step s3), and according to the current value of the main processing flag F1, the main processing flag F1.
When the value of 1 is 0, the main communication processing is executed (step s4), and when the value of the main processing flag F1 is 1, the ball payout prohibition and prize ball out detection processing is executed (step s6). When the value of the main processing flag F1 is 2, the processing relating to the payout number setting of prize balls is executed (step s8), and when the value of the main processing flag F1 is 3, the card unit communication processing is executed. (Step s10), if the value of the main processing flag F1 is 4, the ball rental processing is executed (step s12), and if the value of the main processing flag F1 is 5, the ball drop processing is executed (step s10). s14), after the execution of each of these processes, the value of the main process flag F1 is incremented by 1 (step s15), and the periodic process is terminated. The value of the main processing flag F1 is updated by one each time the main routine is executed, so that the processing of step s4, step s6, step s8, step s10, step s12, and step s14 is sequentially performed for each processing cycle. When the value of the main process flag F1 reaches 6, the process from step s1 to step s2, step s3, step s5, step s7, step s9, step s1 are executed.
After the determination process of 1, the determination result of step s13 becomes false, the main process flag F1 is set to 0 (step s17) after the execution of the other processes of step s16, and the main routine of the next cycle returns to step s4. Main communication processing is executed.

【0055】また、本実施例においては、該制御プログ
ラムは、時間管理を1ms毎のタイマ割り込みで、ま
た、各スイッチ及び払出し信号1及び2の入力監視を2
ms毎のタイマ割り込みで行うが、この点に関しては説
明を省略するものとし、各スイッチや払出し信号1及び
2の入力処理について簡単に説明することとする。
Further, in this embodiment, the control program uses a timer interrupt for every 1 ms for time management, and monitors each switch and payout signals 1 and 2 for input monitoring.
Although the timer interrupt is performed every ms, the description of this point will be omitted, and the input processing of each switch and the payout signals 1 and 2 will be briefly described.

【0056】タイマ割り込みがかかると、CPU30
は、各スイッチ及び外部よりの信号入力を行う入力ポー
トの状態を読み込んで、レジスタに記憶する。なお、各
スイッチ及び外部よりの信号入力は、ノー・オペレーシ
ョン命令を実行することによって1マシンサイクル時間
だけ待機した後、再び各スイッチ及び外部よりの信号入
力を行う入力ポートの状態を読む、即ち、2度読みが行
われる。
When a timer interrupt is applied, the CPU 30
Reads the state of each switch and the input port for inputting signals from the outside and stores it in the register. For the signal input from each switch and the external, after waiting for one machine cycle time by executing the no-operation command, read the state of the input port to which the signal input from each switch and the external again, that is, It is read twice.

【0057】図10は、CPU30による各スイッチ及
び払出し信号1及び2の入力処理に管する概略のフロー
チャートである。CPU30は、賞品球払い出し検出ス
イッチSW5の状態を読み込んでレジスタXに記憶する
(ステップu1)。ステップu1の処理により、賞品球
払い出し検出スイッチSW5がオフ、即ち、賞品球が検
出された場合であれば、レジスタXには1がセットさ
れ、賞品球払い出し検出スイッチSW5がオン、即ち、
賞品球が検出されていない場合であれば、レジスタXに
は0がセットされる。
FIG. 10 is a schematic flowchart showing the input processing of each switch and the payout signals 1 and 2 by the CPU 30. The CPU 30 reads the state of the prize ball payout detection switch SW5 and stores it in the register X (step u1). If the prize ball payout detection switch SW5 is turned off by the process of step u1, that is, if the prize ball is detected, 1 is set in the register X and the prize ball payout detection switch SW5 is turned on, that is,
If no prize ball is detected, 0 is set in the register X.

【0058】次いで、CPU30は、ノー・オペレーシ
ョン命令を実行することによって1マシンサイクル時間
だけ待機した後(ステップu2)、再び、賞品球払い出
し検出スイッチSW5の状態を読んでレジスタXとのA
NDをとり、演算結果をレジスタXに格納する(ステッ
プu3)。この結果、レジスタXには、賞品球払い出し
検出スイッチSW5が2回ともオンであれば1がセット
され、賞品球払い出し検出スイッチSW5の状態が1回
目と2回目で異なる場合には、0がセットされる。各ス
イッチ及び外部よりの信号入力を2度読みすることによ
り、入力の誤りが防止される。ステップu3の処理後C
PU30は、レジスタXの現在値を払出し記憶レジスタ
P1に格納する(ステップu4)。
Next, the CPU 30 waits for one machine cycle time by executing the no-operation command (step u2), then again reads the state of the prize ball payout detection switch SW5 and sets the register A to register A.
ND is taken and the operation result is stored in the register X (step u3). As a result, the register X is set to 1 if the prize ball payout detection switch SW5 is turned on both times, and is set to 0 if the state of the prize ball payout detection switch SW5 is different between the first time and the second time. To be done. By reading the signal input from each switch and the outside twice, input error is prevented. After processing in step u3 C
The PU 30 stores the current value of the register X in the payout storage register P1 (step u4).

【0059】CPU30は、ステップu1乃至ステップ
u4に述べたのと同様のアルゴリズムで、賞品球経路満
タン検出スイッチSW4,玉抜き操作検出スイッチSW
3,球検出スイッチSW2,払出し信号1,払出し信号
2,球検出センサー22,23及び排出球センサー2
4,25の各々について、オンオフ状態を入力して払出
し禁止記憶レジスタP2,玉抜き記憶レジスタP3,球
有り記憶レジスタP4,信号1記憶レジスタh1,信号
2記憶レジスタh2,装置球有り記憶レジスタP5,排
出球センサー1記憶レジスタk1及び排出球センサー2
記憶レジスタk2の各々に、順次格納する。なお、球排
出装置20の球検出センサー22,23の入力は、球排
出装置制御回路29により両信号のANDがとられた後
にCPU30の入力ポートに入力される。このため、球
検出センサー22,23の両方がオンである場合のみ装
置球有り記憶レジスタP5の値が1となる。
The CPU 30 uses the same algorithm as that described in steps u1 to u4, and the prize ball path full tank detection switch SW4 and the punching operation detection switch SW
3, ball detection switch SW2, payout signal 1, payout signal 2, ball detection sensors 22, 23 and discharge ball sensor 2
For each of Nos. 4 and 25, the on / off state is inputted and the payout prohibition storage register P2, the ball removal storage register P3, the ball storage register P4, the signal 1 storage register h1, the signal 2 storage register h2, the device ball storage register P5. Discharge ball sensor 1 memory register k1 and discharge ball sensor 2
The data is sequentially stored in each of the storage registers k2. The inputs of the ball detection sensors 22 and 23 of the ball ejecting device 20 are input to the input port of the CPU 30 after the signals of both are taken by the ball ejecting device control circuit 29. Therefore, the value of the device sphere presence storage register P5 becomes 1 only when both the sphere detection sensors 22 and 23 are on.

【0060】次に、メインルーチンにおける各処理につ
いて説明する。まず、ステップs4のメイン通信処理に
ついて説明すると、CPU30は、メイン通信処理を開
始すると、まず、玉抜きフラグfnが0であるか否か、
即ち、玉抜きに関する処理の実行中でないか否かを判別
し(ステップa1)、玉抜き処理中でない場合にはステ
ップa2に移行する。玉抜き処理中である場合には、玉
抜きフラグfnの値は1であるので、CPU30はメイ
ン通信処理を終えてメインルーチンへリターンする。
Next, each process in the main routine will be described. First, the main communication process of step s4 will be described. When the main communication process is started, the CPU 30 first determines whether the punching flag fn is 0 or not.
That is, it is determined whether or not the process related to the ball punching is being executed (step a1). Since the value of the ball drop flag fn is 1 during the ball drop processing, the CPU 30 ends the main communication processing and returns to the main routine.

【0061】ステップa2において、CPU30は、通
信処理フラグf0の値を判別し、通信処理フラグf0の
現在値に応じて、各処理に分岐する。通信処理フラグf
0の値は、メイン通信処理が開始されていない場合に
は、0となっている。
At step a2, the CPU 30 determines the value of the communication processing flag f0, and branches to each processing according to the current value of the communication processing flag f0. Communication processing flag f
The value of 0 is 0 when the main communication process is not started.

【0062】メイン通信処理が開始された場合、CPU
30は、通信処理フラグf0の値が0であるので、ステ
ップa2の判別処理において、真と判定してステップa
3に移行し、払出し記憶レジスタP1の値が1であるか
否かを判別する(ステップa3)。入力処理において、
賞品球払い出し検出スイッチSW5によって賞品球が検
出された場合には、払出し記憶レジスタP1の値は1と
なっている。この場合には、CPU30は、ステップa
4に移行して遊技盤における入賞等の制御を行う制御基
板44の制御手段であるCPU5に対して、払出し検出
信号を出力し(ステップa4)、パラメータt1に払出
し信号1に関する払出し信号監視時間を規定する所定値
aをセットし(ステップa6)、タイマT1を作動して
経過時間の測定を開始し(ステップa7)、払出し信号
2の入力検出回数を計数する払出し信号入力カウンタr
1に球の払出し個数に関する最大値15をセットし(ス
テップa8)、通信処理フラグf0の値を1に切り替え
(ステップa9)、この周期のメイン通信処理を終了す
る。
When the main communication process is started, the CPU
Since the value of the communication processing flag f0 is 0, 30 is determined to be true in the determination processing of step a2, and step a
Then, the process proceeds to 3, and it is determined whether or not the value of the payout storage register P1 is 1 (step a3). In the input process,
When a prize ball is detected by the prize ball payout detection switch SW5, the value of the payout storage register P1 is 1. In this case, the CPU 30 executes step a
4, the payout detection signal is output to the CPU 5 which is the control means of the control board 44 for controlling the winning on the game board (step a4), and the payout signal monitoring time relating to the payout signal 1 is set to the parameter t1. A predetermined value a to be defined is set (step a6), the timer T1 is operated to start measuring the elapsed time (step a7), and a payout signal input counter r for counting the number of times the payout signal 2 is input is detected.
The maximum value 15 relating to the number of balls to be paid out is set to 1 (step a8), the value of the communication processing flag f0 is switched to 1 (step a9), and the main communication processing of this cycle is ended.

【0063】なお、パラメータt1にセットされる払出
し信号監視時間を規定する所定値aは、実施例の処理タ
イミングでは50msとしている。
The predetermined value a which is set in the parameter t1 and defines the payout signal monitoring time is 50 ms at the processing timing of the embodiment.

【0064】また、ステップa3の判別処理において、
払出し記憶レジスタP1の値が1でないと判定された場
合には、賞品球払い出し検出スイッチSW5によって賞
品球が検出されないこととなるので、CPU30は、こ
の周期のメイン通信処理を終了する。
Further, in the discrimination processing of step a3,
When it is determined that the value of the payout storage register P1 is not 1, the prize ball payout detection switch SW5 does not detect the prize ball, so the CPU 30 ends the main communication process of this cycle.

【0065】以下、ステップa3の判定結果が真となっ
たものとして説明する。
Hereinafter, description will be given assuming that the determination result of step a3 is true.

【0066】図7は、本実施例における、CPU30に
よる賞品球払出し検出より、球払い出し終了までの時間
経過を示した動作タイミングチャートである。CPU5
に対して払出し検出信号が出力されると、CPU5はこ
の信号を受け、CPU30に対して賞品球の払出し条件
成立と判定して払出し信号1を出力すると共に、払出し
信号1を出力している間に、各別の入賞に対応する賞品
球を払い出すための払出し個数に対応した払出し信号2
を出力する。なお、払出し信号2は、例えば、払出し最
高個数が15個である場合に、7個払出しが発生した場
合には、払出し最高個数15より払出し個数7を減算し
て、減算結果のパルス数を出力する。即ち、8つのパル
スがCPU5によって出力される。また、15個払出し
発生の場合には、払出し信号1は出力されるが、払出し
信号2は出力されない。
FIG. 7 is an operation timing chart showing a lapse of time from the detection of prize ball payout by the CPU 30 to the end of ball payout in the present embodiment. CPU5
When the payout detection signal is output to the CPU 5, the CPU 5 receives the signal, determines to the CPU 30 that the prize ball payout condition is satisfied, and outputs the payout signal 1, and while the payout signal 1 is being output. In addition, a payout signal 2 corresponding to the number of payouts for paying out prize balls corresponding to each different prize
Is output. The payout signal 2 is, for example, when the maximum payout number is 15, and when 7 payouts occur, the payout number 7 is subtracted from the maximum payout number 15 and the pulse number of the subtraction result is output. To do. That is, eight pulses are output by the CPU 5. Further, in the case of the payout of 15 pieces, the payout signal 1 is output, but the payout signal 2 is not output.

【0067】次周期のメイン通信処理においては、通信
処理フラグf0の値は1となっているので、CPU30
は、ステップa1の判別処理後、ステップa2において
偽と判定してステップa10に移行し、ステップa10
の判別処理において真と判定して、ステップa11に移
行し、信号1記憶レジスタh1が1であるか否か、即
ち、払出し信号1が入力されたか否かを判別し(ステッ
プa11)、信号1記憶レジスタh1が1である場合に
は、通信処理フラグf0の値を2に切り替え(ステップ
a14)、この周期のメイン通信処理を終了する。
In the main communication processing of the next cycle, the value of the communication processing flag f0 is 1, so the CPU 30
After the discrimination processing in step a1, it is determined to be false in step a2, the process proceeds to step a10, and step a10
In the determining process of step S11, the process proceeds to step a11, and it is determined whether the signal 1 storage register h1 is 1, that is, whether the payout signal 1 is input (step a11). If the storage register h1 is 1, the value of the communication processing flag f0 is switched to 2 (step a14), and the main communication processing of this cycle is ended.

【0068】また、ステップa11の判別処理において
信号1記憶レジスタh1の値が0であって払出し信号1
の入力が検出されなかった場合には、CPU30は、払
出し検出信号入力からの経過時間がパラメータt1にセ
ットした所定値aに達しているか否かを判別し(ステッ
プa12)、払出し検出信号入力からの経過時間がパラ
メータt1にセットした所定値aに達していなければ、
この周期のメイン通信処理を終了する一方、払出し検出
信号入力からの経過時間がパラメータt1にセットした
所定値aに達している場合には、通信処理フラグf0の
値を4に切り替え(ステップa13)、この周期のメイ
ン通信処理を終了する。
Further, in the determination processing of step a11, the value of the signal 1 storage register h1 is 0 and the payout signal 1
When the input of is not detected, the CPU 30 determines whether or not the elapsed time from the input of the payout detection signal has reached the predetermined value a set in the parameter t1 (step a12), and from the payout detection signal input. If the elapsed time has not reached the predetermined value a set in the parameter t1,
While the main communication process of this cycle is completed, if the elapsed time from the payout detection signal input reaches the predetermined value a set in the parameter t1, the value of the communication process flag f0 is switched to 4 (step a13). , The main communication process of this cycle is completed.

【0069】CPU30は、ステップa11の判別処理
において払出し信号1の入力が検出されなかった場合
に、払出し検出信号入力からの経過時間がパラメータt
1にセットした所定値aに達していない場合には、通信
処理フラグf0の値が1のままであるため、次周期のメ
イン通信処理においては、CPU30は、ステップa
1,ステップa2,ステップa10及びステップa11
の判別処理を繰り返し実行し、払出し検出信号入力から
の経過時間がパラメータt1にセットした所定値aに達
するまで間に、払出し信号1が入力されると(ステップ
a11)、CPU30は、ステップa14に移行して、
通信処理フラグf0に2をセットする。
When the input of the payout signal 1 is not detected in the determination processing of step a11, the CPU 30 measures the elapsed time from the input of the payout detection signal by the parameter t.
When the predetermined value a set to 1 has not been reached, the value of the communication processing flag f0 remains 1. Therefore, in the main communication processing of the next cycle, the CPU 30 causes the step a
1, step a2, step a10 and step a11
When the payout signal 1 is input until the elapsed time from the input of the payout detection signal reaches the predetermined value a set in the parameter t1 (step a11), the CPU 30 proceeds to step a14. Migrate,
The communication processing flag f0 is set to 2.

【0070】まず、払出し検出信号入力から所定時間a
の間に、払出し信号1が検出された場合について説明す
る。この場合には、通信処理フラグf0は2となってい
るので、次周期以降でのメイン通信処理においては、C
PU30は、ステップa1,ステップa2,ステップa
10の判別処理後、ステップa15の判別処理において
真と判定し、ステップa16において再度、信号1記憶
レジスタh1が1となっているか否かを判定し(ステッ
プa16)、即ち、払出し信号1の入力がオンのままで
ある場合には、信号2記憶レジスタh2の値が1となっ
ているか否か、即ち、払出し信号2の入力が検出された
か否かを判別する(ステップa17)。
First, a predetermined time a from the input of the payout detection signal
A case where the payout signal 1 is detected during the period will be described. In this case, since the communication processing flag f0 is 2, C is set in the main communication processing after the next cycle.
The PU 30 performs the steps a1, a2, and a
After the discrimination processing of 10, it is determined to be true in the discrimination processing of step a15, and it is determined again in step a16 whether or not the signal 1 storage register h1 is 1 (step a16), that is, the payout signal 1 is input. If is still on, it is determined whether or not the value of the signal 2 storage register h2 is 1, that is, whether or not the input of the payout signal 2 is detected (step a17).

【0071】また、ステップa16の判別処理で、信号
1記憶レジスタh1が1となっていない場合には、即
ち、払出し信号1の入力がオフになった場合には、CP
U30は、通信処理フラグf0の値を4に切り替え(ス
テップa13)、この周期のメイン通信処理を終了す
る。
If the signal 1 storage register h1 is not set to 1 in the determination processing of step a16, that is, if the payout signal 1 is turned off, the CP
The U30 switches the value of the communication processing flag f0 to 4 (step a13), and ends the main communication processing of this cycle.

【0072】ステップa17の判別処理において、払出
し信号2の入力がオンとなっている場合には、CPU3
0は、払出し信号入力カウンタr1の値を2と比較し
(ステップa18)、2以上である場合には、払出し信
号入力カウンタr1の値を1つデクリメントし(ステッ
プa19)、ステップa20に移行する一方、払出し信
号入力カウンタr1の値を2と比較して2以上でない場
合には、この場合には、払出し信号入力カウンタr1の
値は1となっており、ステップa20に移行する。ステ
ップa20に移行したCPU30は、通信処理フラグf
0の値を3に切り替え(ステップa20)、この周期の
メイン通信処理を終了する。
When the payout signal 2 is turned on in the determination processing of step a17, the CPU 3
For 0, the value of the payout signal input counter r1 is compared with 2 (step a18), and when it is 2 or more, the value of the payout signal input counter r1 is decremented by 1 (step a19), and the process proceeds to step a20. On the other hand, when the value of the payout signal input counter r1 is compared with 2 and is not more than 2, in this case, the value of the payout signal input counter r1 is 1, and the process proceeds to step a20. The CPU 30 having moved to step a20, the communication processing flag f
The value of 0 is switched to 3 (step a20), and the main communication process of this cycle is ended.

【0073】また、ステップa17の判別処理におい
て、払出し信号2の入力がオフとなった場合には、CP
U30は、偽と判定してこの周期のメイン通信処理を終
了する。この場合には、ステップa20の処理は実行さ
れないので通信処理フラグf0の値は変化せず2である
ので、CPU30は次周期以降の処理も、ステップa
1,ステップa2,ステップa10,ステップa15の
判別処理後、ステップa16,ステップa17の判別処
理を実行する。
When the payout signal 2 is turned off in the determination processing of step a17, the CP
U30 determines that it is false and terminates the main communication process of this cycle. In this case, since the process of step a20 is not executed, the value of the communication process flag f0 does not change and is 2. Therefore, the CPU 30 executes the process of the next cycle and thereafter in step a.
After the discrimination processing of 1, step a2, step a10 and step a15, the discrimination processing of step a16 and step a17 is executed.

【0074】ステップa17の判別処理において、払出
し信号2がオンである場合には、次周期のメイン通信処
理においては、通信処理フラグf0は3となっているの
で、CPU30は、ステップa1,ステップa2,ステ
ップa10,ステップa15の判別処理後、ステップa
22の判別処理において真と判定してステップa23に
移行し、信号2記憶レジスタh2の値が1であるか否か
を判別し(ステップa23)、信号2記憶レジスタh2
の値が1のままである場合には、即ち、払出し信号2の
入力がオンのままである場合には、この周期のメイン処
理を終了する一方、信号2記憶レジスタh2の値が1で
ない場合には、即ち、払出し信号2の入力がオフとなっ
た場合には、通信処理フラグf0の値を2に切り替え
(ステップa24)、この周期のメイン処理を終了す
る。
When the payout signal 2 is ON in the determination processing of step a17, the communication processing flag f0 is 3 in the main communication processing of the next cycle, so the CPU 30 causes the CPU 30 to execute steps a1 and a2. , Step a10, step a15, and then step a
In the determination processing of step 22, it is determined to be true, the process proceeds to step a23, it is determined whether or not the value of the signal 2 storage register h2 is 1 (step a23), and the signal 2 storage register h2 is determined.
When the value of 1 remains, that is, when the input of the payout signal 2 remains on, the main processing of this cycle is ended, while the value of the signal 2 storage register h2 is not 1. That is, when the input of the payout signal 2 is turned off, the value of the communication processing flag f0 is switched to 2 (step a24), and the main processing of this cycle is ended.

【0075】そして、所定周期毎に実行される入力処理
によって入力された払出し信号1がオフとなると、ステ
ップa16の処理後、ステップa21によって通信処理
フラグf0の値が4に切り替わり、通信処理フラグf0
の値が4の時の処理へと移行する。また、払出し信号2
がオフとなる場合には、ステップa23の処理後、ステ
ップa24によって通信処理フラグf0の値が2に切り
替わる。
Then, when the payout signal 1 input by the input processing executed in every predetermined cycle is turned off, after the processing of step a16, the value of the communication processing flag f0 is switched to 4 by the step a21, and the communication processing flag f0.
Shifts to the processing when the value of is 4. Also, the payout signal 2
When is turned off, the value of the communication processing flag f0 is switched to 2 in step a24 after the processing in step a23.

【0076】CPU30は、所定周期毎に実行される入
力処理によって入力された払出し信号1がオンとなって
いる間は、メイン通信処理において、信号1記憶レジス
タh1の値をステップa11の判別処理において真と判
定し、通信処理フラグf0に2がセットされるので、払
出し信号2のオンとオフによって通信処理フラグf0の
値が2と3とで切り替わることによって実行される処
理、即ち、ステップa15,ステップa16,ステップ
a17,ステップa18,ステップa19及びステップ
a20の各処理とステップa15,ステップa22,ス
テップa23,ステップa24の各処理を所定処理周期
で繰り返し実行する。
The CPU 30 determines the value of the signal 1 storage register h1 in the determination process of step a11 in the main communication process while the payout signal 1 input by the input process executed in each predetermined cycle is on. Since it is determined to be true and the communication processing flag f0 is set to 2, the processing executed by switching the value of the communication processing flag f0 between 2 and 3 by turning on and off the payout signal 2, that is, step a15, Each processing of step a16, step a17, step a18, step a19, and step a20 and each processing of step a15, step a22, step a23, and step a24 are repeatedly executed at a predetermined processing cycle.

【0077】ステップa17乃至ステップa19の処理
によって、CPU5より払出し信号1が入力されている
ことを条件として払出し信号2が入力される毎に、払出
し信号入力カウンタr1の値が1つ減じられる。CPU
5によって、払出し信号2のパルス数は、払出し最高個
数より払出し個数を減算したものとして出力されている
ので、CPU30によって、払出し最高個数を規定する
値15が最初にセットされて払出し信号2の検出毎に1
つ減算される払出し信号入力カウンタr1の値は、払出
し個数となる。
By the processing of steps a17 to a19, the value of the payout signal input counter r1 is decremented by one each time the payout signal 2 is input on condition that the payout signal 1 is input from the CPU 5. CPU
5, the pulse number of the payout signal 2 is output as a value obtained by subtracting the number of payouts from the maximum number of payouts. Therefore, the CPU 30 first sets the value 15 defining the maximum number of payouts to detect the payout signal 2. 1 for each
The value of the payout signal input counter r1 that is subtracted by one is the number of payouts.

【0078】例えば、CPU5側において7個払出しが
発生した場合には、CPU5側より出力されるパルス数
は8個となる。メイン通信処理においては、信号2記憶
レジスタh2の値が0と1の間で8回切り替わることと
なり、払出し信号入力カウンタr1の値は、15から8
を減じた値7となる。また、CPU5側において15個
払出しが発生した場合には、払出し信号1のみが出力さ
れるので、メイン通信処理においては、ステップa1,
ステップa2,ステップa10,ステップa11,ステ
ップa14の各処理とステップa1,ステップa2,ス
テップa10,ステップa15,ステップa16,ステ
ップa17の各処理が所定周期で繰り返し実行される。
この場合には、払出し信号入力カウンタr1の値は、ス
テップa8においてセットした初期値15となる。
For example, when 7 payouts are generated on the CPU 5 side, the number of pulses output from the CPU 5 side is 8. In the main communication processing, the value of the signal 2 storage register h2 is switched between 0 and 1 eight times, and the value of the payout signal input counter r1 changes from 15 to 8
The value becomes 7 by subtracting. Also, when 15 payouts occur on the CPU 5 side, only the payout signal 1 is output, so in the main communication process, step a1,
Each processing of step a2, step a10, step a11, step a14 and each processing of step a1, step a2, step a10, step a15, step a16, step a17 are repeatedly executed at a predetermined cycle.
In this case, the value of the payout signal input counter r1 becomes the initial value 15 set in step a8.

【0079】通信処理フラグf0の値が4となると、C
PU30は、ステップa1,ステップa2,ステップa
10,ステップa15,ステップa22の判別処理後、
ステップa25の判別処理において真と判定してステッ
プa26に移行し、払出し個数バッファカウンタiの現
在値に対応する払出し個数記憶バッファR(i)を検察
して払出し信号入力カウンタr1の値、即ち、払出し個
数を払出し個数記憶バッファR(i)に記憶し(ステッ
プa26)、払出し個数バッファカウンタiの値を1つ
インクリメントする(ステップa27)。ここで、払出
し個数バッファカウンタiは、払出し個数を記憶する払
出し個数記憶バッファR(i)の記憶数を計数するカウ
ンタで、その値が0の場合は、払出し個数の記憶がない
ことを意味する。
When the value of the communication processing flag f0 becomes 4, C
The PU 30 performs the steps a1, a2, and a
After the discrimination processing of 10, step a15, and step a22,
When it is determined to be true in the determination processing of step a25, the process proceeds to step a26, the payout amount storage buffer R (i) corresponding to the current value of the payout amount buffer counter i is inspected, and the value of the payout signal input counter r1, that is, The payout amount is stored in the payout amount storage buffer R (i) (step a26), and the value of the payout amount buffer counter i is incremented by 1 (step a27). Here, the payout amount buffer counter i is a counter that counts the number of storages of the payout amount storage buffer R (i) that stores the number of payouts, and if the value is 0, it means that the number of payouts is not stored. .

【0080】次いで、CPU30は、払出し個数バッフ
ァカウンタiの値の数だけ記憶されているi個の払出し
個数記憶バッファR(i)を、記憶されている払出し個
数の小さい順に並び換え(ステップa28)、通信処理
フラグf0の値を5に切り替え(ステップa29)、こ
の周期のメイン処理を終了する。
Next, the CPU 30 rearranges the payout amount storage buffer R (i) of i stored by the number of the payout amount buffer counter i in ascending order of the stored payout number (step a28). The value of the communication processing flag f0 is switched to 5 (step a29), and the main processing of this cycle is ended.

【0081】次周期以降のメイン通信処理においては、
通信処理フラグf0の値は5となっているので、CPU
30は、ステップa1,ステップa2,ステップa1
0,ステップa15,ステップa22の判別処理後、ス
テップa25の判別処理において偽と判定してステップ
a30に移行し、払出し記憶レジスタP1の値が0であ
るか否か、即ち、賞品球払出し検出スイッチSW5に検
出されたパチンコ球が落下することによって賞品球払出
し検出スイッチSW5の信号入力がオフからオンに変わ
ったか否かを判別し(ステップa30)、判定結果が偽
である場合には、この周期のメイン通信処理を終了す
る。
In the main communication processing after the next cycle,
Since the value of the communication processing flag f0 is 5, the CPU
30 is step a1, step a2, step a1
After the determination process of 0, step a15, and step a22, it is determined to be false in the determination process of step a25, the process proceeds to step a30, and whether or not the value of the payout storage register P1 is 0, that is, the prize ball payout detection switch It is determined whether or not the signal input of the prize ball payout detection switch SW5 has changed from off to on due to the pachinko ball detected by SW5 falling (step a30), and if the determination result is false, this cycle The main communication process of is ended.

【0082】CPU30は、通信処理フラグf0の値が
5であるので、次周期以降、ステップa1,ステップa
2,ステップa10,ステップa15,ステップa2
2,ステップa30の各判別処理を所定処理周期で繰り
返し実行し、払出し記憶レジスタP1の値が0であると
判定すると、CPU5に対して出力している払出し検出
信号の出力を停止し(ステップa31)、通信処理フラ
グf0に0をセットして初期化し(ステップa32)、
この周期のメイン通信処理を終了する。
Since the value of the communication processing flag f0 is 5, the CPU 30 performs steps a1 and a after the next cycle.
2, step a10, step a15, step a2
2. When each determination process of step a30 is repeatedly executed at a predetermined processing cycle and it is determined that the value of the payout storage register P1 is 0, the output of the payout detection signal output to the CPU 5 is stopped (step a31). ), The communication processing flag f0 is set to 0 for initialization (step a32),
The main communication process of this cycle is ended.

【0083】また、CPU30が、ステップa1,ステ
ップa2,ステップa10及びステップa11,ステッ
プa12の判別処理を繰り返し実行し、払出し検出信号
入力からの経過時間がパラメータt1にセットした所定
値aに達するまで間に、払出し信号1が入力されないと
(ステップa11)、CPU30は、ステップa13に
移行し、通信処理フラグf0に4をセットし(ステップ
a13)、この周期のメイン通信処理を終了する。
Further, the CPU 30 repeatedly executes the discrimination processing of step a1, step a2, step a10 and step a11, step a12 until the elapsed time from the input of the payout detection signal reaches the predetermined value a set in the parameter t1. Meanwhile, if the payout signal 1 is not input (step a11), the CPU 30 proceeds to step a13, sets 4 to the communication processing flag f0 (step a13), and ends the main communication processing of this cycle.

【0084】払出し検出信号入力から所定時間aの間
に、払出し信号1が検出されない場合には、通信処理フ
ラグf0に4となっているので、次周期でのメイン通信
処理においては、CPU30は、ステップa1,ステッ
プa2,ステップa10,ステップa15,ステップa
22,ステップa25と移行し、ステップa26乃至ス
テップa29の処理を実行して、この周期のメイン通信
処理を終了する。
When the payout signal 1 is not detected within a predetermined time a from the input of the payout detection signal, the communication processing flag f0 is set to 4, so in the main communication processing in the next cycle, the CPU 30 Step a1, step a2, step a10, step a15, step a
22, the process proceeds to step a25, the processes of steps a26 to a29 are executed, and the main communication process of this cycle ends.

【0085】ステップa26及びステップa29の処理
が実行されることにより、賞品球払出しが検出されて払
出し信号1が所定時間内に検出されない場合には、払出
し個数バッファR(i)に最高払出し個数15がセット
され、通信処理フラグf0の値は5となる。この後の処
理は、既に述べた通信処理フラグf0の値が5となった
場合の処理に移行する。
When the prize ball payout is detected and the payout signal 1 is not detected within the predetermined time by executing the processing of steps a26 and a29, the maximum payout number 15 is set in the payout number buffer R (i). Is set, and the value of the communication processing flag f0 becomes 5. The subsequent processing shifts to the processing when the value of the communication processing flag f0 has already become 5.

【0086】メイン通信処理では、払出し信号1の入力
ありの検出より、払出し信号1の入力なしとなるまでの
間が、払出し個数の算出に要する時間であり、払出し信
号1は、払出し個数の多数少数に対応して、払出し個数
の多いときには、払出し信号1の出力時間を短くし、払
出し個数が少ない時には払出し信号1の出力時間を長く
し、払出し信号1が入力が検出されている間に払出し個
数を算出し、払出し信号1の入力なしの検出時に減算結
果を払出し個数として設定する。
In the main communication process, the time required for calculating the number of payouts is from the detection of the input of the payout signal 1 to the absence of the input of the payout signal 1. Corresponding to a small number, the output time of the payout signal 1 is shortened when the number of payouts is large, the output time of the payout signal 1 is lengthened when the number of payouts is small, and the payout is performed while the input of the payout signal 1 is detected. The number is calculated, and the subtraction result is set as the number of payouts when it is detected that the payout signal 1 is not input.

【0087】また、本実施例では、払出し信号1の検出
監視時間aを固定し、この間に払出し信号1が検出され
なった場合、最高払出し個数を設定し、メイン通信処理
を終了させるようにし、並列的に実行する他の処理に移
行する。
Further, in this embodiment, the detection monitoring time a of the payout signal 1 is fixed, and if the payout signal 1 is not detected during this period, the maximum payout number is set and the main communication process is ended. Move to another process to be executed in parallel.

【0088】次に、ステップs8の賞品球払い出し処理
について説明する。賞品球払い出し処理に移行したCP
U30は、まず、玉抜きフラグfnが0であるか否か、
即ち、玉抜きに関する処理の実行中でないか否かを判別
し(ステップb1)、玉抜き処理中でない場合にはステ
ップb2に移行する。玉抜き処理中である場合には、玉
抜きフラグfnの値は1であるので、CPU30は賞品
球払出し処理を終えてメインルーチンへリターンする。
Next, the prize ball payout process in step s8 will be described. CP that has shifted to prize ball payout processing
U30 first determines whether or not the punching flag fn is 0.
That is, it is determined whether or not the process related to punching is being executed (step b1), and when the process is not being punched, the process proceeds to step b2. Since the value of the ball drop flag fn is 1 during the ball drop processing, the CPU 30 ends the prize ball payout processing and returns to the main routine.

【0089】ステップb2に移行したCPU30は、払
出し処理フラグf1の現在値に応じて各処理に分岐す
る。ここで、払出し処理フラグf1の値は、賞品球払出
し処理が開始されていない場合には、初期値0となって
いる。
The CPU 30 having moved to step b2 branches to each process according to the current value of the payout process flag f1. Here, the value of the payout process flag f1 is an initial value 0 when the prize ball payout process is not started.

【0090】賞品球払い出し処理を開始したCPU30
は、ステップb2の判別処理において払出し処理フラグ
f1の値が0であるか否かを判別し(ステップb2)、
新規に賞品球払出し処理を開始した場合には、真と判定
してステップb3に移行し、各異常フラグの値が1とな
っていないかを判定し(ステップb3)、異常となって
いない場合にはステップb4に移行する一方、異常が発
生している場合には、賞品球払出し処理を終えてメイン
ルーチンへリターンする。なお、異常の判定には、賞品
球払出し禁止フラグ、賞品球切れ検出フラグ、装置球計
数異常フラグ、装置球切れフラグが判定される。
CPU 30 that started the prize ball payout process
Determines whether or not the value of the payout process flag f1 is 0 in the determination process of step b2 (step b2),
When the prize ball payout process is newly started, it is determined to be true, the process proceeds to step b3, and it is determined whether the value of each abnormality flag is 1 (step b3). On the other hand, when the abnormality occurs, the prize ball payout process is terminated and the process returns to the main routine. In addition, in the determination of abnormality, a prize ball payout prohibition flag, a prize ball out detection flag, a device ball counting abnormality flag, and a device ball out flag are determined.

【0091】CPU30は、異常がなければステップb
4に移行し、球排出装置20の動作中に関する払出中フ
ラグe1が、払出し中でない値0となっているか否かを
判別する(ステップb4)。払出中フラグe1の値が1
である場合には、既に、賞品球払出しを開始している
か、または、カードユニット2よりの球貸要求に対して
貸球を払い出しを開始していることとなる。CPU30
は、ステップb4の判別処理において、払出中フラグe
1の値が0であると判定した場合には、ステップb5に
移行する一方、払出中フラグe1の値が1であると判定
した場合には、賞品球払出し処理を終える。
If there is no abnormality, the CPU 30 proceeds to step b.
4, it is determined whether or not the paying-out flag e1 relating to the operation of the ball discharging device 20 has a value 0 which is not paying out (step b4). The value of the paying-out flag e1 is 1
In this case, it means that the prize ball payout has already been started, or the ball payout has been started in response to a ball lending request from the card unit 2. CPU30
Is the payout flag e in the determination processing of step b4.
When it is determined that the value of 1 is 0, the process proceeds to step b5, while when it is determined that the value of the paying flag e1 is 1, the prize ball payout process is ended.

【0092】払出中フラグe1の値が0である場合に
は、賞品球の払い出しが行えることとなり、CPU30
はステップb5に移行し、玉抜き記憶レジスタP3の値
が1となっているか否か、即ち、玉抜き操作検出スイッ
チの入力がオンとなっているか否かを判別する(ステッ
プb5)。ステップb5の判別処理において、玉抜き操
作検出スイッチの入力がオンとなっていると判定した場
合には、CPU30は、賞品球払出し処理を実行せず、
メインルーチンへリターンする。
When the value of the payout flag e1 is 0, the prize balls can be paid out, and the CPU 30
Shifts to step b5, and it is determined whether or not the value of the punching storage register P3 is 1, that is, whether the input of the punching operation detection switch is ON (step b5). In the determination processing of step b5, when it is determined that the input of the ball drop operation detection switch is turned on, the CPU 30 does not execute the prize ball payout processing,
Return to the main routine.

【0093】ステップb5の判別処理において、玉抜き
操作検出スイッチの入力がオフであると判定した場合に
は、CPU30はステップb6に移行し、払出し個数バ
ッファカウンタiの値が0であるか否かを判別し(ステ
ップb6)、真であれば払出し個数の記憶がないことと
なり、賞品球払出し処理を終える一方、判定結果が偽で
あれば、払出し個数の記憶があり、ステップb7に移行
する。
When it is determined in the determination processing in step b5 that the input of the ball drop operation detection switch is off, the CPU 30 proceeds to step b6 and determines whether or not the value of the payout number buffer counter i is 0. Is determined (step b6), and if it is true, the payout amount is not stored, and the prize ball payout process is ended. On the other hand, if the determination result is false, the payout amount is stored, and the process proceeds to step b7.

【0094】ステップb7に移行したCPU30は、払
出し個数バッファカウンタiの値の1番目に対応する払
出し個数記憶バッファR(i)の先頭データR(1)を
払出しカウンタにセットし(ステップb7)、ステップ
b8に移行し、即ち、ソレノイドカウンタC2に払出し
カウンタC1の値をセットし(ステップq1)、払出中
フラグe1に1をセットして払出し中にし、払出し処理
の開始を記憶する(ステップq2)。
After shifting to step b7, the CPU 30 sets the payout counter with the leading data R (1) of the payout number storage buffer R (i) corresponding to the first value of the payout number buffer counter i (step b7), The process proceeds to step b8, that is, the value of the payout counter C1 is set in the solenoid counter C2 (step q1), the payout flag e1 is set to 1 to make payout, and the start of the payout process is stored (step q2). .

【0095】ステップb8の処理後、CPU30は、ス
テップb9に移行し、払出し処理フラグf1の値を1に
切り替え(ステップb9)、この周期の賞品球払出し処
理を終了する。
After the processing of step b8, the CPU 30 proceeds to step b9, switches the value of the payout processing flag f1 to 1 (step b9), and ends the prize ball payout processing of this cycle.

【0096】次周期以降の賞品球払出し処理では、払出
し処理フラグf1の値は1となっているので、CPU3
0は、ステップb1,ステップb2の判別処理後、ステ
ップb10に移行し、払出中フラグe1の値が0である
か否かを判別し(ステップb10)、払出しが完了して
いなければ、払出中フラグe1の値は0とならないので
1のままであって偽と判定し、この周期の賞品球払出し
処理を終了する。
In the prize ball payout process after the next cycle, the value of the payout process flag f1 is 1, so the CPU 3
For 0, after the determination processing of steps b1 and b2, the process proceeds to step b10, and it is determined whether or not the value of the payout flag e1 is 0 (step b10). If the payout is not completed, the payout is in progress. Since the value of the flag e1 does not become 0, it remains 1 and is determined to be false, and the prize ball payout process of this cycle is ended.

【0097】そして、球排出装置20が球の払出しを完
了させた時点で、払出中フラグe1の値が0とされるの
で、ステップb10の判別処理で真と判定され、CPU
30は、ステップb11に移行し、払出し個数を記憶し
ている払出し個数記憶バッファR(i)の各々を1つ前
にシフトして、最後の払出し個数記憶バッファR(i)
の内容を0クリアし(ステップb11)、次いで、CP
U30は、払出し個数記憶バッファカウンタiの値を1
つデクリメントし(ステップb12)、ステップb13
に移行し、払出し処理フラグf1の値を0セットして初
期化し(ステップb13)、この周期の賞品球払出し処
理を終了する。
Then, when the ball discharging device 20 completes the payout of the balls, the value of the payout flag e1 is set to 0, so that it is determined to be true in the determination processing of step b10, and the CPU
30 shifts to step b11, shifts each of the payout amount storage buffers R (i) storing the payout amount to the previous one, and outputs the final payout amount storage buffer R (i).
Is cleared to 0 (step b11), and then CP
U30 sets the value of the payout amount storage buffer counter i to 1
Decrement (step b12), step b13
Then, the value of the payout processing flag f1 is set to 0 for initialization (step b13), and the prize ball payout processing of this cycle is completed.

【0098】次に、ステップs12の貸球処理について
説明する。貸球処理に移行したCPU30は、まず、玉
抜きフラグfnが0であるか否か、即ち、玉抜きに関す
る処理の実行中でないか否かを判別し(ステップc
1)、玉抜き処理中でない場合にはステップc2に移行
する。玉抜き処理中である場合には、玉抜きフラグfn
の値は1であるので、CPU30は貸球処理を終えてメ
インルーチンへリターンする。
Next, the ball rental process in step s12 will be described. The CPU 30 that has shifted to the ball lending process first determines whether or not the punching flag fn is 0, that is, whether or not the process related to the punching is being executed (step c
1) If it is not under the blanking process, the process proceeds to step c2. If the ball-removing process is in progress, the ball-removal flag fn
Since the value of is 1, the CPU 30 ends the ball rental process and returns to the main routine.

【0099】玉抜き処理中でない場合には、CPU30
は、ステップc2に移行し、各異常フラグの値が1とな
っていないかを判定し(ステップc2)、異常となって
いない場合にはステップc3に移行する一方、異常が発
生している場合には、賞品球払出し処理を終えてメイン
ルーチンへリターンする。なお、異常の判定には、賞品
球払出し禁止フラグ、賞品球切れ検出フラグ、装置球計
数異常フラグ、装置球切れフラグが判定される。
When the punching process is not in progress, the CPU 30
Shifts to step c2, determines whether the value of each abnormality flag is 1 (step c2), and when not abnormal, shifts to step c3, while abnormal occurs For, the prize ball payout process is completed and the process returns to the main routine. In addition, in the determination of abnormality, a prize ball payout prohibition flag, a prize ball out detection flag, a device ball counting abnormality flag, and a device ball out flag are determined.

【0100】CPU30は、異常がなければステップc
3に移行し、CPU30は、貸球処理フラグf2の現在
値に応じて各処理に分岐する。ここで、貸球処理フラグ
f2の値は、貸球処理が開始されていない場合には、初
期値0となっている。
If there is no abnormality, the CPU 30 proceeds to step c.
3, the CPU 30 branches to each process according to the current value of the ball rental process flag f2. Here, the value of the ball rental processing flag f2 is an initial value 0 when the ball rental processing is not started.

【0101】貸球処理を開始したCPU30は、ステッ
プc3の判別処理において貸球処理フラグf2の値が0
であるか否かを判別し(ステップc3)、新規に貸球を
開始した場合には、真と判定してステップc4に移行
し、払出中フラグe1の値が払出し処理中を規定する値
1となっているか否かを判別し(ステップc4)、判定
結果が真であれば貸球処理を実行しないでメインルーチ
ンへリターンする一方、判定結果が偽ならばステップc
5に移行する。
The CPU 30 that has started the ball lending process sets the value of the ball lending process flag f2 to 0 in the determination process of step c3.
Is determined (step c3), and when a new ball is started, it is determined to be true, the process proceeds to step c4, and the value of the paying-out flag e1 is a value 1 that defines the paying-out process. Is determined (step c4). If the determination result is true, the ball rental process is not executed and the process returns to the main routine, while if the determination result is false, the step c is performed.
Go to 5.

【0102】CPU30は、貸球フラグe2の値がカー
ドユニット2よりの貸球要求ありを規定する値1となっ
ているか否かを判別し(ステップc5)、判定結果が真
であればステップc6に移行する一方、判定結果が偽で
あれば、貸球処理を実行しないでメインルーチンへリタ
ーンする。
The CPU 30 determines whether or not the value of the ball rental flag e2 is a value 1 which defines that there is a ball rental request from the card unit 2 (step c5), and if the determination result is true, step c6. On the other hand, if the determination result is false, the process returns to the main routine without executing the ball lending process.

【0103】ステップc6に移行する場合、CPU30
は、通信処理フラグf0の値が0であるか否か、即ち、
遊技盤における入賞等の制御を行うCPU5とのステッ
プs4の通信処理中でないか否かを判別し(ステップc
6)、判定結果が真であればステップc7に移行する一
方、判定結果が偽であれば、即ち、CPU5との通信処
理中であれば、貸球処理を実行しないでメインルーチン
へリターンする。
When shifting to step c6, the CPU 30
Indicates whether the value of the communication processing flag f0 is 0, that is,
It is determined whether or not the communication processing in step s4 with the CPU 5 for controlling the winning on the game board is in progress (step c
6) If the determination result is true, the process proceeds to step c7, while if the determination result is false, that is, if the communication process with the CPU 5 is being performed, the ball rental process is not executed and the process returns to the main routine.

【0104】ステップc7に移行する場合、CPU30
は、払出し処理フラグf1の値が0であるか否か、即
ち、ステップs8の賞品球払出し処理において賞品球の
払出し実行中となっていないか否かを判別し(ステップ
c7)、判定結果が真であればステップc8に移行する
一方、判定結果が偽であれば、即ち、賞品球払出し処理
中であれば、貸球処理を実行しないでメインルーチンへ
リターンする。
When shifting to step c7, the CPU 30
Determines whether the value of the payout process flag f1 is 0, that is, whether or not the prize ball payout is being executed in the prize ball payout process of step s8 (step c7). If true, the process proceeds to step c8. On the other hand, if the determination result is false, that is, if the prize ball payout process is in progress, the ball rental process is not executed and the process returns to the main routine.

【0105】ステップc8に移行する場合、CPU30
は、予めKSI番地に設定されている貸球個数データを
払出しカウンタC1にセットし(ステップc8)、ステ
ップc9に移行し、即ち、ソレノイドカウンタC2に払
出しカウンタC1の値をセットし(ステップq1)、払
出中フラグe1に1をセットして払出し中にし、貸球の
払出し処理の開始を記憶する(ステップq2)。なお、
KSI番地に設定されている貸球個数データは、本実施
例では25である。即ち、貸球を行った場合には、25
個のパチンコ球が払い出される。
When shifting to step c8, the CPU 30
Sets the number-of-lending-balls data set in advance at the KSI address in the payout counter C1 (step c8) and moves to step c9, that is, sets the value of the payout counter C1 in the solenoid counter C2 (step q1). The payout flag e1 is set to 1 to make the payout, and the start of the payout process of the ball rental is stored (step q2). In addition,
The number of rented balls data set in the KSI address is 25 in this embodiment. In other words, if you rent a ball, 25
Individual pachinko balls are paid out.

【0106】ステップc9の処理後、CPU30は、ス
テップb10に移行し、貸球処理フラグf2の値を1に
切り替え(ステップc10)、この周期の貸球処理を終
了する。
After the processing of step c9, the CPU 30 proceeds to step b10, switches the value of the ball rental processing flag f2 to 1 (step c10), and ends the ball rental processing of this cycle.

【0107】次周期以降の貸球処理では、貸球処理フラ
グf2の値は1となっているので、CPU30は、ステ
ップc1,ステップc2,ステップc3の判別処理後、
ステップc11に移行し、払出中フラグe1の値が0で
あるか否かを判別し(ステップc11)、払出しが完了
していなければ、払出中フラグe1の値は0とならない
ので1のままであって偽と判定し、この周期の貸球払出
し処理を終了する。
In the ball lending process in the next period and thereafter, the value of the ball lending process flag f2 is 1. Therefore, the CPU 30 performs the determination process of step c1, step c2 and step c3,
The process proceeds to step c11, and it is determined whether or not the value of the paying-out flag e1 is 0 (step c11). If the paying-out is not completed, the value of the paying-out flag e1 does not become 0, and thus remains at 1. Therefore, it is determined to be false, and the rental ball payout process of this cycle is ended.

【0108】そして、球排出装置20が球の払出しを完
了させた時点で、払出中フラグe1の値が0とされるの
で、ステップc11の判別処理で真と判定され、CPU
30は、ステップc12に移行し、貸球フラグe2を0
セットして初期化し(ステップc12)、貸球処理フラ
グf2の値を0セットして初期化し(ステップc1
3)、この周期の貸球処理を終了する。
Then, when the ball discharging device 20 completes the payout of the balls, the value of the paying flag e1 is set to 0. Therefore, it is determined to be true in the determination processing of step c11, and the CPU
30 shifts to step c12 and sets the ball rental flag e2 to 0.
It is set and initialized (step c12), and the value of the ball rental processing flag f2 is set to 0 and initialized (step c1).
3) The ball rental processing of this cycle is completed.

【0109】次に、ステップs1の球排出制御処理につ
いて説明する。図8は、球排出装置20における球の払
出し動作を示すタイミングチャートである。本実施例で
は、球の払出し動作をフックソレノイドSOL1の作動
時間をAとし、排出球の検出時間をBとして、時間A+
Bを払出し動作の1サイクルとしている。
Next, the ball discharge control processing in step s1 will be described. FIG. 8 is a timing chart showing a ball payout operation in the ball discharging device 20. In the present embodiment, the ball payout operation is time A +, where A is the operation time of the hook solenoid SOL1 and B is the discharge ball detection time.
B is one cycle of the payout operation.

【0110】球排出制御処理を開始すると、CPU30
は、玉抜きフラグfnが0であるか否か、即ち、玉抜き
に関する処理の実行中でないか否かを判別し(ステップ
d1)、玉抜き処理中でない場合にはステップd2に移
行する。玉抜き処理中である場合には、玉抜きフラグf
nの値は1であるので、CPU30は球排出装置制御処
理を実行せずリターンする。
When the ball discharge control process is started, the CPU 30
Judges whether or not the punching flag fn is 0, that is, whether or not the processing relating to the punching is being executed (step d1), and when the punching processing is not being carried out, shifts to step d2. If the ball-removing process is in progress, the ball-removing flag f
Since the value of n is 1, the CPU 30 returns without executing the ball ejection device control process.

【0111】玉抜きフラグfnの値が0である場合に
は、CPU30はステップd2に移行し、払出中フラグ
e1が払出し中を規定する値1であるか否かを判別し
(ステップd2)、判定結果が真であればステップd3
に移行する一方、判定結果が偽である場合にはステップ
d47に移行する。
When the value of the dropout flag fn is 0, the CPU 30 proceeds to step d2 and determines whether or not the payout flag e1 is a value 1 which defines the payout (step d2). If the determination result is true, step d3
On the other hand, if the determination result is false, the process proceeds to step d47.

【0112】まず、払出しフラグe1が0である払出し
中でない場合の処理について説明すると、CPU30
は、払出しカウンタC1の値を0クリアし(ステップd
47)、フックソレノイドSOL1の励磁解除指令を出
力し(ステップd48)、球排出装置制御処理を開始せ
ずに、この周期の処理を終了する。
First, the process in the case where the payout flag e1 is 0 and the payout is not in progress will be described. The CPU 30
Clears the value of the payout counter C1 to 0 (step d
47), the excitation release command of the hook solenoid SOL1 is output (step d48), and the process of this cycle is ended without starting the ball ejection device control process.

【0113】次に、払出しフラグe1が1である払出し
中の場合の処理について説明すると、CPU30は、ま
ず、球排出装置20が球切れ状態となっていないかどう
か、即ち、通路61及び62内にパチンコ球が整列して
いるか否かを、球切れ異常フラグE2の値が1であるか
否かによって判定する(ステップd3)。球切れ異常フ
ラグE2の値は、0で球有りで正常状態、1で球切れ異
常状態を規定する。CPU30は、球切れ異常フラグE
2の値が0で球排出装置20が正常状態となっている場
合にはステップd4に移行する一方、球切れ異常フラグ
E2の値が1で球切れ異常状態となっている場合にはス
テップd40の球計数入力処理に移行する。
Next, the processing when the payout flag e1 is 1 will be described. First, the CPU 30 determines whether or not the ball discharge device 20 is in a ball out state, that is, in the passages 61 and 62. Whether or not the pachinko balls are aligned is determined by whether or not the value of the out-of-ball abnormality flag E2 is 1 (step d3). The value of the out-of-ball abnormality flag E2 defines 0 as a normal state with a ball and 1 as an abnormal ball-out state. The CPU 30 detects the out-of-ball abnormality flag E.
When the value of 2 is 0 and the ball ejection device 20 is in the normal state, the process proceeds to step d4, while when the value of the ball out abnormality flag E2 is 1 and the ball is out of abnormal state, the step d40 is performed. The processing shifts to the ball counting input processing.

【0114】まず、CPU30がステップd4に移行す
る場合について説明する。ステップd4に移行する場合
には、CPU30は、排出装置制御処理フラグf4の現
在値に応じて各処理に分岐する。なお、排出装置制御処
理フラグf4の値は、球排出装置制御処理が開始されて
いない場合には、初期値0となっている。
First, the case where the CPU 30 shifts to step d4 will be described. When shifting to step d4, the CPU 30 branches to each process according to the current value of the discharge device control process flag f4. The value of the discharge device control processing flag f4 is an initial value 0 when the ball discharge device control processing is not started.

【0115】CPU30は、球排出装置制御処理を開始
すると、ステップd4の判別処理において真と判定する
場合にはステップd5に移行して払出しカウンタC1の
値が0であるか否かを判別するが(ステップd5)、こ
の場合、払出しカウンタC1には賞品球払出し処理にお
けるステップb7によって値がセットされているので真
と判定しステップd6に移行し、払出しカウンタC1の
値が25を越えた値であるか否かを判別することとなる
が(ステップb6)、賞品球払出しの場合には、払出し
カウンタC1の値は、最高15までであり、また貸球要
求に対する球の払出しの場合は、払出しカウンタC1の
値が25となるので、払出しカウンタC1に異常な値が
設定されている場合には、CPU30は、真と判定して
ステップd45に移行する一方、払出しカウンタC1の
値が25以下の正常な値である場合には、偽と判定して
ステップd7に移行する。
When the sphere discharging device control process is started, the CPU 30 proceeds to step d5 to determine whether the value of the payout counter C1 is 0 when it is determined to be true in the determination process of step d4. (Step d5) In this case, since the value is set in the payout counter C1 in step b7 in the prize ball payout process, it is determined to be true, the process proceeds to step d6, and the value of the payout counter C1 exceeds 25. It is determined whether or not there is any (step b6), but in the case of prize ball payout, the value of the payout counter C1 is up to 15, and in the case of ball payout in response to a ball rental request, payout Since the value of the counter C1 is 25, if an abnormal value is set in the payout counter C1, the CPU 30 determines that it is true and proceeds to step d45. While row, if the value of the payout counter C1 is a normal value of 25 or less, the process proceeds to step d7 is determined to be false.

【0116】ステップd7に移行したCPU30は、フ
ックソレノイドSOL1の動作指令回数を計数するリト
ライカウンタRCの値が上限値10であるか否かを判定
するが(ステップd7)、球排出装置制御処理の開始時
には、フックソレノイドSOL1の動作を開始させてい
ないので偽と判定してステップd8に移行し、ソレノイ
ドカウンタC2の値が0であるか否かを判別するが(ス
テップd8)、この場合も同様に偽と判定してステップ
d9に移行し、パラメータt2に所定値bをセットし
(ステップd9)、球排出装置監視タイマT2を作動し
て経過時間の測定を行い(ステップd10)、排出装置
制御処理フラグf4の値を1に切り替え(ステップd1
1)、この周期の賞品球払出し処理を終了する。
The CPU 30 having moved to step d7 determines whether or not the value of the retry counter RC for counting the number of operation commands of the hook solenoid SOL1 is the upper limit value 10 (step d7). At the start, since the operation of the hook solenoid SOL1 is not started, it is determined to be false and the process proceeds to step d8 to determine whether or not the value of the solenoid counter C2 is 0 (step d8). When it is determined to be false, the process shifts to step d9, the parameter t2 is set to a predetermined value b (step d9), the ball discharging device monitoring timer T2 is activated to measure the elapsed time (step d10), and the discharging device control The value of the processing flag f4 is switched to 1 (step d1
1) The prize ball payout process of this cycle is completed.

【0117】パラメータt2に設定される所定値bは、
フックソレノイドSOL1の励磁前に装置球有り記憶レ
ジスタP5の値が球なし状態を規定する値0となってい
る場合に、所定時間bの間球なし状態となっているか否
かを判定するために球排出装置監視タイマT2と比較さ
れる時間であり、フックソレノイドSOL1の励磁前に
装置球有り記憶レジスタP5の値が球有り状態を規定す
る値1となっている場合には、球排出装置監視タイマT
2と比較される値は、フックソレノイドSOL1の作動
時間を50msを規定する所定値となる。なお、所定値
bは、本実施例の処理タイミングでは、100msを規
定する値としている。
The predetermined value b set in the parameter t2 is
Before the excitation of the hook solenoid SOL1, when the value of the device ball storage register P5 is a value 0 which defines the ball-free state, it is necessary to determine whether or not the ball-free state has been maintained for a predetermined time b. It is a time compared with the sphere ejecting device monitoring timer T2, and when the value of the device sphere presence storage register P5 is the value 1 which defines the sphere present state before the excitation of the hook solenoid SOL1, the sphere ejecting device monitoring is performed. Timer T
The value compared with 2 is a predetermined value that defines the operation time of the hook solenoid SOL1 as 50 ms. Note that the predetermined value b is a value that defines 100 ms at the processing timing of this embodiment.

【0118】次周期以降の球排出装置制御処理では、排
出装置制御処理フラグf4の値が1となっているので、
CPU30は、ステップd1,ステップd2,ステップ
d3,ステップd4の判別処理後、ステップd17に移
行して真と判定し、ステップd18に移行する。
In the ball ejecting device control process after the next period, the value of the ejecting device control process flag f4 is 1, so that
After the determination processing of step d1, step d2, step d3, and step d4, the CPU 30 proceeds to step d17, determines as true, and proceeds to step d18.

【0119】ステップd18に移行したCPU30は、
装置球有り記憶レジスタP5の値が球有り状態を規定す
る値1であるか否かを判別し(ステップd18)、判定
結果が真であればステップd19に移行する一方、ステ
ップd18の判定結果が偽であればステップd27に移
行する。
The CPU 30 having moved to step d18
It is determined whether or not the value of the device sphere presence storage register P5 is the value 1 that defines the sphere presence state (step d18). If the determination result is true, the process proceeds to step d19, while the determination result of step d18 is If false, the process moves to step d27.

【0120】ステップd18の判定結果は、通常、フッ
クソレノイドSOL1の動作を開始させていなければ、
装置球有り記憶レジスタP5の値は球有り状態を規定す
る値1であるので、CPU30はステップd19に移行
するが、入力処理によって球排出装置20内の通路6
1,62の球なし状態が検出された場合には、CPU3
0は、ステップd27に移行することとなる。
The judgment result of step d18 is that if the operation of the hook solenoid SOL1 is not normally started,
Since the value of the device sphere storage register P5 is the value 1 which defines the sphere presence state, the CPU 30 proceeds to step d19.
When the ball-free state of 1, 62 is detected, the CPU 3
If 0, the process moves to step d27.

【0121】まず、CPU30がステップd19に移行
する場合について説明すると、CPU30は、リトライ
カウンタRCの値を1つインクリメントし(ステップd
19)、フックソレノイドSOL1の励磁指令を出力し
(ステップd20)、レジスタXに50msを規定する
値をセットし(ステップd21)、パラメータt2にレ
ジスタXの値をセットする(ステップd22)。この場
合には、パラメータt2には50msを規定する値がセ
ットされる。なお、この時間は、フックソレノイドSO
L1の励磁開始から次回のフックソレノイドSOL1の
励磁開始までの時間であり、1サイクル時間ということ
にする。
First, the case where the CPU 30 shifts to step d19 will be described. The CPU 30 increments the value of the retry counter RC by 1 (step d19).
19), the excitation command of the hook solenoid SOL1 is output (step d20), a value defining 50 ms is set in the register X (step d21), and the value of the register X is set in the parameter t2 (step d22). In this case, the parameter t2 is set to a value defining 50 ms. Note that this time depends on the hook solenoid SO
It is the time from the start of the excitation of L1 to the start of the next excitation of the hook solenoid SOL1, which is one cycle time.

【0122】ステップd22の処理後、CPU30は、
球排出装置監視タイマT2を作動して経過時間の測定を
行い(ステップd23)、パラメータt4に所定値dを
セットし(ステップd24)、球排出装置監視タイマT
4を作動して経過時間の測定を開始し(ステップd2
5)、排出装置制御処理フラグf4の値を2に切り替え
(ステップd26)、この周期の球排出装置制御処理を
終了する。なお、パラメータt4に設定される所定値d
は、フックソレノイドSOL1の作動時間であり、本実
施例の処理タイミングでは、15msを規定する値とし
ている。
After the processing of step d22, the CPU 30
The sphere ejecting device monitoring timer T2 is activated to measure the elapsed time (step d23), the parameter t4 is set to a predetermined value d (step d24), and the sphere ejecting device monitoring timer T is set.
4 to start measuring the elapsed time (step d2
5) The value of the discharge device control process flag f4 is switched to 2 (step d26), and the ball discharge device control process of this cycle is finished. The predetermined value d set in the parameter t4
Is the operating time of the hook solenoid SOL1, and is a value defining 15 ms at the processing timing of this embodiment.

【0123】次周期以降の球排出装置制御処理では、排
出装置制御処理フラグf4の値が2となっているので、
CPU30は、ステップd1,ステップd2,ステップ
d3,ステップd4,ステップd17の判別処理後、ス
テップd29に移行して真と判定してステップd30に
移行する。
In the ball discharging device control process after the next period, the value of the discharging device control processing flag f4 is 2, so that
After the determination processing of step d1, step d2, step d3, step d4, and step d17, the CPU 30 proceeds to step d29, determines that it is true, and proceeds to step d30.

【0124】ステップd30に移行したCPU30は、
フックソレノイドSOL1の励磁を開始してからの経過
時間がパラメータt4に設定した値に達しているか否か
を判別し(ステップd30)、フックソレノイドSOL
1の励磁を開始してからの経過時間がパラメータt4の
値に達していなければ、この周期の球排出装置制御処理
を終了する。
The CPU 30 having moved to step d30
It is determined whether or not the elapsed time from the start of excitation of the hook solenoid SOL1 has reached the value set in the parameter t4 (step d30), and the hook solenoid SOL
If the elapsed time from the start of the excitation of 1 has not reached the value of the parameter t4, the ball ejection device control processing of this cycle is ended.

【0125】そして、CPU30は、フックソレノイド
SOL1の励磁を開始してからの経過時間がパラメータ
t4の値に達するまでの間、排出装置制御処理フラグf
4の値2に基づいてステップd1,ステップd2,ステ
ップd3,ステップd4,ステップd17,ステップd
29及びステップd30の判別処理を所定の処理周期で
繰り返し実行し、フックソレノイドSOL1の励磁を開
始してからの経過時間がパラメータt4に達すると、ス
テップd31に移行し、フックソレノイドSOL1の励
磁解除指令を出力し(ステップd31)、ソレノイドカ
ウンタC2の値を1つデクリメントし(ステップd3
2)、排出装置制御処理フラグf4の値を3に切り替え
て(ステップd33)、この周期の球排出装置制御処理
を終了する。
The CPU 30 then discharges the ejector control flag f until the elapsed time from the start of excitation of the hook solenoid SOL1 reaches the value of the parameter t4.
4 based on the value 2 of step d1, step d2, step d3, step d4, step d17, step d
29 and step d30 are repeatedly executed at a predetermined processing cycle, and when the elapsed time from the start of excitation of the hook solenoid SOL1 reaches the parameter t4, the process proceeds to step d31 to issue an instruction to cancel the excitation of the hook solenoid SOL1. Is output (step d31) and the value of the solenoid counter C2 is decremented by 1 (step d3).
2) Then, the value of the ejection device control processing flag f4 is switched to 3 (step d33), and the ball ejection device control processing of this cycle is ended.

【0126】フックソレノイドSOL1の作動によって
球排出装置20よりパチンコ球が排出されると、球排出
装置20の通路61または62に整列しているパチンコ
球が移動するので、球検出センサー22または23のい
ずれかが一時的に球なし状態となる。本実施例の球排出
装置20においては、フックソレノイドSOL1の励磁
開始から球検出センサー22または23のいずれかによ
って球なし状態が検出されるまで多少の時間を要する。
When a pachinko ball is ejected from the ball ejecting device 20 by the operation of the hook solenoid SOL1, the pachinko ball aligned in the passage 61 or 62 of the ball ejecting device 20 moves. One of them is temporarily out of the ball. In the ball ejection device 20 of the present embodiment, it takes some time from the start of excitation of the hook solenoid SOL1 to the detection of the no-ball state by either the ball detection sensor 22 or 23.

【0127】従って、この間、CPU30は、排出装置
制御処理フラグf4の値3に基づいて、ステップd1,
ステップd2,ステップd3,ステップd4,ステップ
d17の判別処理後、ステップd29の判別処理におい
て偽と判定してステップd34に移行し、ステップd2
3の処理によって作動した球排出装置監視タイマT2の
計時時間が1サイクル時間に達したか否かを判別し(ス
テップd34)、球排出装置監視タイマT2の計時時間
が1サイクル時間に達していない場合には、ステップd
35に移行して、装置球有り記憶レジスタP5の値が0
であるか否か、即ち、球の排出による球なし状態が発生
したか否かを判別し(ステップd35)、判定結果が偽
であれば、この周期の球排出装置制御処理を終了する一
方、判定結果が真であればステップd36に移行して、
球切れ異常フラグE2の値に1をセットし(ステップd
36)、この周期の球排出装置制御処理を終了する。
Therefore, during this period, the CPU 30 executes the steps d1 and d2 based on the value 3 of the discharge device control processing flag f4.
After the determination processing of step d2, step d3, step d4, and step d17, it is determined to be false in the determination processing of step d29, the process proceeds to step d34, and step d2
It is determined whether or not the time measured by the ball discharging device monitoring timer T2 operated by the processing of No. 3 has reached one cycle time (step d34), and the time measured by the ball discharging device monitoring timer T2 has not reached one cycle time. If step d
35, and the value of the storage register P5 with device ball is 0
It is determined whether or not, that is, whether or not a ball-free state has occurred due to ball ejection (step d35). If the determination result is false, while the ball ejection device control processing of this cycle is terminated, If the determination result is true, the process proceeds to step d36,
The value of the out-of-ball abnormality flag E2 is set to 1 (step d
36), the ball ejection device control processing of this cycle is ended.

【0128】球の払出しが正常に行われれば、入力処理
が実行されることよって装置球有り記憶レジスタP5の
値が0となり、ステップd35の判別処理によって真と
判定されてステップd36の処理で球切れ異常フラグE
2の値が1となるため、次周期の球排出装置制御処理で
は、CPU30は、ステップd1,ステップd2の判別
処理後、ステップd3の判別処理において真と判定され
て、ステップd40の球計数入力処理を行うこととな
る。
If the sphere is paid out normally, the value of the device sphere presence storage register P5 becomes 0 by executing the input process, and it is determined to be true by the determination process of step d35, and the sphere is determined by the process of step d36. Abnormality flag E
Since the value of 2 becomes 1, in the sphere ejecting device control process of the next cycle, the CPU 30 determines true in the determination process of step d3 after the determination process of steps d1 and d2, and inputs the sphere count in step d40. Processing will be performed.

【0129】ここで、球計数入力処理について説明す
る。CPU30は、レジスタXを0セットして初期化し
(ステップv1)、排出球センサー記憶レジスタk1の
値が入力ありを規定する値1となっているか否かを判別
する(ステップv2)。なお、レジスタXは、8ビット
であり、CPU30が演算を行うときに使用したり、値
の一時記憶のための汎用レジスタである。
Here, the ball count input process will be described. The CPU 30 initializes the register X by setting it to 0 (step v1), and determines whether or not the value of the discharge ball sensor storage register k1 is the value 1 which defines the presence of input (step v2). The register X has 8 bits, and is a general-purpose register that is used when the CPU 30 performs an operation and temporarily stores a value.

【0130】ステップv2の判別処理において、入力な
しと判定した場合には、CPU30は、ステップv6に
移行する一方、入力ありと判定した場合には、レジスタ
Xの0ビット目に1をセットし(ステップv3)、計数
入力フラグCTの値が1であるか否か、即ち、排出球セ
ンサー22が立ち上がり済みであり、排出球センサー記
憶レジスタk1の入力ありを記憶済みであるか否かを判
別し(ステップv4)、判定結果が真であればステップ
v6に移行する一方、判定結果が偽であればステップv
5に移行して、レジスタXと計数入力フラグCTの値と
のORをとり演算結果をレジスタXに格納し(ステップ
v5)、ステップv8に移行する。
When it is determined that there is no input in the determination processing of step v2, the CPU 30 proceeds to step v6, while when it is determined that there is input, 1 is set to the 0th bit of the register X ( Step v3), it is determined whether or not the value of the count input flag CT is 1, that is, whether or not the discharge ball sensor 22 has been started up and the discharge ball sensor storage register k1 has been input. (Step v4) If the determination result is true, the process proceeds to step v6, while if the determination result is false, the step v
5, the register X and the value of the count input flag CT are ORed to store the operation result in the register X (step v5), and the process proceeds to step v8.

【0131】なお、計数入力フラグCTは、8ビットで
あり、前回の球計数入力処理において、球計数入力があ
った場合における排出球センサー1記憶レジスタk1及
び排出球センサー2記憶レジスタk2の入力状態を記憶
しているフラグであり、0ビット目を排出球センサー1
の入力の有無の記憶とし、1ビット目を排出球センサー
2の入力の有無の記憶とし、2〜7ビット目までは0と
なっており、未使用である。また、入力のある場合に
は、ビットに1がセットされ、入力がない場合にはビッ
トに0がセットされる。
The count input flag CT is 8 bits, and the input state of the discharge ball sensor 1 storage register k1 and the discharge ball sensor 2 storage register k2 when there is a ball count input in the previous ball count input processing. Is a flag that stores, and the 0th bit is the discharge ball sensor 1
Is stored as the presence or absence of input, and the first bit is stored as presence or absence of input of the discharge ball sensor 2, and 0 is stored in the 2nd to 7th bits, which is not used. When there is an input, the bit is set to 1, and when there is no input, the bit is set to 0.

【0132】CPU30がステップv6に移行する場合
には、即ち、排出球センサー1記憶レジスタk1の入力
がない場合か、排出球センサー1記憶レジスタk1の入
力ありを既に記憶している場合には、CPU30は、排
出球センサー2記憶レジスタk2の値が1であるか否
か、即ち、排出球センサー23の入力があるか否かを判
別し(ステップv6)、判定結果が偽であればステップ
v8に移行する一方、判定結果が真であれば、レジスタ
Xの1ビット目に1をセットし(ステップv7)、ステ
ップv8に移行する。
When the CPU 30 proceeds to step v6, that is, when the discharge ball sensor 1 storage register k1 is not input or when the discharge ball sensor 1 storage register k1 is already input, The CPU 30 determines whether or not the value of the discharge ball sensor 2 storage register k2 is 1, that is, whether there is an input from the discharge ball sensor 23 (step v6). If the determination result is false, step v8. On the other hand, if the determination result is true, the first bit of the register X is set to 1 (step v7), and the process proceeds to step v8.

【0133】球計数入力処理における、前回の計数入力
フラグCTと今回の入力判定におけるレジスタXとレジ
スタYの関係を表1に示す。
Table 1 shows the relationship between the previous count input flag CT and the register X and the register Y in the present input determination in the ball count input process.

【0134】[0134]

【表1】 本実施例では、各スイッチ及びセンサー等の入力のオン
オフ状態の記憶を2ms毎に実行しているので、図8に
示されるように、球の排出が検出されてから暫くの間
と、一方の排出球センサーの信号出力がオンからオフと
なってから次に他方の排出球センサーの信号出力がオフ
からオンとなるまでの間は、排出球センサー22及び排
出球センサー23の信号入力が共にオフ、即ち、排出球
センサー1記憶レジスタk1及び排出球センサー2記憶
レジスタk2に記憶される値が共に0となる。
[Table 1] In this embodiment, since the ON / OFF states of the inputs of the switches and sensors are stored every 2 ms, as shown in FIG. Both the signal inputs of the discharge ball sensor 22 and the discharge ball sensor 23 are off from when the signal output of the discharge ball sensor is turned on to when the signal output of the other discharge ball sensor is turned on next. That is, the values stored in the discharge ball sensor 1 storage register k1 and the discharge ball sensor 2 storage register k2 are both 0.

【0135】この結果、ステップv8におけるレジスタ
Xの内容は、排出球センサー1記憶レジスタk1及び排
出球センサー2記憶レジスタk2の入力が共にない場合
には、ステップv1,ステップv2,ステップv6,ス
テップv8と経由するので、計数入力フラグCTの値に
関係せずレジスタXの値はX“0”であり、排出球セン
サー1記憶レジスタk1の入力がなく、排出球センサー
2記憶レジスタk2の入力ありの場合には、ステップv
1,ステップv2,ステップv6,ステップv7,ステ
ップv8と経由するので、計数入力フラグCTの値に関
係せずレジスタXの値はX“10”である。
As a result, the contents of the register X in step v8 are the same as those in step v1, step v2, step v6, and step v8 when neither the discharge ball sensor 1 storage register k1 nor the discharge ball sensor 2 storage register k2 is input. Therefore, the value of the register X is X “0” regardless of the value of the count input flag CT, there is no input of the discharge ball sensor 1 storage register k1, and there is an input of the discharge ball sensor 2 storage register k2. If step v
The value of the register X is X "10" regardless of the value of the count input flag CT because the process goes through 1, step v2, step v6, step v7, and step v8.

【0136】また、排出球センサー1記憶レジスタk1
の入力ありの場合には、計数入力フラグCTの値に関係
し、計数入力フラグCTの値がX“01”の場合には、
ステップv1,ステップv2,ステップv3,ステップ
v4を経由後、排出球センサー2記憶レジスタk2の入
力を判別するが、排出球センサー1記憶レジスタk1と
排出球センサー2記憶レジスタk2の入力が共に1とな
ることはないので、排出球センサー2記憶レジスタk2
の入力なしとなり、ステップv6,ステップv8と経由
するので、レジスタXの値はX“01”であり、さら
に、排出球センサー1記憶レジスタk1の入力ありの場
合、前回の計数入力フラグCTの値が共に入力なしの状
態を検出した後でありX“00”であるので、計数入力
フラグCTの値がX“10”であることはない。また、
同様に、排出球センサー2記憶レジスタk2の入力あり
の場合に、計数入力フラグCTの値がX“01”である
こともない。なお、X“ ”で表わす値は、0ビット目
の値及び1ビット目の値を示している。
The discharge ball sensor 1 storage register k1
When the value of the count input flag CT is X “01”,
After passing through step v1, step v2, step v3, and step v4, the input of the discharge ball sensor 2 storage register k2 is determined, but the inputs of the discharge ball sensor 1 storage register k1 and the discharge ball sensor 2 storage register k2 are both 1. Since it does not happen, the discharge ball sensor 2 memory register k2
Since there is no input, and the process goes through step v6 and step v8, the value of the register X is X “01”, and when the discharge ball sensor 1 storage register k1 is also input, the value of the previous count input flag CT Are both X “00” after the state of no input is detected, the value of the count input flag CT is never X “10”. Also,
Similarly, when the discharge ball sensor 2 storage register k2 is input, the value of the count input flag CT is not X "01". The value represented by X "" indicates the value of the 0th bit and the value of the 1st bit.

【0137】ステップv8に移行したCPU30は、レ
ジスタXに格納されたの内容と計数入力フラグCTの値
が一致しているか否かを判別し(ステップv8)、一致
している場合には同じ状態を2度読んでいることとな
り、ステップv14に移行してレジスタYに計数入力な
しを規定する値0をセットしてステップd41にリター
ンする。
After shifting to step v8, the CPU 30 determines whether or not the contents of the register X and the value of the count input flag CT match (step v8), and if they match, the same state is determined. Is read twice, the process proceeds to step v14, the value 0 defining no count input is set in the register Y, and the process returns to step d41.

【0138】この結果、前回の球計数入力処理によって
計数入力が記憶され、今回の球計数入力処理によって同
じ排出球センサーが入力ありとなっている場合であって
も、重複することなしに球排出球センサーの入力ありが
検出される。このことは、球排出装置20の球排出が通
路61側と通路62側とで交互に球の排出が行われるこ
とから、同一の排出球センサーよりの入力が続けて起こ
り得ないので、読み込みミスの防止していることとな
る。
As a result, even if the count input is stored by the previous ball count input process and the same discharge ball sensor is input by the current ball count input process, the balls are discharged without duplication. Input of the sphere sensor is detected. This is because sphere discharge of the sphere discharge device 20 is performed alternately on the passage 61 side and the passage 62 side, and therefore input from the same discharge sphere sensor cannot continuously occur. Will be prevented.

【0139】また、ステップv8の判別処理において、
レジスタXに格納されたの内容と計数入力フラグCTの
値が一致していない場合には、CPU30は、レジスタ
Xの内容をレジスタYにコピーし(ステップv9)、レ
ジスタXの内容と計数入力フラグCTの値の排他的論理
和XORをとって演算結果をレジスタXに格納する(ス
テップv10)。この結果、前回及び今回の排出球セン
サー22と排出球センサー23の立ち上がりが検出され
ることとなる。
In the discrimination processing of step v8,
When the contents of the register X and the value of the count input flag CT do not match, the CPU 30 copies the contents of the register X to the register Y (step v9), and the contents of the register X and the count input flag. The exclusive OR XOR of the values of CT is taken and the operation result is stored in the register X (step v10). As a result, the preceding and present discharge ball sensor 22 and the discharge ball sensor 23 are detected to rise.

【0140】CPU30は、次いで、レジスタYの内容
を計数入力フラグCTの値にセットし(ステップv1
1)、レジスタXの内容とレジスタYの内容のANDを
とりレジスタXに演算結果を格納する(ステップv1
2)。
The CPU 30 then sets the content of the register Y to the value of the count input flag CT (step v1
1) The contents of the register X and the contents of the register Y are ANDed and the operation result is stored in the register X (step v1).
2).

【0141】ステップv12の処理後、CPU30は、
レジスタXの値が0であるか否か、即ち、球計数入力が
ないか否かを判別し(ステップv13)、判定結果が真
であれば、ステップv14に移行してレジスタYに計数
入力なしを規定する値0をセットする一方、ステップv
13の判定結果が偽であれば、計数入力ありを規定する
値1をレジスタYにセットして(ステップv15)、ス
テップd41にリターンする。
After the processing of step v12, the CPU 30
It is determined whether or not the value of the register X is 0, that is, whether or not there is a sphere counting input (step v13). If the determination result is true, the process proceeds to step v14 and there is no counting input in the register Y. While setting the value 0 that defines
If the determination result of 13 is false, the value 1 that defines the counting input is set in the register Y (step v15), and the process returns to step d41.

【0142】球計数入力処理を実行することにより、球
計数入力がある場合には、レジスタYに1がセットされ
る一方、球計数入力がない場合には、レジスタYには0
がセットされる。
By executing the sphere counting input process, 1 is set in the register Y when there is a sphere counting input, while 0 is stored in the register Y when there is no sphere counting input.
Is set.

【0143】CPU30は、ステップd40の処理後、
ステップd41に移行し、レジスタYの値が1となって
いるか否かを判別し(ステップd41)、判定結果が偽
ならば、即ち、球計数入力がない場合には、ステップd
34に移行して、球排出装置監視タイマT2の計時時間
が1サイクル時間に達したか否かを判別し(ステップd
34)、球排出装置監視タイマT2の計時時間が1サイ
クル時間に達していない場合には、ステップd35,ス
テップd36と経由するかまたはステップd35を経由
して、この周期の球排出制御処理を終了する一方、判定
結果が真で球計数入力がある場合には、ステップd42
に移行して、払出しカウンタC1の値を1つデクリメン
トし(ステップd42)、装置計数異常フラグE1を0
クリアし(ステップd43)、リトライカウンタRCを
0クリアし(ステップd44)、この周期の球排出制御
処理を終了する。
After the processing of step d40, the CPU 30
The process proceeds to step d41, and it is determined whether or not the value of the register Y is 1 (step d41). If the determination result is false, that is, if there is no ball count input, step d41.
34, it is determined whether or not the time measured by the ball discharge device monitoring timer T2 has reached one cycle time (step d
34), if the time measured by the ball discharge device monitoring timer T2 has not reached one cycle time, the ball discharge control process of this cycle is completed via step d35 and step d36 or via step d35. On the other hand, if the determination result is true and there is a sphere counting input, step d42
Then, the value of the payout counter C1 is decremented by 1 (step d42), and the device count abnormality flag E1 is set to 0.
It is cleared (step d43), the retry counter RC is cleared to 0 (step d44), and the ball ejection control process of this cycle is ended.

【0144】以下、CPU30は、球排出装置監視タイ
マT2の計時時間が1サイクル時間に達するまでの間、
球切れ異常フラグE2の値1に基づいて、ステップd
1,ステップd2,ステップd3,ステップd40の処
理と、計数入力がない場合及び既に計数入力がある場合
にはステップd41の判別処理において偽と判定される
ので、ステップd34に移行し、ステップd35,ステ
ップd36またはステップd35の処理を所定の処理周
期で繰り返し実行する。
Thereafter, the CPU 30 waits until the time measured by the ball discharging device monitoring timer T2 reaches one cycle time.
Based on the value 1 of the out-of-ball abnormality flag E2, step d
In the processing of 1, step d2, step d3, and step d40, and when there is no count input or when there is already count input, it is determined as false in the determination processing of step d41, so the process proceeds to step d34, and step d35, The processing of step d36 or step d35 is repeatedly executed at a predetermined processing cycle.

【0145】球排出装置監視タイマT2の計時時間が1
サイクル時間に達すると、CPU30は、ステップd3
4の判定結果を真と判定してステップd37に移行し、
排出装置制御処理フラグf4の値を0セットして初期化
し(ステップd37)、球切れ異常フラグE2の値を0
セットして初期化し(ステップd38)、この周期の球
排出制御処理を終了する。この時点で、フックソレノイ
ドSOL1の励磁開始からの1サイクルが終了する。
The time measured by the ball discharge device monitoring timer T2 is 1
When the cycle time is reached, the CPU 30 executes the step d3.
The determination result of 4 is determined to be true, the process proceeds to step d37,
The value of the discharge device control processing flag f4 is set to 0 for initialization (step d37), and the value of the out-of-ball abnormality flag E2 is set to 0.
It is set and initialized (step d38), and the ball ejection control process of this cycle is completed. At this point, one cycle from the start of excitation of the hook solenoid SOL1 ends.

【0146】球計数入力があった場合には、払出しカウ
ンタC1が1つデクリメントされると共にリトライカウ
ンタRCが0クリアされるが、球計数入力がない場合に
は、リトライカウンタRCの値は0クリアされず、払出
しカウンタC1の値もデクリメントされない。
When there is a ball counting input, the payout counter C1 is decremented by one and the retry counter RC is cleared to 0, but when there is no ball counting input, the value of the retry counter RC is cleared to 0. Therefore, the value of the payout counter C1 is not decremented.

【0147】次周期以降の球排出制御処理では、球切れ
異常フラグE2の値は0であり、排出装置制御処理フラ
グf4の値は0であるので、CPU30は、再び、ステ
ップd1,ステップd2,ステップd3,ステップd4
の判別処理後、ステップd5に移行し、1サイクル時間
の球の排出動作が再度開始されることとなる。
In the ball ejection control processing of the next period and thereafter, the value of the out-of-ball abnormality flag E2 is 0, and the value of the ejection device control processing flag f4 is 0. Therefore, the CPU 30 again executes the steps d1, d2, and d2. Step d3, Step d4
After the determination processing of No., the process proceeds to step d5, and the discharging operation of the balls for one cycle time is restarted.

【0148】そして、1サイクル時間の間に、正常に球
計数入力がある毎に、払出しカウンタC1が1つデクリ
メントされ、1サイクル時間の球の排出動作を繰り返し
実行することにより、所定個数の球が払い出される毎に
払出しカウンタC1の値が0となり、CPU30は、ス
テップd5の判別処理において、真と判定して、ステッ
プd45に移行し、フックソレノイドSOL1の励磁解
除指令を出力し(ステップd45)、払出中フラグe1
を0クリアし(ステップd46)、この周期のこの周期
の球排出制御処理を終了する。この場合には、メイン通
信処理及び賞品球払出し処理または貸球処理によって払
出しカウンタC1に設定された所定個数の球の払出しが
完了したこととなる。
Then, every time there is a normal ball count input during one cycle time, the payout counter C1 is decremented by one, and the discharging operation of the balls for one cycle time is repeatedly executed, whereby a predetermined number of balls are discharged. , The value of the payout counter C1 becomes 0, the CPU 30 determines true in the determination processing of step d5, shifts to step d45, and outputs the excitation cancellation command of the hook solenoid SOL1 (step d45). , Paying flag e1
Is cleared to 0 (step d46), and the ball ejection control process of this cycle of this cycle is ended. In this case, the payout of the predetermined number of balls set in the payout counter C1 is completed by the main communication process and the prize ball payout process or the ball lending process.

【0149】なお、ステップd6の判別処理において、
払出しカウンタC1に異常な値が設定されている場合に
も、CPU30は、真と判定してステップd45に移行
し、フックソレノイドSOL1の励磁解除指令を出力
し、払出中フラグe1を0クリアし、この周期のこの周
期の球排出制御処理を終了する。
In the discrimination processing of step d6,
Even when the payout counter C1 is set to an abnormal value, the CPU 30 determines that the value is true, shifts to step d45, outputs an excitation cancellation command for the hook solenoid SOL1, and clears the payout flag e1 to 0. The sphere ejection control processing of this cycle of this cycle is ended.

【0150】また、1サイクル時間の間に、球計数入力
がない場合には、リトライカウンタRCの値は0クリア
されず、払出しカウンタC1の値もデクリメントされな
いので、1サイクル時間の球の排出動作を繰り返し実行
することにより、払出しカウンタC1の値は変わらず、
リトライカウンタRCの値がカウントアップし、上限値
10に達すると、CPU30は、ステップd7の判別処
理において、真と判定して装置計数異常フラグE1に1
をセットし(ステップd14)、ステップd8以降の処
理の実行して、この周期の球排出制御処理を終了する。
When there is no ball counting input during one cycle time, the value of the retry counter RC is not cleared to 0 and the value of the payout counter C1 is not decremented. Therefore, the ball discharging operation for one cycle time is performed. By repeatedly executing, the value of the payout counter C1 does not change,
When the value of the retry counter RC counts up and reaches the upper limit value 10, the CPU 30 determines true in the determination processing of step d7 and sets 1 to the device count abnormality flag E1.
Is set (step d14), the processes after step d8 are executed, and the ball ejection control process of this cycle is ended.

【0151】また、1サイクル時間の間に、球計数入力
がない場合には、ソレノイドカウンタC2の値がステッ
プd32の処理によって1つデクリメントされるのに対
してて払出しカウンタC1の値がデクリメントされない
ことにより、払出しカウンタC1が0となる前にソレノ
イドカウンタC2の値が0に達する。この場合には、C
PU30は、ステップd8の判別処理において、真と判
定してステップd12に移行し、払出しカウンタC1の
現在値をソレノイドカウンタC2にコピーし(ステップ
d12)、リトライフラグRTに1をセットし(ステッ
プd13)、再度、払出しカウンタC1の値が0となる
まで1サイクル時間の球の排出動作を実行する。
When there is no ball counting input during one cycle time, the value of the solenoid counter C2 is decremented by 1 in the process of step d32, whereas the value of the payout counter C1 is not decremented. As a result, the value of the solenoid counter C2 reaches 0 before the payout counter C1 reaches 0. In this case, C
In the determination processing of step d8, the PU 30 determines true, moves to step d12, copies the current value of the payout counter C1 to the solenoid counter C2 (step d12), and sets 1 to the retry flag RT (step d13). ), The ball discharging operation for one cycle time is executed again until the value of the payout counter C1 becomes zero.

【0152】次に、ステップd18の判定結果におい
て、装置球有り記憶レジスタP5の値が球なし状態を規
定する値0であると判定された場合、即ち、入力処理に
よって球排出装置20内の通路61,62の球なし状態
が検出された場合には、CPU30は、ステップd27
に移行することとなり、CPU30は、パラメータt2
に設定される所定値b、即ち、ステップd9において設
定されたフックソレノイドSOL1の励磁前に装置球有
り記憶レジスタP5の値が球なし状態を規定する値0と
なっている場合に、球なし状態となっているか否かを判
定するために球排出装置監視タイマT2と比較される時
間とタイマT2を比較して(ステップd27)、タイマ
T2の計時時間がパラメータt2に設定された値bに達
していなければ、この周期の球排出装置制御処理を終了
する。
Next, in the determination result of step d18, when it is determined that the value of the device ball storage register P5 is the value 0 which defines the no-ball state, that is, the passage in the ball ejecting device 20 by the input process. When the ball-free state of 61, 62 is detected, the CPU 30 executes step d27.
The CPU 30 shifts to the parameter t2.
When the predetermined value b set in step S9, that is, the value in the device ball existence storage register P5 before the excitation of the hook solenoid SOL1 set in step d9 is 0 which defines the ball absence state, In order to determine whether or not the time is compared with the time measured by the ball discharging device monitoring timer T2 and the timer T2 (step d27), the time measured by the timer T2 reaches the value b set in the parameter t2. If not, the ball discharging device control processing of this cycle is ended.

【0153】次周期以降の球排出装置制御処理におい
て、排出装置制御処理フラグf4の値は1であるので、
CPU30は、球排出装置監視タイマT2の値がパラメ
ータt2に設定されている値bに達するまでの間、ステ
ップd1,ステップd2,ステップd3,ステップd
4,ステップd17の判別処理とステップd18の判別
処理において装置球有り記憶レジスタP5の値が0であ
れば、ステップd27の判別処理を所定周期で繰り返し
実行する。
In the ball ejecting device control process after the next cycle, the value of the ejecting device control processing flag f4 is 1, so that
The CPU 30 performs steps d1, step d2, step d3, and step d3 until the value of the ball ejection device monitoring timer T2 reaches the value b set in the parameter t2.
4. If the value of the device ball existence storage register P5 is 0 in the discrimination processing of step d17 and the discrimination processing of step d18, the discrimination processing of step d27 is repeatedly executed at a predetermined cycle.

【0154】そして、球排出装置監視タイマT2の値が
パラメータt2に設定されている値bに達するまでの間
に、装置球有り記憶レジスタP5の値が1とならない場
合には、CPU30は、ステップd27の判別処理の判
定結果が真となり、ステップd28に移行して、装置球
切れ異常フラグE3に1をセットし(ステップd2
8)、この周期の球排出装置制御処理を終了する。
If the value of the device ball storage register P5 does not become 1 before the value of the ball discharging device monitoring timer T2 reaches the value b set in the parameter t2, the CPU 30 executes the step The determination result of the determination process of d27 becomes true, the process proceeds to step d28, and 1 is set to the device ball out abnormality flag E3 (step d2
8) Then, the ball discharging device control processing of this cycle is ended.

【0155】また、この間に、装置球有り記憶レジスタ
P5の値が1となる場合には、ステップd19以降の処
理に移行し、パラメータt2に1サイクル時間として5
0msが設定されることとなる。
If the value of the device ball storage register P5 becomes 1 during this period, the process proceeds to step d19 and thereafter, and the parameter t2 is set to 5 as one cycle time.
0 ms will be set.

【0156】次に、ステップs2の球排出装置異常処理
について説明する。ステップs1の球排出装置制御処理
において、装置球切れ異常フラグE3の値が1となる場
合には、球排出装置異常処理が開始される。CPU30
は、装置球切れ異常フラグE3の値が1であるか否かを
判別し(ステップq10)、判定結果が偽であれば、球
排出装置異常処理を実行せず、メインルーチンへリター
ンする一方、判定結果が真であれば、装置球有り記憶レ
ジスタP5の値が1であるか否か、即ち、球有りとなっ
ているか否かを判別し(ステップq11)、この場合に
は偽と判定し、パラメータt5に所定値eを設定し(ス
テップq12)、球有りタイマT5を作動し(ステップ
q13)、経過時間の測定を開始して、この周期の球排
出装置異常処理を終了する。
Next, the ball discharge device abnormality processing in step s2 will be described. In the ball ejection device control process of step s1, if the value of the device ball out abnormality flag E3 is 1, the ball ejection device abnormality process is started. CPU30
Determines whether or not the value of the device ball out abnormality flag E3 is 1 (step q10). If the determination result is false, the ball discharging device abnormality process is not executed, and the process returns to the main routine. If the determination result is true, it is determined whether or not the value of the device sphere presence storage register P5 is 1, that is, whether or not there is a sphere (step q11). In this case, it is determined to be false. , A predetermined value e is set to the parameter t5 (step q12), the timer T5 with a ball is operated (step q13), the elapsed time is started to be measured, and the ball ejection device abnormality process of this cycle is ended.

【0157】次周期以降の球排出装置制御処理におい
て、CPU30は、装置球切れ異常フラグE3の値が1
であるので、ステップq10,ステップq11の判別処
理と、ステップq12及びステップq13の処理を所定
周期で繰り返し実行する、そして、球排出装置20の通
路61,62にパチンコ球が供給されることにより装置
球有り記憶レジスタP5の値が1となると(ステップq
11)、CPU30は、球有りタイマT5の経過時間が
パラメータt5に達したか否かを判別し(ステップq1
4)、球有りタイマT5の経過時間がパラメータt5に
達していない場合には、この周期の球排出装置異常処理
を終了する。
In the ball ejecting device control processing in the next period and thereafter, the CPU 30 determines that the value of the device ball out abnormality flag E3 is 1
Therefore, the determination processing of steps q10 and q11 and the processing of steps q12 and q13 are repeatedly executed at a predetermined cycle, and the pachinko balls are supplied to the passages 61 and 62 of the ball discharging device 20. When the value of the storage register P5 with sphere becomes 1 (step q
11), the CPU 30 determines whether or not the elapsed time of the sphere timer T5 has reached the parameter t5 (step q1).
4) If the elapsed time of the sphere present timer T5 has not reached the parameter t5, the sphere ejection device abnormality processing of this cycle is ended.

【0158】次周期以降の球排出装置異常処理では、C
PU30は、球有りタイマT5の経過時間がパラメータ
t5に達するまでの間、ステップq10,ステップq1
1,ステップq14の判別処理を所定周期で繰り返し実
行し、球有りタイマT5の経過時間がパラメータt5に
達すると(ステップq14)、装置球切れ異常フラグE
3の値を0クリアし(ステップq15)、球排出装置制
御処理を終了する。
In the ball discharging device abnormality processing after the next cycle, C
The PU 30 performs steps q10 and q1 until the elapsed time of the sphere timer T5 reaches the parameter t5.
1, the determination process of step q14 is repeatedly executed at a predetermined cycle, and when the elapsed time of the ball presence timer T5 reaches the parameter t5 (step q14), the device ball out abnormality flag E
The value of 3 is cleared to 0 (step q15), and the ball discharging device control process is ended.

【0159】以上、メインルーチンにおける各処理につ
いて説明したが、本実施例では、まず、遊技盤の各入賞
等の動作の制御に係る制御装置によって、賞品球の払出
し条件成立と判定して出力された払出し信号1と払出し
信号1を出力している間に出力された、各別の入賞に対
応する賞品球を払い出すための払出し個数に対応した払
出し信号2とを入力処理によって入力し、メイン通信処
理において、払出し信号1の入力が検出されていること
を条件に、払出し信号2の入力が検出される毎に最大払
出し個数より払出し信号2の検出回数を減算し、払出し
信号1の入力オフの検出時に減算結果を払出し個数とし
て設定する。
Although the respective processes in the main routine have been described above, in the present embodiment, first, the control device relating to the control of the operation such as each winning of the game board determines that the condition for paying out the prize balls is satisfied and is output. The payout signal 1 and the payout signal 2 corresponding to the number of payouts for paying out the prize balls corresponding to each different winning, which are output while the payout signal 1 is being output, are input by the input processing, and the main In the communication process, on condition that the input of the payout signal 1 is detected, the detection number of the payout signal 2 is subtracted from the maximum payout number each time the input of the payout signal 2 is detected, and the input of the payout signal 1 is turned off. When the is detected, the subtraction result is set as the payout number.

【0160】球排出装置20の払出し動作においては、
1回の払出しに要する時間が固定的であるため、即ち、
実施例の球排出装置の場合には、15msを要するた
め、例えば、最大払出し個数15個を払い出すための時
間が、50ms×15個なので750msを要するた
め、払出し個数に対応させて払出し指令及び払出し個数
を設定するために要する通信時間を変化させることによ
り、即ち、払出し信号1のオンを検出してから払出し信
号1のオフとなるまでに要する時間を払出し個数の多い
ときには、払出し信号1の出力時間を短くし、払出し個
数が少ない時には払出し信号1の出力時間を長くし、払
出し信号1が入力が検出されている間に払出し個数を算
出し、また、払出し個数が最大払出し個数である場合に
は、払出し信号2の出力をしないようにして、払出し信
号1の出力時間によって遊技盤の各入賞等の動作の制御
に係る制御装置との通信処理にかかる時間を短縮し、賞
品球払い出し検出より球の払出し終了までの必要時間を
一定時間内に完了させるようにする。
In the dispensing operation of the ball discharging device 20,
Because the time required for one payout is fixed, that is,
In the case of the ball discharging device of the embodiment, it takes 15 ms. For example, since the time for paying out the maximum payout number of 15 is 50 ms × 15, it takes 750 ms. By changing the communication time required for setting the number of payouts, that is, when the number of payout signals 1 is large when the number of payout signals 1 is OFF after the turn-on of the payout signal 1 is detected. When the output time is short, the output time of the payout signal 1 is long when the payout number is small, the payout number is calculated while the input of the payout signal 1 is detected, and the payout number is the maximum payout number. , The payout signal 2 is not output, and communication with a control device for controlling operations such as winning of each prize on the game board is performed depending on the output time of the payout signal 1. To save time during the process, the necessary time from the prize balls paid out detected until payout completion of the sphere so as to be completed within a certain time.

【0161】[0161]

【発明の効果】本発明のパチンコ機における球の払出し
制御装置は、遊技盤に配設された各別の入賞球検出スイ
ッチによる入賞球検出に対応する賞品球の払い出し条件
成立に対応して出力される第1の払い出し制御信号と、
第1の払い出し制御信号に対応して各別の異なる球数の
賞品球を払い出すための払い出し球数として出力される
第2の払い出し制御信号と、第1及び第2の払い出し信
号を受け、パチンコ機本体枠側において、賞品球払い出
し検出スイッチの入力検出に応じて所定個数の球の払い
出しを行う球排出装置を作動させる制御手段とにより、
第1の払い出し制御信号によって賞品球の払出し動作を
指令すると共に、第2の払い出し制御信号によって各別
の異なる球数の賞品球を払い出すための払い出し球数を
指令し、制御手段が第1及び第2の払い出し信号を受
け、賞品球払い出し検出スイッチの入力検出に応じて所
定個数の球の払い出しを行うので、第1の払い出し制御
信号の有無によって賞品球の払い出し処理タイミングが
検出できるので、その他の並列的に行われる処理を合理
的に時間的に無駄なく行うことができると共に、第1の
払い出し制御信号の入力ありを検出してから、第2の払
い出し制御信号によって払い出し球数を算出し、第1の
払い出し制御信号の入力なしの検出を以て払い出し球数
を設定するので、払出し個数の設定が容易に正確に行う
ことができる。
The ball payout control device in the pachinko machine of the present invention outputs the prize ball payout conditions corresponding to the prize ball detection by the different prize ball detection switches provided on the game board. A first payout control signal,
Receiving a second payout control signal output as the number of payout balls for paying out prize balls having different numbers of different balls corresponding to the first payout control signal, and the first and second payout signals, On the frame side of the pachinko machine body, by the control means for activating the ball discharging device for discharging a predetermined number of balls according to the input detection of the prize ball discharging detection switch,
The first payout control signal instructs the payout operation of the prize balls, and the second payout control signal commands the payout ball number for paying out different prize balls having different numbers of balls. And a second payout signal, the predetermined number of balls are paid out in response to the input detection of the prize ball payout detection switch. Therefore, the prize ball payout processing timing can be detected depending on the presence or absence of the first payout control signal. Other processes that are performed in parallel can be performed reasonably and without waste, and the number of payout balls is calculated by the second payout control signal after detecting the presence of the first payout control signal. However, since the number of payout balls is set by detecting the absence of input of the first payout control signal, the number of payout balls can be set easily and accurately.

【0162】また、カード処理情報処理手段が接続さ
れ、カード処理情報処理手段よりの入力信号に応じて球
排出装置を作動して所定の貸球払い出し動作を行う貸球
処理手段が設けられいることにより、カード式パチンコ
機においても適用でき、貸球要求に対する所定個数の貸
球の払い出しも行うことができる。
Further, the card processing information processing means is connected, and there is provided ball rental processing means for operating the ball discharging device in accordance with an input signal from the card processing information processing means to perform a predetermined ball rental payout operation. Thus, the present invention can be applied to a card-type pachinko machine, and a predetermined number of balls can be paid out in response to a ball rental request.

【0163】さらに、第1の払い出し制御信号の出力時
間を制限し、制御手段が、賞品球払い出し検出スイッチ
の入力検出から開始され、第2の払い出し制御信号の検
出及び球排出装置の作動制御を完了するまでの払い出し
動作時間を一定時間以内としたので、賞品球の払出しが
払出し個数の多い少ないに関係なく一定時間以内に処理
を終えることができ、連続的に入賞が発生して賞品球の
払出しが連続的になっても、一定の時間間隔で払出し処
理タイミングを計ることができる。
Further, the output time of the first payout control signal is limited, and the control means starts from the detection of the input of the prize ball payout detection switch, detects the second payout control signal and controls the operation of the ball discharge device. Since the payout operation time until completion is within a fixed time, regardless of whether the number of payout balls is large or small, the processing can be completed within a fixed time, and continuous winning occurs and the prize balls Even when the payout is continuous, the payout processing timing can be measured at a constant time interval.

【0164】さらにまた、制御手段が、第2の払い出し
信号の検出回数を予め定められた賞品球の最大払い出し
個数より減算して球排出装置の払い出し個数として設定
するので、球排出装置の球の払い出し動作時間が固定的
で時間を要するために払出し個数が多い場合には、第2
の払い出し信号の検出に要する時間が短くなり、球排出
装置が球の払い出しに要する時間がかかっても、一定時
間以内に払い出し処理を終えることができ、払出し個数
が少ない場合には、第2の払い出し信号の検出に要する
時間がかかっても、球排出装置の球の払い出し動作時間
が短いので、一定時間以内に払い出し処理を終えること
ができる。
Furthermore, the control means subtracts the number of detections of the second payout signal from the predetermined maximum payout number of the prize balls and sets it as the payout number of the ball ejecting device. If the number of payouts is large because the payout operation time is fixed and takes time, the second
Even if the time required to detect the payout signal is shortened and the ball discharging device takes time to pay out the balls, the payout process can be completed within a certain time, and if the number of payouts is small, the second Even if it takes a long time to detect the payout signal, the payout operation time of the ball of the ball ejecting device is short, so that the payout process can be completed within a predetermined time.

【0165】また、制御手段が、第2の払い出し信号の
検出動作を2回行って第2の払い出し信号の有無を判定
するので、信号の誤り検出による払出しミスを防止する
ことができる。
Further, since the control means performs the detection operation of the second payout signal twice to judge the presence or absence of the second payout signal, it is possible to prevent the payout mistake due to the error detection of the signal.

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

【図1】本発明の実施例に係るカード式パチンコ機の要
部ブロック図
FIG. 1 is a block diagram of a main part of a card-type pachinko machine according to an embodiment of the present invention.

【図2】実施例におけるカード式パチンコ機の裏面図FIG. 2 is a back view of the card-type pachinko machine in the embodiment.

【図3】実施例における球排出装置の断面図FIG. 3 is a sectional view of a ball discharging device according to an embodiment.

【図4】実施例における球排出装置の別の断面図FIG. 4 is another sectional view of the ball discharging device according to the embodiment.

【図5】実施例における払い出し検出機構の正面図FIG. 5 is a front view of the payout detection mechanism in the embodiment.

【図6】実施例における制御基板における制御部とパチ
ンコ機本体側の制御部の関係を示すブロック図
FIG. 6 is a block diagram showing the relationship between the control unit of the control board and the control unit of the pachinko machine body in the embodiment.

【図7】実施例における賞品球払い出し信号と第1の払
い出し制御信号と第2の払い出し信号及び球排出装置の
動作タイミングとの関係を示すタイミングチャート
FIG. 7 is a timing chart showing the relationship among the prize ball payout signal, the first payout control signal, the second payout signal, and the operation timing of the ball discharging device in the embodiment.

【図8】球排出装置の払い出し動作を示す動作タイミン
グチャート
FIG. 8 is an operation timing chart showing a payout operation of the ball discharging device.

【図9】本発明の実施例に係るパチンコ機における球の
払い出し制御装置のCPUによる処理の概略を示すフロ
ー図
FIG. 9 is a flowchart showing an outline of processing by a CPU of a ball payout control device in a pachinko machine according to an embodiment of the present invention.

【図10】本発明の実施例に係るパチンコ機における球
の払い出し制御装置のCPUによる処理の一部を示すフ
ロー図
FIG. 10 is a flowchart showing a part of the processing by the CPU of the ball payout control device in the pachinko machine according to the embodiment of the present invention.

【図11】本発明の実施例に係るパチンコ機における球
の払い出し制御装置のCPUによるメイン通信処理の一
部を示すフロー図
FIG. 11 is a flowchart showing a part of main communication processing by the CPU of the ball payout control device in the pachinko machine according to the embodiment of the present invention.

【図12】図11のフロー図のつづきFIG. 12 is a continuation of the flowchart of FIG. 11.

【図13】図12のフロー図のつづきFIG. 13 is a continuation of the flowchart of FIG.

【図14】本発明の実施例に係るパチンコ機における球
の払い出し制御装置のCPUによる賞品球払出し処理を
示すフロー図
FIG. 14 is a flowchart showing prize ball payout processing by the CPU of the ball payout control device in the pachinko machine according to the embodiment of the present invention.

【図15】本発明の実施例に係るパチンコ機における球
の払い出し制御装置のCPUによる貸球処理を示すフロ
ー図
FIG. 15 is a flowchart showing a ball renting process by the CPU of the ball payout control device in the pachinko machine according to the embodiment of the present invention.

【図16】本発明の実施例に係るパチンコ機における球
の払い出し制御装置のCPUによる処理の一部を示すフ
ロー図
FIG. 16 is a flowchart showing a part of processing by the CPU of the ball payout control device in the pachinko machine according to the embodiment of the present invention.

【図17】本発明の実施例に係るパチンコ機における球
の払い出し制御装置のCPUによる球排出装置制御処理
の一部を示すフロー図
FIG. 17 is a flowchart showing a part of a ball ejection device control process by the CPU of the ball payout control device in the pachinko machine according to the embodiment of the present invention.

【図18】図17のフロー図のつづきFIG. 18 is a continuation of the flowchart of FIG.

【図19】図17のフロー図のつづき19 is a continuation of the flowchart of FIG.

【図20】図17のフロー図のつづきFIG. 20 is a continuation of the flowchart of FIG.

【図21】図17のフロー図のつづきFIG. 21 is a continuation of the flowchart of FIG.

【図22】図17のフロー図のつづき22 is a continuation of the flowchart of FIG.

【図23】本発明の実施例に係るパチンコ機における球
の払い出し制御装置のCPUによる球計数入力処理を示
すフロー図
FIG. 23 is a flowchart showing a ball count input process by the CPU of the ball payout control device in the pachinko machine according to the embodiment of the present invention.

【図24】本発明の実施例に係るパチンコ機における球
の払い出し制御装置のCPUによる球排出装置異常処理
を示すフロー図
FIG. 24 is a flowchart showing a ball ejection device abnormality process by the CPU of the ball payout control device in the pachinko machine according to the embodiment of the present invention.

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

1 パチンコ機本体 2 カードユニット 4 マイクロコンピユータ 5 CPU 6 ROM 7 RAM 8 スイッチ検出部 9 払い出し信号駆動部 11 基枠 20 球排出装置 21 枠制御基板 22 球検出センサー 23 球検出センサー 24 排出球センサー 25 排出球センサー 27 クロック回路 28 ウォッチドッグタイマリセット回路 29 球排出装置制御回路 30 CPU 31 ROM 32 RAM 33 スイッチ検出部 34 スイッチ検出部 35 球貸信号制御回路 36 ソレノイド駆動回路 37 払出し信号制御回路 38 モータ駆動回路 39 モータ駆動回路 40 球タンク 41 静電防止器 42 タンクレール 43 球ならし振り子 44 制御基板 45 基板収納ボックス 46 下皿口 47 防犯制御基板 48 発射装置制御基板 49 球切りカム 50 インタフェース基板(カードユニットインタフェ
ース) 51 確率モード設定スイッチ 52 設定表示LED 53 外部接続端子 54 外部接続端子 55 外部接続端子 56 外部接続端子 57 外部接続端子 58 外部接続端子 59 カードユニット係止部材 60 払い出し検出機構 61 通路 62 通路 63 軸 64 スプロケット 65 スプロケット 66 球体係合部 67 球体係合部 68 突部 69 突部 70 フック 71 フック 72 突部 73 突部 74 従動部材 75 連結杆 76 連結板 77 バネ 78 ケース SW1 球検出スイッチ SW2 球検出スイッチ SW3 球抜き操作検出スイッチ SW4 賞品球経路満タン検出スイッチ SW5 賞品球払い出し検出スイッチ SW6 入賞球検出スイッチ SW7 入賞球検出スイッチ M1 球切りモータ M2 発射モータ SOL1 フックソレノイド SOL2 玉抜きソレノイド
1 Pachinko machine main body 2 Card unit 4 Micro computer 5 CPU 6 ROM 7 RAM 8 Switch detection unit 9 Discharge signal drive unit 11 Base frame 20 Ball discharge device 21 Frame control board 22 Ball detection sensor 23 Ball detection sensor 24 Discharge ball sensor 25 Discharge Ball sensor 27 Clock circuit 28 Watchdog timer reset circuit 29 Ball discharge device control circuit 30 CPU 31 ROM 32 RAM 33 Switch detection unit 34 Switch detection unit 35 Ball lending signal control circuit 36 Solenoid drive circuit 37 Discharge signal control circuit 38 Motor drive circuit 39 Motor drive circuit 40 Ball tank 41 Antistatic device 42 Tank rail 43 Ball leveling pendulum 44 Control board 45 Board storage box 46 Lower plate mouth 47 Security control board 48 Launcher control board 49 Ball cutting cam 5 0 Interface board (card unit interface) 51 Probability mode setting switch 52 Setting display LED 53 External connection terminal 54 External connection terminal 55 External connection terminal 56 External connection terminal 57 External connection terminal 58 External connection terminal 59 Card unit locking member 60 Discharge detection Mechanism 61 Passage 62 Passage 63 Shaft 64 Sprocket 65 Sprocket 66 Sphere Engagement Part 67 Sphere Engagement Part 68 Protrusion 69 Protrusion 70 Hook 71 Hook 72 Protrusion 73 Protrusion 74 Driven Member 75 Connecting Rod 76 Connecting Plate 77 Spring 78 Case SW1 Ball detection switch SW2 Ball detection switch SW3 Ball removal operation detection switch SW4 Prize ball route full tank detection switch SW5 Prize ball payout detection switch SW6 Winning ball detection switch SW7 Winning ball detection switch M1 Ball cutting mode M2 firing motor SOL1 hook solenoid SOL2 ball cutting solenoid

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 遊技盤に配設された各別の入賞球検出ス
イッチによる入賞球検出に対応する賞品球の払い出し条
件成立に対応して出力される第1の払い出し制御信号
と、前記第1の払い出し制御信号に対応して各別の異な
る球数の賞品球を払い出すための払い出し球数として出
力される第2の払い出し制御信号と、前記第1及び第2
の払い出し信号を受け、パチンコ機本体枠側において、
賞品球払い出し検出スイッチの入力検出に応じて所定個
数の球の払い出しを行う球排出装置を作動させる制御手
段とよりなることを特徴とするパチンコ機における球の
払い出し制御装置。
1. A first payout control signal output in response to satisfaction of a payout condition of a prize ball corresponding to detection of a prize ball by a different prize ball detection switch provided on a game board, and the first payout control signal. Corresponding to the payout control signal, the second payout control signal output as the number of payout balls for paying out different prize balls of different numbers, and the first and second payout control signals.
On the frame side of the pachinko machine body,
A ball payout control device for a pachinko machine, comprising: a control means that operates a ball discharge device that pays out a predetermined number of balls in response to detection of an input of a prize ball payout detection switch.
【請求項2】 前記制御手段には、カード処理情報処理
手段が接続され、該カード処理情報処理手段よりの入力
信号に応じて前記球排出装置を作動して所定の貸球払い
出し動作を行う貸球処理手段が設けられたことを特徴と
する請求項1記載のパチンコ機における球の払い出し制
御装置。
2. A card processing information processing means is connected to the control means, and the ball discharging device is operated in response to an input signal from the card processing information processing means to perform a predetermined ball rental payout operation. The ball payout control device in a pachinko machine according to claim 1, further comprising a ball processing means.
【請求項3】 前記第1の払い出し制御信号は、入賞球
検出後の出力時間が制限されていることを特徴とする請
求項1又は2記載のパチンコ機における球の払い出し制
御装置。
3. The ball payout control device for a pachinko machine according to claim 1, wherein the first payout control signal has a limited output time after the winning ball is detected.
【請求項4】 前記制御手段は、前記賞品球払い出し検
出スイッチの入力検出から開始され、前記第2の払い出
し制御信号の検出及び前記球排出装置の作動制御を完了
するまでの払い出し動作時間を一定時間以内とすること
を特徴とする請求項1又は2又は3記載のパチンコ機に
おける球の払い出し制御装置。
4. The payout operation time is constant from the detection of the input of the prize ball payout detection switch to the detection of the second payout control signal and the completion of the operation control of the ball discharge device. The ball payout control device in a pachinko machine according to claim 1, 2 or 3, wherein the time is within the time.
【請求項5】 前記制御手段は、前記第2の払い出し信
号の検出回数を予め定められた賞品球の最大払い出し個
数より減算し、前記球排出装置の払い出し個数として設
定することを特徴とする請求項1又は2又は3又は4記
載のパチンコ機における球の払い出し制御装置。
5. The control means subtracts the number of detections of the second payout signal from a predetermined maximum payout number of prize balls, and sets the subtraction signal as the payout number of the ball ejecting device. Item 1 or 2 or 3 or 4 ball payout control device in the pachinko machine.
【請求項6】 前記制御手段は、前記第2の払い出し信
号の検出動作を2回行って前記第2の払い出し信号の有
無を判定することを特徴とする請求項1又は2又は3又
は4又は5記載のパチンコ機における球の払い出し制御
装置。
6. The control means performs the detection operation of the second payout signal twice to determine the presence or absence of the second payout signal, 1 or 2 or 3 or 4 or 5. A ball payout control device in the pachinko machine described in 5.
JP32764092A 1992-11-13 1992-11-13 Ball payout controller for card-type pachinko machines Expired - Lifetime JP3256299B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32764092A JP3256299B2 (en) 1992-11-13 1992-11-13 Ball payout controller for card-type pachinko machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32764092A JP3256299B2 (en) 1992-11-13 1992-11-13 Ball payout controller for card-type pachinko machines

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP31957999A Division JP3574600B2 (en) 1999-11-10 1999-11-10 Pachinko machine

Publications (2)

Publication Number Publication Date
JPH06142328A true JPH06142328A (en) 1994-05-24
JP3256299B2 JP3256299B2 (en) 2002-02-12

Family

ID=18201316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32764092A Expired - Lifetime JP3256299B2 (en) 1992-11-13 1992-11-13 Ball payout controller for card-type pachinko machines

Country Status (1)

Country Link
JP (1) JP3256299B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000107429A (en) * 1999-11-10 2000-04-18 Daiichi Shokai Co Ltd Ball delivery controller of pachinko game machine
US8950566B2 (en) * 1996-05-13 2015-02-10 Cummins Allison Corp. Apparatus, system and method for coin exchange

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6434390A (en) * 1987-07-30 1989-02-03 Sankyo Co Game machine
JPH03280978A (en) * 1990-01-30 1991-12-11 Sophia Co Ltd Pinball(japanese pinball) game machine
JPH03286790A (en) * 1990-04-03 1991-12-17 Sankyo Kk Pinball game machine
JPH04138190A (en) * 1990-09-29 1992-05-12 Heiwa Corp Pachinko (japanese pinball) game machine
JPH04288183A (en) * 1991-03-18 1992-10-13 Sophia Co Ltd Pinball machine
JPH05123443A (en) * 1991-11-01 1993-05-21 Heiwa Corp Japanese pin ball (pachinko) machine
JPH0716343A (en) * 1991-08-02 1995-01-20 Technical Advance:Kk Delivering apparatus for playing balls

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6434390A (en) * 1987-07-30 1989-02-03 Sankyo Co Game machine
JPH03280978A (en) * 1990-01-30 1991-12-11 Sophia Co Ltd Pinball(japanese pinball) game machine
JPH03286790A (en) * 1990-04-03 1991-12-17 Sankyo Kk Pinball game machine
JPH04138190A (en) * 1990-09-29 1992-05-12 Heiwa Corp Pachinko (japanese pinball) game machine
JPH04288183A (en) * 1991-03-18 1992-10-13 Sophia Co Ltd Pinball machine
JPH0716343A (en) * 1991-08-02 1995-01-20 Technical Advance:Kk Delivering apparatus for playing balls
JPH05123443A (en) * 1991-11-01 1993-05-21 Heiwa Corp Japanese pin ball (pachinko) machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8950566B2 (en) * 1996-05-13 2015-02-10 Cummins Allison Corp. Apparatus, system and method for coin exchange
JP2000107429A (en) * 1999-11-10 2000-04-18 Daiichi Shokai Co Ltd Ball delivery controller of pachinko game machine

Also Published As

Publication number Publication date
JP3256299B2 (en) 2002-02-12

Similar Documents

Publication Publication Date Title
JP6034904B2 (en) Game machine
JP6034908B2 (en) Game machine
JP2016179065A (en) Game machine
JP6280890B2 (en) Game machine
JP2016179084A (en) Game machine
JP2017039024A (en) Game machine
JPH06142328A (en) Ball discharge control device for pinball machine
JP6255362B2 (en) Game machine
JP3574600B2 (en) Pachinko machine
JP3321213B2 (en) Pachinko machine
JP2016179074A (en) Game machine
JP6034903B2 (en) Game machine
JP6034906B2 (en) Game machine
JP2017225849A (en) Game machine
JP2016179066A (en) Game machine
JP3855131B2 (en) Card type pachinko machine
JP6034907B2 (en) Game machine
JP6600379B2 (en) Slot machine
JP6280973B2 (en) Game machine
JP2990387B2 (en) Card type pachinko machine
JP6034905B2 (en) Game machine
JPH05337239A (en) Prize ball controller in pachinko machine
JPH05337238A (en) Discharge prize number setting device in pachinko machine
JP2017205644A (en) Game machine
JP2017205646A (en) Game machine

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20101130

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121130

Year of fee payment: 11

EXPY Cancellation because of completion of term