JP4642040B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP4642040B2
JP4642040B2 JP2007104493A JP2007104493A JP4642040B2 JP 4642040 B2 JP4642040 B2 JP 4642040B2 JP 2007104493 A JP2007104493 A JP 2007104493A JP 2007104493 A JP2007104493 A JP 2007104493A JP 4642040 B2 JP4642040 B2 JP 4642040B2
Authority
JP
Japan
Prior art keywords
payout
motor
value
flag
game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007104493A
Other languages
Japanese (ja)
Other versions
JP2008259662A (en
Inventor
充宏 竹田
Original Assignee
株式会社藤商事
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社藤商事 filed Critical 株式会社藤商事
Priority to JP2007104493A priority Critical patent/JP4642040B2/en
Publication of JP2008259662A publication Critical patent/JP2008259662A/en
Application granted granted Critical
Publication of JP4642040B2 publication Critical patent/JP4642040B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、パチンコ機、アレンジボール機、雀球遊技機、回胴遊技機、その他遊技球や遊技メダルなどの遊技媒体を使用する遊技機に関し、特に、大量の払出をトラブルなく円滑に実現できる遊技機に関する。   The present invention relates to a pachinko machine, an arrangement ball machine, a sparrow ball game machine, a revolving game machine, and other game machines that use game media such as game balls and game medals, and in particular, can realize a large amount of payout smoothly without trouble. It relates to gaming machines.

例えば、弾球遊技機は、所定の入賞口に遊技球が入賞すると5〜15個程度の遊技球が払出される遊技機であり、払出された遊技球(賞球)が多いほど高価値の景品と交換できるようになっている。遊技球の払出には、例えば、左右の保持溝にそれぞれ複数の遊技球を保有可能な払出回転体が活用される。   For example, a bullet ball game machine is a game machine in which about 5 to 15 game balls are paid out when a game ball wins a predetermined winning opening, and the more game balls (prize balls) paid out, the higher the value. It can be exchanged for a free gift. For paying out the game balls, for example, a payout rotating body capable of holding a plurality of game balls in the left and right holding grooves is used.

このような払出回転体の回転軸には、払出モータとして例えばステッピングモータが接続され、この払出モータが所定角度ずつ間欠的に回転される結果、左右の保持溝から順番に遊技球が排出されるようになっている。なお、払出動作は、主制御基板から送信されてくる制御コマンドによって制御されており、必要なタイミングで必要な角度だけ、払出回転体が回転することによって実現されている(特許文献1)。
特開2004−41256号公報
For example, a stepping motor as a payout motor is connected to the rotation shaft of such a payout rotating body. As a result of intermittently rotating the payout motor by a predetermined angle, game balls are discharged in order from the left and right holding grooves. It is like that. The payout operation is controlled by a control command transmitted from the main control board, and is realized by rotating the payout rotating body at a necessary angle at a necessary angle (Patent Document 1).
JP 2004-41256 A

しかしながら、特許文献1に記載の発明では、如何なる場合にも、払出モータは、基準個数(例えば25個)以下の賞球動作しか実行できず、この点にやや問題があった。すなわち、遊技球の補給切れや、遊技機の下皿が満杯状態となるトラブルが生じた場合、これらが解消された後であっても、基準個数ずつしか遊技球が払い出されず、やや円滑性に欠けていた。   However, in the invention described in Patent Document 1, in any case, the payout motor can perform only a prize ball operation of a reference number (for example, 25) or less, and there is a problem in this respect. In other words, if a problem occurs when the supply of game balls is out of stock or the lower tray of the game machine is full, even after these are resolved, the game balls are paid out only by the reference number, which is somewhat smoother. It was missing.

例えば、遊技機が大当り状態であれば、大量の賞球が期待されるので、上記したトラブル時に蓄積される賞球数も相当量となる可能性が高く、これが、トラブル解消後に一気に問題なく払出される払出制御が強く望まれるところである。但し、払出動作の基準位置(ホームポジション)や、一気に払出す最大数は、正しく設定されているべきであり、無制限に大量の遊技球を払出すべきではない。   For example, if the gaming machine is in a big hit state, a large number of prize balls are expected, so there is a high possibility that the number of prize balls accumulated at the time of the above trouble will also be a considerable amount, which is paid out without any problems after the trouble is solved. The payout control to be performed is strongly desired. However, the reference position (home position) of the payout operation and the maximum number of payouts should be set correctly, and an unlimited amount of game balls should not be paid out.

また、払出モータの駆動トルクを高め、ホームポジションを精密に自動調整することができれば、大量の遊技球を一気に払出しても、球詰りなどのトラブルを確実に防止できる。   If the driving torque of the payout motor can be increased and the home position can be adjusted automatically and precisely, troubles such as ball clogging can be reliably prevented even if a large number of game balls are paid out at once.

本発明は、上記の着想に鑑みてなされたものであって、大量の払出時にも、必要数の遊技媒体を一気に問題なく払出せるよう工夫した遊技機を提供することを目的とする。また、駆動トルクを高めると共に、位置合せの精度を高めた遊技機を提供することを目的とする。   The present invention has been made in view of the above idea, and an object of the present invention is to provide a gaming machine devised so that a required number of game media can be paid out without any problem even when a large amount of money is paid out. It is another object of the present invention to provide a gaming machine with increased driving torque and increased positioning accuracy.

上記課題を解決するために、本発明は、遊技制御動作を中心統括的に担う主制御部と、主制御部から受ける払出指令に対応して遊技媒体の払出個数である全賞球数を増加させる一方、遊技媒体の払出処理を実行して、払出された遊技媒体の個数だけ全賞球数を減少させて、ゼロになるまで全賞球数を消化して払出指令を実行するサブ制御部と、を有する遊技機であって、サブ制御部が実行する遊技媒体の払出動作は、基準個数を超えない値に設定される払出単位数を一気に払出すべく払出装置を連続駆動し、この連続駆動を一回、又は間欠的に複数回実行し、各回の連続駆動を終える毎に、払出単位数に対応する遊技媒体が払出されたか否かを判定し、払出不足がない場合には、全賞球数を消化したとして払出処理を終了するか、或いは、次回の連続駆動に移行して残存する全賞球数を消化する正常動作と、遊技媒体の排出又は補給に関する異常時には、主制御部から受ける払出指令に対応して全賞球数を増加させる一方で、払出装置の動作を禁止する払出禁止動作と、全賞球数がゼロでない場合に、払出装置の動作禁止が解除されたことを条件に払出装置の駆動を開始して、1個の遊技媒体を払出した状態で払出装置を停止させるか、或いは、払出装置の動作禁止が解除されたことを条件に払出装置の駆動を開始して、1回の連続駆動の実行後の全賞球数がゼロでない場合には、更に1個の遊技媒体を払出した状態で払出装置を停止して、その停止位置をその後の払出動作の基準位置とする位置合せ動作と、位置合せ動作後の全賞球数がゼロでない場合には、上限値を超えない限り、残存する全賞球数を一気に払出すべく、払出装置の連続駆動を、連続的に必要回数実行する異常復帰動作と、を有して構成されているIn order to solve the above-mentioned problems, the present invention increases the total number of winning balls, which is the number of game media to be paid out , in response to a payout command received from the main control part and the main control part, which is centrally responsible for game control operations. On the other hand, a sub-control unit that executes a payout process of game media, reduces the total number of winning balls by the number of paid-out game media, and executes the payout command by digesting the total number of winning balls until it reaches zero In the gaming machine payout operation executed by the sub-control unit, the payout device is continuously driven so as to pay out the payout unit number set to a value not exceeding the reference number at once. When driving is performed once or intermittently several times, and each time continuous driving is completed, it is determined whether or not the game medium corresponding to the number of payout units has been paid out. The payout process is terminated because the number of winning balls has been consumed, or In the normal operation of digesting the remaining number of all winning balls by shifting to continuous driving, and in the abnormality related to the discharge or replenishment of game media, while increasing the number of all winning balls in response to a payout command received from the main control unit, , A payout prohibiting operation for prohibiting the operation of the payout device, and when the total number of winning balls is not zero, driving of the payout device is started on the condition that the prohibition of the operation of the payout device is released, and one game medium The payout device is stopped in a state where the payout has been paid out, or driving of the payout device is started on the condition that the prohibition of operation of the payout device is released, and the total number of winning balls after one continuous drive If it is not zero, the payout device is stopped in a state in which another game medium is paid out, and an alignment operation using the stop position as a reference position for the subsequent payout operation, and all prize balls after the alignment operation If the number is not zero, as long as the upper limit is not exceeded , In order to stretch the payout of the total number of prize balls remaining, the continuous drive of the dispensing device, and is configured to have, and the abnormal return operation to run continuously required number.

前記払出装置は、回転動作によって遊技媒体を払出す払出回転体と、前記払出回転体を駆動する払出モータとがギア接続されて構成されているのが好ましい。この場合、例えば、G≧2に設定されたG対1のギア比で、払出回転体と払出モータを接続することで、駆動トルクを高め、払出回転体の最小回転角を払出モータの最小回転角の1/G倍に精密化することができる。したがって、ホームポジションの位置決め精度をG倍に高めることができる上に駆動トルクも高いので、大量の賞球動作を一気に実行しても問題が生じない。   The payout device is preferably configured by gear-connecting a payout rotating body that pays out game media by a rotating operation and a payout motor that drives the payout rotating body. In this case, for example, by connecting the payout rotator and the payout motor at a G to 1 gear ratio set such that G ≧ 2, the driving torque is increased and the minimum rotation angle of the payout rotator is set to the minimum rotation of the payout motor. It can be refined to 1 / G times the angle. Therefore, the positioning accuracy of the home position can be increased by a factor of G and the driving torque is high, so that no problem occurs even if a large number of prize ball operations are executed at once.

また、前記第4手段は、上限値を超えない限り、そのタイミングにおける前記払出予定数に対応して前記払出装置を連続的に駆動するのが好ましい。この場合、上限値は、前記払出回転体の最小回転角と、前記払出回転体が遊技媒体を1個払出すに必要な基準回転角と、2,4,6・・・の偶数値nと、の関係から、(16−1)÷(基準回転角÷最小回転角)より小さい最大の整数値に設定されるのが好適である。 Further, it is preferable that the fourth means continuously drives the payout device corresponding to the number of payouts at the timing as long as the upper limit value is not exceeded. In this case, the upper limit value is the minimum rotation angle of the payout rotator, the reference rotation angle required for the payout rotator to pay out one game medium, and an even value n of 2, 4, 6. Therefore, it is preferable to set the maximum integer value smaller than (16 n −1) ÷ (reference rotation angle ÷ minimum rotation angle).

この場合、連続駆動によって払出し可能な上限値は、ほぼ(16−1)÷(基準回転角÷最小回転角)となるので、ワークエリアを無理なく使用して、多数の遊技媒体を問題なく一気に払出すことができる。典型的にはn=4であり、上限値LTを、LT≒65535÷Kに設定できる。なお、Kは、基準回転角÷最小回転角であり、典型的には4,8,16,32に何れかに設定される。本実施例ではK=16であるので、4095個までの遊技媒体であれば、一気に払出される。したがって、大当り状態の遊技機で、補給切れや下皿満杯状態となっても、それらのトラブルが解消されるまでに蓄積された大量の払出量が、一気に消化される。 In this case, the upper limit value that can be paid out by continuous driving is approximately (16 n −1) ÷ (reference rotation angle ÷ minimum rotation angle), so that a large number of game media can be used without any problems by using the work area without difficulty. You can pay out at once. Typically, n = 4, and the upper limit LT can be set to LT≈65535 / K. K is a reference rotation angle / minimum rotation angle, and is typically set to any of 4, 8, 16, and 32. In this embodiment, since K = 16, up to 4095 game media are paid out at a stretch. Therefore, even if the gaming machine is in a big hit state, even if the supply is out of supply or the lower plate is full, a large amount of payout accumulated until these troubles are solved can be consumed at once.

上記した本発明によれば、駆動トルクを高めると共に、位置合せの精度を高めた遊技機を実現することができる。また、大量の払出時にも、必要な遊技媒体を一気にトラブルなく払出すことができる。   According to the above-described present invention, it is possible to realize a gaming machine that increases the driving torque and the positioning accuracy. Further, even when a large amount of money is paid out, it is possible to pay out necessary game media at once without any trouble.

以下、実施例に基づいて本発明の実施形態を詳細に説明する。図1は、実施例に係るパチンコ機の全体回路構成を示すブロック図である。図中の破線は、主に、直流電圧ラインを示している。   Hereinafter, embodiments of the present invention will be described in detail based on examples. FIG. 1 is a block diagram illustrating an overall circuit configuration of a pachinko machine according to an embodiment. Broken lines in the figure mainly indicate DC voltage lines.

図示の通り、このパチンコ機は、AC24Vを受けて各種の直流電圧やシステムリセット信号SYSやRAMクリア信号CLRなどを出力する電源基板7と、遊技制御動作を中心統括的に担う主制御基板1と、主制御基板1から受けた制御コマンドCMD’に基づいてランプ演出及び音声演出を実行する演出制御基板2と、演出制御基板2から受けた信号を各部に伝送する演出インタフェイス基板3と、演出インタフェイス基板3から受けた制御コマンドCMD”に基づいて液晶ディスプレイDISPを駆動する液晶制御基板4と、主制御基板1から受けた制御コマンドCMDに基づいて払出モータMを制御して遊技球を払い出す払出制御基板5と、遊技者の操作に応答して遊技球を発射させる発射制御基板6とを中心に構成されている。   As shown in the figure, this pachinko machine has a power supply board 7 that receives 24 VDC and outputs various DC voltages, a system reset signal SYS, a RAM clear signal CLR, and the like, and a main control board 1 that is centrally responsible for game control operations. An effect control board 2 that executes a lamp effect and an audio effect based on a control command CMD ′ received from the main control board 1, an effect interface board 3 that transmits a signal received from the effect control board 2 to each part, and an effect The liquid crystal control board 4 that drives the liquid crystal display DISP based on the control command CMD "received from the interface board 3 and the payout motor M based on the control command CMD received from the main control board 1 are used to pay the game ball. The payout control board 5 to be taken out and the launch control board 6 for launching a game ball in response to the player's operation are mainly configured.

ここで、主制御基板1、演出制御基板2、液晶制御基板4、及び払出制御基板5には、ワンチップマイコンを備えるコンピュータ回路がそれぞれ搭載されている。そこで、主制御基板1、演出制御基板2、液晶制御基板4、及び払出制御基板5に搭載された回路、及びその回路によって実現される動作を機能的に総称して、本明細書では、主制御部1、演出制御部2、液晶制御部4、及び払出制御部5と言うことがある。なお、演出制御部2、液晶制御部4、及び払出制御部5の全部又は一部がサブ制御部である。   Here, the main control board 1, the production control board 2, the liquid crystal control board 4, and the payout control board 5 are each equipped with a computer circuit including a one-chip microcomputer. Therefore, in this specification, the main control board 1, the production control board 2, the liquid crystal control board 4, and the circuits mounted on the payout control board 5 and the operations realized by the circuits are generically named. It may be called the control part 1, the production control part 2, the liquid crystal control part 4, and the payout control part 5. Note that all or part of the effect control unit 2, the liquid crystal control unit 4, and the payout control unit 5 are sub-control units.

主制御部1は、払出制御部5に対して制御コマンドCMDを一方向に送信する一方、払出制御部5からは、遊技球の払出動作を示す賞球計数信号や、払出動作の異常に係わるステイタス信号CONを受信している。ステイタス信号CONには、例えば、補給切れ信号、払出不足エラー信号、下皿満杯信号が含まれる。   While the main control unit 1 transmits a control command CMD to the payout control unit 5 in one direction, the payout control unit 5 is associated with a prize ball count signal indicating a payout operation of game balls and an abnormality in the payout operation. The status signal CON is received. The status signal CON includes, for example, a replenishment signal, a payout shortage error signal, and a lower plate full signal.

この実施例の場合、制御コマンドCMDは、コマンドの種別を示すMODEデータと、具体的内容を特定するEVENTデータとが、それぞれ8ビット長で構成されている。そして、払出制御部5に伝送される制御コマンドCMDは、払出すべき遊技球の数を指示する賞球数指定コマンドと、払出動作の停止や再開を指示する動作指定コマンドとに大別され、賞球数指定コマンド(例えば、8A××H)は、EVENTデータ(=××H)によって賞球数を指定している。一方、動作指定コマンドには、払出停止コマンドと払出再開コマンドとが用意されている。   In the case of this embodiment, the control command CMD is composed of MODE data indicating the type of command and EVENT data for specifying specific contents, each having an 8-bit length. The control command CMD transmitted to the payout control unit 5 is roughly divided into a prize ball number specifying command for instructing the number of game balls to be paid out and an operation specifying command for instructing stop or restart of the payout operation. A prize ball number designation command (for example, 8AxxH) designates the number of prize balls by EVENT data (= xxH). On the other hand, a payout stop command and a payout restart command are prepared as the operation designation commands.

図示の通り、主制御部1と払出制御部5には、電源基板7から、直流5Vのバックアップ電源BUが供給されている。したがって、営業終了や停電により交流電源24Vが遮断された後も、ワンチップマイコン内部のRAMのデータは保持される。本実施例では、少なくとも数日は、RAMの記憶内容が保持されるよう設計されている。   As shown in the figure, a backup power supply BU of DC 5V is supplied from the power supply board 7 to the main control unit 1 and the payout control unit 5. Therefore, even after the AC power supply 24V is shut off due to the end of business or a power failure, the RAM data in the one-chip microcomputer is retained. In this embodiment, the storage contents of the RAM are designed to be retained for at least several days.

また、電源基板7は、交流電源24Vの遮断時に、主制御部1及び払出制御部5に、電圧降下信号ABNを出力するよう構成されている。電圧降下信号ABNは、この実施例では、各ワンチップマイコンの割込み端子ではなく、入力ポートに供給されている。そして、主制御部1及び払出制御部5では、フラグセンス方式によって、電圧降下信号ABNのレベル降下を把握した後、必要なデータをRAMに退避している。そのため、上記したバックアップ電源BUの作用とあいまって、主制御部1と払出制御部5では、営業開始時や停電からの復旧時に、電源遮断前の動作を再開できることになる。   Further, the power supply board 7 is configured to output a voltage drop signal ABN to the main control unit 1 and the payout control unit 5 when the AC power supply 24V is shut off. In this embodiment, the voltage drop signal ABN is supplied to the input port instead of the interrupt terminal of each one-chip microcomputer. The main control unit 1 and the payout control unit 5 grasp the level drop of the voltage drop signal ABN by the flag sense method, and then save necessary data in the RAM. Therefore, coupled with the operation of the backup power supply BU described above, the main control unit 1 and the payout control unit 5 can resume the operation before the power shutoff at the start of business or at the time of recovery from a power failure.

更にまた、電源基板7は、主制御部1と払出制御部5に対して、係員のスイッチ操作を示すRAMクリア信号CLRを出力している。このスイッチ操作は、主に電源投入時に実行されるが、バックアップ電源BUによって保持されているRAMの記憶内容を消去させるための操作である。したがって、各制御基板1,5では、RAMクリア信号CLRのレベルを判定することによって、係員によるスイッチ操作の有無を把握できることになる。   Furthermore, the power supply board 7 outputs a RAM clear signal CLR indicating an operator's switch operation to the main control unit 1 and the payout control unit 5. This switch operation is mainly performed when the power is turned on, but is an operation for erasing the stored contents of the RAM held by the backup power supply BU. Therefore, the control boards 1 and 5 can grasp the presence or absence of the switch operation by the staff by determining the level of the RAM clear signal CLR.

図2(a)は、払出制御基板5の周辺回路を図示したものである。図示の通り、払出制御部5は、電源基板7から直流電源電圧(バックアップ電源BUを含む)だけでなく、払出制御部5(ワンチップマイコン)のRAMをクリアするためのRAMクリア信号CLRと、交流電源の電圧降下を示す電圧降下信号ABNと、システムリセット信号SYSなどを受けている。   FIG. 2A illustrates a peripheral circuit of the payout control board 5. As shown in the drawing, the payout control unit 5 not only receives the DC power supply voltage (including the backup power supply BU) from the power supply board 7 but also the RAM clear signal CLR for clearing the RAM of the payout control unit 5 (one-chip microcomputer), A voltage drop signal ABN indicating a voltage drop of the AC power supply and a system reset signal SYS are received.

また、払出制御部5は、プリペイドカードユニット22とも接続され、球貸し動作に係わる各種の制御信号(BRDY,BRQ,EXS,PRDY)を送受している。そして、球貸し情報信号を外部に出力するようになっている。なお、払出制御部5は、プリペイドカードユニット22から直流電圧18Vを受けており、この電圧値を正常に受信できることを条件に、発射制御基板6に許可信号CTLを出力して発射動作を許可している。   The payout control unit 5 is also connected to the prepaid card unit 22, and transmits and receives various control signals (BRDY, BRQ, EXS, PRDY) related to the ball lending operation. The ball lending information signal is output to the outside. The payout control unit 5 receives the DC voltage 18V from the prepaid card unit 22 and outputs a permission signal CTL to the firing control board 6 on the condition that the voltage value can be normally received, thereby permitting the firing operation. ing.

払出制御部5は、遊技球の入賞に伴う賞球か、又はプリペイドカードで清算される貸し球として、所定数の遊技球を払出す必要がある。そこで、ステッピングモータたる払出モータMに4種類の駆動パルスデータΦ1〜Φ4を出力し(ユニポーラ2−2相励磁)、払出モータMの回転に伴って払出される遊技球を、左右の賞球計数スイッチRSW,LSWで検出するようにしている(図3(a)参照)。なお、図2(a)に示す通り、左右の賞球計数スイッチRSW,LSWの信号は、主制御基板1にも伝送されるようになっている。   The payout control unit 5 needs to pay out a predetermined number of game balls as a winning ball associated with a winning game ball or as a rental ball that is liquidated with a prepaid card. Therefore, four types of drive pulse data Φ1 to Φ4 are output to the payout motor M, which is a stepping motor (unipolar 2-2 phase excitation), and the game balls to be paid out as the payout motor M rotates are counted as left and right prize balls. Detection is performed by the switches RSW and LSW (see FIG. 3A). Note that, as shown in FIG. 2A, the signals of the left and right prize ball counting switches RSW and LSW are also transmitted to the main control board 1.

また、払出制御部5には、補給切れ状態や、下皿満杯状態を検出するスイッチ信号が供給されている。ここで、補給切れ状態とは、払出回転体RO(図3)の上流側から供給される遊技球が途絶え、賞球動作が事実上不可能となる状態を意味する。また、下皿満杯状態とは、払出回転体ROの下流側が一杯となり、それ以上の賞球が事実上不可能となる状態を意味する。   Further, the dispensing control unit 5 is supplied with a switch signal for detecting an out-of-supply state or a lower plate full state. Here, the out-of-supply state means a state in which a game ball supplied from the upstream side of the payout rotating body RO (FIG. 3) is interrupted and a winning ball operation is virtually impossible. Further, the lower plate full state means a state where the downstream side of the payout rotating body RO is full and no more prize balls are practically possible.

したがって、本実施例では、上記いずれの場合にも、その後の払出回転体ROの回転動作を禁止して(動作禁止状態)、異常状態が解消されるまで待機している。なお、補給切れ状態は自動的に解消されるか、係員の操作によって解消される。また、下皿満杯状態は、遊技者の操作によって解消される。   Therefore, in this embodiment, in any of the above cases, the subsequent rotation operation of the payout rotating body RO is prohibited (operation prohibited state), and is on standby until the abnormal state is resolved. It should be noted that the out-of-supply state is automatically canceled or is canceled by an operator's operation. Further, the lower plate full state is canceled by the player's operation.

図3は、払出モータMと払出回転体ROとの接続関係を詳細に図示したものである。図3(a)に示す通り、払出モータMの回転軸に設けられた駆動ギア20と、払出回転体ROに設けられた従動ギア22との間には、中間ギア21が設けられ、これら3つのギアが歯合することで、払出回転体ROが回転するよう構成されている。なお、払出回転体ROの回転軸には、係員が操作可能な操作軸23を突出させている。   FIG. 3 shows the connection relationship between the payout motor M and the payout rotating body RO in detail. As shown in FIG. 3A, an intermediate gear 21 is provided between the drive gear 20 provided on the rotating shaft of the payout motor M and the driven gear 22 provided on the payout rotating body RO. The payout rotating body RO is configured to rotate when the two gears mesh with each other. An operation shaft 23 that can be operated by a staff member is projected from the rotation shaft of the payout rotating body RO.

駆動ギア20と従動ギア22は、そのギア比が1対Gに設定されており(ここではG=2)、したがって、払出モータMの回転角度に対して、払出回転体ROの回転角度は1/G倍となる。また、本実施例では、中間ギア21を介して、駆動ギア20と従動ギア22を連結するので、払出モータMと払出回転体ROの回転方向を一致させることができると共に、払出モータMと払出回転体ROの配置位置を比較的自由に設定することができる。したがって、例えば、係員が操作軸23を回転させて球詰まりを解消させる場合にも、中間ギア21の直径分だけ、広い作業空間を使用することができる。なお、払出モータMと払出回転体ROは、操作軸23の方から見て、時計方向に回転する(図3(c)(d)参照)。   The gear ratio of the drive gear 20 and the driven gear 22 is set to 1 to G (here, G = 2). Therefore, the rotation angle of the payout rotating body RO is 1 with respect to the rotation angle of the payout motor M. / G times. In this embodiment, since the drive gear 20 and the driven gear 22 are connected via the intermediate gear 21, the rotation direction of the payout motor M and the payout rotating body RO can be matched, and the payout motor M and the payout The arrangement position of the rotator RO can be set relatively freely. Therefore, for example, even when the clerk rotates the operation shaft 23 to eliminate the ball clogging, a work space that is as large as the diameter of the intermediate gear 21 can be used. The payout motor M and the payout rotating body RO rotate clockwise as viewed from the operation shaft 23 (see FIGS. 3C and 3D).

本実施例では、払出モータMと払出回転体ROとを、1対Gのギア比でギア接続しているので、払出回転体ROの回転トルクを高めることができ、球詰まりを有効に防止することができる。また、払出回転体ROの最小回転角は、払出モータM(ステッピングモータ)の最小回転角(ステップ角)θの1/Gとなるので、払出動作における基準位置(ホームポジション)を、θ/Gごとに精密に調整することができる。本実施例では、大量の連続賞球時には、ホームポジションの位置合わせが自動的に実行されるが、この点については後述する。   In this embodiment, since the payout motor M and the payout rotating body RO are gear-connected at a gear ratio of 1 to G, the rotational torque of the payout rotating body RO can be increased and ball clogging is effectively prevented. be able to. Further, since the minimum rotation angle of the payout rotating body RO is 1 / G of the minimum rotation angle (step angle) θ of the payout motor M (stepping motor), the reference position (home position) in the payout operation is set to θ / G. Each can be adjusted precisely. In this embodiment, the home position is automatically aligned when a large number of consecutive winning balls are used, which will be described later.

図3(c)(d)に示す通り、本実施例では、払出回転体ROには、それぞれ遊技球3個を保有可能な120°間隔の保持溝が、半ピッチ60°ずれて左右に形成されている。この払出回転体ROの回転に伴い、保持溝に保持された遊技球は、払出回転体ROが60°回転する毎に、左右から交互に1個ずつ下方に放出される。この実施例では、払出モータMのステップ角が7.5°であるため、通常時には4mS毎に変化する駆動データΦ1〜Φ4が16ステップ出力されると、払出モータMが120°回転する。この時、払出回転体ROが60°回転することによって、1個の遊技球が払出されるよう設計されている。   As shown in FIGS. 3 (c) and 3 (d), in the present embodiment, the payout rotating body RO is formed with holding grooves at intervals of 120 [deg.] That can hold three game balls, shifted left and right by a half pitch of 60 [deg.]. Has been. Along with the rotation of the payout rotating body RO, the game balls held in the holding grooves are alternately released one by one from the left and right every time the payout rotating body RO rotates 60 °. In this embodiment, since the step angle of the payout motor M is 7.5 °, when the drive data Φ1 to Φ4 that change every 4 mS in normal times are output in 16 steps, the payout motor M rotates 120 °. At this time, it is designed so that one game ball is paid out when the payout rotating body RO is rotated by 60 °.

図5は、払出制御部5の内部構成を図示したものである。図示の通り、払出制御部5は、主制御部からの制御コマンドCMDを受ける入力バッファ10と、各種のスイッチ信号や制御信号を受ける第1入力ポート13と、第2入力ポート12と、Z80CPU相当品を内蔵するワンチップマイコン14と、入出力ポートのチップセレクト信号を生成するデコーダ15と、第1出力ポート16と、第2出力ポート17と、第1出力ポート16から受けた駆動信号を払出モータMに供給するトランジスタ群(オープンコレクタ)18とを中心に構成されている。   FIG. 5 illustrates the internal configuration of the payout control unit 5. As shown, the payout control unit 5 is equivalent to an input buffer 10 that receives a control command CMD from the main control unit, a first input port 13 that receives various switch signals and control signals, a second input port 12, and a Z80 CPU. Drive signal received from the first output port 16, the first output port 16, the second output port 17, and the decoder 15 that generates the chip select signal of the input / output port A transistor group (open collector) 18 supplied to the motor M is mainly configured.

図示の通り、第1入力ポート13には、賞球計数スイッチ、補給切れ検出スイッチ、及び、下皿満杯検出スイッチからのスイッチ信号が供給されている。また、第1入力ポート13には、電源基板7からの制御信号である、RAMクリア信号CLRと、電圧降下信号ABNも供給されている。なお、この実施例では、入力バッファ10、第1と第2の入力ポート12,13は、74541相当品のバスバッファで構成され、デコーダは、74138相当品で構成されている。また、出力ポート16,17は、74273相当品のD型フリップフロップで構成されている。   As shown in the figure, the first input port 13 is supplied with switch signals from a prize ball counting switch, a replenishment detection switch, and a lower plate full detection switch. The first input port 13 is also supplied with a RAM clear signal CLR and a voltage drop signal ABN, which are control signals from the power supply board 7. In this embodiment, the input buffer 10 and the first and second input ports 12 and 13 are constituted by 74541 equivalent bus buffers, and the decoder is constituted by 74138 equivalents. The output ports 16 and 17 are 74273 equivalent D-type flip-flops.

先に説明した通り、第2入力ポート12には主制御基板1からの制御コマンドCMDが伝えられるが、主制御基板1からは、制御コマンドCMDの伝送に合わせてストローブ信号STBが供給される。このストローブ信号STBは、CPUコアの割込み端子(maskable interrupt)に供給されるので、これに応じて、払出制御基板5では受信割込みルーチンが起動し、制御コマンドCMDを取得するようになっている。   As described above, the control command CMD from the main control board 1 is transmitted to the second input port 12, and the strobe signal STB is supplied from the main control board 1 in accordance with the transmission of the control command CMD. The strobe signal STB is supplied to an interrupt terminal (maskable interrupt) of the CPU core. Accordingly, the payout control board 5 starts a reception interrupt routine to acquire a control command CMD.

第1出力ポート16のbit3〜bit0からは、(Φ4,Φ3,Φ2,Φ1)=0101→0110→1010→1001→0101→・・・の駆動パルスデータが時間順次に払出モータMに出力される(図2(b)参照)。また、第1出力ポートのbit4にはLED駆動信号がエラー報知ランプERに出力され、bit7からは、不図示のウォッチドッグタイマ回路のクリア信号が所定時間毎に出力されるようになっている。 From the bit 3 to bit 0 of the first output port 16, drive pulse data of (Φ4, Φ3, Φ2, Φ1) = 0101 → 0110 → 1010 → 1001 → 0101 →. (See FIG. 2 (b)). Further, the bit4 of the first output port outputs the LED driving signal to the error notification lamp ER L, from bit7, clear signal of the watchdog timer circuit (not shown) are outputted at predetermined time intervals .

なお、第2出力ポート17のbit3からは、外部出力用の球貸し情報信号が出力され、bit6,bit7からはプリペイドカードユニット22に対して、制御信号PRDY,EXSが出力される。   A ball rental information signal for external output is output from bit 3 of the second output port 17, and control signals PRDY and EXS are output to the prepaid card unit 22 from bits 6 and 7.

図6は、図5に示す払出制御部5で実行されるプログラムを説明するフローチャートである。払出制御部5の動作は、概説すると、電源投入後に開始されて無限ループ処理で終わるメインルーチン(図6(a))と、主制御部1からのストローブ信号STBによって起動される受信割込み処理ルーチン(図6(b))と、一定時間(2mS)毎に開始されるタイマ割込みルーチン(図7(a))とで構成されている。なお、本実施例では、マスク不能のNMIルーチンは存在しない。   FIG. 6 is a flowchart for explaining a program executed by the payout control unit 5 shown in FIG. In summary, the operation of the payout control unit 5 is a main routine (FIG. 6A) that starts after power-on and ends with an infinite loop process, and a reception interrupt processing routine that is activated by a strobe signal STB from the main control unit 1. (FIG. 6 (b)) and a timer interrupt routine (FIG. 7 (a)) started every fixed time (2mS). In this embodiment, there is no non-maskable NMI routine.

図6(b)に示すように、受信割込みルーチンでは、第2入力ポート12から制御コマンドCMDを取得して、これをRAMのコマンドバッファ領域に格納した後(ST101)、CPUを割込み許可状態(EI)に設定して処理を終える(ST103)。   As shown in FIG. 6B, in the reception interrupt routine, the control command CMD is acquired from the second input port 12 and stored in the command buffer area of the RAM (ST101). EI) is set, and the process ends (ST103).

次に、メインルーチン(図6(a))の動作内容を説明する。電源基板7から電源電圧が供給されると共に、システムリセット信号SYSが供給されると、CPUは、自らを割込み禁止状態(DI)に設定した後(ST1)、ワンチップマイコン14各部の初期設定を行う(ST2)。この初期設定動作には、CPUのスタックポインタの初期設定も含まれ、スタックポインタは、LIFO方式のスタック領域の最底部を指すことになる。本実施例ではスタック領域のデータがバックアップ電源BUによって電源遮断後も維持されるが、ステップST2の処理によって、スタック領域が開放されることになる。   Next, the operation content of the main routine (FIG. 6A) will be described. When the power supply voltage is supplied from the power supply board 7 and the system reset signal SYS is supplied, the CPU sets itself to the interrupt disabled state (DI) (ST1), and then initializes each part of the one-chip microcomputer 14. Perform (ST2). This initial setting operation includes initial setting of the stack pointer of the CPU, and the stack pointer points to the bottom of the LIFO type stack area. In this embodiment, the data in the stack area is maintained by the backup power supply BU even after the power supply is cut off, but the stack area is released by the processing in step ST2.

次に、第1入力ポート13からのデータに基づき、電源基板7からRAMクリア信号CLRが供給されているか否かをチェックする(ST3)。この実施例では、遊技ホールの営業開始時であって、特に係員が電源基板7のRAMクリアスイッチをON操作した場合にはRAMクリア信号CLRが供給されるが、停電からの復旧時を含め、通常はRAMクリア信号CLRが供給されない。   Next, based on the data from the first input port 13, it is checked whether or not the RAM clear signal CLR is supplied from the power supply board 7 (ST3). In this embodiment, when the game hall is in operation, especially when the clerk turns on the RAM clear switch of the power supply board 7, the RAM clear signal CLR is supplied. Normally, the RAM clear signal CLR is not supplied.

そして、RAMクリア信号CLRが供給されない場合には、電源監視処理(図7(b))のステップST237の処理で記憶されるバックアップフラグBAKFLGの値をチェックする(ST4)。そして、BAKFLG=5AHであれば、次に、電源監視処理のステップST238の処理と同様のチェックサム演算を実行してサム値を算出し(ST5)、これが、RAM領域に記憶されているサム値と一致するか否かを確認する(ST6)。そして、メインルーチンで算出したサム値と、電源監視処理(ST23)で記憶されたサム値とが一致する場合には、電源遮断前の処理を再開できると思われるので、バックアップフラグBAKFLGをクリアした後(ST7)、CPUを割込み許可状態に設定して(ST10)、無限ループ処理を繰り返す。   If the RAM clear signal CLR is not supplied, the value of the backup flag BAKFLG stored in step ST237 of the power supply monitoring process (FIG. 7B) is checked (ST4). If BAKFLG = 5AH, next, the same checksum operation as that in step ST238 of the power monitoring process is executed to calculate the sum value (ST5), which is the sum value stored in the RAM area. (ST6). If the sum value calculated in the main routine matches the sum value stored in the power supply monitoring process (ST23), it is considered that the process before power-off can be resumed, so the backup flag BAKFLG is cleared. Later (ST7), the CPU is set to an interrupt enabled state (ST10), and the infinite loop process is repeated.

CPUが割込み許可状態になると、その後のタイマ割込みによって、図7に示す定期処理(ST82〜ST92)が実行されるが、ここまでの処理では、バックアップフラグBAKFLGを除いて、RAMの記憶内容は全く変更されていないので、その後は、電源遮断前の処理が正しく再開されることになる。   When the CPU enters the interrupt enabled state, the periodic processing (ST82 to ST92) shown in FIG. 7 is executed by the subsequent timer interrupt. In the processing so far, except for the backup flag BAKFLG, the stored contents of the RAM are completely Since no change has been made, the process before power-off is restarted correctly thereafter.

一方、(1)ステップST3の判定の結果、RAMクリア信号CLRがON状態であるか、(2)ステップST4の判定の結果、バックアップフラグが5AH以外の値であるか、或いは、(3)ステップST6のサムチェックで異常が認められた場合には、RAM領域が全てクリアされる(ST8)。   On the other hand, (1) as a result of the determination in step ST3, the RAM clear signal CLR is in an ON state, (2) as a result of the determination in step ST4, the backup flag is a value other than 5AH, or (3) step If an abnormality is recognized by the sum check in ST6, the entire RAM area is cleared (ST8).

そして、払出リトライフラグを5AHに設定した後(ST9)、CPUを割込み許可状態に設定して(ST10)、無限ループ処理を繰り返す。ステップST8の処理で、RAM領域が全てクリアされたことにより、その後は、図7に示すタイマ割込み処理によって、初期状態から動作が開始される。また、払出リトライフラグが5AHに設定されたことにより、最初の賞球動作の1個目は、動作ステイタス3の状態で実行される(なお、この点は更に後述する)。   Then, after setting the payout retry flag to 5AH (ST9), the CPU is set to the interrupt enabled state (ST10), and the infinite loop process is repeated. When all the RAM areas are cleared in the process of step ST8, the operation is started from the initial state by the timer interrupt process shown in FIG. In addition, since the payout retry flag is set to 5AH, the first prize ball motion is executed in the state of motion status 3 (this point will be further described later).

続いて、図7(a)に示すタイマ割込みルーチンについて説明する。このタイマ割込みルーチンは、メインルーチンの無限ループ処理を中断させて、一定時間毎(2mS)に実行される。   Next, the timer interrupt routine shown in FIG. This timer interrupt routine is executed at regular intervals (2 mS) by interrupting the infinite loop processing of the main routine.

タイマ割込みルーチンでは、最初に、割込み禁止状態(DI)になっているCPUを、割込み許可状態(EI)に戻す(ST82)。この処理の結果、タイマ割込み処理の間にも、図6(b)の受信割込みがかかり、主制御部1からの制御コマンドCMDは、読み落しなく取得されることになる。なお、この実施例では、メインルーチンの無限ループ処理では、CPUは、実質的には何の処理もしていないので、タイマ割込み時にCPUのレジスタを保存する必要はない。したがって、図7(a)のタイマ割込み処理の最初には、一群のPUSH命令が存在しないし、タイマ割込み処理の最後には、一群のPOP命令も存在しない。   In the timer interrupt routine, first, the CPU in the interrupt disabled state (DI) is returned to the interrupt enabled state (EI) (ST82). As a result of this process, the reception interrupt of FIG. 6B is also applied during the timer interrupt process, and the control command CMD from the main control unit 1 is acquired without being read out. In this embodiment, in the infinite loop processing of the main routine, the CPU does not substantially perform any processing, and therefore it is not necessary to save the CPU register at the time of timer interruption. Therefore, at the beginning of the timer interrupt process of FIG. 7A, there is no group of PUSH instructions, and at the end of the timer interrupt process, there is no group of POP instructions.

ステップST82の処理が終われば、次に、電源監視処理が実行される(ST83)。具体的には、図7(b)に示す通りであり、先ず、第1入力ポート13を通して、電圧降下信号ABNを取得し(ST230)、それが異常レベルでないか判定する(ST231)。そして、異常レベルでない場合には、異常回数カウンタをゼロクリアして処理を終える(ST232)。   When the process of step ST82 is completed, a power supply monitoring process is executed (ST83). Specifically, as shown in FIG. 7B, first, the voltage drop signal ABN is acquired through the first input port 13 (ST230), and it is determined whether or not it is an abnormal level (ST231). If it is not an abnormal level, the abnormal number counter is cleared to zero and the process ends (ST232).

一方、電圧降下信号が異常レベルである場合には、異常回数カウンタを+1して(ST233)、計数結果が上限値MAXを超えていないかを判定する(ST234)。これは、第1入力ポート13からの取得データが、ノイズなどの影響でビット化けしている可能性があることを考慮したものであり、所定回数(例えば、上限値MAX=5)連続して異常レベルを維持する場合には、交流電源が現に遮断されたと判定する。   On the other hand, if the voltage drop signal is at an abnormal level, the abnormal number counter is incremented by 1 (ST233), and it is determined whether the counting result exceeds the upper limit value MAX (ST234). This is because the data acquired from the first input port 13 may be garbled due to the influence of noise or the like, and continuously for a predetermined number of times (for example, the upper limit value MAX = 5). When the abnormal level is maintained, it is determined that the AC power supply is actually shut off.

このように、本実施例では、電源遮断時にも、直ぐにはバックアップ処理を開始せず、動作開始のタイミングが、(MAX−1)×2mSだけ遅れる。しかし、(1)電源降下信号ABNは、直流電源電圧の降下ではなく、交流直流電圧の降下を検出すること、(2)直流電源電圧は、大容量のコンデンサによって交流電源の遮断後もしばらくは維持されること、(3)電源監視処理が高速度(2mS毎)で繰り返されること、(4)バックアップ処理が極めてシンプルであり、迅速に終わることから、実質的には何の弊害もない。   Thus, in this embodiment, even when the power is shut off, the backup process is not started immediately, and the operation start timing is delayed by (MAX-1) × 2 mS. However, (1) the power drop signal ABN detects the drop of the AC DC voltage, not the drop of the DC power supply voltage, and (2) the DC power supply voltage is for a while after the AC power supply is cut off by the large capacity capacitor. It is maintained, (3) the power supply monitoring process is repeated at a high speed (every 2 ms), and (4) the backup process is extremely simple and finishes quickly, so there is virtually no adverse effect.

ところで、ステップST234の判定の結果、異常回数カウンタの計数値が上限値MAXに一致した場合には、その後の受信割込みを禁止するべく、先ず、CPUを割込み禁止状態に設定する(ST235)。次に、異常回数カウンタをゼロクリアした後(ST236)、バックアップフラグBAKFLGに5AHを設定する(ST237)。次に、メインルーチンのステップST5の場合と、全く同じ演算を、全く同じ作業領域(ワークエリア)に対して実行し、その演算結果を記憶する(ST238)。なお、実行される演算は、典型的には8ビット加算演算である。   By the way, as a result of the determination in step ST234, if the count value of the abnormal number counter coincides with the upper limit value MAX, the CPU is first set to the interrupt disabled state in order to prohibit the subsequent reception interrupt (ST235). Next, after the abnormality number counter is cleared to zero (ST236), 5AH is set to the backup flag BAKFLG (ST237). Next, the same calculation as in step ST5 of the main routine is executed for the same work area (work area), and the calculation result is stored (ST238). The operation to be executed is typically an 8-bit addition operation.

そして、その後はワンチップマイコンをRAMアクセス禁止状態に設定した後(ST239)、無限ループ処理を繰り返しつつ直流電源電圧が降下するのを待つ。なお、このタイミングでは、FILO(First in Last out)方式のスタック領域の頂上部には、サブルーチン(電源監視処理)の戻り番地である、データ入力処理の先頭番地(アドレスデータ)が格納されている。そして、このアドレスデータは、電源遮断後もバックアップ電源によって維持されるが、本実施例では、電源復帰後は、スタックポインタの値が初期状態に設定されることで(ST2)、スタック領域が開放され、したがって、電源遮断ごとにスタック領域が侵食されるおそれはない。   After that, the one-chip microcomputer is set to the RAM access prohibited state (ST239), and the DC power supply voltage is lowered while repeating the infinite loop process. At this timing, the head address (address data) of the data input process, which is the return address of the subroutine (power supply monitoring process), is stored at the top of the FILO (First in Last out) type stack area. . This address data is maintained by the backup power supply even after the power is shut off. In this embodiment, after the power is restored, the stack pointer value is set to the initial state (ST2), so that the stack area is released. Therefore, there is no possibility that the stack area is eroded every time the power is turned off.

この意味において、本実施例は、電源遮断時にCPUのスタックポインタの値を保存する必要がない利点がある。なお、電源復帰後のメインルーチンにおいて、ステップST6→ST7→ST10の経路を経た場合でも、その後は、タイマ割込みの最初の処理(ST82)から実行される。   In this sense, this embodiment has an advantage that it is not necessary to save the value of the CPU stack pointer when the power is turned off. In the main routine after the power is restored, even if the route of steps ST6 → ST7 → ST10 is passed, the timer interruption is first executed (ST82).

ところで、本実施例では、主制御部1も、同一のアルゴリズムで、割込み周期2mS毎に電源遮断の有無を監視している。そして、主制御部1における異常回数カウンタの上限値MAX’を、払出制御部5における上限値MAXより小さく設定することで、払出制御部5による制御コマンドCMDの読み落しを防止している。すなわち、交流電源の遮断後も、払出制御部5は、少なくとも(MAX−1)×2=8mS程度の時間は、CPUが割込み許可状態であるので(ST82及びST235参照)、それまでに、主制御部1が制御コマンドCMDの送信を終えることで(MAX’<MAX)、制御コマンドの消失を防止している。   By the way, in this embodiment, the main control unit 1 also monitors the presence / absence of power-off at every interrupt cycle 2 mS with the same algorithm. Then, the upper limit value MAX ′ of the abnormal number counter in the main control unit 1 is set smaller than the upper limit value MAX in the payout control unit 5, thereby preventing the payout control unit 5 from overwriting the control command CMD. That is, even after the AC power supply is cut off, the payout control unit 5 is in the interrupt-permitted state for at least (MAX-1) × 2 = 8 ms (see ST82 and ST235). When the control unit 1 finishes transmitting the control command CMD (MAX ′ <MAX), the loss of the control command is prevented.

例えば、図18に示す通りであり、主制御部1は、一回のタイマ割込み処理によって(言い換えると、2mSの時間内で)、EVENTとMODEからなる、16ビット長の制御コマンドCMD一個分の送信処理を終えている。また、主制御部1と払出制御部5のタイマ割込み信号は、そのパルス周期は同じであるが、互いに全く同期していないので、割込み信号のタイミングのズレと、電圧降下信号のズレ(伝達遅れ時間のズレを含む)とを考慮して、MAX’≦MAX−2に設定されている。   For example, as shown in FIG. 18, the main control unit 1 performs one timer interrupt process (in other words, within a time of 2 mS) for one control command CMD having a 16-bit length composed of EVENT and MODE. The transmission process has been completed. In addition, the timer interrupt signals of the main control unit 1 and the payout control unit 5 have the same pulse period but are not synchronized with each other at all, so that the timing of the interrupt signal differs from that of the voltage drop signal (transmission delay). MAX ′ ≦ MAX−2 is set in consideration of (including time deviation).

なお、主制御部1と払出制御部5のタイマ割込みの割込み周期を、必ずしも一致させる必要はなく、実際には、主制御部1のタイマ割込みの割込み周期を、払出制御部5のタイマ割込みの割込み周期(2mS)の整数倍に設定するのが好適である。但し、この場合も、払出制御部5の電源監視処理が遅れて起動されるよう構成することで、払出制御部5による制御コマンドCMDの読み落しを確実に防止できる。特に、各タイマ割込み処理中のほぼ同じタイミング(具体的には、タイマ割込み処理の先頭)で、電源監視処理を実行するのが効果的である。   It should be noted that the timer interrupt interrupt periods of the main control unit 1 and the payout control unit 5 do not necessarily coincide with each other. In practice, the timer interrupt interrupt period of the main control unit 1 is set to the timer interrupt of the payout control unit 5. It is preferable to set an integer multiple of the interrupt cycle (2 mS). However, also in this case, by configuring the power supply monitoring process of the payout control unit 5 to be delayed, it is possible to reliably prevent the payout control unit 5 from overwriting the control command CMD. In particular, it is effective to execute the power supply monitoring process at substantially the same timing during each timer interrupt process (specifically, at the beginning of the timer interrupt process).

以上、電源監視処理(ST83)について詳細に説明したので、続いて、ステップST84のデータ入力処理について説明する。データ入力処理は、主として、払出モータMの回転によって、遊技球が実際に払出されたか否かを確認するための処理である。   The power supply monitoring process (ST83) has been described in detail above. Next, the data input process in step ST84 will be described. The data input process is mainly a process for confirming whether or not the game ball is actually paid out by the rotation of the payout motor M.

データ入力処理(ST84)では、入力ポート13の8ビットデータを取得し、前回の取得値との対比によって信号レベルが変化したか否かを判定し、レベル変化が検出された場合には、エッジデータとして、RAM領域のワークエリアEDGに保存する。図6(c)に示す通り、賞球検出スイッチLSW,RSWからのスイッチ信号がレベル変化したこと(スイッチ信号が立上ったこと)が、ワークエリアEDGに記憶される。なお、ワークエリアLVLには、今回取得した賞球検出スイッチLSW,RSWからのスイッチ信号のビット反転データが保存され、次回のデータ入力処理において参照される。   In the data input process (ST84), 8-bit data of the input port 13 is acquired, it is determined whether the signal level has changed by comparison with the previous acquired value, and if a level change is detected, an edge is detected. The data is stored in the work area EDG in the RAM area. As shown in FIG. 6C, the fact that the level of the switch signal from the prize ball detection switches LSW and RSW has changed (the switch signal has risen) is stored in the work area EDG. In the work area LVL, the bit inversion data of the switch signal from the prize ball detection switches LSW and RSW acquired this time is stored and referred to in the next data input process.

このようにしてデータ入力処理(ST84)が終われば、次に、8bit長又は16bit長のタイマの減算処理(−1)が行われる(ST85)。なお、無限ループ処理が2mS毎に実行されることにより、減算タイマの1単位時間は2mSを意味する。   When the data input process (ST84) is completed in this way, the 8-bit or 16-bit timer subtraction process (-1) is performed (ST85). Note that one unit time of the subtraction timer means 2 mS by executing the infinite loop process every 2 mS.

タイマ減算処理が終われば、次に、受信割込み処理によって取得される制御コマンドの解析処理が行われる(ST86)。コマンド解析処理では、受信した制御コマンドCMDが賞球数指定コマンドであるか否かが判定される。そして、賞球数指定コマンドを受信した場合には、そのコマンドによって特定される賞球数を、RAMのワークエリアに設けられた全賞球数カウンタに加算する。なお、この賞球数カウンタの値は、賞球処理(ST89)におけるステップST25(図8)の処理で読み出され使用される。   When the timer subtraction process is completed, the control command obtained by the reception interrupt process is analyzed (ST86). In the command analysis process, it is determined whether or not the received control command CMD is a prize ball number designation command. When a prize ball number designation command is received, the prize ball number specified by the command is added to the total prize ball counter provided in the work area of the RAM. The value of the prize ball number counter is read and used in the process of step ST25 (FIG. 8) in the prize ball process (ST89).

次に、プリペイドカードユニット22との通信処理(ST87)と、プリペイドカードで清算される球貸し処理(ST88)とが実行される。そして、その後、賞球処理(ST89)と払出エラー処理(ST90)とモータ処理(ST91)とデータ出力処理(ST92)とが実行され、タイマ割込み処理が終わる。   Next, a communication process (ST87) with the prepaid card unit 22 and a ball lending process (ST88) cleared with the prepaid card are executed. Thereafter, prize ball processing (ST89), payout error processing (ST90), motor processing (ST91), and data output processing (ST92) are executed, and the timer interrupt processing ends.

モータ処理(ST91)は、払出モータMを回転させるための準備処理であり、具体的には、払出モータM用の駆動データ(Φ1〜Φ4)を生成してワークエリアMOOUT番地に格納している。一方、データ出力処理(ST92)は、前記した駆動データを含む各種のデータを、第1と第2の出力ポート16,17から出力する処理である。   The motor process (ST91) is a preparation process for rotating the payout motor M. Specifically, drive data (Φ1 to Φ4) for the payout motor M is generated and stored in the work area MOOUT address. . On the other hand, the data output process (ST92) is a process for outputting various types of data including the drive data described above from the first and second output ports 16 and 17.

また、賞球処理(ST89)は、賞球の払出数を管理する処理であり、コマンド解析処理(ST86)によって更新された全賞球数カウンタの値に基づいて払出数を決定し、データ出力処理(ST92)によって払出モータMを回転させると共に、データ入力処理(ST84)で把握される遊技球の払出し状態を参照して払出モータMの動作終了タイミングなどを決定している。   The prize ball process (ST89) is a process for managing the number of prize balls to be paid out. The prize ball number is determined based on the value of the total prize ball counter updated by the command analysis process (ST86), and the data output is performed. The payout motor M is rotated by the process (ST92), and the operation end timing of the payout motor M is determined by referring to the payout state of the game ball grasped by the data input process (ST84).

賞球処理(ST89)とモータ処理(ST91)の説明に先立って、図14に基づいてデータ出力処理(ST92)から説明する。データ出力処理では、先ず、モータ処理ST91(詳細には図11のST66)で用意されたモータ駆動データをMOOUT番地から取得する(ST70)。なお、モータ駆動データは2進数で0101,0110,1010,1001の何れかであり、それらが図4に示すように出力されることで払出モータMが回転する。なお、この実施例では、通常時、払出モータMの1ステップの回転時間が4mSに設定され、16ステップ分のデータ駆動データの出力によって払出回転体ROが60°回転して遊技球を1個払出すように設定されている。なお、払出モータMの1ステップの回転時間は、モータ駆動タイマで管理されており、1ステップ分の回転時間4mSが、タイマ割込み2回分に相当することから、通常動作時にはモータ駆動タイマの初期値は2に設定される。   Prior to the description of the prize ball processing (ST89) and the motor processing (ST91), the data output processing (ST92) will be described based on FIG. In the data output process, first, the motor drive data prepared in the motor process ST91 (specifically, ST66 in FIG. 11) is acquired from the MOOUT address (ST70). Note that the motor drive data is binary numbers 0101, 0110, 1010, and 1001, and when these are output as shown in FIG. 4, the payout motor M rotates. In this embodiment, normally, the rotation time of one step of the payout motor M is set to 4 mS, and the payout rotating body RO is rotated by 60 ° by the output of the data drive data for 16 steps, thereby obtaining one game ball. It is set to pay out. Note that the rotation time of one step of the payout motor M is managed by a motor drive timer, and the rotation time of 4 mS for one step corresponds to two timer interruptions. Is set to 2.

何れにしてもステップST70の処理によって、モータ駆動データがBレジスタに用意されたら、リトライエラーLEDフラグが5AHにセットされているか判定される(ST71)。リトライエラーLEDフラグとは、払出動作の異常状態が所定時間継続した場合に、エラー報知ランプER(図5参照)を点灯させるためのフラグである(図10のS703参照)。したがって、リトライエラーLEDフラグが5AHであれば、Bレジスタのbit4を1にセットする(ST72)。 In any case, if the motor drive data is prepared in the B register by the process of step ST70, it is determined whether the retry error LED flag is set to 5AH (ST71). The retry error LED flag is a flag for turning on the error notification lamp ER L (see FIG. 5) when the abnormal state of the payout operation continues for a predetermined time (see S703 in FIG. 10). Therefore, if the retry error LED flag is 5AH, bit 4 of the B register is set to 1 (ST72).

次にBレジスタのbit7を1に設定し(ST73)、Bレジスタの値を、第1出力ポート16に出力する(ST74)。この結果、払出モータMには駆動データが出力され、エラー報知ランプERが点灯又は消灯する。また、Bレジスタのbit7は、ウォッチドッグタイマに出力されるので、時間消費処理(ST75)の後、bit7をゼロに戻して、第1出力ポート16から再出力している(ST76)。この動作によってウォッチドッグタイマがゼロクリアされるが、プログラムの暴走によって、本来2mS毎に実行されるべきデータ出力処理(ST92)が実行されなくなると、ウォッチドッグタイマ回路の動作に基づいてCPUが強制的にリセットされることになる。 Next, bit 7 of the B register is set to 1 (ST73), and the value of the B register is output to the first output port 16 (ST74). As a result, the payout motor M is outputted drive data, error notification lamp ER L is turned on or off. Since bit 7 of the B register is output to the watchdog timer, after time consumption processing (ST75), bit7 is returned to zero and re-output from the first output port 16 (ST76). Although the watchdog timer is cleared to zero by this operation, if the data output processing (ST92) that should be executed every 2 ms is not executed due to the program runaway, the CPU is forced to operate based on the operation of the watchdog timer circuit. Will be reset.

何れにしてもステップST76の処理に続いて、球貸し信号フラグ、PRDYフラグ、EXEフラグを参照して、該当ビットをセットしたデータを第2出力ポート17に出力する(ST78)。この動作の結果、場合によっては、球貸し情報信号が外部に出力される。なお、PRDY信号やEXE信号は、プリペイドカードユニット22に出力される制御信号である。   In any case, following the processing of step ST76, the ball lending signal flag, the PRDY flag, and the EXE flag are referred to, and data in which the corresponding bit is set is output to the second output port 17 (ST78). As a result of this operation, a ball lending information signal is output to the outside in some cases. The PRDY signal and the EXE signal are control signals output to the prepaid card unit 22.

以上、図7(a)に示すタイマ割込みルーチンについて概略的に説明したが、続いて、図8〜図13を参照しつつ、賞球処理(ST89)と払出エラー処理(ST90)とモータ処理(ST91)とを詳細に説明する。   The timer interrupt routine shown in FIG. 7A has been schematically described above. Subsequently, with reference to FIGS. 8 to 13, the prize ball process (ST89), the payout error process (ST90), and the motor process ( ST91) will be described in detail.

図8に示すように、賞球処理では、最初に賞球が検出されたか否かが判定される(ST20)。賞球の払出は、データ出力処理(ST92)に起因して払出モータMが回転した場合に生じ得るが、もし、払出があればステップST84のデータ入力処理(図7(a))によって、その旨がワークエリアEDGにスイッチエッジデータとして記憶されている(図6(b))。なお、この実施例では、スイッチエッジデータのbit0が、左賞球計数スイッチの検出状態を表し、bit1が右賞球計数スイッチの検出状態を表している(図5参照)。   As shown in FIG. 8, in the prize ball process, it is first determined whether or not a prize ball is detected (ST20). The payout of the prize ball may occur when the payout motor M rotates due to the data output process (ST92). If there is a payout, the data input process (FIG. 7A) of step ST84 The effect is stored as switch edge data in the work area EDG (FIG. 6B). In this embodiment, bit 0 of the switch edge data represents the detection state of the left prize ball counting switch, and bit 1 represents the detection state of the right prize ball counting switch (see FIG. 5).

賞球検出処理(ST20)の具体的内容は図9に示す通りであり、左右の賞球データ(スイッチエッジデータのbit0とbit1)を変数D1に取得すると共に、Bレジスタに2を設定する(ST40)。次に、変数D1を右に1ビットシフト演算することで、スイッチエッジデータのbit0の内容をキャリーフラグCYに移動させる(ST41)。   The specific contents of the winning ball detection process (ST20) are as shown in FIG. 9, and the left and right winning ball data (bit 0 and bit 1 of the switch edge data) are acquired in the variable D1, and 2 is set in the B register ( ST40). Next, the contents of bit0 of the switch edge data are moved to the carry flag CY by shifting the variable D1 to the right by 1 bit (ST41).

CY=1であれば左賞球計数スイッチがONであることを意味するが、この段階では払出モータMの回転が開始されていないのでCY=0のはずである。そこで、Bレジスタの値を−1して(ST50〜ST51)、更に変数D1を右に1ビットシフト演算する(ST41)。この段階でCY=1であれば右賞球計数スイッチがONであることを意味するが、この段階では払出モータMの回転が開始されていないのでCY=0のはずである。したがって、ステップST50〜51の処理を経て賞球検出処理を終える。   If CY = 1, it means that the left prize ball counting switch is ON, but at this stage, since the rotation of the payout motor M has not started, CY = 0 should have been assumed. Therefore, the value of the B register is decremented by -1 (ST50 to ST51), and the variable D1 is further shifted by 1 bit to the right (ST41). If CY = 1 at this stage, it means that the right prize ball counting switch is ON, but at this stage, since the rotation of the payout motor M has not started, CY = 0 should have been assumed. Therefore, the prize ball detection process is completed through the processes of steps ST50 to ST51.

一方、払出モータMの回転が開始された後は、ステップST42の判定でCY=1となる場合がある。そこで、その場合には、払出検出フラグを5AHに書き換えた後に(ST43)、賞球フラグの内容をチェックする(ST44)。   On the other hand, after rotation of the dispensing motor M is started, CY = 1 may be obtained in the determination of step ST42. Therefore, in this case, after rewriting the payout detection flag to 5AH (ST43), the contents of the prize ball flag are checked (ST44).

払出動作が完了するまでは、賞球フラグの値が5AHであるから(図8のST32参照)、続いて、払出残数カウンタの値がゼロか否かを判定する(ST46)。後述するように、払出残数カウンタは、データ出力処理(ST32)を経て払出されるべき遊技球の残数を管理している。そして、このタイミングでは、ステップST42の判定によって遊技球の払出が確認されている。したがって、払出残数カウンタの値がゼロでない場合には、カウンタ値を−1して(ST48)、ステップST50の処理に移行する。   Until the payout operation is completed, the value of the prize ball flag is 5AH (see ST32 in FIG. 8). Subsequently, it is determined whether or not the value of the payout remaining number counter is zero (ST46). As will be described later, the payout remaining number counter manages the remaining number of game balls to be paid out through the data output process (ST32). At this timing, the payout of the game ball is confirmed by the determination in step ST42. Therefore, if the value of the payout remaining number counter is not zero, the counter value is decremented by -1 (ST48), and the process proceeds to step ST50.

一方、デクリメント処理(ST48)の結果、払出残数カウンタの値がゼロになれば、払出モータフラグと賞球フラグとをA5Hに設定した後に(ST47)、ステップST50の処理に移行する。なお、払出モータフラグと賞球フラグは、払出残数カウンタに新規払出カウンタの値を加算した段階で5AHに設定されるようになっている(後述する図8のST30〜ST32)。   On the other hand, if the value of the payout remaining number counter becomes zero as a result of the decrement process (ST48), after setting the payout motor flag and the prize ball flag to A5H (ST47), the process proceeds to step ST50. Note that the payout motor flag and the winning ball flag are set to 5 AH when the value of the new payout counter is added to the payout remaining number counter (ST30 to ST32 in FIG. 8 described later).

また、払出モータフラグは、払出モータMを駆動状態にするか非駆動状態にするかを規定しており、払出モータフラグが5AH又はA5Hであれば、モータ駆動状態となるが、00Hであれば非駆動状態となる。ここでモータ駆動状態とは、第1出力ポート16に有意な駆動データ(2進数0101,0110,1010,1001の何れか)が出力されていることを意味し、非駆動状態とは、第1出力ポート16に2進数0000が出力されていることを意味する。なお、第1出力ポート16に2進数0000が出力されると、オープンコレクタタイプのトランジスタ群18が全てOFF状態となり、払出モータMは自由回転状態となる(図5参照)。   The payout motor flag defines whether the payout motor M is driven or not driven. If the payout motor flag is 5AH or A5H, the motor is driven. It becomes a non-driving state. Here, the motor drive state means that significant drive data (any one of binary numbers 0101, 0110, 1010, and 1001) is output to the first output port 16, and the non-drive state means the first This means that the binary number 0000 is output to the output port 16. When the binary number 0000 is output to the first output port 16, all the open collector type transistor groups 18 are turned off, and the payout motor M is in a free rotation state (see FIG. 5).

以上のステップST41〜ST51の処理は、Bレジスタの初期値(=2)に基づき二回実行される。そして、払出残数カウンタの値がゼロになった後は、払出動作が実行されないため、ステップST42の判定において、CY=1となることは本来無いはずである。   The processes in steps ST41 to ST51 described above are executed twice based on the initial value (= 2) of the B register. Then, after the value of the payout remaining number counter becomes zero, the payout operation is not executed. Therefore, in the determination of step ST42, CY = 1 should not be inherent.

しかし、払出回転体ROの慣性力などの影響で、過払い状態となる可能性も否定しきれない。但し、このような異常時には、賞球フラグがA5Hである状態で(ST47参照)、ステップST42の判定においてCY=1となるので、本実施例では、過払い状態を示すべく、払出リトライフラグを5AHに設定する(ST45)。   However, the possibility of overpayment due to the influence of the inertial force of the payout rotating body RO cannot be denied. However, in such an abnormality, since the prize ball flag is A5H (see ST47) and CY = 1 in the determination of step ST42, in this embodiment, the payout retry flag is set to 5AH to indicate the overpayment state. (ST45).

この払出リトライフラグは、電源投入後のステップST9(図6)でも5AHに設定されるフラグである。そして、払出リトライフラグが5AHであると、後述するリトライ処理(図13(b))が開始され、遊技球が一個払出されるまで3.75°ピッチで払出回転体ROが歩進することで、精密な位置合わせ処理が実現される(図12のS1,S5〜S7、及び図13(b)参照)。   This payout retry flag is a flag that is set to 5AH even in step ST9 (FIG. 6) after power-on. If the payout retry flag is 5AH, a retry process (FIG. 13B) described later is started, and the payout rotating body RO advances at a pitch of 3.75 ° until one game ball is paid out. Thus, precise alignment processing is realized (see S1, S5 to S7 in FIG. 12, and FIG. 13B).

続いて、図8の賞球処理を説明すると、上記した賞球検出処理(ST20)の後、先ず動作ステイタスの値がチェックされる(ST21)。ここで、動作ステイタスとは、一連の賞球払出動作における動作内容を規定するものであり、2mS毎に実行されるモータ処理(ST91)は、動作ステイタス0〜3の何れかの状態で実行される。モータ処理(ST91)は、具体的には、動作ステイタス0のモータ駆動開始処理(図12(a))、動作ステイタス1のモータ駆動中処理(図12(b))、動作ステイタス2のモータ停止中処理(図13(a))、動作ステイタス3のモータリトライ中処理(図13(b))の何れかが2mS間隔で実行される(図11のST65a〜ST65d参照)。   Next, the prize ball process of FIG. 8 will be described. After the above-described prize ball detection process (ST20), first, the value of the operation status is checked (ST21). Here, the operation status defines the operation content in a series of prize ball payout operations, and the motor processing (ST91) executed every 2 mS is executed in any state of the operation status 0 to 3. The Specifically, the motor process (ST91) includes a motor drive start process with an operation status 0 (FIG. 12A), a motor drive process with an operation status 1 (FIG. 12B), and a motor stop with an operation status 2. Either the intermediate process (FIG. 13A) or the motor status process during operation retry 3 (FIG. 13B) is executed at intervals of 2 mS (see ST65a to ST65d in FIG. 11).

図8に戻ると、ステップST21の処理で、今が動作ステイタス1であって、モータ駆動中処理(図12(b))を実行すべきタイマ割込みタイミングであると判定されると、何もしないで賞球処理を終える。また、今が、動作ステイタス3であって、モータリトライ中処理(図13(b))を実行すべきタイマ割込みタイミングであると判定されれば、賞球フラグの値をチェックし(ST22)、もしA5Hに設定されていれば、賞球フラグを00Hに書き直して賞球処理を終える(ST23)。   Returning to FIG. 8, if it is determined in the process of step ST21 that the operation status is now 1, and it is the timer interrupt timing for executing the motor driving process (FIG. 12B), nothing is done. Finish the prize ball processing. If it is determined that the operation status 3 is now the timer interruption timing at which the motor retry process (FIG. 13B) is to be executed, the value of the prize ball flag is checked (ST22). If it is set to A5H, the prize ball flag is rewritten to 00H and the prize ball processing is finished (ST23).

一方、ステップST21の処理で、今が動作ステイタス2であって、モータ停止中処理(図13(a))を実行すべきタイマ割込みタイミングであると判定されると、払出リトライフラグの値をチェックし(ST24)、もし5AHに設定されていれば、そのまま賞球処理を終え、5AH以外の値(=00H)に設定されていれば、ステップST25の処理に移行する(ST24)。   On the other hand, if it is determined in step ST21 that the current operation status is 2 and it is the timer interrupt timing at which the motor stop process (FIG. 13A) should be executed, the value of the payout retry flag is checked. However, if it is set to 5AH, the prize ball process is finished as it is, and if it is set to a value other than 5AH (= 00H), the process proceeds to step ST25 (ST24).

ステップST21の処理で、今回のタイマ割込み時が、動作ステイタス0であって、駆動開始処理(図12(a))を実行すべきタイマ割込みタイミングであると判定されれば、先ず、コマンド解析処理(ST86)で更新された全賞球数カウンタの値が変数D1に取得される(ST25)。そして、変数D1がD1≠0であれば、新規払出数の最大値25を変数D2に格納し、変数D1から変数D2の値を減算する(ST27)。   If it is determined in step ST21 that the current timer interruption time is the operation status 0 and the timer interruption timing at which the drive start process (FIG. 12A) is to be executed, first, the command analysis process The value of the total winning ball counter updated in (ST86) is acquired in the variable D1 (ST25). If variable D1 is D1 ≠ 0, the maximum value 25 of the new payout number is stored in variable D2, and the value of variable D2 is subtracted from variable D1 (ST27).

次に減算結果が負か否か判定され(ST28)、もし負なら変数D2に全賞球数カウンタの値を格納すると共に、変数D1をゼロに設定する(ST29)。その後、新規払出カウンタに、変数D2の値を格納すると共に、全賞球数カウンタに、変数D1の値を格納する(ST30)。なお、ステップST30の処理で設定される新規払出カウンタの値は、通常は5個、10個、25個(新規払出数の最大値)の何れかである。   Next, it is determined whether or not the subtraction result is negative (ST28). If negative, the value of the total winning ball counter is stored in the variable D2, and the variable D1 is set to zero (ST29). Thereafter, the value of the variable D2 is stored in the new payout counter, and the value of the variable D1 is stored in the total winning ball counter (ST30). Note that the value of the new payout counter set in the process of step ST30 is usually 5, 10, or 25 (maximum value of the new payout number).

続いて、払出残数カウンタの値を変数D3に格納し、変数D2の値を変数D3に加算する。そして、加算結果である変数D3の値を、払出残数カウンタに格納する(ST31)。この処理の結果、このタイミングで把握されている、払出すべき全賞球数が、払出残数カウンタに格納されることになる。   Subsequently, the value of the payout remaining number counter is stored in the variable D3, and the value of the variable D2 is added to the variable D3. Then, the value of the variable D3 as the addition result is stored in the payout remaining number counter (ST31). As a result of this processing, the total number of winning balls to be paid, which is grasped at this timing, is stored in the payout remaining number counter.

その後、賞球フラグと払出モータフラグが5AHに設定され(ST32)、動作ステイタスが0に設定されて賞球処理が終わる(ST33)。なお、5AHに設定された賞球フラグは、図9のステップST47の処理でA5Hに変更されるまで、その値を維持する。   Thereafter, the prize ball flag and the payout motor flag are set to 5AH (ST32), the operation status is set to 0, and the prize ball processing is completed (ST33). The prize ball flag set to 5AH maintains that value until it is changed to A5H in the process of step ST47 of FIG.

一方、5AHに設定された払出モータフラグは、図9のステップST47の処理でA5Hに変更される他、図13のステップS27やステップS40の処理で00Hに変更される。すなわち、払出モータフラグは、初期的に5AHに設定された後、払出残数カウンタの値がゼロになるとA5Hに変更され(ST47)、その後、動作ステイタス2から動作ステイタス0に変更されるか、或いは、動作ステイタス3から動作ステイタス0に変更されるタイミングで、00Hに変更される(S27,S40)。   On the other hand, the payout motor flag set to 5AH is changed to A5H by the process of step ST47 of FIG. 9, and is changed to 00H by the processes of step S27 and step S40 of FIG. That is, after the payout motor flag is initially set to 5AH, when the value of the payout remaining number counter becomes zero, it is changed to A5H (ST47), and thereafter, the operation status 2 is changed to the operation status 0. Alternatively, it is changed to 00H at the timing when the operation status 3 is changed to the operation status 0 (S27, S40).

以上の動作推移から明らかなように、払出モータフラグは、一連の払出動作を開始するに当って5AHに設定され、その後、A5Hに変更されることはあっても、一連の払出動作を終えて動作ステイタス0(初期状態)に戻るタイミングでは、必ず00Hとなる。本実施例では、この払出モータフラグの値に応じて、払出モータMを駆動状態とするか非駆動状態にするかを管理しており、払出モータフラグがA5H又は5AHであれば駆動状態、払出モータフラグが00Hであれば非駆動状態となる(図11参照)。   As is clear from the above operation transition, the payout motor flag is set to 5AH at the start of a series of payout operations, and after that, even though it is changed to A5H, the series of payout operations is completed. At the timing of returning to the operation status 0 (initial state), it is always 00H. In this embodiment, whether the payout motor M is driven or not driven is managed according to the value of the payout motor flag. If the payout motor flag is A5H or 5AH, the drive state and payout are determined. If the motor flag is 00H, a non-driven state is entered (see FIG. 11).

また、本実施例では、新規払出カウンタとは別に、払出残数カウンタを設けているので、払出モータMが駆動されない動作禁止状態からの復帰時にも、円滑な払出動作が実現される。例えば、動作禁止状態でステップST25〜ST33の処理が繰り返されると、遊技球が払出されない状態で、全賞球数カウンタの減少分だけ(ST27,ST30)、払出残数カウンタの値は+25ずつ増加するが(ST31)、動作禁止状態からの復帰後は、蓄積された払出残数カウンタ分の遊技球が一気に払い出される(この点は更に後述する)。   Further, in this embodiment, a payout remaining number counter is provided in addition to the new payout counter, so that a smooth payout operation can be realized even when returning from an operation prohibited state in which the payout motor M is not driven. For example, when the processing of steps ST25 to ST33 is repeated in the operation prohibited state, the value of the payout remaining number counter is incremented by +25 by the decrease of the total prize ball number counter (ST27, ST30) in the state where the game ball is not paid out. However, after returning from the operation prohibited state (ST31), the accumulated game balls for the remaining payout counter are paid out at once (this point will be described later).

図10は、払出エラー処理(ST90)の動作内容を示したものであり、払出エラー処理(ST90)は、リトライエラー検出処理(S70)、計数スイッチエラー検出処理(S71)、補給切れエラー処理(S72)、及び、下皿満杯エラー検出処理(S73)で構成されている。   FIG. 10 shows the operation content of the payout error process (ST90). The payout error process (ST90) includes a retry error detection process (S70), a count switch error detection process (S71), and a replenishment error process ( S72) and a lower plate full error detection process (S73).

リトライエラー検出処理(S70)では、データ入力処理(ST84)で更新されたワークエリアEDGのスイッチエッジデータの値に基づいて、新たに、遊技球の払出があったか否かが判定される(S701)。具体的には、第1入力ポート13のビット0とビット1の値が今回のタイマ割込み時に立上ったか否かが判定される。ここで、遊技球の払出が検出された場合は、遊技球が払出されない球詰り状態が、後述するリトライ処理の結果、解消されたことを意味する。したがって、遊技球の払出が確認された場合には、リトライエラーフラグ、リトライエラーLEDフラグ、及びリトライカウンタの全てを、00Hに設定して処理を終える(S704)。   In the retry error detection process (S70), it is determined whether or not a new game ball has been paid out based on the value of the switch edge data of the work area EDG updated in the data input process (ST84) (S701). . Specifically, it is determined whether or not the values of bit 0 and bit 1 of the first input port 13 have risen at the current timer interrupt. Here, when the payout of the game ball is detected, it means that the clogged state where the game ball is not paid out has been eliminated as a result of the retry process described later. Therefore, when it is confirmed that the game ball has been paid out, all of the retry error flag, the retry error LED flag, and the retry counter are set to 00H, and the process ends (S704).

一方、未だ、遊技球の払出しが検出されない場合には、リトライカウンタの値が上限値MM(例えば127)を超えない限りそのまま処理を終え、上限値MMを超えると、リトライエラーフラグ、リトライエラーLEDフラグ、及び払出リトライフラグの全てを、5AHに設定して処理を終える(S703)。なお、リトライカウンタの値は、図13(b)のリトライ処理におけるステップS33の処理で更新(+1)される。   On the other hand, when the payout of the game ball has not been detected yet, the processing is finished as long as the value of the retry counter does not exceed the upper limit value MM (for example, 127), and when the value exceeds the upper limit value MM, the retry error flag, the retry error LED All of the flag and the payout retry flag are set to 5AH, and the process ends (S703). Note that the value of the retry counter is updated (+1) in the process of step S33 in the retry process of FIG.

ステップS703の処理でリトライエラーLEDフラグが5AHに設定されたことにより、その後のデータ出力処理(ST92)では、エラー報知ランプERが点灯される。また、リトライエラーフラグの値が5AHである限り、その後のモータ処理(ST91)において、モータ駆動データが00Hとされるので、これに続くデータ出力処理(ST92)において払出モータMが非駆動状態(自由回転状態)となる。したがって、エラー報知ランプERの点灯を検出した係員は、払出回転体ROの操作軸23を比較的自由に回転させることができ、容易に球詰り状態を解消させることができる。 By retry error LED flag is set to 5AH in the process of step S703, the subsequent data output process (ST92), an error notification lamp ER L is turned on. Further, as long as the value of the retry error flag is 5 AH, the motor drive data is set to 00H in the subsequent motor processing (ST91), and therefore the payout motor M is in the non-driven state (ST92) in the subsequent data output processing (ST92). Free rotation state). Therefore, attendant detecting the lighting of the error notification lamp ER L can rotate the operation shaft 23 of the dispensing rotator RO relatively freely, easily can be eliminated spheres clogging state.

ところで、補給切れエラー検出処理(S72)では、第1入力ポートへのスイッチ信号が所定時間を超えて異常レベルであるか否かが判定され、異常レベルが継続される場合には、補給切れエラーフラグが5AHに設定される。なお、異常レベルから正常レベルに戻れば、補給切れエラーフラグが00Hに戻される。   By the way, in the replenishment error detection process (S72), it is determined whether or not the switch signal to the first input port is at an abnormal level over a predetermined time. The flag is set to 5AH. If the normal level is returned to the normal level, the replenishment error flag is reset to 00H.

また、下皿満杯エラー検出処理(S73)でも、第1入力ポートへの該当するスイッチ信号が所定時間を超えて異常レベルであるか否かが判定され、異常レベルが継続される場合には、下皿満杯エラーフラグが5AHに設定される。なお、異常レベルから正常レベルに戻れば、下皿満杯エラーフラグは00Hに戻される。これら、補給切れエラーフラグと下皿満杯エラーフラグは、払出回転体ROの回転動作を禁止する動作禁止状態に突入させるか否かを決定する(図11のST62参照)。   Also, in the lower plate full error detection process (S73), it is determined whether or not the corresponding switch signal to the first input port is at an abnormal level over a predetermined time, and when the abnormal level continues, The lower plate full error flag is set to 5AH. If the normal level is returned to the normal level, the lower pan full error flag is reset to 00H. These out-of-supply error flag and lower pan full error flag determine whether or not to enter an operation prohibition state in which the rotation operation of the payout rotating body RO is prohibited (see ST62 in FIG. 11).

続いて、図11のフローチャートに基づいてモータ処理(ST91)について説明する。モータ処理では、モータ駆動データを格納しているMOOUT番地の内容をクリアし(ST61)、各種のエラーフラグの値が全て00Hであるか否かが判定される(ST62)。ここで、判定されるエラーフラグには、リトライエラーフラグ、補給切れエラーフラグ、及び下皿満杯エラーフラグが含まれている。   Next, the motor process (ST91) will be described based on the flowchart of FIG. In the motor processing, the contents of the MOOUT address storing the motor drive data are cleared (ST61), and it is determined whether or not the values of various error flags are all 00H (ST62). Here, the determined error flags include a retry error flag, a replenishment error flag, and a lower pan full error flag.

そして、全てのエラーフラグが00Hであって、全くエラーが発生していない場合には、続いて、払出モータフラグの値が判定される(ST63)。一方、そして、リトライエラーフラグ、補給切れエラーフラグ、及び下皿満杯エラーフラグの何れかが≠00Hであるか、或いは、払出モータフラグが=00Hである場合には、何もしないでモータ処理を終える(ST62,ST63)。その結果、モータ駆動データ(MOOUT番地の内容)は2進数0000のままとなり、データ出力処理(ST92)が実行されても、払出モータMが駆動されない。したがって、払出回転体ROの回転動作が禁止される動作禁止状態となる。   If all error flags are 00H and no error has occurred, the value of the payout motor flag is subsequently determined (ST63). On the other hand, if any of the retry error flag, the replenishment error flag, and the lower tray full error flag is not ≠ 00H, or if the payout motor flag is = 00H, the motor processing is performed without doing anything. Finish (ST62, ST63). As a result, the motor drive data (contents of the MOOUT address) remains binary 0000, and the payout motor M is not driven even when the data output process (ST92) is executed. Therefore, an operation prohibition state in which the rotation operation of the payout rotating body RO is prohibited is entered.

一方、ステップST63の判定で、払出モータフラグが≠00Hと判定された場合には、そのときの動作ステイタスの値に応じてモータ駆動開始処理(ST65a)、モータ駆動中処理(ST65b)、モータ停止中処理(ST65c)、モータリトライ中処理(ST65d)の何れかが実行された後、これらの処理で決定された払出モータMの位置に応じてモータ駆動データが選択され、MOOUT番地に格納される(ST66)。この実施例では、払出モータMのモータ位置が0〜3で管理されており、これに対応して、モータ駆動データは(0101、0110、1010、1001)の4種類であり、図4に示す順番に出力されて払出モータMを歩進させる。   On the other hand, if it is determined in step ST63 that the payout motor flag is not 00H, the motor drive start process (ST65a), the motor drive process (ST65b), and the motor stop are performed according to the value of the operation status at that time. After either the intermediate process (ST65c) or the motor retry process (ST65d) is executed, the motor drive data is selected according to the position of the payout motor M determined by these processes and stored in the MOOUT address. (ST66). In this embodiment, the motor position of the payout motor M is managed from 0 to 3, and corresponding to this, there are four types of motor drive data (0101, 0110, 1010, 1001), which are shown in FIG. The payout motor M is stepped forward in order.

図12〜図13は、モータ駆動開始処理(ST65a)、モータ駆動中処理(ST65b)、モータ停止中処理(ST65c)、及びモータリトライ中処理(ST65d)の具体的内容を図示したものである。初期状態では動作ステイタスは0であるので図12(a)モータ駆動開始処理が実行される。   12 to 13 illustrate specific contents of the motor drive start process (ST65a), the motor drive process (ST65b), the motor stop process (ST65c), and the motor retry process (ST65d). Since the operation status is 0 in the initial state, the motor drive start process shown in FIG.

モータ駆動開始処理では、払出リトライフラグの値がチェックされ(S1)、払出リトライフラグ≠5AHであれば、新規払出カウンタの値Nを16倍してステップカウンタに格納する(S2)。先に説明した通り、この実施例では、払出モータMを16ステップ歩進させて120°回転させることで、ギア接続された払出回転体ROを60°回転させて、遊技球を1個払出すようにしているので、払出モータMに出力すべき一連の駆動データの総数として、16×Nの値をステップカウンタに設定している。なお、新規払出カウンタの値Nは、図8のステップST30の処理で設定された値(=25個以下)である。   In the motor drive start process, the value of the payout retry flag is checked (S1). If the payout retry flag is not equal to 5AH, the value N of the new payout counter is multiplied by 16 and stored in the step counter (S2). As described above, in this embodiment, the payout motor M is advanced by 16 steps and rotated by 120 °, thereby rotating the gear-connected payout rotating body RO by 60 ° and paying out one game ball. As a result, a value of 16 × N is set in the step counter as the total number of a series of drive data to be output to the payout motor M. Note that the value N of the new payout counter is a value (= 25 or less) set in the process of step ST30 in FIG.

以上のようにしてステップカウンタの初期値を設定した後、動作ステイタスを1に変更すると共に、モータ駆動タイマを2に初期設定して処理を終わる(S3〜S4)。モータ駆動タイマは、払出モータMに駆動データを出力する時間間隔を指定するものであり、2に初期設定されたモータ駆動タイマは、2mS毎にタイマ減算処理(ST85)で−1されるので、この場合には、2×2=4mSの時間間隔でモータ位置が変化することになる。なお、モータ駆動タイマがゼロになる毎にステップカウンタが−1される(S12)。   After setting the initial value of the step counter as described above, the operation status is changed to 1, and the motor drive timer is initialized to 2 to finish the process (S3 to S4). The motor drive timer specifies a time interval for outputting drive data to the payout motor M, and the motor drive timer that is initially set to 2 is decremented by 1 in the timer subtraction process (ST85) every 2 mS. In this case, the motor position changes at a time interval of 2 × 2 = 4 mS. Each time the motor drive timer becomes zero, the step counter is decremented by 1 (S12).

動作ステイタスが0であって、払出リトライフラグが5AHの場合には、動作ステイタスが3に変更される(S5)。また、モータ駆動タイマが125に設定され(S6)、払出リトライフラグと払出検出フラグがゼロクリアされる(S7)。動作ステイタスが3に変更されると、リトライ処理が開始させることになるが、モータ駆動タイマが125に初期設定されたことにより、以降は、1ステップ250mS(=2×125)の時間間隔でゆっくり払出モータMが駆動されることになる。   If the operation status is 0 and the payout retry flag is 5AH, the operation status is changed to 3 (S5). Further, the motor drive timer is set to 125 (S6), and the payout retry flag and the payout detection flag are cleared to zero (S7). When the operation status is changed to 3, the retry process is started. However, since the motor drive timer is initially set to 125, thereafter, it is slowly performed at a time interval of 1 step 250 mS (= 2 × 125). The payout motor M is driven.

図12(a)のステップS3の処理によって動作ステイタスが1に設定された後は、図12(b)に示すモータ駆動中処理が実行される。ここでは、先ず、モータ駆動タイマの値がチェックされ(S10)、ゼロでなければ何もしないで処理を終える。したがって、例えば、モータ駆動タイマが2に初期設定された場合には、2回のモータ処理(ST91)は、同一の駆動データを出力することになる(ST65b〜ST66)。   After the operation status is set to 1 by the process of step S3 in FIG. 12A, the motor driving process shown in FIG. 12B is executed. Here, first, the value of the motor drive timer is checked (S10), and if it is not zero, the process is terminated without doing anything. Therefore, for example, when the motor drive timer is initially set to 2, the two motor processes (ST91) output the same drive data (ST65b to ST66).

その後、モータ駆動タイマがゼロになると、ステップS2の処理で16×Nに初期設定されたステップカウンタの値が判定され(S11)、ゼロでなければステップカウンタの値を−1すると共に、モータ位置を0〜3の範囲で+1する(S12〜S13)。また、モータ駆動タイマの値を再び2に初期設定して処理を終える(S14)。したがって、動作ステイタス1のモータ駆動中処理では、払出モータMが4mS毎に歩進することになる。   Thereafter, when the motor drive timer becomes zero, the value of the step counter initially set to 16 × N is determined in the process of step S2 (S11). Is incremented by 1 in the range of 0 to 3 (S12 to S13). Further, the value of the motor drive timer is initialized to 2 again, and the process ends (S14). Therefore, in the motor driving process with the operation status 1, the payout motor M advances every 4 mS.

このような歩進動作を繰り返すと、その後、ステップカウンタの値がゼロになる。そこで、この場合には、動作ステイタスを2に変更すると共に、モータ駆動タイマの値を350に初期設定する(S15〜S16)。   If such a stepping operation is repeated, then the value of the step counter becomes zero. Therefore, in this case, the operation status is changed to 2 and the value of the motor drive timer is initialized to 350 (S15 to S16).

以上の通り、動作ステイタス1のモータ駆動中処理において、ステップカウンタの値がゼロになったことにより、新規払出分の払出が完了する。但し、この一連の払出動作中にも、新規に制御コマンドCMD(賞球数指定コマンド)を受信している可能性があり、コマンド解析処理(ST86)によって全賞球数カウンタの値が更新されることで、更なる払出が必要となる場合もある(例えば大当り状態の場合など)。また、払出回転体ROの誤動作によって、新規払出分の払出量Nに過不足が生じている可能性もある。   As described above, the payout for the new payout is completed when the value of the step counter becomes zero in the motor driving process of the operation status 1. However, even during this series of payout operations, there is a possibility that a new control command CMD (award ball number designation command) has been received, and the value of the total award ball number counter is updated by the command analysis process (ST86). In some cases, further payout may be necessary (for example, in the case of a big hit state). In addition, due to a malfunction of the payout rotating body RO, there may be an excess or deficiency in the payout amount N for the new payout.

払出量が不足する場合は、払出残数カウンタがゼロになっていないので、払出モータフラグがA5Hに変更されず5AHのままであるが、一方、払出モータフラグがA5Hであれば、払出残数カウンタがゼロになったことを意味する(ST47参照)。また、払出残数カウンタがゼロになった後に更に払出がされる過払い時には、払出モータフラグがA5Hであって、払出リトライフラグが5AHとなっている(ST45参照)。   If the payout amount is insufficient, the payout remaining number counter is not zero, so the payout motor flag is not changed to A5H and remains 5AH. On the other hand, if the payout motor flag is A5H, the payout remaining number This means that the counter has become zero (see ST47). At the time of overpayment in which further payout is made after the payout remaining number counter becomes zero, the payout motor flag is A5H and the payout retry flag is 5AH (see ST45).

以上を踏まえて説明を続けると、図13(a)に示すように、動作ステイタス2の状態ではモータ停止中処理が実行される。ここでは先ず、払出モータフラグの値がA5Hであるか否かが判定される(S20)。上記の通り、払出モータフラグがA5Hであれば払出残数カウンタがゼロになったことを意味するので(ST47)、このような場合には、動作ステイタスを2から0に変更し、モータ駆動タイマをゼロにする(S25〜S26)。また、払出モータフラグと払出検出フラグをゼロクリアする(S27)。   If the description is continued based on the above, as shown in FIG. 13A, in the state of the operation status 2, the motor stop process is executed. Here, it is first determined whether or not the value of the payout motor flag is A5H (S20). As described above, if the payout motor flag is A5H, it means that the payout remaining number counter has become zero (ST47). In such a case, the operation status is changed from 2 to 0 and the motor drive timer is set. Is set to zero (S25 to S26). Further, the payout motor flag and the payout detection flag are cleared to zero (S27).

一方、ステップS20の処理において、払出モータフラグ≠A5Hと判定された場合には、未だ、払出残数カウンタがゼロになっていないことを意味する。したがって、払出モータフラグが≠A5Hの場合には、モータ駆動タイマがゼロになるのを待つ(S21)。なお、動作ステイタスが1から2に変更された段階で、モータ駆動タイマが350に初期設定されているので(S16)、ここでは700mSだけ時間消費されることになる。その後、モータ駆動タイマがゼロになれば、動作ステイタスを2から3に変更すると共に、モータ駆動タイマを125に初期設定し、払出検出フラグをクリアする(S22〜S24)。   On the other hand, if it is determined in step S20 that the payout motor flag is not equal to A5H, it means that the payout remaining number counter is not yet zero. Therefore, when the payout motor flag is not ≠ A5H, it waits for the motor drive timer to become zero (S21). Note that when the operation status is changed from 1 to 2, the motor drive timer is initialized to 350 (S16), and here, 700 mS is consumed. Thereafter, when the motor drive timer becomes zero, the operation status is changed from 2 to 3, the motor drive timer is initialized to 125, and the payout detection flag is cleared (S22 to S24).

図13(b)に示すように、動作ステイタスが3の場合には、先ず、モータ駆動タイマがゼロになるのを待つ(S30)。動作ステイタスが3に変更された段階で、モータ駆動タイマが125に初期設定されているので(S6,S23)、ここでは250mSだけ時間消費されることになる。その後、払出検出フラグの値をチェックする(S31)。払出検出フラグは、遊技球の払出しを確認した段階で5AHに設定され(図10のST43)、動作ステイタスが3に変更される段階でゼロにされている(図13のS24,図12のS7)。   As shown in FIG. 13B, when the operation status is 3, first, it waits for the motor drive timer to become zero (S30). Since the motor drive timer is initially set to 125 when the operation status is changed to 3 (S6, S23), the time is consumed by 250 mS here. Thereafter, the value of the payout detection flag is checked (S31). The payout detection flag is set to 5AH when the payout of the game ball is confirmed (ST43 in FIG. 10), and is set to zero when the operation status is changed to 3 (S24 in FIG. 13, S7 in FIG. 12). ).

したがって、モータリトライ処理において、払出検出フラグは最初ゼロの筈であるので、次に、モータ位置を0〜3の範囲で1つ進める(S32)。また、リトライカウンタを+1更新すると共に、モータ駆動タイマに125を設定する(S33〜S34)。したがって、以降、1ステップ=250mS毎に駆動データを更新するリトライ処理が実行されることになる。   Therefore, in the motor retry process, the payout detection flag is initially zero so that the motor position is advanced by 1 in the range of 0 to 3 (S32). In addition, the retry counter is updated by +1, and 125 is set in the motor drive timer (S33 to S34). Therefore, a retry process for updating the drive data every 1 step = 250 mS is executed thereafter.

このリトライ処理では、通常時の2/125倍の速度でゆっくり払出モータMが回転する。詳細には、ステップS30〜S34より明らかなように、モータ駆動タイマの初期設定値により、250mS毎に1ステップ(7.5°)分だけ払出モータMが回転し、これに対応して払出回転体ROが3.75°回転する毎に、遊技球の払出しがチェックされ、払出しを検出するまで同じ動作が繰り返えされる(S31)。なお、遊技球の払出は、図9のステップST42の処理で判定され、遊技球の払出が検出されたら、払出検出フラグが5AHに設定される(ST43)。   In this retry process, the dispensing motor M rotates slowly at a speed 2/125 times that of the normal time. Specifically, as is clear from steps S30 to S34, the dispensing motor M rotates by one step (7.5 °) every 250 mS according to the initial setting value of the motor drive timer, and the dispensing rotation is correspondingly performed. Each time the body RO rotates 3.75 °, the payout of the game ball is checked, and the same operation is repeated until the payout is detected (S31). The payout of the game ball is determined in the process of step ST42 in FIG. 9, and when the payout of the game ball is detected, the payout detection flag is set to 5AH (ST43).

したがって、ステップS30〜S34の処理を繰り返していると、やがて払出検出フラグが5AHとなるので、この場合には次に払出モータフラグの値をチェックする(S35)。払出モータフラグは、払出残数カウンタがゼロとなる時、つまり、不足分なく遊技球を払出した時にA5Hに設定される(図9のST47)。したがって、払出モータフラグ≠A5Hは、払出していない遊技球が存在することを意味するので、払出残数カウンタの値を16倍した値をステップカウンタに格納する(S36)。   Therefore, if the processing in steps S30 to S34 is repeated, the payout detection flag eventually becomes 5AH. In this case, the value of the payout motor flag is checked next (S35). The payout motor flag is set to A5H when the payout remaining number counter becomes zero, that is, when the game ball is paid out without any shortage (ST47 in FIG. 9). Therefore, since the payout motor flag ≠ A5H means that there is a game ball that has not been paid out, a value obtained by multiplying the value of the payout remaining number counter by 16 is stored in the step counter (S36).

但し、本実施例では、リトライ処理後の払出量の上限値LTを設けており、具体的には、65536>LT×16となるよう、上限値LTをLT<4096に設定している。したがって、払出残数カウンタを、仮に16ビット長に制限しても、連続して大量の賞球が得られる大当り状態において、払出残数カウンタがオーバーフローして賞球数が消滅するおそれはない。なお、払出量の上限値LTは下式で与えられる。   However, in this embodiment, an upper limit value LT of the payout amount after retry processing is provided, and specifically, the upper limit value LT is set to LT <4096 so that 65536> LT × 16. Therefore, even if the payout remaining number counter is limited to a 16-bit length, there is no possibility that the remaining payout counter overflows and the number of winning balls disappears in a big hit state where a large number of winning balls are continuously obtained. The upper limit LT of the payout amount is given by the following formula.

LT<(16−1)÷(基準回転角÷最小回転角)
最小回転角=ステップ角θ÷ギア比G
ここで、n=2,4,6・・・の偶数であり、基準回転角は、設計上、遊技球を一個払出す払出回転体ROの回転角度、最小回転角は、払出回転体ROについての最小回転角度である。また、ステップ角θは、払出回転体ROを駆動する払出モータMの最小回転角度であり、ギア比Gは、1:Gで与えられる払出モータMと払出回転体ROとのギア接続比であって必ずG>1に設定される。
LT <(16 n −1) ÷ (reference rotation angle ÷ minimum rotation angle)
Minimum rotation angle = step angle θ ÷ gear ratio G
Here, n = 2, 4, 6..., And the reference rotation angle is, by design, the rotation angle of the payout rotating body RO that pays out one game ball, and the minimum rotation angle is about the payout rotating body RO. Is the minimum rotation angle. The step angle θ is the minimum rotation angle of the payout motor M that drives the payout rotary body RO, and the gear ratio G is the gear connection ratio between the payout motor M and the payout rotary body RO given by 1: G. G> 1 is always set.

この実施例では、上限値LT=4095に設定されているので、払出残数カウンタの最大値は、65520となるが、ステップS36の処理に続いて、動作ステイタスを3から1に変更して、リトライカウンタをクリアすると共に、モータ駆動タイマに2を設定する(S37,S38)。この設定処理の結果、これ以降は、1ステップ=4mS毎に駆動データを更新する通常のモータ回転が開始されることになる。   In this embodiment, since the upper limit value LT = 4095 is set, the maximum value of the payout remaining number counter is 65520. However, following the process of step S36, the operation status is changed from 3 to 1. The retry counter is cleared and 2 is set in the motor drive timer (S37, S38). As a result of this setting process, the normal motor rotation for updating the drive data every 1 step = 4 mS is started thereafter.

ところで、ステップS35の判定において払出モータフラグ=A5Hとなった場合は、動作ステイタス3から0に変更する(S39)。払出しを検出した状態(払出検出フラグ=5AH)で、払出モータフラグがA5Hであるということは、動作ステイタス=3の状態で1個の遊技球を払出し、且つ払出残数カウンタがゼロとなったことを意味する(ST47参照)。つまり、不足分の払出しが完了したことを意味するので、動作ステイタスを3から0に変更して、その後、改めて払出動作が必要となる時期まで待機させるのである。そのため、リトライカウンタ、払出モータフラグ、及び払出検出フラグの値を全てゼロにする(S40)。   Incidentally, when the payout motor flag is A5H in the determination in step S35, the operation status 3 is changed to 0 (S39). When the payout is detected (payout detection flag = 5AH) and the payout motor flag is A5H, one game ball is paid out with the operation status = 3 and the payout remaining number counter becomes zero. This means that (see ST47). In other words, it means that the shortage of payout has been completed, so that the operation status is changed from 3 to 0, and then it is made to wait until the time when the payout operation is required again. Therefore, all the values of the retry counter, the payout motor flag, and the payout detection flag are set to zero (S40).

図15〜図17は、以上の動作を確認的に図示したものである。先ず、図15(a)の状態遷移図に基づいて、通常時の賞球動作を説明する。   FIG. 15 to FIG. 17 illustrate the above operation in a confirming manner. First, a normal prize ball operation will be described based on the state transition diagram of FIG.

<通常時の賞球動作(図15(a))>
この場合、新規払出カウンタには所定の賞球数(25個以下)が設定され(ST30)、ステップカウンタが25×16に設定された後、動作ステイタス0から動作ステイタス1に移行される(S2〜S4)。その後、モータ駆動タイマがゼロになる4mS毎に、ステップカウンタは−1され、払出回転体ROは3.75°ずつ歩進する(S10〜S14)。
<Normal ball operation (FIG. 15A)>
In this case, a predetermined number of winning balls (25 or less) is set in the new payout counter (ST30), and after the step counter is set to 25 × 16, the operation status 0 is shifted to the operation status 1 (S2). ~ S4). Thereafter, every 4 mS when the motor driving timer becomes zero, the step counter is decremented by 1, and the payout rotating body RO advances by 3.75 ° (S10 to S14).

そして、64mSが経過してステップカウンタが−16されると、払出回転体ROが60°回転して遊技球が1個払出される。このような動作が繰り返されることで、例えば25個の賞球動作が終われば、動作ステイタスが1から2に移行する(S15)。正常時には、このタイミングでは、払出モータフラグが既にA5Hとなっているので(ST47)、直ちに、動作ステイタス0に移行すると共に、払出モータフラグをクリアする(S25〜S27)。   Then, when 64 mS elapses and the step counter is set to −16, the payout rotating body RO rotates 60 ° and one game ball is paid out. By repeating such an operation, for example, when 25 prize ball operations are completed, the operation status shifts from 1 to 2 (S15). At the normal time, since the payout motor flag is already A5H at this timing (ST47), the operation status is immediately shifted to 0 and the payout motor flag is cleared (S25 to S27).

<払出不足時の動作(図15(b))>
続いて、図15(b)の状態遷移図に基づいて、球詰りなどによる払出不足時の動作を説明する。図示の通り、所定個数(25個)だけを払出した後(ステイタス0→ステイタス1→ステイタス2)、動作ステイタス1から2に移行して、払出モータフラグの値から払出不足の有無が判定される(S20)。
<Operation when payout is insufficient (FIG. 15B)>
Next, the operation when payout is insufficient due to ball clogging or the like will be described based on the state transition diagram of FIG. As shown in the figure, after paying out only a predetermined number (25) (status 0-> status 1-> status 2), the operation status 1 is shifted to 2, and it is determined whether there is a shortage of payout from the value of the payout motor flag. (S20).

そして、払出モータフラグの値が5AHであることで払出不足が検出されると、動作ステイタス3のリトライ動作に移行し、遊技球の払出を検出するまで、250mS時間で7.5°回転する回転速度で、払出モータMが低速回転される(S32〜S34)。本実施例では、払出モータMと払出回転体ROとが一対二のギア比で連結されているので駆動トルクが高く、仮に球詰り状態であっても、この低速回転(リトライ動作)によって球詰りが解消される場合が多い。しかも、払出回転体ROが3.75°回転する毎に遊技球の払出の有無が判定されるので、結果的に精密な位置合わせが実現される。   When the payout motor flag value is 5 AH, when the payout shortage is detected, the operation moves to the retry operation of the operation status 3 and rotates by 7.5 ° in 250 mS time until the game ball payout is detected. The payout motor M is rotated at a low speed (S32 to S34). In this embodiment, since the payout motor M and the payout rotating body RO are connected with a one-to-two gear ratio, the driving torque is high, and even if the ball is in a blocked state, the ball is blocked by this low speed rotation (retry operation). Is often resolved. In addition, every time the payout rotating body RO rotates 3.75 °, it is determined whether or not the game ball is paid out. As a result, precise alignment is realized.

このようなリトライ動作による遊技球1個の払出の結果、払出不足が解消されたら動作ステイタス3から動作ステイタス0に移行する。一方、更に不足がある場合には、動作ステイタス3から動作ステイタス1に移行して、通常速度による賞球動作が実行される。   As a result of paying out one game ball by such a retry operation, when the payout shortage is resolved, the operation status 3 is shifted to the operation status 0. On the other hand, if there is a further shortage, the operation status 3 is shifted to the operation status 1, and a prize ball operation at a normal speed is executed.

<動作禁止状態からの正常状態への復帰後の賞球動作(図16)>
続いて、図16の状態遷移図に基づいて、動作禁止状態から正常状態への復帰後の賞球動作について説明する。先に説明した通り、動作禁止状態とは、補給切れエラーや下皿満杯エラーが発生したために、払出回転体ROが自由回転状態のままで駆動されない状態を意味する。
<Prize Ball Operation after Returning from Operation Prohibited State to Normal State (FIG. 16)>
Next, the winning ball operation after returning from the operation prohibited state to the normal state will be described based on the state transition diagram of FIG. As described above, the operation-prohibited state means a state in which the dispenser rotating body RO is not driven in the free rotation state because an out-of-supply error or a lower pan full error has occurred.

このような動作禁止状態でも、主制御部1は、自由に賞球数指定コマンドを送信する。そして、送信された賞球数指定コマンドは、受信割込みルーチン(図6(b))によって、通常通り取得されるので、コマンド解析処理(ST86)では、順次、全賞球数カウンタの値を更新することになる。   Even in such an operation prohibited state, the main control unit 1 freely transmits a prize ball number designation command. The transmitted prize ball number designation command is acquired as usual by the reception interrupt routine (FIG. 6B), so in the command analysis process (ST86), the value of the total prize ball number counter is sequentially updated. Will do.

一方、動作禁止状態のタイミングでは、動作ステイタスが0であるか、或いは、動作ステイタスが2であって払出リトライフラグが≠5AHであったとする。かかる場合には、その後の賞球処理(ST89)において、全賞球数カウンタの値が−25減算されるのに対応して(ST25,ST27,ST30)、払出残数カウンタの値は、+25加算されて更新される(ST31)。そして、これらの更新処理は、動作禁止状態から正常状態に復帰するまで、永続的に繰り返される。なお、動作禁止状態では、モータ駆動データがクリアされたままで(ST61)、データ出力処理(ST92)が実行されることは前述した通りである。   On the other hand, at the timing of the operation prohibited state, it is assumed that the operation status is 0, or the operation status is 2 and the payout retry flag is not 5AH. In such a case, in the subsequent prize ball processing (ST89), the value of the total prize ball counter is decremented by −25 (ST25, ST27, ST30), and the value of the payout remaining number counter is +25. It is added and updated (ST31). Then, these update processes are permanently repeated until the operation returns from the operation prohibited state to the normal state. As described above, in the operation prohibited state, the motor output data remains cleared (ST61) and the data output process (ST92) is executed.

その後、このような動作禁止状態は、自動的又は人為的に解消されて正常状態に復帰する。しかし、正常状態に復帰したタイミングでは、払出残数カウンタの値は、相当大きな数値まで増加している可能性があり、特に、その時の遊技機が大当たり状態であれば尚更である。   Thereafter, such an operation-prohibited state is automatically or artificially canceled and returns to a normal state. However, at the timing of returning to the normal state, the value of the payout remaining number counter may have increased to a considerably large value, especially if the gaming machine at that time is in the big hit state.

かかる場合でも、賞球動作の開始時には、新規払出カウンタには所定の賞球数25個が設定され(ST30)、動作ステイタス0から1への移行時には、ステップカウンタには、新規払出カウンタの値(=25)の16倍の値が設定される(図12(a)のS2〜S4)。つまり、払出残数カウンタの値が如何に大きくても、動作ステイタス1における払出動作の賞球数は、25個に設定される。   Even in such a case, a predetermined number of prize balls of 25 is set in the new payout counter at the start of the prize ball operation (ST30), and the value of the new payout counter is set in the step counter at the transition from the operation status 0 to 1. A value 16 times (= 25) is set (S2 to S4 in FIG. 12A). In other words, no matter how large the value of the payout remaining number counter is, the number of prize balls for the payout operation in the operation status 1 is set to 25.

その後、モータ駆動タイマがゼロになる4mS毎に、400(=25×16)に初期設定されたステップカウンタがデクリメント(−1)される。そして、ステップカウンタがゼロになると、動作ステイタス1から動作ステイタス2に移行する(図12(b)のS15)。なお、このタイミングでは、球詰りが生じていない限り、25個の賞球が終わっている。   Thereafter, every 4 mS when the motor drive timer becomes zero, the step counter initialized to 400 (= 25 × 16) is decremented (−1). Then, when the step counter reaches zero, the operation status 1 shifts to the operation status 2 (S15 in FIG. 12B). It should be noted that at this timing, 25 prize balls have been finished unless ball clogging has occurred.

但し、払出残数カウンタは、その値が−25されただけであり、まだゼロになっていないので、払出モータフラグは5AHのままである。すなわち、図9のステップST47の処理は未だ実行されていないので、動作ステイタス2から動作ステイタス3に移行する(図13のS21〜24)。なお、700mSの待機時間を経て、動作ステイタス2から3に移行する。   However, since the value of the payout remaining number counter is only -25, and has not yet become zero, the payout motor flag remains 5AH. That is, since the process of step ST47 in FIG. 9 has not yet been executed, the operation status 2 is shifted to the operation status 3 (S21 to 24 in FIG. 13). Note that the operation status shifts from 2 to 3 after a waiting time of 700 mS.

次に、動作ステイタス3のリトライ処理において、ゆっくり1個目の遊技球が払出された後(S30〜S31)、今度は、ステップカウンタが、その時の払出残数カウンタの値の16倍に設定され(S36)、動作ステイタス3から動作ステイタス1に移行する(S37)。そして、動作ステイタス1のモータ駆動中処理において、払出残数カウンタの個数分だけ賞球動作が実行され、全ての賞球動作が終われば、動作ステイタス1から動作ステイタス2を経て、初期状態の動作ステイタス0に戻る。   Next, in the retry process of the operation status 3, after the first game ball is slowly paid out (S30 to S31), the step counter is set to 16 times the value of the remaining payout counter at that time. (S36), the operation status 3 is shifted to the operation status 1 (S37). Then, in the motor driving process of the operation status 1, the award ball operation is executed for the number of the remaining payout counters. When all the award ball operations are completed, the operation in the initial state is performed from the operation status 1 to the operation status 2. Return to status 0.

以上の通り、本実施例では、動作ステイタス0での動作禁止状態から正常状態への復帰後、如何に大量の賞球を払出す場合であっても、最初に所定個数(25個)だけを払出した後(ステイタス0→ステイタス1→ステイタス2)、払出回転体ROのホームポジションについて位置合せをする。そして、その後、払出残数カウンタの値だけ一気に遊技球を払出すが(ステイタス2→ステイタス3→ステイタス1)、3.75°間隔の精密な位置合わせが先行して実行されているので、一気に払出動作(連続駆動)を実行しても何の弊害もない。また、この連続駆動では、払出量の上限値が制限されているので、オーバーフローによって賞球が消滅することもない。   As described above, in this embodiment, after returning from the operation prohibited state with the operation status 0 to the normal state, no matter how many award balls are paid out, only a predetermined number (25) is initially used. After paying out (status 0 → status 1 → status 2), the home position of the payout rotating body RO is aligned. After that, the game balls are paid out at a stretch by the value of the payout remaining number counter (status 2 → status 3 → status 1). Since precise positioning at intervals of 3.75 ° is executed in advance, Executing the payout operation (continuous drive) has no adverse effect. Further, in this continuous driving, the upper limit value of the payout amount is limited, so that the winning ball does not disappear due to overflow.

なお、動作ステイタス2(但し、払出リトライフラグ≠5AH)での動作禁止状態から正常状態への復帰後は、最初に1個の遊技球を払出した後(ステイタス1→ステイタス2)、払出残数カウンタの残りの値だけ一気に遊技球を払出す(ステイタス3→ステイタス1)。   After returning from the operation prohibited state to the normal state with the operation status 2 (however, the payout retry flag ≠ 5AH), after one game ball is first paid out (status 1 → status 2), the payout remaining number The game balls are paid out at a stretch for the remaining value of the counter (status 3 → status 1).

<過払い時の動作>
図17は、本来の賞球数より多い遊技球を払出した場合の動作を説明する遷移図である。一連の払出動作を終えた後(ステイタス0→ステイタス1→ステイタス2→ステイタス0)、払出リトライフラグが5AHであることによって(ST45参照)、過払い状態の発生が検出される。そこで、その後は、動作ステイタス0から3に移行してリトライ動作が実行される(S5〜S7)。
<Operation at overpayment>
FIG. 17 is a transition diagram for explaining the operation when paying out more game balls than the original number of prize balls. After a series of payout operations (status 0 → status 1 → status 2 → status 0), the occurrence of an overpayment state is detected when the payout retry flag is 5AH (see ST45). Therefore, after that, the operation status shifts from 0 to 3, and the retry operation is executed (S5 to S7).

そして、低速のリトライ動作によって遊技球が1個払出した後、動作ステイタス0の初期状態に戻る。リトライ動作では払出回転体ROが3.75°回転する毎に遊技球の払出の有無が判定されるので、精密なホームポジションの位置合わせが実現される。   Then, after one game ball is paid out by the low-speed retry operation, the operation status returns to the initial state. In the retry operation, every time the payout rotating body RO rotates 3.75 °, the presence / absence of payout of the game ball is determined, so that precise home position alignment is realized.

最後に、本発明が好適に適用される弾球遊技機について確認的に説明する。図19は、本実施例のパチンコ機21を示す斜視図であり、図20は、同パチンコ機21の側面図である。なお、パチンコ機21は、カード式球貸し機22に電気的に接続された状態で、パチンコホールの島構造体の長さ方向に複数個が配設されている。   Finally, a bullet ball game machine to which the present invention is preferably applied will be described for confirmation. FIG. 19 is a perspective view showing the pachinko machine 21 of the present embodiment, and FIG. 20 is a side view of the pachinko machine 21. A plurality of pachinko machines 21 are arranged in the length direction of the island structure of the pachinko hall while being electrically connected to the card-type ball lending machine 22.

図示のパチンコ機21は、島構造体に着脱可能に装着される矩形枠状の木製外枠23と、外枠23に固着されたヒンジHを介して開閉可能に枢着される前枠24とで構成されている。この前枠24には、遊技盤25が裏側から着脱自在に装着され、その前側には、ガラス扉26と前面板27とが夫々開閉自在に枢着されている。   The illustrated pachinko machine 21 includes a rectangular frame-shaped wooden outer frame 23 that is detachably mounted on an island structure, and a front frame 24 that is pivotably mounted via a hinge H fixed to the outer frame 23. It consists of A game board 25 is detachably attached to the front frame 24 from the back side, and a glass door 26 and a front plate 27 are pivotally attached to the front side so as to be freely opened and closed.

前面板27には発射用の遊技球を貯留する上皿28が装着され、前枠24の下部には、上皿28から溢れ出し又は抜き取った遊技球を貯留する下皿29と、発射ハンドル30とが設けられている。発射ハンドル30は発射モータと連動しており、発射ハンドルの回動角度に応じて動作する打撃槌31(図22参照)によって遊技球が発射される。   The front plate 27 is provided with an upper plate 28 for storing game balls for launch. A lower plate 29 for storing game balls overflowing from or extracted from the upper plate 28 and a launch handle 30 are disposed below the front frame 24. And are provided. The launch handle 30 is linked to the launch motor, and a game ball is launched by a striking rod 31 (see FIG. 22) that operates according to the rotation angle of the launch handle.

上皿28の右部には、カード式球貸し機22に対する球貸し操作用の操作パネル32が設けられ、この操作パネル32には、カード残額を3桁の数字で表示するカード残額表示部32aと、所定金額分の遊技球の球貸しを指示する球貸しスイッチ32bと、ゲーム終了時にカードの返却を指令する返却スイッチ32cとが設けられている。ガラス扉26の上部には、大当り状態を示す大当りLEDランプP1が配置されている。また、この大当りLEDランプP1に近接して、補給切れ状態や下皿の満杯状態を示す異常報知LEDランプP2,P3が設けられている。   On the right side of the upper plate 28, an operation panel 32 for lending the ball to the card-type ball lending machine 22 is provided, and on this operation panel 32, a card remaining amount display unit 32a for displaying the remaining amount of the card with a three-digit number. A ball lending switch 32b for instructing lending of game balls for a predetermined amount, and a return switch 32c for instructing to return the card at the end of the game. On the upper part of the glass door 26, a big hit LED lamp P1 indicating a big hit state is arranged. In addition, in the vicinity of the big hit LED lamp P1, abnormality notification LED lamps P2 and P3 are provided to indicate a replenishment state or a full state of the lower plate.

図21に示すように、遊技盤25には、金属製の外レールと内レールとからなるガイドレール33が環状に設けられ、その内側の遊技領域25aの略中央には、表示装置8(具体的には液晶カラーディスプレイ)が配置されている。また、遊技領域25aの適所には、図柄始動口35、大入賞口36、複数個の普通入賞口37(大入賞口36の左右に4つ)、2つの通過口であるゲート部38が配設されている。これらの入賞口35〜38は、それぞれ内部に検出スイッチを有しており、遊技球の通過を検出できるようになっている。   As shown in FIG. 21, the game board 25 is provided with a guide rail 33 formed of a metal outer rail and an inner rail in an annular shape, and the display device 8 (specifically, at the approximate center of the game area 25a inside the game rail 25 is provided. In particular, a liquid crystal color display) is arranged. In addition, at a suitable place in the game area 25a, there are arranged a symbol start opening 35, a big winning opening 36, a plurality of normal winning openings 37 (four on the left and right sides of the big winning opening 36), and a gate portion 38 which is two passing openings. It is installed. Each of these winning openings 35 to 38 has a detection switch inside, and can detect the passage of a game ball.

表示装置8は、大当り状態に係わる特定図柄を変動表示すると共に背景画像や各種のキャラクタなどをアニメーション的に表示する装置である。この表示装置8は、中央部に特別図柄表示部Da〜Dcと右上部に普通図柄表示部39を有している。普通図柄表示部39は普通図柄を表示するものであり、ゲート部38を通過した遊技球が検出されると、表示される普通図柄が所定時間だけ変動し、遊技球のゲート部38の通過時点において抽出された抽選用乱数値により決定される停止図柄を表示して停止するようになっている。   The display device 8 is a device that variably displays a specific symbol related to the big hit state and displays a background image and various characters in an animated manner. The display device 8 has special symbol display portions Da to Dc in the center portion and a normal symbol display portion 39 in the upper right portion. The normal symbol display unit 39 displays a normal symbol. When a game ball that has passed through the gate unit 38 is detected, the displayed normal symbol fluctuates for a predetermined time, and when the game ball passes through the gate unit 38. The stop symbol determined by the random number for lottery extracted in is displayed and stopped.

図柄始動口35は、左右1対の開閉爪35aを備えた電動式チューリップで開閉されるよう例えば構成され、普通図柄表示部39の変動後の停止図柄が当り図柄を表示した場合には、開閉爪35aが所定時間だけ開放されるようになっている。そして、図柄始動口35に遊技球が入賞すると、特別図柄表示部Da〜Dcの表示図柄が所定時間だけ変動し、図柄始動口35への遊技球の入賞タイミングに応じた抽選結果に基づいて決定される停止図柄で停止する。   For example, the symbol start opening 35 is configured to be opened and closed by an electric tulip having a pair of left and right opening and closing claws 35a. When the stop symbol after fluctuation of the normal symbol display unit 39 displays a winning symbol, the symbol start port 35 is opened and closed. The claw 35a is opened only for a predetermined time. When a game ball wins the symbol start opening 35, the display symbols of the special symbol display portions Da to Dc change for a predetermined time, and are determined based on the lottery result corresponding to the winning timing of the game ball to the symbol start opening 35. Stop at the stop symbol.

大入賞口36は、例えば前方に開放可能な開閉板36aで開閉制御されるが、特別図柄表示部Da〜Dcの図柄変動後の停止図柄が「777」などの大当り図柄のとき、「大当り」と称する特別遊技が開始され、開閉板36aが開放されるようになっている。大入賞口36の内部には入賞球を検出する入賞領域36bが存在する。   The big winning opening 36 is controlled to open and close by, for example, an opening / closing plate 36a that can be opened forward, but when the stop symbol after the symbol change of the special symbol display portions Da to Dc is a big hit symbol such as “777”, “big hit” Is started, and the open / close plate 36a is opened. Inside the big winning opening 36, there is a winning area 36b for detecting a winning ball.

大入賞口36の開閉板36aが開放された後、所定時間が経過し、又は所定数(例えば10個)の遊技球が入賞すると開閉板36aが閉じる。このとき、最大で例えば15回まで特別遊技が継続され、遊技者に有利な状態に制御される。さらに、変動後の停止図柄が特別図柄のうちの特別状態発生図柄であった場合には、特別状態を発生させる。   After the opening / closing plate 36a of the big winning opening 36 is opened, the opening / closing plate 36a is closed when a predetermined time elapses or when a predetermined number (for example, 10) of game balls wins. At this time, the special game is continued up to, for example, 15 times at maximum, and is controlled in a state advantageous to the player. Furthermore, when the stop symbol after the change is a special state occurrence symbol among the special symbols, a special state is generated.

図22に示すように、前枠24の裏側には、遊技盤25を裏側から押さえる裏機構板40が着脱自在に装着されている。この裏機構板40には開口部40aが形成され、その上側に賞球タンク41と、これから延びるタンクレール42とが設けられている。裏機構板40の側部には、タンクレール42に接続された払出装置43が設けられ、裏機構板40の下側には払出装置43に接続された通路ユニット44が設けられている。払出装置43から払出された遊技球は、通路ユニット44を経由して上皿排出口28a(図19)から上皿28に払出されることになる。   As shown in FIG. 22, on the back side of the front frame 24, a back mechanism plate 40 for holding the game board 25 from the back side is detachably mounted. An opening 40a is formed in the back mechanism plate 40, and a prize ball tank 41 and a tank rail 42 extending therefrom are provided on the upper side thereof. A payout device 43 connected to the tank rail 42 is provided on the side of the back mechanism plate 40, and a passage unit 44 connected to the payout device 43 is provided below the back mechanism plate 40. The game balls paid out from the payout device 43 are paid out to the upper plate 28 from the upper plate discharge port 28a (FIG. 19) via the passage unit 44.

裏機構板40の開口部40aには、遊技盤25の裏側に装着された裏カバー45と、入賞口35〜37に入賞した遊技球を排出する入賞球排出樋(不図示)とが嵌合されている。この裏カバー45に装着されたケースCA1の内部に主制御基板1が配設される(図22参照)。   The opening 40a of the back mechanism plate 40 is fitted with a back cover 45 mounted on the back side of the game board 25 and a winning ball discharge basket (not shown) for discharging the game balls won in the winning holes 35 to 37. Has been. The main control board 1 is disposed inside the case CA1 attached to the back cover 45 (see FIG. 22).

裏機構板40に装着されたケースCA4の内部には、電源基板7と払出制御基板5が設けられている。この電源基板7には、電源スイッチ53とRAMクリアスイッチ54とが配置されている。これら両スイッチ53,54に対応する部位は切欠かれ、両スイッチを指で同時に操作可能になっている。発射ハンドル30の後側に装着されたケースCA5の内部には、発射制御基板6が設けられている。   Inside the case CA4 attached to the back mechanism plate 40, a power supply board 7 and a payout control board 5 are provided. On the power supply board 7, a power switch 53 and a RAM clear switch 54 are arranged. The parts corresponding to both the switches 53 and 54 are notched, and both switches can be operated simultaneously with a finger. A launch control board 6 is provided inside the case CA5 attached to the rear side of the launch handle 30.

以上、本発明の実施例について具体的に説明したが、記載内容は特に本発明を限定するものではない。例えば、実施例では、弾球遊技機について説明したが、パチンコ機、アレンジボール機、雀球遊技機のみならず、メダルを用いる回胴遊技機や、遊技球を用いる回胴遊技機にも適用できるのは勿論である。   As mentioned above, although the Example of this invention was described concretely, the description content does not specifically limit this invention. For example, in the embodiment, a ball game machine has been described, but it is applicable not only to a pachinko machine, an arrange ball machine, and a sparrow ball machine, but also to a spinning machine using medals and a spinning machine using game balls. Of course you can.

実施例に係るパチンコ機の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the pachinko machine which concerns on an Example. 払出制御基板の周辺回路(a)とステッピングモータの動作原理(b)を図示したものである。The peripheral circuit (a) of the payout control board and the operation principle (b) of the stepping motor are illustrated. 払出装置の概略構成を図示したものである。1 schematically illustrates the structure of a dispensing device. 払出装置による払出動作を説明する図面である。It is drawing explaining the payout operation | movement by a payout apparatus. 払出制御基板の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a payout control board. 払出制御基板のメインルーチン(a)と、受信割込みルーチン(b)を示すフローチャートである。It is a flowchart which shows the main routine (a) of a payout control board, and a reception interruption routine (b). タイマ割込みルーチン(a)と、電源監視処理(b)を示すフローチャートである。It is a flowchart which shows a timer interruption routine (a) and a power supply monitoring process (b). 賞球処理を説明するフローチャートである。It is a flowchart explaining a prize ball process. 賞球検出処理を説明するフローチャートである。It is a flowchart explaining a prize ball detection process. 払出エラー処理を説明するフローチャートである。It is a flowchart explaining a payout error process. モータ処理を説明するフローチャートである。It is a flowchart explaining a motor process. モータ駆動開始処理(a)とモータ駆動中処理(b)を説明するフローチャートである。It is a flowchart explaining a motor drive start process (a) and a motor drive process (b). モータ停止中処理(a)とモータリトライ中処理(b)を説明するフローチャートである。It is a flowchart explaining the motor stop process (a) and the motor retry process (b). データ出力処理を説明するフローチャートである。It is a flowchart explaining a data output process. 正常時の動作ステイタスの推移を示す状態遷移図である。It is a state transition diagram showing the transition of the operation status at the normal time. 払出不足時の動作ステイタスの推移を示す状態遷移図である。It is a state transition diagram which shows transition of the operation status at the time of payout shortage. 過払い時の動作ステイタスの推移を示す状態遷移図である。It is a state transition diagram which shows transition of the operation status at the time of overpayment. 主制御部と払出制御部の電源監視処理の関係を説明する図面である。It is drawing explaining the relationship of the power supply monitoring process of a main control part and a payout control part. 実施例に係るパチンコ機の斜視図である。It is a perspective view of the pachinko machine concerning an example. 図19のパチンコ機の側面図である。It is a side view of the pachinko machine of FIG. 図19のパチンコ機の遊技盤の正面図である。It is a front view of the game board of the pachinko machine of FIG. 図19のパチンコ機の背面図である。It is a rear view of the pachinko machine of FIG.

符号の説明Explanation of symbols

1 主制御部
5 払出制御部
1 Main control unit 5 Dispensing control unit

Claims (7)

遊技制御動作を中心統括的に担う主制御部と、主制御部から受ける払出指令に対応して遊技媒体の払出個数である全賞球数を増加させる一方、遊技媒体の払出処理を実行して、払出された遊技媒体の個数だけ全賞球数を減少させて、ゼロになるまで全賞球数を消化して払出指令を実行するサブ制御部と、を有する遊技機であって、
サブ制御部が実行する遊技媒体の払出動作は、
基準個数を超えない値に設定される払出単位数を一気に払出すべく払出装置を連続駆動し、この連続駆動を一回、又は間欠的に複数回実行し、各回の連続駆動を終える毎に、払出単位数に対応する遊技媒体が払出されたか否かを判定し、払出不足がない場合には、全賞球数を消化したとして払出処理を終了するか、或いは、次回の連続駆動に移行して残存する全賞球数を消化する正常動作と、
遊技媒体の排出又は補給に関する異常時には、主制御部から受ける払出指令に対応して全賞球数を増加させる一方で、払出装置の動作を禁止する払出禁止動作と、
全賞球数がゼロでない場合に、払出装置の動作禁止が解除されたことを条件に払出装置の駆動を開始して、1個の遊技媒体を払出した状態で払出装置を停止させるか、或いは、払出装置の動作禁止が解除されたことを条件に払出装置の駆動を開始して、1回の連続駆動の実行後の全賞球数がゼロでない場合には、更に1個の遊技媒体を払出した状態で払出装置を停止して、その停止位置をその後の払出動作の基準位置とする位置合せ動作と、
位置合せ動作後の全賞球数がゼロでない場合には、上限値を超えない限り、残存する全賞球数を一気に払出すべく、払出装置の連続駆動を、連続的に必要回数実行する異常復帰動作と、を有して構成されていることを特徴とする遊技機。
A main control unit that is responsible for game control operations centrally, and in response to a payout command received from the main control unit , increases the total number of winning balls, which is the number of game media payouts, while executing game medium payout processing. A sub-control unit that reduces the total number of winning balls by the number of paid-out game media, digests all the winning balls until it reaches zero, and executes a payout command ,
The game media payout operation executed by the sub-control unit is as follows:
The payout device is continuously driven to pay out the number of payout units set to a value not exceeding the reference number at once, and this continuous drive is executed once or intermittently multiple times, and each time continuous drive is finished, It is determined whether or not the game medium corresponding to the number of payout units has been paid out. If there is no shortage of payout, the payout processing is terminated with the total number of winning balls being consumed, or the next continuous drive is started. Normal operation to digest all remaining prize balls,
A payout prohibiting operation for prohibiting the operation of the payout device while increasing the number of all prize balls in response to a payout command received from the main control unit in the event of an abnormality related to the discharge or replenishment of game media;
When the total number of winning balls is not zero, driving of the payout device is started on the condition that the prohibition of the operation of the payout device is released, and the payout device is stopped in a state where one game medium is paid out, or The driving of the payout device is started on the condition that the prohibition of the operation of the payout device has been released. If the total number of winning balls after execution of one continuous drive is not zero, another game medium is added. An alignment operation in which the dispensing device is stopped in the dispensed state, and the stop position is set as a reference position for the subsequent dispensing operation,
If the total number of winning balls after the alignment operation is not zero, unless the upper limit is exceeded, an abnormality that continuously drives the payout device continuously as many times as necessary to pay out all the remaining winning balls at once And a return operation .
払出単位数を一気に払出すべく間欠的に複数回実行される払出装置の連続駆動において、一回の連続駆動を終えたとき、払出単位数に対して払出不足があると判定される場合には、更に1個の遊技媒体を払出した状態で払出装置を停止して、この停止位置を、その後の払出動作の基準位置とするよう構成されている請求項1に記載の遊技機。When it is determined that there is insufficient payout for the number of payout units when one continuous drive is completed in continuous drive of the payout device that is intermittently executed a plurality of times in order to pay out the payout units at once. The gaming machine according to claim 1, wherein the gaming machine is configured to stop the payout device in a state where one game medium has been paid out, and to set the stop position as a reference position for the subsequent payout operation. 前記払出装置は、回転動作によって遊技媒体を払出す払出回転体と、前記払出回転体を駆動する払出モータとがギア接続されて構成されている請求項1又は2に記載の遊技機。   The gaming machine according to claim 1 or 2, wherein the payout device includes a payout rotating body that pays out game media by a rotating operation and a payout motor that drives the payout rotating body. 前記上限値は、前記払出回転体の最小回転角と、前記払出回転体が遊技媒体を1個払出すに必要な基準回転角と、2,4,6・・・の偶数値nと、の関係から、
(16−1)÷(基準回転角÷最小回転角)より小さい最大の整数値に設定されている請求項に記載の遊技機。
The upper limit value includes a minimum rotation angle of the payout rotator, a reference rotation angle required for the payout rotator to pay out one game medium, and an even value n of 2, 4, 6. From the relationship
The gaming machine according to claim 3 , wherein the gaming machine is set to a maximum integer value smaller than (16 n -1) ÷ (reference rotation angle ÷ minimum rotation angle).
前記払出回転体と、前記払出モータとは、G≧2に設定されたG対1のギア比で接続されている請求項3又は4に記載の遊技機。 The gaming machine according to claim 3 or 4 , wherein the payout rotating body and the payout motor are connected with a gear ratio of G to 1, which is set such that G ≧ 2. 前記偶数値nは、n=4に設定されている請求項に記載の遊技機。 The even value n gaming machine according to claim 4 which is set to n = 4. 前記払出回転体と、前記払出モータとは、中間ギアを介してギア接続されている請求項1〜6の何れかに記載の遊技機。   The gaming machine according to any one of claims 1 to 6, wherein the payout rotating body and the payout motor are gear-connected through an intermediate gear.
JP2007104493A 2007-04-12 2007-04-12 Game machine Expired - Fee Related JP4642040B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007104493A JP4642040B2 (en) 2007-04-12 2007-04-12 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007104493A JP4642040B2 (en) 2007-04-12 2007-04-12 Game machine

Publications (2)

Publication Number Publication Date
JP2008259662A JP2008259662A (en) 2008-10-30
JP4642040B2 true JP4642040B2 (en) 2011-03-02

Family

ID=39982630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007104493A Expired - Fee Related JP4642040B2 (en) 2007-04-12 2007-04-12 Game machine

Country Status (1)

Country Link
JP (1) JP4642040B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000262720A (en) * 1999-03-18 2000-09-26 Takao:Kk Pachinko game machine
JP2001120801A (en) * 1999-10-28 2001-05-08 Sankyo Kk Game machine
JP2001286649A (en) * 2000-04-10 2001-10-16 Sankyo Kk Pinball game machine
JP2003265791A (en) * 2002-03-15 2003-09-24 Toyo Kasei Kk Ball counting and putting out device for pachinko machine
JP2003310971A (en) * 2002-04-18 2003-11-05 Fuji Shoji:Kk Pachinko game machine
JP2004041256A (en) * 2002-07-08 2004-02-12 Fuji Shoji:Kk Game machine
JP2006246981A (en) * 2005-03-08 2006-09-21 Sankyo Kk Game machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1119316A (en) * 1997-06-30 1999-01-26 Sankyo Kk Game system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000262720A (en) * 1999-03-18 2000-09-26 Takao:Kk Pachinko game machine
JP2001120801A (en) * 1999-10-28 2001-05-08 Sankyo Kk Game machine
JP2001286649A (en) * 2000-04-10 2001-10-16 Sankyo Kk Pinball game machine
JP2003265791A (en) * 2002-03-15 2003-09-24 Toyo Kasei Kk Ball counting and putting out device for pachinko machine
JP2003310971A (en) * 2002-04-18 2003-11-05 Fuji Shoji:Kk Pachinko game machine
JP2004041256A (en) * 2002-07-08 2004-02-12 Fuji Shoji:Kk Game machine
JP2006246981A (en) * 2005-03-08 2006-09-21 Sankyo Kk Game machine

Also Published As

Publication number Publication date
JP2008259662A (en) 2008-10-30

Similar Documents

Publication Publication Date Title
JP2004041262A (en) Game machine
JP4829267B2 (en) Bullet ball machine
JP5339293B2 (en) Bullet ball machine
JP4152657B2 (en) Bullet ball machine
JP5096196B2 (en) Game machine
JP5502500B2 (en) Game machine
JP5172460B2 (en) Game machine
JP4642040B2 (en) Game machine
JP5397951B2 (en) Bullet ball machine
JP4796992B2 (en) Game machine
JP2009089726A (en) Game machine
JP4138381B2 (en) Game machine
JP4746508B2 (en) Bullet ball machine
JP4764406B2 (en) Game machine
JP5922188B2 (en) Game machine
JP5580452B2 (en) Game machine
JP4415000B2 (en) Game machine
JP5284411B2 (en) Game machine
JP4099358B2 (en) Game machine
JP5307212B2 (en) Game machine
JP4742111B2 (en) Game machine
JP3914473B2 (en) Game machine
JP4414999B2 (en) Game machine
JP5379274B2 (en) Game machine
JP4415001B2 (en) Game machine

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100302

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100430

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101102

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101130

R150 Certificate of patent or registration of utility model

Ref document number: 4642040

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131210

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees